deepline 0.3.568 → 0.3.569

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 (154) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +20 -5
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +17 -10
  4. package/dist/cli/auth-77NOPZ6A.js +44 -0
  5. package/dist/cli/{auth-AV6JJ2Y6.mjs → auth-VNJLXDGF.mjs} +5 -5
  6. package/dist/cli/{billing-3RVJZROW.mjs → billing-6HD5LEI2.mjs} +9 -9
  7. package/dist/cli/{billing-3RUXM4OW.js → billing-OTIIK5ZQ.js} +102 -102
  8. package/dist/cli/{chunk-Y4Q4LQRX.js → chunk-3WZ3X46C.js} +13 -13
  9. package/dist/cli/{chunk-ANRKUFUG.js → chunk-44HOKKIN.js} +100 -100
  10. package/dist/cli/{chunk-LQTLFFUB.mjs → chunk-45OTCUAC.mjs} +2 -2
  11. package/dist/cli/{chunk-JIEUKZ7J.js → chunk-4CLEOTG6.js} +2 -2
  12. package/dist/cli/{chunk-G7GN3RGE.mjs → chunk-64MOX3SN.mjs} +15 -3
  13. package/dist/cli/{chunk-AAXGFMYQ.mjs → chunk-6D4WBX7E.mjs} +15 -5
  14. package/dist/cli/{chunk-KMWH6VY2.mjs → chunk-6HEZRKAO.mjs} +2 -2
  15. package/dist/cli/{chunk-VEPXXRHO.mjs → chunk-6SBGYX25.mjs} +2 -2
  16. package/dist/cli/{chunk-UPUBCTSS.js → chunk-6Z7B3IOW.js} +2 -2
  17. package/dist/cli/{chunk-D2DYHEH7.js → chunk-7MZUSBSI.js} +23 -23
  18. package/dist/cli/{chunk-JT7S45KT.mjs → chunk-7NP7WZV2.mjs} +3 -3
  19. package/dist/cli/{chunk-GLTA22I3.mjs → chunk-7QH52S3E.mjs} +84 -11
  20. package/dist/cli/{chunk-HQX2P4NH.mjs → chunk-AKNJDDSM.mjs} +1 -1
  21. package/dist/cli/{chunk-F62RQL3X.js → chunk-ANXJNE2G.js} +3 -3
  22. package/dist/cli/{chunk-TM3Z7JXT.mjs → chunk-CK6U2NH2.mjs} +1 -1
  23. package/dist/cli/{chunk-TSNVG3T5.mjs → chunk-D3BJ2KZX.mjs} +1 -1
  24. package/dist/cli/{chunk-RH3WIX2W.mjs → chunk-DG6ILAO7.mjs} +2 -2
  25. package/dist/cli/{chunk-QVERY22Q.mjs → chunk-EDNWMQZQ.mjs} +2 -2
  26. package/dist/cli/{chunk-GXSJTCCG.mjs → chunk-FPRLFIYT.mjs} +4 -4
  27. package/dist/cli/{chunk-5KHSPLPO.js → chunk-FSAOU4HA.js} +20 -20
  28. package/dist/cli/{chunk-JPSKSXNS.mjs → chunk-GSUHJUNZ.mjs} +2 -2
  29. package/dist/cli/{chunk-PPQHQ4J2.js → chunk-H3SQMLHO.js} +48 -48
  30. package/dist/cli/{chunk-RUAEON5J.js → chunk-H7DRZXYF.js} +4 -4
  31. package/dist/cli/{chunk-LKXBFVYU.js → chunk-HLRSNCPM.js} +53 -53
  32. package/dist/cli/{chunk-5SOJGKQM.mjs → chunk-IEOIGU5A.mjs} +1 -1
  33. package/dist/cli/{chunk-WYXXJA5J.js → chunk-IGIUAHTR.js} +41 -41
  34. package/dist/cli/{chunk-H4BU2RRU.js → chunk-IS4NFIQY.js} +118 -108
  35. package/dist/cli/{chunk-M3IMARRH.mjs → chunk-JXRWSBJZ.mjs} +1 -1
  36. package/dist/cli/{chunk-7X34FUYS.js → chunk-LOF7H5V3.js} +7 -7
  37. package/dist/cli/{chunk-RJJNXV36.js → chunk-MIGJHZ3P.js} +20 -20
  38. package/dist/cli/{chunk-KKIDGS7O.js → chunk-N5ZOD3LA.js} +10 -10
  39. package/dist/cli/{chunk-ZVJ2YNAH.js → chunk-N6KF6X3D.js} +15 -3
  40. package/dist/cli/{chunk-V5WFPMUC.mjs → chunk-OFBP336D.mjs} +4 -4
  41. package/dist/cli/{chunk-SONHOBIK.mjs → chunk-P2LVKWU6.mjs} +2 -2
  42. package/dist/cli/{chunk-JRTB75JO.js → chunk-PAFSVZCZ.js} +95 -22
  43. package/dist/cli/{chunk-PE2XN2VM.js → chunk-QKPKVLTG.js} +2 -2
  44. package/dist/cli/{chunk-JJSKWDUI.js → chunk-QLMMNBJW.js} +6 -6
  45. package/dist/cli/{chunk-2BWPNLYG.js → chunk-S3VGWMFX.js} +9 -9
  46. package/dist/cli/{chunk-5KDMJLQX.js → chunk-S4MDYDCF.js} +5 -5
  47. package/dist/cli/{chunk-4PAGRUZA.js → chunk-SMAXLMM3.js} +15 -15
  48. package/dist/cli/{chunk-4QGZUHDF.mjs → chunk-SRMDDVWK.mjs} +5 -5
  49. package/dist/cli/{chunk-DIPM4GTS.js → chunk-SWREMC6J.js} +5 -5
  50. package/dist/cli/{chunk-FQIOTHEZ.mjs → chunk-TALKTQK5.mjs} +1 -1
  51. package/dist/cli/{chunk-OWSTUCIB.js → chunk-TH2GHSF6.js} +5 -5
  52. package/dist/cli/{chunk-BXNCAZ7G.mjs → chunk-TRE5X6VQ.mjs} +1 -1
  53. package/dist/cli/{chunk-5NBR7V5U.js → chunk-TZVKEUM6.js} +1 -1
  54. package/dist/cli/{chunk-SHO6BOXN.mjs → chunk-UOMMXLDU.mjs} +11 -11
  55. package/dist/cli/{chunk-VW2EUXY2.mjs → chunk-WPCY5PR3.mjs} +5 -5
  56. package/dist/cli/{chunk-O4FCX6BS.js → chunk-WVS2ITKP.js} +3 -3
  57. package/dist/cli/{chunk-MOJOAX3X.mjs → chunk-X4WPW5O3.mjs} +3 -3
  58. package/dist/cli/{chunk-VIMSKO7W.mjs → chunk-YLZ63U7S.mjs} +5 -5
  59. package/dist/cli/{chunk-VVGHZ7S6.mjs → chunk-YNSVWNRY.mjs} +1 -1
  60. package/dist/cli/{chunk-RZMU7ISG.js → chunk-YTOILYBU.js} +26 -26
  61. package/dist/cli/{chunk-S2HGTJET.mjs → chunk-YTYDKSK7.mjs} +5 -5
  62. package/dist/cli/command-docs.js +2 -2
  63. package/dist/cli/command-docs.mjs +1 -1
  64. package/dist/cli/{concurrent-runs-help-SJ27PPHV.mjs → concurrent-runs-help-BVBGDMNV.mjs} +6 -6
  65. package/dist/cli/concurrent-runs-help-QPUTOBFB.js +22 -0
  66. package/dist/cli/{csv-ZN4QI6PJ.mjs → csv-BUZIP2TV.mjs} +4 -4
  67. package/dist/cli/{csv-BGXZKS5R.js → csv-G25E43QV.js} +13 -13
  68. package/dist/cli/{db-SVBVPMWN.mjs → db-EUN7RRDX.mjs} +6 -6
  69. package/dist/cli/{db-KTAZ5FBG.js → db-KYIDDEEE.js} +27 -27
  70. package/dist/cli/{describe-4CGCRK24.mjs → describe-CTYSKRQB.mjs} +18 -18
  71. package/dist/cli/describe-PJIQSXJ4.js +50 -0
  72. package/dist/cli/describe-core.d.mts +2 -2
  73. package/dist/cli/describe-core.d.ts +2 -2
  74. package/dist/cli/{executions-YL5CTGWP.mjs → executions-BRSOIIV7.mjs} +6 -6
  75. package/dist/cli/{executions-75DO2GBS.js → executions-LQA34Z76.js} +8 -8
  76. package/dist/cli/{feedback-VEA3XJM3.mjs → feedback-JYL2FTWI.mjs} +6 -6
  77. package/dist/cli/{feedback-2SMUBQZR.js → feedback-RVYWQRSZ.js} +14 -14
  78. package/dist/cli/{git-BEYEHMCX.mjs → git-2Z2KYPCV.mjs} +5 -5
  79. package/dist/cli/git-MJRG55H7.js +26 -0
  80. package/dist/cli/index.js +147 -147
  81. package/dist/cli/index.mjs +46 -46
  82. package/dist/cli/{integrations-PIXZBU2N.js → integrations-JK3OT5BT.js} +29 -29
  83. package/dist/cli/{integrations-RXWE6WUZ.mjs → integrations-QFS62VWE.mjs} +7 -7
  84. package/dist/cli/{legacy-noops-PJHP4GRU.mjs → legacy-noops-NBKBFVDO.mjs} +6 -6
  85. package/dist/cli/{legacy-noops-XHVEYEJN.js → legacy-noops-RYP5LN5D.js} +9 -9
  86. package/dist/cli/{mcp-276ZFIUM.js → mcp-KPY7NZPI.js} +24 -24
  87. package/dist/cli/{mcp-SUOIVUOM.mjs → mcp-KVGJK3SM.mjs} +4 -4
  88. package/dist/cli/{monitors-DGBB7X4G.js → monitors-DE5SX3CP.js} +100 -100
  89. package/dist/cli/{monitors-AVGNLV7V.mjs → monitors-H3UWQMMI.mjs} +7 -7
  90. package/dist/cli/{org-U5275K5D.js → org-CDCSMG3J.js} +121 -121
  91. package/dist/cli/{org-WKP2BZJQ.mjs → org-N6I5K56T.mjs} +6 -6
  92. package/dist/cli/{outcomes-H3RAH5ES.mjs → outcomes-EPEMTJVB.mjs} +6 -6
  93. package/dist/cli/{outcomes-LSCS6QE5.js → outcomes-UNAOLWWO.js} +14 -14
  94. package/dist/cli/{play-GNT7SITC.js → play-7TVJ3DFQ.js} +324 -324
  95. package/dist/cli/{play-7MSJU3LP.mjs → play-VVM5XJFT.mjs} +19 -19
  96. package/dist/cli/{providers-YDKHHCO4.mjs → providers-47CT527B.mjs} +6 -6
  97. package/dist/cli/{providers-KTEG2ZNS.js → providers-ANYRJ56K.js} +9 -9
  98. package/dist/cli/{quickstart-T2NJMACU.js → quickstart-H4MI6LVO.js} +6 -6
  99. package/dist/cli/{quickstart-F6IH43NP.mjs → quickstart-QHMC5YCM.mjs} +4 -4
  100. package/dist/cli/{run-AJB4MQGO.mjs → run-NXC5W5CW.mjs} +23 -23
  101. package/dist/cli/{run-MIRJIW45.js → run-V4UAYPAX.js} +44 -44
  102. package/dist/cli/{search-V6YPFL6J.mjs → search-BEU4VBY4.mjs} +7 -7
  103. package/dist/cli/search-TUK2STXB.js +32 -0
  104. package/dist/cli/{search-output-4VDZLO42.mjs → search-output-DUA3WDB7.mjs} +4 -4
  105. package/dist/cli/{search-output-GGCIICSW.js → search-output-NUGUU7VJ.js} +6 -6
  106. package/dist/cli/{secrets-L2VDRZDZ.js → secrets-PFDBC5KO.js} +15 -15
  107. package/dist/cli/{secrets-XUENPM5D.mjs → secrets-XQOOWTH2.mjs} +6 -6
  108. package/dist/cli/sessions-5333FFSY.js +23 -0
  109. package/dist/cli/{sessions-W7LHEE35.mjs → sessions-U2ZS5R42.mjs} +6 -6
  110. package/dist/cli/{settings-NB6Y53VR.js → settings-ATYARYCR.js} +85 -85
  111. package/dist/cli/{settings-IVFOUU7V.mjs → settings-GPDE7DL2.mjs} +12 -12
  112. package/dist/cli/{setup-2F42I4HW.js → setup-4AYMU7NK.js} +49 -49
  113. package/dist/cli/{setup-QUL7OO6A.mjs → setup-UDO6BY5A.mjs} +9 -9
  114. package/dist/cli/skills-LB56HJOY.js +37 -0
  115. package/dist/cli/{skills-SL3DNAH6.mjs → skills-RACTA7VV.mjs} +7 -7
  116. package/dist/cli/tools-3Y7KCKZX.js +57 -0
  117. package/dist/cli/{tools-TD5EJ2UD.mjs → tools-TXI6XFHE.mjs} +17 -17
  118. package/dist/cli/update-EWOLMH3E.js +37 -0
  119. package/dist/cli/{update-Z53GM6PX.mjs → update-VHTKWNXO.mjs} +9 -9
  120. package/dist/cli/{views-VAQGFKXN.js → views-DVBO3L63.js} +21 -21
  121. package/dist/cli/{views-ZB6AOING.mjs → views-GCNEHB7D.mjs} +6 -6
  122. package/dist/cli/{workflow-OKDLEK3G.mjs → workflow-R3A6EGB5.mjs} +7 -7
  123. package/dist/cli/{workflow-PSIQ5HVP.js → workflow-TFRJ5JKX.js} +17 -17
  124. package/dist/{client-D5mo-R-t.d.mts → client-ClJlqkKt.d.mts} +1 -1
  125. package/dist/{client-B8_eh5F-.d.ts → client-DCnExziW.d.ts} +1 -1
  126. package/dist/{client-core-Br12Asu-.d.ts → client-core-BKq5ZNAl.d.ts} +14 -2
  127. package/dist/{client-core-BPu-brbA.d.mts → client-core-DAOPQnGD.d.mts} +14 -2
  128. package/dist/index.d.mts +3 -3
  129. package/dist/index.d.ts +3 -3
  130. package/dist/index.js +9 -9
  131. package/dist/index.mjs +6 -6
  132. package/dist/install-integrity.json +118 -118
  133. package/dist/plays/play-description.d.mts +1 -1
  134. package/dist/plays/play-description.d.ts +1 -1
  135. package/dist/plays/run-request.d.mts +1 -1
  136. package/dist/plays/run-request.d.ts +1 -1
  137. package/dist/release.d.mts +1 -1
  138. package/dist/release.d.ts +1 -1
  139. package/dist/release.js +2 -2
  140. package/dist/release.mjs +1 -1
  141. package/dist/server.d.mts +2 -2
  142. package/dist/server.d.ts +2 -2
  143. package/dist/server.js +5 -5
  144. package/dist/server.mjs +3 -3
  145. package/package.json +1 -1
  146. package/dist/cli/auth-IPONFGG7.js +0 -44
  147. package/dist/cli/concurrent-runs-help-66WCD2Y4.js +0 -22
  148. package/dist/cli/describe-M3MOFAVN.js +0 -50
  149. package/dist/cli/git-XDS5BHBG.js +0 -26
  150. package/dist/cli/search-YPZ575MY.js +0 -32
  151. package/dist/cli/sessions-GJLSOVLW.js +0 -23
  152. package/dist/cli/skills-2KAEOH2N.js +0 -37
  153. package/dist/cli/tools-W6223Q4W.js +0 -57
  154. package/dist/cli/update-IZBYF422.js +0 -37
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-AAXGFMYQ.mjs";
3
+ } from "./chunk-6D4WBX7E.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-TSNVG3T5.mjs";
7
+ } from "./chunk-D3BJ2KZX.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -1,6 +1,6 @@
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 _chunkPPQHQ4J2js = require('./chunk-PPQHQ4J2.js');
3
+ var _chunkH3SQMLHOjs = require('./chunk-H3SQMLHO.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkPPQHQ4J2js.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkH3SQMLHOjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  windowsHide: true,
19
19
  encoding: "utf8",
@@ -1001,6 +1001,13 @@ Input:
1001
1001
  names in the error.
1002
1002
  --oauth prints an authorization URL. Open it in a browser signed into the
1003
1003
  same Deepline org and finish provider consent.
1004
+ Credentials and OAuth write the selected workspace's own connection when a
1005
+ workspace is selected (global --workspace, DEEPLINE_WORKSPACE_ID, or the one
1006
+ saved with deepline org workspace set); other workspaces keep theirs. With
1007
+ no workspace selected they write the org default, which every workspace
1008
+ without its own connection uses. --org-default writes the org default even
1009
+ when a workspace is selected. --managed keys are org-wide, so inside a
1010
+ selected workspace --managed requires --org-default.
1004
1011
  HubSpot: --preset read-crm, update-crm, marketing, sales-sequences, tickets, or all.
1005
1012
  all requests every supported capability, including write and admin access.
1006
1013
  For custom access use comma-separated --scopes and --optional-scopes instead
@@ -1010,9 +1017,12 @@ Input:
1010
1017
  Output:
1011
1018
  Link: dashboard URL, or {provider, connect_url} with --json. Share connect_url
1012
1019
  with the org owner or admin who will finish setup in the browser.
1013
- Credentials: confirmation without secret values.
1014
- OAuth: URL, or {provider, redirect_url} with --json. This does not confirm a
1015
- completed connection. The browser must finish authorization.
1020
+ Credentials: confirmation naming the workspace written, without secret
1021
+ values; {provider, credential_saved, team_id} with --json (team_id null is
1022
+ the org default).
1023
+ OAuth: URL and the workspace it connects, or {provider, redirect_url,
1024
+ team_id} with --json. This does not confirm a completed connection. The
1025
+ browser must finish authorization.
1016
1026
  --dry-run prints the proposed setup without starting OAuth, reading secret
1017
1027
  file contents, or saving credentials.
1018
1028
  Cost:
@@ -1020,6 +1030,8 @@ Cost:
1020
1030
  Examples:
1021
1031
  deepline integrations connect hubspot --link --json
1022
1032
  deepline integrations connect heyreach --credentials-file ./heyreach.json
1033
+ deepline --workspace <workspace-id> integrations connect heyreach --credentials-file ./heyreach.json
1034
+ deepline integrations connect heyreach --credentials-file ./heyreach.json --org-default
1023
1035
  deepline integrations connect hubspot --oauth --preset read-crm
1024
1036
  deepline integrations connect lusha --managed --accept-terms 2026-05-01 --company-domain acme.com --company-legal-name "Acme Inc." --company-country US
1025
1037
  `
@@ -37,7 +37,7 @@ import {
37
37
  RETAINED_PIPELINE_RECEIVERS_HEADER,
38
38
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
39
39
  SDK_API_MAJOR
40
- } from "./chunk-5SOJGKQM.mjs";
40
+ } from "./chunk-IEOIGU5A.mjs";
41
41
  import {
42
42
  CustomerDbQueryOutcomeUnknownError
43
43
  } from "./chunk-ASB47RXJ.mjs";
@@ -6005,12 +6005,17 @@ var DeeplineClient = class _DeeplineClient {
6005
6005
  const params = new URLSearchParams({ provider });
6006
6006
  return this.http.get(`/api/v2/integrations/connect?${params}`);
6007
6007
  }
6008
- /** Save provider-owned credential fields without starting an OAuth browser flow. */
6008
+ /**
6009
+ * Save provider-owned credential fields without starting an OAuth browser flow.
6010
+ * `teamId` names a workspace whose own connection this saves; absent or null
6011
+ * saves the org default every workspace without its own connection uses.
6012
+ */
6009
6013
  async setIntegrationCredentials(provider, credentials, options) {
6010
6014
  return this.http.post("/api/v2/integrations/connect", {
6011
6015
  provider,
6012
6016
  credentials,
6013
- ...options?.expectedConnectionId ? { expected_connection_id: options.expectedConnectionId } : {}
6017
+ ...options?.expectedConnectionId ? { expected_connection_id: options.expectedConnectionId } : {},
6018
+ ...options?.teamId ? { team_id: options.teamId } : {}
6014
6019
  });
6015
6020
  }
6016
6021
  /**
@@ -6039,7 +6044,11 @@ var DeeplineClient = class _DeeplineClient {
6039
6044
  `/api/v2/integrations/calendar-availability/calendars?${params}`
6040
6045
  );
6041
6046
  }
6042
- /** Start provider OAuth and return the URL to open in a browser. */
6047
+ /**
6048
+ * Start provider OAuth and return the URL to open in a browser. `teamId`
6049
+ * names a workspace whose own connection the grant saves; absent or null
6050
+ * connects the org default.
6051
+ */
6043
6052
  async startIntegrationOAuth(provider, options = {}) {
6044
6053
  const scopes = options.scopes?.map((scope) => scope.trim()).filter(Boolean);
6045
6054
  if (scopes !== void 0 && scopes.length === 0) {
@@ -6049,7 +6058,8 @@ var DeeplineClient = class _DeeplineClient {
6049
6058
  provider,
6050
6059
  ...options.preset !== void 0 ? { preset: options.preset } : {},
6051
6060
  ...scopes !== void 0 ? { scopes } : {},
6052
- ...options.optionalScopes !== void 0 ? { optional_scopes: options.optionalScopes } : {}
6061
+ ...options.optionalScopes !== void 0 ? { optional_scopes: options.optionalScopes } : {},
6062
+ ...options.teamId ? { team_id: options.teamId } : {}
6053
6063
  });
6054
6064
  }
6055
6065
  /** Start the Slack OAuth flow required by product notifications. */
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-AAXGFMYQ.mjs";
3
+ } from "./chunk-6D4WBX7E.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-TSNVG3T5.mjs";
7
+ } from "./chunk-D3BJ2KZX.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-M3IMARRH.mjs";
3
+ } from "./chunk-JXRWSBJZ.mjs";
4
4
  import {
5
5
  enforceSdkCompatibilityResponse,
6
6
  flushDeferredSkillsSyncNotices,
7
7
  requireSdkCompatibility
8
- } from "./chunk-S2HGTJET.mjs";
8
+ } from "./chunk-YTYDKSK7.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -1,6 +1,6 @@
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 _chunk5KHSPLPOjs = require('./chunk-5KHSPLPO.js');
3
+ var _chunkFSAOU4HAjs = require('./chunk-FSAOU4HA.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunk5KHSPLPOjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkFSAOU4HAjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -4,22 +4,22 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkRJJNXV36js = require('./chunk-RJJNXV36.js');
7
+ var _chunkMIGJHZ3Pjs = require('./chunk-MIGJHZ3P.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkPPQHQ4J2js = require('./chunk-PPQHQ4J2.js');
12
+ var _chunkH3SQMLHOjs = require('./chunk-H3SQMLHO.js');
13
13
 
14
14
 
15
15
 
16
- var _chunk5KHSPLPOjs = require('./chunk-5KHSPLPO.js');
16
+ var _chunkFSAOU4HAjs = require('./chunk-FSAOU4HA.js');
17
17
 
18
18
 
19
- var _chunkO4FCX6BSjs = require('./chunk-O4FCX6BS.js');
19
+ var _chunkWVS2ITKPjs = require('./chunk-WVS2ITKP.js');
20
20
 
21
21
 
22
- var _chunkRUAEON5Jjs = require('./chunk-RUAEON5J.js');
22
+ var _chunkH7DRZXYFjs = require('./chunk-H7DRZXYF.js');
23
23
 
24
24
  // src/cli/compatibility-catalog.ts
25
25
  var readers = /* @__PURE__ */ new WeakMap();
@@ -46,7 +46,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
46
46
  async function reportAutoUpdateEvent(input) {
47
47
  let apiKey = "";
48
48
  try {
49
- apiKey = _chunkO4FCX6BSjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
49
+ apiKey = _chunkWVS2ITKPjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
50
50
  } catch (e2) {
51
51
  return;
52
52
  }
@@ -62,15 +62,15 @@ async function reportAutoUpdateEvent(input) {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`,
64
64
  "Content-Type": "application/json",
65
- "User-Agent": `deepline-ts-sdk/${_chunkRUAEON5Jjs.SDK_VERSION}`,
65
+ "User-Agent": `deepline-ts-sdk/${_chunkH7DRZXYFjs.SDK_VERSION}`,
66
66
  "X-Deepline-Client-Family": "sdk",
67
67
  "X-Deepline-CLI-Family": "sdk",
68
- "X-Deepline-CLI-Version": _chunkRUAEON5Jjs.SDK_VERSION,
69
- "X-Deepline-SDK-Version": _chunkRUAEON5Jjs.SDK_VERSION
68
+ "X-Deepline-CLI-Version": _chunkH7DRZXYFjs.SDK_VERSION,
69
+ "X-Deepline-SDK-Version": _chunkH7DRZXYFjs.SDK_VERSION
70
70
  },
