vibe64 0.1.64 → 0.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/upgrade-state.js +1631 -1630
- package/dist/assets/{GithubBrowserTabs-Cf6ce1lO.js → GithubBrowserTabs-D21Nl3QI.js} +1 -1
- package/dist/assets/{LocalDatabaseServer-0VGIcy5Q.js → LocalDatabaseServer-POxY1K1U.js} +1 -1
- package/dist/assets/{SelectField-RGWl_ms9.js → SelectField-Dezd0B3y.js} +1 -1
- package/dist/assets/{ShellOutlet-CdjsJfg9.js → ShellOutlet-DfF9vsWA.js} +1 -1
- package/dist/assets/{StudioErrorNotice-CCT_T6mT.js → StudioErrorNotice-vDR4qneB.js} +1 -1
- package/dist/assets/{VAutocomplete-BnpXAJGa.js → VAutocomplete-NpBcbYkR.js} +1 -1
- package/dist/assets/VBtn-Com1gNEe.js +1 -0
- package/dist/assets/{VCard-BFqQSnAE.js → VCard-DY_DdI8Z.js} +1 -1
- package/dist/assets/{VCheckbox-BK0ss4F4.js → VCheckbox-CkezAf4Z.js} +1 -1
- package/dist/assets/{VCheckboxBtn-DDlYJnth.js → VCheckboxBtn-8g4R-c2w.js} +1 -1
- package/dist/assets/{VChip-D2IukBZw.js → VChip-tORFnf7z.js} +1 -1
- package/dist/assets/{VDialog-BCIrX462.js → VDialog-CapFiCqp.js} +1 -1
- package/dist/assets/{VExpansionPanels-BHw1Id_o.js → VExpansionPanels-B6U2XdWH.js} +1 -1
- package/dist/assets/{VMenu-Bql3E6DV.js → VMenu-CO6B6LWk.js} +1 -1
- package/dist/assets/{VOverlay-EPzW7eVB.js → VOverlay-CrfaXCOL.js} +1 -1
- package/dist/assets/{VRadioGroup-CL3HTmyT.js → VRadioGroup-BrPW6foD.js} +1 -1
- package/dist/assets/{VRow-Dz87sIhY.js → VRow-DHETsEMn.js} +1 -1
- package/dist/assets/{VSelect-Ch00dyiM.js → VSelect-gYJ6qrBP.js} +1 -1
- package/dist/assets/{VSheet-D5wAuyc2.js → VSheet-_Grtwpfz.js} +1 -1
- package/dist/assets/{VSkeletonLoader-Bl9P5wdh.js → VSkeletonLoader-CQXCEJsR.js} +1 -1
- package/dist/assets/VSpacer-VLYDmg7o.js +1 -0
- package/dist/assets/{VSwitch-DftK1EyR.js → VSwitch-ffi-Y2TU.js} +1 -1
- package/dist/assets/{VTable-DHazU0Xx.js → VTable-Cver5Vl3.js} +1 -1
- package/dist/assets/{VTextField-B9R7EIjg.js → VTextField-DP6b7Qaf.js} +1 -1
- package/dist/assets/{VTextarea-CMgyRNk-.js → VTextarea-7mdIF4I0.js} +1 -1
- package/dist/assets/{VToolbar-C8ydxLzq.js → VToolbar-CYz3lneF.js} +1 -1
- package/dist/assets/{Vibe64AsyncModuleState-9bN0_H45.js → Vibe64AsyncModuleState-CO1rMrtD.js} +1 -1
- package/dist/assets/{Vibe64AuthSettingsButton-BGtVvQq0.js → Vibe64AuthSettingsButton-I3ufyScN.js} +1 -1
- package/dist/assets/{Vibe64ConversationLog-Cv_BE9yH.js → Vibe64ConversationLog-C04oOQ2g.js} +1 -1
- package/dist/assets/{Vibe64DashboardPageHeader-xfRLZ94G.js → Vibe64DashboardPageHeader-CobvMlFm.js} +1 -1
- package/dist/assets/{Vibe64DashboardShell-B3TN3NBS.js → Vibe64DashboardShell-BbrOUmRD.js} +1 -1
- package/dist/assets/{Vibe64DatabaseWorkspace-CU0jCfP_.js → Vibe64DatabaseWorkspace-VPEM2o1v.js} +1 -1
- package/dist/assets/{Vibe64DestinationButton-CdyyK9tj.js → Vibe64DestinationButton-B4Zz4a7J.js} +1 -1
- package/dist/assets/{Vibe64FileArea-BWl-q11N.js → Vibe64FileArea-C_nC2bPk.js} +1 -1
- package/dist/assets/{Vibe64OutputControls-DnfGKZHs.js → Vibe64OutputControls-DTO3Fw3x.js} +1 -1
- package/dist/assets/{Vibe64RepositoryWorkspace-3UKN_pPs.js → Vibe64RepositoryWorkspace-B8xcCOvL.js} +1 -1
- package/dist/assets/{Vibe64SessionFiles-B1U6XSWQ.js → Vibe64SessionFiles-Cb9Mxsyq.js} +1 -1
- package/dist/assets/{Vibe64SessionSourceEditor-De1QyTOd.js → Vibe64SessionSourceEditor-CVQ3NRjh.js} +1 -1
- package/dist/assets/{Vibe64UiStoryboardView-JRGcklim.js → Vibe64UiStoryboardView-BV4JFgcZ.js} +1 -1
- package/dist/assets/{Vibe64UnavailableSessions-Bd_-gPuL.js → Vibe64UnavailableSessions-DGQAxYE-.js} +1 -1
- package/dist/assets/{_pageId_-DIPouI7Z.js → _pageId_-CkG15vv4.js} +1 -1
- package/dist/assets/{_sessionId_-qH7uIGNl.js → _sessionId_-Bka3RUmK.js} +1 -1
- package/dist/assets/{_slug_-CaHlSQ8I.js → _slug_-7Oo7pGKn.js} +6 -6
- package/dist/assets/{_slug_-CZmGS16g.css → _slug_-BaxjtsgP.css} +1 -1
- package/dist/assets/{access-O4hOM9ov.js → access-Xo3unxGO.js} +1 -1
- package/dist/assets/{app-CXljwZ0u.js → app-B0spNegd.js} +1 -1
- package/dist/assets/assistantRouting-B9cub38g.js +3 -0
- package/dist/assets/{changes-C5gleyWS.js → changes-DFv4tuoO.js} +1 -1
- package/dist/assets/{client-CI-o7ITq.js → client-BjMjS6lX.js} +2 -2
- package/dist/assets/{client-DMEf6RSZ.js → client-CVuXqm4b.js} +1 -1
- package/dist/assets/{client-BRcncaFt.js → client-CevjVK2b.js} +1 -1
- package/dist/assets/{client-Do8szX_w.js → client-DR0w56e8.js} +2 -2
- package/dist/assets/{client-fF-hq8nJ.js → client-Dlg1kjjO.js} +1 -1
- package/dist/assets/{conversation-RscSzQxq.css → conversation-DReMq0MF.css} +1 -1
- package/dist/assets/{conversation-DiL2PEct.js → conversation-OkWbkHjm.js} +3 -3
- package/dist/assets/{dashboard-BWlG0Nli.js → dashboard-CAca9MQn.js} +1 -1
- package/dist/assets/{english-definitions-DcuZfQ4p.js → english-definitions-BtX8KA5g.js} +1 -1
- package/dist/assets/{env-D3DVC-Gd.js → env-DrNyBVkB.js} +1 -1
- package/dist/assets/errorMessageHelpers-B49LyMJi.js +1 -0
- package/dist/assets/{fileTypes-2k5HCkMT.js → fileTypes-iPZyrJA1.js} +1 -1
- package/dist/assets/{health-B9ZoQC78.js → health-B5yTW5Tt.js} +1 -1
- package/dist/assets/{history-BrWT8DRp.js → history-S3anp6xg.js} +1 -1
- package/dist/assets/{i18n-BkxO7BMl.js → i18n-DQPYjuW7.js} +1 -1
- package/dist/assets/{index-Ctygjyf8.css → index-DSyb-mRJ.css} +1 -1
- package/dist/assets/{index-HrVsvggI.js → index-JBqyg0mr.js} +3 -3
- package/dist/assets/{integrations-C4p_QTuv.js → integrations-C7dj7el_.js} +1 -1
- package/dist/assets/{issues-KxOOLtSM.js → issues-OkV4v4GX.js} +1 -1
- package/dist/assets/{layout-B_cpKP4k.js → layout-DMZV-nbg.js} +1 -1
- package/dist/assets/{lazy-vXRXMwYF.js → lazy-mtFmsnct.js} +1 -1
- package/dist/assets/{learning-BWqH7wag.js → learning-lW9nBGjT.js} +1 -1
- package/dist/assets/{pages-DcNh-g_z.js → pages-shOT9IVe.js} +1 -1
- package/dist/assets/{project-files-C3a_vnA4.js → project-files-D_K1N0JF.js} +1 -1
- package/dist/assets/{publish-B1f2baHh.js → publish-Bxe4ZCqe.js} +1 -1
- package/dist/assets/{pull-requests-BHq5Yafl.js → pull-requests-CQvk0TeH.js} +1 -1
- package/dist/assets/{repository-DMBew8kp.js → repository-CI2CqDwF.js} +1 -1
- package/dist/assets/{session-B5MoHBVk.js → session-FRkCCzYt.js} +1 -1
- package/dist/assets/{settings-DDpgGhWO.js → settings-DIVrFrs4.js} +1 -1
- package/dist/assets/{useArchivedVibe64Sessions-C5Qguyob.js → useArchivedVibe64Sessions-BkWrTOzg.js} +1 -1
- package/dist/assets/useAssistantAttachments-DqlNFiha.js +2 -0
- package/dist/assets/useCommand-D-MIMmhp.js +1 -0
- package/dist/assets/useEndpointResource-DZTjr9gg.js +1 -0
- package/dist/assets/useUiFeedback-BU4NyMq8.js +1 -0
- package/dist/assets/{useVibe64ConversationLog-BZ5g9Jp7.js → useVibe64ConversationLog-BADhWyNY.js} +2 -2
- package/dist/assets/{useVibe64Learning-DiLAIKbI.js → useVibe64Learning-CbsI-XHB.js} +1 -1
- package/dist/assets/{useVibe64SessionData-D9d4NfDo.js → useVibe64SessionData-DvFvAJC-.js} +1 -1
- package/dist/assets/{useVibe64SessionSelection-DT1rJVvx.js → useVibe64SessionSelection-BukDTAxb.js} +1 -1
- package/dist/assets/vibe64RepositoryRealtime-CRAyGyRD.css +1 -0
- package/dist/assets/vibe64RepositoryRealtime-DX2DEqIz.js +1 -0
- package/dist/assets/{vibe64SessionFocus-CLtCTOxq.js → vibe64SessionFocus-CzuP3qPT.js} +1 -1
- package/dist/index.html +37 -37
- package/docs/colleague-usage/ai-tasks.md +7 -0
- package/docs/colleague-usage/coding-agent-goal-pause.md +4 -4
- package/docs/colleague-usage/coding-agent-goals.md +18 -12
- package/docs/colleague-usage/coding-agents.md +22 -8
- package/docs/colleague-usage/project-messages.md +4 -1
- package/node_modules/@jskit-ai/assistant-core/CHANGELOG.md +5 -0
- package/node_modules/@jskit-ai/assistant-core/locales/en.json +5 -4
- package/node_modules/@jskit-ai/assistant-core/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-voice/package.json +1 -1
- package/node_modules/@jskit-ai/connector-google-calendar/package.json +1 -1
- package/node_modules/@jskit-ai/connectors-catalog/package.json +1 -1
- package/node_modules/@jskit-ai/connectors-core/package.json +1 -1
- package/node_modules/@jskit-ai/http-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/kernel/CHANGELOG.md +1 -0
- package/node_modules/@jskit-ai/kernel/package.json +1 -1
- package/node_modules/@jskit-ai/payments-core/package.json +1 -1
- package/node_modules/@jskit-ai/realtime/package.json +1 -1
- package/node_modules/@jskit-ai/resource-core/package.json +1 -1
- package/node_modules/@jskit-ai/uploads-runtime/package.json +1 -1
- package/node_modules/@local/vibe64-core/package.json +1 -0
- package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +14 -14
- package/package.json +14 -14
- package/server.bundle.mjs +30898 -30856
- package/dist/assets/VBtn-2vbH580C.js +0 -1
- package/dist/assets/VSpacer-GgPR_AzN.js +0 -1
- package/dist/assets/assistantRouting-BS0ZW5Ki.js +0 -3
- package/dist/assets/errorMessageHelpers-BjIt31kK.js +0 -1
- package/dist/assets/useAssistantAttachments-DvEl7gX6.js +0 -2
- package/dist/assets/useCommand-CNDe8gM-.js +0 -1
- package/dist/assets/useEndpointResource-CmMwteuX.js +0 -1
- package/dist/assets/useUiFeedback-CWb6o71Z.js +0 -1
- package/dist/assets/vibe64RepositoryRealtime-kSshUn2K.js +0 -1
- package/dist/assets/vibe64RepositoryRealtime-rnWlv9jw.css +0 -1
|
@@ -119,10 +119,11 @@ after **Stop**, or after a server restart until its continuation starts) shows
|
|
|
119
119
|
**Goal not running**; open **Goal** to see any error that stopped it, and your
|
|
120
120
|
next message continues it. The others show **Goal paused**, **Goal blocked** or
|
|
121
121
|
**Goal budget reached**. A goal waiting
|
|
122
|
-
because its AI account reached its usage limit shows **
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
122
|
+
because its AI account reached its usage limit shows **Goal paused: usage
|
|
123
|
+
limit**, and one whose account ran out of credit shows **Goal paused: no
|
|
124
|
+
credit**. The chip keeps to those few words; open **Goal** for the explanation:
|
|
125
|
+
when the limit resets (for example 05:00, with the day when it is not today, if
|
|
126
|
+
the AI says when) and what to do next.
|
|
126
127
|
Open **Goal** to see its **Running time**: how long the AI has actually spent
|
|
127
128
|
working on the goal. Codex reports its own; for Claude, Vibe64 adds up the time
|
|
128
129
|
Claude worked on the goal from its conversation history. It counts only while
|
|
@@ -143,13 +144,16 @@ Failed Main-chat messages offer **Retry** and **Cancel** on desktop and mobile.
|
|
|
143
144
|
already delivered, the failure controls disappear without another send. If the
|
|
144
145
|
AI proves it never received the message, Retry sends it once with the same ID;
|
|
145
146
|
while delivery is unknown, nothing is sent.
|
|
146
|
-
**Cancel**
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
147
|
+
**Cancel** gives the message up for good, without stopping a newer goal or
|
|
148
|
+
deleting delivered conversation history. The server records it as cancelled and
|
|
149
|
+
stops any turn it may have started; the bubble shows that it is cancelling until
|
|
150
|
+
the server agrees, which it always does once it can be reached, and the message
|
|
151
|
+
never returns as a draft. While a message is unconfirmed, a newer message to the
|
|
152
|
+
same chat is not sent: its bubble says so and names the earlier message to
|
|
153
|
+
**Retry** or **Cancel**. Cancel frees the chat at once. Claude can prove that a
|
|
154
|
+
message never arrived once its work has settled without it in its history;
|
|
155
|
+
OpenCode once the OpenCode server that could have received it has stopped.
|
|
156
|
+
Colleague can explain
|
|
153
157
|
these controls; the person presses them in Main chat.
|
|
154
158
|
|
|
155
159
|
New goals pass exactly your objective to the native goal evaluator. Model and
|
|
@@ -208,7 +212,9 @@ command has uncertain delivery, recovery stays stopped. Check the original
|
|
|
208
212
|
receipt and current account, then use **Resume goal** (a Claude goal that shows
|
|
209
213
|
as active offers **Pause goal** instead: send a message to continue it, or choose
|
|
210
214
|
**Pause goal** and then **Resume goal**); an uncertain command is
|
|
211
|
-
never replaced with a blind send.
|
|
215
|
+
never replaced with a blind send. When the AI proves the interrupted command
|
|
216
|
+
never arrived, the goal control says that nothing was sent: set or resume the
|
|
217
|
+
goal again. After a crash, an accepted Claude command can
|
|
212
218
|
be recovered only when its saved native attachment identifies that exact command.
|
|
213
219
|
A different goal with the same text is insufficient; missing proof requires
|
|
214
220
|
explicit confirmation. Each goal that stays stopped after a restart shows its
|
|
@@ -288,8 +288,8 @@ without waiting for suggestions. Suggestions read the project's Blueprint and it
|
|
|
288
288
|
subsystems map, so after a starter is applied they propose changes to the app it
|
|
289
289
|
built instead of building it again.
|
|
290
290
|
|
|
291
|
-
An unconfirmed message shows small red error text and **
|
|
292
|
-
its own bubble. The notice belongs to
|
|
291
|
+
An unconfirmed message shows small red error text, **Retry** and **Cancel**
|
|
292
|
+
inside its own bubble. The notice belongs to
|
|
293
293
|
those exact words; it does not describe the previous assistant reply. The layout
|
|
294
294
|
is the same on desktop and phones.
|
|
295
295
|
|
|
@@ -301,12 +301,26 @@ after a reload or reconnect. A lost delivery acknowledgement
|
|
|
301
301
|
still requires checking the exact request; it is not treated as a rejection.
|
|
302
302
|
|
|
303
303
|
If **Retry** reports that delivery is still unknown, the old message
|
|
304
|
-
remains visible
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
304
|
+
remains visible with **Retry** and **Cancel**. It is never resent: each **Retry**
|
|
305
|
+
only checks whether the AI received it. While it stays unconfirmed, a different
|
|
306
|
+
message you **Send** to that chat is not sent either. Its bubble shows that it
|
|
307
|
+
was not sent and names the way out: **Retry** the earlier message to check it
|
|
308
|
+
again, or **Cancel** it, then send your new message again. **Cancel** gives the
|
|
309
|
+
earlier message up for good (it never comes back as a draft), stops any turn it
|
|
310
|
+
may have started, and frees the chat at once. Choosing another AI also works
|
|
311
|
+
while a message is unconfirmed.
|
|
312
|
+
|
|
313
|
+
When the AI can prove that the earlier message never arrived, it counts as not
|
|
314
|
+
sent: **Retry** sends it once, and newer messages go through without Cancel.
|
|
315
|
+
Claude proves this when its work has settled without the message in its
|
|
316
|
+
history. In Main chat, OpenCode proves it when the message is missing from the
|
|
317
|
+
conversation's history and the OpenCode server that could have received it has stopped, for
|
|
318
|
+
example after it was restarted; while that same server keeps running, or after
|
|
319
|
+
Vibe64 itself restarted, the delivery stays unknown and **Cancel** is the way
|
|
320
|
+
out. Active or unresolved server work still blocks continuation. Checking again
|
|
321
|
+
reports the latest result rather than keeping an earlier connection error.
|
|
322
|
+
Colleague can explain recovery; sending a new message, checking delivery or
|
|
323
|
+
cancelling remains your explicit action.
|
|
310
324
|
|
|
311
325
|
Claude cold startup can wait up to 90 seconds for its initialization handshake
|
|
312
326
|
while managed startup probes finish. **Pending** means the message has not yet
|
|
@@ -82,7 +82,10 @@ and message. It does not wait for native delivery, an acknowledgement or task
|
|
|
82
82
|
completion. Ask the recipient to ping back later if you need a result.
|
|
83
83
|
**Accepted · delivery not confirmed** is not proof of delivery. **Delivered to
|
|
84
84
|
assistant** confirms native acceptance, not task completion. **Delivery failed**
|
|
85
|
-
includes the reported failure; it also remains in the workspace log.
|
|
85
|
+
includes the reported failure; it also remains in the workspace log. When the
|
|
86
|
+
destination chat is still waiting on an earlier message whose delivery could not
|
|
87
|
+
be confirmed, the failure says so: nothing was sent. Send it again once the
|
|
88
|
+
person there has retried or cancelled that earlier message. Do not resend solely
|
|
86
89
|
because no immediate reply appeared. Pending dispatch is not a durable inbox and
|
|
87
90
|
is not promised to survive a daemon shutdown.
|
|
88
91
|
The recipient uses the same command to send requested answers, results or blockers
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- 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.
|
|
6
|
+
- 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`).
|
|
7
|
+
- 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.
|
|
8
|
+
- 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.
|
|
9
|
+
- `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
10
|
- 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
11
|
- 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
12
|
- 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": "
|
|
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,9 @@
|
|
|
128
129
|
"starting": "Starting…",
|
|
129
130
|
"tokenBudget": "Token budget (optional)",
|
|
130
131
|
"unavailable": "Goal unavailable",
|
|
131
|
-
"usageLimited": "
|
|
132
|
-
"usageLimitedHint": "The goal does not continue by itself
|
|
133
|
-
"
|
|
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
|
+
"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
135
|
},
|
|
135
136
|
"longText": {
|
|
136
137
|
"details": "Details",
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- 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
6
|
- **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
7
|
- 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
8
|
- `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.
|
|
@@ -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",
|
|
@@ -980,10 +980,10 @@ le records. Search before claiming a capability is unavailable. If terminology d
|
|
|
980
980
|
query to browse. Returns compact paged matches without schemas; follow nextCursor when more discovery is needed.",parameters:Il,
|
|
981
981
|
outputSchema:Sl}),Object.freeze({name:kn.contract,description:"Load the exact input and output contract for one availabl\
|
|
982
982
|
e action before executing it.",parameters:xl,outputSchema:Tl}),Object.freeze({name:kn.execute,description:"Execute one a\
|
|
983
|
-
vailable action after loading its exact contract in this turn. The action result is returned in result.",parameters:bl,outputSchema:_l})]);var Rb=new URL("./../../../@jskit-ai/assistant-core/src/server/conversation/commandWrapper.js",import.meta.url).href;var kl=Object.freeze({streaming:!1,instructions:!1,configuration:!1,goals:!1,goalBudgets:!1,goalCommands:Object.freeze({}),
|
|
984
|
-
attachments:!1,tools:!1,nativeTools:!1});var
|
|
983
|
+
vailable action after loading its exact contract in this turn. The action result is returned in result.",parameters:bl,outputSchema:_l})]);var Rb=new URL("./../../../@jskit-ai/assistant-core/src/server/conversation/commandWrapper.js",import.meta.url).href;var u_=new Error("A later Stop or turn superseded this Claude frame.");var kl=Object.freeze({streaming:!1,instructions:!1,configuration:!1,goals:!1,goalBudgets:!1,goalCommands:Object.freeze({}),
|
|
984
|
+
attachments:!1,tools:!1,nativeTools:!1});var fC=Object.freeze({goals:!0,goalBudgets:!1,goalCommands:Object.freeze({set:Object.freeze({delivery:"message",interruptsTurn:!1}),
|
|
985
985
|
resume:Object.freeze({delivery:"message",interruptsTurn:!1}),pause:Object.freeze({delivery:"control",interruptsTurn:!0}),
|
|
986
|
-
cancel:Object.freeze({delivery:"message",interruptsTurn:!0})})}),
|
|
986
|
+
cancel:Object.freeze({delivery:"message",interruptsTurn:!0})})}),mC=Object.freeze({});var BC=new URL("./../../../@jskit-ai/assistant-core/src/server/conversation/codexRuntime.js",import.meta.url).href;import{createHash as Di}from"node:crypto";import{open as Yl}from"node:fs/promises";import zi from"node:path";var zn=1024*1024,Zl=256*1024,Li=512,Ql=128,ep=16*1024;function Ln({errorPrefix:t="",identityNamespace:e="codex-account-v\
|
|
987
987
|
1",secretNamespace:n="codex-auth-secret-v1"}={}){function r(d="",p="",{messageCode:m}={}){let l=new Error(I(p)||"Codex h\
|
|
988
988
|
elper authentication is unavailable. Reconnect Codex and retry.");return l.code=I(d)||`${t}codex_helper_auth_unavailable`,
|
|
989
989
|
I(p)?m&&(l.messageCode=m):l.messageCode="assistant.codex.helperAuthUnavailable",l.messageCode&&(l.messageParams={}),l}function o(d,{
|
|
@@ -1008,10 +1008,10 @@ O=v.chatgpt_plan_type??v.plan_type,P=O==null||O===""?"":o(O,{label:"Codex plan t
|
|
|
1008
1008
|
ikey","api_key"].includes(l)){let v=o(m.OPENAI_API_KEY,{label:"Codex API key",maxLength:ep});return Object.freeze({apiKey:v,
|
|
1009
1009
|
authMode:"apiKey",identitySignature:s("apiKey",v),secretSignature:i(v)})}throw r(`${t}codex_helper_auth_invalid`,"The se\
|
|
1010
1010
|
lected Codex authentication mode is unsupported. Reconnect Codex and retry.",{messageCode:"assistant.codex.authModeUnsup\
|
|
1011
|
-
ported"})}return Object.freeze({error:r,identitySignature:s,readRecord:a,readSelected:c})}var
|
|
1011
|
+
ported"})}return Object.freeze({error:r,identitySignature:s,readRecord:a,readSelected:c})}var uA=Object.freeze({label:"Checking the Codex sign-in",operationId:"codex-auth-preflight"});var vA=Ln().error;var qA=4*1024*1024;var YE=Object.freeze({goals:!0,goalBudgets:!0,goalCommands:Object.freeze({set:Object.freeze({delivery:"control",interruptsTurn:!1}),
|
|
1012
1012
|
resume:Object.freeze({delivery:"control",interruptsTurn:!1}),pause:Object.freeze({delivery:"control",interruptsTurn:!0}),
|
|
1013
|
-
cancel:Object.freeze({delivery:"control",interruptsTurn:!1})})});var
|
|
1014
|
-
ersation_attachments_not_configured",messageCode:"assistant.conversation.attachmentsNotConfigured"})}});var
|
|
1013
|
+
cancel:Object.freeze({delivery:"control",interruptsTurn:!1})})});var nO=2*1024*1024,oO=32*1024*1024,sO=2*1024*1024;var SR=new URL("./../../../@jskit-ai/assistant-core/src/server/conversation/openCodeProcess.js",import.meta.url).href;var AR=256*1024;var ER=2*1024*1024;var OR=Oi.map(({name:t,description:e,parameters:n})=>({type:"function",function:{name:t,description:e,parameters:n}}));var sP=Object.freeze({});var vP=Object.freeze([]);var Cp=Object.freeze({resolve(){throw new N(400,"File attachments are not configured for this conversation.",{code:"conv\
|
|
1014
|
+
ersation_attachments_not_configured",messageCode:"assistant.conversation.attachmentsNotConfigured"})}});var CP=Object.freeze([{message:"This conversation exceeds the configured API history limit. Start another conversation o\
|
|
1015
1015
|
r increase the limit.",messageCode:"assistant.conversation.apiHistoryLimit"},{message:"The model reached its output toke\
|
|
1016
1016
|
n limit before completing the answer. Increase maxOutputTokens in the conversation limits.",messageCode:"assistant.conve\
|
|
1017
1017
|
rsation.outputTokenLimit"},{message:"The model stream ended without confirming its application tool calls.",messageCode:"\
|
|
@@ -1030,21 +1030,21 @@ t be saved. Restore storage access and retry saving.",messageCode:"assistant.con
|
|
|
1030
1030
|
Conversation progress could not be saved. Restore access to its storage before continuing.",messageCode:"assistant.conve\
|
|
1031
1031
|
rsation.progressUnsaved"},{message:"The conversation request exceeded its time limit.",messageCode:"assistant.conversati\
|
|
1032
1032
|
on.requestTimedOut"},{message:"Work stopped.",messageCode:"assistant.conversation.workStopped"},{message:"Stopped by use\
|
|
1033
|
-
r.",messageCode:"assistant.conversation.stoppedByUser"}]);var Ve=Object.freeze({text:16e3,toolName:256,arguments:256*1024,toolProgress:280});var
|
|
1034
|
-
type:"string",maxLength:Ve.toolName,required:!1},arguments:{type:"string",maxLength:Ve.arguments,required:!1}}),
|
|
1033
|
+
r.",messageCode:"assistant.conversation.stoppedByUser"}]);var Ve=Object.freeze({text:16e3,toolName:256,arguments:256*1024,toolProgress:280});var pk=Q({kind:{type:"string",enum:["reply","tool"],required:!0},text:{type:"string",maxLength:Ve.text,required:!1},toolName:{
|
|
1034
|
+
type:"string",maxLength:Ve.toolName,required:!1},arguments:{type:"string",maxLength:Ve.arguments,required:!1}}),fk={type:"\
|
|
1035
1035
|
object",additionalProperties:!1,required:["kind","text","toolName","arguments"],properties:{kind:{type:"string",enum:["r\
|
|
1036
1036
|
eply","tool"]},text:{type:"string",maxLength:Ve.text,description:"The final reply, or a brief progress sentence for the \
|
|
1037
1037
|
first tool request; empty for subsequent tool requests."},toolName:{type:"string",maxLength:Ve.toolName},arguments:{type:"\
|
|
1038
|
-
string",maxLength:Ve.arguments}}};var
|
|
1038
|
+
string",maxLength:Ve.arguments}}};var fM=Object.freeze({});function Dp(){throw new TypeError("Hook delivery requires an instruction resolver.")}function Kn({resolveConversation:t,
|
|
1039
1039
|
readInstructions:e=Dp}){if(typeof t!="function")throw new TypeError("Conversation hook delivery requires a binding resol\
|
|
1040
1040
|
ver.");return async function(r){if(r.scope!=="session")return{kind:"unclaimed"};let o=await t(r);if(!o)return{kind:"uncl\
|
|
1041
1041
|
aimed"};if(o.delivery==="native")return{kind:"delivery",text:""};if(o.delivery!=="hook")throw new TypeError("Unknown con\
|
|
1042
1042
|
versation instruction delivery mode.");let s=await e(o,r);if(typeof s!="string"||!s.trim())throw new TypeError("Managed \
|
|
1043
|
-
conversation instructions are unavailable.");return{kind:"delivery",text:s}}}var
|
|
1043
|
+
conversation instructions are unavailable.");return{kind:"delivery",text:s}}}var gM=Object.freeze({codex:Object.freeze({requiresWriterExclusion:!1}),claude:Object.freeze({requiresWriterExclusion:!0,
|
|
1044
1044
|
allowsManagedServer:!1,matchesProcess:({executable:t,commandLine:e})=>/(?:^|[\0/])claude(?:\0|$)|@anthropic-ai\/claude-code\//u.
|
|
1045
1045
|
test(`${t||""}\0${e}`)}),opencode:Object.freeze({requiresWriterExclusion:!0,allowsManagedServer:!0,matchesProcess:({executable:t,
|
|
1046
1046
|
commandLine:e})=>/(?:^|[\0/])opencode(?:\0|$)/u.test(`${t||""}\0${e}`)})});import{readFile as zp}from"node:fs/promises";import Jn from"node:path";function ir(t){return String(t||"").trim()}var Lp=Object.freeze(["main","temporary"]),Gi=Object.freeze(["managedDatabaseRefresh","managedEnvironment","managedGit",
|
|
1047
|
-
"managedPreview"]),Wi=Object.freeze(["managedPages"]),Up=64*1024,
|
|
1047
|
+
"managedPreview"]),Wi=Object.freeze(["managedPages"]),Up=64*1024,KM=Object.freeze(["When user input is necessary, ask no\
|
|
1048
1048
|
more than three concise, high-impact questions at once.","Put multiple questions on separate lines as `[1] Question`, `\
|
|
1049
1049
|
[2] Question`, and so on.","For a small fixed set of useful choices, put `Possible answers:` and a short bullet list dir\
|
|
1050
1050
|
ectly beneath its own question, before the next one; never collect several questions' answers into one trailing list.","\
|
|
@@ -1057,7 +1057,7 @@ Possible answers:
|
|
|
1057
1057
|
[2] Tell the main agent before changes?
|
|
1058
1058
|
Possible answers:
|
|
1059
1059
|
- Yes, tell main first
|
|
1060
|
-
- No, proceed independently`]),
|
|
1060
|
+
- No, proceed independently`]),JM=Object.freeze(["The Vibe64-managed preview is the canonical application server; never \
|
|
1061
1061
|
start a duplicate or replacement server. If it is unavailable, report that blocker. Describe only rendered browser evide\
|
|
1062
1062
|
nce.","When adopting an authenticated app, or when its login blocks Preview inspection, inspect identity support/names w\
|
|
1063
1063
|
ith `vibe64-helper preview status`; prefer `vibe64-helper preview browser identity <configured-name>` to requesting pass\
|
|
@@ -1117,7 +1117,7 @@ waits for cleanup/restoration; retry if cleanup needs attention. Never kill test
|
|
|
1117
1117
|
exit alone does not prove tests stopped. Recheck status before reporting a busy blocker.","If a managed command reports \
|
|
1118
1118
|
kernel task denials or a resource incident, report the blocker with its diagnostic and incident ID and ask the platform \
|
|
1119
1119
|
operator to inspect that evidence before retrying; never raise test timeouts or weaken assertions to work around a proce\
|
|
1120
|
-
ss/thread limit. A generic browser timeout without resource evidence does not establish a platform cause."]),
|
|
1120
|
+
ss/thread limit. A generic browser timeout without resource evidence does not establish a platform cause."]),XM=Object.freeze(
|
|
1121
1121
|
['Pages: `vibe64-helper pages publish <file.html|folder> [--title "Title"]` publishes an HTML page (one file, or a folde\
|
|
1122
1122
|
r with index.html and its own scripts, styles, data and images) that everyone with access to this project can open from \
|
|
1123
1123
|
Vibe64\'s Pages list; `vibe64-helper pages update <page-id> <file.html|folder>` gives a page a new version under the same\
|
|
@@ -1139,7 +1139,7 @@ e data; use --prompt only when gathering it needs judgement.","Before making a p
|
|
|
1139
1139
|
hen a page about the same subject already exists, update it instead of making a new one.","Do not offer pages for quick \
|
|
1140
1140
|
answers, code changes, or documents that belong in the repository. Offer at most once per topic; do not nag.","Everyone \
|
|
1141
1141
|
with access to the project can open a page: never put secrets in one, or anything not every project member should see."]),
|
|
1142
|
-
|
|
1142
|
+
YM=Object.freeze(["Each managed shell command receives current development Env from Vibe64, including declared resource \
|
|
1143
1143
|
bindings; use them in ordinary commands. Do not build environment injection or copy managed credentials into source. Res\
|
|
1144
1144
|
ource provisioning and application migrations remain separate preparation steps.","Use `vibe64-helper env status [develo\
|
|
1145
1145
|
pment|production|all]` to inspect configured key names without revealing values.","Pipe an available value to `vibe64-he\
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibe64",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.65",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Run Vibe64 against the current project.",
|
|
6
6
|
"type": "module",
|
|
@@ -53,18 +53,18 @@
|
|
|
53
53
|
"@fastify/static": "10.1.4",
|
|
54
54
|
"@fastify/websocket": "11.3.1",
|
|
55
55
|
"@jskit-ai/agent": "0.1.3",
|
|
56
|
-
"@jskit-ai/assistant-core": "0.2.
|
|
57
|
-
"@jskit-ai/assistant-runtime": "0.2.
|
|
58
|
-
"@jskit-ai/assistant-voice": "0.2.
|
|
59
|
-
"@jskit-ai/connector-google-calendar": "0.2.
|
|
60
|
-
"@jskit-ai/connectors-catalog": "0.2.
|
|
61
|
-
"@jskit-ai/connectors-core": "0.2.
|
|
62
|
-
"@jskit-ai/http-runtime": "0.2.
|
|
63
|
-
"@jskit-ai/kernel": "0.2.
|
|
64
|
-
"@jskit-ai/payments-core": "0.2.
|
|
65
|
-
"@jskit-ai/realtime": "0.2.
|
|
66
|
-
"@jskit-ai/resource-core": "0.1.
|
|
67
|
-
"@jskit-ai/uploads-runtime": "0.2.
|
|
56
|
+
"@jskit-ai/assistant-core": "0.2.51",
|
|
57
|
+
"@jskit-ai/assistant-runtime": "0.2.54",
|
|
58
|
+
"@jskit-ai/assistant-voice": "0.2.54",
|
|
59
|
+
"@jskit-ai/connector-google-calendar": "0.2.30",
|
|
60
|
+
"@jskit-ai/connectors-catalog": "0.2.30",
|
|
61
|
+
"@jskit-ai/connectors-core": "0.2.30",
|
|
62
|
+
"@jskit-ai/http-runtime": "0.2.21",
|
|
63
|
+
"@jskit-ai/kernel": "0.2.21",
|
|
64
|
+
"@jskit-ai/payments-core": "0.2.18",
|
|
65
|
+
"@jskit-ai/realtime": "0.2.33",
|
|
66
|
+
"@jskit-ai/resource-core": "0.1.212",
|
|
67
|
+
"@jskit-ai/uploads-runtime": "0.2.21",
|
|
68
68
|
"@local/current-app": "0.1.0",
|
|
69
69
|
"@local/studio-health": "0.1.0",
|
|
70
70
|
"@local/studio-terminal-core": "0.1.0",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"fastq": "1.20.3",
|
|
130
130
|
"find-my-way": "9.9.0",
|
|
131
131
|
"flatted": "3.4.4",
|
|
132
|
-
"genesis-compiler": "1.10.
|
|
132
|
+
"genesis-compiler": "1.10.19",
|
|
133
133
|
"genesis-stack": "1.4.7",
|
|
134
134
|
"get-port": "7.2.0",
|
|
135
135
|
"glob": "13.0.6",
|