@agimon-ai/po 0.0.0-alpha.122 → 0.0.0-alpha.123
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/catalog/index.json +60 -60
- package/dist/package.cjs +1 -1
- package/dist/package.mjs +1 -1
- package/dist/src/builders/server/coordinators.cjs +75 -6
- package/dist/src/builders/server/coordinators.cjs.map +1 -1
- package/dist/src/builders/server/coordinators.mjs +75 -6
- package/dist/src/builders/server/coordinators.mjs.map +1 -1
- package/dist/src/builders/server/runtime.cjs +23 -0
- package/dist/src/builders/server/runtime.cjs.map +1 -1
- package/dist/src/builders/server/runtime.mjs +23 -0
- package/dist/src/builders/server/runtime.mjs.map +1 -1
- package/package.json +27 -27
package/dist/catalog/index.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": 1,
|
|
3
3
|
"packages": {
|
|
4
4
|
"@agimon-ai/po": {
|
|
5
|
-
"version": "0.0.0-alpha.
|
|
5
|
+
"version": "0.0.0-alpha.123",
|
|
6
6
|
"dependencies": [
|
|
7
7
|
"@agimon-ai/po-approval",
|
|
8
8
|
"@agimon-ai/po-artifact",
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
30
|
"@agimon-ai/po-approval": {
|
|
31
|
-
"version": "0.0.0-alpha.
|
|
31
|
+
"version": "0.0.0-alpha.122",
|
|
32
32
|
"dependencies": [
|
|
33
33
|
"@agimon-ai/po-core",
|
|
34
34
|
"@agimon-ai/po-web-components"
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"@agimon-ai/po-artifact": {
|
|
38
|
-
"version": "0.0.0-alpha.
|
|
38
|
+
"version": "0.0.0-alpha.121",
|
|
39
39
|
"dependencies": [
|
|
40
40
|
"@agimon-ai/po-core",
|
|
41
41
|
"@agimon-ai/po-web-components",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
]
|
|
44
44
|
},
|
|
45
45
|
"@agimon-ai/po-author": {
|
|
46
|
-
"version": "0.0.0-alpha.
|
|
46
|
+
"version": "0.0.0-alpha.122",
|
|
47
47
|
"dependencies": [
|
|
48
48
|
"@agimon-ai/po-artifact",
|
|
49
49
|
"@agimon-ai/po-core",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
]
|
|
54
54
|
},
|
|
55
55
|
"@agimon-ai/po-autocompact": {
|
|
56
|
-
"version": "0.0.0-alpha.
|
|
56
|
+
"version": "0.0.0-alpha.122",
|
|
57
57
|
"dependencies": [
|
|
58
58
|
"@agimon-ai/po-artifact",
|
|
59
59
|
"@agimon-ai/po-config",
|
|
@@ -62,13 +62,13 @@
|
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
"@agimon-ai/po-autostop": {
|
|
65
|
-
"version": "0.0.0-alpha.
|
|
65
|
+
"version": "0.0.0-alpha.122",
|
|
66
66
|
"dependencies": [
|
|
67
67
|
"@agimon-ai/po-core"
|
|
68
68
|
]
|
|
69
69
|
},
|
|
70
70
|
"@agimon-ai/po-browse": {
|
|
71
|
-
"version": "0.0.1-alpha.
|
|
71
|
+
"version": "0.0.1-alpha.120",
|
|
72
72
|
"dependencies": [
|
|
73
73
|
"@agimon-ai/po-config",
|
|
74
74
|
"@agimon-ai/po-core",
|
|
@@ -76,11 +76,11 @@
|
|
|
76
76
|
]
|
|
77
77
|
},
|
|
78
78
|
"@agimon-ai/po-build": {
|
|
79
|
-
"version": "0.0.0-alpha.
|
|
79
|
+
"version": "0.0.0-alpha.122",
|
|
80
80
|
"dependencies": []
|
|
81
81
|
},
|
|
82
82
|
"@agimon-ai/po-cache": {
|
|
83
|
-
"version": "0.0.0-alpha.
|
|
83
|
+
"version": "0.0.0-alpha.122",
|
|
84
84
|
"dependencies": [
|
|
85
85
|
"@agimon-ai/po-config",
|
|
86
86
|
"@agimon-ai/po-core",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
]
|
|
89
89
|
},
|
|
90
90
|
"@agimon-ai/po-calendar": {
|
|
91
|
-
"version": "0.0.1-alpha.
|
|
91
|
+
"version": "0.0.1-alpha.81",
|
|
92
92
|
"dependencies": [
|
|
93
93
|
"@agimon-ai/po-config",
|
|
94
94
|
"@agimon-ai/po-core",
|
|
@@ -100,11 +100,11 @@
|
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
102
|
"@agimon-ai/po-claude-bridge": {
|
|
103
|
-
"version": "0.1.1-alpha.
|
|
103
|
+
"version": "0.1.1-alpha.102",
|
|
104
104
|
"dependencies": []
|
|
105
105
|
},
|
|
106
106
|
"@agimon-ai/po-codemode": {
|
|
107
|
-
"version": "0.0.1-alpha.
|
|
107
|
+
"version": "0.0.1-alpha.95",
|
|
108
108
|
"dependencies": [
|
|
109
109
|
"@agimon-ai/po-config",
|
|
110
110
|
"@agimon-ai/po-core",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
]
|
|
113
113
|
},
|
|
114
114
|
"@agimon-ai/po-computer-use": {
|
|
115
|
-
"version": "0.0.0-alpha.
|
|
115
|
+
"version": "0.0.0-alpha.122",
|
|
116
116
|
"dependencies": [
|
|
117
117
|
"@agimon-ai/po-config",
|
|
118
118
|
"@agimon-ai/po-core",
|
|
@@ -122,26 +122,26 @@
|
|
|
122
122
|
]
|
|
123
123
|
},
|
|
124
124
|
"@agimon-ai/po-config": {
|
|
125
|
-
"version": "0.0.0-alpha.
|
|
125
|
+
"version": "0.0.0-alpha.122",
|
|
126
126
|
"dependencies": [
|
|
127
127
|
"@agimon-ai/po-core",
|
|
128
128
|
"@agimon-ai/po-web-components"
|
|
129
129
|
]
|
|
130
130
|
},
|
|
131
131
|
"@agimon-ai/po-core": {
|
|
132
|
-
"version": "0.0.0-alpha.
|
|
132
|
+
"version": "0.0.0-alpha.122",
|
|
133
133
|
"dependencies": [
|
|
134
134
|
"@agimon-ai/po-web-security"
|
|
135
135
|
]
|
|
136
136
|
},
|
|
137
137
|
"@agimon-ai/po-db": {
|
|
138
|
-
"version": "0.0.0-alpha.
|
|
138
|
+
"version": "0.0.0-alpha.122",
|
|
139
139
|
"dependencies": [
|
|
140
140
|
"@agimon-ai/po-core"
|
|
141
141
|
]
|
|
142
142
|
},
|
|
143
143
|
"@agimon-ai/po-domain": {
|
|
144
|
-
"version": "0.0.0-alpha.
|
|
144
|
+
"version": "0.0.0-alpha.122",
|
|
145
145
|
"dependencies": [
|
|
146
146
|
"@agimon-ai/po-config",
|
|
147
147
|
"@agimon-ai/po-core",
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
]
|
|
152
152
|
},
|
|
153
153
|
"@agimon-ai/po-edit": {
|
|
154
|
-
"version": "0.0.0-alpha.
|
|
154
|
+
"version": "0.0.0-alpha.122",
|
|
155
155
|
"dependencies": [
|
|
156
156
|
"@agimon-ai/po-core",
|
|
157
157
|
"@agimon-ai/po-hashline",
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
]
|
|
161
161
|
},
|
|
162
162
|
"@agimon-ai/po-file-edit": {
|
|
163
|
-
"version": "0.0.0-alpha.
|
|
163
|
+
"version": "0.0.0-alpha.122",
|
|
164
164
|
"dependencies": [
|
|
165
165
|
"@agimon-ai/po-config",
|
|
166
166
|
"@agimon-ai/po-core",
|
|
@@ -170,13 +170,13 @@
|
|
|
170
170
|
]
|
|
171
171
|
},
|
|
172
172
|
"@agimon-ai/po-gateway": {
|
|
173
|
-
"version": "0.0.1-alpha.
|
|
173
|
+
"version": "0.0.1-alpha.1",
|
|
174
174
|
"dependencies": [
|
|
175
175
|
"@agimon-ai/po-core"
|
|
176
176
|
]
|
|
177
177
|
},
|
|
178
178
|
"@agimon-ai/po-git": {
|
|
179
|
-
"version": "0.0.0-alpha.
|
|
179
|
+
"version": "0.0.0-alpha.122",
|
|
180
180
|
"dependencies": [
|
|
181
181
|
"@agimon-ai/po-core",
|
|
182
182
|
"@agimon-ai/po-session",
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
]
|
|
186
186
|
},
|
|
187
187
|
"@agimon-ai/po-goal": {
|
|
188
|
-
"version": "0.0.0-alpha.
|
|
188
|
+
"version": "0.0.0-alpha.122",
|
|
189
189
|
"dependencies": [
|
|
190
190
|
"@agimon-ai/po-core",
|
|
191
191
|
"@agimon-ai/po-minor-mode",
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
]
|
|
195
195
|
},
|
|
196
196
|
"@agimon-ai/po-grep": {
|
|
197
|
-
"version": "0.0.0-alpha.
|
|
197
|
+
"version": "0.0.0-alpha.122",
|
|
198
198
|
"dependencies": [
|
|
199
199
|
"@agimon-ai/po-core",
|
|
200
200
|
"@agimon-ai/po-hashline",
|
|
@@ -203,11 +203,11 @@
|
|
|
203
203
|
]
|
|
204
204
|
},
|
|
205
205
|
"@agimon-ai/po-hashline": {
|
|
206
|
-
"version": "0.0.0-alpha.
|
|
206
|
+
"version": "0.0.0-alpha.122",
|
|
207
207
|
"dependencies": []
|
|
208
208
|
},
|
|
209
209
|
"@agimon-ai/po-help": {
|
|
210
|
-
"version": "0.0.0-alpha.
|
|
210
|
+
"version": "0.0.0-alpha.122",
|
|
211
211
|
"dependencies": [
|
|
212
212
|
"@agimon-ai/po-core",
|
|
213
213
|
"@agimon-ai/po-minor-mode",
|
|
@@ -216,14 +216,14 @@
|
|
|
216
216
|
]
|
|
217
217
|
},
|
|
218
218
|
"@agimon-ai/po-identity": {
|
|
219
|
-
"version": "0.0.2-alpha.
|
|
219
|
+
"version": "0.0.2-alpha.69",
|
|
220
220
|
"dependencies": [
|
|
221
221
|
"@agimon-ai/po-core",
|
|
222
222
|
"@agimon-ai/po-web-security"
|
|
223
223
|
]
|
|
224
224
|
},
|
|
225
225
|
"@agimon-ai/po-image-gen": {
|
|
226
|
-
"version": "0.0.0-alpha.
|
|
226
|
+
"version": "0.0.0-alpha.121",
|
|
227
227
|
"dependencies": [
|
|
228
228
|
"@agimon-ai/po-core",
|
|
229
229
|
"@agimon-ai/po-web-components",
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
]
|
|
232
232
|
},
|
|
233
233
|
"@agimon-ai/po-ios": {
|
|
234
|
-
"version": "0.0.1-alpha.
|
|
234
|
+
"version": "0.0.1-alpha.57",
|
|
235
235
|
"dependencies": [
|
|
236
236
|
"@agimon-ai/po-artifact",
|
|
237
237
|
"@agimon-ai/po-config",
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
]
|
|
242
242
|
},
|
|
243
243
|
"@agimon-ai/po-log": {
|
|
244
|
-
"version": "0.0.0-alpha.
|
|
244
|
+
"version": "0.0.0-alpha.122",
|
|
245
245
|
"dependencies": [
|
|
246
246
|
"@agimon-ai/po-core",
|
|
247
247
|
"@agimon-ai/po-web-components",
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
]
|
|
250
250
|
},
|
|
251
251
|
"@agimon-ai/po-major-mode": {
|
|
252
|
-
"version": "0.0.0-alpha.
|
|
252
|
+
"version": "0.0.0-alpha.122",
|
|
253
253
|
"dependencies": [
|
|
254
254
|
"@agimon-ai/po-config",
|
|
255
255
|
"@agimon-ai/po-core",
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
]
|
|
258
258
|
},
|
|
259
259
|
"@agimon-ai/po-mcp": {
|
|
260
|
-
"version": "0.0.0-alpha.
|
|
260
|
+
"version": "0.0.0-alpha.122",
|
|
261
261
|
"dependencies": [
|
|
262
262
|
"@agimon-ai/po-config",
|
|
263
263
|
"@agimon-ai/po-core",
|
|
@@ -268,44 +268,44 @@
|
|
|
268
268
|
]
|
|
269
269
|
},
|
|
270
270
|
"@agimon-ai/po-mcp-proxy": {
|
|
271
|
-
"version": "0.0.1-alpha.
|
|
271
|
+
"version": "0.0.1-alpha.101",
|
|
272
272
|
"dependencies": []
|
|
273
273
|
},
|
|
274
274
|
"@agimon-ai/po-minor-mode": {
|
|
275
|
-
"version": "0.0.0-alpha.
|
|
275
|
+
"version": "0.0.0-alpha.122",
|
|
276
276
|
"dependencies": [
|
|
277
277
|
"@agimon-ai/po-core"
|
|
278
278
|
]
|
|
279
279
|
},
|
|
280
280
|
"@agimon-ai/po-model-guidance": {
|
|
281
|
-
"version": "0.0.0-alpha.
|
|
281
|
+
"version": "0.0.0-alpha.122",
|
|
282
282
|
"dependencies": [
|
|
283
283
|
"@agimon-ai/po-config",
|
|
284
284
|
"@agimon-ai/po-core"
|
|
285
285
|
]
|
|
286
286
|
},
|
|
287
287
|
"@agimon-ai/po-native-components": {
|
|
288
|
-
"version": "0.0.0-alpha.
|
|
288
|
+
"version": "0.0.0-alpha.122",
|
|
289
289
|
"dependencies": [
|
|
290
290
|
"@agimon-ai/po-web-components"
|
|
291
291
|
]
|
|
292
292
|
},
|
|
293
293
|
"@agimon-ai/po-network": {
|
|
294
|
-
"version": "0.0.2-alpha.
|
|
294
|
+
"version": "0.0.2-alpha.69",
|
|
295
295
|
"dependencies": [
|
|
296
296
|
"@agimon-ai/po-core",
|
|
297
297
|
"@agimon-ai/po-web-security"
|
|
298
298
|
]
|
|
299
299
|
},
|
|
300
300
|
"@agimon-ai/po-notification": {
|
|
301
|
-
"version": "0.0.0-alpha.
|
|
301
|
+
"version": "0.0.0-alpha.122",
|
|
302
302
|
"dependencies": [
|
|
303
303
|
"@agimon-ai/po-autostop",
|
|
304
304
|
"@agimon-ai/po-core"
|
|
305
305
|
]
|
|
306
306
|
},
|
|
307
307
|
"@agimon-ai/po-plan": {
|
|
308
|
-
"version": "0.0.0-alpha.
|
|
308
|
+
"version": "0.0.0-alpha.122",
|
|
309
309
|
"dependencies": [
|
|
310
310
|
"@agimon-ai/po-config",
|
|
311
311
|
"@agimon-ai/po-core",
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
]
|
|
316
316
|
},
|
|
317
317
|
"@agimon-ai/po-profile": {
|
|
318
|
-
"version": "0.0.0-alpha.
|
|
318
|
+
"version": "0.0.0-alpha.122",
|
|
319
319
|
"dependencies": [
|
|
320
320
|
"@agimon-ai/po-config",
|
|
321
321
|
"@agimon-ai/po-core",
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
]
|
|
324
324
|
},
|
|
325
325
|
"@agimon-ai/po-prompt": {
|
|
326
|
-
"version": "0.0.0-alpha.
|
|
326
|
+
"version": "0.0.0-alpha.122",
|
|
327
327
|
"dependencies": [
|
|
328
328
|
"@agimon-ai/po-core",
|
|
329
329
|
"@agimon-ai/po-web-components",
|
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
]
|
|
332
332
|
},
|
|
333
333
|
"@agimon-ai/po-read": {
|
|
334
|
-
"version": "0.0.0-alpha.
|
|
334
|
+
"version": "0.0.0-alpha.122",
|
|
335
335
|
"dependencies": [
|
|
336
336
|
"@agimon-ai/po-config",
|
|
337
337
|
"@agimon-ai/po-core",
|
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
]
|
|
342
342
|
},
|
|
343
343
|
"@agimon-ai/po-runner": {
|
|
344
|
-
"version": "0.0.0-alpha.
|
|
344
|
+
"version": "0.0.0-alpha.122",
|
|
345
345
|
"dependencies": [
|
|
346
346
|
"@agimon-ai/po-core",
|
|
347
347
|
"@agimon-ai/po-ui",
|
|
@@ -350,13 +350,13 @@
|
|
|
350
350
|
]
|
|
351
351
|
},
|
|
352
352
|
"@agimon-ai/po-sandbox": {
|
|
353
|
-
"version": "0.0.0-alpha.
|
|
353
|
+
"version": "0.0.0-alpha.122",
|
|
354
354
|
"dependencies": [
|
|
355
355
|
"@agimon-ai/po-core"
|
|
356
356
|
]
|
|
357
357
|
},
|
|
358
358
|
"@agimon-ai/po-session": {
|
|
359
|
-
"version": "0.0.0-alpha.
|
|
359
|
+
"version": "0.0.0-alpha.122",
|
|
360
360
|
"dependencies": [
|
|
361
361
|
"@agimon-ai/po-config",
|
|
362
362
|
"@agimon-ai/po-core",
|
|
@@ -364,7 +364,7 @@
|
|
|
364
364
|
]
|
|
365
365
|
},
|
|
366
366
|
"@agimon-ai/po-skill": {
|
|
367
|
-
"version": "0.0.0-alpha.
|
|
367
|
+
"version": "0.0.0-alpha.122",
|
|
368
368
|
"dependencies": [
|
|
369
369
|
"@agimon-ai/po-config",
|
|
370
370
|
"@agimon-ai/po-core",
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
]
|
|
374
374
|
},
|
|
375
375
|
"@agimon-ai/po-style-system": {
|
|
376
|
-
"version": "0.0.0-alpha.
|
|
376
|
+
"version": "0.0.0-alpha.122",
|
|
377
377
|
"dependencies": [
|
|
378
378
|
"@agimon-ai/po-core",
|
|
379
379
|
"@agimon-ai/po-web-components",
|
|
@@ -381,7 +381,7 @@
|
|
|
381
381
|
]
|
|
382
382
|
},
|
|
383
383
|
"@agimon-ai/po-task": {
|
|
384
|
-
"version": "0.0.0-alpha.
|
|
384
|
+
"version": "0.0.0-alpha.122",
|
|
385
385
|
"dependencies": [
|
|
386
386
|
"@agimon-ai/po-core",
|
|
387
387
|
"@agimon-ai/po-ui",
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
]
|
|
390
390
|
},
|
|
391
391
|
"@agimon-ai/po-team": {
|
|
392
|
-
"version": "0.0.0-alpha.
|
|
392
|
+
"version": "0.0.0-alpha.122",
|
|
393
393
|
"dependencies": [
|
|
394
394
|
"@agimon-ai/po-cache",
|
|
395
395
|
"@agimon-ai/po-config",
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
]
|
|
402
402
|
},
|
|
403
403
|
"@agimon-ai/po-template-advanced": {
|
|
404
|
-
"version": "0.0.0-alpha.
|
|
404
|
+
"version": "0.0.0-alpha.122",
|
|
405
405
|
"dependencies": [
|
|
406
406
|
"@agimon-ai/po-core",
|
|
407
407
|
"@agimon-ai/po-web-components",
|
|
@@ -409,7 +409,7 @@
|
|
|
409
409
|
]
|
|
410
410
|
},
|
|
411
411
|
"@agimon-ai/po-template-elegant": {
|
|
412
|
-
"version": "0.0.0-alpha.
|
|
412
|
+
"version": "0.0.0-alpha.122",
|
|
413
413
|
"dependencies": [
|
|
414
414
|
"@agimon-ai/po-core",
|
|
415
415
|
"@agimon-ai/po-web-components",
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
]
|
|
418
418
|
},
|
|
419
419
|
"@agimon-ai/po-ui": {
|
|
420
|
-
"version": "0.0.0-alpha.
|
|
420
|
+
"version": "0.0.0-alpha.122",
|
|
421
421
|
"dependencies": [
|
|
422
422
|
"@agimon-ai/po-core",
|
|
423
423
|
"@agimon-ai/po-hashline",
|
|
@@ -426,7 +426,7 @@
|
|
|
426
426
|
]
|
|
427
427
|
},
|
|
428
428
|
"@agimon-ai/po-user-feedback": {
|
|
429
|
-
"version": "0.0.0-alpha.
|
|
429
|
+
"version": "0.0.0-alpha.122",
|
|
430
430
|
"dependencies": [
|
|
431
431
|
"@agimon-ai/po-core",
|
|
432
432
|
"@agimon-ai/po-minor-mode",
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
]
|
|
436
436
|
},
|
|
437
437
|
"@agimon-ai/po-vault": {
|
|
438
|
-
"version": "0.0.0-alpha.
|
|
438
|
+
"version": "0.0.0-alpha.122",
|
|
439
439
|
"dependencies": [
|
|
440
440
|
"@agimon-ai/po-core",
|
|
441
441
|
"@agimon-ai/po-db",
|
|
@@ -444,7 +444,7 @@
|
|
|
444
444
|
]
|
|
445
445
|
},
|
|
446
446
|
"@agimon-ai/po-vibe-lint": {
|
|
447
|
-
"version": "0.0.1-alpha.
|
|
447
|
+
"version": "0.0.1-alpha.91",
|
|
448
448
|
"dependencies": [
|
|
449
449
|
"@agimon-ai/po-config",
|
|
450
450
|
"@agimon-ai/po-core",
|
|
@@ -454,7 +454,7 @@
|
|
|
454
454
|
]
|
|
455
455
|
},
|
|
456
456
|
"@agimon-ai/po-voice": {
|
|
457
|
-
"version": "0.0.0-alpha.
|
|
457
|
+
"version": "0.0.0-alpha.122",
|
|
458
458
|
"dependencies": [
|
|
459
459
|
"@agimon-ai/po-config",
|
|
460
460
|
"@agimon-ai/po-core",
|
|
@@ -467,11 +467,11 @@
|
|
|
467
467
|
]
|
|
468
468
|
},
|
|
469
469
|
"@agimon-ai/po-web-components": {
|
|
470
|
-
"version": "0.0.0-alpha.
|
|
470
|
+
"version": "0.0.0-alpha.122",
|
|
471
471
|
"dependencies": []
|
|
472
472
|
},
|
|
473
473
|
"@agimon-ai/po-web-dashboard": {
|
|
474
|
-
"version": "0.0.0-alpha.
|
|
474
|
+
"version": "0.0.0-alpha.122",
|
|
475
475
|
"dependencies": [
|
|
476
476
|
"@agimon-ai/po-core",
|
|
477
477
|
"@agimon-ai/po-web-components",
|
|
@@ -479,18 +479,18 @@
|
|
|
479
479
|
]
|
|
480
480
|
},
|
|
481
481
|
"@agimon-ai/po-web-search": {
|
|
482
|
-
"version": "0.0.0-alpha.
|
|
482
|
+
"version": "0.0.0-alpha.121",
|
|
483
483
|
"dependencies": [
|
|
484
484
|
"@agimon-ai/po-core",
|
|
485
485
|
"@agimon-ai/po-web-components"
|
|
486
486
|
]
|
|
487
487
|
},
|
|
488
488
|
"@agimon-ai/po-web-security": {
|
|
489
|
-
"version": "0.0.0-alpha.
|
|
489
|
+
"version": "0.0.0-alpha.122",
|
|
490
490
|
"dependencies": []
|
|
491
491
|
},
|
|
492
492
|
"@agimon-ai/po-workflow": {
|
|
493
|
-
"version": "0.0.0-alpha.
|
|
493
|
+
"version": "0.0.0-alpha.122",
|
|
494
494
|
"dependencies": [
|
|
495
495
|
"@agimon-ai/po-core",
|
|
496
496
|
"@agimon-ai/po-ui",
|
package/dist/package.cjs
CHANGED
package/dist/package.mjs
CHANGED
|
@@ -82,14 +82,47 @@ function createCoordinatorService(options) {
|
|
|
82
82
|
...home.model === void 0 ? {} : { model: home.model }
|
|
83
83
|
});
|
|
84
84
|
const coordinated = (workspace) => workspace.kind !== "session" && workspace.available !== false && workspace.sandbox === void 0;
|
|
85
|
+
const homePersona = () => {
|
|
86
|
+
const general = homeWorkspace();
|
|
87
|
+
const home = general === void 0 ? void 0 : oldestCoordinator(general.id);
|
|
88
|
+
return home === void 0 ? void 0 : options.records().find((record) => record.sessionId === home.sessionId)?.coordinator;
|
|
89
|
+
};
|
|
90
|
+
const defaultPersona = (root) => {
|
|
91
|
+
const profile = options.defaultProfile(root);
|
|
92
|
+
if (profile === void 0) throw new Error("Choose a default profile before adding a coordinator.");
|
|
93
|
+
return {
|
|
94
|
+
profile,
|
|
95
|
+
name: profile
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
const recordPersona = (sessionId, coordinator) => {
|
|
99
|
+
const record = options.records().find((entry) => entry.sessionId === sessionId);
|
|
100
|
+
if (record === void 0) return;
|
|
101
|
+
const { coordinator: _dropped, ...rest } = record;
|
|
102
|
+
if (!options.saveRecord(coordinator === void 0 ? rest : {
|
|
103
|
+
...rest,
|
|
104
|
+
coordinator
|
|
105
|
+
})) options.notice(`Coordinator '${sessionId}' persona could not be recorded.`);
|
|
106
|
+
};
|
|
107
|
+
const demote = async (sessionId) => {
|
|
108
|
+
if (options.liveSessions().some((session) => session.id === sessionId)) await options.reopen(sessionId, {});
|
|
109
|
+
else {
|
|
110
|
+
const record = options.records().find((entry) => entry.sessionId === sessionId);
|
|
111
|
+
if (record === void 0) return;
|
|
112
|
+
const { sessionProvenance: _dropped, ...rest } = record;
|
|
113
|
+
if (!options.saveRecord(rest)) throw new Error(`Session '${sessionId}' could not be made regular.`);
|
|
114
|
+
}
|
|
115
|
+
recordPersona(sessionId, void 0);
|
|
116
|
+
};
|
|
117
|
+
const ensureHome = async (settings) => {
|
|
118
|
+
const home = await ensureCoordinator("home", settings);
|
|
119
|
+
const outcomes = await Promise.allSettled(options.workspaces().filter(coordinated).map((workspace) => ensureCoordinator(workspace.id, workspaceSettings(workspace, settings))));
|
|
120
|
+
for (const outcome of outcomes) if (outcome.status === "rejected") options.notice(`A workspace coordinator could not be opened: ${String(outcome.reason)}`);
|
|
121
|
+
return home;
|
|
122
|
+
};
|
|
85
123
|
return {
|
|
86
124
|
ensureCoordinator,
|
|
87
|
-
|
|
88
|
-
const home = await ensureCoordinator("home", settings);
|
|
89
|
-
const outcomes = await Promise.allSettled(options.workspaces().filter(coordinated).map((workspace) => ensureCoordinator(workspace.id, workspaceSettings(workspace, settings))));
|
|
90
|
-
for (const outcome of outcomes) if (outcome.status === "rejected") options.notice(`A workspace coordinator could not be opened: ${String(outcome.reason)}`);
|
|
91
|
-
return home;
|
|
92
|
-
},
|
|
125
|
+
ensureHome,
|
|
93
126
|
async workspaceAdmitted(workspaceId) {
|
|
94
127
|
const workspace = options.workspaces().find((entry) => entry.id === workspaceId);
|
|
95
128
|
const general = homeWorkspace();
|
|
@@ -118,6 +151,42 @@ function createCoordinatorService(options) {
|
|
|
118
151
|
const { sessionId } = workspace.kind === "session" ? await options.createGeneral({ name }) : await options.createInWorkspace(workspace, { name });
|
|
119
152
|
await options.prompt(sessionId, brief);
|
|
120
153
|
return { sessionId };
|
|
154
|
+
},
|
|
155
|
+
async add(workspaceId) {
|
|
156
|
+
if (workspaceId === void 0) return ensureHome(homePersona() ?? defaultPersona());
|
|
157
|
+
const workspace = options.workspaces().find((entry) => entry.id === workspaceId);
|
|
158
|
+
if (workspace === void 0) throw new Error(`Workspace '${workspaceId}' not found.`);
|
|
159
|
+
if (!coordinated(workspace)) throw new Error("This workspace cannot have a coordinator.");
|
|
160
|
+
return ensureCoordinator(workspaceId, workspaceSettings(workspace, homePersona() ?? defaultPersona(workspace.root)));
|
|
161
|
+
},
|
|
162
|
+
async setRole(sessionId, coordinator) {
|
|
163
|
+
let live = options.liveSessions().find((session) => session.id === sessionId);
|
|
164
|
+
const record = options.records().find((entry) => entry.sessionId === sessionId);
|
|
165
|
+
const current = live ?? (record === void 0 ? void 0 : {
|
|
166
|
+
...record,
|
|
167
|
+
id: record.sessionId
|
|
168
|
+
});
|
|
169
|
+
if (current?.workspaceId === void 0) throw new Error("Session not found.");
|
|
170
|
+
if (current.sessionProvenance === _agimon_ai_po_core_hubChannel.COORDINATOR_SESSION_PROVENANCE === coordinator) return;
|
|
171
|
+
if (!coordinator) return demote(sessionId);
|
|
172
|
+
if (current.sessionProvenance !== void 0) throw new Error(`A ${current.sessionProvenance} session cannot become a coordinator.`);
|
|
173
|
+
const workspace = options.workspaces().find((entry) => entry.id === current.workspaceId);
|
|
174
|
+
if (workspace === void 0 || workspace.kind !== "session" && !coordinated(workspace)) throw new Error("This workspace cannot have a coordinator.");
|
|
175
|
+
for (const other of coordinatorsIn(workspace.id)) await demote(other.sessionId);
|
|
176
|
+
if (live === void 0) {
|
|
177
|
+
await options.revive(record);
|
|
178
|
+
live = options.liveSessions().find((session) => session.id === sessionId);
|
|
179
|
+
}
|
|
180
|
+
const profile = live?.profile?.name ?? options.defaultProfile(workspace.root);
|
|
181
|
+
await options.reopen(sessionId, {
|
|
182
|
+
sessionProvenance: _agimon_ai_po_core_hubChannel.COORDINATOR_SESSION_PROVENANCE,
|
|
183
|
+
...live?.profile === void 0 && profile !== void 0 ? { profile } : {}
|
|
184
|
+
});
|
|
185
|
+
if (profile !== void 0) recordPersona(sessionId, {
|
|
186
|
+
profile,
|
|
187
|
+
name: current.name ?? profile
|
|
188
|
+
});
|
|
189
|
+
else options.notice(`Coordinator '${sessionId}' has no profile; new workspaces will not copy its persona.`);
|
|
121
190
|
}
|
|
122
191
|
};
|
|
123
192
|
}
|