deepline 0.3.532 → 0.3.534

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 (157) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +46 -7
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +148 -63
  4. package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +26 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +32 -14
  6. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +9 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/engine-suspension.ts +1 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/ports.ts +2 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/postgres-fence-adapter.ts +2 -1
  10. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +8 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +1 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +27 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +8 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +12 -1
  15. package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +2 -0
  16. package/dist/cli/{auth-ZB3NN4E7.mjs → auth-MHQYIMVX.mjs} +5 -5
  17. package/dist/cli/auth-UP2RGPI6.js +43 -0
  18. package/dist/cli/{billing-5GGO7DQS.mjs → billing-LX2PSBJ4.mjs} +7 -7
  19. package/dist/cli/{billing-32EF4HJM.js → billing-YQLNP4S5.js} +82 -82
  20. package/dist/cli/{chunk-W5KSUNTE.mjs → chunk-2P3NVX65.mjs} +68 -13
  21. package/dist/cli/{chunk-EVXRQXNV.mjs → chunk-5FXMEEF4.mjs} +35 -0
  22. package/dist/cli/{chunk-YM6JAKYP.mjs → chunk-5LZ5VSOK.mjs} +2 -2
  23. package/dist/cli/{chunk-S2HHY26V.mjs → chunk-62SOZ67Y.mjs} +2 -2
  24. package/dist/cli/{chunk-QZINISXP.js → chunk-6CEUQYMB.js} +3 -3
  25. package/dist/cli/{chunk-6LBD6G6U.mjs → chunk-6GTGWZJG.mjs} +2 -2
  26. package/dist/cli/{chunk-CRWX26LR.mjs → chunk-6IFZPEJE.mjs} +1 -1
  27. package/dist/cli/{chunk-F2YLC4ZG.mjs → chunk-7GFR5Y4J.mjs} +1 -1
  28. package/dist/cli/{chunk-L5V5SLI7.js → chunk-A6HNT4EE.js} +2 -2
  29. package/dist/cli/{chunk-3NUYO5QO.mjs → chunk-AK622KIG.mjs} +1 -1
  30. package/dist/cli/{chunk-FU4MMUGM.js → chunk-B2AS3R5W.js} +16 -16
  31. package/dist/cli/{chunk-VCRCMK7M.mjs → chunk-BDWZBMGV.mjs} +5 -5
  32. package/dist/cli/{chunk-B77ZRM6M.mjs → chunk-BXIUZM5N.mjs} +2 -2
  33. package/dist/cli/{chunk-2ZGZBN6D.js → chunk-D3J2Y2BP.js} +14 -14
  34. package/dist/cli/{chunk-VHHD5D44.js → chunk-DGKTHWWH.js} +122 -104
  35. package/dist/cli/{chunk-T2QY36E3.mjs → chunk-DQ5ADV2J.mjs} +1 -1
  36. package/dist/cli/{chunk-SMDX4BM5.js → chunk-DZS4JC7I.js} +2 -2
  37. package/dist/cli/{chunk-VN432I4S.mjs → chunk-E7TP25I2.mjs} +1 -1
  38. package/dist/cli/{chunk-KEE57BF2.js → chunk-EGTUOYYG.js} +7 -7
  39. package/dist/cli/{chunk-DSNTHXR7.mjs → chunk-ENCA6O2D.mjs} +2 -2
  40. package/dist/cli/{chunk-GABQIZJR.mjs → chunk-EYXUAJAU.mjs} +5 -5
  41. package/dist/cli/{chunk-2T7YE5UH.js → chunk-GTXSUPCJ.js} +2 -2
  42. package/dist/cli/{chunk-NQDUXVBK.js → chunk-GVGQ6NZW.js} +41 -41
  43. package/dist/cli/{chunk-AQHMHYXX.js → chunk-HCD36BP6.js} +44 -44
  44. package/dist/cli/{chunk-NBIDYAN6.js → chunk-HPJAE6PP.js} +6 -6
  45. package/dist/cli/{chunk-7S3DJFW5.js → chunk-IX45S5VC.js} +11 -11
  46. package/dist/cli/{chunk-TS6XF2QP.js → chunk-JBBJDFUJ.js} +5 -5
  47. package/dist/cli/{chunk-THQPLSJD.mjs → chunk-KJVY7V2X.mjs} +1 -1
  48. package/dist/cli/{chunk-GBVTSWL3.js → chunk-KSA2XE4T.js} +182 -127
  49. package/dist/cli/{chunk-VZKCZO4J.mjs → chunk-KXQCUX3X.mjs} +3 -3
  50. package/dist/cli/{chunk-WU33X2QL.js → chunk-LGRZCHKC.js} +16 -16
  51. package/dist/cli/{chunk-RRCSFOF3.mjs → chunk-MG6YL4M7.mjs} +24 -6
  52. package/dist/cli/{chunk-KQW27FSR.js → chunk-MQORQ7WL.js} +53 -53
  53. package/dist/cli/{chunk-O7JU5GUR.js → chunk-MQX363YF.js} +5 -5
  54. package/dist/cli/{chunk-4S3ONSLF.js → chunk-MYSKWJMA.js} +13 -13
  55. package/dist/cli/{chunk-HR2RDDAC.js → chunk-NDFNBJGL.js} +26 -26
  56. package/dist/cli/{chunk-TFWREZYG.mjs → chunk-NNAE7E23.mjs} +6 -6
  57. package/dist/cli/{chunk-VIC2MI4W.mjs → chunk-O53LHONF.mjs} +2 -2
  58. package/dist/cli/{chunk-EJLCIQA4.mjs → chunk-OMVVHX4U.mjs} +5 -5
  59. package/dist/cli/{chunk-64CEFPF4.js → chunk-RH3YRMUY.js} +1 -1
  60. package/dist/cli/{chunk-V6LUMGVI.js → chunk-SUWTLXCV.js} +35 -0
  61. package/dist/cli/{chunk-47UF3DDN.mjs → chunk-TG2UB3A5.mjs} +1 -1
  62. package/dist/cli/{chunk-C6VCDDDD.mjs → chunk-TQH3533L.mjs} +5 -5
  63. package/dist/cli/{chunk-MHTKWZM3.js → chunk-TVINIDHB.js} +9 -9
  64. package/dist/cli/{chunk-CSMLW5VE.js → chunk-UWNVFAFN.js} +4 -4
  65. package/dist/cli/{chunk-H6OYTU2Y.js → chunk-V7SCRUFQ.js} +6 -6
  66. package/dist/cli/{chunk-HREGFD2I.mjs → chunk-VAG5YKP6.mjs} +1 -1
  67. package/dist/cli/{chunk-JJSJ47CA.js → chunk-VE7ZPLN2.js} +22 -22
  68. package/dist/cli/{chunk-O2A4C4WP.mjs → chunk-WDNRPZED.mjs} +2 -2
  69. package/dist/cli/{chunk-VWEDIFHT.mjs → chunk-WR4WETRU.mjs} +4 -4
  70. package/dist/cli/{chunk-BQ2KAFVQ.js → chunk-XBK6WCVA.js} +3 -3
  71. package/dist/cli/{chunk-AOAXIJL2.mjs → chunk-XRZJKHUA.mjs} +3 -3
  72. package/dist/cli/command-docs.js +2 -2
  73. package/dist/cli/command-docs.mjs +1 -1
  74. package/dist/cli/{csv-LM44ZFL3.mjs → csv-4ID4E5W3.mjs} +4 -4
  75. package/dist/cli/{csv-4JBCPMEH.js → csv-U3M2G76R.js} +13 -13
  76. package/dist/cli/{db-UVNXGK6L.js → db-IHAQIKEQ.js} +27 -27
  77. package/dist/cli/{db-IFJEGJ6M.mjs → db-LHX5BBCZ.mjs} +6 -6
  78. package/dist/cli/{describe-TWTOPGII.mjs → describe-CI4MREFF.mjs} +18 -18
  79. package/dist/cli/describe-IVTSD7ST.js +50 -0
  80. package/dist/cli/describe-core.d.mts +2 -2
  81. package/dist/cli/describe-core.d.ts +2 -2
  82. package/dist/cli/{executions-3I6RU7AO.js → executions-CJ5LV23G.js} +8 -8
  83. package/dist/cli/{executions-NEV2P5MX.mjs → executions-UJ6JZUL5.mjs} +6 -6
  84. package/dist/cli/{feedback-NHO56EWZ.js → feedback-TGUBVGRP.js} +14 -14
  85. package/dist/cli/{feedback-IO5ZAWKK.mjs → feedback-YGTPJBRJ.mjs} +6 -6
  86. package/dist/cli/{git-MQISNZ5F.mjs → git-3DOTQHJO.mjs} +5 -5
  87. package/dist/cli/git-R3W25XIF.js +25 -0
  88. package/dist/cli/index.js +145 -145
  89. package/dist/cli/index.mjs +44 -44
  90. package/dist/cli/{legacy-noops-SLAQE7HN.js → legacy-noops-BHEHVFHI.js} +9 -9
  91. package/dist/cli/{legacy-noops-DNRJHNQB.mjs → legacy-noops-RBBYRVLG.mjs} +6 -6
  92. package/dist/cli/{monitors-NAX7SUAR.mjs → monitors-5AJCG6IV.mjs} +7 -7
  93. package/dist/cli/{monitors-JRNATYS2.js → monitors-XECKLAXA.js} +100 -100
  94. package/dist/cli/{org-BHOREX5D.js → org-DOBAIYWG.js} +86 -86
  95. package/dist/cli/{org-34VCNPUD.mjs → org-ZAAIEZKB.mjs} +6 -6
  96. package/dist/cli/{pages-ZWVHNJOE.mjs → pages-FUOSF6BE.mjs} +6 -6
  97. package/dist/cli/{pages-GB337AQG.js → pages-TLC2N6L7.js} +18 -18
  98. package/dist/cli/{play-DAUQ7OAO.js → play-E74VN6B7.js} +317 -317
  99. package/dist/cli/{play-GJ7OEYSB.mjs → play-KLYRMQPF.mjs} +18 -18
  100. package/dist/cli/{providers-W7QY5FUK.js → providers-APZ6SOSK.js} +9 -9
  101. package/dist/cli/{providers-KA2RKD6E.mjs → providers-XTQXV5LB.mjs} +6 -6
  102. package/dist/cli/{quickstart-D4DPUR7R.js → quickstart-S6WN6NWW.js} +6 -6
  103. package/dist/cli/{quickstart-7KOAL3BD.mjs → quickstart-X7RHHQCH.mjs} +4 -4
  104. package/dist/cli/{run-QFVN2WUQ.js → run-3YLIJJ57.js} +41 -41
  105. package/dist/cli/{run-AYJSQED7.mjs → run-TZPBBSPX.mjs} +23 -23
  106. package/dist/cli/search-NB5CBALV.js +33 -0
  107. package/dist/cli/{search-MEE7OV2B.mjs → search-VLHE2CMZ.mjs} +8 -8
  108. package/dist/cli/{search-output-G36JH6D6.mjs → search-output-73BYB7UE.mjs} +4 -4
  109. package/dist/cli/{search-output-OW6UPOI6.js → search-output-GCT7PQIT.js} +6 -6
  110. package/dist/cli/{secrets-CJJQJUJC.js → secrets-J6CEKXKQ.js} +15 -15
  111. package/dist/cli/{secrets-OFNYIJT6.mjs → secrets-RLOTGKQZ.mjs} +6 -6
  112. package/dist/cli/{sessions-B6VCVU4Z.mjs → sessions-7HZ7OZ62.mjs} +6 -6
  113. package/dist/cli/sessions-SFCZSB77.js +22 -0
  114. package/dist/cli/{settings-PPFLSXDP.mjs → settings-72K5YCIS.mjs} +13 -13
  115. package/dist/cli/{settings-H4Q524LF.js → settings-WRV5XEZC.js} +86 -86
  116. package/dist/cli/{setup-WI3WDRRE.mjs → setup-KQFY6WT4.mjs} +10 -10
  117. package/dist/cli/{setup-SJAM7XHR.js → setup-QVXWT2EQ.js} +50 -50
  118. package/dist/cli/{skills-QSRYGMG2.mjs → skills-C3K3E473.mjs} +8 -8
  119. package/dist/cli/skills-WIJEHVLA.js +37 -0
  120. package/dist/cli/{tools-RUC4ULAD.mjs → tools-4A2OH6MB.mjs} +17 -17
  121. package/dist/cli/tools-VMMERMLO.js +57 -0
  122. package/dist/cli/update-54WZQDTS.js +35 -0
  123. package/dist/cli/{update-DPWNL2UB.mjs → update-BS6USKPR.mjs} +10 -10
  124. package/dist/cli/{views-CVDVQALA.js → views-4NZGAXHL.js} +18 -18
  125. package/dist/cli/{views-JP66QRA3.mjs → views-WB6GFTRX.mjs} +6 -6
  126. package/dist/cli/{workflow-MVTX2PY3.mjs → workflow-2D4WX55R.mjs} +7 -7
  127. package/dist/cli/{workflow-JM6JUI7I.js → workflow-L2QTQZYV.js} +17 -17
  128. package/dist/{client-CBCVhL8U.d.ts → client-DQm56zMs.d.ts} +1 -1
  129. package/dist/{client-Bd2meveV.d.mts → client-DoUVSkqC.d.mts} +1 -1
  130. package/dist/{client-core-CsRRWCFy.d.ts → client-core-C7KkUIE_.d.ts} +32 -1
  131. package/dist/{client-core-CGj8V9mw.d.mts → client-core-CPlwsC1Q.d.mts} +32 -1
  132. package/dist/index.d.mts +3 -3
  133. package/dist/index.d.ts +3 -3
  134. package/dist/index.js +9 -9
  135. package/dist/index.mjs +6 -6
  136. package/dist/install-integrity.json +110 -110
  137. package/dist/plays/play-description.d.mts +1 -1
  138. package/dist/plays/play-description.d.ts +1 -1
  139. package/dist/plays/run-request.d.mts +1 -1
  140. package/dist/plays/run-request.d.ts +1 -1
  141. package/dist/release.d.mts +1 -1
  142. package/dist/release.d.ts +1 -1
  143. package/dist/release.js +2 -2
  144. package/dist/release.mjs +1 -1
  145. package/dist/server.d.mts +2 -2
  146. package/dist/server.d.ts +2 -2
  147. package/dist/server.js +5 -5
  148. package/dist/server.mjs +3 -3
  149. package/package.json +1 -1
  150. package/dist/cli/auth-7YWTPQSQ.js +0 -43
  151. package/dist/cli/describe-AF73GGH6.js +0 -50
  152. package/dist/cli/git-AOKC6WL3.js +0 -25
  153. package/dist/cli/search-JVCK5AB4.js +0 -33
  154. package/dist/cli/sessions-DXN6BQ7Q.js +0 -22
  155. package/dist/cli/skills-6MNJK2VQ.js +0 -37
  156. package/dist/cli/tools-OT43MSZE.js +0 -57
  157. package/dist/cli/update-PHOSO3TL.js +0 -35
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-T2QY36E3.mjs";
5
+ } from "./chunk-DQ5ADV2J.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-EJLCIQA4.mjs";
9
+ } from "./chunk-OMVVHX4U.mjs";
10
10
  import {
11
11
  Capability,
12
12
  arrayField,
@@ -46,10 +46,10 @@ import {
46
46
  } from "./chunk-FIVKWNMT.mjs";
47
47
  import {
48
48
  DeeplineClient
49
- } from "./chunk-O2A4C4WP.mjs";
49
+ } from "./chunk-WDNRPZED.mjs";
50
50
  import {
51
51
  validateExecutionIdempotencyKey
52
- } from "./chunk-RRCSFOF3.mjs";
52
+ } from "./chunk-MG6YL4M7.mjs";
53
53
  import {
54
54
  stableStringify
55
55
  } from "./chunk-UBKA33KY.mjs";
