deepline 0.3.319 → 0.3.321

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 (97) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +41 -7
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +2 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +62 -0
  5. package/dist/bundling-sources/shared_libs/security/receipt-admission-token.ts +32 -0
  6. package/dist/cli/auth-AF2MEC7K.js +31 -0
  7. package/dist/cli/{auth-DAXPANFX.mjs → auth-OXD3QIJW.mjs} +4 -4
  8. package/dist/cli/{billing-EEPRLMGV.js → billing-6YZHF6FJ.js} +70 -70
  9. package/dist/cli/{billing-R3MPWLJT.mjs → billing-XT3T2V6Z.mjs} +4 -4
  10. package/dist/cli/{chunk-G4PESSZS.js → chunk-23LWIJU5.js} +1 -1
  11. package/dist/cli/{chunk-B6AIO62Y.mjs → chunk-4QF3GTLM.mjs} +3 -3
  12. package/dist/cli/{chunk-HARNQFSB.js → chunk-57VCSLVP.js} +6 -6
  13. package/dist/cli/{chunk-XJCZCXMB.mjs → chunk-7V6BVNXM.mjs} +1 -1
  14. package/dist/cli/{chunk-GNEIU5HS.js → chunk-FBJSFMZM.js} +4 -4
  15. package/dist/cli/{chunk-JZOCKNSF.mjs → chunk-GCKI434X.mjs} +4 -4
  16. package/dist/cli/{chunk-YBZ77S4N.js → chunk-GNXG6BQI.js} +50 -50
  17. package/dist/cli/{chunk-O7RGAVX3.js → chunk-KLY2SA5G.js} +60 -60
  18. package/dist/cli/{chunk-BF4RMLQD.js → chunk-KN5AMK2N.js} +48 -48
  19. package/dist/cli/{chunk-QAZ6GRKW.js → chunk-KZ4S6URN.js} +6 -6
  20. package/dist/cli/{chunk-LDIBDH67.mjs → chunk-LXVHOTPH.mjs} +5 -5
  21. package/dist/cli/{chunk-A37XFZMW.mjs → chunk-MMIICHOJ.mjs} +2 -2
  22. package/dist/cli/{chunk-CWKGUF7W.js → chunk-N7FB2EYO.js} +220 -220
  23. package/dist/cli/{chunk-XR4IGFZS.mjs → chunk-P5BBV56E.mjs} +1 -1
  24. package/dist/cli/{chunk-R4HA6Q7R.js → chunk-PVHEPQR6.js} +6 -6
  25. package/dist/cli/{chunk-FVJIHKHA.js → chunk-PVSES2RR.js} +15 -15
  26. package/dist/cli/{chunk-VQ4CSOCL.mjs → chunk-Q7I47LE7.mjs} +1 -1
  27. package/dist/cli/{chunk-TZ4TLTXI.mjs → chunk-QVH4OR5R.mjs} +1 -1
  28. package/dist/cli/{chunk-QSLX346S.mjs → chunk-SIU6LJAM.mjs} +2 -2
  29. package/dist/cli/{chunk-PUWF6FLJ.mjs → chunk-SLAJLTYQ.mjs} +2 -2
  30. package/dist/cli/{chunk-REBQVNAE.mjs → chunk-T6BFDDO7.mjs} +1 -1
  31. package/dist/cli/{chunk-NW4C5QZY.mjs → chunk-TFNUR4VK.mjs} +6 -6
  32. package/dist/cli/{chunk-EPDVATKK.js → chunk-VF3SOXGE.js} +26 -26
  33. package/dist/cli/{chunk-6Q3N7AMW.js → chunk-WRS3ZBVF.js} +2 -2
  34. package/dist/cli/{chunk-3KALOZ6K.mjs → chunk-Y2O2LTUU.mjs} +1 -1
  35. package/dist/cli/{chunk-B7JKUSDG.js → chunk-ZEO3FTS5.js} +6 -6
  36. package/dist/cli/{client-ZF6KUU5J.mjs → client-GEADN6HT.mjs} +3 -3
  37. package/dist/cli/client-LXTQ44XR.js +20 -0
  38. package/dist/cli/{csv-QUQHUPBG.mjs → csv-47ALCDUF.mjs} +3 -3
  39. package/dist/cli/{csv-3F6L56U4.js → csv-72X7YZWZ.js} +12 -12
  40. package/dist/cli/{db-DJZT2A4C.js → db-22ZO4JUX.js} +20 -20
  41. package/dist/cli/{db-UXCGG6SL.mjs → db-LOC34Z5E.mjs} +4 -4
  42. package/dist/cli/{describe-5BHD6L6K.mjs → describe-4W6RA7DZ.mjs} +8 -8
  43. package/dist/cli/{describe-FLFD7PSD.js → describe-TWBIOBVP.js} +15 -15
  44. package/dist/cli/{executions-VRYP6EM6.js → executions-7RGT2PNM.js} +6 -6
  45. package/dist/cli/{executions-OEXULKBB.mjs → executions-MVY4577L.mjs} +4 -4
  46. package/dist/cli/{feedback-X7GEE3JW.mjs → feedback-IFQH4TNG.mjs} +3 -3
  47. package/dist/cli/{feedback-O5GD3QSA.js → feedback-TQMC2VPS.js} +6 -6
  48. package/dist/cli/git-ADCE7DM6.js +23 -0
  49. package/dist/cli/{git-CMAG4XFC.mjs → git-F7G4NWNH.mjs} +4 -4
  50. package/dist/cli/index.js +75 -75
  51. package/dist/cli/index.mjs +31 -31
  52. package/dist/cli/{legacy-noops-QOCRK2ZT.mjs → legacy-noops-DNGJQ2LB.mjs} +4 -4
  53. package/dist/cli/{legacy-noops-NYO4KJPN.js → legacy-noops-T6TPBUI7.js} +7 -7
  54. package/dist/cli/{monitors-QJYHRBJX.mjs → monitors-6LOEYFPU.mjs} +4 -4
  55. package/dist/cli/{monitors-VJ64XLPE.js → monitors-7ZCIBU3A.js} +85 -85
  56. package/dist/cli/{org-Y2YRV66G.js → org-IY5J5UV2.js} +60 -60
  57. package/dist/cli/{org-TAK5OFAJ.mjs → org-QNOMTNYG.mjs} +4 -4
  58. package/dist/cli/{play-KWFMK3A5.mjs → play-DYYJFFCL.mjs} +7 -7
  59. package/dist/cli/play-EMBNMGQ6.js +152 -0
  60. package/dist/cli/{providers-XJWA7Y3S.js → providers-MLRLAH37.js} +7 -7
  61. package/dist/cli/{providers-R52D4WC2.mjs → providers-Y54CW33F.mjs} +4 -4
  62. package/dist/cli/{quickstart-KTVMCJVD.js → quickstart-EIWX6I5X.js} +5 -5
  63. package/dist/cli/{quickstart-2PSABJCL.mjs → quickstart-K2FFBJEQ.mjs} +3 -3
  64. package/dist/cli/{search-KNI4NANW.mjs → search-2YJQBUPV.mjs} +5 -5
  65. package/dist/cli/search-7EADPPFV.js +26 -0
  66. package/dist/cli/{secrets-FZRHJ6MM.js → secrets-5MY6G5EO.js} +13 -13
  67. package/dist/cli/{secrets-IFV4FAN7.mjs → secrets-BBPVDWHE.mjs} +4 -4
  68. package/dist/cli/{sessions-JQCMJ6XX.js → sessions-LYULGDRK.js} +5 -5
  69. package/dist/cli/{sessions-SIOU2FAG.mjs → sessions-SKSMKVXC.mjs} +4 -4
  70. package/dist/cli/{settings-V7W6E55G.mjs → settings-CIV5JY2A.mjs} +7 -7
  71. package/dist/cli/{settings-73MDOLSF.js → settings-HTAZHDQ3.js} +74 -74
  72. package/dist/cli/{setup-ZAKWB3JW.js → setup-EWRGRIO2.js} +41 -41
  73. package/dist/cli/{setup-AXRRMTPA.mjs → setup-UJDC3MCT.mjs} +6 -6
  74. package/dist/cli/skills-6BXDE3J6.js +28 -0
  75. package/dist/cli/{skills-5BR2I6AT.mjs → skills-C7YBNTJW.mjs} +4 -4
  76. package/dist/cli/{tools-OZ2ROO42.mjs → tools-LHIQZLYY.mjs} +6 -6
  77. package/dist/cli/tools-VYQ34FFN.js +38 -0
  78. package/dist/cli/update-4RZHBEJL.js +28 -0
  79. package/dist/cli/{update-P6CBGYFP.mjs → update-G5SWXA67.mjs} +6 -6
  80. package/dist/cli/{workflow-OYQYIL55.js → workflow-7HKDO6QM.js} +15 -15
  81. package/dist/cli/{workflow-5CELCAYU.mjs → workflow-TJOJJJT5.mjs} +5 -5
  82. package/dist/index.js +6 -6
  83. package/dist/index.mjs +3 -3
  84. package/dist/install-integrity.json +74 -74
  85. package/dist/release.d.mts +1 -1
  86. package/dist/release.d.ts +1 -1
  87. package/dist/release.js +2 -2
  88. package/dist/release.mjs +1 -1
  89. package/package.json +1 -1
  90. package/dist/cli/auth-KRKIND3M.js +0 -31
  91. package/dist/cli/client-CEGEJIFN.js +0 -20
  92. package/dist/cli/git-6AFGD2F5.js +0 -23
  93. package/dist/cli/play-PD4QODBD.js +0 -152
  94. package/dist/cli/search-F7LZMQRK.js +0 -26
  95. package/dist/cli/skills-3GTM6L22.js +0 -28
  96. package/dist/cli/tools-ILAARRZ4.js +0 -38
  97. package/dist/cli/update-JFKRFOIL.js +0 -28