71
71
  body: JSON.stringify({
72
72
  event: input.event,
73
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkRUAEON5Jjs.SDK_VERSION,
73
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkH7DRZXYFjs.SDK_VERSION,
74
74
  target_version: input.response.latest,
75
75
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
76
76
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -89,19 +89,19 @@ function envTruthy(name) {
89
89
  return value === "1" || value === "true" || value === "yes";
90
90
  }
91
91
  function shouldSkipSelfUpdate(policy) {
92
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkRJJNXV36js.shouldRunCliAutoUpdate.call(void 0, ) || _chunkPPQHQ4J2js.isCiEnvironment.call(void 0, );
92
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkMIGJHZ3Pjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkH3SQMLHOjs.isCiEnvironment.call(void 0, );
93
93
  }
94
94
  function isDowngradeAutoUpdateResponse(response) {
95
95
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
96
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkRUAEON5Jjs.SDK_VERSION;
96
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkH7DRZXYFjs.SDK_VERSION;
97
97
  if (!target) return false;
98
- return _chunkRJJNXV36js.compareUpdateVersions.call(void 0, target, current) < 0;
98
+ return _chunkMIGJHZ3Pjs.compareUpdateVersions.call(void 0, target, current) < 0;
99
99
  }
100
100
  function relaunchCurrentCommand(plan, runtime = {}) {
101
101
  return new Promise((resolve) => {
102
102
  const argv = _nullishCoalesce(runtime.argv, () => ( process.argv));
103
103
  const platform = _nullishCoalesce(runtime.platform, () => ( process.platform));
104
- const launch = plan.kind === "python-sidecar" ? _chunkPPQHQ4J2js.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
104
+ const launch = plan.kind === "python-sidecar" ? _chunkH3SQMLHOjs.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
105
105
  command: _nullishCoalesce(runtime.execPath, () => ( process.execPath)),
106
106
  args: argv.slice(1),
107
107
  shell: false
@@ -148,7 +148,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
148
148
  }
149
149
  if (isDowngradeAutoUpdateResponse(response)) {
150
150
  const target = response.latest;
151
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkRUAEON5Jjs.SDK_VERSION;
151
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkH7DRZXYFjs.SDK_VERSION;
152
152
  process.stderr.write(
153
153
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
154
154
  `
@@ -156,21 +156,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
156
156
  return false;
157
157
  }
158
158
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
159
- const plan = _chunkRJJNXV36js.resolveUpdatePlan.call(void 0, {
159
+ const plan = _chunkMIGJHZ3Pjs.resolveUpdatePlan.call(void 0, {
160
160
  packageSpec,
161
161
  requireVerifiedNpmOwnership: true,
162
162
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
163
163
  });
164
- if (!_chunkRJJNXV36js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
164
+ if (!_chunkMIGJHZ3Pjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
165
165
  return false;
166
166
  }
167
167
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
168
168
  deferredAutoUpdate = async () => {
169
169
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
170
170
  };
171
- if (_chunk5KHSPLPOjs.isJsonOutputMode.call(void 0, )) {
171
+ if (_chunkFSAOU4HAjs.isJsonOutputMode.call(void 0, )) {
172
172
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
173
- _chunk5KHSPLPOjs.addJsonNotice.call(void 0, {
173
+ _chunkFSAOU4HAjs.addJsonNotice.call(void 0, {
174
174
  code: "sdk_update_queued",
175
175
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
176
176
  });
@@ -183,7 +183,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
183
183
  return true;
184
184
  }
185
185
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
186
- if (!_chunkRJJNXV36js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
186
+ if (!_chunkMIGJHZ3Pjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
187
187
  const autoUpdate = response.auto_update;
188
188
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
189
189
  process.stderr.write(
@@ -196,7 +196,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
196
196
  event: "started",
197
197
  installKind: plan.kind
198
198
  });
199
- const updateResult = await _chunkRJJNXV36js.runAutomaticUpdatePlan.call(void 0, plan);
199
+ const updateResult = await _chunkMIGJHZ3Pjs.runAutomaticUpdatePlan.call(void 0, plan);
200
200
  if (updateResult.status === "skipped_previous_failure") {
201
201
  void reportAutoUpdateEvent({
202
202
  baseUrl,
@@ -234,7 +234,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
234
234
  exitCode: 0
235
235
  });
236
236
  try {
237
- await _chunkPPQHQ4J2js.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
237
+ await _chunkH3SQMLHOjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
238
238
  mode: "detached",
239
239
  update: _optionalChain([response, 'access', _36 => _36.skills, 'optionalAccess', _37 => _37.requires_cli_update]) ? void 0 : response.skills,
240
240
  afterCliUpdate: {
@@ -261,7 +261,7 @@ var _crypto = require('crypto');
261
261
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
262
262
  var activeToolExecuteCommand = null;
263
263
  function progressLine(line) {
264
- if (!_chunk5KHSPLPOjs.isJsonOutputMode.call(void 0, )) console.error(line);
264
+ if (!_chunkFSAOU4HAjs.isJsonOutputMode.call(void 0, )) console.error(line);
265
265
  }
266
266
  function beginToolExecuteCommand() {
267
267
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  rejectRestrictedFeedback
3
- } from "./chunk-TM3Z7JXT.mjs";
3
+ } from "./chunk-CK6U2NH2.mjs";
4
4
  import {
5
5
  getAuthedHttpClient,
6
6
  printCommandEnvelope
7
- } from "./chunk-SONHOBIK.mjs";
7
+ } from "./chunk-P2LVKWU6.mjs";
8
8
  import {
9
9
  agentSessionIdFromEnvironment,
10
10
  claudeProjectsRoots,
11
11
  coworkTranscriptFromEnvironment
12
- } from "./chunk-5SOJGKQM.mjs";
12
+ } from "./chunk-IEOIGU5A.mjs";
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
  import {
@@ -1,9 +1,12 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-LQTLFFUB.mjs";
3
+ } from "./chunk-45OTCUAC.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-SONHOBIK.mjs";
6
+ } from "./chunk-P2LVKWU6.mjs";
7
+ import {
8
+ resolveConfig
9
+ } from "./chunk-D3BJ2KZX.mjs";
7
10
 
8
11
  // src/cli/commands/integration-commands.ts
9
12
  import { Option } from "commander";
@@ -329,7 +332,12 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
329
332
  ).option(
330
333
  "--credentials-file <path>",
331
334
  "JSON object of credential field names and string values; keep this file private"
332
- ).option("--oauth", "Return an OAuth authorization URL").addOption(new Option("--expected-connection-id <id>").hideHelp()).option("--preset <id>", "Server-defined access preset (HubSpot only)").option("--scopes <scopes>", "Comma-separated OAuth scopes").option(
335
+ ).option("--oauth", "Return an OAuth authorization URL").addOption(
336
+ new Option(
337
+ "--org-default",
338
+ "Write the org default even when a workspace is selected"
339
+ ).conflicts(["link"])
340
+ ).addOption(new Option("--expected-connection-id <id>").hideHelp()).option("--preset <id>", "Server-defined access preset (HubSpot only)").option("--scopes <scopes>", "Comma-separated OAuth scopes").option(
333
341
  "--optional-scopes <scopes>",
334
342
  "Comma-separated optional OAuth scopes"
335
343
  ).option(
@@ -349,11 +357,14 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
349
357
  "--managed requires --company-domain, --company-legal-name and --company-country."
350
358
  );
351
359
  }
360
+ const teamId2 = connectTeamId(options.orgDefault);
361
+ refuseManagedWorkspaceConnect(provider, teamId2);
352
362
  if (options.dryRun) {
353
363
  printSetupPlan(
354
364
  {
355
365
  provider,
356
366
  action: "connect_managed",
367
+ team_id: teamId2,
357
368
  terms_version: options.acceptTerms ?? "not accepted",
358
369
  company_domain: options.companyDomain
359
370
  },
@@ -380,10 +391,11 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
380
391
  const confirmation2 = {
381
392
  provider,
382
393
  credential_saved: true,
383
- credential_mode: "partner_managed"
394
+ credential_mode: "partner_managed",
395
+ team_id: teamId2
384
396
  };
385
397
  printIntegrationResult(confirmation2, options.json, [
386
- `${provider} is connected in the active workspace with a Deepline-managed key. Usage is billed in Deepline credits.`
398
+ `${provider} is connected with a Deepline-managed key for ${describeConnectTarget(teamId2)}. Usage is billed in Deepline credits.`
387
399
  ]);
388
400
  return;
389
401
  }
@@ -411,11 +423,14 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
411
423
  const splitScopes = (value) => value.split(",").map((scope) => scope.trim()).filter(Boolean);
412
424
  if (options.scopes !== void 0 && splitScopes(options.scopes).length === 0)
413
425
  throw new Error("scopes must contain at least one OAuth scope.");
426
+ const teamId2 = connectTeamId(options.orgDefault);
427
+ refuseMetaWorkspaceConnect(provider, teamId2);
414
428
  if (options.dryRun) {
415
429
  printSetupPlan(
416
430
  {
417
431
  provider,
418
432
  action: "oauth",
433
+ team_id: teamId2,
419
434
  ...options.preset !== void 0 ? { preset: options.preset } : {},
420
435
  ...options.scopes !== void 0 ? { scopes: splitScopes(options.scopes) } : {},
421
436
  ...options.optionalScopes !== void 0 ? { optionalScopes: splitScopes(options.optionalScopes) } : {}
@@ -429,17 +444,26 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
429
444
  {
430
445
  ...options.preset !== void 0 ? { preset: options.preset } : {},
431
446
  ...options.scopes !== void 0 ? { scopes: splitScopes(options.scopes) } : {},
432
- ...options.optionalScopes !== void 0 ? { optionalScopes: splitScopes(options.optionalScopes) } : {}
447
+ ...options.optionalScopes !== void 0 ? { optionalScopes: splitScopes(options.optionalScopes) } : {},
448
+ teamId: teamId2
433
449
  }
434
450
  );
451
+ const confirmed2 = assertConnectTarget(result2, teamId2);
435
452
  if (!result2.ok || typeof result2.redirect_url !== "string" || !result2.redirect_url)
436
453
  throw new Error(
437
454
  "The API did not return an OAuth authorization URL."
438
455
  );
439
456
  printIntegrationResult(
440
- { provider, redirect_url: result2.redirect_url },
457
+ { provider, redirect_url: result2.redirect_url, team_id: teamId2 },
441
458
  options.json,
442
- [result2.redirect_url]
459
+ [
460
+ result2.redirect_url,
461
+ connectTargetLine(
462
+ `This connects ${provider} for`,
463
+ teamId2,
464
+ confirmed2
465
+ )
466
+ ]
443
467
  );
444
468
  return;
445
469
  }
@@ -447,11 +471,14 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
447
471
  throw new Error(
448
472
  "Use --link for a dashboard link, --credentials-file to save credentials, or --oauth to request access."
449
473
  );
474
+ const teamId = connectTeamId(options.orgDefault);
475
+ refuseMetaWorkspaceConnect(provider, teamId);
450
476
  if (options.dryRun) {
451
477
  printSetupPlan(
452
478
  {
453
479
  provider,
454
480
  action: "save_credentials",
481
+ team_id: teamId,
455
482
  credentials_file: options.credentialsFile,
456
483
  ...options.expectedConnectionId ? { expected_connection_id: options.expectedConnectionId } : {}
457
484
  },
@@ -477,20 +504,66 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
477
504
  const result = await new DeeplineClient().setIntegrationCredentials(
478
505
  provider,
479
506
  credentials,
480
- { expectedConnectionId: options.expectedConnectionId }
507
+ { expectedConnectionId: options.expectedConnectionId, teamId }
481
508
  );
482
509
  if (!result.ok || result.credential_saved !== true) {
483
510
  throw new Error(
484
511
  "The API did not confirm that provider credentials were saved. Inspect the integration before retrying."
485
512
  );
486
513
  }
487
- const confirmation = { provider, credential_saved: true };
514
+ const confirmed = assertConnectTarget(result, teamId);
515
+ const confirmation = {
516
+ provider,
517
+ credential_saved: true,
518
+ team_id: teamId
519
+ };
488
520
  printIntegrationResult(confirmation, options.json, [
489
- `Credentials saved for ${provider} in the active org.`
521
+ connectTargetLine(
522
+ `Credentials saved for ${provider} in`,
523
+ teamId,
524
+ confirmed
525
+ )
490
526
  ]);
491
527
  }
492
528
  );
493
529
  }
530
+ function connectTeamId(orgDefault) {
531
+ if (orgDefault) return null;
532
+ try {
533
+ return resolveConfig().workspace ?? null;
534
+ } catch {
535
+ return process.env.DEEPLINE_WORKSPACE_ID?.trim() || null;
536
+ }
537
+ }
538
+ function describeConnectTarget(teamId) {
539
+ return teamId ? `workspace ${teamId} (its own connection; other workspaces are unchanged)` : "the org default (used by every workspace without its own connection)";
540
+ }
541
+ function assertConnectTarget(result, teamId) {
542
+ if (!("team_id" in result)) return false;
543
+ if ((result.team_id ?? null) !== teamId) {
544
+ throw new Error(
545
+ `The API wrote ${describeConnectTarget(result.team_id ?? null)}, not ${describeConnectTarget(teamId)}. Inspect the integration before retrying.`
546
+ );
547
+ }
548
+ return true;
549
+ }
550
+ function connectTargetLine(prefix, teamId, confirmed) {
551
+ if (confirmed) return `${prefix} ${describeConnectTarget(teamId)}.`;
552
+ const requested = teamId ? `workspace ${teamId}` : "the org default";
553
+ return `${prefix} ${requested} (requested; this server did not confirm the target).`;
554
+ }
555
+ function refuseMetaWorkspaceConnect(provider, teamId) {
556
+ if (provider !== "meta_audiences" || !teamId) return;
557
+ throw new Error(
558
+ `Meta Audiences connects workspace ${teamId} with a system user token: run \`deepline org workspaces integrations set ${teamId} meta_audiences --api-key-stdin\`, or pass --org-default to connect the org default.`
559
+ );
560
+ }
561
+ function refuseManagedWorkspaceConnect(provider, teamId) {
562
+ if (!teamId) return;
563
+ throw new Error(
564
+ `A Deepline-managed ${provider} key is set up for the whole org, not workspace ${teamId}. Pass --org-default to connect the org default, or --credentials-file to give this workspace its own key.`
565
+ );
566
+ }
494
567
  function printSetupPlan(plan, json) {
495
568
  printIntegrationResult(
496
569
  plan,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-S2HGTJET.mjs";
3
+ } from "./chunk-YTYDKSK7.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; } var _class;
2
2
 
3
- var _chunk5KHSPLPOjs = require('./chunk-5KHSPLPO.js');
3
+ var _chunkFSAOU4HAjs = require('./chunk-FSAOU4HA.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunk5KHSPLPOjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkFSAOU4HAjs.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunk5KHSPLPOjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkFSAOU4HAjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-SONHOBIK.mjs";
3
+ } from "./chunk-P2LVKWU6.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-5SOJGKQM.mjs";
4
+ } from "./chunk-IEOIGU5A.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-ASB47RXJ.mjs";
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-SONHOBIK.mjs";
5
+ } from "./chunk-P2LVKWU6.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-TSNVG3T5.mjs";
8
+ } from "./chunk-D3BJ2KZX.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  httpJson
3
- } from "./chunk-MOJOAX3X.mjs";
3
+ } from "./chunk-X4WPW5O3.mjs";
4
4
  import {
5
5
  PRICING_PAGE_NOTE
6
6
  } from "./chunk-2RIKOPIM.mjs";
7
7
  import {
8
8
  autoDetectBaseUrl,
9
9
  resolveApiKeyForBaseUrl
10
- } from "./chunk-TSNVG3T5.mjs";
10
+ } from "./chunk-D3BJ2KZX.mjs";
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-S2HGTJET.mjs";
14
+ } from "./chunk-YTYDKSK7.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-SONHOBIK.mjs";
17
+ } from "./chunk-P2LVKWU6.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-TSNVG3T5.mjs";
23
+ } from "./chunk-D3BJ2KZX.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-5SOJGKQM.mjs";
27
+ } from "./chunk-IEOIGU5A.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";