deepline 0.3.445 → 0.3.447

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 (106) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +3 -0
  3. package/dist/cli/{auth-QNWYRLML.mjs → auth-COGJHSV4.mjs} +4 -4
  4. package/dist/cli/auth-MHBOTH5I.js +40 -0
  5. package/dist/cli/{billing-ULHQPQ2L.mjs → billing-LMW3OXJG.mjs} +4 -4
  6. package/dist/cli/{billing-3HFPC32I.js → billing-O4VZKEBX.js} +73 -73
  7. package/dist/cli/{chunk-GGMJ2VTZ.js → chunk-3HQHWCXO.js} +246 -246
  8. package/dist/cli/{chunk-T7SLOS2J.mjs → chunk-3T74FJWG.mjs} +4 -4
  9. package/dist/cli/{chunk-TABMEHIP.js → chunk-4OGNPUTA.js} +4 -4
  10. package/dist/cli/{chunk-THZL4XHV.js → chunk-5FRUCHTH.js} +8 -8
  11. package/dist/cli/{chunk-SAN2HUYZ.mjs → chunk-6EQRPWRM.mjs} +11 -11
  12. package/dist/cli/{chunk-MMMA4OLB.js → chunk-7DEPUMTR.js} +8 -8
  13. package/dist/cli/{chunk-2L2D2SXH.mjs → chunk-7Y6TUHBC.mjs} +2 -2
  14. package/dist/cli/{chunk-3SELRVWB.mjs → chunk-AWV47AZQ.mjs} +5 -5
  15. package/dist/cli/{chunk-HFXG7GGH.js → chunk-AZ3I7WXB.js} +6 -6
  16. package/dist/cli/{chunk-SSRKG7I5.mjs → chunk-BJ5JX32Q.mjs} +3 -3
  17. package/dist/cli/{chunk-E5JZH6CI.mjs → chunk-DOTKSF3L.mjs} +1 -1
  18. package/dist/cli/{chunk-6DQTJ3DY.js → chunk-DQJOTP5P.js} +35 -35
  19. package/dist/cli/{chunk-V247SCRQ.js → chunk-DXMNRVCV.js} +20 -20
  20. package/dist/cli/{chunk-IXJN2NLA.mjs → chunk-ETLBBI6B.mjs} +1 -1
  21. package/dist/cli/{chunk-TX6F2BB6.js → chunk-F4IUMSC6.js} +2 -2
  22. package/dist/cli/{chunk-FB7VBDA3.mjs → chunk-G3QV4EOW.mjs} +3 -3
  23. package/dist/cli/{chunk-HU6PIQDF.mjs → chunk-G7L27KZB.mjs} +2 -2
  24. package/dist/cli/{chunk-H6HZMADG.js → chunk-GC7P7QC4.js} +52 -52
  25. package/dist/cli/{chunk-6LVOC2HD.mjs → chunk-H5YDQBLP.mjs} +1 -1
  26. package/dist/cli/{chunk-W25OALCJ.mjs → chunk-HDFRJ4IT.mjs} +32 -5
  27. package/dist/cli/{chunk-LBZUIZKQ.mjs → chunk-JNO7JR6A.mjs} +2 -2
  28. package/dist/cli/{chunk-BEI6ZL6E.mjs → chunk-JRQFJMP5.mjs} +1 -1
  29. package/dist/cli/{chunk-KNAKCMGJ.js → chunk-KGQNIA37.js} +17 -17
  30. package/dist/cli/{chunk-732QWWPG.js → chunk-LJE4SJYM.js} +10 -10
  31. package/dist/cli/{chunk-C54S4QPU.mjs → chunk-O2WRDCE6.mjs} +2 -2
  32. package/dist/cli/{chunk-5JJ6JYTL.js → chunk-POS24KGO.js} +6 -6
  33. package/dist/cli/{chunk-PP66EATA.js → chunk-PQUUWFXY.js} +2 -2
  34. package/dist/cli/{chunk-CQ3ZZ3RL.js → chunk-QSKHP36B.js} +16 -16
  35. package/dist/cli/{chunk-ZRWX23RQ.mjs → chunk-RTP24G2N.mjs} +1 -1
  36. package/dist/cli/{chunk-WQPJQEDE.mjs → chunk-SLEUWLJE.mjs} +4 -3
  37. package/dist/cli/{chunk-EI2NN6HP.js → chunk-SVSWKNUO.js} +1 -1
  38. package/dist/cli/{chunk-FC7LS3Y5.js → chunk-TFFZZSOA.js} +50 -50
  39. package/dist/cli/{chunk-OAVHRVPA.js → chunk-U57YILAD.js} +2 -2
  40. package/dist/cli/{chunk-COCZROBN.js → chunk-VFK2XNEX.js} +26 -26
  41. package/dist/cli/{chunk-NHWNFLFK.mjs → chunk-VN2S5AD7.mjs} +2 -2
  42. package/dist/cli/{chunk-3OBHZADJ.mjs → chunk-XPZVU6DO.mjs} +1 -1
  43. package/dist/cli/{chunk-YXY6FCRU.mjs → chunk-XQTTO5ZK.mjs} +3 -3
  44. package/dist/cli/{chunk-FKAHVFPJ.mjs → chunk-YBWAG72P.mjs} +1 -1
  45. package/dist/cli/{chunk-QFXPA2E4.js → chunk-Z2GUFYT6.js} +9 -8
  46. package/dist/cli/{chunk-LRNYRGCN.js → chunk-Z2XUZC34.js} +32 -5
  47. package/dist/cli/{csv-QXMJNWPE.mjs → csv-THN4ZLUI.mjs} +3 -3
  48. package/dist/cli/{csv-NAATVV3O.js → csv-TKHPVZTQ.js} +12 -12
  49. package/dist/cli/{db-2ADNWVDN.mjs → db-4OLJNFTE.mjs} +4 -4
  50. package/dist/cli/{db-IB426AKH.js → db-JRFN65AN.js} +25 -25
  51. package/dist/cli/{describe-6T2HEQ2V.js → describe-OER7TYUP.js} +24 -24
  52. package/dist/cli/{describe-UM4PAI2I.mjs → describe-PC2VEBPG.mjs} +16 -16
  53. package/dist/cli/describe-core.js +4 -4
  54. package/dist/cli/describe-core.mjs +3 -3
  55. package/dist/cli/{executions-3WVCUBHH.js → executions-H4GQTNRL.js} +6 -6
  56. package/dist/cli/{executions-4NCMXHDI.mjs → executions-UCUKWRNI.mjs} +4 -4
  57. package/dist/cli/{feedback-C4IBRZKH.js → feedback-4N3WCV2J.js} +7 -7
  58. package/dist/cli/{feedback-OKLN3VLD.mjs → feedback-GYMC5YZB.mjs} +3 -3
  59. package/dist/cli/{git-A6XP6LIW.mjs → git-AXXF7WZP.mjs} +4 -4
  60. package/dist/cli/git-LHHJFXJL.js +24 -0
  61. package/dist/cli/index.js +131 -131
  62. package/dist/cli/index.mjs +36 -36
  63. package/dist/cli/{legacy-noops-LCQXCYQY.mjs → legacy-noops-GOH56MJB.mjs} +4 -4
  64. package/dist/cli/{legacy-noops-ALY2PBIT.js → legacy-noops-N7OL7HA5.js} +7 -7
  65. package/dist/cli/{monitors-T3YN2RYD.mjs → monitors-57FT6XVT.mjs} +4 -4
  66. package/dist/cli/{monitors-5C6PSVAT.js → monitors-JH63QWM2.js} +84 -84
  67. package/dist/cli/{org-4V76A3LD.js → org-2XHVAWMG.js} +66 -66
  68. package/dist/cli/{org-7WLA42NC.mjs → org-SWUF6IMF.mjs} +4 -4
  69. package/dist/cli/{play-WRHGX3WB.mjs → play-5LWJRKWA.mjs} +12 -12
  70. package/dist/cli/{play-UT3TLBM6.js → play-ZFOIZD4I.js} +296 -296
  71. package/dist/cli/{providers-ZR4SRGJF.js → providers-74MVZVMN.js} +7 -7
  72. package/dist/cli/{providers-UA2DJLBP.mjs → providers-D4C2JSKB.mjs} +4 -4
  73. package/dist/cli/{quickstart-IT46STSN.mjs → quickstart-2UBYYZZ2.mjs} +3 -3
  74. package/dist/cli/{quickstart-QN5FXZWS.js → quickstart-V2VPGBNV.js} +5 -5
  75. package/dist/cli/{search-QKK5SGMV.mjs → search-AEF4GNGW.mjs} +5 -5
  76. package/dist/cli/search-LT23PNKG.js +30 -0
  77. package/dist/cli/{secrets-FX3IVBUP.js → secrets-HOPL4L2K.js} +13 -13
  78. package/dist/cli/{secrets-GWXM2FH4.mjs → secrets-LSA45EST.mjs} +4 -4
  79. package/dist/cli/{sessions-G6LCRYTC.js → sessions-YAO2R3VM.js} +5 -5
  80. package/dist/cli/{sessions-FDZ24XY4.mjs → sessions-ZDW2TWJD.mjs} +4 -4
  81. package/dist/cli/{settings-6W42BCZE.js → settings-5NVBSJE3.js} +75 -75
  82. package/dist/cli/{settings-77ODFZUE.mjs → settings-L7VDUB4S.mjs} +8 -8
  83. package/dist/cli/{setup-5OBB5UGB.mjs → setup-2SNQ6KRO.mjs} +7 -7
  84. package/dist/cli/{setup-T3FF5IRN.js → setup-E2KCE7JQ.js} +42 -42
  85. package/dist/cli/{skills-ADG7CBUP.mjs → skills-3AJAHTG3.mjs} +5 -5
  86. package/dist/cli/skills-UOZ4C3PQ.js +29 -0
  87. package/dist/cli/tools-4QF5UT7T.js +44 -0
  88. package/dist/cli/{tools-OBZRYZ7K.mjs → tools-VSZOCX3I.mjs} +15 -15
  89. package/dist/cli/{update-ODKOYFCA.mjs → update-ML7WYXTR.mjs} +7 -7
  90. package/dist/cli/update-MQV3ZPDE.js +31 -0
  91. package/dist/cli/{workflow-TBLNAOXJ.js → workflow-PNOMCXFA.js} +15 -15
  92. package/dist/cli/{workflow-RGKEVZSP.mjs → workflow-XW3F2T4N.mjs} +5 -5
  93. package/dist/index.js +6 -6
  94. package/dist/index.mjs +3 -3
  95. package/dist/install-integrity.json +86 -86
  96. package/dist/release.d.mts +1 -1
  97. package/dist/release.d.ts +1 -1
  98. package/dist/release.js +2 -2
  99. package/dist/release.mjs +1 -1
  100. package/package.json +1 -1
  101. package/dist/cli/auth-ZA4FRBSX.js +0 -40
  102. package/dist/cli/git-RRZOWDCN.js +0 -24
  103. package/dist/cli/search-INZD56I2.js +0 -30
  104. package/dist/cli/skills-ALCERVAB.js +0 -29
  105. package/dist/cli/tools-FNWIMNNK.js +0 -44
  106. package/dist/cli/update-N7I4MXRK.js +0 -31
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkQFXPA2E4js = require('./chunk-QFXPA2E4.js');
6
+ var _chunkZ2GUFYT6js = require('./chunk-Z2GUFYT6.js');
7
7
 
