@boxes-dev/dvb-runtime 1.0.968 → 1.0.969
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
|
@@ -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.
|
|
101149
|
-
const rawGitSha = "
|
|
101148
|
+
const rawPackageVersion = "1.0.969";
|
|
101149
|
+
const rawGitSha = "6760e4f2ebf91bf962991e425ba6144e8b535c4f";
|
|
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.
|
|
133556
|
-
const rawGitSha = "
|
|
133557
|
-
const rawSentryRelease = "boxes-dev-dvb@1.0.
|
|
133555
|
+
const rawPackageVersion = "1.0.969";
|
|
133556
|
+
const rawGitSha = "6760e4f2ebf91bf962991e425ba6144e8b535c4f";
|
|
133557
|
+
const rawSentryRelease = "boxes-dev-dvb@1.0.969+6760e4f2ebf91bf962991e425ba6144e8b535c4f";
|
|
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;
|
|
@@ -138737,7 +138737,7 @@ var init_packageVersion = __esm({
|
|
|
138737
138737
|
return path17.join(process.cwd(), "dvb");
|
|
138738
138738
|
};
|
|
138739
138739
|
readEmbeddedPackageVersion = () => {
|
|
138740
|
-
const raw = "1.0.
|
|
138740
|
+
const raw = "1.0.969";
|
|
138741
138741
|
return trimVersion(raw);
|
|
138742
138742
|
};
|
|
138743
138743
|
readNearestPackageMetadata = (basePath) => {
|
package/dist/bin/dvbd.mjs
CHANGED
|
@@ -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.
|
|
96332
|
-
const rawGitSha = "
|
|
96331
|
+
const rawPackageVersion = "1.0.969";
|
|
96332
|
+
const rawGitSha = "6760e4f2ebf91bf962991e425ba6144e8b535c4f";
|
|
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.
|
|
128628
|
-
const rawGitSha = "
|
|
128629
|
-
const rawSentryRelease = "boxes-dev-dvb@1.0.
|
|
128627
|
+
const rawPackageVersion = "1.0.969";
|
|
128628
|
+
const rawGitSha = "6760e4f2ebf91bf962991e425ba6144e8b535c4f";
|
|
128629
|
+
const rawSentryRelease = "boxes-dev-dvb@1.0.969+6760e4f2ebf91bf962991e425ba6144e8b535c4f";
|
|
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;
|
|
@@ -130818,7 +130818,7 @@ var init_packageVersion = __esm({
|
|
|
130818
130818
|
return path8.join(process.cwd(), "dvb");
|
|
130819
130819
|
};
|
|
130820
130820
|
readEmbeddedPackageVersion = () => {
|
|
130821
|
-
const raw = "1.0.
|
|
130821
|
+
const raw = "1.0.969";
|
|
130822
130822
|
return trimVersion(raw);
|
|
130823
130823
|
};
|
|
130824
130824
|
readNearestPackageMetadata = (basePath) => {
|
|
@@ -138,9 +138,10 @@ dvb-onbox permissions request \
|
|
|
138
138
|
--permission create-devboxes-and-threads
|
|
139
139
|
```
|
|
140
140
|
|
|
141
|
-
The
|
|
142
|
-
`
|
|
143
|
-
`create-devbox-folders`. Add `--json` for a
|
|
141
|
+
The five request values are `create-devboxes-and-threads`,
|
|
142
|
+
`create-team-templates`, `update-thread-titles`,
|
|
143
|
+
`move-devboxes-to-folders`, and `create-devbox-folders`. Add `--json` for a
|
|
144
|
+
stable structured result.
|
|
144
145
|
|
|
145
146
|
The command creates one request for the exact managed thread and source box,
|
|
146
147
|
then waits up to ten minutes while the owner sees **Allow** and **Not now** in
|
|
@@ -631,6 +632,157 @@ the file is missing, run the ordinary OAuth flow unchanged.
|
|
|
631
632
|
|
|
632
633
|
## Team Template Commands
|
|
633
634
|
|
|
635
|
+
### Create a Team Template from this project
|
|
636
|
+
|
|
637
|
+
A team admin can ask an agent on an ordinary project's Template box to create
|
|
638
|
+
a new Team Template based on that project. This path uses clean GitHub clones;
|
|
639
|
+
it never snapshots the source box or copies its home directory, credentials,
|
|
640
|
+
environment values, uncommitted files, or unrelated machine state.
|
|
641
|
+
|
|
642
|
+
Every source repository must have a GitHub remote. Before creation, the admin's
|
|
643
|
+
boxes.dev GitHub connection and GitHub App installation must cover each chosen
|
|
644
|
+
repository with write access. Start by reading the complete source and access
|
|
645
|
+
facts:
|
|
646
|
+
|
|
647
|
+
```bash
|
|
648
|
+
dvb-onbox team-template create inspect --json
|
|
649
|
+
```
|
|
650
|
+
|
|
651
|
+
`inspect` reports the current project and machine type, team-admin and Team
|
|
652
|
+
Template availability, the exact creation permission, comparable project
|
|
653
|
+
defaults, URLs, maintenance and MCP definitions, recorded repository bindings
|
|
654
|
+
and Git status, and live GitHub readiness. When `permission.granted` is false,
|
|
655
|
+
ask the user before running:
|
|
656
|
+
|
|
657
|
+
```bash
|
|
658
|
+
dvb-onbox permissions request \
|
|
659
|
+
--permission create-team-templates --json
|
|
660
|
+
```
|
|
661
|
+
|
|
662
|
+
Use normal shell tools to inspect the repositories and runtime. Existing
|
|
663
|
+
`.devbox/setup.json`, `.devbox/setup.todo`, and related setup notes can help,
|
|
664
|
+
but they are evidence rather than a required manifest. Create a version-1 JSON
|
|
665
|
+
spec with this shape:
|
|
666
|
+
|
|
667
|
+
```json
|
|
668
|
+
{
|
|
669
|
+
"version": 1,
|
|
670
|
+
"template": { "name": "Project starter", "description": "" },
|
|
671
|
+
"repositories": [
|
|
672
|
+
{
|
|
673
|
+
"sourceRepoId": "from-inspect",
|
|
674
|
+
"githubRepositoryId": "from-inspect",
|
|
675
|
+
"sourcePath": ".",
|
|
676
|
+
"sourceHeadSha": "locally-reviewed-40-character-sha",
|
|
677
|
+
"expectedRemoteDefaultBranch": "main",
|
|
678
|
+
"expectedRemoteDefaultCommitSha": "checked-remote-40-character-sha",
|
|
679
|
+
"destinationPath": "repository-name"
|
|
680
|
+
}
|
|
681
|
+
],
|
|
682
|
+
"configuration": {
|
|
683
|
+
"version": 1,
|
|
684
|
+
"projectDefaults": {},
|
|
685
|
+
"projectSetupInstructions": "",
|
|
686
|
+
"projectSetupInstructionsVersion": 0,
|
|
687
|
+
"projectUrls": [],
|
|
688
|
+
"maintenancePolicy": null,
|
|
689
|
+
"maintenanceWatches": [],
|
|
690
|
+
"mcpConnections": []
|
|
691
|
+
},
|
|
692
|
+
"cleanupScript": "",
|
|
693
|
+
"memberProjectPolicy": {
|
|
694
|
+
"environmentConfirmed": true,
|
|
695
|
+
"creationEnabled": false,
|
|
696
|
+
"startupScript": "",
|
|
697
|
+
"startupTimeoutSeconds": 60,
|
|
698
|
+
"teardownScript": "",
|
|
699
|
+
"teardownTimeoutSeconds": 30
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
```
|
|
703
|
+
|
|
704
|
+
The comparable configuration returned by `inspect` uses the same normalized
|
|
705
|
+
configuration fields and is a good starting point. Include definitions, never
|
|
706
|
+
MCP credentials or environment values. If member project creation is enabled,
|
|
707
|
+
`environmentConfirmed` confirms that the template does not capture or depend
|
|
708
|
+
on member-specific environment values.
|
|
709
|
+
|
|
710
|
+
Check the spec before changing team state:
|
|
711
|
+
|
|
712
|
+
```bash
|
|
713
|
+
dvb-onbox team-template create check \
|
|
714
|
+
--spec-file /home/boxes/team-template.json --json
|
|
715
|
+
```
|
|
716
|
+
|
|
717
|
+
The result identifies blockers and warnings and returns `checkedHash` plus the
|
|
718
|
+
normalized spec. It verifies that each remote default branch still points to
|
|
719
|
+
the commit the agent reviewed. Use the result and local research to give the
|
|
720
|
+
user a clear summary of the repositories, setup, settings, and anything that
|
|
721
|
+
will not carry over. After confirmation, keep one stable idempotency key:
|
|
722
|
+
|
|
723
|
+
```bash
|
|
724
|
+
dvb-onbox team-template create \
|
|
725
|
+
--spec-file /home/boxes/team-template.json \
|
|
726
|
+
--checked-hash <checked-hash> \
|
|
727
|
+
--idempotency-key <stable-key> --json
|
|
728
|
+
```
|
|
729
|
+
|
|
730
|
+
This creates the Team Template definition but no edit box. Its result includes
|
|
731
|
+
the Team Template id. Create the admin edit box explicitly with a second stable
|
|
732
|
+
key:
|
|
733
|
+
|
|
734
|
+
```bash
|
|
735
|
+
dvb-onbox team-template edit-box create \
|
|
736
|
+
--template <team-template-id> \
|
|
737
|
+
--idempotency-key <stable-edit-box-key> --json
|
|
738
|
+
```
|
|
739
|
+
|
|
740
|
+
`edit-box create` provisions the normal admin editing machine, clones the
|
|
741
|
+
checked commits into direct child paths, applies the remaining settings, and
|
|
742
|
+
connects this source thread to that exact box. Its result includes `editBox.id`;
|
|
743
|
+
use that id for all edit box operations. A later thread on this same Template
|
|
744
|
+
box can recover the draft by rerunning the exact `create` and `edit-box create`
|
|
745
|
+
commands. Inspect either durable resource with:
|
|
746
|
+
|
|
747
|
+
```bash
|
|
748
|
+
dvb-onbox team-template create status --idempotency-key <stable-key> --json
|
|
749
|
+
dvb-onbox team-template edit-box status --edit-box <edit-box-id> --json
|
|
750
|
+
```
|
|
751
|
+
|
|
752
|
+
Use the target commands below to finish the filesystem setup. For a bounded
|
|
753
|
+
script that may take longer than two minutes, use a regular file and a stable
|
|
754
|
+
key; it runs through the same attested target access and accepts up to 20
|
|
755
|
+
minutes, 4 MiB of script input, and 4 MiB per output stream:
|
|
756
|
+
|
|
757
|
+
```bash
|
|
758
|
+
dvb-onbox team-template edit-box run --edit-box <edit-box-id> \
|
|
759
|
+
--script-file /home/boxes/setup-team-template.sh \
|
|
760
|
+
--idempotency-key <stable-key> --json
|
|
761
|
+
```
|
|
762
|
+
|
|
763
|
+
Read back every credential-free setting with `team-template show`. If research
|
|
764
|
+
changes the intended settings, check the revised whole spec and apply it with
|
|
765
|
+
`team-template configure`; the cleanup script must remain the value chosen at
|
|
766
|
+
creation. Save or discard the unsaved agent-created draft explicitly:
|
|
767
|
+
|
|
768
|
+
```bash
|
|
769
|
+
dvb-onbox team-template show --template <team-template-id> --json
|
|
770
|
+
dvb-onbox team-template configure --template <team-template-id> \
|
|
771
|
+
--spec-file /home/boxes/team-template.json \
|
|
772
|
+
--checked-hash <checked-hash> --idempotency-key <stable-key> --json
|
|
773
|
+
dvb-onbox team-template edit-box save --edit-box <edit-box-id> \
|
|
774
|
+
--idempotency-key <stable-key> --json
|
|
775
|
+
dvb-onbox team-template edit-box discard --edit-box <edit-box-id> \
|
|
776
|
+
--idempotency-key <stable-key> --json
|
|
777
|
+
```
|
|
778
|
+
|
|
779
|
+
Saving fences this exact edit box and uses the normal verified Team Template
|
|
780
|
+
release pipeline. Requested member project creation becomes active only after
|
|
781
|
+
the first saved release is eligible. `edit-box discard` is only for the
|
|
782
|
+
unsaved draft created through this path.
|
|
783
|
+
|
|
784
|
+
### Work on an existing Team Template checkout
|
|
785
|
+
|
|
634
786
|
While editing a Team Template, a team admin can open the editor's **Agent**
|
|
635
787
|
pane, choose Codex or Claude, and select one of their project Template boxes.
|
|
636
788
|
boxes.dev creates an ordinary thread on that selected Template box and gives
|
|
@@ -654,7 +806,7 @@ dvb-onbox team-template push \
|
|
|
654
806
|
--destination /home/boxes/file-in-team-template
|
|
655
807
|
```
|
|
656
808
|
|
|
657
|
-
There is no persistent access
|
|
809
|
+
There is no persistent toggle for access to an existing edit checkout. Access begins when the admin starts the
|
|
658
810
|
Agent-pane chat and remains attached to that editing session across pane
|
|
659
811
|
switches, desktop reloads, and app closure. It ends when the admin chooses
|
|
660
812
|
**Stop agent**, saves, discards, loses the editing session, or another
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@boxes-dev/dvb-runtime",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.969",
|
|
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-08-
|
|
80
|
+
"devboxReleasedAt": "2026-08-31T01:53:02Z"
|
|
81
81
|
}
|