typeclaw 0.9.1 → 0.10.0

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 (62) hide show
  1. package/package.json +2 -2
  2. package/scripts/require-parallel.ts +41 -15
  3. package/src/agent/index.ts +9 -7
  4. package/src/agent/live-subagents.ts +0 -1
  5. package/src/agent/session-origin.ts +10 -0
  6. package/src/agent/subagent-completion-reminder.ts +4 -1
  7. package/src/agent/system-prompt.ts +5 -5
  8. package/src/agent/tools/restart.ts +13 -2
  9. package/src/agent/tools/spawn-subagent.ts +0 -1
  10. package/src/agent/tools/subagent-output.ts +3 -51
  11. package/src/bundled-plugins/memory/dreaming-state.ts +51 -2
  12. package/src/bundled-plugins/memory/index.ts +55 -25
  13. package/src/bundled-plugins/memory/memory-retrieval.ts +1 -1
  14. package/src/bundled-plugins/memory/migration.ts +21 -17
  15. package/src/bundled-plugins/memory/stream-io.ts +71 -1
  16. package/src/bundled-plugins/security/index.ts +19 -17
  17. package/src/bundled-plugins/security/permissions.ts +9 -8
  18. package/src/bundled-plugins/security/policies/cron-promotion.ts +26 -9
  19. package/src/bundled-plugins/security/policies/git-exfil.ts +23 -15
  20. package/src/bundled-plugins/security/policies/role-promotion.ts +25 -18
  21. package/src/channels/manager.ts +7 -0
  22. package/src/channels/router.ts +267 -14
  23. package/src/channels/schema.ts +22 -1
  24. package/src/cli/compose.ts +23 -2
  25. package/src/cli/cron.ts +1 -1
  26. package/src/cli/inspect.ts +105 -12
  27. package/src/cli/logs.ts +17 -2
  28. package/src/cli/role.ts +2 -2
  29. package/src/compose/logs.ts +8 -4
  30. package/src/config/config.ts +8 -0
  31. package/src/config/providers.ts +18 -0
  32. package/src/container/index.ts +1 -1
  33. package/src/container/logs.ts +38 -11
  34. package/src/cron/bridge.ts +25 -4
  35. package/src/hostd/daemon.ts +44 -24
  36. package/src/hostd/portbroker-manager.ts +19 -3
  37. package/src/init/dockerfile.ts +199 -4
  38. package/src/init/gitignore.ts +8 -0
  39. package/src/inspect/index.ts +42 -5
  40. package/src/inspect/live.ts +32 -1
  41. package/src/inspect/loop.ts +20 -0
  42. package/src/inspect/render.ts +32 -0
  43. package/src/inspect/replay.ts +14 -0
  44. package/src/inspect/types.ts +26 -0
  45. package/src/permissions/builtins.ts +29 -21
  46. package/src/permissions/permissions.ts +32 -5
  47. package/src/role-claim/code.ts +9 -9
  48. package/src/role-claim/controller.ts +3 -2
  49. package/src/role-claim/match-rule.ts +14 -19
  50. package/src/role-claim/pending.ts +2 -2
  51. package/src/run/index.ts +1 -0
  52. package/src/server/index.ts +59 -19
  53. package/src/shared/protocol.ts +30 -0
  54. package/src/skills/typeclaw-codex-cli/SKILL.md +324 -0
  55. package/src/skills/typeclaw-codex-cli/references/auth-flow.md +144 -0
  56. package/src/skills/typeclaw-codex-cli/references/stop-hook.md +92 -0
  57. package/src/skills/typeclaw-codex-cli/references/tmux-driving.md +239 -0
  58. package/src/skills/typeclaw-config/SKILL.md +39 -32
  59. package/src/skills/typeclaw-config/references/recommended-mounts.md +233 -0
  60. package/src/skills/typeclaw-permissions/SKILL.md +24 -18
  61. package/src/test-helpers/wait-for.ts +15 -7
  62. package/typeclaw.schema.json +111 -10
@@ -134,7 +134,7 @@
134
134
  ],
135
135
  "stickiness": {
136
136
  "perReply": {
137
- "window": 300000
137
+ "window": 900000
138
138
  }
139
139
  }
140
140
  },
@@ -159,7 +159,7 @@
159
159
  "stickiness": {
160
160
  "default": {
161
161
  "perReply": {
162
- "window": 300000
162
+ "window": 900000
163
163
  }
164
164
  },
165
165
  "anyOf": [
@@ -260,6 +260,25 @@
260
260
  "enabled": {
261
261
  "default": true,
262
262
  "type": "boolean"
263
+ },
264
+ "quotedReply": {
265
+ "default": {
266
+ "enabled": true,
267
+ "queueDelayMs": 10000
268
+ },
269
+ "type": "object",
270
+ "properties": {
271
+ "enabled": {
272
+ "default": true,
273
+ "type": "boolean"
274
+ },
275
+ "queueDelayMs": {
276
+ "default": 10000,
277
+ "type": "integer",
278
+ "minimum": 0,
279
+ "maximum": 9007199254740991
280
+ }
281
+ }
263
282
  }
264
283
  }
265
284
  },
@@ -275,7 +294,7 @@
275
294
  ],
276
295
  "stickiness": {
277
296
  "perReply": {
278
- "window": 300000
297
+ "window": 900000
279
298
  }
280
299
  }
281
300
  },
