vibe64 0.1.66 → 0.1.68

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 (122) hide show
  1. package/bin/run.js +1986 -1348
  2. package/bin/server.js +210 -207
  3. package/bin/upgrade-state.js +3862 -3786
  4. package/dist/assets/{GithubBrowserTabs-Bf5z_PiF.js → GithubBrowserTabs-CW3GBeJu.js} +1 -1
  5. package/dist/assets/{LocalDatabaseServer-CcfGbn7H.js → LocalDatabaseServer-DYh3UF9q.js} +1 -1
  6. package/dist/assets/{ShellOutlet-DPyl05um.js → ShellOutlet-DkLdtzJW.js} +1 -1
  7. package/dist/assets/{Vibe64AuthSettingsButton-CxJoeOhz.js → Vibe64AuthSettingsButton-Cksj7FS6.js} +1 -1
  8. package/dist/assets/{Vibe64AuthSettingsButton-DFfFPrd7.css → Vibe64AuthSettingsButton-DfKYI6ZS.css} +1 -1
  9. package/dist/assets/{Vibe64ConversationLog-jDb_ZvIF.js → Vibe64ConversationLog-BC0eDtUP.js} +1 -1
  10. package/dist/assets/{Vibe64DashboardShell-Ce1PNB37.js → Vibe64DashboardShell-DX5dOXAB.js} +1 -1
  11. package/dist/assets/{Vibe64DatabaseWorkspace-DiZDKEpx.js → Vibe64DatabaseWorkspace-8i-RDc9y.js} +1 -1
  12. package/dist/assets/{Vibe64FileArea-uRnIJ0Vp.js → Vibe64FileArea-EK5yUio3.js} +1 -1
  13. package/dist/assets/{Vibe64OutputControls-BF5kh2_h.js → Vibe64OutputControls--LB4G83q.js} +1 -1
  14. package/dist/assets/{Vibe64SessionFiles-CxgPB8RR.js → Vibe64SessionFiles-DVHGc7hd.js} +1 -1
  15. package/dist/assets/{Vibe64SessionSourceEditor-yaVu279S.js → Vibe64SessionSourceEditor-Bws5ihr-.js} +1 -1
  16. package/dist/assets/{Vibe64UiStoryboardView-DhbHkz8K.js → Vibe64UiStoryboardView-BmABkyG4.js} +1 -1
  17. package/dist/assets/{Vibe64UnavailableSessions-MmPF-Db1.js → Vibe64UnavailableSessions-C6Bkwsqk.js} +1 -1
  18. package/dist/assets/{_pageId_-Zif-veil.js → _pageId_-FjW-3sqF.js} +1 -1
  19. package/dist/assets/{_sessionId_-DOge-7SB.js → _sessionId_-4cH83Bfi.js} +1 -1
  20. package/dist/assets/_slug_-Cazfy5ui.js +14 -0
  21. package/dist/assets/_slug_-DQDycgFK.css +1 -0
  22. package/dist/assets/{access-DQcblrWN.js → access-mxcxtn7b.js} +1 -1
  23. package/dist/assets/{app-CzApKPmq.js → app-8zP_FAuO.js} +1 -1
  24. package/dist/assets/assistantRouting-Bbxguvre.js +3 -0
  25. package/dist/assets/{client-13v_yX07.js → client-C1i-bIgL.js} +1 -1
  26. package/dist/assets/{client-Dl6I6IVb.js → client-C7yZ1hEm.js} +1 -1
  27. package/dist/assets/{client-Dv4scw6i.js → client-CQ49uWhR.js} +1 -1
  28. package/dist/assets/{client-C8ZjqGdQ.js → client-D46Uu-YO.js} +2 -2
  29. package/dist/assets/{client-5JUUGxRd.js → client-DKNTl1to.js} +2 -2
  30. package/dist/assets/{dashboard-Dm_xwwqU.js → dashboard-CMtWKazq.js} +1 -1
  31. package/dist/assets/{english-definitions-DwTf_alg.js → english-definitions-DiyU9O9D.js} +1 -1
  32. package/dist/assets/{env-B7wB5nBn.js → env-LUc22Wgd.js} +1 -1
  33. package/dist/assets/{error-HfzrYwkQ.js → error-BccdQn04.js} +1 -1
  34. package/dist/assets/{error-CtOws2EC.js → error-DPDAz9Td.js} +1 -1
  35. package/dist/assets/{health-DIkOkzPe.js → health-CfMjMJFf.js} +1 -1
  36. package/dist/assets/{history-Ch597NiY.js → history-hX_kNskf.js} +1 -1
  37. package/dist/assets/{i18n-DcNQE3tT.js → i18n-Dq-ep9n7.js} +1 -1
  38. package/dist/assets/index-BJWiPV6i.css +1 -0
  39. package/dist/assets/{index-DcKFCaBZ.js → index-FVeEbKiO.js} +4 -4
  40. package/dist/assets/{integrations-CoNhnGvq.js → integrations-Ccb8EOEO.js} +14 -15
  41. package/dist/assets/{integrations-CwgrZgmM.css → integrations-CtnIjM1Y.css} +1 -1
  42. package/dist/assets/{issues-Cem4Yt47.js → issues-Bxtt7oqi.js} +1 -1
  43. package/dist/assets/{learning-CU2QyHrj.js → learning-BUx9jo91.js} +1 -1
  44. package/dist/assets/{pages-BzA58NoR.js → pages-D43zM2UW.js} +1 -1
  45. package/dist/assets/{project-files-BBKjl3wZ.js → project-files-BX3zZCcl.js} +1 -1
  46. package/dist/assets/{publish-UFjblZA3.js → publish-DatierL2.js} +1 -1
  47. package/dist/assets/{pull-requests-DibGk1GB.js → pull-requests-DNkOjcuy.js} +1 -1
  48. package/dist/assets/{settings-BjOnPYwD.js → settings-DbR9JIc3.js} +1 -1
  49. package/dist/assets/{useArchivedVibe64Sessions-CXKRFR2f.js → useArchivedVibe64Sessions-B8VDhA9F.js} +1 -1
  50. package/dist/assets/{useCommand-yOr3U8KF.js → useCommand-CfqxMb4C.js} +1 -1
  51. package/dist/assets/{useUiFeedback--0dLsslR.js → useUiFeedback-8Wvg7A_S.js} +1 -1
  52. package/dist/assets/{useVibe64ConversationLog-BB5tVtkt.js → useVibe64ConversationLog-7wgLlKG5.js} +2 -2
  53. package/dist/assets/useVibe64Learning-DkneotqS.js +5 -0
  54. package/dist/assets/{useVibe64SessionData-BSYF_TgH.js → useVibe64SessionData-DuJ-dHR8.js} +1 -1
  55. package/dist/assets/{useVibe64SessionSelection-CxZ3uEAf.js → useVibe64SessionSelection-BwjtqeIR.js} +1 -1
  56. package/dist/assets/vibe64SavedEnvValues-CCZew0j7.js +1 -0
  57. package/dist/assets/{vibe64SessionFocus-DGSVXipO.js → vibe64SessionFocus-B4diopOJ.js} +1 -1
  58. package/dist/index.html +10 -10
  59. package/docs/colleague-usage/ai-accounts.md +7 -7
  60. package/docs/colleague-usage/ai-model-setups.md +1 -1
  61. package/docs/colleague-usage/auto-workflow.md +60 -40
  62. package/docs/colleague-usage/chat-settings.md +115 -114
  63. package/docs/colleague-usage/coding-agent-history.md +9 -0
  64. package/docs/colleague-usage/coding-agent-recovery.md +3 -0
  65. package/docs/colleague-usage/coding-agents.md +10 -4
  66. package/docs/colleague-usage/developing-vibe64.md +11 -5
  67. package/docs/colleague-usage/development-env.md +74 -32
  68. package/docs/colleague-usage/github-work.md +3 -2
  69. package/docs/colleague-usage/integrations.md +2 -2
  70. package/docs/colleague-usage/main-chat-approvals.md +7 -6
  71. package/docs/colleague-usage/message-delivery-recovery.md +1 -1
  72. package/docs/colleague-usage/passes.md +215 -41
  73. package/docs/colleague-usage/plans.md +27 -16
  74. package/docs/colleague-usage/session-timeline.md +93 -0
  75. package/docs/colleague-usage/temporary-chats.md +6 -0
  76. package/docs/colleague-usage/ui-pass.md +29 -35
  77. package/node_modules/@jskit-ai/assistant-core/CHANGELOG.md +4 -0
  78. package/node_modules/@jskit-ai/assistant-core/package.json +1 -1
  79. package/node_modules/@jskit-ai/assistant-runtime/CHANGELOG.md +3 -0
  80. package/node_modules/@jskit-ai/assistant-runtime/package.json +1 -1
  81. package/node_modules/@jskit-ai/assistant-voice/package.json +1 -1
  82. package/node_modules/@jskit-ai/connector-google-calendar/CHANGELOG.md +1 -0
  83. package/node_modules/@jskit-ai/connector-google-calendar/package.json +1 -1
  84. package/node_modules/@jskit-ai/connector-google-calendar/patterns/calendar-cli/example/.env.example +1 -0
  85. package/node_modules/@jskit-ai/connectors-catalog/CHANGELOG.md +1 -0
  86. package/node_modules/@jskit-ai/connectors-catalog/package.json +1 -1
  87. package/node_modules/@jskit-ai/connectors-catalog/patterns/api-key-connection/PATTERN.md +4 -1
  88. package/node_modules/@jskit-ai/connectors-catalog/patterns/oauth-connection/PATTERN.md +3 -1
  89. package/node_modules/@jskit-ai/connectors-core/CHANGELOG.md +1 -0
  90. package/node_modules/@jskit-ai/connectors-core/README.md +3 -1
  91. package/node_modules/@jskit-ai/connectors-core/package.json +1 -1
  92. package/node_modules/@jskit-ai/http-runtime/package.json +1 -1
  93. package/node_modules/@jskit-ai/kernel/CHANGELOG.md +1 -0
  94. package/node_modules/@jskit-ai/kernel/package.json +3 -4
  95. package/node_modules/@jskit-ai/payments-core/CHANGELOG.md +1 -0
  96. package/node_modules/@jskit-ai/payments-core/locales/en.json +1 -1
  97. package/node_modules/@jskit-ai/payments-core/package.json +1 -1
  98. package/node_modules/@jskit-ai/realtime/CHANGELOG.md +1 -0
  99. package/node_modules/@jskit-ai/realtime/package.json +1 -1
  100. package/node_modules/@jskit-ai/realtime/patterns/realtime-application/example/.env.example +1 -0
  101. package/node_modules/@jskit-ai/resource-core/package.json +1 -1
  102. package/node_modules/@jskit-ai/uploads-runtime/package.json +1 -1
  103. package/node_modules/@local/vibe64-core/package.json +2 -0
  104. package/node_modules/@local/vibe64-execution/package.json +1 -0
  105. package/node_modules/@local/vibe64-execution/src/host/execHelper.js +715 -666
  106. package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +873 -872
  107. package/node_modules/@local/vibe64-genesis/src/server/agentSpecs.js +137 -115
  108. package/node_modules/@local/vibe64-genesis/src/server/index.js +627 -612
  109. package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +159 -157
  110. package/node_modules/@local/vibe64-runtime/package.json +1 -0
  111. package/node_modules/@local/vibe64-runtime/src/server/codexAppServerProcess.js +901 -900
  112. package/node_modules/@local/vibe64-terminals/package.json +2 -1
  113. package/node_modules/@local/vibe64-terminals/src/server/opencodeSessionEnvironmentPlugin.js +22 -22
  114. package/node_modules/@local/vibe64-terminals/src/server/sessionWorkOperationCommand.js +382 -380
  115. package/package.json +15 -15
  116. package/server.bundle.mjs +40053 -39872
  117. package/dist/assets/_slug_-C71iAiR0.js +0 -14
  118. package/dist/assets/_slug_-CF1TPDUv.css +0 -1
  119. package/dist/assets/assistantRouting-CqIiQy21.js +0 -3
  120. package/dist/assets/index-C-6c5Af1.css +0 -1
  121. package/dist/assets/useVibe64Learning-iAAH83uG.js +0 -5
  122. package/dist/assets/vibe64SavedEnvValues-CgfMvj_h.js +0 -1
