deepline 0.3.582 → 0.4.0
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 +79 -36
- package/dist/bundling-sources/sdk/src/index.ts +2 -0
- package/dist/bundling-sources/sdk/src/release.ts +7 -3
- package/dist/bundling-sources/sdk/src/types.ts +37 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +22 -3
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +94 -5
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +66 -12
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +10 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/runtime-topology.ts +6 -1
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/runtime-tuple-recovery.ts +9 -3
- package/dist/bundling-sources/shared_libs/play-runtime/docflow-node-io.ts +86 -20
- package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +17 -6
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +22 -6
- package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +14 -0
- package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +54 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/terminal/postgres-adapter.ts +2 -1
- package/dist/bundling-sources/shared_libs/play-runtime/row-failure-summary.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-snapshot-stream.ts +4 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +62 -6
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +14 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-store-adapter.ts +197 -19
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-writer.ts +25 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-scheduler-topology.ts +5 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +140 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-wake-policy.ts +419 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +47 -4
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +24 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +36 -19
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +380 -51
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +21 -10
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +32 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +6 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/api-client.ts +3 -1
- package/dist/bundling-sources/shared_libs/plays/deploy/run-deployment.ts +34 -4
- package/dist/bundling-sources/shared_libs/plays/docflow-recording-lint.ts +512 -0
- package/dist/bundling-sources/shared_libs/plays/docflow-requirement.ts +346 -0
- package/dist/bundling-sources/shared_libs/plays/docflow-rule-codes.ts +38 -0
- package/dist/bundling-sources/shared_libs/plays/docflow-unreached-reason.ts +42 -2
- package/dist/bundling-sources/shared_libs/plays/docflow.ts +223 -32
- package/dist/bundling-sources/shared_libs/plays/play-check-compact.ts +14 -1
- package/dist/bundling-sources/shared_libs/plays/run-result.ts +35 -0
- package/dist/cli/{agents-UAXDG4FS.mjs → agents-AHXB7N7Y.mjs} +68 -4
- package/dist/cli/{agents-2L73CJHH.js → agents-KBZ7OUZS.js} +95 -31
- package/dist/cli/{auth-3B2QB4UH.mjs → auth-3CACO52T.mjs} +5 -5
- package/dist/cli/auth-UOHCO5K6.js +44 -0
- package/dist/cli/{billing-E7FO622G.js → billing-5KXPGKMO.js} +105 -105
- package/dist/cli/{billing-CPBRWG3M.mjs → billing-TSTK63NB.mjs} +9 -9
- package/dist/cli/{chunk-3DVWSTAI.mjs → chunk-2GWKBQJZ.mjs} +1 -1
- package/dist/cli/{chunk-PNQVB4UD.mjs → chunk-3DJMPID5.mjs} +11 -11
- package/dist/cli/{chunk-FBSPHBAF.js → chunk-3ET6NRXP.js} +7 -3
- package/dist/cli/{chunk-NZR5PBNP.mjs → chunk-3MWTAM3F.mjs} +3 -3
- package/dist/cli/{chunk-ROUNT4NX.mjs → chunk-4ANDW2OT.mjs} +1 -1
- package/dist/cli/{chunk-ZH23XGJO.js → chunk-4BSCSQ6I.js} +4 -4
- package/dist/cli/{chunk-7QX5PCHP.mjs → chunk-4UEXAMDU.mjs} +2 -2
- package/dist/cli/{chunk-3EOET5UB.js → chunk-5XGLDVSD.js} +100 -100
- package/dist/cli/{chunk-MRSYC74T.js → chunk-7XXJJVSI.js} +5 -5
- package/dist/cli/{chunk-NJGXYYHN.js → chunk-7ZCD7OPO.js} +5 -5
- package/dist/cli/{chunk-JF4DUC2F.mjs → chunk-AJJSKKH4.mjs} +2 -2
- package/dist/cli/{chunk-XYQMOXP4.mjs → chunk-BHF5UW34.mjs} +1 -1
- package/dist/cli/{chunk-POYADK77.js → chunk-BO2TXH5Y.js} +20 -20
- package/dist/cli/{chunk-RNZXMOA6.mjs → chunk-BUC2TNF2.mjs} +2 -2
- package/dist/cli/{chunk-EGH4JNJP.js → chunk-BUUAFSSN.js} +68 -50
- package/dist/cli/{chunk-GZBXN56A.js → chunk-C45E47KC.js} +23 -23
- package/dist/cli/{chunk-HP6A3JCX.js → chunk-D4R3AL4F.js} +5 -5
- package/dist/cli/{chunk-ABJZQHON.mjs → chunk-DAZRIAXW.mjs} +4 -4
- package/dist/cli/{chunk-SKKRESFB.js → chunk-DNOZQGJF.js} +3 -3
- package/dist/cli/{chunk-DPLYQITT.js → chunk-DUL6UQ2T.js} +2 -2
- package/dist/cli/{chunk-U2QQQNWW.mjs → chunk-ES3S6UXR.mjs} +2 -2
- package/dist/cli/{chunk-4TTEAUZV.mjs → chunk-FDAYUP3M.mjs} +3 -3
- package/dist/cli/{chunk-V54YQHPV.js → chunk-FEVUIT2U.js} +6 -6
- package/dist/cli/{chunk-KDITCSPN.mjs → chunk-FSPEUU3V.mjs} +68 -6
- package/dist/cli/{chunk-OUFOJTEJ.mjs → chunk-FZZMCVOS.mjs} +5 -5
- package/dist/cli/{chunk-ISN4F6AY.js → chunk-GHOB72U6.js} +13 -13
- package/dist/cli/{chunk-LHA45DNY.mjs → chunk-GLYWRTEL.mjs} +3 -3
- package/dist/cli/{chunk-LDMCTV2Z.mjs → chunk-HNTIGYRT.mjs} +1 -1
- package/dist/cli/{chunk-EB2YLLZJ.js → chunk-IGPHYKEJ.js} +41 -41
- package/dist/cli/{chunk-VA35T3AF.js → chunk-ISSYN3DJ.js} +20 -20
- package/dist/cli/{chunk-DSHIB2XQ.mjs → chunk-JKQPITEE.mjs} +54 -36
- package/dist/cli/{chunk-ZARGHLZZ.mjs → chunk-KMLACXI2.mjs} +7 -3
- package/dist/cli/{chunk-DI5MULNX.js → chunk-KQXACHYA.js} +26 -26
- package/dist/cli/{chunk-CPZL6Z7D.js → chunk-LW2GKYZW.js} +2 -2
- package/dist/cli/{chunk-G5YU6RJ4.mjs → chunk-O2KSPI2M.mjs} +2 -2
- package/dist/cli/{chunk-H3KVMALU.js → chunk-O6GT6JD7.js} +9 -9
- package/dist/cli/{chunk-4ZAWRCB6.mjs → chunk-OCXWUWUI.mjs} +5 -5
- package/dist/cli/{chunk-YPP436NM.js → chunk-QKRDAJ3T.js} +53 -53
- package/dist/cli/{chunk-KQEW3EAU.js → chunk-QQESWF6D.js} +16 -16
- package/dist/cli/{chunk-CYZSHD66.js → chunk-REX5SUYU.js} +2 -2
- package/dist/cli/{chunk-Z3IAEHID.js → chunk-RXIQWG2N.js} +48 -48
- package/dist/cli/{chunk-5436ZJPH.js → chunk-S33BN7GZ.js} +3 -3
- package/dist/cli/{chunk-JD7P73ZW.mjs → chunk-SGRJJLNV.mjs} +1 -1
- package/dist/cli/{chunk-2K6EIL2D.mjs → chunk-TCNYSNVU.mjs} +1 -1
- package/dist/cli/{chunk-I5J6HGVR.mjs → chunk-TFPMVSGK.mjs} +2 -2
- package/dist/cli/{chunk-6NEMTKTA.mjs → chunk-V73WDQEA.mjs} +5 -5
- package/dist/cli/{chunk-Y36SQMSN.js → chunk-VYERVFGB.js} +68 -6
- package/dist/cli/{chunk-SYWLWTWM.mjs → chunk-WBRSVML3.mjs} +4 -4
- package/dist/cli/{chunk-NVHICORD.mjs → chunk-WW52ANX4.mjs} +2 -2
- package/dist/cli/{chunk-3HIJNXRB.js → chunk-XZS35M3Y.js} +10 -10
- package/dist/cli/{chunk-ZL3O7F5J.js → chunk-YNYHYL5C.js} +15 -15
- package/dist/cli/{chunk-FWB3QR7W.mjs → chunk-ZHE5E2WJ.mjs} +1 -1
- package/dist/cli/{chunk-D7J33HTK.mjs → chunk-ZJ2H77VV.mjs} +5 -5
- package/dist/cli/{chunk-JUZIMW4S.js → chunk-ZX6UVPGZ.js} +7 -7
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/concurrent-runs-help-H5SZUA5J.js +22 -0
- package/dist/cli/{concurrent-runs-help-UFNYQYU2.mjs → concurrent-runs-help-IYELSCHB.mjs} +6 -6
- package/dist/cli/{csv-QSDRGLQH.mjs → csv-ENEC3APZ.mjs} +4 -4
- package/dist/cli/{csv-ZI5LYFHF.js → csv-X6CP57R4.js} +13 -13
- package/dist/cli/{db-ZDL6Q53U.js → db-6HLRSE2M.js} +27 -27
- package/dist/cli/{db-WVWXNNMO.mjs → db-YGKRFK4T.mjs} +6 -6
- package/dist/cli/{describe-UUQBKUVL.mjs → describe-4SGQEX7K.mjs} +18 -18
- package/dist/cli/describe-Q2OYHDVZ.js +50 -0
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-SCGHTWTC.js → executions-IC55YJ67.js} +8 -8
- package/dist/cli/{executions-QN3OYJKT.mjs → executions-PO2IOSZ7.mjs} +6 -6
- package/dist/cli/{feedback-7QPHLXGU.mjs → feedback-6BUD5F4I.mjs} +6 -6
- package/dist/cli/{feedback-6QQ7ONLW.js → feedback-BCGQLZ5T.js} +14 -14
- package/dist/cli/git-5X3MLBIP.js +26 -0
- package/dist/cli/{git-HFPJX573.mjs → git-IN4IBL2K.mjs} +5 -5
- package/dist/cli/index.js +148 -148
- package/dist/cli/index.mjs +47 -47
- package/dist/cli/{integrations-ND2HULSH.js → integrations-R2Z2MDO3.js} +29 -29
- package/dist/cli/{integrations-4SZ5O24P.mjs → integrations-ZMGB6NQA.mjs} +7 -7
- package/dist/cli/{legacy-noops-WUP3TBR2.mjs → legacy-noops-GIC5OZKP.mjs} +6 -6
- package/dist/cli/{legacy-noops-GQF6AYP5.js → legacy-noops-X4JPRPTJ.js} +9 -9
- package/dist/cli/{mcp-3GUFYGCQ.mjs → mcp-G4IRJIKK.mjs} +4 -4
- package/dist/cli/{mcp-L3YYVEU6.js → mcp-USZKTVL2.js} +24 -24
- package/dist/cli/{monitors-OFCVJSH5.mjs → monitors-SNFZPSCY.mjs} +7 -7
- package/dist/cli/{monitors-CVZZN5WG.js → monitors-T7LRP7OB.js} +100 -100
- package/dist/cli/{org-MQ5AUN7I.js → org-2L2ZZL2P.js} +121 -121
- package/dist/cli/{org-3DTAYA52.mjs → org-YTXLKW52.mjs} +6 -6
- package/dist/cli/{outcomes-42W24EXG.mjs → outcomes-CJWBIFTA.mjs} +6 -6
- package/dist/cli/{outcomes-MGDUYHUD.js → outcomes-O63F57JF.js} +14 -14
- package/dist/cli/{play-PD45RNYZ.mjs → play-6UWPUHC6.mjs} +331 -70
- package/dist/cli/{play-IMAD7QTV.js → play-T353SULJ.js} +930 -669
- package/dist/cli/{providers-DYKHG7NV.mjs → providers-LZABK2UW.mjs} +6 -6
- package/dist/cli/{providers-WONHPTRG.js → providers-XORJH2VW.js} +9 -9
- package/dist/cli/{quickstart-5QPGHLEX.mjs → quickstart-O4RF7J55.mjs} +4 -4
- package/dist/cli/{quickstart-6AAFULGC.js → quickstart-QBNUNPZR.js} +6 -6
- package/dist/cli/{run-WOW7QO3W.js → run-2CPMFC6W.js} +44 -44
- package/dist/cli/{run-4K6ZU7H7.mjs → run-GBRPFC6P.mjs} +23 -23
- package/dist/cli/{search-CKVFWVXQ.mjs → search-G7TS7OFB.mjs} +7 -7
- package/dist/cli/search-M3AHFCKQ.js +32 -0
- package/dist/cli/{search-output-WWB25JWA.mjs → search-output-BIIJRUCP.mjs} +4 -4
- package/dist/cli/{search-output-B5QE7ZNK.js → search-output-NRKLNWSD.js} +6 -6
- package/dist/cli/{secrets-SVZB6TSW.mjs → secrets-DN3XEZNH.mjs} +6 -6
- package/dist/cli/{secrets-WKIMR346.js → secrets-FUXYSEL5.js} +15 -15
- package/dist/cli/{sessions-P3QENG6T.mjs → sessions-PMUTPCTT.mjs} +6 -6
- package/dist/cli/sessions-VMBMBGVJ.js +23 -0
- package/dist/cli/{settings-V5ABL6D2.mjs → settings-N6GNS2KA.mjs} +12 -12
- package/dist/cli/{settings-UIFRGJW3.js → settings-ZDTWCQ6B.js} +85 -85
- package/dist/cli/{setup-E67NJTEF.mjs → setup-LJ3KWPSA.mjs} +9 -9
- package/dist/cli/{setup-A5MIJU3S.js → setup-PN5TSSJE.js} +49 -49
- package/dist/cli/{skills-WLHOQ4DO.mjs → skills-7J42K6VC.mjs} +7 -7
- package/dist/cli/skills-CXDENBLF.js +37 -0
- package/dist/cli/{tools-EG4KL3BB.mjs → tools-M3S6D6DA.mjs} +17 -17
- package/dist/cli/tools-WY2GMOC7.js +57 -0
- package/dist/cli/{update-IPFBE6SA.mjs → update-XTVFG74E.mjs} +9 -9
- package/dist/cli/update-ZB2IBGXG.js +37 -0
- package/dist/cli/{views-ZIBY2RVB.js → views-B4X2FWTF.js} +21 -21
- package/dist/cli/{views-XDN6SEWY.mjs → views-UFYRDO4X.mjs} +6 -6
- package/dist/cli/{workflow-BLKPBRBT.js → workflow-I2RM2J2J.js} +53 -29
- package/dist/cli/{workflow-O2XPMOVL.mjs → workflow-ZLMS3PDE.mjs} +42 -18
- package/dist/{client-QznpkWrk.d.ts → client-2QWMJInp.d.ts} +1 -1
- package/dist/{client-CmG8MT0x.d.mts → client-7H8TXmLa.d.mts} +1 -1
- package/dist/{client-core-CY0jNW0e.d.mts → client-core-BraEuxbg.d.mts} +67 -4
- package/dist/{client-core-CXDqfeiB.d.ts → client-core-DRglY5xa.d.ts} +67 -4
- 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 +125 -120
- package/dist/plays/bundle-play-file.mjs +5 -0
- 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 +3 -3
- package/dist/release.d.ts +3 -3
- 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-ALBG5LF4.js +0 -44
- package/dist/cli/concurrent-runs-help-E3YMAO5Q.js +0 -22
- package/dist/cli/describe-QB5T47B3.js +0 -50
- package/dist/cli/git-4FXTWHXT.js +0 -26
- package/dist/cli/search-YZIJS7QU.js +0 -32
- package/dist/cli/sessions-VQPGPXMU.js +0 -23
- package/dist/cli/skills-GTBK33MV.js +0 -37
- package/dist/cli/tools-GPAIPRPQ.js +0 -57
- package/dist/cli/update-QLWS32WR.js +0 -37
|
@@ -1439,7 +1439,11 @@ Authoring rules:
|
|
|
1439
1439
|
with deepline secrets set]]. res.json is a property, not a method; check
|
|
1440
1440
|
res.ok. A play cannot loop deepline.fetch over pages: fan out over rows
|
|
1441
1441
|
with deepline.dataset, or
|
|
1442
|
-
call one endpoint that returns the whole result.
|
|
1442
|
+
call one endpoint that returns the whole result. For a GET whose body you
|
|
1443
|
+
parse in the same row and never need again (a homepage or scraped page),
|
|
1444
|
+
pass { transient: true } as the fourth argument: the body is returned to
|
|
1445
|
+
the play but not kept, so a rerun fetches it again instead of reading a
|
|
1446
|
+
stored copy. Return or store only the fields you extracted.
|
|
1443
1447
|
Triggers: export const config = { cron: { schedule, timezone, input, overlap } };
|
|
1444
1448
|
or { webhook: {} }. A cron run receives {} unless cron.input is written
|
|
1445
1449
|
inline; it is pinned with the published revision. Add
|
|
@@ -1529,6 +1533,26 @@ Output:
|
|
|
1529
1533
|
the output unit, observed or static range and sample size.
|
|
1530
1534
|
Cost:
|
|
1531
1535
|
Read-only. Uses the current org's pricing; does not start a run.
|
|
1536
|
+
`
|
|
1537
|
+
},
|
|
1538
|
+
"plays step-values": {
|
|
1539
|
+
core: `
|
|
1540
|
+
Purpose:
|
|
1541
|
+
Read what one diagram step read and produced, run by run: its recorded
|
|
1542
|
+
input and output previews, status and attempt.
|
|
1543
|
+
Input:
|
|
1544
|
+
The play is a bare name or qualified reference. The step is its id as the
|
|
1545
|
+
diagram draws it (a child play's step is <card>/play/<id>).[[cli: --step
|
|
1546
|
+
names it. --runs takes comma-separated run ids, or --last <n> reads the
|
|
1547
|
+
newest n runs; at most 50 either way. --json prints the exact result.]][[mcp:
|
|
1548
|
+
Name at most 50 runs.]]
|
|
1549
|
+
Output:
|
|
1550
|
+
One line per run, in order: its status and attempt, then input and output
|
|
1551
|
+
fields. "not reached" when the run recorded its steps but never settled at
|
|
1552
|
+
this one; "not recorded" when the run recorded no step values at all; "not
|
|
1553
|
+
a run of this play" for an id that is not this Play's.
|
|
1554
|
+
Cost:
|
|
1555
|
+
Free. Read-only; previews are bounded, so each run's answer is small.
|
|
1532
1556
|
`
|
|
1533
1557
|
},
|
|
1534
1558
|
"plays list": {
|
|
@@ -1726,6 +1750,20 @@ Output:
|
|
|
1726
1750
|
The same compact view as the CLI's --json; full: true returns the complete
|
|
1727
1751
|
check document.
|
|
1728
1752
|
]]
|
|
1753
|
+
Diagram:
|
|
1754
|
+
Required to publish. A run records what each step read and produced only
|
|
1755
|
+
for steps a diagram binds. Put a /** @mermaid */ flowchart above the
|
|
1756
|
+
imports and // @mermaid-node <id> in:"\u2026" out:"\u2026" on the line above each step
|
|
1757
|
+
it draws. Check fails until:
|
|
1758
|
+
the diagram compiles and every box is bound (or declared sketch);
|
|
1759
|
+
each marker names out: when its statement produces a value, and in:
|
|
1760
|
+
when it reads local values (check lists them);
|
|
1761
|
+
out: names a finished value, not one created empty and filled later.
|
|
1762
|
+
Each issue names its line and the lines to paste. A CLI before 0.4.0, and
|
|
1763
|
+
the dashboard, API, MCP and deploy-on-push until 15 Dec 2026, get warnings.
|
|
1764
|
+
Running a local file never needs a diagram. Last resort, not recommended
|
|
1765
|
+
(runs record no per-step values):
|
|
1766
|
+
/** @mermaid off: <why this Play has no diagram> */
|
|
1729
1767
|
Cost:
|
|
1730
1768
|
Free.
|
|
1731
1769
|
Avoid:
|
|
@@ -1822,10 +1860,11 @@ Waiting and timeouts:
|
|
|
1822
1860
|
poll with runs get <run-id> until run.status is terminal.
|
|
1823
1861
|
]]
|
|
1824
1862
|
[[mcp:
|
|
1825
|
-
deepline_run_play waits for the run to end, up to timeout_ms (default
|
|
1826
|
-
maximum
|
|
1863
|
+
deepline_run_play waits for the run to end, up to timeout_ms (default and
|
|
1864
|
+
maximum 50000, under a 60 s client tool-call timeout); timeout_ms: 0
|
|
1827
1865
|
returns once the run is admitted. A run still active then returns its
|
|
1828
|
-
status; call deepline_get_run with run.id
|
|
1866
|
+
status; call deepline_get_run with run.id and wait_for_completion_ms until
|
|
1867
|
+
run.status is terminal.
|
|
1829
1868
|
]]
|
|
1830
1869
|
[[cli:
|
|
1831
1870
|
Input rules:
|
|
@@ -1966,6 +2005,10 @@ Input:
|
|
|
1966
2005
|
Output (JSON):
|
|
1967
2006
|
success, name, liveVersion, revisionId, artifactHash, and the trigger
|
|
1968
2007
|
metadata and bindings now live.
|
|
2008
|
+
Diagram:
|
|
2009
|
+
Refused until the play meets the diagram rules plays check reports (see
|
|
2010
|
+
plays check --help, Diagram), with the same issues and fixes. Running a
|
|
2011
|
+
local file never needs a diagram.
|
|
1969
2012
|
Cost:
|
|
1970
2013
|
Free. It changes cloud state: every caller of the play name gets the new
|
|
1971
2014
|
version at once.
|
|
@@ -2011,7 +2054,7 @@ Purpose:
|
|
|
2011
2054
|
Current status and structure of one run: state, per-step progress, row
|
|
2012
2055
|
counts, dataset handles, and exact follow-up commands.
|
|
2013
2056
|
When:
|
|
2014
|
-
To check a run started with [[cli:--no-wait]][[mcp:timeout_ms: 0, or one still running when deepline_run_play returned]], to find the dataset table name for
|
|
2057
|
+
To check a run started with [[cli:--no-wait]][[mcp:timeout_ms: 0, or one still running when deepline_run_play returned (pass wait_for_completion_ms to wait for it to end instead of pausing between calls)]], to find the dataset table name for
|
|
2015
2058
|
[[db query]], or to see row-level failure counts. Not for cost and not for
|
|
2016
2059
|
rows.
|
|
2017
2060
|
[[cli:
|
|
@@ -2123,7 +2166,7 @@ With [[cli:--full]][[mcp:full: true]]:
|
|
|
2123
2166
|
Debugging a run:
|
|
2124
2167
|
When a run failed or looks stuck, read [[runs get <run-id>]] for its state and
|
|
2125
2168
|
last event, then [[runs logs <run-id>]][[cli: --failed]] for the failure window, then
|
|
2126
|
-
[[cli:runs watch <run-id>]][[mcp:deepline_get_run
|
|
2169
|
+
[[cli:runs watch <run-id>]][[mcp:deepline_get_run with wait_for_completion_ms]] to follow it if it is still active. A run can go quiet
|
|
2127
2170
|
for minutes while it waits on a slow provider (Apify actors, large company
|
|
2128
2171
|
searches), an intentional deepline.sleep, or a rate-limit backoff; that is
|
|
2129
2172
|
healthy. Stop it only after about ten minutes without progress on a fast
|
|
@@ -4392,6 +4435,25 @@ Outcomes (needs the outcomes rollout):
|
|
|
4392
4435
|
linked Deepline member with member access is copied marked "(Slack)"
|
|
4393
4436
|
and reaches no agent: it is top-level, and its @handles mention nobody. A paused outcome still syncs. Sync needs Deepline's app to be
|
|
4394
4437
|
reachable, so a local stack without a public address copies nothing.
|
|
4438
|
+
When Deepline wakes the agent with nobody asking, it stays quiet unless
|
|
4439
|
+
there is something to report (a result, a number that moved, a question,
|
|
4440
|
+
a change, or a reminder or report someone asked for): a quiet wake leaves
|
|
4441
|
+
no post, no unread mark and no notification. A home channel's agent starts
|
|
4442
|
+
at most 30 turns an hour on its own; what arrives past that waits for the
|
|
4443
|
+
next hour. [[agents wakes]] lists home channels with how the agent was
|
|
4444
|
+
last woken and the turns it has used.
|
|
4445
|
+
The agent remembers what will matter later about its outcome in each
|
|
4446
|
+
channel (decisions, deadlines, preferences such as how to report a
|
|
4447
|
+
number, who owns what), and starts every turn from it. It saves and
|
|
4448
|
+
forgets those facts itself, only from what a person said (each fact
|
|
4449
|
+
keeps who said it), never transcripts; anything that looks like a key, a
|
|
4450
|
+
token or a password is refused. A remembered fact informs and never
|
|
4451
|
+
authorizes a new recipient, spending or skipping an ask.
|
|
4452
|
+
[[agents memory enrichment-coverage]] shows what it remembers, per
|
|
4453
|
+
channel, and who said it; --clear forgets it all. Both need member access,
|
|
4454
|
+
since memory can hold what was said in a private channel. Memory ends when the
|
|
4455
|
+
channel is unbound, moves to another outcome, or a home channel takes
|
|
4456
|
+
over an outcome Bot by Deepline owned.
|
|
4395
4457
|
A paused outcome still wakes its agent when something reaches it; the
|
|
4396
4458
|
agent is told the outcome is paused and decides what is worth doing.
|
|
4397
4459
|
Every outcome has an agent by default. While agents are on, an outcome
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk-5AEDYVB6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ES3S6UXR.mjs";
|
|
7
7
|
import {
|
|
8
8
|
errorToJsonPayload,
|
|
9
9
|
printCommandEnvelope,
|
|
10
10
|
resolveSdkCliFailureExitCode
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WW52ANX4.mjs";
|
|
12
12
|
import {
|
|
13
13
|
resolveConfig,
|
|
14
14
|
sdkCliStateDirPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4ANDW2OT.mjs";
|
|
16
16
|
|
|
17
17
|
// src/cli/commands/search.ts
|
|
18
18
|
import { Option } from "commander";
|
|
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
134
134
|
}
|
|
135
135
|
const client = new DeeplineClient();
|
|
136
136
|
const json = options.json === true;
|
|
137
|
-
const renderer = json ? void 0 : await import("./search-output-
|
|
137
|
+
const renderer = json ? void 0 : await import("./search-output-BIIJRUCP.mjs");
|
|
138
138
|
const searches = [];
|
|
139
139
|
const chunks = [];
|
|
140
140
|
const refs = /* @__PURE__ */ new Map();
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
resolveApiKeyForBaseUrl,
|
|
5
5
|
resolveCliCommandContext,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4ANDW2OT.mjs";
|
|
8
8
|
import {
|
|
9
9
|
SDK_VERSION,
|
|
10
10
|
agentSessionIdFromEnvironment,
|
|
11
11
|
deploymentProtectionHeaders,
|
|
12
12
|
detectAgentRuntime,
|
|
13
13
|
readToolFailureHint
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HNTIGYRT.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineError,
|
|
17
17
|
normalizeToolExecutionFailure,
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk7XXJJVSIjs = require('./chunk-7XXJJVSI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkISSYN3DJjs = require('./chunk-ISSYN3DJ.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkS33BN7GZjs = require('./chunk-S33BN7GZ.js');
|
|
16
16
|
|
|
17
17
|
// src/cli/commands/search.ts
|
|
18
18
|
var _commander = require('commander');
|
|
@@ -22,7 +22,7 @@ var _fs = require('fs');
|
|
|
22
22
|
var _path = require('path');
|
|
23
23
|
var SEARCH_REF_TTL_MS = 15 * 6e4;
|
|
24
24
|
function lastSearchPath() {
|
|
25
|
-
return _path.join.call(void 0,
|
|
25
|
+
return _path.join.call(void 0, _chunkS33BN7GZjs.sdkCliStateDirPath.call(void 0, _chunkS33BN7GZjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
|
|
26
26
|
}
|
|
27
27
|
function rememberSearchRef(searchRef) {
|
|
28
28
|
writeSearchRefs({ searchRef });
|
|
@@ -132,9 +132,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
132
132
|
console.error("--summary-width must be an integer of at least 2.");
|
|
133
133
|
return 1;
|
|
134
134
|
}
|
|
135
|
-
const client = new (0,
|
|
135
|
+
const client = new (0, _chunk7XXJJVSIjs.DeeplineClient)();
|
|
136
136
|
const json = options.json === true;
|
|
137
|
-
const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-
|
|
137
|
+
const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-NRKLNWSD.js")));
|
|
138
138
|
const searches = [];
|
|
139
139
|
const chunks = [];
|
|
140
140
|
const refs = /* @__PURE__ */ new Map();
|
|
@@ -157,7 +157,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
157
157
|
const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
|
|
158
158
|
if (!multiple) {
|
|
159
159
|
if (searchRef) rememberSearchRef(searchRef);
|
|
160
|
-
|
|
160
|
+
_chunkISSYN3DJjs.printCommandEnvelope.call(void 0, result, { json, text });
|
|
161
161
|
return 0;
|
|
162
162
|
}
|
|
163
163
|
searches.push({ ...result, query });
|
|
@@ -171,8 +171,8 @@ ${text}`);
|
|
|
171
171
|
}
|
|
172
172
|
} catch (error) {
|
|
173
173
|
if (!multiple) throw error;
|
|
174
|
-
const payload =
|
|
175
|
-
const queryExitCode = _nullishCoalesce(payload.exitCode, () => (
|
|
174
|
+
const payload = _chunkISSYN3DJjs.errorToJsonPayload.call(void 0, error);
|
|
175
|
+
const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkISSYN3DJjs.resolveSdkCliFailureExitCode.call(void 0, error)));
|
|
176
176
|
searches.push({ ...payload, query, exitCode: queryExitCode });
|
|
177
177
|
if (!json) {
|
|
178
178
|
console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
|
|
@@ -184,7 +184,7 @@ Search failed.
|
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
rememberSearchRefsByTool(refs);
|
|
187
|
-
|
|
187
|
+
_chunkISSYN3DJjs.printCommandEnvelope.call(void 0,
|
|
188
188
|
{ searches },
|
|
189
189
|
{
|
|
190
190
|
json,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk7XXJJVSIjs = require('./chunk-7XXJJVSI.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkISSYN3DJjs = require('./chunk-ISSYN3DJ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkS33BN7GZjs = require('./chunk-S33BN7GZ.js');
|
|
10
10
|
|
|
11
11
|
// src/cli/commands/integration-commands.ts
|
|
12
12
|
var _commander = require('commander');
|
|
13
13
|
var _fs = require('fs');
|
|
14
14
|
var _path = require('path');
|
|
15
15
|
function printIntegrationResult(value, json, lines, nextCursor) {
|
|
16
|
-
|
|
16
|
+
_chunkISSYN3DJjs.printCommandEnvelope.call(void 0,
|
|
17
17
|
{},
|
|
18
18
|
{
|
|
19
19
|
json: json || void 0,
|
|
@@ -29,7 +29,7 @@ function registerIntegrationBalanceCommand(parent, hidden = false) {
|
|
|
29
29
|
return parent.command("balance <provider>", { hidden }).description(
|
|
30
30
|
"Read a fresh balance using this org\u2019s own provider connection (LeadMagic)."
|
|
31
31
|
).option("--json", "Print the balance and observation timestamp as JSON").action(async (provider, options) => {
|
|
32
|
-
const balance = await new (0,
|
|
32
|
+
const balance = await new (0, _chunk7XXJJVSIjs.DeeplineClient)().getIntegrationBalance(
|
|
33
33
|
provider
|
|
34
34
|
);
|
|
35
35
|
printIntegrationResult(balance, options.json, [
|
|
@@ -43,7 +43,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
|
|
|
43
43
|
"List teammates\u2019 personal connections for this provider"
|
|
44
44
|
).option("--cursor <cursor>", "Read the next page of members").action(
|
|
45
45
|
async (options) => {
|
|
46
|
-
const client = new (0,
|
|
46
|
+
const client = new (0, _chunk7XXJJVSIjs.DeeplineClient)();
|
|
47
47
|
if (name === "list" && options.cursor && !options.members)
|
|
48
48
|
throw new Error(
|
|
49
49
|
"Use --cursor with --members to continue a member page."
|
|
@@ -85,7 +85,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
|
|
|
85
85
|
}
|
|
86
86
|
function registerLegacyHubSpotMembersCommand(parent, hidden = false) {
|
|
87
87
|
return parent.command("hubspot-members", { hidden }).description("List personal HubSpot connection status for org members.").option("--cursor <cursor>", "Read the next roster page").option("--json", "Print the roster page as JSON").action(async (options) => {
|
|
88
|
-
const page = await new (0,
|
|
88
|
+
const page = await new (0, _chunk7XXJJVSIjs.DeeplineClient)().listPersonalHubSpotMembers(
|
|
89
89
|
options.cursor
|
|
90
90
|
);
|
|
91
91
|
const rows = page.members.map((member) => {
|
|
@@ -111,7 +111,7 @@ function registerLegacyWorkspaceConnectionCommand(parent, hidden = false) {
|
|
|
111
111
|
);
|
|
112
112
|
if (options.autoName && (action !== "connect" || options.name !== void 0))
|
|
113
113
|
throw new Error("Use --auto-name with connect and omit --name.");
|
|
114
|
-
const client = new (0,
|
|
114
|
+
const client = new (0, _chunk7XXJJVSIjs.DeeplineClient)();
|
|
115
115
|
const { connections } = action === "connect" ? { connections: [] } : options.name ? await client.listWorkspaceConnectionInventory(provider) : await client.listWorkspaceIntegrationConnections();
|
|
116
116
|
const row = connections.find(
|
|
117
117
|
(connection) => connection.provider === provider && (!("type" in connection) || connection.type === "oauth") && (options.name === void 0 || "name" in connection && connection.name === options.name)
|
|
@@ -144,7 +144,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
|
|
|
144
144
|
"Print the proposed change without contacting Google or saving it"
|
|
145
145
|
).option("--json", "Print the result as JSON").action(
|
|
146
146
|
async (action, options) => {
|
|
147
|
-
const client = new (0,
|
|
147
|
+
const client = new (0, _chunk7XXJJVSIjs.DeeplineClient)();
|
|
148
148
|
if (action === "list") {
|
|
149
149
|
const inventory = await client.listCalendarAvailabilityConnections();
|
|
150
150
|
const approvals = _optionalChain([inventory, 'access', _3 => _3.approvals, 'optionalAccess', _4 => _4.length]) ? inventory.approvals.map(
|
|
@@ -294,7 +294,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
|
|
|
294
294
|
}
|
|
295
295
|
function registerLegacyAvailabilityCalendarsCommand(parent, hidden = false) {
|
|
296
296
|
return parent.command("availability-calendars", { hidden }).description("Calendar discovery compatibility command for the pilot.").option("--cursor <cursor>", "Legacy calendar page cursor").option("--json", "Print the response as JSON").action(async (options) => {
|
|
297
|
-
const page = await new (0,
|
|
297
|
+
const page = await new (0, _chunk7XXJJVSIjs.DeeplineClient)().listAvailabilityCalendars(
|
|
298
298
|
options.cursor
|
|
299
299
|
);
|
|
300
300
|
printIntegrationResult(page, options.json, [
|
|
@@ -372,7 +372,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
372
372
|
);
|
|
373
373
|
return;
|
|
374
374
|
}
|
|
375
|
-
const result2 = await new (0,
|
|
375
|
+
const result2 = await new (0, _chunk7XXJJVSIjs.DeeplineClient)().connectManagedIntegration(
|
|
376
376
|
provider,
|
|
377
377
|
{
|
|
378
378
|
termsVersion: options.acceptTerms,
|
|
@@ -409,7 +409,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
409
409
|
printSetupPlan({ provider, action: "connect_link" }, options.json);
|
|
410
410
|
return;
|
|
411
411
|
}
|
|
412
|
-
const link = await new (0,
|
|
412
|
+
const link = await new (0, _chunk7XXJJVSIjs.DeeplineClient)().getIntegrationConnectLink(
|
|
413
413
|
provider
|
|
414
414
|
);
|
|
415
415
|
printIntegrationResult(link, options.json, [link.connect_url]);
|
|
@@ -439,7 +439,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
439
439
|
);
|
|
440
440
|
return;
|
|
441
441
|
}
|
|
442
|
-
const result2 = await new (0,
|
|
442
|
+
const result2 = await new (0, _chunk7XXJJVSIjs.DeeplineClient)().startIntegrationOAuth(
|
|
443
443
|
provider,
|
|
444
444
|
{
|
|
445
445
|
...options.preset !== void 0 ? { preset: options.preset } : {},
|
|
@@ -501,7 +501,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
501
501
|
"--credentials-file must contain a nonempty JSON object of string credential values."
|
|
502
502
|
);
|
|
503
503
|
}
|
|
504
|
-
const result = await new (0,
|
|
504
|
+
const result = await new (0, _chunk7XXJJVSIjs.DeeplineClient)().setIntegrationCredentials(
|
|
505
505
|
provider,
|
|
506
506
|
credentials,
|
|
507
507
|
{ expectedConnectionId: options.expectedConnectionId, teamId }
|
|
@@ -530,7 +530,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
530
530
|
function connectTeamId(orgDefault) {
|
|
531
531
|
if (orgDefault) return null;
|
|
532
532
|
try {
|
|
533
|
-
return _nullishCoalesce(
|
|
533
|
+
return _nullishCoalesce(_chunkS33BN7GZjs.resolveConfig.call(void 0, ).workspace, () => ( null));
|
|
534
534
|
} catch (e2) {
|
|
535
535
|
return _optionalChain([process, 'access', _9 => _9.env, 'access', _10 => _10.DEEPLINE_WORKSPACE_ID, 'optionalAccess', _11 => _11.trim, 'call', _12 => _12()]) || null;
|
|
536
536
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
seedToolListScript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3DJMPID5.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addDescribeOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZHE5E2WJ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
describeLookupsFor,
|
|
9
9
|
describeName,
|
|
@@ -14,17 +14,17 @@ import {
|
|
|
14
14
|
} from "./chunk-SECFDB27.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ES3S6UXR.mjs";
|
|
18
18
|
import {
|
|
19
19
|
failureReportHeaders,
|
|
20
20
|
isFailureReportingDisabled,
|
|
21
21
|
printCommandEnvelope
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WW52ANX4.mjs";
|
|
23
23
|
import {
|
|
24
24
|
autoDetectBaseUrl,
|
|
25
25
|
resolveApiKeyForBaseUrl,
|
|
26
26
|
resolveCliDashboardOrgId
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4ANDW2OT.mjs";
|
|
28
28
|
|
|
29
29
|
// src/cli/commands/describe.ts
|
|
30
30
|
import { writeFileSync } from "fs";
|
|
@@ -10,7 +10,7 @@ var _chunkMOZDEYQCjs = require('./chunk-MOZDEYQC.js');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkISSYN3DJjs = require('./chunk-ISSYN3DJ.js');
|
|
14
14
|
|
|
15
15
|
// src/cli/describe-options.ts
|
|
16
16
|
function addDescribeOptions(command, options = {}) {
|
|
@@ -251,7 +251,7 @@ function projectRunDatasetCell(value) {
|
|
|
251
251
|
const logicalValue = parseSerializedDatasetValue(value);
|
|
252
252
|
if (logicalValue === null || logicalValue === void 0) return logicalValue;
|
|
253
253
|
if (typeof logicalValue === "object") {
|
|
254
|
-
return
|
|
254
|
+
return _chunkISSYN3DJjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
|
|
255
255
|
}
|
|
256
256
|
return logicalValue;
|
|
257
257
|
}
|
|
@@ -643,7 +643,7 @@ function csvText(rows, columns = []) {
|
|
|
643
643
|
rows: rows.map((row) => record(row) ? row : { value: row }),
|
|
644
644
|
columns
|
|
645
645
|
});
|
|
646
|
-
return
|
|
646
|
+
return _chunkISSYN3DJjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
|
|
647
647
|
}
|
|
648
648
|
function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
|
|
649
649
|
let temp;
|
|
@@ -772,7 +772,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
|
|
|
772
772
|
};
|
|
773
773
|
if (options.receiptOut && !skipReceiptFile) {
|
|
774
774
|
persist(options.receiptOut, jsonText(receipt));
|
|
775
|
-
|
|
775
|
+
_chunkISSYN3DJjs.markJsonOutputHandled.call(void 0, );
|
|
776
776
|
} else {
|
|
777
777
|
printReceipt(receipt, options, {
|
|
778
778
|
data: hasData ? result.data : void 0,
|
|
@@ -944,7 +944,7 @@ function receiptText(receipt, options, extra) {
|
|
|
944
944
|
problems.push(
|
|
945
945
|
`Error: ${record(error) && typeof error.message === "string" ? error.message : JSON.stringify(error)}`
|
|
946
946
|
);
|
|
947
|
-
const diagnostic =
|
|
947
|
+
const diagnostic = _chunkISSYN3DJjs.formatCliFailureDiagnostic.call(void 0, error);
|
|
948
948
|
if (diagnostic) problems.push(...diagnostic.split("\n"));
|
|
949
949
|
if (record(error) && typeof error.recoveryFile === "string") {
|
|
950
950
|
problems.push(
|
|
@@ -1037,8 +1037,8 @@ function printReceipt(receipt, options, extra) {
|
|
|
1037
1037
|
const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
|
|
1038
1038
|
` : receiptText(receipt, options, extra);
|
|
1039
1039
|
if (options.receiptOut !== void 0) {
|
|
1040
|
-
|
|
1041
|
-
|
|
1040
|
+
_chunkISSYN3DJjs.writeRawStderr.call(void 0, text);
|
|
1041
|
+
_chunkISSYN3DJjs.markJsonOutputHandled.call(void 0, );
|
|
1042
1042
|
} else {
|
|
1043
1043
|
(dataOnStdout(options) ? process.stderr : process.stdout).write(text);
|
|
1044
1044
|
}
|
package/dist/cli/command-docs.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkVYERVFGBjs = require('./chunk-VYERVFGB.js');
|
|
11
11
|
require('./chunk-TJCENACZ.js');
|
|
12
12
|
require('./chunk-EP3GZAHK.js');
|
|
13
13
|
require('./chunk-2M3VVGMZ.js');
|
|
@@ -21,4 +21,4 @@ require('./chunk-COGTRVWW.js');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
exports.CLI_DOC_SURFACE =
|
|
24
|
+
exports.CLI_DOC_SURFACE = _chunkVYERVFGBjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkVYERVFGBjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkVYERVFGBjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkVYERVFGBjs.commandDocKey; exports.helpDetailFromArgv = _chunkVYERVFGBjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkVYERVFGBjs.renderActionExplanation; exports.renderCommandExplanation = _chunkVYERVFGBjs.renderCommandExplanation; exports.renderDocText = _chunkVYERVFGBjs.renderDocText;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunk7ZCD7OPOjs = require('./chunk-7ZCD7OPO.js');
|
|
6
|
+
require('./chunk-QKRDAJ3T.js');
|
|
7
|
+
require('./chunk-TJCENACZ.js');
|
|
8
|
+
require('./chunk-ISSYN3DJ.js');
|
|
9
|
+
require('./chunk-S33BN7GZ.js');
|
|
10
|
+
require('./chunk-4BSCSQ6I.js');
|
|
11
|
+
require('./chunk-6VLFQZK6.js');
|
|
12
|
+
require('./chunk-XNYIZMNQ.js');
|
|
13
|
+
require('./chunk-LFQJW4S2.js');
|
|
14
|
+
require('./chunk-CFJFUVX2.js');
|
|
15
|
+
require('./chunk-3ET6NRXP.js');
|
|
16
|
+
require('./chunk-OG64RBAC.js');
|
|
17
|
+
require('./chunk-COGTRVWW.js');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
exports.CONCURRENT_RUNS_HELP_COMMANDS = _chunk7ZCD7OPOjs.CONCURRENT_RUNS_HELP_COMMANDS; exports.concurrentRunsHelpStatus = _chunk7ZCD7OPOjs.concurrentRunsHelpStatus; exports.concurrentRunsLine = _chunk7ZCD7OPOjs.concurrentRunsLine;
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
CONCURRENT_RUNS_HELP_COMMANDS,
|
|
3
3
|
concurrentRunsHelpStatus,
|
|
4
4
|
concurrentRunsLine
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-4UEXAMDU.mjs";
|
|
6
|
+
import "./chunk-GLYWRTEL.mjs";
|
|
7
7
|
import "./chunk-HECXJBED.mjs";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-WW52ANX4.mjs";
|
|
9
|
+
import "./chunk-4ANDW2OT.mjs";
|
|
10
|
+
import "./chunk-HNTIGYRT.mjs";
|
|
11
11
|
import "./chunk-ASB47RXJ.mjs";
|
|
12
12
|
import "./chunk-DLIRSHV6.mjs";
|
|
13
13
|
import "./chunk-Z3A2S3QM.mjs";
|
|
14
14
|
import "./chunk-2MGZAI54.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-KMLACXI2.mjs";
|
|
16
16
|
import "./chunk-WZYKRD7T.mjs";
|
|
17
17
|
import "./chunk-KRD6H754.mjs";
|
|
18
18
|
export {
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
printCommandEnvelope,
|
|
5
5
|
printJson,
|
|
6
6
|
readCsvRows
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-WW52ANX4.mjs";
|
|
8
|
+
import "./chunk-4ANDW2OT.mjs";
|
|
9
|
+
import "./chunk-HNTIGYRT.mjs";
|
|
10
10
|
import "./chunk-ASB47RXJ.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
12
|
import "./chunk-Z3A2S3QM.mjs";
|
|
13
13
|
import "./chunk-2MGZAI54.mjs";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-KMLACXI2.mjs";
|
|
15
15
|
import "./chunk-WZYKRD7T.mjs";
|
|
16
16
|
import "./chunk-KRD6H754.mjs";
|
|
17
17
|
|