yolocage 0.1.2 → 0.1.3

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/lib/types.js +9 -5
  2. package/package.json +1 -1
package/lib/types.js CHANGED
@@ -39,11 +39,15 @@ const TYPE_DEFAULTS = {
39
39
  extraHostFiles: [
40
40
  { host: path.join(HOME, '.claude.json'), container: '/home/agent/.claude.json' },
41
41
  ],
42
- // --continue auto-resumes the most recent in-cwd conversation; harmless on
43
- // first run (claude falls back to a fresh session). With per-cwd persistent
44
- // cages, this is what the operator wants by default — `yc claude` always
45
- // either resumes or starts fresh, never re-introduces itself mid-project.
46
- cmd: ['claude', '--continue', '--dangerously-skip-permissions'],
42
+ // Default to a fresh interactive session. We used to pass --continue
43
+ // here on the assumption that it was a no-op on the first run; in
44
+ // current claude-code versions --continue exits with "No conversation
45
+ // found to continue" instead of falling back, which made the very
46
+ // first `yc claude` in a fresh cwd kick the operator straight back
47
+ // out. Operators who want resume can pass it via `yc claude --
48
+ // --continue` (everything after `--` is appended to the in-container
49
+ // argv via `passthrough`).
50
+ cmd: ['claude', '--dangerously-skip-permissions'],
47
51
  },
48
52
  codex: {
49
53
  v0: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yolocage",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Sandboxed claude-code / codex container with built-in egress credential scrubber. Run AI coding agents in --dangerously-skip-permissions mode with a safety net.",
5
5
  "license": "MIT",
6
6
  "author": "yolocage contributors",