deepline 0.3.442 → 0.3.443

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 (123) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/types.ts +4 -0
  3. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +34 -21
  4. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +1 -1
  5. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +11 -0
  6. package/dist/cli/auth-AZVWLMZN.js +40 -0
  7. package/dist/cli/{auth-CUZJMTNS.mjs → auth-CP2CAI7J.mjs} +4 -4
  8. package/dist/cli/{billing-W2U5VKFI.js → billing-JYSP3C76.js} +73 -73
  9. package/dist/cli/{billing-SWH3WAMC.mjs → billing-N36FL3GI.mjs} +4 -4
  10. package/dist/cli/{chunk-P4GMPKMW.mjs → chunk-4A45A2MH.mjs} +1 -1
  11. package/dist/cli/{chunk-TP4TMEML.mjs → chunk-6NUGMJQA.mjs} +4 -1
  12. package/dist/cli/{chunk-C4WXHMKN.js → chunk-6RKZVPFA.js} +2 -2
  13. package/dist/cli/{chunk-7BH4ZOWE.js → chunk-757V3FDW.js} +2 -2
  14. package/dist/cli/{chunk-RWK35AB3.js → chunk-75VUSWF3.js} +6 -6
  15. package/dist/cli/{chunk-YGMUSZLV.mjs → chunk-B6AWQQK6.mjs} +3 -3
  16. package/dist/cli/{chunk-HYJKJJUM.js → chunk-BE2GX674.js} +20 -20
  17. package/dist/cli/{chunk-SOCWFREM.js → chunk-CGZ2KKPM.js} +10 -10
  18. package/dist/cli/{chunk-2GNX6SCO.mjs → chunk-CO3S56DX.mjs} +7 -2
  19. package/dist/cli/{chunk-VLQWLPQU.mjs → chunk-DOKTNYMQ.mjs} +1 -1
  20. package/dist/cli/{chunk-5ZQEDZDQ.mjs → chunk-DPEPHLAF.mjs} +1 -1
  21. package/dist/cli/{chunk-L3JU24MF.js → chunk-EWXXWSQM.js} +11 -8
  22. package/dist/cli/{chunk-KPKU53YO.mjs → chunk-FKAHVFPJ.mjs} +1 -1
  23. package/dist/cli/{chunk-WY4W6PRD.mjs → chunk-FRZLWUM6.mjs} +3 -3
  24. package/dist/cli/{chunk-SMM2EKDC.mjs → chunk-FU7ELMKS.mjs} +1 -1
  25. package/dist/cli/{chunk-KKTRHDLN.mjs → chunk-GVPHPLAX.mjs} +3 -3
  26. package/dist/cli/{chunk-GEHYAQSI.mjs → chunk-HHOJXBQQ.mjs} +2 -2
  27. package/dist/cli/{chunk-DM6Q634K.js → chunk-HTAXXY66.js} +7 -2
  28. package/dist/cli/{chunk-SKXQZUMX.mjs → chunk-HU6PIQDF.mjs} +2 -2
  29. package/dist/cli/{chunk-D7IDBZDR.js → chunk-K4ELTQAT.js} +8 -8
  30. package/dist/cli/{chunk-77DW6WSO.js → chunk-KJH4C2IJ.js} +249 -245
  31. package/dist/cli/{chunk-GEQOPXOS.js → chunk-KNAKCMGJ.js} +17 -17
  32. package/dist/cli/{chunk-2JHQ24IT.js → chunk-KZ2VAXB6.js} +16 -16
  33. package/dist/cli/{chunk-6YWIRIOI.mjs → chunk-L3CW2G7L.mjs} +2 -2
  34. package/dist/cli/{chunk-VUYUI35Q.js → chunk-LRNYRGCN.js} +20 -11
  35. package/dist/cli/{chunk-NBFXQCWM.js → chunk-LVM7CSAH.js} +8 -8
  36. package/dist/cli/{chunk-O765GAOA.mjs → chunk-MQYBXB2J.mjs} +15 -11
  37. package/dist/cli/{chunk-7ICMVQL5.mjs → chunk-MRW6XPDH.mjs} +1 -1
  38. package/dist/cli/{chunk-SZUU2WTZ.js → chunk-MWUTMJCU.js} +1 -1
  39. package/dist/cli/{chunk-AR5YQQF5.mjs → chunk-MZLZNISS.mjs} +2 -2
  40. package/dist/cli/{chunk-K2DHO3IM.js → chunk-OSYT3QQD.js} +26 -26
  41. package/dist/cli/{chunk-GXOQRZXG.js → chunk-PP66EATA.js} +2 -2
  42. package/dist/cli/{chunk-2GVUZA6C.js → chunk-PXXIBSBG.js} +4 -4
  43. package/dist/cli/{chunk-R2QWSSAG.js → chunk-QFXPA2E4.js} +7 -7
  44. package/dist/cli/{chunk-L2FWEP4G.mjs → chunk-VXGLDGOF.mjs} +4 -4
  45. package/dist/cli/{chunk-MLJBCS3E.mjs → chunk-W25OALCJ.mjs} +10 -1
  46. package/dist/cli/{chunk-ODWSTSRJ.mjs → chunk-WOUFCLTM.mjs} +5 -5
  47. package/dist/cli/{chunk-LXTSVUZN.mjs → chunk-WQPJQEDE.mjs} +1 -1
  48. package/dist/cli/{chunk-RR2LZVRA.js → chunk-XIJL6UMV.js} +35 -35
  49. package/dist/cli/{chunk-DUUY2JKP.mjs → chunk-Y45RAHEA.mjs} +2 -2
  50. package/dist/cli/{chunk-D5IOUCJS.js → chunk-YV6N4BF2.js} +52 -52
  51. package/dist/cli/{chunk-LCT6MTYQ.js → chunk-ZXJQ26QG.js} +50 -50
  52. package/dist/cli/command-docs.js +2 -2
  53. package/dist/cli/command-docs.mjs +1 -1
  54. package/dist/cli/{csv-HSR32EPA.mjs → csv-Z53PJEPZ.mjs} +3 -3
  55. package/dist/cli/{csv-C5Z4OZQN.js → csv-ZQFVZ4R3.js} +12 -12
  56. package/dist/cli/{db-JJGI4J5I.mjs → db-4CNIBR5P.mjs} +4 -4
  57. package/dist/cli/{db-AK4ZYYRP.js → db-OHBRQL2N.js} +25 -25
  58. package/dist/cli/{describe-JVSD6F2G.js → describe-AEM7SYXF.js} +24 -24
  59. package/dist/cli/{describe-C35MTKF4.mjs → describe-GAR4MEGX.mjs} +16 -16
  60. package/dist/cli/describe-core.d.mts +1 -1
  61. package/dist/cli/describe-core.d.ts +1 -1
  62. package/dist/cli/describe-core.js +4 -4
  63. package/dist/cli/describe-core.mjs +3 -3
  64. package/dist/cli/{executions-ZEA7O4PX.js → executions-CST4IDL3.js} +6 -6
  65. package/dist/cli/{executions-ZECDB4NA.mjs → executions-YBZPFAD6.mjs} +4 -4
  66. package/dist/cli/{feedback-W7UL4V47.mjs → feedback-FHJE6YDU.mjs} +3 -3
  67. package/dist/cli/{feedback-WQC4SX75.js → feedback-MEJZGB4C.js} +7 -7
  68. package/dist/cli/{git-QBB7LEAV.mjs → git-FIGXIUM5.mjs} +4 -4
  69. package/dist/cli/git-PANOVLJC.js +24 -0
  70. package/dist/cli/index.js +135 -135
  71. package/dist/cli/index.mjs +37 -37
  72. package/dist/cli/{legacy-noops-E5NFHPKQ.mjs → legacy-noops-AXHAIAMH.mjs} +4 -4
  73. package/dist/cli/{legacy-noops-2QPJTEF4.js → legacy-noops-BE3VVOYG.js} +7 -7
  74. package/dist/cli/{monitors-MWBA46VZ.js → monitors-5OTJUY43.js} +84 -84
  75. package/dist/cli/{monitors-E56RLT6N.mjs → monitors-YTWELXP7.mjs} +4 -4
  76. package/dist/cli/{org-KE2DDK5A.mjs → org-WCKS4ZDK.mjs} +4 -4
  77. package/dist/cli/{org-HGIWXACI.js → org-Y5DMTECB.js} +66 -66
  78. package/dist/cli/{play-WO5UXBZM.js → play-B6Y6ZCPV.js} +296 -296
  79. package/dist/cli/{play-LGTF4IYG.mjs → play-UYAZYXHV.mjs} +12 -12
  80. package/dist/cli/{providers-77KQS23B.mjs → providers-IZVVGFAO.mjs} +4 -4
  81. package/dist/cli/{providers-AIJPT54M.js → providers-U7BLFNT4.js} +7 -7
  82. package/dist/cli/{quickstart-EFMHLU4T.mjs → quickstart-BY7N6GXZ.mjs} +3 -3
  83. package/dist/cli/{quickstart-CZQFBJVH.js → quickstart-MTNOTGIH.js} +5 -5
  84. package/dist/cli/{search-U5KEPKNV.mjs → search-SJXJKATQ.mjs} +5 -5
  85. package/dist/cli/search-W7VXB4YP.js +30 -0
  86. package/dist/cli/{secrets-CBBR73U4.js → secrets-C2FN2YMO.js} +13 -13
  87. package/dist/cli/{secrets-JYHZIRO4.mjs → secrets-IA6JBZEF.mjs} +4 -4
  88. package/dist/cli/{sessions-XA2EZDXD.js → sessions-HGJQTLZP.js} +5 -5
  89. package/dist/cli/{sessions-T74U74J7.mjs → sessions-MNK7ZR2Y.mjs} +4 -4
  90. package/dist/cli/{settings-C45BH4CU.mjs → settings-7UBMCVFK.mjs} +8 -8
  91. package/dist/cli/{settings-ND4437UB.js → settings-MRMSITAL.js} +75 -75
  92. package/dist/cli/{setup-QDH6FAEZ.mjs → setup-MD4F55X4.mjs} +7 -7
  93. package/dist/cli/{setup-FQ7JS4HM.js → setup-UX7KNUOW.js} +42 -42
  94. package/dist/cli/{skills-ZFSBA754.mjs → skills-W7SAJDG6.mjs} +5 -5
  95. package/dist/cli/skills-ZY4KFM33.js +29 -0
  96. package/dist/cli/tools-6G4PXAZ3.js +44 -0
  97. package/dist/cli/{tools-OVGOFORB.mjs → tools-VAWJLJAK.mjs} +15 -15
  98. package/dist/cli/update-3D4R5FW6.js +31 -0
  99. package/dist/cli/{update-BNU7VX5M.mjs → update-B2UOERFE.mjs} +7 -7
  100. package/dist/cli/{workflow-FX6GLQ3H.mjs → workflow-3BYE3YFQ.mjs} +5 -5
  101. package/dist/cli/{workflow-JSSXWU3T.js → workflow-K2YJNF64.js} +15 -15
  102. package/dist/{client-BqQ7Rb11.d.ts → client-CBitBZpr.d.ts} +15 -3
  103. package/dist/{client-BCmnJaL9.d.mts → client-CTUbBRgg.d.mts} +15 -3
  104. package/dist/index.d.mts +2 -2
  105. package/dist/index.d.ts +2 -2
  106. package/dist/index.js +6 -6
  107. package/dist/index.mjs +3 -3
  108. package/dist/install-integrity.json +90 -90
  109. package/dist/plays/play-description.d.mts +1 -1
  110. package/dist/plays/play-description.d.ts +1 -1
  111. package/dist/plays/run-request.d.mts +1 -1
  112. package/dist/plays/run-request.d.ts +1 -1
  113. package/dist/release.d.mts +1 -1
  114. package/dist/release.d.ts +1 -1
  115. package/dist/release.js +2 -2
  116. package/dist/release.mjs +1 -1
  117. package/package.json +1 -1
  118. package/dist/cli/auth-HAO2GLGH.js +0 -40
  119. package/dist/cli/git-E7CXCBZZ.js +0 -24
  120. package/dist/cli/search-XMNR7CYI.js +0 -30
  121. package/dist/cli/skills-CSA2YFW6.js +0 -29
  122. package/dist/cli/tools-GUALRDI7.js +0 -44
  123. package/dist/cli/update-K4WJSWDB.js +0 -31
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkR2QWSSAGjs = require('./chunk-R2QWSSAG.js');
6
+ var _chunkQFXPA2E4js = require('./chunk-QFXPA2E4.js');
7
7
 
