deepline 0.3.451 → 0.3.453

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 (117) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +65 -0
  2. package/dist/bundling-sources/sdk/src/http.ts +2 -1
  3. package/dist/bundling-sources/sdk/src/index.ts +2 -0
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +63 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +5 -1
  7. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +49 -11
  8. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +4 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +6 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +3 -1
  11. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +17 -2
  12. package/dist/cli/{auth-YLBWEMRW.mjs → auth-6CXS55CN.mjs} +4 -4
  13. package/dist/cli/auth-AICIA232.js +40 -0
  14. package/dist/cli/{billing-GWG5D3P6.js → billing-QC52XTAD.js} +87 -74
  15. package/dist/cli/{billing-DUFOEOPT.mjs → billing-SWLTV6PV.mjs} +18 -5
  16. package/dist/cli/{chunk-37CPEQBE.mjs → chunk-2LDU5BMG.mjs} +3 -3
  17. package/dist/cli/{chunk-JUCEEIEC.mjs → chunk-43HOSM2F.mjs} +1 -1
  18. package/dist/cli/{chunk-E7V5CRA2.mjs → chunk-6CTVXF6X.mjs} +8 -8
  19. package/dist/cli/{chunk-BJOVX7EB.mjs → chunk-7557D4FM.mjs} +2 -2
  20. package/dist/cli/chunk-BX343KU7.mjs +155 -0
  21. package/dist/cli/{chunk-7VRWERTM.js → chunk-DMTAFWMS.js} +84 -50
  22. package/dist/cli/{chunk-XLOXUW5Y.mjs → chunk-FS2RMEJ7.mjs} +1 -1
  23. package/dist/cli/{chunk-EJ6YI46S.js → chunk-HUDUN4AR.js} +2 -2
  24. package/dist/cli/{chunk-OKTCLFKM.mjs → chunk-IFBLLSGH.mjs} +5 -5
  25. package/dist/cli/{chunk-33EM4SMH.mjs → chunk-IWFI6FTJ.mjs} +4 -153
  26. package/dist/cli/{chunk-ZPV7DMAA.mjs → chunk-IXVABCNA.mjs} +1 -1
  27. package/dist/cli/{chunk-O3KVUHCG.js → chunk-JOF3B22H.js} +20 -20
  28. package/dist/cli/{chunk-6TFACCXN.js → chunk-KFKM5J2N.js} +2 -2
  29. package/dist/cli/{chunk-WLVGRU5A.mjs → chunk-KQD6EFPD.mjs} +2 -2
  30. package/dist/cli/{chunk-HSKLAPMD.js → chunk-MP35NE55.js} +26 -26
  31. package/dist/cli/chunk-NOHA3SZJ.js +155 -0
  32. package/dist/cli/{chunk-Z3DBS4IB.js → chunk-NSQZUUYB.js} +81 -81
  33. package/dist/cli/{chunk-BQQLTSGC.mjs → chunk-P4UQCYKH.mjs} +4 -4
  34. package/dist/cli/{chunk-CH2WDSBC.js → chunk-PJWXEUUH.js} +8 -8
  35. package/dist/cli/{chunk-L2IUGWV5.js → chunk-RG644LJU.js} +1 -1
  36. package/dist/cli/{chunk-5DUMNKQG.js → chunk-RNCIPLU5.js} +50 -50
  37. package/dist/cli/{chunk-WDOWAOYB.js → chunk-RTR2KUU6.js} +10 -10
  38. package/dist/cli/{chunk-4C7HPD57.mjs → chunk-SQUJHT7O.mjs} +1 -1
  39. package/dist/cli/{chunk-ZNDE2BTH.js → chunk-V6AZQ4JH.js} +16 -16
  40. package/dist/cli/{chunk-F2DW7DFE.js → chunk-V7S2RUVE.js} +8 -8
  41. package/dist/cli/{chunk-C4NPWUZY.js → chunk-VG6WESY7.js} +73 -222
  42. package/dist/cli/{chunk-6G6KX7I7.js → chunk-WTTHH2K3.js} +6 -6
  43. package/dist/cli/{chunk-JRPNCMMN.js → chunk-WWZ4YJ6J.js} +35 -35
  44. package/dist/cli/{chunk-PJYTV24I.mjs → chunk-X2LUT22I.mjs} +2 -2
  45. package/dist/cli/{chunk-YXXIFMXI.mjs → chunk-XH4QC5ZX.mjs} +2 -2
  46. package/dist/cli/{chunk-3HT47QPJ.mjs → chunk-XNN3OTGT.mjs} +2 -2
  47. package/dist/cli/{chunk-LPPAJJJN.mjs → chunk-XV4463XW.mjs} +35 -1
  48. package/dist/cli/{chunk-TFCLUWDQ.js → chunk-YU6IE234.js} +6 -6
  49. package/dist/cli/{chunk-RFPP4Q66.mjs → chunk-ZVBLECZX.mjs} +3 -3
  50. package/dist/cli/{csv-RL7WQD6Y.mjs → csv-FON4ZQKC.mjs} +3 -3
  51. package/dist/cli/{csv-4CHXZQXO.js → csv-WIQB5XWZ.js} +12 -12
  52. package/dist/cli/{db-ZDBAWV7B.mjs → db-3KA62DOQ.mjs} +4 -4
  53. package/dist/cli/{db-MRI5IM2A.js → db-VMDDODCN.js} +25 -25
  54. package/dist/cli/{describe-RRQUUJQ3.mjs → describe-LGDK77QI.mjs} +13 -12
  55. package/dist/cli/{describe-2FYKXM5B.js → describe-NTAAHCCX.js} +17 -16
  56. package/dist/cli/describe-core.d.mts +1 -1
  57. package/dist/cli/describe-core.d.ts +1 -1
  58. package/dist/cli/{executions-KDBD47A5.js → executions-OT2KNJDO.js} +6 -6
  59. package/dist/cli/{executions-RJL76TJS.mjs → executions-TM6AMTQ7.mjs} +4 -4
  60. package/dist/cli/{feedback-2CE24NHD.js → feedback-4HQGY3TO.js} +7 -7
  61. package/dist/cli/{feedback-KOYLXHYE.mjs → feedback-HWLUVFE2.mjs} +3 -3
  62. package/dist/cli/git-QIZWO5BA.js +24 -0
  63. package/dist/cli/{git-RDUHU6L6.mjs → git-TDJVSPE6.mjs} +4 -4
  64. package/dist/cli/index.js +133 -131
  65. package/dist/cli/index.mjs +39 -37
  66. package/dist/cli/{legacy-noops-7FOMGBMN.js → legacy-noops-XH3FDLWT.js} +7 -7
  67. package/dist/cli/{legacy-noops-4HS2LYP6.mjs → legacy-noops-YB2PES43.mjs} +4 -4
  68. package/dist/cli/{monitors-IJXNK5BL.js → monitors-E3QFEJKF.js} +276 -124
  69. package/dist/cli/{monitors-JLBTNBVU.mjs → monitors-KQDDMSDR.mjs} +156 -4
  70. package/dist/cli/{org-OWP6K4AA.mjs → org-7X2C7YKA.mjs} +4 -4
  71. package/dist/cli/{org-JL7SW6VY.js → org-PMTLR7VP.js} +66 -66
  72. package/dist/cli/{play-FNOVKU74.mjs → play-7FNEPSVR.mjs} +11 -10
  73. package/dist/cli/{play-LLNZWHT6.js → play-RH22Z3D6.js} +284 -283
  74. package/dist/cli/{providers-WBOEOKE7.mjs → providers-HOEDJNUK.mjs} +4 -4
  75. package/dist/cli/{providers-E4XIEUC7.js → providers-X5NY5IQH.js} +7 -7
  76. package/dist/cli/{quickstart-3FUHKGEY.js → quickstart-FI4A6VTV.js} +5 -5
  77. package/dist/cli/{quickstart-6G5G3BVA.mjs → quickstart-NCL7P2US.mjs} +3 -3
  78. package/dist/cli/search-6FUMJBIY.js +30 -0
  79. package/dist/cli/{search-CNMB4Z6M.mjs → search-UHT7ZNPO.mjs} +5 -5
  80. package/dist/cli/{secrets-5FY5APVK.mjs → secrets-D4ZB5RKB.mjs} +4 -4
  81. package/dist/cli/{secrets-BDSWOYAT.js → secrets-TT6J3SZJ.js} +13 -13
  82. package/dist/cli/{sessions-PMIKVPQN.mjs → sessions-HRLJ6SLL.mjs} +4 -4
  83. package/dist/cli/{sessions-B7T2CHYK.js → sessions-SRQQZMM7.js} +5 -5
  84. package/dist/cli/{settings-RXQJRRLR.js → settings-EJIKXLC7.js} +76 -75
  85. package/dist/cli/{settings-4TAYLTPR.mjs → settings-PJJYPWU3.mjs} +9 -8
  86. package/dist/cli/{setup-ZTMETGSO.js → setup-3FL77Z33.js} +43 -42
  87. package/dist/cli/{setup-LVUISLVO.mjs → setup-DNI6ENFD.mjs} +8 -7
  88. package/dist/cli/skills-DEKOSL7F.js +30 -0
  89. package/dist/cli/{skills-NSJ43Z5Q.mjs → skills-FO7MY2OE.mjs} +6 -5
  90. package/dist/cli/tools-E6XRW6PW.js +45 -0
  91. package/dist/cli/{tools-CFCKIGDY.mjs → tools-F72WONN3.mjs} +13 -12
  92. package/dist/cli/update-6M3CAS4T.js +32 -0
  93. package/dist/cli/{update-HYOCBXJO.mjs → update-JZU33TC5.mjs} +8 -7
  94. package/dist/cli/{workflow-U6S4SWTF.js → workflow-BGKC73V2.js} +15 -15
  95. package/dist/cli/{workflow-RKX45RJ4.mjs → workflow-PQYQXQPH.mjs} +5 -5
  96. package/dist/{client-CPRaigLC.d.ts → client-D6XhrO0f.d.ts} +26 -1
  97. package/dist/{client-DstDI5TV.d.mts → client-mRA_esYI.d.mts} +26 -1
  98. package/dist/index.d.mts +2 -2
  99. package/dist/index.d.ts +2 -2
  100. package/dist/index.js +6 -6
  101. package/dist/index.mjs +3 -3
  102. package/dist/install-integrity.json +82 -80
  103. package/dist/plays/play-description.d.mts +1 -1
  104. package/dist/plays/play-description.d.ts +1 -1
  105. package/dist/plays/run-request.d.mts +1 -1
  106. package/dist/plays/run-request.d.ts +1 -1
  107. package/dist/release.d.mts +1 -1
  108. package/dist/release.d.ts +1 -1
  109. package/dist/release.js +2 -2
  110. package/dist/release.mjs +1 -1
  111. package/package.json +1 -1
  112. package/dist/cli/auth-WPQBEOES.js +0 -40
  113. package/dist/cli/git-DZ5GROPH.js +0 -24
  114. package/dist/cli/search-4ECC773X.js +0 -30
  115. package/dist/cli/skills-MIENPTOD.js +0 -29
  116. package/dist/cli/tools-CXJO5XSH.js +0 -44
  117. package/dist/cli/update-B2LQGEXF.js +0 -31
