deepline 0.3.512 → 0.3.513

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 (129) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/{artifacts-YSYWQFQQ.mjs → artifacts-AMM4RZNI.mjs} +6 -6
  3. package/dist/cli/{artifacts-5IGM3EYP.js → artifacts-SZA52D3P.js} +18 -18
  4. package/dist/cli/{auth-4MVWCUXS.mjs → auth-3HQ7FXPX.mjs} +5 -5
  5. package/dist/cli/auth-THCURTEC.js +43 -0
  6. package/dist/cli/{billing-SZXRENPC.mjs → billing-7AIKDEQQ.mjs} +7 -7
  7. package/dist/cli/{billing-OYYHWNVS.js → billing-SVFRN4BJ.js} +82 -82
  8. package/dist/cli/{chunk-MQ5GBB7V.mjs → chunk-3SE4O52N.mjs} +1 -1
  9. package/dist/cli/{chunk-VZN6D23P.js → chunk-3UKVFI2R.js} +7 -7
  10. package/dist/cli/{chunk-JDD6OLWN.mjs → chunk-3WHK7WCP.mjs} +3 -3
  11. package/dist/cli/{chunk-YJN55ZWG.mjs → chunk-46QVEEXR.mjs} +1 -1
  12. package/dist/cli/{chunk-Q72Q3ZWB.js → chunk-4EGBOZ53.js} +9 -9
  13. package/dist/cli/{chunk-FF25PDQ2.js → chunk-5IZXMA2L.js} +4 -1
  14. package/dist/cli/{chunk-AATUAFD2.mjs → chunk-5T4SZPVO.mjs} +2 -2
  15. package/dist/cli/{chunk-77DPQI6W.mjs → chunk-5UWWZLMX.mjs} +4 -1
  16. package/dist/cli/{chunk-VGCNLFER.js → chunk-6JNRYX65.js} +2 -2
  17. package/dist/cli/{chunk-OU6AK63V.js → chunk-6UVAYLQG.js} +2 -2
  18. package/dist/cli/{chunk-FJPJ6SO3.mjs → chunk-7NIBAJML.mjs} +2 -2
  19. package/dist/cli/{chunk-TNQ5MF6K.mjs → chunk-7UVKC5G4.mjs} +1 -1
  20. package/dist/cli/{chunk-V6FQRUPJ.js → chunk-ADB6FD2Q.js} +41 -41
  21. package/dist/cli/{chunk-32UMZXCZ.mjs → chunk-B4BKATGX.mjs} +5 -5
  22. package/dist/cli/{chunk-3INAN6EK.mjs → chunk-C5KH6FDN.mjs} +3 -3
  23. package/dist/cli/{chunk-RXZRZEW7.mjs → chunk-CEWRCUSH.mjs} +5 -5
  24. package/dist/cli/{chunk-4QR64X2S.js → chunk-D72M5LBQ.js} +10 -10
  25. package/dist/cli/{chunk-KBM5T6UV.js → chunk-EAQQTYJL.js} +5 -5
  26. package/dist/cli/{chunk-XKFWY4IK.mjs → chunk-FC6BR2OA.mjs} +10 -10
  27. package/dist/cli/{chunk-I6OK54YK.mjs → chunk-FLG3VIDQ.mjs} +5 -5
  28. package/dist/cli/{chunk-ZLHIQU2G.js → chunk-H6WD65CD.js} +96 -96
  29. package/dist/cli/{chunk-4ZDHGAE6.js → chunk-HDDE4Y4V.js} +2 -2
  30. package/dist/cli/{chunk-IMC2HQ6V.js → chunk-JA5PBN44.js} +6 -6
  31. package/dist/cli/{chunk-RR6G6ZCT.js → chunk-JI2LKS5V.js} +11 -11
  32. package/dist/cli/{chunk-EQAKPIGI.mjs → chunk-JNNQ53BX.mjs} +2 -2
  33. package/dist/cli/{chunk-LYOWQKGN.mjs → chunk-K3CUVLW7.mjs} +1 -1
  34. package/dist/cli/{chunk-ZVYMGTZ7.mjs → chunk-KINDIV44.mjs} +4 -4
  35. package/dist/cli/{chunk-DJ4FD5DR.mjs → chunk-LA66PYB4.mjs} +2 -2
  36. package/dist/cli/{chunk-BP4XEO6Z.js → chunk-MPOF4Z44.js} +1 -1
  37. package/dist/cli/{chunk-2R6M62UO.mjs → chunk-OD72PULZ.mjs} +2 -2
  38. package/dist/cli/{chunk-AVYI522S.js → chunk-ORQVTTTM.js} +5 -5
  39. package/dist/cli/{chunk-GJMIW4Q6.mjs → chunk-P2EHYH2Q.mjs} +1 -1
  40. package/dist/cli/{chunk-MTSHUN2R.mjs → chunk-P63SBUEW.mjs} +1 -1
  41. package/dist/cli/{chunk-7U3WY2F3.js → chunk-P6TG7COR.js} +53 -53
  42. package/dist/cli/{chunk-HCMFRAYT.js → chunk-PFEFK2FB.js} +26 -26
  43. package/dist/cli/{chunk-L7CAOWHY.js → chunk-PGHCBL5G.js} +3 -3
  44. package/dist/cli/{chunk-2BS6BRGH.mjs → chunk-PPQU263U.mjs} +2 -2
  45. package/dist/cli/{chunk-JU35QU3Z.js → chunk-QDGUDNVR.js} +7 -7
  46. package/dist/cli/{chunk-P3RYPSOQ.mjs → chunk-ROIFA4H7.mjs} +6 -6
  47. package/dist/cli/{chunk-JH7JISQ2.mjs → chunk-ROJ55CXM.mjs} +1 -1
  48. package/dist/cli/{chunk-JKLFRDQ6.js → chunk-SDD75XIU.js} +6 -6
  49. package/dist/cli/{chunk-W7DAWILZ.js → chunk-TWHJ4WCA.js} +16 -16
  50. package/dist/cli/{chunk-4DSRBHN6.js → chunk-U5QR527Y.js} +44 -44
  51. package/dist/cli/{chunk-O24VWLOY.js → chunk-UDVX7HKU.js} +16 -16
  52. package/dist/cli/{chunk-PJCPFF7J.js → chunk-VMLZQ3VM.js} +14 -14
  53. package/dist/cli/{chunk-YNMHIJC5.mjs → chunk-WFN6SB2B.mjs} +1 -1
  54. package/dist/cli/{chunk-5XLU47DG.mjs → chunk-XCP75LSJ.mjs} +1 -1
  55. package/dist/cli/{chunk-ZZ7SVWKR.js → chunk-Y2SIHXYS.js} +4 -4
  56. package/dist/cli/{chunk-WDCOUJQ5.js → chunk-YZW4ZLU3.js} +21 -21
  57. package/dist/cli/{chunk-TKN2TRW5.js → chunk-Z52XVM5I.js} +3 -3
  58. package/dist/cli/{chunk-T3SUWKUT.mjs → chunk-ZDO67LFA.mjs} +5 -5
  59. package/dist/cli/{chunk-HA5NSCTH.mjs → chunk-ZKUXTF6X.mjs} +2 -2
  60. package/dist/cli/command-docs.js +2 -2
  61. package/dist/cli/command-docs.mjs +1 -1
  62. package/dist/cli/{csv-AY4KT3NZ.mjs → csv-56JWAO3Y.mjs} +4 -4
  63. package/dist/cli/{csv-YR2E5HNM.js → csv-WKF5O6C4.js} +13 -13
  64. package/dist/cli/{db-IMYD3OCM.mjs → db-SENEFS45.mjs} +6 -6
  65. package/dist/cli/{db-YKV6564I.js → db-UURETUXZ.js} +27 -27
  66. package/dist/cli/describe-GIJAGNZM.js +50 -0
  67. package/dist/cli/{describe-72GI2Q6T.mjs → describe-R3XKAGF5.mjs} +18 -18
  68. package/dist/cli/{executions-2YO6KIP3.mjs → executions-BAUUWHSW.mjs} +6 -6
  69. package/dist/cli/{executions-OSNL5CSU.js → executions-WZUS3S2K.js} +8 -8
  70. package/dist/cli/{feedback-SYDNAT62.mjs → feedback-5SCDE247.mjs} +5 -5
  71. package/dist/cli/{feedback-WSA7YTKS.js → feedback-Z6A7WMJS.js} +10 -10
  72. package/dist/cli/{git-WBH7N3EF.mjs → git-246MRTK7.mjs} +5 -5
  73. package/dist/cli/git-D5UAIEQE.js +25 -0
  74. package/dist/cli/index.js +145 -145
  75. package/dist/cli/index.mjs +44 -44
  76. package/dist/cli/{legacy-noops-BZPLWY5C.js → legacy-noops-AKETAVNI.js} +9 -9
  77. package/dist/cli/{legacy-noops-USZM4ZXF.mjs → legacy-noops-M242HT67.mjs} +6 -6
  78. package/dist/cli/{monitors-6HOZMLEV.mjs → monitors-N5T6PLCX.mjs} +7 -7
  79. package/dist/cli/{monitors-XHXAMMYC.js → monitors-QIHYTSKD.js} +100 -100
  80. package/dist/cli/{org-BAAOAZF3.js → org-BSCPIN7Y.js} +72 -72
  81. package/dist/cli/{org-LT3DICB4.mjs → org-YMDLKBVM.mjs} +6 -6
  82. package/dist/cli/{pages-7NP4PKLA.js → pages-BYSQBWD5.js} +18 -18
  83. package/dist/cli/{pages-MOCSTZZQ.mjs → pages-FRLPAY6I.mjs} +6 -6
  84. package/dist/cli/{play-MGJ7B7RL.mjs → play-CMJI6RNI.mjs} +18 -18
  85. package/dist/cli/{play-CGUL22GL.js → play-OIJAMP5P.js} +317 -317
  86. package/dist/cli/{providers-5LCUHKX2.js → providers-6Q7H2RYZ.js} +9 -9
  87. package/dist/cli/{providers-AOWBHJ24.mjs → providers-KWFIH3E7.mjs} +6 -6
  88. package/dist/cli/{quickstart-7YZUT7GO.js → quickstart-GU35UZPU.js} +6 -6
  89. package/dist/cli/{quickstart-Z6NA2CCM.mjs → quickstart-UZWAQ7VJ.mjs} +4 -4
  90. package/dist/cli/{run-7QGBNUKE.mjs → run-AJ24G4CT.mjs} +23 -23
  91. package/dist/cli/{run-M66ILCWL.js → run-OYOQIVBM.js} +41 -41
  92. package/dist/cli/{search-Z2T3B4V4.mjs → search-2KNDV3DL.mjs} +8 -8
  93. package/dist/cli/search-UZM6U4MZ.js +33 -0
  94. package/dist/cli/{search-output-6OHPSJGK.js → search-output-526FOJQD.js} +6 -6
  95. package/dist/cli/{search-output-MLHVBRIR.mjs → search-output-X5TMIIA4.mjs} +4 -4
  96. package/dist/cli/{secrets-T7MW2DMK.js → secrets-QL5SMK62.js} +15 -15
  97. package/dist/cli/{secrets-VBSILT5H.mjs → secrets-XEOGG6TV.mjs} +6 -6
  98. package/dist/cli/sessions-T27GUYZX.js +18 -0
  99. package/dist/cli/{sessions-KNITGDLS.mjs → sessions-Z352OY5B.mjs} +6 -6
  100. package/dist/cli/{settings-NBZRRKZS.mjs → settings-AET5AKBY.mjs} +13 -13
  101. package/dist/cli/{settings-OSEBDBKR.js → settings-EKLYIRWJ.js} +86 -86
  102. package/dist/cli/{setup-7DZPC6FC.js → setup-IJWDEYLG.js} +50 -50
  103. package/dist/cli/{setup-WTEQPZ5I.mjs → setup-JPGTZYR2.mjs} +10 -10
  104. package/dist/cli/{skills-JMD2MNJZ.mjs → skills-DGCK6723.mjs} +8 -8
  105. package/dist/cli/skills-MLMVPHWG.js +37 -0
  106. package/dist/cli/tools-5WBKZRLQ.js +57 -0
  107. package/dist/cli/{tools-LK5BM2Z7.mjs → tools-7GEQLQWX.mjs} +17 -17
  108. package/dist/cli/update-JK4NLT4H.js +35 -0
  109. package/dist/cli/{update-IVUSIA2E.mjs → update-SAN6LDPT.mjs} +10 -10
  110. package/dist/cli/{workflow-4QP6G54M.mjs → workflow-C66GOHRB.mjs} +7 -7
  111. package/dist/cli/{workflow-GY374FMJ.js → workflow-E4NGYGGM.js} +17 -17
  112. package/dist/index.js +9 -9
  113. package/dist/index.mjs +6 -6
  114. package/dist/install-integrity.json +106 -106
  115. package/dist/release.d.mts +1 -1
  116. package/dist/release.d.ts +1 -1
  117. package/dist/release.js +2 -2
  118. package/dist/release.mjs +1 -1
  119. package/dist/server.js +5 -5
  120. package/dist/server.mjs +3 -3
  121. package/package.json +1 -1
  122. package/dist/cli/auth-M3AJBJ3O.js +0 -43
  123. package/dist/cli/describe-UFGHQBM7.js +0 -50
  124. package/dist/cli/git-YYOW4CYQ.js +0 -25
  125. package/dist/cli/search-OZQH5VMI.js +0 -33
  126. package/dist/cli/sessions-XKEIBOTP.js +0 -18
  127. package/dist/cli/skills-R6RO6MQF.js +0 -37
  128. package/dist/cli/tools-NBBDUNPR.js +0 -57
  129. package/dist/cli/update-BI2ABPGX.js +0 -35
@@ -1,14 +1,14 @@
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 _chunkKBM5T6UVjs = require('./chunk-KBM5T6UV.js');
4
- require('./chunk-JU35QU3Z.js');
3
+ var _chunkEAQQTYJLjs = require('./chunk-EAQQTYJL.js');
4
+ require('./chunk-QDGUDNVR.js');
5
5
  require('./chunk-E4CABWXL.js');
6
6
  require('./chunk-RNSHCJME.js');
7
7
  require('./chunk-NMU3VR5U.js');
8
8
  require('./chunk-WSGXBROE.js');
9
9
 
10
10
 
11
- var _chunkVZN6D23Pjs = require('./chunk-VZN6D23P.js');
11
+ var _chunk3UKVFI2Rjs = require('./chunk-3UKVFI2R.js');
12
12
 
13
13
 
14
14
 
@@ -28,14 +28,14 @@ var _chunkVZN6D23Pjs = require('./chunk-VZN6D23P.js');
28
28
 
29
29
 
30
30
 
31
- var _chunkL7CAOWHYjs = require('./chunk-L7CAOWHY.js');
31
+ var _chunkPGHCBL5Gjs = require('./chunk-PGHCBL5G.js');
32
32
 
33
33
 
34
- var _chunkZZ7SVWKRjs = require('./chunk-ZZ7SVWKR.js');
34
+ var _chunkY2SIHXYSjs = require('./chunk-Y2SIHXYS.js');
35
35
  require('./chunk-ALJJRZNJ.js');
36
36
  require('./chunk-XNYIZMNQ.js');
37
37
  require('./chunk-DIAWYWT5.js');
38
- require('./chunk-BP4XEO6Z.js');
38
+ require('./chunk-MPOF4Z44.js');
39
39
  require('./chunk-OG64RBAC.js');
40
40
  require('./chunk-COGTRVWW.js');
41
41
 
@@ -51,7 +51,7 @@ var _fs = require('fs');
51
51
  var _path = require('path');
52
52
  function pendingOrgCreatePath(baseUrl, accountId, sourceOrgId, name) {
53
53
  const intent = _crypto.createHash.call(void 0, "sha256").update(accountId).update("\0").update(sourceOrgId).update("\0").update(name).digest("hex");
54
- return _path.join.call(void 0, _chunkL7CAOWHYjs.sdkCliStateDirPath.call(void 0, baseUrl), `pending-org-create-${intent}.json`);
54
+ return _path.join.call(void 0, _chunkPGHCBL5Gjs.sdkCliStateDirPath.call(void 0, baseUrl), `pending-org-create-${intent}.json`);
55
55
  }
56
56
  function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
57
57
  let value;
@@ -70,7 +70,7 @@ function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
70
70
  return value;
71
71
  }
72
72
  function loadOrCreatePendingOrgCreate(input) {
73
- const stateDir = _chunkL7CAOWHYjs.sdkCliStateDirPath.call(void 0, input.baseUrl);
73
+ const stateDir = _chunkPGHCBL5Gjs.sdkCliStateDirPath.call(void 0, input.baseUrl);
74
74
  const path = pendingOrgCreatePath(
75
75
  input.baseUrl,
76
76
  input.accountId,
@@ -155,11 +155,11 @@ function processEnvValue(name) {
155
155
  }
156
156
  function organizationAuthValues(input) {
157
157
  return {
158
- [_chunkL7CAOWHYjs.HOST_URL_ENV]: input.baseUrl,
159
- [_chunkL7CAOWHYjs.API_KEY_ENV]: input.apiKey,
160
- [_chunkL7CAOWHYjs.ACTIVE_ORG_ID_ENV]: input.orgId,
161
- [_chunkL7CAOWHYjs.ACTIVE_ORG_NAME_ENV]: input.orgName,
162
- ..._chunkL7CAOWHYjs.featureEnvValues.call(void 0, input)
158
+ [_chunkPGHCBL5Gjs.HOST_URL_ENV]: input.baseUrl,
159
+ [_chunkPGHCBL5Gjs.API_KEY_ENV]: input.apiKey,
160
+ [_chunkPGHCBL5Gjs.ACTIVE_ORG_ID_ENV]: input.orgId,
161
+ [_chunkPGHCBL5Gjs.ACTIVE_ORG_NAME_ENV]: input.orgName,
162
+ ..._chunkPGHCBL5Gjs.featureEnvValues.call(void 0, input)
163
163
  };
164
164
  }
165
165
  function organizationCommandContext(input) {
@@ -173,14 +173,14 @@ function organizationCommandContext(input) {
173
173
  };
174
174
  }
175
175
  function agentCommandContext(commandContext) {
176
- return _chunkZZ7SVWKRjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? { command_context: commandContext } : {};
176
+ return _chunkY2SIHXYSjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? { command_context: commandContext } : {};
177
177
  }
178
178
  function resolveOrgSwitchAuthTarget(scope, config) {
179
- const activeProject = _chunkL7CAOWHYjs.getResolvedProjectAuthSource.call(void 0,
179
+ const activeProject = _chunkPGHCBL5Gjs.getResolvedProjectAuthSource.call(void 0,
180
180
  config.baseUrl,
181
181
  config.apiKey
182
182
  );
183
- const folderTarget = _chunkL7CAOWHYjs.resolveProjectPinTarget.call(void 0, );
183
+ const folderTarget = _chunkPGHCBL5Gjs.resolveProjectPinTarget.call(void 0, );
184
184
  const globalOverrideWarning = activeProject && scope === "global" ? [
185
185
  `Folder auth in ${activeProject.filePath} overrides global auth for commands run here.`
186
186
  ] : [];
@@ -252,10 +252,10 @@ function resolveOrgSwitchAuthTarget(scope, config) {
252
252
  };
253
253
  }
254
254
  async function handleOrgList(options) {
255
- const config = _chunkL7CAOWHYjs.resolveConfig.call(void 0, );
256
- const http = new (0, _chunkL7CAOWHYjs.HttpClient)(config);
255
+ const config = _chunkPGHCBL5Gjs.resolveConfig.call(void 0, );
256
+ const http = new (0, _chunkPGHCBL5Gjs.HttpClient)(config);
257
257
  const payload = await fetchOrganizations(http, config.apiKey);
258
- _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0,
258
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
259
259
  {
260
260
  ...payload,
261
261
  render: {
@@ -271,22 +271,22 @@ async function handleOrgList(options) {
271
271
  );
272
272
  }
273
273
  async function handleOrgStatus(options) {
274
- const config = _chunkL7CAOWHYjs.resolveConfig.call(void 0, );
275
- const http = new (0, _chunkL7CAOWHYjs.HttpClient)(config);
274
+ const config = _chunkPGHCBL5Gjs.resolveConfig.call(void 0, );
275
+ const http = new (0, _chunkPGHCBL5Gjs.HttpClient)(config);
276
276
  const payload = await fetchOrganizations(http, config.apiKey);
277
277
  const current = _nullishCoalesce(_nullishCoalesce(payload.organizations.find((org) => org.is_current), () => ( payload.organizations.find(
278
278
  (org) => org.org_id === payload.current_org_id
279
279
  ))), () => ( null));
280
- const projectCandidate = _chunkL7CAOWHYjs.getActiveProjectAuthSource.call(void 0, );
281
- const activeProject = _chunkL7CAOWHYjs.getResolvedProjectAuthSource.call(void 0,
280
+ const projectCandidate = _chunkPGHCBL5Gjs.getActiveProjectAuthSource.call(void 0, );
281
+ const activeProject = _chunkPGHCBL5Gjs.getResolvedProjectAuthSource.call(void 0,
282
282
  config.baseUrl,
283
283
  config.apiKey
284
284
  );
285
- const folderTarget = _chunkL7CAOWHYjs.resolveProjectPinTarget.call(void 0, );
286
- const provenance = _chunkL7CAOWHYjs.resolveCliAuthProvenance.call(void 0, config);
287
- const hostPath = _chunkL7CAOWHYjs.hostEnvFilePath.call(void 0, config.baseUrl);
288
- const envApiKey = processEnvValue(_chunkL7CAOWHYjs.API_KEY_ENV);
289
- const envHostUrl = processEnvValue(_chunkL7CAOWHYjs.HOST_URL_ENV);
285
+ const folderTarget = _chunkPGHCBL5Gjs.resolveProjectPinTarget.call(void 0, );
286
+ const provenance = _chunkPGHCBL5Gjs.resolveCliAuthProvenance.call(void 0, config);
287
+ const hostPath = _chunkPGHCBL5Gjs.hostEnvFilePath.call(void 0, config.baseUrl);
288
+ const envApiKey = processEnvValue(_chunkPGHCBL5Gjs.API_KEY_ENV);
289
+ const envHostUrl = processEnvValue(_chunkPGHCBL5Gjs.HOST_URL_ENV);
290
290
  const authSource = envApiKey ? {
291
291
  scope: "env",
292
292
  source: "process",
@@ -327,17 +327,17 @@ async function handleOrgStatus(options) {
327
327
  if (authSource.path) {
328
328
  lines.push(`Auth file: ${authSource.path}`);
329
329
  } else {
330
- lines.push(`Auth source: ${_chunkL7CAOWHYjs.API_KEY_ENV} process environment`);
330
+ lines.push(`Auth source: ${_chunkPGHCBL5Gjs.API_KEY_ENV} process environment`);
331
331
  }
332
332
  if (envApiKey) {
333
- lines.push(`${_chunkL7CAOWHYjs.API_KEY_ENV} overrides saved auth for this process.`);
333
+ lines.push(`${_chunkPGHCBL5Gjs.API_KEY_ENV} overrides saved auth for this process.`);
334
334
  } else if (activeProject) {
335
335
  lines.push("Global auth is overridden in this folder.");
336
336
  } else if (provenance.scope === "global" && provenance.project.state === "project") {
337
337
  lines.push("Cloud mutations are blocked until this project is pinned.");
338
338
  lines.push("Pin it: deepline org set --auth-scope folder");
339
339
  }
340
- _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0,
340
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
341
341
  {
342
342
  ok: true,
343
343
  host: config.baseUrl,
@@ -371,25 +371,25 @@ async function handleOrgStatus(options) {
371
371
  }
372
372
  async function handleOrgSwitch(selection, options) {
373
373
  const authScope = normalizeAuthScope(options.authScope);
374
- const config = _chunkL7CAOWHYjs.resolveConfig.call(void 0, );
375
- const provenance = _chunkL7CAOWHYjs.resolveCliAuthProvenance.call(void 0, config);
374
+ const config = _chunkPGHCBL5Gjs.resolveConfig.call(void 0, );
375
+ const provenance = _chunkPGHCBL5Gjs.resolveCliAuthProvenance.call(void 0, config);
376
376
  if (!selection && !options.orgId && authScope === "folder" && provenance.scope === "global" && provenance.project.state === "project") {
377
- const commandContext = _chunkL7CAOWHYjs.resolveCliCommandContext.call(void 0, config);
377
+ const commandContext = _chunkPGHCBL5Gjs.resolveCliCommandContext.call(void 0, config);
378
378
  const activeOrganization = commandContext.active_organization;
379
- const pinnedFeatures = _chunkL7CAOWHYjs.storedHostFeatures.call(void 0, config.baseUrl);
380
- const project_env_paths2 = _chunkL7CAOWHYjs.saveProjectDeeplineEnvValues.call(void 0,
379
+ const pinnedFeatures = _chunkPGHCBL5Gjs.storedHostFeatures.call(void 0, config.baseUrl);
380
+ const project_env_paths2 = _chunkPGHCBL5Gjs.saveProjectDeeplineEnvValues.call(void 0,
381
381
  {
382
- [_chunkL7CAOWHYjs.HOST_URL_ENV]: config.baseUrl,
383
- [_chunkL7CAOWHYjs.API_KEY_ENV]: config.apiKey,
382
+ [_chunkPGHCBL5Gjs.HOST_URL_ENV]: config.baseUrl,
383
+ [_chunkPGHCBL5Gjs.API_KEY_ENV]: config.apiKey,
384
384
  ...activeOrganization ? {
385
- [_chunkL7CAOWHYjs.ACTIVE_ORG_ID_ENV]: activeOrganization.org_id,
386
- [_chunkL7CAOWHYjs.ACTIVE_ORG_NAME_ENV]: _nullishCoalesce(activeOrganization.org_name, () => ( ""))
385
+ [_chunkPGHCBL5Gjs.ACTIVE_ORG_ID_ENV]: activeOrganization.org_id,
386
+ [_chunkPGHCBL5Gjs.ACTIVE_ORG_NAME_ENV]: _nullishCoalesce(activeOrganization.org_name, () => ( ""))
387
387
  } : {},
388
- ...pinnedFeatures !== void 0 ? { [_chunkL7CAOWHYjs.FEATURES_ENV]: pinnedFeatures } : {}
388
+ ...pinnedFeatures !== void 0 ? { [_chunkPGHCBL5Gjs.FEATURES_ENV]: pinnedFeatures } : {}
389
389
  },
390
390
  provenance.project.dir
391
391
  );
392
- _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0,
392
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  ok: true,
395
395
  unchanged: true,
@@ -401,7 +401,7 @@ async function handleOrgSwitch(selection, options) {
401
401
  orgId: activeOrganization.org_id,
402
402
  orgName: activeOrganization.org_name,
403
403
  authScope: "folder"
404
- }) : _chunkL7CAOWHYjs.resolveCliCommandContext.call(void 0, config, "folder")
404
+ }) : _chunkPGHCBL5Gjs.resolveCliCommandContext.call(void 0, config, "folder")
405
405
  ),
406
406
  project_env_paths: project_env_paths2,
407
407
  next: { status: "deepline org status" },
@@ -422,10 +422,10 @@ async function handleOrgSwitch(selection, options) {
422
422
  );
423
423
  return;
424
424
  }
425
- const http = new (0, _chunkL7CAOWHYjs.HttpClient)(config);
425
+ const http = new (0, _chunkPGHCBL5Gjs.HttpClient)(config);
426
426
  const payload = await fetchOrganizations(http, config.apiKey);
427
427
  if (!selection && !options.orgId) {
428
- _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0,
428
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
429
429
  {
430
430
  ...payload,
431
431
  next: { set: "deepline org set <number>" },
@@ -476,9 +476,9 @@ async function handleOrgSwitch(selection, options) {
476
476
  features
477
477
  });
478
478
  if (authTarget.kind === "folder") {
479
- project_env_paths2 = _chunkL7CAOWHYjs.saveProjectDeeplineEnvValues.call(void 0, authValues2);
479
+ project_env_paths2 = _chunkPGHCBL5Gjs.saveProjectDeeplineEnvValues.call(void 0, authValues2);
480
480
  } else {
481
- _chunkL7CAOWHYjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues2);
481
+ _chunkPGHCBL5Gjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues2);
482
482
  }
483
483
  const renderLines2 = [`Already on ${target.name}.`];
484
484
  for (const projectPath of project_env_paths2) {
@@ -486,7 +486,7 @@ async function handleOrgSwitch(selection, options) {
486
486
  }
487
487
  if (authTarget.kind === "global") {
488
488
  renderLines2.push(
489
- `Saved global auth in ${_chunkL7CAOWHYjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
489
+ `Saved global auth in ${_chunkPGHCBL5Gjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
490
490
  );
491
491
  }
492
492
  renderLines2.push(
@@ -502,7 +502,7 @@ async function handleOrgSwitch(selection, options) {
502
502
  ...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
503
503
  ...authTarget.warnings
504
504
  ];
505
- _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0,
505
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
506
506
  {
507
507
  ok: true,
508
508
  unchanged: true,
@@ -518,7 +518,7 @@ async function handleOrgSwitch(selection, options) {
518
518
  authScope: authTarget.effective_scope
519
519
  })
520
520
  ),
521
- host_env_path: authTarget.kind === "global" ? _chunkL7CAOWHYjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
521
+ host_env_path: authTarget.kind === "global" ? _chunkPGHCBL5Gjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
522
522
  project_env_paths: project_env_paths2,
523
523
  deprecated_command: options.deprecatedSwitch ? "org switch" : null,
524
524
  replacement_command: options.deprecatedSwitch ? "deepline org set" : null,
@@ -544,9 +544,9 @@ async function handleOrgSwitch(selection, options) {
544
544
  features: switched.features
545
545
  });
546
546
  if (authTarget.kind === "folder") {
547
- project_env_paths = _chunkL7CAOWHYjs.saveProjectDeeplineEnvValues.call(void 0, authValues);
547
+ project_env_paths = _chunkPGHCBL5Gjs.saveProjectDeeplineEnvValues.call(void 0, authValues);
548
548
  } else {
549
- _chunkL7CAOWHYjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
549
+ _chunkPGHCBL5Gjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
550
550
  }
551
551
  const { api_key: _apiKey, ...publicSwitched } = switched;
552
552
  const renderLines = [`Switched to ${switched.org_name}.`];
@@ -555,7 +555,7 @@ async function handleOrgSwitch(selection, options) {
555
555
  renderLines.push(`Saved folder auth in ${projectPath}`);
556
556
  }
557
557
  } else {
558
- renderLines.push(`Saved global auth in ${_chunkL7CAOWHYjs.hostEnvFilePath.call(void 0, config.baseUrl)}`);
558
+ renderLines.push(`Saved global auth in ${_chunkPGHCBL5Gjs.hostEnvFilePath.call(void 0, config.baseUrl)}`);
559
559
  }
560
560
  renderLines.push(
561
561
  `Scope: ${authTarget.requested_scope} -> ${authTarget.effective_scope} (${authTarget.reason})`
@@ -570,10 +570,10 @@ async function handleOrgSwitch(selection, options) {
570
570
  ...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
571
571
  ...authTarget.warnings
572
572
  ];
573
- _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0,
573
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
574
574
  {
575
575
  ok: true,
576
- host_env_path: authTarget.kind === "global" ? _chunkL7CAOWHYjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
576
+ host_env_path: authTarget.kind === "global" ? _chunkPGHCBL5Gjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
577
577
  project_env_paths,
578
578
  ...publicSwitched,
579
579
  api_key_saved: true,
@@ -604,12 +604,12 @@ async function handleOrgSwitch(selection, options) {
604
604
  );
605
605
  }
606
606
  async function handleOrgCreate(name, options) {
607
- const config = _chunkL7CAOWHYjs.resolveConfig.call(void 0, );
607
+ const config = _chunkPGHCBL5Gjs.resolveConfig.call(void 0, );
608
608
  const normalizedName = name.trim();
609
609
  if (!normalizedName) {
610
610
  throw new Error("Workspace name is required.");
611
611
  }
612
- const http = new (0, _chunkL7CAOWHYjs.HttpClient)(config);
612
+ const http = new (0, _chunkPGHCBL5Gjs.HttpClient)(config);
613
613
  const identity = await fetchWorkspaceCreationIdentity(http, config.apiKey);
614
614
  let created;
615
615
  let workspaceApiKey;
@@ -635,7 +635,7 @@ async function handleOrgCreate(name, options) {
635
635
  sourceOrgId: identity.orgId,
636
636
  name: normalizedName
637
637
  });
638
- const workspace = await new (0, _chunkKBM5T6UVjs.DeeplineClient)({
638
+ const workspace = await new (0, _chunkEAQQTYJLjs.DeeplineClient)({
639
639
  apiKey: config.apiKey,
640
640
  baseUrl: config.baseUrl
641
641
  }).workspaces.create({
@@ -658,16 +658,16 @@ async function handleOrgCreate(name, options) {
658
658
  orgName: created.org_name,
659
659
  features: workspaceFeatures
660
660
  });
661
- _chunkL7CAOWHYjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
661
+ _chunkPGHCBL5Gjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
662
662
  if (pendingIntentPath) _fs.unlinkSync.call(void 0, pendingIntentPath);
663
- _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0,
663
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
664
664
  {
665
665
  ok: true,
666
666
  ...created,
667
667
  initial_credits: typeof created.initial_credits === "number" ? created.initial_credits : 0,
668
668
  api_key_saved: true,
669
669
  switched: true,
670
- host_env_path: _chunkL7CAOWHYjs.hostEnvFilePath.call(void 0, config.baseUrl),
670
+ host_env_path: _chunkPGHCBL5Gjs.hostEnvFilePath.call(void 0, config.baseUrl),
671
671
  ...agentCommandContext(
672
672
  organizationCommandContext({
673
673
  orgId: created.org_id,
@@ -682,7 +682,7 @@ async function handleOrgCreate(name, options) {
682
682
  lines: [
683
683
  `Created organization: ${created.org_name}.`,
684
684
  `Switched to ${created.org_name}.`,
685
- `Saved host auth in ${_chunkL7CAOWHYjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
685
+ `Saved host auth in ${_chunkPGHCBL5Gjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
686
686
  ]
687
687
  }
688
688
  ]
@@ -734,8 +734,8 @@ Examples:
734
734
  );
735
735
  const members = org.command("members").description("List workspace members and manage their grants.");
736
736
  members.command("list").description("List one page of memberships and effective grants.").option("--cursor <cursor>", "Continue from the previous page").option("--json", "Output JSON").action(async (options) => {
737
- const result = await new (0, _chunkKBM5T6UVjs.DeeplineClient)().workspaces.members(options);
738
- _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0,
737
+ const result = await new (0, _chunkEAQQTYJLjs.DeeplineClient)().workspaces.members(options);
738
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
739
739
  {
740
740
  ...result,
741
741
  render: {
@@ -756,11 +756,11 @@ Examples:
756
756
  "Replace a member\u2019s grants (read, run, admin). Requires admin."
757
757
  ).option("--json", "Output JSON").action(
758
758
  async (memberId, grants, options) => {
759
- const result = await new (0, _chunkKBM5T6UVjs.DeeplineClient)().workspaces.setMemberGrants(
759
+ const result = await new (0, _chunkEAQQTYJLjs.DeeplineClient)().workspaces.setMemberGrants(
760
760
  memberId,
761
761
  grants
762
762
  );
763
- _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0,
763
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
764
764
  {
765
765
  ...result,
766
766
  render: {
@@ -778,7 +778,7 @@ Examples:
778
778
  );
779
779
  const sso = org.command("sso").description("Manage Enterprise workspace SSO.");
780
780
  const ssoPath = "/api/v2/auth/workspace/sso";
781
- const printSso = (payload, json) => _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0,
781
+ const printSso = (payload, json) => _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
782
782
  {
783
783
  ...payload,
784
784
  render: {
@@ -802,7 +802,7 @@ Examples:
802
802
  },
803
803
  { json }
804
804
  );
805
- const ssoHttp = () => new (0, _chunkL7CAOWHYjs.HttpClient)(_chunkL7CAOWHYjs.resolveConfig.call(void 0, ));
805
+ const ssoHttp = () => new (0, _chunkPGHCBL5Gjs.HttpClient)(_chunkPGHCBL5Gjs.resolveConfig.call(void 0, ));
806
806
  sso.command("status").description("Show this workspace's SSO connection and plan eligibility.").option("--json", "Emit JSON output").action(async (options) => {
807
807
  printSso(await ssoHttp().get(ssoPath), options.json);
808
808
  });
@@ -833,8 +833,8 @@ Examples:
833
833
  "Identity provider metadata XML file"
834
834
  ).option("--json", "Emit JSON output").action(
835
835
  async (options) => {
836
- const config = _chunkL7CAOWHYjs.resolveConfig.call(void 0, );
837
- const http = new (0, _chunkL7CAOWHYjs.HttpClient)(config);
836
+ const config = _chunkPGHCBL5Gjs.resolveConfig.call(void 0, );
837
+ const http = new (0, _chunkPGHCBL5Gjs.HttpClient)(config);
838
838
  const identity = await fetchWorkspaceCreationIdentity(
839
839
  http,
840
840
  config.apiKey
@@ -898,13 +898,13 @@ Examples:
898
898
  if (chosen.length > 1) {
899
899
  throw new Error("Pass one of a logo URL, --domain, or --remove.");
900
900
  }
901
- const http = new (0, _chunkL7CAOWHYjs.HttpClient)(_chunkL7CAOWHYjs.resolveConfig.call(void 0, ));
901
+ const http = new (0, _chunkPGHCBL5Gjs.HttpClient)(_chunkPGHCBL5Gjs.resolveConfig.call(void 0, ));
902
902
  const path = "/api/v2/auth/workspace/logo";
903
903
  const payload = chosen.length === 0 ? await http.get(path) : await http.patch(
904
904
  path,
905
905
  options.domain ? { domain: options.domain } : { logo: _nullishCoalesce(url, () => ( null)) }
906
906
  );
907
- _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0,
907
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
908
908
  {
909
909
  ...payload,
910
910
  render: {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-HA5NSCTH.mjs";
4
- import "./chunk-MTSHUN2R.mjs";
3
+ } from "./chunk-ZKUXTF6X.mjs";
4
+ import "./chunk-P63SBUEW.mjs";
5
5
  import "./chunk-L2VKAASU.mjs";
6
6
  import "./chunk-N4TR6QRI.mjs";
7
7
  import "./chunk-S3A4IXBQ.mjs";
8
8
  import "./chunk-BMCRTI6Z.mjs";
9
9
  import {
10
10
  printCommandEnvelope
11
- } from "./chunk-AATUAFD2.mjs";
11
+ } from "./chunk-5T4SZPVO.mjs";
12
12
  import {
13
13
  ACTIVE_ORG_ID_ENV,
14
14
  ACTIVE_ORG_NAME_ENV,
@@ -28,14 +28,14 @@ import {
28
28
  saveProjectDeeplineEnvValues,
29
29
  sdkCliStateDirPath,
30
30
  storedHostFeatures
31
- } from "./chunk-MQ5GBB7V.mjs";
31
+ } from "./chunk-3SE4O52N.mjs";
32
32
  import {
33
33
  detectAgentRuntime
34
- } from "./chunk-TNQ5MF6K.mjs";
34
+ } from "./chunk-7UVKC5G4.mjs";
35
35
  import "./chunk-4QF2K7TM.mjs";
36
36
  import "./chunk-DLIRSHV6.mjs";
37
37
  import "./chunk-HBL4PM5Q.mjs";
38
- import "./chunk-YJN55ZWG.mjs";
38
+ import "./chunk-46QVEEXR.mjs";
39
39
  import "./chunk-WZYKRD7T.mjs";
40
40
  import "./chunk-KRD6H754.mjs";
41
41
 
@@ -1,22 +1,22 @@
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 _chunkKBM5T6UVjs = require('./chunk-KBM5T6UV.js');
4
- require('./chunk-JU35QU3Z.js');
3
+ var _chunkEAQQTYJLjs = require('./chunk-EAQQTYJL.js');
4
+ require('./chunk-QDGUDNVR.js');
5
5
  require('./chunk-E4CABWXL.js');
6
6
  require('./chunk-RNSHCJME.js');
7
7
  require('./chunk-NMU3VR5U.js');
8
8
  require('./chunk-WSGXBROE.js');
9
9
 
10
10
 
11
- var _chunkVZN6D23Pjs = require('./chunk-VZN6D23P.js');
11
+ var _chunk3UKVFI2Rjs = require('./chunk-3UKVFI2R.js');
12
12
 
13
13
 
14
- var _chunkL7CAOWHYjs = require('./chunk-L7CAOWHY.js');
15
- require('./chunk-ZZ7SVWKR.js');
14
+ var _chunkPGHCBL5Gjs = require('./chunk-PGHCBL5G.js');
15
+ require('./chunk-Y2SIHXYS.js');
16
16
  require('./chunk-ALJJRZNJ.js');
17
17
  require('./chunk-XNYIZMNQ.js');
18
18
  require('./chunk-DIAWYWT5.js');
19
- require('./chunk-BP4XEO6Z.js');
19
+ require('./chunk-MPOF4Z44.js');
20
20
  require('./chunk-OG64RBAC.js');
21
21
  require('./chunk-COGTRVWW.js');
22
22
 
@@ -73,7 +73,7 @@ function linkLine(link) {
73
73
  return `${link.id} ${expiry}${link.label ? ` ${link.label}` : ""}`;
74
74
  }
75
75
  function print(command, json, data, lines) {
76
- _chunkVZN6D23Pjs.printCommandEnvelope.call(void 0,
76
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
77
77
  { command, ...data, render: { sections: [{ title: command, lines }] } },
78
78
  { json: Boolean(json), text: `${lines.join("\n")}
79
79
  ` }
@@ -89,7 +89,7 @@ async function run(action) {
89
89
  }
90
90
  var HOSTED_PAGES_FEATURE = "hosted-pages";
91
91
  function registerPagesCommands(program) {
92
- const pages = program.command("pages", { hidden: !_chunkL7CAOWHYjs.cliFeatureEnabled.call(void 0, HOSTED_PAGES_FEATURE) }).description(
92
+ const pages = program.command("pages", { hidden: !_chunkPGHCBL5Gjs.cliFeatureEnabled.call(void 0, HOSTED_PAGES_FEATURE) }).description(
93
93
  "Publish documents at stable URLs on deepline.page and share them."
94
94
  ).addHelpText(
95
95
  "after",
@@ -115,7 +115,7 @@ Examples:
115
115
  throw new Error("Pass exactly one of --public or --private.");
116
116
  }
117
117
  const content = await _promises.readFile.call(void 0, options.file);
118
- const result = await new (0, _chunkKBM5T6UVjs.DeeplineClient)().writePage(name, {
118
+ const result = await new (0, _chunkEAQQTYJLjs.DeeplineClient)().writePage(name, {
119
119
  public: Boolean(options.public),
120
120
  contentBase64: content.toString("base64"),
121
121
  contentType: _nullishCoalesce(options.contentType, () => ( inferPageContentType(options.file))),
@@ -138,7 +138,7 @@ Examples:
138
138
  `
139
139
  ).action(
140
140
  async (options) => run(async () => {
141
- const result = await new (0, _chunkKBM5T6UVjs.DeeplineClient)().listPages({
141
+ const result = await new (0, _chunkEAQQTYJLjs.DeeplineClient)().listPages({
142
142
  cursor: options.cursor,
143
143
  limit: options.limit
144
144
  });
@@ -152,7 +152,7 @@ Examples:
152
152
  );
153
153
  pages.command("get <name>").description("Show one page's details.").option("--json", "Emit raw JSON response").action(
154
154
  async (name, options) => run(async () => {
155
- const page = await new (0, _chunkKBM5T6UVjs.DeeplineClient)().getPage(name);
155
+ const page = await new (0, _chunkEAQQTYJLjs.DeeplineClient)().getPage(name);
156
156
  print("pages get", options.json, page, pageLines(page));
157
157
  })
158
158
  );
@@ -160,7 +160,7 @@ Examples:
160
160
  "Replace the HTTPS origins that can read a public page. Omit origins to clear the list."
161
161
  ).option("--json", "Emit raw JSON response").action(
162
162
  async (name, origins, options) => run(async () => {
163
- const result = await new (0, _chunkKBM5T6UVjs.DeeplineClient)().setPageAllowedOrigins(
163
+ const result = await new (0, _chunkEAQQTYJLjs.DeeplineClient)().setPageAllowedOrigins(
164
164
  name,
165
165
  origins
166
166
  );
@@ -179,7 +179,7 @@ Notes:
179
179
  `
180
180
  ).action(
181
181
  async (name, options) => run(async () => {
182
- const page = await new (0, _chunkKBM5T6UVjs.DeeplineClient)().setPageVisibility(name, true);
182
+ const page = await new (0, _chunkEAQQTYJLjs.DeeplineClient)().setPageVisibility(name, true);
183
183
  print("pages set-public", options.json, page, [
184
184
  `${page.name} is now visible to anyone with its URL.`,
185
185
  page.url
@@ -194,7 +194,7 @@ Notes:
194
194
  `
195
195
  ).action(
196
196
  async (name, options) => run(async () => {
197
- const page = await new (0, _chunkKBM5T6UVjs.DeeplineClient)().setPageVisibility(name, false);
197
+ const page = await new (0, _chunkEAQQTYJLjs.DeeplineClient)().setPageVisibility(name, false);
198
198
  print("pages set-private", options.json, page, [
199
199
  `${page.name} is now visible to workspace members only.`
200
200
  ]);
@@ -210,7 +210,7 @@ Notes:
210
210
  `
211
211
  ).action(
212
212
  async (name, options) => run(async () => {
213
- const result = await new (0, _chunkKBM5T6UVjs.DeeplineClient)().deletePage(name);
213
+ const result = await new (0, _chunkEAQQTYJLjs.DeeplineClient)().deletePage(name);
214
214
  print("pages delete", options.json, result, [`Deleted ${name}.`]);
215
215
  })
216
216
  );
@@ -227,7 +227,7 @@ Examples:
227
227
  if (Boolean(options.expiresIn) === Boolean(options.permanent)) {
228
228
  throw new Error("Pass exactly one of --expires-in or --permanent.");
229
229
  }
230
- const link = await new (0, _chunkKBM5T6UVjs.DeeplineClient)().createPageLink(name, {
230
+ const link = await new (0, _chunkEAQQTYJLjs.DeeplineClient)().createPageLink(name, {
231
231
  expiresInSeconds: options.expiresIn ? parseExpiresIn(options.expiresIn) : void 0,
232
232
  permanent: options.permanent ? true : void 0,
233
233
  label: options.label
@@ -241,7 +241,7 @@ Examples:
241
241
  );
242
242
  links.command("list <name>").description("List a page's links. Their URLs cannot be shown again.").option("--json", "Emit raw JSON response").action(
243
243
  async (name, options) => run(async () => {
244
- const result = await new (0, _chunkKBM5T6UVjs.DeeplineClient)().listPageLinks(name);
244
+ const result = await new (0, _chunkEAQQTYJLjs.DeeplineClient)().listPageLinks(name);
245
245
  print(
246
246
  "pages links list",
247
247
  options.json,
@@ -252,7 +252,7 @@ Examples:
252
252
  );
253
253
  links.command("revoke <name> <link-id>").description("Stop a link working.").option("--json", "Emit raw JSON response").action(
254
254
  async (name, linkId, options) => run(async () => {
255
- const result = await new (0, _chunkKBM5T6UVjs.DeeplineClient)().revokePageLink(name, linkId);
255
+ const result = await new (0, _chunkEAQQTYJLjs.DeeplineClient)().revokePageLink(name, linkId);
256
256
  print("pages links revoke", options.json, result, [
257
257
  `Revoked ${linkId}.`
258
258
  ]);
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-HA5NSCTH.mjs";
4
- import "./chunk-MTSHUN2R.mjs";
3
+ } from "./chunk-ZKUXTF6X.mjs";
4
+ import "./chunk-P63SBUEW.mjs";
5
5
  import "./chunk-L2VKAASU.mjs";
6
6
  import "./chunk-N4TR6QRI.mjs";
7
7
  import "./chunk-S3A4IXBQ.mjs";
8
8
  import "./chunk-BMCRTI6Z.mjs";
9
9
  import {
10
10
  printCommandEnvelope
11
- } from "./chunk-AATUAFD2.mjs";
11
+ } from "./chunk-5T4SZPVO.mjs";
12
12
  import {
13
13
  cliFeatureEnabled
14
- } from "./chunk-MQ5GBB7V.mjs";
15
- import "./chunk-TNQ5MF6K.mjs";
14
+ } from "./chunk-3SE4O52N.mjs";
15
+ import "./chunk-7UVKC5G4.mjs";
16
16
  import "./chunk-4QF2K7TM.mjs";
17
17
  import "./chunk-DLIRSHV6.mjs";
18
18
  import "./chunk-HBL4PM5Q.mjs";
19
- import "./chunk-YJN55ZWG.mjs";
19
+ import "./chunk-46QVEEXR.mjs";
20
20
  import "./chunk-WZYKRD7T.mjs";
21
21
  import "./chunk-KRD6H754.mjs";
22
22