deepline 0.3.538 → 0.3.539

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/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +8 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/baked-runner-image.ts +66 -4
  4. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +2 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +0 -4
  6. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +14 -5
  7. package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +136 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +7 -0
  9. package/dist/cli/auth-O5Y2VYXK.js +43 -0
  10. package/dist/cli/{auth-KYH7N7RQ.mjs → auth-QD7QGD3B.mjs} +5 -5
  11. package/dist/cli/{billing-WK346KAI.mjs → billing-FIZXMHBW.mjs} +6 -6
  12. package/dist/cli/{billing-4KTUVZ4S.js → billing-KOQAF6WS.js} +89 -89
  13. package/dist/cli/{chunk-FWE37N2P.mjs → chunk-2XMFT44N.mjs} +1 -1
  14. package/dist/cli/{chunk-MNBIGX6O.js → chunk-3YDI2PTN.js} +10 -10
  15. package/dist/cli/{chunk-M3NCXGNN.mjs → chunk-55ITVU2V.mjs} +2 -2
  16. package/dist/cli/{chunk-O765M4LT.js → chunk-5QL4GJB2.js} +2 -2
  17. package/dist/cli/{chunk-6SLQLWWL.js → chunk-5RUB53KG.js} +26 -26
  18. package/dist/cli/{chunk-ADLDU2QG.js → chunk-5YF35HAV.js} +6 -6
  19. package/dist/cli/{chunk-A6E7TCK2.mjs → chunk-6KG4KVTH.mjs} +5 -5
  20. package/dist/cli/{chunk-VCHV4LS3.mjs → chunk-6NZBLFL4.mjs} +1 -1
  21. package/dist/cli/{chunk-KNIYEZVV.mjs → chunk-6V3LNYK5.mjs} +2 -2
  22. package/dist/cli/{chunk-TWWYCJJW.mjs → chunk-ADV2IB2C.mjs} +5 -5
  23. package/dist/cli/{chunk-7XDJKIM2.mjs → chunk-APKZGUTU.mjs} +4 -4
  24. package/dist/cli/{chunk-P3DP56HB.js → chunk-CQJCLHBE.js} +41 -41
  25. package/dist/cli/{chunk-N2BCPZVR.mjs → chunk-DZFVVP3S.mjs} +5 -5
  26. package/dist/cli/{chunk-T6GPTJ5F.mjs → chunk-E4QHTDPF.mjs} +1 -1
  27. package/dist/cli/{chunk-25RGHJQL.js → chunk-EAZS52DL.js} +15 -15
  28. package/dist/cli/{chunk-JPEBKN3K.mjs → chunk-F43MXIN3.mjs} +2 -2
  29. package/dist/cli/{chunk-KCUQNH4K.js → chunk-FH3P3E4S.js} +2 -2
  30. package/dist/cli/{chunk-ICTA5ICE.mjs → chunk-FIRV7BXJ.mjs} +1 -1
  31. package/dist/cli/{chunk-VIFLWQXS.js → chunk-FSQCB5SJ.js} +2 -2
  32. package/dist/cli/{chunk-5VSPRRTI.js → chunk-FTBWFDF3.js} +7 -7
  33. package/dist/cli/{chunk-CLO562KG.mjs → chunk-G3UFDUYU.mjs} +1 -1
  34. package/dist/cli/{chunk-UE7JHAZ2.mjs → chunk-GEO2EMM7.mjs} +1 -1
  35. package/dist/cli/{chunk-ZDLDCXY3.mjs → chunk-GLEGINSP.mjs} +2 -2
  36. package/dist/cli/{chunk-6JG3MRTM.mjs → chunk-GLKUC5PO.mjs} +2 -2
  37. package/dist/cli/{chunk-FJ5KPGCS.mjs → chunk-GNCIMHO2.mjs} +10 -10
  38. package/dist/cli/{chunk-IMLFB66A.js → chunk-ISXX5DUD.js} +3 -3
  39. package/dist/cli/{chunk-4KZF6OYY.mjs → chunk-JBCQFG7G.mjs} +3 -3
  40. package/dist/cli/{chunk-JTOV5RUA.mjs → chunk-JHEZQMOM.mjs} +1 -1
  41. package/dist/cli/{chunk-JCLRSMUP.js → chunk-K22EKW6L.js} +5 -5
  42. package/dist/cli/{chunk-B2BTBHX2.js → chunk-K5MZHTK7.js} +3 -3
  43. package/dist/cli/{chunk-MYSPQUAO.js → chunk-KAEVL62Q.js} +44 -44
  44. package/dist/cli/{chunk-34PLG5OE.js → chunk-KQTX545E.js} +13 -13
  45. package/dist/cli/{chunk-ALARRSMZ.mjs → chunk-LE5KN7CZ.mjs} +3 -3
  46. package/dist/cli/{chunk-PQKD5DMT.js → chunk-LEREPTAE.js} +19 -19
  47. package/dist/cli/{chunk-OOLBE6FR.js → chunk-MI53W4DN.js} +53 -53
  48. package/dist/cli/{chunk-ZU6JBRV5.mjs → chunk-MKESK3SW.mjs} +4 -4
  49. package/dist/cli/{chunk-4WQR4DG4.mjs → chunk-N3LPGGWD.mjs} +1 -1
  50. package/dist/cli/{chunk-UEZNIPFO.js → chunk-NR5PLMNG.js} +107 -107
  51. package/dist/cli/{chunk-3I5TU5XE.js → chunk-Q4HNK7JX.js} +8 -8
  52. package/dist/cli/{chunk-35OCRH5C.mjs → chunk-RULRGMMM.mjs} +5 -5
  53. package/dist/cli/{chunk-IP3XJTWA.mjs → chunk-SDAP5MCO.mjs} +2 -2
  54. package/dist/cli/{chunk-YQURGSRB.js → chunk-TZBCJHV6.js} +1 -1
  55. package/dist/cli/{chunk-LPTBHNGB.js → chunk-V7DEGIYO.js} +4 -4
  56. package/dist/cli/{chunk-YZ2ZPHWR.js → chunk-VK5UTS5B.js} +9 -9
  57. package/dist/cli/{chunk-N5HSG4OV.js → chunk-W32KT6LM.js} +5 -5
  58. package/dist/cli/{chunk-ESX3H7Q7.js → chunk-XZBXQCRJ.js} +22 -22
  59. package/dist/cli/{chunk-4NEOGPKD.mjs → chunk-Y66ZMOJI.mjs} +1 -1
  60. package/dist/cli/{chunk-BBS2BLPV.js → chunk-YMQFQO3K.js} +16 -16
  61. package/dist/cli/{csv-LM7FBECI.js → csv-BWWJYV2C.js} +13 -13
  62. package/dist/cli/{csv-2YKLUKDR.mjs → csv-G5RQQ74W.mjs} +4 -4
  63. package/dist/cli/{db-5PMA4IVW.js → db-5KNDLADE.js} +27 -27
  64. package/dist/cli/{db-234UBWJH.mjs → db-AJZHWB3V.mjs} +6 -6
  65. package/dist/cli/describe-B6CN6CFJ.js +49 -0
  66. package/dist/cli/{describe-W26LW5O7.mjs → describe-QY5TKWVD.mjs} +17 -17
  67. package/dist/cli/{executions-3S736GXX.js → executions-BCCW76BI.js} +8 -8
  68. package/dist/cli/{executions-GD7GXTJM.mjs → executions-SJPH3MZT.mjs} +6 -6
  69. package/dist/cli/{feedback-BUWTDY4R.js → feedback-GF65JKK6.js} +14 -14
  70. package/dist/cli/{feedback-GBV5HJJZ.mjs → feedback-S6SZOFGK.mjs} +6 -6
  71. package/dist/cli/git-DX6NB7VF.js +25 -0
  72. package/dist/cli/{git-YXJGTDQL.mjs → git-F5FT5YVB.mjs} +5 -5
  73. package/dist/cli/index.js +139 -139
  74. package/dist/cli/index.mjs +41 -41
  75. package/dist/cli/{legacy-noops-ZSF64V2U.js → legacy-noops-ECR6FS6U.js} +9 -9
  76. package/dist/cli/{legacy-noops-UJM6GBNP.mjs → legacy-noops-NOA4P5NE.mjs} +6 -6
  77. package/dist/cli/{monitors-UERUQ6CT.mjs → monitors-CTYSAGP4.mjs} +7 -7
  78. package/dist/cli/{monitors-XQ2GNH6D.js → monitors-DEWBSURN.js} +100 -100
  79. package/dist/cli/{org-CP4VLH6M.mjs → org-EKSKKT7H.mjs} +6 -6
  80. package/dist/cli/{org-IF6MPVNR.js → org-ZM2UUMZZ.js} +86 -86
  81. package/dist/cli/{play-2NHQO5MO.js → play-6JQOM6DE.js} +317 -317
  82. package/dist/cli/{play-ZWDYYVPI.mjs → play-R2BH374J.mjs} +17 -17
  83. package/dist/cli/{providers-LOPXQN56.js → providers-CMIYHEMN.js} +9 -9
  84. package/dist/cli/{providers-2CVIATU4.mjs → providers-X7WMIWO4.mjs} +6 -6
  85. package/dist/cli/{quickstart-N4WDEQZY.js → quickstart-6HVPAMSW.js} +6 -6
  86. package/dist/cli/{quickstart-KVCFXLID.mjs → quickstart-ZZ7L6VZJ.mjs} +4 -4
  87. package/dist/cli/{run-RUXHYWLF.mjs → run-FP32RKBU.mjs} +22 -22
  88. package/dist/cli/{run-BDT5LK3I.js → run-OOHYH3GI.js} +42 -42
  89. package/dist/cli/search-34C6LFOJ.js +32 -0
  90. package/dist/cli/{search-BFUTNPA5.mjs → search-BDDNC23Z.mjs} +7 -7
  91. package/dist/cli/{search-output-CTXI2QZU.js → search-output-5VZIQQAM.js} +6 -6
  92. package/dist/cli/{search-output-WUGH4PZA.mjs → search-output-QXJ6CV5G.mjs} +4 -4
  93. package/dist/cli/{secrets-BZJZYFOU.js → secrets-EN2HQCO3.js} +15 -15
  94. package/dist/cli/{secrets-Z4XQVTC6.mjs → secrets-Z7CQSQGC.mjs} +6 -6
  95. package/dist/cli/{sessions-VZXR3MQZ.mjs → sessions-I2H37OTJ.mjs} +6 -6
  96. package/dist/cli/sessions-RYQX3NDD.js +22 -0
  97. package/dist/cli/{settings-WBYA4JMM.js → settings-CTRAPFNZ.js} +85 -85
  98. package/dist/cli/{settings-VYEZFR4L.mjs → settings-IYSC5PPQ.mjs} +12 -12
  99. package/dist/cli/{setup-H7KCI4SO.mjs → setup-PU3HOVI3.mjs} +9 -9
  100. package/dist/cli/{setup-FS2RMSS2.js → setup-XIN53GEW.js} +49 -49
  101. package/dist/cli/skills-576CX7DK.js +36 -0
  102. package/dist/cli/{skills-YQNSJUUG.mjs → skills-TYBML2ZO.mjs} +7 -7
  103. package/dist/cli/tools-EXMUWA3Z.js +56 -0
  104. package/dist/cli/{tools-ZF6SVEGW.mjs → tools-ZVNE6M6J.mjs} +16 -16
  105. package/dist/cli/{update-RKQNNJM4.mjs → update-54WENBNT.mjs} +9 -9
  106. package/dist/cli/update-RAHETNL2.js +34 -0
  107. package/dist/cli/{views-KN7FEDGT.js → views-7L75EZOJ.js} +21 -21
  108. package/dist/cli/{views-JHHOTWDU.mjs → views-EUBB4ONT.mjs} +6 -6
  109. package/dist/cli/{workflow-2WHSKTTV.js → workflow-EZVYCR6Y.js} +17 -17
  110. package/dist/cli/{workflow-AAYLCLWA.mjs → workflow-GUKGFJ72.mjs} +7 -7
  111. package/dist/index.js +9 -9
  112. package/dist/index.mjs +6 -6
  113. package/dist/install-integrity.json +101 -100
  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/dist/server.js +5 -5
  119. package/dist/server.mjs +3 -3
  120. package/package.json +1 -1
  121. package/dist/cli/auth-4WEVLYK4.js +0 -43
  122. package/dist/cli/describe-C7GOSGYB.js +0 -49
  123. package/dist/cli/git-YG36MROC.js +0 -25
  124. package/dist/cli/search-ATDDVADT.js +0 -32
  125. package/dist/cli/sessions-HNU35AFM.js +0 -22
  126. package/dist/cli/skills-VPIURCAZ.js +0 -36
  127. package/dist/cli/tools-273GS5HU.js +0 -56
  128. package/dist/cli/update-TOD3XY55.js +0 -34
