deepline 0.3.472 → 0.3.473

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 (125) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-work-control.ts +17 -0
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +55 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +14 -5
  5. package/dist/cli/auth-IJOWKNSB.js +41 -0
  6. package/dist/cli/{auth-35DAEPHC.mjs → auth-KLJOQ4DZ.mjs} +5 -5
  7. package/dist/cli/{billing-CXVBJEC4.mjs → billing-DNDYNBQ7.mjs} +6 -6
  8. package/dist/cli/{billing-5ED5X2IO.js → billing-IQNJXKH5.js} +79 -79
  9. package/dist/cli/{chunk-L3AXQXNT.js → chunk-36KEQFWZ.js} +13 -13
  10. package/dist/cli/{chunk-RDOPZK7A.js → chunk-3J2N7YF5.js} +18 -4
  11. package/dist/cli/{chunk-UPXGN62E.js → chunk-3LFSIUFI.js} +21 -21
  12. package/dist/cli/{chunk-T5H7ETIM.mjs → chunk-3OPQLFUK.mjs} +4 -4
  13. package/dist/cli/{chunk-V6OMS7E2.js → chunk-4IOY2SCQ.js} +10 -2
  14. package/dist/cli/{chunk-LQUOZGM6.js → chunk-4U3RNA3J.js} +51 -51
  15. package/dist/cli/{chunk-SBPI7AEB.js → chunk-63OOFT6B.js} +272 -258
  16. package/dist/cli/{chunk-TMMODGPV.mjs → chunk-6QS7522K.mjs} +2 -2
  17. package/dist/cli/{chunk-MRZ7AO72.mjs → chunk-6YOGOXOJ.mjs} +26 -12
  18. package/dist/cli/{chunk-6PKONIIP.mjs → chunk-ABLEU3QI.mjs} +5 -5
  19. package/dist/cli/{chunk-T5GRG37B.js → chunk-AK7UKQ5R.js} +5 -5
  20. package/dist/cli/{chunk-HBVT4FW5.js → chunk-B3BM3PAI.js} +6 -6
  21. package/dist/cli/{chunk-YNW47NOJ.mjs → chunk-CNCK2D6B.mjs} +2 -2
  22. package/dist/cli/{chunk-RMQB72WW.js → chunk-D22QIUE3.js} +9 -9
  23. package/dist/cli/{chunk-ODAARZSK.js → chunk-D4B3EV55.js} +36 -36
  24. package/dist/cli/{chunk-H7YFUC3J.js → chunk-DD7E4ZVH.js} +7 -7
  25. package/dist/cli/{chunk-OMPW5ELS.mjs → chunk-EUHTZV2E.mjs} +1 -1
  26. package/dist/cli/{chunk-FHIO7WI2.mjs → chunk-EVLUSXQG.mjs} +2 -2
  27. package/dist/cli/{chunk-5FHU67AT.js → chunk-F4PUDYBY.js} +3 -3
  28. package/dist/cli/{chunk-R73LE2IM.mjs → chunk-GAWP2YF5.mjs} +1 -1
  29. package/dist/cli/{chunk-KQJHIVCE.mjs → chunk-GE5GPLNM.mjs} +1 -1
  30. package/dist/cli/{chunk-C5PY2PP6.mjs → chunk-GISBRE2H.mjs} +3 -3
  31. package/dist/cli/{chunk-R6L6JRDR.mjs → chunk-GQBAJTQU.mjs} +2 -2
  32. package/dist/cli/{chunk-CFDQZQE2.mjs → chunk-GTH7JORC.mjs} +2 -2
  33. package/dist/cli/{chunk-2S36YV2K.mjs → chunk-HQCTPAXP.mjs} +1 -1
  34. package/dist/cli/{chunk-UKKCS6Z4.js → chunk-IC6AHOYS.js} +1 -1
  35. package/dist/cli/{chunk-QSCLOPWR.mjs → chunk-IFZ76E5H.mjs} +16 -2
  36. package/dist/cli/{chunk-VDHDTXCK.js → chunk-MREO5LZD.js} +2 -2
  37. package/dist/cli/{chunk-XSSIBO74.js → chunk-N4ZCMQ54.js} +8 -8
  38. package/dist/cli/{chunk-ZZQIS3TH.mjs → chunk-NTFM7JQW.mjs} +3 -3
  39. package/dist/cli/{chunk-GJPRBELO.js → chunk-OHUGXZ7N.js} +16 -16
  40. package/dist/cli/{chunk-X3RAGNNZ.mjs → chunk-OWUZKXE7.mjs} +1 -1
  41. package/dist/cli/{chunk-SKVMC6K6.js → chunk-PMJAGTSQ.js} +5 -5
  42. package/dist/cli/{chunk-NZBZFEVA.mjs → chunk-QD6IW2HP.mjs} +4 -4
  43. package/dist/cli/{chunk-4NFBYW7X.mjs → chunk-QG3THSTN.mjs} +2 -2
  44. package/dist/cli/{chunk-QLVYYDUI.js → chunk-QI73EL5C.js} +26 -26
  45. package/dist/cli/{chunk-2DND7LLL.js → chunk-RVRG57OB.js} +8 -8
  46. package/dist/cli/{chunk-XSX6TJUA.mjs → chunk-SD7QWZTV.mjs} +10 -2
  47. package/dist/cli/{chunk-52VOORHM.mjs → chunk-SWAYZST7.mjs} +2 -2
  48. package/dist/cli/{chunk-JRZW4LWK.mjs → chunk-TBLBYIKO.mjs} +1 -1
  49. package/dist/cli/{chunk-3L76SFGN.js → chunk-TUFQFTOC.js} +53 -53
  50. package/dist/cli/{chunk-M475BQ77.js → chunk-UON3WCBD.js} +3 -3
  51. package/dist/cli/{chunk-IPJ27SD2.mjs → chunk-V25CXRQ7.mjs} +5 -5
  52. package/dist/cli/{chunk-UXFUD2MB.mjs → chunk-VGVSHQN5.mjs} +5 -5
  53. package/dist/cli/{chunk-YMB2CD55.mjs → chunk-VS7JKS22.mjs} +1 -1
  54. package/dist/cli/{chunk-7KAS4QOW.js → chunk-WGQKOLXH.js} +6 -6
  55. package/dist/cli/{chunk-YK64LQPQ.mjs → chunk-X6R5UNDZ.mjs} +1 -1
  56. package/dist/cli/{chunk-SYWOSAW7.js → chunk-YH5SFKHJ.js} +4 -4
  57. package/dist/cli/{chunk-2G4R4APL.js → chunk-YHB6MASP.js} +2 -2
  58. package/dist/cli/{chunk-IIQ6O5F3.js → chunk-ZVLYUKJU.js} +5 -5
  59. package/dist/cli/{csv-OSDYY3QW.mjs → csv-NCY5MWS2.mjs} +4 -4
  60. package/dist/cli/{csv-SQJQM3B2.js → csv-OVV3HWN4.js} +13 -13
  61. package/dist/cli/{db-ATDYXAD5.js → db-BOELNDS4.js} +27 -27
  62. package/dist/cli/{db-2M6BU6G5.mjs → db-VPH6JHUD.mjs} +6 -6
  63. package/dist/cli/describe-7SFESEFL.js +48 -0
  64. package/dist/cli/{describe-WIAJCWF3.mjs → describe-FFDCPYZH.mjs} +19 -19
  65. package/dist/cli/describe-core.js +3 -3
  66. package/dist/cli/describe-core.mjs +2 -2
  67. package/dist/cli/{executions-2J6CCJL2.mjs → executions-5GCCDENS.mjs} +6 -6
  68. package/dist/cli/{executions-Y32LMYH6.js → executions-RF44ANF5.js} +8 -8
  69. package/dist/cli/{feedback-RXQLS6QU.js → feedback-NJM3V7QV.js} +8 -8
  70. package/dist/cli/{feedback-L4AVIMGI.mjs → feedback-OI2A5L6F.mjs} +4 -4
  71. package/dist/cli/git-4V5ZS5SE.js +25 -0
  72. package/dist/cli/{git-V3K77AWH.mjs → git-EOGSZ3T2.mjs} +5 -5
  73. package/dist/cli/index.js +135 -135
  74. package/dist/cli/index.mjs +40 -40
  75. package/dist/cli/{legacy-noops-B2KJT4CZ.js → legacy-noops-5QM7XGGX.js} +8 -8
  76. package/dist/cli/{legacy-noops-LOGMYOY5.mjs → legacy-noops-UYKK7AAB.mjs} +5 -5
  77. package/dist/cli/{monitors-A5WYUCGD.js → monitors-52GW2V4V.js} +91 -91
  78. package/dist/cli/{monitors-5ETSB7S7.mjs → monitors-N3ITC5MP.mjs} +7 -7
  79. package/dist/cli/{org-7EZDWYKK.js → org-ADF47NPV.js} +72 -72
  80. package/dist/cli/{org-BJOAUSXL.mjs → org-KUZUG33W.mjs} +6 -6
  81. package/dist/cli/{pages-3BYGBTVK.mjs → pages-C3S5WU3S.mjs} +6 -6
  82. package/dist/cli/{pages-45VNTEQU.js → pages-H3H7ODBN.js} +17 -17
  83. package/dist/cli/{play-R7JQV533.mjs → play-SZETTQPV.mjs} +17 -17
  84. package/dist/cli/{play-5KER3JFU.js → play-YWZWBG32.js} +306 -306
  85. package/dist/cli/{providers-RMFCE6MM.mjs → providers-FSCD35HB.mjs} +6 -6
  86. package/dist/cli/{providers-OHMZ6QIF.js → providers-V3BP7ZB2.js} +9 -9
  87. package/dist/cli/{quickstart-GNRE4SAT.js → quickstart-ICULVGAR.js} +6 -6
  88. package/dist/cli/{quickstart-IHR4VC5K.mjs → quickstart-SYZCT2WI.mjs} +4 -4
  89. package/dist/cli/{run-Y4MIRFJY.mjs → run-HA5B3AYQ.mjs} +24 -24
  90. package/dist/cli/{run-77QIMUUV.js → run-WUJSKGUM.js} +39 -39
  91. package/dist/cli/{search-24YKTHMK.mjs → search-A27AGYDV.mjs} +7 -7
  92. package/dist/cli/search-XATDPNEM.js +32 -0
  93. package/dist/cli/{secrets-KHX62AWC.mjs → secrets-2L4VRJ2F.mjs} +6 -6
  94. package/dist/cli/{secrets-SSEBT3IS.js → secrets-ODX56QBF.js} +15 -15
  95. package/dist/cli/{sessions-E6KNWYEH.js → sessions-DVZ4FECP.js} +6 -6
  96. package/dist/cli/{sessions-H7T25HGE.mjs → sessions-PRF36DHO.mjs} +5 -5
  97. package/dist/cli/{settings-XSJG6M32.mjs → settings-LUATIKJE.mjs} +11 -11
  98. package/dist/cli/{settings-GXUYF5G7.js → settings-RJT5DBWG.js} +78 -78
  99. package/dist/cli/{setup-JP5YPIA4.js → setup-FJSBKCLU.js} +44 -44
  100. package/dist/cli/{setup-GD7IOD4U.mjs → setup-IQXTYLRH.mjs} +9 -9
  101. package/dist/cli/skills-N6CPBF6T.js +31 -0
  102. package/dist/cli/{skills-HLHE3ENN.mjs → skills-XJH4ZC5Y.mjs} +7 -7
  103. package/dist/cli/{tools-Q4XIQX7W.mjs → tools-IGXLZCKZ.mjs} +17 -17
  104. package/dist/cli/tools-YMVEVRCE.js +55 -0
  105. package/dist/cli/{update-3KRMR2QJ.mjs → update-AH7G5VSL.mjs} +9 -9
  106. package/dist/cli/update-MUCWGTXH.js +33 -0
  107. package/dist/cli/{workflow-NMUESL3O.js → workflow-IQ2J7LWM.js} +17 -17
  108. package/dist/cli/{workflow-NOZ7WFEY.mjs → workflow-WOYSCWVD.mjs} +7 -7
  109. package/dist/index.js +9 -9
  110. package/dist/index.mjs +6 -6
  111. package/dist/install-integrity.json +100 -100
  112. package/dist/release.d.mts +1 -1
  113. package/dist/release.d.ts +1 -1
  114. package/dist/release.js +2 -2
  115. package/dist/release.mjs +1 -1
  116. package/dist/server.js +5 -5
  117. package/dist/server.mjs +3 -3
  118. package/package.json +1 -1
  119. package/dist/cli/auth-Q5TM66UI.js +0 -41
  120. package/dist/cli/describe-37QXXDCF.js +0 -48
  121. package/dist/cli/git-JGUR335T.js +0 -25
  122. package/dist/cli/search-S3VO2UKV.js +0 -32
  123. package/dist/cli/skills-C4KTW3US.js +0 -31
  124. package/dist/cli/tools-KS7JMRK6.js +0 -55
  125. package/dist/cli/update-GYTQYK2W.js +0 -33
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-4NFBYW7X.mjs";
3
+ } from "./chunk-QG3THSTN.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-OMPW5ELS.mjs";
4
+ } from "./chunk-EUHTZV2E.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-4QF2K7TM.mjs";
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-LJ5747UC.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-CFDQZQE2.mjs";
6
+ } from "./chunk-GTH7JORC.mjs";
7
7
  import {
8
8
  printCommandEnvelope,
9
9
  renderCommandEnvelopeText
10
- } from "./chunk-4NFBYW7X.mjs";
10
+ } from "./chunk-QG3THSTN.mjs";
11
11
  import {
12
12
  resolveConfig,
13
13
  sdkCliStateDirPath
14
- } from "./chunk-KQJHIVCE.mjs";
14
+ } from "./chunk-GE5GPLNM.mjs";
15
15
  import {
16
16
  __commonJS,
17
17
  __toESM
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-4NFBYW7X.mjs";
5
+ } from "./chunk-QG3THSTN.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-KQJHIVCE.mjs";
8
+ } from "./chunk-GE5GPLNM.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-YK64LQPQ.mjs";
3
+ } from "./chunk-X6R5UNDZ.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-KQJHIVCE.mjs";
7
+ } from "./chunk-GE5GPLNM.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-4NFBYW7X.mjs";
3
+ } from "./chunk-QG3THSTN.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.472",
52
+ version: "0.3.473",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  csvSafeJsonString,
8
8
  csvStringFromRows