@@ -300,7 +319,7 @@
300
319
  "stickiness": {
301
320
  "default": {
302
321
  "perReply": {
303
- "window": 300000
322
+ "window": 900000
304
323
  }
305
324
  },
306
325
  "anyOf": [
@@ -402,6 +421,25 @@
402
421
  "default": true,
403
422
  "type": "boolean"
404
423
  },
424
+ "quotedReply": {
425
+ "default": {
426
+ "enabled": true,
427
+ "queueDelayMs": 10000
428
+ },
429
+ "type": "object",
430
+ "properties": {
431
+ "enabled": {
432
+ "default": true,
433
+ "type": "boolean"
434
+ },
435
+ "queueDelayMs": {
436
+ "default": 10000,
437
+ "type": "integer",
438
+ "minimum": 0,
439
+ "maximum": 9007199254740991
440
+ }
441
+ }
442
+ },
405
443
  "webhookUrl": {
406
444
  "type": "string",
407
445
  "format": "uri"
@@ -448,7 +486,7 @@
448
486
  ],
449
487
  "stickiness": {
450
488
  "perReply": {
451
- "window": 300000
489
+ "window": 900000
452
490
  }
453
491
  }
454
492
  },
@@ -473,7 +511,7 @@
473
511
  "stickiness": {
474
512
  "default": {
475
513
  "perReply": {
476
- "window": 300000
514
+ "window": 900000
477
515
  }
478
516
  },
479
517
  "anyOf": [
@@ -574,6 +612,25 @@
574
612
  "enabled": {
575
613
  "default": true,
576
614
  "type": "boolean"
615
+ },
616
+ "quotedReply": {
617
+ "default": {
618
+ "enabled": true,
619
+ "queueDelayMs": 10000
620
+ },
621
+ "type": "object",
622
+ "properties": {
623
+ "enabled": {
624
+ "default": true,
625
+ "type": "boolean"
626
+ },
627
+ "queueDelayMs": {
628
+ "default": 10000,
629
+ "type": "integer",
630
+ "minimum": 0,
631
+ "maximum": 9007199254740991
632
+ }
633
+ }
577
634
  }
578
635
  }
579
636
  },
@@ -589,7 +646,7 @@
589
646
  ],
590
647
  "stickiness": {
591
648
  "perReply": {
592
- "window": 300000
649
+ "window": 900000
593
650
  }
594
651
  }
595
652
  },
@@ -614,7 +671,7 @@
614
671
  "stickiness": {
615
672
  "default": {
616
673
  "perReply": {
617
- "window": 300000
674
+ "window": 900000
618
675
  }
619
676
  },
620
677
  "anyOf": [
@@ -715,6 +772,25 @@
715
772
  "enabled": {
716
773
  "default": true,
717
774
  "type": "boolean"
775
+ },
776
+ "quotedReply": {
777
+ "default": {
778
+ "enabled": true,
779
+ "queueDelayMs": 10000
780
+ },
781
+ "type": "object",
782
+ "properties": {
783
+ "enabled": {
784
+ "default": true,
785
+ "type": "boolean"
786
+ },
787
+ "queueDelayMs": {
788
+ "default": 10000,
789
+ "type": "integer",
790
+ "minimum": 0,
791
+ "maximum": 9007199254740991
792
+ }
793
+ }
718
794
  }
719
795
  }
720
796
  },
@@ -730,7 +806,7 @@
730
806
  ],
731
807
  "stickiness": {
732
808
  "perReply": {
733
- "window": 300000
809
+ "window": 900000
734
810
  }
735
811
  }
736
812
  },
@@ -755,7 +831,7 @@
755
831
  "stickiness": {
756
832
  "default": {
757
833
  "perReply": {
758
- "window": 300000
834
+ "window": 900000
759
835
  }
760
836
  },
761
837
  "anyOf": [
@@ -856,6 +932,25 @@
856
932
  "enabled": {
857
933
  "default": true,
858
934
  "type": "boolean"
935
+ },
936
+ "quotedReply": {
937
+ "default": {
938
+ "enabled": true,
939
+ "queueDelayMs": 10000
940
+ },
941
+ "type": "object",
942
+ "properties": {
943
+ "enabled": {
944
+ "default": true,
945
+ "type": "boolean"
946
+ },
947
+ "queueDelayMs": {
948
+ "default": 10000,
949
+ "type": "integer",
950
+ "minimum": 0,
951
+ "maximum": 9007199254740991
952
+ }
953
+ }
859
954
  }
860
955
  }
861
956
  }
@@ -932,6 +1027,7 @@
932
1027
  "cloudflared": true,
933
1028
  "xvfb": true,
934
1029
  "claudeCode": false,
1030
+ "codexCli": false,
935
1031
  "append": []
936
1032
  }
937
1033
  },
@@ -947,6 +1043,7 @@
947
1043
  "cloudflared": true,
948
1044
  "xvfb": true,
949
1045
  "claudeCode": false,
1046
+ "codexCli": false,
950
1047
  "append": []
951
1048
  },
952
1049
  "type": "object",
@@ -1007,6 +1104,10 @@
1007
1104
  "default": false,
1008
1105
  "type": "boolean"
1009
1106
  },
1107
+ "codexCli": {
1108
+ "default": false,
1109
+ "type": "boolean"
1110
+ },
1010
1111
  "append": {
1011
1112
  "default": [],
1012
1113
  "type": "array",