Commit Graph
116 Commits
Author SHA1 Message Date
can1357 754da171a4 feat: added interactive /review command with multi-mode selection
- Added interactive /review command with mode selection for base
branch, uncommitted changes, specific commit, or custom
instructions.
- Added subprocess tool registry for extracting and rendering tool
data from subprocess agents.
- Added combined review result rendering with verdict and findings
tree structure.
- Changed bundled commands to be overridable by user/project
commands with same name.
- Removed findings_count parameter from submit_review tool in
favor of automatic counting.
- Added fix npm script for auto-fixable lint issues with unsafe
fixes.
2026-01-03 06:39:04 +01:00
can1357 50ab6b8b1b style: removed .js extension from imports and added node: prefix to builtins 2026-01-03 05:12:25 +01:00
can1357 720aae421f chore: bump version to 1.338.0 and update changelogs 2026-01-03 00:30:33 +01:00
can1357 73efb9b520 chore: bump version to 1.337.1 and update changelogs 2026-01-02 23:05:37 +01:00
can1357 afcae56269 build(deps): added tsgo for faster type checking across packages
- Added @typescript/native-preview dependency to enable faster type checking with tsgo.
- Updated check scripts across packages to use tsgo instead of tsc for improved performance.
- Extended root check script to include coding-agent package type checking.
2026-01-02 22:18:45 +01:00
can1357 2be354322d chore: renamed package scope to @oh-my-pi for consistent branding
- Renamed npm package scope from @mariozechner to @oh-my-pi across all packages for consistent branding.
- Removed packages/pods directory and all related pod management functionality.
- Updated import paths and module declarations throughout codebase to reflect new package names.
- Reformatted code with consistent trailing comma removal and ternary operator alignment.
2026-01-02 18:08:23 +01:00
can1357 b85d3f6aa4 merge(pi/main): integrate upstream changes through v0.31.1
Merged 53 commits from pi/main including:
- Export HTML rewrite with tree sidebar and /share command
- Hooks API enhancements (custom status, editor, session management)
- Edit diff preview before tool execution
- TUI fixes (Unicode format chars, OSC 8 hyperlinks, emoji optimization)
- Gemini CLI rate limit retry with server-provided delay
- Various bug fixes and documentation updates

Resolved conflicts by preserving Bun migration (spawn→Bun.spawn,
fs→Bun.file) while accepting upstream's new features and APIs.
2026-01-02 14:34:27 +01:00
can1357 1cee37cf92 build: migrated from Node.js to Bun for native TypeScript support
- Migrated from Node.js to Bun runtime to leverage native TypeScript execution and faster startup times.
- Replaced npm with bun package manager and updated lockfile format.
- Converted Node.js APIs (child_process, fs, readline) to Bun equivalents across all packages.
- Updated shebang lines from node/tsx to bun for CLI entry points.
- Removed TypeScript build step by using source files directly as package entry points.
- Updated CI workflows to use Bun instead of Node.js for installation and testing.
2026-01-02 13:46:05 +01:00
Mario Zechner e32667781b Release v0.31.1 2026-01-02 10:39:08 +01:00
Mario Zechner d301eabe13 Release v0.31.0 2026-01-02 01:59:59 +01:00
Mario Zechner 4cccafc7d6 Use queueMessage for notifications in example 2025-12-30 22:42:21 +01:00
Mario Zechner cbc96f7374 AgentInterface sets default streamFn and getApiKey
- Make Agent.streamFn and Agent.getApiKey public
- AgentInterface sets defaults if not already set
- Example no longer needs to configure these
2025-12-30 22:42:21 +01:00
Mario Zechner 30b45d28b3 Allow async streamFn for dynamic proxy settings
- StreamFn type now allows returning Promise
- agent-loop awaits streamFn result
- createStreamFn takes getProxyUrl callback, reads settings on each call
2025-12-30 22:42:21 +01:00
Mario Zechner a340916bd6 Add createStreamFn for CORS proxy support
- createStreamFn(proxyUrl?) returns a sync streamFn that applies proxy
- Example reads proxy settings once when creating Agent
- Matches old ProviderTransport behavior
2025-12-30 22:42:21 +01:00
Mario Zechner d731bb59ef Add getApiKey to web-ui example Agent config
Provides API keys from the provider keys store, matching old ProviderTransport behavior.
2025-12-30 22:42:21 +01:00
Mario Zechner 98a4f7bb46 Rename customMessageTransformer to customConvertToLlm 2025-12-30 22:42:20 +01:00
Mario Zechner d03e0d72a3 Add defaultConvertToLlm to web-ui, simplify example
- web-ui exports: defaultConvertToLlm, convertAttachments, isUserMessageWithAttachments, isArtifactMessage
- defaultConvertToLlm handles UserMessageWithAttachments and filters ArtifactMessage
- Example's customMessageTransformer now extends defaultConvertToLlm
- Removes duplicated attachment conversion logic from example
2025-12-30 22:42:20 +01:00
Mario Zechner 101e91ebf0 Fix web-ui and example for new agent API
- AgentInterface composes UserMessageWithAttachments for attachments
- Updated example to use convertToLlm instead of transport/messageTransformer
- Fixed declaration merging: target pi-agent-core, add path to example tsconfig
- Fixed typo in CustomAgentMessages key (user-with-attachment -> user-with-attachments)
- customMessageTransformer properly converts UserMessageWithAttachments to content blocks
2025-12-30 22:42:20 +01:00
Mario Zechner e8947026a8 WIP: Major cleanup - move Attachment to consumers, simplify agent API
- Removed Attachment from agent package (now in web-ui/coding-agent)
- Agent.prompt now takes (text, images?: ImageContent[])
- Removed transports from web-ui (duplicate of agent package)
- Updated coding-agent to use local message types
- Updated mom package for new agent API