9
- } from "./chunk-4NFBYW7X.mjs";
9
+ } from "./chunk-QG3THSTN.mjs";
10
10
 
11
11
  // src/cli/describe-options.ts
12
12
  function addDescribeOptions(command, options = {}) {
@@ -973,7 +973,21 @@ function resultLines(title, data, declared, options) {
973
973
  const indented = (lines) => lines.map((line) => ` ${line}`);
974
974
  const more = "Not everything is shown: --lines <n> shows more, --fields <paths> picks fields, --full shows every field's type.";
975
975
  if (options.fields?.length) {
976
- const { value, missing } = pickFields(data, options.fields);
976
+ const byName = new Map(
977
+ (declared ?? []).map((output) => [output.name, output])
978
+ );
979
+ const named = options.fields.filter((path) => byName.has(path));
980
+ const picked = pickFields(
981
+ data,
982
+ options.fields.filter((path) => !byName.has(path))
983
+ );
984
+ const value = named.length === 0 ? picked.value : {
985
+ ...record(picked.value) ? picked.value : {},
986
+ ...Object.fromEntries(
987
+ named.map((name) => [name, byName.get(name).value])
988
+ )
989
+ };
990
+ const { missing } = picked;
977
991
  const outline2 = value === void 0 ? null : outlineLines(value, budget);
978
992
  return [
979
993
  `${title}${outline2?.note ? ` ${outline2.note}` : ""}`,
@@ -1,6 +1,6 @@
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
- var _chunk3L76SFGNjs = require('./chunk-3L76SFGN.js');
3
+ var _chunkTUFQFTOCjs = require('./chunk-TUFQFTOC.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunk3L76SFGNjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkTUFQFTOCjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -1,10 +1,10 @@
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 _chunkH7YFUC3Jjs = require('./chunk-H7YFUC3J.js');
4
+ var _chunkDD7E4ZVHjs = require('./chunk-DD7E4ZVH.js');
5
5
 
6
6
 
7
- var _chunkSYWOSAW7js = require('./chunk-SYWOSAW7.js');
7
+ var _chunkYH5SFKHJjs = require('./chunk-YH5SFKHJ.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkSYWOSAW7js.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkYH5SFKHJjs.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunkH7YFUC3Jjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
487
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
519
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
569
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
677
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-4NFBYW7X.mjs";
5
+ } from "./chunk-QG3THSTN.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -22,12 +22,12 @@ import {
22
22
  saveHostEnvValues,
23
23
  saveProjectDeeplineEnvValues,
24
24
  storedHostApiKey
25
- } from "./chunk-KQJHIVCE.mjs";
25
+ } from "./chunk-GE5GPLNM.mjs";
26
26
  import {
27
27
  SDK_API_CONTRACT,
28
28
  SDK_VERSION,
29
29
  detectAgentRuntime
30
- } from "./chunk-OMPW5ELS.mjs";
30
+ } from "./chunk-EUHTZV2E.mjs";
31
31
 
32
32
  // src/cli/commands/auth.ts
33
33
  import {
@@ -1,19 +1,19 @@
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 _chunkVDHDTXCKjs = require('./chunk-VDHDTXCK.js');
4
+ var _chunkMREO5LZDjs = require('./chunk-MREO5LZD.js');
5
5
 
6
6
 
7
- var _chunkODAARZSKjs = require('./chunk-ODAARZSK.js');
7
+ var _chunkD4B3EV55js = require('./chunk-D4B3EV55.js');
8
8
 
9
9
 
10
- var _chunk3L76SFGNjs = require('./chunk-3L76SFGN.js');
10
+ var _chunkTUFQFTOCjs = require('./chunk-TUFQFTOC.js');
11
11
 
12
12
 
13
- var _chunkH7YFUC3Jjs = require('./chunk-H7YFUC3J.js');
13
+ var _chunkDD7E4ZVHjs = require('./chunk-DD7E4ZVH.js');
14
14
 
15
15
 
16
- var _chunk5FHU67ATjs = require('./chunk-5FHU67AT.js');
16
+ var _chunkF4PUDYBYjs = require('./chunk-F4PUDYBY.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunk3L76SFGNjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkTUFQFTOCjs.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkVDHDTXCKjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkVDHDTXCKjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkMREO5LZDjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkMREO5LZDjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunk5FHU67ATjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkF4PUDYBYjs.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunk3L76SFGNjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkTUFQFTOCjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk5FHU67ATjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkF4PUDYBYjs.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunkODAARZSKjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkD4B3EV55js.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
1284
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
1327
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -3,7 +3,7 @@ import {
3
3
  formatModelDescription,
4
4
  publicToolSchemas,
5
5
  toolMetadataJsonForDescribe
6
- } from "./chunk-XSX6TJUA.mjs";
6
+ } from "./chunk-SD7QWZTV.mjs";
7
7
  import {
8
8
  buildPlayDashboardUrl,
9
9
  byokLines,
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
- var _chunk7KAS4QOWjs = require('./chunk-7KAS4QOW.js');
3
+ var _chunkWGQKOLXHjs = require('./chunk-WGQKOLXH.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk5FHU67ATjs = require('./chunk-5FHU67AT.js');
7
+ var _chunkF4PUDYBYjs = require('./chunk-F4PUDYBY.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunk7KAS4QOWjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkWGQKOLXHjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunk5FHU67ATjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunk5FHU67ATjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkF4PUDYBYjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkF4PUDYBYjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-T5H7ETIM.mjs";
14
+ } from "./chunk-3OPQLFUK.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-4NFBYW7X.mjs";
17
+ } from "./chunk-QG3THSTN.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-KQJHIVCE.mjs";
23
+ } from "./chunk-GE5GPLNM.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-OMPW5ELS.mjs";
27
+ } from "./chunk-EUHTZV2E.mjs";
28
28
 
29
29
  // src/cli/commands/skills.ts
30
30
  import { spawn } from "child_process";
@@ -2,10 +2,10 @@ import {
2
2
  HttpClient,
3
3
  resolveCliCommandContext,
4
4
  resolveConfig
5
- } from "./chunk-KQJHIVCE.mjs";
5
+ } from "./chunk-GE5GPLNM.mjs";
6
6
  import {
7
7
  detectAgentRuntime
8
- } from "./chunk-OMPW5ELS.mjs";
8
+ } from "./chunk-EUHTZV2E.mjs";
9
9
  import {
10
10
  DeeplineError,
11
11
  serializeToolExecutionFailure
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkH7YFUC3Jjs = require('./chunk-H7YFUC3J.js');
5
+ var _chunkDD7E4ZVHjs = require('./chunk-DD7E4ZVH.js');
6
6
 
7
7
 
8
- var _chunk5FHU67ATjs = require('./chunk-5FHU67AT.js');
8
+ var _chunkF4PUDYBYjs = require('./chunk-F4PUDYBY.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkH7YFUC3Jjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
39
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkH7YFUC3Jjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
139
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkH7YFUC3Jjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
153
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkH7YFUC3Jjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkH7YFUC3Jjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
200
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkH7YFUC3Jjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
227
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkH7YFUC3Jjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
254
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkH7YFUC3Jjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
269
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunk5FHU67ATjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkF4PUDYBYjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkH7YFUC3Jjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkDD7E4ZVHjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkH7YFUC3Jjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
322
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkH7YFUC3Jjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
371
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkH7YFUC3Jjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
392
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,