deepline 0.3.574 → 0.3.576

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 (162) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +13 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +0 -18
  3. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +8 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/builtin-pacing.ts +18 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +149 -1
  6. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-receipt-gateway.ts +1 -1
  7. package/dist/bundling-sources/shared_libs/play-runtime/deployment/vercel-fly-rollback-alignment.ts +0 -14
  8. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +17 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/experiment-switches.ts +8 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +4 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +190 -9
  12. package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +41 -5
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +6 -66
  14. package/dist/cli/{agents-6WN5LYUP.mjs → agents-BLJR2Y3X.mjs} +213 -19
  15. package/dist/cli/{agents-7ZZSF4FS.js → agents-CJQ7KBFT.js} +235 -41
  16. package/dist/cli/auth-GSDYP4ZN.js +44 -0
  17. package/dist/cli/{auth-I2QVO677.mjs → auth-SLZIRCPE.mjs} +5 -5
  18. package/dist/cli/{billing-YPH4GEWU.mjs → billing-6Q4SK5KF.mjs} +9 -9
  19. package/dist/cli/{billing-44QFBUWA.js → billing-IECMVARO.js} +102 -102
  20. package/dist/cli/{chunk-MGF3MK27.mjs → chunk-2UHEJPSS.mjs} +5 -5
  21. package/dist/cli/{chunk-2QYU57RG.js → chunk-36254433.js} +3 -3
  22. package/dist/cli/{chunk-ECLCRE5P.js → chunk-45POZK3F.js} +3 -3
  23. package/dist/cli/{chunk-5E2PAGF5.js → chunk-4KIIXV5Z.js} +21 -21
  24. package/dist/cli/{chunk-7334X74C.mjs → chunk-5VABOJ4M.mjs} +2 -2
  25. package/dist/cli/{chunk-YR4REP4D.mjs → chunk-66K7F7LR.mjs} +1 -1
  26. package/dist/cli/{chunk-6GZIT3TH.js → chunk-6JQZC6HX.js} +20 -20
  27. package/dist/cli/{chunk-ID3LGPOE.js → chunk-6RY5COUY.js} +23 -23
  28. package/dist/cli/{chunk-VGIDPJXM.mjs → chunk-7DI34I73.mjs} +3 -3
  29. package/dist/cli/{chunk-Z3XFXFRT.js → chunk-ANPHEXTT.js} +9 -9
  30. package/dist/cli/{chunk-NRVEVKXR.mjs → chunk-AUR24RQB.mjs} +2 -2
  31. package/dist/cli/{chunk-JCO226JM.mjs → chunk-AZFSCPYK.mjs} +89 -10
  32. package/dist/cli/{chunk-2RPRSTHD.js → chunk-BRPUB6UA.js} +5 -5
  33. package/dist/cli/{chunk-XVBEEGI4.mjs → chunk-CUIFDMNP.mjs} +11 -1
  34. package/dist/cli/{chunk-OIZUFRTE.mjs → chunk-D5LWYP2H.mjs} +3 -3
  35. package/dist/cli/{chunk-PP5RMEQQ.js → chunk-DGY4EYIX.js} +5 -5
  36. package/dist/cli/{chunk-Q3A53SWK.mjs → chunk-DWUESXDD.mjs} +1 -1
  37. package/dist/cli/{chunk-7UR57HPJ.js → chunk-E4M4QZBP.js} +11 -1
  38. package/dist/cli/{chunk-DOZIWA66.js → chunk-EQO77FQZ.js} +5 -5
  39. package/dist/cli/{chunk-N6I3BB2O.js → chunk-F4H26PP6.js} +274 -274
  40. package/dist/cli/{chunk-L2NXB4WG.mjs → chunk-FYKHAT2F.mjs} +64 -3
  41. package/dist/cli/{chunk-QPSBV4FD.mjs → chunk-GI57Q7JU.mjs} +2 -2
  42. package/dist/cli/{chunk-H7PVSG3L.js → chunk-GZ7KYGYE.js} +15 -15
  43. package/dist/cli/{chunk-PW6NKI2A.mjs → chunk-HE53AI2E.mjs} +3 -3
  44. package/dist/cli/{chunk-LJLM4BUL.js → chunk-HHMO3CON.js} +6 -6
  45. package/dist/cli/{chunk-2TMAKJBT.mjs → chunk-JPFAD6G6.mjs} +2 -2
  46. package/dist/cli/{chunk-VLUBEMWM.js → chunk-JSIOLCTK.js} +20 -20
  47. package/dist/cli/{chunk-B2XLIQPH.mjs → chunk-KQTZO6NT.mjs} +2 -2
  48. package/dist/cli/{chunk-SLXCVPN7.js → chunk-L6H72AIX.js} +2 -2
  49. package/dist/cli/{chunk-X7RKCAMX.mjs → chunk-LKC7PHDX.mjs} +4 -4
  50. package/dist/cli/{chunk-DG56RWI2.js → chunk-M23G33MH.js} +2 -2
  51. package/dist/cli/{chunk-IB225ZK4.js → chunk-MDJ4LPQ5.js} +4 -4
  52. package/dist/cli/{chunk-AFPGYZBH.js → chunk-MXK4M7HP.js} +17 -17
  53. package/dist/cli/{chunk-KSHZY52O.js → chunk-MXPCTF57.js} +89 -10
  54. package/dist/cli/{chunk-6B5EZOI3.js → chunk-NQFZ7FYN.js} +10 -10
  55. package/dist/cli/{chunk-OH6WOID2.mjs → chunk-OMVBBAQP.mjs} +2 -2
  56. package/dist/cli/{chunk-D6ZVRKJ2.js → chunk-OXRG325T.js} +41 -41
  57. package/dist/cli/{chunk-G7OR3GVD.mjs → chunk-PU5VCDCJ.mjs} +5 -5
  58. package/dist/cli/{chunk-VYSUJMB5.js → chunk-PYFMNPTA.js} +8 -8
  59. package/dist/cli/{chunk-LCAXLGAY.mjs → chunk-QCD7BQ5Z.mjs} +2 -2
  60. package/dist/cli/{chunk-4T2U72SP.mjs → chunk-R5NKLZL2.mjs} +1 -1
  61. package/dist/cli/{chunk-ZTCP5BHH.mjs → chunk-RW3URFZK.mjs} +2 -2
  62. package/dist/cli/{chunk-IA2LTIWO.mjs → chunk-S4IW4NAI.mjs} +2 -2
  63. package/dist/cli/{chunk-UXIUAIL2.js → chunk-SBZSJQEI.js} +53 -53
  64. package/dist/cli/{chunk-XMBTAPHR.js → chunk-SKHUWQZE.js} +7 -7
  65. package/dist/cli/{chunk-S22FSNNC.mjs → chunk-SY3OKOI5.mjs} +1 -1
  66. package/dist/cli/{chunk-MAMGREBW.mjs → chunk-TZHS2W5Z.mjs} +1 -1
  67. package/dist/cli/{chunk-BUBOZKH2.js → chunk-UD6M2ZTY.js} +2 -2
  68. package/dist/cli/{chunk-W6UCS3O6.mjs → chunk-UGIH4462.mjs} +5 -5
  69. package/dist/cli/{chunk-7GQU46SZ.js → chunk-V25CXBR2.js} +26 -26
  70. package/dist/cli/{chunk-G2HW2SAP.js → chunk-WDWV77SJ.js} +13 -13
  71. package/dist/cli/{chunk-I62ZBEKH.js → chunk-WPGZ6V36.js} +48 -48
  72. package/dist/cli/{chunk-GMQZFWQU.mjs → chunk-X5V6S5KI.mjs} +7 -7
  73. package/dist/cli/{chunk-ZFXDD7VM.mjs → chunk-XJNJ3BWU.mjs} +1 -1
  74. package/dist/cli/{chunk-NDDGFX4X.js → chunk-Y4A6Y5EY.js} +11 -11
  75. package/dist/cli/{chunk-LLSCFLFU.mjs → chunk-YHM64N5C.mjs} +1 -1
  76. package/dist/cli/{chunk-JY7RKJ65.mjs → chunk-ZIGMC2X4.mjs} +13 -13
  77. package/dist/cli/{chunk-IXYVHTRZ.js → chunk-ZO65VJRJ.js} +70 -9
  78. package/dist/cli/{chunk-SRUNYWQ2.mjs → chunk-ZRC52APB.mjs} +1 -1
  79. package/dist/cli/{chunk-DX646HO7.mjs → chunk-ZYN6S6G2.mjs} +4 -4
  80. package/dist/cli/command-docs.js +2 -2
  81. package/dist/cli/command-docs.mjs +1 -1
  82. package/dist/cli/{concurrent-runs-help-ROQM6UB3.mjs → concurrent-runs-help-H3SA7J6H.mjs} +6 -6
  83. package/dist/cli/concurrent-runs-help-PB7GT6F2.js +22 -0
  84. package/dist/cli/{csv-FWGSY4GE.js → csv-6DEKR3QQ.js} +13 -13
  85. package/dist/cli/{csv-R7GV33BC.mjs → csv-ICXI7JAS.mjs} +4 -4
  86. package/dist/cli/{db-OCH35YJG.js → db-AG7INMLP.js} +27 -27
  87. package/dist/cli/{db-UWXA4RRV.mjs → db-VI7T5E6O.mjs} +6 -6
  88. package/dist/cli/describe-LMHIG3DP.js +50 -0
  89. package/dist/cli/{describe-QI4HMUGE.mjs → describe-S6NFWWGK.mjs} +21 -21
  90. package/dist/cli/describe-core.d.mts +10 -1
  91. package/dist/cli/describe-core.d.ts +10 -1
  92. package/dist/cli/describe-core.js +4 -4
  93. package/dist/cli/describe-core.mjs +3 -3
  94. package/dist/cli/{executions-7CFGC24E.js → executions-M5R5QHIA.js} +8 -8
  95. package/dist/cli/{executions-YF3KMZZN.mjs → executions-MK7H4Q2H.mjs} +6 -6
  96. package/dist/cli/{feedback-YCZHHSBS.js → feedback-L3L4FEQL.js} +14 -14
  97. package/dist/cli/{feedback-DWIWBS7O.mjs → feedback-ZHATL2XF.mjs} +6 -6
  98. package/dist/cli/{git-XCGMQQOD.mjs → git-W5DHNH2Q.mjs} +5 -5
  99. package/dist/cli/git-WYNCLDHD.js +26 -0
  100. package/dist/cli/index.js +148 -148
  101. package/dist/cli/index.mjs +47 -47
  102. package/dist/cli/{integrations-5ABAJBSW.mjs → integrations-73YSN2LI.mjs} +7 -7
  103. package/dist/cli/{integrations-IEZA3TGK.js → integrations-IBWNO3YP.js} +29 -29
  104. package/dist/cli/{legacy-noops-OZMY73Y3.mjs → legacy-noops-4LFZJTDX.mjs} +6 -6
  105. package/dist/cli/{legacy-noops-KNFLJ5P2.js → legacy-noops-AE6DBYJM.js} +9 -9
  106. package/dist/cli/{mcp-NLQAO7KP.js → mcp-BKL6M6OI.js} +24 -24
  107. package/dist/cli/{mcp-WSPFKQPZ.mjs → mcp-E6PTSNDE.mjs} +4 -4
  108. package/dist/cli/{monitors-LPKFFTOX.mjs → monitors-MXJ27KQK.mjs} +7 -7
  109. package/dist/cli/{monitors-BJYOB4S3.js → monitors-SW7ZCPPT.js} +100 -100
  110. package/dist/cli/{org-RYPMUYUW.mjs → org-HYAJ2MIK.mjs} +6 -6
  111. package/dist/cli/{org-WIVHI4WT.js → org-XJ44KZ5I.js} +121 -121
  112. package/dist/cli/{outcomes-QKX7IE3O.js → outcomes-PTXGG4BZ.js} +14 -14
  113. package/dist/cli/{outcomes-FADJYC4I.mjs → outcomes-PUMAXRGD.mjs} +6 -6
  114. package/dist/cli/{play-ID73J3NP.js → play-EPDZ3GDV.js} +349 -349
  115. package/dist/cli/{play-4ZKK5Q7U.mjs → play-QN3X6IAE.mjs} +20 -20
  116. package/dist/cli/{providers-WCCGYGW6.js → providers-GNJFGNDH.js} +9 -9
  117. package/dist/cli/{providers-LURYBSNO.mjs → providers-JIN5UQ7Z.mjs} +6 -6
  118. package/dist/cli/{quickstart-KCCSEE5J.mjs → quickstart-4EBFHGB7.mjs} +4 -4
  119. package/dist/cli/{quickstart-LVPOU25V.js → quickstart-YH6NNC5I.js} +6 -6
  120. package/dist/cli/{run-2QMJRCVA.js → run-4DRF7KQJ.js} +70 -49
  121. package/dist/cli/{run-XXK7DDUF.mjs → run-5467KBCP.mjs} +48 -27
  122. package/dist/cli/search-B2KCWPUV.js +32 -0
  123. package/dist/cli/{search-ZYAWW3CK.mjs → search-ZERTOGH6.mjs} +7 -7
  124. package/dist/cli/{search-output-N45AIOB4.mjs → search-output-OAVJXRFO.mjs} +5 -5
  125. package/dist/cli/{search-output-YNXAZSKT.js → search-output-OMNZN2LP.js} +8 -8
  126. package/dist/cli/{secrets-MHT27L2M.js → secrets-7XK2BGYX.js} +15 -15
  127. package/dist/cli/{secrets-7Q3AOUAS.mjs → secrets-KAVDYB4P.mjs} +6 -6
  128. package/dist/cli/sessions-PUQURPPC.js +23 -0
  129. package/dist/cli/{sessions-6QKOM7M3.mjs → sessions-TNPI6XWB.mjs} +6 -6
  130. package/dist/cli/{settings-NPVIDENI.mjs → settings-KUABXRAJ.mjs} +12 -12
  131. package/dist/cli/{settings-OP7Q6YX6.js → settings-RQ3Z3JCM.js} +85 -85
  132. package/dist/cli/{setup-OOT3EIMF.mjs → setup-6IX6BSS7.mjs} +9 -9
  133. package/dist/cli/{setup-RT6GHL3W.js → setup-TDOWNKYN.js} +49 -49
  134. package/dist/cli/skills-AACRY2TV.js +37 -0
  135. package/dist/cli/{skills-TEXI4CLZ.mjs → skills-Z6NBJ4KP.mjs} +7 -7
  136. package/dist/cli/{tools-G5L36M3X.mjs → tools-LQKFWK7J.mjs} +19 -19
  137. package/dist/cli/tools-OTYA4722.js +57 -0
  138. package/dist/cli/update-JTGMI6OJ.js +37 -0
  139. package/dist/cli/{update-YNKQTE4D.mjs → update-RUB4EIKW.mjs} +9 -9
  140. package/dist/cli/{views-IQFMUMLU.mjs → views-D7WY5QPR.mjs} +6 -6
  141. package/dist/cli/{views-OVQ5AQAU.js → views-FFLXLAGC.js} +21 -21
  142. package/dist/cli/{workflow-Y5IFMI7N.mjs → workflow-BV2OTEQD.mjs} +7 -7
  143. package/dist/cli/{workflow-RCBYXIFZ.js → workflow-QW7QVODA.js} +17 -17
  144. package/dist/index.js +9 -9
  145. package/dist/index.mjs +6 -6
  146. package/dist/install-integrity.json +122 -122
  147. package/dist/release.d.mts +9 -1
  148. package/dist/release.d.ts +9 -1
  149. package/dist/release.js +2 -2
  150. package/dist/release.mjs +1 -1
  151. package/dist/server.js +5 -5
  152. package/dist/server.mjs +3 -3
  153. package/package.json +1 -1
  154. package/dist/cli/auth-UKPV5U2B.js +0 -44
  155. package/dist/cli/concurrent-runs-help-BFVCUJF4.js +0 -22
  156. package/dist/cli/describe-6OI5K2SH.js +0 -50
  157. package/dist/cli/git-TGLNZRS3.js +0 -26
  158. package/dist/cli/search-AQSAXA6D.js +0 -32
  159. package/dist/cli/sessions-RGD7L4LC.js +0 -23
  160. package/dist/cli/skills-ERAA734H.js +0 -37
  161. package/dist/cli/tools-D5SZSIIH.js +0 -57
  162. package/dist/cli/update-WZ6527EF.js +0 -37
