@kodycodes/cli 3.41.1 → 3.43.0
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/{auth-YDCBANFB.js → auth-U3NWERKP.js} +3 -3
- package/dist/bin.js +5 -5
- package/dist/{chunk-T3EM47NE.js → chunk-27A5WIAA.js} +2 -2
- package/dist/{chunk-QJK6DTR5.js → chunk-3HED4UBT.js} +2 -2
- package/dist/{chunk-QAXNOEBH.js → chunk-6VY4FPTU.js} +31 -22
- package/dist/{chunk-QAXNOEBH.js.map → chunk-6VY4FPTU.js.map} +1 -1
- package/dist/{chunk-5VGYHCGW.js → chunk-AG4JCJLH.js} +6 -6
- package/dist/{chunk-REZD6BQ5.js → chunk-ARNF5BEP.js} +3 -3
- package/dist/{chunk-MON2WLPF.js → chunk-EPYFNRVX.js} +3 -3
- package/dist/{chunk-S2PL6T74.js → chunk-GW7WNSTF.js} +25 -1
- package/dist/chunk-GW7WNSTF.js.map +6 -0
- package/dist/{chunk-OPLYCVZM.js → chunk-IGWPR7VX.js} +35 -35
- package/dist/{chunk-SSLGP7Q3.js → chunk-PGOZPODD.js} +3 -3
- package/dist/{chunk-MILGY6PM.js → chunk-R4O6R2P6.js} +1 -1
- package/dist/{chunk-MILGY6PM.js.map → chunk-R4O6R2P6.js.map} +1 -1
- package/dist/{chunk-N5RXQCBQ.js → chunk-SK4QYADX.js} +2 -2
- package/dist/cli.js +5 -5
- package/dist/{commands-LTMZH4NG.js → commands-TAWHZ7CE.js} +14 -6
- package/dist/commands-TAWHZ7CE.js.map +6 -0
- package/dist/{dev-command-UIIY427S.js → dev-command-AXVR6YKN.js} +7 -7
- package/dist/execution-context/host-commands.d.ts +5 -0
- package/dist/{git-credential-UITFYZ6T.js → git-credential-2FHJKBLL.js} +4 -4
- package/dist/{local-execute-L3UR5FS7.js → local-execute-YVWXUCKO.js} +4 -4
- package/dist/{local-package-graph-5HFY4G64.js → local-package-graph-5KZPTM7U.js} +3 -3
- package/dist/{local-package-run-PRUMAW2V.js → local-package-run-L57OMXFO.js} +7 -7
- package/dist/{local-secrets-GA6FIJTC.js → local-secrets-HK65SLAO.js} +2 -2
- package/dist/{mock-dep-resolve-HADQXYSI.js → mock-dep-resolve-BUPDXS3Y.js} +2 -2
- package/dist/{mock-local-deps-PUMHENYR.js → mock-local-deps-R2JQJIAQ.js} +4 -4
- package/dist/{open-api-client-FB4TFQ52.js → open-api-client-6EASR44U.js} +2 -2
- package/dist/publish-builder.js +27 -13
- package/dist/{remote-execute-43LS7EB7.js → remote-execute-CYWTL2KV.js} +2 -2
- package/dist/{run-executor-U6QTQV3N.js → run-executor-TDC7GFGW.js} +5 -4
- package/dist/{run-executor-U6QTQV3N.js.map → run-executor-TDC7GFGW.js.map} +1 -1
- package/dist/{setup-git-3KMOPMJS.js → setup-git-EOY7IH5C.js} +3 -3
- package/dist/{whoami-S3Y5IYL2.js → whoami-QGJHL3II.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-S2PL6T74.js.map +0 -6
- package/dist/commands-LTMZH4NG.js.map +0 -6
- /package/dist/{auth-YDCBANFB.js.map → auth-U3NWERKP.js.map} +0 -0
- /package/dist/{chunk-T3EM47NE.js.map → chunk-27A5WIAA.js.map} +0 -0
- /package/dist/{chunk-QJK6DTR5.js.map → chunk-3HED4UBT.js.map} +0 -0
- /package/dist/{chunk-5VGYHCGW.js.map → chunk-AG4JCJLH.js.map} +0 -0
- /package/dist/{chunk-REZD6BQ5.js.map → chunk-ARNF5BEP.js.map} +0 -0
- /package/dist/{chunk-MON2WLPF.js.map → chunk-EPYFNRVX.js.map} +0 -0
- /package/dist/{chunk-OPLYCVZM.js.map → chunk-IGWPR7VX.js.map} +0 -0
- /package/dist/{chunk-SSLGP7Q3.js.map → chunk-PGOZPODD.js.map} +0 -0
- /package/dist/{chunk-N5RXQCBQ.js.map → chunk-SK4QYADX.js.map} +0 -0
- /package/dist/{dev-command-UIIY427S.js.map → dev-command-AXVR6YKN.js.map} +0 -0
- /package/dist/{git-credential-UITFYZ6T.js.map → git-credential-2FHJKBLL.js.map} +0 -0
- /package/dist/{local-execute-L3UR5FS7.js.map → local-execute-YVWXUCKO.js.map} +0 -0
- /package/dist/{local-package-graph-5HFY4G64.js.map → local-package-graph-5KZPTM7U.js.map} +0 -0
- /package/dist/{local-package-run-PRUMAW2V.js.map → local-package-run-L57OMXFO.js.map} +0 -0
- /package/dist/{local-secrets-GA6FIJTC.js.map → local-secrets-HK65SLAO.js.map} +0 -0
- /package/dist/{mock-dep-resolve-HADQXYSI.js.map → mock-dep-resolve-BUPDXS3Y.js.map} +0 -0
- /package/dist/{mock-local-deps-PUMHENYR.js.map → mock-local-deps-R2JQJIAQ.js.map} +0 -0
- /package/dist/{open-api-client-FB4TFQ52.js.map → open-api-client-6EASR44U.js.map} +0 -0
- /package/dist/{remote-execute-43LS7EB7.js.map → remote-execute-CYWTL2KV.js.map} +0 -0
- /package/dist/{setup-git-3KMOPMJS.js.map → setup-git-EOY7IH5C.js.map} +0 -0
- /package/dist/{whoami-S3Y5IYL2.js.map → whoami-QGJHL3II.js.map} +0 -0
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-E4R3Y6MM.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveLocalExecuteBearer
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3HED4UBT.js";
|
|
18
18
|
import {
|
|
19
19
|
formatToolResult
|
|
20
20
|
} from "./chunk-46IJPEID.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-MIT3TUWB.js";
|
|
24
24
|
import {
|
|
25
25
|
isRemoteDaemonCommand
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-R4O6R2P6.js";
|
|
27
27
|
import {
|
|
28
28
|
authBootstrap,
|
|
29
29
|
authBootstrapWithScopes,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
parseCliScopesFlag,
|
|
34
34
|
refreshGitCredentialHelperPinIfNeeded,
|
|
35
35
|
resolveCliTokenLifetime
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-PGOZPODD.js";
|
|
37
37
|
import {
|
|
38
38
|
orgEnvVar,
|
|
39
39
|
orgSlugFromFlag
|
|
@@ -2238,7 +2238,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2238
2238
|
case "connect":
|
|
2239
2239
|
case "update": {
|
|
2240
2240
|
const apiUrl = earlyApiUrl;
|
|
2241
|
-
const { runExecutionContextCommand } = await import("./commands-
|
|
2241
|
+
const { runExecutionContextCommand } = await import("./commands-TAWHZ7CE.js");
|
|
2242
2242
|
return await runExecutionContextCommand({
|
|
2243
2243
|
command: parsed.command,
|
|
2244
2244
|
positionals: parsed.positionals,
|
|
@@ -2273,7 +2273,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2273
2273
|
});
|
|
2274
2274
|
}
|
|
2275
2275
|
case "login": {
|
|
2276
|
-
const { login, loginWithDevice } = await import("./auth-
|
|
2276
|
+
const { login, loginWithDevice } = await import("./auth-U3NWERKP.js");
|
|
2277
2277
|
const openBrowser = parsed.values["no-browser"] !== true;
|
|
2278
2278
|
const lifetimeOption = typeof parsed.values.lifetime === "string" ? {
|
|
2279
2279
|
lifetime: parsed.values.lifetime === "short" ? "short" : "long"
|
|
@@ -2399,7 +2399,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2399
2399
|
}
|
|
2400
2400
|
const lines = [];
|
|
2401
2401
|
if (credentials || orgs.length > 0) {
|
|
2402
|
-
const { isAccessTokenExpired } = await import("./auth-
|
|
2402
|
+
const { isAccessTokenExpired } = await import("./auth-U3NWERKP.js");
|
|
2403
2403
|
const expired = credentials ? isAccessTokenExpired(credentials) : false;
|
|
2404
2404
|
const expires = credentials?.expiresAt ? `${new Date(credentials.expiresAt).toISOString()}${expired ? credentials.refreshToken ? " (expired; refreshes on next use)" : " (expired; no refresh token, run `kody login` if `kody whoami` fails)" : ""}` : "unknown";
|
|
2405
2405
|
lines.push(
|
|
@@ -2529,7 +2529,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2529
2529
|
parseGitCredentialAction,
|
|
2530
2530
|
parseGitCredentialInput,
|
|
2531
2531
|
readGitCredentialStdin
|
|
2532
|
-
} = await import("./git-credential-
|
|
2532
|
+
} = await import("./git-credential-2FHJKBLL.js");
|
|
2533
2533
|
const action = parseGitCredentialAction(parsed.positionals);
|
|
2534
2534
|
const raw = await readGitCredentialStdin(process.stdin);
|
|
2535
2535
|
const output = await handleGitCredential({
|
|
@@ -2589,7 +2589,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2589
2589
|
if (mock.started) await mock.server.close();
|
|
2590
2590
|
}
|
|
2591
2591
|
}
|
|
2592
|
-
const { runWhoami } = await import("./whoami-
|
|
2592
|
+
const { runWhoami } = await import("./whoami-QGJHL3II.js");
|
|
2593
2593
|
return await runWhoami({
|
|
2594
2594
|
tokenValues,
|
|
2595
2595
|
mcpUrl,
|
|
@@ -2619,7 +2619,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2619
2619
|
});
|
|
2620
2620
|
apiUrl = mock.apiUrl;
|
|
2621
2621
|
closeMock = mock.started ? () => mock.server.close() : void 0;
|
|
2622
|
-
const { searchWithApiToken: searchWithApiToken2 } = await import("./open-api-client-
|
|
2622
|
+
const { searchWithApiToken: searchWithApiToken2 } = await import("./open-api-client-6EASR44U.js");
|
|
2623
2623
|
const result2 = await searchWithApiToken2({
|
|
2624
2624
|
token: mock.token,
|
|
2625
2625
|
apiUrl,
|
|
@@ -2639,7 +2639,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2639
2639
|
...org ? { org } : {}
|
|
2640
2640
|
});
|
|
2641
2641
|
if (searchCredential?.token) {
|
|
2642
|
-
const { searchWithApiToken: searchWithApiToken2 } = await import("./open-api-client-
|
|
2642
|
+
const { searchWithApiToken: searchWithApiToken2 } = await import("./open-api-client-6EASR44U.js");
|
|
2643
2643
|
const result2 = await searchWithApiToken2({
|
|
2644
2644
|
token: searchCredential.token,
|
|
2645
2645
|
apiUrl,
|
|
@@ -2652,14 +2652,14 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2652
2652
|
write(formatToolResult(result2, json));
|
|
2653
2653
|
return result2.isError ? 1 : 0;
|
|
2654
2654
|
}
|
|
2655
|
-
const { ensureOpenApiCredentials } = await import("./auth-
|
|
2655
|
+
const { ensureOpenApiCredentials } = await import("./auth-U3NWERKP.js");
|
|
2656
2656
|
const credentials = await ensureOpenApiCredentials({
|
|
2657
2657
|
mcpUrl,
|
|
2658
2658
|
org,
|
|
2659
2659
|
apiUrl
|
|
2660
2660
|
});
|
|
2661
2661
|
noteActiveLoginCredential({ login: credentials, purpose: "session" });
|
|
2662
|
-
const { searchWithApiToken } = await import("./open-api-client-
|
|
2662
|
+
const { searchWithApiToken } = await import("./open-api-client-6EASR44U.js");
|
|
2663
2663
|
const result = await searchWithApiToken({
|
|
2664
2664
|
token: credentials.accessToken,
|
|
2665
2665
|
apiUrl,
|
|
@@ -2718,7 +2718,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2718
2718
|
(value) => typeof value === "string"
|
|
2719
2719
|
) : typeof parsed.values.credential === "string" ? [parsed.values.credential] : void 0
|
|
2720
2720
|
);
|
|
2721
|
-
const executeRouting = (await import("./remote-execute-
|
|
2721
|
+
const executeRouting = (await import("./remote-execute-CYWTL2KV.js")).executeRoutingFromFlags(parsed.values);
|
|
2722
2722
|
if (executeRouting && local) {
|
|
2723
2723
|
writeErr(
|
|
2724
2724
|
"--context, --fallback, --requires, and --chain route cloud execute; drop --local.\n"
|
|
@@ -2774,7 +2774,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2774
2774
|
apiUrl = mock.apiUrl;
|
|
2775
2775
|
mockToken = mock.token;
|
|
2776
2776
|
closeMock = mock.started ? () => mock.server.close() : void 0;
|
|
2777
|
-
const { tryResolveMockDepResolve } = await import("./mock-dep-resolve-
|
|
2777
|
+
const { tryResolveMockDepResolve } = await import("./mock-dep-resolve-BUPDXS3Y.js");
|
|
2778
2778
|
mockDepResolve = await tryResolveMockDepResolve({
|
|
2779
2779
|
tokenValues,
|
|
2780
2780
|
apiUrl: prodApiUrl,
|
|
@@ -2783,7 +2783,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2783
2783
|
});
|
|
2784
2784
|
}
|
|
2785
2785
|
if (localPackageRun) {
|
|
2786
|
-
const { buildLocalPackageContext, runLocalPackageModule } = await import("./local-package-run-
|
|
2786
|
+
const { buildLocalPackageContext, runLocalPackageModule } = await import("./local-package-run-L57OMXFO.js");
|
|
2787
2787
|
const result2 = await runLocalPackageModule({
|
|
2788
2788
|
modulePath: localPackageRun.modulePath,
|
|
2789
2789
|
params: args.params,
|
|
@@ -2828,7 +2828,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2828
2828
|
packageRootForMocks = void 0;
|
|
2829
2829
|
}
|
|
2830
2830
|
}
|
|
2831
|
-
const result = local ? await (await import("./local-execute-
|
|
2831
|
+
const result = local ? await (await import("./local-execute-YVWXUCKO.js")).runLocalExecute({
|
|
2832
2832
|
code: args.code,
|
|
2833
2833
|
...modulePath !== void 0 ? { modulePath } : {},
|
|
2834
2834
|
params: args.params,
|
|
@@ -2850,7 +2850,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2850
2850
|
allowPrivateNetwork: parsed.values["allow-private-network"] === true,
|
|
2851
2851
|
onStatus: (message) => writeErr(`${message}
|
|
2852
2852
|
`)
|
|
2853
|
-
}) : cloudToken ? await (await import("./remote-execute-
|
|
2853
|
+
}) : cloudToken ? await (await import("./remote-execute-CYWTL2KV.js")).runRemoteExecuteWithToken({
|
|
2854
2854
|
code: typeof args.code === "string" ? args.code : void 0,
|
|
2855
2855
|
params: args.params,
|
|
2856
2856
|
conversationId: args.conversationId,
|
|
@@ -2860,7 +2860,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2860
2860
|
apiUrl,
|
|
2861
2861
|
...org ? { org } : {}
|
|
2862
2862
|
}) : await (async () => {
|
|
2863
|
-
const { ensureOpenApiCredentials } = await import("./auth-
|
|
2863
|
+
const { ensureOpenApiCredentials } = await import("./auth-U3NWERKP.js");
|
|
2864
2864
|
const session = await ensureOpenApiCredentials({
|
|
2865
2865
|
mcpUrl,
|
|
2866
2866
|
org,
|
|
@@ -2870,7 +2870,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2870
2870
|
login: session,
|
|
2871
2871
|
purpose: "session"
|
|
2872
2872
|
});
|
|
2873
|
-
return (await import("./remote-execute-
|
|
2873
|
+
return (await import("./remote-execute-CYWTL2KV.js")).runRemoteExecuteWithToken({
|
|
2874
2874
|
code: typeof args.code === "string" ? args.code : void 0,
|
|
2875
2875
|
params: args.params,
|
|
2876
2876
|
conversationId: args.conversationId,
|
|
@@ -2885,7 +2885,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2885
2885
|
return result.isError ? 1 : 0;
|
|
2886
2886
|
} catch (error) {
|
|
2887
2887
|
if (json && local) {
|
|
2888
|
-
const { LocalPackageGraphError, packageGraphErrorToolResult } = await import("./local-package-graph-
|
|
2888
|
+
const { LocalPackageGraphError, packageGraphErrorToolResult } = await import("./local-package-graph-5KZPTM7U.js");
|
|
2889
2889
|
if (error instanceof LocalPackageGraphError) {
|
|
2890
2890
|
const redacted = redactError(error).message;
|
|
2891
2891
|
const result = packageGraphErrorToolResult(error);
|
|
@@ -2916,7 +2916,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2916
2916
|
runDevServe,
|
|
2917
2917
|
runDevWebhook,
|
|
2918
2918
|
tryAttachedDevFetch
|
|
2919
|
-
} = await import("./dev-command-
|
|
2919
|
+
} = await import("./dev-command-AXVR6YKN.js");
|
|
2920
2920
|
const target = resolveTarget({
|
|
2921
2921
|
command: "dev",
|
|
2922
2922
|
flag: typeof parsed.values.target === "string" ? parsed.values.target : void 0
|
|
@@ -2959,8 +2959,8 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
2959
2959
|
{ callOpenApiOperation, formatOpenApiHttpDebugLine },
|
|
2960
2960
|
{ parsePackageCheckResult, PublishChecksAuthError }
|
|
2961
2961
|
] = await Promise.all([
|
|
2962
|
-
import("./open-api-client-
|
|
2963
|
-
import("./dev-command-
|
|
2962
|
+
import("./open-api-client-6EASR44U.js"),
|
|
2963
|
+
import("./dev-command-AXVR6YKN.js")
|
|
2964
2964
|
]);
|
|
2965
2965
|
let token2;
|
|
2966
2966
|
try {
|
|
@@ -3077,7 +3077,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
3077
3077
|
purpose: "kody dev",
|
|
3078
3078
|
...org ? { org } : {}
|
|
3079
3079
|
}) : "mock";
|
|
3080
|
-
const mockDepResolve = target === "mock" ? await (await import("./mock-dep-resolve-
|
|
3080
|
+
const mockDepResolve = target === "mock" ? await (await import("./mock-dep-resolve-BUPDXS3Y.js")).tryResolveMockDepResolve({
|
|
3081
3081
|
tokenValues,
|
|
3082
3082
|
apiUrl: prodApiUrl,
|
|
3083
3083
|
mcpUrl,
|
|
@@ -3242,7 +3242,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
3242
3242
|
const apiUrl = apiUrlFrom({
|
|
3243
3243
|
apiUrl: typeof parsed.values["api-url"] === "string" ? parsed.values["api-url"] : void 0
|
|
3244
3244
|
});
|
|
3245
|
-
const local = await import("./local-secrets-
|
|
3245
|
+
const local = await import("./local-secrets-HK65SLAO.js");
|
|
3246
3246
|
const token = () => accessTokenForOpenApi({
|
|
3247
3247
|
tokenValues: tokenFlagValues(parsed.values),
|
|
3248
3248
|
apiUrl,
|
|
@@ -3317,7 +3317,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
3317
3317
|
const params = parseApiParamsJson(
|
|
3318
3318
|
typeof parsed.values.params === "string" ? parsed.values.params : void 0
|
|
3319
3319
|
);
|
|
3320
|
-
const { callOpenApiOperation } = await import("./open-api-client-
|
|
3320
|
+
const { callOpenApiOperation } = await import("./open-api-client-6EASR44U.js");
|
|
3321
3321
|
const result = await callOpenApiOperation({
|
|
3322
3322
|
operationId,
|
|
3323
3323
|
params,
|
|
@@ -3352,7 +3352,7 @@ async function dispatch(parsed, write, writeErr, stdoutIsTTY) {
|
|
|
3352
3352
|
mcpUrl,
|
|
3353
3353
|
org
|
|
3354
3354
|
});
|
|
3355
|
-
const { callOpenApiOperation: callOpenApiOperation2 } = await import("./open-api-client-
|
|
3355
|
+
const { callOpenApiOperation: callOpenApiOperation2 } = await import("./open-api-client-6EASR44U.js");
|
|
3356
3356
|
write(
|
|
3357
3357
|
await runPackageCollaboratorPlan({
|
|
3358
3358
|
plan,
|
|
@@ -3378,7 +3378,7 @@ ${packageCollaboratorUsage}`
|
|
|
3378
3378
|
positional: parsed.positionals[1],
|
|
3379
3379
|
paramsJson: typeof parsed.values.params === "string" ? parsed.values.params : void 0
|
|
3380
3380
|
});
|
|
3381
|
-
const { callOpenApiOperation } = await import("./open-api-client-
|
|
3381
|
+
const { callOpenApiOperation } = await import("./open-api-client-6EASR44U.js");
|
|
3382
3382
|
const publishToken = await accessTokenForOpenApi({
|
|
3383
3383
|
tokenValues,
|
|
3384
3384
|
apiUrl,
|
|
@@ -3550,7 +3550,7 @@ function attachExecuteCommonArgs(args, input) {
|
|
|
3550
3550
|
return args;
|
|
3551
3551
|
}
|
|
3552
3552
|
async function runAuthSetupGit(input) {
|
|
3553
|
-
const { authSetupGit } = await import("./setup-git-
|
|
3553
|
+
const { authSetupGit } = await import("./setup-git-EOY7IH5C.js");
|
|
3554
3554
|
const apiUrl = apiUrlFrom({
|
|
3555
3555
|
apiUrl: typeof input.values["api-url"] === "string" ? input.values["api-url"] : void 0
|
|
3556
3556
|
});
|
|
@@ -3582,7 +3582,7 @@ async function runAuthSetupGit(input) {
|
|
|
3582
3582
|
return 0;
|
|
3583
3583
|
}
|
|
3584
3584
|
async function runAuthRemoveGit(input) {
|
|
3585
|
-
const { authRemoveGit, formatAuthRemoveGitReport } = await import("./setup-git-
|
|
3585
|
+
const { authRemoveGit, formatAuthRemoveGitReport } = await import("./setup-git-EOY7IH5C.js");
|
|
3586
3586
|
const apiUrl = apiUrlFrom({
|
|
3587
3587
|
apiUrl: typeof input.values["api-url"] === "string" ? input.values["api-url"] : void 0
|
|
3588
3588
|
});
|
|
@@ -3604,7 +3604,7 @@ function bootstrapMinter(input) {
|
|
|
3604
3604
|
});
|
|
3605
3605
|
if (minter?.token) {
|
|
3606
3606
|
const token = minter.token;
|
|
3607
|
-
const { callOpenApiOperation } = await import("./open-api-client-
|
|
3607
|
+
const { callOpenApiOperation } = await import("./open-api-client-6EASR44U.js");
|
|
3608
3608
|
try {
|
|
3609
3609
|
return await callOpenApiOperation({
|
|
3610
3610
|
token,
|
|
@@ -3623,13 +3623,13 @@ function bootstrapMinter(input) {
|
|
|
3623
3623
|
}
|
|
3624
3624
|
}
|
|
3625
3625
|
if (minter) {
|
|
3626
|
-
const { ensureOpenApiCredentials } = await import("./auth-
|
|
3626
|
+
const { ensureOpenApiCredentials } = await import("./auth-U3NWERKP.js");
|
|
3627
3627
|
const session = await ensureOpenApiCredentials({
|
|
3628
3628
|
mcpUrl: input.mcpUrl,
|
|
3629
3629
|
apiUrl: input.apiUrl,
|
|
3630
3630
|
...input.org ? { org: input.org } : {}
|
|
3631
3631
|
});
|
|
3632
|
-
const { callOpenApiOperation } = await import("./open-api-client-
|
|
3632
|
+
const { callOpenApiOperation } = await import("./open-api-client-6EASR44U.js");
|
|
3633
3633
|
return callOpenApiOperation({
|
|
3634
3634
|
operationId: cliCredentialBootstrapOperationId,
|
|
3635
3635
|
params,
|
|
@@ -3656,7 +3656,7 @@ async function accessTokenForOpenApi(input) {
|
|
|
3656
3656
|
...input.org ? { org: input.org } : {}
|
|
3657
3657
|
});
|
|
3658
3658
|
if (credential?.token) return credential.token;
|
|
3659
|
-
const { ensureOpenApiCredentials } = await import("./auth-
|
|
3659
|
+
const { ensureOpenApiCredentials } = await import("./auth-U3NWERKP.js");
|
|
3660
3660
|
const session = await ensureOpenApiCredentials({
|
|
3661
3661
|
mcpUrl: input.mcpUrl,
|
|
3662
3662
|
apiUrl: input.apiUrl,
|
|
@@ -3763,4 +3763,4 @@ export {
|
|
|
3763
3763
|
resolvePackagePublishTarget,
|
|
3764
3764
|
supersedeStoredApiTokenAfterLogin
|
|
3765
3765
|
};
|
|
3766
|
-
//# sourceMappingURL=chunk-
|
|
3766
|
+
//# sourceMappingURL=chunk-IGWPR7VX.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
OpenApiError,
|
|
7
7
|
openApiGet,
|
|
8
8
|
openApiRequest
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GW7WNSTF.js";
|
|
10
10
|
import {
|
|
11
11
|
assertTokenSafeApiUrl,
|
|
12
12
|
capabilityProxyUrl
|
|
@@ -747,7 +747,7 @@ async function authSetupGit(input) {
|
|
|
747
747
|
);
|
|
748
748
|
}
|
|
749
749
|
const resolveToken = input.resolveToken ?? (async () => {
|
|
750
|
-
const { ensureGitApiToken } = await import("./git-credential-
|
|
750
|
+
const { ensureGitApiToken } = await import("./git-credential-2FHJKBLL.js");
|
|
751
751
|
const ensured = await ensureGitApiToken({
|
|
752
752
|
apiUrl,
|
|
753
753
|
mcpUrl,
|
|
@@ -967,4 +967,4 @@ export {
|
|
|
967
967
|
authRemoveGit,
|
|
968
968
|
formatAuthRemoveGitReport
|
|
969
969
|
};
|
|
970
|
-
//# sourceMappingURL=chunk-
|
|
970
|
+
//# sourceMappingURL=chunk-PGOZPODD.js.map
|