@vm0/cli 9.224.1 → 9.225.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/{agent-7NA5QH3O.js → agent-SQ75YRNQ.js} +4 -4
- package/{banking-IBF3AZ6Y.js → banking-G3W5BMFM.js} +2 -2
- package/{chat-3Z75ZP42.js → chat-AIJSNASF.js} +2 -2
- package/{chunk-S7UAJQIB.js → chunk-4BJN74HU.js} +2 -2
- package/{chunk-XQZNBHF7.js → chunk-7FTZY74L.js} +2 -2
- package/{chunk-E4MGHFQB.js → chunk-ANMP2PGL.js} +3 -3
- package/{chunk-5UA7UXIV.js → chunk-ETH3DHTP.js} +2 -2
- package/{chunk-FVFOFZ4M.js → chunk-FMJ47P2C.js} +2 -2
- package/{chunk-PHVDQKRZ.js → chunk-H4QE2C2Z.js} +87 -76
- package/chunk-H4QE2C2Z.js.map +1 -0
- package/{chunk-2444WWO7.js → chunk-S46G6I4U.js} +3 -3
- package/{chunk-BCBKXMPR.js → chunk-VRH2KUP3.js} +101 -43
- package/chunk-VRH2KUP3.js.map +1 -0
- package/{chunk-T3GH6A5A.js → chunk-ZNWO25MO.js} +3 -3
- package/{computer-use-ODGK3Z6O.js → computer-use-HVBEWFSK.js} +2 -2
- package/{connector-5737G3DA.js → connector-GMQDWOYO.js} +2 -2
- package/{credit-C3NER34Z.js → credit-F54BDX2P.js} +2 -2
- package/{developer-support-LZIQR4E2.js → developer-support-HQPNQZHP.js} +2 -2
- package/{doctor-C5YG27YG.js → doctor-PD6UB6PP.js} +6 -6
- package/{generate-724NNDZO.js → generate-DAOKV7FY.js} +81 -127
- package/generate-DAOKV7FY.js.map +1 -0
- package/{github-HRMBRN7U.js → github-TK27QGP6.js} +2 -2
- package/{goal-T56TVAUQ.js → goal-GHECNESB.js} +2 -2
- package/{host-X7QSG47D.js → host-6XHN5BZJ.js} +2 -2
- package/index.js +13 -13
- package/{logs-N2ZGIG2Q.js → logs-WWE2MB3D.js} +6 -6
- package/{maps-X3Q7GSL2.js → maps-MSGPBJYL.js} +2 -2
- package/{maskdb.generated-WA5B4GQ5.js → maskdb.generated-CU7ZFEGM.js} +5 -1
- package/{maskdb.generated-WA5B4GQ5.js.map → maskdb.generated-CU7ZFEGM.js.map} +1 -1
- package/{maskdb.generated-VAIGGNUJ.js → maskdb.generated-NUZBLAZV.js} +2 -2
- package/maskdb.generated-NUZBLAZV.js.map +1 -0
- package/{model-2BXSZYRG.js → model-G46MAUDI.js} +3 -3
- package/{model-provider-PIXDFTJQ.js → model-provider-NQI5W7NG.js} +3 -3
- package/{org-PNMAMV3U.js → org-EVGWL5NI.js} +2 -2
- package/package.json +1 -1
- package/{phone-J22G2X7O.js → phone-JQHJOR4E.js} +2 -2
- package/{preference-CCW46O4D.js → preference-RKM3H3WD.js} +2 -2
- package/{relationship-WVVFCJE4.js → relationship-S6WWQ2DR.js} +2 -2
- package/{resource-BLWIQZDW.js → resource-2CVU2LTR.js} +2 -2
- package/{search-636MGRVJ.js → search-2WENKAC5.js} +6 -6
- package/{secret-7KFP76JC.js → secret-FPBHZYT7.js} +3 -3
- package/{slack-U2JY2F2I.js → slack-LILJDIDG.js} +2 -2
- package/{telegram-PEU75EN2.js → telegram-OXT2OQJX.js} +2 -2
- package/{variable-HXOEYMGJ.js → variable-BHLSH26G.js} +2 -2
- package/{web-X7JWQ4R3.js → web-UU2DSYEX.js} +2 -2
- package/{whoami-LDNWRXXO.js → whoami-62NVJQKM.js} +4 -4
- package/{workflow-V5PQT26N.js → workflow-VPK2T7BJ.js} +4 -2
- package/{workflow-V5PQT26N.js.map → workflow-VPK2T7BJ.js.map} +1 -1
- package/zero.js +32 -32
- package/zero.js.map +1 -1
- package/chunk-BCBKXMPR.js.map +0 -1
- package/chunk-PHVDQKRZ.js.map +0 -1
- package/generate-724NNDZO.js.map +0 -1
- package/maskdb.generated-VAIGGNUJ.js.map +0 -1
- /package/{agent-7NA5QH3O.js.map → agent-SQ75YRNQ.js.map} +0 -0
- /package/{banking-IBF3AZ6Y.js.map → banking-G3W5BMFM.js.map} +0 -0
- /package/{chat-3Z75ZP42.js.map → chat-AIJSNASF.js.map} +0 -0
- /package/{chunk-S7UAJQIB.js.map → chunk-4BJN74HU.js.map} +0 -0
- /package/{chunk-XQZNBHF7.js.map → chunk-7FTZY74L.js.map} +0 -0
- /package/{chunk-E4MGHFQB.js.map → chunk-ANMP2PGL.js.map} +0 -0
- /package/{chunk-5UA7UXIV.js.map → chunk-ETH3DHTP.js.map} +0 -0
- /package/{chunk-FVFOFZ4M.js.map → chunk-FMJ47P2C.js.map} +0 -0
- /package/{chunk-2444WWO7.js.map → chunk-S46G6I4U.js.map} +0 -0
- /package/{chunk-T3GH6A5A.js.map → chunk-ZNWO25MO.js.map} +0 -0
- /package/{computer-use-ODGK3Z6O.js.map → computer-use-HVBEWFSK.js.map} +0 -0
- /package/{connector-5737G3DA.js.map → connector-GMQDWOYO.js.map} +0 -0
- /package/{credit-C3NER34Z.js.map → credit-F54BDX2P.js.map} +0 -0
- /package/{developer-support-LZIQR4E2.js.map → developer-support-HQPNQZHP.js.map} +0 -0
- /package/{doctor-C5YG27YG.js.map → doctor-PD6UB6PP.js.map} +0 -0
- /package/{github-HRMBRN7U.js.map → github-TK27QGP6.js.map} +0 -0
- /package/{goal-T56TVAUQ.js.map → goal-GHECNESB.js.map} +0 -0
- /package/{host-X7QSG47D.js.map → host-6XHN5BZJ.js.map} +0 -0
- /package/{logs-N2ZGIG2Q.js.map → logs-WWE2MB3D.js.map} +0 -0
- /package/{maps-X3Q7GSL2.js.map → maps-MSGPBJYL.js.map} +0 -0
- /package/{model-2BXSZYRG.js.map → model-G46MAUDI.js.map} +0 -0
- /package/{model-provider-PIXDFTJQ.js.map → model-provider-NQI5W7NG.js.map} +0 -0
- /package/{org-PNMAMV3U.js.map → org-EVGWL5NI.js.map} +0 -0
- /package/{phone-J22G2X7O.js.map → phone-JQHJOR4E.js.map} +0 -0
- /package/{preference-CCW46O4D.js.map → preference-RKM3H3WD.js.map} +0 -0
- /package/{relationship-WVVFCJE4.js.map → relationship-S6WWQ2DR.js.map} +0 -0
- /package/{resource-BLWIQZDW.js.map → resource-2CVU2LTR.js.map} +0 -0
- /package/{search-636MGRVJ.js.map → search-2WENKAC5.js.map} +0 -0
- /package/{secret-7KFP76JC.js.map → secret-FPBHZYT7.js.map} +0 -0
- /package/{slack-U2JY2F2I.js.map → slack-LILJDIDG.js.map} +0 -0
- /package/{telegram-PEU75EN2.js.map → telegram-OXT2OQJX.js.map} +0 -0
- /package/{variable-HXOEYMGJ.js.map → variable-BHLSH26G.js.map} +0 -0
- /package/{web-X7JWQ4R3.js.map → web-UU2DSYEX.js.map} +0 -0
- /package/{whoami-LDNWRXXO.js.map → whoami-62NVJQKM.js.map} +0 -0
|
@@ -50,7 +50,7 @@ if (DSN) {
|
|
|
50
50
|
Sentry.init({
|
|
51
51
|
dsn: DSN,
|
|
52
52
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
53
|
-
release: "9.
|
|
53
|
+
release: "9.225.0",
|
|
54
54
|
sendDefaultPii: false,
|
|
55
55
|
tracesSampleRate: 0,
|
|
56
56
|
shutdownTimeout: 500,
|
|
@@ -69,7 +69,7 @@ if (DSN) {
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
Sentry.setContext("cli", {
|
|
72
|
-
version: "9.
|
|
72
|
+
version: "9.225.0",
|
|
73
73
|
command: process.argv.slice(2).join(" ")
|
|
74
74
|
});
|
|
75
75
|
Sentry.setContext("runtime", {
|
|
@@ -146,4 +146,4 @@ async function configureGlobalProxyFromEnv() {
|
|
|
146
146
|
export {
|
|
147
147
|
configureGlobalProxyFromEnv
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-ZNWO25MO.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
fetchComputerUsePluginContent,
|
|
10
10
|
fetchComputerUseScreenshot,
|
|
11
11
|
getComputerUseCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VRH2KUP3.js";
|
|
13
13
|
import {
|
|
14
14
|
ApiRequestError,
|
|
15
15
|
withErrorHandler
|
|
@@ -881,4 +881,4 @@ export {
|
|
|
881
881
|
formatComputerUseResultForConsole,
|
|
882
882
|
zeroComputerUseCommand
|
|
883
883
|
};
|
|
884
|
-
//# sourceMappingURL=computer-use-
|
|
884
|
+
//# sourceMappingURL=computer-use-HVBEWFSK.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
getZeroCustomConnector,
|
|
17
17
|
listZeroConnectorCatalogStatus,
|
|
18
18
|
listZeroCustomConnectors
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-VRH2KUP3.js";
|
|
20
20
|
import {
|
|
21
21
|
withErrorHandler
|
|
22
22
|
} from "./chunk-3F4RFLPX.js";
|
|
@@ -832,4 +832,4 @@ var zeroConnectorCommand = new Command().name("connector").description("Check th
|
|
|
832
832
|
export {
|
|
833
833
|
zeroConnectorCommand
|
|
834
834
|
};
|
|
835
|
-
//# sourceMappingURL=connector-
|
|
835
|
+
//# sourceMappingURL=connector-GMQDWOYO.js.map
|
|
@@ -8,7 +8,7 @@ import "./chunk-LTDQISD7.js";
|
|
|
8
8
|
import {
|
|
9
9
|
createZeroCreditCheckout,
|
|
10
10
|
getZeroOrgMembers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VRH2KUP3.js";
|
|
12
12
|
import {
|
|
13
13
|
withErrorHandler
|
|
14
14
|
} from "./chunk-3F4RFLPX.js";
|
|
@@ -87,4 +87,4 @@ var zeroCreditCommand = new Command().name("credit").description("Create a Strip
|
|
|
87
87
|
export {
|
|
88
88
|
zeroCreditCommand
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=credit-
|
|
90
|
+
//# sourceMappingURL=credit-F54BDX2P.js.map
|
|
@@ -5,7 +5,7 @@ import "./chunk-LTDQISD7.js";
|
|
|
5
5
|
import {
|
|
6
6
|
requestDeveloperSupportConsent,
|
|
7
7
|
submitDeveloperSupport
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VRH2KUP3.js";
|
|
9
9
|
import {
|
|
10
10
|
withErrorHandler
|
|
11
11
|
} from "./chunk-3F4RFLPX.js";
|
|
@@ -61,4 +61,4 @@ Notes:
|
|
|
61
61
|
export {
|
|
62
62
|
zeroDeveloperSupportCommand
|
|
63
63
|
};
|
|
64
|
-
//# sourceMappingURL=developer-support-
|
|
64
|
+
//# sourceMappingURL=developer-support-HQPNQZHP.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
findFirewallMetadataPermission,
|
|
6
6
|
getFirewallPermissionSummary,
|
|
7
7
|
loadFirewallPermissionMetadata
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ANMP2PGL.js";
|
|
9
9
|
import {
|
|
10
10
|
getPlatformOrigin,
|
|
11
11
|
toPlatformUrl
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
matchFirewallBaseUrl,
|
|
15
15
|
matchFirewallRequestDecision
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FMJ47P2C.js";
|
|
17
17
|
import {
|
|
18
18
|
getConnectorEnvBindingEntries,
|
|
19
19
|
getDiagnosticConnectorTypeForRuntimeEnvName
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4BJN74HU.js";
|
|
21
21
|
import "./chunk-LTDQISD7.js";
|
|
22
22
|
import {
|
|
23
23
|
CONNECTOR_TYPES,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
hasUnsafeFirewallPath,
|
|
33
33
|
resolveFirewallBaseUrlTemplate,
|
|
34
34
|
searchZeroConnectors
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VRH2KUP3.js";
|
|
36
36
|
import {
|
|
37
37
|
ApiRequestError,
|
|
38
38
|
getApiUrl,
|
|
@@ -3256,7 +3256,7 @@ var FIREWALL_ROUTING_METADATA_LOADERS = Object.assign(/* @__PURE__ */ Object.cre
|
|
|
3256
3256
|
return (await import("./mapbox.generated-YOWECNLT.js"))["firewallRoutingMetadata"];
|
|
3257
3257
|
},
|
|
3258
3258
|
["maskdb"]: async () => {
|
|
3259
|
-
return (await import("./maskdb.generated-
|
|
3259
|
+
return (await import("./maskdb.generated-CU7ZFEGM.js"))["firewallRoutingMetadata"];
|
|
3260
3260
|
},
|
|
3261
3261
|
["massive"]: async () => {
|
|
3262
3262
|
return (await import("./massive.generated-WERMDNBM.js"))["firewallRoutingMetadata"];
|
|
@@ -8645,4 +8645,4 @@ Notes:
|
|
|
8645
8645
|
export {
|
|
8646
8646
|
zeroDoctorCommand
|
|
8647
8647
|
};
|
|
8648
|
-
//# sourceMappingURL=doctor-
|
|
8648
|
+
//# sourceMappingURL=doctor-PD6UB6PP.js.map
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
getZeroAgentUserConnectors,
|
|
26
26
|
listZeroConnectorCatalog,
|
|
27
27
|
listZeroConnectorCatalogStatus
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VRH2KUP3.js";
|
|
29
29
|
import {
|
|
30
30
|
generateWebImage,
|
|
31
31
|
generateWebVideo,
|
|
@@ -1426,7 +1426,6 @@ init_esm_shims();
|
|
|
1426
1426
|
|
|
1427
1427
|
// src/commands/zero/shared/presentation-generate.ts
|
|
1428
1428
|
init_esm_shims();
|
|
1429
|
-
var PRESENTATION_TARGET = "presentation";
|
|
1430
1429
|
function parseSlideCount(value) {
|
|
1431
1430
|
const slideCount = Number(value);
|
|
1432
1431
|
if (!Number.isInteger(slideCount)) {
|
|
@@ -1437,44 +1436,29 @@ function parseSlideCount(value) {
|
|
|
1437
1436
|
}
|
|
1438
1437
|
return slideCount;
|
|
1439
1438
|
}
|
|
1440
|
-
function
|
|
1441
|
-
|
|
1442
|
-
const message = [
|
|
1443
|
-
`Unknown design system: ${id}`,
|
|
1444
|
-
"",
|
|
1445
|
-
"Available design systems:",
|
|
1446
|
-
formatRegistryListing(designSystems, "design systems"),
|
|
1447
|
-
"",
|
|
1448
|
-
`Example:`,
|
|
1449
|
-
` ${usageCommand} --design-system ${designSystems[0]?.id ?? "<design-system-id>"} --prompt "..."`
|
|
1450
|
-
].join("\n");
|
|
1451
|
-
return new Error(message);
|
|
1439
|
+
function listPresentationTemplates() {
|
|
1440
|
+
return listPresentationRunbookPackages();
|
|
1452
1441
|
}
|
|
1453
|
-
function unknownTemplateError2(id, usageCommand
|
|
1454
|
-
const
|
|
1455
|
-
const templates = listTemplates(PRESENTATION_TARGET);
|
|
1456
|
-
const exampleTemplate = runbookPackages[0]?.templateId ?? templates[0]?.id;
|
|
1442
|
+
function unknownTemplateError2(id, usageCommand) {
|
|
1443
|
+
const templates = listPresentationTemplates();
|
|
1457
1444
|
const message = [
|
|
1458
|
-
`Unknown template for
|
|
1445
|
+
`Unknown template for presentation: ${id}`,
|
|
1459
1446
|
"",
|
|
1460
|
-
|
|
1461
|
-
|
|
1447
|
+
"Available templates for presentation:",
|
|
1448
|
+
formatPresentationTemplateListing(templates),
|
|
1462
1449
|
"",
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
"",
|
|
1466
|
-
`Example:`,
|
|
1467
|
-
` ${usageCommand} --template ${exampleTemplate ?? "<template-id>"} --prompt "..."`
|
|
1450
|
+
"Example:",
|
|
1451
|
+
` ${usageCommand} --template ${templates[0]?.templateId ?? "<template-id>"} --prompt "..."`
|
|
1468
1452
|
].join("\n");
|
|
1469
1453
|
return new Error(message);
|
|
1470
1454
|
}
|
|
1471
|
-
function
|
|
1472
|
-
if (
|
|
1473
|
-
return " (no presentation
|
|
1455
|
+
function formatPresentationTemplateListing(templates) {
|
|
1456
|
+
if (templates.length === 0) {
|
|
1457
|
+
return " (no presentation templates registered)";
|
|
1474
1458
|
}
|
|
1475
|
-
return
|
|
1476
|
-
return ` ${
|
|
1477
|
-
${
|
|
1459
|
+
return templates.map((template) => {
|
|
1460
|
+
return ` ${template.templateId}
|
|
1461
|
+
${template.description}`;
|
|
1478
1462
|
}).join("\n\n");
|
|
1479
1463
|
}
|
|
1480
1464
|
function createPresentationGenerateCommand(config) {
|
|
@@ -1482,15 +1466,10 @@ function createPresentationGenerateCommand(config) {
|
|
|
1482
1466
|
"--prompt <text>",
|
|
1483
1467
|
"Presentation prompt; can also be piped via stdin"
|
|
1484
1468
|
).option("--site-slug <slug>", "Hosted site slug override").option("--title <text>", "Requested deck title").option(
|
|
1485
|
-
"--design-system <id>",
|
|
1486
|
-
"Design system id from the registry (see Design Systems below). Accepts either 'apple' or 'design-system:apple'."
|
|
1487
|
-
).option(
|
|
1488
1469
|
"--template <id>",
|
|
1489
|
-
"Presentation
|
|
1470
|
+
"Presentation template id (see Templates below). Accepts either 'html-ppt-playful-launch' or 'template:html-ppt-playful-launch'."
|
|
1490
1471
|
).option("--slides <count>", "Slide count: 4-20", parseSlideCount, 8).addHelpText("after", () => {
|
|
1491
|
-
const
|
|
1492
|
-
const runbookPackages = listPresentationRunbookPackages();
|
|
1493
|
-
const templates = listTemplates(PRESENTATION_TARGET);
|
|
1472
|
+
const templates = listPresentationTemplates();
|
|
1494
1473
|
return `
|
|
1495
1474
|
Examples:
|
|
1496
1475
|
${config.examples}
|
|
@@ -1502,14 +1481,8 @@ Notes:
|
|
|
1502
1481
|
- Authenticates via ZERO_TOKEN
|
|
1503
1482
|
- The agent authors the HTML presentation artifact and hosts it with zero host
|
|
1504
1483
|
|
|
1505
|
-
|
|
1506
|
-
${
|
|
1507
|
-
|
|
1508
|
-
Templates (presentation runbook):
|
|
1509
|
-
${formatPresentationRunbookListing(runbookPackages)}
|
|
1510
|
-
|
|
1511
|
-
Templates (presentation registry):
|
|
1512
|
-
${formatRegistryListing(templates, "presentation templates")}`;
|
|
1484
|
+
Templates (presentation):
|
|
1485
|
+
${formatPresentationTemplateListing(templates)}`;
|
|
1513
1486
|
}).action(
|
|
1514
1487
|
withErrorHandler(async (options) => {
|
|
1515
1488
|
const dispatch = await dispatchGenerate({
|
|
@@ -1523,87 +1496,68 @@ ${formatRegistryListing(templates, "presentation templates")}`;
|
|
|
1523
1496
|
"template",
|
|
1524
1497
|
options.template
|
|
1525
1498
|
);
|
|
1526
|
-
const
|
|
1527
|
-
if (
|
|
1528
|
-
|
|
1529
|
-
runbookPackage,
|
|
1530
|
-
void 0
|
|
1531
|
-
);
|
|
1532
|
-
const colorSystemToken = "error" in color ? runbookPackage.defaultColorSystem : color.token;
|
|
1533
|
-
console.log(
|
|
1534
|
-
[
|
|
1535
|
-
"# Presentation Generation (runbook)",
|
|
1536
|
-
"",
|
|
1537
|
-
...buildPresentationRunbookInstructionLines({
|
|
1538
|
-
runbookPackage,
|
|
1539
|
-
colorSystemToken
|
|
1540
|
-
}),
|
|
1541
|
-
"",
|
|
1542
|
-
`User request: ${prompt}`
|
|
1543
|
-
].join("\n")
|
|
1544
|
-
);
|
|
1545
|
-
return;
|
|
1499
|
+
const template = findPresentationRunbookPackage(canonical);
|
|
1500
|
+
if (!template) {
|
|
1501
|
+
throw unknownTemplateError2(options.template, config.usageCommand);
|
|
1546
1502
|
}
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
const canonical = canonicalizeRegistryId(
|
|
1551
|
-
"design-system",
|
|
1552
|
-
options.designSystem
|
|
1503
|
+
const color = resolvePresentationRunbookColorToken(
|
|
1504
|
+
template,
|
|
1505
|
+
void 0
|
|
1553
1506
|
);
|
|
1554
|
-
const
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
"template",
|
|
1567
|
-
options.template
|
|
1507
|
+
const colorSystemToken = "error" in color ? template.defaultColorSystem : color.token;
|
|
1508
|
+
console.log(
|
|
1509
|
+
[
|
|
1510
|
+
"# Presentation Generation (template)",
|
|
1511
|
+
"",
|
|
1512
|
+
...buildPresentationRunbookInstructionLines({
|
|
1513
|
+
runbookPackage: template,
|
|
1514
|
+
colorSystemToken
|
|
1515
|
+
}),
|
|
1516
|
+
"",
|
|
1517
|
+
`User request: ${prompt}`
|
|
1518
|
+
].join("\n")
|
|
1568
1519
|
);
|
|
1569
|
-
|
|
1570
|
-
if (!entry || !entry.targets?.includes(PRESENTATION_TARGET)) {
|
|
1571
|
-
throw unknownTemplateError2(
|
|
1572
|
-
options.template,
|
|
1573
|
-
config.usageCommand,
|
|
1574
|
-
PRESENTATION_TARGET
|
|
1575
|
-
);
|
|
1576
|
-
}
|
|
1577
|
-
resolvedTemplate = entry;
|
|
1520
|
+
return;
|
|
1578
1521
|
}
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
"
|
|
1593
|
-
"
|
|
1594
|
-
"
|
|
1595
|
-
"
|
|
1596
|
-
"
|
|
1597
|
-
"
|
|
1598
|
-
"
|
|
1599
|
-
"
|
|
1600
|
-
"
|
|
1601
|
-
"Before
|
|
1602
|
-
"
|
|
1603
|
-
"
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1522
|
+
console.log(
|
|
1523
|
+
[
|
|
1524
|
+
"# Zero generate presentation",
|
|
1525
|
+
"",
|
|
1526
|
+
"This is a direct HTML presentation authoring packet for the current agent.",
|
|
1527
|
+
"Author the deck directly from the user's request and any supplied source material.",
|
|
1528
|
+
"",
|
|
1529
|
+
"## User Prompt",
|
|
1530
|
+
prompt,
|
|
1531
|
+
"",
|
|
1532
|
+
"## Requested Parameters",
|
|
1533
|
+
`- Slide count: ${options.slides}`,
|
|
1534
|
+
`- Requested deck title: ${options.title ?? "not specified"}`,
|
|
1535
|
+
"- Selected template: agent decides",
|
|
1536
|
+
"",
|
|
1537
|
+
"## Authoring Rules",
|
|
1538
|
+
"- Think like a presentation designer, not a web page designer.",
|
|
1539
|
+
"- Use a fixed 1920x1080 slide canvas and scale it uniformly for smaller viewports.",
|
|
1540
|
+
"- Use one section per slide and keep repeated elements in consistent positions.",
|
|
1541
|
+
"- Make keyboard navigation work with ArrowLeft, ArrowRight, Home, and End.",
|
|
1542
|
+
"- Keep slide text readable from across a room; avoid memo-like walls of text.",
|
|
1543
|
+
"- Produce exactly the requested slide count. Do not let a template's reference example or preview slide count override the requested count.",
|
|
1544
|
+
"- Before authoring, make an internal slide plan with exactly the requested count and map each slide to a narrative role plus a selected template layout or device.",
|
|
1545
|
+
"- Adapt the selected template to the requested slide count: for shorter decks, merge or omit lower-priority content roles; for longer decks, split dense sections into multiple focused slides or reuse layout patterns with different substantive content. Do not add decorative, duplicate, or empty filler slides.",
|
|
1546
|
+
"- Use selected template references only for structure, layout devices, spacing, and visual language. Do not inherit or continue any reference deck's sample subject, sample story, sample copy, sample metrics, preview imagery, or media seed names.",
|
|
1547
|
+
"- Derive every presentation image/media choice from the user's requested topic, story, source material, or cited facts.",
|
|
1548
|
+
"- Before laying out slides, establish the deck's arc: the opening problem or question, how it develops, and what conclusion lands; every slide should serve a clear narrative role in that arc.",
|
|
1549
|
+
"- Vary slide forms across the deck \u2014 full-bleed statement, evidence with data, pull quote, section break, summary \u2014 and avoid defaulting every slide to title-plus-bullets.",
|
|
1550
|
+
"- Each slide carries one idea; prefer a single strong statement over a list, and never exceed three bullets on any slide.",
|
|
1551
|
+
"",
|
|
1552
|
+
"## Verification",
|
|
1553
|
+
"- Use `agent-browser` for browser verification when available. Start with `agent-browser skills get core` if you need command guidance.",
|
|
1554
|
+
"- Prefer `agent-browser` over Playwright, Puppeteer, or installing browser automation dependencies.",
|
|
1555
|
+
"- Open the HTML locally and verify it is nonblank.",
|
|
1556
|
+
"- Check that keyboard/click interactions work when present.",
|
|
1557
|
+
"- Check that text does not overflow or overlap at desktop and mobile viewport sizes.",
|
|
1558
|
+
"- Check that shapes, charts, images, or decorative graphics do not cover readable text at desktop and mobile viewport sizes."
|
|
1559
|
+
].join("\n")
|
|
1560
|
+
);
|
|
1607
1561
|
})
|
|
1608
1562
|
);
|
|
1609
1563
|
}
|
|
@@ -2452,7 +2406,7 @@ var videoCommand = createVideoGenerateCommand({
|
|
|
2452
2406
|
init_esm_shims();
|
|
2453
2407
|
var WEBSITE_TARGET = "website";
|
|
2454
2408
|
var WEBSITE_USAGE_COMMAND = "zero generate website";
|
|
2455
|
-
function
|
|
2409
|
+
function unknownDesignSystemError2(id) {
|
|
2456
2410
|
const designSystems = listDesignSystems();
|
|
2457
2411
|
const message = [
|
|
2458
2412
|
`Unknown design system: ${id}`,
|
|
@@ -2525,7 +2479,7 @@ ${formatRegistryListing(templates, "website templates")}`;
|
|
|
2525
2479
|
);
|
|
2526
2480
|
const entry = findDesignSystem(canonical);
|
|
2527
2481
|
if (!entry) {
|
|
2528
|
-
throw
|
|
2482
|
+
throw unknownDesignSystemError2(options.designSystem);
|
|
2529
2483
|
}
|
|
2530
2484
|
resolvedDesignSystem = entry;
|
|
2531
2485
|
}
|
|
@@ -2712,4 +2666,4 @@ var generateCommand = new Command().name("generate").description(
|
|
|
2712
2666
|
export {
|
|
2713
2667
|
generateCommand
|
|
2714
2668
|
};
|
|
2715
|
-
//# sourceMappingURL=generate-
|
|
2669
|
+
//# sourceMappingURL=generate-DAOKV7FY.js.map
|