deepline 0.3.577 → 0.3.579

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 (170) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +7 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +3 -1
  4. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +18 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +124 -57
  6. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +4 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +43 -64
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +25 -0
  9. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +83 -0
  10. package/dist/cli/{agents-ZIGK3FQ2.js → agents-D5RZEVXQ.js} +37 -54
  11. package/dist/cli/{agents-SUJRATC2.mjs → agents-FJTRTYCL.mjs} +10 -27
  12. package/dist/cli/{auth-TRKPRZK6.mjs → auth-OMYIDVXZ.mjs} +5 -5
  13. package/dist/cli/auth-Q4O7MJU4.js +44 -0
  14. package/dist/cli/{billing-6RAF4DQY.js → billing-EWFUDLQ7.js} +104 -102
  15. package/dist/cli/{billing-WPQT3QRS.mjs → billing-XK3LBNYS.mjs} +11 -9
  16. package/dist/cli/{chunk-MVCKEPWF.mjs → chunk-27ZYRIQC.mjs} +5 -5
  17. package/dist/cli/{chunk-CWHXE6HJ.mjs → chunk-3Z4TVZE7.mjs} +1 -1
  18. package/dist/cli/{chunk-KVDIN2YW.js → chunk-44NTNNKC.js} +11 -13
  19. package/dist/cli/{chunk-O35BHZLQ.mjs → chunk-6DMGKAWO.mjs} +2 -2
  20. package/dist/cli/{chunk-ATW77ZBL.mjs → chunk-6EVVUVU3.mjs} +2 -2
  21. package/dist/cli/{chunk-LXM36EXW.mjs → chunk-6GON36H3.mjs} +17 -14
  22. package/dist/cli/{chunk-RSZSKTRC.js → chunk-6MIEJJSO.js} +4 -4
  23. package/dist/cli/{chunk-ID5WQZ2H.mjs → chunk-6NYHMXC7.mjs} +1 -1
  24. package/dist/cli/{chunk-DJP7CJQC.js → chunk-72TWLORR.js} +3 -3
  25. package/dist/cli/{chunk-X5ZE7K4J.js → chunk-7HOYKXVY.js} +8 -8
  26. package/dist/cli/{chunk-NRBIYZUG.js → chunk-7JMCRYXU.js} +10 -10
  27. package/dist/cli/{chunk-MDP3CNDM.mjs → chunk-7SZCJC4R.mjs} +2 -2
  28. package/dist/cli/{chunk-APOWCBO7.js → chunk-ABH6PUDZ.js} +23 -23
  29. package/dist/cli/{chunk-EV47DV25.js → chunk-AP7PIGL5.js} +41 -41
  30. package/dist/cli/{chunk-CZF2LKIT.js → chunk-BLEYV4BJ.js} +21 -21
  31. package/dist/cli/{chunk-DWUESXDD.mjs → chunk-BZ4M7OFO.mjs} +11 -1
  32. package/dist/cli/{chunk-RVICQWXU.js → chunk-DH736ASH.js} +20 -20
  33. package/dist/cli/{chunk-FYKHAT2F.mjs → chunk-DTQBQSUU.mjs} +9 -0
  34. package/dist/cli/{chunk-X7Y4T7CV.mjs → chunk-F57NDSKT.mjs} +5 -5
  35. package/dist/cli/{chunk-ITK5TGQ7.js → chunk-FKXSIIR4.js} +15 -15
  36. package/dist/cli/{chunk-ZHJIDDYR.js → chunk-G5CZDRY3.js} +26 -26
  37. package/dist/cli/{chunk-MOWABWHT.js → chunk-HEZW2IDK.js} +277 -274
  38. package/dist/cli/{chunk-ORLJIJVX.mjs → chunk-HGUFTSB5.mjs} +11 -13
  39. package/dist/cli/{chunk-FHYNK7GL.mjs → chunk-I2TSRLOI.mjs} +1 -1
  40. package/dist/cli/{chunk-OQQDNJ2D.mjs → chunk-JFS4KHA3.mjs} +5 -5
  41. package/dist/cli/{chunk-NMSDMXYS.js → chunk-K2BU67UC.js} +2 -2
  42. package/dist/cli/{chunk-XQTJET2Y.mjs → chunk-KIIOKQFY.mjs} +1 -1
  43. package/dist/cli/{chunk-CCGFSELM.mjs → chunk-KQAEXBVQ.mjs} +3 -3
  44. package/dist/cli/{chunk-Y37JQZBP.js → chunk-KWQHQG53.js} +6 -6
  45. package/dist/cli/{chunk-V5SF5CJ7.js → chunk-LCPJR3IY.js} +2 -2
  46. package/dist/cli/{chunk-EKZ6JD6K.js → chunk-LQ45LCH7.js} +9 -9
  47. package/dist/cli/{chunk-APJ6YIYW.mjs → chunk-LV2LGW2Q.mjs} +1 -1
  48. package/dist/cli/{chunk-N6EU2FRF.mjs → chunk-LYBZLA6F.mjs} +2 -2
  49. package/dist/cli/{chunk-JWLV3XRF.js → chunk-LYJ2NSHD.js} +17 -12
  50. package/dist/cli/{chunk-MTM6WNPP.mjs → chunk-M4YWN5BT.mjs} +4 -4
  51. package/dist/cli/{chunk-H6NF5SNY.mjs → chunk-N6X2UKYQ.mjs} +2 -2
  52. package/dist/cli/{chunk-2NFDB6CL.js → chunk-NKUXW4WB.js} +2 -2
  53. package/dist/cli/{chunk-OBZB4J7B.js → chunk-NOMO5GPI.js} +1 -1
  54. package/dist/cli/{chunk-GFWVBXAK.mjs → chunk-NONMY5CY.mjs} +2 -2
  55. package/dist/cli/{chunk-QXAPAHIG.js → chunk-NWZU6HL4.js} +13 -13
  56. package/dist/cli/{chunk-FXN5WSTY.js → chunk-OOGP737I.js} +20 -20
  57. package/dist/cli/{chunk-LUQMTNFB.mjs → chunk-OSRATALX.mjs} +1 -1
  58. package/dist/cli/{chunk-ZO65VJRJ.js → chunk-PGRRMVQ5.js} +10 -1
  59. package/dist/cli/{chunk-MTHAVEQN.js → chunk-PLWZ3NB7.js} +5 -5
  60. package/dist/cli/{chunk-MXK4M7HP.js → chunk-Q4VKMF3B.js} +17 -17
  61. package/dist/cli/{chunk-SKHUWQZE.js → chunk-QA55PGJH.js} +17 -7
  62. package/dist/cli/{chunk-425SUSDJ.mjs → chunk-S2OXA7QS.mjs} +7 -7
  63. package/dist/cli/{chunk-NDMKFA6W.mjs → chunk-SUHCW7U5.mjs} +3 -3
  64. package/dist/cli/{chunk-U6Y4HX6J.mjs → chunk-SZIWFQI2.mjs} +3 -3
  65. package/dist/cli/{chunk-4ANO4DM5.mjs → chunk-TFNDOH4W.mjs} +1 -1
  66. package/dist/cli/{chunk-JHQ7FORY.js → chunk-TVAFWAOQ.js} +3 -3
  67. package/dist/cli/{chunk-NVJGVNEN.js → chunk-UYCBG75H.js} +5 -5
  68. package/dist/cli/{chunk-RW3URFZK.mjs → chunk-VFIIRK7S.mjs} +2 -2
  69. package/dist/cli/{chunk-WP4Q5PTK.mjs → chunk-WQQQP3FH.mjs} +4 -4
  70. package/dist/cli/{chunk-772IV64Y.js → chunk-WWSGXX6U.js} +5 -5
  71. package/dist/cli/{chunk-Q3WDT3YA.mjs → chunk-X6LPC3SU.mjs} +1 -1
  72. package/dist/cli/{chunk-DA5C5WOI.mjs → chunk-XQYBBCFI.mjs} +2 -2
  73. package/dist/cli/{chunk-FRYLXDNP.js → chunk-XTM6NOJ6.js} +53 -53
  74. package/dist/cli/{chunk-EJN43WGD.js → chunk-Y2ND6PPW.js} +48 -48
  75. package/dist/cli/{chunk-I44Y4MPK.mjs → chunk-YCWRKSLB.mjs} +8 -3
  76. package/dist/cli/command-docs.js +2 -2
  77. package/dist/cli/command-docs.mjs +1 -1
  78. package/dist/cli/concurrent-runs-help-D6XH3FY5.js +22 -0
  79. package/dist/cli/{concurrent-runs-help-6CGXMTFQ.mjs → concurrent-runs-help-IQBZBTD5.mjs} +6 -6
  80. package/dist/cli/{csv-L7P6PC6I.mjs → csv-6BEOWTGM.mjs} +4 -4
  81. package/dist/cli/{csv-7UZT2LGE.js → csv-T7TWLIGD.js} +13 -13
  82. package/dist/cli/{db-4OOEC5KV.mjs → db-FA5QGXZ7.mjs} +6 -6
  83. package/dist/cli/{db-7KETOIZY.js → db-MFTUN3DF.js} +27 -27
  84. package/dist/cli/{describe-M6HEFS46.mjs → describe-TITEQNVE.mjs} +21 -21
  85. package/dist/cli/describe-TYZ5YH3V.js +50 -0
  86. package/dist/cli/describe-core.d.mts +4 -2
  87. package/dist/cli/describe-core.d.ts +4 -2
  88. package/dist/cli/describe-core.js +4 -4
  89. package/dist/cli/describe-core.mjs +3 -3
  90. package/dist/cli/{executions-U27R2LY4.mjs → executions-DMYJJIRB.mjs} +6 -6
  91. package/dist/cli/{executions-UIR6RQFM.js → executions-QW3L7G7J.js} +8 -8
  92. package/dist/cli/{feedback-CQ5FUE4T.js → feedback-6JZGE7OQ.js} +14 -14
  93. package/dist/cli/{feedback-UUUISTGQ.mjs → feedback-WPSNSFRC.mjs} +6 -6
  94. package/dist/cli/{git-DTILSRIQ.mjs → git-GO65XRM3.mjs} +5 -5
  95. package/dist/cli/git-UGGRLGTQ.js +26 -0
  96. package/dist/cli/index.js +148 -148
  97. package/dist/cli/index.mjs +47 -47
  98. package/dist/cli/{integrations-NNACG3HD.mjs → integrations-EEBPETH2.mjs} +7 -7
  99. package/dist/cli/{integrations-ABBLLEJH.js → integrations-T5JPSZXN.js} +29 -29
  100. package/dist/cli/{legacy-noops-3JLS5OD7.js → legacy-noops-B55OMNH7.js} +9 -9
  101. package/dist/cli/{legacy-noops-KQW7AIYU.mjs → legacy-noops-XDNZ46IR.mjs} +6 -6
  102. package/dist/cli/{mcp-JPBFKR26.js → mcp-3YA333TQ.js} +24 -24
  103. package/dist/cli/{mcp-7NHGPYZH.mjs → mcp-4QIUAAWS.mjs} +4 -4
  104. package/dist/cli/{monitors-JOE2DALW.mjs → monitors-BVUPS4CE.mjs} +7 -7
  105. package/dist/cli/{monitors-J6HK5KCN.js → monitors-FOS7MWZO.js} +100 -100
  106. package/dist/cli/{org-WFZFQIXQ.js → org-CYM7HFLN.js} +121 -121
  107. package/dist/cli/{org-VZZ4LN4O.mjs → org-TCMRRVFC.mjs} +6 -6
  108. package/dist/cli/{outcomes-H2WEZYNT.mjs → outcomes-2JSWXWQ3.mjs} +6 -6
  109. package/dist/cli/{outcomes-RZWL47BJ.js → outcomes-VDJVP5YC.js} +14 -14
  110. package/dist/cli/{play-KMWA7GVN.mjs → play-CPP4EBYF.mjs} +20 -20
  111. package/dist/cli/{play-2ZEBUF5T.js → play-U3G73VIR.js} +349 -349
  112. package/dist/cli/{providers-57AZWFSW.js → providers-2ZB67TK7.js} +9 -9
  113. package/dist/cli/{providers-2BIA3OWA.mjs → providers-RVMIX5ED.mjs} +6 -6
  114. package/dist/cli/{quickstart-NSDM2RXV.mjs → quickstart-L3YO3OWZ.mjs} +4 -4
  115. package/dist/cli/{quickstart-EYJFERQO.js → quickstart-V3Y7XZ47.js} +6 -6
  116. package/dist/cli/{run-BW62DZGQ.js → run-M2CADJ6E.js} +49 -48
  117. package/dist/cli/{run-X6H5SCEE.mjs → run-PQ3Z2GOF.mjs} +27 -26
  118. package/dist/cli/{search-2VN74P5N.mjs → search-QVLGI7SZ.mjs} +7 -7
  119. package/dist/cli/search-RHPPZZFG.js +32 -0
  120. package/dist/cli/{search-output-SFWQVBYU.js → search-output-IUANVHWU.js} +8 -8
  121. package/dist/cli/{search-output-VN7XOZEQ.mjs → search-output-PN3V7MSO.mjs} +5 -5
  122. package/dist/cli/{secrets-OIPKG2H7.js → secrets-AOW6F67J.js} +15 -15
  123. package/dist/cli/{secrets-4M26N436.mjs → secrets-HK25G4K2.mjs} +6 -6
  124. package/dist/cli/sessions-AEGGTZ3K.js +23 -0
  125. package/dist/cli/{sessions-SYFH23L3.mjs → sessions-YN2OIAGR.mjs} +6 -6
  126. package/dist/cli/{settings-5NB4HZYL.js → settings-6EV2FPGF.js} +85 -85
  127. package/dist/cli/{settings-4HPF3T4P.mjs → settings-7UW5TWSM.mjs} +12 -12
  128. package/dist/cli/{setup-CI74F6CL.mjs → setup-BG56SHKH.mjs} +9 -9
  129. package/dist/cli/{setup-JV3F5C7P.js → setup-ZQPD2R5K.js} +49 -49
  130. package/dist/cli/skills-C6ZEZWBE.js +37 -0
  131. package/dist/cli/{skills-76CM4GHO.mjs → skills-MQV2TNUZ.mjs} +7 -7
  132. package/dist/cli/tools-PM3MC3RR.js +57 -0
  133. package/dist/cli/{tools-SVGLDWOC.mjs → tools-RGI4OE5T.mjs} +19 -19
  134. package/dist/cli/{update-KPMDOZRX.mjs → update-SQKGHQKF.mjs} +9 -9
  135. package/dist/cli/update-ZHUPF2HT.js +37 -0
  136. package/dist/cli/{views-KW54SAES.mjs → views-734T2CXF.mjs} +6 -6
  137. package/dist/cli/{views-R37NWN6J.js → views-BUKVHCRD.js} +21 -21
  138. package/dist/cli/{workflow-3MIRQV4Q.mjs → workflow-JNRRBMEK.mjs} +7 -7
  139. package/dist/cli/{workflow-BKRKUNYS.js → workflow-LPJC6RHP.js} +17 -17
  140. package/dist/{client-BrdMPFCM.d.ts → client-C1AubrWJ.d.ts} +1 -1
  141. package/dist/{client-CF-bsrtI.d.mts → client-CNYctEBh.d.mts} +1 -1
  142. package/dist/{client-core-DM1ZedOG.d.mts → client-core-Bb06TCx5.d.mts} +7 -0
  143. package/dist/{client-core-rMoUWSYM.d.ts → client-core-D6zAE46g.d.ts} +7 -0
  144. package/dist/index.d.mts +3 -3
  145. package/dist/index.d.ts +3 -3
  146. package/dist/index.js +9 -9
  147. package/dist/index.mjs +6 -6
  148. package/dist/install-integrity.json +126 -126
  149. package/dist/plays/play-description.d.mts +1 -1
  150. package/dist/plays/play-description.d.ts +1 -1
  151. package/dist/plays/run-request.d.mts +1 -1
  152. package/dist/plays/run-request.d.ts +1 -1
  153. package/dist/release.d.mts +1 -1
  154. package/dist/release.d.ts +1 -1
  155. package/dist/release.js +2 -2
  156. package/dist/release.mjs +1 -1
  157. package/dist/server.d.mts +2 -2
  158. package/dist/server.d.ts +2 -2
  159. package/dist/server.js +5 -5
  160. package/dist/server.mjs +3 -3
  161. package/package.json +1 -1
  162. package/dist/cli/auth-A5U6GVCF.js +0 -44
  163. package/dist/cli/concurrent-runs-help-VJDPVGXM.js +0 -22
  164. package/dist/cli/describe-RLWJYZIR.js +0 -50
  165. package/dist/cli/git-ZGDD3BVX.js +0 -26
  166. package/dist/cli/search-HYRDZVPQ.js +0 -32
  167. package/dist/cli/sessions-5P2KZOQE.js +0 -23
  168. package/dist/cli/skills-PJ5EL32L.js +0 -37
  169. package/dist/cli/tools-Y5ID2SPK.js +0 -57
  170. package/dist/cli/update-FSUMCMNZ.js +0 -37