8
8
 
9
9
 
@@ -13,7 +13,7 @@ var _chunkR2QWSSAGjs = require('./chunk-R2QWSSAG.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkVUYUI35Qjs = require('./chunk-VUYUI35Q.js');
16
+ var _chunkLRNYRGCNjs = require('./chunk-LRNYRGCN.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
- ..._chunkR2QWSSAGjs.formatModelDescription.call(void 0, model).trimEnd().split("\n")
34
+ ..._chunkQFXPA2E4js.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: _chunkVUYUI35Qjs.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
40
+ lines: _chunkLRNYRGCNjs.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: _chunkVUYUI35Qjs.describedPlay.call(void 0, record2),
116
+ described: _chunkLRNYRGCNjs.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
- ..._chunkR2QWSSAGjs.describedTool.call(void 0, record2, name),
131
+ ..._chunkQFXPA2E4js.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: _chunkR2QWSSAGjs.toolMetadataJsonForDescribe.call(void 0,
137
+ record: _chunkQFXPA2E4js.toolMetadataJsonForDescribe.call(void 0,
138
138
  record2,
139
139
  name,
140
140
  lookups.seedStarterScript
141
141
  ),
142
- schemas: _chunkR2QWSSAGjs.publicToolSchemas.call(void 0, record2),
142
+ schemas: _chunkQFXPA2E4js.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 ? _chunkVUYUI35Qjs.buildPlayDashboardUrl.call(void 0, lookups.baseUrl, described.id) : null;
173
+ const dashboardUrl = isPlay ? _chunkLRNYRGCNjs.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
- ..._chunkVUYUI35Qjs.schemaLines.call(void 0, described, {
237
+ ..._chunkLRNYRGCNjs.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(_chunkVUYUI35Qjs.topLevelField),
247
- outputs: outputs.map(_chunkVUYUI35Qjs.topLevelField),
248
- ...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunkVUYUI35Qjs.topLevelField) } : {},
249
- ...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunkVUYUI35Qjs.topLevelField) } : {},
250
- runExamples: _chunkVUYUI35Qjs.examples.call(void 0, described, { verbose }),
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 }),
251
251
  ...dashboardUrl ? { dashboardUrl } : {},
