Commit Graph

1855 Commits

Author SHA1 Message Date
can1357 ffe79ab5b9 chore: bump version to 5.7.67 2026-01-19 00:04:19 +01:00
can1357 03cfbd81d4 feat(coding-agent): added vendored photon WASM for image processing
- Replaced external photon-node dependency with vendored WebAssembly implementation.
- Added local photon library with 200+ image processing functions and WASM bindings.
- Updated image conversion and resize utilities to use local photon implementation.
- Added error handling for unknown OAuth providers in AI package.
2026-01-19 00:02:12 +01:00
can1357 768c0afcb2 chore: bump version to 5.6.77 2026-01-18 22:24:40 +01:00
can1357 4c72f1d316 fix(ai): corrected duplicate tool results for errored or aborted messages
- Prevented duplicate tool results for errored or aborted messages when results already exist.
- Added comprehensive test coverage for duplicate tool results edge cases.
2026-01-18 22:24:25 +01:00
can1357 7469166ad1 chore: cleaned historical changelog entries and added validation to release script
- Removed historical version entries from multiple package CHANGELOG files.
- Added changelog validation functions to release script.
- Prevented creation of empty version entries in changelog generation.
2026-01-18 21:50:00 +01:00
can1357 0c86c38d4d chore: bump version to 5.6.70 2026-01-18 21:37:18 +01:00
can1357 53e75e33c5 feat(coding-agent/core): loaded Python modules from user and project directories with priority
- Added Python prelude extension module loading from user and project directories.
- Implemented automatic discovery of Python modules from `.omp/modules` and `.pi/modules` directories.
- Added prioritized module loading with project-level modules overriding user-level modules.
- Updated kernel initialization methods to load Python modules during startup.
2026-01-18 21:36:44 +01:00
can1357 a9ca7365ac chore: bump version to 5.6.7 2026-01-18 21:11:16 +01:00
can1357 aac8187e05 feat(coding-agent): implemented shared Python gateway for efficient kernel reuse
- Added Python shared gateway setting for resource-efficient kernel reuse across sessions.
- Enhanced Python tool with session-scoped kernel isolation and workdir-aware session IDs.
- Added Python tool cancellation support with timeout handling and proper cleanup.
- Expanded Python prelude with enhanced file operations, git utilities, and improved output handling.
- Fixed AI provider message transformation for proper tool call handling and error recovery.
2026-01-18 21:07:02 +01:00
can1357 b40d2db72e feat(coding-agent/core): added structured status events for Python prelude with TUI rendering
- Added structured status events for Python prelude functions with TUI rendering.
- Implemented status event parsing and display system with operation icons.
- Enhanced Python tool renderer to display status events alongside output.
- Added support for rich output using IPython.display.display() in Python tool.
2026-01-18 20:17:37 +01:00
can1357 545af24717 fix(agent): added proper tool result messages for aborted or failed tool calls
- Added proper tool result messages for tool calls that are aborted or error out.
- Ensured tool_use/tool_result pairing is maintained when tool execution fails.
2026-01-18 20:09:05 +01:00
can1357 27a64294b1 fix(coding-agent/core): fixed Python prelude sh() and cleaned up shell output 2026-01-18 20:07:01 +01:00
can1357 7781bdc014 feat(coding-agent/cli): added setup subcommand for optional feature dependencies
- Added setup subcommand for installing optional feature dependencies.
- Implemented Python component setup with Jupyter kernel package installation.
- Added component status checking via --check flag with JSON output support.
- Created package installation logic using uv (preferred) or pip package managers.
2026-01-18 20:00:39 +01:00
can1357 d620f07c1e feat(coding-agent/core): added Python gateway coordinator with shared resource management
- Added shared Python gateway coordinator with file locking and automatic resource management.
- Added comprehensive Git helpers and line-based operations to Python prelude.
- Enhanced /status command to display Python gateway, LSP servers, and MCP connections.
- Changed default Python tool mode from ipy-only to both for shell execution support.
- Fixed Python tool proxy execution and signal handling in worker processes.
2026-01-18 19:54:35 +01:00
can1357 feaa35a97b feat(coding-agent/core): added shared Python gateway coordinator for resource-efficient kernel management
- Added shared Python gateway coordinator for resource-efficient kernel management.
- Implemented automatic idle shutdown for shared Python gateway after 30 seconds.
- Added environment filtering for shared Python gateway to exclude API keys.
- Updated Python kernel startup to use shared gateway by default with fallback support.
- Fixed Python tool session requirement for proxy executor in workers.
2026-01-18 19:37:11 +01:00
can1357 1d414c1383 feat: added IPython-backed Python tool with streaming output and Jupyter integration
- Added IPython-backed Python tool with streaming output and image/JSON rendering.
- Implemented Jupyter kernel gateway integration with WebSocket communication.
- Added Python prelude with 30+ shell-like utility functions for file operations.
- Migrated environment variables from PI_ to OMP_ prefix with automatic migration.
- Added streaming output system with automatic spill-to-disk for large outputs.
- Reorganized settings interface into behavior, tools, display, voice, status, lsp, and exa tabs.
2026-01-18 19:32:27 +01:00
can1357 6dff3daa14 feat(coding-agent/modes): added TabBar component to model selector for provider navigation
- Updated model selector to use TabBar component for provider navigation.
- Added support for /models command alias in addition to /model command.
- Changed role badges to inverted style with colored backgrounds.
- Enhanced TabBar component with text wrapping for overflow content.
2026-01-18 18:07:51 +01:00
can1357 ac151519c1 feat: port upstream changes from pi-mono (72047c05..55769e75)
AI provider fixes:
- Fixed Claude tool prefix matching and Gemini 3 unsigned tool handling
- Added Bedrock thinking budget guardrails and tool id sanitization
- Added tool argument coercion and Codex response retry logic

