deepline 0.3.395 → 0.3.396

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 (107) hide show
  1. package/dist/bundling-sources/sdk/src/plays/play-description.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
  4. package/dist/cli/{auth-NMQXZRS7.mjs → auth-3LTD62VL.mjs} +4 -4
  5. package/dist/cli/auth-562JPKOM.js +39 -0
  6. package/dist/cli/{billing-5MVXZRS6.mjs → billing-DP7ZAJBO.mjs} +5 -5
  7. package/dist/cli/{billing-Z4JTGUU3.js → billing-PA5OXEM5.js} +76 -76
  8. package/dist/cli/{chunk-BLYL3KOC.mjs → chunk-23GAA3YO.mjs} +1 -1
  9. package/dist/cli/{chunk-LZLBR2SF.js → chunk-2VOLOWYZ.js} +1087 -1056
  10. package/dist/cli/{chunk-EFLQHJZ6.mjs → chunk-3T4MCB5R.mjs} +1026 -995
  11. package/dist/cli/{chunk-VB6KECLU.mjs → chunk-5WNJF2T3.mjs} +102 -36
  12. package/dist/cli/{chunk-UKU6JM3S.js → chunk-772W2SAU.js} +8 -8
  13. package/dist/cli/{chunk-K5T3EN6D.js → chunk-7Z66NHUC.js} +26 -26
  14. package/dist/cli/{chunk-WCCKMLHL.mjs → chunk-AUYXWELC.mjs} +2 -2
  15. package/dist/cli/{chunk-PZ5BZ76S.js → chunk-AVHLATII.js} +50 -50
  16. package/dist/cli/{chunk-MYIBHORT.js → chunk-DC6LTULT.js} +2 -2
  17. package/dist/cli/{chunk-5VCZ3WRH.mjs → chunk-EIMG75BT.mjs} +1 -0
  18. package/dist/cli/{chunk-TO2MWPGR.js → chunk-GNN4MY5X.js} +1 -1
  19. package/dist/cli/{chunk-OCSG6X67.mjs → chunk-I4T4XAA2.mjs} +4 -4
  20. package/dist/cli/{chunk-ZWH2TFA7.mjs → chunk-JCN4DHF7.mjs} +2 -2
  21. package/dist/cli/{chunk-R4XZO6Z5.js → chunk-KAEZNPUM.js} +23 -8
  22. package/dist/cli/{chunk-DRM3CMHL.js → chunk-KXMNM4AQ.js} +2 -1
  23. package/dist/cli/{chunk-3TRY7KAC.mjs → chunk-LOGGNW4H.mjs} +2 -2
  24. package/dist/cli/{chunk-RDXFGPJU.js → chunk-LWERJUKN.js} +218 -218
  25. package/dist/cli/{chunk-UCXK2DS4.js → chunk-ME6XRFLY.js} +15 -15
  26. package/dist/cli/{chunk-G4IWGRMK.mjs → chunk-MR6XCBQJ.mjs} +2 -2
  27. package/dist/cli/{chunk-BON3DRC6.mjs → chunk-NHB5YUCS.mjs} +1 -1
  28. package/dist/cli/{chunk-ZMVJSS6N.js → chunk-NSOTASOP.js} +101 -35
  29. package/dist/cli/{chunk-7XAM7KDW.mjs → chunk-QHGPA362.mjs} +18 -3
  30. package/dist/cli/{chunk-VYLJJQ7Y.js → chunk-RMTASUAK.js} +65 -65
  31. package/dist/cli/{chunk-HRWUQJ4K.js → chunk-RTO5QZWT.js} +6 -6
  32. package/dist/cli/{chunk-7MVWUXOD.mjs → chunk-TLQ3FZOC.mjs} +3 -3
  33. package/dist/cli/{chunk-56IFFVIB.js → chunk-V7UP2F4U.js} +4 -4
  34. package/dist/cli/{chunk-6D7A2FSL.mjs → chunk-VE3U3SQC.mjs} +1 -1
  35. package/dist/cli/{chunk-36ML3YKA.js → chunk-WQJJNIMQ.js} +13 -13
  36. package/dist/cli/{chunk-47M6HPGP.mjs → chunk-XKZXO7D3.mjs} +1 -1
  37. package/dist/cli/{csv-SVOD5UBH.mjs → csv-RLRR74RQ.mjs} +3 -3
  38. package/dist/cli/{csv-HTS5ZYQ4.js → csv-TF576S77.js} +12 -12
  39. package/dist/cli/{db-7AP4P52N.js → db-FDBJUTFO.js} +30 -30
  40. package/dist/cli/{db-7QLNI3Q4.mjs → db-XORGNBIC.mjs} +5 -5
  41. package/dist/cli/{describe-DBRY5BNK.mjs → describe-6O2ENKTP.mjs} +86 -68
  42. package/dist/cli/{describe-YKOE54ZO.js → describe-EFWNECHI.js} +100 -82
  43. package/dist/cli/{executions-GRQXTB2P.js → executions-SFYAXPF4.js} +7 -7
  44. package/dist/cli/{executions-QNZTPNG4.mjs → executions-YPP7WR77.mjs} +5 -5
  45. package/dist/cli/{feedback-ZOLA2KY7.js → feedback-5UZFYMGB.js} +7 -7
  46. package/dist/cli/{feedback-JMCSR624.mjs → feedback-RBGA5ARU.mjs} +3 -3
  47. package/dist/cli/git-5LDY5ZID.js +23 -0
  48. package/dist/cli/{git-LJGL2IHS.mjs → git-IRSAJEK2.mjs} +4 -4
  49. package/dist/cli/index.js +94 -94
  50. package/dist/cli/index.mjs +38 -38
  51. package/dist/cli/{legacy-noops-YSCIR2SD.js → legacy-noops-CVAOQY2F.js} +7 -7
  52. package/dist/cli/{legacy-noops-F23PKVBN.mjs → legacy-noops-NA7N6ZOU.mjs} +4 -4
  53. package/dist/cli/{monitors-WMZ6HJZX.js → monitors-4OMRXCXP.js} +86 -86
  54. package/dist/cli/{monitors-S4LOEL7W.mjs → monitors-ILZ2XHYG.mjs} +5 -5
  55. package/dist/cli/{org-U3WA2NQM.mjs → org-QDDXAE3J.mjs} +5 -5
  56. package/dist/cli/{org-PFHM5ZLY.js → org-YGNJDD2X.js} +65 -65
  57. package/dist/cli/{chunk-4KLCLLTO.js → play-L535H26U.js} +266 -323
  58. package/dist/cli/{chunk-XMAPE2KH.mjs → play-VT6OHB2D.mjs} +72 -129
  59. package/dist/cli/{providers-XYMHLKCA.js → providers-GPZ6PQAL.js} +8 -8
  60. package/dist/cli/{providers-QBBRFBOH.mjs → providers-KG4W5MPK.mjs} +5 -5
  61. package/dist/cli/{quickstart-5JTDGISY.mjs → quickstart-2JDGTXIG.mjs} +3 -3
  62. package/dist/cli/{quickstart-IYGD6ZY3.js → quickstart-UI27S5LO.js} +5 -5
  63. package/dist/cli/search-MGWROZ33.js +28 -0
  64. package/dist/cli/{search-X6W6GRHS.mjs → search-PW3RAUX7.mjs} +6 -6
  65. package/dist/cli/{secrets-N55B67H6.mjs → secrets-HNOMK5A2.mjs} +5 -5
  66. package/dist/cli/{secrets-UHG6OQFD.js → secrets-WFAXOUZE.js} +14 -14
  67. package/dist/cli/{sessions-57L5MGHN.js → sessions-366KROUA.js} +5 -5
  68. package/dist/cli/{sessions-JTRSTDSS.mjs → sessions-XLX3E5UO.mjs} +4 -4
  69. package/dist/cli/{settings-ATX4U5AS.js → settings-GADAG2UK.js} +75 -75
  70. package/dist/cli/{settings-Q24HRAQI.mjs → settings-YNZ4YKCH.mjs} +8 -8
  71. package/dist/cli/{setup-77ZWLVHT.mjs → setup-PSEHIUXO.mjs} +6 -6
  72. package/dist/cli/{setup-EJCNOUCE.js → setup-R5YO7GT6.js} +41 -41
  73. package/dist/cli/skills-JF2LPEGM.js +28 -0
  74. package/dist/cli/{skills-XIS5AWQI.mjs → skills-LTQBP6CZ.mjs} +4 -4
  75. package/dist/cli/tools-CP2PEFRN.js +34 -0
  76. package/dist/cli/{tools-WCKLYEGQ.mjs → tools-UAXDWU63.mjs} +11 -19
  77. package/dist/cli/update-HZHZOU6C.js +28 -0
  78. package/dist/cli/{update-UT5WANMV.mjs → update-SMNIBIMS.mjs} +6 -6
  79. package/dist/cli/{workflow-226QYUN2.js → workflow-AOQVZHMD.js} +16 -16
  80. package/dist/cli/{workflow-ZMX3L4ML.mjs → workflow-IKGMBGF6.mjs} +6 -6
  81. package/dist/{client-CivP-PAI.d.ts → client-Bgis7F6-.d.ts} +2 -1
  82. package/dist/{client-hdFtwhTm.d.mts → client-DiGl8ska.d.mts} +2 -1
  83. package/dist/index.d.mts +2 -2
  84. package/dist/index.d.ts +2 -2
  85. package/dist/index.js +11 -11
  86. package/dist/index.mjs +9 -9
  87. package/dist/install-integrity.json +78 -80
  88. package/dist/plays/play-description.d.mts +1 -1
  89. package/dist/plays/play-description.d.ts +1 -1
  90. package/dist/plays/play-description.js +4 -2
  91. package/dist/plays/play-description.mjs +3 -1
  92. package/dist/plays/run-request.d.mts +1 -1
  93. package/dist/plays/run-request.d.ts +1 -1
  94. package/dist/release.d.mts +1 -1
  95. package/dist/release.d.ts +1 -1
  96. package/dist/release.js +2 -2
  97. package/dist/release.mjs +1 -1
  98. package/package.json +1 -1
  99. package/dist/cli/auth-UYCOBAL5.js +0 -39
  100. package/dist/cli/git-EJQLRK27.js +0 -23
  101. package/dist/cli/play-AGSECQFN.mjs +0 -159
  102. package/dist/cli/play-BR2LWGXK.js +0 -159
  103. package/dist/cli/search-ZVSYH5GY.js +0 -28
  104. package/dist/cli/skills-SPXUBLII.js +0 -28
  105. package/dist/cli/tools-DBHUUZJX.js +0 -42
  106. package/dist/cli/update-VSNFXRHJ.js +0 -28
  107. package/dist/cli/{chunk-KZZC33PY.mjs → chunk-H5KLUGY7.mjs} +214 -214
