@keystrokehq/cli 0.0.18 → 0.0.20
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/README.md +1 -1
- package/dist/{accept.handler-B7QzdKCh.mjs → accept.handler-CiqqUxKN.mjs} +1 -1
- package/dist/{admin-CYpulx_A.mjs → admin-B0U2Aghv.mjs} +9 -9
- package/dist/{agent-bundle-package-DWV6B_5q-FPT0bJaA.mjs → agent-bundle-package-DWV6B_5q-BsbCEeMw.mjs} +1 -1
- package/dist/{agents-Co6Jy_N8.mjs → agents-DBebUEwk.mjs} +6 -6
- package/dist/{api-DsK8M-ZH.mjs → api-BjBpWWlm.mjs} +4 -5
- package/dist/{api-keys-BUCLzRv_.mjs → api-keys-BHAgmC4E.mjs} +5 -5
- package/dist/{auth-niNm-yNT.mjs → auth-D-PZAjdd.mjs} +6 -6
- package/dist/{auth.handler-BTH-Qb00.mjs → auth.handler-CxTDSO6O.mjs} +3 -3
- package/dist/{build-agents-DseUtzd4-CthuIecx.mjs → build-agents-DseUtzd4-BNtZrqoY.mjs} +5 -5
- package/dist/{build-metadata-C8Ra_Gi--L3l8w0rh.mjs → build-metadata-BB_L45ZS-d5-QLDZ5.mjs} +10 -10
- package/dist/{build-progress-AR8xow4_.mjs → build-progress-BVwDg6lC.mjs} +1 -1
- package/dist/{build-tasks-GVuMLS0h-CCxCqd02.mjs → build-tasks-C09SdfjC-DxKcmENc.mjs} +4 -4
- package/dist/{build-workflows-CV4tBo6S-DhFBlp6m.mjs → build-workflows-BZ_m97Pr-DwcnRlyh.mjs} +9 -10
- package/dist/{build.handler-BmlXPhed.mjs → build.handler-CTX80S1K.mjs} +4 -4
- package/dist/{chunk-CH6r78ws.mjs → chunk-DYxdGL9S.mjs} +2 -1
- package/dist/{clear.handler-BDlwBzX4.mjs → clear.handler-Bksm2HI4.mjs} +1 -1
- package/dist/{commander-BE37hxR3.mjs → commander-DQLrBSIW.mjs} +1 -1
- package/dist/{connect-C9NMD8Ky.mjs → connect-DV_EztVs.mjs} +2 -2
- package/dist/{connect.handler-C7kysvhz.mjs → connect.handler-DbuGt3Xb.mjs} +3 -3
- package/dist/{context-Bid-Rqj7.mjs → context-BUzxM3QI.mjs} +2 -2
- package/dist/{create.handler-Cp9CV6SN.mjs → create.handler-CQCRk-Na.mjs} +1 -1
- package/dist/{credentials-fMfKVlEn.mjs → credentials-m18a1_hw.mjs} +6 -6
- package/dist/{credentials-DUkVbhvj.mjs → credentials-xPtLFTjW.mjs} +2 -2
- package/dist/{current-deployment-workflow-DiwUcKoB.mjs → current-deployment-workflow-pyBoobIm.mjs} +4 -4
- package/dist/{current.handler-eCR4nClu.mjs → current.handler-BJGJgdGP.mjs} +1 -1
- package/dist/{default-urls-CTQqM1_A.mjs → default-urls-BoSm4s9C.mjs} +1 -1
- package/dist/{delete.handler-D4ElSAcr.mjs → delete.handler-DNoehdOH.mjs} +1 -1
- package/dist/{deploy-B7LRWcp6.mjs → deploy-3tHCBGky.mjs} +2 -2
- package/dist/{deploy-DyZh--f7.mjs → deploy-BKjcO_sm.mjs} +1 -1
- package/dist/{deploy-progress-DK87VKJ-.mjs → deploy-progress-CyolzjRB.mjs} +1 -1
- package/dist/{deploy.handler-DVnH-Niv.mjs → deploy.handler-TnPNBYXZ.mjs} +27 -15
- package/dist/{detect-env-access-CwkOYeYM-CNTyUzme.mjs → detect-env-access-CwkOYeYM-D8-hxij0.mjs} +2 -2
- package/dist/{diff.handler-lIA2pRBX.mjs → diff.handler-DO2WzdGB.mjs} +3 -3
- package/dist/{dist-WFPTDQB3.mjs → dist-BGrWr5fp.mjs} +32 -37
- package/dist/{env.handler-BIzQLlmo.mjs → env.handler-C5GNyiJt.mjs} +6 -6
- package/dist/{error-boundary-B8cmSwJH.mjs → error-boundary-GtRvP2oP.mjs} +1 -1
- package/dist/{file-metadata-lrX05iRt.mjs → file-metadata-B8c7Y5yg.mjs} +2 -7
- package/dist/{import-module--8x5SLum-D7EiPjwl.mjs → import-module-y0glInUe-CfNsQNia.mjs} +48 -839
- package/dist/{init-jaqNLGmB.mjs → init-D9RIT2CY.mjs} +3 -3
- package/dist/{init.handler-DamvbPEw.mjs → init.handler-0TJY1YNy.mjs} +2 -2
- package/dist/{inspect.handler-_UcN7dxE.mjs → inspect.handler-BrYFfN4H.mjs} +3 -3
- package/dist/{integration-catalog-m8tj_XlD.mjs → integration-catalog-BrJsBkfx.mjs} +1 -1
- package/dist/integrations-vSyAQ6HA.mjs +185 -0
- package/dist/{invites-VntHNMYk.mjs → invites-BASM4PJr.mjs} +4 -4
- package/dist/{invites.list.handler-CPl4QHfc.mjs → invites.list.handler-c-aw6g5o.mjs} +1 -1
- package/dist/{invites.resend.handler-BAtb3AX4.mjs → invites.resend.handler-MnMEjP_Z.mjs} +1 -1
- package/dist/{invites.revoke.handler-qXOF1Vgx.mjs → invites.revoke.handler-CHX6Z8kj.mjs} +1 -1
- package/dist/keystroke.mjs +25 -24
- package/dist/{list-enrichment-DYvr3XDb.mjs → list-enrichment-DcplcioC.mjs} +1 -1
- package/dist/{list.handler-C_iBLBmS.mjs → list.handler-BBzB1_1l.mjs} +1 -1
- package/dist/{list.handler-pHnPFep8.mjs → list.handler-BsgCd1oF.mjs} +5 -5
- package/dist/{list.handler-BdRsjRlf.mjs → list.handler-CDtjm-6d.mjs} +1 -1
- package/dist/{list.handler-DUz1bJ4x.mjs → list.handler-DJNtXw7C.mjs} +1 -1
- package/dist/{list.handler-CEjKSezx.mjs → list.handler-DXwKdfIv.mjs} +2 -2
- package/dist/{list.handler-CJUFdmaU.mjs → list2.handler-BdE1k2kl.mjs} +3 -3
- package/dist/{listen-DLGZEQRL.mjs → listen-Ca9KdiB2.mjs} +2 -2
- package/dist/{listen.handler-kaAvYk-B.mjs → listen.handler-KWPN03S8.mjs} +2 -2
- package/dist/{logs-CcYqFKRU.mjs → logs-BEDf7hZ0.mjs} +3 -3
- package/dist/{logs.handler-lboRKNoE.mjs → logs.handler-mk1lcZbU.mjs} +2 -2
- package/dist/{members.add.handler-DBydP0SR.mjs → members.add.handler-CTvlxBZU.mjs} +1 -1
- package/dist/{members.invite.handler-D4-7fiYC.mjs → members.invite.handler-wFO0r7Pi.mjs} +1 -1
- package/dist/{members.list.handler-Z4cIbcNg.mjs → members.list.handler-PPdqs4nI.mjs} +1 -1
- package/dist/{members.remove.handler-J56D83O7.mjs → members.remove.handler-a5WI6zE4.mjs} +1 -1
- package/dist/{members.update.handler-B5rBv6dt.mjs → members.update.handler-3xblTzmz.mjs} +1 -1
- package/dist/{metadata-layout-Bv-B0nHj-B1c5giJ7.mjs → metadata-layout-Bv-B0nHj-DtMWZ7Cc.mjs} +1 -1
- package/dist/{normalize-path-CojS-CgQ-D4wSBHgG.mjs → normalize-path-CojS-CgQ-CRqBc6D6.mjs} +1 -1
- package/dist/{org-DGS91uc-.mjs → org-CzLw3neZ.mjs} +15 -15
- package/dist/{orgs.create.handler-B4naNUSN.mjs → orgs.create.handler-CcPpDweZ.mjs} +1 -1
- package/dist/{orgs.get.handler-Ci_JrT08.mjs → orgs.get.handler-BACPg7vR.mjs} +1 -1
- package/dist/{orgs.list.handler-CJ2byIEj.mjs → orgs.list.handler-DEF8OyvM.mjs} +1 -1
- package/dist/{paused.handler-BQSQvQhB.mjs → paused.handler-D4j8_Za4.mjs} +1 -1
- package/dist/{projects-D90_uEC2.mjs → projects-CJCKxG2u.mjs} +4 -4
- package/dist/{projects-fWvIJQ80.mjs → projects-s5ehKLil.mjs} +6 -4
- package/dist/{register.handler-CleQJhtQ.mjs → register.handler-CSvlOMF6.mjs} +18 -9
- package/dist/{requirements.handler-B51sxQSy.mjs → requirements.handler-Bk-sAE9C.mjs} +5 -5
- package/dist/{run-polling-CC6y2XXI.mjs → run-polling-DKclfet-.mjs} +3 -3
- package/dist/{run.handler-B31BpZJP.mjs → run.handler-x0B-CjNF.mjs} +4 -4
- package/dist/{runs-Bg_qDeQi.mjs → runs-DoMVOCNj.mjs} +2 -2
- package/dist/{schemas-B8c7Z5Iy.mjs → schemas-U2OzP9gP.mjs} +3 -2
- package/dist/{skills-sync.handler-DOxudKmV.mjs → skills-sync.handler-CYkCeuQn.mjs} +1 -1
- package/dist/{skills.command-JwKWpGvU.mjs → skills.command-DeAgMGGw.mjs} +4 -4
- package/dist/{source-analysis-BBg2E_6G-Ut7kYHOz.mjs → source-analysis-BBg2E_6G-BJTRqWrQ.mjs} +3 -3
- package/dist/{source-analysis-Cs0CTBQk.mjs → source-analysis-BMMPIHN9.mjs} +1 -1
- package/dist/src-BHTjsZ9V.mjs +456 -0
- package/dist/{src-B0tNjKMg.mjs → src-BYQwp8Ig.mjs} +1 -1
- package/dist/{switch.handler-Cu81T2HY.mjs → switch.handler-CV4ZBXAu.mjs} +1 -1
- package/dist/{sync-CXNveL61.mjs → sync-KCVM02IY.mjs} +2 -2
- package/dist/{sync.handler-7g1yDt0H.mjs → sync.handler-Cuw89341.mjs} +6 -6
- package/dist/task-BSCN9cU4.mjs +945 -0
- package/dist/{task-target-build-BaMtXnN7.mjs → task-target-build-B0HF2_At.mjs} +41 -55
- package/dist/task-target-deploy-ClbwKJ8K.mjs +4 -0
- package/dist/{task-target-deploy-CZBGNC0H-I-tvkGCC.mjs → task-target-deploy-dQYnMO8n-CeTmRcDw.mjs} +15 -17
- package/dist/task-target-deploy-runner.mjs +6 -6
- package/dist/{test-A5hz3c7j.mjs → test-Rm3thni3.mjs} +2 -2
- package/dist/{test.handler-CJtaMZVy.mjs → test.handler-CTd-heRS.mjs} +8 -8
- package/dist/{test.handler-Cq2l7SAr.mjs → test.handler-DhhcsvHN.mjs} +1 -1
- package/dist/{tool.handler-B-mOL128.mjs → tool.handler-C3LNyQbc.mjs} +9 -63
- package/dist/{trigger-artifacts-RizI57RC-DjhOsdOm.mjs → trigger-artifacts-BcRScRSp-DqFgzl_B.mjs} +53 -119
- package/dist/trigger-manifest-DTni4NaZ.mjs +42 -0
- package/dist/{upgrade-DhfpoyRV.mjs → upgrade-Cf7y38xR.mjs} +2 -2
- package/dist/{upload-BbcMkyVl.mjs → upload-CJWApEgz.mjs} +1 -1
- package/dist/{upload.handler-D3-W_1kq.mjs → upload.handler-BHIWYPph.mjs} +7 -7
- package/dist/{users.get.handler-Bd0OBI-E.mjs → users.get.handler-spWaHG8h.mjs} +1 -1
- package/dist/{users.list.handler-CacJz6eC.mjs → users.list.handler-DLuU7cd_.mjs} +1 -1
- package/dist/{users.set-role.handler-bZMQtUR0.mjs → users.set-role.handler-CojFmpcD.mjs} +1 -1
- package/dist/{utils-BMUWnz1P.mjs → utils-Ddltm1sR.mjs} +1 -1
- package/dist/{validate.handler-Ccq66ki4.mjs → validate.handler-DIJBuX1P.mjs} +4 -4
- package/dist/{workflow-build-_WNsLKwW.mjs → workflow-build-IGYhEC8Y.mjs} +22 -22
- package/dist/{workflow-bundler-BzHk73PM-WI31RJjH.mjs → workflow-bundler-BzHk73PM-Cs-4Ml-p.mjs} +2 -2
- package/dist/{workflows-Dy2M9bEr.mjs → workflows-MANdvLft.mjs} +19 -21
- package/dist/{writer-B-SpZ0G2-tq1MFgid.mjs → writer-byNNUjRm-w5O7-VT_.mjs} +24 -33
- package/package.json +11 -11
- package/dist/common-AK0q0Oz0.mjs +0 -20
- package/dist/credential-requirements-DrrQ9x9P.mjs +0 -250
- package/dist/cron-parser-Dw_cWzFu.mjs +0 -393
- package/dist/declared-credential-requirements-D6KT-r-e.mjs +0 -103
- package/dist/integrations-DRL3JmC8.mjs +0 -85
- package/dist/task-BguWXIiH.mjs +0 -486
- package/dist/task-target-deploy-DmpCWE3u.mjs +0 -4
- package/dist/trigger-manifest-Bq2zRbkV.mjs +0 -29
- package/dist/workflow-build-manifest-B2GqHyWE.mjs +0 -259
- /package/dist/{agent-manifest-tIsqF2OP.mjs → agent-manifest-CZ7BeUSG.mjs} +0 -0
- /package/dist/{browser-BpJ8ut9z.mjs → browser-Cu4k-wT_.mjs} +0 -0
- /package/dist/{clear-cache.handler-CTLQ1PIN.mjs → clear-cache.handler-8RFmjHoo.mjs} +0 -0
- /package/dist/{clear.handler-C_pXAeBG.mjs → clear.handler-mfNmIUYP.mjs} +0 -0
- /package/dist/{concurrency-gXn9Rw8x-BTlfau8D.mjs → concurrency-gXn9Rw8x-BSBbRfVp.mjs} +0 -0
- /package/dist/{credential-env-map-BA4LNI7x.mjs → credential-env-map-qLCR_QbO.mjs} +0 -0
- /package/dist/{credential-schema-mismatch-z74ud-YZ.mjs → credential-schema-mismatch-BHI_B-U-.mjs} +0 -0
- /package/dist/{diff-utils-B0ED-Igv.mjs → diff-utils-x5pi8SrL.mjs} +0 -0
- /package/dist/{layout-P1v-Gssz.mjs → layout-DRf9qUf8.mjs} +0 -0
- /package/dist/{list.handler-BLkQKiV1.mjs → list.handler-CynN-ezD.mjs} +0 -0
- /package/dist/{logs.handler-DyRoevtO.mjs → logs.handler-CcA1UzJm.mjs} +0 -0
- /package/dist/{oxc-B3KI3rf_-Cvx4Z-4H.mjs → oxc-B3KI3rf_-Cnk0L10M.mjs} +0 -0
- /package/dist/{read-credential-keys-77a91T8M-B0eiobOd.mjs → read-credential-keys-77a91T8M-CzXPGxdU.mjs} +0 -0
- /package/dist/{resolve-project-CNQtOWE4.mjs → resolve-project-CWP2fji3.mjs} +0 -0
- /package/dist/{rolldown-runtime-twds-ZHy-8uqgIurC.mjs → rolldown-runtime-twds-ZHy-BoF7MLzP.mjs} +0 -0
- /package/dist/{run-polling-DARidqo-.mjs → run-polling-CzyVv7Ba.mjs} +0 -0
- /package/dist/{schema-BjH_e4Fo.mjs → schema-CvSZqa3t.mjs} +0 -0
- /package/dist/{schema-display-NVEl_DFY.mjs → schema-display-DxLA3j5H.mjs} +0 -0
- /package/dist/{skill-installer-BBgN2tzW.mjs → skill-installer-CYFshTBy.mjs} +0 -0
- /package/dist/{skills.handler-Do9I3dQS.mjs → skills.handler-Bma-MJX-.mjs} +0 -0
- /package/dist/{spinner-progress-Bx-fYItP.mjs → spinner-progress-DV28G4tP.mjs} +0 -0
- /package/dist/{status.handler-BsVtDW_V.mjs → status.handler-BOV0eX3J.mjs} +0 -0
- /package/dist/{types-BMBuhHhW.mjs → types-DamInJD6.mjs} +0 -0
- /package/dist/{upgrade.handler-5qSzPC7D.mjs → upgrade.handler-Bz_oQcAw.mjs} +0 -0
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
import { n as SHA256HashSchema, t as JsonSchemaSchema } from "./common-AK0q0Oz0.mjs";
|
|
4
|
-
import { a as SourceLocationSchema, i as ImportSourceSchema, n as CallsiteFingerprintSchema, t as CallKindSchema } from "./source-analysis-Cs0CTBQk.mjs";
|
|
5
|
-
import { c as TriggerUploadDataSchema, i as ResolvedCredentialSetSchema, r as IntegrationScopeSchema, t as CredentialRequirementsSchema, u as WorkflowStepEntrySchema } from "./credential-requirements-DrrQ9x9P.mjs";
|
|
6
|
-
import { z } from "zod";
|
|
7
|
-
//#region ../../packages/workflow-build-contracts/src/flow-graph-schema.ts
|
|
8
|
-
const DecisionKindSchema = z.enum([
|
|
9
|
-
"if",
|
|
10
|
-
"switch",
|
|
11
|
-
"ternary"
|
|
12
|
-
]);
|
|
13
|
-
const ParallelKindSchema = z.enum([
|
|
14
|
-
"all",
|
|
15
|
-
"race",
|
|
16
|
-
"allSettled",
|
|
17
|
-
"any"
|
|
18
|
-
]);
|
|
19
|
-
const LoopKindSchema = z.enum([
|
|
20
|
-
"for",
|
|
21
|
-
"for-of",
|
|
22
|
-
"for-in",
|
|
23
|
-
"while",
|
|
24
|
-
"do-while"
|
|
25
|
-
]);
|
|
26
|
-
const ExitKindSchema = z.enum(["return", "throw"]);
|
|
27
|
-
const FlowBranchKindSchema = z.enum([
|
|
28
|
-
"then",
|
|
29
|
-
"else",
|
|
30
|
-
"parallel-branch"
|
|
31
|
-
]);
|
|
32
|
-
const FlowNodeTypeSchema = z.enum([
|
|
33
|
-
"entry",
|
|
34
|
-
"step",
|
|
35
|
-
"code-block",
|
|
36
|
-
"decision",
|
|
37
|
-
"merge",
|
|
38
|
-
"fork",
|
|
39
|
-
"join",
|
|
40
|
-
"parallel-map",
|
|
41
|
-
"loop",
|
|
42
|
-
"exit"
|
|
43
|
-
]);
|
|
44
|
-
const FlowEdgeTypeSchema = z.enum([
|
|
45
|
-
"default",
|
|
46
|
-
"true-branch",
|
|
47
|
-
"false-branch",
|
|
48
|
-
"merge",
|
|
49
|
-
"loop-entry",
|
|
50
|
-
"loop-back",
|
|
51
|
-
"parallel",
|
|
52
|
-
"return"
|
|
53
|
-
]);
|
|
54
|
-
const FlowStatementSchema = z.object({
|
|
55
|
-
kind: z.string().min(1),
|
|
56
|
-
label: z.string().min(1),
|
|
57
|
-
sourceText: z.string().min(1)
|
|
58
|
-
});
|
|
59
|
-
const EntryNodeDataSchema = z.object({ kind: z.literal("entry") });
|
|
60
|
-
const StepNodeDataSchema = z.object({
|
|
61
|
-
kind: z.literal("call"),
|
|
62
|
-
callKind: CallKindSchema,
|
|
63
|
-
stepName: z.string().min(1),
|
|
64
|
-
callsiteFingerprint: CallsiteFingerprintSchema.optional(),
|
|
65
|
-
exportName: z.string().min(1).optional(),
|
|
66
|
-
stepId: z.string().min(1).optional(),
|
|
67
|
-
awaited: z.boolean().optional(),
|
|
68
|
-
dynamic: z.boolean().optional(),
|
|
69
|
-
recursive: z.boolean().optional(),
|
|
70
|
-
importSource: ImportSourceSchema.optional(),
|
|
71
|
-
outputBinding: z.string().min(1).optional(),
|
|
72
|
-
description: z.string().optional(),
|
|
73
|
-
inputSchema: JsonSchemaSchema.optional(),
|
|
74
|
-
outputSchema: JsonSchemaSchema.optional(),
|
|
75
|
-
source: SourceLocationSchema.optional(),
|
|
76
|
-
astKind: z.string().min(1).optional(),
|
|
77
|
-
scopeOverride: IntegrationScopeSchema.optional(),
|
|
78
|
-
credentialSets: z.array(ResolvedCredentialSetSchema).optional(),
|
|
79
|
-
requiredOAuthScopes: z.array(z.string()).optional()
|
|
80
|
-
});
|
|
81
|
-
const CodeBlockNodeDataSchema = z.object({
|
|
82
|
-
kind: z.literal("code-block"),
|
|
83
|
-
statements: z.array(FlowStatementSchema)
|
|
84
|
-
});
|
|
85
|
-
const DecisionNodeDataSchema = z.object({
|
|
86
|
-
kind: z.literal("decision"),
|
|
87
|
-
decisionKind: DecisionKindSchema.optional(),
|
|
88
|
-
source: SourceLocationSchema.optional(),
|
|
89
|
-
astKind: z.string().min(1).optional(),
|
|
90
|
-
conditionText: z.string().optional()
|
|
91
|
-
});
|
|
92
|
-
const MergeNodeDataSchema = z.object({
|
|
93
|
-
kind: z.literal("merge"),
|
|
94
|
-
source: SourceLocationSchema.optional()
|
|
95
|
-
});
|
|
96
|
-
const ForkNodeDataSchema = z.object({
|
|
97
|
-
kind: z.literal("fork"),
|
|
98
|
-
parallelKind: ParallelKindSchema.optional(),
|
|
99
|
-
preStatements: z.array(FlowStatementSchema).optional(),
|
|
100
|
-
source: SourceLocationSchema.optional(),
|
|
101
|
-
astKind: z.string().min(1).optional()
|
|
102
|
-
});
|
|
103
|
-
const JoinNodeDataSchema = z.object({
|
|
104
|
-
kind: z.literal("join"),
|
|
105
|
-
outputBinding: z.string().min(1).optional(),
|
|
106
|
-
source: SourceLocationSchema.optional()
|
|
107
|
-
});
|
|
108
|
-
const ParallelMapNodeDataSchema = z.object({
|
|
109
|
-
kind: z.literal("parallel-map"),
|
|
110
|
-
parallelKind: ParallelKindSchema.optional(),
|
|
111
|
-
iterationExpression: z.string().optional(),
|
|
112
|
-
stepNames: z.array(z.string()).optional(),
|
|
113
|
-
outputBinding: z.string().min(1).optional(),
|
|
114
|
-
preStatements: z.array(FlowStatementSchema).optional(),
|
|
115
|
-
source: SourceLocationSchema.optional(),
|
|
116
|
-
astKind: z.string().min(1).optional()
|
|
117
|
-
});
|
|
118
|
-
const LoopNodeDataSchema = z.object({
|
|
119
|
-
kind: z.literal("loop"),
|
|
120
|
-
loopKind: LoopKindSchema.optional(),
|
|
121
|
-
source: SourceLocationSchema.optional(),
|
|
122
|
-
astKind: z.string().min(1).optional(),
|
|
123
|
-
conditionText: z.string().optional()
|
|
124
|
-
});
|
|
125
|
-
const ExitNodeDataSchema = z.object({
|
|
126
|
-
kind: z.literal("exit"),
|
|
127
|
-
exitKind: ExitKindSchema,
|
|
128
|
-
sourceText: z.string().optional(),
|
|
129
|
-
source: SourceLocationSchema.optional(),
|
|
130
|
-
astKind: z.string().min(1).optional()
|
|
131
|
-
});
|
|
132
|
-
const FlowNodeDataSchema = z.discriminatedUnion("kind", [
|
|
133
|
-
EntryNodeDataSchema,
|
|
134
|
-
StepNodeDataSchema,
|
|
135
|
-
CodeBlockNodeDataSchema,
|
|
136
|
-
DecisionNodeDataSchema,
|
|
137
|
-
MergeNodeDataSchema,
|
|
138
|
-
ForkNodeDataSchema,
|
|
139
|
-
JoinNodeDataSchema,
|
|
140
|
-
ParallelMapNodeDataSchema,
|
|
141
|
-
LoopNodeDataSchema,
|
|
142
|
-
ExitNodeDataSchema
|
|
143
|
-
]);
|
|
144
|
-
const FlowEdgeDataSchema = z.object({ branchKind: FlowBranchKindSchema.optional() }).catchall(z.unknown());
|
|
145
|
-
const FlowPositionSchema = z.object({
|
|
146
|
-
x: z.number().finite(),
|
|
147
|
-
y: z.number().finite()
|
|
148
|
-
});
|
|
149
|
-
const FlowNodeSchema = z.object({
|
|
150
|
-
id: z.string().min(1),
|
|
151
|
-
type: FlowNodeTypeSchema,
|
|
152
|
-
label: z.string(),
|
|
153
|
-
position: FlowPositionSchema,
|
|
154
|
-
data: FlowNodeDataSchema
|
|
155
|
-
});
|
|
156
|
-
const FlowEdgeSchema = z.object({
|
|
157
|
-
id: z.string().min(1),
|
|
158
|
-
source: z.string().min(1),
|
|
159
|
-
target: z.string().min(1),
|
|
160
|
-
type: FlowEdgeTypeSchema,
|
|
161
|
-
label: z.string().optional(),
|
|
162
|
-
data: FlowEdgeDataSchema.optional()
|
|
163
|
-
});
|
|
164
|
-
const FlowGraphSchema = z.object({
|
|
165
|
-
nodes: z.array(FlowNodeSchema),
|
|
166
|
-
edges: z.array(FlowEdgeSchema),
|
|
167
|
-
entryPoint: z.string().min(1),
|
|
168
|
-
exitPoints: z.array(z.string().min(1)),
|
|
169
|
-
generatedAt: z.iso.datetime(),
|
|
170
|
-
diagnostics: z.array(z.string())
|
|
171
|
-
});
|
|
172
|
-
//#endregion
|
|
173
|
-
//#region ../../packages/workflow-build-contracts/src/workflow-build-manifest.ts
|
|
174
|
-
const WORKFLOW_MANIFEST_GENERATOR = "local-build";
|
|
175
|
-
const WORKFLOW_MANIFEST_SCHEMA_VERSION = "1.0.0";
|
|
176
|
-
z.object({
|
|
177
|
-
name: z.string().trim().min(1).max(255),
|
|
178
|
-
description: z.string().trim().min(1).optional(),
|
|
179
|
-
tags: z.array(z.string()).optional()
|
|
180
|
-
});
|
|
181
|
-
z.object({
|
|
182
|
-
name: z.string().trim().min(1).max(255),
|
|
183
|
-
description: z.string().trim().min(1).optional(),
|
|
184
|
-
tags: z.array(z.string()).optional()
|
|
185
|
-
});
|
|
186
|
-
const WorkflowIOSchema = z.object({
|
|
187
|
-
input: JsonSchemaSchema.nullable(),
|
|
188
|
-
output: JsonSchemaSchema.nullable()
|
|
189
|
-
});
|
|
190
|
-
const BuildInfoSchema = z.object({
|
|
191
|
-
timestamp: z.iso.datetime(),
|
|
192
|
-
builderVersion: z.string().min(1),
|
|
193
|
-
generatedBy: z.literal(WORKFLOW_MANIFEST_GENERATOR),
|
|
194
|
-
gitCommit: z.string().optional(),
|
|
195
|
-
gitBranch: z.string().optional(),
|
|
196
|
-
gitIsDirty: z.boolean().optional(),
|
|
197
|
-
nodeVersion: z.string().min(1),
|
|
198
|
-
platform: z.string().min(1),
|
|
199
|
-
sourceChecksumAlgorithm: z.enum(["sha256"]),
|
|
200
|
-
sourceChecksum: z.string().length(64),
|
|
201
|
-
generatedFiles: z.array(z.string().min(1))
|
|
202
|
-
});
|
|
203
|
-
const ManifestDependenciesSchema = z.object({
|
|
204
|
-
localFiles: z.record(z.string(), z.string()),
|
|
205
|
-
packages: z.record(z.string(), z.string()),
|
|
206
|
-
workspacePackages: z.record(z.string(), z.string()),
|
|
207
|
-
builtins: z.array(z.string())
|
|
208
|
-
});
|
|
209
|
-
const DurationSchema = z.union([z.number().int().positive().finite(), z.string().regex(/^[1-9]\d*[smhdwy]$/)]);
|
|
210
|
-
const WorkflowTriggerBindingSchema = z.object({
|
|
211
|
-
triggerName: z.string().min(1),
|
|
212
|
-
triggerType: z.enum([
|
|
213
|
-
"webhook",
|
|
214
|
-
"cron",
|
|
215
|
-
"polling"
|
|
216
|
-
]),
|
|
217
|
-
hasTransform: z.boolean(),
|
|
218
|
-
hasFilter: z.boolean(),
|
|
219
|
-
narrowedFrom: z.string().optional(),
|
|
220
|
-
lineage: z.array(z.string()).optional()
|
|
221
|
-
});
|
|
222
|
-
const WorkflowCoreManifestSchema = z.object({
|
|
223
|
-
schemaVersion: z.literal(WORKFLOW_MANIFEST_SCHEMA_VERSION),
|
|
224
|
-
id: z.string().min(1),
|
|
225
|
-
name: z.string().trim().min(1).max(255),
|
|
226
|
-
description: z.string().trim().min(1).optional(),
|
|
227
|
-
tags: z.array(z.string()).optional(),
|
|
228
|
-
exportName: z.string().min(1),
|
|
229
|
-
workflowSchemas: WorkflowIOSchema,
|
|
230
|
-
workflowGlobals: JsonSchemaSchema.optional(),
|
|
231
|
-
timeout: DurationSchema.optional(),
|
|
232
|
-
triggers: z.array(WorkflowTriggerBindingSchema).optional()
|
|
233
|
-
});
|
|
234
|
-
const WorkflowBuildManifestSchema = WorkflowCoreManifestSchema.extend({
|
|
235
|
-
workflowSource: SourceLocationSchema.optional(),
|
|
236
|
-
buildInfo: BuildInfoSchema,
|
|
237
|
-
dependencies: ManifestDependenciesSchema,
|
|
238
|
-
hasCycles: z.boolean().optional(),
|
|
239
|
-
credentials: CredentialRequirementsSchema.optional(),
|
|
240
|
-
sandboxes: z.array(z.record(z.string(), z.unknown())).optional(),
|
|
241
|
-
steps: z.record(z.string(), WorkflowStepEntrySchema)
|
|
242
|
-
});
|
|
243
|
-
z.object({
|
|
244
|
-
organizationId: z.string(),
|
|
245
|
-
workflowId: z.string(),
|
|
246
|
-
bundle: z.instanceof(Uint8Array).optional(),
|
|
247
|
-
manifest: WorkflowBuildManifestSchema,
|
|
248
|
-
sourcePath: z.string().optional(),
|
|
249
|
-
triggers: z.array(TriggerUploadDataSchema).optional(),
|
|
250
|
-
bundleSize: z.number().optional(),
|
|
251
|
-
bundleHash: SHA256HashSchema.optional(),
|
|
252
|
-
skipVersionBump: z.boolean().optional(),
|
|
253
|
-
projectRoot: z.string().optional(),
|
|
254
|
-
projectId: z.uuid(),
|
|
255
|
-
flowJson: FlowGraphSchema.optional(),
|
|
256
|
-
deploymentSnapshotOnly: z.boolean().optional()
|
|
257
|
-
});
|
|
258
|
-
//#endregion
|
|
259
|
-
export { FlowGraphSchema as a, WorkflowCoreManifestSchema as i, WORKFLOW_MANIFEST_SCHEMA_VERSION as n, WorkflowBuildManifestSchema as r, WORKFLOW_MANIFEST_GENERATOR as t };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{credential-schema-mismatch-z74ud-YZ.mjs → credential-schema-mismatch-BHI_B-U-.mjs}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{rolldown-runtime-twds-ZHy-8uqgIurC.mjs → rolldown-runtime-twds-ZHy-BoF7MLzP.mjs}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|