TUI improvements:
- Improved Kitty key handling and editor behavior (scrolling, padding, kill ring)

Coding agent changes:
- Added extension input interception, compaction helpers, and UI updates
- Added session forking prompt for cross-project sessions
- Added APPEND_SYSTEM discovery, piped stdin print mode, and key hint exports

Docs:
- Updated pi-mono sync point
2026-01-18 17:52:58 +01:00
can1357 f1d71fbd9d feat: implemented Emacs-style kill ring with Alt+D and Ctrl+Y bindings
- Added automatic retry logic for OpenAI Codex responses with configurable delay and max retries.
- Added input event handlers for extensions to intercept user input and argument completion support.
- Added Emacs-style kill ring for text deletion operations with Alt+D and Ctrl+Y keybindings.
- Added configurable editor padding via editorPaddingX theme option and setMaxHeight() method.
- Fixed tool prefix handling in Claude provider to use case-insensitive comparison.
- Enhanced Kitty keyboard protocol support for better key detection and shifted symbol handling.
2026-01-18 17:12:18 +01:00
can1357 095d01a8ac chore: bump version to 5.5.0 2026-01-18 04:59:28 +01:00
can1357 f9ababd17b refactor(ai): updated User-Agent header to 'pi' and simplified Codex prompts
- Updated User-Agent header from 'opencode' to 'pi' for OpenAI Codex requests.
- Simplified Codex system prompt instructions and removed bridge text override.
- Removed bridge text parameter from buildCodexSystemPrompt function.
- Updated task execution guidelines with parallelization instructions.
2026-01-18 04:54:15 +01:00
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 ed0c61e25a fix(tui): corrected re-entrant rendering causing display corruption on Windows
- Fixed rendering issues on Windows by preventing re-entrant renders.
2026-01-15 15:53:06 +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 397d1f31ba feat(ai): implemented xhigh thinking level for Anthropic models and increased reasoning limits
- Added 'xhigh' thinking level option to thinkingBudgets configuration.
- Increased Anthropic thinking token budgets: minimal from 1024 to 3072, low from 2048 to 6144, medium from 8192 to 12288, and high from 16384 to 24576.
- Extended xhigh thinking level support to all Anthropic models.
- Modified Google thinking token budgets: low increased from 2048 to 4096, and added xhigh level at 24575 tokens.
- Added interleaved thinking mode support for Anthropic models controlled by ANTHROPIC_USE_INTERLEAVED_THINKING flag.
- Refactored ThinkingBudgets type to use mapped type syntax for better maintainability.
2026-01-12 13:53:26 +01:00