deepline 0.3.546 → 0.3.548
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 +13 -0
- package/dist/bundling-sources/sdk/src/index.ts +7 -1
- package/dist/bundling-sources/sdk/src/integrations.ts +17 -7
- package/dist/bundling-sources/sdk/src/play.ts +71 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +13 -4
- package/dist/bundling-sources/sdk/src/types.ts +33 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/calendar-delegation.ts +7 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +2 -0
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +1 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +19 -1
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +17 -2
- package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +57 -5
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +295 -52
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +10 -1
- package/dist/bundling-sources/shared_libs/play-runtime/docflow-decision-tracker.ts +135 -0
- package/dist/bundling-sources/shared_libs/play-runtime/docflow-fail-open.ts +177 -0
- package/dist/bundling-sources/shared_libs/play-runtime/docflow-node-io.ts +99 -2
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +16 -10
- package/dist/bundling-sources/shared_libs/play-runtime/fenced-call-diagnostics.ts +211 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-capacity-policy.ts +52 -14
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +68 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +68 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +100 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +9 -1
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +48 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +6 -1
- package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +716 -51
- package/dist/bundling-sources/shared_libs/plays/docflow-decision-arms.ts +146 -0
- package/dist/bundling-sources/shared_libs/plays/docflow-flow-order.ts +94 -0
- package/dist/bundling-sources/shared_libs/plays/docflow-unreached-reason.ts +10 -1
- package/dist/bundling-sources/shared_libs/plays/docflow.ts +787 -117
- package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +8 -2
- package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +6 -0
- package/dist/bundling-sources/shared_libs/plays/trigger-config-contract.ts +13 -0
- package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +25 -0
- package/dist/bundling-sources/shared_libs/security/email-blacklist.ts +3 -0
- package/dist/bundling-sources/shared_libs/security/email-domain.ts +24 -0
- package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +56 -0
- package/dist/cli/auth-7UJFY5BY.js +43 -0
- package/dist/cli/{auth-KFWG72AZ.mjs → auth-YOOVLLUL.mjs} +5 -5
- package/dist/cli/{billing-MMZ336HO.mjs → billing-2NCNX6L2.mjs} +10 -10
- package/dist/cli/{billing-OQVOAZ4S.js → billing-HETIOUD6.js} +96 -96
- package/dist/cli/{chunk-JVOUQFHT.js → chunk-2OG2KBYJ.js} +1 -1
- package/dist/cli/{chunk-JA633HRV.mjs → chunk-3QRU6RY7.mjs} +3 -3
- package/dist/cli/{chunk-TI6DTURF.js → chunk-4WAM6TLD.js} +7 -1
- package/dist/cli/{chunk-RO66FPTS.mjs → chunk-53QLWPZK.mjs} +1 -1
- package/dist/cli/{chunk-6LG7MLJ2.js → chunk-5OJOFUMO.js} +44 -44
- package/dist/cli/{chunk-F2VEFMU5.js → chunk-5XFJBIQT.js} +13 -13
- package/dist/cli/{chunk-UQJBV5PM.js → chunk-5XXPP3PR.js} +10 -10
- package/dist/cli/{chunk-6FBDTYR2.mjs → chunk-64BFUBXX.mjs} +2 -2
- package/dist/cli/{chunk-VAT2SXFF.js → chunk-6GIZNOXQ.js} +12 -12
- package/dist/cli/{chunk-7MY7KWJS.mjs → chunk-7AJ5V3BK.mjs} +1 -1
- package/dist/cli/{chunk-MEGHIX4M.js → chunk-7H6TQ6W2.js} +5 -5
- package/dist/cli/{chunk-PMDHY2YK.js → chunk-7JIOJLTS.js} +7 -7
- package/dist/cli/{chunk-EEJHB76U.js → chunk-7UJZWI5Z.js} +12 -12
- package/dist/cli/{chunk-X5KOHDJN.mjs → chunk-ATTURFOV.mjs} +1 -1
- package/dist/cli/{chunk-SH32HL7I.js → chunk-AUYBBFPT.js} +53 -53
- package/dist/cli/{chunk-JCWNF44W.js → chunk-BDBEEV6X.js} +22 -22
- package/dist/cli/{chunk-WKHPLBJK.js → chunk-BWJZ4NQJ.js} +15 -15
- package/dist/cli/{chunk-2JHYYB3F.js → chunk-CSPHSNBW.js} +3 -3
- package/dist/cli/{chunk-4AZLGNXV.js → chunk-CXZLHBNK.js} +4 -4
- package/dist/cli/{chunk-J65HJCJO.mjs → chunk-F4ON5COB.mjs} +2 -2
- package/dist/cli/{chunk-KUK7ARXA.mjs → chunk-FMQA7UZZ.mjs} +2 -2
- package/dist/cli/{chunk-UREAIHUU.mjs → chunk-FUUYWEF4.mjs} +3 -3
- package/dist/cli/{chunk-HXIR3VQL.mjs → chunk-FZHMNK6F.mjs} +7 -1
- package/dist/cli/{chunk-PU3ZAG6V.mjs → chunk-GCEGQ7TQ.mjs} +1 -1
- package/dist/cli/{chunk-BLYW6FFB.js → chunk-GJA2PRHJ.js} +2 -2
- package/dist/cli/{chunk-TBWYZOSV.js → chunk-GUIYFOG2.js} +3 -3
- package/dist/cli/{chunk-BTFUAGHC.js → chunk-HDLMX7SG.js} +16 -16
- package/dist/cli/{chunk-VTK3HGMN.mjs → chunk-HIMZ57QD.mjs} +5 -5
- package/dist/cli/{chunk-JYG4XZLT.js → chunk-HTZIJORU.js} +99 -99
- package/dist/cli/{chunk-VPERQ3U6.mjs → chunk-HU3DDLGD.mjs} +5 -5
- package/dist/cli/{chunk-H7Q5IDO3.js → chunk-I2JIWKCQ.js} +20 -20
- package/dist/cli/{chunk-MXQP7CXZ.js → chunk-IIWXBRDK.js} +3 -3
- package/dist/cli/{chunk-MI7X6V6V.mjs → chunk-IQBXX54G.mjs} +3 -3
- package/dist/cli/{chunk-SYTWWVIQ.js → chunk-JQWX377P.js} +5 -5
- package/dist/cli/{chunk-Z3UEBFIN.js → chunk-LAVPP6WD.js} +41 -41
- package/dist/cli/{chunk-JCH4UNNS.js → chunk-M2OZORIH.js} +2 -2
- package/dist/cli/{chunk-Z7SXGOIQ.mjs → chunk-MF7PCM6C.mjs} +1 -1
- package/dist/cli/{chunk-7ZW67ME6.mjs → chunk-MQSKSISW.mjs} +1 -1
- package/dist/cli/{chunk-JARZ47OP.mjs → chunk-MWQ4WWZF.mjs} +2 -2
- package/dist/cli/{chunk-EEG46QZY.mjs → chunk-NFMX7BRF.mjs} +2 -2
- package/dist/cli/{chunk-VXTTAYOT.mjs → chunk-OGDQFVCP.mjs} +3 -3
- package/dist/cli/{chunk-3DUNNZB6.mjs → chunk-OQCYSLML.mjs} +4 -4
- package/dist/cli/{chunk-5W4ENHWM.js → chunk-PVE3A2BO.js} +285 -264
- package/dist/cli/{chunk-F5YQXCP3.js → chunk-PVQCX6KQ.js} +50 -7
- package/dist/cli/{chunk-GYTSDSQD.mjs → chunk-QQBRXMZM.mjs} +11 -11
- package/dist/cli/{chunk-6Y5TU3R7.mjs → chunk-QZ74ZC55.mjs} +1 -1
- package/dist/cli/{chunk-5OEFXAKP.mjs → chunk-RMCCB3XY.mjs} +50 -7
- package/dist/cli/{chunk-5V7NZKGG.js → chunk-T3RDWG5J.js} +2 -2
- package/dist/cli/{chunk-OAKWSLKS.mjs → chunk-TKGFHRHE.mjs} +28 -7
- package/dist/cli/{chunk-HJR2DDJS.mjs → chunk-U35ZLVBA.mjs} +2 -2
- package/dist/cli/{chunk-ND7SFRQL.js → chunk-U7HJXE6Y.js} +2 -2
- package/dist/cli/{chunk-LX2TC3HO.mjs → chunk-UBQQR56I.mjs} +4 -4
- package/dist/cli/{chunk-5VNQMVCU.js → chunk-VK2GSTRN.js} +26 -26
- package/dist/cli/{chunk-K2XELBPF.mjs → chunk-VSACOMIA.mjs} +5 -5
- package/dist/cli/{chunk-IVWU7SJC.js → chunk-WI4MCR7M.js} +5 -5
- package/dist/cli/{chunk-LIJKRDDG.js → chunk-WIHQAZPV.js} +6 -6
- package/dist/cli/{chunk-LHE2TSV6.mjs → chunk-WVZF4DU7.mjs} +1 -1
- package/dist/cli/{chunk-2HSZCQMT.mjs → chunk-WYT3H6JD.mjs} +1 -1
- package/dist/cli/{chunk-GOOF7E2B.mjs → chunk-XKEBQVCP.mjs} +5 -5
- package/dist/cli/{chunk-P7A3H6G5.mjs → chunk-XU3D2KFR.mjs} +1 -1
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/concurrent-runs-help-A2IQVZRJ.js +21 -0
- package/dist/cli/{concurrent-runs-help-C2O5YKQA.mjs → concurrent-runs-help-FDCCZ45D.mjs} +6 -6
- package/dist/cli/{csv-Z4DNGR54.mjs → csv-GJYLQ52D.mjs} +4 -4
- package/dist/cli/{csv-MJDNOIQJ.js → csv-OCEQWZO3.js} +13 -13
- package/dist/cli/{db-4RL2BNOF.mjs → db-5MA2UUHQ.mjs} +7 -7
- package/dist/cli/{db-S5QVPK5E.js → db-G5QGXFAX.js} +28 -28
- package/dist/cli/{describe-L4P5SZLQ.mjs → describe-4DOJ4DHA.mjs} +19 -19
- package/dist/cli/describe-SD7DRTBW.js +50 -0
- package/dist/cli/describe-core.d.mts +4 -4
- package/dist/cli/describe-core.d.ts +4 -4
- package/dist/cli/{executions-RR6O3XK5.mjs → executions-C7SMBHHB.mjs} +7 -7
- package/dist/cli/{executions-MFZ2Z36O.js → executions-IYEVUPJI.js} +9 -9
- package/dist/cli/{feedback-YDAG7VH2.js → feedback-GYAF46GA.js} +14 -14
- package/dist/cli/{feedback-EQBQ3ABB.mjs → feedback-XUU2UKM6.mjs} +6 -6
- package/dist/cli/git-7YYVMY6L.js +25 -0
- package/dist/cli/{git-YGLCCU35.mjs → git-WVCMK5AH.mjs} +5 -5
- package/dist/cli/index.js +146 -146
- package/dist/cli/index.mjs +45 -45
- package/dist/cli/{integrations-FWYXSBHK.mjs → integrations-FXADGAX2.mjs} +11 -9
- package/dist/cli/{integrations-IQXYMRMW.js → integrations-YYBJJFVX.js} +19 -17
- package/dist/cli/{legacy-noops-I4YRIX5F.mjs → legacy-noops-LJY7LDUE.mjs} +6 -6
- package/dist/cli/{legacy-noops-U7LI7UXC.js → legacy-noops-REZCYES2.js} +9 -9
- package/dist/cli/{mcp-GX2UKKWU.js → mcp-L5PURE5S.js} +24 -24
- package/dist/cli/{mcp-QJBMB6VS.mjs → mcp-XSB3ZJFR.mjs} +4 -4
- package/dist/cli/{monitors-WCJYINGX.js → monitors-I5EIHSGV.js} +119 -101
- package/dist/cli/{monitors-Z6EGKYJP.mjs → monitors-UBPF2OLO.mjs} +26 -8
- package/dist/cli/{org-NNHICBR2.mjs → org-PHHIN2ER.mjs} +7 -7
- package/dist/cli/{org-7SKG423N.js → org-SGSTGGUD.js} +89 -89
- package/dist/cli/{play-CXDFPJ7Z.mjs → play-LEJNJLWY.mjs} +295 -67
- package/dist/cli/{play-4P4DTG3Q.js → play-WQEKMANL.js} +897 -669
- package/dist/cli/{providers-VQLQ7DTR.mjs → providers-3W26ZDAV.mjs} +7 -7
- package/dist/cli/{providers-EE4TUE3O.js → providers-RSDXBXIS.js} +10 -10
- package/dist/cli/{quickstart-IYNJRB5G.mjs → quickstart-LGJD2M36.mjs} +4 -4
- package/dist/cli/{quickstart-RVXHK4WA.js → quickstart-U3QX4EMI.js} +6 -6
- package/dist/cli/{run-R3F34KU3.js → run-F2UPZUJS.js} +45 -45
- package/dist/cli/{run-VBQPPMEX.mjs → run-YWZ3W5HK.mjs} +25 -25
- package/dist/cli/search-K6ANAXLF.js +32 -0
- package/dist/cli/{search-B7R62HX5.mjs → search-O2OJH3PY.mjs} +8 -8
- package/dist/cli/{search-output-LNQQXIGZ.mjs → search-output-H5BF6SJ3.mjs} +4 -4
- package/dist/cli/{search-output-LWHWEPOT.js → search-output-W7OCBYBU.js} +6 -6
- package/dist/cli/{secrets-NM3VAJLO.mjs → secrets-65XCAA7U.mjs} +7 -7
- package/dist/cli/{secrets-QBOZ7WTD.js → secrets-BN4GYVRI.js} +16 -16
- package/dist/cli/sessions-M52QWLA6.js +22 -0
- package/dist/cli/{sessions-R5BSIJ4I.mjs → sessions-SVEVESCQ.mjs} +6 -6
- package/dist/cli/{settings-POYWKNRD.js → settings-7YMDAFCN.js} +86 -86
- package/dist/cli/{settings-S4PN7WLY.mjs → settings-HAU2NP2H.mjs} +13 -13
- package/dist/cli/{setup-PFLXVBTL.mjs → setup-5RXHZ6YI.mjs} +9 -9
- package/dist/cli/{setup-VHB4Z654.js → setup-G37QXQGM.js} +49 -49
- package/dist/cli/{skills-W2TELEU7.mjs → skills-Q7A3XFAU.mjs} +7 -7
- package/dist/cli/skills-ZK4D5BJW.js +36 -0
- package/dist/cli/tools-DBZTLYFM.js +57 -0
- package/dist/cli/{tools-M4FA6N3Y.mjs → tools-ZG4NYRGB.mjs} +18 -18
- package/dist/cli/{update-W7LIHEA7.mjs → update-2CMZTZCL.mjs} +9 -9
- package/dist/cli/update-LC5HGEEH.js +34 -0
- package/dist/cli/{views-KTVPV6UP.mjs → views-A6IIY4OQ.mjs} +7 -7
- package/dist/cli/{views-DJXAGD7V.js → views-XUMDMDIE.js} +22 -22
- package/dist/cli/{workflow-NVZDJKH2.js → workflow-4EEW6MCD.js} +18 -18
- package/dist/cli/{workflow-LGKCRODX.mjs → workflow-74MYISHU.mjs} +8 -8
- package/dist/{client-Tp1LSULB.d.mts → client-D1uWA2Vc.d.mts} +1 -1
- package/dist/{client-CCyWJqAI.d.ts → client-Hz7SsBXs.d.ts} +1 -1
- package/dist/{client-core-BpYiYEfu.d.ts → client-core-D3Ad7Flt.d.ts} +554 -504
- package/dist/{client-core-D8eCZz3O.d.mts → client-core-Db_e63Hb.d.mts} +554 -504
- package/dist/{compiler-manifest-EBWEUj0b.d.ts → compiler-manifest-BqwVrOri.d.mts} +38 -18
- package/dist/{compiler-manifest-EBWEUj0b.d.mts → compiler-manifest-BqwVrOri.d.ts} +38 -18
- package/dist/{errors-CParKUQR.d.mts → errors-BU8FB99X.d.mts} +1 -1
- package/dist/{errors-Qt0OTA7_.d.ts → errors-DfVN_FUG.d.ts} +1 -1
- package/dist/{index-CoqDkIw0.d.ts → index-BGnvtYGc.d.ts} +6 -1
- package/dist/{index-BMUVCNp7.d.mts → index-DjZgwpGw.d.mts} +6 -1
- package/dist/index.d.mts +28 -8
- package/dist/index.d.ts +28 -8
- package/dist/index.js +64 -39
- package/dist/index.mjs +32 -7
- package/dist/install-integrity.json +133 -128
- 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 +620 -124
- package/dist/plays/play-description.d.mts +3 -3
- package/dist/plays/play-description.d.ts +3 -3
- 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 +6 -6
- package/dist/server.mjs +4 -4
- package/package.json +1 -1
- package/dist/cli/auth-W32GMYND.js +0 -43
- package/dist/cli/concurrent-runs-help-6QT7ZR4W.js +0 -21
- package/dist/cli/describe-VLU2LUDJ.js +0 -50
- package/dist/cli/git-E6W44F5M.js +0 -25
- package/dist/cli/search-UUVFXZRA.js +0 -32
- package/dist/cli/sessions-K3PD73Q2.js +0 -22
- package/dist/cli/skills-QNE2EYT3.js +0 -36
- package/dist/cli/tools-3RLI4HGF.js +0 -57
- package/dist/cli/update-UT6KIW2W.js +0 -34
|
@@ -647,6 +647,7 @@ Cost: Does not spend credits.`,
|
|
|
647
647
|
core: `Purpose: Reauthorize an existing named workspace connection.
|
|
648
648
|
Input: the exact name from list; --provider disambiguates repeated names.
|
|
649
649
|
Google Workspace approvals also require --verification-email in that domain.
|
|
650
|
+
After Google Admin approves the scope, use --list-calendars to verify calendar listing.
|
|
650
651
|
Output: OAuth URL requiring browser consent, or the Google approval verification result.
|
|
651
652
|
Uses the current stored ID and revision; stale changes fail. --dry-run reads
|
|
652
653
|
current state and prints the planned change without OAuth, Google calls, or writes.
|
|
@@ -678,6 +679,7 @@ Input: the approved domain and --verification-email for a user in that domain.
|
|
|
678
679
|
Complete the Google Admin approval in the dashboard setup wizard first.
|
|
679
680
|
Use --booking after approving calendar.events.owned to enable meetings on the
|
|
680
681
|
organizer's primary calendar. The Play supplies organizerEmail and attendees.
|
|
682
|
+
Use --list-calendars after approving calendar.calendarlist.readonly to list calendars in that Google Workspace. Existing scopes are included in verification.
|
|
681
683
|
The CLI reads the current revision, verifies the requested Google scopes, and saves
|
|
682
684
|
the approval. Repeating verification refreshes the existing domain approval.
|
|
683
685
|
Output: enabled or validation_failed, revision and provider readiness evidence.
|
|
@@ -1183,8 +1185,10 @@ Authoring rules:
|
|
|
1183
1185
|
Name the list when the tool declares several: result.rows('people').
|
|
1184
1186
|
Reuse before rebuilding: deepline.runPlay(key, 'prebuilt/<name>', input,
|
|
1185
1187
|
{ description }) runs a
|
|
1186
|
-
prebuilt as one stage.
|
|
1187
|
-
|
|
1188
|
+
prebuilt as one stage. The reference may also be a workspace play name or
|
|
1189
|
+
an imported play (import child from './child.play'), which runs inline.
|
|
1190
|
+
Independent calls run together with Promise.all; a call that needs
|
|
1191
|
+
another's result waits for it.
|
|
1188
1192
|
Retries: a call whose provider keeps failing (an outage, a 5xx other than
|
|
1189
1193
|
a 504 timeout, a 429 past its pacing, a refusal for credits outside a
|
|
1190
1194
|
map) is retried on a durable timer under
|
|
@@ -1229,9 +1233,38 @@ Authoring rules:
|
|
|
1229
1233
|
whether it was validated, the outcome, the reason) and keep evidence
|
|
1230
1234
|
under _dl_meta, including result._metadata.execution.receiptKey. Unknown
|
|
1231
1235
|
stays null, not false.
|
|
1232
|
-
Diagram: a /** @mermaid */
|
|
1233
|
-
dashboard
|
|
1234
|
-
|
|
1236
|
+
Diagram: a /** @mermaid */ flowchart at the top of the play draws it in
|
|
1237
|
+
the dashboard. Bind a box with // @mermaid-node <id> key:"value" ... on
|
|
1238
|
+
the line above its statement:
|
|
1239
|
+
in:"a,input.b,col" what the statement reads.
|
|
1240
|
+
out:"x" the variable it declares, the column its withColumn
|
|
1241
|
+
adds, or $output for the return.
|
|
1242
|
+
type:"decision|dataset|play" when the box is one (id{\u2026} is a
|
|
1243
|
+
decision; a double-bracket box is a child play,
|
|
1244
|
+
including an imported one). A deepline.csv or
|
|
1245
|
+
deepline.dataset statement is type:"dataset".
|
|
1246
|
+
arm:"run|else" this box is that side of a per-row runIf column:
|
|
1247
|
+
.withColumn('t1', { run, runIf: (row) => row.hot })
|
|
1248
|
+
label:"\u2026" overrides the drawn label.
|
|
1249
|
+
show:"a,b.c" the fields a reader sees for an object value;
|
|
1250
|
+
without it, the first field and a field count.
|
|
1251
|
+
%% @input show:"\u2026" inside the block names the input fields Start shows.
|
|
1252
|
+
A decision binds the value its if reads and draws one labeled edge per
|
|
1253
|
+
outcome (work -->|Personal| reject), including else and review. Bind a
|
|
1254
|
+
const inside each branch so the run records its arm. A subgraph is a
|
|
1255
|
+
phase: put each decision inside the subgraph holding its arms and label
|
|
1256
|
+
every edge leaving it. class <ids> sketch marks boxes no statement runs:
|
|
1257
|
+
the event that starts a play, never a step it takes.
|
|
1258
|
+
Warnings: a sketched step, a box without in: or out:, an object without
|
|
1259
|
+
show:, a title over 48 characters, over 8 arms on one decision, or over
|
|
1260
|
+
12 boxes in one view (a folded subgraph counts as one box).
|
|
1261
|
+
Diagram problems never block check, publish or run: what does not
|
|
1262
|
+
resolve is left off the drawing, and an unreadable block is not drawn.
|
|
1263
|
+
Quote labels with brackets, parentheses or pipes: id["Label (x)"].
|
|
1264
|
+
[[cli:plays check <file>]][[mcp:deepline_check_play]] judges it: each
|
|
1265
|
+
warning names the box, its line and the fix to paste. Make it clean, not
|
|
1266
|
+
only valid.[[cli: runs list --play <name> --steps --json shows each
|
|
1267
|
+
run's visited boxes and decision arms.]]
|
|
1235
1268
|
`
|
|
1236
1269
|
},
|
|
1237
1270
|
"plays grep": {
|
|
@@ -1425,13 +1458,17 @@ When:
|
|
|
1425
1458
|
every time.
|
|
1426
1459
|
[[cli:
|
|
1427
1460
|
Input:
|
|
1428
|
-
A local path ending in .play.ts, or a play reference. --
|
|
1461
|
+
A local path ending in .play.ts, or a play reference. --full adds the
|
|
1462
|
+
diagnostics (static pipeline and diagram); --json prints JSON.
|
|
1429
1463
|
]]
|
|
1430
1464
|
[[cli:
|
|
1431
1465
|
Output (JSON):
|
|
1432
1466
|
valid (boolean), target, name, reference, inputSchema, outputSchema,
|
|
1433
1467
|
runtimeLimit, note, and for local files any errors or warnings with the
|
|
1434
|
-
repair steps.
|
|
1468
|
+
repair steps. A diagram issue adds node, line and fix (one line to paste);
|
|
1469
|
+
diagram counts its boxes, bound, sketched, errors and warnings. Text output
|
|
1470
|
+
lists diagram issues by box in flow order and ends with the verdict, e.g.
|
|
1471
|
+
Diagram: 11 boxes, all bound \xB7 2 warnings.
|
|
1435
1472
|
]]
|
|
1436
1473
|
Cost:
|
|
1437
1474
|
Free.
|
|
@@ -1898,12 +1935,18 @@ When:
|
|
|
1898
1935
|
Input:
|
|
1899
1936
|
--play <ref> and/or --status <queued|running|completed|failed|stopped>
|
|
1900
1937
|
(at least one). --limit, --offset (with --play), --compact, --json.
|
|
1938
|
+
--steps (with --play, at most 50 runs per page): what each run did at
|
|
1939
|
+
every diagram step.
|
|
1901
1940
|
]]
|
|
1902
1941
|
[[cli:
|
|
1903
1942
|
Output (JSON):
|
|
1904
1943
|
runs[] {id, status, playName, createdAtIso, startedAtIso, finishedAtIso,
|
|
1905
1944
|
billingTotalCredits}, count, total, has_more, next, render.sections (one
|
|
1906
1945
|
line per run: id, status, start time, credits).
|
|
1946
|
+
With --steps: runs[].steps[] {nodeId, status, label, arm, error} for each
|
|
1947
|
+
reached step (unreached steps are absent; label/arm at most 80 characters,
|
|
1948
|
+
error at most 160), and stepNodes[] {id, label, kind, regionId,
|
|
1949
|
+
regionLabel} in flow order.
|
|
1907
1950
|
]]
|
|
1908
1951
|
Cost:
|
|
1909
1952
|
Free.
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
addDescribeOptions,
|
|
3
3
|
recordApiResponse,
|
|
4
4
|
writeExecutionOutput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MQSKSISW.mjs";
|
|
6
6
|
import {
|
|
7
7
|
registerIntegrationBalanceCommand,
|
|
8
8
|
registerIntegrationConnectCommand,
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
registerLegacyHubSpotMembersCommand,
|
|
12
12
|
registerLegacyWorkspaceConnectionCommand,
|
|
13
13
|
registerWorkspaceConnectionListCommand
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-F4ON5COB.mjs";
|
|
15
15
|
import {
|
|
16
16
|
recentSearchRef,
|
|
17
17
|
registerDeprecatedSearchCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UBQQR56I.mjs";
|
|
19
19
|
import {
|
|
20
20
|
Capability,
|
|
21
21
|
arrayField,
|
|
@@ -55,10 +55,10 @@ import {
|
|
|
55
55
|
} from "./chunk-FIVKWNMT.mjs";
|
|
56
56
|
import {
|
|
57
57
|
DeeplineClient
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-U35ZLVBA.mjs";
|
|
59
59
|
import {
|
|
60
60
|
validateExecutionIdempotencyKey
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-TKGFHRHE.mjs";
|
|
62
62
|
import {
|
|
63
63
|
stableStringify
|
|
64
64
|
} from "./chunk-UBKA33KY.mjs";
|
|
@@ -68,18 +68,18 @@ import {
|
|
|
68
68
|
maybeAutoUpdateAndRelaunch,
|
|
69
69
|
registerCompatibilityCatalog,
|
|
70
70
|
runToolExecuteStage
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-HU3DDLGD.mjs";
|
|
72
72
|
import {
|
|
73
73
|
isCliTraceEnabled,
|
|
74
74
|
recordCliTrace,
|
|
75
75
|
resolveCliMaintenancePolicy
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-GCEGQ7TQ.mjs";
|
|
77
77
|
import {
|
|
78
78
|
checkSdkCompatibility,
|
|
79
79
|
enforceSdkCompatibilityResponse,
|
|
80
80
|
flushDeferredSkillsSyncNotices,
|
|
81
81
|
syncSdkSkillsIfNeeded
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-XKEBQVCP.mjs";
|
|
83
83
|
import {
|
|
84
84
|
errorToJsonPayload,
|
|
85
85
|
printCommandEnvelope,
|
|
@@ -88,12 +88,12 @@ import {
|
|
|
88
88
|
printJsonError,
|
|
89
89
|
renderCommandEnvelopeText,
|
|
90
90
|
shouldEmitJson
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-OGDQFVCP.mjs";
|
|
92
92
|
import {
|
|
93
93
|
readSdkSkillsLocalVersion,
|
|
94
94
|
resolveConfig,
|
|
95
95
|
sdkCliStateDirPath
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-QZ74ZC55.mjs";
|
|
97
97
|
import {
|
|
98
98
|
DeeplineError
|
|
99
99
|
} from "./chunk-JL2OTMSG.mjs";
|
|
@@ -977,7 +977,7 @@ Examples:
|
|
|
977
977
|
process.exitCode = await narrowView();
|
|
978
978
|
return;
|
|
979
979
|
}
|
|
980
|
-
const { describeAnything } = await import("./describe-
|
|
980
|
+
const { describeAnything } = await import("./describe-4DOJ4DHA.mjs");
|
|
981
981
|
process.exitCode = await describeAnything(
|
|
982
982
|
toolId,
|
|
983
983
|
{
|
|
@@ -647,6 +647,7 @@ Cost: Does not spend credits.`,
|
|
|
647
647
|
core: `Purpose: Reauthorize an existing named workspace connection.
|
|
648
648
|
Input: the exact name from list; --provider disambiguates repeated names.
|
|
649
649
|
Google Workspace approvals also require --verification-email in that domain.
|
|
650
|
+
After Google Admin approves the scope, use --list-calendars to verify calendar listing.
|
|
650
651
|
Output: OAuth URL requiring browser consent, or the Google approval verification result.
|
|
651
652
|
Uses the current stored ID and revision; stale changes fail. --dry-run reads
|
|
652
653
|
current state and prints the planned change without OAuth, Google calls, or writes.
|
|
@@ -678,6 +679,7 @@ Input: the approved domain and --verification-email for a user in that domain.
|
|
|
678
679
|
Complete the Google Admin approval in the dashboard setup wizard first.
|
|
679
680
|
Use --booking after approving calendar.events.owned to enable meetings on the
|
|
680
681
|
organizer's primary calendar. The Play supplies organizerEmail and attendees.
|
|
682
|
+
Use --list-calendars after approving calendar.calendarlist.readonly to list calendars in that Google Workspace. Existing scopes are included in verification.
|
|
681
683
|
The CLI reads the current revision, verifies the requested Google scopes, and saves
|
|
682
684
|
the approval. Repeating verification refreshes the existing domain approval.
|
|
683
685
|
Output: enabled or validation_failed, revision and provider readiness evidence.
|
|
@@ -1183,8 +1185,10 @@ Authoring rules:
|
|
|
1183
1185
|
Name the list when the tool declares several: result.rows('people').
|
|
1184
1186
|
Reuse before rebuilding: deepline.runPlay(key, 'prebuilt/<name>', input,
|
|
1185
1187
|
{ description }) runs a
|
|
1186
|
-
prebuilt as one stage.
|
|
1187
|
-
|
|
1188
|
+
prebuilt as one stage. The reference may also be a workspace play name or
|
|
1189
|
+
an imported play (import child from './child.play'), which runs inline.
|
|
1190
|
+
Independent calls run together with Promise.all; a call that needs
|
|
1191
|
+
another's result waits for it.
|
|
1188
1192
|
Retries: a call whose provider keeps failing (an outage, a 5xx other than
|
|
1189
1193
|
a 504 timeout, a 429 past its pacing, a refusal for credits outside a
|
|
1190
1194
|
map) is retried on a durable timer under
|
|
@@ -1229,9 +1233,38 @@ Authoring rules:
|
|
|
1229
1233
|
whether it was validated, the outcome, the reason) and keep evidence
|
|
1230
1234
|
under _dl_meta, including result._metadata.execution.receiptKey. Unknown
|
|
1231
1235
|
stays null, not false.
|
|
1232
|
-
Diagram: a /** @mermaid */
|
|
1233
|
-
dashboard
|
|
1234
|
-
|
|
1236
|
+
Diagram: a /** @mermaid */ flowchart at the top of the play draws it in
|
|
1237
|
+
the dashboard. Bind a box with // @mermaid-node <id> key:"value" ... on
|
|
1238
|
+
the line above its statement:
|
|
1239
|
+
in:"a,input.b,col" what the statement reads.
|
|
1240
|
+
out:"x" the variable it declares, the column its withColumn
|
|
1241
|
+
adds, or $output for the return.
|
|
1242
|
+
type:"decision|dataset|play" when the box is one (id{\u2026} is a
|
|
1243
|
+
decision; a double-bracket box is a child play,
|
|
1244
|
+
including an imported one). A deepline.csv or
|
|
1245
|
+
deepline.dataset statement is type:"dataset".
|
|
1246
|
+
arm:"run|else" this box is that side of a per-row runIf column:
|
|
1247
|
+
.withColumn('t1', { run, runIf: (row) => row.hot })
|
|
1248
|
+
label:"\u2026" overrides the drawn label.
|
|
1249
|
+
show:"a,b.c" the fields a reader sees for an object value;
|
|
1250
|
+
without it, the first field and a field count.
|
|
1251
|
+
%% @input show:"\u2026" inside the block names the input fields Start shows.
|
|
1252
|
+
A decision binds the value its if reads and draws one labeled edge per
|
|
1253
|
+
outcome (work -->|Personal| reject), including else and review. Bind a
|
|
1254
|
+
const inside each branch so the run records its arm. A subgraph is a
|
|
1255
|
+
phase: put each decision inside the subgraph holding its arms and label
|
|
1256
|
+
every edge leaving it. class <ids> sketch marks boxes no statement runs:
|
|
1257
|
+
the event that starts a play, never a step it takes.
|
|
1258
|
+
Warnings: a sketched step, a box without in: or out:, an object without
|
|
1259
|
+
show:, a title over 48 characters, over 8 arms on one decision, or over
|
|
1260
|
+
12 boxes in one view (a folded subgraph counts as one box).
|
|
1261
|
+
Diagram problems never block check, publish or run: what does not
|
|
1262
|
+
resolve is left off the drawing, and an unreadable block is not drawn.
|
|
1263
|
+
Quote labels with brackets, parentheses or pipes: id["Label (x)"].
|
|
1264
|
+
[[cli:plays check <file>]][[mcp:deepline_check_play]] judges it: each
|
|
1265
|
+
warning names the box, its line and the fix to paste. Make it clean, not
|
|
1266
|
+
only valid.[[cli: runs list --play <name> --steps --json shows each
|
|
1267
|
+
run's visited boxes and decision arms.]]
|
|
1235
1268
|
`
|
|
1236
1269
|
},
|
|
1237
1270
|
"plays grep": {
|
|
@@ -1425,13 +1458,17 @@ When:
|
|
|
1425
1458
|
every time.
|
|
1426
1459
|
[[cli:
|
|
1427
1460
|
Input:
|
|
1428
|
-
A local path ending in .play.ts, or a play reference. --
|
|
1461
|
+
A local path ending in .play.ts, or a play reference. --full adds the
|
|
1462
|
+
diagnostics (static pipeline and diagram); --json prints JSON.
|
|
1429
1463
|
]]
|
|
1430
1464
|
[[cli:
|
|
1431
1465
|
Output (JSON):
|
|
1432
1466
|
valid (boolean), target, name, reference, inputSchema, outputSchema,
|
|
1433
1467
|
runtimeLimit, note, and for local files any errors or warnings with the
|
|
1434
|
-
repair steps.
|
|
1468
|
+
repair steps. A diagram issue adds node, line and fix (one line to paste);
|
|
1469
|
+
diagram counts its boxes, bound, sketched, errors and warnings. Text output
|
|
1470
|
+
lists diagram issues by box in flow order and ends with the verdict, e.g.
|
|
1471
|
+
Diagram: 11 boxes, all bound \xB7 2 warnings.
|
|
1435
1472
|
]]
|
|
1436
1473
|
Cost:
|
|
1437
1474
|
Free.
|
|
@@ -1898,12 +1935,18 @@ When:
|
|
|
1898
1935
|
Input:
|
|
1899
1936
|
--play <ref> and/or --status <queued|running|completed|failed|stopped>
|
|
1900
1937
|
(at least one). --limit, --offset (with --play), --compact, --json.
|
|
1938
|
+
--steps (with --play, at most 50 runs per page): what each run did at
|
|
1939
|
+
every diagram step.
|
|
1901
1940
|
]]
|
|
1902
1941
|
[[cli:
|
|
1903
1942
|
Output (JSON):
|
|
1904
1943
|
runs[] {id, status, playName, createdAtIso, startedAtIso, finishedAtIso,
|
|
1905
1944
|
billingTotalCredits}, count, total, has_more, next, render.sections (one
|
|
1906
1945
|
line per run: id, status, start time, credits).
|
|
1946
|
+
With --steps: runs[].steps[] {nodeId, status, label, arm, error} for each
|
|
1947
|
+
reached step (unreached steps are absent; label/arm at most 80 characters,
|
|
1948
|
+
error at most 160), and stepNodes[] {id, label, kind, regionId,
|
|
1949
|
+
regionLabel} in flow order.
|
|
1907
1950
|
]]
|
|
1908
1951
|
Cost:
|
|
1909
1952
|
Free.
|
|
@@ -1,6 +1,6 @@
|
|
|
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 _chunkI2JIWKCQjs = require('./chunk-I2JIWKCQ.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/feedback-preferences.ts
|
|
6
6
|
|
|
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
|
|
|
57
57
|
const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
|
|
58
58
|
const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
|
|
59
59
|
if (options.json) {
|
|
60
|
-
|
|
60
|
+
_chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
|
|
61
61
|
{ ok: false, code, exitCode: 2, message },
|
|
62
62
|
{ json: true }
|
|
63
63
|
);
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
+
GOOGLE_WORKSPACE_AVAILABILITY_SCOPE,
|
|
2
3
|
GOOGLE_WORKSPACE_BOOKING_SCOPE,
|
|
3
|
-
|
|
4
|
+
GOOGLE_WORKSPACE_CALENDAR_LIST_SCOPE,
|
|
4
5
|
GOOGLE_WORKSPACE_DOMAIN_PATTERN,
|
|
5
6
|
PLAY_RUNTIME_BACKENDS,
|
|
6
7
|
RAW_V2_TOOL_RESPONSE_CONTRACT,
|
|
7
8
|
isToolConnectionName,
|
|
8
9
|
legacyRawFromToolResponseRawV2,
|
|
9
10
|
providerMetaFromToolResponseRawV2
|
|
10
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FZHMNK6F.mjs";
|
|
11
12
|
import {
|
|
12
13
|
CLI_PLAY_RUN_CALLER_INTENT_V2_START_STREAM_PATH,
|
|
13
14
|
CLI_PLAY_RUN_START_STREAM_PATH,
|
|
@@ -36,7 +37,7 @@ import {
|
|
|
36
37
|
RETAINED_PIPELINE_RECEIVERS_HEADER,
|
|
37
38
|
RUNTIME_ENVIRONMENT_TOKEN_HEADER,
|
|
38
39
|
SDK_API_MAJOR
|
|
39
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-53QLWPZK.mjs";
|
|
40
41
|
import {
|
|
41
42
|
CustomerDbQueryOutcomeUnknownError
|
|
42
43
|
} from "./chunk-NURW5XH4.mjs";
|
|
@@ -2444,6 +2445,8 @@ async function changeConnection(client, action, name, options) {
|
|
|
2444
2445
|
const row = await findConnection(client, name, options.provider);
|
|
2445
2446
|
if (options.booking && (action !== "reconnect" || row.type !== "workspace_delegation"))
|
|
2446
2447
|
invalid("Use --booking with Google Workspace verify or reconnect.");
|
|
2448
|
+
if (options.listCalendars && (action !== "reconnect" || row.type !== "workspace_delegation"))
|
|
2449
|
+
invalid("Use --list-calendars with Google Workspace verify or reconnect.");
|
|
2447
2450
|
if (row.type === "workspace_delegation") {
|
|
2448
2451
|
if (row.provider !== CALENDAR_PROVIDER || !row.domain)
|
|
2449
2452
|
invalid("The workspace approval is missing its provider or domain.");
|
|
@@ -2502,14 +2505,21 @@ async function verifyWorkspace(client, domain, options, existing) {
|
|
|
2502
2505
|
} : await client.getCalendarDelegation(void 0, void 0, domain);
|
|
2503
2506
|
if (settings.grantRevision === void 0)
|
|
2504
2507
|
invalid("The API did not return a workspace approval revision.");
|
|
2505
|
-
const requestedScopes =
|
|
2508
|
+
const requestedScopes = [
|
|
2509
|
+
.../* @__PURE__ */ new Set([
|
|
2510
|
+
GOOGLE_WORKSPACE_AVAILABILITY_SCOPE,
|
|
2511
|
+
...settings.grantedScopes ?? [],
|
|
2512
|
+
...options.booking ? [GOOGLE_WORKSPACE_BOOKING_SCOPE] : [],
|
|
2513
|
+
...options.listCalendars ? [GOOGLE_WORKSPACE_CALENDAR_LIST_SCOPE] : []
|
|
2514
|
+
])
|
|
2515
|
+
];
|
|
2506
2516
|
const change = {
|
|
2507
2517
|
action: "enable_workspace",
|
|
2508
2518
|
domain,
|
|
2509
2519
|
grantRevision: settings.grantRevision,
|
|
2510
2520
|
...settings.connectionId ? { connectionId: settings.connectionId } : {},
|
|
2511
2521
|
verificationEmail: email,
|
|
2512
|
-
...requestedScopes
|
|
2522
|
+
...requestedScopes.length > 1 ? { requestedScopes } : {}
|
|
2513
2523
|
};
|
|
2514
2524
|
if (options.dryRun) return change;
|
|
2515
2525
|
return client.changeCalendarDelegation(change);
|
|
@@ -3064,6 +3074,8 @@ function diffPlayRunStreamEvents(input) {
|
|
|
3064
3074
|
var RUN_WATCH_POLL_INTERVAL_MS = 2e3;
|
|
3065
3075
|
var RUN_WATCH_STARTUP_POLL_INTERVAL_MS = 300;
|
|
3066
3076
|
var RUN_WATCH_STARTUP_WINDOW_MS = 6e3;
|
|
3077
|
+
var RUN_WATCH_INTERACTIVE_POLL_INTERVAL_MS = 500;
|
|
3078
|
+
var RUN_WATCH_INTERACTIVE_WINDOW_MS = 3e4;
|
|
3067
3079
|
var RUN_WATCH_SERVER_WAIT_MS = 0;
|
|
3068
3080
|
var RUN_WATCH_SERVER_WAIT_FROM_START = false;
|
|
3069
3081
|
var TERMINAL_LOG_PROJECTION_RETRY_LIMIT = 3;
|
|
@@ -3163,9 +3175,11 @@ async function* watchRunEvents(options) {
|
|
|
3163
3175
|
while (!signal?.aborted) {
|
|
3164
3176
|
const pollStartedAt = Date.now();
|
|
3165
3177
|
const poll = ++pollCount;
|
|
3166
|
-
const
|
|
3178
|
+
const watchedMs = pollStartedAt - watchStartedAt;
|
|
3179
|
+
const pastStartup = watchedMs >= RUN_WATCH_STARTUP_WINDOW_MS;
|
|
3180
|
+
const pastInteractive = watchedMs >= RUN_WATCH_INTERACTIVE_WINDOW_MS;
|
|
3167
3181
|
const serverWaitMs = options.pollIntervalMs === void 0 && options.deferLogs && (pastStartup || RUN_WATCH_SERVER_WAIT_FROM_START) && RUN_WATCH_SERVER_WAIT_MS > 0 ? RUN_WATCH_SERVER_WAIT_MS : 0;
|
|
3168
|
-
const pollIntervalMs = options.pollIntervalMs ?? (serverWaitMs > 0 ? 0 :
|
|
3182
|
+
const pollIntervalMs = options.pollIntervalMs ?? (serverWaitMs > 0 ? 0 : pastInteractive ? RUN_WATCH_POLL_INTERVAL_MS : pastStartup ? RUN_WATCH_INTERACTIVE_POLL_INTERVAL_MS : RUN_WATCH_STARTUP_POLL_INTERVAL_MS);
|
|
3169
3183
|
let snapshot;
|
|
3170
3184
|
let terminalStatus;
|
|
3171
3185
|
let responseStatus;
|
|
@@ -5113,6 +5127,13 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
5113
5127
|
);
|
|
5114
5128
|
params.set("node", node);
|
|
5115
5129
|
}
|
|
5130
|
+
if (options.steps) {
|
|
5131
|
+
if (!playName)
|
|
5132
|
+
throw new Error("runs.list options.steps requires options.play.");
|
|
5133
|
+
if (node)
|
|
5134
|
+
throw new Error("runs.list options.steps cannot be combined with node.");
|
|
5135
|
+
params.set("steps", "true");
|
|
5136
|
+
}
|
|
5116
5137
|
if (typeof options.limit === "number" && Number.isFinite(options.limit)) {
|
|
5117
5138
|
params.set("limit", String(Math.max(1, Math.floor(options.limit))));
|
|
5118
5139
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TKGFHRHE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QZ74ZC55.mjs";
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
10
|
var DeeplineClient2 = class extends DeeplineClient {
|
|
@@ -1,6 +1,6 @@
|
|
|
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 _chunkI2JIWKCQjs = require('./chunk-I2JIWKCQ.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/maintenance-policy.ts
|
|
6
6
|
var _commander = require('commander');
|
|
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
|
|
|
33
33
|
sinceStartMs: now - cliTraceStartedAt,
|
|
34
34
|
...event
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
_chunkI2JIWKCQjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
|
|
37
37
|
`);
|
|
38
38
|
}
|
|
39
39
|
async function traceCliSpan(phase, fields, run) {
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk-5AEDYVB6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-U35ZLVBA.mjs";
|
|
7
7
|
import {
|
|
8
8
|
errorToJsonPayload,
|
|
9
9
|
printCommandEnvelope,
|
|
10
10
|
resolveSdkCliFailureExitCode
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OGDQFVCP.mjs";
|
|
12
12
|
import {
|
|
13
13
|
resolveConfig,
|
|
14
14
|
sdkCliStateDirPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QZ74ZC55.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-H5BF6SJ3.mjs");
|
|
138
138
|
const searches = [];
|
|
139
139
|
const chunks = [];
|
|
140
140
|
const refs = /* @__PURE__ */ new Map();
|