@@ -59,18 +59,18 @@ import {
59
59
  maybeAutoUpdateAndRelaunch,
60
60
  registerCompatibilityCatalog,
61
61
  runToolExecuteStage
62
- } from "./chunk-C6VCDDDD.mjs";
62
+ } from "./chunk-TQH3533L.mjs";
63
63
  import {
64
64
  isCliTraceEnabled,
65
65
  recordCliTrace,
66
66
  resolveCliMaintenancePolicy
67
- } from "./chunk-F2YLC4ZG.mjs";
67
+ } from "./chunk-7GFR5Y4J.mjs";
68
68
  import {
69
69
  checkSdkCompatibility,
70
70
  enforceSdkCompatibilityResponse,
71
71
  flushDeferredSkillsSyncNotices,
72
72
  syncSdkSkillsIfNeeded
73
- } from "./chunk-VCRCMK7M.mjs";
73
+ } from "./chunk-BDWZBMGV.mjs";
74
74
  import {
75
75
  printCommandEnvelope,
76
76
  printCompactJson,
@@ -78,12 +78,12 @@ import {
78
78
  printJsonError,
79
79
  renderCommandEnvelopeText,
80
80
  shouldEmitJson
81
- } from "./chunk-S2HHY26V.mjs";
81
+ } from "./chunk-62SOZ67Y.mjs";
82
82
  import {
83
83
  readSdkSkillsLocalVersion,
84
84
  resolveConfig,
85
85
  sdkCliStateDirPath
86
- } from "./chunk-VN432I4S.mjs";
86
+ } from "./chunk-E7TP25I2.mjs";
87
87
  import {
88
88
  DeeplineError
89
89
  } from "./chunk-ZPGGW27Q.mjs";
