deepline 0.3.573 → 0.3.574
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.
- package/dist/bundling-sources/sdk/src/config.ts +19 -0
- package/dist/bundling-sources/sdk/src/play.ts +7 -4
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +8 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +43 -7
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +56 -20
- package/dist/cli/agents-6WN5LYUP.mjs +833 -0
- package/dist/cli/agents-7ZZSF4FS.js +833 -0
- package/dist/cli/{auth-XX3HLRQ2.mjs → auth-I2QVO677.mjs} +5 -5
- package/dist/cli/auth-UKPV5U2B.js +44 -0
- package/dist/cli/{billing-6TY2HMC6.js → billing-44QFBUWA.js} +106 -106
- package/dist/cli/{billing-QASEPOBL.mjs → billing-YPH4GEWU.mjs} +10 -10
- package/dist/cli/{chunk-GWPXWKQR.js → chunk-2QYU57RG.js} +15 -7
- package/dist/cli/{chunk-OPD6XUIG.js → chunk-2RPRSTHD.js} +5 -5
- package/dist/cli/{chunk-DSE45YP4.mjs → chunk-2TMAKJBT.mjs} +2 -2
- package/dist/cli/{chunk-PW3PADXI.mjs → chunk-4T2U72SP.mjs} +1 -1
- package/dist/cli/{chunk-JAW75RAO.js → chunk-5E2PAGF5.js} +27 -20
- package/dist/cli/{chunk-X3BGF6UU.js → chunk-6B5EZOI3.js} +10 -10
- package/dist/cli/{chunk-UBTEDSIK.js → chunk-6GZIT3TH.js} +20 -20
- package/dist/cli/{chunk-N5VL6BHF.mjs → chunk-7334X74C.mjs} +2 -2
- package/dist/cli/{chunk-TNCJ2J76.js → chunk-7GQU46SZ.js} +26 -26
- package/dist/cli/{chunk-KQZBN7TB.js → chunk-7UR57HPJ.js} +1 -1
- package/dist/cli/{chunk-6ASDTHEN.js → chunk-AFPGYZBH.js} +21 -17
- package/dist/cli/{chunk-QFDT35HF.mjs → chunk-B2XLIQPH.mjs} +3 -3
- package/dist/cli/{chunk-DIZI5YGW.js → chunk-BUBOZKH2.js} +2 -2
- package/dist/cli/{chunk-Z6KWSBOX.js → chunk-D6ZVRKJ2.js} +41 -41
- package/dist/cli/{chunk-CY3BUFMG.js → chunk-DG56RWI2.js} +2 -2
- package/dist/cli/{chunk-TJSKDOXN.js → chunk-DOZIWA66.js} +7 -7
- package/dist/cli/{chunk-LPYUGPTF.mjs → chunk-DX646HO7.mjs} +4 -4
- package/dist/cli/{chunk-YKHXWO7N.js → chunk-ECLCRE5P.js} +3 -3
- package/dist/cli/{chunk-OG3YWDYA.js → chunk-G2HW2SAP.js} +13 -13
- package/dist/cli/{chunk-QDQOXHXQ.mjs → chunk-G7OR3GVD.mjs} +5 -5
- package/dist/cli/{chunk-ROSPYLDN.mjs → chunk-GMQZFWQU.mjs} +17 -10
- package/dist/cli/{chunk-UZLTBBAG.js → chunk-H7PVSG3L.js} +15 -15
- package/dist/cli/{chunk-WQEGXOUT.js → chunk-I62ZBEKH.js} +48 -48
- package/dist/cli/{chunk-5NEJOCOK.mjs → chunk-IA2LTIWO.mjs} +2 -2
- package/dist/cli/{chunk-DLWVJ66I.js → chunk-IB225ZK4.js} +4 -4
- package/dist/cli/{chunk-FUVVTHXE.js → chunk-ID3LGPOE.js} +23 -23
- package/dist/cli/{chunk-LHPYCJNL.js → chunk-IXYVHTRZ.js} +19 -6
- package/dist/cli/{chunk-64MOX3SN.mjs → chunk-JCO226JM.mjs} +111 -2
- package/dist/cli/{chunk-JCVAVHDP.mjs → chunk-JY7RKJ65.mjs} +21 -16
- package/dist/cli/{chunk-N6KF6X3D.js → chunk-KSHZY52O.js} +114 -5
- package/dist/cli/{chunk-BM4GE67C.mjs → chunk-L2NXB4WG.mjs} +19 -6
- package/dist/cli/{chunk-4K6UVILG.mjs → chunk-LCAXLGAY.mjs} +2 -2
- package/dist/cli/{chunk-XWO4J34B.js → chunk-LJLM4BUL.js} +6 -6
- package/dist/cli/{chunk-T2QI52F2.mjs → chunk-LLSCFLFU.mjs} +1 -1
- package/dist/cli/{chunk-C52RRBYB.mjs → chunk-MAMGREBW.mjs} +1 -1
- package/dist/cli/{chunk-NUH56LTU.mjs → chunk-MGF3MK27.mjs} +5 -5
- package/dist/cli/{chunk-FXLVMWWA.js → chunk-N6I3BB2O.js} +280 -275
- package/dist/cli/{chunk-UNTBQY64.js → chunk-NDDGFX4X.js} +11 -11
- package/dist/cli/{chunk-NJTTRJ32.mjs → chunk-NRVEVKXR.mjs} +2 -2
- package/dist/cli/{chunk-IXCGWJJZ.mjs → chunk-OH6WOID2.mjs} +2 -2
- package/dist/cli/{chunk-WSXRJ2RZ.mjs → chunk-OIZUFRTE.mjs} +3 -3
- package/dist/cli/{chunk-2USXCXPZ.js → chunk-PP5RMEQQ.js} +5 -5
- package/dist/cli/{chunk-ANSHNREL.mjs → chunk-PW6NKI2A.mjs} +3 -3
- package/dist/cli/{chunk-ENHQBPR5.mjs → chunk-Q3A53SWK.mjs} +4 -3
- package/dist/cli/{chunk-XLN4Z654.mjs → chunk-QPSBV4FD.mjs} +2 -2
- package/dist/cli/{chunk-4LWBURSS.mjs → chunk-S22FSNNC.mjs} +1 -1
- package/dist/cli/{chunk-KART6FR6.js → chunk-SLXCVPN7.js} +2 -2
- package/dist/cli/{chunk-MQOJ7SP4.mjs → chunk-SRUNYWQ2.mjs} +9 -1
- package/dist/cli/{chunk-XVFRNNL2.js → chunk-UXIUAIL2.js} +53 -53
- package/dist/cli/{chunk-M2UJWUWX.mjs → chunk-VGIDPJXM.mjs} +3 -3
- package/dist/cli/{chunk-IZK2BLBW.js → chunk-VLUBEMWM.js} +20 -20
- package/dist/cli/{chunk-N3VZTISZ.js → chunk-VYSUJMB5.js} +8 -8
- package/dist/cli/{chunk-6JTJP3WO.mjs → chunk-W6UCS3O6.mjs} +5 -5
- package/dist/cli/{chunk-XAIXTB74.mjs → chunk-X7RKCAMX.mjs} +4 -4
- package/dist/cli/{chunk-TBLP7HDL.js → chunk-XMBTAPHR.js} +10 -9
- package/dist/cli/{chunk-ESKNCTFI.mjs → chunk-XVBEEGI4.mjs} +1 -1
- package/dist/cli/{chunk-5MCC4D25.mjs → chunk-YR4REP4D.mjs} +1 -1
- package/dist/cli/{chunk-KQLIG4YR.js → chunk-Z3XFXFRT.js} +9 -9
- package/dist/cli/{chunk-ENLJ67CZ.mjs → chunk-ZFXDD7VM.mjs} +1 -1
- package/dist/cli/{chunk-HUJMFETO.mjs → chunk-ZTCP5BHH.mjs} +7 -3
- package/dist/cli/command-docs.js +3 -3
- package/dist/cli/command-docs.mjs +2 -2
- package/dist/cli/concurrent-runs-help-BFVCUJF4.js +22 -0
- package/dist/cli/{concurrent-runs-help-IILHMHBX.mjs → concurrent-runs-help-ROQM6UB3.mjs} +7 -7
- package/dist/cli/{csv-OSJQVDAS.js → csv-FWGSY4GE.js} +13 -13
- package/dist/cli/{csv-VGYW2PQZ.mjs → csv-R7GV33BC.mjs} +4 -4
- package/dist/cli/{db-2IMS6K2F.js → db-OCH35YJG.js} +27 -27
- package/dist/cli/{db-3IQYT3WD.mjs → db-UWXA4RRV.mjs} +6 -6
- package/dist/cli/describe-6OI5K2SH.js +50 -0
- package/dist/cli/{describe-IGJ4CHUC.mjs → describe-QI4HMUGE.mjs} +21 -21
- package/dist/cli/describe-core.d.mts +4 -2
- package/dist/cli/describe-core.d.ts +4 -2
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-VOJN4NPF.js → executions-7CFGC24E.js} +8 -8
- package/dist/cli/{executions-6F3PLVCR.mjs → executions-YF3KMZZN.mjs} +6 -6
- package/dist/cli/{feedback-BP5G27DT.mjs → feedback-DWIWBS7O.mjs} +6 -6
- package/dist/cli/{feedback-5N7GKSMC.js → feedback-YCZHHSBS.js} +14 -14
- package/dist/cli/git-TGLNZRS3.js +26 -0
- package/dist/cli/{git-FHNCP7QA.mjs → git-XCGMQQOD.mjs} +5 -5
- package/dist/cli/index.js +152 -148
- package/dist/cli/index.mjs +51 -47
- package/dist/cli/{integrations-KKCEEWDU.mjs → integrations-5ABAJBSW.mjs} +7 -7
- package/dist/cli/{integrations-JZV55BZT.js → integrations-IEZA3TGK.js} +29 -29
- package/dist/cli/{legacy-noops-OVOHF47E.js → legacy-noops-KNFLJ5P2.js} +9 -9
- package/dist/cli/{legacy-noops-YOPWDLRG.mjs → legacy-noops-OZMY73Y3.mjs} +6 -6
- package/dist/cli/{mcp-F2XGBA6W.js → mcp-NLQAO7KP.js} +24 -24
- package/dist/cli/{mcp-SJAXFYTI.mjs → mcp-WSPFKQPZ.mjs} +4 -4
- package/dist/cli/{monitors-RQRNQRYB.js → monitors-BJYOB4S3.js} +100 -100
- package/dist/cli/{monitors-PFH3FQLD.mjs → monitors-LPKFFTOX.mjs} +7 -7
- package/dist/cli/{org-PZC6SUZD.mjs → org-RYPMUYUW.mjs} +6 -6
- package/dist/cli/{org-WPOEKMTG.js → org-WIVHI4WT.js} +121 -121
- package/dist/cli/{outcomes-ZS7XD3KQ.mjs → outcomes-FADJYC4I.mjs} +9 -7
- package/dist/cli/{outcomes-EXOCNHOC.js → outcomes-QKX7IE3O.js} +17 -15
- package/dist/cli/{play-UKSRFVIU.mjs → play-4ZKK5Q7U.mjs} +88 -33
- package/dist/cli/{play-JS2TEEE7.js → play-ID73J3NP.js} +393 -338
- package/dist/cli/{providers-U6IODPMJ.mjs → providers-LURYBSNO.mjs} +6 -6
- package/dist/cli/{providers-3U4MWBLU.js → providers-WCCGYGW6.js} +9 -9
- package/dist/cli/{quickstart-G5QN5CUE.mjs → quickstart-KCCSEE5J.mjs} +4 -4
- package/dist/cli/{quickstart-SHBAEDX6.js → quickstart-LVPOU25V.js} +6 -6
- package/dist/cli/{run-SZRKNLUT.js → run-2QMJRCVA.js} +48 -48
- package/dist/cli/{run-3ZOJ6V7C.mjs → run-XXK7DDUF.mjs} +26 -26
- package/dist/cli/search-AQSAXA6D.js +32 -0
- package/dist/cli/{search-2VX5WNMJ.mjs → search-ZYAWW3CK.mjs} +7 -7
- package/dist/cli/{search-output-U5N2O6IA.mjs → search-output-N45AIOB4.mjs} +9 -6
- package/dist/cli/{search-output-WGDHYYHX.js → search-output-YNXAZSKT.js} +12 -9
- package/dist/cli/{secrets-SQKP5ILO.mjs → secrets-7Q3AOUAS.mjs} +6 -6
- package/dist/cli/{secrets-UITJOGVQ.js → secrets-MHT27L2M.js} +15 -15
- package/dist/cli/{sessions-LSXO2OKX.mjs → sessions-6QKOM7M3.mjs} +6 -6
- package/dist/cli/sessions-RGD7L4LC.js +23 -0
- package/dist/cli/{settings-YGYRDPOK.mjs → settings-NPVIDENI.mjs} +12 -12
- package/dist/cli/{settings-VZI675JG.js → settings-OP7Q6YX6.js} +85 -85
- package/dist/cli/{setup-GXGXRWKN.mjs → setup-OOT3EIMF.mjs} +9 -9
- package/dist/cli/{setup-OJ33NOWK.js → setup-RT6GHL3W.js} +49 -49
- package/dist/cli/skills-ERAA734H.js +37 -0
- package/dist/cli/{skills-3VDYIFAX.mjs → skills-TEXI4CLZ.mjs} +7 -7
- package/dist/cli/tools-D5SZSIIH.js +57 -0
- package/dist/cli/{tools-3TKEGDBP.mjs → tools-G5L36M3X.mjs} +19 -19
- package/dist/cli/update-WZ6527EF.js +37 -0
- package/dist/cli/{update-K6A4QXTC.mjs → update-YNKQTE4D.mjs} +9 -9
- package/dist/cli/{views-2PPIVWDK.mjs → views-IQFMUMLU.mjs} +6 -6
- package/dist/cli/{views-SGGO77XS.js → views-OVQ5AQAU.js} +21 -21
- package/dist/cli/{workflow-YSFOOTPB.js → workflow-RCBYXIFZ.js} +17 -17
- package/dist/cli/{workflow-JTG6QEFO.mjs → workflow-Y5IFMI7N.mjs} +7 -7
- package/dist/{client-DCnExziW.d.ts → client-BrdMPFCM.d.ts} +1 -1
- package/dist/{client-ClJlqkKt.d.mts → client-CF-bsrtI.d.mts} +1 -1
- package/dist/{client-core-DAOPQnGD.d.mts → client-core-DM1ZedOG.d.mts} +8 -0
- package/dist/{client-core-BKq5ZNAl.d.ts → client-core-rMoUWSYM.d.ts} +8 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +128 -126
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-DGR7ZQJL.js +0 -44
- package/dist/cli/concurrent-runs-help-HEIDXAM2.js +0 -22
- package/dist/cli/describe-LBU4I6SU.js +0 -50
- package/dist/cli/git-JUSPUUOH.js +0 -26
- package/dist/cli/search-TAFMLK4K.js +0 -32
- package/dist/cli/sessions-RA6FBIHJ.js +0 -23
- package/dist/cli/skills-J5QVWKLQ.js +0 -37
- package/dist/cli/tools-3PQXQGXL.js +0 -57
- package/dist/cli/update-CA3DZ75E.js +0 -37
- /package/dist/cli/{chunk-2RIKOPIM.mjs → chunk-HECXJBED.mjs} +0 -0
- /package/dist/cli/{chunk-H4ALLC2X.js → chunk-TJCENACZ.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PRICING_PAGE_NOTE
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HECXJBED.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS
|
|
6
6
|
} from "./chunk-LRZGS6RZ.mjs";
|
|
@@ -1075,7 +1075,12 @@ Input:
|
|
|
1075
1075
|
[[cli:
|
|
1076
1076
|
Output (JSON):
|
|
1077
1077
|
Bare: one entry per category with its tool count. With a category: one row
|
|
1078
|
-
per tool with required inputs and a pricing hint.
|
|
1078
|
+
per tool with required inputs and a pricing hint in Deepline credits. A tool
|
|
1079
|
+
that runs on your own provider key (one you connected, or one the tool
|
|
1080
|
+
requires) shows "0 (your key)": no Deepline charge. JSON keeps billingSource
|
|
1081
|
+
own_provider_credentials (free when the tool is free on Deepline) and
|
|
1082
|
+
billingSourceLabel "your key". An unconnected one also says it needs a
|
|
1083
|
+
connection. Never truncated.
|
|
1079
1084
|
]]
|
|
1080
1085
|
Cost:
|
|
1081
1086
|
Free.
|
|
@@ -4267,6 +4272,110 @@ Errors (code):
|
|
|
4267
4272
|
name_invalid, play_invalid, input_invalid, forbidden, views_not_enabled.
|
|
4268
4273
|
Cost:
|
|
4269
4274
|
Free.
|
|
4275
|
+
`
|
|
4276
|
+
},
|
|
4277
|
+
agents: {
|
|
4278
|
+
rolloutFeature: "agent",
|
|
4279
|
+
core: `
|
|
4280
|
+
Purpose:
|
|
4281
|
+
Deepline agents in Slack. Members create agents, each with instructions and
|
|
4282
|
+
skills from the workspace's skill library, and bind Slack channels to them.
|
|
4283
|
+
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
|
|
4285
|
+
own coding agent works with Deepline.
|
|
4286
|
+
Set up once (owners and admins):
|
|
4287
|
+
1. Turn agents on: [[agents enable]]. The first run creates the service
|
|
4288
|
+
account. [[agents disable]] turns every agent off.
|
|
4289
|
+
2. Set the model key every agent runs on: [[agents billing set]] reads an
|
|
4290
|
+
OpenAI or Anthropic API key from piped stdin (deepline agents billing
|
|
4291
|
+
set < key.txt) or a hidden prompt. An sk-ant- key is Anthropic's; pass
|
|
4292
|
+
--provider openai|anthropic to say so outright. With an OpenAI key the
|
|
4293
|
+
agents run on gpt-6.1-sol, with an Anthropic key on claude-opus-5-5. It
|
|
4294
|
+
is stored encrypted and never shown again; setting another key replaces
|
|
4295
|
+
it. Admins can also set it on the Integrations page.
|
|
4296
|
+
3. Add the agent to your Slack workspace: [[agents slack install]] prints
|
|
4297
|
+
an "Add to Slack" link. Open it in a browser signed in to Deepline as
|
|
4298
|
+
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
|
|
4300
|
+
bot token, stored encrypted, and only this workspace's channels answer
|
|
4301
|
+
there. A Slack workspace already connected to another Deepline
|
|
4302
|
+
workspace is refused. [[agents slack status]] lists where the agent is
|
|
4303
|
+
installed. Removing the app in Slack takes it out of that Slack
|
|
4304
|
+
workspace; installing again brings its channels back.
|
|
4305
|
+
Make an agent (members with the run grant):
|
|
4306
|
+
1. Optionally add skills to the library:
|
|
4307
|
+
[[agents skills set icp --file SKILL.md]]. A skill is markdown with a
|
|
4308
|
+
description of when to load it (frontmatter or --description). Any
|
|
4309
|
+
agent may use it; replacing it changes every agent that does.
|
|
4310
|
+
2. Create the agent: [[agents create pipeline --instructions "Answer pipeline questions" --skills icp]].
|
|
4311
|
+
Instructions say what it does and never does (at most 8,000
|
|
4312
|
+
characters); at most 10 skills.
|
|
4313
|
+
3. Invite the agent's Slack app to a channel, then bind it:
|
|
4314
|
+
[[agents channels add pipeline C0123456789]]. A channel answers with one
|
|
4315
|
+
agent; to move it, remove it first.
|
|
4316
|
+
4. Try it without Slack: [[agents test C0123456789 "who are our top accounts?"]]
|
|
4317
|
+
or [[agents chat C0123456789]]. To play several people in one thread,
|
|
4318
|
+
name each with --as:
|
|
4319
|
+
[[agents test C0123456789 "narrow that to HubSpot users" --thread <id> --as priya]].
|
|
4320
|
+
Only an agent's or skill's creator, or an admin, changes or deletes it:
|
|
4321
|
+
[[agents update pipeline --skills icp,territories]], [[agents delete pipeline]],
|
|
4322
|
+
[[agents channels remove C0123456789]], [[agents skills delete icp]].
|
|
4323
|
+
Feedback:
|
|
4324
|
+
Each answer the agent posts in Slack carries Helpful / Not helpful buttons.
|
|
4325
|
+
[[agents feedback]] lists the ratings, newest first; --agent pipeline keeps
|
|
4326
|
+
one agent's, --limit sets the page size (at most 100) and --cursor reads
|
|
4327
|
+
the next page, with the same --agent. A cursor the list did not print
|
|
4328
|
+
exits 2. A person's later click replaces their rating.
|
|
4329
|
+
Replies:
|
|
4330
|
+
Each turn the agent finishes in Slack is recorded: its channel and
|
|
4331
|
+
thread, how it ended, how long it took, its tool calls and tokens, never
|
|
4332
|
+
the message text or who asked. [[agents replies]] lists them newest first,
|
|
4333
|
+
with each reply's ratings; it takes --agent, --limit (at most 100) and
|
|
4334
|
+
--cursor as feedback does. [[agents activity]] sums each agent's last
|
|
4335
|
+
7 days.
|
|
4336
|
+
Direct messages:
|
|
4337
|
+
The agent works only in its channels. A direct message to it gets a reply
|
|
4338
|
+
naming the channels where it answers.
|
|
4339
|
+
Confirmations:
|
|
4340
|
+
When a Deepline tool spends credits or changes data, the agent says what
|
|
4341
|
+
will run and the expected credits, and goes ahead once you say so in the
|
|
4342
|
+
thread. Only the person whose mention started the turn answers the
|
|
4343
|
+
agent's questions, with the buttons or in words; anyone else who clicks
|
|
4344
|
+
is told who can.
|
|
4345
|
+
Output (JSON):
|
|
4346
|
+
list prints workspace {lifecycle, billing {provider (openai, anthropic),
|
|
4347
|
+
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.
|
|
4353
|
+
feedback prints feedback[] {agentName (null once deleted), platform,
|
|
4354
|
+
conversationId, conversationName, threadTs, messageTs, raterId, rating
|
|
4355
|
+
(helpful, not_helpful), updatedAt} and cursor (null on the last page).
|
|
4356
|
+
replies prints replies[] {id, agentName, platform, conversationId,
|
|
4357
|
+
conversationName, threadTs, outcome (completed, failed, cancelled),
|
|
4358
|
+
durationMs, toolCalls, inputTokens, outputTokens, finishedAt, ratings
|
|
4359
|
+
(null when no buttons were posted; {counted: true, helpful, notHelpful};
|
|
4360
|
+
or {counted: false} past 100 ratings)} and cursor. activity prints days,
|
|
4361
|
+
since, readLimit and agents[] {agentName, lastReplyAt, window {replies,
|
|
4362
|
+
failed, cancelled, perDay[] (oldest day first), medianDurationMs,
|
|
4363
|
+
inputTokens, outputTokens}, or window null past readLimit replies}.
|
|
4364
|
+
test prints threadId, status (replied, awaiting_answer, failed), reply,
|
|
4365
|
+
question {prompt, options} and error; failed exits 5. Answer a question
|
|
4366
|
+
with test on the same --thread, sending an option or your own answer.
|
|
4367
|
+
slack install prints installUrl, redirectUri, scopes and expiresAt. slack
|
|
4368
|
+
status prints installations[] {teamId, teamName, status (installed,
|
|
4369
|
+
uninstalled), scopes, installedAt, installedByUserId, uninstalledAt,
|
|
4370
|
+
uninstallReason (app_uninstalled, tokens_revoked)}; never a token.
|
|
4371
|
+
Cost:
|
|
4372
|
+
Model calls are billed to the workspace's OpenAI or Anthropic key, never
|
|
4373
|
+
to Deepline credits. Tools an agent calls spend Deepline credits as they
|
|
4374
|
+
would for you.
|
|
4375
|
+
Avoid:
|
|
4376
|
+
Do not pass the model key as an argument; it is refused. Do not bind a
|
|
4377
|
+
channel the agent's Slack app is not in, or one in a Slack workspace this
|
|
4378
|
+
workspace has not installed it in; both are refused.
|
|
4270
4379
|
`
|
|
4271
4380
|
},
|
|
4272
4381
|
"sessions send": {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
addDescribeOptions,
|
|
3
3
|
recordApiResponse,
|
|
4
4
|
writeExecutionOutput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IA2LTIWO.mjs";
|
|
6
6
|
import {
|
|
7
7
|
registerIntegrationBalanceCommand,
|
|
8
8
|
registerIntegrationConnectCommand,
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
registerLegacyHubSpotMembersCommand,
|
|
12
12
|
registerLegacyWorkspaceConnectionCommand,
|
|
13
13
|
registerWorkspaceConnectionListCommand
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VGIDPJXM.mjs";
|
|
15
15
|
import {
|
|
16
16
|
recentSearchRef,
|
|
17
17
|
registerDeprecatedSearchCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-X7RKCAMX.mjs";
|
|
19
19
|
import {
|
|
20
20
|
Capability,
|
|
21
21
|
arrayField,
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
toolInputFieldsForDisplay,
|
|
38
38
|
toolMetadataJsonForDescribe,
|
|
39
39
|
toolOutputFieldsForDisplay
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-Q3A53SWK.mjs";
|
|
41
41
|
import {
|
|
42
42
|
rateLimitQualifier
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-L2NXB4WG.mjs";
|
|
44
44
|
import {
|
|
45
45
|
shellArgument,
|
|
46
46
|
shellQuote
|
|
@@ -57,29 +57,29 @@ import {
|
|
|
57
57
|
} from "./chunk-FIVKWNMT.mjs";
|
|
58
58
|
import {
|
|
59
59
|
DeeplineClient
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-LCAXLGAY.mjs";
|
|
61
61
|
import {
|
|
62
62
|
validateExecutionIdempotencyKey
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-4T2U72SP.mjs";
|
|
64
64
|
import {
|
|
65
65
|
beginToolExecuteCommand,
|
|
66
66
|
getToolExecuteInvocationId,
|
|
67
67
|
maybeAutoUpdateAndRelaunch,
|
|
68
68
|
registerCompatibilityCatalog,
|
|
69
69
|
runToolExecuteStage
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-G7OR3GVD.mjs";
|
|
71
71
|
import {
|
|
72
72
|
isCliTraceEnabled,
|
|
73
73
|
recordCliTrace,
|
|
74
74
|
resolveCliMaintenancePolicy
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-S22FSNNC.mjs";
|
|
76
76
|
import {
|
|
77
77
|
checkSdkCompatibility,
|
|
78
78
|
enforceSdkCompatibilityResponse,
|
|
79
79
|
flushDeferredSkillsSyncNotices,
|
|
80
80
|
requireSdkCompatibility,
|
|
81
81
|
syncSdkSkillsIfNeeded
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-MGF3MK27.mjs";
|
|
83
83
|
import {
|
|
84
84
|
errorToJsonPayload,
|
|
85
85
|
printCommandEnvelope,
|
|
@@ -88,12 +88,12 @@ import {
|
|
|
88
88
|
printJsonError,
|
|
89
89
|
renderCommandEnvelopeText,
|
|
90
90
|
shouldEmitJson
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-2TMAKJBT.mjs";
|
|
92
92
|
import {
|
|
93
93
|
readSdkSkillsLocalVersion,
|
|
94
94
|
resolveConfig,
|
|
95
95
|
sdkCliStateDirPath
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-SRUNYWQ2.mjs";
|
|
97
97
|
import {
|
|
98
98
|
DeeplineError
|
|
99
99
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -529,6 +529,9 @@ function notConnectedSuffix(tool) {
|
|
|
529
529
|
});
|
|
530
530
|
return message ? ` - \u26A0 ${message}` : "";
|
|
531
531
|
}
|
|
532
|
+
function runsOnOwnKey(tool) {
|
|
533
|
+
return tool.billingSource === "own_provider_credentials" || tool.billingSource === "free";
|
|
534
|
+
}
|
|
532
535
|
function shortPricingHint(tool) {
|
|
533
536
|
const pricing = recordField(
|
|
534
537
|
tool,
|
|
@@ -536,6 +539,7 @@ function shortPricingHint(tool) {
|
|
|
536
539
|
);
|
|
537
540
|
const credits = numberField(pricing, "creditsPerUnit", "credits_per_unit");
|
|
538
541
|
const unit = stringField(pricing, "unit");
|
|
542
|
+
if (runsOnOwnKey(tool)) return "0 (your key)";
|
|
539
543
|
if (credits !== null) {
|
|
540
544
|
return `${formatDecimal(credits)} cr/${unit || "unit"}`;
|
|
541
545
|
}
|
|
@@ -654,6 +658,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
654
658
|
provider: tool.provider,
|
|
655
659
|
required: requiredInputIds(tool),
|
|
656
660
|
pricing: shortPricingHint(tool),
|
|
661
|
+
...tool.billingSource ? { billingSource: tool.billingSource } : {},
|
|
657
662
|
description: firstSentence(tool.description),
|
|
658
663
|
notConnected: notConnectedSuffix(tool)
|
|
659
664
|
})).sort((a, b) => a.id.localeCompare(b.id));
|
|
@@ -1052,7 +1057,7 @@ Examples:
|
|
|
1052
1057
|
process.exitCode = await narrowView();
|
|
1053
1058
|
return;
|
|
1054
1059
|
}
|
|
1055
|
-
const { describeAnything } = await import("./describe-
|
|
1060
|
+
const { describeAnything } = await import("./describe-QI4HMUGE.mjs");
|
|
1056
1061
|
process.exitCode = await describeAnything(
|
|
1057
1062
|
toolId,
|
|
1058
1063
|
{
|
|
@@ -1852,11 +1857,11 @@ function listedToolDescription(tool) {
|
|
|
1852
1857
|
}
|
|
1853
1858
|
function formatListedToolCost(tool) {
|
|
1854
1859
|
const record = tool;
|
|
1855
|
-
if (stringField(record, "billingSource", "billing_source") === "free") {
|
|
1856
|
-
return "Cost: Free";
|
|
1857
|
-
}
|
|
1858
1860
|
const pricing = recordField(record, "pricing");
|
|
1859
1861
|
const displayText = stringField(pricing, "displayText", "display_text");
|
|
1862
|
+
if (stringField(record, "billingSource", "billing_source") === "free") {
|
|
1863
|
+
return `Cost: ${displayText || "Free"}`;
|
|
1864
|
+
}
|
|
1860
1865
|
return displayText ? `Cost: ${displayText}` : "";
|
|
1861
1866
|
}
|
|
1862
1867
|
function printToolOutputArrayShape(tool) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkTJCENACZjs = require('./chunk-TJCENACZ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkE2G2DNABjs = require('./chunk-E2G2DNAB.js');
|
|
@@ -452,7 +452,7 @@ Output:
|
|
|
452
452
|
Database and sandbox charges share included compute by dollar value.
|
|
453
453
|
Usage is shown in standard sandbox minutes at your current rate and in credits.
|
|
454
454
|
${PLAY_RUNTIME_PRICING_NOTE}
|
|
455
|
-
${
|
|
455
|
+
${_chunkTJCENACZjs.PRICING_PAGE_NOTE}
|
|
456
456
|
Cost:
|
|
457
457
|
Free to check.
|
|
458
458
|
[[cli:
|
|
@@ -1075,7 +1075,12 @@ Input:
|
|
|
1075
1075
|
[[cli:
|
|
1076
1076
|
Output (JSON):
|
|
1077
1077
|
Bare: one entry per category with its tool count. With a category: one row
|
|
1078
|
-
per tool with required inputs and a pricing hint.
|
|
1078
|
+
per tool with required inputs and a pricing hint in Deepline credits. A tool
|
|
1079
|
+
that runs on your own provider key (one you connected, or one the tool
|
|
1080
|
+
requires) shows "0 (your key)": no Deepline charge. JSON keeps billingSource
|
|
1081
|
+
own_provider_credentials (free when the tool is free on Deepline) and
|
|
1082
|
+
billingSourceLabel "your key". An unconnected one also says it needs a
|
|
1083
|
+
connection. Never truncated.
|
|
1079
1084
|
]]
|
|
1080
1085
|
Cost:
|
|
1081
1086
|
Free.
|
|
@@ -1786,7 +1791,7 @@ Concurrency:
|
|
|
1786
1791
|
deepline billing entitlements shows this org's plan and limit and
|
|
1787
1792
|
every plan's limit; this help prints them too when you are signed in.
|
|
1788
1793
|
]]
|
|
1789
|
-
${
|
|
1794
|
+
${_chunkTJCENACZjs.PRICING_PAGE_NOTE}
|
|
1790
1795
|
Cost:
|
|
1791
1796
|
Spends Deepline credits through the play's tool calls. Validation errors
|
|
1792
1797
|
(missing column, bad input) fail before any spend.
|
|
@@ -2037,7 +2042,7 @@ Concurrency:
|
|
|
2037
2042
|
deepline billing entitlements shows this org's plan and limit and
|
|
2038
2043
|
every plan's limit; this help prints them too when you are signed in.
|
|
2039
2044
|
]]
|
|
2040
|
-
${
|
|
2045
|
+
${_chunkTJCENACZjs.PRICING_PAGE_NOTE}
|
|
2041
2046
|
Cost:
|
|
2042
2047
|
Free.
|
|
2043
2048
|
Avoid:
|
|
@@ -4267,6 +4272,110 @@ Errors (code):
|
|
|
4267
4272
|
name_invalid, play_invalid, input_invalid, forbidden, views_not_enabled.
|
|
4268
4273
|
Cost:
|
|
4269
4274
|
Free.
|
|
4275
|
+
`
|
|
4276
|
+
},
|
|
4277
|
+
agents: {
|
|
4278
|
+
rolloutFeature: "agent",
|
|
4279
|
+
core: `
|
|
4280
|
+
Purpose:
|
|
4281
|
+
Deepline agents in Slack. Members create agents, each with instructions and
|
|
4282
|
+
skills from the workspace's skill library, and bind Slack channels to them.
|
|
4283
|
+
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
|
|
4285
|
+
own coding agent works with Deepline.
|
|
4286
|
+
Set up once (owners and admins):
|
|
4287
|
+
1. Turn agents on: [[agents enable]]. The first run creates the service
|
|
4288
|
+
account. [[agents disable]] turns every agent off.
|
|
4289
|
+
2. Set the model key every agent runs on: [[agents billing set]] reads an
|
|
4290
|
+
OpenAI or Anthropic API key from piped stdin (deepline agents billing
|
|
4291
|
+
set < key.txt) or a hidden prompt. An sk-ant- key is Anthropic's; pass
|
|
4292
|
+
--provider openai|anthropic to say so outright. With an OpenAI key the
|
|
4293
|
+
agents run on gpt-6.1-sol, with an Anthropic key on claude-opus-5-5. It
|
|
4294
|
+
is stored encrypted and never shown again; setting another key replaces
|
|
4295
|
+
it. Admins can also set it on the Integrations page.
|
|
4296
|
+
3. Add the agent to your Slack workspace: [[agents slack install]] prints
|
|
4297
|
+
an "Add to Slack" link. Open it in a browser signed in to Deepline as
|
|
4298
|
+
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
|
|
4300
|
+
bot token, stored encrypted, and only this workspace's channels answer
|
|
4301
|
+
there. A Slack workspace already connected to another Deepline
|
|
4302
|
+
workspace is refused. [[agents slack status]] lists where the agent is
|
|
4303
|
+
installed. Removing the app in Slack takes it out of that Slack
|
|
4304
|
+
workspace; installing again brings its channels back.
|
|
4305
|
+
Make an agent (members with the run grant):
|
|
4306
|
+
1. Optionally add skills to the library:
|
|
4307
|
+
[[agents skills set icp --file SKILL.md]]. A skill is markdown with a
|
|
4308
|
+
description of when to load it (frontmatter or --description). Any
|
|
4309
|
+
agent may use it; replacing it changes every agent that does.
|
|
4310
|
+
2. Create the agent: [[agents create pipeline --instructions "Answer pipeline questions" --skills icp]].
|
|
4311
|
+
Instructions say what it does and never does (at most 8,000
|
|
4312
|
+
characters); at most 10 skills.
|
|
4313
|
+
3. Invite the agent's Slack app to a channel, then bind it:
|
|
4314
|
+
[[agents channels add pipeline C0123456789]]. A channel answers with one
|
|
4315
|
+
agent; to move it, remove it first.
|
|
4316
|
+
4. Try it without Slack: [[agents test C0123456789 "who are our top accounts?"]]
|
|
4317
|
+
or [[agents chat C0123456789]]. To play several people in one thread,
|
|
4318
|
+
name each with --as:
|
|
4319
|
+
[[agents test C0123456789 "narrow that to HubSpot users" --thread <id> --as priya]].
|
|
4320
|
+
Only an agent's or skill's creator, or an admin, changes or deletes it:
|
|
4321
|
+
[[agents update pipeline --skills icp,territories]], [[agents delete pipeline]],
|
|
4322
|
+
[[agents channels remove C0123456789]], [[agents skills delete icp]].
|
|
4323
|
+
Feedback:
|
|
4324
|
+
Each answer the agent posts in Slack carries Helpful / Not helpful buttons.
|
|
4325
|
+
[[agents feedback]] lists the ratings, newest first; --agent pipeline keeps
|
|
4326
|
+
one agent's, --limit sets the page size (at most 100) and --cursor reads
|
|
4327
|
+
the next page, with the same --agent. A cursor the list did not print
|
|
4328
|
+
exits 2. A person's later click replaces their rating.
|
|
4329
|
+
Replies:
|
|
4330
|
+
Each turn the agent finishes in Slack is recorded: its channel and
|
|
4331
|
+
thread, how it ended, how long it took, its tool calls and tokens, never
|
|
4332
|
+
the message text or who asked. [[agents replies]] lists them newest first,
|
|
4333
|
+
with each reply's ratings; it takes --agent, --limit (at most 100) and
|
|
4334
|
+
--cursor as feedback does. [[agents activity]] sums each agent's last
|
|
4335
|
+
7 days.
|
|
4336
|
+
Direct messages:
|
|
4337
|
+
The agent works only in its channels. A direct message to it gets a reply
|
|
4338
|
+
naming the channels where it answers.
|
|
4339
|
+
Confirmations:
|
|
4340
|
+
When a Deepline tool spends credits or changes data, the agent says what
|
|
4341
|
+
will run and the expected credits, and goes ahead once you say so in the
|
|
4342
|
+
thread. Only the person whose mention started the turn answers the
|
|
4343
|
+
agent's questions, with the buttons or in words; anyone else who clicks
|
|
4344
|
+
is told who can.
|
|
4345
|
+
Output (JSON):
|
|
4346
|
+
list prints workspace {lifecycle, billing {provider (openai, anthropic),
|
|
4347
|
+
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.
|
|
4353
|
+
feedback prints feedback[] {agentName (null once deleted), platform,
|
|
4354
|
+
conversationId, conversationName, threadTs, messageTs, raterId, rating
|
|
4355
|
+
(helpful, not_helpful), updatedAt} and cursor (null on the last page).
|
|
4356
|
+
replies prints replies[] {id, agentName, platform, conversationId,
|
|
4357
|
+
conversationName, threadTs, outcome (completed, failed, cancelled),
|
|
4358
|
+
durationMs, toolCalls, inputTokens, outputTokens, finishedAt, ratings
|
|
4359
|
+
(null when no buttons were posted; {counted: true, helpful, notHelpful};
|
|
4360
|
+
or {counted: false} past 100 ratings)} and cursor. activity prints days,
|
|
4361
|
+
since, readLimit and agents[] {agentName, lastReplyAt, window {replies,
|
|
4362
|
+
failed, cancelled, perDay[] (oldest day first), medianDurationMs,
|
|
4363
|
+
inputTokens, outputTokens}, or window null past readLimit replies}.
|
|
4364
|
+
test prints threadId, status (replied, awaiting_answer, failed), reply,
|
|
4365
|
+
question {prompt, options} and error; failed exits 5. Answer a question
|
|
4366
|
+
with test on the same --thread, sending an option or your own answer.
|
|
4367
|
+
slack install prints installUrl, redirectUri, scopes and expiresAt. slack
|
|
4368
|
+
status prints installations[] {teamId, teamName, status (installed,
|
|
4369
|
+
uninstalled), scopes, installedAt, installedByUserId, uninstalledAt,
|
|
4370
|
+
uninstallReason (app_uninstalled, tokens_revoked)}; never a token.
|
|
4371
|
+
Cost:
|
|
4372
|
+
Model calls are billed to the workspace's OpenAI or Anthropic key, never
|
|
4373
|
+
to Deepline credits. Tools an agent calls spend Deepline credits as they
|
|
4374
|
+
would for you.
|
|
4375
|
+
Avoid:
|
|
4376
|
+
Do not pass the model key as an argument; it is refused. Do not bind a
|
|
4377
|
+
channel the agent's Slack app is not in, or one in a Slack workspace this
|
|
4378
|
+
workspace has not installed it in; both are refused.
|
|
4270
4379
|
`
|
|
4271
4380
|
},
|
|
4272
4381
|
"sessions send": {
|
|
@@ -852,14 +852,27 @@ function describedJson(described, view) {
|
|
|
852
852
|
...hidden.length ? { hidden } : {}
|
|
853
853
|
};
|
|
854
854
|
}
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
const
|
|
858
|
-
return
|
|
855
|
+
var DASHBOARD_WORKSPACE_PARAM = "workspace";
|
|
856
|
+
function buildDashboardUrl(baseUrl, path, orgId) {
|
|
857
|
+
const url = `${baseUrl.replace(/\/$/, "")}${path}`;
|
|
858
|
+
if (!orgId) return url;
|
|
859
|
+
const param = new URLSearchParams({ [DASHBOARD_WORKSPACE_PARAM]: orgId });
|
|
860
|
+
return `${url}${url.includes("?") ? "&" : "?"}${param.toString()}`;
|
|
861
|
+
}
|
|
862
|
+
function buildPlayDashboardUrl(baseUrl, playName, orgId) {
|
|
863
|
+
return buildDashboardUrl(
|
|
864
|
+
baseUrl,
|
|
865
|
+
`/dashboard/plays/${encodeURIComponent(playName)}`,
|
|
866
|
+
orgId
|
|
867
|
+
);
|
|
859
868
|
}
|
|
860
|
-
function buildPlayRunUrl(baseUrl, playName, runId) {
|
|
869
|
+
function buildPlayRunUrl(baseUrl, playName, runId, orgId) {
|
|
861
870
|
const params = new URLSearchParams({ runId });
|
|
862
|
-
return
|
|
871
|
+
return buildDashboardUrl(
|
|
872
|
+
baseUrl,
|
|
873
|
+
`/dashboard/plays/${encodeURIComponent(playName)}?${params.toString()}`,
|
|
874
|
+
orgId
|
|
875
|
+
);
|
|
863
876
|
}
|
|
864
877
|
function describedPlay(play) {
|
|
865
878
|
const reference = play.reference || play.name;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4T2U72SP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SRUNYWQ2.mjs";
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
10
|
var DeeplineClient2 = class extends DeeplineClient {
|
|
@@ -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
|
|
3
|
+
var _chunkSLXCVPN7js = require('./chunk-SLXCVPN7.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkI62ZBEKHjs = require('./chunk-I62ZBEKH.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")
|
|
22
|
-
const compatibility = await
|
|
21
|
+
if (maintenancePolicy !== "off") _chunkI62ZBEKHjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
22
|
+
const compatibility = await _chunkSLXCVPN7js.traceCliSpan.call(void 0,
|
|
23
23
|
"cli.sdk_compatibility",
|
|
24
24
|
{ baseUrl, command: "plays run" },
|
|
25
|
-
() =>
|
|
25
|
+
() => _chunkI62ZBEKHjs.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
|
-
|
|
32
|
+
_chunkI62ZBEKHjs.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
|
|
33
33
|
quietAdvisory: true
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getActiveCliProgress
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YR4REP4D.mjs";
|
|
4
4
|
import {
|
|
5
5
|
maybeReportAutomaticSkillsSyncFailure
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2TMAKJBT.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-
|
|
21
|
+
} from "./chunk-SRUNYWQ2.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-
|
|
28
|
+
} from "./chunk-ZFXDD7VM.mjs";
|
|
29
29
|
import {
|
|
30
30
|
DeeplineError
|
|
31
31
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
32
32
|
import {
|
|
33
33
|
SDK_RELEASE
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XVBEEGI4.mjs";
|
|
35
35
|
|
|
36
36
|
// src/compat.ts
|
|
37
37
|
import { randomUUID } from "crypto";
|