@@ -3,7 +3,7 @@ import {
3
3
  detectAgentRuntime,
4
4
  resolveCliCommandContext,
5
5
  resolveConfig
6
- } from "./chunk-REBQVNAE.mjs";
6
+ } from "./chunk-T6BFDDO7.mjs";
7
7
  import {
8
8
  DeeplineError
9
9
  } from "./chunk-NXGCO4JB.mjs";
@@ -14,7 +14,7 @@ var _chunkLA46MMTLjs = require('./chunk-LA46MMTL.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkGNEIU5HSjs = require('./chunk-GNEIU5HS.js');
17
+ var _chunkFBJSFMZMjs = require('./chunk-FBJSFMZM.js');
18
18
 
19
19
 
20
20
 
@@ -2757,8 +2757,8 @@ function runtimeSelectionHeaders(runtime) {
2757
2757
  }
2758
2758
  const receivers = _optionalChain([process, 'access', _99 => _99.env, 'access', _100 => _100.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _101 => _101.trim, 'call', _102 => _102()]);
2759
2759
  return {
2760
- [_chunkGNEIU5HSjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2761
- ...receivers ? { [_chunkGNEIU5HSjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
2760
+ [_chunkFBJSFMZMjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2761
+ ...receivers ? { [_chunkFBJSFMZMjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
2762
2762
  };
2763
2763
  }
2764
2764
  function isolatedCiRuntimeEventReadHeaders() {
@@ -2774,7 +2774,7 @@ function isolatedCiRuntimeEventReadHeaders() {
2774
2774
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
2775
2775
  );
2776
2776
  }
2777
- return { [_chunkGNEIU5HSjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
2777
+ return { [_chunkFBJSFMZMjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
2778
2778
  }
2779
2779
  function normalizeTestPolicyOverrides(value, source) {
2780
2780
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -3075,8 +3075,8 @@ var DeeplineClient = (_class = class _DeeplineClient {
3075
3075
  * @throws {@link ConfigError} if no API key can be resolved from any source.
3076
3076
  */
3077
3077
  constructor(options) {
3078
- this.config = _chunkGNEIU5HSjs.resolveConfig.call(void 0, options);
3079
- this.http = new (0, _chunkGNEIU5HSjs.HttpClient)(this.config);
3078
+ this.config = _chunkFBJSFMZMjs.resolveConfig.call(void 0, options);
3079
+ this.http = new (0, _chunkFBJSFMZMjs.HttpClient)(this.config);
3080
3080
  this.toolCalls = new ToolCalls(
3081
3081
  this.http,
3082
3082
  this.config.timeout,
@@ -1,17 +1,17 @@
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 _chunk6Q3N7AMWjs = require('./chunk-6Q3N7AMW.js');
4
+ var _chunkWRS3ZBVFjs = require('./chunk-WRS3ZBVF.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkO7RGAVX3js = require('./chunk-O7RGAVX3.js');
8
+ var _chunkKLY2SA5Gjs = require('./chunk-KLY2SA5G.js');
9
9
 
10
10
 
11
- var _chunkHARNQFSBjs = require('./chunk-HARNQFSB.js');
11
+ var _chunk57VCSLVPjs = require('./chunk-57VCSLVP.js');
12
12
 
13
13
 
14
- var _chunkGNEIU5HSjs = require('./chunk-GNEIU5HS.js');
14
+ var _chunkFBJSFMZMjs = require('./chunk-FBJSFMZM.js');
15
15
 
16
16
  // src/cli/commands/update.ts
17
17
  var _child_process = require('child_process');
@@ -504,7 +504,7 @@ function normalizedNpmPrefix(value) {
504
504
  }
505
505
  function resolveNpmGlobalPrefix(env) {
506
506
  try {
507
- const plan = _chunkO7RGAVX3js.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
507
+ const plan = _chunkKLY2SA5Gjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
508
508
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
509
509
  encoding: "utf8",
510
510
  env,
@@ -560,8 +560,8 @@ function resolveUpdatePlan(options = {}) {
560
560
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
561
561
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
562
562
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
563
- const npmVersion = options.npmVersion === void 0 ? _chunk6Q3N7AMWjs.readNpmVersion.call(void 0, env) : options.npmVersion;
564
- const npmGlobalInstallFlags = _chunk6Q3N7AMWjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
563
+ const npmVersion = options.npmVersion === void 0 ? _chunkWRS3ZBVFjs.readNpmVersion.call(void 0, env) : options.npmVersion;
564
+ const npmGlobalInstallFlags = _chunkWRS3ZBVFjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
565
565
  const args = installPrefix ? [
566
566
  "install",
567
567
  "-g",
@@ -571,7 +571,7 @@ function resolveUpdatePlan(options = {}) {
571
571
  packageSpec
572
572
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
573
573
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
574
- _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkGNEIU5HSjs.autoDetectBaseUrl.call(void 0, )
574
+ _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkFBJSFMZMjs.autoDetectBaseUrl.call(void 0, )
575
575
  );
576
576
  return {
577
577
  kind: "npm-global",
@@ -718,7 +718,7 @@ function sidecarInstallFailure(versionDir) {
718
718
  function runCommand(command, args, env = process.env) {
719
719
  return new Promise((resolveResult) => {
720
720
  let output = "";
721
- const plan = _chunkO7RGAVX3js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
721
+ const plan = _chunkKLY2SA5Gjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
722
722
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
723
723
  stdio: ["inherit", "pipe", "pipe"],
724
724
  shell: plan.shell,
@@ -1094,14 +1094,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1094
1094
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1095
1095
  }
1096
1096
  async function runUpdateCommand(options, dependencies = {}) {
1097
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkGNEIU5HSjs.autoDetectBaseUrl));
1097
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkFBJSFMZMjs.autoDetectBaseUrl));
1098
1098
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1099
1099
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1100
1100
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1101
1101
  const originalWrite = process.stdout.write.bind(process.stdout);
1102
1102
  process.stdout.write = (() => true);
1103
1103
  try {
1104
- const exitCode = await _chunkO7RGAVX3js.runSkillsCommand.call(void 0, { json: true });
1104
+ const exitCode = await _chunkKLY2SA5Gjs.runSkillsCommand.call(void 0, { json: true });
1105
1105
  if (exitCode !== 0) {
1106
1106
  throw new Error(
1107
1107
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1172,11 +1172,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1172
1172
  ]
1173
1173
  };
1174
1174
  if (options.json && !options.executeWithJson) {
1175
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1175
+ _chunk57VCSLVPjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1176
1176
  return 0;
1177
1177
  }
1178
1178
  if (options.printCommand) {
1179
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
1179
+ _chunk57VCSLVPjs.printCommandEnvelope.call(void 0,
1180
1180
  {
1181
1181
  ...plan,
1182
1182
  render: {
@@ -1189,7 +1189,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1189
1189
  return 0;
1190
1190
  }
1191
1191
  if (plan.kind === "source" || plan.kind === "homebrew") {
1192
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1192
+ _chunk57VCSLVPjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1193
1193
  return 0;
1194
1194
  }
1195
1195
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1219,7 +1219,7 @@ To retry with full installer output, run: deepline skills --json
1219
1219
  );
1220
1220
  }
1221
1221
  if (options.executeWithJson && options.json) {
1222
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
1222
+ _chunk57VCSLVPjs.printCommandEnvelope.call(void 0,
1223
1223
  {
1224
1224
  ok: true,
1225
1225
  pinnedVersion
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-A37XFZMW.mjs";
3
+ } from "./chunk-MMIICHOJ.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -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.319",
52
+ version: "0.3.321",
53
53
  updateSummary: "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.",
54
54
  packageCapabilities: {
55
55
  updatePreferences: 1
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-XR4IGFZS.mjs";
5
+ } from "./chunk-P5BBV56E.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-REBQVNAE.mjs";
8
+ } from "./chunk-T6BFDDO7.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-XR4IGFZS.mjs";
5
+ } from "./chunk-P5BBV56E.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -25,7 +25,7 @@ import {
25
25
  saveHostEnvValues,
26
26
  saveProjectDeeplineEnvValues,
27
27
  storedHostApiKey
28
- } from "./chunk-REBQVNAE.mjs";
28
+ } from "./chunk-T6BFDDO7.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-DLIRSHV6.mjs";
5
5
  import {
6
6
  SDK_RELEASE
7
- } from "./chunk-TZ4TLTXI.mjs";
7
+ } from "./chunk-QVH4OR5R.mjs";
8
8
  import {
9
9
  DeeplineError,
10
10
  TOOL_EXECUTION_ERROR_SCHEMA_VERSION,
@@ -7,11 +7,11 @@ import {
7
7
  } from "./chunk-EDWJY6T4.mjs";
8
8
  import {
9
9
  registerDeprecatedSearchCommand
10
- } from "./chunk-B6AIO62Y.mjs";
10
+ } from "./chunk-4QF3GTLM.mjs";
11
11
  import {
12
12
  handleDeploymentGet,
13
13
  handleDeploymentsList
14
- } from "./chunk-QSLX346S.mjs";
14
+ } from "./chunk-SIU6LJAM.mjs";
15
15
  import {
16
16
  PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY,
17
17
  PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER,
@@ -34,7 +34,7 @@ import {
34
34
  normalizeRunEventOperationRequest,
35
35
  parseLogLevel,
36
36
  playInputExampleArgs
37
- } from "./chunk-XJCZCXMB.mjs";
37
+ } from "./chunk-7V6BVNXM.mjs";
38
38
  import {
39
39
  CSV_DATA_INPUT_KEY,
40
40
  buildNamedPlayRunRequest,
@@ -66,10 +66,10 @@ import {
66
66
  printJson,
67
67
  printJsonError,
68
68
  renderCommandEnvelopeText
69
- } from "./chunk-XR4IGFZS.mjs";
69
+ } from "./chunk-P5BBV56E.mjs";
70
70
  import {
71
71
  fetchWithDeploymentProtection
72
- } from "./chunk-REBQVNAE.mjs";
72
+ } from "./chunk-T6BFDDO7.mjs";
73
73
  import {
74
74
  PLAY_DEFAULT_EXPORT,
75
75
  extractDefinedPlayName,
@@ -17948,7 +17948,7 @@ Examples:
17948
17948
  process.exitCode = await ownView();
17949
17949
  return;
17950
17950
  }
17951
- const { describeAnything } = await import("./describe-5BHD6L6K.mjs");
17951
+ const { describeAnything } = await import("./describe-4W6RA7DZ.mjs");
17952
17952
  process.exitCode = await describeAnything(
17953
17953
  name,
17954
17954
  {
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkHARNQFSBjs = require('./chunk-HARNQFSB.js');
5
+ var _chunk57VCSLVPjs = require('./chunk-57VCSLVP.js');
6
6
 
7
7
 
8
- var _chunkGNEIU5HSjs = require('./chunk-GNEIU5HS.js');
8
+ var _chunkFBJSFMZMjs = require('./chunk-FBJSFMZM.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 } = _chunkHARNQFSBjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunk57VCSLVPjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
39
+ _chunk57VCSLVPjs.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 } = _chunkHARNQFSBjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunk57VCSLVPjs.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
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
139
+ _chunk57VCSLVPjs.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 } = _chunkHARNQFSBjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunk57VCSLVPjs.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
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
153
+ _chunk57VCSLVPjs.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 } = _chunkHARNQFSBjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunk57VCSLVPjs.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 } = _chunkHARNQFSBjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunk57VCSLVPjs.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
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
200
+ _chunk57VCSLVPjs.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 } = _chunkHARNQFSBjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunk57VCSLVPjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
227
+ _chunk57VCSLVPjs.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 } = _chunkHARNQFSBjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunk57VCSLVPjs.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
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
254
+ _chunk57VCSLVPjs.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 } = _chunkHARNQFSBjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunk57VCSLVPjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
269
+ _chunk57VCSLVPjs.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 = _chunkGNEIU5HSjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkFBJSFMZMjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkHARNQFSBjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunk57VCSLVPjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunk57VCSLVPjs.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 } = _chunkHARNQFSBjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunk57VCSLVPjs.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
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
322
+ _chunk57VCSLVPjs.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 } = _chunkHARNQFSBjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunk57VCSLVPjs.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
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
371
+ _chunk57VCSLVPjs.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 } = _chunkHARNQFSBjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunk57VCSLVPjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
392
+ _chunk57VCSLVPjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -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 _chunkO7RGAVX3js = require('./chunk-O7RGAVX3.js');
3
+ var _chunkKLY2SA5Gjs = require('./chunk-KLY2SA5G.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 = _chunkO7RGAVX3js.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkKLY2SA5Gjs.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,7 +1,7 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-XR4IGFZS.mjs";
4
+ } from "./chunk-P5BBV56E.mjs";
5
5
 
6
6
  // src/cli/commands/sessions.ts
7
7
  import {
@@ -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 _chunkHARNQFSBjs = require('./chunk-HARNQFSB.js');
4
+ var _chunk57VCSLVPjs = require('./chunk-57VCSLVP.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 } = _chunkHARNQFSBjs.getAuthedHttpClient.call(void 0, );
423
+ const { http } = _chunk57VCSLVPjs.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
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
455
+ _chunk57VCSLVPjs.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
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
484
+ _chunk57VCSLVPjs.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
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
533
+ _chunk57VCSLVPjs.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
- _chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
638
+ _chunk57VCSLVPjs.printCommandEnvelope.call(void 0,
639
639
  {
640
640
  ok: true,
641
641
  file: outputPath,
@@ -3,11 +3,11 @@ import {
3
3
  MONITOR_JOB_PHASES,
4
4
  MONITOR_JOB_RECONCILIATION_STATES,
5
5
  MONITOR_JOB_STATES
6
- } from "./chunk-XJCZCXMB.mjs";
6
+ } from "./chunk-7V6BVNXM.mjs";
7
7
  import "./chunk-CBVIJSHF.mjs";
8
- import "./chunk-REBQVNAE.mjs";
8
+ import "./chunk-T6BFDDO7.mjs";
9
9
  import "./chunk-DLIRSHV6.mjs";
10
- import "./chunk-TZ4TLTXI.mjs";
10
+ import "./chunk-QVH4OR5R.mjs";
11
11
  import "./chunk-6IKARAYD.mjs";
12
12
  import "./chunk-NXGCO4JB.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
@@ -0,0 +1,20 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunkPVHEPQR6js = require('./chunk-PVHEPQR6.js');
7
+ require('./chunk-LA46MMTL.js');
8
+ require('./chunk-FBJSFMZM.js');
9
+ require('./chunk-XNYIZMNQ.js');
10
+ require('./chunk-23LWIJU5.js');
11
+ require('./chunk-S6R3OX7B.js');
12
+ require('./chunk-7P5AA3SN.js');
13
+ require('./chunk-OG64RBAC.js');
14
+ require('./chunk-COGTRVWW.js');
15
+
16
+
17
+
18
+
19
+
20
+ exports.DeeplineClient = _chunkPVHEPQR6js.DeeplineClient; exports.MONITOR_JOB_PHASES = _chunkPVHEPQR6js.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkPVHEPQR6js.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkPVHEPQR6js.MONITOR_JOB_STATES;
@@ -4,10 +4,10 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-XR4IGFZS.mjs";
8
- import "./chunk-REBQVNAE.mjs";
7
+ } from "./chunk-P5BBV56E.mjs";
8
+ import "./chunk-T6BFDDO7.mjs";
9
9
  import "./chunk-DLIRSHV6.mjs";
10
- import "./chunk-TZ4TLTXI.mjs";
10
+ import "./chunk-QVH4OR5R.mjs";
11
11
  import "./chunk-NXGCO4JB.mjs";
12
12
  import "./chunk-WZYKRD7T.mjs";
13
13
  import "./chunk-KRD6H754.mjs";