@@ -841,6 +841,54 @@ Output:
841
841
  `${balance.provider}: ${balance.balance.value} ${balance.unit} (observed ${balance.observedAt})`
842
842
  );
843
843
  });
844
+ tools.command("workspace-connections").description(
845
+ "List shared OAuth connections in a workspace enrolled in the pilot."
846
+ ).option("--json", "Print connection summaries as JSON").action(async (options) => {
847
+ const { connections } = await new DeeplineClient().listWorkspaceIntegrationConnections();
848
+ if (shouldEmitJson(options.json))
849
+ console.log(JSON.stringify(connections));
850
+ else if (connections.length === 0)
851
+ console.log("No workspace connections.");
852
+ else
853
+ for (const row of connections)
854
+ console.log(`${row.provider} ${row.status} ${row.label}`);
855
+ });
856
+ tools.command("workspace-connection <provider> <action>").description(
857
+ "Open shared OAuth setup or disconnect the current connection."
858
+ ).option("--json", "Print the result as JSON").action(
859
+ async (provider, action, options) => {
860
+ if (provider !== "hubspot" && provider !== "google_calendar_availability")
861
+ throw new Error("Choose hubspot or google_calendar_availability.");
862
+ if (action !== "connect" && action !== "reconnect" && action !== "replace" && action !== "disconnect")
863
+ throw new Error("Choose connect, reconnect, replace, or disconnect.");
864
+ const client = new DeeplineClient();
865
+ const { connections } = await client.listWorkspaceIntegrationConnections();
866
+ const row = connections.find(
867
+ (connection) => connection.provider === provider
868
+ );
869
+ const result = await client.manageWorkspaceIntegrationConnection({
870
+ provider,
871
+ action,
872
+ connectionId: row?.id,
873
+ authorizationVersion: row?.authorizationVersion
874
+ });
875
+ if (shouldEmitJson(options.json)) console.log(JSON.stringify(result));
876
+ else console.log(result.url ?? "Workspace connection disconnected.");
877
+ }
878
+ );
879
+ tools.command("availability-calendars").description("Calendar discovery compatibility command for the pilot.").option("--cursor <cursor>", "Legacy calendar page cursor").option("--json", "Print the response as JSON").action(async (options) => {
880
+ const page = await new DeeplineClient().listAvailabilityCalendars(
881
+ options.cursor
882
+ );
883
+ if (shouldEmitJson(options.json)) {
884
+ console.log(JSON.stringify(page));
885
+ return;
886
+ }
887
+ for (const calendar of page.calendars)
888
+ console.log(`${JSON.stringify(calendar.name)} ${calendar.id}`);
889
+ if (page.cursor)
890
+ console.log(`Next page cursor: ${JSON.stringify(page.cursor)}`);
891
+ });
844
892
  tools.command("connect <provider>").description(
845
893
  "Get a dashboard connection link or connect a provider with credentials or OAuth."
846
894
  ).addOption(
@@ -849,16 +897,22 @@ Output:
849
897
  "oauth",
850
898
  "preset",
851
899
  "scopes",
852
- "optionalScopes"
900
+ "optionalScopes",
901
+ "expectedConnectionId"
853
902
  ])
