deepline 0.3.489 → 0.3.490

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 (135) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/direct-admission-deadline.ts +3 -1
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +10 -0
  5. package/dist/cli/auth-AW34RGV5.js +43 -0
  6. package/dist/cli/{auth-5RIU6GT7.mjs → auth-RL6LOZGC.mjs} +5 -5
  7. package/dist/cli/{billing-T4TMPRFS.mjs → billing-33THO76F.mjs} +6 -6
  8. package/dist/cli/{billing-T5MAGF25.js → billing-LIDDSOSY.js} +79 -79
  9. package/dist/cli/{chunk-Y3SG26KP.mjs → chunk-27IBWHR5.mjs} +4 -4
  10. package/dist/cli/{chunk-35N4S2E6.mjs → chunk-2HYJU4LJ.mjs} +1 -1
  11. package/dist/cli/{chunk-QXWE6PHI.mjs → chunk-3M5VPIRL.mjs} +2 -2
  12. package/dist/cli/{chunk-IAYSWZDJ.js → chunk-4IP5MLWU.js} +1 -1
  13. package/dist/cli/{chunk-6V7KVRR5.js → chunk-4OLXMJ2L.js} +13 -2
  14. package/dist/cli/{chunk-FL7NHJTS.js → chunk-63TNO23X.js} +15 -15
  15. package/dist/cli/{chunk-5DEJ3TLB.js → chunk-6TTPAGNX.js} +7 -7
  16. package/dist/cli/{chunk-LMUOUIBV.mjs → chunk-7W53Y4VH.mjs} +5 -5
  17. package/dist/cli/{chunk-WRJ6MEY5.mjs → chunk-A3D677RX.mjs} +1 -1
  18. package/dist/cli/{chunk-6FMP5XRF.js → chunk-B7MPY7WH.js} +6 -6
  19. package/dist/cli/{chunk-ZICPJKMP.mjs → chunk-BL5Q5JY7.mjs} +5 -5
  20. package/dist/cli/{chunk-TMQ3PCSY.mjs → chunk-CB7IFKXN.mjs} +2 -2
  21. package/dist/cli/{chunk-J7EENGKJ.mjs → chunk-CGDUFVNE.mjs} +2 -2
  22. package/dist/cli/{chunk-H66YVVT7.mjs → chunk-CSSOP7XG.mjs} +2 -2
  23. package/dist/cli/{chunk-JVHOS3K3.mjs → chunk-DEJIN4DF.mjs} +1 -1
  24. package/dist/cli/{chunk-RI2PLVD4.js → chunk-E26477MJ.js} +7 -7
  25. package/dist/cli/{chunk-UYZNRLDE.js → chunk-EPQZ42PY.js} +1 -1
  26. package/dist/cli/{chunk-FFDWL5N2.js → chunk-FDYCUA7A.js} +16 -16
  27. package/dist/cli/{chunk-K2RUSHZ7.js → chunk-FPYESYBO.js} +4 -4
  28. package/dist/cli/{chunk-INW22YP7.mjs → chunk-FTXIJTV2.mjs} +3 -5
  29. package/dist/cli/{chunk-UI67QLIR.js → chunk-HHGAY2A4.js} +53 -53
  30. package/dist/cli/{chunk-CSBMKHTV.js → chunk-HHTVRICE.js} +17 -17
  31. package/dist/cli/{chunk-LM5UIDFA.js → chunk-IFGBL3US.js} +7 -7
  32. package/dist/cli/{chunk-OTQ2CO6M.mjs → chunk-J5HMAZ34.mjs} +2 -2
  33. package/dist/cli/{chunk-2QUROYZU.mjs → chunk-JC2M6XG2.mjs} +1 -1
  34. package/dist/cli/{chunk-L2GMFNAO.mjs → chunk-JSYCPTG6.mjs} +3 -3
  35. package/dist/cli/{chunk-G7POOFBJ.mjs → chunk-JTYKW3UL.mjs} +2 -2
  36. package/dist/cli/{chunk-S4F2R2LO.js → chunk-L7QSZAF6.js} +9 -9
  37. package/dist/cli/{chunk-3S5VBG6Z.mjs → chunk-LQIKW55V.mjs} +2 -2
  38. package/dist/cli/{chunk-GW6HV7Z7.js → chunk-LZ37B62K.js} +7 -7
  39. package/dist/cli/{chunk-RACN23LT.mjs → chunk-MBQZMHE6.mjs} +18 -4
  40. package/dist/cli/{chunk-QJ4FWKUU.mjs → chunk-MDKAPUN2.mjs} +2 -2
  41. package/dist/cli/{chunk-C55LNEUF.mjs → chunk-MEYQOZPF.mjs} +1 -1
  42. package/dist/cli/{chunk-DHAJSTSH.mjs → chunk-NRM5OWH2.mjs} +6 -6
  43. package/dist/cli/{chunk-YEX3VNAY.mjs → chunk-OFCP66VS.mjs} +2 -2
  44. package/dist/cli/{chunk-4GWEZPZR.mjs → chunk-PIENQTDE.mjs} +1 -1
  45. package/dist/cli/{chunk-F3TDT57M.js → chunk-PVMN4OE2.js} +5 -5
  46. package/dist/cli/{chunk-VP65YKOA.js → chunk-QC6QUFKY.js} +5 -5
  47. package/dist/cli/{chunk-S5PMBDY6.mjs → chunk-QWJZSPCV.mjs} +12 -12
  48. package/dist/cli/{chunk-SZHNIKTR.js → chunk-QZPJWFGD.js} +26 -26
  49. package/dist/cli/{chunk-FNKSRKTA.js → chunk-SGG3TERP.js} +3 -3
  50. package/dist/cli/{chunk-4EFD6R2V.js → chunk-TCBYQX5N.js} +52 -38
  51. package/dist/cli/{chunk-Q2EIZKVX.mjs → chunk-TKLDKIJU.mjs} +12 -1
  52. package/dist/cli/{chunk-6PHHQDM6.mjs → chunk-TVZJ6XWM.mjs} +1 -1
  53. package/dist/cli/{chunk-YSB44HZB.js → chunk-UQXHBCHU.js} +2 -2
  54. package/dist/cli/{chunk-DY7T6VNT.js → chunk-UTKNSD6T.js} +21 -21
  55. package/dist/cli/{chunk-NBHCEVWY.mjs → chunk-V47SUOAE.mjs} +4 -4
  56. package/dist/cli/{chunk-I4NWMPT3.js → chunk-WNVZV6VK.js} +53 -53
  57. package/dist/cli/{chunk-R23HZ6AV.js → chunk-XSGJKXMP.js} +2 -2
  58. package/dist/cli/{chunk-WIKIF67Q.js → chunk-Y2KHSQEF.js} +8 -8
  59. package/dist/cli/{chunk-LOX3BISD.js → chunk-YNWET57Z.js} +9 -11
  60. package/dist/cli/{chunk-FH7ZABHW.js → chunk-YPUDIEZX.js} +261 -261
  61. package/dist/cli/{chunk-UZ7VPOTA.js → chunk-YYN2O43C.js} +3 -3
  62. package/dist/cli/{chunk-7R243PYK.mjs → chunk-Z7W6VJFN.mjs} +1 -1
  63. package/dist/cli/{csv-XTKN255I.js → csv-PLJNQPLE.js} +13 -13
  64. package/dist/cli/{csv-WAD54M7T.mjs → csv-TELSH4ND.mjs} +4 -4
  65. package/dist/cli/{db-2ELZMJFC.mjs → db-GISAU665.mjs} +6 -6
  66. package/dist/cli/{db-TTS6Y4FI.js → db-QDJ6GWF5.js} +27 -27
  67. package/dist/cli/{describe-Z7GWMGKU.mjs → describe-F4K54VXB.mjs} +21 -20
  68. package/dist/cli/describe-R6NVISAS.js +50 -0
  69. package/dist/cli/describe-core.js +4 -4
  70. package/dist/cli/describe-core.mjs +3 -3
  71. package/dist/cli/{executions-2TQH54AB.mjs → executions-3QE7MRBG.mjs} +6 -6
  72. package/dist/cli/{executions-WUBVVJXN.js → executions-VKUTKQNN.js} +8 -8
  73. package/dist/cli/{feedback-6KAY4LE6.js → feedback-HH5AUYLA.js} +8 -8
  74. package/dist/cli/{feedback-QI75ZVF2.mjs → feedback-JU7PJGDL.mjs} +4 -4
  75. package/dist/cli/getting-started.d.mts +17 -2
  76. package/dist/cli/getting-started.d.ts +17 -2
  77. package/dist/cli/getting-started.js +8 -2
  78. package/dist/cli/getting-started.mjs +9 -3
  79. package/dist/cli/{git-3PI2SXVS.mjs → git-ACXH7K7D.mjs} +5 -5
  80. package/dist/cli/git-CXRU4CRW.js +25 -0
  81. package/dist/cli/index.js +138 -137
  82. package/dist/cli/index.mjs +41 -40
  83. package/dist/cli/{legacy-noops-SIDE3HLT.mjs → legacy-noops-IOAZ3YJ2.mjs} +5 -5
  84. package/dist/cli/{legacy-noops-BNEVRTQT.js → legacy-noops-NRPYJZOP.js} +8 -8
  85. package/dist/cli/{monitors-WRWVVXUZ.js → monitors-4SKMAAMR.js} +91 -91
  86. package/dist/cli/{monitors-BYQ5V5MX.mjs → monitors-PMQUOIOI.mjs} +7 -7
  87. package/dist/cli/{org-KWCSSJ3Y.js → org-WJM7X6WB.js} +72 -72
  88. package/dist/cli/{org-OZNDX3G2.mjs → org-XNT3W6OU.mjs} +6 -6
  89. package/dist/cli/{pages-OQVOMVF5.js → pages-WXY4GGZG.js} +17 -17
  90. package/dist/cli/{pages-DXU3TNND.mjs → pages-Y3JKBS4B.mjs} +6 -6
  91. package/dist/cli/{play-6D7U66KO.js → play-NKSRPIAV.js} +321 -321
  92. package/dist/cli/{play-ZFG4HDDX.mjs → play-NPWWAQYK.mjs} +18 -18
  93. package/dist/cli/{providers-4RRQIK3Q.mjs → providers-CUIKFE6F.mjs} +6 -6
  94. package/dist/cli/{providers-H7R3Z5HS.js → providers-VNPJHXK5.js} +9 -9
  95. package/dist/cli/{quickstart-FQ5E5G6O.js → quickstart-6OTS2HDR.js} +13 -13
  96. package/dist/cli/{quickstart-TFKRPMCH.mjs → quickstart-PJYPKFZI.mjs} +5 -5
  97. package/dist/cli/{run-QRDJTXKB.js → run-2DLJBYFC.js} +41 -40
  98. package/dist/cli/{run-GRCGGUUM.mjs → run-AGX3EUK4.mjs} +26 -25
  99. package/dist/cli/{search-OEVSDE3U.mjs → search-DVIEJ2UQ.mjs} +7 -7
  100. package/dist/cli/search-Y7VFEFJJ.js +32 -0
  101. package/dist/cli/{search-output-F6KBWKT2.js → search-output-PFLNDCA7.js} +6 -6
  102. package/dist/cli/{search-output-VK5ZDVKL.mjs → search-output-TXSIPSPS.mjs} +4 -4
  103. package/dist/cli/{secrets-KKAAZENS.js → secrets-O5OQTFVD.js} +15 -15
  104. package/dist/cli/{secrets-DCRVVQV2.mjs → secrets-OAGXFXEX.mjs} +6 -6
  105. package/dist/cli/{sessions-XVBIXCXU.mjs → sessions-GBR5PGB6.mjs} +5 -5
  106. package/dist/cli/{sessions-FDHENJVG.js → sessions-WT7P3F73.js} +6 -6
  107. package/dist/cli/{settings-OBVR52US.mjs → settings-KGNBIFOU.mjs} +12 -11
  108. package/dist/cli/{settings-36HMWFAP.js → settings-U7UNDUDB.js} +79 -78
  109. package/dist/cli/{setup-M6OWOPMB.js → setup-4MZNDFKM.js} +60 -55
  110. package/dist/cli/{setup-KFYQZYP3.mjs → setup-PYWSU4YM.mjs} +17 -12
  111. package/dist/cli/{skills-AZDPA6IQ.mjs → skills-7Y6OBM7Z.mjs} +10 -7
  112. package/dist/cli/skills-BQC2323O.js +36 -0
  113. package/dist/cli/tools-732SZ4KV.js +57 -0
  114. package/dist/cli/{tools-F6XEUK7H.mjs → tools-O7L435CR.mjs} +19 -18
  115. package/dist/cli/update-PCYIUORM.js +34 -0
  116. package/dist/cli/{update-QMGJRICE.mjs → update-SPHIBY5L.mjs} +10 -9
  117. package/dist/cli/{workflow-M4YPUASM.js → workflow-GTDKPIEV.js} +17 -17
  118. package/dist/cli/{workflow-L5WNCAPB.mjs → workflow-ZRYO5J3K.mjs} +7 -7
  119. package/dist/index.js +9 -9
  120. package/dist/index.mjs +6 -6
  121. package/dist/install-integrity.json +106 -106
  122. package/dist/release.d.mts +1 -1
  123. package/dist/release.d.ts +1 -1
  124. package/dist/release.js +2 -2
  125. package/dist/release.mjs +1 -1
  126. package/dist/server.js +5 -5
  127. package/dist/server.mjs +3 -3
  128. package/package.json +1 -1
  129. package/dist/cli/auth-PSIS3XA6.js +0 -43
  130. package/dist/cli/describe-2V7H5LJP.js +0 -49
  131. package/dist/cli/git-DCADFTQ6.js +0 -25
  132. package/dist/cli/search-2FB7WQUS.js +0 -32
  133. package/dist/cli/skills-URCPOKZZ.js +0 -33
  134. package/dist/cli/tools-4G5J5NQP.js +0 -56
  135. package/dist/cli/update-UWVL2OYA.js +0 -33
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-YEX3VNAY.mjs";
4
+ } from "./chunk-OFCP66VS.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-WRJ6MEY5.mjs";
7
+ } from "./chunk-A3D677RX.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
5
+ var _chunk4IP5MLWUjs = require('./chunk-4IP5MLWU.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
9
+ var _chunkE26477MJjs = require('./chunk-E26477MJ.js');
10
10
 
11
11
  // src/cli/describe-options.ts
12
12
  function addDescribeOptions(command, options = {}) {
@@ -24,7 +24,7 @@ function addDescribeOptions(command, options = {}) {
24
24
  "Show only the in-play example, and explain how it takes inputs and returns outputs"
25
25
  ).option("--no-example", "Hide the run examples").option(
26
26
  "--full-schema",
27
- `Print every field: a long schema unfolded (over ${_chunkIAYSWZDJjs.SCHEMA_LINE_LIMIT} lines), list rows, and a tool's raw response`
27
+ `Print every field: a long schema unfolded (over ${_chunk4IP5MLWUjs.SCHEMA_LINE_LIMIT} lines), list rows, and a tool's raw response`
28
28
  ).option(
29
29
  "--fields <names>",
30
30
  "Show only these fields, comma-separated, plus every required input"
@@ -247,7 +247,7 @@ function projectRunDatasetCell(value) {
247
247
  const logicalValue = parseSerializedDatasetValue(value);
248
248
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
249
249
  if (typeof logicalValue === "object") {
250
- return _chunkRI2PLVD4js.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
250
+ return _chunkE26477MJjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
251
251
  }
252
252
  return logicalValue;
253
253
  }
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
642
642
  rows: rows.map((row) => record(row) ? row : { value: row }),
643
643
  columns
644
644
  });
645
- return _chunkRI2PLVD4js.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunkE26477MJjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
646
  }
