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.
- package/package.json +2 -2
- package/scripts/require-parallel.ts +41 -15
- package/src/agent/index.ts +9 -7
- package/src/agent/live-subagents.ts +0 -1
- package/src/agent/session-origin.ts +10 -0
- package/src/agent/subagent-completion-reminder.ts +4 -1
- package/src/agent/system-prompt.ts +5 -5
- package/src/agent/tools/restart.ts +13 -2
- package/src/agent/tools/spawn-subagent.ts +0 -1
- package/src/agent/tools/subagent-output.ts +3 -51
- package/src/bundled-plugins/memory/dreaming-state.ts +51 -2
- package/src/bundled-plugins/memory/index.ts +55 -25
- package/src/bundled-plugins/memory/memory-retrieval.ts +1 -1
- package/src/bundled-plugins/memory/migration.ts +21 -17
- package/src/bundled-plugins/memory/stream-io.ts +71 -1
- package/src/bundled-plugins/security/index.ts +19 -17
- package/src/bundled-plugins/security/permissions.ts +9 -8
- package/src/bundled-plugins/security/policies/cron-promotion.ts +26 -9
- package/src/bundled-plugins/security/policies/git-exfil.ts +23 -15
- package/src/bundled-plugins/security/policies/role-promotion.ts +25 -18
- package/src/channels/manager.ts +7 -0
- package/src/channels/router.ts +267 -14
- package/src/channels/schema.ts +22 -1
- package/src/cli/compose.ts +23 -2
- package/src/cli/cron.ts +1 -1
- package/src/cli/inspect.ts +105 -12
- package/src/cli/logs.ts +17 -2
- package/src/cli/role.ts +2 -2
- package/src/compose/logs.ts +8 -4
- package/src/config/config.ts +8 -0
- package/src/config/providers.ts +18 -0
- package/src/container/index.ts +1 -1
- package/src/container/logs.ts +38 -11
- package/src/cron/bridge.ts +25 -4
- package/src/hostd/daemon.ts +44 -24
- package/src/hostd/portbroker-manager.ts +19 -3
- package/src/init/dockerfile.ts +199 -4
- package/src/init/gitignore.ts +8 -0
- package/src/inspect/index.ts +42 -5
- package/src/inspect/live.ts +32 -1
- package/src/inspect/loop.ts +20 -0
- package/src/inspect/render.ts +32 -0
- package/src/inspect/replay.ts +14 -0
- package/src/inspect/types.ts +26 -0
- package/src/permissions/builtins.ts +29 -21
- package/src/permissions/permissions.ts +32 -5
- package/src/role-claim/code.ts +9 -9
- package/src/role-claim/controller.ts +3 -2
- package/src/role-claim/match-rule.ts +14 -19
- package/src/role-claim/pending.ts +2 -2
- package/src/run/index.ts +1 -0
- package/src/server/index.ts +59 -19
- package/src/shared/protocol.ts +30 -0
- package/src/skills/typeclaw-codex-cli/SKILL.md +324 -0
- package/src/skills/typeclaw-codex-cli/references/auth-flow.md +144 -0
- package/src/skills/typeclaw-codex-cli/references/stop-hook.md +92 -0
- package/src/skills/typeclaw-codex-cli/references/tmux-driving.md +239 -0
- package/src/skills/typeclaw-config/SKILL.md +39 -32
- package/src/skills/typeclaw-config/references/recommended-mounts.md +233 -0
- package/src/skills/typeclaw-permissions/SKILL.md +24 -18
- package/src/test-helpers/wait-for.ts +15 -7
- package/typeclaw.schema.json +111 -10
package/typeclaw.schema.json
CHANGED
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
],
|
|
135
135
|
"stickiness": {
|
|
136
136
|
"perReply": {
|
|
137
|
-
"window":
|
|
137
|
+
"window": 900000
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
},
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
"stickiness": {
|
|
160
160
|
"default": {
|
|
161
161
|
"perReply": {
|
|
162
|
-
"window":
|
|
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":
|
|
297
|
+
"window": 900000
|
|
279
298
|
}
|
|
280
299
|
}
|
|
281
300
|
},
|
|
@@ -300,7 +319,7 @@
|
|
|
300
319
|
"stickiness": {
|
|
301
320
|
"default": {
|
|
302
321
|
"perReply": {
|
|
303
|
-
"window":
|
|
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":
|
|
489
|
+
"window": 900000
|
|
452
490
|
}
|
|
453
491
|
}
|
|
454
492
|
},
|
|
@@ -473,7 +511,7 @@
|
|
|
473
511
|
"stickiness": {
|
|
474
512
|
"default": {
|
|
475
513
|
"perReply": {
|
|
476
|
-
"window":
|
|
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":
|
|
649
|
+
"window": 900000
|
|
593
650
|
}
|
|
594
651
|
}
|
|
595
652
|
},
|
|
@@ -614,7 +671,7 @@
|
|
|
614
671
|
"stickiness": {
|
|
615
672
|
"default": {
|
|
616
673
|
"perReply": {
|
|
617
|
-
"window":
|
|
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":
|
|
809
|
+
"window": 900000
|
|
734
810
|
}
|
|
735
811
|
}
|
|
736
812
|
},
|
|
@@ -755,7 +831,7 @@
|
|
|
755
831
|
"stickiness": {
|
|
756
832
|
"default": {
|
|
757
833
|
"perReply": {
|
|
758
|
-
"window":
|
|
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",
|