854
903
  ).option(
855
904
  "--credentials-file <path>",
856
905
  "JSON object of credential field names and string values; keep this file private"
857
- ).option("--oauth", "Return an OAuth authorization URL").option("--preset <id>", "Server-defined access preset (HubSpot only)").option("--scopes <scopes>", "Comma-separated OAuth scopes").option(
906
+ ).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(
858
907
  "--optional-scopes <scopes>",
859
908
  "Comma-separated optional OAuth scopes"
860
909
  ).option("--json", "Print JSON without credential values").action(
861
910
  async (provider, options) => {
911
+ if (options.expectedConnectionId !== void 0 && (!options.expectedConnectionId.trim() || provider !== "google_calendar_availability" || !options.credentialsFile || options.oauth)) {
912
+ throw new Error(
913
+ "--expected-connection-id requires Calendar availability and a credentials file."
914
+ );
915
+ }
862
916
  if (options.link) {
863
917
  const link = await new DeeplineClient().getIntegrationConnectLink(
864
918
  provider
@@ -913,7 +967,8 @@ Output:
913
967
  }
914
968
  const result = await new DeeplineClient().setIntegrationCredentials(
915
969
  provider,
916
- credentials
970
+ credentials,
971
+ { expectedConnectionId: options.expectedConnectionId }
917
972
  );
918
973
  if (!result.ok || result.credential_saved !== true) {
919
974
  throw new Error(
@@ -1066,7 +1121,7 @@ Examples:
1066
1121
  process.exitCode = await narrowView();
1067
1122
  return;
1068
1123
  }
1069
- const { describeAnything } = await import("./describe-TWTOPGII.mjs");
1124
+ const { describeAnything } = await import("./describe-CI4MREFF.mjs");
1070
1125
  process.exitCode = await describeAnything(
1071
1126
  toolId,
1072
1127
  {
@@ -613,6 +613,41 @@ Examples:
613
613
  [[cli:deepline tools balance leadmagic --json]]
614
614
  `
615
615
  },
616
+ "tools workspace-connections": {
617
+ core: `
618
+ Purpose:
619
+ List shared OAuth connections in an enrolled internal Enterprise workspace.
620
+ Output:
621
+ [[cli:Use --json for records with provider, status, label, and connection version.]]
622
+ Cost:
623
+ Does not spend Deepline credits.
624
+ `,
625
+ rolloutFeature: "google-calendar-availability-pilot"
626
+ },
627
+ "tools workspace-connection": {
628
+ core: `
629
+ Purpose:
630
+ Manage a shared HubSpot or Google Calendar connection as a workspace admin.
631
+ Input:
632
+ Pass the provider and connect, reconnect, replace, or disconnect.
633
+ Complete OAuth consent in the browser.
634
+ Cost:
635
+ Does not spend Deepline credits.
636
+ `,
637
+ rolloutFeature: "google-calendar-availability-pilot"
638
+ },
639
+ "tools availability-calendars": {
640
+ core: `
641
+ Purpose:
642
+ Find out where to get calendar IDs for the managed availability pilot.
643
+ Output:
644
+ Instructions to get calendar IDs from Google Calendar or the calendar owners
645
+ and use those IDs in tool and Play inputs.
646
+ Cost:
647
+ Does not spend Deepline credits.
648
+ `,
649
+ rolloutFeature: "google-calendar-availability-pilot"
650
+ },
616
651
  "tools connect": {
617
652
  core: `
618
653
  Purpose:
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  autoDetectBaseUrl,
3
3
  resolveApiKeyForBaseUrl
4
- } from "./chunk-VN432I4S.mjs";
4
+ } from "./chunk-E7TP25I2.mjs";
5
5
  import {
6
6
  SDK_VERSION,
7
7
  agentSessionIdFromEnvironment,
8
8
  deploymentProtectionHeaders,
9
9
  detectAgentRuntime
10
- } from "./chunk-47UF3DDN.mjs";
10
+ } from "./chunk-TG2UB3A5.mjs";
11
11
  import {
12
12
  DeeplineError
13
13
  } from "./chunk-ZPGGW27Q.mjs";
@@ -2,10 +2,10 @@ import {
2
2
  HttpClient,
3
3
  resolveCliCommandContext,
4
4
  resolveConfig
5
- } from "./chunk-VN432I4S.mjs";
5
+ } from "./chunk-E7TP25I2.mjs";
6
6
  import {
7
7
  detectAgentRuntime
8
- } from "./chunk-47UF3DDN.mjs";
8
+ } from "./chunk-TG2UB3A5.mjs";
9
9
  import {
10
10
  DeeplineError,
11
11
  readToolUpstreamResponse,
@@ -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 _chunkKEE57BF2js = require('./chunk-KEE57BF2.js');
3
+ var _chunkEGTUOYYGjs = require('./chunk-EGTUOYYG.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 && !_chunkKEE57BF2js.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkEGTUOYYGjs.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 (_chunkKEE57BF2js.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkEGTUOYYGjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-RRCSFOF3.mjs";
6
+ } from "./chunk-MG6YL4M7.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-FKD3KL5Q.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-S2HHY26V.mjs";
14
+ } from "./chunk-62SOZ67Y.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-ZPGGW27Q.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-VCRCMK7M.mjs";
3
+ } from "./chunk-BDWZBMGV.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-S2HHY26V.mjs";
3
+ } from "./chunk-62SOZ67Y.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -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; }
2
2
 