@@ -636,7 +636,9 @@ Input:
636
636
  --input-file input.json. A play that reads a CSV takes its path:
637
637
  --input '{"csv":"leads.csv"}'. -e '<code>' runs code as a play body.
638
638
  <play>@latest runs the newest revision; deepline/<id> runs Deepline's
639
- version when your org has one with the same name.
639
+ version when your org has one with the same name. --example <name> starts
640
+ from a named example input the play declares (describe lists them);
641
+ --input fields replace the example's.
640
642
  Examples:
641
643
  deepline run hunter_email_verifier --input '{"email":"a@b.com"}'
642
644
  deepline run person-to-email-batch --input '{"csv":"leads.csv"}' --dry-run
@@ -4281,11 +4283,13 @@ Purpose:
4281
4283
  Deepline agents in Slack. Members create agents, each with instructions and
4282
4284
  skills from the workspace's skill library, and bind Slack channels to them.
4283
4285
  An agent answers @mentions in its channels and works in this workspace
4284
- through the shared deepline-agent service account (role run), the way your
4286
+ through the shared deepline-agent service account (role member), the way your
4285
4287
  own coding agent works with Deepline.
4286
4288
  Set up once (owners and admins):
4287
4289
  1. Turn agents on: [[agents enable]]. The first run creates the service
