deepline 0.3.546 → 0.3.547
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 +21 -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 +11 -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/secret-redaction.ts +56 -0
- package/dist/cli/auth-AC5277PI.js +43 -0
- package/dist/cli/{auth-KFWG72AZ.mjs → auth-WJEY4IDX.mjs} +5 -5
- package/dist/cli/{billing-OQVOAZ4S.js → billing-IJITDDRQ.js} +96 -96
- package/dist/cli/{billing-MMZ336HO.mjs → billing-PHJUDYF3.mjs} +10 -10
- package/dist/cli/{chunk-TBWYZOSV.js → chunk-2AHY47SI.js} +3 -3
- package/dist/cli/{chunk-MXQP7CXZ.js → chunk-2HPTLBNB.js} +3 -3
- package/dist/cli/{chunk-TI6DTURF.js → chunk-4WAM6TLD.js} +7 -1
- package/dist/cli/{chunk-JARZ47OP.mjs → chunk-56MEAGWA.mjs} +2 -2
- package/dist/cli/{chunk-GYTSDSQD.mjs → chunk-5SFHPMBY.mjs} +11 -11
- package/dist/cli/{chunk-Z3UEBFIN.js → chunk-ABLTVG3J.js} +41 -41
- package/dist/cli/{chunk-LX2TC3HO.mjs → chunk-AEQ5VWZ5.mjs} +4 -4
- package/dist/cli/{chunk-MI7X6V6V.mjs → chunk-CKIRKYW7.mjs} +3 -3
- package/dist/cli/{chunk-2JHYYB3F.js → chunk-CSPHSNBW.js} +3 -3
- package/dist/cli/{chunk-IVWU7SJC.js → chunk-D6OIEH47.js} +5 -5
- package/dist/cli/{chunk-KUK7ARXA.mjs → chunk-DIUNDLSX.mjs} +2 -2
- package/dist/cli/{chunk-RO66FPTS.mjs → chunk-DJI5CLLW.mjs} +1 -1
- package/dist/cli/{chunk-LIJKRDDG.js → chunk-DZC7LMYM.js} +6 -6
- package/dist/cli/{chunk-UQJBV5PM.js → chunk-E2OIYPB4.js} +10 -10
- package/dist/cli/{chunk-JA633HRV.mjs → chunk-ECUD4QPD.mjs} +3 -3
- package/dist/cli/{chunk-VPERQ3U6.mjs → chunk-ESCVHDNY.mjs} +5 -5
- package/dist/cli/{chunk-JVOUQFHT.js → chunk-FFBXLFKV.js} +1 -1
- package/dist/cli/{chunk-3DUNNZB6.mjs → chunk-FMQXAOVE.mjs} +4 -4
- package/dist/cli/{chunk-HXIR3VQL.mjs → chunk-FZHMNK6F.mjs} +7 -1
- package/dist/cli/{chunk-PU3ZAG6V.mjs → chunk-G6KW764N.mjs} +1 -1
- package/dist/cli/{chunk-EEG46QZY.mjs → chunk-G6XTCG3J.mjs} +2 -2
- package/dist/cli/{chunk-EEJHB76U.js → chunk-GIGAYLY6.js} +12 -12
- package/dist/cli/{chunk-BLYW6FFB.js → chunk-GJA2PRHJ.js} +2 -2
- package/dist/cli/{chunk-H7Q5IDO3.js → chunk-GJOGFWX3.js} +20 -20
- package/dist/cli/{chunk-6Y5TU3R7.mjs → chunk-GPAWLXW3.mjs} +1 -1
- package/dist/cli/{chunk-5W4ENHWM.js → chunk-GZFZZQL4.js} +285 -264
- package/dist/cli/{chunk-P7A3H6G5.mjs → chunk-HARZ4AAX.mjs} +1 -1
- package/dist/cli/{chunk-MEGHIX4M.js → chunk-HFIFKP3A.js} +5 -5
- package/dist/cli/{chunk-LHE2TSV6.mjs → chunk-IGAK22XO.mjs} +1 -1
- package/dist/cli/{chunk-VTK3HGMN.mjs → chunk-IKYN6PLO.mjs} +5 -5
- package/dist/cli/{chunk-UREAIHUU.mjs → chunk-ITLZBDSR.mjs} +3 -3
- package/dist/cli/{chunk-6LG7MLJ2.js → chunk-IVFFCAV2.js} +44 -44
- package/dist/cli/{chunk-SYTWWVIQ.js → chunk-K3GMDSUX.js} +5 -5
- package/dist/cli/{chunk-WKHPLBJK.js → chunk-L5J6UJ2X.js} +15 -15
- package/dist/cli/{chunk-X5KOHDJN.mjs → chunk-L6QE2XVM.mjs} +1 -1
- package/dist/cli/{chunk-SH32HL7I.js → chunk-LMLSOHTU.js} +53 -53
- package/dist/cli/{chunk-JCWNF44W.js → chunk-MBQELFL7.js} +22 -22
- package/dist/cli/{chunk-Z7SXGOIQ.mjs → chunk-MF7PCM6C.mjs} +1 -1
- package/dist/cli/{chunk-F2VEFMU5.js → chunk-MO7TGNXB.js} +13 -13
- package/dist/cli/{chunk-7ZW67ME6.mjs → chunk-MOZEAGSR.mjs} +1 -1
- package/dist/cli/{chunk-5VNQMVCU.js → chunk-N63U5CRG.js} +26 -26
- package/dist/cli/{chunk-JCH4UNNS.js → chunk-NBYFQZ6O.js} +2 -2
- package/dist/cli/{chunk-BTFUAGHC.js → chunk-OVYXYTEP.js} +16 -16
- package/dist/cli/{chunk-J65HJCJO.mjs → chunk-PBMO36BP.mjs} +2 -2
- package/dist/cli/{chunk-F5YQXCP3.js → chunk-PVQCX6KQ.js} +50 -7
- package/dist/cli/{chunk-K2XELBPF.mjs → chunk-QLE3QKJ2.mjs} +5 -5
- package/dist/cli/{chunk-VAT2SXFF.js → chunk-QU3K3IY6.js} +12 -12
- package/dist/cli/{chunk-JYG4XZLT.js → chunk-REAFIEV5.js} +99 -99
- package/dist/cli/{chunk-5OEFXAKP.mjs → chunk-RMCCB3XY.mjs} +50 -7
- package/dist/cli/{chunk-HJR2DDJS.mjs → chunk-RXRC2COC.mjs} +2 -2
- package/dist/cli/{chunk-4AZLGNXV.js → chunk-SAJWYN4B.js} +4 -4
- package/dist/cli/{chunk-VXTTAYOT.mjs → chunk-TNJG4ZPN.mjs} +3 -3
- package/dist/cli/{chunk-PMDHY2YK.js → chunk-VNOQEDVC.js} +7 -7
- package/dist/cli/{chunk-GOOF7E2B.mjs → chunk-VPF54TXQ.mjs} +5 -5
- package/dist/cli/{chunk-2HSZCQMT.mjs → chunk-WYT3H6JD.mjs} +1 -1
- package/dist/cli/{chunk-OAKWSLKS.mjs → chunk-XMBVHJPR.mjs} +28 -7
- package/dist/cli/{chunk-7MY7KWJS.mjs → chunk-XNTDTAKC.mjs} +1 -1
- package/dist/cli/{chunk-5V7NZKGG.js → chunk-YURGAKI3.js} +2 -2
- package/dist/cli/{chunk-ND7SFRQL.js → chunk-YVKLF7RW.js} +2 -2
- package/dist/cli/{chunk-6FBDTYR2.mjs → chunk-Z2YGQZWV.mjs} +2 -2
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{concurrent-runs-help-C2O5YKQA.mjs → concurrent-runs-help-ZNGP563R.mjs} +6 -6
- package/dist/cli/concurrent-runs-help-ZYISYOQA.js +21 -0
- package/dist/cli/{csv-Z4DNGR54.mjs → csv-VAHQHYYV.mjs} +4 -4
- package/dist/cli/{csv-MJDNOIQJ.js → csv-X6D4ZELE.js} +13 -13
- package/dist/cli/{db-4RL2BNOF.mjs → db-4G4S2VOV.mjs} +7 -7
- package/dist/cli/{db-S5QVPK5E.js → db-YA5ZGVEX.js} +28 -28
- package/dist/cli/{describe-L4P5SZLQ.mjs → describe-EVXEM2S6.mjs} +19 -19
- package/dist/cli/describe-GYYSLZLV.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-MFZ2Z36O.js → executions-5YC7ABF6.js} +9 -9
- package/dist/cli/{executions-RR6O3XK5.mjs → executions-HR6CTN5M.mjs} +7 -7
- package/dist/cli/{feedback-EQBQ3ABB.mjs → feedback-GEU5SPLR.mjs} +6 -6
- package/dist/cli/{feedback-YDAG7VH2.js → feedback-MJHSYLFF.js} +14 -14
- package/dist/cli/git-FZIQZNI4.js +25 -0
- package/dist/cli/{git-YGLCCU35.mjs → git-NPFF6QUS.mjs} +5 -5
- package/dist/cli/index.js +146 -146
- package/dist/cli/index.mjs +45 -45
- package/dist/cli/{integrations-IQXYMRMW.js → integrations-YPHFI77G.js} +19 -17
- package/dist/cli/{integrations-FWYXSBHK.mjs → integrations-Z7EGVBHF.mjs} +11 -9
- package/dist/cli/{legacy-noops-U7LI7UXC.js → legacy-noops-246E3KKG.js} +9 -9
- package/dist/cli/{legacy-noops-I4YRIX5F.mjs → legacy-noops-5IYCFWWX.mjs} +6 -6
- package/dist/cli/{mcp-QJBMB6VS.mjs → mcp-WUYGZXPI.mjs} +4 -4
- package/dist/cli/{mcp-GX2UKKWU.js → mcp-YTYTW67G.js} +24 -24
- package/dist/cli/{monitors-Z6EGKYJP.mjs → monitors-73DQKCU7.mjs} +26 -8
- package/dist/cli/{monitors-WCJYINGX.js → monitors-SA6ILD6Z.js} +119 -101
- package/dist/cli/{org-NNHICBR2.mjs → org-WVQRB2KX.mjs} +7 -7
- package/dist/cli/{org-7SKG423N.js → org-X7ELDV7B.js} +89 -89
- package/dist/cli/{play-CXDFPJ7Z.mjs → play-QI6V2EUQ.mjs} +295 -67
- package/dist/cli/{play-4P4DTG3Q.js → play-QTYOAJPE.js} +897 -669
- package/dist/cli/{providers-VQLQ7DTR.mjs → providers-DPVMVDS4.mjs} +7 -7
- package/dist/cli/{providers-EE4TUE3O.js → providers-XXFLVREV.js} +10 -10
- package/dist/cli/{quickstart-RVXHK4WA.js → quickstart-33ISXQJU.js} +6 -6
- package/dist/cli/{quickstart-IYNJRB5G.mjs → quickstart-YWGNHULM.mjs} +4 -4
- package/dist/cli/{run-R3F34KU3.js → run-BWHZXLTD.js} +45 -45
- package/dist/cli/{run-VBQPPMEX.mjs → run-J6FCAKQC.mjs} +25 -25
- package/dist/cli/search-JCWJX2XD.js +32 -0
- package/dist/cli/{search-B7R62HX5.mjs → search-Z3UU3WBB.mjs} +8 -8
- package/dist/cli/{search-output-LNQQXIGZ.mjs → search-output-OJYY4J7E.mjs} +4 -4
- package/dist/cli/{search-output-LWHWEPOT.js → search-output-YIPV74ME.js} +6 -6
- package/dist/cli/{secrets-QBOZ7WTD.js → secrets-UXRJCEN4.js} +16 -16
- package/dist/cli/{secrets-NM3VAJLO.mjs → secrets-YZZN2WST.mjs} +7 -7
- package/dist/cli/{sessions-R5BSIJ4I.mjs → sessions-ITCGPD7Z.mjs} +6 -6
- package/dist/cli/sessions-NA4SJH6Q.js +22 -0
- package/dist/cli/{settings-POYWKNRD.js → settings-LAFYMILP.js} +86 -86
- package/dist/cli/{settings-S4PN7WLY.mjs → settings-ZP2LSVNM.mjs} +13 -13
- package/dist/cli/{setup-VHB4Z654.js → setup-4AL3XYM5.js} +49 -49
- package/dist/cli/{setup-PFLXVBTL.mjs → setup-WEQAQSYC.mjs} +9 -9
- package/dist/cli/{skills-W2TELEU7.mjs → skills-NQH4HFW2.mjs} +7 -7
- package/dist/cli/skills-XZ4Y6SZ7.js +36 -0
- package/dist/cli/{tools-M4FA6N3Y.mjs → tools-CXK2GSI4.mjs} +18 -18
- package/dist/cli/tools-WJQ6Y7E4.js +57 -0
- package/dist/cli/{update-W7LIHEA7.mjs → update-3ROF3Z75.mjs} +9 -9
- package/dist/cli/update-ZLRLTBRD.js +34 -0
- package/dist/cli/{views-KTVPV6UP.mjs → views-AOUHVGV2.mjs} +7 -7
- package/dist/cli/{views-DJXAGD7V.js → views-XJFO5CEH.js} +22 -22
- package/dist/cli/{workflow-NVZDJKH2.js → workflow-GY3DBHXX.js} +18 -18
- package/dist/cli/{workflow-LGKCRODX.mjs → workflow-KBS2QJK6.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.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XMBVHJPR.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GPAWLXW3.mjs";
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
10
|
var DeeplineClient2 = class extends DeeplineClient {
|
|
@@ -17,12 +17,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
|
|
|
17
17
|
var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkFFBXLFKVjs = require('./chunk-FFBXLFKV.js');
|
|
21
21
|
|
|
22
22
|
// src/version.ts
|
|
23
|
-
var SDK_VERSION =
|
|
24
|
-
var SDK_API_MAJOR =
|
|
25
|
-
var SDK_API_CONTRACT = _nullishCoalesce(
|
|
23
|
+
var SDK_VERSION = _chunkFFBXLFKVjs.SDK_RELEASE.version;
|
|
24
|
+
var SDK_API_MAJOR = _chunkFFBXLFKVjs.SDK_RELEASE.contracts.api.currentMajor;
|
|
25
|
+
var SDK_API_CONTRACT = _nullishCoalesce(_chunkFFBXLFKVjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
|
|
26
26
|
|
|
27
27
|
// src/agent-runtime.ts
|
|
28
28
|
var _fs = require('fs');
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
resolveApiKeyForBaseUrl,
|
|
5
5
|
resolveCliCommandContext,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GPAWLXW3.mjs";
|
|
8
8
|
import {
|
|
9
9
|
SDK_VERSION,
|
|
10
10
|
agentSessionIdFromEnvironment,
|
|
11
11
|
deploymentProtectionHeaders,
|
|
12
12
|
detectAgentRuntime
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DJI5CLLW.mjs";
|
|
14
14
|
import {
|
|
15
15
|
DeeplineError,
|
|
16
16
|
normalizeToolExecutionFailure,
|
|
@@ -26,7 +26,7 @@ var RUN_FIELDS = new Set(
|
|
|
26
26
|
);
|
|
27
27
|
var ROOTS = {
|
|
28
28
|
describe: "name playKey reference displayName description pinned toolCategories tags origin ownerType canEdit canClone aliases inputSchema outputSchema staticPipeline csvInput rowOutputSchema runCommand examples cloneEditStarter currentPublishedVersion liveVersion triggerStatus triggerMetadata isDraftDirty latestRunId runtimeLimit activeScheduledPlays dashboardUrl command_context",
|
|
29
|
-
check: "kind target checked scope name exportName valid stage issues inputSchema outputSchema recognized triggers runtimeLimit limits featureFlags sourceHash artifactHash graphHash toolGetterHints exports actions diagnostics reference origin ownerType activeScheduledPlays command_context",
|
|
29
|
+
check: "kind target checked scope name exportName valid stage issues diagram inputSchema outputSchema recognized triggers runtimeLimit limits featureFlags sourceHash artifactHash graphHash toolGetterHints exports actions diagnostics reference origin ownerType activeScheduledPlays command_context",
|
|
30
30
|
run: "schemaVersion kind run datasets actions apiVersion rateLimited dashboardUrl runUrl progress rowOutcomes steps errors error warnings result resultState execution command_context diagnostics",
|
|
31
31
|
get: "schemaVersion kind run dashboardUrl runUrl runStatus steps failures errorDetails rowOutcomes warnings failedLogs datasets result resultState actions diagnostics command_context",
|
|
32
32
|
config: "runId contract command_context",
|
|
@@ -9,7 +9,7 @@ var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkGJOGFWX3js = require('./chunk-GJOGFWX3.js');
|
|
13
13
|
|
|
14
14
|
// src/cli/describe-options.ts
|
|
15
15
|
function addDescribeOptions(command, options = {}) {
|
|
@@ -250,7 +250,7 @@ function projectRunDatasetCell(value) {
|
|
|
250
250
|
const logicalValue = parseSerializedDatasetValue(value);
|
|
251
251
|
if (logicalValue === null || logicalValue === void 0) return logicalValue;
|
|
252
252
|
if (typeof logicalValue === "object") {
|
|
253
|
-
return
|
|
253
|
+
return _chunkGJOGFWX3js.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
|
|
254
254
|
}
|
|
255
255
|
return logicalValue;
|
|
256
256
|
}
|
|
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
|
|
|
642
642
|
rows: rows.map((row) => record(row) ? row : { value: row }),
|
|
643
643
|
columns
|
|
644
644
|
});
|
|
645
|
-
return
|
|
645
|
+
return _chunkGJOGFWX3js.csvStringFromRows.call(void 0, projection.rows, projection.columns);
|
|
646
646
|
}
|
|
647
647
|
function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
|
|
648
648
|
let temp;
|
|
@@ -769,7 +769,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
|
|
|
769
769
|
};
|
|
770
770
|
if (options.receiptOut && !skipReceiptFile) {
|
|
771
771
|
persist(options.receiptOut, jsonText(receipt));
|
|
772
|
-
|
|
772
|
+
_chunkGJOGFWX3js.markJsonOutputHandled.call(void 0, );
|
|
773
773
|
} else {
|
|
774
774
|
printReceipt(receipt, options, {
|
|
775
775
|
data: hasData ? result.data : void 0,
|
|
@@ -937,7 +937,7 @@ function receiptText(receipt, options, extra) {
|
|
|
937
937
|
problems.push(
|
|
938
938
|
`Error: ${record(error) && typeof error.message === "string" ? error.message : JSON.stringify(error)}`
|
|
939
939
|
);
|
|
940
|
-
const diagnostic =
|
|
940
|
+
const diagnostic = _chunkGJOGFWX3js.formatCliFailureDiagnostic.call(void 0, error);
|
|
941
941
|
if (diagnostic) problems.push(...diagnostic.split("\n"));
|
|
942
942
|
if (record(error) && typeof error.recoveryFile === "string") {
|
|
943
943
|
problems.push(
|
|
@@ -1030,8 +1030,8 @@ function printReceipt(receipt, options, extra) {
|
|
|
1030
1030
|
const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
|
|
1031
1031
|
` : receiptText(receipt, options, extra);
|
|
1032
1032
|
if (options.receiptOut !== void 0) {
|
|
1033
|
-
|
|
1034
|
-
|
|
1033
|
+
_chunkGJOGFWX3js.writeRawStderr.call(void 0, text);
|
|
1034
|
+
_chunkGJOGFWX3js.markJsonOutputHandled.call(void 0, );
|
|
1035
1035
|
} else {
|
|
1036
1036
|
(dataOnStdout(options) ? process.stderr : process.stdout).write(text);
|
|
1037
1037
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getActiveCliProgress
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L6QE2XVM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
maybeReportAutomaticSkillsSyncFailure
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TNJG4ZPN.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_SKILL_AGENTS,
|
|
9
9
|
KNOWN_SKILL_AGENTS,
|
|
@@ -14,17 +14,17 @@ import {
|
|
|
14
14
|
sdkCliStateDirPath,
|
|
15
15
|
skillsAgentPathSegment,
|
|
16
16
|
writeSdkSkillsLocalVersion
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GPAWLXW3.mjs";
|
|
18
18
|
import {
|
|
19
19
|
SDK_API_CONTRACT,
|
|
20
20
|
SDK_API_MAJOR,
|
|
21
21
|
SDK_VERSION,
|
|
22
22
|
deploymentProtectionHeaders,
|
|
23
23
|
detectAgentRuntime
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DJI5CLLW.mjs";
|
|
25
25
|
import {
|
|
26
26
|
SDK_RELEASE
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XNTDTAKC.mjs";
|
|
28
28
|
|
|
29
29
|
// src/compat.ts
|
|
30
30
|
import { randomUUID } from "crypto";
|
|
@@ -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-DJI5CLLW.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
|
}
|
|
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
|
|
|
49
49
|
// getters keep their established compatibility behavior.
|
|
50
50
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
51
51
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
52
|
-
version: "0.3.
|
|
52
|
+
version: "0.3.547",
|
|
53
53
|
updateSummary: {
|
|
54
54
|
introducedIn: "0.3.90",
|
|
55
55
|
summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
|
|
@@ -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 _chunkGJOGFWX3js = require('./chunk-GJOGFWX3.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
|
+
_chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
|
|
61
61
|
{ ok: false, code, exitCode: 2, message },
|
|
62
62
|
{ json: true }
|
|
63
63
|
);
|
|
@@ -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 _chunkGJOGFWX3js = require('./chunk-GJOGFWX3.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
|
+
_chunkGJOGFWX3js.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
|
|
37
37
|
`);
|
|
38
38
|
}
|
|
39
39
|
async function traceCliSpan(phase, fields, run) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XMBVHJPR.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GPAWLXW3.mjs";
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
package/dist/cli/command-docs.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkPVQCX6KQjs = require('./chunk-PVQCX6KQ.js');
|
|
11
11
|
require('./chunk-UV4RU2TE.js');
|
|
12
12
|
require('./chunk-R7J7CJPZ.js');
|
|
13
13
|
require('./chunk-YGCKMI5P.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 = _chunkPVQCX6KQjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkPVQCX6KQjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkPVQCX6KQjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkPVQCX6KQjs.commandDocKey; exports.helpDetailFromArgv = _chunkPVQCX6KQjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkPVQCX6KQjs.renderActionExplanation; exports.renderCommandExplanation = _chunkPVQCX6KQjs.renderCommandExplanation; exports.renderDocText = _chunkPVQCX6KQjs.renderDocText;
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
CONCURRENT_RUNS_HELP_COMMANDS,
|
|
3
3
|
concurrentRunsHelpStatus,
|
|
4
4
|
concurrentRunsLine
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-G6XTCG3J.mjs";
|
|
6
|
+
import "./chunk-CKIRKYW7.mjs";
|
|
7
7
|
import "./chunk-NIPLY25A.mjs";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-TNJG4ZPN.mjs";
|
|
9
|
+
import "./chunk-GPAWLXW3.mjs";
|
|
10
|
+
import "./chunk-DJI5CLLW.mjs";
|
|
11
11
|
import "./chunk-NURW5XH4.mjs";
|
|
12
12
|
import "./chunk-DLIRSHV6.mjs";
|
|
13
13
|
import "./chunk-JL2OTMSG.mjs";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-XNTDTAKC.mjs";
|
|
15
15
|
import "./chunk-WZYKRD7T.mjs";
|
|
16
16
|
import "./chunk-KRD6H754.mjs";
|
|
17
17
|
export {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkHFIFKP3Ajs = require('./chunk-HFIFKP3A.js');
|
|
6
|
+
require('./chunk-LMLSOHTU.js');
|
|
7
|
+
require('./chunk-UV4RU2TE.js');
|
|
8
|
+
require('./chunk-GJOGFWX3.js');
|
|
9
|
+
require('./chunk-2HPTLBNB.js');
|
|
10
|
+
require('./chunk-SAJWYN4B.js');
|
|
11
|
+
require('./chunk-EITMD3A5.js');
|
|
12
|
+
require('./chunk-XNYIZMNQ.js');
|
|
13
|
+
require('./chunk-BBTKAASQ.js');
|
|
14
|
+
require('./chunk-FFBXLFKV.js');
|
|
15
|
+
require('./chunk-OG64RBAC.js');
|
|
16
|
+
require('./chunk-COGTRVWW.js');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
exports.CONCURRENT_RUNS_HELP_COMMANDS = _chunkHFIFKP3Ajs.CONCURRENT_RUNS_HELP_COMMANDS; exports.concurrentRunsHelpStatus = _chunkHFIFKP3Ajs.concurrentRunsHelpStatus; exports.concurrentRunsLine = _chunkHFIFKP3Ajs.concurrentRunsLine;
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
printCommandEnvelope,
|
|
5
5
|
printJson,
|
|
6
6
|
readCsvRows
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-TNJG4ZPN.mjs";
|
|
8
|
+
import "./chunk-GPAWLXW3.mjs";
|
|
9
|
+
import "./chunk-DJI5CLLW.mjs";
|
|
10
10
|
import "./chunk-NURW5XH4.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
12
|
import "./chunk-JL2OTMSG.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-XNTDTAKC.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|
|
16
16
|
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
7
|
+
var _chunkGJOGFWX3js = require('./chunk-GJOGFWX3.js');
|
|
8
|
+
require('./chunk-2HPTLBNB.js');
|
|
9
|
+
require('./chunk-SAJWYN4B.js');
|
|
10
10
|
require('./chunk-EITMD3A5.js');
|
|
11
11
|
require('./chunk-XNYIZMNQ.js');
|
|
12
12
|
require('./chunk-BBTKAASQ.js');
|
|
13
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-FFBXLFKV.js');
|
|
14
14
|
require('./chunk-OG64RBAC.js');
|
|
15
15
|
require('./chunk-COGTRVWW.js');
|
|
16
16
|
|
|
@@ -128,7 +128,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
|
|
|
128
128
|
column.length,
|
|
129
129
|
...rows.map((row) => {
|
|
130
130
|
const value = _nullishCoalesce(row[column], () => ( ""));
|
|
131
|
-
return (verbose ? value :
|
|
131
|
+
return (verbose ? value : _chunkGJOGFWX3js.clip.call(void 0, value, 42)).length;
|
|
132
132
|
})
|
|
133
133
|
)
|
|
134
134
|
])
|
|
@@ -138,7 +138,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
|
|
|
138
138
|
const body = rows.map(
|
|
139
139
|
(row) => columns.map((column) => {
|
|
140
140
|
const raw = _nullishCoalesce(row[column], () => ( ""));
|
|
141
|
-
const display = verbose ? raw :
|
|
141
|
+
const display = verbose ? raw : _chunkGJOGFWX3js.clip.call(void 0, raw, 42);
|
|
142
142
|
return display.padEnd(widths[column]);
|
|
143
143
|
}).join(" | ")
|
|
144
144
|
);
|
|
@@ -158,7 +158,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
158
158
|
{ exitCode: 2 }
|
|
159
159
|
);
|
|
160
160
|
}
|
|
161
|
-
const allRows =
|
|
161
|
+
const allRows = _chunkGJOGFWX3js.readCsvRows.call(void 0, csvPath);
|
|
162
162
|
const [rowStart, rowEnd] = parseRowRange(options.rows);
|
|
163
163
|
const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
|
|
164
164
|
const { rows: selected, columns } = selectColumns(
|
|
@@ -171,7 +171,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
171
171
|
if (options.summary) {
|
|
172
172
|
const summaries = summarizeColumns(selected, columns);
|
|
173
173
|
if (format === "json") {
|
|
174
|
-
|
|
174
|
+
_chunkGJOGFWX3js.printJson.call(void 0, {
|
|
175
175
|
rows: summaries,
|
|
176
176
|
total_rows: selected.length,
|
|
177
177
|
source_total_rows: allRows.length
|
|
@@ -180,7 +180,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
180
180
|
}
|
|
181
181
|
const displayRows = summaryDisplayRows(summaries);
|
|
182
182
|
if (format === "csv") {
|
|
183
|
-
process.stdout.write(
|
|
183
|
+
process.stdout.write(_chunkGJOGFWX3js.csvStringFromRows.call(void 0, displayRows));
|
|
184
184
|
return;
|
|
185
185
|
}
|
|
186
186
|
process.stdout.write(
|
|
@@ -195,7 +195,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
195
195
|
return;
|
|
196
196
|
}
|
|
197
197
|
if (format === "json") {
|
|
198
|
-
|
|
198
|
+
_chunkGJOGFWX3js.printJson.call(void 0, {
|
|
199
199
|
rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
|
|
200
200
|
});
|
|
201
201
|
return;
|
|
@@ -438,7 +438,7 @@ async function handleCsvRenderStart(options) {
|
|
|
438
438
|
if (log) {
|
|
439
439
|
detail = `
|
|
440
440
|
CSV render log:
|
|
441
|
-
${
|
|
441
|
+
${_chunkGJOGFWX3js.clip.call(void 0, log, 2e3)}`;
|
|
442
442
|
}
|
|
443
443
|
} catch (e7) {
|
|
444
444
|
}
|
|
@@ -489,7 +489,7 @@ async function handleCsvRenderStatus(options) {
|
|
|
489
489
|
if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
|
|
490
490
|
if (payload.url) lines.push(`Render URL: ${payload.url}`);
|
|
491
491
|
lines.push(`Render Health: ${payload.health_status}`);
|
|
492
|
-
|
|
492
|
+
_chunkGJOGFWX3js.printCommandEnvelope.call(void 0, payload, {
|
|
493
493
|
json: options.json,
|
|
494
494
|
text: `${lines.join("\n")}
|
|
495
495
|
`
|
|
@@ -525,7 +525,7 @@ async function handleCsvRenderStop(options) {
|
|
|
525
525
|
};
|
|
526
526
|
const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
|
|
527
527
|
` : "No running CSV render process found.\n";
|
|
528
|
-
|
|
528
|
+
_chunkGJOGFWX3js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
|
|
529
529
|
}
|
|
530
530
|
async function handleCsvRender(action, options) {
|
|
531
531
|
const normalized = _nullishCoalesce(action, () => ( "start"));
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-OVDNJAJN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RXRC2COC.mjs";
|
|
7
7
|
import {
|
|
8
8
|
planCustomerDbQuery
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-XMBVHJPR.mjs";
|
|
10
|
+
import "./chunk-FZHMNK6F.mjs";
|
|
11
11
|
import "./chunk-LX35AXTN.mjs";
|
|
12
12
|
import "./chunk-PSX3WHIH.mjs";
|
|
13
13
|
import "./chunk-UBKA33KY.mjs";
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
printCommandEnvelope,
|
|
21
21
|
recordRows,
|
|
22
22
|
shouldEmitJson
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-TNJG4ZPN.mjs";
|
|
24
|
+
import "./chunk-GPAWLXW3.mjs";
|
|
25
|
+
import "./chunk-DJI5CLLW.mjs";
|
|
26
26
|
import {
|
|
27
27
|
CustomerDbQueryOutcomeUnknownError
|
|
28
28
|
} from "./chunk-NURW5XH4.mjs";
|
|
@@ -30,7 +30,7 @@ import "./chunk-DLIRSHV6.mjs";
|
|
|
30
30
|
import {
|
|
31
31
|
DeeplineError
|
|
32
32
|
} from "./chunk-JL2OTMSG.mjs";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-XNTDTAKC.mjs";
|
|
34
34
|
import "./chunk-WZYKRD7T.mjs";
|
|
35
35
|
import "./chunk-KRD6H754.mjs";
|
|
36
36
|
|