@knpkv/herdr-coordinator 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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -4,6 +4,6 @@ Persistent chat contracts over the Herdr fleet job protocol.
4
4
 
5
5
  Ask mode submits an `agent.delegate` consult job. Work mode submits a locally authorized work job and therefore follows the fleet approval policy. Chat turns persist beside their job IDs and history derives current state from the owning host's durable job record. The browser-facing history contains the newest 32 turns in chronological order; older turns remain durable and addressable by job ID.
6
6
 
7
- Coordinator output is newline-delimited `herdr.coordinator.child.v1` lifecycle events. Both events carry the exact fleet job ID and request ID. A `started` event with the exact sanitized worker identity and reported relationship must arrive before the matching `completed` event. Missing, malformed, duplicate, reordered, job-mismatched, or request-mismatched events fail with named lifecycle errors. Terminal transcripts are never accepted as chat replies. Chat history exposes the same persisted worker and canonical Connect target after restart.
7
+ Coordinator output is newline-delimited `herdr.coordinator.child.v1` lifecycle events. Both events carry the exact fleet job ID and request ID. A `started` event with the exact sanitized worker identity must arrive before the matching `completed` event. Root coordinator identities omit `relationship` and are valid only for coordinator-handled consult or chat jobs. Delegated child identities carry their exact `parentAgentId` and `relation`; ordinary work without that relationship is rejected. Missing, malformed, duplicate, reordered, job-mismatched, or request-mismatched events fail with named lifecycle errors. Terminal transcripts are never accepted as chat replies. Chat history exposes the same persisted worker and canonical Connect target after restart.
8
8
 
9
9
  Browser-safe schemas are exported from `@knpkv/herdr-coordinator/model`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knpkv/herdr-coordinator",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Persistent coordinator chat contracts for Herdr fleet jobs",
5
5
  "license": "MIT",
6
6
  "author": "knpkv",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "effect": "4.0.0-rc.109",
38
- "@knpkv/herdr-fleet": "^0.2.0"
38
+ "@knpkv/herdr-fleet": "^0.3.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@effect/platform-node": "4.0.0-rc.109",