4288
- account. [[agents disable]] turns every agent off.
4290
+ account. Run it again to give an account made with the run role the
4291
+ member role, which writing to an outcome needs. [[agents disable]]
4292
+ turns every agent off.
4289
4293
  2. Set the model key every agent runs on: [[agents billing set]] reads an
4290
4294
  OpenAI or Anthropic API key from piped stdin (deepline agents billing
4291
4295
  set < key.txt) or a hidden prompt. An sk-ant- key is Anthropic's; pass
@@ -4296,7 +4300,9 @@ Set up once (owners and admins):
4296
4300
  3. Add the agent to your Slack workspace: [[agents slack install]] prints
4297
4301
  an "Add to Slack" link. Open it in a browser signed in to Deepline as
4298
4302
  you, pick the Slack workspace and approve; the link works once, for 15
4299
- minutes, and only for you. Each Slack workspace gets its own
4303
+ minutes, and only for you. The agent posts under this workspace's
4304
+ logo (a panda if it has none); a Slack workspace installed before
4305
+ that needs installing again. Each Slack workspace gets its own
4300
4306
  bot token, stored encrypted, and only this workspace's channels answer
4301
4307
  there. A Slack workspace already connected to another Deepline
4302
4308
  workspace is refused. [[agents slack status]] lists where the agent is
