wile 0.4.11 → 0.4.14

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.
@@ -49,7 +49,7 @@ echo "════════════════════════
49
49
  echo ""
50
50
 
51
51
  if [ -f "$SETUP_PROMPT_FILE" ]; then
52
- OUTPUT=$(cat "$SETUP_PROMPT_FILE" | claude --model "$CLAUDE_MODEL" --dangerously-skip-permissions 2>&1 | tee /dev/stderr) || true
52
+ OUTPUT=$(cat "$SETUP_PROMPT_FILE" | claude --model "$CLAUDE_MODEL" --verbose --dangerously-skip-permissions 2>&1 | tee /dev/stderr) || true
53
53
 
54
54
  # Check if setup failed critically
55
55
  if echo "$OUTPUT" | grep -q "<promise>SETUP_FAILED</promise>"; then
@@ -80,7 +80,7 @@ for i in $(seq 1 $MAX_ITERATIONS); do
80
80
  # Pipe prompt to Claude Code
81
81
  # --dangerously-skip-permissions allows autonomous operation
82
82
  # Capture output while also displaying it (tee to stderr)
83
- OUTPUT=$(cat "$PROMPT_FILE" | claude --model "$CLAUDE_MODEL" --dangerously-skip-permissions 2>&1 | tee /dev/stderr) || true
83
+ OUTPUT=$(cat "$PROMPT_FILE" | claude --model "$CLAUDE_MODEL" --verbose --dangerously-skip-permissions 2>&1 | tee /dev/stderr) || true
84
84
 
85
85
  # Check for completion signal
86
86
  if echo "$OUTPUT" | grep -q "<promise>COMPLETE</promise>"; then
package/dist/cli.js CHANGED
@@ -7743,17 +7743,23 @@ Use bullet points for additional instructions, e.g.
7743
7743
  "each story is independently actionable and verifiable.",
7744
7744
  "",
7745
7745
  "Guidelines:",
7746
- "- Use clear, testable acceptance criteria (one behavior per bullet).",
7746
+ "- Use outcome-focused acceptance criteria (observable results).",
7747
+ '- Criteria should be hard to satisfy with "empty" tests.',
7748
+ "- If verification is a command, state the expected result of that command.",
7749
+ "- Use one behavior per bullet.",
7747
7750
  "- Keep IDs stable and unique (e.g., US-123).",
7748
7751
  '- Avoid vague terms like "should" or "nice".',
7749
7752
  "- Keep stories small enough to finish in one iteration.",
7750
7753
  "- Mark `passes: false` for work not done yet.",
7751
7754
  "- Place the STOP HERE note only on the last story that requires human approval.",
7752
- "- Prefer concrete files/commands when verification matters.",
7755
+ "- Prefer concrete files/commands only when they reflect the real outcome.",
7756
+ "- If you discover reusable, module-specific guidance, add it to the nearest AGENTS.md.",
7757
+ " Note: Never update .wile/AGENTS.md.",
7753
7758
  "",
7754
7759
  "Environment notes:",
7755
7760
  "- Playwright (Chromium) is available in the agent container for UI checks.",
7756
7761
  "- Project env vars can be passed via `.wile/secrets/.env.project`.",
7762
+ "- Optional extra guidance can be added in `.wile/additional-instructions.md`.",
7757
7763
  "- The container has outbound internet access by default.",
7758
7764
  ""
7759
7765
  ].join(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wile",
3
- "version": "0.4.11",
3
+ "version": "0.4.14",
4
4
  "description": "Autonomous AI coding agent that ships features while you sleep",
5
5
  "type": "module",
6
6
  "bin": {
@@ -15,7 +15,9 @@
15
15
  "build": "bun build ./src/cli.ts --outdir ./dist --target node",
16
16
  "dev": "bun run ./src/cli.ts",
17
17
  "prepublishOnly": "./build.sh",
18
- "test": "bun test"
18
+ "test": "bun test",
19
+ "tsc": "tsc --noEmit",
20
+ "lint": "eslint . --max-warnings=0"
19
21
  },
20
22
  "dependencies": {
21
23
  "commander": "^14.0.2",
@@ -29,5 +31,12 @@
29
31
  "agent",
30
32
  "claude"
31
33
  ],
32
- "license": "MIT"
34
+ "license": "MIT",
35
+ "devDependencies": {
36
+ "@types/prompts": "^2.4.9",
37
+ "@typescript-eslint/eslint-plugin": "^8.52.0",
38
+ "@typescript-eslint/parser": "^8.52.0",
39
+ "eslint": "8.57.0",
40
+ "typescript": "^5.9.3"
41
+ }
33
42
  }