@draht/coding-agent 2026.4.5 → 2026.4.25-1

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.
Files changed (234) hide show
  1. package/CHANGELOG.md +804 -625
  2. package/README.md +24 -15
  3. package/dist/cli/args.d.ts +7 -10
  4. package/dist/cli/args.d.ts.map +1 -1
  5. package/dist/cli/args.js +44 -46
  6. package/dist/cli/args.js.map +1 -1
  7. package/dist/cli.d.ts.map +1 -1
  8. package/dist/cli.js +1 -0
  9. package/dist/cli.js.map +1 -1
  10. package/dist/config.d.ts +9 -0
  11. package/dist/config.d.ts.map +1 -1
  12. package/dist/config.js +18 -0
  13. package/dist/config.js.map +1 -1
  14. package/dist/core/agent-session-runtime.d.ts +53 -106
  15. package/dist/core/agent-session-runtime.d.ts.map +1 -1
  16. package/dist/core/agent-session-runtime.js +116 -147
  17. package/dist/core/agent-session-runtime.js.map +1 -1
  18. package/dist/core/agent-session-services.d.ts +86 -0
  19. package/dist/core/agent-session-services.d.ts.map +1 -0
  20. package/dist/core/agent-session-services.js +116 -0
  21. package/dist/core/agent-session-services.js.map +1 -0
  22. package/dist/core/agent-session.d.ts +8 -12
  23. package/dist/core/agent-session.d.ts.map +1 -1
  24. package/dist/core/agent-session.js +134 -45
  25. package/dist/core/agent-session.js.map +1 -1
  26. package/dist/core/bash-executor.d.ts.map +1 -1
  27. package/dist/core/bash-executor.js +19 -7
  28. package/dist/core/bash-executor.js.map +1 -1
  29. package/dist/core/compaction/compaction.d.ts +1 -1
  30. package/dist/core/compaction/compaction.d.ts.map +1 -1
  31. package/dist/core/compaction/compaction.js +18 -17
  32. package/dist/core/compaction/compaction.js.map +1 -1
  33. package/dist/core/extensions/index.d.ts +1 -1
  34. package/dist/core/extensions/index.d.ts.map +1 -1
  35. package/dist/core/extensions/index.js.map +1 -1
  36. package/dist/core/extensions/loader.d.ts.map +1 -1
  37. package/dist/core/extensions/loader.js +7 -7
  38. package/dist/core/extensions/loader.js.map +1 -1
  39. package/dist/core/extensions/runner.d.ts +1 -0
  40. package/dist/core/extensions/runner.d.ts.map +1 -1
  41. package/dist/core/extensions/runner.js +4 -0
  42. package/dist/core/extensions/runner.js.map +1 -1
  43. package/dist/core/extensions/types.d.ts +15 -14
  44. package/dist/core/extensions/types.d.ts.map +1 -1
  45. package/dist/core/extensions/types.js.map +1 -1
  46. package/dist/core/index.d.ts +2 -1
  47. package/dist/core/index.d.ts.map +1 -1
  48. package/dist/core/index.js +2 -1
  49. package/dist/core/index.js.map +1 -1
  50. package/dist/core/keybindings.d.ts +14 -1
  51. package/dist/core/keybindings.d.ts.map +1 -1
  52. package/dist/core/keybindings.js +13 -14
  53. package/dist/core/keybindings.js.map +1 -1
  54. package/dist/core/model-registry.d.ts.map +1 -1
  55. package/dist/core/model-registry.js +31 -1
  56. package/dist/core/model-registry.js.map +1 -1
  57. package/dist/core/package-manager.d.ts +21 -1
  58. package/dist/core/package-manager.d.ts.map +1 -1
  59. package/dist/core/package-manager.js +108 -43
  60. package/dist/core/package-manager.js.map +1 -1
  61. package/dist/core/prompt-templates.d.ts.map +1 -1
  62. package/dist/core/prompt-templates.js +22 -21
  63. package/dist/core/prompt-templates.js.map +1 -1
  64. package/dist/core/resource-loader.d.ts +0 -2
  65. package/dist/core/resource-loader.d.ts.map +1 -1
  66. package/dist/core/resource-loader.js +26 -8
  67. package/dist/core/resource-loader.js.map +1 -1
  68. package/dist/core/sdk.d.ts +2 -2
  69. package/dist/core/sdk.d.ts.map +1 -1
  70. package/dist/core/sdk.js +2 -2
  71. package/dist/core/sdk.js.map +1 -1
  72. package/dist/core/session-cwd.d.ts +19 -0
  73. package/dist/core/session-cwd.d.ts.map +1 -0
  74. package/dist/core/session-cwd.js +38 -0
  75. package/dist/core/session-cwd.js.map +1 -0
  76. package/dist/core/session-manager.d.ts +5 -1
  77. package/dist/core/session-manager.d.ts.map +1 -1
  78. package/dist/core/session-manager.js +16 -8
  79. package/dist/core/session-manager.js.map +1 -1
  80. package/dist/core/settings-manager.d.ts +6 -4
  81. package/dist/core/settings-manager.d.ts.map +1 -1
  82. package/dist/core/settings-manager.js +5 -1
  83. package/dist/core/settings-manager.js.map +1 -1
  84. package/dist/core/skills.d.ts +1 -1
  85. package/dist/core/skills.d.ts.map +1 -1
  86. package/dist/core/skills.js +3 -3
  87. package/dist/core/skills.js.map +1 -1
  88. package/dist/core/system-prompt.d.ts.map +1 -1
  89. package/dist/core/system-prompt.js +6 -6
  90. package/dist/core/system-prompt.js.map +1 -1
  91. package/dist/core/timings.d.ts +1 -0
  92. package/dist/core/timings.d.ts.map +1 -1
  93. package/dist/core/timings.js +6 -0
  94. package/dist/core/timings.js.map +1 -1
  95. package/dist/core/tools/bash.d.ts.map +1 -1
  96. package/dist/core/tools/bash.js +19 -9
  97. package/dist/core/tools/bash.js.map +1 -1
  98. package/dist/core/tools/edit-diff.d.ts +23 -1
  99. package/dist/core/tools/edit-diff.d.ts.map +1 -1
  100. package/dist/core/tools/edit-diff.js +150 -57
  101. package/dist/core/tools/edit-diff.js.map +1 -1
  102. package/dist/core/tools/edit.d.ts +13 -11
  103. package/dist/core/tools/edit.d.ts.map +1 -1
  104. package/dist/core/tools/edit.js +55 -77
  105. package/dist/core/tools/edit.js.map +1 -1
  106. package/dist/core/tools/file-mutation-queue.d.ts.map +1 -1
  107. package/dist/core/tools/file-mutation-queue.js +4 -4
  108. package/dist/core/tools/file-mutation-queue.js.map +1 -1
  109. package/dist/core/tools/index.d.ts +9 -6
  110. package/dist/core/tools/index.d.ts.map +1 -1
  111. package/dist/core/tools/tool-definition-wrapper.d.ts.map +1 -1
  112. package/dist/core/tools/tool-definition-wrapper.js +2 -0
  113. package/dist/core/tools/tool-definition-wrapper.js.map +1 -1
  114. package/dist/index.d.ts +4 -4
  115. package/dist/index.d.ts.map +1 -1
  116. package/dist/index.js +4 -5
  117. package/dist/index.js.map +1 -1
  118. package/dist/main.d.ts.map +1 -1
  119. package/dist/main.js +252 -451
  120. package/dist/main.js.map +1 -1
  121. package/dist/migrations.d.ts +3 -3
  122. package/dist/migrations.d.ts.map +1 -1
  123. package/dist/migrations.js +25 -5
  124. package/dist/migrations.js.map +1 -1
  125. package/dist/modes/interactive/components/assistant-message.d.ts +3 -1
  126. package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
  127. package/dist/modes/interactive/components/assistant-message.js +14 -3
  128. package/dist/modes/interactive/components/assistant-message.js.map +1 -1
  129. package/dist/modes/interactive/components/earendil-announcement.d.ts +5 -0
  130. package/dist/modes/interactive/components/earendil-announcement.d.ts.map +1 -0
  131. package/dist/modes/interactive/components/earendil-announcement.js +40 -0
  132. package/dist/modes/interactive/components/earendil-announcement.js.map +1 -0
  133. package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
  134. package/dist/modes/interactive/components/settings-selector.js +1 -0
  135. package/dist/modes/interactive/components/settings-selector.js.map +1 -1
  136. package/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -1
  137. package/dist/modes/interactive/components/thinking-selector.js +1 -0
  138. package/dist/modes/interactive/components/thinking-selector.js.map +1 -1
  139. package/dist/modes/interactive/components/tool-execution.d.ts +0 -1
  140. package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
  141. package/dist/modes/interactive/components/tool-execution.js +2 -7
  142. package/dist/modes/interactive/components/tool-execution.js.map +1 -1
  143. package/dist/modes/interactive/components/tree-selector.d.ts +4 -2
  144. package/dist/modes/interactive/components/tree-selector.d.ts.map +1 -1
  145. package/dist/modes/interactive/components/tree-selector.js +48 -15
  146. package/dist/modes/interactive/components/tree-selector.js.map +1 -1
  147. package/dist/modes/interactive/interactive-mode.d.ts +12 -3
  148. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  149. package/dist/modes/interactive/interactive-mode.js +237 -125
  150. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  151. package/dist/modes/interactive/theme/dark.json +8 -5
  152. package/dist/modes/interactive/theme/light.json +8 -5
  153. package/dist/modes/interactive/theme/theme-schema.json +6 -1
  154. package/dist/modes/interactive/theme/theme.d.ts +2 -2
  155. package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
  156. package/dist/modes/interactive/theme/theme.js +13 -1
  157. package/dist/modes/interactive/theme/theme.js.map +1 -1
  158. package/dist/modes/print-mode.d.ts +4 -4
  159. package/dist/modes/print-mode.d.ts.map +1 -1
  160. package/dist/modes/print-mode.js +6 -2
  161. package/dist/modes/print-mode.js.map +1 -1
  162. package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
  163. package/dist/modes/rpc/rpc-client.js +1 -0
  164. package/dist/modes/rpc/rpc-client.js.map +1 -1
  165. package/dist/modes/rpc/rpc-mode.d.ts +2 -2
  166. package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
  167. package/dist/modes/rpc/rpc-mode.js +26 -15
  168. package/dist/modes/rpc/rpc-mode.js.map +1 -1
  169. package/dist/package-manager-cli.d.ts +4 -0
  170. package/dist/package-manager-cli.d.ts.map +1 -0
  171. package/dist/package-manager-cli.js +234 -0
  172. package/dist/package-manager-cli.js.map +1 -0
  173. package/dist/prompts/commands/atomic-commit.md +17 -0
  174. package/dist/prompts/commands/discuss-phase.md +15 -0
  175. package/dist/prompts/commands/execute-phase.md +14 -0
  176. package/dist/prompts/commands/fix.md +14 -0
  177. package/dist/prompts/commands/init-project.md +16 -0
  178. package/dist/prompts/commands/map-codebase.md +16 -0
  179. package/dist/prompts/commands/new-project.md +16 -0
  180. package/dist/prompts/commands/next-milestone.md +16 -0
  181. package/dist/prompts/commands/orchestrate.md +57 -0
  182. package/dist/prompts/commands/pause-work.md +13 -0
  183. package/dist/prompts/commands/plan-phase.md +15 -0
  184. package/dist/prompts/commands/progress.md +13 -0
  185. package/dist/prompts/commands/quick.md +14 -0
  186. package/dist/prompts/commands/resume-work.md +13 -0
  187. package/dist/prompts/commands/review.md +15 -0
  188. package/dist/prompts/commands/verify-work.md +15 -0
  189. package/dist/utils/paths.d.ts +7 -0
  190. package/dist/utils/paths.d.ts.map +1 -0
  191. package/dist/utils/paths.js +19 -0
  192. package/dist/utils/paths.js.map +1 -0
  193. package/docs/compaction.md +5 -3
  194. package/docs/custom-provider.md +1 -1
  195. package/docs/development.md +3 -1
  196. package/docs/extensions.md +150 -54
  197. package/docs/json.md +5 -2
  198. package/docs/keybindings.md +2 -0
  199. package/docs/models.md +55 -4
  200. package/docs/rpc.md +21 -7
  201. package/docs/sdk.md +116 -48
  202. package/docs/session.md +3 -3
  203. package/docs/settings.md +12 -0
  204. package/docs/skills.md +3 -2
  205. package/docs/tree.md +5 -2
  206. package/examples/README.md +1 -1
  207. package/examples/extensions/README.md +1 -0
  208. package/examples/extensions/antigravity-image-gen.ts +1 -1
  209. package/examples/extensions/custom-provider-gitlab-duo/index.ts +1 -1
  210. package/examples/extensions/doom-overlay/doom/build.sh +2 -2
  211. package/examples/extensions/hidden-thinking-label.ts +53 -0
  212. package/examples/extensions/overlay-qa-tests.ts +2 -2
  213. package/examples/extensions/sandbox/index.ts +8 -4
  214. package/examples/extensions/subagent/index.ts +5 -5
  215. package/examples/extensions/trigger-compact.ts +11 -1
  216. package/examples/sdk/13-session-runtime.ts +30 -12
  217. package/examples/sdk/README.md +4 -2
  218. package/package.json +7 -8
  219. package/prompts/commands/atomic-commit.md +17 -0
  220. package/prompts/commands/discuss-phase.md +15 -0
  221. package/prompts/commands/execute-phase.md +14 -0
  222. package/prompts/commands/fix.md +14 -0
  223. package/prompts/commands/init-project.md +16 -0
  224. package/prompts/commands/map-codebase.md +16 -0
  225. package/prompts/commands/new-project.md +16 -0
  226. package/prompts/commands/next-milestone.md +16 -0
  227. package/prompts/commands/orchestrate.md +57 -0
  228. package/prompts/commands/pause-work.md +13 -0
  229. package/prompts/commands/plan-phase.md +15 -0
  230. package/prompts/commands/progress.md +13 -0
  231. package/prompts/commands/quick.md +14 -0
  232. package/prompts/commands/resume-work.md +13 -0
  233. package/prompts/commands/review.md +15 -0
  234. package/prompts/commands/verify-work.md +15 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,184 @@
1
1
  # Changelog
2
2
 
3
+ ## [2026.4.25] - 2026-04-25
4
+
5
+ ### Added
6
+
7
+ - add GSD workflow shipped prompts and API exports
8
+ - add "max" thinking level, copper theme, and error retry
9
+
10
+ ### Changed
11
+
12
+ - bump workspace version to 2026.4.25
13
+ - rebrand all package READMEs from pi to draht
14
+ - rebrand pi to draht in README
15
+ - add ASCII art logo and dev changelog skip
16
+
17
+ ## [2026.4.23] - 2026-04-23
18
+
19
+ ### Added
20
+
21
+ - add label timestamps to the session tree (#2691)
22
+ - add hidden thinking label api closes #2673
23
+ - add faux provider and ModelRegistry factories
24
+ - add prepareArguments hook for pre-validation argument preparation
25
+ - support multi-edit in edit tool
26
+ - Add sessionDir support in settings.json (#2598)
27
+ - add startup profiling scripts for tui/rpc (#2497)
28
+ - add JSONL export/import for sessions (#2356)
29
+ - add --fork session flag closes #2290
30
+ - expose local bash operations closes #2299
31
+ - refine session_directory hook closes #1729
32
+ - add session_directory extension event
33
+ - add provider payload hook
34
+ - preserve custom editor onEscape/onCtrlD handlers
35
+ - add subagent-based rebase-upstream workflow
36
+ - add atomic reasoning sections to all command prompts
37
+
38
+ ### Changed
39
+
40
+ - rebrand and fix after upstream sync
41
+ - feat(coding-agent): set DRAHT_CODING_AGENT=true env var at startup
42
+ - Update sandbox extension configuration instructions (#2915)
43
+ - fix(coding-agent): hide Earendil startup notice
44
+ - fix(coding-agent): warn on Anthropic subscription auth
45
+ - fix(coding-agent): add earendil startup announcement
46
+ - remove dead main-package-command.ts (replaced by package-manager-cli.ts)
47
+ - replace AgentSessionRuntimeHost with closure-based AgentSessionRuntime
48
+ - add switchSession to ExtensionCommandContext in extensions.md
49
+ - add defineTool helper closes #2746
50
+ - add session lifecycle characterization suite
51
+ - add queue characterization coverage
52
+ - add runtime host for session switching closes #2024
53
+ - clarify /tree active branch ordering (#2695)
54
+ - clarify repeated compaction boundary behavior (#2662)
55
+ - clarify sandbox example alternative to bash override (#2663)
56
+ - remove unused compaction import
57
+ - chore(coding-agent): add startup onboarding hint (#2620)
58
+ - make pi-test.sh runnable from any directory
59
+ - emit startup benchmark metrics
60
+ - refine startup profiling tooling
61
+ - add startup phase timings
62
+ - use valid PNG fixture for read tool
63
+ - fix showLoadedResources mocks
64
+ - stabilize git update branch setup
65
+ - add AgentSession test harness with faux provider
66
+ - fix(subagent): reuse current draht invocation for child agents closes #2464 (#2465)
67
+ - document xfce4-terminal and terminator keyboard protocol limitations (#2166)
68
+ - clarify compat flags for openai-compatible local servers closes #2177
69
+ - fix(coding-agent): support DRAHT_CODING_AGENT_DIR env var in example extensions (#2009)
70
+ - explain Windows Terminal Alt+Enter remap (#1967)
71
+ - Pr 1724 - feat(coding-agent): add fold/unfold to tree branch navigation (#1939)
72
+ - add codex tool-loop cache probe
73
+ - clarify that tool errors must be thrown, not returned
74
+ - clarify models.json name behavior (fixes #1840)
75
+ - document built-in sub-agent system
76
+ - add Phase 23 multi-agent layer to roadmap and plan
77
+
78
+ ### Fixed
79
+
80
+ - restore draht-specific package.json fields and scripts lost in upstream sync
81
+ - bump antigravity User-Agent header version (#2901)
82
+ - update google provider to handle gemma 4 thinking levels and route between MINIMAL and HIGH (#2903)
83
+ - retry ended-without stream errors closes #2892
84
+ - use node:readline import prefix for Deno compatibility
85
+ - persist bash output on line truncation closes #2852
86
+ - remove stale /exit docs closes #2850
87
+ - handle missing session cwd
88
+ - preserve json mode for piped stdin (#2848)
89
+ - handle git/npm extension paths in CLI resolution (#2845)
90
+ - quote $RESX and $RESY in doom build script (SC2086) (#2817)
91
+ - resource collision precedence, user/project skills override package skills
92
+ - handle async fs.watch error events in theme watcher
93
+ - forward RpcClient subprocess stderr to parent in real-time
94
+ - reuse initial resource loader on startup closes #2766
95
+ - wait for retried runs to settle
96
+ - restore extension input source semantics
97
+ - properly queue extension messages (#2674)
98
+ - avoid full redraw on large edit results closes #2664
99
+ - expose abort signal to extensions closes #2660
100
+ - simplify edit tool input closes #2639
101
+ - document mutable tool_call input closes #2611
102
+ - restore compaction summary and dedupe edit errors
103
+ - tighten skill discovery and edit diffs closes #2603
104
+ - preserve kept messages across repeated compaction closes #2608
105
+ - unify compaction UI events closes #2617
106
+ - honor custom renderers for built-in tool overrides closes #2595
107
+ - resolve models.json auth per request closes #1835
108
+ - add follow-up docs, changelog, and precedence tests closes #2429
109
+ - restore main syntax and apply biome formatting
110
+ - preserve file mutation queue ordering
111
+ - add missing ajv direct dependency, fixes #2252
112
+ - emit session_shutdown in print mode closes #2576
113
+ - respect export theme backgrounds closes #2565
114
+ - recompute interactive bash preview width closes #2569
115
+ - reduce git update fetch noise closes #2548
116
+ - expose rpc context usage closes #2550
117
+ - disambiguate duplicate slash commands, fixes #1061
118
+ - unify source provenance, closes #1734
119
+ - attach source info to resources and commands, fixes #1734
120
+ - enforce safe auto-resized image limits closes #2055
121
+ - reserve stdout in print and json mode closes #2482
122
+ - skip no-op git package reinstalls
123
+ - built-in tools work like extension tools
124
+ - update project npm packages
125
+ - export ToolCallEventResult closes #2458
126
+ - respect agentDir for sdk session paths closes #2457
127
+ - keep suspend resume alive on fg closes #2454
128
+ - align minimax and zai defaults (#2445)
129
+ - migrate to namespaced ids closes #2391
130
+ - queue file mutations across edit and write
131
+ - protect rpc stdout fixes #2388
132
+ - resolve waitForRetry() race when auto-retry produces tool calls (#2440)
133
+ - suppress process warnings in CLI closes #2404
134
+ - show bash tool elapsed time at bottom closes #2406
135
+ - avoid blocking footer branch refresh and isolate invalid extension provider registrations closes #2418 closes #2431
136
+ - fix windows hanging when descendants inherit stdout/stderr handles (#2389)
137
+ - use native clipboard text copy on desktop closes #2347
138
+ - make tests keybinding-agnostic
139
+ - use `setBedrockProviderModule` in Bun entrypoint closes #2349 (#2350)
140
+ - stop updating packages on startup closes #1963
141
+ - refresh active model after provider updates closes #2291
142
+ - reload keybindings on /reload closes #2309
143
+ - restore Bun binary lazy provider loading closes #2314
144
+ - handle z.ai network_error closes #2313
145
+ - merge piped stdin into initial prompt closes #2315
146
+ - skip tmux extended-keys warning when tmux is unreachable (#2311)
147
+ - handle empty session titles and session info metadata (#2304)
148
+ - handle reftable footer branch detection (#2300)
149
+ - make prompt snippets opt in closes #2285
150
+ - retry provider returned error closes #2264
151
+ - handle slash-delimited /model refs closes #2174
152
+ - start UI before session_start closes #2035
153
+ - add uninstall alias
154
+ - stabilize windows shell/path handling
155
+ - silence headless clipboard fallback errors closes #2056
156
+ - honor provider compat in models.json closes #2062
157
+ - normalize prompt cwd for bash-safe windows paths closes #2080
158
+ - support configurable npm wrapper command closes #2072
159
+ - expand paste markers in ctx.ui.getEditorText(), closes #2084
160
+ - sync tool hooks with agent event processing closes #2113
161
+ - keep only ISO date in system prompt closes #2131
162
+ - match server_error and internal_error in retry regex (#2117)
163
+ - Fix EXIF orientation for JPEG and WebP images (#2105)
164
+ - use shell for external editor on windows closes #1925
165
+ - prefer explicit -e extensions closes #1896
166
+ - ignore stale pre-compaction assistant usage in threshold compaction checks, fixes #1860
167
+ - handle tmux xterm extended keys and warn on tmux setup fixes #1872
168
+ - custom tool collapsed/expanded rendering in HTML export (#1934)
169
+ - use strict JSONL framing fixes #1911
170
+ - keep ~/.agents skills user-scoped\n\ncloses #1915
171
+ - guard against stale kept pre-compaction usage in error-path threshold check
172
+ - truncate tool results in compaction summarization to prevent overflow, fixes #1796
173
+ - allow threshold compaction for error messages using last successful usage, fixes #1834
174
+ - retry sync lockfile acquisition to prevent false auth errors during parallel startup
175
+ - preserve thinking defaults across model switches closes #1864
176
+ - clear header on /new closes #1880
177
+ - prefer workspace dist files for extension aliases
178
+ - normalize CRLF in write preview rendering (fixes #1854)
179
+ - make footer truncation width-aware
180
+ - use ESM resolution for extension alias fallback (#1821)
181
+
3
182
  ## [2026.4.5] - 2026-04-05
4
183
 
5
184
  ### Added
@@ -40,7 +219,7 @@
40
219
  - branding sweep for upstream cherry-picks
41
220
  - emit session_shutdown in print mode closes #2576
42
221
  - replace π with D in terminal title
43
- - update changelog URL from pi-mono to draht
222
+ - update changelog URL from draht-mono to draht
44
223
  - resolve upstream sync conflicts and fix branding
45
224
  - respect export theme backgrounds closes #2565
46
225
  - recompute interactive bash preview width closes #2569
@@ -263,9 +442,9 @@
263
442
 
264
443
  - bake subagent into core, remove shipped extensions
265
444
  - remove duplicate GSD extension, consolidate into built-in prompts
266
- - update repo URLs from badlogic/pi-mono to draht-dev/draht
445
+ - update repo URLs from draht-dev/draht to draht-dev/draht
267
446
  - rebrand all READMEs to draht naming and conventions
268
- - rebrand package references from @mariozechner/pi-* to @draht/*
447
+ - rebrand package references from @draht/coding-agent-* to @draht/*
269
448
  - add publishConfig for public npm access
270
449
  - comprehensive READMEs, CONTRIBUTING.md, and phase summaries
271
450
  - add vitest config, integration tests, and draht manifest test
@@ -275,7 +454,7 @@
275
454
 
276
455
  - resolve post-rebase import and dependency issues
277
456
  - rebrand .pi to .draht and pi: to draht: in tests, add verify script
278
- - rebrand remaining @mariozechner/pi-* imports from upstream to @draht/*
457
+ - rebrand remaining @draht/coding-agent-* imports from upstream to @draht/*
279
458
  - use draht-tools binary name in GSD prompts and CLI
280
459
  - fix subagent spawn in source/dev mode
281
460
  - load shipped extensions and rename /resume to /continue
@@ -309,7 +488,7 @@
309
488
 
310
489
  ### Changed
311
490
 
312
- - update repo URLs from badlogic/pi-mono to draht-dev/draht
491
+ - update repo URLs from draht-dev/draht to draht-dev/draht
313
492
 
314
493
  ## [2026.3.2-8] - 2026-03-02
315
494
 
@@ -346,7 +525,7 @@
346
525
 
347
526
  ### Changed
348
527
 
349
- - rebrand package references from @mariozechner/pi-* to @draht/*
528
+ - rebrand package references from @draht/coding-agent-* to @draht/*
350
529
  - add publishConfig for public npm access
351
530
  - comprehensive READMEs, CONTRIBUTING.md, and phase summaries
352
531
  - add vitest config, integration tests, and draht manifest test
@@ -366,20 +545,20 @@
366
545
 
367
546
  ### New Features
368
547
 
369
- - 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/badlogic/pi-mono/issues/1757)).
370
- - Added `branchSummary.skipPrompt` setting to skip branch summarization prompts during tree navigation ([docs/settings.md](docs/settings.md), [#1792](https://github.com/badlogic/pi-mono/issues/1792)).
371
- - 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/badlogic/pi-mono/issues/1785)).
548
+ - 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)).
549
+ - 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)).
550
+ - 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)).
372
551
 
373
552
  ### Breaking Changes
374
553
 
375
554
  - 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.
376
- - Moved Node OAuth runtime exports off the top-level `@mariozechner/pi-ai` entry. OAuth login and refresh must be imported from `@mariozechner/pi-ai/oauth` ([#1814](https://github.com/badlogic/pi-mono/issues/1814)).
555
+ - 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)).
377
556
 
378
557
  ### Added
379
558
 
380
- - Added `branchSummary.skipPrompt` setting to skip the summary prompt when navigating branches ([#1792](https://github.com/badlogic/pi-mono/issues/1792)).
381
- - Added OpenCode Go provider support with `opencode-go` model defaults and `OPENCODE_API_KEY` environment variable support ([#1757](https://github.com/badlogic/pi-mono/issues/1757)).
382
- - Added `gemini-3.1-flash-lite-preview` fallback model availability in provider catalogs when upstream catalogs lag ([#1785](https://github.com/badlogic/pi-mono/issues/1785)).
559
+ - Added `branchSummary.skipPrompt` setting to skip the summary prompt when navigating branches ([#1792](https://github.com/draht-dev/draht/issues/1792)).
560
+ - 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)).
561
+ - 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)).
383
562
 
384
563
  ### Changed
385
564
 
@@ -388,87 +567,87 @@
388
567
  ### Fixed
389
568
 
390
569
  - 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.
391
- - 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/badlogic/pi-mono/issues/1805)).
392
- - Fixed markdown blockquotes dropping nested list content in the TUI renderer ([#1787](https://github.com/badlogic/pi-mono/issues/1787)).
393
- - Fixed TUI width handling for regional indicator symbols to prevent wrap drift and stale characters during streaming ([#1783](https://github.com/badlogic/pi-mono/issues/1783)).
394
- - Fixed Kitty CSI-u handling to ignore unsupported modifiers so modifier-only events do not insert printable characters ([#1807](https://github.com/badlogic/pi-mono/issues/1807)).
395
- - Fixed single-line paste handling to insert text atomically and avoid repeated `@` autocomplete scans on large pastes ([#1812](https://github.com/badlogic/pi-mono/issues/1812)).
396
- - Fixed extension loading with the new `@mariozechner/pi-ai/oauth` export path by aliasing the oauth subpath in the extension loader and development path mapping ([#1814](https://github.com/badlogic/pi-mono/issues/1814)).
397
- - 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/badlogic/pi-mono/issues/1814)).
398
- - Fixed GNU screen terminal detection by downgrading theme output to 256-color mode for `screen*` TERM values ([#1809](https://github.com/badlogic/pi-mono/issues/1809)).
399
- - Fixed branch summarization queue handling so messages typed while summaries are generated are processed correctly ([#1803](https://github.com/badlogic/pi-mono/issues/1803)).
400
- - Fixed compaction summary requests to avoid reasoning output for non-reasoning models ([#1793](https://github.com/badlogic/pi-mono/issues/1793)).
570
+ - 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)).
571
+ - Fixed markdown blockquotes dropping nested list content in the TUI renderer ([#1787](https://github.com/draht-dev/draht/issues/1787)).
572
+ - 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)).
573
+ - 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)).
574
+ - 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)).
575
+ - 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)).
576
+ - 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)).
577
+ - 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)).
578
+ - Fixed branch summarization queue handling so messages typed while summaries are generated are processed correctly ([#1803](https://github.com/draht-dev/draht/issues/1803)).
579
+ - Fixed compaction summary requests to avoid reasoning output for non-reasoning models ([#1793](https://github.com/draht-dev/draht/issues/1793)).
401
580
  - Fixed overflow auto-compaction cascades so a single overflow does not trigger repeated compaction loops.
402
- - Fixed `models.json` to allow provider-scoped custom model ids and model-level `baseUrl` overrides ([#1759](https://github.com/badlogic/pi-mono/issues/1759), [#1777](https://github.com/badlogic/pi-mono/issues/1777)).
403
- - Fixed session selector display sanitization by stripping control characters from session display text ([#1747](https://github.com/badlogic/pi-mono/issues/1747)).
404
- - Fixed Groq Qwen3 reasoning effort mapping for OpenAI-compatible models ([#1745](https://github.com/badlogic/pi-mono/issues/1745)).
405
- - Fixed Bedrock `AWS_PROFILE` region resolution by honoring profile `region` values ([#1800](https://github.com/badlogic/pi-mono/issues/1800)).
406
- - Fixed Gemini 3.1 thinking-level detection for `google` and `google-vertex` providers ([#1785](https://github.com/badlogic/pi-mono/issues/1785)).
407
- - Fixed browser bundling compatibility for `@mariozechner/pi-ai` by removing Node-only side effects from default browser import paths ([#1814](https://github.com/badlogic/pi-mono/issues/1814)).
581
+ - 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)).
582
+ - Fixed session selector display sanitization by stripping control characters from session display text ([#1747](https://github.com/draht-dev/draht/issues/1747)).
583
+ - Fixed Groq Qwen3 reasoning effort mapping for OpenAI-compatible models ([#1745](https://github.com/draht-dev/draht/issues/1745)).
584
+ - Fixed Bedrock `AWS_PROFILE` region resolution by honoring profile `region` values ([#1800](https://github.com/draht-dev/draht/issues/1800)).
585
+ - Fixed Gemini 3.1 thinking-level detection for `google` and `google-vertex` providers ([#1785](https://github.com/draht-dev/draht/issues/1785)).
586
+ - 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)).
408
587
 
409
588
  ## [0.55.4] - 2026-03-02
410
589
 
411
590
  ### New Features
412
591
 
413
- - 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/badlogic/pi-mono/issues/1720)).
414
- - 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/badlogic/pi-mono/issues/1720)).
415
- - 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/badlogic/pi-mono/pull/1719)).
592
+ - 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)).
593
+ - 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)).
594
+ - 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)).
416
595
 
417
596
  ### Added
418
597
 
419
- - 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/badlogic/pi-mono/pull/1237) by [@semtexzv](https://github.com/semtexzv)).
420
- - Added optional `promptGuidelines` to `ToolDefinition` so active tools can append tool-specific bullets to the default system prompt `Guidelines` section ([#1720](https://github.com/badlogic/pi-mono/issues/1720)).
598
+ - 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)).
599
+ - 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)).
421
600
 
422
601
  ### Fixed
423
602
 
424
- - 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/badlogic/pi-mono/issues/1720))
425
- - 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/badlogic/pi-mono/issues/1717))
426
- - 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/badlogic/pi-mono/pull/1719) by [@alasano](https://github.com/alasano))
427
- - 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/badlogic/pi-mono/pull/1726) by [@pasky](https://github.com/pasky))
603
+ - 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))
604
+ - 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))
605
+ - 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))
606
+ - 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))
428
607
 
429
608
  ## [0.55.3] - 2026-02-27
430
609
 
431
610
  ### Fixed
432
611
 
433
- - Changed the default image paste keybinding on Windows to `alt+v` to avoid `ctrl+v` conflicts with terminal paste behavior ([#1682](https://github.com/badlogic/pi-mono/pull/1682) by [@mrexodia](https://github.com/mrexodia)).
612
+ - 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)).
434
613
 
435
614
  ## [0.55.2] - 2026-02-27
436
615
 
437
616
  ### New Features
438
617
 
439
- - 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/badlogic/pi-mono/blob/main/packages/coding-agent/docs/custom-provider.md)).
618
+ - 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)).
440
619
  - `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.
441
620
 
442
621
  ### Added
443
622
 
444
- - `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/badlogic/pi-mono/pull/1669) by [@aliou](https://github.com/aliou)).
623
+ - `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)).
445
624
 
446
625
  ### Fixed
447
626
 
448
- - `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/badlogic/pi-mono/pull/1669) by [@aliou](https://github.com/aliou)).
449
- - 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/badlogic/pi-mono/pull/1672) by [@w-winter](https://github.com/w-winter)).
450
- - 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/badlogic/pi-mono/pull/1668) by [@aliou](https://github.com/aliou)).
451
- - Fixed Z.ai thinking control using wrong parameter name, causing thinking to always be enabled and wasting tokens/latency ([#1674](https://github.com/badlogic/pi-mono/pull/1674) by [@okuyam2y](https://github.com/okuyam2y))
452
- - 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/badlogic/pi-mono/pull/1665) by [@tctev](https://github.com/tctev))
453
- - Fixed `(external, cli)` user-agent flag causing 401 errors on Anthropic setup-token endpoint ([#1677](https://github.com/badlogic/pi-mono/pull/1677) by [@LazerLance777](https://github.com/LazerLance777))
454
- - Fixed crash when OpenAI-compatible provider returns a chunk with no `choices` array ([#1671](https://github.com/badlogic/pi-mono/issues/1671))
627
+ - `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)).
628
+ - 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)).
629
+ - 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)).
630
+ - 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))
631
+ - 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))
632
+ - 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))
633
+ - Fixed crash when OpenAI-compatible provider returns a chunk with no `choices` array ([#1671](https://github.com/draht-dev/draht/issues/1671))
455
634
 
456
635
  ## [0.55.1] - 2026-02-26
457
636
 
458
637
  ### New Features
459
638
 
460
639
  - 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.
461
- - Added `gemini-3.1-pro-preview` model support to the `google-gemini-cli` provider ([#1599](https://github.com/badlogic/pi-mono/pull/1599) by [@audichuang](https://github.com/audichuang)).
640
+ - 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)).
462
641
 
463
642
  ### Fixed
464
643
 
465
- - Fixed offline startup hangs by adding offline startup behavior and network timeouts during managed tool setup ([#1631](https://github.com/badlogic/pi-mono/pull/1631) by [@mcollina](https://github.com/mcollina))
466
- - 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/badlogic/pi-mono/pull/1627) by [@kaste](https://github.com/kaste))
467
- - 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/badlogic/pi-mono/issues/1348))
644
+ - 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))
645
+ - 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))
646
+ - 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))
468
647
  - Fixed extension loading on Windows when resolving `@sinclair/typebox` aliases so subpath imports like `@sinclair/typebox/compiler` resolve correctly.
469
- - 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/badlogic/pi-mono/pull/1548) by [@tctev](https://github.com/tctev))
470
- - Fixed Vertex ADC credential detection race by avoiding caching a false negative during async import initialization ([#1550](https://github.com/badlogic/pi-mono/pull/1550) by [@jeremiahgaylord-web](https://github.com/jeremiahgaylord-web))
471
- - Fixed subagent extension example to resolve user agents from the configured agent directory instead of hardcoded paths ([#1559](https://github.com/badlogic/pi-mono/pull/1559) by [@tianshuwang](https://github.com/tianshuwang))
648
+ - 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))
649
+ - 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))
650
+ - 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))
472
651
 
473
652
  ## [0.55.0] - 2026-02-24
474
653
 
@@ -482,7 +661,7 @@
482
661
  ### Fixed
483
662
 
484
663
  - Fixed `.pi` folder being created unnecessarily when only reading settings. The folder is now only created when writing project-specific settings.
485
- - Fixed extension-driven runtime theme changes to persist in settings so `/settings` reflects the active `currentTheme` after `ctx.ui.setTheme(...)` ([#1483](https://github.com/badlogic/pi-mono/pull/1483) by [@ferologics](https://github.com/ferologics))
664
+ - 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))
486
665
  - 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.
487
666
 
488
667
  ## [0.54.1] - 2026-02-22
@@ -557,12 +736,12 @@
557
736
 
558
737
  ### Breaking Changes
559
738
 
560
- - `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/badlogic/pi-mono/pull/1382) by [@ferologics](https://github.com/ferologics))
561
- - 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/badlogic/pi-mono/issues/1426))
739
+ - `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))
740
+ - 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))
562
741
 
563
742
  ### Added
564
743
 
565
- - 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/badlogic/pi-mono/pull/1375) by [@sumeet](https://github.com/sumeet))
744
+ - 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))
566
745
  - Added `terminal_input` extension event to intercept, consume, or transform raw terminal input before normal TUI handling.
567
746
  - Added `gpt-5.3-codex-spark` model definition for OpenAI and OpenAI Codex providers (research preview).
568
747
 
@@ -572,69 +751,69 @@
572
751
 
573
752
  ### Fixed
574
753
 
575
- - 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/badlogic/pi-mono/pull/1382) by [@ferologics](https://github.com/ferologics))
576
- - Fixed `_checkCompaction()` using the first compaction entry instead of the latest, which could cause incorrect overflow detection with multiple compactions ([#1382](https://github.com/badlogic/pi-mono/pull/1382) by [@ferologics](https://github.com/ferologics))
577
- - `--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/badlogic/pi-mono/pull/1350) by [@mitsuhiko](https://github.com/mitsuhiko))
578
- - Fixed local package path normalization for extension sources while tightening git source parsing rules ([#1426](https://github.com/badlogic/pi-mono/issues/1426))
754
+ - 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))
755
+ - 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))
756
+ - `--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))
757
+ - Fixed local package path normalization for extension sources while tightening git source parsing rules ([#1426](https://github.com/draht-dev/draht/issues/1426))
579
758
  - Fixed extension terminal input listeners not being cleared during session resets, which could leave stale handlers active.
580
- - Fixed Termux bootstrap package name for `fd` installation ([#1433](https://github.com/badlogic/pi-mono/pull/1433))
581
- - Fixed `@` file autocomplete fuzzy matching to prioritize path-prefix and segment matches for nested paths ([#1423](https://github.com/badlogic/pi-mono/issues/1423))
582
- - Fixed OpenAI streaming tool-call parsing to tolerate malformed trailing JSON in partial chunks ([#1424](https://github.com/badlogic/pi-mono/issues/1424))
759
+ - Fixed Termux bootstrap package name for `fd` installation ([#1433](https://github.com/draht-dev/draht/pull/1433))
760
+ - Fixed `@` file autocomplete fuzzy matching to prioritize path-prefix and segment matches for nested paths ([#1423](https://github.com/draht-dev/draht/issues/1423))
761
+ - Fixed OpenAI streaming tool-call parsing to tolerate malformed trailing JSON in partial chunks ([#1424](https://github.com/draht-dev/draht/issues/1424))
583
762
 
584
763
  ## [0.52.9] - 2026-02-08
585
764
 
586
765
  ### New Features
587
766
 
588
- - 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/badlogic/pi-mono/issues/1371))
767
+ - 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))
589
768
  - Short CLI disable aliases: `-ne` (`--no-extensions`), `-ns` (`--no-skills`), and `-np` (`--no-prompt-templates`) for faster interactive usage and scripting.
590
- - `/export` HTML now includes collapsible tool input schemas (parameter names, types, and descriptions), improving session review and sharing workflows ([#1416](https://github.com/badlogic/pi-mono/pull/1416) by [@marchellodev](https://github.com/marchellodev)).
591
- - `pi.getAllTools()` now exposes tool parameters in addition to name and description, enabling richer extension integrations ([#1416](https://github.com/badlogic/pi-mono/pull/1416) by [@marchellodev](https://github.com/marchellodev)).
769
+ - `/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)).
770
+ - `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)).
592
771
 
593
772
  ### Added
594
773
 
595
- - Added `ctx.reload()` to the extension API for programmatic runtime reload ([#1371](https://github.com/badlogic/pi-mono/issues/1371))
774
+ - Added `ctx.reload()` to the extension API for programmatic runtime reload ([#1371](https://github.com/draht-dev/draht/issues/1371))
596
775
  - Added short aliases for disable flags: `-ne` for `--no-extensions`, `-ns` for `--no-skills`, `-np` for `--no-prompt-templates`
597
- - `/export` HTML now includes tool input schema (parameter names, types, descriptions) in a collapsible section under each tool ([#1416](https://github.com/badlogic/pi-mono/pull/1416) by [@marchellodev](https://github.com/marchellodev))
598
- - `pi.getAllTools()` now returns tool parameters in addition to name and description ([#1416](https://github.com/badlogic/pi-mono/pull/1416) by [@marchellodev](https://github.com/marchellodev))
776
+ - `/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))
777
+ - `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))
599
778
 
600
779
  ### Fixed
601
780
 
602
781
  - Fixed extension source parsing so dot-prefixed local paths (for example `.pi/extensions/foo.ts`) are treated as local paths instead of git URLs
603
- - 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/badlogic/pi-mono/issues/1348))
604
- - 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/badlogic/pi-mono/pull/1411) by [@aliou](https://github.com/aliou))
605
- - Fixed `rg` not available in bash tool by downloading it at startup alongside `fd` ([#1348](https://github.com/badlogic/pi-mono/issues/1348))
606
- - Fixed `custom-compaction` example to use `ModelRegistry` ([#1387](https://github.com/badlogic/pi-mono/issues/1387))
607
- - Google providers now support full JSON Schema in tool declarations (anyOf, oneOf, const, etc.) ([#1398](https://github.com/badlogic/pi-mono/issues/1398) by [@jarib](https://github.com/jarib))
782
+ - 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))
783
+ - 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))
784
+ - Fixed `rg` not available in bash tool by downloading it at startup alongside `fd` ([#1348](https://github.com/draht-dev/draht/issues/1348))
785
+ - Fixed `custom-compaction` example to use `ModelRegistry` ([#1387](https://github.com/draht-dev/draht/issues/1387))
786
+ - 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))
608
787
  - Reverted incorrect Antigravity model change: `claude-opus-4-6-thinking` back to `claude-opus-4-5-thinking` (model does not exist on Antigravity endpoint)
609
788
  - Updated the Antigravity system instruction to a more compact version for Google Gemini CLI compatibility
610
- - Corrected opencode context windows for Claude Sonnet 4 and 4.5 ([#1383](https://github.com/badlogic/pi-mono/issues/1383))
611
- - Fixed subagent example unknown-agent errors to include available agent names ([#1414](https://github.com/badlogic/pi-mono/pull/1414) by [@dnouri](https://github.com/dnouri))
789
+ - Corrected opencode context windows for Claude Sonnet 4 and 4.5 ([#1383](https://github.com/draht-dev/draht/issues/1383))
790
+ - 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))
612
791
 
613
792
  ## [0.52.8] - 2026-02-07
614
793
 
615
794
  ### New Features
616
795
 
617
- - Emacs-style kill ring (`ctrl+k`/`ctrl+y`/`alt+y`) and undo (`ctrl+z`) in the editor input ([#1373](https://github.com/badlogic/pi-mono/pull/1373) by [@Perlence](https://github.com/Perlence))
618
- - OpenRouter `auto` model alias (`openrouter:auto`) for automatic model routing ([#1361](https://github.com/badlogic/pi-mono/pull/1361) by [@yogasanas](https://github.com/yogasanas))
619
- - 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/badlogic/pi-mono/pull/1351) by [@kaofelix](https://github.com/kaofelix))
620
- - `pi <package> --help` and invalid subcommands now show helpful output instead of failing silently ([#1347](https://github.com/badlogic/pi-mono/pull/1347) by [@ferologics](https://github.com/ferologics))
796
+ - 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))
797
+ - 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))
798
+ - 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))
799
+ - `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))
621
800
 
622
801
  ### Added
623
802
 
624
- - Added `pasteToEditor` to extension UI context for programmatic editor paste ([#1351](https://github.com/badlogic/pi-mono/pull/1351) by [@kaofelix](https://github.com/kaofelix))
625
- - Added package subcommand help and friendly error messages for invalid commands ([#1347](https://github.com/badlogic/pi-mono/pull/1347) by [@ferologics](https://github.com/ferologics))
626
- - Added OpenRouter `auto` model alias for automatic model routing ([#1361](https://github.com/badlogic/pi-mono/pull/1361) by [@yogasanas](https://github.com/yogasanas))
627
- - Added kill ring (ctrl+k/ctrl+y/alt+y) and undo (ctrl+z) support to the editor input ([#1373](https://github.com/badlogic/pi-mono/pull/1373) by [@Perlence](https://github.com/Perlence))
803
+ - 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))
804
+ - 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))
805
+ - Added OpenRouter `auto` model alias for automatic model routing ([#1361](https://github.com/draht-dev/draht/pull/1361) by [@yogasanas](https://github.com/yogasanas))
806
+ - 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))
628
807
 
629
808
  ### Changed
630
809
 
631
- - Replaced Claude Opus 4.5 with Opus 4.6 as default model ([#1345](https://github.com/badlogic/pi-mono/pull/1345) by [@calvin-hpnet](https://github.com/calvin-hpnet))
810
+ - 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))
632
811
 
633
812
  ### Fixed
634
813
 
635
814
  - Fixed temporary git package caches (`-e <git-url>`) to refresh on cache hits for unpinned sources, including detached/no-upstream checkouts
636
- - Fixed aborting retries when an extension customizes the editor ([#1364](https://github.com/badlogic/pi-mono/pull/1364) by [@Perlence](https://github.com/Perlence))
637
- - Fixed autocomplete not propagating to custom editors created by extensions ([#1372](https://github.com/badlogic/pi-mono/pull/1372) by [@Perlence](https://github.com/Perlence))
815
+ - Fixed aborting retries when an extension customizes the editor ([#1364](https://github.com/draht-dev/draht/pull/1364) by [@Perlence](https://github.com/Perlence))
816
+ - 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))
638
817
  - Fixed extension shutdown to use clean TUI shutdown path, preventing orphaned processes
639
818
 
640
819
  ## [0.52.7] - 2026-02-06
@@ -651,30 +830,30 @@
651
830
 
652
831
  ### Added
653
832
 
654
- - Added `modelOverrides` in `models.json` to customize individual built-in models per provider without full provider replacement ([#1332](https://github.com/badlogic/pi-mono/pull/1332) by [@charles-cooper](https://github.com/charles-cooper))
655
- - Added `AWS_BEDROCK_SKIP_AUTH` and `AWS_BEDROCK_FORCE_HTTP1` environment variables for connecting to unauthenticated Bedrock proxies ([#1320](https://github.com/badlogic/pi-mono/pull/1320) by [@virtuald](https://github.com/virtuald))
833
+ - 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))
834
+ - 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))
656
835
 
657
836
  ### Fixed
658
837
 
659
838
  - Fixed extra spacing between thinking-only assistant content and subsequent tool execution blocks when assistant messages contain no text
660
- - 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/badlogic/pi-mono/pull/1312) by [@ferologics](https://github.com/ferologics))
661
- - Fixed `tool_result` extension handlers to chain result patches across handlers instead of last-handler-wins behavior ([#1280](https://github.com/badlogic/pi-mono/issues/1280))
662
- - Fixed compromised auth lock files being handled gracefully instead of crashing auth storage initialization ([#1322](https://github.com/badlogic/pi-mono/issues/1322))
663
- - Fixed Bedrock adaptive thinking handling for Claude Opus 4.6 with interleaved thinking beta responses ([#1323](https://github.com/badlogic/pi-mono/pull/1323) by [@markusylisiurunen](https://github.com/markusylisiurunen))
664
- - Fixed OpenAI Responses API requests to use `store: false` by default to avoid server-side history logging ([#1308](https://github.com/badlogic/pi-mono/issues/1308))
665
- - Fixed interactive mode startup by initializing autocomplete after resources are loaded ([#1328](https://github.com/badlogic/pi-mono/issues/1328))
666
- - Fixed `modelOverrides` merge behavior for nested objects and documented usage details ([#1062](https://github.com/badlogic/pi-mono/issues/1062))
839
+ - 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))
840
+ - 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))
841
+ - Fixed compromised auth lock files being handled gracefully instead of crashing auth storage initialization ([#1322](https://github.com/draht-dev/draht/issues/1322))
842
+ - 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))
843
+ - 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))
844
+ - Fixed interactive mode startup by initializing autocomplete after resources are loaded ([#1328](https://github.com/draht-dev/draht/issues/1328))
845
+ - Fixed `modelOverrides` merge behavior for nested objects and documented usage details ([#1062](https://github.com/draht-dev/draht/issues/1062))
667
846
 
668
847
  ## [0.52.6] - 2026-02-05
669
848
 
670
849
  ### Breaking Changes
671
850
 
672
- - Removed `/exit` command handling. Use `/quit` to exit ([#1303](https://github.com/badlogic/pi-mono/issues/1303))
851
+ - Removed `/exit` command handling. Use `/quit` to exit ([#1303](https://github.com/draht-dev/draht/issues/1303))
673
852
 
674
853
  ### Fixed
675
854
 
676
- - Fixed `/quit` being shadowed by fuzzy slash command autocomplete matches from skills by adding `/quit` to built-in command autocomplete ([#1303](https://github.com/badlogic/pi-mono/issues/1303))
677
- - 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/badlogic/pi-mono/issues/1304))
855
+ - 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))
856
+ - 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))
678
857
 
679
858
  ## [0.52.5] - 2026-02-05
680
859
 
@@ -686,7 +865,7 @@
686
865
 
687
866
  ### Fixed
688
867
 
689
- - Fixed extensions setting not respecting `package.json` `pi.extensions` manifest when directory is specified directly ([#1302](https://github.com/badlogic/pi-mono/pull/1302) by [@hjanuschka](https://github.com/hjanuschka))
868
+ - 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))
690
869
 
691
870
  ## [0.52.3] - 2026-02-05
692
871
 
@@ -724,52 +903,52 @@
724
903
  - Added `minimal-mode.ts` example extension demonstrating how to override built-in tool rendering for a minimal display mode
725
904
  - Added Claude Opus 4.6 model to the model catalog
726
905
  - Added GPT-5.3 Codex model to the model catalog (OpenAI Codex provider only)
727
- - Added SSH URL support for git packages ([#1287](https://github.com/badlogic/pi-mono/pull/1287) by [@markusn](https://github.com/markusn))
728
- - Model selectors now display the selected model name ([#1275](https://github.com/badlogic/pi-mono/pull/1275) by [@haoqixu](https://github.com/haoqixu))
906
+ - Added SSH URL support for git packages ([#1287](https://github.com/draht-dev/draht/pull/1287) by [@markusn](https://github.com/markusn))
907
+ - Model selectors now display the selected model name ([#1275](https://github.com/draht-dev/draht/pull/1275) by [@haoqixu](https://github.com/haoqixu))
729
908
 
730
909
  ### Fixed
731
910
 
732
- - Fixed HTML export losing indentation in ANSI-rendered tool output (e.g. JSON code blocks in custom tool results) ([#1269](https://github.com/badlogic/pi-mono/pull/1269) by [@aliou](https://github.com/aliou))
733
- - 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/badlogic/pi-mono/pull/1271) by [@aliou](https://github.com/aliou))
734
- - CLI `--help`, `--version`, `--list-models`, and `--export` now exit even if extensions keep the event loop alive ([#1285](https://github.com/badlogic/pi-mono/pull/1285) by [@ferologics](https://github.com/ferologics))
735
- - Fixed crash when models send malformed tool arguments (objects instead of strings) ([#1259](https://github.com/badlogic/pi-mono/issues/1259))
736
- - Fixed custom message expand state not being respected ([#1258](https://github.com/badlogic/pi-mono/pull/1258) by [@Gurpartap](https://github.com/Gurpartap))
911
+ - 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))
912
+ - 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))
913
+ - 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))
914
+ - Fixed crash when models send malformed tool arguments (objects instead of strings) ([#1259](https://github.com/draht-dev/draht/issues/1259))
915
+ - Fixed custom message expand state not being respected ([#1258](https://github.com/draht-dev/draht/pull/1258) by [@Gurpartap](https://github.com/Gurpartap))
737
916
  - Fixed skill loader to respect .gitignore, .ignore, and .fdignore when scanning directories
738
917
 
739
918
  ## [0.51.6] - 2026-02-04
740
919
 
741
920
  ### New Features
742
921
 
743
- - Configurable resume keybinding action for opening the session resume selector. See [docs/keybindings.md](docs/keybindings.md). ([#1249](https://github.com/badlogic/pi-mono/pull/1249) by [@juanibiapina](https://github.com/juanibiapina))
922
+ - 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))
744
923
 
745
924
  ### Added
746
925
 
747
- - 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/badlogic/pi-mono/pull/1249) by [@juanibiapina](https://github.com/juanibiapina))
926
+ - 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))
748
927
 
749
928
  ### Changed
750
929
 
751
- - 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/badlogic/pi-mono/pull/1227) by [@aliou](https://github.com/aliou))
930
+ - 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))
752
931
 
753
932
  ### Fixed
754
933
 
755
934
  - Ignored unknown skill frontmatter fields when loading skills
756
- - Fixed `/reload` not picking up changes in global settings.json ([#1241](https://github.com/badlogic/pi-mono/issues/1241))
935
+ - Fixed `/reload` not picking up changes in global settings.json ([#1241](https://github.com/draht-dev/draht/issues/1241))
757
936
  - Fixed forked sessions to persist the user message after forking
758
- - Fixed forked sessions to write to new session files instead of the parent ([#1242](https://github.com/badlogic/pi-mono/issues/1242))
759
- - Fixed local package removal to normalize paths before comparison ([#1243](https://github.com/badlogic/pi-mono/issues/1243))
760
- - Fixed OpenAI Codex Responses provider to respect configured baseUrl ([#1244](https://github.com/badlogic/pi-mono/issues/1244))
761
- - Fixed `/settings` crashing in narrow terminals by handling small widths in the settings list ([#1246](https://github.com/badlogic/pi-mono/pull/1246) by [@haoqixu](https://github.com/haoqixu))
762
- - Fixed Unix bash detection to fall back to PATH lookup when `/bin/bash` is unavailable, including Termux setups ([#1230](https://github.com/badlogic/pi-mono/pull/1230) by [@VaclavSynacek](https://github.com/VaclavSynacek))
937
+ - Fixed forked sessions to write to new session files instead of the parent ([#1242](https://github.com/draht-dev/draht/issues/1242))
938
+ - Fixed local package removal to normalize paths before comparison ([#1243](https://github.com/draht-dev/draht/issues/1243))
939
+ - Fixed OpenAI Codex Responses provider to respect configured baseUrl ([#1244](https://github.com/draht-dev/draht/issues/1244))
940
+ - 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))
941
+ - 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))
763
942
 
764
943
  ## [0.51.5] - 2026-02-04
765
944
 
766
945
  ### Changed
767
946
 
768
- - Changed Bedrock model generation to drop legacy workarounds now handled upstream ([#1239](https://github.com/badlogic/pi-mono/pull/1239) by [@unexge](https://github.com/unexge))
947
+ - 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))
769
948
 
770
949
  ### Fixed
771
950
 
772
- - Fixed Windows package installs regression by using shell execution instead of `.cmd` resolution ([#1220](https://github.com/badlogic/pi-mono/issues/1220))
951
+ - Fixed Windows package installs regression by using shell execution instead of `.cmd` resolution ([#1220](https://github.com/draht-dev/draht/issues/1220))
773
952
 
774
953
  ## [0.51.4] - 2026-02-03
775
954
 
@@ -783,7 +962,7 @@
783
962
 
784
963
  ### Fixed
785
964
 
786
- - Fixed input scrolling to avoid splitting emoji sequences ([#1228](https://github.com/badlogic/pi-mono/pull/1228) by [@haoqixu](https://github.com/haoqixu))
965
+ - Fixed input scrolling to avoid splitting emoji sequences ([#1228](https://github.com/draht-dev/draht/pull/1228) by [@haoqixu](https://github.com/haoqixu))
787
966
 
788
967
  ## [0.51.3] - 2026-02-03
789
968
 
@@ -798,15 +977,15 @@
798
977
 
799
978
  ### Added
800
979
 
801
- - Added `ExtensionAPI.getCommands()` to let extensions list available slash commands (extensions, prompt templates, skills) for invocation via `prompt` ([#1210](https://github.com/badlogic/pi-mono/pull/1210) by [@w-winter](https://github.com/w-winter))
802
- - Added `commands.ts` example extension and exported `SlashCommandInfo` types for command discovery integrations ([#1210](https://github.com/badlogic/pi-mono/pull/1210) by [@w-winter](https://github.com/w-winter))
803
- - Added local path support for `pi install` and `pi remove` with relative paths stored against the target settings file ([#1216](https://github.com/badlogic/pi-mono/issues/1216))
980
+ - 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))
981
+ - 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))
982
+ - 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))
804
983
 
805
984
  ### Fixed
806
985
 
807
986
  - Fixed default thinking level persistence so settings-derived defaults are saved and restored correctly
808
- - Fixed Windows package installs by resolving `npm.cmd` when `npm` is not directly executable ([#1220](https://github.com/badlogic/pi-mono/issues/1220))
809
- - Fixed xhigh thinking level support check to accept gpt-5.2 model IDs ([#1209](https://github.com/badlogic/pi-mono/issues/1209))
987
+ - Fixed Windows package installs by resolving `npm.cmd` when `npm` is not directly executable ([#1220](https://github.com/draht-dev/draht/issues/1220))
988
+ - Fixed xhigh thinking level support check to accept gpt-5.2 model IDs ([#1209](https://github.com/draht-dev/draht/issues/1209))
810
989
 
811
990
  ## [0.51.2] - 2026-02-03
812
991
 
@@ -816,31 +995,31 @@
816
995
 
817
996
  ### Added
818
997
 
819
- - Added ExtensionUIContext getToolsExpanded and setToolsExpanded for controlling tool output expansion ([#1199](https://github.com/badlogic/pi-mono/pull/1199) by [@academo](https://github.com/academo))
820
- - Added install method detection to show package manager specific update instructions ([#1203](https://github.com/badlogic/pi-mono/pull/1203) by [@Itsnotaka](https://github.com/Itsnotaka))
998
+ - 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))
999
+ - 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))
821
1000
 
822
1001
  ### Fixed
823
1002
 
824
- - 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/badlogic/pi-mono/issues/1204))
1003
+ - 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))
825
1004
  - Fixed legacy newline handling in the editor to preserve previous newline behavior
826
1005
  - Fixed @ autocomplete to include hidden paths
827
1006
  - Fixed submit fallback to honor configured keybindings
828
- - Fixed extension commands conflicting with built-in commands by skipping them ([#1196](https://github.com/badlogic/pi-mono/pull/1196) by [@haoqixu](https://github.com/haoqixu))
829
- - Fixed @-prefixed tool paths failing to resolve by stripping the prefix ([#1206](https://github.com/badlogic/pi-mono/issues/1206))
1007
+ - 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))
1008
+ - Fixed @-prefixed tool paths failing to resolve by stripping the prefix ([#1206](https://github.com/draht-dev/draht/issues/1206))
830
1009
  - Fixed install method detection to avoid stale cached results
831
1010
 
832
1011
  ## [0.51.1] - 2026-02-02
833
1012
 
834
1013
  ### New Features
835
1014
 
836
- - **Extension API switchSession**: Extensions can now programmatically switch sessions via `ctx.switchSession(sessionPath)`. See [docs/extensions.md](docs/extensions.md). ([#1187](https://github.com/badlogic/pi-mono/issues/1187))
1015
+ - **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))
837
1016
  - **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.
838
1017
 
839
1018
  ### Fixed
840
1019
 
841
- - Fixed scoped models not finding valid credentials after logout ([#1194](https://github.com/badlogic/pi-mono/pull/1194) by [@terrorobe](https://github.com/terrorobe))
842
- - Fixed Ctrl+D exit closing the parent SSH session due to stdin buffer race condition ([#1185](https://github.com/badlogic/pi-mono/issues/1185))
843
- - Fixed emoji cursor positioning in editor input ([#1183](https://github.com/badlogic/pi-mono/pull/1183) by [@haoqixu](https://github.com/haoqixu))
1020
+ - Fixed scoped models not finding valid credentials after logout ([#1194](https://github.com/draht-dev/draht/pull/1194) by [@terrorobe](https://github.com/terrorobe))
1021
+ - Fixed Ctrl+D exit closing the parent SSH session due to stdin buffer race condition ([#1185](https://github.com/draht-dev/draht/issues/1185))
1022
+ - Fixed emoji cursor positioning in editor input ([#1183](https://github.com/draht-dev/draht/pull/1183) by [@haoqixu](https://github.com/haoqixu))
844
1023
 
845
1024
  ## [0.51.0] - 2026-02-01
846
1025
 
@@ -860,117 +1039,117 @@
860
1039
  - **Android/Termux support**: Pi now runs on Android via Termux. Install with:
861
1040
  ```bash
862
1041
  pkg install nodejs termux-api git
863
- npm install -g @mariozechner/pi-coding-agent
1042
+ npm install -g @draht/coding-agent
864
1043
  mkdir -p ~/.pi/agent
865
1044
  echo "You are running on Android in Termux." > ~/.pi/agent/AGENTS.md
866
1045
  ```
867
- Clipboard operations fall back gracefully when `termux-api` is unavailable. ([#1164](https://github.com/badlogic/pi-mono/issues/1164))
868
- - **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/badlogic/pi-mono/pull/1160) by [@mitsuhiko](https://github.com/mitsuhiko))
1046
+ Clipboard operations fall back gracefully when `termux-api` is unavailable. ([#1164](https://github.com/draht-dev/draht/issues/1164))
1047
+ - **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))
869
1048
  - **Linux ARM64 musl support**: Pi now runs on Alpine Linux ARM64 (linux-arm64-musl) via updated clipboard dependency.
870
- - **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/badlogic/pi-mono/pull/1153) by [@odysseus0](https://github.com/odysseus0))
871
- - **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/badlogic/pi-mono/pull/1128) by [@w-winter](https://github.com/w-winter))
872
- - **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/badlogic/pi-mono/pull/1147) by [@giuseppeg](https://github.com/giuseppeg))
873
- - **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/badlogic/pi-mono/pull/1144) by [@aliou](https://github.com/aliou))
1049
+ - **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))
1050
+ - **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))
1051
+ - **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))
1052
+ - **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))
874
1053
 
875
1054
  ### Added
876
1055
 
877
1056
  - Added Linux ARM64 musl (Alpine Linux) support via clipboard dependency update
878
- - Added Android/Termux support with graceful clipboard fallback ([#1164](https://github.com/badlogic/pi-mono/issues/1164))
879
- - Added bash tool spawn hook support for adjusting command, cwd, and env before execution ([#1160](https://github.com/badlogic/pi-mono/pull/1160) by [@mitsuhiko](https://github.com/mitsuhiko))
880
- - Added typed `ToolCallEvent.input` per tool with `isToolCallEventType()` type guard for narrowing built-in tool events ([#1147](https://github.com/badlogic/pi-mono/pull/1147) by [@giuseppeg](https://github.com/giuseppeg))
881
- - Exported `discoverAndLoadExtensions` from package to enable extension testing without a local repo clone ([#1148](https://github.com/badlogic/pi-mono/issues/1148))
882
- - Added Extension UI Protocol documentation to RPC docs covering all request/response types for extension dialogs and notifications ([#1144](https://github.com/badlogic/pi-mono/pull/1144) by [@aliou](https://github.com/aliou))
883
- - Added `rpc-demo.ts` example extension exercising all RPC-supported extension UI methods ([#1144](https://github.com/badlogic/pi-mono/pull/1144) by [@aliou](https://github.com/aliou))
884
- - Added `rpc-extension-ui.ts` TUI example client demonstrating the extension UI protocol with interactive dialogs ([#1144](https://github.com/badlogic/pi-mono/pull/1144) by [@aliou](https://github.com/aliou))
885
- - 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/badlogic/pi-mono/pull/1153) by [@odysseus0](https://github.com/odysseus0))
886
- - `/resume` session picker now supports named-only filter toggle (default Ctrl+N, configurable via `toggleSessionNamedFilter`) to show only named sessions ([#1128](https://github.com/badlogic/pi-mono/pull/1128) by [@w-winter](https://github.com/w-winter))
887
-
888
- ### Fixed
889
-
890
- - Fixed `pi update` not updating npm/git packages when called without arguments ([#1151](https://github.com/badlogic/pi-mono/issues/1151))
891
- - 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/badlogic/pi-mono/issues/1146))
892
- - 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/badlogic/pi-mono/issues/1136))
893
- - Fixed tree selector losing focus state when navigating entries ([#1142](https://github.com/badlogic/pi-mono/pull/1142) by [@Perlence](https://github.com/Perlence))
894
- - Fixed `cacheRetention` option not being passed through in `buildBaseOptions` ([#1154](https://github.com/badlogic/pi-mono/issues/1154))
895
- - Fixed OAuth login/refresh not using HTTP proxy settings (`HTTP_PROXY`, `HTTPS_PROXY` env vars) ([#1132](https://github.com/badlogic/pi-mono/issues/1132))
896
- - Fixed `pi update <source>` installing packages locally when the source is only registered globally ([#1163](https://github.com/badlogic/pi-mono/pull/1163) by [@aliou](https://github.com/aliou))
897
- - Fixed tree navigation with summarization overwriting editor content typed during the summarization wait ([#1169](https://github.com/badlogic/pi-mono/pull/1169) by [@aliou](https://github.com/aliou))
1057
+ - Added Android/Termux support with graceful clipboard fallback ([#1164](https://github.com/draht-dev/draht/issues/1164))
1058
+ - 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))
1059
+ - 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))
1060
+ - Exported `discoverAndLoadExtensions` from package to enable extension testing without a local repo clone ([#1148](https://github.com/draht-dev/draht/issues/1148))
1061
+ - 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))
1062
+ - 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))
1063
+ - 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))
1064
+ - 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))
1065
+ - `/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))
1066
+
1067
+ ### Fixed
1068
+
1069
+ - Fixed `pi update` not updating npm/git packages when called without arguments ([#1151](https://github.com/draht-dev/draht/issues/1151))
1070
+ - 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))
1071
+ - 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))
1072
+ - Fixed tree selector losing focus state when navigating entries ([#1142](https://github.com/draht-dev/draht/pull/1142) by [@Perlence](https://github.com/Perlence))
1073
+ - Fixed `cacheRetention` option not being passed through in `buildBaseOptions` ([#1154](https://github.com/draht-dev/draht/issues/1154))
1074
+ - Fixed OAuth login/refresh not using HTTP proxy settings (`HTTP_PROXY`, `HTTPS_PROXY` env vars) ([#1132](https://github.com/draht-dev/draht/issues/1132))
1075
+ - 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))
1076
+ - 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))
898
1077
 
899
1078
  ## [0.50.9] - 2026-02-01
900
1079
 
901
1080
  ### Added
902
1081
 
903
1082
  - Added `titlebar-spinner.ts` example extension that shows a braille spinner animation in the terminal title while the agent is working.
904
- - Added `PI_AI_ANTIGRAVITY_VERSION` environment variable documentation to help text ([#1129](https://github.com/badlogic/pi-mono/issues/1129))
905
- - Added `cacheRetention` stream option with provider-specific mappings for prompt cache controls, defaulting to short retention ([#1134](https://github.com/badlogic/pi-mono/issues/1134))
1083
+ - Added `PI_AI_ANTIGRAVITY_VERSION` environment variable documentation to help text ([#1129](https://github.com/draht-dev/draht/issues/1129))
1084
+ - 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))
906
1085
 
907
1086
  ## [0.50.8] - 2026-02-01
908
1087
 
909
1088
  ### Added
910
1089
 
911
- - Added `newSession`, `tree`, and `fork` keybinding actions for `/new`, `/tree`, and `/fork` commands. All unbound by default. ([#1114](https://github.com/badlogic/pi-mono/pull/1114) by [@juanibiapina](https://github.com/juanibiapina))
912
- - 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/badlogic/pi-mono/issues/1123))
913
- - `/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/badlogic/pi-mono/pull/1124) by [@pasky](https://github.com/pasky))
914
- - Added Qwen CLI OAuth provider extension example. ([#940](https://github.com/badlogic/pi-mono/pull/940) by [@4h9fbZ](https://github.com/4h9fbZ))
915
- - Added OAuth `modifyModels` hook support for extension-registered providers at registration time. ([#940](https://github.com/badlogic/pi-mono/pull/940) by [@4h9fbZ](https://github.com/4h9fbZ))
916
- - Added Qwen thinking format support for OpenAI-compatible completions via `enable_thinking`. ([#940](https://github.com/badlogic/pi-mono/pull/940) by [@4h9fbZ](https://github.com/4h9fbZ))
917
- - Added sticky column tracking for vertical cursor navigation so the editor restores the preferred column when moving across short lines. ([#1120](https://github.com/badlogic/pi-mono/pull/1120) by [@Perlence](https://github.com/Perlence))
1090
+ - 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))
1091
+ - 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))
1092
+ - `/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))
1093
+ - Added Qwen CLI OAuth provider extension example. ([#940](https://github.com/draht-dev/draht/pull/940) by [@4h9fbZ](https://github.com/4h9fbZ))
1094
+ - 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))
1095
+ - 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))
1096
+ - 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))
918
1097
  - Added `resources_discover` extension hook to supply additional skills, prompts, and themes on startup and reload.
919
1098
 
920
1099
  ### Fixed
921
1100
 
922
- - Fixed `switchSession()` appending spurious `thinking_level_change` entry to session log on resume. `setThinkingLevel()` is now idempotent. ([#1118](https://github.com/badlogic/pi-mono/issues/1118))
923
- - 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/badlogic/pi-mono/pull/1112) by [@lightningRalf](https://github.com/lightningRalf))
924
- - Fixed Kitty keyboard protocol base layout fallback so non-QWERTY layouts do not trigger wrong shortcuts ([#1096](https://github.com/badlogic/pi-mono/pull/1096) by [@rytswd](https://github.com/rytswd))
1101
+ - 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))
1102
+ - 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))
1103
+ - 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))
925
1104
 
926
1105
  ## [0.50.7] - 2026-01-31
927
1106
 
928
1107
  ### Fixed
929
1108
 
930
- - 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/badlogic/pi-mono/issues/1102))
1109
+ - 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))
931
1110
 
932
1111
  ## [0.50.6] - 2026-01-30
933
1112
 
934
1113
  ### Added
935
1114
 
936
- - Added `ctx.getSystemPrompt()` to extension context for accessing the current effective system prompt ([#1098](https://github.com/badlogic/pi-mono/pull/1098) by [@kaofelix](https://github.com/kaofelix))
1115
+ - 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))
937
1116
 
938
1117
  ### Fixed
939
1118
 
940
- - Fixed empty rows appearing below footer when content shrinks (e.g., closing `/tree`, clearing multi-line editor) ([#1095](https://github.com/badlogic/pi-mono/pull/1095) by [@marckrenn](https://github.com/marckrenn))
941
- - Fixed terminal cursor remaining hidden after exiting TUI via `stop()` when a render was pending ([#1099](https://github.com/badlogic/pi-mono/pull/1099) by [@haoqixu](https://github.com/haoqixu))
1119
+ - 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))
1120
+ - 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))
942
1121
 
943
1122
  ## [0.50.4] - 2026-01-30
944
1123
 
945
1124
  ### New Features
946
1125
 
947
- - **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/badlogic/pi-mono/issues/1069) by [@gturkoglu](https://github.com/gturkoglu))
948
- - **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/badlogic/pi-mono/pull/1051) by [@ben-vargas](https://github.com/ben-vargas))
949
- - **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/badlogic/pi-mono/pull/1074) by [@Perlence](https://github.com/Perlence))
950
- - **Emacs-style Ctrl+B/Ctrl+F navigation** - Alternative keybindings for word navigation (cursor word left/right) in the editor. ([#1053](https://github.com/badlogic/pi-mono/pull/1053) by [@ninlds](https://github.com/ninlds))
951
- - **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/badlogic/pi-mono/pull/1050) by [@4h9fbZ](https://github.com/4h9fbZ))
952
- - **Performance improvements** - Optimized image line detection and box rendering cache in the TUI for better rendering performance. ([#1084](https://github.com/badlogic/pi-mono/pull/1084) by [@can1357](https://github.com/can1357))
953
- - **`set_session_name` RPC command** - Headless clients can now set the session display name programmatically. ([#1075](https://github.com/badlogic/pi-mono/pull/1075) by [@dnouri](https://github.com/dnouri))
954
- - **Disable double-escape behavior** - New `"none"` option for `doubleEscapeAction` setting completely disables the double-escape shortcut. ([#973](https://github.com/badlogic/pi-mono/issues/973) by [@juanibiapina](https://github.com/juanibiapina))
1126
+ - **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))
1127
+ - **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))
1128
+ - **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))
1129
+ - **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))
1130
+ - **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))
1131
+ - **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))
1132
+ - **`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))
1133
+ - **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))
955
1134
 
956
1135
  ### Added
957
1136
 
958
- - Added "none" option to `doubleEscapeAction` setting to disable double-escape behavior entirely ([#973](https://github.com/badlogic/pi-mono/issues/973) by [@juanibiapina](https://github.com/juanibiapina))
959
- - Added OSC 52 clipboard support for SSH/mosh sessions. `/copy` now works over remote connections. ([#1069](https://github.com/badlogic/pi-mono/issues/1069) by [@gturkoglu](https://github.com/gturkoglu))
960
- - Added Vercel AI Gateway routing support via `vercelGatewayRouting` in models.json ([#1051](https://github.com/badlogic/pi-mono/pull/1051) by [@ben-vargas](https://github.com/ben-vargas))
961
- - Added Ctrl+B and Ctrl+F keybindings for cursor word left/right navigation in the editor ([#1053](https://github.com/badlogic/pi-mono/pull/1053) by [@ninlds](https://github.com/ninlds))
962
- - Added character jump navigation: Ctrl+] jumps forward to next character, Ctrl+Alt+] jumps backward ([#1074](https://github.com/badlogic/pi-mono/pull/1074) by [@Perlence](https://github.com/Perlence))
963
- - 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/badlogic/pi-mono/pull/1050) by [@4h9fbZ](https://github.com/4h9fbZ))
964
- - Optimized image line detection and box rendering cache for better TUI performance ([#1084](https://github.com/badlogic/pi-mono/pull/1084) by [@can1357](https://github.com/can1357))
965
- - Added `set_session_name` RPC command for headless clients to set session display name ([#1075](https://github.com/badlogic/pi-mono/pull/1075) by [@dnouri](https://github.com/dnouri))
1137
+ - 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))
1138
+ - 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))
1139
+ - 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))
1140
+ - 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))
1141
+ - 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))
1142
+ - 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))
1143
+ - 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))
1144
+ - 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))
966
1145
 
967
1146
  ### Fixed
968
1147
 
969
- - Read tool now handles macOS filenames with curly quotes (U+2019) and NFD Unicode normalization ([#1078](https://github.com/badlogic/pi-mono/issues/1078))
970
- - Respect .gitignore, .ignore, and .fdignore files when scanning package resources for skills, prompts, themes, and extensions ([#1072](https://github.com/badlogic/pi-mono/issues/1072))
971
- - Fixed tool call argument defaults when providers omit inputs ([#1065](https://github.com/badlogic/pi-mono/issues/1065))
972
- - Invalid JSON in settings.json no longer causes the file to be overwritten with empty settings ([#1054](https://github.com/badlogic/pi-mono/issues/1054))
973
- - Config selector now shows folder name for extensions with duplicate display names ([#1064](https://github.com/badlogic/pi-mono/pull/1064) by [@Graffioh](https://github.com/Graffioh))
1148
+ - Read tool now handles macOS filenames with curly quotes (U+2019) and NFD Unicode normalization ([#1078](https://github.com/draht-dev/draht/issues/1078))
1149
+ - 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))
1150
+ - Fixed tool call argument defaults when providers omit inputs ([#1065](https://github.com/draht-dev/draht/issues/1065))
1151
+ - 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))
1152
+ - 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))
974
1153
 
975
1154
  ## [0.50.3] - 2026-01-29
976
1155
 
@@ -998,45 +1177,45 @@
998
1177
 
999
1178
  ### Added
1000
1179
 
1001
- - Added Hugging Face provider support via OpenAI-compatible Inference Router ([#994](https://github.com/badlogic/pi-mono/issues/994))
1002
- - 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/badlogic/pi-mono/issues/967))
1003
- - Added `autocompleteMaxVisible` setting for configurable autocomplete dropdown height (3-20 items, default 5) ([#972](https://github.com/badlogic/pi-mono/pull/972) by [@masonc15](https://github.com/masonc15))
1180
+ - Added Hugging Face provider support via OpenAI-compatible Inference Router ([#994](https://github.com/draht-dev/draht/issues/994))
1181
+ - 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))
1182
+ - 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))
1004
1183
  - Added `/files` command to list all file operations (read, write, edit) in the current session
1005
- - 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/badlogic/pi-mono/issues/1043) by [@jasonish](https://github.com/jasonish))
1006
- - Added `get_commands` RPC method for headless clients to list available commands ([#995](https://github.com/badlogic/pi-mono/pull/995) by [@dnouri](https://github.com/dnouri))
1184
+ - 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))
1185
+ - 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))
1007
1186
 
1008
1187
  ### Changed
1009
1188
 
1010
- - Improved `extractCursorPosition` performance in TUI: scans lines in reverse order, early-outs when cursor is above viewport ([#1004](https://github.com/badlogic/pi-mono/pull/1004) by [@can1357](https://github.com/can1357))
1011
- - Autocomplete improvements: better handling of partial matches and edge cases ([#1024](https://github.com/badlogic/pi-mono/pull/1024) by [@Perlence](https://github.com/Perlence))
1189
+ - 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))
1190
+ - 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))
1012
1191
 
1013
1192
  ### Fixed
1014
1193
 
1015
1194
  - 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.
1016
- - Fixed custom header not displaying correctly with `quietStartup` enabled ([#1039](https://github.com/badlogic/pi-mono/pull/1039) by [@tudoroancea](https://github.com/tudoroancea))
1017
- - Empty array in package filter now disables all resources instead of falling back to manifest defaults ([#1044](https://github.com/badlogic/pi-mono/issues/1044))
1018
- - Auto-retry counter now resets after each successful LLM response instead of accumulating across tool-use turns ([#1019](https://github.com/badlogic/pi-mono/issues/1019))
1019
- - Fixed incorrect `.md` file names in warning messages ([#1041](https://github.com/badlogic/pi-mono/issues/1041) by [@llimllib](https://github.com/llimllib))
1020
- - Fixed provider name hidden in footer when terminal is narrow ([#981](https://github.com/badlogic/pi-mono/pull/981) by [@Perlence](https://github.com/Perlence))
1021
- - Fixed backslash input buffering causing delayed character display in editor ([#1037](https://github.com/badlogic/pi-mono/pull/1037) by [@Perlence](https://github.com/Perlence))
1022
- - Fixed markdown table rendering with proper row dividers and minimum column width ([#997](https://github.com/badlogic/pi-mono/pull/997) by [@tmustier](https://github.com/tmustier))
1023
- - Fixed OpenAI completions `toolChoice` handling ([#998](https://github.com/badlogic/pi-mono/pull/998) by [@williamtwomey](https://github.com/williamtwomey))
1024
- - Fixed cross-provider handoff failing when switching from OpenAI Responses API providers due to pipe-separated tool call IDs ([#1022](https://github.com/badlogic/pi-mono/issues/1022))
1025
- - Fixed 429 rate limit errors incorrectly triggering auto-compaction instead of retry with backoff ([#1038](https://github.com/badlogic/pi-mono/issues/1038))
1026
- - Fixed Anthropic provider to handle `sensitive` stop_reason returned by API ([#978](https://github.com/badlogic/pi-mono/issues/978))
1027
- - Fixed DeepSeek API compatibility by detecting `deepseek.com` URLs and disabling unsupported `developer` role ([#1048](https://github.com/badlogic/pi-mono/issues/1048))
1028
- - Fixed Anthropic provider to preserve input token counts when proxies omit them in `message_delta` events ([#1045](https://github.com/badlogic/pi-mono/issues/1045))
1195
+ - Fixed custom header not displaying correctly with `quietStartup` enabled ([#1039](https://github.com/draht-dev/draht/pull/1039) by [@tudoroancea](https://github.com/tudoroancea))
1196
+ - 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))
1197
+ - 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))
1198
+ - Fixed incorrect `.md` file names in warning messages ([#1041](https://github.com/draht-dev/draht/issues/1041) by [@llimllib](https://github.com/llimllib))
1199
+ - 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))
1200
+ - 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))
1201
+ - 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))
1202
+ - Fixed OpenAI completions `toolChoice` handling ([#998](https://github.com/draht-dev/draht/pull/998) by [@williamtwomey](https://github.com/williamtwomey))
1203
+ - 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))
1204
+ - Fixed 429 rate limit errors incorrectly triggering auto-compaction instead of retry with backoff ([#1038](https://github.com/draht-dev/draht/issues/1038))
1205
+ - Fixed Anthropic provider to handle `sensitive` stop_reason returned by API ([#978](https://github.com/draht-dev/draht/issues/978))
1206
+ - Fixed DeepSeek API compatibility by detecting `deepseek.com` URLs and disabling unsupported `developer` role ([#1048](https://github.com/draht-dev/draht/issues/1048))
1207
+ - 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))
1029
1208
  - Fixed `autocompleteMaxVisible` setting not persisting to `settings.json`
1030
1209
 
1031
1210
  ## [0.50.1] - 2026-01-26
1032
1211
 
1033
1212
  ### Fixed
1034
1213
 
1035
- - Git extension updates now handle force-pushed remotes gracefully instead of failing ([#961](https://github.com/badlogic/pi-mono/pull/961) by [@aliou](https://github.com/aliou))
1036
- - Extension `ctx.newSession({ setup })` now properly syncs agent state and renders messages after setup callback runs ([#968](https://github.com/badlogic/pi-mono/issues/968))
1214
+ - 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))
1215
+ - 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))
1037
1216
  - Fixed extension UI bindings not initializing when starting with no extensions, which broke UI methods after `/reload`
1038
- - Fixed `/hotkeys` output to title-case extension hotkeys ([#969](https://github.com/badlogic/pi-mono/pull/969) by [@Perlence](https://github.com/Perlence))
1039
- - Fixed model catalog generation to exclude deprecated OpenCode Zen models ([#970](https://github.com/badlogic/pi-mono/pull/970) by [@DanielTatarkin](https://github.com/DanielTatarkin))
1217
+ - Fixed `/hotkeys` output to title-case extension hotkeys ([#969](https://github.com/draht-dev/draht/pull/969) by [@Perlence](https://github.com/Perlence))
1218
+ - 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))
1040
1219
  - Fixed git extension removal to prune empty directories
1041
1220
 
1042
1221
  ## [0.50.0] - 2026-01-26
@@ -1061,125 +1240,125 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
1061
1240
 
1062
1241
  ### Breaking Changes
1063
1242
 
1064
- - 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/badlogic/pi-mono/issues/909))
1065
- - 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/badlogic/pi-mono/issues/645))
1066
- - Resource loading now uses `ResourceLoader` only and settings.json uses arrays for extensions, skills, prompts, and themes ([#645](https://github.com/badlogic/pi-mono/issues/645))
1067
- - 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/badlogic/pi-mono/issues/645))
1243
+ - 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))
1244
+ - 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))
1245
+ - 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))
1246
+ - 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))
1068
1247
 
1069
1248
  ### Added
1070
1249
 
1071
- - Session renaming in `/resume` picker via `Ctrl+R` without opening the session ([#863](https://github.com/badlogic/pi-mono/pull/863) by [@svkozak](https://github.com/svkozak))
1072
- - Session selector keybindings are now configurable ([#948](https://github.com/badlogic/pi-mono/pull/948) by [@aos](https://github.com/aos))
1073
- - `disable-model-invocation` frontmatter field for skills to prevent agentic invocation while still allowing explicit `/skill:name` commands ([#927](https://github.com/badlogic/pi-mono/issues/927))
1074
- - Exposed `copyToClipboard` utility for extensions ([#926](https://github.com/badlogic/pi-mono/issues/926) by [@mitsuhiko](https://github.com/mitsuhiko))
1075
- - Skill invocation messages are now collapsible in chat output, showing collapsed by default with skill name and expand hint ([#894](https://github.com/badlogic/pi-mono/issues/894))
1076
- - Header values in `models.json` now support environment variables and shell commands, matching `apiKey` resolution ([#909](https://github.com/badlogic/pi-mono/issues/909))
1077
- - Added HTTP proxy environment variable support for API requests ([#942](https://github.com/badlogic/pi-mono/pull/942) by [@haoqixu](https://github.com/haoqixu))
1078
- - Added OpenRouter provider routing support for custom models via `openRouterRouting` compat field ([#859](https://github.com/badlogic/pi-mono/pull/859) by [@v01dpr1mr0s3](https://github.com/v01dpr1mr0s3))
1079
- - Added `azure-openai-responses` provider support for Azure OpenAI Responses API. ([#890](https://github.com/badlogic/pi-mono/pull/890) by [@markusylisiurunen](https://github.com/markusylisiurunen))
1080
- - Added changelog link to update notifications ([#925](https://github.com/badlogic/pi-mono/pull/925) by [@dannote](https://github.com/dannote))
1081
- - Added `--verbose` CLI flag to override quietStartup setting ([#906](https://github.com/badlogic/pi-mono/pull/906) by [@Perlence](https://github.com/Perlence))
1250
+ - 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))
1251
+ - Session selector keybindings are now configurable ([#948](https://github.com/draht-dev/draht/pull/948) by [@aos](https://github.com/aos))
1252
+ - `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))
1253
+ - Exposed `copyToClipboard` utility for extensions ([#926](https://github.com/draht-dev/draht/issues/926) by [@mitsuhiko](https://github.com/mitsuhiko))
1254
+ - 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))
1255
+ - Header values in `models.json` now support environment variables and shell commands, matching `apiKey` resolution ([#909](https://github.com/draht-dev/draht/issues/909))
1256
+ - Added HTTP proxy environment variable support for API requests ([#942](https://github.com/draht-dev/draht/pull/942) by [@haoqixu](https://github.com/haoqixu))
1257
+ - 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))
1258
+ - 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))
1259
+ - Added changelog link to update notifications ([#925](https://github.com/draht-dev/draht/pull/925) by [@dannote](https://github.com/dannote))
1260
+ - Added `--verbose` CLI flag to override quietStartup setting ([#906](https://github.com/draht-dev/draht/pull/906) by [@Perlence](https://github.com/Perlence))
1082
1261
  - `markdown.codeBlockIndent` setting to customize code block indentation in rendered output
1083
- - Extension package management with `pi install`, `pi remove`, `pi update`, and `pi list` commands ([#645](https://github.com/badlogic/pi-mono/issues/645))
1084
- - Package filtering: selectively load resources from packages using object form in `packages` array ([#645](https://github.com/badlogic/pi-mono/issues/645))
1085
- - Glob pattern support with minimatch in package filters, top-level settings arrays, and pi manifest (e.g., `"!funky.json"`, `"*.ts"`) ([#645](https://github.com/badlogic/pi-mono/issues/645))
1086
- - `/reload` command to reload extensions, skills, prompts, and themes ([#645](https://github.com/badlogic/pi-mono/issues/645))
1087
- - `pi config` command with TUI to enable/disable package and top-level resources via patterns ([#938](https://github.com/badlogic/pi-mono/issues/938))
1088
- - CLI flags for `--skill`, `--prompt-template`, `--theme`, `--no-prompt-templates`, and `--no-themes` ([#645](https://github.com/badlogic/pi-mono/issues/645))
1089
- - Package deduplication: if same package appears in global and project settings, project wins ([#645](https://github.com/badlogic/pi-mono/issues/645))
1090
- - Unified collision reporting with `ResourceDiagnostic` type for all resource types ([#645](https://github.com/badlogic/pi-mono/issues/645))
1262
+ - Extension package management with `pi install`, `pi remove`, `pi update`, and `pi list` commands ([#645](https://github.com/draht-dev/draht/issues/645))
1263
+ - Package filtering: selectively load resources from packages using object form in `packages` array ([#645](https://github.com/draht-dev/draht/issues/645))
1264
+ - 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))
1265
+ - `/reload` command to reload extensions, skills, prompts, and themes ([#645](https://github.com/draht-dev/draht/issues/645))
1266
+ - `pi config` command with TUI to enable/disable package and top-level resources via patterns ([#938](https://github.com/draht-dev/draht/issues/938))
1267
+ - CLI flags for `--skill`, `--prompt-template`, `--theme`, `--no-prompt-templates`, and `--no-themes` ([#645](https://github.com/draht-dev/draht/issues/645))
1268
+ - Package deduplication: if same package appears in global and project settings, project wins ([#645](https://github.com/draht-dev/draht/issues/645))
1269
+ - Unified collision reporting with `ResourceDiagnostic` type for all resource types ([#645](https://github.com/draht-dev/draht/issues/645))
1091
1270
  - Show provider alongside the model in the footer if multiple providers are available
1092
1271
  - Custom provider support via `pi.registerProvider()` with `streamSimple` for custom API implementations
1093
1272
  - Added `custom-provider.ts` example extension demonstrating custom Anthropic provider with OAuth
1094
1273
 
1095
1274
  ### Changed
1096
1275
 
1097
- - `/resume` picker sort toggle moved to `Ctrl+S` to free `Ctrl+R` for rename ([#863](https://github.com/badlogic/pi-mono/pull/863) by [@svkozak](https://github.com/svkozak))
1098
- - 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/badlogic/pi-mono/pull/853) by [@mitsuhiko](https://github.com/mitsuhiko))
1099
- - HTML export: active path is now visually highlighted with dimmed off-path nodes ([#929](https://github.com/badlogic/pi-mono/pull/929) by [@hewliyang](https://github.com/hewliyang))
1276
+ - `/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))
1277
+ - 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))
1278
+ - 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))
1100
1279
  - Azure OpenAI Responses provider now uses base URL configuration with deployment-aware model mapping and no longer includes service tier handling
1101
- - `/reload` now re-renders the entire scrollback so updated extension components are visible immediately ([#928](https://github.com/badlogic/pi-mono/pull/928) by [@ferologics](https://github.com/ferologics))
1102
- - Skill, prompt template, and theme discovery now use settings and CLI path arrays instead of legacy filters ([#645](https://github.com/badlogic/pi-mono/issues/645))
1280
+ - `/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))
1281
+ - 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))
1103
1282
 
1104
1283
  ### Fixed
1105
1284
 
1106
- - 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/badlogic/pi-mono/issues/935))
1285
+ - 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))
1107
1286
  - Fixed package auto-discovery to respect loader rules, config overrides, and force-exclude patterns
1108
- - Fixed /reload restoring the correct editor after reload ([#949](https://github.com/badlogic/pi-mono/pull/949) by [@Perlence](https://github.com/Perlence))
1109
- - Fixed distributed themes breaking `/export` ([#946](https://github.com/badlogic/pi-mono/pull/946) by [@mitsuhiko](https://github.com/mitsuhiko))
1287
+ - Fixed /reload restoring the correct editor after reload ([#949](https://github.com/draht-dev/draht/pull/949) by [@Perlence](https://github.com/Perlence))
1288
+ - Fixed distributed themes breaking `/export` ([#946](https://github.com/draht-dev/draht/pull/946) by [@mitsuhiko](https://github.com/mitsuhiko))
1110
1289
  - Fixed startup hints to clarify thinking level selection and expanded thinking guidance
1111
1290
  - Fixed SDK initial model resolution to use `findInitialModel` and default to Claude Opus 4.5 for Anthropic models
1112
1291
  - Fixed no-models warning to include the `/model` instruction
1113
1292
  - Fixed authentication error messages to point to the authentication documentation
1114
1293
  - Fixed bash output hint lines to truncate to terminal width
1115
- - Fixed custom editors to honor the `paddingX` setting ([#936](https://github.com/badlogic/pi-mono/pull/936) by [@Perlence](https://github.com/Perlence))
1294
+ - Fixed custom editors to honor the `paddingX` setting ([#936](https://github.com/draht-dev/draht/pull/936) by [@Perlence](https://github.com/Perlence))
1116
1295
  - Fixed system prompt tool list to show only built-in tools
1117
1296
  - Fixed package manager to check npm package versions before using cached copies
1118
1297
  - Fixed package manager to run `npm install` after cloning git repositories with a package.json
1119
1298
  - Fixed extension provider registrations to apply before model resolution
1120
- - Fixed editor multi-line insertion handling and lastAction tracking ([#945](https://github.com/badlogic/pi-mono/pull/945) by [@Perlence](https://github.com/Perlence))
1121
- - Fixed editor word wrapping to reserve a cursor column ([#934](https://github.com/badlogic/pi-mono/pull/934) by [@Perlence](https://github.com/Perlence))
1122
- - Fixed editor word wrapping to use single-pass backtracking for whitespace handling ([#924](https://github.com/badlogic/pi-mono/pull/924) by [@Perlence](https://github.com/Perlence))
1299
+ - Fixed editor multi-line insertion handling and lastAction tracking ([#945](https://github.com/draht-dev/draht/pull/945) by [@Perlence](https://github.com/Perlence))
1300
+ - Fixed editor word wrapping to reserve a cursor column ([#934](https://github.com/draht-dev/draht/pull/934) by [@Perlence](https://github.com/Perlence))
1301
+ - 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))
1123
1302
  - Fixed Kitty image ID allocation and cleanup to prevent image ID collisions
1124
- - Fixed overlays staying centered after terminal resizes ([#950](https://github.com/badlogic/pi-mono/pull/950) by [@nicobailon](https://github.com/nicobailon))
1303
+ - Fixed overlays staying centered after terminal resizes ([#950](https://github.com/draht-dev/draht/pull/950) by [@nicobailon](https://github.com/nicobailon))
1125
1304
  - Fixed streaming dispatch to use the model api type instead of hardcoded API defaults
1126
1305
  - Fixed Google providers to default tool call arguments to an empty object when omitted
1127
- - Fixed OpenAI Responses streaming to handle `arguments.done` events on OpenAI-compatible endpoints ([#917](https://github.com/badlogic/pi-mono/pull/917) by [@williballenthin](https://github.com/williballenthin))
1306
+ - 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))
1128
1307
  - Fixed OpenAI Codex Responses tool strictness handling after the shared responses refactor
1129
1308
  - Fixed Azure OpenAI Responses streaming to guard deltas before content parts and correct metadata and handoff gating
1130
- - Fixed OpenAI completions tool-result image batching after consecutive tool results ([#902](https://github.com/badlogic/pi-mono/pull/902) by [@terrorobe](https://github.com/terrorobe))
1131
- - Off-by-one error in bash output "earlier lines" count caused by counting spacing newline as hidden content ([#921](https://github.com/badlogic/pi-mono/issues/921))
1132
- - User package filters now layer on top of manifest filters instead of replacing them ([#645](https://github.com/badlogic/pi-mono/issues/645))
1309
+ - 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))
1310
+ - 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))
1311
+ - User package filters now layer on top of manifest filters instead of replacing them ([#645](https://github.com/draht-dev/draht/issues/645))
1133
1312
  - Auto-retry now handles "terminated" errors from Codex API mid-stream failures
1134
- - Follow-up queue (Alt+Enter) now sends full paste content instead of `[paste #N ...]` markers ([#912](https://github.com/badlogic/pi-mono/issues/912))
1135
- - Fixed Alt-Up not restoring messages queued during compaction ([#923](https://github.com/badlogic/pi-mono/pull/923) by [@aliou](https://github.com/aliou))
1136
- - Fixed session corruption when loading empty or invalid session files via `--session` flag ([#932](https://github.com/badlogic/pi-mono/issues/932) by [@armanddp](https://github.com/armanddp))
1137
- - Fixed extension shortcuts not firing when extension also uses `setEditorComponent()` ([#947](https://github.com/badlogic/pi-mono/pull/947) by [@Perlence](https://github.com/Perlence))
1138
- - Session "modified" time now uses last message timestamp instead of file mtime, so renaming doesn't reorder the recent list ([#863](https://github.com/badlogic/pi-mono/pull/863) by [@svkozak](https://github.com/svkozak))
1313
+ - Follow-up queue (Alt+Enter) now sends full paste content instead of `[paste #N ...]` markers ([#912](https://github.com/draht-dev/draht/issues/912))
1314
+ - Fixed Alt-Up not restoring messages queued during compaction ([#923](https://github.com/draht-dev/draht/pull/923) by [@aliou](https://github.com/aliou))
1315
+ - 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))
1316
+ - 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))
1317
+ - 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))
1139
1318
 
1140
1319
  ## [0.49.3] - 2026-01-22
1141
1320
 
1142
1321
  ### Added
1143
1322
 
1144
- - `markdown.codeBlockIndent` setting to customize code block indentation in rendered output ([#855](https://github.com/badlogic/pi-mono/pull/855) by [@terrorobe](https://github.com/terrorobe))
1145
- - Added `inline-bash.ts` example extension for expanding `!{command}` patterns in prompts ([#881](https://github.com/badlogic/pi-mono/pull/881) by [@scutifer](https://github.com/scutifer))
1146
- - Added `antigravity-image-gen.ts` example extension for AI image generation via Google Antigravity ([#893](https://github.com/badlogic/pi-mono/pull/893) by [@ben-vargas](https://github.com/ben-vargas))
1147
- - Added `PI_SHARE_VIEWER_URL` environment variable for custom share viewer URLs ([#889](https://github.com/badlogic/pi-mono/pull/889) by [@andresaraujo](https://github.com/andresaraujo))
1148
- - Added Alt+Delete as hotkey for delete word forwards ([#878](https://github.com/badlogic/pi-mono/pull/878) by [@Perlence](https://github.com/Perlence))
1323
+ - `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))
1324
+ - 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))
1325
+ - 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))
1326
+ - 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))
1327
+ - Added Alt+Delete as hotkey for delete word forwards ([#878](https://github.com/draht-dev/draht/pull/878) by [@Perlence](https://github.com/Perlence))
1149
1328
 
1150
1329
  ### Changed
1151
1330
 
1152
- - Tree selector: changed label filter shortcut from `l` to `Shift+L` so users can search for entries containing "l" ([#861](https://github.com/badlogic/pi-mono/pull/861) by [@mitsuhiko](https://github.com/mitsuhiko))
1153
- - Fuzzy matching now scores consecutive matches higher for better search relevance ([#860](https://github.com/badlogic/pi-mono/pull/860) by [@mitsuhiko](https://github.com/mitsuhiko))
1331
+ - 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))
1332
+ - 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))
1154
1333
 
1155
1334
  ### Fixed
1156
1335
 
1157
- - Fixed error messages showing hardcoded `~/.pi/agent/` paths instead of respecting `PI_CODING_AGENT_DIR` ([#887](https://github.com/badlogic/pi-mono/pull/887) by [@aliou](https://github.com/aliou))
1158
- - Fixed `write` tool not displaying errors in the UI when execution fails ([#856](https://github.com/badlogic/pi-mono/issues/856))
1159
- - Fixed HTML export using default theme instead of user's active theme ([#870](https://github.com/badlogic/pi-mono/pull/870) by [@scutifer](https://github.com/scutifer))
1160
- - Show session name in the footer and terminal / tab title ([#876](https://github.com/badlogic/pi-mono/pull/876) by [@scutifer](https://github.com/scutifer))
1161
- - Fixed 256color fallback in Terminal.app to prevent color rendering issues ([#869](https://github.com/badlogic/pi-mono/pull/869) by [@Perlence](https://github.com/Perlence))
1336
+ - 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))
1337
+ - Fixed `write` tool not displaying errors in the UI when execution fails ([#856](https://github.com/draht-dev/draht/issues/856))
1338
+ - 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))
1339
+ - 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))
1340
+ - 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))
1162
1341
  - Fixed viewport tracking and cursor positioning for overlays and content shrink scenarios
1163
- - Fixed autocomplete to allow searches with `/` characters (e.g., `folder1/folder2`) ([#882](https://github.com/badlogic/pi-mono/pull/882) by [@richardgill](https://github.com/richardgill))
1164
- - Fixed autolinked emails displaying redundant `(mailto:...)` suffix ([#888](https://github.com/badlogic/pi-mono/pull/888) by [@terrorobe](https://github.com/terrorobe))
1342
+ - 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))
1343
+ - Fixed autolinked emails displaying redundant `(mailto:...)` suffix ([#888](https://github.com/draht-dev/draht/pull/888) by [@terrorobe](https://github.com/terrorobe))
1165
1344
  - Fixed `@` file autocomplete adding space after directories, breaking continued autocomplete into subdirectories
1166
1345
 
1167
1346
  ## [0.49.2] - 2026-01-19
1168
1347
 
1169
1348
  ### Added
1170
1349
 
1171
- - Added widget placement option for extension widgets via `widgetPlacement` in `pi.addWidget()` ([#850](https://github.com/badlogic/pi-mono/pull/850) by [@marckrenn](https://github.com/marckrenn))
1172
- - 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/badlogic/pi-mono/issues/848))
1173
- - Add "quiet startup" setting to `/settings` ([#847](https://github.com/badlogic/pi-mono/pull/847) by [@unexge](https://github.com/unexge))
1350
+ - 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))
1351
+ - 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))
1352
+ - Add "quiet startup" setting to `/settings` ([#847](https://github.com/draht-dev/draht/pull/847) by [@unexge](https://github.com/unexge))
1174
1353
 
1175
1354
  ### Changed
1176
1355
 
1177
- - HTML export now includes JSONL download button, jump-to-last-message on click, and fixed missing labels ([#853](https://github.com/badlogic/pi-mono/pull/853) by [@mitsuhiko](https://github.com/mitsuhiko))
1178
- - Improved error message for OAuth authentication failures (expired credentials, offline) instead of generic 'No API key found' ([#849](https://github.com/badlogic/pi-mono/pull/849) by [@zedrdave](https://github.com/zedrdave))
1356
+ - 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))
1357
+ - 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))
1179
1358
 
1180
1359
  ### Fixed
1181
- - Fixed `/model` selector scope toggle so you can switch between all and scoped models when scoped models are saved ([#844](https://github.com/badlogic/pi-mono/issues/844))
1182
- - Fixed OpenAI Responses 400 error "reasoning without following item" when replaying aborted turns ([#838](https://github.com/badlogic/pi-mono/pull/838))
1360
+ - 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))
1361
+ - Fixed OpenAI Responses 400 error "reasoning without following item" when replaying aborted turns ([#838](https://github.com/draht-dev/draht/pull/838))
1183
1362
  - Fixed pi exiting with code 0 when cancelling resume session selection
1184
1363
 
1185
1364
  ### Removed
@@ -1190,33 +1369,33 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
1190
1369
 
1191
1370
  ### Added
1192
1371
 
1193
- - Added `strictResponsesPairing` compat option for custom OpenAI Responses models on Azure ([#768](https://github.com/badlogic/pi-mono/pull/768) by [@prateekmedia](https://github.com/prateekmedia))
1194
- - Session selector (`/resume`) now supports path display toggle (`Ctrl+P`) and session deletion (`Ctrl+D`) with inline confirmation ([#816](https://github.com/badlogic/pi-mono/pull/816) by [@w-winter](https://github.com/w-winter))
1195
- - Added undo support in interactive mode with Ctrl+- hotkey. ([#831](https://github.com/badlogic/pi-mono/pull/831) by [@Perlence](https://github.com/Perlence))
1372
+ - 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))
1373
+ - 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))
1374
+ - Added undo support in interactive mode with Ctrl+- hotkey. ([#831](https://github.com/draht-dev/draht/pull/831) by [@Perlence](https://github.com/Perlence))
1196
1375
 
1197
1376
  ### Changed
1198
1377
 
1199
- - Share URLs now use hash fragments (`#`) instead of query strings (`?`) to prevent session IDs from being sent to buildwithpi.ai ([#829](https://github.com/badlogic/pi-mono/pull/829) by [@terrorobe](https://github.com/terrorobe))
1200
- - 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/badlogic/pi-mono/pull/762) by [@cv](https://github.com/cv))
1378
+ - 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))
1379
+ - 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))
1201
1380
 
1202
1381
  ### Fixed
1203
1382
 
1204
- - 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/badlogic/pi-mono/issues/827))
1205
- - Fixed extension shortcut conflicts to respect user keybindings when built-in actions are remapped. ([#826](https://github.com/badlogic/pi-mono/pull/826) by [@richardgill](https://github.com/richardgill))
1383
+ - 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))
1384
+ - 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))
1206
1385
  - Fixed photon WASM loading in standalone compiled binaries.
1207
- - Fixed tool call ID normalization for cross-provider handoffs (e.g., Codex to Antigravity Claude) ([#821](https://github.com/badlogic/pi-mono/issues/821))
1386
+ - Fixed tool call ID normalization for cross-provider handoffs (e.g., Codex to Antigravity Claude) ([#821](https://github.com/draht-dev/draht/issues/821))
1208
1387
 
1209
1388
  ## [0.49.0] - 2026-01-17
1210
1389
 
1211
1390
  ### Added
1212
1391
 
1213
- - `pi.setLabel(entryId, label)` in ExtensionAPI for setting per-entry labels from extensions ([#806](https://github.com/badlogic/pi-mono/issues/806))
1214
- - Export `keyHint`, `appKeyHint`, `editorKey`, `appKey`, `rawKeyHint` for extensions to format keybinding hints consistently ([#802](https://github.com/badlogic/pi-mono/pull/802) by [@dannote](https://github.com/dannote))
1215
- - Exported `VERSION` from the package index and updated the custom-header example. ([#798](https://github.com/badlogic/pi-mono/pull/798) by [@tallshort](https://github.com/tallshort))
1216
- - Added `showHardwareCursor` setting to control cursor visibility while still positioning it for IME support. ([#800](https://github.com/badlogic/pi-mono/pull/800) by [@ghoulr](https://github.com/ghoulr))
1217
- - 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/badlogic/pi-mono/pull/810) by [@Perlence](https://github.com/Perlence))
1392
+ - `pi.setLabel(entryId, label)` in ExtensionAPI for setting per-entry labels from extensions ([#806](https://github.com/draht-dev/draht/issues/806))
1393
+ - 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))
1394
+ - 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))
1395
+ - 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))
1396
+ - 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))
1218
1397
  - Added `ctx.compact()` and `ctx.getContextUsage()` to extension contexts for programmatic compaction and context usage checks.
1219
- - Added documentation for delete word forward and kill ring keybindings in interactive mode. ([#810](https://github.com/badlogic/pi-mono/pull/810) by [@Perlence](https://github.com/Perlence))
1398
+ - 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))
1220
1399
 
1221
1400
  ### Changed
1222
1401
 
@@ -1225,10 +1404,10 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
1225
1404
 
1226
1405
  ### Fixed
1227
1406
 
1228
- - Fixed photon module failing to load in ESM context with "require is not defined" error ([#795](https://github.com/badlogic/pi-mono/pull/795) by [@dannote](https://github.com/dannote))
1407
+ - 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))
1229
1408
  - Fixed compaction UI not showing when extensions trigger compaction.
1230
- - 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/badlogic/pi-mono/issues/812))
1231
- - Fixed Bedrock Claude max_tokens handling to always exceed thinking budget tokens, preventing compaction failures. ([#797](https://github.com/badlogic/pi-mono/pull/797) by [@pjtf93](https://github.com/pjtf93))
1409
+ - 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))
1410
+ - 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))
1232
1411
  - Fixed Claude Code tool name normalization to match the Claude Code tool list case-insensitively and remove invalid mappings.
1233
1412
 
1234
1413
  ### Removed
@@ -1239,28 +1418,28 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
1239
1418
 
1240
1419
  ### Added
1241
1420
 
1242
- - Added `quietStartup` setting to silence startup output (version header, loaded context info, model scope line). Changelog notifications are still shown. ([#777](https://github.com/badlogic/pi-mono/pull/777) by [@ribelo](https://github.com/ribelo))
1421
+ - 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))
1243
1422
  - Added `editorPaddingX` setting for horizontal padding in input editor (0-3, default: 0)
1244
- - 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/badlogic/pi-mono/pull/790) by [@richardgill](https://github.com/richardgill))
1245
- - Added bash-style argument slicing for prompt templates ([#770](https://github.com/badlogic/pi-mono/pull/770) by [@airtonix](https://github.com/airtonix))
1246
- - Extension commands can provide argument auto-completions via `getArgumentCompletions` in `pi.registerCommand()` ([#775](https://github.com/badlogic/pi-mono/pull/775) by [@ribelo](https://github.com/ribelo))
1247
- - Bash tool now displays the timeout value in the UI when a timeout is set ([#780](https://github.com/badlogic/pi-mono/pull/780) by [@dannote](https://github.com/dannote))
1248
- - Export `getShellConfig` for extensions to detect user's shell environment ([#766](https://github.com/badlogic/pi-mono/pull/766) by [@dannote](https://github.com/dannote))
1249
- - Added `thinkingText` and `selectedBg` to theme schema ([#763](https://github.com/badlogic/pi-mono/pull/763) by [@scutifer](https://github.com/scutifer))
1250
- - `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/badlogic/pi-mono/pull/787) by [@mitsuhiko](https://github.com/mitsuhiko))
1251
-
1252
- ### Fixed
1253
-
1254
- - Fixed crash during auto-compaction when summarization fails (e.g., quota exceeded). Now displays error message instead of crashing ([#792](https://github.com/badlogic/pi-mono/issues/792))
1255
- - Fixed `--session <UUID>` to search globally across projects if not found locally, with option to fork sessions from other projects ([#785](https://github.com/badlogic/pi-mono/pull/785) by [@ribelo](https://github.com/ribelo))
1256
- - Fixed standalone binary WASM loading on Linux ([#784](https://github.com/badlogic/pi-mono/issues/784))
1257
- - Fixed string numbers in tool arguments not being coerced to numbers during validation ([#786](https://github.com/badlogic/pi-mono/pull/786) by [@dannote](https://github.com/dannote))
1258
- - Fixed `--no-extensions` flag not preventing extension discovery ([#776](https://github.com/badlogic/pi-mono/issues/776))
1259
- - Fixed extension messages rendering twice on startup when `pi.sendMessage({ display: true })` is called during `session_start` ([#765](https://github.com/badlogic/pi-mono/pull/765) by [@dannote](https://github.com/dannote))
1260
- - Fixed `PI_CODING_AGENT_DIR` env var not expanding tilde (`~`) to home directory ([#778](https://github.com/badlogic/pi-mono/pull/778) by [@aliou](https://github.com/aliou))
1261
- - Fixed session picker hint text overflow ([#764](https://github.com/badlogic/pi-mono/issues/764))
1262
- - Fixed Kitty keyboard protocol shifted symbol keys (e.g., `@`, `?`) not working in editor ([#779](https://github.com/badlogic/pi-mono/pull/779) by [@iamd3vil](https://github.com/iamd3vil))
1263
- - Fixed Bedrock tool call IDs causing API errors from invalid characters ([#781](https://github.com/badlogic/pi-mono/pull/781) by [@pjtf93](https://github.com/pjtf93))
1423
+ - 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))
1424
+ - Added bash-style argument slicing for prompt templates ([#770](https://github.com/draht-dev/draht/pull/770) by [@airtonix](https://github.com/airtonix))
1425
+ - 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))
1426
+ - 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))
1427
+ - 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))
1428
+ - Added `thinkingText` and `selectedBg` to theme schema ([#763](https://github.com/draht-dev/draht/pull/763) by [@scutifer](https://github.com/scutifer))
1429
+ - `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))
1430
+
1431
+ ### Fixed
1432
+
1433
+ - 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))
1434
+ - 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))
1435
+ - Fixed standalone binary WASM loading on Linux ([#784](https://github.com/draht-dev/draht/issues/784))
1436
+ - 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))
1437
+ - Fixed `--no-extensions` flag not preventing extension discovery ([#776](https://github.com/draht-dev/draht/issues/776))
1438
+ - 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))
1439
+ - 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))
1440
+ - Fixed session picker hint text overflow ([#764](https://github.com/draht-dev/draht/issues/764))
1441
+ - 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))
1442
+ - 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))
1264
1443
 
1265
1444
  ### Changed
1266
1445
 
@@ -1270,16 +1449,16 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
1270
1449
 
1271
1450
  ### Breaking Changes
1272
1451
 
1273
- - 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/badlogic/pi-mono/issues/732))
1452
+ - 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))
1274
1453
 
1275
1454
  ### Added
1276
1455
 
1277
- - **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/badlogic/pi-mono/pull/737))
1456
+ - **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))
1278
1457
  - `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.
1279
- - 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/badlogic/pi-mono/pull/761) by [@nicobailon](https://github.com/nicobailon))
1280
- - Extension example: `input-transform.ts` demonstrating input interception patterns (quick mode, instant commands, source routing) ([#761](https://github.com/badlogic/pi-mono/pull/761) by [@nicobailon](https://github.com/nicobailon))
1281
- - 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/badlogic/pi-mono/pull/702) by [@aliou](https://github.com/aliou))
1282
- - 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/badlogic/pi-mono/pull/747) by [@kaofelix](https://github.com/kaofelix))
1458
+ - 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))
1459
+ - 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))
1460
+ - 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))
1461
+ - 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))
1283
1462
 
1284
1463
  ### Changed
1285
1464
 
@@ -1287,58 +1466,58 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
1287
1466
 
1288
1467
  ### Fixed
1289
1468
 
1290
- - 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/badlogic/pi-mono/issues/732))
1291
- - 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/badlogic/pi-mono/issues/708))
1292
- - 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/badlogic/pi-mono/pull/739) by [@w-winter](https://github.com/w-winter))
1293
- - Added `upstream connect`, `connection refused`, and `reset before headers` patterns to auto-retry error detection ([#733](https://github.com/badlogic/pi-mono/issues/733))
1294
- - Multi-line YAML frontmatter in skills and prompt templates now parses correctly. Centralized frontmatter parsing using the `yaml` library. ([#728](https://github.com/badlogic/pi-mono/pull/728) by [@richardgill](https://github.com/richardgill))
1295
- - `ctx.shutdown()` now waits for pending UI renders to complete before exiting, ensuring notifications and final output are visible ([#756](https://github.com/badlogic/pi-mono/issues/756))
1296
- - OpenAI Codex provider now retries on transient errors (429, 5xx, connection failures) with exponential backoff ([#733](https://github.com/badlogic/pi-mono/issues/733))
1469
+ - 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))
1470
+ - 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))
1471
+ - 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))
1472
+ - Added `upstream connect`, `connection refused`, and `reset before headers` patterns to auto-retry error detection ([#733](https://github.com/draht-dev/draht/issues/733))
1473
+ - 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))
1474
+ - `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))
1475
+ - OpenAI Codex provider now retries on transient errors (429, 5xx, connection failures) with exponential backoff ([#733](https://github.com/draht-dev/draht/issues/733))
1297
1476
 
1298
1477
  ## [0.46.0] - 2026-01-15
1299
1478
 
1300
1479
  ### Fixed
1301
1480
 
1302
- - 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/badlogic/pi-mono/pull/736) by [@ogulcancelik](https://github.com/ogulcancelik))
1303
- - Show `bun install` instead of `npm install` in update notification when running under Bun ([#714](https://github.com/badlogic/pi-mono/pull/714) by [@dannote](https://github.com/dannote))
1304
- - `/skill` prompts now include the skill path ([#711](https://github.com/badlogic/pi-mono/pull/711) by [@jblwilliams](https://github.com/jblwilliams))
1305
- - Use configurable `expandTools` keybinding instead of hardcoded Ctrl+O ([#717](https://github.com/badlogic/pi-mono/pull/717) by [@dannote](https://github.com/dannote))
1306
- - Compaction turn prefix summaries now merge correctly ([#738](https://github.com/badlogic/pi-mono/pull/738) by [@vsabavat](https://github.com/vsabavat))
1307
- - Avoid unsigned Gemini 3 tool calls ([#741](https://github.com/badlogic/pi-mono/pull/741) by [@roshanasingh4](https://github.com/roshanasingh4))
1308
- - Fixed signature support for non-Anthropic models in Amazon Bedrock provider ([#727](https://github.com/badlogic/pi-mono/pull/727) by [@unexge](https://github.com/unexge))
1309
- - 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/badlogic/pi-mono/pull/718) by [@dannote](https://github.com/dannote))
1481
+ - 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))
1482
+ - 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))
1483
+ - `/skill` prompts now include the skill path ([#711](https://github.com/draht-dev/draht/pull/711) by [@jblwilliams](https://github.com/jblwilliams))
1484
+ - Use configurable `expandTools` keybinding instead of hardcoded Ctrl+O ([#717](https://github.com/draht-dev/draht/pull/717) by [@dannote](https://github.com/dannote))
1485
+ - Compaction turn prefix summaries now merge correctly ([#738](https://github.com/draht-dev/draht/pull/738) by [@vsabavat](https://github.com/vsabavat))
1486
+ - Avoid unsigned Gemini 3 tool calls ([#741](https://github.com/draht-dev/draht/pull/741) by [@roshanasingh4](https://github.com/roshanasingh4))
1487
+ - 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))
1488
+ - 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))
1310
1489
 
1311
1490
  ### Added
1312
1491
 
1313
- - 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/badlogic/pi-mono/pull/713) by [@dannote](https://github.com/dannote))
1314
- - Support `APPEND_SYSTEM.md` to append instructions to the system prompt ([#716](https://github.com/badlogic/pi-mono/pull/716) by [@tallshort](https://github.com/tallshort))
1315
- - 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/badlogic/pi-mono/pull/731) by [@ogulcancelik](https://github.com/ogulcancelik))
1316
- - Export `getAgentDir` for extensions ([#749](https://github.com/badlogic/pi-mono/pull/749) by [@dannote](https://github.com/dannote))
1317
- - Show loaded prompt templates on startup ([#743](https://github.com/badlogic/pi-mono/pull/743) by [@tallshort](https://github.com/tallshort))
1318
- - MiniMax China (`minimax-cn`) provider support ([#725](https://github.com/badlogic/pi-mono/pull/725) by [@tallshort](https://github.com/tallshort))
1319
- - `gpt-5.2-codex` models for GitHub Copilot and OpenCode Zen providers ([#734](https://github.com/badlogic/pi-mono/pull/734) by [@aadishv](https://github.com/aadishv))
1492
+ - 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))
1493
+ - 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))
1494
+ - 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))
1495
+ - Export `getAgentDir` for extensions ([#749](https://github.com/draht-dev/draht/pull/749) by [@dannote](https://github.com/dannote))
1496
+ - Show loaded prompt templates on startup ([#743](https://github.com/draht-dev/draht/pull/743) by [@tallshort](https://github.com/tallshort))
1497
+ - MiniMax China (`minimax-cn`) provider support ([#725](https://github.com/draht-dev/draht/pull/725) by [@tallshort](https://github.com/tallshort))
1498
+ - `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))
1320
1499
 
1321
1500
  ### Changed
1322
1501
 
1323
- - Replaced `wasm-vips` with `@silvia-odwyer/photon-node` for image processing ([#710](https://github.com/badlogic/pi-mono/pull/710) by [@can1357](https://github.com/can1357))
1324
- - Extension example: `plan-mode/` shortcut changed from Shift+P to Ctrl+Alt+P to avoid conflict with typing capital P ([#746](https://github.com/badlogic/pi-mono/pull/746) by [@ferologics](https://github.com/ferologics))
1325
- - UI keybinding hints now respect configured keybindings across components ([#724](https://github.com/badlogic/pi-mono/pull/724) by [@dannote](https://github.com/dannote))
1326
- - CLI process title is now set to `pi` for easier process identification ([#742](https://github.com/badlogic/pi-mono/pull/742) by [@richardgill](https://github.com/richardgill))
1502
+ - 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))
1503
+ - 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))
1504
+ - UI keybinding hints now respect configured keybindings across components ([#724](https://github.com/draht-dev/draht/pull/724) by [@dannote](https://github.com/dannote))
1505
+ - 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))
1327
1506
 
1328
1507
  ## [0.45.7] - 2026-01-13
1329
1508
 
1330
1509
  ### Added
1331
1510
 
1332
- - Exported `highlightCode` and `getLanguageFromPath` for extensions ([#703](https://github.com/badlogic/pi-mono/pull/703) by [@dannote](https://github.com/dannote))
1511
+ - Exported `highlightCode` and `getLanguageFromPath` for extensions ([#703](https://github.com/draht-dev/draht/pull/703) by [@dannote](https://github.com/dannote))
1333
1512
 
1334
1513
  ## [0.45.6] - 2026-01-13
1335
1514
 
1336
1515
  ### Added
1337
1516
 
1338
- - `ctx.ui.custom()` now accepts `overlayOptions` for overlay positioning and sizing (anchor, margins, offsets, percentages, absolute positioning) ([#667](https://github.com/badlogic/pi-mono/pull/667) by [@nicobailon](https://github.com/nicobailon))
1339
- - `ctx.ui.custom()` now accepts `onHandle` callback to receive the `OverlayHandle` for controlling overlay visibility ([#667](https://github.com/badlogic/pi-mono/pull/667) by [@nicobailon](https://github.com/nicobailon))
1340
- - Extension example: `overlay-qa-tests.ts` with 10 commands for testing overlay positioning, animation, and toggle scenarios ([#667](https://github.com/badlogic/pi-mono/pull/667) by [@nicobailon](https://github.com/nicobailon))
1341
- - Extension example: `doom-overlay/` - DOOM game running as an overlay at 35 FPS (auto-downloads WAD on first run) ([#667](https://github.com/badlogic/pi-mono/pull/667) by [@nicobailon](https://github.com/nicobailon))
1517
+ - `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))
1518
+ - `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))
1519
+ - 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))
1520
+ - 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))
1342
1521
 
1343
1522
  ## [0.45.5] - 2026-01-13
1344
1523
 
@@ -1351,28 +1530,28 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
1351
1530
  ### Changed
1352
1531
 
1353
1532
  - Light theme colors adjusted for WCAG AA compliance (4.5:1 contrast ratio against white backgrounds)
1354
- - 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/badlogic/pi-mono/issues/696))
1533
+ - 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))
1355
1534
 
1356
1535
  ### Added
1357
1536
 
1358
- - Extension example: `summarize.ts` for summarizing conversations using custom UI and an external model ([#684](https://github.com/badlogic/pi-mono/pull/684) by [@scutifer](https://github.com/scutifer))
1359
- - Extension example: `question.ts` enhanced with custom UI for asking user questions ([#693](https://github.com/badlogic/pi-mono/pull/693) by [@ferologics](https://github.com/ferologics))
1360
- - Extension example: `plan-mode/` enhanced with explicit step tracking and progress widget ([#694](https://github.com/badlogic/pi-mono/pull/694) by [@ferologics](https://github.com/ferologics))
1361
- - Extension example: `questionnaire.ts` for multi-question input with tab bar navigation ([#695](https://github.com/badlogic/pi-mono/pull/695) by [@ferologics](https://github.com/ferologics))
1362
- - 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/badlogic/pi-mono/pull/689) by [@timolins](https://github.com/timolins))
1537
+ - 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))
1538
+ - 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))
1539
+ - 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))
1540
+ - 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))
1541
+ - 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))
1363
1542
 
1364
1543
  ### Fixed
1365
1544
 
1366
- - Fix API key resolution after model switches by using provider argument ([#691](https://github.com/badlogic/pi-mono/pull/691) by [@joshp123](https://github.com/joshp123))
1367
- - Fixed z.ai thinking/reasoning: thinking toggle now correctly enables/disables thinking for z.ai models ([#688](https://github.com/badlogic/pi-mono/issues/688))
1368
- - 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/badlogic/pi-mono/issues/681))
1369
- - 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/badlogic/pi-mono/issues/681))
1545
+ - 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))
1546
+ - 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))
1547
+ - 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))
1548
+ - 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))
1370
1549
 
1371
1550
  ## [0.45.2] - 2026-01-13
1372
1551
 
1373
1552
  ### Fixed
1374
1553
 
1375
- - Extensions now load correctly in compiled Bun binary using `@mariozechner/jiti` fork with `virtualModules` support. Bundled packages (`@sinclair/typebox`, `@mariozechner/pi-tui`, `@mariozechner/pi-ai`, `@mariozechner/pi-coding-agent`) are accessible to extensions without filesystem node_modules.
1554
+ - 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.
1376
1555
 
1377
1556
  ## [0.45.1] - 2026-01-13
1378
1557
 
@@ -1384,79 +1563,79 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
1384
1563
 
1385
1564
  ### Added
1386
1565
 
1387
- - MiniMax provider support: set `MINIMAX_API_KEY` and use `minimax/MiniMax-M2.1` ([#656](https://github.com/badlogic/pi-mono/pull/656) by [@dannote](https://github.com/dannote))
1388
- - `/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/badlogic/pi-mono/pull/676) by [@thomasmhr](https://github.com/thomasmhr))
1389
- - Amazon Bedrock provider support (experimental, tested with Anthropic Claude models only) ([#494](https://github.com/badlogic/pi-mono/pull/494) by [@unexge](https://github.com/unexge))
1390
- - Extension example: `sandbox/` for OS-level bash sandboxing using `@anthropic-ai/sandbox-runtime` with per-project config ([#673](https://github.com/badlogic/pi-mono/pull/673) by [@dannote](https://github.com/dannote))
1566
+ - 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))
1567
+ - `/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))
1568
+ - 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))
1569
+ - 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))
1391
1570
  - Print mode JSON output now emits the session header as the first line.
1392
1571
 
1393
1572
  ## [0.44.0] - 2026-01-12
1394
1573
 
1395
1574
  ### Breaking Changes
1396
1575
 
1397
- - `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/badlogic/pi-mono/pull/648) by [@carsonfarmer](https://github.com/carsonfarmer))
1576
+ - `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))
1398
1577
 
1399
1578
  ### Added
1400
1579
 
1401
- - 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/badlogic/pi-mono/pull/650) by [@scutifer](https://github.com/scutifer))
1402
- - Extension example: `notify.ts` for desktop notifications via OSC 777 escape sequence ([#658](https://github.com/badlogic/pi-mono/pull/658) by [@ferologics](https://github.com/ferologics))
1403
- - Inline hint for queued messages showing the `Alt+Up` restore shortcut ([#657](https://github.com/badlogic/pi-mono/pull/657) by [@tmustier](https://github.com/tmustier))
1404
- - Page-up/down navigation in `/resume` session selector to jump by 5 items ([#662](https://github.com/badlogic/pi-mono/pull/662) by [@aliou](https://github.com/aliou))
1405
- - Fuzzy search in `/settings` menu: type to filter settings by label ([#643](https://github.com/badlogic/pi-mono/pull/643) by [@ninlds](https://github.com/ninlds))
1580
+ - 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))
1581
+ - 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))
1582
+ - 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))
1583
+ - 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))
1584
+ - 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))
1406
1585
 
1407
1586
  ### Fixed
1408
1587
 
1409
- - Session selector now stays open when current folder has no sessions, allowing Tab to switch to "all" scope ([#661](https://github.com/badlogic/pi-mono/pull/661) by [@aliou](https://github.com/aliou))
1588
+ - 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))
1410
1589
  - Extensions using theme utilities like `getSettingsListTheme()` now work in dev mode with tsx
1411
1590
 
1412
1591
  ## [0.43.0] - 2026-01-11
1413
1592
 
1414
1593
  ### Breaking Changes
1415
1594
 
1416
- - 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/badlogic/pi-mono/pull/642) by [@mitsuhiko](https://github.com/mitsuhiko))
1417
- - Renamed `/branch` command to `/fork` ([#641](https://github.com/badlogic/pi-mono/issues/641))
1595
+ - 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))
1596
+ - Renamed `/branch` command to `/fork` ([#641](https://github.com/draht-dev/draht/issues/641))
1418
1597
  - RPC: `branch` → `fork`, `get_branch_messages` → `get_fork_messages`
1419
1598
  - SDK: `branch()` → `fork()`, `getBranchMessages()` → `getForkMessages()`
1420
1599
  - AgentSession: `branch()` → `fork()`, `getUserMessagesForBranching()` → `getUserMessagesForForking()`
1421
1600
  - Extension events: `session_before_branch` → `session_before_fork`, `session_branch` → `session_fork`
1422
1601
  - Settings: `doubleEscapeAction: "branch" | "tree"` → `"fork" | "tree"`
1423
- - `SessionManager.list()` and `SessionManager.listAll()` are now async, returning `Promise<SessionInfo[]>`. Callers must await them. ([#620](https://github.com/badlogic/pi-mono/pull/620) by [@tmustier](https://github.com/tmustier))
1602
+ - `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))
1424
1603
 
1425
1604
  ### Added
1426
- - `/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/badlogic/pi-mono/pull/620) by [@tmustier](https://github.com/tmustier))
1605
+ - `/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))
1427
1606
  - `SessionManager.list()` and `SessionManager.listAll()` accept optional `onProgress` callback for progress updates
1428
1607
  - `SessionInfo.cwd` field containing the session's working directory (empty string for old sessions)
1429
1608
  - `SessionListProgress` type export for progress callbacks
1430
- - `/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/badlogic/pi-mono/pull/626) by [@CarlosGtrz](https://github.com/CarlosGtrz))
1431
- - `model_select` extension hook fires when model changes via `/model`, model cycling, or session restore with `source` field and `previousModel` ([#628](https://github.com/badlogic/pi-mono/pull/628) by [@marckrenn](https://github.com/marckrenn))
1432
- - `ctx.ui.setWorkingMessage()` extension API to customize the "Working..." message during streaming ([#625](https://github.com/badlogic/pi-mono/pull/625) by [@nicobailon](https://github.com/nicobailon))
1433
- - 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/badlogic/pi-mono/pull/630) by [@Dwsy](https://github.com/Dwsy))
1609
+ - `/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))
1610
+ - `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))
1611
+ - `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))
1612
+ - 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))
1434
1613
  - Slash command autocomplete now uses fuzzy matching (type `/skbra` to match `/skill:brave-search`)
1435
- - `/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/badlogic/pi-mono/pull/642) by [@mitsuhiko](https://github.com/mitsuhiko))
1614
+ - `/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))
1436
1615
 
1437
1616
  ### Fixed
1438
1617
 
1439
- - Missing spacer between assistant message and text editor ([#655](https://github.com/badlogic/pi-mono/issues/655))
1440
- - Session picker respects custom keybindings when using `--resume` ([#633](https://github.com/badlogic/pi-mono/pull/633) by [@aos](https://github.com/aos))
1441
- - 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/badlogic/pi-mono/pull/634) by [@ogulcancelik](https://github.com/ogulcancelik))
1618
+ - Missing spacer between assistant message and text editor ([#655](https://github.com/draht-dev/draht/issues/655))
1619
+ - Session picker respects custom keybindings when using `--resume` ([#633](https://github.com/draht-dev/draht/pull/633) by [@aos](https://github.com/aos))
1620
+ - 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))
1442
1621
  - 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.
1443
- - Extension loading errors are now displayed to the user instead of being silently ignored ([#639](https://github.com/badlogic/pi-mono/pull/639) by [@aliou](https://github.com/aliou))
1622
+ - 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))
1444
1623
 
1445
1624
  ## [0.42.5] - 2026-01-11
1446
1625
 
1447
1626
  ### Fixed
1448
1627
 
1449
- - Reduced flicker by only re-rendering changed lines ([#617](https://github.com/badlogic/pi-mono/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.
1628
+ - 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.
1450
1629
  - Cursor position tracking when content shrinks with unchanged remaining lines
1451
- - TUI renders with wrong dimensions after suspend/resume if terminal was resized while suspended ([#599](https://github.com/badlogic/pi-mono/issues/599))
1452
- - Pasted content containing Kitty key release patterns (e.g., `:3F` in MAC addresses) was incorrectly filtered out ([#623](https://github.com/badlogic/pi-mono/pull/623) by [@ogulcancelik](https://github.com/ogulcancelik))
1630
+ - TUI renders with wrong dimensions after suspend/resume if terminal was resized while suspended ([#599](https://github.com/draht-dev/draht/issues/599))
1631
+ - 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))
1453
1632
 
1454
1633
  ## [0.42.4] - 2026-01-10
1455
1634
 
1456
1635
  ### Fixed
1457
1636
 
1458
- - Bash output expanded hint now says "(ctrl+o to collapse)" ([#610](https://github.com/badlogic/pi-mono/pull/610) by [@tallshort](https://github.com/tallshort))
1459
- - Fixed UTF-8 text corruption in remote bash execution (SSH, containers) by using streaming TextDecoder ([#608](https://github.com/badlogic/pi-mono/issues/608))
1637
+ - 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))
1638
+ - Fixed UTF-8 text corruption in remote bash execution (SSH, containers) by using streaming TextDecoder ([#608](https://github.com/draht-dev/draht/issues/608))
1460
1639
 
1461
1640
  ## [0.42.3] - 2026-01-10
1462
1641
 
@@ -1468,19 +1647,19 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
1468
1647
 
1469
1648
  ### Added
1470
1649
 
1471
- - `/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/badlogic/pi-mono/pull/587) by [@zedrdave](https://github.com/zedrdave))
1472
- - `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/badlogic/pi-mono/pull/600) by [@nicobailon](https://github.com/nicobailon))
1473
- - `Alt+Up` hotkey to restore queued steering/follow-up messages back into the editor without aborting the current run ([#604](https://github.com/badlogic/pi-mono/pull/604) by [@tmustier](https://github.com/tmustier))
1650
+ - `/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))
1651
+ - `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))
1652
+ - `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))
1474
1653
 
1475
1654
  ### Fixed
1476
1655
 
1477
- - Fixed LM Studio compatibility for OpenAI Responses tool strict mapping in the ai provider ([#598](https://github.com/badlogic/pi-mono/pull/598) by [@gnattu](https://github.com/gnattu))
1656
+ - 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))
1478
1657
 
1479
1658
  ## [0.42.1] - 2026-01-09
1480
1659
 
1481
1660
  ### Fixed
1482
1661
 
1483
- - Symlinked directories in `prompts/` folders are now followed when loading prompt templates ([#601](https://github.com/badlogic/pi-mono/pull/601) by [@aliou](https://github.com/aliou))
1662
+ - 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))
1484
1663
 
1485
1664
  ## [0.42.0] - 2026-01-09
1486
1665
 
@@ -1521,32 +1700,32 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
1521
1700
 
1522
1701
  ### Breaking Changes
1523
1702
 
1524
- - `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/badlogic/pi-mono/issues/575))
1525
- - `discoverSkills()` now returns `{ skills: Skill[], warnings: SkillWarning[] }` instead of `Skill[]`. This allows callers to handle skill loading warnings. ([#577](https://github.com/badlogic/pi-mono/pull/577) by [@cv](https://github.com/cv))
1703
+ - `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))
1704
+ - `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))
1526
1705
 
1527
1706
  ### Added
1528
1707
 
1529
- - `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/badlogic/pi-mono/pull/576))
1530
- - `--no-tools` flag to disable all built-in tools, allowing extension-only tool setups ([#557](https://github.com/badlogic/pi-mono/pull/557) by [@cv](https://github.com/cv))
1531
- - Pluggable operations for built-in tools enabling remote execution via SSH or other transports ([#564](https://github.com/badlogic/pi-mono/issues/564)). Interfaces: `ReadOperations`, `WriteOperations`, `EditOperations`, `BashOperations`, `LsOperations`, `GrepOperations`, `FindOperations`
1532
- - `user_bash` event for intercepting user `!`/`!!` commands, allowing extensions to redirect to remote systems ([#528](https://github.com/badlogic/pi-mono/issues/528))
1708
+ - `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))
1709
+ - `--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))
1710
+ - 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`
1711
+ - `user_bash` event for intercepting user `!`/`!!` commands, allowing extensions to redirect to remote systems ([#528](https://github.com/draht-dev/draht/issues/528))
1533
1712
  - `setActiveTools()` in ExtensionAPI for dynamic tool management
1534
1713
  - Built-in renderers used automatically for tool overrides without custom `renderCall`/`renderResult`
1535
1714
  - `ssh.ts` example: remote tool execution via `--ssh user@host:/path`
1536
1715
  - `interactive-shell.ts` example: run interactive commands (vim, git rebase, htop) with full terminal access via `!i` prefix or auto-detection
1537
- - Wayland clipboard support for `/copy` command using wl-copy with xclip/xsel fallback ([#570](https://github.com/badlogic/pi-mono/pull/570) by [@OgulcanCelik](https://github.com/OgulcanCelik))
1538
- - **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/badlogic/pi-mono/pull/558) by [@nicobailon](https://github.com/nicobailon))
1539
- - `AgentSession.skills` and `AgentSession.skillWarnings` properties to access loaded skills without rediscovery ([#577](https://github.com/badlogic/pi-mono/pull/577) by [@cv](https://github.com/cv))
1716
+ - 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))
1717
+ - **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))
1718
+ - `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))
1540
1719
 
1541
1720
  ### Fixed
1542
1721
 
1543
- - 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/badlogic/pi-mono/issues/543))
1544
- - Update notification for bun binary installs now shows release download URL instead of npm command ([#567](https://github.com/badlogic/pi-mono/pull/567) by [@ferologics](https://github.com/ferologics))
1545
- - ESC key now works during "Working..." state after auto-retry ([#568](https://github.com/badlogic/pi-mono/pull/568) by [@tmustier](https://github.com/tmustier))
1546
- - Abort messages now show correct retry attempt count (e.g., "Aborted after 2 retry attempts") ([#568](https://github.com/badlogic/pi-mono/pull/568) by [@tmustier](https://github.com/tmustier))
1547
- - Fixed Antigravity provider returning 429 errors despite available quota ([#571](https://github.com/badlogic/pi-mono/pull/571) by [@ben-vargas](https://github.com/ben-vargas))
1548
- - 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/badlogic/pi-mono/issues/561))
1549
- - `--no-skills` flag now correctly prevents skills from loading in interactive mode ([#577](https://github.com/badlogic/pi-mono/pull/577) by [@cv](https://github.com/cv))
1722
+ - 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))
1723
+ - 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))
1724
+ - 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))
1725
+ - 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))
1726
+ - 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))
1727
+ - 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))
1728
+ - `--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))
1550
1729
 
1551
1730
  ## [0.38.0] - 2026-01-08
1552
1731
 
@@ -1558,44 +1737,44 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
1558
1737
  - `ExtensionRunner` constructor now requires `runtime: ExtensionRuntime` as second parameter
1559
1738
  - `ExtensionRunner.initialize()` signature changed from options object to positional params `(actions, contextActions, commandContextActions?, uiContext?)`
1560
1739
  - `ExtensionRunner.getHasUI()` renamed to `hasUI()`
1561
- - 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/badlogic/pi-mono/pull/536) by [@ghoulr](https://github.com/ghoulr))
1740
+ - 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))
1562
1741
 
1563
1742
  ### Added
1564
1743
 
1565
- - `--no-extensions` flag to disable extension discovery while still allowing explicit `-e` paths ([#524](https://github.com/badlogic/pi-mono/pull/524) by [@cv](https://github.com/cv))
1744
+ - `--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))
1566
1745
  - SDK: `InteractiveMode`, `runPrintMode()`, `runRpcMode()` exported for building custom run modes. See `docs/sdk.md`.
1567
- - `PI_SKIP_VERSION_CHECK` environment variable to disable new version notifications at startup ([#549](https://github.com/badlogic/pi-mono/pull/549) by [@aos](https://github.com/aos))
1568
- - `thinkingBudgets` setting to customize token budgets per thinking level for token-based providers ([#529](https://github.com/badlogic/pi-mono/pull/529) by [@melihmucuk](https://github.com/melihmucuk))
1569
- - 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/badlogic/pi-mono/pull/522) by [@nicobailon](https://github.com/nicobailon))
1746
+ - `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))
1747
+ - `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))
1748
+ - 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))
1570
1749
  - Extensions can now provide custom editor components via `ctx.ui.setEditorComponent()`. See `examples/extensions/modal-editor.ts` and `docs/tui.md` Pattern 7.
1571
- - Extension factories can now be async, enabling dynamic imports and lazy-loaded dependencies ([#513](https://github.com/badlogic/pi-mono/pull/513) by [@austinm911](https://github.com/austinm911))
1572
- - `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/badlogic/pi-mono/pull/542) by [@kaofelix](https://github.com/kaofelix))
1750
+ - 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))
1751
+ - `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))
1573
1752
 
1574
1753
  ### Fixed
1575
1754
 
1576
- - Default thinking level from settings now applies correctly when `enabledModels` is configured ([#540](https://github.com/badlogic/pi-mono/pull/540) by [@ferologics](https://github.com/ferologics))
1577
- - External edits to `settings.json` while pi is running are now preserved when pi saves settings ([#527](https://github.com/badlogic/pi-mono/pull/527) by [@ferologics](https://github.com/ferologics))
1578
- - Overflow-based compaction now skips if error came from a different model or was already handled by a previous compaction ([#535](https://github.com/badlogic/pi-mono/pull/535) by [@mitsuhiko](https://github.com/mitsuhiko))
1579
- - OpenAI Codex context window reduced from 400k to 272k tokens to match Codex CLI defaults and prevent 400 errors ([#536](https://github.com/badlogic/pi-mono/pull/536) by [@ghoulr](https://github.com/ghoulr))
1755
+ - 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))
1756
+ - 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))
1757
+ - 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))
1758
+ - 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))
1580
1759
  - Context overflow detection now recognizes `context_length_exceeded` errors.
1581
- - Key presses no longer dropped when input is batched over SSH ([#538](https://github.com/badlogic/pi-mono/issues/538))
1582
- - Clipboard image support now works on Alpine Linux and other musl-based distros ([#533](https://github.com/badlogic/pi-mono/issues/533))
1760
+ - Key presses no longer dropped when input is batched over SSH ([#538](https://github.com/draht-dev/draht/issues/538))
1761
+ - Clipboard image support now works on Alpine Linux and other musl-based distros ([#533](https://github.com/draht-dev/draht/issues/533))
1583
1762
 
1584
1763
  ## [0.37.6] - 2026-01-06
1585
1764
 
1586
1765
  ### Added
1587
1766
 
1588
- - 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/badlogic/pi-mono/issues/474))
1589
- - HTML export now shows bridge prompts in model change messages for Codex sessions ([#510](https://github.com/badlogic/pi-mono/pull/510) by [@mitsuhiko](https://github.com/mitsuhiko))
1767
+ - 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))
1768
+ - 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))
1590
1769
 
1591
1770
  ## [0.37.5] - 2026-01-06
1592
1771
 
1593
1772
  ### Added
1594
1773
 
1595
- - ExtensionAPI: `setModel()`, `getThinkingLevel()`, `setThinkingLevel()` methods for extensions to change model and thinking level at runtime ([#509](https://github.com/badlogic/pi-mono/issues/509))
1774
+ - ExtensionAPI: `setModel()`, `getThinkingLevel()`, `setThinkingLevel()` methods for extensions to change model and thinking level at runtime ([#509](https://github.com/draht-dev/draht/issues/509))
1596
1775
  - Exported truncation utilities for custom tools: `truncateHead`, `truncateTail`, `truncateLine`, `formatSize`, `DEFAULT_MAX_BYTES`, `DEFAULT_MAX_LINES`, `TruncationOptions`, `TruncationResult`
1597
1776
  - New example `truncated-tool.ts` demonstrating proper output truncation with custom rendering for extensions
1598
- - New example `preset.ts` demonstrating preset configurations with model/thinking/tools switching ([#347](https://github.com/badlogic/pi-mono/issues/347))
1777
+ - New example `preset.ts` demonstrating preset configurations with model/thinking/tools switching ([#347](https://github.com/draht-dev/draht/issues/347))
1599
1778
  - Documentation for output truncation best practices in `docs/extensions.md`
1600
1779
  - 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`
1601
1780
  - `docs/tui.md`: Common Patterns section with copy-paste code for SelectList, BorderedLoader, SettingsList, setStatus, setWidget, setFooter
@@ -1607,8 +1786,8 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
1607
1786
 
1608
1787
  ### Added
1609
1788
 
1610
- - Session picker (`pi -r`) and `--session` flag now support searching/resuming by session ID (UUID prefix) ([#495](https://github.com/badlogic/pi-mono/issues/495) by [@arunsathiya](https://github.com/arunsathiya))
1611
- - Extensions can now replace the startup header with `ctx.ui.setHeader()`, see `examples/extensions/custom-header.ts` ([#500](https://github.com/badlogic/pi-mono/pull/500) by [@tudoroancea](https://github.com/tudoroancea))
1789
+ - 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))
1790
+ - 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))
1612
1791
 
1613
1792
  ### Changed
1614
1793
 
@@ -1617,31 +1796,31 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
1617
1796
 
1618
1797
  ### Fixed
1619
1798
 
1620
- - Queued steering/follow-up messages no longer wipe unsent editor input ([#503](https://github.com/badlogic/pi-mono/pull/503) by [@tmustier](https://github.com/tmustier))
1621
- - OAuth token refresh failure no longer crashes app at startup, allowing user to `/login` to re-authenticate ([#498](https://github.com/badlogic/pi-mono/issues/498))
1799
+ - 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))
1800
+ - 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))
1622
1801
 
1623
1802
  ## [0.37.3] - 2026-01-06
1624
1803
 
1625
1804
  ### Added
1626
1805
 
1627
- - Extensions can now replace the footer with `ctx.ui.setFooter()`, see `examples/extensions/custom-footer.ts` ([#481](https://github.com/badlogic/pi-mono/issues/481))
1806
+ - 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))
1628
1807
  - Session ID is now forwarded to LLM providers for session-based caching (used by OpenAI Codex for prompt caching).
1629
- - Added `blockImages` setting to prevent images from being sent to LLM providers ([#492](https://github.com/badlogic/pi-mono/pull/492) by [@jsinge97](https://github.com/jsinge97))
1630
- - Extensions can now send user messages via `pi.sendUserMessage()` ([#483](https://github.com/badlogic/pi-mono/issues/483))
1808
+ - 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))
1809
+ - Extensions can now send user messages via `pi.sendUserMessage()` ([#483](https://github.com/draht-dev/draht/issues/483))
1631
1810
 
1632
1811
  ### Fixed
1633
1812
 
1634
1813
  - Add `minimatch` as a direct dependency for explicit imports.
1635
- - Status bar now shows correct git branch when running in a git worktree ([#490](https://github.com/badlogic/pi-mono/pull/490) by [@kcosr](https://github.com/kcosr))
1636
- - Interactive mode: Ctrl+V clipboard image paste now works on Wayland sessions by using `wl-paste` with `xclip` fallback ([#488](https://github.com/badlogic/pi-mono/pull/488) by [@ghoulr](https://github.com/ghoulr))
1814
+ - 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))
1815
+ - 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))
1637
1816
 
1638
1817
  ## [0.37.2] - 2026-01-05
1639
1818
 
1640
1819
  ### Fixed
1641
1820
 
1642
- - Extension directories in `settings.json` now respect `package.json` manifests, matching global extension behavior ([#480](https://github.com/badlogic/pi-mono/pull/480) by [@prateekmedia](https://github.com/prateekmedia))
1821
+ - 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))
1643
1822
  - Share viewer: deep links now scroll to the target message when opened via `/share`
1644
- - Bash tool now handles spawn errors gracefully instead of crashing the agent (missing cwd, invalid shell path) ([#479](https://github.com/badlogic/pi-mono/pull/479) by [@robinwander](https://github.com/robinwander))
1823
+ - 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))
1645
1824
 
1646
1825
  ## [0.37.1] - 2026-01-05
1647
1826
 
@@ -1653,35 +1832,35 @@ There are multiple SDK breaking changes since v0.49.3. For the quickest migratio
1653
1832
 
1654
1833
  ### Added
1655
1834
 
1656
- - Share viewer: copy-link button on messages to share URLs that navigate directly to a specific message ([#477](https://github.com/badlogic/pi-mono/pull/477) by [@lockmeister](https://github.com/lockmeister))
1657
- - Extension example: add `claude-rules` to load `.claude/rules/` entries into the system prompt ([#461](https://github.com/badlogic/pi-mono/pull/461) by [@vaayne](https://github.com/vaayne))
1658
- - Headless OAuth login: all providers now show paste input for manual URL/code entry, works over SSH without DISPLAY ([#428](https://github.com/badlogic/pi-mono/pull/428) by [@ben-vargas](https://github.com/ben-vargas), [#468](https://github.com/badlogic/pi-mono/pull/468) by [@crcatala](https://github.com/crcatala))
1835
+ - 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))
1836
+ - 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))
1837
+ - 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))
1659
1838
 
1660
1839
  ### Changed
1661
1840
 
1662
1841
  - OAuth login UI now uses dedicated dialog component with consistent borders
1663
1842
  - Assume truecolor support for all terminals except `dumb`, empty, or `linux` (fixes colors over SSH)
1664
- - 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/badlogic/pi-mono/pull/472) by [@ben-vargas](https://github.com/ben-vargas))
1843
+ - 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))
1665
1844
 
1666
1845
  ### Fixed
1667
1846
 
1668
- - 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/badlogic/pi-mono/pull/476) by [@tmustier](https://github.com/tmustier))
1669
- - Managed binaries (`fd`, `rg`) now stored in `~/.pi/agent/bin/` instead of `tools/`, eliminating false deprecation warnings ([#470](https://github.com/badlogic/pi-mono/pull/470) by [@mcinteerj](https://github.com/mcinteerj))
1670
- - Extensions defined in `settings.json` were not loaded ([#463](https://github.com/badlogic/pi-mono/pull/463) by [@melihmucuk](https://github.com/melihmucuk))
1671
- - OAuth refresh no longer logs users out when multiple pi instances are running ([#466](https://github.com/badlogic/pi-mono/pull/466) by [@Cursivez](https://github.com/Cursivez))
1672
- - Migration warnings now ignore `fd.exe` and `rg.exe` in `tools/` on Windows ([#458](https://github.com/badlogic/pi-mono/pull/458) by [@carlosgtrz](https://github.com/carlosgtrz))
1673
- - CI: add `examples/extensions/with-deps` to workspaces to fix typecheck ([#467](https://github.com/badlogic/pi-mono/pull/467) by [@aliou](https://github.com/aliou))
1674
- - SDK: passing `extensions: []` now disables extension discovery as documented ([#465](https://github.com/badlogic/pi-mono/pull/465) by [@aliou](https://github.com/aliou))
1847
+ - 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))
1848
+ - 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))
1849
+ - Extensions defined in `settings.json` were not loaded ([#463](https://github.com/draht-dev/draht/pull/463) by [@melihmucuk](https://github.com/melihmucuk))
1850
+ - 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))
1851
+ - 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))
1852
+ - 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))
1853
+ - SDK: passing `extensions: []` now disables extension discovery as documented ([#465](https://github.com/draht-dev/draht/pull/465) by [@aliou](https://github.com/aliou))
1675
1854
 
1676
1855
  ## [0.36.0] - 2026-01-05
1677
1856
 
1678
1857
  ### Added
1679
1858
 
1680
- - Experimental: OpenAI Codex OAuth provider support: access Codex models via ChatGPT Plus/Pro subscription using `/login openai-codex` ([#451](https://github.com/badlogic/pi-mono/pull/451) by [@kim0](https://github.com/kim0))
1859
+ - 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))
1681
1860
 
1682
1861
  ## [0.35.0] - 2026-01-05
1683
1862
 
1684
- This release unifies hooks and custom tools into a single "extensions" system and renames "slash commands" to "prompt templates". ([#454](https://github.com/badlogic/pi-mono/issues/454))
1863
+ 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))
1685
1864
 
1686
1865
  **Before migrating, read:**
1687
1866
 
@@ -1717,14 +1896,14 @@ Hooks and custom tools are now unified as **extensions**. Both were TypeScript m
1717
1896
 
1718
1897
  1. **Direct files:** `extensions/*.ts` or `*.js` → loaded directly
1719
1898
  2. **Subdirectory with index:** `extensions/myext/index.ts` → loaded as single extension
1720
- 3. **Subdirectory with package.json:** `extensions/myext/package.json` with `"pi"` field → loads declared paths
1899
+ 3. **Subdirectory with package.json:** `extensions/myext/package.json` with `"draht"` field → loads declared paths
1721
1900
 
1722
1901
  ```json
1723
1902
  // extensions/my-package/package.json
1724
1903
  {
1725
1904
  "name": "my-extension-package",
1726
1905
  "dependencies": { "zod": "^3.0.0" },
1727
- "pi": {
1906
+ "draht": {
1728
1907
  "extensions": ["./src/main.ts", "./src/tools.ts"]
1729
1908
  }
1730
1909
  }
@@ -1749,16 +1928,16 @@ No recursion beyond one level. Complex packages must use the `package.json` mani
1749
1928
 
1750
1929
  ```typescript
1751
1930
  // Before (hook)
1752
- import type { HookAPI, HookContext } from "@mariozechner/pi-coding-agent";
1931
+ import type { HookAPI, HookContext } from "@draht/coding-agent";
1753
1932
  export default function (pi: HookAPI) { ... }
1754
1933
 
1755
1934
  // Before (custom tool)
1756
- import type { CustomToolFactory } from "@mariozechner/pi-coding-agent";
1935
+ import type { CustomToolFactory } from "@draht/coding-agent";
1757
1936
  const factory: CustomToolFactory = (pi) => ({ name: "my_tool", ... });
1758
1937
  export default factory;
1759
1938
 
1760
1939
  // After (both are now extensions)
1761
- import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
1940
+ import type { ExtensionAPI } from "@draht/coding-agent";
1762
1941
  export default function (pi: ExtensionAPI) {
1763
1942
  pi.on("tool_call", async (event, ctx) => { ... });
1764
1943
  pi.registerTool({ name: "my_tool", ... });
@@ -1902,11 +2081,11 @@ pi --extension ./safety.ts -e ./todo.ts
1902
2081
 
1903
2082
  ### Added
1904
2083
 
1905
- - Hook API: `ctx.ui.setTitle(title)` allows hooks to set the terminal window/tab title ([#446](https://github.com/badlogic/pi-mono/pull/446) by [@aliou](https://github.com/aliou))
2084
+ - 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))
1906
2085
 
1907
2086
  ### Changed
1908
2087
 
1909
- - Expanded keybinding documentation to list all 32 supported symbol keys with notes on ctrl+symbol behavior ([#450](https://github.com/badlogic/pi-mono/pull/450) by [@kaofelix](https://github.com/kaofelix))
2088
+ - 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))
1910
2089
 
1911
2090
  ## [0.34.0] - 2026-01-04
1912
2091
 
@@ -1943,28 +2122,28 @@ pi --extension ./safety.ts -e ./todo.ts
1943
2122
 
1944
2123
  ### Changed
1945
2124
 
1946
- - Removed image placeholders after copy & paste, replaced with inserting image file paths directly. ([#442](https://github.com/badlogic/pi-mono/pull/442) by [@mitsuhiko](https://github.com/mitsuhiko))
2125
+ - 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))
1947
2126
 
1948
2127
  ### Fixed
1949
2128
 
1950
2129
  - Fixed potential text decoding issues in bash executor by using streaming TextDecoder instead of Buffer.toString()
1951
- - External editor (Ctrl-G) now shows full pasted content instead of `[paste #N ...]` placeholders ([#444](https://github.com/badlogic/pi-mono/pull/444) by [@aliou](https://github.com/aliou))
2130
+ - 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))
1952
2131
 
1953
2132
  ## [0.33.0] - 2026-01-04
1954
2133
 
1955
2134
  ### Breaking Changes
1956
2135
 
1957
- - **Key detection functions removed from `@mariozechner/pi-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/badlogic/pi-mono/pull/405))
2136
+ - **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))
1958
2137
 
1959
2138
  ### Added
1960
2139
 
1961
- - 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/badlogic/pi-mono/issues/419))
1962
- - 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/badlogic/pi-mono/pull/405) by [@hjanuschka](https://github.com/hjanuschka))
1963
- - `/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/badlogic/pi-mono/pull/426) by [@ben-vargas](https://github.com/ben-vargas))
2140
+ - 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))
2141
+ - 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))
2142
+ - `/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))
1964
2143
 
1965
2144
  ### Fixed
1966
2145
 
1967
- - Subagent example README referenced incorrect filename `subagent.ts` instead of `index.ts` ([#427](https://github.com/badlogic/pi-mono/pull/427) by [@Whamp](https://github.com/Whamp))
2146
+ - 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))
1968
2147
 
1969
2148
  ## [0.32.3] - 2026-01-03
1970
2149
 
@@ -1972,14 +2151,14 @@ pi --extension ./safety.ts -e ./todo.ts
1972
2151
 
1973
2152
  - `--list-models` no longer shows Google Vertex AI models without explicit authentication configured
1974
2153
  - 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.
1975
- - Version check URL typo preventing update notifications from working ([#423](https://github.com/badlogic/pi-mono/pull/423) by [@skuridin](https://github.com/skuridin))
1976
- - Large images exceeding Anthropic's 5MB limit now retry with progressive quality/size reduction ([#424](https://github.com/badlogic/pi-mono/pull/424) by [@mitsuhiko](https://github.com/mitsuhiko))
2154
+ - Version check URL typo preventing update notifications from working ([#423](https://github.com/draht-dev/draht/pull/423) by [@skuridin](https://github.com/skuridin))
2155
+ - 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))
1977
2156
 
1978
2157
  ## [0.32.2] - 2026-01-03
1979
2158
 
1980
2159
  ### Added
1981
2160
 
1982
- - `$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/badlogic/pi-mono/pull/418) by [@skuridin](https://github.com/skuridin))
2161
+ - `$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))
1983
2162
 
1984
2163
  ### Changed
1985
2164
 
@@ -1989,17 +2168,17 @@ pi --extension ./safety.ts -e ./todo.ts
1989
2168
  - `steer()` and `followUp()` now expand file-based slash commands and error on hook commands (hook commands cannot be queued)
1990
2169
  - `prompt()` accepts new `streamingBehavior` option (`"steer"` or `"followUp"`) to specify queueing behavior during streaming
1991
2170
  - RPC `prompt` command now accepts optional `streamingBehavior` field
1992
- ([#420](https://github.com/badlogic/pi-mono/issues/420))
2171
+ ([#420](https://github.com/draht-dev/draht/issues/420))
1993
2172
 
1994
2173
  ### Fixed
1995
2174
 
1996
- - 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/badlogic/pi-mono/pull/418) by [@skuridin](https://github.com/skuridin))
2175
+ - 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))
1997
2176
 
1998
2177
  ## [0.32.1] - 2026-01-03
1999
2178
 
2000
2179
  ### Added
2001
2180
 
2002
- - 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/badlogic/pi-mono/issues/414))
2181
+ - 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))
2003
2182
 
2004
2183
  ### Fixed
2005
2184
 
@@ -2009,7 +2188,7 @@ pi --extension ./safety.ts -e ./todo.ts
2009
2188
 
2010
2189
  ### Breaking Changes
2011
2190
 
2012
- - **Queue API replaced with steer/followUp**: The `queueMessage()` method has been split into two methods with different delivery semantics ([#403](https://github.com/badlogic/pi-mono/issues/403)):
2191
+ - **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)):
2013
2192
  - `steer(text)`: Interrupts the agent mid-run (Enter while streaming). Delivered after current tool execution.
2014
2193
  - `followUp(text)`: Waits until the agent finishes (Alt+Enter while streaming). Delivered only when agent stops.
2015
2194
  - **Settings renamed**: `queueMode` setting renamed to `steeringMode`. Added new `followUpMode` setting. Old settings.json files are migrated automatically.
@@ -2030,31 +2209,31 @@ pi --extension ./safety.ts -e ./todo.ts
2030
2209
 
2031
2210
  ### Added
2032
2211
 
2033
- - 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/badlogic/pi-mono/issues/404))
2034
- - Vertex AI provider (`google-vertex`): access Gemini models via Google Cloud Vertex AI using Application Default Credentials ([#300](https://github.com/badlogic/pi-mono/pull/300) by [@default-anton](https://github.com/default-anton))
2035
- - 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/badlogic/pi-mono/pull/406) by [@yevhen](https://github.com/yevhen))
2036
- - 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/badlogic/pi-mono/pull/402) by [@mitsuhiko](https://github.com/mitsuhiko))
2212
+ - 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))
2213
+ - 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))
2214
+ - 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))
2215
+ - 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))
2037
2216
  - Alt+Enter keybind to queue follow-up messages while agent is streaming
2038
2217
  - `Theme` and `ThemeColor` types now exported for hooks using `ctx.ui.custom()`
2039
- - Terminal window title now displays "pi - dirname" to identify which project session you're in ([#407](https://github.com/badlogic/pi-mono/pull/407) by [@kaofelix](https://github.com/kaofelix))
2218
+ - 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))
2040
2219
 
2041
2220
  ### Changed
2042
2221
 
2043
- - Editor component now uses word wrapping instead of character-level wrapping for better readability ([#382](https://github.com/badlogic/pi-mono/pull/382) by [@nickseelert](https://github.com/nickseelert))
2222
+ - 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))
2044
2223
 
2045
2224
  ### Fixed
2046
2225
 
2047
2226
  - `/model` selector now opens instantly instead of waiting for OAuth token refresh. Token refresh is deferred until a model is actually used.
2048
- - 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/badlogic/pi-mono/pull/411) by [@nathyong](https://github.com/nathyong))
2227
+ - 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))
2049
2228
  - `AgentSession.prompt()` now throws if called while the agent is already streaming, preventing race conditions. Use `steer()` or `followUp()` to queue messages during streaming.
2050
- - Ctrl+C now works like Escape in selector components, so mashing Ctrl+C will eventually close the program ([#400](https://github.com/badlogic/pi-mono/pull/400) by [@mitsuhiko](https://github.com/mitsuhiko))
2229
+ - 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))
2051
2230
 
2052
2231
  ## [0.31.1] - 2026-01-02
2053
2232
 
2054
2233
  ### Fixed
2055
2234
 
2056
- - Model selector no longer allows negative index when pressing arrow keys before models finish loading ([#398](https://github.com/badlogic/pi-mono/pull/398) by [@mitsuhiko](https://github.com/mitsuhiko))
2057
- - Type guard functions (`isBashToolResult`, etc.) now exported at runtime, not just in type declarations ([#397](https://github.com/badlogic/pi-mono/issues/397))
2235
+ - 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))
2236
+ - Type guard functions (`isBashToolResult`, etc.) now exported at runtime, not just in type declarations ([#397](https://github.com/draht-dev/draht/issues/397))
2058
2237
 
2059
2238
  ## [0.31.0] - 2026-01-02
2060
2239
 
@@ -2163,7 +2342,7 @@ See [docs/custom-tools.md](docs/custom-tools.md) and [examples/custom-tools/](ex
2163
2342
  - `AppMessage` → `AgentMessage`
2164
2343
  - `sessionFile` returns `string | undefined` (was `string | null`)
2165
2344
  - `model` returns `Model | undefined` (was `Model | null`)
2166
- - `Attachment` type removed. Use `ImageContent` from `@mariozechner/pi-ai` instead. Add images directly to message content arrays.
2345
+ - `Attachment` type removed. Use `ImageContent` from `@draht/ai` instead. Add images directly to message content arrays.
2167
2346
 
2168
2347
  **AgentSession API:**
2169
2348
 
@@ -2199,7 +2378,7 @@ See [docs/custom-tools.md](docs/custom-tools.md) and [examples/custom-tools/](ex
2199
2378
  import {
2200
2379
  discoverAuthStorage,
2201
2380
  discoverModels,
2202
- } from "@mariozechner/pi-coding-agent";
2381
+ } from "@draht/coding-agent";
2203
2382
 
2204
2383
  const authStorage = discoverAuthStorage(); // ~/.pi/agent/auth.json
2205
2384
  const modelRegistry = discoverModels(authStorage); // + ~/.pi/agent/models.json
@@ -2292,15 +2471,15 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2292
2471
 
2293
2472
  ### Added
2294
2473
 
2295
- - `ctx.ui.setStatus(key, text)` for hooks to display persistent status text in the footer ([#385](https://github.com/badlogic/pi-mono/pull/385) by [@prateekmedia](https://github.com/prateekmedia))
2474
+ - `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))
2296
2475
  - `ctx.ui.theme` getter for styling status text and other output with theme colors
2297
- - `/share` command to upload session as a secret GitHub gist and get a shareable URL via shittycodingagent.ai ([#380](https://github.com/badlogic/pi-mono/issues/380))
2298
- - HTML export now includes a tree visualization sidebar for navigating session branches ([#375](https://github.com/badlogic/pi-mono/issues/375))
2476
+ - `/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))
2477
+ - HTML export now includes a tree visualization sidebar for navigating session branches ([#375](https://github.com/draht-dev/draht/issues/375))
2299
2478
  - HTML export supports keyboard shortcuts: Ctrl+T to toggle thinking blocks, Ctrl+O to toggle tool outputs
2300
- - HTML export supports theme-configurable background colors via optional `export` section in theme JSON ([#387](https://github.com/badlogic/pi-mono/pull/387) by [@mitsuhiko](https://github.com/mitsuhiko))
2479
+ - 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))
2301
2480
  - HTML export syntax highlighting now uses theme colors and matches TUI rendering
2302
2481
  - **Snake game example hook**: Demonstrates `ui.custom()`, `registerCommand()`, and session persistence. See [examples/hooks/snake.ts](examples/hooks/snake.ts).
2303
- - **`thinkingText` theme token**: Configurable color for thinking block text. ([#366](https://github.com/badlogic/pi-mono/pull/366) by [@paulbettner](https://github.com/paulbettner))
2482
+ - **`thinkingText` theme token**: Configurable color for thinking block text. ([#366](https://github.com/draht-dev/draht/pull/366) by [@paulbettner](https://github.com/paulbettner))
2304
2483
 
2305
2484
  ### Changed
2306
2485
 
@@ -2311,21 +2490,21 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2311
2490
  ### Fixed
2312
2491
 
2313
2492
  - HTML export now properly sanitizes user messages containing HTML tags like `<style>` that could break DOM rendering
2314
- - Crash when displaying bash output containing Unicode format characters like U+0600-U+0604 ([#372](https://github.com/badlogic/pi-mono/pull/372) by [@HACKE-RC](https://github.com/HACKE-RC))
2315
- - **Footer shows full session stats**: Token usage and cost now include all messages, not just those after compaction. ([#322](https://github.com/badlogic/pi-mono/issues/322))
2316
- - **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/badlogic/pi-mono/pull/365) by [@paulbettner](https://github.com/paulbettner))
2493
+ - 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))
2494
+ - **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))
2495
+ - **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))
2317
2496
  - **Toggling thinking blocks during streaming shows nothing**: Pressing Ctrl+T while streaming would hide the current message until streaming completed.
2318
- - **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/badlogic/pi-mono/issues/342) by [@aliou](https://github.com/aliou))
2319
- - **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/badlogic/pi-mono/issues/374) by [@nicobailon](https://github.com/nicobailon))
2320
- - **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/badlogic/pi-mono/issues/355) by [@Pratham-Dubey](https://github.com/Pratham-Dubey))
2321
- - **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/badlogic/pi-mono/pull/394) by [@prathamdby](https://github.com/prathamdby))
2322
- - **Use bash instead of sh on Unix**: Fixed shell commands using `/bin/sh` instead of `/bin/bash` on Unix systems. ([#328](https://github.com/badlogic/pi-mono/pull/328) by [@dnouri](https://github.com/dnouri))
2323
- - **OAuth login URL clickable**: Made OAuth login URLs clickable in terminal. ([#349](https://github.com/badlogic/pi-mono/pull/349) by [@Cursivez](https://github.com/Cursivez))
2324
- - **Improved error messages**: Better error messages when `apiKey` or `model` are missing. ([#346](https://github.com/badlogic/pi-mono/pull/346) by [@ronyrus](https://github.com/ronyrus))
2497
+ - **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))
2498
+ - **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))
2499
+ - **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))
2500
+ - **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))
2501
+ - **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))
2502
+ - **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))
2503
+ - **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))
2325
2504
  - **Session file validation**: `findMostRecentSession()` now validates session headers before returning, preventing non-session JSONL files from being loaded
2326
2505
  - **Compaction error handling**: `generateSummary()` and `generateTurnPrefixSummary()` now throw on LLM errors instead of returning empty strings
2327
2506
  - **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()`
2328
- - **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/badlogic/pi-mono/issues/337))
2507
+ - **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))
2329
2508
 
2330
2509
  ## [0.30.2] - 2025-12-26
2331
2510
 
@@ -2337,54 +2516,54 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2337
2516
 
2338
2517
  ### Fixed
2339
2518
 
2340
- - **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/badlogic/pi-mono/issues/320) by [@aliou](https://github.com/aliou))
2341
- - **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/badlogic/pi-mono/issues/321))
2519
+ - **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))
2520
+ - **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))
2342
2521
 
2343
2522
  ## [0.30.0] - 2025-12-25
2344
2523
 
2345
2524
  ### Breaking Changes
2346
2525
 
2347
- - **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/badlogic/pi-mono/pull/313))
2526
+ - **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))
2348
2527
 
2349
2528
  ### Added
2350
2529
 
2351
- - **`--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/badlogic/pi-mono/pull/313) by [@scutifer](https://github.com/scutifer))
2352
- - **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/badlogic/pi-mono/pull/315) by [@mitsuhiko](https://github.com/mitsuhiko))
2530
+ - **`--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))
2531
+ - **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))
2353
2532
 
2354
2533
  ## [0.29.1] - 2025-12-25
2355
2534
 
2356
2535
  ### Added
2357
2536
 
2358
- - **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/badlogic/pi-mono/issues/309))
2359
- - **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/badlogic/pi-mono/issues/310))
2537
+ - **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))
2538
+ - **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))
2360
2539
 
2361
2540
  ### Fixed
2362
2541
 
2363
- - **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/badlogic/pi-mono/issues/311) by [@kim0](https://github.com/kim0))
2542
+ - **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))
2364
2543
 
2365
2544
  ## [0.29.0] - 2025-12-25
2366
2545
 
2367
2546
  ### Breaking Changes
2368
2547
 
2369
- - **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/badlogic/pi-mono/pull/305))
2548
+ - **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))
2370
2549
 
2371
2550
  ### Added
2372
2551
 
2373
- - **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/badlogic/pi-mono/pull/307) by [@mitsuhiko](https://github.com/mitsuhiko))
2374
- - **Word navigation in input fields**: Added Ctrl+Left/Right and Alt+Left/Right for word-by-word cursor movement. ([#306](https://github.com/badlogic/pi-mono/pull/306) by [@kim0](https://github.com/kim0))
2375
- - **Full Unicode input**: Input fields now accept Unicode characters beyond ASCII. ([#306](https://github.com/badlogic/pi-mono/pull/306) by [@kim0](https://github.com/kim0))
2552
+ - **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))
2553
+ - **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))
2554
+ - **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))
2376
2555
 
2377
2556
  ### Fixed
2378
2557
 
2379
- - **Readline-style Ctrl+W**: Now skips trailing whitespace before deleting the preceding word, matching standard readline behavior. ([#306](https://github.com/badlogic/pi-mono/pull/306) by [@kim0](https://github.com/kim0))
2558
+ - **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))
2380
2559
 
2381
2560
  ## [0.28.0] - 2025-12-25
2382
2561
 
2383
2562
  ### Changed
2384
2563
 
2385
- - **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/badlogic/pi-mono/issues/296))
2564
+ - **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))
2386
2565
 
2387
- - **SDK API changes** ([#296](https://github.com/badlogic/pi-mono/issues/296)):
2566
+ - **SDK API changes** ([#296](https://github.com/draht-dev/draht/issues/296)):
2388
2567
 
2389
2568
  - Added `AuthStorage` class for credential management (API keys and OAuth tokens)
2390
2569
  - Added `ModelRegistry` class for model discovery and API key resolution
@@ -2392,20 +2571,20 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2392
2571
  - `createAgentSession()` now accepts `authStorage` and `modelRegistry` options
2393
2572
  - Removed `configureOAuthStorage()`, `defaultGetApiKey()`, `findModel()`, `discoverAvailableModels()`
2394
2573
  - Removed `getApiKey` callback option (use `AuthStorage.setRuntimeApiKey()` for runtime overrides)
2395
- - Use `getModel()` from `@mariozechner/pi-ai` for built-in models, `modelRegistry.find()` for custom models + built-in models
2574
+ - Use `getModel()` from `@draht/ai` for built-in models, `modelRegistry.find()` for custom models + built-in models
2396
2575
  - See updated [SDK documentation](docs/sdk.md) and [README](README.md)
2397
2576
 
2398
- - **Settings changes**: Removed `apiKeys` from `settings.json`. Use `auth.json` instead. ([#296](https://github.com/badlogic/pi-mono/issues/296))
2577
+ - **Settings changes**: Removed `apiKeys` from `settings.json`. Use `auth.json` instead. ([#296](https://github.com/draht-dev/draht/issues/296))
2399
2578
 
2400
2579
  ### Fixed
2401
2580
 
2402
- - **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/badlogic/pi-mono/pull/304) by [@mitsuhiko](https://github.com/mitsuhiko))
2581
+ - **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))
2403
2582
 
2404
2583
  ## [0.27.9] - 2025-12-24
2405
2584
 
2406
2585
  ### Fixed
2407
2586
 
2408
- - **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/badlogic/pi-mono/issues/295))
2587
+ - **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))
2409
2588
 
2410
2589
  ## [0.27.8] - 2025-12-24
2411
2590
 
@@ -2417,7 +2596,7 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2417
2596
 
2418
2597
  ### Fixed
2419
2598
 
2420
- - **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/badlogic/pi-mono/pull/302) by [@nicobailon](https://github.com/nicobailon))
2599
+ - **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))
2421
2600
 
2422
2601
  ## [0.27.6] - 2025-12-24
2423
2602
 
@@ -2444,7 +2623,7 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2444
2623
 
2445
2624
  ### Fixed
2446
2625
 
2447
- - **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/badlogic/pi-mono/pull/299) by [@nicobailon](https://github.com/nicobailon))
2626
+ - **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))
2448
2627
 
2449
2628
  ## [0.27.4] - 2025-12-24
2450
2629
 
@@ -2456,18 +2635,18 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2456
2635
 
2457
2636
  ### Added
2458
2637
 
2459
- - **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/badlogic/pi-mono/issues/295))
2638
+ - **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))
2460
2639
 
2461
2640
  ### Fixed
2462
2641
 
2463
- - **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/badlogic/pi-mono/issues/288))
2464
- - **`--system-prompt` file path support**: The `--system-prompt` argument now correctly resolves file paths (like `--append-system-prompt` already did). ([#287](https://github.com/badlogic/pi-mono/pull/287) by [@scutifer](https://github.com/scutifer))
2642
+ - **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))
2643
+ - **`--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))
2465
2644
 
2466
2645
  ## [0.27.2] - 2025-12-23
2467
2646
 
2468
2647
  ### Added
2469
2648
 
2470
- - **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/badlogic/pi-mono/pull/286) by [@nicobarray](https://github.com/nicobarray))
2649
+ - **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))
2471
2650
 
2472
2651
  ## [0.27.1] - 2025-12-22
2473
2652
 
@@ -2483,31 +2662,31 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2483
2662
 
2484
2663
  ### Breaking
2485
2664
 
2486
- - **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/badlogic/pi-mono/issues/278))
2665
+ - **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))
2487
2666
 
2488
2667
  ### Added
2489
2668
 
2490
- - **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/badlogic/pi-mono/issues/278))
2669
+ - **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))
2491
2670
 
2492
2671
  ### Fixed
2493
2672
 
2494
- - **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/badlogic/pi-mono/issues/280))
2673
+ - **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))
2495
2674
 
2496
- - **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/badlogic/pi-mono/issues/275))
2675
+ - **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))
2497
2676
 
2498
2677
  ## [0.26.1] - 2025-12-22
2499
2678
 
2500
2679
  ### Fixed
2501
2680
 
2502
- - **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/badlogic/pi-mono/issues/279))
2681
+ - **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))
2503
2682
 
2504
2683
  ## [0.26.0] - 2025-12-22
2505
2684
 
2506
2685
  ### Added
2507
2686
 
2508
- - **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/badlogic/pi-mono/issues/272))
2687
+ - **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))
2509
2688
 
2510
- - **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/badlogic/pi-mono/pull/276))
2689
+ - **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))
2511
2690
 
2512
2691
  - **SettingsManager static factories**: `SettingsManager.create(cwd?, agentDir?)` for file-based settings, `SettingsManager.inMemory(settings?)` for testing. Added `applyOverrides()` for programmatic overrides.
2513
2692
 
@@ -2517,21 +2696,21 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2517
2696
 
2518
2697
  ### Fixed
2519
2698
 
2520
- - **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/badlogic/pi-mono/issues/274))
2699
+ - **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))
2521
2700
 
2522
2701
  ## [0.25.3] - 2025-12-21
2523
2702
 
2524
2703
  ### Added
2525
2704
 
2526
- - **Gemini 3 preview models**: Added `gemini-3-pro-preview` and `gemini-3-flash-preview` to the google-gemini-cli provider. ([#264](https://github.com/badlogic/pi-mono/pull/264) by [@LukeFost](https://github.com/LukeFost))
2705
+ - **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))
2527
2706
 
2528
- - **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/badlogic/pi-mono/pull/266) by [@aliou](https://github.com/aliou))
2707
+ - **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))
2529
2708
 
2530
- - **Process suspension**: Press `Ctrl+Z` to suspend pi and return to the shell. Resume with `fg` as usual. ([#267](https://github.com/badlogic/pi-mono/pull/267) by [@aliou](https://github.com/aliou))
2709
+ - **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))
2531
2710
 
2532
- - **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/badlogic/pi-mono/pull/269) by [@nicobailon](https://github.com/nicobailon))
2711
+ - **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))
2533
2712
 
2534
- - **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/badlogic/pi-mono/issues/268))
2713
+ - **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))
2535
2714
 
2536
2715
  ## [0.25.2] - 2025-12-21
2537
2716
 
@@ -2551,7 +2730,7 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2551
2730
 
2552
2731
  ### Added
2553
2732
 
2554
- - **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/badlogic/pi-mono/pull/259) by [@steipete](https://github.com/steipete))
2733
+ - **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))
2555
2734
 
2556
2735
  - **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.
2557
2736
 
@@ -2559,13 +2738,13 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2559
2738
 
2560
2739
  ### Changed
2561
2740
 
2562
- - **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/badlogic/pi-mono/issues/255))
2741
+ - **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))
2563
2742
 
2564
2743
  ### Fixed
2565
2744
 
2566
- - **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/badlogic/pi-mono/issues/252))
2745
+ - **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))
2567
2746
 
2568
- - **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/badlogic/pi-mono/issues/253))
2747
+ - **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))
2569
2748
 
2570
2749
  - **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.
2571
2750
 
@@ -2579,7 +2758,7 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2579
2758
 
2580
2759
  ### Fixed
2581
2760
 
2582
- - **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/badlogic/pi-mono/issues/243))
2761
+ - **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))
2583
2762
 
2584
2763
  ## [0.24.3] - 2025-12-19
2585
2764
 
@@ -2591,45 +2770,45 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2591
2770
 
2592
2771
  ### Fixed
2593
2772
 
2594
- - **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/badlogic/pi-mono/issues/243))
2773
+ - **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))
2595
2774
 
2596
2775
  ## [0.24.1] - 2025-12-19
2597
2776
 
2598
2777
  ### Added
2599
2778
 
2600
- - **OAuth and model config exports**: Scripts using `AgentSession` directly can now import `getAvailableModels`, `getApiKeyForModel`, `findModel`, `login`, `logout`, and `getOAuthProviders` from `@mariozechner/pi-coding-agent` to reuse OAuth token storage and model resolution. ([#245](https://github.com/badlogic/pi-mono/issues/245))
2779
+ - **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))
2601
2780
 
2602
- - **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/badlogic/pi-mono/pull/236) by [@theBucky](https://github.com/theBucky))
2781
+ - **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))
2603
2782
 
2604
2783
  ### Fixed
2605
2784
 
2606
- - **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/badlogic/pi-mono/pull/248) by [@nicobailon](https://github.com/nicobailon))
2785
+ - **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))
2607
2786
 
2608
- - **Hook onUpdate callback forwarding**: The `onUpdate` callback is now correctly forwarded through the hook wrapper, fixing custom tool progress updates. ([#238](https://github.com/badlogic/pi-mono/pull/238) by [@nicobailon](https://github.com/nicobailon))
2787
+ - **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))
2609
2788
 
2610
- - **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/badlogic/pi-mono/pull/247) by [@aliou](https://github.com/aliou))
2789
+ - **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))
2611
2790
 
2612
- - **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/badlogic/pi-mono/pull/242) by [@aliou](https://github.com/aliou))
2791
+ - **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))
2613
2792
 
2614
- - **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/badlogic/pi-mono/pull/239) by [@aliou](https://github.com/aliou))
2793
+ - **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))
2615
2794
 
2616
- - **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/badlogic/pi-mono/issues/243))
2795
+ - **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))
2617
2796
 
2618
- - **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/badlogic/pi-mono/issues/240))
2797
+ - **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))
2619
2798
 
2620
2799
  ## [0.24.0] - 2025-12-19
2621
2800
 
2622
2801
  ### Added
2623
2802
 
2624
- - **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/badlogic/pi-mono/pull/215) by [@nicobailon](https://github.com/nicobailon))
2803
+ - **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))
2625
2804
 
2626
- - **`getMarkdownTheme()` export**: Custom tools can now import `getMarkdownTheme()` from `@mariozechner/pi-coding-agent` to use the same markdown styling as the main UI.
2805
+ - **`getMarkdownTheme()` export**: Custom tools can now import `getMarkdownTheme()` from `@draht/coding-agent` to use the same markdown styling as the main UI.
2627
2806
 
2628
2807
  - **`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.
2629
2808
 
2630
- - **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/badlogic/pi-mono/pull/225) by [@kim0](https://github.com/kim0))
2809
+ - **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))
2631
2810
 
2632
- - **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/badlogic/pi-mono/pull/223) by [@kim0](https://github.com/kim0))
2811
+ - **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))
2633
2812
 
2634
2813
  - **`/hotkeys` command**: Shows all keyboard shortcuts in a formatted table.
2635
2814
 
@@ -2639,19 +2818,19 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2639
2818
 
2640
2819
  - **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.
2641
2820
 
2642
- - **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/badlogic/pi-mono/issues/231))
2821
+ - **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))
2643
2822
 
2644
2823
  ### Fixed
2645
2824
 
2646
2825
  - **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.
2647
2826
 
2648
- - **Symlinked tools, hooks, and slash commands**: Discovery now correctly follows symlinks when scanning for custom tools, hooks, and slash commands. ([#219](https://github.com/badlogic/pi-mono/pull/219), [#232](https://github.com/badlogic/pi-mono/pull/232) by [@aliou](https://github.com/aliou))
2827
+ - **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))
2649
2828
 
2650
2829
  ### Breaking Changes
2651
2830
 
2652
2831
  - **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.
2653
2832
 
2654
- - **Hook `tool_result` event restructured**: The `ToolResultEvent` now exposes full tool result data instead of just text. ([#233](https://github.com/badlogic/pi-mono/pull/233))
2833
+ - **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))
2655
2834
  - Removed: `result: string` field
2656
2835
  - Added: `content: (TextContent | ImageContent)[]` - full content array
2657
2836
  - Added: `details: unknown` - tool-specific details (typed per tool via discriminated union on `toolName`)
@@ -2664,15 +2843,15 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2664
2843
 
2665
2844
  ### Added
2666
2845
 
2667
- - **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/badlogic/pi-mono/pull/214) by [@svkozak](https://github.com/svkozak))
2846
+ - **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))
2668
2847
 
2669
2848
  - **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.
2670
2849
 
2671
2850
  ### Fixed
2672
2851
 
2673
- - **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/badlogic/pi-mono/issues/213), [#220](https://github.com/badlogic/pi-mono/pull/220))
2852
+ - **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))
2674
2853
 
2675
- - **Google baseUrl configuration**: Google provider now respects `baseUrl` configuration for custom endpoints or API proxies. ([#216](https://github.com/badlogic/pi-mono/issues/216), [#221](https://github.com/badlogic/pi-mono/pull/221) by [@theBucky](https://github.com/theBucky))
2854
+ - **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))
2676
2855
 
2677
2856
  - **Google provider FinishReason**: Added handling for new `IMAGE_RECITATION` and `IMAGE_OTHER` finish reasons. Upgraded @google/genai to 1.34.0.
2678
2857
 
@@ -2695,7 +2874,7 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2695
2874
  - `rpc.md`: Added missing `hook_error` event documentation
2696
2875
  - `README.md`: Complete settings table, condensed philosophy section, standardized OAuth docs
2697
2876
 
2698
- - Hooks loader now supports same import aliases as custom tools (`@sinclair/typebox`, `@mariozechner/pi-ai`, `@mariozechner/pi-tui`, `@mariozechner/pi-coding-agent`).
2877
+ - Hooks loader now supports same import aliases as custom tools (`@sinclair/typebox`, `@draht/ai`, `@draht/tui`, `@draht/coding-agent`).
2699
2878
 
2700
2879
  ### Breaking Changes
2701
2880
 
@@ -2705,11 +2884,11 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2705
2884
 
2706
2885
  ### Fixed
2707
2886
 
2708
- - 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/badlogic/pi-mono/issues/209))
2887
+ - 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))
2709
2888
 
2710
2889
  - Detect image MIME type via file magic (read tool and `@file` attachments), not filename extension.
2711
2890
 
2712
- - 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/badlogic/pi-mono/pull/206) by [@kim0](https://github.com/kim0))
2891
+ - 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))
2713
2892
 
2714
2893
  ## [0.23.1] - 2025-12-17
2715
2894
 
@@ -2717,13 +2896,13 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2717
2896
 
2718
2897
  - 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.
2719
2898
 
2720
- - Fixed custom tools failing to load from `~/.pi/agent/tools/` when pi is installed globally. Module imports (`@sinclair/typebox`, `@mariozechner/pi-tui`, `@mariozechner/pi-ai`) are now resolved via aliases.
2899
+ - 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.
2721
2900
 
2722
2901
  ## [0.23.0] - 2025-12-17
2723
2902
 
2724
2903
  ### Added
2725
2904
 
2726
- - **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/badlogic/pi-mono/issues/190))
2905
+ - **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))
2727
2906
 
2728
2907
  - **Hook and tool examples**: Added `examples/hooks/` and `examples/custom-tools/` with working examples. Examples are now bundled in npm and binary releases.
2729
2908
 
@@ -2741,7 +2920,7 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2741
2920
 
2742
2921
  ### Added
2743
2922
 
2744
- - `--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/badlogic/pi-mono/issues/203))
2923
+ - `--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))
2745
2924
 
2746
2925
  ### Fixed
2747
2926
 
@@ -2751,25 +2930,25 @@ Total color count increased from 46 to 50. See [docs/themes.md](docs/themes.md)
2751
2930
 
2752
2931
  ### Added
2753
2932
 
2754
- - **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/badlogic/pi-mono/issues/44))
2933
+ - **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))
2755
2934
 
2756
2935
  ### Changed
2757
2936
 
2758
2937
  - **Tool output display**: When collapsed, tool output now shows the last N lines instead of the first N lines, making streaming output more useful.
2759
2938
 
2760
- - Updated `@mariozechner/pi-ai` with X-Initiator header support for GitHub Copilot, ensuring agent calls are not deducted from quota. ([#200](https://github.com/badlogic/pi-mono/pull/200) by [@kim0](https://github.com/kim0))
2939
+ - 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))
2761
2940
 
2762
2941
  ### Fixed
2763
2942
 
2764
- - Fixed editor text being cleared during compaction. Text typed while compaction is running is now preserved. ([#179](https://github.com/badlogic/pi-mono/issues/179))
2943
+ - 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))
2765
2944
  - 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.
2766
- - `/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/badlogic/pi-mono/pull/180) by [@markusylisiurunen](https://github.com/markusylisiurunen))
2945
+ - `/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))
2767
2946
 
2768
2947
  ## [0.22.2] - 2025-12-15
2769
2948
 
2770
2949
  ### Changed
2771
2950
 
2772
- - Updated `@mariozechner/pi-ai` with interleaved thinking enabled by default for Anthropic Claude 4 models.
2951
+ - Updated `@draht/ai` with interleaved thinking enabled by default for Anthropic Claude 4 models.
2773
2952
 
2774
2953
  ## [0.22.1] - 2025-12-15
2775
2954
 
@@ -2777,13 +2956,13 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
2777
2956
 
2778
2957
  ### Changed
2779
2958
 
2780
- - Updated `@mariozechner/pi-ai` with interleaved thinking support for Anthropic models.
2959
+ - Updated `@draht/ai` with interleaved thinking support for Anthropic models.
2781
2960
 
2782
2961
  ## [0.22.0] - 2025-12-15
2783
2962
 
2784
2963
  ### Added
2785
2964
 
2786
- - **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/badlogic/pi-mono/pull/191) by [@cau1k](https://github.com/cau1k))
2965
+ - **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))
2787
2966
 
2788
2967
  ### Fixed
2789
2968
 
@@ -2793,15 +2972,15 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
2793
2972
 
2794
2973
  ### Added
2795
2974
 
2796
- - **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/badlogic/pi-mono/pull/177) by [@nicobailon](https://github.com/nicobailon))
2975
+ - **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))
2797
2976
 
2798
- - **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/badlogic/pi-mono/pull/176) by [@markusylisiurunen](https://github.com/markusylisiurunen))
2977
+ - **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))
2799
2978
 
2800
2979
  ### Fixed
2801
2980
 
2802
- - 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/badlogic/pi-mono/pull/181) by [@nicobailon](https://github.com/nicobailon))
2981
+ - 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))
2803
2982
 
2804
- - Fixed double blank lines rendering after markdown code blocks ([#173](https://github.com/badlogic/pi-mono/pull/173) by [@markusylisiurunen](https://github.com/markusylisiurunen))
2983
+ - Fixed double blank lines rendering after markdown code blocks ([#173](https://github.com/draht-dev/draht/pull/173) by [@markusylisiurunen](https://github.com/markusylisiurunen))
2805
2984
 
2806
2985
  ## [0.20.1] - 2025-12-13
2807
2986
 
@@ -2829,25 +3008,25 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
2829
3008
 
2830
3009
  ### Added
2831
3010
 
2832
- - **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/badlogic/pi-mono/issues/169))
3011
+ - **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))
2833
3012
 
2834
- - **Version flag**: Added `--version` / `-v` flag to display the current version and exit. ([#170](https://github.com/badlogic/pi-mono/pull/170))
3013
+ - **Version flag**: Added `--version` / `-v` flag to display the current version and exit. ([#170](https://github.com/draht-dev/draht/pull/170))
2835
3014
 
2836
3015
  ## [0.18.2] - 2025-12-11
2837
3016
 
2838
3017
  ### Added
2839
3018
 
2840
- - **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/badlogic/pi-mono/issues/157))
3019
+ - **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))
2841
3020
 
2842
- - **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/badlogic/pi-mono/issues/166))
3021
+ - **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))
2843
3022
 
2844
3023
  ### Fixed
2845
3024
 
2846
- - **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/badlogic/pi-mono/issues/163))
3025
+ - **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))
2847
3026
 
2848
3027
  - **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.
2849
3028
 
2850
- - **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/badlogic/pi-mono/issues/156))
3029
+ - **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))
2851
3030
 
2852
3031
  ## [0.18.1] - 2025-12-10
2853
3032
 
@@ -2857,13 +3036,13 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
2857
3036
 
2858
3037
  ### Fixed
2859
3038
 
2860
- - 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/badlogic/pi-mono/issues/161))
3039
+ - 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))
2861
3040
 
2862
3041
  ## [0.18.0] - 2025-12-10
2863
3042
 
2864
3043
  ### Added
2865
3044
 
2866
- - **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/badlogic/pi-mono/issues/145), supersedes [#158](https://github.com/badlogic/pi-mono/pull/158))
3045
+ - **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))
2867
3046
 
2868
3047
  - **`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.
2869
3048
 
@@ -2901,7 +3080,7 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
2901
3080
 
2902
3081
  ### Breaking Changes
2903
3082
 
2904
- - **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/badlogic/pi-mono/issues/91))
3083
+ - **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))
2905
3084
 
2906
3085
  ### Changed
2907
3086
 
@@ -2911,7 +3090,7 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
2911
3090
 
2912
3091
  ### Changed
2913
3092
 
2914
- - **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/badlogic/pi-mono/issues/153))
3093
+ - **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))
2915
3094
 
2916
3095
  ## [0.14.2] - 2025-12-08
2917
3096
 
@@ -2937,19 +3116,19 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
2937
3116
 
2938
3117
  ### Added
2939
3118
 
2940
- - **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/badlogic/pi-mono/issues/133), thanks @fink-andreas for the initial idea and PR)
3119
+ - **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)
2941
3120
 
2942
- - **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/badlogic/pi-mono/issues/143))
3121
+ - **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))
2943
3122
 
2944
- - **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/badlogic/pi-mono/issues/148))
3123
+ - **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))
2945
3124
 
2946
- - **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/badlogic/pi-mono/pull/112), original implementation by [@markusylisiurunen](https://github.com/markusylisiurunen))
3125
+ - **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))
2947
3126
 
2948
3127
  ## [0.13.2] - 2025-12-07
2949
3128
 
2950
3129
  ### Changed
2951
3130
 
2952
- - **Tool output truncation**: All tools now enforce consistent truncation limits with actionable notices for the LLM. ([#134](https://github.com/badlogic/pi-mono/issues/134))
3131
+ - **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))
2953
3132
  - **Limits**: 2000 lines OR 50KB (whichever hits first), never partial lines
2954
3133
  - **read**: Shows `[Showing lines X-Y of Z. Use offset=N to continue]`. If first line exceeds 50KB, suggests bash command
2955
3134
  - **bash**: Tail truncation with temp file. Shows `[Showing lines X-Y of Z. Full output: /tmp/...]`
@@ -2993,20 +3172,20 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
2993
3172
 
2994
3173
  ### Fixed
2995
3174
 
2996
- - **Multi-key sequences in inputs**: Inputs like model search now handle multi-key sequences identically to the main prompt editor. ([#122](https://github.com/badlogic/pi-mono/pull/122) by [@markusylisiurunen](https://github.com/markusylisiurunen))
2997
- - **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/badlogic/pi-mono/issues/109))
3175
+ - **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))
3176
+ - **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))
2998
3177
 
2999
3178
  ### Added
3000
3179
 
3001
- - **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/badlogic/pi-mono/pull/122) by [@markusylisiurunen](https://github.com/markusylisiurunen))
3002
- - **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/badlogic/pi-mono/pull/121) by [@nicobailon](https://github.com/nicobailon))
3003
- - **`/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/badlogic/pi-mono/pull/117) by [@hewliyang](https://github.com/hewliyang))
3180
+ - **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))
3181
+ - **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))
3182
+ - **`/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))
3004
3183
 
3005
3184
  ## [0.12.11] - 2025-12-05
3006
3185
 
3007
3186
  ### Changed
3008
3187
 
3009
- - **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/badlogic/pi-mono/issues/108))
3188
+ - **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))
3010
3189
 
3011
3190
  ### Fixed
3012
3191
 
@@ -3017,9 +3196,9 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
3017
3196
 
3018
3197
  ### Added
3019
3198
 
3020
- - **`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/badlogic/pi-mono/issues/81))
3021
- - **`--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/badlogic/pi-mono/pull/114) by [@markusylisiurunen](https://github.com/markusylisiurunen))
3022
- - **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/badlogic/pi-mono/pull/113) by [@markusylisiurunen](https://github.com/markusylisiurunen))
3199
+ - **`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))
3200
+ - **`--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))
3201
+ - **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))
3023
3202
 
3024
3203
  ## [0.12.10] - 2025-12-04
3025
3204
 
@@ -3031,7 +3210,7 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
3031
3210
 
3032
3211
  ### Added
3033
3212
 
3034
- - **`/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/badlogic/pi-mono/pull/105) by [@markusylisiurunen](https://github.com/markusylisiurunen))
3213
+ - **`/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))
3035
3214
 
3036
3215
  ## [0.12.8] - 2025-12-04
3037
3216
 
@@ -3041,7 +3220,7 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
3041
3220
 
3042
3221
  ### Added
3043
3222
 
3044
- - **Context Compaction**: Long sessions can now be compacted to reduce context usage while preserving recent conversation history. ([#92](https://github.com/badlogic/pi-mono/issues/92), [docs](https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/README.md#context-compaction))
3223
+ - **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))
3045
3224
  - `/compact [instructions]`: Manually compact context with optional custom instructions for the summary
3046
3225
  - `/autocompact`: Toggle automatic compaction when context exceeds threshold
3047
3226
  - Compaction summarizes older messages while keeping recent messages (default 20k tokens) verbatim
@@ -3055,11 +3234,11 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
3055
3234
 
3056
3235
  ### Added
3057
3236
 
3058
- - **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/badlogic/pi-mono/pull/95))
3237
+ - **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))
3059
3238
 
3060
3239
  ### Fixed
3061
3240
 
3062
- - **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/badlogic/pi-mono/pull/95))
3241
+ - **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))
3063
3242
 
3064
3243
  ## [0.12.4] - 2025-12-02
3065
3244
 
@@ -3226,7 +3405,7 @@ _Dedicated to Peter's shoulder ([@steipete](https://twitter.com/steipete))_
3226
3405
 
3227
3406
  ### Added
3228
3407
 
3229
- - 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/pi-mono/blob/main/packages/coding-agent/README.md#rpc-mode) for protocol details.
3408
+ - 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.
3230
3409
 
3231
3410
  ### Changed
3232
3411