@draht/coding-agent 2026.3.25 → 2026.4.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +896 -624
- package/README.md +110 -97
- package/dist/cli/args.d.ts +7 -10
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +42 -44
- package/dist/cli/args.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +1 -0
- package/dist/cli.js.map +1 -1
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +18 -0
- package/dist/config.js.map +1 -1
- package/dist/core/agent-session-runtime.d.ts +83 -0
- package/dist/core/agent-session-runtime.d.ts.map +1 -0
- package/dist/core/agent-session-runtime.js +236 -0
- package/dist/core/agent-session-runtime.js.map +1 -0
- package/dist/core/agent-session-services.d.ts +86 -0
- package/dist/core/agent-session-services.d.ts.map +1 -0
- package/dist/core/agent-session-services.js +116 -0
- package/dist/core/agent-session-services.js.map +1 -0
- package/dist/core/agent-session.d.ts +17 -47
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +166 -291
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/auth-storage.d.ts +3 -1
- package/dist/core/auth-storage.d.ts.map +1 -1
- package/dist/core/auth-storage.js +5 -2
- package/dist/core/auth-storage.js.map +1 -1
- package/dist/core/bash-executor.d.ts.map +1 -1
- package/dist/core/bash-executor.js +19 -7
- package/dist/core/bash-executor.js.map +1 -1
- package/dist/core/compaction/branch-summarization.d.ts +2 -0
- package/dist/core/compaction/branch-summarization.d.ts.map +1 -1
- package/dist/core/compaction/branch-summarization.js +2 -2
- package/dist/core/compaction/branch-summarization.js.map +1 -1
- package/dist/core/compaction/compaction.d.ts +3 -3
- package/dist/core/compaction/compaction.d.ts.map +1 -1
- package/dist/core/compaction/compaction.js +27 -26
- package/dist/core/compaction/compaction.js.map +1 -1
- package/dist/core/export-html/tool-renderer.d.ts +2 -0
- package/dist/core/export-html/tool-renderer.d.ts.map +1 -1
- package/dist/core/export-html/tool-renderer.js +2 -2
- package/dist/core/export-html/tool-renderer.js.map +1 -1
- package/dist/core/extensions/index.d.ts +2 -2
- package/dist/core/extensions/index.d.ts.map +1 -1
- package/dist/core/extensions/index.js +1 -1
- package/dist/core/extensions/index.js.map +1 -1
- package/dist/core/extensions/loader.d.ts.map +1 -1
- package/dist/core/extensions/loader.js +7 -7
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/extensions/runner.d.ts +1 -0
- package/dist/core/extensions/runner.d.ts.map +1 -1
- package/dist/core/extensions/runner.js +4 -0
- package/dist/core/extensions/runner.js.map +1 -1
- package/dist/core/extensions/types.d.ts +30 -29
- package/dist/core/extensions/types.d.ts.map +1 -1
- package/dist/core/extensions/types.js +10 -0
- package/dist/core/extensions/types.js.map +1 -1
- package/dist/core/footer-data-provider.d.ts +5 -1
- package/dist/core/footer-data-provider.d.ts.map +1 -1
- package/dist/core/footer-data-provider.js +70 -8
- package/dist/core/footer-data-provider.js.map +1 -1
- package/dist/core/index.d.ts +3 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +3 -1
- package/dist/core/index.js.map +1 -1
- package/dist/core/keybindings.d.ts +14 -1
- package/dist/core/keybindings.d.ts.map +1 -1
- package/dist/core/keybindings.js +13 -14
- package/dist/core/keybindings.js.map +1 -1
- package/dist/core/model-registry.d.ts +21 -3
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +120 -71
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/model-resolver.d.ts.map +1 -1
- package/dist/core/model-resolver.js +4 -4
- package/dist/core/model-resolver.js.map +1 -1
- package/dist/core/package-manager.d.ts +21 -1
- package/dist/core/package-manager.d.ts.map +1 -1
- package/dist/core/package-manager.js +108 -43
- package/dist/core/package-manager.js.map +1 -1
- package/dist/core/prompt-templates.d.ts.map +1 -1
- package/dist/core/prompt-templates.js +1 -22
- package/dist/core/prompt-templates.js.map +1 -1
- package/dist/core/resolve-config-value.d.ts +6 -0
- package/dist/core/resolve-config-value.d.ts.map +1 -1
- package/dist/core/resolve-config-value.js +37 -5
- package/dist/core/resolve-config-value.js.map +1 -1
- package/dist/core/resource-loader.d.ts.map +1 -1
- package/dist/core/resource-loader.js +25 -3
- package/dist/core/resource-loader.js.map +1 -1
- package/dist/core/sdk.d.ts +7 -4
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +18 -24
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/session-cwd.d.ts +19 -0
- package/dist/core/session-cwd.d.ts.map +1 -0
- package/dist/core/session-cwd.js +38 -0
- package/dist/core/session-cwd.js.map +1 -0
- package/dist/core/session-manager.d.ts +5 -1
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +16 -8
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/settings-manager.d.ts +3 -1
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +5 -1
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/skills.d.ts +1 -1
- package/dist/core/skills.d.ts.map +1 -1
- package/dist/core/skills.js +3 -3
- package/dist/core/skills.js.map +1 -1
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +6 -6
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/timings.d.ts +1 -0
- package/dist/core/timings.d.ts.map +1 -1
- package/dist/core/timings.js +6 -0
- package/dist/core/timings.js.map +1 -1
- package/dist/core/tools/bash.d.ts.map +1 -1
- package/dist/core/tools/bash.js +19 -9
- package/dist/core/tools/bash.js.map +1 -1
- package/dist/core/tools/edit-diff.d.ts +23 -1
- package/dist/core/tools/edit-diff.d.ts.map +1 -1
- package/dist/core/tools/edit-diff.js +150 -57
- package/dist/core/tools/edit-diff.js.map +1 -1
- package/dist/core/tools/edit.d.ts +13 -11
- package/dist/core/tools/edit.d.ts.map +1 -1
- package/dist/core/tools/edit.js +55 -77
- package/dist/core/tools/edit.js.map +1 -1
- package/dist/core/tools/file-mutation-queue.d.ts.map +1 -1
- package/dist/core/tools/file-mutation-queue.js +4 -4
- package/dist/core/tools/file-mutation-queue.js.map +1 -1
- package/dist/core/tools/index.d.ts +9 -6
- package/dist/core/tools/index.d.ts.map +1 -1
- package/dist/core/tools/tool-definition-wrapper.d.ts.map +1 -1
- package/dist/core/tools/tool-definition-wrapper.js +2 -0
- package/dist/core/tools/tool-definition-wrapper.js.map +1 -1
- package/dist/index.d.ts +4 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +259 -422
- package/dist/main.js.map +1 -1
- package/dist/migrations.d.ts +3 -3
- package/dist/migrations.d.ts.map +1 -1
- package/dist/migrations.js +25 -5
- package/dist/migrations.js.map +1 -1
- package/dist/modes/interactive/components/assistant-message.d.ts +3 -1
- package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/assistant-message.js +14 -3
- package/dist/modes/interactive/components/assistant-message.js.map +1 -1
- package/dist/modes/interactive/components/earendil-announcement.d.ts +5 -0
- package/dist/modes/interactive/components/earendil-announcement.d.ts.map +1 -0
- package/dist/modes/interactive/components/earendil-announcement.js +40 -0
- package/dist/modes/interactive/components/earendil-announcement.js.map +1 -0
- package/dist/modes/interactive/components/footer.d.ts +1 -0
- package/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/dist/modes/interactive/components/footer.js +4 -1
- package/dist/modes/interactive/components/footer.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution.d.ts +0 -1
- package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution.js +2 -7
- package/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector.d.ts +4 -2
- package/dist/modes/interactive/components/tree-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector.js +48 -15
- package/dist/modes/interactive/components/tree-selector.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +18 -5
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +287 -188
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme.js +15 -11
- package/dist/modes/interactive/theme/theme.js.map +1 -1
- package/dist/modes/print-mode.d.ts +2 -2
- package/dist/modes/print-mode.d.ts.map +1 -1
- package/dist/modes/print-mode.js +89 -72
- package/dist/modes/print-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client.js +1 -0
- package/dist/modes/rpc/rpc-client.js.map +1 -1
- package/dist/modes/rpc/rpc-mode.d.ts +2 -2
- package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-mode.js +95 -64
- package/dist/modes/rpc/rpc-mode.js.map +1 -1
- package/dist/package-manager-cli.d.ts +4 -0
- package/dist/package-manager-cli.d.ts.map +1 -0
- package/dist/package-manager-cli.js +234 -0
- package/dist/package-manager-cli.js.map +1 -0
- package/dist/prompts/commands/atomic-commit.md +17 -0
- package/dist/prompts/commands/discuss-phase.md +15 -0
- package/dist/prompts/commands/execute-phase.md +14 -0
- package/dist/prompts/commands/fix.md +14 -0
- package/dist/prompts/commands/init-project.md +16 -0
- package/dist/prompts/commands/map-codebase.md +16 -0
- package/dist/prompts/commands/new-project.md +16 -0
- package/dist/prompts/commands/next-milestone.md +16 -0
- package/dist/prompts/commands/pause-work.md +13 -0
- package/dist/prompts/commands/plan-phase.md +15 -0
- package/dist/prompts/commands/progress.md +13 -0
- package/dist/prompts/commands/quick.md +14 -0
- package/dist/prompts/commands/resume-work.md +13 -0
- package/dist/prompts/commands/review.md +15 -0
- package/dist/prompts/commands/verify-work.md +15 -0
- package/dist/utils/paths.d.ts +7 -0
- package/dist/utils/paths.d.ts.map +1 -0
- package/dist/utils/paths.js +19 -0
- package/dist/utils/paths.js.map +1 -0
- package/docs/compaction.md +5 -3
- package/docs/custom-provider.md +1 -1
- package/docs/development.md +5 -3
- package/docs/extensions.md +221 -69
- package/docs/json.md +5 -2
- package/docs/keybindings.md +2 -0
- package/docs/models.md +60 -3
- package/docs/packages.md +3 -3
- package/docs/rpc.md +23 -9
- package/docs/sdk.md +240 -84
- package/docs/session.md +3 -3
- package/docs/settings.md +12 -0
- package/docs/skills.md +3 -2
- package/docs/tree.md +6 -3
- package/examples/README.md +1 -1
- package/examples/extensions/README.md +1 -0
- package/examples/extensions/antigravity-image-gen.ts +1 -1
- package/examples/extensions/custom-compaction.ts +17 -4
- package/examples/extensions/custom-provider-gitlab-duo/index.ts +1 -1
- package/examples/extensions/doom-overlay/doom/build.sh +2 -2
- package/examples/extensions/handoff.ts +5 -2
- package/examples/extensions/hello.ts +18 -17
- package/examples/extensions/hidden-thinking-label.ts +53 -0
- package/examples/extensions/overlay-qa-tests.ts +2 -2
- package/examples/extensions/qna.ts +5 -2
- package/examples/extensions/rpc-demo.ts +3 -9
- package/examples/extensions/sandbox/index.ts +8 -4
- package/examples/extensions/status-line.ts +0 -8
- package/examples/extensions/subagent/index.ts +6 -6
- package/examples/extensions/summarize.ts +15 -4
- package/examples/extensions/todo.ts +0 -2
- package/examples/extensions/tools.ts +0 -5
- package/examples/extensions/trigger-compact.ts +11 -1
- package/examples/extensions/widget-placement.ts +4 -12
- package/examples/sdk/02-custom-model.ts +1 -1
- package/examples/sdk/09-api-keys-and-oauth.ts +3 -3
- package/examples/sdk/12-full-control.ts +1 -1
- package/examples/sdk/13-session-runtime.ts +67 -0
- package/examples/sdk/README.md +8 -5
- package/package.json +7 -8
- package/prompts/commands/atomic-commit.md +17 -0
- package/prompts/commands/discuss-phase.md +15 -0
- package/prompts/commands/execute-phase.md +14 -0
- package/prompts/commands/fix.md +14 -0
- package/prompts/commands/init-project.md +16 -0
- package/prompts/commands/map-codebase.md +16 -0
- package/prompts/commands/new-project.md +16 -0
- package/prompts/commands/next-milestone.md +16 -0
- package/prompts/commands/pause-work.md +13 -0
- package/prompts/commands/plan-phase.md +15 -0
- package/prompts/commands/progress.md +13 -0
- package/prompts/commands/quick.md +14 -0
- package/prompts/commands/resume-work.md +13 -0
- package/prompts/commands/review.md +15 -0
- package/prompts/commands/verify-work.md +15 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,277 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2026.4.23] - 2026-04-23
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- add label timestamps to the session tree (#2691)
|
|
8
|
+
- add hidden thinking label api closes #2673
|
|
9
|
+
- add faux provider and ModelRegistry factories
|
|
10
|
+
- add prepareArguments hook for pre-validation argument preparation
|
|
11
|
+
- support multi-edit in edit tool
|
|
12
|
+
- Add sessionDir support in settings.json (#2598)
|
|
13
|
+
- add startup profiling scripts for tui/rpc (#2497)
|
|
14
|
+
- add JSONL export/import for sessions (#2356)
|
|
15
|
+
- add --fork session flag closes #2290
|
|
16
|
+
- expose local bash operations closes #2299
|
|
17
|
+
- refine session_directory hook closes #1729
|
|
18
|
+
- add session_directory extension event
|
|
19
|
+
- add provider payload hook
|
|
20
|
+
- preserve custom editor onEscape/onCtrlD handlers
|
|
21
|
+
- add subagent-based rebase-upstream workflow
|
|
22
|
+
- add atomic reasoning sections to all command prompts
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- rebrand and fix after upstream sync
|
|
27
|
+
- feat(coding-agent): set DRAHT_CODING_AGENT=true env var at startup
|
|
28
|
+
- Update sandbox extension configuration instructions (#2915)
|
|
29
|
+
- fix(coding-agent): hide Earendil startup notice
|
|
30
|
+
- fix(coding-agent): warn on Anthropic subscription auth
|
|
31
|
+
- fix(coding-agent): add earendil startup announcement
|
|
32
|
+
- remove dead main-package-command.ts (replaced by package-manager-cli.ts)
|
|
33
|
+
- replace AgentSessionRuntimeHost with closure-based AgentSessionRuntime
|
|
34
|
+
- add switchSession to ExtensionCommandContext in extensions.md
|
|
35
|
+
- add defineTool helper closes #2746
|
|
36
|
+
- add session lifecycle characterization suite
|
|
37
|
+
- add queue characterization coverage
|
|
38
|
+
- add runtime host for session switching closes #2024
|
|
39
|
+
- clarify /tree active branch ordering (#2695)
|
|
40
|
+
- clarify repeated compaction boundary behavior (#2662)
|
|
41
|
+
- clarify sandbox example alternative to bash override (#2663)
|
|
42
|
+
- remove unused compaction import
|
|
43
|
+
- chore(coding-agent): add startup onboarding hint (#2620)
|
|
44
|
+
- make pi-test.sh runnable from any directory
|
|
45
|
+
- emit startup benchmark metrics
|
|
46
|
+
- refine startup profiling tooling
|
|
47
|
+
- add startup phase timings
|
|
48
|
+
- use valid PNG fixture for read tool
|
|
49
|
+
- fix showLoadedResources mocks
|
|
50
|
+
- stabilize git update branch setup
|
|
51
|
+
- add AgentSession test harness with faux provider
|
|
52
|
+
- fix(subagent): reuse current draht invocation for child agents closes #2464 (#2465)
|
|
53
|
+
- document xfce4-terminal and terminator keyboard protocol limitations (#2166)
|
|
54
|
+
- clarify compat flags for openai-compatible local servers closes #2177
|
|
55
|
+
- fix(coding-agent): support DRAHT_CODING_AGENT_DIR env var in example extensions (#2009)
|
|
56
|
+
- explain Windows Terminal Alt+Enter remap (#1967)
|
|
57
|
+
- Pr 1724 - feat(coding-agent): add fold/unfold to tree branch navigation (#1939)
|
|
58
|
+
- add codex tool-loop cache probe
|
|
59
|
+
- clarify that tool errors must be thrown, not returned
|
|
60
|
+
- clarify models.json name behavior (fixes #1840)
|
|
61
|
+
- document built-in sub-agent system
|
|
62
|
+
- add Phase 23 multi-agent layer to roadmap and plan
|
|
63
|
+
|
|
64
|
+
### Fixed
|
|
65
|
+
|
|
66
|
+
- restore draht-specific package.json fields and scripts lost in upstream sync
|
|
67
|
+
- bump antigravity User-Agent header version (#2901)
|
|
68
|
+
- update google provider to handle gemma 4 thinking levels and route between MINIMAL and HIGH (#2903)
|
|
69
|
+
- retry ended-without stream errors closes #2892
|
|
70
|
+
- use node:readline import prefix for Deno compatibility
|
|
71
|
+
- persist bash output on line truncation closes #2852
|
|
72
|
+
- remove stale /exit docs closes #2850
|
|
73
|
+
- handle missing session cwd
|
|
74
|
+
- preserve json mode for piped stdin (#2848)
|
|
75
|
+
- handle git/npm extension paths in CLI resolution (#2845)
|
|
76
|
+
- quote $RESX and $RESY in doom build script (SC2086) (#2817)
|
|
77
|
+
- resource collision precedence, user/project skills override package skills
|
|
78
|
+
- handle async fs.watch error events in theme watcher
|
|
79
|
+
- forward RpcClient subprocess stderr to parent in real-time
|
|
80
|
+
- reuse initial resource loader on startup closes #2766
|
|
81
|
+
- wait for retried runs to settle
|
|
82
|
+
- restore extension input source semantics
|
|
83
|
+
- properly queue extension messages (#2674)
|
|
84
|
+
- avoid full redraw on large edit results closes #2664
|
|
85
|
+
- expose abort signal to extensions closes #2660
|
|
86
|
+
- simplify edit tool input closes #2639
|
|
87
|
+
- document mutable tool_call input closes #2611
|
|
88
|
+
- restore compaction summary and dedupe edit errors
|
|
89
|
+
- tighten skill discovery and edit diffs closes #2603
|
|
90
|
+
- preserve kept messages across repeated compaction closes #2608
|
|
91
|
+
- unify compaction UI events closes #2617
|
|
92
|
+
- honor custom renderers for built-in tool overrides closes #2595
|
|
93
|
+
- resolve models.json auth per request closes #1835
|
|
94
|
+
- add follow-up docs, changelog, and precedence tests closes #2429
|
|
95
|
+
- restore main syntax and apply biome formatting
|
|
96
|
+
- preserve file mutation queue ordering
|
|
97
|
+
- add missing ajv direct dependency, fixes #2252
|
|
98
|
+
- emit session_shutdown in print mode closes #2576
|
|
99
|
+
- respect export theme backgrounds closes #2565
|
|
100
|
+
- recompute interactive bash preview width closes #2569
|
|
101
|
+
- reduce git update fetch noise closes #2548
|
|
102
|
+
- expose rpc context usage closes #2550
|
|
103
|
+
- disambiguate duplicate slash commands, fixes #1061
|
|
104
|
+
- unify source provenance, closes #1734
|
|
105
|
+
- attach source info to resources and commands, fixes #1734
|
|
106
|
+
- enforce safe auto-resized image limits closes #2055
|
|
107
|
+
- reserve stdout in print and json mode closes #2482
|
|
108
|
+
- skip no-op git package reinstalls
|
|
109
|
+
- built-in tools work like extension tools
|
|
110
|
+
- update project npm packages
|
|
111
|
+
- export ToolCallEventResult closes #2458
|
|
112
|
+
- respect agentDir for sdk session paths closes #2457
|
|
113
|
+
- keep suspend resume alive on fg closes #2454
|
|
114
|
+
- align minimax and zai defaults (#2445)
|
|
115
|
+
- migrate to namespaced ids closes #2391
|
|
116
|
+
- queue file mutations across edit and write
|
|
117
|
+
- protect rpc stdout fixes #2388
|
|
118
|
+
- resolve waitForRetry() race when auto-retry produces tool calls (#2440)
|
|
119
|
+
- suppress process warnings in CLI closes #2404
|
|
120
|
+
- show bash tool elapsed time at bottom closes #2406
|
|
121
|
+
- avoid blocking footer branch refresh and isolate invalid extension provider registrations closes #2418 closes #2431
|
|
122
|
+
- fix windows hanging when descendants inherit stdout/stderr handles (#2389)
|
|
123
|
+
- use native clipboard text copy on desktop closes #2347
|
|
124
|
+
- make tests keybinding-agnostic
|
|
125
|
+
- use `setBedrockProviderModule` in Bun entrypoint closes #2349 (#2350)
|
|
126
|
+
- stop updating packages on startup closes #1963
|
|
127
|
+
- refresh active model after provider updates closes #2291
|
|
128
|
+
- reload keybindings on /reload closes #2309
|
|
129
|
+
- restore Bun binary lazy provider loading closes #2314
|
|
130
|
+
- handle z.ai network_error closes #2313
|
|
131
|
+
- merge piped stdin into initial prompt closes #2315
|
|
132
|
+
- skip tmux extended-keys warning when tmux is unreachable (#2311)
|
|
133
|
+
- handle empty session titles and session info metadata (#2304)
|
|
134
|
+
- handle reftable footer branch detection (#2300)
|
|
135
|
+
- make prompt snippets opt in closes #2285
|
|
136
|
+
- retry provider returned error closes #2264
|
|
137
|
+
- handle slash-delimited /model refs closes #2174
|
|
138
|
+
- start UI before session_start closes #2035
|
|
139
|
+
- add uninstall alias
|
|
140
|
+
- stabilize windows shell/path handling
|
|
141
|
+
- silence headless clipboard fallback errors closes #2056
|
|
142
|
+
- honor provider compat in models.json closes #2062
|
|
143
|
+
- normalize prompt cwd for bash-safe windows paths closes #2080
|
|
144
|
+
- support configurable npm wrapper command closes #2072
|
|
145
|
+
- expand paste markers in ctx.ui.getEditorText(), closes #2084
|
|
146
|
+
- sync tool hooks with agent event processing closes #2113
|
|
147
|
+
- keep only ISO date in system prompt closes #2131
|
|
148
|
+
- match server_error and internal_error in retry regex (#2117)
|
|
149
|
+
- Fix EXIF orientation for JPEG and WebP images (#2105)
|
|
150
|
+
- use shell for external editor on windows closes #1925
|
|
151
|
+
- prefer explicit -e extensions closes #1896
|
|
152
|
+
- ignore stale pre-compaction assistant usage in threshold compaction checks, fixes #1860
|
|
153
|
+
- handle tmux xterm extended keys and warn on tmux setup fixes #1872
|
|
154
|
+
- custom tool collapsed/expanded rendering in HTML export (#1934)
|
|
155
|
+
- use strict JSONL framing fixes #1911
|
|
156
|
+
- keep ~/.agents skills user-scoped\n\ncloses #1915
|
|
157
|
+
- guard against stale kept pre-compaction usage in error-path threshold check
|
|
158
|
+
- truncate tool results in compaction summarization to prevent overflow, fixes #1796
|
|
159
|
+
- allow threshold compaction for error messages using last successful usage, fixes #1834
|
|
160
|
+
- retry sync lockfile acquisition to prevent false auth errors during parallel startup
|
|
161
|
+
- preserve thinking defaults across model switches closes #1864
|
|
162
|
+
- clear header on /new closes #1880
|
|
163
|
+
- prefer workspace dist files for extension aliases
|
|
164
|
+
- normalize CRLF in write preview rendering (fixes #1854)
|
|
165
|
+
- make footer truncation width-aware
|
|
166
|
+
- use ESM resolution for extension alias fallback (#1821)
|
|
167
|
+
|
|
168
|
+
## [2026.4.5] - 2026-04-05
|
|
169
|
+
|
|
170
|
+
### Added
|
|
171
|
+
|
|
172
|
+
- add startup profiling scripts for tui/rpc (#2497)
|
|
173
|
+
- add resizable share sidebar (#2435)
|
|
174
|
+
- add JSONL export/import for sessions (#2356)
|
|
175
|
+
- add --fork session flag closes #2290
|
|
176
|
+
- expose local bash operations closes #2299
|
|
177
|
+
- allow supplying custom session ID in newSession() (#2130)
|
|
178
|
+
- refine session_directory hook closes #1729
|
|
179
|
+
- add session_directory extension event
|
|
180
|
+
|
|
181
|
+
### Changed
|
|
182
|
+
|
|
183
|
+
- reproduce missing subagent builtin extension registration
|
|
184
|
+
- fix(coding-agent): reuse initial resource loader on startup closes #2766
|
|
185
|
+
- feat(coding-agent): add defineTool helper closes #2746
|
|
186
|
+
- test(coding-agent): add session lifecycle characterization suite
|
|
187
|
+
- test(coding-agent): add queue characterization coverage
|
|
188
|
+
- fix(coding-agent): resolve theme export variables closes #2707
|
|
189
|
+
- refactor(coding-agent): add runtime host for session switching closes #2024
|
|
190
|
+
- fix(coding-agent): resolve models.json auth per request closes #1835
|
|
191
|
+
- feat(ai,coding-agent): add faux provider and ModelRegistry factories
|
|
192
|
+
- docs: add switchSession to ExtensionCommandContext in extensions.md
|
|
193
|
+
- fix(tui): await async slash command completions closes #2719
|
|
194
|
+
- expand branding sweep rules in rebase-upstream prompt
|
|
195
|
+
- rename pi to draht in process title and system prompt
|
|
196
|
+
- add AgentSession test harness with faux provider
|
|
197
|
+
- extend OSS weekend to 2026-03-30
|
|
198
|
+
- document xfce4-terminal and terminator keyboard protocol limitations (#2166)
|
|
199
|
+
- clarify compat flags for openai-compatible local servers closes #2177
|
|
200
|
+
|
|
201
|
+
### Fixed
|
|
202
|
+
|
|
203
|
+
- register subagent builtin extension in DefaultResourceLoader
|
|
204
|
+
- resolve type errors and branding from upstream sync
|
|
205
|
+
- branding sweep for upstream cherry-picks
|
|
206
|
+
- emit session_shutdown in print mode closes #2576
|
|
207
|
+
- replace π with D in terminal title
|
|
208
|
+
- update changelog URL from draht-mono to draht
|
|
209
|
+
- resolve upstream sync conflicts and fix branding
|
|
210
|
+
- respect export theme backgrounds closes #2565
|
|
211
|
+
- recompute interactive bash preview width closes #2569
|
|
212
|
+
- reduce git update fetch noise closes #2548
|
|
213
|
+
- expose rpc context usage closes #2550
|
|
214
|
+
- disambiguate duplicate slash commands, fixes #1061
|
|
215
|
+
- unify source provenance, closes #1734
|
|
216
|
+
- attach source info to resources and commands, fixes #1734
|
|
217
|
+
- enforce safe auto-resized image limits closes #2055
|
|
218
|
+
- reserve stdout in print and json mode closes #2482
|
|
219
|
+
- skip no-op git package reinstalls
|
|
220
|
+
- built-in tools work like extension tools
|
|
221
|
+
- disable cli-highlight auto-detection for languageless code blocks
|
|
222
|
+
- update project npm packages
|
|
223
|
+
- reuse current pi invocation for child agents closes #2464 (#2465)
|
|
224
|
+
- export ToolCallEventResult closes #2458
|
|
225
|
+
- respect agentDir for sdk session paths closes #2457
|
|
226
|
+
- keep suspend resume alive on fg closes #2454
|
|
227
|
+
- align minimax and zai defaults (#2445)
|
|
228
|
+
- migrate to namespaced ids closes #2391
|
|
229
|
+
- queue file mutations across edit and write
|
|
230
|
+
- protect rpc stdout fixes #2388
|
|
231
|
+
- resolve waitForRetry() race when auto-retry produces tool calls (#2440)
|
|
232
|
+
- /model shows stale scoped models (#2408)
|
|
233
|
+
- suppress process warnings in CLI closes #2404
|
|
234
|
+
- show bash tool elapsed time at bottom closes #2406
|
|
235
|
+
- reload custom themes from disk watcher\n\ncloses #2417\ncloses #2003
|
|
236
|
+
- avoid blocking footer branch refresh and isolate invalid extension provider registrations closes #2418 closes #2431
|
|
237
|
+
- fix windows hanging when descendants inherit stdout/stderr handles (#2389)
|
|
238
|
+
- use native clipboard text copy on desktop closes #2347
|
|
239
|
+
- make tests keybinding-agnostic
|
|
240
|
+
- use `setBedrockProviderModule` in Bun entrypoint closes #2349 (#2350)
|
|
241
|
+
- stop updating packages on startup closes #1963
|
|
242
|
+
- refresh active model after provider updates closes #2291
|
|
243
|
+
- reload keybindings on /reload closes #2309
|
|
244
|
+
- restore Bun binary lazy provider loading closes #2314
|
|
245
|
+
- handle z.ai network_error closes #2313
|
|
246
|
+
- merge piped stdin into initial prompt closes #2315
|
|
247
|
+
- skip tmux extended-keys warning when tmux is unreachable (#2311)
|
|
248
|
+
- handle empty session titles and session info metadata (#2304)
|
|
249
|
+
- handle reftable footer branch detection (#2300)
|
|
250
|
+
- emit OSC 133 command-executed marker closes #2242
|
|
251
|
+
- make prompt snippets opt in closes #2285
|
|
252
|
+
- retry provider returned error closes #2264
|
|
253
|
+
- normalize fuzzy edit matching and run touched tests closes #2044
|
|
254
|
+
- handle slash-delimited /model refs closes #2174
|
|
255
|
+
- handle WSL clipboard image fallback\n\nCloses #1722
|
|
256
|
+
- start UI before session_start closes #2035
|
|
257
|
+
- add uninstall alias
|
|
258
|
+
- stabilize windows shell/path handling
|
|
259
|
+
- silence headless clipboard fallback errors closes #2056
|
|
260
|
+
- honor provider compat in models.json closes #2062
|
|
261
|
+
- normalize prompt cwd for bash-safe windows paths closes #2080
|
|
262
|
+
- support configurable npm wrapper command closes #2072
|
|
263
|
+
- stop skill recursion at root closes #2075
|
|
264
|
+
- expand paste markers in ctx.ui.getEditorText(), closes #2084
|
|
265
|
+
- fix startup crash when downloading fd/ripgrep on first run
|
|
266
|
+
- sync tool hooks with agent event processing closes #2113
|
|
267
|
+
- keep only ISO date in system prompt closes #2131
|
|
268
|
+
- match server_error and internal_error in retry regex (#2117)
|
|
269
|
+
- Fix EXIF orientation for JPEG and WebP images (#2105)
|
|
270
|
+
- support PI_CODING_AGENT_DIR env var in example extensions (#2009)
|
|
271
|
+
- use strict JSONL framing fixes #1911
|
|
272
|
+
- allow threshold compaction for error messages using last successful usage, fixes #1834
|
|
273
|
+
- retry sync lockfile acquisition to prevent false auth errors during parallel startup
|
|
274
|
+
|
|
3
275
|
## [2026.3.14] - 2026-03-14
|
|
4
276
|
|
|
5
277
|
### Added
|
|
@@ -156,9 +428,9 @@
|
|
|
156
428
|
|
|
157
429
|
- bake subagent into core, remove shipped extensions
|
|
158
430
|
- remove duplicate GSD extension, consolidate into built-in prompts
|
|
159
|
-
- update repo URLs from
|
|
431
|
+
- update repo URLs from draht-dev/draht to draht-dev/draht
|
|
160
432
|
- rebrand all READMEs to draht naming and conventions
|
|
161
|
-
- rebrand package references from @
|
|
433
|
+
- rebrand package references from @draht/coding-agent-* to @draht/*
|
|
162
434
|
- add publishConfig for public npm access
|
|
163
435
|
- comprehensive READMEs, CONTRIBUTING.md, and phase summaries
|
|
164
436
|
- add vitest config, integration tests, and draht manifest test
|
|
@@ -168,7 +440,7 @@
|
|
|
168
440
|
|
|
169
441
|
- resolve post-rebase import and dependency issues
|
|
170
442
|
- rebrand .pi to .draht and pi: to draht: in tests, add verify script
|
|
171
|
-
- rebrand remaining @
|
|
443
|
+
- rebrand remaining @draht/coding-agent-* imports from upstream to @draht/*
|
|
172
444
|
- use draht-tools binary name in GSD prompts and CLI
|
|
173
445
|
- fix subagent spawn in source/dev mode
|
|
174
446
|
- load shipped extensions and rename /resume to /continue
|
|
@@ -202,7 +474,7 @@
|
|
|
202
474
|
|
|
203
475
|
### Changed
|
|
204
476
|
|
|
205
|
-
- update repo URLs from
|
|
477
|
+
- update repo URLs from draht-dev/draht to draht-dev/draht
|
|
206
478
|
|
|
207
479
|
## [2026.3.2-8] - 2026-03-02
|
|
208
480
|
|
|
@@ -239,7 +511,7 @@
|
|
|
239
511
|
|
|
240
512
|
### Changed
|
|
241
513
|
|
|
242
|
-
- rebrand package references from @
|
|
514
|
+
- rebrand package references from @draht/coding-agent-* to @draht/*
|
|
243
515
|
- add publishConfig for public npm access
|
|
244
516
|
- comprehensive READMEs, CONTRIBUTING.md, and phase summaries
|
|
245
517
|
- add vitest config, integration tests, and draht manifest test
|
|
@@ -259,20 +531,20 @@
|
|
|
259
531
|
|
|
260
532
|
### New Features
|
|
261
533
|
|
|
262
|
-
- Added OpenCode Go provider support with `opencode-go` model defaults and `OPENCODE_API_KEY` environment variable support ([docs/providers.md](docs/providers.md), [#1757](https://github.com/
|
|
263
|
-
- Added `branchSummary.skipPrompt` setting to skip branch summarization prompts during tree navigation ([docs/settings.md](docs/settings.md), [#1792](https://github.com/
|
|
264
|
-
- Added `gemini-3.1-flash-lite-preview` fallback model availability for Google provider catalogs when upstream model metadata lags ([README.md](README.md), [#1785](https://github.com/
|
|
534
|
+
- Added OpenCode Go provider support with `opencode-go` model defaults and `OPENCODE_API_KEY` environment variable support ([docs/providers.md](docs/providers.md), [#1757](https://github.com/draht-dev/draht/issues/1757)).
|
|
535
|
+
- Added `branchSummary.skipPrompt` setting to skip branch summarization prompts during tree navigation ([docs/settings.md](docs/settings.md), [#1792](https://github.com/draht-dev/draht/issues/1792)).
|
|
536
|
+
- Added `gemini-3.1-flash-lite-preview` fallback model availability for Google provider catalogs when upstream model metadata lags ([README.md](README.md), [#1785](https://github.com/draht-dev/draht/issues/1785)).
|
|
265
537
|
|
|
266
538
|
### Breaking Changes
|
|
267
539
|
|
|
268
540
|
- Changed scoped model thinking semantics. Scoped entries without an explicit `:<thinking>` suffix now inherit the current session thinking level when selected, instead of applying a startup-captured default.
|
|
269
|
-
- Moved Node OAuth runtime exports off the top-level `@
|
|
541
|
+
- Moved Node OAuth runtime exports off the top-level `@draht/ai` entry. OAuth login and refresh must be imported from `@draht/ai/oauth` ([#1814](https://github.com/draht-dev/draht/issues/1814)).
|
|
270
542
|
|
|
271
543
|
### Added
|
|
272
544
|
|
|
273
|
-
- Added `branchSummary.skipPrompt` setting to skip the summary prompt when navigating branches ([#1792](https://github.com/
|
|
274
|
-
- Added OpenCode Go provider support with `opencode-go` model defaults and `OPENCODE_API_KEY` environment variable support ([#1757](https://github.com/
|
|
275
|
-
- Added `gemini-3.1-flash-lite-preview` fallback model availability in provider catalogs when upstream catalogs lag ([#1785](https://github.com/
|
|
545
|
+
- Added `branchSummary.skipPrompt` setting to skip the summary prompt when navigating branches ([#1792](https://github.com/draht-dev/draht/issues/1792)).
|
|
546
|
+
- Added OpenCode Go provider support with `opencode-go` model defaults and `OPENCODE_API_KEY` environment variable support ([#1757](https://github.com/draht-dev/draht/issues/1757)).
|
|
547
|
+
- Added `gemini-3.1-flash-lite-preview` fallback model availability in provider catalogs when upstream catalogs lag ([#1785](https://github.com/draht-dev/draht/issues/1785)).
|
|
276
548
|
|
|
277
549
|
### Changed
|
|
278
550
|
|
|
@@ -281,87 +553,87 @@
|
|
|
281
553
|
### Fixed
|
|
282
554
|
|
|
283
555
|
- Fixed IME hardware cursor positioning in the custom extension editor (`ctx.ui.editor()` / extension editor dialog) by propagating focus to the internal `Editor`, preventing the terminal cursor from getting stuck at the bottom-right during composition.
|
|
284
|
-
- Added OSC 133 semantic zone markers around rendered user messages to support terminal navigation between prompts in iTerm2, WezTerm, Kitty, Ghostty, and other compatible terminals ([#1805](https://github.com/
|
|
285
|
-
- Fixed markdown blockquotes dropping nested list content in the TUI renderer ([#1787](https://github.com/
|
|
286
|
-
- Fixed TUI width handling for regional indicator symbols to prevent wrap drift and stale characters during streaming ([#1783](https://github.com/
|
|
287
|
-
- Fixed Kitty CSI-u handling to ignore unsupported modifiers so modifier-only events do not insert printable characters ([#1807](https://github.com/
|
|
288
|
-
- Fixed single-line paste handling to insert text atomically and avoid repeated `@` autocomplete scans on large pastes ([#1812](https://github.com/
|
|
289
|
-
- Fixed extension loading with the new `@
|
|
290
|
-
- Fixed browser-safe provider loading regressions by preloading the Bedrock provider module in compiled Bun binaries and rebuilding binaries against fresh workspace dependencies ([#1814](https://github.com/
|
|
291
|
-
- Fixed GNU screen terminal detection by downgrading theme output to 256-color mode for `screen*` TERM values ([#1809](https://github.com/
|
|
292
|
-
- Fixed branch summarization queue handling so messages typed while summaries are generated are processed correctly ([#1803](https://github.com/
|
|
293
|
-
- Fixed compaction summary requests to avoid reasoning output for non-reasoning models ([#1793](https://github.com/
|
|
556
|
+
- Added OSC 133 semantic zone markers around rendered user messages to support terminal navigation between prompts in iTerm2, WezTerm, Kitty, Ghostty, and other compatible terminals ([#1805](https://github.com/draht-dev/draht/issues/1805)).
|
|
557
|
+
- Fixed markdown blockquotes dropping nested list content in the TUI renderer ([#1787](https://github.com/draht-dev/draht/issues/1787)).
|
|
558
|
+
- Fixed TUI width handling for regional indicator symbols to prevent wrap drift and stale characters during streaming ([#1783](https://github.com/draht-dev/draht/issues/1783)).
|
|
559
|
+
- Fixed Kitty CSI-u handling to ignore unsupported modifiers so modifier-only events do not insert printable characters ([#1807](https://github.com/draht-dev/draht/issues/1807)).
|
|
560
|
+
- Fixed single-line paste handling to insert text atomically and avoid repeated `@` autocomplete scans on large pastes ([#1812](https://github.com/draht-dev/draht/issues/1812)).
|
|
561
|
+
- Fixed extension loading with the new `@draht/ai/oauth` export path by aliasing the oauth subpath in the extension loader and development path mapping ([#1814](https://github.com/draht-dev/draht/issues/1814)).
|
|
562
|
+
- Fixed browser-safe provider loading regressions by preloading the Bedrock provider module in compiled Bun binaries and rebuilding binaries against fresh workspace dependencies ([#1814](https://github.com/draht-dev/draht/issues/1814)).
|
|
563
|
+
- Fixed GNU screen terminal detection by downgrading theme output to 256-color mode for `screen*` TERM values ([#1809](https://github.com/draht-dev/draht/issues/1809)).
|
|
564
|
+
- Fixed branch summarization queue handling so messages typed while summaries are generated are processed correctly ([#1803](https://github.com/draht-dev/draht/issues/1803)).
|
|
565
|
+
- Fixed compaction summary requests to avoid reasoning output for non-reasoning models ([#1793](https://github.com/draht-dev/draht/issues/1793)).
|
|
294
566
|
- Fixed overflow auto-compaction cascades so a single overflow does not trigger repeated compaction loops.
|
|
295
|
-
- Fixed `models.json` to allow provider-scoped custom model ids and model-level `baseUrl` overrides ([#1759](https://github.com/
|
|
296
|
-
- Fixed session selector display sanitization by stripping control characters from session display text ([#1747](https://github.com/
|
|
297
|
-
- Fixed Groq Qwen3 reasoning effort mapping for OpenAI-compatible models ([#1745](https://github.com/
|
|
298
|
-
- Fixed Bedrock `AWS_PROFILE` region resolution by honoring profile `region` values ([#1800](https://github.com/
|
|
299
|
-
- Fixed Gemini 3.1 thinking-level detection for `google` and `google-vertex` providers ([#1785](https://github.com/
|
|
300
|
-
- Fixed browser bundling compatibility for `@
|
|
567
|
+
- Fixed `models.json` to allow provider-scoped custom model ids and model-level `baseUrl` overrides ([#1759](https://github.com/draht-dev/draht/issues/1759), [#1777](https://github.com/draht-dev/draht/issues/1777)).
|
|
568
|
+
- Fixed session selector display sanitization by stripping control characters from session display text ([#1747](https://github.com/draht-dev/draht/issues/1747)).
|
|
569
|
+
- Fixed Groq Qwen3 reasoning effort mapping for OpenAI-compatible models ([#1745](https://github.com/draht-dev/draht/issues/1745)).
|
|
570
|
+
- Fixed Bedrock `AWS_PROFILE` region resolution by honoring profile `region` values ([#1800](https://github.com/draht-dev/draht/issues/1800)).
|
|
571
|
+
- Fixed Gemini 3.1 thinking-level detection for `google` and `google-vertex` providers ([#1785](https://github.com/draht-dev/draht/issues/1785)).
|
|
572
|
+
- Fixed browser bundling compatibility for `@draht/ai` by removing Node-only side effects from default browser import paths ([#1814](https://github.com/draht-dev/draht/issues/1814)).
|
|
301
573
|
|
|
302
574
|
## [0.55.4] - 2026-03-02
|
|
303
575
|
|
|
304
576
|
### New Features
|
|
305
577
|
|
|
306
|
-
- Runtime tool registration now applies immediately in active sessions. Tools registered via `pi.registerTool()` after startup are available to `pi.getAllTools()` and the LLM without `/reload` ([docs/extensions.md](docs/extensions.md), [examples/extensions/dynamic-tools.ts](examples/extensions/dynamic-tools.ts), [#1720](https://github.com/
|
|
307
|
-
- Tool definitions can customize the default system prompt with `promptSnippet` (`Available tools`) and `promptGuidelines` (`Guidelines`) while the tool is active ([docs/extensions.md](docs/extensions.md), [#1720](https://github.com/
|
|
308
|
-
- Custom tool renderers can suppress transcript output without leaving extra spacing or empty transcript footprint in interactive rendering ([docs/extensions.md](docs/extensions.md), [#1719](https://github.com/
|
|
578
|
+
- Runtime tool registration now applies immediately in active sessions. Tools registered via `pi.registerTool()` after startup are available to `pi.getAllTools()` and the LLM without `/reload` ([docs/extensions.md](docs/extensions.md), [examples/extensions/dynamic-tools.ts](examples/extensions/dynamic-tools.ts), [#1720](https://github.com/draht-dev/draht/issues/1720)).
|
|
579
|
+
- Tool definitions can customize the default system prompt with `promptSnippet` (`Available tools`) and `promptGuidelines` (`Guidelines`) while the tool is active ([docs/extensions.md](docs/extensions.md), [#1720](https://github.com/draht-dev/draht/issues/1720)).
|
|
580
|
+
- Custom tool renderers can suppress transcript output without leaving extra spacing or empty transcript footprint in interactive rendering ([docs/extensions.md](docs/extensions.md), [#1719](https://github.com/draht-dev/draht/pull/1719)).
|
|
309
581
|
|
|
310
582
|
### Added
|
|
311
583
|
|
|
312
|
-
- Added optional `promptSnippet` to `ToolDefinition` for one-line entries in the default system prompt's `Available tools` section. Active extension tools appear there when registered and active ([#1237](https://github.com/
|
|
313
|
-
- Added optional `promptGuidelines` to `ToolDefinition` so active tools can append tool-specific bullets to the default system prompt `Guidelines` section ([#1720](https://github.com/
|
|
584
|
+
- Added optional `promptSnippet` to `ToolDefinition` for one-line entries in the default system prompt's `Available tools` section. Active extension tools appear there when registered and active ([#1237](https://github.com/draht-dev/draht/pull/1237) by [@semtexzv](https://github.com/semtexzv)).
|
|
585
|
+
- Added optional `promptGuidelines` to `ToolDefinition` so active tools can append tool-specific bullets to the default system prompt `Guidelines` section ([#1720](https://github.com/draht-dev/draht/issues/1720)).
|
|
314
586
|
|
|
315
587
|
### Fixed
|
|
316
588
|
|
|
317
|
-
- Fixed `pi.registerTool()` dynamic registration after session initialization. Tools registered in `session_start` and later handlers now refresh immediately, become active, and are visible to the LLM without `/reload` ([#1720](https://github.com/
|
|
318
|
-
- Fixed session message persistence ordering by serializing `AgentSession` event processing, preventing `toolResult` entries from being written before their corresponding assistant tool-call messages when extension handlers are asynchronous ([#1717](https://github.com/
|
|
319
|
-
- Fixed spacing artifacts when custom tool renderers intentionally suppress per-call transcript output, including extra blank rows in interactive streaming and non-zero transcript footprint for empty custom renders ([#1719](https://github.com/
|
|
320
|
-
- Fixed `session.prompt()` returning before retry completion by creating the retry promise synchronously at `agent_end` dispatch, which closes a race when earlier queued event handlers are async ([#1726](https://github.com/
|
|
589
|
+
- Fixed `pi.registerTool()` dynamic registration after session initialization. Tools registered in `session_start` and later handlers now refresh immediately, become active, and are visible to the LLM without `/reload` ([#1720](https://github.com/draht-dev/draht/issues/1720))
|
|
590
|
+
- Fixed session message persistence ordering by serializing `AgentSession` event processing, preventing `toolResult` entries from being written before their corresponding assistant tool-call messages when extension handlers are asynchronous ([#1717](https://github.com/draht-dev/draht/issues/1717))
|
|
591
|
+
- Fixed spacing artifacts when custom tool renderers intentionally suppress per-call transcript output, including extra blank rows in interactive streaming and non-zero transcript footprint for empty custom renders ([#1719](https://github.com/draht-dev/draht/pull/1719) by [@alasano](https://github.com/alasano))
|
|
592
|
+
- Fixed `session.prompt()` returning before retry completion by creating the retry promise synchronously at `agent_end` dispatch, which closes a race when earlier queued event handlers are async ([#1726](https://github.com/draht-dev/draht/pull/1726) by [@pasky](https://github.com/pasky))
|
|
321
593
|
|
|
322
594
|
## [0.55.3] - 2026-02-27
|
|
323
595
|
|
|
324
596
|
### Fixed
|
|
325
597
|
|
|
326
|
-
- Changed the default image paste keybinding on Windows to `alt+v` to avoid `ctrl+v` conflicts with terminal paste behavior ([#1682](https://github.com/
|
|
598
|
+
- Changed the default image paste keybinding on Windows to `alt+v` to avoid `ctrl+v` conflicts with terminal paste behavior ([#1682](https://github.com/draht-dev/draht/pull/1682) by [@mrexodia](https://github.com/mrexodia)).
|
|
327
599
|
|
|
328
600
|
## [0.55.2] - 2026-02-27
|
|
329
601
|
|
|
330
602
|
### New Features
|
|
331
603
|
|
|
332
|
-
- Extensions can dynamically remove custom providers via `pi.unregisterProvider(name)`, restoring any built-in models that were overridden, without requiring `/reload` ([docs](https://github.com/
|
|
604
|
+
- Extensions can dynamically remove custom providers via `pi.unregisterProvider(name)`, restoring any built-in models that were overridden, without requiring `/reload` ([docs](https://github.com/draht-dev/draht/blob/main/packages/coding-agent/docs/custom-provider.md)).
|
|
333
605
|
- `pi.registerProvider()` now takes effect immediately when called outside the initial extension load phase (e.g. from a command handler), removing the need for `/reload` after late registrations.
|
|
334
606
|
|
|
335
607
|
### Added
|
|
336
608
|
|
|
337
|
-
- `pi.unregisterProvider(name)` removes a dynamically registered provider and its models from the registry without requiring `/reload`. Built-in models that were overridden by the provider are restored ([#1669](https://github.com/
|
|
609
|
+
- `pi.unregisterProvider(name)` removes a dynamically registered provider and its models from the registry without requiring `/reload`. Built-in models that were overridden by the provider are restored ([#1669](https://github.com/draht-dev/draht/pull/1669) by [@aliou](https://github.com/aliou)).
|
|
338
610
|
|
|
339
611
|
### Fixed
|
|
340
612
|
|
|
341
|
-
- `pi.registerProvider()` now takes effect immediately when called after the initial extension load phase (e.g. from a command handler). Previously the registration sat in a pending queue that was never flushed until the next `/reload` ([#1669](https://github.com/
|
|
342
|
-
- Fixed duplicate session headers when forking from a point before any assistant message. `createBranchedSession` now defers file creation to `_persist()` when the branched path has no assistant message, matching the `newSession()` contract ([#1672](https://github.com/
|
|
343
|
-
- Fixed SIGINT being delivered to pi while the process is suspended (e.g. via `ctrl+z`), which could corrupt terminal state on resume ([#1668](https://github.com/
|
|
344
|
-
- Fixed Z.ai thinking control using wrong parameter name, causing thinking to always be enabled and wasting tokens/latency ([#1674](https://github.com/
|
|
345
|
-
- Fixed `redacted_thinking` blocks being silently dropped during Anthropic streaming, and related issues with interleaved-thinking beta headers and temperature being sent alongside extended thinking ([#1665](https://github.com/
|
|
346
|
-
- Fixed `(external, cli)` user-agent flag causing 401 errors on Anthropic setup-token endpoint ([#1677](https://github.com/
|
|
347
|
-
- Fixed crash when OpenAI-compatible provider returns a chunk with no `choices` array ([#1671](https://github.com/
|
|
613
|
+
- `pi.registerProvider()` now takes effect immediately when called after the initial extension load phase (e.g. from a command handler). Previously the registration sat in a pending queue that was never flushed until the next `/reload` ([#1669](https://github.com/draht-dev/draht/pull/1669) by [@aliou](https://github.com/aliou)).
|
|
614
|
+
- Fixed duplicate session headers when forking from a point before any assistant message. `createBranchedSession` now defers file creation to `_persist()` when the branched path has no assistant message, matching the `newSession()` contract ([#1672](https://github.com/draht-dev/draht/pull/1672) by [@w-winter](https://github.com/w-winter)).
|
|
615
|
+
- Fixed SIGINT being delivered to pi while the process is suspended (e.g. via `ctrl+z`), which could corrupt terminal state on resume ([#1668](https://github.com/draht-dev/draht/pull/1668) by [@aliou](https://github.com/aliou)).
|
|
616
|
+
- Fixed Z.ai thinking control using wrong parameter name, causing thinking to always be enabled and wasting tokens/latency ([#1674](https://github.com/draht-dev/draht/pull/1674) by [@okuyam2y](https://github.com/okuyam2y))
|
|
617
|
+
- Fixed `redacted_thinking` blocks being silently dropped during Anthropic streaming, and related issues with interleaved-thinking beta headers and temperature being sent alongside extended thinking ([#1665](https://github.com/draht-dev/draht/pull/1665) by [@tctev](https://github.com/tctev))
|
|
618
|
+
- Fixed `(external, cli)` user-agent flag causing 401 errors on Anthropic setup-token endpoint ([#1677](https://github.com/draht-dev/draht/pull/1677) by [@LazerLance777](https://github.com/LazerLance777))
|
|
619
|
+
- Fixed crash when OpenAI-compatible provider returns a chunk with no `choices` array ([#1671](https://github.com/draht-dev/draht/issues/1671))
|
|
348
620
|
|
|
349
621
|
## [0.55.1] - 2026-02-26
|
|
350
622
|
|
|
351
623
|
### New Features
|
|
352
624
|
|
|
353
625
|
- Added offline startup mode via `--offline` (or `PI_OFFLINE`) to disable startup network operations, with startup network timeouts to avoid hangs in restricted or offline environments.
|
|
354
|
-
- Added `gemini-3.1-pro-preview` model support to the `google-gemini-cli` provider ([#1599](https://github.com/
|
|
626
|
+
- Added `gemini-3.1-pro-preview` model support to the `google-gemini-cli` provider ([#1599](https://github.com/draht-dev/draht/pull/1599) by [@audichuang](https://github.com/audichuang)).
|
|
355
627
|
|
|
356
628
|
### Fixed
|
|
357
629
|
|
|
358
|
-
- Fixed offline startup hangs by adding offline startup behavior and network timeouts during managed tool setup ([#1631](https://github.com/
|
|
359
|
-
- Fixed Windows VT input initialization in ESM by loading koffi via createRequire, avoiding runtime and bundling issues in end-user environments ([#1627](https://github.com/
|
|
360
|
-
- Fixed managed `fd`/`rg` bootstrap on Windows in Git Bash by using `extract-zip` for `.zip` archives, searching extracted layouts more robustly, and isolating extraction temp directories to avoid concurrent download races ([#1348](https://github.com/
|
|
630
|
+
- Fixed offline startup hangs by adding offline startup behavior and network timeouts during managed tool setup ([#1631](https://github.com/draht-dev/draht/pull/1631) by [@mcollina](https://github.com/mcollina))
|
|
631
|
+
- Fixed Windows VT input initialization in ESM by loading koffi via createRequire, avoiding runtime and bundling issues in end-user environments ([#1627](https://github.com/draht-dev/draht/pull/1627) by [@kaste](https://github.com/kaste))
|
|
632
|
+
- Fixed managed `fd`/`rg` bootstrap on Windows in Git Bash by using `extract-zip` for `.zip` archives, searching extracted layouts more robustly, and isolating extraction temp directories to avoid concurrent download races ([#1348](https://github.com/draht-dev/draht/issues/1348))
|
|
361
633
|
- Fixed extension loading on Windows when resolving `@sinclair/typebox` aliases so subpath imports like `@sinclair/typebox/compiler` resolve correctly.
|
|
362
|
-
- Fixed adaptive thinking for Claude Sonnet 4.6 in Anthropic and Bedrock providers, and clamped unsupported `xhigh` effort values to supported levels ([#1548](https://github.com/
|
|
363
|
-
- Fixed Vertex ADC credential detection race by avoiding caching a false negative during async import initialization ([#1550](https://github.com/
|
|
364
|
-
- Fixed subagent extension example to resolve user agents from the configured agent directory instead of hardcoded paths ([#1559](https://github.com/
|
|
634
|
+
- Fixed adaptive thinking for Claude Sonnet 4.6 in Anthropic and Bedrock providers, and clamped unsupported `xhigh` effort values to supported levels ([#1548](https://github.com/draht-dev/draht/pull/1548) by [@tctev](https://github.com/tctev))
|
|
635
|
+
- Fixed Vertex ADC credential detection race by avoiding caching a false negative during async import initialization ([#1550](https://github.com/draht-dev/draht/pull/1550) by [@jeremiahgaylord-web](https://github.com/jeremiahgaylord-web))
|
|
636
|
+
- Fixed subagent extension example to resolve user agents from the configured agent directory instead of hardcoded paths ([#1559](https://github.com/draht-dev/draht/pull/1559) by [@tianshuwang](https://github.com/tianshuwang))
|
|
365
637
|
|
|
366
638
|
## [0.55.0] - 2026-02-24
|
|
367
639
|
|
|
@@ -375,7 +647,7 @@
|
|
|
375
647
|
### Fixed
|
|
376
648
|
|
|
377
649
|
- Fixed `.pi` folder being created unnecessarily when only reading settings. The folder is now only created when writing project-specific settings.
|
|
378
|
-
- Fixed extension-driven runtime theme changes to persist in settings so `/settings` reflects the active `currentTheme` after `ctx.ui.setTheme(...)` ([#1483](https://github.com/
|
|
650
|
+
- Fixed extension-driven runtime theme changes to persist in settings so `/settings` reflects the active `currentTheme` after `ctx.ui.setTheme(...)` ([#1483](https://github.com/draht-dev/draht/pull/1483) by [@ferologics](https://github.com/ferologics))
|
|
379
651
|
- Fixed interactive mode freezes during large streaming `write` tool calls by using incremental syntax highlighting while partial arguments stream, with a final full re-highlight after tool-call arguments complete.
|
|
380
652
|
|
|
381
653
|
## [0.54.1] - 2026-02-22
|
|
@@ -450,12 +722,12 @@
|
|
|
450
722
|
|
|
451
723
|
### Breaking Changes
|
|
452
724
|
|
|
453
|
-
- `ContextUsage.tokens` and `ContextUsage.percent` are now `number | null`. After compaction, context token count is unknown until the next LLM response, so these fields return `null`. Extensions that read `ContextUsage` must handle the `null` case. Removed `usageTokens`, `trailingTokens`, and `lastUsageIndex` fields from `ContextUsage` (implementation details that should not have been public) ([#1382](https://github.com/
|
|
454
|
-
- Git source parsing is now strict without `git:` prefix: only protocol URLs are treated as git (`https://`, `http://`, `ssh://`, `git://`). Shorthand sources like `github.com/org/repo` and `git@github.com:org/repo` now require the `git:` prefix. ([#1426](https://github.com/
|
|
725
|
+
- `ContextUsage.tokens` and `ContextUsage.percent` are now `number | null`. After compaction, context token count is unknown until the next LLM response, so these fields return `null`. Extensions that read `ContextUsage` must handle the `null` case. Removed `usageTokens`, `trailingTokens`, and `lastUsageIndex` fields from `ContextUsage` (implementation details that should not have been public) ([#1382](https://github.com/draht-dev/draht/pull/1382) by [@ferologics](https://github.com/ferologics))
|
|
726
|
+
- Git source parsing is now strict without `git:` prefix: only protocol URLs are treated as git (`https://`, `http://`, `ssh://`, `git://`). Shorthand sources like `github.com/org/repo` and `git@github.com:org/repo` now require the `git:` prefix. ([#1426](https://github.com/draht-dev/draht/issues/1426))
|
|
455
727
|
|
|
456
728
|
### Added
|
|
457
729
|
|
|
458
|
-
- Added extension event forwarding for message and tool execution lifecycles (`message_start`, `message_update`, `message_end`, `tool_execution_start`, `tool_execution_update`, `tool_execution_end`) ([#1375](https://github.com/
|
|
730
|
+
- Added extension event forwarding for message and tool execution lifecycles (`message_start`, `message_update`, `message_end`, `tool_execution_start`, `tool_execution_update`, `tool_execution_end`) ([#1375](https://github.com/draht-dev/draht/pull/1375) by [@sumeet](https://github.com/sumeet))
|
|
459
731
|
- Added `terminal_input` extension event to intercept, consume, or transform raw terminal input before normal TUI handling.
|
|
460
732
|
- Added `gpt-5.3-codex-spark` model definition for OpenAI and OpenAI Codex providers (research preview).
|
|
461
733
|
|
|
@@ -465,69 +737,69 @@
|
|
|
465
737
|
|
|
466
738
|
### Fixed
|
|
467
739
|
|
|
468
|
-
- Fixed context usage percentage in footer showing stale pre-compaction values. After compaction the footer now shows `?/200k` until the next LLM response provides accurate usage ([#1382](https://github.com/
|
|
469
|
-
- Fixed `_checkCompaction()` using the first compaction entry instead of the latest, which could cause incorrect overflow detection with multiple compactions ([#1382](https://github.com/
|
|
470
|
-
- `--model` now works without `--provider`, supports `provider/id` syntax, fuzzy matching, and `:<thinking>` suffix (e.g., `--model sonnet:high`, `--model openai/gpt-4o`) ([#1350](https://github.com/
|
|
471
|
-
- Fixed local package path normalization for extension sources while tightening git source parsing rules ([#1426](https://github.com/
|
|
740
|
+
- Fixed context usage percentage in footer showing stale pre-compaction values. After compaction the footer now shows `?/200k` until the next LLM response provides accurate usage ([#1382](https://github.com/draht-dev/draht/pull/1382) by [@ferologics](https://github.com/ferologics))
|
|
741
|
+
- Fixed `_checkCompaction()` using the first compaction entry instead of the latest, which could cause incorrect overflow detection with multiple compactions ([#1382](https://github.com/draht-dev/draht/pull/1382) by [@ferologics](https://github.com/ferologics))
|
|
742
|
+
- `--model` now works without `--provider`, supports `provider/id` syntax, fuzzy matching, and `:<thinking>` suffix (e.g., `--model sonnet:high`, `--model openai/gpt-4o`) ([#1350](https://github.com/draht-dev/draht/pull/1350) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
743
|
+
- Fixed local package path normalization for extension sources while tightening git source parsing rules ([#1426](https://github.com/draht-dev/draht/issues/1426))
|
|
472
744
|
- Fixed extension terminal input listeners not being cleared during session resets, which could leave stale handlers active.
|
|
473
|
-
- Fixed Termux bootstrap package name for `fd` installation ([#1433](https://github.com/
|
|
474
|
-
- Fixed `@` file autocomplete fuzzy matching to prioritize path-prefix and segment matches for nested paths ([#1423](https://github.com/
|
|
475
|
-
- Fixed OpenAI streaming tool-call parsing to tolerate malformed trailing JSON in partial chunks ([#1424](https://github.com/
|
|
745
|
+
- Fixed Termux bootstrap package name for `fd` installation ([#1433](https://github.com/draht-dev/draht/pull/1433))
|
|
746
|
+
- Fixed `@` file autocomplete fuzzy matching to prioritize path-prefix and segment matches for nested paths ([#1423](https://github.com/draht-dev/draht/issues/1423))
|
|
747
|
+
- Fixed OpenAI streaming tool-call parsing to tolerate malformed trailing JSON in partial chunks ([#1424](https://github.com/draht-dev/draht/issues/1424))
|
|
476
748
|
|
|
477
749
|
## [0.52.9] - 2026-02-08
|
|
478
750
|
|
|
479
751
|
### New Features
|
|
480
752
|
|
|
481
|
-
- Extensions can trigger a full runtime reload via `ctx.reload()`, useful for hot-reloading configuration or restarting the agent. See [docs/extensions.md](docs/extensions.md) and the [`reload-runtime` example](examples/extensions/reload-runtime.ts) ([#1371](https://github.com/
|
|
753
|
+
- Extensions can trigger a full runtime reload via `ctx.reload()`, useful for hot-reloading configuration or restarting the agent. See [docs/extensions.md](docs/extensions.md) and the [`reload-runtime` example](examples/extensions/reload-runtime.ts) ([#1371](https://github.com/draht-dev/draht/issues/1371))
|
|
482
754
|
- Short CLI disable aliases: `-ne` (`--no-extensions`), `-ns` (`--no-skills`), and `-np` (`--no-prompt-templates`) for faster interactive usage and scripting.
|
|
483
|
-
- `/export` HTML now includes collapsible tool input schemas (parameter names, types, and descriptions), improving session review and sharing workflows ([#1416](https://github.com/
|
|
484
|
-
- `pi.getAllTools()` now exposes tool parameters in addition to name and description, enabling richer extension integrations ([#1416](https://github.com/
|
|
755
|
+
- `/export` HTML now includes collapsible tool input schemas (parameter names, types, and descriptions), improving session review and sharing workflows ([#1416](https://github.com/draht-dev/draht/pull/1416) by [@marchellodev](https://github.com/marchellodev)).
|
|
756
|
+
- `pi.getAllTools()` now exposes tool parameters in addition to name and description, enabling richer extension integrations ([#1416](https://github.com/draht-dev/draht/pull/1416) by [@marchellodev](https://github.com/marchellodev)).
|
|
485
757
|
|
|
486
758
|
### Added
|
|
487
759
|
|
|
488
|
-
- Added `ctx.reload()` to the extension API for programmatic runtime reload ([#1371](https://github.com/
|
|
760
|
+
- Added `ctx.reload()` to the extension API for programmatic runtime reload ([#1371](https://github.com/draht-dev/draht/issues/1371))
|
|
489
761
|
- Added short aliases for disable flags: `-ne` for `--no-extensions`, `-ns` for `--no-skills`, `-np` for `--no-prompt-templates`
|
|
490
|
-
- `/export` HTML now includes tool input schema (parameter names, types, descriptions) in a collapsible section under each tool ([#1416](https://github.com/
|
|
491
|
-
- `pi.getAllTools()` now returns tool parameters in addition to name and description ([#1416](https://github.com/
|
|
762
|
+
- `/export` HTML now includes tool input schema (parameter names, types, descriptions) in a collapsible section under each tool ([#1416](https://github.com/draht-dev/draht/pull/1416) by [@marchellodev](https://github.com/marchellodev))
|
|
763
|
+
- `pi.getAllTools()` now returns tool parameters in addition to name and description ([#1416](https://github.com/draht-dev/draht/pull/1416) by [@marchellodev](https://github.com/marchellodev))
|
|
492
764
|
|
|
493
765
|
### Fixed
|
|
494
766
|
|
|
495
767
|
- Fixed extension source parsing so dot-prefixed local paths (for example `.pi/extensions/foo.ts`) are treated as local paths instead of git URLs
|
|
496
|
-
- Fixed fd/rg download failing on Windows due to `unzip` not being available; now uses `tar` for both `.tar.gz` and `.zip` extraction, with proper error reporting ([#1348](https://github.com/
|
|
497
|
-
- Fixed RPC mode documentation incorrectly stating `ctx.hasUI` is `false`; it is `true` because dialog and fire-and-forget UI methods work via the RPC sub-protocol. Also documented missing unsupported/degraded methods (`pasteToEditor`, `getAllThemes`, `getTheme`, `setTheme`) ([#1411](https://github.com/
|
|
498
|
-
- Fixed `rg` not available in bash tool by downloading it at startup alongside `fd` ([#1348](https://github.com/
|
|
499
|
-
- Fixed `custom-compaction` example to use `ModelRegistry` ([#1387](https://github.com/
|
|
500
|
-
- Google providers now support full JSON Schema in tool declarations (anyOf, oneOf, const, etc.) ([#1398](https://github.com/
|
|
768
|
+
- Fixed fd/rg download failing on Windows due to `unzip` not being available; now uses `tar` for both `.tar.gz` and `.zip` extraction, with proper error reporting ([#1348](https://github.com/draht-dev/draht/issues/1348))
|
|
769
|
+
- Fixed RPC mode documentation incorrectly stating `ctx.hasUI` is `false`; it is `true` because dialog and fire-and-forget UI methods work via the RPC sub-protocol. Also documented missing unsupported/degraded methods (`pasteToEditor`, `getAllThemes`, `getTheme`, `setTheme`) ([#1411](https://github.com/draht-dev/draht/pull/1411) by [@aliou](https://github.com/aliou))
|
|
770
|
+
- Fixed `rg` not available in bash tool by downloading it at startup alongside `fd` ([#1348](https://github.com/draht-dev/draht/issues/1348))
|
|
771
|
+
- Fixed `custom-compaction` example to use `ModelRegistry` ([#1387](https://github.com/draht-dev/draht/issues/1387))
|
|
772
|
+
- Google providers now support full JSON Schema in tool declarations (anyOf, oneOf, const, etc.) ([#1398](https://github.com/draht-dev/draht/issues/1398) by [@jarib](https://github.com/jarib))
|
|
501
773
|
- Reverted incorrect Antigravity model change: `claude-opus-4-6-thinking` back to `claude-opus-4-5-thinking` (model does not exist on Antigravity endpoint)
|
|
502
774
|
- Updated the Antigravity system instruction to a more compact version for Google Gemini CLI compatibility
|
|
503
|
-
- Corrected opencode context windows for Claude Sonnet 4 and 4.5 ([#1383](https://github.com/
|
|
504
|
-
- Fixed subagent example unknown-agent errors to include available agent names ([#1414](https://github.com/
|
|
775
|
+
- Corrected opencode context windows for Claude Sonnet 4 and 4.5 ([#1383](https://github.com/draht-dev/draht/issues/1383))
|
|
776
|
+
- Fixed subagent example unknown-agent errors to include available agent names ([#1414](https://github.com/draht-dev/draht/pull/1414) by [@dnouri](https://github.com/dnouri))
|
|
505
777
|
|
|
506
778
|
## [0.52.8] - 2026-02-07
|
|
507
779
|
|
|
508
780
|
### New Features
|
|
509
781
|
|
|
510
|
-
- Emacs-style kill ring (`ctrl+k`/`ctrl+y`/`alt+y`) and undo (`ctrl+z`) in the editor input ([#1373](https://github.com/
|
|
511
|
-
- OpenRouter `auto` model alias (`openrouter:auto`) for automatic model routing ([#1361](https://github.com/
|
|
512
|
-
- Extensions can programmatically paste content into the editor via `pasteToEditor` in the extension UI context. See [docs/extensions.md](docs/extensions.md) ([#1351](https://github.com/
|
|
513
|
-
- `pi <package> --help` and invalid subcommands now show helpful output instead of failing silently ([#1347](https://github.com/
|
|
782
|
+
- Emacs-style kill ring (`ctrl+k`/`ctrl+y`/`alt+y`) and undo (`ctrl+z`) in the editor input ([#1373](https://github.com/draht-dev/draht/pull/1373) by [@Perlence](https://github.com/Perlence))
|
|
783
|
+
- OpenRouter `auto` model alias (`openrouter:auto`) for automatic model routing ([#1361](https://github.com/draht-dev/draht/pull/1361) by [@yogasanas](https://github.com/yogasanas))
|
|
784
|
+
- Extensions can programmatically paste content into the editor via `pasteToEditor` in the extension UI context. See [docs/extensions.md](docs/extensions.md) ([#1351](https://github.com/draht-dev/draht/pull/1351) by [@kaofelix](https://github.com/kaofelix))
|
|
785
|
+
- `pi <package> --help` and invalid subcommands now show helpful output instead of failing silently ([#1347](https://github.com/draht-dev/draht/pull/1347) by [@ferologics](https://github.com/ferologics))
|
|
514
786
|
|
|
515
787
|
### Added
|
|
516
788
|
|
|
517
|
-
- Added `pasteToEditor` to extension UI context for programmatic editor paste ([#1351](https://github.com/
|
|
518
|
-
- Added package subcommand help and friendly error messages for invalid commands ([#1347](https://github.com/
|
|
519
|
-
- Added OpenRouter `auto` model alias for automatic model routing ([#1361](https://github.com/
|
|
520
|
-
- Added kill ring (ctrl+k/ctrl+y/alt+y) and undo (ctrl+z) support to the editor input ([#1373](https://github.com/
|
|
789
|
+
- Added `pasteToEditor` to extension UI context for programmatic editor paste ([#1351](https://github.com/draht-dev/draht/pull/1351) by [@kaofelix](https://github.com/kaofelix))
|
|
790
|
+
- Added package subcommand help and friendly error messages for invalid commands ([#1347](https://github.com/draht-dev/draht/pull/1347) by [@ferologics](https://github.com/ferologics))
|
|
791
|
+
- Added OpenRouter `auto` model alias for automatic model routing ([#1361](https://github.com/draht-dev/draht/pull/1361) by [@yogasanas](https://github.com/yogasanas))
|
|
792
|
+
- Added kill ring (ctrl+k/ctrl+y/alt+y) and undo (ctrl+z) support to the editor input ([#1373](https://github.com/draht-dev/draht/pull/1373) by [@Perlence](https://github.com/Perlence))
|
|
521
793
|
|
|
522
794
|
### Changed
|
|
523
795
|
|
|
524
|
-
- Replaced Claude Opus 4.5 with Opus 4.6 as default model ([#1345](https://github.com/
|
|
796
|
+
- Replaced Claude Opus 4.5 with Opus 4.6 as default model ([#1345](https://github.com/draht-dev/draht/pull/1345) by [@calvin-hpnet](https://github.com/calvin-hpnet))
|
|
525
797
|
|
|
526
798
|
### Fixed
|
|
527
799
|
|
|
528
800
|
- Fixed temporary git package caches (`-e <git-url>`) to refresh on cache hits for unpinned sources, including detached/no-upstream checkouts
|
|
529
|
-
- Fixed aborting retries when an extension customizes the editor ([#1364](https://github.com/
|
|
530
|
-
- Fixed autocomplete not propagating to custom editors created by extensions ([#1372](https://github.com/
|
|
801
|
+
- Fixed aborting retries when an extension customizes the editor ([#1364](https://github.com/draht-dev/draht/pull/1364) by [@Perlence](https://github.com/Perlence))
|
|
802
|
+
- Fixed autocomplete not propagating to custom editors created by extensions ([#1372](https://github.com/draht-dev/draht/pull/1372) by [@Perlence](https://github.com/Perlence))
|
|
531
803
|
- Fixed extension shutdown to use clean TUI shutdown path, preventing orphaned processes
|
|
532
804
|
|
|
533
805
|
## [0.52.7] - 2026-02-06
|
|
@@ -544,30 +816,30 @@
|
|
|
544
816
|
|
|
545
817
|
### Added
|
|
546
818
|
|
|
547
|
-
- Added `modelOverrides` in `models.json` to customize individual built-in models per provider without full provider replacement ([#1332](https://github.com/
|
|
548
|
-
- Added `AWS_BEDROCK_SKIP_AUTH` and `AWS_BEDROCK_FORCE_HTTP1` environment variables for connecting to unauthenticated Bedrock proxies ([#1320](https://github.com/
|
|
819
|
+
- Added `modelOverrides` in `models.json` to customize individual built-in models per provider without full provider replacement ([#1332](https://github.com/draht-dev/draht/pull/1332) by [@charles-cooper](https://github.com/charles-cooper))
|
|
820
|
+
- Added `AWS_BEDROCK_SKIP_AUTH` and `AWS_BEDROCK_FORCE_HTTP1` environment variables for connecting to unauthenticated Bedrock proxies ([#1320](https://github.com/draht-dev/draht/pull/1320) by [@virtuald](https://github.com/virtuald))
|
|
549
821
|
|
|
550
822
|
### Fixed
|
|
551
823
|
|
|
552
824
|
- Fixed extra spacing between thinking-only assistant content and subsequent tool execution blocks when assistant messages contain no text
|
|
553
|
-
- Fixed queued steering/follow-up/custom messages remaining stuck after threshold auto-compaction by resuming the agent loop when Agent-level queues still contain pending messages ([#1312](https://github.com/
|
|
554
|
-
- Fixed `tool_result` extension handlers to chain result patches across handlers instead of last-handler-wins behavior ([#1280](https://github.com/
|
|
555
|
-
- Fixed compromised auth lock files being handled gracefully instead of crashing auth storage initialization ([#1322](https://github.com/
|
|
556
|
-
- Fixed Bedrock adaptive thinking handling for Claude Opus 4.6 with interleaved thinking beta responses ([#1323](https://github.com/
|
|
557
|
-
- Fixed OpenAI Responses API requests to use `store: false` by default to avoid server-side history logging ([#1308](https://github.com/
|
|
558
|
-
- Fixed interactive mode startup by initializing autocomplete after resources are loaded ([#1328](https://github.com/
|
|
559
|
-
- Fixed `modelOverrides` merge behavior for nested objects and documented usage details ([#1062](https://github.com/
|
|
825
|
+
- Fixed queued steering/follow-up/custom messages remaining stuck after threshold auto-compaction by resuming the agent loop when Agent-level queues still contain pending messages ([#1312](https://github.com/draht-dev/draht/pull/1312) by [@ferologics](https://github.com/ferologics))
|
|
826
|
+
- Fixed `tool_result` extension handlers to chain result patches across handlers instead of last-handler-wins behavior ([#1280](https://github.com/draht-dev/draht/issues/1280))
|
|
827
|
+
- Fixed compromised auth lock files being handled gracefully instead of crashing auth storage initialization ([#1322](https://github.com/draht-dev/draht/issues/1322))
|
|
828
|
+
- Fixed Bedrock adaptive thinking handling for Claude Opus 4.6 with interleaved thinking beta responses ([#1323](https://github.com/draht-dev/draht/pull/1323) by [@markusylisiurunen](https://github.com/markusylisiurunen))
|
|
829
|
+
- Fixed OpenAI Responses API requests to use `store: false` by default to avoid server-side history logging ([#1308](https://github.com/draht-dev/draht/issues/1308))
|
|
830
|
+
- Fixed interactive mode startup by initializing autocomplete after resources are loaded ([#1328](https://github.com/draht-dev/draht/issues/1328))
|
|
831
|
+
- Fixed `modelOverrides` merge behavior for nested objects and documented usage details ([#1062](https://github.com/draht-dev/draht/issues/1062))
|
|
560
832
|
|
|
561
833
|
## [0.52.6] - 2026-02-05
|
|
562
834
|
|
|
563
835
|
### Breaking Changes
|
|
564
836
|
|
|
565
|
-
- Removed `/exit` command handling. Use `/quit` to exit ([#1303](https://github.com/
|
|
837
|
+
- Removed `/exit` command handling. Use `/quit` to exit ([#1303](https://github.com/draht-dev/draht/issues/1303))
|
|
566
838
|
|
|
567
839
|
### Fixed
|
|
568
840
|
|
|
569
|
-
- Fixed `/quit` being shadowed by fuzzy slash command autocomplete matches from skills by adding `/quit` to built-in command autocomplete ([#1303](https://github.com/
|
|
570
|
-
- Fixed local package source parsing and settings normalization regression that misclassified relative paths as git URLs and prevented globally installed local packages from loading after restart ([#1304](https://github.com/
|
|
841
|
+
- Fixed `/quit` being shadowed by fuzzy slash command autocomplete matches from skills by adding `/quit` to built-in command autocomplete ([#1303](https://github.com/draht-dev/draht/issues/1303))
|
|
842
|
+
- Fixed local package source parsing and settings normalization regression that misclassified relative paths as git URLs and prevented globally installed local packages from loading after restart ([#1304](https://github.com/draht-dev/draht/issues/1304))
|
|
571
843
|
|
|
572
844
|
## [0.52.5] - 2026-02-05
|
|
573
845
|
|
|
@@ -579,7 +851,7 @@
|
|
|
579
851
|
|
|
580
852
|
### Fixed
|
|
581
853
|
|
|
582
|
-
- Fixed extensions setting not respecting `package.json` `pi.extensions` manifest when directory is specified directly ([#1302](https://github.com/
|
|
854
|
+
- Fixed extensions setting not respecting `package.json` `pi.extensions` manifest when directory is specified directly ([#1302](https://github.com/draht-dev/draht/pull/1302) by [@hjanuschka](https://github.com/hjanuschka))
|
|
583
855
|
|
|
584
856
|
## [0.52.3] - 2026-02-05
|
|
585
857
|
|
|
@@ -617,52 +889,52 @@
|
|
|
617
889
|
- Added `minimal-mode.ts` example extension demonstrating how to override built-in tool rendering for a minimal display mode
|
|
618
890
|
- Added Claude Opus 4.6 model to the model catalog
|
|
619
891
|
- Added GPT-5.3 Codex model to the model catalog (OpenAI Codex provider only)
|
|
620
|
-
- Added SSH URL support for git packages ([#1287](https://github.com/
|
|
621
|
-
- Model selectors now display the selected model name ([#1275](https://github.com/
|
|
892
|
+
- Added SSH URL support for git packages ([#1287](https://github.com/draht-dev/draht/pull/1287) by [@markusn](https://github.com/markusn))
|
|
893
|
+
- Model selectors now display the selected model name ([#1275](https://github.com/draht-dev/draht/pull/1275) by [@haoqixu](https://github.com/haoqixu))
|
|
622
894
|
|
|
623
895
|
### Fixed
|
|
624
896
|
|
|
625
|
-
- Fixed HTML export losing indentation in ANSI-rendered tool output (e.g. JSON code blocks in custom tool results) ([#1269](https://github.com/
|
|
626
|
-
- Fixed images being silently dropped when `prompt()` is called with both `images` and `streamingBehavior` during streaming. `steer()`, `followUp()`, and the corresponding RPC commands now accept optional images. ([#1271](https://github.com/
|
|
627
|
-
- CLI `--help`, `--version`, `--list-models`, and `--export` now exit even if extensions keep the event loop alive ([#1285](https://github.com/
|
|
628
|
-
- Fixed crash when models send malformed tool arguments (objects instead of strings) ([#1259](https://github.com/
|
|
629
|
-
- Fixed custom message expand state not being respected ([#1258](https://github.com/
|
|
897
|
+
- Fixed HTML export losing indentation in ANSI-rendered tool output (e.g. JSON code blocks in custom tool results) ([#1269](https://github.com/draht-dev/draht/pull/1269) by [@aliou](https://github.com/aliou))
|
|
898
|
+
- Fixed images being silently dropped when `prompt()` is called with both `images` and `streamingBehavior` during streaming. `steer()`, `followUp()`, and the corresponding RPC commands now accept optional images. ([#1271](https://github.com/draht-dev/draht/pull/1271) by [@aliou](https://github.com/aliou))
|
|
899
|
+
- CLI `--help`, `--version`, `--list-models`, and `--export` now exit even if extensions keep the event loop alive ([#1285](https://github.com/draht-dev/draht/pull/1285) by [@ferologics](https://github.com/ferologics))
|
|
900
|
+
- Fixed crash when models send malformed tool arguments (objects instead of strings) ([#1259](https://github.com/draht-dev/draht/issues/1259))
|
|
901
|
+
- Fixed custom message expand state not being respected ([#1258](https://github.com/draht-dev/draht/pull/1258) by [@Gurpartap](https://github.com/Gurpartap))
|
|
630
902
|
- Fixed skill loader to respect .gitignore, .ignore, and .fdignore when scanning directories
|
|
631
903
|
|
|
632
904
|
## [0.51.6] - 2026-02-04
|
|
633
905
|
|
|
634
906
|
### New Features
|
|
635
907
|
|
|
636
|
-
- Configurable resume keybinding action for opening the session resume selector. See [docs/keybindings.md](docs/keybindings.md). ([#1249](https://github.com/
|
|
908
|
+
- Configurable resume keybinding action for opening the session resume selector. See [docs/keybindings.md](docs/keybindings.md). ([#1249](https://github.com/draht-dev/draht/pull/1249) by [@juanibiapina](https://github.com/juanibiapina))
|
|
637
909
|
|
|
638
910
|
### Added
|
|
639
911
|
|
|
640
|
-
- Added `resume` as a configurable keybinding action, allowing users to bind a key to open the session resume selector (like `newSession`, `tree`, and `fork`) ([#1249](https://github.com/
|
|
912
|
+
- Added `resume` as a configurable keybinding action, allowing users to bind a key to open the session resume selector (like `newSession`, `tree`, and `fork`) ([#1249](https://github.com/draht-dev/draht/pull/1249) by [@juanibiapina](https://github.com/juanibiapina))
|
|
641
913
|
|
|
642
914
|
### Changed
|
|
643
915
|
|
|
644
|
-
- Slash command menu now triggers on the first line even when other lines have content, allowing commands to be prepended to existing text ([#1227](https://github.com/
|
|
916
|
+
- Slash command menu now triggers on the first line even when other lines have content, allowing commands to be prepended to existing text ([#1227](https://github.com/draht-dev/draht/pull/1227) by [@aliou](https://github.com/aliou))
|
|
645
917
|
|
|
646
918
|
### Fixed
|
|
647
919
|
|
|
648
920
|
- Ignored unknown skill frontmatter fields when loading skills
|
|
649
|
-
- Fixed `/reload` not picking up changes in global settings.json ([#1241](https://github.com/
|
|
921
|
+
- Fixed `/reload` not picking up changes in global settings.json ([#1241](https://github.com/draht-dev/draht/issues/1241))
|
|
650
922
|
- Fixed forked sessions to persist the user message after forking
|
|
651
|
-
- Fixed forked sessions to write to new session files instead of the parent ([#1242](https://github.com/
|
|
652
|
-
- Fixed local package removal to normalize paths before comparison ([#1243](https://github.com/
|
|
653
|
-
- Fixed OpenAI Codex Responses provider to respect configured baseUrl ([#1244](https://github.com/
|
|
654
|
-
- Fixed `/settings` crashing in narrow terminals by handling small widths in the settings list ([#1246](https://github.com/
|
|
655
|
-
- Fixed Unix bash detection to fall back to PATH lookup when `/bin/bash` is unavailable, including Termux setups ([#1230](https://github.com/
|
|
923
|
+
- Fixed forked sessions to write to new session files instead of the parent ([#1242](https://github.com/draht-dev/draht/issues/1242))
|
|
924
|
+
- Fixed local package removal to normalize paths before comparison ([#1243](https://github.com/draht-dev/draht/issues/1243))
|
|
925
|
+
- Fixed OpenAI Codex Responses provider to respect configured baseUrl ([#1244](https://github.com/draht-dev/draht/issues/1244))
|
|
926
|
+
- Fixed `/settings` crashing in narrow terminals by handling small widths in the settings list ([#1246](https://github.com/draht-dev/draht/pull/1246) by [@haoqixu](https://github.com/haoqixu))
|
|
927
|
+
- Fixed Unix bash detection to fall back to PATH lookup when `/bin/bash` is unavailable, including Termux setups ([#1230](https://github.com/draht-dev/draht/pull/1230) by [@VaclavSynacek](https://github.com/VaclavSynacek))
|
|
656
928
|
|
|
657
929
|
## [0.51.5] - 2026-02-04
|
|
658
930
|
|
|
659
931
|
### Changed
|
|
660
932
|
|
|
661
|
-
- Changed Bedrock model generation to drop legacy workarounds now handled upstream ([#1239](https://github.com/
|
|
933
|
+
- Changed Bedrock model generation to drop legacy workarounds now handled upstream ([#1239](https://github.com/draht-dev/draht/pull/1239) by [@unexge](https://github.com/unexge))
|
|
662
934
|
|
|
663
935
|
### Fixed
|
|
664
936
|
|
|
665
|
-
- Fixed Windows package installs regression by using shell execution instead of `.cmd` resolution ([#1220](https://github.com/
|
|
937
|
+
- Fixed Windows package installs regression by using shell execution instead of `.cmd` resolution ([#1220](https://github.com/draht-dev/draht/issues/1220))
|
|
666
938
|
|
|
667
939
|
## [0.51.4] - 2026-02-03
|
|
668
940
|
|
|
@@ -676,7 +948,7 @@
|
|
|
676
948
|
|
|
677
949
|
### Fixed
|
|
678
950
|
|
|
679
|
-
- Fixed input scrolling to avoid splitting emoji sequences ([#1228](https://github.com/
|
|
951
|
+
- Fixed input scrolling to avoid splitting emoji sequences ([#1228](https://github.com/draht-dev/draht/pull/1228) by [@haoqixu](https://github.com/haoqixu))
|
|
680
952
|
|
|
681
953
|
## [0.51.3] - 2026-02-03
|
|
682
954
|
|
|
@@ -691,15 +963,15 @@
|
|
|
691
963
|
|
|
692
964
|
### Added
|
|
693
965
|
|
|
694
|
-
- Added `ExtensionAPI.getCommands()` to let extensions list available slash commands (extensions, prompt templates, skills) for invocation via `prompt` ([#1210](https://github.com/
|
|
695
|
-
- Added `commands.ts` example extension and exported `SlashCommandInfo` types for command discovery integrations ([#1210](https://github.com/
|
|
696
|
-
- Added local path support for `pi install` and `pi remove` with relative paths stored against the target settings file ([#1216](https://github.com/
|
|
966
|
+
- Added `ExtensionAPI.getCommands()` to let extensions list available slash commands (extensions, prompt templates, skills) for invocation via `prompt` ([#1210](https://github.com/draht-dev/draht/pull/1210) by [@w-winter](https://github.com/w-winter))
|
|
967
|
+
- Added `commands.ts` example extension and exported `SlashCommandInfo` types for command discovery integrations ([#1210](https://github.com/draht-dev/draht/pull/1210) by [@w-winter](https://github.com/w-winter))
|
|
968
|
+
- Added local path support for `pi install` and `pi remove` with relative paths stored against the target settings file ([#1216](https://github.com/draht-dev/draht/issues/1216))
|
|
697
969
|
|
|
698
970
|
### Fixed
|
|
699
971
|
|
|
700
972
|
- Fixed default thinking level persistence so settings-derived defaults are saved and restored correctly
|
|
701
|
-
- Fixed Windows package installs by resolving `npm.cmd` when `npm` is not directly executable ([#1220](https://github.com/
|
|
702
|
-
- Fixed xhigh thinking level support check to accept gpt-5.2 model IDs ([#1209](https://github.com/
|
|
973
|
+
- Fixed Windows package installs by resolving `npm.cmd` when `npm` is not directly executable ([#1220](https://github.com/draht-dev/draht/issues/1220))
|
|
974
|
+
- Fixed xhigh thinking level support check to accept gpt-5.2 model IDs ([#1209](https://github.com/draht-dev/draht/issues/1209))
|
|
703
975
|
|
|
704
976
|
## [0.51.2] - 2026-02-03
|
|
705
977
|
|
|
@@ -709,31 +981,31 @@
|
|
|
709
981
|
|
|
710
982
|
### Added
|
|
711
983
|
|
|
712
|
-
- Added ExtensionUIContext getToolsExpanded and setToolsExpanded for controlling tool output expansion ([#1199](https://github.com/
|
|
713
|
-
- Added install method detection to show package manager specific update instructions ([#1203](https://github.com/
|
|
984
|
+
- Added ExtensionUIContext getToolsExpanded and setToolsExpanded for controlling tool output expansion ([#1199](https://github.com/draht-dev/draht/pull/1199) by [@academo](https://github.com/academo))
|
|
985
|
+
- Added install method detection to show package manager specific update instructions ([#1203](https://github.com/draht-dev/draht/pull/1203) by [@Itsnotaka](https://github.com/Itsnotaka))
|
|
714
986
|
|
|
715
987
|
### Fixed
|
|
716
988
|
|
|
717
|
-
- Fixed Kitty key release events leaking to parent shell over slow SSH connections by draining stdin for up to 1s on exit ([#1204](https://github.com/
|
|
989
|
+
- Fixed Kitty key release events leaking to parent shell over slow SSH connections by draining stdin for up to 1s on exit ([#1204](https://github.com/draht-dev/draht/issues/1204))
|
|
718
990
|
- Fixed legacy newline handling in the editor to preserve previous newline behavior
|
|
719
991
|
- Fixed @ autocomplete to include hidden paths
|
|
720
992
|
- Fixed submit fallback to honor configured keybindings
|
|
721
|
-
- Fixed extension commands conflicting with built-in commands by skipping them ([#1196](https://github.com/
|
|
722
|
-
- Fixed @-prefixed tool paths failing to resolve by stripping the prefix ([#1206](https://github.com/
|
|
993
|
+
- Fixed extension commands conflicting with built-in commands by skipping them ([#1196](https://github.com/draht-dev/draht/pull/1196) by [@haoqixu](https://github.com/haoqixu))
|
|
994
|
+
- Fixed @-prefixed tool paths failing to resolve by stripping the prefix ([#1206](https://github.com/draht-dev/draht/issues/1206))
|
|
723
995
|
- Fixed install method detection to avoid stale cached results
|
|
724
996
|
|
|
725
997
|
## [0.51.1] - 2026-02-02
|
|
726
998
|
|
|
727
999
|
### New Features
|
|
728
1000
|
|
|
729
|
-
- **Extension API switchSession**: Extensions can now programmatically switch sessions via `ctx.switchSession(sessionPath)`. See [docs/extensions.md](docs/extensions.md). ([#1187](https://github.com/
|
|
1001
|
+
- **Extension API switchSession**: Extensions can now programmatically switch sessions via `ctx.switchSession(sessionPath)`. See [docs/extensions.md](docs/extensions.md). ([#1187](https://github.com/draht-dev/draht/issues/1187))
|
|
730
1002
|
- **Clear on shrink setting**: New `terminal.clearOnShrink` setting keeps the editor and footer pinned to the bottom of the terminal when content shrinks. May cause some flicker due to redraws. Disabled by default. Enable via `/settings` or `PI_CLEAR_ON_SHRINK=1` env var.
|
|
731
1003
|
|
|
732
1004
|
### Fixed
|
|
733
1005
|
|
|
734
|
-
- Fixed scoped models not finding valid credentials after logout ([#1194](https://github.com/
|
|
735
|
-
- Fixed Ctrl+D exit closing the parent SSH session due to stdin buffer race condition ([#1185](https://github.com/
|
|
736
|
-
- Fixed emoji cursor positioning in editor input ([#1183](https://github.com/
|
|
1006
|
+
- Fixed scoped models not finding valid credentials after logout ([#1194](https://github.com/draht-dev/draht/pull/1194) by [@terrorobe](https://github.com/terrorobe))
|
|
1007
|
+
- Fixed Ctrl+D exit closing the parent SSH session due to stdin buffer race condition ([#1185](https://github.com/draht-dev/draht/issues/1185))
|
|
1008
|
+
- Fixed emoji cursor positioning in editor input ([#1183](https://github.com/draht-dev/draht/pull/1183) by [@haoqixu](https://github.com/haoqixu))
|
|
737
1009
|
|
|
738
1010
|
## [0.51.0] - 2026-02-01
|
|
739
1011
|
|
|
@@ -753,117 +1025,117 @@
|
|
|
753
1025
|
- **Android/Termux support**: Pi now runs on Android via Termux. Install with:
|
|
754
1026
|
```bash
|
|
755
1027
|
pkg install nodejs termux-api git
|
|
756
|
-
npm install -g @
|
|
1028
|
+
npm install -g @draht/coding-agent
|
|
757
1029
|
mkdir -p ~/.pi/agent
|
|
758
1030
|
echo "You are running on Android in Termux." > ~/.pi/agent/AGENTS.md
|
|
759
1031
|
```
|
|
760
|
-
Clipboard operations fall back gracefully when `termux-api` is unavailable. ([#1164](https://github.com/
|
|
761
|
-
- **Bash spawn hook**: Extensions can now intercept and modify bash commands before execution via `pi.setBashSpawnHook()`. Adjust the command string, working directory, or environment variables. See [docs/extensions.md](docs/extensions.md). ([#1160](https://github.com/
|
|
1032
|
+
Clipboard operations fall back gracefully when `termux-api` is unavailable. ([#1164](https://github.com/draht-dev/draht/issues/1164))
|
|
1033
|
+
- **Bash spawn hook**: Extensions can now intercept and modify bash commands before execution via `pi.setBashSpawnHook()`. Adjust the command string, working directory, or environment variables. See [docs/extensions.md](docs/extensions.md). ([#1160](https://github.com/draht-dev/draht/pull/1160) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
762
1034
|
- **Linux ARM64 musl support**: Pi now runs on Alpine Linux ARM64 (linux-arm64-musl) via updated clipboard dependency.
|
|
763
|
-
- **Nix/Guix support**: `PI_PACKAGE_DIR` environment variable overrides the package path for content-addressed package managers where store paths tokenize poorly. See [README.md#environment-variables](README.md#environment-variables). ([#1153](https://github.com/
|
|
764
|
-
- **Named session filter**: `/resume` picker now supports filtering to show only named sessions via Ctrl+N. Configurable via `toggleSessionNamedFilter` keybinding. See [docs/keybindings.md](docs/keybindings.md). ([#1128](https://github.com/
|
|
765
|
-
- **Typed tool call events**: Extension developers can narrow `ToolCallEvent` types using `isToolCallEventType()` for better TypeScript support. See [docs/extensions.md#tool-call-events](docs/extensions.md#tool-call-events). ([#1147](https://github.com/
|
|
766
|
-
- **Extension UI Protocol**: Full RPC documentation and examples for extension dialogs and notifications, enabling headless clients to support interactive extensions. See [docs/rpc.md#extension-ui-protocol](docs/rpc.md#extension-ui-protocol). ([#1144](https://github.com/
|
|
1035
|
+
- **Nix/Guix support**: `PI_PACKAGE_DIR` environment variable overrides the package path for content-addressed package managers where store paths tokenize poorly. See [README.md#environment-variables](README.md#environment-variables). ([#1153](https://github.com/draht-dev/draht/pull/1153) by [@odysseus0](https://github.com/odysseus0))
|
|
1036
|
+
- **Named session filter**: `/resume` picker now supports filtering to show only named sessions via Ctrl+N. Configurable via `toggleSessionNamedFilter` keybinding. See [docs/keybindings.md](docs/keybindings.md). ([#1128](https://github.com/draht-dev/draht/pull/1128) by [@w-winter](https://github.com/w-winter))
|
|
1037
|
+
- **Typed tool call events**: Extension developers can narrow `ToolCallEvent` types using `isToolCallEventType()` for better TypeScript support. See [docs/extensions.md#tool-call-events](docs/extensions.md#tool-call-events). ([#1147](https://github.com/draht-dev/draht/pull/1147) by [@giuseppeg](https://github.com/giuseppeg))
|
|
1038
|
+
- **Extension UI Protocol**: Full RPC documentation and examples for extension dialogs and notifications, enabling headless clients to support interactive extensions. See [docs/rpc.md#extension-ui-protocol](docs/rpc.md#extension-ui-protocol). ([#1144](https://github.com/draht-dev/draht/pull/1144) by [@aliou](https://github.com/aliou))
|
|
767
1039
|
|
|
768
1040
|
### Added
|
|
769
1041
|
|
|
770
1042
|
- Added Linux ARM64 musl (Alpine Linux) support via clipboard dependency update
|
|
771
|
-
- Added Android/Termux support with graceful clipboard fallback ([#1164](https://github.com/
|
|
772
|
-
- Added bash tool spawn hook support for adjusting command, cwd, and env before execution ([#1160](https://github.com/
|
|
773
|
-
- Added typed `ToolCallEvent.input` per tool with `isToolCallEventType()` type guard for narrowing built-in tool events ([#1147](https://github.com/
|
|
774
|
-
- Exported `discoverAndLoadExtensions` from package to enable extension testing without a local repo clone ([#1148](https://github.com/
|
|
775
|
-
- Added Extension UI Protocol documentation to RPC docs covering all request/response types for extension dialogs and notifications ([#1144](https://github.com/
|
|
776
|
-
- Added `rpc-demo.ts` example extension exercising all RPC-supported extension UI methods ([#1144](https://github.com/
|
|
777
|
-
- Added `rpc-extension-ui.ts` TUI example client demonstrating the extension UI protocol with interactive dialogs ([#1144](https://github.com/
|
|
778
|
-
- Added `PI_PACKAGE_DIR` environment variable to override package path for content-addressed package managers (Nix, Guix) where store paths tokenize poorly ([#1153](https://github.com/
|
|
779
|
-
- `/resume` session picker now supports named-only filter toggle (default Ctrl+N, configurable via `toggleSessionNamedFilter`) to show only named sessions ([#1128](https://github.com/
|
|
780
|
-
|
|
781
|
-
### Fixed
|
|
782
|
-
|
|
783
|
-
- Fixed `pi update` not updating npm/git packages when called without arguments ([#1151](https://github.com/
|
|
784
|
-
- Fixed `models.json` validation requiring fields documented as optional. Model definitions now only require `id`; all other fields (`name`, `reasoning`, `input`, `cost`, `contextWindow`, `maxTokens`) have sensible defaults. ([#1146](https://github.com/
|
|
785
|
-
- Fixed models resolving relative paths in skill files from cwd instead of skill directory by adding explicit guidance to skills preamble ([#1136](https://github.com/
|
|
786
|
-
- Fixed tree selector losing focus state when navigating entries ([#1142](https://github.com/
|
|
787
|
-
- Fixed `cacheRetention` option not being passed through in `buildBaseOptions` ([#1154](https://github.com/
|
|
788
|
-
- Fixed OAuth login/refresh not using HTTP proxy settings (`HTTP_PROXY`, `HTTPS_PROXY` env vars) ([#1132](https://github.com/
|
|
789
|
-
- Fixed `pi update <source>` installing packages locally when the source is only registered globally ([#1163](https://github.com/
|
|
790
|
-
- Fixed tree navigation with summarization overwriting editor content typed during the summarization wait ([#1169](https://github.com/
|
|
1043
|
+
- Added Android/Termux support with graceful clipboard fallback ([#1164](https://github.com/draht-dev/draht/issues/1164))
|
|
1044
|
+
- Added bash tool spawn hook support for adjusting command, cwd, and env before execution ([#1160](https://github.com/draht-dev/draht/pull/1160) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1045
|
+
- Added typed `ToolCallEvent.input` per tool with `isToolCallEventType()` type guard for narrowing built-in tool events ([#1147](https://github.com/draht-dev/draht/pull/1147) by [@giuseppeg](https://github.com/giuseppeg))
|
|
1046
|
+
- Exported `discoverAndLoadExtensions` from package to enable extension testing without a local repo clone ([#1148](https://github.com/draht-dev/draht/issues/1148))
|
|
1047
|
+
- Added Extension UI Protocol documentation to RPC docs covering all request/response types for extension dialogs and notifications ([#1144](https://github.com/draht-dev/draht/pull/1144) by [@aliou](https://github.com/aliou))
|
|
1048
|
+
- Added `rpc-demo.ts` example extension exercising all RPC-supported extension UI methods ([#1144](https://github.com/draht-dev/draht/pull/1144) by [@aliou](https://github.com/aliou))
|
|
1049
|
+
- Added `rpc-extension-ui.ts` TUI example client demonstrating the extension UI protocol with interactive dialogs ([#1144](https://github.com/draht-dev/draht/pull/1144) by [@aliou](https://github.com/aliou))
|
|
1050
|
+
- Added `PI_PACKAGE_DIR` environment variable to override package path for content-addressed package managers (Nix, Guix) where store paths tokenize poorly ([#1153](https://github.com/draht-dev/draht/pull/1153) by [@odysseus0](https://github.com/odysseus0))
|
|
1051
|
+
- `/resume` session picker now supports named-only filter toggle (default Ctrl+N, configurable via `toggleSessionNamedFilter`) to show only named sessions ([#1128](https://github.com/draht-dev/draht/pull/1128) by [@w-winter](https://github.com/w-winter))
|
|
1052
|
+
|
|
1053
|
+
### Fixed
|
|
1054
|
+
|
|
1055
|
+
- Fixed `pi update` not updating npm/git packages when called without arguments ([#1151](https://github.com/draht-dev/draht/issues/1151))
|
|
1056
|
+
- Fixed `models.json` validation requiring fields documented as optional. Model definitions now only require `id`; all other fields (`name`, `reasoning`, `input`, `cost`, `contextWindow`, `maxTokens`) have sensible defaults. ([#1146](https://github.com/draht-dev/draht/issues/1146))
|
|
1057
|
+
- Fixed models resolving relative paths in skill files from cwd instead of skill directory by adding explicit guidance to skills preamble ([#1136](https://github.com/draht-dev/draht/issues/1136))
|
|
1058
|
+
- Fixed tree selector losing focus state when navigating entries ([#1142](https://github.com/draht-dev/draht/pull/1142) by [@Perlence](https://github.com/Perlence))
|
|
1059
|
+
- Fixed `cacheRetention` option not being passed through in `buildBaseOptions` ([#1154](https://github.com/draht-dev/draht/issues/1154))
|
|
1060
|
+
- Fixed OAuth login/refresh not using HTTP proxy settings (`HTTP_PROXY`, `HTTPS_PROXY` env vars) ([#1132](https://github.com/draht-dev/draht/issues/1132))
|
|
1061
|
+
- Fixed `pi update <source>` installing packages locally when the source is only registered globally ([#1163](https://github.com/draht-dev/draht/pull/1163) by [@aliou](https://github.com/aliou))
|
|
1062
|
+
- Fixed tree navigation with summarization overwriting editor content typed during the summarization wait ([#1169](https://github.com/draht-dev/draht/pull/1169) by [@aliou](https://github.com/aliou))
|
|
791
1063
|
|
|
792
1064
|
## [0.50.9] - 2026-02-01
|
|
793
1065
|
|
|
794
1066
|
### Added
|
|
795
1067
|
|
|
796
1068
|
- Added `titlebar-spinner.ts` example extension that shows a braille spinner animation in the terminal title while the agent is working.
|
|
797
|
-
- Added `PI_AI_ANTIGRAVITY_VERSION` environment variable documentation to help text ([#1129](https://github.com/
|
|
798
|
-
- Added `cacheRetention` stream option with provider-specific mappings for prompt cache controls, defaulting to short retention ([#1134](https://github.com/
|
|
1069
|
+
- Added `PI_AI_ANTIGRAVITY_VERSION` environment variable documentation to help text ([#1129](https://github.com/draht-dev/draht/issues/1129))
|
|
1070
|
+
- Added `cacheRetention` stream option with provider-specific mappings for prompt cache controls, defaulting to short retention ([#1134](https://github.com/draht-dev/draht/issues/1134))
|
|
799
1071
|
|
|
800
1072
|
## [0.50.8] - 2026-02-01
|
|
801
1073
|
|
|
802
1074
|
### Added
|
|
803
1075
|
|
|
804
|
-
- Added `newSession`, `tree`, and `fork` keybinding actions for `/new`, `/tree`, and `/fork` commands. All unbound by default. ([#1114](https://github.com/
|
|
805
|
-
- Added `retry.maxDelayMs` setting to cap maximum server-requested retry delay. When a provider requests a longer delay (e.g., Google's "quota will reset after 5h"), the request fails immediately with an informative error instead of waiting silently. Default: 60000ms (60 seconds). ([#1123](https://github.com/
|
|
806
|
-
- `/resume` session picker: new "Threaded" sort mode (now default) displays sessions in a tree structure based on fork relationships. Compact one-line format with message count and age on the right. ([#1124](https://github.com/
|
|
807
|
-
- Added Qwen CLI OAuth provider extension example. ([#940](https://github.com/
|
|
808
|
-
- Added OAuth `modifyModels` hook support for extension-registered providers at registration time. ([#940](https://github.com/
|
|
809
|
-
- Added Qwen thinking format support for OpenAI-compatible completions via `enable_thinking`. ([#940](https://github.com/
|
|
810
|
-
- Added sticky column tracking for vertical cursor navigation so the editor restores the preferred column when moving across short lines. ([#1120](https://github.com/
|
|
1076
|
+
- Added `newSession`, `tree`, and `fork` keybinding actions for `/new`, `/tree`, and `/fork` commands. All unbound by default. ([#1114](https://github.com/draht-dev/draht/pull/1114) by [@juanibiapina](https://github.com/juanibiapina))
|
|
1077
|
+
- Added `retry.maxDelayMs` setting to cap maximum server-requested retry delay. When a provider requests a longer delay (e.g., Google's "quota will reset after 5h"), the request fails immediately with an informative error instead of waiting silently. Default: 60000ms (60 seconds). ([#1123](https://github.com/draht-dev/draht/issues/1123))
|
|
1078
|
+
- `/resume` session picker: new "Threaded" sort mode (now default) displays sessions in a tree structure based on fork relationships. Compact one-line format with message count and age on the right. ([#1124](https://github.com/draht-dev/draht/pull/1124) by [@pasky](https://github.com/pasky))
|
|
1079
|
+
- Added Qwen CLI OAuth provider extension example. ([#940](https://github.com/draht-dev/draht/pull/940) by [@4h9fbZ](https://github.com/4h9fbZ))
|
|
1080
|
+
- Added OAuth `modifyModels` hook support for extension-registered providers at registration time. ([#940](https://github.com/draht-dev/draht/pull/940) by [@4h9fbZ](https://github.com/4h9fbZ))
|
|
1081
|
+
- Added Qwen thinking format support for OpenAI-compatible completions via `enable_thinking`. ([#940](https://github.com/draht-dev/draht/pull/940) by [@4h9fbZ](https://github.com/4h9fbZ))
|
|
1082
|
+
- Added sticky column tracking for vertical cursor navigation so the editor restores the preferred column when moving across short lines. ([#1120](https://github.com/draht-dev/draht/pull/1120) by [@Perlence](https://github.com/Perlence))
|
|
811
1083
|
- Added `resources_discover` extension hook to supply additional skills, prompts, and themes on startup and reload.
|
|
812
1084
|
|
|
813
1085
|
### Fixed
|
|
814
1086
|
|
|
815
|
-
- Fixed `switchSession()` appending spurious `thinking_level_change` entry to session log on resume. `setThinkingLevel()` is now idempotent. ([#1118](https://github.com/
|
|
816
|
-
- Fixed clipboard image paste on WSL2/WSLg writing invalid PNG files when clipboard provides `image/bmp` format. BMP images are now converted to PNG before saving. ([#1112](https://github.com/
|
|
817
|
-
- Fixed Kitty keyboard protocol base layout fallback so non-QWERTY layouts do not trigger wrong shortcuts ([#1096](https://github.com/
|
|
1087
|
+
- Fixed `switchSession()` appending spurious `thinking_level_change` entry to session log on resume. `setThinkingLevel()` is now idempotent. ([#1118](https://github.com/draht-dev/draht/issues/1118))
|
|
1088
|
+
- Fixed clipboard image paste on WSL2/WSLg writing invalid PNG files when clipboard provides `image/bmp` format. BMP images are now converted to PNG before saving. ([#1112](https://github.com/draht-dev/draht/pull/1112) by [@lightningRalf](https://github.com/lightningRalf))
|
|
1089
|
+
- Fixed Kitty keyboard protocol base layout fallback so non-QWERTY layouts do not trigger wrong shortcuts ([#1096](https://github.com/draht-dev/draht/pull/1096) by [@rytswd](https://github.com/rytswd))
|
|
818
1090
|
|
|
819
1091
|
## [0.50.7] - 2026-01-31
|
|
820
1092
|
|
|
821
1093
|
### Fixed
|
|
822
1094
|
|
|
823
|
-
- Multi-file extensions in packages now work correctly. Package resolution now uses the same discovery logic as local extensions: only `index.ts` (or manifest-declared entries) are loaded from subdirectories, not helper modules. ([#1102](https://github.com/
|
|
1095
|
+
- Multi-file extensions in packages now work correctly. Package resolution now uses the same discovery logic as local extensions: only `index.ts` (or manifest-declared entries) are loaded from subdirectories, not helper modules. ([#1102](https://github.com/draht-dev/draht/issues/1102))
|
|
824
1096
|
|
|
825
1097
|
## [0.50.6] - 2026-01-30
|
|
826
1098
|
|
|
827
1099
|
### Added
|
|
828
1100
|
|
|
829
|
-
- Added `ctx.getSystemPrompt()` to extension context for accessing the current effective system prompt ([#1098](https://github.com/
|
|
1101
|
+
- Added `ctx.getSystemPrompt()` to extension context for accessing the current effective system prompt ([#1098](https://github.com/draht-dev/draht/pull/1098) by [@kaofelix](https://github.com/kaofelix))
|
|
830
1102
|
|
|
831
1103
|
### Fixed
|
|
832
1104
|
|
|
833
|
-
- Fixed empty rows appearing below footer when content shrinks (e.g., closing `/tree`, clearing multi-line editor) ([#1095](https://github.com/
|
|
834
|
-
- Fixed terminal cursor remaining hidden after exiting TUI via `stop()` when a render was pending ([#1099](https://github.com/
|
|
1105
|
+
- Fixed empty rows appearing below footer when content shrinks (e.g., closing `/tree`, clearing multi-line editor) ([#1095](https://github.com/draht-dev/draht/pull/1095) by [@marckrenn](https://github.com/marckrenn))
|
|
1106
|
+
- Fixed terminal cursor remaining hidden after exiting TUI via `stop()` when a render was pending ([#1099](https://github.com/draht-dev/draht/pull/1099) by [@haoqixu](https://github.com/haoqixu))
|
|
835
1107
|
|
|
836
1108
|
## [0.50.4] - 2026-01-30
|
|
837
1109
|
|
|
838
1110
|
### New Features
|
|
839
1111
|
|
|
840
|
-
- **OSC 52 clipboard support for SSH/mosh** - The `/copy` command now works over remote connections using the OSC 52 terminal escape sequence. No more clipboard frustration when using pi over SSH. ([#1069](https://github.com/
|
|
841
|
-
- **Vercel AI Gateway routing** - Route requests through Vercel's AI Gateway with provider failover and load balancing. Configure via `vercelGatewayRouting` in models.json. ([#1051](https://github.com/
|
|
842
|
-
- **Character jump navigation** - Bash/Readline-style character search: Ctrl+] jumps forward to the next occurrence of a character, Ctrl+Alt+] jumps backward. ([#1074](https://github.com/
|
|
843
|
-
- **Emacs-style Ctrl+B/Ctrl+F navigation** - Alternative keybindings for word navigation (cursor word left/right) in the editor. ([#1053](https://github.com/
|
|
844
|
-
- **Line boundary navigation** - Editor jumps to line start when pressing Up at first visual line, and line end when pressing Down at last visual line. ([#1050](https://github.com/
|
|
845
|
-
- **Performance improvements** - Optimized image line detection and box rendering cache in the TUI for better rendering performance. ([#1084](https://github.com/
|
|
846
|
-
- **`set_session_name` RPC command** - Headless clients can now set the session display name programmatically. ([#1075](https://github.com/
|
|
847
|
-
- **Disable double-escape behavior** - New `"none"` option for `doubleEscapeAction` setting completely disables the double-escape shortcut. ([#973](https://github.com/
|
|
1112
|
+
- **OSC 52 clipboard support for SSH/mosh** - The `/copy` command now works over remote connections using the OSC 52 terminal escape sequence. No more clipboard frustration when using pi over SSH. ([#1069](https://github.com/draht-dev/draht/issues/1069) by [@gturkoglu](https://github.com/gturkoglu))
|
|
1113
|
+
- **Vercel AI Gateway routing** - Route requests through Vercel's AI Gateway with provider failover and load balancing. Configure via `vercelGatewayRouting` in models.json. ([#1051](https://github.com/draht-dev/draht/pull/1051) by [@ben-vargas](https://github.com/ben-vargas))
|
|
1114
|
+
- **Character jump navigation** - Bash/Readline-style character search: Ctrl+] jumps forward to the next occurrence of a character, Ctrl+Alt+] jumps backward. ([#1074](https://github.com/draht-dev/draht/pull/1074) by [@Perlence](https://github.com/Perlence))
|
|
1115
|
+
- **Emacs-style Ctrl+B/Ctrl+F navigation** - Alternative keybindings for word navigation (cursor word left/right) in the editor. ([#1053](https://github.com/draht-dev/draht/pull/1053) by [@ninlds](https://github.com/ninlds))
|
|
1116
|
+
- **Line boundary navigation** - Editor jumps to line start when pressing Up at first visual line, and line end when pressing Down at last visual line. ([#1050](https://github.com/draht-dev/draht/pull/1050) by [@4h9fbZ](https://github.com/4h9fbZ))
|
|
1117
|
+
- **Performance improvements** - Optimized image line detection and box rendering cache in the TUI for better rendering performance. ([#1084](https://github.com/draht-dev/draht/pull/1084) by [@can1357](https://github.com/can1357))
|
|
1118
|
+
- **`set_session_name` RPC command** - Headless clients can now set the session display name programmatically. ([#1075](https://github.com/draht-dev/draht/pull/1075) by [@dnouri](https://github.com/dnouri))
|
|
1119
|
+
- **Disable double-escape behavior** - New `"none"` option for `doubleEscapeAction` setting completely disables the double-escape shortcut. ([#973](https://github.com/draht-dev/draht/issues/973) by [@juanibiapina](https://github.com/juanibiapina))
|
|
848
1120
|
|
|
849
1121
|
### Added
|
|
850
1122
|
|
|
851
|
-
- Added "none" option to `doubleEscapeAction` setting to disable double-escape behavior entirely ([#973](https://github.com/
|
|
852
|
-
- Added OSC 52 clipboard support for SSH/mosh sessions. `/copy` now works over remote connections. ([#1069](https://github.com/
|
|
853
|
-
- Added Vercel AI Gateway routing support via `vercelGatewayRouting` in models.json ([#1051](https://github.com/
|
|
854
|
-
- Added Ctrl+B and Ctrl+F keybindings for cursor word left/right navigation in the editor ([#1053](https://github.com/
|
|
855
|
-
- Added character jump navigation: Ctrl+] jumps forward to next character, Ctrl+Alt+] jumps backward ([#1074](https://github.com/
|
|
856
|
-
- Editor now jumps to line start when pressing Up at first visual line, and line end when pressing Down at last visual line ([#1050](https://github.com/
|
|
857
|
-
- Optimized image line detection and box rendering cache for better TUI performance ([#1084](https://github.com/
|
|
858
|
-
- Added `set_session_name` RPC command for headless clients to set session display name ([#1075](https://github.com/
|
|
1123
|
+
- Added "none" option to `doubleEscapeAction` setting to disable double-escape behavior entirely ([#973](https://github.com/draht-dev/draht/issues/973) by [@juanibiapina](https://github.com/juanibiapina))
|
|
1124
|
+
- Added OSC 52 clipboard support for SSH/mosh sessions. `/copy` now works over remote connections. ([#1069](https://github.com/draht-dev/draht/issues/1069) by [@gturkoglu](https://github.com/gturkoglu))
|
|
1125
|
+
- Added Vercel AI Gateway routing support via `vercelGatewayRouting` in models.json ([#1051](https://github.com/draht-dev/draht/pull/1051) by [@ben-vargas](https://github.com/ben-vargas))
|
|
1126
|
+
- Added Ctrl+B and Ctrl+F keybindings for cursor word left/right navigation in the editor ([#1053](https://github.com/draht-dev/draht/pull/1053) by [@ninlds](https://github.com/ninlds))
|
|
1127
|
+
- Added character jump navigation: Ctrl+] jumps forward to next character, Ctrl+Alt+] jumps backward ([#1074](https://github.com/draht-dev/draht/pull/1074) by [@Perlence](https://github.com/Perlence))
|
|
1128
|
+
- Editor now jumps to line start when pressing Up at first visual line, and line end when pressing Down at last visual line ([#1050](https://github.com/draht-dev/draht/pull/1050) by [@4h9fbZ](https://github.com/4h9fbZ))
|
|
1129
|
+
- Optimized image line detection and box rendering cache for better TUI performance ([#1084](https://github.com/draht-dev/draht/pull/1084) by [@can1357](https://github.com/can1357))
|
|
1130
|
+
- Added `set_session_name` RPC command for headless clients to set session display name ([#1075](https://github.com/draht-dev/draht/pull/1075) by [@dnouri](https://github.com/dnouri))
|
|
859
1131
|
|
|
860
1132
|
### Fixed
|
|
861
1133
|
|
|
862
|
-
- Read tool now handles macOS filenames with curly quotes (U+2019) and NFD Unicode normalization ([#1078](https://github.com/
|
|
863
|
-
- Respect .gitignore, .ignore, and .fdignore files when scanning package resources for skills, prompts, themes, and extensions ([#1072](https://github.com/
|
|
864
|
-
- Fixed tool call argument defaults when providers omit inputs ([#1065](https://github.com/
|
|
865
|
-
- Invalid JSON in settings.json no longer causes the file to be overwritten with empty settings ([#1054](https://github.com/
|
|
866
|
-
- Config selector now shows folder name for extensions with duplicate display names ([#1064](https://github.com/
|
|
1134
|
+
- Read tool now handles macOS filenames with curly quotes (U+2019) and NFD Unicode normalization ([#1078](https://github.com/draht-dev/draht/issues/1078))
|
|
1135
|
+
- Respect .gitignore, .ignore, and .fdignore files when scanning package resources for skills, prompts, themes, and extensions ([#1072](https://github.com/draht-dev/draht/issues/1072))
|
|
1136
|
+
- Fixed tool call argument defaults when providers omit inputs ([#1065](https://github.com/draht-dev/draht/issues/1065))
|
|
1137
|
+
- Invalid JSON in settings.json no longer causes the file to be overwritten with empty settings ([#1054](https://github.com/draht-dev/draht/issues/1054))
|
|
1138
|
+
- Config selector now shows folder name for extensions with duplicate display names ([#1064](https://github.com/draht-dev/draht/pull/1064) by [@Graffioh](https://github.com/Graffioh))
|
|
867
1139
|
|
|
868
1140
|
## [0.50.3] - 2026-01-29
|
|
869
1141
|
|
|
@@ -891,45 +1163,45 @@
|
|
|
891
1163
|
|
|
892
1164
|
### Added
|
|
893
1165
|
|
|
894
|
-
- Added Hugging Face provider support via OpenAI-compatible Inference Router ([#994](https://github.com/
|
|
895
|
-
- Added `PI_CACHE_RETENTION` environment variable to control cache TTL for Anthropic (5m vs 1h) and OpenAI (in-memory vs 24h). Set to `long` for extended retention. ([#967](https://github.com/
|
|
896
|
-
- Added `autocompleteMaxVisible` setting for configurable autocomplete dropdown height (3-20 items, default 5) ([#972](https://github.com/
|
|
1166
|
+
- Added Hugging Face provider support via OpenAI-compatible Inference Router ([#994](https://github.com/draht-dev/draht/issues/994))
|
|
1167
|
+
- Added `PI_CACHE_RETENTION` environment variable to control cache TTL for Anthropic (5m vs 1h) and OpenAI (in-memory vs 24h). Set to `long` for extended retention. ([#967](https://github.com/draht-dev/draht/issues/967))
|
|
1168
|
+
- Added `autocompleteMaxVisible` setting for configurable autocomplete dropdown height (3-20 items, default 5) ([#972](https://github.com/draht-dev/draht/pull/972) by [@masonc15](https://github.com/masonc15))
|
|
897
1169
|
- Added `/files` command to list all file operations (read, write, edit) in the current session
|
|
898
|
-
- Added shell-style keybindings: `alt+b`/`alt+f` for word navigation, `ctrl+d` for delete character forward (when editor has text) ([#1043](https://github.com/
|
|
899
|
-
- Added `get_commands` RPC method for headless clients to list available commands ([#995](https://github.com/
|
|
1170
|
+
- Added shell-style keybindings: `alt+b`/`alt+f` for word navigation, `ctrl+d` for delete character forward (when editor has text) ([#1043](https://github.com/draht-dev/draht/issues/1043) by [@jasonish](https://github.com/jasonish))
|
|
1171
|
+
- Added `get_commands` RPC method for headless clients to list available commands ([#995](https://github.com/draht-dev/draht/pull/995) by [@dnouri](https://github.com/dnouri))
|
|
900
1172
|
|
|
901
1173
|
### Changed
|
|
902
1174
|
|
|
903
|
-
- Improved `extractCursorPosition` performance in TUI: scans lines in reverse order, early-outs when cursor is above viewport ([#1004](https://github.com/
|
|
904
|
-
- Autocomplete improvements: better handling of partial matches and edge cases ([#1024](https://github.com/
|
|
1175
|
+
- Improved `extractCursorPosition` performance in TUI: scans lines in reverse order, early-outs when cursor is above viewport ([#1004](https://github.com/draht-dev/draht/pull/1004) by [@can1357](https://github.com/can1357))
|
|
1176
|
+
- Autocomplete improvements: better handling of partial matches and edge cases ([#1024](https://github.com/draht-dev/draht/pull/1024) by [@Perlence](https://github.com/Perlence))
|
|
905
1177
|
|
|
906
1178
|
### Fixed
|
|
907
1179
|
|
|
908
1180
|
- External edits to `settings.json` are now preserved when pi reloads or saves unrelated settings. Previously, editing settings.json directly (e.g., removing a package from `packages` array) would be silently reverted on next pi startup when automatic setters like `setLastChangelogVersion()` triggered a save.
|
|
909
|
-
- Fixed custom header not displaying correctly with `quietStartup` enabled ([#1039](https://github.com/
|
|
910
|
-
- Empty array in package filter now disables all resources instead of falling back to manifest defaults ([#1044](https://github.com/
|
|
911
|
-
- Auto-retry counter now resets after each successful LLM response instead of accumulating across tool-use turns ([#1019](https://github.com/
|
|
912
|
-
- Fixed incorrect `.md` file names in warning messages ([#1041](https://github.com/
|
|
913
|
-
- Fixed provider name hidden in footer when terminal is narrow ([#981](https://github.com/
|
|
914
|
-
- Fixed backslash input buffering causing delayed character display in editor ([#1037](https://github.com/
|
|
915
|
-
- Fixed markdown table rendering with proper row dividers and minimum column width ([#997](https://github.com/
|
|
916
|
-
- Fixed OpenAI completions `toolChoice` handling ([#998](https://github.com/
|
|
917
|
-
- Fixed cross-provider handoff failing when switching from OpenAI Responses API providers due to pipe-separated tool call IDs ([#1022](https://github.com/
|
|
918
|
-
- Fixed 429 rate limit errors incorrectly triggering auto-compaction instead of retry with backoff ([#1038](https://github.com/
|
|
919
|
-
- Fixed Anthropic provider to handle `sensitive` stop_reason returned by API ([#978](https://github.com/
|
|
920
|
-
- Fixed DeepSeek API compatibility by detecting `deepseek.com` URLs and disabling unsupported `developer` role ([#1048](https://github.com/
|
|
921
|
-
- Fixed Anthropic provider to preserve input token counts when proxies omit them in `message_delta` events ([#1045](https://github.com/
|
|
1181
|
+
- Fixed custom header not displaying correctly with `quietStartup` enabled ([#1039](https://github.com/draht-dev/draht/pull/1039) by [@tudoroancea](https://github.com/tudoroancea))
|
|
1182
|
+
- Empty array in package filter now disables all resources instead of falling back to manifest defaults ([#1044](https://github.com/draht-dev/draht/issues/1044))
|
|
1183
|
+
- Auto-retry counter now resets after each successful LLM response instead of accumulating across tool-use turns ([#1019](https://github.com/draht-dev/draht/issues/1019))
|
|
1184
|
+
- Fixed incorrect `.md` file names in warning messages ([#1041](https://github.com/draht-dev/draht/issues/1041) by [@llimllib](https://github.com/llimllib))
|
|
1185
|
+
- Fixed provider name hidden in footer when terminal is narrow ([#981](https://github.com/draht-dev/draht/pull/981) by [@Perlence](https://github.com/Perlence))
|
|
1186
|
+
- Fixed backslash input buffering causing delayed character display in editor ([#1037](https://github.com/draht-dev/draht/pull/1037) by [@Perlence](https://github.com/Perlence))
|
|
1187
|
+
- Fixed markdown table rendering with proper row dividers and minimum column width ([#997](https://github.com/draht-dev/draht/pull/997) by [@tmustier](https://github.com/tmustier))
|
|
1188
|
+
- Fixed OpenAI completions `toolChoice` handling ([#998](https://github.com/draht-dev/draht/pull/998) by [@williamtwomey](https://github.com/williamtwomey))
|
|
1189
|
+
- Fixed cross-provider handoff failing when switching from OpenAI Responses API providers due to pipe-separated tool call IDs ([#1022](https://github.com/draht-dev/draht/issues/1022))
|
|
1190
|
+
- Fixed 429 rate limit errors incorrectly triggering auto-compaction instead of retry with backoff ([#1038](https://github.com/draht-dev/draht/issues/1038))
|
|
1191
|
+
- Fixed Anthropic provider to handle `sensitive` stop_reason returned by API ([#978](https://github.com/draht-dev/draht/issues/978))
|
|
1192
|
+
- Fixed DeepSeek API compatibility by detecting `deepseek.com` URLs and disabling unsupported `developer` role ([#1048](https://github.com/draht-dev/draht/issues/1048))
|
|
1193
|
+
- Fixed Anthropic provider to preserve input token counts when proxies omit them in `message_delta` events ([#1045](https://github.com/draht-dev/draht/issues/1045))
|
|
922
1194
|
- Fixed `autocompleteMaxVisible` setting not persisting to `settings.json`
|
|
923
1195
|
|
|
924
1196
|
## [0.50.1] - 2026-01-26
|
|
925
1197
|
|
|
926
1198
|
### Fixed
|
|
927
1199
|
|
|
928
|
-
- Git extension updates now handle force-pushed remotes gracefully instead of failing ([#961](https://github.com/
|
|
929
|
-
- Extension `ctx.newSession({ setup })` now properly syncs agent state and renders messages after setup callback runs ([#968](https://github.com/
|
|
1200
|
+
- Git extension updates now handle force-pushed remotes gracefully instead of failing ([#961](https://github.com/draht-dev/draht/pull/961) by [@aliou](https://github.com/aliou))
|
|
1201
|
+
- Extension `ctx.newSession({ setup })` now properly syncs agent state and renders messages after setup callback runs ([#968](https://github.com/draht-dev/draht/issues/968))
|
|
930
1202
|
- Fixed extension UI bindings not initializing when starting with no extensions, which broke UI methods after `/reload`
|
|
931
|
-
- Fixed `/hotkeys` output to title-case extension hotkeys ([#969](https://github.com/
|
|
932
|
-
- Fixed model catalog generation to exclude deprecated OpenCode Zen models ([#970](https://github.com/
|
|
1203
|
+
- Fixed `/hotkeys` output to title-case extension hotkeys ([#969](https://github.com/draht-dev/draht/pull/969) by [@Perlence](https://github.com/Perlence))
|
|
1204
|
+
- Fixed model catalog generation to exclude deprecated OpenCode Zen models ([#970](https://github.com/draht-dev/draht/pull/970) by [@DanielTatarkin](https://github.com/DanielTatarkin))
|
|
933
1205
|
- Fixed git extension removal to prune empty directories
|
|
934
1206
|
|
|
935
1207
|
## [0.50.0] - 2026-01-26
|
|
@@ -954,125 +1226,125 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
|
|
|
954
1226
|
|
|
955
1227
|
### Breaking Changes
|
|
956
1228
|
|
|
957
|
-
- Header values in `models.json` now resolve environment variables (if a header value matches an env var name, the env var value is used). This may change behavior if a literal header value accidentally matches an env var name. ([#909](https://github.com/
|
|
958
|
-
- External packages (npm/git) are now configured via `packages` array in settings.json instead of `extensions`. Existing npm:/git: entries in `extensions` are auto-migrated. ([#645](https://github.com/
|
|
959
|
-
- Resource loading now uses `ResourceLoader` only and settings.json uses arrays for extensions, skills, prompts, and themes ([#645](https://github.com/
|
|
960
|
-
- Removed `discoverAuthStorage` and `discoverModels` from the SDK. `AuthStorage` and `ModelRegistry` now default to `~/.pi/agent` paths unless you pass an `agentDir` ([#645](https://github.com/
|
|
1229
|
+
- Header values in `models.json` now resolve environment variables (if a header value matches an env var name, the env var value is used). This may change behavior if a literal header value accidentally matches an env var name. ([#909](https://github.com/draht-dev/draht/issues/909))
|
|
1230
|
+
- External packages (npm/git) are now configured via `packages` array in settings.json instead of `extensions`. Existing npm:/git: entries in `extensions` are auto-migrated. ([#645](https://github.com/draht-dev/draht/issues/645))
|
|
1231
|
+
- Resource loading now uses `ResourceLoader` only and settings.json uses arrays for extensions, skills, prompts, and themes ([#645](https://github.com/draht-dev/draht/issues/645))
|
|
1232
|
+
- Removed `discoverAuthStorage` and `discoverModels` from the SDK. `AuthStorage` and `ModelRegistry` now default to `~/.pi/agent` paths unless you pass an `agentDir` ([#645](https://github.com/draht-dev/draht/issues/645))
|
|
961
1233
|
|
|
962
1234
|
### Added
|
|
963
1235
|
|
|
964
|
-
- Session renaming in `/resume` picker via `Ctrl+R` without opening the session ([#863](https://github.com/
|
|
965
|
-
- Session selector keybindings are now configurable ([#948](https://github.com/
|
|
966
|
-
- `disable-model-invocation` frontmatter field for skills to prevent agentic invocation while still allowing explicit `/skill:name` commands ([#927](https://github.com/
|
|
967
|
-
- Exposed `copyToClipboard` utility for extensions ([#926](https://github.com/
|
|
968
|
-
- Skill invocation messages are now collapsible in chat output, showing collapsed by default with skill name and expand hint ([#894](https://github.com/
|
|
969
|
-
- Header values in `models.json` now support environment variables and shell commands, matching `apiKey` resolution ([#909](https://github.com/
|
|
970
|
-
- Added HTTP proxy environment variable support for API requests ([#942](https://github.com/
|
|
971
|
-
- Added OpenRouter provider routing support for custom models via `openRouterRouting` compat field ([#859](https://github.com/
|
|
972
|
-
- Added `azure-openai-responses` provider support for Azure OpenAI Responses API. ([#890](https://github.com/
|
|
973
|
-
- Added changelog link to update notifications ([#925](https://github.com/
|
|
974
|
-
- Added `--verbose` CLI flag to override quietStartup setting ([#906](https://github.com/
|
|
1236
|
+
- Session renaming in `/resume` picker via `Ctrl+R` without opening the session ([#863](https://github.com/draht-dev/draht/pull/863) by [@svkozak](https://github.com/svkozak))
|
|
1237
|
+
- Session selector keybindings are now configurable ([#948](https://github.com/draht-dev/draht/pull/948) by [@aos](https://github.com/aos))
|
|
1238
|
+
- `disable-model-invocation` frontmatter field for skills to prevent agentic invocation while still allowing explicit `/skill:name` commands ([#927](https://github.com/draht-dev/draht/issues/927))
|
|
1239
|
+
- Exposed `copyToClipboard` utility for extensions ([#926](https://github.com/draht-dev/draht/issues/926) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1240
|
+
- Skill invocation messages are now collapsible in chat output, showing collapsed by default with skill name and expand hint ([#894](https://github.com/draht-dev/draht/issues/894))
|
|
1241
|
+
- Header values in `models.json` now support environment variables and shell commands, matching `apiKey` resolution ([#909](https://github.com/draht-dev/draht/issues/909))
|
|
1242
|
+
- Added HTTP proxy environment variable support for API requests ([#942](https://github.com/draht-dev/draht/pull/942) by [@haoqixu](https://github.com/haoqixu))
|
|
1243
|
+
- Added OpenRouter provider routing support for custom models via `openRouterRouting` compat field ([#859](https://github.com/draht-dev/draht/pull/859) by [@v01dpr1mr0s3](https://github.com/v01dpr1mr0s3))
|
|
1244
|
+
- Added `azure-openai-responses` provider support for Azure OpenAI Responses API. ([#890](https://github.com/draht-dev/draht/pull/890) by [@markusylisiurunen](https://github.com/markusylisiurunen))
|
|
1245
|
+
- Added changelog link to update notifications ([#925](https://github.com/draht-dev/draht/pull/925) by [@dannote](https://github.com/dannote))
|
|
1246
|
+
- Added `--verbose` CLI flag to override quietStartup setting ([#906](https://github.com/draht-dev/draht/pull/906) by [@Perlence](https://github.com/Perlence))
|
|
975
1247
|
- `markdown.codeBlockIndent` setting to customize code block indentation in rendered output
|
|
976
|
-
- Extension package management with `pi install`, `pi remove`, `pi update`, and `pi list` commands ([#645](https://github.com/
|
|
977
|
-
- Package filtering: selectively load resources from packages using object form in `packages` array ([#645](https://github.com/
|
|
978
|
-
- Glob pattern support with minimatch in package filters, top-level settings arrays, and pi manifest (e.g., `"!funky.json"`, `"*.ts"`) ([#645](https://github.com/
|
|
979
|
-
- `/reload` command to reload extensions, skills, prompts, and themes ([#645](https://github.com/
|
|
980
|
-
- `pi config` command with TUI to enable/disable package and top-level resources via patterns ([#938](https://github.com/
|
|
981
|
-
- CLI flags for `--skill`, `--prompt-template`, `--theme`, `--no-prompt-templates`, and `--no-themes` ([#645](https://github.com/
|
|
982
|
-
- Package deduplication: if same package appears in global and project settings, project wins ([#645](https://github.com/
|
|
983
|
-
- Unified collision reporting with `ResourceDiagnostic` type for all resource types ([#645](https://github.com/
|
|
1248
|
+
- Extension package management with `pi install`, `pi remove`, `pi update`, and `pi list` commands ([#645](https://github.com/draht-dev/draht/issues/645))
|
|
1249
|
+
- Package filtering: selectively load resources from packages using object form in `packages` array ([#645](https://github.com/draht-dev/draht/issues/645))
|
|
1250
|
+
- Glob pattern support with minimatch in package filters, top-level settings arrays, and pi manifest (e.g., `"!funky.json"`, `"*.ts"`) ([#645](https://github.com/draht-dev/draht/issues/645))
|
|
1251
|
+
- `/reload` command to reload extensions, skills, prompts, and themes ([#645](https://github.com/draht-dev/draht/issues/645))
|
|
1252
|
+
- `pi config` command with TUI to enable/disable package and top-level resources via patterns ([#938](https://github.com/draht-dev/draht/issues/938))
|
|
1253
|
+
- CLI flags for `--skill`, `--prompt-template`, `--theme`, `--no-prompt-templates`, and `--no-themes` ([#645](https://github.com/draht-dev/draht/issues/645))
|
|
1254
|
+
- Package deduplication: if same package appears in global and project settings, project wins ([#645](https://github.com/draht-dev/draht/issues/645))
|
|
1255
|
+
- Unified collision reporting with `ResourceDiagnostic` type for all resource types ([#645](https://github.com/draht-dev/draht/issues/645))
|
|
984
1256
|
- Show provider alongside the model in the footer if multiple providers are available
|
|
985
1257
|
- Custom provider support via `pi.registerProvider()` with `streamSimple` for custom API implementations
|
|
986
1258
|
- Added `custom-provider.ts` example extension demonstrating custom Anthropic provider with OAuth
|
|
987
1259
|
|
|
988
1260
|
### Changed
|
|
989
1261
|
|
|
990
|
-
- `/resume` picker sort toggle moved to `Ctrl+S` to free `Ctrl+R` for rename ([#863](https://github.com/
|
|
991
|
-
- HTML export: clicking a sidebar message now navigates to its newest leaf and scrolls to it, instead of truncating the branch ([#853](https://github.com/
|
|
992
|
-
- HTML export: active path is now visually highlighted with dimmed off-path nodes ([#929](https://github.com/
|
|
1262
|
+
- `/resume` picker sort toggle moved to `Ctrl+S` to free `Ctrl+R` for rename ([#863](https://github.com/draht-dev/draht/pull/863) by [@svkozak](https://github.com/svkozak))
|
|
1263
|
+
- HTML export: clicking a sidebar message now navigates to its newest leaf and scrolls to it, instead of truncating the branch ([#853](https://github.com/draht-dev/draht/pull/853) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1264
|
+
- HTML export: active path is now visually highlighted with dimmed off-path nodes ([#929](https://github.com/draht-dev/draht/pull/929) by [@hewliyang](https://github.com/hewliyang))
|
|
993
1265
|
- Azure OpenAI Responses provider now uses base URL configuration with deployment-aware model mapping and no longer includes service tier handling
|
|
994
|
-
- `/reload` now re-renders the entire scrollback so updated extension components are visible immediately ([#928](https://github.com/
|
|
995
|
-
- Skill, prompt template, and theme discovery now use settings and CLI path arrays instead of legacy filters ([#645](https://github.com/
|
|
1266
|
+
- `/reload` now re-renders the entire scrollback so updated extension components are visible immediately ([#928](https://github.com/draht-dev/draht/pull/928) by [@ferologics](https://github.com/ferologics))
|
|
1267
|
+
- Skill, prompt template, and theme discovery now use settings and CLI path arrays instead of legacy filters ([#645](https://github.com/draht-dev/draht/issues/645))
|
|
996
1268
|
|
|
997
1269
|
### Fixed
|
|
998
1270
|
|
|
999
|
-
- Extension `setWorkingMessage()` calls in `agent_start` handlers now work correctly; previously the message was silently ignored because the loading animation didn't exist yet ([#935](https://github.com/
|
|
1271
|
+
- Extension `setWorkingMessage()` calls in `agent_start` handlers now work correctly; previously the message was silently ignored because the loading animation didn't exist yet ([#935](https://github.com/draht-dev/draht/issues/935))
|
|
1000
1272
|
- Fixed package auto-discovery to respect loader rules, config overrides, and force-exclude patterns
|
|
1001
|
-
- Fixed /reload restoring the correct editor after reload ([#949](https://github.com/
|
|
1002
|
-
- Fixed distributed themes breaking `/export` ([#946](https://github.com/
|
|
1273
|
+
- Fixed /reload restoring the correct editor after reload ([#949](https://github.com/draht-dev/draht/pull/949) by [@Perlence](https://github.com/Perlence))
|
|
1274
|
+
- Fixed distributed themes breaking `/export` ([#946](https://github.com/draht-dev/draht/pull/946) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1003
1275
|
- Fixed startup hints to clarify thinking level selection and expanded thinking guidance
|
|
1004
1276
|
- Fixed SDK initial model resolution to use `findInitialModel` and default to Claude Opus 4.5 for Anthropic models
|
|
1005
1277
|
- Fixed no-models warning to include the `/model` instruction
|
|
1006
1278
|
- Fixed authentication error messages to point to the authentication documentation
|
|
1007
1279
|
- Fixed bash output hint lines to truncate to terminal width
|
|
1008
|
-
- Fixed custom editors to honor the `paddingX` setting ([#936](https://github.com/
|
|
1280
|
+
- Fixed custom editors to honor the `paddingX` setting ([#936](https://github.com/draht-dev/draht/pull/936) by [@Perlence](https://github.com/Perlence))
|
|
1009
1281
|
- Fixed system prompt tool list to show only built-in tools
|
|
1010
1282
|
- Fixed package manager to check npm package versions before using cached copies
|
|
1011
1283
|
- Fixed package manager to run `npm install` after cloning git repositories with a package.json
|
|
1012
1284
|
- Fixed extension provider registrations to apply before model resolution
|
|
1013
|
-
- Fixed editor multi-line insertion handling and lastAction tracking ([#945](https://github.com/
|
|
1014
|
-
- Fixed editor word wrapping to reserve a cursor column ([#934](https://github.com/
|
|
1015
|
-
- Fixed editor word wrapping to use single-pass backtracking for whitespace handling ([#924](https://github.com/
|
|
1285
|
+
- Fixed editor multi-line insertion handling and lastAction tracking ([#945](https://github.com/draht-dev/draht/pull/945) by [@Perlence](https://github.com/Perlence))
|
|
1286
|
+
- Fixed editor word wrapping to reserve a cursor column ([#934](https://github.com/draht-dev/draht/pull/934) by [@Perlence](https://github.com/Perlence))
|
|
1287
|
+
- Fixed editor word wrapping to use single-pass backtracking for whitespace handling ([#924](https://github.com/draht-dev/draht/pull/924) by [@Perlence](https://github.com/Perlence))
|
|
1016
1288
|
- Fixed Kitty image ID allocation and cleanup to prevent image ID collisions
|
|
1017
|
-
- Fixed overlays staying centered after terminal resizes ([#950](https://github.com/
|
|
1289
|
+
- Fixed overlays staying centered after terminal resizes ([#950](https://github.com/draht-dev/draht/pull/950) by [@nicobailon](https://github.com/nicobailon))
|
|
1018
1290
|
- Fixed streaming dispatch to use the model api type instead of hardcoded API defaults
|
|
1019
1291
|
- Fixed Google providers to default tool call arguments to an empty object when omitted
|
|
1020
|
-
- Fixed OpenAI Responses streaming to handle `arguments.done` events on OpenAI-compatible endpoints ([#917](https://github.com/
|
|
1292
|
+
- Fixed OpenAI Responses streaming to handle `arguments.done` events on OpenAI-compatible endpoints ([#917](https://github.com/draht-dev/draht/pull/917) by [@williballenthin](https://github.com/williballenthin))
|
|
1021
1293
|
- Fixed OpenAI Codex Responses tool strictness handling after the shared responses refactor
|
|
1022
1294
|
- Fixed Azure OpenAI Responses streaming to guard deltas before content parts and correct metadata and handoff gating
|
|
1023
|
-
- Fixed OpenAI completions tool-result image batching after consecutive tool results ([#902](https://github.com/
|
|
1024
|
-
- Off-by-one error in bash output "earlier lines" count caused by counting spacing newline as hidden content ([#921](https://github.com/
|
|
1025
|
-
- User package filters now layer on top of manifest filters instead of replacing them ([#645](https://github.com/
|
|
1295
|
+
- Fixed OpenAI completions tool-result image batching after consecutive tool results ([#902](https://github.com/draht-dev/draht/pull/902) by [@terrorobe](https://github.com/terrorobe))
|
|
1296
|
+
- Off-by-one error in bash output "earlier lines" count caused by counting spacing newline as hidden content ([#921](https://github.com/draht-dev/draht/issues/921))
|
|
1297
|
+
- User package filters now layer on top of manifest filters instead of replacing them ([#645](https://github.com/draht-dev/draht/issues/645))
|
|
1026
1298
|
- Auto-retry now handles "terminated" errors from Codex API mid-stream failures
|
|
1027
|
-
- Follow-up queue (Alt+Enter) now sends full paste content instead of `[paste #N ...]` markers ([#912](https://github.com/
|
|
1028
|
-
- Fixed Alt-Up not restoring messages queued during compaction ([#923](https://github.com/
|
|
1029
|
-
- Fixed session corruption when loading empty or invalid session files via `--session` flag ([#932](https://github.com/
|
|
1030
|
-
- Fixed extension shortcuts not firing when extension also uses `setEditorComponent()` ([#947](https://github.com/
|
|
1031
|
-
- Session "modified" time now uses last message timestamp instead of file mtime, so renaming doesn't reorder the recent list ([#863](https://github.com/
|
|
1299
|
+
- Follow-up queue (Alt+Enter) now sends full paste content instead of `[paste #N ...]` markers ([#912](https://github.com/draht-dev/draht/issues/912))
|
|
1300
|
+
- Fixed Alt-Up not restoring messages queued during compaction ([#923](https://github.com/draht-dev/draht/pull/923) by [@aliou](https://github.com/aliou))
|
|
1301
|
+
- Fixed session corruption when loading empty or invalid session files via `--session` flag ([#932](https://github.com/draht-dev/draht/issues/932) by [@armanddp](https://github.com/armanddp))
|
|
1302
|
+
- Fixed extension shortcuts not firing when extension also uses `setEditorComponent()` ([#947](https://github.com/draht-dev/draht/pull/947) by [@Perlence](https://github.com/Perlence))
|
|
1303
|
+
- Session "modified" time now uses last message timestamp instead of file mtime, so renaming doesn't reorder the recent list ([#863](https://github.com/draht-dev/draht/pull/863) by [@svkozak](https://github.com/svkozak))
|
|
1032
1304
|
|
|
1033
1305
|
## [0.49.3] - 2026-01-22
|
|
1034
1306
|
|
|
1035
1307
|
### Added
|
|
1036
1308
|
|
|
1037
|
-
- `markdown.codeBlockIndent` setting to customize code block indentation in rendered output ([#855](https://github.com/
|
|
1038
|
-
- Added `inline-bash.ts` example extension for expanding `!{command}` patterns in prompts ([#881](https://github.com/
|
|
1039
|
-
- Added `antigravity-image-gen.ts` example extension for AI image generation via Google Antigravity ([#893](https://github.com/
|
|
1040
|
-
- Added `PI_SHARE_VIEWER_URL` environment variable for custom share viewer URLs ([#889](https://github.com/
|
|
1041
|
-
- Added Alt+Delete as hotkey for delete word forwards ([#878](https://github.com/
|
|
1309
|
+
- `markdown.codeBlockIndent` setting to customize code block indentation in rendered output ([#855](https://github.com/draht-dev/draht/pull/855) by [@terrorobe](https://github.com/terrorobe))
|
|
1310
|
+
- Added `inline-bash.ts` example extension for expanding `!{command}` patterns in prompts ([#881](https://github.com/draht-dev/draht/pull/881) by [@scutifer](https://github.com/scutifer))
|
|
1311
|
+
- Added `antigravity-image-gen.ts` example extension for AI image generation via Google Antigravity ([#893](https://github.com/draht-dev/draht/pull/893) by [@ben-vargas](https://github.com/ben-vargas))
|
|
1312
|
+
- Added `PI_SHARE_VIEWER_URL` environment variable for custom share viewer URLs ([#889](https://github.com/draht-dev/draht/pull/889) by [@andresaraujo](https://github.com/andresaraujo))
|
|
1313
|
+
- Added Alt+Delete as hotkey for delete word forwards ([#878](https://github.com/draht-dev/draht/pull/878) by [@Perlence](https://github.com/Perlence))
|
|
1042
1314
|
|
|
1043
1315
|
### Changed
|
|
1044
1316
|
|
|
1045
|
-
- Tree selector: changed label filter shortcut from `l` to `Shift+L` so users can search for entries containing "l" ([#861](https://github.com/
|
|
1046
|
-
- Fuzzy matching now scores consecutive matches higher for better search relevance ([#860](https://github.com/
|
|
1317
|
+
- Tree selector: changed label filter shortcut from `l` to `Shift+L` so users can search for entries containing "l" ([#861](https://github.com/draht-dev/draht/pull/861) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1318
|
+
- Fuzzy matching now scores consecutive matches higher for better search relevance ([#860](https://github.com/draht-dev/draht/pull/860) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1047
1319
|
|
|
1048
1320
|
### Fixed
|
|
1049
1321
|
|
|
1050
|
-
- Fixed error messages showing hardcoded `~/.pi/agent/` paths instead of respecting `PI_CODING_AGENT_DIR` ([#887](https://github.com/
|
|
1051
|
-
- Fixed `write` tool not displaying errors in the UI when execution fails ([#856](https://github.com/
|
|
1052
|
-
- Fixed HTML export using default theme instead of user's active theme ([#870](https://github.com/
|
|
1053
|
-
- Show session name in the footer and terminal / tab title ([#876](https://github.com/
|
|
1054
|
-
- Fixed 256color fallback in Terminal.app to prevent color rendering issues ([#869](https://github.com/
|
|
1322
|
+
- Fixed error messages showing hardcoded `~/.pi/agent/` paths instead of respecting `PI_CODING_AGENT_DIR` ([#887](https://github.com/draht-dev/draht/pull/887) by [@aliou](https://github.com/aliou))
|
|
1323
|
+
- Fixed `write` tool not displaying errors in the UI when execution fails ([#856](https://github.com/draht-dev/draht/issues/856))
|
|
1324
|
+
- Fixed HTML export using default theme instead of user's active theme ([#870](https://github.com/draht-dev/draht/pull/870) by [@scutifer](https://github.com/scutifer))
|
|
1325
|
+
- Show session name in the footer and terminal / tab title ([#876](https://github.com/draht-dev/draht/pull/876) by [@scutifer](https://github.com/scutifer))
|
|
1326
|
+
- Fixed 256color fallback in Terminal.app to prevent color rendering issues ([#869](https://github.com/draht-dev/draht/pull/869) by [@Perlence](https://github.com/Perlence))
|
|
1055
1327
|
- Fixed viewport tracking and cursor positioning for overlays and content shrink scenarios
|
|
1056
|
-
- Fixed autocomplete to allow searches with `/` characters (e.g., `folder1/folder2`) ([#882](https://github.com/
|
|
1057
|
-
- Fixed autolinked emails displaying redundant `(mailto:...)` suffix ([#888](https://github.com/
|
|
1328
|
+
- Fixed autocomplete to allow searches with `/` characters (e.g., `folder1/folder2`) ([#882](https://github.com/draht-dev/draht/pull/882) by [@richardgill](https://github.com/richardgill))
|
|
1329
|
+
- Fixed autolinked emails displaying redundant `(mailto:...)` suffix ([#888](https://github.com/draht-dev/draht/pull/888) by [@terrorobe](https://github.com/terrorobe))
|
|
1058
1330
|
- Fixed `@` file autocomplete adding space after directories, breaking continued autocomplete into subdirectories
|
|
1059
1331
|
|
|
1060
1332
|
## [0.49.2] - 2026-01-19
|
|
1061
1333
|
|
|
1062
1334
|
### Added
|
|
1063
1335
|
|
|
1064
|
-
- Added widget placement option for extension widgets via `widgetPlacement` in `pi.addWidget()` ([#850](https://github.com/
|
|
1065
|
-
- Added AWS credential detection for ECS/Kubernetes environments: `AWS_CONTAINER_CREDENTIALS_RELATIVE_URI`, `AWS_CONTAINER_CREDENTIALS_FULL_URI`, `AWS_WEB_IDENTITY_TOKEN_FILE` ([#848](https://github.com/
|
|
1066
|
-
- Add "quiet startup" setting to `/settings` ([#847](https://github.com/
|
|
1336
|
+
- Added widget placement option for extension widgets via `widgetPlacement` in `pi.addWidget()` ([#850](https://github.com/draht-dev/draht/pull/850) by [@marckrenn](https://github.com/marckrenn))
|
|
1337
|
+
- Added AWS credential detection for ECS/Kubernetes environments: `AWS_CONTAINER_CREDENTIALS_RELATIVE_URI`, `AWS_CONTAINER_CREDENTIALS_FULL_URI`, `AWS_WEB_IDENTITY_TOKEN_FILE` ([#848](https://github.com/draht-dev/draht/issues/848))
|
|
1338
|
+
- Add "quiet startup" setting to `/settings` ([#847](https://github.com/draht-dev/draht/pull/847) by [@unexge](https://github.com/unexge))
|
|
1067
1339
|
|
|
1068
1340
|
### Changed
|
|
1069
1341
|
|
|
1070
|
-
- HTML export now includes JSONL download button, jump-to-last-message on click, and fixed missing labels ([#853](https://github.com/
|
|
1071
|
-
- Improved error message for OAuth authentication failures (expired credentials, offline) instead of generic 'No API key found' ([#849](https://github.com/
|
|
1342
|
+
- HTML export now includes JSONL download button, jump-to-last-message on click, and fixed missing labels ([#853](https://github.com/draht-dev/draht/pull/853) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1343
|
+
- Improved error message for OAuth authentication failures (expired credentials, offline) instead of generic 'No API key found' ([#849](https://github.com/draht-dev/draht/pull/849) by [@zedrdave](https://github.com/zedrdave))
|
|
1072
1344
|
|
|
1073
1345
|
### Fixed
|
|
1074
|
-
- Fixed `/model` selector scope toggle so you can switch between all and scoped models when scoped models are saved ([#844](https://github.com/
|
|
1075
|
-
- Fixed OpenAI Responses 400 error "reasoning without following item" when replaying aborted turns ([#838](https://github.com/
|
|
1346
|
+
- Fixed `/model` selector scope toggle so you can switch between all and scoped models when scoped models are saved ([#844](https://github.com/draht-dev/draht/issues/844))
|
|
1347
|
+
- Fixed OpenAI Responses 400 error "reasoning without following item" when replaying aborted turns ([#838](https://github.com/draht-dev/draht/pull/838))
|
|
1076
1348
|
- Fixed pi exiting with code 0 when cancelling resume session selection
|
|
1077
1349
|
|
|
1078
1350
|
### Removed
|
|
@@ -1083,33 +1355,33 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
|
|
|
1083
1355
|
|
|
1084
1356
|
### Added
|
|
1085
1357
|
|
|
1086
|
-
- Added `strictResponsesPairing` compat option for custom OpenAI Responses models on Azure ([#768](https://github.com/
|
|
1087
|
-
- Session selector (`/resume`) now supports path display toggle (`Ctrl+P`) and session deletion (`Ctrl+D`) with inline confirmation ([#816](https://github.com/
|
|
1088
|
-
- Added undo support in interactive mode with Ctrl+- hotkey. ([#831](https://github.com/
|
|
1358
|
+
- Added `strictResponsesPairing` compat option for custom OpenAI Responses models on Azure ([#768](https://github.com/draht-dev/draht/pull/768) by [@prateekmedia](https://github.com/prateekmedia))
|
|
1359
|
+
- Session selector (`/resume`) now supports path display toggle (`Ctrl+P`) and session deletion (`Ctrl+D`) with inline confirmation ([#816](https://github.com/draht-dev/draht/pull/816) by [@w-winter](https://github.com/w-winter))
|
|
1360
|
+
- Added undo support in interactive mode with Ctrl+- hotkey. ([#831](https://github.com/draht-dev/draht/pull/831) by [@Perlence](https://github.com/Perlence))
|
|
1089
1361
|
|
|
1090
1362
|
### Changed
|
|
1091
1363
|
|
|
1092
|
-
- Share URLs now use hash fragments (`#`) instead of query strings (`?`) to prevent session IDs from being sent to buildwithpi.ai ([#829](https://github.com/
|
|
1093
|
-
- API keys in `models.json` can now be retrieved via shell command using `!` prefix (e.g., `"apiKey": "!security find-generic-password -ws 'anthropic'"` for macOS Keychain) ([#762](https://github.com/
|
|
1364
|
+
- Share URLs now use hash fragments (`#`) instead of query strings (`?`) to prevent session IDs from being sent to buildwithpi.ai ([#829](https://github.com/draht-dev/draht/pull/829) by [@terrorobe](https://github.com/terrorobe))
|
|
1365
|
+
- API keys in `models.json` can now be retrieved via shell command using `!` prefix (e.g., `"apiKey": "!security find-generic-password -ws 'anthropic'"` for macOS Keychain) ([#762](https://github.com/draht-dev/draht/pull/762) by [@cv](https://github.com/cv))
|
|
1094
1366
|
|
|
1095
1367
|
### Fixed
|
|
1096
1368
|
|
|
1097
|
-
- Fixed IME candidate window appearing in wrong position when filtering menus with Input Method Editor (e.g., Chinese IME). Components with search inputs now properly propagate focus state for cursor positioning. ([#827](https://github.com/
|
|
1098
|
-
- Fixed extension shortcut conflicts to respect user keybindings when built-in actions are remapped. ([#826](https://github.com/
|
|
1369
|
+
- Fixed IME candidate window appearing in wrong position when filtering menus with Input Method Editor (e.g., Chinese IME). Components with search inputs now properly propagate focus state for cursor positioning. ([#827](https://github.com/draht-dev/draht/issues/827))
|
|
1370
|
+
- Fixed extension shortcut conflicts to respect user keybindings when built-in actions are remapped. ([#826](https://github.com/draht-dev/draht/pull/826) by [@richardgill](https://github.com/richardgill))
|
|
1099
1371
|
- Fixed photon WASM loading in standalone compiled binaries.
|
|
1100
|
-
- Fixed tool call ID normalization for cross-provider handoffs (e.g., Codex to Antigravity Claude) ([#821](https://github.com/
|
|
1372
|
+
- Fixed tool call ID normalization for cross-provider handoffs (e.g., Codex to Antigravity Claude) ([#821](https://github.com/draht-dev/draht/issues/821))
|
|
1101
1373
|
|
|
1102
1374
|
## [0.49.0] - 2026-01-17
|
|
1103
1375
|
|
|
1104
1376
|
### Added
|
|
1105
1377
|
|
|
1106
|
-
- `pi.setLabel(entryId, label)` in ExtensionAPI for setting per-entry labels from extensions ([#806](https://github.com/
|
|
1107
|
-
- Export `keyHint`, `appKeyHint`, `editorKey`, `appKey`, `rawKeyHint` for extensions to format keybinding hints consistently ([#802](https://github.com/
|
|
1108
|
-
- Exported `VERSION` from the package index and updated the custom-header example. ([#798](https://github.com/
|
|
1109
|
-
- Added `showHardwareCursor` setting to control cursor visibility while still positioning it for IME support. ([#800](https://github.com/
|
|
1110
|
-
- Added Emacs-style kill ring editing with yank and yank-pop keybindings, plus legacy Alt+letter handling and Alt+D delete word forward support in the interactive editor. ([#810](https://github.com/
|
|
1378
|
+
- `pi.setLabel(entryId, label)` in ExtensionAPI for setting per-entry labels from extensions ([#806](https://github.com/draht-dev/draht/issues/806))
|
|
1379
|
+
- Export `keyHint`, `appKeyHint`, `editorKey`, `appKey`, `rawKeyHint` for extensions to format keybinding hints consistently ([#802](https://github.com/draht-dev/draht/pull/802) by [@dannote](https://github.com/dannote))
|
|
1380
|
+
- Exported `VERSION` from the package index and updated the custom-header example. ([#798](https://github.com/draht-dev/draht/pull/798) by [@tallshort](https://github.com/tallshort))
|
|
1381
|
+
- Added `showHardwareCursor` setting to control cursor visibility while still positioning it for IME support. ([#800](https://github.com/draht-dev/draht/pull/800) by [@ghoulr](https://github.com/ghoulr))
|
|
1382
|
+
- Added Emacs-style kill ring editing with yank and yank-pop keybindings, plus legacy Alt+letter handling and Alt+D delete word forward support in the interactive editor. ([#810](https://github.com/draht-dev/draht/pull/810) by [@Perlence](https://github.com/Perlence))
|
|
1111
1383
|
- Added `ctx.compact()` and `ctx.getContextUsage()` to extension contexts for programmatic compaction and context usage checks.
|
|
1112
|
-
- Added documentation for delete word forward and kill ring keybindings in interactive mode. ([#810](https://github.com/
|
|
1384
|
+
- Added documentation for delete word forward and kill ring keybindings in interactive mode. ([#810](https://github.com/draht-dev/draht/pull/810) by [@Perlence](https://github.com/Perlence))
|
|
1113
1385
|
|
|
1114
1386
|
### Changed
|
|
1115
1387
|
|
|
@@ -1118,10 +1390,10 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
|
|
|
1118
1390
|
|
|
1119
1391
|
### Fixed
|
|
1120
1392
|
|
|
1121
|
-
- Fixed photon module failing to load in ESM context with "require is not defined" error ([#795](https://github.com/
|
|
1393
|
+
- Fixed photon module failing to load in ESM context with "require is not defined" error ([#795](https://github.com/draht-dev/draht/pull/795) by [@dannote](https://github.com/dannote))
|
|
1122
1394
|
- Fixed compaction UI not showing when extensions trigger compaction.
|
|
1123
|
-
- Fixed orphaned tool results after errored assistant messages causing Codex API errors. When an assistant message has `stopReason: "error"`, its tool calls are now excluded from pending tool tracking, preventing synthetic tool results from being generated for calls that will be dropped by provider-specific converters. ([#812](https://github.com/
|
|
1124
|
-
- Fixed Bedrock Claude max_tokens handling to always exceed thinking budget tokens, preventing compaction failures. ([#797](https://github.com/
|
|
1395
|
+
- Fixed orphaned tool results after errored assistant messages causing Codex API errors. When an assistant message has `stopReason: "error"`, its tool calls are now excluded from pending tool tracking, preventing synthetic tool results from being generated for calls that will be dropped by provider-specific converters. ([#812](https://github.com/draht-dev/draht/issues/812))
|
|
1396
|
+
- Fixed Bedrock Claude max_tokens handling to always exceed thinking budget tokens, preventing compaction failures. ([#797](https://github.com/draht-dev/draht/pull/797) by [@pjtf93](https://github.com/pjtf93))
|
|
1125
1397
|
- Fixed Claude Code tool name normalization to match the Claude Code tool list case-insensitively and remove invalid mappings.
|
|
1126
1398
|
|
|
1127
1399
|
### Removed
|
|
@@ -1132,28 +1404,28 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
|
|
|
1132
1404
|
|
|
1133
1405
|
### Added
|
|
1134
1406
|
|
|
1135
|
-
- Added `quietStartup` setting to silence startup output (version header, loaded context info, model scope line). Changelog notifications are still shown. ([#777](https://github.com/
|
|
1407
|
+
- Added `quietStartup` setting to silence startup output (version header, loaded context info, model scope line). Changelog notifications are still shown. ([#777](https://github.com/draht-dev/draht/pull/777) by [@ribelo](https://github.com/ribelo))
|
|
1136
1408
|
- Added `editorPaddingX` setting for horizontal padding in input editor (0-3, default: 0)
|
|
1137
|
-
- Added `shellCommandPrefix` setting to prepend commands to every bash execution, enabling alias expansion in non-interactive shells (e.g., `"shellCommandPrefix": "shopt -s expand_aliases"`) ([#790](https://github.com/
|
|
1138
|
-
- Added bash-style argument slicing for prompt templates ([#770](https://github.com/
|
|
1139
|
-
- Extension commands can provide argument auto-completions via `getArgumentCompletions` in `pi.registerCommand()` ([#775](https://github.com/
|
|
1140
|
-
- Bash tool now displays the timeout value in the UI when a timeout is set ([#780](https://github.com/
|
|
1141
|
-
- Export `getShellConfig` for extensions to detect user's shell environment ([#766](https://github.com/
|
|
1142
|
-
- Added `thinkingText` and `selectedBg` to theme schema ([#763](https://github.com/
|
|
1143
|
-
- `navigateTree()` now supports `replaceInstructions` option to replace the default summarization prompt entirely, and `label` option to attach a label to the branch summary entry ([#787](https://github.com/
|
|
1144
|
-
|
|
1145
|
-
### Fixed
|
|
1146
|
-
|
|
1147
|
-
- Fixed crash during auto-compaction when summarization fails (e.g., quota exceeded). Now displays error message instead of crashing ([#792](https://github.com/
|
|
1148
|
-
- Fixed `--session <UUID>` to search globally across projects if not found locally, with option to fork sessions from other projects ([#785](https://github.com/
|
|
1149
|
-
- Fixed standalone binary WASM loading on Linux ([#784](https://github.com/
|
|
1150
|
-
- Fixed string numbers in tool arguments not being coerced to numbers during validation ([#786](https://github.com/
|
|
1151
|
-
- Fixed `--no-extensions` flag not preventing extension discovery ([#776](https://github.com/
|
|
1152
|
-
- Fixed extension messages rendering twice on startup when `pi.sendMessage({ display: true })` is called during `session_start` ([#765](https://github.com/
|
|
1153
|
-
- Fixed `PI_CODING_AGENT_DIR` env var not expanding tilde (`~`) to home directory ([#778](https://github.com/
|
|
1154
|
-
- Fixed session picker hint text overflow ([#764](https://github.com/
|
|
1155
|
-
- Fixed Kitty keyboard protocol shifted symbol keys (e.g., `@`, `?`) not working in editor ([#779](https://github.com/
|
|
1156
|
-
- Fixed Bedrock tool call IDs causing API errors from invalid characters ([#781](https://github.com/
|
|
1409
|
+
- Added `shellCommandPrefix` setting to prepend commands to every bash execution, enabling alias expansion in non-interactive shells (e.g., `"shellCommandPrefix": "shopt -s expand_aliases"`) ([#790](https://github.com/draht-dev/draht/pull/790) by [@richardgill](https://github.com/richardgill))
|
|
1410
|
+
- Added bash-style argument slicing for prompt templates ([#770](https://github.com/draht-dev/draht/pull/770) by [@airtonix](https://github.com/airtonix))
|
|
1411
|
+
- Extension commands can provide argument auto-completions via `getArgumentCompletions` in `pi.registerCommand()` ([#775](https://github.com/draht-dev/draht/pull/775) by [@ribelo](https://github.com/ribelo))
|
|
1412
|
+
- Bash tool now displays the timeout value in the UI when a timeout is set ([#780](https://github.com/draht-dev/draht/pull/780) by [@dannote](https://github.com/dannote))
|
|
1413
|
+
- Export `getShellConfig` for extensions to detect user's shell environment ([#766](https://github.com/draht-dev/draht/pull/766) by [@dannote](https://github.com/dannote))
|
|
1414
|
+
- Added `thinkingText` and `selectedBg` to theme schema ([#763](https://github.com/draht-dev/draht/pull/763) by [@scutifer](https://github.com/scutifer))
|
|
1415
|
+
- `navigateTree()` now supports `replaceInstructions` option to replace the default summarization prompt entirely, and `label` option to attach a label to the branch summary entry ([#787](https://github.com/draht-dev/draht/pull/787) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1416
|
+
|
|
1417
|
+
### Fixed
|
|
1418
|
+
|
|
1419
|
+
- Fixed crash during auto-compaction when summarization fails (e.g., quota exceeded). Now displays error message instead of crashing ([#792](https://github.com/draht-dev/draht/issues/792))
|
|
1420
|
+
- Fixed `--session <UUID>` to search globally across projects if not found locally, with option to fork sessions from other projects ([#785](https://github.com/draht-dev/draht/pull/785) by [@ribelo](https://github.com/ribelo))
|
|
1421
|
+
- Fixed standalone binary WASM loading on Linux ([#784](https://github.com/draht-dev/draht/issues/784))
|
|
1422
|
+
- Fixed string numbers in tool arguments not being coerced to numbers during validation ([#786](https://github.com/draht-dev/draht/pull/786) by [@dannote](https://github.com/dannote))
|
|
1423
|
+
- Fixed `--no-extensions` flag not preventing extension discovery ([#776](https://github.com/draht-dev/draht/issues/776))
|
|
1424
|
+
- Fixed extension messages rendering twice on startup when `pi.sendMessage({ display: true })` is called during `session_start` ([#765](https://github.com/draht-dev/draht/pull/765) by [@dannote](https://github.com/dannote))
|
|
1425
|
+
- Fixed `PI_CODING_AGENT_DIR` env var not expanding tilde (`~`) to home directory ([#778](https://github.com/draht-dev/draht/pull/778) by [@aliou](https://github.com/aliou))
|
|
1426
|
+
- Fixed session picker hint text overflow ([#764](https://github.com/draht-dev/draht/issues/764))
|
|
1427
|
+
- Fixed Kitty keyboard protocol shifted symbol keys (e.g., `@`, `?`) not working in editor ([#779](https://github.com/draht-dev/draht/pull/779) by [@iamd3vil](https://github.com/iamd3vil))
|
|
1428
|
+
- Fixed Bedrock tool call IDs causing API errors from invalid characters ([#781](https://github.com/draht-dev/draht/pull/781) by [@pjtf93](https://github.com/pjtf93))
|
|
1157
1429
|
|
|
1158
1430
|
### Changed
|
|
1159
1431
|
|
|
@@ -1163,16 +1435,16 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
|
|
|
1163
1435
|
|
|
1164
1436
|
### Breaking Changes
|
|
1165
1437
|
|
|
1166
|
-
- Extensions using `Editor` directly must now pass `TUI` as the first constructor argument: `new Editor(tui, theme)`. The `tui` parameter is available in extension factory functions. ([#732](https://github.com/
|
|
1438
|
+
- Extensions using `Editor` directly must now pass `TUI` as the first constructor argument: `new Editor(tui, theme)`. The `tui` parameter is available in extension factory functions. ([#732](https://github.com/draht-dev/draht/issues/732))
|
|
1167
1439
|
|
|
1168
1440
|
### Added
|
|
1169
1441
|
|
|
1170
|
-
- **OpenAI Codex official support**: Full compatibility with OpenAI's Codex CLI models (`gpt-5.1`, `gpt-5.2`, `gpt-5.1-codex-mini`, `gpt-5.2-codex`). Features include static system prompt for OpenAI allowlisting, prompt caching via session ID, and reasoning signature retention across turns. Set `OPENAI_API_KEY` and use `--provider openai-codex` or select a Codex model. ([#737](https://github.com/
|
|
1442
|
+
- **OpenAI Codex official support**: Full compatibility with OpenAI's Codex CLI models (`gpt-5.1`, `gpt-5.2`, `gpt-5.1-codex-mini`, `gpt-5.2-codex`). Features include static system prompt for OpenAI allowlisting, prompt caching via session ID, and reasoning signature retention across turns. Set `OPENAI_API_KEY` and use `--provider openai-codex` or select a Codex model. ([#737](https://github.com/draht-dev/draht/pull/737))
|
|
1171
1443
|
- `pi-internal://` URL scheme in read tool for accessing internal documentation. The model can read files from the coding-agent package (README, docs, examples) to learn about extending pi.
|
|
1172
|
-
- New `input` event in extension system for intercepting, transforming, or handling user input before the agent processes it. Supports three result types: `continue` (pass through), `transform` (modify text/images), `handled` (respond without LLM). Handlers chain transforms and short-circuit on handled. ([#761](https://github.com/
|
|
1173
|
-
- Extension example: `input-transform.ts` demonstrating input interception patterns (quick mode, instant commands, source routing) ([#761](https://github.com/
|
|
1174
|
-
- Custom tool HTML export: extensions with `renderCall`/`renderResult` now render in `/share` and `/export` output with ANSI-to-HTML color conversion ([#702](https://github.com/
|
|
1175
|
-
- Direct filter shortcuts in Tree mode: Ctrl+D (default), Ctrl+T (no-tools), Ctrl+U (user-only), Ctrl+L (labeled-only), Ctrl+A (all) ([#747](https://github.com/
|
|
1444
|
+
- New `input` event in extension system for intercepting, transforming, or handling user input before the agent processes it. Supports three result types: `continue` (pass through), `transform` (modify text/images), `handled` (respond without LLM). Handlers chain transforms and short-circuit on handled. ([#761](https://github.com/draht-dev/draht/pull/761) by [@nicobailon](https://github.com/nicobailon))
|
|
1445
|
+
- Extension example: `input-transform.ts` demonstrating input interception patterns (quick mode, instant commands, source routing) ([#761](https://github.com/draht-dev/draht/pull/761) by [@nicobailon](https://github.com/nicobailon))
|
|
1446
|
+
- Custom tool HTML export: extensions with `renderCall`/`renderResult` now render in `/share` and `/export` output with ANSI-to-HTML color conversion ([#702](https://github.com/draht-dev/draht/pull/702) by [@aliou](https://github.com/aliou))
|
|
1447
|
+
- Direct filter shortcuts in Tree mode: Ctrl+D (default), Ctrl+T (no-tools), Ctrl+U (user-only), Ctrl+L (labeled-only), Ctrl+A (all) ([#747](https://github.com/draht-dev/draht/pull/747) by [@kaofelix](https://github.com/kaofelix))
|
|
1176
1448
|
|
|
1177
1449
|
### Changed
|
|
1178
1450
|
|
|
@@ -1180,58 +1452,58 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
|
|
|
1180
1452
|
|
|
1181
1453
|
### Fixed
|
|
1182
1454
|
|
|
1183
|
-
- Editor no longer corrupts terminal display when loading large prompts via `setEditorText`. Content now scrolls vertically with indicators showing lines above/below the viewport. ([#732](https://github.com/
|
|
1184
|
-
- Piped stdin now works correctly: `echo foo | pi` is equivalent to `pi -p foo`. When stdin is piped, print mode is automatically enabled since interactive mode requires a TTY ([#708](https://github.com/
|
|
1185
|
-
- Session tree now preserves branch connectors and indentation when filters hide intermediate entries so descendants attach to the nearest visible ancestor and sibling branches align. Fixed in both TUI and HTML export ([#739](https://github.com/
|
|
1186
|
-
- Added `upstream connect`, `connection refused`, and `reset before headers` patterns to auto-retry error detection ([#733](https://github.com/
|
|
1187
|
-
- Multi-line YAML frontmatter in skills and prompt templates now parses correctly. Centralized frontmatter parsing using the `yaml` library. ([#728](https://github.com/
|
|
1188
|
-
- `ctx.shutdown()` now waits for pending UI renders to complete before exiting, ensuring notifications and final output are visible ([#756](https://github.com/
|
|
1189
|
-
- OpenAI Codex provider now retries on transient errors (429, 5xx, connection failures) with exponential backoff ([#733](https://github.com/
|
|
1455
|
+
- Editor no longer corrupts terminal display when loading large prompts via `setEditorText`. Content now scrolls vertically with indicators showing lines above/below the viewport. ([#732](https://github.com/draht-dev/draht/issues/732))
|
|
1456
|
+
- Piped stdin now works correctly: `echo foo | pi` is equivalent to `pi -p foo`. When stdin is piped, print mode is automatically enabled since interactive mode requires a TTY ([#708](https://github.com/draht-dev/draht/issues/708))
|
|
1457
|
+
- Session tree now preserves branch connectors and indentation when filters hide intermediate entries so descendants attach to the nearest visible ancestor and sibling branches align. Fixed in both TUI and HTML export ([#739](https://github.com/draht-dev/draht/pull/739) by [@w-winter](https://github.com/w-winter))
|
|
1458
|
+
- Added `upstream connect`, `connection refused`, and `reset before headers` patterns to auto-retry error detection ([#733](https://github.com/draht-dev/draht/issues/733))
|
|
1459
|
+
- Multi-line YAML frontmatter in skills and prompt templates now parses correctly. Centralized frontmatter parsing using the `yaml` library. ([#728](https://github.com/draht-dev/draht/pull/728) by [@richardgill](https://github.com/richardgill))
|
|
1460
|
+
- `ctx.shutdown()` now waits for pending UI renders to complete before exiting, ensuring notifications and final output are visible ([#756](https://github.com/draht-dev/draht/issues/756))
|
|
1461
|
+
- OpenAI Codex provider now retries on transient errors (429, 5xx, connection failures) with exponential backoff ([#733](https://github.com/draht-dev/draht/issues/733))
|
|
1190
1462
|
|
|
1191
1463
|
## [0.46.0] - 2026-01-15
|
|
1192
1464
|
|
|
1193
1465
|
### Fixed
|
|
1194
1466
|
|
|
1195
|
-
- Scoped models (`--models` or `enabledModels`) now remember the last selected model across sessions instead of always starting with the first model in the scope ([#736](https://github.com/
|
|
1196
|
-
- Show `bun install` instead of `npm install` in update notification when running under Bun ([#714](https://github.com/
|
|
1197
|
-
- `/skill` prompts now include the skill path ([#711](https://github.com/
|
|
1198
|
-
- Use configurable `expandTools` keybinding instead of hardcoded Ctrl+O ([#717](https://github.com/
|
|
1199
|
-
- Compaction turn prefix summaries now merge correctly ([#738](https://github.com/
|
|
1200
|
-
- Avoid unsigned Gemini 3 tool calls ([#741](https://github.com/
|
|
1201
|
-
- Fixed signature support for non-Anthropic models in Amazon Bedrock provider ([#727](https://github.com/
|
|
1202
|
-
- Keyboard shortcuts (Ctrl+C, Ctrl+D, etc.) now work on non-Latin keyboard layouts (Russian, Ukrainian, Bulgarian, etc.) in terminals supporting Kitty keyboard protocol with alternate key reporting ([#718](https://github.com/
|
|
1467
|
+
- Scoped models (`--models` or `enabledModels`) now remember the last selected model across sessions instead of always starting with the first model in the scope ([#736](https://github.com/draht-dev/draht/pull/736) by [@ogulcancelik](https://github.com/ogulcancelik))
|
|
1468
|
+
- Show `bun install` instead of `npm install` in update notification when running under Bun ([#714](https://github.com/draht-dev/draht/pull/714) by [@dannote](https://github.com/dannote))
|
|
1469
|
+
- `/skill` prompts now include the skill path ([#711](https://github.com/draht-dev/draht/pull/711) by [@jblwilliams](https://github.com/jblwilliams))
|
|
1470
|
+
- Use configurable `expandTools` keybinding instead of hardcoded Ctrl+O ([#717](https://github.com/draht-dev/draht/pull/717) by [@dannote](https://github.com/dannote))
|
|
1471
|
+
- Compaction turn prefix summaries now merge correctly ([#738](https://github.com/draht-dev/draht/pull/738) by [@vsabavat](https://github.com/vsabavat))
|
|
1472
|
+
- Avoid unsigned Gemini 3 tool calls ([#741](https://github.com/draht-dev/draht/pull/741) by [@roshanasingh4](https://github.com/roshanasingh4))
|
|
1473
|
+
- Fixed signature support for non-Anthropic models in Amazon Bedrock provider ([#727](https://github.com/draht-dev/draht/pull/727) by [@unexge](https://github.com/unexge))
|
|
1474
|
+
- Keyboard shortcuts (Ctrl+C, Ctrl+D, etc.) now work on non-Latin keyboard layouts (Russian, Ukrainian, Bulgarian, etc.) in terminals supporting Kitty keyboard protocol with alternate key reporting ([#718](https://github.com/draht-dev/draht/pull/718) by [@dannote](https://github.com/dannote))
|
|
1203
1475
|
|
|
1204
1476
|
### Added
|
|
1205
1477
|
|
|
1206
|
-
- Edit tool now uses fuzzy matching as fallback when exact match fails, tolerating trailing whitespace, smart quotes, Unicode dashes, and special spaces ([#713](https://github.com/
|
|
1207
|
-
- Support `APPEND_SYSTEM.md` to append instructions to the system prompt ([#716](https://github.com/
|
|
1208
|
-
- Session picker search: Ctrl+R toggles sorting between fuzzy match (default) and most recent; supports quoted phrase matching and `re:` regex mode ([#731](https://github.com/
|
|
1209
|
-
- Export `getAgentDir` for extensions ([#749](https://github.com/
|
|
1210
|
-
- Show loaded prompt templates on startup ([#743](https://github.com/
|
|
1211
|
-
- MiniMax China (`minimax-cn`) provider support ([#725](https://github.com/
|
|
1212
|
-
- `gpt-5.2-codex` models for GitHub Copilot and OpenCode Zen providers ([#734](https://github.com/
|
|
1478
|
+
- Edit tool now uses fuzzy matching as fallback when exact match fails, tolerating trailing whitespace, smart quotes, Unicode dashes, and special spaces ([#713](https://github.com/draht-dev/draht/pull/713) by [@dannote](https://github.com/dannote))
|
|
1479
|
+
- Support `APPEND_SYSTEM.md` to append instructions to the system prompt ([#716](https://github.com/draht-dev/draht/pull/716) by [@tallshort](https://github.com/tallshort))
|
|
1480
|
+
- Session picker search: Ctrl+R toggles sorting between fuzzy match (default) and most recent; supports quoted phrase matching and `re:` regex mode ([#731](https://github.com/draht-dev/draht/pull/731) by [@ogulcancelik](https://github.com/ogulcancelik))
|
|
1481
|
+
- Export `getAgentDir` for extensions ([#749](https://github.com/draht-dev/draht/pull/749) by [@dannote](https://github.com/dannote))
|
|
1482
|
+
- Show loaded prompt templates on startup ([#743](https://github.com/draht-dev/draht/pull/743) by [@tallshort](https://github.com/tallshort))
|
|
1483
|
+
- MiniMax China (`minimax-cn`) provider support ([#725](https://github.com/draht-dev/draht/pull/725) by [@tallshort](https://github.com/tallshort))
|
|
1484
|
+
- `gpt-5.2-codex` models for GitHub Copilot and OpenCode Zen providers ([#734](https://github.com/draht-dev/draht/pull/734) by [@aadishv](https://github.com/aadishv))
|
|
1213
1485
|
|
|
1214
1486
|
### Changed
|
|
1215
1487
|
|
|
1216
|
-
- Replaced `wasm-vips` with `@silvia-odwyer/photon-node` for image processing ([#710](https://github.com/
|
|
1217
|
-
- Extension example: `plan-mode/` shortcut changed from Shift+P to Ctrl+Alt+P to avoid conflict with typing capital P ([#746](https://github.com/
|
|
1218
|
-
- UI keybinding hints now respect configured keybindings across components ([#724](https://github.com/
|
|
1219
|
-
- CLI process title is now set to `pi` for easier process identification ([#742](https://github.com/
|
|
1488
|
+
- Replaced `wasm-vips` with `@silvia-odwyer/photon-node` for image processing ([#710](https://github.com/draht-dev/draht/pull/710) by [@can1357](https://github.com/can1357))
|
|
1489
|
+
- Extension example: `plan-mode/` shortcut changed from Shift+P to Ctrl+Alt+P to avoid conflict with typing capital P ([#746](https://github.com/draht-dev/draht/pull/746) by [@ferologics](https://github.com/ferologics))
|
|
1490
|
+
- UI keybinding hints now respect configured keybindings across components ([#724](https://github.com/draht-dev/draht/pull/724) by [@dannote](https://github.com/dannote))
|
|
1491
|
+
- CLI process title is now set to `pi` for easier process identification ([#742](https://github.com/draht-dev/draht/pull/742) by [@richardgill](https://github.com/richardgill))
|
|
1220
1492
|
|
|
1221
1493
|
## [0.45.7] - 2026-01-13
|
|
1222
1494
|
|
|
1223
1495
|
### Added
|
|
1224
1496
|
|
|
1225
|
-
- Exported `highlightCode` and `getLanguageFromPath` for extensions ([#703](https://github.com/
|
|
1497
|
+
- Exported `highlightCode` and `getLanguageFromPath` for extensions ([#703](https://github.com/draht-dev/draht/pull/703) by [@dannote](https://github.com/dannote))
|
|
1226
1498
|
|
|
1227
1499
|
## [0.45.6] - 2026-01-13
|
|
1228
1500
|
|
|
1229
1501
|
### Added
|
|
1230
1502
|
|
|
1231
|
-
- `ctx.ui.custom()` now accepts `overlayOptions` for overlay positioning and sizing (anchor, margins, offsets, percentages, absolute positioning) ([#667](https://github.com/
|
|
1232
|
-
- `ctx.ui.custom()` now accepts `onHandle` callback to receive the `OverlayHandle` for controlling overlay visibility ([#667](https://github.com/
|
|
1233
|
-
- Extension example: `overlay-qa-tests.ts` with 10 commands for testing overlay positioning, animation, and toggle scenarios ([#667](https://github.com/
|
|
1234
|
-
- Extension example: `doom-overlay/` - DOOM game running as an overlay at 35 FPS (auto-downloads WAD on first run) ([#667](https://github.com/
|
|
1503
|
+
- `ctx.ui.custom()` now accepts `overlayOptions` for overlay positioning and sizing (anchor, margins, offsets, percentages, absolute positioning) ([#667](https://github.com/draht-dev/draht/pull/667) by [@nicobailon](https://github.com/nicobailon))
|
|
1504
|
+
- `ctx.ui.custom()` now accepts `onHandle` callback to receive the `OverlayHandle` for controlling overlay visibility ([#667](https://github.com/draht-dev/draht/pull/667) by [@nicobailon](https://github.com/nicobailon))
|
|
1505
|
+
- Extension example: `overlay-qa-tests.ts` with 10 commands for testing overlay positioning, animation, and toggle scenarios ([#667](https://github.com/draht-dev/draht/pull/667) by [@nicobailon](https://github.com/nicobailon))
|
|
1506
|
+
- Extension example: `doom-overlay/` - DOOM game running as an overlay at 35 FPS (auto-downloads WAD on first run) ([#667](https://github.com/draht-dev/draht/pull/667) by [@nicobailon](https://github.com/nicobailon))
|
|
1235
1507
|
|
|
1236
1508
|
## [0.45.5] - 2026-01-13
|
|
1237
1509
|
|
|
@@ -1244,28 +1516,28 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
|
|
|
1244
1516
|
### Changed
|
|
1245
1517
|
|
|
1246
1518
|
- Light theme colors adjusted for WCAG AA compliance (4.5:1 contrast ratio against white backgrounds)
|
|
1247
|
-
- Replaced `sharp` with `wasm-vips` for image processing (resize, PNG conversion). Eliminates native build requirements that caused installation failures on some systems. ([#696](https://github.com/
|
|
1519
|
+
- Replaced `sharp` with `wasm-vips` for image processing (resize, PNG conversion). Eliminates native build requirements that caused installation failures on some systems. ([#696](https://github.com/draht-dev/draht/issues/696))
|
|
1248
1520
|
|
|
1249
1521
|
### Added
|
|
1250
1522
|
|
|
1251
|
-
- Extension example: `summarize.ts` for summarizing conversations using custom UI and an external model ([#684](https://github.com/
|
|
1252
|
-
- Extension example: `question.ts` enhanced with custom UI for asking user questions ([#693](https://github.com/
|
|
1253
|
-
- Extension example: `plan-mode/` enhanced with explicit step tracking and progress widget ([#694](https://github.com/
|
|
1254
|
-
- Extension example: `questionnaire.ts` for multi-question input with tab bar navigation ([#695](https://github.com/
|
|
1255
|
-
- Experimental Vercel AI Gateway provider support: set `AI_GATEWAY_API_KEY` and use `--provider vercel-ai-gateway`. Token usage is currently reported incorrectly by Anthropic Messages compatible endpoint. ([#689](https://github.com/
|
|
1523
|
+
- Extension example: `summarize.ts` for summarizing conversations using custom UI and an external model ([#684](https://github.com/draht-dev/draht/pull/684) by [@scutifer](https://github.com/scutifer))
|
|
1524
|
+
- Extension example: `question.ts` enhanced with custom UI for asking user questions ([#693](https://github.com/draht-dev/draht/pull/693) by [@ferologics](https://github.com/ferologics))
|
|
1525
|
+
- Extension example: `plan-mode/` enhanced with explicit step tracking and progress widget ([#694](https://github.com/draht-dev/draht/pull/694) by [@ferologics](https://github.com/ferologics))
|
|
1526
|
+
- Extension example: `questionnaire.ts` for multi-question input with tab bar navigation ([#695](https://github.com/draht-dev/draht/pull/695) by [@ferologics](https://github.com/ferologics))
|
|
1527
|
+
- Experimental Vercel AI Gateway provider support: set `AI_GATEWAY_API_KEY` and use `--provider vercel-ai-gateway`. Token usage is currently reported incorrectly by Anthropic Messages compatible endpoint. ([#689](https://github.com/draht-dev/draht/pull/689) by [@timolins](https://github.com/timolins))
|
|
1256
1528
|
|
|
1257
1529
|
### Fixed
|
|
1258
1530
|
|
|
1259
|
-
- Fix API key resolution after model switches by using provider argument ([#691](https://github.com/
|
|
1260
|
-
- Fixed z.ai thinking/reasoning: thinking toggle now correctly enables/disables thinking for z.ai models ([#688](https://github.com/
|
|
1261
|
-
- Fixed extension loading in compiled Bun binary: extensions with local file imports now work correctly. Updated `@mariozechner/jiti` to v2.6.5 which bundles babel for Bun binary compatibility. ([#681](https://github.com/
|
|
1262
|
-
- Fixed theme loading when installed via mise: use wrapper directory in release tarballs for compatibility with mise's `strip_components=1` extraction. ([#681](https://github.com/
|
|
1531
|
+
- Fix API key resolution after model switches by using provider argument ([#691](https://github.com/draht-dev/draht/pull/691) by [@joshp123](https://github.com/joshp123))
|
|
1532
|
+
- Fixed z.ai thinking/reasoning: thinking toggle now correctly enables/disables thinking for z.ai models ([#688](https://github.com/draht-dev/draht/issues/688))
|
|
1533
|
+
- Fixed extension loading in compiled Bun binary: extensions with local file imports now work correctly. Updated `@mariozechner/jiti` to v2.6.5 which bundles babel for Bun binary compatibility. ([#681](https://github.com/draht-dev/draht/issues/681))
|
|
1534
|
+
- Fixed theme loading when installed via mise: use wrapper directory in release tarballs for compatibility with mise's `strip_components=1` extraction. ([#681](https://github.com/draht-dev/draht/issues/681))
|
|
1263
1535
|
|
|
1264
1536
|
## [0.45.2] - 2026-01-13
|
|
1265
1537
|
|
|
1266
1538
|
### Fixed
|
|
1267
1539
|
|
|
1268
|
-
- Extensions now load correctly in compiled Bun binary using `@mariozechner/jiti` fork with `virtualModules` support. Bundled packages (`@sinclair/typebox`, `@
|
|
1540
|
+
- Extensions now load correctly in compiled Bun binary using `@mariozechner/jiti` fork with `virtualModules` support. Bundled packages (`@sinclair/typebox`, `@draht/tui`, `@draht/ai`, `@draht/coding-agent`) are accessible to extensions without filesystem node_modules.
|
|
1269
1541
|
|
|
1270
1542
|
## [0.45.1] - 2026-01-13
|
|
1271
1543
|
|
|
@@ -1277,79 +1549,79 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
|
|
|
1277
1549
|
|
|
1278
1550
|
### Added
|
|
1279
1551
|
|
|
1280
|
-
- MiniMax provider support: set `MINIMAX_API_KEY` and use `minimax/MiniMax-M2.1` ([#656](https://github.com/
|
|
1281
|
-
- `/scoped-models`: Alt+Up/Down to reorder enabled models. Order is preserved when saving with Ctrl+S and determines Ctrl+P cycling order. ([#676](https://github.com/
|
|
1282
|
-
- Amazon Bedrock provider support (experimental, tested with Anthropic Claude models only) ([#494](https://github.com/
|
|
1283
|
-
- Extension example: `sandbox/` for OS-level bash sandboxing using `@anthropic-ai/sandbox-runtime` with per-project config ([#673](https://github.com/
|
|
1552
|
+
- MiniMax provider support: set `MINIMAX_API_KEY` and use `minimax/MiniMax-M2.1` ([#656](https://github.com/draht-dev/draht/pull/656) by [@dannote](https://github.com/dannote))
|
|
1553
|
+
- `/scoped-models`: Alt+Up/Down to reorder enabled models. Order is preserved when saving with Ctrl+S and determines Ctrl+P cycling order. ([#676](https://github.com/draht-dev/draht/pull/676) by [@thomasmhr](https://github.com/thomasmhr))
|
|
1554
|
+
- Amazon Bedrock provider support (experimental, tested with Anthropic Claude models only) ([#494](https://github.com/draht-dev/draht/pull/494) by [@unexge](https://github.com/unexge))
|
|
1555
|
+
- Extension example: `sandbox/` for OS-level bash sandboxing using `@anthropic-ai/sandbox-runtime` with per-project config ([#673](https://github.com/draht-dev/draht/pull/673) by [@dannote](https://github.com/dannote))
|
|
1284
1556
|
- Print mode JSON output now emits the session header as the first line.
|
|
1285
1557
|
|
|
1286
1558
|
## [0.44.0] - 2026-01-12
|
|
1287
1559
|
|
|
1288
1560
|
### Breaking Changes
|
|
1289
1561
|
|
|
1290
|
-
- `pi.getAllTools()` now returns `ToolInfo[]` (with `name` and `description`) instead of `string[]`. Extensions that only need names can use `.map(t => t.name)`. ([#648](https://github.com/
|
|
1562
|
+
- `pi.getAllTools()` now returns `ToolInfo[]` (with `name` and `description`) instead of `string[]`. Extensions that only need names can use `.map(t => t.name)`. ([#648](https://github.com/draht-dev/draht/pull/648) by [@carsonfarmer](https://github.com/carsonfarmer))
|
|
1291
1563
|
|
|
1292
1564
|
### Added
|
|
1293
1565
|
|
|
1294
|
-
- Session naming: `/name <name>` command sets a display name shown in the session selector instead of the first message. Useful for distinguishing forked sessions. Extensions can use `pi.setSessionName()` and `pi.getSessionName()`. ([#650](https://github.com/
|
|
1295
|
-
- Extension example: `notify.ts` for desktop notifications via OSC 777 escape sequence ([#658](https://github.com/
|
|
1296
|
-
- Inline hint for queued messages showing the `Alt+Up` restore shortcut ([#657](https://github.com/
|
|
1297
|
-
- Page-up/down navigation in `/resume` session selector to jump by 5 items ([#662](https://github.com/
|
|
1298
|
-
- Fuzzy search in `/settings` menu: type to filter settings by label ([#643](https://github.com/
|
|
1566
|
+
- Session naming: `/name <name>` command sets a display name shown in the session selector instead of the first message. Useful for distinguishing forked sessions. Extensions can use `pi.setSessionName()` and `pi.getSessionName()`. ([#650](https://github.com/draht-dev/draht/pull/650) by [@scutifer](https://github.com/scutifer))
|
|
1567
|
+
- Extension example: `notify.ts` for desktop notifications via OSC 777 escape sequence ([#658](https://github.com/draht-dev/draht/pull/658) by [@ferologics](https://github.com/ferologics))
|
|
1568
|
+
- Inline hint for queued messages showing the `Alt+Up` restore shortcut ([#657](https://github.com/draht-dev/draht/pull/657) by [@tmustier](https://github.com/tmustier))
|
|
1569
|
+
- Page-up/down navigation in `/resume` session selector to jump by 5 items ([#662](https://github.com/draht-dev/draht/pull/662) by [@aliou](https://github.com/aliou))
|
|
1570
|
+
- Fuzzy search in `/settings` menu: type to filter settings by label ([#643](https://github.com/draht-dev/draht/pull/643) by [@ninlds](https://github.com/ninlds))
|
|
1299
1571
|
|
|
1300
1572
|
### Fixed
|
|
1301
1573
|
|
|
1302
|
-
- Session selector now stays open when current folder has no sessions, allowing Tab to switch to "all" scope ([#661](https://github.com/
|
|
1574
|
+
- Session selector now stays open when current folder has no sessions, allowing Tab to switch to "all" scope ([#661](https://github.com/draht-dev/draht/pull/661) by [@aliou](https://github.com/aliou))
|
|
1303
1575
|
- Extensions using theme utilities like `getSettingsListTheme()` now work in dev mode with tsx
|
|
1304
1576
|
|
|
1305
1577
|
## [0.43.0] - 2026-01-11
|
|
1306
1578
|
|
|
1307
1579
|
### Breaking Changes
|
|
1308
1580
|
|
|
1309
|
-
- Extension editor (`ctx.ui.editor()`) now uses Enter to submit and Shift+Enter for newlines, matching the main editor. Previously used Ctrl+Enter to submit. Extensions with hardcoded "ctrl+enter" hints need updating. ([#642](https://github.com/
|
|
1310
|
-
- Renamed `/branch` command to `/fork` ([#641](https://github.com/
|
|
1581
|
+
- Extension editor (`ctx.ui.editor()`) now uses Enter to submit and Shift+Enter for newlines, matching the main editor. Previously used Ctrl+Enter to submit. Extensions with hardcoded "ctrl+enter" hints need updating. ([#642](https://github.com/draht-dev/draht/pull/642) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1582
|
+
- Renamed `/branch` command to `/fork` ([#641](https://github.com/draht-dev/draht/issues/641))
|
|
1311
1583
|
- RPC: `branch` → `fork`, `get_branch_messages` → `get_fork_messages`
|
|
1312
1584
|
- SDK: `branch()` → `fork()`, `getBranchMessages()` → `getForkMessages()`
|
|
1313
1585
|
- AgentSession: `branch()` → `fork()`, `getUserMessagesForBranching()` → `getUserMessagesForForking()`
|
|
1314
1586
|
- Extension events: `session_before_branch` → `session_before_fork`, `session_branch` → `session_fork`
|
|
1315
1587
|
- Settings: `doubleEscapeAction: "branch" | "tree"` → `"fork" | "tree"`
|
|
1316
|
-
- `SessionManager.list()` and `SessionManager.listAll()` are now async, returning `Promise<SessionInfo[]>`. Callers must await them. ([#620](https://github.com/
|
|
1588
|
+
- `SessionManager.list()` and `SessionManager.listAll()` are now async, returning `Promise<SessionInfo[]>`. Callers must await them. ([#620](https://github.com/draht-dev/draht/pull/620) by [@tmustier](https://github.com/tmustier))
|
|
1317
1589
|
|
|
1318
1590
|
### Added
|
|
1319
|
-
- `/resume` selector now toggles between current-folder and all sessions with Tab, showing the session cwd in the All view and loading progress. ([#620](https://github.com/
|
|
1591
|
+
- `/resume` selector now toggles between current-folder and all sessions with Tab, showing the session cwd in the All view and loading progress. ([#620](https://github.com/draht-dev/draht/pull/620) by [@tmustier](https://github.com/tmustier))
|
|
1320
1592
|
- `SessionManager.list()` and `SessionManager.listAll()` accept optional `onProgress` callback for progress updates
|
|
1321
1593
|
- `SessionInfo.cwd` field containing the session's working directory (empty string for old sessions)
|
|
1322
1594
|
- `SessionListProgress` type export for progress callbacks
|
|
1323
|
-
- `/scoped-models` command to enable/disable models for Ctrl+P cycling. Changes are session-only by default; press Ctrl+S to persist to settings.json. ([#626](https://github.com/
|
|
1324
|
-
- `model_select` extension hook fires when model changes via `/model`, model cycling, or session restore with `source` field and `previousModel` ([#628](https://github.com/
|
|
1325
|
-
- `ctx.ui.setWorkingMessage()` extension API to customize the "Working..." message during streaming ([#625](https://github.com/
|
|
1326
|
-
- Skill slash commands: loaded skills are registered as `/skill:name` commands for quick access. Toggle via `/settings` or `skills.enableSkillCommands` in settings.json. ([#630](https://github.com/
|
|
1595
|
+
- `/scoped-models` command to enable/disable models for Ctrl+P cycling. Changes are session-only by default; press Ctrl+S to persist to settings.json. ([#626](https://github.com/draht-dev/draht/pull/626) by [@CarlosGtrz](https://github.com/CarlosGtrz))
|
|
1596
|
+
- `model_select` extension hook fires when model changes via `/model`, model cycling, or session restore with `source` field and `previousModel` ([#628](https://github.com/draht-dev/draht/pull/628) by [@marckrenn](https://github.com/marckrenn))
|
|
1597
|
+
- `ctx.ui.setWorkingMessage()` extension API to customize the "Working..." message during streaming ([#625](https://github.com/draht-dev/draht/pull/625) by [@nicobailon](https://github.com/nicobailon))
|
|
1598
|
+
- Skill slash commands: loaded skills are registered as `/skill:name` commands for quick access. Toggle via `/settings` or `skills.enableSkillCommands` in settings.json. ([#630](https://github.com/draht-dev/draht/pull/630) by [@Dwsy](https://github.com/Dwsy))
|
|
1327
1599
|
- Slash command autocomplete now uses fuzzy matching (type `/skbra` to match `/skill:brave-search`)
|
|
1328
|
-
- `/tree` branch summarization now offers three options: "No summary", "Summarize", and "Summarize with custom prompt". Custom prompts are appended as additional focus to the default summarization instructions. ([#642](https://github.com/
|
|
1600
|
+
- `/tree` branch summarization now offers three options: "No summary", "Summarize", and "Summarize with custom prompt". Custom prompts are appended as additional focus to the default summarization instructions. ([#642](https://github.com/draht-dev/draht/pull/642) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1329
1601
|
|
|
1330
1602
|
### Fixed
|
|
1331
1603
|
|
|
1332
|
-
- Missing spacer between assistant message and text editor ([#655](https://github.com/
|
|
1333
|
-
- Session picker respects custom keybindings when using `--resume` ([#633](https://github.com/
|
|
1334
|
-
- Custom footer extensions now see model changes: `ctx.model` is now a getter that returns the current model instead of a snapshot from when the context was created ([#634](https://github.com/
|
|
1604
|
+
- Missing spacer between assistant message and text editor ([#655](https://github.com/draht-dev/draht/issues/655))
|
|
1605
|
+
- Session picker respects custom keybindings when using `--resume` ([#633](https://github.com/draht-dev/draht/pull/633) by [@aos](https://github.com/aos))
|
|
1606
|
+
- Custom footer extensions now see model changes: `ctx.model` is now a getter that returns the current model instead of a snapshot from when the context was created ([#634](https://github.com/draht-dev/draht/pull/634) by [@ogulcancelik](https://github.com/ogulcancelik))
|
|
1335
1607
|
- Footer git branch not updating after external branch switches. Git uses atomic writes (temp file + rename), which changes the inode and breaks `fs.watch` on the file. Now watches the directory instead.
|
|
1336
|
-
- Extension loading errors are now displayed to the user instead of being silently ignored ([#639](https://github.com/
|
|
1608
|
+
- Extension loading errors are now displayed to the user instead of being silently ignored ([#639](https://github.com/draht-dev/draht/pull/639) by [@aliou](https://github.com/aliou))
|
|
1337
1609
|
|
|
1338
1610
|
## [0.42.5] - 2026-01-11
|
|
1339
1611
|
|
|
1340
1612
|
### Fixed
|
|
1341
1613
|
|
|
1342
|
-
- Reduced flicker by only re-rendering changed lines ([#617](https://github.com/
|
|
1614
|
+
- Reduced flicker by only re-rendering changed lines ([#617](https://github.com/draht-dev/draht/pull/617) by [@ogulcancelik](https://github.com/ogulcancelik)). No worries tho, there's still a little flicker in the VS Code Terminal. Praise the flicker.
|
|
1343
1615
|
- Cursor position tracking when content shrinks with unchanged remaining lines
|
|
1344
|
-
- TUI renders with wrong dimensions after suspend/resume if terminal was resized while suspended ([#599](https://github.com/
|
|
1345
|
-
- Pasted content containing Kitty key release patterns (e.g., `:3F` in MAC addresses) was incorrectly filtered out ([#623](https://github.com/
|
|
1616
|
+
- TUI renders with wrong dimensions after suspend/resume if terminal was resized while suspended ([#599](https://github.com/draht-dev/draht/issues/599))
|
|
1617
|
+
- Pasted content containing Kitty key release patterns (e.g., `:3F` in MAC addresses) was incorrectly filtered out ([#623](https://github.com/draht-dev/draht/pull/623) by [@ogulcancelik](https://github.com/ogulcancelik))
|
|
1346
1618
|
|
|
1347
1619
|
## [0.42.4] - 2026-01-10
|
|
1348
1620
|
|
|
1349
1621
|
### Fixed
|
|
1350
1622
|
|
|
1351
|
-
- Bash output expanded hint now says "(ctrl+o to collapse)" ([#610](https://github.com/
|
|
1352
|
-
- Fixed UTF-8 text corruption in remote bash execution (SSH, containers) by using streaming TextDecoder ([#608](https://github.com/
|
|
1623
|
+
- Bash output expanded hint now says "(ctrl+o to collapse)" ([#610](https://github.com/draht-dev/draht/pull/610) by [@tallshort](https://github.com/tallshort))
|
|
1624
|
+
- Fixed UTF-8 text corruption in remote bash execution (SSH, containers) by using streaming TextDecoder ([#608](https://github.com/draht-dev/draht/issues/608))
|
|
1353
1625
|
|
|
1354
1626
|
## [0.42.3] - 2026-01-10
|
|
1355
1627
|
|
|
@@ -1361,19 +1633,19 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
|
|
|
1361
1633
|
|
|
1362
1634
|
### Added
|
|
1363
1635
|
|
|
1364
|
-
- `/model <search>` now pre-filters the model selector or auto-selects on exact match. Use `provider/model` syntax to disambiguate (e.g., `/model openai/gpt-4`). ([#587](https://github.com/
|
|
1365
|
-
- `FooterDataProvider` for custom footers: `ctx.ui.setFooter()` now receives a third `footerData` parameter providing `getGitBranch()`, `getExtensionStatuses()`, and `onBranchChange()` for reactive updates ([#600](https://github.com/
|
|
1366
|
-
- `Alt+Up` hotkey to restore queued steering/follow-up messages back into the editor without aborting the current run ([#604](https://github.com/
|
|
1636
|
+
- `/model <search>` now pre-filters the model selector or auto-selects on exact match. Use `provider/model` syntax to disambiguate (e.g., `/model openai/gpt-4`). ([#587](https://github.com/draht-dev/draht/pull/587) by [@zedrdave](https://github.com/zedrdave))
|
|
1637
|
+
- `FooterDataProvider` for custom footers: `ctx.ui.setFooter()` now receives a third `footerData` parameter providing `getGitBranch()`, `getExtensionStatuses()`, and `onBranchChange()` for reactive updates ([#600](https://github.com/draht-dev/draht/pull/600) by [@nicobailon](https://github.com/nicobailon))
|
|
1638
|
+
- `Alt+Up` hotkey to restore queued steering/follow-up messages back into the editor without aborting the current run ([#604](https://github.com/draht-dev/draht/pull/604) by [@tmustier](https://github.com/tmustier))
|
|
1367
1639
|
|
|
1368
1640
|
### Fixed
|
|
1369
1641
|
|
|
1370
|
-
- Fixed LM Studio compatibility for OpenAI Responses tool strict mapping in the ai provider ([#598](https://github.com/
|
|
1642
|
+
- Fixed LM Studio compatibility for OpenAI Responses tool strict mapping in the ai provider ([#598](https://github.com/draht-dev/draht/pull/598) by [@gnattu](https://github.com/gnattu))
|
|
1371
1643
|
|
|
1372
1644
|
## [0.42.1] - 2026-01-09
|
|
1373
1645
|
|
|
1374
1646
|
### Fixed
|
|
1375
1647
|
|
|
1376
|
-
- Symlinked directories in `prompts/` folders are now followed when loading prompt templates ([#601](https://github.com/
|
|
1648
|
+
- Symlinked directories in `prompts/` folders are now followed when loading prompt templates ([#601](https://github.com/draht-dev/draht/pull/601) by [@aliou](https://github.com/aliou))
|
|
1377
1649
|
|
|
1378
1650
|
## [0.42.0] - 2026-01-09
|
|
1379
1651
|
|
|
@@ -1414,32 +1686,32 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
|
|
|
1414
1686
|
|
|
1415
1687
|
### Breaking Changes
|
|
1416
1688
|
|
|
1417
|
-
- `before_agent_start` event now receives `systemPrompt` in the event object and returns `systemPrompt` (full replacement) instead of `systemPromptAppend`. Extensions that were appending must now use `event.systemPrompt + extra` pattern. ([#575](https://github.com/
|
|
1418
|
-
- `discoverSkills()` now returns `{ skills: Skill[], warnings: SkillWarning[] }` instead of `Skill[]`. This allows callers to handle skill loading warnings. ([#577](https://github.com/
|
|
1689
|
+
- `before_agent_start` event now receives `systemPrompt` in the event object and returns `systemPrompt` (full replacement) instead of `systemPromptAppend`. Extensions that were appending must now use `event.systemPrompt + extra` pattern. ([#575](https://github.com/draht-dev/draht/issues/575))
|
|
1690
|
+
- `discoverSkills()` now returns `{ skills: Skill[], warnings: SkillWarning[] }` instead of `Skill[]`. This allows callers to handle skill loading warnings. ([#577](https://github.com/draht-dev/draht/pull/577) by [@cv](https://github.com/cv))
|
|
1419
1691
|
|
|
1420
1692
|
### Added
|
|
1421
1693
|
|
|
1422
|
-
- `ctx.ui.getAllThemes()`, `ctx.ui.getTheme(name)`, and `ctx.ui.setTheme(name | Theme)` methods for extensions to list, load, and switch themes at runtime ([#576](https://github.com/
|
|
1423
|
-
- `--no-tools` flag to disable all built-in tools, allowing extension-only tool setups ([#557](https://github.com/
|
|
1424
|
-
- Pluggable operations for built-in tools enabling remote execution via SSH or other transports ([#564](https://github.com/
|
|
1425
|
-
- `user_bash` event for intercepting user `!`/`!!` commands, allowing extensions to redirect to remote systems ([#528](https://github.com/
|
|
1694
|
+
- `ctx.ui.getAllThemes()`, `ctx.ui.getTheme(name)`, and `ctx.ui.setTheme(name | Theme)` methods for extensions to list, load, and switch themes at runtime ([#576](https://github.com/draht-dev/draht/pull/576))
|
|
1695
|
+
- `--no-tools` flag to disable all built-in tools, allowing extension-only tool setups ([#557](https://github.com/draht-dev/draht/pull/557) by [@cv](https://github.com/cv))
|
|
1696
|
+
- Pluggable operations for built-in tools enabling remote execution via SSH or other transports ([#564](https://github.com/draht-dev/draht/issues/564)). Interfaces: `ReadOperations`, `WriteOperations`, `EditOperations`, `BashOperations`, `LsOperations`, `GrepOperations`, `FindOperations`
|
|
1697
|
+
- `user_bash` event for intercepting user `!`/`!!` commands, allowing extensions to redirect to remote systems ([#528](https://github.com/draht-dev/draht/issues/528))
|
|
1426
1698
|
- `setActiveTools()` in ExtensionAPI for dynamic tool management
|
|
1427
1699
|
- Built-in renderers used automatically for tool overrides without custom `renderCall`/`renderResult`
|
|
1428
1700
|
- `ssh.ts` example: remote tool execution via `--ssh user@host:/path`
|
|
1429
1701
|
- `interactive-shell.ts` example: run interactive commands (vim, git rebase, htop) with full terminal access via `!i` prefix or auto-detection
|
|
1430
|
-
- Wayland clipboard support for `/copy` command using wl-copy with xclip/xsel fallback ([#570](https://github.com/
|
|
1431
|
-
- **Experimental:** `ctx.ui.custom()` now accepts `{ overlay: true }` option for floating modal components that composite over existing content without clearing the screen ([#558](https://github.com/
|
|
1432
|
-
- `AgentSession.skills` and `AgentSession.skillWarnings` properties to access loaded skills without rediscovery ([#577](https://github.com/
|
|
1702
|
+
- Wayland clipboard support for `/copy` command using wl-copy with xclip/xsel fallback ([#570](https://github.com/draht-dev/draht/pull/570) by [@OgulcanCelik](https://github.com/OgulcanCelik))
|
|
1703
|
+
- **Experimental:** `ctx.ui.custom()` now accepts `{ overlay: true }` option for floating modal components that composite over existing content without clearing the screen ([#558](https://github.com/draht-dev/draht/pull/558) by [@nicobailon](https://github.com/nicobailon))
|
|
1704
|
+
- `AgentSession.skills` and `AgentSession.skillWarnings` properties to access loaded skills without rediscovery ([#577](https://github.com/draht-dev/draht/pull/577) by [@cv](https://github.com/cv))
|
|
1433
1705
|
|
|
1434
1706
|
### Fixed
|
|
1435
1707
|
|
|
1436
|
-
- String `systemPrompt` in `createAgentSession()` now works as a full replacement instead of having context files and skills appended, matching documented behavior ([#543](https://github.com/
|
|
1437
|
-
- Update notification for bun binary installs now shows release download URL instead of npm command ([#567](https://github.com/
|
|
1438
|
-
- ESC key now works during "Working..." state after auto-retry ([#568](https://github.com/
|
|
1439
|
-
- Abort messages now show correct retry attempt count (e.g., "Aborted after 2 retry attempts") ([#568](https://github.com/
|
|
1440
|
-
- Fixed Antigravity provider returning 429 errors despite available quota ([#571](https://github.com/
|
|
1441
|
-
- Fixed malformed thinking text in Gemini/Antigravity responses where thinking content appeared as regular text or vice versa. Cross-model conversations now properly convert thinking blocks to plain text. ([#561](https://github.com/
|
|
1442
|
-
- `--no-skills` flag now correctly prevents skills from loading in interactive mode ([#577](https://github.com/
|
|
1708
|
+
- String `systemPrompt` in `createAgentSession()` now works as a full replacement instead of having context files and skills appended, matching documented behavior ([#543](https://github.com/draht-dev/draht/issues/543))
|
|
1709
|
+
- Update notification for bun binary installs now shows release download URL instead of npm command ([#567](https://github.com/draht-dev/draht/pull/567) by [@ferologics](https://github.com/ferologics))
|
|
1710
|
+
- ESC key now works during "Working..." state after auto-retry ([#568](https://github.com/draht-dev/draht/pull/568) by [@tmustier](https://github.com/tmustier))
|
|
1711
|
+
- Abort messages now show correct retry attempt count (e.g., "Aborted after 2 retry attempts") ([#568](https://github.com/draht-dev/draht/pull/568) by [@tmustier](https://github.com/tmustier))
|
|
1712
|
+
- Fixed Antigravity provider returning 429 errors despite available quota ([#571](https://github.com/draht-dev/draht/pull/571) by [@ben-vargas](https://github.com/ben-vargas))
|
|
1713
|
+
- Fixed malformed thinking text in Gemini/Antigravity responses where thinking content appeared as regular text or vice versa. Cross-model conversations now properly convert thinking blocks to plain text. ([#561](https://github.com/draht-dev/draht/issues/561))
|
|
1714
|
+
- `--no-skills` flag now correctly prevents skills from loading in interactive mode ([#577](https://github.com/draht-dev/draht/pull/577) by [@cv](https://github.com/cv))
|
|
1443
1715
|
|
|
1444
1716
|
## [0.38.0] - 2026-01-08
|
|
1445
1717
|
|
|
@@ -1451,44 +1723,44 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
|
|
|
1451
1723
|
- `ExtensionRunner` constructor now requires `runtime: ExtensionRuntime` as second parameter
|
|
1452
1724
|
- `ExtensionRunner.initialize()` signature changed from options object to positional params `(actions, contextActions, commandContextActions?, uiContext?)`
|
|
1453
1725
|
- `ExtensionRunner.getHasUI()` renamed to `hasUI()`
|
|
1454
|
-
- OpenAI Codex model aliases removed (`gpt-5`, `gpt-5-mini`, `gpt-5-nano`, `codex-mini-latest`). Use canonical IDs: `gpt-5.1`, `gpt-5.1-codex-mini`, `gpt-5.2`, `gpt-5.2-codex`. ([#536](https://github.com/
|
|
1726
|
+
- OpenAI Codex model aliases removed (`gpt-5`, `gpt-5-mini`, `gpt-5-nano`, `codex-mini-latest`). Use canonical IDs: `gpt-5.1`, `gpt-5.1-codex-mini`, `gpt-5.2`, `gpt-5.2-codex`. ([#536](https://github.com/draht-dev/draht/pull/536) by [@ghoulr](https://github.com/ghoulr))
|
|
1455
1727
|
|
|
1456
1728
|
### Added
|
|
1457
1729
|
|
|
1458
|
-
- `--no-extensions` flag to disable extension discovery while still allowing explicit `-e` paths ([#524](https://github.com/
|
|
1730
|
+
- `--no-extensions` flag to disable extension discovery while still allowing explicit `-e` paths ([#524](https://github.com/draht-dev/draht/pull/524) by [@cv](https://github.com/cv))
|
|
1459
1731
|
- SDK: `InteractiveMode`, `runPrintMode()`, `runRpcMode()` exported for building custom run modes. See `docs/sdk.md`.
|
|
1460
|
-
- `PI_SKIP_VERSION_CHECK` environment variable to disable new version notifications at startup ([#549](https://github.com/
|
|
1461
|
-
- `thinkingBudgets` setting to customize token budgets per thinking level for token-based providers ([#529](https://github.com/
|
|
1462
|
-
- Extension UI dialogs (`ctx.ui.select()`, `ctx.ui.confirm()`, `ctx.ui.input()`) now support a `timeout` option with live countdown display ([#522](https://github.com/
|
|
1732
|
+
- `PI_SKIP_VERSION_CHECK` environment variable to disable new version notifications at startup ([#549](https://github.com/draht-dev/draht/pull/549) by [@aos](https://github.com/aos))
|
|
1733
|
+
- `thinkingBudgets` setting to customize token budgets per thinking level for token-based providers ([#529](https://github.com/draht-dev/draht/pull/529) by [@melihmucuk](https://github.com/melihmucuk))
|
|
1734
|
+
- Extension UI dialogs (`ctx.ui.select()`, `ctx.ui.confirm()`, `ctx.ui.input()`) now support a `timeout` option with live countdown display ([#522](https://github.com/draht-dev/draht/pull/522) by [@nicobailon](https://github.com/nicobailon))
|
|
1463
1735
|
- Extensions can now provide custom editor components via `ctx.ui.setEditorComponent()`. See `examples/extensions/modal-editor.ts` and `docs/tui.md` Pattern 7.
|
|
1464
|
-
- Extension factories can now be async, enabling dynamic imports and lazy-loaded dependencies ([#513](https://github.com/
|
|
1465
|
-
- `ctx.shutdown()` is now available in extension contexts for requesting a graceful shutdown. In interactive mode, shutdown is deferred until the agent becomes idle (after processing all queued steering and follow-up messages). In RPC mode, shutdown is deferred until after completing the current command response. In print mode, shutdown is a no-op as the process exits automatically when prompts complete. ([#542](https://github.com/
|
|
1736
|
+
- Extension factories can now be async, enabling dynamic imports and lazy-loaded dependencies ([#513](https://github.com/draht-dev/draht/pull/513) by [@austinm911](https://github.com/austinm911))
|
|
1737
|
+
- `ctx.shutdown()` is now available in extension contexts for requesting a graceful shutdown. In interactive mode, shutdown is deferred until the agent becomes idle (after processing all queued steering and follow-up messages). In RPC mode, shutdown is deferred until after completing the current command response. In print mode, shutdown is a no-op as the process exits automatically when prompts complete. ([#542](https://github.com/draht-dev/draht/pull/542) by [@kaofelix](https://github.com/kaofelix))
|
|
1466
1738
|
|
|
1467
1739
|
### Fixed
|
|
1468
1740
|
|
|
1469
|
-
- Default thinking level from settings now applies correctly when `enabledModels` is configured ([#540](https://github.com/
|
|
1470
|
-
- External edits to `settings.json` while pi is running are now preserved when pi saves settings ([#527](https://github.com/
|
|
1471
|
-
- Overflow-based compaction now skips if error came from a different model or was already handled by a previous compaction ([#535](https://github.com/
|
|
1472
|
-
- OpenAI Codex context window reduced from 400k to 272k tokens to match Codex CLI defaults and prevent 400 errors ([#536](https://github.com/
|
|
1741
|
+
- Default thinking level from settings now applies correctly when `enabledModels` is configured ([#540](https://github.com/draht-dev/draht/pull/540) by [@ferologics](https://github.com/ferologics))
|
|
1742
|
+
- External edits to `settings.json` while pi is running are now preserved when pi saves settings ([#527](https://github.com/draht-dev/draht/pull/527) by [@ferologics](https://github.com/ferologics))
|
|
1743
|
+
- Overflow-based compaction now skips if error came from a different model or was already handled by a previous compaction ([#535](https://github.com/draht-dev/draht/pull/535) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1744
|
+
- OpenAI Codex context window reduced from 400k to 272k tokens to match Codex CLI defaults and prevent 400 errors ([#536](https://github.com/draht-dev/draht/pull/536) by [@ghoulr](https://github.com/ghoulr))
|
|
1473
1745
|
- Context overflow detection now recognizes `context_length_exceeded` errors.
|
|
1474
|
-
- Key presses no longer dropped when input is batched over SSH ([#538](https://github.com/
|
|
1475
|
-
- Clipboard image support now works on Alpine Linux and other musl-based distros ([#533](https://github.com/
|
|
1746
|
+
- Key presses no longer dropped when input is batched over SSH ([#538](https://github.com/draht-dev/draht/issues/538))
|
|
1747
|
+
- Clipboard image support now works on Alpine Linux and other musl-based distros ([#533](https://github.com/draht-dev/draht/issues/533))
|
|
1476
1748
|
|
|
1477
1749
|
## [0.37.6] - 2026-01-06
|
|
1478
1750
|
|
|
1479
1751
|
### Added
|
|
1480
1752
|
|
|
1481
|
-
- Extension UI dialogs (`ctx.ui.select()`, `ctx.ui.confirm()`, `ctx.ui.input()`) now accept an optional `AbortSignal` to programmatically dismiss dialogs. Useful for implementing timeouts. See `examples/extensions/timed-confirm.ts`. ([#474](https://github.com/
|
|
1482
|
-
- HTML export now shows bridge prompts in model change messages for Codex sessions ([#510](https://github.com/
|
|
1753
|
+
- Extension UI dialogs (`ctx.ui.select()`, `ctx.ui.confirm()`, `ctx.ui.input()`) now accept an optional `AbortSignal` to programmatically dismiss dialogs. Useful for implementing timeouts. See `examples/extensions/timed-confirm.ts`. ([#474](https://github.com/draht-dev/draht/issues/474))
|
|
1754
|
+
- HTML export now shows bridge prompts in model change messages for Codex sessions ([#510](https://github.com/draht-dev/draht/pull/510) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1483
1755
|
|
|
1484
1756
|
## [0.37.5] - 2026-01-06
|
|
1485
1757
|
|
|
1486
1758
|
### Added
|
|
1487
1759
|
|
|
1488
|
-
- ExtensionAPI: `setModel()`, `getThinkingLevel()`, `setThinkingLevel()` methods for extensions to change model and thinking level at runtime ([#509](https://github.com/
|
|
1760
|
+
- ExtensionAPI: `setModel()`, `getThinkingLevel()`, `setThinkingLevel()` methods for extensions to change model and thinking level at runtime ([#509](https://github.com/draht-dev/draht/issues/509))
|
|
1489
1761
|
- Exported truncation utilities for custom tools: `truncateHead`, `truncateTail`, `truncateLine`, `formatSize`, `DEFAULT_MAX_BYTES`, `DEFAULT_MAX_LINES`, `TruncationOptions`, `TruncationResult`
|
|
1490
1762
|
- New example `truncated-tool.ts` demonstrating proper output truncation with custom rendering for extensions
|
|
1491
|
-
- New example `preset.ts` demonstrating preset configurations with model/thinking/tools switching ([#347](https://github.com/
|
|
1763
|
+
- New example `preset.ts` demonstrating preset configurations with model/thinking/tools switching ([#347](https://github.com/draht-dev/draht/issues/347))
|
|
1492
1764
|
- Documentation for output truncation best practices in `docs/extensions.md`
|
|
1493
1765
|
- Exported all UI components for extensions: `ArminComponent`, `AssistantMessageComponent`, `BashExecutionComponent`, `BorderedLoader`, `BranchSummaryMessageComponent`, `CompactionSummaryMessageComponent`, `CustomEditor`, `CustomMessageComponent`, `DynamicBorder`, `ExtensionEditorComponent`, `ExtensionInputComponent`, `ExtensionSelectorComponent`, `FooterComponent`, `LoginDialogComponent`, `ModelSelectorComponent`, `OAuthSelectorComponent`, `SessionSelectorComponent`, `SettingsSelectorComponent`, `ShowImagesSelectorComponent`, `ThemeSelectorComponent`, `ThinkingSelectorComponent`, `ToolExecutionComponent`, `TreeSelectorComponent`, `UserMessageComponent`, `UserMessageSelectorComponent`, plus utilities `renderDiff`, `truncateToVisualLines`
|
|
1494
1766
|
- `docs/tui.md`: Common Patterns section with copy-paste code for SelectList, BorderedLoader, SettingsList, setStatus, setWidget, setFooter
|
|
@@ -1500,8 +1772,8 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
|
|
|
1500
1772
|
|
|
1501
1773
|
### Added
|
|
1502
1774
|
|
|
1503
|
-
- Session picker (`pi -r`) and `--session` flag now support searching/resuming by session ID (UUID prefix) ([#495](https://github.com/
|
|
1504
|
-
- Extensions can now replace the startup header with `ctx.ui.setHeader()`, see `examples/extensions/custom-header.ts` ([#500](https://github.com/
|
|
1775
|
+
- Session picker (`pi -r`) and `--session` flag now support searching/resuming by session ID (UUID prefix) ([#495](https://github.com/draht-dev/draht/issues/495) by [@arunsathiya](https://github.com/arunsathiya))
|
|
1776
|
+
- Extensions can now replace the startup header with `ctx.ui.setHeader()`, see `examples/extensions/custom-header.ts` ([#500](https://github.com/draht-dev/draht/pull/500) by [@tudoroancea](https://github.com/tudoroancea))
|
|
1505
1777
|
|
|
1506
1778
|
### Changed
|
|
1507
1779
|
|
|
@@ -1510,31 +1782,31 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
|
|
|
1510
1782
|
|
|
1511
1783
|
### Fixed
|
|
1512
1784
|
|
|
1513
|
-
- Queued steering/follow-up messages no longer wipe unsent editor input ([#503](https://github.com/
|
|
1514
|
-
- OAuth token refresh failure no longer crashes app at startup, allowing user to `/login` to re-authenticate ([#498](https://github.com/
|
|
1785
|
+
- Queued steering/follow-up messages no longer wipe unsent editor input ([#503](https://github.com/draht-dev/draht/pull/503) by [@tmustier](https://github.com/tmustier))
|
|
1786
|
+
- OAuth token refresh failure no longer crashes app at startup, allowing user to `/login` to re-authenticate ([#498](https://github.com/draht-dev/draht/issues/498))
|
|
1515
1787
|
|
|
1516
1788
|
## [0.37.3] - 2026-01-06
|
|
1517
1789
|
|
|
1518
1790
|
### Added
|
|
1519
1791
|
|
|
1520
|
-
- Extensions can now replace the footer with `ctx.ui.setFooter()`, see `examples/extensions/custom-footer.ts` ([#481](https://github.com/
|
|
1792
|
+
- Extensions can now replace the footer with `ctx.ui.setFooter()`, see `examples/extensions/custom-footer.ts` ([#481](https://github.com/draht-dev/draht/issues/481))
|
|
1521
1793
|
- Session ID is now forwarded to LLM providers for session-based caching (used by OpenAI Codex for prompt caching).
|
|
1522
|
-
- Added `blockImages` setting to prevent images from being sent to LLM providers ([#492](https://github.com/
|
|
1523
|
-
- Extensions can now send user messages via `pi.sendUserMessage()` ([#483](https://github.com/
|
|
1794
|
+
- Added `blockImages` setting to prevent images from being sent to LLM providers ([#492](https://github.com/draht-dev/draht/pull/492) by [@jsinge97](https://github.com/jsinge97))
|
|
1795
|
+
- Extensions can now send user messages via `pi.sendUserMessage()` ([#483](https://github.com/draht-dev/draht/issues/483))
|
|
1524
1796
|
|
|
1525
1797
|
### Fixed
|
|
1526
1798
|
|
|
1527
1799
|
- Add `minimatch` as a direct dependency for explicit imports.
|
|
1528
|
-
- Status bar now shows correct git branch when running in a git worktree ([#490](https://github.com/
|
|
1529
|
-
- Interactive mode: Ctrl+V clipboard image paste now works on Wayland sessions by using `wl-paste` with `xclip` fallback ([#488](https://github.com/
|
|
1800
|
+
- Status bar now shows correct git branch when running in a git worktree ([#490](https://github.com/draht-dev/draht/pull/490) by [@kcosr](https://github.com/kcosr))
|
|
1801
|
+
- Interactive mode: Ctrl+V clipboard image paste now works on Wayland sessions by using `wl-paste` with `xclip` fallback ([#488](https://github.com/draht-dev/draht/pull/488) by [@ghoulr](https://github.com/ghoulr))
|
|
1530
1802
|
|
|
1531
1803
|
## [0.37.2] - 2026-01-05
|
|
1532
1804
|
|
|
1533
1805
|
### Fixed
|
|
1534
1806
|
|
|
1535
|
-
- Extension directories in `settings.json` now respect `package.json` manifests, matching global extension behavior ([#480](https://github.com/
|
|
1807
|
+
- Extension directories in `settings.json` now respect `package.json` manifests, matching global extension behavior ([#480](https://github.com/draht-dev/draht/pull/480) by [@prateekmedia](https://github.com/prateekmedia))
|
|
1536
1808
|
- Share viewer: deep links now scroll to the target message when opened via `/share`
|
|
1537
|
-
- Bash tool now handles spawn errors gracefully instead of crashing the agent (missing cwd, invalid shell path) ([#479](https://github.com/
|
|
1809
|
+
- Bash tool now handles spawn errors gracefully instead of crashing the agent (missing cwd, invalid shell path) ([#479](https://github.com/draht-dev/draht/pull/479) by [@robinwander](https://github.com/robinwander))
|
|
1538
1810
|
|
|
1539
1811
|
## [0.37.1] - 2026-01-05
|
|
1540
1812
|
|
|
@@ -1546,35 +1818,35 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
|
|
|
1546
1818
|
|
|
1547
1819
|
### Added
|
|
1548
1820
|
|
|
1549
|
-
- Share viewer: copy-link button on messages to share URLs that navigate directly to a specific message ([#477](https://github.com/
|
|
1550
|
-
- Extension example: add `claude-rules` to load `.claude/rules/` entries into the system prompt ([#461](https://github.com/
|
|
1551
|
-
- Headless OAuth login: all providers now show paste input for manual URL/code entry, works over SSH without DISPLAY ([#428](https://github.com/
|
|
1821
|
+
- Share viewer: copy-link button on messages to share URLs that navigate directly to a specific message ([#477](https://github.com/draht-dev/draht/pull/477) by [@lockmeister](https://github.com/lockmeister))
|
|
1822
|
+
- Extension example: add `claude-rules` to load `.claude/rules/` entries into the system prompt ([#461](https://github.com/draht-dev/draht/pull/461) by [@vaayne](https://github.com/vaayne))
|
|
1823
|
+
- Headless OAuth login: all providers now show paste input for manual URL/code entry, works over SSH without DISPLAY ([#428](https://github.com/draht-dev/draht/pull/428) by [@ben-vargas](https://github.com/ben-vargas), [#468](https://github.com/draht-dev/draht/pull/468) by [@crcatala](https://github.com/crcatala))
|
|
1552
1824
|
|
|
1553
1825
|
### Changed
|
|
1554
1826
|
|
|
1555
1827
|
- OAuth login UI now uses dedicated dialog component with consistent borders
|
|
1556
1828
|
- Assume truecolor support for all terminals except `dumb`, empty, or `linux` (fixes colors over SSH)
|
|
1557
|
-
- OpenAI Codex clean-up: removed per-thinking-level model variants, thinking level is now set separately and the provider clamps to what each model supports internally (initial implementation in [#472](https://github.com/
|
|
1829
|
+
- OpenAI Codex clean-up: removed per-thinking-level model variants, thinking level is now set separately and the provider clamps to what each model supports internally (initial implementation in [#472](https://github.com/draht-dev/draht/pull/472) by [@ben-vargas](https://github.com/ben-vargas))
|
|
1558
1830
|
|
|
1559
1831
|
### Fixed
|
|
1560
1832
|
|
|
1561
|
-
- Messages submitted during compaction are queued and delivered after compaction completes, preserving steering and follow-up behavior. Extension commands execute immediately during compaction. ([#476](https://github.com/
|
|
1562
|
-
- Managed binaries (`fd`, `rg`) now stored in `~/.pi/agent/bin/` instead of `tools/`, eliminating false deprecation warnings ([#470](https://github.com/
|
|
1563
|
-
- Extensions defined in `settings.json` were not loaded ([#463](https://github.com/
|
|
1564
|
-
- OAuth refresh no longer logs users out when multiple pi instances are running ([#466](https://github.com/
|
|
1565
|
-
- Migration warnings now ignore `fd.exe` and `rg.exe` in `tools/` on Windows ([#458](https://github.com/
|
|
1566
|
-
- CI: add `examples/extensions/with-deps` to workspaces to fix typecheck ([#467](https://github.com/
|
|
1567
|
-
- SDK: passing `extensions: []` now disables extension discovery as documented ([#465](https://github.com/
|
|
1833
|
+
- Messages submitted during compaction are queued and delivered after compaction completes, preserving steering and follow-up behavior. Extension commands execute immediately during compaction. ([#476](https://github.com/draht-dev/draht/pull/476) by [@tmustier](https://github.com/tmustier))
|
|
1834
|
+
- Managed binaries (`fd`, `rg`) now stored in `~/.pi/agent/bin/` instead of `tools/`, eliminating false deprecation warnings ([#470](https://github.com/draht-dev/draht/pull/470) by [@mcinteerj](https://github.com/mcinteerj))
|
|
1835
|
+
- Extensions defined in `settings.json` were not loaded ([#463](https://github.com/draht-dev/draht/pull/463) by [@melihmucuk](https://github.com/melihmucuk))
|
|
1836
|
+
- OAuth refresh no longer logs users out when multiple pi instances are running ([#466](https://github.com/draht-dev/draht/pull/466) by [@Cursivez](https://github.com/Cursivez))
|
|
1837
|
+
- Migration warnings now ignore `fd.exe` and `rg.exe` in `tools/` on Windows ([#458](https://github.com/draht-dev/draht/pull/458) by [@carlosgtrz](https://github.com/carlosgtrz))
|
|
1838
|
+
- CI: add `examples/extensions/with-deps` to workspaces to fix typecheck ([#467](https://github.com/draht-dev/draht/pull/467) by [@aliou](https://github.com/aliou))
|
|
1839
|
+
- SDK: passing `extensions: []` now disables extension discovery as documented ([#465](https://github.com/draht-dev/draht/pull/465) by [@aliou](https://github.com/aliou))
|
|
1568
1840
|
|
|
1569
1841
|
## [0.36.0] - 2026-01-05
|
|
1570
1842
|
|
|
1571
1843
|
### Added
|
|
1572
1844
|
|
|
1573
|
-
- Experimental: OpenAI Codex OAuth provider support: access Codex models via ChatGPT Plus/Pro subscription using `/login openai-codex` ([#451](https://github.com/
|
|
1845
|
+
- Experimental: OpenAI Codex OAuth provider support: access Codex models via ChatGPT Plus/Pro subscription using `/login openai-codex` ([#451](https://github.com/draht-dev/draht/pull/451) by [@kim0](https://github.com/kim0))
|
|
1574
1846
|
|
|
1575
1847
|
## [0.35.0] - 2026-01-05
|
|
1576
1848
|
|
|
1577
|
-
This release unifies hooks and custom tools into a single "extensions" system and renames "slash commands" to "prompt templates". ([#454](https://github.com/
|
|
1849
|
+
This release unifies hooks and custom tools into a single "extensions" system and renames "slash commands" to "prompt templates". ([#454](https://github.com/draht-dev/draht/issues/454))
|
|
1578
1850
|
|
|
1579
1851
|
**Before migrating, read:**
|
|
1580
1852
|
|
|
@@ -1610,14 +1882,14 @@ Hooks and custom tools are now unified as **extensions**. Both were TypeScript m
|
|
|
1610
1882
|
|
|
1611
1883
|
1. **Direct files:** `extensions/*.ts` or `*.js` → loaded directly
|
|
1612
1884
|
2. **Subdirectory with index:** `extensions/myext/index.ts` → loaded as single extension
|
|
1613
|
-
3. **Subdirectory with package.json:** `extensions/myext/package.json` with `"
|
|
1885
|
+
3. **Subdirectory with package.json:** `extensions/myext/package.json` with `"draht"` field → loads declared paths
|
|
1614
1886
|
|
|
1615
1887
|
```json
|
|
1616
1888
|
// extensions/my-package/package.json
|
|
1617
1889
|
{
|
|
1618
1890
|
"name": "my-extension-package",
|
|
1619
1891
|
"dependencies": { "zod": "^3.0.0" },
|
|
1620
|
-
"
|
|
1892
|
+
"draht": {
|
|
1621
1893
|
"extensions": ["./src/main.ts", "./src/tools.ts"]
|
|
1622
1894
|
}
|
|
1623
1895
|
}
|
|
@@ -1642,16 +1914,16 @@ No recursion beyond one level. Complex packages must use the `package.json` mani
|
|
|
1642
1914
|
|
|
1643
1915
|
```typescript
|
|
1644
1916
|
// Before (hook)
|
|
1645
|
-
import type { HookAPI, HookContext } from "@
|
|
1917
|
+
import type { HookAPI, HookContext } from "@draht/coding-agent";
|
|
1646
1918
|
export default function (pi: HookAPI) { ... }
|
|
1647
1919
|
|
|
1648
1920
|
// Before (custom tool)
|
|
1649
|
-
import type { CustomToolFactory } from "@
|
|
1921
|
+
import type { CustomToolFactory } from "@draht/coding-agent";
|
|
1650
1922
|
const factory: CustomToolFactory = (pi) => ({ name: "my_tool", ... });
|
|
1651
1923
|
export default factory;
|
|
1652
1924
|
|
|
1653
1925
|
// After (both are now extensions)
|
|
1654
|
-
import type { ExtensionAPI } from "@
|
|
1926
|
+
import type { ExtensionAPI } from "@draht/coding-agent";
|
|
1655
1927
|
export default function (pi: ExtensionAPI) {
|
|
1656
1928
|
pi.on("tool_call", async (event, ctx) => { ... });
|
|
1657
1929
|
pi.registerTool({ name: "my_tool", ... });
|
|
@@ -1795,11 +2067,11 @@ pi --extension ./safety.ts -e ./todo.ts
|
|
|
1795
2067
|
|
|
1796
2068
|
### Added
|
|
1797
2069
|
|
|
1798
|
-
- Hook API: `ctx.ui.setTitle(title)` allows hooks to set the terminal window/tab title ([#446](https://github.com/
|
|
2070
|
+
- Hook API: `ctx.ui.setTitle(title)` allows hooks to set the terminal window/tab title ([#446](https://github.com/draht-dev/draht/pull/446) by [@aliou](https://github.com/aliou))
|
|
1799
2071
|
|
|
1800
2072
|
### Changed
|
|
1801
2073
|
|
|
1802
|
-
- Expanded keybinding documentation to list all 32 supported symbol keys with notes on ctrl+symbol behavior ([#450](https://github.com/
|
|
2074
|
+
- Expanded keybinding documentation to list all 32 supported symbol keys with notes on ctrl+symbol behavior ([#450](https://github.com/draht-dev/draht/pull/450) by [@kaofelix](https://github.com/kaofelix))
|
|
1803
2075
|
|
|
1804
2076
|
## [0.34.0] - 2026-01-04
|
|
1805
2077
|
|
|
@@ -1836,28 +2108,28 @@ pi --extension ./safety.ts -e ./todo.ts
|
|
|
1836
2108
|
|
|
1837
2109
|
### Changed
|
|
1838
2110
|
|
|
1839
|
-
- Removed image placeholders after copy & paste, replaced with inserting image file paths directly. ([#442](https://github.com/
|
|
2111
|
+
- Removed image placeholders after copy & paste, replaced with inserting image file paths directly. ([#442](https://github.com/draht-dev/draht/pull/442) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1840
2112
|
|
|
1841
2113
|
### Fixed
|
|
1842
2114
|
|
|
1843
2115
|
- Fixed potential text decoding issues in bash executor by using streaming TextDecoder instead of Buffer.toString()
|
|
1844
|
-
- External editor (Ctrl-G) now shows full pasted content instead of `[paste #N ...]` placeholders ([#444](https://github.com/
|
|
2116
|
+
- External editor (Ctrl-G) now shows full pasted content instead of `[paste #N ...]` placeholders ([#444](https://github.com/draht-dev/draht/pull/444) by [@aliou](https://github.com/aliou))
|
|
1845
2117
|
|
|
1846
2118
|
## [0.33.0] - 2026-01-04
|
|
1847
2119
|
|
|
1848
2120
|
### Breaking Changes
|
|
1849
2121
|
|
|
1850
|
-
- **Key detection functions removed from `@
|
|
2122
|
+
- **Key detection functions removed from `@draht/tui`**: All `isXxx()` key detection functions (`isEnter()`, `isEscape()`, `isCtrlC()`, etc.) have been removed. Use `matchesKey(data, keyId)` instead (e.g., `matchesKey(data, "enter")`, `matchesKey(data, "ctrl+c")`). This affects hooks and custom tools that use `ctx.ui.custom()` with keyboard input handling. ([#405](https://github.com/draht-dev/draht/pull/405))
|
|
1851
2123
|
|
|
1852
2124
|
### Added
|
|
1853
2125
|
|
|
1854
|
-
- Clipboard image paste support via `Ctrl+V`. Images are saved to a temp file and attached to the message. Works on macOS, Windows, and Linux (X11). ([#419](https://github.com/
|
|
1855
|
-
- Configurable keybindings via `~/.pi/agent/keybindings.json`. All keyboard shortcuts (editor navigation, deletion, app actions like model cycling, etc.) can now be customized. Supports multiple bindings per action. ([#405](https://github.com/
|
|
1856
|
-
- `/quit` and `/exit` slash commands to gracefully exit the application. Unlike double Ctrl+C, these properly await hook and custom tool cleanup handlers before exiting. ([#426](https://github.com/
|
|
2126
|
+
- Clipboard image paste support via `Ctrl+V`. Images are saved to a temp file and attached to the message. Works on macOS, Windows, and Linux (X11). ([#419](https://github.com/draht-dev/draht/issues/419))
|
|
2127
|
+
- Configurable keybindings via `~/.pi/agent/keybindings.json`. All keyboard shortcuts (editor navigation, deletion, app actions like model cycling, etc.) can now be customized. Supports multiple bindings per action. ([#405](https://github.com/draht-dev/draht/pull/405) by [@hjanuschka](https://github.com/hjanuschka))
|
|
2128
|
+
- `/quit` and `/exit` slash commands to gracefully exit the application. Unlike double Ctrl+C, these properly await hook and custom tool cleanup handlers before exiting. ([#426](https://github.com/draht-dev/draht/pull/426) by [@ben-vargas](https://github.com/ben-vargas))
|
|
1857
2129
|
|
|
1858
2130
|
### Fixed
|
|
1859
2131
|
|
|
1860
|
-
- Subagent example README referenced incorrect filename `subagent.ts` instead of `index.ts` ([#427](https://github.com/
|
|
2132
|
+
- Subagent example README referenced incorrect filename `subagent.ts` instead of `index.ts` ([#427](https://github.com/draht-dev/draht/pull/427) by [@Whamp](https://github.com/Whamp))
|
|
1861
2133
|
|
|
1862
2134
|
## [0.32.3] - 2026-01-03
|
|
1863
2135
|
|
|
@@ -1865,14 +2137,14 @@ pi --extension ./safety.ts -e ./todo.ts
|
|
|
1865
2137
|
|
|
1866
2138
|
- `--list-models` no longer shows Google Vertex AI models without explicit authentication configured
|
|
1867
2139
|
- JPEG/GIF/WebP images not displaying in terminals using Kitty graphics protocol (Kitty, Ghostty, WezTerm). The protocol requires PNG format, so non-PNG images are now converted before display.
|
|
1868
|
-
- Version check URL typo preventing update notifications from working ([#423](https://github.com/
|
|
1869
|
-
- Large images exceeding Anthropic's 5MB limit now retry with progressive quality/size reduction ([#424](https://github.com/
|
|
2140
|
+
- Version check URL typo preventing update notifications from working ([#423](https://github.com/draht-dev/draht/pull/423) by [@skuridin](https://github.com/skuridin))
|
|
2141
|
+
- Large images exceeding Anthropic's 5MB limit now retry with progressive quality/size reduction ([#424](https://github.com/draht-dev/draht/pull/424) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1870
2142
|
|
|
1871
2143
|
## [0.32.2] - 2026-01-03
|
|
1872
2144
|
|
|
1873
2145
|
### Added
|
|
1874
2146
|
|
|
1875
|
-
- `$ARGUMENTS` syntax for custom slash commands as alternative to `$@` for all arguments joined. Aligns with patterns used by Claude, Codex, and OpenCode. Both syntaxes remain fully supported. ([#418](https://github.com/
|
|
2147
|
+
- `$ARGUMENTS` syntax for custom slash commands as alternative to `$@` for all arguments joined. Aligns with patterns used by Claude, Codex, and OpenCode. Both syntaxes remain fully supported. ([#418](https://github.com/draht-dev/draht/pull/418) by [@skuridin](https://github.com/skuridin))
|
|
1876
2148
|
|
|
1877
2149
|
### Changed
|
|
1878
2150
|
|
|
@@ -1882,17 +2154,17 @@ pi --extension ./safety.ts -e ./todo.ts
|
|
|
1882
2154
|
- `steer()` and `followUp()` now expand file-based slash commands and error on hook commands (hook commands cannot be queued)
|
|
1883
2155
|
- `prompt()` accepts new `streamingBehavior` option (`"steer"` or `"followUp"`) to specify queueing behavior during streaming
|
|
1884
2156
|
- RPC `prompt` command now accepts optional `streamingBehavior` field
|
|
1885
|
-
([#420](https://github.com/
|
|
2157
|
+
([#420](https://github.com/draht-dev/draht/issues/420))
|
|
1886
2158
|
|
|
1887
2159
|
### Fixed
|
|
1888
2160
|
|
|
1889
|
-
- Slash command argument substitution now processes positional arguments (`$1`, `$2`, etc.) before all-arguments (`$@`, `$ARGUMENTS`) to prevent recursive substitution when argument values contain dollar-digit patterns like `$100`. ([#418](https://github.com/
|
|
2161
|
+
- Slash command argument substitution now processes positional arguments (`$1`, `$2`, etc.) before all-arguments (`$@`, `$ARGUMENTS`) to prevent recursive substitution when argument values contain dollar-digit patterns like `$100`. ([#418](https://github.com/draht-dev/draht/pull/418) by [@skuridin](https://github.com/skuridin))
|
|
1890
2162
|
|
|
1891
2163
|
## [0.32.1] - 2026-01-03
|
|
1892
2164
|
|
|
1893
2165
|
### Added
|
|
1894
2166
|
|
|
1895
|
-
- Shell commands without context contribution: use `!!command` to execute a bash command that is shown in the TUI and saved to session history but excluded from LLM context. Useful for running commands you don't want the AI to see. ([#414](https://github.com/
|
|
2167
|
+
- Shell commands without context contribution: use `!!command` to execute a bash command that is shown in the TUI and saved to session history but excluded from LLM context. Useful for running commands you don't want the AI to see. ([#414](https://github.com/draht-dev/draht/issues/414))
|
|
1896
2168
|
|
|
1897
2169
|
### Fixed
|
|
1898
2170
|
|
|
@@ -1902,7 +2174,7 @@ pi --extension ./safety.ts -e ./todo.ts
|
|
|
1902
2174
|
|
|
1903
2175
|
### Breaking Changes
|
|
1904
2176
|
|
|
1905
|
-
- **Queue API replaced with steer/followUp**: The `queueMessage()` method has been split into two methods with different delivery semantics ([#403](https://github.com/
|
|
2177
|
+
- **Queue API replaced with steer/followUp**: The `queueMessage()` method has been split into two methods with different delivery semantics ([#403](https://github.com/draht-dev/draht/issues/403)):
|
|
1906
2178
|
- `steer(text)`: Interrupts the agent mid-run (Enter while streaming). Delivered after current tool execution.
|
|
1907
2179
|
- `followUp(text)`: Waits until the agent finishes (Alt+Enter while streaming). Delivered only when agent stops.
|
|
1908
2180
|
- **Settings renamed**: `queueMode` setting renamed to `steeringMode`. Added new `followUpMode` setting. Old settings.json files are migrated automatically.
|
|
@@ -1923,31 +2195,31 @@ pi --extension ./safety.ts -e ./todo.ts
|
|
|
1923
2195
|
|
|
1924
2196
|
### Added
|
|
1925
2197
|
|
|
1926
|
-
- Configurable double-escape action: choose whether double-escape with empty editor opens `/tree` (default) or `/branch`. Configure via `/settings` or `doubleEscapeAction` in settings.json ([#404](https://github.com/
|
|
1927
|
-
- Vertex AI provider (`google-vertex`): access Gemini models via Google Cloud Vertex AI using Application Default Credentials ([#300](https://github.com/
|
|
1928
|
-
- Built-in provider overrides in `models.json`: override just `baseUrl` to route a built-in provider through a proxy while keeping all its models, or define `models` to fully replace the provider ([#406](https://github.com/
|
|
1929
|
-
- Automatic image resizing: images larger than 2000x2000 are resized for better model compatibility. Original dimensions are injected into the prompt. Controlled via `/settings` or `images.autoResize` in settings.json. ([#402](https://github.com/
|
|
2198
|
+
- Configurable double-escape action: choose whether double-escape with empty editor opens `/tree` (default) or `/branch`. Configure via `/settings` or `doubleEscapeAction` in settings.json ([#404](https://github.com/draht-dev/draht/issues/404))
|
|
2199
|
+
- Vertex AI provider (`google-vertex`): access Gemini models via Google Cloud Vertex AI using Application Default Credentials ([#300](https://github.com/draht-dev/draht/pull/300) by [@default-anton](https://github.com/default-anton))
|
|
2200
|
+
- Built-in provider overrides in `models.json`: override just `baseUrl` to route a built-in provider through a proxy while keeping all its models, or define `models` to fully replace the provider ([#406](https://github.com/draht-dev/draht/pull/406) by [@yevhen](https://github.com/yevhen))
|
|
2201
|
+
- Automatic image resizing: images larger than 2000x2000 are resized for better model compatibility. Original dimensions are injected into the prompt. Controlled via `/settings` or `images.autoResize` in settings.json. ([#402](https://github.com/draht-dev/draht/pull/402) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1930
2202
|
- Alt+Enter keybind to queue follow-up messages while agent is streaming
|
|
1931
2203
|
- `Theme` and `ThemeColor` types now exported for hooks using `ctx.ui.custom()`
|
|
1932
|
-
- Terminal window title now displays "pi - dirname" to identify which project session you're in ([#407](https://github.com/
|
|
2204
|
+
- Terminal window title now displays "pi - dirname" to identify which project session you're in ([#407](https://github.com/draht-dev/draht/pull/407) by [@kaofelix](https://github.com/kaofelix))
|
|
1933
2205
|
|
|
1934
2206
|
### Changed
|
|
1935
2207
|
|
|
1936
|
-
- Editor component now uses word wrapping instead of character-level wrapping for better readability ([#382](https://github.com/
|
|
2208
|
+
- Editor component now uses word wrapping instead of character-level wrapping for better readability ([#382](https://github.com/draht-dev/draht/pull/382) by [@nickseelert](https://github.com/nickseelert))
|
|
1937
2209
|
|
|
1938
2210
|
### Fixed
|
|
1939
2211
|
|
|
1940
2212
|
- `/model` selector now opens instantly instead of waiting for OAuth token refresh. Token refresh is deferred until a model is actually used.
|
|
1941
|
-
- Shift+Space, Shift+Backspace, and Shift+Delete now work correctly in Kitty-protocol terminals (Kitty, WezTerm, etc.) instead of being silently ignored ([#411](https://github.com/
|
|
2213
|
+
- Shift+Space, Shift+Backspace, and Shift+Delete now work correctly in Kitty-protocol terminals (Kitty, WezTerm, etc.) instead of being silently ignored ([#411](https://github.com/draht-dev/draht/pull/411) by [@nathyong](https://github.com/nathyong))
|
|
1942
2214
|
- `AgentSession.prompt()` now throws if called while the agent is already streaming, preventing race conditions. Use `steer()` or `followUp()` to queue messages during streaming.
|
|
1943
|
-
- Ctrl+C now works like Escape in selector components, so mashing Ctrl+C will eventually close the program ([#400](https://github.com/
|
|
2215
|
+
- Ctrl+C now works like Escape in selector components, so mashing Ctrl+C will eventually close the program ([#400](https://github.com/draht-dev/draht/pull/400) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
1944
2216
|
|
|
1945
2217
|
## [0.31.1] - 2026-01-02
|
|
1946
2218
|
|
|
1947
2219
|
### Fixed
|
|
1948
2220
|
|
|
1949
|
-
- Model selector no longer allows negative index when pressing arrow keys before models finish loading ([#398](https://github.com/
|
|
1950
|
-
- Type guard functions (`isBashToolResult`, etc.) now exported at runtime, not just in type declarations ([#397](https://github.com/
|
|
2221
|
+
- Model selector no longer allows negative index when pressing arrow keys before models finish loading ([#398](https://github.com/draht-dev/draht/pull/398) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
2222
|
+
- Type guard functions (`isBashToolResult`, etc.) now exported at runtime, not just in type declarations ([#397](https://github.com/draht-dev/draht/issues/397))
|
|
1951
2223
|
|
|
1952
2224
|
## [0.31.0] - 2026-01-02
|
|
1953
2225
|
|
|
@@ -2056,7 +2328,7 @@ See [docs/custom-tools.md](docs/custom-tools.md) and [examples/custom-tools/](ex
|
|
|
2056
2328
|
- `AppMessage` → `AgentMessage`
|
|
2057
2329
|
- `sessionFile` returns `string | undefined` (was `string | null`)
|
|
2058
2330
|
- `model` returns `Model | undefined` (was `Model | null`)
|
|
2059
|
-
- `Attachment` type removed. Use `ImageContent` from `@
|
|
2331
|
+
- `Attachment` type removed. Use `ImageContent` from `@draht/ai` instead. Add images directly to message content arrays.
|
|
2060
2332
|
|
|
2061
2333
|
**AgentSession API:**
|
|
2062
2334
|
|
|
@@ -2092,7 +2364,7 @@ See [docs/custom-tools.md](docs/custom-tools.md) and [examples/custom-tools/](ex
|
|
|
2092
2364
|
import {
|
|
2093
2365
|
discoverAuthStorage,
|
|
2094
2366
|
discoverModels,
|
|
2095
|
-
} from "@
|
|
2367
|
+
} from "@draht/coding-agent";
|
|
2096
2368
|
|
|
2097
2369
|
const authStorage = discoverAuthStorage(); // ~/.pi/agent/auth.json
|
|
2098
2370
|
const modelRegistry = discoverModels(authStorage); // + ~/.pi/agent/models.json
|
|
@@ -2185,15 +2457,15 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2185
2457
|
|
|
2186
2458
|
### Added
|
|
2187
2459
|
|
|
2188
|
-
- `ctx.ui.setStatus(key, text)` for hooks to display persistent status text in the footer ([#385](https://github.com/
|
|
2460
|
+
- `ctx.ui.setStatus(key, text)` for hooks to display persistent status text in the footer ([#385](https://github.com/draht-dev/draht/pull/385) by [@prateekmedia](https://github.com/prateekmedia))
|
|
2189
2461
|
- `ctx.ui.theme` getter for styling status text and other output with theme colors
|
|
2190
|
-
- `/share` command to upload session as a secret GitHub gist and get a shareable URL via shittycodingagent.ai ([#380](https://github.com/
|
|
2191
|
-
- HTML export now includes a tree visualization sidebar for navigating session branches ([#375](https://github.com/
|
|
2462
|
+
- `/share` command to upload session as a secret GitHub gist and get a shareable URL via shittycodingagent.ai ([#380](https://github.com/draht-dev/draht/issues/380))
|
|
2463
|
+
- HTML export now includes a tree visualization sidebar for navigating session branches ([#375](https://github.com/draht-dev/draht/issues/375))
|
|
2192
2464
|
- HTML export supports keyboard shortcuts: Ctrl+T to toggle thinking blocks, Ctrl+O to toggle tool outputs
|
|
2193
|
-
- HTML export supports theme-configurable background colors via optional `export` section in theme JSON ([#387](https://github.com/
|
|
2465
|
+
- HTML export supports theme-configurable background colors via optional `export` section in theme JSON ([#387](https://github.com/draht-dev/draht/pull/387) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
2194
2466
|
- HTML export syntax highlighting now uses theme colors and matches TUI rendering
|
|
2195
2467
|
- **Snake game example hook**: Demonstrates `ui.custom()`, `registerCommand()`, and session persistence. See [examples/hooks/snake.ts](examples/hooks/snake.ts).
|
|
2196
|
-
- **`thinkingText` theme token**: Configurable color for thinking block text. ([#366](https://github.com/
|
|
2468
|
+
- **`thinkingText` theme token**: Configurable color for thinking block text. ([#366](https://github.com/draht-dev/draht/pull/366) by [@paulbettner](https://github.com/paulbettner))
|
|
2197
2469
|
|
|
2198
2470
|
### Changed
|
|
2199
2471
|
|
|
@@ -2204,21 +2476,21 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2204
2476
|
### Fixed
|
|
2205
2477
|
|
|
2206
2478
|
- HTML export now properly sanitizes user messages containing HTML tags like `<style>` that could break DOM rendering
|
|
2207
|
-
- Crash when displaying bash output containing Unicode format characters like U+0600-U+0604 ([#372](https://github.com/
|
|
2208
|
-
- **Footer shows full session stats**: Token usage and cost now include all messages, not just those after compaction. ([#322](https://github.com/
|
|
2209
|
-
- **Status messages spam chat log**: Rapidly changing settings (e.g., thinking level via Shift+Tab) would add multiple status lines. Sequential status updates now coalesce into a single line. ([#365](https://github.com/
|
|
2479
|
+
- Crash when displaying bash output containing Unicode format characters like U+0600-U+0604 ([#372](https://github.com/draht-dev/draht/pull/372) by [@HACKE-RC](https://github.com/HACKE-RC))
|
|
2480
|
+
- **Footer shows full session stats**: Token usage and cost now include all messages, not just those after compaction. ([#322](https://github.com/draht-dev/draht/issues/322))
|
|
2481
|
+
- **Status messages spam chat log**: Rapidly changing settings (e.g., thinking level via Shift+Tab) would add multiple status lines. Sequential status updates now coalesce into a single line. ([#365](https://github.com/draht-dev/draht/pull/365) by [@paulbettner](https://github.com/paulbettner))
|
|
2210
2482
|
- **Toggling thinking blocks during streaming shows nothing**: Pressing Ctrl+T while streaming would hide the current message until streaming completed.
|
|
2211
|
-
- **Resuming session resets thinking level to off**: Initial model and thinking level were not saved to session file, causing `--resume`/`--continue` to default to `off`. ([#342](https://github.com/
|
|
2212
|
-
- **Hook `tool_result` event ignores errors from custom tools**: The `tool_result` hook event was never emitted when tools threw errors, and always had `isError: false` for successful executions. Now emits the event with correct `isError` value in both success and error cases. ([#374](https://github.com/
|
|
2213
|
-
- **Edit tool fails on Windows due to CRLF line endings**: Files with CRLF line endings now match correctly when LLMs send LF-only text. Line endings are normalized before matching and restored to original style on write. ([#355](https://github.com/
|
|
2214
|
-
- **Edit tool fails on files with UTF-8 BOM**: Files with UTF-8 BOM marker could cause "text not found" errors since the LLM doesn't include the invisible BOM character. BOM is now stripped before matching and restored on write. ([#394](https://github.com/
|
|
2215
|
-
- **Use bash instead of sh on Unix**: Fixed shell commands using `/bin/sh` instead of `/bin/bash` on Unix systems. ([#328](https://github.com/
|
|
2216
|
-
- **OAuth login URL clickable**: Made OAuth login URLs clickable in terminal. ([#349](https://github.com/
|
|
2217
|
-
- **Improved error messages**: Better error messages when `apiKey` or `model` are missing. ([#346](https://github.com/
|
|
2483
|
+
- **Resuming session resets thinking level to off**: Initial model and thinking level were not saved to session file, causing `--resume`/`--continue` to default to `off`. ([#342](https://github.com/draht-dev/draht/issues/342) by [@aliou](https://github.com/aliou))
|
|
2484
|
+
- **Hook `tool_result` event ignores errors from custom tools**: The `tool_result` hook event was never emitted when tools threw errors, and always had `isError: false` for successful executions. Now emits the event with correct `isError` value in both success and error cases. ([#374](https://github.com/draht-dev/draht/issues/374) by [@nicobailon](https://github.com/nicobailon))
|
|
2485
|
+
- **Edit tool fails on Windows due to CRLF line endings**: Files with CRLF line endings now match correctly when LLMs send LF-only text. Line endings are normalized before matching and restored to original style on write. ([#355](https://github.com/draht-dev/draht/issues/355) by [@Pratham-Dubey](https://github.com/Pratham-Dubey))
|
|
2486
|
+
- **Edit tool fails on files with UTF-8 BOM**: Files with UTF-8 BOM marker could cause "text not found" errors since the LLM doesn't include the invisible BOM character. BOM is now stripped before matching and restored on write. ([#394](https://github.com/draht-dev/draht/pull/394) by [@prathamdby](https://github.com/prathamdby))
|
|
2487
|
+
- **Use bash instead of sh on Unix**: Fixed shell commands using `/bin/sh` instead of `/bin/bash` on Unix systems. ([#328](https://github.com/draht-dev/draht/pull/328) by [@dnouri](https://github.com/dnouri))
|
|
2488
|
+
- **OAuth login URL clickable**: Made OAuth login URLs clickable in terminal. ([#349](https://github.com/draht-dev/draht/pull/349) by [@Cursivez](https://github.com/Cursivez))
|
|
2489
|
+
- **Improved error messages**: Better error messages when `apiKey` or `model` are missing. ([#346](https://github.com/draht-dev/draht/pull/346) by [@ronyrus](https://github.com/ronyrus))
|
|
2218
2490
|
- **Session file validation**: `findMostRecentSession()` now validates session headers before returning, preventing non-session JSONL files from being loaded
|
|
2219
2491
|
- **Compaction error handling**: `generateSummary()` and `generateTurnPrefixSummary()` now throw on LLM errors instead of returning empty strings
|
|
2220
2492
|
- **Compaction with branched sessions**: Fixed compaction incorrectly including entries from abandoned branches, causing token overflow errors. Compaction now uses `sessionManager.getPath()` to work only on the current branch path, eliminating 80+ lines of duplicate entry collection logic between `prepareCompaction()` and `compact()`
|
|
2221
|
-
- **enabledModels glob patterns**: `--models` and `enabledModels` now support glob patterns like `github-copilot/*` or `*sonnet*`. Previously, patterns were only matched literally or via substring search. ([#337](https://github.com/
|
|
2493
|
+
- **enabledModels glob patterns**: `--models` and `enabledModels` now support glob patterns like `github-copilot/*` or `*sonnet*`. Previously, patterns were only matched literally or via substring search. ([#337](https://github.com/draht-dev/draht/issues/337))
|
|
2222
2494
|
|
|
2223
2495
|
## [0.30.2] - 2025-12-26
|
|
2224
2496
|
|
|
@@ -2230,54 +2502,54 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2230
2502
|
|
|
2231
2503
|
### Fixed
|
|
2232
2504
|
|
|
2233
|
-
- **Sessions saved to wrong directory**: In v0.30.0, sessions were being saved to `~/.pi/agent/` instead of `~/.pi/agent/sessions/<encoded-cwd>/`, breaking `--resume` and `/resume`. Misplaced sessions are automatically migrated on startup. ([#320](https://github.com/
|
|
2234
|
-
- **Custom system prompts missing context**: When using a custom system prompt string, project context files (AGENTS.md), skills, date/time, and working directory were not appended. ([#321](https://github.com/
|
|
2505
|
+
- **Sessions saved to wrong directory**: In v0.30.0, sessions were being saved to `~/.pi/agent/` instead of `~/.pi/agent/sessions/<encoded-cwd>/`, breaking `--resume` and `/resume`. Misplaced sessions are automatically migrated on startup. ([#320](https://github.com/draht-dev/draht/issues/320) by [@aliou](https://github.com/aliou))
|
|
2506
|
+
- **Custom system prompts missing context**: When using a custom system prompt string, project context files (AGENTS.md), skills, date/time, and working directory were not appended. ([#321](https://github.com/draht-dev/draht/issues/321))
|
|
2235
2507
|
|
|
2236
2508
|
## [0.30.0] - 2025-12-25
|
|
2237
2509
|
|
|
2238
2510
|
### Breaking Changes
|
|
2239
2511
|
|
|
2240
|
-
- **SessionManager API**: The second parameter of `create()`, `continueRecent()`, and `list()` changed from `agentDir` to `sessionDir`. When provided, it specifies the session directory directly (no cwd encoding). When omitted, uses default (`~/.pi/agent/sessions/<encoded-cwd>/`). `open()` no longer takes `agentDir`. ([#313](https://github.com/
|
|
2512
|
+
- **SessionManager API**: The second parameter of `create()`, `continueRecent()`, and `list()` changed from `agentDir` to `sessionDir`. When provided, it specifies the session directory directly (no cwd encoding). When omitted, uses default (`~/.pi/agent/sessions/<encoded-cwd>/`). `open()` no longer takes `agentDir`. ([#313](https://github.com/draht-dev/draht/pull/313))
|
|
2241
2513
|
|
|
2242
2514
|
### Added
|
|
2243
2515
|
|
|
2244
|
-
- **`--session-dir` flag**: Use a custom directory for sessions instead of the default `~/.pi/agent/sessions/<encoded-cwd>/`. Works with `-c` (continue) and `-r` (resume) flags. ([#313](https://github.com/
|
|
2245
|
-
- **Reverse model cycling and model selector**: Shift+Ctrl+P cycles models backward, Ctrl+L opens model selector (retaining text in editor). ([#315](https://github.com/
|
|
2516
|
+
- **`--session-dir` flag**: Use a custom directory for sessions instead of the default `~/.pi/agent/sessions/<encoded-cwd>/`. Works with `-c` (continue) and `-r` (resume) flags. ([#313](https://github.com/draht-dev/draht/pull/313) by [@scutifer](https://github.com/scutifer))
|
|
2517
|
+
- **Reverse model cycling and model selector**: Shift+Ctrl+P cycles models backward, Ctrl+L opens model selector (retaining text in editor). ([#315](https://github.com/draht-dev/draht/pull/315) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
2246
2518
|
|
|
2247
2519
|
## [0.29.1] - 2025-12-25
|
|
2248
2520
|
|
|
2249
2521
|
### Added
|
|
2250
2522
|
|
|
2251
|
-
- **Automatic custom system prompt loading**: Pi now auto-loads `SYSTEM.md` files to replace the default system prompt. Project-local `.pi/SYSTEM.md` takes precedence over global `~/.pi/agent/SYSTEM.md`. CLI `--system-prompt` flag overrides both. ([#309](https://github.com/
|
|
2252
|
-
- **Unified `/settings` command**: New settings menu consolidating thinking level, theme, queue mode, auto-compact, show images, hide thinking, and collapse changelog. Replaces individual `/thinking`, `/queue`, `/theme`, `/autocompact`, and `/show-images` commands. ([#310](https://github.com/
|
|
2523
|
+
- **Automatic custom system prompt loading**: Pi now auto-loads `SYSTEM.md` files to replace the default system prompt. Project-local `.pi/SYSTEM.md` takes precedence over global `~/.pi/agent/SYSTEM.md`. CLI `--system-prompt` flag overrides both. ([#309](https://github.com/draht-dev/draht/issues/309))
|
|
2524
|
+
- **Unified `/settings` command**: New settings menu consolidating thinking level, theme, queue mode, auto-compact, show images, hide thinking, and collapse changelog. Replaces individual `/thinking`, `/queue`, `/theme`, `/autocompact`, and `/show-images` commands. ([#310](https://github.com/draht-dev/draht/issues/310))
|
|
2253
2525
|
|
|
2254
2526
|
### Fixed
|
|
2255
2527
|
|
|
2256
|
-
- **Custom tools/hooks with typebox subpath imports**: Fixed jiti alias for `@sinclair/typebox` to point to package root instead of entry file, allowing imports like `@sinclair/typebox/compiler` to resolve correctly. ([#311](https://github.com/
|
|
2528
|
+
- **Custom tools/hooks with typebox subpath imports**: Fixed jiti alias for `@sinclair/typebox` to point to package root instead of entry file, allowing imports like `@sinclair/typebox/compiler` to resolve correctly. ([#311](https://github.com/draht-dev/draht/issues/311) by [@kim0](https://github.com/kim0))
|
|
2257
2529
|
|
|
2258
2530
|
## [0.29.0] - 2025-12-25
|
|
2259
2531
|
|
|
2260
2532
|
### Breaking Changes
|
|
2261
2533
|
|
|
2262
|
-
- **Renamed `/clear` to `/new`**: The command to start a fresh session is now `/new`. Hook event reasons `before_clear`/`clear` are now `before_new`/`new`. Merry Christmas [@mitsuhiko](https://github.com/mitsuhiko)! ([#305](https://github.com/
|
|
2534
|
+
- **Renamed `/clear` to `/new`**: The command to start a fresh session is now `/new`. Hook event reasons `before_clear`/`clear` are now `before_new`/`new`. Merry Christmas [@mitsuhiko](https://github.com/mitsuhiko)! ([#305](https://github.com/draht-dev/draht/pull/305))
|
|
2263
2535
|
|
|
2264
2536
|
### Added
|
|
2265
2537
|
|
|
2266
|
-
- **Auto-space before pasted file paths**: When pasting a file path (starting with `/`, `~`, or `.`) after a word character, a space is automatically prepended. ([#307](https://github.com/
|
|
2267
|
-
- **Word navigation in input fields**: Added Ctrl+Left/Right and Alt+Left/Right for word-by-word cursor movement. ([#306](https://github.com/
|
|
2268
|
-
- **Full Unicode input**: Input fields now accept Unicode characters beyond ASCII. ([#306](https://github.com/
|
|
2538
|
+
- **Auto-space before pasted file paths**: When pasting a file path (starting with `/`, `~`, or `.`) after a word character, a space is automatically prepended. ([#307](https://github.com/draht-dev/draht/pull/307) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
2539
|
+
- **Word navigation in input fields**: Added Ctrl+Left/Right and Alt+Left/Right for word-by-word cursor movement. ([#306](https://github.com/draht-dev/draht/pull/306) by [@kim0](https://github.com/kim0))
|
|
2540
|
+
- **Full Unicode input**: Input fields now accept Unicode characters beyond ASCII. ([#306](https://github.com/draht-dev/draht/pull/306) by [@kim0](https://github.com/kim0))
|
|
2269
2541
|
|
|
2270
2542
|
### Fixed
|
|
2271
2543
|
|
|
2272
|
-
- **Readline-style Ctrl+W**: Now skips trailing whitespace before deleting the preceding word, matching standard readline behavior. ([#306](https://github.com/
|
|
2544
|
+
- **Readline-style Ctrl+W**: Now skips trailing whitespace before deleting the preceding word, matching standard readline behavior. ([#306](https://github.com/draht-dev/draht/pull/306) by [@kim0](https://github.com/kim0))
|
|
2273
2545
|
|
|
2274
2546
|
## [0.28.0] - 2025-12-25
|
|
2275
2547
|
|
|
2276
2548
|
### Changed
|
|
2277
2549
|
|
|
2278
|
-
- **Credential storage refactored**: API keys and OAuth tokens are now stored in `~/.pi/agent/auth.json` instead of `oauth.json` and `settings.json`. Existing credentials are automatically migrated on first run. ([#296](https://github.com/
|
|
2550
|
+
- **Credential storage refactored**: API keys and OAuth tokens are now stored in `~/.pi/agent/auth.json` instead of `oauth.json` and `settings.json`. Existing credentials are automatically migrated on first run. ([#296](https://github.com/draht-dev/draht/issues/296))
|
|
2279
2551
|
|
|
2280
|
-
- **SDK API changes** ([#296](https://github.com/
|
|
2552
|
+
- **SDK API changes** ([#296](https://github.com/draht-dev/draht/issues/296)):
|
|
2281
2553
|
|
|
2282
2554
|
- Added `AuthStorage` class for credential management (API keys and OAuth tokens)
|
|
2283
2555
|
- Added `ModelRegistry` class for model discovery and API key resolution
|
|
@@ -2285,20 +2557,20 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2285
2557
|
- `createAgentSession()` now accepts `authStorage` and `modelRegistry` options
|
|
2286
2558
|
- Removed `configureOAuthStorage()`, `defaultGetApiKey()`, `findModel()`, `discoverAvailableModels()`
|
|
2287
2559
|
- Removed `getApiKey` callback option (use `AuthStorage.setRuntimeApiKey()` for runtime overrides)
|
|
2288
|
-
- Use `getModel()` from `@
|
|
2560
|
+
- Use `getModel()` from `@draht/ai` for built-in models, `modelRegistry.find()` for custom models + built-in models
|
|
2289
2561
|
- See updated [SDK documentation](docs/sdk.md) and [README](README.md)
|
|
2290
2562
|
|
|
2291
|
-
- **Settings changes**: Removed `apiKeys` from `settings.json`. Use `auth.json` instead. ([#296](https://github.com/
|
|
2563
|
+
- **Settings changes**: Removed `apiKeys` from `settings.json`. Use `auth.json` instead. ([#296](https://github.com/draht-dev/draht/issues/296))
|
|
2292
2564
|
|
|
2293
2565
|
### Fixed
|
|
2294
2566
|
|
|
2295
|
-
- **Duplicate skill warnings for symlinks**: Skills loaded via symlinks pointing to the same file are now silently deduplicated instead of showing name collision warnings. ([#304](https://github.com/
|
|
2567
|
+
- **Duplicate skill warnings for symlinks**: Skills loaded via symlinks pointing to the same file are now silently deduplicated instead of showing name collision warnings. ([#304](https://github.com/draht-dev/draht/pull/304) by [@mitsuhiko](https://github.com/mitsuhiko))
|
|
2296
2568
|
|
|
2297
2569
|
## [0.27.9] - 2025-12-24
|
|
2298
2570
|
|
|
2299
2571
|
### Fixed
|
|
2300
2572
|
|
|
2301
|
-
- **Model selector and --list-models with settings.json API keys**: Models with API keys configured in settings.json (but not in environment variables) now properly appear in the /model selector and `--list-models` output. ([#295](https://github.com/
|
|
2573
|
+
- **Model selector and --list-models with settings.json API keys**: Models with API keys configured in settings.json (but not in environment variables) now properly appear in the /model selector and `--list-models` output. ([#295](https://github.com/draht-dev/draht/issues/295))
|
|
2302
2574
|
|
|
2303
2575
|
## [0.27.8] - 2025-12-24
|
|
2304
2576
|
|
|
@@ -2310,7 +2582,7 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2310
2582
|
|
|
2311
2583
|
### Fixed
|
|
2312
2584
|
|
|
2313
|
-
- **Thinking tag leakage**: Fixed Claude mimicking literal `</thinking>` tags in responses. Unsigned thinking blocks (from aborted streams) are now converted to plain text without `<thinking>` tags. The TUI still displays them as thinking blocks. ([#302](https://github.com/
|
|
2585
|
+
- **Thinking tag leakage**: Fixed Claude mimicking literal `</thinking>` tags in responses. Unsigned thinking blocks (from aborted streams) are now converted to plain text without `<thinking>` tags. The TUI still displays them as thinking blocks. ([#302](https://github.com/draht-dev/draht/pull/302) by [@nicobailon](https://github.com/nicobailon))
|
|
2314
2586
|
|
|
2315
2587
|
## [0.27.6] - 2025-12-24
|
|
2316
2588
|
|
|
@@ -2337,7 +2609,7 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2337
2609
|
|
|
2338
2610
|
### Fixed
|
|
2339
2611
|
|
|
2340
|
-
- **Ghostty inline images in tmux**: Fixed terminal detection for Ghostty when running inside tmux by checking `GHOSTTY_RESOURCES_DIR` env var. ([#299](https://github.com/
|
|
2612
|
+
- **Ghostty inline images in tmux**: Fixed terminal detection for Ghostty when running inside tmux by checking `GHOSTTY_RESOURCES_DIR` env var. ([#299](https://github.com/draht-dev/draht/pull/299) by [@nicobailon](https://github.com/nicobailon))
|
|
2341
2613
|
|
|
2342
2614
|
## [0.27.4] - 2025-12-24
|
|
2343
2615
|
|
|
@@ -2349,18 +2621,18 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2349
2621
|
|
|
2350
2622
|
### Added
|
|
2351
2623
|
|
|
2352
|
-
- **API keys in settings.json**: Store API keys in `~/.pi/agent/settings.json` under the `apiKeys` field (e.g., `{ "apiKeys": { "anthropic": "sk-..." } }`). Settings keys take priority over environment variables. ([#295](https://github.com/
|
|
2624
|
+
- **API keys in settings.json**: Store API keys in `~/.pi/agent/settings.json` under the `apiKeys` field (e.g., `{ "apiKeys": { "anthropic": "sk-..." } }`). Settings keys take priority over environment variables. ([#295](https://github.com/draht-dev/draht/issues/295))
|
|
2353
2625
|
|
|
2354
2626
|
### Fixed
|
|
2355
2627
|
|
|
2356
|
-
- **Allow startup without API keys**: Interactive mode no longer throws when no API keys are configured. Users can now start the agent and use `/login` to authenticate. ([#288](https://github.com/
|
|
2357
|
-
- **`--system-prompt` file path support**: The `--system-prompt` argument now correctly resolves file paths (like `--append-system-prompt` already did). ([#287](https://github.com/
|
|
2628
|
+
- **Allow startup without API keys**: Interactive mode no longer throws when no API keys are configured. Users can now start the agent and use `/login` to authenticate. ([#288](https://github.com/draht-dev/draht/issues/288))
|
|
2629
|
+
- **`--system-prompt` file path support**: The `--system-prompt` argument now correctly resolves file paths (like `--append-system-prompt` already did). ([#287](https://github.com/draht-dev/draht/pull/287) by [@scutifer](https://github.com/scutifer))
|
|
2358
2630
|
|
|
2359
2631
|
## [0.27.2] - 2025-12-23
|
|
2360
2632
|
|
|
2361
2633
|
### Added
|
|
2362
2634
|
|
|
2363
|
-
- **Skip conversation restore on branch**: Hooks can return `{ skipConversationRestore: true }` from `before_branch` to create the branched session file without restoring conversation messages. Useful for checkpoint hooks that restore files separately. ([#286](https://github.com/
|
|
2635
|
+
- **Skip conversation restore on branch**: Hooks can return `{ skipConversationRestore: true }` from `before_branch` to create the branched session file without restoring conversation messages. Useful for checkpoint hooks that restore files separately. ([#286](https://github.com/draht-dev/draht/pull/286) by [@nicobarray](https://github.com/nicobarray))
|
|
2364
2636
|
|
|
2365
2637
|
## [0.27.1] - 2025-12-22
|
|
2366
2638
|
|
|
@@ -2376,31 +2648,31 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2376
2648
|
|
|
2377
2649
|
### Breaking
|
|
2378
2650
|
|
|
2379
|
-
- **Session hooks API redesign**: Merged `branch` event into `session` event. `BranchEvent`, `BranchEventResult` types and `pi.on("branch", ...)` removed. Use `pi.on("session", ...)` with `reason: "before_branch" | "branch"` instead. `AgentSession.branch()` returns `{ cancelled }` instead of `{ skipped }`. `AgentSession.reset()` and `switchSession()` now return `boolean` (false if cancelled by hook). RPC commands `reset`, `switch_session`, and `branch` now include `cancelled` in response data. ([#278](https://github.com/
|
|
2651
|
+
- **Session hooks API redesign**: Merged `branch` event into `session` event. `BranchEvent`, `BranchEventResult` types and `pi.on("branch", ...)` removed. Use `pi.on("session", ...)` with `reason: "before_branch" | "branch"` instead. `AgentSession.branch()` returns `{ cancelled }` instead of `{ skipped }`. `AgentSession.reset()` and `switchSession()` now return `boolean` (false if cancelled by hook). RPC commands `reset`, `switch_session`, and `branch` now include `cancelled` in response data. ([#278](https://github.com/draht-dev/draht/issues/278))
|
|
2380
2652
|
|
|
2381
2653
|
### Added
|
|
2382
2654
|
|
|
2383
|
-
- **Session lifecycle hooks**: Added `before_*` variants (`before_switch`, `before_clear`, `before_branch`) that fire before actions and can be cancelled with `{ cancel: true }`. Added `shutdown` reason for graceful exit handling. ([#278](https://github.com/
|
|
2655
|
+
- **Session lifecycle hooks**: Added `before_*` variants (`before_switch`, `before_clear`, `before_branch`) that fire before actions and can be cancelled with `{ cancel: true }`. Added `shutdown` reason for graceful exit handling. ([#278](https://github.com/draht-dev/draht/issues/278))
|
|
2384
2656
|
|
|
2385
2657
|
### Fixed
|
|
2386
2658
|
|
|
2387
|
-
- **File tab completion display**: File paths no longer get cut off early. Folders now show trailing `/` and removed redundant "directory"/"file" labels to maximize horizontal space. ([#280](https://github.com/
|
|
2659
|
+
- **File tab completion display**: File paths no longer get cut off early. Folders now show trailing `/` and removed redundant "directory"/"file" labels to maximize horizontal space. ([#280](https://github.com/draht-dev/draht/issues/280))
|
|
2388
2660
|
|
|
2389
|
-
- **Bash tool visual line truncation**: Fixed bash tool output in collapsed mode to use visual line counting (accounting for line wrapping) instead of logical line counting. Now consistent with bash-execution.ts behavior. Extracted shared `truncateToVisualLines` utility. ([#275](https://github.com/
|
|
2661
|
+
- **Bash tool visual line truncation**: Fixed bash tool output in collapsed mode to use visual line counting (accounting for line wrapping) instead of logical line counting. Now consistent with bash-execution.ts behavior. Extracted shared `truncateToVisualLines` utility. ([#275](https://github.com/draht-dev/draht/issues/275))
|
|
2390
2662
|
|
|
2391
2663
|
## [0.26.1] - 2025-12-22
|
|
2392
2664
|
|
|
2393
2665
|
### Fixed
|
|
2394
2666
|
|
|
2395
|
-
- **SDK tools respect cwd**: Core tools (bash, read, edit, write, grep, find, ls) now properly use the `cwd` option from `createAgentSession()`. Added tool factory functions (`createBashTool`, `createReadTool`, etc.) for SDK users who specify custom `cwd` with explicit tools. ([#279](https://github.com/
|
|
2667
|
+
- **SDK tools respect cwd**: Core tools (bash, read, edit, write, grep, find, ls) now properly use the `cwd` option from `createAgentSession()`. Added tool factory functions (`createBashTool`, `createReadTool`, etc.) for SDK users who specify custom `cwd` with explicit tools. ([#279](https://github.com/draht-dev/draht/issues/279))
|
|
2396
2668
|
|
|
2397
2669
|
## [0.26.0] - 2025-12-22
|
|
2398
2670
|
|
|
2399
2671
|
### Added
|
|
2400
2672
|
|
|
2401
|
-
- **SDK for programmatic usage**: New `createAgentSession()` factory with full control over model, tools, hooks, skills, session persistence, and settings. Philosophy: "omit to discover, provide to override". Includes 12 examples and comprehensive documentation. ([#272](https://github.com/
|
|
2673
|
+
- **SDK for programmatic usage**: New `createAgentSession()` factory with full control over model, tools, hooks, skills, session persistence, and settings. Philosophy: "omit to discover, provide to override". Includes 12 examples and comprehensive documentation. ([#272](https://github.com/draht-dev/draht/issues/272))
|
|
2402
2674
|
|
|
2403
|
-
- **Project-specific settings**: Settings now load from both `~/.pi/agent/settings.json` (global) and `<cwd>/.pi/settings.json` (project). Project settings override global with deep merge for nested objects. Project settings are read-only (for version control). ([#276](https://github.com/
|
|
2675
|
+
- **Project-specific settings**: Settings now load from both `~/.pi/agent/settings.json` (global) and `<cwd>/.pi/settings.json` (project). Project settings override global with deep merge for nested objects. Project settings are read-only (for version control). ([#276](https://github.com/draht-dev/draht/pull/276))
|
|
2404
2676
|
|
|
2405
2677
|
- **SettingsManager static factories**: `SettingsManager.create(cwd?, agentDir?)` for file-based settings, `SettingsManager.inMemory(settings?)` for testing. Added `applyOverrides()` for programmatic overrides.
|
|
2406
2678
|
|
|
@@ -2410,21 +2682,21 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2410
2682
|
|
|
2411
2683
|
### Fixed
|
|
2412
2684
|
|
|
2413
|
-
- **Syntax highlighting stderr spam**: Fixed cli-highlight logging errors to stderr when markdown contains malformed code fences (e.g., missing newlines around closing backticks). Now validates language identifiers before highlighting and falls back silently to plain text. ([#274](https://github.com/
|
|
2685
|
+
- **Syntax highlighting stderr spam**: Fixed cli-highlight logging errors to stderr when markdown contains malformed code fences (e.g., missing newlines around closing backticks). Now validates language identifiers before highlighting and falls back silently to plain text. ([#274](https://github.com/draht-dev/draht/issues/274))
|
|
2414
2686
|
|
|
2415
2687
|
## [0.25.3] - 2025-12-21
|
|
2416
2688
|
|
|
2417
2689
|
### Added
|
|
2418
2690
|
|
|
2419
|
-
- **Gemini 3 preview models**: Added `gemini-3-pro-preview` and `gemini-3-flash-preview` to the google-gemini-cli provider. ([#264](https://github.com/
|
|
2691
|
+
- **Gemini 3 preview models**: Added `gemini-3-pro-preview` and `gemini-3-flash-preview` to the google-gemini-cli provider. ([#264](https://github.com/draht-dev/draht/pull/264) by [@LukeFost](https://github.com/LukeFost))
|
|
2420
2692
|
|
|
2421
|
-
- **External editor support**: Press `Ctrl+G` to edit your message in an external editor. Uses `$VISUAL` or `$EDITOR` environment variable. On successful save, the message is replaced; on cancel, the original is kept. ([#266](https://github.com/
|
|
2693
|
+
- **External editor support**: Press `Ctrl+G` to edit your message in an external editor. Uses `$VISUAL` or `$EDITOR` environment variable. On successful save, the message is replaced; on cancel, the original is kept. ([#266](https://github.com/draht-dev/draht/pull/266) by [@aliou](https://github.com/aliou))
|
|
2422
2694
|
|
|
2423
|
-
- **Process suspension**: Press `Ctrl+Z` to suspend pi and return to the shell. Resume with `fg` as usual. ([#267](https://github.com/
|
|
2695
|
+
- **Process suspension**: Press `Ctrl+Z` to suspend pi and return to the shell. Resume with `fg` as usual. ([#267](https://github.com/draht-dev/draht/pull/267) by [@aliou](https://github.com/aliou))
|
|
2424
2696
|
|
|
2425
|
-
- **Configurable skills directories**: Added granular control over skill sources with `enableCodexUser`, `enableClaudeUser`, `enableClaudeProject`, `enablePiUser`, `enablePiProject` toggles, plus `customDirectories` and `ignoredSkills` settings. ([#269](https://github.com/
|
|
2697
|
+
- **Configurable skills directories**: Added granular control over skill sources with `enableCodexUser`, `enableClaudeUser`, `enableClaudeProject`, `enablePiUser`, `enablePiProject` toggles, plus `customDirectories` and `ignoredSkills` settings. ([#269](https://github.com/draht-dev/draht/pull/269) by [@nicobailon](https://github.com/nicobailon))
|
|
2426
2698
|
|
|
2427
|
-
- **Skills CLI filtering**: Added `--skills <patterns>` flag for filtering skills with glob patterns. Also added `includeSkills` setting and glob pattern support for `ignoredSkills`. ([#268](https://github.com/
|
|
2699
|
+
- **Skills CLI filtering**: Added `--skills <patterns>` flag for filtering skills with glob patterns. Also added `includeSkills` setting and glob pattern support for `ignoredSkills`. ([#268](https://github.com/draht-dev/draht/issues/268))
|
|
2428
2700
|
|
|
2429
2701
|
## [0.25.2] - 2025-12-21
|
|
2430
2702
|
|
|
@@ -2444,7 +2716,7 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2444
2716
|
|
|
2445
2717
|
### Added
|
|
2446
2718
|
|
|
2447
|
-
- **Interruptible tool execution**: Queuing a message while tools are executing now interrupts the current tool batch. Remaining tools are skipped with an error result, and your queued message is processed immediately. Useful for redirecting the agent mid-task. ([#259](https://github.com/
|
|
2719
|
+
- **Interruptible tool execution**: Queuing a message while tools are executing now interrupts the current tool batch. Remaining tools are skipped with an error result, and your queued message is processed immediately. Useful for redirecting the agent mid-task. ([#259](https://github.com/draht-dev/draht/pull/259) by [@steipete](https://github.com/steipete))
|
|
2448
2720
|
|
|
2449
2721
|
- **Google Gemini CLI OAuth provider**: Access Gemini 2.0/2.5 models for free via Google Cloud Code Assist. Login with `/login` and select "Google Gemini CLI". Uses your Google account with rate limits.
|
|
2450
2722
|
|
|
@@ -2452,13 +2724,13 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2452
2724
|
|
|
2453
2725
|
### Changed
|
|
2454
2726
|
|
|
2455
|
-
- **Model selector respects --models scope**: The `/model` command now only shows models specified via `--models` flag when that flag is used, instead of showing all available models. This prevents accidentally selecting models from unintended providers. ([#255](https://github.com/
|
|
2727
|
+
- **Model selector respects --models scope**: The `/model` command now only shows models specified via `--models` flag when that flag is used, instead of showing all available models. This prevents accidentally selecting models from unintended providers. ([#255](https://github.com/draht-dev/draht/issues/255))
|
|
2456
2728
|
|
|
2457
2729
|
### Fixed
|
|
2458
2730
|
|
|
2459
|
-
- **Connection errors not retried**: Added "connection error" to the list of retryable errors so Anthropic connection drops trigger auto-retry instead of silently failing. ([#252](https://github.com/
|
|
2731
|
+
- **Connection errors not retried**: Added "connection error" to the list of retryable errors so Anthropic connection drops trigger auto-retry instead of silently failing. ([#252](https://github.com/draht-dev/draht/issues/252))
|
|
2460
2732
|
|
|
2461
|
-
- **Thinking level not clamped on model switch**: Fixed TUI showing xhigh thinking level after switching to a model that doesn't support it. Thinking level is now automatically clamped to model capabilities. ([#253](https://github.com/
|
|
2733
|
+
- **Thinking level not clamped on model switch**: Fixed TUI showing xhigh thinking level after switching to a model that doesn't support it. Thinking level is now automatically clamped to model capabilities. ([#253](https://github.com/draht-dev/draht/issues/253))
|
|
2462
2734
|
|
|
2463
2735
|
- **Cross-model thinking handoff**: Fixed error when switching between models with different thinking signature formats (e.g., GPT-OSS to Claude thinking models via Antigravity). Thinking blocks without signatures are now converted to text with `<thinking>` delimiters.
|
|
2464
2736
|
|
|
@@ -2472,7 +2744,7 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2472
2744
|
|
|
2473
2745
|
### Fixed
|
|
2474
2746
|
|
|
2475
|
-
- **Arrow keys and Enter in selector components**: Fixed arrow keys and Enter not working in model selector, session selector, OAuth selector, and other selector components when Caps Lock or Num Lock is enabled. ([#243](https://github.com/
|
|
2747
|
+
- **Arrow keys and Enter in selector components**: Fixed arrow keys and Enter not working in model selector, session selector, OAuth selector, and other selector components when Caps Lock or Num Lock is enabled. ([#243](https://github.com/draht-dev/draht/issues/243))
|
|
2476
2748
|
|
|
2477
2749
|
## [0.24.3] - 2025-12-19
|
|
2478
2750
|
|
|
@@ -2484,45 +2756,45 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2484
2756
|
|
|
2485
2757
|
### Fixed
|
|
2486
2758
|
|
|
2487
|
-
- **More Kitty keyboard protocol fixes**: Fixed Backspace, Enter, Home, End, and Delete keys not working with Caps Lock enabled. The initial fix in 0.24.1 missed several key handlers that were still using raw byte detection. Now all key handlers use the helper functions that properly mask out lock key bits. ([#243](https://github.com/
|
|
2759
|
+
- **More Kitty keyboard protocol fixes**: Fixed Backspace, Enter, Home, End, and Delete keys not working with Caps Lock enabled. The initial fix in 0.24.1 missed several key handlers that were still using raw byte detection. Now all key handlers use the helper functions that properly mask out lock key bits. ([#243](https://github.com/draht-dev/draht/issues/243))
|
|
2488
2760
|
|
|
2489
2761
|
## [0.24.1] - 2025-12-19
|
|
2490
2762
|
|
|
2491
2763
|
### Added
|
|
2492
2764
|
|
|
2493
|
-
- **OAuth and model config exports**: Scripts using `AgentSession` directly can now import `getAvailableModels`, `getApiKeyForModel`, `findModel`, `login`, `logout`, and `getOAuthProviders` from `@
|
|
2765
|
+
- **OAuth and model config exports**: Scripts using `AgentSession` directly can now import `getAvailableModels`, `getApiKeyForModel`, `findModel`, `login`, `logout`, and `getOAuthProviders` from `@draht/coding-agent` to reuse OAuth token storage and model resolution. ([#245](https://github.com/draht-dev/draht/issues/245))
|
|
2494
2766
|
|
|
2495
|
-
- **xhigh thinking level for gpt-5.2 models**: The thinking level selector and shift+tab cycling now show xhigh option for gpt-5.2 and gpt-5.2-codex models (in addition to gpt-5.1-codex-max). ([#236](https://github.com/
|
|
2767
|
+
- **xhigh thinking level for gpt-5.2 models**: The thinking level selector and shift+tab cycling now show xhigh option for gpt-5.2 and gpt-5.2-codex models (in addition to gpt-5.1-codex-max). ([#236](https://github.com/draht-dev/draht/pull/236) by [@theBucky](https://github.com/theBucky))
|
|
2496
2768
|
|
|
2497
2769
|
### Fixed
|
|
2498
2770
|
|
|
2499
|
-
- **Hooks wrap custom tools**: Custom tools are now executed through the hook wrapper, so `tool_call`/`tool_result` hooks can observe, block, and modify custom tool executions (consistent with hook type docs). ([#248](https://github.com/
|
|
2771
|
+
- **Hooks wrap custom tools**: Custom tools are now executed through the hook wrapper, so `tool_call`/`tool_result` hooks can observe, block, and modify custom tool executions (consistent with hook type docs). ([#248](https://github.com/draht-dev/draht/pull/248) by [@nicobailon](https://github.com/nicobailon))
|
|
2500
2772
|
|
|
2501
|
-
- **Hook onUpdate callback forwarding**: The `onUpdate` callback is now correctly forwarded through the hook wrapper, fixing custom tool progress updates. ([#238](https://github.com/
|
|
2773
|
+
- **Hook onUpdate callback forwarding**: The `onUpdate` callback is now correctly forwarded through the hook wrapper, fixing custom tool progress updates. ([#238](https://github.com/draht-dev/draht/pull/238) by [@nicobailon](https://github.com/nicobailon))
|
|
2502
2774
|
|
|
2503
|
-
- **Terminal cleanup on Ctrl+C in session selector**: Fixed terminal not being properly restored when pressing Ctrl+C in the session selector. ([#247](https://github.com/
|
|
2775
|
+
- **Terminal cleanup on Ctrl+C in session selector**: Fixed terminal not being properly restored when pressing Ctrl+C in the session selector. ([#247](https://github.com/draht-dev/draht/pull/247) by [@aliou](https://github.com/aliou))
|
|
2504
2776
|
|
|
2505
|
-
- **OpenRouter models with colons in IDs**: Fixed parsing of OpenRouter model IDs that contain colons (e.g., `openrouter:meta-llama/llama-4-scout:free`). ([#242](https://github.com/
|
|
2777
|
+
- **OpenRouter models with colons in IDs**: Fixed parsing of OpenRouter model IDs that contain colons (e.g., `openrouter:meta-llama/llama-4-scout:free`). ([#242](https://github.com/draht-dev/draht/pull/242) by [@aliou](https://github.com/aliou))
|
|
2506
2778
|
|
|
2507
|
-
- **Global AGENTS.md loaded twice**: Fixed global AGENTS.md being loaded twice when present in both `~/.pi/agent/` and the current directory. ([#239](https://github.com/
|
|
2779
|
+
- **Global AGENTS.md loaded twice**: Fixed global AGENTS.md being loaded twice when present in both `~/.pi/agent/` and the current directory. ([#239](https://github.com/draht-dev/draht/pull/239) by [@aliou](https://github.com/aliou))
|
|
2508
2780
|
|
|
2509
|
-
- **Kitty keyboard protocol on Linux**: Fixed keyboard input not working in Ghostty on Linux when Num Lock is enabled. The Kitty protocol includes Caps Lock and Num Lock state in modifier values, which broke key detection. Now correctly masks out lock key bits when matching keyboard shortcuts. ([#243](https://github.com/
|
|
2781
|
+
- **Kitty keyboard protocol on Linux**: Fixed keyboard input not working in Ghostty on Linux when Num Lock is enabled. The Kitty protocol includes Caps Lock and Num Lock state in modifier values, which broke key detection. Now correctly masks out lock key bits when matching keyboard shortcuts. ([#243](https://github.com/draht-dev/draht/issues/243))
|
|
2510
2782
|
|
|
2511
|
-
- **Emoji deletion and cursor movement**: Backspace, Delete, and arrow keys now correctly handle multi-codepoint characters like emojis. Previously, deleting an emoji would leave partial bytes, corrupting the editor state. ([#240](https://github.com/
|
|
2783
|
+
- **Emoji deletion and cursor movement**: Backspace, Delete, and arrow keys now correctly handle multi-codepoint characters like emojis. Previously, deleting an emoji would leave partial bytes, corrupting the editor state. ([#240](https://github.com/draht-dev/draht/issues/240))
|
|
2512
2784
|
|
|
2513
2785
|
## [0.24.0] - 2025-12-19
|
|
2514
2786
|
|
|
2515
2787
|
### Added
|
|
2516
2788
|
|
|
2517
|
-
- **Subagent orchestration example**: Added comprehensive custom tool example for spawning and orchestrating sub-agents with isolated context windows. Includes scout/planner/reviewer/worker agents and workflow commands for multi-agent pipelines. ([#215](https://github.com/
|
|
2789
|
+
- **Subagent orchestration example**: Added comprehensive custom tool example for spawning and orchestrating sub-agents with isolated context windows. Includes scout/planner/reviewer/worker agents and workflow commands for multi-agent pipelines. ([#215](https://github.com/draht-dev/draht/pull/215) by [@nicobailon](https://github.com/nicobailon))
|
|
2518
2790
|
|
|
2519
|
-
- **`getMarkdownTheme()` export**: Custom tools can now import `getMarkdownTheme()` from `@
|
|
2791
|
+
- **`getMarkdownTheme()` export**: Custom tools can now import `getMarkdownTheme()` from `@draht/coding-agent` to use the same markdown styling as the main UI.
|
|
2520
2792
|
|
|
2521
2793
|
- **`pi.exec()` signal and timeout support**: Custom tools and hooks can now pass `{ signal, timeout }` options to `pi.exec()` for cancellation and timeout handling. The result includes a `killed` flag when the process was terminated.
|
|
2522
2794
|
|
|
2523
|
-
- **Kitty keyboard protocol support**: Shift+Enter, Alt+Enter, Shift+Tab, Ctrl+D, and all Ctrl+key combinations now work in Ghostty, Kitty, WezTerm, and other modern terminals. ([#225](https://github.com/
|
|
2795
|
+
- **Kitty keyboard protocol support**: Shift+Enter, Alt+Enter, Shift+Tab, Ctrl+D, and all Ctrl+key combinations now work in Ghostty, Kitty, WezTerm, and other modern terminals. ([#225](https://github.com/draht-dev/draht/pull/225) by [@kim0](https://github.com/kim0))
|
|
2524
2796
|
|
|
2525
|
-
- **Dynamic API key refresh**: OAuth tokens (GitHub Copilot, Anthropic OAuth) are now refreshed before each LLM call, preventing failures in long-running agent loops where tokens expire mid-session. ([#223](https://github.com/
|
|
2797
|
+
- **Dynamic API key refresh**: OAuth tokens (GitHub Copilot, Anthropic OAuth) are now refreshed before each LLM call, preventing failures in long-running agent loops where tokens expire mid-session. ([#223](https://github.com/draht-dev/draht/pull/223) by [@kim0](https://github.com/kim0))
|
|
2526
2798
|
|
|
2527
2799
|
- **`/hotkeys` command**: Shows all keyboard shortcuts in a formatted table.
|
|
2528
2800
|
|
|
@@ -2532,19 +2804,19 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2532
2804
|
|
|
2533
2805
|
- **Subagent example improvements**: Parallel mode now streams updates from all tasks. Chain mode shows all completed steps during streaming. Expanded view uses proper markdown rendering with syntax highlighting. Usage footer shows turn count.
|
|
2534
2806
|
|
|
2535
|
-
- **Skills standard compliance**: Skills now adhere to the [Agent Skills standard](https://agentskills.io/specification). Validates name (must match parent directory, lowercase, max 64 chars), description (required, max 1024 chars), and frontmatter fields. Warns on violations but remains lenient. Prompt format changed to XML structure. Removed `{baseDir}` placeholder in favor of relative paths. ([#231](https://github.com/
|
|
2807
|
+
- **Skills standard compliance**: Skills now adhere to the [Agent Skills standard](https://agentskills.io/specification). Validates name (must match parent directory, lowercase, max 64 chars), description (required, max 1024 chars), and frontmatter fields. Warns on violations but remains lenient. Prompt format changed to XML structure. Removed `{baseDir}` placeholder in favor of relative paths. ([#231](https://github.com/draht-dev/draht/issues/231))
|
|
2536
2808
|
|
|
2537
2809
|
### Fixed
|
|
2538
2810
|
|
|
2539
2811
|
- **JSON mode stdout flush**: Fixed race condition where `pi --mode json` could exit before all output was written to stdout, causing consumers to miss final events.
|
|
2540
2812
|
|
|
2541
|
-
- **Symlinked tools, hooks, and slash commands**: Discovery now correctly follows symlinks when scanning for custom tools, hooks, and slash commands. ([#219](https://github.com/
|
|
2813
|
+
- **Symlinked tools, hooks, and slash commands**: Discovery now correctly follows symlinks when scanning for custom tools, hooks, and slash commands. ([#219](https://github.com/draht-dev/draht/pull/219), [#232](https://github.com/draht-dev/draht/pull/232) by [@aliou](https://github.com/aliou))
|
|
2542
2814
|
|
|
2543
2815
|
### Breaking Changes
|
|
2544
2816
|
|
|
2545
2817
|
- **Custom tools now require `index.ts` entry point**: Auto-discovered custom tools must be in a subdirectory with an `index.ts` file. The old pattern `~/.pi/agent/tools/mytool.ts` must become `~/.pi/agent/tools/mytool/index.ts`. This allows multi-file tools to import helper modules. Explicit paths via `--tool` or `settings.json` still work with any `.ts` file.
|
|
2546
2818
|
|
|
2547
|
-
- **Hook `tool_result` event restructured**: The `ToolResultEvent` now exposes full tool result data instead of just text. ([#233](https://github.com/
|
|
2819
|
+
- **Hook `tool_result` event restructured**: The `ToolResultEvent` now exposes full tool result data instead of just text. ([#233](https://github.com/draht-dev/draht/pull/233))
|
|
2548
2820
|
- Removed: `result: string` field
|
|
2549
2821
|
- Added: `content: (TextContent | ImageContent)[]` - full content array
|
|
2550
2822
|
- Added: `details: unknown` - tool-specific details (typed per tool via discriminated union on `toolName`)
|
|
@@ -2557,15 +2829,15 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2557
2829
|
|
|
2558
2830
|
### Added
|
|
2559
2831
|
|
|
2560
|
-
- **Syntax highlighting**: Added syntax highlighting for markdown code blocks, read tool output, and write tool content. Uses cli-highlight with theme-aware color mapping and VS Code-style syntax colors. ([#214](https://github.com/
|
|
2832
|
+
- **Syntax highlighting**: Added syntax highlighting for markdown code blocks, read tool output, and write tool content. Uses cli-highlight with theme-aware color mapping and VS Code-style syntax colors. ([#214](https://github.com/draht-dev/draht/pull/214) by [@svkozak](https://github.com/svkozak))
|
|
2561
2833
|
|
|
2562
2834
|
- **Intra-line diff highlighting**: Edit tool now shows word-level changes with inverse highlighting when a single line is modified. Multi-line changes show all removed lines first, then all added lines.
|
|
2563
2835
|
|
|
2564
2836
|
### Fixed
|
|
2565
2837
|
|
|
2566
|
-
- **Gemini tool result format**: Fixed tool result format for Gemini 3 Flash Preview which strictly requires `{ output: value }` for success and `{ error: value }` for errors. Previous format using `{ result, isError }` was rejected by newer Gemini models. ([#213](https://github.com/
|
|
2838
|
+
- **Gemini tool result format**: Fixed tool result format for Gemini 3 Flash Preview which strictly requires `{ output: value }` for success and `{ error: value }` for errors. Previous format using `{ result, isError }` was rejected by newer Gemini models. ([#213](https://github.com/draht-dev/draht/issues/213), [#220](https://github.com/draht-dev/draht/pull/220))
|
|
2567
2839
|
|
|
2568
|
-
- **Google baseUrl configuration**: Google provider now respects `baseUrl` configuration for custom endpoints or API proxies. ([#216](https://github.com/
|
|
2840
|
+
- **Google baseUrl configuration**: Google provider now respects `baseUrl` configuration for custom endpoints or API proxies. ([#216](https://github.com/draht-dev/draht/issues/216), [#221](https://github.com/draht-dev/draht/pull/221) by [@theBucky](https://github.com/theBucky))
|
|
2569
2841
|
|
|
2570
2842
|
- **Google provider FinishReason**: Added handling for new `IMAGE_RECITATION` and `IMAGE_OTHER` finish reasons. Upgraded @google/genai to 1.34.0.
|
|
2571
2843
|
|
|
@@ -2588,7 +2860,7 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2588
2860
|
- `rpc.md`: Added missing `hook_error` event documentation
|
|
2589
2861
|
- `README.md`: Complete settings table, condensed philosophy section, standardized OAuth docs
|
|
2590
2862
|
|
|
2591
|
-
- Hooks loader now supports same import aliases as custom tools (`@sinclair/typebox`, `@
|
|
2863
|
+
- Hooks loader now supports same import aliases as custom tools (`@sinclair/typebox`, `@draht/ai`, `@draht/tui`, `@draht/coding-agent`).
|
|
2592
2864
|
|
|
2593
2865
|
### Breaking Changes
|
|
2594
2866
|
|
|
@@ -2598,11 +2870,11 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2598
2870
|
|
|
2599
2871
|
### Fixed
|
|
2600
2872
|
|
|
2601
|
-
- Fixed Claude models via GitHub Copilot re-answering all previous prompts in multi-turn conversations. The issue was that assistant message content was sent as an array instead of a string, which Copilot's Claude adapter misinterpreted. Also added missing `Openai-Intent: conversation-edits` header and fixed `X-Initiator` logic to check for any assistant/tool message in history. ([#209](https://github.com/
|
|
2873
|
+
- Fixed Claude models via GitHub Copilot re-answering all previous prompts in multi-turn conversations. The issue was that assistant message content was sent as an array instead of a string, which Copilot's Claude adapter misinterpreted. Also added missing `Openai-Intent: conversation-edits` header and fixed `X-Initiator` logic to check for any assistant/tool message in history. ([#209](https://github.com/draht-dev/draht/issues/209))
|
|
2602
2874
|
|
|
2603
2875
|
- Detect image MIME type via file magic (read tool and `@file` attachments), not filename extension.
|
|
2604
2876
|
|
|
2605
|
-
- Fixed markdown tables overflowing terminal width. Tables now wrap cell contents to fit available width instead of breaking borders mid-row. ([#206](https://github.com/
|
|
2877
|
+
- Fixed markdown tables overflowing terminal width. Tables now wrap cell contents to fit available width instead of breaking borders mid-row. ([#206](https://github.com/draht-dev/draht/pull/206) by [@kim0](https://github.com/kim0))
|
|
2606
2878
|
|
|
2607
2879
|
## [0.23.1] - 2025-12-17
|
|
2608
2880
|
|
|
@@ -2610,13 +2882,13 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2610
2882
|
|
|
2611
2883
|
- Fixed TUI performance regression caused by Box component lacking render caching. Built-in tools now use Text directly (like v0.22.5), and Box has proper caching for custom tool rendering.
|
|
2612
2884
|
|
|
2613
|
-
- Fixed custom tools failing to load from `~/.pi/agent/tools/` when pi is installed globally. Module imports (`@sinclair/typebox`, `@
|
|
2885
|
+
- Fixed custom tools failing to load from `~/.pi/agent/tools/` when pi is installed globally. Module imports (`@sinclair/typebox`, `@draht/tui`, `@draht/ai`) are now resolved via aliases.
|
|
2614
2886
|
|
|
2615
2887
|
## [0.23.0] - 2025-12-17
|
|
2616
2888
|
|
|
2617
2889
|
### Added
|
|
2618
2890
|
|
|
2619
|
-
- **Custom tools**: Extend pi with custom tools written in TypeScript. Tools can provide custom TUI rendering, interact with users via `pi.ui` (select, confirm, input, notify), and maintain state across sessions via `onSession` callback. See [docs/custom-tools.md](docs/custom-tools.md) and [examples/custom-tools/](examples/custom-tools/). ([#190](https://github.com/
|
|
2891
|
+
- **Custom tools**: Extend pi with custom tools written in TypeScript. Tools can provide custom TUI rendering, interact with users via `pi.ui` (select, confirm, input, notify), and maintain state across sessions via `onSession` callback. See [docs/custom-tools.md](docs/custom-tools.md) and [examples/custom-tools/](examples/custom-tools/). ([#190](https://github.com/draht-dev/draht/issues/190))
|
|
2620
2892
|
|
|
2621
2893
|
- **Hook and tool examples**: Added `examples/hooks/` and `examples/custom-tools/` with working examples. Examples are now bundled in npm and binary releases.
|
|
2622
2894
|
|
|
@@ -2634,7 +2906,7 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2634
2906
|
|
|
2635
2907
|
### Added
|
|
2636
2908
|
|
|
2637
|
-
- `--list-models [search]` CLI flag to list available models with optional fuzzy search. Shows provider, model ID, context window, max output, thinking support, and image support. Only lists models with configured API keys. ([#203](https://github.com/
|
|
2909
|
+
- `--list-models [search]` CLI flag to list available models with optional fuzzy search. Shows provider, model ID, context window, max output, thinking support, and image support. Only lists models with configured API keys. ([#203](https://github.com/draht-dev/draht/issues/203))
|
|
2638
2910
|
|
|
2639
2911
|
### Fixed
|
|
2640
2912
|
|
|
@@ -2644,25 +2916,25 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
|
|
|
2644
2916
|
|
|
2645
2917
|
### Added
|
|
2646
2918
|
|
|
2647
|
-
- **Streaming bash output**: Bash tool now streams output in real-time during execution. The TUI displays live progress with the last 5 lines visible (expandable with ctrl+o). ([#44](https://github.com/
|
|
2919
|
+
- **Streaming bash output**: Bash tool now streams output in real-time during execution. The TUI displays live progress with the last 5 lines visible (expandable with ctrl+o). ([#44](https://github.com/draht-dev/draht/issues/44))
|
|
2648
2920
|
|
|
2649
2921
|
### Changed
|
|
2650
2922
|
|
|
2651
2923
|
- **Tool output display**: When collapsed, tool output now shows the last N lines instead of the first N lines, making streaming output more useful.
|
|
2652
2924
|
|
|
2653
|
-
- Updated `@
|
|
2925
|
+
- Updated `@draht/ai` with X-Initiator header support for GitHub Copilot, ensuring agent calls are not deducted from quota. ([#200](https://github.com/draht-dev/draht/pull/200) by [@kim0](https://github.com/kim0))
|
|
2654
2926
|
|
|
2655
2927
|
### Fixed
|
|
2656
2928
|
|
|
2657
|
-
- Fixed editor text being cleared during compaction. Text typed while compaction is running is now preserved. ([#179](https://github.com/
|
|
2929
|
+
- Fixed editor text being cleared during compaction. Text typed while compaction is running is now preserved. ([#179](https://github.com/draht-dev/draht/issues/179))
|
|
2658
2930
|
- Improved RGB to 256-color mapping for terminals without truecolor support. Now correctly uses grayscale ramp for neutral colors and preserves semantic tints (green for success, red for error, blue for pending) instead of mapping everything to wrong cube colors.
|
|
2659
|
-
- `/think off` now actually disables thinking for all providers. Previously, providers like Gemini with "dynamic thinking" enabled by default would still use thinking even when turned off. ([#180](https://github.com/
|
|
2931
|
+
- `/think off` now actually disables thinking for all providers. Previously, providers like Gemini with "dynamic thinking" enabled by default would still use thinking even when turned off. ([#180](https://github.com/draht-dev/draht/pull/180) by [@markusylisiurunen](https://github.com/markusylisiurunen))
|
|
2660
2932
|
|
|
2661
2933
|
## [0.22.2] - 2025-12-15
|
|
2662
2934
|
|
|
2663
2935
|
### Changed
|
|
2664
2936
|
|
|
2665
|
-
- Updated `@
|
|
2937
|
+
- Updated `@draht/ai` with interleaved thinking enabled by default for Anthropic Claude 4 models.
|
|
2666
2938
|
|
|
2667
2939
|
## [0.22.1] - 2025-12-15
|
|
2668
2940
|
|
|
@@ -2670,13 +2942,13 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
|
|
|
2670
2942
|
|
|
2671
2943
|
### Changed
|
|
2672
2944
|
|
|
2673
|
-
- Updated `@
|
|
2945
|
+
- Updated `@draht/ai` with interleaved thinking support for Anthropic models.
|
|
2674
2946
|
|
|
2675
2947
|
## [0.22.0] - 2025-12-15
|
|
2676
2948
|
|
|
2677
2949
|
### Added
|
|
2678
2950
|
|
|
2679
|
-
- **GitHub Copilot support**: Use GitHub Copilot models via OAuth login (`/login` -> "GitHub Copilot"). Supports both github.com and GitHub Enterprise. Models are sourced from models.dev and include Claude, GPT, Gemini, Grok, and more. All models are automatically enabled after login. ([#191](https://github.com/
|
|
2951
|
+
- **GitHub Copilot support**: Use GitHub Copilot models via OAuth login (`/login` -> "GitHub Copilot"). Supports both github.com and GitHub Enterprise. Models are sourced from models.dev and include Claude, GPT, Gemini, Grok, and more. All models are automatically enabled after login. ([#191](https://github.com/draht-dev/draht/pull/191) by [@cau1k](https://github.com/cau1k))
|
|
2680
2952
|
|
|
2681
2953
|
### Fixed
|
|
2682
2954
|
|
|
@@ -2686,15 +2958,15 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
|
|
|
2686
2958
|
|
|
2687
2959
|
### Added
|
|
2688
2960
|
|
|
2689
|
-
- **Inline image rendering**: Terminals supporting Kitty graphics protocol (Kitty, Ghostty, WezTerm) or iTerm2 inline images now render images inline in tool output. Aspect ratio is preserved by querying terminal cell dimensions on startup. Toggle with `/show-images` command or `terminal.showImages` setting. Falls back to text placeholder on unsupported terminals or when disabled. ([#177](https://github.com/
|
|
2961
|
+
- **Inline image rendering**: Terminals supporting Kitty graphics protocol (Kitty, Ghostty, WezTerm) or iTerm2 inline images now render images inline in tool output. Aspect ratio is preserved by querying terminal cell dimensions on startup. Toggle with `/show-images` command or `terminal.showImages` setting. Falls back to text placeholder on unsupported terminals or when disabled. ([#177](https://github.com/draht-dev/draht/pull/177) by [@nicobailon](https://github.com/nicobailon))
|
|
2690
2962
|
|
|
2691
|
-
- **Gemini 3 Pro thinking levels**: Thinking level selector now works with Gemini 3 Pro models. Minimal/low map to Google's LOW, medium/high map to Google's HIGH. ([#176](https://github.com/
|
|
2963
|
+
- **Gemini 3 Pro thinking levels**: Thinking level selector now works with Gemini 3 Pro models. Minimal/low map to Google's LOW, medium/high map to Google's HIGH. ([#176](https://github.com/draht-dev/draht/pull/176) by [@markusylisiurunen](https://github.com/markusylisiurunen))
|
|
2692
2964
|
|
|
2693
2965
|
### Fixed
|
|
2694
2966
|
|
|
2695
|
-
- Fixed read tool failing on macOS screenshot filenames due to Unicode Narrow No-Break Space (U+202F) in timestamp. Added fallback to try macOS variant paths and consolidated duplicate expandPath functions into shared path-utils.ts. ([#181](https://github.com/
|
|
2967
|
+
- Fixed read tool failing on macOS screenshot filenames due to Unicode Narrow No-Break Space (U+202F) in timestamp. Added fallback to try macOS variant paths and consolidated duplicate expandPath functions into shared path-utils.ts. ([#181](https://github.com/draht-dev/draht/pull/181) by [@nicobailon](https://github.com/nicobailon))
|
|
2696
2968
|
|
|
2697
|
-
- Fixed double blank lines rendering after markdown code blocks ([#173](https://github.com/
|
|
2969
|
+
- Fixed double blank lines rendering after markdown code blocks ([#173](https://github.com/draht-dev/draht/pull/173) by [@markusylisiurunen](https://github.com/markusylisiurunen))
|
|
2698
2970
|
|
|
2699
2971
|
## [0.20.1] - 2025-12-13
|
|
2700
2972
|
|
|
@@ -2722,25 +2994,25 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
|
|
|
2722
2994
|
|
|
2723
2995
|
### Added
|
|
2724
2996
|
|
|
2725
|
-
- **Skills system**: Auto-discover and load instruction files on-demand. Supports Claude Code (`~/.claude/skills/*/SKILL.md`), Codex CLI (`~/.codex/skills/`), and Pi-native formats (`~/.pi/agent/skills/`, `.pi/skills/`). Skills are listed in system prompt with descriptions, agent loads them via read tool when needed. Supports `{baseDir}` placeholder. Disable with `--no-skills` or `skills.enabled: false` in settings. ([#169](https://github.com/
|
|
2997
|
+
- **Skills system**: Auto-discover and load instruction files on-demand. Supports Claude Code (`~/.claude/skills/*/SKILL.md`), Codex CLI (`~/.codex/skills/`), and Pi-native formats (`~/.pi/agent/skills/`, `.pi/skills/`). Skills are listed in system prompt with descriptions, agent loads them via read tool when needed. Supports `{baseDir}` placeholder. Disable with `--no-skills` or `skills.enabled: false` in settings. ([#169](https://github.com/draht-dev/draht/issues/169))
|
|
2726
2998
|
|
|
2727
|
-
- **Version flag**: Added `--version` / `-v` flag to display the current version and exit. ([#170](https://github.com/
|
|
2999
|
+
- **Version flag**: Added `--version` / `-v` flag to display the current version and exit. ([#170](https://github.com/draht-dev/draht/pull/170))
|
|
2728
3000
|
|
|
2729
3001
|
## [0.18.2] - 2025-12-11
|
|
2730
3002
|
|
|
2731
3003
|
### Added
|
|
2732
3004
|
|
|
2733
|
-
- **Auto-retry on transient errors**: Automatically retries requests when providers return overloaded, rate limit, or server errors (429, 500, 502, 503, 504). Uses exponential backoff (2s, 4s, 8s). Shows retry status in TUI with option to cancel via Escape. Configurable in `settings.json` via `retry.enabled`, `retry.maxRetries`, `retry.baseDelayMs`. RPC mode emits `auto_retry_start` and `auto_retry_end` events. ([#157](https://github.com/
|
|
3005
|
+
- **Auto-retry on transient errors**: Automatically retries requests when providers return overloaded, rate limit, or server errors (429, 500, 502, 503, 504). Uses exponential backoff (2s, 4s, 8s). Shows retry status in TUI with option to cancel via Escape. Configurable in `settings.json` via `retry.enabled`, `retry.maxRetries`, `retry.baseDelayMs`. RPC mode emits `auto_retry_start` and `auto_retry_end` events. ([#157](https://github.com/draht-dev/draht/issues/157))
|
|
2734
3006
|
|
|
2735
|
-
- **HTML export line numbers**: Read tool calls in HTML exports now display line number ranges (e.g., `file.txt:10-20`) when offset/limit parameters are used, matching the TUI display format. Line numbers appear in yellow color for better visibility. ([#166](https://github.com/
|
|
3007
|
+
- **HTML export line numbers**: Read tool calls in HTML exports now display line number ranges (e.g., `file.txt:10-20`) when offset/limit parameters are used, matching the TUI display format. Line numbers appear in yellow color for better visibility. ([#166](https://github.com/draht-dev/draht/issues/166))
|
|
2736
3008
|
|
|
2737
3009
|
### Fixed
|
|
2738
3010
|
|
|
2739
|
-
- **Branch selector now works with single message**: Previously the branch selector would not open when there was only one user message. Now it correctly allows branching from any message, including the first one. This is needed for checkpoint hooks to restore state from before the first message. ([#163](https://github.com/
|
|
3011
|
+
- **Branch selector now works with single message**: Previously the branch selector would not open when there was only one user message. Now it correctly allows branching from any message, including the first one. This is needed for checkpoint hooks to restore state from before the first message. ([#163](https://github.com/draht-dev/draht/issues/163))
|
|
2740
3012
|
|
|
2741
3013
|
- **In-memory branching for `--no-session` mode**: Branching now works correctly in `--no-session` mode without creating any session files. The conversation is truncated in memory.
|
|
2742
3014
|
|
|
2743
|
-
- **Git branch indicator now works in subdirectories**: The footer's git branch detection now walks up the directory hierarchy to find the git root, so it works when running pi from a subdirectory of a repository. ([#156](https://github.com/
|
|
3015
|
+
- **Git branch indicator now works in subdirectories**: The footer's git branch detection now walks up the directory hierarchy to find the git root, so it works when running pi from a subdirectory of a repository. ([#156](https://github.com/draht-dev/draht/issues/156))
|
|
2744
3016
|
|
|
2745
3017
|
## [0.18.1] - 2025-12-10
|
|
2746
3018
|
|
|
@@ -2750,13 +3022,13 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
|
|
|
2750
3022
|
|
|
2751
3023
|
### Fixed
|
|
2752
3024
|
|
|
2753
|
-
- Fixed print mode (`-p`) not exiting after output when custom themes are present (theme watcher now properly stops in print mode) ([#161](https://github.com/
|
|
3025
|
+
- Fixed print mode (`-p`) not exiting after output when custom themes are present (theme watcher now properly stops in print mode) ([#161](https://github.com/draht-dev/draht/issues/161))
|
|
2754
3026
|
|
|
2755
3027
|
## [0.18.0] - 2025-12-10
|
|
2756
3028
|
|
|
2757
3029
|
### Added
|
|
2758
3030
|
|
|
2759
|
-
- **Hooks system**: TypeScript modules that extend agent behavior by subscribing to lifecycle events. Hooks can intercept tool calls, prompt for confirmation, modify results, and inject messages from external sources. Auto-discovered from `~/.pi/agent/hooks/*.ts` and `.pi/hooks/*.ts`. Thanks to [@nicobailon](https://github.com/nicobailon) for the collaboration on the design and implementation. ([#145](https://github.com/
|
|
3031
|
+
- **Hooks system**: TypeScript modules that extend agent behavior by subscribing to lifecycle events. Hooks can intercept tool calls, prompt for confirmation, modify results, and inject messages from external sources. Auto-discovered from `~/.pi/agent/hooks/*.ts` and `.pi/hooks/*.ts`. Thanks to [@nicobailon](https://github.com/nicobailon) for the collaboration on the design and implementation. ([#145](https://github.com/draht-dev/draht/issues/145), supersedes [#158](https://github.com/draht-dev/draht/pull/158))
|
|
2760
3032
|
|
|
2761
3033
|
- **`pi.send()` API**: Hooks can inject messages into the agent session from external sources (file watchers, webhooks, CI systems). If streaming, messages are queued; otherwise a new agent loop starts immediately.
|
|
2762
3034
|
|
|
@@ -2794,7 +3066,7 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
|
|
|
2794
3066
|
|
|
2795
3067
|
### Breaking Changes
|
|
2796
3068
|
|
|
2797
|
-
- **New RPC protocol**: The RPC mode (`--mode rpc`) has been completely redesigned with a new JSON protocol. The old protocol is no longer supported. See [`docs/rpc.md`](docs/rpc.md) for the new protocol documentation and [`test/rpc-example.ts`](test/rpc-example.ts) for a working example. Includes `RpcClient` TypeScript class for easy integration. ([#91](https://github.com/
|
|
3069
|
+
- **New RPC protocol**: The RPC mode (`--mode rpc`) has been completely redesigned with a new JSON protocol. The old protocol is no longer supported. See [`docs/rpc.md`](docs/rpc.md) for the new protocol documentation and [`test/rpc-example.ts`](test/rpc-example.ts) for a working example. Includes `RpcClient` TypeScript class for easy integration. ([#91](https://github.com/draht-dev/draht/issues/91))
|
|
2798
3070
|
|
|
2799
3071
|
### Changed
|
|
2800
3072
|
|
|
@@ -2804,7 +3076,7 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
|
|
|
2804
3076
|
|
|
2805
3077
|
### Changed
|
|
2806
3078
|
|
|
2807
|
-
- **Major code refactoring**: Restructured codebase for better maintainability and separation of concerns. Moved files into organized directories (`core/`, `modes/`, `utils/`, `cli/`). Extracted `AgentSession` class as central session management abstraction. Split `main.ts` and `tui-renderer.ts` into focused modules. See `DEVELOPMENT.md` for the new code map. ([#153](https://github.com/
|
|
3079
|
+
- **Major code refactoring**: Restructured codebase for better maintainability and separation of concerns. Moved files into organized directories (`core/`, `modes/`, `utils/`, `cli/`). Extracted `AgentSession` class as central session management abstraction. Split `main.ts` and `tui-renderer.ts` into focused modules. See `DEVELOPMENT.md` for the new code map. ([#153](https://github.com/draht-dev/draht/issues/153))
|
|
2808
3080
|
|
|
2809
3081
|
## [0.14.2] - 2025-12-08
|
|
2810
3082
|
|
|
@@ -2830,19 +3102,19 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
|
|
|
2830
3102
|
|
|
2831
3103
|
### Added
|
|
2832
3104
|
|
|
2833
|
-
- **OpenAI compatibility overrides in models.json**: Custom models using `openai-completions` API can now specify a `compat` object to override provider quirks (`supportsStore`, `supportsDeveloperRole`, `supportsReasoningEffort`, `maxTokensField`). Useful for LiteLLM, custom proxies, and other non-standard endpoints. ([#133](https://github.com/
|
|
3105
|
+
- **OpenAI compatibility overrides in models.json**: Custom models using `openai-completions` API can now specify a `compat` object to override provider quirks (`supportsStore`, `supportsDeveloperRole`, `supportsReasoningEffort`, `maxTokensField`). Useful for LiteLLM, custom proxies, and other non-standard endpoints. ([#133](https://github.com/draht-dev/draht/issues/133), thanks @fink-andreas for the initial idea and PR)
|
|
2834
3106
|
|
|
2835
|
-
- **xhigh thinking level**: Added `xhigh` thinking level for OpenAI codex-max models. Cycle through thinking levels with Shift+Tab; `xhigh` appears only when using a codex-max model. ([#143](https://github.com/
|
|
3107
|
+
- **xhigh thinking level**: Added `xhigh` thinking level for OpenAI codex-max models. Cycle through thinking levels with Shift+Tab; `xhigh` appears only when using a codex-max model. ([#143](https://github.com/draht-dev/draht/issues/143))
|
|
2836
3108
|
|
|
2837
|
-
- **Collapse changelog setting**: Add `"collapseChangelog": true` to `~/.pi/agent/settings.json` to show a condensed "Updated to vX.Y.Z" message instead of the full changelog after updates. Use `/changelog` to view the full changelog. ([#148](https://github.com/
|
|
3109
|
+
- **Collapse changelog setting**: Add `"collapseChangelog": true` to `~/.pi/agent/settings.json` to show a condensed "Updated to vX.Y.Z" message instead of the full changelog after updates. Use `/changelog` to view the full changelog. ([#148](https://github.com/draht-dev/draht/issues/148))
|
|
2838
3110
|
|
|
2839
|
-
- **Bash mode**: Execute shell commands directly from the editor by prefixing with `!` (e.g., `!ls -la`). Output streams in real-time, is added to the LLM context, and persists in session history. Supports multiline commands, cancellation (Escape), truncation for large outputs, and preview/expand toggle (Ctrl+O). Also available in RPC mode via `{"type":"bash","command":"..."}`. ([#112](https://github.com/
|
|
3111
|
+
- **Bash mode**: Execute shell commands directly from the editor by prefixing with `!` (e.g., `!ls -la`). Output streams in real-time, is added to the LLM context, and persists in session history. Supports multiline commands, cancellation (Escape), truncation for large outputs, and preview/expand toggle (Ctrl+O). Also available in RPC mode via `{"type":"bash","command":"..."}`. ([#112](https://github.com/draht-dev/draht/pull/112), original implementation by [@markusylisiurunen](https://github.com/markusylisiurunen))
|
|
2840
3112
|
|
|
2841
3113
|
## [0.13.2] - 2025-12-07
|
|
2842
3114
|
|
|
2843
3115
|
### Changed
|
|
2844
3116
|
|
|
2845
|
-
- **Tool output truncation**: All tools now enforce consistent truncation limits with actionable notices for the LLM. ([#134](https://github.com/
|
|
3117
|
+
- **Tool output truncation**: All tools now enforce consistent truncation limits with actionable notices for the LLM. ([#134](https://github.com/draht-dev/draht/issues/134))
|
|
2846
3118
|
- **Limits**: 2000 lines OR 50KB (whichever hits first), never partial lines
|
|
2847
3119
|
- **read**: Shows `[Showing lines X-Y of Z. Use offset=N to continue]`. If first line exceeds 50KB, suggests bash command
|
|
2848
3120
|
- **bash**: Tail truncation with temp file. Shows `[Showing lines X-Y of Z. Full output: /tmp/...]`
|
|
@@ -2886,20 +3158,20 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
|
|
|
2886
3158
|
|
|
2887
3159
|
### Fixed
|
|
2888
3160
|
|
|
2889
|
-
- **Multi-key sequences in inputs**: Inputs like model search now handle multi-key sequences identically to the main prompt editor. ([#122](https://github.com/
|
|
2890
|
-
- **Line wrapping escape codes**: Fixed underline style bleeding into padding when wrapping long URLs. ANSI codes now attach to the correct content, and line-end resets only turn off underline (preserving background colors). ([#109](https://github.com/
|
|
3161
|
+
- **Multi-key sequences in inputs**: Inputs like model search now handle multi-key sequences identically to the main prompt editor. ([#122](https://github.com/draht-dev/draht/pull/122) by [@markusylisiurunen](https://github.com/markusylisiurunen))
|
|
3162
|
+
- **Line wrapping escape codes**: Fixed underline style bleeding into padding when wrapping long URLs. ANSI codes now attach to the correct content, and line-end resets only turn off underline (preserving background colors). ([#109](https://github.com/draht-dev/draht/issues/109))
|
|
2891
3163
|
|
|
2892
3164
|
### Added
|
|
2893
3165
|
|
|
2894
|
-
- **Fuzzy search models and sessions**: Implemented a simple fuzzy search for models and sessions (e.g., `codexmax` now finds `gpt-5.1-codex-max`). ([#122](https://github.com/
|
|
2895
|
-
- **Prompt History Navigation**: Browse previously submitted prompts using Up/Down arrow keys when the editor is empty. Press Up to cycle through older prompts, Down to return to newer ones or clear the editor. Similar to shell history and Claude Code's prompt history feature. History is session-scoped and stores up to 100 entries. ([#121](https://github.com/
|
|
2896
|
-
- **`/resume` Command**: Switch to a different session mid-conversation. Opens an interactive selector showing all available sessions. Equivalent to the `--resume` CLI flag but can be used without restarting the agent. ([#117](https://github.com/
|
|
3166
|
+
- **Fuzzy search models and sessions**: Implemented a simple fuzzy search for models and sessions (e.g., `codexmax` now finds `gpt-5.1-codex-max`). ([#122](https://github.com/draht-dev/draht/pull/122) by [@markusylisiurunen](https://github.com/markusylisiurunen))
|
|
3167
|
+
- **Prompt History Navigation**: Browse previously submitted prompts using Up/Down arrow keys when the editor is empty. Press Up to cycle through older prompts, Down to return to newer ones or clear the editor. Similar to shell history and Claude Code's prompt history feature. History is session-scoped and stores up to 100 entries. ([#121](https://github.com/draht-dev/draht/pull/121) by [@nicobailon](https://github.com/nicobailon))
|
|
3168
|
+
- **`/resume` Command**: Switch to a different session mid-conversation. Opens an interactive selector showing all available sessions. Equivalent to the `--resume` CLI flag but can be used without restarting the agent. ([#117](https://github.com/draht-dev/draht/pull/117) by [@hewliyang](https://github.com/hewliyang))
|
|
2897
3169
|
|
|
2898
3170
|
## [0.12.11] - 2025-12-05
|
|
2899
3171
|
|
|
2900
3172
|
### Changed
|
|
2901
3173
|
|
|
2902
|
-
- **Compaction UI**: Simplified collapsed compaction indicator to show warning-colored text with token count instead of styled banner. Removed redundant success message after compaction. ([#108](https://github.com/
|
|
3174
|
+
- **Compaction UI**: Simplified collapsed compaction indicator to show warning-colored text with token count instead of styled banner. Removed redundant success message after compaction. ([#108](https://github.com/draht-dev/draht/issues/108))
|
|
2903
3175
|
|
|
2904
3176
|
### Fixed
|
|
2905
3177
|
|
|
@@ -2910,9 +3182,9 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
|
|
|
2910
3182
|
|
|
2911
3183
|
### Added
|
|
2912
3184
|
|
|
2913
|
-
- **`authHeader` option in models.json**: Custom providers can set `"authHeader": true` to automatically add `Authorization: Bearer <apiKey>` header. Useful for providers that require explicit auth headers. ([#81](https://github.com/
|
|
2914
|
-
- **`--append-system-prompt` Flag**: Append additional text or file contents to the system prompt. Supports both inline text and file paths. Complements `--system-prompt` for layering custom instructions without replacing the base system prompt. ([#114](https://github.com/
|
|
2915
|
-
- **Thinking Block Toggle**: Added `Ctrl+T` shortcut to toggle visibility of LLM thinking blocks. When toggled off, shows a static "Thinking..." label instead of full content. Useful for reducing visual clutter during long conversations. ([#113](https://github.com/
|
|
3185
|
+
- **`authHeader` option in models.json**: Custom providers can set `"authHeader": true` to automatically add `Authorization: Bearer <apiKey>` header. Useful for providers that require explicit auth headers. ([#81](https://github.com/draht-dev/draht/issues/81))
|
|
3186
|
+
- **`--append-system-prompt` Flag**: Append additional text or file contents to the system prompt. Supports both inline text and file paths. Complements `--system-prompt` for layering custom instructions without replacing the base system prompt. ([#114](https://github.com/draht-dev/draht/pull/114) by [@markusylisiurunen](https://github.com/markusylisiurunen))
|
|
3187
|
+
- **Thinking Block Toggle**: Added `Ctrl+T` shortcut to toggle visibility of LLM thinking blocks. When toggled off, shows a static "Thinking..." label instead of full content. Useful for reducing visual clutter during long conversations. ([#113](https://github.com/draht-dev/draht/pull/113) by [@markusylisiurunen](https://github.com/markusylisiurunen))
|
|
2916
3188
|
|
|
2917
3189
|
## [0.12.10] - 2025-12-04
|
|
2918
3190
|
|
|
@@ -2924,7 +3196,7 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
|
|
|
2924
3196
|
|
|
2925
3197
|
### Added
|
|
2926
3198
|
|
|
2927
|
-
- **`/copy` Command**: Copy the last agent message to clipboard. Works cross-platform (macOS, Windows, Linux). Useful for extracting text from rendered Markdown output. ([#105](https://github.com/
|
|
3199
|
+
- **`/copy` Command**: Copy the last agent message to clipboard. Works cross-platform (macOS, Windows, Linux). Useful for extracting text from rendered Markdown output. ([#105](https://github.com/draht-dev/draht/pull/105) by [@markusylisiurunen](https://github.com/markusylisiurunen))
|
|
2928
3200
|
|
|
2929
3201
|
## [0.12.8] - 2025-12-04
|
|
2930
3202
|
|
|
@@ -2934,7 +3206,7 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
|
|
|
2934
3206
|
|
|
2935
3207
|
### Added
|
|
2936
3208
|
|
|
2937
|
-
- **Context Compaction**: Long sessions can now be compacted to reduce context usage while preserving recent conversation history. ([#92](https://github.com/
|
|
3209
|
+
- **Context Compaction**: Long sessions can now be compacted to reduce context usage while preserving recent conversation history. ([#92](https://github.com/draht-dev/draht/issues/92), [docs](https://github.com/draht-dev/draht/blob/main/packages/coding-agent/README.md#context-compaction))
|
|
2938
3210
|
- `/compact [instructions]`: Manually compact context with optional custom instructions for the summary
|
|
2939
3211
|
- `/autocompact`: Toggle automatic compaction when context exceeds threshold
|
|
2940
3212
|
- Compaction summarizes older messages while keeping recent messages (default 20k tokens) verbatim
|
|
@@ -2948,11 +3220,11 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
|
|
|
2948
3220
|
|
|
2949
3221
|
### Added
|
|
2950
3222
|
|
|
2951
|
-
- **Forking/Rebranding Support**: All branding (app name, config directory, environment variable names) is now configurable via `piConfig` in `package.json`. Forks can change `piConfig.name` and `piConfig.configDir` to rebrand the CLI without code changes. Affects CLI banner, help text, config paths, and error messages. ([#95](https://github.com/
|
|
3223
|
+
- **Forking/Rebranding Support**: All branding (app name, config directory, environment variable names) is now configurable via `piConfig` in `package.json`. Forks can change `piConfig.name` and `piConfig.configDir` to rebrand the CLI without code changes. Affects CLI banner, help text, config paths, and error messages. ([#95](https://github.com/draht-dev/draht/pull/95))
|
|
2952
3224
|
|
|
2953
3225
|
### Fixed
|
|
2954
3226
|
|
|
2955
|
-
- **Bun Binary Detection**: Fixed Bun compiled binary failing to start after Bun updated its virtual filesystem path format from `%7EBUN` to `$bunfs`. ([#95](https://github.com/
|
|
3227
|
+
- **Bun Binary Detection**: Fixed Bun compiled binary failing to start after Bun updated its virtual filesystem path format from `%7EBUN` to `$bunfs`. ([#95](https://github.com/draht-dev/draht/pull/95))
|
|
2956
3228
|
|
|
2957
3229
|
## [0.12.4] - 2025-12-02
|
|
2958
3230
|
|
|
@@ -3119,7 +3391,7 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
|
|
|
3119
3391
|
|
|
3120
3392
|
### Added
|
|
3121
3393
|
|
|
3122
|
-
- Added RPC mode (`--rpc`) for programmatic integration. Accepts JSON commands on stdin, emits JSON events on stdout. See [RPC mode documentation](https://github.com/nicobailon/
|
|
3394
|
+
- Added RPC mode (`--rpc`) for programmatic integration. Accepts JSON commands on stdin, emits JSON events on stdout. See [RPC mode documentation](https://github.com/nicobailon/draht-mono/blob/main/packages/coding-agent/README.md#rpc-mode) for protocol details.
|
|
3123
3395
|
|
|
3124
3396
|
### Changed
|
|
3125
3397
|
|