deepline 0.3.535 → 0.3.536
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 +232 -147
- package/dist/bundling-sources/sdk/src/index.ts +4 -0
- package/dist/bundling-sources/sdk/src/plays/local-file-discovery.ts +27 -1
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +16 -5
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +2 -23
- package/dist/bundling-sources/shared_libs/integration-contracts/monitor-fleet-contract.ts +26 -14
- package/dist/bundling-sources/shared_libs/integration-contracts/monitor-input-contract.ts +33 -8
- package/dist/bundling-sources/shared_libs/monitors/fleets/count-drift-alert.ts +121 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +8 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +14 -82
- package/dist/bundling-sources/shared_libs/monitors/package.json +1 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +4 -4
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +0 -26
- package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +21 -31
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +88 -96
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +12 -10
- package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +71 -2
- package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +127 -9
- package/dist/bundling-sources/shared_libs/play-runtime/memory-ledger.ts +15 -2
- package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/fixture-capacity-simulator.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/gradient2-concurrency-controller.ts +41 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-capacity-policy.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-concurrency-policy.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +5 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +8 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +31 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +26 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +11 -4
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +73 -18
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +169 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +26 -4
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +84 -49
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +37 -32
- package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +13 -1
- package/dist/bundling-sources/shared_libs/plays/local-file-discovery.ts +68 -1
- package/dist/bundling-sources/shared_libs/product-notifications/configuration-draft.ts +57 -1
- package/dist/bundling-sources/shared_libs/product-notifications/configuration.ts +22 -9
- package/dist/cli/auth-6XQKFOLG.js +43 -0
- package/dist/cli/{auth-ZCTMB5RA.mjs → auth-KCTCUO7P.mjs} +7 -7
- package/dist/cli/{billing-GVFKZQH3.js → billing-4VBGZ3CT.js} +273 -112
- package/dist/cli/{billing-OU2ZHL72.mjs → billing-OOJHKLNS.mjs} +185 -24
- package/dist/cli/{chunk-FGN75ZN6.js → chunk-2B4IOGFD.js} +390 -382
- package/dist/cli/{chunk-KOZBZPRM.js → chunk-2FCSUOYN.js} +55 -55
- package/dist/cli/{chunk-T2N3B7IQ.js → chunk-2GJZLIKW.js} +8 -8
- package/dist/cli/{chunk-AUEUAPVS.mjs → chunk-2YWJS76L.mjs} +1 -1
- package/dist/cli/{chunk-W5YJYU4G.mjs → chunk-3PCYV6ZJ.mjs} +2 -2
- package/dist/cli/{chunk-UUQ2OXMH.js → chunk-4E5JXZ3W.js} +18 -20
- package/dist/cli/{chunk-R4RG4FV5.mjs → chunk-4KWD3MX2.mjs} +13 -10
- package/dist/cli/{chunk-XSOTEVOB.js → chunk-6BBGUQJJ.js} +50 -141
- package/dist/cli/{chunk-PHLNYBAA.js → chunk-6VUGBQZQ.js} +5 -5
- package/dist/cli/{chunk-G2DLG32W.mjs → chunk-AB2GBOD4.mjs} +40 -27
- package/dist/cli/{chunk-JWWYLGUT.mjs → chunk-ANUKBZ6W.mjs} +475 -11
- package/dist/cli/{chunk-FZKPPB5P.mjs → chunk-BASLYGXK.mjs} +85 -77
- package/dist/cli/{chunk-SQWET4SL.js → chunk-BBTKAASQ.js} +2 -1
- package/dist/cli/{chunk-NRO3NTVO.js → chunk-CBV7AKWM.js} +5 -5
- package/dist/cli/{chunk-PI5R65OQ.js → chunk-CIDN5K23.js} +1 -1
- package/dist/cli/{chunk-QNHHZ63P.mjs → chunk-CQBIO6HW.mjs} +1 -1
- package/dist/cli/{chunk-2KHUFWTK.js → chunk-CQDQNZGH.js} +42 -37
- package/dist/cli/{chunk-D4MHCCIR.js → chunk-CWSLUNA6.js} +33 -33
- package/dist/cli/{chunk-E3CLOVG5.mjs → chunk-CXTW7SRW.mjs} +50 -141
- package/dist/cli/{chunk-H6SWS5CG.mjs → chunk-DA2I2M7D.mjs} +2 -2
- package/dist/cli/{chunk-WAIBM6KX.mjs → chunk-DQHUJMCL.mjs} +5 -5
- package/dist/cli/{chunk-DWPY6ZID.mjs → chunk-DUYAMLOC.mjs} +1 -1
- package/dist/cli/{chunk-K53NKWZO.mjs → chunk-E24UGPGG.mjs} +13 -15
- package/dist/cli/{chunk-STR5LXK4.mjs → chunk-FSIVF2SI.mjs} +1 -1
- package/dist/cli/{chunk-7R5DAANG.mjs → chunk-GF32SBST.mjs} +1 -1
- package/dist/cli/{chunk-7CWSAEYS.mjs → chunk-GHLDCLSC.mjs} +1 -1
- package/dist/cli/{chunk-ZUVE63Y7.js → chunk-GTVZKY3F.js} +2 -2
- package/dist/cli/{chunk-J75DANZY.mjs → chunk-HAJQGP5V.mjs} +2 -2
- package/dist/cli/{chunk-RFQWSH6I.js → chunk-HWDKRN7L.js} +3 -3
- package/dist/cli/{chunk-5YAJGRWB.js → chunk-IPVRMYWT.js} +7 -7
- package/dist/cli/{chunk-ZPGGW27Q.mjs → chunk-JL2OTMSG.mjs} +1 -0
- package/dist/cli/{chunk-K76AEBFY.mjs → chunk-JUHDJNSI.mjs} +4 -4
- package/dist/cli/{chunk-R2KKEHJN.mjs → chunk-KPQHUVYW.mjs} +5 -5
- package/dist/cli/{chunk-6LHX33VN.js → chunk-KWYGWO4Y.js} +9 -6
- package/dist/cli/{chunk-7PXP2FQK.js → chunk-LDGZFDUB.js} +2 -2
- package/dist/cli/{chunk-KWGXHPHL.js → chunk-LN6RXDTB.js} +523 -59
- package/dist/cli/{chunk-TCVCFZP6.mjs → chunk-LZXZQPA2.mjs} +4 -1
- package/dist/cli/{chunk-2D6SWQTK.js → chunk-MSP4DTSD.js} +13 -13
- package/dist/cli/{chunk-BNH4Y35W.mjs → chunk-OLH2PHMC.mjs} +2 -2
- package/dist/cli/{chunk-QYBAHYP4.mjs → chunk-OUDTOMZC.mjs} +7 -9
- package/dist/cli/{chunk-GESIFFQX.mjs → chunk-OVX3Q5Q3.mjs} +1 -1
- package/dist/cli/{chunk-6TYRRNXY.mjs → chunk-PNY3BWHP.mjs} +2 -2
- package/dist/cli/{chunk-DYIWDUY4.js → chunk-Q4MNUOS4.js} +316 -303
- package/dist/cli/{chunk-5EKNDNFQ.js → chunk-Q5CXV3E3.js} +2 -2
- package/dist/cli/{chunk-W6T23EUC.mjs → chunk-RVSSQPQO.mjs} +1 -1
- package/dist/cli/{chunk-WNNA4L6Z.js → chunk-SLPJ3LXI.js} +22 -22
- package/dist/cli/{chunk-K3IPGMGP.js → chunk-TX5TUHJN.js} +17 -19
- package/dist/cli/{chunk-IF75RD6U.js → chunk-U2LVWCTD.js} +18 -6
- package/dist/cli/{chunk-ZS2WHWWL.js → chunk-UNDLNT3V.js} +1 -1
- package/dist/cli/{chunk-4NLRWKZB.js → chunk-VBDZIMWD.js} +26 -26
- package/dist/cli/{chunk-DAPKLYST.js → chunk-W7AEIGZR.js} +41 -41
- package/dist/cli/{chunk-LVISZFYO.mjs → chunk-WC5M3JXE.mjs} +2 -2
- package/dist/cli/{chunk-C374C22Y.js → chunk-WOQO3GV4.js} +14 -11
- package/dist/cli/{chunk-243O3FH5.js → chunk-XBAH3TKU.js} +5 -5
- package/dist/cli/{chunk-DFJODFMC.mjs → chunk-XJD2GYUP.mjs} +5 -5
- package/dist/cli/{chunk-BF65LB7X.mjs → chunk-XVZRJJDS.mjs} +4 -4
- package/dist/cli/{chunk-OM732MGV.js → chunk-Y2NTPYGS.js} +17 -17
- package/dist/cli/{chunk-YFZLZNTH.mjs → chunk-YBMHOH6H.mjs} +4 -4
- package/dist/cli/{chunk-RKY4LBX3.mjs → chunk-YRLAUGQY.mjs} +3 -3
- package/dist/cli/{chunk-FKD3KL5Q.mjs → chunk-Z2XA6YU4.mjs} +10 -5
- package/dist/cli/{chunk-JQQG4QL4.mjs → chunk-Z7UIOGW4.mjs} +3 -3
- package/dist/cli/{chunk-HYBZWSSH.js → chunk-ZEV2Y56V.js} +44 -44
- package/dist/cli/{chunk-MI6ZP7XI.mjs → chunk-ZG7BOECV.mjs} +18 -6
- package/dist/cli/{chunk-HWPOXCCK.js → chunk-ZILSRDIN.js} +8 -8
- package/dist/cli/{chunk-CIDATNTY.js → chunk-ZISEH7OL.js} +16 -16
- package/dist/cli/{chunk-KA6ZERJL.js → chunk-ZZ4MF2GI.js} +6 -6
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-CD55KEIO.js → csv-2V2DIFNG.js} +15 -15
- package/dist/cli/{csv-CLPVMIRF.mjs → csv-P3HLK4GO.mjs} +6 -6
- package/dist/cli/{db-MQKLDAEO.js → db-MREAQVW6.js} +36 -36
- package/dist/cli/{db-AU4SMWUN.mjs → db-ZYOY3QRQ.mjs} +9 -9
- package/dist/cli/describe-IKZFOADR.mjs +49 -0
- package/dist/cli/describe-WW3OQRLP.js +49 -0
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/describe-core.js +5 -5
- package/dist/cli/describe-core.mjs +4 -4
- package/dist/cli/{executions-77GOLWRM.js → executions-H5IJ7QSQ.js} +11 -11
- package/dist/cli/{executions-TFIJPUX7.mjs → executions-KTSY5M34.mjs} +9 -9
- package/dist/cli/{feedback-OV5YAL3A.js → feedback-724QK3Z5.js} +16 -16
- package/dist/cli/{feedback-2WRSZ5WL.mjs → feedback-WWJRIXEU.mjs} +8 -8
- package/dist/cli/git-PHYRD56H.js +25 -0
- package/dist/cli/{git-VNS4ATLZ.mjs → git-R5VRG7X6.mjs} +7 -7
- package/dist/cli/index.js +151 -157
- package/dist/cli/index.mjs +51 -57
- package/dist/cli/{legacy-noops-HDOB5C6F.js → legacy-noops-C6GDEGPU.js} +11 -11
- package/dist/cli/{legacy-noops-C732QDCY.mjs → legacy-noops-PWZ5XLAO.mjs} +8 -8
- package/dist/cli/{monitors-5IUMHH3E.js → monitors-VAVQ4WCE.js} +125 -122
- package/dist/cli/{monitors-2LYEFXOU.mjs → monitors-WQSKMHAP.mjs} +19 -16
- package/dist/cli/{org-ADW2EVAC.js → org-CWWRWXZQ.js} +89 -89
- package/dist/cli/{org-G4YGZPHS.mjs → org-MAL4QPVF.mjs} +9 -9
- package/dist/cli/{play-7GQ56C2D.mjs → play-ILW6MSNG.mjs} +123 -76
- package/dist/cli/{play-EHSOSSHT.js → play-WJOWK5PQ.js} +641 -594
- package/dist/cli/{providers-WL3YTCSV.mjs → providers-4V2NMLZZ.mjs} +9 -9
- package/dist/cli/{providers-PWCF6OOO.js → providers-W662ANCH.js} +12 -12
- package/dist/cli/{quickstart-ZKI5MURA.js → quickstart-BW6EBUYX.js} +8 -8
- package/dist/cli/{quickstart-323XOPGI.mjs → quickstart-C22BR743.mjs} +6 -6
- package/dist/cli/{run-XZPWA6JS.js → run-KW7KW4FX.js} +50 -53
- package/dist/cli/{run-ZCNZU3K2.mjs → run-SPAU5IMW.mjs} +31 -34
- package/dist/cli/search-HLE54W5G.js +32 -0
- package/dist/cli/{search-CVLVSFMJ.mjs → search-XPC75HLM.mjs} +10 -11
- package/dist/cli/{search-output-6PY6RN2R.mjs → search-output-JKYJSEPM.mjs} +6 -6
- package/dist/cli/{search-output-7HRSSRBS.js → search-output-VJYE7USJ.js} +8 -8
- package/dist/cli/{secrets-6S2ZWDIM.mjs → secrets-OJG73GXQ.mjs} +9 -9
- package/dist/cli/{secrets-IYD5VKY4.js → secrets-YB57KGSB.js} +18 -18
- package/dist/cli/{sessions-GVEX5TUJ.mjs → sessions-7ZL37BW4.mjs} +8 -8
- package/dist/cli/sessions-VEBYZIEU.js +22 -0
- package/dist/cli/{settings-CANK4HJQ.js → settings-A7DD2ZYE.js} +88 -89
- package/dist/cli/{settings-BN5MJZ3C.mjs → settings-RKSQB7FA.mjs} +15 -16
- package/dist/cli/{setup-JNMSCCU4.mjs → setup-NXDUTITY.mjs} +11 -12
- package/dist/cli/{setup-YSGKGLSJ.js → setup-S3K5YU62.js} +51 -52
- package/dist/cli/skills-NVQ744CN.js +36 -0
- package/dist/cli/{skills-QCQN2UM2.mjs → skills-VMFAIDO6.mjs} +9 -10
- package/dist/cli/{tools-CDPOID7V.mjs → tools-52NTHBSJ.mjs} +20 -21
- package/dist/cli/tools-SBDUL3WB.js +56 -0
- package/dist/cli/update-HHVFZPCV.js +34 -0
- package/dist/cli/{update-D3ZERUQ3.mjs → update-SAKBEKMV.mjs} +11 -12
- package/dist/cli/{views-RDZRWQBQ.mjs → views-ACRV7MD6.mjs} +54 -10
- package/dist/cli/{views-4NV2KQKA.js → views-C3GJOBDG.js} +66 -22
- package/dist/cli/{workflow-2CG3TVCG.mjs → workflow-CS22E7TC.mjs} +10 -10
- package/dist/cli/{workflow-RABJCAZC.js → workflow-ZNWCZEGN.js} +20 -20
- package/dist/{client-DhSvMO3A.d.mts → client-BlLYQDNo.d.mts} +1 -1
- package/dist/{client-oGNJMQFd.d.ts → client-DSQlkIDO.d.ts} +1 -1
- package/dist/{client-core-CdWH6Sii.d.ts → client-core-CDwapXy5.d.ts} +159 -108
- package/dist/{client-core-CVG1Et-4.d.mts → client-core-rX7n2H8U.d.mts} +159 -108
- package/dist/{compiler-manifest-D2ZlBGxj.d.ts → compiler-manifest-BHNC4RL-.d.mts} +15 -22
- package/dist/{compiler-manifest-D2ZlBGxj.d.mts → compiler-manifest-BHNC4RL-.d.ts} +15 -22
- package/dist/{errors-B-gOQdj-.d.mts → errors-D7sPXrvB.d.mts} +1 -1
- package/dist/{errors-CB0KAmmV.d.ts → errors-lhtIWG5Z.d.ts} +1 -1
- package/dist/{index-c3nvUGCS.d.ts → index-CQTBHXHr.d.ts} +1 -1
- package/dist/{index-BbJADro4.d.mts → index-NaDZq2xf.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +15 -15
- package/dist/index.mjs +11 -11
- package/dist/install-integrity.json +129 -132
- package/dist/monitor-fleet-contract.d.mts +17 -11
- package/dist/monitor-fleet-contract.d.ts +17 -11
- package/dist/monitor-fleet-contract.js +3 -3
- package/dist/monitor-fleet-contract.mjs +2 -2
- package/dist/monitor-input-contract.js +2 -2
- package/dist/monitor-input-contract.mjs +1 -1
- 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 +17 -5
- package/dist/plays/csv-data-input.js +3 -3
- package/dist/plays/csv-data-input.mjs +2 -2
- 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/plays/run-request.js +3 -3
- package/dist/plays/run-request.mjs +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 +12 -12
- package/dist/server.mjs +6 -6
- package/package.json +1 -1
- package/dist/cli/auth-VDCU3T6A.js +0 -43
- package/dist/cli/chunk-4QELPWUW.mjs +0 -405
- package/dist/cli/chunk-T7RBM2WX.js +0 -405
- package/dist/cli/describe-5BFNHT5V.js +0 -50
- package/dist/cli/describe-AWJUXE2U.mjs +0 -50
- package/dist/cli/git-HGMX52XU.js +0 -25
- package/dist/cli/pages-KXKWSCEV.mjs +0 -266
- package/dist/cli/pages-VTJGAI2D.js +0 -266
- package/dist/cli/search-J6EY7DQN.js +0 -33
- package/dist/cli/sessions-7HPIVSQ4.js +0 -22
- package/dist/cli/skills-WDGSSKJZ.js +0 -37
- package/dist/cli/tools-URNVXSTZ.js +0 -57
- package/dist/cli/update-Q6JW32IA.js +0 -35
|
@@ -472,9 +472,9 @@ Examples:
|
|
|
472
472
|
deepline search "business address -> company domain" "name and company domain -> work email"
|
|
473
473
|
deepline search "first name, last name and company domain -> verified work email"
|
|
474
474
|
deepline search "company domains -> shop management software they use"
|
|
475
|
-
deepline search "company domain -> employees by job title and office location"
|
|
475
|
+
deepline search "company domain -> employees by job title and office location"
|
|
476
476
|
deepline search "upload a contact list as a Meta ads audience"
|
|
477
|
-
deepline search "how do webhooks trigger a play"
|
|
477
|
+
deepline search "how do webhooks trigger a play"
|
|
478
478
|
]]
|
|
479
479
|
[[mcp:
|
|
480
480
|
query "first name, last name and company domain -> verified work email"
|
|
@@ -568,6 +568,9 @@ Output:
|
|
|
568
568
|
--csv-out - to pipe result data to stdout.
|
|
569
569
|
--fields picks values and CSV columns. Exit code 0 completed, 1 failed or
|
|
570
570
|
still running, 2 nothing ran.
|
|
571
|
+
A failed tool call's receipt error matches deepline tools execute:
|
|
572
|
+
error.tool_error says whether a retry is safe, and error.upstreamResponse
|
|
573
|
+
holds a connected provider's status and body.
|
|
571
574
|
Cost:
|
|
572
575
|
What the tool or play charges. --max-credits caps a play run. Running an
|
|
573
576
|
interrupted call again replays it without paying twice.
|
|
@@ -621,6 +624,18 @@ Output:
|
|
|
621
624
|
[[cli:Use --json for records with provider, status, label, and connection version.]]
|
|
622
625
|
Cost:
|
|
623
626
|
Does not spend Deepline credits.
|
|
627
|
+
`,
|
|
628
|
+
rolloutFeature: "integration-connections"
|
|
629
|
+
},
|
|
630
|
+
"tools hubspot-members": {
|
|
631
|
+
core: `
|
|
632
|
+
Purpose:
|
|
633
|
+
List personal HubSpot connection status as an admin in an enrolled workspace.
|
|
634
|
+
Output:
|
|
635
|
+
Workspace members, linked HubSpot account IDs, connection status, and a next-page cursor when available.
|
|
636
|
+
[[cli:Use --json for a structured page and --cursor to continue.]]
|
|
637
|
+
Cost:
|
|
638
|
+
Does not spend Deepline credits.
|
|
624
639
|
`,
|
|
625
640
|
rolloutFeature: "integration-connections"
|
|
626
641
|
},
|
|
@@ -837,6 +852,9 @@ Failures:
|
|
|
837
852
|
error.tool_error.retryAfterMs.
|
|
838
853
|
When a connected provider returns a failure, error.upstreamResponse
|
|
839
854
|
includes its HTTP status and body, with echoed authentication masked.
|
|
855
|
+
Without --json the CLI prints that status and a short redacted body
|
|
856
|
+
excerpt. A provider 401, 403 or other 4xx except 408/425/429 is permanent:
|
|
857
|
+
fix the key, plan or input instead of retrying.
|
|
840
858
|
]]
|
|
841
859
|
[[mcp:
|
|
842
860
|
Output:
|
|
@@ -1088,7 +1106,7 @@ Input:
|
|
|
1088
1106
|
<play> is a bare name or qualified reference.[[cli: --json prints the exact result.]]
|
|
1089
1107
|
Output:
|
|
1090
1108
|
reference, costEstimate, and for prebuilts observedCost. Estimates include
|
|
1091
|
-
the output unit, observed or static range
|
|
1109
|
+
the output unit, observed or static range and sample size.
|
|
1092
1110
|
Cost:
|
|
1093
1111
|
Read-only. Uses the current workspace's pricing; does not start a run.
|
|
1094
1112
|
`
|
|
@@ -1335,8 +1353,7 @@ Avoid:
|
|
|
1335
1353
|
its own start-up and balance admission, and the batch form keeps a
|
|
1336
1354
|
row-level failure inside one completed run.
|
|
1337
1355
|
Do not poll [[runs get]] while [[plays run]] is still waiting; it already waits.
|
|
1338
|
-
Do not
|
|
1339
|
-
rows.
|
|
1356
|
+
Do not assume a new run reuses completed work; it may repeat paid calls.
|
|
1340
1357
|
`,
|
|
1341
1358
|
verbose: `
|
|
1342
1359
|
Waiting and timeouts:
|
|
@@ -1366,8 +1383,8 @@ Output fields:
|
|
|
1366
1383
|
failures still keeps the succeeded rows; read
|
|
1367
1384
|
rowOutcomes and warnings.
|
|
1368
1385
|
steps[].progress {total, executed, reused, failed, completedRows}
|
|
1369
|
-
per
|
|
1370
|
-
|
|
1386
|
+
per Dataset step. reused counts duplicate input rows
|
|
1387
|
+
served by the same row work, not all cached lookups.
|
|
1371
1388
|
datasets[].storage {schema, table}: where the rows live in the
|
|
1372
1389
|
customer database. Row counts and fill statistics
|
|
1373
1390
|
are in runs get, not here.
|
|
@@ -1377,9 +1394,12 @@ Output fields:
|
|
|
1377
1394
|
name the missing amount.
|
|
1378
1395
|
]]
|
|
1379
1396
|
Reruns and idempotency:
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
work.
|
|
1397
|
+
[[cli:runs resume <run-id> continues the same stopped run and can recover
|
|
1398
|
+
matching completed operations, including fresh-only calls.]] Unfinished or
|
|
1399
|
+
unrecorded work can incur charges. Starting a new run has a new identity;
|
|
1400
|
+
reuse then depends on compatible saved results and freshness. Authored
|
|
1401
|
+
staleAfterSeconds: 0 requests fresh data and does not publish a shared
|
|
1402
|
+
result for later runs.[[cli: --from-start starts a fresh run graph; --refresh-cache skips
|
|
1383
1403
|
cached reads, calls providers again (bills those calls again), and updates
|
|
1384
1404
|
the shared result other Plays reuse; it is almost never what you want.]]
|
|
1385
1405
|
Related:
|
|
@@ -1569,6 +1589,12 @@ Cost:
|
|
|
1569
1589
|
Free.
|
|
1570
1590
|
Avoid:
|
|
1571
1591
|
Cost is not in this payload without [[--full]]; use [[billing usage --run-id]].
|
|
1592
|
+
Treating zero Dataset reuse as no saved work. Row reuse counts duplicates;
|
|
1593
|
+
cached cell attempts cover this run's sheets, not all tool or child-Play
|
|
1594
|
+
reuse. Missing or incomplete counts are unknown, not zero. Saved tool
|
|
1595
|
+
operations and published output rows are separate; a local array is not
|
|
1596
|
+
published until returned. Resume can recover matching completed operations
|
|
1597
|
+
without a published Dataset.
|
|
1572
1598
|
datasets[].preview.rows is a sample, not the rows; use [[cli:runs export]][[mcp:deepline_read_play_output]] or [[db
|
|
1573
1599
|
query]].
|
|
1574
1600
|
`,
|
|
@@ -1802,8 +1828,8 @@ When:
|
|
|
1802
1828
|
A run is stuck, was started by mistake, or was superseded. Runs of the same
|
|
1803
1829
|
play do not cancel each other: an older run keeps working and keeps
|
|
1804
1830
|
spending until it ends or is stopped. [[runs list --play <name> --status
|
|
1805
|
-
running]] lists them.
|
|
1806
|
-
|
|
1831
|
+
running]] lists them. [[cli:To continue later, use runs resume <run-id> if
|
|
1832
|
+
eligible.]] A separate new run does not guarantee reuse of completed work.
|
|
1807
1833
|
[[cli:
|
|
1808
1834
|
Input:
|
|
1809
1835
|
The run id and --reason "<text>". --json prints JSON.
|
|
@@ -1859,8 +1885,8 @@ Cost:
|
|
|
1859
1885
|
"runs resume": {
|
|
1860
1886
|
core: `
|
|
1861
1887
|
Purpose:
|
|
1862
|
-
Continue a failed or cancelled run as the same run,
|
|
1863
|
-
completed
|
|
1888
|
+
Continue a failed or cancelled run as the same run, recovering matching
|
|
1889
|
+
completed operations, including calls that used staleAfterSeconds: 0.
|
|
1864
1890
|
When:
|
|
1865
1891
|
After fixing the cause of a failure. A run can be resumed for 14 days after
|
|
1866
1892
|
it stops. [[cli:To start over as a new run instead, use plays run --from-run
|
|
@@ -1876,10 +1902,13 @@ Input:
|
|
|
1876
1902
|
been resumed).]]
|
|
1877
1903
|
Follow the run with [[runs get]].
|
|
1878
1904
|
Cost:
|
|
1879
|
-
|
|
1905
|
+
Unfinished or unrecorded work can incur charges. Dataset reuse counters do
|
|
1906
|
+
not measure all saved tool work or how much work resume can recover.
|
|
1880
1907
|
Avoid:
|
|
1881
1908
|
Resuming a run that is still active, or one whose last attempt is still
|
|
1882
1909
|
finishing; the server refuses both. Wait a minute and try again.
|
|
1910
|
+
Starting a new run to continue the old one. Cross-run reuse depends on
|
|
1911
|
+
compatible saved results and freshness; a fresh-only call can repeat.
|
|
1883
1912
|
`
|
|
1884
1913
|
},
|
|
1885
1914
|
notifications: {
|
|
@@ -1961,131 +1990,6 @@ Cost:
|
|
|
1961
1990
|
Avoid:
|
|
1962
1991
|
Do not guess table names; a run's dataset table is named in [[runs get]]
|
|
1963
1992
|
under datasets[].storage.
|
|
1964
|
-
`
|
|
1965
|
-
},
|
|
1966
|
-
pages: {
|
|
1967
|
-
rolloutFeature: "hosted-pages",
|
|
1968
|
-
core: `
|
|
1969
|
-
Purpose:
|
|
1970
|
-
Publish a document at a stable URL on your workspace's subdomain of
|
|
1971
|
-
deepline.page, and decide who can open it. A page is one named document:
|
|
1972
|
-
HTML, JSON, CSV, Markdown, text, SVG, an image, or a PDF, up to 3 MB.
|
|
1973
|
-
When:
|
|
1974
|
-
To share a report, dashboard, or result with people, from a terminal or at
|
|
1975
|
-
the end of a Play. Writing the same name again replaces the page and keeps
|
|
1976
|
-
its URL, so a Play that runs daily can keep one page current.
|
|
1977
|
-
The sequence:
|
|
1978
|
-
1. Write it. From a terminal: [[pages write <name> --file report.html
|
|
1979
|
-
--private]]. From a Play: ctx.pages.write(name, { public: false,
|
|
1980
|
-
content }). The URL, https://<label>.deepline.page/p/<name>, is in the
|
|
1981
|
-
output and stays the same for every write.
|
|
1982
|
-
2. Choose who can open it. Every write must say private or public:
|
|
1983
|
-
private Workspace members, after signing in to Deepline.
|
|
1984
|
-
link Anyone holding a URL from [[pages links create <name>]]. A link
|
|
1985
|
-
opens one page, shows its current content, and expires
|
|
1986
|
-
(--expires-in 7d) or lasts until revoked (--permanent).
|
|
1987
|
-
public Anyone with the URL. Needs public pages enabled for the
|
|
1988
|
-
workspace; [[pages list]] says whether they are. A private page
|
|
1989
|
-
becomes public only through [[pages set-public <name>]], never
|
|
1990
|
-
through a write.
|
|
1991
|
-
3. Manage it: [[pages list]], [[pages get <name>]],
|
|
1992
|
-
[[pages set-private <name>]], [[pages links list <name>]],
|
|
1993
|
-
[[pages links revoke <name> <link-id>]], [[pages delete <name>]]. The
|
|
1994
|
-
Pages section of the dashboard has the same actions.
|
|
1995
|
-
4. For cross-origin browser reads of a public page, set allowed origins
|
|
1996
|
-
with [[pages set-origins <name> https://example.com]].
|
|
1997
|
-
What visitors see:
|
|
1998
|
-
HTML, SVG, and XML open in a sandbox under a "Hosted on Deepline" tab.
|
|
1999
|
-
Scripts, forms, and https requests work. A link to another site asks the
|
|
2000
|
-
visitor before it opens. Other types, and requests from curl or code, get
|
|
2001
|
-
the bytes exactly as written.
|
|
2002
|
-
Cost:
|
|
2003
|
-
Free. Each new page counts toward the plan's page limit, which
|
|
2004
|
-
[[pages list]] prints; replacing a page does not.
|
|
2005
|
-
Avoid:
|
|
2006
|
-
Do not put secrets or credentials in a page, even a private one: anyone with
|
|
2007
|
-
a link sees everything on it. Do not write a new name per run to keep
|
|
2008
|
-
history; use one name so the URL stays stable.
|
|
2009
|
-
`
|
|
2010
|
-
},
|
|
2011
|
-
"pages write": {
|
|
2012
|
-
rolloutFeature: "hosted-pages",
|
|
2013
|
-
core: `
|
|
2014
|
-
Purpose:
|
|
2015
|
-
Create a page, or replace all of its content and its description.
|
|
2016
|
-
[[cli:
|
|
2017
|
-
Input:
|
|
2018
|
-
<name>: 1-63 lowercase letters, digits, or hyphens, starting and ending
|
|
2019
|
-
with a letter or digit. --file <path> (required, up to 3 MB). Exactly one
|
|
2020
|
-
of --private or --public. --content-type <type> overrides the type taken
|
|
2021
|
-
from the extension (.html .htm .json .csv .md .txt .svg .png .jpg .jpeg
|
|
2022
|
-
.gif .webp .pdf; anything else is application/octet-stream).
|
|
2023
|
-
--description <text>. --json prints JSON.
|
|
2024
|
-
]]
|
|
2025
|
-
Output (JSON):
|
|
2026
|
-
name, url, public (who can open it after this write), revision (increases
|
|
2027
|
-
only when the content changes), created (true for a new page), and
|
|
2028
|
-
warnings[] (for example, a request for public that kept a page private).
|
|
2029
|
-
Visibility:
|
|
2030
|
-
--private makes a public page private at once. --public publishes a new
|
|
2031
|
-
page. On a page that is already private, --public writes the content, keeps
|
|
2032
|
-
the page private, and adds a warning; run [[pages set-public <name>]] to
|
|
2033
|
-
publish it. Without public pages enabled, --public fails with
|
|
2034
|
-
public_pages_not_enabled and writes nothing.
|
|
2035
|
-
Errors (code):
|
|
2036
|
-
name_invalid, content_type_invalid, description_too_long,
|
|
2037
|
-
document_too_large, page_limit_reached, page_deleting,
|
|
2038
|
-
public_pages_not_enabled, pages_not_enabled.
|
|
2039
|
-
Cost:
|
|
2040
|
-
Free. Repeating a write is safe.
|
|
2041
|
-
Avoid:
|
|
2042
|
-
Do not use --public for something only your team should see. Write it
|
|
2043
|
-
--private and share it with [[pages links create <name>]].
|
|
2044
|
-
`
|
|
2045
|
-
},
|
|
2046
|
-
"pages set-origins": {
|
|
2047
|
-
rolloutFeature: "hosted-pages",
|
|
2048
|
-
core: `
|
|
2049
|
-
Purpose:
|
|
2050
|
-
Replace the list of sites that can fetch a public page from browser JavaScript.
|
|
2051
|
-
Input:
|
|
2052
|
-
<name>, followed by up to 20 exact HTTPS origins without trailing slashes.
|
|
2053
|
-
Omit the origins to clear the list. --json prints JSON.
|
|
2054
|
-
Output (JSON):
|
|
2055
|
-
allowed_origins: the saved list.
|
|
2056
|
-
Behavior:
|
|
2057
|
-
The setting applies to anonymous reads of the raw public document.
|
|
2058
|
-
Each listed origin includes the scheme, hostname, and port if non-default.
|
|
2059
|
-
Use a credential-free GET or HEAD request.
|
|
2060
|
-
Cost:
|
|
2061
|
-
Free.
|
|
2062
|
-
`
|
|
2063
|
-
},
|
|
2064
|
-
"pages links create": {
|
|
2065
|
-
rolloutFeature: "hosted-pages",
|
|
2066
|
-
core: `
|
|
2067
|
-
Purpose:
|
|
2068
|
-
Create a URL that opens one page without signing in.
|
|
2069
|
-
When:
|
|
2070
|
-
To share a private page with someone outside the workspace, or for a limited
|
|
2071
|
-
time. Works without public pages enabled.
|
|
2072
|
-
[[cli:
|
|
2073
|
-
Input:
|
|
2074
|
-
<name>, then exactly one of --expires-in <duration> (30m, 12h, 7d) or
|
|
2075
|
-
--permanent. --label <text> says who the link is for. --json prints JSON.
|
|
2076
|
-
]]
|
|
2077
|
-
Output (JSON):
|
|
2078
|
-
url (printed once and never again; Deepline keeps only a hash), id (pass it
|
|
2079
|
-
to [[pages links revoke <name> <link-id>]]), label, expires_at (null when
|
|
2080
|
-
permanent), created_at.
|
|
2081
|
-
Behavior:
|
|
2082
|
-
The link always shows the page's current content, keeps working after
|
|
2083
|
-
writes, and stops at once when revoked or when the page is deleted. A page
|
|
2084
|
-
can have up to 100 links; [[pages links list <name>]] lists them.
|
|
2085
|
-
Cost:
|
|
2086
|
-
Free.
|
|
2087
|
-
Avoid:
|
|
2088
|
-
Do not post a link anywhere public: it opens the page for anyone holding it.
|
|
2089
1993
|
`
|
|
2090
1994
|
},
|
|
2091
1995
|
views: {
|
|
@@ -2115,6 +2019,10 @@ The sequence:
|
|
|
2115
2019
|
[[views set-access <id> public]] lets anyone with the URL open it and
|
|
2116
2020
|
see the output of every run of its Play, including runs started outside
|
|
2117
2021
|
the view (by hand, on a schedule, or from the CLI).
|
|
2022
|
+
To share with specific people instead, create a signed link:
|
|
2023
|
+
[[views links create <id> --expires 7d --email a@b.com]]. Whoever holds
|
|
2024
|
+
it can open the view, with each run's input, until it expires or
|
|
2025
|
+
[[views links revoke <id> <link-id>]]; the URL is printed once.
|
|
2118
2026
|
4. Manage it: [[views list]], [[views get <id>]],
|
|
2119
2027
|
[[views edit <id>]], [[views runs <id>]], [[views delete <id>]].
|
|
2120
2028
|
Buttons in HTML output:
|
|
@@ -2125,7 +2033,8 @@ Buttons in HTML output:
|
|
|
2125
2033
|
the run. Plays in this workspace only; never for public visitors.
|
|
2126
2034
|
Permissions:
|
|
2127
2035
|
[[views permissions]] shows who may create, edit, delete, set access, and
|
|
2128
|
-
refresh; admins change them with [[views permissions set]].
|
|
2036
|
+
refresh; admins change them with [[views permissions set]]. Share links
|
|
2037
|
+
take the set-access permission.
|
|
2129
2038
|
Cost:
|
|
2130
2039
|
Views are free. Refresh and buttons start ordinary Play runs.
|
|
2131
2040
|
Avoid:
|
|
@@ -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
|
|
3
|
+
var _chunk2B4IOGFDjs = require('./chunk-2B4IOGFD.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkZILSRDINjs = require('./chunk-ZILSRDIN.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 =
|
|
141
|
-
return new (0,
|
|
142
|
-
new (0,
|
|
140
|
+
const config = _chunkZILSRDINjs.resolveConfig.call(void 0, options);
|
|
141
|
+
return new (0, _chunk2B4IOGFDjs.PlayClient)(
|
|
142
|
+
new (0, _chunkZILSRDINjs.HttpClient)(config),
|
|
143
143
|
_nullishCoalesce(config.environment, () => ( process.env))
|
|
144
144
|
);
|
|
145
145
|
}
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
addDescribeOptions,
|
|
3
3
|
recordApiResponse,
|
|
4
4
|
writeExecutionOutput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LZXZQPA2.mjs";
|
|
6
6
|
import {
|
|
7
7
|
recentSearchRef,
|
|
8
8
|
registerDeprecatedSearchCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E24UGPGG.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Capability,
|
|
12
12
|
arrayField,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
toolInputFieldsForDisplay,
|
|
28
28
|
toolMetadataJsonForDescribe,
|
|
29
29
|
toolOutputFieldsForDisplay
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OVX3Q5Q3.mjs";
|
|
31
31
|
import {
|
|
32
32
|
rateLimitQualifier
|
|
33
33
|
} from "./chunk-7AOFSZJM.mjs";
|
|
@@ -46,10 +46,10 @@ import {
|
|
|
46
46
|
} from "./chunk-FIVKWNMT.mjs";
|
|
47
47
|
import {
|
|
48
48
|
DeeplineClient
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-WC5M3JXE.mjs";
|
|
50
50
|
import {
|
|
51
51
|
validateExecutionIdempotencyKey
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-BASLYGXK.mjs";
|
|
53
53
|
import {
|
|
54
54
|
stableStringify
|
|
55
55
|
} from "./chunk-UBKA33KY.mjs";
|
|
@@ -59,34 +59,35 @@ import {
|
|
|
59
59
|
maybeAutoUpdateAndRelaunch,
|
|
60
60
|
registerCompatibilityCatalog,
|
|
61
61
|
runToolExecuteStage
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-KPQHUVYW.mjs";
|
|
63
63
|
import {
|
|
64
64
|
isCliTraceEnabled,
|
|
65
65
|
recordCliTrace,
|
|
66
66
|
resolveCliMaintenancePolicy
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-DUYAMLOC.mjs";
|
|
68
68
|
import {
|
|
69
69
|
checkSdkCompatibility,
|
|
70
70
|
enforceSdkCompatibilityResponse,
|
|
71
71
|
flushDeferredSkillsSyncNotices,
|
|
72
72
|
syncSdkSkillsIfNeeded
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-XJD2GYUP.mjs";
|
|
74
74
|
import {
|
|
75
|
+
errorToJsonPayload,
|
|
75
76
|
printCommandEnvelope,
|
|
76
77
|
printCompactJson,
|
|
77
78
|
printJson,
|
|
78
79
|
printJsonError,
|
|
79
80
|
renderCommandEnvelopeText,
|
|
80
81
|
shouldEmitJson
|
|
81
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-ANUKBZ6W.mjs";
|
|
82
83
|
import {
|
|
83
84
|
readSdkSkillsLocalVersion,
|
|
84
85
|
resolveConfig,
|
|
85
86
|
sdkCliStateDirPath
|
|
86
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-3PCYV6ZJ.mjs";
|
|
87
88
|
import {
|
|
88
89
|
DeeplineError
|
|
89
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-JL2OTMSG.mjs";
|
|
90
91
|
|
|
91
92
|
// src/cli/commands/tools.ts
|
|
92
93
|
import { Option } from "commander";
|
|
@@ -383,7 +384,7 @@ function zeroMatchToolGuidance(options) {
|
|
|
383
384
|
...query ? [
|
|
384
385
|
{
|
|
385
386
|
label: "Use ranked semantic search for intent-style queries",
|
|
386
|
-
command: `deepline search --
|
|
387
|
+
command: `deepline search -- ${shellCommandArg(query)}`
|
|
387
388
|
},
|
|
388
389
|
...options.mode === "all" ? [
|
|
389
390
|
{
|
|
@@ -395,13 +396,7 @@ function zeroMatchToolGuidance(options) {
|
|
|
395
396
|
{
|
|
396
397
|
label: "List the current atomic tool catalog",
|
|
397
398
|
command: "deepline tools list"
|
|
398
|
-
}
|
|
399
|
-
...query ? [
|
|
400
|
-
{
|
|
401
|
-
label: "Search composed Deepline plays separately",
|
|
402
|
-
command: `deepline search --type prebuilts -- ${shellCommandArg(query)}`
|
|
403
|
-
}
|
|
404
|
-
] : []
|
|
399
|
+
}
|
|
405
400
|
];
|
|
406
401
|
return {
|
|
407
402
|
reason: "filters_matched_no_atomic_tools",
|
|
@@ -793,7 +788,7 @@ function playLikeToolExecuteErrorMessage(toolId, tool) {
|
|
|
793
788
|
return [
|
|
794
789
|
`${toolId} is a workflow/play entry, not an atomic provider tool.`,
|
|
795
790
|
nextStep,
|
|
796
|
-
'Or search
|
|
791
|
+
'Or search with: deepline search "<input you have -> result you need>"'
|
|
797
792
|
].join("\n");
|
|
798
793
|
}
|
|
799
794
|
var TOOL_ONLY_VIEWS = [
|
|
@@ -816,7 +811,7 @@ Concepts:
|
|
|
816
811
|
runs either.
|
|
817
812
|
|
|
818
813
|
Common commands:
|
|
819
|
-
deepline search "name and company domain -> work email"
|
|
814
|
+
deepline search "name and company domain -> work email"
|
|
820
815
|
deepline describe hunter_email_verifier
|
|
821
816
|
deepline tools connect hubspot --link
|
|
822
817
|
deepline run hunter_email_verifier --input '{"email":"a@b.com"}'
|
|
@@ -853,6 +848,27 @@ Output:
|
|
|
853
848
|
for (const row of connections)
|
|
854
849
|
console.log(`${row.provider} ${row.status} ${row.label}`);
|
|
855
850
|
});
|
|
851
|
+
tools.command("hubspot-members").description(
|
|
852
|
+
"List personal HubSpot connection status for workspace members."
|
|
853
|
+
).option("--cursor <cursor>", "Read the next roster page").option("--json", "Print the roster page as JSON").action(async (options) => {
|
|
854
|
+
const page = await new DeeplineClient().listPersonalHubSpotMembers(
|
|
855
|
+
options.cursor
|
|
856
|
+
);
|
|
857
|
+
if (shouldEmitJson(options.json)) {
|
|
858
|
+
console.log(JSON.stringify(page));
|
|
859
|
+
return;
|
|
860
|
+
}
|
|
861
|
+
if (page.members.length === 0)
|
|
862
|
+
console.log("No workspace members on this page.");
|
|
863
|
+
for (const member of page.members) {
|
|
864
|
+
const account = member.account ? ` Portal ${member.account.portalId} User ${member.account.userId}` : "";
|
|
865
|
+
console.log(
|
|
866
|
+
`${JSON.stringify(member.name || member.email)} ${member.status}${account}`
|
|
867
|
+
);
|
|
868
|
+
}
|
|
869
|
+
if (page.nextCursor)
|
|
870
|
+
console.error(`Next page cursor: ${page.nextCursor}`);
|
|
871
|
+
});
|
|
856
872
|
tools.command("workspace-connection <provider> <action>").description(
|
|
857
873
|
"Open shared OAuth setup or disconnect the current connection."
|
|
858
874
|
).option("--json", "Print the result as JSON").action(
|
|
@@ -1004,7 +1020,7 @@ Examples:
|
|
|
1004
1020
|
deepline tools list email_finder
|
|
1005
1021
|
deepline tools list email_finder
|
|
1006
1022
|
deepline tools list --categories email_finder
|
|
1007
|
-
deepline search "name and company domain -> work email"
|
|
1023
|
+
deepline search "name and company domain -> work email"
|
|
1008
1024
|
`
|
|
1009
1025
|
).option(
|
|
1010
1026
|
"--categories <categories>",
|
|
@@ -1121,7 +1137,7 @@ Examples:
|
|
|
1121
1137
|
process.exitCode = await narrowView();
|
|
1122
1138
|
return;
|
|
1123
1139
|
}
|
|
1124
|
-
const { describeAnything } = await import("./describe-
|
|
1140
|
+
const { describeAnything } = await import("./describe-IKZFOADR.mjs");
|
|
1125
1141
|
process.exitCode = await describeAnything(
|
|
1126
1142
|
toolId,
|
|
1127
1143
|
{
|
|
@@ -2695,10 +2711,7 @@ async function executeToolForReceipt(input) {
|
|
|
2695
2711
|
{
|
|
2696
2712
|
id: outcomeKnown ? null : key,
|
|
2697
2713
|
status: "failed",
|
|
2698
|
-
error:
|
|
2699
|
-
message: error instanceof Error ? error.message : String(error),
|
|
2700
|
-
...error instanceof DeeplineError ? { code: error.code } : {}
|
|
2701
|
-
},
|
|
2714
|
+
error: errorToJsonPayload(error).error,
|
|
2702
2715
|
...key && !outcomeKnown ? {
|
|
2703
2716
|
next: {
|
|
2704
2717
|
retry: "Run the same command again: it picks up this call without paying twice."
|