vibe64 0.1.64 → 0.1.66

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 (158) hide show
  1. package/bin/run.js +823 -820
  2. package/bin/server.js +200 -197
  3. package/bin/upgrade-state.js +4192 -4064
  4. package/dist/assets/{GithubBrowserTabs-Cf6ce1lO.js → GithubBrowserTabs-Bf5z_PiF.js} +1 -1
  5. package/dist/assets/{LocalDatabaseServer-0VGIcy5Q.js → LocalDatabaseServer-CcfGbn7H.js} +1 -1
  6. package/dist/assets/{SelectField-RGWl_ms9.js → SelectField-Df50ZFLj.js} +1 -1
  7. package/dist/assets/{ShellOutlet-CdjsJfg9.js → ShellOutlet-DPyl05um.js} +1 -1
  8. package/dist/assets/{StudioErrorNotice-CCT_T6mT.js → StudioErrorNotice-vDR4qneB.js} +1 -1
  9. package/dist/assets/{VAutocomplete-BnpXAJGa.js → VAutocomplete-NpBcbYkR.js} +1 -1
  10. package/dist/assets/VBtn-Com1gNEe.js +1 -0
  11. package/dist/assets/{VCard-BFqQSnAE.js → VCard-DY_DdI8Z.js} +1 -1
  12. package/dist/assets/{VCheckbox-BK0ss4F4.js → VCheckbox-CkezAf4Z.js} +1 -1
  13. package/dist/assets/{VCheckboxBtn-DDlYJnth.js → VCheckboxBtn-8g4R-c2w.js} +1 -1
  14. package/dist/assets/{VChip-D2IukBZw.js → VChip-tORFnf7z.js} +1 -1
  15. package/dist/assets/{VDialog-BCIrX462.js → VDialog-CapFiCqp.js} +1 -1
  16. package/dist/assets/{VExpansionPanels-BHw1Id_o.js → VExpansionPanels-B6U2XdWH.js} +1 -1
  17. package/dist/assets/{VMenu-Bql3E6DV.js → VMenu-CO6B6LWk.js} +1 -1
  18. package/dist/assets/{VOverlay-EPzW7eVB.js → VOverlay-CrfaXCOL.js} +1 -1
  19. package/dist/assets/{VRadioGroup-CL3HTmyT.js → VRadioGroup-BrPW6foD.js} +1 -1
  20. package/dist/assets/{VRow-Dz87sIhY.js → VRow-DHETsEMn.js} +1 -1
  21. package/dist/assets/{VSelect-Ch00dyiM.js → VSelect-gYJ6qrBP.js} +1 -1
  22. package/dist/assets/{VSheet-D5wAuyc2.js → VSheet-_Grtwpfz.js} +1 -1
  23. package/dist/assets/{VSkeletonLoader-Bl9P5wdh.js → VSkeletonLoader-CQXCEJsR.js} +1 -1
  24. package/dist/assets/VSpacer-VLYDmg7o.js +1 -0
  25. package/dist/assets/{VSwitch-DftK1EyR.js → VSwitch-ffi-Y2TU.js} +1 -1
  26. package/dist/assets/{VTable-DHazU0Xx.js → VTable-Cver5Vl3.js} +1 -1
  27. package/dist/assets/{VTextField-B9R7EIjg.js → VTextField-DP6b7Qaf.js} +1 -1
  28. package/dist/assets/{VTextarea-CMgyRNk-.js → VTextarea-7mdIF4I0.js} +1 -1
  29. package/dist/assets/{VToolbar-C8ydxLzq.js → VToolbar-CYz3lneF.js} +1 -1
  30. package/dist/assets/{Vibe64AsyncModuleState-9bN0_H45.js → Vibe64AsyncModuleState-CO1rMrtD.js} +1 -1
  31. package/dist/assets/{Vibe64AuthSettingsButton-BGtVvQq0.js → Vibe64AuthSettingsButton-CxJoeOhz.js} +1 -1
  32. package/dist/assets/{Vibe64ConversationLog-Cv_BE9yH.js → Vibe64ConversationLog-jDb_ZvIF.js} +1 -1
  33. package/dist/assets/{Vibe64DashboardPageHeader-xfRLZ94G.js → Vibe64DashboardPageHeader-CobvMlFm.js} +1 -1
  34. package/dist/assets/{Vibe64DashboardShell-B3TN3NBS.js → Vibe64DashboardShell-Ce1PNB37.js} +1 -1
  35. package/dist/assets/{Vibe64DatabaseWorkspace-CU0jCfP_.js → Vibe64DatabaseWorkspace-DiZDKEpx.js} +1 -1
  36. package/dist/assets/{Vibe64DestinationButton-CdyyK9tj.js → Vibe64DestinationButton-B4Zz4a7J.js} +1 -1
  37. package/dist/assets/{Vibe64FileArea-BWl-q11N.js → Vibe64FileArea-uRnIJ0Vp.js} +1 -1
  38. package/dist/assets/{Vibe64OutputControls-DnfGKZHs.js → Vibe64OutputControls-BF5kh2_h.js} +1 -1
  39. package/dist/assets/{Vibe64RepositoryWorkspace-3UKN_pPs.js → Vibe64RepositoryWorkspace-D6uJCype.js} +1 -1
  40. package/dist/assets/{Vibe64SessionFiles-B1U6XSWQ.js → Vibe64SessionFiles-CxgPB8RR.js} +1 -1
  41. package/dist/assets/{Vibe64SessionSourceEditor-De1QyTOd.js → Vibe64SessionSourceEditor-yaVu279S.js} +1 -1
  42. package/dist/assets/{Vibe64UiStoryboardView-JRGcklim.js → Vibe64UiStoryboardView-DhbHkz8K.js} +1 -1
  43. package/dist/assets/{Vibe64UnavailableSessions-Bd_-gPuL.js → Vibe64UnavailableSessions-MmPF-Db1.js} +1 -1
  44. package/dist/assets/{_pageId_-DIPouI7Z.js → _pageId_-Zif-veil.js} +1 -1
  45. package/dist/assets/{_sessionId_-qH7uIGNl.js → _sessionId_-DOge-7SB.js} +1 -1
  46. package/dist/assets/_slug_-C71iAiR0.js +14 -0
  47. package/dist/assets/_slug_-CF1TPDUv.css +1 -0
  48. package/dist/assets/{access-O4hOM9ov.js → access-DQcblrWN.js} +1 -1
  49. package/dist/assets/{app-CXljwZ0u.js → app-CzApKPmq.js} +1 -1
  50. package/dist/assets/assistantRouting-CqIiQy21.js +3 -0
  51. package/dist/assets/{changes-C5gleyWS.js → changes-cmlEyHug.js} +1 -1
  52. package/dist/assets/{client-DMEf6RSZ.js → client-13v_yX07.js} +1 -1
  53. package/dist/assets/{client-CI-o7ITq.js → client-5JUUGxRd.js} +2 -2
  54. package/dist/assets/{client-4uCr4dYG.js → client-BJBzomgt.js} +1 -1
  55. package/dist/assets/{client-Do8szX_w.js → client-C8ZjqGdQ.js} +2 -2
  56. package/dist/assets/{client-fF-hq8nJ.js → client-Dl6I6IVb.js} +1 -1
  57. package/dist/assets/{client-BRcncaFt.js → client-Dv4scw6i.js} +1 -1
  58. package/dist/assets/{conversation-DiL2PEct.js → conversation-CFJRkeTj.js} +3 -3
  59. package/dist/assets/{conversation-RscSzQxq.css → conversation-COcuIkcD.css} +1 -1
  60. package/dist/assets/conversation-CexAK3Qk.js +1 -0
  61. package/dist/assets/{dashboard-BWlG0Nli.js → dashboard-Dm_xwwqU.js} +1 -1
  62. package/dist/assets/{english-definitions-DcuZfQ4p.js → english-definitions-DwTf_alg.js} +1 -1
  63. package/dist/assets/{env-D3DVC-Gd.js → env-B7wB5nBn.js} +1 -1
  64. package/dist/assets/{error-BQ7r64JO.js → error-CtOws2EC.js} +1 -1
  65. package/dist/assets/{error-BqMxhgpB.js → error-HfzrYwkQ.js} +1 -1
  66. package/dist/assets/errorMessageHelpers-G32Hjqfm.js +1 -0
  67. package/dist/assets/{fileTypes-2k5HCkMT.js → fileTypes-iPZyrJA1.js} +1 -1
  68. package/dist/assets/{health-B9ZoQC78.js → health-DIkOkzPe.js} +1 -1
  69. package/dist/assets/{history-BrWT8DRp.js → history-Ch597NiY.js} +1 -1
  70. package/dist/assets/{httpClient-Bwitq9Xf.js → httpClient-C71X5grL.js} +1 -1
  71. package/dist/assets/{i18n-BuXRXGaO.js → i18n-5EHeMSvt.js} +1 -1
  72. package/dist/assets/{i18n-BkxO7BMl.js → i18n-BSfPKqM3.js} +1 -1
  73. package/dist/assets/{i18n-Dm74yE_M.js → i18n-DcNQE3tT.js} +1 -1
  74. package/dist/assets/index-C-6c5Af1.css +1 -0
  75. package/dist/assets/index-DcKFCaBZ.js +134 -0
  76. package/dist/assets/{integrations-C4p_QTuv.js → integrations-CoNhnGvq.js} +1 -1
  77. package/dist/assets/{issues-KxOOLtSM.js → issues-Cem4Yt47.js} +1 -1
  78. package/dist/assets/{layout-B_cpKP4k.js → layout-DMZV-nbg.js} +1 -1
  79. package/dist/assets/{lazy-vXRXMwYF.js → lazy-mtFmsnct.js} +1 -1
  80. package/dist/assets/{learning-BWqH7wag.js → learning-CU2QyHrj.js} +1 -1
  81. package/dist/assets/{pages-DcNh-g_z.js → pages-BzA58NoR.js} +1 -1
  82. package/dist/assets/{project-files-C3a_vnA4.js → project-files-BBKjl3wZ.js} +1 -1
  83. package/dist/assets/{publish-B1f2baHh.js → publish-UFjblZA3.js} +1 -1
  84. package/dist/assets/{pull-requests-BHq5Yafl.js → pull-requests-DibGk1GB.js} +1 -1
  85. package/dist/assets/{repository-DMBew8kp.js → repository-0EKOcyTL.js} +1 -1
  86. package/dist/assets/{session-B5MoHBVk.js → session-FRkCCzYt.js} +1 -1
  87. package/dist/assets/{settings-DDpgGhWO.js → settings-BjOnPYwD.js} +1 -1
  88. package/dist/assets/{studioGateApi-UqmdV50W.js → studioGateApi-B9EUTtMx.js} +1 -1
  89. package/dist/assets/{studioUrls-k_pQIuPs.js → studioUrls-BR4ZL-TN.js} +1 -1
  90. package/dist/assets/{useArchivedVibe64Sessions-C5Qguyob.js → useArchivedVibe64Sessions-CXKRFR2f.js} +1 -1
  91. package/dist/assets/useAssistantAttachments-C9kAnWqw.js +2 -0
  92. package/dist/assets/useCommand-yOr3U8KF.js +1 -0
  93. package/dist/assets/useEndpointResource-BwGXpV2u.js +1 -0
  94. package/dist/assets/useUiFeedback--0dLsslR.js +1 -0
  95. package/dist/assets/{useVibe64ConversationLog-BZ5g9Jp7.js → useVibe64ConversationLog-BB5tVtkt.js} +2 -2
  96. package/dist/assets/{useVibe64Learning-DiLAIKbI.js → useVibe64Learning-iAAH83uG.js} +1 -1
  97. package/dist/assets/{useVibe64SessionData-D9d4NfDo.js → useVibe64SessionData-BSYF_TgH.js} +1 -1
  98. package/dist/assets/{useVibe64SessionSelection-DT1rJVvx.js → useVibe64SessionSelection-CxZ3uEAf.js} +1 -1
  99. package/dist/assets/{vibe64FileUpload-BDkcaUyk.js → vibe64FileUpload-D_rOa1R8.js} +1 -1
  100. package/dist/assets/vibe64RepositoryRealtime-CRAyGyRD.css +1 -0
  101. package/dist/assets/vibe64RepositoryRealtime-CVGNqwxz.js +1 -0
  102. package/dist/assets/{vibe64SessionFocus-CLtCTOxq.js → vibe64SessionFocus-DGSVXipO.js} +1 -1
  103. package/dist/index.html +45 -45
  104. package/docs/colleague-usage/ai-tasks.md +9 -1
  105. package/docs/colleague-usage/auto-workflow.md +6 -3
  106. package/docs/colleague-usage/coding-agent-goal-pause.md +34 -12
  107. package/docs/colleague-usage/coding-agent-goals.md +46 -23
  108. package/docs/colleague-usage/coding-agent-questions.md +7 -0
  109. package/docs/colleague-usage/coding-agents.md +22 -8
  110. package/docs/colleague-usage/connected-repositories.md +4 -1
  111. package/docs/colleague-usage/github-work.md +36 -3
  112. package/docs/colleague-usage/passes.md +86 -0
  113. package/docs/colleague-usage/project-messages.md +4 -1
  114. package/docs/colleague-usage/ui-pass.md +4 -0
  115. package/docs/colleague-usage/workspace-preparation.md +51 -0
  116. package/node_modules/@jskit-ai/assistant-core/CHANGELOG.md +13 -0
  117. package/node_modules/@jskit-ai/assistant-core/locales/en.json +7 -4
  118. package/node_modules/@jskit-ai/assistant-core/package.json +1 -1
  119. package/node_modules/@jskit-ai/assistant-runtime/CHANGELOG.md +2 -0
  120. package/node_modules/@jskit-ai/assistant-runtime/package.json +1 -1
  121. package/node_modules/@jskit-ai/assistant-voice/package.json +1 -1
  122. package/node_modules/@jskit-ai/connector-google-calendar/package.json +1 -1
  123. package/node_modules/@jskit-ai/connectors-catalog/package.json +1 -1
  124. package/node_modules/@jskit-ai/connectors-core/package.json +1 -1
  125. package/node_modules/@jskit-ai/http-runtime/CHANGELOG.md +1 -0
  126. package/node_modules/@jskit-ai/http-runtime/package.json +1 -1
  127. package/node_modules/@jskit-ai/kernel/CHANGELOG.md +6 -0
  128. package/node_modules/@jskit-ai/kernel/package.json +1 -1
  129. package/node_modules/@jskit-ai/payments-core/package.json +1 -1
  130. package/node_modules/@jskit-ai/realtime/package.json +1 -1
  131. package/node_modules/@jskit-ai/resource-core/package.json +1 -1
  132. package/node_modules/@jskit-ai/uploads-runtime/package.json +1 -1
  133. package/node_modules/@local/vibe64-core/package.json +1 -0
  134. package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +914 -773
  135. package/node_modules/@local/vibe64-genesis/src/server/agentSpecs.js +69 -63
  136. package/node_modules/@local/vibe64-genesis/src/server/index.js +450 -440
  137. package/node_modules/@local/vibe64-genesis/src/server/packaging.js +27 -28
  138. package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +63 -55
  139. package/node_modules/@local/vibe64-runtime/src/server/codexAppServerProcess.js +1044 -901
  140. package/node_modules/@local/vibe64-terminals/src/server/opencodeSessionEnvironmentPlugin.js +560 -420
  141. package/node_modules/@local/vibe64-terminals/src/server/sessionWorkOperationCommand.js +453 -450
  142. package/package.json +15 -15
  143. package/server.bundle.mjs +43357 -43007
  144. package/dist/assets/VBtn-2vbH580C.js +0 -1
  145. package/dist/assets/VSpacer-GgPR_AzN.js +0 -1
  146. package/dist/assets/_slug_-CZmGS16g.css +0 -1
  147. package/dist/assets/_slug_-CaHlSQ8I.js +0 -14
  148. package/dist/assets/assistantRouting-BS0ZW5Ki.js +0 -3
  149. package/dist/assets/conversation-D7T_us2O.js +0 -1
  150. package/dist/assets/errorMessageHelpers-BjIt31kK.js +0 -1
  151. package/dist/assets/index-Ctygjyf8.css +0 -1
  152. package/dist/assets/index-HrVsvggI.js +0 -134
  153. package/dist/assets/useAssistantAttachments-DvEl7gX6.js +0 -2
  154. package/dist/assets/useCommand-CNDe8gM-.js +0 -1
  155. package/dist/assets/useEndpointResource-CmMwteuX.js +0 -1
  156. package/dist/assets/useUiFeedback-CWb6o71Z.js +0 -1
  157. package/dist/assets/vibe64RepositoryRealtime-kSshUn2K.js +0 -1
  158. package/dist/assets/vibe64RepositoryRealtime-rnWlv9jw.css +0 -1