8
8
 
9
9
 
@@ -13,7 +13,7 @@ var _chunkQFXPA2E4js = require('./chunk-QFXPA2E4.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkLRNYRGCNjs = require('./chunk-LRNYRGCN.js');
16
+ var _chunkZ2XUZC34js = require('./chunk-Z2XUZC34.js');
17
17
 
18
18
 
19
19
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -31,13 +31,13 @@ var VIEWS = {
31
31
  details: model,
32
32
  lines: [
33
33
  ...unlisted,
34
- ..._chunkQFXPA2E4js.formatModelDescription.call(void 0, model).trimEnd().split("\n")
34
+ ..._chunkZ2GUFYT6js.formatModelDescription.call(void 0, model).trimEnd().split("\n")
35
35
  ]
36
36
  };
37
37
  },
38
38
  byok: async (_value, tool) => ({
39
39
  details: _nullishCoalesce(tool.byok, () => ( {})),
40
- lines: _chunkLRNYRGCNjs.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
40
+ lines: _chunkZ2XUZC34js.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
41
41
  })
42
42
  };
43
43
  var isFeatureView = (value) => typeof value === "string" && Object.hasOwn(VIEWS, value);
@@ -113,7 +113,7 @@ async function describeName(name, options, lookups) {
113
113
  const record2 = await lookups.play(reference);
114
114
  if (!record2) return null;
115
115
  return {
116
- described: _chunkLRNYRGCNjs.describedPlay.call(void 0, record2),
116
+ described: _chunkZ2XUZC34js.describedPlay.call(void 0, record2),
117
117
  record: { ...record2 },
118
118
  schemas: {
119
119
  inputSchema: _nullishCoalesce(record2.inputSchema, () => ( null)),
@@ -128,18 +128,18 @@ async function describeName(name, options, lookups) {
128
128
  const features = toolFeatures(record2);
129
129
  return {
130
130
  described: {
131
- ..._chunkQFXPA2E4js.describedTool.call(void 0, record2, name),
131
+ ..._chunkZ2GUFYT6js.describedTool.call(void 0, record2, name),
132
132
  // Shown when the tool runs only on your own credentials; otherwise
133
133
  // it is a feature, described with --feature byok.
134
134
  ..._optionalChain([byok, 'optionalAccess', _3 => _3.required]) === true ? { byok } : {},
135
135
  ...features.length ? { features: features.map(({ view: _view, ...feature }) => feature) } : {}
136
136
  },
137
- record: _chunkQFXPA2E4js.toolMetadataJsonForDescribe.call(void 0,
137
+ record: _chunkZ2GUFYT6js.toolMetadataJsonForDescribe.call(void 0,
138
138
  record2,
139
139
  name,
140
140
  lookups.seedStarterScript
141
141
  ),
142
- schemas: _chunkQFXPA2E4js.publicToolSchemas.call(void 0, record2),
142
+ schemas: _chunkZ2GUFYT6js.publicToolSchemas.call(void 0, record2),
143
143
  feature: (featureName, value) => {
144
144
  const feature = features.find(({ name: name2 }) => name2 === featureName);
145
145
  return feature ? describeFeature(record2, feature, value, {
@@ -170,7 +170,7 @@ async function describeName(name, options, lookups) {
170
170
  const note = shadows ? `Showing your workspace play "${name}". It has the same name as a Deepline ${shadows.kind.replace("_", " ")}; see that one with: ${shadows.describeCommand}` : null;
171
171
  const verbose = options.verbose === true;
172
172
  const isPlay = described.kind === "prebuilt_play" || described.kind === "custom_play";
173
- const dashboardUrl = isPlay ? _chunkLRNYRGCNjs.buildPlayDashboardUrl.call(void 0, lookups.baseUrl, described.id) : null;
173
+ const dashboardUrl = isPlay ? _chunkZ2XUZC34js.buildPlayDashboardUrl.call(void 0, lookups.baseUrl, described.id) : null;
174
174
  if (options.webUrl) {
175
175
  if (!dashboardUrl) {
176
176
  return {
@@ -234,7 +234,7 @@ async function describeName(name, options, lookups) {
234
234
  },
235
235
  lines: [
236
236
  `${described.id} [${described.kind.replace("_", " ")}]`,
237
- ..._chunkLRNYRGCNjs.schemaLines.call(void 0, described, {
237
+ ..._chunkZ2XUZC34js.schemaLines.call(void 0, described, {
238
238
  full: true,
239
239
  secondary: true,
240
240
  ...fields.length ? { fields } : {}
@@ -243,17 +243,17 @@ async function describeName(name, options, lookups) {
243
243
  } : {
244
244
  envelope: {
245
245
  ...summary,
246
- inputs: inputs.map(_chunkLRNYRGCNjs.topLevelField),
247
- outputs: outputs.map(_chunkLRNYRGCNjs.topLevelField),
248
- ...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunkLRNYRGCNjs.topLevelField) } : {},
249
- ...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunkLRNYRGCNjs.topLevelField) } : {},
250
- runExamples: _chunkLRNYRGCNjs.examples.call(void 0, described, { verbose }),
246
+ inputs: inputs.map(_chunkZ2XUZC34js.topLevelField),
247
+ outputs: outputs.map(_chunkZ2XUZC34js.topLevelField),
248
+ ...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunkZ2XUZC34js.topLevelField) } : {},
249
+ ...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunkZ2XUZC34js.topLevelField) } : {},
250
+ runExamples: _chunkZ2XUZC34js.examples.call(void 0, described, { verbose }),
251
251
  ...dashboardUrl ? { dashboardUrl } : {},
252
252
  ...shadows ? { shadows, note } : {}
253
253
  },
254
254
  lines: [
255
255
  ...note ? [`Note: ${note}`, ""] : [],
256
- ..._chunkLRNYRGCNjs.describedLines.call(void 0, described, {
256
+ ..._chunkZ2XUZC34js.describedLines.call(void 0, described, {
257
257
  cli: shown && (!named || options.cliExample === true),
258
258
  play: shown && (!named || options.playExample === true),
259
259
  explain: named,
@@ -270,7 +270,7 @@ async function describeName(name, options, lookups) {
270
270
  // its value stands, so callers of the older commands read what they did.
271
271
  { ...view.envelope, ...record }
272
272
  ) : {
273
- ..._chunkLRNYRGCNjs.describedJson.call(void 0, described, {
273
+ ..._chunkZ2XUZC34js.describedJson.call(void 0, described, {
274
274
  secondary: verbose || fields.length > 0,
275
275
  verbose
276
276
  }),
@@ -28,7 +28,7 @@ var _chunkKXMNM4AQjs = require('./chunk-KXMNM4AQ.js');
28
28
 
29
29
 
30
30
 
31
- var _chunkTABMEHIPjs = require('./chunk-TABMEHIP.js');
31
+ var _chunk4OGNPUTAjs = require('./chunk-4OGNPUTA.js');
32
32
 
33
33
 
34
34
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -647,7 +647,7 @@ var ToolCalls = class {
647
647
  idempotencyKey,
648
648
  onResponse: (response2) => {
649
649
  lastResponse = null;
650
- atomicToolsSupported = response2.headers.get(_chunkTABMEHIPjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
650
+ atomicToolsSupported = response2.headers.get(_chunk4OGNPUTAjs.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
- [_chunkTABMEHIPjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
- ...receivers ? { [_chunkTABMEHIPjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1000
+ [_chunk4OGNPUTAjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
+ ...receivers ? { [_chunk4OGNPUTAjs.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 _chunkJKVRBCZLjs.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(_chunkTABMEHIPjs.SDK_API_MAJOR) } : headers,
1072
+ _optionalChain([options, 'optionalAccess', _61 => _61.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk4OGNPUTAjs.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 = _chunkTABMEHIPjs.resolveConfig.call(void 0, options);
1138
+ const config = _chunk4OGNPUTAjs.resolveConfig.call(void 0, options);
1139
1139
  return new PlayClient(
1140
- new (0, _chunkTABMEHIPjs.HttpClient)(config),
1140
+ new (0, _chunk4OGNPUTAjs.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 { [_chunkTABMEHIPjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3154
+ return { [_chunk4OGNPUTAjs.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 = _chunkTABMEHIPjs.resolveConfig.call(void 0, options);
3392
+ this.config = _chunk4OGNPUTAjs.resolveConfig.call(void 0, options);
3393
3393
  this.environment = _nullishCoalesce(this.config.environment, () => ( process.env));
3394
- this.http = new (0, _chunkTABMEHIPjs.HttpClient)(this.config);
3394
+ this.http = new (0, _chunk4OGNPUTAjs.HttpClient)(this.config);
3395
3395
  this.playClient = new PlayClient(this.http, this.environment);
3396
3396
  this.toolCalls = new ToolCalls(
3397
3397
  this.http,
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-3OBHZADJ.mjs";
5
+ } from "./chunk-XPZVU6DO.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-ZRWX23RQ.mjs";
28
+ } from "./chunk-RTP24G2N.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 _chunkTABMEHIPjs = require('./chunk-TABMEHIP.js');
6
+ var _chunk4OGNPUTAjs = require('./chunk-4OGNPUTA.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 = _chunkTABMEHIPjs.resolveConfig.call(void 0, );
292
- return { config, http: new (0, _chunkTABMEHIPjs.HttpClient)(config) };
291
+ const config = _chunk4OGNPUTAjs.resolveConfig.call(void 0, );
292
+ return { config, http: new (0, _chunk4OGNPUTAjs.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: _chunkTABMEHIPjs.detectAgentRuntime.call(void 0, )
632
+ agent_runtime: _chunk4OGNPUTAjs.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 _chunkTABMEHIPjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
879
+ return _chunk4OGNPUTAjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
880
880
  ...valueRecord,
881
- command_context: _chunkTABMEHIPjs.resolveCliCommandContext.call(void 0, )
881
+ command_context: _chunk4OGNPUTAjs.resolveCliCommandContext.call(void 0, )
882
882
  } : value;
883
883
  }
884
884
  function printJson(value, fields) {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkLRNYRGCNjs = require('./chunk-LRNYRGCN.js');
3
+ var _chunkZ2XUZC34js = require('./chunk-Z2XUZC34.js');
4
4
 
5
5
  // src/cli/describe-options.ts
6
6
  function addDescribeOptions(command, options = {}) {
@@ -18,7 +18,7 @@ function addDescribeOptions(command, options = {}) {
18
18
  "Show only the in-play example, and explain how it takes inputs and returns outputs"
19
19
  ).option("--no-example", "Hide the run examples").option(
20
20
  "--full-schema",
21
- `Print every field: a long schema unfolded (over ${_chunkLRNYRGCNjs.SCHEMA_LINE_LIMIT} lines), list rows, and a tool's raw response`
21
+ `Print every field: a long schema unfolded (over ${_chunkZ2XUZC34js.SCHEMA_LINE_LIMIT} lines), list rows, and a tool's raw response`
22
22
  ).option(
23
23
  "--fields <names>",
24
24
  "Show only these fields, comma-separated, plus every required input"
@@ -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 _chunkTX6F2BB6js = require('./chunk-TX6F2BB6.js');
4
+ var _chunkF4IUMSC6js = require('./chunk-F4IUMSC6.js');
5
5
 
6
6
 
7
- var _chunk6DQTJ3DYjs = require('./chunk-6DQTJ3DY.js');
7
+ var _chunkDQJOTP5Pjs = require('./chunk-DQJOTP5P.js');
8
8
 
9
9
 
10
- var _chunkH6HZMADGjs = require('./chunk-H6HZMADG.js');
10
+ var _chunkGC7P7QC4js = require('./chunk-GC7P7QC4.js');
11
11
 
12
12
 
13
- var _chunk5JJ6JYTLjs = require('./chunk-5JJ6JYTL.js');
13
+ var _chunkPOS24KGOjs = require('./chunk-POS24KGO.js');
14
14
 
15
15
 
16
- var _chunkTABMEHIPjs = require('./chunk-TABMEHIP.js');
16
+ var _chunk4OGNPUTAjs = require('./chunk-4OGNPUTA.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 = _chunkH6HZMADGjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkGC7P7QC4js.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 ? _chunkTX6F2BB6js.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkTX6F2BB6js.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 ? _chunkF4IUMSC6js.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkF4IUMSC6js.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()]) || _chunkTABMEHIPjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunk4OGNPUTAjs.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 = _chunkH6HZMADGjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkGC7P7QC4js.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, () => ( _chunkTABMEHIPjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk4OGNPUTAjs.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 _chunk6DQTJ3DYjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkDQJOTP5Pjs.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
- _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkPOS24KGOjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0,
1284
+ _chunkPOS24KGOjs.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
- _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkPOS24KGOjs.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
- _chunk5JJ6JYTLjs.printCommandEnvelope.call(void 0,
1327
+ _chunkPOS24KGOjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-HBL4PM5Q.mjs";
18
18
  import {
19
19
  SDK_RELEASE
20
- } from "./chunk-6LVOC2HD.mjs";
20
+ } from "./chunk-H5YDQBLP.mjs";
21
21
 
22
22
  // src/config.ts
23
23
  import {
@@ -2,7 +2,7 @@ import {
2
2
  rateLimitSummary,
3
3
  schemaField,
4
4
  schemaFields
5
- } from "./chunk-W25OALCJ.mjs";
5
+ } from "./chunk-HDFRJ4IT.mjs";
6
6
  import {
7
7
  Capability,
8
8
  observedMaxText
@@ -398,6 +398,7 @@ function describedTool(tool, requestedToolId) {
398
398
  const billing = stringField(cost, "billingSourceLabel");
399
399
  const deprecation = recordField(contract, "deprecation");
400
400
  const getters = recordField(contract, "getters");
401
+ const inputSchema = jsonSchemaOf(recordField(contract, "inputSchema"));
401
402
  const outputSchema = jsonSchemaOf(recordField(contract, "outputSchema"));
402
403
  const toolResult = recordField(tool, "toolResult", "tool_result");
403
404
  const getterDetails = (kind) => new Map(
@@ -480,10 +481,10 @@ function describedTool(tool, requestedToolId) {
480
481
  rateLimit: rateLimitSummary(
481
482
  recordField(contract, "executionMetadata").configuredRateLimits
482
483
  ),
483
- inputs: schemaFields(jsonSchemaOf(recordField(contract, "inputSchema"))),
484
+ inputs: schemaFields(inputSchema),
484
485
  outputs: [...lists, ...values].map(({ field }) => field),
485
486
  rawResponse: schemaFields(outputSchema),
486
- runner: playReference ? { via: "play", reference: playReference } : { via: "tool", toolId: String(contract.toolId) }
487
+ runner: playReference ? { via: "play", reference: playReference } : { via: "tool", toolId: String(contract.toolId), inputSchema }
487
488
  };
488
489
  }
489
490
  function sampleValueForField(field) {
@@ -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.445",
52
+ version: "0.3.447",
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."