Commit Graph
1239 Commits
Author SHA1 Message Date
can1357 fd0833f3e4 chore: bump version to 5.4.2 2026-01-16 13:26:57 +01:00
can1357 96475db41b feat(coding-agent): added pre-serialized settings support to model resolver
- Improved model resolution to accept pre-serialized settings for better performance.
- Enhanced system prompt guidance for position-addressed vs content-addressed file edits.
- Added comprehensive edit tool documentation with bash alternatives comparison.
- Refactored model resolver to accept optional settings parameters for role resolution.
2026-01-16 13:26:43 +01:00
can1357 131fd73b7e chore: bump version to 5.4.0 2026-01-15 18:12:31 +01:00
can1357 861a9cbb5a feat(ai): added 100+ Vercel AI Gateway models and updated provider configurations
- Added Vercel AI Gateway model fetching with 100+ model configurations.
- Updated Amazon Bedrock models with new Claude 4.5 EU variants.
- Added GPT-5.2-codex model across OpenAI, GitHub Copilot, and OpenCode providers.
- Changed MiniMax models to use anthropic-messages API format.
- Added thinkingFormat support to ZAI provider models.
- Improved LSP diagnostic output by stripping clippy URLs and noise.
2026-01-15 18:11:58 +01:00
can1357 e5a7059cf8 chore: bump version to 5.3.1 2026-01-15 15:53:18 +01:00
can1357 e2a84ad6e8 chore: bump version to 5.3.0 2026-01-15 13:21:23 +01:00
can1357 3d1757a393 feat(ai): simplified Codex system instructions and replaced with pi assistant documentation references
- Replaced detailed Codex system instructions with simplified pi assistant instructions that reference internal documentation via pi-internal:// protocol.
- Reduced Codex instructions from 321 lines to 11 lines by moving detailed guidance to referenced documentation.
- Changed assistant identity from 'coding agent running in opencode' to 'pi, an expert coding assistant'.
- Added documentation references for creating custom models, providers, extensions, themes, skills, and TUI components.
- Expanded bash tool guidance to explicitly list appropriate use cases including file operations, build commands, and process management.
- Reframed bash guidance from negative-only to showing both appropriate and inappropriate uses.
2026-01-15 13:21:11 +01:00
can1357 19e00ae5cf chore: bump version to 5.2.1 2026-01-14 13:23:24 +01:00
can1357 03d30b891a fix(coding-agent/core): fixed race condition in LSP diagnostics by tracking versions before file sync
- Fixed stale diagnostic results by tracking diagnostic versions before file sync operations.
- Fixed race condition where LSP diagnostics could return outdated results after file modifications.
2026-01-14 13:23:08 +01:00
can1357 5a96e01739 chore: bump version to 5.2.0 2026-01-14 08:59:32 +01:00
can1357 591c17e645 chore(coding-agent): set initial terminal title to π 2026-01-14 08:56:49 +01:00
can1357 1e8969290c fix(coding-agent): handled task abort gracefully with partial results 2026-01-14 08:56:45 +01:00
can1357 416baf8ea3 refactor(coding-agent): rendered find/grep/ls tools inline without background box 2026-01-14 08:56:36 +01:00
can1357 01e8d889c9 fix(coding-agent): truncated bash renderer lines to prevent TUI crash on narrow terminals 2026-01-14 08:56:26 +01:00
can1357 331e92fe33 feat(coding-agent): added withLines parameter to read tool for line numbers 2026-01-14 05:13:47 +01:00
can1357 bfd81ad5e8 fix(coding-agent): fixed find tool glob pattern matching for **/filename 2026-01-14 05:13:44 +01:00
can1357 733dd7ad1c chore: bump version to 5.1.1 2026-01-14 03:32:28 +01:00
can1357 014b0fb23e fix(coding-agent): prevent clipboard image paste from getting stuck on Wayland 2026-01-14 03:32:06 +01:00
can1357 879274a094 chore: bump version to 5.1.0 2026-01-14 03:21:54 +01:00
can1357 48b44a6ef8 refactor(coding-agent): simplify Photon integration with native Node.js binding
- Replaced @silvia-odwyer/photon (WASM) with @silvia-odwyer/photon-node (native)
- Removed async initialization wrapper (photon.ts)
- Removed ImageMagick fallback (image-magick.ts)
- Fixed truncateToWidth test to expect Unicode ellipsis
2026-01-14 03:15:10 +01:00
can1357 0b85098862 feat: port upstream changes from pi-mono (6730b4fa..b74535dc)
Provider additions:
- Added Amazon Bedrock provider with bedrock-converse-stream API
- Added MiniMax provider with OpenAI-compatible API
- Added EU cross-region inference model variants for Bedrock

