@ixo/topic-protocol 1.0.0-rc.2 → 1.0.0-rc.4
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 +5 -2
- package/dist/profiles/releases/1.0.0-rc.3.json +8442 -0
- package/dist/schemas/external-project-snapshot.schema.json +121 -0
- package/dist/schemas/external-work-state-map.schema.json +1 -1
- package/dist/schemas/project-plan.schema.json +75 -0
- package/dist/schemas/project-projection.schema.json +187 -0
- package/dist/schemas/topic-contract-body.schema.json +1 -0
- package/dist/schemas/topic-operation.schema.json +155 -13
- package/dist/schemas/topic-recipe.schema.json +53 -3
- package/dist/schemas/topic-root.schema.json +1 -1
- package/dist/schemas/topic-shape.schema.json +1 -1
- package/dist/schemas/topic-state.schema.json +1 -0
- package/dist/src/contracts/schemas.d.ts +734 -54
- package/dist/src/contracts/schemas.js +6 -0
- package/dist/src/contracts/schemas.js.map +1 -1
- package/dist/src/contracts/topic-contract.d.ts +4 -2
- package/dist/src/contracts/topic-contract.js +6 -1
- package/dist/src/contracts/topic-contract.js.map +1 -1
- package/dist/src/contracts/validator.js +53 -3
- package/dist/src/contracts/validator.js.map +1 -1
- package/dist/src/index.d.ts +11 -2
- package/dist/src/index.js +9 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/projector/payload.d.ts +53 -3
- package/dist/src/projector/payload.js +107 -15
- package/dist/src/projector/payload.js.map +1 -1
- package/dist/src/projector/project.js +3 -3
- package/dist/src/projector/project.js.map +1 -1
- package/dist/src/projector/state.d.ts +2 -2
- package/dist/src/projector/state.js +103 -3
- package/dist/src/projector/state.js.map +1 -1
- package/dist/src/projector/types.d.ts +10 -4
- package/dist/src/projector/types.js +1 -0
- package/dist/src/projector/types.js.map +1 -1
- package/dist/src/projects/project.d.ts +7 -0
- package/dist/src/projects/project.js +294 -0
- package/dist/src/projects/project.js.map +1 -0
- package/dist/src/projects/types.d.ts +127 -0
- package/dist/src/projects/types.js +14 -0
- package/dist/src/projects/types.js.map +1 -0
- package/dist/src/shapes/availability.d.ts +2 -0
- package/dist/src/shapes/availability.js +19 -0
- package/dist/src/shapes/availability.js.map +1 -0
- package/dist/src/shapes/commands.d.ts +3 -0
- package/dist/src/shapes/commands.js +10 -0
- package/dist/src/shapes/commands.js.map +1 -0
- package/dist/src/shapes/fields.d.ts +9 -0
- package/dist/src/shapes/fields.js +41 -0
- package/dist/src/shapes/fields.js.map +1 -0
- package/dist/src/shapes/now.js +4 -1
- package/dist/src/shapes/now.js.map +1 -1
- package/dist/src/shapes/progress.d.ts +5 -1
- package/dist/src/shapes/progress.js +99 -49
- package/dist/src/shapes/progress.js.map +1 -1
- package/dist/src/shapes/reachability.d.ts +3 -0
- package/dist/src/shapes/reachability.js +29 -0
- package/dist/src/shapes/reachability.js.map +1 -0
- package/dist/src/shapes/recipes.js +124 -21
- package/dist/src/shapes/recipes.js.map +1 -1
- package/dist/src/shapes/releases.d.ts +9 -0
- package/dist/src/shapes/releases.js +12 -0
- package/dist/src/shapes/releases.js.map +1 -0
- package/dist/src/shapes/resolver.d.ts +3 -0
- package/dist/src/shapes/resolver.js +62 -16
- package/dist/src/shapes/resolver.js.map +1 -1
- package/dist/src/shapes/types.d.ts +16 -2
- package/dist/src/shapes/types.js +2 -0
- package/dist/src/shapes/types.js.map +1 -1
- package/dist/src/work-bridge/types.d.ts +14 -1
- package/package.json +1 -1
- package/profiles/releases/1.0.0-rc.3.json +8442 -0
- package/recipes/agent-delivery.json +54 -4
- package/recipes/blueprint-design.json +613 -0
- package/recipes/registry.json +30 -6
- package/recipes/research-brief.json +53 -2
- package/recipes/software-build.json +566 -0
- package/recipes/verified-work-payment.json +56 -5
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"version": { "enum": [1, 2, 3, 4] },
|
|
9
9
|
"id": { "type": "string", "pattern": "^ixo:topic:[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" },
|
|
10
10
|
"title": { "type": "string", "minLength": 1, "maxLength": 280 },
|
|
11
|
-
"kind": { "type": "string", "enum": ["discussion", "question", "decision", "proposal", "task", "incident", "flow", "agent_task", "evaluation", "claims"] },
|
|
11
|
+
"kind": { "type": "string", "enum": ["project", "discussion", "question", "decision", "proposal", "task", "incident", "flow", "agent_task", "evaluation", "claims"] },
|
|
12
12
|
"status": { "type": "string", "enum": ["draft", "active", "waiting", "blocked", "resolved", "archived", "redirected"] },
|
|
13
13
|
"createdBy": { "type": "string", "minLength": 1 },
|
|
14
14
|
"createdAt": { "type": "string", "format": "date-time" },
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"gates": { "type": "array", "items": { "type": "object", "required": ["kind"], "properties": { "kind": { "enum": ["field", "field-any", "record", "receipt", "axis", "binding", "condition"] }, "requirement": { "$ref": "#/$defs/requirement" } }, "additionalProperties": true } },
|
|
60
60
|
"confirmation": { "enum": ["none", "viewer", "authority"] },
|
|
61
61
|
"consequence": { "enum": ["none", "shared-state", "external-effect", "settlement"] },
|
|
62
|
-
"evidence": { "type": "object", "required": ["kind", "type"], "properties": { "kind": { "enum": ["operation", "record", "receipt"] }, "type": { "type": "string", "minLength": 1 }, "finality": { "enum": ["observed", "accepted", "verified", "final"] } }, "additionalProperties": false },
|
|
62
|
+
"evidence": { "type": "object", "required": ["kind", "type"], "properties": { "kind": { "enum": ["operation", "record", "receipt"] }, "type": { "type": "string", "minLength": 1 }, "finality": { "enum": ["observed", "accepted", "verified", "final"] }, "status": { "type": "string", "minLength": 1 } }, "additionalProperties": false },
|
|
63
63
|
"completesTopic": { "type": "boolean" },
|
|
64
64
|
"handoff": { "type": "object", "required": ["kind", "binding"], "properties": { "kind": { "enum": ["flow", "resource"] }, "binding": { "type": "string", "minLength": 1 } }, "additionalProperties": false },
|
|
65
65
|
"presentation": { "type": "object", "required": ["reasonCode", "actionLabelKey", "bodyKey", "purposeKey", "unlocksKey", "priority"], "properties": { "reasonCode": { "type": "string", "minLength": 1 }, "actionLabelKey": { "type": "string", "minLength": 1 }, "bodyKey": { "type": "string", "minLength": 1 }, "purposeKey": { "type": "string", "minLength": 1 }, "unlocksKey": { "type": "string", "minLength": 1 }, "priority": { "type": "integer" }, "focusPath": { "type": "string" } }, "additionalProperties": false }
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"additionalProperties": false
|
|
49
49
|
},
|
|
50
|
+
"project": { "$ref": "https://topic-protocol.ixo.world/schemas/project-projection.schema.json" },
|
|
50
51
|
"basedOnEvents": { "type": "array", "items": { "type": "string", "pattern": "^\\$" } },
|
|
51
52
|
"conflicts": { "type": "array", "items": { "type": "string" } }
|
|
52
53
|
},
|