deepline 0.3.502 → 0.3.503
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/client-core.ts +26 -0
- package/dist/bundling-sources/sdk/src/index.ts +1 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +9 -0
- package/dist/bundling-sources/shared_libs/monitors/starter-templates.ts +0 -8
- package/dist/bundling-sources/shared_libs/observability/dlq.ts +174 -0
- package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
- package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +20 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +62 -2
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +667 -62
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +55 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +20 -2
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +46 -0
- package/dist/bundling-sources/shared_libs/play-runtime/execution-gateway-invocation-fence.ts +80 -4
- package/dist/bundling-sources/shared_libs/play-runtime/fixture-egress-fetch.ts +95 -0
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +292 -45
- package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +15 -0
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-http-request.ts +7 -3
- package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +31 -1
- package/dist/bundling-sources/shared_libs/play-runtime/post-code-recovery-policy.ts +231 -0
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-ending-event.ts +55 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +126 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +38 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +2 -9
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +51 -19
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +9 -4
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-actions.ts +12 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +42 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-store-adapter.ts +26 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +13 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-deadline-reconciliation.ts +53 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +631 -19
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-inventory.ts +719 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-sql.ts +206 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/latest-cache-result.ts +83 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1432 -157
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +61 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +29 -8
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-queue-health.ts +27 -2
- package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +45 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +129 -14
- package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +2 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +10 -1
- package/dist/cli/{auth-EFHLOVG4.mjs → auth-IC4WLSE3.mjs} +5 -5
- package/dist/cli/auth-ZCMSXZO4.js +43 -0
- package/dist/cli/{billing-Q5XKEYPP.mjs → billing-2VOV64SD.mjs} +6 -6
- package/dist/cli/{billing-SKT2VE34.js → billing-LWQOII22.js} +79 -79
- package/dist/cli/{chunk-TAK3MVXY.js → chunk-2626LTU3.js} +284 -267
- package/dist/cli/{chunk-OEUMXKR5.js → chunk-26RSSTCF.js} +26 -26
- package/dist/cli/{chunk-JFBJLNBI.js → chunk-2K2QBLYO.js} +53 -53
- package/dist/cli/{chunk-32YQBJON.js → chunk-33JUK73X.js} +7 -7
- package/dist/cli/{chunk-X5MGQ7UT.js → chunk-3CXHK4TW.js} +10 -10
- package/dist/cli/{chunk-YPTZJ7LO.js → chunk-4IIYSBEP.js} +70 -13
- package/dist/cli/{chunk-HIVRCTDR.mjs → chunk-5GI6NKOE.mjs} +20 -1
- package/dist/cli/{chunk-TFFJ2PRN.mjs → chunk-5M5WSFRZ.mjs} +70 -13
- package/dist/cli/{chunk-4CCMD7QM.mjs → chunk-6XTE6C3W.mjs} +32 -15
- package/dist/cli/{chunk-OFBLT2LQ.mjs → chunk-7HEDCIR3.mjs} +1 -1
- package/dist/cli/{chunk-DRBD4IYQ.mjs → chunk-7MJYZ33I.mjs} +2 -6
- package/dist/cli/{chunk-JL6H4H3G.js → chunk-A2C6ONWA.js} +6 -6
- package/dist/cli/{chunk-DKAMCJIT.js → chunk-AARF4SOW.js} +17 -13
- package/dist/cli/{chunk-QNELA7SX.js → chunk-B3X4YWQ6.js} +53 -53
- package/dist/cli/{chunk-NZXB27TP.mjs → chunk-BI2Q45SY.mjs} +4 -4
- package/dist/cli/{chunk-FVM4PS5Q.js → chunk-BN5VKY4X.js} +25 -12
- package/dist/cli/{chunk-UOANF3DR.js → chunk-C5RQTTLP.js} +26 -7
- package/dist/cli/{chunk-YWOQYYYS.mjs → chunk-D27HP3HS.mjs} +2 -2
- package/dist/cli/{chunk-NXVYLX3F.mjs → chunk-DPI5OYVU.mjs} +10 -6
- package/dist/cli/{chunk-R5F7JXT4.mjs → chunk-EDMV4JT5.mjs} +2 -2
- package/dist/cli/{chunk-MYUISF3P.mjs → chunk-EQ3WMKFY.mjs} +5 -5
- package/dist/cli/{chunk-YDXEXVBV.js → chunk-F73PD2XD.js} +7 -7
- package/dist/cli/{chunk-L5CTJY74.mjs → chunk-FHJ54BHH.mjs} +2 -2
- package/dist/cli/{chunk-EUWRKWT4.js → chunk-FIUTDSJX.js} +5 -4
- package/dist/cli/{chunk-WKFAX2K7.js → chunk-FVDTERO2.js} +21 -21
- package/dist/cli/{chunk-Q3NM6ZL3.js → chunk-FZHOWPSN.js} +23 -21
- package/dist/cli/{chunk-NKLM4J4X.mjs → chunk-GIHNEYBG.mjs} +1 -1
- package/dist/cli/{chunk-7ZYSXSJJ.mjs → chunk-GLZBFBJS.mjs} +5 -5
- package/dist/cli/{chunk-DYHTXGLX.js → chunk-HRTDCXHI.js} +2 -2
- package/dist/cli/{chunk-JLYDLK6X.js → chunk-HS63YBT5.js} +3 -3
- package/dist/cli/{chunk-LA3UYRVZ.js → chunk-IIP46RVC.js} +1 -1
- package/dist/cli/{chunk-SAW3FBCA.mjs → chunk-ITJ7NB2D.mjs} +6 -0
- package/dist/cli/{chunk-54QXWK3C.mjs → chunk-J6RBOLK7.mjs} +1 -1
- package/dist/cli/{chunk-YL2CCF6T.mjs → chunk-JJVN7OIX.mjs} +4 -4
- package/dist/cli/{chunk-4WTC5SSN.mjs → chunk-JPDD4Y53.mjs} +10 -8
- package/dist/cli/{chunk-HMZF2CSP.mjs → chunk-K7NFFQFU.mjs} +2 -2
- package/dist/cli/{chunk-2MVIS2UI.mjs → chunk-KGLVATEB.mjs} +2 -2
- package/dist/cli/{chunk-3MJSWVQ2.mjs → chunk-KPBBT6OS.mjs} +2 -1
- package/dist/cli/{chunk-W5CHE5Q2.mjs → chunk-L3TZV625.mjs} +1 -1
- package/dist/cli/{chunk-GINKIZ7S.js → chunk-MJQOG4TZ.js} +16 -16
- package/dist/cli/{chunk-JO5FFSR7.js → chunk-NTLBZUHD.js} +6 -0
- package/dist/cli/{chunk-QOJBRCAS.js → chunk-PVA3MWCO.js} +3 -3
- package/dist/cli/{chunk-OVZOMSH2.js → chunk-QIEYEY6Z.js} +8 -8
- package/dist/cli/{chunk-JFUXUSKB.mjs → chunk-R2VZVHJP.mjs} +15 -2
- package/dist/cli/{chunk-2S2F6YSI.js → chunk-RVOBFO7C.js} +41 -41
- package/dist/cli/{chunk-XMKUJ44Z.js → chunk-TCQYWZFS.js} +5 -5
- package/dist/cli/{chunk-FWDAEWCD.js → chunk-TMQUMILM.js} +19 -23
- package/dist/cli/{chunk-3KEZVGGV.mjs → chunk-URZNSJE2.mjs} +4 -4
- package/dist/cli/{chunk-MP5QY4A2.mjs → chunk-VC5B462T.mjs} +2 -2
- package/dist/cli/{chunk-IL666WJE.js → chunk-WHP3FJ7T.js} +5 -5
- package/dist/cli/{chunk-ZNB6GR3P.mjs → chunk-WS274KID.mjs} +1 -1
- package/dist/cli/{chunk-Z2H7OQ6E.mjs → chunk-XYZZZLN6.mjs} +2 -2
- package/dist/cli/{chunk-AJL2Q6IQ.js → chunk-YXGPMTAK.js} +2 -2
- package/dist/cli/{chunk-2JS3H6H6.mjs → chunk-ZEQPCEV4.mjs} +3 -3
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-6AEPKKCO.mjs → csv-2TXOI3UE.mjs} +4 -4
- package/dist/cli/{csv-OXGSCV75.js → csv-NEWCNOSZ.js} +13 -13
- package/dist/cli/{db-6NVHDUZY.js → db-J3IJS4OG.js} +27 -27
- package/dist/cli/{db-K3KRK4CZ.mjs → db-PX7EQEIG.mjs} +6 -6
- package/dist/cli/{describe-P3ZJS7TQ.mjs → describe-GQHGTZSL.mjs} +20 -20
- package/dist/cli/describe-LE7EZCL4.js +49 -0
- package/dist/cli/describe-core.d.mts +8 -4
- package/dist/cli/describe-core.d.ts +8 -4
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-I7XW6WWK.mjs → executions-FFKK24RY.mjs} +6 -6
- package/dist/cli/{executions-2C2FFG52.js → executions-RO3TJUXL.js} +8 -8
- package/dist/cli/{feedback-47B57A5Y.js → feedback-XRR4HIS6.js} +8 -8
- package/dist/cli/{feedback-RSTNBJAI.mjs → feedback-ZTO56SRL.mjs} +4 -4
- package/dist/cli/git-26AH4XIO.js +25 -0
- package/dist/cli/{git-3G5AFKBT.mjs → git-FIPBVFYZ.mjs} +5 -5
- package/dist/cli/index.js +142 -142
- package/dist/cli/index.mjs +42 -42
- package/dist/cli/{legacy-noops-NQ262TKL.mjs → legacy-noops-AMD2NWHF.mjs} +5 -5
- package/dist/cli/{legacy-noops-P665PBG4.js → legacy-noops-MTBBGM27.js} +8 -8
- package/dist/cli/{monitors-KUPZODZS.mjs → monitors-24LDKDJX.mjs} +7 -7
- package/dist/cli/{monitors-IPWAD7LS.js → monitors-42PIGLBF.js} +95 -95
- package/dist/cli/{org-ZCQGEM3L.mjs → org-4B7SCFRL.mjs} +6 -6
- package/dist/cli/{org-WFC3N672.js → org-GQMCA3MN.js} +72 -72
- package/dist/cli/{pages-VE66IU7B.mjs → pages-PD5EGL2R.mjs} +6 -6
- package/dist/cli/{pages-N5BNC67L.js → pages-RL2M62GJ.js} +18 -18
- package/dist/cli/{play-EIMDIAJB.mjs → play-5V54VTUR.mjs} +132 -26
- package/dist/cli/{play-NKIRJSKX.js → play-FST6ZAHW.js} +447 -341
- package/dist/cli/{providers-XU3AGY2F.js → providers-HBUUPN7J.js} +9 -9
- package/dist/cli/{providers-KDTJ63ED.mjs → providers-N5YVCKPL.mjs} +6 -6
- package/dist/cli/{quickstart-OSCHOSXU.js → quickstart-4QIQNSHG.js} +6 -6
- package/dist/cli/{quickstart-TXFXUODF.mjs → quickstart-NJDDVTQR.mjs} +4 -4
- package/dist/cli/{run-ET2KVTPK.js → run-FGOKCG4J.js} +44 -44
- package/dist/cli/{run-ODGML35U.mjs → run-JHI5MTHD.mjs} +25 -25
- package/dist/cli/search-CTKSEVSO.js +32 -0
- package/dist/cli/{search-DK67K6PR.mjs → search-EWIZBIY2.mjs} +7 -7
- package/dist/cli/{search-output-6SOKQTCW.mjs → search-output-NAK3MWBH.mjs} +5 -5
- package/dist/cli/{search-output-KXP4FA62.js → search-output-TMQTRC2W.js} +7 -7
- package/dist/cli/{secrets-WPS6NMNK.js → secrets-5TSUEOJB.js} +15 -15
- package/dist/cli/{secrets-C6SYTMU7.mjs → secrets-ONQVW5SR.mjs} +6 -6
- package/dist/cli/{sessions-PXVOH34X.mjs → sessions-B7F5O3ZR.mjs} +5 -5
- package/dist/cli/{sessions-IP562J5Z.js → sessions-BSGE5EET.js} +6 -6
- package/dist/cli/{settings-SUDUIVMY.js → settings-47LARBRU.js} +78 -78
- package/dist/cli/{settings-FBUQGYVJ.mjs → settings-SGGFQV5R.mjs} +11 -11
- package/dist/cli/{setup-JSIMTR73.mjs → setup-ATGNXQUK.mjs} +9 -9
- package/dist/cli/{setup-I5H6IOEY.js → setup-BNFZFXO6.js} +49 -49
- package/dist/cli/skills-6RD25MVM.js +36 -0
- package/dist/cli/{skills-FJQ3LX6N.mjs → skills-CIMBRM5R.mjs} +7 -7
- package/dist/cli/{tools-IGBK4BVE.mjs → tools-DTDXAULX.mjs} +18 -18
- package/dist/cli/tools-TDZH4XHS.js +56 -0
- package/dist/cli/{update-7MTT6F5K.mjs → update-EOIJBJCO.mjs} +9 -9
- package/dist/cli/update-Y32VT4VL.js +34 -0
- package/dist/cli/{workflow-PM2J2OU3.mjs → workflow-IWXUJPWY.mjs} +7 -7
- package/dist/cli/{workflow-UX3ZX6BQ.js → workflow-V5VKPICQ.js} +17 -17
- package/dist/{client-Bn8FwKGO.d.ts → client-CIwenMFS.d.ts} +1 -1
- package/dist/{client-CfNRmjLK.d.mts → client-DYAfJpaN.d.mts} +1 -1
- package/dist/{client-core-B91EV0WS.d.ts → client-core-CRjtyMAI.d.ts} +25 -2
- package/dist/{client-core-BG8Cgrmk.d.mts → client-core-DlzP8vEs.d.mts} +25 -2
- package/dist/{compiler-manifest-DlXDyndN.d.mts → compiler-manifest-DaJrA2KV.d.mts} +1 -1
- package/dist/{compiler-manifest-DlXDyndN.d.ts → compiler-manifest-DaJrA2KV.d.ts} +1 -1
- package/dist/{errors-BtriA2ld.d.mts → errors-BKnSYueU.d.mts} +1 -1
- package/dist/{errors-DmcLykM7.d.ts → errors-KLga4bLr.d.ts} +1 -1
- package/dist/{index-DI0sR_fX.d.mts → index-C-8AFpWy.d.mts} +1 -1
- package/dist/{index--Jw-slHY.d.ts → index-C5nAZ-VS.d.ts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +123 -116
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +8 -1
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- 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 +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-VM3IKP5F.js +0 -43
- package/dist/cli/describe-JOUAXXPE.js +0 -49
- package/dist/cli/git-OPKIC6JQ.js +0 -25
- package/dist/cli/search-6U54Y3OK.js +0 -32
- package/dist/cli/skills-VHININXC.js +0 -36
- package/dist/cli/tools-XMBMHVKF.js +0 -56
- package/dist/cli/update-H7JVW43I.js +0 -34
|
@@ -398,6 +398,8 @@ Examples:
|
|
|
398
398
|
]]
|
|
399
399
|
Output:
|
|
400
400
|
A ranked list. Each result has an id, its kind, what it does, and its price.
|
|
401
|
+
Tools that need a provider connection are flagged. Describe the tool to
|
|
402
|
+
see how to connect it.
|
|
401
403
|
Cost:
|
|
402
404
|
Free.
|
|
403
405
|
Next:
|
|
@@ -416,6 +418,12 @@ When:
|
|
|
416
418
|
do not say which kind the id is.
|
|
417
419
|
Exact tool ids can also resolve supported tools hidden from list/search
|
|
418
420
|
for compatibility. Absence from discovery does not mean a tool was removed.
|
|
421
|
+
[[cli:
|
|
422
|
+
If a tool needs a connection, the description gives the dashboard setup link
|
|
423
|
+
when available and the exact tools connect command. Share byok.setupUrl
|
|
424
|
+
from JSON, or run connectCommand and share the returned connect_url with a
|
|
425
|
+
workspace owner or admin.
|
|
426
|
+
]]
|
|
419
427
|
[[cli:
|
|
420
428
|
Input:
|
|
421
429
|
The id or reference from search. --verbose fills in every input and reads
|
|
@@ -424,6 +432,8 @@ Input:
|
|
|
424
432
|
schema over 100 lines; --out <path> saves the output; --json prints JSON.
|
|
425
433
|
A tool lists its features, such as the model an AI tool runs;
|
|
426
434
|
--feature <name>[=<value>] describes one.
|
|
435
|
+
The byok feature marks tools that can use your own provider credentials.
|
|
436
|
+
Use --feature byok for setup details and the dashboard link when available.
|
|
427
437
|
A play your workspace created is shown instead of a Deepline tool or
|
|
428
438
|
prebuilt play of the same name; deepline/<name> shows the Deepline one.
|
|
429
439
|
]]
|
|
@@ -432,6 +442,8 @@ Output:
|
|
|
432
442
|
Readable text by default; read that form. With --json:
|
|
433
443
|
kind, id, displayName, description, cost, inputs[], outputs[], and
|
|
434
444
|
runExamples {cli, play}, plus the kind's own fields.
|
|
445
|
+
Tools include provider and report connected and credentialStatus when known.
|
|
446
|
+
A missing provider connection can include connectCommand and byok.setupUrl.
|
|
435
447
|
]]
|
|
436
448
|
Cost:
|
|
437
449
|
Free.
|
|
@@ -492,8 +504,14 @@ Cost:
|
|
|
492
504
|
"tools connect": {
|
|
493
505
|
core: `
|
|
494
506
|
Purpose:
|
|
495
|
-
|
|
507
|
+
Get a shareable dashboard link or connect a provider to the active workspace.
|
|
508
|
+
Completing a connection requires a workspace owner or admin.
|
|
496
509
|
Input:
|
|
510
|
+
--link looks up the exact provider id. When a person needs to connect a
|
|
511
|
+
provider, use the command printed by deepline describe <tool-id> or look up
|
|
512
|
+
the tool's provider field. Give them the returned link and tell them to
|
|
513
|
+
select the intended workspace in the dashboard.
|
|
514
|
+
The link opens that provider's setup without starting OAuth or saving anything.
|
|
497
515
|
--credentials-file <path> saves a private JSON object of credential strings.
|
|
498
516
|
A provider that takes one API key reads {"api_key": "..."}; a file with one
|
|
499
517
|
field is accepted whatever the field is named. A multi-field provider (for
|
|
@@ -508,12 +526,15 @@ Input:
|
|
|
508
526
|
requests no optional scopes. Scope names and presets
|
|
509
527
|
are validated by the server; requested access may differ from granted access.
|
|
510
528
|
Output:
|
|
529
|
+
Link: dashboard URL, or {provider, connect_url} with --json. Share connect_url
|
|
530
|
+
with the workspace owner or admin who will finish setup in the browser.
|
|
511
531
|
Credentials: confirmation without secret values.
|
|
512
532
|
OAuth: URL, or {provider, redirect_url} with --json. This does not confirm a
|
|
513
533
|
completed connection. The browser must finish authorization.
|
|
514
534
|
Cost:
|
|
515
535
|
Does not spend Deepline credits.
|
|
516
536
|
Examples:
|
|
537
|
+
deepline tools connect hubspot --link --json
|
|
517
538
|
deepline tools connect heyreach --credentials-file ./heyreach.json
|
|
518
539
|
deepline tools connect hubspot --oauth --preset read-crm
|
|
519
540
|
`
|
|
@@ -573,6 +594,10 @@ When:
|
|
|
573
594
|
reliable source of field names.
|
|
574
595
|
Exact ids can resolve supported hidden tools for compatibility even when
|
|
575
596
|
list/search omit them. Absence from discovery does not mean removal.
|
|
597
|
+
[[cli:
|
|
598
|
+
When provider credentials are missing, share byok.setupUrl from the
|
|
599
|
+
description, or run connectCommand and share the returned connect_url.
|
|
600
|
+
]]
|
|
576
601
|
[[cli:
|
|
577
602
|
Input:
|
|
578
603
|
The tool id. Prints readable text by default; read that
|
|
@@ -621,11 +646,10 @@ Output fields:
|
|
|
621
646
|
connected false means the provider needs a connected account or
|
|
622
647
|
key in this workspace; execute will fail with 3.
|
|
623
648
|
credentialStatus detail for connected false.
|
|
624
|
-
byok
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
connected, Deepline's managed credentials are used.
|
|
649
|
+
byok shown with --feature byok. supported says whether
|
|
650
|
+
you can connect your own provider credentials.
|
|
651
|
+
required says whether the tool needs them. setupUrl
|
|
652
|
+
opens the provider's dashboard setup when available.
|
|
629
653
|
extractors / targetGetters JSON paths the CLI uses to turn the raw provider
|
|
630
654
|
response into rows.
|
|
631
655
|
usageGuidance provider-specific notes worth reading once.
|
|
@@ -1088,6 +1112,8 @@ Input:
|
|
|
1088
1112
|
--columns.<field> <header> maps a CSV header to a required field.
|
|
1089
1113
|
--no-wait returns the run id immediately instead of waiting.
|
|
1090
1114
|
--run-id-file <path> writes the run id as soon as the server accepts it.
|
|
1115
|
+
--from-run <run-id> starts a new run with that run's retained input and
|
|
1116
|
+
pinned revision instead of a target and input.
|
|
1091
1117
|
]]
|
|
1092
1118
|
[[cli:
|
|
1093
1119
|
Output (JSON, printed when the run ends):
|
|
@@ -1166,8 +1192,9 @@ Output fields:
|
|
|
1166
1192
|
Reruns and idempotency:
|
|
1167
1193
|
Running the same play with the same input reuses completed provider calls
|
|
1168
1194
|
and rows, so rerunning after a partial failure only pays for the missing
|
|
1169
|
-
work.[[cli: --
|
|
1170
|
-
|
|
1195
|
+
work.[[cli: --from-start starts a fresh run graph; --refresh-cache skips
|
|
1196
|
+
cached reads, calls providers again (bills those calls again), and updates
|
|
1197
|
+
the shared result other Plays reuse; it is almost never what you want.]]
|
|
1171
1198
|
Related:
|
|
1172
1199
|
[[runs get <run-id>]] for status later; [[cli:runs export]][[mcp:deepline_read_play_output]] for rows; [[runs logs]] for
|
|
1173
1200
|
persisted logs; [[billing usage --run-id]] for cost.
|
|
@@ -1608,11 +1635,14 @@ Cost:
|
|
|
1608
1635
|
"runs rerun": {
|
|
1609
1636
|
core: `
|
|
1610
1637
|
Purpose:
|
|
1611
|
-
Start a new run of the same play with the same input
|
|
1612
|
-
|
|
1638
|
+
Start over: a new run of the same play with the same input and revision
|
|
1639
|
+
as an earlier run. Calls run again unless their staleAfterSeconds allows a
|
|
1640
|
+
cached result, so writes repeat. [[cli:plays run --from-run <run-id> is
|
|
1641
|
+
the new name for this; runs resume <run-id> continues a stopped run
|
|
1642
|
+
without repeating its completed work.]]
|
|
1613
1643
|
When:
|
|
1614
|
-
|
|
1615
|
-
|
|
1644
|
+
To start over after changing data or settings. To continue a failed run
|
|
1645
|
+
after fixing its cause, prefer runs resume.
|
|
1616
1646
|
[[cli:
|
|
1617
1647
|
Input:
|
|
1618
1648
|
The run id. --json.
|
|
@@ -1620,7 +1650,34 @@ Input:
|
|
|
1620
1650
|
Output (JSON):
|
|
1621
1651
|
The new run's package, as plays run --json prints.
|
|
1622
1652
|
Cost:
|
|
1623
|
-
Spends credits
|
|
1653
|
+
Spends credits for every call that runs again; reused cached results are
|
|
1654
|
+
free.
|
|
1655
|
+
`
|
|
1656
|
+
},
|
|
1657
|
+
"runs resume": {
|
|
1658
|
+
core: `
|
|
1659
|
+
Purpose:
|
|
1660
|
+
Continue a failed or cancelled run as the same run, without repeating its
|
|
1661
|
+
completed work.
|
|
1662
|
+
When:
|
|
1663
|
+
After fixing the cause of a failure. A run can be resumed for 14 days after
|
|
1664
|
+
it stops. [[cli:To start over as a new run instead, use plays run --from-run
|
|
1665
|
+
<run-id>.]]
|
|
1666
|
+
[[cli:
|
|
1667
|
+
Input:
|
|
1668
|
+
The run id.
|
|
1669
|
+
]]
|
|
1670
|
+
[[cli:Output:
|
|
1671
|
+
Confirmation of the same run id and its new resume epoch.]]
|
|
1672
|
+
[[mcp:Output (JSON):
|
|
1673
|
+
runId (the same run), resumed: true, and epoch (how many times the run has
|
|
1674
|
+
been resumed).]]
|
|
1675
|
+
Follow the run with [[runs get]].
|
|
1676
|
+
Cost:
|
|
1677
|
+
Spends credits only for work the run had not finished.
|
|
1678
|
+
Avoid:
|
|
1679
|
+
Resuming a run that is still active, or one whose last attempt is still
|
|
1680
|
+
finishing; the server refuses both. Wait a minute and try again.
|
|
1624
1681
|
`
|
|
1625
1682
|
},
|
|
1626
1683
|
notifications: {
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
RETAINED_PIPELINE_RECEIVERS_HEADER,
|
|
32
32
|
RUNTIME_ENVIRONMENT_TOKEN_HEADER,
|
|
33
33
|
SDK_API_MAJOR
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-KPBBT6OS.mjs";
|
|
35
35
|
import {
|
|
36
36
|
CustomerDbQueryOutcomeUnknownError
|
|
37
37
|
} from "./chunk-4QF2K7TM.mjs";
|
|
@@ -3535,6 +3535,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
3535
3535
|
searchEvents: (options) => this.searchRunEvents(options),
|
|
3536
3536
|
input: (runId) => this.getRunInput(runId),
|
|
3537
3537
|
rerun: (runId, options) => this.rerun(runId, options),
|
|
3538
|
+
resume: (runId) => this.resumeRun(runId),
|
|
3538
3539
|
exportDatasetRows: (input) => this.getPlaySheetRows(input),
|
|
3539
3540
|
rowHistory: (input) => this.getPlayRunRowHistory(input),
|
|
3540
3541
|
stop: (runId, options) => this.stopRun(runId, options),
|
|
@@ -4975,6 +4976,19 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
4975
4976
|
{ "Idempotency-Key": idempotencyKey || globalThis.crypto.randomUUID() }
|
|
4976
4977
|
);
|
|
4977
4978
|
}
|
|
4979
|
+
/**
|
|
4980
|
+
* Continue a failed or cancelled run as the same run. Completed calls are
|
|
4981
|
+
* reused; only work the run had not finished runs. A run can be resumed for
|
|
4982
|
+
* 14 days after it stops. Refusals (still active, last attempt still
|
|
4983
|
+
* finishing, sandbox cleanup pending, window expired) throw a
|
|
4984
|
+
* {@link DeeplineError} with the server's code.
|
|
4985
|
+
*/
|
|
4986
|
+
async resumeRun(runId) {
|
|
4987
|
+
return this.http.post(
|
|
4988
|
+
`/api/v2/runs/${encodeURIComponent(runId)}/resume`,
|
|
4989
|
+
{}
|
|
4990
|
+
);
|
|
4991
|
+
}
|
|
4978
4992
|
/**
|
|
4979
4993
|
* Read a run's retained text tail (default 200), full retained stream (`all`), or terminal failure window (`failed`, at most 20). These are existing reads; sampling and retention loss cannot be recovered. See [run logs and events](run-events.md) for structured search and payload retrieval.
|
|
4980
4994
|
*
|
|
@@ -5446,6 +5460,11 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
5446
5460
|
async getNotificationSettings() {
|
|
5447
5461
|
return this.http.get("/api/v2/settings/notifications");
|
|
5448
5462
|
}
|
|
5463
|
+
/** Get the dashboard link where a workspace owner or admin can connect a provider. */
|
|
5464
|
+
async getIntegrationConnectLink(provider) {
|
|
5465
|
+
const params = new URLSearchParams({ provider });
|
|
5466
|
+
return this.http.get(`/api/v2/integrations/connect?${params}`);
|
|
5467
|
+
}
|
|
5449
5468
|
/** Save provider-owned credential fields without starting an OAuth browser flow. */
|
|
5450
5469
|
async setIntegrationCredentials(provider, credentials) {
|
|
5451
5470
|
return this.http.post("/api/v2/integrations/connect", {
|
|
@@ -398,6 +398,8 @@ Examples:
|
|
|
398
398
|
]]
|
|
399
399
|
Output:
|
|
400
400
|
A ranked list. Each result has an id, its kind, what it does, and its price.
|
|
401
|
+
Tools that need a provider connection are flagged. Describe the tool to
|
|
402
|
+
see how to connect it.
|
|
401
403
|
Cost:
|
|
402
404
|
Free.
|
|
403
405
|
Next:
|
|
@@ -416,6 +418,12 @@ When:
|
|
|
416
418
|
do not say which kind the id is.
|
|
417
419
|
Exact tool ids can also resolve supported tools hidden from list/search
|
|
418
420
|
for compatibility. Absence from discovery does not mean a tool was removed.
|
|
421
|
+
[[cli:
|
|
422
|
+
If a tool needs a connection, the description gives the dashboard setup link
|
|
423
|
+
when available and the exact tools connect command. Share byok.setupUrl
|
|
424
|
+
from JSON, or run connectCommand and share the returned connect_url with a
|
|
425
|
+
workspace owner or admin.
|
|
426
|
+
]]
|
|
419
427
|
[[cli:
|
|
420
428
|
Input:
|
|
421
429
|
The id or reference from search. --verbose fills in every input and reads
|
|
@@ -424,6 +432,8 @@ Input:
|
|
|
424
432
|
schema over 100 lines; --out <path> saves the output; --json prints JSON.
|
|
425
433
|
A tool lists its features, such as the model an AI tool runs;
|
|
426
434
|
--feature <name>[=<value>] describes one.
|
|
435
|
+
The byok feature marks tools that can use your own provider credentials.
|
|
436
|
+
Use --feature byok for setup details and the dashboard link when available.
|
|
427
437
|
A play your workspace created is shown instead of a Deepline tool or
|
|
428
438
|
prebuilt play of the same name; deepline/<name> shows the Deepline one.
|
|
429
439
|
]]
|
|
@@ -432,6 +442,8 @@ Output:
|
|
|
432
442
|
Readable text by default; read that form. With --json:
|
|
433
443
|
kind, id, displayName, description, cost, inputs[], outputs[], and
|
|
434
444
|
runExamples {cli, play}, plus the kind's own fields.
|
|
445
|
+
Tools include provider and report connected and credentialStatus when known.
|
|
446
|
+
A missing provider connection can include connectCommand and byok.setupUrl.
|
|
435
447
|
]]
|
|
436
448
|
Cost:
|
|
437
449
|
Free.
|
|
@@ -492,8 +504,14 @@ Cost:
|
|
|
492
504
|
"tools connect": {
|
|
493
505
|
core: `
|
|
494
506
|
Purpose:
|
|
495
|
-
|
|
507
|
+
Get a shareable dashboard link or connect a provider to the active workspace.
|
|
508
|
+
Completing a connection requires a workspace owner or admin.
|
|
496
509
|
Input:
|
|
510
|
+
--link looks up the exact provider id. When a person needs to connect a
|
|
511
|
+
provider, use the command printed by deepline describe <tool-id> or look up
|
|
512
|
+
the tool's provider field. Give them the returned link and tell them to
|
|
513
|
+
select the intended workspace in the dashboard.
|
|
514
|
+
The link opens that provider's setup without starting OAuth or saving anything.
|
|
497
515
|
--credentials-file <path> saves a private JSON object of credential strings.
|
|
498
516
|
A provider that takes one API key reads {"api_key": "..."}; a file with one
|
|
499
517
|
field is accepted whatever the field is named. A multi-field provider (for
|
|
@@ -508,12 +526,15 @@ Input:
|
|
|
508
526
|
requests no optional scopes. Scope names and presets
|
|
509
527
|
are validated by the server; requested access may differ from granted access.
|
|
510
528
|
Output:
|
|
529
|
+
Link: dashboard URL, or {provider, connect_url} with --json. Share connect_url
|
|
530
|
+
with the workspace owner or admin who will finish setup in the browser.
|
|
511
531
|
Credentials: confirmation without secret values.
|
|
512
532
|
OAuth: URL, or {provider, redirect_url} with --json. This does not confirm a
|
|
513
533
|
completed connection. The browser must finish authorization.
|
|
514
534
|
Cost:
|
|
515
535
|
Does not spend Deepline credits.
|
|
516
536
|
Examples:
|
|
537
|
+
deepline tools connect hubspot --link --json
|
|
517
538
|
deepline tools connect heyreach --credentials-file ./heyreach.json
|
|
518
539
|
deepline tools connect hubspot --oauth --preset read-crm
|
|
519
540
|
`
|
|
@@ -573,6 +594,10 @@ When:
|
|
|
573
594
|
reliable source of field names.
|
|
574
595
|
Exact ids can resolve supported hidden tools for compatibility even when
|
|
575
596
|
list/search omit them. Absence from discovery does not mean removal.
|
|
597
|
+
[[cli:
|
|
598
|
+
When provider credentials are missing, share byok.setupUrl from the
|
|
599
|
+
description, or run connectCommand and share the returned connect_url.
|
|
600
|
+
]]
|
|
576
601
|
[[cli:
|
|
577
602
|
Input:
|
|
578
603
|
The tool id. Prints readable text by default; read that
|
|
@@ -621,11 +646,10 @@ Output fields:
|
|
|
621
646
|
connected false means the provider needs a connected account or
|
|
622
647
|
key in this workspace; execute will fail with 3.
|
|
623
648
|
credentialStatus detail for connected false.
|
|
624
|
-
byok
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
connected, Deepline's managed credentials are used.
|
|
649
|
+
byok shown with --feature byok. supported says whether
|
|
650
|
+
you can connect your own provider credentials.
|
|
651
|
+
required says whether the tool needs them. setupUrl
|
|
652
|
+
opens the provider's dashboard setup when available.
|
|
629
653
|
extractors / targetGetters JSON paths the CLI uses to turn the raw provider
|
|
630
654
|
response into rows.
|
|
631
655
|
usageGuidance provider-specific notes worth reading once.
|
|
@@ -1088,6 +1112,8 @@ Input:
|
|
|
1088
1112
|
--columns.<field> <header> maps a CSV header to a required field.
|
|
1089
1113
|
--no-wait returns the run id immediately instead of waiting.
|
|
1090
1114
|
--run-id-file <path> writes the run id as soon as the server accepts it.
|
|
1115
|
+
--from-run <run-id> starts a new run with that run's retained input and
|
|
1116
|
+
pinned revision instead of a target and input.
|
|
1091
1117
|
]]
|
|
1092
1118
|
[[cli:
|
|
1093
1119
|
Output (JSON, printed when the run ends):
|
|
@@ -1166,8 +1192,9 @@ Output fields:
|
|
|
1166
1192
|
Reruns and idempotency:
|
|
1167
1193
|
Running the same play with the same input reuses completed provider calls
|
|
1168
1194
|
and rows, so rerunning after a partial failure only pays for the missing
|
|
1169
|
-
work.[[cli: --
|
|
1170
|
-
|
|
1195
|
+
work.[[cli: --from-start starts a fresh run graph; --refresh-cache skips
|
|
1196
|
+
cached reads, calls providers again (bills those calls again), and updates
|
|
1197
|
+
the shared result other Plays reuse; it is almost never what you want.]]
|
|
1171
1198
|
Related:
|
|
1172
1199
|
[[runs get <run-id>]] for status later; [[cli:runs export]][[mcp:deepline_read_play_output]] for rows; [[runs logs]] for
|
|
1173
1200
|
persisted logs; [[billing usage --run-id]] for cost.
|
|
@@ -1608,11 +1635,14 @@ Cost:
|
|
|
1608
1635
|
"runs rerun": {
|
|
1609
1636
|
core: `
|
|
1610
1637
|
Purpose:
|
|
1611
|
-
Start a new run of the same play with the same input
|
|
1612
|
-
|
|
1638
|
+
Start over: a new run of the same play with the same input and revision
|
|
1639
|
+
as an earlier run. Calls run again unless their staleAfterSeconds allows a
|
|
1640
|
+
cached result, so writes repeat. [[cli:plays run --from-run <run-id> is
|
|
1641
|
+
the new name for this; runs resume <run-id> continues a stopped run
|
|
1642
|
+
without repeating its completed work.]]
|
|
1613
1643
|
When:
|
|
1614
|
-
|
|
1615
|
-
|
|
1644
|
+
To start over after changing data or settings. To continue a failed run
|
|
1645
|
+
after fixing its cause, prefer runs resume.
|
|
1616
1646
|
[[cli:
|
|
1617
1647
|
Input:
|
|
1618
1648
|
The run id. --json.
|
|
@@ -1620,7 +1650,34 @@ Input:
|
|
|
1620
1650
|
Output (JSON):
|
|
1621
1651
|
The new run's package, as plays run --json prints.
|
|
1622
1652
|
Cost:
|
|
1623
|
-
Spends credits
|
|
1653
|
+
Spends credits for every call that runs again; reused cached results are
|
|
1654
|
+
free.
|
|
1655
|
+
`
|
|
1656
|
+
},
|
|
1657
|
+
"runs resume": {
|
|
1658
|
+
core: `
|
|
1659
|
+
Purpose:
|
|
1660
|
+
Continue a failed or cancelled run as the same run, without repeating its
|
|
1661
|
+
completed work.
|
|
1662
|
+
When:
|
|
1663
|
+
After fixing the cause of a failure. A run can be resumed for 14 days after
|
|
1664
|
+
it stops. [[cli:To start over as a new run instead, use plays run --from-run
|
|
1665
|
+
<run-id>.]]
|
|
1666
|
+
[[cli:
|
|
1667
|
+
Input:
|
|
1668
|
+
The run id.
|
|
1669
|
+
]]
|
|
1670
|
+
[[cli:Output:
|
|
1671
|
+
Confirmation of the same run id and its new resume epoch.]]
|
|
1672
|
+
[[mcp:Output (JSON):
|
|
1673
|
+
runId (the same run), resumed: true, and epoch (how many times the run has
|
|
1674
|
+
been resumed).]]
|
|
1675
|
+
Follow the run with [[runs get]].
|
|
1676
|
+
Cost:
|
|
1677
|
+
Spends credits only for work the run had not finished.
|
|
1678
|
+
Avoid:
|
|
1679
|
+
Resuming a run that is still active, or one whose last attempt is still
|
|
1680
|
+
finishing; the server refuses both. Wait a minute and try again.
|
|
1624
1681
|
`
|
|
1625
1682
|
},
|
|
1626
1683
|
notifications: {
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
addDescribeOptions,
|
|
3
3
|
recordApiResponse,
|
|
4
4
|
writeExecutionOutput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FHJ54BHH.mjs";
|
|
6
6
|
import {
|
|
7
7
|
recentSearchRef,
|
|
8
8
|
registerDeprecatedSearchCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-URZNSJE2.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Capability,
|
|
12
12
|
arrayField,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
toolInputFieldsForDisplay,
|
|
28
28
|
toolMetadataJsonForDescribe,
|
|
29
29
|
toolOutputFieldsForDisplay
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-R2VZVHJP.mjs";
|
|
31
31
|
import {
|
|
32
32
|
rateLimitQualifier
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ITJ7NB2D.mjs";
|
|
34
34
|
import {
|
|
35
35
|
shellQuote
|
|
36
36
|
} from "./chunk-OVDNJAJN.mjs";
|
|
@@ -46,10 +46,10 @@ import {
|
|
|
46
46
|
} from "./chunk-FIVKWNMT.mjs";
|
|
47
47
|
import {
|
|
48
48
|
DeeplineClient
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-D27HP3HS.mjs";
|
|
50
50
|
import {
|
|
51
51
|
validateExecutionIdempotencyKey
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-5GI6NKOE.mjs";
|
|
53
53
|
import {
|
|
54
54
|
stableStringify
|
|
55
55
|
} from "./chunk-BMCRTI6Z.mjs";
|
|
@@ -59,18 +59,18 @@ import {
|
|
|
59
59
|
maybeAutoUpdateAndRelaunch,
|
|
60
60
|
registerCompatibilityCatalog,
|
|
61
61
|
runToolExecuteStage
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-EQ3WMKFY.mjs";
|
|
63
63
|
import {
|
|
64
64
|
isCliTraceEnabled,
|
|
65
65
|
recordCliTrace,
|
|
66
66
|
resolveCliMaintenancePolicy
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-WS274KID.mjs";
|
|
68
68
|
import {
|
|
69
69
|
checkSdkCompatibility,
|
|
70
70
|
enforceSdkCompatibilityResponse,
|
|
71
71
|
flushDeferredSkillsSyncNotices,
|
|
72
72
|
syncSdkSkillsIfNeeded
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-BI2Q45SY.mjs";
|
|
74
74
|
import {
|
|
75
75
|
printCommandEnvelope,
|
|
76
76
|
printCompactJson,
|
|
@@ -78,12 +78,12 @@ import {
|
|
|
78
78
|
printJsonError,
|
|
79
79
|
renderCommandEnvelopeText,
|
|
80
80
|
shouldEmitJson
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-KGLVATEB.mjs";
|
|
82
82
|
import {
|
|
83
83
|
readSdkSkillsLocalVersion,
|
|
84
84
|
resolveConfig,
|
|
85
85
|
sdkCliStateDirPath
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-L3TZV625.mjs";
|
|
87
87
|
import {
|
|
88
88
|
DeeplineError
|
|
89
89
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
@@ -817,6 +817,7 @@ Concepts:
|
|
|
817
817
|
Common commands:
|
|
818
818
|
deepline search "name and company domain -> work email" --type tools
|
|
819
819
|
deepline describe hunter_email_verifier
|
|
820
|
+
deepline tools connect hubspot --link
|
|
820
821
|
deepline run hunter_email_verifier --input '{"email":"a@b.com"}'
|
|
821
822
|
deepline billing usage --request-id <request-id>
|
|
822
823
|
|
|
@@ -828,15 +829,31 @@ Output:
|
|
|
828
829
|
`
|
|
829
830
|
);
|
|
830
831
|
tools.command("connect <provider>").description(
|
|
831
|
-
"
|
|
832
|
+
"Get a dashboard connection link or connect a provider with credentials or OAuth."
|
|
833
|
+
).addOption(
|
|
834
|
+
new Option("--link", "Print a shareable dashboard link").conflicts([
|
|
835
|
+
"credentialsFile",
|
|
836
|
+
"oauth",
|
|
837
|
+
"preset",
|
|
838
|
+
"scopes",
|
|
839
|
+
"optionalScopes"
|
|
840
|
+
])
|
|
832
841
|
).option(
|
|
833
842
|
"--credentials-file <path>",
|
|
834
843
|
"JSON object of credential field names and string values; keep this file private"
|
|
835
844
|
).option("--oauth", "Return an OAuth authorization URL").option("--preset <id>", "Server-defined access preset (HubSpot only)").option("--scopes <scopes>", "Comma-separated OAuth scopes").option(
|
|
836
845
|
"--optional-scopes <scopes>",
|
|
837
846
|
"Comma-separated optional OAuth scopes"
|
|
838
|
-
).option("--json", "
|
|
847
|
+
).option("--json", "Print JSON without credential values").action(
|
|
839
848
|
async (provider, options) => {
|
|
849
|
+
if (options.link) {
|
|
850
|
+
const link = await new DeeplineClient().getIntegrationConnectLink(
|
|
851
|
+
provider
|
|
852
|
+
);
|
|
853
|
+
if (shouldEmitJson(options.json)) console.log(JSON.stringify(link));
|
|
854
|
+
else console.log(link.connect_url);
|
|
855
|
+
return;
|
|
856
|
+
}
|
|
840
857
|
if (options.oauth) {
|
|
841
858
|
if (options.credentialsFile)
|
|
842
859
|
throw new Error("Use --oauth or --credentials-file, not both.");
|
|
@@ -864,7 +881,7 @@ Output:
|
|
|
864
881
|
}
|
|
865
882
|
if (!options.credentialsFile || options.preset !== void 0 || options.scopes !== void 0 || options.optionalScopes !== void 0)
|
|
866
883
|
throw new Error(
|
|
867
|
-
"Use --credentials-file to save credentials, or --oauth to request access."
|
|
884
|
+
"Use --link for a dashboard link, --credentials-file to save credentials, or --oauth to request access."
|
|
868
885
|
);
|
|
869
886
|
let credentials;
|
|
870
887
|
try {
|
|
@@ -1036,7 +1053,7 @@ Examples:
|
|
|
1036
1053
|
process.exitCode = await narrowView();
|
|
1037
1054
|
return;
|
|
1038
1055
|
}
|
|
1039
|
-
const { describeAnything } = await import("./describe-
|
|
1056
|
+
const { describeAnything } = await import("./describe-GQHGTZSL.mjs");
|
|
1040
1057
|
process.exitCode = await describeAnything(
|
|
1041
1058
|
toolId,
|
|
1042
1059
|
{
|
|
@@ -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.
|
|
52
|
+
version: "0.3.503",
|
|
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."
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatModelDescription,
|
|
4
4
|
publicToolSchemas,
|
|
5
5
|
toolMetadataJsonForDescribe
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-R2VZVHJP.mjs";
|
|
7
7
|
import {
|
|
8
8
|
buildPlayDashboardUrl,
|
|
9
9
|
byokLines,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
examples,
|
|
14
14
|
schemaLines,
|
|
15
15
|
topLevelField
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ITJ7NB2D.mjs";
|
|
17
17
|
import {
|
|
18
18
|
DeeplineError
|
|
19
19
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
@@ -144,14 +144,10 @@ async function findNamed(reference, options, lookups) {
|
|
|
144
144
|
const tool = async () => {
|
|
145
145
|
const record = await lookups.tool(name);
|
|
146
146
|
if (!record) return null;
|
|
147
|
-
const { byok } = record;
|
|
148
147
|
const features = toolFeatures(record);
|
|
149
148
|
return {
|
|
150
149
|
described: {
|
|
151
150
|
...describedTool(record, name),
|
|
152
|
-
// Shown when the tool runs only on your own credentials; otherwise
|
|
153
|
-
// it is a feature, described with --feature byok.
|
|
154
|
-
...byok?.required === true ? { byok } : {},
|
|
155
151
|
...features.length ? { features: features.map(({ view: _view, ...feature }) => feature) } : {}
|
|
156
152
|
},
|
|
157
153
|
record: toolMetadataJsonForDescribe(
|
|
@@ -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 _chunkYXGPMTAKjs = require('./chunk-YXGPMTAK.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkB3X4YWQ6js = require('./chunk-B3X4YWQ6.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/play-run-admission.ts
|
|
11
11
|
function usesInlinePlayAdmission(command, args) {
|
|
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
|
|
|
18
18
|
}
|
|
19
19
|
async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
|
|
20
20
|
_optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
|
|
21
|
-
if (maintenancePolicy !== "off")
|
|
22
|
-
const compatibility = await
|
|
21
|
+
if (maintenancePolicy !== "off") _chunkB3X4YWQ6js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
22
|
+
const compatibility = await _chunkYXGPMTAKjs.traceCliSpan.call(void 0,
|
|
23
23
|
"cli.sdk_compatibility",
|
|
24
24
|
{ baseUrl, command: "plays run" },
|
|
25
|
-
() =>
|
|
25
|
+
() => _chunkB3X4YWQ6js.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
26
26
|
command: "plays run",
|
|
27
27
|
persistCache: maintenancePolicy !== "off",
|
|
28
28
|
signal
|
|
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
|
|
|
30
30
|
);
|
|
31
31
|
_optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
|
|
32
32
|
if (compatibility.error) throw compatibility.error;
|
|
33
|
-
|
|
33
|
+
_chunkB3X4YWQ6js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
|
|
34
34
|
quietAdvisory: true
|
|
35
35
|
});
|
|
36
36
|
}
|