Public: anyone can read this; the crew can change it.

deepsec runs in a check cell: the tool installed, the connected model key handed in, egress the model host only #15045

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

torque/forge:torque/15024-deepsec-runs-in-a-check-cell-the-tool-in → main 8 commits fork

  • Merged. torque/15024-deepsec-runs-in-a-check-cell-the-tool-in was merged into main as fbc5693.

Review

Sign in to review this change.
27 files changed +1851 −4
.deepsec/data/forge/INFO.md added +60
@@ -0,0 +1,60 @@
1 # forge
2
3 ## What this codebase does
4
5 A self-hosted, multi-tenant software forge in one Bun + TypeScript process with SQLite (`bun:sqlite`)
6 and no runtime dependencies. It serves git over HTTP and SSH, a web UI, a JSON API, an MCP server and a
7 terminal UI. It also runs a "crew" of AI coding agents against repositories, runs checks (CI) and apps
8 in sandboxed "cells" (bubblewrap + namespaces), and hosts child forges ("spawn") that may run their own
9 code. Public internet facing; anonymous strangers, guests, members, admins, AI agents and child forges
10 all reach it.
11
12 ## Auth shape
13
14 - Repo access: `canRead` / `canWrite` / `canAdmin` in `src/core/repos.ts`; HTTP wrappers
15 `requireReader`, `requireWriter`, `requireRepoAdmin`, `requireUser`, `requireScope` (`src/http/respond.ts`).
16 - Tokens: `verifyToken` (`src/core/tokens.ts`) — sha256-stored, scoped, may be bound to ONE repository
17 (run, child, outside-agent "contribute" token, app). A repo-bound token must be refused on every other
18 repo before the handler runs. Passports `fp1.…` (`src/http/passport_edge.ts`) are short-lived, audience-bound.
19 - Admin: every route is marked `admin` or `open` in `src/http/route_marks.ts` / `src/http/marks/`;
20 `src/http/admin_gate.ts` is the single gate. Roles guest/member/admin in `src/core/roles.ts`.
21 - Edge identity: `X-Plat-User` is trusted only with `X-Plat-Edge-Token` == `FORGE_EDGE_TOKEN` (`src/http/edge.ts`).
22 Client address from socket peer; `X-Forwarded-For` only past configured trusted proxies.
23 - Git hooks call the forge on an internal listener with a per-boot `x-forge-hook-secret`.
24 Child → parent calls are HMAC-signed with a per-child key.
25
26 ## Threat model
27
28 1. Cross-tenant read/write: a guest, a repo-bound token, a fork reader, or a child forge reaching another
29 repository's code, secrets, app variables or private objects (fork object sharing is a known hazard).
30 2. Escape from a crew run, check cell, app cell or child-forge cell: reaching the forge's data dir,
31 secret.key, other clones, the host network, private/metadata addresses (SSRF via origins, egress proxy,
32 mirrors, webhooks), or poisoning shared install caches.
33 3. Landing unapproved code: bypassing merge gates, protected default branch, pull approval of a guest
34 head, or the release/self-deploy path.
35 4. Secret leakage: tokens, sealed secrets, model credentials in logs, events, API replies, error text.
36 5. Account takeover: sessions, sign-in throttle, passkeys, OAuth/brokered sign-in, email verification,
37 Stripe webhook signature.
38
39 `docs/THREATS.md` lists every protection with its enforcing test. Lines saying `Enforced by: none yet`
40 are known gaps — report concrete exploitable instances of them, but prioritize places where a claimed
41 protection does not actually hold in code.
42
43 ## Project-specific patterns to flag
44
45 - A route handler that reads a repo by owner/name and acts before `canRead`/`canWrite` or a `require*`
46 helper — especially API, MCP tool, terminal (tui) and SSH command paths, which are separate doors to
47 the same actions and can drift apart.
48 - A route registered without a mark, or an `open` mark on something that changes state.
49 - `Bun.spawn` / git invocations taking user-controlled refs, paths, config keys or URLs (option
50 injection like `--upload-pack`, `-c core.*`, path traversal out of a repo dir, symlinks in a cell dir).
51 - Outbound fetches/pushes whose host is not judged against private/loopback/link-local/tailnet/metadata
52 addresses at dial time (DNS rebinding, redirects).
53 - Raw SQL built by string interpolation instead of bound parameters.
54
55 ## Known false-positives
56
57 - `test/`, `bench/`, `examples/`, `docs/` are not shipped attack surface.
58 - `/releases.json`, public repo reads, and stranger reads behind `src/http/strangers.ts` limits are intentionally public.
59 - A production app's `FORGE_TOKEN` being its owner's read-only token is documented, not a bug.
60 - `FORGE_SELF_SWAP` SO_REUSEPORT sharing with same-user processes is documented and accepted.
.deepsec/data/forge/config.json added +4
@@ -0,0 +1,4 @@
1 {
2 "ignorePaths": ["test/**", "bench/**", "examples/**", "docs/**", "waves/**", "**/node_modules/**", "**/*.test.ts", ".deepsec/**", "scratchpad/**", "testy/**"],
3 "priorityPaths": ["src/http/", "src/core/", "src/git/", "src/ssh/", "src/apps/", "src/crew/", "src/checks/", "src/spawn/", "src/origins/", "src/actions/", "src/billing/"]
4 }
.deepsec/deepsec.config.ts added +13
@@ -0,0 +1,13 @@
1 // The deepsec workspace the forge reviews itself with (#14792). The 2026-11-20 sweep ran from this
2 // config, and it is for a person's run: a pull's review runs with the forge's own config, never this
3 // file, which is the pull's code (`src/checks/deepsec_step.ts`). Direct model auth only: Sandbox mode
4 // uploads the tree to Vercel and stays off. The generated matchers plugin the sweep used is generated
5 // state and is not committed; the files the default matchers miss are handed over by `--files-from`.
6 import { defineConfig } from "deepsec/config";
7
8 export default defineConfig({
9 defaultThinkingLevel: "high",
10 defaultAgent: "claude-agent-sdk",
11 ai: { mode: "direct", provider: "anthropic", apiKeyEnv: "DEEPSEC_ANTHROPIC_KEY" },
12 projects: [{ id: "forge", root: ".." }],
13 });
.gitignore +8
@@ -53,3 +53,11 @@ typesafe-api-key
5353
5454 # a sandbox's bun/bunx scratch directory; never source
5555 /.tmpx/
56
57 # deepsec's workspace (#14792): its config, threat summary and scope are committed, what it generates is not
58 !/.deepsec/data/
59 /.deepsec/data/*/*
60 !/.deepsec/data/*/INFO.md
61 !/.deepsec/data/*/config.json
62 /.deepsec/node_modules/
63 /.deepsec/generated-matchers.js
docs/DEPENDENCIES.md +4
@@ -17,3 +17,7 @@ A line in a `## Dependencies` section of README.md counts as well.
1717 - `happy-dom` — a DOM for tests that run a page's script (`test/changelog.test.ts`) without a browser.
1818 - `typescript` — the native 7.x checker behind `bun x tsc --noEmit`.
1919 - `typescript-api` — TypeScript 5.x, kept only for the compiler API `scripts/hollow.ts` walks; 7.x has none yet.
20
21 ## Installed on demand, not in `package.json`
22
23 `deepsec`: pinned 2.3.16 (Apache-2.0) in `tools/deepsec/package.json` with its lockfile. It is the security review the forge runs after a pull's fast check (`src/checks/deepsec_step.ts`, #15024). There is no zero-dependency equivalent of an agent that reads code for holes. No clone and no `bun install` of the forge carries it. The first check that needs it installs it once into `<data>/check-install/deepsec-2.3.16/` (`src/checks/deepsec_tool.ts`), with `--frozen-lockfile --ignore-scripts --production`. Measured 2026-11-21 with bun 1.4.4: 285 packages, 1001 MB on disk (the Claude agent SDK's and Codex's platform binaries are 790 MB of it), 23.9 s from an empty package cache, 5.6 s from a warm one.
docs/features/deepsec.md added +45
@@ -0,0 +1,45 @@
1 ---
2 topic: Every setting, by topic
3 row: deepsec reviews every pull and a weekly sweep, under a spend ceiling
4 ---
5 # deepsec: the forge reviews its own security
6
7 The forge runs deepsec (open source, Apache-2.0) on itself (#14792).
8 Its workspace is committed in `.deepsec/`:
9
10 - `deepsec.config.ts`: thinking `high`, direct model auth, the project root is the repository. It is for a person's run; a pull's review uses the forge's own config.
11 - `data/forge/INFO.md`: the threat summary deepsec reads (auth primitives, threat model, known false positives; it points at `docs/THREATS.md`).
12 - `data/forge/config.json`: the scope. `ignorePaths` are never reviewed. `priorityPaths` are reviewed first.
13
14 What deepsec generates (`data/forge/runs/`, `files/`, the generated matchers) stays ignored.
15
16 ## On every pull
17
18 The pull's own check step never runs deepsec and is never handed a key: whatever a pull's code runs can read its own environment. The forge runs deepsec itself, after the fast check step is green (`src/checks/deepsec_step.ts`, #15024), for a repository that has a scope in `.deepsec/data/forge/config.json`. It lists the changed `src/` files in scope from the bare repository's diff, priority paths first, and caps them by a dollar ceiling. Then it runs `deepsec process --project-id forge --files-from <list> --limit <n>` when all of these hold, and otherwise names the one that does not:
19
20 - **The pull.** It is the fast tier and not an outside contributor's pull.
21 - **The key.** The forge hands over the connected model account's key as `DEEPSEC_ANTHROPIC_KEY` (`src/checks/deepsec_key.ts`), in the deepsec cell's environment and nowhere else. The account is the one the repository's crew would be picked: a direct API key account, or the forge's own API key for a repository an admin owns with no grant of its own. A subscription login or a gateway is not handed in. The log says `deepsec key: DEEPSEC_ANTHROPIC_KEY handed in from the account "…"`, and every line deepsec prints has the key masked as `[DEEPSEC_ANTHROPIC_KEY]`.
22 - **The cell.** deepsec is an agent with a shell, so it runs in a check cell of its own (`deepsecCell`). The forge's data and home are hidden, except the checkout and the tool, which are read-only. Its one place to write is a scratch directory beside the checkout. Its only way out is the model host, `api.anthropic.com`, and that is always enforced. It cannot reach the forge, and it has no grant. Where the host cannot make a cell, deepsec is skipped, never run bare.
23 - **The tool.** deepsec 2.3.16 is not a dependency of the forge or of any clone. The first check that needs it installs it into the check install cache, `<data>/check-install/deepsec-2.3.16/`, from `tools/deepsec/package.json` and its committed lockfile, with no install scripts run (`src/checks/deepsec_tool.ts`).
24 - **The config.** It is the forge's own (`forgeConfig`), written into the scratch directory: plain data, direct model auth, the checkout as the project root. The checkout's `.deepsec/deepsec.config.ts` is the pull's code, so it is never loaded. The scope and `INFO.md` are read as data, and only when they really are inside the checkout.
25
26 The check log gets one line:
27
28 deepsec: 2 changed src/ files in scope (src/http/c.ts, src/core/d.ts), at most $0.54 at $0.27 a file under a $3.00 ceiling; ran deepsec 2.3.16, no findings (advisory, never blocks the gate)
29
30 deepsec exits 1 when it produces a finding, and the line then names the exit.
31
32 The review never changes the check's verdict. It does not block the gate until its false-positive rate has been measured over two weeks.
33
34 What is left: a prompt planted in the files reviewed could steer the agent to send the key to `api.anthropic.com`, the one host it can reach. The key cannot leave for anywhere else.
35
36 ## Spend
37
38 `process` has no spend cap of its own. The cap is a file count: floor(ceiling ÷ $0.27). $0.27 a file was measured on the 2026-11-20 sweep at thinking `high`; `xhigh` cost about six times that.
39
40 - Per pull: $3 (`PULL_MAX_USD`), about 11 files.
41 - Weekly sweep: the `security.sweep_max_usd` limit on `/admin/limits` (default $25, about 92 files). `sweepArgvs` in `src/checks/deepsec_plan.ts` is the sweep: `scan`, `process --limit n`, then `revalidate --min-severity HIGH`.
42
43 Vercel's Sandbox mode uploads the tree to Vercel, so it stays off: `.deepsec/deepsec.config.ts` sets `ai: { mode: "direct" }`, and no run names a Vercel account.
44
45 Try it locally, with your own key: `cd .deepsec && DEEPSEC_ANTHROPIC_KEY=… bunx [email protected] process --project-id forge --files-from <list>`.
scripts/unused-exports-allow.json +1
@@ -14,6 +14,7 @@
1414 "src/billing/orders.ts recentOrders",
1515 "src/billing/sync.ts setStripeFetch",
1616 "src/boards/model_fill.ts useModel",
17 "src/checks/deepsec_plan.ts sweepArgvs",
1718 "src/checks/doctor.ts isDoctorHold",
1819 "src/checks/order_dependent.ts orderDependent",
1920 "src/checks/queue.ts gateDeadlineForTest",
src/checks/deepsec_key.ts added +65
@@ -0,0 +1,65 @@
1 /**
2 * The connected model account's key, handed to a check that runs deepsec (#15024), and kept out
3 * of its log.
4 *
5 * A check step is the pull's own code, so it is never handed the key. The forge runs deepsec itself
6 * after the step (`checks/deepsec_step.ts`), in a cell of its own, and only that cell's environment
7 * holds the key: for the fast tier of a repository that opted in with a deepsec scope, never an
8 * outside contributor's pull. The account is the one the repository's crew would be picked
9 * (`core/subscriptions.ts` `pickSubscription`): an API key reached directly at the model host, or,
10 * for a repository a forge admin owns with no grant of its own, the forge's own
11 * API key (`crew/runner_env.ts` `forgeApiKey`). A subscription login or a gateway is not handed in:
12 * deepsec reads an API key, and its sandbox reaches the model host only. Plain data in, plain data
13 * out.
14 */
15 import type { Pick } from "../core/subscriptions.ts";
16
17 /**
18 * The variable deepsec reads the key from (`ai.apiKeyEnv` in `forgeConfig`), in its own cell alone.
19 */
20 export const DEEPSEC_KEY_ENV = "DEEPSEC_ANTHROPIC_KEY";
21
22 export type Handed =
23 | { readonly env: Record<string, string>; readonly key: string; readonly line: string }
24 | { readonly env: Record<string, never>; readonly key: undefined; readonly line: string };
25
26 /**
27 * What the check is given, from the pick: the env to add and one line for its log that names the
28 * account, never the key.
29 */
30 export function handKey(picked: Pick, forgeKey: string | undefined): Handed {
31 const none = (why: string): Handed => ({ env: {}, key: undefined, line: `deepsec key: not handed in, ${why}` });
32 const give = (key: string, from: string): Handed =>
33 key.length < 8
34 ? none(`the key of ${from} is too short to be one`)
35 : { env: { [DEEPSEC_KEY_ENV]: key }, key, line: `deepsec key: ${DEEPSEC_KEY_ENV} handed in from ${from}` };
36 switch (picked.kind) {
37 case "env": {
38 const key = (forgeKey ?? "").trim();
39 return key === "" ? none("the forge has no API key of its own") : give(key, "the forge's own account");
40 }
41 case "none":
42 return none("no model account is granted to this repository");
43 case "resting":
44 return none(`its model account is resting until ${picked.until}`);
45 case "ready": {
46 const name = JSON.stringify(picked.subscription.name);
47 if (picked.subscription.kind !== "api_key") return none(`the account ${name} is a subscription login and deepsec reads an API key`);
48 if (picked.apiBase !== null) return none(`the account ${name} is reached through a gateway and deepsec's sandbox reaches the model host only`);
49 return give(picked.token, `the account ${name}`);
50 }
51 }
52 }
53
54 /** What stands for the key wherever a line would have shown it. */
55 export const KEY_SHOWN = `[${DEEPSEC_KEY_ENV}]`;
56
57 /**
58 * A line with every occurrence of the key replaced by {@link KEY_SHOWN}. A key shorter than 8
59 * characters is not a key any provider issues and is not handed in, so the mask never eats
60 * ordinary words.
61 */
62 export function maskLine(line: string, key: string | undefined): string {
63 if (key === undefined || key.length < 8) return line;
64 return line.split(key).join(KEY_SHOWN);
65 }
src/checks/deepsec_plan.ts added +176
@@ -0,0 +1,176 @@
1 /**
2 * What deepsec reviews, and what it may spend, for one pull or one weekly sweep (#14792).
3 *
4 * deepsec (open source, Apache-2.0) is an agent that reads files and reports security findings. Its
5 * workspace is committed in `.deepsec/`: `data/forge/config.json` names which paths it ignores and
6 * which come first. `process` has no spend cap of its own, so the cap is a file count worked out
7 * here from a dollar ceiling and the cost measured on the 2026-11-20 sweep. Pure: plain data in,
8 * plain data out; `checks/deepsec_step.ts` reads git and runs the tool.
9 */
10
11 import { DEEPSEC_KEY_ENV } from "./deepsec_key.ts";
12
13 /**
14 * Dollars a file costs `deepsec process` at thinking `high`: measured on the 2026-11-20 sweep
15 * (about $0.27 a file; `xhigh` was about six times that).
16 */
17 export const COST_PER_FILE_USD = 0.27;
18
19 /**
20 * The ceiling one pull's review may spend, in dollars, when the check names none. About 11 files:
21 * enough for an ordinary pull's changed `src/` files; a broader pull reviews its priority paths
22 * first and the weekly sweep reaches the rest.
23 */
24 export const PULL_MAX_USD = 3;
25
26 export interface Scope {
27 readonly ignorePaths: readonly string[];
28 readonly priorityPaths: readonly string[];
29 }
30
31 /** `.deepsec/data/forge/config.json`, checked at the boundary: two arrays of short path strings. */
32 export function parseScope(text: string): Scope | string {
33 let raw: unknown;
34 try {
35 raw = JSON.parse(text);
36 } catch {
37 return "config.json is not JSON";
38 }
39 if (typeof raw !== "object" || raw === null) return "config.json is not an object";
40 const r = raw as Record<string, unknown>;
41 const list = (v: unknown): string[] | undefined =>
42 Array.isArray(v) && v.length <= 200 && v.every((s) => typeof s === "string" && s.length > 0 && s.length <= 200)
43 ? (v as string[])
44 : undefined;
45 const ignorePaths = list(r.ignorePaths ?? []);
46 const priorityPaths = list(r.priorityPaths ?? []);
47 if (ignorePaths === undefined) return "ignorePaths is not a list of paths";
48 if (priorityPaths === undefined) return "priorityPaths is not a list of paths";
49 return { ignorePaths, priorityPaths };
50 }
51
52 const SOURCE = /\.(ts|js|mjs|cjs|tsx)$/;
53
54 /**
55 * The changed files deepsec reviews: source under `src/`, none the scope ignores, priority paths
56 * first (in the order the scope lists them), then the rest in path order.
57 */
58 export function filesInScope(changed: readonly string[], scope: Scope): string[] {
59 const ignores = scope.ignorePaths.map((p) => new Bun.Glob(p));
60 const kept = [...new Set(changed)]
61 .filter((f) => f.startsWith("src/") && SOURCE.test(f) && !f.includes(".."))
62 .filter((f) => !ignores.some((g) => g.match(f)))
63 .sort();
64 const rank = (f: string): number => {
65 const i = scope.priorityPaths.findIndex((p) => f.startsWith(p));
66 return i < 0 ? scope.priorityPaths.length : i;
67 };
68 return kept.map((f, i) => ({ f, i, r: rank(f) })).sort((a, b) => a.r - b.r || a.i - b.i).map((x) => x.f);
69 }
70
71 /** How many files a ceiling pays for: floor(maxUsd / COST_PER_FILE_USD), never below 0. */
72 export function filesFor(maxUsd: number): number {
73 if (!Number.isFinite(maxUsd) || maxUsd <= 0) return 0;
74 // A cent of slack so $0.81 pays for exactly 3 files despite binary fractions.
75 return Math.floor((maxUsd + 1e-9) / COST_PER_FILE_USD);
76 }
77
78 /** Dollars, two places: `$0.81`. */
79 export function dollars(n: number): string {
80 return `$${n.toFixed(2)}`;
81 }
82
83 export interface PullPlan {
84 readonly base: string;
85 /** In scope and paid for, in the order reviewed. */
86 readonly files: readonly string[];
87 /** In scope but past the ceiling: left to the weekly sweep. */
88 readonly over: readonly string[];
89 readonly maxUsd: number;
90 /** files × COST_PER_FILE_USD. */
91 readonly estimateUsd: number;
92 }
93
94 export function pullPlan(base: string, changed: readonly string[], scope: Scope, maxUsd: number): PullPlan {
95 const all = filesInScope(changed, scope);
96 const n = filesFor(maxUsd);
97 const files = all.slice(0, n);
98 return { base, files, over: all.slice(n), maxUsd, estimateUsd: files.length * COST_PER_FILE_USD };
99 }
100
101 /**
102 * A base commit or ref given to the check: hex, or a plain ref name that cannot be read as an
103 * option.
104 */
105 export function validBase(base: string): boolean {
106 if (base.includes("..")) return false;
107 return /^[0-9a-f]{7,64}$/.test(base) || /^[A-Za-z0-9][A-Za-z0-9._/-]{0,199}$/.test(base);
108 }
109
110 /**
111 * The deepsec release the check runs: pinned in `tools/deepsec/package.json` with its lockfile,
112 * installed on demand (`checks/deepsec_tool.ts`), its line in docs/DEPENDENCIES.md.
113 */
114 export const DEEPSEC_VERSION = "2.3.16";
115
116 /** Where `bun install` puts deepsec's command line, relative to the tool's install directory. */
117 export const DEEPSEC_CLI = "node_modules/deepsec/dist/cli.mjs";
118
119 /**
120 * `deepsec process` for a pull, the arguments after the command: only the files listed (the
121 * default matchers miss the hand-written SSH server and the HTTP gates, so the list is handed
122 * over), capped by `--limit`. deepsec 2.3.16 takes one file source in direct mode (`--diff` with
123 * `--files-from` is "Conflicting file sources"), and `process` has no `--model-auth`: the route is
124 * `ai: { mode: "direct" }` in `.deepsec/deepsec.config.ts`, the model reached with the connected
125 * account's key, never through Vercel's sandbox.
126 */
127 export function processArgv(plan: PullPlan, listPath: string): string[] {
128 return ["process", "--project-id", "forge", "--files-from", listPath, "--limit", String(plan.files.length)];
129 }
130
131 /**
132 * The weekly sweep: scan, process what is pending up to the ceiling, then revalidate the HIGH and
133 * up. Arguments after the command, as {@link processArgv}.
134 */
135 export function sweepArgvs(maxUsd: number): string[][] {
136 const n = filesFor(maxUsd);
137 return [
138 ["scan", "--project-id", "forge"],
139 ["process", "--project-id", "forge", "--limit", String(n)],
140 ["revalidate", "--project-id", "forge", "--min-severity", "HIGH"],
141 ];
142 }
143
144 /** The only host deepsec may reach: the model's (`ai.provider: "anthropic"`, direct). */
145 export const MODEL_HOST = "api.anthropic.com";
146
147 /**
148 * The deepsec config a pull's review runs with: written by the forge, never the checkout's own
149 * `.deepsec/deepsec.config.ts`, which is the pull's code and would run with the key in its
150 * environment. Plain JavaScript (no import, so nothing resolves from the checkout): thinking
151 * `high`, direct model auth with the key from {@link DEEPSEC_KEY_ENV}, one project rooted at the
152 * checkout. `checkout` is an absolute path the forge made; it is written as a JSON string.
153 */
154 export function forgeConfig(checkout: string): string {
155 const config = {
156 defaultThinkingLevel: "high",
157 defaultAgent: "claude-agent-sdk",
158 ai: { mode: "direct", provider: "anthropic", apiKeyEnv: DEEPSEC_KEY_ENV },
159 projects: [{ id: "forge", root: checkout }],
160 };
161 return `export default ${JSON.stringify(config, null, 2)};\n`;
162 }
163
164 /**
165 * The one line a check log carries: what was in scope, what it may cost, and what happened (`ran`,
166 * or why it was skipped). Never blocks the gate: its false-positive rate is not measured yet.
167 */
168 export function logLine(plan: PullPlan, outcome: string): string {
169 const shown = plan.files.slice(0, 5).join(", ") + (plan.files.length > 5 ? `, +${plan.files.length - 5} more` : "");
170 const head =
171 plan.files.length === 0
172 ? "deepsec: no changed src/ file in scope"
173 : `deepsec: ${plan.files.length} changed src/ file${plan.files.length === 1 ? "" : "s"} in scope (${shown}), at most ${dollars(plan.estimateUsd)} at ${dollars(COST_PER_FILE_USD)} a file under a ${dollars(plan.maxUsd)} ceiling`;
174 const over = plan.over.length > 0 ? `; ${plan.over.length} past the ceiling, left to the weekly sweep` : "";
175 return `${head}${over}; ${outcome} (advisory, never blocks the gate)`;
176 }
src/checks/deepsec_step.ts added +174
@@ -0,0 +1,174 @@
1 /**
2 * deepsec's review of a pull, run by the forge after the check step (#15024), never by the pull.
3 *
4 * The check step is the pull's own code, so nothing it runs is handed the model key. This step is
5 * forge code: it reads the pull's scope (`.deepsec/data/forge/config.json`, data checked at the
6 * boundary), diffs the base against the commit in the bare repository, and runs the forge's pinned
7 * deepsec (`checks/deepsec_tool.ts`) with a config the forge writes (`forgeConfig`), never the
8 * checkout's TypeScript. It runs in a cell of its own: the forge's data and home hidden but for the
9 * checkout and the tool, both read-only; a scratch directory its one place to write; the model host
10 * its only way out, always enforced. The key is in that cell's environment and nowhere else, and
11 * every line it prints is masked. Where no cell can be made, deepsec is skipped, never run bare.
12 *
13 * One `deepsec:` line in the check log, never in the lines a failure is summarised from; it never
14 * changes the check's verdict: advisory until its false-positive rate is measured.
15 */
16
17 import { mkdirSync, mkdtempSync, realpathSync, rmSync, writeFileSync } from "node:fs";
18 import { join } from "node:path";
19 import type { CellSpec } from "../apps/contain.ts";
20 import { childEnv, runStep } from "../apps/process.ts";
21 import type { Pick } from "../core/subscriptions.ts";
22 import { runGit } from "../git/env.ts";
23 import { readRegular } from "../kernel/file_modes.ts";
24 import {
25 DEEPSEC_VERSION,
26 forgeConfig,
27 logLine,
28 MODEL_HOST,
29 parseScope,
30 processArgv,
31 PULL_MAX_USD,
32 pullPlan,
33 validBase,
34 } from "./deepsec_plan.ts";
35 import { DEEPSEC_KEY_ENV, handKey, maskLine } from "./deepsec_key.ts";
36 import { deepsecToolDir, ensureDeepsec, type Ensured } from "./deepsec_tool.ts";
37
38 /** Where a repository opts in: its deepsec scope. Its absence means no review and no line. */
39 export const SCOPE_FILE = ".deepsec/data/forge/config.json";
40 /** The threat summary deepsec reads beside the scope. */
41 const INFO_FILE = ".deepsec/data/forge/INFO.md";
42 /** Neither file is anywhere near this big; a larger one is not read. */
43 const FILE_MAX = 256 * 1024;
44 /** A pull's review stops after this long; the check goes on without it. */
45 export const REVIEW_TIMEOUT_MS = 20 * 60_000;
46
47 export interface DeepsecInput {
48 readonly tier: string;
49 readonly outside: boolean;
50 readonly runId: string;
51 /** The checkout the check ran in. */
52 readonly checkout: string;
53 /** A scratch directory beside the checkout, removed with it. */
54 readonly scratch: string;
55 readonly bare: string;
56 readonly base: string | undefined;
57 readonly commitOid: string;
58 /** The check's own cell, which this one is made from; undefined where there is none. */
59 readonly cell: CellSpec | undefined;
60 readonly dataDir: string;
61 /** The model account the repository's crew would be picked. */
62 readonly pick: () => Pick;
63 readonly forgeKey: string | undefined;
64 readonly write: (line: string) => void;
65 readonly signal: AbortSignal;
66 }
67
68 export interface DeepsecDeps {
69 readonly run?: typeof runStep;
70 readonly ensure?: (dataDir: string, signal: AbortSignal) => Promise<Ensured>;
71 }
72
73 /** A file of the checkout, read only when it really is inside it: no link leads the read out. */
74 export function readInCheckout(checkout: string, path: string): string | undefined {
75 try {
76 const root = realpathSync(checkout);
77 const real = realpathSync(join(checkout, path));
78 if (!real.startsWith(`${root}/`)) return undefined;
79 return readRegular(real, FILE_MAX)?.toString("utf8");
80 } catch {
81 return undefined;
82 }
83 }
84
85 /** One argument for the shell line a cell runs, quoted whole. */
86 export const shellWord = (word: string): string => `'${word.replaceAll("'", `'\\''`)}'`;
87
88 /**
89 * The cell deepsec runs in, from the check's: the scratch directory its working directory and its
90 * one place to write, the checkout and the tool revealed read-only, the model host its only way
91 * out, enforced whatever the forge's egress setting; no grant, and not the forge either.
92 */
93 export function deepsecCell(check: CellSpec, input: { work: string; checkout: string; tool: string; runId: string }): CellSpec {
94 return {
95 dir: input.work,
96 writable: [],
97 home: join(input.work, "home"),
98 hide: check.hide,
99 reveal: [...(check.reveal ?? []), input.checkout, input.tool],
100 egress: [MODEL_HOST],
101 granted: [],
102 reach: [],
103 limits: check.limits,
104 egressMode: "enforce",
105 label: `deepsec:${input.runId}`,
106 };
107 }
108
109 /**
110 * Runs the review when the check asks for one; at most one `deepsec:` line, and the tool's own
111 * output.
112 */
113 export async function deepsecStep(x: DeepsecInput, deps: DeepsecDeps = {}): Promise<void> {
114 if (x.tier !== "fast") return;
115 const scopeText = readInCheckout(x.checkout, SCOPE_FILE);
116 if (scopeText === undefined) return;
117 const say = (line: string): void => x.write(line);
118 const skip = (why: string): void => say(`deepsec: skipped, ${why} (advisory, never blocks the gate)`);
119 if (x.outside) return skip("an outside contributor's pull is not reviewed with a model key");
120 const scope = parseScope(scopeText);
121 if (typeof scope === "string") return skip(scope);
122 if (x.base === undefined || !validBase(x.base)) return skip("no base commit to diff against");
123 const diff = await runGit(["diff", "--name-only", "--diff-filter=ACMR", "-z", x.base, x.commitOid, "--"], {
124 cwd: x.bare,
125 signal: x.signal,
126 });
127 if (!diff.ok) return skip(`git could not diff ${x.base.slice(0, 12)}..${x.commitOid.slice(0, 12)}`);
128 const changed = diff.value.split("\0").filter((f) => f !== "");
129 const plan = pullPlan(x.base, changed, scope, PULL_MAX_USD);
130 if (plan.files.length === 0) return say(logLine(plan, "nothing to review"));
131 const handed = handKey(x.pick(), x.forgeKey);
132 if (handed.key === undefined) return say(logLine(plan, `skipped, ${handed.line.replace(/^deepsec key: /, "")}`));
133 if (x.cell === undefined) return say(logLine(plan, "skipped, no cell can be made here and deepsec is never run bare"));
134 const tool = await (deps.ensure ?? ensureDeepsec)(x.dataDir, x.signal);
135 if (!tool.ok) return say(logLine(plan, `skipped, ${tool.reason}`));
136 if (tool.installedMs !== undefined) say(`deepsec: installed ${DEEPSEC_VERSION} into the check install cache in ${Math.round(tool.installedMs / 1000)} s`);
137 say(handed.line);
138
139 mkdirSync(x.scratch, { recursive: true });
140 const work = realpathSync(mkdtempSync(join(x.scratch, "deepsec-")));
141 try {
142 const checkout = realpathSync(x.checkout);
143 const data = join(work, "data");
144 mkdirSync(join(data, "forge"), { recursive: true });
145 for (const dir of ["home", "tmp"]) mkdirSync(join(work, dir));
146 writeFileSync(join(data, "forge", "config.json"), scopeText);
147 const info = readInCheckout(x.checkout, INFO_FILE);
148 if (info !== undefined) writeFileSync(join(data, "forge", "INFO.md"), info);
149 // Found first from the working directory: deepsec never looks for the checkout's own.
150 writeFileSync(join(work, "deepsec.config.mjs"), forgeConfig(checkout));
151 const list = join(work, "files.txt");
152 writeFileSync(list, plan.files.join("\n") + "\n");
153 const command = [process.execPath, tool.cli, ...processArgv(plan, list)].map(shellWord).join(" ");
154 const ran = await (deps.run ?? runStep)("deepsec", command, {
155 cwd: work,
156 env: childEnv({
157 HOME: join(work, "home"),
158 TMPDIR: join(work, "tmp"),
159 DEEPSEC_DATA_ROOT: data,
160 // The config would be compiled into a cache in the checkout otherwise.
161 JITI_FS_CACHE: "false",
162 NO_COLOR: "1",
163 [DEEPSEC_KEY_ENV]: handed.key,
164 }),
165 log: (line) => say(maskLine(line, handed.key)),
166 signal: x.signal,
167 timeoutMs: REVIEW_TIMEOUT_MS,
168 cell: deepsecCell(x.cell, { work, checkout, tool: deepsecToolDir(x.dataDir), runId: x.runId }),
169 });
170 say(logLine(plan, ran.ok ? `ran deepsec ${DEEPSEC_VERSION}, no findings` : `ran deepsec ${DEEPSEC_VERSION}, ${maskLine(ran.error, handed.key)} (deepsec exits 1 on a finding)`));
171 } finally {
172 rmSync(work, { recursive: true, force: true });
173 }
174 }
src/checks/deepsec_tool.ts added +103
@@ -0,0 +1,103 @@
1 /**
2 * deepsec, installed on demand into the check install cache (#15024): never a dependency of the
3 * forge or of a crew clone, so no `bun install` anywhere else carries its gigabyte.
4 *
5 * What is installed is the forge's own `tools/deepsec/package.json` and its lockfile, both
6 * committed: deepsec pinned, every transitive package locked by integrity, no install script run
7 * (`--ignore-scripts`). The install lands in `<data>/check-install/deepsec-<version>/` once, under
8 * a lock file beside it, built in a temporary directory and renamed in whole, so a check never
9 * sees half of it. A directory whose lockfile is not the committed one is installed afresh.
10 * Measured (docs/DEPENDENCIES.md): 285 packages, about 1 GB, 24 s from a cold registry cache.
11 */
12
13 import { copyFileSync, existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync } from "node:fs";
14 import { dirname, join } from "node:path";
15 import { childEnv } from "../apps/process.ts";
16 import { DEEPSEC_CLI, DEEPSEC_VERSION } from "./deepsec_plan.ts";
17 import { withLock } from "./install.ts";
18
19 /** The forge's own manifest and lockfile for deepsec, beside its code; never the checkout's. */
20 export const TOOL_SOURCE = join(import.meta.dir, "..", "..", "tools", "deepsec");
21
22 /** An install of deepsec is cut off after this long; the check goes on without its review. */
23 export const INSTALL_TIMEOUT_MS = 5 * 60_000;
24
25 /** Where deepsec is installed, once for the forge: a name no repository's cache can have. */
26 export function deepsecToolDir(dataDir: string): string {
27 // `checkInstallCache` turns a "." in a repository id into "_", so this name is never a
28 // repository's.
29 return join(dataDir, "check-install", `deepsec-${DEEPSEC_VERSION}`);
30 }
31
32 /**
33 * Whether `dir` holds this lockfile's install: the CLI is there, the committed lockfile beside it.
34 */
35 export function isInstalled(dir: string, source: string = TOOL_SOURCE): boolean {
36 try {
37 return (
38 existsSync(join(dir, DEEPSEC_CLI)) &&
39 readFileSync(join(dir, "bun.lock"), "utf8") === readFileSync(join(source, "bun.lock"), "utf8")
40 );
41 } catch {
42 return false;
43 }
44 }
45
46 /** Runs the install in `cwd`; tests stand one in. */
47 export type Installer = (cwd: string, env: Record<string, string>, signal: AbortSignal) => Promise<{ ok: boolean; output: string }>;
48
49 const bunInstall: Installer = async (cwd, env, signal) => {
50 const proc = Bun.spawn(
51 [process.execPath, "install", "--frozen-lockfile", "--ignore-scripts", "--production", "--no-progress"],
52 { cwd, env, stdin: "ignore", stdout: "pipe", stderr: "pipe", signal, timeout: INSTALL_TIMEOUT_MS },
53 );
54 const [out, errText, code] = await Promise.all([new Response(proc.stdout).text(), new Response(proc.stderr).text(), proc.exited]);
55 return { ok: code === 0, output: `${out}\n${errText}` };
56 };
57
58 export type Ensured =
59 | { readonly ok: true; readonly cli: string; readonly dir: string; readonly installedMs?: number }
60 | { readonly ok: false; readonly reason: string };
61
62 /** deepsec's CLI, installed first when it is not; a reason when it cannot be. */
63 export async function ensureDeepsec(
64 dataDir: string,
65 signal: AbortSignal,
66 install: Installer = bunInstall,
67 source: string = TOOL_SOURCE,
68 ): Promise<Ensured> {
69 const dir = deepsecToolDir(dataDir);
70 const ready = (installedMs?: number): Ensured => ({
71 ok: true,
72 cli: join(dir, DEEPSEC_CLI),
73 dir,
74 ...(installedMs === undefined ? {} : { installedMs }),
75 });
76 if (isInstalled(dir, source)) return ready();
77 mkdirSync(dirname(dir), { recursive: true });
78 const locked = await withLock(
79 `${dir}.lock`,
80 async (): Promise<Ensured> => {
81 if (isInstalled(dir, source)) return ready();
82 const started = Date.now();
83 const tmp = mkdtempSync(`${dir}.tmp-`);
84 try {
85 for (const name of ["package.json", "bun.lock"]) copyFileSync(join(source, name), join(tmp, name));
86 // A cache of its own, removed after: the files stay linked from node_modules.
87 const ran = await install(tmp, childEnv({ BUN_INSTALL_CACHE_DIR: join(tmp, ".cache") }), signal);
88 if (!ran.ok || !existsSync(join(tmp, DEEPSEC_CLI))) {
89 const last = ran.output.trim().split("\n").filter((l) => l.trim() !== "").pop() ?? "no output";
90 return { ok: false, reason: `installing deepsec ${DEEPSEC_VERSION} failed: ${last.slice(0, 200)}` };
91 }
92 rmSync(join(tmp, ".cache"), { recursive: true, force: true });
93 rmSync(dir, { recursive: true, force: true });
94 renameSync(tmp, dir);
95 return ready(Date.now() - started);
96 } finally {
97 rmSync(tmp, { recursive: true, force: true });
98 }
99 },
100 { signal },
101 );
102 return locked.ok ? locked.value : { ok: false, reason: `installing deepsec ${DEEPSEC_VERSION} failed: ${locked.error}` };
103 }
src/checks/lane_state.ts +3
@@ -6,6 +6,7 @@ import type { Repo } from "../core/repos.ts";
66 import type { Run } from "../core/runs.ts";
77 import { Gate } from "../git/env.ts";
88 import { runStep } from "../apps/process.ts";
9 import type { DeepsecDeps } from "./deepsec_step.ts";
910 import { capacityCount } from "../core/capacity.ts";
1011 import type { Placement } from "./placement.ts";
1112 import type { PodRoom } from "./pod_room.ts";
@@ -60,6 +61,8 @@ export interface ChecksOptions {
6061 * (#11617). @default runStep
6162 */
6263 readonly checkStep?: typeof runStep | undefined;
64 /** Test seam: what deepsec's review runs and installs with (`checks/deepsec_step.ts`). */
65 readonly deepsec?: DeepsecDeps | undefined;
6366 /**
6467 * Where the pod's memory.max is read and the forge's size
6568 * (`checks/pod_room.ts`); tests stand in a small pod. @default the real ones
src/checks/run_tier.ts +22
@@ -1,5 +1,6 @@
11
22 import { cellHides } from "../spawn/hosted-mark.ts";
3 import { forgeApiKey } from "../crew/runner_env.ts";
34 import { existsSync, mkdirSync } from "node:fs";
45 import { rm } from "node:fs/promises";
56 import { join } from "node:path";
@@ -38,6 +39,8 @@ import { resolveManifest } from "./tier_manifest.ts";
3839 import { tryRunner } from "./tier_runner.ts";
3940 import { runInstall } from "./tier_install.ts";
4041 import { settleFlakes } from "./tier_flake.ts";
42 import { deepsecStep } from "./deepsec_step.ts";
43 import { pickSubscription } from "../core/subscriptions.ts";
4144 import { checksRoot, reclaimIfFull, removeRunDir } from "./sweep.ts";
4245
4346 /**
@@ -357,6 +360,25 @@ export async function runTier(lane: LaneState, x: Execution): Promise<CheckOutco
357360 ...(stoppedForCpu(ran.error) ? { cpuStop: ran.error } : {}),
358361 };
359362 }
363 // deepsec's review (#15024, `checks/deepsec_step.ts`): forge code, after the pull's step is
364 // green, in a cell of its own that alone holds the model key. The pull's step never sees it.
365 if (job === undefined)
366 await deepsecStep({
367 tier: x.tier,
368 outside,
369 runId: run.id,
370 checkout: dir,
371 scratch: home,
372 bare,
373 base,
374 commitOid: x.commitOid,
375 cell,
376 dataDir: app.config.dataDir,
377 pick: () => pickSubscription(app.db, app.config.dataDir, { repoId: repo.id, ownerId: repo.ownerId, agentId: "" }, new Date()),
378 forgeKey: forgeApiKey(),
379 write,
380 signal,
381 }, options.deepsec);
360382 // Only a green check of the default branch is kept for the next.
361383 if (
362384 x.keep === true &&
src/crew/runner_env.ts +3
@@ -121,6 +121,9 @@ export function oneShotEnv(env: Env = process.env): Record<string, string> {
121121 return out;
122122 }
123123
124 /** The forge's own API key, trimmed, or undefined: what a check that runs deepsec may be handed. */
125 export const forgeApiKey = (env: Env = process.env): string | undefined => (env["ANTHROPIC_API_KEY"] ?? "").trim() || undefined;
126
124127 /** Where to send a model call made with the forge's own credential, and with which headers. */
125128 export function upstreamOf(env: Env = process.env):
126129 | { readonly base: string; readonly headers: Record<string, string> }
src/kernel/destroy_reach.ts +2
@@ -78,6 +78,8 @@ export const ALLOWED_REMOVALS: readonly { unit: string; why: string }[] = [
7878 "src/checks/install.ts:prefillInstallCache",
7979 "src/checks/install.ts:holdFile",
8080 "src/checks/install_evict.ts:evictInstallCache",
81 "src/checks/deepsec_step.ts:deepsecStep",
82 "src/checks/deepsec_tool.ts:ensureDeepsec",
8183 "src/apps/checkout.ts:exportTree",
8284 ]),
8385 { unit: "src/core/repos.ts:rowOrUndo", why: "removes the directory git has just made for the repository being created, when its row is refused" },
src/settings/limits.ts +10 −1
@@ -70,7 +70,8 @@ export type LimitKey =
7070 | "billing.grace_days"
7171 | "billing.retention_days"
7272 | "retention.event_days"
73 | "retention.deploy_pull_days";
73 | "retention.deploy_pull_days"
74 | "security.sweep_max_usd";
7475
7576 export interface LimitDef {
7677 readonly label: string;
@@ -446,6 +447,14 @@ export const LIMITS: Record<LimitKey, LimitDef> = {
446447 max: 3_650,
447448 reason: "The list is an index over git, walked when a deploy is opened, and it was the largest table in the database; nothing writes it now, and ask-to-live reads one row per pull (deploy_landed), so this is how long an older release's rows linger.",
448449 },
450 "security.sweep_max_usd": {
451 label: "Weekly security sweep spend ceiling",
452 unit: "dollars",
453 default: 25,
454 min: 0,
455 max: 1_000,
456 reason: "deepsec's process step has no spend cap of its own and runs unattended on the connected model account; at about $0.27 a file (measured 2026-11-20, thinking high) this bounds how many pending files one week's sweep reviews, the rest wait for the next.",
457 },
449458 };
450459
451460 export const LIMIT_KEYS = Object.keys(LIMITS) as LimitKey[];
test/check-deepsec-key.test.ts added +87
@@ -0,0 +1,87 @@
1 /**
2 * deepsec's key in a pull's check (#15024): the pull's own step is never handed it, whatever its
3 * command names; the forge's deepsec step after it is, in its own cell, and the log never shows it.
4 */
5 import { afterAll, beforeAll, describe, expect, test } from "bun:test";
6 import { openPull } from "../src/actions/pulls.ts";
7 import { commitToBranch, createRepo } from "../src/actions/repos.ts";
8 import { listRuns, type Run } from "../src/core/runs.ts";
9 import { readRunLog } from "../src/runs/log.ts";
10 import type { runStep } from "../src/apps/process.ts";
11 import { checksForge } from "./helpers/checks-forge.ts";
12
13 const CANARY = "sk-ant-canary-must-never-be-logged-0123456789";
14
15 describe("deepsec's key in a pull's fast check", () => {
16 // deepsec itself stood in: it says what it was handed. Where this host can make a cell it runs;
17 // where it cannot, the step says deepsec is never run bare.
18 const run: typeof runStep = async (_name, _command, options) => {
19 options.log(`deepsec was handed ${options.env["DEEPSEC_ANTHROPIC_KEY"]}`);
20 return { ok: true, value: undefined };
21 };
22 const f = checksForge("forge-deepsec-key-", {
23 deepsec: { run, ensure: async () => ({ ok: true, cli: "/tool/cli.mjs", dir: "/tool" }) },
24 });
25 const saved = process.env["ANTHROPIC_API_KEY"];
26 // No grant on the repository and an admin owner: the pick is the forge's own key.
27 beforeAll(() => {
28 process.env["ANTHROPIC_API_KEY"] = CANARY;
29 });
30 afterAll(() => {
31 if (saved === undefined) delete process.env["ANTHROPIC_API_KEY"];
32 else process.env["ANTHROPIC_API_KEY"] = saved;
33 });
34
35 async function pullLog(name: string, fast: string, scoped: boolean): Promise<string> {
36 const made = await createRepo(f.app, f.alice, { name, visibility: "public" });
37 if (!made.ok) throw new Error(String(made.error));
38 const repo = made.value;
39 const seeded = await commitToBranch(f.app, f.alice, repo, {
40 message: "Start",
41 files: [
42 { path: "forge.json", content: JSON.stringify({ check: { run: "echo WHOLE", fast, install: "" } }) },
43 ...(scoped
44 ? [{ path: ".deepsec/data/forge/config.json", content: JSON.stringify({ ignorePaths: [], priorityPaths: ["src/http/"] }) }]
45 : []),
46 ],
47 });
48 if (!seeded.ok) throw new Error(JSON.stringify(seeded.error));
49 const branched = await commitToBranch(f.app, f.alice, repo, {
50 branch: "feature",
51 message: "Touch",
52 files: [{ path: "src/http/a.ts", content: "export {};\n" }],
53 });
54 if (!branched.ok) throw new Error(JSON.stringify(branched.error));
55 const opened = await openPull(f.app, f.alice, repo, { title: "Feature", baseBranch: "main", headBranch: "feature" });
56 if (!opened.ok) throw new Error(String(opened.error));
57 const found = (): Run | undefined =>
58 listRuns(f.app.db, repo.id, { kind: "check", limit: 20 }).find(
59 (r) => r.issueId === opened.value.id && r.commitOid === branched.value.commitOid && (r.state === "ok" || r.state === "failed"),
60 );
61 await f.until(() => found() !== undefined, `${name}'s pull check`);
62 const run = found();
63 expect(run?.state).toBe("ok");
64 return readRunLog(f.dataDir, run!.id).lines.join("\n");
65 }
66
67 // The step prints what it was handed and how many lines of its environment hold the canary.
68 const probe = 'echo "the pull sees ${DEEPSEC_ANTHROPIC_KEY:-nothing}"; echo "canary lines: $(env | grep -c canary-must-never || true)"';
69
70 test("a scoped repository's pull step is handed nothing; the forge's deepsec step is, masked", async () => {
71 const log = await pullLog("sec", `${probe} # deepsec`, true);
72 expect(log).toContain("the pull sees nothing");
73 expect(log).toContain("canary lines: 0");
74 expect(log).not.toContain(CANARY);
75 const ranInCell = log.includes("deepsec was handed [DEEPSEC_ANTHROPIC_KEY]");
76 const noCell = log.includes("deepsec is never run bare");
77 expect(ranInCell || noCell).toBe(true);
78 if (ranInCell) expect(log).toContain("deepsec key: DEEPSEC_ANTHROPIC_KEY handed in from the forge's own account");
79 }, 40_000);
80
81 test("a repository with no deepsec scope gets no deepsec line at all", async () => {
82 const log = await pullLog("plain", probe, false);
83 expect(log).toContain("the pull sees nothing");
84 expect(log).not.toContain("deepsec");
85 expect(log).not.toContain(CANARY);
86 }, 40_000);
87 });
test/deepsec-key.test.ts added +43
@@ -0,0 +1,43 @@
1 import { describe, expect, test } from "bun:test";
2 import { DEEPSEC_KEY_ENV, handKey, KEY_SHOWN, maskLine } from "../src/checks/deepsec_key.ts";
3 import type { Pick, Subscription } from "../src/core/subscriptions.ts";
4
5 const KEY = "sk-ant-api03-abcdefghijklmnop";
6 const sub = (kind: "api_key" | "oauth", name = "work"): Subscription => ({ id: "s1", name, kind }) as unknown as Subscription;
7 const ready = (kind: "api_key" | "oauth", apiBase: string | null = null): Pick => ({
8 kind: "ready",
9 subscription: sub(kind),
10 envName: kind === "oauth" ? "CLAUDE_CODE_OAUTH_TOKEN" : "ANTHROPIC_API_KEY",
11 token: KEY,
12 apiBase,
13 });
14
15 describe("what is handed in", () => {
16 test("a direct API key account is; the line names the account, never the key", () => {
17 const h = handKey(ready("api_key"), undefined);
18 expect(h.env).toEqual({ [DEEPSEC_KEY_ENV]: KEY });
19 expect(h.line).toBe('deepsec key: DEEPSEC_ANTHROPIC_KEY handed in from the account "work"');
20 expect(h.line).not.toContain(KEY);
21 });
22
23 test("the forge's own key, for an admin's repository with no grant", () => {
24 expect(handKey({ kind: "env" }, ` ${KEY} `).env).toEqual({ [DEEPSEC_KEY_ENV]: KEY });
25 expect(handKey({ kind: "env" }, undefined).key).toBeUndefined();
26 });
27
28 test("a login, a gateway, no grant, a resting account or a short key: nothing, with why", () => {
29 expect(handKey(ready("oauth"), undefined).line).toContain("subscription login");
30 expect(handKey(ready("api_key", "https://gw.example"), undefined).line).toContain("gateway");
31 expect(handKey({ kind: "none" }, KEY).line).toContain("no model account");
32 expect(handKey({ kind: "resting", until: "2026-11-22T00:00:00Z", said: "", names: [] }, KEY).line).toContain("resting");
33 expect(handKey({ kind: "env" }, "short").env).toEqual({});
34 });
35 });
36
37 describe("the log never prints it", () => {
38 test("every occurrence is masked", () => {
39 expect(maskLine(`x=${KEY} y=${KEY}`, KEY)).toBe(`x=${KEY_SHOWN} y=${KEY_SHOWN}`);
40 expect(maskLine("plain", KEY)).toBe("plain");
41 expect(maskLine(`k ${KEY}`, undefined)).toBe(`k ${KEY}`);
42 });
43 });
test/deepsec-plan.test.ts added +136
@@ -0,0 +1,136 @@
1 import { describe, expect, test } from "bun:test";
2 import { mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
3 import {
4 COST_PER_FILE_USD,
5 filesFor,
6 filesInScope,
7 logLine,
8 parseScope,
9 DEEPSEC_VERSION,
10 forgeConfig,
11 MODEL_HOST,
12 processArgv,
13 pullPlan,
14 sweepArgvs,
15 validBase,
16 } from "../src/checks/deepsec_plan.ts";
17 import { LIMITS } from "../src/settings/limits.ts";
18
19 const scope = parseScope(readFileSync(".deepsec/data/forge/config.json", "utf8"));
20 if (typeof scope === "string") throw new Error(scope);
21
22 describe("deepsec scope (#14792)", () => {
23 test("the committed workspace parses and puts src/http/ first", () => {
24 expect(scope.priorityPaths[0]).toBe("src/http/");
25 expect(scope.ignorePaths).toContain("**/*.test.ts");
26 });
27
28 test("a malformed scope is refused with a reason, not thrown", () => {
29 expect(parseScope("{")).toBe("config.json is not JSON");
30 expect(parseScope('{"ignorePaths": "src/"}')).toBe("ignorePaths is not a list of paths");
31 expect(parseScope('{"priorityPaths": [1]}')).toBe("priorityPaths is not a list of paths");
32 });
33
34 test("only src/ source, nothing ignored, priority paths first in the scope's order", () => {
35 const changed = [
36 "src/web/page.ts",
37 "src/core/repos.ts",
38 "test/a.test.ts",
39 "src/http/a.test.ts",
40 "docs/x.md",
41 "src/http/respond.ts",
42 "src/web/style.css",
43 "src/http/respond.ts",
44 ];
45 expect(filesInScope(changed, scope)).toEqual(["src/http/respond.ts", "src/core/repos.ts", "src/web/page.ts"]);
46 });
47 });
48
49 describe("deepsec spend", () => {
50 test("files a ceiling pays for, by hand: $3 / $0.27 = 11.1 → 11; $0.81 → 3; $0 → 0", () => {
51 expect(COST_PER_FILE_USD).toBe(0.27);
52 expect(filesFor(3)).toBe(11);
53 expect(filesFor(0.81)).toBe(3);
54 expect(filesFor(0.8)).toBe(2);
55 expect(filesFor(0)).toBe(0);
56 expect(filesFor(Number.NaN)).toBe(0);
57 });
58
59 test("a pull past its ceiling reviews its first files and leaves the rest", () => {
60 const changed = ["src/web/a.ts", "src/web/b.ts", "src/http/c.ts", "src/core/d.ts"];
61 const plan = pullPlan("abc1234", changed, scope, 0.6);
62 expect(plan.files).toEqual(["src/http/c.ts", "src/core/d.ts"]);
63 expect(plan.over).toEqual(["src/web/a.ts", "src/web/b.ts"]);
64 expect(plan.estimateUsd).toBeCloseTo(0.54, 10);
65 expect(logLine(plan, "ran")).toBe(
66 "deepsec: 2 changed src/ files in scope (src/http/c.ts, src/core/d.ts), at most $0.54 at $0.27 a file under a $0.60 ceiling; 2 past the ceiling, left to the weekly sweep; ran (advisory, never blocks the gate)",
67 );
68 });
69
70 test("a pull touching nothing in scope says so", () => {
71 const plan = pullPlan("abc1234", ["docs/a.md"], scope, 3);
72 expect(logLine(plan, "nothing to review")).toBe(
73 "deepsec: no changed src/ file in scope; nothing to review (advisory, never blocks the gate)",
74 );
75 });
76
77 test("process is direct, capped and fed the list; the sweep revalidates HIGH and up", () => {
78 const plan = pullPlan("abc1234", ["src/http/c.ts"], scope, 3);
79 const argv = processArgv(plan, "/tmp/l");
80 // deepsec 2.3.16: one file source in direct mode, and no --model-auth on process (#15024).
81 expect(argv).toEqual(["process", "--project-id", "forge", "--files-from", "/tmp/l", "--limit", "1"]);
82 expect(argv).not.toContain("--diff");
83 const sweep = sweepArgvs(LIMITS["security.sweep_max_usd"].default);
84 expect(sweep.map((a) => a[0])).toEqual(["scan", "process", "revalidate"]);
85 expect(sweep.flat()).not.toContain("--model-auth");
86 expect(sweep[1]).toContain(String(filesFor(25)));
87 expect(sweep[2]).toEqual(expect.arrayContaining(["--min-severity", "HIGH"]));
88 expect(sweep.flat()).not.toContain("sandbox");
89 });
90
91 test("the sweep's ceiling is a limit with its reason", () => {
92 const def = LIMITS["security.sweep_max_usd"];
93 expect(def.unit).toBe("dollars");
94 expect(def.reason).toContain("$0.27");
95 });
96 });
97
98 describe("deepsec base", () => {
99 test("a base that git could read as an option or a range is refused", () => {
100 expect(validBase("61c4986e4")).toBe(true);
101 expect(validBase("origin/main")).toBe(true);
102 expect(validBase("--upload-pack=x")).toBe(false);
103 expect(validBase("-x")).toBe(false);
104 expect(validBase("a..b")).toBe(false);
105 expect(validBase("a b")).toBe(false);
106 });
107 });
108
109 describe("what deepsec runs with (#15024)", () => {
110 test("the forge's config, never the checkout's: plain data, direct, the key's variable, the checkout as root", async () => {
111 const text = forgeConfig('/w/re"po');
112 expect(text).not.toContain("import");
113 const dir = `${process.env.TMPDIR ?? "/tmp"}/deepsec-config-${process.pid}`;
114 mkdirSync(dir, { recursive: true });
115 writeFileSync(`${dir}/deepsec.config.mjs`, text);
116 const loaded = (await import(`${dir}/deepsec.config.mjs`)).default;
117 rmSync(dir, { recursive: true, force: true });
118 expect(loaded.ai).toEqual({ mode: "direct", provider: "anthropic", apiKeyEnv: "DEEPSEC_ANTHROPIC_KEY" });
119 expect(loaded.projects).toEqual([{ id: "forge", root: '/w/re"po' }]);
120 expect(MODEL_HOST).toBe("api.anthropic.com");
121 });
122
123 test("the pinned version is the forge's tool manifest's, locked beside it, and no clone installs it", () => {
124 const tool = JSON.parse(readFileSync("tools/deepsec/package.json", "utf8"));
125 expect(tool.dependencies).toEqual({ deepsec: DEEPSEC_VERSION });
126 expect(readFileSync("tools/deepsec/bun.lock", "utf8")).toContain(`"deepsec@${DEEPSEC_VERSION}"`);
127 const pkg = JSON.parse(readFileSync("package.json", "utf8"));
128 expect({ ...pkg.dependencies, ...pkg.devDependencies }.deepsec).toBeUndefined();
129 expect(readFileSync("bun.lock", "utf8")).not.toContain('"deepsec@');
130 expect(readFileSync("docs/DEPENDENCIES.md", "utf8")).toContain("`deepsec`: pinned 2.3.16");
131 });
132
133 test("the pull's fast command does not run deepsec: the forge does, after it", () => {
134 expect(JSON.parse(readFileSync("forge.json", "utf8")).check.fast).not.toContain("deepsec");
135 });
136 });
test/deepsec-step.test.ts added +186
@@ -0,0 +1,186 @@
1 /**
2 * deepsec's review is the forge's step, not the pull's (#15024): the key is in the deepsec cell's
3 * environment alone, every line it prints is masked, the config is the forge's, and a pull that
4 * links its scope out of the checkout, an outside contributor's pull, or a host with no cell gets
5 * no run.
6 */
7 import { afterAll, beforeAll, describe, expect, test } from "bun:test";
8 import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, symlinkSync, writeFileSync } from "node:fs";
9 import { tmpdir } from "node:os";
10 import { join } from "node:path";
11 import type { CellSpec } from "../src/apps/contain.ts";
12 import type { runStep } from "../src/apps/process.ts";
13 import { deepsecStep, shellWord, type DeepsecInput } from "../src/checks/deepsec_step.ts";
14 import { deepsecToolDir } from "../src/checks/deepsec_tool.ts";
15
16 const KEY = "sk-ant-api03-canary-never-printed-0123";
17 const SCOPE = JSON.stringify({ ignorePaths: ["test/**"], priorityPaths: ["src/http/"] });
18
19 let root = "";
20 let bare = "";
21 let base = "";
22 let head = "";
23 const git = (cwd: string, ...args: string[]): string => {
24 const r = Bun.spawnSync(["git", "-c", "user.name=t", "-c", "user.email=t@t", ...args], { cwd, stdout: "pipe", stderr: "pipe" });
25 if (r.exitCode !== 0) throw new Error(r.stderr.toString());
26 return r.stdout.toString().trim();
27 };
28
29 beforeAll(() => {
30 root = mkdtempSync(join(tmpdir(), "deepsec-step-"));
31 const work = join(root, "src-tree");
32 mkdirSync(join(work, ".deepsec/data/forge"), { recursive: true });
33 git(root, "init", "-q", "-b", "main", work);
34 writeFileSync(join(work, ".deepsec/data/forge/config.json"), SCOPE);
35 writeFileSync(join(work, ".deepsec/data/forge/INFO.md"), "threats\n");
36 git(work, "add", ".");
37 git(work, "commit", "-qm", "base");
38 base = git(work, "rev-parse", "HEAD");
39 mkdirSync(join(work, "src/http"), { recursive: true });
40 writeFileSync(join(work, "src/http/a.ts"), "export {};\n");
41 git(work, "add", ".");
42 git(work, "commit", "-qm", "head");
43 head = git(work, "rev-parse", "HEAD");
44 bare = join(root, "bare.git");
45 git(root, "clone", "-q", "--bare", work, bare);
46 });
47 afterAll(() => rmSync(root, { recursive: true, force: true }));
48
49 const checkCell: CellSpec = {
50 dir: "/x",
51 writable: [],
52 home: "/x.home",
53 hide: ["/data"],
54 egress: ["registry.npmjs.org", "api.github.com"],
55 reach: ["https://forge.example"],
56 limits: { memoryMib: 1024, cpus: 1, pids: 256, seconds: 600 } as unknown as CellSpec["limits"],
57 egressMode: "report",
58 };
59
60 interface Seen {
61 readonly command: string;
62 readonly env: Record<string, string>;
63 readonly cell: CellSpec | undefined;
64 readonly cwd: string;
65 readonly config: string;
66 }
67
68 function harness(over: Partial<DeepsecInput> = {}, scope: "file" | "none" | "link" = "file") {
69 const checkout = mkdtempSync(join(root, "checkout-"));
70 if (scope !== "none") mkdirSync(join(checkout, ".deepsec/data/forge"), { recursive: true });
71 if (scope === "file") writeFileSync(join(checkout, ".deepsec/data/forge/config.json"), SCOPE);
72 if (scope === "link") {
73 writeFileSync(join(root, "outside.json"), SCOPE);
74 symlinkSync(join(root, "outside.json"), join(checkout, ".deepsec/data/forge/config.json"));
75 }
76 const lines: string[] = [];
77 const seen: Seen[] = [];
78 let ensured = 0;
79 const run: typeof runStep = async (_name, command, options) => {
80 seen.push({ command, env: options.env, cell: options.cell, cwd: options.cwd, config: readFileSync(join(options.cwd, "deepsec.config.mjs"), "utf8") });
81 // deepsec echoing its environment: the key it was handed must never reach the log.
82 options.log(`deepsec sees ${options.env["DEEPSEC_ANTHROPIC_KEY"]}`);
83 return { ok: false, error: `exited 1 near ${options.env["DEEPSEC_ANTHROPIC_KEY"]}` };
84 };
85 const input: DeepsecInput = {
86 tier: "fast",
87 outside: false,
88 runId: "r1",
89 checkout,
90 scratch: `${checkout}.home`,
91 bare,
92 base,
93 commitOid: head,
94 cell: checkCell,
95 dataDir: join(root, "data"),
96 pick: () => ({ kind: "env" }),
97 forgeKey: KEY,
98 write: (l) => lines.push(l),
99 signal: new AbortController().signal,
100 ...over,
101 };
102 const go = () =>
103 deepsecStep(input, {
104 run,
105 ensure: async () => {
106 ensured++;
107 return { ok: true, cli: "/tool/node_modules/deepsec/dist/cli.mjs", dir: "/tool" };
108 },
109 });
110 return { go, lines, seen, checkout, ensured: () => ensured };
111 }
112
113 describe("deepsec's review in the forge's own cell", () => {
114 test("the key is in the deepsec cell's environment, and no line it prints shows it", async () => {
115 const h = harness();
116 await h.go();
117 expect(h.seen).toHaveLength(1);
118 const s = h.seen[0]!;
119 expect(s.env["DEEPSEC_ANTHROPIC_KEY"]).toBe(KEY);
120 const log = h.lines.join("\n");
121 expect(log).not.toContain(KEY);
122 expect(log).toContain("deepsec sees [DEEPSEC_ANTHROPIC_KEY]");
123 expect(log).toContain("deepsec: 1 changed src/ file in scope (src/http/a.ts)");
124 expect(log).toContain("ran deepsec 2.3.16, exited 1 near [DEEPSEC_ANTHROPIC_KEY]");
125 // The scratch directory is removed after, key and all.
126 expect(existsSync(s.cwd)).toBe(false);
127 });
128
129 test("its cell reaches the model host only, enforced, and writes only its scratch directory", async () => {
130 const h = harness();
131 await h.go();
132 const cell = h.seen[0]!.cell!;
133 expect(cell.egress).toEqual(["api.anthropic.com"]);
134 expect(cell.reach).toEqual([]);
135 expect(cell.granted).toEqual([]);
136 expect(cell.egressMode).toBe("enforce");
137 expect(cell.writable).toEqual([]);
138 expect(cell.dir).toBe(h.seen[0]!.cwd);
139 expect(cell.dir.startsWith(`${h.checkout}/`)).toBe(false);
140 expect(cell.hide).toEqual(["/data"]);
141 expect(cell.reveal).toEqual([h.checkout, deepsecToolDir(join(root, "data"))]);
142 });
143
144 test("it runs the forge's config, rooted at the checkout, and the forge's tool", async () => {
145 const h = harness();
146 await h.go();
147 const s = h.seen[0]!;
148 expect(s.config).toContain(JSON.stringify(h.checkout));
149 expect(s.config).not.toContain("import");
150 expect(s.command).toContain(shellWord("/tool/node_modules/deepsec/dist/cli.mjs"));
151 expect(s.command).toContain("'process' '--project-id' 'forge' '--files-from'");
152 expect(shellWord("a'b")).toBe(`'a'\\''b'`);
153 });
154
155 test("no scope, or a scope linked out of the checkout: no line, no run", async () => {
156 for (const scope of ["none", "link"] as const) {
157 const h = harness({}, scope);
158 await h.go();
159 expect(h.lines).toEqual([]);
160 expect(h.seen).toEqual([]);
161 }
162 });
163
164 test("an outside contributor's pull, another tier, or a host with no cell: no key handed, no run", async () => {
165 const outside = harness({ outside: true });
166 await outside.go();
167 expect(outside.lines.join("\n")).toContain("outside contributor's pull is not reviewed");
168 const verify = harness({ tier: "verify" });
169 await verify.go();
170 expect(verify.lines).toEqual([]);
171 const bareHost = harness({ cell: undefined });
172 await bareHost.go();
173 expect(bareHost.lines.join("\n")).toContain("deepsec is never run bare");
174 for (const h of [outside, verify, bareHost]) {
175 expect(h.seen).toEqual([]);
176 expect(h.ensured()).toBe(0);
177 }
178 });
179
180 test("no key to hand: skipped with why, and nothing installed", async () => {
181 const h = harness({ forgeKey: undefined });
182 await h.go();
183 expect(h.lines.join("\n")).toContain("skipped, not handed in, the forge has no API key of its own");
184 expect(h.ensured()).toBe(0);
185 });
186 });
test/deepsec-tool.test.ts added +62
@@ -0,0 +1,62 @@
1 /**
2 * deepsec is installed on demand into the check install cache (#15024), from the forge's own
3 * manifest and lockfile: once, whole or not at all, and again when the lockfile changes.
4 */
5 import { afterAll, expect, test } from "bun:test";
6 import { existsSync, mkdirSync, mkdtempSync, readdirSync, rmSync, writeFileSync } from "node:fs";
7 import { tmpdir } from "node:os";
8 import { dirname, join } from "node:path";
9 import { DEEPSEC_CLI } from "../src/checks/deepsec_plan.ts";
10 import { deepsecToolDir, ensureDeepsec, type Installer, TOOL_SOURCE } from "../src/checks/deepsec_tool.ts";
11
12 const root = mkdtempSync(join(tmpdir(), "deepsec-tool-"));
13 afterAll(() => rmSync(root, { recursive: true, force: true }));
14 const signal = new AbortController().signal;
15
16 function source(lock: string): string {
17 const dir = mkdtempSync(join(root, "source-"));
18 writeFileSync(join(dir, "package.json"), '{"dependencies":{"deepsec":"2.3.16"}}');
19 writeFileSync(join(dir, "bun.lock"), lock);
20 return dir;
21 }
22
23 const calls: { cwd: string; cache: string | undefined }[] = [];
24 const fake: Installer = async (cwd, env) => {
25 calls.push({ cwd, cache: env["BUN_INSTALL_CACHE_DIR"] });
26 mkdirSync(dirname(join(cwd, DEEPSEC_CLI)), { recursive: true });
27 writeFileSync(join(cwd, DEEPSEC_CLI), "");
28 mkdirSync(join(cwd, ".cache"));
29 return { ok: true, output: "" };
30 };
31
32 test("the forge's manifest is the one installed: deepsec pinned, locked beside it", () => {
33 expect(existsSync(join(TOOL_SOURCE, "package.json"))).toBe(true);
34 expect(existsSync(join(TOOL_SOURCE, "bun.lock"))).toBe(true);
35 });
36
37 test("installed once, renamed in whole, its own cache removed; a changed lockfile installs again", async () => {
38 const data = join(root, "data");
39 const first = source("lock-1");
40 const a = await ensureDeepsec(data, signal, fake, first);
41 expect(a.ok && a.installedMs !== undefined).toBe(true);
42 expect(a.ok && a.cli).toBe(join(deepsecToolDir(data), DEEPSEC_CLI));
43 expect(calls).toHaveLength(1);
44 expect(calls[0]!.cwd).not.toBe(deepsecToolDir(data));
45 expect(calls[0]!.cache).toBe(join(calls[0]!.cwd, ".cache"));
46 expect(existsSync(join(deepsecToolDir(data), ".cache"))).toBe(false);
47 const again = await ensureDeepsec(data, signal, fake, first);
48 expect(again.ok && again.installedMs).toBeUndefined();
49 expect(calls).toHaveLength(1);
50 await ensureDeepsec(data, signal, fake, source("lock-2"));
51 expect(calls).toHaveLength(2);
52 // No temporary directory is left beside it.
53 expect(readdirSync(dirname(deepsecToolDir(data))).filter((n) => n.includes(".tmp-"))).toEqual([]);
54 });
55
56 test("a failed install is a reason, and leaves nothing a check would take for an install", async () => {
57 const data = join(root, "data-failed");
58 const failing: Installer = async () => ({ ok: false, output: "error: integrity check failed\n" });
59 const r = await ensureDeepsec(data, signal, failing, source("lock"));
60 expect(r).toEqual({ ok: false, reason: "installing deepsec 2.3.16 failed: error: integrity check failed" });
61 expect(existsSync(deepsecToolDir(data))).toBe(false);
62 });
test/helpers/checks-forge.ts +3 −2
@@ -18,6 +18,7 @@ import { join } from "node:path";
1818 import { createApp, type App } from "../../src/app.ts";
1919 import { commitToBranch, createRepo } from "../../src/actions/repos.ts";
2020 import { startChecks, type ChecksHandle } from "../../src/checks/service.ts";
21 import type { ChecksOptions } from "../../src/checks/lane_state.ts";
2122 import { listRuns, type Run } from "../../src/core/runs.ts";
2223 import type { Pull } from "../../src/core/pulls.ts";
2324 import { createUser, type User } from "../../src/core/users.ts";
@@ -57,7 +58,7 @@ export type ChecksForge = {
5758 slowCheck(command: string, message: string): Promise<string>;
5859 };
5960
60 export function checksForge(prefix = "forge-checks-"): ChecksForge {
61 export function checksForge(prefix = "forge-checks-", extra: Partial<ChecksOptions> = {}): ChecksForge {
6162 const f = {} as ChecksForge;
6263
6364 f.settled = async (where, timeoutMs = 4_000) => {
@@ -111,7 +112,7 @@ export function checksForge(prefix = "forge-checks-"): ChecksForge {
111112 f.dataDir = await mkdtemp(join(tmpdir(), prefix));
112113 f.app = createApp({ dataDir: f.dataDir, port: 0 });
113114 f.servers = await serve(f.app);
114 f.checks = startChecks(f.app, { forgeUrl: f.servers.url, concurrency: 1 });
115 f.checks = startChecks(f.app, { forgeUrl: f.servers.url, concurrency: 1, ...extra });
115116 const a = await createUser(f.app.db, {
116117 origin: "seed",
117118 trusted: true,
test/shared-red.test.ts +12 −1
@@ -8,7 +8,7 @@
88 import { nameUnnamed } from "../src/checks/bun-test.ts";
99 import { summariseCheckFailure } from "../src/checks/summary.ts";
1010 import { tally } from "../scripts/shards.ts";
11 import { beforeEach, describe, expect, test } from "bun:test";
11 import { afterAll, beforeEach, describe, expect, test } from "bun:test";
1212 import type { Database } from "bun:sqlite";
1313 import { Glob } from "bun";
1414 import { readFileSync } from "node:fs";
@@ -34,7 +34,18 @@ import { ErrorLedger } from "../src/kernel/log.ts";
3434 import { RefusedLedger } from "../src/kernel/internal_refused.ts";
3535
3636 let db: Database;
37 /**
38 * The cards here are the forge's own repository's (no "Not fixable from this
39 * forge" note), so the test names it: a file sharing this shard's process may
40 * have set FORGE_SENTINEL_REPO to another and left it (`test/duty-idle.test.ts`).
41 */
42 const sentinelRepo = process.env.FORGE_SENTINEL_REPO;
43 afterAll(() => {
44 if (sentinelRepo === undefined) delete process.env.FORGE_SENTINEL_REPO;
45 else process.env.FORGE_SENTINEL_REPO = sentinelRepo;
46 });
3747 beforeEach(() => {
48 process.env.FORGE_SENTINEL_REPO = "trevato/forge";
3849 db = openDb(":memory:", migrations);
3950 db.run("INSERT INTO user (id, username, email, password_hash) VALUES ('u1', 'trevato', 't@x', '')");
4051 db.run("INSERT INTO repo (id, owner_id, name) VALUES ('r1', 'u1', 'forge')");
test/spawn-pipes.test.ts +1
@@ -47,6 +47,7 @@ const PIPING: Record<string, { sites: string[]; reason: string }> = {
4747 "src/snapshot/kit.ts": { sites: ["stdout+stderr"], reason: "the restore child's stdout is read to its end for the restored snapshot id and stderr for the failure text, alongside the exit" },
4848 "src/snapshot/boot.ts": { sites: ["stderr"], reason: "stderr read to its end in a background loop, awaited before the exit is read for a lost port; stdout ignored" },
4949 "src/release/checkout.ts": { sites: ["stdout+stderr"], reason: "stdout and stderr both read via Response.text()" },
50 "src/checks/deepsec_tool.ts": { sites: ["stdout+stderr"], reason: "the deepsec install reads stdout and stderr to the end via Response.text() while the exit is awaited" },
5051 "src/checks/install.ts": { sites: ["stdout+stderr"], reason: "prefillInstallCache reads stdout and stderr to the end via Response.text() while the exit is awaited" },
5152 "src/cli/config.ts": { sites: ["stdout"], reason: "stdout awaited with the exit; stderr ignored" },
5253 "src/cli/folder-repo.ts": { sites: ["stdout"], reason: "stdout awaited with the exit; stderr ignored" },
test/spawn-sites.test.ts +2
@@ -23,6 +23,8 @@ const SITES: Record<string, string> = {
2323 "chaos harness: runs bun on its own worker.ts with a database path and repo id the harness made",
2424 "src/chaos/invariants.ts":
2525 "chaos harness: `git cat-file -e <oid>^{commit}` with an oid read from the forge's own pulls table",
26 "src/checks/deepsec_tool.ts":
27 "a fixed argv, `bun install --frozen-lockfile --ignore-scripts --production`, on the forge's own committed tools/deepsec manifest in a directory the forge made; no request text",
2628 "src/checks/install.ts":
2729 "a fixed argv, `bun install --frozen-lockfile --ignore-scripts`, in the check's checkout",
2830 "src/checks/runner_pool.ts":
tools/deepsec/bun.lock added +619
@@ -0,0 +1,619 @@
1 {
2 "lockfileVersion": 2,
3 "configVersion": 1,
4 "workspaces": {
5 "": {
6 "name": "forge-deepsec",
7 "dependencies": {
8 "deepsec": "2.3.16",
9 },
10 },
11 },
12 "packages": {
13 "@alcalzone/ansi-tokenize": ["@alcalzone/[email protected]", "", { "dependencies": { "ansi-styles": "^6.2.1", "is-fullwidth-code-point": "^5.0.0" } }, "sha512-GZdcaU9RV2Gn9SAg1hcsSoQ4nIWZfutPqIvxayUYsOzfBPJioJ+aQIXnMJiGDz+35Gg2pskkPxioYnSblPELEw=="],
14
15 "@anthropic-ai/claude-agent-sdk": ["@anthropic-ai/[email protected]", "", { "optionalDependencies": { "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.330", "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.330", "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.330", "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.330", "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.330", "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.330", "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.330", "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.330" }, "peerDependencies": { "@anthropic-ai/sdk": ">=0.93.0", "@modelcontextprotocol/sdk": "^1.29.0", "zod": "^4.0.0" } }, "sha512-7om9Xus6tfkeCUCfzg6ilJuN6Z7okkEvJ0mx+ukXa/Id5U/6BGtPkOYni+3ebedwa3b9SVF7A05+ln+/9EoU/w=="],
16
17 "@anthropic-ai/claude-agent-sdk-darwin-arm64": ["@anthropic-ai/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-J9nqvcfD2V90O5uoR8At66R51VYtSMKnxSmPc0S4A4F5oX1VbokcpJLXU1yVCOuTtzr/OIHjRr9nn2vKi/S6rQ=="],
18
19 "@anthropic-ai/claude-agent-sdk-darwin-x64": ["@anthropic-ai/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-woe+f9qeZYWML5fACibNyth0xMDf22riNRNDryIYuhdteh7IoWrK6zC31cC2MrZRoqDZcPVtfOLND79+iZbrLA=="],
20
21 "@anthropic-ai/claude-agent-sdk-linux-arm64": ["@anthropic-ai/[email protected]", "", { "os": "linux", "cpu": "arm64", "libc": "glibc" }, "sha512-2Q+kfzaoTvJv1rsyu+iR4UHDZ3nxiOfdXISk+2ydQShU9DqXNlgQAt3BdJMh0Yx4MrxB66TMphVvVQeRslwwhA=="],
22
23 "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": ["@anthropic-ai/[email protected]", "", { "os": "linux", "cpu": "arm64", "libc": "musl" }, "sha512-fXmuAEegw31v+kiBd51yn7RVhjs7Rz2lnhfx/+XJXqt5lyqR2v7Ul/U/9r1CQZKuIw8M3ms9jQqGpmKbgKndqQ=="],
24
25 "@anthropic-ai/claude-agent-sdk-linux-x64": ["@anthropic-ai/[email protected]", "", { "os": "linux", "cpu": "x64", "libc": "glibc" }, "sha512-9w4uMdA3vNZXocwOUhivOGotXoRDxN/C/xPMkZMY9WPpKLAlj8upMZskNgPjQKlVRXhxPfNagcBijGPUH4WepA=="],
26
27 "@anthropic-ai/claude-agent-sdk-linux-x64-musl": ["@anthropic-ai/[email protected]", "", { "os": "linux", "cpu": "x64", "libc": "musl" }, "sha512-kooZMdp6tFwNFkDXbGoNTZMgFcPQfJVfG+gZ2qAdkk11S6MFts9ybHRLQmzUK3VrqlahH7T9fmI2mNfzYgOXkw=="],
28
29 "@anthropic-ai/claude-agent-sdk-win32-arm64": ["@anthropic-ai/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-6jscch7vk/XBSn7mm1i6zwTeiz05q98nKrQ3HdTavQEDGvXycMcB/QxIdMrs3vrdNEjWuoxwrL1qlT1lOyAWLg=="],
30
31 "@anthropic-ai/claude-agent-sdk-win32-x64": ["@anthropic-ai/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-ooThWbUXlXKTDgj2VgWBXQ/6vSOTaAbBDWPvvCGNHi20haoSkw4uPX9gczkX+HJuVTslvvLiYIfe8zleVPzi7A=="],
32
33 "@anthropic-ai/sdk": ["@anthropic-ai/[email protected]", "", { "dependencies": { "json-schema-to-ts": "^3.1.1", "standardwebhooks": "^1.0.0" }, "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" }, "optionalPeers": ["zod"], "bin": { "anthropic-ai-sdk": "bin/cli" } }, "sha512-MH7LB20kNpGLUpPTe2OG5XvL/KhX8HUO9XyBaFjgFk6TLS4Xjt0VPIuMKywe7POKKPslX+QxSlVok9e+8kG5Nw=="],
34
35 "@aws-sdk/client-bedrock-runtime": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.9", "@aws-sdk/credential-provider-node": "^3.972.82", "@aws-sdk/eventstream-handler-node": "^3.972.34", "@aws-sdk/middleware-eventstream": "^3.972.29", "@aws-sdk/middleware-websocket": "^3.972.52", "@aws-sdk/token-providers": "3.1127.0", "@aws-sdk/types": "^3.974.5", "@smithy/core": "^3.33.3", "@smithy/fetch-http-handler": "^5.7.2", "@smithy/node-http-handler": "^4.11.3", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-IDl/lrPb90aH+pZFHGNDmgH9nAUQj5PlZH1sJ3w7RikctyjHSnY3oNjZhrLoaBoQn/rNK0zsP6OHEqEhj2tdLA=="],
36
37 "@aws-sdk/core": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/types": "^3.975.1", "@aws-sdk/xml-builder": "^3.972.43", "@aws/lambda-invoke-store": "^0.3.0", "@smithy/core": "^3.40.0", "@smithy/signature-v4": "^5.7.5", "@smithy/types": "^4.20.0", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-sERtJaZjzvBdFMm2uei4k0WwPNUJtIrMBH9h0AEw7G0KkhIbnN3e5ZcwGjbVKClR+rrJCmyL1jhtXkseE7DU4A=="],
38
39 "@aws-sdk/credential-provider-env": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.981.1", "@aws-sdk/types": "^3.975.1", "@smithy/core": "^3.40.0", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-IkIfFWmDbUyDEdNZpyAMmD3Givrm11I9UrqbgmLu1kUL/oh96QMqbfuHcbH08ErngZPDCQ2+7fW3U4r/W2k2Xg=="],
40
41 "@aws-sdk/credential-provider-http": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.981.1", "@aws-sdk/types": "^3.975.1", "@smithy/core": "^3.40.0", "@smithy/fetch-http-handler": "^5.8.1", "@smithy/node-http-handler": "^4.14.2", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-NWQNmfmllENW1TOpMfhEZeRzEvbSaFsS5yrb2TZJ0wu+fVL5hyVSfGVLd8HTWb2UECD2bCw/kDXaA6dR1VJf3g=="],
42
43 "@aws-sdk/credential-provider-ini": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.981.1", "@aws-sdk/credential-provider-env": "^3.972.85", "@aws-sdk/credential-provider-http": "^3.972.87", "@aws-sdk/credential-provider-login": "^3.972.93", "@aws-sdk/credential-provider-process": "^3.972.85", "@aws-sdk/credential-provider-sso": "^3.973.29", "@aws-sdk/credential-provider-web-identity": "^3.972.91", "@aws-sdk/nested-clients": "^3.998.4", "@aws-sdk/types": "^3.975.1", "@smithy/core": "^3.40.0", "@smithy/credential-provider-imds": "^4.5.2", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-K6jkaKaAaVn9qAl/I14lzDHnYWHiESkxYLnmPYnJg3OfTRtWz39NerpidQIzqbMpoE/pmFqhgSJ+Sx/j1++8sA=="],
44
45 "@aws-sdk/credential-provider-login": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.981.1", "@aws-sdk/nested-clients": "^3.998.4", "@aws-sdk/types": "^3.975.1", "@smithy/core": "^3.40.0", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-JofxFKJyNGLc9MmFMKy/vmjVwvNIWKNvHOf8rkXheH9x4+WJpIexhk1cqbmxWkodDYAodqGTiCEdBAVuiyH0iA=="],
46
47 "@aws-sdk/credential-provider-node": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/credential-provider-env": "^3.972.85", "@aws-sdk/credential-provider-http": "^3.972.87", "@aws-sdk/credential-provider-ini": "^3.973.31", "@aws-sdk/credential-provider-process": "^3.972.85", "@aws-sdk/credential-provider-sso": "^3.973.29", "@aws-sdk/credential-provider-web-identity": "^3.972.91", "@aws-sdk/types": "^3.975.1", "@smithy/core": "^3.40.0", "@smithy/credential-provider-imds": "^4.5.2", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-EpRL6YwSqvNlMjvRmwR2o3exV6DaETTdaWr1U7fZ456LQeK6ErOSluc6mWMY+OjkrBVFK4PgrU4NlERXTcgzKg=="],
48
49 "@aws-sdk/credential-provider-process": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.981.1", "@aws-sdk/types": "^3.975.1", "@smithy/core": "^3.40.0", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-19kc3xj6woR3Nb2NWFxowRkCnuR43jMFcTLLLCqkzB/rPxxE1+NfHnAP5fpXgrI4xRRgDzvWeDREjhGrJxqfxA=="],
50
51 "@aws-sdk/credential-provider-sso": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.981.1", "@aws-sdk/nested-clients": "^3.998.4", "@aws-sdk/token-providers": "3.1175.0", "@aws-sdk/types": "^3.975.1", "@smithy/core": "^3.40.0", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-DJuKIs0bn5MZXc5uE1sf/R67YVC4ivFnL/dbKHukhdb5B6Fy80k8/BqiQykzXEqoT/qlSQaqYXU29hqVAYjcsg=="],
52
53 "@aws-sdk/credential-provider-web-identity": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.981.1", "@aws-sdk/nested-clients": "^3.998.4", "@aws-sdk/types": "^3.975.1", "@smithy/core": "^3.40.0", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-4k4beWSkxhwKeGMVfgppv/LwCfCd1zAycWgqop7GHkdvdNK9TTkWn299LjUQOgDMfBX2Sv08t+J1mAWKHatttw=="],
54
55 "@aws-sdk/eventstream-handler-node": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/types": "^3.975.1", "@smithy/core": "^3.40.0", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-YVB1wrpE1WF8NvMpaRyhwm9XBYl3HTbPNEIgybi0b0XpmBrJ7Y3Y/drbxh9qAVMbR+0hcwM63GPWzhOVRuerfg=="],
56
57 "@aws-sdk/middleware-eventstream": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/types": "^3.975.1", "@smithy/core": "^3.40.0", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-4K6FDz2BxH3rve8Hw/8uApWXKCuKKMeYKzY23PoiGqUBWaA23eAy+GzW9aoG3Cm7HqgYzqkljl3ECJRJCxGs7g=="],
58
59 "@aws-sdk/middleware-websocket": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.981.1", "@aws-sdk/types": "^3.975.1", "@smithy/core": "^3.40.0", "@smithy/fetch-http-handler": "^5.8.1", "@smithy/signature-v4": "^5.7.5", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-tkj0koUk9PueX4EP++cbVHYQXLUf5TfsVfwIpKmrdGEkA5tcjFcNdMIpt2U3Sd4AeQMbX1lF8Q2/jZTP9r9CgA=="],
60
61 "@aws-sdk/nested-clients": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.981.1", "@aws-sdk/signature-v4-multi-region": "^3.996.52", "@aws-sdk/types": "^3.975.1", "@smithy/core": "^3.40.0", "@smithy/fetch-http-handler": "^5.8.1", "@smithy/node-http-handler": "^4.14.2", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-8Vzg3e9ia6eHQStnoSn17asRNWHrf/ozgQslLMGOdM5JifyV+AAk1+lgVXcQMmrzgRhR9phRUEFxAOg/cBh7MQ=="],
62
63 "@aws-sdk/signature-v4-multi-region": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/types": "^3.975.1", "@smithy/signature-v4": "^5.7.5", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-6W6SjGc8OXUhMzNxU1X922ghD+PP1XvzmCk5Scui0jaYsLezycMYR1RaLp5xTIOUrhTXyb4DnAbPr3fBgmdnzg=="],
64
65 "@aws-sdk/token-providers": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.9", "@aws-sdk/nested-clients": "^3.997.44", "@aws-sdk/types": "^3.974.5", "@smithy/core": "^3.33.3", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-Dv2TMWBshJ+tF6ahs2Sy5bh4Iabsd4GAQqVvE9XZmYmnoaVbpS2QKIKE/HRacc7bTtbjEEvP+laGzHvHlf1CiQ=="],
66
67 "@aws-sdk/types": ["@aws-sdk/[email protected]", "", { "dependencies": { "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-7rGxUkCB2QPoQOeJmonmAICTN2zrH+fpmi1p4Iwu72lnxNaMhOgqcbpyddifnM1DBb19TWQ1u6z/XjkaFNEDWw=="],
68
69 "@aws-sdk/xml-builder": ["@aws-sdk/[email protected]", "", { "dependencies": { "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-rG8QVx4DOrJWptsogu1Aq+CDsnPKaBrAlJpKLxrJrIDXAq1ElnW0yQjjBnlWSXll0cDakCG6UDvaqwz0A9d9Og=="],
70
71 "@aws/lambda-invoke-store": ["@aws/[email protected]", "", {}, "sha512-sl4Bm6yiMNYrZKkqqDFWN0UfnWhlS8ivKxrYl+6t0gCLrqr8y3B2IqZZbFRkfaVVp7C/baApyh71P+LeE1A2sQ=="],
72
73 "@babel/runtime": ["@babel/[email protected]", "", {}, "sha512-304gsbbGVmQc+cNGHzwHBlqepYdWLKj3VXCQBGt/EGcV7PUPfKI7kAUNW1FZEOCwlQiLvQjg1JEaAlRQ616h+Q=="],
74
75 "@earendil-works/pi-agent-core": ["@earendil-works/[email protected]", "", { "dependencies": { "@earendil-works/pi-ai": "1.5.0", "@earendil-works/pi-schema": "1.5.0" } }, "sha512-FOj+jXj48DbzMycR/ghNa2KcsqWmvOln24e0FnQOVgnd8vn5H79g335WdHaZUVdRo+zCeogb40/qPPlCWFuvmA=="],
76
77 "@earendil-works/pi-ai": ["@earendil-works/[email protected]", "", { "dependencies": { "@anthropic-ai/sdk": "0.129.0", "@aws-sdk/client-bedrock-runtime": "3.1127.0", "@earendil-works/pi-schema": "1.5.0", "@earendil-works/pi-telemetry": "1.5.0", "@google/genai": "2.21.0", "@smithy/node-http-handler": "4.12.1", "http-proxy-agent": "9.1.0", "https-proxy-agent": "9.1.0", "openai": "7.19.0", "partial-json": "0.1.7" }, "bin": { "pi-ai": "dist/cli.js" } }, "sha512-VeWxNqTHSqRCf8AcY/6kvNwh+neRL6MPxZPePVztIQy6qqK9MR/YoCSN/ZgDnIyCD3pqEXgRyQbzk4KV4uvjbg=="],
78
79 "@earendil-works/pi-codemode": ["@earendil-works/[email protected]", "", { "dependencies": { "quickjs-wasi": "3.6.2" } }, "sha512-PLBJZ17AEWGzOlAAcFuOkw3PxkOti0JlFuZQyeF2GRTqbpuYo4k9t8YqUV2uOQVzrUnKdxahwaFUqc1eNS1WAg=="],
80
81 "@earendil-works/pi-coding-agent": ["@earendil-works/[email protected]", "", { "dependencies": { "@earendil-works/pi-agent-core": "1.5.0", "@earendil-works/pi-ai": "1.5.0", "@earendil-works/pi-codemode": "1.5.0", "@earendil-works/pi-mcp": "1.5.0", "@earendil-works/pi-tui": "1.5.0", "@silvia-odwyer/photon-node": "0.3.4", "brace-expansion": "5.0.12", "chalk": "6.0.0", "cross-spawn": "7.0.6", "diff": "8.0.4", "grok-mermaid": "0.2.3", "highlight.js": "10.7.3", "hosted-git-info": "9.0.3", "ignore": "7.0.8", "jiti": "2.7.0", "minimatch": "11.0.3", "proper-lockfile": "4.1.2", "quickjs-wasi": "3.6.2", "semver": "7.8.5", "typebox": "1.3.27", "undici": "8.12.3", "yaml": "2.9.0" }, "bin": { "pi": "dist/bundle/cli.js" } }, "sha512-xNDZ5kqowO6Z03FS2gwAkPEGk1ssxVcYKQ6qZId84mFEvwACvvyc2l0vAMOS+c5zvxLRMLBE9r4y44IGYkMJaQ=="],
82
83 "@earendil-works/pi-mcp": ["@earendil-works/[email protected]", "", { "dependencies": { "cross-spawn": "7.0.6" } }, "sha512-DURw3IwHCTMHV8CzUJWVp9css27NowsCWfXt4xg2r09IZ+P1O/Uq58hp0hb9WJO0dbkaKGXKBIkV4LVXcu2nlg=="],
84
85 "@earendil-works/pi-schema": ["@earendil-works/[email protected]", "", {}, "sha512-RW0MbT2tR65OY6xMsgB/yVBb7m/RTNwA+9hurSN1vVXfHZRVmVnXbruBPrx/PzbrQnW5yLVlMRWxErGDQtF1Hg=="],
86
87 "@earendil-works/pi-telemetry": ["@earendil-works/[email protected]", "", {}, "sha512-VW3tcVdnNfl/Vk8wHPTzZdKkxcsCOM12ppiO4DXnd9wMxUCmOfLt/wvUnWeKWbTVlVSRg0uqKtnnhE2UCsG2Bw=="],
88
89 "@earendil-works/pi-tui": ["@earendil-works/[email protected]", "", { "dependencies": { "get-east-asian-width": "1.6.0", "marked": "18.0.11", "marked-cjk-friendly": "0.1.2" } }, "sha512-56KqrDVeLF18k+syppVbT35Ai1opbM44ot+sL7O3K40CaWwXCiwOpqEFugDBAILtAhseZh6uYIuYxPPOJHLFAA=="],
90
91 "@google/genai": ["@google/[email protected]", "", { "dependencies": { "google-auth-library": "^10.3.0", "p-retry": "^4.6.2", "protobufjs": "^7.5.4", "ws": "^8.18.0" }, "peerDependencies": { "@modelcontextprotocol/sdk": "^1.25.2" }, "optionalPeers": ["@modelcontextprotocol/sdk"], "hasInstallScript": true }, "sha512-+PDtco2/Z0ONdzCGekCoCT+O1VJS9xJQNN4XzQpXG/t3El/SWWMkCWlFRO1KmivOHPa4Q0VjUYu1HBKCZ/v33Q=="],
92
93 "@hono/node-server": ["@hono/[email protected]", "", { "peerDependencies": { "hono": "^4 || ^5.0.0-0" } }, "sha512-KzKz9vl4vvr1vgLHamj+g5uonbrj5NwAdO3yzOS6cd2HjALVeOgTgeZOyAzNxejbkfOOPIcvuf/Tg8l1pEFLog=="],
94
95 "@isaacs/fs-minipass": ["@isaacs/[email protected]", "", { "dependencies": { "minipass": "^7.0.4" } }, "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w=="],
96
97 "@isaacs/nonrecursive-glob-match": ["@isaacs/[email protected]", "", {}, "sha512-GPm/Dbvk5RLmhRnxXIa7nTpK0xtl4E0wj0MslsuNiJ1FIROU+2+9lgUC/dgF7Ey4QCWhfEsgxilMRMCdHPfDfw=="],
98
99 "@modelcontextprotocol/sdk": ["@modelcontextprotocol/[email protected]", "", { "dependencies": { "@hono/node-server": "^1.19.9 || ^2.0.5", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", "eventsource-parser": "^3.0.0", "express": "^5.2.1", "express-rate-limit": "^8.2.1", "hono": "^4.11.4", "jose": "^6.1.3", "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", "zod-to-json-schema": "^3.25.1" }, "peerDependencies": { "@cfworker/json-schema": "^4.1.1" }, "optionalPeers": ["@cfworker/json-schema"] }, "sha512-SWsVtH/0vULSQStoZ6xxH2K09Li8fXYTMC64ZeogCdpZ3XSi1eCPOByV1OpuJxuI3OcmHhosDWYyii07tpPsLw=="],
100
101 "@openai/codex": ["@openai/[email protected]", "", { "optionalDependencies": { "@openai/codex-darwin-arm64": "npm:@openai/[email protected]", "@openai/codex-darwin-x64": "npm:@openai/[email protected]", "@openai/codex-linux-arm64": "npm:@openai/[email protected]", "@openai/codex-linux-x64": "npm:@openai/[email protected]", "@openai/codex-win32-arm64": "npm:@openai/[email protected]", "@openai/codex-win32-x64": "npm:@openai/[email protected]" }, "bin": { "codex": "bin/codex.js" } }, "sha512-dwoughgqjiik++CFaNkjQ5y6pJO6LUzu5P1z8Hy4LUeJ+aIYcX/QO1P5rOQnHmBG4agOM7Y+hc4LtVo/a4GFiw=="],
102
103 "@openai/codex-darwin-arm64": ["@openai/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-sQyOGJabAUTEWCKe1O6GNsE7NKnHCHSjzLrazfYUgw8OFsFDeAQGVEwzvpXTK1yW1hJiLLAMRzC/W2Vu7m9DwQ=="],
104
105 "@openai/codex-darwin-x64": ["@openai/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-lniwntVB9YaCQNNaTgpLxVvABkrnZDCO/UZf3z7POwH71ikkVNi7NxBrfl6aSIS9b3UBJKxjPlAm3qeIxINJVg=="],
106
107 "@openai/codex-linux-arm64": ["@openai/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-mJLm5eia/GcukCrRfVEnYVD5dOXGE7cmpd9dJ/ixkSiKifzDAPaGq83ZEmwVhk3PxbdTPUSLRpnXZQKbNS5HoA=="],
108
109 "@openai/codex-linux-x64": ["@openai/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-6cCZJaZL17tiTAvhd1Pirt8vsV1dP8CfG94+IHygUO4m24oYLQrIInJJLyKzcMv/uUonbu1dF2JmcXhA/s5bsg=="],
110
111 "@openai/codex-sdk": ["@openai/[email protected]", "", { "dependencies": { "@openai/codex": "0.170.0" } }, "sha512-YwgiT3WqgSSpetiWr3g8/TvyJf5pu02xoN+mFGl+XULoDGFl0rK0ugr9K3UjyvCOYdFjI3+dieLah7HtsbPn3w=="],
112
113 "@openai/codex-win32-arm64": ["@openai/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-VSfDt/Y/RYqeT+9gCwmIO1kEj7bF7RYQdhanhMWQqWpZBdPLrF19z2z8JbL+Gt/amE7A1d/Rt2g/p44DLrDhFg=="],
114
115 "@openai/codex-win32-x64": ["@openai/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-eNlCGvSTKMegqo1R0PPfAf0jOQp8OGfWH8WX2UyTtRN6E/YOecJnz4n1X9lIb02O8Zda/Lv6/WST7+8mufTVSw=="],
116
117 "@protobufjs/aspromise": ["@protobufjs/[email protected]", "", {}, "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ=="],
118
119 "@protobufjs/base64": ["@protobufjs/[email protected]", "", {}, "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg=="],
120
121 "@protobufjs/codegen": ["@protobufjs/[email protected]", "", {}, "sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g=="],
122
123 "@protobufjs/eventemitter": ["@protobufjs/[email protected]", "", {}, "sha512-vW1GmwMZNnL+gMRaovlh9yZX74kc+TTU3FObkkurpMaRtBfLP3ldjS9KQWlwZgraRE0+dheEEoAxdzcJQ8eXZg=="],
124
125 "@protobufjs/fetch": ["@protobufjs/[email protected]", "", { "dependencies": { "@protobufjs/aspromise": "^1.1.1" } }, "sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw=="],
126
127 "@protobufjs/float": ["@protobufjs/[email protected]", "", {}, "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ=="],
128
129 "@protobufjs/path": ["@protobufjs/[email protected]", "", {}, "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA=="],
130
131 "@protobufjs/pool": ["@protobufjs/[email protected]", "", {}, "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw=="],
132
133 "@protobufjs/utf8": ["@protobufjs/[email protected]", "", {}, "sha512-b1UQwcEZ4yCnMCD8DAL1VlbvBJE9/IX4FTIp7BG1xYpf29SLazLSrqUkj4w7Y5y7cCVP6E5tcqqcI0xemPkHug=="],
134
135 "@silvia-odwyer/photon-node": ["@silvia-odwyer/[email protected]", "", {}, "sha512-bnly4BKB3KDTFxrUIcgCLbaeVVS8lrAkri1pEzskpmxu9MdfGQTy8b8EgcD83ywD3RPMsIulY8xJH5Awa+t9fA=="],
136
137 "@smithy/core": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-fuZ34H1uizS3WgcX9VXG7Uy8od5A5/kCc+CR3NkHLNm2H/BE9AUHG02VIdu8ZB7FYhLqsr/RZbqAoXuOCg/Oxg=="],
138
139 "@smithy/credential-provider-imds": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.33.2", "@smithy/types": "^4.17.2", "tslib": "^2.6.2" } }, "sha512-A9uSdn72ozbRUSit0eib0TW7nXuNPlaeM0zcGkJ+nE6tFcSDbnmtwoxbTCFBukVQcszDAyvsd7+rTduPTXpygg=="],
140
141 "@smithy/fetch-http-handler": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.39.0", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-h8BdMUrUBhMhMaeK7QqAdINRZezCGuYOCpcOZZ1ewxbHST9rdTd09xwNpvLTYfzDRehxQiReK4SKbdYZxBA+ew=="],
142
143 "@smithy/node-http-handler": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.33.3", "@smithy/types": "^4.18.0", "tslib": "^2.6.2" } }, "sha512-ThMkboGeONWXAelq9FvGsuJC4rOi+qyC4/zhUF58xYpxUg5sQKx2VXZYJmtNjr4dSuBJ1HeJXETQILCz3wOHvw=="],
144
145 "@smithy/signature-v4": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.38.0", "@smithy/types": "^4.19.0", "tslib": "^2.6.2" } }, "sha512-WPjdr5oWOk1LArpI4pavu+fSo+/evi0Re1olxGvqwuZopd4gYR1UGCi+Soyn/IjmafqbWs+ZC+3AKxJS3ZpwUg=="],
146
147 "@smithy/types": ["@smithy/[email protected]", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-lCA6QG22dPk9ecHbv91jDQZsmtPUjdS1aE2Il6NNPqe7DrYc0dZQi6DhcESk2KYXH2sp5xbAcGdYMZDFnuzA2A=="],
148
149 "@stablelib/base64": ["@stablelib/[email protected]", "", {}, "sha512-1bnPQqSxSuc3Ii6MhBysoWCg58j97aUjuCSZrGSmDxNqtytIi0k8utUenAwTZN4V5mXXYGsVUI9zeBqy+jBOSQ=="],
150
151 "@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~8.9.0" } }, "sha512-MzQj+8Kx3XI40OmUAE6Qoh58ZMNstNNMwn2nfd3qWsfe7nDNSqJNzes4njhz6AHwrSHOffSLwXU6yb474Q4aog=="],
152
153 "@types/retry": ["@types/[email protected]", "", {}, "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA=="],
154
155 "@vercel/cli-config": ["@vercel/[email protected]", "", { "dependencies": { "xdg-app-paths": "5", "zod": "4.1.11" } }, "sha512-sISbygqlFXYb8qfPu/+2Cf/A8IjrlAuZePdag3EDQr2PRA455s7UZtl9Ro674CWsB/saBRmz3jEkw0YsQs8OoQ=="],
156
157 "@vercel/cli-exec": ["@vercel/[email protected]", "", { "dependencies": { "execa": "5.1.1" } }, "sha512-g9XerViJ/paZujufXYcu5XYI2vU2rtB4sgdpjUHde5RnOkdmpu0ngH46LCFGHoPXO/C+qDPSczIHIRN+8Q2YKQ=="],
158
159 "@vercel/oidc": ["@vercel/[email protected]", "", { "dependencies": { "@vercel/cli-config": "0.3.1", "@vercel/cli-exec": "1.0.1", "jose": "^5.9.6" } }, "sha512-sPw1kIfQEA6/2dB+zlAJHnhhNBRJ8t/t4HfFvKO+g0EPBA7NbCKyGovuhgAV6Mnl865ka7HqCEguIy596czdAw=="],
160
161 "@vercel/sandbox": ["@vercel/[email protected]", "", { "dependencies": { "@vercel/oidc": "3.2.0", "@workflow/serde": "4.1.0-beta.2", "async-retry": "1.3.3", "jsonlines": "0.1.1", "ms": "2.1.3", "picocolors": "^1.1.1", "tar-stream": "3.1.7", "undici": "^7.16.0", "xdg-app-paths": "5.1.0", "zod": "3.24.4" } }, "sha512-rWhYfIyW0Va0gFxtz434LhVirV+eQs+AK0QQWtsOPw2oTvOSA4iogQqemRqvRPPbqI8nfZOz6kbCsytVa20gdw=="],
162
163 "@workflow/serde": ["@workflow/[email protected]", "", {}, "sha512-8kkeoQKLDaKXefjV5dbhBj2aErfKp1Mc4pb6tj8144cF+Em5SPbyMbyLCHp+BVrFfFVCBluCtMx+jjvaFVZGww=="],
164
165 "accepts": ["[email protected]", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="],
166
167 "agent-base": ["[email protected]", "", {}, "sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA=="],
168
169 "ajv": ["[email protected]", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA=="],
170
171 "ajv-formats": ["[email protected]", "", { "dependencies": { "ajv": "^8.0.0" } }, "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ=="],
172
173 "ansi-escapes": ["[email protected]", "", { "dependencies": { "environment": "^1.0.0" } }, "sha512-BvU8nYgGQBxcmMuEeUEmNTvrMVjJNSH7RgW24vXexN4Ven6qCvy4TntnvlnwnMLTVlcRQQdbRY8NKnaIoeWDNg=="],
174
175 "ansi-regex": ["[email protected]", "", {}, "sha512-XZ5apbzreCbXSKwPjJstu8R0zOi247w3XYwWxtwBXgpZrCyc1Ka7p9/xY0A9/diMewmHbEKz+FIraWaEWjlN5g=="],
176
177 "ansi-styles": ["[email protected]", "", {}, "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg=="],
178
179 "async-retry": ["[email protected]", "", { "dependencies": { "retry": "0.13.1" } }, "sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw=="],
180
181 "auto-bind": ["[email protected]", "", {}, "sha512-ooviqdwwgfIfNmDwo94wlshcdzfO64XV0Cg6oDsDYBJfITDz1EngD2z7DkbvCWn+XIMsIqW27sEVF6qcpJrRcg=="],
182
183 "b4a": ["[email protected]", "", { "peerDependencies": { "react-native-b4a": "*" }, "optionalPeers": ["react-native-b4a"] }, "sha512-dpfcF9fDNR6++cthXR67iyhgqWy9CBouAvIWhIntzBG6cvK/cnIPiZQjBwi/ZqjjBEDGfoNDtmB0kTjroOJ3pQ=="],
184
185 "balanced-match": ["[email protected]", "", {}, "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA=="],
186
187 "bare-events": ["[email protected]", "", { "peerDependencies": { "bare-abort-controller": "*" }, "optionalPeers": ["bare-abort-controller"] }, "sha512-AIPKioV7/Y/8KfZ3AAhjPJxLLbY49S64Ym5DakZlUg75qQiTgUq9hEJoEwa4eUezPUlXRy/i5NpsKvo9jgKmoA=="],
188
189 "base64-js": ["[email protected]", "", {}, "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="],
190
191 "bignumber.js": ["[email protected]", "", {}, "sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ=="],
192
193 "body-parser": ["[email protected]", "", { "dependencies": { "bytes": "^3.1.2", "content-type": "^2.1.0", "debug": "^4.4.3", "http-errors": "^2.0.1", "iconv-lite": "^0.7.3", "on-finished": "^2.4.1", "qs": "^6.16.1", "raw-body": "^3.0.2", "type-is": "^2.1.0" } }, "sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ=="],
194
195 "bowser": ["[email protected]", "", {}, "sha512-xic6KSZglg/I4ymp45fdM4GWfYpBK79Fxd/TOvJktlaPgQqqDxvmGwOPZl2V0dyeS3Lj5c180bLhXF43iyAjZQ=="],
196
197 "brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^4.0.2" } }, "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ=="],
198
199 "buffer-equal-constant-time": ["[email protected]", "", {}, "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA=="],
200
201 "bytes": ["[email protected]", "", {}, "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg=="],
202
203 "call-bind-apply-helpers": ["[email protected]", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="],
204
205 "call-bound": ["[email protected]", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "get-intrinsic": "^1.3.0" } }, "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg=="],
206
207 "chalk": ["[email protected]", "", {}, "sha512-2uNTXIuTTxk7ciZgAU1BQcgnchcG0xXnrs6jzkQfj9SsRa9M2s5zE8WT96hS6KmG4MzWHSrvH43DF1m4XRkrFg=="],
208
209 "chownr": ["[email protected]", "", {}, "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g=="],
210
211 "cli-boxes": ["[email protected]", "", {}, "sha512-5IOn+jcCEHEraYolBPs/sT4BxYCe2nHg374OPiItB1O96KZFseS2gthU4twyYzeDcFew4DaUM/xwc5BQf08JJw=="],
212
213 "cli-cursor": ["[email protected]", "", { "dependencies": { "restore-cursor": "^4.0.0" } }, "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg=="],
214
215 "cli-truncate": ["[email protected]", "", { "dependencies": { "slice-ansi": "^10.0.0", "string-width": "^8.3.0" } }, "sha512-5uyZew3nYoDgyltqSI8OER6DuyecorYOSVDAXl9wQ9Y8Re/HaQ/5qP0HmTUOUQqmvtpB+mlsf1gG/FUS3U1gLQ=="],
216
217 "code-excerpt": ["[email protected]", "", { "dependencies": { "convert-to-spaces": "^2.0.1" } }, "sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA=="],
218
219 "content-disposition": ["[email protected]", "", {}, "sha512-e+H0ZXHSWYrENhQzw1LPuP4oF5MzVKmDU6d3hxlvaPEYLLg62MxtQNPRx4SYSuYJSBUgnQIG4HIN2tEtNv7Dog=="],
220
221 "content-type": ["[email protected]", "", {}, "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA=="],
222
223 "convert-to-spaces": ["[email protected]", "", {}, "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ=="],
224
225 "cookie": ["[email protected]", "", {}, "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w=="],
226
227 "cookie-signature": ["[email protected]", "", {}, "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg=="],
228
229 "cors": ["[email protected]", "", { "dependencies": { "object-assign": "^4", "vary": "^1" } }, "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw=="],
230
231 "cross-spawn": ["[email protected]", "", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="],
232
233 "data-uri-to-buffer": ["[email protected]", "", {}, "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A=="],
234
235 "debug": ["[email protected]", "", { "dependencies": { "ms": "^2.1.3" }, "peerDependencies": { "supports-color": "*" }, "optionalPeers": ["supports-color"] }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="],
236
237 "deepsec": ["[email protected]", "", { "dependencies": { "@anthropic-ai/claude-agent-sdk": "^0.3.318", "@earendil-works/pi-coding-agent": "1.5.0", "@openai/codex": "^0.170.0", "@openai/codex-sdk": "^0.170.0", "@vercel/oidc": "^3.4.0", "@vercel/sandbox": "^1.9.0", "ink": "^7.1.1", "jiti": "^2.4.0", "minimatch": "^10.0.0", "react": "^19.2.8", "tar": "^7.5.20" }, "bin": { "deepsec": "dist/cli.mjs" } }, "sha512-zqqDaQjGSxlrRd7wAOawatPgFrI2QdsPuMMAkL96dTAz+WU3xG5dhlLFozp5kZHhvwtijtwC05Id2l27QiIY+g=="],
238
239 "depd": ["[email protected]", "", {}, "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw=="],
240
241 "diff": ["[email protected]", "", {}, "sha512-DPi0FmjiSU5EvQV0++GFDOJ9ASQUVFh5kD+OzOnYdi7n3Wpm9hWWGfB/O2blfHcMVTL5WkQXSnRiK9makhrcnw=="],
242
243 "dunder-proto": ["[email protected]", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="],
244
245 "ecdsa-sig-formatter": ["[email protected]", "", { "dependencies": { "safe-buffer": "^5.0.1" } }, "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ=="],
246
247 "ee-first": ["[email protected]", "", {}, "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="],
248
249 "encodeurl": ["[email protected]", "", {}, "sha512-mIteYONiEfc4xWf2F1WXovh1c8npzS00vNeiUPdwFF+QlVJni+gNvpQltLMQhob8rew/bWWc/bGTuUr0EUGt0w=="],
250
251 "environment": ["[email protected]", "", {}, "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q=="],
252
253 "es-define-property": ["[email protected]", "", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="],
254
255 "es-errors": ["[email protected]", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="],
256
257 "es-object-atoms": ["[email protected]", "", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw=="],
258
259 "es-toolkit": ["[email protected]", "", {}, "sha512-iUqZ+NlwH4jUgRmXZUxFBsV/9762TQEa1O4IXLFBmDEjVHScBytKuseX23I0+v9ShZ5MYxEx6WKNzm6IPnex8g=="],
260
261 "escape-html": ["[email protected]", "", {}, "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="],
262
263 "escape-string-regexp": ["[email protected]", "", {}, "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w=="],
264
265 "etag": ["[email protected]", "", {}, "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg=="],
266
267 "events-universal": ["[email protected]", "", { "dependencies": { "bare-events": "^2.7.0" } }, "sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw=="],
268
269 "eventsource": ["[email protected]", "", { "dependencies": { "eventsource-parser": "^3.0.1" } }, "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA=="],
270
271 "eventsource-parser": ["[email protected]", "", {}, "sha512-EKN1vKAMcZ8MlYMpaNuxN6R9yakzH6uajHcHVTqWJzvu5pWw9DyhbP35HH8MVBQ+dZjAfDxk+A8NiR9KWaXiyQ=="],
272
273 "execa": ["[email protected]", "", { "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.0", "human-signals": "^2.1.0", "is-stream": "^2.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^4.0.1", "onetime": "^5.1.2", "signal-exit": "^3.0.3", "strip-final-newline": "^2.0.0" } }, "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg=="],
274
275 "express": ["[email protected]", "", { "dependencies": { "accepts": "^2.0.0", "body-parser": "^2.3.0", "content-disposition": "^2.0.1", "content-type": "^2.0.0", "cookie": "^0.7.1", "cookie-signature": "^1.2.1", "debug": "^4.4.0", "depd": "^2.0.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "finalhandler": "^2.1.0", "fresh": "^2.0.0", "http-errors": "^2.0.0", "merge-descriptors": "^2.0.0", "mime-types": "^3.0.0", "on-finished": "^2.4.1", "once": "^1.4.0", "parseurl": "^1.3.3", "proxy-addr": "^2.0.8", "qs": "^6.16.0", "range-parser": "^1.2.1", "router": "^2.2.0", "send": "^1.1.0", "serve-static": "^2.2.0", "statuses": "^2.0.1", "type-is": "^2.1.0", "vary": "^1.1.2" } }, "sha512-qCqy1xSoaugxOD4IVHb1ZWdkvCF2W3aE2okKouWj8VwJ+ztskSiXoBnCSJqfKT+cVPJhuJqe9YLbY425+Zh00g=="],
276
277 "express-rate-limit": ["[email protected]", "", { "dependencies": { "debug": "^4.4.3", "ip-address": "^10.2.0" }, "peerDependencies": { "express": ">= 4.11" } }, "sha512-wi+v38cx2EqD0JnhE/e74o5tFqKWUOAPFJIgyEiqJ8v2MNpoOAA3kI2hXYOI+YM+HE5yqbdAlVxm2GqOIeYOgA=="],
278
279 "extend": ["[email protected]", "", {}, "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="],
280
281 "fast-deep-equal": ["[email protected]", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="],
282
283 "fast-fifo": ["[email protected]", "", {}, "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ=="],
284
285 "fast-sha256": ["[email protected]", "", {}, "sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ=="],
286
287 "fast-uri": ["[email protected]", "", {}, "sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ=="],
288
289 "fetch-blob": ["[email protected]", "", { "dependencies": { "node-domexception": "^1.0.0", "web-streams-polyfill": "^3.0.3" } }, "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ=="],
290
291 "finalhandler": ["[email protected]", "", { "dependencies": { "debug": "^4.4.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "on-finished": "^2.4.1", "parseurl": "^1.3.3", "statuses": "^2.0.1" } }, "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA=="],
292
293 "formdata-polyfill": ["[email protected]", "", { "dependencies": { "fetch-blob": "^3.1.2" } }, "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g=="],
294
295 "forwarded": ["[email protected]", "", {}, "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow=="],
296
297 "fresh": ["[email protected]", "", {}, "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A=="],
298
299 "function-bind": ["[email protected]", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="],
300
301 "gaxios": ["[email protected]", "", { "dependencies": { "extend": "^3.0.2", "https-proxy-agent": "^7.0.1", "node-fetch": "^3.3.2" } }, "sha512-kB3rzJV7d9juLZh8/56QTXCwQfxyhdOMdyYk1HdQKFtF8TJTDTZQJtixWIwXdE9Jji91mC41DUNpjleo4L4eAQ=="],
302
303 "gcp-metadata": ["[email protected]", "", { "dependencies": { "gaxios": "^7.0.0", "google-logging-utils": "^1.0.0", "json-bigint": "^1.0.0" } }, "sha512-zV/5HKTfCeKWnxG0Dmrw51hEWFGfcF2xiXqcA3+J90WDuP0SvoiSO5ORvcBsifmx/FoIjgQN3oNOGaQ5PhLFkg=="],
304
305 "get-east-asian-width": ["[email protected]", "", {}, "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA=="],
306
307 "get-intrinsic": ["[email protected]", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", "math-intrinsics": "^1.1.0" } }, "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ=="],
308
309 "get-proto": ["[email protected]", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="],
310
311 "get-stream": ["[email protected]", "", {}, "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg=="],
312
313 "google-auth-library": ["[email protected]", "", { "dependencies": { "base64-js": "^1.3.0", "ecdsa-sig-formatter": "^1.0.11", "gaxios": "^7.1.4", "gcp-metadata": "8.1.2", "google-logging-utils": "1.1.3", "jws": "^4.0.0" } }, "sha512-i1ydyHrqcIxXkWh/uBmVkzCvIuq5yiK2ATndIe5XxKholrG/MTYP9xGYka4sQhrbIAgGjL2B6NOE7rFaiF3fXw=="],
314
315 "google-logging-utils": ["[email protected]", "", {}, "sha512-eAmLkjDjAFCVXg7A1unxHsLf961m6y17QFqXqAXGj/gVkKFrEICfStRfwUlGNfeCEjNRa32JEWOUTlYXPyyKvA=="],
316
317 "gopd": ["[email protected]", "", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="],
318
319 "graceful-fs": ["[email protected]", "", {}, "sha512-iuyGF2E4oafQfPsRrG2wtY2ILupMhvtdrhzrxB+0VcjsPpSPttpfYdjnGFGsTi5MaJFjI1jOKHPQ6UTbTj9TAw=="],
320
321 "grok-mermaid": ["[email protected]", "", {}, "sha512-/4KopAbsjvuRP9MdPtlDjOHUmUVEohOX73JNcsWpzAtFxh+bq5+Dhb6gzvRieLDwIPQIR3/vy8V1NNTuz4Zsmg=="],
322
323 "has-symbols": ["[email protected]", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="],
324
325 "hasown": ["[email protected]", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A=="],
326
327 "highlight.js": ["[email protected]", "", {}, "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A=="],
328
329 "hono": ["[email protected]", "", {}, "sha512-KmXvQAXwcAHV+muzbIwoJ23niEB5nMoDVr9WcRkU8mvjUECm/1+7v4Jgp7P7a+H6MLFrh+vXrGonGrGS+RQfkA=="],
330
331 "hosted-git-info": ["[email protected]", "", { "dependencies": { "lru-cache": "^11.1.0" } }, "sha512-Hc+ghLoSt6QaYZUv0WBiIvmMDZuZZ7oaDvdH8MbfOO4lOsxdXLEvuC6ePoGs9H1X9oCLyq6+NVN0MKqD+ydxyg=="],
332
333 "http-errors": ["[email protected]", "", { "dependencies": { "depd": "~2.0.0", "inherits": "~2.0.4", "setprototypeof": "~1.2.0", "statuses": "~2.0.2", "toidentifier": "~1.0.1" } }, "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ=="],
334
335 "http-proxy-agent": ["[email protected]", "", { "dependencies": { "agent-base": "9.0.0", "debug": "^4.3.4", "proxy-agent-negotiate": "1.1.0" } }, "sha512-2NxoveTT58mjYT4n3RPTEfCZGLMbidoO8XEieXfpSYxu+PQJ1qpx4ypwH6N+uF9twBPIvRRgvkvW5HUTYWENig=="],
336
337 "https-proxy-agent": ["[email protected]", "", { "dependencies": { "agent-base": "9.0.0", "debug": "^4.3.4", "proxy-agent-negotiate": "1.1.0" } }, "sha512-ag87y7cJJ9/3+GxFr8Oy4O5faDsGRGnBGsJj/YjOSsSx/5eadKLYTMPlzuR6obgoCDDm0abAAZitXXQkMOPSpA=="],
338
339 "human-signals": ["[email protected]", "", {}, "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw=="],
340
341 "iconv-lite": ["[email protected]", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ=="],
342
343 "ignore": ["[email protected]", "", {}, "sha512-YYNsSlXBjMk92SKnkwvB5LOVSa6OznlFUGcsvrFgNJbJCd0M1XKeFVRc8ZByeCqz32FivYNHJVooLmdqrmvp/Q=="],
344
345 "indent-string": ["[email protected]", "", {}, "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg=="],
346
347 "inherits": ["[email protected]", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="],
348
349 "ink": ["[email protected]", "", { "dependencies": { "@alcalzone/ansi-tokenize": "^0.3.0", "ansi-escapes": "^7.3.0", "ansi-styles": "^6.2.3", "auto-bind": "^5.0.1", "chalk": "^5.6.2", "cli-boxes": "^4.0.1", "cli-cursor": "^4.0.0", "cli-truncate": "^6.0.0", "code-excerpt": "^4.0.0", "es-toolkit": "^1.45.1", "indent-string": "^5.0.0", "is-in-ci": "^2.0.0", "patch-console": "^2.0.0", "react-reconciler": "^0.33.0", "scheduler": "^0.27.0", "signal-exit": "^3.0.7", "slice-ansi": "^9.0.0", "stack-utils": "^2.0.6", "string-width": "^8.2.0", "terminal-size": "^4.0.1", "type-fest": "^5.5.0", "widest-line": "^6.0.0", "wrap-ansi": "^10.0.0", "ws": "^8.20.0", "yoga-layout": "~3.2.1" }, "peerDependencies": { "@types/react": ">=19.2.0", "react": ">=19.2.0", "react-devtools-core": ">=6.1.2" }, "optionalPeers": ["@types/react", "react-devtools-core"] }, "sha512-Y43xxa1ZSPvpmfLHcN5o+OdP8Rf8ykkNJEuKYOUNZKT8wXVNLFTtEm1nSDMQkfBH+YANF4Xuu0hhZ4ejqAtN2w=="],
350
351 "ip-address": ["[email protected]", "", {}, "sha512-00LYkM6byILa9eQIx6qoaXCM40xTLd56AZ4vyaPW3YTyb49VZYPo5xsiAq4tuQ54GH4R7gVdYScJ1B7B77PuTg=="],
352
353 "ipaddr.js": ["[email protected]", "", {}, "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="],
354
355 "is-fullwidth-code-point": ["[email protected]", "", { "dependencies": { "get-east-asian-width": "^1.3.1" } }, "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ=="],
356
357 "is-in-ci": ["[email protected]", "", { "bin": { "is-in-ci": "cli.js" } }, "sha512-cFeerHriAnhrQSbpAxL37W1wcJKUUX07HyLWZCW1URJT/ra3GyUTzBgUnh24TMVfNTV2Hij2HLxkPHFZfOZy5w=="],
358
359 "is-promise": ["[email protected]", "", {}, "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ=="],
360
361 "is-stream": ["[email protected]", "", {}, "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg=="],
362
363 "isexe": ["[email protected]", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="],
364
365 "jiti": ["[email protected]", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ=="],
366
367 "jose": ["[email protected]", "", {}, "sha512-s+3Al/p9g32Iq+oqXxkW//7jk2Vig6FF1CFqzVXoTUXt2qz89YWbL+OwS17NFYEvxC35n0FKeGO2LGYSxeM2Gg=="],
368
369 "json-bigint": ["[email protected]", "", { "dependencies": { "bignumber.js": "^9.0.0" } }, "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ=="],
370
371 "json-schema-to-ts": ["[email protected]", "", { "dependencies": { "@babel/runtime": "^7.18.3", "ts-algebra": "^2.0.0" } }, "sha512-+DWg8jCJG2TEnpy7kOm/7/AxaYoaRbjVB4LFZLySZlWn8exGs3A4OLJR966cVvU26N7X9TWxl+Jsw7dzAqKT6g=="],
372
373 "json-schema-traverse": ["[email protected]", "", {}, "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="],
374
375 "json-schema-typed": ["[email protected]", "", {}, "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA=="],
376
377 "jsonlines": ["[email protected]", "", {}, "sha512-ekDrAGso79Cvf+dtm+mL8OBI2bmAOt3gssYs833De/C9NmIpWDWyUO4zPgB5x2/OhY366dkhgfPMYfwZF7yOZA=="],
378
379 "jwa": ["[email protected]", "", { "dependencies": { "buffer-equal-constant-time": "^1.0.1", "ecdsa-sig-formatter": "1.0.11", "safe-buffer": "^5.0.1" } }, "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg=="],
380
381 "jws": ["[email protected]", "", { "dependencies": { "jwa": "^2.0.1", "safe-buffer": "^5.0.1" } }, "sha512-EKI/M/yqPncGUUh44xz0PxSidXFr/+r0pA70+gIYhjv+et7yxM+s29Y+VGDkovRofQem0fs7Uvf4+YmAdyRduA=="],
382
383 "long": ["[email protected]", "", {}, "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA=="],
384
385 "lru-cache": ["[email protected]", "", {}, "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg=="],
386
387 "marked": ["[email protected]", "", { "bin": { "marked": "bin/marked.js" } }, "sha512-HnslJfsZkRPBDJRHvVtAaWlZHEpSu7u8LgQuJCELjRKuWR+hpq4A7sLq3p8HaI9ypVoXDXxV34CsQJEe1+J5Aw=="],
388
389 "marked-cjk-friendly": ["[email protected]", "", { "peerDependencies": { "marked": ">=15.0.0" } }, "sha512-GUj8HjiEbur9yhgUo52FBgKizggF1QtT6gVdrYdWW6ZB4lVVjgS3EyyXPyfyRD0V4ghGRPlO7MO80rgSWbm0eA=="],
390
391 "math-intrinsics": ["[email protected]", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="],
392
393 "media-typer": ["[email protected]", "", {}, "sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ=="],
394
395 "merge-descriptors": ["[email protected]", "", {}, "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g=="],
396
397 "merge-stream": ["[email protected]", "", {}, "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="],
398
399 "mime-db": ["[email protected]", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],
400
401 "mime-types": ["[email protected]", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="],
402
403 "mimic-fn": ["[email protected]", "", {}, "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg=="],
404
405 "minimatch": ["[email protected]", "", { "dependencies": { "brace-expansion": "^5.0.8" } }, "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A=="],
406
407 "minipass": ["[email protected]", "", {}, "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A=="],
408
409 "minizlib": ["[email protected]", "", { "dependencies": { "minipass": "^7.1.2" } }, "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw=="],
410
411 "ms": ["[email protected]", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
412
413 "negotiator": ["[email protected]", "", { "dependencies": { "content-type": "^2.1.0" } }, "sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg=="],
414
415 "node-domexception": ["[email protected]", "", {}, "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ=="],
416
417 "node-fetch": ["[email protected]", "", { "dependencies": { "data-uri-to-buffer": "^4.0.0", "fetch-blob": "^3.1.4", "formdata-polyfill": "^4.0.10" } }, "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA=="],
418
419 "npm-run-path": ["[email protected]", "", { "dependencies": { "path-key": "^3.0.0" } }, "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw=="],
420
421 "object-assign": ["[email protected]", "", {}, "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="],
422
423 "object-inspect": ["[email protected]", "", {}, "sha512-IVgHNlp/jwQX271+Xzoq9LZNTWXxZK+cEOrGBOBxXNbn7fapnZ+Ts6TVMgNOuAezwG2wdtnMX97tTPK6VEnuOQ=="],
424
425 "on-finished": ["[email protected]", "", { "dependencies": { "ee-first": "1.1.1" } }, "sha512-ATWUv387i+nLD49EiDoOft5scf32Vsdz3ktrQJG9bi7jRFmaXTssvyvj1EmeKVVgvesbqUtvQQvaS2TpTukAZQ=="],
426
427 "once": ["[email protected]", "", { "dependencies": { "wrappy": "1" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="],
428
429 "onetime": ["[email protected]", "", { "dependencies": { "mimic-fn": "^2.1.0" } }, "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg=="],
430
431 "openai": ["[email protected]", "", { "peerDependencies": { "@aws-sdk/credential-provider-node": ">=3.972.0 <4", "@smithy/hash-node": ">=4.3.0 <5", "@smithy/signature-v4": ">=5.4.0 <6", "undici": ">=5 <9", "ws": "^8.21.0", "zod": "^3.25 || ^4.0" }, "optionalPeers": ["@aws-sdk/credential-provider-node", "@smithy/hash-node", "@smithy/signature-v4", "undici", "ws", "zod"] }, "sha512-MX2s3u2L5racTO0CC/SWpCOasJQBCJrqLKXK+l82cAhdeF8mPMBEe/gxMm0ZFa2xpKpOFLRjxv5afYEZbBXmbQ=="],
432
433 "os-paths": ["[email protected]", "", {}, "sha512-wrAwOeXp1RRMFfQY8Sy7VaGVmPocaLwSFOYCGKSyo8qmJ+/yaafCl5BCA1IQZWqFSRBrKDYFeR9d/VyQzfH/jg=="],
434
435 "p-retry": ["[email protected]", "", { "dependencies": { "@types/retry": "0.12.0", "retry": "^0.13.1" } }, "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ=="],
436
437 "parseurl": ["[email protected]", "", {}, "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="],
438
439 "partial-json": ["[email protected]", "", {}, "sha512-Njv/59hHaokb/hRUjce3Hdv12wd60MtM9Z5Olmn+nehe0QDAsRtRbJPvJ0Z91TusF0SuZRIvnM+S4l6EIP8leA=="],
440
441 "patch-console": ["[email protected]", "", {}, "sha512-0YNdUceMdaQwoKce1gatDScmMo5pu/tfABfnzEqeG0gtTmd7mh/WcwgUjtAeOU7N8nFFlbQBnFK2gXW5fGvmMA=="],
442
443 "path-key": ["[email protected]", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="],
444
445 "path-to-regexp": ["[email protected]", "", {}, "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA=="],
446
447 "picocolors": ["[email protected]", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],
448
449 "pkce-challenge": ["[email protected]", "", {}, "sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ=="],
450
451 "proper-lockfile": ["[email protected]", "", { "dependencies": { "graceful-fs": "^4.2.4", "retry": "^0.12.0", "signal-exit": "^3.0.2" } }, "sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA=="],
452
453 "protobufjs": ["[email protected]", "", { "dependencies": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", "@protobufjs/codegen": "^2.0.5", "@protobufjs/eventemitter": "^1.1.1", "@protobufjs/fetch": "^1.1.1", "@protobufjs/float": "^1.0.2", "@protobufjs/path": "^1.1.2", "@protobufjs/pool": "^1.1.0", "@protobufjs/utf8": "^1.1.1", "@types/node": ">=13.7.0", "long": "^5.3.2" }, "hasInstallScript": true }, "sha512-dYDWdjSl5RNb7SgPxGQcRU+GtvP7s2fpkrY0r432PcOIaZ0/rBcxEZnQN67iJhFuQiVw754JDoPruPCNdGsbjg=="],
454
455 "proxy-addr": ["[email protected]", "", { "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, "sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ=="],
456
457 "proxy-agent-negotiate": ["[email protected]", "", { "peerDependencies": { "kerberos": "^2.0.0" }, "optionalPeers": ["kerberos"] }, "sha512-N8IBcM3UgCVzz2L2Lqv8DVntDnnC8/hiV4nEDUPkqq72TPUgYWjQc+bdZlBPZK9LzPAvOY//gAt0S0DApoOXWQ=="],
458
459 "qs": ["[email protected]", "", { "dependencies": { "es-define-property": "^1.0.1", "side-channel": "^1.1.1" } }, "sha512-jd3COkaKVgGUW+ZHyEHCG9bH7RoaaiWuMgzsIBjUMVjLAaWGWpoUAVwljVvBHxRu/2qEHnadLGZrkutYUBPQJA=="],
460
461 "quickjs-wasi": ["[email protected]", "", {}, "sha512-FCqGtGOrMgzUiIrMNMA2YnsOxCNwo31dzqXvclXUC6xeT35NJLKXQJsvbeCTjvoFAwZgEAPg8U6+KAPDGXn8Mg=="],
462
463 "range-parser": ["[email protected]", "", {}, "sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw=="],
464
465 "raw-body": ["[email protected]", "", { "dependencies": { "bytes": "~3.1.2", "http-errors": "~2.0.1", "iconv-lite": "~0.7.0", "unpipe": "~1.0.0" } }, "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA=="],
466
467 "react": ["[email protected]", "", {}, "sha512-QNhWdt7nrgVWWQG58QuGsAR3jv3Hbe4mb4vz7w2csnHavciZJgda1CPNaldF6eVxv90ud3jUXpKlHL69gO38yw=="],
468
469 "react-reconciler": ["[email protected]", "", { "dependencies": { "scheduler": "^0.27.0" }, "peerDependencies": { "react": "^19.2.0" } }, "sha512-KetWRytFv1epdpJc3J4G75I4WrplZE5jOL7Yq0p34+OVOKF4Se7WrdIdVC45XsSSmUTlht2FM/fM1FZb1mfQeA=="],
470
471 "require-from-string": ["[email protected]", "", {}, "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw=="],
472
473 "restore-cursor": ["[email protected]", "", { "dependencies": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" } }, "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg=="],
474
475 "retry": ["[email protected]", "", {}, "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow=="],
476
477 "router": ["[email protected]", "", { "dependencies": { "debug": "^4.4.0", "depd": "^2.0.0", "is-promise": "^4.0.0", "parseurl": "^1.3.3", "path-to-regexp": "^8.0.0" } }, "sha512-bpowRfGjEPe8t9R6fJIzhwmyCGAXwKvxBUsgJm+bJukwdcWmUXbMo7p22w7aYmQBPQTUMNqMV39YX0kMou3z8w=="],
478
479 "safe-buffer": ["[email protected]", "", {}, "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="],
480
481 "safer-buffer": ["[email protected]", "", {}, "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="],
482
483 "scheduler": ["[email protected]", "", {}, "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q=="],
484
485 "semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA=="],
486
487 "send": ["[email protected]", "", { "dependencies": { "debug": "^4.4.3", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "fresh": "^2.0.0", "http-errors": "^2.0.1", "mime-types": "^3.0.2", "ms": "^2.1.3", "on-finished": "^2.4.1", "range-parser": "^1.2.1", "statuses": "^2.0.2" } }, "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ=="],
488
489 "serve-static": ["[email protected]", "", { "dependencies": { "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "parseurl": "^1.3.3", "send": "^1.2.0" } }, "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw=="],
490
491 "setprototypeof": ["[email protected]", "", {}, "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="],
492
493 "shebang-command": ["[email protected]", "", { "dependencies": { "shebang-regex": "^3.0.0" } }, "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA=="],
494
495 "shebang-regex": ["[email protected]", "", {}, "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="],
496
497 "side-channel": ["[email protected]", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.4", "side-channel-list": "^1.0.1", "side-channel-map": "^1.0.1", "side-channel-weakmap": "^1.0.2" } }, "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ=="],
498
499 "side-channel-list": ["[email protected]", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.4" } }, "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w=="],
500
501 "side-channel-map": ["[email protected]", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3" } }, "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA=="],
502
503 "side-channel-weakmap": ["[email protected]", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3", "side-channel-map": "^1.0.1" } }, "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A=="],
504
505 "signal-exit": ["[email protected]", "", {}, "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="],
506
507 "slice-ansi": ["[email protected]", "", { "dependencies": { "ansi-styles": "^6.2.3", "is-fullwidth-code-point": "^5.1.0" } }, "sha512-aBY19bn/XA+hKOKX0qL7Z0UfdBsbQvc9hn993U8ALUjzxCvDcuZqLoRXjGJrUARWAlwMnsRVD9sw2AFNOYvalA=="],
508
509 "stack-utils": ["[email protected]", "", { "dependencies": { "escape-string-regexp": "^2.0.0" } }, "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ=="],
510
511 "standardwebhooks": ["[email protected]", "", { "dependencies": { "@stablelib/base64": "^1.0.0", "fast-sha256": "^1.3.0" } }, "sha512-5W9skHjqAm2dlA9wWvglTP+oX47JX4lFXVk1aJV7+TG1snvTR4QXaVgPscEzvOw9GRreeavMwbqEeL+MGhZHCg=="],
512
513 "statuses": ["[email protected]", "", {}, "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw=="],
514
515 "streamx": ["[email protected]", "", { "dependencies": { "events-universal": "^1.0.0", "fast-fifo": "^1.3.2", "text-decoder": "^1.1.0" } }, "sha512-zEzXb0s5Cds7tqMH6rhZ05lcJydCWiQPEwiNngVqzsxCc962vLY4Uw+mW7od8kDH258k2Uz/JrOkdIAAhSh9VA=="],
516
517 "string-width": ["[email protected]", "", { "dependencies": { "get-east-asian-width": "^1.5.0", "strip-ansi": "^7.1.2" } }, "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ=="],
518
519 "strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^6.2.2" } }, "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w=="],
520
521 "strip-final-newline": ["[email protected]", "", {}, "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA=="],
522
523 "tagged-tag": ["[email protected]", "", {}, "sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng=="],
524
525 "tar": ["[email protected]", "", { "dependencies": { "@isaacs/fs-minipass": "^4.0.0", "chownr": "^3.0.0", "minipass": "^7.1.2", "minizlib": "^3.1.0", "yallist": "^5.0.0" } }, "sha512-lkukzdoGngZHJZXxW4S/E4Fp9ghTDlyZXrQGRNoJ/LXvDKcXUTq2sg5yQe74po7Voea6n/IN09+wE/QvJMiifA=="],
526
527 "tar-stream": ["[email protected]", "", { "dependencies": { "b4a": "^1.6.4", "fast-fifo": "^1.2.0", "streamx": "^2.15.0" } }, "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ=="],
528
529 "terminal-size": ["[email protected]", "", {}, "sha512-avMLDQpUI9I5XFrklECw1ZEUPJhqzcwSWsyyI8blhRLT+8N1jLJWLWWYQpB2q2xthq8xDvjZPISVh53T/+CLYQ=="],
530
531 "text-decoder": ["[email protected]", "", { "dependencies": { "b4a": "^1.6.4" } }, "sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ=="],
532
533 "toidentifier": ["[email protected]", "", {}, "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA=="],
534
535 "ts-algebra": ["[email protected]", "", {}, "sha512-FPAhNPFMrkwz76P7cdjdmiShwMynZYN6SgOujD1urY4oNm80Ou9oMdmbR45LotcKOXoy7wSmHkRFE6Mxbrhefw=="],
536
537 "tslib": ["[email protected]", "", {}, "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA=="],
538
539 "type-fest": ["[email protected]", "", { "dependencies": { "tagged-tag": "^1.0.0" } }, "sha512-NoSdpq/WEiAg5sjmBkmV/hfxv6HJH4NqPNrqjtSO5CwRmpsDfaf4begxW34KdJykH/l1yHtwBWQkCRdoXO8mPA=="],
540
541 "type-is": ["[email protected]", "", { "dependencies": { "content-type": "^2.0.0", "media-typer": "^1.1.0", "mime-types": "^3.0.0" } }, "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA=="],
542
543 "typebox": ["[email protected]", "", {}, "sha512-zu+jc1pcy4UiNThxikUr36f0Rybk9PEeCg/NE6adeWr/SKsdNO4EzZHYRDlv2YCVAfj3Odq3dESSo/jNyoBXzA=="],
544
545 "undici": ["[email protected]", "", {}, "sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw=="],
546
547 "undici-types": ["[email protected]", "", {}, "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg=="],
548
549 "unpipe": ["[email protected]", "", {}, "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ=="],
550
551 "vary": ["[email protected]", "", {}, "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg=="],
552
553 "web-streams-polyfill": ["[email protected]", "", {}, "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw=="],
554
555 "which": ["[email protected]", "", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "./bin/node-which" } }, "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA=="],
556
557 "widest-line": ["[email protected]", "", { "dependencies": { "string-width": "^8.1.0" } }, "sha512-U89AsyEeAsyoF0zVJBkG9zBgekjgjK7yk9sje3F4IQpXBJ10TF6ByLlIfjMhcmHMJgHZI4KHt4rdNfktzxIAMA=="],
558
559 "wrap-ansi": ["[email protected]", "", { "dependencies": { "ansi-styles": "^6.2.3", "string-width": "^8.2.0" } }, "sha512-6OLRNZqRntVGBm26ghZ5eZhCuWWyOkRCSn8XsOIuq5stpCE/tjLbdozd93naILZig0lmD8ANfRwnhn0DLeXGlg=="],
560
561 "wrappy": ["[email protected]", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="],
562
563 "ws": ["[email protected]", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-wCkmX8QMOrKjgO8HW2WyDbTSGeqkocxgDzS9iR79rEAexty6/2qzilx3Ag8Tqf9ykop3irLKle0MtVn5qjVnoQ=="],
564
565 "xdg-app-paths": ["[email protected]", "", { "dependencies": { "xdg-portable": "^7.0.0" } }, "sha512-RAQ3WkPf4KTU1A8RtFx3gWywzVKe00tfOPFfl2NDGqbIFENQO4kqAJp7mhQjNj/33W5x5hiWWUdyfPq/5SU3QA=="],
566
567 "xdg-portable": ["[email protected]", "", { "dependencies": { "os-paths": "^4.0.1" } }, "sha512-sqMMuL1rc0FmMBOzCpd0yuy9trqF2yTTVe+E9ogwCSWQCdDEtQUwrZPT6AxqtsFGRNxycgncbP/xmOOSPw5ZUw=="],
568
569 "yallist": ["[email protected]", "", {}, "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw=="],
570
571 "yaml": ["[email protected]", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA=="],
572
573 "yoga-layout": ["[email protected]", "", {}, "sha512-0LPOt3AxKqMdFBZA3HBAt/t/8vIKq7VaQYbuA8WxCgung+p9TVyKRYdpvCb80HcdTN2NkbIKbhNwKUfm3tQywQ=="],
574
575 "zod": ["[email protected]", "", {}, "sha512-WPsqwxITS2tzx1bzhIKsEs19ABD5vmCVa4xBo2tq/SrV4RNZtfws1EnCWQXM6yh8bD08a1idvkB5MZSBiZsjwg=="],
576
577 "zod-to-json-schema": ["[email protected]", "", { "peerDependencies": { "zod": "^3.25.28 || ^4" } }, "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA=="],
578
579 "@aws-sdk/client-bedrock-runtime/@smithy/node-http-handler": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.39.0", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-i1uORV1v3qBqP43ayRKzIdm1q5x14tf8N4Dd06/QUX1Szm6VxHMrTsu20X5E63UFsaNZCRjI4SXG0jDmqYa+3w=="],
580
581 "@aws-sdk/credential-provider-http/@smithy/node-http-handler": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.39.0", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-i1uORV1v3qBqP43ayRKzIdm1q5x14tf8N4Dd06/QUX1Szm6VxHMrTsu20X5E63UFsaNZCRjI4SXG0jDmqYa+3w=="],
582
583 "@aws-sdk/credential-provider-sso/@aws-sdk/token-providers": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.981.1", "@aws-sdk/nested-clients": "^3.998.4", "@aws-sdk/types": "^3.975.1", "@smithy/core": "^3.40.0", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-irdg9wmKjTDumWoZeXIM3ecgfriHEEm0Q05bjiHwGNRCXXexz+5roMS28IzKWELI5QX/XZjL1vvvaIyptlCfAQ=="],
584
585 "@aws-sdk/nested-clients/@smithy/node-http-handler": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.39.0", "@smithy/types": "^4.20.0", "tslib": "^2.6.2" } }, "sha512-i1uORV1v3qBqP43ayRKzIdm1q5x14tf8N4Dd06/QUX1Szm6VxHMrTsu20X5E63UFsaNZCRjI4SXG0jDmqYa+3w=="],
586
587 "@earendil-works/pi-coding-agent/minimatch": ["[email protected]", "", { "dependencies": { "@isaacs/nonrecursive-glob-match": "^1.0.3", "brace-expansion": "^5.0.12" } }, "sha512-iny/40PEGkNJQ5/Pv6z3nm6FbRAby32GeZRjCUJk2WnNDbgPSTcdI+DDvLqsgBdD4cD5sMtMheqPPnehCCa8Nw=="],
588
589 "@modelcontextprotocol/sdk/jose": ["[email protected]", "", {}, "sha512-doV4thUwgkrycJH4yLeqwTGIIZphHl+pk7CPReuMIhYhncmgzdko85MaCG4YQFTxqMFr1/oEH32tZuKKovcDEg=="],
590
591 "@vercel/sandbox/@vercel/oidc": ["@vercel/[email protected]", "", {}, "sha512-UycprH3T6n3jH0k44NHMa7pnFHGu/N05MjojYr+Mc6I7obkoLIJujSWwin1pCvdy/eOxrI/l3uDLQsmcrOb4ug=="],
592
593 "@vercel/sandbox/undici": ["[email protected]", "", {}, "sha512-mLyPQnHwUxaM/rideoK/+KL8DaAJLRl4aBCfmX444aCSLnIaomqPLtNRe2jdCYcsk5wZzXrDIQC8ZeYNRAYyIA=="],
594
595 "@vercel/sandbox/zod": ["[email protected]", "", {}, "sha512-OdqJE9UDRPwWsrHjLN2F8bPxvwJBK22EHLWtanu0LSYr5YqzsaaW3RMgmjwr8Rypg5k+meEJdSPXJZXE/yqOMg=="],
596
597 "async-retry/retry": ["[email protected]", "", {}, "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg=="],
598
599 "body-parser/content-type": ["[email protected]", "", {}, "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag=="],
600
601 "cli-truncate/slice-ansi": ["[email protected]", "", { "dependencies": { "ansi-styles": "^7.0.0", "string-width": "^8.3.0" } }, "sha512-CJKEH3zwVX4bOnE+bFbmh+JK/YMT9VAazqBsVBTesnYKXlNtz6oVmrhNp1jHrxHzscuUkWiKZpzNzFraZcrorg=="],
602
603 "express/content-type": ["[email protected]", "", {}, "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag=="],
604
605 "gaxios/https-proxy-agent": ["[email protected]", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "4" } }, "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw=="],
606
607 "ink/chalk": ["[email protected]", "", {}, "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA=="],
608
609 "negotiator/content-type": ["[email protected]", "", {}, "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag=="],
610
611 "p-retry/retry": ["[email protected]", "", {}, "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg=="],
612
613 "type-is/content-type": ["[email protected]", "", {}, "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag=="],
614
615 "cli-truncate/slice-ansi/ansi-styles": ["[email protected]", "", {}, "sha512-kKvt3m4uwzqL0wlkPd09CmljPJGOZZ4D0fP65sqFSvPkMRKhNi+74MgIJ5QxE6SxqB4t4KyUFGg8+n5zjo6hew=="],
616
617 "gaxios/https-proxy-agent/agent-base": ["[email protected]", "", {}, "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ=="],
618 }
619 }
tools/deepsec/package.json added +7
@@ -0,0 +1,7 @@
1 {
2 "name": "forge-deepsec",
3 "private": true,
4 "dependencies": {
5 "deepsec": "2.3.16"
6 }
7 }

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs