@boxes-dev/dvb-runtime 1.0.1000 → 1.0.1002

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.1000";
101149
- const rawGitSha = "f72c638530f08c2eb7a1062ff56287a5e98f22dd";
101148
+ const rawPackageVersion = "1.0.1002";
101149
+ const rawGitSha = "706dfdb5882fdefd7ef0454f4b69f282814255df";
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.1000";
133556
- const rawGitSha = "f72c638530f08c2eb7a1062ff56287a5e98f22dd";
133557
- const rawSentryRelease = "boxes-dev-dvb@1.0.1000+f72c638530f08c2eb7a1062ff56287a5e98f22dd";
133555
+ const rawPackageVersion = "1.0.1002";
133556
+ const rawGitSha = "706dfdb5882fdefd7ef0454f4b69f282814255df";
133557
+ const rawSentryRelease = "boxes-dev-dvb@1.0.1002+706dfdb5882fdefd7ef0454f4b69f282814255df";
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.1000";
138748
+ const raw = "1.0.1002";
138749
138749
  return trimVersion(raw);
138750
138750
  };
138751
138751
  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.1000";
96332
- const rawGitSha = "f72c638530f08c2eb7a1062ff56287a5e98f22dd";
96331
+ const rawPackageVersion = "1.0.1002";
96332
+ const rawGitSha = "706dfdb5882fdefd7ef0454f4b69f282814255df";
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.1000";
128628
- const rawGitSha = "f72c638530f08c2eb7a1062ff56287a5e98f22dd";
128629
- const rawSentryRelease = "boxes-dev-dvb@1.0.1000+f72c638530f08c2eb7a1062ff56287a5e98f22dd";
128627
+ const rawPackageVersion = "1.0.1002";
128628
+ const rawGitSha = "706dfdb5882fdefd7ef0454f4b69f282814255df";
128629
+ const rawSentryRelease = "boxes-dev-dvb@1.0.1002+706dfdb5882fdefd7ef0454f4b69f282814255df";
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.1000";
130829
+ const raw = "1.0.1002";
130830
130830
  return trimVersion(raw);
130831
130831
  };
130832
130832
  readNearestPackageMetadata = (basePath) => {
@@ -124,8 +124,9 @@ and a README listing supported settings and examples. Untouched files preserve
124
124
  the normal full-access behavior. Updates will not overwrite your edits.
125
125
 
126
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
127
+ native `settings.json`. Both agents support synchronous PreToolUse/PostToolUse
128
+ command hooks; Codex also supports synchronous PermissionRequest command hooks.
129
+ Only the documented permission settings are supported here. Authentication, agent
129
130
  homes, sandbox settings, and required boxes.dev hooks are managed separately.
130
131
 
131
132
  For Codex approvals outside an allowlist, mark the project untrusted and leave
@@ -134,6 +135,19 @@ command. Untrusted projects skip repository-local `.codex` configuration; put
134
135
  the policy in the machine directory instead. Personal rules and remembered
135
136
  approvals still participate in native decisions.
136
137
 
138
+ That untrusted setup also asks before ordinary `apply_patch` edits. To approve
139
+ selected source edits while retaining unmatched-command prompts, add a Codex
140
+ `PermissionRequest` hook with matcher `^apply_patch$` in the machine's
141
+ `hooks.json`. Keep the untrusted project and leave `approval_policy` unset.
142
+ Your script receives native JSON on stdin with the full patch in
143
+ `tool_input.command`; check every affected path against your edit policy.
144
+ Return `{"hookSpecificOutput":{"hookEventName":"PermissionRequest","decision":{"behavior":"allow"}}}`
145
+ to approve, use `behavior: "deny"` with an optional `message` to refuse, or
146
+ return `{}` to retain the normal prompt. A matching deny takes precedence over
147
+ an allow, and existing `PreToolUse` denials still prevent the tool from running.
148
+ Upgrade the managed runtime before adding this event on an older machine.
149
+ The machine README includes a registration example and activation instructions.
150
+
137
151
  For Claude, set `permissions.defaultMode` to `default` for manual approvals.
138
152
  An explicit machine mode will apply when a new agent process starts, including
139
153
  resumed threads; subsequent UI mode changes last until that process restarts.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boxes-dev/dvb-runtime",
3
- "version": "1.0.1000",
3
+ "version": "1.0.1002",
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-09T19:42:34Z"
80
+ "devboxReleasedAt": "2026-09-09T21:06:32Z"
81
81
  }