@@ -524,6 +524,13 @@ Output fields:
524
524
  quota.* monthly cap, when enabled.
525
525
  recent activity one line per billed call in
526
526
  render.sections, newest first.
527
+ recent.entries[].credential_source the provider key the call ran
528
+ on: managed (Deepline's),
529
+ user (yours), or unknown
530
+ (recorded before it was
531
+ stored, or no provider key).
532
+ api_key_id is the Deepline
533
+ key that called.
527
534
  ]]
528
535
  Cases:
529
536
  A run that is still active shows a partial spend; read it again after the
@@ -647,8 +654,10 @@ Examples:
647
654
  deepline run -e 'return { doubled: input.n * 2 };' --input '{"n":21}'
648
655
  Output:
649
656
  A receipt: what ran, its status and cost, where the data was saved, and
650
- the first values. --receipt-out <path> writes the JSON receipt only to that
651
- new file, even with --json. File errors go to stderr. Use --json-out - or
657
+ the first values. A tool call's credentialSource says which provider key it
658
+ ran on (or, with --dry-run, would run on): managed is Deepline's key, user
659
+ is your own connected key. --receipt-out <path> writes the JSON receipt only
660
+ to that new file, even with --json. File errors go to stderr. Use --json-out - or
652
661
  --csv-out - to pipe result data to stdout.
