Commit Graph
195 Commits
Author SHA1 Message Date
Mario Zechner aeb41c8ecd Release v0.21.0 2025-12-13 23:55:31 +01:00
Mario Zechner 3c689e4452 Release v0.20.2 2025-12-13 01:11:36 +01:00
Mario Zechner 7e530acb2b Release v0.20.1 2025-12-13 00:57:12 +01:00
Mario Zechner 4e60453fca Release v0.20.0 2025-12-12 23:25:01 +01:00
Mario Zechner d0626c4285 Release v0.19.2 2025-12-12 23:03:01 +01:00
Mario Zechner 68c3bf665b mom: add events system for scheduled wake-ups
- Three event types: immediate, one-shot, periodic (cron)
- Events are JSON files in workspace/events/
- EventsWatcher with fs.watch, 100ms debounce
- Queue integration via SlackBot.enqueueEvent() (max 5)
- Fix setTyping race condition causing duplicate messages
- System prompt documents events for mom
- Design doc in docs/events.md
- Add croner dependency for cron scheduling
2025-12-12 22:45:34 +01:00
Mario Zechner 2cb0ff3f0e Release v0.19.1 2025-12-12 17:53:45 +00:00
Mario Zechner 88c33163b5 Release v0.19.0 2025-12-12 17:33:16 +00: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 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 5509434528 mom: add coding-agent dependency, update compaction docs 2025-12-11 13:04:45 +01:00
Mario Zechner f291cb0d51 Release v0.18.2 2025-12-10 23:39:16 +01:00
Mario Zechner 8bceefa028 Release v0.18.1 2025-12-10 21:25:15 +01:00
Mario Zechner 56ced9ae83 Add Mistral as AI provider
- Add Mistral to KnownProvider type and model generation
- Implement Mistral-specific compat handling in openai-completions:
  - requiresToolResultName: tool results need name field
  - requiresAssistantAfterToolResult: synthetic assistant message between tool/user
  - requiresThinkingAsText: thinking blocks as <thinking> text
  - requiresMistralToolIds: tool IDs must be exactly 9 alphanumeric chars
- Add MISTRAL_API_KEY environment variable support
- Add Mistral tests across all test files
- Update documentation (README, CHANGELOG) for both ai and coding-agent packages
- Remove client IDs from gemini.md, reference upstream source instead

