deepline 0.3.328 → 0.3.329

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 (122) hide show
  1. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  2. package/dist/bundling-sources/sdk/src/play.ts +55 -45
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +16 -0
  5. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
  6. package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +31 -15
  8. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +22 -4
  9. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +29 -11
  10. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +145 -19
  11. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +37 -10
  12. package/dist/bundling-sources/shared_libs/plays/dataset.ts +3 -0
  13. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +59 -10
  14. package/dist/cli/{auth-ANHHABWT.mjs → auth-MFFVOITR.mjs} +4 -4
  15. package/dist/cli/auth-W2MQM6GQ.js +31 -0
  16. package/dist/cli/{billing-R6NYYO6G.mjs → billing-LRBHWLIQ.mjs} +4 -4
  17. package/dist/cli/{billing-GGVKLFE6.js → billing-V4Y4OVQ7.js} +70 -70
  18. package/dist/cli/{chunk-7MABE3ZK.mjs → chunk-3RZJ3GEG.mjs} +135 -5
  19. package/dist/cli/{chunk-UDIPEHNJ.js → chunk-4FLEXYUC.js} +141 -11
  20. package/dist/cli/{chunk-LJWC5HSO.js → chunk-75ZOTF3K.js} +15 -15
  21. package/dist/cli/{chunk-6ENR652E.mjs → chunk-7T6DX5RK.mjs} +21 -14
  22. package/dist/cli/{chunk-Y4LXIUHX.js → chunk-AD23W4S5.js} +1 -1
  23. package/dist/cli/{chunk-B2R66UTW.mjs → chunk-EROOAI5G.mjs} +1 -1
  24. package/dist/cli/{chunk-UM4ZE3P7.mjs → chunk-ERU2OR6F.mjs} +2 -2
  25. package/dist/cli/{chunk-YIY74KUF.mjs → chunk-EV4QJE4J.mjs} +1 -1
  26. package/dist/cli/{chunk-WWVE4HFN.mjs → chunk-FK7PW6BP.mjs} +1 -1
  27. package/dist/cli/{chunk-2HKPAZVJ.js → chunk-FKKNYKDY.js} +14 -3
  28. package/dist/cli/{chunk-YFCHBN3C.mjs → chunk-GCNER3HV.mjs} +1 -1
  29. package/dist/cli/{chunk-ITFUZEHE.js → chunk-GY2EEO2Y.js} +9 -9
  30. package/dist/cli/{chunk-GZV5F6CL.mjs → chunk-HI7TAWFS.mjs} +79 -26
  31. package/dist/cli/{chunk-AKKQ26RX.mjs → chunk-HVPRQGF4.mjs} +1 -1
  32. package/dist/cli/{chunk-ZFKUVDOM.js → chunk-J2E5R2VH.js} +60 -60
  33. package/dist/cli/{chunk-XVKQ6D4K.js → chunk-KHZQFFOQ.js} +2 -2
  34. package/dist/cli/{chunk-SMGNDW7O.mjs → chunk-MFQQINUY.mjs} +2 -2
  35. package/dist/cli/{chunk-ZND34HL7.mjs → chunk-MO2XSC5I.mjs} +4 -4
  36. package/dist/cli/{chunk-KP7W5NO6.mjs → chunk-NTVTZAVZ.mjs} +13 -2
  37. package/dist/cli/{chunk-7DDNACAQ.js → chunk-OUTIWGKY.js} +26 -26
  38. package/dist/cli/{chunk-7R6KQSFA.mjs → chunk-OZGU7P2S.mjs} +1 -1
  39. package/dist/cli/{chunk-BC7FMQ2G.mjs → chunk-SJV5MTOJ.mjs} +1 -1
  40. package/dist/cli/{chunk-DNMV2L7Q.js → chunk-U2N4CYT7.js} +6 -6
  41. package/dist/cli/{chunk-W6WV6UME.js → chunk-U4CTHVN7.js} +255 -248
  42. package/dist/cli/{chunk-AGH6YP2T.js → chunk-UQV5M6HN.js} +3 -3
  43. package/dist/cli/{chunk-O5GPNPOC.js → chunk-VDIHLKGG.js} +4 -4
  44. package/dist/cli/{chunk-DNYRAZSK.js → chunk-VLDLJZ75.js} +48 -48
  45. package/dist/cli/{chunk-2FPVWL4W.js → chunk-XRYKLK56.js} +119 -66
  46. package/dist/cli/{chunk-OOLIEDIJ.mjs → chunk-YNSCELIJ.mjs} +2 -2
  47. package/dist/cli/{chunk-LEEXRXQQ.js → chunk-ZXGUYTIT.js} +6 -6
  48. package/dist/cli/client-5AIFBLKQ.js +20 -0
  49. package/dist/cli/{client-ZABA5NMD.mjs → client-BNLD775D.mjs} +3 -3
  50. package/dist/cli/{csv-VECE3PWX.mjs → csv-7MVQECWG.mjs} +3 -3
  51. package/dist/cli/{csv-4ZK5ZJAJ.js → csv-ZT6ZRQ3Z.js} +12 -12
  52. package/dist/cli/{db-6VE4OEWW.mjs → db-ABLWLMX5.mjs} +4 -4
  53. package/dist/cli/{db-UJPCDBV7.js → db-C4BMZXJK.js} +29 -29
  54. package/dist/cli/{describe-W6X5G4JR.mjs → describe-XWOWAR32.mjs} +10 -10
  55. package/dist/cli/{describe-CFUZZ326.js → describe-YALVN4WH.js} +17 -17
  56. package/dist/cli/{executions-ZZWB75DF.mjs → executions-7IZVKQ3O.mjs} +4 -4
  57. package/dist/cli/{executions-AI4DTQQL.js → executions-U4TNRP26.js} +6 -6
  58. package/dist/cli/{feedback-IM5Z6T5K.mjs → feedback-GO5XPEKY.mjs} +3 -3
  59. package/dist/cli/{feedback-FYSNSYUU.js → feedback-NWMRT5W4.js} +6 -6
  60. package/dist/cli/{git-YNYTK3YW.mjs → git-R53WS4WA.mjs} +4 -4
  61. package/dist/cli/git-YWRLAOBY.js +23 -0
  62. package/dist/cli/index.js +79 -79
  63. package/dist/cli/index.mjs +31 -31
  64. package/dist/cli/{legacy-noops-4DTMYYUY.mjs → legacy-noops-6QAZW7WJ.mjs} +4 -4
  65. package/dist/cli/{legacy-noops-PHJE2XFK.js → legacy-noops-NJWM53DE.js} +7 -7
  66. package/dist/cli/{monitors-27JP76WE.js → monitors-2I2MYAPS.js} +85 -85
  67. package/dist/cli/{monitors-HUP4MVWJ.mjs → monitors-2N4BRU5M.mjs} +4 -4
  68. package/dist/cli/{org-L3B2RR4U.mjs → org-D3RHK2Q7.mjs} +4 -4
  69. package/dist/cli/{org-RHVDMUKN.js → org-XVNAE2JV.js} +60 -60
  70. package/dist/cli/{play-UXIJVYNF.mjs → play-L7MYJZ65.mjs} +9 -9
  71. package/dist/cli/play-OYRHI7G3.js +153 -0
  72. package/dist/cli/{providers-VL6VY56M.js → providers-5BTDAZHN.js} +7 -7
  73. package/dist/cli/{providers-FABWTNKR.mjs → providers-YM4E7WZD.mjs} +4 -4
  74. package/dist/cli/{quickstart-IIPZ6DSY.js → quickstart-5A3FHAH3.js} +5 -5
  75. package/dist/cli/{quickstart-OA54A4IE.mjs → quickstart-ARPLJOLH.mjs} +3 -3
  76. package/dist/cli/{search-YDK4V2EW.mjs → search-KKJEVV27.mjs} +5 -5
  77. package/dist/cli/search-VE3O3ZEM.js +26 -0
  78. package/dist/cli/{secrets-4MQF6RF6.mjs → secrets-DGRJ4DO5.mjs} +4 -4
  79. package/dist/cli/{secrets-JGU7ZRUW.js → secrets-DVPVCSZD.js} +13 -13
  80. package/dist/cli/{sessions-PTHOMSZ5.mjs → sessions-56EHXLZD.mjs} +4 -4
  81. package/dist/cli/{sessions-I7ZZYSYW.js → sessions-VG4ATQ5Y.js} +5 -5
  82. package/dist/cli/{settings-X4ENSGNK.mjs → settings-4U5XG7QI.mjs} +7 -7
  83. package/dist/cli/{settings-ZUUBKIG6.js → settings-BLOTIW2G.js} +74 -74
  84. package/dist/cli/{setup-6L576TQE.js → setup-L7AMAXCH.js} +41 -41
  85. package/dist/cli/{setup-4UM6FCZL.mjs → setup-RHJAHPOR.mjs} +6 -6
  86. package/dist/cli/skills-QB4OQGGP.js +28 -0
  87. package/dist/cli/{skills-U3BS5KUI.mjs → skills-VU55YFCI.mjs} +4 -4
  88. package/dist/cli/tools-2CPFYNK7.js +40 -0
  89. package/dist/cli/{tools-O4PX6UVB.mjs → tools-JS3YIDOH.mjs} +7 -6
  90. package/dist/cli/{update-OHWSK2WN.mjs → update-EHI5QUXM.mjs} +6 -6
  91. package/dist/cli/update-WXP24GU5.js +28 -0
  92. package/dist/cli/{workflow-RVMGBMLX.mjs → workflow-BITLTLRF.mjs} +5 -5
  93. package/dist/cli/{workflow-QWTZBLT3.js → workflow-NE4SYRAT.js} +15 -15
  94. package/dist/{client-wiWPZhnI.d.mts → client-D5XOQKsA.d.mts} +20 -1
  95. package/dist/{client-DHq8dJ56.d.ts → client-l-IoLh8Z.d.ts} +20 -1
  96. package/dist/{compiler-manifest-9TkZ_ykI.d.mts → compiler-manifest-82q4jtfQ.d.mts} +44 -17
  97. package/dist/{compiler-manifest-9TkZ_ykI.d.ts → compiler-manifest-82q4jtfQ.d.ts} +44 -17
  98. package/dist/{index-B-5_Xhud.d.mts → index-BPbW2XHF.d.mts} +1 -1
  99. package/dist/{index-ykksoEyR.d.ts → index-k0rquHIm.d.ts} +1 -1
  100. package/dist/index.d.mts +14 -8
  101. package/dist/index.d.ts +14 -8
  102. package/dist/index.js +194 -69
  103. package/dist/index.mjs +162 -37
  104. package/dist/install-integrity.json +84 -84
  105. package/dist/plays/bundle-play-file.d.mts +3 -3
  106. package/dist/plays/bundle-play-file.d.ts +3 -3
  107. package/dist/plays/bundle-play-file.mjs +2 -2
  108. package/dist/plays/run-request.d.mts +2 -2
  109. package/dist/plays/run-request.d.ts +2 -2
  110. package/dist/release.d.mts +1 -1
  111. package/dist/release.d.ts +1 -1
  112. package/dist/release.js +2 -2
  113. package/dist/release.mjs +1 -1
  114. package/package.json +2 -1
  115. package/dist/cli/auth-EKRB4GMP.js +0 -31
  116. package/dist/cli/client-55BDB4LE.js +0 -20
  117. package/dist/cli/git-VWXH6LCP.js +0 -23
  118. package/dist/cli/play-UKH4VFPF.js +0 -153
  119. package/dist/cli/search-JD2VTR4A.js +0 -26
  120. package/dist/cli/skills-TLPNCERR.js +0 -28
  121. package/dist/cli/tools-26JTFFU4.js +0 -39
  122. package/dist/cli/update-35RRCU2G.js +0 -28
@@ -10,7 +10,7 @@ var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
10
10
 
11
11
 
12
12
 
13
- var _chunkUDIPEHNJjs = require('./chunk-UDIPEHNJ.js');
13
+ var _chunk4FLEXYUCjs = require('./chunk-4FLEXYUC.js');
14
14
 
15
15
 
16
16
 
@@ -22,7 +22,7 @@ var _chunkNXDRDJ4Kjs = require('./chunk-NXDRDJ4K.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkITFUZEHEjs = require('./chunk-ITFUZEHE.js');
25
+ var _chunkGY2EEO2Yjs = require('./chunk-GY2EEO2Y.js');
26
26
 
27
27
 
28
28
 
@@ -36,11 +36,14 @@ var _chunkQJBJZVG6js = require('./chunk-QJBJZVG6.js');
36
36
 
37
37
 
38
38
 
39
- var _chunkDNMV2L7Qjs = require('./chunk-DNMV2L7Q.js');
39
+ var _chunkU2N4CYT7js = require('./chunk-U2N4CYT7.js');
40
40
 
41
41
 
42
42
 
43
- var _chunkO5GPNPOCjs = require('./chunk-O5GPNPOC.js');
43
+ var _chunkVDIHLKGGjs = require('./chunk-VDIHLKGG.js');
44
+
45
+
46
+ var _chunkFKKNYKDYjs = require('./chunk-FKKNYKDY.js');
44
47
 
45
48
 
46
49
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -85,10 +88,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
85
88
  }
86
89
  };
87
90
  function pendingToolExecutionPath(input) {
88
- const config = _chunkO5GPNPOCjs.resolveConfig.call(void 0, );
91
+ const config = _chunkVDIHLKGGjs.resolveConfig.call(void 0, );
89
92
  const fingerprint = _crypto.createHash.call(void 0, "sha256").update(config.baseUrl).update("\0").update(_crypto.createHash.call(void 0, "sha256").update(config.apiKey).digest("hex")).update("\0").update(input.toolId).update("\0").update(_chunkNXDRDJ4Kjs.stableStringify.call(void 0, input.params)).update("\0").update(input.responseIntent).digest("hex");
90
93
  return _path.join.call(void 0,
91
- _chunkO5GPNPOCjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
94
+ _chunkVDIHLKGGjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
92
95
  `pending-tool-execution-${fingerprint}.json`
93
96
  );
94
97
  }
@@ -302,7 +305,19 @@ var CapabilityDescription = class _CapabilityDescription {
302
305
  billingSource,
303
306
  billingSourceLabel,
304
307
  deeplineCreditsPerPricingUnit: isFree ? 0 : canonicalCredits,
305
- deeplineUsdPerPricingUnit: isFree ? 0 : canonicalUsd
308
+ deeplineUsdPerPricingUnit: isFree ? 0 : canonicalUsd,
309
+ ...pricing.estimatedRange && !isFree && billingSource !== "own_provider_credentials" ? {
310
+ estimatedRange: pricing.estimatedRange,
311
+ details: Array.isArray(pricing.details) ? pricing.details.filter(
312
+ (value) => typeof value === "string"
313
+ ) : []
314
+ } : {},
315
+ ...pricing.observedReference && !isFree && billingSource !== "own_provider_credentials" ? {
316
+ observedReference: pricing.observedReference,
317
+ details: Array.isArray(pricing.details) ? pricing.details.filter(
318
+ (value) => typeof value === "string"
319
+ ) : []
320
+ } : {}
306
321
  };
307
322
  }
308
323
  };
@@ -520,12 +535,12 @@ function categoryEnumerationRender(summaries) {
520
535
  };
521
536
  }
