@norskvideo/norsk-studio-alpha 1.27.0-2026-01-26-4bc5078b → 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 +1626 -1313
  2. package/client/style.css +6 -598
  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,393 @@
1
+ # This file has been generated, please edit types.source.yaml instead
2
+
3
+ openapi: 3.0.0
4
+ info:
5
+ title: Claude 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
+ ClaudeAgentConfig:
186
+ type: object
187
+ properties:
188
+ id:
189
+ type: string
190
+ displayName:
191
+ type: string
192
+ model:
193
+ type: string
194
+ description: Claude model (e.g., claude-sonnet-4-20250514,
195
+ claude-3-5-haiku-20241022)
196
+ systemPrompt:
197
+ type: string
198
+ description: Base instruction defining the agent's capabilities and behavior
199
+ mission:
200
+ type: string
201
+ description: The agent's ongoing task/goal for this workflow instance
202
+ initialPrompt:
203
+ type: string
204
+ description: Optional prompt to run on startup (after mission is set)
205
+ maxStepsPerInvocation:
206
+ type: number
207
+ description: Maximum tool calls per invocation (default 20)
208
+ notes:
209
+ type: string
210
+ required:
211
+ - id
212
+ - displayName
213
+ - systemPrompt
214
+ - mission
215
+ State:
216
+ type: object
217
+ properties:
218
+ status:
219
+ type: string
220
+ enum:
221
+ - idle
222
+ - thinking
223
+ - error
224
+ currentTask:
225
+ type: string
226
+ description: Current prompt/trigger being processed
227
+ activeTimerCount:
228
+ type: number
229
+ activeSubscriptionCount:
230
+ type: number
231
+ invocationCount:
232
+ type: number
233
+ description: Total invocations since start
234
+ lastActivity:
235
+ type: string
236
+ format: date-time
237
+ errorMessage:
238
+ type: string
239
+ Events:
240
+ oneOf:
241
+ - type: object
242
+ properties:
243
+ type:
244
+ enum:
245
+ - agent_invoked
246
+ trigger:
247
+ type: string
248
+ prompt:
249
+ type: string
250
+ required:
251
+ - type
252
+ - trigger
253
+ - prompt
254
+ - type: object
255
+ properties:
256
+ type:
257
+ enum:
258
+ - agent_completed
259
+ invocationId:
260
+ type: string
261
+ result:
262
+ type: string
263
+ toolsUsed:
264
+ type: array
265
+ items:
266
+ type: string
267
+ durationMs:
268
+ type: number
269
+ required:
270
+ - type
271
+ - invocationId
272
+ - result
273
+ - type: object
274
+ properties:
275
+ type:
276
+ enum:
277
+ - timer_set
278
+ timerId:
279
+ type: string
280
+ delayMs:
281
+ type: number
282
+ reason:
283
+ type: string
284
+ intervalMs:
285
+ type: number
286
+ description: If set, timer will auto-reschedule at this interval
287
+ required:
288
+ - type
289
+ - timerId
290
+ - delayMs
291
+ - reason
292
+ - type: object
293
+ properties:
294
+ type:
295
+ enum:
296
+ - timer_cancelled
297
+ timerId:
298
+ type: string
299
+ required:
300
+ - type
301
+ - timerId
302
+ - type: object
303
+ properties:
304
+ type:
305
+ enum:
306
+ - timer_fired
307
+ timerId:
308
+ type: string
309
+ reason:
310
+ type: string
311
+ required:
312
+ - type
313
+ - timerId
314
+ - reason
315
+ - type: object
316
+ properties:
317
+ type:
318
+ enum:
319
+ - subscription_added
320
+ subscriptionId:
321
+ type: string
322
+ componentId:
323
+ type: string
324
+ required:
325
+ - type
326
+ - subscriptionId
327
+ - componentId
328
+ - type: object
329
+ properties:
330
+ type:
331
+ enum:
332
+ - subscription_removed
333
+ subscriptionId:
334
+ type: string
335
+ required:
336
+ - type
337
+ - subscriptionId
338
+ - type: object
339
+ properties:
340
+ type:
341
+ enum:
342
+ - error_occurred
343
+ error:
344
+ type: string
345
+ required:
346
+ - type
347
+ - error
348
+ Commands:
349
+ oneOf:
350
+ - type: object
351
+ properties:
352
+ type:
353
+ enum:
354
+ - send_prompt
355
+ prompt:
356
+ type: string
357
+ required:
358
+ - type
359
+ - prompt
360
+ - type: object
361
+ properties:
362
+ type:
363
+ enum:
364
+ - cancel_current
365
+ required:
366
+ - type
367
+ - type: object
368
+ properties:
369
+ type:
370
+ enum:
371
+ - clear_memory
372
+ required:
373
+ - type
374
+ - type: object
375
+ properties:
376
+ type:
377
+ enum:
378
+ - clear_timers
379
+ required:
380
+ - type
381
+ - type: object
382
+ properties:
383
+ type:
384
+ enum:
385
+ - clear_subscriptions
386
+ required:
387
+ - type
388
+ AgentInvocation: *a1
389
+ TriggerContext: *a2
390
+ ToolCall: *a3
391
+ ActiveTimer: *a4
392
+ ActiveSubscription: *a5
393
+ SendPromptBody: *a6
@@ -0,0 +1,17 @@
1
+ import { components } from "./types";
2
+ import { schemas } from "./zod";
3
+ type Schema<T extends keyof typeof schemas> = {
4
+ schema: (typeof schemas)[T];
5
+ type: T extends keyof components["schemas"] ? components["schemas"][T] : unknown;
6
+ };
7
+ export declare const GeminiAgentConfig: Schema<"GeminiAgentConfig">;
8
+ export declare const State: Schema<"State">;
9
+ export declare const Events: Schema<"Events">;
10
+ export declare const Commands: Schema<"Commands">;
11
+ export declare const AgentInvocation: Schema<"AgentInvocation">;
12
+ export declare const TriggerContext: Schema<"TriggerContext">;
13
+ export declare const ToolCall: Schema<"ToolCall">;
14
+ export declare const ActiveTimer: Schema<"ActiveTimer">;
15
+ export declare const ActiveSubscription: Schema<"ActiveSubscription">;
16
+ export declare const SendPromptBody: Schema<"SendPromptBody">;
17
+ export {};
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SendPromptBody = exports.ActiveSubscription = exports.ActiveTimer = exports.ToolCall = exports.TriggerContext = exports.AgentInvocation = exports.Commands = exports.Events = exports.State = exports.GeminiAgentConfig = void 0;
4
+ const zod_1 = require("./zod");
5
+ function createSchema(name) {
6
+ return {
7
+ schema: zod_1.schemas[name],
8
+ type: {},
9
+ };
10
+ }
11
+ exports.GeminiAgentConfig = createSchema("GeminiAgentConfig");
12
+ exports.State = createSchema("State");
13
+ exports.Events = createSchema("Events");
14
+ exports.Commands = createSchema("Commands");
15
+ exports.AgentInvocation = createSchema("AgentInvocation");
16
+ exports.TriggerContext = createSchema("TriggerContext");
17
+ exports.ToolCall = createSchema("ToolCall");
18
+ exports.ActiveTimer = createSchema("ActiveTimer");
19
+ exports.ActiveSubscription = createSchema("ActiveSubscription");
20
+ exports.SendPromptBody = createSchema("SendPromptBody");
21
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/util.geminiAgent/_gen/schema.ts"],"names":[],"mappings":";;;AAKA,+BAAgC;AAOhC,SAAS,YAAY,CACnB,IAAO;IAEP,OAAO;QACL,MAAM,EAAE,aAAO,CAAC,IAAI,CAAC;QAErB,IAAI,EAAE,EAAgF;KACvF,CAAC;AACJ,CAAC;AAEY,QAAA,iBAAiB,GAAG,YAAY,CAAC,mBAAmB,CAAC,CAAC;AACtD,QAAA,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;AAC9B,QAAA,MAAM,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;AAChC,QAAA,QAAQ,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC;AACpC,QAAA,eAAe,GAAG,YAAY,CAAC,iBAAiB,CAAC,CAAC;AAClD,QAAA,cAAc,GAAG,YAAY,CAAC,gBAAgB,CAAC,CAAC;AAChD,QAAA,QAAQ,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC;AACpC,QAAA,WAAW,GAAG,YAAY,CAAC,aAAa,CAAC,CAAC;AAC1C,QAAA,kBAAkB,GAAG,YAAY,CAAC,oBAAoB,CAAC,CAAC;AACxD,QAAA,cAAc,GAAG,YAAY,CAAC,gBAAgB,CAAC,CAAC"}