3
- var _chunkKEE57BF2js = require('./chunk-KEE57BF2.js');
3
+ var _chunkEGTUOYYGjs = require('./chunk-EGTUOYYG.js');
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
 
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
57
57
  const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
58
58
  const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
59
59
  if (options.json) {
60
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
60
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
61
61
  { ok: false, code, exitCode: 2, message },
62
62
  { json: true }
63
63
  );
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.532",
52
+ version: "0.3.534",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -1,19 +1,19 @@
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
3
 
4
- var _chunk2T7YE5UHjs = require('./chunk-2T7YE5UH.js');
4
+ var _chunkGTXSUPCJjs = require('./chunk-GTXSUPCJ.js');
5
5
 
6
6
 
7
- var _chunkNQDUXVBKjs = require('./chunk-NQDUXVBK.js');
7
+ var _chunkGVGQ6NZWjs = require('./chunk-GVGQ6NZW.js');
8
8
 
9
9
 
10
- var _chunkAQHMHYXXjs = require('./chunk-AQHMHYXX.js');
10
+ var _chunkHCD36BP6js = require('./chunk-HCD36BP6.js');
11
11
 
12
12
 
13
- var _chunkKEE57BF2js = require('./chunk-KEE57BF2.js');
13
+ var _chunkEGTUOYYGjs = require('./chunk-EGTUOYYG.js');
14
14
 
