@post-print/agent-harness 0.1.15 → 0.1.16
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
|
@@ -28,4 +28,6 @@ const session = await runAgent({
|
|
|
28
28
|
|
|
29
29
|
Live Cursor runs accept inline `mcpServers` (stdio or HTTP/SSE), passed through to `Agent.create`. Replay ignores them and scores committed `toolCalls` only. Ambient MCP via `local.settingSources` is not enabled.
|
|
30
30
|
|
|
31
|
+
When `outputContract` is set, `buildRoutingContract` injects hands-on / hands-off routing announce rules and requires continuing the task after the announce (do not end the turn at Routing alone).
|
|
32
|
+
|
|
31
33
|
Consumer: `@post-print/agent-test`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing-contract.d.ts","sourceRoot":"","sources":["../src/routing-contract.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,WAAW,CAAC;AAEvD,6FAA6F;AAC7F,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"routing-contract.d.ts","sourceRoot":"","sources":["../src/routing-contract.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,WAAW,CAAC;AAEvD,6FAA6F;AAC7F,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM,CAsBlE"}
|
package/dist/routing-contract.js
CHANGED
|
@@ -11,12 +11,14 @@ export function buildRoutingContract(mode) {
|
|
|
11
11
|
"- **Escalations:** none | …",
|
|
12
12
|
"- **Open questions:** none | …",
|
|
13
13
|
"Do not call tools or write planning text until this block is complete.",
|
|
14
|
+
"After the Routing block, continue the task with tools and the deliverable — do not end the turn at the announce.",
|
|
14
15
|
].join("\n");
|
|
15
16
|
}
|
|
16
17
|
return [
|
|
17
18
|
"Output contract (before any tools or edits):",
|
|
18
19
|
"Announce routing per agent-routing.md hands-on rule — one line with tier, e.g.:",
|
|
19
20
|
" Tier: low — … OR Medium — … OR Routing: Medium — …",
|
|
21
|
+
"After the announce line, continue the task with tools — do not end the turn at the announce.",
|
|
20
22
|
].join("\n");
|
|
21
23
|
}
|
|
22
24
|
//# sourceMappingURL=routing-contract.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing-contract.js","sourceRoot":"","sources":["../src/routing-contract.ts"],"names":[],"mappings":"AAEA,6FAA6F;AAC7F,MAAM,UAAU,oBAAoB,CAAC,IAAqB;IACzD,IAAI,IAAI,KAAK,WAAW,EAAE,CAAC;QAC1B,OAAO;YACN,uFAAuF;YACvF,yEAAyE;YACzE,YAAY;YACZ,iCAAiC;YACjC,kBAAkB;YAClB,4BAA4B;YAC5B,6BAA6B;YAC7B,gCAAgC;YAChC,wEAAwE;
|
|
1
|
+
{"version":3,"file":"routing-contract.js","sourceRoot":"","sources":["../src/routing-contract.ts"],"names":[],"mappings":"AAEA,6FAA6F;AAC7F,MAAM,UAAU,oBAAoB,CAAC,IAAqB;IACzD,IAAI,IAAI,KAAK,WAAW,EAAE,CAAC;QAC1B,OAAO;YACN,uFAAuF;YACvF,yEAAyE;YACzE,YAAY;YACZ,iCAAiC;YACjC,kBAAkB;YAClB,4BAA4B;YAC5B,6BAA6B;YAC7B,gCAAgC;YAChC,wEAAwE;YACxE,kHAAkH;SAClH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACd,CAAC;IAED,OAAO;QACN,8CAA8C;QAC9C,iFAAiF;QACjF,8DAA8D;QAC9D,8FAA8F;KAC9F,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACd,CAAC"}
|