@c4t4/heyamigo 0.8.8 → 0.8.9

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.
@@ -24,6 +24,10 @@
24
24
  "reload": ["reload"]
25
25
  },
26
26
 
27
+ "ai": {
28
+ "provider": "claude"
29
+ },
30
+
27
31
  "claude": {
28
32
  "model": "claude-opus-4-7",
29
33
  "personalityFile": "./config/personalities/sharp.md",
package/dist/ai/codex.js CHANGED
@@ -6,7 +6,7 @@
6
6
  // What's wired:
7
7
  // - exec mode with --json (NDJSON event stream on stdout)
8
8
  // - --add-dir for extra writable roots
9
- // - --sandbox-mode for tier (read-only / workspace-write / danger-full-access)
9
+ // - --sandbox for tier (read-only / workspace-write / danger-full-access)
10
10
  // - --resume <id> for session continuation
11
11
  // - prompt passed on stdin (matches the spawn plumbing that already
12
12
  // pipes input to child.stdin)
@@ -41,8 +41,8 @@ function systemPrompt() {
41
41
  function reloadSystemPrompt() {
42
42
  cachedSystemPrompt = null;
43
43
  }
44
- // Codex sandbox vocabulary. The CLI flag is --sandbox-mode (or --sandbox in
45
- // some builds); values are: read-only, workspace-write, danger-full-access.
44
+ // Codex sandbox vocabulary. CLI flag is --sandbox; values are: read-only,
45
+ // workspace-write, danger-full-access.
46
46
  function sandboxFor(mode) {
47
47
  switch (mode) {
48
48
  case 'read-only':
@@ -58,7 +58,7 @@ function laneTimeoutMs(lane) {
58
58
  }
59
59
  function buildExecArgs(params) {
60
60
  const args = ['exec', '--json'];
61
- args.push('--sandbox-mode', sandboxFor(params.mode));
61
+ args.push('--sandbox', sandboxFor(params.mode));
62
62
  if (params.sessionId) {
63
63
  // Resume keeps the prior conversation; system prompt and add-dirs
64
64
  // were baked in on the original turn.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c4t4/heyamigo",
3
- "version": "0.8.8",
3
+ "version": "0.8.9",
4
4
  "description": "WhatsApp AI bot powered by Claude with long-term memory, browser control, and role-based access",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",