Commit log

1b56bee docs(config): add supports_developer_role docs

Click to expand commit body
Add note explaining OpenAI's developer role usage for reasoning models
and compatibility issues with OpenAI-compatible endpoints that return
"Incorrect role information" errors. Include configuration example for
custom models with reasoning=true.

Amolith created

8e92c2b chore: REUSE compliance, docs

Click to expand commit body
Add SPDX headers to all source files, license texts, and sidecar files
for REUSE.software compliance. Rewrite README with badges, better
description, and usage examples. Minor capitalization fix in CLI help
(rumilo → Rúmilo).

Amolith created

8a51bcc fix(prompts): correct time label to include date

Click to expand commit body
Change 'Current time:' to 'Current date/time:' in prompt templates to
accurately reflect that currentTime includes both date and time
information.

Amolith created

44e10c3 docs: update AGENTS.md for prompt changes

Click to expand commit body
- Note context-aware prompt building in control flow
- Add System Prompts section documenting builder functions
- Update pre-fetch injection to reflect tags

Amolith created

2756925 refactor(prompts): templatize with XML and context

Click to expand commit body
Convert static system prompt strings to builder functions that accept
runtime context (current time, git history availability).

- Replace Markdown sections with XML-style tags (approach, answering,
environment)
- Add librarian persona to repo mode, field researcher to web mode
- Make git history guidance conditional on full vs shallow clone
- Remove duplicative tool descriptions that restated tool schemas
- Repo prompt now prioritises agent instruction files for orientation
- Web prompt no longer assumes SERP-then-fetch workflow
- Pre-fetch injection uses XML tags instead of raw
string concatenation

Amolith created

b04904e refactor: improve UX messaging in CLI and tools

Click to expand commit body
- More descriptive error messages with examples for invalid model format
  and missing config
- Clearer, more consistent tool descriptions across all agent tools
- Comprehensive help text with version, commands, usage, options, and
  config sections
- Add commit.gpgsign=false to test setups to prevent GPG signing issues
- Minor formatting consistency (e.g., 'KB' without space)

Amolith created

38e7ffa build(npm): prepare package for publishing

Click to expand commit body
Remove private flag and add publishing metadata: description, license,
files whitelist, and prepublishOnly build script.

Amolith created

94ad5ad feat: migrate to pi-agent-core, harden sandbox

Click to expand commit body
Migrate from @mariozechner/pi-agent to @mariozechner/pi-agent-core
v0.52.8, alongside pi-ai v0.52.8 which adds AWS Bedrock support.

Security improvements for workspace sandboxing:
- Remove tilde expansion from expandPath() to prevent homedir escape
- Add symlink traversal detection in ensureWorkspacePath()
- Filesystem tools (read, grep, ls, find) now enforce containment

New features for custom model configuration:
- api_key field with env var, $VAR, ${VAR}, and !shell command
  resolution
- Optional custom headers support with same value resolution

Other changes:
- Add comprehensive test suite (bun test)
- Improve workspace cleanup on clone/checkout failures
- Update AGENTS.md and README.md documentation

Amolith created

1aa893a chore: initial commit

Amolith created