653
662
  --fields picks values and CSV columns. Exit code 0 completed, 1 failed or
654
663
  still running, 2 nothing ran.
@@ -4326,17 +4335,6 @@ Make an agent (members with the run grant):
4326
4335
  Only an agent's or skill's creator, or an admin, changes or deletes it:
4327
4336
  [[agents update pipeline --skills icp,territories]], [[agents delete pipeline]],
4328
4337
  [[agents channels remove C0123456789]], [[agents skills delete icp]].
4329
- Name in Slack:
4330
- An agent posts under the Slack app's own name unless it has a display
4331
- name: [[agents update pipeline --display-name "Pipeline Panda"]] (or
4332
- --display-name on create). Each post in that agent's channels then shows
4333
- it, with the app's badge, so a channel shows which agent answers there.
4334
- --display-name "" returns it to the app's name. At most 80 characters, one
4335
- line. People still @mention the app's own handle, and Slack's app pages
4336
- show the app's name. It needs the same Slack scope as the workspace logo:
4337
- a Slack workspace installed before that keeps the app's name until it is
4338
- installed again. A new name, or a channel moved to another agent, shows
4339
- on posts within a minute.
4340
4338
  Models:
4341
4339
  One key serves every agent, so your agents run on the models of that
4342
4340
  key's provider. An agent runs on the provider's default unless it is given
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-2MGZAI54.mjs";
22
22
  import {
23
23
  SDK_RELEASE
24
- } from "./chunk-ID5WQZ2H.mjs";
24
+ } from "./chunk-6NYHMXC7.mjs";
25
25
 
26
26
  // src/version.ts
27
27
  var SDK_VERSION = SDK_RELEASE.version;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-4ANO4DM5.mjs";
3
+ } from "./chunk-TFNDOH4W.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-O35BHZLQ.mjs";
6
+ } from "./chunk-6DMGKAWO.mjs";
7
7
  import {
8
8
  DEFAULT_MAX_RETRIES,
9
9
  DEFAULT_SKILL_AGENTS,
@@ -18,20 +18,20 @@ import {
18
18
  sdkCliStateDirPath,
19
19
  skillsAgentPathSegment,
20
20
  writeSdkSkillsLocalVersion
21
- } from "./chunk-CWHXE6HJ.mjs";
21
+ } from "./chunk-3Z4TVZE7.mjs";
22
22
  import {
23
23
  SDK_API_CONTRACT,
24
24
  SDK_API_MAJOR,
25
25
  SDK_VERSION,
26
26
  deploymentProtectionHeaders,
27
27
  detectAgentRuntime
28
- } from "./chunk-FHYNK7GL.mjs";
28
+ } from "./chunk-I2TSRLOI.mjs";
29
29
  import {
30
30
  DeeplineError
31
31
  } from "./chunk-Z3A2S3QM.mjs";
32
32
  import {
33
33
  SDK_RELEASE
34
- } from "./chunk-ID5WQZ2H.mjs";
34
+ } from "./chunk-6NYHMXC7.mjs";
35
35
 
