deepline 0.3.417 → 0.3.419

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 +2 -0
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +21 -2
  4. package/dist/bundling-sources/shared_libs/plays/tool-category-descriptions.ts +9 -0
  5. package/dist/cli/{auth-2WNDS7OY.mjs → auth-S4XGFFWB.mjs} +4 -4
  6. package/dist/cli/auth-SF265NLP.js +40 -0
  7. package/dist/cli/{billing-4Z7QGTTO.mjs → billing-3MM7VKKA.mjs} +4 -4
  8. package/dist/cli/{billing-P26TYS3F.js → billing-WQMBRCK3.js} +73 -73
  9. package/dist/cli/{chunk-MRBM5H5V.mjs → chunk-2ADW356Z.mjs} +4 -4
  10. package/dist/cli/{chunk-Y2HY7GL3.js → chunk-2MQXRENZ.js} +20 -20
  11. package/dist/cli/{chunk-EHGFSE44.js → chunk-2Y2RQZRO.js} +1 -1
  12. package/dist/cli/{chunk-RRBYMSN6.mjs → chunk-3NUJRZN5.mjs} +2 -2
  13. package/dist/cli/{chunk-A3G7FZXB.js → chunk-5R3CAKPM.js} +35 -35
  14. package/dist/cli/{chunk-Z7IVSY3A.mjs → chunk-6LLEMZL5.mjs} +3 -3
  15. package/dist/cli/{chunk-3U6CYHMT.mjs → chunk-7IXS77PX.mjs} +1 -1
  16. package/dist/cli/{chunk-NATVQHG6.mjs → chunk-BQIUAAPX.mjs} +5 -5
  17. package/dist/cli/{chunk-C3YRH3EQ.js → chunk-CKAQIJTU.js} +2 -2
  18. package/dist/cli/{chunk-3FPDXTYQ.js → chunk-D4P53G7A.js} +16 -16
  19. package/dist/cli/{chunk-L5YPTOLF.js → chunk-EP5EVGFD.js} +10 -10
  20. package/dist/cli/{chunk-CCRV2MCO.mjs → chunk-EPMYNLKZ.mjs} +1 -1
  21. package/dist/cli/{chunk-IX6CRC7R.js → chunk-GEHD7ZHY.js} +6 -6
  22. package/dist/cli/{chunk-GRIE5VE3.mjs → chunk-IK3XE6GT.mjs} +1 -1
  23. package/dist/cli/{chunk-W2DLQJ35.mjs → chunk-JKDMQDJD.mjs} +3 -3
  24. package/dist/cli/{chunk-OW7VBN4Q.js → chunk-JUBHX5FK.js} +6 -6
  25. package/dist/cli/{chunk-H25KUAJM.mjs → chunk-KABBXKFO.mjs} +1 -1
  26. package/dist/cli/{chunk-YGZV4IVP.js → chunk-LA7V3VIF.js} +85 -79
  27. package/dist/cli/{chunk-723EDOP2.mjs → chunk-LB7PZRYJ.mjs} +2 -2
  28. package/dist/cli/{chunk-IHHPUALO.mjs → chunk-LIZP3TPY.mjs} +1 -1
  29. package/dist/cli/{chunk-ECKCIGJC.mjs → chunk-MUVGAGXH.mjs} +1 -1
  30. package/dist/cli/{chunk-ULGMHMTD.js → chunk-NJI4U7IR.js} +8 -8
  31. package/dist/cli/{chunk-R7HAELOE.js → chunk-NPXUFHMI.js} +52 -52
  32. package/dist/cli/{chunk-TNFYPFMU.mjs → chunk-OVMJ57X5.mjs} +14 -8
  33. package/dist/cli/{chunk-H67BP5SQ.mjs → chunk-PGHT4ESO.mjs} +3 -3
  34. package/dist/cli/{chunk-OLCY3CTW.js → chunk-PR5T2MON.js} +2 -2
  35. package/dist/cli/{chunk-5D477CAK.js → chunk-THGNECIR.js} +8 -8
  36. package/dist/cli/{chunk-WRM2OWWT.mjs → chunk-TLGTZ2XN.mjs} +2 -2
  37. package/dist/cli/{chunk-QLP4Z6JG.js → chunk-VZSBJVI4.js} +4 -4
  38. package/dist/cli/{chunk-ZJFUKGDR.js → chunk-WHXZGCKE.js} +26 -26
  39. package/dist/cli/{chunk-QS7WRPCP.js → chunk-WPJBDOVV.js} +50 -50
  40. package/dist/cli/{chunk-2HQOCIFE.mjs → chunk-ZCINJS4P.mjs} +2 -2
  41. package/dist/cli/{csv-UKZDQDD5.mjs → csv-JKBKQMJS.mjs} +3 -3
  42. package/dist/cli/{csv-PHHEOCRC.js → csv-SILKSRLY.js} +12 -12
  43. package/dist/cli/{db-DUMQYDPZ.js → db-HUOYJZ2S.js} +25 -25
  44. package/dist/cli/{db-K3N4AJHP.mjs → db-Y67OZBKB.mjs} +4 -4
  45. package/dist/cli/{describe-LYS7YLGP.mjs → describe-7PO235KZ.mjs} +12 -12
  46. package/dist/cli/{describe-RSQAAZWX.js → describe-RN25ACS6.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-FQI2EGXY.js → executions-4NQOE73P.js} +6 -6
  50. package/dist/cli/{executions-A7OT35MH.mjs → executions-RNAT43OA.mjs} +4 -4
  51. package/dist/cli/{feedback-EGTCQ4VW.js → feedback-QW2H7PZ7.js} +7 -7
  52. package/dist/cli/{feedback-E77JS5G4.mjs → feedback-WCPPBNAK.mjs} +3 -3
  53. package/dist/cli/{git-Y66QSXUA.mjs → git-GLIWIFE3.mjs} +4 -4
  54. package/dist/cli/git-ODPWPPCD.js +24 -0
  55. package/dist/cli/index.js +131 -131
  56. package/dist/cli/index.mjs +36 -36
  57. package/dist/cli/{legacy-noops-E7NYDS2S.mjs → legacy-noops-ADDQUU26.mjs} +4 -4
  58. package/dist/cli/{legacy-noops-BUEO7ZIG.js → legacy-noops-HUWR7BMO.js} +7 -7
  59. package/dist/cli/{monitors-IGOA4L5O.js → monitors-TBY3OEWL.js} +84 -84
  60. package/dist/cli/{monitors-YGX7XZHL.mjs → monitors-ZR5BRAFH.mjs} +4 -4
  61. package/dist/cli/{org-QOVN4IJE.js → org-4JCEJFF4.js} +64 -64
  62. package/dist/cli/{org-IUCMNFCG.mjs → org-UBJ2J7I3.mjs} +4 -4
  63. package/dist/cli/{play-BASBWJY7.mjs → play-WD5JVYPK.mjs} +10 -10
  64. package/dist/cli/{play-GCQETZW6.js → play-X3ULEXAW.js} +283 -283
  65. package/dist/cli/{providers-RF7LEMAP.mjs → providers-5FHAFCKF.mjs} +4 -4
  66. package/dist/cli/{providers-VC5QBJZ3.js → providers-FPUQNBZT.js} +7 -7
  67. package/dist/cli/{quickstart-64EULHRG.js → quickstart-ARNCLYA5.js} +5 -5
  68. package/dist/cli/{quickstart-7GAOQSQA.mjs → quickstart-XFQSAVDZ.mjs} +3 -3
  69. package/dist/cli/{search-UOMJJUVT.mjs → search-GPFQ7DVB.mjs} +5 -5
  70. package/dist/cli/search-TPHG6627.js +30 -0
  71. package/dist/cli/{secrets-MIIKANZ7.mjs → secrets-T4DP2OUW.mjs} +4 -4
  72. package/dist/cli/{secrets-GGXQOSGV.js → secrets-X4SI4ODH.js} +13 -13
  73. package/dist/cli/{sessions-L7OMZEPU.js → sessions-CMRGH7VP.js} +5 -5
  74. package/dist/cli/{sessions-VQENKFWC.mjs → sessions-S374MOV3.mjs} +4 -4
  75. package/dist/cli/{settings-GKI7CZ62.js → settings-IWEDBHC4.js} +75 -75
  76. package/dist/cli/{settings-JCJPJCKF.mjs → settings-RGXD3IYO.mjs} +8 -8
  77. package/dist/cli/{setup-BN25RDMT.mjs → setup-N6UOP274.mjs} +7 -7
  78. package/dist/cli/{setup-P4AM7K34.js → setup-PQHKVOYA.js} +42 -42
  79. package/dist/cli/skills-2LO7KAVM.js +29 -0
  80. package/dist/cli/{skills-3M2OV4EQ.mjs → skills-DHOK5DZB.mjs} +5 -5
  81. package/dist/cli/{tools-337Y5WWW.mjs → tools-5Q4246NF.mjs} +12 -12
  82. package/dist/cli/tools-JGBXER7K.js +44 -0
  83. package/dist/cli/{update-A3Y6PY7O.mjs → update-2LQIYQVX.mjs} +7 -7
  84. package/dist/cli/update-V7WJDCBC.js +31 -0
  85. package/dist/cli/{workflow-LPO25MX7.mjs → workflow-DBIMUE7K.mjs} +5 -5
  86. package/dist/cli/{workflow-XQATHEOS.js → workflow-LDRMZBCK.js} +15 -15
  87. package/dist/{client-CNfY1AzH.d.mts → client-CCWIUnk7.d.mts} +2 -0
  88. package/dist/{client-CNjtvsqn.d.ts → client-vHqBm-OL.d.ts} +2 -0
  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-3NIULVL4.js +0 -40
  104. package/dist/cli/git-PHGV243L.js +0 -24
  105. package/dist/cli/search-7TOXLL4V.js +0 -30
  106. package/dist/cli/skills-NGE2YPQJ.js +0 -29
  107. package/dist/cli/tools-ROHOYYLK.js +0 -44
  108. package/dist/cli/update-6ZC2XCW6.js +0 -31
