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.
Files changed (2) hide show
  1. package/cli/hopeid.js +5 -19
  2. 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
- // Configure sandboxing for non-main agents
393
- console.log('\n🔒 Configuring sandbox for public-facing agents...');
394
-
395
- if (!config.agents) config.agents = {};
396
- if (!config.agents.defaults) config.agents.defaults = {};
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hopeid",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "🛡️ Inference-based intrusion detection for AI agents. Traditional IDS matches signatures. HoPE understands intent.",
5
5
  "main": "src/index.js",
6
6
  "types": "types/index.d.ts",