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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1 — 2026-10-09
4
+
5
+ Documentation only; `agent-work-layer` alone (`agent-work-layer-mcp` stays at 0.2.0).
6
+
7
+ - README: diagram of a handoff moving a job from one worker to the next.
8
+
3
9
  ## 0.2.0 — 2026-10-09
4
10
 
5
11
  ### Breaking
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.0";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-work-layer",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Work Orders and Work Reports for AI agents: a typed SDK, validator and lifecycle desk. The MCP server is in agent-work-layer-mcp.",
5
5
  "keywords": [
6
6
  "ai",