@ixo/topic-protocol 1.0.0-rc.6 → 1.0.0-rc.8

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 (36) hide show
  1. package/README.md +3 -1
  2. package/dist/profiles/releases/1.0.0-rc.6.json +10007 -0
  3. package/dist/src/contracts/precompiled.d.ts +30 -0
  4. package/dist/src/contracts/precompiled.js +29 -0
  5. package/dist/src/contracts/precompiled.js.map +1 -0
  6. package/dist/src/contracts/validator.js +5 -35
  7. package/dist/src/contracts/validator.js.map +1 -1
  8. package/dist/src/contracts/validators.generated.d.ts +47 -0
  9. package/dist/src/contracts/validators.generated.js +55104 -0
  10. package/dist/src/contracts/validators.generated.js.map +1 -0
  11. package/dist/src/shapes/recipes.js +31 -29
  12. package/dist/src/shapes/recipes.js.map +1 -1
  13. package/dist/src/shapes/releases.d.ts +1 -1
  14. package/dist/src/shapes/releases.js +4 -1
  15. package/dist/src/shapes/releases.js.map +1 -1
  16. package/dist/src/v2/index.d.ts +2 -1
  17. package/dist/src/v2/index.js +2 -1
  18. package/dist/src/v2/index.js.map +1 -1
  19. package/dist/src/v2/schemas.d.ts +638 -0
  20. package/dist/src/v2/schemas.js +13 -0
  21. package/dist/src/v2/schemas.js.map +1 -0
  22. package/dist/src/v2/validate.d.ts +1 -638
  23. package/dist/src/v2/validate.js +5 -24
  24. package/dist/src/v2/validate.js.map +1 -1
  25. package/dist/src/v2/validators.generated.d.ts +8 -0
  26. package/dist/src/v2/validators.generated.js +5140 -0
  27. package/dist/src/v2/validators.generated.js.map +1 -0
  28. package/package.json +7 -5
  29. package/profiles/releases/1.0.0-rc.6.json +10007 -0
  30. package/recipes/agent-delivery.json +1 -1
  31. package/recipes/blueprint-design.json +1 -1
  32. package/recipes/registry.json +10 -10
  33. package/recipes/research-brief.json +1 -1
  34. package/recipes/software-build.json +1 -1
  35. package/recipes/verified-work-payment.json +1 -1
  36. package/dist/schemas/v2/common.schema.json +0 -68
@@ -2,7 +2,7 @@
2
2
  "version": 1,
3
3
  "code": "agent-delivery",
4
4
  "id": "https://topic-protocol.ixo.world/recipes/agent-delivery",
5
- "recipeVersion": "1.0.0-rc.6",
5
+ "recipeVersion": "1.0.0-rc.7",
6
6
  "label": "Agent delivery",
7
7
  "description": "Commission agent work, review its delivery, and explicitly confirm any external Action.",
8
8
  "baseRecipe": "flow",
@@ -2,7 +2,7 @@
2
2
  "version": 1,
3
3
  "code": "blueprint-design",
4
4
  "id": "https://topic-protocol.ixo.world/recipes/blueprint-design",
5
- "recipeVersion": "1.0.0-rc.6",
5
+ "recipeVersion": "1.0.0-rc.7",
6
6
  "label": "Blueprint Design",
7
7
  "description": "Coordinate a pinned design method and require independent-review evidence before explicitly closing the blueprint Project.",
8
8
  "baseRecipe": "project",
@@ -9,8 +9,8 @@
9
9
  "creates": "draft",
10
10
  "ref": {
11
11
  "id": "https://topic-protocol.ixo.world/recipes/research-brief",
12
- "version": "1.0.0-rc.6",
13
- "digest": "sha256:99b5c2e9473a0f2e20976e84baf04075a83c9d77c46607d35f49ea79ac94f692"
12
+ "version": "1.0.0-rc.7",
13
+ "digest": "sha256:06fad40bf1063991bb9cfab04a398b3b300c2df068c466f10a947a2f386df14f"
14
14
  }
15
15
  },
16
16
  {
@@ -21,8 +21,8 @@
21
21
  "creates": "draft",
22
22
  "ref": {
23
23
  "id": "https://topic-protocol.ixo.world/recipes/agent-delivery",
24
- "version": "1.0.0-rc.6",
25
- "digest": "sha256:7f716e69563c1d6eeea9495b731da8731940ffa9788b4420aff4bfb3a928fee1"
24
+ "version": "1.0.0-rc.7",
25
+ "digest": "sha256:7f1e7b5f8c191a9813f867f3e43e14f1ab0a5185ce19e1470ff3ef6784f19024"
26
26
  }
27
27
  },
28
28
  {
@@ -33,8 +33,8 @@
33
33
  "creates": "draft",
34
34
  "ref": {
35
35
  "id": "https://topic-protocol.ixo.world/recipes/verified-work-payment",
36
- "version": "1.0.0-rc.6",
37
- "digest": "sha256:4482c1203dcacc8dd26854494135745e528954a4f5138626b7c4a6b343ff0eba"
36
+ "version": "1.0.0-rc.7",
37
+ "digest": "sha256:5f76a6610c55e25d81affc7401f95529277dd5f7cfd06c073a75fc8b8185918b"
38
38
  }
39
39
  },
40
40
  {
@@ -45,8 +45,8 @@
45
45
  "creates": "draft",
46
46
  "ref": {
47
47
  "id": "https://topic-protocol.ixo.world/recipes/software-build",
48
- "version": "1.0.0-rc.6",
49
- "digest": "sha256:4372112d40045666e87d49a8ba5cd5ee8ff877ba1fc90b17743b83e540fd7f8e"
48
+ "version": "1.0.0-rc.7",
49
+ "digest": "sha256:477df389def0fbd1238fcd7c12524111e995b55c641e043e5966ba0320bd09b2"
50
50
  }
51
51
  },
