@x12i/memorix-scoper-contracts 2.0.0 → 3.0.0

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 (45) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/project-record.d.ts +9 -0
  6. package/dist/project-record.d.ts.map +1 -1
  7. package/dist/project-record.js +13 -0
  8. package/dist/project-record.js.map +1 -1
  9. package/dist/schemas/index.d.ts +1 -1
  10. package/dist/schemas/index.d.ts.map +1 -1
  11. package/dist/schemas/index.js +1 -1
  12. package/dist/schemas/index.js.map +1 -1
  13. package/dist/schemas/profile.d.ts +2 -2
  14. package/dist/schemas/request.d.ts +376 -6
  15. package/dist/schemas/request.d.ts.map +1 -1
  16. package/dist/schemas/request.js +152 -0
  17. package/dist/schemas/request.js.map +1 -1
  18. package/package.json +4 -4
  19. package/schemas/CatalogEntry.json +67 -17
  20. package/schemas/CatalogEntry.schema.json +157 -157
  21. package/schemas/EvidenceBundle.json +315 -15
  22. package/schemas/EvidenceBundle.schema.json +469 -469
  23. package/schemas/EvidenceItem.json +156 -15
  24. package/schemas/EvidenceRef.json +113 -9
  25. package/schemas/EvidenceSelection.schema.json +83 -83
  26. package/schemas/IntentScopeRequest.json +78 -0
  27. package/schemas/IntentScopeResponse.json +105 -0
  28. package/schemas/RetrievalPlan.json +221 -13
  29. package/schemas/RetrievalPlan.schema.json +73 -73
  30. package/schemas/RetrievalStep.json +51 -14
  31. package/schemas/ScopeIntent.json +84 -0
  32. package/schemas/ScopeRequest.json +151 -28
  33. package/schemas/ScopeRequest.schema.json +108 -108
  34. package/schemas/ScoperBudgets.json +48 -14
  35. package/schemas/ScoperProfile.json +114 -17
  36. package/schemas/TrustedExecutionContext.json +57 -22
  37. package/schemas/TrustedExecutionContext.schema.json +129 -129
  38. package/dist/schemas.d.ts +0 -1077
  39. package/dist/schemas.d.ts.map +0 -1
  40. package/dist/schemas.js +0 -199
  41. package/dist/schemas.js.map +0 -1
  42. package/dist/schemas.test.d.ts +0 -2
  43. package/dist/schemas.test.d.ts.map +0 -1
  44. package/dist/schemas.test.js +0 -29
  45. package/dist/schemas.test.js.map +0 -1
