deepline 0.3.411 → 0.3.413

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 (108) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/types.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +11 -11
  4. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +0 -1
  5. package/dist/cli/{auth-YD6ZTMB2.mjs → auth-3D4KKBVE.mjs} +4 -4
  6. package/dist/cli/auth-5NDVMF4F.js +40 -0
  7. package/dist/cli/{billing-ZT46GV4C.mjs → billing-2EOBIABD.mjs} +4 -4
  8. package/dist/cli/{billing-2L3MOB42.js → billing-EJQFNJSI.js} +73 -73
  9. package/dist/cli/{chunk-FRVPOXGB.js → chunk-2T2JTZT2.js} +79 -79
  10. package/dist/cli/{chunk-XJD6LZCO.mjs → chunk-4GEA7QZY.mjs} +1 -1
  11. package/dist/cli/{chunk-7DSMMCXP.js → chunk-5PE74ZQ4.js} +35 -35
  12. package/dist/cli/{chunk-4O4WNFFC.js → chunk-7GGLDFIU.js} +16 -16
  13. package/dist/cli/{chunk-IR3AKJAY.mjs → chunk-CUY5U4QK.mjs} +3 -3
  14. package/dist/cli/{chunk-M6OASCVL.mjs → chunk-D65C5V3L.mjs} +2 -2
  15. package/dist/cli/{chunk-JYHSEGRM.js → chunk-EGZUJT3T.js} +8 -8
  16. package/dist/cli/{chunk-OGSXENOF.mjs → chunk-GH4FIWEU.mjs} +1 -1
  17. package/dist/cli/{chunk-LWBM5FFL.js → chunk-GNDHF3ZI.js} +50 -50
  18. package/dist/cli/{chunk-RFES6Q2J.mjs → chunk-HCBTS7KU.mjs} +8 -8
  19. package/dist/cli/{chunk-2WUY3VNK.js → chunk-HNL6FVEL.js} +2 -2
  20. package/dist/cli/{chunk-TPFD4F5S.js → chunk-ID4QO6ME.js} +52 -52
  21. package/dist/cli/{chunk-5IGDNBG7.js → chunk-JXNCP2M5.js} +26 -26
  22. package/dist/cli/{chunk-NQWIZ5PZ.js → chunk-KSJS5F57.js} +20 -20
  23. package/dist/cli/{chunk-OZSC6CEW.js → chunk-LF5WZGBG.js} +4 -4
  24. package/dist/cli/{chunk-RMINBDYY.js → chunk-NCWUFF6U.js} +1 -1
  25. package/dist/cli/{chunk-5LRWWMRV.mjs → chunk-OT5HUMKM.mjs} +5 -5
  26. package/dist/cli/{chunk-E52TKKVI.mjs → chunk-OXUDZTF3.mjs} +1 -1
  27. package/dist/cli/{chunk-UAEVKAUR.mjs → chunk-PDW33FLZ.mjs} +1 -1
  28. package/dist/cli/{chunk-U5AQKE3T.js → chunk-QR4SD7RI.js} +10 -10
  29. package/dist/cli/{chunk-6AUE6JXY.js → chunk-REVPPQFK.js} +6 -6
  30. package/dist/cli/{chunk-G43JLBDE.mjs → chunk-V5L3WCSG.mjs} +3 -3
  31. package/dist/cli/{chunk-BJV3VSKE.mjs → chunk-VHBCEFS7.mjs} +1 -1
  32. package/dist/cli/{chunk-IPGV6VFA.mjs → chunk-VTL3NDUG.mjs} +3 -3
  33. package/dist/cli/{chunk-E4KBNNNB.mjs → chunk-VZ57YWB6.mjs} +1 -1
  34. package/dist/cli/{chunk-XAB47ZRV.mjs → chunk-WDQYMXDK.mjs} +4 -4
  35. package/dist/cli/{chunk-2NI6DHN7.js → chunk-X5FXFSHJ.js} +2 -2
  36. package/dist/cli/{chunk-JQMZUWNM.mjs → chunk-Y3MHIAMV.mjs} +2 -2
  37. package/dist/cli/{chunk-VGHWJL4W.js → chunk-YAM52S2K.js} +8 -8
  38. package/dist/cli/{chunk-4BA6ATHA.mjs → chunk-YCPKC54Z.mjs} +2 -2
  39. package/dist/cli/{chunk-ZHWBU36H.js → chunk-ZDY367QD.js} +6 -6
  40. package/dist/cli/{chunk-PO2VU6WV.mjs → chunk-ZGVFEBX7.mjs} +2 -2
  41. package/dist/cli/{csv-BKNRRW7D.mjs → csv-3GKD6ODW.mjs} +3 -3
  42. package/dist/cli/{csv-SVDP2EU7.js → csv-FVLNH7XW.js} +12 -12
  43. package/dist/cli/{db-LU4KLRM6.mjs → db-TFECIZXA.mjs} +4 -4
  44. package/dist/cli/{db-OQ6S7TTZ.js → db-YBLULEQY.js} +25 -25
  45. package/dist/cli/{describe-U4KOGDRA.mjs → describe-4CGSYQ6N.mjs} +12 -12
  46. package/dist/cli/{describe-45TGETKR.js → describe-Y4XESTCE.js} +16 -16
  47. package/dist/cli/describe-core.d.mts +1 -1
  48. package/dist/cli/describe-core.d.ts +1 -1
  49. package/dist/cli/{executions-VZN56VRC.js → executions-F7S72KOK.js} +6 -6
  50. package/dist/cli/{executions-2GAAUXLA.mjs → executions-GSXZKYBA.mjs} +4 -4
  51. package/dist/cli/{feedback-NS76B5GU.js → feedback-GCCC2YTL.js} +7 -7
  52. package/dist/cli/{feedback-XW5IWA5R.mjs → feedback-PMCZCNOK.mjs} +3 -3
  53. package/dist/cli/git-NOKHD2LT.js +24 -0
  54. package/dist/cli/{git-CLI66XP6.mjs → git-RNPGVB5K.mjs} +4 -4
  55. package/dist/cli/index.js +131 -131
  56. package/dist/cli/index.mjs +36 -36
  57. package/dist/cli/{legacy-noops-ODDOMLBL.mjs → legacy-noops-FNJK7BKV.mjs} +4 -4
  58. package/dist/cli/{legacy-noops-HCFB3ZOV.js → legacy-noops-J4CNOAAZ.js} +7 -7
  59. package/dist/cli/{monitors-7WXQ7JFT.js → monitors-IRPUBNV3.js} +84 -84
  60. package/dist/cli/{monitors-ZXX456TE.mjs → monitors-LZDR7Y5R.mjs} +4 -4
  61. package/dist/cli/{org-YUN3TLNP.mjs → org-CG5H5PYW.mjs} +4 -4
  62. package/dist/cli/{org-YLX5PHBQ.js → org-GMQQV4B4.js} +64 -64
  63. package/dist/cli/{play-LL73A7EP.mjs → play-AQJXC3UT.mjs} +15 -13
  64. package/dist/cli/{play-YGOXL52D.js → play-JGBMKAVZ.js} +288 -286
  65. package/dist/cli/{providers-RHCIU2PX.js → providers-6W2LUEB2.js} +7 -7
  66. package/dist/cli/{providers-35QSAUHL.mjs → providers-TU5QOBJL.mjs} +4 -4
  67. package/dist/cli/{quickstart-6BN3LCZH.mjs → quickstart-NIED5SQP.mjs} +3 -3
  68. package/dist/cli/{quickstart-ORMM4NRK.js → quickstart-XO4LNJIB.js} +5 -5
  69. package/dist/cli/search-46BMUNKI.js +30 -0
  70. package/dist/cli/{search-GAERWLSE.mjs → search-P322OCZS.mjs} +5 -5
  71. package/dist/cli/{secrets-FCL5PALY.mjs → secrets-36GD5ORQ.mjs} +4 -4
  72. package/dist/cli/{secrets-3AFCTGT7.js → secrets-5JX66PSU.js} +13 -13
  73. package/dist/cli/{sessions-RSSL7I7O.mjs → sessions-EU5EGYQA.mjs} +4 -4
  74. package/dist/cli/{sessions-3OEHEQG7.js → sessions-TRPCS2XC.js} +5 -5
  75. package/dist/cli/{settings-RX5K4I7H.js → settings-2GBXXYEC.js} +75 -75
  76. package/dist/cli/{settings-GE4NRE7Y.mjs → settings-XZCFPMJK.mjs} +8 -8
  77. package/dist/cli/{setup-N3ZNAEL5.js → setup-3R62S2HC.js} +42 -42
  78. package/dist/cli/{setup-X3RXGG4F.mjs → setup-62YVBUGJ.mjs} +7 -7
  79. package/dist/cli/{skills-5JEAJBDE.mjs → skills-GCRGKFZZ.mjs} +5 -5
  80. package/dist/cli/skills-GVWVI3WO.js +29 -0
  81. package/dist/cli/{tools-JOKUWEBZ.mjs → tools-PZ5BRPG4.mjs} +12 -12
  82. package/dist/cli/tools-VFSX2OY3.js +44 -0
  83. package/dist/cli/update-KHJC44FI.js +31 -0
  84. package/dist/cli/{update-UBHEVFR3.mjs → update-Y2VCL75Z.mjs} +7 -7
  85. package/dist/cli/{workflow-FR6EXAXF.mjs → workflow-THUIMN33.mjs} +5 -5
  86. package/dist/cli/{workflow-SZAVOHN6.js → workflow-ZSV2DPQ3.js} +15 -15
  87. package/dist/{client-74k4IPh6.d.mts → client-D2A39edb.d.mts} +1 -1
  88. package/dist/{client-C1IK1f8c.d.ts → client-D6w0_gN1.d.ts} +1 -1
  89. package/dist/index.d.mts +2 -2
  90. package/dist/index.d.ts +2 -2
  91. package/dist/index.js +6 -6
  92. package/dist/index.mjs +3 -3
  93. package/dist/install-integrity.json +80 -80
  94. package/dist/plays/play-description.d.mts +1 -1
  95. package/dist/plays/play-description.d.ts +1 -1
  96. package/dist/plays/run-request.d.mts +1 -1
  97. package/dist/plays/run-request.d.ts +1 -1
  98. package/dist/release.d.mts +1 -1
  99. package/dist/release.d.ts +1 -1
  100. package/dist/release.js +2 -2
  101. package/dist/release.mjs +1 -1
  102. package/package.json +1 -1
  103. package/dist/cli/auth-M7TBLW55.js +0 -40
  104. package/dist/cli/git-VGYRGFEN.js +0 -24
  105. package/dist/cli/search-EWDMUPHR.js +0 -30
  106. package/dist/cli/skills-VAAQVEQC.js +0 -29
  107. package/dist/cli/tools-BYYOT2DU.js +0 -44
  108. package/dist/cli/update-36G4ZD7B.js +0 -31