@@ -4320,6 +4326,65 @@ Make an agent (members with the run grant):
4320
4326
  Only an agent's or skill's creator, or an admin, changes or deletes it:
4321
4327
  [[agents update pipeline --skills icp,territories]], [[agents delete pipeline]],
4322
4328
  [[agents channels remove C0123456789]], [[agents skills delete icp]].
4329
+ Models:
4330
+ One key serves every agent, so your agents run on the models of that
4331
+ key's provider. An agent runs on the provider's default unless it is given
4332
+ a model, and a channel runs on its agent's model unless it is given its
4333
+ own. [[agents models]] lists the models and which your workspace's key can
4334
+ run. A model of the other provider is refused.
4335
+ - An agent's model, everywhere it answers: [[agents update pipeline --model sonnet]]
4336
+ ("default" returns it to the default).
4337
+ - One channel's model: [[agents channels set C0123456789 --model opus]]
4338
+ ("default" follows the agent again). Anyone the agent answers in a
4339
+ channel can also ask it there ("switch to Sonnet"): that changes that
4340
+ channel only, and Deepline keeps who asked.
4341
+ The next step the agent takes runs on the new model.
4342
+ Outcomes (needs the outcomes rollout):
4343
+ An agent can work toward an outcome in a channel:
4344
+ [[agents channels add pipeline C0123456789 --outcome enrichment-coverage]],
4345
+ or on a channel already bound,
4346
+ [[agents channels set C0123456789 --outcome enrichment-coverage]]. The
4347
+ channel becomes the outcome's home, one per outcome. The agent joins the
4348
+ outcome under its own name, says in the channel what it is working toward,
4349
+ reads the outcome when a turn starts and writes what matters back to it.
4350
+ Between mentions it is woken there when something on the outcome concerns
4351
+ it: a schedule it set firing, a task made for it, an ask a person answered.
4352
+ --linked binds one more channel to the same outcome: the agent answers
4353
+ there with the outcome in view and is woken only in the home channel.
4354
+ [[agents channels set C0123456789 --no-outcome]] takes the outcome off.
4355
+ You need member access to the outcome, and so does the agent: an admin
4356
+ raises the agents' service account once, with
4357
+ [[org service-accounts set-role <service-account-id> member]] (the id is in
4358
+ [[org service-accounts list]]). Until then attaching says so and changes
4359
+ nothing on the outcome.
4360
+ A paused outcome still wakes its agent when something reaches it; the
4361
+ agent is told the outcome is paused and decides what is worth doing.
4362
+ Every outcome has an agent by default. While agents are on, an outcome
4363
+ with no home channel is owned by Bot by Deepline: it joins as
4364
+ "deepline" and is woken by the same things (a post that names
4365
+ @deepline, a reply in a thread it started, an answered ask, a task made
4366
+ for it, a schedule it set). With no channel to post in, it writes to the
4367
+ outcome's feed. [[agents outcomes]] lists those outcomes with what woke
4368
+ the agent last; [[outcomes watches list <outcome>]] shows its watch. It
4369
+ starts at most 30 turns an hour on one outcome; what arrives past that
4370
+ waits for the next turn. Giving the outcome a home channel hands the
4371
+ watch to that channel's agent, [[agents disable]] or deleting the outcome
4372
+ removes it, and running [[agents enable]] again puts the agent on
4373
+ outcomes made before this.
4374
+ From Slack:
4375
+ Inviting the agent's app to a channel no agent answers in, or mentioning
4376
+ it there, posts a card that asks which outcome the channel is for. Picking
4377
+ one and pressing Connect does what channels add --outcome does: the channel
4378
+ becomes the outcome's home, or a linked channel when the outcome has a
4379
+ home already. "Only answer questions" binds the channel with no outcome.
4380
+ When the agent needs a person to decide, it opens an ask on the outcome
4381
+ and the ask appears in the channel with a button for each option. A click
4382
+ answers the ask on the outcome, the same as [[outcomes asks answer]].
4383
+ Both are done as a Deepline member, so the first click shows you, alone,
4384
+ a link that says which member you are. Open it signed in to Deepline, or
4385
+ pass it to [[agents slack link <code>]]; [[agents slack unlink]] forgets
4386
+ it. Your grants are read at each click: connecting needs the run grant,
4387
+ an outcome and answering an ask need member access.
4323
4388
  Feedback:
