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,23 +1,23 @@
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 _chunkFH7ZABHWjs = require('./chunk-FH7ZABHW.js');
3
+ var _chunkYPUDIEZXjs = require('./chunk-YPUDIEZX.js');
4
4
 
5
5
 
6
- var _chunkGW6HV7Z7js = require('./chunk-GW6HV7Z7.js');
6
+ var _chunkLZ37B62Kjs = require('./chunk-LZ37B62K.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkCSBMKHTVjs = require('./chunk-CSBMKHTV.js');
11
+ var _chunkHHTVRICEjs = require('./chunk-HHTVRICE.js');
12
12
 
13
13
 
14
- var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
14
+ var _chunk4IP5MLWUjs = require('./chunk-4IP5MLWU.js');
15
15
 
16
16
 
17
- var _chunkF3TDT57Mjs = require('./chunk-F3TDT57M.js');
17
+ var _chunkPVMN4OE2js = require('./chunk-PVMN4OE2.js');
18
18
 
19
19
 
20
- var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
20
+ var _chunkE26477MJjs = require('./chunk-E26477MJ.js');
21
21
 
22
22
  // src/cli/commands/describe.ts
23
23
  var _fs = require('fs');
@@ -26,16 +26,16 @@ function nothingNamed(name) {
26
26
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
27
27
  }
28
28
  function findNamed2(name, options) {
29
- return _chunkCSBMKHTVjs.findNamed.call(void 0, name, options, _chunkCSBMKHTVjs.describeLookupsFor.call(void 0, new (0, _chunkF3TDT57Mjs.DeeplineClient)()));
29
+ return _chunkHHTVRICEjs.findNamed.call(void 0, name, options, _chunkHHTVRICEjs.describeLookupsFor.call(void 0, new (0, _chunkPVMN4OE2js.DeeplineClient)()));
30
30
  }
31
31
  async function describeAnything(name, options, onMissing) {
32
- const client = new (0, _chunkF3TDT57Mjs.DeeplineClient)();
33
- const lookups = _chunkCSBMKHTVjs.describeLookupsFor.call(void 0, client);
34
- const outcome = await _chunkCSBMKHTVjs.describeName.call(void 0, name, options, {
32
+ const client = new (0, _chunkPVMN4OE2js.DeeplineClient)();
33
+ const lookups = _chunkHHTVRICEjs.describeLookupsFor.call(void 0, client);
34
+ const outcome = await _chunkHHTVRICEjs.describeName.call(void 0, name, options, {
35
35
  ...lookups,
36
36
  // `tools describe` has already fetched the tool for its compatibility check.
37
37
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
38
- seedStarterScript: _chunkFH7ZABHWjs.seedToolListScript
38
+ seedStarterScript: _chunkYPUDIEZXjs.seedToolListScript
39
39
  });
40
40
  if (outcome.status === "missing") {
41
41
  if (onMissing) return onMissing();
@@ -60,18 +60,18 @@ function deliver(envelope, lines, { json, out }) {
60
60
  ` : text;
61
61
  _fs.writeFileSync.call(void 0, path, content);
62
62
  const bytes = Buffer.byteLength(content);
63
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
63
+ _chunkE26477MJjs.printCommandEnvelope.call(void 0,
64
64
  { path, bytes },
65
65
  { json, text: `Wrote ${path} (${bytes} bytes)
66
66
  ` }
67
67
  );
68
68
  return 0;
69
69
  }
70
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0, envelope, { json, text });
70
+ _chunkE26477MJjs.printCommandEnvelope.call(void 0, envelope, { json, text });
71
71
  return 0;
72
72
  }
73
73
  function registerDescribeCommand(program) {
74
- _chunkGW6HV7Z7js.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
74
+ _chunkLZ37B62Kjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
75
75
  "Describe anything search returns: a tool, monitor type, or play."
76
76
  ).addHelpText(
77
77
  "after",
@@ -108,7 +108,7 @@ Schema size and format:
108
108
  by default; the output names them, and --verbose shows them.
109
109
  --fields email,miss_reason shows only the fields you name, plus every
110
110
  required input, and names the rest. Use it when you know what you need.
111
- A schema over ${_chunkIAYSWZDJjs.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
111
+ A schema over ${_chunk4IP5MLWUjs.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
112
112
  names. A shape used more than once is printed once under Types.
113
113
  --full-schema the normal output, with the schema not folded
114
114
  --schema-only only the schema, not folded, and nothing else
@@ -31,7 +31,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
31
31
 
32
32
 
33
33
 
34
- var _chunkK2RUSHZ7js = require('./chunk-K2RUSHZ7.js');
34
+ var _chunkFPYESYBOjs = require('./chunk-FPYESYBO.js');
35
35
 
36
36
 
37
37
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -652,7 +652,7 @@ var ToolCalls = class {
652
652
  idempotencyKey,
653
653
  onResponse: (response2) => {
654
654
  lastResponse = null;
655
- atomicToolsSupported = response2.headers.get(_chunkK2RUSHZ7js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
655
+ atomicToolsSupported = response2.headers.get(_chunkFPYESYBOjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
656
656
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
657
657
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
658
658
  try {
@@ -1031,8 +1031,8 @@ function runtimeSelectionHeaders(runtime, env) {
1031
1031
  }
1032
1032
  const receivers = _optionalChain([env, 'access', _52 => _52.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]);
1033
1033
  return {
1034
- [_chunkK2RUSHZ7js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
- ...receivers ? { [_chunkK2RUSHZ7js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1034
+ [_chunkFPYESYBOjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
+ ...receivers ? { [_chunkFPYESYBOjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1036
1036
  };
1037
1037
  }
1038
1038
  function normalizeTestPolicyOverrides(value, source) {
@@ -1103,7 +1103,7 @@ var PlayClient = class {
1103
1103
  return _chunkAUQQVDABjs.startPlayRun.call(void 0,
1104
1104
  this.http,
1105
1105
  resolved.request,
1106
- _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkK2RUSHZ7js.SDK_API_MAJOR) } : headers,
1106
+ _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkFPYESYBOjs.SDK_API_MAJOR) } : headers,
1107
1107
  options
1108
1108
  );
1109
1109
  }
@@ -3200,7 +3200,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3200
3200
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3201
3201
  );
3202
3202
  }
3203
- return { [_chunkK2RUSHZ7js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3203
+ return { [_chunkFPYESYBOjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3204
3204
  }
3205
3205
  function sleep(ms) {
3206
3206
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4001,7 +4001,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4001
4001
  );
4002
4002
  const headers = _optionalChain([options, 'optionalAccess', _181 => _181.cliAdmission]) ? {
4003
4003
  ...runtimeHeaders,
4004
- "X-Deepline-API-Major": String(_chunkK2RUSHZ7js.SDK_API_MAJOR)
4004
+ "X-Deepline-API-Major": String(_chunkFPYESYBOjs.SDK_API_MAJOR)
4005
4005
  } : runtimeHeaders;
4006
4006
  const http = this.http;
4007
4007
  let submitted = false;
@@ -4,20 +4,20 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-ZICPJKMP.mjs";
7
+ } from "./chunk-BL5Q5JY7.mjs";
8
8
  import {
9
9
  isCiEnvironment
10
- } from "./chunk-Y3SG26KP.mjs";
10
+ } from "./chunk-27IBWHR5.mjs";
11
11
  import {
12
12
  addJsonNotice,
13
13
  isJsonOutputMode
14
- } from "./chunk-YEX3VNAY.mjs";
14
+ } from "./chunk-OFCP66VS.mjs";
15
15
  import {
16
16
  resolveApiKeyForBaseUrl
17
- } from "./chunk-2QUROYZU.mjs";
17
+ } from "./chunk-JC2M6XG2.mjs";
18
18
  import {
19
19
  SDK_VERSION
20
- } from "./chunk-WRJ6MEY5.mjs";
20
+ } from "./chunk-A3D677RX.mjs";
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-HBL4PM5Q.mjs";
17
17
  import {
18
18
  SDK_RELEASE
19
- } from "./chunk-4GWEZPZR.mjs";
19
+ } from "./chunk-PIENQTDE.mjs";
20
20
 
21
21
  // src/version.ts
22
22
  var SDK_VERSION = SDK_RELEASE.version;
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkYSB44HZBjs = require('./chunk-YSB44HZB.js');
3
+ var _chunkUQXHBCHUjs = require('./chunk-UQXHBCHU.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkUI67QLIRjs = require('./chunk-UI67QLIR.js');
8
+ var _chunkHHGAY2A4js = require('./chunk-HHGAY2A4.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkUI67QLIRjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkYSB44HZBjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkHHGAY2A4js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkUQXHBCHUjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkUI67QLIRjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkHHGAY2A4js.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkUI67QLIRjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkHHGAY2A4js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-6PHHQDM6.mjs";
4
+ } from "./chunk-TVZJ6XWM.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-RACN23LT.mjs";
7
+ } from "./chunk-MBQZMHE6.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-Y3SG26KP.mjs";
10
+ } from "./chunk-27IBWHR5.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-YEX3VNAY.mjs";
13
+ } from "./chunk-OFCP66VS.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-2QUROYZU.mjs";
16
+ } from "./chunk-JC2M6XG2.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-35N4S2E6.mjs";
3
+ } from "./chunk-2HYJU4LJ.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-Y3SG26KP.mjs";
8
+ } from "./chunk-27IBWHR5.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -3,7 +3,7 @@ import {
3
3
  formatModelDescription,
4
4
  publicToolSchemas,
5
5
  toolMetadataJsonForDescribe
6
- } from "./chunk-INW22YP7.mjs";
6
+ } from "./chunk-FTXIJTV2.mjs";
7
7
  import {
8
8
  buildPlayDashboardUrl,
9
9
  byokLines,
@@ -13,7 +13,7 @@ import {
13
13
  examples,
14
14
  schemaLines,
15
15
  topLevelField
16
- } from "./chunk-JVHOS3K3.mjs";
16
+ } from "./chunk-DEJIN4DF.mjs";
17
17
  import {
18
18
  DeeplineError
19
19
  } from "./chunk-HBL4PM5Q.mjs";
@@ -2,11 +2,11 @@ import {
2
2
  SCHEMA_LINE_LIMIT,
3
3
  fieldBlockLines,
4
4
  schemaFields
5
- } from "./chunk-JVHOS3K3.mjs";
5
+ } from "./chunk-DEJIN4DF.mjs";
6
6
  import {
7
7
  csvSafeJsonString,
8
8
  csvStringFromRows
9
- } from "./chunk-YEX3VNAY.mjs";
9
+ } from "./chunk-OFCP66VS.mjs";
10
10
 
11
11
  // src/cli/describe-options.ts
12
12
  function addDescribeOptions(command, options = {}) {
@@ -196,7 +196,7 @@ function rateLimitSummary(limits) {
196
196
  864e5: "day"
197
197
  };
198
198
  const parts = (Array.isArray(limits) ? limits : []).flatMap((limit) => {
199
- if (!isRecord(limit)) return [];
199
+ if (!isRecord(limit) || limit.scope === "provider_shared") return [];
200
200
  const { requestsPerWindow: requests, windowMs } = limit;
201
201
  if (typeof requests !== "number" || typeof windowMs !== "number") return [];
202
202
  return [
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkUZ7VPOTAjs = require('./chunk-UZ7VPOTA.js');
5
+ var _chunkYYN2O43Cjs = require('./chunk-YYN2O43C.js');
6
6
 
7
7
 
8
- var _chunkK2RUSHZ7js = require('./chunk-K2RUSHZ7.js');
8
+ var _chunkFPYESYBOjs = require('./chunk-FPYESYBO.js');
9
9
 
10
10
 
11
11
 
@@ -290,8 +290,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
290
290
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
291
291
  var defaultBrowserCommandRunner = childProcess;
292
292
  function getAuthedHttpClient() {
293
- const config = _chunkUZ7VPOTAjs.resolveConfig.call(void 0, );
294
- return { config, http: new (0, _chunkUZ7VPOTAjs.HttpClient)(config) };
293
+ const config = _chunkYYN2O43Cjs.resolveConfig.call(void 0, );
294
+ return { config, http: new (0, _chunkYYN2O43Cjs.HttpClient)(config) };
295
295
  }
296
296
  function stableOsUserId() {
297
297
  try {
@@ -631,7 +631,7 @@ function collectLocalEnvInfo() {
631
631
  os: `${process.platform} ${process.arch}`,
632
632
  node_version: process.version,
633
633
  home_dir: homeDir,
634
- agent_runtime: _chunkK2RUSHZ7js.detectAgentRuntime.call(void 0, )
634
+ agent_runtime: _chunkFPYESYBOjs.detectAgentRuntime.call(void 0, )
635
635
  };
636
636
  const env = process.env;
637
637
  const optional = {
@@ -878,9 +878,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
878
878
  }
879
879
  function withAgentCommandContext(value) {
880
880
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
881
- return _chunkK2RUSHZ7js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
881
+ return _chunkFPYESYBOjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
882
882
  ...valueRecord,
883
- command_context: _chunkUZ7VPOTAjs.resolveCliCommandContext.call(void 0, )
883
+ command_context: _chunkYYN2O43Cjs.resolveCliCommandContext.call(void 0, )
884
884
  } : value;
885
885
  }
886
886
  function printJson(value, fields) {
@@ -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,19 +1,19 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkR23HZ6AVjs = require('./chunk-R23HZ6AV.js');
4
+ var _chunkXSGJKXMPjs = require('./chunk-XSGJKXMP.js');
5
5
 
6
6
 
7
- var _chunk4EFD6R2Vjs = require('./chunk-4EFD6R2V.js');
7
+ var _chunkTCBYQX5Njs = require('./chunk-TCBYQX5N.js');
8
8
 
9
9
 
10
- var _chunkUI67QLIRjs = require('./chunk-UI67QLIR.js');
10
+ var _chunkHHGAY2A4js = require('./chunk-HHGAY2A4.js');
11
11
 
12
12
 
13
- var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
13
+ var _chunkE26477MJjs = require('./chunk-E26477MJ.js');
14
14
 
15
15
 
16
- var _chunkUZ7VPOTAjs = require('./chunk-UZ7VPOTA.js');
16
+ var _chunkYYN2O43Cjs = require('./chunk-YYN2O43C.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkUI67QLIRjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkHHGAY2A4js.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkR23HZ6AVjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkR23HZ6AVjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkXSGJKXMPjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkXSGJKXMPjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkUZ7VPOTAjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkYYN2O43Cjs.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkUI67QLIRjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkHHGAY2A4js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkUZ7VPOTAjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkYYN2O43Cjs.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunk4EFD6R2Vjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkTCBYQX5Njs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkE26477MJjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
1284
+ _chunkE26477MJjs.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkE26477MJjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
1327
+ _chunkE26477MJjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -16,12 +16,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
16
16
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
17
17
 
18
18
 
19
- var _chunkUYZNRLDEjs = require('./chunk-UYZNRLDE.js');
19
+ var _chunkEPQZ42PYjs = require('./chunk-EPQZ42PY.js');
20
20
 
21
21
  // src/version.ts
22
- var SDK_VERSION = _chunkUYZNRLDEjs.SDK_RELEASE.version;
23
- var SDK_API_MAJOR = _chunkUYZNRLDEjs.SDK_RELEASE.contracts.api.currentMajor;
24
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkUYZNRLDEjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
22
+ var SDK_VERSION = _chunkEPQZ42PYjs.SDK_RELEASE.version;
23
+ var SDK_API_MAJOR = _chunkEPQZ42PYjs.SDK_RELEASE.contracts.api.currentMajor;
24
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkEPQZ42PYjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
25
25
 
26
26
  // src/agent-runtime.ts
27
27
  var _os = require('os');
@@ -2,7 +2,7 @@ import {
2
2
  rateLimitSummary,
3
3
  schemaField,
4
4
  schemaFields
5
- } from "./chunk-JVHOS3K3.mjs";
5
+ } from "./chunk-DEJIN4DF.mjs";
6
6
  import {
7
7
  Capability,
8
8
  observedMaxText
@@ -318,10 +318,8 @@ function describedTool(tool, requestedToolId) {
318
318
  runner: playReference ? { via: "play", reference: playReference } : { via: "tool", toolId: String(contract.toolId), inputSchema }
319
319
  };
320
320
  }
321
- function withPlanRateLimit(planRequestsPerMinute, sharedLimit) {
322
- if (typeof planRequestsPerMinute !== "number") return sharedLimit;
323
- const plan = `${planRequestsPerMinute} requests/minute for this workspace on its plan`;
324
- return sharedLimit ? `${plan} (shared ceiling: ${sharedLimit})` : plan;
321
+ function withPlanRateLimit(planRequestsPerMinute, configuredLimit) {
322
+ return typeof planRequestsPerMinute === "number" ? `${planRequestsPerMinute} requests/minute for this workspace on its plan` : configuredLimit;
325
323
  }
326
324
  function sampleValueForField(field) {
327
325
  const name = stringField(field, "name").toLowerCase();