522
537
  async function listToolCategories(emitJson, compact) {
523
- const client = new (0, _chunkITFUZEHEjs.DeeplineClient)();
538
+ const client = new (0, _chunkGY2EEO2Yjs.DeeplineClient)();
524
539
  const rawTools = await client.listTools({ compact });
525
540
  const items = rawTools.map(toListedTool);
526
541
  const summaries = aggregateCategorySummaries(rawTools);
527
542
  const outputItems = compact ? items.map(compactTool) : items;
528
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
543
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0,
529
544
  {
530
545
  tools: outputItems,
531
546
  count: outputItems.length,
@@ -544,7 +559,7 @@ function unknownCategoryError(category, summaries, emitJson) {
544
559
  const known = summaries.map((item) => item.name);
545
560
  const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
546
561
  if (emitJson) {
547
- _chunkDNMV2L7Qjs.printJson.call(void 0, {
562
+ _chunkU2N4CYT7js.printJson.call(void 0, {
548
563
  ok: false,
549
564
  exitCode: 4,
550
565
  code: "TOOL_CATEGORY_NOT_FOUND",
@@ -558,13 +573,13 @@ function unknownCategoryError(category, summaries, emitJson) {
558
573
  const render = categoryEnumerationRender(summaries);
559
574
  console.error(message);
560
575
  console.error("");
561
- console.error(_chunkDNMV2L7Qjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
576
+ console.error(_chunkU2N4CYT7js.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
562
577
  console.error("");
563
578
  console.error(`Valid categories: ${known.join(", ")}`);
564
579
  return 4;
565
580
  }
566
581
  async function listToolsInCategory(category, emitJson) {
567
- const client = new (0, _chunkITFUZEHEjs.DeeplineClient)();
582
+ const client = new (0, _chunkGY2EEO2Yjs.DeeplineClient)();
568
583
  const rawTools = await client.listTools({
569
584
  categories: category,
570
585
  compact: false
@@ -601,7 +616,7 @@ async function listToolsInCategory(category, emitJson) {
601
616
  }
602
617
  ]
603
618
  };
604
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
619
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0,
605
620
  {
606
621
  category,
607
622
  total: rows.length,
@@ -614,7 +629,7 @@ async function listToolsInCategory(category, emitJson) {
614
629
  return 0;
615
630
  }
616
631
  async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
617
- const client = new (0, _chunkITFUZEHEjs.DeeplineClient)();
632
+ const client = new (0, _chunkGY2EEO2Yjs.DeeplineClient)();
618
633
  const items = (await client.listTools({
619
634
  categories: requestedCategories.join(","),
620
635
  compact
@@ -643,7 +658,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
643
658
  ]
644
659
  };
645
660
  const outputItems = compact ? items.map(compactTool) : items;
646
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
661
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0,
647
662
  {
648
663
  tools: outputItems,
649
664
  count: outputItems.length,
@@ -662,13 +677,13 @@ async function listTools(category, options = {}) {
662
677
  const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]), () => ( ""));
663
678
  const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
664
679
  const compact = options.compact !== false;
665
- const emitJson = options.json === true || _chunkDNMV2L7Qjs.shouldEmitJson.call(void 0, );
680
+ const emitJson = options.json === true || _chunkU2N4CYT7js.shouldEmitJson.call(void 0, );
666
681
  if (positional && flagCategories.length > 0) {
667
682
  const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
668
683
  if (!flagIsSameSingle) {
669
684
  const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
670
685
  if (emitJson) {
671
- _chunkDNMV2L7Qjs.printJson.call(void 0, {
686
+ _chunkU2N4CYT7js.printJson.call(void 0, {
672
687
  ok: false,
673
688
  exitCode: 2,
674
689
  code: "TOOL_LIST_CATEGORY_CONFLICT",
@@ -695,7 +710,7 @@ async function grepTools(queryInput, options = {}) {
695
710
  console.error("Usage: deepline tools grep <query> [--json]");
696
711
  return 1;
697
712
  }
698
- const client = new (0, _chunkITFUZEHEjs.DeeplineClient)();
713
+ const client = new (0, _chunkGY2EEO2Yjs.DeeplineClient)();
699
714
  const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
700
715
  const mode = _nullishCoalesce(options.mode, () => ( "all"));
701
716
  const jsonOutput = options.json === true;
@@ -738,7 +753,7 @@ async function grepTools(queryInput, options = {}) {
738
753
  query,
739
754
  mode
740
755
  }) : null;
741
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
756
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0,
742
757
  {
743
758
  tools: outputTools,
744
759
  count: outputTools.length,
@@ -756,7 +771,7 @@ async function grepTools(queryInput, options = {}) {
756
771
  } : {},
757
772
  commandTemplates: TOOL_COMMAND_TEMPLATES
758
773
  },
759
- { json: options.json || _chunkDNMV2L7Qjs.shouldEmitJson.call(void 0, ) }
774
+ { json: options.json || _chunkU2N4CYT7js.shouldEmitJson.call(void 0, ) }
760
775
  );
761
776
  return 0;
762
777
  }
@@ -912,7 +927,7 @@ Examples:
912
927
  json: Boolean(options.json)
913
928
  });
914
929
  });
915
- _chunkUDIPEHNJjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
930
+ _chunk4FLEXYUCjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
916
931
  tools.command("grep <query>").description(
917
932
  "Literal grep over tool ids, descriptions, categories, and input fields."
918
933
  ).addHelpText(
@@ -959,6 +974,7 @@ Notes:
959
974
  preserve the nesting shown in the tool's example. Schemas and examples are
960
975
  separate describe fields.
961
976
  get is accepted as a compatibility alias for describe.
977
+ Text by default, including when piped; pass --json for structured output.
962
978
 
963
979
  Examples:
964
980
  deepline tools describe hunter_email_verifier
@@ -971,7 +987,7 @@ Examples:
971
987
  deepline tools describe ai_evaluate --estimate-payload @payload.json --json
972
988
  deepline tools execute hunter_email_verifier --input '{"email":"a@b.com"}'
973
989
  `
974
- ).option("--json", "Emit JSON output. Also automatic when stdout is piped").option(
990
+ ).option("--json", "Emit JSON output").option(
975
991
  "--model <model>",
976
992
  "For language tools, include AI Gateway metadata; for ai_evaluate, set the quote payload model"
977
993
  ).option(
@@ -1013,7 +1029,7 @@ Examples:
1013
1029
  process.exitCode = await narrowView();
1014
1030
  return;
1015
1031
  }
1016
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-CFUZZ326.js")));
1032
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-YALVN4WH.js")));
1017
1033
  process.exitCode = await describeAnything(
1018
1034
  toolId,
1019
1035
  { ...options, kinds: ["tools", "monitors"], fetchedTool: metadata },
@@ -1095,7 +1111,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1095
1111
  console.error("Usage: deepline tools describe <toolId> [--json]");
1096
1112
  return 1;
1097
1113
  }
1098
- const client = new (0, _chunkITFUZEHEjs.DeeplineClient)();
1114
+ const client = new (0, _chunkGY2EEO2Yjs.DeeplineClient)();
1099
1115
  let tool;
1100
1116
  try {
1101
1117
  tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
@@ -1149,7 +1165,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1149
1165
  const lines = toolPricingOnlyLines(tool, toolId);
1150
1166
  if (inferenceQuote)
1151
1167
  lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
1152
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
1168
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0,
1153
1169
  {
1154
1170
  toolId: String(tool.toolId || toolId),
1155
1171
  cost: Capability.fromCatalogEntry(tool).describe().customerCost(),
@@ -1167,7 +1183,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1167
1183
  }
1168
1184
  if ((options.schemaOnly || options.examplesOnly || options.gettersOnly) && !isMonitorTypeTool(tool) && !isPlayLikeTool(tool) && (options.json || options.contractJson)) {
1169
1185
  const contract = toolContractJsonForDescribe(tool, toolId);
1170
- _chunkDNMV2L7Qjs.printCompactJson.call(void 0, {
1186
+ _chunkU2N4CYT7js.printCompactJson.call(void 0, {
1171
1187
  toolId: contract.toolId,
1172
1188
  ...options.schemaOnly ? {
1173
1189
  inputSchema: contract.inputSchema,
@@ -1190,7 +1206,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1190
1206
  return 0;
1191
1207
  }
1192
1208
  if (options.contractJson) {
1193
- _chunkDNMV2L7Qjs.printCompactJson.call(void 0, {
1209
+ _chunkU2N4CYT7js.printCompactJson.call(void 0, {
1194
1210
  ...toolContractJsonForDescribe(tool, toolId),
1195
1211
  ...modelDescription ? { modelOptions: modelDescription } : {},
1196
1212
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -1199,7 +1215,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1199
1215
  }
1200
1216
  const emitJson = options.json === true;
1201
1217
  if (emitJson) {
1202
- _chunkDNMV2L7Qjs.printCompactJson.call(void 0, {
1218
+ _chunkU2N4CYT7js.printCompactJson.call(void 0, {
1203
1219
  ...toolMetadataJsonForDescribe(tool, toolId),
1204
1220
  ...modelDescription ? { modelOptions: modelDescription } : {},
1205
1221
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -1230,14 +1246,6 @@ ${formatModelDescription(modelDescription)}`);
1230
1246
  if (inferenceQuote) printInferenceQuoteSummary(inferenceQuote);
1231
1247
  return 0;
1232
1248
  }
1233
- if (_chunkDNMV2L7Qjs.shouldEmitJson.call(void 0, )) {
1234
- _chunkDNMV2L7Qjs.printCompactJson.call(void 0, {
1235
- ...toolContractJsonForDescribe(tool, toolId),
1236
- ...modelDescription ? { modelOptions: modelDescription } : {},
1237
- ...inferenceQuote ? { inferenceQuote } : {}
1238
- });
1239
- return 0;
1240
- }
1241
1249
  printCompactToolContract(tool, toolId);
1242
1250
  if (modelDescription) {
1243
1251
  process.stdout.write(`
@@ -1257,7 +1265,7 @@ function inferenceQuoteSummaryLines(_quote) {
1257
1265
  function printInferenceQuoteSummary(quote) {
1258
1266
  for (const line of inferenceQuoteSummaryLines(quote)) console.log(line);
1259
1267
  }
1260
- function toolContractJsonForDescribe(tool, requestedToolId) {
1268
+ function toolContractJsonForDescribe(tool, requestedToolId, authoringContractEdition) {
1261
1269
  const toolId = String(tool.toolId || requestedToolId);
1262
1270
  const inputFields = toolInputFieldsForDisplay(
1263
1271
  recordField(tool, "inputSchema", "input_schema")
@@ -1276,7 +1284,11 @@ function toolContractJsonForDescribe(tool, requestedToolId) {
1276
1284
  );
1277
1285
  const extractedLists = extractionContractEntries(
1278
1286
  arrayField2(toolExecutionResult, "extractedLists", "extracted_lists")
1279
- );
1287
+ ).map((entry) => ({
1288
+ ...entry,
1289
+ returnType: _chunkFKKNYKDYjs.playToolListGetterMode.call(void 0, authoringContractEdition) === "array" ? "Array" : "PlayDataset",
1290
+ rowsExpression: _chunkFKKNYKDYjs.playToolListGetterMode.call(void 0, authoringContractEdition) === "array" ? entry.expression : `await ${entry.expression}.materialize()`
1291
+ }));
1280
1292
  const extractedValues = extractionContractEntries(
1281
1293
  arrayField2(toolExecutionResult, "extractedValues", "extracted_values")
1282
1294
  );
@@ -1685,7 +1697,7 @@ function printCompactToolContract(tool, requestedToolId) {
1685
1697
  if (listGetters.length || valueGetters.length) {
1686
1698
  console.log("");
1687
1699
  console.log("Getters:");
1688
- if (listGetters.length) console.log("Lists:");
1700
+ if (listGetters.length) console.log(listGetterHeading());
1689
1701
  for (const entry of listGetters) {
1690
1702
  if (isRecord(entry))
1691
1703
  console.log(
@@ -1723,6 +1735,10 @@ function toolPricingOnlyLines(tool, requestedToolId, options = {}) {
1723
1735
  const price = displayText || summary || (credits !== null ? `${formatDecimal(credits)} Deepline credits${usd !== null ? ` / ${formatUsd(usd)}` : ""} per ${unit}` : "pricing unavailable");
1724
1736
  return [
1725
1737
  `${_nullishCoalesce(options.heading, () => ( `Pricing: ${toolId}`))}: ${price}`,
1738
+ ...cost.observedReference || cost.estimatedRange ? [
1739
+ ...summary ? [` ${summary}`] : [],
1740
+ ...(_nullishCoalesce(cost.details, () => ( []))).map((detail) => ` ${detail}`)
1741
+ ] : [],
1726
1742
  `Billing: ${billing}`
1727
1743
  ];
1728
1744
  }
@@ -1807,7 +1823,7 @@ function printToolExamplesOnly(tool, requestedToolId) {
1807
1823
  const getters = isRecord(contract.getters) ? contract.getters : {};
1808
1824
  const valueGetters = Array.isArray(getters.extractedValues) ? getters.extractedValues : [];
1809
1825
  const listGetters = Array.isArray(getters.extractedLists) ? getters.extractedLists : [];
1810
- const firstGetter = [...valueGetters, ...listGetters].find(isRecord);
1826
+ const firstGetter = valueGetters.find(isRecord);
1811
1827
  if (firstGetter) {
1812
1828
  const name = stringField2(firstGetter, "name") || "value";
1813
1829
  const expression = stringField2(firstGetter, "expression");
@@ -1816,7 +1832,28 @@ function printToolExamplesOnly(tool, requestedToolId) {
1816
1832
  `const ${safeIdentifier(name)} = ${expression.replace(/^toolExecutionResult\./, "result.")};`
1817
1833
  );
1818
1834
  }
1835
+ const arrayNames = new Set(
1836
+ recursiveToolInputFieldsForDisplay(
1837
+ recordField(tool, "outputSchema", "output_schema")
1838
+ ).filter((field) => String(field.type).split("|").includes("array")).map((field) => String(field.name).split(".").at(-1))
1839
+ );
1840
+ const firstList = _nullishCoalesce(listGetters.find(
1841
+ (entry) => isRecord(entry) && arrayNames.has(stringField2(entry, "name"))
1842
+ ), () => ( listGetters.find(isRecord)));
1843
+ if (isRecord(firstList)) {
1844
+ const name = safeIdentifier(stringField2(firstList, "name") || "list");
1845
+ if (_chunkFKKNYKDYjs.playToolListGetterMode.call(void 0, ) === "array") {
1846
+ console.log(`const ${name}_rows = ${playResultExpression(firstList)};`);
1847
+ } else {
1848
+ console.log(`const ${name}_ds = ${playResultExpression(firstList)};`);
1849
+ console.log(
1850
+ "// Complete small list from this response; throws above the memory cap."
1851
+ );
1852
+ console.log(`const ${name}_rows = await ${name}_ds.materialize();`);
1853
+ }
1854
+ }
1819
1855
  console.log("```");
1856
+ if (firstList) printListGetterConsumption();
1820
1857
  for (const example of examples) {
1821
1858
  const description = stringField2(example, "description");
1822
1859
  if (description) console.log(description);
@@ -1863,13 +1900,14 @@ function printToolGettersOnly(tool, requestedToolId) {
1863
1900
  return;
1864
1901
  }
1865
1902
  if (listGetters.length) {
1866
- console.log("Lists:");
1903
+ console.log(listGetterHeading());
1867
1904
  for (const entry of listGetters) {
1868
1905
  if (isRecord(entry))
1869
1906
  console.log(
1870
1907
  `- ${stringField2(entry, "name")}: ${playResultExpression(entry)}`
1871
1908
  );
1872
1909
  }
1910
+ printListGetterConsumption();
1873
1911
  }
1874
1912
  if (valueGetters.length) {
1875
1913
  console.log("Values:");
@@ -1881,6 +1919,20 @@ function printToolGettersOnly(tool, requestedToolId) {
1881
1919
  }
1882
1920
  }
1883
1921
  }
1922
+ function printListGetterConsumption() {
1923
+ if (_chunkFKKNYKDYjs.playToolListGetterMode.call(void 0, ) === "array") {
1924
+ console.log(
1925
+ "Use the ordinary array directly, or pass it to ctx.dataset to persist row work. No provider pagination is fetched. Lazy or incomplete lists throw; use readList for an explicit dataset read. A missing getter is not an empty list."
1926
+ );
1927
+ return;
1928
+ }
1929
+ console.log(
1930
+ "Pass the handle to ctx.dataset, use first() for one row, or for await...of to stream rows. materialize() loads the complete current list within the memory cap; materialize(n) and peek(n) return only a prefix. None fetch additional provider pagination. A missing getter is not an empty list."
1931
+ );
1932
+ }
1933
+ function listGetterHeading() {
1934
+ return _chunkFKKNYKDYjs.playToolListGetterMode.call(void 0, ) === "array" ? "Lists (ordinary JavaScript arrays):" : "Lists (PlayDataset, not a JavaScript array):";
1935
+ }
1884
1936
  function sampleValueForField(field) {
1885
1937
  const name = stringField2(field, "name").toLowerCase();
1886
1938
  const type = stringField2(field, "type").toLowerCase();
@@ -2010,15 +2062,16 @@ function usageGuidanceWithAccessDefaults(usageGuidance) {
2010
2062
  },
2011
2063
  access: {
2012
2064
  ...existingAccess,
2013
- extractedLists: {
2014
- expression: "toolExecutionResult.extractedLists.<name>.get()",
2015
- meaning: "Declared Deepline list extractors only."
2016
- },
2017
2065
  extractedValues: {
2018
2066
  expression: "toolExecutionResult.extractedValues.<name>.get()",
2019
2067
  meaning: "Declared Deepline scalar or normalized object extractors only."
2020
2068
  },
2021
2069
  ...existingAccess,
2070
+ extractedLists: {
2071
+ ...recordField(existingAccess, "extractedLists"),
2072
+ expression: "toolExecutionResult.extractedLists.<name>.get()",
2073
+ meaning: _chunkFKKNYKDYjs.playToolListGetterMode.call(void 0, ) === "array" ? "Returns an ordinary array from this response. Use array methods directly or pass it to ctx.dataset to persist row work. Lazy or incomplete lists throw; use readList for an explicit dataset read. It does not fetch provider pages." : "Returns a PlayDataset, not a JavaScript array. Pass the handle to ctx.dataset, use first(), async iteration, or await handle.materialize() for the complete current list within the memory cap. materialize(n) and peek(n) return a prefix; none fetch additional provider pages. A missing getter is not an empty list."
2074
+ },
2022
2075
  rawToolResponse: {
2023
2076
  expression: "toolExecutionResult.toolResponse.rawV2",
2024
2077
  meaning: "Complete tool response with its original nesting. Read tool-specific fields here; use declared getters for extracted values and lists."
@@ -2573,7 +2626,7 @@ function parseExecuteOptions(toolId, options, output) {
2573
2626
  outputFormat = normalizeOutputFormat(options.outputFormat);
2574
2627
  }
2575
2628
  if (options.idempotencyKey !== void 0) {
2576
- _chunkITFUZEHEjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2629
+ _chunkGY2EEO2Yjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2577
2630
  }
2578
2631
  if (options.recoveryTimeoutMs !== void 0) {
2579
2632
  const parsed = Number(options.recoveryTimeoutMs);
@@ -2658,8 +2711,8 @@ export default definePlay(${JSON.stringify(playName)}, async (ctx) => {
2658
2711
  const rows = list.get();
2659
2712
  // ${sampleRows}
2660
2713
  // columns: ${columns}
2661
- // extractedLists.<name>.get() returns a dataset handle for row-shaped list outputs.
2662
- // Pass it to ctx.dataset; use rows.peek/count/materialize only for deliberate bounded inspection.
2714
+ // ${_chunkFKKNYKDYjs.playToolListGetterMode.call(void 0, ) === "array" ? "extractedLists.<name>.get() returns an ordinary array from this response." : "extractedLists.<name>.get() returns a dataset handle for row-shaped list outputs."}
2715
+ // ${_chunkFKKNYKDYjs.playToolListGetterMode.call(void 0, ) === "array" ? "Use array methods directly; pass rows to ctx.dataset to persist row work." : "Pass it to ctx.dataset; use rows.peek/count/materialize only for deliberate bounded inspection."}
2663
2716
  // .withColumn('email_waterfall', (row, rowCtx) => rowCtx.runPlay('name_domain_email', 'name-and-domain-to-email', { first_name: String(row.first_name ?? ''), last_name: String(row.last_name ?? ''), domain: String(row.domain ?? '') }, { description: 'Resolve email.' }))
2664
2717
  // .withColumn('phone_waterfall', (row, rowCtx) => rowCtx.runPlay('contact_phone', 'contact-to-phone', { first_name: String(row.first_name ?? ''), last_name: String(row.last_name ?? ''), email: String(row.email ?? '') }, { description: 'Resolve phone.' }))
2665
2718
  // ctx.dataset is idempotent for completed rows during same-run recovery. New runs follow each call's freshness.
@@ -2884,20 +2937,20 @@ function buildToolExecuteRowArtifactEnvelope(input) {
2884
2937
  }
2885
2938
  async function executeTool(toolId, options) {
2886
2939
  const output = toolExecuteJsonOption(options.json);
2887
- const wantsJson = _chunkDNMV2L7Qjs.shouldEmitJson.call(void 0, output.requested);
2940
+ const wantsJson = _chunkU2N4CYT7js.shouldEmitJson.call(void 0, output.requested);
2888
2941
  let parsed;
2889
2942
  try {
2890
2943
  parsed = parseExecuteOptions(toolId, options, output);
2891
2944
  } catch (error) {
2892
2945
  if (wantsJson) {
2893
- _chunkDNMV2L7Qjs.printJsonError.call(void 0, error);
2946
+ _chunkU2N4CYT7js.printJsonError.call(void 0, error);
2894
2947
  } else {
2895
2948
  console.error(error instanceof Error ? error.message : String(error));
2896
2949
  }
2897
2950
  return error instanceof _chunk7P5AA3SNjs.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
2898
2951
  }
2899
2952
  const cliInvocationId = _nullishCoalesce(_chunkQJBJZVG6js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkQJBJZVG6js.beginToolExecuteCommand.call(void 0, )));
2900
- const client = new (0, _chunkITFUZEHEjs.DeeplineClient)();
2953
+ const client = new (0, _chunkGY2EEO2Yjs.DeeplineClient)();
2901
2954
  let metadata;
2902
2955
  try {
2903
2956
  metadata = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0,
@@ -2912,7 +2965,7 @@ async function executeTool(toolId, options) {
2912
2965
  );
2913
2966
  if (play) {
2914
2967
  if (wantsJson) {
2915
- _chunkDNMV2L7Qjs.printJsonError.call(void 0,
2968
+ _chunkU2N4CYT7js.printJsonError.call(void 0,
2916
2969
  new Error(playAliasToolErrorMessage(parsed.toolId, play))
2917
2970
  );
2918
2971
  } else {
@@ -2925,7 +2978,7 @@ async function executeTool(toolId, options) {
2925
2978
  }
2926
2979
  if (isPlayLikeTool(metadata)) {
2927
2980
  if (wantsJson) {
2928
- _chunkDNMV2L7Qjs.printJsonError.call(void 0,
2981
+ _chunkU2N4CYT7js.printJsonError.call(void 0,
2929
2982
  new Error(
2930
2983
  playLikeToolExecuteErrorMessage(
2931
2984
  parsed.toolId,
@@ -2961,7 +3014,7 @@ async function executeTool(toolId, options) {
2961
3014
  responseIntent,
2962
3015
  ...idempotencyKey ? { idempotencyKey } : {},
2963
3016
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
2964
- searchRef: _chunkUDIPEHNJjs.recentSearchRef.call(void 0, ),
3017
+ searchRef: _chunk4FLEXYUCjs.recentSearchRef.call(void 0, ),
2965
3018
  cliInvocationId
2966
3019
  }).catch((error) => {
2967
3020
  const guidanceLines = toolGuidanceLines(metadata.guidance);
@@ -3000,8 +3053,8 @@ async function executeTool(toolId, options) {
3000
3053
  );
3001
3054
  const executeExitCode = toolExecuteExitCode(baseEnvelope);
3002
3055
  const delivered = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0, "output delivery", () => {
3003
- if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && _chunkDNMV2L7Qjs.shouldEmitJson.call(void 0, ))) {
3004
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
3056
+ if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && _chunkU2N4CYT7js.shouldEmitJson.call(void 0, ))) {
3057
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
3005
3058
  return true;
3006
3059
  }
3007
3060
  if (parsed.outputFormat === "json_file") {
@@ -3009,7 +3062,7 @@ async function executeTool(toolId, options) {
3009
3062
  rawResponse,
3010
3063
  `payload_${parsed.toolId}`
3011
3064
  );
3012
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
3065
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0,
3013
3066
  {
3014
3067
  ...baseEnvelope,
3015
3068
  local: {
@@ -3031,7 +3084,7 @@ async function executeTool(toolId, options) {
3031
3084
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
3032
3085
  );
3033
3086
  if (wantsJson) {
3034
- _chunkDNMV2L7Qjs.printJsonError.call(void 0, error);
3087
+ _chunkU2N4CYT7js.printJsonError.call(void 0, error);
3035
3088
  } else {
3036
3089
  console.error(error.message);
3037
3090
  }
@@ -3042,18 +3095,18 @@ async function executeTool(toolId, options) {
3042
3095
  rawResponse,
3043
3096
  `payload_${parsed.toolId}`
3044
3097
  );
3045
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
3098
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0,
3046
3099
  {
3047
3100
  ...baseEnvelope,
3048
3101
  local: {
3049
3102
  payload_file: jsonPath
3050
3103
  }
3051
3104
  },
3052
- { json: parsed.outputFormat === "csv_file" || _chunkDNMV2L7Qjs.shouldEmitJson.call(void 0, ) }
3105
+ { json: parsed.outputFormat === "csv_file" || _chunkU2N4CYT7js.shouldEmitJson.call(void 0, ) }
3053
3106
  );
3054
3107
  return true;
3055
3108
  }
3056
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
3109
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
3057
3110
  return true;
3058
3111
  }
3059
3112
  const rowOutput = _chunkNXDRDJ4Kjs.projectRowOutput.call(void 0, listConversion);
@@ -3077,7 +3130,7 @@ async function executeTool(toolId, options) {
3077
3130
  seededScript
3078
3131
  });
3079
3132
  if (parsed.outputFormat === "csv_file") {
3080
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
3133
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
3081
3134
  return true;
3082
3135
  }
3083
3136
  if (parsed.outPath) {
@@ -3085,7 +3138,7 @@ async function executeTool(toolId, options) {
3085
3138
  toolId: parsed.toolId,
3086
3139
  idempotencyKey
3087
3140
  });
3088
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
3141
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0, materializedEnvelope, {
3089
3142
  json: wantsJson,
3090
3143
  text: `Wrote ${csv.rowCount} row(s) to ${csv.path}
3091
3144
  inspect: ${inspection.inspect}
@@ -3094,7 +3147,7 @@ inspect: ${inspection.inspect}
3094
3147
  return true;
3095
3148
  }
3096
3149
  if (parsed.noPreview) {
3097
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
3150
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0,
3098
3151
  {
3099
3152
  ...materializedEnvelope,
3100
3153
  local: {
@@ -3102,12 +3155,12 @@ inspect: ${inspection.inspect}
3102
3155
  output_path: csv.path
3103
3156
  }
3104
3157
  },
3105
- { json: _chunkDNMV2L7Qjs.shouldEmitJson.call(void 0, ), text: `${csv.path}
3158
+ { json: _chunkU2N4CYT7js.shouldEmitJson.call(void 0, ), text: `${csv.path}
3106
3159
  ` }
3107
3160
  );
3108
3161
  return true;
3109
3162
  }
3110
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: false });
3163
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0, materializedEnvelope, { json: false });
3111
3164
  return true;
3112
3165
  });
3113
3166
  if (delivered) {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GAMFK2ZP.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-B2R66UTW.mjs";
6
+ } from "./chunk-EROOAI5G.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -22,7 +22,7 @@ import {
22
22
  sdkCliStateDirPath,
23
23
  skillsAgentPathSegment,
24
24
  writeSdkSkillsLocalVersion
25
- } from "./chunk-WWVE4HFN.mjs";
25
+ } from "./chunk-FK7PW6BP.mjs";
26
26
  import {
27
27
  DeeplineError
28
28
  } from "./chunk-NXGCO4JB.mjs";
@@ -1,7 +1,7 @@
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 _chunkDNMV2L7Qjs = require('./chunk-DNMV2L7Q.js');
4
+ var _chunkU2N4CYT7js = require('./chunk-U2N4CYT7.js');
5
5
 
6
6
  // src/cli/commands/sessions.ts
7
7
 
@@ -420,7 +420,7 @@ function buildSessionUploadContent(raw) {
420
420
  return { encodedContent: encoded, needsChunking: true };
421
421
  }
422
422
  async function uploadPayload(path, payload) {
423
- const { http } = _chunkDNMV2L7Qjs.getAuthedHttpClient.call(void 0, );
423
+ const { http } = _chunkU2N4CYT7js.getAuthedHttpClient.call(void 0, );
424
424
  return await http.post(path, payload);
425
425
  }
426
426
  async function uploadChunkedSessions(sessions, options) {
@@ -452,7 +452,7 @@ async function uploadChunkedSessions(sessions, options) {
452
452
  environments: sessions.map(() => detectShellContext()),
453
453
  ...options.rating ? { rating: options.rating } : {}
454
454
  });
455
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
455
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0,
456
456
  {
457
457
  ...response,
458
458
  ok: true,
@@ -481,7 +481,7 @@ async function handleSessionsSend(options) {
481
481
  filename: _path.basename.call(void 0, filePath),
482
482
  ...rating ? { rating } : {}
483
483
  });
484
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
484
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0,
485
485
  {
486
486
  ...response2,
487
487
  ok: true,
@@ -530,7 +530,7 @@ async function handleSessionsSend(options) {
530
530
  environment: detectShellContext(),
531
531
  ...rating ? { rating } : {}
532
532
  });
533
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
533
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0,
534
534
  {
535
535
  ...response,
536
536
  ok: true,
@@ -635,7 +635,7 @@ ${refreshMeta}
635
635
  </body>
636
636
  </html>`;
637
637
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
638
- _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
638
+ _chunkU2N4CYT7js.printCommandEnvelope.call(void 0,
639
639
  {
640
640
  ok: true,
641
641
  file: outputPath,
@@ -0,0 +1,20 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunkGY2EEO2Yjs = require('./chunk-GY2EEO2Y.js');
7
+ require('./chunk-LA46MMTL.js');
8
+ require('./chunk-VDIHLKGG.js');
9
+ require('./chunk-XNYIZMNQ.js');
10
+ require('./chunk-AD23W4S5.js');
11
+ require('./chunk-S6R3OX7B.js');
12
+ require('./chunk-7P5AA3SN.js');
13
+ require('./chunk-OG64RBAC.js');
14
+ require('./chunk-COGTRVWW.js');
15
+
16
+
17
+
18
+
19
+
20
+ exports.DeeplineClient = _chunkGY2EEO2Yjs.DeeplineClient; exports.MONITOR_JOB_PHASES = _chunkGY2EEO2Yjs.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkGY2EEO2Yjs.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkGY2EEO2Yjs.MONITOR_JOB_STATES;
@@ -3,11 +3,11 @@ import {
3
3
  MONITOR_JOB_PHASES,
4
4
  MONITOR_JOB_RECONCILIATION_STATES,
5
5
  MONITOR_JOB_STATES
6
- } from "./chunk-7R6KQSFA.mjs";
6
+ } from "./chunk-OZGU7P2S.mjs";
7
7
  import "./chunk-CBVIJSHF.mjs";
8
- import "./chunk-WWVE4HFN.mjs";
8
+ import "./chunk-FK7PW6BP.mjs";
9
9
  import "./chunk-DLIRSHV6.mjs";
10
- import "./chunk-YFCHBN3C.mjs";
10
+ import "./chunk-GCNER3HV.mjs";
11
11
  import "./chunk-6IKARAYD.mjs";
12
12
  import "./chunk-NXGCO4JB.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";