Per-iteration install/remove had a race condition: settings.local.json was written immediately before CC started, and CC could read the old file (without the hook) on the first iteration. Now the hook is installed once when loop.sh starts and removed on exit. The AGENT_LOOP_ACTIVE env var guard ensures it only fires for CC sessions spawned by the loop, so keeping it installed the whole time is safe.
24 lines
752 B
JSON
24 lines
752 B
JSON
{
|
|
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
|
|
"name": "agent-loop",
|
|
"description": "Autonomous generator-evaluator agent loop for long-running coding tasks",
|
|
"owner": {
|
|
"name": "Sheldon"
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "agent-loop",
|
|
"source": "./",
|
|
"description": "Autonomous generator-evaluator agent loop for long-running coding tasks. Plan interactively, then execute with full visibility.",
|
|
"version": "0.10.2",
|
|
"author": {
|
|
"name": "Sheldon"
|
|
},
|
|
"repository": "https://git.jagfly.com/sheldon/loop-loop",
|
|
"license": "MIT",
|
|
"keywords": ["agent", "loop", "autonomous", "generator", "evaluator", "harness"],
|
|
"category": "workflow"
|
|
}
|
|
]
|
|
}
|