@@ -3,16 +3,16 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkN5HSG4OVjs = require('./chunk-N5HSG4OV.js');
6
+ var _chunkW32KT6LMjs = require('./chunk-W32KT6LM.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkPQKD5DMTjs = require('./chunk-PQKD5DMT.js');
11
+ var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkIMLFB66Ajs = require('./chunk-IMLFB66A.js');
15
+ var _chunkISXX5DUDjs = require('./chunk-ISXX5DUD.js');
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  var _commander = require('commander');
@@ -22,7 +22,7 @@ var _fs = require('fs');
22
22
  var _path = require('path');
23
23
  var SEARCH_REF_TTL_MS = 15 * 6e4;
24
24
  function lastSearchPath() {
25
- return _path.join.call(void 0, _chunkIMLFB66Ajs.sdkCliStateDirPath.call(void 0, _chunkIMLFB66Ajs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
25
+ return _path.join.call(void 0, _chunkISXX5DUDjs.sdkCliStateDirPath.call(void 0, _chunkISXX5DUDjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
26
26
  }
27
27
  function rememberSearchRef(searchRef) {
28
28
  writeSearchRefs({ searchRef });
@@ -132,9 +132,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
132
132
  console.error("--summary-width must be an integer of at least 2.");
133
133
  return 1;
134
134
  }
135
- const client = new (0, _chunkN5HSG4OVjs.DeeplineClient)();
135
+ const client = new (0, _chunkW32KT6LMjs.DeeplineClient)();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-CTXI2QZU.js")));
137
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-5VZIQQAM.js")));
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -157,7 +157,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
157
157
  const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
158
158
  if (!multiple) {
159
159
  if (searchRef) rememberSearchRef(searchRef);
160
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0, result, { json, text });
160
+ _chunkLEREPTAEjs.printCommandEnvelope.call(void 0, result, { json, text });
161
161
  return 0;
162
162
  }
163
163
  searches.push({ ...result, query });
@@ -171,8 +171,8 @@ ${text}`);
171
171
  }
172
172
  } catch (error) {
173
173
  if (!multiple) throw error;
174
- const payload = _chunkPQKD5DMTjs.errorToJsonPayload.call(void 0, error);
175
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkPQKD5DMTjs.resolveSdkCliFailureExitCode.call(void 0, error)));
174
+ const payload = _chunkLEREPTAEjs.errorToJsonPayload.call(void 0, error);
175
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkLEREPTAEjs.resolveSdkCliFailureExitCode.call(void 0, error)));
176
176
  searches.push({ ...payload, query, exitCode: queryExitCode });
177
177
  if (!json) {
178
178
  console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
@@ -184,7 +184,7 @@ Search failed.
184
184
  }
185
185
  }
186
186
  rememberSearchRefsByTool(refs);
187
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
187
+ _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
188
188
  { searches },
189
189
  {
190
190
  json,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-UE7JHAZ2.mjs";
3
+ } from "./chunk-GEO2EMM7.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-ICTA5ICE.mjs";
7
+ } from "./chunk-FIRV7BXJ.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -1,6 +1,6 @@
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 _chunkPQKD5DMTjs = require('./chunk-PQKD5DMT.js');
3
+ var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
 
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
57
57
  const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
58
58
  const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
59
59
  if (options.json) {
60
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
60
+ _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
61
61
  { ok: false, code, exitCode: 2, message },
62
62
  { json: true }
63
63
  );
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkPQKD5DMTjs = require('./chunk-PQKD5DMT.js');
5
+ var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
6
6
 
7
7
 
8
- var _chunkIMLFB66Ajs = require('./chunk-IMLFB66A.js');
8
+ var _chunkISXX5DUDjs = require('./chunk-ISXX5DUD.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 } = _chunkPQKD5DMTjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkLEREPTAEjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
39
+ _chunkLEREPTAEjs.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 } = _chunkPQKD5DMTjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkLEREPTAEjs.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
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
139
+ _chunkLEREPTAEjs.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 } = _chunkPQKD5DMTjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkLEREPTAEjs.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
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
153
+ _chunkLEREPTAEjs.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 } = _chunkPQKD5DMTjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkLEREPTAEjs.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 } = _chunkPQKD5DMTjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkLEREPTAEjs.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
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
200
+ _chunkLEREPTAEjs.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 } = _chunkPQKD5DMTjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkLEREPTAEjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
227
+ _chunkLEREPTAEjs.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 } = _chunkPQKD5DMTjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkLEREPTAEjs.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
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
254
+ _chunkLEREPTAEjs.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 } = _chunkPQKD5DMTjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkLEREPTAEjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
269
+ _chunkLEREPTAEjs.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 = _chunkIMLFB66Ajs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkISXX5DUDjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkPQKD5DMTjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkLEREPTAEjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkLEREPTAEjs.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 } = _chunkPQKD5DMTjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkLEREPTAEjs.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
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
322
+ _chunkLEREPTAEjs.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 } = _chunkPQKD5DMTjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkLEREPTAEjs.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
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
371
+ _chunkLEREPTAEjs.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 } = _chunkPQKD5DMTjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkLEREPTAEjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
392
+ _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -1,11 +1,11 @@
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 _chunkVIFLWQXSjs = require('./chunk-VIFLWQXS.js');
3
+ var _chunkFSQCB5SJjs = require('./chunk-FSQCB5SJ.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkMYSPQUAOjs = require('./chunk-MYSPQUAO.js');
8
+ var _chunkKAEVL62Qjs = require('./chunk-KAEVL62Q.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkMYSPQUAOjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkVIFLWQXSjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkKAEVL62Qjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkFSQCB5SJjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkMYSPQUAOjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkKAEVL62Qjs.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkMYSPQUAOjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkKAEVL62Qjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-FJ5KPGCS.mjs";
3
+ } from "./chunk-GNCIMHO2.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-4WQR4DG4.mjs";
6
+ } from "./chunk-N3LPGGWD.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,16 +14,16 @@ import {
14
14
  } from "./chunk-7AOFSZJM.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-M3NCXGNN.mjs";
17
+ } from "./chunk-55ITVU2V.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled,
21
21
  printCommandEnvelope
22
- } from "./chunk-6JG3MRTM.mjs";
22
+ } from "./chunk-GLKUC5PO.mjs";
23
23
  import {
24
24
  autoDetectBaseUrl,
25
25
  resolveApiKeyForBaseUrl
26
- } from "./chunk-ICTA5ICE.mjs";
26
+ } from "./chunk-FIRV7BXJ.mjs";
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  import { writeFileSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-6JG3MRTM.mjs";
3
+ } from "./chunk-GLKUC5PO.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-6JG3MRTM.mjs";
5
+ } from "./chunk-GLKUC5PO.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-ICTA5ICE.mjs";
8
+ } from "./chunk-FIRV7BXJ.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-JTOV5RUA.mjs";
3
+ } from "./chunk-JHEZQMOM.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-6JG3MRTM.mjs";
6
+ } from "./chunk-GLKUC5PO.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -14,17 +14,17 @@ import {
14
14
  sdkCliStateDirPath,
15
15
  skillsAgentPathSegment,
16
16
  writeSdkSkillsLocalVersion
17
- } from "./chunk-ICTA5ICE.mjs";
17
+ } from "./chunk-FIRV7BXJ.mjs";
18
18
  import {
19
19
  SDK_API_CONTRACT,
20
20
  SDK_API_MAJOR,
21
21
  SDK_VERSION,
22
22
  deploymentProtectionHeaders,
23
23
  detectAgentRuntime
24
- } from "./chunk-CLO562KG.mjs";
24
+ } from "./chunk-G3UFDUYU.mjs";
25
25
  import {
26
26
  SDK_RELEASE
27
- } from "./chunk-T6GPTJ5F.mjs";
27
+ } from "./chunk-E4QHTDPF.mjs";
28
28
 
29
29
  // src/compat.ts
30
30
  import { randomUUID } from "crypto";
@@ -3,16 +3,16 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-M3NCXGNN.mjs";
6
+ } from "./chunk-55ITVU2V.mjs";
7
7
  import {
8
8
  errorToJsonPayload,
9
9
  printCommandEnvelope,
10
10
  resolveSdkCliFailureExitCode
11
- } from "./chunk-6JG3MRTM.mjs";
11
+ } from "./chunk-GLKUC5PO.mjs";
12
12
  import {
13
13
  resolveConfig,
14
14
  sdkCliStateDirPath
15
- } from "./chunk-ICTA5ICE.mjs";
15
+ } from "./chunk-FIRV7BXJ.mjs";
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  import { Option } from "commander";
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  }
135
135
  const client = new DeeplineClient();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await import("./search-output-WUGH4PZA.mjs");
137
+ const renderer = json ? void 0 : await import("./search-output-QXJ6CV5G.mjs");
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();