@@ -17,7 +17,7 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
17
17
  var _chunkPPDBRJRWjs = require('./chunk-PPDBRJRW.js');
18
18
 
19
19
 
20
- var _chunkRMINBDYYjs = require('./chunk-RMINBDYY.js');
20
+ var _chunkNCWUFF6Ujs = require('./chunk-NCWUFF6U.js');
21
21
 
22
22
  // src/config.ts
23
23
 
@@ -649,9 +649,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
649
649
  }
650
650
 
651
651
  // src/version.ts
652
- var SDK_VERSION = _chunkRMINBDYYjs.SDK_RELEASE.version;
653
- var SDK_API_MAJOR = _chunkRMINBDYYjs.SDK_RELEASE.contracts.api.currentMajor;
654
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkRMINBDYYjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
652
+ var SDK_VERSION = _chunkNCWUFF6Ujs.SDK_RELEASE.version;
653
+ var SDK_API_MAJOR = _chunkNCWUFF6Ujs.SDK_RELEASE.contracts.api.currentMajor;
654
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkNCWUFF6Ujs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
655
655
 
656
656
  // src/agent-runtime.ts
657
657
 
@@ -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.411",
52
+ version: "0.3.413",
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."
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-E4KBNNNB.mjs";
4
+ } from "./chunk-VZ57YWB6.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-G43JLBDE.mjs";
7
+ } from "./chunk-V5L3WCSG.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-IR3AKJAY.mjs";
10
+ } from "./chunk-CUY5U4QK.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-XJD6LZCO.mjs";
13
+ } from "./chunk-4GEA7QZY.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-E52TKKVI.mjs";
16
+ } from "./chunk-OXUDZTF3.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-E4IXDAZI.mjs";
18
18
  import {
19
19
  SDK_RELEASE
20
- } from "./chunk-OGSXENOF.mjs";
20
+ } from "./chunk-GH4FIWEU.mjs";
21
21
 
