@keystrokehq/cli 0.1.5 → 1.0.1
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-iKd6nzBK.mjs → dist-6GfH430k.mjs} +1 -1
- package/dist/{dist-B9XaHV_2.mjs → dist-D0bvBuXk.mjs} +58 -19
- package/dist/dist-D0bvBuXk.mjs.map +1 -0
- package/dist/{dist-D_-88U7y.mjs → dist-D5mdqlok.mjs} +15 -3
- package/dist/dist-D5mdqlok.mjs.map +1 -0
- package/dist/{dist-C3YClLXV.mjs → dist-DAVSXcfW.mjs} +6 -4
- package/dist/{dist-C3YClLXV.mjs.map → dist-DAVSXcfW.mjs.map} +1 -1
- package/dist/index.mjs +27 -24
- package/dist/index.mjs.map +1 -1
- package/dist/{maybe-auto-update-DHt-mVf1.mjs → maybe-auto-update-C5I7EUot.mjs} +2 -2
- package/dist/{maybe-auto-update-DHt-mVf1.mjs.map → maybe-auto-update-C5I7EUot.mjs.map} +1 -1
- package/dist/{version-BOm_5ar9.mjs → version-_fM2Xco6.mjs} +2 -2
- package/dist/{version-BOm_5ar9.mjs.map → version-_fM2Xco6.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/dist-B9XaHV_2.mjs.map +0 -1
- package/dist/dist-D_-88U7y.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { $ as ListCredentialsResponseSchema, $t as UpsertGatewayAttachmentBodySchema, A as CreateOrganizationResponseSchema, At as SlugAvailabilityResponseSchema, B as GetCredentialResponseSchema, Bt as TriggerRunListResponseSchema, C as CreateApiKeyResponseSchema, Ct as PromptResponseSchema, D as CreateCustomAppRequestSchema, Dt as RecentResourceListResponseSchema, E as CreateCredentialsResponseSchema, Et as ROUTE_MANIFEST_REL_PATH, F as CredentialInstanceRecordSchema, Ft as StoredRouteManifestSchema, G as HistoryRunListQuerySchema, Gt as UpdateOrganizationMemberResponseSchema, H as HealthResponseSchema, Ht as UpdateCredentialInstanceBodySchema, I as DeclineOrganizationInvitationResponseSchema, It as SubmitTeamRequestRequestSchema, J as InviteOrganizationMembersResponseSchema, Jt as UpdateProjectMemberResponseSchema, K as HistoryRunListResponseSchema, Kt as UpdateOrganizationRequestSchema, L as DownloadActiveProjectArtifactResponseSchema, Lt as TriggerDetailResponseSchema, M as CreateProjectRequestSchema, Mt as StartKeystrokeConnectionResultSchema, N as CreateProjectResponseSchema, Nt as StartOAuthConnectionInputSchema, O as CreateCustomAppResponseSchema, Ot as SkillSummaryDetailResponseSchema, P as CredentialInstanceListResponseSchema, Pt as StartOAuthConnectionResultSchema, Q as ListAppsResponseSchema, Qt as UploadProjectSourceResponseSchema, R as ErrorResponseSchema, Rt as TriggerListResponseSchema, S as CreateApiKeyRequestSchema, St as PromptInputSchema, T as CreateCredentialsRequestSchema, Tt as QueuedRunResponseSchema, U as HistoryRunCancelResponseSchema, Ut as UpdateCredentialRequestSchema, V as GetCustomAppResponseSchema, Vt as UpdateChannelBindingBodySchema, W as HistoryRunDetailResponseSchema, Wt as UpdateOrganizationMemberRequestSchema, X as InviteProjectMembersResponseSchema, Xt as UpdateProjectSettingsRequestSchema, Y as InviteProjectMembersRequestSchema, Yt as UpdateProjectRequestSchema, Z as ListApiKeysResponseSchema, Zt as UploadProjectSourceManifestRequestSchema, _ as ChannelDirectoryListResponseSchema, _t as PresignUserAvatarResponseSchema, a as AgentSessionListResponseSchema, an as WorkflowRunListResponseSchema, at as ListProjectMembersResponseSchema, b as ConnectAuthorizeUrlResponseSchema, bt as ProjectSettingsResponseSchema, c as AppSlugAvailabilityResponseSchema, cn as listenPortFromPublicUrl, ct as OrganizationSidebarBrandingPatchSchema, d as CatalogActionsPageResponseSchema, dn as parseAppSlug, dt as PollRunResponseSchema, en as UserAvatarPatchSchema, et as ListOrganizationInvitationsResponseSchema, f as CatalogAppDetailResponseSchema, fn as parseErrorResponse, ft as PresignOrgLogoRequestSchema, g as ChannelConnectionSchema, gt as PresignUserAvatarRequestSchema, h as ChannelConnectionListResponseSchema, ht as PresignProjectSourceResponseSchema, i as AgentSessionDetailResponseSchema, in as WorkflowRunDetailResponseSchema, it as ListProjectFilesResponseSchema, j as CreateProjectArtifactResponseSchema, jt as StartKeystrokeConnectionInputSchema, k as CreateOrganizationRequestSchema, kt as SkillSummaryListResponseSchema, l as BindChannelBodySchema, lt as OrganizationSidebarBrandingSchema, m as ChannelAccountListResponseSchema, mt as PresignProjectSourceRequestSchema, n as AcceptOrganizationInvitationResponseSchema, nn as UserPreferencesPatchSchema, nt as ListOrganizationsResponseSchema, o as AgentSummaryDetailResponseSchema, on as WorkflowSummaryDetailResponseSchema, ot as ListProjectMetricsResponseSchema, p as CatalogAppsPageResponseSchema, pn as slugifyAppName, pt as PresignOrgLogoResponseSchema, q as InviteOrganizationMembersRequestSchema, qt as UpdateProjectMemberRequestSchema, r as ActiveOrganizationResponseSchema, rn as UserPreferencesSchema, rt as ListProjectDeploymentsResponseSchema, s as AgentSummaryListResponseSchema, sn as WorkflowSummaryListResponseSchema, st as ListProjectsResponseSchema, t as ACTIVE_ORG_HEADER, tn as UserAvatarSchema, tt as ListOrganizationMembersResponseSchema, u as CatalogActionDetailResponseSchema, ut as PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS, v as ChannelPlatformSchema, vt as ProjectReachabilityResponseSchema, w as CreateCredentialInstanceBodySchema, wt as QueuedAgentPromptResponseSchema, x as ConnectProvidersResponseSchema, xt as ProjectSlugAvailabilityResponseSchema, y as CompleteProjectArtifactResponseSchema, yt as ProjectResponseSchema, z as GatewayAttachmentRecordSchema, zt as TriggerRunDetailResponseSchema } from "./dist-
|
|
3
|
-
import { _ as resolvePlatformUrlForWebUrl, a as installPlaygroundDependencies, c as createCliConfig, d as getEffectiveApiTarget, f as getPlatformUrl, h as DEFAULT_PLATFORM_URL, i as installDependencies, l as getCliConfigDir, m as getWebUrl, n as buildPlaygroundWorkspace, o as resolvePackageManager, p as getServerUrl, s as resolveCliRoot, t as readCliVersion, u as getConfigDir } from "./version-
|
|
2
|
+
import { $ as ListCredentialsResponseSchema, $t as UpsertGatewayAttachmentBodySchema, A as CreateOrganizationResponseSchema, At as SlugAvailabilityResponseSchema, B as GetCredentialResponseSchema, Bt as TriggerRunListResponseSchema, C as CreateApiKeyResponseSchema, Ct as PromptResponseSchema, D as CreateCustomAppRequestSchema, Dt as RecentResourceListResponseSchema, E as CreateCredentialsResponseSchema, Et as ROUTE_MANIFEST_REL_PATH, F as CredentialInstanceRecordSchema, Ft as StoredRouteManifestSchema, G as HistoryRunListQuerySchema, Gt as UpdateOrganizationMemberResponseSchema, H as HealthResponseSchema, Ht as UpdateCredentialInstanceBodySchema, I as DeclineOrganizationInvitationResponseSchema, It as SubmitTeamRequestRequestSchema, J as InviteOrganizationMembersResponseSchema, Jt as UpdateProjectMemberResponseSchema, K as HistoryRunListResponseSchema, Kt as UpdateOrganizationRequestSchema, L as DownloadActiveProjectArtifactResponseSchema, Lt as TriggerDetailResponseSchema, M as CreateProjectRequestSchema, Mt as StartKeystrokeConnectionResultSchema, N as CreateProjectResponseSchema, Nt as StartOAuthConnectionInputSchema, O as CreateCustomAppResponseSchema, Ot as SkillSummaryDetailResponseSchema, P as CredentialInstanceListResponseSchema, Pt as StartOAuthConnectionResultSchema, Q as ListAppsResponseSchema, Qt as UploadProjectSourceResponseSchema, R as ErrorResponseSchema, Rt as TriggerListResponseSchema, S as CreateApiKeyRequestSchema, St as PromptInputSchema, T as CreateCredentialsRequestSchema, Tt as QueuedRunResponseSchema, U as HistoryRunCancelResponseSchema, Ut as UpdateCredentialRequestSchema, V as GetCustomAppResponseSchema, Vt as UpdateChannelBindingBodySchema, W as HistoryRunDetailResponseSchema, Wt as UpdateOrganizationMemberRequestSchema, X as InviteProjectMembersResponseSchema, Xt as UpdateProjectSettingsRequestSchema, Y as InviteProjectMembersRequestSchema, Yt as UpdateProjectRequestSchema, Z as ListApiKeysResponseSchema, Zt as UploadProjectSourceManifestRequestSchema, _ as ChannelDirectoryListResponseSchema, _t as PresignUserAvatarResponseSchema, a as AgentSessionListResponseSchema, an as WorkflowRunListResponseSchema, at as ListProjectMembersResponseSchema, b as ConnectAuthorizeUrlResponseSchema, bt as ProjectSettingsResponseSchema, c as AppSlugAvailabilityResponseSchema, cn as listenPortFromPublicUrl, ct as OrganizationSidebarBrandingPatchSchema, d as CatalogActionsPageResponseSchema, dn as parseAppSlug, dt as PollRunResponseSchema, en as UserAvatarPatchSchema, et as ListOrganizationInvitationsResponseSchema, f as CatalogAppDetailResponseSchema, fn as parseErrorResponse, ft as PresignOrgLogoRequestSchema, g as ChannelConnectionSchema, gt as PresignUserAvatarRequestSchema, h as ChannelConnectionListResponseSchema, ht as PresignProjectSourceResponseSchema, i as AgentSessionDetailResponseSchema, in as WorkflowRunDetailResponseSchema, it as ListProjectFilesResponseSchema, j as CreateProjectArtifactResponseSchema, jt as StartKeystrokeConnectionInputSchema, k as CreateOrganizationRequestSchema, kt as SkillSummaryListResponseSchema, l as BindChannelBodySchema, lt as OrganizationSidebarBrandingSchema, m as ChannelAccountListResponseSchema, mt as PresignProjectSourceRequestSchema, n as AcceptOrganizationInvitationResponseSchema, nn as UserPreferencesPatchSchema, nt as ListOrganizationsResponseSchema, o as AgentSummaryDetailResponseSchema, on as WorkflowSummaryDetailResponseSchema, ot as ListProjectMetricsResponseSchema, p as CatalogAppsPageResponseSchema, pn as slugifyAppName, pt as PresignOrgLogoResponseSchema, q as InviteOrganizationMembersRequestSchema, qt as UpdateProjectMemberRequestSchema, r as ActiveOrganizationResponseSchema, rn as UserPreferencesSchema, rt as ListProjectDeploymentsResponseSchema, s as AgentSummaryListResponseSchema, sn as WorkflowSummaryListResponseSchema, st as ListProjectsResponseSchema, t as ACTIVE_ORG_HEADER, tn as UserAvatarSchema, tt as ListOrganizationMembersResponseSchema, u as CatalogActionDetailResponseSchema, ut as PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS, v as ChannelPlatformSchema, vt as ProjectReachabilityResponseSchema, w as CreateCredentialInstanceBodySchema, wt as QueuedAgentPromptResponseSchema, x as ConnectProvidersResponseSchema, xt as ProjectSlugAvailabilityResponseSchema, y as CompleteProjectArtifactResponseSchema, yt as ProjectResponseSchema, z as GatewayAttachmentRecordSchema, zt as TriggerRunDetailResponseSchema } from "./dist-DAVSXcfW.mjs";
|
|
3
|
+
import { _ as resolvePlatformUrlForWebUrl, a as installPlaygroundDependencies, c as createCliConfig, d as getEffectiveApiTarget, f as getPlatformUrl, h as DEFAULT_PLATFORM_URL, i as installDependencies, l as getCliConfigDir, m as getWebUrl, n as buildPlaygroundWorkspace, o as resolvePackageManager, p as getServerUrl, s as resolveCliRoot, t as readCliVersion, u as getConfigDir } from "./version-_fM2Xco6.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import { Command } from "commander";
|
|
6
6
|
import { platform, tmpdir } from "node:os";
|
|
@@ -1700,7 +1700,7 @@ function createJwtTokenCache(mint) {
|
|
|
1700
1700
|
};
|
|
1701
1701
|
}
|
|
1702
1702
|
//#endregion
|
|
1703
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4.
|
|
1703
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4._775c78039924a67af81d79c1d7be3379/node_modules/better-auth/dist/version.mjs
|
|
1704
1704
|
const PACKAGE_VERSION = "1.6.11";
|
|
1705
1705
|
//#endregion
|
|
1706
1706
|
//#region ../../node_modules/.pnpm/better-call@1.3.5_zod@4.4.3/node_modules/better-call/dist/error.mjs
|
|
@@ -1825,7 +1825,7 @@ var BetterAuthError = class extends Error {
|
|
|
1825
1825
|
}
|
|
1826
1826
|
};
|
|
1827
1827
|
//#endregion
|
|
1828
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4.
|
|
1828
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4._775c78039924a67af81d79c1d7be3379/node_modules/better-auth/dist/plugins/device-authorization/client.mjs
|
|
1829
1829
|
const deviceAuthorizationClient = () => {
|
|
1830
1830
|
return {
|
|
1831
1831
|
id: "device-authorization",
|
|
@@ -1970,7 +1970,7 @@ let onMount = ($store, initialize) => {
|
|
|
1970
1970
|
});
|
|
1971
1971
|
};
|
|
1972
1972
|
//#endregion
|
|
1973
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4.
|
|
1973
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4._775c78039924a67af81d79c1d7be3379/node_modules/better-auth/dist/client/query.mjs
|
|
1974
1974
|
const isServer = () => typeof window === "undefined";
|
|
1975
1975
|
const useAuthQuery = (initializedAtom, path, $fetch, options) => {
|
|
1976
1976
|
const value = /* @__PURE__ */ atom({
|
|
@@ -2064,7 +2064,7 @@ const useAuthQuery = (initializedAtom, path, $fetch, options) => {
|
|
|
2064
2064
|
return value;
|
|
2065
2065
|
};
|
|
2066
2066
|
//#endregion
|
|
2067
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4.
|
|
2067
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4._775c78039924a67af81d79c1d7be3379/node_modules/better-auth/dist/client/broadcast-channel.mjs
|
|
2068
2068
|
const kBroadcastChannel = Symbol.for("better-auth:broadcast-channel");
|
|
2069
2069
|
const now$1 = () => Math.floor(Date.now() / 1e3);
|
|
2070
2070
|
var WindowBroadcastChannel = class {
|
|
@@ -2107,7 +2107,7 @@ function getGlobalBroadcastChannel(name = "better-auth.message") {
|
|
|
2107
2107
|
return globalThis[kBroadcastChannel];
|
|
2108
2108
|
}
|
|
2109
2109
|
//#endregion
|
|
2110
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4.
|
|
2110
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4._775c78039924a67af81d79c1d7be3379/node_modules/better-auth/dist/client/focus-manager.mjs
|
|
2111
2111
|
const kFocusManager = Symbol.for("better-auth:focus-manager");
|
|
2112
2112
|
var WindowFocusManager = class {
|
|
2113
2113
|
listeners = /* @__PURE__ */ new Set();
|
|
@@ -2136,7 +2136,7 @@ function getGlobalFocusManager() {
|
|
|
2136
2136
|
return globalThis[kFocusManager];
|
|
2137
2137
|
}
|
|
2138
2138
|
//#endregion
|
|
2139
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4.
|
|
2139
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4._775c78039924a67af81d79c1d7be3379/node_modules/better-auth/dist/client/online-manager.mjs
|
|
2140
2140
|
const kOnlineManager = Symbol.for("better-auth:online-manager");
|
|
2141
2141
|
var WindowOnlineManager = class {
|
|
2142
2142
|
listeners = /* @__PURE__ */ new Set();
|
|
@@ -2168,7 +2168,7 @@ function getGlobalOnlineManager() {
|
|
|
2168
2168
|
return globalThis[kOnlineManager];
|
|
2169
2169
|
}
|
|
2170
2170
|
//#endregion
|
|
2171
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4.
|
|
2171
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4._775c78039924a67af81d79c1d7be3379/node_modules/better-auth/dist/client/parser.mjs
|
|
2172
2172
|
const PROTO_POLLUTION_PATTERNS = {
|
|
2173
2173
|
proto: /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,
|
|
2174
2174
|
constructor: /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,
|
|
@@ -2238,7 +2238,7 @@ function parseJSON(value, options = { strict: true }) {
|
|
|
2238
2238
|
return betterJSONParse(value, options);
|
|
2239
2239
|
}
|
|
2240
2240
|
//#endregion
|
|
2241
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4.
|
|
2241
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4._775c78039924a67af81d79c1d7be3379/node_modules/better-auth/dist/client/session-refresh.mjs
|
|
2242
2242
|
const now = () => Math.floor(Date.now() / 1e3);
|
|
2243
2243
|
/**
|
|
2244
2244
|
* Normalize $fetch response: `throw: true` returns data directly, otherwise `{ data, error }`.
|
|
@@ -2436,7 +2436,7 @@ Object.freeze({
|
|
|
2436
2436
|
}
|
|
2437
2437
|
});
|
|
2438
2438
|
//#endregion
|
|
2439
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4.
|
|
2439
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4._775c78039924a67af81d79c1d7be3379/node_modules/better-auth/dist/utils/url.mjs
|
|
2440
2440
|
function checkHasPath(url) {
|
|
2441
2441
|
try {
|
|
2442
2442
|
return (new URL(url).pathname.replace(/\/+$/, "") || "/") !== "/";
|
|
@@ -2508,7 +2508,7 @@ function getOrigin(url) {
|
|
|
2508
2508
|
}
|
|
2509
2509
|
}
|
|
2510
2510
|
//#endregion
|
|
2511
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4.
|
|
2511
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4._775c78039924a67af81d79c1d7be3379/node_modules/better-auth/dist/client/fetch-plugins.mjs
|
|
2512
2512
|
const redirectPlugin = {
|
|
2513
2513
|
id: "redirect",
|
|
2514
2514
|
name: "Redirect",
|
|
@@ -2523,7 +2523,7 @@ const redirectPlugin = {
|
|
|
2523
2523
|
} }
|
|
2524
2524
|
};
|
|
2525
2525
|
//#endregion
|
|
2526
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4.
|
|
2526
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4._775c78039924a67af81d79c1d7be3379/node_modules/better-auth/dist/client/session-atom.mjs
|
|
2527
2527
|
function getSessionAtom($fetch, options) {
|
|
2528
2528
|
const $signal = /* @__PURE__ */ atom(false);
|
|
2529
2529
|
const session = useAuthQuery($signal, "/get-session", $fetch, { method: "GET" });
|
|
@@ -3010,7 +3010,7 @@ var betterFetch = async (url, options) => {
|
|
|
3010
3010
|
};
|
|
3011
3011
|
};
|
|
3012
3012
|
//#endregion
|
|
3013
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4.
|
|
3013
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4._775c78039924a67af81d79c1d7be3379/node_modules/better-auth/dist/client/config.mjs
|
|
3014
3014
|
const resolvePublicAuthUrl = (basePath) => {
|
|
3015
3015
|
if (typeof process === "undefined") return void 0;
|
|
3016
3016
|
const path = basePath ?? "/api/auth";
|
|
@@ -3108,12 +3108,12 @@ const getClientConfig = (options, loadEnv) => {
|
|
|
3108
3108
|
};
|
|
3109
3109
|
};
|
|
3110
3110
|
//#endregion
|
|
3111
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4.
|
|
3111
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4._775c78039924a67af81d79c1d7be3379/node_modules/better-auth/dist/utils/is-atom.mjs
|
|
3112
3112
|
function isAtom(value) {
|
|
3113
3113
|
return typeof value === "object" && value !== null && "get" in value && typeof value.get === "function" && "lc" in value && typeof value.lc === "number";
|
|
3114
3114
|
}
|
|
3115
3115
|
//#endregion
|
|
3116
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4.
|
|
3116
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4._775c78039924a67af81d79c1d7be3379/node_modules/better-auth/dist/client/proxy.mjs
|
|
3117
3117
|
function getMethod(path, knownPathMethods, args) {
|
|
3118
3118
|
const method = knownPathMethods[path];
|
|
3119
3119
|
const { fetchOptions, query: _query, ...body } = args || {};
|
|
@@ -3193,7 +3193,7 @@ function capitalizeFirstLetter(str) {
|
|
|
3193
3193
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
3194
3194
|
}
|
|
3195
3195
|
//#endregion
|
|
3196
|
-
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4.
|
|
3196
|
+
//#region ../../node_modules/.pnpm/better-auth@1.6.11_@opentelemetry+api@1.9.1_@tanstack+react-start@1.168.26_crossws@0.4._775c78039924a67af81d79c1d7be3379/node_modules/better-auth/dist/client/vanilla.mjs
|
|
3197
3197
|
function createAuthClient(options) {
|
|
3198
3198
|
const { pluginPathMethods, pluginsActions, pluginsAtoms, $fetch, atomListeners, $store } = getClientConfig(options);
|
|
3199
3199
|
const resolvedHooks = {};
|
|
@@ -4666,6 +4666,9 @@ function formatHttpClientError(error, context) {
|
|
|
4666
4666
|
if (origin && !getAccessToken(origin)) return "Not logged in. Run `keystroke auth login` first.";
|
|
4667
4667
|
return "Authentication failed. Run `keystroke auth login` again.";
|
|
4668
4668
|
}
|
|
4669
|
+
if (error.status === 403) {
|
|
4670
|
+
if (parseErrorResponse(error.body)?.code === "org_unverified") return "This organization is pending verification. Request access in the Keystroke dashboard.";
|
|
4671
|
+
}
|
|
4669
4672
|
if (error.status === 0) {
|
|
4670
4673
|
if (error.message && !isUnreachableServerError(error)) return error.message;
|
|
4671
4674
|
return unreachableServerMessage(unreachableTarget(context));
|
|
@@ -5759,7 +5762,7 @@ function registerBuildCommand(program) {
|
|
|
5759
5762
|
program.command("build").description("Build the keystroke project for production").option("--dir <path>", "Project directory", process.cwd()).action(async (options) => {
|
|
5760
5763
|
try {
|
|
5761
5764
|
const root = resolveProjectRoot(options.dir);
|
|
5762
|
-
const { buildApp } = await import("./dist-
|
|
5765
|
+
const { buildApp } = await import("./dist-D0bvBuXk.mjs");
|
|
5763
5766
|
await buildApp({ root });
|
|
5764
5767
|
process.stdout.write(`Built ${root}\n`);
|
|
5765
5768
|
} catch (error) {
|
|
@@ -5916,7 +5919,7 @@ async function sleep(ms) {
|
|
|
5916
5919
|
}
|
|
5917
5920
|
async function buildDeployArchive(client, root, projectId, filter) {
|
|
5918
5921
|
if (filter?.length) {
|
|
5919
|
-
const { buildFilteredApp } = await import("./dist-
|
|
5922
|
+
const { buildFilteredApp } = await import("./dist-D0bvBuXk.mjs");
|
|
5920
5923
|
const filtered = await buildFilteredApp({
|
|
5921
5924
|
root,
|
|
5922
5925
|
filter,
|
|
@@ -5938,7 +5941,7 @@ async function buildDeployArchive(client, root, projectId, filter) {
|
|
|
5938
5941
|
sourceFiles: filtered.sourceFiles
|
|
5939
5942
|
};
|
|
5940
5943
|
}
|
|
5941
|
-
const { buildApp } = await import("./dist-
|
|
5944
|
+
const { buildApp } = await import("./dist-D0bvBuXk.mjs");
|
|
5942
5945
|
const { sourceFiles } = await buildApp({
|
|
5943
5946
|
root,
|
|
5944
5947
|
collectSources: true,
|
|
@@ -6051,7 +6054,7 @@ function runtimeChildEnv(parentEnv, overrides) {
|
|
|
6051
6054
|
//#region src/project/bootstrap-run.ts
|
|
6052
6055
|
/** Node args + env for `@keystrokehq/build` bootstrap (shared by start + dev). */
|
|
6053
6056
|
async function resolveBootstrapRun(options) {
|
|
6054
|
-
const { resolveRuntimeBuildArtifact } = await import("./dist-
|
|
6057
|
+
const { resolveRuntimeBuildArtifact } = await import("./dist-D0bvBuXk.mjs");
|
|
6055
6058
|
const loader = pathToFileURL(resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/runtime-loader.mjs")).href;
|
|
6056
6059
|
const bootstrap = resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/standalone-bootstrap.mjs");
|
|
6057
6060
|
const args = [`--import=${loader}`];
|
|
@@ -6202,7 +6205,7 @@ async function runDev(options) {
|
|
|
6202
6205
|
process.on("SIGINT", shutdown);
|
|
6203
6206
|
process.on("SIGTERM", shutdown);
|
|
6204
6207
|
try {
|
|
6205
|
-
const { watchApp } = await import("./dist-
|
|
6208
|
+
const { watchApp } = await import("./dist-D0bvBuXk.mjs");
|
|
6206
6209
|
await watchApp({
|
|
6207
6210
|
root,
|
|
6208
6211
|
clean: false,
|
|
@@ -7028,7 +7031,7 @@ async function runStart(options) {
|
|
|
7028
7031
|
const apiPort = Number(new URL(serverUrl).port || 80);
|
|
7029
7032
|
const runtimeNodeModules = resolveCliRuntimeNodeModules(resolveCliRoot(import.meta.url));
|
|
7030
7033
|
ensureNativeDeps(runtimeNodeModules);
|
|
7031
|
-
const { buildApp } = await import("./dist-
|
|
7034
|
+
const { buildApp } = await import("./dist-D0bvBuXk.mjs");
|
|
7032
7035
|
await buildApp({
|
|
7033
7036
|
root,
|
|
7034
7037
|
clean: false
|
|
@@ -7551,7 +7554,7 @@ function createProgram() {
|
|
|
7551
7554
|
return program;
|
|
7552
7555
|
}
|
|
7553
7556
|
async function runCli(argv) {
|
|
7554
|
-
const { maybeAutoUpdate } = await import("./maybe-auto-update-
|
|
7557
|
+
const { maybeAutoUpdate } = await import("./maybe-auto-update-C5I7EUot.mjs");
|
|
7555
7558
|
await maybeAutoUpdate(argv);
|
|
7556
7559
|
createProgram().parse(argv);
|
|
7557
7560
|
}
|