@@ -2,36 +2,64 @@
2
2
 
3
3
  A pass is one kind of improvement the AI makes to your app in one go, such
4
4
  as **Deslop** (simpler code that does the same thing), the **UI pass**
5
- (screens in line with the project's UI guidance) and the other passes
6
- Genesis offers: **Visual identity**, **Quality pass** and **Data pass**. Genesis writes
7
- what each pass does; Vibe64 lists them, runs the one you choose and
8
- suggests one now and then.
5
+ (screens in line with the project's UI guidance), **Review** (a test for each
6
+ behavior the app should have) and the other passes Genesis offers: **Visual
7
+ identity**, **Quality pass**, **Data pass**, **Security pass**, **User
8
+ experience pass** and **Speed pass**. Genesis writes what each pass does and
9
+ the runs it offers; Vibe64 lists them, runs the one you choose, runs the ones
10
+ you tick after each completed plan and suggests one now and then. The
11
+ **Master pass** runs several passes deeply, one after another.
9
12
 
10
13
  ## Open the Passes list
11
14
 
12
- Select the sparkles button (**Passes**) in the row under the main chat's
15
+ Select the checklist button (**Passes**) in the row under the main chat's
13
16
  message box. On a phone the list opens as a sheet from the bottom of the
14
17
  screen; on a wider screen it opens above the button.
15
18
 
16
- Each row shows the pass's name, one line on what it does, and when it last
17
- ran in this project, with the number of commits since then (**Last run: Nov
18
- 10, 2026 · 12 commits since**), or **Never run**. Genesis keeps that date: it
19
- records a pass's run when the pass completes, in the project's own files, so
20
- it travels with the project and counts runs from any session.
19
+ Each row shows the pass's name, one line on what it does, and when it was
20
+ last completed in this project, with the number of commits since then (**Last
21
+ completed: Nov 10, 2026 · 12 commits since**), or **Never completed**. Genesis
22
+ keeps that date: it records it when the pass completes, in the project's own
23
+ files, so it travels with the project and counts passes completed in any
24
+ session. A pass that is running, or was stopped before it finished, still
25
+ shows its last completed date, or **Never completed**.
21
26
 
22
27
  ## Run a pass
23
28
 
24
- Select **Run** beside the pass. The list closes and main chat sends the
25
- pass's own request, which Genesis writes, as your message, which you see in
26
- the chat. **Deslop** and the **UI pass** work on your own changes for the
27
- current task (**Deslop your own changes for the current task.**); the other
28
- passes work on the whole app (**Quality pass the whole app.**). To narrow a
29
- pass, type it yourself instead, such as **UI pass: the bookings pages**. The
30
- pass runs in its own turn on your **Senior** model, as **Deslop** and
31
- **UI pass** do when you type them; **Stop** ends it like any other turn. It
32
- never commits, pushes or publishes: save its work as usual.
29
+ Under each pass is a button for each run Genesis offers for it:
33
30
 
34
- **Run** is unavailable while:
31
+ - **Whole app** runs the pass over the whole app: the project's own code and
32
+ screens in every part of it, never generated, vendored or dependency files.
33
+ - **Since last completed (abc1234, 42 commits)** appears once the pass has
34
+ completed and the commit that recorded it is still in the project's
35
+ history. It starts from the changes since that commit, here 42 commits
36
+ since `abc1234`, and judges them against the whole app, so what they
37
+ duplicate, or should reuse, elsewhere in the app counts too.
38
+ - **Deep (212 files, 18,450 lines)** runs the pass over the whole app item by
39
+ item: the AI first writes a checklist of every file of the project's own code
40
+ (here 212 files, 18,450 lines) and everything the pass adds, such as every
41
+ screen for the UI pass, then reads each one in full and ticks it only with
42
+ evidence you can check, such as a named test or a commit. Under the buttons
43
+ the list says **Deep reads every file: it takes much longer and uses far more
44
+ of your AI's allowance.** Its report opens with the count, such as **212 of
45
+ 212 items ticked with evidence**.
46
+
47
+ Select a run. The list closes and main chat sends that run's own request,
48
+ which Genesis writes, as your message, which you see in the chat, such as
49
+ **Deslop the whole app.** or **Quality pass: the changes since commit abc1234,
50
+ judged against the whole app.** The pass runs in its own turn on your
51
+ **Senior** model, as **Deslop** and **UI pass** do when you type them;
52
+ **Stop** ends it like any other turn. A **Whole app** or **Since last
53
+ completed** run never commits, pushes or publishes: save its work as usual. A
54
+ **Deep** run commits its own work as it goes, in small commits that each say
55
+ what changed and why, and never pushes or publishes: save its work as usual.
56
+
57
+ Genesis records a pass as completed only after one of these runs finishes.
58
+ Typing **Deslop** or **UI pass** yourself works on your own changes for the
59
+ current task, and a narrowed pass you type, such as **UI pass: the bookings
60
+ pages**, works on that part; neither is recorded as the pass.
61
+
62
+ The run buttons are unavailable while:
35
63
 
36
64
  - the AI is working: the list says **A pass starts when the AI is idle.
37
65
  Wait for the current turn to finish, or stop it.**
@@ -41,46 +69,192 @@ never commits, pushes or publishes: save its work as usual.
41
69
  If a pass is refused anyway, for example because a turn started at the same
42
70
  moment, the list shows the reason, such as **Quality pass uses the Senior
43
71
  model in its own turn. Finish or stop the current turn, then send Quality
44
- pass again.** Nothing starts; select **Run** again once the chat is free.
72
+ pass again.** Nothing starts; select the run again once the chat is free.
73
+
74
+ ## Run the Master pass
75
+
76
+ The **Master pass** is the last entry in the Passes list. It runs several
77
+ passes deeply, one after another, so you can ask for all of them at once.
78
+
79
+ Under it is a tick box for each pass it runs, all ticked when the list
80
+ opens, in the order it runs them: **Review**, **Security pass**, **Data
81
+ pass**, **Quality pass**, **Speed pass**, **User experience pass**, **Visual
82
+ identity**, **UI pass** and **Deslop**. Untick a pass to leave it out. The
83
+ order stays the same whichever passes you tick: Review comes first, so every
84
+ later pass starts from tested work, then security, so the others build on what
85
+ it fixes, and Deslop last, so it tidies up after them. With nothing ticked, its
86
+ buttons are unavailable.
87
+
88
+ Its buttons are its runs, each with its size:
89
+
90
+ - **Whole app (212 files, 18,450 lines)** runs each ticked pass as a Deep run
91
+ over the whole app.
92
+ - **Since last completed (abc1234, 7 commits; 12 files, 960 lines)** appears
93
+ once a Master pass has completed and the commit that recorded it is still in
94
+ the project's history. Each ticked pass then works through the changes since
95
+ that commit deeply: every changed file, the code those changes use or
96
+ replace, and a check of the whole app for anything they repeat or leave
97
+ unused. The size counts the files those changes touch.
98
+
99
+ Under the buttons the list says **Runs each ticked pass deeply, one after
100
+ another: it takes much longer and uses far more of your AI's allowance.**
101
+
102
+ Select a run. The list closes and main chat sends Genesis's request as your
103
+ message: **Master pass the whole app.** with every pass ticked, or one naming
104
+ the ticked passes, such as **Master pass (Security pass, Data pass, Deslop)
105
+ the whole app.** It runs in its own turn on your **Senior** model, and
106
+ **Stop** ends it like any other turn. The AI finishes each pass before the next
107
+ starts: its work committed and the app's whole test suite passing. A pass that
108
+ does not apply, such as the UI pass in an app without screens, is skipped with
109
+ its reason. It keeps a ledger of where it is, so sending the same run again
110
+ after a stop carries on from there. Its report covers every pass: its
111
+ checklist count, what changed, its commits and anything it left for you to
112
+ decide. It never pushes or publishes: save its work as usual.
113
+
114
+ Each pass it runs is recorded as completed when it finishes, and so is the
115
+ Master pass, once every ticked pass has finished.
116
+
117
+ ## Choose the passes that run after a plan
118
+
119
+ Passes start on their own at one moment only: when a plan is completed. They
120
+ never start when a turn ends, after a request without a plan or when you
121
+ **Save**; then a pass runs only when you start it from this list, with the
122
+ Master pass, or by typing it.
123
+
124
+ Beside each pass's runs is an **After a plan** tick. Above the passes the list
125
+ says **After a plan: when a plan is completed, each ticked pass checks the
126
+ plan's changes in its own turn, in Master pass order, then Automatically save
127
+ changes runs if it is on. Nothing runs after a request without a plan.**
128
+
129
+ - **Review** and **Security pass** are always ticked and can't be unticked:
130
+ each says **Always runs after a plan.**
131
+ - **Data pass**, **Quality pass**, **UI pass** and **Deslop** are ticked in a
132
+ new chat; **User experience pass**, **Speed pass** and **Visual identity** are
133
+ not.
134
+ - A pass whose Genesis offers a deep run over a plan's changes also has a
135
+ **Deeply** tick, which you can tick once **After a plan** is ticked. A deep
136
+ run works through every changed file item by item: it takes much longer and
137
+ uses far more of your AI's allowance. None is ticked in a new chat.
138
+
139
+ A tick saves at once, for this chat, and applies to the next completed plan. If
140
+ Vibe64 refuses the change, the tick goes back and the list shows why. Before
141
+ the chat has a **Chat mode**, the list says **Choose a Chat mode to change
142
+ these; until then the ticked passes run after a plan.** During a goal the ticks
143
+ are unavailable, and the list says **After a plan can change once the current
144
+ goal finishes.** Lessons and Fix it with AI show no ticks: they run no pass
145
+ after a plan.
146
+
147
+ ### What happens when a plan is completed
148
+
149
+ When Senior completes a plan (see [Choose what happens once work is
150
+ finished](chat-settings.md#when-work-is-finished)), the ticked passes run one
151
+ after another, in the Master pass order: **Review**, **Security pass**, **Data
152
+ pass**, **Quality pass**, **Speed pass**, **User experience pass**, **Visual
153
+ identity**, **UI pass**, **Deslop**. Each runs in its own turn on your
154
+ **Senior** model, with Genesis's request for the changes since the plan's work
155
+ started, such as **Security pass: the changes since base commit abc1234…,
156
+ judged against the whole app.**, or, ticked **Deeply**, **Security pass
157
+ deeply: …**. Each judges those changes against the whole app. The commit they
158
+ start from is where the plan's work started: the commit Vibe64 noted when the
159
+ previous passes after a plan finished, or when a plan became current with none
160
+ noted, otherwise where the session's work left the project's main history.
161
+
162
+ After the last pass, the completed plan is archived and, with **Automatically
163
+ save changes** on, **Save** runs. These runs never change a pass's **Last
164
+ completed** date or its **Since last completed** run: only the runs you start
165
+ from this list count.
166
+
167
+ ### What the chat shows after a plan
168
+
169
+ Each pass adds a notice as it starts, such as **Security pass started
170
+ automatically after the plan (Passes: After a plan)**, or **Data pass deeply
171
+ started automatically after the plan (Passes: After a plan)**.
172
+
173
+ - A ticked pass this project's Genesis can't run is skipped with its reason,
174
+ such as **User experience pass skipped after the plan:** followed by the
175
+ reason the Passes list gives for it.
176
+ - When Vibe64 can't tell where the plan's work started, no pass runs: **The
177
+ passes didn't run after the plan: Vibe64 can't tell where this plan's work
178
+ started in the session's history. Run them from Passes.** The plan is then
179
+ archived and saved as usual. Vibe64 never runs a whole-app pass instead.
180
+ - **Stop**, or a pass turn that fails, ends the passes: **The passes after the
181
+ plan stopped: Security pass was stopped, so Security pass, Data pass, Deslop
182
+ didn't finish and nothing was saved automatically. Run them from Passes.** The
183
+ completed plan stays as it is, and **Resume** doesn't restart them: start the
184
+ passes you still want from this list, then **Save**.
185
+
186
+ ## When the project's Genesis is too old
187
+
188
+ A project runs passes with its own Genesis, the `genesis-compiler` version in
189
+ its `package.json`. When that version cannot run passes, the list says so
190
+ above the passes and names the update, such as **This project's Genesis
191
+ (genesis-compiler 1.10.15) cannot run passes. Update it to 1.10.21 or later
192
+ with npm install --save-dev genesis-compiler@1.10.21, then commit the
193
+ change.** The passes are still listed, without run buttons, and none is
194
+ suggested. When the version runs passes but lacks one, only that pass says
195
+ so (**This project's Genesis (genesis-compiler …) has no …**), followed by
196
+ the same update; a version from before the Master pass says so under it,
197
+ such as **This project's Genesis (genesis-compiler 1.10.21) has no Master
198
+ pass.** When the project's Genesis runs passes in a different way
199
+ from the Genesis this Vibe64 runs, the list says **This project's Genesis
200
+ (genesis-compiler …) runs passes differently from genesis-compiler 1.10.21.
201
+ Update the older of the two.**; the older one may be the project's or this
202
+ Vibe64's. When the project's dependencies are not
203
+ installed, the list says **This project's Genesis (genesis-compiler) is not
204
+ installed. Install the project's dependencies with npm install.**
205
+
206
+ Ask the AI in main chat to make the update the list names, then save it as
207
+ usual; the runs appear the next time you open the list.
45
208
 
46
209
  ## Suggestions
47
210
 
48
211
  Now and then a short suggestion appears above the message box, such as
49
- **Your app has changed a lot since Quality pass last ran. Run it again? 42
50
- commits in 25 days.**, or **Data pass has never run on this app. Run it?
51
- 64 commits so far.** It appears only while the chat is idle: no turn
52
- running, no goal, and nothing typed in the message box. One pass is
53
- suggested at a time.
212
+ **Your app has changed a lot since Quality pass was last completed. Run it
213
+ again? 42 commits in 25 days.**, or **Data pass has never been completed on
214
+ this app. Run it? 64 commits so far.** It appears only while the chat is
215
+ idle: no turn running, no goal, and nothing typed in the message box. One
216
+ pass is suggested at a time.
54
217
 
55
218
  Each pass has an interval, from Genesis's advice on when to run it:
56
219
 
57
220
  | Genesis suggests running it | Passes | Suggested again after |
58
221
  | --- | --- | --- |
59
- | after each change | Deslop, UI pass | 7 days and 20 commits |
222
+ | after each change | Deslop, UI pass, Review | 7 days and 20 commits |
60
223
  | once a first working version exists | Visual identity | 90 days and 30 commits |
61
- | every few weeks of active work | Quality pass, Data pass | 21 days and 30 commits |
224
+ | every few weeks of active work | Quality pass, Data pass, Security pass, User experience pass, Speed pass | 21 days and 30 commits |
62
225
 
63
226
  A pass is suggested once both parts of its interval have passed since it
64
- last ran: the days, and that many commits. A pass that never ran is
65
- suggested once the app has that many commits in all. A pass that never ran
66
- comes first; otherwise the one most overdue for its interval is suggested.
227
+ last completed: the days, and that many commits. A pass that was never
228
+ completed is suggested once the app has that many commits in all. A pass that
229
+ was never completed comes first; otherwise the one most overdue for its
230
+ interval is suggested.
67
231
 
68
- - **Run** starts the pass, exactly as **Run** in the list does.
232
+ - Each run button, such as **Whole app**, starts the pass exactly as that
233
+ run does in the list. A suggestion never offers the **Deep** run: open the
234
+ Passes list for it, where its cost is shown.
69
235
  - **Later** hides the suggestion for a week.
70
236
  - **Dismiss** hides it until that pass runs and completes again.
71
237
 
72
- A suggestion only offers: no pass ever starts on its own.
238
+ A suggestion only offers: it never starts a pass by itself.
73
239
 
74
240
  ## Who can run passes
75
241
 
76
- Passes run on the workspace owner's main chat, so the **Passes** button and
77
- suggestions appear for the owner only. A team member asks the owner, or
78
- sends **Deslop** or **UI pass** in the chat, which waits for the owner's
79
- approval like any other message.
242
+ Passes run on the workspace owner's main chat, so the **Passes** button,
243
+ its **After a plan** ticks and suggestions appear for the owner only. A team
244
+ member asks the owner, or sends **Deslop** or **UI pass** in the chat, which
245
+ waits for the owner's approval like any other message. A team member's
246
+ request to change the passes after a plan is refused with **Main chat runs on
247
+ the workspace owner's AI. Only the owner can change its chat mode, passes after
248
+ a plan, Chat settings or model.**
80
249
 
81
250
  ## Ask Colleague
82
251
 
83
- Colleague can explain the passes and how suggestions work. It can start
84
- **Deslop** or a **UI pass** for you by sending that message to main chat
85
- (see [Run a UI pass](ui-pass.md)). For the other passes, select **Run** in
86
- the Passes list yourself.
252
+ Colleague can explain the passes, their runs (Deep included), the Master pass,
253
+ the passes that run after a plan and how suggestions work, and tell you which
254
+ passes are ticked **After a plan**. It can start **Deslop** or a **UI pass** on
255
+ your own changes for you by sending that message to main chat (see [Run a UI
256
+ pass](ui-pass.md)). For the owner it can tick or untick **After a plan** and
257
+ **Deeply** through the chat mode action; it can't untick **Review** or
258
+ **Security pass**, and it unticks a pass only when you ask, after saying what
259
+ is lost. For a pass's runs or the Master pass, select one in the Passes list
260
+ yourself.
@@ -61,25 +61,36 @@ Updates appear while the viewer is open.
61
61
 
62
62
  ## Automatic completion and archival
63
63
 
64
- After Auto's final Senior review and any enabled Deslop and UI pass finish successfully,
65
- Senior explicitly marks the involved plan Completed. Once the final explanation
66
- has been delivered and that review turn finishes, Vibe64 automatically moves
67
- that exact Plan and Progress pair into History. Chat shows **Completed plan
68
- archived** with **View plan history**, which opens this session's existing viewer.
69
- The plan icon remains available and opens History when there is no current plan.
70
- With **Automatically save changes** on (the default; see [Choose what runs after
71
- each piece of work](chat-settings.md)), Vibe64 then runs the ordinary **Save**
72
- once and notes the result in chat. In a Senior chat Senior completes the plan
73
- the same way after its own finishing turn; a Junior or Custom chat's finishing
74
- turn leaves the plan active for Senior to complete, and Save still runs.
75
-
76
- Senior can update checklist ticks and Progress during review without preventing
77
- completion. The agreed plan wording must still match the reviewed scope, and
64
+ Only Senior marks a plan Completed, once it has verified every agreed
65
+ requirement: in Auto, in the turn in which Senior checks the plan Junior
66
+ implemented; in a Senior chat, or when Senior implemented it, in Senior's own
67
+ work on it. A Junior or Custom
68
+ chat leaves the plan active for Senior to complete, and its work is saved as
69
+ usual. Once the final explanation has been delivered and that turn finishes, the
70
+ passes ticked under **After a plan** in [Passes](passes.md#choose-the-passes-that-run-after-a-plan)
71
+ run, each in its own turn over the plan's changes. After the last one, Vibe64
72
+ moves that exact Plan and Progress pair into History. Chat shows **Completed
73
+ plan archived** with **View plan history**, which opens this session's existing
74
+ viewer. The plan icon remains available and opens History when there is no
75
+ current plan. With **Automatically save changes** on (the default; see [Choose
76
+ what happens once work is finished](chat-settings.md)), Vibe64 then runs the
77
+ ordinary **Save** once and notes the result in chat. When a pass after the plan
78
+ is stopped or fails, the completed plan stays current, unarchived, and nothing
79
+ is saved automatically.
80
+
81
+ Senior's check of a plan runs only when Junior implemented it in Auto and the
82
+ plan is still active afterwards; it is not a pass, has no setting and runs no
83
+ pass. Work done without a plan is no longer reviewed, deslopped or UI-passed
84
+ automatically: ask for those from [Passes](passes.md), through the Master pass,
85
+ or by typing the request in chat.
86
+
87
+ Senior can update checklist ticks and Progress while checking the plan without preventing
88
+ completion. The agreed plan wording must still match the checked scope, and
78
89
  completion uses the latest saved Plan and Progress together.
79
90
 
80
91
  A finished implementation or an agent's handoff explanation is not completion.
81
- Interrupted reviews, unfinished plans and unrelated requests do not archive a
82
- plan. A different plan created while reviewing is not archived by the old review.
92
+ Interrupted checks, unfinished plans and unrelated requests do not archive a
93
+ plan. A different plan created while Senior checks one is not archived by that check.
83
94
  If automatic archival cannot be confirmed, the notice explains the problem;
84
95
  inspect Current plan and History before retrying Archive. Older completed plans
85
96
  are not moved retroactively just by opening or restoring a session.
@@ -0,0 +1,93 @@
1
+ # See what happened in a session (session timeline)
2
+
3
+ Each session keeps a short **timeline** of what happened to it, so you, or
4
+ whoever helps you, can see why an AI turn stopped or why the page said the
5
+ connection was lost. It is read with one command in a terminal on the computer
6
+ that runs Vibe64; there is no screen for it.
7
+
8
+ ## Read it
9
+
10
+ List the sessions that have a timeline, most recent first:
11
+
12
+ ```sh
13
+ npx vibe64 timeline
14
+ ```
15
+
16
+ Each line shows when the session's timeline last changed, its project, its
17
+ session id and its size. A session's id is also the end of its working branch,
18
+ `vibe64/<session id>`.
19
+
20
+ Show one session, oldest event first:
21
+
22
+ ```sh
23
+ npx vibe64 timeline 2026-11-14_04-58-00
24
+ ```
25
+
26
+ ```text
27
+ 2026-11-14T05:00:00.000Z Browser tab connected (tab tab:5f…; user owner)
28
+ 2026-11-14T05:00:05.000Z Turn started (Main chat; engine claude; message message_tab_…; asked by owner; via POST /api/…)
29
+ 2026-11-14T05:00:06.000Z Turn running (Main chat; engine claude; turn 7c…)
30
+ 2026-11-14T05:01:00.000Z Browser tab disconnected (tab tab:5f…; user owner; reason: ping timeout)
31
+ 2026-11-14T05:01:30.000Z Browser tab reconnected (tab tab:5f…; user owner; after 30 s offline)
32
+ 2026-11-14T05:02:10.000Z Turn finished (Main chat; engine claude; turn 7c…)
33
+ ```
34
+
35
+ Narrow it down:
36
+
37
+ | Option | Shows |
38
+ | --- | --- |
39
+ | `--since 2h` | Events from the last two hours. Also `90s`, `30m`, `7d`, or an ISO time such as `2026-11-14T05:00:00Z`. |
40
+ | `--until TIME` | Events before that time. |
41
+ | `--kind turn,connection` | Only those kinds: `turn`, `conversation`, `process`, `connection`, `request`, `server`. |
42
+ | `--project NAME` | The project to use when two projects have a session with that id; the command says so. |
43
+ | `--json` | One JSON object per line, for tools. |
44
+ | `--state-root DIR` | Another Vibe64 state folder (see below). |
45
+
46
+ `npx vibe64 timeline --help` prints the same list. A session without a timeline
47
+ answers **No timeline for session …**.
48
+
49
+ ## What it records
50
+
51
+ - **Turns**: a message that started a turn or joined the running one, a
52
+ message that was not sent (with its error code), the turn running, and how it ended:
53
+ finished, failed, interrupted, cancelled, stopped at its deadline, or Vibe64
54
+ losing sight of it. **Cancel requested** and **Stop requested** say who asked,
55
+ why (such as `cancel-message`) and through which request; `via background`
56
+ means Vibe64 asked by itself. Each line names the chat (**Main chat**, a **temporary
57
+ chat** or an **AI task window**) and the AI engine.
58
+ - **Conversations**: temporary chats and AI tasks opened and closed, and an
59
+ AI engine session closed, for example when the session's AI changes.
60
+ - **AI engine processes**: a Claude Code process started, stopped by Vibe64
61
+ (with the reason), or exited (with its exit code or signal).
62
+ - **Browser connections**: each browser tab that opens the session, leaves it,
63
+ disconnects (with the reason, such as `ping timeout` or `transport close`)
64
+ and reconnects (with how long it was away). A dropped connection never stops
65
+ a running turn; the timeline shows the two side by side.
66
+ - **Failed requests**: a request about the session that failed on Vibe64's side
67
+ (status 500 or above), with its method, route, status and error code.
68
+ - **Server stopping**: Vibe64 stopping while the session was in use.
69
+
70
+ It records ids, states, reasons and error codes only. It never holds your
71
+ messages, the AI's replies, prompts, tool output, file contents or secrets.
72
+
73
+ ## Where it is kept
74
+
75
+ The timeline stays on the computer that runs Vibe64, beside the session's other
76
+ state: `<state folder>/projects/<project>/timeline/<session id>.jsonl`. The
77
+ state folder is `~/.local/state/vibe64` on Linux (or `$XDG_STATE_HOME/vibe64`),
78
+ `~/Library/Application Support/Vibe64` on macOS, or the folder in
79
+ `VIBE64_SYSTEM_ROOT` when Vibe64 was started with it; `--state-root` reads
80
+ another one.
81
+
82
+ Only the account that runs Vibe64 (and the computer's administrator) can read
83
+ it. Nothing sends it anywhere: to share it, copy the lines you want to share.
84
+
85
+ A session keeps at most two files of 1 MB each: when the newest is full it
86
+ replaces the older one, so a busy day keeps its most recent events. A
87
+ timeline untouched for 14 days is removed.
88
+
89
+ ## Colleague
90
+
91
+ Colleague can explain what each timeline line means and which options to use,
92
+ but it does not run terminal commands and cannot read the timeline itself:
93
+ run the command and paste the lines you want explained.
@@ -147,6 +147,12 @@ message is sent. A tab that lost its connection catches up when it reconnects.
147
147
  Every open tab shows the same progress: when the reply arrives, “AI is working…”
148
148
  clears in each tab, including tabs that did not send the message.
149
149
 
150
+ A lost connection, a reconnect or a reload never stops the AI. Its turn keeps
151
+ running on the server; when the tab reconnects or reloads, the chat shows that
152
+ same turn still working, with what the AI wrote meanwhile, and then its answer.
153
+ Only **Stop**, **Cancel**, closing the chat or a Vibe64 restart end a turn. This
154
+ works the same on desktop and phone.
155
+
150
156
  Leaving the view does not stop work or close a chat, and it still saves the
151
157
  draft and settings you just changed. Use **Stop** to interrupt
152
158
  work while retaining the conversation, or **Close** (the X on the chat's tab) to
@@ -9,8 +9,9 @@ checks the screens it changed in the managed browser and reports what changed
9
9
  and what it verified. It never commits, pushes or publishes.
10
10
 
11
11
  The UI pass sits beside Deslop. Deslop cleans up code; the UI pass cleans up
12
- screens. Each runs either automatically after each piece of work, when its
13
- switch is on, or when you ask for it in the chat.
12
+ screens. Each runs automatically after a completed plan, while it is ticked
13
+ under **After a plan** in [Passes](passes.md#choose-the-passes-that-run-after-a-plan),
14
+ or when you ask for it in the chat.
14
15
 
15
16
  ## Ask for a UI pass in the chat
16
17
 
@@ -26,9 +27,10 @@ Type one of these as the whole message in main chat and send it:
26
27
  only mentions the UI pass, such as “What does the UI pass change?”, is ordinary
27
28
  chat and starts nothing.
28
29
 
29
- **Run** beside **UI pass** in the chat's **Passes** list sends `UI pass your
30
- own changes for the current task.` for you; see
31
- [Run a pass on your app](passes.md).
30
+ **Whole app** under **UI pass** in the chat's **Passes** list sends `UI pass
31
+ the whole app.` for you, and **Since last completed (…)** the changes since
32
+ the UI pass last completed, judged against the whole app; only those runs are
33
+ recorded as the UI pass completing. See [Run a pass on your app](passes.md).
32
34
 
33
35
  The UI pass runs in its own turn on your **Senior** model, whatever the chat
34
36
  mode, the way “Deslop” does; in **Custom** it uses the Custom model. It is not
@@ -47,31 +49,22 @@ so you can send it again once the chat is free. If your Senior model is
47
49
  unavailable, or cannot use coding tools, the UI pass is refused with that
48
50
  reason instead of running on Junior; choose a Senior model in **Models**.
49
51
 
50
- ## Run it automatically after each piece of work
51
-
52
- **Automatically UI pass changes**, under **Chat settings** in **Chat mode**
53
- (the icon inside the message box), is on for new chats and works in every chat
54
- mode. While it is on, once a piece of work is finished, the agent that finishes it
55
- (Senior in **Auto**, otherwise the chat's own agent) runs the UI pass on the
56
- screens that work changed, after any review and Deslop, in the same turn and
57
- before **Save**. The chat notes **UI pass started automatically (Chat settings:
58
- Automatically UI pass changes)** as it starts. Nothing runs on its own while the
59
- switch is off.
60
-
61
- It is saved for each chat, so a chat that has it off keeps it off until you
62
- turn it on, and its change applies to the next piece of work. Turning it on
63
- saves at once. Turning it off asks first, as the other switches do: **Turn off
64
- Automatic UI pass?** says that the screens the work changes will no longer get
65
- a design review, and that typing “UI pass” in the chat still runs one. **Cancel** keeps it on; **Turn off
66
- Automatic UI pass** saves it off. The line under the switch is a reminder of the
67
- chat command: **Or tell the agent “UI pass” any time — add “: <section>” or “:
68
- the whole app”.** The chat-mode button's label adds **Automatic UI pass on**
69
- while it is on. It is the owner's main chat choice: a team member sees it
70
- disabled, and it is disabled while a goal is active. Temporary chats and AI
71
- tasks have no automatic UI pass; ask for one in main chat instead. See [Choose
72
- what runs after each piece of work](chat-settings.md) for all four switches.
73
-
74
- **Chat mode** and the switch are the same on desktop and mobile.
52
+ ## Run it automatically after a plan
53
+
54
+ The UI pass also runs on its own when a plan is completed, while its **After a
55
+ plan** tick in [Passes](passes.md#choose-the-passes-that-run-after-a-plan) is
56
+ ticked, as it is for new chats. It then runs in its own turn on your **Senior**
57
+ model, after the other ticked passes and before Deslop, over the changes since
58
+ the plan's work started, and the chat notes **UI pass started automatically
59
+ after the plan (Passes: After a plan)** as it starts. It never runs on its own
60
+ after a request without a plan, when a turn ends or when you **Save**: type
61
+ **UI pass** for that work instead.
62
+
63
+ The tick is saved for each chat, so a chat that has it unticked keeps it so
64
+ until you tick it, and its change applies to the next completed plan. It is the
65
+ owner's main chat choice: team members don't see Passes, and the ticks are
66
+ unavailable while a goal is active. Temporary chats and AI tasks run no pass
67
+ after a plan; ask for one in main chat instead.
75
68
 
76
69
  ## Ask Colleague
77
70
 
@@ -81,12 +74,13 @@ Colleague can explain the UI pass and its scopes. It can also:
81
74
  session”; Colleague sends the matching `UI pass` message to main chat, which
82
75
  you then see there. A team member's message waits for the owner's approval as
83
76
  any other main chat message does.
84
- - turn **Automatically UI pass changes** on or off for the owner through the
85
- chat mode action, and tell you whether it is on.
77
+ - tick or untick the UI pass **After a plan** for the owner through the chat
78
+ mode action, and tell you whether it is ticked.
86
79
 
87
80
  A question or an offer starts nothing; Colleague acts only on your direct
88
81
  request or an offer you accept.
89
82
 
90
- See [Choose what runs after each piece of work](chat-settings.md) for the
91
- switches, [Choose Auto roles and follow the workflow](auto-workflow.md) for
92
- Auto, and [Goals and model changes](coding-agent-goals.md) for goals.
83
+ See [Run a pass on your app](passes.md) for the passes after a plan, [Choose
84
+ what happens once work is finished](chat-settings.md) for automatic save,
85
+ [Choose Auto roles and follow the workflow](auto-workflow.md) for Auto, and
86
+ [Goals and model changes](coding-agent-goals.md) for goals.
@@ -2,7 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - A Codex conversation no longer fails to start on a busy host because its app-server took longer to answer than the conversation's admission deadline. The common runtime's Codex driver passed `limits.admissionTimeoutMs` as the app-server's start deadline, so a host that set a short admission deadline (2 seconds, say, to notice a lost acknowledgement soon) also gave each start that long, and a start slowed by the host's load failed with `codex_app_server_ready_timeout` ("Codex app-server did not become ready at …"). The start now has its own 30-second bound, as OpenCode's has, and `admissionTimeoutMs` bounds only the requests that admit a message.
6
+ - An OpenCode message no longer fails with `TimeoutError: The operation was aborted due to timeout` when the shared OpenCode server answers its health probe in more than a second. Before each message's preparation, and when a conversation checks that its native session is ready, the runtime probed the running server with a fixed one-second deadline and failed the message when a busy host answered later. Each probe now waits up to the readiness bound a starting server has (`OPENCODE_READY_TIMEOUT_MS`, 30 seconds), so only a hung server fails it; `createOpenCodeSharedRuntime` takes `healthTimeoutMs` to set another. A refused connection still replaces the stopped server at once, and a probe that times out still keeps every other conversation on the server.
7
+ - A native process's identity check on Linux reads `/proc` 32 processes at a time instead of one at a time. Every process is still read, since a runtime's processes can leave its process group, but each of a scan's two reads per process had waited behind the host's other file work: on a busy desktop a scan took a third of a second, and stopping and settling a Codex app-server scans several times.
5
8
  - An application tool's failure takes the status the HTTP layer answers with (`resolveApiErrorStatus` from `@jskit-ai/kernel/server/runtime/errors`), so a refusal json-rest-api throws without a status, such as a `REST_API_VALIDATION` "Foreign key fields cannot be set directly in attributes", reaches the model as a 422 with its message, as a person reads it, instead of "Tool call failed." with status 500, which also ended the turn as an operation whose outcome is unknown. A json-rest-api resource that is missing, forbidden or in conflict answers 404, 403 or 409 with its message and code, as over HTTP. A refusal json-rest-api wraps in a `RestApiWriteError`, which copies its message, code, status and details, reads as the refusal itself, field errors included. An internal failure, `REST_API_TEMPORAL_DATA_INVALID` among them, still reads only "Tool call failed.".
9
+ - A refusal json-rest-api raises itself reaches the model with its status and code but the message "Tool call failed.", no longer json-rest-api's own text: those sentences are for the code that called it, and name internal resource types and record ids ("Cannot create relationship to non-existent <type> with id <id>", "Resource not found", "Foreign key fields cannot be set directly in attributes"), while the model relays a tool's failure to people. The message is a refusal's own only when the application raised it with its status (an `AppError`, a `DomainValidationError`, an action's input check or permission refusal), as the failure itself or inside json-rest-api's `RestApiWriteError`, field errors included as before. An error that copies a json-rest-api error's message (the resource runtime's 400 for an invalid sparse fieldset) and a database error json-rest-api wraps in a conflict read as json-rest-api's. An application that wants a person to read why a write was refused raises its own refusal before the write, in its own words.
6
10
  - A validation error an action throws as it runs, such as `createValidationError({ parcels: "..." })` or a `DomainValidationError` with field errors, now reaches the model with its field errors, as a refusal by the action's input check already did: the tool result's message is the error's own followed by each field error (`Validation failed. parcels: The parcel weights add up to 12 kg, not the 15 kg recorded.`) instead of only `Validation failed.`, so the AI can tell the person what to fix. The catalogue recognises a validation error as the HTTP layer does, by the field errors a refusal carries (`errorFieldErrors` from `@jskit-ai/kernel/shared/validators`), so the model reads the field errors a person would see on screen. An internal failure still reads only `Tool call failed.`, and any other refusal, a permission or not-found refusal among them, still gives only its message and code, never its details. An unsaved action's refusal, like its result, stays in the live reply.
7
11
  - An action may declare `extensions.assistant.unsaved: true` for a tool whose call must not outlive the reply, such as listing the anonymous surveys open to a person. Its call (name, arguments) and result reach the model only within the live turn: no reservation or result is saved, no `tool` event is published, `metadata.applicationTools` leaves it out, the kernel writes no `action.execution` line, and a later turn never reads it. No placeholder marks where it ran; instead the tool's description carries a fixed note that its call and result are kept only for this reply. A step that only ran unsaved tools takes no `reply-N` number, a lost outcome ends the turn with the generic `assistant.turn.requestIncomplete` error, and a reply offering one sends `store: false` to OpenAI's and xAI's Responses APIs. The catalogue's descriptors carry `unsaved`, so an app test can assert it. `resolveToolSet(context, { offerUnsaved, unsavedRefusal })` offers unsaved tools only to a caller that keeps them (`offerUnsaved: true`), only as direct tools (ahead of `alwaysAvailable` actions beside discovery, within the same eight), never through discovery, and lists the actions it holds back in the tool set's `withheld` with a plain reason. Each driver declares `unsavedToolsRefusal`: empty for the API engine; Claude, Codex and OpenCode, which save every tool call in their own history, refuse with their reason. `createConversationTools()` takes `offerUnsaved` and `unsavedRefusal`, and refuses a supplied tool set that offers an unsaved tool without `offerUnsaved`. A malformed `unsaved` (anything but `true` or `false`) stops the catalogue with an error naming the action, instead of leaving the action out.
8
12
  - A message to a Claude conversation whose previous Claude process stopped during a background command no longer fails with "Claude has no active turn for this message." (`conversation_steer_turn_finished`). The resumed Claude reports that command as stopped, with a result, while the message's turn is being prepared, and that result ended the turn before the message was written. That exact pre-write rejection now admits the same message once more, as a goal command's already did; a second such rejection still fails, unsent.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/assistant-core",
3
- "version": "0.2.62",
3
+ "version": "0.2.71",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./client": "./src/client/index.js",
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - An application decides each new turn of the database-backed assistant by providing the optional `assistant.turnGuard` capability, `{ admit({ targetSurfaceId, context, input, conversationId, messageId }) }`, which the chat service asks once per new turn, after the replay check and before the AI connection is resolved, the turn is claimed or anything is saved or sent. `{ allowed: true }` runs the turn as before. `{ reply }` answers it with that text instead of the model: the message and the reply are saved as one completed turn and streamed like any answer, and no AI connection is resolved and the model is never called. An `AppError` it throws refuses the turn with its status, code and details (for example 429, `weekly_limit`, `{ resetsOn }`), and nothing is saved. Any other value fails the turn with a 500 and an error log naming the value. A replayed message ID never calls `admit`; two simultaneous first sends of one message ID can both call it, so a guard that counts counts each `messageId` once. Without the capability nothing changes. A fixed reply saves the message's text, not its files. `createAssistantRuntime` takes `turnGuard` (`AssistantFeature` passes `NO_TURN_GUARD` without the capability), and `createChatService` takes `conversationStorage` and `turnAdmission`. `test/turnGuard.test.js` proves each decision through the chat route on SQLite.
6
+ - A completed turn's `done` event names its two saved messages, `storedMessageIds: { user, assistant }`, and the replay of a completed turn repeats them. `useAssistantRuntime`'s messages carry `storedId`, the saved row's ID: a restored message has it at once, a message sent in the view gets it from the `done` event, and an unsaved one (a failed or stopped reply) has `null`.
7
+ - `AssistantSurfaceClientElement` forwards an application's `message-actions` slot, with `{ message }` (its `id`, `storedId` and `role`), under each assistant reply after the reply's failed or stopped notice, for controls such as a Report button. `conversation.browser.test.js` renders one beside the failed and stopped notices and checks each reply's role and stored ID, live and restored.
5
8
  - A database surface's assistant offers the app's unsaved actions (`extensions.assistant.unsaved: true`) to its API conversations and lists them in its system prompt among the tools on offer. Their calls and results are never written to the conversation's message rows, its turn requests, the stream or the action log, and the conversation's export and later turns hold neither.
6
9
  - A conversation's question form (`questions`) stays when the AI follows its questions with a short message in the same turn, such as "I'll build it once you've answered those three.": the retained conversation reads the form's questions with `@jskit-ai/assistant-core`'s new `latestAssistantQuestionsAwaitingUserReply`, the newest questions among the AI's last ten messages since the person's latest message, instead of only the AI's last reply. Nothing is offered while the reply is in progress, and dismissing or answering works as before.
7
10
  - `assistantServer.<surface>.maxToolArgumentBytes` (a whole number of bytes, at most 1 MiB) raises a surface's limit on an application tool call's arguments from the default 32 KiB, for an assistant that writes a large document in one call. The surface's own limit is the one its conversations' calls are held to and the one every engine is given (the OpenCode tool connection included); before, the runtime enforced and handed engines the default surface's 32 KiB whatever a surface's catalogue allowed. `assistantServer.<surface>.maxToolResultBytes` (also at most 1 MiB) raises its limit on a tool call's result from the default 48 KiB in the same way, for an assistant that reads a large document back: a larger result reaches the model as `assistant_tool_result_too_large` instead. A malformed value of either stops the server from starting. **Breaking.** The surface-aware tool catalogue no longer has a `limits` property, which always answered the default surface's: each tool set it resolves carries its surface's `limits`. New migration `assistant_transcripts_tool_arguments`: on MySQL and MariaDB, `assistant_messages.content_text` becomes LONGTEXT, so a saved call's arguments and result may pass TEXT's 64 KiB; PostgreSQL and SQLite are unchanged.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/assistant-runtime",
3
- "version": "0.2.66",
3
+ "version": "0.2.76",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./client": "./src/client/index.js",