Provider fixes:
- Fixed Gemini CLI retries with header parsing and empty stream retry logic
- Fixed Bedrock tool call transforms via transformMessages
- Fixed z.ai thinking/reasoning params
- Fixed OpenRouter+Anthropic cache control
- Fixed OpenAI responses timeout and service tier options
- Fixed tool call ID normalization for cross-provider switches
- Fixed thought signature validation for Google providers
- Fixed prompt cache key using session ID

TUI improvements:
- Added OverlayOptions API with CSS-like positioning (SizeValue, percentages)
- Added OverlayHandle for programmatic visibility control
- Added visible callback for responsive overlays
- Added pad parameter to truncateToWidth
- Added pageUp/pageDown key support
- Fixed numbered list items showing 1. when code blocks break continuity
- Fixed overlay width overflow crash with complex ANSI sequences
- Fixed light theme colors for WCAG AA compliance

Coding agent fixes:
- Fixed /new command to create new session file
- Fixed session selector to stay open when folder has no sessions
- Added session header emission in JSON print mode
- Added queued message hint with theme.tree.hook
- Exported highlightCode and getLanguageFromPath for extensions

Also renamed transorm-messages.ts to transform-messages.ts (typo fix)
2026-01-14 01:50:47 +01:00
can1357 e299e5b45c fix(coding-agent): serialize settings to subagent workers to avoid SQLite locking 2026-01-14 01:25:26 +01:00
can1357 db98635f07 fix(coding-agent/core): added PRAGMA busy_timeout=5000 to SQLite database initialization
- Added PRAGMA busy_timeout=5000 to SQLite database initialization to prevent database locked errors.
2026-01-14 01:20:55 +01:00
can1357 aef56b8eed chore: bump version to 5.0.1 2026-01-12 15:23:41 +01:00
can1357 16fa5533e5 feat(coding-agent): migrated image processing from wasm-vips to Photon with graceful fallbacks
- Migrated image processing library from wasm-vips to Photon (Rust/WASM) for improved performance and reliability.
- Added graceful fallback for failed image resizing operations, allowing the system to use original images when WASM processing fails.
- Added error handling for image conversion failures in interactive mode to prevent crashes during WASM processing.
- Implemented lazy initialization pattern for Photon WASM module with proper resource cleanup using try-finally blocks.
- Added NULL_PROMPT environment variable support for debugging and testing system prompt generation.
2026-01-12 15:23:35 +01:00
can1357 e0a407861c chore: bump version to 5.0.0 2026-01-12 13:54:40 +01:00
can1357 7e3e980552 docs: added changelog entry for xhigh thinking level 2026-01-12 13:54:32 +01:00
can1357 b4063fd3da chore: bump version to 4.9.0 2026-01-12 12:09:18 +01:00
can1357 2aec94bcd4 fix(coding-agent): cleaner & properly typed Vips integration 2026-01-12 12:09:00 +01:00
can1357 f37e403226 chore: bump version to 4.8.3 2026-01-12 11:46:51 +01:00
can1357 f9a7159035 fix(coding-agent): replace sharp with wasm-vips for cross-platform support 2026-01-12 11:45:26 +01:00
can1357 903e4145e7 chore: bump version to 4.8.0 2026-01-12 11:11:59 +01:00
can1357 bf770d7b96 fix(coding-agent): move sharp to optional dependencies for arm64 support 2026-01-12 11:08:33 +01:00
can1357 b06b005b6b chore: bump version to 4.7.0 2026-01-12 09:12:20 +01:00
can1357 976acd10bf feat(coding-agent/core): added multi-part questions support and improved cursor behavior in ask tool
- Added multi-part questions support to ask tool via questions array parameter for asking multiple related questions in sequence.
- Updated multi-select cursor behavior in ask tool to stay on toggled option instead of jumping to top.
- Added initialIndex parameter to ExtensionUIDialogOptions interface for controlling initial cursor position in select dialogs.
- Extracted question selection logic into askSingleQuestion helper function with UIContext interface.
- Added formatQuestionResult helper function and QuestionResult interface for multi-part question results.
- Updated ask tool prompt documentation with multi-part questions examples and Other option guidance.
2026-01-12 08:39:27 +01:00
can1357 355e2f22ad feat(cli): add omp config subcommand for managing settings 2026-01-12 07:17:32 +01:00
can1357 66ea245f2d fix(tui): reload todos when switching sessions or navigating tree 2026-01-12 07:15:39 +01:00
can1357 7f459214c1 fix(tui): align todo list 'more' indicator with item indentation 2026-01-12 07:09:12 +01:00
can1357 e29f0017af feat(agent): add todoCompletion setting to remind agent of incomplete todos 2026-01-12 07:05:01 +01:00
can1357 7003c7c605 chore(tui): use π prefix in terminal title 2026-01-12 06:53:10 +01:00
can1357 a90b6a0f8f fix(compaction): skip to next model when retry delay exceeds 30s 2026-01-12 06:53:07 +01:00
can1357 b5a0fe9ec4 fix(task): respect explicit provider prefix in model resolution 2026-01-12 06:52:59 +01:00
can1357 700281d8a8 fix(tui): render single-file reads inline 2026-01-12 06:51:50 +01:00
can1357 f615586257 chore: bump version to 4.6.0 2026-01-12 03:19:08 +01:00
can1357 741ab06ed2 feat: port upstream improvements from pi-mono (f1b64b9d..6730b4fa)
TUI:
- Add fuzzy matching module (moved from coding-agent)
- Remove Kitty protocol query timeout (fixes shift+enter delays)
- Add bracketed paste check for key release/repeat detection
- Rendering optimizations (only re-render changed lines)
- Add backslash+enter newline fallback, getExpandedText()
- Refactor input.ts to use keybindings manager