Closes #165
2025-12-10 20:36:19 +01:00
Mario Zechner 261872d3f5 Release v0.18.0 2025-12-10 01:18:13 +01:00
Mario Zechner feaefa303c feat(coding-agent): implement hooks system
- Add hooks infrastructure in core/hooks/ (loader, runner, types)
- HookUIContext interface with mode-specific implementations
- Interactive mode: TUI-based selector/input/confirm dialogs
- RPC mode: JSON protocol for hook UI requests/responses
- Print mode: no-op UI context (hooks run but can't prompt)
- AgentSession.branch() now async, returns { selectedText, skipped }
- Settings: hooks[] and hookTimeout configuration
- Export hook types from package for hook authors

Based on PR #147 proposal, adapted for new architecture.
2025-12-09 22:17:12 +01:00
Mario Zechner ce697e0345 Fix version scripts: clean reinstall to avoid npm workspace bug 2025-12-09 21:56:22 +01:00
Mario Zechner ad9f7b7334 Add [Unreleased] section to changelogs 2025-12-09 21:51:01 +01:00
Mario Zechner 9ed2c831d1 Release v0.17.0 2025-12-09 21:47:39 +01:00
Mario Zechner 62a606744c Simplify compaction: remove proactive abort, use Agent.continue() for retry
- Add agentLoopContinue() to pi-ai for resuming from existing context
- Add Agent.continue() method and transport.continue() interface
- Simplify AgentSession compaction to two cases: overflow (auto-retry) and threshold (no retry)
- Remove proactive mid-turn compaction abort
- Merge turn prefix summary into main summary
- Add isCompacting property to AgentSession and RPC state
- Block input during compaction in interactive mode
- Show compaction count on session resume
- Rename RPC.md to rpc.md for consistency

Related to #128
2025-12-09 21:43:49 +01:00
Mario Zechner e7d0fe83dd Release v0.16.0 2025-12-09 15:43:29 +01:00
Mario Zechner c6278aa552 Fix agent event ordering: update state before emitting events
Previously, Agent.emit() was called before state was updated (e.g., appendMessage).
This meant event handlers saw stale state - when message_end fired,
agent.state.messages didn't include the message yet.

Now state is updated first, then events are emitted, so handlers see
consistent state that matches the event.
2025-12-09 14:33:39 +01:00
Mario Zechner b0437be4d7 Release v0.15.0
closes #153
2025-12-09 13:41:12 +01:00
Mario Zechner 628ead2485 Release v0.14.2 2025-12-08 23:29:05 +01:00
Mario Zechner 9b2369e096 Release v0.14.1 2025-12-08 22:59:46 +01:00
Mario Zechner c6fd9eeeaa Fix tsgo type issues: update tsgo, fix ReasoningEffort import, remove broken enum-test 2025-12-08 22:59:13 +01:00
Mario Zechner 0b793ea451 Release v0.14.0 2025-12-08 22:51:29 +01:00
Mario Zechner 18df11d10e Add xhigh thinking level for OpenAI codex-max models
- Add 'xhigh' to ThinkingLevel type in ai and agent packages
- Map xhigh to reasoning_effort: 'max' for OpenAI providers
- Add thinkingXhigh color token to theme schema and built-in themes
- Show xhigh option only when using codex-max models
- Update CHANGELOG for both ai and coding-agent packages

closes #143
2025-12-08 21:12:54 +01:00
Mario Zechner 788158525c Release v0.13.2 2025-12-07 01:25:17 +01:00
Mario Zechner 159a6e7df6 Release v0.13.1 2025-12-06 23:12:36 +01:00
Mario Zechner 30cc0005e9 Release v0.13.0 2025-12-06 22:48:39 +01:00
badlogic 6c1b4ceac2 Fix Windows binary detection for Bun compiled executables
- Updated isBunBinary detection to check for %7EBUN (URL-encoded ~BUN)
- Simplified build:binary script to remove Unix-specific shell syntax
- Binary now correctly locates supporting files next to executable on Windows
2025-12-06 22:42:47 +01:00
Mario Zechner ba06412933 Release v0.12.15 2025-12-06 21:29:03 +01:00
Mario Zechner e20b345051 Release v0.12.14 2025-12-06 00:46:57 +01:00
Mario Zechner 0125ab997f Release v0.12.13 2025-12-05 23:38:32 +01:00
Mario Zechner 5fb8563279 Release v0.12.12 2025-12-05 23:00:45 +01:00
Mario Zechner 05f885ce83 Release v0.12.11 2025-12-05 12:19:37 +01:00
Mario Zechner 1d11267401 Release v0.12.10 2025-12-04 20:51:57 +01:00
Mario Zechner 434996ba3e Release v0.12.9 2025-12-04 13:22:53 +01:00
Mario Zechner 5622cbd0cc Release v0.12.8 2025-12-04 03:59:20 +01:00
Mario Zechner c6b2c3d8b3 Release v0.12.7 2025-12-04 03:11:03 +01:00
Mario Zechner f9e694861e chore: bump version to 0.12.6 2025-12-03 17:12:27 +01:00
Mario Zechner 203802f626 Release v0.12.5 2025-12-03 16:21:11 +01:00
Mario Zechner 92f3aaefb7 Add web-ui/example to workspaces, remove CI workaround 2025-12-03 14:27:02 +01:00
Mario Zechner 84e2936a8b Try fixing root level compiles 2025-12-03 14:16:00 +01:00
Mario Zechner cd81f844e4 release: v0.12.4 2025-12-02 13:26:46 +01:00