@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
@@ -1,371 +0,0 @@
1
- /* AI Chat Component Styles */
2
- .util-aiChat {
3
- font-family: system-ui, -apple-system, sans-serif;
4
- height: 100%;
5
- display: flex;
6
- flex-direction: column;
7
- }
8
-
9
- .chat-container {
10
- display: flex;
11
- flex-direction: column;
12
- height: 500px;
13
- border: 1px solid #e5e7eb;
14
- border-radius: 8px;
15
- background: white;
16
- overflow: hidden;
17
- }
18
-
19
- /* Header */
20
- .chat-header {
21
- display: flex;
22
- justify-content: space-between;
23
- align-items: center;
24
- padding: 12px 16px;
25
- background: #f9fafb;
26
- border-bottom: 1px solid #e5e7eb;
27
- font-size: 14px;
28
- }
29
-
30
- .provider-info {
31
- display: flex;
32
- align-items: center;
33
- gap: 8px;
34
- }
35
-
36
- .provider-status {
37
- font-weight: 500;
38
- display: flex;
39
- align-items: center;
40
- gap: 4px;
41
- }
42
-
43
- .provider-status.available {
44
- color: #059669;
45
- }
46
-
47
- .provider-status.unavailable {
48
- color: #dc2626;
49
- }
50
-
51
- .error-indicator {
52
- cursor: help;
53
- color: #f59e0b;
54
- }
55
-
56
- .chat-controls {
57
- display: flex;
58
- gap: 8px;
59
- }
60
-
61
- .reset-button {
62
- padding: 4px 8px;
63
- font-size: 12px;
64
- background: #ef4444;
65
- color: white;
66
- border: none;
67
- border-radius: 4px;
68
- cursor: pointer;
69
- transition: background-color 0.2s;
70
- }
71
-
72
- .reset-button:hover:not(:disabled) {
73
- background: #dc2626;
74
- }
75
-
76
- .reset-button:disabled {
77
- background: #d1d5db;
78
- cursor: not-allowed;
79
- }
80
-
81
- /* Messages */
82
- .messages-container {
83
- flex: 1;
84
- overflow-y: auto;
85
- padding: 16px;
86
- display: flex;
87
- flex-direction: column;
88
- gap: 16px;
89
- }
90
-
91
- .system-notice {
92
- text-align: center;
93
- padding: 24px;
94
- color: #6b7280;
95
- }
96
-
97
- .notice-content h3 {
98
- margin: 0 0 8px 0;
99
- color: #374151;
100
- }
101
-
102
- .notice-content p {
103
- margin: 4px 0;
104
- }
105
-
106
- .notice-content code {
107
- background: #f3f4f6;
108
- padding: 2px 4px;
109
- border-radius: 3px;
110
- font-family: monospace;
111
- }
112
-
113
- .empty-state {
114
- text-align: center;
115
- color: #6b7280;
116
- padding: 24px;
117
- }
118
-
119
- .message {
120
- display: flex;
121
- flex-direction: column;
122
- gap: 4px;
123
- max-width: 80%;
124
- }
125
-
126
- .message.user {
127
- align-self: flex-end;
128
- align-items: flex-end;
129
- }
130
-
131
- .message.assistant {
132
- align-self: flex-start;
133
- align-items: flex-start;
134
- }
135
-
136
- .message.system {
137
- align-self: center;
138
- align-items: center;
139
- max-width: 90%;
140
- opacity: 0.7;
141
- font-style: italic;
142
- }
143
-
144
- .message-header {
145
- display: flex;
146
- align-items: center;
147
- gap: 8px;
148
- font-size: 12px;
149
- color: #6b7280;
150
- margin-bottom: 4px;
151
- }
152
-
153
- .message-role {
154
- font-weight: 600;
155
- text-transform: capitalize;
156
- }
157
-
158
- .message.user .message-role {
159
- color: #2563eb;
160
- }
161
-
162
- .message.assistant .message-role {
163
- color: #059669;
164
- }
165
-
166
- .message.system .message-role {
167
- color: #6b7280;
168
- }
169
-
170
- .message-time {
171
- font-size: 11px;
172
- }
173
-
174
- .message-content {
175
- padding: 12px 16px;
176
- border-radius: 16px;
177
- line-height: 1.5;
178
- word-wrap: break-word;
179
- white-space: pre-wrap;
180
- }
181
-
182
- .message.user .message-content {
183
- background: #2563eb;
184
- color: white;
185
- }
186
-
187
- .message.assistant .message-content {
188
- background: #f3f4f6;
189
- color: #374151;
190
- border: 1px solid #e5e7eb;
191
- }
192
-
193
- .message.system .message-content {
194
- background: #fef3c7;
195
- color: #92400e;
196
- border: 1px solid #fde68a;
197
- }
198
-
199
- .message.error .message-content {
200
- background: #fef2f2;
201
- color: #dc2626;
202
- border: 1px solid #fecaca;
203
- }
204
-
205
- .tool-calls {
206
- margin-top: 8px;
207
- padding: 8px;
208
- background: #f8fafc;
209
- border: 1px solid #e2e8f0;
210
- border-radius: 8px;
211
- font-size: 12px;
212
- }
213
-
214
- .tool-calls-header {
215
- font-weight: 600;
216
- color: #475569;
217
- margin-bottom: 6px;
218
- }
219
-
220
- .tool-call {
221
- margin-bottom: 6px;
222
- padding: 4px;
223
- background: white;
224
- border-radius: 4px;
225
- }
226
-
227
- .tool-name {
228
- font-weight: 600;
229
- color: #7c3aed;
230
- }
231
-
232
- .tool-args {
233
- margin: 4px 0 0 0;
234
- padding: 6px;
235
- background: #f1f5f9;
236
- border-radius: 3px;
237
- font-family: monospace;
238
- font-size: 11px;
239
- overflow-x: auto;
240
- }
241
-
242
- .message-error {
243
- margin-top: 4px;
244
- padding: 6px 8px;
245
- background: #fef2f2;
246
- color: #dc2626;
247
- border: 1px solid #fecaca;
248
- border-radius: 6px;
249
- font-size: 12px;
250
- }
251
-
252
- /* Thinking indicator */
253
- .thinking-indicator {
254
- align-self: flex-start;
255
- }
256
-
257
- .message.thinking .message-content {
258
- background: #f9fafb;
259
- border: 1px solid #e5e7eb;
260
- padding: 16px;
261
- }
262
-
263
- .typing-dots {
264
- display: flex;
265
- gap: 4px;
266
- align-items: center;
267
- }
268
-
269
- .typing-dots span {
270
- width: 6px;
271
- height: 6px;
272
- background: #6b7280;
273
- border-radius: 50%;
274
- animation: typing 1.4s infinite;
275
- }
276
-
277
- .typing-dots span:nth-child(2) {
278
- animation-delay: 0.2s;
279
- }
280
-
281
- .typing-dots span:nth-child(3) {
282
- animation-delay: 0.4s;
283
- }
284
-
285
- @keyframes typing {
286
- 0%, 60%, 100% {
287
- transform: translateY(0);
288
- opacity: 0.4;
289
- }
290
- 30% {
291
- transform: translateY(-10px);
292
- opacity: 1;
293
- }
294
- }
295
-
296
- /* Input */
297
- .chat-input-container {
298
- padding: 16px;
299
- border-top: 1px solid #e5e7eb;
300
- background: #f9fafb;
301
- }
302
-
303
- .input-wrapper {
304
- display: flex;
305
- gap: 8px;
306
- align-items: flex-end;
307
- }
308
-
309
- .message-input {
310
- flex: 1;
311
- min-height: 38px;
312
- max-height: 120px;
313
- padding: 8px 12px;
314
- border: 1px solid #d1d5db;
315
- border-radius: 20px;
316
- resize: none;
317
- font-family: inherit;
318
- font-size: 14px;
319
- line-height: 1.5;
320
- outline: none;
321
- transition: border-color 0.2s;
322
- }
323
-
324
- .message-input:focus {
325
- border-color: #2563eb;
326
- }
327
-
328
- .message-input:disabled {
329
- background: #f3f4f6;
330
- color: #9ca3af;
331
- cursor: not-allowed;
332
- }
333
-
334
- .send-button {
335
- padding: 8px 16px;
336
- background: #2563eb;
337
- color: white;
338
- border: none;
339
- border-radius: 20px;
340
- cursor: pointer;
341
- font-weight: 500;
342
- transition: background-color 0.2s;
343
- white-space: nowrap;
344
- }
345
-
346
- .send-button:hover:not(:disabled) {
347
- background: #1d4ed8;
348
- }
349
-
350
- .send-button:disabled {
351
- background: #d1d5db;
352
- cursor: not-allowed;
353
- }
354
-
355
- /* Scrollbar styling */
356
- .messages-container::-webkit-scrollbar {
357
- width: 6px;
358
- }
359
-
360
- .messages-container::-webkit-scrollbar-track {
361
- background: #f1f5f9;
362
- }
363
-
364
- .messages-container::-webkit-scrollbar-thumb {
365
- background: #cbd5e1;
366
- border-radius: 3px;
367
- }
368
-
369
- .messages-container::-webkit-scrollbar-thumb:hover {
370
- background: #94a3b8;
371
- }
@@ -1,13 +0,0 @@
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 AgentSettings: Schema<"AgentSettings">;
8
- export declare const AgentTask: Schema<"AgentTask">;
9
- export declare const AgentAction: Schema<"AgentAction">;
10
- export declare const AgentState: Schema<"AgentState">;
11
- export declare const AgentEvent: Schema<"AgentEvent">;
12
- export declare const AgentCommand: Schema<"AgentCommand">;
13
- export {};
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AgentCommand = exports.AgentEvent = exports.AgentState = exports.AgentAction = exports.AgentTask = exports.AgentSettings = 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.AgentSettings = createSchema("AgentSettings");
12
- exports.AgentTask = createSchema("AgentTask");
13
- exports.AgentAction = createSchema("AgentAction");
14
- exports.AgentState = createSchema("AgentState");
15
- exports.AgentEvent = createSchema("AgentEvent");
16
- exports.AgentCommand = createSchema("AgentCommand");
17
- //# sourceMappingURL=schema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/util.agent/_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,aAAa,GAAG,YAAY,CAAC,eAAe,CAAC,CAAC;AAC9C,QAAA,SAAS,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC;AACtC,QAAA,WAAW,GAAG,YAAY,CAAC,aAAa,CAAC,CAAC;AAC1C,QAAA,UAAU,GAAG,YAAY,CAAC,YAAY,CAAC,CAAC;AACxC,QAAA,UAAU,GAAG,YAAY,CAAC,YAAY,CAAC,CAAC;AACxC,QAAA,YAAY,GAAG,YAAY,CAAC,cAAc,CAAC,CAAC"}