deepline 0.3.578 → 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-MCU3ITQZ.js → agents-D5RZEVXQ.js} +31 -31
  11. package/dist/cli/{agents-LRBANBZH.mjs → agents-FJTRTYCL.mjs} +4 -4
  12. package/dist/cli/{auth-5BJKVYMQ.mjs → auth-OMYIDVXZ.mjs} +5 -5
  13. package/dist/cli/auth-Q4O7MJU4.js +44 -0
  14. package/dist/cli/{billing-NT57POHH.js → billing-EWFUDLQ7.js} +104 -102
  15. package/dist/cli/{billing-EBBI4MVL.mjs → billing-XK3LBNYS.mjs} +11 -9
  16. package/dist/cli/{chunk-H7DY5NQ3.mjs → chunk-27ZYRIQC.mjs} +5 -5
  17. package/dist/cli/{chunk-W66GXHYR.mjs → chunk-3Z4TVZE7.mjs} +1 -1
  18. package/dist/cli/{chunk-MXPCTF57.js → chunk-44NTNNKC.js} +11 -2
  19. package/dist/cli/{chunk-4LMTY4RQ.mjs → chunk-6DMGKAWO.mjs} +2 -2
  20. package/dist/cli/{chunk-ITYSPUKD.mjs → chunk-6EVVUVU3.mjs} +2 -2
  21. package/dist/cli/{chunk-4KNRCUKY.mjs → chunk-6GON36H3.mjs} +17 -14
  22. package/dist/cli/{chunk-A7NKOXBV.js → chunk-6MIEJJSO.js} +4 -4
  23. package/dist/cli/{chunk-4YSJOSBG.mjs → chunk-6NYHMXC7.mjs} +1 -1
  24. package/dist/cli/{chunk-PXMCPEE2.js → chunk-72TWLORR.js} +3 -3
  25. package/dist/cli/{chunk-3ZUKYLC6.js → chunk-7HOYKXVY.js} +8 -8
  26. package/dist/cli/{chunk-NEH7NZFT.js → chunk-7JMCRYXU.js} +10 -10
  27. package/dist/cli/{chunk-4CNHOBUO.mjs → chunk-7SZCJC4R.mjs} +2 -2
  28. package/dist/cli/{chunk-27HAQRGH.js → chunk-ABH6PUDZ.js} +23 -23
  29. package/dist/cli/{chunk-M3ITWEGS.js → chunk-AP7PIGL5.js} +41 -41
  30. package/dist/cli/{chunk-BPMA4S3O.js → chunk-BLEYV4BJ.js} +21 -21
  31. package/dist/cli/{chunk-DWUESXDD.mjs → chunk-BZ4M7OFO.mjs} +11 -1
  32. package/dist/cli/{chunk-5LCV36BR.js → chunk-DH736ASH.js} +20 -20
  33. package/dist/cli/{chunk-FYKHAT2F.mjs → chunk-DTQBQSUU.mjs} +9 -0
  34. package/dist/cli/{chunk-HZXF2HFF.mjs → chunk-F57NDSKT.mjs} +5 -5
  35. package/dist/cli/{chunk-VVZ7JZMQ.js → chunk-FKXSIIR4.js} +15 -15
  36. package/dist/cli/{chunk-CS36W3RL.js → chunk-G5CZDRY3.js} +26 -26
  37. package/dist/cli/{chunk-P35YQAUC.js → chunk-HEZW2IDK.js} +277 -274
  38. package/dist/cli/{chunk-AZFSCPYK.mjs → chunk-HGUFTSB5.mjs} +11 -2
  39. package/dist/cli/{chunk-CFLAGRWL.mjs → chunk-I2TSRLOI.mjs} +1 -1
  40. package/dist/cli/{chunk-OAQYLTUN.mjs → chunk-JFS4KHA3.mjs} +5 -5
  41. package/dist/cli/{chunk-XE66BGLB.js → chunk-K2BU67UC.js} +2 -2
  42. package/dist/cli/{chunk-NTHN7ODR.mjs → chunk-KIIOKQFY.mjs} +1 -1
  43. package/dist/cli/{chunk-IFWB4BYZ.mjs → chunk-KQAEXBVQ.mjs} +3 -3
  44. package/dist/cli/{chunk-RLPPLS6A.js → chunk-KWQHQG53.js} +6 -6
  45. package/dist/cli/{chunk-Y2TK7OXN.js → chunk-LCPJR3IY.js} +2 -2
  46. package/dist/cli/{chunk-W47SXEWQ.js → chunk-LQ45LCH7.js} +9 -9
  47. package/dist/cli/{chunk-LYZPGP3P.mjs → chunk-LV2LGW2Q.mjs} +1 -1
  48. package/dist/cli/{chunk-QPOJLAFT.mjs → chunk-LYBZLA6F.mjs} +2 -2
  49. package/dist/cli/{chunk-RWDYULX2.js → chunk-LYJ2NSHD.js} +17 -12
  50. package/dist/cli/{chunk-DDJN4RR6.mjs → chunk-M4YWN5BT.mjs} +4 -4
  51. package/dist/cli/{chunk-VMCJKGZS.mjs → chunk-N6X2UKYQ.mjs} +2 -2
  52. package/dist/cli/{chunk-25SSGQJJ.js → chunk-NKUXW4WB.js} +2 -2
  53. package/dist/cli/{chunk-CPNTDIJK.js → chunk-NOMO5GPI.js} +1 -1
  54. package/dist/cli/{chunk-CFG3ZM7M.mjs → chunk-NONMY5CY.mjs} +2 -2
  55. package/dist/cli/{chunk-24FGR73C.js → chunk-NWZU6HL4.js} +13 -13
  56. package/dist/cli/{chunk-HGQT6EGK.js → chunk-OOGP737I.js} +20 -20
  57. package/dist/cli/{chunk-ALXYCC4K.mjs → chunk-OSRATALX.mjs} +1 -1
  58. package/dist/cli/{chunk-ZO65VJRJ.js → chunk-PGRRMVQ5.js} +10 -1
  59. package/dist/cli/{chunk-J7PCSLRY.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-T2CCLYHV.mjs → chunk-S2OXA7QS.mjs} +7 -7
  63. package/dist/cli/{chunk-HKZN33F2.mjs → chunk-SUHCW7U5.mjs} +3 -3
  64. package/dist/cli/{chunk-PJXPHUAR.mjs → chunk-SZIWFQI2.mjs} +3 -3
  65. package/dist/cli/{chunk-7J473OJ5.mjs → chunk-TFNDOH4W.mjs} +1 -1
  66. package/dist/cli/{chunk-XBO4ERH6.js → chunk-TVAFWAOQ.js} +3 -3
  67. package/dist/cli/{chunk-UKSOIH2P.js → chunk-UYCBG75H.js} +5 -5
  68. package/dist/cli/{chunk-RW3URFZK.mjs → chunk-VFIIRK7S.mjs} +2 -2
  69. package/dist/cli/{chunk-3GF33QJJ.mjs → chunk-WQQQP3FH.mjs} +4 -4
  70. package/dist/cli/{chunk-G7PH2QVM.js → chunk-WWSGXX6U.js} +5 -5
  71. package/dist/cli/{chunk-JQPFICW3.mjs → chunk-X6LPC3SU.mjs} +1 -1
  72. package/dist/cli/{chunk-6UFTWNC5.mjs → chunk-XQYBBCFI.mjs} +2 -2
  73. package/dist/cli/{chunk-5IMWXYVB.js → chunk-XTM6NOJ6.js} +53 -53
  74. package/dist/cli/{chunk-XX7TZM4N.js → chunk-Y2ND6PPW.js} +48 -48
  75. package/dist/cli/{chunk-CSPOWVWS.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-2MHLIUC6.mjs → concurrent-runs-help-IQBZBTD5.mjs} +6 -6
  80. package/dist/cli/{csv-J6SRBMOT.mjs → csv-6BEOWTGM.mjs} +4 -4
  81. package/dist/cli/{csv-RYYDAC76.js → csv-T7TWLIGD.js} +13 -13
  82. package/dist/cli/{db-WK226TM7.mjs → db-FA5QGXZ7.mjs} +6 -6
  83. package/dist/cli/{db-5QLH6QK5.js → db-MFTUN3DF.js} +27 -27
  84. package/dist/cli/{describe-UBSCFPH5.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-XF5BNCFS.mjs → executions-DMYJJIRB.mjs} +6 -6
  91. package/dist/cli/{executions-AGV5V7SD.js → executions-QW3L7G7J.js} +8 -8
  92. package/dist/cli/{feedback-3RDEZE2M.js → feedback-6JZGE7OQ.js} +14 -14
  93. package/dist/cli/{feedback-LT3PDK72.mjs → feedback-WPSNSFRC.mjs} +6 -6
  94. package/dist/cli/{git-7VBTCCBV.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-E7QRWMKZ.mjs → integrations-EEBPETH2.mjs} +7 -7
  99. package/dist/cli/{integrations-JP732FQB.js → integrations-T5JPSZXN.js} +29 -29
  100. package/dist/cli/{legacy-noops-UTL4W5WE.js → legacy-noops-B55OMNH7.js} +9 -9
  101. package/dist/cli/{legacy-noops-UFNQBPIT.mjs → legacy-noops-XDNZ46IR.mjs} +6 -6
  102. package/dist/cli/{mcp-5X4XFB4V.js → mcp-3YA333TQ.js} +24 -24
  103. package/dist/cli/{mcp-YHETA3AU.mjs → mcp-4QIUAAWS.mjs} +4 -4
  104. package/dist/cli/{monitors-WFVZ42OQ.mjs → monitors-BVUPS4CE.mjs} +7 -7
  105. package/dist/cli/{monitors-AN6KH4XY.js → monitors-FOS7MWZO.js} +100 -100
  106. package/dist/cli/{org-CN3XJZLA.js → org-CYM7HFLN.js} +121 -121
  107. package/dist/cli/{org-OMDV7WDF.mjs → org-TCMRRVFC.mjs} +6 -6
  108. package/dist/cli/{outcomes-I4ZTG5ND.mjs → outcomes-2JSWXWQ3.mjs} +6 -6
  109. package/dist/cli/{outcomes-7HCZ6K3Q.js → outcomes-VDJVP5YC.js} +14 -14
  110. package/dist/cli/{play-TSNBSHGA.mjs → play-CPP4EBYF.mjs} +20 -20
  111. package/dist/cli/{play-45VXZ57A.js → play-U3G73VIR.js} +349 -349
  112. package/dist/cli/{providers-RB3TT7AE.js → providers-2ZB67TK7.js} +9 -9
  113. package/dist/cli/{providers-4TB56ZLK.mjs → providers-RVMIX5ED.mjs} +6 -6
  114. package/dist/cli/{quickstart-XHZ3PG5I.mjs → quickstart-L3YO3OWZ.mjs} +4 -4
  115. package/dist/cli/{quickstart-ZNDM6VUD.js → quickstart-V3Y7XZ47.js} +6 -6
  116. package/dist/cli/{run-XNEJGAKV.js → run-M2CADJ6E.js} +49 -48
  117. package/dist/cli/{run-7PY4G6GB.mjs → run-PQ3Z2GOF.mjs} +27 -26
  118. package/dist/cli/{search-BG7KCIOG.mjs → search-QVLGI7SZ.mjs} +7 -7
  119. package/dist/cli/search-RHPPZZFG.js +32 -0
  120. package/dist/cli/{search-output-3ZBNTHGO.js → search-output-IUANVHWU.js} +8 -8
  121. package/dist/cli/{search-output-TWKKP2BE.mjs → search-output-PN3V7MSO.mjs} +5 -5
  122. package/dist/cli/{secrets-FNR6MX6A.js → secrets-AOW6F67J.js} +15 -15
  123. package/dist/cli/{secrets-AZZCE7E3.mjs → secrets-HK25G4K2.mjs} +6 -6
  124. package/dist/cli/sessions-AEGGTZ3K.js +23 -0
  125. package/dist/cli/{sessions-ZAMKN3AF.mjs → sessions-YN2OIAGR.mjs} +6 -6
  126. package/dist/cli/{settings-QGASFWV3.js → settings-6EV2FPGF.js} +85 -85
  127. package/dist/cli/{settings-WKWOOOI2.mjs → settings-7UW5TWSM.mjs} +12 -12
  128. package/dist/cli/{setup-U36W42LE.mjs → setup-BG56SHKH.mjs} +9 -9
  129. package/dist/cli/{setup-KUZDCR3F.js → setup-ZQPD2R5K.js} +49 -49
  130. package/dist/cli/skills-C6ZEZWBE.js +37 -0
  131. package/dist/cli/{skills-25CSZQIK.mjs → skills-MQV2TNUZ.mjs} +7 -7
  132. package/dist/cli/tools-PM3MC3RR.js +57 -0
  133. package/dist/cli/{tools-4NZQ22AA.mjs → tools-RGI4OE5T.mjs} +19 -19
  134. package/dist/cli/{update-CJYP36TG.mjs → update-SQKGHQKF.mjs} +9 -9
  135. package/dist/cli/update-ZHUPF2HT.js +37 -0
  136. package/dist/cli/{views-GYGE7FSV.mjs → views-734T2CXF.mjs} +6 -6
  137. package/dist/cli/{views-76UIPWJD.js → views-BUKVHCRD.js} +21 -21
  138. package/dist/cli/{workflow-LZSWALZS.mjs → workflow-JNRRBMEK.mjs} +7 -7
  139. package/dist/cli/{workflow-NCVXBATM.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-VSW3MTFO.js +0 -44
  163. package/dist/cli/concurrent-runs-help-ATT2GVTQ.js +0 -22
  164. package/dist/cli/describe-Q27SRQWM.js +0 -50
  165. package/dist/cli/git-BBTP3H7J.js +0 -26
  166. package/dist/cli/search-ZBU5GW4W.js +0 -32
  167. package/dist/cli/sessions-GCY62GAW.js +0 -23
  168. package/dist/cli/skills-43DHMLRW.js +0 -37
  169. package/dist/cli/tools-5BGKNMFU.js +0 -57
  170. package/dist/cli/update-CUO2MTB6.js +0 -37
@@ -1,18 +1,18 @@
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; } var _class; var _class2;
2
2
 
