@vm0/cli 9.139.2 → 9.140.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/{chunk-WL4PGRGW.js → chunk-6LA4WVWX.js} +170 -14
- package/{chunk-WL4PGRGW.js.map → chunk-6LA4WVWX.js.map} +1 -1
- package/index.js +9 -9
- package/package.json +1 -1
- package/zero.js +257 -3
- package/zero.js.map +1 -1
|
@@ -74090,7 +74090,7 @@ if (DSN) {
|
|
|
74090
74090
|
init2({
|
|
74091
74091
|
dsn: DSN,
|
|
74092
74092
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
74093
|
-
release: "9.
|
|
74093
|
+
release: "9.140.0",
|
|
74094
74094
|
sendDefaultPii: false,
|
|
74095
74095
|
tracesSampleRate: 0,
|
|
74096
74096
|
shutdownTimeout: 500,
|
|
@@ -74109,7 +74109,7 @@ if (DSN) {
|
|
|
74109
74109
|
}
|
|
74110
74110
|
});
|
|
74111
74111
|
setContext("cli", {
|
|
74112
|
-
version: "9.
|
|
74112
|
+
version: "9.140.0",
|
|
74113
74113
|
command: process.argv.slice(2).join(" ")
|
|
74114
74114
|
});
|
|
74115
74115
|
setContext("runtime", {
|
|
@@ -88710,6 +88710,10 @@ var RUN_ERROR_GUIDANCE = {
|
|
|
88710
88710
|
title: "Provider temporarily unavailable",
|
|
88711
88711
|
guidance: "The model provider is temporarily unavailable. Please try again later."
|
|
88712
88712
|
},
|
|
88713
|
+
PROVIDER_DELETED: {
|
|
88714
|
+
title: "Model provider unavailable",
|
|
88715
|
+
guidance: "The model provider used by this thread has been deleted. Start a new chat thread to continue."
|
|
88716
|
+
},
|
|
88713
88717
|
TOO_MANY_REQUESTS: {
|
|
88714
88718
|
title: "Concurrent run limit reached",
|
|
88715
88719
|
guidance: "Wait for your current run to complete before starting a new one."
|
|
@@ -94886,6 +94890,7 @@ var huggingFace = {
|
|
|
94886
94890
|
"hugging-face": {
|
|
94887
94891
|
label: "Hugging Face",
|
|
94888
94892
|
category: "ai-general-models",
|
|
94893
|
+
generation: ["image", "text"],
|
|
94889
94894
|
environmentMapping: {
|
|
94890
94895
|
HUGGING_FACE_TOKEN: "$secrets.HUGGING_FACE_TOKEN"
|
|
94891
94896
|
},
|
|
@@ -94913,6 +94918,7 @@ var hume = {
|
|
|
94913
94918
|
hume: {
|
|
94914
94919
|
label: "Hume",
|
|
94915
94920
|
category: "ai-voice-audio",
|
|
94921
|
+
generation: ["audio"],
|
|
94916
94922
|
environmentMapping: {
|
|
94917
94923
|
HUME_TOKEN: "$secrets.HUME_TOKEN"
|
|
94918
94924
|
},
|
|
@@ -94939,6 +94945,7 @@ var heygen = {
|
|
|
94939
94945
|
heygen: {
|
|
94940
94946
|
label: "HeyGen",
|
|
94941
94947
|
category: "marketing-content-growth",
|
|
94948
|
+
generation: ["video"],
|
|
94942
94949
|
environmentMapping: {
|
|
94943
94950
|
HEYGEN_TOKEN: "$secrets.HEYGEN_TOKEN"
|
|
94944
94951
|
},
|
|
@@ -95730,6 +95737,7 @@ var deepseek = {
|
|
|
95730
95737
|
deepseek: {
|
|
95731
95738
|
label: "DeepSeek",
|
|
95732
95739
|
category: "ai-general-models",
|
|
95740
|
+
generation: ["code", "text"],
|
|
95733
95741
|
environmentMapping: {
|
|
95734
95742
|
DEEPSEEK_TOKEN: "$secrets.DEEPSEEK_TOKEN"
|
|
95735
95743
|
},
|
|
@@ -95906,6 +95914,7 @@ var dify = {
|
|
|
95906
95914
|
dify: {
|
|
95907
95915
|
label: "Dify",
|
|
95908
95916
|
category: "ai-agent-apps",
|
|
95917
|
+
generation: ["text"],
|
|
95909
95918
|
environmentMapping: {
|
|
95910
95919
|
DIFY_TOKEN: "$secrets.DIFY_TOKEN"
|
|
95911
95920
|
},
|
|
@@ -96064,6 +96073,7 @@ var minimax = {
|
|
|
96064
96073
|
minimax: {
|
|
96065
96074
|
label: "MiniMax",
|
|
96066
96075
|
category: "ai-general-models",
|
|
96076
|
+
generation: ["audio", "text", "video"],
|
|
96067
96077
|
environmentMapping: {
|
|
96068
96078
|
MINIMAX_TOKEN: "$secrets.MINIMAX_TOKEN"
|
|
96069
96079
|
},
|
|
@@ -96389,6 +96399,7 @@ var gamma = {
|
|
|
96389
96399
|
gamma: {
|
|
96390
96400
|
label: "Gamma",
|
|
96391
96401
|
category: "marketing-content-growth",
|
|
96402
|
+
generation: ["document", "presentation", "website"],
|
|
96392
96403
|
environmentMapping: {
|
|
96393
96404
|
GAMMA_TOKEN: "$secrets.GAMMA_TOKEN"
|
|
96394
96405
|
},
|
|
@@ -97320,6 +97331,7 @@ var openai = {
|
|
|
97320
97331
|
openai: {
|
|
97321
97332
|
label: "OpenAI",
|
|
97322
97333
|
category: "ai-general-models",
|
|
97334
|
+
generation: ["audio", "image", "text"],
|
|
97323
97335
|
tags: ["llm", "ai", "gpt", "chatgpt"],
|
|
97324
97336
|
environmentMapping: {
|
|
97325
97337
|
OPENAI_TOKEN: "$secrets.OPENAI_TOKEN"
|
|
@@ -97380,6 +97392,7 @@ var perplexity = {
|
|
|
97380
97392
|
perplexity: {
|
|
97381
97393
|
label: "Perplexity",
|
|
97382
97394
|
category: "data-automation-infrastructure",
|
|
97395
|
+
generation: ["text"],
|
|
97383
97396
|
environmentMapping: {
|
|
97384
97397
|
PERPLEXITY_TOKEN: "$secrets.PERPLEXITY_TOKEN"
|
|
97385
97398
|
},
|
|
@@ -97613,6 +97626,7 @@ var replicate = {
|
|
|
97613
97626
|
replicate: {
|
|
97614
97627
|
label: "Replicate",
|
|
97615
97628
|
category: "ai-image-video",
|
|
97629
|
+
generation: ["image", "text"],
|
|
97616
97630
|
environmentMapping: {
|
|
97617
97631
|
REPLICATE_TOKEN: "$secrets.REPLICATE_TOKEN"
|
|
97618
97632
|
},
|
|
@@ -97640,6 +97654,7 @@ var pdf4me = {
|
|
|
97640
97654
|
pdf4me: {
|
|
97641
97655
|
label: "PDF4me",
|
|
97642
97656
|
category: "data-automation-infrastructure",
|
|
97657
|
+
generation: ["document"],
|
|
97643
97658
|
environmentMapping: {
|
|
97644
97659
|
PDF4ME_TOKEN: "$secrets.PDF4ME_TOKEN"
|
|
97645
97660
|
},
|
|
@@ -98001,6 +98016,7 @@ var browserless = {
|
|
|
98001
98016
|
browserless: {
|
|
98002
98017
|
label: "Browserless",
|
|
98003
98018
|
category: "data-automation-infrastructure",
|
|
98019
|
+
generation: ["document", "image"],
|
|
98004
98020
|
environmentMapping: {
|
|
98005
98021
|
BROWSERLESS_TOKEN: "$secrets.BROWSERLESS_TOKEN"
|
|
98006
98022
|
},
|
|
@@ -98105,6 +98121,7 @@ var pdfco = {
|
|
|
98105
98121
|
pdfco: {
|
|
98106
98122
|
label: "PDF.co",
|
|
98107
98123
|
category: "data-automation-infrastructure",
|
|
98124
|
+
generation: ["document"],
|
|
98108
98125
|
environmentMapping: {
|
|
98109
98126
|
PDFCO_TOKEN: "$secrets.PDFCO_TOKEN"
|
|
98110
98127
|
},
|
|
@@ -98131,6 +98148,7 @@ var elevenlabs = {
|
|
|
98131
98148
|
elevenlabs: {
|
|
98132
98149
|
label: "ElevenLabs",
|
|
98133
98150
|
category: "ai-voice-audio",
|
|
98151
|
+
generation: ["audio"],
|
|
98134
98152
|
environmentMapping: {
|
|
98135
98153
|
ELEVENLABS_TOKEN: "$secrets.ELEVENLABS_TOKEN"
|
|
98136
98154
|
},
|
|
@@ -98266,6 +98284,7 @@ var fal = {
|
|
|
98266
98284
|
fal: {
|
|
98267
98285
|
label: "fal.ai",
|
|
98268
98286
|
category: "ai-image-video",
|
|
98287
|
+
generation: ["image", "video"],
|
|
98269
98288
|
environmentMapping: {
|
|
98270
98289
|
FAL_TOKEN: "$secrets.FAL_TOKEN"
|
|
98271
98290
|
},
|
|
@@ -98486,6 +98505,7 @@ var runway = {
|
|
|
98486
98505
|
runway: {
|
|
98487
98506
|
label: "Runway",
|
|
98488
98507
|
category: "ai-image-video",
|
|
98508
|
+
generation: ["video"],
|
|
98489
98509
|
environmentMapping: {
|
|
98490
98510
|
RUNWAY_TOKEN: "$secrets.RUNWAY_TOKEN"
|
|
98491
98511
|
},
|
|
@@ -98575,6 +98595,7 @@ var stabilityAi = {
|
|
|
98575
98595
|
"stability-ai": {
|
|
98576
98596
|
label: "Stability AI",
|
|
98577
98597
|
category: "ai-image-video",
|
|
98598
|
+
generation: ["image"],
|
|
98578
98599
|
environmentMapping: {
|
|
98579
98600
|
STABILITY_TOKEN: "$secrets.STABILITY_TOKEN"
|
|
98580
98601
|
},
|
|
@@ -98744,6 +98765,7 @@ var together = {
|
|
|
98744
98765
|
together: {
|
|
98745
98766
|
label: "Together AI",
|
|
98746
98767
|
category: "ai-general-models",
|
|
98768
|
+
generation: ["image", "text"],
|
|
98747
98769
|
environmentMapping: {
|
|
98748
98770
|
TOGETHER_TOKEN: "$secrets.TOGETHER_TOKEN"
|
|
98749
98771
|
},
|
|
@@ -98921,6 +98943,7 @@ var htmlcsstoimage = {
|
|
|
98921
98943
|
htmlcsstoimage: {
|
|
98922
98944
|
label: "HTML/CSS to Image",
|
|
98923
98945
|
category: "marketing-content-growth",
|
|
98946
|
+
generation: ["image"],
|
|
98924
98947
|
environmentMapping: {
|
|
98925
98948
|
HCTI_API_KEY: "$secrets.HCTI_API_KEY",
|
|
98926
98949
|
HCTI_USER_ID: "$vars.HCTI_USER_ID"
|
|
@@ -99099,6 +99122,7 @@ var luma = {
|
|
|
99099
99122
|
luma: {
|
|
99100
99123
|
label: "Luma AI",
|
|
99101
99124
|
category: "ai-image-video",
|
|
99125
|
+
generation: ["image", "video"],
|
|
99102
99126
|
environmentMapping: {
|
|
99103
99127
|
LUMA_TOKEN: "$secrets.LUMA_TOKEN"
|
|
99104
99128
|
},
|
|
@@ -99247,6 +99271,7 @@ var pdforge = {
|
|
|
99247
99271
|
pdforge: {
|
|
99248
99272
|
label: "PDForge",
|
|
99249
99273
|
category: "data-automation-infrastructure",
|
|
99274
|
+
generation: ["document"],
|
|
99250
99275
|
environmentMapping: {
|
|
99251
99276
|
PDFORGE_API_KEY: "$secrets.PDFORGE_API_KEY"
|
|
99252
99277
|
},
|
|
@@ -99445,6 +99470,7 @@ var v0 = {
|
|
|
99445
99470
|
v0: {
|
|
99446
99471
|
label: "v0",
|
|
99447
99472
|
category: "ai-agent-apps",
|
|
99473
|
+
generation: ["code", "website"],
|
|
99448
99474
|
environmentMapping: {
|
|
99449
99475
|
V0_TOKEN: "$secrets.V0_TOKEN"
|
|
99450
99476
|
},
|
|
@@ -99547,6 +99573,27 @@ var msg9 = {
|
|
|
99547
99573
|
}
|
|
99548
99574
|
};
|
|
99549
99575
|
|
|
99576
|
+
// ../../packages/connectors/src/connectors/nano-banana.ts
|
|
99577
|
+
init_esm_shims();
|
|
99578
|
+
var nanoBanana = {
|
|
99579
|
+
"nano-banana": {
|
|
99580
|
+
label: "Nano Banana",
|
|
99581
|
+
category: "ai-image-video",
|
|
99582
|
+
generation: ["image"],
|
|
99583
|
+
environmentMapping: {},
|
|
99584
|
+
helpText: "Google Gemini image generation, billed to your org credits",
|
|
99585
|
+
featureFlag: "platformConnectors" /* PlatformConnectors */,
|
|
99586
|
+
authMethods: {
|
|
99587
|
+
platform: {
|
|
99588
|
+
label: "Enable",
|
|
99589
|
+
helpText: "Image generations are billed to your organization's credits. By enabling, you agree that prompts and reference images are sent to the Google Gemini API.",
|
|
99590
|
+
secrets: {}
|
|
99591
|
+
}
|
|
99592
|
+
},
|
|
99593
|
+
defaultAuthMethod: "platform"
|
|
99594
|
+
}
|
|
99595
|
+
};
|
|
99596
|
+
|
|
99550
99597
|
// ../../packages/connectors/src/connectors/amplitude.ts
|
|
99551
99598
|
init_esm_shims();
|
|
99552
99599
|
var amplitude = {
|
|
@@ -99944,6 +99991,7 @@ var groq = {
|
|
|
99944
99991
|
groq: {
|
|
99945
99992
|
label: "Groq",
|
|
99946
99993
|
category: "ai-general-models",
|
|
99994
|
+
generation: ["text"],
|
|
99947
99995
|
tags: ["llm", "ai", "llama", "inference"],
|
|
99948
99996
|
environmentMapping: {
|
|
99949
99997
|
GROQ_TOKEN: "$secrets.GROQ_TOKEN"
|
|
@@ -100270,6 +100318,7 @@ var CONNECTOR_TYPES_DEF = {
|
|
|
100270
100318
|
...db9,
|
|
100271
100319
|
...drive9,
|
|
100272
100320
|
...msg9,
|
|
100321
|
+
...nanoBanana,
|
|
100273
100322
|
...amplitude,
|
|
100274
100323
|
...attio,
|
|
100275
100324
|
...buffer,
|
|
@@ -100356,6 +100405,7 @@ var zeroConnectorsMainContract = c6.router({
|
|
|
100356
100405
|
responses: {
|
|
100357
100406
|
200: connectorListResponseSchema,
|
|
100358
100407
|
401: apiErrorSchema,
|
|
100408
|
+
403: apiErrorSchema,
|
|
100359
100409
|
500: apiErrorSchema
|
|
100360
100410
|
},
|
|
100361
100411
|
summary: "List all connectors (zero proxy)"
|
|
@@ -100370,6 +100420,7 @@ var zeroConnectorsByTypeContract = c6.router({
|
|
|
100370
100420
|
responses: {
|
|
100371
100421
|
200: connectorResponseSchema,
|
|
100372
100422
|
401: apiErrorSchema,
|
|
100423
|
+
403: apiErrorSchema,
|
|
100373
100424
|
404: apiErrorSchema
|
|
100374
100425
|
},
|
|
100375
100426
|
summary: "Get connector by type (zero proxy)"
|
|
@@ -100411,6 +100462,7 @@ var zeroConnectorScopeDiffContract = c6.router({
|
|
|
100411
100462
|
responses: {
|
|
100412
100463
|
200: scopeDiffResponseSchema,
|
|
100413
100464
|
401: apiErrorSchema,
|
|
100465
|
+
403: apiErrorSchema,
|
|
100414
100466
|
404: apiErrorSchema
|
|
100415
100467
|
},
|
|
100416
100468
|
summary: "Get scope diff for a connector"
|
|
@@ -100497,6 +100549,7 @@ var zeroComputerConnectorContract = c6.router({
|
|
|
100497
100549
|
responses: {
|
|
100498
100550
|
200: connectorResponseSchema,
|
|
100499
100551
|
401: apiErrorSchema,
|
|
100552
|
+
403: apiErrorSchema,
|
|
100500
100553
|
404: apiErrorSchema
|
|
100501
100554
|
},
|
|
100502
100555
|
summary: "Get computer connector status (zero proxy)"
|
|
@@ -101986,6 +102039,7 @@ var zeroRunsByIdContract = c12.router({
|
|
|
101986
102039
|
200: getRunResponseSchema,
|
|
101987
102040
|
400: apiErrorSchema,
|
|
101988
102041
|
401: apiErrorSchema,
|
|
102042
|
+
403: apiErrorSchema,
|
|
101989
102043
|
404: apiErrorSchema
|
|
101990
102044
|
},
|
|
101991
102045
|
summary: "Get agent run by ID (zero proxy)"
|
|
@@ -102138,6 +102192,7 @@ var zeroRunRunnerContract = c12.router({
|
|
|
102138
102192
|
200: runRunnerResponseSchema,
|
|
102139
102193
|
400: apiErrorSchema,
|
|
102140
102194
|
401: apiErrorSchema,
|
|
102195
|
+
403: apiErrorSchema,
|
|
102141
102196
|
404: apiErrorSchema
|
|
102142
102197
|
},
|
|
102143
102198
|
summary: "Get runner-level metadata for a run"
|
|
@@ -102432,6 +102487,25 @@ var MODEL_PROVIDER_TYPES = {
|
|
|
102432
102487
|
],
|
|
102433
102488
|
defaultModel: "anthropic/claude-sonnet-4.6"
|
|
102434
102489
|
},
|
|
102490
|
+
"openai-api-key": {
|
|
102491
|
+
framework: "codex",
|
|
102492
|
+
secretName: "OPENAI_API_KEY",
|
|
102493
|
+
label: "OpenAI",
|
|
102494
|
+
secretLabel: "API key",
|
|
102495
|
+
helpText: "Get your API key at: https://platform.openai.com/api-keys",
|
|
102496
|
+
environmentMapping: {
|
|
102497
|
+
OPENAI_API_KEY: "$secret",
|
|
102498
|
+
OPENAI_MODEL: "$model"
|
|
102499
|
+
},
|
|
102500
|
+
models: [
|
|
102501
|
+
"gpt-5.5",
|
|
102502
|
+
"gpt-5.4",
|
|
102503
|
+
"gpt-5.4-mini",
|
|
102504
|
+
"gpt-5.3-codex",
|
|
102505
|
+
"gpt-5.2"
|
|
102506
|
+
],
|
|
102507
|
+
defaultModel: "gpt-5.5"
|
|
102508
|
+
},
|
|
102435
102509
|
"azure-foundry": {
|
|
102436
102510
|
framework: "claude-code",
|
|
102437
102511
|
label: "Azure Foundry",
|
|
@@ -102552,6 +102626,9 @@ function getSelectableProviderTypes() {
|
|
|
102552
102626
|
}
|
|
102553
102627
|
var ANTHROPIC_API_BASE = "https://api.anthropic.com";
|
|
102554
102628
|
function getFirewallBaseUrl(type) {
|
|
102629
|
+
if (getFrameworkForType(type) === "codex") {
|
|
102630
|
+
return "https://api.openai.com/v1/responses";
|
|
102631
|
+
}
|
|
102555
102632
|
const base = (getEnvironmentMapping(type)?.ANTHROPIC_BASE_URL ?? ANTHROPIC_API_BASE).replace(/\/+$/, "");
|
|
102556
102633
|
return `${base}/v1/messages`;
|
|
102557
102634
|
}
|
|
@@ -102634,6 +102711,13 @@ var MODEL_PROVIDER_FIREWALL_CONFIGS = {
|
|
|
102634
102711
|
"vercel-ai-gateway",
|
|
102635
102712
|
{ name: "Authorization", valuePrefix: "Bearer" },
|
|
102636
102713
|
"sk-CoffeeSafeLocalCoffeeSafeLocalCo"
|
|
102714
|
+
),
|
|
102715
|
+
// Placeholder: sk-proj-{156 chars}T3BlbkFJ{156 chars} (typical project key shape)
|
|
102716
|
+
// Source: matches turbo/packages/connectors/src/firewalls/openai.generated.ts
|
|
102717
|
+
"openai-api-key": mpFirewall(
|
|
102718
|
+
"openai-api-key",
|
|
102719
|
+
{ name: "Authorization", valuePrefix: "Bearer" },
|
|
102720
|
+
"sk-proj-CoffeeSafeLocalCoffeeSafeLocalCoffeeSafeLocalCoffeeSafeLocaT3BlbkFJCoffeeSafeLocalCoffeeSafeLocalCoffeeSafeLocalCoffeeSafeLoca"
|
|
102637
102721
|
)
|
|
102638
102722
|
};
|
|
102639
102723
|
var modelProviderTypeSchema = external_exports.enum([
|
|
@@ -102645,11 +102729,15 @@ var modelProviderTypeSchema = external_exports.enum([
|
|
|
102645
102729
|
"deepseek-api-key",
|
|
102646
102730
|
"zai-api-key",
|
|
102647
102731
|
"vercel-ai-gateway",
|
|
102732
|
+
"openai-api-key",
|
|
102648
102733
|
"azure-foundry",
|
|
102649
102734
|
"aws-bedrock",
|
|
102650
102735
|
"vm0"
|
|
102651
102736
|
]);
|
|
102652
|
-
var modelProviderFrameworkSchema = external_exports.enum(["claude-code"]);
|
|
102737
|
+
var modelProviderFrameworkSchema = external_exports.enum(["claude-code", "codex"]);
|
|
102738
|
+
function getFrameworkForType(type) {
|
|
102739
|
+
return MODEL_PROVIDER_TYPES[type]?.framework ?? "claude-code";
|
|
102740
|
+
}
|
|
102653
102741
|
function hasAuthMethods(type) {
|
|
102654
102742
|
const config4 = MODEL_PROVIDER_TYPES[type];
|
|
102655
102743
|
if (!config4) return false;
|
|
@@ -102977,7 +103065,14 @@ var chatMessagesContract = c13.router({
|
|
|
102977
103065
|
// Client-generated UUID used as the user message's primary key.
|
|
102978
103066
|
// Lets the client render an optimistic row and reconcile with the
|
|
102979
103067
|
// server row by id — no temp-id swap, no React remount.
|
|
102980
|
-
clientMessageId: external_exports.string().uuid().optional()
|
|
103068
|
+
clientMessageId: external_exports.string().uuid().optional(),
|
|
103069
|
+
// Test-only escape hatch: when the host runner has USE_MOCK_CODEX
|
|
103070
|
+
// set (CI default), allow the request to bypass the mock and execute
|
|
103071
|
+
// the real codex CLI. Mirrors `debugNoMockClaude` / `debugNoMockCodex`
|
|
103072
|
+
// on /api/zero/runs so e2e BYOK smoke tests can exercise the chat
|
|
103073
|
+
// entry path end-to-end.
|
|
103074
|
+
debugNoMockClaude: external_exports.boolean().optional(),
|
|
103075
|
+
debugNoMockCodex: external_exports.boolean().optional()
|
|
102981
103076
|
}),
|
|
102982
103077
|
responses: {
|
|
102983
103078
|
201: external_exports.object({
|
|
@@ -102989,7 +103084,8 @@ var chatMessagesContract = c13.router({
|
|
|
102989
103084
|
400: apiErrorSchema,
|
|
102990
103085
|
401: apiErrorSchema,
|
|
102991
103086
|
403: apiErrorSchema,
|
|
102992
|
-
404: apiErrorSchema
|
|
103087
|
+
404: apiErrorSchema,
|
|
103088
|
+
422: apiErrorSchema
|
|
102993
103089
|
},
|
|
102994
103090
|
summary: "Send a chat message (create thread + run + association)"
|
|
102995
103091
|
}
|
|
@@ -113046,6 +113142,45 @@ var n8nFirewall = {
|
|
|
113046
113142
|
]
|
|
113047
113143
|
};
|
|
113048
113144
|
|
|
113145
|
+
// ../../packages/connectors/src/firewalls/nano-banana.generated.ts
|
|
113146
|
+
init_esm_shims();
|
|
113147
|
+
var nanoBananaFirewall = {
|
|
113148
|
+
name: "nano-banana",
|
|
113149
|
+
description: "Google Gemini image generation (Nano Banana)",
|
|
113150
|
+
placeholders: {
|
|
113151
|
+
NANO_BANANA_TOKEN: "CoffeeSafeLocalCoffeeSafeLocalCoffeeSafeLocalCoffeeSaf"
|
|
113152
|
+
},
|
|
113153
|
+
apis: [
|
|
113154
|
+
{
|
|
113155
|
+
base: "https://generativelanguage.googleapis.com/v1beta/models/gemini-3-pro-image-preview:generateContent",
|
|
113156
|
+
auth: {
|
|
113157
|
+
headers: {
|
|
113158
|
+
"x-goog-api-key": "${{ secrets.NANO_BANANA_TOKEN }}"
|
|
113159
|
+
}
|
|
113160
|
+
},
|
|
113161
|
+
permissions: []
|
|
113162
|
+
},
|
|
113163
|
+
{
|
|
113164
|
+
base: "https://generativelanguage.googleapis.com/v1beta/models/gemini-3.1-flash-image-preview:generateContent",
|
|
113165
|
+
auth: {
|
|
113166
|
+
headers: {
|
|
113167
|
+
"x-goog-api-key": "${{ secrets.NANO_BANANA_TOKEN }}"
|
|
113168
|
+
}
|
|
113169
|
+
},
|
|
113170
|
+
permissions: []
|
|
113171
|
+
},
|
|
113172
|
+
{
|
|
113173
|
+
base: "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-image:generateContent",
|
|
113174
|
+
auth: {
|
|
113175
|
+
headers: {
|
|
113176
|
+
"x-goog-api-key": "${{ secrets.NANO_BANANA_TOKEN }}"
|
|
113177
|
+
}
|
|
113178
|
+
},
|
|
113179
|
+
permissions: []
|
|
113180
|
+
}
|
|
113181
|
+
]
|
|
113182
|
+
};
|
|
113183
|
+
|
|
113049
113184
|
// ../../packages/connectors/src/firewalls/neon.generated.ts
|
|
113050
113185
|
init_esm_shims();
|
|
113051
113186
|
var neonFirewall = {
|
|
@@ -117003,6 +117138,7 @@ var CONNECTOR_FIREWALLS = {
|
|
|
117003
117138
|
monday: mondayFirewall,
|
|
117004
117139
|
msg9: msg9Firewall,
|
|
117005
117140
|
n8n: n8nFirewall,
|
|
117141
|
+
"nano-banana": nanoBananaFirewall,
|
|
117006
117142
|
neon: neonFirewall,
|
|
117007
117143
|
notion: notionFirewall,
|
|
117008
117144
|
onyx: onyxFirewall,
|
|
@@ -117963,7 +118099,8 @@ var zeroComposesMainContract = c35.router({
|
|
|
117963
118099
|
200: composeResponseSchema,
|
|
117964
118100
|
400: apiErrorSchema,
|
|
117965
118101
|
401: apiErrorSchema,
|
|
117966
|
-
403: apiErrorSchema
|
|
118102
|
+
403: apiErrorSchema,
|
|
118103
|
+
404: apiErrorSchema
|
|
117967
118104
|
},
|
|
117968
118105
|
summary: "Get agent compose by name (zero proxy)"
|
|
117969
118106
|
}
|
|
@@ -118602,7 +118739,8 @@ var zeroUsageInsightContract = c42.router({
|
|
|
118602
118739
|
path: "/api/zero/usage/insight",
|
|
118603
118740
|
headers: authHeadersSchema,
|
|
118604
118741
|
query: external_exports.object({
|
|
118605
|
-
range: external_exports.enum(["today", "yesterday", "7d", "28d"]),
|
|
118742
|
+
range: external_exports.enum(["today", "yesterday", "day", "7d", "28d", "30d"]),
|
|
118743
|
+
date: external_exports.string().optional(),
|
|
118606
118744
|
groupBy: external_exports.enum(["source", "agent"]),
|
|
118607
118745
|
tz: external_exports.string()
|
|
118608
118746
|
}),
|
|
@@ -118626,19 +118764,16 @@ var modelUsageRankingItemSchema = external_exports.object({
|
|
|
118626
118764
|
outputTokens: external_exports.number(),
|
|
118627
118765
|
cacheTokens: external_exports.number(),
|
|
118628
118766
|
totalTokens: external_exports.number(),
|
|
118629
|
-
|
|
118630
|
-
previousCredits: external_exports.number(),
|
|
118767
|
+
previousTotalTokens: external_exports.number(),
|
|
118631
118768
|
changePercent: external_exports.number().nullable(),
|
|
118632
118769
|
share: external_exports.number()
|
|
118633
118770
|
});
|
|
118634
118771
|
var modelUsageRankingDailyModelSchema = external_exports.object({
|
|
118635
118772
|
model: external_exports.string(),
|
|
118636
|
-
credits: external_exports.number(),
|
|
118637
118773
|
totalTokens: external_exports.number()
|
|
118638
118774
|
});
|
|
118639
118775
|
var modelUsageRankingDailyBucketSchema = external_exports.object({
|
|
118640
118776
|
date: external_exports.string(),
|
|
118641
|
-
totalCredits: external_exports.number(),
|
|
118642
118777
|
totalTokens: external_exports.number(),
|
|
118643
118778
|
models: external_exports.array(modelUsageRankingDailyModelSchema)
|
|
118644
118779
|
});
|
|
@@ -118646,7 +118781,6 @@ var modelUsageRankingResponseSchema = external_exports.object({
|
|
|
118646
118781
|
range: modelUsageRankingRangeSchema,
|
|
118647
118782
|
generatedAt: external_exports.string(),
|
|
118648
118783
|
grandTotalTokens: external_exports.number(),
|
|
118649
|
-
grandTotalCredits: external_exports.number(),
|
|
118650
118784
|
models: external_exports.array(modelUsageRankingItemSchema),
|
|
118651
118785
|
daily: external_exports.array(modelUsageRankingDailyBucketSchema)
|
|
118652
118786
|
});
|
|
@@ -118673,6 +118807,7 @@ init_esm_shims();
|
|
|
118673
118807
|
var c44 = initContract();
|
|
118674
118808
|
var teamComposeItemSchema = external_exports.object({
|
|
118675
118809
|
id: external_exports.string(),
|
|
118810
|
+
ownerId: external_exports.string().optional(),
|
|
118676
118811
|
displayName: external_exports.string().nullable(),
|
|
118677
118812
|
description: external_exports.string().nullable(),
|
|
118678
118813
|
sound: external_exports.string().nullable(),
|
|
@@ -118939,6 +119074,19 @@ var insightMemberCreditsSchema = external_exports.object({
|
|
|
118939
119074
|
agentNames: external_exports.array(external_exports.string()).optional(),
|
|
118940
119075
|
agentCredits: external_exports.record(external_exports.string(), external_exports.number()).optional()
|
|
118941
119076
|
});
|
|
119077
|
+
var insightDayScheduleSchema = external_exports.object({
|
|
119078
|
+
scheduleId: external_exports.string(),
|
|
119079
|
+
scheduleName: external_exports.string(),
|
|
119080
|
+
scheduleDescription: external_exports.string().nullable(),
|
|
119081
|
+
credits: external_exports.number(),
|
|
119082
|
+
tokens: external_exports.number()
|
|
119083
|
+
});
|
|
119084
|
+
var insightDayChatSchema = external_exports.object({
|
|
119085
|
+
threadId: external_exports.string(),
|
|
119086
|
+
threadTitle: external_exports.string().nullable(),
|
|
119087
|
+
credits: external_exports.number(),
|
|
119088
|
+
tokens: external_exports.number()
|
|
119089
|
+
});
|
|
118942
119090
|
var dayInsightSchema = external_exports.object({
|
|
118943
119091
|
date: external_exports.string(),
|
|
118944
119092
|
agents: external_exports.array(insightAgentSchema).default([]),
|
|
@@ -118947,7 +119095,9 @@ var dayInsightSchema = external_exports.object({
|
|
|
118947
119095
|
teamUsage: external_exports.array(insightMemberCreditsSchema).default([]),
|
|
118948
119096
|
topTask: insightTopTaskSchema.nullable().default(null),
|
|
118949
119097
|
services: external_exports.array(insightServiceSchema).default([]),
|
|
118950
|
-
permissions: external_exports.array(insightPermissionSchema).default([])
|
|
119098
|
+
permissions: external_exports.array(insightPermissionSchema).default([]),
|
|
119099
|
+
schedules: external_exports.array(insightDayScheduleSchema).default([]),
|
|
119100
|
+
chats: external_exports.array(insightDayChatSchema).default([])
|
|
118951
119101
|
});
|
|
118952
119102
|
var insightsResponseSchema = external_exports.object({
|
|
118953
119103
|
days: external_exports.array(dayInsightSchema),
|
|
@@ -119871,6 +120021,12 @@ var FEATURE_SWITCHES = {
|
|
|
119871
120021
|
maintainer: "ethan@vm0.ai",
|
|
119872
120022
|
description: "Enable the Gumroad creator commerce connector (api-token + OAuth).",
|
|
119873
120023
|
enabled: true
|
|
120024
|
+
},
|
|
120025
|
+
["codexBeta" /* CodexBeta */]: {
|
|
120026
|
+
maintainer: "lancy@vm0.ai",
|
|
120027
|
+
description: "Gate the codex framework via BYOK OpenAI provider in zero web. When off, the openai-api-key tile is hidden in the add-provider dialog and POST /api/zero/model-providers with type=openai-api-key returns 404. Staff-only during rollout; per-user toggle via Lab.",
|
|
120028
|
+
enabled: false,
|
|
120029
|
+
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
119874
120030
|
}
|
|
119875
120031
|
};
|
|
119876
120032
|
function isFeatureEnabled(key, ctx) {
|
|
@@ -121247,4 +121403,4 @@ undici/lib/web/fetch/body.js:
|
|
|
121247
121403
|
undici/lib/web/websocket/frame.js:
|
|
121248
121404
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
121249
121405
|
*/
|
|
121250
|
-
//# sourceMappingURL=chunk-
|
|
121406
|
+
//# sourceMappingURL=chunk-6LA4WVWX.js.map
|