Commit Graph

460 Commits

Author SHA1 Message Date
Mario Zechner 8a47cb4e3b Merge branch 'main' into pr-191-github-copilot-auth 2025-12-15 18:10:15 +01:00
Mario Zechner 5cb6bbf421 Fix model selector fuzzy search to match provider and support multi-token queries 2025-12-15 18:05:32 +01:00
cau1k df16cfec47 clean up 2025-12-15 00:34:38 -05:00
cau1k fd2e433d30 feat: initial impl
- add GitHub Copilot model discovery (env token fallback, headers,
compat) plus fallback list and quoted provider keys in generated map
- surface Copilot provider end-to-end (KnownProvider/default, env+OAuth
token refresh/save, enterprise base URL swap, available only when
creds/env exist)
- tweak interactive OAuth UI to render instruction text and prompt
placeholders

gpt-5.2-high took about 35 minutes. It had a lot of trouble with `npm
check`  and went off on a "let's adjust every tsconfig" side quest.
Device code flow works, but the ai/scripts/generate-models.ts impl is
wrong as models from months ago are missing and only those deprecated
are accessible in the /models picker.
2025-12-14 17:18:13 -05:00
Mario Zechner aeb41c8ecd Release v0.21.0 2025-12-13 23:55:31 +01:00
Mario Zechner 1e5ecf2eaa Fix image rendering artifacts and improve show-images selector
- Image component returns correct number of lines (rows) for TUI accounting
- Empty lines rendered first, then cursor moves up and image is drawn
- This clears the space the image occupies before rendering
- Add spacer before inline images in tool output
- Create ShowImagesSelectorComponent with borders like other selectors
- Use showSelector pattern for /show-images command
2025-12-13 23:53:28 +01:00
Mario Zechner 1cb273bf44 Merge feature/tui-inline-images: Inline image rendering for supported terminals 2025-12-13 23:22:31 +01:00
Mario Zechner fbbf49e4ac Update docs for inline images, remove PI_NO_IMAGES env var
- Add CHANGELOG entry for inline image rendering feature
- Add /show-images to slash commands table in README
- Expand Image Support section with inline rendering info
- Add terminal.showImages to settings documentation
- Remove PI_NO_IMAGES environment variable feature
2025-12-13 23:21:18 +01:00
Mario Zechner 36f791eb94 Update existing tool components when toggling show-images setting 2025-12-13 23:15:56 +01:00
Mario Zechner 9a1d5df072 Add /show-images command to toggle inline image display
- Add terminal.showImages setting to settings-manager.ts
- Add /show-images slash command (only visible if terminal supports images)
- ToolExecutionComponent checks both terminal support and user setting
- Shows text fallback when inline images are disabled
2025-12-13 23:14:46 +01:00
Mario Zechner 0c1f6c146d Add changelog entry for PR #181 - fix macOS screenshot filenames 2025-12-13 22:07:56 +01:00
Nico Bailon ee6ff952b2 coding-agent: fix macOS screenshot filenames with unicode spaces (#181) 2025-12-13 22:04:01 +01:00
Nico Bailon 2954022690 add inline image rendering for terminals with graphics support 2025-12-12 19:30:50 -08:00
Mario Zechner 10288d96c5 Add coding-agent changelog entry for Gemini 3 Pro thinking levels 2025-12-13 02:11:25 +01:00
Mario Zechner 0e0d7380d4 Add changelog entry for #173, document attribution format in AGENTS.md 2025-12-13 02:06:39 +01:00
Mario Zechner 3c689e4452 Release v0.20.2 2025-12-13 01:11:36 +01:00
Mario Zechner a87b79f29d Add [Unreleased] sections to CHANGELOGs 2025-12-13 00:58:16 +01:00
Mario Zechner 7e530acb2b Release v0.20.1 2025-12-13 00:57:12 +01:00
Mario Zechner 830cb85f6b coding-agent, mom: add skills API export and mom skills auto-discovery
coding-agent:
- Export loadSkillsFromDir, formatSkillsForPrompt, and related types
- Refactor skills.ts to expose public API

mom:
- Add skills auto-discovery from workspace/skills and channel/skills
- Fix skill loading to use host paths (not Docker container paths)
- Update README and system prompt with SKILL.md format docs
2025-12-13 00:56:10 +01:00
Mario Zechner 4327ec73e1 coding-agent: add [Unreleased] section to CHANGELOG 2025-12-12 23:25:57 +01:00
Mario Zechner 4e60453fca Release v0.20.0 2025-12-12 23:25:01 +01:00
Mario Zechner 64aac37812 coding-agent: change Pi skills to use SKILL.md convention
Breaking change: Pi skills must now be named SKILL.md inside a directory,
matching Codex CLI format. Previously any *.md file was treated as a skill.

Migrate by renaming ~/.pi/agent/skills/foo.md to ~/.pi/agent/skills/foo/SKILL.md
2025-12-12 23:23:17 +01:00
Mario Zechner d0626c4285 Release v0.19.2 2025-12-12 23:03:01 +01:00
Mario Zechner 825adf7fdc Display loaded skills on startup in interactive mode 2025-12-12 21:28:31 +01:00
Mario Zechner 886d4189aa Add [Unreleased] section 2025-12-12 17:56:26 +00:00
Mario Zechner 2cb0ff3f0e Release v0.19.1 2025-12-12 17:53:45 +00:00
Mario Zechner 38fe4a1ec1 Document skills system in README 2025-12-12 17:51:03 +00:00
Mario Zechner 6f37638882 Add [Unreleased] section 2025-12-12 17:36:14 +00:00
Mario Zechner 88c33163b5 Release v0.19.0 2025-12-12 17:33:16 +00:00
Nico Bailon 1de5118261 Add skills system with Claude Code compatibility (#171)
* Add skills system with Claude Code compatibility

* consolidate skills into single module, merge loaders, add <available_skills> XML tags

* add Codex CLI skills compatibility, skip hidden/symlinks
2025-12-12 18:24:52 +01:00
Mario Zechner 1307f3841f Release v0.18.8 2025-12-12 11:30:11 +01:00
Mario Zechner 4838e6f1d7 Release v0.18.7 2025-12-12 11:15:26 +01:00
Mario Zechner c7cbd1c096 Release v0.18.6 2025-12-12 10:53:53 +01:00
Mario Zechner 9de59c640d Release v0.18.5 2025-12-12 10:00:57 +01:00
Mario Zechner 731231fd31 docs(coding-agent): add --version flag to CHANGELOG and README 2025-12-12 00:02:17 +01:00
Christian Catalan b0b35401e3 Add --version/-v flag to CLI (#170)
- Parse --version and -v flags in args.ts
- Handle version flag early in main.ts (print and exit)
- Add flag to help text
- Add comprehensive test coverage for CLI arg parsing

Co-authored-by: cc-vps <crcatala+vps@gmail.com>
2025-12-12 00:01:06 +01:00
Mario Zechner 2ae822641d Release v0.18.4 2025-12-12 00:00:08 +01:00
Mario Zechner e033210237 Release v0.18.3 2025-12-11 20:34:04 +01:00
Mario Zechner d0e29410ef mom: refactor to use AgentSession for context management
- Export AgentSession, SessionManager, SettingsManager, compaction from coding-agent
- Create MomSessionManager for channel-based context.jsonl storage
- Create MomSettingsManager for mom-specific settings
- Refactor agent.ts to use AgentSession instead of ephemeral Agent
- Split logging: tool results go to context.jsonl, human messages to log.jsonl
- Enable auto-compaction and overflow detection from coding-agent

Part of #115
2025-12-11 13:09:01 +01:00
Mario Zechner 5509434528 mom: add coding-agent dependency, update compaction docs 2025-12-11 13:04:45 +01:00
Mario Zechner 278a37f1a8 mom: remove dynamic timestamp from system prompt for better cache hits 2025-12-11 12:26:59 +01:00
Mario Zechner d5b418b48f Add [Unreleased] section 2025-12-10 23:40:27 +01:00
Mario Zechner f291cb0d51 Release v0.18.2 2025-12-10 23:39:16 +01:00
Mario Zechner 1a7a6a86f0 Auto-retry on transient provider errors (overloaded, rate limit, 5xx)
- Add retry logic with exponential backoff (2s, 4s, 8s) in AgentSession
- Disable Anthropic SDK built-in retries (maxRetries: 0) to allow app-level handling
- TUI shows retry status with Escape to cancel
- RPC mode: add set_auto_retry, abort_retry commands and auto_retry_start/end events
- Configurable via settings.json: retry.enabled, retry.maxRetries, retry.baseDelayMs
- Exclude context overflow errors from retry (handled by compaction)

fixes #157
2025-12-10 23:36:46 +01:00
Mario Zechner 59c64066bb Fix git branch indicator in subdirectories
Walk up directory hierarchy to find .git/HEAD instead of only checking cwd.

fixes #156
2025-12-10 22:52:19 +01:00
Mario Zechner 742398ae85 Fix branch selector for single message and --no-session mode
- Allow branch selector to open with single user message (changed <= 1 to === 0 check)
- Support in-memory branching for --no-session mode (no files created)
- Add isEnabled() getter to SessionManager
- Update sessionFile getter to return null when sessions disabled
- Update SessionSwitchEvent types to allow null session files
- Add branching tests for single message and --no-session scenarios

fixes #163
2025-12-10 22:41:32 +01:00
Mario Zechner 13fc746190 feat: add line number display to HTML export for read tool calls
Implements line number display in HTML exports for read tool calls, matching the TUI format.
When offset/limit parameters are provided, displays path:startLine-endLine in yellow color.

Fixes #166
2025-12-10 22:05:14 +01:00
Mario Zechner 0c3bd34402 Add [Unreleased] section to changelogs 2025-12-10 21:41:50 +01:00
Mario Zechner 8bceefa028 Release v0.18.1 2025-12-10 21:25:15 +01:00
Mario Zechner c080f343c7 Add issue links to changelog entries 2025-12-10 21:24:05 +01:00