@boxes-dev/dvb-runtime 1.0.1121 → 1.0.1123
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/agent-init-guides/agent-config.md +6 -0
- package/dist/bin/dvb.mjs +98 -17
- package/dist/bin/dvbd.mjs +6 -6
- package/dist/product-docs/references/files-git-and-review.md +9 -5
- package/dist/product-docs/references/project-setup.md +11 -1
- package/dist/product-docs/references/threads-and-agents.md +5 -2
- package/package.json +2 -2
|
@@ -59,6 +59,12 @@ Claude hooks during review: their commands may need scripts or tools that are
|
|
|
59
59
|
missing from the Template box, which can block Claude's replies. Add
|
|
60
60
|
`claude:hooks` if the user wants them included.
|
|
61
61
|
|
|
62
|
+
If `claude:permissions` is detected, ask the user whether to bring their
|
|
63
|
+
Claude permission rules. boxes.dev runs Claude in Full-access, but Claude still
|
|
64
|
+
asks before anything that matches an `ask` rule and refuses anything that
|
|
65
|
+
matches a `deny` rule. Included rules are saved in the project's Agent
|
|
66
|
+
settings, where the user can change them for every box later.
|
|
67
|
+
|
|
62
68
|
## `agentThreads`
|
|
63
69
|
|
|
64
70
|
Optionally import local agent conversation history to the Template box:
|
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]="
|
|
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]="c3a26375-a35b-59f3-817e-cc924e78c797")}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";
|
|
@@ -27874,7 +27874,7 @@ var init_utils = __esm({
|
|
|
27874
27874
|
|
|
27875
27875
|
// ../../../../shared/devboxCore/dist/agentConfigImport/claude.js
|
|
27876
27876
|
import path from "node:path";
|
|
27877
|
-
var CLAUDE_LEGACY_ROOT_ALLOWLIST, CLAUDE_DESKTOP_ROOT_ALLOWLIST, CLAUDE_PROJECT_ALLOWLIST, resolveClaudeConfigDirCandidates, resolveClaudeStateBaseDir, buildClaudeStateCandidatePaths, normalizeLocalRepoRootCandidates, buildBootstrapClaudeProjectStateWithAllowlist, buildClaudeStateWithRootAllowlist, buildBootstrapClaudeState, mergeBootstrapClaudeStateIntoRemoteState, selectClaudeSettingsForDevbox, mergeClaudeSettingsForDevbox, classifyClaudeMcpServers, classifyClaudeAgentConfig, buildClaudePortableItem, buildClaudePortableFileItems, CLAUDE_HOOKS_ITEM_ID, hasCommandHook, buildClaudeHooksItem;
|
|
27877
|
+
var CLAUDE_LEGACY_ROOT_ALLOWLIST, CLAUDE_DESKTOP_ROOT_ALLOWLIST, CLAUDE_PROJECT_ALLOWLIST, resolveClaudeConfigDirCandidates, resolveClaudeStateBaseDir, buildClaudeStateCandidatePaths, normalizeLocalRepoRootCandidates, buildBootstrapClaudeProjectStateWithAllowlist, buildClaudeStateWithRootAllowlist, buildBootstrapClaudeState, mergeBootstrapClaudeStateIntoRemoteState, selectClaudeSettingsForDevbox, mergeClaudeSettingsForDevbox, classifyClaudeMcpServers, classifyClaudeAgentConfig, buildClaudePortableItem, buildClaudePortableFileItems, CLAUDE_HOOKS_ITEM_ID, hasCommandHook, buildClaudeHooksItem, CLAUDE_PERMISSIONS_ITEM_ID, CLAUDE_PERMISSION_RULE_KINDS, readClaudePermissionRules, buildClaudePermissionsItem;
|
|
27878
27878
|
var init_claude = __esm({
|
|
27879
27879
|
"../../../../shared/devboxCore/dist/agentConfigImport/claude.js"() {
|
|
27880
27880
|
"use strict";
|
|
@@ -28008,7 +28008,7 @@ var init_claude = __esm({
|
|
|
28008
28008
|
return base;
|
|
28009
28009
|
};
|
|
28010
28010
|
selectClaudeSettingsForDevbox = ({ settings, includeSettings, includeHooks }) => {
|
|
28011
|
-
const { hooks, ...rest } = settings ?? {};
|
|
28011
|
+
const { hooks, permissions: _permissions, ...rest } = settings ?? {};
|
|
28012
28012
|
const selected = includeSettings ? rest : {};
|
|
28013
28013
|
if (includeHooks && hooks !== void 0) {
|
|
28014
28014
|
selected.hooks = hooks;
|
|
@@ -28154,6 +28154,40 @@ var init_claude = __esm({
|
|
|
28154
28154
|
...portability
|
|
28155
28155
|
};
|
|
28156
28156
|
};
|
|
28157
|
+
CLAUDE_PERMISSIONS_ITEM_ID = "claude:permissions";
|
|
28158
|
+
CLAUDE_PERMISSION_RULE_KINDS = ["allow", "ask", "deny"];
|
|
28159
|
+
readClaudePermissionRules = (settings) => {
|
|
28160
|
+
const permissions = settings?.permissions;
|
|
28161
|
+
if (!isJsonRecord(permissions))
|
|
28162
|
+
return null;
|
|
28163
|
+
const rules = {};
|
|
28164
|
+
for (const kind of CLAUDE_PERMISSION_RULE_KINDS) {
|
|
28165
|
+
const value = permissions[kind];
|
|
28166
|
+
if (!Array.isArray(value))
|
|
28167
|
+
continue;
|
|
28168
|
+
const entries = value.filter((entry) => typeof entry === "string" && entry.trim() !== "");
|
|
28169
|
+
if (entries.length > 0)
|
|
28170
|
+
rules[kind] = entries;
|
|
28171
|
+
}
|
|
28172
|
+
return Object.keys(rules).length > 0 ? rules : null;
|
|
28173
|
+
};
|
|
28174
|
+
buildClaudePermissionsItem = ({ settings, settingsPath }) => {
|
|
28175
|
+
if (!readClaudePermissionRules(settings)) {
|
|
28176
|
+
return null;
|
|
28177
|
+
}
|
|
28178
|
+
return {
|
|
28179
|
+
id: CLAUDE_PERMISSIONS_ITEM_ID,
|
|
28180
|
+
agent: "claude",
|
|
28181
|
+
category: "settings",
|
|
28182
|
+
portability: "portable",
|
|
28183
|
+
defaultSelected: false,
|
|
28184
|
+
reason: "Claude still asks before anything that matches an ask rule and won't do anything that matches a deny rule, even in Full-access. If you include these rules, they'll be saved in this project's Agent settings, where you can change them later.",
|
|
28185
|
+
label: "Claude permission rules",
|
|
28186
|
+
path: settingsPath,
|
|
28187
|
+
parentItemId: null,
|
|
28188
|
+
secretRefs: []
|
|
28189
|
+
};
|
|
28190
|
+
};
|
|
28157
28191
|
}
|
|
28158
28192
|
});
|
|
28159
28193
|
|
|
@@ -70565,9 +70599,9 @@ var init_sentry = __esm({
|
|
|
70565
70599
|
uncaughtExceptionMonitorInstalled = false;
|
|
70566
70600
|
currentDevboxSentryUser = null;
|
|
70567
70601
|
readBuildMetadata = () => {
|
|
70568
|
-
const rawPackageVersion = "1.0.
|
|
70569
|
-
const rawGitSha = "
|
|
70570
|
-
const rawSentryRelease = "boxes-dev-dvb@1.0.
|
|
70602
|
+
const rawPackageVersion = "1.0.1123";
|
|
70603
|
+
const rawGitSha = "c6ec583260d0dbe3598946b7a9e19d8f9d71dd72";
|
|
70604
|
+
const rawSentryRelease = "boxes-dev-dvb@1.0.1123+c6ec583260d0dbe3598946b7a9e19d8f9d71dd72";
|
|
70571
70605
|
const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
|
|
70572
70606
|
const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
|
|
70573
70607
|
const sentryRelease = typeof rawSentryRelease === "string" ? rawSentryRelease : void 0;
|
|
@@ -76241,7 +76275,7 @@ var init_packageVersion = __esm({
|
|
|
76241
76275
|
return path18.join(process.cwd(), "dvb");
|
|
76242
76276
|
};
|
|
76243
76277
|
readEmbeddedPackageVersion = () => {
|
|
76244
|
-
const raw = "1.0.
|
|
76278
|
+
const raw = "1.0.1123";
|
|
76245
76279
|
return trimVersion(raw);
|
|
76246
76280
|
};
|
|
76247
76281
|
readNearestPackageMetadata = (basePath) => {
|
|
@@ -236676,7 +236710,13 @@ var init_agentConfigScan = __esm({
|
|
|
236676
236710
|
settings: settingsSource.data,
|
|
236677
236711
|
settingsPath
|
|
236678
236712
|
});
|
|
236679
|
-
const
|
|
236713
|
+
const permissionsItem = buildClaudePermissionsItem({
|
|
236714
|
+
settings: settingsSource.data,
|
|
236715
|
+
settingsPath
|
|
236716
|
+
});
|
|
236717
|
+
const fileItems = [...portableFileItems, hooksItem, permissionsItem].filter(
|
|
236718
|
+
(item) => item !== null
|
|
236719
|
+
);
|
|
236680
236720
|
const classifiedItems = classifyClaudeAgentConfig({
|
|
236681
236721
|
localState: stateSource.data,
|
|
236682
236722
|
localRepoRoot
|
|
@@ -240174,7 +240214,7 @@ var init_agentConfigSelection = __esm({
|
|
|
240174
240214
|
import { createHash as createHash15, randomBytes as randomBytes10 } from "node:crypto";
|
|
240175
240215
|
import fs41 from "node:fs/promises";
|
|
240176
240216
|
import path52 from "node:path";
|
|
240177
|
-
var AGENT_CONFIG_REMOTE_CREDENTIAL_ROOT, AGENT_CONFIG_FILE_TARGETS, nowIso6, trim8, ensureDir5, isMissingPathError, readFileIfExists2, writeJsonFile2, writeTextFile3, copyLocalPath, directorySize2, safeName, cloneJsonValue, stableShortHash, agentConfigCredentialRefKey, normalizeLocalRepoRootCandidates2, relativeBundlePath, addAgentConfigInventoryFile, setNestedJsonValue, deleteNestedJsonValue, resolveSelectedClaudeProjectState, addAgentConfigReauthEntry, stageAgentConfigCredentialFile, applyAgentConfigCredentialHandling, stageAgentConfigJsonPayload, stageAgentConfigTextPayload, stageAgentConfigFileItem, stageClaudeSettingsPayload, buildClaudeStatePayload, buildCodexConfigPayload, createAgentConfigPayloads;
|
|
240217
|
+
var AGENT_CONFIG_REMOTE_CREDENTIAL_ROOT, AGENT_CONFIG_FILE_TARGETS, nowIso6, trim8, ensureDir5, isMissingPathError, readFileIfExists2, writeJsonFile2, writeTextFile3, copyLocalPath, directorySize2, safeName, cloneJsonValue, stableShortHash, agentConfigCredentialRefKey, normalizeLocalRepoRootCandidates2, relativeBundlePath, addAgentConfigInventoryFile, setNestedJsonValue, deleteNestedJsonValue, resolveSelectedClaudeProjectState, addAgentConfigReauthEntry, stageAgentConfigCredentialFile, applyAgentConfigCredentialHandling, stageAgentConfigJsonPayload, stageAgentConfigTextPayload, stageAgentConfigFileItem, stageClaudeSettingsPayload, readClaudePermissionAgentSettings, withImportedAgentSettings, buildClaudeStatePayload, buildCodexConfigPayload, createAgentConfigPayloads;
|
|
240178
240218
|
var init_agentConfigBundle = __esm({
|
|
240179
240219
|
"../../../../shared/initPrep/src/agentConfigBundle.mjs"() {
|
|
240180
240220
|
"use strict";
|
|
@@ -240663,6 +240703,35 @@ var init_agentConfigBundle = __esm({
|
|
|
240663
240703
|
});
|
|
240664
240704
|
return payloadPath;
|
|
240665
240705
|
};
|
|
240706
|
+
readClaudePermissionAgentSettings = async (item) => {
|
|
240707
|
+
const sourcePath = item.source?.sourcePath ?? item.path;
|
|
240708
|
+
const bytes = sourcePath ? await readFileIfExists2(sourcePath) : null;
|
|
240709
|
+
const rules = readClaudePermissionRules(
|
|
240710
|
+
parseJsonRecordBestEffort(bytes, sourcePath ?? item.id).data
|
|
240711
|
+
);
|
|
240712
|
+
return rules ? [
|
|
240713
|
+
{
|
|
240714
|
+
agent: "claude",
|
|
240715
|
+
content: `${JSON.stringify({ permissions: rules }, null, 2)}
|
|
240716
|
+
`
|
|
240717
|
+
}
|
|
240718
|
+
] : [];
|
|
240719
|
+
};
|
|
240720
|
+
withImportedAgentSettings = ({
|
|
240721
|
+
projectConfigurationInput,
|
|
240722
|
+
agentSettings
|
|
240723
|
+
}) => {
|
|
240724
|
+
if (agentSettings.length === 0) return projectConfigurationInput;
|
|
240725
|
+
return {
|
|
240726
|
+
...projectConfigurationInput ?? {
|
|
240727
|
+
version: 1,
|
|
240728
|
+
projectDefaults: {},
|
|
240729
|
+
projectSetupInstructions: "",
|
|
240730
|
+
projectSetupInstructionsVersion: 0
|
|
240731
|
+
},
|
|
240732
|
+
agentSettings
|
|
240733
|
+
};
|
|
240734
|
+
};
|
|
240666
240735
|
buildClaudeStatePayload = async ({
|
|
240667
240736
|
credentialItemsByRefKey,
|
|
240668
240737
|
inventoryAccumulator,
|
|
@@ -240857,14 +240926,19 @@ var init_agentConfigBundle = __esm({
|
|
|
240857
240926
|
Object.entries(normalizedSelection).filter(([, selected]) => selected === true).map(([itemId2]) => itemId2)
|
|
240858
240927
|
);
|
|
240859
240928
|
const selectedItems = items.filter((item) => selectedItemIds.has(item.id));
|
|
240929
|
+
const permissionsItem = selectedItems.find(
|
|
240930
|
+
(item) => item.id === CLAUDE_PERMISSIONS_ITEM_ID
|
|
240931
|
+
);
|
|
240932
|
+
const agentSettings = permissionsItem ? await readClaudePermissionAgentSettings(permissionsItem) : [];
|
|
240860
240933
|
const selectedParentItemIds = new Set(
|
|
240861
240934
|
selectedItems.filter((item) => item.category !== "credential_file").map((item) => item.id)
|
|
240862
240935
|
);
|
|
240863
240936
|
const effectiveSelectedItems = selectedItems.filter(
|
|
240864
|
-
(item) => item.category !== "credential_file" || item.parentItemId && selectedParentItemIds.has(item.parentItemId)
|
|
240937
|
+
(item) => item.id !== CLAUDE_PERMISSIONS_ITEM_ID && (item.category !== "credential_file" || item.parentItemId && selectedParentItemIds.has(item.parentItemId))
|
|
240865
240938
|
);
|
|
240866
240939
|
if (effectiveSelectedItems.length === 0 && !pretrustClaudeWorkdir) {
|
|
240867
240940
|
return {
|
|
240941
|
+
agentSettings,
|
|
240868
240942
|
includeAgentConfig: false,
|
|
240869
240943
|
inventoryAccumulator: createBundleInventoryCategoryAccumulator({
|
|
240870
240944
|
category: "agent_config"
|
|
@@ -240994,6 +241068,7 @@ var init_agentConfigBundle = __esm({
|
|
|
240994
241068
|
sizeBytes
|
|
240995
241069
|
});
|
|
240996
241070
|
return {
|
|
241071
|
+
agentSettings,
|
|
240997
241072
|
includeAgentConfig: true,
|
|
240998
241073
|
inventoryAccumulator,
|
|
240999
241074
|
inventoryLeaves: [],
|
|
@@ -247573,6 +247648,7 @@ var init_localPrepService = __esm({
|
|
|
247573
247648
|
stagingRoot,
|
|
247574
247649
|
innerManifest,
|
|
247575
247650
|
agentConfigManifestPath: innerManifest.agentConfigManifestPath,
|
|
247651
|
+
agentSettings: stagedAgentConfig.agentSettings,
|
|
247576
247652
|
agentThreadHistoryManifestPath: innerManifest.agentThreadHistoryManifestPath,
|
|
247577
247653
|
databaseManifestPath: innerManifest.databaseManifestPath,
|
|
247578
247654
|
lfsWorktree: {
|
|
@@ -250445,6 +250521,7 @@ var init_localPrepService = __esm({
|
|
|
250445
250521
|
currentState.bundle = {
|
|
250446
250522
|
stagingRoot: staging.stagingRoot,
|
|
250447
250523
|
agentConfigManifestPath: staging.agentConfigManifestPath,
|
|
250524
|
+
agentSettings: staging.agentSettings,
|
|
250448
250525
|
agentThreadHistoryManifestPath: staging.agentThreadHistoryManifestPath,
|
|
250449
250526
|
databaseManifestPath: staging.databaseManifestPath,
|
|
250450
250527
|
categories: staging.categories,
|
|
@@ -250504,6 +250581,10 @@ var init_localPrepService = __esm({
|
|
|
250504
250581
|
selectedAgents,
|
|
250505
250582
|
state
|
|
250506
250583
|
}) => {
|
|
250584
|
+
const projectConfigurationInput = withImportedAgentSettings({
|
|
250585
|
+
projectConfigurationInput: state.initialProjectConfiguration ?? null,
|
|
250586
|
+
agentSettings: state.bundle?.agentSettings ?? []
|
|
250587
|
+
});
|
|
250507
250588
|
const jobResult = await controlPlaneClient.startOrResumeDesktopInitJob({
|
|
250508
250589
|
alias: repo.alias,
|
|
250509
250590
|
origin: repo.origin,
|
|
@@ -250515,9 +250596,7 @@ var init_localPrepService = __esm({
|
|
|
250515
250596
|
repoRoot: repo.repoRoot,
|
|
250516
250597
|
...state.resourceConfigKey ? { resourceConfigKey: state.resourceConfigKey } : {},
|
|
250517
250598
|
...state.managedGithubAccess ? { managedGithubAccess: state.managedGithubAccess } : {},
|
|
250518
|
-
...
|
|
250519
|
-
projectConfigurationInput: state.initialProjectConfiguration
|
|
250520
|
-
} : {},
|
|
250599
|
+
...projectConfigurationInput ? { projectConfigurationInput } : {},
|
|
250521
250600
|
...state.setupThreadModelChoice ? { setupThreadModelChoice: state.setupThreadModelChoice } : {},
|
|
250522
250601
|
selectedAgents
|
|
250523
250602
|
});
|
|
@@ -291598,9 +291677,11 @@ var init_claudeBootstrap = __esm({
|
|
|
291598
291677
|
localRepoRoot,
|
|
291599
291678
|
remoteWorkdir
|
|
291600
291679
|
});
|
|
291601
|
-
const settingsPayload = mergeClaudeSettingsForDevbox(
|
|
291602
|
-
|
|
291603
|
-
|
|
291680
|
+
const settingsPayload = remoteSettings.data ? mergeClaudeSettingsForDevbox(remoteSettings.data) : selectClaudeSettingsForDevbox({
|
|
291681
|
+
settings: settingsSource.data,
|
|
291682
|
+
includeSettings: true,
|
|
291683
|
+
includeHooks: true
|
|
291684
|
+
});
|
|
291604
291685
|
const shouldWriteState = !remoteState.data || !isDeepStrictEqual(remoteState.data, statePayload);
|
|
291605
291686
|
const shouldWriteSettings = !remoteSettings.data || !isDeepStrictEqual(remoteSettings.data, settingsPayload);
|
|
291606
291687
|
const shouldWriteClaudeMd = Boolean(localClaudeMd);
|
|
@@ -302477,4 +302558,4 @@ react/cjs/react-jsx-runtime.development.js:
|
|
|
302477
302558
|
*)
|
|
302478
302559
|
*/
|
|
302479
302560
|
|
|
302480
|
-
//# debugId=
|
|
302561
|
+
//# debugId=c3a26375-a35b-59f3-817e-cc924e78c797
|
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]="
|
|
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]="1b7f906b-cd22-5abd-ba0e-247f6e62494e")}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";
|
|
@@ -64833,9 +64833,9 @@ var init_sentry = __esm({
|
|
|
64833
64833
|
uncaughtExceptionMonitorInstalled = false;
|
|
64834
64834
|
currentDevboxSentryUser = null;
|
|
64835
64835
|
readBuildMetadata = () => {
|
|
64836
|
-
const rawPackageVersion = "1.0.
|
|
64837
|
-
const rawGitSha = "
|
|
64838
|
-
const rawSentryRelease = "boxes-dev-dvb@1.0.
|
|
64836
|
+
const rawPackageVersion = "1.0.1123";
|
|
64837
|
+
const rawGitSha = "c6ec583260d0dbe3598946b7a9e19d8f9d71dd72";
|
|
64838
|
+
const rawSentryRelease = "boxes-dev-dvb@1.0.1123+c6ec583260d0dbe3598946b7a9e19d8f9d71dd72";
|
|
64839
64839
|
const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
|
|
64840
64840
|
const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
|
|
64841
64841
|
const sentryRelease = typeof rawSentryRelease === "string" ? rawSentryRelease : void 0;
|
|
@@ -67387,7 +67387,7 @@ var init_packageVersion = __esm({
|
|
|
67387
67387
|
return path8.join(process.cwd(), "dvb");
|
|
67388
67388
|
};
|
|
67389
67389
|
readEmbeddedPackageVersion = () => {
|
|
67390
|
-
const raw = "1.0.
|
|
67390
|
+
const raw = "1.0.1123";
|
|
67391
67391
|
return trimVersion(raw);
|
|
67392
67392
|
};
|
|
67393
67393
|
readNearestPackageMetadata = (basePath) => {
|
|
@@ -84919,4 +84919,4 @@ smol-toml/dist/index.js:
|
|
|
84919
84919
|
*)
|
|
84920
84920
|
*/
|
|
84921
84921
|
|
|
84922
|
-
//# debugId=
|
|
84922
|
+
//# debugId=1b7f906b-cd22-5abd-ba0e-247f6e62494e
|
|
@@ -267,7 +267,8 @@ disconnect the current GitHub account first.
|
|
|
267
267
|
If you revoke the boxes.dev App's authorization on GitHub, reconnect it in
|
|
268
268
|
each affected boxes.dev account. Removing or suspending an App installation
|
|
269
269
|
affects that installation's repositories, while access to other installations
|
|
270
|
-
remains available. Restore repository access from **
|
|
270
|
+
remains available. Restore repository access from **Integrations → GitHub**
|
|
271
|
+
when needed.
|
|
271
272
|
boxes.dev refreshes expiring credentials automatically before they expire.
|
|
272
273
|
If the refresh credential has also expired, reconnect GitHub. Temporary GitHub
|
|
273
274
|
outages are retried without treating your authorization as revoked.
|
|
@@ -276,10 +277,13 @@ For an independent project with automatic access, Git can use any GitHub reposit
|
|
|
276
277
|
that the connected user's credential can read. boxes.dev verifies the machine
|
|
277
278
|
and current repository access before returning the credential; GitHub enforces
|
|
278
279
|
write permission and branch rules when you push.
|
|
279
|
-
If access stops,
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
280
|
+
If access stops, the Git error names the repository and the fix: reconnect the
|
|
281
|
+
GitHub account used for the project, open **Integrations → GitHub** to give the
|
|
282
|
+
boxes.dev App access, or restore the connected user's write permission. The
|
|
283
|
+
App loses access to a repository when someone removes that repository from the
|
|
284
|
+
App's installation on GitHub, even while the GitHub connection itself stays
|
|
285
|
+
healthy. When an organization cannot approve the App for that repository,
|
|
286
|
+
**Connect personal access** under
|
|
283
287
|
**Integrations → GitHub → GitHub CLI access** can authorize the official GitHub
|
|
284
288
|
CLI instead. That personal access
|
|
285
289
|
can authenticate a token-free HTTPS Git request after boxes.dev confirms that
|
|
@@ -200,7 +200,9 @@ lists individual skill ids and sizes, and its `--json` output includes source
|
|
|
200
200
|
paths and exact byte counts. The manifest's `agentConfig.include` selects those
|
|
201
201
|
ids. Existing `claude:skills` and `codex:skills` entries still select whole
|
|
202
202
|
folders; remove the corresponding whole-folder entry when choosing a subset.
|
|
203
|
-
The local originals remain unchanged.
|
|
203
|
+
The local originals remain unchanged. Claude permission rules have their own
|
|
204
|
+
id, `claude:permissions`, which is left out of the default selection. When it
|
|
205
|
+
is included, setup saves the rules in the project's Agent settings.
|
|
204
206
|
|
|
205
207
|
Global agent configuration is optional. The local agent should recommend a
|
|
206
208
|
selection based on usefulness to this project and the user's development
|
|
@@ -973,6 +975,14 @@ selected. The rest of the Claude settings stay selected either way and are
|
|
|
973
975
|
copied without the hooks unless **Hooks** is also selected. Users can select
|
|
974
976
|
**Hooks** when the Template box will have what the commands need.
|
|
975
977
|
|
|
978
|
+
Claude permission rules appear in their own **Permission rules** row, which
|
|
979
|
+
starts unchecked. boxes.dev runs Claude in Full-access, but Claude still asks
|
|
980
|
+
before anything that matches an `ask` rule and refuses anything that matches a
|
|
981
|
+
`deny` rule. If the user selects **Permission rules**, setup saves the `allow`,
|
|
982
|
+
`ask`, and `deny` rules in the project's Agent settings, where they can be
|
|
983
|
+
changed later for every box. The rest of the Claude settings are copied
|
|
984
|
+
without them either way.
|
|
985
|
+
|
|
976
986
|
When desktop local-folder setup detects a Git remote, **Finalize Bundle** shows
|
|
977
987
|
**New devboxes**, with the **Default branch** separate from the optional
|
|
978
988
|
**Startup script**. boxes.dev prepares the selected branch before running the
|
|
@@ -1155,8 +1155,11 @@ also offer these modes when the runtime supports switching them:
|
|
|
1155
1155
|
thread. Claude works in the isolated Template box or devbox without ordinary
|
|
1156
1156
|
edit and command approval prompts, unless machine configuration changes that default.
|
|
1157
1157
|
Claude's own safety checks still ask before a few operations, such as deleting
|
|
1158
|
-
files when Claude can't tell in advance which files those are
|
|
1159
|
-
|
|
1158
|
+
files when Claude can't tell in advance which files those are. Claude also
|
|
1159
|
+
asks before anything that matches an `ask` rule in its settings, such as the
|
|
1160
|
+
project's Agent settings or the repository's `.claude/settings.json`, and
|
|
1161
|
+
refuses anything that matches a `deny` rule. The permission request includes
|
|
1162
|
+
Claude's reason for asking, or the matching rule when Claude reports one.
|
|
1160
1163
|
- **Auto** uses Claude's safety checks and may still block an operation or ask
|
|
1161
1164
|
for permission. It appears only for models that report Auto support, and
|
|
1162
1165
|
Claude can return the thread to Manual if Auto becomes unavailable.
|
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.1123",
|
|
4
4
|
"description": "Runtime for the boxes.dev CLI. Install @boxes-dev/dvb to use the CLI.",
|
|
5
5
|
"homepage": "https://boxes.dev",
|
|
6
6
|
"type": "module",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"e2b": "^2.18.0",
|
|
78
78
|
"ink-testing-library": "^4.0.0"
|
|
79
79
|
},
|
|
80
|
-
"devboxReleasedAt": "2026-11-
|
|
80
|
+
"devboxReleasedAt": "2026-11-10T16:10:38Z"
|
|
81
81
|
}
|