647
647
  function writeExecutionOutput(result, options) {
648
648
  let temp;
@@ -868,9 +868,9 @@ function annotated(schema, values) {
868
868
  function shapeLines(title, data) {
869
869
  const schema = annotated(observedSchema(data), [data]);
870
870
  const block = (heading, fieldSchema) => {
871
- const { lines, folded } = _chunkIAYSWZDJjs.fieldBlockLines.call(void 0,
871
+ const { lines, folded } = _chunk4IP5MLWUjs.fieldBlockLines.call(void 0,
872
872
  heading,
873
- _chunkIAYSWZDJjs.schemaFields.call(void 0, fieldSchema)
873
+ _chunk4IP5MLWUjs.schemaFields.call(void 0, fieldSchema)
874
874
  );
875
875
  return [
876
876
  ...lines,
@@ -11,20 +11,23 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-Y3SG26KP.mjs";
14
+ } from "./chunk-27IBWHR5.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-YEX3VNAY.mjs";
17
+ } from "./chunk-OFCP66VS.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-2QUROYZU.mjs";
23
+ } from "./chunk-JC2M6XG2.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-WRJ6MEY5.mjs";
27
+ } from "./chunk-A3D677RX.mjs";
28
+ import {
29
+ DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE
30
+ } from "./chunk-TKLDKIJU.mjs";
28
31
 
29
32
  // src/cli/commands/skills.ts
30
33
  import { spawn } from "child_process";
@@ -73,6 +76,16 @@ function workspaceSkillRootsForAgents(agents) {
73
76
  )
74
77
  ].sort((a, b) => a.localeCompare(b));
75
78
  }
