hopeid 1.1.0 → 1.1.1
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/cli/hopeid.js +5 -19
- package/package.json +1 -1
package/cli/hopeid.js
CHANGED
|
@@ -389,25 +389,11 @@ async function handleSetup(args) {
|
|
|
389
389
|
console.log(' ⏭️ Plugin already enabled');
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
-
//
|
|
393
|
-
console.log('\n🔒
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
if (!config.agents.defaults.sandbox) {
|
|
399
|
-
config.agents.defaults.sandbox = {
|
|
400
|
-
mode: 'non-main',
|
|
401
|
-
scope: 'session',
|
|
402
|
-
workspaceAccess: 'none'
|
|
403
|
-
};
|
|
404
|
-
console.log(' ✅ Sandbox enabled for non-main agents');
|
|
405
|
-
console.log(' Mode: non-main (main agent runs on host, others sandboxed)');
|
|
406
|
-
console.log(' Scope: session (each session gets isolated container)');
|
|
407
|
-
console.log(' Workspace: none (sandboxed agents get clean workspace)');
|
|
408
|
-
} else {
|
|
409
|
-
console.log(' ⏭️ Sandbox already configured');
|
|
410
|
-
}
|
|
392
|
+
// Note about sandboxing (don't auto-configure - it can break workers)
|
|
393
|
+
console.log('\n🔒 Sandbox configuration...');
|
|
394
|
+
console.log(' ℹ️ Sandbox NOT auto-configured (can break worker agents)');
|
|
395
|
+
console.log(' 📖 For public-facing agents (moltbook, social), manually add:');
|
|
396
|
+
console.log(' agents.list[].sandbox: { mode: "all", workspaceAccess: "none" }');
|
|
411
397
|
|
|
412
398
|
// Write updated config
|
|
413
399
|
fs.writeFileSync(configPath, JSON.stringify(config, null, 2));
|
package/package.json
CHANGED