Remaining: Fix AgentInterface.ts to compose UserMessageWithAttachments
2025-12-30 22:42:20 +01:00
Mario Zechner 44b1aac304 Release v0.30.2 2025-12-26 03:25:55 +01:00
Mario Zechner a37aff3761 Release v0.30.1
fixes #320
2025-12-26 03:13:37 +01:00
Mario Zechner b17b1f61e0 Release v0.30.0 2025-12-25 20:35:14 +01:00
Mario Zechner 73a771a0ee Release v0.29.1 2025-12-25 18:10:11 +01:00
Mario Zechner 15968ae025 Release v0.29.0 2025-12-25 04:16:42 +01:00
Mario Zechner c76d62be8e Add removeRuntimeApiKey to AuthStorage 2025-12-25 03:57:20 +01:00
Mario Zechner e7ad9738fc WIP: Remove global state from pi-ai OAuth/API key handling
- Remove setApiKey, resolveApiKey, and global apiKeys Map from stream.ts
- Rename getApiKey to getApiKeyFromEnv (only checks env vars)
- Remove OAuth storage layer (storage.ts deleted)
- OAuth login/refresh functions now return credentials instead of saving
- getOAuthApiKey/refreshOAuthToken now take credentials as params
- Add test/oauth.ts helper for ai package tests
- Simplify root npm run check (single biome + tsgo pass)
- Remove redundant check scripts from most packages
- Add web-ui and coding-agent examples to biome/tsgo includes

coding-agent still has compile errors - needs refactoring for new API
2025-12-25 01:01:03 +01:00
Mario Zechner 4aa534951a Release v0.27.9 2025-12-24 21:25:20 +01:00
Mario Zechner 910c8cbee1 Release v0.27.8 - OAuth takes priority over settings.json API keys 2025-12-24 20:52:22 +01:00
Mario Zechner 29fe44c630 Release v0.27.7 2025-12-24 18:30:53 +01:00
Mario Zechner 9802b8531f Release v0.27.6 2025-12-24 13:59:09 +01:00
Mario Zechner d2d47773b9 Release v0.27.5 2025-12-24 12:18:51 +01:00
Mario Zechner 538a257b58 Fix symlinked skill directories not being discovered
Release v0.27.4
2025-12-24 03:32:54 +01:00
Mario Zechner 79850d434c Release v0.27.3 2025-12-24 02:46:23 +01:00
Mario Zechner 6ae3a2d47f Release v0.27.2 2025-12-23 03:48:52 +01:00
Mario Zechner dbdcf5ed28 Release v0.27.1 2025-12-22 19:28:26 +01:00
Mario Zechner d96ed2bee6 Release v0.27.0 2025-12-22 18:20:10 +01:00
Mario Zechner b92d9a0885 Release v0.26.1 2025-12-22 16:19:19 +01:00
Mario Zechner a12318ff14 Release v0.26.0 2025-12-22 12:53:58 +01:00
Mario Zechner b483b02be8 Fix syntax highlighting stderr spam with malformed markdown, fixes #274 2025-12-22 00:23:01 +01:00
Mario Zechner 5e961f1e22 Release v0.25.3 2025-12-21 21:01:27 +01:00
Mario Zechner 94b47c070d Release v0.25.2 2025-12-21 02:59:03 +01:00
Mario Zechner 88818c9d19 Release v0.25.1 2025-12-21 02:43:47 +01:00
Mario Zechner b69429d7be Release v0.25.0 2025-12-20 22:02:47 +01:00
Mario Zechner 120cd8e3e7 Release v0.24.5 2025-12-19 22:09:35 +01:00
Mario Zechner bc9c6375d7 Release v0.24.4 2025-12-19 21:54:36 +01:00
Mario Zechner 301281f601 Release v0.24.3 2025-12-19 21:36:16 +01:00
Mario Zechner 9b6a79fd8a Release v0.24.2 2025-12-19 21:12:53 +01:00
Mario Zechner 783e39fd65 Release v0.24.1 2025-12-19 20:51:44 +01:00
Mario Zechner 3df5f025ef Release v0.24.0 2025-12-19 05:21:25 +01:00
Mario Zechner c8b9b6ecf6 Release v0.23.5 2025-12-19 05:15:34 +01:00