36
36
  // src/compat.ts
37
37
  import { randomUUID } from "crypto";
@@ -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 _chunkEJN43WGDjs = require('./chunk-EJN43WGD.js');
3
+ var _chunkY2ND6PPWjs = require('./chunk-Y2ND6PPW.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 = _chunkEJN43WGDjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkY2ND6PPWjs.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",
@@ -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-FHYNK7GL.mjs";
40
+ } from "./chunk-I2TSRLOI.mjs";
41
41
  import {
42
42
  CustomerDbQueryOutcomeUnknownError
43
43
  } from "./chunk-ASB47RXJ.mjs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-ATW77ZBL.mjs";
3
+ } from "./chunk-6EVVUVU3.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-O35BHZLQ.mjs";
6
+ } from "./chunk-6DMGKAWO.mjs";
7
7
  import {
8
8
  resolveConfig
9
- } from "./chunk-CWHXE6HJ.mjs";
9
+ } from "./chunk-3Z4TVZE7.mjs";
10
10
 
11
11
  // src/cli/commands/integration-commands.ts
12
12
  import { Option } from "commander";
@@ -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 _chunk2NFDB6CLjs = require('./chunk-2NFDB6CL.js');
3
+ var _chunkNKUXW4WBjs = require('./chunk-NKUXW4WB.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkEJN43WGDjs = require('./chunk-EJN43WGD.js');
8
+ var _chunkY2ND6PPWjs = require('./chunk-Y2ND6PPW.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,18 +18,18 @@ 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") _chunkEJN43WGDjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunk2NFDB6CLjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkY2ND6PPWjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkNKUXW4WBjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkEJN43WGDjs.requireSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkY2ND6PPWjs.requireSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
29
29
  })
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
- _chunkEJN43WGDjs.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
32
+ _chunkY2ND6PPWjs.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
33
33
  quietAdvisory: true
34
34
  });
35
35
  }
@@ -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 _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
3
+ var _chunkOOGP737Ijs = require('./chunk-OOGP737I.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
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
60
+ _chunkOOGP737Ijs.printCommandEnvelope.call(void 0,
61
61
  { ok: false, code, exitCode: 2, message },
62
62
  { json: true }
63
63
  );
@@ -3,7 +3,7 @@
3
3
  var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
4
4
 
5
5
 
6
- var _chunkX5ZE7K4Jjs = require('./chunk-X5ZE7K4J.js');
6
+ var _chunk7HOYKXVYjs = require('./chunk-7HOYKXVY.js');
7
7
 
8
8
 
9
9
  var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
@@ -11,7 +11,7 @@ var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
14
+ var _chunkOOGP737Ijs = require('./chunk-OOGP737I.js');
15
15
 
16
16
 
17
17
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkFXN5WSTYjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkOOGP737Ijs.parseJsonFields.call(void 0, args, "run");
585
585
  args = selection.args;
586
586
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
587
587
  let filePath = null;
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
593
593
  let revisionSelector = null;
594
594
  const watch = !args.includes("--no-wait");
595
595
  const dryRun = args.includes("--dry-run");
596
- let jsonOutput = dryRun ? _chunkFXN5WSTYjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkFXN5WSTYjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkOOGP737Ijs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkOOGP737Ijs.argsWantJson.call(void 0, args);
597
597
  const fullJson = args.includes("--full");
598
598
  const force = args.includes("--force") || args.includes("--from-start");
599
599
  const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
@@ -657,7 +657,7 @@ function parsePlayRunOptions(args, initialInput = null) {
657
657
  "--log-level requires one of: debug, info, warn, error."
658
658
  );
659
659
  }
