robisie 0.5.42 → 0.5.44
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/CHANGELOG.md +27 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/delivery-local.d.ts +9 -3
- package/dist/delivery-local.js +25 -3
- package/dist/engine/build-id.json +1 -1
- package/dist/engine/bundle-report.json +290 -278
- package/dist/engine/tick.cjs +1260 -920
- package/dist/local-usage.js +9 -7
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.js +17 -3
- package/dist/roles.d.ts +1 -1
- package/dist/roles.js +1 -0
- package/dist/tester-result-reader.d.ts +7 -0
- package/dist/tester-result-reader.js +7 -0
- package/docs/README.en.md +1 -1
- package/docs/README.md +1 -1
- package/package.json +1 -1
- package/roles/ceo-client.md +8 -0
|
@@ -75,506 +75,392 @@
|
|
|
75
75
|
],
|
|
76
76
|
"external": [
|
|
77
77
|
{
|
|
78
|
-
"module": "
|
|
79
|
-
"path": "
|
|
80
|
-
"kind": "
|
|
78
|
+
"module": "packages/client/src/context.ts",
|
|
79
|
+
"path": "node:os",
|
|
80
|
+
"kind": "import-statement",
|
|
81
81
|
"category": "builtin"
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
|
-
"module": "
|
|
85
|
-
"path": "node:
|
|
84
|
+
"module": "packages/client/src/context.ts",
|
|
85
|
+
"path": "node:readline",
|
|
86
86
|
"kind": "import-statement",
|
|
87
87
|
"category": "builtin"
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
|
-
"module": "packages/client/src/
|
|
91
|
-
"path": "node:
|
|
90
|
+
"module": "packages/client/src/context.ts",
|
|
91
|
+
"path": "node:stream",
|
|
92
92
|
"kind": "import-statement",
|
|
93
93
|
"category": "builtin"
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
"module": "packages/client/src/engine-config.ts",
|
|
97
|
-
"path": "node:
|
|
97
|
+
"path": "node:fs",
|
|
98
98
|
"kind": "import-statement",
|
|
99
99
|
"category": "builtin"
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
|
-
"module": "
|
|
103
|
-
"path": "
|
|
104
|
-
"kind": "
|
|
105
|
-
"category": "builtin"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"module": "node_modules/pg/lib/crypto/utils-legacy.js",
|
|
109
|
-
"path": "crypto",
|
|
110
|
-
"kind": "require-call",
|
|
111
|
-
"category": "builtin"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"module": "node_modules/pg/lib/crypto/utils-webcrypto.js",
|
|
115
|
-
"path": "crypto",
|
|
116
|
-
"kind": "require-call",
|
|
117
|
-
"category": "builtin"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"module": "node_modules/pg-connection-string/index.js",
|
|
121
|
-
"path": "fs",
|
|
122
|
-
"kind": "require-call",
|
|
123
|
-
"category": "builtin"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"module": "node_modules/pg/lib/connection-parameters.js",
|
|
127
|
-
"path": "dns",
|
|
128
|
-
"kind": "require-call",
|
|
129
|
-
"category": "builtin"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"module": "node_modules/pg/lib/query.js",
|
|
133
|
-
"path": "events",
|
|
134
|
-
"kind": "require-call",
|
|
135
|
-
"category": "builtin"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"module": "node_modules/pg/lib/stream.js",
|
|
139
|
-
"path": "net",
|
|
140
|
-
"kind": "require-call",
|
|
141
|
-
"category": "builtin"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"module": "node_modules/pg/lib/stream.js",
|
|
145
|
-
"path": "tls",
|
|
146
|
-
"kind": "require-call",
|
|
147
|
-
"category": "builtin"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"module": "node_modules/pg/lib/connection.js",
|
|
151
|
-
"path": "events",
|
|
152
|
-
"kind": "require-call",
|
|
153
|
-
"category": "builtin"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"module": "node_modules/pg/lib/connection.js",
|
|
157
|
-
"path": "net",
|
|
158
|
-
"kind": "require-call",
|
|
159
|
-
"category": "builtin"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"module": "node_modules/split2/index.js",
|
|
163
|
-
"path": "stream",
|
|
164
|
-
"kind": "require-call",
|
|
165
|
-
"category": "builtin"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"module": "node_modules/split2/index.js",
|
|
169
|
-
"path": "string_decoder",
|
|
170
|
-
"kind": "require-call",
|
|
171
|
-
"category": "builtin"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"module": "node_modules/pgpass/lib/helper.js",
|
|
175
|
-
"path": "path",
|
|
176
|
-
"kind": "require-call",
|
|
102
|
+
"module": "packages/client/src/engine-config.ts",
|
|
103
|
+
"path": "node:path",
|
|
104
|
+
"kind": "import-statement",
|
|
177
105
|
"category": "builtin"
|
|
178
106
|
},
|
|
179
107
|
{
|
|
180
|
-
"module": "
|
|
181
|
-
"path": "
|
|
182
|
-
"kind": "
|
|
108
|
+
"module": "packages/client/src/role-registry.ts",
|
|
109
|
+
"path": "node:fs",
|
|
110
|
+
"kind": "import-statement",
|
|
183
111
|
"category": "builtin"
|
|
184
112
|
},
|
|
185
113
|
{
|
|
186
|
-
"module": "
|
|
187
|
-
"path": "
|
|
188
|
-
"kind": "
|
|
114
|
+
"module": "packages/client/src/role-registry.ts",
|
|
115
|
+
"path": "node:path",
|
|
116
|
+
"kind": "import-statement",
|
|
189
117
|
"category": "builtin"
|
|
190
118
|
},
|
|
191
119
|
{
|
|
192
|
-
"module": "
|
|
193
|
-
"path": "
|
|
194
|
-
"kind": "
|
|
120
|
+
"module": "src/lib/planner/done-gate.ts",
|
|
121
|
+
"path": "node:crypto",
|
|
122
|
+
"kind": "import-statement",
|
|
195
123
|
"category": "builtin"
|
|
196
124
|
},
|
|
197
125
|
{
|
|
198
|
-
"module": "node_modules/
|
|
126
|
+
"module": "node_modules/gray-matter/index.js",
|
|
199
127
|
"path": "fs",
|
|
200
128
|
"kind": "require-call",
|
|
201
129
|
"category": "builtin"
|
|
202
130
|
},
|
|
203
131
|
{
|
|
204
|
-
"module": "
|
|
205
|
-
"path": "
|
|
206
|
-
"kind": "
|
|
207
|
-
"category": "builtin"
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"module": "node_modules/pg/lib/client.js",
|
|
211
|
-
"path": "util",
|
|
212
|
-
"kind": "require-call",
|
|
213
|
-
"category": "builtin"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"module": "node_modules/pg-pool/index.js",
|
|
217
|
-
"path": "events",
|
|
218
|
-
"kind": "require-call",
|
|
219
|
-
"category": "builtin"
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"module": "node_modules/pg/lib/native/query.js",
|
|
223
|
-
"path": "events",
|
|
224
|
-
"kind": "require-call",
|
|
225
|
-
"category": "builtin"
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"module": "node_modules/pg/lib/native/query.js",
|
|
229
|
-
"path": "util",
|
|
230
|
-
"kind": "require-call",
|
|
132
|
+
"module": "maszynista/worker-env.ts",
|
|
133
|
+
"path": "node:fs",
|
|
134
|
+
"kind": "import-statement",
|
|
231
135
|
"category": "builtin"
|
|
232
136
|
},
|
|
233
137
|
{
|
|
234
|
-
"module": "
|
|
235
|
-
"path": "
|
|
236
|
-
"kind": "
|
|
138
|
+
"module": "maszynista/worker-env.ts",
|
|
139
|
+
"path": "node:path",
|
|
140
|
+
"kind": "import-statement",
|
|
237
141
|
"category": "builtin"
|
|
238
142
|
},
|
|
239
143
|
{
|
|
240
|
-
"module": "
|
|
241
|
-
"path": "
|
|
242
|
-
"kind": "
|
|
243
|
-
"category": "dynamic/optional"
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
"module": "node_modules/pg/lib/native/client.js",
|
|
247
|
-
"path": "events",
|
|
248
|
-
"kind": "require-call",
|
|
144
|
+
"module": "packages/client/src/local-usage.ts",
|
|
145
|
+
"path": "node:child_process",
|
|
146
|
+
"kind": "import-statement",
|
|
249
147
|
"category": "builtin"
|
|
250
148
|
},
|
|
251
149
|
{
|
|
252
|
-
"module": "
|
|
253
|
-
"path": "
|
|
254
|
-
"kind": "
|
|
150
|
+
"module": "packages/client/src/local-usage.ts",
|
|
151
|
+
"path": "node:crypto",
|
|
152
|
+
"kind": "import-statement",
|
|
255
153
|
"category": "builtin"
|
|
256
154
|
},
|
|
257
155
|
{
|
|
258
|
-
"module": "
|
|
156
|
+
"module": "packages/client/src/local-usage.ts",
|
|
259
157
|
"path": "node:fs",
|
|
260
|
-
"kind": "
|
|
158
|
+
"kind": "import-statement",
|
|
261
159
|
"category": "builtin"
|
|
262
160
|
},
|
|
263
161
|
{
|
|
264
|
-
"module": "
|
|
162
|
+
"module": "packages/client/src/local-usage.ts",
|
|
265
163
|
"path": "node:path",
|
|
266
|
-
"kind": "require-call",
|
|
267
|
-
"category": "builtin"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"module": "src/lib/planner/webhooks/sign.ts",
|
|
271
|
-
"path": "crypto",
|
|
272
164
|
"kind": "import-statement",
|
|
273
165
|
"category": "builtin"
|
|
274
166
|
},
|
|
275
167
|
{
|
|
276
|
-
"module": "
|
|
168
|
+
"module": "maszynista/client-pair.ts",
|
|
277
169
|
"path": "node:crypto",
|
|
278
170
|
"kind": "import-statement",
|
|
279
171
|
"category": "builtin"
|
|
280
172
|
},
|
|
281
173
|
{
|
|
282
|
-
"module": "
|
|
283
|
-
"path": "
|
|
174
|
+
"module": "maszynista/client-pair.ts",
|
|
175
|
+
"path": "node:fs",
|
|
284
176
|
"kind": "import-statement",
|
|
285
177
|
"category": "builtin"
|
|
286
178
|
},
|
|
287
179
|
{
|
|
288
|
-
"module": "
|
|
289
|
-
"path": "node:
|
|
180
|
+
"module": "maszynista/client-pair.ts",
|
|
181
|
+
"path": "node:path",
|
|
290
182
|
"kind": "import-statement",
|
|
291
183
|
"category": "builtin"
|
|
292
184
|
},
|
|
293
185
|
{
|
|
294
|
-
"module": "
|
|
295
|
-
"path": "node:
|
|
186
|
+
"module": "maszynista/client-pair.ts",
|
|
187
|
+
"path": "node:util",
|
|
296
188
|
"kind": "import-statement",
|
|
297
189
|
"category": "builtin"
|
|
298
190
|
},
|
|
299
191
|
{
|
|
300
|
-
"module": "
|
|
301
|
-
"path": "node:
|
|
192
|
+
"module": "maszynista/local-delivery.ts",
|
|
193
|
+
"path": "node:crypto",
|
|
302
194
|
"kind": "import-statement",
|
|
303
195
|
"category": "builtin"
|
|
304
196
|
},
|
|
305
197
|
{
|
|
306
|
-
"module": "
|
|
307
|
-
"path": "node:
|
|
198
|
+
"module": "maszynista/local-delivery.ts",
|
|
199
|
+
"path": "node:fs",
|
|
308
200
|
"kind": "import-statement",
|
|
309
201
|
"category": "builtin"
|
|
310
202
|
},
|
|
311
203
|
{
|
|
312
|
-
"module": "
|
|
313
|
-
"path": "node:
|
|
204
|
+
"module": "maszynista/local-delivery.ts",
|
|
205
|
+
"path": "node:path",
|
|
314
206
|
"kind": "import-statement",
|
|
315
207
|
"category": "builtin"
|
|
316
208
|
},
|
|
317
209
|
{
|
|
318
|
-
"module": "
|
|
319
|
-
"path": "node:
|
|
210
|
+
"module": "maszynista/worker-backend.ts",
|
|
211
|
+
"path": "node:child_process",
|
|
320
212
|
"kind": "import-statement",
|
|
321
213
|
"category": "builtin"
|
|
322
214
|
},
|
|
323
215
|
{
|
|
324
|
-
"module": "maszynista/worker-
|
|
216
|
+
"module": "maszynista/worker-backend.ts",
|
|
325
217
|
"path": "node:fs",
|
|
326
218
|
"kind": "import-statement",
|
|
327
219
|
"category": "builtin"
|
|
328
220
|
},
|
|
329
221
|
{
|
|
330
|
-
"module": "maszynista/worker-
|
|
331
|
-
"path": "node:
|
|
222
|
+
"module": "maszynista/worker-backend.ts",
|
|
223
|
+
"path": "node:crypto",
|
|
332
224
|
"kind": "import-statement",
|
|
333
225
|
"category": "builtin"
|
|
334
226
|
},
|
|
335
227
|
{
|
|
336
|
-
"module": "
|
|
337
|
-
"path": "node:
|
|
228
|
+
"module": "maszynista/worker-backend.ts",
|
|
229
|
+
"path": "node:util",
|
|
338
230
|
"kind": "import-statement",
|
|
339
231
|
"category": "builtin"
|
|
340
232
|
},
|
|
341
233
|
{
|
|
342
|
-
"module": "
|
|
343
|
-
"path": "node:
|
|
234
|
+
"module": "maszynista/worker-backend.ts",
|
|
235
|
+
"path": "node:path",
|
|
344
236
|
"kind": "import-statement",
|
|
345
237
|
"category": "builtin"
|
|
346
238
|
},
|
|
347
239
|
{
|
|
348
|
-
"module": "
|
|
349
|
-
"path": "node:
|
|
240
|
+
"module": "maszynista/worker-backend.ts",
|
|
241
|
+
"path": "node:url",
|
|
350
242
|
"kind": "import-statement",
|
|
351
243
|
"category": "builtin"
|
|
352
244
|
},
|
|
353
245
|
{
|
|
354
|
-
"module": "
|
|
355
|
-
"path": "node:
|
|
246
|
+
"module": "maszynista/worker-backend.ts",
|
|
247
|
+
"path": "node:sqlite",
|
|
356
248
|
"kind": "import-statement",
|
|
357
249
|
"category": "builtin"
|
|
358
250
|
},
|
|
359
251
|
{
|
|
360
|
-
"module": "maszynista/
|
|
252
|
+
"module": "maszynista/local-tester.ts",
|
|
361
253
|
"path": "node:crypto",
|
|
362
254
|
"kind": "import-statement",
|
|
363
255
|
"category": "builtin"
|
|
364
256
|
},
|
|
365
257
|
{
|
|
366
|
-
"module": "maszynista/
|
|
258
|
+
"module": "maszynista/local-tester.ts",
|
|
367
259
|
"path": "node:fs",
|
|
368
260
|
"kind": "import-statement",
|
|
369
261
|
"category": "builtin"
|
|
370
262
|
},
|
|
371
263
|
{
|
|
372
|
-
"module": "maszynista/
|
|
264
|
+
"module": "maszynista/local-tester.ts",
|
|
373
265
|
"path": "node:path",
|
|
374
266
|
"kind": "import-statement",
|
|
375
267
|
"category": "builtin"
|
|
376
268
|
},
|
|
377
269
|
{
|
|
378
|
-
"module": "maszynista/
|
|
270
|
+
"module": "maszynista/local-tester.ts",
|
|
379
271
|
"path": "node:util",
|
|
380
272
|
"kind": "import-statement",
|
|
381
273
|
"category": "builtin"
|
|
382
274
|
},
|
|
383
275
|
{
|
|
384
|
-
"module": "maszynista/
|
|
385
|
-
"path": "node:
|
|
276
|
+
"module": "maszynista/engine-standalone.ts",
|
|
277
|
+
"path": "node:path",
|
|
386
278
|
"kind": "import-statement",
|
|
387
279
|
"category": "builtin"
|
|
388
280
|
},
|
|
389
281
|
{
|
|
390
|
-
"module": "
|
|
391
|
-
"path": "
|
|
392
|
-
"kind": "
|
|
282
|
+
"module": "node_modules/pg/lib/utils.js",
|
|
283
|
+
"path": "util",
|
|
284
|
+
"kind": "require-call",
|
|
393
285
|
"category": "builtin"
|
|
394
286
|
},
|
|
395
287
|
{
|
|
396
|
-
"module": "
|
|
397
|
-
"path": "
|
|
398
|
-
"kind": "
|
|
288
|
+
"module": "node_modules/pg/lib/crypto/utils-legacy.js",
|
|
289
|
+
"path": "crypto",
|
|
290
|
+
"kind": "require-call",
|
|
399
291
|
"category": "builtin"
|
|
400
292
|
},
|
|
401
293
|
{
|
|
402
|
-
"module": "
|
|
403
|
-
"path": "
|
|
404
|
-
"kind": "
|
|
294
|
+
"module": "node_modules/pg/lib/crypto/utils-webcrypto.js",
|
|
295
|
+
"path": "crypto",
|
|
296
|
+
"kind": "require-call",
|
|
405
297
|
"category": "builtin"
|
|
406
298
|
},
|
|
407
299
|
{
|
|
408
|
-
"module": "
|
|
409
|
-
"path": "
|
|
410
|
-
"kind": "
|
|
300
|
+
"module": "node_modules/pg-connection-string/index.js",
|
|
301
|
+
"path": "fs",
|
|
302
|
+
"kind": "require-call",
|
|
411
303
|
"category": "builtin"
|
|
412
304
|
},
|
|
413
305
|
{
|
|
414
|
-
"module": "
|
|
415
|
-
"path": "
|
|
416
|
-
"kind": "
|
|
306
|
+
"module": "node_modules/pg/lib/connection-parameters.js",
|
|
307
|
+
"path": "dns",
|
|
308
|
+
"kind": "require-call",
|
|
417
309
|
"category": "builtin"
|
|
418
310
|
},
|
|
419
311
|
{
|
|
420
|
-
"module": "
|
|
421
|
-
"path": "
|
|
422
|
-
"kind": "
|
|
312
|
+
"module": "node_modules/pg/lib/query.js",
|
|
313
|
+
"path": "events",
|
|
314
|
+
"kind": "require-call",
|
|
423
315
|
"category": "builtin"
|
|
424
316
|
},
|
|
425
317
|
{
|
|
426
|
-
"module": "
|
|
427
|
-
"path": "
|
|
428
|
-
"kind": "
|
|
318
|
+
"module": "node_modules/pg/lib/stream.js",
|
|
319
|
+
"path": "net",
|
|
320
|
+
"kind": "require-call",
|
|
429
321
|
"category": "builtin"
|
|
430
322
|
},
|
|
431
323
|
{
|
|
432
|
-
"module": "
|
|
433
|
-
"path": "
|
|
434
|
-
"kind": "
|
|
324
|
+
"module": "node_modules/pg/lib/stream.js",
|
|
325
|
+
"path": "tls",
|
|
326
|
+
"kind": "require-call",
|
|
435
327
|
"category": "builtin"
|
|
436
328
|
},
|
|
437
329
|
{
|
|
438
|
-
"module": "
|
|
439
|
-
"path": "
|
|
440
|
-
"kind": "
|
|
330
|
+
"module": "node_modules/pg/lib/connection.js",
|
|
331
|
+
"path": "events",
|
|
332
|
+
"kind": "require-call",
|
|
441
333
|
"category": "builtin"
|
|
442
334
|
},
|
|
443
335
|
{
|
|
444
|
-
"module": "
|
|
445
|
-
"path": "
|
|
446
|
-
"kind": "
|
|
336
|
+
"module": "node_modules/pg/lib/connection.js",
|
|
337
|
+
"path": "net",
|
|
338
|
+
"kind": "require-call",
|
|
447
339
|
"category": "builtin"
|
|
448
340
|
},
|
|
449
341
|
{
|
|
450
|
-
"module": "
|
|
451
|
-
"path": "
|
|
452
|
-
"kind": "
|
|
342
|
+
"module": "node_modules/split2/index.js",
|
|
343
|
+
"path": "stream",
|
|
344
|
+
"kind": "require-call",
|
|
453
345
|
"category": "builtin"
|
|
454
346
|
},
|
|
455
347
|
{
|
|
456
|
-
"module": "
|
|
457
|
-
"path": "
|
|
458
|
-
"kind": "
|
|
348
|
+
"module": "node_modules/split2/index.js",
|
|
349
|
+
"path": "string_decoder",
|
|
350
|
+
"kind": "require-call",
|
|
459
351
|
"category": "builtin"
|
|
460
352
|
},
|
|
461
353
|
{
|
|
462
|
-
"module": "
|
|
463
|
-
"path": "
|
|
464
|
-
"kind": "
|
|
354
|
+
"module": "node_modules/pgpass/lib/helper.js",
|
|
355
|
+
"path": "path",
|
|
356
|
+
"kind": "require-call",
|
|
465
357
|
"category": "builtin"
|
|
466
358
|
},
|
|
467
359
|
{
|
|
468
|
-
"module": "
|
|
469
|
-
"path": "
|
|
470
|
-
"kind": "
|
|
360
|
+
"module": "node_modules/pgpass/lib/helper.js",
|
|
361
|
+
"path": "stream",
|
|
362
|
+
"kind": "require-call",
|
|
471
363
|
"category": "builtin"
|
|
472
364
|
},
|
|
473
365
|
{
|
|
474
|
-
"module": "
|
|
475
|
-
"path": "
|
|
476
|
-
"kind": "
|
|
366
|
+
"module": "node_modules/pgpass/lib/helper.js",
|
|
367
|
+
"path": "util",
|
|
368
|
+
"kind": "require-call",
|
|
477
369
|
"category": "builtin"
|
|
478
370
|
},
|
|
479
371
|
{
|
|
480
|
-
"module": "
|
|
481
|
-
"path": "
|
|
482
|
-
"kind": "
|
|
372
|
+
"module": "node_modules/pgpass/lib/index.js",
|
|
373
|
+
"path": "path",
|
|
374
|
+
"kind": "require-call",
|
|
483
375
|
"category": "builtin"
|
|
484
376
|
},
|
|
485
377
|
{
|
|
486
|
-
"module": "
|
|
487
|
-
"path": "
|
|
488
|
-
"kind": "
|
|
378
|
+
"module": "node_modules/pgpass/lib/index.js",
|
|
379
|
+
"path": "fs",
|
|
380
|
+
"kind": "require-call",
|
|
489
381
|
"category": "builtin"
|
|
490
382
|
},
|
|
491
383
|
{
|
|
492
|
-
"module": "
|
|
493
|
-
"path": "
|
|
494
|
-
"kind": "
|
|
384
|
+
"module": "node_modules/pg/lib/client.js",
|
|
385
|
+
"path": "events",
|
|
386
|
+
"kind": "require-call",
|
|
495
387
|
"category": "builtin"
|
|
496
388
|
},
|
|
497
389
|
{
|
|
498
|
-
"module": "
|
|
499
|
-
"path": "
|
|
500
|
-
"kind": "
|
|
390
|
+
"module": "node_modules/pg/lib/client.js",
|
|
391
|
+
"path": "util",
|
|
392
|
+
"kind": "require-call",
|
|
501
393
|
"category": "builtin"
|
|
502
394
|
},
|
|
503
395
|
{
|
|
504
|
-
"module": "
|
|
505
|
-
"path": "
|
|
506
|
-
"kind": "
|
|
396
|
+
"module": "node_modules/pg-pool/index.js",
|
|
397
|
+
"path": "events",
|
|
398
|
+
"kind": "require-call",
|
|
507
399
|
"category": "builtin"
|
|
508
400
|
},
|
|
509
401
|
{
|
|
510
|
-
"module": "
|
|
511
|
-
"path": "
|
|
512
|
-
"kind": "
|
|
402
|
+
"module": "node_modules/pg/lib/native/query.js",
|
|
403
|
+
"path": "events",
|
|
404
|
+
"kind": "require-call",
|
|
513
405
|
"category": "builtin"
|
|
514
406
|
},
|
|
515
407
|
{
|
|
516
|
-
"module": "
|
|
517
|
-
"path": "
|
|
518
|
-
"kind": "
|
|
408
|
+
"module": "node_modules/pg/lib/native/query.js",
|
|
409
|
+
"path": "util",
|
|
410
|
+
"kind": "require-call",
|
|
519
411
|
"category": "builtin"
|
|
520
412
|
},
|
|
521
413
|
{
|
|
522
|
-
"module": "
|
|
523
|
-
"path": "
|
|
524
|
-
"kind": "
|
|
414
|
+
"module": "node_modules/pg/lib/native/client.js",
|
|
415
|
+
"path": "util",
|
|
416
|
+
"kind": "require-call",
|
|
525
417
|
"category": "builtin"
|
|
526
418
|
},
|
|
527
419
|
{
|
|
528
|
-
"module": "
|
|
529
|
-
"path": "
|
|
530
|
-
"kind": "
|
|
531
|
-
"category": "
|
|
420
|
+
"module": "node_modules/pg/lib/native/client.js",
|
|
421
|
+
"path": "pg-native",
|
|
422
|
+
"kind": "require-call",
|
|
423
|
+
"category": "dynamic/optional"
|
|
532
424
|
},
|
|
533
425
|
{
|
|
534
|
-
"module": "
|
|
535
|
-
"path": "
|
|
536
|
-
"kind": "
|
|
426
|
+
"module": "node_modules/pg/lib/native/client.js",
|
|
427
|
+
"path": "events",
|
|
428
|
+
"kind": "require-call",
|
|
537
429
|
"category": "builtin"
|
|
538
430
|
},
|
|
539
431
|
{
|
|
540
|
-
"module": "
|
|
541
|
-
"path": "
|
|
542
|
-
"kind": "
|
|
432
|
+
"module": "node_modules/pg/lib/native/client.js",
|
|
433
|
+
"path": "util",
|
|
434
|
+
"kind": "require-call",
|
|
543
435
|
"category": "builtin"
|
|
544
436
|
},
|
|
545
437
|
{
|
|
546
|
-
"module": "
|
|
438
|
+
"module": "src/lib/db/app-tenant-tx.ts",
|
|
547
439
|
"path": "node:fs",
|
|
548
|
-
"kind": "
|
|
440
|
+
"kind": "require-call",
|
|
549
441
|
"category": "builtin"
|
|
550
442
|
},
|
|
551
443
|
{
|
|
552
|
-
"module": "
|
|
444
|
+
"module": "src/lib/db/app-tenant-tx.ts",
|
|
553
445
|
"path": "node:path",
|
|
554
|
-
"kind": "
|
|
555
|
-
"category": "builtin"
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
"module": "maszynista/local-receiver.ts",
|
|
559
|
-
"path": "node:util",
|
|
560
|
-
"kind": "import-statement",
|
|
446
|
+
"kind": "require-call",
|
|
561
447
|
"category": "builtin"
|
|
562
448
|
},
|
|
563
449
|
{
|
|
564
|
-
"module": "
|
|
565
|
-
"path": "
|
|
450
|
+
"module": "src/lib/planner/webhooks/sign.ts",
|
|
451
|
+
"path": "crypto",
|
|
566
452
|
"kind": "import-statement",
|
|
567
453
|
"category": "builtin"
|
|
568
454
|
},
|
|
569
455
|
{
|
|
570
|
-
"module": "
|
|
571
|
-
"path": "
|
|
456
|
+
"module": "src/lib/planner/delivered-gate.ts",
|
|
457
|
+
"path": "crypto",
|
|
572
458
|
"kind": "import-statement",
|
|
573
459
|
"category": "builtin"
|
|
574
460
|
},
|
|
575
461
|
{
|
|
576
|
-
"module": "
|
|
577
|
-
"path": "node:
|
|
462
|
+
"module": "src/lib/planner/queries.ts",
|
|
463
|
+
"path": "node:util",
|
|
578
464
|
"kind": "import-statement",
|
|
579
465
|
"category": "builtin"
|
|
580
466
|
},
|
|
@@ -722,6 +608,48 @@
|
|
|
722
608
|
"kind": "import-statement",
|
|
723
609
|
"category": "builtin"
|
|
724
610
|
},
|
|
611
|
+
{
|
|
612
|
+
"module": "maszynista/service-reload.ts",
|
|
613
|
+
"path": "node:child_process",
|
|
614
|
+
"kind": "import-statement",
|
|
615
|
+
"category": "builtin"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"module": "maszynista/service-reload.ts",
|
|
619
|
+
"path": "node:fs",
|
|
620
|
+
"kind": "import-statement",
|
|
621
|
+
"category": "builtin"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"module": "maszynista/service-reload.ts",
|
|
625
|
+
"path": "node:path",
|
|
626
|
+
"kind": "import-statement",
|
|
627
|
+
"category": "builtin"
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"module": "maszynista/host-activation.ts",
|
|
631
|
+
"path": "node:child_process",
|
|
632
|
+
"kind": "import-statement",
|
|
633
|
+
"category": "builtin"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"module": "maszynista/host-activation.ts",
|
|
637
|
+
"path": "node:crypto",
|
|
638
|
+
"kind": "import-statement",
|
|
639
|
+
"category": "builtin"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"module": "maszynista/host-activation.ts",
|
|
643
|
+
"path": "node:fs",
|
|
644
|
+
"kind": "import-statement",
|
|
645
|
+
"category": "builtin"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"module": "maszynista/host-activation.ts",
|
|
649
|
+
"path": "node:path",
|
|
650
|
+
"kind": "import-statement",
|
|
651
|
+
"category": "builtin"
|
|
652
|
+
},
|
|
725
653
|
{
|
|
726
654
|
"module": "maszynista/factory-judgment-run.ts",
|
|
727
655
|
"path": "node:child_process",
|
|
@@ -842,6 +770,90 @@
|
|
|
842
770
|
"kind": "import-statement",
|
|
843
771
|
"category": "builtin"
|
|
844
772
|
},
|
|
773
|
+
{
|
|
774
|
+
"module": "maszynista/receiver-job.ts",
|
|
775
|
+
"path": "node:fs",
|
|
776
|
+
"kind": "import-statement",
|
|
777
|
+
"category": "builtin"
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"module": "maszynista/receiver-job.ts",
|
|
781
|
+
"path": "node:crypto",
|
|
782
|
+
"kind": "import-statement",
|
|
783
|
+
"category": "builtin"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"module": "maszynista/receiver-job.ts",
|
|
787
|
+
"path": "node:child_process",
|
|
788
|
+
"kind": "import-statement",
|
|
789
|
+
"category": "builtin"
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"module": "maszynista/receiver-job.ts",
|
|
793
|
+
"path": "node:string_decoder",
|
|
794
|
+
"kind": "import-statement",
|
|
795
|
+
"category": "builtin"
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"module": "maszynista/receiver-job.ts",
|
|
799
|
+
"path": "node:path",
|
|
800
|
+
"kind": "import-statement",
|
|
801
|
+
"category": "builtin"
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"module": "maszynista/local-receiver.ts",
|
|
805
|
+
"path": "node:crypto",
|
|
806
|
+
"kind": "import-statement",
|
|
807
|
+
"category": "builtin"
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"module": "maszynista/local-receiver.ts",
|
|
811
|
+
"path": "node:fs",
|
|
812
|
+
"kind": "import-statement",
|
|
813
|
+
"category": "builtin"
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"module": "maszynista/local-receiver.ts",
|
|
817
|
+
"path": "node:path",
|
|
818
|
+
"kind": "import-statement",
|
|
819
|
+
"category": "builtin"
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"module": "maszynista/local-receiver.ts",
|
|
823
|
+
"path": "node:util",
|
|
824
|
+
"kind": "import-statement",
|
|
825
|
+
"category": "builtin"
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"module": "maszynista/lib.ts",
|
|
829
|
+
"path": "node:child_process",
|
|
830
|
+
"kind": "import-statement",
|
|
831
|
+
"category": "builtin"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"module": "maszynista/lib.ts",
|
|
835
|
+
"path": "node:fs",
|
|
836
|
+
"kind": "import-statement",
|
|
837
|
+
"category": "builtin"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"module": "maszynista/lib.ts",
|
|
841
|
+
"path": "node:path",
|
|
842
|
+
"kind": "import-statement",
|
|
843
|
+
"category": "builtin"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"module": "maszynista/lib.ts",
|
|
847
|
+
"path": "node:path",
|
|
848
|
+
"kind": "import-statement",
|
|
849
|
+
"category": "builtin"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"module": "maszynista/lib.ts",
|
|
853
|
+
"path": "node:crypto",
|
|
854
|
+
"kind": "import-statement",
|
|
855
|
+
"category": "builtin"
|
|
856
|
+
},
|
|
845
857
|
{
|
|
846
858
|
"module": "packages/client/src/git-commit.ts",
|
|
847
859
|
"path": "node:child_process",
|
|
@@ -1680,20 +1692,20 @@
|
|
|
1680
1692
|
"staticOperations": {
|
|
1681
1693
|
"beforePreflight": {
|
|
1682
1694
|
"module": "maszynista/tick.ts",
|
|
1683
|
-
"startLine":
|
|
1684
|
-
"endLine":
|
|
1695
|
+
"startLine": 10119,
|
|
1696
|
+
"endLine": 10232,
|
|
1685
1697
|
"text": "export async function main(): Promise<number> {\n const start = standaloneStartCheck({ filename: __filename, env: process.env });\n if (start.standalone && !start.ok) {\n console.error(start.message);\n process.exitCode = 78;\n return 78;\n }\n let installation: EngineContext;\n try { installation = createEngineContext(currentEngine(), {\n loadEnvironment: loadEnvFiles, preflight, baseRef: engineBaseRef, refreshBase: fetchMain,\n disk: defaultDiskPressureDependencies, workerContext: loadNorthStar,\n controlEnv: hostEnv, workerEnv: executionEnv, prepareWorktree: prepareHostWorktree, workerArtifacts: createWorkerTmpdir,\n notify: async (card, reason) => { decisionForReksio(card, reason, \"Rozstrzygnij na karcie\", \"\", \"\"); return { outcome: \"recorded\", ref: DECISIONS_REKSIO }; },\n hostOperations: hostOperationsPhase,\n activation: { confirmLoaded, finishHostActivation, readActivationState, recoverTickTimeout, runEnabledAuto },\n }, git, log); }\n catch (error) {\n if (!engineClient()) throw error;\n console.error(`HOLD kontekst klienta: ${clientTickFailure(error)}`);\n process.exitCode = 78;\n return 78;\n }\n const previousInstallation = tickInstallation;\n const hostErrorText = errorText;\n const client = engineClient();\n const result: { outcome: \"ok\" | \"retry\" | \"stop\"; reason: string; cleanup: boolean } = { outcome: \"ok\", reason: \"\", cleanup: false };\n const stopClient = (reason = clientTickFailure()): void => {\n if (client && result.outcome !== \"stop\") { result.outcome = \"stop\"; result.reason = reason; }\n };\n let code = 2;\n try { code = await q.withPlannerQueries(installation.planner, async () => {\n tickInstallation = installation;\n const seedGateSettings = installationSeedGateSettings();\n const errorText = client ? clientTickFailure : hostErrorText;\n const loadEnvFiles = installation.loadEnvironment;\n const preflight = () => {\n const actor = installation.preflight();\n return { uid: actor.kind === \"db\" ? actor.uid : API_ACTOR };\n };\n const { confirmLoaded, finishHostActivation, readActivationState, recoverTickTimeout, runEnabledAuto } = installation.activation;\n const smokeOnly = DRY && process.env.MASZYNISTA_SMOKE === \"1\";\n if (!DRY) {\n const acquire = (): boolean => tryCreateTickLock(LOCK);\n if (!acquire()) {\n const raw = readFileSync(LOCK, \"utf8\"), pid = Number(raw);\n if (!Number.isSafeInteger(pid) || pid <= 0) { console.log(\"tick lock bez poprawnego PID — HOLD\"); return 0; }\n try { process.kill(pid, 0); console.log(`tick już trwa (pid ${pid})`); return 0; }\n catch (error) { if ((error as NodeJS.ErrnoException).code !== \"ESRCH\") throw error; }\n if (readFileSync(LOCK, \"utf8\") === raw) unlinkSync(LOCK);\n if (!acquire()) { console.log(\"tick już trwa\"); return 0; }\n }\n }\n skippedCardEvents.clear();\n let s = parseState(null).state;\n // Internal smoke handoff: the child cannot outlive the parent's reserved budget.\n const smokeLimit = DRY ? Number(process.env.MASZYNISTA_SMOKE_TIMEOUT_MS) : NaN;\n let stateLoaded = false;\n let tickStarted: string | undefined;\n let outcome: \"ok\" | \"failed\" = \"ok\";\n let runtimeFailed = false;\n let observedLoaded = \"UNKNOWN\";\n let tickPhase = \"startup\";\n const deadlineAlarm = armTickDeadline(() => s, Number.isSafeInteger(smokeLimit) && smokeLimit > 0\n ? Math.min(TICK_LIMIT_MS, smokeLimit) : TICK_LIMIT_MS, () => ({ phase: tickPhase, observedLoaded }));\n let hostReady = false;\n let hostBoard: { uid: string; projectId: string } | undefined;\n let activationCards: CardLike[] = [];\n let activationCardsKnown = false;\n let blockedBefore = 0;\n const clientStopped = (): boolean => {\n if (client && (outcome === \"failed\" || (!DRY && s.blocked > blockedBefore))) stopClient();\n if (client && result.outcome === \"stop\") outcome = \"failed\";\n return client && result.outcome === \"stop\";\n };\n let hostPhaseStarted = false;\n const hostPhase = async (): Promise<boolean> => {\n if (smokeOnly || !hostReady || hostPhaseStarted) return false;\n hostPhaseStarted = true;\n tickPhase = \"host\";\n if (hostBoard) {\n const { uid: boardUid, projectId: boardProject } = hostBoard;\n try {\n await runEnabledAuto({ state: s, loadedSha: observedLoaded, repo: REPO, logPath: LOG, tick: s.tick, stateDir: hostStateDir(),\n now: new Date().toISOString(), activation: readActivationState(hostStateDir()), dryRun: DRY }, {\n listCards: async () => scanTasks(boardUid, boardProject, { full: true, statuses: [\"delivered\"],\n detailsKeys: ENABLED_SCAN_DETAILS_KEYS }),\n getTask: id => q.getTask(boardUid, id),\n appendDetail: async (id, patch) => { await appendBoundedDetail(boardUid, id, patch); },\n saveState: writeState,\n alarm: hostActivationAlarm,\n log,\n });\n } catch (error) { runtimeFailed = true; outcome = \"failed\"; log(`FAIL ENABLED auto: ${errorText(error)}`); }\n } else log(\"ENABLED auto: UNKNOWN — brak odczytu projektu; dowód karty czeka na dostęp do tablicy\");\n try {\n const result = await engineRunHostActivation({ repo: REPO, stateDir: hostStateDir(), cards: activationCards, cardsKnown: activationCardsKnown, tick: s.tick, dryRun: DRY }, {\n git, remainingTickMs, alarm: hostActivationAlarm, infrastructureChecks, infrastructurePullRequest, log: line => log(`host-activation: ${line}`),\n });\n log(`host-activation: code=${result.code} target=${result.target ?? \"UNKNOWN\"}${result.detail ? ` reason=${result.detail}` : \"\"}`);\n if (result.code === \"activate\" && result.target) {\n lastTick(s, \"activation\", `aktywacja ${result.target}; ogon odroczony`, outcome === \"ok\");\n return true;\n }\n } catch (error) { runtimeFailed = true; outcome = \"failed\"; log(`FAIL aktywacja: ${errorText(error)}`); }\n return false;\n };\n try {\n observedLoaded = loadedSha = readLoadedSha(REPO);\n s = readState((await engineFjConfig()).enabled);\n stateLoaded = true; blockedBefore = s.blocked;\n s.tick++; tickStarted = new Date().toISOString(); s.lastTickAt = tickStarted;\n log(`tick_started tick=${s.tick} at=${tickStarted} duration=UNKNOWN loaded=${loadedSha}`);\n loadEnvFiles();\n const { uid } = preflight();"
|
|
1686
1698
|
},
|
|
1687
1699
|
"finalization": {
|
|
1688
1700
|
"module": "maszynista/tick.ts",
|
|
1689
|
-
"startLine":
|
|
1690
|
-
"endLine":
|
|
1701
|
+
"startLine": 10523,
|
|
1702
|
+
"endLine": 10575,
|
|
1691
1703
|
"text": " } finally {\n // A persisted terminal FAIL is a card result; every unexpected exception above\n // remains a runtime failure, including DB errors inside card handling.\n if (!DRY && s.blocked > blockedBefore) {\n outcome = \"failed\";\n try { log(`FAIL: licznik blocked wzrósł ${blockedBefore} → ${s.blocked}; outcome=failed`); }\n catch (error) { console.error(`zapis licznika blocked: ${errorText(error)}`); }\n }\n clientStopped();\n // Early board failure still reaches the same host phase, at most once per tick.\n await hostPhase();\n tickPhase = \"finalizing\";\n try { if (!DRY) await finishHostActivation({ stateDir: hostStateDir(), outcome, tick: s.tick, runtimeFailed, observedLoaded }, { alarm: hostActivationAlarm, log }); }\n catch (error) { runtimeFailed = true; outcome = \"failed\"; log(`FAIL breaker aktywacji: ${errorText(error)}`); }\n clientStopped();\n try { if (stateLoaded) writeState(s); }\n catch (error) { runtimeFailed = true; outcome = \"failed\"; if (!client) throw error; stopClient(); result.cleanup = true; }\n finally {\n if (!DRY) {\n try { if (readFileSync(LOCK, \"utf8\") === String(process.pid)) unlinkSync(LOCK); }\n catch (error) { if ((error as NodeJS.ErrnoException).code !== \"ENOENT\") { if (!client) throw error; stopClient(); result.cleanup = true; } }\n }\n const at = new Date().toISOString();\n const duration = tickStarted ? `${(Date.parse(at) - Date.parse(tickStarted)) / 1000}s` : \"UNKNOWN\";\n try {\n const { total, ops } = drainEgressCounters();\n const sorted = Object.entries(ops).sort(([, a], [, b]) => b.bytes - a.bytes);\n const summary = sorted.filter(([op]) => !op.includes(\":\")).slice(0, 12)\n .map(([op, counter]) => `${op}:${counter.calls}:${counter.bytes}`).join(\",\");\n const variants = sorted.filter(([op]) => op.includes(\":\")).slice(0, 6)\n .map(([op, counter]) => `${op}:${counter.calls}:${counter.bytes}`).join(\",\");\n log(`egress tick=${s.tick} total=${total} ops=${summary} variants=${variants}`);\n } catch { /* Optional metrics must never interrupt tick cleanup. */ }\n try { refreshTickReport(observedLoaded); log(`tick_finished tick=${s.tick} at=${at} outcome=${client && result.outcome === \"retry\" ? \"retry\" : outcome} duration=${duration} loaded=${loadedSha}`); }\n finally { clearTimeout(deadlineAlarm); tickDeadline = Number.POSITIVE_INFINITY; }\n }\n }\n }); } catch (error) {\n if (!client) throw error;\n stopClient(); result.cleanup = true;\n } finally {\n tickInstallation = previousInstallation;\n try { await installation.close(); }\n catch (error) {\n if (client) { stopClient(); result.cleanup = true; }\n else safeLog(`Zamknięcie instalacji nieudane: ${String(error)}`);\n }\n }\n if (client && result.outcome !== \"ok\") console.error(`Fabryka ${result.outcome === \"stop\" ? \"zatrzymana\" : \"retry\"}: ${result.reason}${result.cleanup ? \"; finalizacja niepotwierdzona — sprawdź stan i blokadę\" : \"\"}`);\n return client && result.outcome === \"stop\" ? 2 : code;\n}\n\nif (require.main === module && !([\"--opencode-runner\", \"--grok-runner\"].includes(process.argv[2] ?? \"\"))) {"
|
|
1692
1704
|
},
|
|
1693
1705
|
"refreshTickReport": {
|
|
1694
1706
|
"module": "maszynista/tick.ts",
|
|
1695
|
-
"startLine":
|
|
1696
|
-
"endLine":
|
|
1707
|
+
"startLine": 878,
|
|
1708
|
+
"endLine": 889,
|
|
1697
1709
|
"text": "export function refreshTickReport(observedLoaded = readLoadedSha(REPO)): void {\n loadedSha = observedLoaded;\n try { mainSha = git([\"rev-parse\", engineBranchRef()]); }\n catch (error) { mainSha = \"UNKNOWN\"; log(`Nie można odczytać main SHA: ${errorText(error)}`); }\n if (DRY) return;\n try {\n const content = readFileSync(LAST_TICK, \"utf8\");\n writeFileSync(LAST_TICK, `${content.replace(/^- (?:loaded|main):.*\\n?/gm, \"\")}- loaded: ${loadedSha}\\n- main: ${mainSha}\\n`);\n } catch (error) { if ((error as NodeJS.ErrnoException).code !== \"ENOENT\") throw error; }\n}\n\nfunction writeAtomic(file: string, content: string): void {"
|
|
1698
1710
|
},
|
|
1699
1711
|
"importTime": {
|
|
@@ -1713,6 +1725,6 @@
|
|
|
1713
1725
|
"status": 0,
|
|
1714
1726
|
"signal": null,
|
|
1715
1727
|
"stdout": "v24.3.0\n",
|
|
1716
|
-
"stderr": "(node:
|
|
1728
|
+
"stderr": "(node:22050) ExperimentalWarning: SQLite is an experimental feature and might change at any time\n(Use `node --trace-warnings ...` to show where the warning was created)\n"
|
|
1717
1729
|
}
|
|
1718
1730
|
}
|