@agimon-ai/po 0.0.0-alpha.18 → 0.0.0-alpha.19
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/README.md +2 -2
- package/dist/catalog/index.json +52 -51
- package/dist/src/builders/server/logSink.cjs +3 -3
- package/dist/src/builders/server/logSink.cjs.map +1 -1
- package/dist/src/builders/server/logSink.mjs +2 -2
- package/dist/src/builders/server/logSink.mjs.map +1 -1
- package/package.json +20 -20
package/README.md
CHANGED
|
@@ -395,7 +395,7 @@ choices, and accepts the next spoken response as an ordinary user message.
|
|
|
395
395
|
|
|
396
396
|
Po logging records operational metadata such as counters, spans, session IDs, tool names, and
|
|
397
397
|
errors. Callers remain responsible for values they attach to telemetry. Native diagnostics expose
|
|
398
|
-
current-session metrics, and [`@agimon-ai/
|
|
398
|
+
current-session metrics, and [`@agimon-ai/po-logsink`][pkg-po-logsink] provides historical lookup
|
|
399
399
|
when a sink is configured.
|
|
400
400
|
|
|
401
401
|
### Modes and automation
|
|
@@ -749,7 +749,7 @@ loaded extension graph inside the same release boundary as the packages that con
|
|
|
749
749
|
[pkg-po-help]: https://www.npmjs.com/package/@agimon-ai/po-help
|
|
750
750
|
[pkg-po-mcp]: https://www.npmjs.com/package/@agimon-ai/po-mcp
|
|
751
751
|
[pkg-po-user-feedback]: https://www.npmjs.com/package/@agimon-ai/po-user-feedback
|
|
752
|
-
[pkg-
|
|
752
|
+
[pkg-po-logsink]: ../../tooling/po-logsink/README.md
|
|
753
753
|
[pkg-po-plan]: https://www.npmjs.com/package/@agimon-ai/po-plan
|
|
754
754
|
[pkg-po-loop]: https://www.npmjs.com/package/@agimon-ai/po-loop
|
|
755
755
|
[pkg-po-goal]: https://www.npmjs.com/package/@agimon-ai/po-goal
|
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.19",
|
|
6
6
|
"dependencies": [
|
|
7
7
|
"@agimon-ai/po-artifact",
|
|
8
8
|
"@agimon-ai/po-autostop",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
25
|
"@agimon-ai/po-artifact": {
|
|
26
|
-
"version": "0.0.0-alpha.
|
|
26
|
+
"version": "0.0.0-alpha.17",
|
|
27
27
|
"dependencies": [
|
|
28
28
|
"@agimon-ai/po-core",
|
|
29
29
|
"@agimon-ai/po-web-components",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
]
|
|
32
32
|
},
|
|
33
33
|
"@agimon-ai/po-author": {
|
|
34
|
-
"version": "0.0.0-alpha.
|
|
34
|
+
"version": "0.0.0-alpha.18",
|
|
35
35
|
"dependencies": [
|
|
36
36
|
"@agimon-ai/po-artifact",
|
|
37
37
|
"@agimon-ai/po-core",
|
|
@@ -41,33 +41,34 @@
|
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
43
|
"@agimon-ai/po-autocompact": {
|
|
44
|
-
"version": "0.0.0-alpha.
|
|
44
|
+
"version": "0.0.0-alpha.18",
|
|
45
45
|
"dependencies": [
|
|
46
|
+
"@agimon-ai/po-artifact",
|
|
46
47
|
"@agimon-ai/po-config",
|
|
47
48
|
"@agimon-ai/po-core",
|
|
48
49
|
"@agimon-ai/po-telemetry"
|
|
49
50
|
]
|
|
50
51
|
},
|
|
51
52
|
"@agimon-ai/po-autostop": {
|
|
52
|
-
"version": "0.0.0-alpha.
|
|
53
|
+
"version": "0.0.0-alpha.18",
|
|
53
54
|
"dependencies": [
|
|
54
55
|
"@agimon-ai/po-core",
|
|
55
56
|
"@agimon-ai/po-telemetry"
|
|
56
57
|
]
|
|
57
58
|
},
|
|
58
59
|
"@agimon-ai/po-browse": {
|
|
59
|
-
"version": "0.0.1-alpha.
|
|
60
|
+
"version": "0.0.1-alpha.16",
|
|
60
61
|
"dependencies": [
|
|
61
62
|
"@agimon-ai/po-core",
|
|
62
63
|
"@agimon-ai/po-web-components"
|
|
63
64
|
]
|
|
64
65
|
},
|
|
65
66
|
"@agimon-ai/po-build": {
|
|
66
|
-
"version": "0.0.0-alpha.
|
|
67
|
+
"version": "0.0.0-alpha.18",
|
|
67
68
|
"dependencies": []
|
|
68
69
|
},
|
|
69
70
|
"@agimon-ai/po-cache": {
|
|
70
|
-
"version": "0.0.0-alpha.
|
|
71
|
+
"version": "0.0.0-alpha.18",
|
|
71
72
|
"dependencies": [
|
|
72
73
|
"@agimon-ai/po-config",
|
|
73
74
|
"@agimon-ai/po-core",
|
|
@@ -75,7 +76,7 @@
|
|
|
75
76
|
]
|
|
76
77
|
},
|
|
77
78
|
"@agimon-ai/po-computer-use": {
|
|
78
|
-
"version": "0.0.0-alpha.
|
|
79
|
+
"version": "0.0.0-alpha.18",
|
|
79
80
|
"dependencies": [
|
|
80
81
|
"@agimon-ai/po-config",
|
|
81
82
|
"@agimon-ai/po-core",
|
|
@@ -85,7 +86,7 @@
|
|
|
85
86
|
]
|
|
86
87
|
},
|
|
87
88
|
"@agimon-ai/po-config": {
|
|
88
|
-
"version": "0.0.0-alpha.
|
|
89
|
+
"version": "0.0.0-alpha.18",
|
|
89
90
|
"dependencies": [
|
|
90
91
|
"@agimon-ai/po-core",
|
|
91
92
|
"@agimon-ai/po-telemetry",
|
|
@@ -93,14 +94,14 @@
|
|
|
93
94
|
]
|
|
94
95
|
},
|
|
95
96
|
"@agimon-ai/po-core": {
|
|
96
|
-
"version": "0.0.0-alpha.
|
|
97
|
+
"version": "0.0.0-alpha.18",
|
|
97
98
|
"dependencies": [
|
|
98
99
|
"@agimon-ai/po-telemetry",
|
|
99
100
|
"@agimon-ai/po-web-security"
|
|
100
101
|
]
|
|
101
102
|
},
|
|
102
103
|
"@agimon-ai/po-domain": {
|
|
103
|
-
"version": "0.0.0-alpha.
|
|
104
|
+
"version": "0.0.0-alpha.18",
|
|
104
105
|
"dependencies": [
|
|
105
106
|
"@agimon-ai/po-config",
|
|
106
107
|
"@agimon-ai/po-core",
|
|
@@ -109,7 +110,7 @@
|
|
|
109
110
|
]
|
|
110
111
|
},
|
|
111
112
|
"@agimon-ai/po-edit": {
|
|
112
|
-
"version": "0.0.0-alpha.
|
|
113
|
+
"version": "0.0.0-alpha.18",
|
|
113
114
|
"dependencies": [
|
|
114
115
|
"@agimon-ai/po-core",
|
|
115
116
|
"@agimon-ai/po-hashline",
|
|
@@ -118,7 +119,7 @@
|
|
|
118
119
|
]
|
|
119
120
|
},
|
|
120
121
|
"@agimon-ai/po-file-edit": {
|
|
121
|
-
"version": "0.0.0-alpha.
|
|
122
|
+
"version": "0.0.0-alpha.18",
|
|
122
123
|
"dependencies": [
|
|
123
124
|
"@agimon-ai/po-config",
|
|
124
125
|
"@agimon-ai/po-core",
|
|
@@ -129,7 +130,7 @@
|
|
|
129
130
|
]
|
|
130
131
|
},
|
|
131
132
|
"@agimon-ai/po-git": {
|
|
132
|
-
"version": "0.0.0-alpha.
|
|
133
|
+
"version": "0.0.0-alpha.18",
|
|
133
134
|
"dependencies": [
|
|
134
135
|
"@agimon-ai/po-core",
|
|
135
136
|
"@agimon-ai/po-session",
|
|
@@ -138,7 +139,7 @@
|
|
|
138
139
|
]
|
|
139
140
|
},
|
|
140
141
|
"@agimon-ai/po-goal": {
|
|
141
|
-
"version": "0.0.0-alpha.
|
|
142
|
+
"version": "0.0.0-alpha.18",
|
|
142
143
|
"dependencies": [
|
|
143
144
|
"@agimon-ai/po-core",
|
|
144
145
|
"@agimon-ai/po-minor-mode",
|
|
@@ -147,7 +148,7 @@
|
|
|
147
148
|
]
|
|
148
149
|
},
|
|
149
150
|
"@agimon-ai/po-grep": {
|
|
150
|
-
"version": "0.0.0-alpha.
|
|
151
|
+
"version": "0.0.0-alpha.18",
|
|
151
152
|
"dependencies": [
|
|
152
153
|
"@agimon-ai/po-core",
|
|
153
154
|
"@agimon-ai/po-hashline",
|
|
@@ -156,11 +157,11 @@
|
|
|
156
157
|
]
|
|
157
158
|
},
|
|
158
159
|
"@agimon-ai/po-hashline": {
|
|
159
|
-
"version": "0.0.0-alpha.
|
|
160
|
+
"version": "0.0.0-alpha.18",
|
|
160
161
|
"dependencies": []
|
|
161
162
|
},
|
|
162
163
|
"@agimon-ai/po-help": {
|
|
163
|
-
"version": "0.0.0-alpha.
|
|
164
|
+
"version": "0.0.0-alpha.18",
|
|
164
165
|
"dependencies": [
|
|
165
166
|
"@agimon-ai/po-core",
|
|
166
167
|
"@agimon-ai/po-minor-mode",
|
|
@@ -168,7 +169,7 @@
|
|
|
168
169
|
]
|
|
169
170
|
},
|
|
170
171
|
"@agimon-ai/po-hook": {
|
|
171
|
-
"version": "0.0.0-alpha.
|
|
172
|
+
"version": "0.0.0-alpha.18",
|
|
172
173
|
"dependencies": [
|
|
173
174
|
"@agimon-ai/po-config",
|
|
174
175
|
"@agimon-ai/po-core",
|
|
@@ -176,7 +177,7 @@
|
|
|
176
177
|
]
|
|
177
178
|
},
|
|
178
179
|
"@agimon-ai/po-image-gen": {
|
|
179
|
-
"version": "0.0.0-alpha.
|
|
180
|
+
"version": "0.0.0-alpha.17",
|
|
180
181
|
"dependencies": [
|
|
181
182
|
"@agimon-ai/po-core",
|
|
182
183
|
"@agimon-ai/po-web-components",
|
|
@@ -184,7 +185,7 @@
|
|
|
184
185
|
]
|
|
185
186
|
},
|
|
186
187
|
"@agimon-ai/po-log": {
|
|
187
|
-
"version": "0.0.0-alpha.
|
|
188
|
+
"version": "0.0.0-alpha.18",
|
|
188
189
|
"dependencies": [
|
|
189
190
|
"@agimon-ai/po-core",
|
|
190
191
|
"@agimon-ai/po-telemetry",
|
|
@@ -193,7 +194,7 @@
|
|
|
193
194
|
]
|
|
194
195
|
},
|
|
195
196
|
"@agimon-ai/po-loop": {
|
|
196
|
-
"version": "0.0.0-alpha.
|
|
197
|
+
"version": "0.0.0-alpha.18",
|
|
197
198
|
"dependencies": [
|
|
198
199
|
"@agimon-ai/po-core",
|
|
199
200
|
"@agimon-ai/po-minor-mode",
|
|
@@ -202,7 +203,7 @@
|
|
|
202
203
|
]
|
|
203
204
|
},
|
|
204
205
|
"@agimon-ai/po-major-mode": {
|
|
205
|
-
"version": "0.0.0-alpha.
|
|
206
|
+
"version": "0.0.0-alpha.18",
|
|
206
207
|
"dependencies": [
|
|
207
208
|
"@agimon-ai/po-config",
|
|
208
209
|
"@agimon-ai/po-core",
|
|
@@ -211,7 +212,7 @@
|
|
|
211
212
|
]
|
|
212
213
|
},
|
|
213
214
|
"@agimon-ai/po-mcp": {
|
|
214
|
-
"version": "0.0.0-alpha.
|
|
215
|
+
"version": "0.0.0-alpha.18",
|
|
215
216
|
"dependencies": [
|
|
216
217
|
"@agimon-ai/po-config",
|
|
217
218
|
"@agimon-ai/po-core",
|
|
@@ -220,33 +221,33 @@
|
|
|
220
221
|
]
|
|
221
222
|
},
|
|
222
223
|
"@agimon-ai/po-minor-mode": {
|
|
223
|
-
"version": "0.0.0-alpha.
|
|
224
|
+
"version": "0.0.0-alpha.18",
|
|
224
225
|
"dependencies": [
|
|
225
226
|
"@agimon-ai/po-core",
|
|
226
227
|
"@agimon-ai/po-telemetry"
|
|
227
228
|
]
|
|
228
229
|
},
|
|
229
230
|
"@agimon-ai/po-model-guidance": {
|
|
230
|
-
"version": "0.0.0-alpha.
|
|
231
|
+
"version": "0.0.0-alpha.18",
|
|
231
232
|
"dependencies": [
|
|
232
233
|
"@agimon-ai/po-config",
|
|
233
234
|
"@agimon-ai/po-core"
|
|
234
235
|
]
|
|
235
236
|
},
|
|
236
237
|
"@agimon-ai/po-native-components": {
|
|
237
|
-
"version": "0.0.0-alpha.
|
|
238
|
+
"version": "0.0.0-alpha.18",
|
|
238
239
|
"dependencies": [
|
|
239
240
|
"@agimon-ai/po-web-components"
|
|
240
241
|
]
|
|
241
242
|
},
|
|
242
243
|
"@agimon-ai/po-notification": {
|
|
243
|
-
"version": "0.0.0-alpha.
|
|
244
|
+
"version": "0.0.0-alpha.18",
|
|
244
245
|
"dependencies": [
|
|
245
246
|
"@agimon-ai/po-core"
|
|
246
247
|
]
|
|
247
248
|
},
|
|
248
249
|
"@agimon-ai/po-plan": {
|
|
249
|
-
"version": "0.0.0-alpha.
|
|
250
|
+
"version": "0.0.0-alpha.18",
|
|
250
251
|
"dependencies": [
|
|
251
252
|
"@agimon-ai/po-config",
|
|
252
253
|
"@agimon-ai/po-core",
|
|
@@ -257,7 +258,7 @@
|
|
|
257
258
|
]
|
|
258
259
|
},
|
|
259
260
|
"@agimon-ai/po-profile": {
|
|
260
|
-
"version": "0.0.0-alpha.
|
|
261
|
+
"version": "0.0.0-alpha.18",
|
|
261
262
|
"dependencies": [
|
|
262
263
|
"@agimon-ai/po-config",
|
|
263
264
|
"@agimon-ai/po-core",
|
|
@@ -266,7 +267,7 @@
|
|
|
266
267
|
]
|
|
267
268
|
},
|
|
268
269
|
"@agimon-ai/po-prompt": {
|
|
269
|
-
"version": "0.0.0-alpha.
|
|
270
|
+
"version": "0.0.0-alpha.18",
|
|
270
271
|
"dependencies": [
|
|
271
272
|
"@agimon-ai/po-core",
|
|
272
273
|
"@agimon-ai/po-web-components",
|
|
@@ -274,7 +275,7 @@
|
|
|
274
275
|
]
|
|
275
276
|
},
|
|
276
277
|
"@agimon-ai/po-read": {
|
|
277
|
-
"version": "0.0.0-alpha.
|
|
278
|
+
"version": "0.0.0-alpha.18",
|
|
278
279
|
"dependencies": [
|
|
279
280
|
"@agimon-ai/po-config",
|
|
280
281
|
"@agimon-ai/po-core",
|
|
@@ -284,7 +285,7 @@
|
|
|
284
285
|
]
|
|
285
286
|
},
|
|
286
287
|
"@agimon-ai/po-runner": {
|
|
287
|
-
"version": "0.0.0-alpha.
|
|
288
|
+
"version": "0.0.0-alpha.18",
|
|
288
289
|
"dependencies": [
|
|
289
290
|
"@agimon-ai/po-core",
|
|
290
291
|
"@agimon-ai/po-telemetry",
|
|
@@ -294,19 +295,19 @@
|
|
|
294
295
|
]
|
|
295
296
|
},
|
|
296
297
|
"@agimon-ai/po-sandbox": {
|
|
297
|
-
"version": "0.0.0-alpha.
|
|
298
|
+
"version": "0.0.0-alpha.18",
|
|
298
299
|
"dependencies": [
|
|
299
300
|
"@agimon-ai/po-core"
|
|
300
301
|
]
|
|
301
302
|
},
|
|
302
303
|
"@agimon-ai/po-session": {
|
|
303
|
-
"version": "0.0.0-alpha.
|
|
304
|
+
"version": "0.0.0-alpha.18",
|
|
304
305
|
"dependencies": [
|
|
305
306
|
"@agimon-ai/po-core"
|
|
306
307
|
]
|
|
307
308
|
},
|
|
308
309
|
"@agimon-ai/po-skill": {
|
|
309
|
-
"version": "0.0.0-alpha.
|
|
310
|
+
"version": "0.0.0-alpha.18",
|
|
310
311
|
"dependencies": [
|
|
311
312
|
"@agimon-ai/po-config",
|
|
312
313
|
"@agimon-ai/po-core",
|
|
@@ -316,7 +317,7 @@
|
|
|
316
317
|
]
|
|
317
318
|
},
|
|
318
319
|
"@agimon-ai/po-style-system": {
|
|
319
|
-
"version": "0.0.0-alpha.
|
|
320
|
+
"version": "0.0.0-alpha.18",
|
|
320
321
|
"dependencies": [
|
|
321
322
|
"@agimon-ai/po-core",
|
|
322
323
|
"@agimon-ai/po-web-components",
|
|
@@ -324,7 +325,7 @@
|
|
|
324
325
|
]
|
|
325
326
|
},
|
|
326
327
|
"@agimon-ai/po-task": {
|
|
327
|
-
"version": "0.0.0-alpha.
|
|
328
|
+
"version": "0.0.0-alpha.18",
|
|
328
329
|
"dependencies": [
|
|
329
330
|
"@agimon-ai/po-core",
|
|
330
331
|
"@agimon-ai/po-telemetry",
|
|
@@ -333,7 +334,7 @@
|
|
|
333
334
|
]
|
|
334
335
|
},
|
|
335
336
|
"@agimon-ai/po-team": {
|
|
336
|
-
"version": "0.0.0-alpha.
|
|
337
|
+
"version": "0.0.0-alpha.18",
|
|
337
338
|
"dependencies": [
|
|
338
339
|
"@agimon-ai/po-cache",
|
|
339
340
|
"@agimon-ai/po-config",
|
|
@@ -346,11 +347,11 @@
|
|
|
346
347
|
]
|
|
347
348
|
},
|
|
348
349
|
"@agimon-ai/po-telemetry": {
|
|
349
|
-
"version": "0.0.0-alpha.
|
|
350
|
+
"version": "0.0.0-alpha.18",
|
|
350
351
|
"dependencies": []
|
|
351
352
|
},
|
|
352
353
|
"@agimon-ai/po-template-advanced": {
|
|
353
|
-
"version": "0.0.0-alpha.
|
|
354
|
+
"version": "0.0.0-alpha.18",
|
|
354
355
|
"dependencies": [
|
|
355
356
|
"@agimon-ai/po-core",
|
|
356
357
|
"@agimon-ai/po-web-components",
|
|
@@ -358,7 +359,7 @@
|
|
|
358
359
|
]
|
|
359
360
|
},
|
|
360
361
|
"@agimon-ai/po-template-elegant": {
|
|
361
|
-
"version": "0.0.0-alpha.
|
|
362
|
+
"version": "0.0.0-alpha.18",
|
|
362
363
|
"dependencies": [
|
|
363
364
|
"@agimon-ai/po-core",
|
|
364
365
|
"@agimon-ai/po-web-components",
|
|
@@ -366,7 +367,7 @@
|
|
|
366
367
|
]
|
|
367
368
|
},
|
|
368
369
|
"@agimon-ai/po-ui": {
|
|
369
|
-
"version": "0.0.0-alpha.
|
|
370
|
+
"version": "0.0.0-alpha.18",
|
|
370
371
|
"dependencies": [
|
|
371
372
|
"@agimon-ai/po-core",
|
|
372
373
|
"@agimon-ai/po-hashline",
|
|
@@ -376,7 +377,7 @@
|
|
|
376
377
|
]
|
|
377
378
|
},
|
|
378
379
|
"@agimon-ai/po-user-feedback": {
|
|
379
|
-
"version": "0.0.0-alpha.
|
|
380
|
+
"version": "0.0.0-alpha.18",
|
|
380
381
|
"dependencies": [
|
|
381
382
|
"@agimon-ai/po-core",
|
|
382
383
|
"@agimon-ai/po-minor-mode",
|
|
@@ -384,7 +385,7 @@
|
|
|
384
385
|
]
|
|
385
386
|
},
|
|
386
387
|
"@agimon-ai/po-voice": {
|
|
387
|
-
"version": "0.0.0-alpha.
|
|
388
|
+
"version": "0.0.0-alpha.18",
|
|
388
389
|
"dependencies": [
|
|
389
390
|
"@agimon-ai/po-config",
|
|
390
391
|
"@agimon-ai/po-core",
|
|
@@ -397,11 +398,11 @@
|
|
|
397
398
|
]
|
|
398
399
|
},
|
|
399
400
|
"@agimon-ai/po-web-components": {
|
|
400
|
-
"version": "0.0.0-alpha.
|
|
401
|
+
"version": "0.0.0-alpha.18",
|
|
401
402
|
"dependencies": []
|
|
402
403
|
},
|
|
403
404
|
"@agimon-ai/po-web-dashboard": {
|
|
404
|
-
"version": "0.0.0-alpha.
|
|
405
|
+
"version": "0.0.0-alpha.18",
|
|
405
406
|
"dependencies": [
|
|
406
407
|
"@agimon-ai/po-core",
|
|
407
408
|
"@agimon-ai/po-web-components",
|
|
@@ -409,18 +410,18 @@
|
|
|
409
410
|
]
|
|
410
411
|
},
|
|
411
412
|
"@agimon-ai/po-web-search": {
|
|
412
|
-
"version": "0.0.0-alpha.
|
|
413
|
+
"version": "0.0.0-alpha.17",
|
|
413
414
|
"dependencies": [
|
|
414
415
|
"@agimon-ai/po-core",
|
|
415
416
|
"@agimon-ai/po-web-components"
|
|
416
417
|
]
|
|
417
418
|
},
|
|
418
419
|
"@agimon-ai/po-web-security": {
|
|
419
|
-
"version": "0.0.0-alpha.
|
|
420
|
+
"version": "0.0.0-alpha.18",
|
|
420
421
|
"dependencies": []
|
|
421
422
|
},
|
|
422
423
|
"@agimon-ai/po-workflow": {
|
|
423
|
-
"version": "0.0.0-alpha.
|
|
424
|
+
"version": "0.0.0-alpha.18",
|
|
424
425
|
"dependencies": [
|
|
425
426
|
"@agimon-ai/po-core",
|
|
426
427
|
"@agimon-ai/po-minor-mode",
|
|
@@ -2,7 +2,7 @@ let node_child_process = require("node:child_process");
|
|
|
2
2
|
let node_timers_promises = require("node:timers/promises");
|
|
3
3
|
let node_url = require("node:url");
|
|
4
4
|
let node_util = require("node:util");
|
|
5
|
-
let
|
|
5
|
+
let _agimon_ai_po_logsink = require("@agimon-ai/po-logsink");
|
|
6
6
|
//#region src/builders/server/logSink.ts
|
|
7
7
|
const START_TIMEOUT_MS = 5e3;
|
|
8
8
|
const DISCOVERY_TIMEOUT_MS = 4e3;
|
|
@@ -12,7 +12,7 @@ const execFileAsync = (0, node_util.promisify)(node_child_process.execFile);
|
|
|
12
12
|
async function healthy(env) {
|
|
13
13
|
let timer;
|
|
14
14
|
try {
|
|
15
|
-
return await Promise.race([(0,
|
|
15
|
+
return await Promise.race([(0, _agimon_ai_po_logsink.resolveLogSinkPort)({
|
|
16
16
|
env,
|
|
17
17
|
healthCheck: true
|
|
18
18
|
}), new Promise((resolve) => {
|
|
@@ -28,7 +28,7 @@ async function ensureGlobalLogSink(options) {
|
|
|
28
28
|
let failure;
|
|
29
29
|
try {
|
|
30
30
|
if (await healthy(env)) return;
|
|
31
|
-
const cli = (0, node_url.fileURLToPath)({}.resolve("@agimon-ai/
|
|
31
|
+
const cli = (0, node_url.fileURLToPath)({}.resolve("@agimon-ai/po-logsink/cli"));
|
|
32
32
|
await execFileAsync(process.execPath, [
|
|
33
33
|
cli,
|
|
34
34
|
"start",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logSink.cjs","names":["promisify","execFile","resolveLogSinkPort","fileURLToPath","sleep"],"sources":["../../../../src/builders/server/logSink.ts"],"sourcesContent":["import { execFile } from 'node:child_process';\nimport { setTimeout as sleep } from 'node:timers/promises';\nimport { fileURLToPath } from 'node:url';\nimport { promisify } from 'node:util';\n\nimport { resolveLogSinkPort } from '@agimon-ai/
|
|
1
|
+
{"version":3,"file":"logSink.cjs","names":["promisify","execFile","resolveLogSinkPort","fileURLToPath","sleep"],"sources":["../../../../src/builders/server/logSink.ts"],"sourcesContent":["import { execFile } from 'node:child_process';\nimport { setTimeout as sleep } from 'node:timers/promises';\nimport { fileURLToPath } from 'node:url';\nimport { promisify } from 'node:util';\n\nimport { resolveLogSinkPort } from '@agimon-ai/po-logsink';\n\nconst START_TIMEOUT_MS = 5_000;\nconst DISCOVERY_TIMEOUT_MS = 4_000;\nconst HEALTH_TIMEOUT_MS = 750;\nconst DISCOVERY_INTERVAL_MS = 1_100;\n\nconst execFileAsync = promisify(execFile);\n\nasync function healthy(env: NodeJS.ProcessEnv): Promise<boolean> {\n // Registry discovery may wait on a broken daemon's health endpoint. The\n // server must still start, without allowing that endpoint to select a local\n // fallback or hold the startup path indefinitely.\n let timer: NodeJS.Timeout | undefined;\n try {\n const result = await Promise.race([\n resolveLogSinkPort({ env, healthCheck: true }),\n new Promise<undefined>((resolve) => {\n timer = setTimeout(() => resolve(undefined), HEALTH_TIMEOUT_MS);\n }),\n ]);\n return result !== undefined;\n } finally {\n if (timer) clearTimeout(timer);\n }\n}\n\n/** Attach to the shared daemon or start it through its published CLI. Never own its shutdown. */\nexport async function ensureGlobalLogSink(options: {\n cwd: string;\n env: NodeJS.ProcessEnv;\n notice: (message: string) => void;\n}): Promise<void> {\n const { cwd, env, notice } = options;\n let failure: string | undefined;\n try {\n if (await healthy(env)) return;\n const cli = fileURLToPath(import.meta.resolve('@agimon-ai/po-logsink/cli'));\n await execFileAsync(process.execPath, [cli, 'start', '--global', '--http-only'], {\n cwd,\n env,\n timeout: START_TIMEOUT_MS,\n maxBuffer: 64 * 1024,\n });\n } catch (error) {\n failure = error instanceof Error ? error.message : String(error);\n }\n\n const deadline = Date.now() + DISCOVERY_TIMEOUT_MS;\n do {\n if (await healthy(env)) return;\n if (Date.now() + DISCOVERY_INTERVAL_MS > deadline) break;\n await sleep(DISCOVERY_INTERVAL_MS);\n } while (Date.now() < deadline);\n\n notice(`Global log sink unavailable: ${failure ?? 'healthy discovery timed out'}. Telemetry remains nonfatal.`);\n}\n"],"mappings":";;;;;;AAOA,MAAM,mBAAmB;AACzB,MAAM,uBAAuB;AAC7B,MAAM,oBAAoB;AAC1B,MAAM,wBAAwB;AAE9B,MAAM,iBAAA,GAAgBA,UAAAA,UAAAA,CAAUC,mBAAAA,QAAQ;AAExC,eAAe,QAAQ,KAA0C;CAI/D,IAAI;CACJ,IAAI;EAOF,OAAO,MANc,QAAQ,KAAK,EAAA,GAChCC,sBAAAA,mBAAAA,CAAmB;GAAE;GAAK,aAAa;EAAK,CAAC,GAC7C,IAAI,SAAoB,YAAY;GAClC,QAAQ,iBAAiB,QAAQ,KAAA,CAAS,GAAG,iBAAiB;EAChE,CAAC,CACH,CAAC,MACiB,KAAA;CACpB,UAAU;EACR,IAAI,OAAO,aAAa,KAAK;CAC/B;AACF;;AAGA,eAAsB,oBAAoB,SAIxB;CAChB,MAAM,EAAE,KAAK,KAAK,WAAW;CAC7B,IAAI;CACJ,IAAI;EACF,IAAI,MAAM,QAAQ,GAAG,GAAG;EACxB,MAAM,OAAA,GAAMC,SAAAA,cAAAA,CAAAA,CAAAA,EAA0B,QAAQ,2BAA2B,CAAC;EAC1E,MAAM,cAAc,QAAQ,UAAU;GAAC;GAAK;GAAS;GAAY;EAAa,GAAG;GAC/E;GACA;GACA,SAAS;GACT,WAAW;EACb,CAAC;CACH,SAAS,OAAO;EACd,UAAU,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;CACjE;CAEA,MAAM,WAAW,KAAK,IAAI,IAAI;CAC9B,GAAG;EACD,IAAI,MAAM,QAAQ,GAAG,GAAG;EACxB,IAAI,KAAK,IAAI,IAAI,wBAAwB,UAAU;EACnD,OAAA,GAAMC,qBAAAA,WAAAA,CAAM,qBAAqB;CACnC,SAAS,KAAK,IAAI,IAAI;CAEtB,OAAO,gCAAgC,WAAW,8BAA8B,8BAA8B;AAChH"}
|
|
@@ -2,7 +2,7 @@ import { execFile } from "node:child_process";
|
|
|
2
2
|
import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
4
|
import { promisify } from "node:util";
|
|
5
|
-
import { resolveLogSinkPort } from "@agimon-ai/
|
|
5
|
+
import { resolveLogSinkPort } from "@agimon-ai/po-logsink";
|
|
6
6
|
//#region src/builders/server/logSink.ts
|
|
7
7
|
const START_TIMEOUT_MS = 5e3;
|
|
8
8
|
const DISCOVERY_TIMEOUT_MS = 4e3;
|
|
@@ -28,7 +28,7 @@ async function ensureGlobalLogSink(options) {
|
|
|
28
28
|
let failure;
|
|
29
29
|
try {
|
|
30
30
|
if (await healthy(env)) return;
|
|
31
|
-
const cli = fileURLToPath(import.meta.resolve("@agimon-ai/
|
|
31
|
+
const cli = fileURLToPath(import.meta.resolve("@agimon-ai/po-logsink/cli"));
|
|
32
32
|
await execFileAsync(process.execPath, [
|
|
33
33
|
cli,
|
|
34
34
|
"start",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logSink.mjs","names":["sleep"],"sources":["../../../../src/builders/server/logSink.ts"],"sourcesContent":["import { execFile } from 'node:child_process';\nimport { setTimeout as sleep } from 'node:timers/promises';\nimport { fileURLToPath } from 'node:url';\nimport { promisify } from 'node:util';\n\nimport { resolveLogSinkPort } from '@agimon-ai/
|
|
1
|
+
{"version":3,"file":"logSink.mjs","names":["sleep"],"sources":["../../../../src/builders/server/logSink.ts"],"sourcesContent":["import { execFile } from 'node:child_process';\nimport { setTimeout as sleep } from 'node:timers/promises';\nimport { fileURLToPath } from 'node:url';\nimport { promisify } from 'node:util';\n\nimport { resolveLogSinkPort } from '@agimon-ai/po-logsink';\n\nconst START_TIMEOUT_MS = 5_000;\nconst DISCOVERY_TIMEOUT_MS = 4_000;\nconst HEALTH_TIMEOUT_MS = 750;\nconst DISCOVERY_INTERVAL_MS = 1_100;\n\nconst execFileAsync = promisify(execFile);\n\nasync function healthy(env: NodeJS.ProcessEnv): Promise<boolean> {\n // Registry discovery may wait on a broken daemon's health endpoint. The\n // server must still start, without allowing that endpoint to select a local\n // fallback or hold the startup path indefinitely.\n let timer: NodeJS.Timeout | undefined;\n try {\n const result = await Promise.race([\n resolveLogSinkPort({ env, healthCheck: true }),\n new Promise<undefined>((resolve) => {\n timer = setTimeout(() => resolve(undefined), HEALTH_TIMEOUT_MS);\n }),\n ]);\n return result !== undefined;\n } finally {\n if (timer) clearTimeout(timer);\n }\n}\n\n/** Attach to the shared daemon or start it through its published CLI. Never own its shutdown. */\nexport async function ensureGlobalLogSink(options: {\n cwd: string;\n env: NodeJS.ProcessEnv;\n notice: (message: string) => void;\n}): Promise<void> {\n const { cwd, env, notice } = options;\n let failure: string | undefined;\n try {\n if (await healthy(env)) return;\n const cli = fileURLToPath(import.meta.resolve('@agimon-ai/po-logsink/cli'));\n await execFileAsync(process.execPath, [cli, 'start', '--global', '--http-only'], {\n cwd,\n env,\n timeout: START_TIMEOUT_MS,\n maxBuffer: 64 * 1024,\n });\n } catch (error) {\n failure = error instanceof Error ? error.message : String(error);\n }\n\n const deadline = Date.now() + DISCOVERY_TIMEOUT_MS;\n do {\n if (await healthy(env)) return;\n if (Date.now() + DISCOVERY_INTERVAL_MS > deadline) break;\n await sleep(DISCOVERY_INTERVAL_MS);\n } while (Date.now() < deadline);\n\n notice(`Global log sink unavailable: ${failure ?? 'healthy discovery timed out'}. Telemetry remains nonfatal.`);\n}\n"],"mappings":";;;;;;AAOA,MAAM,mBAAmB;AACzB,MAAM,uBAAuB;AAC7B,MAAM,oBAAoB;AAC1B,MAAM,wBAAwB;AAE9B,MAAM,gBAAgB,UAAU,QAAQ;AAExC,eAAe,QAAQ,KAA0C;CAI/D,IAAI;CACJ,IAAI;EAOF,OAAO,MANc,QAAQ,KAAK,CAChC,mBAAmB;GAAE;GAAK,aAAa;EAAK,CAAC,GAC7C,IAAI,SAAoB,YAAY;GAClC,QAAQ,iBAAiB,QAAQ,KAAA,CAAS,GAAG,iBAAiB;EAChE,CAAC,CACH,CAAC,MACiB,KAAA;CACpB,UAAU;EACR,IAAI,OAAO,aAAa,KAAK;CAC/B;AACF;;AAGA,eAAsB,oBAAoB,SAIxB;CAChB,MAAM,EAAE,KAAK,KAAK,WAAW;CAC7B,IAAI;CACJ,IAAI;EACF,IAAI,MAAM,QAAQ,GAAG,GAAG;EACxB,MAAM,MAAM,cAAc,YAAY,QAAQ,2BAA2B,CAAC;EAC1E,MAAM,cAAc,QAAQ,UAAU;GAAC;GAAK;GAAS;GAAY;EAAa,GAAG;GAC/E;GACA;GACA,SAAS;GACT,WAAW;EACb,CAAC;CACH,SAAS,OAAO;EACd,UAAU,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;CACjE;CAEA,MAAM,WAAW,KAAK,IAAI,IAAI;CAC9B,GAAG;EACD,IAAI,MAAM,QAAQ,GAAG,GAAG;EACxB,IAAI,KAAK,IAAI,IAAI,wBAAwB,UAAU;EACnD,MAAMA,aAAM,qBAAqB;CACnC,SAAS,KAAK,IAAI,IAAI;CAEtB,OAAO,gCAAgC,WAAW,8BAA8B,8BAA8B;AAChH"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/po",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.19",
|
|
4
4
|
"description": "Opinionated, composable agent harness for scoped tools, skills, MCP servers, and developer workflows.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent-harness",
|
|
@@ -212,23 +212,23 @@
|
|
|
212
212
|
"registry": "https://registry.npmjs.org/"
|
|
213
213
|
},
|
|
214
214
|
"dependencies": {
|
|
215
|
-
"@agimon-ai/
|
|
216
|
-
"@agimon-ai/po-
|
|
217
|
-
"@agimon-ai/po-
|
|
218
|
-
"@agimon-ai/po-
|
|
219
|
-
"@agimon-ai/po-
|
|
220
|
-
"@agimon-ai/po-
|
|
221
|
-
"@agimon-ai/po-
|
|
222
|
-
"@agimon-ai/po-major-mode": "0.0.0-alpha.
|
|
223
|
-
"@agimon-ai/po-minor-mode": "0.0.0-alpha.
|
|
224
|
-
"@agimon-ai/po-notification": "0.0.0-alpha.
|
|
225
|
-
"@agimon-ai/po-profile": "0.0.0-alpha.
|
|
226
|
-
"@agimon-ai/po-session": "0.0.0-alpha.
|
|
227
|
-
"@agimon-ai/po-skill": "0.0.0-alpha.
|
|
228
|
-
"@agimon-ai/po-telemetry": "0.0.0-alpha.
|
|
229
|
-
"@agimon-ai/po-ui": "0.0.0-alpha.
|
|
230
|
-
"@agimon-ai/po-web-components": "0.0.0-alpha.
|
|
231
|
-
"@agimon-ai/po-web-security": "0.0.0-alpha.
|
|
215
|
+
"@agimon-ai/po-artifact": "0.0.0-alpha.17",
|
|
216
|
+
"@agimon-ai/po-autostop": "0.0.0-alpha.18",
|
|
217
|
+
"@agimon-ai/po-cache": "0.0.0-alpha.18",
|
|
218
|
+
"@agimon-ai/po-config": "0.0.0-alpha.18",
|
|
219
|
+
"@agimon-ai/po-core": "0.0.0-alpha.18",
|
|
220
|
+
"@agimon-ai/po-domain": "0.0.0-alpha.18",
|
|
221
|
+
"@agimon-ai/po-logsink": "0.0.1-alpha.0",
|
|
222
|
+
"@agimon-ai/po-major-mode": "0.0.0-alpha.18",
|
|
223
|
+
"@agimon-ai/po-minor-mode": "0.0.0-alpha.18",
|
|
224
|
+
"@agimon-ai/po-notification": "0.0.0-alpha.18",
|
|
225
|
+
"@agimon-ai/po-profile": "0.0.0-alpha.18",
|
|
226
|
+
"@agimon-ai/po-session": "0.0.0-alpha.18",
|
|
227
|
+
"@agimon-ai/po-skill": "0.0.0-alpha.18",
|
|
228
|
+
"@agimon-ai/po-telemetry": "0.0.0-alpha.18",
|
|
229
|
+
"@agimon-ai/po-ui": "0.0.0-alpha.18",
|
|
230
|
+
"@agimon-ai/po-web-components": "0.0.0-alpha.18",
|
|
231
|
+
"@agimon-ai/po-web-security": "0.0.0-alpha.18",
|
|
232
232
|
"@deepseek-ai/cordis": "4.0.5",
|
|
233
233
|
"@earendil-works/pi-agent-core": "1.3.0",
|
|
234
234
|
"@earendil-works/pi-coding-agent": "1.3.0",
|
|
@@ -249,8 +249,8 @@
|
|
|
249
249
|
"yaml": "2.9.1"
|
|
250
250
|
},
|
|
251
251
|
"devDependencies": {
|
|
252
|
-
"@agimon-ai/po-runner": "0.0.0-alpha.
|
|
253
|
-
"@agimon-ai/vibe-lint-plugin-po-cli": "0.0.0-alpha.
|
|
252
|
+
"@agimon-ai/po-runner": "0.0.0-alpha.18",
|
|
253
|
+
"@agimon-ai/vibe-lint-plugin-po-cli": "0.0.0-alpha.18",
|
|
254
254
|
"@earendil-works/pi-ai": "1.3.0",
|
|
255
255
|
"@modelcontextprotocol/ext-apps": "2.0.3",
|
|
256
256
|
"@modelcontextprotocol/server": "2.3.1",
|