typeclaw 0.10.0 → 0.11.1
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/README.md +5 -1
- package/package.json +1 -1
- package/src/agent/index.ts +37 -4
- package/src/agent/multimodal/look-at.ts +8 -0
- package/src/agent/restart-handoff/index.ts +91 -0
- package/src/agent/restart-handoff/paths.ts +11 -0
- package/src/agent/session-origin.ts +30 -10
- package/src/agent/subagent-completion-reminder.ts +4 -2
- package/src/agent/system-prompt.ts +3 -1
- package/src/agent/tools/restart.ts +42 -1
- package/src/agent/tools/skip-response.ts +157 -0
- package/src/bundled-plugins/memory/README.md +18 -2
- package/src/bundled-plugins/memory/index.ts +108 -6
- package/src/bundled-plugins/memory/memory-logger.ts +33 -24
- package/src/bundled-plugins/security/policies/prompt-injection.ts +1 -1
- package/src/channels/adapters/discord-bot-invite.ts +89 -0
- package/src/channels/adapters/github/auth-app.ts +53 -9
- package/src/channels/adapters/github/auth-pat.ts +4 -1
- package/src/channels/adapters/github/auth.ts +10 -0
- package/src/channels/adapters/github/event-permissions.ts +83 -0
- package/src/channels/adapters/github/inbound.ts +126 -1
- package/src/channels/adapters/github/index.ts +60 -66
- package/src/channels/adapters/github/outbound.ts +65 -17
- package/src/channels/adapters/github/permission-guidance.ts +169 -0
- package/src/channels/adapters/github/team-membership.ts +56 -0
- package/src/channels/adapters/kakaotalk-classify.ts +13 -1
- package/src/channels/adapters/kakaotalk.ts +2 -0
- package/src/channels/router.ts +269 -34
- package/src/channels/schema.ts +8 -7
- package/src/channels/types.ts +1 -1
- package/src/cli/channel.ts +138 -52
- package/src/cli/init.ts +139 -100
- package/src/cli/inspect-controller.ts +66 -0
- package/src/cli/inspect.ts +24 -32
- package/src/cli/prompt-pem.ts +113 -0
- package/src/cli/run.ts +24 -5
- package/src/cli/tui.ts +34 -10
- package/src/cli/tunnel.ts +453 -14
- package/src/cli/ui.ts +22 -0
- package/src/compose/discover.ts +5 -0
- package/src/config/config.ts +35 -7
- package/src/config/providers.ts +64 -56
- package/src/init/env-file.ts +66 -0
- package/src/init/hatching.ts +32 -5
- package/src/init/index.ts +131 -39
- package/src/init/validate-api-key.ts +31 -0
- package/src/inspect/index.ts +5 -1
- package/src/inspect/loop.ts +12 -1
- package/src/inspect/replay.ts +15 -1
- package/src/run/codex-fetch-observer.ts +377 -0
- package/src/run/index.ts +14 -2
- package/src/server/command-runner.ts +31 -2
- package/src/server/index.ts +59 -1
- package/src/shared/protocol.ts +1 -1
- package/src/skills/typeclaw-channel-github/SKILL.md +47 -1
- package/src/skills/typeclaw-tunnels/SKILL.md +33 -1
- package/src/tui/index.ts +17 -5
- package/src/tunnels/index.ts +1 -0
- package/src/tunnels/manager.ts +18 -0
- package/src/tunnels/providers/cloudflare-named.ts +224 -0
- package/src/tunnels/types.ts +17 -1
- package/typeclaw.schema.json +25 -7
package/typeclaw.schema.json
CHANGED
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"openai/gpt-5.4-mini",
|
|
27
27
|
"openai/gpt-5.4",
|
|
28
28
|
"openai/gpt-5.5",
|
|
29
|
-
"anthropic/claude-haiku-4-5",
|
|
30
|
-
"anthropic/claude-sonnet-4-6",
|
|
31
|
-
"anthropic/claude-opus-4-7",
|
|
32
29
|
"openai-codex/gpt-5.4-mini",
|
|
33
30
|
"openai-codex/gpt-5.4",
|
|
34
31
|
"openai-codex/gpt-5.5",
|
|
32
|
+
"anthropic/claude-haiku-4-5",
|
|
33
|
+
"anthropic/claude-sonnet-4-6",
|
|
34
|
+
"anthropic/claude-opus-4-7",
|
|
35
35
|
"fireworks/accounts/fireworks/routers/kimi-k2p6-turbo",
|
|
36
36
|
"zai/glm-4.5-air",
|
|
37
37
|
"zai/glm-4.6",
|
|
@@ -53,12 +53,12 @@
|
|
|
53
53
|
"openai/gpt-5.4-mini",
|
|
54
54
|
"openai/gpt-5.4",
|
|
55
55
|
"openai/gpt-5.5",
|
|
56
|
-
"anthropic/claude-haiku-4-5",
|
|
57
|
-
"anthropic/claude-sonnet-4-6",
|
|
58
|
-
"anthropic/claude-opus-4-7",
|
|
59
56
|
"openai-codex/gpt-5.4-mini",
|
|
60
57
|
"openai-codex/gpt-5.4",
|
|
61
58
|
"openai-codex/gpt-5.5",
|
|
59
|
+
"anthropic/claude-haiku-4-5",
|
|
60
|
+
"anthropic/claude-sonnet-4-6",
|
|
61
|
+
"anthropic/claude-opus-4-7",
|
|
62
62
|
"fireworks/accounts/fireworks/routers/kimi-k2p6-turbo",
|
|
63
63
|
"zai/glm-4.5-air",
|
|
64
64
|
"zai/glm-4.6",
|
|
@@ -457,6 +457,8 @@
|
|
|
457
457
|
"discussion_comment.created",
|
|
458
458
|
"issues.opened",
|
|
459
459
|
"pull_request.opened",
|
|
460
|
+
"pull_request.review_requested",
|
|
461
|
+
"pull_request.review_request_removed",
|
|
460
462
|
"discussion.created",
|
|
461
463
|
"pull_request_review.submitted"
|
|
462
464
|
],
|
|
@@ -1186,7 +1188,8 @@
|
|
|
1186
1188
|
"type": "string",
|
|
1187
1189
|
"enum": [
|
|
1188
1190
|
"external",
|
|
1189
|
-
"cloudflare-quick"
|
|
1191
|
+
"cloudflare-quick",
|
|
1192
|
+
"cloudflare-named"
|
|
1190
1193
|
]
|
|
1191
1194
|
},
|
|
1192
1195
|
"for": {
|
|
@@ -1230,6 +1233,14 @@
|
|
|
1230
1233
|
"type": "integer",
|
|
1231
1234
|
"minimum": 1,
|
|
1232
1235
|
"maximum": 65535
|
|
1236
|
+
},
|
|
1237
|
+
"hostname": {
|
|
1238
|
+
"type": "string",
|
|
1239
|
+
"format": "uri"
|
|
1240
|
+
},
|
|
1241
|
+
"tokenEnv": {
|
|
1242
|
+
"type": "string",
|
|
1243
|
+
"pattern": "^[A-Z_][A-Z0-9_]*$"
|
|
1233
1244
|
}
|
|
1234
1245
|
},
|
|
1235
1246
|
"required": [
|
|
@@ -1278,6 +1289,7 @@
|
|
|
1278
1289
|
"idleMs": 60000,
|
|
1279
1290
|
"bufferBytes": 500000,
|
|
1280
1291
|
"injectionBudgetBytes": 16384,
|
|
1292
|
+
"minIdleDeltaLines": 3,
|
|
1281
1293
|
"spawnTimeoutMs": 50000,
|
|
1282
1294
|
"retrievalSpawnTimeoutMs": 30000
|
|
1283
1295
|
},
|
|
@@ -1301,6 +1313,12 @@
|
|
|
1301
1313
|
"minimum": 4096,
|
|
1302
1314
|
"maximum": 9007199254740991
|
|
1303
1315
|
},
|
|
1316
|
+
"minIdleDeltaLines": {
|
|
1317
|
+
"default": 3,
|
|
1318
|
+
"type": "integer",
|
|
1319
|
+
"minimum": 0,
|
|
1320
|
+
"maximum": 9007199254740991
|
|
1321
|
+
},
|
|
1304
1322
|
"spawnTimeoutMs": {
|
|
1305
1323
|
"default": 50000,
|
|
1306
1324
|
"type": "integer",
|