@hecer/yoke 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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # 🐂 Yoke
4
4
 
5
- <!-- yoke:version:start -->1.1.0<!-- yoke:version:end -->
5
+ <!-- yoke:version:start -->1.1.1<!-- yoke:version:end -->
6
6
  <!-- yoke:tests:start -->559<!-- yoke:tests:end -->
7
7
  <!-- yoke:skills:start -->29<!-- yoke:skills:end -->
8
8
  <!-- yoke:agents:start -->Claude | Codex | Gemini<!-- yoke:agents:end -->
@@ -14,9 +14,9 @@ const argsFor = (agent, permissions) => {
14
14
  return ['exec', '--full-auto', '--json'];
15
15
  }
16
16
  if (permissions === 'unsafe')
17
- return ['--yolo', '--output-format', 'stream-json'];
17
+ return ['--yolo'];
18
18
  const approval = permissions === 'read-only' ? 'plan' : 'auto_edit';
19
- return ['--approval-mode', approval, '--sandbox', '--output-format', 'stream-json'];
19
+ return ['--approval-mode', approval, '--sandbox'];
20
20
  };
21
21
  export function buildProviderInvocation(agent, prompt, cwd, permissions = 'safe') {
22
22
  return { command: agent, args: argsFor(agent, permissions), input: prompt, cwd };
@@ -252,8 +252,8 @@ export function runLoopCommand(targetDir, opts) {
252
252
  say(`Loop ${result.status} after ${result.iterations} iteration(s): ${result.finalProgress.passed}/${result.finalProgress.total} stories pass`);
253
253
  if (result.reason)
254
254
  say(`Reason: ${result.reason}`);
255
- if (result.reason && /api key|please run \/login|not logged in/i.test(result.reason)) {
256
- say('Hint: the agent CLI has no credentials in this environment. Set ANTHROPIC_API_KEY or log the agent in for headless use.');
255
+ if (result.reason && /api key|please run \/login|not logged in|auth/i.test(result.reason)) {
256
+ say('Hint: the agent CLI has no credentials in this environment. Set ANTHROPIC_API_KEY, GEMINI_API_KEY, or OPENAI_API_KEY, or log the agent in for headless use.');
257
257
  }
258
258
  // Exit codes: 0 complete · 1 blocked/cap-reached · 2 config error (handled above) · 3 paused (loop.pause consumed at a story boundary)
259
259
  if (result.status === 'complete')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hecer/yoke",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "One harness, three agents, zero trust in \"done\" — cross-agent coding harness for Claude Code, Codex CLI, and Gemini CLI: one skill canon, mechanical safety gates, an autonomous loop with screenshot/video proofs.",
5
5
  "type": "module",
6
6
  "bin": {