Mario Zechner
a237fa63e8
Add [Unreleased] section to changelogs
2025-12-25 04:17:41 +01:00
Mario Zechner
15968ae025
Release v0.29.0
2025-12-25 04:16:42 +01:00
Mario Zechner
504d0253f6
Rename /clear to /new, update hook events to before_new/new
...
Closes #305 - took direct rename approach instead of alias system
Thanks @mitsuhiko for the nudge!
2025-12-25 04:15:10 +01:00
Mario Zechner
8bd90c99fb
Release v0.28.0
2025-12-25 03:57:41 +01:00
Mario Zechner
c76d62be8e
Add removeRuntimeApiKey to AuthStorage
2025-12-25 03:57:20 +01:00
Mario Zechner
436df4b822
Update changelogs for #296
2025-12-25 03:52:46 +01:00
Mario Zechner
aa8f7029e1
Refactor OAuth/API key handling: AuthStorage and ModelRegistry
...
- Add AuthStorage class for credential storage (auth.json)
- Add ModelRegistry class for model management with API key resolution
- Add discoverAuthStorage() and discoverModels() discovery functions
- Add migration from legacy oauth.json and settings.json apiKeys to auth.json
- Remove configureOAuthStorage, defaultGetApiKey, findModel, discoverAvailableModels
- Remove apiKeys from Settings type and SettingsManager methods
- Rename getOAuthPath to getAuthPath
- Update SDK, examples, docs, tests, and mom package
Fixes #296
2025-12-25 03:48:36 +01:00
Mario Zechner
6b72cdab81
WIP: Add auth-storage.ts for credential management
...
- AuthStorage class for reading/writing auth.json
- Supports both api_key and oauth credential types
- getApiKey() priority: auth.json api_key > auth.json oauth > env var
2025-12-25 01:23:45 +01:00
Mario Zechner
d69c15f322
WIP: Rename model-config.ts to models-json.ts
...
- loadCustomModels now takes file path instead of agentDir
2025-12-25 01:15:17 +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
6981e24d68
Add changelog entry for #304
2025-12-24 22:47:42 +01:00
Armin Ronacher and Mario Zechner
241810afd8
Skip over exact duplicate skills
2025-12-24 22:45:19 +01:00
Mario Zechner
365d3776d0
Add empty Unreleased section
2025-12-24 21:26:15 +01:00
Mario Zechner
4aa534951a
Release v0.27.9
2025-12-24 21:25:20 +01:00
Mario Zechner
b244b6d41b
Fix model selector not showing models with settings.json API keys
...
Fixes #295
2025-12-24 21:23:44 +01:00
Mario Zechner
f2d810cbb4
Add empty Unreleased section
2025-12-24 20:53:23 +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
b3e47e70a1
Add [Unreleased] section for next cycle
2025-12-24 18:31:13 +01:00
Mario Zechner
29fe44c630
Release v0.27.7
2025-12-24 18:30:53 +01:00
Mario Zechner
cd39214f46
Add [Unreleased] section to changelog
2025-12-24 14:00:04 +01:00
Mario Zechner
9802b8531f
Release v0.27.6
2025-12-24 13:59:09 +01:00
Mario Zechner
18340a6910
Remove duplicate Custom Compaction example, reference main docs
2025-12-24 13:56:00 +01:00
Mario Zechner
54abb5d7ff
Improve compaction hooks: add signal, no timeout, SessionManager cleanup, docs
2025-12-24 13:54:05 +01:00
Mario Zechner
74a8318698
Use clearer abbreviations in compaction diagrams
2025-12-24 12:59:45 +01:00
Mario Zechner
3ecf1fe0cc
Improve compaction diagrams with legend and realistic message types
2025-12-24 12:58:00 +01:00
Mario Zechner
c0022c0afd
Add reference to compaction.ts source file
2025-12-24 12:55:47 +01:00
Mario Zechner
c44fc0cba7
Clarify that cut point is always user/assistant/bash, never tool result
2025-12-24 12:55:15 +01:00
Mario Zechner
0f11a0ff58
Add split turn diagram to compaction docs
2025-12-24 12:53:23 +01:00
Mario Zechner
fafe89cc58
Clarify keepRecentTokens is configurable
2025-12-24 12:51:41 +01:00
Mario Zechner
3a5d0d49f1
Add LLM context diagram to compaction docs
2025-12-24 12:49:45 +01:00
Mario Zechner
bd24b5d6ad
Fix compaction ASCII diagram to show append-only behavior
2025-12-24 12:49:09 +01:00
Mario Zechner
ee660923ea
Add ASCII diagram to compaction docs
2025-12-24 12:48:16 +01:00
Mario Zechner
e9c20357e7
Add previousSummary to before_compact hook event
2025-12-24 12:47:12 +01:00
Mario Zechner
db758095fc
Clarify messagesToSummarize starts after last compaction
2025-12-24 12:44:05 +01:00
Mario Zechner
8f7f41186c
Improve custom compaction docs in hooks.md
2025-12-24 12:43:04 +01:00
Mario Zechner
277fd22d5f
Improve before_compact hook: add messagesToKeep, replace apiKey with resolveApiKey
2025-12-24 12:41:22 +01:00
Mario Zechner
a74ae7d0eb
Update full-compaction example to use resolveApiKey
2025-12-24 12:30:00 +01:00
Mario Zechner
c5ffdc14e9
Add resolveApiKey to before_compact hook event
2025-12-24 12:28:51 +01:00
Mario Zechner
a2fd6738a8
Add full-compaction hook example
2025-12-24 12:25:36 +01:00
Mario Zechner
d2d47773b9
Release v0.27.5
2025-12-24 12:18:51 +01:00
Mario Zechner
0eec5d5e96
Add changelog entry for Ghostty tmux fix
2025-12-24 12:17:31 +01:00
Mario Zechner
5652df8a89
Add syntax highlighting to HTML export using highlight.js
2025-12-24 12:13:56 +01:00
scutifer and Mario Zechner
a86c3ba15c
chore: update changelog.md to add the latest commit
2025-12-24 12:13:56 +01:00
scutifer and Mario Zechner
78cf2bfc0b
feat: Improve HTML export with markdown rendering and theme support
...
- Render markdown server-side using marked (tables, headings, code blocks, etc.)
- Honor user's chosen theme (light/dark) with appropriate color defaults
- Add image rendering for user messages
- Style code blocks with TUI-like ```language markers
2025-12-24 12:13:15 +01:00
Nico Bailon and GitHub
4f36556cc8
Add before_compact hook event ( closes #281 ) ( #285 )
...
* Add before_compact hook event (closes #281 )
* Add compact hook event and documentation
- Add compact event that fires after compaction completes
- Update hooks.md with lifecycle diagram, field docs, and example
- Add CHANGELOG entry
- Add comprehensive test coverage (10 tests) for before_compact and compact events
- Tests cover: event emission, cancellation, custom entry, error handling, multiple hooks
2025-12-24 11:26:29 +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
ece66335e8
List all provider keys in README settings example
2025-12-24 02:42:41 +01:00
Mario Zechner
9d5ba8563d
Use injected resolveApiKey in AgentSession for settings.json support
2025-12-24 02:35:42 +01:00
Mario Zechner
df3ee508bd
Update README with settings.json API keys
2025-12-24 02:14:02 +01:00