52
52
  {
@@ -57,8 +57,8 @@
57
57
  "creates": "draft",
58
58
  "ref": {
59
59
  "id": "https://topic-protocol.ixo.world/recipes/blueprint-design",
60
- "version": "1.0.0-rc.6",
61
- "digest": "sha256:ca218e40f92335182796296f95be160941e668ca50733b51b16caf2aee5cd08c"
60
+ "version": "1.0.0-rc.7",
61
+ "digest": "sha256:bbbb1c7fb4beb8a681c4b8074751833a5354fad937b21275d065015a01fcb6cf"
62
62
  }
63
63
  }
64
64
  ]
@@ -2,7 +2,7 @@
2
2
  "version": 1,
3
3
  "code": "research-brief",
4
4
  "id": "https://topic-protocol.ixo.world/recipes/research-brief",
5
- "recipeVersion": "1.0.0-rc.6",
5
+ "recipeVersion": "1.0.0-rc.7",
6
6
  "label": "Research brief",
7
7
  "description": "Frame a question, do the research, verify the sources, and close the brief explicitly.",
8
8
  "baseRecipe": "research",
@@ -2,7 +2,7 @@
2
2
  "version": 1,
3
3
  "code": "software-build",
4
4
  "id": "https://topic-protocol.ixo.world/recipes/software-build",
5
- "recipeVersion": "1.0.0-rc.6",
5
+ "recipeVersion": "1.0.0-rc.7",
6
6
  "label": "Software Build",
7
7
  "description": "Coordinate reviewed software work through user-defined milestones and explicitly accepted delivery evidence.",
8
8
  "baseRecipe": "project",
@@ -2,7 +2,7 @@
2
2
  "version": 1,
3
3
  "code": "verified-work-payment",
4
4
  "id": "https://topic-protocol.ixo.world/recipes/verified-work-payment",
5
- "recipeVersion": "1.0.0-rc.6",
5
+ "recipeVersion": "1.0.0-rc.7",
6
6
  "label": "Verified work payment",
7
7
  "description": "Bind one entity and claim collection, verify work, decide, execute through Flow, and observe settlement finality.",
8
8
  "baseRecipe": "claims",
@@ -1,68 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://topic-protocol.ixo.world/schemas/v2/common.schema.json",
4
- "title": "Topic Protocol 2.0 shared definitions",
5
- "$defs": {
6
- "topicId": { "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}$" },
7
- "eventId": { "type": "string", "minLength": 1 },
8
- "actor": { "type": "string", "minLength": 1 },
9
- "dateTime": { "type": "string", "format": "date-time" },
10
- "text": { "type": "string", "minLength": 1, "maxLength": 2000 },
11
- "title": { "type": "string", "minLength": 1, "maxLength": 200 },
12
- "kind": {
13
- "type": "string",
14
- "oneOf": [
15
- { "enum": ["discussion", "question", "task", "project"] },
16
- { "pattern": "^(?!ixo\\.)[a-z][a-z0-9-]*(\\.[a-z][a-z0-9-]*)+$" }
17
- ]
18
- },
19
- "baseKind": { "type": "string", "enum": ["discussion", "question", "task", "project"] },
20
- "status": { "type": "string", "enum": ["open", "active", "waiting", "done", "dropped"] },
21
- "recordType": { "type": "string", "enum": ["decision", "outcome", "artifact", "receipt"] },
22
- "relation": { "type": "string", "enum": ["branches_from", "merged_into", "redirects_to", "references"] },
23
- "ref": {
24
- "type": "object",
25
- "required": ["type", "id"],
26
- "properties": {
27
- "type": { "type": "string", "pattern": "^[a-z][a-z0-9-]*(\\.[a-z][a-z0-9-]*)+$" },
28
- "id": { "type": "string", "minLength": 1 }
29
- },
30
- "additionalProperties": false
31
- },
32
- "file": {
33
- "type": "object",
34
- "required": ["provider", "resource", "fileId", "version", "cid", "name"],
35
- "properties": {
36
- "provider": { "const": "ixo.vfs" },
37
- "resource": { "type": "string", "minLength": 1 },
38
- "fileId": { "type": "string", "minLength": 1 },
39
- "version": { "type": "integer", "minimum": 1 },
40
- "cid": { "type": "string", "minLength": 1 },
41
- "name": { "type": "string", "minLength": 1 },
42
- "mimeType": { "type": "string", "minLength": 1 },
43
- "size": { "type": "integer", "minimum": 0 }
44
- },
45
- "additionalProperties": false
46
- },
47
- "block": {
48
- "type": "object",
49
- "required": ["reason", "by", "since"],
50
- "properties": {
51
- "reason": { "$ref": "#/$defs/text" },
52
- "on": { "type": "string", "minLength": 1 },
53
- "by": { "$ref": "#/$defs/actor" },
54
- "since": { "$ref": "#/$defs/dateTime" }
55
- },
56
- "additionalProperties": false
57
- },
58
- "anchor": {
59
- "type": "object",
60
- "required": ["roomId", "rootEventId"],
61
- "properties": {
62
- "roomId": { "type": "string", "pattern": "^!.+" },
63
- "rootEventId": { "type": "string", "pattern": "^\\$.+" }
64
- },
65
- "additionalProperties": false
66
- }
67
- }
68
- }