Coding-agent:
- Add /skill:name slash commands with enableSkillCommands setting
- Add cwd to SessionInfo for session list display
- Improve tree selector with custom summarization instructions
- Add dequeue (Alt+Up) to restore all queued messages at once
- Add shutdown request handling for extensions
- Component invalidate() fixes for theme changes
2026-01-12 03:18:30 +01:00
can1357 dbe2995df4 fix(ai/providers): preserved property names matching schema keywords in Google sanitization
The sanitizeSchemaForGoogle function was incorrectly stripping property
names like "pattern" and "format" from tool schemas because they matched
JSON Schema keywords in UNSUPPORTED_SCHEMA_FIELDS. This caused errors
like "required fields ['pattern'] are not defined in the schema properties"
when using tools like grep/find with Google's Cloud Code Assist API.

Modified the sanitization to track when processing inside a "properties"
object, only stripping schema keywords at the schema level, not when
they appear as property names.
2026-01-12 02:50:39 +01:00
can1357 93dde7dc13 chore: bump version to 4.5.0 2026-01-12 01:33:14 +01:00
can1357 ef607b921d chore: bump version to 4.4.9 2026-01-12 01:28:30 +01:00
can1357 5f080866d2 fix(ai): extended Google provider JSON Schema sanitization with 12 additional unsupported fields
- Added 12 new unsupported JSON Schema fields to Google provider sanitization including patternProperties, additionalProperties, min/max constraints, pattern, and format.
- Removed unsupported JSON Schema constraints from tool schemas to ensure Google AI compatibility.
2026-01-12 01:25:28 +01:00
can1357 b5fbd0980f chore: bump version to 4.4.8 2026-01-12 01:03:13 +01:00