@boxes-dev/dvb-runtime 1.0.985 → 1.0.986

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]="fbdf5ee5-2d40-50ee-9683-24fca0d5eb6e")}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]="ca3e9b14-2c6f-5cb2-9f91-ea42645039d5")}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.985";
101149
- const rawGitSha = "0fe1873557094fed8951524668803b8cad0503ac";
101148
+ const rawPackageVersion = "1.0.986";
101149
+ const rawGitSha = "446428a31bbedb44d0cd20e769f6f89c9a5e865e";
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.985";
133556
- const rawGitSha = "0fe1873557094fed8951524668803b8cad0503ac";
133557
- const rawSentryRelease = "boxes-dev-dvb@1.0.985+0fe1873557094fed8951524668803b8cad0503ac";
133555
+ const rawPackageVersion = "1.0.986";
133556
+ const rawGitSha = "446428a31bbedb44d0cd20e769f6f89c9a5e865e";
133557
+ const rawSentryRelease = "boxes-dev-dvb@1.0.986+446428a31bbedb44d0cd20e769f6f89c9a5e865e";
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;
@@ -135220,12 +135220,20 @@ var init_managedDaemonControlAuth = __esm({
135220
135220
  }
135221
135221
  });
135222
135222
 
135223
+ // ../../../../shared/devboxCore/dist/managedFileCapability.js
135224
+ var init_managedFileCapability = __esm({
135225
+ "../../../../shared/devboxCore/dist/managedFileCapability.js"() {
135226
+ "use strict";
135227
+ }
135228
+ });
135229
+
135223
135230
  // ../../../../shared/devboxCore/dist/ttyControlProtocol.js
135224
135231
  var TTY_CONTROL_PROTOCOL_VERSION, TTY_CONTROL_REMOTE_BROWSER_CAPABILITY, TTY_CONTROL_REQUIRED_CAPABILITIES, TTY_CONTROL_CAPABILITIES, CONTROL_TTY_REPLACED_CLOSE_CODE, CONTROL_TTY_REPLACED_ERROR_CODE, buildControlAuthMessage, parseControlReadyMessage, findMissingTtyControlCapabilities;