4324
4389
  Each answer the agent posts in Slack carries Helpful / Not helpful buttons.
4325
4390
  [[agents feedback]] lists the ratings, newest first; --agent pipeline keeps
@@ -4345,11 +4410,22 @@ Confirmations:
4345
4410
  Output (JSON):
4346
4411
  list prints workspace {lifecycle, billing {provider (openai, anthropic),
4347
4412
  keyLast4} or null} (null before
4348
- enable), agents[] {name, instructions, skillNames, ownerUserId,
4349
- updatedByUserId, conversations[] {platform, conversationId,
4350
- conversationName, createdByUserId, createdAt}} and skills[]
4351
- {name, description, markdownLength}. get, create, update and channels add
4352
- print agent; created, changed or removed says whether anything changed.
4413
+ enable), agents[] {name, instructions, skillNames, model (null: the
4414
+ default), ownerUserId, updatedByUserId, conversations[] {platform,
4415
+ conversationId, conversationName, createdByUserId, createdAt, model (null:
4416
+ its agent's), outcome {slug, role (home, linked), agentKey, watching} or
4417
+ null}} and skills[] {name, description, markdownLength}. get, create,
4418
+ update and channels add print agent; created, changed or removed says
4419
+ whether anything changed. models prints default and models[] {id, label,
4420
+ provider, aliases, available}. outcomes prints owners[] {outcome, agent,
4421
+ watch {key, ringState (idle, pending, delivering, failing), lastRungAt,
4422
+ lastRingError} or null, refusal, lastWake {at, status (woken,
4423
+ nothing_waiting, throttled, not_woken), matches, what[]} or null,
4424
+ lastWokenAt, turnsInWindow, turnLimit, windowEndsAt} and more. channels
4425
+ set prints model {model {id,
4426
+ label, provider}, from (conversation, agent), changed} and outcome
4427
+ {changed, agentName, conversation, woken}; channels add --outcome prints
4428
+ that outcome too.
4353
4429
  feedback prints feedback[] {agentName (null once deleted), platform,
4354
4430
  conversationId, conversationName, threadTs, messageTs, raterId, rating
4355
4431
  (helpful, not_helpful), updatedAt} and cursor (null on the last page).
@@ -4368,10 +4444,13 @@ Output (JSON):
4368
4444
  status prints installations[] {teamId, teamName, status (installed,
4369
4445
  uninstalled), scopes, installedAt, installedByUserId, uninstalledAt,
4370
4446
  uninstallReason (app_uninstalled, tokens_revoked)}; never a token.
4447
+ slack link prints linked, created, slackTeamId and slackUserId; slack
4448
+ unlink prints removed.
4371
4449
  Cost:
4372
4450
  Model calls are billed to the workspace's OpenAI or Anthropic key, never
4373
4451
  to Deepline credits. Tools an agent calls spend Deepline credits as they
4374
- would for you.
4452
+ would for you. A turn an outcome wakes the agent for is a turn like any
4453
+ other.
4375
4454
  Avoid:
4376
4455
  Do not pass the model key as an argument; it is refused. Do not bind a
4377
4456
  channel the agent's Slack app is not in, or one in a Slack workspace this
@@ -1,16 +1,16 @@
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 _chunkVYSUJMB5js = require('./chunk-VYSUJMB5.js');
3
+ var _chunkPYFMNPTAjs = require('./chunk-PYFMNPTA.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk2QYU57RGjs = require('./chunk-2QYU57RG.js');
7
+ var _chunk36254433js = require('./chunk-36254433.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkVYSUJMB5js.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkPYFMNPTAjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunk2QYU57RGjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunk2QYU57RGjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunk36254433js.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunk36254433js.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -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.574",
52
+ version: "0.3.576",
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."
@@ -102,6 +102,16 @@ var SDK_RELEASE = {
102
102
  introducedIn: "0.3.287",
103
103
  reason: "deepline search was added in SDK CLI 0.3.287 as the one search across tools, monitors, plays, and docs. On an older version run deepline tools search or deepline plays search, or update."
104
104
  },
105
+ {
106
+ command: "integrations",
107
+ introducedIn: "0.3.543",
108
+ reason: "deepline integrations was added in SDK CLI 0.3.543 to connect providers and manage named org authorizations. Older versions cannot print a provider setup link, so update before connecting a provider from the CLI."
109
+ },
110
+ {
111
+ command: "outcomes",
112
+ introducedIn: "0.3.553",
113
+ reason: "deepline outcomes was added in SDK CLI 0.3.553. Older versions cannot read or write an outcome, so update before setting one up or checking in on it."
114
+ },
105
115
  {
106
116
  command: "notifications",
107
117
  introducedIn: "0.2.40",
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  rejectRestrictedFeedback
3
- } from "./chunk-LLSCFLFU.mjs";
3
+ } from "./chunk-YHM64N5C.mjs";
4
4
  import {
5
5
  getAuthedHttpClient,
6
6
  printCommandEnvelope
7
- } from "./chunk-2TMAKJBT.mjs";
7
+ } from "./chunk-JPFAD6G6.mjs";
8
8
  import {
9
9
  agentSessionIdFromEnvironment,
10
10
  claudeProjectsRoots,
11
11
  coworkTranscriptFromEnvironment
12
- } from "./chunk-ZFXDD7VM.mjs";
12
+ } from "./chunk-XJNJ3BWU.mjs";
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
  import {
@@ -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(); } }
2
2
 
