@bakers-build/addon-claude 0.4.1-next.353 → 0.4.1-next.431
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/src/index.js +11 -5
- package/package.json +3 -3
package/dist/src/index.js
CHANGED
|
@@ -49,9 +49,10 @@ function securityFlags({ mode, sandbox, config }) {
|
|
|
49
49
|
disableClaudeAiConnectors: true,
|
|
50
50
|
// dontAsk denies whatever is not allowed here; every Bash command is
|
|
51
51
|
// either sandboxed or a trusted command, and the Read deny covers the
|
|
52
|
-
// Read tool, which the OS sandbox does not confine.
|
|
52
|
+
// Read tool, which the OS sandbox does not confine. AskUserQuestion stays
|
|
53
|
+
// allowed: the run sits in a terminal the human watches, and skills ask.
|
|
53
54
|
permissions: {
|
|
54
|
-
allow: ['Bash', 'Edit(./**)'],
|
|
55
|
+
allow: ['Bash', 'Edit(./**)', 'AskUserQuestion'],
|
|
55
56
|
// Claude reads a single leading `/` as relative to the settings file;
|
|
56
57
|
// the plain rule covers a file entry, `/**` a directory's contents.
|
|
57
58
|
deny: sandbox.deny_read.flatMap((path) => {
|
|
@@ -119,9 +120,14 @@ export class ClaudeAgent {
|
|
|
119
120
|
if (prompt === '') {
|
|
120
121
|
return 'claude';
|
|
121
122
|
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
// Wait for project-declared plugins (extraKnownMarketplaces) to install
|
|
124
|
+
// before the first turn; a fresh worktree otherwise starts without them.
|
|
125
|
+
const parts = [
|
|
126
|
+
'CLAUDE_CODE_SYNC_PLUGIN_INSTALL=1',
|
|
127
|
+
...(this.measure
|
|
128
|
+
? ['node', shellQuote(MEASURE_WRAPPER), 'claude', shellQuote(prompt)]
|
|
129
|
+
: ['claude', shellQuote(prompt)]),
|
|
130
|
+
];
|
|
125
131
|
if (this.model !== undefined && !this.overrides.model) {
|
|
126
132
|
parts.push('--model', shellQuote(this.model));
|
|
127
133
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bakers-build/addon-claude",
|
|
3
|
-
"version": "0.4.1-next.
|
|
3
|
+
"version": "0.4.1-next.431",
|
|
4
4
|
"description": "bakers.build agent plugin for the Claude CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"directory": "bakers-cli/addons/claude"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@bakers-build/conductor": "^0.4.1-next.
|
|
27
|
-
"@bakers-build/core": "^0.4.1-next.
|
|
26
|
+
"@bakers-build/conductor": "^0.4.1-next.431",
|
|
27
|
+
"@bakers-build/core": "^0.4.1-next.431"
|
|
28
28
|
}
|
|
29
29
|
}
|