@@ -1,15 +1,15 @@
1
- import {
2
- handleDeploymentGet,
3
- handleDeploymentsList
4
- } from "./chunk-3TRY7KAC.mjs";
5
1
  import {
6
2
  addDescribeOptions,
7
- recordPlayTermination,
8
- schemaFields
9
- } from "./chunk-VB6KECLU.mjs";
3
+ buildPlayDashboardUrl,
4
+ recordPlayTermination
5
+ } from "./chunk-5WNJF2T3.mjs";
10
6
  import {
11
7
  shellQuote
12
8
  } from "./chunk-OVDNJAJN.mjs";
9
+ import {
10
+ handleDeploymentGet,
11
+ handleDeploymentsList
12
+ } from "./chunk-LOGGNW4H.mjs";
13
13
  import {
14
14
  PLAY_DEFAULT_EXPORT,
15
15
  extractDefinedPlayName,
@@ -18,16 +18,18 @@ import {
18
18
  parsePlaySourceForAnalysis,
19
19
  resolveEnabledExecutionProfile
20
20
  } from "./chunk-3HWALOL2.mjs";
21
+ import "./chunk-H7HIDGZ7.mjs";
21
22
  import {
22
23
  parseCsvDataInput
23
24
  } from "./chunk-HQXL5526.mjs";
24
25
  import {
25
26
  registerDeprecatedSearchCommand
26
- } from "./chunk-7XAM7KDW.mjs";
27
+ } from "./chunk-QHGPA362.mjs";
27
28
  import {
28
29
  pinLocalPlayImports,
29
30
  planLocalPlayExecution
30
31
  } from "./chunk-ERFN2QY4.mjs";