@@ -1,7 +1,7 @@
1
1
  import "./chunk-EXMLR72R.mjs";
2
2
  import {
3
3
  DeeplineClient
4
- } from "./chunk-LPPAJJJN.mjs";
4
+ } from "./chunk-XV4463XW.mjs";
5
5
  import "./chunk-L2VKAASU.mjs";
6
6
  import "./chunk-FAG4DFUC.mjs";
7
7
  import "./chunk-EIMG75BT.mjs";
@@ -14,13 +14,16 @@ import "./chunk-4MBOJQPL.mjs";
14
14
  import {
15
15
  lintMonitorBatchInput
16
16
  } from "./chunk-MI6ZP7XI.mjs";
17
+ import {
18
+ createCliProgress
19
+ } from "./chunk-BX343KU7.mjs";
17
20
  import {
18
21
  errorToJsonPayload,
19
22
  printCommandEnvelope,
20
23
  printJson,
21
24
  shouldEmitJson
22
- } from "./chunk-XLOXUW5Y.mjs";
23
- import "./chunk-PJYTV24I.mjs";
25
+ } from "./chunk-FS2RMEJ7.mjs";
26
+ import "./chunk-X2LUT22I.mjs";
24
27
  import {
25
28
  AuthError
26
29
  } from "./chunk-4QF2K7TM.mjs";
@@ -28,7 +31,7 @@ import "./chunk-DLIRSHV6.mjs";
28
31
  import {
29
32
  DeeplineError
30
33
  } from "./chunk-HBL4PM5Q.mjs";
31
- import "./chunk-ZPV7DMAA.mjs";
34
+ import "./chunk-IXVABCNA.mjs";
32
35
  import "./chunk-WZYKRD7T.mjs";
33
36
  import "./chunk-KRD6H754.mjs";
34
37
 
@@ -735,6 +738,115 @@ async function handleMonitorsCheck(definition, options) {
735
738
  );
736
739
  printCommandEnvelope(payload, { json: options.json });
737
740
  }
741
+ function previewText(value) {
742
+ return typeof value === "string" && value.trim() ? value.trim() : "-";
743
+ }
744
+ function renderMonitorPreviewText(payload) {
745
+ const updates = Array.isArray(payload.updates) ? payload.updates : [];
746
+ const charge = asRecord(payload.charge) ?? {};
747
+ const lines = [
748
+ `Preview of ${previewText(payload.tool)}: ${updates.length} of ${String(payload.limit ?? "?")} requested matches.`
749
+ ];
750
+ for (const item of updates) {
751
+ const content = asRecord(asRecord(item)?.content) ?? {};
752
+ lines.push(
753
+ ` ${previewText(content.full_name)} | ${previewText(content.title)} | started ${previewText(content.start_date)} | ${previewText(content.seniority)}`
754
+ );
755
+ }
756
+ const credits = typeof charge.credits === "number" ? charge.credits : 0;
757
+ const perUpdate = charge.credits_per_update;
758
+ switch (charge.status) {
759
+ case "queued":
760
+ case "settled":
761
+ lines.push(
762
+ payload.replayed === true ? `Saved result: this preview charged ${credits} credits when it first ran, and this rerun charged nothing.` : `Charged ${credits} credits (${String(perUpdate)} per returned update).`
763
+ );
764
+ break;
765
+ case "free":
766
+ lines.push("No matches came back, so nothing was charged.");
767
+ break;
768
+ case "unconfirmed":
769
+ lines.push(
770
+ `The charge could not be confirmed: up to ${credits} credits may still post. Check deepline billing usage.`
771
+ );
772
+ break;
773
+ default:
774
+ lines.push("This preview was not charged.");
775
+ }
776
+ if (Array.isArray(payload.ignored_fields) && payload.ignored_fields.length) {
777
+ lines.push(
778
+ `Ignored for the preview: ${payload.ignored_fields.join(", ")} (still used on deploy).`
779
+ );
780
+ }
781
+ if (typeof payload.note === "string") lines.push(payload.note);
782
+ lines.push(`Preview key: ${String(payload.idempotency_key)}`);
783
+ return `${lines.join("\n")}
784
+ `;
785
+ }
786
+ async function handleMonitorsPreview(definition, options) {
787
+ const body = resolveMonitorJsonBody({
788
+ positional: definition,
789
+ file: options.file,
790
+ argLabel: "<definition>",
791
+ command: "deepline monitors preview"
792
+ });
793
+ const limit = options.limit === void 0 ? void 0 : Number(options.limit);
794
+ if (limit !== void 0 && !Number.isInteger(limit)) {
795
+ throw new MonitorsUsageError("--limit must be a whole number from 1 to 3.");
796
+ }
797
+ const wantsJson = shouldEmitJson(options.json);
798
+ if (options.idempotencyKey === void 0 && wantsJson) {
799
+ throw new MonitorsUsageError(
800
+ "--json requires --idempotency-key <key>. Choose a new key for each new preview and keep it: rerunning with the same key returns the result without paying again."
801
+ );
802
+ }
803
+ const idempotencyKey = options.idempotencyKey ?? `monitor-preview-${randomUUID()}`;
804
+ const progress = createCliProgress(!wantsJson);
805
+ progress.phase(`Preview key: ${idempotencyKey}`);
806
+ try {
807
+ const payload = await new DeeplineClient().monitors.preview(
808
+ body,
809
+ { idempotencyKey, ...limit === void 0 ? {} : { limit } }
810
+ );
811
+ progress.complete();
812
+ printCommandEnvelope(payload, {
813
+ json: options.json,
814
+ text: renderMonitorPreviewText(payload)
815
+ });
816
+ } catch (error) {
817
+ progress.fail();
818
+ if (previewRetryableWithSameKey(error)) {
819
+ process.stderr.write(
820
+ `To get this preview's result without paying again, rerun the same command with --idempotency-key ${idempotencyKey}. A new key runs a new, paid preview.
821
+ `
822
+ );
823
+ }
824
+ throw error;
825
+ }
826
+ }
827
+ var MONITOR_PREVIEW_SAME_KEY_RETRY_CODES = /* @__PURE__ */ new Set([
828
+ "EXECUTION_IN_PROGRESS",
829
+ "EXECUTION_RECOVERY_UNAVAILABLE",
830
+ "BILLING_UNAVAILABLE",
831
+ "monitor_preview_rate_limited",
832
+ "monitor_preview_provider_unavailable"
833
+ ]);
834
+ var MONITOR_PREVIEW_NEW_KEY_CODES = /* @__PURE__ */ new Set([
835
+ "EXECUTION_OUTCOME_UNKNOWN",
836
+ "monitor_preview_outcome_unknown"
837
+ ]);
838
+ function previewRetryableWithSameKey(error) {
839
+ if (!(error instanceof DeeplineError)) return true;
840
+ const code = error.code;
841
+ if (code !== void 0 && MONITOR_PREVIEW_NEW_KEY_CODES.has(code)) {
842
+ return false;
843
+ }
844
+ if (code !== void 0 && MONITOR_PREVIEW_SAME_KEY_RETRY_CODES.has(code)) {
845
+ return true;
846
+ }
847
+ const status = error.statusCode;
848
+ return status === void 0 || status === 0 || status >= 500;
849
+ }
738
850
  async function handleMonitorsDeploy(definition, options) {
739
851
  const body = resolveMonitorJsonBody({
740
852
  positional: definition,
@@ -2807,6 +2919,10 @@ Notes:
2807
2919
  \`deepline describe deepline_native.company_radar\`.
2808
2920
  Operational controls are Deepline-managed. Bind downstream automation in a
2809
2921
  Play with sqlListeners; monitor definitions never name Plays.
2922
+ When the definition can be previewed, the response includes a "preview"
2923
+ object with its price and the exact \`monitors preview\` command. A preview
2924
+ costs credits; check itself never does. "available": false means this
2925
+ definition has no preview. No "preview" field means the tool has none.
2810
2926
 
2811
2927
  Examples:
2812
2928
  deepline monitors check '{"key":"job-openings","tool":"deepline_native.company_radar","payload":{"domain":"stripe.com","radar_type":"company_job_openings"}}'
@@ -2818,6 +2934,42 @@ Examples:
2818
2934
  "Read the definition JSON from a file, or - for stdin"
2819
2935
  )
2820
2936
  ).action(monitorsAction(handleMonitorsCheck));
2937
+ withJsonOption(
2938
+ monitors.command("preview [definition]").description(
2939
+ "Sample a few recent matches for a monitor definition before deploying it. Costs credits."
2940
+ ).addHelpText(
2941
+ "after",
2942
+ `
2943
+ Notes:
2944
+ Takes the same definition as check and deploy. Nothing is created.
2945
+ Available today only for deepline_native.company_radar with radar_type
2946
+ company_new_hires. Any other tool or radar type answers
2947
+ monitor_preview_unavailable without spending anything: run check, then deploy.
2948
+ Each returned match costs the same as one match the deployed monitor would
2949
+ deliver. An empty preview is free. --limit is 1-3 (default 3).
2950
+ Run previews one at a time. A preview is a sample: it can miss matches, and
2951
+ an empty one does not mean the monitor will find nothing. Read "updates".
2952
+ payload.updates_since is ignored for the preview and still used on deploy.
2953
+ Deploy the same definition without --limit when the sample looks right.
2954
+ Every preview has a key, printed before it is sent. If the connection drops,
2955
+ rerun with --idempotency-key <key> to get the original result without paying
2956
+ again. A new key runs a new, paid preview. --json prints nothing before the
2957
+ result, so it requires --idempotency-key: choose the key yourself and keep it.
2958
+
2959
+ Examples:
2960
+ deepline monitors preview '{"key":"eng-hires","tool":"deepline_native.company_radar","payload":{"domain":"stripe.com","radar_type":"company_new_hires","departments":["Engineering"]}}'
2961
+ deepline monitors preview --file monitor.json --limit 2
2962
+ deepline monitors preview --file monitor.json --idempotency-key monitor-preview-<key>
2963
+ deepline monitors preview --file monitor.json --idempotency-key eng-hires-sample-1 --json
2964
+ `
2965
+ ).option(
2966
+ "-f, --file <path>",
2967
+ "Read the definition JSON from a file, or - for stdin"
2968
+ ).option("--limit <n>", "Matches to sample, 1-3 (default 3)").option(
2969
+ "--idempotency-key <key>",
2970
+ "Recover an earlier preview's result without paying again. Required with --json"
2971
+ )
2972
+ ).action(monitorsAction(handleMonitorsPreview));
2821
2973
  withJsonOption(
2822
2974
  monitors.command("deploy [definition]").description("Deploy a monitor from a definition.").addHelpText(
2823
2975
  "after",
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-LPPAJJJN.mjs";
3
+ } from "./chunk-XV4463XW.mjs";
4
4
  import "./chunk-L2VKAASU.mjs";
5
5
  import "./chunk-FAG4DFUC.mjs";
6
6
  import "./chunk-EIMG75BT.mjs";
7
7
  import "./chunk-UBKA33KY.mjs";
8
8
  import {
9
9
  printCommandEnvelope
10
- } from "./chunk-XLOXUW5Y.mjs";
10
+ } from "./chunk-FS2RMEJ7.mjs";
11
11
  import {
12
12
  ACTIVE_ORG_ID_ENV,
13
13
  ACTIVE_ORG_NAME_ENV,
@@ -28,11 +28,11 @@ import {
28
28
  saveProjectDeeplineEnvValues,
29
29
  sdkCliStateDirPath,
30
30
  storedHostFeatures
31
- } from "./chunk-PJYTV24I.mjs";
31
+ } from "./chunk-X2LUT22I.mjs";
32
32
  import "./chunk-4QF2K7TM.mjs";
33
33
  import "./chunk-DLIRSHV6.mjs";
34
34
  import "./chunk-HBL4PM5Q.mjs";
35
- import "./chunk-ZPV7DMAA.mjs";
35
+ import "./chunk-IXVABCNA.mjs";
36
36
  import "./chunk-WZYKRD7T.mjs";
37
37
  import "./chunk-KRD6H754.mjs";
38
38
 
@@ -1,13 +1,13 @@
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 _chunk7VRWERTMjs = require('./chunk-7VRWERTM.js');
3
+ var _chunkDMTAFWMSjs = require('./chunk-DMTAFWMS.js');
4
4
  require('./chunk-E4CABWXL.js');
5
5
  require('./chunk-JKVRBCZL.js');
6
6
  require('./chunk-KXMNM4AQ.js');
7
7
  require('./chunk-XDVT3GOM.js');
8
8
 
9
9
 
10
- var _chunk6G6KX7I7js = require('./chunk-6G6KX7I7.js');
10
+ var _chunkWTTHH2K3js = require('./chunk-WTTHH2K3.js');
11
11
 
12
12
 
13
13
 
@@ -28,11 +28,11 @@ var _chunk6G6KX7I7js = require('./chunk-6G6KX7I7.js');
28
28
 
29
29
 
30
30
 
31
- var _chunkWDOWAOYBjs = require('./chunk-WDOWAOYB.js');
31
+ var _chunkRTR2KUU6js = require('./chunk-RTR2KUU6.js');
32
32
  require('./chunk-ALJJRZNJ.js');
33
33
  require('./chunk-XNYIZMNQ.js');
34
34
  require('./chunk-DIAWYWT5.js');
35
- require('./chunk-L2IUGWV5.js');
35
+ require('./chunk-RG644LJU.js');
36
36
  require('./chunk-OG64RBAC.js');
37
37
  require('./chunk-COGTRVWW.js');
38
38
 
@@ -48,7 +48,7 @@ var _fs = require('fs');
48
48
  var _path = require('path');
49
49
  function pendingOrgCreatePath(baseUrl, accountId, sourceOrgId, name) {
50
50
  const intent = _crypto.createHash.call(void 0, "sha256").update(accountId).update("\0").update(sourceOrgId).update("\0").update(name).digest("hex");
51
- return _path.join.call(void 0, _chunkWDOWAOYBjs.sdkCliStateDirPath.call(void 0, baseUrl), `pending-org-create-${intent}.json`);
51
+ return _path.join.call(void 0, _chunkRTR2KUU6js.sdkCliStateDirPath.call(void 0, baseUrl), `pending-org-create-${intent}.json`);
52
52
  }
53
53
  function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
54
54
  let value;
@@ -67,7 +67,7 @@ function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
67
67
  return value;
68
68
  }
69
69
  function loadOrCreatePendingOrgCreate(input) {
70
- const stateDir = _chunkWDOWAOYBjs.sdkCliStateDirPath.call(void 0, input.baseUrl);
70
+ const stateDir = _chunkRTR2KUU6js.sdkCliStateDirPath.call(void 0, input.baseUrl);
71
71
  const path = pendingOrgCreatePath(
72
72
  input.baseUrl,
73
73
  input.accountId,
@@ -152,11 +152,11 @@ function processEnvValue(name) {
152
152
  }
153
153
  function organizationAuthValues(input) {
154
154
  return {
155
- [_chunkWDOWAOYBjs.HOST_URL_ENV]: input.baseUrl,
156
- [_chunkWDOWAOYBjs.API_KEY_ENV]: input.apiKey,
157
- [_chunkWDOWAOYBjs.ACTIVE_ORG_ID_ENV]: input.orgId,
158
- [_chunkWDOWAOYBjs.ACTIVE_ORG_NAME_ENV]: input.orgName,
159
- ..._chunkWDOWAOYBjs.featureEnvValues.call(void 0, input)
155
+ [_chunkRTR2KUU6js.HOST_URL_ENV]: input.baseUrl,
156
+ [_chunkRTR2KUU6js.API_KEY_ENV]: input.apiKey,
157
+ [_chunkRTR2KUU6js.ACTIVE_ORG_ID_ENV]: input.orgId,
158
+ [_chunkRTR2KUU6js.ACTIVE_ORG_NAME_ENV]: input.orgName,
159
+ ..._chunkRTR2KUU6js.featureEnvValues.call(void 0, input)
160
160
  };
161
161
  }
162
162
  function organizationCommandContext(input) {
@@ -170,14 +170,14 @@ function organizationCommandContext(input) {
170
170
  };
171
171
  }
172
172
  function agentCommandContext(commandContext) {
173
- return _chunkWDOWAOYBjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? { command_context: commandContext } : {};
173
+ return _chunkRTR2KUU6js.detectAgentRuntime.call(void 0, ) !== "unknown" ? { command_context: commandContext } : {};
174
174
  }
175
175
  function resolveOrgSwitchAuthTarget(scope, config) {
176
- const activeProject = _chunkWDOWAOYBjs.getResolvedProjectAuthSource.call(void 0,
176
+ const activeProject = _chunkRTR2KUU6js.getResolvedProjectAuthSource.call(void 0,
177
177
  config.baseUrl,
178
178
  config.apiKey
179
179
  );
180
- const folderTarget = _chunkWDOWAOYBjs.resolveProjectPinTarget.call(void 0, );
180
+ const folderTarget = _chunkRTR2KUU6js.resolveProjectPinTarget.call(void 0, );
181
181
  const globalOverrideWarning = activeProject && scope === "global" ? [
182
182
  `Folder auth in ${activeProject.filePath} overrides global auth for commands run here.`
183
183
  ] : [];
@@ -249,10 +249,10 @@ function resolveOrgSwitchAuthTarget(scope, config) {
249
249
  };
250
250
  }
251
251
  async function handleOrgList(options) {
252
- const config = _chunkWDOWAOYBjs.resolveConfig.call(void 0, );
253
- const http = new (0, _chunkWDOWAOYBjs.HttpClient)(config);
252
+ const config = _chunkRTR2KUU6js.resolveConfig.call(void 0, );
253
+ const http = new (0, _chunkRTR2KUU6js.HttpClient)(config);
254
254
  const payload = await fetchOrganizations(http, config.apiKey);
255
- _chunk6G6KX7I7js.printCommandEnvelope.call(void 0,
255
+ _chunkWTTHH2K3js.printCommandEnvelope.call(void 0,
256
256
  {
257
257
  ...payload,
258
258
  render: {
@@ -268,22 +268,22 @@ async function handleOrgList(options) {
268
268
  );
269
269
  }
270
270
  async function handleOrgStatus(options) {
271
- const config = _chunkWDOWAOYBjs.resolveConfig.call(void 0, );
272
- const http = new (0, _chunkWDOWAOYBjs.HttpClient)(config);
271
+ const config = _chunkRTR2KUU6js.resolveConfig.call(void 0, );
272
+ const http = new (0, _chunkRTR2KUU6js.HttpClient)(config);
273
273
  const payload = await fetchOrganizations(http, config.apiKey);
274
274
  const current = _nullishCoalesce(_nullishCoalesce(payload.organizations.find((org) => org.is_current), () => ( payload.organizations.find(
275
275
  (org) => org.org_id === payload.current_org_id
276
276
  ))), () => ( null));
277
- const projectCandidate = _chunkWDOWAOYBjs.getActiveProjectAuthSource.call(void 0, );
278
- const activeProject = _chunkWDOWAOYBjs.getResolvedProjectAuthSource.call(void 0,
277
+ const projectCandidate = _chunkRTR2KUU6js.getActiveProjectAuthSource.call(void 0, );
278
+ const activeProject = _chunkRTR2KUU6js.getResolvedProjectAuthSource.call(void 0,
279
279
  config.baseUrl,
280
280
  config.apiKey
281
281
  );
282
- const folderTarget = _chunkWDOWAOYBjs.resolveProjectPinTarget.call(void 0, );
283
- const provenance = _chunkWDOWAOYBjs.resolveCliAuthProvenance.call(void 0, config);
284
- const hostPath = _chunkWDOWAOYBjs.hostEnvFilePath.call(void 0, config.baseUrl);
285
- const envApiKey = processEnvValue(_chunkWDOWAOYBjs.API_KEY_ENV);
286
- const envHostUrl = processEnvValue(_chunkWDOWAOYBjs.HOST_URL_ENV);
282
+ const folderTarget = _chunkRTR2KUU6js.resolveProjectPinTarget.call(void 0, );
283
+ const provenance = _chunkRTR2KUU6js.resolveCliAuthProvenance.call(void 0, config);
284
+ const hostPath = _chunkRTR2KUU6js.hostEnvFilePath.call(void 0, config.baseUrl);
285
+ const envApiKey = processEnvValue(_chunkRTR2KUU6js.API_KEY_ENV);
286
+ const envHostUrl = processEnvValue(_chunkRTR2KUU6js.HOST_URL_ENV);
287
287
  const authSource = envApiKey ? {
288
288
  scope: "env",
289
289
  source: "process",
@@ -324,17 +324,17 @@ async function handleOrgStatus(options) {
324
324
  if (authSource.path) {
325
325
  lines.push(`Auth file: ${authSource.path}`);
326
326
  } else {
327
- lines.push(`Auth source: ${_chunkWDOWAOYBjs.API_KEY_ENV} process environment`);
327
+ lines.push(`Auth source: ${_chunkRTR2KUU6js.API_KEY_ENV} process environment`);
328
328
  }
329
329
  if (envApiKey) {
330
- lines.push(`${_chunkWDOWAOYBjs.API_KEY_ENV} overrides saved auth for this process.`);
330
+ lines.push(`${_chunkRTR2KUU6js.API_KEY_ENV} overrides saved auth for this process.`);
331
331
  } else if (activeProject) {
332
332
  lines.push("Global auth is overridden in this folder.");
333
333
  } else if (provenance.scope === "global" && provenance.project.state === "project") {
334
334
  lines.push("Cloud mutations are blocked until this project is pinned.");
335
335
  lines.push("Pin it: deepline org set --auth-scope folder");
336
336
  }
337
- _chunk6G6KX7I7js.printCommandEnvelope.call(void 0,
337
+ _chunkWTTHH2K3js.printCommandEnvelope.call(void 0,
338
338
  {
339
339
  ok: true,
340
340
  host: config.baseUrl,
@@ -368,25 +368,25 @@ async function handleOrgStatus(options) {
368
368
  }
369
369
  async function handleOrgSwitch(selection, options) {
370
370
  const authScope = normalizeAuthScope(options.authScope);
371
- const config = _chunkWDOWAOYBjs.resolveConfig.call(void 0, );
372
- const provenance = _chunkWDOWAOYBjs.resolveCliAuthProvenance.call(void 0, config);
371
+ const config = _chunkRTR2KUU6js.resolveConfig.call(void 0, );
372
+ const provenance = _chunkRTR2KUU6js.resolveCliAuthProvenance.call(void 0, config);
373
373
  if (!selection && !options.orgId && authScope === "folder" && provenance.scope === "global" && provenance.project.state === "project") {
374
- const commandContext = _chunkWDOWAOYBjs.resolveCliCommandContext.call(void 0, config);
374
+ const commandContext = _chunkRTR2KUU6js.resolveCliCommandContext.call(void 0, config);
375
375
  const activeOrganization = commandContext.active_organization;
376
- const pinnedFeatures = _chunkWDOWAOYBjs.storedHostFeatures.call(void 0, config.baseUrl);
377
- const project_env_paths2 = _chunkWDOWAOYBjs.saveProjectDeeplineEnvValues.call(void 0,
376
+ const pinnedFeatures = _chunkRTR2KUU6js.storedHostFeatures.call(void 0, config.baseUrl);
377
+ const project_env_paths2 = _chunkRTR2KUU6js.saveProjectDeeplineEnvValues.call(void 0,
378
378
  {
379
- [_chunkWDOWAOYBjs.HOST_URL_ENV]: config.baseUrl,
380
- [_chunkWDOWAOYBjs.API_KEY_ENV]: config.apiKey,
379
+ [_chunkRTR2KUU6js.HOST_URL_ENV]: config.baseUrl,
380
+ [_chunkRTR2KUU6js.API_KEY_ENV]: config.apiKey,
381
381
  ...activeOrganization ? {
382
- [_chunkWDOWAOYBjs.ACTIVE_ORG_ID_ENV]: activeOrganization.org_id,
383
- [_chunkWDOWAOYBjs.ACTIVE_ORG_NAME_ENV]: _nullishCoalesce(activeOrganization.org_name, () => ( ""))
382
+ [_chunkRTR2KUU6js.ACTIVE_ORG_ID_ENV]: activeOrganization.org_id,
383
+ [_chunkRTR2KUU6js.ACTIVE_ORG_NAME_ENV]: _nullishCoalesce(activeOrganization.org_name, () => ( ""))
384
384
  } : {},
385
- ...pinnedFeatures !== void 0 ? { [_chunkWDOWAOYBjs.FEATURES_ENV]: pinnedFeatures } : {}
385
+ ...pinnedFeatures !== void 0 ? { [_chunkRTR2KUU6js.FEATURES_ENV]: pinnedFeatures } : {}
386
386
  },
387
387
  provenance.project.dir
388
388
  );
389
- _chunk6G6KX7I7js.printCommandEnvelope.call(void 0,
389
+ _chunkWTTHH2K3js.printCommandEnvelope.call(void 0,
390
390
  {
391
391
  ok: true,
392
392
  unchanged: true,
@@ -398,7 +398,7 @@ async function handleOrgSwitch(selection, options) {
398
398
  orgId: activeOrganization.org_id,
399
399
  orgName: activeOrganization.org_name,
400
400
  authScope: "folder"
401
- }) : _chunkWDOWAOYBjs.resolveCliCommandContext.call(void 0, config, "folder")
401
+ }) : _chunkRTR2KUU6js.resolveCliCommandContext.call(void 0, config, "folder")
402
402
  ),
403
403
  project_env_paths: project_env_paths2,
404
404
  next: { status: "deepline org status" },
@@ -419,10 +419,10 @@ async function handleOrgSwitch(selection, options) {
419
419
  );
420
420
  return;
421
421
  }
422
- const http = new (0, _chunkWDOWAOYBjs.HttpClient)(config);
422
+ const http = new (0, _chunkRTR2KUU6js.HttpClient)(config);
423
423
  const payload = await fetchOrganizations(http, config.apiKey);
424
424
  if (!selection && !options.orgId) {
425
- _chunk6G6KX7I7js.printCommandEnvelope.call(void 0,
425
+ _chunkWTTHH2K3js.printCommandEnvelope.call(void 0,
426
426
  {
427
427
  ...payload,
428
428
  next: { set: "deepline org set <number>" },
@@ -473,9 +473,9 @@ async function handleOrgSwitch(selection, options) {
473
473
  features
474
474
  });
475
475
  if (authTarget.kind === "folder") {
476
- project_env_paths2 = _chunkWDOWAOYBjs.saveProjectDeeplineEnvValues.call(void 0, authValues2);
476
+ project_env_paths2 = _chunkRTR2KUU6js.saveProjectDeeplineEnvValues.call(void 0, authValues2);
477
477
  } else {
478
- _chunkWDOWAOYBjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues2);
478
+ _chunkRTR2KUU6js.saveHostEnvValues.call(void 0, config.baseUrl, authValues2);
479
479
  }
480
480
  const renderLines2 = [`Already on ${target.name}.`];
481
481
  for (const projectPath of project_env_paths2) {
@@ -483,7 +483,7 @@ async function handleOrgSwitch(selection, options) {
483
483
  }
484
484
  if (authTarget.kind === "global") {
485
485
  renderLines2.push(
486
- `Saved global auth in ${_chunkWDOWAOYBjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
486
+ `Saved global auth in ${_chunkRTR2KUU6js.hostEnvFilePath.call(void 0, config.baseUrl)}`
487
487
  );
488
488
  }
489
489
  renderLines2.push(
@@ -499,7 +499,7 @@ async function handleOrgSwitch(selection, options) {
499
499
  ...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
500
500
  ...authTarget.warnings
501
501
  ];
502
- _chunk6G6KX7I7js.printCommandEnvelope.call(void 0,
502
+ _chunkWTTHH2K3js.printCommandEnvelope.call(void 0,
503
503
  {
504
504
  ok: true,
505
505
  unchanged: true,
@@ -515,7 +515,7 @@ async function handleOrgSwitch(selection, options) {
515
515
  authScope: authTarget.effective_scope
516
516
  })
517
517
  ),
518
- host_env_path: authTarget.kind === "global" ? _chunkWDOWAOYBjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
518
+ host_env_path: authTarget.kind === "global" ? _chunkRTR2KUU6js.hostEnvFilePath.call(void 0, config.baseUrl) : null,
519
519
  project_env_paths: project_env_paths2,
520
520
  deprecated_command: options.deprecatedSwitch ? "org switch" : null,
521
521
  replacement_command: options.deprecatedSwitch ? "deepline org set" : null,
@@ -541,9 +541,9 @@ async function handleOrgSwitch(selection, options) {
541
541
  features: switched.features
542
542
  });
543
543
  if (authTarget.kind === "folder") {
544
- project_env_paths = _chunkWDOWAOYBjs.saveProjectDeeplineEnvValues.call(void 0, authValues);
544
+ project_env_paths = _chunkRTR2KUU6js.saveProjectDeeplineEnvValues.call(void 0, authValues);
545
545
  } else {
546
- _chunkWDOWAOYBjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
546
+ _chunkRTR2KUU6js.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
547
547
  }
548
548
  const { api_key: _apiKey, ...publicSwitched } = switched;
549
549
  const renderLines = [`Switched to ${switched.org_name}.`];
@@ -552,7 +552,7 @@ async function handleOrgSwitch(selection, options) {
552
552
  renderLines.push(`Saved folder auth in ${projectPath}`);
553
553
  }
554
554
  } else {
555
- renderLines.push(`Saved global auth in ${_chunkWDOWAOYBjs.hostEnvFilePath.call(void 0, config.baseUrl)}`);
555
+ renderLines.push(`Saved global auth in ${_chunkRTR2KUU6js.hostEnvFilePath.call(void 0, config.baseUrl)}`);
556
556
  }
557
557
  renderLines.push(
558
558
  `Scope: ${authTarget.requested_scope} -> ${authTarget.effective_scope} (${authTarget.reason})`
@@ -567,10 +567,10 @@ async function handleOrgSwitch(selection, options) {
567
567
  ...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
568
568
  ...authTarget.warnings
569
569
  ];
570
- _chunk6G6KX7I7js.printCommandEnvelope.call(void 0,
570
+ _chunkWTTHH2K3js.printCommandEnvelope.call(void 0,
571
571
  {
572
572
  ok: true,
573
- host_env_path: authTarget.kind === "global" ? _chunkWDOWAOYBjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
573
+ host_env_path: authTarget.kind === "global" ? _chunkRTR2KUU6js.hostEnvFilePath.call(void 0, config.baseUrl) : null,
574
574
  project_env_paths,
575
575
  ...publicSwitched,
576
576
  api_key_saved: true,
@@ -601,12 +601,12 @@ async function handleOrgSwitch(selection, options) {
601
601
  );
602
602
  }
603
603
  async function handleOrgCreate(name, options) {
604
- const config = _chunkWDOWAOYBjs.resolveConfig.call(void 0, );
604
+ const config = _chunkRTR2KUU6js.resolveConfig.call(void 0, );
605
605
  const normalizedName = name.trim();
606
606
  if (!normalizedName) {
607
607
  throw new Error("Workspace name is required.");
608
608
  }
609
- const http = new (0, _chunkWDOWAOYBjs.HttpClient)(config);
609
+ const http = new (0, _chunkRTR2KUU6js.HttpClient)(config);
610
610
  const identity = await fetchWorkspaceCreationIdentity(http, config.apiKey);
611
611
  let created;
612
612
  let workspaceApiKey;
@@ -632,7 +632,7 @@ async function handleOrgCreate(name, options) {
632
632
  sourceOrgId: identity.orgId,
633
633
  name: normalizedName
634
634
  });
635
- const workspace = await new (0, _chunk7VRWERTMjs.DeeplineClient)({
635
+ const workspace = await new (0, _chunkDMTAFWMSjs.DeeplineClient)({
636
636
  apiKey: config.apiKey,
637
637
  baseUrl: config.baseUrl
638
638
  }).workspaces.create({
@@ -655,16 +655,16 @@ async function handleOrgCreate(name, options) {
655
655
  orgName: created.org_name,
656
656
  features: workspaceFeatures
657
657
  });
658
- _chunkWDOWAOYBjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
658
+ _chunkRTR2KUU6js.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
659
659
  if (pendingIntentPath) _fs.unlinkSync.call(void 0, pendingIntentPath);
660
- _chunk6G6KX7I7js.printCommandEnvelope.call(void 0,
660
+ _chunkWTTHH2K3js.printCommandEnvelope.call(void 0,
661
661
  {
662
662
  ok: true,
663
663
  ...created,
664
664
  initial_credits: typeof created.initial_credits === "number" ? created.initial_credits : 0,
665
665
  api_key_saved: true,
666
666
  switched: true,
667
- host_env_path: _chunkWDOWAOYBjs.hostEnvFilePath.call(void 0, config.baseUrl),
667
+ host_env_path: _chunkRTR2KUU6js.hostEnvFilePath.call(void 0, config.baseUrl),
668
668
  ...agentCommandContext(
669
669
  organizationCommandContext({
670
670
  orgId: created.org_id,
@@ -679,7 +679,7 @@ async function handleOrgCreate(name, options) {
679
679
  lines: [
680
680
  `Created organization: ${created.org_name}.`,
681
681
  `Switched to ${created.org_name}.`,
682
- `Saved host auth in ${_chunkWDOWAOYBjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
682
+ `Saved host auth in ${_chunkRTR2KUU6js.hostEnvFilePath.call(void 0, config.baseUrl)}`
683
683
  ]
684
684
  }
685
685
  ]
@@ -731,7 +731,7 @@ Examples:
731
731
  );
732
732
  const sso = org.command("sso").description("Manage Enterprise workspace SSO.");
733
733
  const ssoPath = "/api/v2/auth/workspace/sso";
734
- const printSso = (payload, json) => _chunk6G6KX7I7js.printCommandEnvelope.call(void 0,
734
+ const printSso = (payload, json) => _chunkWTTHH2K3js.printCommandEnvelope.call(void 0,
735
735
  {
736
736
  ...payload,
737
737
  render: {
@@ -755,7 +755,7 @@ Examples:
755
755
  },
756
756
  { json }
757
757
  );
758
- const ssoHttp = () => new (0, _chunkWDOWAOYBjs.HttpClient)(_chunkWDOWAOYBjs.resolveConfig.call(void 0, ));
758
+ const ssoHttp = () => new (0, _chunkRTR2KUU6js.HttpClient)(_chunkRTR2KUU6js.resolveConfig.call(void 0, ));
759
759
  sso.command("status").description("Show this workspace's SSO connection and plan eligibility.").option("--json", "Emit JSON output").action(async (options) => {
760
760
  printSso(await ssoHttp().get(ssoPath), options.json);
761
761
  });
@@ -786,8 +786,8 @@ Examples:
786
786
  "Identity provider metadata XML file"
787
787
  ).option("--json", "Emit JSON output").action(
788
788
  async (options) => {
789
- const config = _chunkWDOWAOYBjs.resolveConfig.call(void 0, );
790
- const http = new (0, _chunkWDOWAOYBjs.HttpClient)(config);
789
+ const config = _chunkRTR2KUU6js.resolveConfig.call(void 0, );
790
+ const http = new (0, _chunkRTR2KUU6js.HttpClient)(config);
791
791
  const identity = await fetchWorkspaceCreationIdentity(
792
792
  http,
793
793
  config.apiKey
@@ -851,13 +851,13 @@ Examples:
851
851
  if (chosen.length > 1) {
852
852
  throw new Error("Pass one of a logo URL, --domain, or --remove.");
853
853
  }
854
- const http = new (0, _chunkWDOWAOYBjs.HttpClient)(_chunkWDOWAOYBjs.resolveConfig.call(void 0, ));
854
+ const http = new (0, _chunkRTR2KUU6js.HttpClient)(_chunkRTR2KUU6js.resolveConfig.call(void 0, ));
855
855
  const path = "/api/v2/auth/workspace/logo";
856
856
  const payload = chosen.length === 0 ? await http.get(path) : await http.patch(
857
857
  path,
858
858
  options.domain ? { domain: options.domain } : { logo: _nullishCoalesce(url, () => ( null)) }
859
859
  );
860
- _chunk6G6KX7I7js.printCommandEnvelope.call(void 0,
860
+ _chunkWTTHH2K3js.printCommandEnvelope.call(void 0,
861
861
  {
862
862
  ...payload,
863
863
  render: {