15
15
 
16
- var _chunkBQ2KAFVQjs = require('./chunk-BQ2KAFVQ.js');
16
+ var _chunkXBK6WCVAjs = require('./chunk-XBK6WCVA.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkAQHMHYXXjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkHCD36BP6js.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunk2T7YE5UHjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunk2T7YE5UHjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkGTXSUPCJjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkGTXSUPCJjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkBQ2KAFVQjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkXBK6WCVAjs.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkAQHMHYXXjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkHCD36BP6js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkBQ2KAFVQjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkXBK6WCVAjs.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunkNQDUXVBKjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkGVGQ6NZWjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
1284
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills install
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
1327
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-THQPLSJD.mjs";
3
+ } from "./chunk-KJVY7V2X.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-YM6JAKYP.mjs";
6
+ } from "./chunk-5LZ5VSOK.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -14,17 +14,17 @@ import {
14
14
  sdkCliStateDirPath,
15
15
  skillsAgentPathSegment,
16
16
  writeSdkSkillsLocalVersion
17
- } from "./chunk-VN432I4S.mjs";
17
+ } from "./chunk-E7TP25I2.mjs";
18
18
  import {
19
19
  SDK_API_CONTRACT,
20
20
  SDK_API_MAJOR,
21
21
  SDK_VERSION,
22
22
  deploymentProtectionHeaders,
23
23
  detectAgentRuntime
24
- } from "./chunk-47UF3DDN.mjs";
24
+ } from "./chunk-TG2UB3A5.mjs";
25
25
  import {
26
26
  SDK_RELEASE
27
- } from "./chunk-3NUYO5QO.mjs";
27
+ } from "./chunk-AK622KIG.mjs";
28
28
 
