@agimon-ai/po 0.0.0-alpha.24 → 0.0.0-alpha.26
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 +53 -53
- package/dist/repository.cjs +1 -0
- package/dist/repository.d.mts +2 -2
- package/dist/repository.mjs +1 -1
- package/dist/src/builders/server/runtime.cjs +8 -7
- package/dist/src/builders/server/runtime.cjs.map +1 -1
- package/dist/src/builders/server/runtime.mjs +9 -8
- package/dist/src/builders/server/runtime.mjs.map +1 -1
- package/dist/src/builders/server/workspaceCheckout.cjs +1 -9
- package/dist/src/builders/server/workspaceCheckout.cjs.map +1 -1
- package/dist/src/builders/server/workspaceCheckout.mjs +2 -8
- package/dist/src/builders/server/workspaceCheckout.mjs.map +1 -1
- package/dist/src/cli/harnessOptions.cjs +1 -15
- package/dist/src/cli/harnessOptions.cjs.map +1 -1
- package/dist/src/cli/harnessOptions.d.mts.map +1 -1
- package/dist/src/cli/harnessOptions.mjs +2 -15
- package/dist/src/cli/harnessOptions.mjs.map +1 -1
- package/dist/src/composition/repository/index.cjs +15 -0
- package/dist/src/composition/repository/index.cjs.map +1 -1
- package/dist/src/composition/repository/index.d.mts +7 -0
- package/dist/src/composition/repository/index.d.mts.map +1 -1
- package/dist/src/composition/repository/index.mjs +15 -1
- package/dist/src/composition/repository/index.mjs.map +1 -1
- package/package.json +21 -21
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.26",
|
|
6
6
|
"dependencies": [
|
|
7
7
|
"@agimon-ai/po-artifact",
|
|
8
8
|
"@agimon-ai/po-autostop",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
]
|
|
25
25
|
},
|
|
26
26
|
"@agimon-ai/po-artifact": {
|
|
27
|
-
"version": "0.0.0-alpha.
|
|
27
|
+
"version": "0.0.0-alpha.24",
|
|
28
28
|
"dependencies": [
|
|
29
29
|
"@agimon-ai/po-core",
|
|
30
30
|
"@agimon-ai/po-web-components",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
]
|
|
33
33
|
},
|
|
34
34
|
"@agimon-ai/po-author": {
|
|
35
|
-
"version": "0.0.0-alpha.
|
|
35
|
+
"version": "0.0.0-alpha.25",
|
|
36
36
|
"dependencies": [
|
|
37
37
|
"@agimon-ai/po-artifact",
|
|
38
38
|
"@agimon-ai/po-core",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
]
|
|
43
43
|
},
|
|
44
44
|
"@agimon-ai/po-autocompact": {
|
|
45
|
-
"version": "0.0.0-alpha.
|
|
45
|
+
"version": "0.0.0-alpha.25",
|
|
46
46
|
"dependencies": [
|
|
47
47
|
"@agimon-ai/po-artifact",
|
|
48
48
|
"@agimon-ai/po-config",
|
|
@@ -51,25 +51,25 @@
|
|
|
51
51
|
]
|
|
52
52
|
},
|
|
53
53
|
"@agimon-ai/po-autostop": {
|
|
54
|
-
"version": "0.0.0-alpha.
|
|
54
|
+
"version": "0.0.0-alpha.25",
|
|
55
55
|
"dependencies": [
|
|
56
56
|
"@agimon-ai/po-core",
|
|
57
57
|
"@agimon-ai/po-telemetry"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
60
|
"@agimon-ai/po-browse": {
|
|
61
|
-
"version": "0.0.1-alpha.
|
|
61
|
+
"version": "0.0.1-alpha.23",
|
|
62
62
|
"dependencies": [
|
|
63
63
|
"@agimon-ai/po-core",
|
|
64
64
|
"@agimon-ai/po-web-components"
|
|
65
65
|
]
|
|
66
66
|
},
|
|
67
67
|
"@agimon-ai/po-build": {
|
|
68
|
-
"version": "0.0.0-alpha.
|
|
68
|
+
"version": "0.0.0-alpha.25",
|
|
69
69
|
"dependencies": []
|
|
70
70
|
},
|
|
71
71
|
"@agimon-ai/po-cache": {
|
|
72
|
-
"version": "0.0.0-alpha.
|
|
72
|
+
"version": "0.0.0-alpha.25",
|
|
73
73
|
"dependencies": [
|
|
74
74
|
"@agimon-ai/po-config",
|
|
75
75
|
"@agimon-ai/po-core",
|
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
]
|
|
78
78
|
},
|
|
79
79
|
"@agimon-ai/po-claude-bridge": {
|
|
80
|
-
"version": "0.1.1-alpha.
|
|
80
|
+
"version": "0.1.1-alpha.5",
|
|
81
81
|
"dependencies": []
|
|
82
82
|
},
|
|
83
83
|
"@agimon-ai/po-computer-use": {
|
|
84
|
-
"version": "0.0.0-alpha.
|
|
84
|
+
"version": "0.0.0-alpha.25",
|
|
85
85
|
"dependencies": [
|
|
86
86
|
"@agimon-ai/po-config",
|
|
87
87
|
"@agimon-ai/po-core",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
]
|
|
92
92
|
},
|
|
93
93
|
"@agimon-ai/po-config": {
|
|
94
|
-
"version": "0.0.0-alpha.
|
|
94
|
+
"version": "0.0.0-alpha.25",
|
|
95
95
|
"dependencies": [
|
|
96
96
|
"@agimon-ai/po-core",
|
|
97
97
|
"@agimon-ai/po-telemetry",
|
|
@@ -99,14 +99,14 @@
|
|
|
99
99
|
]
|
|
100
100
|
},
|
|
101
101
|
"@agimon-ai/po-core": {
|
|
102
|
-
"version": "0.0.0-alpha.
|
|
102
|
+
"version": "0.0.0-alpha.25",
|
|
103
103
|
"dependencies": [
|
|
104
104
|
"@agimon-ai/po-telemetry",
|
|
105
105
|
"@agimon-ai/po-web-security"
|
|
106
106
|
]
|
|
107
107
|
},
|
|
108
108
|
"@agimon-ai/po-domain": {
|
|
109
|
-
"version": "0.0.0-alpha.
|
|
109
|
+
"version": "0.0.0-alpha.25",
|
|
110
110
|
"dependencies": [
|
|
111
111
|
"@agimon-ai/po-config",
|
|
112
112
|
"@agimon-ai/po-core",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
]
|
|
116
116
|
},
|
|
117
117
|
"@agimon-ai/po-edit": {
|
|
118
|
-
"version": "0.0.0-alpha.
|
|
118
|
+
"version": "0.0.0-alpha.25",
|
|
119
119
|
"dependencies": [
|
|
120
120
|
"@agimon-ai/po-core",
|
|
121
121
|
"@agimon-ai/po-hashline",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
]
|
|
125
125
|
},
|
|
126
126
|
"@agimon-ai/po-file-edit": {
|
|
127
|
-
"version": "0.0.0-alpha.
|
|
127
|
+
"version": "0.0.0-alpha.25",
|
|
128
128
|
"dependencies": [
|
|
129
129
|
"@agimon-ai/po-config",
|
|
130
130
|
"@agimon-ai/po-core",
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
]
|
|
136
136
|
},
|
|
137
137
|
"@agimon-ai/po-git": {
|
|
138
|
-
"version": "0.0.0-alpha.
|
|
138
|
+
"version": "0.0.0-alpha.25",
|
|
139
139
|
"dependencies": [
|
|
140
140
|
"@agimon-ai/po-core",
|
|
141
141
|
"@agimon-ai/po-session",
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
]
|
|
145
145
|
},
|
|
146
146
|
"@agimon-ai/po-goal": {
|
|
147
|
-
"version": "0.0.0-alpha.
|
|
147
|
+
"version": "0.0.0-alpha.25",
|
|
148
148
|
"dependencies": [
|
|
149
149
|
"@agimon-ai/po-core",
|
|
150
150
|
"@agimon-ai/po-minor-mode",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
]
|
|
154
154
|
},
|
|
155
155
|
"@agimon-ai/po-grep": {
|
|
156
|
-
"version": "0.0.0-alpha.
|
|
156
|
+
"version": "0.0.0-alpha.25",
|
|
157
157
|
"dependencies": [
|
|
158
158
|
"@agimon-ai/po-core",
|
|
159
159
|
"@agimon-ai/po-hashline",
|
|
@@ -162,11 +162,11 @@
|
|
|
162
162
|
]
|
|
163
163
|
},
|
|
164
164
|
"@agimon-ai/po-hashline": {
|
|
165
|
-
"version": "0.0.0-alpha.
|
|
165
|
+
"version": "0.0.0-alpha.25",
|
|
166
166
|
"dependencies": []
|
|
167
167
|
},
|
|
168
168
|
"@agimon-ai/po-help": {
|
|
169
|
-
"version": "0.0.0-alpha.
|
|
169
|
+
"version": "0.0.0-alpha.25",
|
|
170
170
|
"dependencies": [
|
|
171
171
|
"@agimon-ai/po-core",
|
|
172
172
|
"@agimon-ai/po-minor-mode",
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
]
|
|
175
175
|
},
|
|
176
176
|
"@agimon-ai/po-hook": {
|
|
177
|
-
"version": "0.0.0-alpha.
|
|
177
|
+
"version": "0.0.0-alpha.25",
|
|
178
178
|
"dependencies": [
|
|
179
179
|
"@agimon-ai/po-config",
|
|
180
180
|
"@agimon-ai/po-core",
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
]
|
|
183
183
|
},
|
|
184
184
|
"@agimon-ai/po-image-gen": {
|
|
185
|
-
"version": "0.0.0-alpha.
|
|
185
|
+
"version": "0.0.0-alpha.24",
|
|
186
186
|
"dependencies": [
|
|
187
187
|
"@agimon-ai/po-core",
|
|
188
188
|
"@agimon-ai/po-web-components",
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
]
|
|
191
191
|
},
|
|
192
192
|
"@agimon-ai/po-log": {
|
|
193
|
-
"version": "0.0.0-alpha.
|
|
193
|
+
"version": "0.0.0-alpha.25",
|
|
194
194
|
"dependencies": [
|
|
195
195
|
"@agimon-ai/po-core",
|
|
196
196
|
"@agimon-ai/po-telemetry",
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
]
|
|
200
200
|
},
|
|
201
201
|
"@agimon-ai/po-loop": {
|
|
202
|
-
"version": "0.0.0-alpha.
|
|
202
|
+
"version": "0.0.0-alpha.25",
|
|
203
203
|
"dependencies": [
|
|
204
204
|
"@agimon-ai/po-core",
|
|
205
205
|
"@agimon-ai/po-minor-mode",
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
]
|
|
209
209
|
},
|
|
210
210
|
"@agimon-ai/po-major-mode": {
|
|
211
|
-
"version": "0.0.0-alpha.
|
|
211
|
+
"version": "0.0.0-alpha.25",
|
|
212
212
|
"dependencies": [
|
|
213
213
|
"@agimon-ai/po-config",
|
|
214
214
|
"@agimon-ai/po-core",
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
]
|
|
218
218
|
},
|
|
219
219
|
"@agimon-ai/po-mcp": {
|
|
220
|
-
"version": "0.0.0-alpha.
|
|
220
|
+
"version": "0.0.0-alpha.25",
|
|
221
221
|
"dependencies": [
|
|
222
222
|
"@agimon-ai/po-config",
|
|
223
223
|
"@agimon-ai/po-core",
|
|
@@ -227,37 +227,37 @@
|
|
|
227
227
|
]
|
|
228
228
|
},
|
|
229
229
|
"@agimon-ai/po-mcp-proxy": {
|
|
230
|
-
"version": "0.0.1-alpha.
|
|
230
|
+
"version": "0.0.1-alpha.4",
|
|
231
231
|
"dependencies": []
|
|
232
232
|
},
|
|
233
233
|
"@agimon-ai/po-minor-mode": {
|
|
234
|
-
"version": "0.0.0-alpha.
|
|
234
|
+
"version": "0.0.0-alpha.25",
|
|
235
235
|
"dependencies": [
|
|
236
236
|
"@agimon-ai/po-core",
|
|
237
237
|
"@agimon-ai/po-telemetry"
|
|
238
238
|
]
|
|
239
239
|
},
|
|
240
240
|
"@agimon-ai/po-model-guidance": {
|
|
241
|
-
"version": "0.0.0-alpha.
|
|
241
|
+
"version": "0.0.0-alpha.25",
|
|
242
242
|
"dependencies": [
|
|
243
243
|
"@agimon-ai/po-config",
|
|
244
244
|
"@agimon-ai/po-core"
|
|
245
245
|
]
|
|
246
246
|
},
|
|
247
247
|
"@agimon-ai/po-native-components": {
|
|
248
|
-
"version": "0.0.0-alpha.
|
|
248
|
+
"version": "0.0.0-alpha.25",
|
|
249
249
|
"dependencies": [
|
|
250
250
|
"@agimon-ai/po-web-components"
|
|
251
251
|
]
|
|
252
252
|
},
|
|
253
253
|
"@agimon-ai/po-notification": {
|
|
254
|
-
"version": "0.0.0-alpha.
|
|
254
|
+
"version": "0.0.0-alpha.25",
|
|
255
255
|
"dependencies": [
|
|
256
256
|
"@agimon-ai/po-core"
|
|
257
257
|
]
|
|
258
258
|
},
|
|
259
259
|
"@agimon-ai/po-plan": {
|
|
260
|
-
"version": "0.0.0-alpha.
|
|
260
|
+
"version": "0.0.0-alpha.25",
|
|
261
261
|
"dependencies": [
|
|
262
262
|
"@agimon-ai/po-config",
|
|
263
263
|
"@agimon-ai/po-core",
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
]
|
|
269
269
|
},
|
|
270
270
|
"@agimon-ai/po-profile": {
|
|
271
|
-
"version": "0.0.0-alpha.
|
|
271
|
+
"version": "0.0.0-alpha.25",
|
|
272
272
|
"dependencies": [
|
|
273
273
|
"@agimon-ai/po-config",
|
|
274
274
|
"@agimon-ai/po-core",
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
]
|
|
278
278
|
},
|
|
279
279
|
"@agimon-ai/po-prompt": {
|
|
280
|
-
"version": "0.0.0-alpha.
|
|
280
|
+
"version": "0.0.0-alpha.25",
|
|
281
281
|
"dependencies": [
|
|
282
282
|
"@agimon-ai/po-core",
|
|
283
283
|
"@agimon-ai/po-web-components",
|
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
]
|
|
286
286
|
},
|
|
287
287
|
"@agimon-ai/po-read": {
|
|
288
|
-
"version": "0.0.0-alpha.
|
|
288
|
+
"version": "0.0.0-alpha.25",
|
|
289
289
|
"dependencies": [
|
|
290
290
|
"@agimon-ai/po-config",
|
|
291
291
|
"@agimon-ai/po-core",
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
]
|
|
296
296
|
},
|
|
297
297
|
"@agimon-ai/po-runner": {
|
|
298
|
-
"version": "0.0.0-alpha.
|
|
298
|
+
"version": "0.0.0-alpha.25",
|
|
299
299
|
"dependencies": [
|
|
300
300
|
"@agimon-ai/po-core",
|
|
301
301
|
"@agimon-ai/po-telemetry",
|
|
@@ -305,19 +305,19 @@
|
|
|
305
305
|
]
|
|
306
306
|
},
|
|
307
307
|
"@agimon-ai/po-sandbox": {
|
|
308
|
-
"version": "0.0.0-alpha.
|
|
308
|
+
"version": "0.0.0-alpha.25",
|
|
309
309
|
"dependencies": [
|
|
310
310
|
"@agimon-ai/po-core"
|
|
311
311
|
]
|
|
312
312
|
},
|
|
313
313
|
"@agimon-ai/po-session": {
|
|
314
|
-
"version": "0.0.0-alpha.
|
|
314
|
+
"version": "0.0.0-alpha.25",
|
|
315
315
|
"dependencies": [
|
|
316
316
|
"@agimon-ai/po-core"
|
|
317
317
|
]
|
|
318
318
|
},
|
|
319
319
|
"@agimon-ai/po-skill": {
|
|
320
|
-
"version": "0.0.0-alpha.
|
|
320
|
+
"version": "0.0.0-alpha.25",
|
|
321
321
|
"dependencies": [
|
|
322
322
|
"@agimon-ai/po-config",
|
|
323
323
|
"@agimon-ai/po-core",
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
]
|
|
328
328
|
},
|
|
329
329
|
"@agimon-ai/po-style-system": {
|
|
330
|
-
"version": "0.0.0-alpha.
|
|
330
|
+
"version": "0.0.0-alpha.25",
|
|
331
331
|
"dependencies": [
|
|
332
332
|
"@agimon-ai/po-core",
|
|
333
333
|
"@agimon-ai/po-web-components",
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
]
|
|
336
336
|
},
|
|
337
337
|
"@agimon-ai/po-task": {
|
|
338
|
-
"version": "0.0.0-alpha.
|
|
338
|
+
"version": "0.0.0-alpha.25",
|
|
339
339
|
"dependencies": [
|
|
340
340
|
"@agimon-ai/po-core",
|
|
341
341
|
"@agimon-ai/po-telemetry",
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
]
|
|
345
345
|
},
|
|
346
346
|
"@agimon-ai/po-team": {
|
|
347
|
-
"version": "0.0.0-alpha.
|
|
347
|
+
"version": "0.0.0-alpha.25",
|
|
348
348
|
"dependencies": [
|
|
349
349
|
"@agimon-ai/po-cache",
|
|
350
350
|
"@agimon-ai/po-config",
|
|
@@ -357,11 +357,11 @@
|
|
|
357
357
|
]
|
|
358
358
|
},
|
|
359
359
|
"@agimon-ai/po-telemetry": {
|
|
360
|
-
"version": "0.0.0-alpha.
|
|
360
|
+
"version": "0.0.0-alpha.25",
|
|
361
361
|
"dependencies": []
|
|
362
362
|
},
|
|
363
363
|
"@agimon-ai/po-template-advanced": {
|
|
364
|
-
"version": "0.0.0-alpha.
|
|
364
|
+
"version": "0.0.0-alpha.25",
|
|
365
365
|
"dependencies": [
|
|
366
366
|
"@agimon-ai/po-core",
|
|
367
367
|
"@agimon-ai/po-web-components",
|
|
@@ -369,7 +369,7 @@
|
|
|
369
369
|
]
|
|
370
370
|
},
|
|
371
371
|
"@agimon-ai/po-template-elegant": {
|
|
372
|
-
"version": "0.0.0-alpha.
|
|
372
|
+
"version": "0.0.0-alpha.25",
|
|
373
373
|
"dependencies": [
|
|
374
374
|
"@agimon-ai/po-core",
|
|
375
375
|
"@agimon-ai/po-web-components",
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
]
|
|
378
378
|
},
|
|
379
379
|
"@agimon-ai/po-ui": {
|
|
380
|
-
"version": "0.0.0-alpha.
|
|
380
|
+
"version": "0.0.0-alpha.25",
|
|
381
381
|
"dependencies": [
|
|
382
382
|
"@agimon-ai/po-core",
|
|
383
383
|
"@agimon-ai/po-hashline",
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
]
|
|
388
388
|
},
|
|
389
389
|
"@agimon-ai/po-user-feedback": {
|
|
390
|
-
"version": "0.0.0-alpha.
|
|
390
|
+
"version": "0.0.0-alpha.25",
|
|
391
391
|
"dependencies": [
|
|
392
392
|
"@agimon-ai/po-core",
|
|
393
393
|
"@agimon-ai/po-minor-mode",
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
]
|
|
397
397
|
},
|
|
398
398
|
"@agimon-ai/po-voice": {
|
|
399
|
-
"version": "0.0.0-alpha.
|
|
399
|
+
"version": "0.0.0-alpha.25",
|
|
400
400
|
"dependencies": [
|
|
401
401
|
"@agimon-ai/po-config",
|
|
402
402
|
"@agimon-ai/po-core",
|
|
@@ -409,11 +409,11 @@
|
|
|
409
409
|
]
|
|
410
410
|
},
|
|
411
411
|
"@agimon-ai/po-web-components": {
|
|
412
|
-
"version": "0.0.0-alpha.
|
|
412
|
+
"version": "0.0.0-alpha.25",
|
|
413
413
|
"dependencies": []
|
|
414
414
|
},
|
|
415
415
|
"@agimon-ai/po-web-dashboard": {
|
|
416
|
-
"version": "0.0.0-alpha.
|
|
416
|
+
"version": "0.0.0-alpha.25",
|
|
417
417
|
"dependencies": [
|
|
418
418
|
"@agimon-ai/po-core",
|
|
419
419
|
"@agimon-ai/po-web-components",
|
|
@@ -421,18 +421,18 @@
|
|
|
421
421
|
]
|
|
422
422
|
},
|
|
423
423
|
"@agimon-ai/po-web-search": {
|
|
424
|
-
"version": "0.0.0-alpha.
|
|
424
|
+
"version": "0.0.0-alpha.24",
|
|
425
425
|
"dependencies": [
|
|
426
426
|
"@agimon-ai/po-core",
|
|
427
427
|
"@agimon-ai/po-web-components"
|
|
428
428
|
]
|
|
429
429
|
},
|
|
430
430
|
"@agimon-ai/po-web-security": {
|
|
431
|
-
"version": "0.0.0-alpha.
|
|
431
|
+
"version": "0.0.0-alpha.25",
|
|
432
432
|
"dependencies": []
|
|
433
433
|
},
|
|
434
434
|
"@agimon-ai/po-workflow": {
|
|
435
|
-
"version": "0.0.0-alpha.
|
|
435
|
+
"version": "0.0.0-alpha.25",
|
|
436
436
|
"dependencies": [
|
|
437
437
|
"@agimon-ai/po-core",
|
|
438
438
|
"@agimon-ai/po-minor-mode",
|
package/dist/repository.cjs
CHANGED
|
@@ -3,3 +3,4 @@ const require_index = require("./src/composition/repository/index.cjs");
|
|
|
3
3
|
exports.findRepositoryRoot = require_index.findRepositoryRoot;
|
|
4
4
|
exports.isRepositoryRoot = require_index.isRepositoryRoot;
|
|
5
5
|
exports.resolvePoConfigurationRoot = require_index.resolvePoConfigurationRoot;
|
|
6
|
+
exports.resolveWorkspaceRoot = require_index.resolveWorkspaceRoot;
|
package/dist/repository.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { findRepositoryRoot, isRepositoryRoot, resolvePoConfigurationRoot } from "./src/composition/repository/index.mjs";
|
|
2
|
-
export { findRepositoryRoot, isRepositoryRoot, resolvePoConfigurationRoot };
|
|
1
|
+
import { findRepositoryRoot, isRepositoryRoot, resolvePoConfigurationRoot, resolveWorkspaceRoot } from "./src/composition/repository/index.mjs";
|
|
2
|
+
export { findRepositoryRoot, isRepositoryRoot, resolvePoConfigurationRoot, resolveWorkspaceRoot };
|
package/dist/repository.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { findRepositoryRoot, isRepositoryRoot, resolvePoConfigurationRoot } from "./src/composition/repository/index.mjs";
|
|
1
|
+
export { findRepositoryRoot, isRepositoryRoot, resolvePoConfigurationRoot, resolveWorkspaceRoot } from "./src/composition/repository/index.mjs";
|
|
@@ -696,9 +696,10 @@ async function runServerRuntime(options, runtime) {
|
|
|
696
696
|
syncCheckpoint(globalRoot, "The global scope");
|
|
697
697
|
if (!backgroundSync.syncing) backgroundSync.request("server start");
|
|
698
698
|
const admissions = /* @__PURE__ */ new Map();
|
|
699
|
-
const isMemberCheckout = (from, workspace) =>
|
|
699
|
+
const isMemberCheckout = (from, workspace) => require_index$1.resolveWorkspaceRoot(from) !== workspace.root;
|
|
700
700
|
admitWorkspace = async (from, requestedName) => {
|
|
701
|
-
|
|
701
|
+
if (!node_fs.default.statSync(from, { throwIfNoEntry: false })?.isDirectory()) throw new Error(`Folder not found: ${from}`);
|
|
702
|
+
const checkoutRoot = require_index$1.resolveWorkspaceRoot(from);
|
|
702
703
|
const { id, root, moved } = (0, _agimon_ai_po_core_history.identifyWorkspace)({
|
|
703
704
|
records: workspaces.list(),
|
|
704
705
|
checkoutRoot,
|
|
@@ -798,7 +799,7 @@ async function runServerRuntime(options, runtime) {
|
|
|
798
799
|
if (workspaces.list().some((workspace) => workspace.id === record.workspaceId)) continue;
|
|
799
800
|
try {
|
|
800
801
|
const candidate = record.groupingRoot ?? record.cwd;
|
|
801
|
-
const root =
|
|
802
|
+
const root = require_index$1.resolveWorkspaceRoot(candidate);
|
|
802
803
|
if ((record.groupingRoot === void 0 || root === candidate) && !workspaces.list().some((workspace) => workspace.root === root)) workspaces.add({
|
|
803
804
|
id: record.workspaceId,
|
|
804
805
|
root
|
|
@@ -814,7 +815,7 @@ async function runServerRuntime(options, runtime) {
|
|
|
814
815
|
available: false
|
|
815
816
|
});
|
|
816
817
|
try {
|
|
817
|
-
if (
|
|
818
|
+
if (require_index$1.resolveWorkspaceRoot(workspace.root) !== workspace.root) {
|
|
818
819
|
notice(`Workspace '${workspace.root}' no longer resolves to its recorded identity; leaving it unavailable.`);
|
|
819
820
|
continue;
|
|
820
821
|
}
|
|
@@ -1219,12 +1220,12 @@ async function runServerRuntime(options, runtime) {
|
|
|
1219
1220
|
const validateExecution = (target, workspaceId) => {
|
|
1220
1221
|
const root = hub.workspaces().find((workspace) => workspace.id === workspaceId && workspace.available !== false)?.root;
|
|
1221
1222
|
if (!root || target.groupingRoot !== root || target.workspaceId && target.workspaceId !== workspaceId) throw new Error("Saved session does not belong to this workspace.");
|
|
1222
|
-
if (
|
|
1223
|
+
if (require_index$1.resolveWorkspaceRoot(target.cwd) !== target.repoRoot) throw new Error("Saved session checkout is unavailable.");
|
|
1223
1224
|
};
|
|
1224
1225
|
const reviveRecord = async (record) => {
|
|
1225
1226
|
const groupingRoot = hub.workspaces().find((workspace) => workspace.id === record.workspaceId && workspace.available !== false)?.root;
|
|
1226
1227
|
if (!groupingRoot || record.groupingRoot !== void 0 && groupingRoot !== record.groupingRoot) throw new Error("The session workspace is unavailable.");
|
|
1227
|
-
if (record.repoRoot !== void 0 &&
|
|
1228
|
+
if (record.repoRoot !== void 0 && require_index$1.resolveWorkspaceRoot(record.cwd) !== record.repoRoot) throw new Error("The session checkout has changed.");
|
|
1228
1229
|
await openSession({
|
|
1229
1230
|
cwd: record.cwd,
|
|
1230
1231
|
name: record.name,
|
|
@@ -1275,7 +1276,7 @@ async function runServerRuntime(options, runtime) {
|
|
|
1275
1276
|
readDormantTranscript: (record, request, context) => {
|
|
1276
1277
|
const workspaceRoot = hub.workspaces().find((workspace) => workspace.id === record.workspaceId)?.root;
|
|
1277
1278
|
if (!workspaceRoot || record.groupingRoot !== void 0 && record.groupingRoot !== workspaceRoot) throw new Error("Saved transcript unavailable.");
|
|
1278
|
-
const owner =
|
|
1279
|
+
const owner = require_index$1.resolveWorkspaceRoot(record.cwd);
|
|
1279
1280
|
if (record.repoRoot !== void 0 && record.repoRoot !== owner) throw new Error("Saved transcript checkout has changed.");
|
|
1280
1281
|
return (0, _agimon_ai_po_core_history.readSqliteTranscript)(platform.sessions, record.sessionId, request, context, {
|
|
1281
1282
|
sessionId: record.sessionId,
|