typeclaw 0.38.0 → 0.39.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/README.md +4 -0
- package/auth.schema.json +109 -0
- package/package.json +2 -2
- package/secrets.schema.json +109 -0
- package/src/agent/attention-escalation.ts +4 -3
- package/src/agent/auth.ts +2 -2
- package/src/agent/index.ts +25 -2
- package/src/agent/restart/index.ts +17 -8
- package/src/agent/session-origin.ts +15 -2
- package/src/agent/subagents.ts +29 -1
- package/src/agent/system-prompt.ts +18 -5
- package/src/agent/tools/restart.ts +0 -3
- package/src/agent/tools/spawn-subagent.ts +7 -0
- package/src/bundled-plugins/memory/README.md +12 -1
- package/src/bundled-plugins/memory/index.ts +63 -8
- package/src/bundled-plugins/memory/memory-logger.ts +14 -10
- package/src/bundled-plugins/operator/operator.ts +1 -0
- package/src/channels/adapters/kakaotalk.ts +1 -1
- package/src/channels/adapters/webex-bot-classify.ts +20 -14
- package/src/channels/adapters/webex-bot-reference.ts +8 -6
- package/src/channels/adapters/webex-bot.ts +106 -39
- package/src/channels/adapters/webex-channel-resolver.ts +29 -0
- package/src/channels/adapters/webex-classify.ts +104 -0
- package/src/channels/adapters/webex-format.ts +53 -0
- package/src/channels/adapters/webex-id-ref.ts +32 -0
- package/src/channels/adapters/webex-reference.ts +49 -0
- package/src/channels/adapters/webex.ts +493 -0
- package/src/channels/manager.ts +63 -7
- package/src/channels/persistence.ts +67 -5
- package/src/channels/router.ts +8 -0
- package/src/channels/schema.ts +2 -0
- package/src/cli/channel.ts +118 -7
- package/src/cli/init.ts +70 -1
- package/src/cli/model.ts +143 -3
- package/src/config/channels-mutation.ts +2 -1
- package/src/config/config.ts +94 -31
- package/src/config/index.ts +3 -0
- package/src/config/models-mutation.ts +105 -15
- package/src/config/providers-mutation.ts +4 -4
- package/src/config/providers.ts +6 -14
- package/src/container/shared.ts +21 -0
- package/src/container/start.ts +25 -7
- package/src/doctor/channel-checks.ts +43 -0
- package/src/hostd/daemon.ts +7 -5
- package/src/hostd/index.ts +1 -11
- package/src/hostd/paths.ts +0 -16
- package/src/hostd/protocol.ts +2 -2
- package/src/init/checkpoint.ts +1 -1
- package/src/init/index.ts +60 -3
- package/src/init/run-owner-claim.ts +1 -0
- package/src/init/webex-auth.ts +68 -0
- package/src/inspect/label.ts +13 -2
- package/src/inspect/render.ts +5 -3
- package/src/permissions/resolve.ts +38 -1
- package/src/role-claim/match-rule.ts +5 -1
- package/src/run/index.ts +4 -1
- package/src/secrets/codex-auth-json.ts +52 -17
- package/src/secrets/encryption.ts +5 -1
- package/src/secrets/export-codex-auth-file.ts +26 -3
- package/src/secrets/schema.ts +35 -0
- package/src/secrets/webex-store.ts +113 -0
- package/src/skills/typeclaw-config/SKILL.md +18 -16
- package/typeclaw.schema.json +326 -0
package/typeclaw.schema.json
CHANGED
|
@@ -116,6 +116,172 @@
|
|
|
116
116
|
}
|
|
117
117
|
]
|
|
118
118
|
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "object",
|
|
122
|
+
"properties": {
|
|
123
|
+
"model": {
|
|
124
|
+
"anyOf": [
|
|
125
|
+
{
|
|
126
|
+
"type": "string",
|
|
127
|
+
"enum": [
|
|
128
|
+
"openai/gpt-5.4-nano",
|
|
129
|
+
"openai/gpt-5.4-mini",
|
|
130
|
+
"openai/gpt-5.4",
|
|
131
|
+
"openai/gpt-5.5",
|
|
132
|
+
"openai-codex/gpt-5.4-mini",
|
|
133
|
+
"openai-codex/gpt-5.4",
|
|
134
|
+
"openai-codex/gpt-5.5",
|
|
135
|
+
"anthropic/claude-haiku-4-5",
|
|
136
|
+
"anthropic/claude-sonnet-4-6",
|
|
137
|
+
"anthropic/claude-opus-4-7",
|
|
138
|
+
"anthropic/claude-opus-4-8",
|
|
139
|
+
"fireworks/accounts/fireworks/routers/kimi-k2p6-turbo",
|
|
140
|
+
"zai/glm-4.5-air",
|
|
141
|
+
"zai/glm-4.6",
|
|
142
|
+
"zai/glm-4.7",
|
|
143
|
+
"zai-coding/glm-4.5-air",
|
|
144
|
+
"zai-coding/glm-4.7",
|
|
145
|
+
"zai-coding/glm-5",
|
|
146
|
+
"zai-coding/glm-5-turbo",
|
|
147
|
+
"zai-coding/glm-5.1",
|
|
148
|
+
"xai/grok-4.3",
|
|
149
|
+
"xai/grok-4.20-0309-reasoning",
|
|
150
|
+
"xai/grok-4.20-0309-non-reasoning",
|
|
151
|
+
"xai/grok-build-0.1",
|
|
152
|
+
"minimax/MiniMax-M3",
|
|
153
|
+
"minimax/MiniMax-M2.7",
|
|
154
|
+
"minimax/MiniMax-M2.5",
|
|
155
|
+
"minimax/MiniMax-M2.1",
|
|
156
|
+
"minimax/MiniMax-M2",
|
|
157
|
+
"deepseek/deepseek-v4-flash",
|
|
158
|
+
"deepseek/deepseek-v4-pro",
|
|
159
|
+
"moonshot/kimi-k2.7-code",
|
|
160
|
+
"moonshot/kimi-k2.6",
|
|
161
|
+
"moonshot/kimi-k2.5",
|
|
162
|
+
"moonshot-coding/kimi-for-coding"
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"type": "string"
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
"models": {
|
|
171
|
+
"anyOf": [
|
|
172
|
+
{
|
|
173
|
+
"anyOf": [
|
|
174
|
+
{
|
|
175
|
+
"type": "string",
|
|
176
|
+
"enum": [
|
|
177
|
+
"openai/gpt-5.4-nano",
|
|
178
|
+
"openai/gpt-5.4-mini",
|
|
179
|
+
"openai/gpt-5.4",
|
|
180
|
+
"openai/gpt-5.5",
|
|
181
|
+
"openai-codex/gpt-5.4-mini",
|
|
182
|
+
"openai-codex/gpt-5.4",
|
|
183
|
+
"openai-codex/gpt-5.5",
|
|
184
|
+
"anthropic/claude-haiku-4-5",
|
|
185
|
+
"anthropic/claude-sonnet-4-6",
|
|
186
|
+
"anthropic/claude-opus-4-7",
|
|
187
|
+
"anthropic/claude-opus-4-8",
|
|
188
|
+
"fireworks/accounts/fireworks/routers/kimi-k2p6-turbo",
|
|
189
|
+
"zai/glm-4.5-air",
|
|
190
|
+
"zai/glm-4.6",
|
|
191
|
+
"zai/glm-4.7",
|
|
192
|
+
"zai-coding/glm-4.5-air",
|
|
193
|
+
"zai-coding/glm-4.7",
|
|
194
|
+
"zai-coding/glm-5",
|
|
195
|
+
"zai-coding/glm-5-turbo",
|
|
196
|
+
"zai-coding/glm-5.1",
|
|
197
|
+
"xai/grok-4.3",
|
|
198
|
+
"xai/grok-4.20-0309-reasoning",
|
|
199
|
+
"xai/grok-4.20-0309-non-reasoning",
|
|
200
|
+
"xai/grok-build-0.1",
|
|
201
|
+
"minimax/MiniMax-M3",
|
|
202
|
+
"minimax/MiniMax-M2.7",
|
|
203
|
+
"minimax/MiniMax-M2.5",
|
|
204
|
+
"minimax/MiniMax-M2.1",
|
|
205
|
+
"minimax/MiniMax-M2",
|
|
206
|
+
"deepseek/deepseek-v4-flash",
|
|
207
|
+
"deepseek/deepseek-v4-pro",
|
|
208
|
+
"moonshot/kimi-k2.7-code",
|
|
209
|
+
"moonshot/kimi-k2.6",
|
|
210
|
+
"moonshot/kimi-k2.5",
|
|
211
|
+
"moonshot-coding/kimi-for-coding"
|
|
212
|
+
]
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"type": "string"
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"minItems": 1,
|
|
221
|
+
"type": "array",
|
|
222
|
+
"items": {
|
|
223
|
+
"anyOf": [
|
|
224
|
+
{
|
|
225
|
+
"type": "string",
|
|
226
|
+
"enum": [
|
|
227
|
+
"openai/gpt-5.4-nano",
|
|
228
|
+
"openai/gpt-5.4-mini",
|
|
229
|
+
"openai/gpt-5.4",
|
|
230
|
+
"openai/gpt-5.5",
|
|
231
|
+
"openai-codex/gpt-5.4-mini",
|
|
232
|
+
"openai-codex/gpt-5.4",
|
|
233
|
+
"openai-codex/gpt-5.5",
|
|
234
|
+
"anthropic/claude-haiku-4-5",
|
|
235
|
+
"anthropic/claude-sonnet-4-6",
|
|
236
|
+
"anthropic/claude-opus-4-7",
|
|
237
|
+
"anthropic/claude-opus-4-8",
|
|
238
|
+
"fireworks/accounts/fireworks/routers/kimi-k2p6-turbo",
|
|
239
|
+
"zai/glm-4.5-air",
|
|
240
|
+
"zai/glm-4.6",
|
|
241
|
+
"zai/glm-4.7",
|
|
242
|
+
"zai-coding/glm-4.5-air",
|
|
243
|
+
"zai-coding/glm-4.7",
|
|
244
|
+
"zai-coding/glm-5",
|
|
245
|
+
"zai-coding/glm-5-turbo",
|
|
246
|
+
"zai-coding/glm-5.1",
|
|
247
|
+
"xai/grok-4.3",
|
|
248
|
+
"xai/grok-4.20-0309-reasoning",
|
|
249
|
+
"xai/grok-4.20-0309-non-reasoning",
|
|
250
|
+
"xai/grok-build-0.1",
|
|
251
|
+
"minimax/MiniMax-M3",
|
|
252
|
+
"minimax/MiniMax-M2.7",
|
|
253
|
+
"minimax/MiniMax-M2.5",
|
|
254
|
+
"minimax/MiniMax-M2.1",
|
|
255
|
+
"minimax/MiniMax-M2",
|
|
256
|
+
"deepseek/deepseek-v4-flash",
|
|
257
|
+
"deepseek/deepseek-v4-pro",
|
|
258
|
+
"moonshot/kimi-k2.7-code",
|
|
259
|
+
"moonshot/kimi-k2.6",
|
|
260
|
+
"moonshot/kimi-k2.5",
|
|
261
|
+
"moonshot-coding/kimi-for-coding"
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"type": "string"
|
|
266
|
+
}
|
|
267
|
+
]
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
]
|
|
271
|
+
},
|
|
272
|
+
"thinkingLevel": {
|
|
273
|
+
"type": "string",
|
|
274
|
+
"enum": [
|
|
275
|
+
"off",
|
|
276
|
+
"minimal",
|
|
277
|
+
"low",
|
|
278
|
+
"medium",
|
|
279
|
+
"high",
|
|
280
|
+
"xhigh"
|
|
281
|
+
]
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"additionalProperties": false
|
|
119
285
|
}
|
|
120
286
|
]
|
|
121
287
|
}
|
|
@@ -1320,6 +1486,166 @@
|
|
|
1320
1486
|
}
|
|
1321
1487
|
}
|
|
1322
1488
|
},
|
|
1489
|
+
"webex": {
|
|
1490
|
+
"type": "object",
|
|
1491
|
+
"properties": {
|
|
1492
|
+
"engagement": {
|
|
1493
|
+
"default": {
|
|
1494
|
+
"trigger": [
|
|
1495
|
+
"mention",
|
|
1496
|
+
"reply",
|
|
1497
|
+
"dm"
|
|
1498
|
+
],
|
|
1499
|
+
"stickiness": {
|
|
1500
|
+
"perReply": {
|
|
1501
|
+
"window": 900000
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
},
|
|
1505
|
+
"type": "object",
|
|
1506
|
+
"properties": {
|
|
1507
|
+
"trigger": {
|
|
1508
|
+
"default": [
|
|
1509
|
+
"mention",
|
|
1510
|
+
"reply",
|
|
1511
|
+
"dm"
|
|
1512
|
+
],
|
|
1513
|
+
"type": "array",
|
|
1514
|
+
"items": {
|
|
1515
|
+
"type": "string",
|
|
1516
|
+
"enum": [
|
|
1517
|
+
"mention",
|
|
1518
|
+
"reply",
|
|
1519
|
+
"dm"
|
|
1520
|
+
]
|
|
1521
|
+
}
|
|
1522
|
+
},
|
|
1523
|
+
"stickiness": {
|
|
1524
|
+
"default": {
|
|
1525
|
+
"perReply": {
|
|
1526
|
+
"window": 900000
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1529
|
+
"anyOf": [
|
|
1530
|
+
{
|
|
1531
|
+
"type": "string",
|
|
1532
|
+
"const": "off"
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"type": "object",
|
|
1536
|
+
"properties": {
|
|
1537
|
+
"perReply": {
|
|
1538
|
+
"type": "object",
|
|
1539
|
+
"properties": {
|
|
1540
|
+
"window": {
|
|
1541
|
+
"type": "integer",
|
|
1542
|
+
"minimum": 1,
|
|
1543
|
+
"maximum": 86400000
|
|
1544
|
+
}
|
|
1545
|
+
},
|
|
1546
|
+
"required": [
|
|
1547
|
+
"window"
|
|
1548
|
+
]
|
|
1549
|
+
}
|
|
1550
|
+
},
|
|
1551
|
+
"required": [
|
|
1552
|
+
"perReply"
|
|
1553
|
+
]
|
|
1554
|
+
}
|
|
1555
|
+
]
|
|
1556
|
+
}
|
|
1557
|
+
}
|
|
1558
|
+
},
|
|
1559
|
+
"history": {
|
|
1560
|
+
"default": {
|
|
1561
|
+
"prefetch": {
|
|
1562
|
+
"thread": {
|
|
1563
|
+
"head": 3,
|
|
1564
|
+
"tail": 10
|
|
1565
|
+
},
|
|
1566
|
+
"channel": {
|
|
1567
|
+
"tail": 10
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
},
|
|
1571
|
+
"type": "object",
|
|
1572
|
+
"properties": {
|
|
1573
|
+
"prefetch": {
|
|
1574
|
+
"default": {
|
|
1575
|
+
"thread": {
|
|
1576
|
+
"head": 3,
|
|
1577
|
+
"tail": 10
|
|
1578
|
+
},
|
|
1579
|
+
"channel": {
|
|
1580
|
+
"tail": 10
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
"type": "object",
|
|
1584
|
+
"properties": {
|
|
1585
|
+
"thread": {
|
|
1586
|
+
"default": {
|
|
1587
|
+
"head": 3,
|
|
1588
|
+
"tail": 10
|
|
1589
|
+
},
|
|
1590
|
+
"type": "object",
|
|
1591
|
+
"properties": {
|
|
1592
|
+
"head": {
|
|
1593
|
+
"default": 3,
|
|
1594
|
+
"type": "integer",
|
|
1595
|
+
"minimum": 0,
|
|
1596
|
+
"maximum": 200
|
|
1597
|
+
},
|
|
1598
|
+
"tail": {
|
|
1599
|
+
"default": 10,
|
|
1600
|
+
"type": "integer",
|
|
1601
|
+
"minimum": 0,
|
|
1602
|
+
"maximum": 200
|
|
1603
|
+
}
|
|
1604
|
+
}
|
|
1605
|
+
},
|
|
1606
|
+
"channel": {
|
|
1607
|
+
"default": {
|
|
1608
|
+
"tail": 10
|
|
1609
|
+
},
|
|
1610
|
+
"type": "object",
|
|
1611
|
+
"properties": {
|
|
1612
|
+
"tail": {
|
|
1613
|
+
"default": 10,
|
|
1614
|
+
"type": "integer",
|
|
1615
|
+
"minimum": 0,
|
|
1616
|
+
"maximum": 200
|
|
1617
|
+
}
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
},
|
|
1624
|
+
"enabled": {
|
|
1625
|
+
"default": true,
|
|
1626
|
+
"type": "boolean"
|
|
1627
|
+
},
|
|
1628
|
+
"quotedReply": {
|
|
1629
|
+
"default": {
|
|
1630
|
+
"enabled": true,
|
|
1631
|
+
"queueDelayMs": 10000
|
|
1632
|
+
},
|
|
1633
|
+
"type": "object",
|
|
1634
|
+
"properties": {
|
|
1635
|
+
"enabled": {
|
|
1636
|
+
"default": true,
|
|
1637
|
+
"type": "boolean"
|
|
1638
|
+
},
|
|
1639
|
+
"queueDelayMs": {
|
|
1640
|
+
"default": 10000,
|
|
1641
|
+
"type": "integer",
|
|
1642
|
+
"minimum": 0,
|
|
1643
|
+
"maximum": 9007199254740991
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
},
|
|
1323
1649
|
"webex-bot": {
|
|
1324
1650
|
"type": "object",
|
|
1325
1651
|
"properties": {
|