@@ -1,129 +1,129 @@
1
- {
2
- "$ref": "#/definitions/TrustedExecutionContext",
3
- "definitions": {
4
- "TrustedExecutionContext": {
5
- "type": "object",
6
- "properties": {
7
- "orgId": {
8
- "type": "string",
9
- "minLength": 1
10
- },
11
- "agentIds": {
12
- "type": "array",
13
- "items": {
14
- "type": "string",
15
- "minLength": 1
16
- },
17
- "minItems": 1
18
- },
19
- "callerId": {
20
- "type": "string",
21
- "minLength": 1
22
- },
23
- "principalId": {
24
- "type": "string"
25
- },
26
- "permissions": {
27
- "type": "array",
28
- "items": {
29
- "type": "string"
30
- }
31
- },
32
- "classificationCeiling": {
33
- "type": "string",
34
- "minLength": 1
35
- },
36
- "traceId": {
37
- "type": "string",
38
- "minLength": 1
39
- },
40
- "deadlineAt": {
41
- "type": "string",
42
- "format": "date-time"
43
- },
44
- "budgets": {
45
- "type": "object",
46
- "properties": {
47
- "maxWallTimeMs": {
48
- "type": "integer",
49
- "exclusiveMinimum": 0
50
- },
51
- "maxSdkCalls": {
52
- "type": "integer",
53
- "exclusiveMinimum": 0
54
- },
55
- "maxPages": {
56
- "type": "integer",
57
- "exclusiveMinimum": 0
58
- },
59
- "maxRecords": {
60
- "type": "integer",
61
- "exclusiveMinimum": 0
62
- },
63
- "maxBytes": {
64
- "type": "integer",
65
- "exclusiveMinimum": 0
66
- },
67
- "maxEvidenceItems": {
68
- "type": "integer",
69
- "exclusiveMinimum": 0
70
- },
71
- "maxRelationshipDepth": {
72
- "type": "integer",
73
- "minimum": 0
74
- },
75
- "maxReasoningRounds": {
76
- "type": "integer",
77
- "exclusiveMinimum": 0
78
- },
79
- "maxParallelCalls": {
80
- "type": "integer",
81
- "exclusiveMinimum": 0
82
- }
83
- },
84
- "required": [
85
- "maxWallTimeMs",
86
- "maxSdkCalls",
87
- "maxPages",
88
- "maxRecords",
89
- "maxBytes",
90
- "maxEvidenceItems",
91
- "maxRelationshipDepth",
92
- "maxReasoningRounds",
93
- "maxParallelCalls"
94
- ],
95
- "additionalProperties": false
96
- },
97
- "flags": {
98
- "type": "object",
99
- "properties": {
100
- "bagsOnly": {
101
- "type": "boolean"
102
- },
103
- "nexumExploreEnabled": {
104
- "type": "boolean"
105
- }
106
- },
107
- "required": [
108
- "bagsOnly",
109
- "nexumExploreEnabled"
110
- ],
111
- "additionalProperties": false
112
- }
113
- },
114
- "required": [
115
- "orgId",
116
- "agentIds",
117
- "callerId",
118
- "permissions",
119
- "classificationCeiling",
120
- "traceId",
121
- "deadlineAt",
122
- "budgets",
123
- "flags"
124
- ],
125
- "additionalProperties": false
126
- }
127
- },
128
- "$schema": "http://json-schema.org/draft-07/schema#"
129
- }
1
+ {
2
+ "$ref": "#/definitions/TrustedExecutionContext",
3
+ "definitions": {
4
+ "TrustedExecutionContext": {
5
+ "type": "object",
6
+ "properties": {
7
+ "orgId": {
8
+ "type": "string",
9
+ "minLength": 1
10
+ },
11
+ "agentIds": {
12
+ "type": "array",
13
+ "items": {
14
+ "type": "string",
15
+ "minLength": 1
16
+ },
17
+ "minItems": 1
18
+ },
19
+ "callerId": {
20
+ "type": "string",
21
+ "minLength": 1
22
+ },
23
+ "principalId": {
24
+ "type": "string"
25
+ },
26
+ "permissions": {
27
+ "type": "array",
28
+ "items": {
29
+ "type": "string"
30
+ }
31
+ },
32
+ "classificationCeiling": {
33
+ "type": "string",
34
+ "minLength": 1
35
+ },
36
+ "traceId": {
37
+ "type": "string",
38
+ "minLength": 1
39
+ },
40
+ "deadlineAt": {
41
+ "type": "string",
42
+ "format": "date-time"
43
+ },
44
+ "budgets": {
45
+ "type": "object",
46
+ "properties": {
47
+ "maxWallTimeMs": {
48
+ "type": "integer",
49
+ "exclusiveMinimum": 0
50
+ },
51
+ "maxSdkCalls": {
52
+ "type": "integer",
53
+ "exclusiveMinimum": 0
54
+ },
55
+ "maxPages": {
56
+ "type": "integer",
57
+ "exclusiveMinimum": 0
58
+ },
59
+ "maxRecords": {
60
+ "type": "integer",
61
+ "exclusiveMinimum": 0
62
+ },
63
+ "maxBytes": {
64
+ "type": "integer",
65
+ "exclusiveMinimum": 0
66
+ },
67
+ "maxEvidenceItems": {
68
+ "type": "integer",
69
+ "exclusiveMinimum": 0
70
+ },
71
+ "maxRelationshipDepth": {
72
+ "type": "integer",
73
+ "minimum": 0
74
+ },
75
+ "maxReasoningRounds": {
76
+ "type": "integer",
77
+ "exclusiveMinimum": 0
78
+ },
79
+ "maxParallelCalls": {
80
+ "type": "integer",
81
+ "exclusiveMinimum": 0
82
+ }
83
+ },
84
+ "required": [
85
+ "maxWallTimeMs",
86
+ "maxSdkCalls",
87
+ "maxPages",
88
+ "maxRecords",
89
+ "maxBytes",
90
+ "maxEvidenceItems",
91
+ "maxRelationshipDepth",
92
+ "maxReasoningRounds",
93
+ "maxParallelCalls"
94
+ ],
95
+ "additionalProperties": false
96
+ },
97
+ "flags": {
98
+ "type": "object",
99
+ "properties": {
100
+ "bagsOnly": {
101
+ "type": "boolean"
102
+ },
103
+ "nexumExploreEnabled": {
104
+ "type": "boolean"
105
+ }
106
+ },
107
+ "required": [
108
+ "bagsOnly",
109
+ "nexumExploreEnabled"
110
+ ],
111
+ "additionalProperties": false
112
+ }
113
+ },
114
+ "required": [
115
+ "orgId",
116
+ "agentIds",
117
+ "callerId",
118
+ "permissions",
119
+ "classificationCeiling",
120
+ "traceId",
121
+ "deadlineAt",
122
+ "budgets",
123
+ "flags"
124
+ ],
125
+ "additionalProperties": false
126
+ }
127
+ },
128
+ "$schema": "http://json-schema.org/draft-07/schema#"
129
+ }