79
+ function deeplineGtmCodexSkillFile(root) {
80
+ if (root === null) return DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE;
81
+ return join(
82
+ root,
83
+ WORKSPACE_SKILL_ROOTS_BY_AGENT.codex[0],
84
+ "skills",
85
+ "deepline-gtm",
86
+ "SKILL.md"
87
+ );
88
+ }
76
89
  function installedSkillRoots(agent, scope, root) {
77
90
  if (scope === "local") {
78
91
  const dirs = root ? WORKSPACE_SKILL_ROOTS_BY_AGENT[agent] : void 0;
@@ -577,6 +590,7 @@ Examples:
577
590
 
578
591
  export {
579
592
  workspaceSkillRootsForAgents,
593
+ deeplineGtmCodexSkillFile,
580
594
  missingInstalledSkills,
581
595
  inferActiveSkillsScope,
582
596
  detectSkillsAgents,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-C55LNEUF.mjs";
6
+ } from "./chunk-MEYQOZPF.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-ONONSV2Q.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-YEX3VNAY.mjs";
14
+ } from "./chunk-OFCP66VS.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-HBL4PM5Q.mjs";
@@ -31,7 +31,7 @@ import {
31
31
  RETAINED_PIPELINE_RECEIVERS_HEADER,
32
32
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
33
33
  SDK_API_MAJOR
34
- } from "./chunk-WRJ6MEY5.mjs";
34
+ } from "./chunk-A3D677RX.mjs";
35
35
  import {
36
36
  CustomerDbQueryOutcomeUnknownError
37
37
  } from "./chunk-4QF2K7TM.mjs";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-S5PMBDY6.mjs";
