pi-crew 0.9.44 → 0.9.47

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.
Files changed (65) hide show
  1. package/CHANGELOG.md +136 -0
  2. package/README.md +38 -3
  3. package/dist/build-meta.json +349 -203
  4. package/dist/index.mjs +2229 -2968
  5. package/dist/index.mjs.map +4 -4
  6. package/docs/decisions/2026-07-21-broker-phase4-default-on.md +77 -0
  7. package/docs/decisions/2026-07-21-broker-windows-perms.md +91 -0
  8. package/docs/decisions/2026-07-22-broker-phase4-gated-on.md +99 -0
  9. package/docs/decisions/README.md +3 -0
  10. package/docs/publishing.md +26 -0
  11. package/package.json +3 -1
  12. package/scripts/build-bundle.mjs +7 -0
  13. package/scripts/postinstall.mjs +35 -1
  14. package/scripts/pty_probe.py +174 -0
  15. package/skills/real-test-pi-crew/SKILL.md +659 -0
  16. package/src/agents/discover-agents.ts +1 -1
  17. package/src/config/config.ts +42 -1
  18. package/src/config/defaults.ts +45 -1
  19. package/src/config/types.ts +19 -0
  20. package/src/extension/register.ts +6 -1
  21. package/src/extension/registration/context-builder.ts +4 -0
  22. package/src/extension/registration/lifecycle-handlers.ts +200 -6
  23. package/src/extension/registration/registration-types.ts +9 -0
  24. package/src/extension/registration/subagent-manager-setup.ts +178 -59
  25. package/src/extension/run-import.ts +21 -1
  26. package/src/extension/team-tool/api.ts +4 -2
  27. package/src/prompt/prompt-runtime.ts +108 -0
  28. package/src/runtime/async-runner.ts +9 -1
  29. package/src/runtime/broker-issuer.ts +37 -0
  30. package/src/runtime/child-pi-spawn.ts +53 -0
  31. package/src/runtime/child-pi.ts +42 -11
  32. package/src/runtime/crew-broker-child.ts +88 -0
  33. package/src/runtime/crew-broker-client.ts +673 -0
  34. package/src/runtime/crew-broker-tokens.ts +84 -0
  35. package/src/runtime/crew-broker.ts +1276 -0
  36. package/src/runtime/dynamic-workflow-context.ts +7 -3
  37. package/src/runtime/dynamic-workflow-runner.ts +1 -1
  38. package/src/runtime/manifest-cache.ts +30 -0
  39. package/src/runtime/plan-templates.ts +8 -6
  40. package/src/runtime/resilient-edit.ts +16 -15
  41. package/src/runtime/role-permission.ts +27 -2
  42. package/src/runtime/run-coalesced-task-group.ts +72 -15
  43. package/src/runtime/task-packet.ts +1 -1
  44. package/src/schema/config-schema.ts +14 -0
  45. package/src/state/event-log.ts +88 -34
  46. package/src/state/locks.ts +53 -0
  47. package/src/state/mailbox.ts +208 -4
  48. package/src/state/run-metrics.ts +40 -12
  49. package/src/ui/key-utils.ts +42 -0
  50. package/src/ui/keybinding-map.ts +29 -3
  51. package/src/ui/live-run-sidebar.ts +1 -9
  52. package/src/ui/run-dashboard.ts +29 -9
  53. package/src/ui/settings-overlay.ts +42 -22
  54. package/src/utils/incremental-reader.ts +105 -0
  55. package/src/utils/ndjson.ts +115 -0
  56. package/src/utils/session-utils.ts +30 -0
  57. package/src/utils/socket-path.ts +127 -0
  58. package/src/utils/visual.ts +27 -91
  59. package/workflows/default.workflow.md +1 -1
  60. package/workflows/fast-fix.workflow.md +1 -1
  61. package/workflows/plan-execute.workflow.md +1 -1
  62. package/workflows/review.workflow.md +1 -1
  63. package/src/runtime/auto-resume.ts +0 -100
  64. package/src/runtime/notebook-helpers.ts +0 -88
  65. package/src/runtime/orphan-sentinel.ts +0 -7
@@ -17,7 +17,7 @@
17
17
  "format": "esm"
18
18
  },
