@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.
Files changed (88) hide show
  1. package/{agent-7NA5QH3O.js → agent-SQ75YRNQ.js} +4 -4
  2. package/{banking-IBF3AZ6Y.js → banking-G3W5BMFM.js} +2 -2
  3. package/{chat-3Z75ZP42.js → chat-AIJSNASF.js} +2 -2
  4. package/{chunk-S7UAJQIB.js → chunk-4BJN74HU.js} +2 -2
  5. package/{chunk-XQZNBHF7.js → chunk-7FTZY74L.js} +2 -2
  6. package/{chunk-E4MGHFQB.js → chunk-ANMP2PGL.js} +3 -3
  7. package/{chunk-5UA7UXIV.js → chunk-ETH3DHTP.js} +2 -2
  8. package/{chunk-FVFOFZ4M.js → chunk-FMJ47P2C.js} +2 -2
  9. package/{chunk-PHVDQKRZ.js → chunk-H4QE2C2Z.js} +87 -76
  10. package/chunk-H4QE2C2Z.js.map +1 -0
  11. package/{chunk-2444WWO7.js → chunk-S46G6I4U.js} +3 -3
  12. package/{chunk-BCBKXMPR.js → chunk-VRH2KUP3.js} +101 -43
  13. package/chunk-VRH2KUP3.js.map +1 -0
  14. package/{chunk-T3GH6A5A.js → chunk-ZNWO25MO.js} +3 -3
  15. package/{computer-use-ODGK3Z6O.js → computer-use-HVBEWFSK.js} +2 -2
  16. package/{connector-5737G3DA.js → connector-GMQDWOYO.js} +2 -2
  17. package/{credit-C3NER34Z.js → credit-F54BDX2P.js} +2 -2
  18. package/{developer-support-LZIQR4E2.js → developer-support-HQPNQZHP.js} +2 -2
  19. package/{doctor-C5YG27YG.js → doctor-PD6UB6PP.js} +6 -6
  20. package/{generate-724NNDZO.js → generate-DAOKV7FY.js} +81 -127
  21. package/generate-DAOKV7FY.js.map +1 -0
  22. package/{github-HRMBRN7U.js → github-TK27QGP6.js} +2 -2
  23. package/{goal-T56TVAUQ.js → goal-GHECNESB.js} +2 -2
  24. package/{host-X7QSG47D.js → host-6XHN5BZJ.js} +2 -2
  25. package/index.js +13 -13
  26. package/{logs-N2ZGIG2Q.js → logs-WWE2MB3D.js} +6 -6
  27. package/{maps-X3Q7GSL2.js → maps-MSGPBJYL.js} +2 -2
  28. package/{maskdb.generated-WA5B4GQ5.js → maskdb.generated-CU7ZFEGM.js} +5 -1
  29. package/{maskdb.generated-WA5B4GQ5.js.map → maskdb.generated-CU7ZFEGM.js.map} +1 -1
  30. package/{maskdb.generated-VAIGGNUJ.js → maskdb.generated-NUZBLAZV.js} +2 -2
  31. package/maskdb.generated-NUZBLAZV.js.map +1 -0
  32. package/{model-2BXSZYRG.js → model-G46MAUDI.js} +3 -3
  33. package/{model-provider-PIXDFTJQ.js → model-provider-NQI5W7NG.js} +3 -3
  34. package/{org-PNMAMV3U.js → org-EVGWL5NI.js} +2 -2
  35. package/package.json +1 -1
  36. package/{phone-J22G2X7O.js → phone-JQHJOR4E.js} +2 -2
  37. package/{preference-CCW46O4D.js → preference-RKM3H3WD.js} +2 -2
  38. package/{relationship-WVVFCJE4.js → relationship-S6WWQ2DR.js} +2 -2
  39. package/{resource-BLWIQZDW.js → resource-2CVU2LTR.js} +2 -2
  40. package/{search-636MGRVJ.js → search-2WENKAC5.js} +6 -6
  41. package/{secret-7KFP76JC.js → secret-FPBHZYT7.js} +3 -3
  42. package/{slack-U2JY2F2I.js → slack-LILJDIDG.js} +2 -2
  43. package/{telegram-PEU75EN2.js → telegram-OXT2OQJX.js} +2 -2
  44. package/{variable-HXOEYMGJ.js → variable-BHLSH26G.js} +2 -2
  45. package/{web-X7JWQ4R3.js → web-UU2DSYEX.js} +2 -2
  46. package/{whoami-LDNWRXXO.js → whoami-62NVJQKM.js} +4 -4
  47. package/{workflow-V5PQT26N.js → workflow-VPK2T7BJ.js} +4 -2
  48. package/{workflow-V5PQT26N.js.map → workflow-VPK2T7BJ.js.map} +1 -1
  49. package/zero.js +32 -32
  50. package/zero.js.map +1 -1
  51. package/chunk-BCBKXMPR.js.map +0 -1
  52. package/chunk-PHVDQKRZ.js.map +0 -1
  53. package/generate-724NNDZO.js.map +0 -1
  54. package/maskdb.generated-VAIGGNUJ.js.map +0 -1
  55. /package/{agent-7NA5QH3O.js.map → agent-SQ75YRNQ.js.map} +0 -0
  56. /package/{banking-IBF3AZ6Y.js.map → banking-G3W5BMFM.js.map} +0 -0
  57. /package/{chat-3Z75ZP42.js.map → chat-AIJSNASF.js.map} +0 -0
  58. /package/{chunk-S7UAJQIB.js.map → chunk-4BJN74HU.js.map} +0 -0
  59. /package/{chunk-XQZNBHF7.js.map → chunk-7FTZY74L.js.map} +0 -0
  60. /package/{chunk-E4MGHFQB.js.map → chunk-ANMP2PGL.js.map} +0 -0
  61. /package/{chunk-5UA7UXIV.js.map → chunk-ETH3DHTP.js.map} +0 -0
  62. /package/{chunk-FVFOFZ4M.js.map → chunk-FMJ47P2C.js.map} +0 -0
  63. /package/{chunk-2444WWO7.js.map → chunk-S46G6I4U.js.map} +0 -0
  64. /package/{chunk-T3GH6A5A.js.map → chunk-ZNWO25MO.js.map} +0 -0
  65. /package/{computer-use-ODGK3Z6O.js.map → computer-use-HVBEWFSK.js.map} +0 -0
  66. /package/{connector-5737G3DA.js.map → connector-GMQDWOYO.js.map} +0 -0
  67. /package/{credit-C3NER34Z.js.map → credit-F54BDX2P.js.map} +0 -0
  68. /package/{developer-support-LZIQR4E2.js.map → developer-support-HQPNQZHP.js.map} +0 -0
  69. /package/{doctor-C5YG27YG.js.map → doctor-PD6UB6PP.js.map} +0 -0
  70. /package/{github-HRMBRN7U.js.map → github-TK27QGP6.js.map} +0 -0
  71. /package/{goal-T56TVAUQ.js.map → goal-GHECNESB.js.map} +0 -0
  72. /package/{host-X7QSG47D.js.map → host-6XHN5BZJ.js.map} +0 -0
  73. /package/{logs-N2ZGIG2Q.js.map → logs-WWE2MB3D.js.map} +0 -0
  74. /package/{maps-X3Q7GSL2.js.map → maps-MSGPBJYL.js.map} +0 -0
  75. /package/{model-2BXSZYRG.js.map → model-G46MAUDI.js.map} +0 -0
  76. /package/{model-provider-PIXDFTJQ.js.map → model-provider-NQI5W7NG.js.map} +0 -0
  77. /package/{org-PNMAMV3U.js.map → org-EVGWL5NI.js.map} +0 -0
  78. /package/{phone-J22G2X7O.js.map → phone-JQHJOR4E.js.map} +0 -0
  79. /package/{preference-CCW46O4D.js.map → preference-RKM3H3WD.js.map} +0 -0
  80. /package/{relationship-WVVFCJE4.js.map → relationship-S6WWQ2DR.js.map} +0 -0
  81. /package/{resource-BLWIQZDW.js.map → resource-2CVU2LTR.js.map} +0 -0
  82. /package/{search-636MGRVJ.js.map → search-2WENKAC5.js.map} +0 -0
  83. /package/{secret-7KFP76JC.js.map → secret-FPBHZYT7.js.map} +0 -0
  84. /package/{slack-U2JY2F2I.js.map → slack-LILJDIDG.js.map} +0 -0
  85. /package/{telegram-PEU75EN2.js.map → telegram-OXT2OQJX.js.map} +0 -0
  86. /package/{variable-HXOEYMGJ.js.map → variable-BHLSH26G.js.map} +0 -0
  87. /package/{web-X7JWQ4R3.js.map → web-UU2DSYEX.js.map} +0 -0
  88. /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.224.1",
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.224.1",
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-T3GH6A5A.js.map
149
+ //# sourceMappingURL=chunk-ZNWO25MO.js.map
@@ -9,7 +9,7 @@ import {
9
9
  fetchComputerUsePluginContent,
10
10
  fetchComputerUseScreenshot,
11
11
  getComputerUseCommand
12
- } from "./chunk-BCBKXMPR.js";
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-ODGK3Z6O.js.map
884
+ //# sourceMappingURL=computer-use-HVBEWFSK.js.map
@@ -16,7 +16,7 @@ import {
16
16
  getZeroCustomConnector,
17
17
  listZeroConnectorCatalogStatus,
18
18
  listZeroCustomConnectors
19
- } from "./chunk-BCBKXMPR.js";
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-5737G3DA.js.map
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-BCBKXMPR.js";
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-C3NER34Z.js.map
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-BCBKXMPR.js";
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-LZIQR4E2.js.map
64
+ //# sourceMappingURL=developer-support-HQPNQZHP.js.map
@@ -5,7 +5,7 @@ import {
5
5
  findFirewallMetadataPermission,
6
6
  getFirewallPermissionSummary,
7
7
  loadFirewallPermissionMetadata
8
- } from "./chunk-E4MGHFQB.js";
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-FVFOFZ4M.js";
16
+ } from "./chunk-FMJ47P2C.js";
17
17
  import {
18
18
  getConnectorEnvBindingEntries,
19
19
  getDiagnosticConnectorTypeForRuntimeEnvName
20
- } from "./chunk-S7UAJQIB.js";
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-BCBKXMPR.js";
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-WA5B4GQ5.js"))["firewallRoutingMetadata"];
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-C5YG27YG.js.map
8648
+ //# sourceMappingURL=doctor-PD6UB6PP.js.map
@@ -25,7 +25,7 @@ import {
25
25
  getZeroAgentUserConnectors,
26
26
  listZeroConnectorCatalog,
27
27
  listZeroConnectorCatalogStatus
28
- } from "./chunk-BCBKXMPR.js";
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 unknownDesignSystemError2(id, usageCommand) {
1441
- const designSystems = listDesignSystems();
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, target) {
1454
- const runbookPackages = listPresentationRunbookPackages();
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 ${target}: ${id}`,
1445
+ `Unknown template for presentation: ${id}`,
1459
1446
  "",
1460
- `Available runbook templates for ${target}:`,
1461
- formatPresentationRunbookListing(runbookPackages),
1447
+ "Available templates for presentation:",
1448
+ formatPresentationTemplateListing(templates),
1462
1449
  "",
1463
- `Available registry templates for ${target}:`,
1464
- formatRegistryListing(templates, `${target} templates`),
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 formatPresentationRunbookListing(packages) {
1472
- if (packages.length === 0) {
1473
- return " (no presentation runbook templates registered)";
1455
+ function formatPresentationTemplateListing(templates) {
1456
+ if (templates.length === 0) {
1457
+ return " (no presentation templates registered)";
1474
1458
  }
1475
- return packages.map((pkg) => {
1476
- return ` ${pkg.templateId}
1477
- ${pkg.description}`;
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 runbook template id (see Templates below). Accepts either 'html-ppt-playful-launch' or 'template:html-ppt-playful-launch'."
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 designSystems = listDesignSystems();
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
- Design Systems:
1506
- ${formatRegistryListing(designSystems, "design systems")}
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 runbookPackage = findPresentationRunbookPackage(canonical);
1527
- if (runbookPackage) {
1528
- const color = resolvePresentationRunbookColorToken(
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
- let resolvedDesignSystem;
1549
- if (options.designSystem !== void 0) {
1550
- const canonical = canonicalizeRegistryId(
1551
- "design-system",
1552
- options.designSystem
1503
+ const color = resolvePresentationRunbookColorToken(
1504
+ template,
1505
+ void 0
1553
1506
  );
1554
- const entry = findDesignSystem(canonical);
1555
- if (!entry) {
1556
- throw unknownDesignSystemError2(
1557
- options.designSystem,
1558
- config.usageCommand
1559
- );
1560
- }
1561
- resolvedDesignSystem = entry;
1562
- }
1563
- let resolvedTemplate;
1564
- if (options.template !== void 0) {
1565
- const canonical = canonicalizeRegistryId(
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
- const entry = findTemplate(canonical);
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
- const packet = createHtmlArtifactAuthoringPacket({
1580
- kind: "presentation",
1581
- prompt,
1582
- slugSource: options.title,
1583
- siteSlug: options.siteSlug,
1584
- details: [
1585
- `Slide count: ${options.slides}`,
1586
- `Requested deck title: ${options.title ?? "not specified"}`,
1587
- `Selected design system: ${resolvedDesignSystem ? `${resolvedDesignSystem.id} (${resolvedDesignSystem.name})` : "agent decides"}`,
1588
- `Selected template: ${resolvedTemplate ? `${resolvedTemplate.id} (${resolvedTemplate.name})` : "agent decides"}`
1589
- ],
1590
- artifactRules: [
1591
- "Think like a presentation designer, not a web page designer.",
1592
- "Use a fixed 1920x1080 slide canvas and scale it uniformly for smaller viewports.",
1593
- "Use one section per slide and keep repeated elements in consistent positions.",
1594
- "Make keyboard navigation work with ArrowLeft, ArrowRight, Home, and End.",
1595
- "Keep slide text readable from across a room; avoid memo-like walls of text.",
1596
- "Produce exactly the requested slide count. Do not let a template's reference example or preview slide count override the requested count.",
1597
- "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.",
1598
- "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.",
1599
- "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.",
1600
- "Derive every presentation image/media choice from the user's requested topic, story, source material, or cited facts.",
1601
- "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.",
1602
- "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.",
1603
- "Each slide carries one idea; prefer a single strong statement over a list, and never exceed three bullets on any slide."
1604
- ]
1605
- });
1606
- console.log(packet.instructions);
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 unknownDesignSystemError3(id) {
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 unknownDesignSystemError3(options.designSystem);
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-724NNDZO.js.map
2669
+ //# sourceMappingURL=generate-DAOKV7FY.js.map