agent-work-layer 0.2.0 → 0.2.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/CHANGELOG.md +6 -0
- package/README.md +3 -1
- package/dist/generated.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Agent Cards say who an agent is. A2A carries messages between agents. MCP connec
|
|
|
21
21
|
|
|
22
22
|
<p align="center"><img src="docs/fields.svg" alt="Each Work Report field answers a Work Order field: evidence proves criteria, cost stays within budget, tools used stay within allowed tools" width="760"></p>
|
|
23
23
|
|
|
24
|
-
More diagrams: [message sequence](docs/sequence.svg) · [lifecycle](docs/lifecycle.svg) · [delegation](docs/delegation.svg)
|
|
24
|
+
More diagrams: [message sequence](docs/sequence.svg) · [lifecycle](docs/lifecycle.svg) · [delegation](docs/delegation.svg) · [handoff](docs/handoff.svg)
|
|
25
25
|
|
|
26
26
|
## Install
|
|
27
27
|
|
|
@@ -92,6 +92,8 @@ The desk enforces the spec as you go:
|
|
|
92
92
|
|
|
93
93
|
When a worker fails, gets blocked or is cancelled, it can say what the next worker should know. The manager passes that along in the next order:
|
|
94
94
|
|
|
95
|
+
<p align="center"><img src="docs/handoff.svg" alt="Worker A reports failed with a handoff; the manager reissues the job to Worker B with the same handoff: summary, decisions, what was tried, open questions and next step" width="760"></p>
|
|
96
|
+
|
|
95
97
|
```ts
|
|
96
98
|
await desk.submitReport(order.id, {
|
|
97
99
|
status: "failed",
|
package/dist/generated.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by scripts/generate.ts from package.json and schemas/*.json. Do not edit.
|
|
2
2
|
/** This package's version. */
|
|
3
|
-
export const VERSION = "0.2.
|
|
3
|
+
export const VERSION = "0.2.1";
|
|
4
4
|
/** The Work Order JSON Schema (schemas/work-order.schema.json). */
|
|
5
5
|
export const workOrderSchema = {
|
|
6
6
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
package/package.json
CHANGED