@@ -26,6 +26,10 @@ Type one of these as the whole message in main chat and send it:
26
26
  only mentions the UI pass, such as “What does the UI pass change?”, is ordinary
27
27
  chat and starts nothing.
28
28
 
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).
32
+
29
33
  The UI pass runs in its own turn on your **Senior** model, whatever the chat
30
34
  mode, the way “Deslop” does; in **Custom** it uses the Custom model. It is not
31
35
  reviewed again afterwards and does not change or reopen the current plan.
@@ -57,6 +57,57 @@ it succeeds. A failure goes back to the same conversation. Cancelling the fix
57
57
  while that preparation runs stops its running step; the card then reports the
58
58
  preparation as cancelled, and the next preparation runs every step again.
59
59
 
60
+ ## Preparation runs once per source
61
+
62
+ A successful preparation remembers the exact source it prepared: the session's
63
+ commit and uncommitted changes, each connected repository's commit and
64
+ uncommitted changes, and the setup recipe (files Git ignores, such as installed
65
+ dependencies, are not part of it). After **Update this session**, preparation
66
+ runs only when one of these differs from what the last successful preparation
67
+ prepared. An Update that brought nothing in, or whose changes were undone, says
68
+ `This source is already prepared, so no step runs again.` in the preparation
69
+ output and runs no step. A failed or cancelled preparation is never remembered,
70
+ so the next one runs every step. **Prepare workspace** and **Retry** always run
71
+ every step. A session prepared before this behaviour runs its steps after its
72
+ next Update, as before, and is remembered from then on.
73
+
74
+ When the source did change, a step that names the files it reads runs only when
75
+ those files changed since it last succeeded. In `genesis/stack.md` such a step
76
+ lists them after `from`, for example
77
+ ``- Prepare `Install dependencies` from `package.json` `package-lock.json` with `nodejs`: `npm` `ci` ``.
78
+ After an Update that changed only documentation, that step adds
79
+ `[Install dependencies] Skipped: what it reads and runs is unchanged since it last succeeded.`
80
+ to the preparation output and installs nothing. A changed file it names, a
81
+ changed command, new or recreated databases, or a failure of that step the last
82
+ time runs it again. A step without `from` runs every time, as before. Genesis's
83
+ Stack technologies propose `from` for their install and database steps; a
84
+ project's existing `genesis/stack.md` keeps its steps as written until the
85
+ project's coding assistant or the person adds it. To run every step anyway,
86
+ select **Prepare workspace**. Colleague can explain a skipped step from the
87
+ preparation output; editing `genesis/stack.md` belongs to the coding assistant
88
+ or the person.
89
+
90
+ One preparation runs at a time in a session, whichever starts it. A Preview
91
+ start in another tab, or the end of an assistant turn, waits for the running
92
+ preparation instead of starting another; a session that is already prepared
93
+ starts its Preview without waiting for anything else.
94
+
95
+ **Update this session** started while preparation runs waits for it: Update's
96
+ progress says, for example,
97
+ `The workspace is being prepared (Install dependencies); waiting for it to finish.`
98
+ and continues by itself once preparation ends. An AI task's **Cancel** ends that
99
+ wait and leaves the session unchanged. If preparation is still running after 20
100
+ minutes, Update stops with
101
+ `The workspace is being prepared (Install dependencies). Try again when it finishes.`
102
+
103
+ When another operation briefly holds the session, the refusal names it, for
104
+ example `The workspace is being prepared. Try again when it is ready.`,
105
+ `This session is being updated. Try again when Update finishes.` or
106
+ `This session is being saved. Try again when Save finishes.` Try again when that
107
+ operation ends; nothing has changed. Colleague can explain these messages and
108
+ the current preparation result; starting preparation again needs the person's
109
+ request.
110
+
60
111
  ## Retrying a failed setup
