@norskvideo/norsk-studio-alpha 1.27.0-2026-01-31-e37a5429 → 1.27.0-2026-02-02-24ae15e8
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/client/info.js +145 -11
- package/lib/info.js +3 -1
- package/lib/info.js.map +1 -1
- package/lib/util.openaiAgent/_gen/schema.d.ts +17 -0
- package/lib/util.openaiAgent/_gen/schema.js +21 -0
- package/lib/util.openaiAgent/_gen/schema.js.map +1 -0
- package/lib/util.openaiAgent/_gen/types.d.ts +370 -0
- package/lib/util.openaiAgent/_gen/types.js +3 -0
- package/lib/util.openaiAgent/_gen/types.js.map +1 -0
- package/lib/util.openaiAgent/_gen/zod.d.ts +2 -0
- package/lib/util.openaiAgent/_gen/zod.js +147 -0
- package/lib/util.openaiAgent/_gen/zod.js.map +1 -0
- package/lib/util.openaiAgent/info.d.ts +63 -0
- package/lib/util.openaiAgent/info.js +133 -0
- package/lib/util.openaiAgent/info.js.map +1 -0
- package/lib/util.openaiAgent/runtime.d.ts +103 -0
- package/lib/util.openaiAgent/runtime.js +545 -0
- package/lib/util.openaiAgent/runtime.js.map +1 -0
- package/lib/util.openaiAgent/types.yaml +392 -0
- package/package.json +5 -4
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
# This file has been generated, please edit types.source.yaml instead
|
|
2
|
+
|
|
3
|
+
openapi: 3.0.0
|
|
4
|
+
info:
|
|
5
|
+
title: OpenAI Agent
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
paths:
|
|
8
|
+
/invocations:
|
|
9
|
+
get:
|
|
10
|
+
summary: Get recent invocation history with full tool call details
|
|
11
|
+
operationId: getInvocations
|
|
12
|
+
x-route-type: instance
|
|
13
|
+
responses:
|
|
14
|
+
"200":
|
|
15
|
+
description: List of recent invocations
|
|
16
|
+
content:
|
|
17
|
+
application/json:
|
|
18
|
+
schema:
|
|
19
|
+
type: array
|
|
20
|
+
items: &a1
|
|
21
|
+
type: object
|
|
22
|
+
properties:
|
|
23
|
+
id:
|
|
24
|
+
type: string
|
|
25
|
+
timestamp:
|
|
26
|
+
type: string
|
|
27
|
+
format: date-time
|
|
28
|
+
trigger: &a2
|
|
29
|
+
type: object
|
|
30
|
+
properties:
|
|
31
|
+
type:
|
|
32
|
+
type: string
|
|
33
|
+
enum:
|
|
34
|
+
- user_command
|
|
35
|
+
- timer
|
|
36
|
+
- component_event
|
|
37
|
+
source:
|
|
38
|
+
type: string
|
|
39
|
+
details:
|
|
40
|
+
type: object
|
|
41
|
+
additionalProperties: true
|
|
42
|
+
required:
|
|
43
|
+
- type
|
|
44
|
+
prompt:
|
|
45
|
+
type: string
|
|
46
|
+
toolCalls:
|
|
47
|
+
type: array
|
|
48
|
+
items: &a3
|
|
49
|
+
type: object
|
|
50
|
+
properties:
|
|
51
|
+
toolName:
|
|
52
|
+
type: string
|
|
53
|
+
args:
|
|
54
|
+
type: object
|
|
55
|
+
additionalProperties: true
|
|
56
|
+
result:
|
|
57
|
+
type: string
|
|
58
|
+
success:
|
|
59
|
+
type: boolean
|
|
60
|
+
timestamp:
|
|
61
|
+
type: string
|
|
62
|
+
format: date-time
|
|
63
|
+
required:
|
|
64
|
+
- toolName
|
|
65
|
+
- timestamp
|
|
66
|
+
result:
|
|
67
|
+
type: string
|
|
68
|
+
durationMs:
|
|
69
|
+
type: number
|
|
70
|
+
required:
|
|
71
|
+
- id
|
|
72
|
+
- timestamp
|
|
73
|
+
- trigger
|
|
74
|
+
- prompt
|
|
75
|
+
/timers:
|
|
76
|
+
get:
|
|
77
|
+
summary: Get active timers with reasons and fire times
|
|
78
|
+
operationId: getTimers
|
|
79
|
+
x-route-type: instance
|
|
80
|
+
responses:
|
|
81
|
+
"200":
|
|
82
|
+
description: List of active timers
|
|
83
|
+
content:
|
|
84
|
+
application/json:
|
|
85
|
+
schema:
|
|
86
|
+
type: array
|
|
87
|
+
items: &a4
|
|
88
|
+
type: object
|
|
89
|
+
properties:
|
|
90
|
+
id:
|
|
91
|
+
type: string
|
|
92
|
+
reason:
|
|
93
|
+
type: string
|
|
94
|
+
firesAt:
|
|
95
|
+
type: string
|
|
96
|
+
format: date-time
|
|
97
|
+
remainingMs:
|
|
98
|
+
type: number
|
|
99
|
+
intervalMs:
|
|
100
|
+
type: number
|
|
101
|
+
description: If set, timer will auto-reschedule at this interval
|
|
102
|
+
required:
|
|
103
|
+
- id
|
|
104
|
+
- reason
|
|
105
|
+
- firesAt
|
|
106
|
+
/subscriptions:
|
|
107
|
+
get:
|
|
108
|
+
summary: Get active event subscriptions
|
|
109
|
+
operationId: getSubscriptions
|
|
110
|
+
x-route-type: instance
|
|
111
|
+
responses:
|
|
112
|
+
"200":
|
|
113
|
+
description: List of active subscriptions
|
|
114
|
+
content:
|
|
115
|
+
application/json:
|
|
116
|
+
schema:
|
|
117
|
+
type: array
|
|
118
|
+
items: &a5
|
|
119
|
+
type: object
|
|
120
|
+
properties:
|
|
121
|
+
id:
|
|
122
|
+
type: string
|
|
123
|
+
componentId:
|
|
124
|
+
type: string
|
|
125
|
+
subscribedAt:
|
|
126
|
+
type: string
|
|
127
|
+
format: date-time
|
|
128
|
+
eventTypes:
|
|
129
|
+
type: array
|
|
130
|
+
items:
|
|
131
|
+
type: string
|
|
132
|
+
description: If specified, only events with these types will be forwarded
|
|
133
|
+
required:
|
|
134
|
+
- id
|
|
135
|
+
- componentId
|
|
136
|
+
- subscribedAt
|
|
137
|
+
/memory:
|
|
138
|
+
get:
|
|
139
|
+
summary: Get current working memory contents
|
|
140
|
+
operationId: getMemory
|
|
141
|
+
x-route-type: instance
|
|
142
|
+
responses:
|
|
143
|
+
"200":
|
|
144
|
+
description: Working memory contents
|
|
145
|
+
content:
|
|
146
|
+
application/json:
|
|
147
|
+
schema:
|
|
148
|
+
type: object
|
|
149
|
+
additionalProperties: true
|
|
150
|
+
delete:
|
|
151
|
+
summary: Clear working memory
|
|
152
|
+
operationId: clearMemory
|
|
153
|
+
x-route-type: instance
|
|
154
|
+
responses:
|
|
155
|
+
"204":
|
|
156
|
+
description: Memory cleared
|
|
157
|
+
/prompt:
|
|
158
|
+
post:
|
|
159
|
+
summary: Send a prompt to the agent
|
|
160
|
+
operationId: sendPrompt
|
|
161
|
+
x-route-type: instance
|
|
162
|
+
requestBody:
|
|
163
|
+
required: true
|
|
164
|
+
content:
|
|
165
|
+
application/json:
|
|
166
|
+
schema: &a6
|
|
167
|
+
type: object
|
|
168
|
+
properties:
|
|
169
|
+
prompt:
|
|
170
|
+
type: string
|
|
171
|
+
required:
|
|
172
|
+
- prompt
|
|
173
|
+
responses:
|
|
174
|
+
"200":
|
|
175
|
+
description: Prompt accepted
|
|
176
|
+
content:
|
|
177
|
+
application/json:
|
|
178
|
+
schema:
|
|
179
|
+
type: object
|
|
180
|
+
properties:
|
|
181
|
+
invocationId:
|
|
182
|
+
type: string
|
|
183
|
+
components:
|
|
184
|
+
schemas:
|
|
185
|
+
OpenAIAgentConfig:
|
|
186
|
+
type: object
|
|
187
|
+
properties:
|
|
188
|
+
id:
|
|
189
|
+
type: string
|
|
190
|
+
displayName:
|
|
191
|
+
type: string
|
|
192
|
+
model:
|
|
193
|
+
type: string
|
|
194
|
+
description: OpenAI model (e.g., gpt-4o, gpt-4o-mini, o1, o3-mini)
|
|
195
|
+
systemPrompt:
|
|
196
|
+
type: string
|
|
197
|
+
description: Base instruction defining the agent's capabilities and behavior
|
|
198
|
+
mission:
|
|
199
|
+
type: string
|
|
200
|
+
description: The agent's ongoing task/goal for this workflow instance
|
|
201
|
+
initialPrompt:
|
|
202
|
+
type: string
|
|
203
|
+
description: Optional prompt to run on startup (after mission is set)
|
|
204
|
+
maxStepsPerInvocation:
|
|
205
|
+
type: number
|
|
206
|
+
description: Maximum tool calls per invocation (default 20)
|
|
207
|
+
notes:
|
|
208
|
+
type: string
|
|
209
|
+
required:
|
|
210
|
+
- id
|
|
211
|
+
- displayName
|
|
212
|
+
- systemPrompt
|
|
213
|
+
- mission
|
|
214
|
+
State:
|
|
215
|
+
type: object
|
|
216
|
+
properties:
|
|
217
|
+
status:
|
|
218
|
+
type: string
|
|
219
|
+
enum:
|
|
220
|
+
- idle
|
|
221
|
+
- thinking
|
|
222
|
+
- error
|
|
223
|
+
currentTask:
|
|
224
|
+
type: string
|
|
225
|
+
description: Current prompt/trigger being processed
|
|
226
|
+
activeTimerCount:
|
|
227
|
+
type: number
|
|
228
|
+
activeSubscriptionCount:
|
|
229
|
+
type: number
|
|
230
|
+
invocationCount:
|
|
231
|
+
type: number
|
|
232
|
+
description: Total invocations since start
|
|
233
|
+
lastActivity:
|
|
234
|
+
type: string
|
|
235
|
+
format: date-time
|
|
236
|
+
errorMessage:
|
|
237
|
+
type: string
|
|
238
|
+
Events:
|
|
239
|
+
oneOf:
|
|
240
|
+
- type: object
|
|
241
|
+
properties:
|
|
242
|
+
type:
|
|
243
|
+
enum:
|
|
244
|
+
- agent_invoked
|
|
245
|
+
trigger:
|
|
246
|
+
type: string
|
|
247
|
+
prompt:
|
|
248
|
+
type: string
|
|
249
|
+
required:
|
|
250
|
+
- type
|
|
251
|
+
- trigger
|
|
252
|
+
- prompt
|
|
253
|
+
- type: object
|
|
254
|
+
properties:
|
|
255
|
+
type:
|
|
256
|
+
enum:
|
|
257
|
+
- agent_completed
|
|
258
|
+
invocationId:
|
|
259
|
+
type: string
|
|
260
|
+
result:
|
|
261
|
+
type: string
|
|
262
|
+
toolsUsed:
|
|
263
|
+
type: array
|
|
264
|
+
items:
|
|
265
|
+
type: string
|
|
266
|
+
durationMs:
|
|
267
|
+
type: number
|
|
268
|
+
required:
|
|
269
|
+
- type
|
|
270
|
+
- invocationId
|
|
271
|
+
- result
|
|
272
|
+
- type: object
|
|
273
|
+
properties:
|
|
274
|
+
type:
|
|
275
|
+
enum:
|
|
276
|
+
- timer_set
|
|
277
|
+
timerId:
|
|
278
|
+
type: string
|
|
279
|
+
delayMs:
|
|
280
|
+
type: number
|
|
281
|
+
reason:
|
|
282
|
+
type: string
|
|
283
|
+
intervalMs:
|
|
284
|
+
type: number
|
|
285
|
+
description: If set, timer will auto-reschedule at this interval
|
|
286
|
+
required:
|
|
287
|
+
- type
|
|
288
|
+
- timerId
|
|
289
|
+
- delayMs
|
|
290
|
+
- reason
|
|
291
|
+
- type: object
|
|
292
|
+
properties:
|
|
293
|
+
type:
|
|
294
|
+
enum:
|
|
295
|
+
- timer_cancelled
|
|
296
|
+
timerId:
|
|
297
|
+
type: string
|
|
298
|
+
required:
|
|
299
|
+
- type
|
|
300
|
+
- timerId
|
|
301
|
+
- type: object
|
|
302
|
+
properties:
|
|
303
|
+
type:
|
|
304
|
+
enum:
|
|
305
|
+
- timer_fired
|
|
306
|
+
timerId:
|
|
307
|
+
type: string
|
|
308
|
+
reason:
|
|
309
|
+
type: string
|
|
310
|
+
required:
|
|
311
|
+
- type
|
|
312
|
+
- timerId
|
|
313
|
+
- reason
|
|
314
|
+
- type: object
|
|
315
|
+
properties:
|
|
316
|
+
type:
|
|
317
|
+
enum:
|
|
318
|
+
- subscription_added
|
|
319
|
+
subscriptionId:
|
|
320
|
+
type: string
|
|
321
|
+
componentId:
|
|
322
|
+
type: string
|
|
323
|
+
required:
|
|
324
|
+
- type
|
|
325
|
+
- subscriptionId
|
|
326
|
+
- componentId
|
|
327
|
+
- type: object
|
|
328
|
+
properties:
|
|
329
|
+
type:
|
|
330
|
+
enum:
|
|
331
|
+
- subscription_removed
|
|
332
|
+
subscriptionId:
|
|
333
|
+
type: string
|
|
334
|
+
required:
|
|
335
|
+
- type
|
|
336
|
+
- subscriptionId
|
|
337
|
+
- type: object
|
|
338
|
+
properties:
|
|
339
|
+
type:
|
|
340
|
+
enum:
|
|
341
|
+
- error_occurred
|
|
342
|
+
error:
|
|
343
|
+
type: string
|
|
344
|
+
required:
|
|
345
|
+
- type
|
|
346
|
+
- error
|
|
347
|
+
Commands:
|
|
348
|
+
oneOf:
|
|
349
|
+
- type: object
|
|
350
|
+
properties:
|
|
351
|
+
type:
|
|
352
|
+
enum:
|
|
353
|
+
- send_prompt
|
|
354
|
+
prompt:
|
|
355
|
+
type: string
|
|
356
|
+
required:
|
|
357
|
+
- type
|
|
358
|
+
- prompt
|
|
359
|
+
- type: object
|
|
360
|
+
properties:
|
|
361
|
+
type:
|
|
362
|
+
enum:
|
|
363
|
+
- cancel_current
|
|
364
|
+
required:
|
|
365
|
+
- type
|
|
366
|
+
- type: object
|
|
367
|
+
properties:
|
|
368
|
+
type:
|
|
369
|
+
enum:
|
|
370
|
+
- clear_memory
|
|
371
|
+
required:
|
|
372
|
+
- type
|
|
373
|
+
- type: object
|
|
374
|
+
properties:
|
|
375
|
+
type:
|
|
376
|
+
enum:
|
|
377
|
+
- clear_timers
|
|
378
|
+
required:
|
|
379
|
+
- type
|
|
380
|
+
- type: object
|
|
381
|
+
properties:
|
|
382
|
+
type:
|
|
383
|
+
enum:
|
|
384
|
+
- clear_subscriptions
|
|
385
|
+
required:
|
|
386
|
+
- type
|
|
387
|
+
AgentInvocation: *a1
|
|
388
|
+
TriggerContext: *a2
|
|
389
|
+
ToolCall: *a3
|
|
390
|
+
ActiveTimer: *a4
|
|
391
|
+
ActiveSubscription: *a5
|
|
392
|
+
SendPromptBody: *a6
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@norskvideo/norsk-studio-alpha",
|
|
3
|
-
"version": "1.27.0-2026-
|
|
3
|
+
"version": "1.27.0-2026-02-02-24ae15e8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rm -rf lib client build .wireit && make clean",
|
|
@@ -170,10 +170,11 @@
|
|
|
170
170
|
"@google/genai": "^1.38.0",
|
|
171
171
|
"@norskvideo/norsk-player": "^1.0.4",
|
|
172
172
|
"@norskvideo/norsk-player-react": "*",
|
|
173
|
-
"@norskvideo/norsk-sdk": "^1.0.402-2026-
|
|
174
|
-
"@norskvideo/norsk-studio": "1.27.0-2026-
|
|
175
|
-
"@norskvideo/norsk-studio-built-ins": "1.27.0-2026-
|
|
173
|
+
"@norskvideo/norsk-sdk": "^1.0.402-2026-02-02-5948444e",
|
|
174
|
+
"@norskvideo/norsk-studio": "1.27.0-2026-02-02-24ae15e8",
|
|
175
|
+
"@norskvideo/norsk-studio-built-ins": "1.27.0-2026-02-02-24ae15e8",
|
|
176
176
|
"@norskvideo/webrtc-client": "^0.1.2",
|
|
177
|
+
"@openai/agents": "^0.4.4",
|
|
177
178
|
"@opentelemetry/api": "^1.9.0",
|
|
178
179
|
"@opentelemetry/api-logs": "^0.205.0",
|
|
179
180
|
"@opentelemetry/exporter-logs-otlp-http": "^0.205.0",
|