3
3
 
4
- var _chunkHGQT6EGKjs = require('./chunk-HGQT6EGK.js');
4
+ var _chunkOOGP737Ijs = require('./chunk-OOGP737I.js');
5
5
 
6
6
 
7
- var _chunkXBO4ERH6js = require('./chunk-XBO4ERH6.js');
8
- require('./chunk-A7NKOXBV.js');
7
+ var _chunkTVAFWAOQjs = require('./chunk-TVAFWAOQ.js');
8
+ require('./chunk-6MIEJJSO.js');
9
9
  require('./chunk-6VLFQZK6.js');
10
10
  require('./chunk-XNYIZMNQ.js');
11
11
 
12
12
 
13
13
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
14
14
  require('./chunk-CFJFUVX2.js');
15
- require('./chunk-CPNTDIJK.js');
15
+ require('./chunk-NOMO5GPI.js');
16
16
  require('./chunk-OG64RBAC.js');
17
17
  require('./chunk-COGTRVWW.js');
18
18
 
@@ -150,7 +150,7 @@ function describeOverview(overview) {
150
150
  ];
151
151
  }
152
152
  function print(payload, title, lines, options) {
153
- _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
153
+ _chunkOOGP737Ijs.printCommandEnvelope.call(void 0,
154
154
  { ...payload, render: { sections: [{ title, lines }] } },
155
155
  { json: options.json }
156
156
  );
@@ -244,7 +244,7 @@ async function readModelKey() {
244
244
  return Buffer.concat(chunks).toString("utf8").trim();
245
245
  }
246
246
  async function sendTestMessage(input2) {
247
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
247
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
248
248
  return http.post(
249
249
  `${AGENT_PATH}/test`,
250
250
  {
@@ -335,7 +335,7 @@ async function handleChat(channelId, options) {
335
335
  threadId = reply.threadId;
336
336
  const text = describeReply(channelId, reply, true).map((line2) => `agent> ${line2}
337
337
  `).join("");
338
- _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0, reply, { json: false, text });
338
+ _chunkOOGP737Ijs.printCommandEnvelope.call(void 0, reply, { json: false, text });
339
339
  }
340
340
  } finally {
341
341
  rl.close();
@@ -345,7 +345,7 @@ function registerWorkspaceCommands(agents, readKey) {
345
345
  agents.command("list").description(
346
346
  "Show whether agents are on, their model billing, every agent with its channels, and the skill library."
347
347
  ).option("--json", "Emit JSON output").action(async (options) => {
348
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
348
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
349
349
  const overview = await http.get(AGENT_PATH);
350
350
  print(overview, "deepline agents", describeOverview(overview), options);
351
351
  });
@@ -356,7 +356,7 @@ function registerWorkspaceCommands(agents, readKey) {
356
356
  printDryRun("POST", `${AGENT_PATH}/enable`, {}, options);
357
357
  return;
358
358
  }
359
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
359
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
360
360
  const result = await http.post(
361
361
  `${AGENT_PATH}/enable`,
362
362
  {}
@@ -378,7 +378,7 @@ function registerWorkspaceCommands(agents, readKey) {
378
378
  printDryRun("POST", `${AGENT_PATH}/disable`, {}, options);
379
379
  return;
380
380
  }
381
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
381
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
382
382
  const result = await http.post(
383
383
  `${AGENT_PATH}/disable`,
384
384
  {}
@@ -410,7 +410,7 @@ function registerWorkspaceCommands(agents, readKey) {
410
410
  }
411
411
  const apiKey = await readKey();
412
412
  if (!apiKey) throw new AgentUsageError("No key was given.");
413
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
413
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
414
414
  const overview = await http.put(`${AGENT_PATH}/billing`, {
415
415
  mode: "own_key",
416
416
  provider: _nullishCoalesce(options.provider, () => ( keyProvider(apiKey))),
@@ -422,7 +422,7 @@ function registerWorkspaceCommands(agents, readKey) {
422
422
  agents.command("models").description(
423
423
  "List the models an agent or one of its channels can run on, and which your workspace\u2019s key can run."
424
424
  ).option("--json", "Emit JSON output").action(async (options) => {
425
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
425
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
426
426
  const result = await http.get(
427
427
  `${AGENT_PATH}/models`
428
428
  );
@@ -446,7 +446,7 @@ function registerWorkspaceCommands(agents, readKey) {
446
446
  agents.command("outcomes").description(
447
447
  "List the outcomes Bot by Deepline owns by default (those with no home channel), with what woke it last on each."
448
448
  ).option("--json", "Emit JSON output").action(async (options) => {
449
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
449
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
450
450
  const result = await http.get(
451
451
  `${AGENT_PATH}/outcomes`
452
452
  );
@@ -466,7 +466,7 @@ function registerWorkspaceCommands(agents, readKey) {
466
466
  }
467
467
  function registerAgentCommands(agents) {
468
468
  agents.command("get").description("Show one agent: its instructions, skills and channels.").argument("<name>", "Agent name").option("--json", "Emit JSON output").action(async (name, options) => {
469
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
469
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
470
470
  const result = await http.get(
471
471
  `${AGENT_PATH}/agents/${encodeURIComponent(requireArgument(name, "an agent name"))}`
472
472
  );
@@ -496,7 +496,7 @@ function registerAgentCommands(agents) {
496
496
  printDryRun("POST", `${AGENT_PATH}/agents`, body, options);
497
497
  return;
498
498
  }
499
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
499
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
500
500
  const result = await http.post(
501
501
  `${AGENT_PATH}/agents`,
502
502
  body
@@ -540,7 +540,7 @@ function registerAgentCommands(agents) {
540
540
  printDryRun("PATCH", path, body, options);
541
541
  return;
542
542
  }
543
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
543
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
544
544
  const result = await http.patch(path, body);
545
545
  print(result, "agent updated", describeAgent(result.agent), options);
546
546
  }
@@ -553,7 +553,7 @@ function registerAgentCommands(agents) {
553
553
  printDryRun("DELETE", path, null, options);
554
554
  return;
555
555
  }
556
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
556
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
557
557
  const result = await http.delete(path);
558
558
  print(
559
559
  result,
@@ -596,7 +596,7 @@ function registerChannelCommands(agents) {
596
596
  printDryRun("POST", `${AGENT_PATH}/channels`, body, options);
597
597
  return;
598
598
  }
599
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
599
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
600
600
  const result = await http.post(`${AGENT_PATH}/channels`, body);
601
601
  print(
602
602
  result,
@@ -648,7 +648,7 @@ function registerChannelCommands(agents) {
648
648
  printDryRun("PATCH", path, body, options);
649
649
  return;
650
650
  }
651
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
651
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
652
652
  const result = await http.patch(path, body);
653
653
  print(
654
654
  result,
@@ -676,7 +676,7 @@ function registerChannelCommands(agents) {
676
676
  printDryRun("DELETE", path, null, options);
677
677
  return;
678
678
  }
679
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
679
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
680
680
  const result = await http.delete(path);
681
681
  print(
682
682
  result,
@@ -712,7 +712,7 @@ function registerSlackCommands(agents) {
712
712
  slack.command("install").description(
713
713
  "Print a link that adds the agent to a Slack workspace (owners and admins). Open it, pick the Slack workspace and approve."
714
714
  ).option("--json", "Emit JSON output").action(async (options) => {
715
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
715
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
716
716
  const result = await http.post(
717
717
  `${AGENT_PATH}/slack/install`,
718
718
  {}
@@ -731,7 +731,7 @@ function registerSlackCommands(agents) {
731
731
  slack.command("link").description(
732
732
  "Say which Slack user you are, with the code from the link the agent showed you in Slack. Your clicks there (answering an ask, connecting a channel) are then made as you."
733
733
  ).argument("<code>", "The code from the link, or the whole link").option("--json", "Emit JSON output").action(async (code, options) => {
734
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
734
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
735
735
  const result = await http.post(`${AGENT_PATH}/slack/link`, { code: slackLinkCode(code) });
736
736
  print(
737
737
  result,
@@ -745,7 +745,7 @@ function registerSlackCommands(agents) {
745
745
  slack.command("unlink").description(
746
746
  "Forget which Slack user you are in this workspace. Your clicks in Slack decide nothing until you link again."
747
747
  ).option("--json", "Emit JSON output").action(async (options) => {
748
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
748
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
749
749
  const result = await http.delete(
750
750
  `${AGENT_PATH}/slack/link`
751
751
  );
@@ -761,7 +761,7 @@ function registerSlackCommands(agents) {
761
761
  slack.command("status").description(
762
762
  "List the Slack workspaces this workspace installed the agent in."
763
763
  ).option("--json", "Emit JSON output").action(async (options) => {
764
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
764
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
765
765
  const result = await http.get(
766
766
  `${AGENT_PATH}/slack/installations`
767
767
  );
@@ -780,7 +780,7 @@ function registerSkillCommands(agents) {
780
780
  "The workspace\u2019s skill library: markdown an agent loads when its description matches the task."
781
781
  );
782
782
  skills.command("get").description("Show one library skill with its markdown.").argument("<name>", "Skill name").option("--json", "Emit JSON output").action(async (name, options) => {
783
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
783
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
784
784
  const result = await http.get(
785
785
  `${AGENT_PATH}/skills/${encodeURIComponent(requireArgument(name, "a skill name"))}`
786
786
  );
@@ -818,7 +818,7 @@ function registerSkillCommands(agents) {
818
818
  printDryRun("PUT", path, body, options);
819
819
  return;
820
820
  }
821
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
821
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
822
822
  const result = await http.put(path, body);
823
823
  print(
824
824
  result,
@@ -841,7 +841,7 @@ function registerSkillCommands(agents) {
841
841
  printDryRun("DELETE", path, null, options);
842
842
  return;
843
843
  }
844
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
844
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
845
845
  const result = await http.delete(path);
846
846
  print(
847
847
  result,
@@ -895,7 +895,7 @@ function registerFeedbackCommand(agents) {
895
895
  params.set("cursor", requireArgument(options.cursor, "--cursor"));
896
896
  }
897
897
  const query = params.toString();
898
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
898
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
899
899
  const page = await http.get(
900
900
  `${AGENT_PATH}/feedback${query ? `?${query}` : ""}`
901
901
  ).catch((error) => {
@@ -958,7 +958,7 @@ function registerRepliesCommand(agents) {
958
958
  params.set("cursor", requireArgument(options.cursor, "--cursor"));
959
959
  }
960
960
  const query = params.toString();
961
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
961
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
962
962
  const page = await http.get(`${AGENT_PATH}/replies${query ? `?${query}` : ""}`).catch((error) => {
963
963
  if (error instanceof _chunkLFQJW4S2js.DeeplineError && error.code === REPLIES_INVALID_CURSOR) {
964
964
  throw new AgentUsageError(`--cursor: ${error.message}`);
@@ -984,13 +984,13 @@ function registerActivityCommand(agents) {
984
984
  agents.command("activity").description(
985
985
  "Sum each agent's replies over the last 7 days: how many, how they ended, median time, tokens and the last reply."
986
986
  ).option("--json", "Emit JSON output").action(async (options) => {
987
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
987
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
988
988
  const activity = await http.get(`${AGENT_PATH}/activity`);
989
989
  print(activity, "agent activity", describeActivity(activity), options);
990
990
  });
991
991
  }
992
992
  function registerAgentsCommands(program, readKey = readModelKey) {
993
- const agents = program.command("agents", { hidden: !_chunkXBO4ERH6js.cliFeatureEnabled.call(void 0, AGENT_FEATURE) }).description(
993
+ const agents = program.command("agents", { hidden: !_chunkTVAFWAOQjs.cliFeatureEnabled.call(void 0, AGENT_FEATURE) }).description(
994
994
  "Deepline agents in Slack: create agents with instructions and skills, bind channels to them, and talk to them."
995
995
  );
996
996
  registerWorkspaceCommands(agents, readKey);
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-4LMTY4RQ.mjs";
4
+ } from "./chunk-6DMGKAWO.mjs";
5
5
  import {
6
6
  cliFeatureEnabled
7
- } from "./chunk-W66GXHYR.mjs";
8
- import "./chunk-CFLAGRWL.mjs";
7
+ } from "./chunk-3Z4TVZE7.mjs";
8
+ import "./chunk-I2TSRLOI.mjs";
9
9
  import "./chunk-ASB47RXJ.mjs";
10
10
  import "./chunk-DLIRSHV6.mjs";
11
11
  import {
12
12
  DeeplineError
13
13
  } from "./chunk-Z3A2S3QM.mjs";
14
14
  import "./chunk-2MGZAI54.mjs";
15
- import "./chunk-4YSJOSBG.mjs";
15
+ import "./chunk-6NYHMXC7.mjs";
16
16
  import "./chunk-WZYKRD7T.mjs";
17
17
  import "./chunk-KRD6H754.mjs";
18
18
 
@@ -14,15 +14,15 @@ import {
14
14
  reportSetupCompleted,
15
15
  resolvePendingAuthClaimForResume,
16
16
  statusBannerLine
17
- } from "./chunk-HKZN33F2.mjs";
18
- import "./chunk-4LMTY4RQ.mjs";
19
- import "./chunk-W66GXHYR.mjs";
20
- import "./chunk-CFLAGRWL.mjs";
17
+ } from "./chunk-SUHCW7U5.mjs";
18
+ import "./chunk-6DMGKAWO.mjs";
19
+ import "./chunk-3Z4TVZE7.mjs";
20
+ import "./chunk-I2TSRLOI.mjs";
21
21
  import "./chunk-ASB47RXJ.mjs";
22
22
  import "./chunk-DLIRSHV6.mjs";
23
23
  import "./chunk-Z3A2S3QM.mjs";
24
24
  import "./chunk-2MGZAI54.mjs";
25
- import "./chunk-4YSJOSBG.mjs";
25
+ import "./chunk-6NYHMXC7.mjs";
26
26
  import "./chunk-WZYKRD7T.mjs";
27
27
  import "./chunk-KRD6H754.mjs";
28
28
  export {
@@ -0,0 +1,44 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ var _chunkXTM6NOJ6js = require('./chunk-XTM6NOJ6.js');
18
+ require('./chunk-OOGP737I.js');
19
+ require('./chunk-TVAFWAOQ.js');
20
+ require('./chunk-6MIEJJSO.js');
21
+ require('./chunk-6VLFQZK6.js');
22
+ require('./chunk-XNYIZMNQ.js');
23
+ require('./chunk-LFQJW4S2.js');
24
+ require('./chunk-CFJFUVX2.js');
25
+ require('./chunk-NOMO5GPI.js');
26
+ require('./chunk-OG64RBAC.js');
27
+ require('./chunk-COGTRVWW.js');
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+ exports.EXIT_WORKSPACE_MISMATCH = _chunkXTM6NOJ6js.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunkXTM6NOJ6js.authStatusLine; exports.clearPendingClaim = _chunkXTM6NOJ6js.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkXTM6NOJ6js.clearSatisfiedPendingClaim; exports.handleRegister = _chunkXTM6NOJ6js.handleRegister; exports.handleStatus = _chunkXTM6NOJ6js.handleStatus; exports.handleWait = _chunkXTM6NOJ6js.handleWait; exports.httpJson = _chunkXTM6NOJ6js.httpJson; exports.readPendingAuthClaim = _chunkXTM6NOJ6js.readPendingAuthClaim; exports.readStatusBanner = _chunkXTM6NOJ6js.readStatusBanner; exports.registerAuthCommands = _chunkXTM6NOJ6js.registerAuthCommands; exports.reportApprovalLinkShown = _chunkXTM6NOJ6js.reportApprovalLinkShown; exports.reportSetupCompleted = _chunkXTM6NOJ6js.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkXTM6NOJ6js.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunkXTM6NOJ6js.statusBannerLine;