deepline 0.3.444 → 0.3.446

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/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +9 -2
  3. package/dist/cli/auth-LQFM7AUA.js +40 -0
  4. package/dist/cli/{auth-XTFEJXCK.mjs → auth-QS4HFSPI.mjs} +4 -4
  5. package/dist/cli/{billing-37ATIT7G.js → billing-72BVAZ6M.js} +73 -73
  6. package/dist/cli/{billing-3RZZWNAR.mjs → billing-X7ZJUBJE.mjs} +4 -4
  7. package/dist/cli/{chunk-53HWKCD3.js → chunk-4UD3HIUY.js} +8 -8
  8. package/dist/cli/{chunk-QR3SSTAE.js → chunk-6PTUA4M7.js} +10 -10
  9. package/dist/cli/{chunk-A5LNESLL.mjs → chunk-6XL3IIFD.mjs} +4 -4
  10. package/dist/cli/{chunk-LUGZDR4E.mjs → chunk-7HUXIWE2.mjs} +3 -3
  11. package/dist/cli/{chunk-2Y3YBOS4.js → chunk-7X7GEXHC.js} +6 -6
  12. package/dist/cli/{chunk-OTHCIRIC.js → chunk-BIQCGMZC.js} +50 -50
  13. package/dist/cli/{chunk-OZT66JBQ.js → chunk-CNIFSBGW.js} +35 -35
  14. package/dist/cli/{chunk-VAQYDKRH.mjs → chunk-D7ES6PAW.mjs} +1 -1
  15. package/dist/cli/{chunk-J6NVL526.mjs → chunk-DPVDPJLA.mjs} +1 -1
  16. package/dist/cli/{chunk-JMARKXIB.js → chunk-EATTWMIB.js} +2 -2
  17. package/dist/cli/{chunk-VJUFRXFU.mjs → chunk-FMUADJJ6.mjs} +3 -3
  18. package/dist/cli/{chunk-HU6PIQDF.mjs → chunk-G7L27KZB.mjs} +2 -2
  19. package/dist/cli/{chunk-RVM54NYN.mjs → chunk-HBC7PNWS.mjs} +1 -1
  20. package/dist/cli/{chunk-W25OALCJ.mjs → chunk-HDFRJ4IT.mjs} +32 -5
  21. package/dist/cli/{chunk-X4YO4AXG.mjs → chunk-IQREZ6NU.mjs} +2 -2
  22. package/dist/cli/{chunk-VHVZVLV7.mjs → chunk-ISQLFI2O.mjs} +1 -1
  23. package/dist/cli/{chunk-CGVTZKKZ.mjs → chunk-JZK7OEG7.mjs} +2 -2
  24. package/dist/cli/{chunk-KNAKCMGJ.js → chunk-KGQNIA37.js} +17 -17
  25. package/dist/cli/{chunk-JD7GAMDF.mjs → chunk-KUWUIXC7.mjs} +2 -2
  26. package/dist/cli/{chunk-AFFH22ER.js → chunk-LBZGICM5.js} +2 -2
  27. package/dist/cli/{chunk-VVJWB47B.js → chunk-MERFSCZL.js} +16 -16
  28. package/dist/cli/{chunk-MBCQHTXT.mjs → chunk-MTRBEEIJ.mjs} +1 -1
  29. package/dist/cli/{chunk-RNM7JYV6.js → chunk-MU76KMIL.js} +20 -20
  30. package/dist/cli/{chunk-OCYDAMHG.js → chunk-N5CNBKPY.js} +246 -246
  31. package/dist/cli/{chunk-HPBZAYSS.mjs → chunk-PE4GNPHD.mjs} +2 -2
  32. package/dist/cli/{chunk-PP66EATA.js → chunk-PQUUWFXY.js} +2 -2
  33. package/dist/cli/{chunk-C4CG252T.mjs → chunk-R4AKASN2.mjs} +3 -3
  34. package/dist/cli/{chunk-GYLEMRHP.mjs → chunk-R53NKATP.mjs} +5 -5
  35. package/dist/cli/{chunk-WYWZZZ2Q.js → chunk-RZ25NO6A.js} +26 -26
  36. package/dist/cli/{chunk-WQPJQEDE.mjs → chunk-SLEUWLJE.mjs} +4 -3
  37. package/dist/cli/{chunk-FS7TP7F2.js → chunk-SSPHVLOF.js} +52 -52
  38. package/dist/cli/{chunk-AJ54W32A.mjs → chunk-T56WZU3Q.mjs} +1 -1
  39. package/dist/cli/{chunk-EPK465ZH.js → chunk-TY6KOFLR.js} +8 -8
  40. package/dist/cli/{chunk-LS32ZMEI.mjs → chunk-ULGMJRSU.mjs} +11 -11
  41. package/dist/cli/{chunk-YIFQGY5A.js → chunk-WX4K4TNG.js} +4 -4
  42. package/dist/cli/{chunk-7VAQZERC.js → chunk-XK7USWW3.js} +6 -6
  43. package/dist/cli/{chunk-7J4VZRO5.js → chunk-XQSQNS73.js} +1 -1
  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-EIJQ6RT5.js → csv-I2U2XHF2.js} +12 -12
  48. package/dist/cli/{csv-HA2HOVSY.mjs → csv-J2CGPTVS.mjs} +3 -3
  49. package/dist/cli/{db-X4YIZUGS.mjs → db-7ZYN4RSF.mjs} +4 -4
  50. package/dist/cli/{db-V3QK6J3D.js → db-ID7WE25S.js} +25 -25
  51. package/dist/cli/{describe-AM3JLWNF.js → describe-6MWB45ZF.js} +24 -24
  52. package/dist/cli/{describe-MSL3BOWA.mjs → describe-KIE5HRU6.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-QFQVDHSS.js → executions-NPH4K6V4.js} +6 -6
  56. package/dist/cli/{executions-EGH4NDY5.mjs → executions-UAKS7E5U.mjs} +4 -4
  57. package/dist/cli/{feedback-77DLEOWO.js → feedback-T65QHRNJ.js} +7 -7
  58. package/dist/cli/{feedback-RQLOXTWK.mjs → feedback-VGRGR5TG.mjs} +3 -3
  59. package/dist/cli/{git-ZRSKT7ML.mjs → git-MHBPDHFC.mjs} +4 -4
  60. package/dist/cli/git-YKUQZPWL.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-QNQCSKJV.mjs → legacy-noops-O27BEOS7.mjs} +4 -4
  64. package/dist/cli/{legacy-noops-Y3ZMVJSZ.js → legacy-noops-UWDPM46V.js} +7 -7
  65. package/dist/cli/{monitors-VEFE3ZSZ.mjs → monitors-OEQ7GQ7Z.mjs} +4 -4
  66. package/dist/cli/{monitors-4RY75IKZ.js → monitors-U4O52KL7.js} +84 -84
  67. package/dist/cli/{org-YOT76AE4.js → org-FKNL42W7.js} +66 -66
  68. package/dist/cli/{org-X6ZD3GOS.mjs → org-TCP4TADK.mjs} +4 -4
  69. package/dist/cli/{play-AXDXVYTK.mjs → play-3UFJK5TR.mjs} +12 -12
  70. package/dist/cli/{play-7XEA7F7Y.js → play-H2XWJ2GR.js} +296 -296
  71. package/dist/cli/{providers-JKYTNJDM.mjs → providers-SYZJQNNL.mjs} +4 -4
  72. package/dist/cli/{providers-CS3UWBH5.js → providers-ZDLZX6AB.js} +7 -7
  73. package/dist/cli/{quickstart-R2PI3T74.js → quickstart-GPFZQF5I.js} +5 -5
  74. package/dist/cli/{quickstart-BHATVOX5.mjs → quickstart-LLZAA3YH.mjs} +3 -3
  75. package/dist/cli/search-WQ77HY2K.js +30 -0
  76. package/dist/cli/{search-46CJMKQ7.mjs → search-XEZ6YINQ.mjs} +5 -5
  77. package/dist/cli/{secrets-NCBNWNNK.js → secrets-6LG6WSV4.js} +13 -13
  78. package/dist/cli/{secrets-I2VZ75XW.mjs → secrets-GTUPRTIQ.mjs} +4 -4
  79. package/dist/cli/{sessions-SFZPFEXX.js → sessions-6T7GLRAE.js} +5 -5
  80. package/dist/cli/{sessions-UCMJTFYV.mjs → sessions-FCD3L6BO.mjs} +4 -4
  81. package/dist/cli/{settings-N6CUAM55.js → settings-BLS3NVLD.js} +75 -75
  82. package/dist/cli/{settings-AJ2FOCRS.mjs → settings-TMJK4XRG.mjs} +8 -8
  83. package/dist/cli/{setup-DB34HKIL.js → setup-CLGJAUHO.js} +42 -42
  84. package/dist/cli/{setup-LRWULRUP.mjs → setup-XIWCJNVC.mjs} +7 -7
  85. package/dist/cli/{skills-Z5TF33TE.mjs → skills-CAZWF6XW.mjs} +5 -5
  86. package/dist/cli/skills-VRIWFWDM.js +29 -0
  87. package/dist/cli/tools-E4JIROSM.js +44 -0
  88. package/dist/cli/{tools-MOWM5ABI.mjs → tools-ZW5RKTQD.mjs} +15 -15
  89. package/dist/cli/update-DFQ3SX6R.js +31 -0
  90. package/dist/cli/{update-4LXOHDJU.mjs → update-EEAZY5SI.mjs} +7 -7
  91. package/dist/cli/{workflow-RS57FL5I.js → workflow-6WUBJEPO.js} +15 -15
  92. package/dist/cli/{workflow-IWVOD4N3.mjs → workflow-QQW22LYJ.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-KWVGTCBU.js +0 -40
  102. package/dist/cli/git-OIDNWUNY.js +0 -24
  103. package/dist/cli/search-CNDIFIZG.js +0 -30
  104. package/dist/cli/skills-Y7CEDG56.js +0 -29
  105. package/dist/cli/tools-RQWYUW3K.js +0 -44
  106. package/dist/cli/update-XKRUZQSS.js +0 -31
@@ -3,15 +3,15 @@
3
3
  var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
4
4
 
5
5
 
6
- var _chunkQR3SSTAEjs = require('./chunk-QR3SSTAE.js');
6
+ var _chunk6PTUA4M7js = require('./chunk-6PTUA4M7.js');
7
7
 
8
8
 
9
9
 
10
- var _chunk2Y3YBOS4js = require('./chunk-2Y3YBOS4.js');
10
+ var _chunk7X7GEXHCjs = require('./chunk-7X7GEXHC.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkYIFQGY5Ajs = require('./chunk-YIFQGY5A.js');
14
+ var _chunkWX4K4TNGjs = require('./chunk-WX4K4TNG.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, _chunkYIFQGY5Ajs.sdkCliStateDirPath.call(void 0, _chunkYIFQGY5Ajs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5716
+ return _path.join.call(void 0, _chunkWX4K4TNGjs.sdkCliStateDirPath.call(void 0, _chunkWX4K4TNGjs.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 _chunk2Y3YBOS4js.renderCommandEnvelopeText.call(void 0, result);
5880
+ return _chunk7X7GEXHCjs.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
- ${_chunk2Y3YBOS4js.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5905
+ ${_chunk7X7GEXHCjs.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, _chunkQR3SSTAEjs.DeeplineClient)().search({
5990
+ const { search_ref: searchRef, ...result } = await new (0, _chunk6PTUA4M7js.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
- _chunk2Y3YBOS4js.printCommandEnvelope.call(void 0, result, {
6004
+ _chunk7X7GEXHCjs.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-FKAHVFPJ.mjs";
4
+ } from "./chunk-YBWAG72P.mjs";
5
5
  import {
6
6
  recentSearchRef,
7
7
  registerDeprecatedSearchCommand
8
- } from "./chunk-C4CG252T.mjs";
8
+ } from "./chunk-R4AKASN2.mjs";
9
9
  import {
10
10
  arrayField,
11
11
  formatModelDescription,
@@ -24,10 +24,10 @@ import {
24
24
  toolInputFieldsForDisplay,
25
25
  toolMetadataJsonForDescribe,
26
26
  toolOutputFieldsForDisplay
27
- } from "./chunk-WQPJQEDE.mjs";
27
+ } from "./chunk-SLEUWLJE.mjs";
28
28
  import {
29
29
  rateLimitQualifier
30
- } from "./chunk-W25OALCJ.mjs";
30
+ } from "./chunk-HDFRJ4IT.mjs";
31
31
  import {
32
32
  shellQuote
33
33
  } from "./chunk-OVDNJAJN.mjs";
@@ -48,7 +48,7 @@ import {
48
48
  import {
49
49
  DeeplineClient,
50
50
  validateExecutionIdempotencyKey
51
- } from "./chunk-VHVZVLV7.mjs";
51
+ } from "./chunk-ISQLFI2O.mjs";
52
52
  import {
53
53
  stableStringify
54
54
  } from "./chunk-UBKA33KY.mjs";
@@ -58,18 +58,18 @@ import {
58
58
  maybeAutoUpdateAndRelaunch,
59
59
  registerCompatibilityCatalog,
60
60
  runToolExecuteStage
61
- } from "./chunk-A5LNESLL.mjs";
61
+ } from "./chunk-6XL3IIFD.mjs";
62
62
  import {
63
63
  isCliTraceEnabled,
64
64
  recordCliTrace,
65
65
  resolveCliMaintenancePolicy
66
- } from "./chunk-VAQYDKRH.mjs";
66
+ } from "./chunk-D7ES6PAW.mjs";
67
67
  import {
68
68
  checkSdkCompatibility,
69
69
  enforceSdkCompatibilityResponse,
70
70
  flushDeferredSkillsSyncNotices,
71
71
  syncSdkSkillsIfNeeded
72
- } from "./chunk-LUGZDR4E.mjs";
72
+ } from "./chunk-7HUXIWE2.mjs";
73
73
  import {
74
74
  printCommandEnvelope,
75
75
  printCompactJson,
@@ -77,12 +77,12 @@ import {
77
77
  printJsonError,
78
78
  renderCommandEnvelopeText,
79
79
  shouldEmitJson
80
- } from "./chunk-MBCQHTXT.mjs";
80
+ } from "./chunk-MTRBEEIJ.mjs";
81
81
  import {
82
82
  readSdkSkillsLocalVersion,
83
83
  resolveConfig,
84
84
  sdkCliStateDirPath
85
- } from "./chunk-AJ54W32A.mjs";
85
+ } from "./chunk-T56WZU3Q.mjs";
86
86
  import {
87
87
  DeeplineError
88
88
  } from "./chunk-HBL4PM5Q.mjs";
@@ -971,7 +971,7 @@ Examples:
971
971
  process.exitCode = await narrowView();
972
972
  return;
973
973
  }
974
- const { describeAnything } = await import("./describe-MSL3BOWA.mjs");
974
+ const { describeAnything } = await import("./describe-KIE5HRU6.mjs");
975
975
  process.exitCode = await describeAnything(
976
976
  toolId,
977
977
  {
@@ -17,7 +17,7 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
18
18
 
19
19
 
20
- var _chunk7J4VZRO5js = require('./chunk-7J4VZRO5.js');
20
+ var _chunkXQSQNS73js = require('./chunk-XQSQNS73.js');
21
21
 
22
22
  // src/config.ts
23
23
 
@@ -649,9 +649,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
649
649
  }
650
650
 
651
651
  // src/version.ts
652
- var SDK_VERSION = _chunk7J4VZRO5js.SDK_RELEASE.version;
653
- var SDK_API_MAJOR = _chunk7J4VZRO5js.SDK_RELEASE.contracts.api.currentMajor;
654
- var SDK_API_CONTRACT = _nullishCoalesce(_chunk7J4VZRO5js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
652
+ var SDK_VERSION = _chunkXQSQNS73js.SDK_RELEASE.version;
653
+ var SDK_API_MAJOR = _chunkXQSQNS73js.SDK_RELEASE.contracts.api.currentMajor;
654
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkXQSQNS73js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
655
655
 
656
656
  // src/agent-runtime.ts
657
657
 
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkAFFH22ERjs = require('./chunk-AFFH22ER.js');
3
+ var _chunkLBZGICM5js = require('./chunk-LBZGICM5.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkFS7TP7F2js = require('./chunk-FS7TP7F2.js');
8
+ var _chunkSSPHVLOFjs = require('./chunk-SSPHVLOF.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") _chunkFS7TP7F2js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
- const compatibility = await _chunkAFFH22ERjs.traceCliSpan.call(void 0,
17
+ if (maintenancePolicy !== "off") _chunkSSPHVLOFjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
+ const compatibility = await _chunkLBZGICM5js.traceCliSpan.call(void 0,
19
19
  "cli.sdk_compatibility",
20
20
  { baseUrl, command: "plays run" },
21
- () => _chunkFS7TP7F2js.checkSdkCompatibility.call(void 0, baseUrl, {
21
+ () => _chunkSSPHVLOFjs.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
- _chunkFS7TP7F2js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
27
+ _chunkSSPHVLOFjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
28
28
  quietAdvisory: true
29
29
  });
30
30
  }
@@ -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.444",
52
+ version: "0.3.446",
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,6 +1,6 @@
1
1
  import {
2
2
  SCHEMA_LINE_LIMIT
3
- } from "./chunk-W25OALCJ.mjs";
3
+ } from "./chunk-HDFRJ4IT.mjs";
4
4
 
5
5
  // src/cli/describe-options.ts
6
6
  function addDescribeOptions(command, options = {}) {
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkLRNYRGCNjs = require('./chunk-LRNYRGCN.js');
5
+ var _chunkZ2XUZC34js = require('./chunk-Z2XUZC34.js');
6
6
 
7
7
 
8
8
 
@@ -346,7 +346,7 @@ function extractorValueType(name) {
346
346
  }
347
347
  const named = NAMED_VALUE_SHAPES[definition.valueKind];
348
348
  if (!named) return { type: "string" };
349
- const { type, fields } = _chunkLRNYRGCNjs.schemaField.call(void 0, name, named.schema, true);
349
+ const { type, fields } = _chunkZ2XUZC34js.schemaField.call(void 0, name, named.schema, true);
350
350
  return { type, ...fields ? { fields } : {}, shape: named.shape };
351
351
  }
352
352
  function jsonSchemaOf(wrapper) {
@@ -383,7 +383,7 @@ function describedTool(tool, requestedToolId) {
383
383
  description,
384
384
  cost: stringField(recordField(tool, "pricing"), "displayText") || void 0,
385
385
  guidance: [],
386
- inputs: _chunkLRNYRGCNjs.schemaFields.call(void 0,
386
+ inputs: _chunkZ2XUZC34js.schemaFields.call(void 0,
387
387
  recordField(tool, "payload_schema", "payloadSchema")
388
388
  ),
389
389
  outputs: [],
@@ -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(
@@ -419,7 +420,7 @@ function describedTool(tool, requestedToolId) {
419
420
  (path) => path.replace(/^toolResponse\.raw\./, "")
420
421
  );
421
422
  const node = roots.flatMap((root) => paths.map((path) => schemaNodeAt(root, path))).find(isRecord);
422
- const { fields, ...typed } = _chunkLRNYRGCNjs.schemaField.call(void 0, name, node, true);
423
+ const { fields, ...typed } = _chunkZ2XUZC34js.schemaField.call(void 0, name, node, true);
423
424
  const valueType = stringField(_nullishCoalesce(details.get(name), () => ( {})), "valueType");
424
425
  const deepline = kind === "extractedValues" ? extractorValueType(name) : void 0;
425
426
  const known = typed.type !== "unknown" ? void 0 : kind === "extractedLists" ? { type: "object[]" } : deepline;
@@ -477,13 +478,13 @@ function describedTool(tool, requestedToolId) {
477
478
  (line) => typeof line === "string" && /[a-z0-9]/i.test(line)
478
479
  )
479
480
  ],
480
- rateLimit: _chunkLRNYRGCNjs.rateLimitSummary.call(void 0,
481
+ rateLimit: _chunkZ2XUZC34js.rateLimitSummary.call(void 0,
481
482
  recordField(contract, "executionMetadata").configuredRateLimits
482
483
  ),
483
- inputs: _chunkLRNYRGCNjs.schemaFields.call(void 0, jsonSchemaOf(recordField(contract, "inputSchema"))),
484
+ inputs: _chunkZ2XUZC34js.schemaFields.call(void 0, inputSchema),
484
485
  outputs: [...lists, ...values].map(({ field }) => field),
485
- rawResponse: _chunkLRNYRGCNjs.schemaFields.call(void 0, outputSchema),
486
- runner: playReference ? { via: "play", reference: playReference } : { via: "tool", toolId: String(contract.toolId) }
486
+ rawResponse: _chunkZ2XUZC34js.schemaFields.call(void 0, outputSchema),
487
+ runner: playReference ? { via: "play", reference: playReference } : { via: "tool", toolId: String(contract.toolId), inputSchema }
487
488
  };
488
489
  }
489
490
  function sampleValueForField(field) {
@@ -178,11 +178,16 @@ function rateLimitQualifier(limit) {
178
178
  ].filter(Boolean);
179
179
  return notes.length ? ` ${notes.join(", ")}` : "";
180
180
  }
181
- function exampleValue(field) {
181
+ function exampleValue(field, schema) {
182
182
  if (field.example !== void 0) return field.example;
183
183
  if (field.type.startsWith(RECORD)) {
184
184
  const value = field.type.slice(RECORD.length).replace(/>( \| null)?$/, "");
185
- return { key: exampleValue({ ...field, type: value }) };
185
+ return {
186
+ key: exampleValue(
187
+ { ...field, type: value },
188
+ isRecord(schema) ? schema.additionalProperties : void 0
189
+ )
190
+ };
186
191
  }
187
192
  const literal = /^"(?:[^"\\]|\\.)*"/.exec(field.type);
188
193
  if (literal) return JSON.parse(literal[0]);
@@ -190,14 +195,30 @@ function exampleValue(field) {
190
195
  if (type.includes("[]")) return [];
191
196
  if (type.startsWith(SHAPE)) {
192
197
  return Object.fromEntries(
193
- (_nullishCoalesce(field.fields, () => ( []))).filter((child) => child.required).map((child) => [child.name, exampleValue(child)])
198
+ (_nullishCoalesce(field.fields, () => ( []))).filter((child) => child.required).map((child) => [
199
+ child.name,
200
+ exampleValue(child, propertySchema(schema, child.name))
201
+ ])
194
202
  );
195
203
  }
196
204
  if (type.startsWith("object")) return {};
197
- if (type.startsWith("integer") || type.startsWith("number")) return 1;
205
+ if (type.startsWith("integer") || type.startsWith("number")) {
206
+ return lowestNumber(schema);
207
+ }
198
208
  if (type.startsWith("boolean")) return true;
199
209
  return "...";
200
210
  }
211
+ function propertySchema(schema, name) {
212
+ return isRecord(schema) && isRecord(schema.properties) ? schema.properties[name] : void 0;
213
+ }
214
+ function lowestNumber(schema) {
215
+ const bounds = isRecord(schema) ? schema : {};
216
+ const lowest = Math.max(
217
+ typeof bounds.minimum === "number" ? bounds.minimum : -Infinity,
218
+ typeof bounds.exclusiveMinimum === "number" ? bounds.exclusiveMinimum + 1 : -Infinity
219
+ );
220
+ return lowest >= 0 ? lowest : 1;
221
+ }
201
222
  function shapeKey(fields) {
202
223
  return JSON.stringify(
203
224
  fields.map((field) => [
@@ -454,8 +475,14 @@ function examples(described, options) {
454
475
  const { runner } = described;
455
476
  const required = described.inputs.filter((field) => field.required);
456
477
  const shown = options.verbose ? described.inputs : required.length ? required : described.inputs.slice(0, 1);
478
+ const inputSchema = runner.via === "tool" && runner.inputSchema !== void 0 ? withoutRefs(runner.inputSchema, runner.inputSchema) : void 0;
457
479
  const input = JSON.stringify(
458
- Object.fromEntries(shown.map((field) => [field.name, exampleValue(field)]))
480
+ Object.fromEntries(
481
+ shown.map((field) => [
482
+ field.name,
483
+ exampleValue(field, propertySchema(inputSchema, field.name))
484
+ ])
485
+ )
459
486
  );
460
487
  const read = options.verbose ? described.outputs : described.outputs.filter((field) => !field.secondary).slice(0, 1);
461
488
  const reads = (expression) => read.flatMap((field) => {
@@ -4,12 +4,12 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk2Y3YBOS4js = require('./chunk-2Y3YBOS4.js');
8
- require('./chunk-YIFQGY5A.js');
7
+ var _chunk7X7GEXHCjs = require('./chunk-7X7GEXHC.js');
8
+ require('./chunk-WX4K4TNG.js');
9
9
  require('./chunk-ALJJRZNJ.js');
10
10
  require('./chunk-XNYIZMNQ.js');
11
11
  require('./chunk-DIAWYWT5.js');
12
- require('./chunk-7J4VZRO5.js');
12
+ require('./chunk-XQSQNS73.js');
13
13
  require('./chunk-OG64RBAC.js');
14
14
  require('./chunk-COGTRVWW.js');
15
15
 
@@ -127,7 +127,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
127
127
  column.length,
128
128
  ...rows.map((row) => {
129
129
  const value = _nullishCoalesce(row[column], () => ( ""));
130
- return (verbose ? value : _chunk2Y3YBOS4js.clip.call(void 0, value, 42)).length;
130
+ return (verbose ? value : _chunk7X7GEXHCjs.clip.call(void 0, value, 42)).length;
131
131
  })
132
132
  )
133
133
  ])
@@ -137,7 +137,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
137
137
  const body = rows.map(
138
138
  (row) => columns.map((column) => {
139
139
  const raw = _nullishCoalesce(row[column], () => ( ""));
140
- const display = verbose ? raw : _chunk2Y3YBOS4js.clip.call(void 0, raw, 42);
140
+ const display = verbose ? raw : _chunk7X7GEXHCjs.clip.call(void 0, raw, 42);
141
141
  return display.padEnd(widths[column]);
142
142
  }).join(" | ")
143
143
  );
@@ -157,7 +157,7 @@ async function handleCsvShow(path, options, command) {
157
157
  { exitCode: 2 }
158
158
  );
159
159
  }
160
- const allRows = _chunk2Y3YBOS4js.readCsvRows.call(void 0, csvPath);
160
+ const allRows = _chunk7X7GEXHCjs.readCsvRows.call(void 0, csvPath);
161
161
  const [rowStart, rowEnd] = parseRowRange(options.rows);
162
162
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
163
163
  const { rows: selected, columns } = selectColumns(
@@ -170,7 +170,7 @@ async function handleCsvShow(path, options, command) {
170
170
  if (options.summary) {
171
171
  const summaries = summarizeColumns(selected, columns);
172
172
  if (format === "json") {
173
- _chunk2Y3YBOS4js.printJson.call(void 0, {
173
+ _chunk7X7GEXHCjs.printJson.call(void 0, {
174
174
  rows: summaries,
175
175
  total_rows: selected.length,
176
176
  source_total_rows: allRows.length
@@ -179,7 +179,7 @@ async function handleCsvShow(path, options, command) {
179
179
  }
180
180
  const displayRows = summaryDisplayRows(summaries);
181
181
  if (format === "csv") {
182
- process.stdout.write(_chunk2Y3YBOS4js.csvStringFromRows.call(void 0, displayRows));
182
+ process.stdout.write(_chunk7X7GEXHCjs.csvStringFromRows.call(void 0, displayRows));
183
183
  return;
184
184
  }
185
185
  process.stdout.write(
@@ -194,7 +194,7 @@ async function handleCsvShow(path, options, command) {
194
194
  return;
195
195
  }
196
196
  if (format === "json") {
197
- _chunk2Y3YBOS4js.printJson.call(void 0, {
197
+ _chunk7X7GEXHCjs.printJson.call(void 0, {
198
198
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
199
199
  });
200
200
  return;
@@ -437,7 +437,7 @@ async function handleCsvRenderStart(options) {
437
437
  if (log) {
438
438
  detail = `
439
439
  CSV render log:
440
- ${_chunk2Y3YBOS4js.clip.call(void 0, log, 2e3)}`;
440
+ ${_chunk7X7GEXHCjs.clip.call(void 0, log, 2e3)}`;
441
441
  }
442
442
  } catch (e7) {
443
443
  }
@@ -488,7 +488,7 @@ async function handleCsvRenderStatus(options) {
488
488
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
489
489
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
490
490
  lines.push(`Render Health: ${payload.health_status}`);
491
- _chunk2Y3YBOS4js.printCommandEnvelope.call(void 0, payload, {
491
+ _chunk7X7GEXHCjs.printCommandEnvelope.call(void 0, payload, {
492
492
  json: options.json,
493
493
  text: `${lines.join("\n")}
494
494
  `
@@ -524,7 +524,7 @@ async function handleCsvRenderStop(options) {
524
524
  };
525
525
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
526
526
  ` : "No running CSV render process found.\n";
527
- _chunk2Y3YBOS4js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
527
+ _chunk7X7GEXHCjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
528
  }
529
529
  async function handleCsvRender(action, options) {
530
530
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,12 +4,12 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-MBCQHTXT.mjs";
8
- import "./chunk-AJ54W32A.mjs";
7
+ } from "./chunk-MTRBEEIJ.mjs";
8
+ import "./chunk-T56WZU3Q.mjs";
9
9
  import "./chunk-4QF2K7TM.mjs";
10
10
  import "./chunk-DLIRSHV6.mjs";
11
11
  import "./chunk-HBL4PM5Q.mjs";
12
- import "./chunk-RVM54NYN.mjs";
12
+ import "./chunk-HBC7PNWS.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
14
14
  import "./chunk-KRD6H754.mjs";
15
15
 
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  DeeplineClient,
6
6
  planCustomerDbQuery
7
- } from "./chunk-VHVZVLV7.mjs";
7
+ } from "./chunk-ISQLFI2O.mjs";
8
8
  import "./chunk-L2VKAASU.mjs";
9
9
  import "./chunk-FAG4DFUC.mjs";
10
10
  import "./chunk-EIMG75BT.mjs";
@@ -18,8 +18,8 @@ import {
18
18
  printCommandEnvelope,
19
19
  recordRows,
20
20
  shouldEmitJson
21
- } from "./chunk-MBCQHTXT.mjs";
22
- import "./chunk-AJ54W32A.mjs";
21
+ } from "./chunk-MTRBEEIJ.mjs";
22
+ import "./chunk-T56WZU3Q.mjs";
23
23
  import {
24
24
  CustomerDbQueryOutcomeUnknownError
25
25
  } from "./chunk-4QF2K7TM.mjs";
@@ -27,7 +27,7 @@ import "./chunk-DLIRSHV6.mjs";
27
27
  import {
28
28
  DeeplineError
29
29
  } from "./chunk-HBL4PM5Q.mjs";
30
- import "./chunk-RVM54NYN.mjs";
30
+ import "./chunk-HBC7PNWS.mjs";
31
31
  import "./chunk-WZYKRD7T.mjs";
32
32
  import "./chunk-KRD6H754.mjs";
33
33