@runtypelabs/cli 2.47.1 → 2.47.9
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/index.js +245 -132
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -20,6 +20,7 @@ import { fileURLToPath, pathToFileURL } from "node:url";
|
|
|
20
20
|
import readline from "readline";
|
|
21
21
|
import { ErrorDisplay, Spinner, StatusBar, StreamOutput, renderMarkdownToTerminal, theme } from "@runtypelabs/ink-components";
|
|
22
22
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
23
|
+
import { access, chmod, copyFile, mkdir, open as open$1, readFile, realpath, rename, rm, stat, writeFile } from "node:fs/promises";
|
|
23
24
|
import TextInput from "ink-text-input";
|
|
24
25
|
import SelectInput from "ink-select-input";
|
|
25
26
|
import { execSync, spawn, spawnSync } from "node:child_process";
|
|
@@ -31,7 +32,6 @@ import { AnimatedVariant, LoadingAnimation, StartupGridIconCompactLightInverted
|
|
|
31
32
|
import { createJiti } from "jiti";
|
|
32
33
|
import micromatch from "micromatch";
|
|
33
34
|
import { parse } from "yaml";
|
|
34
|
-
import { access, chmod, copyFile, mkdir, open as open$1, readFile, realpath, rename, rm, stat, writeFile } from "node:fs/promises";
|
|
35
35
|
import { execFileSync, spawn as spawn$1 } from "child_process";
|
|
36
36
|
import { createServer } from "node:http";
|
|
37
37
|
import { createServer as createServer$1 } from "node:net";
|
|
@@ -8421,7 +8421,7 @@ function toolNamesCollideForAiSdk(left, right) {
|
|
|
8421
8421
|
return sanitizeToolNameForAiSdk(left) === sanitizeToolNameForAiSdk(right);
|
|
8422
8422
|
}
|
|
8423
8423
|
//#endregion
|
|
8424
|
-
//#region ../shared/dist/chunk-
|
|
8424
|
+
//#region ../shared/dist/chunk-D4a8OoxX.mjs
|
|
8425
8425
|
const BUILTIN_TOOLS_LEAN = [
|
|
8426
8426
|
{
|
|
8427
8427
|
"id": "gpt-image-2-5",
|
|
@@ -9614,6 +9614,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
9614
9614
|
"requiresApiKey": false,
|
|
9615
9615
|
"executionHint": "platform",
|
|
9616
9616
|
"platformKeySupport": true,
|
|
9617
|
+
"hidden": true,
|
|
9618
|
+
"deprecated": true,
|
|
9617
9619
|
"managedExecutionKind": "orthogonal"
|
|
9618
9620
|
},
|
|
9619
9621
|
{
|
|
@@ -9693,17 +9695,6 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
9693
9695
|
"platformKeySupport": true,
|
|
9694
9696
|
"managedExecutionKind": "orthogonal"
|
|
9695
9697
|
},
|
|
9696
|
-
{
|
|
9697
|
-
"id": "orthogonal:aviato:marketmap_generate",
|
|
9698
|
-
"idPrefix": "platform",
|
|
9699
|
-
"name": "Aviato Market Map Generate",
|
|
9700
|
-
"category": "knowledge_retrieval",
|
|
9701
|
-
"providers": ["multi"],
|
|
9702
|
-
"requiresApiKey": false,
|
|
9703
|
-
"executionHint": "platform",
|
|
9704
|
-
"platformKeySupport": true,
|
|
9705
|
-
"managedExecutionKind": "orthogonal"
|
|
9706
|
-
},
|
|
9707
9698
|
{
|
|
9708
9699
|
"id": "orthogonal:aviato:person_enrich",
|
|
9709
9700
|
"idPrefix": "platform",
|
|
@@ -9790,6 +9781,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
9790
9781
|
"requiresApiKey": false,
|
|
9791
9782
|
"executionHint": "platform",
|
|
9792
9783
|
"platformKeySupport": true,
|
|
9784
|
+
"hidden": true,
|
|
9785
|
+
"deprecated": true,
|
|
9793
9786
|
"managedExecutionKind": "orthogonal"
|
|
9794
9787
|
},
|
|
9795
9788
|
{
|
|
@@ -9834,6 +9827,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
9834
9827
|
"requiresApiKey": false,
|
|
9835
9828
|
"executionHint": "platform",
|
|
9836
9829
|
"platformKeySupport": true,
|
|
9830
|
+
"hidden": true,
|
|
9831
|
+
"deprecated": true,
|
|
9837
9832
|
"managedExecutionKind": "orthogonal"
|
|
9838
9833
|
},
|
|
9839
9834
|
{
|
|
@@ -9847,17 +9842,6 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
9847
9842
|
"platformKeySupport": true,
|
|
9848
9843
|
"managedExecutionKind": "orthogonal"
|
|
9849
9844
|
},
|
|
9850
|
-
{
|
|
9851
|
-
"id": "orthogonal:crustdata:company_search",
|
|
9852
|
-
"idPrefix": "platform",
|
|
9853
|
-
"name": "Crustdata Company Search",
|
|
9854
|
-
"category": "knowledge_retrieval",
|
|
9855
|
-
"providers": ["multi"],
|
|
9856
|
-
"requiresApiKey": false,
|
|
9857
|
-
"executionHint": "platform",
|
|
9858
|
-
"platformKeySupport": true,
|
|
9859
|
-
"managedExecutionKind": "orthogonal"
|
|
9860
|
-
},
|
|
9861
9845
|
{
|
|
9862
9846
|
"id": "orthogonal:crustdata:identify",
|
|
9863
9847
|
"idPrefix": "platform",
|
|
@@ -9892,10 +9876,10 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
9892
9876
|
"managedExecutionKind": "orthogonal"
|
|
9893
9877
|
},
|
|
9894
9878
|
{
|
|
9895
|
-
"id": "orthogonal:
|
|
9879
|
+
"id": "orthogonal:crustdata:person_search_autocomplete",
|
|
9896
9880
|
"idPrefix": "platform",
|
|
9897
|
-
"name": "
|
|
9898
|
-
"category": "
|
|
9881
|
+
"name": "Crustdata Person Search Autocomplete",
|
|
9882
|
+
"category": "knowledge_retrieval",
|
|
9899
9883
|
"providers": ["multi"],
|
|
9900
9884
|
"requiresApiKey": false,
|
|
9901
9885
|
"executionHint": "platform",
|
|
@@ -9903,9 +9887,9 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
9903
9887
|
"managedExecutionKind": "orthogonal"
|
|
9904
9888
|
},
|
|
9905
9889
|
{
|
|
9906
|
-
"id": "orthogonal:didit:
|
|
9890
|
+
"id": "orthogonal:didit:aml",
|
|
9907
9891
|
"idPrefix": "platform",
|
|
9908
|
-
"name": "Didit
|
|
9892
|
+
"name": "Didit AML Check",
|
|
9909
9893
|
"category": "third_party_api",
|
|
9910
9894
|
"providers": ["multi"],
|
|
9911
9895
|
"requiresApiKey": false,
|
|
@@ -9914,9 +9898,9 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
9914
9898
|
"managedExecutionKind": "orthogonal"
|
|
9915
9899
|
},
|
|
9916
9900
|
{
|
|
9917
|
-
"id": "orthogonal:didit:
|
|
9901
|
+
"id": "orthogonal:didit:database_validation",
|
|
9918
9902
|
"idPrefix": "platform",
|
|
9919
|
-
"name": "Didit
|
|
9903
|
+
"name": "Didit Database Validation",
|
|
9920
9904
|
"category": "third_party_api",
|
|
9921
9905
|
"providers": ["multi"],
|
|
9922
9906
|
"requiresApiKey": false,
|
|
@@ -9925,9 +9909,9 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
9925
9909
|
"managedExecutionKind": "orthogonal"
|
|
9926
9910
|
},
|
|
9927
9911
|
{
|
|
9928
|
-
"id": "orthogonal:didit:
|
|
9912
|
+
"id": "orthogonal:didit:email_check",
|
|
9929
9913
|
"idPrefix": "platform",
|
|
9930
|
-
"name": "Didit
|
|
9914
|
+
"name": "Didit Check Email Code",
|
|
9931
9915
|
"category": "third_party_api",
|
|
9932
9916
|
"providers": ["multi"],
|
|
9933
9917
|
"requiresApiKey": false,
|
|
@@ -9936,32 +9920,10 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
9936
9920
|
"managedExecutionKind": "orthogonal"
|
|
9937
9921
|
},
|
|
9938
9922
|
{
|
|
9939
|
-
"id": "orthogonal:
|
|
9940
|
-
"idPrefix": "platform",
|
|
9941
|
-
"name": "Dome Crypto Prices (Binance)",
|
|
9942
|
-
"category": "knowledge_retrieval",
|
|
9943
|
-
"providers": ["multi"],
|
|
9944
|
-
"requiresApiKey": false,
|
|
9945
|
-
"executionHint": "platform",
|
|
9946
|
-
"platformKeySupport": true,
|
|
9947
|
-
"managedExecutionKind": "orthogonal"
|
|
9948
|
-
},
|
|
9949
|
-
{
|
|
9950
|
-
"id": "orthogonal:dome:kalshi_markets",
|
|
9951
|
-
"idPrefix": "platform",
|
|
9952
|
-
"name": "Dome Kalshi Markets",
|
|
9953
|
-
"category": "knowledge_retrieval",
|
|
9954
|
-
"providers": ["multi"],
|
|
9955
|
-
"requiresApiKey": false,
|
|
9956
|
-
"executionHint": "platform",
|
|
9957
|
-
"platformKeySupport": true,
|
|
9958
|
-
"managedExecutionKind": "orthogonal"
|
|
9959
|
-
},
|
|
9960
|
-
{
|
|
9961
|
-
"id": "orthogonal:dome:polymarket_markets",
|
|
9923
|
+
"id": "orthogonal:didit:email_send",
|
|
9962
9924
|
"idPrefix": "platform",
|
|
9963
|
-
"name": "
|
|
9964
|
-
"category": "
|
|
9925
|
+
"name": "Didit Send Email",
|
|
9926
|
+
"category": "third_party_api",
|
|
9965
9927
|
"providers": ["multi"],
|
|
9966
9928
|
"requiresApiKey": false,
|
|
9967
9929
|
"executionHint": "platform",
|
|
@@ -9977,6 +9939,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
9977
9939
|
"requiresApiKey": false,
|
|
9978
9940
|
"executionHint": "platform",
|
|
9979
9941
|
"platformKeySupport": true,
|
|
9942
|
+
"hidden": true,
|
|
9943
|
+
"deprecated": true,
|
|
9980
9944
|
"managedExecutionKind": "orthogonal"
|
|
9981
9945
|
},
|
|
9982
9946
|
{
|
|
@@ -9988,6 +9952,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
9988
9952
|
"requiresApiKey": false,
|
|
9989
9953
|
"executionHint": "platform",
|
|
9990
9954
|
"platformKeySupport": true,
|
|
9955
|
+
"hidden": true,
|
|
9956
|
+
"deprecated": true,
|
|
9991
9957
|
"managedExecutionKind": "orthogonal"
|
|
9992
9958
|
},
|
|
9993
9959
|
{
|
|
@@ -9999,6 +9965,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
9999
9965
|
"requiresApiKey": false,
|
|
10000
9966
|
"executionHint": "platform",
|
|
10001
9967
|
"platformKeySupport": true,
|
|
9968
|
+
"hidden": true,
|
|
9969
|
+
"deprecated": true,
|
|
10002
9970
|
"managedExecutionKind": "orthogonal"
|
|
10003
9971
|
},
|
|
10004
9972
|
{
|
|
@@ -10111,6 +10079,17 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10111
10079
|
"platformKeySupport": true,
|
|
10112
10080
|
"managedExecutionKind": "orthogonal"
|
|
10113
10081
|
},
|
|
10082
|
+
{
|
|
10083
|
+
"id": "orthogonal:financial-datasets:inflation_snapshot",
|
|
10084
|
+
"idPrefix": "platform",
|
|
10085
|
+
"name": "Financial Datasets Inflation Snapshot",
|
|
10086
|
+
"category": "knowledge_retrieval",
|
|
10087
|
+
"providers": ["multi"],
|
|
10088
|
+
"requiresApiKey": false,
|
|
10089
|
+
"executionHint": "platform",
|
|
10090
|
+
"platformKeySupport": true,
|
|
10091
|
+
"managedExecutionKind": "orthogonal"
|
|
10092
|
+
},
|
|
10114
10093
|
{
|
|
10115
10094
|
"id": "orthogonal:financial-datasets:insider_trades",
|
|
10116
10095
|
"idPrefix": "platform",
|
|
@@ -10122,6 +10101,17 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10122
10101
|
"platformKeySupport": true,
|
|
10123
10102
|
"managedExecutionKind": "orthogonal"
|
|
10124
10103
|
},
|
|
10104
|
+
{
|
|
10105
|
+
"id": "orthogonal:financial-datasets:labor_snapshot",
|
|
10106
|
+
"idPrefix": "platform",
|
|
10107
|
+
"name": "Financial Datasets Labor Market Snapshot",
|
|
10108
|
+
"category": "knowledge_retrieval",
|
|
10109
|
+
"providers": ["multi"],
|
|
10110
|
+
"requiresApiKey": false,
|
|
10111
|
+
"executionHint": "platform",
|
|
10112
|
+
"platformKeySupport": true,
|
|
10113
|
+
"managedExecutionKind": "orthogonal"
|
|
10114
|
+
},
|
|
10125
10115
|
{
|
|
10126
10116
|
"id": "orthogonal:financial-datasets:news",
|
|
10127
10117
|
"idPrefix": "platform",
|
|
@@ -10166,6 +10156,17 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10166
10156
|
"platformKeySupport": true,
|
|
10167
10157
|
"managedExecutionKind": "orthogonal"
|
|
10168
10158
|
},
|
|
10159
|
+
{
|
|
10160
|
+
"id": "orthogonal:financial-datasets:yield_curve_snapshot",
|
|
10161
|
+
"idPrefix": "platform",
|
|
10162
|
+
"name": "Financial Datasets Treasury Yield Curve",
|
|
10163
|
+
"category": "knowledge_retrieval",
|
|
10164
|
+
"providers": ["multi"],
|
|
10165
|
+
"requiresApiKey": false,
|
|
10166
|
+
"executionHint": "platform",
|
|
10167
|
+
"platformKeySupport": true,
|
|
10168
|
+
"managedExecutionKind": "orthogonal"
|
|
10169
|
+
},
|
|
10169
10170
|
{
|
|
10170
10171
|
"id": "orthogonal:happenstance:research",
|
|
10171
10172
|
"idPrefix": "platform",
|
|
@@ -10197,6 +10198,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10197
10198
|
"requiresApiKey": false,
|
|
10198
10199
|
"executionHint": "platform",
|
|
10199
10200
|
"platformKeySupport": true,
|
|
10201
|
+
"hidden": true,
|
|
10202
|
+
"deprecated": true,
|
|
10200
10203
|
"managedExecutionKind": "orthogonal"
|
|
10201
10204
|
},
|
|
10202
10205
|
{
|
|
@@ -10208,6 +10211,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10208
10211
|
"requiresApiKey": false,
|
|
10209
10212
|
"executionHint": "platform",
|
|
10210
10213
|
"platformKeySupport": true,
|
|
10214
|
+
"hidden": true,
|
|
10215
|
+
"deprecated": true,
|
|
10211
10216
|
"managedExecutionKind": "orthogonal"
|
|
10212
10217
|
},
|
|
10213
10218
|
{
|
|
@@ -10219,6 +10224,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10219
10224
|
"requiresApiKey": false,
|
|
10220
10225
|
"executionHint": "platform",
|
|
10221
10226
|
"platformKeySupport": true,
|
|
10227
|
+
"hidden": true,
|
|
10228
|
+
"deprecated": true,
|
|
10222
10229
|
"managedExecutionKind": "orthogonal"
|
|
10223
10230
|
},
|
|
10224
10231
|
{
|
|
@@ -10308,6 +10315,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10308
10315
|
"requiresApiKey": false,
|
|
10309
10316
|
"executionHint": "platform",
|
|
10310
10317
|
"platformKeySupport": true,
|
|
10318
|
+
"hidden": true,
|
|
10319
|
+
"deprecated": true,
|
|
10311
10320
|
"managedExecutionKind": "orthogonal"
|
|
10312
10321
|
},
|
|
10313
10322
|
{
|
|
@@ -10319,6 +10328,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10319
10328
|
"requiresApiKey": false,
|
|
10320
10329
|
"executionHint": "platform",
|
|
10321
10330
|
"platformKeySupport": true,
|
|
10331
|
+
"hidden": true,
|
|
10332
|
+
"deprecated": true,
|
|
10322
10333
|
"managedExecutionKind": "orthogonal"
|
|
10323
10334
|
},
|
|
10324
10335
|
{
|
|
@@ -10333,32 +10344,10 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10333
10344
|
"managedExecutionKind": "orthogonal"
|
|
10334
10345
|
},
|
|
10335
10346
|
{
|
|
10336
|
-
"id": "orthogonal:
|
|
10337
|
-
"idPrefix": "platform",
|
|
10338
|
-
"name": "Nyne Company Enrichment",
|
|
10339
|
-
"category": "knowledge_retrieval",
|
|
10340
|
-
"providers": ["multi"],
|
|
10341
|
-
"requiresApiKey": false,
|
|
10342
|
-
"executionHint": "platform",
|
|
10343
|
-
"platformKeySupport": true,
|
|
10344
|
-
"managedExecutionKind": "orthogonal"
|
|
10345
|
-
},
|
|
10346
|
-
{
|
|
10347
|
-
"id": "orthogonal:nyne:company_search",
|
|
10348
|
-
"idPrefix": "platform",
|
|
10349
|
-
"name": "Nyne Company Search",
|
|
10350
|
-
"category": "knowledge_retrieval",
|
|
10351
|
-
"providers": ["multi"],
|
|
10352
|
-
"requiresApiKey": false,
|
|
10353
|
-
"executionHint": "platform",
|
|
10354
|
-
"platformKeySupport": true,
|
|
10355
|
-
"managedExecutionKind": "orthogonal"
|
|
10356
|
-
},
|
|
10357
|
-
{
|
|
10358
|
-
"id": "orthogonal:nyne:person_enrichment",
|
|
10347
|
+
"id": "orthogonal:olostep:answers",
|
|
10359
10348
|
"idPrefix": "platform",
|
|
10360
|
-
"name": "
|
|
10361
|
-
"category": "
|
|
10349
|
+
"name": "Olostep Answers",
|
|
10350
|
+
"category": "web_scraping",
|
|
10362
10351
|
"providers": ["multi"],
|
|
10363
10352
|
"requiresApiKey": false,
|
|
10364
10353
|
"executionHint": "platform",
|
|
@@ -10366,10 +10355,10 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10366
10355
|
"managedExecutionKind": "orthogonal"
|
|
10367
10356
|
},
|
|
10368
10357
|
{
|
|
10369
|
-
"id": "orthogonal:
|
|
10358
|
+
"id": "orthogonal:olostep:crawl_pages",
|
|
10370
10359
|
"idPrefix": "platform",
|
|
10371
|
-
"name": "
|
|
10372
|
-
"category": "
|
|
10360
|
+
"name": "Olostep Crawl Pages",
|
|
10361
|
+
"category": "web_scraping",
|
|
10373
10362
|
"providers": ["multi"],
|
|
10374
10363
|
"requiresApiKey": false,
|
|
10375
10364
|
"executionHint": "platform",
|
|
@@ -10377,9 +10366,9 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10377
10366
|
"managedExecutionKind": "orthogonal"
|
|
10378
10367
|
},
|
|
10379
10368
|
{
|
|
10380
|
-
"id": "orthogonal:olostep:
|
|
10369
|
+
"id": "orthogonal:olostep:crawls",
|
|
10381
10370
|
"idPrefix": "platform",
|
|
10382
|
-
"name": "Olostep
|
|
10371
|
+
"name": "Olostep Crawl",
|
|
10383
10372
|
"category": "web_scraping",
|
|
10384
10373
|
"providers": ["multi"],
|
|
10385
10374
|
"requiresApiKey": false,
|
|
@@ -10388,9 +10377,9 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10388
10377
|
"managedExecutionKind": "orthogonal"
|
|
10389
10378
|
},
|
|
10390
10379
|
{
|
|
10391
|
-
"id": "orthogonal:olostep:
|
|
10380
|
+
"id": "orthogonal:olostep:maps",
|
|
10392
10381
|
"idPrefix": "platform",
|
|
10393
|
-
"name": "Olostep
|
|
10382
|
+
"name": "Olostep Map",
|
|
10394
10383
|
"category": "web_scraping",
|
|
10395
10384
|
"providers": ["multi"],
|
|
10396
10385
|
"requiresApiKey": false,
|
|
@@ -10399,9 +10388,9 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10399
10388
|
"managedExecutionKind": "orthogonal"
|
|
10400
10389
|
},
|
|
10401
10390
|
{
|
|
10402
|
-
"id": "orthogonal:olostep:
|
|
10391
|
+
"id": "orthogonal:olostep:retrieve",
|
|
10403
10392
|
"idPrefix": "platform",
|
|
10404
|
-
"name": "Olostep
|
|
10393
|
+
"name": "Olostep Retrieve Content",
|
|
10405
10394
|
"category": "web_scraping",
|
|
10406
10395
|
"providers": ["multi"],
|
|
10407
10396
|
"requiresApiKey": false,
|
|
@@ -10496,6 +10485,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10496
10485
|
"requiresApiKey": false,
|
|
10497
10486
|
"executionHint": "platform",
|
|
10498
10487
|
"platformKeySupport": true,
|
|
10488
|
+
"hidden": true,
|
|
10489
|
+
"deprecated": true,
|
|
10499
10490
|
"managedExecutionKind": "orthogonal"
|
|
10500
10491
|
},
|
|
10501
10492
|
{
|
|
@@ -10584,6 +10575,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10584
10575
|
"requiresApiKey": false,
|
|
10585
10576
|
"executionHint": "platform",
|
|
10586
10577
|
"platformKeySupport": true,
|
|
10578
|
+
"hidden": true,
|
|
10579
|
+
"deprecated": true,
|
|
10587
10580
|
"managedExecutionKind": "orthogonal"
|
|
10588
10581
|
},
|
|
10589
10582
|
{
|
|
@@ -10606,6 +10599,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10606
10599
|
"requiresApiKey": false,
|
|
10607
10600
|
"executionHint": "platform",
|
|
10608
10601
|
"platformKeySupport": true,
|
|
10602
|
+
"hidden": true,
|
|
10603
|
+
"deprecated": true,
|
|
10609
10604
|
"managedExecutionKind": "orthogonal"
|
|
10610
10605
|
},
|
|
10611
10606
|
{
|
|
@@ -10749,6 +10744,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10749
10744
|
"requiresApiKey": false,
|
|
10750
10745
|
"executionHint": "platform",
|
|
10751
10746
|
"platformKeySupport": true,
|
|
10747
|
+
"hidden": true,
|
|
10748
|
+
"deprecated": true,
|
|
10752
10749
|
"managedExecutionKind": "orthogonal"
|
|
10753
10750
|
},
|
|
10754
10751
|
{
|
|
@@ -10760,6 +10757,8 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10760
10757
|
"requiresApiKey": false,
|
|
10761
10758
|
"executionHint": "platform",
|
|
10762
10759
|
"platformKeySupport": true,
|
|
10760
|
+
"hidden": true,
|
|
10761
|
+
"deprecated": true,
|
|
10763
10762
|
"managedExecutionKind": "orthogonal"
|
|
10764
10763
|
},
|
|
10765
10764
|
{
|
|
@@ -10829,9 +10828,9 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10829
10828
|
"managedExecutionKind": "orthogonal"
|
|
10830
10829
|
},
|
|
10831
10830
|
{
|
|
10832
|
-
"id": "orthogonal:tavily:
|
|
10831
|
+
"id": "orthogonal:tavily:research_status",
|
|
10833
10832
|
"idPrefix": "platform",
|
|
10834
|
-
"name": "Tavily
|
|
10833
|
+
"name": "Tavily Research Status",
|
|
10835
10834
|
"category": "web_search",
|
|
10836
10835
|
"providers": ["multi"],
|
|
10837
10836
|
"requiresApiKey": false,
|
|
@@ -10840,10 +10839,10 @@ const BUILTIN_TOOLS_LEAN = [
|
|
|
10840
10839
|
"managedExecutionKind": "orthogonal"
|
|
10841
10840
|
},
|
|
10842
10841
|
{
|
|
10843
|
-
"id": "orthogonal:
|
|
10842
|
+
"id": "orthogonal:tavily:search",
|
|
10844
10843
|
"idPrefix": "platform",
|
|
10845
|
-
"name": "
|
|
10846
|
-
"category": "
|
|
10844
|
+
"name": "Tavily Search",
|
|
10845
|
+
"category": "web_search",
|
|
10847
10846
|
"providers": ["multi"],
|
|
10848
10847
|
"requiresApiKey": false,
|
|
10849
10848
|
"executionHint": "platform",
|
|
@@ -10952,7 +10951,7 @@ const BuiltInToolGroup = {
|
|
|
10952
10951
|
TEMPORAL: "temporal"
|
|
10953
10952
|
};
|
|
10954
10953
|
//#endregion
|
|
10955
|
-
//#region ../shared/dist/chunk-
|
|
10954
|
+
//#region ../shared/dist/chunk-CRiBavHB.mjs
|
|
10956
10955
|
/**
|
|
10957
10956
|
* Built-in Model Tools Registry — the LEAN tier.
|
|
10958
10957
|
*
|
|
@@ -11087,7 +11086,7 @@ function isSupportedElicitationSchema(schema) {
|
|
|
11087
11086
|
return parsed.success && typeof parsed.data !== "boolean" && parsed.data.type === "object";
|
|
11088
11087
|
}
|
|
11089
11088
|
//#endregion
|
|
11090
|
-
//#region ../shared/dist/chunk-
|
|
11089
|
+
//#region ../shared/dist/chunk-D-4Ot_e_.mjs
|
|
11091
11090
|
const primitiveSchema = strictObject({
|
|
11092
11091
|
type: _enum([
|
|
11093
11092
|
"string",
|
|
@@ -11320,6 +11319,12 @@ const approvalConfigSchema = object({
|
|
|
11320
11319
|
* executes and surfaced to the approver. Default: true (opt out with false). */
|
|
11321
11320
|
requestReason: boolean().optional(),
|
|
11322
11321
|
/**
|
|
11322
|
+
* Who may answer the gate. `owner` (default) is authorization by the builder org;
|
|
11323
|
+
* `end-user` lets a client-token chat visitor give consent (confirm their own order);
|
|
11324
|
+
* never for policy or budget gates. Stamped into the pause at pause time.
|
|
11325
|
+
*/
|
|
11326
|
+
approver: _enum(["owner", "end-user"]).optional(),
|
|
11327
|
+
/**
|
|
11323
11328
|
* Persistent "always" choices at the human approval prompt; user-facing options, not auto-behavior.
|
|
11324
11329
|
* Keys mirror the grant decision enum (alwaysAllow -> 'allow', alwaysDeny -> 'deny').
|
|
11325
11330
|
* Default: both off; this is the sole control for persisted approval grants (no Flagship flag).
|
|
@@ -11523,7 +11528,7 @@ function isDataConnectionToolId(toolId) {
|
|
|
11523
11528
|
return toolId.startsWith("dc:");
|
|
11524
11529
|
}
|
|
11525
11530
|
//#endregion
|
|
11526
|
-
//#region ../shared/dist/chunk-
|
|
11531
|
+
//#region ../shared/dist/chunk-InaIcoUA.mjs
|
|
11527
11532
|
/**
|
|
11528
11533
|
* Maps model families to provider-specific model IDs.
|
|
11529
11534
|
* Use for routing: family + provider → exact model ID
|
|
@@ -11546,6 +11551,11 @@ const MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
11546
11551
|
},
|
|
11547
11552
|
"claude-haiku-4-5-20251001": { "anthropic": "claude-haiku-4-5-20251001" },
|
|
11548
11553
|
"claude-haiku-4.5": { "vercel": "anthropic/claude-haiku-4.5" },
|
|
11554
|
+
"claude-haiku-5-5": {
|
|
11555
|
+
"anthropic": "claude-haiku-5-5",
|
|
11556
|
+
"vercel": "anthropic/claude-haiku-5.5"
|
|
11557
|
+
},
|
|
11558
|
+
"claude-haiku-5.5": { "vercel": "anthropic/claude-haiku-5.5" },
|
|
11549
11559
|
"claude-opus-4": { "vercel": "anthropic/claude-opus-4" },
|
|
11550
11560
|
"claude-opus-4-5": {
|
|
11551
11561
|
"anthropic": "claude-opus-4-5-20251101",
|
|
@@ -11608,12 +11618,14 @@ const MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
11608
11618
|
"deep-research-max-preview-04-2026": { "google": "deep-research-max-preview-04-2026" },
|
|
11609
11619
|
"deep-research-preview-04-2026": { "google": "deep-research-preview-04-2026" },
|
|
11610
11620
|
"deepseek-v4-1-flash": { "vercel": "deepseek/deepseek-v4.1-flash" },
|
|
11621
|
+
"deepseek-v4-1-flash-fast": { "vercel": "deepseek/deepseek-v4.1-flash-fast" },
|
|
11611
11622
|
"deepseek-v4-flash": { "vercel": "deepseek/deepseek-v4-flash" },
|
|
11612
11623
|
"deepseek-v4-flash-0731": { "vercel": "deepseek/deepseek-v4-flash-0731" },
|
|
11613
11624
|
"deepseek-v4-flash-vision-exp": { "vercel": "deepseek/deepseek-v4-flash-vision-exp" },
|
|
11614
11625
|
"deepseek-v4-pro": { "vercel": "deepseek/deepseek-v4-pro" },
|
|
11615
11626
|
"deepseek-v4-pro-0813": { "vercel": "deepseek/deepseek-v4-pro-0813" },
|
|
11616
11627
|
"deepseek-v4.1-flash": { "vercel": "deepseek/deepseek-v4.1-flash" },
|
|
11628
|
+
"deepseek-v4.1-flash-fast": { "vercel": "deepseek/deepseek-v4.1-flash-fast" },
|
|
11617
11629
|
"ember-1": { "vercel": "fireworks/ember-1" },
|
|
11618
11630
|
"fugu-max": { "vercel": "sakana/fugu-max" },
|
|
11619
11631
|
"fugu-ultra": { "vercel": "sakana/fugu-ultra-v2" },
|
|
@@ -11741,6 +11753,8 @@ const MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
11741
11753
|
"gemini-3.8-live-extended-thinking": { "vercel": "google/gemini-3.8-live-extended-thinking" },
|
|
11742
11754
|
"gemini-embedding-001": { "google": "gemini-embedding-001" },
|
|
11743
11755
|
"gemini-embedding-2": { "google": "gemini-embedding-2" },
|
|
11756
|
+
"gemini-nano-banana-2-1": { "vercel": "google/gemini-nano-banana-2.1" },
|
|
11757
|
+
"gemini-nano-banana-2.1": { "vercel": "google/gemini-nano-banana-2.1" },
|
|
11744
11758
|
"gemini-omni-flash": { "vercel": "google/gemini-omni-flash-preview" },
|
|
11745
11759
|
"gemini-omni-flash-preview": { "vercel": "google/gemini-omni-flash-preview" },
|
|
11746
11760
|
"gemma-4-26b-a4b-it": {
|
|
@@ -12051,11 +12065,10 @@ const MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
12051
12065
|
"inkling": { "vercel": "thinkingmachines/inkling" },
|
|
12052
12066
|
"inkling-small": { "vercel": "thinkingmachines/inkling-small" },
|
|
12053
12067
|
"interfaze-beta": { "vercel": "interfaze/interfaze-beta" },
|
|
12054
|
-
"kimi-k2": { "vercel": "moonshotai/kimi-k2
|
|
12068
|
+
"kimi-k2": { "vercel": "moonshotai/kimi-k2" },
|
|
12055
12069
|
"kimi-k2-6": { "vercel": "moonshotai/kimi-k2.6" },
|
|
12056
12070
|
"kimi-k2-7-code": { "vercel": "moonshotai/kimi-k2.7-code" },
|
|
12057
12071
|
"kimi-k2-7-code-highspeed": { "vercel": "moonshotai/kimi-k2.7-code-highspeed" },
|
|
12058
|
-
"kimi-k2-thinking": { "vercel": "moonshotai/kimi-k2-thinking" },
|
|
12059
12072
|
"kimi-k2.6": { "vercel": "moonshotai/kimi-k2.6" },
|
|
12060
12073
|
"kimi-k2.7-code": { "vercel": "moonshotai/kimi-k2.7-code" },
|
|
12061
12074
|
"kimi-k2.7-code-highspeed": { "vercel": "moonshotai/kimi-k2.7-code-highspeed" },
|
|
@@ -12067,13 +12080,11 @@ const MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
12067
12080
|
"laguna-s-2.1-free": { "vercel": "poolside/laguna-s-2.1-free" },
|
|
12068
12081
|
"ling-3-0-flash": { "vercel": "inclusionai/ling-3.0-flash" },
|
|
12069
12082
|
"ling-3-0-flash-sante": { "vercel": "inclusionai/ling-3.0-flash-sante" },
|
|
12070
|
-
"ling-3-0-flash-sante-free": { "vercel": "inclusionai/ling-3.0-flash-sante-free" },
|
|
12071
12083
|
"ling-3-0-flash-vl": { "vercel": "inclusionai/ling-3.0-flash-vl" },
|
|
12072
12084
|
"ling-3-1-flash": { "vercel": "inclusionai/ling-3.1-flash" },
|
|
12073
12085
|
"ling-3-1-flash-free": { "vercel": "inclusionai/ling-3.1-flash-free" },
|
|
12074
12086
|
"ling-3.0-flash": { "vercel": "inclusionai/ling-3.0-flash" },
|
|
12075
12087
|
"ling-3.0-flash-sante": { "vercel": "inclusionai/ling-3.0-flash-sante" },
|
|
12076
|
-
"ling-3.0-flash-sante-free": { "vercel": "inclusionai/ling-3.0-flash-sante-free" },
|
|
12077
12088
|
"ling-3.0-flash-vl": { "vercel": "inclusionai/ling-3.0-flash-vl" },
|
|
12078
12089
|
"ling-3.1-flash": { "vercel": "inclusionai/ling-3.1-flash" },
|
|
12079
12090
|
"ling-3.1-flash-free": { "vercel": "inclusionai/ling-3.1-flash-free" },
|
|
@@ -12112,6 +12123,7 @@ const MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
12112
12123
|
"ministral-3b": { "vercel": "mistral/ministral-3b" },
|
|
12113
12124
|
"ministral-8b": { "vercel": "mistral/ministral-8b" },
|
|
12114
12125
|
"mistral-large-3": { "vercel": "mistral/mistral-large-3" },
|
|
12126
|
+
"mistral-large-4": { "vercel": "mistral/mistral-large-4" },
|
|
12115
12127
|
"mistral-medium-3-5": { "vercel": "mistral/mistral-medium-3.5" },
|
|
12116
12128
|
"mistral-medium-3.5": { "vercel": "mistral/mistral-medium-3.5" },
|
|
12117
12129
|
"mistral-small": { "vercel": "mistral/mistral-small" },
|
|
@@ -12223,9 +12235,7 @@ const MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
12223
12235
|
"seed-2-1-turbo": { "vercel": "bytedance/seed-2.1-turbo" },
|
|
12224
12236
|
"seed-2.1-turbo": { "vercel": "bytedance/seed-2.1-turbo" },
|
|
12225
12237
|
"sonar": { "vercel": "perplexity/sonar" },
|
|
12226
|
-
"step-3-5-flash": { "vercel": "stepfun/step-3.5-flash" },
|
|
12227
12238
|
"step-3-7-flash": { "vercel": "stepfun/step-3.7-flash" },
|
|
12228
|
-
"step-3.5-flash": { "vercel": "stepfun/step-3.5-flash" },
|
|
12229
12239
|
"step-3.7-flash": { "vercel": "stepfun/step-3.7-flash" },
|
|
12230
12240
|
"step-5": { "vercel": "stepfun/step-5-preview" },
|
|
12231
12241
|
"step-5-preview": { "vercel": "stepfun/step-5-preview" },
|
|
@@ -12317,7 +12327,10 @@ const QWEN_3_8_27B_IDS = [
|
|
|
12317
12327
|
"claude-sonnet-5",
|
|
12318
12328
|
"anthropic/claude-sonnet-5",
|
|
12319
12329
|
"claude-haiku-4.5",
|
|
12320
|
-
"anthropic/claude-haiku-4.5"
|
|
12330
|
+
"anthropic/claude-haiku-4.5",
|
|
12331
|
+
"claude-haiku-5-5",
|
|
12332
|
+
"claude-haiku-5.5",
|
|
12333
|
+
"anthropic/claude-haiku-5.5"
|
|
12321
12334
|
]) }), {
|
|
12322
12335
|
...workersAiPrimary(DEEPSEEK_V4_FLASH_IDS),
|
|
12323
12336
|
...vercelPrimary(QWEN_3_8_27B_IDS, ["mixlayer"]),
|
|
@@ -12380,6 +12393,14 @@ const MANUAL_PROVIDER_MAP_OVERRIDES = {
|
|
|
12380
12393
|
"vercel": "anthropic/claude-haiku-4.5",
|
|
12381
12394
|
"anthropic": "claude-haiku-4-5-20251001"
|
|
12382
12395
|
},
|
|
12396
|
+
"claude-haiku-5.5": {
|
|
12397
|
+
"vercel": "anthropic/claude-haiku-5.5",
|
|
12398
|
+
"anthropic": "claude-haiku-5-5"
|
|
12399
|
+
},
|
|
12400
|
+
"anthropic/claude-haiku-5.5": {
|
|
12401
|
+
"vercel": "anthropic/claude-haiku-5.5",
|
|
12402
|
+
"anthropic": "claude-haiku-5-5"
|
|
12403
|
+
},
|
|
12383
12404
|
...workersAiAliases("@cf/zai-org/glm-5.3-flash", GLM_5_3_FLASH_IDS),
|
|
12384
12405
|
"qwen/qwen3.8-27b": {
|
|
12385
12406
|
"mixlayer": "qwen/qwen3.8-27b",
|
|
@@ -12490,7 +12511,7 @@ const CREATOR_TO_PROVIDER = {
|
|
|
12490
12511
|
"unknown": "openai"
|
|
12491
12512
|
};
|
|
12492
12513
|
//#endregion
|
|
12493
|
-
//#region ../shared/dist/chunk-
|
|
12514
|
+
//#region ../shared/dist/chunk-DVTXa1NO.mjs
|
|
12494
12515
|
/**
|
|
12495
12516
|
* The reserved model-facing name of the agent state write tool
|
|
12496
12517
|
* (`packages/runtime/src/engine/state-write-tool.ts`). The model is told to call
|
|
@@ -13000,6 +13021,14 @@ strictObject({
|
|
|
13000
13021
|
required: array(fieldNameSchema).optional(),
|
|
13001
13022
|
additionalProperties: boolean().optional()
|
|
13002
13023
|
}).superRefine((schema, ctx) => addSemanticIssues(schema, ctx));
|
|
13024
|
+
//#endregion
|
|
13025
|
+
//#region ../shared/dist/chunk-DLCjOb1c.mjs
|
|
13026
|
+
/** The Tenancy Assurance Levels, in the order `tenancyAssuranceLevelSchema` is built from. */
|
|
13027
|
+
const TENANCY_ASSURANCE_LEVELS = [
|
|
13028
|
+
"anonymous",
|
|
13029
|
+
"asserted",
|
|
13030
|
+
"verified"
|
|
13031
|
+
];
|
|
13003
13032
|
const FLOW_STEP_TYPES = ["prompt", ...[
|
|
13004
13033
|
"crawl",
|
|
13005
13034
|
"fetch-url",
|
|
@@ -13732,19 +13761,68 @@ object({
|
|
|
13732
13761
|
model: string().min(1).optional(),
|
|
13733
13762
|
calibration: judgmentCalibrationSchema.optional()
|
|
13734
13763
|
});
|
|
13735
|
-
Object.freeze({
|
|
13736
|
-
|
|
13737
|
-
|
|
13738
|
-
|
|
13739
|
-
|
|
13740
|
-
|
|
13741
|
-
|
|
13742
|
-
|
|
13743
|
-
|
|
13744
|
-
|
|
13745
|
-
|
|
13764
|
+
Object.freeze({
|
|
13765
|
+
"convaiinnovations/laya": Object.freeze({
|
|
13766
|
+
id: "convaiinnovations/laya",
|
|
13767
|
+
name: "Laya",
|
|
13768
|
+
description: "Laya is Convai Innovations’ System One evaluation model for fast, structured decisions. It evaluates shared state against choice, score, and yes/no questions and returns typed answers with probabilities in a single forward pass. It supports classification, routing, guardrail checks, and rubric-based assessment without generating free-form text.",
|
|
13769
|
+
contextWindow: 8192,
|
|
13770
|
+
supportedSpecifications: Object.freeze(["v4"]),
|
|
13771
|
+
pricing: Object.freeze({
|
|
13772
|
+
inputPerToken: "0",
|
|
13773
|
+
outputPerToken: "0",
|
|
13774
|
+
inputPer1MTokens: 0,
|
|
13775
|
+
outputPer1MTokens: 0
|
|
13776
|
+
})
|
|
13777
|
+
}),
|
|
13778
|
+
"convaiinnovations/laya-free": Object.freeze({
|
|
13779
|
+
id: "convaiinnovations/laya-free",
|
|
13780
|
+
name: "Laya (Free)",
|
|
13781
|
+
description: "Laya is Convai Innovations’ System One evaluation model for fast, structured decisions. It evaluates shared state against choice, score, and yes/no questions and returns typed answers with probabilities in a single forward pass. It supports classification, routing, guardrail checks, and rubric-based assessment without generating free-form text.",
|
|
13782
|
+
contextWindow: 8192,
|
|
13783
|
+
supportedSpecifications: Object.freeze(["v4"]),
|
|
13784
|
+
pricing: Object.freeze({
|
|
13785
|
+
inputPerToken: "0",
|
|
13786
|
+
outputPerToken: "0",
|
|
13787
|
+
inputPer1MTokens: 0,
|
|
13788
|
+
outputPer1MTokens: 0
|
|
13789
|
+
})
|
|
13790
|
+
}),
|
|
13791
|
+
"liquid/d1": Object.freeze({
|
|
13792
|
+
id: "liquid/d1",
|
|
13793
|
+
name: "Liquid d1",
|
|
13794
|
+
description: "Liquid d1 is a decision model for classification, routing, and scoring. It evaluates shared state against typed Choice, Score, and yes/no questions and returns structured answers with calibrated probabilities through the TypeSafe-compatible System One API.",
|
|
13795
|
+
contextWindow: 65536,
|
|
13796
|
+
supportedSpecifications: Object.freeze(["v4"]),
|
|
13797
|
+
pricing: Object.freeze({
|
|
13798
|
+
inputPerToken: "0.00000004",
|
|
13799
|
+
outputPerToken: "0",
|
|
13800
|
+
inputPer1MTokens: .04,
|
|
13801
|
+
outputPer1MTokens: 0
|
|
13802
|
+
})
|
|
13803
|
+
}),
|
|
13804
|
+
"openai/gpt-6-luna-decisions": Object.freeze({
|
|
13805
|
+
id: "openai/gpt-6-luna-decisions",
|
|
13806
|
+
name: "GPT-6 Luna Decisions",
|
|
13807
|
+
description: "GPT-6 Luna Decisions evaluates classification and scoring questions against shared text and image input using OpenAI's Decisions API. It supports predicate, choice, and score questions with probabilities and confidence values.",
|
|
13808
|
+
contextWindow: 105e4,
|
|
13809
|
+
supportedSpecifications: Object.freeze(["v4"]),
|
|
13810
|
+
pricing: null
|
|
13811
|
+
}),
|
|
13812
|
+
"typesafe-ai/jev": Object.freeze({
|
|
13813
|
+
id: "typesafe-ai/jev",
|
|
13814
|
+
name: "Jev",
|
|
13815
|
+
description: "TypeSafe AI System One decision model. Accepts shared state and typed questions, returning choices, scores, and boolean probabilities. Limits: 64,000 tokens total per request; 32,000 tokens for the state plus the longest question. No streaming or output-token limit.",
|
|
13816
|
+
contextWindow: 32e3,
|
|
13817
|
+
supportedSpecifications: Object.freeze(["v4"]),
|
|
13818
|
+
pricing: Object.freeze({
|
|
13819
|
+
inputPerToken: "0.000000042",
|
|
13820
|
+
outputPerToken: "0",
|
|
13821
|
+
inputPer1MTokens: .042,
|
|
13822
|
+
outputPer1MTokens: 0
|
|
13823
|
+
})
|
|
13746
13824
|
})
|
|
13747
|
-
})
|
|
13825
|
+
});
|
|
13748
13826
|
//#endregion
|
|
13749
13827
|
//#region ../shared/dist/chunk-CIi5jW2t.mjs
|
|
13750
13828
|
/**
|
|
@@ -14084,7 +14162,9 @@ const canonicalAgentVoiceProfileSchema = object({
|
|
|
14084
14162
|
strategy: voiceEndpointingStrategySchema,
|
|
14085
14163
|
silenceMs: number$1().int().min(0).max(3e4).optional()
|
|
14086
14164
|
}).strict().optional(),
|
|
14087
|
-
speech: voiceSpeechProfileSchema.optional()
|
|
14165
|
+
speech: voiceSpeechProfileSchema.optional(),
|
|
14166
|
+
/** GPT-Live says it is an AI assistant in its first reply unless this is false. */
|
|
14167
|
+
disclosure: boolean().optional()
|
|
14088
14168
|
}).strict();
|
|
14089
14169
|
const legacyElevenLabsSchema = object({
|
|
14090
14170
|
voiceId: string().trim().min(1).optional(),
|
|
@@ -15259,11 +15339,7 @@ const agentStateChannelSchema = object({
|
|
|
15259
15339
|
* Tenant vs End User). The vocabulary the trust boundary grades into and a
|
|
15260
15340
|
* strategy's assurance floor is expressed in. `CONTEXT.md` → "Assurance level".
|
|
15261
15341
|
*/
|
|
15262
|
-
const tenancyAssuranceLevelSchema = _enum(
|
|
15263
|
-
"anonymous",
|
|
15264
|
-
"asserted",
|
|
15265
|
-
"verified"
|
|
15266
|
-
]);
|
|
15342
|
+
const tenancyAssuranceLevelSchema = _enum(TENANCY_ASSURANCE_LEVELS);
|
|
15267
15343
|
/**
|
|
15268
15344
|
* Named archetype preset for a Tenancy Strategy (ADR 0012): the elicitable, auditable unit.
|
|
15269
15345
|
* internal: Builder-Org internal tooling, product-scoped data, no tenant/end-user required.
|
|
@@ -15701,6 +15777,8 @@ const agentRuntimeConfigSchema = object({
|
|
|
15701
15777
|
* schema injection). Default: true. Mirrors approvalConfigSchema
|
|
15702
15778
|
* in tool-types.ts. */
|
|
15703
15779
|
requestReason: boolean().optional(),
|
|
15780
|
+
/** Who may answer the gate. Mirrors approvalConfigSchema.approver in tool-types.ts. */
|
|
15781
|
+
approver: _enum(["owner", "end-user"]).optional(),
|
|
15704
15782
|
/** Persistent "always" choices offered at the approval prompt.
|
|
15705
15783
|
* Mirrors approvalConfigSchema.choices in tool-types.ts. */
|
|
15706
15784
|
choices: object({
|
|
@@ -22646,6 +22724,7 @@ object({
|
|
|
22646
22724
|
workspaceModelReady: boolean(),
|
|
22647
22725
|
workspaceModelEligible: boolean(),
|
|
22648
22726
|
enableOnboardingIntentGate: boolean(),
|
|
22727
|
+
enableCanvasOnboarding: boolean(),
|
|
22649
22728
|
enableWorkbench: boolean(),
|
|
22650
22729
|
modelCreditPromoMultiplier: number$1().min(0).max(1).optional(),
|
|
22651
22730
|
externalTelemetryAllowed: boolean().optional()
|
|
@@ -23044,6 +23123,8 @@ const agentToolsConfigSchema$1 = object({
|
|
|
23044
23123
|
/** Opt out of agent-supplied approval reasons (`_approvalReason` schema
|
|
23045
23124
|
* injection). Default: true. Mirrors approvalConfigSchema in tool-types.ts. */
|
|
23046
23125
|
requestReason: boolean().optional(),
|
|
23126
|
+
/** Who may answer the gate. Mirrors approvalConfigSchema.approver in tool-types.ts. */
|
|
23127
|
+
approver: _enum(["owner", "end-user"]).optional(),
|
|
23047
23128
|
/** Persistent "always" choices offered at the approval prompt.
|
|
23048
23129
|
* Mirrors approvalConfigSchema.choices in tool-types.ts. */
|
|
23049
23130
|
choices: object({
|
|
@@ -23067,6 +23148,7 @@ const agentExternalConfigSchema = object({
|
|
|
23067
23148
|
auth: record(string(), any()).optional(),
|
|
23068
23149
|
timeout: number$1().positive().optional(),
|
|
23069
23150
|
retryCount: number$1().int().nonnegative().optional(),
|
|
23151
|
+
identityAssertion: boolean().optional(),
|
|
23070
23152
|
skillOrchestration: union([_enum(["delegate", "managed"]), boolean()]).optional()
|
|
23071
23153
|
});
|
|
23072
23154
|
/**
|
|
@@ -32820,6 +32902,32 @@ integrationsCommand.command("get <id>").description("Get integration details, in
|
|
|
32820
32902
|
});
|
|
32821
32903
|
//#endregion
|
|
32822
32904
|
//#region src/commands/surfaces.ts
|
|
32905
|
+
const DELIVERY_ID_PATTERN = /^[A-Za-z0-9._:-]{1,128}$/;
|
|
32906
|
+
async function readStdin$1() {
|
|
32907
|
+
let value = "";
|
|
32908
|
+
process.stdin.setEncoding("utf8");
|
|
32909
|
+
for await (const chunk of process.stdin) value += chunk;
|
|
32910
|
+
return value;
|
|
32911
|
+
}
|
|
32912
|
+
/** The `--payload` object, read from a file or from stdin when the source is `-`. */
|
|
32913
|
+
async function readPayloadObject(source) {
|
|
32914
|
+
const label = source === "-" ? "stdin" : source;
|
|
32915
|
+
const raw = source === "-" ? await readStdin$1() : await readFile(source, "utf8");
|
|
32916
|
+
let parsed;
|
|
32917
|
+
try {
|
|
32918
|
+
parsed = JSON.parse(raw);
|
|
32919
|
+
} catch {
|
|
32920
|
+
throw new Error(`--payload: invalid JSON in ${label}`);
|
|
32921
|
+
}
|
|
32922
|
+
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) throw new Error(`--payload: ${label} must contain a JSON object`);
|
|
32923
|
+
return parsed;
|
|
32924
|
+
}
|
|
32925
|
+
/** `Attempt 1: HTTP 202, run exec_1 (route: event_route opened)` */
|
|
32926
|
+
function formatDeliveryAttempt(attempt) {
|
|
32927
|
+
const outcome = attempt.deduplicated ? ", deduplicated" : attempt.executionId ? `, run ${attempt.executionId}` : "";
|
|
32928
|
+
const route = attempt.route ? ` (route: ${[attempt.route.matchedBy, attempt.route.pattern].filter(Boolean).join(" ")})` : "";
|
|
32929
|
+
return `Attempt ${attempt.attempt}: HTTP ${attempt.status}${outcome}${route}`;
|
|
32930
|
+
}
|
|
32823
32931
|
function parsePositiveInteger$1(value, option) {
|
|
32824
32932
|
const parsed = Number(value);
|
|
32825
32933
|
if (!Number.isInteger(parsed) || parsed < 1) throw new Error(`${option} must be a positive integer`);
|
|
@@ -33064,19 +33172,23 @@ surfacesCommand.command("get <id>").description("Get surface details including i
|
|
|
33064
33172
|
const { waitUntilExit } = render(React.createElement(App));
|
|
33065
33173
|
await waitUntilExit();
|
|
33066
33174
|
});
|
|
33067
|
-
surfacesCommand.command("test <id>").description("Send a provider fixture through a surface’s real ingress").addOption(new Option("--product <productId>", "Deprecated; surface IDs resolve their product").hideHelp()).requiredOption("--fixture <fixture>", "Fixture name, such as github.pull_request.opened or github.pull_request.merged_plan").requiredOption("--repo <owner/repository>", "GitHub repository in owner/repository format").requiredOption("--pr <number>", "Pull request number").option("--repeat <number>", "Deliver the same provider event more than once", "1").option("--planning-path <path>", "Planning-document directory for merged-plan fixtures").option("--json", "Output as JSON").action(async (id, options) => {
|
|
33175
|
+
surfacesCommand.command("test <id>").description("Send a provider fixture through a surface’s real ingress").addOption(new Option("--product <productId>", "Deprecated; surface IDs resolve their product").hideHelp()).requiredOption("--fixture <fixture>", "Fixture name, such as github.pull_request.opened or github.pull_request.merged_plan").requiredOption("--repo <owner/repository>", "GitHub repository in owner/repository format").requiredOption("--pr <number>", "Pull request number").option("--repeat <number>", "Deliver the same provider event more than once", "1").option("--planning-path <path>", "Planning-document directory for merged-plan fixtures").option("--delivery-id <id>", "Reuse a previous delivery ID (X-GitHub-Delivery), to check the surface handles a repeat once").option("--payload <file>", "Send and sign this JSON object instead of the built fixture; - reads it from stdin").option("--json", "Output as JSON").action(async (id, options) => {
|
|
33068
33176
|
const apiKey = await ensureAuth();
|
|
33069
33177
|
if (!apiKey) return;
|
|
33070
33178
|
try {
|
|
33071
33179
|
const pullRequest = parsePositiveInteger$1(options.pr, "--pr");
|
|
33072
33180
|
const repeat = parsePositiveInteger$1(options.repeat, "--repeat");
|
|
33073
33181
|
if (repeat > 3) throw new Error("--repeat must not exceed 3");
|
|
33182
|
+
if (options.deliveryId !== void 0 && !DELIVERY_ID_PATTERN.test(options.deliveryId)) throw new Error("--delivery-id must be 1-128 letters, digits, dots, underscores, colons or hyphens");
|
|
33183
|
+
const payload = options.payload !== void 0 ? await readPayloadObject(options.payload) : void 0;
|
|
33074
33184
|
const result = await createCliClient(apiKey).post(`/surfaces/${encodeURIComponent(id)}/test-deliveries`, {
|
|
33075
33185
|
fixture: options.fixture,
|
|
33076
33186
|
repository: options.repo,
|
|
33077
33187
|
pullRequest,
|
|
33078
33188
|
repeat,
|
|
33079
|
-
...options.planningPath ? { planningPath: options.planningPath } : {}
|
|
33189
|
+
...options.planningPath ? { planningPath: options.planningPath } : {},
|
|
33190
|
+
...options.deliveryId ? { deliveryId: options.deliveryId } : {},
|
|
33191
|
+
...payload ? { payload } : {}
|
|
33080
33192
|
});
|
|
33081
33193
|
if (options.json) {
|
|
33082
33194
|
printJson(result);
|
|
@@ -33087,7 +33199,7 @@ surfacesCommand.command("test <id>").description("Send a provider fixture throug
|
|
|
33087
33199
|
console.log(` Fixture: ${result.fixture}`);
|
|
33088
33200
|
console.log(` Source: ${result.repository}#${result.pullRequest}`);
|
|
33089
33201
|
console.log(` Delivery: ${result.deliveryId}`);
|
|
33090
|
-
for (const attempt of result.attempts) console.log(`
|
|
33202
|
+
for (const attempt of result.attempts) console.log(` ${formatDeliveryAttempt(attempt)}`);
|
|
33091
33203
|
} catch (error) {
|
|
33092
33204
|
const message = error instanceof Error ? error.message : "Unknown error";
|
|
33093
33205
|
console.error(chalk.red(`Failed to test surface: ${message}`));
|
|
@@ -52205,8 +52317,8 @@ clientTokensCommand.command("regenerate <id>").description("Regenerate a client
|
|
|
52205
52317
|
});
|
|
52206
52318
|
clientTokensCommand.addCommand(clientTokenEnsureCommand);
|
|
52207
52319
|
//#endregion
|
|
52208
|
-
//#region ../../node_modules/.pnpm/@runtypelabs+persona@4.
|
|
52209
|
-
var j = "4.
|
|
52320
|
+
//#region ../../node_modules/.pnpm/@runtypelabs+persona@4.26.0/node_modules/@runtypelabs/persona/dist/codegen.js
|
|
52321
|
+
var j = "4.26.0";
|
|
52210
52322
|
function $(e) {
|
|
52211
52323
|
return e?.cdnBase?.trim().replace(/\/+$/, "").replace(/[\\'"<>`]/g, (r) => `%${r.charCodeAt(0).toString(16).toUpperCase().padStart(2, "0")}`) || `https://cdn.jsdelivr.net/npm/@runtypelabs/persona@${j}/dist`;
|
|
52212
52324
|
}
|
|
@@ -58281,7 +58393,8 @@ const FORWARDED_REQUEST_HEADERS = /* @__PURE__ */ new Set([
|
|
|
58281
58393
|
"authorization",
|
|
58282
58394
|
"a2a-version",
|
|
58283
58395
|
"content-type",
|
|
58284
|
-
"x-api-key"
|
|
58396
|
+
"x-api-key",
|
|
58397
|
+
"x-runtype-identity"
|
|
58285
58398
|
]);
|
|
58286
58399
|
const BLOCKED_AUTH_HEADERS = /* @__PURE__ */ new Set([
|
|
58287
58400
|
"host",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/cli",
|
|
3
|
-
"version": "2.47.
|
|
3
|
+
"version": "2.47.9",
|
|
4
4
|
"description": "Command-line interface for Runtype AI platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@modelcontextprotocol/client": "2.0.0",
|
|
12
12
|
"@modelcontextprotocol/core": "2.0.0",
|
|
13
|
-
"@runtypelabs/ink-components": "0.3.
|
|
14
|
-
"@runtypelabs/sdk": "10.
|
|
13
|
+
"@runtypelabs/ink-components": "0.3.10",
|
|
14
|
+
"@runtypelabs/sdk": "10.13.7",
|
|
15
15
|
"@runtypelabs/terminal-animations": "0.2.4",
|
|
16
16
|
"add-mcp": "2.0.0",
|
|
17
17
|
"chalk": "^5.3.0",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@modelcontextprotocol/server": "2.0.0",
|
|
36
|
-
"@runtypelabs/device-bridge": "0.2.
|
|
37
|
-
"@runtypelabs/persona": "4.
|
|
38
|
-
"@runtypelabs/shared": "3.
|
|
36
|
+
"@runtypelabs/device-bridge": "0.2.2",
|
|
37
|
+
"@runtypelabs/persona": "4.26.0",
|
|
38
|
+
"@runtypelabs/shared": "3.78.0",
|
|
39
39
|
"@types/express": "^5.0.6",
|
|
40
40
|
"@types/micromatch": "^4.0.9",
|
|
41
41
|
"@types/node": "^25.3.3",
|
|
@@ -88,6 +88,6 @@
|
|
|
88
88
|
"test:watch": "vitest watch",
|
|
89
89
|
"test:coverage": "vitest run --coverage",
|
|
90
90
|
"test:ui": "vitest --ui",
|
|
91
|
-
"lint": "
|
|
91
|
+
"lint": "oxlint ."
|
|
92
92
|
}
|
|
93
93
|
}
|