deepline 0.3.394 → 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 (110) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +30 -162
  2. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/plays/play-description.ts +167 -0
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/sdk/src/types.ts +1 -0
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
  7. package/dist/cli/{auth-OSXDAVCF.mjs → auth-3LTD62VL.mjs} +4 -4
  8. package/dist/cli/auth-562JPKOM.js +39 -0
  9. package/dist/cli/{billing-ZNNKX3UR.mjs → billing-DP7ZAJBO.mjs} +5 -4
  10. package/dist/cli/{billing-EKLYOXUY.js → billing-PA5OXEM5.js} +76 -75
  11. package/dist/cli/{chunk-BP33SIZF.mjs → chunk-23GAA3YO.mjs} +1 -1
  12. package/dist/cli/{chunk-KI635JN4.js → chunk-2VOLOWYZ.js} +1087 -1056
  13. package/dist/cli/{chunk-XXUDVEXK.mjs → chunk-3T4MCB5R.mjs} +1026 -995
  14. package/dist/cli/{chunk-VB6KECLU.mjs → chunk-5WNJF2T3.mjs} +102 -36
  15. package/dist/cli/{chunk-KIUMEOM5.js → chunk-772W2SAU.js} +8 -8
  16. package/dist/cli/{chunk-2MDDA7A4.js → chunk-7Z66NHUC.js} +26 -26
  17. package/dist/cli/{chunk-M57J2SK4.mjs → chunk-AUYXWELC.mjs} +2 -2
  18. package/dist/cli/{chunk-354JCXA2.js → chunk-AVHLATII.js} +50 -50
  19. package/dist/cli/{chunk-MLPU5SMZ.js → chunk-DC6LTULT.js} +2 -2
  20. package/dist/cli/chunk-EIMG75BT.mjs +130 -0
  21. package/dist/cli/{chunk-6YAUMG27.js → chunk-GNN4MY5X.js} +1 -1
  22. package/dist/cli/{chunk-UXFSWG3Q.mjs → chunk-I4T4XAA2.mjs} +4 -4
  23. package/dist/cli/{chunk-MFB2VKBO.mjs → chunk-JCN4DHF7.mjs} +2 -2
  24. package/dist/cli/{chunk-VK6FYZLP.js → chunk-KAEZNPUM.js} +23 -8
  25. package/dist/cli/chunk-KXMNM4AQ.js +130 -0
  26. package/dist/cli/{chunk-XRQ2AQL7.mjs → chunk-LOGGNW4H.mjs} +2 -2
  27. package/dist/cli/{chunk-RDXFGPJU.js → chunk-LWERJUKN.js} +218 -218
  28. package/dist/cli/{chunk-QIQBYKLB.js → chunk-ME6XRFLY.js} +15 -15
  29. package/dist/cli/{chunk-JHIJIHFB.mjs → chunk-MR6XCBQJ.mjs} +23 -131
  30. package/dist/cli/{chunk-TJI2EN6K.mjs → chunk-NHB5YUCS.mjs} +1 -1
  31. package/dist/cli/{chunk-ZMVJSS6N.js → chunk-NSOTASOP.js} +101 -35
  32. package/dist/cli/{chunk-ZYBGA4AR.mjs → chunk-QHGPA362.mjs} +18 -3
  33. package/dist/cli/{chunk-4P27AXEA.js → chunk-RMTASUAK.js} +65 -65
  34. package/dist/cli/{chunk-KGNTKMRG.js → chunk-RTO5QZWT.js} +6 -6
  35. package/dist/cli/{chunk-X63FDZJZ.mjs → chunk-TLQ3FZOC.mjs} +3 -3
  36. package/dist/cli/{chunk-CS6RAIVY.js → chunk-V7UP2F4U.js} +4 -4
  37. package/dist/cli/{chunk-FJGW5GXU.mjs → chunk-VE3U3SQC.mjs} +1 -1
  38. package/dist/cli/{chunk-E23BQ5SC.js → chunk-WQJJNIMQ.js} +241 -349
  39. package/dist/cli/{chunk-NR3DFKNF.mjs → chunk-XKZXO7D3.mjs} +1 -1
  40. package/dist/cli/{csv-5AXRB35H.mjs → csv-RLRR74RQ.mjs} +3 -3
  41. package/dist/cli/{csv-LU7O75WE.js → csv-TF576S77.js} +12 -12
  42. package/dist/cli/{db-F7YTFKVM.js → db-FDBJUTFO.js} +30 -29
  43. package/dist/cli/{db-7XP5UWEW.mjs → db-XORGNBIC.mjs} +5 -4
  44. package/dist/cli/{describe-K4ES5LIL.mjs → describe-6O2ENKTP.mjs} +86 -67
  45. package/dist/cli/{describe-FRH32RDV.js → describe-EFWNECHI.js} +100 -81
  46. package/dist/cli/{executions-RZV5XPT2.js → executions-SFYAXPF4.js} +7 -6
  47. package/dist/cli/{executions-IEHEHJUO.mjs → executions-YPP7WR77.mjs} +5 -4
  48. package/dist/cli/{feedback-3P65QTX3.js → feedback-5UZFYMGB.js} +7 -7
  49. package/dist/cli/{feedback-FPUVZBAN.mjs → feedback-RBGA5ARU.mjs} +3 -3
  50. package/dist/cli/git-5LDY5ZID.js +23 -0
  51. package/dist/cli/{git-GLVVP7TY.mjs → git-IRSAJEK2.mjs} +4 -4
  52. package/dist/cli/index.js +93 -93
  53. package/dist/cli/index.mjs +42 -42
  54. package/dist/cli/{legacy-noops-XKSGZR7Q.js → legacy-noops-CVAOQY2F.js} +7 -7
  55. package/dist/cli/{legacy-noops-3MOI6NBM.mjs → legacy-noops-NA7N6ZOU.mjs} +4 -4
  56. package/dist/cli/{monitors-NZ2DYNST.js → monitors-4OMRXCXP.js} +86 -85
  57. package/dist/cli/{monitors-FTBGNEFG.mjs → monitors-ILZ2XHYG.mjs} +5 -4
  58. package/dist/cli/{org-V2J5RBCN.mjs → org-QDDXAE3J.mjs} +5 -4
  59. package/dist/cli/{org-MCKDQXIV.js → org-YGNJDD2X.js} +65 -64
  60. package/dist/cli/{chunk-RBJYWRCF.js → play-L535H26U.js} +270 -325
  61. package/dist/cli/{chunk-5BB2RGAX.mjs → play-VT6OHB2D.mjs} +77 -132
  62. package/dist/cli/{providers-2JEZ2264.js → providers-GPZ6PQAL.js} +8 -7
  63. package/dist/cli/{providers-I6RQJZFZ.mjs → providers-KG4W5MPK.mjs} +5 -4
  64. package/dist/cli/{quickstart-BIDQDMO4.mjs → quickstart-2JDGTXIG.mjs} +3 -3
  65. package/dist/cli/{quickstart-GJ2RPDU3.js → quickstart-UI27S5LO.js} +5 -5
  66. package/dist/cli/search-MGWROZ33.js +28 -0
  67. package/dist/cli/{search-ELRXFWG5.mjs → search-PW3RAUX7.mjs} +6 -5
  68. package/dist/cli/{secrets-SQXGZXIC.mjs → secrets-HNOMK5A2.mjs} +5 -4
  69. package/dist/cli/{secrets-53IT6VXD.js → secrets-WFAXOUZE.js} +14 -13
  70. package/dist/cli/{sessions-CAV5M77Y.js → sessions-366KROUA.js} +5 -5
  71. package/dist/cli/{sessions-2X5QF7SL.mjs → sessions-XLX3E5UO.mjs} +4 -4
  72. package/dist/cli/{settings-532WNAZO.js → settings-GADAG2UK.js} +75 -74
  73. package/dist/cli/{settings-7P67VGCJ.mjs → settings-YNZ4YKCH.mjs} +8 -7
  74. package/dist/cli/{setup-QGGBV2LE.mjs → setup-PSEHIUXO.mjs} +6 -6
  75. package/dist/cli/{setup-6L2VSUWJ.js → setup-R5YO7GT6.js} +41 -41
  76. package/dist/cli/skills-JF2LPEGM.js +28 -0
  77. package/dist/cli/{skills-3FE62WBG.mjs → skills-LTQBP6CZ.mjs} +4 -4
  78. package/dist/cli/tools-CP2PEFRN.js +34 -0
  79. package/dist/cli/{tools-DMR25DEF.mjs → tools-UAXDWU63.mjs} +11 -18
  80. package/dist/cli/update-HZHZOU6C.js +28 -0
  81. package/dist/cli/{update-6RZMHJZP.mjs → update-SMNIBIMS.mjs} +6 -6
  82. package/dist/cli/{workflow-TX4F2PIX.js → workflow-AOQVZHMD.js} +16 -15
  83. package/dist/cli/{workflow-L2DQRE6R.mjs → workflow-IKGMBGF6.mjs} +6 -5
  84. package/dist/{client-C3O1Ipf3.d.ts → client-Bgis7F6-.d.ts} +22 -12
  85. package/dist/{client-BktIPdIj.d.mts → client-DiGl8ska.d.mts} +22 -12
  86. package/dist/index.d.mts +2 -2
  87. package/dist/index.d.ts +2 -2
  88. package/dist/index.js +11 -10
  89. package/dist/index.mjs +9 -8
  90. package/dist/install-integrity.json +83 -78
  91. package/dist/plays/play-description.d.mts +6 -0
  92. package/dist/plays/play-description.d.ts +6 -0
  93. package/dist/plays/play-description.js +11 -0
  94. package/dist/plays/play-description.mjs +11 -0
  95. package/dist/plays/run-request.d.mts +1 -1
  96. package/dist/plays/run-request.d.ts +1 -1
  97. package/dist/release.d.mts +1 -1
  98. package/dist/release.d.ts +1 -1
  99. package/dist/release.js +2 -2
  100. package/dist/release.mjs +1 -1
  101. package/package.json +6 -1
  102. package/dist/cli/auth-IHKISLJQ.js +0 -39
  103. package/dist/cli/git-MFFAWVVX.js +0 -23
  104. package/dist/cli/play-AJFGME3B.mjs +0 -158
  105. package/dist/cli/play-WLSN2EO2.js +0 -158
  106. package/dist/cli/search-5VN4YD4I.js +0 -27
  107. package/dist/cli/skills-S6NPZAN7.js +0 -28
  108. package/dist/cli/tools-647RLXQS.js +0 -41
  109. package/dist/cli/update-WVTSC3EM.js +0 -28
  110. package/dist/cli/{chunk-KZZC33PY.mjs → chunk-H5KLUGY7.mjs} +214 -214
@@ -1,11 +1,15 @@
1
1
  import {
2
2
  addDescribeOptions,
3
- recordPlayTermination,
4
- schemaFields
5
- } from "./chunk-VB6KECLU.mjs";
3
+ buildPlayDashboardUrl,
4
+ recordPlayTermination
5
+ } from "./chunk-5WNJF2T3.mjs";
6
6
  import {
7
7
  shellQuote
8
8
  } from "./chunk-OVDNJAJN.mjs";
9
+ import {
10
+ handleDeploymentGet,
11
+ handleDeploymentsList
12
+ } from "./chunk-LOGGNW4H.mjs";
9
13
  import {
10
14
  PLAY_DEFAULT_EXPORT,
11
15
  extractDefinedPlayName,
@@ -14,22 +18,19 @@ import {
14
18
  parsePlaySourceForAnalysis,
15
19
  resolveEnabledExecutionProfile
16
20
  } from "./chunk-3HWALOL2.mjs";
21
+ import "./chunk-H7HIDGZ7.mjs";
17
22
  import {
18
23
  parseCsvDataInput
19
24
  } from "./chunk-HQXL5526.mjs";
20
25
  import {
21
26
  registerDeprecatedSearchCommand
22
- } from "./chunk-ZYBGA4AR.mjs";
23
- import {
24
- handleDeploymentGet,
25
- handleDeploymentsList
26
- } from "./chunk-XRQ2AQL7.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
- CSV_HEADER_MATCHING_NOTE,
33
34
  DeeplineClient,
34
35
  RUN_EVENT_SEARCH_KIND_VALUES,
35
36
  RunEventQueryInputError,
@@ -40,9 +41,9 @@ import {
40
41
  logLevelReaches,
41
42
  logProvenanceReaches,
42
43
  normalizeRunEventOperationRequest,
43
- parseLogLevel,
44
- playInputExampleArgs
45
- } from "./chunk-JHIJIHFB.mjs";
44
+ parseLogLevel
45
+ } from "./chunk-MR6XCBQJ.mjs";
46
+ import "./chunk-6IKARAYD.mjs";
46
47
  import {
47
48
  CSV_DATA_INPUT_KEY,
48
49
  buildNamedPlayRunRequest,
@@ -53,6 +54,11 @@ import {
53
54
  stageFileInputs,
54
55
  stagedFileContentType
55
56
  } from "./chunk-JI2B4RZP.mjs";
57
+ import {
58
+ CSV_HEADER_MATCHING_NOTE,
59
+ playInputExampleArgs
60
+ } from "./chunk-EIMG75BT.mjs";
61
+ import "./chunk-UBKA33KY.mjs";
56
62
  import {
57
63
  recordCliTrace,
58
64
  traceCliSpan
@@ -75,13 +81,16 @@ import {
75
81
  printJsonError,
76
82
  renderCommandEnvelopeText,
77
83
  shouldEmitJson
78
- } from "./chunk-NR3DFKNF.mjs";
84
+ } from "./chunk-XKZXO7D3.mjs";
79
85
  import {
80
86
  fetchWithDeploymentProtection
81
- } from "./chunk-FJGW5GXU.mjs";
87
+ } from "./chunk-VE3U3SQC.mjs";
88
+ import "./chunk-DLIRSHV6.mjs";
82
89
  import {
83
90
  DeeplineError
84
91
  } from "./chunk-NXGCO4JB.mjs";
92
+ import "./chunk-NHB5YUCS.mjs";
93
+ import "./chunk-WZYKRD7T.mjs";
85
94
  import {
86
95
  __commonJS,
87
96
  __toESM
@@ -9474,11 +9483,6 @@ function printPlayStatusHeartbeat(input) {
9474
9483
  input.state.lastStatusHeartbeatAt = now;
9475
9484
  input.progress.writeLine(line);
9476
9485
  }
9477
- function buildPlayDashboardUrl(baseUrl, playName) {
9478
- const trimmedBase = baseUrl.replace(/\/$/, "");
9479
- const encodedPlayName = encodeURIComponent(playName);
9480
- return `${trimmedBase}/dashboard/plays/${encodedPlayName}`;
9481
- }
9482
9486
  function resolveRunPlayName(status, runId) {
9483
9487
  const packaged = status.package?.run?.playName;
9484
9488
  if (typeof packaged === "string" && packaged.trim()) return packaged.trim();
@@ -12960,7 +12964,7 @@ async function handlePlayCheck(args) {
12960
12964
  });
12961
12965
  const play = await client.describePlay(
12962
12966
  parseReferencedPlayTarget2(options.target).playName,
12963
- { compact: true }
12967
+ { compact: true, pipeline: options.full }
12964
12968
  );
12965
12969
  const result = {
12966
12970
  kind: "play_check",
@@ -15444,62 +15448,6 @@ function csvColumnLines(csvInput) {
15444
15448
  CSV_HEADER_MATCHING_NOTE
15445
15449
  ];
15446
15450
  }
15447
- function describedPlay(play) {
15448
- const reference = formatPlayListReference(play);
15449
- const starter = play.cloneEditStarter ?? buildCloneEditStarter(play);
15450
- const csv = play.csvInput ?? {};
15451
- const csvField2 = typeof csv.inputField === "string" ? csv.inputField : "csv";
15452
- const alongside = /* @__PURE__ */ new Set([
15453
- csvField2,
15454
- "columns",
15455
- ...Array.isArray(csv.runLevelControlFields) ? csv.runLevelControlFields.map(String) : []
15456
- ]);
15457
- const declared = schemaFields(play.inputSchema).map((field) => field.name);
15458
- const rowNames = schemaFields(csv.rowInputSchema).map((field) => field.name);
15459
- const replaced = play.csvInput ? (rowNames.length > 0 ? rowNames : declared).filter(
15460
- (name) => declared.includes(name) && !alongside.has(name)
15461
- ) : [];
15462
- const exclusive = replaced.length ? { field: csvField2, with: replaced } : void 0;
15463
- const headers = isRecord2(csv.defaultColumns) ? csv.defaultColumns : {};
15464
- const rowInputs = schemaFields(csv.rowInputSchema).map((field) => {
15465
- const header = [headers[field.name]].flat().filter((name) => name && name !== field.name).join(" or ");
15466
- return header ? {
15467
- ...field,
15468
- description: [field.description, `CSV header: ${header}`].filter(Boolean).join(" - ")
15469
- } : field;
15470
- });
15471
- const rowOutput = play.rowOutputSchema ?? {};
15472
- const added = isRecord2(rowOutput.addedColumns) ? rowOutput.addedColumns : {};
15473
- const rowOutputs = schemaFields(
15474
- Object.keys(added).length ? { properties: added } : rowOutput
15475
- ).map((field) => ({ ...field, required: true }));
15476
- return {
15477
- kind: play.ownerType === "deepline" ? "prebuilt_play" : "custom_play",
15478
- id: reference,
15479
- ...play.displayName && play.displayName !== play.name ? { displayName: play.displayName } : {},
15480
- ...play.description ? { description: play.description } : {},
15481
- ...play.observedCost ? { cost: play.observedCost.displayText } : {},
15482
- guidance: [],
15483
- inputs: schemaFields(play.inputSchema),
15484
- outputs: schemaFields(play.outputSchema),
15485
- ...rowInputs.length ? { rowInputs } : {},
15486
- ...typeof csv.inputField === "string" ? { csvInput: csv.inputField } : {},
15487
- ...rowOutputs.length ? {
15488
- rowOutputs,
15489
- rowOutputsAddToSource: Object.keys(added).length > 0 || rowOutput.preservesSourceColumns === true
15490
- } : {},
15491
- runner: {
15492
- via: "play",
15493
- reference,
15494
- // A CSV play's run command is built by the server around its columns.
15495
- ...play.csvInput ? { cli: play.runCommand } : {}
15496
- },
15497
- ...starter ? { source: starter.command } : {},
15498
- ...exclusive ? { exclusive } : {},
15499
- // A prebuilt's cost is what its recent runs were charged; there is no rate.
15500
- ...play.observedCost?.displayText ? { cost: play.observedCost.displayText } : {}
15501
- };
15502
- }
15503
15451
  function printPlayDescription(play) {
15504
15452
  const reference = formatPlayListReference(play);
15505
15453
  const labels = [
@@ -16690,7 +16638,7 @@ Examples:
16690
16638
  process.exitCode = await ownView();
16691
16639
  return;
16692
16640
  }
16693
- const { describeAnything } = await import("./describe-K4ES5LIL.mjs");
16641
+ const { describeAnything } = await import("./describe-6O2ENKTP.mjs");
16694
16642
  process.exitCode = await describeAnything(
16695
16643
  name,
16696
16644
  {
@@ -17669,72 +17617,69 @@ async function handlePlayShareUnpublish(args) {
17669
17617
  console.log(`Unpublished ${name}; the public page has been removed.`);
17670
17618
  return 0;
17671
17619
  }
17672
-
17673
17620
  export {
17674
- resolveDatasetByName,
17675
- parsePlayRunHeaderFlag,
17676
- parsePlayRunOptions,
17677
- loadPlayBundler,
17678
- liveMaxCreditsPerRun,
17679
- writePlayRunIdFile,
17680
- preflightLocalFileInputs,
17681
- describeSleepUntil,
17682
- getFinalStatusFromLiveEvent,
17683
- formatStepLabelFromNodeId,
17684
- getStepTransitionLineFromLiveEvent,
17685
- getProgressLinesFromLiveEvent,
17686
- shouldPrintPlayProgressLine,
17687
- getRunningHeartbeatLine,
17688
- buildPlayDashboardUrl,
17689
- waitForPlayCompletionByWatch,
17690
- startAndWaitForPlayCompletionByStream,
17691
- truncateErrorForDisplay,
17692
- clampJsonPreviewText,
17693
- withTerminalPlayIdentity,
17694
- compactPlayStatus,
17621
+ PREBUILT_PLAY_TAG_KEYS,
17622
+ assertDatasetHasExportableRows,
17623
+ buildPlayCompletionTextLines,
17695
17624
  buildRunActivityTextLines,
17696
- buildRunPackageTextLines,
17697
17625
  buildRunLaunch,
17698
- buildPlayCompletionTextLines,
17699
- resolvePlayRunOutputStatus,
17700
- assertDatasetHasExportableRows,
17626
+ buildRunLogsText,
17627
+ buildRunPackageTextLines,
17628
+ buildStopAllDryRunTextLines,
17629
+ clampJsonPreviewText,
17630
+ compactPlayStatus,
17631
+ csvColumnLines,
17632
+ describeSleepUntil,
17701
17633
  exportPlayStatusRows,
17702
- parsePlayPublishOptions,
17703
17634
  formatPlaySandboxRuntimeWarning,
17635
+ formatStepLabelFromNodeId,
17636
+ getFinalStatusFromLiveEvent,
17637
+ getProgressLinesFromLiveEvent,
17638
+ getRunningHeartbeatLine,
17639
+ getStepTransitionLineFromLiveEvent,
17704
17640
  handlePlayCheck,
17705
- handlePlayRun,
17706
- renderRunOverviewText,
17707
- handleRunGet,
17708
- handleRunLifecycleStatus,
17709
- handleRunsRerun,
17710
- handleRunsList,
17711
- handleRunTail,
17712
- handleRunLogs,
17713
- selectRunLogTailPage,
17714
- handleRunEventSearch,
17715
- buildRunLogsText,
17716
- resolveRunStopState,
17717
- handleRunStop,
17718
- buildStopAllDryRunTextLines,
17719
- handleRunStopAll,
17720
- handleRunExport,
17641
+ handlePlayDelete,
17642
+ handlePlayDescribe,
17721
17643
  handlePlayGet,
17722
- handlePlayVersions,
17723
- PREBUILT_PLAY_TAG_KEYS,
17644
+ handlePlayGrep,
17724
17645
  handlePlayList,
17725
17646
  handlePlayPin,
17726
- csvColumnLines,
17727
- describedPlay,
17728
- handlePlayGrep,
17729
- handlePlayDescribe,
17730
- handlePlaySave,
17731
17647
  handlePlayPublish,
17732
- handlePlayDelete,
17733
17648
  handlePlayRestore,
17734
- registerPlayCommands,
17735
- handlePlayShareStatus,
17649
+ handlePlayRun,
17650
+ handlePlaySave,
17736
17651
  handlePlaySharePublish,
17737
- handlePlayShareUpdate,
17738
17652
  handlePlayShareRegenerate,
17739
- 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
17740
17685
  };
@@ -1,25 +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 _chunkE23BQ5SCjs = require('./chunk-E23BQ5SC.js');
3
+ var _chunkWQJJNIMQjs = require('./chunk-WQJJNIMQ.js');
4
4
  require('./chunk-S6R3OX7B.js');
5
5
  require('./chunk-UHNDVD3P.js');
6
+ require('./chunk-KXMNM4AQ.js');
6
7
  require('./chunk-XDVT3GOM.js');
7
8
 
8
9
 
9
10
 
10
- var _chunkKGNTKMRGjs = require('./chunk-KGNTKMRG.js');
11
- require('./chunk-CS6RAIVY.js');
11
+ var _chunkRTO5QZWTjs = require('./chunk-RTO5QZWT.js');
12
+ require('./chunk-V7UP2F4U.js');
12
13
  require('./chunk-XNYIZMNQ.js');
13
14
  require('./chunk-7P5AA3SN.js');
14
- require('./chunk-6YAUMG27.js');
15
+ require('./chunk-GNN4MY5X.js');
15
16
  require('./chunk-OG64RBAC.js');
16
17
  require('./chunk-COGTRVWW.js');
17
18
 
18
19
  // src/cli/commands/providers.ts
19
20
  async function listProviders(options = {}) {
20
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
21
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
21
22
  const changed = options.changed === true;
22
- const emitJson = options.json === true || _chunkKGNTKMRGjs.shouldEmitJson.call(void 0, );
23
+ const emitJson = options.json === true || _chunkRTO5QZWTjs.shouldEmitJson.call(void 0, );
23
24
  const providers = await client.listProviders({ changed });
24
25
  const render = {
25
26
  sections: [
@@ -38,7 +39,7 @@ async function listProviders(options = {}) {
38
39
  }
39
40
  ]
40
41
  };
41
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
42
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
42
43
  {
43
44
  providers,
44
45
  count: providers.length,
@@ -1,17 +1,18 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-JHIJIHFB.mjs";
3
+ } from "./chunk-MR6XCBQJ.mjs";
4
4
  import "./chunk-6IKARAYD.mjs";
5
5
  import "./chunk-JI2B4RZP.mjs";
6
+ import "./chunk-EIMG75BT.mjs";
6
7
  import "./chunk-UBKA33KY.mjs";
7
8
  import {
8
9
  printCommandEnvelope,
9
10
  shouldEmitJson
10
- } from "./chunk-NR3DFKNF.mjs";
11
- import "./chunk-FJGW5GXU.mjs";
11
+ } from "./chunk-XKZXO7D3.mjs";
12
+ import "./chunk-VE3U3SQC.mjs";
12
13
  import "./chunk-DLIRSHV6.mjs";
13
14
  import "./chunk-NXGCO4JB.mjs";
14
- import "./chunk-TJI2EN6K.mjs";
15
+ import "./chunk-NHB5YUCS.mjs";
15
16
  import "./chunk-WZYKRD7T.mjs";
16
17
  import "./chunk-KRD6H754.mjs";
17
18
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  printCommandEnvelope,
3
3
  shouldEmitJson
4
- } from "./chunk-NR3DFKNF.mjs";
5
- import "./chunk-FJGW5GXU.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-TJI2EN6K.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 _chunkKGNTKMRGjs = require('./chunk-KGNTKMRG.js');
5
- require('./chunk-CS6RAIVY.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-6YAUMG27.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 = _chunkKGNTKMRGjs.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
- _chunkKGNTKMRGjs.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,16 +5,17 @@ import {
5
5
  pointAtDescribe,
6
6
  registerDeprecatedSearchCommand,
7
7
  registerSearchCommand
8
- } from "./chunk-ZYBGA4AR.mjs";
9
- import "./chunk-JHIJIHFB.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-EIMG75BT.mjs";
12
13
  import "./chunk-UBKA33KY.mjs";
13
- import "./chunk-NR3DFKNF.mjs";
14
- import "./chunk-FJGW5GXU.mjs";
14
+ import "./chunk-XKZXO7D3.mjs";
15
+ import "./chunk-VE3U3SQC.mjs";
15
16
  import "./chunk-DLIRSHV6.mjs";
16
17
  import "./chunk-NXGCO4JB.mjs";
17
- import "./chunk-TJI2EN6K.mjs";
18
+ import "./chunk-NHB5YUCS.mjs";
18
19
  import "./chunk-WZYKRD7T.mjs";
19
20
  import "./chunk-KRD6H754.mjs";
20
21
  export {
@@ -1,17 +1,18 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-JHIJIHFB.mjs";
3
+ } from "./chunk-MR6XCBQJ.mjs";
4
4
  import "./chunk-6IKARAYD.mjs";
5
5
  import "./chunk-JI2B4RZP.mjs";
6
+ import "./chunk-EIMG75BT.mjs";
6
7
  import "./chunk-UBKA33KY.mjs";
7
8
  import {
8
9
  getAuthedHttpClient,
9
10
  printCommandEnvelope
10
- } from "./chunk-NR3DFKNF.mjs";
11
- import "./chunk-FJGW5GXU.mjs";
11
+ } from "./chunk-XKZXO7D3.mjs";
12
+ import "./chunk-VE3U3SQC.mjs";
12
13
  import "./chunk-DLIRSHV6.mjs";
13
14
  import "./chunk-NXGCO4JB.mjs";
14
- import "./chunk-TJI2EN6K.mjs";
15
+ import "./chunk-NHB5YUCS.mjs";
15
16
  import "./chunk-WZYKRD7T.mjs";
16
17
  import "./chunk-KRD6H754.mjs";
17
18
 
@@ -1,17 +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 _chunkE23BQ5SCjs = require('./chunk-E23BQ5SC.js');
3
+ var _chunkWQJJNIMQjs = require('./chunk-WQJJNIMQ.js');
4
4
  require('./chunk-S6R3OX7B.js');
5
5
  require('./chunk-UHNDVD3P.js');
6
+ require('./chunk-KXMNM4AQ.js');
6
7
  require('./chunk-XDVT3GOM.js');
7
8
 
8
9
 
9
10
 
10
- var _chunkKGNTKMRGjs = require('./chunk-KGNTKMRG.js');
11
- require('./chunk-CS6RAIVY.js');
11
+ var _chunkRTO5QZWTjs = require('./chunk-RTO5QZWT.js');
12
+ require('./chunk-V7UP2F4U.js');
12
13
  require('./chunk-XNYIZMNQ.js');
13
14
  require('./chunk-7P5AA3SN.js');
14
- require('./chunk-6YAUMG27.js');
15
+ require('./chunk-GNN4MY5X.js');
15
16
  require('./chunk-OG64RBAC.js');
16
17
  require('./chunk-COGTRVWW.js');
17
18
 
@@ -203,9 +204,9 @@ function preventShellHistoryLeak(forbidden) {
203
204
  }
204
205
  }
205
206
  async function handleList(options) {
206
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
207
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
207
208
  const secrets = await client.listSecrets();
208
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
209
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
209
210
  {
210
211
  secrets,
211
212
  count: secrets.length,
@@ -223,14 +224,14 @@ async function handleList(options) {
223
224
  }
224
225
  async function handleCheck(nameInput, options) {
225
226
  const name = normalizeSecretName(nameInput);
226
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
227
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
227
228
  const playName = options.play === void 0 ? void 0 : normalizePlaySelector(options.play);
228
229
  const check = playName !== void 0 ? await client.inspectSecret(name, { playName }) : null;
229
230
  const secret = check ? check.secret : await client.checkSecret(name);
230
231
  const ok = check ? check.ok : Boolean(secret);
231
232
  const quotedPlay = `'${(_nullishCoalesce(options.play, () => ( "PLAY"))).replace(/'/g, `'"'"'`)}'`;
232
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>`;
233
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
234
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
234
235
  {
235
236
  ok,
236
237
  name,
@@ -258,7 +259,7 @@ async function handleSet(nameInput, forbidden, options) {
258
259
  const name = normalizeSecretName(nameInput);
259
260
  const { scope, playName } = resolveSecretWriteScope(options);
260
261
  const value = await readSecretValueFromOptions(options);
261
- const { http } = _chunkKGNTKMRGjs.getAuthedHttpClient.call(void 0, );
262
+ const { http } = _chunkRTO5QZWTjs.getAuthedHttpClient.call(void 0, );
262
263
  const response = await http.post(
263
264
  "/api/v2/secrets",
264
265
  {
@@ -270,7 +271,7 @@ async function handleSet(nameInput, forbidden, options) {
270
271
  }
271
272
  );
272
273
  const secret = response.secret;
273
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
274
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
274
275
  {
275
276
  ok: true,
276
277
  secret,
@@ -298,7 +299,7 @@ async function handleNote(secretId, noteInput, options) {
298
299
  }
299
300
  const note = options.clear ? "" : noteInput;
300
301
  if (options.dryRun) {
301
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
302
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
302
303
  {
303
304
  ok: true,
304
305
  dryRun: true,
@@ -319,9 +320,9 @@ async function handleNote(secretId, noteInput, options) {
319
320
  );
320
321
  return;
321
322
  }
322
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
323
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
323
324
  const secret = await client.updateSecretNote(secretId, note);
324
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
325
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
325
326
  {
326
327
  ok: true,
327
328
  secret,
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkKIUMEOM5js = require('./chunk-KIUMEOM5.js');
5
- require('./chunk-KGNTKMRG.js');
6
- require('./chunk-CS6RAIVY.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-6YAUMG27.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 = _chunkKIUMEOM5js.registerSessionSendRenderCommands; exports.registerSessionsCommands = _chunkKIUMEOM5js.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-M57J2SK4.mjs";
5
- import "./chunk-NR3DFKNF.mjs";
6
- import "./chunk-FJGW5GXU.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-TJI2EN6K.mjs";
9
+ import "./chunk-NHB5YUCS.mjs";
10
10
  import "./chunk-WZYKRD7T.mjs";
11
11
  import "./chunk-KRD6H754.mjs";
12
12
  export {