252
252
  ...shadows ? { shadows, note } : {}
253
253
  },
254
254
  lines: [
255
255
  ...note ? [`Note: ${note}`, ""] : [],
256
- ..._chunkVUYUI35Qjs.describedLines.call(void 0, described, {
256
+ ..._chunkLRNYRGCNjs.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
- ..._chunkVUYUI35Qjs.describedJson.call(void 0, described, {
273
+ ..._chunkLRNYRGCNjs.describedJson.call(void 0, described, {
274
274
  secondary: verbose || fields.length > 0,
275
275
  verbose
276
276
  }),
@@ -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 _chunkC4WXHMKNjs = require('./chunk-C4WXHMKN.js');
4
+ var _chunk6RKZVPFAjs = require('./chunk-6RKZVPFA.js');
5
5
 
6
6
 
7
- var _chunkRR2LZVRAjs = require('./chunk-RR2LZVRA.js');
7
+ var _chunkXIJL6UMVjs = require('./chunk-XIJL6UMV.js');
8
8
 
9
9
 
10
- var _chunkD5IOUCJSjs = require('./chunk-D5IOUCJS.js');
10
+ var _chunkYV6N4BF2js = require('./chunk-YV6N4BF2.js');
11
11
 
12
12
 
13
- var _chunkL3JU24MFjs = require('./chunk-L3JU24MF.js');
13
+ var _chunkEWXXWSQMjs = require('./chunk-EWXXWSQM.js');
14
14
 
15
15
 
16
- var _chunk2GVUZA6Cjs = require('./chunk-2GVUZA6C.js');
16
+ var _chunkPXXIBSBGjs = require('./chunk-PXXIBSBG.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 = _chunkD5IOUCJSjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkYV6N4BF2js.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 ? _chunkC4WXHMKNjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkC4WXHMKNjs.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 ? _chunk6RKZVPFAjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunk6RKZVPFAjs.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()]) || _chunk2GVUZA6Cjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkPXXIBSBGjs.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 = _chunkD5IOUCJSjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkYV6N4BF2js.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, () => ( _chunk2GVUZA6Cjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkPXXIBSBGjs.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 _chunkRR2LZVRAjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkXIJL6UMVjs.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
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0,
1284
+ _chunkEWXXWSQMjs.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
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkEWXXWSQMjs.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
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0,
1327
+ _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-TP4TMEML.mjs";
4
+ } from "./chunk-6NUGMJQA.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-P4GMPKMW.mjs";
7
+ } from "./chunk-4A45A2MH.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -165,11 +165,19 @@ function rateLimitSummary(limits) {
165
165
  const { requestsPerWindow: requests, windowMs } = limit;
166
166
  if (typeof requests !== "number" || typeof windowMs !== "number") return [];
167
167
  return [
168
- `${requests} requests/${_nullishCoalesce(windows[windowMs], () => ( `${windowMs / 1e3}s`))}`
168
+ `${requests} requests/${_nullishCoalesce(windows[windowMs], () => ( `${windowMs / 1e3}s`))}${rateLimitQualifier(limit)}`
169
169
  ];
170
170
  });
171
171
  return parts.length ? parts.join(", ") : void 0;
172
172
  }
173
+ function rateLimitQualifier(limit) {
174
+ const sources = Array.isArray(limit.credentialSources) ? limit.credentialSources : null;
175
+ const notes = [
176
+ _optionalChain([sources, 'optionalAccess', _ => _.length]) === 1 && sources[0] === "env" ? "on Deepline's managed key" : null,
177
+ limit.resetsAt === "utc_midnight" ? "resets 00:00 UTC" : null
178
+ ].filter(Boolean);
179
+ return notes.length ? ` ${notes.join(", ")}` : "";
180
+ }
173
181
  function exampleValue(field) {
174
182
  if (field.example !== void 0) return field.example;
175
183
  if (field.type.startsWith(RECORD)) {
@@ -243,7 +251,7 @@ function namedShapes(roots) {
243
251
  }
244
252
  function withRowInputs(described) {
245
253
  const columns = described.rowInputs;
246
- if (!_optionalChain([columns, 'optionalAccess', _ => _.length])) return described.inputs;
254
+ if (!_optionalChain([columns, 'optionalAccess', _2 => _2.length])) return described.inputs;
247
255
  const join = (...notes) => notes.filter(Boolean).join(" - ");
248
256
  const first = columns[0].name;
249
257
  return described.inputs.map((field) => {
@@ -278,7 +286,7 @@ function withRowInputs(described) {
278
286
  }
279
287
  function withRowOutputs(described) {
280
288
  const columns = described.rowOutputs;
281
- if (!_optionalChain([columns, 'optionalAccess', _2 => _2.length])) return described.outputs;
289
+ if (!_optionalChain([columns, 'optionalAccess', _3 => _3.length])) return described.outputs;
282
290
  const typed = (field) => ({
283
291
  ...field,
284
292
  type: `PlayDataset<${SHAPE}>`,
@@ -422,7 +430,7 @@ function schemaLines(described, view) {
422
430
  ];
423
431
  }
424
432
  if (view.full) return schemaBlocks(described, Infinity, true);
425
- const raw = _optionalChain([described, 'access', _3 => _3.rawResponse, 'optionalAccess', _4 => _4.length]) ? [
433
+ const raw = _optionalChain([described, 'access', _4 => _4.rawResponse, 'optionalAccess', _5 => _5.length]) ? [
426
434
  "",
427
435
  `Other response fields (${described.rawResponse.map((field) => field.name).join(", ")}) are in result.toolResponse.rawV2. --full-schema lists them.`
428
436
  ] : [];
@@ -566,15 +574,15 @@ function jsonFields(fields, options) {
566
574
  return [
567
575
  field.name,
568
576
  {
569
- type: field.type.replace(SHAPE, _nullishCoalesce(_optionalChain([shape, 'optionalAccess', _5 => _5.name]), () => ( "object"))),
577
+ type: field.type.replace(SHAPE, _nullishCoalesce(_optionalChain([shape, 'optionalAccess', _6 => _6.name]), () => ( "object"))),
570
578
  ...options.input ? { required: field.required } : {},
571
579
  ...field.means ? { means: field.means } : {},
572
580
  ...field.example !== void 0 ? { example: field.example } : {},
573
- ...field.description && field.description !== _optionalChain([shape, 'optionalAccess', _6 => _6.description]) ? { description: field.description } : {},
581
+ ...field.description && field.description !== _optionalChain([shape, 'optionalAccess', _7 => _7.description]) ? { description: field.description } : {},
574
582
  ...field.secondary ? { secondary: true } : {},
575
583
  ...field.read ? { read: field.read } : {},
576
584
  ...field.in ? { in: field.in } : {},
577
- ..._optionalChain([field, 'access', _7 => _7.paths, 'optionalAccess', _8 => _8.length]) ? { paths: field.paths } : {},
585
+ ..._optionalChain([field, 'access', _8 => _8.paths, 'optionalAccess', _9 => _9.length]) ? { paths: field.paths } : {},
578
586
  ...field.fields && !shape ? { fields: jsonFields(field.fields, options) } : {}
579
587
  }
580
588
  ];
@@ -595,7 +603,7 @@ function describedJson(described, view) {
595
603
  const used = /* @__PURE__ */ new Set();
596
604
  const blocks = Object.fromEntries(
597
605
  sections.flatMap(
598
- ([key, fields, input]) => _optionalChain([fields, 'optionalAccess', _9 => _9.length]) ? [
606
+ ([key, fields, input]) => _optionalChain([fields, 'optionalAccess', _10 => _10.length]) ? [
599
607
  [
600
608
  key,
601
609
  jsonFields(fields, {
@@ -629,7 +637,7 @@ function describedJson(described, view) {
629
637
  ...described.cost ? { cost: described.cost } : {},
630
638
  ...described.rateLimit ? { rateLimit: described.rateLimit } : {},
631
639
  ...described.byok ? { byok: described.byok } : {},
632
- ..._optionalChain([described, 'access', _10 => _10.features, 'optionalAccess', _11 => _11.length]) ? { features: described.features } : {},
640
+ ..._optionalChain([described, 'access', _11 => _11.features, 'optionalAccess', _12 => _12.length]) ? { features: described.features } : {},
633
641
  ...described.guidance.length ? { guidance: described.guidance } : {},
634
642
  ...blocks,
635
643
  ...used.size ? { types } : {},
@@ -697,7 +705,7 @@ function describedPlay(play) {
697
705
  ...starter ? { source: starter.command } : {},
698
706
  ...exclusive ? { exclusive } : {},
699
707
  // A prebuilt's cost is what its recent runs were charged; there is no rate.
700
- ..._optionalChain([play, 'access', _12 => _12.observedCost, 'optionalAccess', _13 => _13.displayText]) ? { cost: play.observedCost.displayText } : {}
708
+ ..._optionalChain([play, 'access', _13 => _13.observedCost, 'optionalAccess', _14 => _14.displayText]) ? { cost: play.observedCost.displayText } : {}
701
709
  };
702
710
  }
703
711
 
@@ -714,4 +722,5 @@ function describedPlay(play) {
714
722
 
715
723
 
716
724
 
717
- exports.byokLines = byokLines; exports.SCHEMA_LINE_LIMIT = SCHEMA_LINE_LIMIT; exports.schemaField = schemaField; exports.schemaFields = schemaFields; exports.rateLimitSummary = rateLimitSummary; exports.schemaLines = schemaLines; exports.examples = examples; exports.describedLines = describedLines; exports.topLevelField = topLevelField; exports.describedJson = describedJson; exports.buildPlayDashboardUrl = buildPlayDashboardUrl; exports.describedPlay = describedPlay;
725
+
726
+ exports.byokLines = byokLines; exports.SCHEMA_LINE_LIMIT = SCHEMA_LINE_LIMIT; exports.schemaField = schemaField; exports.schemaFields = schemaFields; exports.rateLimitSummary = rateLimitSummary; exports.rateLimitQualifier = rateLimitQualifier; exports.schemaLines = schemaLines; exports.examples = examples; exports.describedLines = describedLines; exports.topLevelField = topLevelField; exports.describedJson = describedJson; exports.buildPlayDashboardUrl = buildPlayDashboardUrl; exports.describedPlay = describedPlay;
@@ -3,15 +3,15 @@
3
3
  var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
4
4
 
5
5
 
6
- var _chunkSOCWFREMjs = require('./chunk-SOCWFREM.js');
6
+ var _chunkCGZ2KKPMjs = require('./chunk-CGZ2KKPM.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkL3JU24MFjs = require('./chunk-L3JU24MF.js');
10
+ var _chunkEWXXWSQMjs = require('./chunk-EWXXWSQM.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk2GVUZA6Cjs = require('./chunk-2GVUZA6C.js');
14
+ var _chunkPXXIBSBGjs = require('./chunk-PXXIBSBG.js');
15
15
 
16
16
 
17
17
 
@@ -5713,7 +5713,7 @@ var _fs = require('fs');
5713
5713
  var _path = require('path');
5714
5714
  var SEARCH_REF_TTL_MS = 15 * 6e4;
5715
5715
  function lastSearchPath() {
5716
- return _path.join.call(void 0, _chunk2GVUZA6Cjs.sdkCliStateDirPath.call(void 0, _chunk2GVUZA6Cjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5716
+ return _path.join.call(void 0, _chunkPXXIBSBGjs.sdkCliStateDirPath.call(void 0, _chunkPXXIBSBGjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5717
5717
  }
5718
5718
  function rememberSearchRef(searchRef) {
5719
5719
  try {
@@ -5877,7 +5877,7 @@ var OPTIONAL_COLUMNS = [
5877
5877
  ];
5878
5878
  function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5879
5879
  if (result.results.length === 0)
5880
- return _chunkL3JU24MFjs.renderCommandEnvelopeText.call(void 0, result);
5880
+ return _chunkEWXXWSQMjs.renderCommandEnvelopeText.call(void 0, result);
5881
5881
  const rows = result.results.map((item) => searchRow(item, summaryWidth));
5882
5882
  const kinds = new Set(rows.map((row) => row.kind));
5883
5883
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -5902,7 +5902,7 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5902
5902
  actions: _optionalChain([render, 'optionalAccess', _12 => _12.actions])
5903
5903
  };
5904
5904
  const followUps = _optionalChain([remaining, 'access', _13 => _13.sections, 'optionalAccess', _14 => _14.length]) || _optionalChain([remaining, 'access', _15 => _15.actions, 'optionalAccess', _16 => _16.length]) ? `
5905
- ${_chunkL3JU24MFjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5905
+ ${_chunkEWXXWSQMjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5906
5906
  const notes = rows.flatMap(
5907
5907
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
5908
5908
  );
@@ -5987,7 +5987,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
5987
5987
  console.error("--summary-width must be an integer of at least 2.");
5988
5988
  return 1;
5989
5989
  }
5990
- const { search_ref: searchRef, ...result } = await new (0, _chunkSOCWFREMjs.DeeplineClient)().search({
5990
+ const { search_ref: searchRef, ...result } = await new (0, _chunkCGZ2KKPMjs.DeeplineClient)().search({
5991
5991
  query,
5992
5992
  types,
5993
5993
  exclude,
@@ -6001,7 +6001,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
6001
6001
  });
6002
6002
  if (searchRef) rememberSearchRef(searchRef);
6003
6003
  pointAtDescribe(result);
6004
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0, result, {
6004
+ _chunkEWXXWSQMjs.printCommandEnvelope.call(void 0, result, {
6005
6005
  json: options.json === true,
6006
6006
  text: renderSearchResults(result, summaryWidth)
6007
6007
  });
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse
4
- } from "./chunk-KPKU53YO.mjs";
4
+ } from "./chunk-FKAHVFPJ.mjs";
5
5
  import {
6
6
  recentSearchRef,
7
7
  registerDeprecatedSearchCommand
8
- } from "./chunk-KKTRHDLN.mjs";
8
+ } from "./chunk-GVPHPLAX.mjs";
9
9
  import {
10
10
  arrayField,
11
11
  formatModelDescription,
@@ -24,7 +24,10 @@ import {
24
24
  toolInputFieldsForDisplay,
25
25
  toolMetadataJsonForDescribe,
26
26
  toolOutputFieldsForDisplay
27
- } from "./chunk-LXTSVUZN.mjs";
27
+ } from "./chunk-WQPJQEDE.mjs";
28
+ import {
29
+ rateLimitQualifier
30
+ } from "./chunk-W25OALCJ.mjs";
28
31
  import {
29
32
  shellQuote
30
33
  } from "./chunk-OVDNJAJN.mjs";
@@ -45,7 +48,7 @@ import {
45
48
  import {
46
49
  DeeplineClient,
47
50
  validateExecutionIdempotencyKey
48
- } from "./chunk-7ICMVQL5.mjs";
51
+ } from "./chunk-MRW6XPDH.mjs";
49
52
  import {
50
53
  stableStringify
51
54
  } from "./chunk-UBKA33KY.mjs";
@@ -55,18 +58,18 @@ import {
55
58
  maybeAutoUpdateAndRelaunch,
56
59
  registerCompatibilityCatalog,
57
60
  runToolExecuteStage
58
- } from "./chunk-L2FWEP4G.mjs";
61
+ } from "./chunk-VXGLDGOF.mjs";
59
62
  import {
60
63
  isCliTraceEnabled,
61
64
  recordCliTrace,
62
65
  resolveCliMaintenancePolicy
63
- } from "./chunk-SMM2EKDC.mjs";
66
+ } from "./chunk-FU7ELMKS.mjs";
64
67
  import {
65
68
  checkSdkCompatibility,
66
69
  enforceSdkCompatibilityResponse,
67
70
  flushDeferredSkillsSyncNotices,
68
71
  syncSdkSkillsIfNeeded
69
- } from "./chunk-WY4W6PRD.mjs";
72
+ } from "./chunk-FRZLWUM6.mjs";
70
73
  import {
71
74
  printCommandEnvelope,
72
75
  printCompactJson,
@@ -74,12 +77,12 @@ import {
74
77
  printJsonError,
75
78
  renderCommandEnvelopeText,
76
79
  shouldEmitJson
77
- } from "./chunk-TP4TMEML.mjs";
80
+ } from "./chunk-6NUGMJQA.mjs";
78
81
  import {
79
82
  readSdkSkillsLocalVersion,
80
83
  resolveConfig,
81
84
  sdkCliStateDirPath
82
- } from "./chunk-P4GMPKMW.mjs";
85
+ } from "./chunk-4A45A2MH.mjs";
83
86
  import {
84
87
  DeeplineError
85
88
  } from "./chunk-HBL4PM5Q.mjs";
@@ -968,7 +971,7 @@ Examples:
968
971
  process.exitCode = await narrowView();
969
972
  return;
970
973
  }
971
- const { describeAnything } = await import("./describe-C35MTKF4.mjs");
974
+ const { describeAnything } = await import("./describe-GAR4MEGX.mjs");
972
975
  process.exitCode = await describeAnything(
973
976
  toolId,
974
977
  {
@@ -1862,7 +1865,7 @@ function printToolExecutionHints(value) {
1862
1865
  );
1863
1866
  const concurrencyText = explicitMaxConcurrency === null ? "no explicit concurrency limit" : `explicit concurrency limit ${explicitMaxConcurrency}`;
1864
1867
  console.log(
1865
- `- ${requests} requests per ${formatRateWindow(windowMs)} (${usageText}; ${concurrencyText})`
1868
+ `- ${requests} requests per ${formatRateWindow(windowMs)}${rateLimitQualifier(limit)} (${usageText}; ${concurrencyText})`
1866
1869
  );
1867
1870
  }
1868
1871
  }
@@ -1887,6 +1890,7 @@ function formatRateWindow(windowMs) {
1887
1890
  if (windowMs === 1e3) return "second";
1888
1891
  if (windowMs === 6e4) return "minute";
1889
1892
  if (windowMs === 36e5) return "hour";
1893
+ if (windowMs === 864e5) return "day";
1890
1894
  return `${windowMs}ms`;
1891
1895
  }
1892
1896
  function samplePayload(samples, key) {
@@ -28,7 +28,7 @@ import {
28
28
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
29
29
  SDK_API_MAJOR,
30
30
  resolveConfig
31
- } from "./chunk-P4GMPKMW.mjs";
31
+ } from "./chunk-4A45A2MH.mjs";
32
32
  import {
33
33
  CustomerDbQueryOutcomeUnknownError
34
34
  } from "./chunk-4QF2K7TM.mjs";
@@ -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.442",
52
+ version: "0.3.443",
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."
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-TP4TMEML.mjs";
5
+ } from "./chunk-6NUGMJQA.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-P4GMPKMW.mjs";
28
+ } from "./chunk-4A45A2MH.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {