deepline 0.3.500 → 0.3.502

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 (190) hide show
  1. package/dist/bundling-sources/sdk/src/plays/client-core.ts +45 -7
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +20 -2
  4. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +155 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +7 -1
  6. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +2 -1
  7. package/dist/bundling-sources/shared_libs/play-runtime/deployment/vercel-fly-rollback-alignment.ts +29 -14
  8. package/dist/bundling-sources/shared_libs/play-runtime/durable-invocation-fence.ts +3 -1
  9. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +54 -1
  10. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +12 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +264 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +18 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +56 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +53 -10
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-heartbeat.ts +1 -1
  16. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-progress-push.ts +1 -2
  17. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-terminal-push.ts +1 -1
  18. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +9 -2
  19. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +31 -1
  20. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +74 -3
  21. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +226 -2
  22. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api-paths.ts +41 -0
  23. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +5 -1
  24. package/dist/bundling-sources/shared_libs/play-runtime/runtime-app-transport.ts +374 -0
  25. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +5 -0
  26. package/dist/bundling-sources/shared_libs/play-runtime/runtime-environment.ts +49 -9
  27. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-oidc.ts +55 -11
  28. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-profile.ts +12 -1
  29. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-sandbox-credential.ts +338 -0
  30. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-staging.ts +417 -0
  31. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +15 -0
  32. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +184 -11
  33. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +17 -3
  34. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/gateway-progress-registry.ts +9 -0
  35. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +18 -2
  36. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +198 -20
  37. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-gateway-attempt.ts +81 -0
  38. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-gateway-staging-journal.ts +708 -0
  39. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-gateway-staging-teardown.ts +160 -0
  40. package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +4 -0
  41. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +2 -0
  42. package/dist/cli/{auth-WK3FDPRP.mjs → auth-EFHLOVG4.mjs} +5 -5
  43. package/dist/cli/auth-VM3IKP5F.js +43 -0
  44. package/dist/cli/{billing-O3LVKXE7.mjs → billing-Q5XKEYPP.mjs} +8 -8
  45. package/dist/cli/{billing-K7UHZUF4.js → billing-SKT2VE34.js} +81 -81
  46. package/dist/cli/{chunk-4CJWOLOS.mjs → chunk-2JS3H6H6.mjs} +3 -3
  47. package/dist/cli/{chunk-CIV5GJAE.mjs → chunk-2MVIS2UI.mjs} +2 -2
  48. package/dist/cli/{chunk-LNMY2T5S.js → chunk-2S2F6YSI.js} +41 -41
  49. package/dist/cli/{chunk-RAZ3TMOS.js → chunk-32YQBJON.js} +7 -7
  50. package/dist/cli/{chunk-JHNFUCVT.mjs → chunk-3KEZVGGV.mjs} +4 -4
  51. package/dist/cli/{chunk-5JXGYSXH.mjs → chunk-3MJSWVQ2.mjs} +1 -1
  52. package/dist/cli/{chunk-5TVY5OEH.mjs → chunk-4CCMD7QM.mjs} +21 -20
  53. package/dist/cli/{chunk-T4AGTOKQ.mjs → chunk-4WTC5SSN.mjs} +7 -7
  54. package/dist/cli/{chunk-XCBOOB73.mjs → chunk-54QXWK3C.mjs} +1 -1
  55. package/dist/cli/{chunk-5AC7NUQN.mjs → chunk-7ZYSXSJJ.mjs} +5 -5
  56. package/dist/cli/{chunk-PHGMC33I.js → chunk-AJL2Q6IQ.js} +2 -2
  57. package/dist/cli/{chunk-UBKA33KY.mjs → chunk-BMCRTI6Z.mjs} +22 -1
  58. package/dist/cli/{chunk-74VKLBJD.js → chunk-DKAMCJIT.js} +14 -14
  59. package/dist/cli/{chunk-C5R3UH5V.mjs → chunk-DRBD4IYQ.mjs} +1 -1
  60. package/dist/cli/{chunk-Z5LE7NXM.js → chunk-DYHTXGLX.js} +2 -2
  61. package/dist/cli/{chunk-TOGCDNMH.js → chunk-EUWRKWT4.js} +4 -4
  62. package/dist/cli/{chunk-GBICEYUA.js → chunk-FVM4PS5Q.js} +116 -8
  63. package/dist/cli/{chunk-I42EOZKQ.js → chunk-FWDAEWCD.js} +5 -5
  64. package/dist/cli/{chunk-GOO4VI5M.js → chunk-GINKIZ7S.js} +16 -16
  65. package/dist/cli/{chunk-56QAHX2K.mjs → chunk-HIVRCTDR.mjs} +90 -30
  66. package/dist/cli/{chunk-XUOZYAP5.mjs → chunk-HMZF2CSP.mjs} +2 -2
  67. package/dist/cli/{chunk-5KAZGZG7.js → chunk-IL666WJE.js} +5 -5
  68. package/dist/cli/{chunk-G3NA4R7M.js → chunk-JFBJLNBI.js} +53 -53
  69. package/dist/cli/{chunk-KSHAFYYG.mjs → chunk-JFUXUSKB.mjs} +112 -4
  70. package/dist/cli/{chunk-RHE4YI4H.js → chunk-JL6H4H3G.js} +6 -6
  71. package/dist/cli/{chunk-K3BHKRMS.js → chunk-JLYDLK6X.js} +3 -3
  72. package/dist/cli/{chunk-QRKCCY4L.mjs → chunk-L5CTJY74.mjs} +1 -1
  73. package/dist/cli/{chunk-W64Y7GE7.js → chunk-LA3UYRVZ.js} +1 -1
  74. package/dist/cli/{chunk-HI2BFS5S.mjs → chunk-MP5QY4A2.mjs} +2 -2
  75. package/dist/cli/{chunk-V7MZYIA7.mjs → chunk-MYUISF3P.mjs} +5 -5
  76. package/dist/cli/{chunk-CS2AEAD6.mjs → chunk-N4TR6QRI.mjs} +1 -1
  77. package/dist/cli/{chunk-C7355NMU.mjs → chunk-NKLM4J4X.mjs} +1 -1
  78. package/dist/cli/{chunk-FJZUG633.mjs → chunk-NXVYLX3F.mjs} +3 -3
  79. package/dist/cli/{chunk-L7X6ADNM.mjs → chunk-NZXB27TP.mjs} +4 -4
  80. package/dist/cli/{chunk-VLCY4F6E.js → chunk-OEUMXKR5.js} +26 -26
  81. package/dist/cli/{chunk-SRS2D27G.mjs → chunk-OFBLT2LQ.mjs} +1 -1
  82. package/dist/cli/{chunk-SNPZ2QWL.js → chunk-OVZOMSH2.js} +8 -8
  83. package/dist/cli/{chunk-KEBNXJSK.js → chunk-Q3NM6ZL3.js} +19 -19
  84. package/dist/cli/{chunk-GBRI644Y.js → chunk-QNELA7SX.js} +53 -53
  85. package/dist/cli/{chunk-IX2DPYIV.js → chunk-QOJBRCAS.js} +3 -3
  86. package/dist/cli/{chunk-IZ6YWXIK.mjs → chunk-R5F7JXT4.mjs} +2 -2
  87. package/dist/cli/{chunk-EQR5O2D2.js → chunk-RNSHCJME.js} +3 -3
  88. package/dist/cli/{chunk-Q2FXZ4Z5.js → chunk-TAK3MVXY.js} +272 -271
  89. package/dist/cli/{chunk-BIE57V6K.js → chunk-UOANF3DR.js} +360 -300
  90. package/dist/cli/{chunk-CBZTKDXW.mjs → chunk-W5CHE5Q2.mjs} +1 -1
  91. package/dist/cli/{chunk-U5GFP26N.js → chunk-WKFAX2K7.js} +21 -21
  92. package/dist/cli/{chunk-XDVT3GOM.js → chunk-WSGXBROE.js} +22 -1
  93. package/dist/cli/{chunk-X7ODM2LK.js → chunk-X5MGQ7UT.js} +6 -6
  94. package/dist/cli/{chunk-REIKJREB.js → chunk-XMKUJ44Z.js} +5 -5
  95. package/dist/cli/{chunk-SNJNPRIV.js → chunk-YDXEXVBV.js} +7 -7
  96. package/dist/cli/{chunk-X5SO7RV5.mjs → chunk-YL2CCF6T.mjs} +4 -4
  97. package/dist/cli/{chunk-VPVEPGYS.mjs → chunk-YWOQYYYS.mjs} +2 -2
  98. package/dist/cli/{chunk-MAHLIWOF.mjs → chunk-Z2H7OQ6E.mjs} +2 -2
  99. package/dist/cli/{chunk-PGRPNRP6.mjs → chunk-ZNB6GR3P.mjs} +1 -1
  100. package/dist/cli/{csv-DEUOSTEB.mjs → csv-6AEPKKCO.mjs} +4 -4
  101. package/dist/cli/{csv-MWCWNIBJ.js → csv-OXGSCV75.js} +13 -13
  102. package/dist/cli/{db-Q6IRXTTG.js → db-6NVHDUZY.js} +29 -29
  103. package/dist/cli/{db-QM5R5BRY.mjs → db-K3KRK4CZ.mjs} +8 -8
  104. package/dist/cli/describe-JOUAXXPE.js +49 -0
  105. package/dist/cli/describe-P3ZJS7TQ.mjs +49 -0
  106. package/dist/cli/describe-core.d.mts +2 -2
  107. package/dist/cli/describe-core.d.ts +2 -2
  108. package/dist/cli/describe-core.js +3 -4
  109. package/dist/cli/describe-core.mjs +2 -3
  110. package/dist/cli/{executions-DCCDXSQI.js → executions-2C2FFG52.js} +10 -10
  111. package/dist/cli/{executions-SWBKFCY2.mjs → executions-I7XW6WWK.mjs} +8 -8
  112. package/dist/cli/{feedback-EU3EYF4V.js → feedback-47B57A5Y.js} +8 -8
  113. package/dist/cli/{feedback-Q27HN3SB.mjs → feedback-RSTNBJAI.mjs} +4 -4
  114. package/dist/cli/{git-SEQFTQ4N.mjs → git-3G5AFKBT.mjs} +5 -5
  115. package/dist/cli/git-OPKIC6JQ.js +25 -0
  116. package/dist/cli/index.js +137 -137
  117. package/dist/cli/index.mjs +40 -40
  118. package/dist/cli/{legacy-noops-XKH4VREG.mjs → legacy-noops-NQ262TKL.mjs} +5 -5
  119. package/dist/cli/{legacy-noops-LCQDEVA3.js → legacy-noops-P665PBG4.js} +8 -8
  120. package/dist/cli/{monitors-DJCID6X5.js → monitors-IPWAD7LS.js} +97 -97
  121. package/dist/cli/{monitors-4XWBV46I.mjs → monitors-KUPZODZS.mjs} +9 -9
  122. package/dist/cli/{org-BU4FG5PN.js → org-WFC3N672.js} +74 -74
  123. package/dist/cli/{org-PSBGXBRW.mjs → org-ZCQGEM3L.mjs} +8 -8
  124. package/dist/cli/{pages-3PHJYXYB.js → pages-N5BNC67L.js} +20 -20
  125. package/dist/cli/{pages-7QLXLJGQ.mjs → pages-VE66IU7B.mjs} +8 -8
  126. package/dist/cli/{play-4OLYXRCG.mjs → play-EIMDIAJB.mjs} +20 -20
  127. package/dist/cli/{play-S3CWPQKB.js → play-NKIRJSKX.js} +336 -336
  128. package/dist/cli/{providers-JT7C2QTC.mjs → providers-KDTJ63ED.mjs} +8 -8
  129. package/dist/cli/{providers-U4JUMLB2.js → providers-XU3AGY2F.js} +11 -11
  130. package/dist/cli/{quickstart-OUSMXLYZ.js → quickstart-OSCHOSXU.js} +6 -6
  131. package/dist/cli/{quickstart-DQF5CF2I.mjs → quickstart-TXFXUODF.mjs} +4 -4
  132. package/dist/cli/{run-6XXHLB4X.js → run-ET2KVTPK.js} +45 -46
  133. package/dist/cli/{run-RECNI77K.mjs → run-ODGML35U.mjs} +26 -27
  134. package/dist/cli/run-identity-HFYABUJS.js +31 -0
  135. package/dist/cli/{run-identity-MRNCEGV2.mjs → run-identity-MNRZS2N3.mjs} +9 -3
  136. package/dist/cli/search-6U54Y3OK.js +32 -0
  137. package/dist/cli/{search-JN7K3GC6.mjs → search-DK67K6PR.mjs} +9 -9
  138. package/dist/cli/{search-output-L6PC5SPM.mjs → search-output-6SOKQTCW.mjs} +53 -75
  139. package/dist/cli/{search-output-JGNYXDWZ.js → search-output-KXP4FA62.js} +58 -80
  140. package/dist/cli/{secrets-UOXZWHBY.mjs → secrets-C6SYTMU7.mjs} +8 -8
  141. package/dist/cli/{secrets-TX6PCZ77.js → secrets-WPS6NMNK.js} +17 -17
  142. package/dist/cli/{sessions-GCEIX4KB.js → sessions-IP562J5Z.js} +6 -6
  143. package/dist/cli/{sessions-DTE733EH.mjs → sessions-PXVOH34X.mjs} +5 -5
  144. package/dist/cli/{settings-ZGIMRCTC.mjs → settings-FBUQGYVJ.mjs} +13 -13
  145. package/dist/cli/{settings-UGXSDHR5.js → settings-SUDUIVMY.js} +80 -80
  146. package/dist/cli/{setup-JYB6Z376.js → setup-I5H6IOEY.js} +49 -49
  147. package/dist/cli/{setup-UT7AO53D.mjs → setup-JSIMTR73.mjs} +9 -9
  148. package/dist/cli/{skills-4QJCMN7J.mjs → skills-FJQ3LX6N.mjs} +7 -7
  149. package/dist/cli/skills-VHININXC.js +36 -0
  150. package/dist/cli/{tools-RGNXIAA6.mjs → tools-IGBK4BVE.mjs} +19 -20
  151. package/dist/cli/tools-XMBMHVKF.js +56 -0
  152. package/dist/cli/{update-Q62EVSXZ.mjs → update-7MTT6F5K.mjs} +9 -9
  153. package/dist/cli/update-H7JVW43I.js +34 -0
  154. package/dist/cli/{workflow-YNIOWM7J.mjs → workflow-PM2J2OU3.mjs} +9 -9
  155. package/dist/cli/{workflow-GENV47RD.js → workflow-UX3ZX6BQ.js} +19 -19
  156. package/dist/{client-Cj3UqrCZ.d.ts → client-Bn8FwKGO.d.ts} +1 -1
  157. package/dist/{client-DSCTVVRj.d.mts → client-CfNRmjLK.d.mts} +1 -1
  158. package/dist/{client-core-dI4KTuWS.d.ts → client-core-B91EV0WS.d.ts} +19 -0
  159. package/dist/{client-core-B-8DTIN1.d.mts → client-core-BG8Cgrmk.d.mts} +19 -0
  160. package/dist/index.d.mts +3 -3
  161. package/dist/index.d.ts +3 -3
  162. package/dist/index.js +19 -19
  163. package/dist/index.mjs +8 -8
  164. package/dist/install-integrity.json +119 -114
  165. package/dist/plays/play-description.d.mts +1 -1
  166. package/dist/plays/play-description.d.ts +1 -1
  167. package/dist/plays/run-request.d.mts +1 -1
  168. package/dist/plays/run-request.d.ts +1 -1
  169. package/dist/plays/run-request.js +3 -3
  170. package/dist/plays/run-request.mjs +2 -2
  171. package/dist/release.d.mts +1 -1
  172. package/dist/release.d.ts +1 -1
  173. package/dist/release.js +2 -2
  174. package/dist/release.mjs +1 -1
  175. package/dist/server.d.mts +2 -2
  176. package/dist/server.d.ts +2 -2
  177. package/dist/server.js +7 -7
  178. package/dist/server.mjs +5 -5
  179. package/package.json +1 -1
  180. package/dist/cli/auth-H4PCVUN3.js +0 -43
  181. package/dist/cli/chunk-XK5DMLZE.js +0 -111
  182. package/dist/cli/chunk-XRDXNAAY.mjs +0 -111
  183. package/dist/cli/describe-BZ544347.js +0 -50
  184. package/dist/cli/describe-CQZ7TBOG.mjs +0 -50
  185. package/dist/cli/git-NW6BAXX2.js +0 -25
  186. package/dist/cli/run-identity-G257GQED.js +0 -25
  187. package/dist/cli/search-BIQ62ZBE.js +0 -32
  188. package/dist/cli/skills-53LCPB5R.js +0 -36
  189. package/dist/cli/tools-HKJK6UNJ.js +0 -57
  190. package/dist/cli/update-QMZSFTFZ.js +0 -34
