@boxes-dev/dvb-runtime 1.0.993 → 1.0.995

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/dist/bin/dvb.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a966537c-2669-5b6b-a641-9b33d7cf3042")}catch(e){}}();
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7e01ee3f-59f5-5869-ac92-695acb0519f8")}catch(e){}}();
4
4
  import { createRequire as __dvbCreateRequire } from "node:module";
5
5
  import { dirname as __dvbDirname } from "node:path";
6
6
  import { fileURLToPath as __dvbFileURLToPath } from "node:url";
@@ -101145,8 +101145,8 @@ var init_otel = __esm({
101145
101145
  return trimmed && trimmed.length > 0 ? trimmed : void 0;
101146
101146
  };
101147
101147
  readBuildMetadata = () => {
101148
- const rawPackageVersion = "1.0.993";
101149
- const rawGitSha = "afbedbc8f446275968b331f2a57567d2817ae26e";
101148
+ const rawPackageVersion = "1.0.995";
101149
+ const rawGitSha = "a759a4a486b8166f8fc6ef7feb30105987fb53e2";
101150
101150
  const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
101151
101151
  const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
101152
101152
  return { packageVersion, gitSha };
@@ -133552,9 +133552,9 @@ var init_sentry = __esm({
133552
133552
  uncaughtExceptionMonitorInstalled = false;
133553
133553
  currentDevboxSentryUser = null;
133554
133554
  readBuildMetadata2 = () => {
133555
- const rawPackageVersion = "1.0.993";
133556
- const rawGitSha = "afbedbc8f446275968b331f2a57567d2817ae26e";
133557
- const rawSentryRelease = "boxes-dev-dvb@1.0.993+afbedbc8f446275968b331f2a57567d2817ae26e";
133555
+ const rawPackageVersion = "1.0.995";
133556
+ const rawGitSha = "a759a4a486b8166f8fc6ef7feb30105987fb53e2";
133557
+ const rawSentryRelease = "boxes-dev-dvb@1.0.995+a759a4a486b8166f8fc6ef7feb30105987fb53e2";
133558
133558
  const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
133559
133559
  const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
133560
133560
  const sentryRelease = typeof rawSentryRelease === "string" ? rawSentryRelease : void 0;
@@ -138745,7 +138745,7 @@ var init_packageVersion = __esm({
138745
138745
  return path17.join(process.cwd(), "dvb");
138746
138746
  };
138747
138747
  readEmbeddedPackageVersion = () => {
138748
- const raw = "1.0.993";
138748
+ const raw = "1.0.995";
138749
138749
  return trimVersion(raw);
138750
138750
  };
138751
138751
  readNearestPackageMetadata = (basePath) => {
@@ -358905,4 +358905,4 @@ react/cjs/react-jsx-runtime.development.js:
358905
358905
  *)
358906
358906
  */
358907
358907
 
358908
- //# debugId=a966537c-2669-5b6b-a641-9b33d7cf3042
358908
+ //# debugId=7e01ee3f-59f5-5869-ac92-695acb0519f8
package/dist/bin/dvbd.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2b781d70-4dd7-5950-b6ba-ef41c1ea9af7")}catch(e){}}();
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="49bc38b5-e23d-5554-bc6a-27478afbfa6a")}catch(e){}}();
4
4
  import { createRequire as __dvbCreateRequire } from "node:module";
5
5
  import { dirname as __dvbDirname } from "node:path";
6
6
  import { fileURLToPath as __dvbFileURLToPath } from "node:url";
@@ -96328,8 +96328,8 @@ var init_otel = __esm({
96328
96328
  return trimmed && trimmed.length > 0 ? trimmed : void 0;
96329
96329
  };
96330
96330
  readBuildMetadata = () => {
96331
- const rawPackageVersion = "1.0.993";
96332
- const rawGitSha = "afbedbc8f446275968b331f2a57567d2817ae26e";
96331
+ const rawPackageVersion = "1.0.995";
96332
+ const rawGitSha = "a759a4a486b8166f8fc6ef7feb30105987fb53e2";
96333
96333
  const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
96334
96334
  const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
96335
96335
  return { packageVersion, gitSha };
@@ -128624,9 +128624,9 @@ var init_sentry = __esm({
128624
128624
  uncaughtExceptionMonitorInstalled = false;
128625
128625
  currentDevboxSentryUser = null;
128626
128626
  readBuildMetadata2 = () => {
128627
- const rawPackageVersion = "1.0.993";
128628
- const rawGitSha = "afbedbc8f446275968b331f2a57567d2817ae26e";
128629
- const rawSentryRelease = "boxes-dev-dvb@1.0.993+afbedbc8f446275968b331f2a57567d2817ae26e";
128627
+ const rawPackageVersion = "1.0.995";
128628
+ const rawGitSha = "a759a4a486b8166f8fc6ef7feb30105987fb53e2";
128629
+ const rawSentryRelease = "boxes-dev-dvb@1.0.995+a759a4a486b8166f8fc6ef7feb30105987fb53e2";
128630
128630
  const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
128631
128631
  const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
128632
128632
  const sentryRelease = typeof rawSentryRelease === "string" ? rawSentryRelease : void 0;
@@ -130826,7 +130826,7 @@ var init_packageVersion = __esm({
130826
130826
  return path8.join(process.cwd(), "dvb");
130827
130827
  };
130828
130828
  readEmbeddedPackageVersion = () => {
130829
- const raw = "1.0.993";
130829
+ const raw = "1.0.995";
130830
130830
  return trimVersion(raw);
130831
130831
  };
130832
130832
  readNearestPackageMetadata = (basePath) => {
@@ -144021,4 +144021,4 @@ long/umd/index.js:
144021
144021
  *)
144022
144022
  */
144023
144023
 
144024
- //# debugId=2b781d70-4dd7-5950-b6ba-ef41c1ea9af7
144024
+ //# debugId=49bc38b5-e23d-5554-bc6a-27478afbfa6a
@@ -115,6 +115,11 @@ text size as the composer. The composer can also show:
115
115
  - image and file attachments when available;
116
116
  - send, stop, and interrupt controls.
117
117
 
118
+ The rate-limit indicator shows the newest reading available for the selected
119
+ Codex or Claude account. Its last reading remains visible while the thread's
120
+ runtime is asleep or disconnected, and updates after boxes.dev receives a
121
+ newer reading.
122
+
118
123
  When Codex waits for MCP servers during startup, the startup row names the
119
124
  servers that are still loading. If an MCP needs authentication again, mobile
120
125
  shows a dismissible notice that names it and directs you to **Integrations →
@@ -162,6 +167,12 @@ devbox pills. From a devbox row or devbox group you can:
162
167
  - put the devbox to sleep when it is idle;
163
168
  - destroy the devbox when you are finished.
164
169
 
170
+ In an open active thread, the header menu shows **Destroy + archive** for every
171
+ thread on that devbox. A secondary thread also keeps its separate **Archive
172
+ thread** action, which archives only that conversation. The completed-work
173
+ banner can offer the same devbox cleanup action from any active thread on the
174
+ devbox.
175
+
165
176
  Destroying a devbox preserves the related threads as archived cold-storage
166
177
  transcripts. It does not copy them onto or wake another machine. If the devbox
167
178
  has local changes or local-only commits, the confirmation text calls that out
@@ -59,6 +59,15 @@ when its native component or the required remote support is unavailable.
59
59
  Terminal tabs can show unread-output or attention indicators, including bell
60
60
  alerts when terminal notification settings allow them.
61
61
 
62
+ Paste a clipboard image into a desktop terminal with **Cmd+V** on macOS,
63
+ **Ctrl+V** on Linux, or the terminal's **Paste** menu. Claude's image shortcut
64
+ (**Ctrl+V** on macOS/Linux, **Alt+V** on Windows) also works. boxes.dev will
65
+ upload the image to the selected machine and paste its file path. Claude Code
66
+ will recognize that path as an image attachment; a shell will receive the path
67
+ without running a command. This works with Managed and Direct connections.
68
+ PNG and JPEG images are supported, up to 20 MiB per image and 50 MiB per paste.
69
+ If an upload fails, paste again before resubmitting your prompt.
70
+
62
71
  ## One-Off Commands From A Local Agent
63
72
 
64
73
  `dvb exec` runs one noninteractive command on an exact project machine:
@@ -212,6 +221,9 @@ Activity can terminate a process. If it keeps running after terminate, the UI
212
221
  can offer Force kill. Use these actions only when you understand what the
213
222
  process is doing.
214
223
 
224
+ When memory runs critically low, the system may stop a Codex or Claude session
225
+ to recover. Reduce memory use before retrying the interrupted work.
226
+
215
227
  ## Reset
216
228
 
217
229
  The desktop app menu has **Machine > Reset** when the selected managed runtime
@@ -115,6 +115,44 @@ directory before the first prompt is sent. The options are the project
115
115
  directory and the tracked repo directories in that project. Existing threads
116
116
  continue in the working directory they were originally started with.
117
117
 
118
+ ## Machine Hooks And Permissions
119
+
120
+ On an updated managed machine, edit `/etc/boxes/agents/codex/` or
121
+ `/etc/boxes/agents/claude/` to customize command permissions and tool hooks.
122
+ Both directories include inactive starter files, an empty `scripts/` directory,
123
+ and a README listing supported settings and examples. Untouched files preserve
124
+ the normal full-access behavior. Updates will not overwrite your edits.
125
+
126
+ Use Codex's native `config.toml`, `hooks.json`, and `rules/*.rules`, or Claude's
127
+ native `settings.json`. Only the documented permission settings and synchronous
128
+ PreToolUse/PostToolUse command hooks are supported here. Authentication, agent
129
+ homes, sandbox settings, and required boxes.dev hooks are managed separately.
130
+
131
+ For Codex approvals outside an allowlist, mark the project untrusted and leave
132
+ `approval_policy` unset. `on-request` alone does not ask for every unmatched
133
+ command. Untrusted projects skip repository-local `.codex` configuration; put
134
+ the policy in the machine directory instead. Personal rules and remembered
135
+ approvals still participate in native decisions.
136
+
137
+ For Claude, set `permissions.defaultMode` to `default` for manual approvals.
138
+ An explicit machine mode will apply when a new agent process starts, including
139
+ resumed threads; subsequent UI mode changes last until that process restarts.
140
+
141
+ Finish active work and use **Reboot** on a devbox to activate edits across both
142
+ agents. In the Team Template editor, use **Save and close**, then take control
143
+ again. Pause or Reset alone does not guarantee activation. Reboot stops workloads and
144
+ preserves files. Repair invalid settings and retry the
145
+ affected agent; the other agent and terminal remain available. Remove overrides
146
+ and reboot to return to the existing configuration. Claude retains each thread's
147
+ saved mode when no machine mode is set; explicitly set `bypassPermissions` to
148
+ restore approval bypass. Script edits take effect the next time the hook
149
+ executes. Hook errors and timeouts are not guaranteed denials; use the native
150
+ agent's explicit deny response when a command must be refused.
151
+
152
+ Save a Team Template version to include these files and scripts in future member
153
+ devboxes. Existing devboxes need their own file update. Older managed runtimes
154
+ ignore these directories; update the machine before relying on the settings.
155
+
118
156
  ## Recorded Agent Activity
119
157
 
120
158
  boxes.dev records compact hourly token measurements from retained Codex and
@@ -351,12 +389,18 @@ Codex MCP servers can continue starting after the devbox and thread are ready.
351
389
  When that work is still in progress, the startup area names the MCP servers it
352
390
  is waiting for. A generic MCP startup failure does not interrupt the thread or
353
391
  add a warning. If Codex reports that an MCP server's authentication expired, the
354
- thread shows a dismissible notice. For a centrally managed connection, open
355
- **Integrations → MCPs** and choose **Reauthorize** for Codex; boxes.dev applies
356
- the new access everywhere that connection belongs. Reconnect a Template-managed
357
- MCP from its Template box instead. Dismissing the notice keeps the same MCP
358
- authentication warning hidden for that devbox until the app reloads. boxes.dev
359
- does not show raw MCP startup errors in the thread.
392
+ thread shows a compact notice above the composer with an **Open MCPs** button
393
+ and a dismiss control. The notice says which repair applies. For a connection
394
+ managed in **Integrations → MCPs**, choose **Reauthorize** for Codex there once;
395
+ boxes.dev applies the new sign-in to every devbox and the notice clears on its
396
+ own. For an MCP installed directly on the Template box, reauthorize it under
397
+ **Template-managed MCPs**, then take a snapshot so new devboxes will have it;
398
+ existing devboxes keep running without that MCP. In a Team Template member
399
+ project, a Template admin needs to reauthorize an inherited MCP in the Team
400
+ Template. Dismissing the notice hides that MCP server's warning for every
401
+ devbox in the project, including after reloads. The warning will return if the
402
+ server starts successfully and its authorization expires again. boxes.dev does
403
+ not show raw MCP startup errors in the thread.
360
404
 
361
405
  After the first prompt is queued, its bubble shows the current startup detail
362
406
  with a compact circular progress indicator. If startup can be cancelled, that
@@ -391,6 +435,18 @@ same user-bubble queue used during startup and reconnect. Queued follow-ups can
391
435
  be edited, deleted, or restored. During an active Codex turn, `Steer now`
392
436
  releases the whole queue in order instead of targeting one message.
393
437
 
438
+ For Claude, choose **Queue** to wait for the current work to finish or **Steer**
439
+ to send a correction without interrupting a running tool. Claude will use a
440
+ steer at its next available opportunity; a message sent during a final response
441
+ may get a separate response afterward. Both actions support Claude's existing
442
+ attachments.
443
+
444
+ Desktop Settings has a separate **Claude Replies** default. Enter will use
445
+ that action while Claude is working, and Cmd/Ctrl+Enter will use the alternate
446
+ action. On mobile, use the **Queue**/**Steer** control beside the composer.
447
+ An idle thread starts normally with either preference. Once Claude accepts a
448
+ steer, it cannot be edited or deleted as a waiting Queue message.
449
+
394
450
  The desktop and mobile composers also stay available while Codex or Claude
395
451
  Code is starting, reconnecting, or preparing a new fork. Messages sent during
396
452
  that wait appear as regular queued bubbles and send automatically in order once
@@ -413,6 +469,11 @@ missing auth, the composer shows the reason and any available repair action.
413
469
 
414
470
  ## Codex Controls
415
471
 
472
+ If Codex stops with an error after receiving your message, the message stays in
473
+ the transcript. Use the reply box to continue. For an eligible failure in the
474
+ latest turn, **Retry** rolls back that turn and resubmits its original input.
475
+ This is separate from resending a message that failed to reach Codex.
476
+
416
477
  Codex threads expose model controls in the composer footer:
417
478
 
418
479
  - Model selects the Codex model. On desktop, older model generations appear
@@ -454,6 +515,7 @@ Desktop transcript history uses collapsed mode by default for completed Codex
454
515
  turns. Clear **View > Diagnostics > Use Collapsed Transcript History** to show
455
516
  older intermediate activity inline instead. The current turn continues to show
456
517
  its available activity while Codex is working.
518
+ Collapsing activity keeps your messages visible in their original order.
457
519
 
458
520
  Codex can have a saved goal. A goal tells Codex what to keep working toward
459
521
  across turns. Users can start a goal from goal mode or with `/goal ...`, then
@@ -513,9 +575,9 @@ last-used selection can still become the starting default for a new thread.
513
575
  On a connected managed Claude thread, the desktop and mobile composers
514
576
  also offer these modes when the runtime supports switching them:
515
577
 
516
- - **Full-access** is the standard boxes.dev mode and the default for every new
578
+ - **Full-access** is the standard boxes.dev mode and the default for a new
517
579
  thread. Claude works in the isolated Template box or devbox without ordinary
518
- edit and command approval prompts.
580
+ edit and command approval prompts, unless machine configuration changes that default.
519
581
  - **Auto** uses Claude's safety checks and may still block an operation or ask
520
582
  for permission. It appears only for models that report Auto support, and
521
583
  Claude can return the thread to Manual if Auto becomes unavailable.
@@ -525,7 +587,8 @@ also offer these modes when the runtime supports switching them:
525
587
  until the user approves leaving plan mode.
526
588
 
527
589
  The last confirmed Full-access, Auto, or Manual choice belongs to that thread
528
- and survives reconnects and agent restarts. Plan temporarily overlays that base
590
+ and survives reconnects and agent restarts unless an explicit machine mode
591
+ overrides it at process startup. Plan temporarily overlays that base
529
592
  choice, so leaving Plan restores the prior mode. While a mode change is being
530
593
  confirmed, the selector and Send action stay disabled so a prompt cannot run
531
594
  under the previous mode.
@@ -635,6 +698,12 @@ only needs access to another directory. Session-preserving controls such as
635
698
  available. An ordinary `claude` started in a separate machine shell keeps its
636
699
  stock behavior.
637
700
 
701
+ In Claude's desktop CLI view, paste clipboard images with **Cmd+V** on macOS
702
+ or **Ctrl+V** on Linux, use Claude's **Ctrl+V** image shortcut (**Alt+V** on
703
+ Windows), or choose **Paste** from the terminal's context menu. boxes.dev will
704
+ upload the image to the devbox before Claude receives it. PNG/JPEG images can
705
+ be up to 20 MiB each, with at most 10 images and 50 MiB per paste.
706
+
638
707
  For a started desktop thread, the normal thread header shows a small pill
639
708
  named for the current view (**GUI** or **CLI**). It opens a **Thread view**
640
709
  menu listing both views; choosing the other view switches this thread, and an
@@ -662,6 +731,11 @@ the next one starts as soon as the stopped turn finishes settling. To keep
662
731
  those from running, delete them individually or use the control that returns
663
732
  all queued prompts to the composer before the turn settles.
664
733
 
734
+ Claude steers already accepted by Claude are different: Stop may leave them
735
+ waiting for Claude's next response, and they cannot be taken back through the
736
+ Queue controls. A steer that Claude already read remains in the thread even
737
+ if its response is stopped.
738
+
665
739
  Interrupt availability depends on the agent, current turn state, and runtime
666
740
  state. If the UI says interrupt is unavailable, wait for the current operation
667
741
  to finish or use the runtime controls if the whole runtime is stuck.
@@ -142,6 +142,16 @@ directly there are under **Template-managed MCPs** in the same place. Team
142
142
  Template member projects omit that inventory. If sign-in fails, follow the
143
143
  recovery message on that MCP's card.
144
144
 
145
+ If **Template-managed MCPs** cannot load, use **Retry**. A dash in an agent's
146
+ count means its inventory is unavailable, and rows kept from an earlier read
147
+ are marked as previous results. A sleeping Template box shows a disconnected
148
+ note; **Retry** will wake it and reload the list.
149
+
150
+ If a sign-in row shows **Status unknown**, boxes.dev could not confirm whether
151
+ that sign-in finished. Choose **Retry status check** on the row (or
152
+ **Refresh**) to keep checking the same sign-in, or **Cancel** to stop it and
153
+ start over.
154
+
145
155
  Older desktop app versions may provide a `dvb mcp authorize` command instead of
146
156
  opening sign-in. Run that command in a terminal on your own computer, never in
147
157
  a Template box or devbox. Installing or running the workstation `dvb` CLI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boxes-dev/dvb-runtime",
3
- "version": "1.0.993",
3
+ "version": "1.0.995",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "imports": {
@@ -77,5 +77,5 @@
77
77
  "e2b": "^2.18.0",
78
78
  "ink-testing-library": "^4.0.0"
79
79
  },
80
- "devboxReleasedAt": "2026-09-06T17:09:54Z"
80
+ "devboxReleasedAt": "2026-09-07T21:18:56Z"
81
81
  }