Commit Graph

347 Commits

Author SHA1 Message Date
can1357 a8beb8ffbf chore: bump version to 6.8.2 2026-01-21 02:02:11 +01:00
can1357 698751e7fe chore: bump version to 6.8.1 2026-01-20 19:51:22 +01:00
can1357 21af96d890 fix: added Cursor OAuth provider and fixed authentication flow race conditions
- Added Cursor OAuth provider support to CLI authentication flow.
- Fixed race conditions in OAuth callback handling and session picker cleanup.
- Improved JWT token parsing and error handling across OAuth providers.
- Replaced Bun.sleep() with abortable sleep for proper cancellation support.
- Enhanced process execution with concurrent stream reading and better timeout handling.
- Added cache cleanup mechanism for auth storage with 5-minute intervals.
2026-01-20 19:50:50 +01:00
can1357 94f406d4f0 chore: bump version to 6.8.0 2026-01-20 16:30:47 +01:00
can1357 b2c94bef1a refactor(deps): restructured codebase to use centralized pi-utils package
- Created new @oh-my-pi/pi-utils workspace package with shared utilities for logging, process management, stream handling, and temporary directory management.
- Migrated all packages to use centralized logger from @oh-my-pi/pi-utils instead of local winston implementations.
- Replaced custom process spawning and stream reading implementations with standardized cspawn and readLines utilities across all modules.
- Converted synchronous file operations and process spawning to async patterns using Bun shell syntax and fs/promises.
- Added streaming edit abort functionality with configurable setting to abort on patch preview failures.
- Updated test framework from vitest to bun:test across all test suites.
2026-01-20 05:33:21 +01:00
can1357 5b15b17587 chore: bump version to 6.7.670 2026-01-19 18:55:12 +01:00
can1357 43885b6b9a chore: bump version to 6.7.67 2026-01-19 17:32:39 +01:00
can1357 e01d08be07 chore: bump version to 6.7.0 2026-01-19 16:33:17 +01:00
can1357 440ac33dbf style: reformatted TypeScript code formatting and added benchmark reports
- Reformatted code indentation and spacing across multiple TypeScript files.
- Standardized export statements to single-line format in various modules.
- Fixed async/await precedence and corrected indentation in benchmark files.
- Added benchmark report files for GPT-5.1-codex-mini model performance.
2026-01-19 16:22:47 +01:00
can1357 f06d289338 feat(coding-agent): added normative patch generation for edit tool canonicalization
- Added normative patch generation for canonicalizing edit tool output.
- Implemented tool call argument rewriting for session history persistence.
- Enhanced patch applicator to support normalized patch input processing.
- Updated agent and AI types to include normative input parameters.
- Removed tar-stream dependency and replaced with Bun.Archive for benchmark package.
2026-01-19 16:16:55 +01:00
can1357 fa2261002d refactor(coding-agent/core): migrated tool implementations from factory functions to class-based architecture
- Converted all tool implementations from factory functions to class-based architecture.
- Updated SDK exports to expose tool classes instead of create*Tool factory functions.
- Refactored tool instantiation patterns across all built-in tools and test files.
- Added proper TypeScript typing with AgentToolResult and AgentToolUpdateCallback interfaces.
2026-01-19 16:16:54 +01:00
can1357 44a32e6031 chore: bump version to 6.2.0 2026-01-19 05:29:37 +01:00
can1357 5e2d1fa603 feat(coding-agent): added ToolCallContext interface for batch execution metadata
- Added ToolCallContext interface with batch execution metadata including batchId, index, and total.
- Enhanced getToolContext() to accept optional ToolCallContext parameter for batch-aware tool execution.
- Implemented LSP batching support to coalesce formatting and diagnostics operations on parallel edits.
- Added comprehensive tests for tool call batch context and LSP writethrough batching functionality.
2026-01-19 05:28:28 +01:00
can1357 8fc853a5c2 chore: bump version to 6.1.0 2026-01-19 04:33:27 +01:00
can1357 34f2fc0854 chore: bump version to 6.0.0 2026-01-19 01:38:04 +01:00
can1357 5a601bb0c0 feat: added Windows ARM64 support and streaming WASM loading with base64 fallback
- Added Windows ARM64 binary support and architecture detection in installers.
- Updated WASM loading to use streaming with base64 fallback for binary compatibility.
- Moved TTSR settings to dedicated tab and expanded abbreviation to Time Traveling Stream Rules.
- Added comprehensive install testing infrastructure with Docker validation.
- Updated package name from @oh-my-pi/omp-coding-agent to @oh-my-pi/pi-coding-agent.
2026-01-19 01:23:27 +01:00
can1357 ffe79ab5b9 chore: bump version to 5.7.67 2026-01-19 00:04:19 +01:00
can1357 768c0afcb2 chore: bump version to 5.6.77 2026-01-18 22:24:40 +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 a9ca7365ac chore: bump version to 5.6.7 2026-01-18 21:11:16 +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 095d01a8ac chore: bump version to 5.5.0 2026-01-18 04:59:28 +01:00
can1357 fd0833f3e4 chore: bump version to 5.4.2 2026-01-16 13:26:57 +01:00
can1357 131fd73b7e chore: bump version to 5.4.0 2026-01-15 18:12:31 +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 19e00ae5cf chore: bump version to 5.2.1 2026-01-14 13:23:24 +01:00
can1357 5a96e01739 chore: bump version to 5.2.0 2026-01-14 08:59:32 +01:00
can1357 733dd7ad1c chore: bump version to 5.1.1 2026-01-14 03:32:28 +01:00
can1357 879274a094 chore: bump version to 5.1.0 2026-01-14 03:21:54 +01:00
can1357 aef56b8eed chore: bump version to 5.0.1 2026-01-12 15:23:41 +01:00
can1357 e0a407861c chore: bump version to 5.0.0 2026-01-12 13:54:40 +01:00
can1357 b4063fd3da chore: bump version to 4.9.0 2026-01-12 12:09:18 +01:00
can1357 f37e403226 chore: bump version to 4.8.3 2026-01-12 11:46:51 +01:00
can1357 903e4145e7 chore: bump version to 4.8.0 2026-01-12 11:11:59 +01:00
can1357 b06b005b6b chore: bump version to 4.7.0 2026-01-12 09:12:20 +01:00
can1357 f615586257 chore: bump version to 4.6.0 2026-01-12 03:19:08 +01:00
can1357 90ab70bb5e fix(agent): fixed tool result ordering in Cursor mode with buffering and message splitting
- Fixed tool result ordering in Cursor mode by buffering results and emitting them at the correct position within assistant messages.
- Modified assistant message handling to split messages around tool results for improved readability when using Cursor tools.
- Added CursorToolResultEntry interface to track buffered tool results with text position metadata.
- Added _cursorToolResultBuffer private field to store tool results during streaming for correct ordering.
- Added _getAssistantTextLength helper method to calculate total text length from assistant message content blocks.
- Added _emitCursorSplitAssistantMessage method to split assistant messages around tool results and emit them in correct order.
2026-01-12 02:34:33 +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 b5fbd0980f chore: bump version to 4.4.8 2026-01-12 01:03:13 +01:00
can1357 c32d728910 chore: bump version to 4.4.6 2026-01-12 00:20:46 +01:00
can1357 bb9c3e1d61 chore: bump version to 4.4.5 2026-01-12 00:09:49 +01:00
can1357 1a945367e6 chore: bump version to 4.4.4 2026-01-11 23:34:23 +01:00
can1357 fc92a7105e chore: bump version to 4.3.2 2026-01-11 15:25:46 +01:00
can1357 ec611c5eac chore: bump version to 4.3.1 2026-01-11 14:37:46 +01:00
can1357 5e9ef021bb feat: enhanced subagent config, reviewer output schema, and consolidated discovery helpers
- Added thinkingLevel field to agent frontmatter allowing subagents to override thinking level with clamping to model capabilities.
- Added structured output schema to reviewer agent ensuring consistent review output format with findings, correctness verdict, and confidence.
- Expanded system prompt with defensive reasoning guidance including assumption checks, edge case awareness, and completion reflex inhibition.
- Consolidated expandPath, parseFrontmatter, and parseAgentFields utilities into discovery/helpers module eliminating code duplication across loaders.
- Replaced silent error handling with logger.warn calls across config parsing, migrations, extension loading, and OAuth refresh failures.
2026-01-11 14:09:18 +01:00
can1357 ff744750ac chore: bump version to 4.3.0 2026-01-11 08:45:49 +01:00
can1357 242f319cfc feat(cursor): added Cursor AI provider with OAuth, HTTP/2 streaming, and tool execution bridge
- Added Cursor AI provider with HTTP/2 streaming support using Connect protocol and protobuf binary serialization.
- Added OAuth authentication flow for Cursor including browser-based login, token refresh, and expiry detection.
- Added 14 Cursor model definitions including Claude 4.5, GPT 5.x, Gemini 3, and Grok variants.
- Added execution bridge for Cursor tool calls supporting read, ls, grep, write, delete, shell, diagnostics, and MCP operations.
- Added cursorExecHandlers and cursorOnToolResult options to Agent for local tool execution with cursor-based streaming.
- Added emitExternalEvent method to Agent class for external event injection into agent state.
2026-01-11 07:42:41 +01:00