deepline 0.3.325 → 0.3.327

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 (128) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +23 -25
  2. package/dist/bundling-sources/sdk/src/compat.ts +11 -6
  3. package/dist/bundling-sources/sdk/src/db/query.ts +172 -0
  4. package/dist/bundling-sources/sdk/src/errors.ts +35 -0
  5. package/dist/bundling-sources/sdk/src/index.ts +13 -0
  6. package/dist/bundling-sources/sdk/src/play.ts +34 -31
  7. package/dist/bundling-sources/sdk/src/plays/authoring-graph-path.ts +13 -0
  8. package/dist/bundling-sources/sdk/src/plays/bundle-play-file.ts +2 -1
  9. package/dist/bundling-sources/sdk/src/plays/local-play-execution.ts +189 -0
  10. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  11. package/dist/bundling-sources/sdk/src/tool-calls.ts +1 -1
  12. package/dist/bundling-sources/shared_libs/play-runtime/projection.ts +11 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +98 -11
  14. package/dist/cli/auth-67YOPQ6M.js +31 -0
  15. package/dist/cli/{auth-PIZESRPC.mjs → auth-EBBDOKNV.mjs} +4 -4
  16. package/dist/cli/{billing-DQKFCQV5.js → billing-6AAB7WPJ.js} +70 -70
  17. package/dist/cli/{billing-HSL6VTCM.mjs → billing-IM2QUFX4.mjs} +4 -4
  18. package/dist/cli/{chunk-WW4XZIVM.mjs → chunk-3ITDKXNC.mjs} +12 -9
  19. package/dist/cli/{chunk-K7FC5IUU.js → chunk-3MXRNPBN.js} +1 -1
  20. package/dist/cli/{chunk-DLW7X2UK.js → chunk-4TO56P22.js} +5928 -5730
  21. package/dist/cli/{chunk-MNKDSR2J.js → chunk-4ZARCCPT.js} +344 -254
  22. package/dist/cli/{chunk-PBNZXZCW.js → chunk-77RAV5XX.js} +48 -48
  23. package/dist/cli/{chunk-HUKWYHBG.js → chunk-7RCJDAJX.js} +2 -2
  24. package/dist/cli/{chunk-5TYU3UIS.mjs → chunk-A5SKM3GL.mjs} +1 -1
  25. package/dist/cli/{chunk-XNL3SEMC.js → chunk-AFNEQ43J.js} +8 -3
  26. package/dist/cli/{chunk-XSEMQ4II.js → chunk-AGH6YP2T.js} +2 -1
  27. package/dist/cli/chunk-AID3OYVJ.js +8 -0
  28. package/dist/cli/{chunk-YE3O2UHM.mjs → chunk-CCRQ2VGJ.mjs} +24 -1
  29. package/dist/cli/{chunk-HPTQEWCF.js → chunk-CISKBOXD.js} +70 -67
  30. package/dist/cli/{chunk-OPERWJR6.mjs → chunk-D6GD5AVN.mjs} +3 -3
  31. package/dist/cli/{chunk-6RMKHN7S.mjs → chunk-DCAU6PND.mjs} +4 -20
  32. package/dist/cli/{chunk-PVDQ55PS.js → chunk-DM3SHV6U.js} +29 -6
  33. package/dist/cli/{chunk-CV5GDCKN.js → chunk-DSDX6EUW.js} +29 -45
  34. package/dist/cli/{chunk-5FHU7TV4.mjs → chunk-DVV4FPS7.mjs} +2 -2
  35. package/dist/cli/{chunk-AQUNQJ5Y.mjs → chunk-F45425TB.mjs} +1 -1
  36. package/dist/cli/{chunk-NWBARG3F.mjs → chunk-G5774EFF.mjs} +1 -1
  37. package/dist/cli/chunk-GVESPYSY.mjs +234 -0
  38. package/dist/cli/{chunk-H5TJBRSC.mjs → chunk-HOWQKN6J.mjs} +98 -113
  39. package/dist/cli/{chunk-UYFWTIKF.js → chunk-HZZJR2GV.js} +26 -26
  40. package/dist/cli/{chunk-76VKBPOC.mjs → chunk-JOA6IKDE.mjs} +7 -2
  41. package/dist/cli/chunk-LVEDPCLJ.js +234 -0
  42. package/dist/cli/{chunk-KZNFYOHX.js → chunk-MOP6D7Z5.js} +6 -6
  43. package/dist/cli/{chunk-YXRPWMGN.js → chunk-NWIJLTRL.js} +147 -162
  44. package/dist/cli/chunk-OVDNJAJN.mjs +8 -0
  45. package/dist/cli/{chunk-XIVUB36F.mjs → chunk-QZAP5VOS.mjs} +104 -14
  46. package/dist/cli/{chunk-6VZDSBK6.mjs → chunk-REP2MYBI.mjs} +2 -2
  47. package/dist/cli/{chunk-PWV2M4LW.mjs → chunk-RSEVBSFE.mjs} +1 -1
  48. package/dist/cli/{chunk-OOPSX57I.js → chunk-TAGHNT5P.js} +6 -6
  49. package/dist/cli/{chunk-QQ2FG5W3.js → chunk-UROXKPND.js} +6 -6
  50. package/dist/cli/{chunk-7PZFGB7L.mjs → chunk-YIY74KUF.mjs} +2 -1
  51. package/dist/cli/{chunk-7MD453WV.mjs → chunk-ZOFARJWH.mjs} +5674 -5476
  52. package/dist/cli/client-7LZCG4VD.js +20 -0
  53. package/dist/cli/{client-57SR4KVM.mjs → client-JCMSACT4.mjs} +3 -3
  54. package/dist/cli/{csv-G2FRMOXL.mjs → csv-NPMWVM5D.mjs} +3 -3
  55. package/dist/cli/{csv-5DJSC6BD.js → csv-OILKDKUX.js} +12 -12
  56. package/dist/cli/{db-WWZEXM3N.mjs → db-AZUAOWPQ.mjs} +214 -137
  57. package/dist/cli/{db-NVO7P4VO.js → db-MNDRYYEX.js} +226 -149
  58. package/dist/cli/{describe-26OMF3A4.mjs → describe-KJWOHMKC.mjs} +12 -11
  59. package/dist/cli/{describe-M26LHDBQ.js → describe-QENLDLM2.js} +28 -27
  60. package/dist/cli/{executions-KI47LPKE.js → executions-P36UHBPG.js} +6 -6
  61. package/dist/cli/{executions-2LLHY3IL.mjs → executions-QZNQWF6F.mjs} +4 -4
  62. package/dist/cli/{feedback-2Y26C2BZ.js → feedback-K4UGTLFD.js} +6 -6
  63. package/dist/cli/{feedback-O26VL2OF.mjs → feedback-RQ6HSZSG.mjs} +3 -3
  64. package/dist/cli/{git-UVPGZN3K.mjs → git-PBRMCBMI.mjs} +4 -4
  65. package/dist/cli/git-RPFH3NJ2.js +23 -0
  66. package/dist/cli/index.js +105 -87
  67. package/dist/cli/index.mjs +65 -47
  68. package/dist/cli/{legacy-noops-IK5CH72U.mjs → legacy-noops-G7GWJ5UC.mjs} +4 -4
  69. package/dist/cli/{legacy-noops-H6Y3SEVB.js → legacy-noops-X74FM35Q.js} +7 -7
  70. package/dist/cli/{monitors-SFVVMAJT.mjs → monitors-KL2MCR57.mjs} +4 -4
  71. package/dist/cli/{monitors-JL6TTQCI.js → monitors-VKURX3YM.js} +85 -85
  72. package/dist/cli/{org-SSDONL57.mjs → org-DT53KTNW.mjs} +4 -4
  73. package/dist/cli/{org-OVMAZCQS.js → org-ZYXJDC44.js} +60 -60
  74. package/dist/cli/play-BUQV47E2.js +153 -0
  75. package/dist/cli/{play-X6NPACUO.mjs → play-WIJGQYTB.mjs} +11 -10
  76. package/dist/cli/{providers-E24JDWSR.js → providers-GRTW4TXX.js} +7 -7
  77. package/dist/cli/{providers-ONUBYYY4.mjs → providers-GYGKGS2J.mjs} +4 -4
  78. package/dist/cli/{quickstart-TB7C3DLG.js → quickstart-WB26543C.js} +5 -5
  79. package/dist/cli/{quickstart-B7NIXACV.mjs → quickstart-XF3M2M2S.mjs} +3 -3
  80. package/dist/cli/{search-N3QUIATW.mjs → search-ANJLTOF2.mjs} +5 -5
  81. package/dist/cli/search-CR2GZLCM.js +26 -0
  82. package/dist/cli/{secrets-CPCVFDYB.js → secrets-5KBUGMTK.js} +13 -13
  83. package/dist/cli/{secrets-V7Z4M67T.mjs → secrets-D6UR5CTW.mjs} +4 -4
  84. package/dist/cli/{sessions-E4FIZLQP.js → sessions-46PXFULL.js} +5 -5
  85. package/dist/cli/{sessions-PDOBKAKO.mjs → sessions-S7N4JEWK.mjs} +4 -4
  86. package/dist/cli/{settings-UVM2WDE4.js → settings-KMNBITSU.js} +74 -74
  87. package/dist/cli/{settings-QYHYHZDI.mjs → settings-V6U3SRTH.mjs} +7 -7
  88. package/dist/cli/{setup-3JFAXQLJ.js → setup-4K5FY6AU.js} +41 -41
  89. package/dist/cli/{setup-4RLAETDW.mjs → setup-OGITSLTN.mjs} +6 -6
  90. package/dist/cli/skills-4FP2MZKL.js +28 -0
  91. package/dist/cli/{skills-ZX2JSWOZ.mjs → skills-AXWAYPBY.mjs} +4 -4
  92. package/dist/cli/tools-7YZPH6WC.js +39 -0
  93. package/dist/cli/{tools-EGXCVIPJ.mjs → tools-LJCY6B23.mjs} +8 -7
  94. package/dist/cli/update-3VUOW6AP.js +28 -0
  95. package/dist/cli/{update-7FEKRQFE.mjs → update-DDR5XIUB.mjs} +6 -6
  96. package/dist/cli/{workflow-54VCKIG2.js → workflow-7CTCDWL3.js} +15 -15
  97. package/dist/cli/{workflow-7V7TTTKK.mjs → workflow-PRNCVANQ.mjs} +5 -5
  98. package/dist/{client-Bb4Jjzmj.d.ts → client-DHq8dJ56.d.ts} +39 -11
  99. package/dist/{client-COa-3GHK.d.mts → client-wiWPZhnI.d.mts} +39 -11
  100. package/dist/{compiler-manifest-CsnWj-AK.d.mts → compiler-manifest-9TkZ_ykI.d.mts} +711 -711
  101. package/dist/{compiler-manifest-CsnWj-AK.d.ts → compiler-manifest-9TkZ_ykI.d.ts} +711 -711
  102. package/dist/index-B-5_Xhud.d.mts +75 -0
  103. package/dist/index-ykksoEyR.d.ts +75 -0
  104. package/dist/index.d.mts +52 -13
  105. package/dist/index.d.ts +52 -13
  106. package/dist/index.js +142 -68
  107. package/dist/index.mjs +102 -28
  108. package/dist/install-integrity.json +91 -84
  109. package/dist/plays/bundle-play-file.d.mts +7 -75
  110. package/dist/plays/bundle-play-file.d.ts +7 -75
  111. package/dist/plays/bundle-play-file.mjs +1 -1
  112. package/dist/plays/run-request.d.mts +2 -2
  113. package/dist/plays/run-request.d.ts +2 -2
  114. package/dist/release.d.mts +1 -1
  115. package/dist/release.d.ts +1 -1
  116. package/dist/release.js +2 -2
  117. package/dist/release.mjs +1 -1
  118. package/package.json +1 -1
  119. package/dist/cli/auth-RXCD4GOV.js +0 -31
  120. package/dist/cli/chunk-OWJZUE3Y.mjs +0 -103
  121. package/dist/cli/chunk-SDK3ZA2C.js +0 -103
  122. package/dist/cli/client-562MULXK.js +0 -20
  123. package/dist/cli/git-KGPX5YPD.js +0 -23
  124. package/dist/cli/play-3DB4MSHN.js +0 -152
  125. package/dist/cli/search-NJ637YGQ.js +0 -26
  126. package/dist/cli/skills-BYRYG64R.js +0 -28
  127. package/dist/cli/tools-TAWOAY5X.js +0 -38
  128. package/dist/cli/update-H24GEBXM.js +0 -28