@@ -28,7 +28,7 @@ var _chunkKXMNM4AQjs = require('./chunk-KXMNM4AQ.js');
28
28
 
29
29
 
30
30
 
31
- var _chunkQLP4Z6JGjs = require('./chunk-QLP4Z6JG.js');
31
+ var _chunkVZSBJVI4js = require('./chunk-VZSBJVI4.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(_chunkQLP4Z6JGjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
650
+ atomicToolsSupported = response2.headers.get(_chunkVZSBJVI4js.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
- [_chunkQLP4Z6JGjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
- ...receivers ? { [_chunkQLP4Z6JGjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1000
+ [_chunkVZSBJVI4js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
+ ...receivers ? { [_chunkVZSBJVI4js.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(_chunkQLP4Z6JGjs.SDK_API_MAJOR) } : headers,
1072
+ _optionalChain([options, 'optionalAccess', _61 => _61.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkVZSBJVI4js.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 = _chunkQLP4Z6JGjs.resolveConfig.call(void 0, options);
1138
+ const config = _chunkVZSBJVI4js.resolveConfig.call(void 0, options);
1139
1139
  return new PlayClient(
1140
- new (0, _chunkQLP4Z6JGjs.HttpClient)(config),
1140
+ new (0, _chunkVZSBJVI4js.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 { [_chunkQLP4Z6JGjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3154
+ return { [_chunkVZSBJVI4js.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 = _chunkQLP4Z6JGjs.resolveConfig.call(void 0, options);
3392
+ this.config = _chunkVZSBJVI4js.resolveConfig.call(void 0, options);
3393
3393
  this.environment = _nullishCoalesce(this.config.environment, () => ( process.env));
3394
- this.http = new (0, _chunkQLP4Z6JGjs.HttpClient)(this.config);
3394
+ this.http = new (0, _chunkVZSBJVI4js.HttpClient)(this.config);
3395
3395
  this.playClient = new PlayClient(this.http, this.environment);
3396
3396
  this.toolCalls = new ToolCalls(
3397
3397
  this.http,
@@ -3,7 +3,7 @@ import {
3
3
  detectAgentRuntime,
4
4
  resolveCliCommandContext,
5
5
  resolveConfig
6
- } from "./chunk-H25KUAJM.mjs";
6
+ } from "./chunk-KABBXKFO.mjs";
7
7
  import {
8
8
  DeeplineError,
9
9
  serializeToolExecutionFailure
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkC3YRH3EQjs = require('./chunk-C3YRH3EQ.js');
3
+ var _chunkCKAQIJTUjs = require('./chunk-CKAQIJTU.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkR7HAELOEjs = require('./chunk-R7HAELOE.js');
8
+ var _chunkNPXUFHMIjs = require('./chunk-NPXUFHMI.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") _chunkR7HAELOEjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
- const compatibility = await _chunkC3YRH3EQjs.traceCliSpan.call(void 0,
17
+ if (maintenancePolicy !== "off") _chunkNPXUFHMIjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
+ const compatibility = await _chunkCKAQIJTUjs.traceCliSpan.call(void 0,
19
19
  "cli.sdk_compatibility",
20
20
  { baseUrl, command: "plays run" },
21
- () => _chunkR7HAELOEjs.checkSdkCompatibility.call(void 0, baseUrl, {
21
+ () => _chunkNPXUFHMIjs.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
- _chunkR7HAELOEjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
27
+ _chunkNPXUFHMIjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
28
28
  quietAdvisory: true
29
29
  });
30
30
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-CCRV2MCO.mjs";
3
+ } from "./chunk-EPMYNLKZ.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-ECKCIGJC.mjs";
6
+ } from "./chunk-MUVGAGXH.mjs";
7
7
  import {
8
8
  printCommandEnvelope,
9
9
  renderCommandEnvelopeText
10
- } from "./chunk-CCRV2MCO.mjs";
10
+ } from "./chunk-EPMYNLKZ.mjs";
11
11
  import {
12
12
  resolveConfig,
13
13
  sdkCliStateDirPath
14
- } from "./chunk-H25KUAJM.mjs";
14
+ } from "./chunk-KABBXKFO.mjs";
15
15
  import {
16
16
  __commonJS,
17
17
  __toESM
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkQLP4Z6JGjs = require('./chunk-QLP4Z6JG.js');
6
+ var _chunkVZSBJVI4js = require('./chunk-VZSBJVI4.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 = _chunkQLP4Z6JGjs.resolveConfig.call(void 0, );
292
- return { config, http: new (0, _chunkQLP4Z6JGjs.HttpClient)(config) };
291
+ const config = _chunkVZSBJVI4js.resolveConfig.call(void 0, );
292
+ return { config, http: new (0, _chunkVZSBJVI4js.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: _chunkQLP4Z6JGjs.detectAgentRuntime.call(void 0, )
632
+ agent_runtime: _chunkVZSBJVI4js.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 _chunkQLP4Z6JGjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
879
+ return _chunkVZSBJVI4js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
880
880
  ...valueRecord,
881
- command_context: _chunkQLP4Z6JGjs.resolveCliCommandContext.call(void 0, )
881
+ command_context: _chunkVZSBJVI4js.resolveCliCommandContext.call(void 0, )
882
882
  } : value;
883
883
  }
884
884
  function printJson(value, fields) {
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-E4IXDAZI.mjs";
18
18
  import {
19
19
  SDK_RELEASE
20
- } from "./chunk-3U6CYHMT.mjs";
20
+ } from "./chunk-7IXS77PX.mjs";
21
21
 
22
22
  // src/config.ts
23
23
  import {