660
- const parsed = _chunkX5ZE7K4Jjs.parseLogLevel.call(void 0, value);
660
+ const parsed = _chunk7HOYKXVYjs.parseLogLevel.call(void 0, value);
661
661
  if (!parsed) {
662
662
  throw new Error(
663
663
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -990,7 +990,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
990
990
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
991
991
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
992
992
  );
993
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkX5ZE7K4Jjs.parseLogLevel.call(void 0, options.logLevel);
993
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk7HOYKXVYjs.parseLogLevel.call(void 0, options.logLevel);
994
994
  if (!logLevel)
995
995
  throw new Error("--log-level requires one of: debug, info, warn, error.");
996
996
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -1004,13 +1004,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
1004
1004
  if (debugAlias || debugMapLatency && logLevel === "info")
1005
1005
  logLevel = "debug";
1006
1006
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
1007
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkFXN5WSTYjs.parseJsonFields.call(void 0,
1008
- [...fullJson ? ["--full"] : [], ..._chunkFXN5WSTYjs.jsonFieldArgs.call(void 0, options.json)],
1007
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkOOGP737Ijs.parseJsonFields.call(void 0,
1008
+ [...fullJson ? ["--full"] : [], ..._chunkOOGP737Ijs.jsonFieldArgs.call(void 0, options.json)],
1009
1009
  "run"
1010
1010
  ).fields;
1011
1011
  const watch = options.wait === false ? false : base.watch;
1012
1012
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
1013
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkFXN5WSTYjs.argsWantJson.call(void 0, []) : explicitJson;
1013
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkOOGP737Ijs.argsWantJson.call(void 0, []) : explicitJson;
1014
1014
  const verboseLogs = Boolean(
1015
1015
  debugAlias || logLevel === "debug" || debugMapLatency
1016
1016
  );
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-OQQDNJ2D.mjs";
3
+ } from "./chunk-JFS4KHA3.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-MF7PCM6C.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-XQTJET2Y.mjs";
6
+ } from "./chunk-KIIOKQFY.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-5TYLSS4Q.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-O35BHZLQ.mjs";
14
+ } from "./chunk-6DMGKAWO.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-Z3A2S3QM.mjs";
@@ -2,14 +2,15 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkZO65VJRJjs = require('./chunk-ZO65VJRJ.js');
6
5
 
6
+ var _chunkPGRRMVQ5js = require('./chunk-PGRRMVQ5.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
12
+
13
+ var _chunkOOGP737Ijs = require('./chunk-OOGP737I.js');
13
14
 
14
15
  // src/cli/describe-options.ts
15
16
  function addDescribeOptions(command, options = {}) {
@@ -27,7 +28,7 @@ function addDescribeOptions(command, options = {}) {
27
28
  "Show only the in-play example, and explain how it takes inputs and returns outputs"
28
29
  ).option("--no-example", "Hide the run examples").option(
29
30
  "--full-schema",
30
- `Print every field: a long schema unfolded (over ${_chunkZO65VJRJjs.SCHEMA_LINE_LIMIT} lines), list rows, and a tool's raw response`
31
+ `Print every field: a long schema unfolded (over ${_chunkPGRRMVQ5js.SCHEMA_LINE_LIMIT} lines), list rows, and a tool's raw response`
31
32
  ).option(
32
33
  "--fields <names>",
33
34
  "Show only these fields, comma-separated, plus every required input"
@@ -250,7 +251,7 @@ function projectRunDatasetCell(value) {
250
251
  const logicalValue = parseSerializedDatasetValue(value);
251
252
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
252
253
  if (typeof logicalValue === "object") {
253
- return _chunkFXN5WSTYjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
254
+ return _chunkOOGP737Ijs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
254
255
  }
255
256
  return logicalValue;
256
257
  }
@@ -642,7 +643,7 @@ function csvText(rows, columns = []) {
642
643
  rows: rows.map((row) => record(row) ? row : { value: row }),
643
644
  columns
644
645
  });
645
- return _chunkFXN5WSTYjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
+ return _chunkOOGP737Ijs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
647
  }
647
648
  function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
648
649
  let temp;
@@ -757,6 +758,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
757
758
  outputs,
758
759
  page: _nullishCoalesce(result.page, () => ( null)),
759
760
  price: _nullishCoalesce(result.price, () => ( null)),
761
+ ...result.credentialSource ? { credentialSource: result.credentialSource } : {},
760
762
  declaredOutputs: (_nullishCoalesce(result.declared, () => ( []))).map(({ name, path }) => ({
761
763
  name,
762
764
  path
@@ -770,7 +772,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
770
772
  };
771
773
  if (options.receiptOut && !skipReceiptFile) {
772
774
  persist(options.receiptOut, jsonText(receipt));
773
- _chunkFXN5WSTYjs.markJsonOutputHandled.call(void 0, );
775
+ _chunkOOGP737Ijs.markJsonOutputHandled.call(void 0, );
774
776
  } else {
775
777
  printReceipt(receipt, options, {
776
778
  data: hasData ? result.data : void 0,
@@ -874,9 +876,9 @@ function annotated(schema, values) {
874
876
  function shapeLines(title, data) {
875
877
  const schema = annotated(observedSchema(data), [data]);
876
878
  const block = (heading, fieldSchema) => {
877
- const { lines, folded } = _chunkZO65VJRJjs.fieldBlockLines.call(void 0,
879
+ const { lines, folded } = _chunkPGRRMVQ5js.fieldBlockLines.call(void 0,
878
880
  heading,
879
- _chunkZO65VJRJjs.schemaFields.call(void 0, fieldSchema)
881
+ _chunkPGRRMVQ5js.schemaFields.call(void 0, fieldSchema)
880
882
  );
881
883
  return [
882
884
  ...lines,
@@ -905,7 +907,10 @@ function receiptText(receipt, options, extra) {
905
907
  ...receipt.credits !== null ? [
906
908
  `Cost: ${receipt.credits} ${receipt.credits === 1 ? "credit" : "credits"}${receipt.creditsPostedSoFar ? " posted so far" : ""}`
907
909
  ] : [],
908
- ...receipt.price ? [`Price: ${receipt.price}`] : []
910
+ ...receipt.price ? [`Price: ${receipt.price}`] : [],
911
+ ..._chunkPGRRMVQ5js.credentialSourceText.call(void 0, receipt.credentialSource) ? [
912
+ `${receipt.status === "dry_run" ? "Would run on" : "Ran on"}: ${_chunkPGRRMVQ5js.credentialSourceText.call(void 0, receipt.credentialSource)}`
913
+ ] : []
909
914
  ]
910
915
  ];
911
916
  const { csv, json } = receipt.outputs;
@@ -939,7 +944,7 @@ function receiptText(receipt, options, extra) {
939
944
  problems.push(
940
945
  `Error: ${record(error) && typeof error.message === "string" ? error.message : JSON.stringify(error)}`
941
946
  );
942
- const diagnostic = _chunkFXN5WSTYjs.formatCliFailureDiagnostic.call(void 0, error);
947
+ const diagnostic = _chunkOOGP737Ijs.formatCliFailureDiagnostic.call(void 0, error);
943
948
  if (diagnostic) problems.push(...diagnostic.split("\n"));
944
949
  if (record(error) && typeof error.recoveryFile === "string") {
945
950
  problems.push(
@@ -1032,8 +1037,8 @@ function printReceipt(receipt, options, extra) {
1032
1037
  const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
1033
1038
  ` : receiptText(receipt, options, extra);
1034
1039
  if (options.receiptOut !== void 0) {
1035
- _chunkFXN5WSTYjs.writeRawStderr.call(void 0, text);
1036
- _chunkFXN5WSTYjs.markJsonOutputHandled.call(void 0, );
1040
+ _chunkOOGP737Ijs.writeRawStderr.call(void 0, text);
1041
+ _chunkOOGP737Ijs.markJsonOutputHandled.call(void 0, );
1037
1042
  } else {
1038
1043
  (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1039
1044
  }
@@ -3,16 +3,16 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-ATW77ZBL.mjs";
6
+ } from "./chunk-6EVVUVU3.mjs";
7
7
  import {
8
8
  errorToJsonPayload,
9
9
  printCommandEnvelope,
10
10
  resolveSdkCliFailureExitCode
11
- } from "./chunk-O35BHZLQ.mjs";
11
+ } from "./chunk-6DMGKAWO.mjs";
12
12
  import {
13
13
  resolveConfig,
14
14
  sdkCliStateDirPath
15
- } from "./chunk-CWHXE6HJ.mjs";
15
+ } from "./chunk-3Z4TVZE7.mjs";
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  import { Option } from "commander";
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  }
135
135
  const client = new DeeplineClient();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await import("./search-output-VN7XOZEQ.mjs");
137
+ const renderer = json ? void 0 : await import("./search-output-PN3V7MSO.mjs");
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-Q3WDT3YA.mjs";
3
+ } from "./chunk-X6LPC3SU.mjs";
4
4
  import {
5
5
  enforceSdkCompatibilityResponse,
6
6
  flushDeferredSkillsSyncNotices,
7
7
  requireSdkCompatibility
8
- } from "./chunk-OQQDNJ2D.mjs";
8
+ } from "./chunk-JFS4KHA3.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 _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
3
+ var _chunkOOGP737Ijs = require('./chunk-OOGP737I.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
- _chunkFXN5WSTYjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkOOGP737Ijs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -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.577",
52
+ version: "0.3.579",
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
  PlayClient
3
- } from "./chunk-XQTJET2Y.mjs";
3
+ } from "./chunk-KIIOKQFY.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-CWHXE6HJ.mjs";
7
+ } from "./chunk-3Z4TVZE7.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -1,15 +1,15 @@
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 _chunkV5SF5CJ7js = require('./chunk-V5SF5CJ7.js');
3
+ var _chunkLCPJR3IYjs = require('./chunk-LCPJR3IY.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
7
+ var _chunkOOGP737Ijs = require('./chunk-OOGP737I.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkRSZSKTRCjs = require('./chunk-RSZSKTRC.js');
12
+ var _chunk6MIEJJSOjs = require('./chunk-6MIEJJSO.js');
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
 
@@ -55,7 +55,7 @@ function codexSessionsRoot() {
55
55
  }
56
56
  function listClaudeSessionFiles() {
57
57
  const files = [];
58
- for (const root of _chunkRSZSKTRCjs.claudeProjectsRoots.call(void 0, )) {
58
+ for (const root of _chunk6MIEJJSOjs.claudeProjectsRoots.call(void 0, )) {
59
59
  files.push(...listClaudeSessionFilesIn(root));
60
60
  }
61
61
  return files;
@@ -147,7 +147,7 @@ function currentSessionFile(agent) {
147
147
  const newestFirst = listSessionFiles(agent).sort(
148
148
  (a, b) => b.mtimeMs - a.mtimeMs
149
149
  );
150
- const sessionId = _chunkRSZSKTRCjs.agentSessionIdFromEnvironment.call(void 0,
150
+ const sessionId = _chunk6MIEJJSOjs.agentSessionIdFromEnvironment.call(void 0,
151
151
  process.env,
152
152
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
153
153
  );
@@ -156,7 +156,7 @@ function currentSessionFile(agent) {
156
156
  (candidate) => candidate.sessionId === sessionId
157
157
  );
158
158
  if (named) return named;
159
- const cowork = agent === "codex" ? null : _chunkRSZSKTRCjs.coworkTranscriptFromEnvironment.call(void 0, );
159
+ const cowork = agent === "codex" ? null : _chunk6MIEJJSOjs.coworkTranscriptFromEnvironment.call(void 0, );
160
160
  const coworkStat = cowork ? statIfReadable(cowork.filePath) : null;
161
161
  if (cowork && coworkStat) {
162
162
  return { agent: "claude", ...cowork, mtimeMs: coworkStat.mtimeMs };
@@ -166,7 +166,7 @@ function currentSessionFile(agent) {
166
166
  ), () => ( newestFirst[0])), () => ( null));
167
167
  }
168
168
  function feedbackAgentSessionId(agentRuntime) {
169
- return _nullishCoalesce(_chunkRSZSKTRCjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkRSZSKTRCjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
169
+ return _nullishCoalesce(_chunk6MIEJJSOjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunk6MIEJJSOjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
170
170
  }
171
171
  function sessionStartedInDirectory(candidate, cwd) {
172
172
  if (candidate.agent === "claude") {
@@ -215,7 +215,7 @@ function readCodexSessionId(filePath) {
215
215
  return null;
216
216
  }
217
217
  function sessionSearchDescription(agent) {
218
- const claude = _chunkRSZSKTRCjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
218
+ const claude = _chunk6MIEJJSOjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
219
219
  if (agent === "claude") return claude;
220
220
  if (agent === "codex") return "~/.codex/sessions/**/*.jsonl";
221
221
  return `${claude} or ~/.codex/sessions/**/*.jsonl`;
@@ -472,7 +472,7 @@ function buildSessionUploadContent(raw) {
472
472
  return { encodedContent: encoded, needsChunking: true };
473
473
  }
474
474
  async function uploadPayload(path, payload) {
475
- const { http } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
475
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
476
476
  return await http.post(path, payload);
477
477
  }
478
478
  async function uploadChunkedSessions(sessions, options) {
@@ -550,7 +550,7 @@ async function uploadAgentSession(agentRuntime) {
550
550
  return target.sessionId;
551
551
  }
552
552
  async function handleSessionsSend(options) {
553
- if (_chunkV5SF5CJ7js.rejectRestrictedFeedback.call(void 0, options)) return;
553
+ if (_chunkLCPJR3IYjs.rejectRestrictedFeedback.call(void 0, options)) return;
554
554
  const rating = parseSessionRating(options.rating);
555
555
  if (options.file) {
556
556
  const filePath = _path.resolve.call(void 0, options.file);
@@ -562,7 +562,7 @@ async function handleSessionsSend(options) {
562
562
  filename: _path.basename.call(void 0, filePath),
563
563
  ...rating ? { rating } : {}
564
564
  });
565
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
565
+ _chunkOOGP737Ijs.printCommandEnvelope.call(void 0,
566
566
  {
567
567
  ...response2,
568
568
  ok: true,
@@ -594,7 +594,7 @@ async function handleSessionsSend(options) {
594
594
  labeled: Boolean(_optionalChain([options, 'access', _27 => _27.label, 'optionalAccess', _28 => _28.length]))
595
595
  });
596
596
  const sessionIds = built.map((session) => session.sessionId);
597
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
597
+ _chunkOOGP737Ijs.printCommandEnvelope.call(void 0,
598
598
  {
599
599
  ...response,
600
600
  ok: true,
@@ -702,7 +702,7 @@ ${refreshMeta}
702
702
  </body>
703
703
  </html>`;
704
704
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
705
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
705
+ _chunkOOGP737Ijs.printCommandEnvelope.call(void 0,
706
706
  {
707
707
  ok: true,
708
708
  file: outputPath,