@@ -0,0 +1,8 @@
1
+ // src/cli/shell-quote.ts
2
+ function shellQuote(value) {
3
+ return `'${value.replace(/'/g, `'\\''`)}'`;
4
+ }
5
+
6
+ export {
7
+ shellQuote
8
+ };
@@ -10,11 +10,12 @@ import {
10
10
  } from "./chunk-CBVIJSHF.mjs";
11
11
  import {
12
12
  COORDINATOR_INTERNAL_TOKEN_HEADER,
13
+ CustomerDbQueryOutcomeUnknownError,
13
14
  HttpClient,
14
15
  RETAINED_PIPELINE_RECEIVERS_HEADER,
15
16
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
16
17
  resolveConfig
17
- } from "./chunk-YE3O2UHM.mjs";
18
+ } from "./chunk-CCRQ2VGJ.mjs";
18
19
  import {
19
20
  PLAY_RUNTIME_BACKENDS,
20
21
  RAW_V2_TOOL_RESPONSE_CONTRACT,
@@ -81,6 +82,102 @@ function playInputExampleArgs(schema) {
81
82
  return " --input '@<input.json>'";
82
83
  }
83
84
 
85
+ // src/db/query.ts
86
+ function planCustomerDbQuery(input) {
87
+ if (typeof input.sql !== "string" || !input.sql.trim())
88
+ throw new DeeplineError("sql must not be empty.", 400, "INVALID_SQL");
89
+ if (input.operationKey !== void 0 && typeof input.operationKey !== "string")
90
+ throw new DeeplineError(
91
+ "operationKey must be a string containing 1\u2013512 characters.",
92
+ 400,
93
+ "INVALID_OPERATION_KEY"
94
+ );
95
+ const operationKey = input.operationKey;
96
+ if (operationKey !== void 0 && (!operationKey.trim() || operationKey.length > 512)) {
97
+ throw new DeeplineError(
98
+ "operationKey must contain 1\u2013512 characters.",
99
+ 400,
100
+ "INVALID_OPERATION_KEY"
101
+ );
102
+ }
103
+ if (input.maxRows !== void 0 && (!Number.isSafeInteger(input.maxRows) || input.maxRows < 1 || input.maxRows > 1e3)) {
104
+ throw new DeeplineError(
105
+ "maxRows must be a whole number from 1 to 1000.",
106
+ 400,
107
+ "INVALID_MAX_ROWS"
108
+ );
109
+ }
110
+ return {
111
+ request: {
112
+ method: "POST",
113
+ path: "/api/v2/db/query",
114
+ body: {
115
+ sql: input.sql,
116
+ ...input.maxRows !== void 0 ? { max_rows: input.maxRows } : {},
117
+ ...operationKey !== void 0 ? { operation_key: operationKey } : {}
118
+ }
119
+ },
120
+ effects: {
121
+ cloudMutations: "statement_dependent",
122
+ localWrites: "none",
123
+ creditSpending: "none",
124
+ recovery: operationKey === void 0 ? "unkeyed_unknown_outcome" : "original_operation_key"
125
+ },
126
+ transport: {
127
+ maxRetries: 0,
128
+ urlFailover: "disabled"
129
+ }
130
+ };
131
+ }
132
+ async function queryCustomerDatabase(http, input) {
133
+ const plan = planCustomerDbQuery(input);
134
+ let result;
135
+ try {
136
+ result = await http.post(
137
+ plan.request.path,
138
+ plan.request.body,
139
+ void 0,
140
+ {
141
+ maxRetries: plan.transport.maxRetries,
142
+ exactUrlOnly: plan.transport.urlFailover === "disabled"
143
+ }
144
+ );
145
+ } catch (error) {
146
+ if (error instanceof DeeplineError && (error.code?.startsWith("NETWORK_") || // Older API readers return PostgreSQL errors as HTTP 400, including
147
+ // lost connections and explicitly unknown transaction resolution.
148
+ /^08[A-Z0-9]{3}$/.test(error.code ?? "") || ["57P01", "57P02", "57P03"].includes(error.code ?? "") || error.statusCode === 408 || (error.statusCode ?? 0) >= 500)) {
149
+ throw new CustomerDbQueryOutcomeUnknownError(
150
+ error,
151
+ plan.request.body.operation_key
152
+ );
153
+ }
154
+ throw error;
155
+ }
156
+ if (!result || typeof result !== "object" || Array.isArray(result) || typeof result.command !== "string" || !Array.isArray(result.columns) || !Array.isArray(result.rows) || typeof result.truncated !== "boolean" || result.row_count !== null && (!Number.isSafeInteger(result.row_count) || result.row_count < 0) || !Number.isSafeInteger(result.row_count_returned) || result.row_count_returned < 0) {
157
+ throw new CustomerDbQueryOutcomeUnknownError(
158
+ new DeeplineError(
159
+ "The SQL response did not contain a valid result.",
160
+ 200,
161
+ "CUSTOMER_DB_QUERY_RESPONSE_INVALID"
162
+ ),
163
+ plan.request.body.operation_key
164
+ );
165
+ }
166
+ const operation = result.operation;
167
+ if (input.operationKey !== void 0 && (!operation || operation.operation_key !== input.operationKey || !Number.isSafeInteger(operation.completed_at_ms) || operation.completed_at_ms < 0 || !["executed", "operation_recovery"].includes(operation.source))) {
168
+ throw new CustomerDbQueryOutcomeUnknownError(
169
+ new DeeplineError(
170
+ "The server did not confirm the original atomic SQL operation.",
171
+ 200,
172
+ "CUSTOMER_DB_OPERATION_ACK_INVALID"
173
+ ),
174
+ input.operationKey,
175
+ { recoveryAvailable: false }
176
+ );
177
+ }
178
+ return { ...result, scope: { kind: "database", mutability: "current" } };
179
+ }
180
+
84
181
  // ../integration-contracts/opensosdata/execution-policy.ts
85
182
  var OPENSOSDATA_LOOKUP_REQUEST_TIMEOUT_MS = 12e4;
86
183
  var OPENSOSDATA_POLL_INTERVAL_MS = 3e3;
@@ -3115,7 +3212,8 @@ var DeeplineClient = class _DeeplineClient {
3115
3212
  stopAll: ((options2) => this.stopAllRuns(options2))
3116
3213
  };
3117
3214
  this.db = {
3118
- query: (input) => this.queryDb(input)
3215
+ query: (input) => this.queryDb(input),
3216
+ planQuery: (input) => planCustomerDbQuery(input)
3119
3217
  };
3120
3218
  this.billing = {
3121
3219
  topUp: (options2) => this.topUpBillingBalance(options2),
@@ -3527,17 +3625,7 @@ var DeeplineClient = class _DeeplineClient {
3527
3625
  return this.executeTool(toolId, input, options);
3528
3626
  }
3529
3627
  async queryDb(input) {
3530
- const result = await this.http.post(
3531
- "/api/v2/db/query",
3532
- {
3533
- sql: input.sql,
3534
- ...input.maxRows ? { max_rows: input.maxRows } : {}
3535
- }
3536
- );
3537
- return {
3538
- ...result,
3539
- scope: { kind: "database", mutability: "current" }
3540
- };
3628
+ return queryCustomerDatabase(this.http, input);
3541
3629
  }
3542
3630
  /**
3543
3631
  * Run a bounded SQL query against the current mutable customer database.
@@ -3651,7 +3739,7 @@ var DeeplineClient = class _DeeplineClient {
3651
3739
  artifact: input.artifact
3652
3740
  });
3653
3741
  return this.http.post(
3654
- "/api/v2/plays/artifacts",
3742
+ input.artifactOnly === true ? "/api/v2/plays/artifacts/immutable" : "/api/v2/plays/artifacts",
3655
3743
  {
3656
3744
  ...input,
3657
3745
  compilerManifest
@@ -6384,6 +6472,8 @@ export {
6384
6472
  CSV_HEADER_MATCHING_NOTE,
6385
6473
  iterateCursorPages,
6386
6474
  playInputExampleArgs,
6475
+ planCustomerDbQuery,
6476
+ validateExecutionIdempotencyKey,
6387
6477
  PRODUCT_NOTIFICATION_EVENT_CATALOG,
6388
6478
  resolveLegacySlackNotification,
6389
6479
  RUN_EVENT_SEARCH_KIND_VALUES,
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-AQUNQJ5Y.mjs";
5
+ } from "./chunk-F45425TB.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-YE3O2UHM.mjs";
8
+ } from "./chunk-CCRQ2VGJ.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-WW4XZIVM.mjs";
3
+ } from "./chunk-3ITDKXNC.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkQQ2FG5W3js = require('./chunk-QQ2FG5W3.js');
4
+ var _chunkUROXKPNDjs = require('./chunk-UROXKPND.js');
5
5
 
6
6
  // src/cli/commands/sessions.ts
7
7
 
@@ -420,7 +420,7 @@ function buildSessionUploadContent(raw) {
420
420
  return { encodedContent: encoded, needsChunking: true };
421
421
  }
422
422
  async function uploadPayload(path, payload) {
423
- const { http } = _chunkQQ2FG5W3js.getAuthedHttpClient.call(void 0, );
423
+ const { http } = _chunkUROXKPNDjs.getAuthedHttpClient.call(void 0, );
424
424
  return await http.post(path, payload);
425
425
  }
426
426
  async function uploadChunkedSessions(sessions, options) {
@@ -452,7 +452,7 @@ async function uploadChunkedSessions(sessions, options) {
452
452
  environments: sessions.map(() => detectShellContext()),
453
453
  ...options.rating ? { rating: options.rating } : {}
454
454
  });
455
- _chunkQQ2FG5W3js.printCommandEnvelope.call(void 0,
455
+ _chunkUROXKPNDjs.printCommandEnvelope.call(void 0,
456
456
  {
457
457
  ...response,
458
458
  ok: true,
@@ -481,7 +481,7 @@ async function handleSessionsSend(options) {
481
481
  filename: _path.basename.call(void 0, filePath),
482
482
  ...rating ? { rating } : {}
483
483
  });
484
- _chunkQQ2FG5W3js.printCommandEnvelope.call(void 0,
484
+ _chunkUROXKPNDjs.printCommandEnvelope.call(void 0,
485
485
  {
486
486
  ...response2,
487
487
  ok: true,
@@ -530,7 +530,7 @@ async function handleSessionsSend(options) {
530
530
  environment: detectShellContext(),
531
531
  ...rating ? { rating } : {}
532
532
  });
533
- _chunkQQ2FG5W3js.printCommandEnvelope.call(void 0,
533
+ _chunkUROXKPNDjs.printCommandEnvelope.call(void 0,
534
534
  {
535
535
  ...response,
536
536
  ok: true,
@@ -635,7 +635,7 @@ ${refreshMeta}
635
635
  </body>
636
636
  </html>`;
637
637
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
638
- _chunkQQ2FG5W3js.printCommandEnvelope.call(void 0,
638
+ _chunkUROXKPNDjs.printCommandEnvelope.call(void 0,
639
639
  {
640
640
  ok: true,
641
641
  file: outputPath,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkPVDQ55PSjs = require('./chunk-PVDQ55PS.js');
6
+ var _chunkDM3SHV6Ujs = require('./chunk-DM3SHV6U.js');
7
7
 
8
8
 
9
9
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -136,8 +136,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
136
136
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
137
137
  var defaultBrowserCommandRunner = childProcess;
138
138
  function getAuthedHttpClient() {
139
- const config = _chunkPVDQ55PSjs.resolveConfig.call(void 0, );
140
- return { config, http: new (0, _chunkPVDQ55PSjs.HttpClient)(config) };
139
+ const config = _chunkDM3SHV6Ujs.resolveConfig.call(void 0, );
140
+ return { config, http: new (0, _chunkDM3SHV6Ujs.HttpClient)(config) };
141
141
  }
142
142
  function stableOsUserId() {
143
143
  try {
@@ -477,7 +477,7 @@ function collectLocalEnvInfo() {
477
477
  os: `${process.platform} ${process.arch}`,
478
478
  node_version: process.version,
479
479
  home_dir: homeDir,
480
- agent_runtime: _chunkPVDQ55PSjs.detectAgentRuntime.call(void 0, )
480
+ agent_runtime: _chunkDM3SHV6Ujs.detectAgentRuntime.call(void 0, )
481
481
  };
482
482
  const env = process.env;
483
483
  const optional = {
@@ -725,9 +725,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
725
725
  }
726
726
  function withAgentCommandContext(value) {
727
727
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
728
- return _chunkPVDQ55PSjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
728
+ return _chunkDM3SHV6Ujs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
729
729
  ...valueRecord,
730
- command_context: _chunkPVDQ55PSjs.resolveCliCommandContext.call(void 0, )
730
+ command_context: _chunkDM3SHV6Ujs.resolveCliCommandContext.call(void 0, )
731
731
  } : value;
732
732
  }
733
733
  function printJson(value, fields) {
@@ -3408,7 +3408,8 @@ async function bundlePlayFile2(filePath, options = {}) {
3408
3408
  exportName: options.exportName,
3409
3409
  adapter: {
3410
3410
  ...createSdkPlayBundlingAdapter(),
3411
- sourceIdentityRoot
3411
+ sourceIdentityRoot,
3412
+ ...options.cache === false ? { cacheDir: null } : {}
3412
3413
  }
3413
3414
  });
3414
3415
  if (result.success)