Commit graph

  • c10fc1e081 Use Web Crypto API for OAuth PKCE, remove Node.js crypto dependency Mario Zechner 2025-12-28 11:14:27 +01:00
  • 6a6d1a59f4 Rename customMessageTransformer to customConvertToLlm Mario Zechner 2025-12-28 11:07:22 +01:00
  • 13a1991ec2 Add defaultConvertToLlm to web-ui, simplify example Mario Zechner 2025-12-28 11:06:26 +01:00
  • 7a39f9eb11 Fix web-ui and example for new agent API Mario Zechner 2025-12-28 11:01:12 +01:00
  • 6ddc7418da WIP: Major cleanup - move Attachment to consumers, simplify agent API Mario Zechner 2025-12-28 10:55:12 +01:00
  • f86dea2e4f Expand README with AgentMessage/LLM conversion, event semantics, partial messages Mario Zechner 2025-12-28 09:37:34 +01:00
  • b6d9442916 Fix README: prompt takes ImageContent[], not Attachment[] Mario Zechner 2025-12-28 09:31:41 +01:00
  • 256d9a26bb Add CHANGELOG.md to agent package with refactor details Mario Zechner 2025-12-28 09:29:34 +01:00
  • 0f50982e0a Add CHANGELOG entry for agent API move to pi-agent-core Mario Zechner 2025-12-28 09:28:16 +01:00
  • fa22595f25 Update READMEs: remove agent section from pi-ai, rewrite pi-agent-core Mario Zechner 2025-12-28 09:27:51 +01:00
  • a055fd4481 WIP: Refactor agent package - not compiling Mario Zechner 2025-12-28 09:23:38 +01:00
  • f7ef44dc38 Fix: transform userMessage in _runAgentLoop before passing to transport Mario Zechner 2025-12-27 21:02:07 +01:00
  • 1113c95931 Fix import path in hook-message.ts Mario Zechner 2025-12-27 20:55:35 +01:00
  • 574f1cba3d Fix messageTransformer to normalize HookMessage string content to array Mario Zechner 2025-12-27 20:53:46 +01:00
  • 204d27581b Cleanup: unify HookMessage naming and simplify SessionContext Mario Zechner 2025-12-27 20:52:12 +01:00
  • a2515cf43f Wire context event to preprocessor for per-LLM-call execution Mario Zechner 2025-12-27 19:57:14 +01:00
  • 77fe3f1a13 Add context event for non-destructive message modification before LLM calls Mario Zechner 2025-12-27 19:33:41 +01:00
  • 9e165d1d81 Add context event TODO with dynamic context pruning example Mario Zechner 2025-12-27 03:57:55 +01:00
  • 6977bc73ca Fix snake border alignment using visibleWidth for proper ANSI length calculation Mario Zechner 2025-12-27 03:36:15 +01:00
  • b47151a04f Snake: add full border frame and pause/resume with session persistence Mario Zechner 2025-12-27 03:33:48 +01:00
  • 5ae33defd3 Fix snake velocity: render cells as 2 chars wide for square aspect Mario Zechner 2025-12-27 03:28:30 +01:00
  • 516c0ea8bc Improve snake game visuals Mario Zechner 2025-12-27 03:27:06 +01:00
  • 818196d2c3 Add immediate flag to hook commands for non-queued execution Mario Zechner 2025-12-27 03:22:55 +01:00
  • 165fb58b39 Fix snake.ts: use key helpers from pi-tui for ESC and arrow keys Mario Zechner 2025-12-27 03:20:10 +01:00
  • 14ad8d6228 Add ui.custom() for custom hook components with keyboard focus Mario Zechner 2025-12-27 03:17:38 +01:00
  • a8866d7a83 Refactor: shared exec utility, rename CustomMessageRenderer to HookMessageRenderer Mario Zechner 2025-12-27 03:10:08 +01:00
  • 5fee9005b7 Fix tests for sessionManager/modelRegistry on context Mario Zechner 2025-12-27 02:46:52 +01:00
  • 29fec7848e Move exec to HookAPI, sessionManager/modelRegistry to HookEventContext Mario Zechner 2025-12-27 02:43:36 +01:00
  • 7ed8e2e9fc Fix CHANGELOG: CommandContext -> HookCommandContext Mario Zechner 2025-12-27 02:24:09 +01:00
  • e25aef0594 Update plan: move exec to HookAPI, sessionManager/modelRegistry to contexts Mario Zechner 2025-12-27 02:22:45 +01:00
  • 09e7e9196c Update plan: HookCommandContext without sendMessage (use pi closure) Mario Zechner 2025-12-27 02:16:25 +01:00
  • 60130a4c53 Expand documentation and examples sections in session-tree plan Mario Zechner 2025-12-27 02:03:14 +01:00
  • ccfa1ac3bb Add documentation tasks to session-tree plan Mario Zechner 2025-12-27 02:01:53 +01:00
  • cf211b13e8 Document HookAppMessage and Agent.prompt(AppMessage) in CHANGELOG Mario Zechner 2025-12-27 01:59:47 +01:00
  • c1b4d043a8 Remove emitLastMessage from continue(), use prompt(AppMessage) instead Mario Zechner 2025-12-27 01:58:58 +01:00
  • a6322fda59 Add Agent.prompt(AppMessage) overload for custom message types Mario Zechner 2025-12-27 01:52:52 +01:00
  • 02f2c50155 Handle hookMessage role in message_start event handler Mario Zechner 2025-12-27 01:44:52 +01:00
  • 75a9c3c714 Use proper HookAppMessage type instead of _hookData marker Mario Zechner 2025-12-27 01:42:00 +01:00
  • 357bd946c2 Add emitLastMessage flag to agent.continue() Mario Zechner 2025-12-27 01:31:31 +01:00
  • 30cd723411 Hook commands: remove string return, use sendMessage() for prompting Mario Zechner 2025-12-27 01:21:18 +01:00
  • c8d9382aaa Move hook command execution to AgentSession.prompt() Mario Zechner 2025-12-27 01:13:52 +01:00
  • ba185b0571 Hook API: replace send() with sendMessage(), add appendEntry() and registerCommand() Mario Zechner 2025-12-27 00:52:10 +01:00
  • d43a5e47a1 Update CHANGELOG with CustomMessageEntry and hook rendering API Mario Zechner 2025-12-26 23:35:08 +01:00
  • ba11622d0c Wire up hook custom message renderers to TUI Mario Zechner 2025-12-26 23:32:22 +01:00
  • 7b94ddf36b Add TUI rendering for CustomMessageEntry Mario Zechner 2025-12-26 23:21:04 +01:00
  • beb804cda0 Fix: compaction now handles branch_summary and custom_message entries Mario Zechner 2025-12-26 23:09:16 +01:00
  • 754f55e3f6 Fix: handle branch_summary in kept messages before compaction Mario Zechner 2025-12-26 23:06:37 +01:00
  • 11a7845ceb Add CustomMessageEntry rendering infrastructure Mario Zechner 2025-12-26 23:02:53 +01:00
  • 3ecaaa5937 Fix CustomMessageEntry content type to match UserMessage Mario Zechner 2025-12-26 22:50:04 +01:00
  • 9da36e5ac6 Add CustomMessageEntry for hook-injected messages in LLM context Mario Zechner 2025-12-26 22:45:18 +01:00
  • 9bba388ec5 Refactor SessionEventBase to pass sessionManager and modelRegistry Mario Zechner 2025-12-26 22:22:43 +01:00
  • d96375b5e5 Make CompactionEntry and CompactionResult generic with details field Mario Zechner 2025-12-26 22:05:03 +01:00
  • efb1036d8e Improve CustomEntry docs and make it generic Mario Zechner 2025-12-26 21:40:09 +01:00
  • e841942377 Use CompactionResult type for hook compaction return value Mario Zechner 2025-12-26 21:34:48 +01:00
  • 9e68a59fed Add label support for session entries Mario Zechner 2025-12-26 21:30:24 +01:00
  • 6af547afd9 Version updates Mario Zechner 2025-12-26 17:21:24 +01:00
  • 898607f742 Update session-tree-plan.md with remaining work Mario Zechner 2025-12-26 02:49:01 +01:00
  • 6f94e24629 Session tree: simplify types, add branching API, comprehensive tests Mario Zechner 2025-12-26 02:37:42 +01:00
  • beb70f126d Refactor session manager: migration chain, validation, tests Mario Zechner 2025-12-26 01:33:13 +01:00
  • 95312e00bb Use short 8-char IDs for session entries Mario Zechner 2025-12-26 00:42:33 +01:00
  • 77595b97f9 Fix --session flag to use provided filename Mario Zechner 2025-12-26 00:35:55 +01:00
  • 9478a3c1f5 Fix SessionEntry type to exclude SessionHeader Mario Zechner 2025-12-26 00:31:53 +01:00
  • 251fea752c Fix API key priority and compaction bugs Mario Zechner 2025-12-26 00:05:02 +01:00
  • c58d5f20a4 Session tree structure with id/parentId linking Mario Zechner 2025-12-25 23:46:44 +01:00
  • 04a764742e
    Merge pull request #358 from default-anton/migrate-glm-4.7-to-openai Mario Zechner 2025-12-30 13:44:24 +01:00
  • 8ebc4bcebe tui: coalesce sequential status messages (+ tests) paulbettner 2025-12-29 03:46:01 -05:00
  • c214a33405
    Merge pull request #360 from prathamdby/fix/edit-crlf-windows Mario Zechner 2025-12-29 23:28:55 +01:00
  • 8c43a9fbc8 Fix edit tool failing on Windows due to CRLF line endings Pratham Dubey 2025-12-30 02:32:16 +05:30
  • 0250b7ac03 Migrate zai provider from Anthropic to OpenAI-compatible API Anton Kuzmenko 2025-12-29 11:54:10 -08:00
  • 65fb9116fb
    Merge pull request #346 from ronyrus/main Mario Zechner 2025-12-29 13:38:21 +01:00
  • 557af13042
    Merge pull request #344 from default-anton/feature/zai-openai-migration Mario Zechner 2025-12-29 13:37:43 +01:00
  • 193559bc65
    Merge pull request #348 from ronyrus/mom-use-auth-json Mario Zechner 2025-12-29 13:35:39 +01:00
  • 8ced1131c0
    Merge pull request #349 from Cursivez/fix/clickable-oauth-login-link Mario Zechner 2025-12-29 13:34:33 +01:00
  • 723d467436
    Merge pull request #351 from mitsuhiko/fix-copy Mario Zechner 2025-12-29 13:33:38 +01:00
  • e30c4e30cb Fix /copy after aborts Armin Ronacher 2025-12-29 11:54:45 +01:00
  • d42a3d71fe fix: make OAuth login URL clickable in terminal Cursivez 2025-12-29 13:45:11 +08:00
  • 9bcfab3863 make mom fetch apiKey from authStorage instead of env vars Rony Kelner 2025-12-29 11:54:09 +09:00
  • 47b11bf798 Improve error message when apiKey or model are absent Rony Kelner 2025-12-29 10:39:04 +09:00
  • 88d693cc00 test: add thinkingBudgetTokens parameter to thinking mode tests Anton Kuzmenko 2025-12-28 16:33:25 -08:00
  • 31cbbd211c fix: update zAI models to use anthropic API and filter empty thinking blocks in messages Anton Kuzmenko 2025-12-28 16:31:32 -08:00
  • e9c6d95e6b Migrate zai provider from Anthropic to OpenAI-compatible API Anton Kuzmenko 2025-12-28 13:37:34 -08:00
  • 93ea8298ab fix: update zai model API and baseUrl in generate-models script Anton Kuzmenko 2025-12-28 13:29:36 -08:00
  • c193ef74d2
    Merge pull request #332 from mrexodia/fix-models-sorting Mario Zechner 2025-12-27 18:36:24 +01:00
  • 9b1e00a814
    Merge pull request #331 from mrexodia/enabled-models Mario Zechner 2025-12-27 18:35:11 +01:00
  • bf6da8c72f Make model generation deterministic by sorting providers and models Duncan Ogilvie 2025-12-27 13:55:41 +01:00
  • 9e6282e3dd Add enabledModels to settings.json Duncan Ogilvie 2025-12-27 13:51:38 +01:00
  • 04fa79ebe0
    Merge pull request #328 from dnouri/fix/use-bash-on-unix Mario Zechner 2025-12-27 01:03:58 +01:00
  • 8fc0610a53 fix: Use bash instead of sh on Unix systems Daniel Nouri 2025-12-26 23:06:03 +01:00
  • ad10e2308e Update extension-loading.md with install/remove/update commands Mario Zechner 2025-12-26 20:51:15 +01:00
  • 31294e4749 Add extension loading design doc Mario Zechner 2025-12-26 20:35:04 +01:00
  • bd276e6931 Add empty Unreleased section Mario Zechner 2025-12-26 03:26:49 +01:00
  • 0e8173af00 Release v0.30.2 Mario Zechner 2025-12-26 03:25:55 +01:00
  • cb6310e159 Add automatic session migration for v0.30.0 bug Mario Zechner 2025-12-26 03:24:35 +01:00
  • fa946c68fc Add session migration script for #320 Mario Zechner 2025-12-26 03:15:46 +01:00
  • 7be4d52635 Add empty Unreleased section to changelog Mario Zechner 2025-12-26 03:14:27 +01:00
  • 9dcb0bdba4 Release v0.30.1 Mario Zechner 2025-12-26 03:13:37 +01:00
  • fbfdeb2c2e Fix custom system prompts missing context, skills, date/time, cwd Mario Zechner 2025-12-26 03:06:10 +01:00
  • 9652072f20
    Merge pull request #319 from kaofelix/main Mario Zechner 2025-12-26 02:58:26 +01:00
  • 3239a4a11a Add session version field and migrate-on-load strategy Mario Zechner 2025-12-25 22:52:04 +01:00
  • 013b6814e4 Clarify compaction in tree format: marker in chain, not a branch Mario Zechner 2025-12-25 22:49:26 +01:00