@noetic-tools/core 2.0.0 → 2.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noetic-tools/core",
3
- "version": "2.0.0",
3
+ "version": "2.2.0",
4
4
  "type": "module",
5
5
  "description": "Step primitives, interpreter, runtime, and memory layer contract for Noetic agents.",
6
6
  "license": "Apache-2.0",
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "dependencies": {
69
69
  "@noetic-tools/memory": "^1.0.1",
70
- "@noetic-tools/types": "^1.1.0",
70
+ "@noetic-tools/types": "^1.3.0",
71
71
  "@openrouter/agent": "^0.6.0",
72
72
  "zod": "^4.0.0"
73
73
  },
@@ -41,7 +41,24 @@
41
41
  "tools": {
42
42
  "type": "array",
43
43
  "items": {
44
- "type": "string"
44
+ "type": "object",
45
+ "properties": {
46
+ "type": {
47
+ "type": "string",
48
+ "minLength": 1
49
+ },
50
+ "parameters": {
51
+ "type": "object",
52
+ "propertyNames": {
53
+ "type": "string"
54
+ },
55
+ "additionalProperties": {}
56
+ }
57
+ },
58
+ "required": [
59
+ "type"
60
+ ],
61
+ "additionalProperties": false
45
62
  }
46
63
  },
47
64
  "params": {
@@ -69,6 +86,24 @@
69
86
  }
70
87
  },
71
88
  "additionalProperties": false
89
+ },
90
+ "output": {
91
+ "type": "object",
92
+ "properties": {
93
+ "codec": {
94
+ "type": "string",
95
+ "const": "openui"
96
+ },
97
+ "library": {
98
+ "type": "string",
99
+ "minLength": 1
100
+ }
101
+ },
102
+ "required": [
103
+ "codec",
104
+ "library"
105
+ ],
106
+ "additionalProperties": false
72
107
  }
73
108
  },
74
109
  "required": [
@@ -108,6 +143,65 @@
108
143
  ],
109
144
  "additionalProperties": false
110
145
  },
146
+ {
147
+ "type": "object",
148
+ "properties": {
149
+ "kind": {
150
+ "type": "string",
151
+ "const": "run"
152
+ },
153
+ "id": {
154
+ "type": "string",
155
+ "minLength": 1
156
+ },
157
+ "execute": {
158
+ "type": "string",
159
+ "minLength": 1
160
+ },
161
+ "retry": {
162
+ "type": "object",
163
+ "properties": {
164
+ "maxAttempts": {
165
+ "type": "integer",
166
+ "exclusiveMinimum": 0,
167
+ "maximum": 9007199254740991
168
+ },
169
+ "backoff": {
170
+ "type": "string",
171
+ "enum": [
172
+ "fixed",
173
+ "linear",
174
+ "exponential"
175
+ ]
176
+ },
177
+ "initialDelay": {
178
+ "type": "number",
179
+ "minimum": 0
180
+ },
181
+ "maxDelay": {
182
+ "type": "number",
183
+ "minimum": 0
184
+ }
185
+ },
186
+ "required": [
187
+ "maxAttempts",
188
+ "backoff",
189
+ "initialDelay"
190
+ ],
191
+ "additionalProperties": false
192
+ },
193
+ "subprocess": {
194
+ "type": "string",
195
+ "minLength": 1
196
+ }
197
+ },
198
+ "required": [
199
+ "kind",
200
+ "id",
201
+ "execute"
202
+ ],
203
+ "additionalProperties": false
204
+ },
111
205
  {
112
206
  "type": "object",
113
207
  "properties": {
@@ -177,6 +271,13 @@
177
271
  "$ref": "#/$defs/WorkflowNode"
178
272
  }
179
273
  },
274
+ "each": {
275
+ "$ref": "#/$defs/WorkflowNode"
276
+ },
277
+ "over": {
278
+ "type": "string",
279
+ "minLength": 1
280
+ },
180
281
  "merge": {
181
282
  "type": "string",
182
283
  "enum": [
@@ -194,8 +295,7 @@
194
295
  "required": [
195
296
  "kind",
196
297
  "id",
197
- "mode",
198
- "paths"
298
+ "mode"
199
299
  ],
200
300
  "additionalProperties": false
201
301
  },