@goondan/cli 0.0.3-alpha6 → 0.0.3-alpha8
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/bin.js +4 -0
- package/dist/bin.js.map +1 -1
- package/dist/commands/studio.d.ts +12 -0
- package/dist/commands/studio.js +84 -0
- package/dist/commands/studio.js.map +1 -0
- package/dist/parser.d.ts +6 -0
- package/dist/parser.js +8 -1
- package/dist/parser.js.map +1 -1
- package/dist/router.js +3 -0
- package/dist/router.js.map +1 -1
- package/dist/services/defaults.js +3 -0
- package/dist/services/defaults.js.map +1 -1
- package/dist/services/studio.d.ts +11 -0
- package/dist/services/studio.js +751 -0
- package/dist/services/studio.js.map +1 -0
- package/dist/studio/assets.d.ts +3 -0
- package/dist/studio/assets.js +822 -0
- package/dist/studio/assets.js.map +1 -0
- package/dist/types.d.ts +69 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assets.js","sourceRoot":"","sources":["../../src/studio/assets.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyC1B,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4TzB,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6cxB,CAAC"}
|
package/dist/types.d.ts
CHANGED
|
@@ -118,6 +118,74 @@ export interface PackagePublishResult {
|
|
|
118
118
|
tag: string;
|
|
119
119
|
dryRun: boolean;
|
|
120
120
|
}
|
|
121
|
+
export interface StudioInstanceSummary {
|
|
122
|
+
key: string;
|
|
123
|
+
status: string;
|
|
124
|
+
agent: string;
|
|
125
|
+
createdAt: string;
|
|
126
|
+
updatedAt: string;
|
|
127
|
+
}
|
|
128
|
+
export interface StudioParticipant {
|
|
129
|
+
id: string;
|
|
130
|
+
label: string;
|
|
131
|
+
kind: 'agent' | 'user' | 'assistant' | 'tool' | 'extension' | 'connector' | 'system' | 'unknown';
|
|
132
|
+
lastSeenAt: string;
|
|
133
|
+
}
|
|
134
|
+
export interface StudioInteractionHistory {
|
|
135
|
+
at: string;
|
|
136
|
+
from: string;
|
|
137
|
+
to: string;
|
|
138
|
+
direction: 'a->b' | 'b->a';
|
|
139
|
+
kind: string;
|
|
140
|
+
detail: string;
|
|
141
|
+
}
|
|
142
|
+
export interface StudioInteraction {
|
|
143
|
+
key: string;
|
|
144
|
+
a: string;
|
|
145
|
+
b: string;
|
|
146
|
+
total: number;
|
|
147
|
+
lastSeenAt: string;
|
|
148
|
+
direction: 'a->b' | 'b->a' | 'undirected';
|
|
149
|
+
history: StudioInteractionHistory[];
|
|
150
|
+
}
|
|
151
|
+
export interface StudioTimelineEntry {
|
|
152
|
+
at: string;
|
|
153
|
+
kind: 'message' | 'runtime-event' | 'connector-log';
|
|
154
|
+
source: string;
|
|
155
|
+
target?: string;
|
|
156
|
+
subtype: string;
|
|
157
|
+
detail: string;
|
|
158
|
+
}
|
|
159
|
+
export interface StudioVisualization {
|
|
160
|
+
instanceKey: string;
|
|
161
|
+
participants: StudioParticipant[];
|
|
162
|
+
interactions: StudioInteraction[];
|
|
163
|
+
timeline: StudioTimelineEntry[];
|
|
164
|
+
recentEvents: StudioTimelineEntry[];
|
|
165
|
+
}
|
|
166
|
+
export interface StudioInstancesRequest {
|
|
167
|
+
stateRoot?: string;
|
|
168
|
+
}
|
|
169
|
+
export interface StudioInstanceRequest {
|
|
170
|
+
stateRoot?: string;
|
|
171
|
+
instanceKey: string;
|
|
172
|
+
maxRecentEvents?: number;
|
|
173
|
+
}
|
|
174
|
+
export interface StudioServerRequest {
|
|
175
|
+
stateRoot?: string;
|
|
176
|
+
port: number;
|
|
177
|
+
host: string;
|
|
178
|
+
}
|
|
179
|
+
export interface StudioServerSession {
|
|
180
|
+
url: string;
|
|
181
|
+
close(): Promise<void>;
|
|
182
|
+
closed: Promise<void>;
|
|
183
|
+
}
|
|
184
|
+
export interface StudioService {
|
|
185
|
+
listInstances(request: StudioInstancesRequest): Promise<StudioInstanceSummary[]>;
|
|
186
|
+
loadVisualization(request: StudioInstanceRequest): Promise<StudioVisualization>;
|
|
187
|
+
startServer(request: StudioServerRequest): Promise<StudioServerSession>;
|
|
188
|
+
}
|
|
121
189
|
export interface RegistryPackageMetadata {
|
|
122
190
|
name: string;
|
|
123
191
|
latestVersion: string;
|
|
@@ -238,4 +306,5 @@ export interface CliDependencies {
|
|
|
238
306
|
doctor: DoctorService;
|
|
239
307
|
logs: LogService;
|
|
240
308
|
init: InitService;
|
|
309
|
+
studio: StudioService;
|
|
241
310
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goondan/cli",
|
|
3
|
-
"version": "0.0.3-
|
|
3
|
+
"version": "0.0.3-alpha8",
|
|
4
4
|
"description": "Goondan CLI (gdn)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@optique/core": "^0.9.0",
|
|
19
19
|
"@optique/run": "^0.9.0",
|
|
20
|
-
"@goondan/runtime": "0.0.3-
|
|
20
|
+
"@goondan/runtime": "0.0.3-alpha8"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^22.19.7",
|