@@ -3,10 +3,6 @@ import {
3
3
  schemaField,
4
4
  schemaFields
5
5
  } from "./chunk-SAW3FBCA.mjs";
6
- import {
7
- Capability,
8
- observedMaxText
9
- } from "./chunk-XRDXNAAY.mjs";
10
6
  import {
11
7
  playToolListGetterMode
12
8
  } from "./chunk-FR2ILQ4G.mjs";
@@ -18,6 +14,116 @@ import {
18
14
  isDeeplineExtractorTarget
19
15
  } from "./chunk-2GEYN3H4.mjs";
20
16
 
17
+ // src/cli/tool-description.ts
18
+ function observedMaxText(pricing) {
19
+ const max = recordValue(recordValue(pricing).observedMax);
20
+ if (typeof max.creditsPerCall !== "number" || max.creditsPerCall <= 0)
21
+ return "";
22
+ const avg = typeof max.avgCreditsPerCall === "number" && typeof max.sampleCount === "number" ? `${max.avgCreditsPerCall} avg, ` : "";
23
+ const calls = avg && typeof max.sampleCount === "number" ? `${max.sampleCount} observed, ` : "";
24
+ return `observed ${avg}${max.creditsPerCall} max credits/call (${calls}last ${String(max.windowDays)} days)`;
25
+ }
26
+ var Capability = class _Capability {
27
+ #catalogEntry;
28
+ constructor(catalogEntry) {
29
+ this.#catalogEntry = catalogEntry;
30
+ }
31
+ static fromCatalogEntry(catalogEntry) {
32
+ return new _Capability(catalogEntry);
33
+ }
34
+ describe() {
35
+ return CapabilityDescription.fromCatalogEntry(this.#catalogEntry);
36
+ }
37
+ };
38
+ var CapabilityDescription = class _CapabilityDescription {
39
+ #catalogEntry;
40
+ constructor(catalogEntry) {
41
+ this.#catalogEntry = catalogEntry;
42
+ }
43
+ static fromCatalogEntry(catalogEntry) {
44
+ return new _CapabilityDescription(catalogEntry);
45
+ }
46
+ /**
47
+ * The customer price already resolved by the catalog. This intentionally
48
+ * omits provider-price fields, even when a catalog Adapter carried them.
49
+ */
50
+ customerCost() {
51
+ const legacyCost = recordValue(this.#catalogEntry.cost);
52
+ const pricing = recordValue(this.#catalogEntry.pricing);
53
+ const unit = stringValue(pricing.unit);
54
+ const legacyPricingModel = stringValue(
55
+ legacyCost.pricingModel ?? legacyCost.pricing_model
56
+ );
57
+ const pricingModel = unit === "call" ? "fixed" : unit === "result" || unit === "page" ? `per_${unit}` : unit === "usage" ? "provider_usage" : legacyPricingModel;
58
+ const canonicalCredits = pricingNumber(
59
+ pricing,
60
+ "creditsPerUnit",
61
+ "credits_per_unit",
62
+ this.#catalogEntry.deeplineCreditsPerPricingUnit ?? this.#catalogEntry.deepline_credits_per_pricing_unit
63
+ );
64
+ const canonicalUsd = pricingNumber(
65
+ pricing,
66
+ "usdPerUnit",
67
+ "usd_per_unit",
68
+ this.#catalogEntry.deeplineUsdPerPricingUnit ?? this.#catalogEntry.deepline_usd_per_pricing_unit
69
+ );
70
+ const billingSource = stringValue(
71
+ this.#catalogEntry.billingSource ?? this.#catalogEntry.billing_source
72
+ );
73
+ const billingSourceLabel = stringValue(
74
+ this.#catalogEntry.billingSourceLabel ?? this.#catalogEntry.billing_source_label
75
+ );
76
+ const isFree = billingSource === "free";
77
+ const displayText = stringValue(
78
+ pricing.displayText ?? pricing.display_text
79
+ );
80
+ const summary = stringValue(pricing.summary);
81
+ const showManagedPricing = !isFree && billingSource !== "own_provider_credentials";
82
+ const details = !isFree && Array.isArray(pricing.details) ? pricing.details.filter(
83
+ (value) => typeof value === "string"
84
+ ) : [];
85
+ return {
86
+ pricingModel: pricingModel || null,
87
+ unit: unit || null,
88
+ displayText: isFree ? "Free" : displayText,
89
+ summary: isFree ? null : summary,
90
+ billingMode: stringValue(
91
+ legacyCost.billingMode ?? legacyCost.billing_mode
92
+ ),
93
+ billingSource,
94
+ billingSourceLabel,
95
+ deeplineCreditsPerPricingUnit: isFree ? 0 : canonicalCredits,
96
+ deeplineUsdPerPricingUnit: isFree ? 0 : canonicalUsd,
97
+ ...pricing.estimatedRange && showManagedPricing ? {
98
+ estimatedRange: pricing.estimatedRange
99
+ } : {},
100
+ ...pricing.observedReference && showManagedPricing ? {
101
+ observedReference: pricing.observedReference
102
+ } : {},
103
+ ...details.length || showManagedPricing && (pricing.estimatedRange || pricing.observedReference) ? { details } : {},
104
+ ...pricing.observedMax && showManagedPricing ? {
105
+ observedMax: pricing.observedMax
106
+ } : {}
107
+ };
108
+ }
109
+ };
110
+ function recordValue(value) {
111
+ return value && typeof value === "object" && !Array.isArray(value) ? value : {};
112
+ }
113
+ function stringValue(value) {
114
+ return typeof value === "string" && value.trim() ? value : null;
115
+ }
116
+ function numberValue(value) {
117
+ return typeof value === "number" && Number.isFinite(value) ? value : null;
118
+ }
119
+ function pricingNumber(pricing, canonicalKey, aliasKey, legacyValue) {
120
+ for (const key of [canonicalKey, aliasKey]) {
121
+ if (Object.prototype.hasOwnProperty.call(pricing, key))
122
+ return numberValue(pricing[key]);
123
+ }
124
+ return numberValue(legacyValue);
125
+ }
126
+
21
127
  // src/cli/described-tool.ts
22
128
  function isPlayLikeTool(tool) {
23
129
  const record = tool;
@@ -743,6 +849,8 @@ function arrayField2(value, key) {
743
849
  }
744
850
 
745
851
  export {
852
+ observedMaxText,
853
+ Capability,
746
854
  isPlayLikeTool,
747
855
  isMonitorTypeTool,
748
856
  playReferenceForTool,
@@ -1,11 +1,11 @@
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 _chunkPHGMC33Ijs = require('./chunk-PHGMC33I.js');
3
+ var _chunkAJL2Q6IQjs = require('./chunk-AJL2Q6IQ.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkGBRI644Yjs = require('./chunk-GBRI644Y.js');
8
+ var _chunkQNELA7SXjs = require('./chunk-QNELA7SX.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkGBRI644Yjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkPHGMC33Ijs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkQNELA7SXjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkAJL2Q6IQjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkGBRI644Yjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkQNELA7SXjs.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkGBRI644Yjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkQNELA7SXjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -1,7 +1,7 @@
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 _chunkTOGCDNMHjs = require('./chunk-TOGCDNMH.js');
4
+ var _chunkEUWRKWT4js = require('./chunk-EUWRKWT4.js');
5
5
 
6
6
 
7
7
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunkTOGCDNMHjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkEUWRKWT4js.detectAgentRuntime.call(void 0, )) {
715
715
  case "codex":
716
716
  return ["codex"];
717
717
  case "claude_code":
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
781
781
  }
782
782
 
783
783
  // src/http.ts
784
- var HttpClient2 = class extends _chunkTOGCDNMHjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkEUWRKWT4js.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -8,7 +8,7 @@ import {
8
8
  csvStringFromRows,
9
9
  markJsonOutputHandled,
10
10
  writeRawStderr
11
- } from "./chunk-CIV5GJAE.mjs";
11
+ } from "./chunk-2MVIS2UI.mjs";
12
12
 
13
13
  // src/cli/describe-options.ts
14
14
  function addDescribeOptions(command, options = {}) {
@@ -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.500",
52
+ version: "0.3.502",
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,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-CIV5GJAE.mjs";
4
+ } from "./chunk-2MVIS2UI.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-5JXGYSXH.mjs";
7
+ } from "./chunk-3MJSWVQ2.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -4,20 +4,20 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-5AC7NUQN.mjs";
7
+ } from "./chunk-7ZYSXSJJ.mjs";
8
8
  import {
9
9
  isCiEnvironment
10
- } from "./chunk-L7X6ADNM.mjs";
10
+ } from "./chunk-NZXB27TP.mjs";
11
11
  import {
12
12
  addJsonNotice,
13
13
  isJsonOutputMode
14
- } from "./chunk-CIV5GJAE.mjs";
14
+ } from "./chunk-2MVIS2UI.mjs";
15
15
  import {
16
16
  resolveApiKeyForBaseUrl
17
- } from "./chunk-CBZTKDXW.mjs";
17
+ } from "./chunk-W5CHE5Q2.mjs";
18
18
  import {
19
19
  SDK_VERSION
20
- } from "./chunk-5JXGYSXH.mjs";
20
+ } from "./chunk-3MJSWVQ2.mjs";
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildCallerPlayWorkflowId,
3
3
  callerPlayWorkflowIdMatchesRequest
4
- } from "./chunk-UBKA33KY.mjs";
4
+ } from "./chunk-BMCRTI6Z.mjs";
5
5
  import {
6
6
  apiErrorCodeFromResponse,
7
7
  apiErrorMessage
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-CIV5GJAE.mjs";
3
+ } from "./chunk-2MVIS2UI.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-56QAHX2K.mjs";
6
+ } from "./chunk-HIVRCTDR.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
- } from "./chunk-CS2AEAD6.mjs";
9
+ } from "./chunk-N4TR6QRI.mjs";
10
10
  import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-CIV5GJAE.mjs";
14
+ } from "./chunk-2MVIS2UI.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-C7355NMU.mjs";
3
+ } from "./chunk-NKLM4J4X.mjs";
4
4
  import {
5
5
  DEFAULT_SKILL_AGENTS,
6
6
  KNOWN_SKILL_AGENTS,
@@ -12,7 +12,7 @@ import {
12
12
  sdkCliStateDirPath,
13
13
  skillsAgentPathSegment,
14
14
  writeSdkSkillsLocalVersion
15
- } from "./chunk-CBZTKDXW.mjs";
15
+ } from "./chunk-W5CHE5Q2.mjs";
16
16
  import {
17
17
  SDK_API_CONTRACT,
18
18
  SDK_API_MAJOR,
@@ -20,13 +20,13 @@ import {
20
20
  agentSessionIdFromEnvironment,
21
21
  deploymentProtectionHeaders,
22
22
  detectAgentRuntime
23
- } from "./chunk-5JXGYSXH.mjs";
23
+ } from "./chunk-3MJSWVQ2.mjs";
24
24
  import {
25
25
  DeeplineError
26
26
  } from "./chunk-HBL4PM5Q.mjs";
