@principal-ai/control-tower-core 0.2.1 → 0.2.2
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/dist/generated/client-connection-auth.types.d.ts +312 -0
- package/dist/generated/client-connection-auth.types.d.ts.map +1 -0
- package/dist/generated/client-connection-auth.types.js +11 -0
- package/dist/generated/control-tower-execution.types.d.ts +445 -0
- package/dist/generated/control-tower-execution.types.d.ts.map +1 -0
- package/dist/generated/control-tower-execution.types.js +11 -0
- package/dist/index.js.map +3 -3
- package/dist/index.mjs +39 -6
- package/dist/index.mjs.map +3 -3
- package/dist/server/BaseServer.d.ts +22 -2
- package/dist/server/BaseServer.d.ts.map +1 -1
- package/dist/server/BaseServer.js +63 -8
- package/dist/telemetry/EventValidationIntegration.d.ts +135 -0
- package/dist/telemetry/EventValidationIntegration.d.ts.map +1 -0
- package/dist/telemetry/EventValidationIntegration.js +253 -0
- package/dist/telemetry/EventValidationIntegration.test.d.ts +7 -0
- package/dist/telemetry/EventValidationIntegration.test.d.ts.map +1 -0
- package/dist/telemetry/EventValidationIntegration.test.js +322 -0
- package/dist/telemetry/TelemetryCapture.d.ts +268 -0
- package/dist/telemetry/TelemetryCapture.d.ts.map +1 -0
- package/dist/telemetry/TelemetryCapture.js +263 -0
- package/dist/telemetry/TelemetryCapture.test.d.ts +7 -0
- package/dist/telemetry/TelemetryCapture.test.d.ts.map +1 -0
- package/dist/telemetry/TelemetryCapture.test.js +396 -0
- package/dist/telemetry-example.d.ts +33 -0
- package/dist/telemetry-example.d.ts.map +1 -0
- package/dist/telemetry-example.js +124 -0
- package/package.json +1 -1
- package/dist/adapters/websocket/WebSocketTransportAdapter.d.ts +0 -60
- package/dist/adapters/websocket/WebSocketTransportAdapter.d.ts.map +0 -1
- package/dist/adapters/websocket/WebSocketTransportAdapter.js +0 -386
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated types from canvas: Control Tower Execution
|
|
3
|
+
*
|
|
4
|
+
* DO NOT EDIT MANUALLY - This file is auto-generated
|
|
5
|
+
* Generated by @principal-ai/principal-view-core
|
|
6
|
+
*
|
|
7
|
+
* Canvas: Event flow for Control Tower real-time collaboration server
|
|
8
|
+
* Version: 1.0.0
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Event types for node: message-handler
|
|
12
|
+
*/
|
|
13
|
+
export declare namespace MessageHandler {
|
|
14
|
+
/**
|
|
15
|
+
* Raw message received from client
|
|
16
|
+
*/
|
|
17
|
+
interface MessageReceived {
|
|
18
|
+
name: 'message.received';
|
|
19
|
+
attributes: {
|
|
20
|
+
/** Client identifier */
|
|
21
|
+
'client.id': string;
|
|
22
|
+
/** Message type (authenticate, join_room, broadcast_event, etc.) */
|
|
23
|
+
'message.type': string;
|
|
24
|
+
/** Message payload size in bytes */
|
|
25
|
+
'message.size'?: number;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Message passed schema validation
|
|
30
|
+
*/
|
|
31
|
+
interface MessageValidated {
|
|
32
|
+
name: 'message.validated';
|
|
33
|
+
attributes: {
|
|
34
|
+
'client.id': string;
|
|
35
|
+
'message.type': string;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Message failed schema validation
|
|
40
|
+
*/
|
|
41
|
+
interface MessageValidation_failed {
|
|
42
|
+
name: 'message.validation_failed';
|
|
43
|
+
attributes: {
|
|
44
|
+
'client.id': string;
|
|
45
|
+
'message.type': string;
|
|
46
|
+
/** Validation error description */
|
|
47
|
+
'error.message': string;
|
|
48
|
+
/** Field that failed validation */
|
|
49
|
+
'error.field'?: string;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Union of all event types for message-handler
|
|
54
|
+
*/
|
|
55
|
+
type Event = MessageReceived | MessageValidated | MessageValidation_failed;
|
|
56
|
+
/**
|
|
57
|
+
* Literal union of event names for message-handler
|
|
58
|
+
*/
|
|
59
|
+
type EventName = 'message.received' | 'message.validated' | 'message.validation_failed';
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Event types for node: client-lifecycle
|
|
63
|
+
*/
|
|
64
|
+
export declare namespace ClientLifecycle {
|
|
65
|
+
/**
|
|
66
|
+
* Client established connection
|
|
67
|
+
*/
|
|
68
|
+
interface ClientConnected {
|
|
69
|
+
name: 'client.connected';
|
|
70
|
+
attributes: {
|
|
71
|
+
/** Unique client identifier */
|
|
72
|
+
'client.id': string;
|
|
73
|
+
/** Transport adapter type (websocket, webrtc, mock) */
|
|
74
|
+
'transport.type': string;
|
|
75
|
+
/** Timestamp of connection */
|
|
76
|
+
'connection.time': number;
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Client successfully authenticated
|
|
81
|
+
*/
|
|
82
|
+
interface ClientAuthenticated {
|
|
83
|
+
name: 'client.authenticated';
|
|
84
|
+
attributes: {
|
|
85
|
+
'client.id': string;
|
|
86
|
+
/** Authenticated user identifier */
|
|
87
|
+
'user.id': string;
|
|
88
|
+
/** Authentication method used */
|
|
89
|
+
'auth.method'?: string;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Client authentication failed
|
|
94
|
+
*/
|
|
95
|
+
interface ClientAuthentication_failed {
|
|
96
|
+
name: 'client.authentication_failed';
|
|
97
|
+
attributes: {
|
|
98
|
+
'client.id': string;
|
|
99
|
+
/** Reason for authentication failure */
|
|
100
|
+
'error.reason': string;
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Client connection terminated
|
|
105
|
+
*/
|
|
106
|
+
interface ClientDisconnected {
|
|
107
|
+
name: 'client.disconnected';
|
|
108
|
+
attributes: {
|
|
109
|
+
'client.id': string;
|
|
110
|
+
/** Reason for disconnection */
|
|
111
|
+
'disconnect.reason'?: string;
|
|
112
|
+
/** Session duration in milliseconds */
|
|
113
|
+
'session.duration'?: number;
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Union of all event types for client-lifecycle
|
|
118
|
+
*/
|
|
119
|
+
type Event = ClientConnected | ClientAuthenticated | ClientAuthentication_failed | ClientDisconnected;
|
|
120
|
+
/**
|
|
121
|
+
* Literal union of event names for client-lifecycle
|
|
122
|
+
*/
|
|
123
|
+
type EventName = 'client.connected' | 'client.authenticated' | 'client.authentication_failed' | 'client.disconnected';
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Event types for node: room-manager
|
|
127
|
+
*/
|
|
128
|
+
export declare namespace RoomManager {
|
|
129
|
+
/**
|
|
130
|
+
* New room created
|
|
131
|
+
*/
|
|
132
|
+
interface RoomCreated {
|
|
133
|
+
name: 'room.created';
|
|
134
|
+
attributes: {
|
|
135
|
+
/** Unique room identifier */
|
|
136
|
+
'room.id': string;
|
|
137
|
+
/** Client that created the room */
|
|
138
|
+
'creator.id'?: string;
|
|
139
|
+
/** Maximum event history size */
|
|
140
|
+
'config.max_events'?: number;
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Client joined a room
|
|
145
|
+
*/
|
|
146
|
+
interface RoomClient_joined {
|
|
147
|
+
name: 'room.client_joined';
|
|
148
|
+
attributes: {
|
|
149
|
+
'room.id': string;
|
|
150
|
+
'client.id': string;
|
|
151
|
+
/** Total clients in room after join */
|
|
152
|
+
'room.client_count': number;
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Client left a room
|
|
157
|
+
*/
|
|
158
|
+
interface RoomClient_left {
|
|
159
|
+
name: 'room.client_left';
|
|
160
|
+
attributes: {
|
|
161
|
+
'room.id': string;
|
|
162
|
+
'client.id': string;
|
|
163
|
+
/** Total clients in room after leave */
|
|
164
|
+
'room.client_count': number;
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Room deleted
|
|
169
|
+
*/
|
|
170
|
+
interface RoomDeleted {
|
|
171
|
+
name: 'room.deleted';
|
|
172
|
+
attributes: {
|
|
173
|
+
'room.id': string;
|
|
174
|
+
/** Reason for deletion (empty, manual, timeout) */
|
|
175
|
+
'delete.reason'?: string;
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Room state serialized for client
|
|
180
|
+
*/
|
|
181
|
+
interface RoomState_serialized {
|
|
182
|
+
name: 'room.state_serialized';
|
|
183
|
+
attributes: {
|
|
184
|
+
'room.id': string;
|
|
185
|
+
'client.id': string;
|
|
186
|
+
/** Number of events in history */
|
|
187
|
+
'state.event_count': number;
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Union of all event types for room-manager
|
|
192
|
+
*/
|
|
193
|
+
type Event = RoomCreated | RoomClient_joined | RoomClient_left | RoomDeleted | RoomState_serialized;
|
|
194
|
+
/**
|
|
195
|
+
* Literal union of event names for room-manager
|
|
196
|
+
*/
|
|
197
|
+
type EventName = 'room.created' | 'room.client_joined' | 'room.client_left' | 'room.deleted' | 'room.state_serialized';
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Event types for node: event-broadcaster
|
|
201
|
+
*/
|
|
202
|
+
export declare namespace EventBroadcaster {
|
|
203
|
+
/**
|
|
204
|
+
* Event received for broadcasting
|
|
205
|
+
*/
|
|
206
|
+
interface EventReceived {
|
|
207
|
+
name: 'event.received';
|
|
208
|
+
attributes: {
|
|
209
|
+
'room.id': string;
|
|
210
|
+
/** Type of event (file_change, commit, cursor_position, etc.) */
|
|
211
|
+
'event.type': string;
|
|
212
|
+
/** Client that sent the event */
|
|
213
|
+
'from.client_id': string;
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Event broadcast to room members
|
|
218
|
+
*/
|
|
219
|
+
interface EventBroadcast {
|
|
220
|
+
name: 'event.broadcast';
|
|
221
|
+
attributes: {
|
|
222
|
+
'room.id': string;
|
|
223
|
+
'event.type': string;
|
|
224
|
+
/** Number of recipients */
|
|
225
|
+
'recipient.count': number;
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Event added to room history
|
|
230
|
+
*/
|
|
231
|
+
interface EventHistory_added {
|
|
232
|
+
name: 'event.history_added';
|
|
233
|
+
attributes: {
|
|
234
|
+
'room.id': string;
|
|
235
|
+
'event.type': string;
|
|
236
|
+
/** Current history size */
|
|
237
|
+
'history.size': number;
|
|
238
|
+
/** Whether history was truncated */
|
|
239
|
+
'history.truncated'?: boolean;
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Union of all event types for event-broadcaster
|
|
244
|
+
*/
|
|
245
|
+
type Event = EventReceived | EventBroadcast | EventHistory_added;
|
|
246
|
+
/**
|
|
247
|
+
* Literal union of event names for event-broadcaster
|
|
248
|
+
*/
|
|
249
|
+
type EventName = 'event.received' | 'event.broadcast' | 'event.history_added';
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* Event types for node: lock-manager
|
|
253
|
+
*/
|
|
254
|
+
export declare namespace LockManager {
|
|
255
|
+
/**
|
|
256
|
+
* Client requested a lock
|
|
257
|
+
*/
|
|
258
|
+
interface LockRequested {
|
|
259
|
+
name: 'lock.requested';
|
|
260
|
+
attributes: {
|
|
261
|
+
/** Lock identifier */
|
|
262
|
+
'lock.id': string;
|
|
263
|
+
'client.id': string;
|
|
264
|
+
/** Lock type (file, directory, branch) */
|
|
265
|
+
'lock.type': string;
|
|
266
|
+
/** Priority level (low, normal, high) */
|
|
267
|
+
'lock.priority'?: string;
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* Lock granted to client
|
|
272
|
+
*/
|
|
273
|
+
interface LockAcquired {
|
|
274
|
+
name: 'lock.acquired';
|
|
275
|
+
attributes: {
|
|
276
|
+
'lock.id': string;
|
|
277
|
+
'client.id': string;
|
|
278
|
+
'lock.type': string;
|
|
279
|
+
/** Time spent in queue (ms) */
|
|
280
|
+
'queue.wait_time'?: number;
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Lock released by client
|
|
285
|
+
*/
|
|
286
|
+
interface LockReleased {
|
|
287
|
+
name: 'lock.released';
|
|
288
|
+
attributes: {
|
|
289
|
+
'lock.id': string;
|
|
290
|
+
'client.id': string;
|
|
291
|
+
/** Duration lock was held (ms) */
|
|
292
|
+
'lock.held_duration'?: number;
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Lock expired due to TTL
|
|
297
|
+
*/
|
|
298
|
+
interface LockExpired {
|
|
299
|
+
name: 'lock.expired';
|
|
300
|
+
attributes: {
|
|
301
|
+
'lock.id': string;
|
|
302
|
+
'client.id': string;
|
|
303
|
+
/** TTL that was exceeded */
|
|
304
|
+
'lock.ttl': number;
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* Lock request queued
|
|
309
|
+
*/
|
|
310
|
+
interface LockQueued {
|
|
311
|
+
name: 'lock.queued';
|
|
312
|
+
attributes: {
|
|
313
|
+
'lock.id': string;
|
|
314
|
+
'client.id': string;
|
|
315
|
+
/** Position in priority queue */
|
|
316
|
+
'queue.position': number;
|
|
317
|
+
/** Total queue size */
|
|
318
|
+
'queue.size': number;
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Union of all event types for lock-manager
|
|
323
|
+
*/
|
|
324
|
+
type Event = LockRequested | LockAcquired | LockReleased | LockExpired | LockQueued;
|
|
325
|
+
/**
|
|
326
|
+
* Literal union of event names for lock-manager
|
|
327
|
+
*/
|
|
328
|
+
type EventName = 'lock.requested' | 'lock.acquired' | 'lock.released' | 'lock.expired' | 'lock.queued';
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* Event types for node: presence-manager
|
|
332
|
+
*/
|
|
333
|
+
export declare namespace PresenceManager {
|
|
334
|
+
/**
|
|
335
|
+
* Device registered for user
|
|
336
|
+
*/
|
|
337
|
+
interface PresenceDevice_connected {
|
|
338
|
+
name: 'presence.device_connected';
|
|
339
|
+
attributes: {
|
|
340
|
+
'user.id': string;
|
|
341
|
+
/** Unique device identifier */
|
|
342
|
+
'device.id': string;
|
|
343
|
+
/** Device information string */
|
|
344
|
+
'device.info'?: string;
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Device removed for user
|
|
349
|
+
*/
|
|
350
|
+
interface PresenceDevice_disconnected {
|
|
351
|
+
name: 'presence.device_disconnected';
|
|
352
|
+
attributes: {
|
|
353
|
+
'user.id': string;
|
|
354
|
+
'device.id': string;
|
|
355
|
+
/** Session duration in milliseconds */
|
|
356
|
+
'session.duration'?: number;
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* User presence status changed
|
|
361
|
+
*/
|
|
362
|
+
interface PresenceStatus_changed {
|
|
363
|
+
name: 'presence.status_changed';
|
|
364
|
+
attributes: {
|
|
365
|
+
'user.id': string;
|
|
366
|
+
/** Previous status (online, away, offline) */
|
|
367
|
+
'status.from': string;
|
|
368
|
+
/** New status (online, away, offline) */
|
|
369
|
+
'status.to': string;
|
|
370
|
+
/** Total active devices for user */
|
|
371
|
+
'device.count': number;
|
|
372
|
+
};
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* Heartbeat received from device
|
|
376
|
+
*/
|
|
377
|
+
interface PresenceHeartbeat_received {
|
|
378
|
+
name: 'presence.heartbeat_received';
|
|
379
|
+
attributes: {
|
|
380
|
+
'user.id': string;
|
|
381
|
+
'device.id': string;
|
|
382
|
+
/** Activity type (typing, viewing, idle) */
|
|
383
|
+
'activity.type'?: string;
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* Device heartbeat timed out
|
|
388
|
+
*/
|
|
389
|
+
interface PresenceHeartbeat_timeout {
|
|
390
|
+
name: 'presence.heartbeat_timeout';
|
|
391
|
+
attributes: {
|
|
392
|
+
'user.id': string;
|
|
393
|
+
'device.id': string;
|
|
394
|
+
/** Timeout duration in milliseconds */
|
|
395
|
+
'timeout.duration': number;
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* Union of all event types for presence-manager
|
|
400
|
+
*/
|
|
401
|
+
type Event = PresenceDevice_connected | PresenceDevice_disconnected | PresenceStatus_changed | PresenceHeartbeat_received | PresenceHeartbeat_timeout;
|
|
402
|
+
/**
|
|
403
|
+
* Literal union of event names for presence-manager
|
|
404
|
+
*/
|
|
405
|
+
type EventName = 'presence.device_connected' | 'presence.device_disconnected' | 'presence.status_changed' | 'presence.heartbeat_received' | 'presence.heartbeat_timeout';
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* Union of all event names in the canvas
|
|
409
|
+
*/
|
|
410
|
+
export type AllEventNames = 'message.received' | 'message.validated' | 'message.validation_failed' | 'client.connected' | 'client.authenticated' | 'client.authentication_failed' | 'client.disconnected' | 'room.created' | 'room.client_joined' | 'room.client_left' | 'room.deleted' | 'room.state_serialized' | 'event.received' | 'event.broadcast' | 'event.history_added' | 'lock.requested' | 'lock.acquired' | 'lock.released' | 'lock.expired' | 'lock.queued' | 'presence.device_connected' | 'presence.device_disconnected' | 'presence.status_changed' | 'presence.heartbeat_received' | 'presence.heartbeat_timeout';
|
|
411
|
+
/**
|
|
412
|
+
* Type-safe event emitter for a specific node
|
|
413
|
+
*
|
|
414
|
+
* @example
|
|
415
|
+
* ```typescript
|
|
416
|
+
* const emit: NodeEmitter<GraphConverter.EventName, GraphConverter.Event> = ...
|
|
417
|
+
* emit('conversion.started', {
|
|
418
|
+
* name: 'conversion.started',
|
|
419
|
+
* attributes: { ... }
|
|
420
|
+
* });
|
|
421
|
+
* ```
|
|
422
|
+
*/
|
|
423
|
+
export type NodeEmitter<TEventName extends string, TEvent extends {
|
|
424
|
+
name: TEventName;
|
|
425
|
+
attributes: Record<string, any>;
|
|
426
|
+
}> = (event: TEvent) => void;
|
|
427
|
+
/**
|
|
428
|
+
* Type-safe event emitter by event name
|
|
429
|
+
*
|
|
430
|
+
* @example
|
|
431
|
+
* ```typescript
|
|
432
|
+
* const emit: NodeEmitterByName<GraphConverter.Event> = ...
|
|
433
|
+
* emit('conversion.started', {
|
|
434
|
+
* 'config.nodeTypes': 2,
|
|
435
|
+
* 'config.edgeTypes': 1
|
|
436
|
+
* });
|
|
437
|
+
* ```
|
|
438
|
+
*/
|
|
439
|
+
export type NodeEmitterByName<TEvent extends {
|
|
440
|
+
name: string;
|
|
441
|
+
attributes: Record<string, any>;
|
|
442
|
+
}> = <TName extends TEvent['name']>(eventName: TName, attributes: Extract<TEvent, {
|
|
443
|
+
name: TName;
|
|
444
|
+
}>['attributes']) => void;
|
|
445
|
+
//# sourceMappingURL=control-tower-execution.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control-tower-execution.types.d.ts","sourceRoot":"","sources":["../../src/generated/control-tower-execution.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;GAEG;AACH,yBAAiB,cAAc,CAAC;IAC9B;;OAEG;IACH,UAAiB,eAAe;QAC9B,IAAI,EAAE,kBAAkB,CAAC;QACzB,UAAU,EAAE;YACV,wBAAwB;YACxB,WAAW,EAAE,MAAM,CAAC;YACpB,oEAAoE;YACpE,cAAc,EAAE,MAAM,CAAC;YACvB,oCAAoC;YACpC,cAAc,CAAC,EAAE,MAAM,CAAC;SACzB,CAAC;KACH;IAED;;OAEG;IACH,UAAiB,gBAAgB;QAC/B,IAAI,EAAE,mBAAmB,CAAC;QAC1B,UAAU,EAAE;YACV,WAAW,EAAE,MAAM,CAAC;YACpB,cAAc,EAAE,MAAM,CAAC;SACxB,CAAC;KACH;IAED;;OAEG;IACH,UAAiB,wBAAwB;QACvC,IAAI,EAAE,2BAA2B,CAAC;QAClC,UAAU,EAAE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AI,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated types from canvas: Control Tower Execution
|
|
4
|
+
*
|
|
5
|
+
* DO NOT EDIT MANUALLY - This file is auto-generated
|
|
6
|
+
* Generated by @principal-ai/principal-view-core
|
|
7
|
+
*
|
|
8
|
+
* Canvas: Event flow for Control Tower real-time collaboration server
|
|
9
|
+
* Version: 1.0.0
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|