22
22
  // src/config.ts
23
23
  import {
@@ -28,7 +28,7 @@ import {
28
28
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
29
29
  SDK_API_MAJOR,
30
30
  resolveConfig
31
- } from "./chunk-E52TKKVI.mjs";
31
+ } from "./chunk-OXUDZTF3.mjs";
32
32
  import {
33
33
  CustomerDbQueryOutcomeUnknownError
34
34
  } from "./chunk-MAMVGOSC.mjs";
@@ -28,7 +28,7 @@ var _chunkKXMNM4AQjs = require('./chunk-KXMNM4AQ.js');
28
28
 
29
29
 
30
30
 
31
- var _chunkOZSC6CEWjs = require('./chunk-OZSC6CEW.js');
31
+ var _chunkLF5WZGBGjs = require('./chunk-LF5WZGBG.js');
32
32
 
33
33
 
34
34
  var _chunkNPBJI7REjs = require('./chunk-NPBJI7RE.js');
@@ -647,7 +647,7 @@ var ToolCalls = class {
647
647
  idempotencyKey,
648
648
  onResponse: (response2) => {
649
649
  lastResponse = null;
650
- atomicToolsSupported = response2.headers.get(_chunkOZSC6CEWjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
650
+ atomicToolsSupported = response2.headers.get(_chunkLF5WZGBGjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
651
651
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
652
652
  if (_optionalChain([options, 'optionalAccess', _29 => _29.onServerTiming])) {
653
653
  try {
@@ -997,8 +997,8 @@ function runtimeSelectionHeaders(runtime, env) {
997
997
  }
998
998
  const receivers = _optionalChain([env, 'access', _51 => _51.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _52 => _52.trim, 'call', _53 => _53()]);
999
999
  return {
1000
- [_chunkOZSC6CEWjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
- ...receivers ? { [_chunkOZSC6CEWjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1000
+ [_chunkLF5WZGBGjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
+ ...receivers ? { [_chunkLF5WZGBGjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1002
1002
  };
1003
1003
  }
1004
1004
  function normalizeTestPolicyOverrides(value, source) {
@@ -1069,7 +1069,7 @@ var PlayClient = class {
1069
1069
  return _chunk2H4EY7KHjs.startPlayRun.call(void 0,
1070
1070
  this.http,
1071
1071
  resolved.request,
1072
- _optionalChain([options, 'optionalAccess', _61 => _61.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkOZSC6CEWjs.SDK_API_MAJOR) } : headers,
1072
+ _optionalChain([options, 'optionalAccess', _61 => _61.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkLF5WZGBGjs.SDK_API_MAJOR) } : headers,
1073
1073
  options
1074
1074
  );
1075
1075
  }
@@ -1135,9 +1135,9 @@ var PlayClient = class {
1135
1135
  }
1136
1136
  };
1137
1137
  function createPlayClient(options) {
1138
- const config = _chunkOZSC6CEWjs.resolveConfig.call(void 0, options);
1138
+ const config = _chunkLF5WZGBGjs.resolveConfig.call(void 0, options);
1139
1139
  return new PlayClient(
1140
- new (0, _chunkOZSC6CEWjs.HttpClient)(config),
1140
+ new (0, _chunkLF5WZGBGjs.HttpClient)(config),
1141
1141
  _nullishCoalesce(config.environment, () => ( process.env))
1142
1142
  );
1143
1143
  }
@@ -3151,7 +3151,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3151
3151
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3152
3152
  );
3153
3153
  }
3154
- return { [_chunkOZSC6CEWjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3154
+ return { [_chunkLF5WZGBGjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3155
3155
  }
3156
3156
  function sleep(ms) {
3157
3157
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -3389,9 +3389,9 @@ var DeeplineClient = (_class = class _DeeplineClient {
3389
3389
  * @throws {@link ConfigError} if no API key can be resolved from any source.
3390
3390
  */
3391
3391
  constructor(options) {
3392
- this.config = _chunkOZSC6CEWjs.resolveConfig.call(void 0, options);
3392
+ this.config = _chunkLF5WZGBGjs.resolveConfig.call(void 0, options);
3393
3393
  this.environment = _nullishCoalesce(this.config.environment, () => ( process.env));
3394
- this.http = new (0, _chunkOZSC6CEWjs.HttpClient)(this.config);
3394
+ this.http = new (0, _chunkLF5WZGBGjs.HttpClient)(this.config);
3395
3395
  this.playClient = new PlayClient(this.http, this.environment);
3396
3396
  this.toolCalls = new ToolCalls(
3397
3397
  this.http,
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2WUY3VNKjs = require('./chunk-2WUY3VNK.js');
3
+ var _chunkHNL6FVELjs = require('./chunk-HNL6FVEL.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkTPFD4F5Sjs = require('./chunk-TPFD4F5S.js');
8
+ var _chunkID4QO6MEjs = require('./chunk-ID4QO6ME.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -14,17 +14,17 @@ function usesInlinePlayAdmission(command, args) {
14
14
  );
15
15
  }
16
16
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured") {
17
- if (maintenancePolicy !== "off") _chunkTPFD4F5Sjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
- const compatibility = await _chunk2WUY3VNKjs.traceCliSpan.call(void 0,
17
+ if (maintenancePolicy !== "off") _chunkID4QO6MEjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
+ const compatibility = await _chunkHNL6FVELjs.traceCliSpan.call(void 0,
19
19
  "cli.sdk_compatibility",
20
20
  { baseUrl, command: "plays run" },
21
- () => _chunkTPFD4F5Sjs.checkSdkCompatibility.call(void 0, baseUrl, {
21
+ () => _chunkID4QO6MEjs.checkSdkCompatibility.call(void 0, baseUrl, {
22
22
  command: "plays run",
23
23
  persistCache: maintenancePolicy !== "off"
24
24
  })
25
25
  );
26
26
  if (compatibility.error) throw compatibility.error;
27
- _chunkTPFD4F5Sjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
27
+ _chunkID4QO6MEjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
28
28
  quietAdvisory: true
29
29
  });
30
30
  }
@@ -11,10 +11,10 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-IR3AKJAY.mjs";
14
+ } from "./chunk-CUY5U4QK.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-XJD6LZCO.mjs";
17
+ } from "./chunk-4GEA7QZY.mjs";
18
18
  import {
19
19
  SDK_VERSION,
20
20
  autoDetectBaseUrl,
@@ -22,7 +22,7 @@ import {
22
22
  ensureProjectPrivatePathsIgnored,
23
23
  resolveProjectPinTarget,
24
24
  sdkCliStateDirPath
25
- } from "./chunk-E52TKKVI.mjs";
25
+ } from "./chunk-OXUDZTF3.mjs";
26
26
 
27
27
  // src/cli/commands/skills.ts
28
28
  import { spawn } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-XJD6LZCO.mjs";
3
+ } from "./chunk-4GEA7QZY.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-LJ5747UC.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-UAEVKAUR.mjs";
6
+ } from "./chunk-PDW33FLZ.mjs";
7
7
  import {
8
8
  printCommandEnvelope,
9
9
  renderCommandEnvelopeText
10
- } from "./chunk-XJD6LZCO.mjs";
10
+ } from "./chunk-4GEA7QZY.mjs";
11
11
  import {
12
12
  resolveConfig,
13
13
  sdkCliStateDirPath
14
- } from "./chunk-E52TKKVI.mjs";
14
+ } from "./chunk-OXUDZTF3.mjs";
15
15
  import {
16
16
  __commonJS,
17
17
  __toESM
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-IR3AKJAY.mjs";
3
+ } from "./chunk-CUY5U4QK.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -4,18 +4,18 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-5LRWWMRV.mjs";
7
+ } from "./chunk-OT5HUMKM.mjs";
8
8
  import {
9
9
  isCiEnvironment
10
- } from "./chunk-IR3AKJAY.mjs";
10
+ } from "./chunk-CUY5U4QK.mjs";
11
11
  import {
12
12
  addJsonNotice,
13
13
  isJsonOutputMode
14
- } from "./chunk-XJD6LZCO.mjs";
14
+ } from "./chunk-4GEA7QZY.mjs";
15
15
  import {
16
16
  SDK_VERSION,
17
17
  resolveApiKeyForBaseUrl
18
- } from "./chunk-E52TKKVI.mjs";
18
+ } from "./chunk-OXUDZTF3.mjs";
19
19
 
20
20
  // src/cli/compatibility-catalog.ts
21
21
  var readers = /* @__PURE__ */ new WeakMap();
@@ -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 _chunkTPFD4F5Sjs = require('./chunk-TPFD4F5S.js');
3
+ var _chunkID4QO6MEjs = require('./chunk-ID4QO6ME.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 = _chunkTPFD4F5Sjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkID4QO6MEjs.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,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-BJV3VSKE.mjs";
3
+ } from "./chunk-VHBCEFS7.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-IR3AKJAY.mjs";
8
+ } from "./chunk-CUY5U4QK.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -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 _chunkZHWBU36Hjs = require('./chunk-ZHWBU36H.js');
4
+ var _chunkZDY367QDjs = require('./chunk-ZDY367QD.js');
5
5
 
6
6
 
7
- var _chunkOZSC6CEWjs = require('./chunk-OZSC6CEW.js');
7
+ var _chunkLF5WZGBGjs = require('./chunk-LF5WZGBG.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 = _chunkOZSC6CEWjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkLF5WZGBGjs.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 } = _chunkZHWBU36Hjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkZDY367QDjs.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
- _chunkZHWBU36Hjs.printCommandEnvelope.call(void 0,
487
+ _chunkZDY367QDjs.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
- _chunkZHWBU36Hjs.printCommandEnvelope.call(void 0,
519
+ _chunkZDY367QDjs.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
- _chunkZHWBU36Hjs.printCommandEnvelope.call(void 0,
569
+ _chunkZDY367QDjs.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
- _chunkZHWBU36Hjs.printCommandEnvelope.call(void 0,
677
+ _chunkZDY367QDjs.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-XJD6LZCO.mjs";
5
+ } from "./chunk-4GEA7QZY.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-E52TKKVI.mjs";
28
+ } from "./chunk-OXUDZTF3.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkOZSC6CEWjs = require('./chunk-OZSC6CEW.js');
6
+ var _chunkLF5WZGBGjs = require('./chunk-LF5WZGBG.js');
7
7
 
8
8
 
9
9
 
@@ -288,8 +288,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
288
288
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
289
289
  var defaultBrowserCommandRunner = childProcess;
290
290
  function getAuthedHttpClient() {
291
- const config = _chunkOZSC6CEWjs.resolveConfig.call(void 0, );
292
- return { config, http: new (0, _chunkOZSC6CEWjs.HttpClient)(config) };
291
+ const config = _chunkLF5WZGBGjs.resolveConfig.call(void 0, );
292
+ return { config, http: new (0, _chunkLF5WZGBGjs.HttpClient)(config) };
293
293
  }
294
294
  function stableOsUserId() {
295
295
  try {
@@ -629,7 +629,7 @@ function collectLocalEnvInfo() {
629
629
  os: `${process.platform} ${process.arch}`,
630
630
  node_version: process.version,
631
631
  home_dir: homeDir,
632
- agent_runtime: _chunkOZSC6CEWjs.detectAgentRuntime.call(void 0, )
632
+ agent_runtime: _chunkLF5WZGBGjs.detectAgentRuntime.call(void 0, )
633
633
  };
634
634
  const env = process.env;
635
635
  const optional = {
@@ -876,9 +876,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
876
876
  }
877
877
  function withAgentCommandContext(value) {
878
878
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
879
- return _chunkOZSC6CEWjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
879
+ return _chunkLF5WZGBGjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
880
880
  ...valueRecord,
881
- command_context: _chunkOZSC6CEWjs.resolveCliCommandContext.call(void 0, )
881
+ command_context: _chunkLF5WZGBGjs.resolveCliCommandContext.call(void 0, )
882
882
  } : value;
883
883
  }
884
884
  function printJson(value, fields) {
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-XJD6LZCO.mjs";
5
+ } from "./chunk-4GEA7QZY.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-E52TKKVI.mjs";
8
+ } from "./chunk-OXUDZTF3.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -4,12 +4,12 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-XJD6LZCO.mjs";
8
- import "./chunk-E52TKKVI.mjs";
7
+ } from "./chunk-4GEA7QZY.mjs";
8
+ import "./chunk-OXUDZTF3.mjs";
9
9
  import "./chunk-MAMVGOSC.mjs";
10
10
  import "./chunk-DLIRSHV6.mjs";
11
11
  import "./chunk-E4IXDAZI.mjs";
12
- import "./chunk-OGSXENOF.mjs";
12
+ import "./chunk-GH4FIWEU.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
14
14
  import "./chunk-KRD6H754.mjs";
15
15
 
@@ -4,12 +4,12 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkZHWBU36Hjs = require('./chunk-ZHWBU36H.js');
8
- require('./chunk-OZSC6CEW.js');
7
+ var _chunkZDY367QDjs = require('./chunk-ZDY367QD.js');
8
+ require('./chunk-LF5WZGBG.js');
9
9
  require('./chunk-NPBJI7RE.js');
10
10
  require('./chunk-XNYIZMNQ.js');
11
11
  require('./chunk-PPDBRJRW.js');
12
- require('./chunk-RMINBDYY.js');
12
+ require('./chunk-NCWUFF6U.js');
13
13
  require('./chunk-OG64RBAC.js');
14
14
  require('./chunk-COGTRVWW.js');
15
15
 
@@ -127,7 +127,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
127
127
  column.length,
128
128
  ...rows.map((row) => {
129
129
  const value = _nullishCoalesce(row[column], () => ( ""));
130
- return (verbose ? value : _chunkZHWBU36Hjs.clip.call(void 0, value, 42)).length;
130
+ return (verbose ? value : _chunkZDY367QDjs.clip.call(void 0, value, 42)).length;
131
131
  })
132
132
  )
133
133
  ])
@@ -137,7 +137,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
137
137
  const body = rows.map(
138
138
  (row) => columns.map((column) => {
139
139
  const raw = _nullishCoalesce(row[column], () => ( ""));
140
- const display = verbose ? raw : _chunkZHWBU36Hjs.clip.call(void 0, raw, 42);
140
+ const display = verbose ? raw : _chunkZDY367QDjs.clip.call(void 0, raw, 42);
141
141
  return display.padEnd(widths[column]);
142
142
  }).join(" | ")
143
143
  );
@@ -157,7 +157,7 @@ async function handleCsvShow(path, options, command) {
157
157
  { exitCode: 2 }
158
158
  );
159
159
  }
160
- const allRows = _chunkZHWBU36Hjs.readCsvRows.call(void 0, csvPath);
160
+ const allRows = _chunkZDY367QDjs.readCsvRows.call(void 0, csvPath);
161
161
  const [rowStart, rowEnd] = parseRowRange(options.rows);
162
162
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
163
163
  const { rows: selected, columns } = selectColumns(
@@ -170,7 +170,7 @@ async function handleCsvShow(path, options, command) {
170
170
  if (options.summary) {
171
171
  const summaries = summarizeColumns(selected, columns);
172
172
  if (format === "json") {
173
- _chunkZHWBU36Hjs.printJson.call(void 0, {
173
+ _chunkZDY367QDjs.printJson.call(void 0, {
174
174
  rows: summaries,
175
175
  total_rows: selected.length,
176
176
  source_total_rows: allRows.length
@@ -179,7 +179,7 @@ async function handleCsvShow(path, options, command) {
179
179
  }
180
180
  const displayRows = summaryDisplayRows(summaries);
181
181
  if (format === "csv") {
182
- process.stdout.write(_chunkZHWBU36Hjs.csvStringFromRows.call(void 0, displayRows));
182
+ process.stdout.write(_chunkZDY367QDjs.csvStringFromRows.call(void 0, displayRows));
183
183
  return;
184
184
  }
185
185
  process.stdout.write(
@@ -194,7 +194,7 @@ async function handleCsvShow(path, options, command) {
194
194
  return;
195
195
  }
196
196
  if (format === "json") {
197
- _chunkZHWBU36Hjs.printJson.call(void 0, {
197
+ _chunkZDY367QDjs.printJson.call(void 0, {
198
198
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
199
199
  });
200
200
  return;
@@ -437,7 +437,7 @@ async function handleCsvRenderStart(options) {
437
437
  if (log) {
438
438
  detail = `
439
439
  CSV render log:
440
- ${_chunkZHWBU36Hjs.clip.call(void 0, log, 2e3)}`;
440
+ ${_chunkZDY367QDjs.clip.call(void 0, log, 2e3)}`;
441
441
  }
442
442
  } catch (e7) {
443
443
  }
@@ -488,7 +488,7 @@ async function handleCsvRenderStatus(options) {
488
488
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
489
489
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
490
490
  lines.push(`Render Health: ${payload.health_status}`);
491
- _chunkZHWBU36Hjs.printCommandEnvelope.call(void 0, payload, {
491
+ _chunkZDY367QDjs.printCommandEnvelope.call(void 0, payload, {
492
492
  json: options.json,
493
493
  text: `${lines.join("\n")}
494
494
  `
@@ -524,7 +524,7 @@ async function handleCsvRenderStop(options) {
524
524
  };
525
525
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
526
526
  ` : "No running CSV render process found.\n";
527
- _chunkZHWBU36Hjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
527
+ _chunkZDY367QDjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
528
  }
529
529
  async function handleCsvRender(action, options) {
530
530
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  DeeplineClient,
6
6
  planCustomerDbQuery
7
- } from "./chunk-UAEVKAUR.mjs";
7
+ } from "./chunk-PDW33FLZ.mjs";
8
8
  import "./chunk-L2VKAASU.mjs";
9
9
  import "./chunk-KCC3FKIW.mjs";
10
10
  import "./chunk-EIMG75BT.mjs";
@@ -18,8 +18,8 @@ import {
18
18
  printCommandEnvelope,
19
19
  recordRows,
20
20
  shouldEmitJson
21
- } from "./chunk-XJD6LZCO.mjs";
22
- import "./chunk-E52TKKVI.mjs";
21
+ } from "./chunk-4GEA7QZY.mjs";
22
+ import "./chunk-OXUDZTF3.mjs";
23
23
  import {
24
24
  CustomerDbQueryOutcomeUnknownError
25
25
  } from "./chunk-MAMVGOSC.mjs";
@@ -27,7 +27,7 @@ import "./chunk-DLIRSHV6.mjs";
27
27
  import {
28
28
  DeeplineError
29
29
  } from "./chunk-E4IXDAZI.mjs";
30
- import "./chunk-OGSXENOF.mjs";
30
+ import "./chunk-GH4FIWEU.mjs";
31
31
  import "./chunk-WZYKRD7T.mjs";
32
32
  import "./chunk-KRD6H754.mjs";
33
33