27
27
  import {
28
28
  SDK_RELEASE
29
- } from "./chunk-SRS2D27G.mjs";
29
+ } from "./chunk-OFBLT2LQ.mjs";
30
30
 
31
31
  // src/compat.ts
32
32
  import { randomUUID } from "crypto";
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkSNJNPRIVjs = require('./chunk-SNJNPRIV.js');
5
+ var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
6
6
 
7
7
 
8
- var _chunkK3BHKRMSjs = require('./chunk-K3BHKRMS.js');
8
+ var _chunkJLYDLK6Xjs = require('./chunk-JLYDLK6X.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkYDXEXVBVjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
39
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkYDXEXVBVjs.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
139
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkYDXEXVBVjs.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
153
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkYDXEXVBVjs.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkYDXEXVBVjs.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
200
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkYDXEXVBVjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
227
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkYDXEXVBVjs.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
254
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkYDXEXVBVjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
269
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunkK3BHKRMSjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkJLYDLK6Xjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkSNJNPRIVjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkYDXEXVBVjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkYDXEXVBVjs.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
322
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkYDXEXVBVjs.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
371
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkYDXEXVBVjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
392
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -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.500",
52
+ version: "0.3.502",
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,10 +1,10 @@
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 _chunkSNJNPRIVjs = require('./chunk-SNJNPRIV.js');
4
+ var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
5
5
 
6
6
 
7
- var _chunkTOGCDNMHjs = require('./chunk-TOGCDNMH.js');
7
+ var _chunkEUWRKWT4js = require('./chunk-EUWRKWT4.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkTOGCDNMHjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkEUWRKWT4js.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkYDXEXVBVjs.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
487
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
519
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
569
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
677
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,