3
- var _chunkVYSUJMB5js = require('./chunk-VYSUJMB5.js');
3
+ var _chunkPYFMNPTAjs = require('./chunk-PYFMNPTA.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk2QYU57RGjs = require('./chunk-2QYU57RG.js');
7
+ var _chunk36254433js = require('./chunk-36254433.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunk2QYU57RGjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkVYSUJMB5js.PlayClient)(
142
- new (0, _chunk2QYU57RGjs.HttpClient)(config),
140
+ const config = _chunk36254433js.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkPYFMNPTAjs.PlayClient)(
142
+ new (0, _chunk36254433js.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -2,7 +2,7 @@ import {
2
2
  rateLimitSummary,
3
3
  schemaField,
4
4
  schemaFields
5
- } from "./chunk-L2NXB4WG.mjs";
5
+ } from "./chunk-FYKHAT2F.mjs";
6
6
  import {
7
7
  exampleInputFileLine,
8
8
  exampleJsonInput,
@@ -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.574",
52
+ version: "0.3.576",
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."
@@ -102,6 +102,16 @@ var SDK_RELEASE = {
102
102
  introducedIn: "0.3.287",
103
103
  reason: "deepline search was added in SDK CLI 0.3.287 as the one search across tools, monitors, plays, and docs. On an older version run deepline tools search or deepline plays search, or update."
104
104
  },
105
+ {
106
+ command: "integrations",
107
+ introducedIn: "0.3.543",
108
+ reason: "deepline integrations was added in SDK CLI 0.3.543 to connect providers and manage named org authorizations. Older versions cannot print a provider setup link, so update before connecting a provider from the CLI."
109
+ },
110
+ {
111
+ command: "outcomes",
112
+ introducedIn: "0.3.553",
113
+ reason: "deepline outcomes was added in SDK CLI 0.3.553. Older versions cannot read or write an outcome, so update before setting one up or checking in on it."
114
+ },
105
115
  {
106
116
  command: "notifications",
107
117
  introducedIn: "0.2.40",
@@ -1,13 +1,13 @@
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 _chunkUXIUAIL2js = require('./chunk-UXIUAIL2.js');
3
+ var _chunkSBZSJQEIjs = require('./chunk-SBZSJQEI.js');
4
4
 
5
5
 
6
6
  var _chunkTJCENACZjs = require('./chunk-TJCENACZ.js');
7
7
 
8
8
 
9
9
 
10
- var _chunk2QYU57RGjs = require('./chunk-2QYU57RG.js');
10
+ var _chunk36254433js = require('./chunk-36254433.js');
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -24,11 +24,11 @@ function concurrentRunsLine(payload) {
24
24
  return plans ? `${here} Plan limits: ${plans}.` : here;
25
25
  }
26
26
  async function concurrentRunsHelpStatus(timeoutMs = 2e3) {
27
- const baseUrl = _chunk2QYU57RGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
28
- const apiKey = _chunk2QYU57RGjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
27
+ const baseUrl = _chunk36254433js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
28
+ const apiKey = _chunk36254433js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
29
29
  if (!apiKey) return "";
30
30
  try {
31
- const { status, data } = await _chunkUXIUAIL2js.httpJson.call(void 0,
31
+ const { status, data } = await _chunkSBZSJQEIjs.httpJson.call(void 0,
32
32
  "GET",
33
33
  `${baseUrl}/api/v2/billing/entitlements`,
34
34
  apiKey,