32
+ import "./chunk-3HU47EGZ.mjs";
31
33
  import {
32
34
  DeeplineClient,
33
35
  RUN_EVENT_SEARCH_KIND_VALUES,
@@ -40,7 +42,8 @@ import {
40
42
  logProvenanceReaches,
41
43
  normalizeRunEventOperationRequest,
42
44
  parseLogLevel
43
- } from "./chunk-G4IWGRMK.mjs";
45
+ } from "./chunk-MR6XCBQJ.mjs";
46
+ import "./chunk-6IKARAYD.mjs";
44
47
  import {
45
48
  CSV_DATA_INPUT_KEY,
46
49
  buildNamedPlayRunRequest,
@@ -54,7 +57,8 @@ import {
54
57
  import {
55
58
  CSV_HEADER_MATCHING_NOTE,
56
59
  playInputExampleArgs
57
- } from "./chunk-5VCZ3WRH.mjs";
60
+ } from "./chunk-EIMG75BT.mjs";
61
+ import "./chunk-UBKA33KY.mjs";
58
62
  import {
59
63
  recordCliTrace,
60
64
  traceCliSpan
@@ -77,13 +81,16 @@ import {
77
81
  printJsonError,
78
82
  renderCommandEnvelopeText,
79
83
  shouldEmitJson
80
- } from "./chunk-47M6HPGP.mjs";
84
+ } from "./chunk-XKZXO7D3.mjs";
81
85
  import {
82
86
  fetchWithDeploymentProtection
83
- } from "./chunk-6D7A2FSL.mjs";
87
+ } from "./chunk-VE3U3SQC.mjs";
88
+ import "./chunk-DLIRSHV6.mjs";
84
89
  import {
85
90
  DeeplineError
86
91
  } from "./chunk-NXGCO4JB.mjs";