135225
135232
  var init_ttyControlProtocol = __esm({
135226
135233
  "../../../../shared/devboxCore/dist/ttyControlProtocol.js"() {
135227
135234
  "use strict";
135228
135235
  init_managedDaemonControlAuth();
135236
+ init_managedFileCapability();
135229
135237
  TTY_CONTROL_PROTOCOL_VERSION = 1;
135230
135238
  TTY_CONTROL_REMOTE_BROWSER_CAPABILITY = "remote_browser";
135231
135239
  TTY_CONTROL_REQUIRED_CAPABILITIES = [
@@ -138737,7 +138745,7 @@ var init_packageVersion = __esm({
138737
138745
  return path17.join(process.cwd(), "dvb");
138738
138746
  };
138739
138747
  readEmbeddedPackageVersion = () => {
138740
- const raw = "1.0.985";
138748
+ const raw = "1.0.986";
138741
138749
  return trimVersion(raw);
138742
138750
  };
138743
138751
  readNearestPackageMetadata = (basePath) => {
@@ -205865,66 +205873,77 @@ var init_threadStartProgress = __esm({
205865
205873
  switch (stage) {
205866
205874
  case "uploading_attachment":
205867
205875
  return {
205876
+ stage,
205868
205877
  label: "Uploading 1 attachment\u2026",
205869
205878
  currentStep: 1,
205870
205879
  totalSteps: TOTAL_STEPS
205871
205880
  };
205872
205881
  case "uploading_attachments":
205873
205882
  return {
205883
+ stage,
205874
205884
  label: "Uploading attachments\u2026",
205875
205885
  currentStep: 1,
205876
205886
  totalSteps: TOTAL_STEPS
205877
205887
  };
205878
205888
  case "preparing":
205879
205889
  return {
205890
+ stage,
205880
205891
  label: "Preparing devbox",
205881
205892
  currentStep: 1,
205882
205893
  totalSteps: TOTAL_STEPS
205883
205894
  };
205884
205895
  case "copying_state":
205885
205896
  return {
205897
+ stage,
205886
205898
  label: "Copying machine state",
205887
205899
  currentStep: 2,
205888
205900
  totalSteps: TOTAL_STEPS
205889
205901
  };
205890
205902
  case "starting_runtime":
205891
205903
  return {
205904
+ stage,
205892
205905
  label: "Starting devbox",
205893
205906
  currentStep: 3,
205894
205907
  totalSteps: TOTAL_STEPS
205895
205908
  };
205896
205909
  case "validating_thread":
205897
205910
  return {
205911
+ stage,
205898
205912
  label: "Validating moved thread",
205899
205913
  currentStep: 4,
205900
205914
  totalSteps: TOTAL_STEPS
205901
205915
  };
205902
205916
  case "finalizing_move":
205903
205917
  return {
205918
+ stage,
205904
205919
  label: "Finalizing move",
205905
205920
  currentStep: 5,
205906
205921
  totalSteps: TOTAL_STEPS
205907
205922
  };
205908
205923
  case "rolling_back":
205909
205924
  return {
205925
+ stage,
205910
205926
  label: "Rolling back move",
205911
205927
  currentStep: 6,
205912
205928
  totalSteps: TOTAL_STEPS
205913
205929
  };
205914
205930
  case "running_startup_script":
205915
205931
  return {
205932
+ stage,
205916
205933
  label: "Running startup script",
205917
205934
  currentStep: 4,
205918
205935
  totalSteps: TOTAL_STEPS
205919
205936
  };
205920
205937
  case "connecting_backend":
205921
205938
  return {
205939
+ stage,
205922
205940
  label: resolveConnectingLabel(backend),
205923
205941
  currentStep: 5,
205924
205942
  totalSteps: TOTAL_STEPS
205925
205943
  };
205926
205944
  case "starting_thread":
205927
205945
  return {
205946
+ stage,
205928
205947
  label: "Starting thread",
205929
205948
  currentStep: 6,
205930
205949
  totalSteps: TOTAL_STEPS
@@ -358886,4 +358905,4 @@ react/cjs/react-jsx-runtime.development.js:
358886
358905
  *)
358887
358906
  */
358888
358907
 
358889
- //# debugId=fbdf5ee5-2d40-50ee-9683-24fca0d5eb6e
358908
+ //# debugId=ca3e9b14-2c6f-5cb2-9f91-ea42645039d5
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]="3aca243b-b652-5346-916a-65220deabcd7")}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]="143c2ebb-07d4-59fd-a83b-b2d5569a19ce")}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.985";
96332
- const rawGitSha = "0fe1873557094fed8951524668803b8cad0503ac";
96331
+ const rawPackageVersion = "1.0.986";
96332
+ const rawGitSha = "446428a31bbedb44d0cd20e769f6f89c9a5e865e";
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.985";
128628
- const rawGitSha = "0fe1873557094fed8951524668803b8cad0503ac";
128629
- const rawSentryRelease = "boxes-dev-dvb@1.0.985+0fe1873557094fed8951524668803b8cad0503ac";
128627
+ const rawPackageVersion = "1.0.986";
128628
+ const rawGitSha = "446428a31bbedb44d0cd20e769f6f89c9a5e865e";
128629
+ const rawSentryRelease = "boxes-dev-dvb@1.0.986+446428a31bbedb44d0cd20e769f6f89c9a5e865e";
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;
@@ -129550,12 +129550,20 @@ var init_managedDaemonControlAuth = __esm({
129550
129550
  }
129551
129551
  });
129552
129552
 
129553
+ // ../../../../shared/devboxCore/dist/managedFileCapability.js
129554
+ var init_managedFileCapability = __esm({
129555
+ "../../../../shared/devboxCore/dist/managedFileCapability.js"() {
129556
+ "use strict";
129557
+ }
129558
+ });
129559
+
129553
129560
  // ../../../../shared/devboxCore/dist/ttyControlProtocol.js
129554
129561
  var TTY_CONTROL_PROTOCOL_VERSION, TTY_CONTROL_REMOTE_BROWSER_CAPABILITY, TTY_CONTROL_REQUIRED_CAPABILITIES, TTY_CONTROL_CAPABILITIES, buildControlAuthMessage;
129555
129562
  var init_ttyControlProtocol = __esm({
129556
129563
  "../../../../shared/devboxCore/dist/ttyControlProtocol.js"() {
129557
129564
  "use strict";
129558
129565
  init_managedDaemonControlAuth();
129566
+ init_managedFileCapability();
129559
129567
  TTY_CONTROL_PROTOCOL_VERSION = 1;
129560
129568
  TTY_CONTROL_REMOTE_BROWSER_CAPABILITY = "remote_browser";
129561
129569
  TTY_CONTROL_REQUIRED_CAPABILITIES = [
@@ -130818,7 +130826,7 @@ var init_packageVersion = __esm({
130818
130826
  return path8.join(process.cwd(), "dvb");
130819
130827
  };
130820
130828
  readEmbeddedPackageVersion = () => {
130821
- const raw = "1.0.985";
130829
+ const raw = "1.0.986";
130822
130830
  return trimVersion(raw);
130823
130831
  };
130824
130832
  readNearestPackageMetadata = (basePath) => {
@@ -144013,4 +144021,4 @@ long/umd/index.js:
144013
144021
  *)
144014
144022
  */
144015
144023
 
144016
- //# debugId=3aca243b-b652-5346-916a-65220deabcd7
144024
+ //# debugId=143c2ebb-07d4-59fd-a83b-b2d5569a19ce
@@ -93,9 +93,11 @@ dvb-onbox snapshot
93
93
  ```
94
94
 
95
95
  This does the same thing as **New snapshot** in the runtime menu. The command
96
- waits through the brief Template box pause and reports the new snapshot ID
97
- after the machine reconnects. Coding agents can use
98
- `dvb-onbox snapshot --json` for a machine-readable result after making a
96
+ waits through the brief capture window and reports the new snapshot ID after
97
+ the machine reconnects. If Codex or Claude is running, boxes.dev will resume
98
+ that work only on the Template box; future devboxes will receive the saved
99
+ files and transcript history, not the copied agent process. Coding agents can
100
+ use `dvb-onbox snapshot --json` for a machine-readable result after making a
99
101
  requested system change.
100
102
 
101
103
  `dvb-onbox` is installed on Devboxes too, but `dvb-onbox snapshot` works only
@@ -46,6 +46,9 @@ Use this terminology consistently:
46
46
  - `managed-environment-files.md`: centrally managed dotenv files, initial
47
47
  import, managed-prefix ownership, Team Template Team/member values,
48
48
  reveal/export, outages, snapshots, security boundaries, and limits.
49
+ - `member-managed-files.md`: complete member-owned files required by a Team
50
+ Template, Home/Project destinations, exact-byte delivery, startup blocking,
51
+ destination approval, replacement, download, and security boundaries.
49
52
  - `shared-storage.md`: the shared `/project` folder, recommended uses and
50
53
  limitations, Claude project memory, persistence, access, and turning it off.
51
54
  - `core-concepts.md`: short definitions for projects, Template boxes, devboxes,
@@ -0,0 +1,75 @@
1
+ # Member Files
2
+
3
+ Use this doc for questions about Team Template file requirements, member-owned
4
+ configuration files, safe destinations, replacement, destination approval, or
5
+ startup blocking.
6
+
7
+ ## What Member Files Are
8
+
9
+ A Team Template admin can require every project member to provide their own
10
+ file at a fixed destination. This is useful for personal CLI configuration,
11
+ for example `$HOME/.convex/config.json`, when the tool expects a complete file
12
+ rather than environment variables.
13
+
14
+ The admin chooses either **Home** or **Project** and enters a relative path.
15
+ Absolute paths, `..`, symbolic-link traversal, directories, and other unsafe
16
+ targets are not supported. The admin can add instructions for finding or
17
+ exporting the file, but cannot upload, reveal, download, or inspect any
18
+ member's contents or plaintext-derived metadata.
19
+
20
+ Every requirement is required. A member selects the local file while creating
21
+ the project. The original local filename is used only in that browser view and
22
+ is not saved by boxes.dev. Files may contain arbitrary bytes and can be up to
23
+ 256 KiB.
24
+
25
+ ## Storage And Delivery
26
+
27
+ boxes.dev encrypts each member file for that exact project. An ordinary project
28
+ created from a Team Template receives a frozen, independently encrypted copy.
29
+ A Member project continues following the Team Template's current file
30
+ destinations, while each member's bytes remain scoped to their own project.
31
+
32
+ The devbox writes the exact uploaded bytes. Missing parent directories are
33
+ created with owner-only access, and the file is written atomically with mode
34
+ `0600`. A managed file owns its complete destination: local edits are replaced
35
+ during the next repair.
36
+
37
+ Delivery runs when a devbox is created or wakes, when the saved file changes,
38
+ and during periodic repair. Deleting or modifying the local copy therefore
39
+ does not rotate the centrally saved file; replace it from **Project settings →
40
+ Member files** instead.
41
+
42
+ Member files are never delivered to a Team Template editing box, retained
43
+ Team Template release source, or shared Team Template snapshot. A devbox gets
44
+ the bytes only after boxes.dev has bound it to the exact member and project.
45
+
46
+ ## Startup And Changes
47
+
48
+ Required member files must be present before a configured startup script or a
49
+ new Codex or Claude session starts. If a file is missing, cannot be written
50
+ safely, or needs destination approval, Project settings explains what the
51
+ member must do. An agent session that is already running is not stopped when a
52
+ requirement or file changes.
53
+
54
+ When an admin changes a Home/Project choice or relative path for a Member
55
+ project, boxes.dev removes the old managed destination but does not write the
56
+ saved bytes to the new destination automatically. The member must explicitly
57
+ choose **Use my saved file at this new destination** or upload a replacement.
58
+ Changing instructions alone does not require approval.
59
+
60
+ Members can replace or remove their own saved file. Removing it makes the
61
+ required item incomplete and blocks future startup until a replacement is
62
+ saved. Downloading the centrally saved bytes requires a recent confirmation
63
+ with the Google account linked to the current boxes.dev account.
64
+
65
+ ## Security Boundaries
66
+
67
+ Central storage contains encrypted bytes, not plaintext or a usable root key.
68
+ Authorized boxes.dev services can decrypt a file to deliver it to the exact
69
+ member project or return it after that member confirms their account. This is
70
+ not end-to-end or zero-knowledge encryption.
71
+
72
+ The delivered file is plaintext on the devbox. The project owner, root user,
73
+ processes, and coding agents on that machine can read it. Prefer development,
74
+ staging, sandbox, or narrowly scoped credentials, and rotate or revoke the
75
+ credential at its provider when necessary.
@@ -33,8 +33,11 @@ last rendered project data visible and shows a quiet reconnecting notice.
33
33
  If the connection drops while a draft's first message is sending, the message
34
34
  will stay listed as pending and will send once the app reconnects. If the app
35
35
  cannot reconnect within about 30 seconds, it will return the message to the
36
- composer with a notice so you can send it again. If the app is closed before
37
- the message sends, reopening the draft will restore the text to the composer.
36
+ composer with a notice so you can send it again. If the app is closed after you
37
+ tap **Send**, but before the draft or message reaches boxes.dev, the next launch
38
+ recreates and opens that exact draft. Its text and attachments return to the
39
+ composer for an explicit retry; the app does not risk sending the message
40
+ twice.
38
41
 
39
42
  ## Thread List
40
43
 
@@ -91,8 +94,10 @@ The session view shows the thread transcript and a composer for sending new
91
94
  messages. Archived, cold-storage, and history-only sessions remain read-only
92
95
  from project data until you explicitly restore them. Unstarted drafts remain
93
96
  editable without a runtime and connect only when you Send. Merely opening any
94
- of these sessions does not wake a runtime. Claude Code transcripts use the same
95
- structured rendering as the
97
+ of these sessions does not wake a runtime. On a new-thread screen, you can
98
+ choose Codex or Claude, add attachments, and tap **Send** immediately while the
99
+ draft record finishes creating quietly in the background. Claude Code
100
+ transcripts use the same structured rendering as the
96
101
  desktop app: collapsible tool activity with expandable details, file-edit
97
102
  cards with diff counts, and formatted responses. Depending on the agent and
98
103
  current thread state, primary transcript messages use the same phone-readable
@@ -102,7 +102,10 @@ dvb-onbox snapshot --json
102
102
  Snapshot creation works only from the Template box. It is a user-visible,
103
103
  state-changing operation and should run only when the user asks to take or
104
104
  refresh a snapshot and the environment is ready to become the basis for future
105
- devboxes.
105
+ devboxes. The requesting Codex or Claude agent can remain active: boxes.dev will
106
+ pause it only during capture and resume it on the Template box. Future devboxes
107
+ will receive the saved files and transcript history, but they will not continue
108
+ the copied agent process.
106
109
 
107
110
  ## Devbox Lifecycle And Template Maintenance
108
111
 
@@ -80,6 +80,21 @@ because the account and agent steps are already complete. GitHub creation uses
80
80
  its own shorter connection, repository selection, review, and provisioning
81
81
  flow.
82
82
 
83
+ If **Create from GitHub** is interrupted by an app restart or update, the
84
+ original setup remains available under **Setups in progress** in the desktop
85
+ project menu and project chooser. Choose **Continue setup** to return to the
86
+ same setup and GitHub SSH key. The website's Projects page provides the same
87
+ action, including while the Template box is still being created. If an
88
+ incomplete GitHub project no longer has setup state that boxes.dev can resume,
89
+ the desktop app and website explain that it must be deleted and created again.
90
+ `dvb init --resume` applies only to setup started from the terminal; it does not
91
+ resume **Create from GitHub**.
92
+
93
+ If you enter a project name that belongs to another unfinished GitHub setup,
94
+ boxes.dev will ask you to choose **Go to other setup** or **Use another name**.
95
+ It will not create another setup or switch to the existing one until you
96
+ choose.
97
+
83
98
  During Upload and the early Provision steps, the Template box can appear before
84
99
  the project repository has finished staging. boxes.dev temporarily disables
85
100
  normal agent starts and new-devbox creation until the repository is present.
@@ -261,11 +261,21 @@ to its unfinished creation.
261
261
  If the frozen Project defaults include integrations, the owner connects each
262
262
  Required provider after the project is registered. Recommended providers may
263
263
  also be connected or explicitly left for later. The owner can leave the flow
264
- and use the project; **Finish setup** in that project returns to the exact same
265
- stage. Finishing closes this initial gate permanently. A later provider
266
- disconnection may show the ordinary integration warning, but it does not
267
- reopen setup or block project use. Later Team Template requirement changes
268
- apply only to new projects.
264
+ and use the project; **Finish setup** in the project's **Integrations** sidebar
265
+ header returns to the exact same stage. Finishing closes this initial gate
266
+ permanently. A later provider disconnection may show the ordinary integration
267
+ warning, but it does not reopen setup or block project use. Later Team Template
268
+ requirement changes apply only to new projects.
269
+
270
+ In a Member project, an untouched new-devbox draft uses the ordinary composer
271
+ and notes that sending creates a devbox from the team's Template. A new thread
272
+ on an existing devbox shows neither that note nor new-devbox blockers. For a
273
+ new-devbox draft, a missing agent connection, missing GitHub repository access,
274
+ or unavailable Team Template appears as one actionable notice beside the
275
+ draft. After sending, the ordinary thread-start progress and Cancel action are
276
+ the only startup status. Once the thread is running, only failed per-devbox
277
+ setup such as Tailscale appears above the composer; setup that is still applying
278
+ stays in the background without an extra checklist.
269
279
 
270
280
  The new project is independent. Later Team Template versions, save cleanup, or
271
281
  leaving the team do not modify or remove the project's Template box,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boxes-dev/dvb-runtime",
3
- "version": "1.0.985",
3
+ "version": "1.0.986",
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-04T18:00:32Z"
80
+ "devboxReleasedAt": "2026-09-05T00:44:16Z"
81
81
  }