@keystrokehq/cli 0.0.18 → 0.0.19
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-BVmNNAgL.mjs} +1 -1
- package/dist/{admin-CYpulx_A.mjs → admin-DQlHFuXn.mjs} +9 -9
- package/dist/{agents-Co6Jy_N8.mjs → agents-Dd7UeQCw.mjs} +3 -3
- package/dist/{api-keys-BUCLzRv_.mjs → api-keys-BsMBFiD_.mjs} +5 -5
- package/dist/{api-DsK8M-ZH.mjs → api-nR61stdq.mjs} +3 -4
- package/dist/{auth-niNm-yNT.mjs → auth-ZTuuEoD6.mjs} +5 -5
- package/dist/{auth.handler-BTH-Qb00.mjs → auth.handler-C1dZBdaG.mjs} +2 -2
- package/dist/{build-tasks-GVuMLS0h-CCxCqd02.mjs → build-tasks-GVuMLS0h-BaPhhGXO.mjs} +1 -1
- package/dist/{build-workflows-CV4tBo6S-DhFBlp6m.mjs → build-workflows-CV4tBo6S-szwrAGWT.mjs} +3 -3
- package/dist/{build.handler-BmlXPhed.mjs → build.handler-DJrEMCBw.mjs} +1 -1
- package/dist/{clear.handler-BDlwBzX4.mjs → clear.handler-BgeAg2de.mjs} +1 -1
- package/dist/{commander-BE37hxR3.mjs → commander-C5qcOo8m.mjs} +1 -1
- package/dist/{connect-C9NMD8Ky.mjs → connect-BtBKoXpi.mjs} +2 -2
- package/dist/{connect.handler-C7kysvhz.mjs → connect.handler-E8CmLRSF.mjs} +2 -2
- package/dist/{context-Bid-Rqj7.mjs → context-BydAGTiB.mjs} +1 -1
- package/dist/{create.handler-Cp9CV6SN.mjs → create.handler-CBxIPC3r.mjs} +1 -1
- package/dist/{credential-requirements-DrrQ9x9P.mjs → credential-requirements-Ob-7H-0F.mjs} +1 -1
- package/dist/{credentials-fMfKVlEn.mjs → credentials-BGaRMclS.mjs} +5 -5
- package/dist/{credentials-DUkVbhvj.mjs → credentials-jRiXEr6P.mjs} +1 -1
- package/dist/{current-deployment-workflow-DiwUcKoB.mjs → current-deployment-workflow-BVliROAz.mjs} +2 -2
- package/dist/{current.handler-eCR4nClu.mjs → current.handler-DBl9S67d.mjs} +1 -1
- package/dist/{default-urls-CTQqM1_A.mjs → default-urls-BoSm4s9C.mjs} +1 -1
- package/dist/{delete.handler-D4ElSAcr.mjs → delete.handler-Buu7Ip0D.mjs} +1 -1
- package/dist/{deploy-DyZh--f7.mjs → deploy-BPDUTKZD.mjs} +1 -1
- package/dist/{deploy-B7LRWcp6.mjs → deploy-CzTlgAFj.mjs} +2 -2
- package/dist/{deploy.handler-DVnH-Niv.mjs → deploy.handler-CCcJ7y3A.mjs} +9 -9
- package/dist/{diff.handler-lIA2pRBX.mjs → diff.handler-DUVFixeG.mjs} +2 -2
- package/dist/{dist-WFPTDQB3.mjs → dist-Cx0RV8s7.mjs} +4 -4
- package/dist/{env.handler-BIzQLlmo.mjs → env.handler-C8kNFz2U.mjs} +4 -4
- package/dist/{import-module--8x5SLum-D7EiPjwl.mjs → import-module--8x5SLum-DjPUZr4i.mjs} +9 -8
- package/dist/{init-jaqNLGmB.mjs → init-DeeOVc9m.mjs} +2 -2
- package/dist/{init.handler-DamvbPEw.mjs → init.handler-BMdhpusQ.mjs} +1 -1
- package/dist/{inspect.handler-_UcN7dxE.mjs → inspect.handler-QyTo8rWO.mjs} +2 -2
- package/dist/{integration-catalog-m8tj_XlD.mjs → integration-catalog-CmvYPvI6.mjs} +1 -1
- package/dist/integrations-tXZM-84g.mjs +185 -0
- package/dist/{invites-VntHNMYk.mjs → invites-ClyAatBW.mjs} +4 -4
- package/dist/{invites.list.handler-CPl4QHfc.mjs → invites.list.handler-CPkK_tPM.mjs} +1 -1
- package/dist/{invites.resend.handler-BAtb3AX4.mjs → invites.resend.handler-DIRI7tS2.mjs} +1 -1
- package/dist/{invites.revoke.handler-qXOF1Vgx.mjs → invites.revoke.handler-CcXcDBlU.mjs} +1 -1
- package/dist/keystroke.mjs +25 -24
- package/dist/{list-enrichment-DYvr3XDb.mjs → list-enrichment-B9238wom.mjs} +1 -1
- package/dist/{list.handler-BdRsjRlf.mjs → list.handler-BB-Dcm5B.mjs} +1 -1
- package/dist/{list.handler-C_iBLBmS.mjs → list.handler-Cbc9rlBx.mjs} +1 -1
- package/dist/{list.handler-CEjKSezx.mjs → list.handler-ClPAPSWm.mjs} +2 -2
- package/dist/{list.handler-pHnPFep8.mjs → list.handler-DdFGHkqt.mjs} +3 -3
- package/dist/{list.handler-DUz1bJ4x.mjs → list.handler-Xl_F89kq.mjs} +1 -1
- package/dist/{list.handler-CJUFdmaU.mjs → list.handler-tnsRn-Rj.mjs} +1 -1
- package/dist/{listen-DLGZEQRL.mjs → listen-ksMVpdNa.mjs} +2 -2
- package/dist/{listen.handler-kaAvYk-B.mjs → listen.handler-DEJSBg8y.mjs} +1 -1
- package/dist/{logs-CcYqFKRU.mjs → logs-C-JxXsgc.mjs} +1 -1
- package/dist/{logs.handler-lboRKNoE.mjs → logs.handler-BIegqc2p.mjs} +1 -1
- package/dist/{members.add.handler-DBydP0SR.mjs → members.add.handler-D4ggN2Xi.mjs} +1 -1
- package/dist/{members.invite.handler-D4-7fiYC.mjs → members.invite.handler-BYIt6Oib.mjs} +1 -1
- package/dist/{members.list.handler-Z4cIbcNg.mjs → members.list.handler-CvpeYKC4.mjs} +1 -1
- package/dist/{members.remove.handler-J56D83O7.mjs → members.remove.handler-C4GBUVYE.mjs} +1 -1
- package/dist/{members.update.handler-B5rBv6dt.mjs → members.update.handler-TpM1oi0L.mjs} +1 -1
- package/dist/{org-DGS91uc-.mjs → org-DIGyb7XZ.mjs} +15 -15
- package/dist/{orgs.create.handler-B4naNUSN.mjs → orgs.create.handler-RIYhse_Q.mjs} +1 -1
- package/dist/{orgs.get.handler-Ci_JrT08.mjs → orgs.get.handler-BfOpbSom.mjs} +1 -1
- package/dist/{orgs.list.handler-CJ2byIEj.mjs → orgs.list.handler-BMgj9yTD.mjs} +1 -1
- package/dist/{paused.handler-BQSQvQhB.mjs → paused.handler-DAZ1EaLN.mjs} +1 -1
- package/dist/{projects-fWvIJQ80.mjs → projects-BndElPAx.mjs} +4 -2
- package/dist/{projects-D90_uEC2.mjs → projects-Cy6CH3fI.mjs} +1 -1
- package/dist/{register.handler-CleQJhtQ.mjs → register.handler-BXeh5mdb.mjs} +18 -9
- package/dist/{requirements.handler-B51sxQSy.mjs → requirements.handler-C5vobjdJ.mjs} +3 -3
- package/dist/{run-polling-CC6y2XXI.mjs → run-polling-BhOdFyh3.mjs} +1 -1
- package/dist/{run.handler-B31BpZJP.mjs → run.handler-BpLmwF_a.mjs} +3 -3
- package/dist/{runs-Bg_qDeQi.mjs → runs-DaSd4eXn.mjs} +2 -2
- package/dist/{schemas-B8c7Z5Iy.mjs → schemas-BxFPUGWT.mjs} +3 -2
- package/dist/{skills.command-JwKWpGvU.mjs → skills.command-DQc_qGAF.mjs} +1 -1
- package/dist/{src-B0tNjKMg.mjs → src-0XVwHXNp.mjs} +1 -1
- package/dist/{switch.handler-Cu81T2HY.mjs → switch.handler-CCjMrRZN.mjs} +1 -1
- package/dist/{sync-CXNveL61.mjs → sync-BdTQDZjP.mjs} +2 -2
- package/dist/{sync.handler-7g1yDt0H.mjs → sync.handler-DjY8nqbB.mjs} +3 -3
- package/dist/{task-BguWXIiH.mjs → task-BRmL2lmw.mjs} +1 -1
- package/dist/{task-target-build-BaMtXnN7.mjs → task-target-build-DCV0UDaz.mjs} +1 -1
- package/dist/task-target-deploy-runner.mjs +5 -5
- package/dist/{test-A5hz3c7j.mjs → test-TTQXrhHm.mjs} +2 -2
- package/dist/{test.handler-CJtaMZVy.mjs → test.handler-B7Ahe9ta.mjs} +4 -4
- package/dist/{test.handler-Cq2l7SAr.mjs → test.handler-CkkplyX6.mjs} +1 -1
- package/dist/{tool.handler-B-mOL128.mjs → tool.handler-DMfFZCRg.mjs} +5 -5
- package/dist/{trigger-manifest-Bq2zRbkV.mjs → trigger-manifest-DxdCjGz_.mjs} +1 -1
- package/dist/{upgrade-DhfpoyRV.mjs → upgrade-Cx-bUWUc.mjs} +1 -1
- package/dist/{upload.handler-D3-W_1kq.mjs → upload.handler-_d2WZwxd.mjs} +4 -4
- package/dist/{users.get.handler-Bd0OBI-E.mjs → users.get.handler-DIooG7Wy.mjs} +1 -1
- package/dist/{users.list.handler-CacJz6eC.mjs → users.list.handler-DdGW-DSg.mjs} +1 -1
- package/dist/{users.set-role.handler-bZMQtUR0.mjs → users.set-role.handler-Ek-kntLp.mjs} +1 -1
- package/dist/{validate.handler-Ccq66ki4.mjs → validate.handler-Cq2uJjXY.mjs} +1 -1
- package/dist/{workflow-build-_WNsLKwW.mjs → workflow-build-C8AiYxqp.mjs} +7 -7
- package/dist/{workflow-build-manifest-B2GqHyWE.mjs → workflow-build-manifest-BKKW9D05.mjs} +1 -1
- package/dist/{workflows-Dy2M9bEr.mjs → workflows-K6zetcqI.mjs} +14 -14
- package/dist/{writer-B-SpZ0G2-tq1MFgid.mjs → writer-B-SpZ0G2-CLh7sXRd.mjs} +1 -1
- package/package.json +3 -3
- package/dist/integrations-DRL3JmC8.mjs +0 -85
package/README.md
CHANGED
|
@@ -152,7 +152,7 @@ keystroke test tool <tool-name> --agent <agent-id-or-name> --input-file ./input.
|
|
|
152
152
|
`keystroke auth` works out of the box against the hosted Keystroke service:
|
|
153
153
|
|
|
154
154
|
- Web URL: `https://keystroke.ai`
|
|
155
|
-
- API URL: `https://api.
|
|
155
|
+
- API URL: `https://api.keystroke.ai`
|
|
156
156
|
|
|
157
157
|
Use `WEB_URL` / `SERVER_URL` or the `--web-url` / `--server-url` flags when pointing the CLI at a local, staging, or preview environment.
|
|
158
158
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-BydAGTiB.mjs";
|
|
6
6
|
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
|
|
7
7
|
//#region src/commands/invites/accept.handler.ts
|
|
8
8
|
async function handleInvitesAccept(options, ctx) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-C5qcOo8m.mjs";
|
|
5
5
|
import { t as OrgRoleSchema } from "./schema-Lbp5lGJu.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/admin/orgs.command.ts
|
|
@@ -28,21 +28,21 @@ function createAdminOrgsCommand() {
|
|
|
28
28
|
description: "Manage organizations as a platform admin",
|
|
29
29
|
schema: AdminOrgsListOptionsSchema,
|
|
30
30
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
31
|
-
loadHandler: async () => (await import("./orgs.list.handler-
|
|
31
|
+
loadHandler: async () => (await import("./orgs.list.handler-BMgj9yTD.mjs")).handleAdminOrgsList,
|
|
32
32
|
subcommands: [
|
|
33
33
|
createTypedCommand({
|
|
34
34
|
name: "create",
|
|
35
35
|
description: "Create an organization (requires system.create_org)",
|
|
36
36
|
schema: AdminOrgsCreateOptionsSchema,
|
|
37
37
|
optionsConfig: CREATE_OPTIONS_CONFIG,
|
|
38
|
-
loadHandler: async () => (await import("./orgs.create.handler-
|
|
38
|
+
loadHandler: async () => (await import("./orgs.create.handler-RIYhse_Q.mjs")).handleAdminOrgsCreate
|
|
39
39
|
}),
|
|
40
40
|
createTypedCommand({
|
|
41
41
|
name: "list",
|
|
42
42
|
description: "List organizations (requires system.view_orgs)",
|
|
43
43
|
schema: AdminOrgsListOptionsSchema,
|
|
44
44
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
45
|
-
loadHandler: async () => (await import("./orgs.list.handler-
|
|
45
|
+
loadHandler: async () => (await import("./orgs.list.handler-BMgj9yTD.mjs")).handleAdminOrgsList
|
|
46
46
|
}),
|
|
47
47
|
createTypedCommand({
|
|
48
48
|
name: "get",
|
|
@@ -54,7 +54,7 @@ function createAdminOrgsCommand() {
|
|
|
54
54
|
description: "Organization ID",
|
|
55
55
|
key: "orgId"
|
|
56
56
|
},
|
|
57
|
-
loadHandler: async () => (await import("./orgs.get.handler-
|
|
57
|
+
loadHandler: async () => (await import("./orgs.get.handler-BfOpbSom.mjs")).handleAdminOrgsGet
|
|
58
58
|
})
|
|
59
59
|
]
|
|
60
60
|
});
|
|
@@ -157,14 +157,14 @@ function createAdminUsersCommand() {
|
|
|
157
157
|
description: "Manage platform users",
|
|
158
158
|
schema: AdminUsersListOptionsSchema,
|
|
159
159
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
160
|
-
loadHandler: async () => (await import("./users.list.handler-
|
|
160
|
+
loadHandler: async () => (await import("./users.list.handler-DdGW-DSg.mjs")).handleAdminUsersList,
|
|
161
161
|
subcommands: [
|
|
162
162
|
createTypedCommand({
|
|
163
163
|
name: "list",
|
|
164
164
|
description: "List platform users",
|
|
165
165
|
schema: AdminUsersListOptionsSchema,
|
|
166
166
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
167
|
-
loadHandler: async () => (await import("./users.list.handler-
|
|
167
|
+
loadHandler: async () => (await import("./users.list.handler-DdGW-DSg.mjs")).handleAdminUsersList
|
|
168
168
|
}),
|
|
169
169
|
createTypedCommand({
|
|
170
170
|
name: "get",
|
|
@@ -176,7 +176,7 @@ function createAdminUsersCommand() {
|
|
|
176
176
|
description: "User ID",
|
|
177
177
|
key: "userId"
|
|
178
178
|
},
|
|
179
|
-
loadHandler: async () => (await import("./users.get.handler-
|
|
179
|
+
loadHandler: async () => (await import("./users.get.handler-DIooG7Wy.mjs")).handleAdminUsersGet
|
|
180
180
|
}),
|
|
181
181
|
createTypedCommand({
|
|
182
182
|
name: "set-role",
|
|
@@ -188,7 +188,7 @@ function createAdminUsersCommand() {
|
|
|
188
188
|
description: "User ID",
|
|
189
189
|
key: "userId"
|
|
190
190
|
},
|
|
191
|
-
loadHandler: async () => (await import("./users.set-role.handler-
|
|
191
|
+
loadHandler: async () => (await import("./users.set-role.handler-Ek-kntLp.mjs")).handleAdminUsersSetRole
|
|
192
192
|
})
|
|
193
193
|
]
|
|
194
194
|
});
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import { a as ui, j as throwReportedCliExit, n as style, t as ANSI, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-CIInPRGh.mjs";
|
|
5
5
|
import { i as writeJson, n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
|
|
6
|
-
import { t as createTypedCommand } from "./commander-
|
|
7
|
-
import { i as readAgentManifestsFromOutDir } from "./dist-
|
|
6
|
+
import { t as createTypedCommand } from "./commander-C5qcOo8m.mjs";
|
|
7
|
+
import { i as readAgentManifestsFromOutDir } from "./dist-Cx0RV8s7.mjs";
|
|
8
8
|
import { t as requireWorkflowsDir } from "./resolve-project-CNQtOWE4.mjs";
|
|
9
9
|
import { t as createSpinnerProgress } from "./spinner-progress-Bx-fYItP.mjs";
|
|
10
|
-
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-
|
|
10
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-C8AiYxqp.mjs";
|
|
11
11
|
import { i as resolveTypeHint } from "./schema-display-NVEl_DFY.mjs";
|
|
12
12
|
import { z } from "zod";
|
|
13
13
|
//#region src/commands/agents/inspect-display.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-C5qcOo8m.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/api-keys/api-keys.command.ts
|
|
7
7
|
const ApiKeysCreateOptionsSchema = JsonOptionSchema.extend({ name: z.string().optional() });
|
|
@@ -23,21 +23,21 @@ function createApiKeysCommand() {
|
|
|
23
23
|
description: "Manage API keys for your organization",
|
|
24
24
|
schema: JsonOptionSchema,
|
|
25
25
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
26
|
-
loadHandler: async () => (await import("./list.handler-
|
|
26
|
+
loadHandler: async () => (await import("./list.handler-BB-Dcm5B.mjs")).handleApiKeysList,
|
|
27
27
|
subcommands: [
|
|
28
28
|
createTypedCommand({
|
|
29
29
|
name: "list",
|
|
30
30
|
description: "List all API keys for your organization",
|
|
31
31
|
schema: JsonOptionSchema,
|
|
32
32
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
33
|
-
loadHandler: async () => (await import("./list.handler-
|
|
33
|
+
loadHandler: async () => (await import("./list.handler-BB-Dcm5B.mjs")).handleApiKeysList
|
|
34
34
|
}),
|
|
35
35
|
createTypedCommand({
|
|
36
36
|
name: "create",
|
|
37
37
|
description: "Create a new API key (raw key shown once)",
|
|
38
38
|
schema: ApiKeysCreateOptionsSchema,
|
|
39
39
|
optionsConfig: CREATE_OPTIONS_CONFIG,
|
|
40
|
-
loadHandler: async () => (await import("./create.handler-
|
|
40
|
+
loadHandler: async () => (await import("./create.handler-CBxIPC3r.mjs")).handleApiKeysCreate
|
|
41
41
|
}),
|
|
42
42
|
createTypedCommand({
|
|
43
43
|
name: "delete",
|
|
@@ -49,7 +49,7 @@ function createApiKeysCommand() {
|
|
|
49
49
|
description: "API key ID to delete",
|
|
50
50
|
key: "apiKeyId"
|
|
51
51
|
},
|
|
52
|
-
loadHandler: async () => (await import("./delete.handler-
|
|
52
|
+
loadHandler: async () => (await import("./delete.handler-Buu7Ip0D.mjs")).handleApiKeysDelete
|
|
53
53
|
})
|
|
54
54
|
]
|
|
55
55
|
});
|
|
@@ -113,10 +113,9 @@ const CredentialConnectionCatalogEntrySchema = z.object({
|
|
|
113
113
|
const IntegrationCatalogEntryBaseSchema = z.object({
|
|
114
114
|
publicId: z.string(),
|
|
115
115
|
/**
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
* list and get the same catalog record back.
|
|
116
|
+
* Lookup IDs for this catalog entry. The canonical credential definition
|
|
117
|
+
* ID is always included; servers may add aliases later if they reintroduce
|
|
118
|
+
* alternate names outside the database schema.
|
|
120
119
|
*/
|
|
121
120
|
aliases: z.array(z.string()),
|
|
122
121
|
name: z.string(),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { n as DEFAULT_CLI_WEB_URL } from "./default-urls-
|
|
3
|
+
import { n as DEFAULT_CLI_WEB_URL } from "./default-urls-BoSm4s9C.mjs";
|
|
4
4
|
import { b as AUTH_TIMEOUT_SECONDS } from "./keystroke.mjs";
|
|
5
|
-
import { t as createTypedCommand } from "./commander-
|
|
5
|
+
import { t as createTypedCommand } from "./commander-C5qcOo8m.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/auth/auth.command.ts
|
|
8
8
|
const AuthOptionsSchema = z.object({
|
|
@@ -30,21 +30,21 @@ function createAuthCommand() {
|
|
|
30
30
|
description: "Authenticate Keystroke CLI via device flow",
|
|
31
31
|
schema: AuthOptionsSchema,
|
|
32
32
|
optionsConfig: AUTH_OPTIONS_CONFIG,
|
|
33
|
-
loadHandler: async () => (await import("./auth.handler-
|
|
33
|
+
loadHandler: async () => (await import("./auth.handler-C1dZBdaG.mjs")).handleAuth,
|
|
34
34
|
subcommands: [
|
|
35
35
|
createTypedCommand({
|
|
36
36
|
name: "clear",
|
|
37
37
|
description: "Revoke the saved API key and remove local credentials",
|
|
38
38
|
schema: z.object({}),
|
|
39
39
|
optionsConfig: {},
|
|
40
|
-
loadHandler: async () => (await import("./clear.handler-
|
|
40
|
+
loadHandler: async () => (await import("./clear.handler-BgeAg2de.mjs")).handleAuthClear
|
|
41
41
|
}),
|
|
42
42
|
createTypedCommand({
|
|
43
43
|
name: "test",
|
|
44
44
|
description: "Verify that the saved API key is valid",
|
|
45
45
|
schema: z.object({}),
|
|
46
46
|
optionsConfig: {},
|
|
47
|
-
loadHandler: async () => (await import("./test.handler-
|
|
47
|
+
loadHandler: async () => (await import("./test.handler-CkkplyX6.mjs")).handleAuthTest
|
|
48
48
|
}),
|
|
49
49
|
createTypedCommand({
|
|
50
50
|
name: "status",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { n as DEFAULT_CLI_WEB_URL, t as DEFAULT_CLI_SERVER_URL } from "./default-urls-
|
|
3
|
+
import { n as DEFAULT_CLI_WEB_URL, t as DEFAULT_CLI_SERVER_URL } from "./default-urls-BoSm4s9C.mjs";
|
|
4
4
|
import { C as CALLBACK_LOOPBACK_ORIGIN, D as CliExitError, P as logger, S as CALLBACK_LOOPBACK_HOST, T as CLI_AUTH_COMMAND, a as ui, d as resolveCliWebUrl, u as resolveCliServerUrl, w as CALLBACK_PATH, x as AUTH_URL_PATH, y as toErrorMessage } from "./keystroke.mjs";
|
|
5
5
|
import { n as credentials } from "./dist-CIInPRGh.mjs";
|
|
6
6
|
import { t as openBrowser } from "./browser-BpJ8ut9z.mjs";
|
|
@@ -266,7 +266,7 @@ function resolveAuthHosts(options, ctx) {
|
|
|
266
266
|
};
|
|
267
267
|
}
|
|
268
268
|
function shouldConfirmLoopback(hosts) {
|
|
269
|
-
if (isLoopbackUrl("https://keystroke.ai") && isLoopbackUrl("https://api.
|
|
269
|
+
if (isLoopbackUrl("https://keystroke.ai") && isLoopbackUrl("https://api.keystroke.ai")) return false;
|
|
270
270
|
const webNeedsConfirm = !hosts.webFromFlag && isLoopbackUrl(hosts.webUrl);
|
|
271
271
|
const serverNeedsConfirm = isLoopbackUrl(hosts.serverUrl);
|
|
272
272
|
return webNeedsConfirm || serverNeedsConfirm;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { n as TaskBuildManifestSchema } from "./task-
|
|
3
|
+
import { n as TaskBuildManifestSchema } from "./task-BRmL2lmw.mjs";
|
|
4
4
|
import { n as bundleWorkflowTarget } from "./workflow-bundler-BzHk73PM-WI31RJjH.mjs";
|
|
5
5
|
import { t as buildTriggerArtifacts } from "./trigger-artifacts-RizI57RC-DjhOsdOm.mjs";
|
|
6
6
|
import { performance } from "node:perf_hooks";
|
package/dist/{build-workflows-CV4tBo6S-DhFBlp6m.mjs → build-workflows-CV4tBo6S-szwrAGWT.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { f as deduplicateCredentialRequirementEntries } from "./credential-requirements-
|
|
4
|
-
import { r as WorkflowBuildManifestSchema, t as WORKFLOW_MANIFEST_GENERATOR } from "./workflow-build-manifest-
|
|
3
|
+
import { f as deduplicateCredentialRequirementEntries } from "./credential-requirements-Ob-7H-0F.mjs";
|
|
4
|
+
import { r as WorkflowBuildManifestSchema, t as WORKFLOW_MANIFEST_GENERATOR } from "./workflow-build-manifest-BKKW9D05.mjs";
|
|
5
5
|
import { a as MANIFEST_FILE_NAME, i as FLOW_FILE_NAME, r as BUNDLE_FILE_NAME, s as SOURCE_MAP_FILE_NAME, t as BUILD_DIR_NAME } from "./layout-P1v-Gssz.mjs";
|
|
6
6
|
import { t as runWithConcurrency } from "./concurrency-gXn9Rw8x-BTlfau8D.mjs";
|
|
7
|
-
import { n as WorkflowLoaderProtocolError, r as WorkflowMetadataLoadError, s as createLoaderProtocolFailure } from "./import-module--8x5SLum-
|
|
7
|
+
import { n as WorkflowLoaderProtocolError, r as WorkflowMetadataLoadError, s as createLoaderProtocolFailure } from "./import-module--8x5SLum-DjPUZr4i.mjs";
|
|
8
8
|
import { r as toRelativeFilePath } from "./normalize-path-CojS-CgQ-D4wSBHgG.mjs";
|
|
9
9
|
import { n as bundleWorkflowTarget } from "./workflow-bundler-BzHk73PM-WI31RJjH.mjs";
|
|
10
10
|
import { t as buildTriggerArtifacts } from "./trigger-artifacts-RizI57RC-DjhOsdOm.mjs";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { D as CliExitError } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-CIInPRGh.mjs";
|
|
5
5
|
import { t as requireWorkflowsDir } from "./resolve-project-CNQtOWE4.mjs";
|
|
6
|
-
import { a as runWorkflowBuild, i as renderBuildSummary, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-
|
|
6
|
+
import { a as runWorkflowBuild, i as renderBuildSummary, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-C8AiYxqp.mjs";
|
|
7
7
|
import { t as createBuildProgress } from "./build-progress-AR8xow4_.mjs";
|
|
8
8
|
import { t as withErrorBoundary } from "./error-boundary-B8cmSwJH.mjs";
|
|
9
9
|
//#region src/commands/workflows/build.handler.ts
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { P as logger, a as ui, p as AUTH_HINT, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { n as credentials } from "./dist-CIInPRGh.mjs";
|
|
5
|
-
import { createClient } from "./src-
|
|
5
|
+
import { createClient } from "./src-0XVwHXNp.mjs";
|
|
6
6
|
//#region src/commands/auth/clear.handler.ts
|
|
7
7
|
async function tryRevokeKey(apiKey, apiKeyId, baseUrl, organizationId) {
|
|
8
8
|
try {
|
|
@@ -78,7 +78,7 @@ function createTypedCommand(params) {
|
|
|
78
78
|
const globalOpts = cmd.optsWithGlobals();
|
|
79
79
|
if (globalOpts.debug) setDebug(true);
|
|
80
80
|
const contextMode = params.contextMode ?? "full";
|
|
81
|
-
const contextModule = await import("./context-
|
|
81
|
+
const contextModule = await import("./context-BydAGTiB.mjs").then((n) => n.n);
|
|
82
82
|
const base = contextMode === "auth" ? await contextModule.resolveAuthContext({
|
|
83
83
|
apiKey: globalOpts.apiKey,
|
|
84
84
|
serverUrl: globalOpts.serverUrl,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-C5qcOo8m.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/connect/connect.command.ts
|
|
7
7
|
const ConnectOptionsSchema = JsonOptionSchema.extend({
|
|
@@ -37,7 +37,7 @@ function createConnectCommand() {
|
|
|
37
37
|
description: "Connect an official integration via OAuth (e.g., keystroke connect slack)",
|
|
38
38
|
schema: ConnectOptionsSchema,
|
|
39
39
|
optionsConfig: CONNECT_OPTIONS_CONFIG,
|
|
40
|
-
loadHandler: async () => (await import("./connect.handler-
|
|
40
|
+
loadHandler: async () => (await import("./connect.handler-E8CmLRSF.mjs")).handleConnect,
|
|
41
41
|
argument: {
|
|
42
42
|
name: "integrationId",
|
|
43
43
|
description: "Integration to connect (e.g., slack, linear)",
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { a as ui, j as throwReportedCliExit, p as AUTH_HINT, v as isNetworkError, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
5
|
import { t as openBrowser } from "./browser-BpJ8ut9z.mjs";
|
|
6
|
-
import { i as InitiateConnectionResponseSchema, n as ConnectionStatusResponseSchema, r as InitiateConnectionRequestSchema } from "./api-
|
|
7
|
-
import { t as getIntegrationCatalog } from "./integration-catalog-
|
|
6
|
+
import { i as InitiateConnectionResponseSchema, n as ConnectionStatusResponseSchema, r as InitiateConnectionRequestSchema } from "./api-nR61stdq.mjs";
|
|
7
|
+
import { t as getIntegrationCatalog } from "./integration-catalog-CmvYPvI6.mjs";
|
|
8
8
|
//#region src/commands/connect/connect.handler.ts
|
|
9
9
|
function formatIntegrationLabel(catalog, integrationId) {
|
|
10
10
|
return catalog.lookupByPublicId(integrationId)?.name ?? integrationId;
|
|
@@ -37,7 +37,7 @@ async function resolveBaseContext(overrides = {}) {
|
|
|
37
37
|
const authContext = await resolveAuthContext(overrides);
|
|
38
38
|
let client = null;
|
|
39
39
|
if (authContext.apiKey && authContext.baseUrl) try {
|
|
40
|
-
const { createClient } = await import("./src-
|
|
40
|
+
const { createClient } = await import("./src-0XVwHXNp.mjs");
|
|
41
41
|
client = createClient({
|
|
42
42
|
apiKey: authContext.apiKey,
|
|
43
43
|
baseUrl: authContext.baseUrl,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui, j as throwReportedCliExit, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-BydAGTiB.mjs";
|
|
6
6
|
//#region src/commands/api-keys/create.handler.ts
|
|
7
7
|
async function handleApiKeysCreate(options, ctx) {
|
|
8
8
|
const client = requireClient(ctx);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { t as JsonSchemaSchema } from "./common-AK0q0Oz0.mjs";
|
|
4
|
-
import { n as credentialSetProxyConfigSchema } from "./schemas-
|
|
4
|
+
import { n as credentialSetProxyConfigSchema } from "./schemas-BxFPUGWT.mjs";
|
|
5
5
|
import { a as SourceLocationSchema, i as ImportSourceSchema, t as CallKindSchema } from "./source-analysis-Cs0CTBQk.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
const IntegrationScopeSchema = z.enum([
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-C5qcOo8m.mjs";
|
|
5
5
|
import { i as CredentialScopeValues, r as CredentialScopeSchema } from "./schema-BjH_e4Fo.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/credentials/list/list.command.ts
|
|
@@ -46,7 +46,7 @@ function createCredentialsListCommand() {
|
|
|
46
46
|
description: "List credential sets on the server",
|
|
47
47
|
schema: ListOptionsSchema,
|
|
48
48
|
optionsConfig: LIST_OPTIONS_CONFIG,
|
|
49
|
-
loadHandler: async () => (await import("./list.handler-
|
|
49
|
+
loadHandler: async () => (await import("./list.handler-DdFGHkqt.mjs")).handleCredentialsList
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
//#endregion
|
|
@@ -65,7 +65,7 @@ function createCredentialsRequirementsCommand() {
|
|
|
65
65
|
description: "Show what credentials built workflows need (keys, KEYSTROKE_* env names, workflows) — from dist manifests, no API call",
|
|
66
66
|
schema: RequirementsOptionsSchema,
|
|
67
67
|
optionsConfig: REQUIREMENTS_OPTIONS_CONFIG,
|
|
68
|
-
loadHandler: async () => (await import("./requirements.handler-
|
|
68
|
+
loadHandler: async () => (await import("./requirements.handler-C5vobjdJ.mjs")).handleCredentialsRequirements
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
//#endregion
|
|
@@ -126,7 +126,7 @@ function createCredentialsUploadCommand() {
|
|
|
126
126
|
description: "Upload credentials from env vars to the server. Default: reads requirements from built workflow manifests. Use --integration for an official integration or --credential-set + --keys for a custom explicit upload.",
|
|
127
127
|
schema: UploadOptionsSchema,
|
|
128
128
|
optionsConfig: UPLOAD_OPTIONS_CONFIG,
|
|
129
|
-
loadHandler: async () => (await import("./upload.handler-
|
|
129
|
+
loadHandler: async () => (await import("./upload.handler-_d2WZwxd.mjs")).handleCredentialsUpload
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
132
|
//#endregion
|
|
@@ -157,7 +157,7 @@ function createCredentialsCommand() {
|
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
159
|
handler: async (opts, ctx) => {
|
|
160
|
-
const { handleCredentialsList } = await import("./list.handler-
|
|
160
|
+
const { handleCredentialsList } = await import("./list.handler-DdFGHkqt.mjs");
|
|
161
161
|
await handleCredentialsList({
|
|
162
162
|
...opts,
|
|
163
163
|
scope: void 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { d as collectCredentialRequirementEntries } from "./credential-requirements-
|
|
3
|
+
import { d as collectCredentialRequirementEntries } from "./credential-requirements-Ob-7H-0F.mjs";
|
|
4
4
|
//#region ../../packages/workflow-deploy/dist/credentials/index.mjs
|
|
5
5
|
/**
|
|
6
6
|
* Resolves credential values from environment using KEYSTROKE_<KEY> convention.
|
package/dist/{current-deployment-workflow-DiwUcKoB.mjs → current-deployment-workflow-BVliROAz.mjs}
RENAMED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import { A as WorkflowResolutionError, a as ui, g as getHttpStatus, h as getApiErrorCode } from "./keystroke.mjs";
|
|
4
4
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
5
|
-
import { a as readManifestsFromOutDir } from "./dist-
|
|
5
|
+
import { a as readManifestsFromOutDir } from "./dist-Cx0RV8s7.mjs";
|
|
6
6
|
import { t as requireWorkflowsDir } from "./resolve-project-CNQtOWE4.mjs";
|
|
7
7
|
import { t as createSpinnerProgress } from "./spinner-progress-Bx-fYItP.mjs";
|
|
8
|
-
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-
|
|
8
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-C8AiYxqp.mjs";
|
|
9
9
|
//#region src/commands/workflows/_shared/current-deployment-workflow.ts
|
|
10
10
|
/**
|
|
11
11
|
* Lightweight resolution: gets projectId from keystroke.config.ts and authoredWorkflowId
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as requireClient } from "./context-
|
|
4
|
+
import { i as requireClient } from "./context-BydAGTiB.mjs";
|
|
5
5
|
//#region src/commands/org/current.handler.ts
|
|
6
6
|
async function handleOrgCurrent(_options, ctx) {
|
|
7
7
|
if (!ctx.organizationId) {
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
//#region src/lib/default-urls.ts
|
|
4
4
|
const DEFAULT_CLI_WEB_URL = "https://keystroke.ai";
|
|
5
|
-
const DEFAULT_CLI_SERVER_URL = "https://api.
|
|
5
|
+
const DEFAULT_CLI_SERVER_URL = "https://api.keystroke.ai";
|
|
6
6
|
//#endregion
|
|
7
7
|
export { DEFAULT_CLI_WEB_URL as n, DEFAULT_CLI_SERVER_URL as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { a as ui, j as throwReportedCliExit, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
|
-
import { i as requireClient } from "./context-
|
|
4
|
+
import { i as requireClient } from "./context-BydAGTiB.mjs";
|
|
5
5
|
//#region src/commands/api-keys/delete.handler.ts
|
|
6
6
|
async function handleApiKeysDelete(options, ctx) {
|
|
7
7
|
const client = requireClient(ctx);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { a as createKyInstance, n as auth, r as bundles, s as getClientEnv, t as projects } from "./projects-
|
|
3
|
+
import { a as createKyInstance, n as auth, r as bundles, s as getClientEnv, t as projects } from "./projects-BndElPAx.mjs";
|
|
4
4
|
//#region ../../packages/workflow-sdk/src/deploy.ts
|
|
5
5
|
function createDeployClient(config = {}) {
|
|
6
6
|
const env = getClientEnv();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { t as createTypedCommand } from "./commander-
|
|
3
|
+
import { t as createTypedCommand } from "./commander-C5qcOo8m.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/deploy/deploy.command.ts
|
|
6
6
|
/**
|
|
@@ -64,7 +64,7 @@ function createDeployCommand() {
|
|
|
64
64
|
schema: DeployOptionsSchema,
|
|
65
65
|
optionsConfig: DEPLOY_OPTIONS_CONFIG,
|
|
66
66
|
contextMode: "auth",
|
|
67
|
-
loadHandler: async () => (await import("./deploy.handler-
|
|
67
|
+
loadHandler: async () => (await import("./deploy.handler-CCcJ7y3A.mjs")).handleDeploy
|
|
68
68
|
});
|
|
69
69
|
cmd.enablePositionalOptions();
|
|
70
70
|
cmd.passThroughOptions();
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
import { D as CliExitError, P as logger, a as ui, l as isLocalMode, n as style, t as ANSI } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-CIInPRGh.mjs";
|
|
5
5
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
6
|
-
import { r as requireAuthOptions, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-
|
|
7
|
-
import { i as readAgentManifestsFromOutDir, o as readWorkflowsFromDisk } from "./dist-
|
|
6
|
+
import { r as requireAuthOptions, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-BydAGTiB.mjs";
|
|
7
|
+
import { i as readAgentManifestsFromOutDir, o as readWorkflowsFromDisk } from "./dist-Cx0RV8s7.mjs";
|
|
8
8
|
import { t as requireWorkflowsDir } from "./resolve-project-CNQtOWE4.mjs";
|
|
9
|
-
import { n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-
|
|
9
|
+
import { n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-C8AiYxqp.mjs";
|
|
10
10
|
import { t as createBuildProgress } from "./build-progress-AR8xow4_.mjs";
|
|
11
11
|
import { t as createDeployProgress } from "./deploy-progress-DK87VKJ-.mjs";
|
|
12
12
|
import { t as withErrorBoundary } from "./error-boundary-B8cmSwJH.mjs";
|
|
13
|
-
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-
|
|
13
|
+
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-BVliROAz.mjs";
|
|
14
14
|
import { t as computeWorkflowDiff } from "./diff-utils-B0ED-Igv.mjs";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import { access } from "node:fs/promises";
|
|
@@ -198,7 +198,7 @@ async function handleDeploy(options, ctx) {
|
|
|
198
198
|
let outDir;
|
|
199
199
|
let artifactFilter;
|
|
200
200
|
try {
|
|
201
|
-
const { runWorkflowBuild } = await import("./workflow-build-
|
|
201
|
+
const { runWorkflowBuild } = await import("./workflow-build-C8AiYxqp.mjs").then((n) => n.o);
|
|
202
202
|
const buildOutcome = await runWorkflowBuild({
|
|
203
203
|
workflowsDir,
|
|
204
204
|
verbose: options.verbose,
|
|
@@ -233,7 +233,7 @@ async function handleDeploy(options, ctx) {
|
|
|
233
233
|
const progress = createDeployProgress();
|
|
234
234
|
let result;
|
|
235
235
|
try {
|
|
236
|
-
result = await (deployHandlerDependencies.deployFromDir ?? (await import("./dist-
|
|
236
|
+
result = await (deployHandlerDependencies.deployFromDir ?? (await import("./dist-Cx0RV8s7.mjs").then((n) => n.r)).deployFromDir)({
|
|
237
237
|
outDir,
|
|
238
238
|
workflowsDir,
|
|
239
239
|
client,
|
|
@@ -260,7 +260,7 @@ async function handleDeploy(options, ctx) {
|
|
|
260
260
|
}
|
|
261
261
|
async function handleTaskTargetDeploy(options) {
|
|
262
262
|
renderBuildHeader(void 0);
|
|
263
|
-
const buildResult = await (deployHandlerDependencies.buildTaskTargets ?? (await import("./task-target-build-
|
|
263
|
+
const buildResult = await (deployHandlerDependencies.buildTaskTargets ?? (await import("./task-target-build-DCV0UDaz.mjs")).buildTaskTargets)({
|
|
264
264
|
projectRoot: options.workflowsDir,
|
|
265
265
|
targetFiles: options.targetFiles,
|
|
266
266
|
disableSourcemaps: options.options.disableSourcemaps
|
|
@@ -300,7 +300,7 @@ async function handleTaskTargetDeploy(options) {
|
|
|
300
300
|
}
|
|
301
301
|
async function createFullDeployClient(ctx) {
|
|
302
302
|
const authOptions = requireAuthOptions(ctx);
|
|
303
|
-
const { createClient } = await import("./src-
|
|
303
|
+
const { createClient } = await import("./src-0XVwHXNp.mjs");
|
|
304
304
|
return createClient({
|
|
305
305
|
...authOptions,
|
|
306
306
|
onRequest: (info) => logger.debug(`-> ${info.method} ${info.url}`, {
|
|
@@ -315,7 +315,7 @@ async function createFullDeployClient(ctx) {
|
|
|
315
315
|
}
|
|
316
316
|
async function createTaskDeployClient(ctx) {
|
|
317
317
|
const authOptions = requireAuthOptions(ctx);
|
|
318
|
-
return (deployHandlerDependencies.createDeployClient ?? (await import("./deploy-
|
|
318
|
+
return (deployHandlerDependencies.createDeployClient ?? (await import("./deploy-BPDUTKZD.mjs")).createDeployClient)(authOptions);
|
|
319
319
|
}
|
|
320
320
|
function renderSuccessSummary(result) {
|
|
321
321
|
const tasks = result.tasks || [];
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { D as CliExitError, a as ui, j as throwReportedCliExit, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-CIInPRGh.mjs";
|
|
5
5
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
6
|
-
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-
|
|
7
|
-
import { n as resolveLocalWorkflowManifest, t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-
|
|
6
|
+
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-BydAGTiB.mjs";
|
|
7
|
+
import { n as resolveLocalWorkflowManifest, t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-BVliROAz.mjs";
|
|
8
8
|
import { n as renderDiff, t as computeWorkflowDiff } from "./diff-utils-B0ED-Igv.mjs";
|
|
9
9
|
//#region src/commands/workflows/diff/diff.handler.ts
|
|
10
10
|
async function handleWorkflowsDiff(options, ctx) {
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
import { n as __exportAll } from "./chunk-CH6r78ws.mjs";
|
|
4
4
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
5
5
|
import { n as SHA256HashSchema } from "./common-AK0q0Oz0.mjs";
|
|
6
|
-
import { c as TriggerUploadDataSchema, d as collectCredentialRequirementEntries } from "./credential-requirements-
|
|
7
|
-
import { a as FlowGraphSchema, r as WorkflowBuildManifestSchema } from "./workflow-build-manifest-
|
|
6
|
+
import { c as TriggerUploadDataSchema, d as collectCredentialRequirementEntries } from "./credential-requirements-Ob-7H-0F.mjs";
|
|
7
|
+
import { a as FlowGraphSchema, r as WorkflowBuildManifestSchema } from "./workflow-build-manifest-BKKW9D05.mjs";
|
|
8
8
|
import { t as AgentVersionManifestSchema } from "./agent-manifest-tIsqF2OP.mjs";
|
|
9
|
-
import { n as TaskBuildManifestSchema } from "./task-
|
|
9
|
+
import { n as TaskBuildManifestSchema } from "./task-BRmL2lmw.mjs";
|
|
10
10
|
import { n as FileMetadataSchema } from "./file-metadata-lrX05iRt.mjs";
|
|
11
11
|
import { t as computeProjectSnapshotHash } from "./task-target-deploy-CZBGNC0H-I-tvkGCC.mjs";
|
|
12
12
|
import { a as MANIFEST_FILE_NAME, d as getMetadataRoot, f as getTriggersDir, m as getWorkflowManifestPath, p as getWorkflowArtifactPaths, t as BUILD_DIR_NAME } from "./layout-P1v-Gssz.mjs";
|
|
13
13
|
import { n as resolveProjectBuildOutputDir } from "./utils-BMUWnz1P.mjs";
|
|
14
|
-
import { t as TriggerBuildManifestSchema } from "./trigger-manifest-
|
|
14
|
+
import { t as TriggerBuildManifestSchema } from "./trigger-manifest-DxdCjGz_.mjs";
|
|
15
15
|
import { t as batchUpload } from "./upload-BbcMkyVl.mjs";
|
|
16
16
|
import * as path$1 from "node:path";
|
|
17
17
|
import path from "node:path";
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import { D as CliExitError, _ as isAuthError, a as ui, j as throwReportedCliExit, m as REAUTH_HINT, n as style, t as ANSI, v as isNetworkError, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-CIInPRGh.mjs";
|
|
5
5
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
6
|
-
import { i as requireClient } from "./context-
|
|
6
|
+
import { i as requireClient } from "./context-BydAGTiB.mjs";
|
|
7
7
|
import { n as CredentialConnectionIdSchema, r as CredentialScopeSchema, t as ConnectionStatusSchema } from "./schema-BjH_e4Fo.mjs";
|
|
8
|
-
import { a as readManifestsFromOutDir } from "./dist-
|
|
8
|
+
import { a as readManifestsFromOutDir } from "./dist-Cx0RV8s7.mjs";
|
|
9
9
|
import { t as requireWorkflowsDir } from "./resolve-project-CNQtOWE4.mjs";
|
|
10
|
-
import { t as getIntegrationCatalog } from "./integration-catalog-
|
|
11
|
-
import { t as groupCredentialRequirements } from "./credentials-
|
|
10
|
+
import { t as getIntegrationCatalog } from "./integration-catalog-CmvYPvI6.mjs";
|
|
11
|
+
import { t as groupCredentialRequirements } from "./credentials-jRiXEr6P.mjs";
|
|
12
12
|
import { z } from "zod";
|
|
13
13
|
import Table from "cli-table3";
|
|
14
14
|
//#region ../../packages/shared-types/src/credentials/api/responses.ts
|