92
+ import "./chunk-NHB5YUCS.mjs";
93
+ import "./chunk-WZYKRD7T.mjs";
87
94
  import {
88
95
  __commonJS,
89
96
  __toESM
@@ -9476,11 +9483,6 @@ function printPlayStatusHeartbeat(input) {
9476
9483
  input.state.lastStatusHeartbeatAt = now;
9477
9484
  input.progress.writeLine(line);
9478
9485
  }
9479
- function buildPlayDashboardUrl(baseUrl, playName) {
9480
- const trimmedBase = baseUrl.replace(/\/$/, "");
9481
- const encodedPlayName = encodeURIComponent(playName);
9482
- return `${trimmedBase}/dashboard/plays/${encodedPlayName}`;
9483
- }
9484
9486
  function resolveRunPlayName(status, runId) {
9485
9487
  const packaged = status.package?.run?.playName;
9486
9488
  if (typeof packaged === "string" && packaged.trim()) return packaged.trim();
@@ -15446,62 +15448,6 @@ function csvColumnLines(csvInput) {
15446
15448
  CSV_HEADER_MATCHING_NOTE
15447
15449
  ];
15448
15450
  }
15449
- function describedPlay(play) {
15450
- const reference = formatPlayListReference(play);
15451
- const starter = play.cloneEditStarter ?? buildCloneEditStarter(play);
15452
- const csv = play.csvInput ?? {};
15453
- const csvField2 = typeof csv.inputField === "string" ? csv.inputField : "csv";
15454
- const alongside = /* @__PURE__ */ new Set([
15455
- csvField2,
15456
- "columns",
15457
- ...Array.isArray(csv.runLevelControlFields) ? csv.runLevelControlFields.map(String) : []
15458
- ]);
15459
- const declared = schemaFields(play.inputSchema).map((field) => field.name);
15460
- const rowNames = schemaFields(csv.rowInputSchema).map((field) => field.name);
15461
- const replaced = play.csvInput ? (rowNames.length > 0 ? rowNames : declared).filter(
15462
- (name) => declared.includes(name) && !alongside.has(name)
15463
- ) : [];
15464
- const exclusive = replaced.length ? { field: csvField2, with: replaced } : void 0;
15465
- const headers = isRecord2(csv.defaultColumns) ? csv.defaultColumns : {};
15466
- const rowInputs = schemaFields(csv.rowInputSchema).map((field) => {
15467
- const header = [headers[field.name]].flat().filter((name) => name && name !== field.name).join(" or ");
15468
- return header ? {
15469
- ...field,
15470
- description: [field.description, `CSV header: ${header}`].filter(Boolean).join(" - ")
15471
- } : field;
15472
- });
15473
- const rowOutput = play.rowOutputSchema ?? {};
15474
- const added = isRecord2(rowOutput.addedColumns) ? rowOutput.addedColumns : {};
15475
- const rowOutputs = schemaFields(
15476
- Object.keys(added).length ? { properties: added } : rowOutput
15477
- ).map((field) => ({ ...field, required: true }));
15478
- return {
15479
- kind: play.ownerType === "deepline" ? "prebuilt_play" : "custom_play",
15480
- id: reference,
15481
- ...play.displayName && play.displayName !== play.name ? { displayName: play.displayName } : {},
15482
- ...play.description ? { description: play.description } : {},
15483
- ...play.observedCost ? { cost: play.observedCost.displayText } : {},
15484
- guidance: [],
15485
- inputs: schemaFields(play.inputSchema),
15486
- outputs: schemaFields(play.outputSchema),
15487
- ...rowInputs.length ? { rowInputs } : {},
15488
- ...typeof csv.inputField === "string" ? { csvInput: csv.inputField } : {},
15489
- ...rowOutputs.length ? {
15490
- rowOutputs,
15491
- rowOutputsAddToSource: Object.keys(added).length > 0 || rowOutput.preservesSourceColumns === true
15492
- } : {},
15493
- runner: {
15494
- via: "play",
15495
- reference,
15496
- // A CSV play's run command is built by the server around its columns.
15497
- ...play.csvInput ? { cli: play.runCommand } : {}
15498
- },
15499
- ...starter ? { source: starter.command } : {},
15500
- ...exclusive ? { exclusive } : {},
15501
- // A prebuilt's cost is what its recent runs were charged; there is no rate.
15502
- ...play.observedCost?.displayText ? { cost: play.observedCost.displayText } : {}
15503
- };
15504
- }
15505
15451
  function printPlayDescription(play) {
15506
15452
  const reference = formatPlayListReference(play);
15507
15453
  const labels = [
@@ -16692,7 +16638,7 @@ Examples:
16692
16638
  process.exitCode = await ownView();
16693
16639
  return;
16694
16640
  }
16695
- const { describeAnything } = await import("./describe-DBRY5BNK.mjs");
16641
+ const { describeAnything } = await import("./describe-6O2ENKTP.mjs");
16696
16642
  process.exitCode = await describeAnything(
16697
16643
  name,
16698
16644
  {
@@ -17671,72 +17617,69 @@ async function handlePlayShareUnpublish(args) {
17671
17617
  console.log(`Unpublished ${name}; the public page has been removed.`);
17672
17618
  return 0;
17673
17619
  }
17674
-
17675
17620
  export {
17676
- resolveDatasetByName,
17677
- parsePlayRunHeaderFlag,
17678
- parsePlayRunOptions,
17679
- loadPlayBundler,
17680
- liveMaxCreditsPerRun,
17681
- writePlayRunIdFile,
17682
- preflightLocalFileInputs,
17683
- describeSleepUntil,
17684
- getFinalStatusFromLiveEvent,
17685
- formatStepLabelFromNodeId,
17686
- getStepTransitionLineFromLiveEvent,
17687
- getProgressLinesFromLiveEvent,
17688
- shouldPrintPlayProgressLine,
17689
- getRunningHeartbeatLine,
17690
- buildPlayDashboardUrl,
17691
- waitForPlayCompletionByWatch,
17692
- startAndWaitForPlayCompletionByStream,
17693
- truncateErrorForDisplay,
17694
- clampJsonPreviewText,
17695
- withTerminalPlayIdentity,
17696
- compactPlayStatus,
17621
+ PREBUILT_PLAY_TAG_KEYS,
17622
+ assertDatasetHasExportableRows,
17623
+ buildPlayCompletionTextLines,
17697
17624
  buildRunActivityTextLines,
17698
- buildRunPackageTextLines,
17699
17625
  buildRunLaunch,
17700
- buildPlayCompletionTextLines,
17701
- resolvePlayRunOutputStatus,
17702
- assertDatasetHasExportableRows,
17626
+ buildRunLogsText,
17627
+ buildRunPackageTextLines,
17628
+ buildStopAllDryRunTextLines,
17629
+ clampJsonPreviewText,
17630
+ compactPlayStatus,
17631
+ csvColumnLines,
17632
+ describeSleepUntil,
17703
17633
  exportPlayStatusRows,
17704
- parsePlayPublishOptions,
17705
17634
  formatPlaySandboxRuntimeWarning,
17635
+ formatStepLabelFromNodeId,
17636
+ getFinalStatusFromLiveEvent,
17637
+ getProgressLinesFromLiveEvent,
17638
+ getRunningHeartbeatLine,
17639
+ getStepTransitionLineFromLiveEvent,
17706
17640
  handlePlayCheck,
17707
- handlePlayRun,
17708
- renderRunOverviewText,
17709
- handleRunGet,
17710
- handleRunLifecycleStatus,
17711
- handleRunsRerun,
17712
- handleRunsList,
17713
- handleRunTail,
17714
- handleRunLogs,
17715
- selectRunLogTailPage,
17716
- handleRunEventSearch,
17717
- buildRunLogsText,
17718
- resolveRunStopState,
17719
- handleRunStop,
17720
- buildStopAllDryRunTextLines,
17721
- handleRunStopAll,
17722
- handleRunExport,
17641
+ handlePlayDelete,
17642
+ handlePlayDescribe,
17723
17643
  handlePlayGet,
17724
- handlePlayVersions,
17725
- PREBUILT_PLAY_TAG_KEYS,
17644
+ handlePlayGrep,
17726
17645
  handlePlayList,
17727
17646
  handlePlayPin,
17728
- csvColumnLines,
17729
- describedPlay,
17730
- handlePlayGrep,
17731
- handlePlayDescribe,
17732
- handlePlaySave,
17733
17647
  handlePlayPublish,
17734
- handlePlayDelete,
17735
17648
  handlePlayRestore,
17736
- registerPlayCommands,
17737
- handlePlayShareStatus,
17649
+ handlePlayRun,
17650
+ handlePlaySave,
17738
17651
  handlePlaySharePublish,
17739
- handlePlayShareUpdate,
17740
17652
  handlePlayShareRegenerate,
17741
- handlePlayShareUnpublish
17653
+ handlePlayShareStatus,
17654
+ handlePlayShareUnpublish,
17655
+ handlePlayShareUpdate,
17656
+ handlePlayVersions,
17657
+ handleRunEventSearch,
17658
+ handleRunExport,
17659
+ handleRunGet,
17660
+ handleRunLifecycleStatus,
17661
+ handleRunLogs,
17662
+ handleRunStop,
17663
+ handleRunStopAll,
17664
+ handleRunTail,
17665
+ handleRunsList,
17666
+ handleRunsRerun,
17667
+ liveMaxCreditsPerRun,
17668
+ loadPlayBundler,
17669
+ parsePlayPublishOptions,
17670
+ parsePlayRunHeaderFlag,
17671
+ parsePlayRunOptions,
17672
+ preflightLocalFileInputs,
17673
+ registerPlayCommands,
17674
+ renderRunOverviewText,
17675
+ resolveDatasetByName,
17676
+ resolvePlayRunOutputStatus,
17677
+ resolveRunStopState,
17678
+ selectRunLogTailPage,
17679
+ shouldPrintPlayProgressLine,
17680
+ startAndWaitForPlayCompletionByStream,
17681
+ truncateErrorForDisplay,
17682
+ waitForPlayCompletionByWatch,
17683
+ withTerminalPlayIdentity,
17684
+ writePlayRunIdFile
17742
17685
  };
@@ -1,26 +1,26 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunk36ML3YKAjs = require('./chunk-36ML3YKA.js');
3
+ var _chunkWQJJNIMQjs = require('./chunk-WQJJNIMQ.js');
4
4
  require('./chunk-S6R3OX7B.js');
5
5
  require('./chunk-UHNDVD3P.js');
6
- require('./chunk-DRM3CMHL.js');
6
+ require('./chunk-KXMNM4AQ.js');
7
7
  require('./chunk-XDVT3GOM.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkHRWUQJ4Kjs = require('./chunk-HRWUQJ4K.js');
12
- require('./chunk-56IFFVIB.js');
11
+ var _chunkRTO5QZWTjs = require('./chunk-RTO5QZWT.js');
12
+ require('./chunk-V7UP2F4U.js');
13
13
  require('./chunk-XNYIZMNQ.js');
14
14
  require('./chunk-7P5AA3SN.js');
15
- require('./chunk-TO2MWPGR.js');
15
+ require('./chunk-GNN4MY5X.js');
16
16
  require('./chunk-OG64RBAC.js');
17
17
  require('./chunk-COGTRVWW.js');
18
18
 
19
19
  // src/cli/commands/providers.ts
20
20
  async function listProviders(options = {}) {
21
- const client = new (0, _chunk36ML3YKAjs.DeeplineClient)();
21
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
22
22
  const changed = options.changed === true;
23
- const emitJson = options.json === true || _chunkHRWUQJ4Kjs.shouldEmitJson.call(void 0, );
23
+ const emitJson = options.json === true || _chunkRTO5QZWTjs.shouldEmitJson.call(void 0, );
24
24
  const providers = await client.listProviders({ changed });
25
25
  const render = {
26
26
  sections: [
@@ -39,7 +39,7 @@ async function listProviders(options = {}) {
39
39
  }
40
40
  ]
41
41
  };
42
- _chunkHRWUQJ4Kjs.printCommandEnvelope.call(void 0,
42
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
43
43
  {
44
44
  providers,
45
45
  count: providers.length,
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-G4IWGRMK.mjs";
3
+ } from "./chunk-MR6XCBQJ.mjs";
4
4
  import "./chunk-6IKARAYD.mjs";
5
5
  import "./chunk-JI2B4RZP.mjs";
6
- import "./chunk-5VCZ3WRH.mjs";
6
+ import "./chunk-EIMG75BT.mjs";
7
7
  import "./chunk-UBKA33KY.mjs";
8
8
  import {
9
9
  printCommandEnvelope,
10
10
  shouldEmitJson
11
- } from "./chunk-47M6HPGP.mjs";
12
- import "./chunk-6D7A2FSL.mjs";
11
+ } from "./chunk-XKZXO7D3.mjs";
12
+ import "./chunk-VE3U3SQC.mjs";
13
13
  import "./chunk-DLIRSHV6.mjs";
14
14
  import "./chunk-NXGCO4JB.mjs";
15
- import "./chunk-BON3DRC6.mjs";
15
+ import "./chunk-NHB5YUCS.mjs";
16
16
  import "./chunk-WZYKRD7T.mjs";
17
17
  import "./chunk-KRD6H754.mjs";
18
18
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  printCommandEnvelope,
3
3
  shouldEmitJson
4
- } from "./chunk-47M6HPGP.mjs";
5
- import "./chunk-6D7A2FSL.mjs";
4
+ } from "./chunk-XKZXO7D3.mjs";
5
+ import "./chunk-VE3U3SQC.mjs";
6
6
  import "./chunk-DLIRSHV6.mjs";
7
7
  import "./chunk-NXGCO4JB.mjs";
8
- import "./chunk-BON3DRC6.mjs";
8
+ import "./chunk-NHB5YUCS.mjs";
9
9
  import "./chunk-WZYKRD7T.mjs";
10
10
  import {
11
11
  DEEPLINE_GTM_SKILL,
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkHRWUQJ4Kjs = require('./chunk-HRWUQJ4K.js');
5
- require('./chunk-56IFFVIB.js');
4
+ var _chunkRTO5QZWTjs = require('./chunk-RTO5QZWT.js');
5
+ require('./chunk-V7UP2F4U.js');
6
6
  require('./chunk-XNYIZMNQ.js');
7
7
  require('./chunk-7P5AA3SN.js');
8
- require('./chunk-TO2MWPGR.js');
8
+ require('./chunk-GNN4MY5X.js');
9
9
  require('./chunk-OG64RBAC.js');
10
10
 
11
11
 
@@ -15,12 +15,12 @@ require('./chunk-COGTRVWW.js');
15
15
 
16
16
  // src/cli/commands/quickstart.ts
17
17
  async function handleQuickstart(options) {
18
- const jsonOutput = _chunkHRWUQJ4Kjs.shouldEmitJson.call(void 0, options.json === true);
18
+ const jsonOutput = _chunkRTO5QZWTjs.shouldEmitJson.call(void 0, options.json === true);
19
19
  const gettingStarted = {
20
20
  skill: _chunkEBU7LQ64js.DEEPLINE_GTM_SKILL,
21
21
  examples: _chunkEBU7LQ64js.DEEPLINE_GTM_STARTER_PROMPTS
22
22
  };
23
- _chunkHRWUQJ4Kjs.printCommandEnvelope.call(void 0,
23
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
24
24
  {
25
25
  ok: true,
26
26
  status: "deprecated",
@@ -0,0 +1,28 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+ var _chunkKAEZNPUMjs = require('./chunk-KAEZNPUM.js');
9
+ require('./chunk-WQJJNIMQ.js');
10
+ require('./chunk-S6R3OX7B.js');
11
+ require('./chunk-UHNDVD3P.js');
12
+ require('./chunk-KXMNM4AQ.js');
13
+ require('./chunk-XDVT3GOM.js');
14
+ require('./chunk-RTO5QZWT.js');
15
+ require('./chunk-V7UP2F4U.js');
16
+ require('./chunk-XNYIZMNQ.js');
17
+ require('./chunk-7P5AA3SN.js');
18
+ require('./chunk-GNN4MY5X.js');
19
+ require('./chunk-OG64RBAC.js');
20
+ require('./chunk-COGTRVWW.js');
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+ exports.SEARCH_TYPES = _chunkKAEZNPUMjs.SEARCH_TYPES; exports.appendCsv = _chunkKAEZNPUMjs.appendCsv; exports.parseTypes = _chunkKAEZNPUMjs.parseTypes; exports.pointAtDescribe = _chunkKAEZNPUMjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunkKAEZNPUMjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunkKAEZNPUMjs.registerSearchCommand;
@@ -5,17 +5,17 @@ import {
5
5
  pointAtDescribe,
6
6
  registerDeprecatedSearchCommand,
7
7
  registerSearchCommand
8
- } from "./chunk-7XAM7KDW.mjs";
9
- import "./chunk-G4IWGRMK.mjs";
8
+ } from "./chunk-QHGPA362.mjs";
9
+ import "./chunk-MR6XCBQJ.mjs";
10
10
  import "./chunk-6IKARAYD.mjs";
11
11
  import "./chunk-JI2B4RZP.mjs";
12
- import "./chunk-5VCZ3WRH.mjs";
12
+ import "./chunk-EIMG75BT.mjs";
13
13
  import "./chunk-UBKA33KY.mjs";
14
- import "./chunk-47M6HPGP.mjs";
15
- import "./chunk-6D7A2FSL.mjs";
14
+ import "./chunk-XKZXO7D3.mjs";
15
+ import "./chunk-VE3U3SQC.mjs";
16
16
  import "./chunk-DLIRSHV6.mjs";
17
17
  import "./chunk-NXGCO4JB.mjs";
18
- import "./chunk-BON3DRC6.mjs";
18
+ import "./chunk-NHB5YUCS.mjs";
19
19
  import "./chunk-WZYKRD7T.mjs";
20
20
  import "./chunk-KRD6H754.mjs";
21
21
  export {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-G4IWGRMK.mjs";
3
+ } from "./chunk-MR6XCBQJ.mjs";
4
4
  import "./chunk-6IKARAYD.mjs";
5
5
  import "./chunk-JI2B4RZP.mjs";
6
- import "./chunk-5VCZ3WRH.mjs";
6
+ import "./chunk-EIMG75BT.mjs";
7
7
  import "./chunk-UBKA33KY.mjs";
8
8
  import {
9
9
  getAuthedHttpClient,
10
10
  printCommandEnvelope
11
- } from "./chunk-47M6HPGP.mjs";
12
- import "./chunk-6D7A2FSL.mjs";
11
+ } from "./chunk-XKZXO7D3.mjs";
12
+ import "./chunk-VE3U3SQC.mjs";
13
13
  import "./chunk-DLIRSHV6.mjs";
14
14
  import "./chunk-NXGCO4JB.mjs";
15
- import "./chunk-BON3DRC6.mjs";
15
+ import "./chunk-NHB5YUCS.mjs";
16
16
  import "./chunk-WZYKRD7T.mjs";
17
17
  import "./chunk-KRD6H754.mjs";
18
18
 
@@ -1,18 +1,18 @@
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
- var _chunk36ML3YKAjs = require('./chunk-36ML3YKA.js');
3
+ var _chunkWQJJNIMQjs = require('./chunk-WQJJNIMQ.js');
4
4
  require('./chunk-S6R3OX7B.js');
5
5
  require('./chunk-UHNDVD3P.js');
6
- require('./chunk-DRM3CMHL.js');
6
+ require('./chunk-KXMNM4AQ.js');
7
7
  require('./chunk-XDVT3GOM.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkHRWUQJ4Kjs = require('./chunk-HRWUQJ4K.js');
12
- require('./chunk-56IFFVIB.js');
11
+ var _chunkRTO5QZWTjs = require('./chunk-RTO5QZWT.js');
12
+ require('./chunk-V7UP2F4U.js');
13
13
  require('./chunk-XNYIZMNQ.js');
14
14
  require('./chunk-7P5AA3SN.js');
15
- require('./chunk-TO2MWPGR.js');
15
+ require('./chunk-GNN4MY5X.js');
16
16
  require('./chunk-OG64RBAC.js');
17
17
  require('./chunk-COGTRVWW.js');
18
18
 
@@ -204,9 +204,9 @@ function preventShellHistoryLeak(forbidden) {
204
204
  }
205
205
  }
206
206
  async function handleList(options) {
207
- const client = new (0, _chunk36ML3YKAjs.DeeplineClient)();
207
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
208
208
  const secrets = await client.listSecrets();
209
- _chunkHRWUQJ4Kjs.printCommandEnvelope.call(void 0,
209
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
210
210
  {
211
211
  secrets,
212
212
  count: secrets.length,
@@ -224,14 +224,14 @@ async function handleList(options) {
224
224
  }
225
225
  async function handleCheck(nameInput, options) {
226
226
  const name = normalizeSecretName(nameInput);
227
- const client = new (0, _chunk36ML3YKAjs.DeeplineClient)();
227
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
228
228
  const playName = options.play === void 0 ? void 0 : normalizePlaySelector(options.play);
229
229
  const check = playName !== void 0 ? await client.inspectSecret(name, { playName }) : null;
230
230
  const secret = check ? check.secret : await client.checkSecret(name);
231
231
  const ok = check ? check.ok : Boolean(secret);
232
232
  const quotedPlay = `'${(_nullishCoalesce(options.play, () => ( "PLAY"))).replace(/'/g, `'"'"'`)}'`;
233
233
  const scopeHint = check ? _optionalChain([secret, 'optionalAccess', _3 => _3.scope]) === "play" ? check.reason === "disabled" ? `The Play-scoped secret is disabled and no active org fallback is available. Restore it with: deepline secrets set ${name} --scope play --play ${quotedPlay}` : `The active Play-scoped secret takes precedence over the org secret.${ok ? "" : ` Restore it with: deepline secrets set ${name} --scope play --play ${quotedPlay}`}` : `No Play override.${ok ? " The org secret is available." : ` Set or rotate the org secret with: deepline secrets set ${name}`}` : `Metadata only. Verify effective scope and active version with: deepline secrets check ${name} --play <play-name>`;
234
- _chunkHRWUQJ4Kjs.printCommandEnvelope.call(void 0,
234
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
235
235
  {
236
236
  ok,
237
237
  name,
@@ -259,7 +259,7 @@ async function handleSet(nameInput, forbidden, options) {
259
259
  const name = normalizeSecretName(nameInput);
260
260
  const { scope, playName } = resolveSecretWriteScope(options);
261
261
  const value = await readSecretValueFromOptions(options);
262
- const { http } = _chunkHRWUQJ4Kjs.getAuthedHttpClient.call(void 0, );
262
+ const { http } = _chunkRTO5QZWTjs.getAuthedHttpClient.call(void 0, );
263
263
  const response = await http.post(
264
264
  "/api/v2/secrets",
265
265
  {
@@ -271,7 +271,7 @@ async function handleSet(nameInput, forbidden, options) {
271
271
  }
272
272
  );
273
273
  const secret = response.secret;
274
- _chunkHRWUQJ4Kjs.printCommandEnvelope.call(void 0,
274
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
275
275
  {
276
276
  ok: true,
277
277
  secret,
@@ -299,7 +299,7 @@ async function handleNote(secretId, noteInput, options) {
299
299
  }
300
300
  const note = options.clear ? "" : noteInput;
301
301
  if (options.dryRun) {
302
- _chunkHRWUQJ4Kjs.printCommandEnvelope.call(void 0,
302
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
303
303
  {
304
304
  ok: true,
305
305
  dryRun: true,
@@ -320,9 +320,9 @@ async function handleNote(secretId, noteInput, options) {
320
320
  );
321
321
  return;
322
322
  }
323
- const client = new (0, _chunk36ML3YKAjs.DeeplineClient)();
323
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
324
324
  const secret = await client.updateSecretNote(secretId, note);
325
- _chunkHRWUQJ4Kjs.printCommandEnvelope.call(void 0,
325
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
326
326
  {
327
327
  ok: true,
328
328
  secret,
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkUKU6JM3Sjs = require('./chunk-UKU6JM3S.js');
5
- require('./chunk-HRWUQJ4K.js');
6
- require('./chunk-56IFFVIB.js');
4
+ var _chunk772W2SAUjs = require('./chunk-772W2SAU.js');
5
+ require('./chunk-RTO5QZWT.js');
6
+ require('./chunk-V7UP2F4U.js');
7
7
  require('./chunk-XNYIZMNQ.js');
8
8
  require('./chunk-7P5AA3SN.js');
9
- require('./chunk-TO2MWPGR.js');
9
+ require('./chunk-GNN4MY5X.js');
10
10
  require('./chunk-OG64RBAC.js');
11
11
  require('./chunk-COGTRVWW.js');
12
12
 
13
13
 
14
14
 
15
- exports.registerSessionSendRenderCommands = _chunkUKU6JM3Sjs.registerSessionSendRenderCommands; exports.registerSessionsCommands = _chunkUKU6JM3Sjs.registerSessionsCommands;
15
+ exports.registerSessionSendRenderCommands = _chunk772W2SAUjs.registerSessionSendRenderCommands; exports.registerSessionsCommands = _chunk772W2SAUjs.registerSessionsCommands;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  registerSessionSendRenderCommands,
3
3
  registerSessionsCommands
4
- } from "./chunk-WCCKMLHL.mjs";
5
- import "./chunk-47M6HPGP.mjs";
6
- import "./chunk-6D7A2FSL.mjs";
4
+ } from "./chunk-AUYXWELC.mjs";
5
+ import "./chunk-XKZXO7D3.mjs";
6
+ import "./chunk-VE3U3SQC.mjs";
7
7
  import "./chunk-DLIRSHV6.mjs";
8
8
  import "./chunk-NXGCO4JB.mjs";
9
- import "./chunk-BON3DRC6.mjs";
9
+ import "./chunk-NHB5YUCS.mjs";
10
10
  import "./chunk-WZYKRD7T.mjs";
11
11
  import "./chunk-KRD6H754.mjs";
12
12
  export {