29
29
  // src/compat.ts
30
30
  import { randomUUID } from "crypto";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-F2YLC4ZG.mjs";
3
+ } from "./chunk-7GFR5Y4J.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-VCRCMK7M.mjs";
8
+ } from "./chunk-BDWZBMGV.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -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
3
 
4
- var _chunkBQ2KAFVQjs = require('./chunk-BQ2KAFVQ.js');
4
+ var _chunkXBK6WCVAjs = require('./chunk-XBK6WCVA.js');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkCSMLW5VEjs = require('./chunk-CSMLW5VE.js');
10
+ var _chunkUWNVFAFNjs = require('./chunk-UWNVFAFN.js');
11
11
 
12
12
 
13
13
  var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
@@ -150,7 +150,7 @@ function buildEnvironmentContext() {
150
150
  node_version: process.version,
151
151
  runtime: "Node.js",
152
152
  hostname: _os.hostname.call(void 0, ),
153
- agent_runtime: _chunkCSMLW5VEjs.detectAgentRuntime.call(void 0, )
153
+ agent_runtime: _chunkUWNVFAFNjs.detectAgentRuntime.call(void 0, )
154
154
  };
155
155
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
156
156
  const normalized = _optionalChain([process, 'access', _5 => _5.env, 'access', _6 => _6[key], 'optionalAccess', _7 => _7.trim, 'call', _8 => _8()]);
