@kodycodes/cli 3.34.6 → 3.34.7
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 +18 -20
- package/dist/{auth-AKQHOHID.js → auth-I4XH63PZ.js} +8 -8
- package/dist/bin.js +11 -11
- package/dist/{chunk-S25OT7WN.js → chunk-22AN66MM.js} +3 -3
- package/dist/{chunk-UUTWW4WZ.js → chunk-4QDPGKUS.js} +4 -4
- package/dist/{chunk-2G4GTBVS.js → chunk-5BNIKSOV.js} +2 -2
- package/dist/{chunk-6UKNLM4J.js → chunk-7UV4RVJW.js} +2 -2
- package/dist/{chunk-Z4F75LW4.js → chunk-B4OOCRLZ.js} +4 -4
- package/dist/{chunk-WXIZWY7D.js → chunk-B5DIPCOD.js} +3 -3
- package/dist/{chunk-RNKUXPIV.js → chunk-ENFBLA4M.js} +2 -2
- package/dist/{chunk-FHCZOUMK.js → chunk-HBHIQDJI.js} +7 -7
- package/dist/{chunk-LMECHWQG.js → chunk-KMEHILCP.js} +3 -3
- package/dist/{chunk-VTHFAAAB.js → chunk-KXK3O7O2.js} +3 -3
- package/dist/{chunk-P4UANZGD.js → chunk-LGG77FR7.js} +4 -4
- package/dist/chunk-LGG77FR7.js.map +6 -0
- package/dist/{chunk-XJGR7USP.js → chunk-PGJ22SM7.js} +1 -1
- package/dist/{chunk-XJGR7USP.js.map → chunk-PGJ22SM7.js.map} +1 -1
- package/dist/{chunk-DXPSBREX.js → chunk-V3KIBQVH.js} +44 -44
- package/dist/{chunk-3VTBNHOP.js → chunk-W7JYNGNA.js} +6 -6
- package/dist/{chunk-XLPWBRJA.js → chunk-XQQYWLYQ.js} +4 -4
- package/dist/{chunk-FSPB2VOI.js → chunk-XRIUHO5Q.js} +2 -2
- package/dist/{chunk-2JLWI6S6.js → chunk-Z7DR5UNN.js} +1 -1
- package/dist/{chunk-2JLWI6S6.js.map → chunk-Z7DR5UNN.js.map} +1 -1
- package/dist/cli.js +11 -11
- package/dist/{commands-DV433NZC.js → commands-CX2FTGEB.js} +6 -6
- package/dist/{commands-DV433NZC.js.map → commands-CX2FTGEB.js.map} +1 -1
- package/dist/{dev-command-SOYWO5CC.js → dev-command-WOSJFXY7.js} +12 -12
- package/dist/execution-context/host-command-state.d.ts +4 -0
- package/dist/execution-context/keystore.d.ts +6 -3
- package/dist/{git-credential-DILZVB7K.js → git-credential-JUIVYMJM.js} +9 -9
- package/dist/keyring-entry.d.ts +5 -1
- package/dist/{local-execute-3XA7PDHO.js → local-execute-DY6HZ3KQ.js} +9 -9
- package/dist/{local-package-graph-52VMEXXB.js → local-package-graph-FMCN2OY4.js} +7 -7
- package/dist/{local-package-run-XSD5MFQ2.js → local-package-run-BUO3MVML.js} +11 -11
- package/dist/{local-secrets-7TZHJCJW.js → local-secrets-77VJOY4E.js} +7 -7
- package/dist/mock/mock-storage.d.ts +3 -2
- package/dist/{mock-dep-resolve-RXRPPUHG.js → mock-dep-resolve-JA6IDQPE.js} +6 -6
- package/dist/{mock-local-deps-S4I2PI7H.js → mock-local-deps-QHMQCI5L.js} +8 -8
- package/dist/{mock-server-IAXWMMFJ.js → mock-server-IUHUKCGP.js} +2 -2
- package/dist/{open-api-client-G2UW7AMN.js → open-api-client-S26DL5MW.js} +7 -7
- package/dist/{org-FYDBV6R3.js → org-VKSU4YVE.js} +2 -2
- package/dist/publish-builder.js +14 -2
- package/dist/{remote-execute-7FSFBBYD.js → remote-execute-WTORQH3E.js} +7 -7
- package/dist/{run-executor-LYSUFLSL.js → run-executor-VFNRNXVE.js} +2 -2
- package/dist/{setup-git-PRMZHUIC.js → setup-git-LSHM7DQM.js} +8 -8
- package/dist/{store-3MBFGTTB.js → store-DGAP2AZS.js} +2 -2
- package/dist/{whoami-JN7ACJMO.js → whoami-3HCHZO2F.js} +6 -6
- package/package.json +1 -1
- package/dist/chunk-P4UANZGD.js.map +0 -6
- /package/dist/{auth-AKQHOHID.js.map → auth-I4XH63PZ.js.map} +0 -0
- /package/dist/{chunk-S25OT7WN.js.map → chunk-22AN66MM.js.map} +0 -0
- /package/dist/{chunk-UUTWW4WZ.js.map → chunk-4QDPGKUS.js.map} +0 -0
- /package/dist/{chunk-2G4GTBVS.js.map → chunk-5BNIKSOV.js.map} +0 -0
- /package/dist/{chunk-6UKNLM4J.js.map → chunk-7UV4RVJW.js.map} +0 -0
- /package/dist/{chunk-Z4F75LW4.js.map → chunk-B4OOCRLZ.js.map} +0 -0
- /package/dist/{chunk-WXIZWY7D.js.map → chunk-B5DIPCOD.js.map} +0 -0
- /package/dist/{chunk-RNKUXPIV.js.map → chunk-ENFBLA4M.js.map} +0 -0
- /package/dist/{chunk-FHCZOUMK.js.map → chunk-HBHIQDJI.js.map} +0 -0
- /package/dist/{chunk-LMECHWQG.js.map → chunk-KMEHILCP.js.map} +0 -0
- /package/dist/{chunk-VTHFAAAB.js.map → chunk-KXK3O7O2.js.map} +0 -0
- /package/dist/{chunk-DXPSBREX.js.map → chunk-V3KIBQVH.js.map} +0 -0
- /package/dist/{chunk-3VTBNHOP.js.map → chunk-W7JYNGNA.js.map} +0 -0
- /package/dist/{chunk-XLPWBRJA.js.map → chunk-XQQYWLYQ.js.map} +0 -0
- /package/dist/{chunk-FSPB2VOI.js.map → chunk-XRIUHO5Q.js.map} +0 -0
- /package/dist/{dev-command-SOYWO5CC.js.map → dev-command-WOSJFXY7.js.map} +0 -0
- /package/dist/{git-credential-DILZVB7K.js.map → git-credential-JUIVYMJM.js.map} +0 -0
- /package/dist/{local-execute-3XA7PDHO.js.map → local-execute-DY6HZ3KQ.js.map} +0 -0
- /package/dist/{local-package-graph-52VMEXXB.js.map → local-package-graph-FMCN2OY4.js.map} +0 -0
- /package/dist/{local-package-run-XSD5MFQ2.js.map → local-package-run-BUO3MVML.js.map} +0 -0
- /package/dist/{local-secrets-7TZHJCJW.js.map → local-secrets-77VJOY4E.js.map} +0 -0
- /package/dist/{mock-dep-resolve-RXRPPUHG.js.map → mock-dep-resolve-JA6IDQPE.js.map} +0 -0
- /package/dist/{mock-local-deps-S4I2PI7H.js.map → mock-local-deps-QHMQCI5L.js.map} +0 -0
- /package/dist/{mock-server-IAXWMMFJ.js.map → mock-server-IUHUKCGP.js.map} +0 -0
- /package/dist/{open-api-client-G2UW7AMN.js.map → open-api-client-S26DL5MW.js.map} +0 -0
- /package/dist/{org-FYDBV6R3.js.map → org-VKSU4YVE.js.map} +0 -0
- /package/dist/{remote-execute-7FSFBBYD.js.map → remote-execute-WTORQH3E.js.map} +0 -0
- /package/dist/{run-executor-LYSUFLSL.js.map → run-executor-VFNRNXVE.js.map} +0 -0
- /package/dist/{setup-git-PRMZHUIC.js.map → setup-git-LSHM7DQM.js.map} +0 -0
- /package/dist/{store-3MBFGTTB.js.map → store-DGAP2AZS.js.map} +0 -0
- /package/dist/{whoami-JN7ACJMO.js.map → whoami-3HCHZO2F.js.map} +0 -0
package/README.md
CHANGED
|
@@ -108,14 +108,14 @@ flags, and subcommands.
|
|
|
108
108
|
| `kody org use [<slug>]` | Switches the active org. With a slug (agents) switches directly; with no slug on a TTY opens a chooser; without a TTY pass a slug. |
|
|
109
109
|
| `kody logout` | Removes the active org login (or `--org <slug>` for one org) and clears a stored bootstrap/API token when appropriate. |
|
|
110
110
|
| `kody status` | Shows CLI login / stored API token state without printing secrets. |
|
|
111
|
-
| `kody auth bootstrap --code` | Redeems a one-shot `kody_bc_…` from MCP `cliCredentialBootstrap` and
|
|
112
|
-
| `kody auth bootstrap --scopes` |
|
|
111
|
+
| `kody auth bootstrap --code` | Redeems a one-shot `kody_bc_…` from MCP `cliCredentialBootstrap` and saves the same credential `kody login` saves (never prints the token). Every command, including git, uses that slot. |
|
|
112
|
+
| `kody auth bootstrap --scopes` | Saves a deliberately narrower credential (the list replaces the default): mints the code itself by passing `scopes` to `cliCredentialBootstrap` (with `--token`, else `KODY_API_TOKEN`, else the saved credential), then redeems and stores it. See [Narrower scopes](#narrower-scopes). |
|
|
113
113
|
| `kody auth setup-git` | Installs a Git credential helper for `https://kody.codes/@owner/name.git` (persistent `kody_at_…`, user-owned token with `package:read`/`package:write`). See [Git HTTPS](#git-https-setup-git). |
|
|
114
|
-
| `kody auth remove-git` | Inverse of `setup-git`: clears Kody HTTPS git helpers
|
|
114
|
+
| `kody auth remove-git` | Inverse of `setup-git`: clears Kody HTTPS git helpers and revokes any token left in the old API-token slot. Leaves the saved CLI credential alone. |
|
|
115
115
|
| `kody git-credential` | Credential helper invoked by Git after `setup-git` (`get` / `store` / `erase`). |
|
|
116
|
-
| `kody whoami` | Shows the credential commands will use (`--token`, `KODY_API_TOKEN`,
|
|
116
|
+
| `kody whoami` | Shows the credential commands will use (`--token`, `KODY_API_TOKEN`, or the saved CLI credential from `kody login` / `kody auth bootstrap`), its token id and scopes, and any other stored credential it outranks. See [Which credential a command uses](#which-credential-a-command-uses). |
|
|
117
117
|
| `kody search [query]` | Calls Kody `search` from the CLI (prefer the host MCP tool). Token-only auth uses Open API `GET /v1/search`. |
|
|
118
|
-
| `kody api <operationId>` | Thin Open API wrapper matching the MCP `api` tool: `operationId` + flat `--params` JSON. Auth: `--token`, `KODY_API_TOKEN`, the
|
|
118
|
+
| `kody api <operationId>` | Thin Open API wrapper matching the MCP `api` tool: `operationId` + flat `--params` JSON. Auth: `--token`, `KODY_API_TOKEN`, then the saved CLI credential (same pick `kody whoami` reports). The parsed `/openapi.json` route map is cached under the Kody cache dir keyed by the document's `ETag` and revalidated with `If-None-Match` on each run. |
|
|
119
119
|
| `kody secret get <name>` | Prints the value of a secret whose local reads a person turned on in Kody (raw by default; `--format env` or `--format json` for several). Refuses an interactive terminal unless `--reveal`; piped output is fine. A refused read prints a plain reason and, when local reads are off, a link to turn them on for that secret. Same auth as `kody api`. |
|
|
120
120
|
| `kody run --secret <name>[=ENV] -- <cmd>` | Reads every listed secret (or none), then runs the command with them in its environment. `databaseUrl` becomes `DATABASE_URL` unless named. Exits with the command's exit code. |
|
|
121
121
|
| `kody package publish` | Thin wrapper for `packagePublishExternalPush`. Optional positional `@owner/leaf`, bare leaf name, or package UUID (names are resolved to the package UUID via `packageList`); extra fields via `--params`. Same auth as `kody api`. Prints the API JSON. Exit **0** for `published`, `already_published` (including `artifacts_rebuilt: true`), and `dispatched` (poll `workflowRunList({ workflow_id })`). Exit **1** for refusal/rejection statuses (`checks_failed`, `locked`, `approval_required`, `not_fast_forward`) with the API `message` (or a checks summary) on stderr, like npm. Auth / permission / network failures also exit 1; `--json` adds `{ error, message, sent }` on stdout for network errors (`sent: false` = not sent; `sent: "unknown"` = maybe sent — prefer `kody api workflowRunList` with `workflow_id` when known, otherwise a recent list, before retry). Re-publishing the same commit is safe (durable dedupe / `already_published`). |
|
|
@@ -165,21 +165,17 @@ npx @kodycodes/cli api usageGet --params '{}'
|
|
|
165
165
|
the returned `cli_command` (never ask a human to paste a token); humans run
|
|
166
166
|
`kody login`; CI/headless uses `tokenCreate` + `KODY_API_TOKEN`.
|
|
167
167
|
- For `execute --local` specifically: `--token` / `KODY_API_TOKEN` wins when
|
|
168
|
-
set; else
|
|
169
|
-
`kody
|
|
170
|
-
|
|
171
|
-
`
|
|
172
|
-
|
|
173
|
-
a different API origin, use `auth bootstrap --api-url <origin>` or set
|
|
174
|
-
`KODY_API_TOKEN`. Paired `kody login` OAuth is accepted as Bearer on
|
|
175
|
-
CapabilityProxy and package-graph. Unpaired API origins need bootstrap or a
|
|
176
|
-
scoped `kody_at_…` token.
|
|
168
|
+
set; else the one saved CLI credential from `kody login` or
|
|
169
|
+
`kody auth bootstrap` (same slot, whichever ran last). A token an older CLI
|
|
170
|
+
left in the old API-token slot is moved into that credential only when nothing
|
|
171
|
+
else is saved; `kody login` deletes it. For a different API origin, use
|
|
172
|
+
`auth bootstrap --api-url <origin>` or set `KODY_API_TOKEN`.
|
|
177
173
|
- Wrong/expired token → 401 with the same agent-first not-authenticated guidance
|
|
178
174
|
(or the OAuth platform-gap message when the bearer is login OAuth).
|
|
179
175
|
- Wrong scopes → the error names the missing scope and the exact command to mint
|
|
180
|
-
a token that adds it (see [
|
|
181
|
-
lacks the permission, it says so instead: a new token cannot add it, and
|
|
182
|
-
org Owner has to grant it.
|
|
176
|
+
a token that adds it (see [Narrower scopes](#narrower-scopes)). When your org
|
|
177
|
+
role lacks the permission, it says so instead: a new token cannot add it, and
|
|
178
|
+
an org Owner has to grant it.
|
|
183
179
|
- Account flag off → the error includes `feature_disabled` and the
|
|
184
180
|
`local-execute` feature flag. Another token does not bypass that flag.
|
|
185
181
|
- Prefer the env var so the token stays out of shell history and `ps`.
|
|
@@ -582,7 +578,9 @@ CLI credentials are stored in the OS secret store:
|
|
|
582
578
|
|
|
583
579
|
- macOS: Keychain, read and written through Apple's `/usr/bin/security`, so one
|
|
584
580
|
"Always Allow" covers the terminal, `npx`, the background service, and
|
|
585
|
-
Kody.app instead of each node binary asking separately
|
|
581
|
+
Kody.app instead of each node binary asking separately. Calls give up after
|
|
582
|
+
`KODY_KEYCHAIN_TIMEOUT_MS` (2 minutes). Login and other blocking reads cannot
|
|
583
|
+
print while they wait; machine-key reads print a wait notice after 1.5 s.
|
|
586
584
|
- Windows: Credential Manager
|
|
587
585
|
- Linux: Secret Service / libsecret (not the in-memory kernel keyring)
|
|
588
586
|
|
|
@@ -597,8 +595,8 @@ is always printed too, so you can paste it into a browser if no window appears.
|
|
|
597
595
|
|
|
598
596
|
Access tokens refresh automatically on expiry or HTTP 401.
|
|
599
597
|
|
|
600
|
-
`execute --local` prefers `--token` / `KODY_API_TOKEN` when set, then
|
|
601
|
-
|
|
598
|
+
`execute --local` prefers `--token` / `KODY_API_TOKEN` when set, then the one
|
|
599
|
+
saved CLI credential. See
|
|
602
600
|
[Which credential a command uses](#which-credential-a-command-uses).
|
|
603
601
|
|
|
604
602
|
## Execution context daemon performance
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
loginWithDevice,
|
|
10
10
|
refreshStoredCredentials,
|
|
11
11
|
resolvePendingOrgSlug
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XQQYWLYQ.js";
|
|
13
13
|
import "./chunk-GVSGNTG6.js";
|
|
14
14
|
import "./chunk-CWWHR4FH.js";
|
|
15
15
|
import "./chunk-CASGRYOF.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-B5DIPCOD.js";
|
|
17
|
+
import "./chunk-XRIUHO5Q.js";
|
|
18
|
+
import "./chunk-KMEHILCP.js";
|
|
19
|
+
import "./chunk-22AN66MM.js";
|
|
20
|
+
import "./chunk-ENFBLA4M.js";
|
|
21
|
+
import "./chunk-Z7DR5UNN.js";
|
|
22
22
|
import "./chunk-NKH2L5RA.js";
|
|
23
23
|
import "./chunk-XV646S3B.js";
|
|
24
24
|
import "./chunk-YVWOK4LV.js";
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
refreshStoredCredentials,
|
|
35
35
|
resolvePendingOrgSlug
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=auth-
|
|
37
|
+
//# sourceMappingURL=auth-I4XH63PZ.js.map
|
package/dist/bin.js
CHANGED
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
runCli
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V3KIBQVH.js";
|
|
6
6
|
import "./chunk-E4R3Y6MM.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-4QDPGKUS.js";
|
|
8
8
|
import "./chunk-46IJPEID.js";
|
|
9
9
|
import "./chunk-NKQRWYSY.js";
|
|
10
10
|
import "./chunk-MIT3TUWB.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-LGG77FR7.js";
|
|
12
|
+
import "./chunk-7UV4RVJW.js";
|
|
13
|
+
import "./chunk-HBHIQDJI.js";
|
|
14
14
|
import "./chunk-6ZYUGXVW.js";
|
|
15
15
|
import "./chunk-CWWHR4FH.js";
|
|
16
16
|
import "./chunk-CASGRYOF.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-B5DIPCOD.js";
|
|
18
|
+
import "./chunk-XRIUHO5Q.js";
|
|
19
|
+
import "./chunk-KMEHILCP.js";
|
|
20
|
+
import "./chunk-22AN66MM.js";
|
|
21
|
+
import "./chunk-ENFBLA4M.js";
|
|
22
|
+
import "./chunk-Z7DR5UNN.js";
|
|
23
23
|
import "./chunk-NKH2L5RA.js";
|
|
24
24
|
import "./chunk-XV646S3B.js";
|
|
25
25
|
import "./chunk-YVWOK4LV.js";
|
|
@@ -2,11 +2,11 @@ import { createRequire as __createRequire } from 'node:module'; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
deleteStoredApiToken,
|
|
4
4
|
loadStoredApiToken
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ENFBLA4M.js";
|
|
6
6
|
import {
|
|
7
7
|
loadCredentials,
|
|
8
8
|
saveCredentials
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Z7DR5UNN.js";
|
|
10
10
|
import {
|
|
11
11
|
apiTokenEnvVar,
|
|
12
12
|
defaultApiUrl,
|
|
@@ -167,4 +167,4 @@ export {
|
|
|
167
167
|
credentialUsedNote,
|
|
168
168
|
credentialRejectedNote
|
|
169
169
|
};
|
|
170
|
-
//# sourceMappingURL=chunk-
|
|
170
|
+
//# sourceMappingURL=chunk-22AN66MM.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
expectedPairedApiOrigin,
|
|
4
4
|
isPairedApiUrl,
|
|
5
5
|
notAuthenticatedMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KMEHILCP.js";
|
|
7
7
|
import {
|
|
8
8
|
noteActiveLoginCredential,
|
|
9
9
|
resolveCliCredential
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-22AN66MM.js";
|
|
11
11
|
import {
|
|
12
12
|
defaultApiUrl,
|
|
13
13
|
defaultMcpUrl
|
|
@@ -48,7 +48,7 @@ async function resolveLocalExecuteBearer(input) {
|
|
|
48
48
|
`kody login credentials for ${mcpOrigin} are only sent to ${expectedPairedApiOrigin(mcpUrl)}. For ${apiOrigin}, run \`kody auth bootstrap --code \u2026 --api-url ${apiOrigin}\` or set KODY_API_TOKEN.`
|
|
49
49
|
);
|
|
50
50
|
}
|
|
51
|
-
const ensure = input.ensureCredentials ?? (await import("./auth-
|
|
51
|
+
const ensure = input.ensureCredentials ?? (await import("./auth-I4XH63PZ.js")).ensureFreshCredentials;
|
|
52
52
|
try {
|
|
53
53
|
const credentials = await ensure({
|
|
54
54
|
mcpUrl: input.mcpUrl,
|
|
@@ -70,4 +70,4 @@ async function resolveLocalExecuteBearer(input) {
|
|
|
70
70
|
export {
|
|
71
71
|
resolveLocalExecuteBearer
|
|
72
72
|
};
|
|
73
|
-
//# sourceMappingURL=chunk-
|
|
73
|
+
//# sourceMappingURL=chunk-4QDPGKUS.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
hasLiteralDynamicSavedPackageImports,
|
|
9
9
|
listSavedPackageImports,
|
|
10
10
|
rewriteBareKodyBuiltinImports
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-B4OOCRLZ.js";
|
|
12
12
|
import {
|
|
13
13
|
loadPackageManifest,
|
|
14
14
|
resolveExportModulePath
|
|
@@ -193,4 +193,4 @@ export {
|
|
|
193
193
|
mergePackageGraphs,
|
|
194
194
|
tryLoadSelfManifest
|
|
195
195
|
};
|
|
196
|
-
//# sourceMappingURL=chunk-
|
|
196
|
+
//# sourceMappingURL=chunk-5BNIKSOV.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
cliConfigDir
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Z7DR5UNN.js";
|
|
5
5
|
|
|
6
6
|
// src/execution-context/fs-access.ts
|
|
7
7
|
import {
|
|
@@ -461,4 +461,4 @@ export {
|
|
|
461
461
|
resolveHostPath,
|
|
462
462
|
fsFeatures
|
|
463
463
|
};
|
|
464
|
-
//# sourceMappingURL=chunk-
|
|
464
|
+
//# sourceMappingURL=chunk-7UV4RVJW.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
assertTokenSafeApiUrl,
|
|
8
8
|
capabilityProxyUrl,
|
|
9
9
|
readPackageVersion
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XRIUHO5Q.js";
|
|
11
11
|
import {
|
|
12
12
|
capabilityProxyForbiddenMessage,
|
|
13
13
|
currentStoredTokenLifetimeAlias,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
readInsufficientScopeDetails,
|
|
19
19
|
rejectedApiTokenMessage,
|
|
20
20
|
rejectedOauthBearerMessage
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KMEHILCP.js";
|
|
22
22
|
import {
|
|
23
23
|
cliName
|
|
24
24
|
} from "./chunk-NKH2L5RA.js";
|
|
@@ -1421,7 +1421,7 @@ async function resolveLocalPackageGraph(input) {
|
|
|
1421
1421
|
mergePackageGraphs,
|
|
1422
1422
|
resolveLocalPackageModules,
|
|
1423
1423
|
tryLoadSelfManifest
|
|
1424
|
-
} = await import("./mock-local-deps-
|
|
1424
|
+
} = await import("./mock-local-deps-QHMQCI5L.js");
|
|
1425
1425
|
if (imports.length > 0 && input.packageRoot) {
|
|
1426
1426
|
const selfManifest = await tryLoadSelfManifest(input.packageRoot);
|
|
1427
1427
|
const local = await resolveLocalPackageModules({
|
|
@@ -1845,4 +1845,4 @@ export {
|
|
|
1845
1845
|
createPackageBindingsLiteral,
|
|
1846
1846
|
fetchLocalPackageGraph
|
|
1847
1847
|
};
|
|
1848
|
-
//# sourceMappingURL=chunk-
|
|
1848
|
+
//# sourceMappingURL=chunk-B4OOCRLZ.js.map
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
assertTokenSafeApiUrl,
|
|
4
4
|
capabilityProxyUrl,
|
|
5
5
|
readPackageVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XRIUHO5Q.js";
|
|
7
7
|
import {
|
|
8
8
|
currentStoredTokenLifetimeAlias,
|
|
9
9
|
insufficientScopeMessage,
|
|
10
10
|
profileDenialMessage,
|
|
11
11
|
readInsufficientScopeDetails,
|
|
12
12
|
rejectedApiTokenMessage
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KMEHILCP.js";
|
|
14
14
|
import {
|
|
15
15
|
cliName,
|
|
16
16
|
defaultApiUrl
|
|
@@ -2004,4 +2004,4 @@ export {
|
|
|
2004
2004
|
searchWithApiToken,
|
|
2005
2005
|
whoamiWithApiToken
|
|
2006
2006
|
};
|
|
2007
|
-
//# sourceMappingURL=chunk-
|
|
2007
|
+
//# sourceMappingURL=chunk-B5DIPCOD.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
KeychainTimeoutError,
|
|
4
4
|
createFileBackend,
|
|
5
5
|
createKeyringEntry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z7DR5UNN.js";
|
|
7
7
|
import {
|
|
8
8
|
defaultApiUrl
|
|
9
9
|
} from "./chunk-NKH2L5RA.js";
|
|
@@ -102,4 +102,4 @@ export {
|
|
|
102
102
|
loadStoredApiToken,
|
|
103
103
|
deleteStoredApiToken
|
|
104
104
|
};
|
|
105
|
-
//# sourceMappingURL=chunk-
|
|
105
|
+
//# sourceMappingURL=chunk-ENFBLA4M.js.map
|
|
@@ -6,22 +6,22 @@ import {
|
|
|
6
6
|
OpenApiError,
|
|
7
7
|
openApiGet,
|
|
8
8
|
openApiRequest
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-B5DIPCOD.js";
|
|
10
10
|
import {
|
|
11
11
|
assertTokenSafeApiUrl,
|
|
12
12
|
capabilityProxyUrl,
|
|
13
13
|
readPackageVersion
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XRIUHO5Q.js";
|
|
15
15
|
import {
|
|
16
16
|
storedCredentialsFromApiToken
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-22AN66MM.js";
|
|
18
18
|
import {
|
|
19
19
|
deleteStoredApiToken,
|
|
20
20
|
loadStoredApiToken
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ENFBLA4M.js";
|
|
22
22
|
import {
|
|
23
23
|
saveCredentials
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Z7DR5UNN.js";
|
|
25
25
|
import {
|
|
26
26
|
cliName,
|
|
27
27
|
defaultApiUrl,
|
|
@@ -731,7 +731,7 @@ async function authSetupGit(input) {
|
|
|
731
731
|
);
|
|
732
732
|
}
|
|
733
733
|
const resolveToken = input.resolveToken ?? (async () => {
|
|
734
|
-
const { ensureGitApiToken } = await import("./git-credential-
|
|
734
|
+
const { ensureGitApiToken } = await import("./git-credential-JUIVYMJM.js");
|
|
735
735
|
const ensured = await ensureGitApiToken({
|
|
736
736
|
apiUrl,
|
|
737
737
|
mcpUrl,
|
|
@@ -951,4 +951,4 @@ export {
|
|
|
951
951
|
authRemoveGit,
|
|
952
952
|
formatAuthRemoveGitReport
|
|
953
953
|
};
|
|
954
|
-
//# sourceMappingURL=chunk-
|
|
954
|
+
//# sourceMappingURL=chunk-HBHIQDJI.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
activeCliCredential,
|
|
4
4
|
credentialRejectedNote,
|
|
5
5
|
credentialUsedNote
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-22AN66MM.js";
|
|
7
7
|
import {
|
|
8
8
|
loadStoredApiToken
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ENFBLA4M.js";
|
|
10
10
|
import {
|
|
11
11
|
apiTokenEnvVar,
|
|
12
12
|
defaultApiUrl,
|
|
@@ -242,4 +242,4 @@ export {
|
|
|
242
242
|
featureDisabledMessage,
|
|
243
243
|
requireApiToken
|
|
244
244
|
};
|
|
245
|
-
//# sourceMappingURL=chunk-
|
|
245
|
+
//# sourceMappingURL=chunk-KMEHILCP.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
localExecuteGatewayFetchShimModuleName,
|
|
8
8
|
localWorkerModuleNames,
|
|
9
9
|
runSecretHeader
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-B4OOCRLZ.js";
|
|
11
11
|
import {
|
|
12
12
|
localBridgeTlsCheckPath
|
|
13
13
|
} from "./chunk-F6SEQDAM.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
gatewayFetchPackageIdHeaderName,
|
|
24
24
|
gatewayFetchUrlHeaderName,
|
|
25
25
|
secretResolutionHeaderName
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-XRIUHO5Q.js";
|
|
27
27
|
|
|
28
28
|
// src/local-runtime-bridge.ts
|
|
29
29
|
import {
|
|
@@ -554,4 +554,4 @@ export {
|
|
|
554
554
|
assertLocalPackageScopedSecretWriteAllowed,
|
|
555
555
|
installMockFetchShimModules
|
|
556
556
|
};
|
|
557
|
-
//# sourceMappingURL=chunk-
|
|
557
|
+
//# sourceMappingURL=chunk-KXK3O7O2.js.map
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
setLocalAutoUpdateEnabled,
|
|
8
8
|
validateServiceEnvKey,
|
|
9
9
|
writeLocalPolicy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7UV4RVJW.js";
|
|
11
11
|
import {
|
|
12
12
|
apiTokenFileStorePath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ENFBLA4M.js";
|
|
14
14
|
import {
|
|
15
15
|
KeychainTimeoutError,
|
|
16
16
|
cliConfigDir,
|
|
17
17
|
createAsyncKeyringEntry,
|
|
18
18
|
killProcessTree,
|
|
19
19
|
windowsCommandLine
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-Z7DR5UNN.js";
|
|
21
21
|
import {
|
|
22
22
|
formatUnreachableApiMessage,
|
|
23
23
|
requestSentStatus
|
|
@@ -3709,4 +3709,4 @@ export {
|
|
|
3709
3709
|
isRemoteDaemonCommand,
|
|
3710
3710
|
runRemoteDaemonCommand
|
|
3711
3711
|
};
|
|
3712
|
-
//# sourceMappingURL=chunk-
|
|
3712
|
+
//# sourceMappingURL=chunk-LGG77FR7.js.map
|