typeclaw 0.51.0 → 0.52.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/dist/types/agent/bash-sandbox-env.d.ts +2 -0
- package/dist/types/agent/bash-sandbox.d.ts +4 -0
- package/dist/types/agent/index.d.ts +5 -0
- package/dist/types/agent/multimodal/look-at.d.ts +1 -1
- package/dist/types/agent/plugin-tools.d.ts +4 -0
- package/dist/types/agent/prompt-cache-key.d.ts +1 -0
- package/dist/types/agent/session-tail.d.ts +12 -0
- package/dist/types/agent/subagents.d.ts +5 -0
- package/dist/types/agent/system-prompt-composition.d.ts +1 -0
- package/dist/types/agent/system-prompt.d.ts +2 -0
- package/dist/types/agent/tools/channel-disengage.d.ts +1 -1
- package/dist/types/agent/tools/channel-edit.d.ts +1 -1
- package/dist/types/agent/tools/channel-fetch-attachment.d.ts +1 -1
- package/dist/types/agent/tools/channel-handoff.d.ts +1 -1
- package/dist/types/agent/tools/channel-history.d.ts +1 -1
- package/dist/types/agent/tools/channel-react.d.ts +1 -1
- package/dist/types/agent/tools/channel-read.d.ts +10 -2
- package/dist/types/agent/tools/channel-reply.d.ts +1 -1
- package/dist/types/agent/tools/channel-send.d.ts +1 -1
- package/dist/types/agent/tools/channel-session-search.d.ts +1 -1
- package/dist/types/agent/tools/grant-role.d.ts +1 -1
- package/dist/types/agent/tools/post-github-review.d.ts +1 -1
- package/dist/types/agent/tools/restart.d.ts +1 -1
- package/dist/types/agent/tools/skip-response.d.ts +1 -1
- package/dist/types/agent/tools/spawn-subagent.d.ts +2 -1
- package/dist/types/agent/tools/stream-snapshot.d.ts +1 -1
- package/dist/types/agent/tools/subagent-cancel.d.ts +1 -1
- package/dist/types/agent/tools/subagent-output.d.ts +1 -1
- package/dist/types/agent/tools/todo/index.d.ts +1 -1
- package/dist/types/agent/tools/webfetch/adaptive-html.d.ts +3 -3
- package/dist/types/agent/tools/webfetch/strategies/readability-process.d.ts +48 -0
- package/dist/types/agent/tools/webfetch/tool.d.ts +2 -2
- package/dist/types/agent/tools/websearch.d.ts +1 -1
- package/dist/types/channels/adapters/github/auth-app.d.ts +25 -0
- package/dist/types/channels/adapters/github/auth-pat.d.ts +17 -0
- package/dist/types/channels/adapters/github/auth.d.ts +24 -0
- package/dist/types/channels/github-token-bridge.d.ts +4 -0
- package/dist/types/channels/lost-background-context.d.ts +2 -0
- package/dist/types/channels/persistence.d.ts +1 -0
- package/dist/types/channels/router.d.ts +5 -1
- package/dist/types/channels/types.d.ts +1 -0
- package/dist/types/coding-agent/tool.d.ts +1 -1
- package/dist/types/config/config.d.ts +20 -11
- package/dist/types/config/providers.d.ts +47 -0
- package/dist/types/eval/sandbox.d.ts +2 -0
- package/dist/types/git/resolve-identity.d.ts +2 -0
- package/dist/types/init/dockerfile.d.ts +1 -0
- package/dist/types/init/gitignore.d.ts +1 -1
- package/dist/types/permissions/builtins.d.ts +1 -0
- package/dist/types/plugin/types.d.ts +3 -0
- package/dist/types/sandbox/canonical-secrets.d.ts +2 -2
- package/dist/types/sandbox/coding-agent.d.ts +1 -1
- package/dist/types/sandbox/dependency-bins.d.ts +1 -0
- package/dist/types/sandbox/dev-source.d.ts +2 -2
- package/dist/types/sandbox/hidden-paths.d.ts +1 -0
- package/dist/types/sandbox/index.d.ts +1 -1
- package/dist/types/sandbox/policy.d.ts +3 -0
- package/dist/types/typevault/cli-path.d.ts +2 -0
- package/dist/types/typevault/envelope-store.d.ts +11 -0
- package/dist/types/typevault/lifecycle.d.ts +13 -0
- package/dist/types/typevault/vault.d.ts +27 -0
- package/package.json +8 -7
- package/scripts/test.ts +252 -0
- package/src/agent/bash-sandbox-env.ts +33 -1
- package/src/agent/bash-sandbox.ts +20 -6
- package/src/agent/index.ts +120 -31
- package/src/agent/multimodal/look-at.ts +1 -1
- package/src/agent/plugin-tools.ts +35 -1
- package/src/agent/prompt-cache-key.ts +26 -3
- package/src/agent/session-origin.ts +39 -18
- package/src/agent/session-tail.ts +28 -0
- package/src/agent/subagents.ts +21 -2
- package/src/agent/system-prompt-composition.ts +18 -0
- package/src/agent/system-prompt.ts +39 -1
- package/src/agent/tool-error-remediation.ts +18 -3
- package/src/agent/tools/channel-disengage.ts +1 -1
- package/src/agent/tools/channel-edit.ts +1 -1
- package/src/agent/tools/channel-fetch-attachment.ts +1 -1
- package/src/agent/tools/channel-handoff.ts +3 -2
- package/src/agent/tools/channel-history.ts +2 -1
- package/src/agent/tools/channel-react.ts +1 -1
- package/src/agent/tools/channel-read.ts +36 -3
- package/src/agent/tools/channel-reply.ts +1 -1
- package/src/agent/tools/channel-send.ts +4 -3
- package/src/agent/tools/channel-session-search.ts +13 -4
- package/src/agent/tools/grant-role.ts +1 -1
- package/src/agent/tools/post-github-review.ts +1 -1
- package/src/agent/tools/restart.ts +1 -1
- package/src/agent/tools/skip-response.ts +1 -1
- package/src/agent/tools/spawn-subagent.ts +15 -1
- package/src/agent/tools/stream-snapshot.ts +1 -1
- package/src/agent/tools/subagent-cancel.ts +1 -1
- package/src/agent/tools/subagent-output.ts +1 -1
- package/src/agent/tools/todo/index.ts +1 -1
- package/src/agent/tools/webfetch/adaptive-html.ts +6 -4
- package/src/agent/tools/webfetch/strategies/readability-child.ts +25 -0
- package/src/agent/tools/webfetch/strategies/readability-process.ts +185 -0
- package/src/agent/tools/webfetch/tool.ts +6 -5
- package/src/agent/tools/websearch.ts +1 -1
- package/src/browser/dockerfile.ts +1 -1
- package/src/browser/fill-secret.ts +92 -35
- package/src/browser/registry.ts +6 -6
- package/src/bundled-plugins/agent-messenger-cli-auth/command.ts +211 -0
- package/src/bundled-plugins/agent-messenger-cli-auth/index.ts +186 -0
- package/src/bundled-plugins/backup/index.ts +17 -2
- package/src/bundled-plugins/backup/runner.ts +37 -2
- package/src/bundled-plugins/browser-agent/browser-agent.ts +51 -14
- package/src/bundled-plugins/browser-agent/index.ts +12 -5
- package/src/bundled-plugins/managed-browser/index.ts +25 -2
- package/src/bundled-plugins/managed-browser/skills/browserskill/browserskill/SKILL.md +13 -5
- package/src/bundled-plugins/managed-browser/skills/omowright/omowright/SKILL.md +56 -5
- package/src/bundled-plugins/memory/README.md +23 -2
- package/src/bundled-plugins/memory/append-fragment.ts +133 -0
- package/src/bundled-plugins/memory/append-tool.ts +80 -149
- package/src/bundled-plugins/memory/dreaming.ts +2 -0
- package/src/bundled-plugins/memory/index.ts +33 -6
- package/src/bundled-plugins/memory/memory-logger.ts +133 -11
- package/src/bundled-plugins/memory/references/store-reference-tool.ts +56 -32
- package/src/bundled-plugins/memory/remember-tool.ts +81 -0
- package/src/bundled-plugins/memory/search-tool-hybrid.ts +91 -0
- package/src/bundled-plugins/memory/search-tool.ts +58 -12
- package/src/bundled-plugins/memory/stream-events.ts +2 -0
- package/src/bundled-plugins/memory/transcript-cursor.ts +30 -0
- package/src/bundled-plugins/memory/transcript-preload.ts +131 -26
- package/src/bundled-plugins/memory/transcript-view.ts +36 -0
- package/src/bundled-plugins/memory/watermark.ts +19 -10
- package/src/bundled-plugins/reviewer/reviewer.ts +20 -0
- package/src/bundled-plugins/security/policies/outbound-secret-scan.ts +3 -6
- package/src/bundled-plugins/security/policies/outbound-text.ts +20 -0
- package/src/bundled-plugins/security/policies/system-prompt-leak.ts +2 -7
- package/src/bundled-plugins/typevault/grants.ts +119 -0
- package/src/bundled-plugins/typevault/index.ts +152 -0
- package/src/bundled-plugins/typevault/request.ts +87 -0
- package/src/bundled-plugins/typevault/runtime.ts +45 -0
- package/src/bundled-plugins/typevault/skills/typevault/SKILL.md +65 -0
- package/src/channels/adapter-halt.ts +17 -0
- package/src/channels/adapters/github/history.ts +23 -2
- package/src/channels/adapters/github/inbound.ts +60 -1
- package/src/channels/adapters/github/index.ts +27 -5
- package/src/channels/adapters/github/reconcile-open-prs.ts +7 -1
- package/src/channels/adapters/kakaotalk-author-resolver.ts +7 -5
- package/src/channels/adapters/kakaotalk-channel-resolver.ts +45 -15
- package/src/channels/adapters/kakaotalk-classify.ts +7 -9
- package/src/channels/adapters/kakaotalk-list.ts +62 -0
- package/src/channels/adapters/kakaotalk-member-cache.ts +67 -0
- package/src/channels/adapters/kakaotalk-membership.ts +27 -10
- package/src/channels/adapters/kakaotalk-mention.ts +61 -0
- package/src/channels/adapters/kakaotalk.ts +159 -125
- package/src/channels/adapters/teams-classify.ts +18 -8
- package/src/channels/github-token-bridge.ts +13 -0
- package/src/channels/lost-background-context.ts +46 -0
- package/src/channels/manager.ts +52 -3
- package/src/channels/persistence.ts +5 -0
- package/src/channels/router.ts +120 -21
- package/src/channels/schema.ts +1 -1
- package/src/channels/types.ts +3 -0
- package/src/coding-agent/tool.ts +1 -1
- package/src/config/config.ts +20 -1
- package/src/config/providers.ts +65 -0
- package/src/container/start.ts +15 -2
- package/src/doctor/channel-checks.ts +33 -0
- package/src/doctor/checks.ts +12 -2
- package/src/eval/sandbox.ts +3 -0
- package/src/eval/tool.ts +1 -0
- package/src/git/resolve-identity.ts +67 -2
- package/src/git/system-commit.ts +7 -0
- package/src/init/dockerfile.ts +5 -1
- package/src/init/gitignore.ts +3 -3
- package/src/init/index.ts +1 -0
- package/src/init/models-dev.ts +2 -0
- package/src/init/validate-api-key.ts +5 -0
- package/src/migrations/secrets-v1-to-v2.ts +2 -0
- package/src/permissions/builtins.ts +8 -0
- package/src/plugin/types.ts +6 -0
- package/src/run/bundled-plugins.ts +12 -0
- package/src/run/channel-session-factory.ts +3 -0
- package/src/run/index.ts +13 -2
- package/src/sandbox/build.ts +1 -0
- package/src/sandbox/canonical-secrets.ts +6 -0
- package/src/sandbox/dependency-bins.ts +13 -1
- package/src/sandbox/dev-source.ts +21 -12
- package/src/sandbox/hidden-paths.ts +1 -1
- package/src/sandbox/index.ts +1 -0
- package/src/sandbox/policy.ts +5 -0
- package/src/secrets/hydrate.ts +4 -1
- package/src/secrets/storage.ts +10 -1
- package/src/server/command-runner.ts +4 -0
- package/src/server/index.ts +8 -1
- package/src/skills/typeclaw-config/SKILL.md +16 -0
- package/src/skills/typeclaw-memory/SKILL.md +3 -1
- package/src/skills/typeclaw-permissions/SKILL.md +8 -8
- package/src/skills/typeclaw-troubleshooting/SKILL.md +18 -1
- package/src/tunnels/active.ts +14 -0
- package/src/typevault/bash-cli.ts +18 -0
- package/src/typevault/cli-path.ts +11 -0
- package/src/typevault/envelope-helper.ts +17 -0
- package/src/typevault/envelope-store.ts +98 -0
- package/src/typevault/lifecycle.ts +132 -0
- package/src/typevault/prompt-tunnel.ts +33 -0
- package/src/typevault/redaction.ts +37 -0
- package/src/typevault/vault.ts +283 -0
- package/typeclaw.schema.json +40 -10
package/typeclaw.schema.json
CHANGED
|
@@ -73,7 +73,8 @@
|
|
|
73
73
|
"moonshot/kimi-k2.5",
|
|
74
74
|
"moonshot-coding/kimi-for-coding",
|
|
75
75
|
"opengateway/openai/gpt-5.4-nano",
|
|
76
|
-
"inception/mercury-3"
|
|
76
|
+
"inception/mercury-3",
|
|
77
|
+
"exaone/k-exaone_v2.5"
|
|
77
78
|
]
|
|
78
79
|
},
|
|
79
80
|
{
|
|
@@ -138,7 +139,8 @@
|
|
|
138
139
|
"moonshot/kimi-k2.5",
|
|
139
140
|
"moonshot-coding/kimi-for-coding",
|
|
140
141
|
"opengateway/openai/gpt-5.4-nano",
|
|
141
|
-
"inception/mercury-3"
|
|
142
|
+
"inception/mercury-3",
|
|
143
|
+
"exaone/k-exaone_v2.5"
|
|
142
144
|
]
|
|
143
145
|
},
|
|
144
146
|
{
|
|
@@ -204,7 +206,8 @@
|
|
|
204
206
|
"moonshot/kimi-k2.5",
|
|
205
207
|
"moonshot-coding/kimi-for-coding",
|
|
206
208
|
"opengateway/openai/gpt-5.4-nano",
|
|
207
|
-
"inception/mercury-3"
|
|
209
|
+
"inception/mercury-3",
|
|
210
|
+
"exaone/k-exaone_v2.5"
|
|
208
211
|
]
|
|
209
212
|
},
|
|
210
213
|
{
|
|
@@ -268,7 +271,8 @@
|
|
|
268
271
|
"moonshot/kimi-k2.5",
|
|
269
272
|
"moonshot-coding/kimi-for-coding",
|
|
270
273
|
"opengateway/openai/gpt-5.4-nano",
|
|
271
|
-
"inception/mercury-3"
|
|
274
|
+
"inception/mercury-3",
|
|
275
|
+
"exaone/k-exaone_v2.5"
|
|
272
276
|
]
|
|
273
277
|
},
|
|
274
278
|
{
|
|
@@ -333,7 +337,8 @@
|
|
|
333
337
|
"moonshot/kimi-k2.5",
|
|
334
338
|
"moonshot-coding/kimi-for-coding",
|
|
335
339
|
"opengateway/openai/gpt-5.4-nano",
|
|
336
|
-
"inception/mercury-3"
|
|
340
|
+
"inception/mercury-3",
|
|
341
|
+
"exaone/k-exaone_v2.5"
|
|
337
342
|
]
|
|
338
343
|
},
|
|
339
344
|
{
|
|
@@ -492,7 +497,8 @@
|
|
|
492
497
|
"moonshot/kimi-k2.5",
|
|
493
498
|
"moonshot-coding/kimi-for-coding",
|
|
494
499
|
"opengateway/openai/gpt-5.4-nano",
|
|
495
|
-
"inception/mercury-3"
|
|
500
|
+
"inception/mercury-3",
|
|
501
|
+
"exaone/k-exaone_v2.5"
|
|
496
502
|
]
|
|
497
503
|
},
|
|
498
504
|
{
|
|
@@ -557,7 +563,8 @@
|
|
|
557
563
|
"moonshot/kimi-k2.5",
|
|
558
564
|
"moonshot-coding/kimi-for-coding",
|
|
559
565
|
"opengateway/openai/gpt-5.4-nano",
|
|
560
|
-
"inception/mercury-3"
|
|
566
|
+
"inception/mercury-3",
|
|
567
|
+
"exaone/k-exaone_v2.5"
|
|
561
568
|
]
|
|
562
569
|
},
|
|
563
570
|
{
|
|
@@ -623,7 +630,8 @@
|
|
|
623
630
|
"moonshot/kimi-k2.5",
|
|
624
631
|
"moonshot-coding/kimi-for-coding",
|
|
625
632
|
"opengateway/openai/gpt-5.4-nano",
|
|
626
|
-
"inception/mercury-3"
|
|
633
|
+
"inception/mercury-3",
|
|
634
|
+
"exaone/k-exaone_v2.5"
|
|
627
635
|
]
|
|
628
636
|
},
|
|
629
637
|
{
|
|
@@ -687,7 +695,8 @@
|
|
|
687
695
|
"moonshot/kimi-k2.5",
|
|
688
696
|
"moonshot-coding/kimi-for-coding",
|
|
689
697
|
"opengateway/openai/gpt-5.4-nano",
|
|
690
|
-
"inception/mercury-3"
|
|
698
|
+
"inception/mercury-3",
|
|
699
|
+
"exaone/k-exaone_v2.5"
|
|
691
700
|
]
|
|
692
701
|
},
|
|
693
702
|
{
|
|
@@ -752,7 +761,8 @@
|
|
|
752
761
|
"moonshot/kimi-k2.5",
|
|
753
762
|
"moonshot-coding/kimi-for-coding",
|
|
754
763
|
"opengateway/openai/gpt-5.4-nano",
|
|
755
|
-
"inception/mercury-3"
|
|
764
|
+
"inception/mercury-3",
|
|
765
|
+
"exaone/k-exaone_v2.5"
|
|
756
766
|
]
|
|
757
767
|
},
|
|
758
768
|
{
|
|
@@ -3264,6 +3274,26 @@
|
|
|
3264
3274
|
}
|
|
3265
3275
|
}
|
|
3266
3276
|
},
|
|
3277
|
+
"typevault": {
|
|
3278
|
+
"default": {
|
|
3279
|
+
"enabled": false,
|
|
3280
|
+
"promptPort": 8976
|
|
3281
|
+
},
|
|
3282
|
+
"type": "object",
|
|
3283
|
+
"properties": {
|
|
3284
|
+
"enabled": {
|
|
3285
|
+
"default": false,
|
|
3286
|
+
"type": "boolean"
|
|
3287
|
+
},
|
|
3288
|
+
"promptPort": {
|
|
3289
|
+
"default": 8976,
|
|
3290
|
+
"type": "integer",
|
|
3291
|
+
"minimum": 1,
|
|
3292
|
+
"maximum": 65535
|
|
3293
|
+
}
|
|
3294
|
+
},
|
|
3295
|
+
"additionalProperties": false
|
|
3296
|
+
},
|
|
3267
3297
|
"logs": {
|
|
3268
3298
|
"default": {
|
|
3269
3299
|
"retentionDays": 14
|