@norskvideo/norsk-studio-alpha 1.27.0-2026-01-25-4ad2ca43 → 1.27.0-2026-01-31-e37a5429

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 (103) hide show
  1. package/client/info.js +1630 -1316
  2. package/client/style.css +7 -599
  3. package/lib/info.js +6 -4
  4. package/lib/info.js.map +1 -1
  5. package/lib/processor.objectDetect/_gen/schema.d.ts +12 -0
  6. package/lib/processor.objectDetect/_gen/schema.js +16 -0
  7. package/lib/processor.objectDetect/_gen/schema.js.map +1 -0
  8. package/lib/processor.objectDetect/_gen/types.d.ts +49 -0
  9. package/lib/processor.objectDetect/_gen/types.js.map +1 -0
  10. package/lib/processor.objectDetect/_gen/zod.js +60 -0
  11. package/lib/processor.objectDetect/_gen/zod.js.map +1 -0
  12. package/lib/processor.objectDetect/info.d.ts +27 -0
  13. package/lib/processor.objectDetect/info.js +63 -0
  14. package/lib/processor.objectDetect/info.js.map +1 -0
  15. package/lib/processor.objectDetect/inline-view.d.ts +6 -0
  16. package/lib/processor.objectDetect/inline-view.js +41 -0
  17. package/lib/processor.objectDetect/inline-view.js.map +1 -0
  18. package/lib/processor.objectDetect/runtime.d.ts +28 -0
  19. package/lib/processor.objectDetect/runtime.js +112 -0
  20. package/lib/processor.objectDetect/runtime.js.map +1 -0
  21. package/lib/processor.objectDetect/types.yaml +78 -0
  22. package/lib/test/output.tams.js.map +1 -1
  23. package/lib/util.claudeAgent/_gen/schema.d.ts +17 -0
  24. package/lib/util.claudeAgent/_gen/schema.js +21 -0
  25. package/lib/util.claudeAgent/_gen/schema.js.map +1 -0
  26. package/lib/util.claudeAgent/_gen/types.d.ts +370 -0
  27. package/lib/util.claudeAgent/_gen/types.js.map +1 -0
  28. package/lib/util.claudeAgent/_gen/zod.js +147 -0
  29. package/lib/util.claudeAgent/_gen/zod.js.map +1 -0
  30. package/lib/util.claudeAgent/info.d.ts +63 -0
  31. package/lib/util.claudeAgent/info.js +131 -0
  32. package/lib/util.claudeAgent/info.js.map +1 -0
  33. package/lib/util.claudeAgent/runtime.d.ts +105 -0
  34. package/lib/util.claudeAgent/runtime.js +567 -0
  35. package/lib/util.claudeAgent/runtime.js.map +1 -0
  36. package/lib/util.claudeAgent/types.yaml +393 -0
  37. package/lib/util.geminiAgent/_gen/schema.d.ts +17 -0
  38. package/lib/util.geminiAgent/_gen/schema.js +21 -0
  39. package/lib/util.geminiAgent/_gen/schema.js.map +1 -0
  40. package/lib/util.geminiAgent/_gen/types.d.ts +370 -0
  41. package/lib/util.geminiAgent/_gen/types.js.map +1 -0
  42. package/lib/util.geminiAgent/_gen/zod.d.ts +2 -0
  43. package/lib/util.geminiAgent/_gen/zod.js +147 -0
  44. package/lib/util.geminiAgent/_gen/zod.js.map +1 -0
  45. package/lib/util.geminiAgent/info.d.ts +63 -0
  46. package/lib/util.geminiAgent/info.js +131 -0
  47. package/lib/util.geminiAgent/info.js.map +1 -0
  48. package/lib/util.geminiAgent/runtime.d.ts +107 -0
  49. package/lib/util.geminiAgent/runtime.js +621 -0
  50. package/lib/util.geminiAgent/runtime.js.map +1 -0
  51. package/lib/util.geminiAgent/types.yaml +392 -0
  52. package/package.json +24 -5
  53. package/client/util.aiChat/styles.css +0 -371
  54. package/lib/util.agent/_gen/schema.d.ts +0 -13
  55. package/lib/util.agent/_gen/schema.js +0 -17
  56. package/lib/util.agent/_gen/schema.js.map +0 -1
  57. package/lib/util.agent/_gen/types.d.ts +0 -343
  58. package/lib/util.agent/_gen/types.js.map +0 -1
  59. package/lib/util.agent/_gen/zod.js +0 -206
  60. package/lib/util.agent/_gen/zod.js.map +0 -1
  61. package/lib/util.agent/fullscreen-view.d.ts +0 -4
  62. package/lib/util.agent/fullscreen-view.js +0 -142
  63. package/lib/util.agent/fullscreen-view.js.map +0 -1
  64. package/lib/util.agent/info.d.ts +0 -126
  65. package/lib/util.agent/info.js +0 -141
  66. package/lib/util.agent/info.js.map +0 -1
  67. package/lib/util.agent/inline-view.d.ts +0 -6
  68. package/lib/util.agent/inline-view.js +0 -43
  69. package/lib/util.agent/inline-view.js.map +0 -1
  70. package/lib/util.agent/runtime.d.ts +0 -180
  71. package/lib/util.agent/runtime.js +0 -1254
  72. package/lib/util.agent/runtime.js.map +0 -1
  73. package/lib/util.agent/summary-view.d.ts +0 -4
  74. package/lib/util.agent/summary-view.js +0 -68
  75. package/lib/util.agent/summary-view.js.map +0 -1
  76. package/lib/util.agent/types.d.ts +0 -285
  77. package/lib/util.agent/types.js.map +0 -1
  78. package/lib/util.agent/types.yaml +0 -440
  79. package/lib/util.aiChat/_gen/schema.d.ts +0 -12
  80. package/lib/util.aiChat/_gen/schema.js +0 -16
  81. package/lib/util.aiChat/_gen/schema.js.map +0 -1
  82. package/lib/util.aiChat/_gen/types.d.ts +0 -98
  83. package/lib/util.aiChat/_gen/types.js.map +0 -1
  84. package/lib/util.aiChat/_gen/zod.js +0 -132
  85. package/lib/util.aiChat/_gen/zod.js.map +0 -1
  86. package/lib/util.aiChat/info.d.ts +0 -70
  87. package/lib/util.aiChat/info.js +0 -92
  88. package/lib/util.aiChat/info.js.map +0 -1
  89. package/lib/util.aiChat/runtime.d.ts +0 -32
  90. package/lib/util.aiChat/runtime.js +0 -304
  91. package/lib/util.aiChat/runtime.js.map +0 -1
  92. package/lib/util.aiChat/summary-view.d.ts +0 -7
  93. package/lib/util.aiChat/summary-view.js +0 -48
  94. package/lib/util.aiChat/summary-view.js.map +0 -1
  95. package/lib/util.aiChat/types.d.ts +0 -62
  96. package/lib/util.aiChat/types.js +0 -3
  97. package/lib/util.aiChat/types.js.map +0 -1
  98. package/lib/util.aiChat/types.yaml +0 -148
  99. /package/lib/{util.agent → processor.objectDetect}/_gen/types.js +0 -0
  100. /package/lib/{util.agent → processor.objectDetect}/_gen/zod.d.ts +0 -0
  101. /package/lib/{util.agent → util.claudeAgent/_gen}/types.js +0 -0
  102. /package/lib/{util.aiChat → util.claudeAgent}/_gen/zod.d.ts +0 -0
  103. /package/lib/{util.aiChat → util.geminiAgent}/_gen/types.js +0 -0