19
19
  "src/schema/config-schema.ts": {
20
- "bytes": 12111,
20
+ "bytes": 12739,
21
21
  "imports": [
22
22
  {
23
23
  "path": "@sinclair/typebox",
@@ -121,12 +121,12 @@
121
121
  "format": "esm"
122
122
  },
123
123
  "src/config/defaults.ts": {
124
- "bytes": 4721,
124
+ "bytes": 6588,
125
125
  "imports": [],
126
126
  "format": "esm"
127
127
  },
128
128
  "src/state/locks.ts": {
129
- "bytes": 21665,
129
+ "bytes": 24376,
130
130
  "imports": [
131
131
  {
132
132
  "path": "node:async_hooks",
@@ -203,7 +203,7 @@
203
203
  "format": "esm"
204
204
  },
205
205
  "src/config/config.ts": {
206
- "bytes": 50811,
206
+ "bytes": 52707,
207
207
  "imports": [
208
208
  {
209
209
  "path": "node:fs",
@@ -255,6 +255,11 @@
255
255
  "kind": "import-statement",
256
256
  "original": "../utils/paths.ts"
257
257
  },
258
+ {
259
+ "path": "src/config/defaults.ts",
260
+ "kind": "import-statement",
261
+ "original": "./defaults.ts"
262
+ },
258
263
  {
259
264
  "path": "src/config/suggestions.ts",
260
265
  "kind": "import-statement",
@@ -378,7 +383,7 @@
378
383
  "format": "esm"
379
384
  },
380
385
  "src/agents/discover-agents.ts": {
381
- "bytes": 25646,
386
+ "bytes": 25658,
382
387
  "imports": [
383
388
  {
384
389
  "path": "node:fs",
@@ -513,7 +518,7 @@
513
518
  "format": "esm"
514
519
  },
515
520
  "src/utils/session-utils.ts": {
516
- "bytes": 2917,
521
+ "bytes": 4361,
517
522
  "imports": [],
518
523
  "format": "esm"
519
524
  },
@@ -745,6 +750,11 @@
745
750
  "imports": [],
746
751
  "format": "esm"
747
752
  },
753
+ "src/runtime/broker-issuer.ts": {
754
+ "bytes": 1530,
755
+ "imports": [],
756
+ "format": "esm"
757
+ },
748
758
  "src/runtime/child-pi-constants.ts": {
749
759
  "bytes": 1937,
750
760
  "imports": [
@@ -809,7 +819,7 @@
809
819
  "format": "esm"
810
820
  },
811
821
  "src/runtime/child-pi-spawn.ts": {
812
- "bytes": 10338,
822
+ "bytes": 13310,
813
823
  "imports": [
814
824
  {
815
825
  "path": "node:fs",
@@ -974,7 +984,7 @@
974
984
  "format": "esm"
975
985
  },
976
986
  "src/runtime/child-pi.ts": {
977
- "bytes": 44793,
987
+ "bytes": 46378,
978
988
  "imports": [
979
989
  {
980
990
  "path": "node:child_process",
@@ -1021,6 +1031,11 @@
1021
1031
  "kind": "import-statement",
1022
1032
  "original": "../utils/redaction.ts"
1023
1033
  },
1034
+ {
1035
+ "path": "src/runtime/broker-issuer.ts",
1036
+ "kind": "import-statement",
1037
+ "original": "./broker-issuer.ts"
1038
+ },
1024
1039
  {
1025
1040
  "path": "src/runtime/child-pi-constants.ts",
1026
1041
  "kind": "import-statement",
@@ -1194,7 +1209,7 @@
1194
1209
  "format": "esm"
1195
1210
  },
1196
1211
  "src/utils/incremental-reader.ts": {
1197
- "bytes": 2588,
1212
+ "bytes": 6221,
1198
1213
  "imports": [
1199
1214
  {
1200
1215
  "path": "node:fs",
@@ -1231,7 +1246,7 @@
1231
1246
  "format": "esm"
1232
1247
  },
1233
1248
  "src/state/event-log.ts": {
1234
- "bytes": 52073,
1249
+ "bytes": 54432,
1235
1250
  "imports": [
1236
1251
  {
1237
1252
  "path": "node:crypto",
@@ -1537,7 +1552,7 @@
1537
1552
  "format": "esm"
1538
1553
  },
1539
1554
  "src/state/mailbox.ts": {
1540
- "bytes": 28080,
1555
+ "bytes": 35819,
1541
1556
  "imports": [
1542
1557
  {
1543
1558
  "path": "node:fs",
@@ -3645,7 +3660,7 @@
3645
3660
  "format": "esm"
3646
3661
  },
3647
3662
  "src/runtime/role-permission.ts": {
3648
- "bytes": 1396,
3663
+ "bytes": 2938,
3649
3664
  "imports": [],
3650
3665
  "format": "esm"
3651
3666
  },
@@ -5389,7 +5404,7 @@
5389
5404
  "format": "esm"
5390
5405
  },
5391
5406
  "src/extension/team-tool/api.ts": {
5392
- "bytes": 40596,
5407
+ "bytes": 40676,
5393
5408
  "imports": [
5394
5409
  {
5395
5410
  "path": "node:fs",
@@ -6229,7 +6244,7 @@
6229
6244
  "format": "esm"
6230
6245
  },
6231
6246
  "src/runtime/async-runner.ts": {
6232
- "bytes": 14825,
6247
+ "bytes": 15391,
6233
6248
  "imports": [
6234
6249
  {
6235
6250
  "path": "node:child_process",
@@ -6281,6 +6296,11 @@
6281
6296
  "kind": "import-statement",
6282
6297
  "original": "../utils/paths.ts"
6283
6298
  },
6299
+ {
6300
+ "path": "src/utils/redaction.ts",
6301
+ "kind": "import-statement",
6302
+ "original": "../utils/redaction.ts"
6303
+ },
6284
6304
  {
6285
6305
  "path": "src/runtime/orphan-worker-registry.ts",
6286
6306
  "kind": "import-statement",
@@ -6666,7 +6686,7 @@
6666
6686
  "format": "esm"
6667
6687
  },
6668
6688
  "src/extension/run-import.ts": {
6669
- "bytes": 5982,
6689
+ "bytes": 7115,
6670
6690
  "imports": [
6671
6691
  {
6672
6692
  "path": "node:crypto",
@@ -6698,6 +6718,11 @@
6698
6718
  "kind": "import-statement",
6699
6719
  "original": "../state/atomic-write.ts"
6700
6720
  },
6721
+ {
6722
+ "path": "src/utils/internal-error.ts",
6723
+ "kind": "import-statement",
6724
+ "original": "../utils/internal-error.ts"
6725
+ },
6701
6726
  {
6702
6727
  "path": "src/utils/paths.ts",
6703
6728
  "kind": "import-statement",
@@ -6922,8 +6947,14 @@
6922
6947
  "format": "esm"
6923
6948
  },
6924
6949
  "src/utils/visual.ts": {
6925
- "bytes": 8407,
6926
- "imports": [],
6950
+ "bytes": 7078,
6951
+ "imports": [
6952
+ {
6953
+ "path": "@earendil-works/pi-tui",
6954
+ "kind": "import-statement",
6955
+ "external": true
6956
+ }
6957
+ ],
6927
6958
  "format": "esm"
6928
6959
  },
6929
6960
  "src/ui/live-duration.ts": {
@@ -8250,7 +8281,7 @@
8250
8281
  "format": "esm"
8251
8282
  },
8252
8283
  "src/runtime/task-packet.ts": {
8253
- "bytes": 10509,
8284
+ "bytes": 10512,
8254
8285
  "imports": [
8255
8286
  {
8256
8287
  "path": "node:path",
@@ -8292,7 +8323,7 @@
8292
8323
  "format": "esm"
8293
8324
  },
8294
8325
  "src/runtime/run-coalesced-task-group.ts": {
8295
- "bytes": 8999,
8326
+ "bytes": 11679,
8296
8327
  "imports": [
8297
8328
  {
8298
8329
  "path": "src/state/artifact-store.ts",
@@ -9044,7 +9075,7 @@
9044
9075
  "format": "esm"
9045
9076
  },
9046
9077
  "src/runtime/plan-templates.ts": {
9047
- "bytes": 6266,
9078
+ "bytes": 6668,
9048
9079
  "imports": [
9049
9080
  {
9050
9081
  "path": "src/utils/internal-error.ts",
@@ -9343,7 +9374,7 @@
9343
9374
  "format": "esm"
9344
9375
  },
9345
9376
  "src/state/run-metrics.ts": {
9346
- "bytes": 4530,
9377
+ "bytes": 5832,
9347
9378
  "imports": [
9348
9379
  {
9349
9380
  "path": "node:fs",
@@ -9580,72 +9611,6 @@
9580
9611
  ],
9581
9612
  "format": "esm"
9582
9613
  },
9583
- "node_modules/esbuild/lib/main.js": {
9584
- "bytes": 97214,
9585
- "imports": [
9586
- {
9587
- "path": "fs",
9588
- "kind": "require-call",
9589
- "external": true
9590
- },
9591
- {
9592
- "path": "os",
9593
- "kind": "require-call",
9594
- "external": true
9595
- },
9596
- {
9597
- "path": "path",
9598
- "kind": "require-call",
9599
- "external": true
9600
- },
9601
- {
9602
- "path": "pnpapi",
9603
- "kind": "require-call",
9604
- "external": true
9605
- },
9606
- {
9607
- "path": "child_process",
9608
- "kind": "require-call",
9609
- "external": true
9610
- },
9611
- {
9612
- "path": "crypto",
9613
- "kind": "require-call",
9614
- "external": true
9615
- },
9616
- {
9617
- "path": "path",
9618
- "kind": "require-call",
9619
- "external": true
9620
- },
9621
- {
9622
- "path": "fs",
9623
- "kind": "require-call",
9624
- "external": true
9625
- },
9626
- {
9627
- "path": "os",
9628
- "kind": "require-call",
9629
- "external": true
9630
- },
9631
- {
9632
- "path": "tty",
9633
- "kind": "require-call",
9634
- "external": true
9635
- },
9636
- {
9637
- "path": "worker_threads",
9638
- "kind": "require-call",
9639
- "external": true
9640
- },
9641
- {
9642
- "path": "<runtime>",
9643
- "kind": "import-statement",
9644
- "external": true
9645
- }
9646
- ],
9647
- "format": "cjs"
9648
- },
9649
9614
  "src/runtime/deterministic-ast.ts": {
9650
9615
  "bytes": 5850,
9651
9616
  "imports": [
@@ -9721,7 +9686,7 @@
9721
9686
  "format": "esm"
9722
9687
  },
9723
9688
  "src/runtime/dynamic-workflow-context.ts": {
9724
- "bytes": 43478,
9689
+ "bytes": 44124,
9725
9690
  "imports": [
9726
9691
  {
9727
9692
  "path": "node:crypto",
@@ -9802,7 +9767,7 @@
9802
9767
  "format": "esm"
9803
9768
  },
9804
9769
  "src/runtime/dynamic-workflow-runner.ts": {
9805
- "bytes": 14029,
9770
+ "bytes": 14093,
9806
9771
  "imports": [
9807
9772
  {
9808
9773
  "path": "node:fs",
@@ -9815,9 +9780,9 @@
9815
9780
  "external": true
9816
9781
  },
9817
9782
  {
9818
- "path": "node_modules/esbuild/lib/main.js",
9783
+ "path": "esbuild",
9819
9784
  "kind": "import-statement",
9820
- "original": "esbuild"
9785
+ "external": true
9821
9786
  },
9822
9787
  {
9823
9788
  "path": "src/state/artifact-store.ts",
@@ -10690,9 +10655,31 @@
10690
10655
  "imports": [],
10691
10656
  "format": "esm"
10692
10657
  },
10658
+ "src/ui/key-utils.ts": {
10659
+ "bytes": 1224,
10660
+ "imports": [
10661
+ {
10662
+ "path": "@earendil-works/pi-tui",
10663
+ "kind": "import-statement",
10664
+ "external": true
10665
+ }
10666
+ ],
10667
+ "format": "esm"
10668
+ },
10693
10669
  "src/ui/keybinding-map.ts": {
10694
- "bytes": 8114,
10695
- "imports": [],
10670
+ "bytes": 9514,
10671
+ "imports": [
10672
+ {
10673
+ "path": "@earendil-works/pi-tui",
10674
+ "kind": "import-statement",
10675
+ "external": true
10676
+ },
10677
+ {
10678
+ "path": "src/ui/key-utils.ts",
10679
+ "kind": "import-statement",
10680
+ "original": "./key-utils.ts"
10681
+ }
10682
+ ],
10696
10683
  "format": "esm"
10697
10684
  },
10698
10685
  "src/ui/overlays/help-overlay.ts": {
@@ -10722,7 +10709,7 @@
10722
10709
  "format": "esm"
10723
10710
  },
10724
10711
  "src/ui/run-dashboard.ts": {
10725
- "bytes": 38956,
10712
+ "bytes": 39936,
10726
10713
  "imports": [
10727
10714
  {
10728
10715
  "path": "node:fs",
@@ -10814,11 +10801,6 @@
10814
10801
  "kind": "import-statement",
10815
10802
  "original": "./keybinding-map.ts"
10816
10803
  },
10817
- {
10818
- "path": "src/ui/layout-primitives.ts",
10819
- "kind": "import-statement",
10820
- "original": "./layout-primitives.ts"
10821
- },
10822
10804
  {
10823
10805
  "path": "src/ui/overlays/help-overlay.ts",
10824
10806
  "kind": "import-statement",
@@ -10848,6 +10830,11 @@
10848
10830
  "path": "src/ui/theme-adapter.ts",
10849
10831
  "kind": "import-statement",
10850
10832
  "original": "./theme-adapter.ts"
10833
+ },
10834
+ {
10835
+ "path": "src/ui/widget/widget-renderer.ts",
10836
+ "kind": "import-statement",
10837
+ "original": "./widget/widget-renderer.ts"
10851
10838
  }
10852
10839
  ],
10853
10840
  "format": "esm"
@@ -10989,7 +10976,7 @@
10989
10976
  "format": "esm"
10990
10977
  },
10991
10978
  "src/ui/settings-overlay.ts": {
10992
- "bytes": 31049,
10979
+ "bytes": 31879,
10993
10980
  "imports": [
10994
10981
  {
10995
10982
  "path": "src/utils/visual.ts",
@@ -11001,6 +10988,11 @@
11001
10988
  "kind": "import-statement",
11002
10989
  "original": "./dynamic-border.ts"
11003
10990
  },
10991
+ {
10992
+ "path": "src/ui/key-utils.ts",
10993
+ "kind": "import-statement",
10994
+ "original": "./key-utils.ts"
10995
+ },
11004
10996
  {
11005
10997
  "path": "src/ui/theme-discovery.ts",
11006
10998
  "kind": "import-statement",
@@ -11438,7 +11430,7 @@
11438
11430
  "format": "esm"
11439
11431
  },
11440
11432
  "src/runtime/manifest-cache.ts": {
11441
- "bytes": 11387,
11433
+ "bytes": 12865,
11442
11434
  "imports": [
11443
11435
  {
11444
11436
  "path": "node:fs",
@@ -11608,7 +11600,7 @@
11608
11600
  "format": "esm"
11609
11601
  },
11610
11602
  "src/extension/registration/context-builder.ts": {
11611
- "bytes": 5408,
11603
+ "bytes": 5611,
11612
11604
  "imports": [
11613
11605
  {
11614
11606
  "path": "src/config/config.ts",
@@ -11665,7 +11657,7 @@
11665
11657
  "format": "esm"
11666
11658
  },
11667
11659
  "src/ui/live-run-sidebar.ts": {
11668
- "bytes": 11936,
11660
+ "bytes": 11756,
11669
11661
  "imports": [
11670
11662
  {
11671
11663
  "path": "node:fs",
@@ -11707,11 +11699,6 @@
11707
11699
  "kind": "import-statement",
11708
11700
  "original": "../utils/visual.ts"
11709
11701
  },
11710
- {
11711
- "path": "src/ui/layout-primitives.ts",
11712
- "kind": "import-statement",
11713
- "original": "./layout-primitives.ts"
11714
- },
11715
11702
  {
11716
11703
  "path": "src/ui/render-scheduler.ts",
11717
11704
  "kind": "import-statement",
@@ -11736,6 +11723,11 @@
11736
11723
  "path": "src/ui/theme-adapter.ts",
11737
11724
  "kind": "import-statement",
11738
11725
  "original": "./theme-adapter.ts"
11726
+ },
11727
+ {
11728
+ "path": "src/ui/widget/widget-renderer.ts",
11729
+ "kind": "import-statement",
11730
+ "original": "./widget/widget-renderer.ts"
11739
11731
  }
11740
11732
  ],
11741
11733
  "format": "esm"
@@ -12297,6 +12289,125 @@
12297
12289
  ],
12298
12290
  "format": "esm"
12299
12291
  },
12292
+ "src/runtime/crew-broker-tokens.ts": {
12293
+ "bytes": 2967,
12294
+ "imports": [
12295
+ {
12296
+ "path": "node:crypto",
12297
+ "kind": "import-statement",
12298
+ "external": true
12299
+ }
12300
+ ],
12301
+ "format": "esm"
12302
+ },
12303
+ "src/utils/ndjson.ts": {
12304
+ "bytes": 4731,
12305
+ "imports": [
12306
+ {
12307
+ "path": "src/runtime/crew-broker-tokens.ts",
12308
+ "kind": "import-statement",
12309
+ "original": "../runtime/crew-broker-tokens.ts"
12310
+ }
12311
+ ],
12312
+ "format": "esm"
12313
+ },
12314
+ "src/utils/socket-path.ts": {
12315
+ "bytes": 4876,
12316
+ "imports": [
12317
+ {
12318
+ "path": "node:crypto",
12319
+ "kind": "import-statement",
12320
+ "external": true
12321
+ },
12322
+ {
12323
+ "path": "node:fs/promises",
12324
+ "kind": "import-statement",
12325
+ "external": true
12326
+ },
12327
+ {
12328
+ "path": "node:net",
12329
+ "kind": "import-statement",
12330
+ "external": true
12331
+ },
12332
+ {
12333
+ "path": "node:os",
12334
+ "kind": "import-statement",
12335
+ "external": true
12336
+ },
12337
+ {
12338
+ "path": "node:path",
12339
+ "kind": "import-statement",
12340
+ "external": true
12341
+ }
12342
+ ],
12343
+ "format": "esm"
12344
+ },
12345
+ "src/runtime/crew-broker.ts": {
12346
+ "bytes": 46354,
12347
+ "imports": [
12348
+ {
12349
+ "path": "node:fs/promises",
12350
+ "kind": "import-statement",
12351
+ "external": true
12352
+ },
12353
+ {
12354
+ "path": "node:net",
12355
+ "kind": "import-statement",
12356
+ "external": true
12357
+ },
12358
+ {
12359
+ "path": "src/state/event-log.ts",
12360
+ "kind": "import-statement",
12361
+ "original": "../state/event-log.ts"
12362
+ },
12363
+ {
12364
+ "path": "src/state/mailbox.ts",
12365
+ "kind": "import-statement",
12366
+ "original": "../state/mailbox.ts"
12367
+ },
12368
+ {
12369
+ "path": "src/state/state-store.ts",
12370
+ "kind": "import-statement",
12371
+ "original": "../state/state-store.ts"
12372
+ },
12373
+ {
12374
+ "path": "src/ui/run-event-bus.ts",
12375
+ "kind": "import-statement",
12376
+ "original": "../ui/run-event-bus.ts"
12377
+ },
12378
+ {
12379
+ "path": "src/utils/internal-error.ts",
12380
+ "kind": "import-statement",
12381
+ "original": "../utils/internal-error.ts"
12382
+ },
12383
+ {
12384
+ "path": "src/utils/ndjson.ts",
12385
+ "kind": "import-statement",
12386
+ "original": "../utils/ndjson.ts"
12387
+ },
12388
+ {
12389
+ "path": "src/utils/redaction.ts",
12390
+ "kind": "import-statement",
12391
+ "original": "../utils/redaction.ts"
12392
+ },
12393
+ {
12394
+ "path": "src/utils/safe-paths.ts",
12395
+ "kind": "import-statement",
12396
+ "original": "../utils/safe-paths.ts"
12397
+ },
12398
+ {
12399
+ "path": "src/utils/socket-path.ts",
12400
+ "kind": "import-statement",
12401
+ "original": "../utils/socket-path.ts"
12402
+ },
12403
+ {
12404
+ "path": "src/runtime/crew-broker-tokens.ts",
12405
+ "kind": "import-statement",
12406
+ "original": "./crew-broker-tokens.ts"
12407
+ }
12408
+ ],
12409
+ "format": "esm"
12410
+ },
12300
12411
  "src/runtime/session-resources.ts": {
12301
12412
  "bytes": 1018,
12302
12413
  "imports": [
@@ -12399,7 +12510,7 @@
12399
12510
  "format": "esm"
12400
12511
  },
12401
12512
  "src/extension/registration/lifecycle-handlers.ts": {
12402
- "bytes": 28646,
12513
+ "bytes": 36458,
12403
12514
  "imports": [
12404
12515
  {
12405
12516
  "path": "node:fs",
@@ -12426,11 +12537,21 @@
12426
12537
  "kind": "import-statement",
12427
12538
  "original": "../../extension/run-maintenance.ts"
12428
12539
  },
12540
+ {
12541
+ "path": "src/runtime/broker-issuer.ts",
12542
+ "kind": "import-statement",
12543
+ "original": "../../runtime/broker-issuer.ts"
12544
+ },
12429
12545
  {
12430
12546
  "path": "src/runtime/crash-recovery.ts",
12431
12547
  "kind": "import-statement",
12432
12548
  "original": "../../runtime/crash-recovery.ts"
12433
12549
  },
12550
+ {
12551
+ "path": "src/runtime/crew-broker.ts",
12552
+ "kind": "import-statement",
12553
+ "original": "../../runtime/crew-broker.ts"
12554
+ },
12434
12555
  {
12435
12556
  "path": "src/runtime/live-agent-manager.ts",
12436
12557
  "kind": "import-statement",
@@ -12526,6 +12647,11 @@
12526
12647
  "kind": "import-statement",
12527
12648
  "original": "../../utils/session-utils.ts"
12528
12649
  },
12650
+ {
12651
+ "path": "src/utils/socket-path.ts",
12652
+ "kind": "import-statement",
12653
+ "original": "../../utils/socket-path.ts"
12654
+ },
12529
12655
  {
12530
12656
  "path": "src/extension/async-notifier.ts",
12531
12657
  "kind": "import-statement",
@@ -12631,7 +12757,7 @@
12631
12757
  "format": "esm"
12632
12758
  },
12633
12759
  "src/extension/registration/subagent-manager-setup.ts": {
12634
- "bytes": 8033,
12760
+ "bytes": 12885,
12635
12761
  "imports": [
12636
12762
  {
12637
12763
  "path": "src/config/config.ts",
@@ -12802,7 +12928,7 @@
12802
12928
  "format": "esm"
12803
12929
  },
12804
12930
  "src/runtime/resilient-edit.ts": {
12805
- "bytes": 5549,
12931
+ "bytes": 5531,
12806
12932
  "imports": [
12807
12933
  {
12808
12934
  "path": "src/runtime/replace.ts",
@@ -12818,7 +12944,7 @@
12818
12944
  "format": "esm"
12819
12945
  },
12820
12946
  "src/extension/register.ts": {
12821
- "bytes": 4900,
12947
+ "bytes": 5297,
12822
12948
  "imports": [
12823
12949
  {
12824
12950
  "path": "src/config/config.ts",
@@ -12980,7 +13106,7 @@
12980
13106
  "imports": [],
12981
13107
  "exports": [],
12982
13108
  "inputs": {},
12983
- "bytes": 5999575
13109
+ "bytes": 5996671
12984
13110
  },
12985
13111
  "dist/index.mjs": {
12986
13112
  "imports": [
@@ -13929,6 +14055,11 @@
13929
14055
  "kind": "import-statement",
13930
14056
  "external": true
13931
14057
  },
14058
+ {
14059
+ "path": "@earendil-works/pi-tui",
14060
+ "kind": "import-statement",
14061
+ "external": true
14062
+ },
13932
14063
  {
13933
14064
  "path": "node:fs",
13934
14065
  "kind": "import-statement",
@@ -14234,61 +14365,6 @@
14234
14365
  "kind": "import-statement",
14235
14366
  "external": true
14236
14367
  },
14237
- {
14238
- "path": "fs",
14239
- "kind": "require-call",
14240
- "external": true
14241
- },
14242
- {
14243
- "path": "os",
14244
- "kind": "require-call",
14245
- "external": true
14246
- },
14247
- {
14248
- "path": "path",
14249
- "kind": "require-call",
14250
- "external": true
14251
- },
14252
- {
14253
- "path": "pnpapi",
14254
- "kind": "require-call",
14255
- "external": true
14256
- },
14257
- {
14258
- "path": "child_process",
14259
- "kind": "require-call",
14260
- "external": true
14261
- },
14262
- {
14263
- "path": "crypto",
14264
- "kind": "require-call",
14265
- "external": true
14266
- },
14267
- {
14268
- "path": "path",
14269
- "kind": "require-call",
14270
- "external": true
14271
- },
14272
- {
14273
- "path": "fs",
14274
- "kind": "require-call",
14275
- "external": true
14276
- },
14277
- {
14278
- "path": "os",
14279
- "kind": "require-call",
14280
- "external": true
14281
- },
14282
- {
14283
- "path": "tty",
14284
- "kind": "require-call",
14285
- "external": true
14286
- },
14287
- {
14288
- "path": "worker_threads",
14289
- "kind": "require-call",
14290
- "external": true
14291
- },
14292
14368
  {
14293
14369
  "path": "acorn",
14294
14370
  "kind": "import-statement",
@@ -14329,6 +14405,11 @@
14329
14405
  "kind": "import-statement",
14330
14406
  "external": true
14331
14407
  },
14408
+ {
14409
+ "path": "esbuild",
14410
+ "kind": "import-statement",
14411
+ "external": true
14412
+ },
14332
14413
  {
14333
14414
  "path": "node:module",
14334
14415
  "kind": "dynamic-import",
@@ -14369,6 +14450,16 @@
14369
14450
  "kind": "import-statement",
14370
14451
  "external": true
14371
14452
  },
14453
+ {
14454
+ "path": "@earendil-works/pi-tui",
14455
+ "kind": "import-statement",
14456
+ "external": true
14457
+ },
14458
+ {
14459
+ "path": "@earendil-works/pi-tui",
14460
+ "kind": "import-statement",
14461
+ "external": true
14462
+ },
14372
14463
  {
14373
14464
  "path": "node:fs",
14374
14465
  "kind": "import-statement",
@@ -14574,6 +14665,46 @@
14574
14665
  "kind": "import-statement",
14575
14666
  "external": true
14576
14667
  },
14668
+ {
14669
+ "path": "node:fs/promises",
14670
+ "kind": "import-statement",
14671
+ "external": true
14672
+ },
14673
+ {
14674
+ "path": "node:net",
14675
+ "kind": "import-statement",
14676
+ "external": true
14677
+ },
14678
+ {
14679
+ "path": "node:crypto",
14680
+ "kind": "import-statement",
14681
+ "external": true
14682
+ },
14683
+ {
14684
+ "path": "node:crypto",
14685
+ "kind": "import-statement",
14686
+ "external": true
14687
+ },
14688
+ {
14689
+ "path": "node:fs/promises",
14690
+ "kind": "import-statement",
14691
+ "external": true
14692
+ },
14693
+ {
14694
+ "path": "node:net",
14695
+ "kind": "import-statement",
14696
+ "external": true
14697
+ },
14698
+ {
14699
+ "path": "node:os",
14700
+ "kind": "import-statement",
14701
+ "external": true
14702
+ },
14703
+ {
14704
+ "path": "node:path",
14705
+ "kind": "import-statement",
14706
+ "external": true
14707
+ },
14577
14708
  {
14578
14709
  "path": "node:path",
14579
14710
  "kind": "import-statement",
@@ -14606,7 +14737,7 @@
14606
14737
  "bytesInOutput": 176
14607
14738
  },
14608
14739
  "src/schema/config-schema.ts": {
14609
- "bytesInOutput": 12948
14740
+ "bytesInOutput": 13433
14610
14741
  },
14611
14742
  "src/utils/internal-error.ts": {
14612
14743
  "bytesInOutput": 502
@@ -14618,13 +14749,13 @@
14618
14749
  "bytesInOutput": 5264
14619
14750
  },
14620
14751
  "src/state/atomic-write.ts": {
14621
- "bytesInOutput": 19112
14752
+ "bytesInOutput": 19114
14622
14753
  },
14623
14754
  "src/config/defaults.ts": {
14624
- "bytesInOutput": 4426
14755
+ "bytesInOutput": 4815
14625
14756
  },
14626
14757
  "src/state/locks.ts": {
14627
- "bytesInOutput": 8382
14758
+ "bytesInOutput": 9166
14628
14759
  },
14629
14760
  "src/utils/paths.ts": {
14630
14761
  "bytesInOutput": 5250
@@ -14633,7 +14764,7 @@
14633
14764
  "bytesInOutput": 1325
14634
14765
  },
14635
14766
  "src/config/config.ts": {
14636
- "bytesInOutput": 40536
14767
+ "bytesInOutput": 41539
14637
14768
  },
14638
14769
  "src/runtime/pi-spawn.ts": {
14639
14770
  "bytesInOutput": 6666
@@ -14672,7 +14803,7 @@
14672
14803
  "bytesInOutput": 8917
14673
14804
  },
14674
14805
  "src/utils/session-utils.ts": {
14675
- "bytesInOutput": 540
14806
+ "bytesInOutput": 1018
14676
14807
  },
14677
14808
  "src/runtime/cancellation.ts": {
14678
14809
  "bytesInOutput": 2293
@@ -14693,11 +14824,14 @@
14693
14824
  "bytesInOutput": 3490
14694
14825
  },
14695
14826
  "src/runtime/pi-args.ts": {
14696
- "bytesInOutput": 15094
14827
+ "bytesInOutput": 15106
14697
14828
  },
14698
14829
  "src/utils/redaction.ts": {
14699
14830
  "bytesInOutput": 7293
14700
14831
  },
14832
+ "src/runtime/broker-issuer.ts": {
14833
+ "bytesInOutput": 242
14834
+ },
14701
14835
  "src/runtime/child-pi-constants.ts": {
14702
14836
  "bytesInOutput": 874
14703
14837
  },
@@ -14714,7 +14848,7 @@
14714
14848
  "bytesInOutput": 3511
14715
14849
  },
14716
14850
  "src/runtime/child-pi-spawn.ts": {
14717
- "bytesInOutput": 4258
14851
+ "bytesInOutput": 4867
14718
14852
  },
14719
14853
  "src/runtime/child-pi-steering.ts": {
14720
14854
  "bytesInOutput": 2917
@@ -14744,7 +14878,7 @@
14744
14878
  "bytesInOutput": 1801
14745
14879
  },
14746
14880
  "src/runtime/child-pi.ts": {
14747
- "bytesInOutput": 29010
14881
+ "bytesInOutput": 29439
14748
14882
  },
14749
14883
  "src/extension/crew-cleanup.ts": {
14750
14884
  "bytesInOutput": 2872
@@ -14765,13 +14899,13 @@
14765
14899
  "bytesInOutput": 10871
14766
14900
  },
14767
14901
  "src/utils/incremental-reader.ts": {
14768
- "bytesInOutput": 2166
14902
+ "bytesInOutput": 3934
14769
14903
  },
14770
14904
  "src/state/event-log-rotation.ts": {
14771
14905
  "bytesInOutput": 4480
14772
14906
  },
14773
14907
  "src/state/event-log.ts": {
14774
- "bytesInOutput": 28022
14908
+ "bytesInOutput": 28864
14775
14909
  },
14776
14910
  "src/utils/task-name-generator.ts": {
14777
14911
  "bytesInOutput": 106
@@ -14810,7 +14944,7 @@
14810
14944
  "bytesInOutput": 4465
14811
14945
  },
14812
14946
  "src/state/mailbox.ts": {
14813
- "bytesInOutput": 18349
14947
+ "bytesInOutput": 22424
14814
14948
  },
14815
14949
  "src/extension/help.ts": {
14816
14950
  "bytesInOutput": 2863
@@ -15104,7 +15238,7 @@
15104
15238
  "bytesInOutput": 15395
15105
15239
  },
15106
15240
  "src/runtime/role-permission.ts": {
15107
- "bytesInOutput": 1002
15241
+ "bytesInOutput": 1050
15108
15242
  },
15109
15243
  "src/runtime/worker-heartbeat.ts": {
15110
15244
  "bytesInOutput": 580
@@ -15167,7 +15301,7 @@
15167
15301
  "bytesInOutput": 1136
15168
15302
  },
15169
15303
  "node_modules/ajv/dist/compile/codegen/code.js": {
15170
- "bytesInOutput": 4828
15304
+ "bytesInOutput": 4834
15171
15305
  },
15172
15306
  "node_modules/ajv/dist/compile/codegen/scope.js": {
15173
15307
  "bytesInOutput": 5314
@@ -15383,7 +15517,7 @@
15383
15517
  "bytesInOutput": 241
15384
15518
  },
15385
15519
  "src/extension/team-tool/api.ts": {
15386
- "bytesInOutput": 41740
15520
+ "bytesInOutput": 41762
15387
15521
  },
15388
15522
  "src/runtime/checkpoint.ts": {
15389
15523
  "bytesInOutput": 2566
@@ -15464,7 +15598,7 @@
15464
15598
  "bytesInOutput": 7769
15465
15599
  },
15466
15600
  "src/runtime/async-runner.ts": {
15467
- "bytesInOutput": 9083
15601
+ "bytesInOutput": 9162
15468
15602
  },
15469
15603
  "src/subagents/async-entry.ts": {
15470
15604
  "bytesInOutput": 119
@@ -15512,7 +15646,7 @@
15512
15646
  "bytesInOutput": 4221
15513
15647
  },
15514
15648
  "src/extension/run-import.ts": {
15515
- "bytesInOutput": 4272
15649
+ "bytesInOutput": 4467
15516
15650
  },
15517
15651
  "src/extension/run-maintenance.ts": {
15518
15652
  "bytesInOutput": 4797
@@ -15530,7 +15664,7 @@
15530
15664
  "bytesInOutput": 1979
15531
15665
  },
15532
15666
  "src/utils/visual.ts": {
15533
- "bytesInOutput": 6973
15667
+ "bytesInOutput": 4539
15534
15668
  },
15535
15669
  "src/ui/live-duration.ts": {
15536
15670
  "bytesInOutput": 793
@@ -15728,7 +15862,7 @@
15728
15862
  "bytesInOutput": 7286
15729
15863
  },
15730
15864
  "src/runtime/run-coalesced-task-group.ts": {
15731
- "bytesInOutput": 6596
15865
+ "bytesInOutput": 7581
15732
15866
  },
15733
15867
  "src/runtime/runtime-policy.ts": {
15734
15868
  "bytesInOutput": 575
@@ -15806,7 +15940,7 @@
15806
15940
  "bytesInOutput": 2471
15807
15941
  },
15808
15942
  "src/runtime/plan-templates.ts": {
15809
- "bytesInOutput": 3799
15943
+ "bytesInOutput": 4199
15810
15944
  },
15811
15945
  "src/runtime/adaptive-plan.ts": {
15812
15946
  "bytesInOutput": 15523
@@ -15850,9 +15984,6 @@
15850
15984
  "src/runtime/parallel-research.ts": {
15851
15985
  "bytesInOutput": 2683
15852
15986
  },
15853
- "node_modules/esbuild/lib/main.js": {
15854
- "bytesInOutput": 105459
15855
- },
15856
15987
  "src/runtime/deterministic-ast.ts": {
15857
15988
  "bytesInOutput": 3753
15858
15989
  },
@@ -15872,10 +16003,10 @@
15872
16003
  "bytesInOutput": 4272
15873
16004
  },
15874
16005
  "src/runtime/dynamic-workflow-context.ts": {
15875
- "bytesInOutput": 21421
16006
+ "bytesInOutput": 22078
15876
16007
  },
15877
16008
  "src/runtime/dynamic-workflow-runner.ts": {
15878
- "bytesInOutput": 6600
16009
+ "bytesInOutput": 6553
15879
16010
  },
15880
16011
  "src/extension/team-tool/run.ts": {
15881
16012
  "bytesInOutput": 31463
@@ -15937,14 +16068,17 @@
15937
16068
  "src/ui/dynamic-border.ts": {
15938
16069
  "bytesInOutput": 850
15939
16070
  },
16071
+ "src/ui/key-utils.ts": {
16072
+ "bytesInOutput": 508
16073
+ },
15940
16074
  "src/ui/keybinding-map.ts": {
15941
- "bytesInOutput": 3859
16075
+ "bytesInOutput": 4285
15942
16076
  },
15943
16077
  "src/ui/overlays/help-overlay.ts": {
15944
16078
  "bytesInOutput": 4154
15945
16079
  },
15946
16080
  "src/ui/run-dashboard.ts": {
15947
- "bytesInOutput": 29994
16081
+ "bytesInOutput": 30943
15948
16082
  },
15949
16083
  "src/ui/overlays/confirm-overlay.ts": {
15950
16084
  "bytesInOutput": 2237
@@ -15965,7 +16099,7 @@
15965
16099
  "bytesInOutput": 15857
15966
16100
  },
15967
16101
  "src/ui/settings-overlay.ts": {
15968
- "bytesInOutput": 30473
16102
+ "bytesInOutput": 30796
15969
16103
  },
15970
16104
  "src/extension/registration/commands.ts": {
15971
16105
  "bytesInOutput": 40620
@@ -15980,7 +16114,7 @@
15980
16114
  "bytesInOutput": 4563
15981
16115
  },
15982
16116
  "src/ui/live-run-sidebar.ts": {
15983
- "bytesInOutput": 9966
16117
+ "bytesInOutput": 9794
15984
16118
  },
15985
16119
  "src/extension/registration/ui.ts": {
15986
16120
  "bytesInOutput": 4277
@@ -16034,7 +16168,7 @@
16034
16168
  "bytesInOutput": 3150
16035
16169
  },
16036
16170
  "src/extension/register.ts": {
16037
- "bytesInOutput": 1776
16171
+ "bytesInOutput": 1848
16038
16172
  },
16039
16173
  "src/ui/deploy-bundled-themes.ts": {
16040
16174
  "bytesInOutput": 1188
@@ -16082,7 +16216,7 @@
16082
16216
  "bytesInOutput": 1111
16083
16217
  },
16084
16218
  "src/extension/registration/context-builder.ts": {
16085
- "bytesInOutput": 3584
16219
+ "bytesInOutput": 3792
16086
16220
  },
16087
16221
  "src/i18n.ts": {
16088
16222
  "bytesInOutput": 6837
@@ -16091,7 +16225,7 @@
16091
16225
  "bytesInOutput": 3062
16092
16226
  },
16093
16227
  "src/runtime/manifest-cache.ts": {
16094
- "bytesInOutput": 8432
16228
+ "bytesInOutput": 8928
16095
16229
  },
16096
16230
  "src/utils/fs-watch.ts": {
16097
16231
  "bytesInOutput": 382
@@ -16118,7 +16252,19 @@
16118
16252
  "bytesInOutput": 2451
16119
16253
  },
16120
16254
  "src/extension/registration/lifecycle-handlers.ts": {
16121
- "bytesInOutput": 20920
16255
+ "bytesInOutput": 24143
16256
+ },
16257
+ "src/runtime/crew-broker.ts": {
16258
+ "bytesInOutput": 35322
16259
+ },
16260
+ "src/runtime/crew-broker-tokens.ts": {
16261
+ "bytesInOutput": 1900
16262
+ },
16263
+ "src/utils/ndjson.ts": {
16264
+ "bytesInOutput": 2208
16265
+ },
16266
+ "src/utils/socket-path.ts": {
16267
+ "bytesInOutput": 2509
16122
16268
  },
16123
16269
  "src/runtime/session-resources.ts": {
16124
16270
  "bytesInOutput": 463
@@ -16145,7 +16291,7 @@
16145
16291
  "bytesInOutput": 5262
16146
16292
  },
16147
16293
  "src/extension/registration/subagent-manager-setup.ts": {
16148
- "bytesInOutput": 4912
16294
+ "bytesInOutput": 7568
16149
16295
  },
16150
16296
  "src/extension/registration/subagent-tools.ts": {
16151
16297
  "bytesInOutput": 15572
@@ -16166,7 +16312,7 @@
16166
16312
  "bytesInOutput": 81
16167
16313
  }
16168
16314
  },
16169
- "bytes": 2791928
16315
+ "bytes": 2748383
16170
16316
  }
16171
16317
  }
16172
16318
  }