@crewhaus/target-crew 0.5.1 → 0.5.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.
- package/dist/index.js +8 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -870,7 +870,14 @@ ${controlPlaneBoot}${controlDrain}${controlStart} const crew = buildCrew();
|
|
|
870
870
|
const input = await readAllStdin();
|
|
871
871
|
const trimmed = input.trim();
|
|
872
872
|
if (trimmed.length === 0) {
|
|
873
|
-
|
|
873
|
+
// Say what to do, not just what happened. A supervisor that spawned this
|
|
874
|
+
// with no stdin used to read the bare exit 2 as a crash and restart it,
|
|
875
|
+
// and the operator's only clue was this line in a log.
|
|
876
|
+
process.stderr.write(
|
|
877
|
+
"[crew] no input on stdin — a crew bundle reads its BRIEF there.\\n" +
|
|
878
|
+
"[crew] run it with \`bun daemon.ts < brief.md\`, or under supervision with\\n" +
|
|
879
|
+
"[crew] \`crewhaus daemon submit <harness-dir> --brief-file brief.md\`.\\n",
|
|
880
|
+
);
|
|
874
881
|
process.exit(2);
|
|
875
882
|
}${mcp.bootBlock}${roleThredz.bootBlock}${memBoot}
|
|
876
883
|
const opts: Parameters<typeof crew.run>[1] = {${permField}${approvalFields}${taxonomyField}${crewCapsFields}${loopLimitsField}${budgetField}${hooksField}${spawnField}${extraToolsField}${roleThredz.roleExtraToolsField}${roleThredz.roleMemoryField}${memOptsFields}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewhaus/target-crew",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Codegen for the CRW target — emits a daemon + per-role agent files driven by crew-orchestrator (Section 22)",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"test": "bun test src"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@crewhaus/errors": "0.5.
|
|
19
|
-
"@crewhaus/gateway-protocol": "0.5.
|
|
20
|
-
"@crewhaus/infra-utils": "0.5.
|
|
21
|
-
"@crewhaus/ir": "0.5.
|
|
22
|
-
"@crewhaus/memory-service": "0.5.
|
|
18
|
+
"@crewhaus/errors": "0.5.3",
|
|
19
|
+
"@crewhaus/gateway-protocol": "0.5.3",
|
|
20
|
+
"@crewhaus/infra-utils": "0.5.3",
|
|
21
|
+
"@crewhaus/ir": "0.5.3",
|
|
22
|
+
"@crewhaus/memory-service": "0.5.3"
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"author": {
|