@@ -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: Gemini 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
+ GeminiAgentConfig:
186
+ type: object
187
+ properties:
188
+ id:
189
+ type: string
190
+ displayName:
191
+ type: string
192
+ model:
193
+ type: string
194
+ description: Gemini model (e.g., gemini-2.0-flash, gemini-2.5-pro)
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 10)
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-01-25-4ad2ca43",
3
+ "version": "1.27.0-2026-01-31-e37a5429",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "clean": "rm -rf lib client build .wireit && make clean",
@@ -161,19 +161,37 @@
161
161
  ],
162
162
  "license": "MIT",
163
163
  "dependencies": {
164
+ "@anthropic-ai/sdk": "^0.39.0",
164
165
  "@apidevtools/json-schema-ref-parser": "^12.0.1",
166
+ "@google-cloud/opentelemetry-cloud-monitoring-exporter": "^0.21.0",
167
+ "@google-cloud/opentelemetry-cloud-trace-exporter": "^3.0.0",
168
+ "@google-cloud/storage": "^7.18.0",
169
+ "@google/adk": "^0.2.5",
170
+ "@google/genai": "^1.38.0",
165
171
  "@norskvideo/norsk-player": "^1.0.4",
166
172
  "@norskvideo/norsk-player-react": "*",
167
- "@norskvideo/norsk-sdk": "^1.0.402-2026-01-25-b60b37a6",
168
- "@norskvideo/norsk-studio": "1.27.0-2026-01-25-4ad2ca43",
169
- "@norskvideo/norsk-studio-built-ins": "1.27.0-2026-01-25-4ad2ca43",
173
+ "@norskvideo/norsk-sdk": "^1.0.402-2026-01-31-8130a89b",
174
+ "@norskvideo/norsk-studio": "1.27.0-2026-01-31-e37a5429",
175
+ "@norskvideo/norsk-studio-built-ins": "1.27.0-2026-01-31-e37a5429",
170
176
  "@norskvideo/webrtc-client": "^0.1.2",
177
+ "@opentelemetry/api": "^1.9.0",
178
+ "@opentelemetry/api-logs": "^0.205.0",
179
+ "@opentelemetry/exporter-logs-otlp-http": "^0.205.0",
180
+ "@opentelemetry/exporter-metrics-otlp-http": "^0.205.0",
181
+ "@opentelemetry/exporter-trace-otlp-http": "^0.205.0",
182
+ "@opentelemetry/resource-detector-gcp": "^0.40.3",
183
+ "@opentelemetry/resources": "^2.5.0",
184
+ "@opentelemetry/sdk-logs": "^0.205.0",
185
+ "@opentelemetry/sdk-metrics": "^2.5.0",
186
+ "@opentelemetry/sdk-trace-base": "^2.5.0",
187
+ "@opentelemetry/sdk-trace-node": "^2.5.0",
171
188
  "@react-icons/all-files": "^4.1.0",
172
189
  "chart.js": "^4.4.2",
173
190
  "express": "^4.18.2",
174
191
  "hls.js": "^1.5.8",
175
192
  "json-refs": "^3.0.15",
176
193
  "JSX": "^1.1.0",
194
+ "lodash-es": "^4.17.23",
177
195
  "media-chrome": "^4.5.0",
178
196
  "node-fetch": "^2.7.0",
179
197
  "openapi-types": "^12.1.3",
@@ -181,11 +199,12 @@
181
199
  "react-dom": "^19.0.0",
182
200
  "react-select": "^5.7.0",
183
201
  "yaml": "^2.3.3",
184
- "zod": "^3.22.4"
202
+ "zod": "^3.25.76"
185
203
  },
186
204
  "main": "lib/index.js",
187
205
  "devDependencies": {
188
206
  "@types/chai": "^4.3.11",
207
+ "@types/lodash-es": "^4.17.12",
189
208
  "@types/mocha": "^10.0.6",
190
209
  "@types/node-fetch": "^2.6.13",
191
210
  "@types/react": "^19.0.10",