@@ -171,18 +171,18 @@ function buildEnvironmentContext() {
171
171
  return context;
172
172
  }
173
173
  function failureReportHeaders(apiKey) {
174
- const agentSessionId = _chunkCSMLW5VEjs.agentSessionIdFromEnvironment.call(void 0, );
174
+ const agentSessionId = _chunkUWNVFAFNjs.agentSessionIdFromEnvironment.call(void 0, );
175
175
  return {
176
- ..._chunkCSMLW5VEjs.deploymentProtectionHeaders.call(void 0, ),
176
+ ..._chunkUWNVFAFNjs.deploymentProtectionHeaders.call(void 0, ),
177
177
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
178
178
  Authorization: `Bearer ${apiKey}`,
179
179
  "Content-Type": "application/json",
180
- "User-Agent": `deepline-ts-sdk/${_chunkCSMLW5VEjs.SDK_VERSION}`,
180
+ "User-Agent": `deepline-ts-sdk/${_chunkUWNVFAFNjs.SDK_VERSION}`,
181
181
  "X-Deepline-Client-Family": "sdk",
182
182
  "X-Deepline-CLI-Family": "sdk",
183
- "X-Deepline-Agent-Runtime": _chunkCSMLW5VEjs.detectAgentRuntime.call(void 0, ),
184
- "X-Deepline-CLI-Version": _chunkCSMLW5VEjs.SDK_VERSION,
185
- "X-Deepline-SDK-Version": _chunkCSMLW5VEjs.SDK_VERSION
183
+ "X-Deepline-Agent-Runtime": _chunkUWNVFAFNjs.detectAgentRuntime.call(void 0, ),
184
+ "X-Deepline-CLI-Version": _chunkUWNVFAFNjs.SDK_VERSION,
185
+ "X-Deepline-SDK-Version": _chunkUWNVFAFNjs.SDK_VERSION
186
186
  };
187
187
  }
188
188
  async function postFailureReport(input) {
@@ -210,7 +210,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
210
210
  if (isFailureReportingDisabled()) return false;
211
211
  let apiKey = "";
212
212
  try {
213
- apiKey = _chunkBQ2KAFVQjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
213
+ apiKey = _chunkXBK6WCVAjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
214
214
  } catch (e2) {
215
215
  return false;
216
216
  }
@@ -237,7 +237,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
237
237
  failure_code: failureCode2,
238
238
  failure_stage: failureStage,
239
239
  error_body: "Automatic Deepline skills installation failed.",
240
- cli_version: _chunkCSMLW5VEjs.SDK_VERSION,
240
+ cli_version: _chunkUWNVFAFNjs.SDK_VERSION,
241
241
  context: {
242
242
  environment: buildEnvironmentContext(),
243
243
  skills_sync: {
@@ -357,7 +357,7 @@ function buildFailureReport(input) {
357
357
  failure_kind: failureKind,
358
358
  failure_code: code,
359
359
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
360
- cli_version: _chunkCSMLW5VEjs.SDK_VERSION,
360
+ cli_version: _chunkUWNVFAFNjs.SDK_VERSION,
361
361
  context: {
362
362
  base_url: redactFailureText(input.baseUrl, 400),
363
363
  command_summary: sanitizeCommand(input.argv),
@@ -377,8 +377,8 @@ async function maybeReportSdkCliFailure(input) {
377
377
  if (isServerLoggedPlayRunStartFailure(input)) return false;
378
378
  const exitCode = resolvedExitCode(input);
379
379
  if (!shouldReport({ exitCode, error: input.error })) return false;
380
- const baseUrl = _chunkBQ2KAFVQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
- const apiKey = _chunkBQ2KAFVQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
380
+ const baseUrl = _chunkXBK6WCVAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
+ const apiKey = _chunkXBK6WCVAjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
382
382
  if (!apiKey) return false;
383
383
  return postFailureReport({
384
384
  baseUrl,