3
+ } from "./chunk-QWJZSPCV.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-H66YVVT7.mjs";
6
+ } from "./chunk-CSSOP7XG.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
10
10
  findNamed
11
- } from "./chunk-J7EENGKJ.mjs";
11
+ } from "./chunk-CGDUFVNE.mjs";
12
12
  import {
13
13
  SCHEMA_LINE_LIMIT
14
- } from "./chunk-JVHOS3K3.mjs";
14
+ } from "./chunk-DEJIN4DF.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-QXWE6PHI.mjs";
17
+ } from "./chunk-3M5VPIRL.mjs";
18
18
  import {
19
19
  printCommandEnvelope
20
- } from "./chunk-YEX3VNAY.mjs";
20
+ } from "./chunk-OFCP66VS.mjs";
21
21
 
22
22
  // src/cli/commands/describe.ts
23
23
  import { writeFileSync } from "fs";
@@ -2,10 +2,10 @@ import {
2
2
  HttpClient,
3
3
  resolveCliCommandContext,
4
4
  resolveConfig
5
- } from "./chunk-2QUROYZU.mjs";
5
+ } from "./chunk-JC2M6XG2.mjs";
6
6
  import {
7
7
  detectAgentRuntime
8
- } from "./chunk-WRJ6MEY5.mjs";
8
+ } from "./chunk-A3D677RX.mjs";
9
9
  import {
10
10
  DeeplineError,
11
11
  serializeToolExecutionFailure
@@ -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.489",
52
+ version: "0.3.490",
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,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk5DEJ3TLBjs = require('./chunk-5DEJ3TLB.js');
3
+ var _chunk6TTPAGNXjs = require('./chunk-6TTPAGNX.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkUZ7VPOTAjs = require('./chunk-UZ7VPOTA.js');
7
+ var _chunkYYN2O43Cjs = require('./chunk-YYN2O43C.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunk5DEJ3TLBjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunk6TTPAGNXjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkUZ7VPOTAjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkUZ7VPOTAjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkYYN2O43Cjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkYYN2O43Cjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -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(); } }
2
2
 
3
- var _chunk5DEJ3TLBjs = require('./chunk-5DEJ3TLB.js');
3
+ var _chunk6TTPAGNXjs = require('./chunk-6TTPAGNX.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkUZ7VPOTAjs = require('./chunk-UZ7VPOTA.js');
7
+ var _chunkYYN2O43Cjs = require('./chunk-YYN2O43C.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkUZ7VPOTAjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunk5DEJ3TLBjs.PlayClient)(
142
- new (0, _chunkUZ7VPOTAjs.HttpClient)(config),
140
+ const config = _chunkYYN2O43Cjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunk6TTPAGNXjs.PlayClient)(
142
+ new (0, _chunkYYN2O43Cjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-H66YVVT7.mjs";
5
+ } from "./chunk-CSSOP7XG.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-NBHCEVWY.mjs";
9
+ } from "./chunk-V47SUOAE.mjs";
10
10
  import {
11
11
  arrayField,
12
12
  formatModelDescription,
@@ -25,10 +25,10 @@ import {
25
25
  toolInputFieldsForDisplay,
26
26
  toolMetadataJsonForDescribe,
27
27
  toolOutputFieldsForDisplay
28
- } from "./chunk-INW22YP7.mjs";
28
+ } from "./chunk-FTXIJTV2.mjs";
29
29
  import {
30
30
  rateLimitQualifier
31
- } from "./chunk-JVHOS3K3.mjs";
31
+ } from "./chunk-DEJIN4DF.mjs";
32
32
  import {
33
33
  shellQuote
34
34
  } from "./chunk-OVDNJAJN.mjs";
@@ -48,10 +48,10 @@ import {
48
48
  } from "./chunk-FIVKWNMT.mjs";
49
49
  import {
50
50
  DeeplineClient
51
- } from "./chunk-QXWE6PHI.mjs";
51
+ } from "./chunk-3M5VPIRL.mjs";
52
52
  import {
53
53
  validateExecutionIdempotencyKey
54
- } from "./chunk-C55LNEUF.mjs";
54
+ } from "./chunk-MEYQOZPF.mjs";
55
55
  import {
56
56
  stableStringify
57
57
  } from "./chunk-UBKA33KY.mjs";
@@ -61,18 +61,18 @@ import {
61
61
  maybeAutoUpdateAndRelaunch,
62
62
  registerCompatibilityCatalog,
63
63
  runToolExecuteStage
64
- } from "./chunk-LMUOUIBV.mjs";
64
+ } from "./chunk-7W53Y4VH.mjs";
65
65
  import {
66
66
  isCliTraceEnabled,
67
67
  recordCliTrace,
68
68
  resolveCliMaintenancePolicy
69
- } from "./chunk-35N4S2E6.mjs";
69
+ } from "./chunk-2HYJU4LJ.mjs";
70
70
  import {
71
71
  checkSdkCompatibility,
72
72
  enforceSdkCompatibilityResponse,
73
73
  flushDeferredSkillsSyncNotices,
74
74
  syncSdkSkillsIfNeeded
75
- } from "./chunk-Y3SG26KP.mjs";
75
+ } from "./chunk-27IBWHR5.mjs";
76
76
  import {
77
77
  printCommandEnvelope,
78
78
  printCompactJson,
@@ -80,12 +80,12 @@ import {
80
80
  printJsonError,
81
81
  renderCommandEnvelopeText,
82
82
  shouldEmitJson
83
- } from "./chunk-YEX3VNAY.mjs";
83
+ } from "./chunk-OFCP66VS.mjs";
84
84
  import {
85
85
  readSdkSkillsLocalVersion,
86
86
  resolveConfig,
87
87
  sdkCliStateDirPath
88
- } from "./chunk-2QUROYZU.mjs";
88
+ } from "./chunk-JC2M6XG2.mjs";
89
89
  import {
90
90
  DeeplineError
91
91
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1038,7 +1038,7 @@ Examples:
1038
1038
  process.exitCode = await narrowView();
1039
1039
  return;
1040
1040
  }