61
112
 
62
113
  Only a successful setup is reused. A failed one is never treated as done:
@@ -2,6 +2,19 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - 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.".
6
+ - 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
+ - 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
+ - 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.
9
+ - A Claude goal that Claude pauses or blocks through its own goal tool, or that its host pauses or blocks while Claude is idle, now has Claude's goal checker stood down at once, with `/goal clear` on the process still running (Claude's own turn is interrupted first), instead of the next time Claude starts. Claude's "Goal cleared" record then sits beside that Pause in its history rather than just above the person's next message, where a model read the goal as gone and would not resume it when asked. Without a running process, during another turn, or when that clear fails, the next start clears the checker as before; a start whose history shows no goal sends no second `/goal clear`.
10
+ - The Claude engine lists the application's MCP tools as always loaded (`_meta["anthropic/alwaysLoad"]`), so Claude calls them directly instead of first searching for them with ToolSearch.
11
+ - `AssistantGoalControl` shows when a host continues a goal waiting at its AI account's usage limit by itself. A goal state's `goal` may carry `resumesAt` (epoch seconds): the time the host continues it, once the limit has reset. A `usageLimited` goal with `resumesAt` (and not `outOfCredit`) reads **Goal waits: usage limit** on the chip, with the orange waiting light, and its details say "The goal continues by itself at 05:01, once the limit has reset; choose Resume goal to try sooner." (with the day when that is not today); Pause, Resume and Cancel stay offered. Without `resumesAt` it reads as before, **Goal paused: usage limit** with the reset time and "does not continue by itself", and out of credit never shows a continuation time. New texts `jskit.assistant.goal.usageLimitedResumes` and `jskit.assistant.goal.usageLimitedResumesHint`; the goal state's type documents `resetsAt`, `outOfCredit` and `resumesAt`.
12
+ - New `latestAssistantQuestionsAwaitingUserReply(conversationLog, { lookback = 10 })` (from `/shared/conversation`) finds the questions the AI is still waiting for an answer to when it added a short message after them, such as "No files have changed. I'll build it once you've answered those three." `latestAssistantMessageAwaitingUserReply` returns only that last message, so a question form fed by it disappeared. The new helper starts where that one does, at the AI's newest completed reply (nothing while it is in progress, nothing after the person's latest message), reads back over that reply and the AI's earlier replies and commentary since the person's latest message, at most `lookback` of them (thinking does not count), and returns the text of the newest one with numbered questions or answer choices, or "". Questions the AI wrote before a tool call are saved as commentary, so they count. `latestAssistantMessageAwaitingUserReply` is unchanged and now reads the same walk.
13
+ - A message lost on its way to an OpenCode conversation bound to its host no longer makes every later message fail as unconfirmed (`conversation_delivery_uncertain`, or the host's own changeover code). When the host's prepared-message inspection proves that the prompt never arrived (`admission: "not-admitted"`, for example a prompt absent from complete native history whose receiving server was replaced), the OpenCode driver passes that proof to the runtime as `notAdmitted`, as the Claude driver does, instead of dropping it so that the runtime read it as unknown. `inspectDelivery({ messageId })` then reports the message `not-sent`, the conversation is ready again and the next message is sent; the lost prompt is never sent again. An inspection that answers `unknown` stays unknown.
14
+ - A Claude conversation keeps working when a Stop, a crashed Claude process or the next message arrives while Claude's previous turn still waits on its host (publishing, saving, storing an admission). The shared Claude turn now gives each native frame a lease on its turn: a Stop, a reset or the next turn's start supersedes it, and a superseded frame ends at that wait before it reads, changes or publishes anything of the turn that replaced it. Such a frame used to fail with "Cannot read properties of null (reading 'status')", publish the old turn's message, phase or diagnostic into the next turn, or complete the next turn with the old turn's result; a finished turn's goal refresh now resolves that turn's own completion. A steer to the same turn still lands, and a frame decides from the state it finds after each wait. A message being prepared for a turn that a Stop or the next message replaces meanwhile is no longer written to the stopped Claude, and its failure no longer stops the Claude that replaced it: it fails as not sent (`conversation_claude_turn_superseded`).
15
+ - A message lost with a failed Claude process no longer makes every later message fail as unconfirmed (`conversation_delivery_uncertain`, or the host's own changeover code). When the next message checks the earlier attempt, a Claude history without it and no live process that it was written to prove that it never arrived (`not-admitted`), and the conversation runtime now passes that proof to the changeover instead of reading every answer but `accepted` as unknown. A message Claude did record is accepted and never sent again, a prompt whose pipe write failed is reported `delivery: "not-sent"`, and a prompt written to a process still running stays unknown until that process settles it. The server records which process it wrote each prompt to, so a prompt it has no record of was written, if at all, by an earlier server, and only that server's Claude can still record it while its exit is unproven: a conversation already holding such an attempt clears it with its next message.
16
+ - A Claude goal's running time no longer counts the time a server was stopped mid-turn. When Claude starts again after a request that was cut off, it saves a "No response requested." placeholder just before the goal continues, and the history reader counted the wait up to that placeholder as work: a restart in the middle of a turn added the whole downtime to the goal's clock. The wait before that placeholder now counts like the wait before an authored message; the cut-off request's unsaved part is not counted.
17
+ - `AssistantGoalControl`'s chip says why a goal stopped in a few words, so it no longer runs across the message box: a goal stopped at its AI account's usage limit reads **Goal paused: usage limit**, or **Goal paused: no credit** when it is out of credit, with the orange paused light, instead of "Waiting: AI usage limit, resets at Wed 09:00" or "Out of credit: top up or switch AI account". Its details say what happened, when the limit resets and what to do. `jskit.assistant.goal.usageLimitedUntil` is replaced by `jskit.assistant.goal.usageLimitedUntilHint`, and `jskit.assistant.goal.outOfCreditHint` is new; `usageLimited`, `outOfCredit` and `usageLimitedHint` are reworded.
5
18
  - The Claude engine keeps an application tool result within its tool set's raised `maxToolResultBytes` whole. Claude Code saves an MCP tool result past 50,000 characters, or past its MCP output token cap, to a file and shows the model only a preview, which a tool-free conversation cannot read: a 128 KiB result reached the model as its first 2 KB. A tool set whose result limit is above the default 48 KiB now starts Claude with `MAX_MCP_OUTPUT_TOKENS` at that limit plus 1 KiB, and its application tools declare that many characters as their `anthropic/maxResultSizeChars` (Claude Code allows at most 500,000); a character and a token each cover at least one byte of the result. At the default limit Claude keeps its own. `createClaudeCodeProcess` takes `maximumToolResultBytes`, and conversation tools give engines `maximumResultBytes` beside `maximumArgumentBytes`.
6
19
  - A hand-written tool catalogue whose tool sets carry no `limits` keeps the default limits (32 KiB of arguments, 48 KiB of result) instead of every turn with its tools failing with "Cannot read properties of undefined (reading 'maxToolArgumentBytes')". `createServiceToolCatalog`'s module exports `DEFAULT_MAX_TOOL_ARGUMENT_BYTES` and `DEFAULT_MAX_TOOL_RESULT_BYTES`.
7
20
  - Each tool set `createServiceToolCatalog` resolves carries its catalogue's `limits` (`maxToolArgumentBytes` and `maxToolResultBytes`), and an application conversation's tools hold calls to that tool set's `maxToolArgumentBytes` and give engines that value as `maximumArgumentBytes`, instead of reading the catalogue's own `limits`. A catalogue that resolves each surface's tool set from a catalogue of its own, as `@jskit-ai/assistant-runtime`'s does, now has each surface's argument limit enforced; its result limit already was, by that surface's catalogue. **Breaking** for a hand-written tool catalogue passed as `toolCatalog`: its `resolveToolSet` returns `limits: { maxToolArgumentBytes }` with its tools.
@@ -113,7 +113,8 @@
113
113
  "notRunning": "Goal not running",
114
114
  "notRunningHint": "Nothing is working on this goal right now. Your next message continues it.",
115
115
  "objective": "Goal objective",
116
- "outOfCredit": "Out of credit: top up or switch AI account",
116
+ "outOfCredit": "Goal paused: no credit",
117
+ "outOfCreditHint": "The AI account is out of credit. The goal does not continue by itself: top up or switch AI account, then choose Resume goal.",
117
118
  "pause": "Pause goal",
118
119
  "pauseInterruptsTurn": "Pause stops the current turn and keeps the goal for later.",
119
120
  "pausePreventsTurns": "Pausing prevents further automatic turns. Use Stop to interrupt the current turn.",
@@ -128,9 +129,11 @@
128
129
  "starting": "Starting…",
129
130
  "tokenBudget": "Token budget (optional)",
130
131
  "unavailable": "Goal unavailable",
131
- "usageLimited": "Waiting: AI usage limit",
132
- "usageLimitedHint": "The goal does not continue by itself. Choose Resume goal once the AI account can work again.",
133
- "usageLimitedUntil": "Waiting: AI usage limit, resets at {time}"
132
+ "usageLimited": "Goal paused: usage limit",
133
+ "usageLimitedHint": "The AI account reached its usage limit. The goal does not continue by itself: choose Resume goal once the AI account can work again.",
134
+ "usageLimitedResumes": "Goal waits: usage limit",
135
+ "usageLimitedResumesHint": "The AI account reached its usage limit. The goal continues by itself at {time}, once the limit has reset; choose Resume goal to try sooner.",
136
+ "usageLimitedUntilHint": "The AI account reached its usage limit, which resets at {time}. The goal does not continue by itself: choose Resume goal once it resets."
134
137
  },
135
138
  "longText": {
136
139
  "details": "Details",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/assistant-core",
3
- "version": "0.2.46",
3
+ "version": "0.2.62",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./client": "./src/client/index.js",
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - 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
+ - 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.
5
7
  - `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.
6
8
  - A Set or Resume goal that the server refuses after its message already appeared in the conversation shows the server's reason (for example that Claude's goal attachment is not available yet) instead of only `jskit.assistant.runtime.goal.changeFailed` ("Could not change the goal."): the transcript turn settled the optimistic message first, so the failure's own text was dropped with it.
7
9
  - The saved-conversations list (`GET /api/assistant/:surfaceId/conversations`, and its workspace form) answers 200 again instead of 500 ("metadata is required!") once a person has a conversation: the route still serialized each item with the conversation's read schema, which requires `metadata`, after list items stopped carrying it. It serializes them with assistant-core's `assistantConversationListItemOutputValidator`, the item of `assistantContract`'s `conversationsList`. `conversationsListRoute.test.js` lists a saved conversation over HTTP through the real route, actions and SQL repositories.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/assistant-runtime",
3
- "version": "0.2.48",
3
+ "version": "0.2.66",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./client": "./src/client/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/assistant-voice",
3
- "version": "0.2.48",
3
+ "version": "0.2.66",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./client": "./src/client/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/connector-google-calendar",
3
- "version": "0.2.28",
3
+ "version": "0.2.37",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./shared": "./src/shared/english-definition.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/connectors-catalog",
3
- "version": "0.2.28",
3
+ "version": "0.2.37",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./shared/ai": "./src/shared/english-ai.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/connectors-core",
3
- "version": "0.2.28",
3
+ "version": "0.2.37",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./shared/configuration": "./src/shared/configuration.js",
@@ -2,6 +2,7 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - `request(url, { response: "file" })` answers a download as `{ blob, fileName, contentType }`: the body as a Blob, the name its `Content-Disposition` gives (the RFC 5987 `filename*` before the plain `filename`, as RFC 6266 asks; null when it names none) and its content type. A refusal is read and thrown as for any request, so a step-up or validation refusal reaches the caller's usual handling. Any other `response` value, and `response: "file"` on `requestStream()`, is refused. Before, the client read a body that was not JSON as `{}`, so a page could not download a file through it and keep its credentials, CSRF token and refusal handling.
5
6
  - The JSON:API route transport's error document takes the transaction outcome the kernel's error handler passes it (`transactionOutcome`, the wrapper's when the handler answers a refusal a json-rest-api write wrapped), and otherwise the error's own, so a CRUD route's refusal keeps `meta.transactionOutcome`.
6
7
  - `simplifyJsonApiResult(result, { lookupFieldMap })` and `simplifyJsonApiDocument(document, { lookupFieldMap })` take the field key of a to-one relationship whose key is not its name plus `Id` (`{ owner: "ownerUserId" }`), so a decorated CRUD service reads the record it wrote from its own answer, with its real field keys, instead of reading it again.
7
8
  - `createTransientRetryHttpClient` marks a `GET`/`HEAD` transient failure whose retries it spent (kernel `markTransientRetriesSpent`), so the app QueryClient's `shouldRetryTransientQueryFailure` does not retry the whole retried call again: one unreachable read is 3 requests and 3 s to the recovery banner instead of 9 requests and 11 s. Which requests it retries, how often and when are unchanged.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/http-runtime",
3
- "version": "0.2.20",
3
+ "version": "0.2.26",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./client": "./src/client/index.js",
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - `resolveApiErrorStatus(error)` from `@jskit-ai/kernel/server/runtime/errors` gives the HTTP status an error answers a client with: json-rest-api's refusals, which carry no status, by their code (`REST_API_VALIDATION` a 422, a `REST_API_RESOURCE` by its subtype: 404, 403, 409 or 400), any other error by its own status when that is 400 to 599, else 500. It is the HTTP error handler's own mapping, moved there so that anything else telling a client of a refusal, such as the assistant's tool results, answers with the same status; the HTTP error handler's answers are unchanged.
6
+ - `withoutExecutionLog(context)` from `@jskit-ai/kernel/server/actions` returns the same execution context marked so the action pipeline writes no `action.execution` log line for it, for a caller that keeps every trace of a call out of what it saves (an assistant's unsaved tool). `isExecutionLogged(context)` reads the mark, so an action or action policy can keep its own logs quiet too. The mark is a private symbol: it passes through `normalizeExecutionContext` and never reaches a serialized context.
7
+ - A feature or provider may declare **late requirements**, `late: { evidence: "evidence.files" }`, local names to capability ids as `requires` and `optional` are, for a ring that only a read at call time closes, such as a row policy that narrows through an owner which itself requires the policy's feature. A late requirement takes no part in the order providers start in nor in the cycle check, so the ring starts instead of failing with `Provider capability cycle detected`; `createCapabilityRuntime().start()` resolves it once, after every provider's `boot()`. Until then its local name is a getter that throws `Provider "audit" read its late requirement "evidence" (capability "evidence.files") before every provider booted: a late requirement can only be read at call time after boot, such as inside a row policy or a request handler, never in setup or boot, and never destructured in setup.`; after, it answers the capability. A capability nothing provides fails start() at the end of boot with `Provider "audit" late-requires missing capability "evidence.files": no provider or runtime input provides it.` (and the provider's hint for it, if any), and start() stops what started as for any startup failure. The value reaches everything a feature's dependencies reach: setup's dependencies, actions(), boot() and shutdown(), and each owned table's row policy as `requires`; defineFeature now copies dependencies by property descriptors, so a copy keeps the getter instead of reading it. Late local names must differ from the provider's requires, optional and provides names; a provider cannot late-require a capability it provides, or one it already requires or takes as optional; and defineFeature refuses the reserved local names and `runtime.resources` under `late` as under `requires`. A package's manifest drift counts late requirements as requirements, so its manifest lists them under `requires`.
8
+ - **Behaviour change: a route handler's returned value is now sent as the response; previously it was dropped and the answer was an empty 200.** This applies to every route registered through the kernel's router whose handler returns something other than `undefined` without replying. That includes every `actionRoute` of `createActionRouteScope` registered without an application's own `wrapHandler`: it returns its action's result, so until now it answered 200 with an empty body. The router sends the returned value unless the handler started a send itself, which only the router can tell, since a send can still be finishing after it returns (see the `FST_ERR_SEND_INSIDE_ONERR` entry below). A handler that sends its reply (`reply.send(...)`, `return reply.send(...)`, `return reply`, or a hijacked reply) keeps that reply, whatever it returns, and one that returns nothing without replying still answers an empty 200. **What an application should check:** every route handler that returns a value without replying, since that value now reaches the browser. Make sure each one returns only what the browser should see, never an internal object such as a service's result, a database row or a record with internal fields, and that a handler writing to `reply.raw` (a stream or server-sent events) hijacks the reply or returns nothing. A route with a response schema serializes the value through it, which writes only the properties the schema declares unless it allows others; a route without one sends the whole value as JSON. An application whose `wrapHandler` already sent the result keeps working unchanged, and can drop that send.
9
+ - A route may ask for a second factor: `secondFactor: true` for one done at any time in the request's session, or `secondFactor: { maxAgeSeconds }` for one done within that many seconds, for a dangerous action. The router checks it when the route is defined (anything else, or a route whose `auth` is not "required" or "own", stops startup with a `RouteDefinitionError` naming the route) and passes it to the route's policy config, where `@jskit-ai/auth-core`'s auth policy enforces it.
10
+ - A route with a body schema answers 400 `validation_failed` when the body is missing or is not a JSON object, instead of 500. A missing body is validated as an empty one: a body validated in `create` or `replace` mode names each required field (`Field is required`, code `kernel.validation.field.required`), and one in the default `patch` mode, or with no required fields, reaches the handler as `{}`; a body of `null`, an array, a string or a number answers `request: "must be object"` (code `kernel.validation.type`). The kernel's own body check replaces Fastify's, and json-rest-schema throws on anything but an object, so a DELETE sent without its body ended in a 500.
5
11
  - **Side effects.** An application reads `SIDE_EFFECTS`: exactly `live` acts for real; anything else, including unset, simulates (a test copy). `@jskit-ai/kernel/shared/support/sideEffects` gives `resolveSideEffectsMode(env)`, `sideEffectsAreLive(env)` and the page's own `pageSideEffectsMode()`; `@jskit-ai/kernel/server/runtime/sideEffects` gives `logSimulatedSideEffect(logger, { kind, summary, details })`, which logs "Test copy: … was simulated, not sent". `createInstalledRuntime` names the setting in every HTML page the server sends (the `jskit-side-effects` meta tag, with the page's length corrected) and logs once at startup whether the server acts for real, as a warning when a production server simulates. The Vite plugin names the development server's setting in its pages; a built page carries none until its server sends it.
6
12
  - An action definition may give `checkInput(input)`, a check of its input that its schema cannot make until the application runs, such as one that needs what boot resolved. The action pipeline runs it on the input as the schema validated it, before the policy and the action, and answers a refusal (an error with field errors, as `createValidationError` throws) exactly as it answers the schema's: 400 `ACTION_VALIDATION_FAILED`, "Validation failed.", with `details.fieldErrors` and their `fieldErrorCodes`, so an HTTP client and an assistant tool read both alike and the action never runs. Any other error it throws fails the action as it is. A `checkInput` that is not a function is refused at registration.
7
13
  - `createCachedResponseSerializerFactory` compiles each union branch of a response schema that names nothing outside itself on its own, once for all the serializers it builds, instead of with the whole schema the branch sits in. fast-json-stringify chooses an `anyOf`, `oneOf` or `if`/`then` branch by validating the value with Ajv, and Ajv compiles the whole schema a branch sits in before the branch, so the first response of a big list compiled its entire response schema while every other request on the server waited: a JSON:API collection whose json-rest-schema attributes hold hundreds of nullable numbers, boolean-like enums, dates and nullable relationships, each a union (74,000 characters, 341 unions), took 2.1 s for its first 50 rows. It now takes 0.11 s, and each later response half as long (16 to 7.5 ms). The serializer is fast-json-stringify's own code, restored with the new validator, so what it writes, what it refuses and its error messages do not change; a branch that names another schema is validated as before, and an application that sets a fast-json-stringify `mode` keeps it.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/kernel",
3
- "version": "0.2.20",
3
+ "version": "0.2.26",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./_testable": "./_testable/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/payments-core",
3
- "version": "0.2.16",
3
+ "version": "0.2.25",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./shared": "./src/shared/configuration.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/realtime",
3
- "version": "0.2.30",
3
+ "version": "0.2.39",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./server/RealtimeProvider": "./src/server/RealtimeProvider.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/resource-core",
3
- "version": "0.1.211",
3
+ "version": "0.1.217",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./shared/apiContract": "./src/shared/apiContract.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/uploads-runtime",
3
- "version": "0.2.20",
3
+ "version": "0.2.26",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./client": "./src/client/index.js",
@@ -52,6 +52,7 @@
52
52
  "./server/sha256Hex": "./src/server/sha256Hex.js",
53
53
  "./shared/acceptEvery": "./src/shared/acceptEvery.js",
54
54
  "./shared/doNothing": "./src/shared/doNothing.js",
55
+ "./shared/elapsedText": "./src/shared/elapsedText.js",
55
56
  "./shared/actionFields": "./src/shared/actionFields.js",
56
57
  "./server/assistantRoutingStore": "./src/server/assistantRoutingStore.js",
57
58
  "./server/workspaceTeam": "./src/server/workspaceTeam.js",