@keystrokehq/cli 0.1.69 → 0.1.70
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/dist-0KLRARak.mjs +3 -0
- package/dist/{dist-CoQNnzgA.mjs → dist-B8-vsCpf.mjs} +3 -3
- package/dist/{dist-CoQNnzgA.mjs.map → dist-B8-vsCpf.mjs.map} +1 -1
- package/dist/{dist-FSvBEy0q.mjs → dist-Bzry3J_e.mjs} +8 -4
- package/dist/{dist-FSvBEy0q.mjs.map → dist-Bzry3J_e.mjs.map} +1 -1
- package/dist/{dist-DUQegnm2.mjs → dist-Dfp6ywxz.mjs} +2 -2
- package/dist/{dist-DUQegnm2.mjs.map → dist-Dfp6ywxz.mjs.map} +1 -1
- package/dist/{dist-29Z9arBu.mjs → dist-JMNXwH6-.mjs} +19 -18
- package/dist/dist-JMNXwH6-.mjs.map +1 -0
- package/dist/index.mjs +15 -12
- package/dist/index.mjs.map +1 -1
- package/dist/{maybe-auto-update-b1ORh8RQ.mjs → maybe-auto-update-B2QRoCE7.mjs} +2 -2
- package/dist/{maybe-auto-update-b1ORh8RQ.mjs.map → maybe-auto-update-B2QRoCE7.mjs.map} +1 -1
- package/dist/skills-bundle/_AGENTS.md +4 -2
- package/dist/{version-FhdOja-n.mjs → version-D4niTLnU.mjs} +2 -2
- package/dist/{version-FhdOja-n.mjs.map → version-D4niTLnU.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/dist-29Z9arBu.mjs.map +0 -1
- package/dist/dist-LTmhfQex.mjs +0 -3
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { $ as CredentialConsumerListResponseSchema, $n as WorkflowRunInputsSchema, $t as PresignUserAvatarRequestSchema, A as ConfirmCheckoutResponseSchema, An as UpdateCredentialInstanceBodySchema, At as ListOrganizationInvitationsResponseSchema, B as CreateCreditsCheckoutRequestSchema, Bn as UploadProjectSourceManifestRequestSchema, Bt as McpDiscoverResponseSchema, C as ChannelAccountListResponseSchema, Cn as SubmitTeamRequestRequestSchema, Cr as resolveDocsMcpUrl, D as ChannelPlatformSchema, Dn as TriggerRunListResponseSchema, Dt as ListAppsResponseSchema, E as ChannelDirectoryListResponseSchema, En as TriggerRunDetailResponseSchema, Et as ListApiKeysResponseSchema, F as CreateApiKeyResponseSchema, Fn as UpdateOrganizationRequestSchema, Ft as ListProjectMembersResponseSchema, G as CreateProjectArtifactResponseSchema, Gn as UserPreferencesPatchSchema, Gt as PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS, H as CreateCustomAppResponseSchema, Hn as UpsertGatewayAttachmentBodySchema, Ht as OrganizationSidebarBrandingPatchSchema, I as CreateBillingPortalRequestSchema, In as UpdateProjectMemberRequestSchema, It as ListProjectMetricsResponseSchema, J as CreateSubscriptionCheckoutRequestSchema, Jn as WorkflowCanvasRunSchema, Jt as PresignChatAttachmentResponseSchema, K as CreateProjectRequestSchema, Kn as UserPreferencesSchema, Kt as PollRunResponseSchema, L as CreateCredentialInstanceBodySchema, Ln as UpdateProjectMemberResponseSchema, Lt as ListProjectsResponseSchema, M as ConnectManagedServiceCredentialRequestSchema, Mn as UpdateManagedServiceCredentialRequestSchema, Mt as ListOrganizationsResponseSchema, N as ConnectProvidersResponseSchema, Nn as UpdateOrganizationMemberRequestSchema, Nt as ListProjectDeploymentsResponseSchema, O as CompleteProjectArtifactResponseSchema, On as UpdateAutoTopupRequestSchema, Ot as ListCredentialsResponseSchema, P as CreateApiKeyRequestSchema, Pn as UpdateOrganizationMemberResponseSchema, Pt as ListProjectFilesResponseSchema, Q as CredentialConsumerListQuerySchema, Qn as WorkflowRunInputsPutBodySchema, Qt as PresignProjectSourceResponseSchema, R as CreateCredentialsRequestSchema, Rn as UpdateProjectRequestSchema, Rt as ManagedServiceCredentialSchema, S as CatalogAppsPageResponseSchema, Sn as SubmitMarketingContactRequestSchema, Sr as resolveConnectAppSlug, St as InviteProjectMembersResponseSchema, T as ChannelConnectionSchema, Tn as TriggerListResponseSchema, Tr as slugifyAppName, Tt as ListAgentWorkspaceFilesResponseSchema, U as CreateOrganizationRequestSchema, Un as UserAvatarPatchSchema, Ut as OrganizationSidebarBrandingSchema, V as CreateCustomAppRequestSchema, Vn as UploadProjectSourceResponseSchema, Vt as OpenApiDiscoverResponseSchema, W as CreateOrganizationResponseSchema, Wn as UserAvatarSchema, Wt as PROJECT_PULL_STATE_RELATIVE_PATH, X as CredentialAssignmentListResponseSchema, Xn as WorkflowRunDetailResponseSchema, Xt as PresignOrgLogoResponseSchema, Y as CredentialAssignmentListQuerySchema, Yn as WorkflowCanvasSchema, Yt as PresignOrgLogoRequestSchema, Z as CredentialAssignmentRecordSchema, Zn as WorkflowRunHooksResponseSchema, Zt as PresignProjectSourceRequestSchema, _ as BillingUsageResponseSchema, _n as StartKeystrokeConnectionResultSchema, _t as HistoryRunListQuerySchema, a as AgentSessionDetailResponseSchema, an as ProjectSlugAvailabilityResponseSchema, ar as WorkspaceTriggerFileSchema, at as DeclineOrganizationInvitationResponseSchema, b as CatalogActionsPageResponseSchema, bn as StartOAuthConnectionInputSchema, bt as InviteOrganizationMembersResponseSchema, c as AgentSummaryListResponseSchema, cr as WorkspaceTriggerRunListResponseSchema, ct as ErrorResponseSchema, d as AssignCredentialBodySchema, dt as GetCredentialResponseSchema, en as PresignUserAvatarResponseSchema, er as WorkflowRunListResponseSchema, et as CredentialInstanceListResponseSchema, f as AutoTopupSummarySchema, fn as RecentResourceListResponseSchema, fr as deriveCustomAppDisplay, ft as GetCustomAppResponseSchema, g as BillingSummaryResponseSchema, gn as StartKeystrokeConnectionInputSchema, gt as HistoryRunDetailResponseSchema, h as BillingRedirectResponseSchema, hn as SlugAvailabilityResponseSchema, hr as listenPortFromPublicUrl, ht as HistoryRunCancelResponseSchema, i as AgentSessionChatStateResponseSchema, in as ProjectSettingsResponseSchema, ir as WorkspaceTriggerDetailSchema, it as DOCS_SEARCH_TOOL, j as ConnectAuthorizeUrlResponseSchema, jn as UpdateCredentialRequestSchema, jt as ListOrganizationMembersResponseSchema, k as ConfirmCheckoutRequestSchema, kn as UpdateChannelBindingBodySchema, kt as ListManagedServiceCredentialsResponseSchema, l as AgentTriggerSummaryListResponseSchema, ln as QueuedAgentPromptResponseSchema, lr as WorkspaceWorkflowOverviewSchema, lt as ExecuteKeystrokeToolRequestSchema, m as BillingInvoiceUrlResponseSchema, mn as SkillSummaryListResponseSchema, mr as isAcceptableInstallExit, mt as HealthResponseSchema, n as AcceptOrganizationInvitationResponseSchema, nn as ProjectReachabilityResponseSchema, nr as WorkflowSummaryDetailResponseSchema, o as AgentSessionListResponseSchema, on as PromptInputSchema, or as WorkspaceTriggerListResponseSchema, ot as DownloadActiveProjectArtifactResponseSchema, p as BillingActivityResponseSchema, pn as SkillSummaryDetailResponseSchema, pr as detectProjectPackageManagerFromSnapshot, pt as GraphqlDiscoverResponseSchema, q as CreateProjectResponseSchema, qn as WorkflowCanvasCredentialBindingsSchema, qt as PresignChatAttachmentRequestSchema, r as ActiveOrganizationResponseSchema, rn as ProjectResponseSchema, rr as WorkflowSummaryListResponseSchema, rt as DOCS_QUERY_TOOL, s as AgentSummaryDetailResponseSchema, sn as PromptResponseSchema, sr as WorkspaceTriggerOverviewSchema, st as DownloadActiveProjectSourceResponseSchema, t as ACTIVE_ORG_HEADER, tn as ProjectPullStateSchema, tr as WorkflowRunResponseSchema, tt as CredentialInstanceRecordSchema, u as AppSlugAvailabilityResponseSchema, un as QueuedRunResponseSchema, ur as buildConnectDeeplink, ut as GatewayAttachmentRecordSchema, v as BindChannelBodySchema, vn as StartMcpOAuthConnectionInputSchema, vr as parseAppSlug, vt as HistoryRunListResponseSchema, w as ChannelConnectionListResponseSchema, wn as TriggerDetailResponseSchema, wr as resolvePublicPlatformOrigin, wt as ListAgentMemoryFilesResponseSchema, x as CatalogAppDetailResponseSchema, xn as StartOAuthConnectionResultSchema, xt as InviteProjectMembersRequestSchema, y as CatalogActionDetailResponseSchema, yn as StartMcpOAuthConnectionResultSchema, yr as parseErrorResponse, yt as InviteOrganizationMembersRequestSchema, z as CreateCredentialsResponseSchema, zn as UpdateProjectSettingsRequestSchema, zt as ManagedServiceKindSchema } from "./dist-
|
|
3
|
-
import { i as packProjectArtifact, n as withMcpReadClient, r as mergeFilteredArtifact, t as mapInParallelBatches } from "./dist-
|
|
4
|
-
import { _ as getPlatformUrl, c as detectPackageManager, d as resolveGithubPackagesToken, f as resolvePackageManager, g as getEffectiveApiTarget, h as getConfigDir, i as isReleaseAgeBlock, l as installDependencies$1, m as getCliConfigDir, n as resolveCliRoot, o as detectManagerFromLockfile, p as createCliConfig, s as buildPlaygroundWorkspace, t as readCliVersion, u as installPlaygroundDependencies, v as getWebUrl, x as resolvePlatformUrlForWebUrl, y as DEFAULT_PLATFORM_URL } from "./version-
|
|
2
|
+
import { $ as CredentialConsumerListResponseSchema, $n as WorkflowRunInputsSchema, $t as PresignUserAvatarRequestSchema, A as ConfirmCheckoutResponseSchema, An as UpdateCredentialInstanceBodySchema, At as ListOrganizationInvitationsResponseSchema, B as CreateCreditsCheckoutRequestSchema, Bn as UploadProjectSourceManifestRequestSchema, Bt as McpDiscoverResponseSchema, C as ChannelAccountListResponseSchema, Cn as SubmitTeamRequestRequestSchema, Cr as resolveDocsMcpUrl, D as ChannelPlatformSchema, Dn as TriggerRunListResponseSchema, Dt as ListAppsResponseSchema, E as ChannelDirectoryListResponseSchema, En as TriggerRunDetailResponseSchema, Et as ListApiKeysResponseSchema, F as CreateApiKeyResponseSchema, Fn as UpdateOrganizationRequestSchema, Ft as ListProjectMembersResponseSchema, G as CreateProjectArtifactResponseSchema, Gn as UserPreferencesPatchSchema, Gt as PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS, H as CreateCustomAppResponseSchema, Hn as UpsertGatewayAttachmentBodySchema, Ht as OrganizationSidebarBrandingPatchSchema, I as CreateBillingPortalRequestSchema, In as UpdateProjectMemberRequestSchema, It as ListProjectMetricsResponseSchema, J as CreateSubscriptionCheckoutRequestSchema, Jn as WorkflowCanvasRunSchema, Jt as PresignChatAttachmentResponseSchema, K as CreateProjectRequestSchema, Kn as UserPreferencesSchema, Kt as PollRunResponseSchema, L as CreateCredentialInstanceBodySchema, Ln as UpdateProjectMemberResponseSchema, Lt as ListProjectsResponseSchema, M as ConnectManagedServiceCredentialRequestSchema, Mn as UpdateManagedServiceCredentialRequestSchema, Mt as ListOrganizationsResponseSchema, N as ConnectProvidersResponseSchema, Nn as UpdateOrganizationMemberRequestSchema, Nt as ListProjectDeploymentsResponseSchema, O as CompleteProjectArtifactResponseSchema, On as UpdateAutoTopupRequestSchema, Ot as ListCredentialsResponseSchema, P as CreateApiKeyRequestSchema, Pn as UpdateOrganizationMemberResponseSchema, Pt as ListProjectFilesResponseSchema, Q as CredentialConsumerListQuerySchema, Qn as WorkflowRunInputsPutBodySchema, Qt as PresignProjectSourceResponseSchema, R as CreateCredentialsRequestSchema, Rn as UpdateProjectRequestSchema, Rt as ManagedServiceCredentialSchema, S as CatalogAppsPageResponseSchema, Sn as SubmitMarketingContactRequestSchema, Sr as resolveConnectAppSlug, St as InviteProjectMembersResponseSchema, T as ChannelConnectionSchema, Tn as TriggerListResponseSchema, Tr as slugifyAppName, Tt as ListAgentWorkspaceFilesResponseSchema, U as CreateOrganizationRequestSchema, Un as UserAvatarPatchSchema, Ut as OrganizationSidebarBrandingSchema, V as CreateCustomAppRequestSchema, Vn as UploadProjectSourceResponseSchema, Vt as OpenApiDiscoverResponseSchema, W as CreateOrganizationResponseSchema, Wn as UserAvatarSchema, Wt as PROJECT_PULL_STATE_RELATIVE_PATH, X as CredentialAssignmentListResponseSchema, Xn as WorkflowRunDetailResponseSchema, Xt as PresignOrgLogoResponseSchema, Y as CredentialAssignmentListQuerySchema, Yn as WorkflowCanvasSchema, Yt as PresignOrgLogoRequestSchema, Z as CredentialAssignmentRecordSchema, Zn as WorkflowRunHooksResponseSchema, Zt as PresignProjectSourceRequestSchema, _ as BillingUsageResponseSchema, _n as StartKeystrokeConnectionResultSchema, _t as HistoryRunListQuerySchema, a as AgentSessionDetailResponseSchema, an as ProjectSlugAvailabilityResponseSchema, ar as WorkspaceTriggerFileSchema, at as DeclineOrganizationInvitationResponseSchema, b as CatalogActionsPageResponseSchema, bn as StartOAuthConnectionInputSchema, bt as InviteOrganizationMembersResponseSchema, c as AgentSummaryListResponseSchema, cr as WorkspaceTriggerRunListResponseSchema, ct as ErrorResponseSchema, d as AssignCredentialBodySchema, dt as GetCredentialResponseSchema, en as PresignUserAvatarResponseSchema, er as WorkflowRunListResponseSchema, et as CredentialInstanceListResponseSchema, f as AutoTopupSummarySchema, fn as RecentResourceListResponseSchema, fr as deriveCustomAppDisplay, ft as GetCustomAppResponseSchema, g as BillingSummaryResponseSchema, gn as StartKeystrokeConnectionInputSchema, gt as HistoryRunDetailResponseSchema, h as BillingRedirectResponseSchema, hn as SlugAvailabilityResponseSchema, hr as listenPortFromPublicUrl, ht as HistoryRunCancelResponseSchema, i as AgentSessionChatStateResponseSchema, in as ProjectSettingsResponseSchema, ir as WorkspaceTriggerDetailSchema, it as DOCS_SEARCH_TOOL, j as ConnectAuthorizeUrlResponseSchema, jn as UpdateCredentialRequestSchema, jt as ListOrganizationMembersResponseSchema, k as ConfirmCheckoutRequestSchema, kn as UpdateChannelBindingBodySchema, kt as ListManagedServiceCredentialsResponseSchema, l as AgentTriggerSummaryListResponseSchema, ln as QueuedAgentPromptResponseSchema, lr as WorkspaceWorkflowOverviewSchema, lt as ExecuteKeystrokeToolRequestSchema, m as BillingInvoiceUrlResponseSchema, mn as SkillSummaryListResponseSchema, mr as isAcceptableInstallExit, mt as HealthResponseSchema, n as AcceptOrganizationInvitationResponseSchema, nn as ProjectReachabilityResponseSchema, nr as WorkflowSummaryDetailResponseSchema, o as AgentSessionListResponseSchema, on as PromptInputSchema, or as WorkspaceTriggerListResponseSchema, ot as DownloadActiveProjectArtifactResponseSchema, p as BillingActivityResponseSchema, pn as SkillSummaryDetailResponseSchema, pr as detectProjectPackageManagerFromSnapshot, pt as GraphqlDiscoverResponseSchema, q as CreateProjectResponseSchema, qn as WorkflowCanvasCredentialBindingsSchema, qt as PresignChatAttachmentRequestSchema, r as ActiveOrganizationResponseSchema, rn as ProjectResponseSchema, rr as WorkflowSummaryListResponseSchema, rt as DOCS_QUERY_TOOL, s as AgentSummaryDetailResponseSchema, sn as PromptResponseSchema, sr as WorkspaceTriggerOverviewSchema, st as DownloadActiveProjectSourceResponseSchema, t as ACTIVE_ORG_HEADER, tn as ProjectPullStateSchema, tr as WorkflowRunResponseSchema, tt as CredentialInstanceRecordSchema, u as AppSlugAvailabilityResponseSchema, un as QueuedRunResponseSchema, ur as buildConnectDeeplink, ut as GatewayAttachmentRecordSchema, v as BindChannelBodySchema, vn as StartMcpOAuthConnectionInputSchema, vr as parseAppSlug, vt as HistoryRunListResponseSchema, w as ChannelConnectionListResponseSchema, wn as TriggerDetailResponseSchema, wr as resolvePublicPlatformOrigin, wt as ListAgentMemoryFilesResponseSchema, x as CatalogAppDetailResponseSchema, xn as StartOAuthConnectionResultSchema, xt as InviteProjectMembersRequestSchema, y as CatalogActionDetailResponseSchema, yn as StartMcpOAuthConnectionResultSchema, yr as parseErrorResponse, yt as InviteOrganizationMembersRequestSchema, z as CreateCredentialsResponseSchema, zn as UpdateProjectSettingsRequestSchema, zt as ManagedServiceKindSchema } from "./dist-Bzry3J_e.mjs";
|
|
3
|
+
import { i as packProjectArtifact, n as withMcpReadClient, r as mergeFilteredArtifact, t as mapInParallelBatches } from "./dist-Dfp6ywxz.mjs";
|
|
4
|
+
import { _ as getPlatformUrl, c as detectPackageManager, d as resolveGithubPackagesToken, f as resolvePackageManager, g as getEffectiveApiTarget, h as getConfigDir, i as isReleaseAgeBlock, l as installDependencies$1, m as getCliConfigDir, n as resolveCliRoot, o as detectManagerFromLockfile, p as createCliConfig, s as buildPlaygroundWorkspace, t as readCliVersion, u as installPlaygroundDependencies, v as getWebUrl, x as resolvePlatformUrlForWebUrl, y as DEFAULT_PLATFORM_URL } from "./version-D4niTLnU.mjs";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import { Command } from "commander";
|
|
7
7
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
@@ -1502,6 +1502,7 @@ function listRunsSearchParams$1(query) {
|
|
|
1502
1502
|
if (query.limit !== void 0) params.limit = String(query.limit);
|
|
1503
1503
|
if (query.cursor) params.cursor = query.cursor;
|
|
1504
1504
|
if (query.triggerType) params.triggerType = query.triggerType;
|
|
1505
|
+
if (query.outcome) params.outcome = query.outcome;
|
|
1505
1506
|
return params;
|
|
1506
1507
|
}
|
|
1507
1508
|
function detailSearchParams$1(query) {
|
|
@@ -3993,6 +3994,7 @@ function listRunsSearchParams(query) {
|
|
|
3993
3994
|
if (query.limit !== void 0) params.limit = String(query.limit);
|
|
3994
3995
|
if (query.cursor) params.cursor = query.cursor;
|
|
3995
3996
|
if (query.triggerType) params.triggerType = query.triggerType;
|
|
3997
|
+
if (query.outcome) params.outcome = query.outcome;
|
|
3996
3998
|
return params;
|
|
3997
3999
|
}
|
|
3998
4000
|
function createTriggersResource(http) {
|
|
@@ -6768,7 +6770,7 @@ function registerBuildCommand(program) {
|
|
|
6768
6770
|
try {
|
|
6769
6771
|
const root = resolveProjectRoot(options.dir);
|
|
6770
6772
|
ensureSdkCurrent(root);
|
|
6771
|
-
const { buildApp } = await import("./dist-
|
|
6773
|
+
const { buildApp } = await import("./dist-B8-vsCpf.mjs");
|
|
6772
6774
|
await buildApp({ root });
|
|
6773
6775
|
process.stdout.write(`Built ${root}\n`);
|
|
6774
6776
|
} catch (error) {
|
|
@@ -6891,7 +6893,7 @@ async function sleep(ms) {
|
|
|
6891
6893
|
}
|
|
6892
6894
|
async function buildDeployArchive(client, root, projectId, filter) {
|
|
6893
6895
|
if (filter?.length) {
|
|
6894
|
-
const { buildFilteredApp } = await import("./dist-
|
|
6896
|
+
const { buildFilteredApp } = await import("./dist-B8-vsCpf.mjs");
|
|
6895
6897
|
const filtered = await buildFilteredApp({
|
|
6896
6898
|
root,
|
|
6897
6899
|
filter,
|
|
@@ -6913,7 +6915,7 @@ async function buildDeployArchive(client, root, projectId, filter) {
|
|
|
6913
6915
|
sourceFiles: filtered.sourceFiles
|
|
6914
6916
|
};
|
|
6915
6917
|
}
|
|
6916
|
-
const { buildApp } = await import("./dist-
|
|
6918
|
+
const { buildApp } = await import("./dist-B8-vsCpf.mjs");
|
|
6917
6919
|
const { sourceFiles } = await buildApp({
|
|
6918
6920
|
root,
|
|
6919
6921
|
collectSources: true,
|
|
@@ -7035,7 +7037,7 @@ function runtimeChildEnv(parentEnv, overrides) {
|
|
|
7035
7037
|
//#region src/project/bootstrap-run.ts
|
|
7036
7038
|
/** Node args + env for `@keystrokehq/build` bootstrap (shared by start + dev). */
|
|
7037
7039
|
async function resolveBootstrapRun(options) {
|
|
7038
|
-
const { resolveRuntimeBuildArtifact } = await import("./dist-
|
|
7040
|
+
const { resolveRuntimeBuildArtifact } = await import("./dist-B8-vsCpf.mjs");
|
|
7039
7041
|
const loader = pathToFileURL(resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/runtime-loader.mjs")).href;
|
|
7040
7042
|
const bootstrap = resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/standalone-bootstrap.mjs");
|
|
7041
7043
|
const args = [`--import=${loader}`];
|
|
@@ -7184,7 +7186,7 @@ async function runDev(options) {
|
|
|
7184
7186
|
process.on("SIGINT", shutdown);
|
|
7185
7187
|
process.on("SIGTERM", shutdown);
|
|
7186
7188
|
try {
|
|
7187
|
-
const { watchApp } = await import("./dist-
|
|
7189
|
+
const { watchApp } = await import("./dist-B8-vsCpf.mjs");
|
|
7188
7190
|
await watchApp({
|
|
7189
7191
|
root,
|
|
7190
7192
|
clean: false,
|
|
@@ -8215,7 +8217,7 @@ async function runStart(options) {
|
|
|
8215
8217
|
const apiPort = Number(new URL(serverUrl).port || 80);
|
|
8216
8218
|
const runtimeNodeModules = resolveCliRuntimeNodeModules(resolveCliRoot(import.meta.url));
|
|
8217
8219
|
ensureNativeDeps(runtimeNodeModules);
|
|
8218
|
-
const { buildApp } = await import("./dist-
|
|
8220
|
+
const { buildApp } = await import("./dist-B8-vsCpf.mjs");
|
|
8219
8221
|
await buildApp({
|
|
8220
8222
|
root,
|
|
8221
8223
|
clean: false
|
|
@@ -8351,7 +8353,7 @@ async function resolveRunsAttachmentSlug(triggerRef, target) {
|
|
|
8351
8353
|
}
|
|
8352
8354
|
function registerTriggerRunsCommand(trigger) {
|
|
8353
8355
|
const runs = trigger.command("runs").description("List and inspect trigger runs");
|
|
8354
|
-
runs.command("list").description("List runs for a trigger").argument("<triggerSlug>", "Trigger id or slug").option("--workflow <slug>", "Narrow to the attachment bound to this workflow").option("--agent <slug>", "Narrow to the attachment bound to this agent").option("--limit <n>", "Page size (1–100)", "20").option("--cursor <cursor>", "Pagination cursor from a previous page").option("--trigger-type <type>", "Filter by trigger type (cron, webhook, poll)").action(async (triggerSlug, options) => {
|
|
8356
|
+
runs.command("list").description("List runs for a trigger").argument("<triggerSlug>", "Trigger id or slug").option("--workflow <slug>", "Narrow to the attachment bound to this workflow").option("--agent <slug>", "Narrow to the attachment bound to this agent").option("--limit <n>", "Page size (1–100)", "20").option("--cursor <cursor>", "Pagination cursor from a previous page").option("--trigger-type <type>", "Filter by trigger type (cron, webhook, poll)").option("--outcome <outcome>", "Filter by outcome (dispatched, skipped, failed)").action(async (triggerSlug, options) => {
|
|
8355
8357
|
const config = createCliConfig();
|
|
8356
8358
|
try {
|
|
8357
8359
|
const attachmentSlug = await resolveRunsAttachmentSlug(triggerSlug, resolveTarget$1(options));
|
|
@@ -8359,7 +8361,8 @@ function registerTriggerRunsCommand(trigger) {
|
|
|
8359
8361
|
const result = await client.triggers.listRuns(attachmentSlug, {
|
|
8360
8362
|
limit: Number(options.limit),
|
|
8361
8363
|
...options.cursor ? { cursor: options.cursor } : {},
|
|
8362
|
-
...options.triggerType ? { triggerType: options.triggerType } : {}
|
|
8364
|
+
...options.triggerType ? { triggerType: options.triggerType } : {},
|
|
8365
|
+
...options.outcome ? { outcome: options.outcome } : {}
|
|
8363
8366
|
});
|
|
8364
8367
|
process.stdout.write(`${JSON.stringify(result, null, 2)}\n`);
|
|
8365
8368
|
});
|
|
@@ -8810,7 +8813,7 @@ function createProgram() {
|
|
|
8810
8813
|
return program;
|
|
8811
8814
|
}
|
|
8812
8815
|
async function runCli(argv) {
|
|
8813
|
-
const { maybeAutoUpdate } = await import("./maybe-auto-update-
|
|
8816
|
+
const { maybeAutoUpdate } = await import("./maybe-auto-update-B2QRoCE7.mjs");
|
|
8814
8817
|
await maybeAutoUpdate(argv);
|
|
8815
8818
|
createProgram().parse(argv);
|
|
8816
8819
|
}
|