1041
- const { describeAnything } = await import("./describe-Z7GWMGKU.mjs");
1041
+ const { describeAnything } = await import("./describe-F4K54VXB.mjs");
1042
1042
  process.exitCode = await describeAnything(
1043
1043
  toolId,
1044
1044
  {
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
5
+ var _chunkE26477MJjs = require('./chunk-E26477MJ.js');
6
6
 
7
7
 
8
- var _chunkUZ7VPOTAjs = require('./chunk-UZ7VPOTA.js');
8
+ var _chunkYYN2O43Cjs = require('./chunk-YYN2O43C.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 } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkE26477MJjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
39
+ _chunkE26477MJjs.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 } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkE26477MJjs.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
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
139
+ _chunkE26477MJjs.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 } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkE26477MJjs.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
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
153
+ _chunkE26477MJjs.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 } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkE26477MJjs.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 } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkE26477MJjs.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
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
200
+ _chunkE26477MJjs.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 } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkE26477MJjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
227
+ _chunkE26477MJjs.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 } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkE26477MJjs.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
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
254
+ _chunkE26477MJjs.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 } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkE26477MJjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
269
+ _chunkE26477MJjs.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 = _chunkUZ7VPOTAjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkYYN2O43Cjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkRI2PLVD4js.openInBrowser.call(void 0, connectUrl);
292
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkE26477MJjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkE26477MJjs.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 } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkE26477MJjs.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
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
322
+ _chunkE26477MJjs.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 } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkE26477MJjs.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
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
371
+ _chunkE26477MJjs.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 } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkE26477MJjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
392
+ _chunkE26477MJjs.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 _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; } var _class;
2
2
 
3
- var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
3
+ var _chunkE26477MJjs = require('./chunk-E26477MJ.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunkRI2PLVD4js.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkE26477MJjs.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunkRI2PLVD4js.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkE26477MJjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);