diff --git a/AGENTS.md b/AGENTS.md index b7ef1f4da6..a4654ddd30 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -43,7 +43,7 @@ At the start of each task, before relying on Git names such as `origin/main`, ru The unified fleet schedule registry is `doc/fleet-schedule-registry.md` (#4988). Creating, changing, or retiring a schedule on any surface — Muse cron, OpenCode/OpenChamber scheduled tasks or laptop systemd -timers, or Jules — updates that registry in the same pass (same PR / +timers — updates that registry in the same pass (same PR / same run). A schedule that exists on a surface but not in the registry is a defect. diff --git a/lib/bws-to-sops.sh b/lib/bws-to-sops.sh index f509ec4d25..63a1d50836 100755 --- a/lib/bws-to-sops.sh +++ b/lib/bws-to-sops.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # bws-to-sops -- mirror EVERY Bitwarden Secrets Manager secret into one # sops/age-encrypted YAML file, keyed by the bws secret key (e.g. -# `google.jules-api-key`, `cloudflare.api-token-ai-inference`). +# `muse.sdk-token`, `cloudflare.api-token-ai-inference`). # # lib/bws-to-sops.sh sync all secrets -> secrets/sops/common/bws.yaml # lib/bws-to-sops.sh --dry-run list what would be written (key names only) @@ -17,7 +17,7 @@ # ~/.config/bws/access-token, then secrets/sops/common/bitwarden.yaml. # # Use a mirrored value from NixOS with sops-nix, e.g.: -# sops.secrets.foo = { sopsFile = lib.from-root "secrets/sops/common/bws.yaml"; key = "google.jules-api-key"; }; +# sops.secrets.foo = { sopsFile = lib.from-root "secrets/sops/common/bws.yaml"; key = "muse.sdk-token"; }; set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" diff --git a/nixos/agent-auth/default.nix b/nixos/agent-auth/default.nix index 541c8f971a..06285cf034 100644 --- a/nixos/agent-auth/default.nix +++ b/nixos/agent-auth/default.nix @@ -1,8 +1,8 @@ { lib, pkgs, ... }: # Hidden-shell auth: every shell for `user` -- including the non-interactive # `bash -c` shells agents, systemd user units, t3code, opencode and ssh spawn -- -# starts already logged in to Bitwarden Secrets Manager (bws), the 1Password -# CLI and Jules, with the Cloudflare AI-gateway vars set. +# starts already logged in to Bitwarden Secrets Manager (bws) and the +# 1Password CLI, with the Cloudflare AI-gateway vars set. # # How: # * BASH_ENV -> agent-shell-env hook. A non-interactive, non-login bash reads @@ -14,7 +14,6 @@ # /run/secrets/agent-auth/ (owner `user`, 0400). The hook reads them # at shell start; only the PATHS are in the Nix store. # bws-access-token -> BWS_ACCESS_TOKEN (bws login; no state needed) -# jules-api-key -> JULES_API_KEY # cloudflare-* -> CLOUDFLARE_{ACCOUNT_ID,GATEWAY_ID,API_TOKEN} # op-service-account-token -> OP_SERVICE_ACCOUNT_TOKEN (not declared yet: # no token in sops; hook falls back to @@ -24,10 +23,6 @@ # * 1Password: service accounts cannot see Private/Personal vaults; # `op-personal` drops the token and goes through the desktop app # integration enabled below. -# * Jules: the CLI only supports browser OAuth (`jules login`), stored in -# gnome-keyring via go-keyring. gnome-keyring is unlocked by PAM at login -# (GNOME module), and the hook guarantees DBUS_SESSION_BUS_ADDRESS so the -# token is reachable from any shell. One-time: `agent-auth login`. # # Check from any shell: `agent-auth status`. let @@ -42,7 +37,6 @@ in { sops.secrets = { "agent-auth/bws-access-token" = userSecret "secrets/sops/common/bitwarden.yaml" "bws_access_token"; - "agent-auth/jules-api-key" = userSecret "secrets/sops/common/bws.yaml" "google.jules-api-key"; "agent-auth/cloudflare-account-id" = userSecret "secrets/sops/common/cloudflare.yaml" "cloudflare_account_id"; "agent-auth/cloudflare-gateway-id" = diff --git a/nixos/desktop/default.nix b/nixos/desktop/default.nix index 3ee1ef84be..30d1f4c196 100644 --- a/nixos/desktop/default.nix +++ b/nixos/desktop/default.nix @@ -9,7 +9,7 @@ with lib; [ (from-root "nixos/all") - (from-root "nixos/agent-auth") # Jules + 1Password auth in every (hidden) shell + (from-root "nixos/agent-auth") # agent auth (bws, 1Password) in every (hidden) shell (from-root "nixos/environment") #(from-root "nixos/fonts") (from-root "nixos/virtualisation") diff --git a/nixos/environment/default.nix b/nixos/environment/default.nix index 2841b06ac2..f7dde77f06 100644 --- a/nixos/environment/default.nix +++ b/nixos/environment/default.nix @@ -226,11 +226,6 @@ let # online lives in home/common. desktop-commander = pkgs.callPackage (lib.from-root "pkgs/desktop-commander") { }; - # Jules Tools, the CLI for Google's async coding agent. Not in nixpkgs; the - # npm package is a stub that downloads a dynamically linked Go binary, which - # will not exec on NixOS without autoPatchelfHook. See the derivation header. - jules = pkgs.callPackage (lib.from-root "pkgs/jules") { }; - # Antigravity ACP server and Hub. Both vendored from nixpkgs master rather # than taken from a channel: neither exists in ANY nixpkgs revision this flake # pins (stable, unstable or master-as-pinned), and bumping an input to reach @@ -246,10 +241,6 @@ let # Cursor, Gemini CLI and others. 18.6k stars, no declared licence upstream. cockpit-tools = pkgs.callPackage (lib.from-root "pkgs/cockpit-tools") { }; - # Google's experimental Jules orchestration pair. Fleet drives goal files -> - # analyzer sessions -> labelled issues -> worker sessions; Merge reconciles - # the overlapping PRs that result. Google's own words on Fleet: "very - # experimental, just for fun". # Grok CLI (superagent-ai/grok-cli, published to npm as `grok-dev`). # Provides `grok`, which t3code's `grok` driver shells out to. grok-cli = pkgs.callPackage (lib.from-root "pkgs/grok-cli") { }; @@ -260,8 +251,6 @@ let # Claude Code 2.1.293 (nixpkgs has 2.1.234 in both channel and unstable). claude-code = pkgs.callPackage (lib.from-root "pkgs/claude-code") { }; - jules-fleet = pkgs.callPackage (lib.from-root "pkgs/jules-fleet") { }; - jules-merge = pkgs.callPackage (lib.from-root "pkgs/jules-merge") { }; antigravity-hub = pkgs.callPackage (lib.from-root "pkgs/antigravity-hub") { }; # Upstream prebuilt release binaries for tools where nixpkgs trails upstream. @@ -406,14 +395,11 @@ in command-code desktop-commander mcpx - jules antigravity-acp antigravity-hub claude-code cockpit-tools grok-cli - jules-fleet - jules-merge latestCli.codex opencode-v2-compat openchamber @@ -731,8 +717,7 @@ in # Pro/Ultra users: Gemini CLI was replaced by Antigravity CLI"), which is # an eval *warning*, not a build failure -- 0.47.0 builds and runs fine. # Installed deliberately: upstream google-gemini/gemini-cli is very much - # alive, and the `gemini` binary is required by the official - # gemini-cli-extensions/jules extension. + # alive. gemini-cli ]) ++ (with inputs.nixpkgs-unstable.legacyPackages.${system}; [ diff --git a/nixos/services/pm-stack/default.nix b/nixos/services/pm-stack/default.nix index 7bd42e162b..17638a77be 100644 --- a/nixos/services/pm-stack/default.nix +++ b/nixos/services/pm-stack/default.nix @@ -294,7 +294,6 @@ in "FLEET_FEED_OUT=${aggState}/fleet-feed.json" "QUOTA_VIEW_PATH=${home}/hatch-personal/workspace/goals/stewardship-commission-recurring-review-and-dispatch/hidden_files/visibility/quota-view.md" "QUOTA_REGISTRY_PATH=${home}/hatch-personal/workspace/goals/keep-the-four-repos-healthy/hidden_files/provider-quota-registry.md" - "JULES_STATE_PATH=${home}/hatch-personal/workspace/goals/keep-the-four-repos-healthy/hidden_files/jules-review-state.json" "ORCHESTRATION_PATH=${home}/hatch-personal/workspace/goals/keep-the-four-repos-healthy/hidden_files/orchestration.json" "DNS_REGISTER_PATH=${home}/hatch-personal/workspace/goals/stand-up-lab-cluster-talm-talos-cozystack-postgres-rustfs/files/dns-domain-register.md" "CHARGE_CANDIDATES_PATH=${home}/hatch-personal/workspace/goals/keep-the-four-repos-healthy/hidden_files/charges-candidates.json" diff --git a/pkgs/agent-backup/backup.sh b/pkgs/agent-backup/backup.sh index 9faa902a33..0ddc02f56c 100644 --- a/pkgs/agent-backup/backup.sh +++ b/pkgs/agent-backup/backup.sh @@ -48,7 +48,6 @@ done # Small, irreplaceable things only. Missing paths are skipped silently -- not # every agent is signed in on every machine. CANDIDATES=( - "$HOME/.config/jules/api-key" "$HOME/.local/share/opencode/auth.json" "$HOME/.config/opencode/auth.json" "$HOME/.config/opencode/opencode.jsonc" diff --git a/pkgs/jules-fleet/default.nix b/pkgs/jules-fleet/default.nix deleted file mode 100644 index 4022c9180c..0000000000 --- a/pkgs/jules-fleet/default.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ - lib, - buildNpmPackage, - fetchurl, - nodejs, -}: - -# @google/jules-fleet -- experimental multi-agent orchestration for Jules. -# https://github.com/google-labs-code/jules-sdk -# -# Google's own description is "very experimental, just for fun". It reads -# markdown goal files from .fleet/goals/, opens Jules analyzer sessions, files -# GitHub issues labelled `fleet`, spawns worker sessions and merges the -# resulting PRs sequentially. Driven either by a GitHub Actions cron or the CLI. -# -# Packaging notes: -# * Not self-contained -- `node dist/cli/index.mjs` fails without its 10 -# runtime deps, so buildNpmPackage rather than a bare unpack. -# * The npm tarball ships no package-lock.json; one is vendored here, -# generated from the published package.json with devDependencies/scripts -# stripped. The same strip is reapplied in postPatch so lock and manifest -# agree. -# * Needs JULES_API_KEY at runtime (see programs.bash.initExtra in -# home/common), and a GitHub token for the issue/PR side. -let - version = "0.0.1-experimental.35"; -in -buildNpmPackage { - pname = "jules-fleet"; - inherit version nodejs; - src = fetchurl { - url = "https://registry.npmjs.org/@google/jules-fleet/-/jules-fleet-${version}.tgz"; - hash = "sha256-Mm/CzakSUmygYz9C8LRbFvpqtSILQpvgRXFQN9rCttY="; - }; - postPatch = '' - cp ${./package-lock.json} package-lock.json - chmod +w package.json package-lock.json - ${lib.getExe nodejs} -e ' - const fs=require("fs");const p=JSON.parse(fs.readFileSync("package.json","utf8")); - delete p.devDependencies; delete p.scripts; delete p.workspaces; - fs.writeFileSync("package.json",JSON.stringify(p,null,2));' - ''; - npmDepsHash = "sha256-IsIQhQpylHn7VQU0EctV/sZBPob/F9F+qK1aWlbQnjM="; - npmFlags = [ - "--ignore-scripts" - "--no-audit" - "--no-fund" - ]; - dontNpmBuild = true; - meta = { - description = "Experimental multi-agent fleet orchestration for Jules"; - homepage = "https://github.com/google-labs-code/jules-sdk"; - license = lib.licenses.asl20; - mainProgram = "jules-fleet"; - platforms = lib.platforms.all; - }; -} diff --git a/pkgs/jules-fleet/package-lock.json b/pkgs/jules-fleet/package-lock.json deleted file mode 100644 index 8dea378cab..0000000000 --- a/pkgs/jules-fleet/package-lock.json +++ /dev/null @@ -1,1324 +0,0 @@ -{ - "name": "@google/jules-fleet", - "version": "0.0.1-experimental.35", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "@google/jules-fleet", - "version": "0.0.1-experimental.35", - "license": "Apache-2.0", - "dependencies": { - "@clack/prompts": "^1.0.1", - "@google/jules-merge": "^0.1.0", - "@google/jules-sdk": "^0.1.0", - "@octokit/auth-app": "^8.2.0", - "citty": "^0.1.6", - "glob": "^13.0.6", - "libsodium-wrappers": "^0.8.2", - "octokit": "^4.1.3", - "yaml": "^2.8.2", - "zod": "^3.25.0" - }, - "bin": { - "jules-fleet": "dist/cli/index.mjs" - }, - "engines": { - "node": ">=20.0.0" - } - }, - "node_modules/@clack/core": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@clack/core/-/core-1.5.1.tgz", - "integrity": "sha512-iHTrHA8MtVuLl2TfZySmcKv1qO2PoyC9Z7pfSDozEuV5vtY3/wcOPKJXlqJ5Oq2Cx5DDGQGAMVx6HZfRRoVEbQ==", - "license": "MIT", - "dependencies": { - "fast-wrap-ansi": "^0.2.0", - "sisteransi": "^1.0.5" - }, - "engines": { - "node": ">= 20.12.0" - } - }, - "node_modules/@clack/prompts": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/@clack/prompts/-/prompts-1.8.1.tgz", - "integrity": "sha512-dlT1m5e/0yUL0kRNcQn7yGLVThkgbB0Ga/1AmfDDC/8ik6AIiSf2QLQO2zPYvefsHP0aFgxO93cVLCCfDp7kzQ==", - "license": "MIT", - "dependencies": { - "@clack/core": "1.5.1", - "fast-string-width": "^3.0.2", - "fast-wrap-ansi": "^0.2.0", - "sisteransi": "^1.0.5" - }, - "engines": { - "node": ">= 20.12.0" - } - }, - "node_modules/@google/jules-merge": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@google/jules-merge/-/jules-merge-0.1.0.tgz", - "integrity": "sha512-2MeSrKSfZocnl2CDolabVEaWDSxddTFSpvWjXjdeJLdFwqxFeNqEzInrIvq/NPGnxbaFqCbIdYpT0ka28f74aw==", - "license": "Apache-2.0", - "dependencies": { - "@octokit/auth-app": "^8.2.0", - "@octokit/rest": "^21.0.0", - "citty": "^0.1.6", - "zod": "^3.25.0", - "zod-to-json-schema": "^3.24.0" - }, - "bin": { - "jules-merge": "dist/cli/index.mjs" - }, - "peerDependencies": { - "@modelcontextprotocol/sdk": "^1.25.1" - }, - "peerDependenciesMeta": { - "@modelcontextprotocol/sdk": { - "optional": true - } - } - }, - "node_modules/@google/jules-sdk": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@google/jules-sdk/-/jules-sdk-0.1.0.tgz", - "integrity": "sha512-DBVhFOsLfWaVtO0miEeX+zQoazB55EYmK5/0VJSX/YHdeheZqNuPlKRV1vrnd9uSQAtU6ACRicQssMbnvJM6ng==", - "license": "Apache-2.0", - "dependencies": { - "yaml": "^2.8.2", - "zod": "^3.25.76" - } - }, - "node_modules/@octokit/app": { - "version": "15.1.6", - "resolved": "https://registry.npmjs.org/@octokit/app/-/app-15.1.6.tgz", - "integrity": "sha512-WELCamoCJo9SN0lf3SWZccf68CF0sBNPQuLYmZ/n87p5qvBJDe9aBtr5dHkh7T9nxWZ608pizwsUbypSzZAiUw==", - "license": "MIT", - "dependencies": { - "@octokit/auth-app": "^7.2.1", - "@octokit/auth-unauthenticated": "^6.1.3", - "@octokit/core": "^6.1.5", - "@octokit/oauth-app": "^7.1.6", - "@octokit/plugin-paginate-rest": "^12.0.0", - "@octokit/types": "^14.0.0", - "@octokit/webhooks": "^13.6.1" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/app/node_modules/@octokit/auth-app": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-7.2.2.tgz", - "integrity": "sha512-p6hJtEyQDCJEPN9ijjhEC/kpFHMHN4Gca9r+8S0S8EJi7NaWftaEmexjxxpT1DFBeJpN4u/5RE22ArnyypupJw==", - "license": "MIT", - "dependencies": { - "@octokit/auth-oauth-app": "^8.1.4", - "@octokit/auth-oauth-user": "^5.1.4", - "@octokit/request": "^9.2.3", - "@octokit/request-error": "^6.1.8", - "@octokit/types": "^14.0.0", - "toad-cache": "^3.7.0", - "universal-github-app-jwt": "^2.2.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/app/node_modules/@octokit/auth-oauth-app": { - "version": "8.1.4", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-8.1.4.tgz", - "integrity": "sha512-71iBa5SflSXcclk/OL3lJzdt4iFs56OJdpBGEBl1wULp7C58uiswZLV6TdRaiAzHP1LT8ezpbHlKuxADb+4NkQ==", - "license": "MIT", - "dependencies": { - "@octokit/auth-oauth-device": "^7.1.5", - "@octokit/auth-oauth-user": "^5.1.4", - "@octokit/request": "^9.2.3", - "@octokit/types": "^14.0.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/app/node_modules/@octokit/auth-oauth-device": { - "version": "7.1.5", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-7.1.5.tgz", - "integrity": "sha512-lR00+k7+N6xeECj0JuXeULQ2TSBB/zjTAmNF2+vyGPDEFx1dgk1hTDmL13MjbSmzusuAmuJD8Pu39rjp9jH6yw==", - "license": "MIT", - "dependencies": { - "@octokit/oauth-methods": "^5.1.5", - "@octokit/request": "^9.2.3", - "@octokit/types": "^14.0.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/app/node_modules/@octokit/auth-oauth-user": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-5.1.6.tgz", - "integrity": "sha512-/R8vgeoulp7rJs+wfJ2LtXEVC7pjQTIqDab7wPKwVG6+2v/lUnCOub6vaHmysQBbb45FknM3tbHW8TOVqYHxCw==", - "license": "MIT", - "dependencies": { - "@octokit/auth-oauth-device": "^7.1.5", - "@octokit/oauth-methods": "^5.1.5", - "@octokit/request": "^9.2.3", - "@octokit/types": "^14.0.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/app/node_modules/@octokit/endpoint": { - "version": "10.1.4", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.4.tgz", - "integrity": "sha512-OlYOlZIsfEVZm5HCSR8aSg02T2lbUWOsCQoPKfTXJwDzcHQBrVBGdGXb89dv2Kw2ToZaRtudp8O3ZIYoaOjKlA==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/app/node_modules/@octokit/oauth-authorization-url": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@octokit/oauth-authorization-url/-/oauth-authorization-url-7.1.1.tgz", - "integrity": "sha512-ooXV8GBSabSWyhLUowlMIVd9l1s2nsOGQdlP2SQ4LnkEsGXzeCvbSbCPdZThXhEFzleGPwbapT0Sb+YhXRyjCA==", - "license": "MIT", - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/app/node_modules/@octokit/oauth-methods": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-5.1.5.tgz", - "integrity": "sha512-Ev7K8bkYrYLhoOSZGVAGsLEscZQyq7XQONCBBAl2JdMg7IT3PQn/y8P0KjloPoYpI5UylqYrLeUcScaYWXwDvw==", - "license": "MIT", - "dependencies": { - "@octokit/oauth-authorization-url": "^7.0.0", - "@octokit/request": "^9.2.3", - "@octokit/request-error": "^6.1.8", - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/app/node_modules/@octokit/openapi-types": { - "version": "25.1.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz", - "integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==", - "license": "MIT" - }, - "node_modules/@octokit/app/node_modules/@octokit/plugin-paginate-rest": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-12.0.0.tgz", - "integrity": "sha512-MPd6WK1VtZ52lFrgZ0R2FlaoiWllzgqFHaSZxvp72NmoDeZ0m8GeJdg4oB6ctqMTYyrnDYp592Xma21mrgiyDA==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "@octokit/core": ">=6" - } - }, - "node_modules/@octokit/app/node_modules/@octokit/request": { - "version": "9.2.4", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.2.4.tgz", - "integrity": "sha512-q8ybdytBmxa6KogWlNa818r0k1wlqzNC+yNkcQDECHvQo8Vmstrg18JwqJHdJdUiHD2sjlwBgSm9kHkOKe2iyA==", - "license": "MIT", - "dependencies": { - "@octokit/endpoint": "^10.1.4", - "@octokit/request-error": "^6.1.8", - "@octokit/types": "^14.0.0", - "fast-content-type-parse": "^2.0.0", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/app/node_modules/@octokit/request-error": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.8.tgz", - "integrity": "sha512-WEi/R0Jmq+IJKydWlKDmryPcmdYSVjL3ekaiEL1L9eo1sUnqMJ+grqmC9cjk7CA7+b2/T397tO5d8YLOH3qYpQ==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/app/node_modules/@octokit/types": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz", - "integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^25.1.0" - } - }, - "node_modules/@octokit/auth-app": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-8.3.1.tgz", - "integrity": "sha512-XHWxZsF4mvGTQCv7AOxgby9t9OjVO19FBuKq+QmyBxFrf+B2hR/P5j/MTF8g95bITf8cRtR17KIXThpFNqiKbg==", - "license": "MIT", - "dependencies": { - "@octokit/auth-oauth-app": "^9.0.5", - "@octokit/auth-oauth-user": "^6.0.4", - "@octokit/request": "^10.0.16", - "@octokit/request-error": "^7.1.2", - "@octokit/types": "^18.0.0", - "toad-cache": "^3.7.0", - "universal-github-app-jwt": "^2.2.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/auth-oauth-app": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-9.0.5.tgz", - "integrity": "sha512-Hn2yAlIDjFLGjAz7t+CRu7e9VYoFW1W3LLyOLyahFoJGlCf4PtDkHKtRET8w/2CJpsrC0FxIF5g5Xtx9E4O78w==", - "license": "MIT", - "dependencies": { - "@octokit/auth-oauth-device": "^8.0.5", - "@octokit/auth-oauth-user": "^6.0.4", - "@octokit/request": "^10.0.16", - "@octokit/types": "^18.0.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/auth-oauth-device": { - "version": "8.0.5", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-8.0.5.tgz", - "integrity": "sha512-kdJtjRhykMLJrMdcoC56XUBDfoUAuWEFKpkDxwYim+bNwYw1MreLolk+PLnwEYT8djm589YepeMuJ8+ECAIzVQ==", - "license": "MIT", - "dependencies": { - "@octokit/oauth-methods": "^6.0.5", - "@octokit/request": "^10.0.16", - "@octokit/types": "^18.0.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/auth-oauth-user": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-6.0.4.tgz", - "integrity": "sha512-eya2pMJ9pCBq1jrm1Rf6J3NI+NemEpzDMLo9J/GpRoK0KgdxIVXWX4LESIfwJ+GYeoq6QFIlUJNi1lVp5FBgmw==", - "license": "MIT", - "dependencies": { - "@octokit/auth-oauth-device": "^8.0.5", - "@octokit/oauth-methods": "^6.0.5", - "@octokit/request": "^10.0.16", - "@octokit/types": "^18.0.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/auth-token": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.2.tgz", - "integrity": "sha512-JcQDsBdg49Yky2w2ld20IHAlwr8d/d8N6NiOXbtuoPCqzbsiJgF633mVUw3x4mo0H5ypataQIX7SFu3yy44Mpw==", - "license": "MIT", - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/auth-unauthenticated": { - "version": "6.1.3", - "resolved": "https://registry.npmjs.org/@octokit/auth-unauthenticated/-/auth-unauthenticated-6.1.3.tgz", - "integrity": "sha512-d5gWJla3WdSl1yjbfMpET+hUSFCE15qM0KVSB0H1shyuJihf/RL1KqWoZMIaonHvlNojkL9XtLFp8QeLe+1iwA==", - "license": "MIT", - "dependencies": { - "@octokit/request-error": "^6.1.8", - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/auth-unauthenticated/node_modules/@octokit/openapi-types": { - "version": "25.1.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz", - "integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==", - "license": "MIT" - }, - "node_modules/@octokit/auth-unauthenticated/node_modules/@octokit/request-error": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.8.tgz", - "integrity": "sha512-WEi/R0Jmq+IJKydWlKDmryPcmdYSVjL3ekaiEL1L9eo1sUnqMJ+grqmC9cjk7CA7+b2/T397tO5d8YLOH3qYpQ==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/auth-unauthenticated/node_modules/@octokit/types": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz", - "integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^25.1.0" - } - }, - "node_modules/@octokit/core": { - "version": "6.1.6", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.1.6.tgz", - "integrity": "sha512-kIU8SLQkYWGp3pVKiYzA5OSaNF5EE03P/R8zEmmrG6XwOg5oBjXyQVVIauQ0dgau4zYhpZEhJrvIYt6oM+zZZA==", - "license": "MIT", - "dependencies": { - "@octokit/auth-token": "^5.0.0", - "@octokit/graphql": "^8.2.2", - "@octokit/request": "^9.2.3", - "@octokit/request-error": "^6.1.8", - "@octokit/types": "^14.0.0", - "before-after-hook": "^3.0.2", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/core/node_modules/@octokit/endpoint": { - "version": "10.1.4", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.4.tgz", - "integrity": "sha512-OlYOlZIsfEVZm5HCSR8aSg02T2lbUWOsCQoPKfTXJwDzcHQBrVBGdGXb89dv2Kw2ToZaRtudp8O3ZIYoaOjKlA==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/core/node_modules/@octokit/openapi-types": { - "version": "25.1.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz", - "integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==", - "license": "MIT" - }, - "node_modules/@octokit/core/node_modules/@octokit/request": { - "version": "9.2.4", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.2.4.tgz", - "integrity": "sha512-q8ybdytBmxa6KogWlNa818r0k1wlqzNC+yNkcQDECHvQo8Vmstrg18JwqJHdJdUiHD2sjlwBgSm9kHkOKe2iyA==", - "license": "MIT", - "dependencies": { - "@octokit/endpoint": "^10.1.4", - "@octokit/request-error": "^6.1.8", - "@octokit/types": "^14.0.0", - "fast-content-type-parse": "^2.0.0", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/core/node_modules/@octokit/request-error": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.8.tgz", - "integrity": "sha512-WEi/R0Jmq+IJKydWlKDmryPcmdYSVjL3ekaiEL1L9eo1sUnqMJ+grqmC9cjk7CA7+b2/T397tO5d8YLOH3qYpQ==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/core/node_modules/@octokit/types": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz", - "integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^25.1.0" - } - }, - "node_modules/@octokit/endpoint": { - "version": "11.0.5", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-11.0.5.tgz", - "integrity": "sha512-iXa654H3yFafF/ieHkukfbgWo2rmXD2ceD0ZOtrPhw1bc3FDch1d9N/TNs0FQ1/cIbwb7kspUX8jzIs8nzb9DQ==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^18.0.0", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/graphql": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.2.2.tgz", - "integrity": "sha512-Yi8hcoqsrXGdt0yObxbebHXFOiUA+2v3n53epuOg1QUgOB6c4XzvisBNVXJSl8RYA5KrDuSL2yq9Qmqe5N0ryA==", - "license": "MIT", - "dependencies": { - "@octokit/request": "^9.2.3", - "@octokit/types": "^14.0.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/graphql/node_modules/@octokit/endpoint": { - "version": "10.1.4", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.4.tgz", - "integrity": "sha512-OlYOlZIsfEVZm5HCSR8aSg02T2lbUWOsCQoPKfTXJwDzcHQBrVBGdGXb89dv2Kw2ToZaRtudp8O3ZIYoaOjKlA==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/graphql/node_modules/@octokit/openapi-types": { - "version": "25.1.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz", - "integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==", - "license": "MIT" - }, - "node_modules/@octokit/graphql/node_modules/@octokit/request": { - "version": "9.2.4", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.2.4.tgz", - "integrity": "sha512-q8ybdytBmxa6KogWlNa818r0k1wlqzNC+yNkcQDECHvQo8Vmstrg18JwqJHdJdUiHD2sjlwBgSm9kHkOKe2iyA==", - "license": "MIT", - "dependencies": { - "@octokit/endpoint": "^10.1.4", - "@octokit/request-error": "^6.1.8", - "@octokit/types": "^14.0.0", - "fast-content-type-parse": "^2.0.0", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/graphql/node_modules/@octokit/request-error": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.8.tgz", - "integrity": "sha512-WEi/R0Jmq+IJKydWlKDmryPcmdYSVjL3ekaiEL1L9eo1sUnqMJ+grqmC9cjk7CA7+b2/T397tO5d8YLOH3qYpQ==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/graphql/node_modules/@octokit/types": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz", - "integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^25.1.0" - } - }, - "node_modules/@octokit/oauth-app": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/@octokit/oauth-app/-/oauth-app-7.1.6.tgz", - "integrity": "sha512-OMcMzY2WFARg80oJNFwWbY51TBUfLH4JGTy119cqiDawSFXSIBujxmpXiKbGWQlvfn0CxE6f7/+c6+Kr5hI2YA==", - "license": "MIT", - "dependencies": { - "@octokit/auth-oauth-app": "^8.1.3", - "@octokit/auth-oauth-user": "^5.1.3", - "@octokit/auth-unauthenticated": "^6.1.2", - "@octokit/core": "^6.1.4", - "@octokit/oauth-authorization-url": "^7.1.1", - "@octokit/oauth-methods": "^5.1.4", - "@types/aws-lambda": "^8.10.83", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/oauth-app/node_modules/@octokit/auth-oauth-app": { - "version": "8.1.4", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-8.1.4.tgz", - "integrity": "sha512-71iBa5SflSXcclk/OL3lJzdt4iFs56OJdpBGEBl1wULp7C58uiswZLV6TdRaiAzHP1LT8ezpbHlKuxADb+4NkQ==", - "license": "MIT", - "dependencies": { - "@octokit/auth-oauth-device": "^7.1.5", - "@octokit/auth-oauth-user": "^5.1.4", - "@octokit/request": "^9.2.3", - "@octokit/types": "^14.0.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/oauth-app/node_modules/@octokit/auth-oauth-device": { - "version": "7.1.5", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-7.1.5.tgz", - "integrity": "sha512-lR00+k7+N6xeECj0JuXeULQ2TSBB/zjTAmNF2+vyGPDEFx1dgk1hTDmL13MjbSmzusuAmuJD8Pu39rjp9jH6yw==", - "license": "MIT", - "dependencies": { - "@octokit/oauth-methods": "^5.1.5", - "@octokit/request": "^9.2.3", - "@octokit/types": "^14.0.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/oauth-app/node_modules/@octokit/auth-oauth-user": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-5.1.6.tgz", - "integrity": "sha512-/R8vgeoulp7rJs+wfJ2LtXEVC7pjQTIqDab7wPKwVG6+2v/lUnCOub6vaHmysQBbb45FknM3tbHW8TOVqYHxCw==", - "license": "MIT", - "dependencies": { - "@octokit/auth-oauth-device": "^7.1.5", - "@octokit/oauth-methods": "^5.1.5", - "@octokit/request": "^9.2.3", - "@octokit/types": "^14.0.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/oauth-app/node_modules/@octokit/endpoint": { - "version": "10.1.4", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.4.tgz", - "integrity": "sha512-OlYOlZIsfEVZm5HCSR8aSg02T2lbUWOsCQoPKfTXJwDzcHQBrVBGdGXb89dv2Kw2ToZaRtudp8O3ZIYoaOjKlA==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-authorization-url": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@octokit/oauth-authorization-url/-/oauth-authorization-url-7.1.1.tgz", - "integrity": "sha512-ooXV8GBSabSWyhLUowlMIVd9l1s2nsOGQdlP2SQ4LnkEsGXzeCvbSbCPdZThXhEFzleGPwbapT0Sb+YhXRyjCA==", - "license": "MIT", - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/oauth-app/node_modules/@octokit/oauth-methods": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-5.1.5.tgz", - "integrity": "sha512-Ev7K8bkYrYLhoOSZGVAGsLEscZQyq7XQONCBBAl2JdMg7IT3PQn/y8P0KjloPoYpI5UylqYrLeUcScaYWXwDvw==", - "license": "MIT", - "dependencies": { - "@octokit/oauth-authorization-url": "^7.0.0", - "@octokit/request": "^9.2.3", - "@octokit/request-error": "^6.1.8", - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/oauth-app/node_modules/@octokit/openapi-types": { - "version": "25.1.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz", - "integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==", - "license": "MIT" - }, - "node_modules/@octokit/oauth-app/node_modules/@octokit/request": { - "version": "9.2.4", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.2.4.tgz", - "integrity": "sha512-q8ybdytBmxa6KogWlNa818r0k1wlqzNC+yNkcQDECHvQo8Vmstrg18JwqJHdJdUiHD2sjlwBgSm9kHkOKe2iyA==", - "license": "MIT", - "dependencies": { - "@octokit/endpoint": "^10.1.4", - "@octokit/request-error": "^6.1.8", - "@octokit/types": "^14.0.0", - "fast-content-type-parse": "^2.0.0", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/oauth-app/node_modules/@octokit/request-error": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.8.tgz", - "integrity": "sha512-WEi/R0Jmq+IJKydWlKDmryPcmdYSVjL3ekaiEL1L9eo1sUnqMJ+grqmC9cjk7CA7+b2/T397tO5d8YLOH3qYpQ==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/oauth-app/node_modules/@octokit/types": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz", - "integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^25.1.0" - } - }, - "node_modules/@octokit/oauth-authorization-url": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@octokit/oauth-authorization-url/-/oauth-authorization-url-8.0.0.tgz", - "integrity": "sha512-7QoLPRh/ssEA/HuHBHdVdSgF8xNLz/Bc5m9fZkArJE5bb6NmVkDm3anKxXPmN1zh6b5WKZPRr3697xKT/yM3qQ==", - "license": "MIT", - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/oauth-methods": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-6.0.5.tgz", - "integrity": "sha512-/mAz7taDZD7DcV4zcG6TDw3Kr6TOldmYBRpvA62C3WIxRMmcgX8XxsTvVQomqKE7VEk/BgYhUao1aR2tYGyIKg==", - "license": "MIT", - "dependencies": { - "@octokit/oauth-authorization-url": "^8.0.0", - "@octokit/request": "^10.0.16", - "@octokit/request-error": "^7.1.2", - "@octokit/types": "^18.0.0" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/openapi-types": { - "version": "29.0.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-29.0.1.tgz", - "integrity": "sha512-9qWOMFNxxLokERcms42rU0PTLqQmVs7g5E41TI4mCOxmpFayD1rfC7XxOL55cG9MBZLFlC31BrR37myMKardwg==", - "license": "MIT" - }, - "node_modules/@octokit/openapi-webhooks-types": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-webhooks-types/-/openapi-webhooks-types-11.0.0.tgz", - "integrity": "sha512-ZBzCFj98v3SuRM7oBas6BHZMJRadlnDoeFfvm1olVxZnYeU6Vh97FhPxyS5aLh5pN51GYv2I51l/hVUAVkGBlA==", - "license": "MIT" - }, - "node_modules/@octokit/plugin-paginate-graphql": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-graphql/-/plugin-paginate-graphql-5.2.4.tgz", - "integrity": "sha512-pLZES1jWaOynXKHOqdnwZ5ULeVR6tVVCMm+AUbp0htdcyXDU95WbkYdU4R2ej1wKj5Tu94Mee2Ne0PjPO9cCyA==", - "license": "MIT", - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "@octokit/core": ">=6" - } - }, - "node_modules/@octokit/plugin-paginate-rest": { - "version": "11.6.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.6.0.tgz", - "integrity": "sha512-n5KPteiF7pWKgBIBJSk8qzoZWcUkza2O6A0za97pMGVrGfPdltxrfmfF5GucHYvHGZD8BdaZmmHGz5cX/3gdpw==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^13.10.0" - }, - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "@octokit/core": ">=6" - } - }, - "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/openapi-types": { - "version": "24.2.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-24.2.0.tgz", - "integrity": "sha512-9sIH3nSUttelJSXUrmGzl7QUBFul0/mB8HRYl3fOlgHbIWG+WnYDXU3v/2zMtAvuzZ/ed00Ei6on975FhBfzrg==", - "license": "MIT" - }, - "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/types": { - "version": "13.10.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.10.0.tgz", - "integrity": "sha512-ifLaO34EbbPj0Xgro4G5lP5asESjwHracYJvVaPIyXMuiuXLlhic3S47cBdTb+jfODkTE5YtGCLt3Ay3+J97sA==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^24.2.0" - } - }, - "node_modules/@octokit/plugin-request-log": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-5.3.1.tgz", - "integrity": "sha512-n/lNeCtq+9ofhC15xzmJCNKP2BWTv8Ih2TTy+jatNCCq/gQP/V7rK3fjIfuz0pDWDALO/o/4QY4hyOF6TQQFUw==", - "license": "MIT", - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "@octokit/core": ">=6" - } - }, - "node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "13.5.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-13.5.0.tgz", - "integrity": "sha512-9Pas60Iv9ejO3WlAX3maE1+38c5nqbJXV5GrncEfkndIpZrJ/WPMRd2xYDcPPEt5yzpxcjw9fWNoPhsSGzqKqw==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^13.10.0" - }, - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "@octokit/core": ">=6" - } - }, - "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/openapi-types": { - "version": "24.2.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-24.2.0.tgz", - "integrity": "sha512-9sIH3nSUttelJSXUrmGzl7QUBFul0/mB8HRYl3fOlgHbIWG+WnYDXU3v/2zMtAvuzZ/ed00Ei6on975FhBfzrg==", - "license": "MIT" - }, - "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types": { - "version": "13.10.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.10.0.tgz", - "integrity": "sha512-ifLaO34EbbPj0Xgro4G5lP5asESjwHracYJvVaPIyXMuiuXLlhic3S47cBdTb+jfODkTE5YtGCLt3Ay3+J97sA==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^24.2.0" - } - }, - "node_modules/@octokit/plugin-retry": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-7.2.1.tgz", - "integrity": "sha512-wUc3gv0D6vNHpGxSaR3FlqJpTXGWgqmk607N9L3LvPL4QjaxDgX/1nY2mGpT37Khn+nlIXdljczkRnNdTTV3/A==", - "license": "MIT", - "dependencies": { - "@octokit/request-error": "^6.1.8", - "@octokit/types": "^14.0.0", - "bottleneck": "^2.15.3" - }, - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "@octokit/core": ">=6" - } - }, - "node_modules/@octokit/plugin-retry/node_modules/@octokit/openapi-types": { - "version": "25.1.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz", - "integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==", - "license": "MIT" - }, - "node_modules/@octokit/plugin-retry/node_modules/@octokit/request-error": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.8.tgz", - "integrity": "sha512-WEi/R0Jmq+IJKydWlKDmryPcmdYSVjL3ekaiEL1L9eo1sUnqMJ+grqmC9cjk7CA7+b2/T397tO5d8YLOH3qYpQ==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/plugin-retry/node_modules/@octokit/types": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz", - "integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^25.1.0" - } - }, - "node_modules/@octokit/plugin-throttling": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-10.0.0.tgz", - "integrity": "sha512-Kuq5/qs0DVYTHZuBAzCZStCzo2nKvVRo/TDNhCcpC2TKiOGz/DisXMCvjt3/b5kr6SCI1Y8eeeJTHBxxpFvZEg==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0", - "bottleneck": "^2.15.3" - }, - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "@octokit/core": "^6.1.3" - } - }, - "node_modules/@octokit/plugin-throttling/node_modules/@octokit/openapi-types": { - "version": "25.1.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz", - "integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==", - "license": "MIT" - }, - "node_modules/@octokit/plugin-throttling/node_modules/@octokit/types": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz", - "integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^25.1.0" - } - }, - "node_modules/@octokit/request": { - "version": "10.0.16", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-10.0.16.tgz", - "integrity": "sha512-A0zWGjHzISIb+9ccG8s0dq7LKO5zVpJLRICjgUb+sJxEWqn8RUHB1rD3AE51+PECvXHIxqZ1VVvs4fHTSD9nUQ==", - "license": "MIT", - "dependencies": { - "@octokit/endpoint": "^11.0.5", - "@octokit/request-error": "^7.1.2", - "@octokit/types": "^18.0.0", - "content-type": "^3.0.0", - "json-with-bigint": "^3.5.12", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/request-error": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-7.1.2.tgz", - "integrity": "sha512-XZRuT3xZ84D3gYErI1DZvhJ33dCWVV6uzBtWkaBB4TvA/L6eOeTZodxLFVB44bBEEo3vEx7y00UfX1tBLrtLRg==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^18.0.0" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/rest": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-21.1.1.tgz", - "integrity": "sha512-sTQV7va0IUVZcntzy1q3QqPm/r8rWtDCqpRAmb8eXXnKkjoQEtFe3Nt5GTVsHft+R6jJoHeSiVLcgcvhtue/rg==", - "license": "MIT", - "dependencies": { - "@octokit/core": "^6.1.4", - "@octokit/plugin-paginate-rest": "^11.4.2", - "@octokit/plugin-request-log": "^5.3.1", - "@octokit/plugin-rest-endpoint-methods": "^13.3.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/types": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-18.0.0.tgz", - "integrity": "sha512-l6bAF43PNxkJp6g+W4PjoUSSkxHomXw2nOum5CTftJz1NlV3vu93NImgOYtLf6CbBUb5j+fiuzW0PPQ5JTSvZA==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^29.0.1" - } - }, - "node_modules/@octokit/webhooks": { - "version": "13.9.1", - "resolved": "https://registry.npmjs.org/@octokit/webhooks/-/webhooks-13.9.1.tgz", - "integrity": "sha512-Nss2b4Jyn4wB3EAqAPJypGuCJFalz/ZujKBQQ5934To7Xw9xjf4hkr/EAByxQY7hp7MKd790bWGz7XYSTsHmaw==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-webhooks-types": "11.0.0", - "@octokit/request-error": "^6.1.7", - "@octokit/webhooks-methods": "^5.1.1" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/webhooks-methods": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@octokit/webhooks-methods/-/webhooks-methods-5.1.1.tgz", - "integrity": "sha512-NGlEHZDseJTCj8TMMFehzwa9g7On4KJMPVHDSrHxCQumL6uSQR8wIkP/qesv52fXqV1BPf4pTxwtS31ldAt9Xg==", - "license": "MIT", - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/webhooks/node_modules/@octokit/openapi-types": { - "version": "25.1.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz", - "integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==", - "license": "MIT" - }, - "node_modules/@octokit/webhooks/node_modules/@octokit/request-error": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.8.tgz", - "integrity": "sha512-WEi/R0Jmq+IJKydWlKDmryPcmdYSVjL3ekaiEL1L9eo1sUnqMJ+grqmC9cjk7CA7+b2/T397tO5d8YLOH3qYpQ==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/webhooks/node_modules/@octokit/types": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz", - "integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^25.1.0" - } - }, - "node_modules/@types/aws-lambda": { - "version": "8.10.164", - "resolved": "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.164.tgz", - "integrity": "sha512-XOnrazWcOd6yWPnR7DxqCBPPYciDjHq+NN8LPwwqBCJNXLyPJgKo47fZpJ113+oyAn9Zti0Cf6H4k6yPcE3WFg==", - "license": "MIT" - }, - "node_modules/balanced-match": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", - "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", - "license": "MIT", - "engines": { - "node": "18 || 20 || >=22" - } - }, - "node_modules/before-after-hook": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-3.0.2.tgz", - "integrity": "sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==", - "license": "Apache-2.0" - }, - "node_modules/bottleneck": { - "version": "2.19.5", - "resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-2.19.5.tgz", - "integrity": "sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw==", - "license": "MIT" - }, - "node_modules/brace-expansion": { - "version": "5.0.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", - "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", - "license": "MIT", - "dependencies": { - "balanced-match": "^4.0.2" - }, - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/citty": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/citty/-/citty-0.1.6.tgz", - "integrity": "sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==", - "license": "MIT", - "dependencies": { - "consola": "^3.2.3" - } - }, - "node_modules/consola": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz", - "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==", - "license": "MIT", - "engines": { - "node": "^14.18.0 || >=16.10.0" - } - }, - "node_modules/content-type": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-3.1.1.tgz", - "integrity": "sha512-GW4qUsfFo59d0HbUibDlWv5wPz+vAAcaTWbKIuKCf0JkC7wWkSyf8f13IpXn5JkeMlB2P8iTSSIjwXljorg2vA==", - "license": "MIT", - "engines": { - "node": ">=22" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/fast-content-type-parse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-2.0.1.tgz", - "integrity": "sha512-nGqtvLrj5w0naR6tDPfB4cUmYCqouzyQiz6C5y/LtcDllJdrcc6WaWW6iXyIIOErTa/XRybj28aasdn4LkVk6Q==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "MIT" - }, - "node_modules/fast-string-truncated-width": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/fast-string-truncated-width/-/fast-string-truncated-width-3.0.3.tgz", - "integrity": "sha512-0jjjIEL6+0jag3l2XWWizO64/aZVtpiGE3t0Zgqxv0DPuxiMjvB3M24fCyhZUO4KomJQPj3LTSUnDP3GpdwC0g==", - "license": "MIT" - }, - "node_modules/fast-string-width": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/fast-string-width/-/fast-string-width-3.0.2.tgz", - "integrity": "sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==", - "license": "MIT", - "dependencies": { - "fast-string-truncated-width": "^3.0.2" - } - }, - "node_modules/fast-wrap-ansi": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/fast-wrap-ansi/-/fast-wrap-ansi-0.2.2.tgz", - "integrity": "sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==", - "license": "MIT", - "dependencies": { - "fast-string-width": "^3.0.2" - } - }, - "node_modules/glob": { - "version": "13.0.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", - "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", - "license": "BlueOak-1.0.0", - "dependencies": { - "minimatch": "^10.2.2", - "minipass": "^7.1.3", - "path-scurry": "^2.0.2" - }, - "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/json-with-bigint": { - "version": "3.5.12", - "resolved": "https://registry.npmjs.org/json-with-bigint/-/json-with-bigint-3.5.12.tgz", - "integrity": "sha512-uwbF/wSSuOgC7qqlq27Xp5B6a2MHVug3t0idZdTqu0JnlFvgJuH7ju+KAk/J06C7GfhoYy2gnb9wz2INqcne7w==", - "license": "MIT" - }, - "node_modules/libsodium": { - "version": "0.8.4", - "resolved": "https://registry.npmjs.org/libsodium/-/libsodium-0.8.4.tgz", - "integrity": "sha512-lMcYaRi0zcs7tarATsQUYC7rstliIXZuoq0c6zXSgNtSNtdvBgkSegjWhpMJAXzKX3SUSwIp7+zEsob+j3LuRw==", - "license": "ISC" - }, - "node_modules/libsodium-wrappers": { - "version": "0.8.4", - "resolved": "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.8.4.tgz", - "integrity": "sha512-mu8aAWucZjTB5O/BtGXtW4e1agy7uHxNYG7zPthmmD1jU43LCDmSWZLN4JhflbdPXj3yDO4lxM1O9hLDgIOXDw==", - "license": "ISC", - "dependencies": { - "libsodium": "^0.8.0" - } - }, - "node_modules/lru-cache": { - "version": "11.5.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz", - "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==", - "license": "BlueOak-1.0.0", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/minimatch": { - "version": "10.2.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", - "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", - "license": "BlueOak-1.0.0", - "dependencies": { - "brace-expansion": "^5.0.8" - }, - "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/minipass": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", - "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/octokit": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/octokit/-/octokit-4.1.4.tgz", - "integrity": "sha512-cRvxRte6FU3vAHRC9+PMSY3D+mRAs2Rd9emMoqp70UGRvJRM3sbAoim2IXRZNNsf8wVfn4sGxVBHRAP+JBVX/g==", - "license": "MIT", - "dependencies": { - "@octokit/app": "^15.1.6", - "@octokit/core": "^6.1.5", - "@octokit/oauth-app": "^7.1.6", - "@octokit/plugin-paginate-graphql": "^5.2.4", - "@octokit/plugin-paginate-rest": "^12.0.0", - "@octokit/plugin-rest-endpoint-methods": "^14.0.0", - "@octokit/plugin-retry": "^7.2.1", - "@octokit/plugin-throttling": "^10.0.0", - "@octokit/request-error": "^6.1.8", - "@octokit/types": "^14.0.0", - "@octokit/webhooks": "^13.8.3" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/octokit/node_modules/@octokit/openapi-types": { - "version": "25.1.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz", - "integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==", - "license": "MIT" - }, - "node_modules/octokit/node_modules/@octokit/plugin-paginate-rest": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-12.0.0.tgz", - "integrity": "sha512-MPd6WK1VtZ52lFrgZ0R2FlaoiWllzgqFHaSZxvp72NmoDeZ0m8GeJdg4oB6ctqMTYyrnDYp592Xma21mrgiyDA==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "@octokit/core": ">=6" - } - }, - "node_modules/octokit/node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-14.0.0.tgz", - "integrity": "sha512-iQt6ovem4b7zZYZQtdv+PwgbL5VPq37th1m2x2TdkgimIDJpsi2A6Q/OI/23i/hR6z5mL0EgisNR4dcbmckSZQ==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "@octokit/core": ">=6" - } - }, - "node_modules/octokit/node_modules/@octokit/request-error": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.8.tgz", - "integrity": "sha512-WEi/R0Jmq+IJKydWlKDmryPcmdYSVjL3ekaiEL1L9eo1sUnqMJ+grqmC9cjk7CA7+b2/T397tO5d8YLOH3qYpQ==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/octokit/node_modules/@octokit/types": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz", - "integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^25.1.0" - } - }, - "node_modules/path-scurry": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz", - "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==", - "license": "BlueOak-1.0.0", - "dependencies": { - "lru-cache": "^11.0.0", - "minipass": "^7.1.2" - }, - "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/sisteransi": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", - "license": "MIT" - }, - "node_modules/toad-cache": { - "version": "3.7.4", - "resolved": "https://registry.npmjs.org/toad-cache/-/toad-cache-3.7.4.tgz", - "integrity": "sha512-m1TdR/rvT7kgGJZhspNtXdsdYk0fddFpJJFlG5s+UkPFo6lkLoZ3YLOaovPYjq1R75NP5JfeTlSHaOsE09peCg==", - "license": "MIT", - "engines": { - "node": ">=20" - } - }, - "node_modules/universal-github-app-jwt": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/universal-github-app-jwt/-/universal-github-app-jwt-2.2.2.tgz", - "integrity": "sha512-dcmbeSrOdTnsjGjUfAlqNDJrhxXizjAz94ija9Qw8YkZ1uu0d+GoZzyH+Jb9tIIqvGsadUfwg+22k5aDqqwzbw==", - "license": "MIT" - }, - "node_modules/universal-user-agent": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz", - "integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A==", - "license": "ISC" - }, - "node_modules/yaml": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.1.tgz", - "integrity": "sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==", - "license": "ISC", - "bin": { - "yaml": "bin.mjs" - }, - "engines": { - "node": ">= 14.6" - }, - "funding": { - "url": "https://github.com/sponsors/eemeli" - } - }, - "node_modules/zod": { - "version": "3.25.76", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", - "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, - "node_modules/zod-to-json-schema": { - "version": "3.25.2", - "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.25.2.tgz", - "integrity": "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==", - "license": "ISC", - "peerDependencies": { - "zod": "^3.25.28 || ^4" - } - } - } -} diff --git a/pkgs/jules-merge/default.nix b/pkgs/jules-merge/default.nix deleted file mode 100644 index 7f8361ac5b..0000000000 --- a/pkgs/jules-merge/default.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ - lib, - buildNpmPackage, - fetchurl, - nodejs, -}: - -# @google/jules-merge -- experimental multi-agent orchestration for Jules. -# https://github.com/google-labs-code/jules-sdk -# -# Google's own description is "very experimental, just for fun". It reads -# markdown goal files from .fleet/goals/, opens Jules analyzer sessions, files -# GitHub issues labelled `fleet`, spawns worker sessions and merges the -# resulting PRs sequentially. Driven either by a GitHub Actions cron or the CLI. -# -# Packaging notes: -# * Not self-contained -- `node dist/cli/index.mjs` fails without its 10 -# runtime deps, so buildNpmPackage rather than a bare unpack. -# * The npm tarball ships no package-lock.json; one is vendored here, -# generated from the published package.json with devDependencies/scripts -# stripped. The same strip is reapplied in postPatch so lock and manifest -# agree. -# * Needs JULES_API_KEY at runtime (see programs.bash.initExtra in -# home/common), and a GitHub token for the issue/PR side. -let - version = "0.1.0"; -in -buildNpmPackage { - pname = "jules-merge"; - inherit version nodejs; - src = fetchurl { - url = "https://registry.npmjs.org/@google/jules-merge/-/jules-merge-${version}.tgz"; - hash = "sha256-k1z7Dy+1POoZzp3J2yTQWQbUGOc44XiCnKprLEAZN24="; - }; - postPatch = '' - cp ${./package-lock.json} package-lock.json - chmod +w package.json package-lock.json - ${lib.getExe nodejs} -e ' - const fs=require("fs");const p=JSON.parse(fs.readFileSync("package.json","utf8")); - delete p.devDependencies; delete p.scripts; delete p.workspaces; - fs.writeFileSync("package.json",JSON.stringify(p,null,2));' - ''; - npmDepsHash = "sha256-KhOJSDnnLJN38RaiqM9MsoY4qOo+CGvPbv/IlJDhDxM="; - npmFlags = [ - "--ignore-scripts" - "--no-audit" - "--no-fund" - ]; - dontNpmBuild = true; - meta = { - description = "Reconcile overlapping PRs from parallel Jules agents"; - homepage = "https://github.com/google-labs-code/jules-sdk"; - license = lib.licenses.asl20; - mainProgram = "jules-merge"; - platforms = lib.platforms.all; - }; -} diff --git a/pkgs/jules-merge/package-lock.json b/pkgs/jules-merge/package-lock.json deleted file mode 100644 index e803ed3a8d..0000000000 --- a/pkgs/jules-merge/package-lock.json +++ /dev/null @@ -1,516 +0,0 @@ -{ - "name": "@google/jules-merge", - "version": "0.1.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "@google/jules-merge", - "version": "0.1.0", - "license": "Apache-2.0", - "dependencies": { - "@octokit/auth-app": "^8.2.0", - "@octokit/rest": "^21.0.0", - "citty": "^0.1.6", - "zod": "^3.25.0", - "zod-to-json-schema": "^3.24.0" - }, - "bin": { - "jules-merge": "dist/cli/index.mjs" - }, - "peerDependencies": { - "@modelcontextprotocol/sdk": "^1.25.1" - }, - "peerDependenciesMeta": { - "@modelcontextprotocol/sdk": { - "optional": true - } - } - }, - "node_modules/@octokit/auth-app": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-8.3.1.tgz", - "integrity": "sha512-XHWxZsF4mvGTQCv7AOxgby9t9OjVO19FBuKq+QmyBxFrf+B2hR/P5j/MTF8g95bITf8cRtR17KIXThpFNqiKbg==", - "license": "MIT", - "dependencies": { - "@octokit/auth-oauth-app": "^9.0.5", - "@octokit/auth-oauth-user": "^6.0.4", - "@octokit/request": "^10.0.16", - "@octokit/request-error": "^7.1.2", - "@octokit/types": "^18.0.0", - "toad-cache": "^3.7.0", - "universal-github-app-jwt": "^2.2.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/auth-oauth-app": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-9.0.5.tgz", - "integrity": "sha512-Hn2yAlIDjFLGjAz7t+CRu7e9VYoFW1W3LLyOLyahFoJGlCf4PtDkHKtRET8w/2CJpsrC0FxIF5g5Xtx9E4O78w==", - "license": "MIT", - "dependencies": { - "@octokit/auth-oauth-device": "^8.0.5", - "@octokit/auth-oauth-user": "^6.0.4", - "@octokit/request": "^10.0.16", - "@octokit/types": "^18.0.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/auth-oauth-device": { - "version": "8.0.5", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-8.0.5.tgz", - "integrity": "sha512-kdJtjRhykMLJrMdcoC56XUBDfoUAuWEFKpkDxwYim+bNwYw1MreLolk+PLnwEYT8djm589YepeMuJ8+ECAIzVQ==", - "license": "MIT", - "dependencies": { - "@octokit/oauth-methods": "^6.0.5", - "@octokit/request": "^10.0.16", - "@octokit/types": "^18.0.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/auth-oauth-user": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-6.0.4.tgz", - "integrity": "sha512-eya2pMJ9pCBq1jrm1Rf6J3NI+NemEpzDMLo9J/GpRoK0KgdxIVXWX4LESIfwJ+GYeoq6QFIlUJNi1lVp5FBgmw==", - "license": "MIT", - "dependencies": { - "@octokit/auth-oauth-device": "^8.0.5", - "@octokit/oauth-methods": "^6.0.5", - "@octokit/request": "^10.0.16", - "@octokit/types": "^18.0.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/auth-token": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.2.tgz", - "integrity": "sha512-JcQDsBdg49Yky2w2ld20IHAlwr8d/d8N6NiOXbtuoPCqzbsiJgF633mVUw3x4mo0H5ypataQIX7SFu3yy44Mpw==", - "license": "MIT", - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/core": { - "version": "6.1.6", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.1.6.tgz", - "integrity": "sha512-kIU8SLQkYWGp3pVKiYzA5OSaNF5EE03P/R8zEmmrG6XwOg5oBjXyQVVIauQ0dgau4zYhpZEhJrvIYt6oM+zZZA==", - "license": "MIT", - "dependencies": { - "@octokit/auth-token": "^5.0.0", - "@octokit/graphql": "^8.2.2", - "@octokit/request": "^9.2.3", - "@octokit/request-error": "^6.1.8", - "@octokit/types": "^14.0.0", - "before-after-hook": "^3.0.2", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/core/node_modules/@octokit/endpoint": { - "version": "10.1.4", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.4.tgz", - "integrity": "sha512-OlYOlZIsfEVZm5HCSR8aSg02T2lbUWOsCQoPKfTXJwDzcHQBrVBGdGXb89dv2Kw2ToZaRtudp8O3ZIYoaOjKlA==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/core/node_modules/@octokit/openapi-types": { - "version": "25.1.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz", - "integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==", - "license": "MIT" - }, - "node_modules/@octokit/core/node_modules/@octokit/request": { - "version": "9.2.4", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.2.4.tgz", - "integrity": "sha512-q8ybdytBmxa6KogWlNa818r0k1wlqzNC+yNkcQDECHvQo8Vmstrg18JwqJHdJdUiHD2sjlwBgSm9kHkOKe2iyA==", - "license": "MIT", - "dependencies": { - "@octokit/endpoint": "^10.1.4", - "@octokit/request-error": "^6.1.8", - "@octokit/types": "^14.0.0", - "fast-content-type-parse": "^2.0.0", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/core/node_modules/@octokit/request-error": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.8.tgz", - "integrity": "sha512-WEi/R0Jmq+IJKydWlKDmryPcmdYSVjL3ekaiEL1L9eo1sUnqMJ+grqmC9cjk7CA7+b2/T397tO5d8YLOH3qYpQ==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/core/node_modules/@octokit/types": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz", - "integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^25.1.0" - } - }, - "node_modules/@octokit/endpoint": { - "version": "11.0.5", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-11.0.5.tgz", - "integrity": "sha512-iXa654H3yFafF/ieHkukfbgWo2rmXD2ceD0ZOtrPhw1bc3FDch1d9N/TNs0FQ1/cIbwb7kspUX8jzIs8nzb9DQ==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^18.0.0", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/graphql": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.2.2.tgz", - "integrity": "sha512-Yi8hcoqsrXGdt0yObxbebHXFOiUA+2v3n53epuOg1QUgOB6c4XzvisBNVXJSl8RYA5KrDuSL2yq9Qmqe5N0ryA==", - "license": "MIT", - "dependencies": { - "@octokit/request": "^9.2.3", - "@octokit/types": "^14.0.0", - "universal-user-agent": "^7.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/graphql/node_modules/@octokit/endpoint": { - "version": "10.1.4", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.4.tgz", - "integrity": "sha512-OlYOlZIsfEVZm5HCSR8aSg02T2lbUWOsCQoPKfTXJwDzcHQBrVBGdGXb89dv2Kw2ToZaRtudp8O3ZIYoaOjKlA==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/graphql/node_modules/@octokit/openapi-types": { - "version": "25.1.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz", - "integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==", - "license": "MIT" - }, - "node_modules/@octokit/graphql/node_modules/@octokit/request": { - "version": "9.2.4", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.2.4.tgz", - "integrity": "sha512-q8ybdytBmxa6KogWlNa818r0k1wlqzNC+yNkcQDECHvQo8Vmstrg18JwqJHdJdUiHD2sjlwBgSm9kHkOKe2iyA==", - "license": "MIT", - "dependencies": { - "@octokit/endpoint": "^10.1.4", - "@octokit/request-error": "^6.1.8", - "@octokit/types": "^14.0.0", - "fast-content-type-parse": "^2.0.0", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/graphql/node_modules/@octokit/request-error": { - "version": "6.1.8", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.8.tgz", - "integrity": "sha512-WEi/R0Jmq+IJKydWlKDmryPcmdYSVjL3ekaiEL1L9eo1sUnqMJ+grqmC9cjk7CA7+b2/T397tO5d8YLOH3qYpQ==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^14.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/graphql/node_modules/@octokit/types": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz", - "integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^25.1.0" - } - }, - "node_modules/@octokit/oauth-authorization-url": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@octokit/oauth-authorization-url/-/oauth-authorization-url-8.0.0.tgz", - "integrity": "sha512-7QoLPRh/ssEA/HuHBHdVdSgF8xNLz/Bc5m9fZkArJE5bb6NmVkDm3anKxXPmN1zh6b5WKZPRr3697xKT/yM3qQ==", - "license": "MIT", - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/oauth-methods": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-6.0.5.tgz", - "integrity": "sha512-/mAz7taDZD7DcV4zcG6TDw3Kr6TOldmYBRpvA62C3WIxRMmcgX8XxsTvVQomqKE7VEk/BgYhUao1aR2tYGyIKg==", - "license": "MIT", - "dependencies": { - "@octokit/oauth-authorization-url": "^8.0.0", - "@octokit/request": "^10.0.16", - "@octokit/request-error": "^7.1.2", - "@octokit/types": "^18.0.0" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/openapi-types": { - "version": "29.0.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-29.0.1.tgz", - "integrity": "sha512-9qWOMFNxxLokERcms42rU0PTLqQmVs7g5E41TI4mCOxmpFayD1rfC7XxOL55cG9MBZLFlC31BrR37myMKardwg==", - "license": "MIT" - }, - "node_modules/@octokit/plugin-paginate-rest": { - "version": "11.6.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.6.0.tgz", - "integrity": "sha512-n5KPteiF7pWKgBIBJSk8qzoZWcUkza2O6A0za97pMGVrGfPdltxrfmfF5GucHYvHGZD8BdaZmmHGz5cX/3gdpw==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^13.10.0" - }, - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "@octokit/core": ">=6" - } - }, - "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/openapi-types": { - "version": "24.2.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-24.2.0.tgz", - "integrity": "sha512-9sIH3nSUttelJSXUrmGzl7QUBFul0/mB8HRYl3fOlgHbIWG+WnYDXU3v/2zMtAvuzZ/ed00Ei6on975FhBfzrg==", - "license": "MIT" - }, - "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/types": { - "version": "13.10.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.10.0.tgz", - "integrity": "sha512-ifLaO34EbbPj0Xgro4G5lP5asESjwHracYJvVaPIyXMuiuXLlhic3S47cBdTb+jfODkTE5YtGCLt3Ay3+J97sA==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^24.2.0" - } - }, - "node_modules/@octokit/plugin-request-log": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-5.3.1.tgz", - "integrity": "sha512-n/lNeCtq+9ofhC15xzmJCNKP2BWTv8Ih2TTy+jatNCCq/gQP/V7rK3fjIfuz0pDWDALO/o/4QY4hyOF6TQQFUw==", - "license": "MIT", - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "@octokit/core": ">=6" - } - }, - "node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "13.5.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-13.5.0.tgz", - "integrity": "sha512-9Pas60Iv9ejO3WlAX3maE1+38c5nqbJXV5GrncEfkndIpZrJ/WPMRd2xYDcPPEt5yzpxcjw9fWNoPhsSGzqKqw==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^13.10.0" - }, - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "@octokit/core": ">=6" - } - }, - "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/openapi-types": { - "version": "24.2.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-24.2.0.tgz", - "integrity": "sha512-9sIH3nSUttelJSXUrmGzl7QUBFul0/mB8HRYl3fOlgHbIWG+WnYDXU3v/2zMtAvuzZ/ed00Ei6on975FhBfzrg==", - "license": "MIT" - }, - "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types": { - "version": "13.10.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.10.0.tgz", - "integrity": "sha512-ifLaO34EbbPj0Xgro4G5lP5asESjwHracYJvVaPIyXMuiuXLlhic3S47cBdTb+jfODkTE5YtGCLt3Ay3+J97sA==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^24.2.0" - } - }, - "node_modules/@octokit/request": { - "version": "10.0.16", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-10.0.16.tgz", - "integrity": "sha512-A0zWGjHzISIb+9ccG8s0dq7LKO5zVpJLRICjgUb+sJxEWqn8RUHB1rD3AE51+PECvXHIxqZ1VVvs4fHTSD9nUQ==", - "license": "MIT", - "dependencies": { - "@octokit/endpoint": "^11.0.5", - "@octokit/request-error": "^7.1.2", - "@octokit/types": "^18.0.0", - "content-type": "^3.0.0", - "json-with-bigint": "^3.5.12", - "universal-user-agent": "^7.0.2" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/request-error": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-7.1.2.tgz", - "integrity": "sha512-XZRuT3xZ84D3gYErI1DZvhJ33dCWVV6uzBtWkaBB4TvA/L6eOeTZodxLFVB44bBEEo3vEx7y00UfX1tBLrtLRg==", - "license": "MIT", - "dependencies": { - "@octokit/types": "^18.0.0" - }, - "engines": { - "node": ">= 20" - } - }, - "node_modules/@octokit/rest": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-21.1.1.tgz", - "integrity": "sha512-sTQV7va0IUVZcntzy1q3QqPm/r8rWtDCqpRAmb8eXXnKkjoQEtFe3Nt5GTVsHft+R6jJoHeSiVLcgcvhtue/rg==", - "license": "MIT", - "dependencies": { - "@octokit/core": "^6.1.4", - "@octokit/plugin-paginate-rest": "^11.4.2", - "@octokit/plugin-request-log": "^5.3.1", - "@octokit/plugin-rest-endpoint-methods": "^13.3.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@octokit/types": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-18.0.0.tgz", - "integrity": "sha512-l6bAF43PNxkJp6g+W4PjoUSSkxHomXw2nOum5CTftJz1NlV3vu93NImgOYtLf6CbBUb5j+fiuzW0PPQ5JTSvZA==", - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^29.0.1" - } - }, - "node_modules/before-after-hook": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-3.0.2.tgz", - "integrity": "sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==", - "license": "Apache-2.0" - }, - "node_modules/citty": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/citty/-/citty-0.1.6.tgz", - "integrity": "sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==", - "license": "MIT", - "dependencies": { - "consola": "^3.2.3" - } - }, - "node_modules/consola": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz", - "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==", - "license": "MIT", - "engines": { - "node": "^14.18.0 || >=16.10.0" - } - }, - "node_modules/content-type": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-3.1.1.tgz", - "integrity": "sha512-GW4qUsfFo59d0HbUibDlWv5wPz+vAAcaTWbKIuKCf0JkC7wWkSyf8f13IpXn5JkeMlB2P8iTSSIjwXljorg2vA==", - "license": "MIT", - "engines": { - "node": ">=22" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/fast-content-type-parse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-2.0.1.tgz", - "integrity": "sha512-nGqtvLrj5w0naR6tDPfB4cUmYCqouzyQiz6C5y/LtcDllJdrcc6WaWW6iXyIIOErTa/XRybj28aasdn4LkVk6Q==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "MIT" - }, - "node_modules/json-with-bigint": { - "version": "3.5.12", - "resolved": "https://registry.npmjs.org/json-with-bigint/-/json-with-bigint-3.5.12.tgz", - "integrity": "sha512-uwbF/wSSuOgC7qqlq27Xp5B6a2MHVug3t0idZdTqu0JnlFvgJuH7ju+KAk/J06C7GfhoYy2gnb9wz2INqcne7w==", - "license": "MIT" - }, - "node_modules/toad-cache": { - "version": "3.7.4", - "resolved": "https://registry.npmjs.org/toad-cache/-/toad-cache-3.7.4.tgz", - "integrity": "sha512-m1TdR/rvT7kgGJZhspNtXdsdYk0fddFpJJFlG5s+UkPFo6lkLoZ3YLOaovPYjq1R75NP5JfeTlSHaOsE09peCg==", - "license": "MIT", - "engines": { - "node": ">=20" - } - }, - "node_modules/universal-github-app-jwt": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/universal-github-app-jwt/-/universal-github-app-jwt-2.2.2.tgz", - "integrity": "sha512-dcmbeSrOdTnsjGjUfAlqNDJrhxXizjAz94ija9Qw8YkZ1uu0d+GoZzyH+Jb9tIIqvGsadUfwg+22k5aDqqwzbw==", - "license": "MIT" - }, - "node_modules/universal-user-agent": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz", - "integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A==", - "license": "ISC" - }, - "node_modules/zod": { - "version": "3.25.76", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", - "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, - "node_modules/zod-to-json-schema": { - "version": "3.25.2", - "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.25.2.tgz", - "integrity": "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==", - "license": "ISC", - "peerDependencies": { - "zod": "^3.25.28 || ^4" - } - } - } -} diff --git a/pkgs/jules/default.nix b/pkgs/jules/default.nix deleted file mode 100644 index 79cffd3f3f..0000000000 --- a/pkgs/jules/default.nix +++ /dev/null @@ -1,108 +0,0 @@ -{ - lib, - stdenvNoCC, - fetchurl, - autoPatchelfHook, - makeWrapper, - libsecret, - versionCheckHook, -}: - -# Jules Tools -- the CLI for Google's Jules async coding agent. -# https://jules.google -# Docs: https://jules.google/docs/cli/reference.md -# SDK: https://github.com/google-labs-code/jules-sdk -# -# Packaging notes: -# * Not in nixpkgs (verified: pkgs/by-name/ju/jules and .../jules-cli both -# absent) and no third-party flake exists. -# * `npm install -g @google/jules` does NOT work on NixOS. That npm package is -# a four-file stub whose postinstall downloads this tarball; the payload is a -# dynamically linked Go binary wanting /lib64/ld-linux-x86-64.so.2, which -# does not exist here. We skip npm entirely and pin the artifact. -# * Packaged the same way as nixpkgs' antigravity-cli (also a Google -# storage.googleapis.com tarball + autoPatchelfHook), so the shape here is -# deliberately parallel to that derivation. -# * The bundled dependency list (from licenses/ in the tarball) includes -# github.com/zalando/go-keyring, so `jules login` wants a DBus Secret -# Service -- gnome-keyring, KWallet or similar. libsecret is wired in for -# that. Without a running secret service, login will fail even though the -# binary runs. -# * It also bundles github.com/minio/selfupdate. Self-update cannot work -# against a read-only /nix/store; expect it to fail loudly rather than -# silently corrupt anything. Update by bumping this file. -# * Auth alternatives that avoid the keyring entirely: the REST API takes an -# API key in the `x-goog-api-key` header (JULES_API_KEY by convention), -# minted at https://jules.google.com/settings -- max 3 keys per account. -# * Free tier is 15 tasks/day, 3 concurrent. Paid tiers currently only -# purchasable on individual @gmail.com accounts, not Workspace. -# * npm publishes this with `"license": null`; upstream ships no LICENSE for -# the tool itself (only vendored dependency licences), so it is marked -# unfree-redistributable rather than guessed at. -# -# To update: bump version, then -# nix store prefetch-file --json \ -# "https://storage.googleapis.com/jules-cli/v/jules_external_v_linux_amd64.tar.gz" - -let - version = "0.1.42"; - - throwSystem = throw "jules: unsupported system ${stdenvNoCC.hostPlatform.system}"; - - sources = { - x86_64-linux = { - url = "https://storage.googleapis.com/jules-cli/v${version}/jules_external_v${version}_linux_amd64.tar.gz"; - hash = "sha256-c869LI+Jubsk703MuM15Q8y2npmzfeJnwvV5Mjen0QM="; - }; - }; -in -stdenvNoCC.mkDerivation (finalAttrs: { - pname = "jules"; - inherit version; - - strictDeps = true; - - src = fetchurl (sources.${stdenvNoCC.hostPlatform.system} or throwSystem); - - # Tarball has no top-level directory: jules, run.cjs, README.md, licenses/. - sourceRoot = "."; - - nativeBuildInputs = [ - autoPatchelfHook - makeWrapper - ]; - buildInputs = [ libsecret ]; - - dontConfigure = true; - dontBuild = true; - - installPhase = '' - runHook preInstall - - install -Dm755 jules "$out/bin/jules" - install -Dm644 README.md "$out/share/doc/jules/README.md" - cp -r licenses "$out/share/doc/jules/licenses" - - runHook postInstall - ''; - - postInstall = '' - wrapProgram "$out/bin/jules" \ - --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libsecret ]} - ''; - - nativeInstallCheckInputs = [ versionCheckHook ]; - versionCheckProgramArg = "version"; - doInstallCheck = true; - - meta = { - description = "CLI for Jules, Google's asynchronous coding agent"; - homepage = "https://jules.google"; - downloadPage = "https://www.npmjs.com/package/@google/jules"; - # Upstream ships no licence for the tool itself and npm reports none. - license = lib.licenses.unfree; - mainProgram = "jules"; - platforms = [ "x86_64-linux" ]; - sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; - }; -}) diff --git a/pm-stack/aggregator/README.md b/pm-stack/aggregator/README.md index ac665f708c..4bc21361a0 100644 --- a/pm-stack/aggregator/README.md +++ b/pm-stack/aggregator/README.md @@ -63,16 +63,13 @@ that is plumbing, not links). its tiers win for anything they name, reason verbatim) → a keeper "escalate" supervision note → a decision-shaped question → a destructive permission request → a credential/sign-in wall. Routine - questions, errors, and tool permissions are the orchestrator's — - and so are Jules' questions (the keeper answers those itself). + questions, errors, and tool permissions are the orchestrator's. - **Expiry**: a finished run (the runtime reported an outcome) expires 2 h after its last activity; anything expires at 24 h. The page counts what expired. - **Sources**: every entry is stamped `opencode-sandbox` / - `opencode-laptop` / `jules` / `claude-code`; OpenCode sub-sessions - carry `parentId` and collapse under their parent. **Jules is wired** - via the keeper's `jules-review-state.json` (collector-side, - `src/sources/jules.ts`). **Muse** has no runtime registry to + `opencode-laptop` / `claude-code`; OpenCode sub-sessions + carry `parentId` and collapse under their parent. **Muse** has no runtime registry to read; slice 3 (#906) wires it via launch records instead — a Muse session that never wrote one stays invisible, and the coverage note on the page says which (see "Session identity registry" above). @@ -213,9 +210,7 @@ Kinds and consumers (one consumer per kind/source slice): its single writer, #910 — applies it and its run log names "requested via dashboard, action da-…". - **session** — routed by the recorded `sessionSource`: `poke` / - `answer` / `stop` on live sessions. Jules sessions are - keeper-mediated (the jules-review job consumes their `answer` - actions; poke/stop render disabled with the reason), OpenCode + `answer` / `stop` on live sessions. OpenCode sessions are consumed by the orchestration pass, and sources with no live control channel (Muse, cron) render no enabled controls. Stop sits behind a two-step confirm. @@ -288,7 +283,6 @@ token total so counts never go backwards): - **OpenCode** (laptop live + sandbox via the feed): session id, parent id, agent identity (`opencode:`, `opencode (sub)` for unnamed sub-sessions), status, per-session token totals. -- **Jules**: keeper state, via the feed. - **Muse**: launch records appended at spawn to a JSONL the collector carries — `scripts/record-claude-launch.ts` writes them, `CLAUDE_LAUNCH_RECORDS_PATH` locates the file; a record is @@ -502,7 +496,7 @@ the load-bearing claims against the code and configuration (see | Quota (#851) | Fleet feed file (`fleet-feed.json`), overlaid by the quota gatherer's `quota-current.json` | fixtures when no feed exists | collector (sandbox) + gatherer timer | | Attention (#852) | Laptop OpenCode server live (state file, 45s cache) + sandbox via fleet feed | fixtures when neither is reachable | OpenCode servers (both hosts) | | DNS (#906) | Fleet feed `dns` section, parsed collector-side from the #902 register | fixtures when no section exists | collector (sandbox) | -| Registry (#906) | Feed registry records (sandbox OpenCode, Jules, Muse launches) merged with live laptop OpenCode records into the durable registry file | fixtures when the feed is absent | aggregator unit + collector | +| Registry (#906) | Feed registry records (sandbox OpenCode, Muse launches) merged with live laptop OpenCode records into the durable registry file | fixtures when the feed is absent | aggregator unit + collector | | **Projector** (service) | GitHub projection + link registry at `PM_PROJECTOR_URL` (default `http://127.0.0.1:7801`); 15-minute reconcile timer keeps it fresh (no public webhook route by design) | facets fall back per the rows above when it is unreachable | **Deployed**: `pm-projector` user unit declared in `nixos/services/pm-stack`; the aggregator unit `Wants`/`After` it and pins `PM_PROJECTOR_URL` to it | | **Pad** (service) | — (the aggregator reads no Pad data; Pad is not a facet source) | — | **Deployed as the planning layer only**: NixOS OCI container `pm-pad`, declared by `services.pm-apps` (`nixos/services/pm-apps/default.nix`); named here so its absence from the facet rows is a stated fact, not an omission | @@ -639,11 +633,7 @@ tick visible on /quota. - **Sandbox attention** — sessions mapped by the shared OpenCode v2 mapper (`src/sources/opencode.ts`), stamped `opencode-sandbox` with - parent/agent/outcome; keeper supervision entries from - `jules-review-state.json` annotate matching sessions. -- **Jules attention** (slice 2) — the keeper's tracked Jules sessions - from the same state file, mapped by `src/sources/jules.ts`, plus the - keeper's run totals as `julesSummary`. + parent/agent/outcome. - **Orchestration section** (slice 2, #899 — the unified contract) — the orchestration job republishes `~/workspace/goals/keep-the-four-repos-healthy/hidden_files/orchestration.json` @@ -683,8 +673,8 @@ tick visible on /quota. says why). - **Registry records** (slice 3, #906) — normalized session records (`src/registry.ts`) for sandbox OpenCode sessions (with per-session - token totals read off the server at collection time), Jules - sessions, and Muse launch records (JSONL at + token totals read off the server at collection time) and + Muse launch records (JSONL at `CLAUDE_LAUNCH_RECORDS_PATH`, written by `scripts/record-claude-launch.ts`). The aggregator merges them with live laptop records into its durable registry. @@ -824,7 +814,6 @@ src/ fixtures.ts fixture data (real Grist seed + design-record refs) live.ts Kaneo/Grist/projector readers with per-facet fallback opencode.ts OpenCode v2 server -> SessionFeedEntry mapper (shared) - jules.ts keeper state -> Jules SessionFeedEntry mapper (shared) opencode-tools/ session-identity.ts OpenCode tool: a session reports its own id (#906) scripts/ @@ -839,7 +828,7 @@ test/ projector.test.ts projector wire-schema mapping + stub-server reads opencode.test.ts mapper against a stub OpenCode v2 server quota.test.ts extractors + guidance against the dated-read format - slice2.test.ts tiers, expiry, hierarchy, Jules mapping, roadmap + slice2.test.ts tiers, expiry, hierarchy, roadmap grains, today derivation, slice-2 render smoke slice3.test.ts dns parser, registry normalization, comment store, page manifest, slice-3 renders + HTTP flows diff --git a/pm-stack/aggregator/scripts/collect-fleet-feed.ts b/pm-stack/aggregator/scripts/collect-fleet-feed.ts index 578ff2dda5..b850a63d8f 100644 --- a/pm-stack/aggregator/scripts/collect-fleet-feed.ts +++ b/pm-stack/aggregator/scripts/collect-fleet-feed.ts @@ -21,8 +21,6 @@ // state.json persists the keys already shown. Absent file = the // pre-#1057 hand-fed charges only. No balances or debt data ever // pass through: candidates are charge evidence only. -// - jules-review-state.json — keeper supervision entries annotate -// matching sessions as evidence. // - orchestration.json — the orchestration job's latest section // (#899: tiers, dependencies, goal measurements), embedded only // after normalizeOrchestrationSection accepts it (the collector @@ -60,7 +58,7 @@ // leaves); an unreadable config omits only the coverage. // // Usage: bun run scripts/collect-fleet-feed.ts [--out ] -// Env overrides: QUOTA_VIEW_PATH, JULES_STATE_PATH, OPENCODE_SERVER_URL +// Env overrides: QUOTA_VIEW_PATH, OPENCODE_SERVER_URL // (SANDBOX_OPENCODE_URL legacy alias), OPENCODE_SESSION_SOURCE, // OPENCODE_SERVER_PASSWORD_FILE, ORCHESTRATION_PATH, DNS_REGISTER_PATH, // CLAUDE_LAUNCH_RECORDS_PATH, QUOTA_REGISTRY_PATH (the hub's PAYG/charges @@ -94,7 +92,6 @@ import type { AaFeedSection, AaSection, DnsSection, - JulesSummary, OrchestrationSection, QuotaPool, SessionFeedEntry, @@ -115,7 +112,6 @@ import type { ProjectPoolItem } from "../src/model.ts"; import { REPOS } from "../src/model.ts"; import type { RepoCensus } from "../src/coverage.ts"; import { parseLaunchRecords, recordFromSessionEntry } from "../src/registry.ts"; -import { droppedJulesItemCount, julesSummary, mapJulesItems, type JulesReviewState } from "../src/sources/jules.ts"; import { mapServerSessions, poolBurn } from "../src/sources/opencode.ts"; const PKG = join(dirname(fileURLToPath(import.meta.url)), ".."); @@ -156,7 +152,6 @@ const quotaViewPath = HOME, "workspace/goals/stewardship-commission-recurring-review-and-dispatch/hidden_files/visibility/quota-view.md", ); -const julesStatePath = process.env.JULES_STATE_PATH ?? join(HIDDEN, "jules-review-state.json"); const orchestrationPath = process.env.ORCHESTRATION_PATH ?? join(HIDDEN, "orchestration.json"); const dnsRegisterPath = process.env.DNS_REGISTER_PATH ?? @@ -213,25 +208,6 @@ function poolFor(provider: string, model: string): string | null { } } -/** sessionId -> "keeper " from jules-review-state.json. */ -async function supervisionNotes(): Promise> { - const notes = new Map(); - try { - const state = JSON.parse(await readFile(julesStatePath, "utf8")) as { - opencode_supervision?: { at?: string; action?: string; error?: string; outcome?: string }[]; - }; - for (const entry of state.opencode_supervision ?? []) { - const text = `${entry.error ?? ""}\n${entry.outcome ?? ""}`; - for (const m of text.matchAll(/ses_[A-Za-z0-9]+/g)) { - notes.set(m[0], `keeper ${entry.action ?? "assessed"} ${entry.at ?? ""}`.trim()); - } - } - } catch { - /* annotations are best-effort */ - } - return notes; -} - /** * Drain the §4 writers' outbox: records appended by stewardship-cycle * (scripts/append-usage-snapshots.ts) and the keeper's check-usage. @@ -622,11 +598,6 @@ async function main(): Promise { for (const e of mapped.entries) { registry.push(recordFromSessionEntry(e, mapped.tokensBySession.get(e.sessionId))); } - const notes = await supervisionNotes(); - for (const e of attention) { - const note = notes.get(e.sessionId); - if (note) e.supervisionNote = note; - } // Burn attribution: sessions the server holds active right now. const simple = mapped.entries.map((e) => ({ id: e.sessionId, @@ -653,32 +624,6 @@ async function main(): Promise { markSection("attention", "error", err); } - // --- Jules sessions + keeper totals (slice 2, #898 §5) ------------------ - let jules: JulesSummary | undefined; - let julesState: unknown; - let julesReadable = false; - try { - julesState = JSON.parse(await readFile(julesStatePath, "utf8")) as unknown; - julesReadable = true; - } catch (err) { - console.error("collector: jules-review state unreadable; no Jules sessions this run"); - markSection("julesSummary", isMissingInput(err) ? "skipped" : "error", err); - } - if (julesReadable) { - const state = julesState as JulesReviewState; - const entries = mapJulesItems(state); - if (entries.length) attention = [...attention, ...entries]; - for (const e of entries) registry.push(recordFromSessionEntry(e)); - jules = julesSummary(state); - const dropped = droppedJulesItemCount(state); - if (dropped > 0) { - console.error( - `collector: jules-review state malformed; skipped ${dropped} item(s), kept ${entries.length} session(s)`, - ); - } - markSection("julesSummary", "ok"); - } - // --- Muse launch records (#906 §3) -------------------------------- // Muse sessions have no server to scrape: they register by // appending one JSON line at launch (scripts/record-claude-launch.ts). @@ -911,7 +856,6 @@ async function main(): Promise { meta: { sections: sectionStatuses }, quota: { pools, burn: [], choices: computeChoices(pools, now.getTime()) }, attention, - julesSummary: jules, ...(orchestration ? { orchestration } : {}), ...(dns ? { dns } : {}), ...(registry.length ? { registry } : {}), @@ -928,7 +872,7 @@ async function main(): Promise { await writeFile(outPath, JSON.stringify(feed, null, 2)); const withReads = pools.filter((p) => p.windows.length > 0).length; console.log( - `collector: wrote ${outPath} — ${pools.length} pools (${withReads} with reads), ${attention.length} sessions (${sessionSource} + jules${jules ? `, ${jules.tracked} jules tracked` : ""})` + + `collector: wrote ${outPath} — ${pools.length} pools (${withReads} with reads), ${attention.length} sessions (${sessionSource})` + (orchestration ? `, orchestration ${orchestration.runId}` : ", no orchestration section") + (dns ? `, dns ${dns.entries.length} domains` : ", no dns section") + (saas diff --git a/pm-stack/aggregator/src/actions.ts b/pm-stack/aggregator/src/actions.ts index bdca9ad4da..2557aad71c 100644 --- a/pm-stack/aggregator/src/actions.ts +++ b/pm-stack/aggregator/src/actions.ts @@ -26,12 +26,11 @@ // Project's single writer (#910), so it performs the Status write // itself and its run log names "requested via dashboard, action // da-…". -// - kind "session" — routed by the action's sessionSource: the Jules -// keeper (jules-review) consumes source "jules" (answer only — -// poke/stop render disabled on Jules cards); the orchestration pass -// consumes the OpenCode sources ("opencode-sandbox", -// "opencode-laptop") for poke/answer/stop. Sources with no live -// control channel (claude-code, cron) render no enabled controls. +// - kind "session" — routed by the action's sessionSource: the +// orchestration pass consumes the OpenCode sources +// ("opencode-sandbox", "opencode-laptop") for poke/answer/stop. +// Sources with no live control channel (claude-code, cron) render +// no enabled controls. // - kind "preference" — the orchestration pass: set-delegation-default // records the standing auto toggle (#1290; Drew's 2026-10-27 decision // is the initial record). The aggregator also reads these records to @@ -285,7 +284,7 @@ function answerQuestionIds(action: Pick): string[ return [...ids]; } -const SESSION_SOURCES = new Set(["opencode-sandbox", "opencode-laptop", "jules", "claude-code", "cron"]); +const SESSION_SOURCES = new Set(["opencode-sandbox", "opencode-laptop", "claude-code", "cron"]); function cleanText(v: unknown, max: number): string | undefined { if (typeof v !== "string") return undefined; diff --git a/pm-stack/aggregator/src/feed.ts b/pm-stack/aggregator/src/feed.ts index 7032de6f66..da58412653 100644 --- a/pm-stack/aggregator/src/feed.ts +++ b/pm-stack/aggregator/src/feed.ts @@ -28,7 +28,6 @@ import type { ChargeRow, DnsSection, GoalMeasurement, - JulesSummary, OrchestrationProvenance, OrchestrationSection, PaygLine, @@ -87,15 +86,13 @@ export interface FleetFeed { /** PAYG lines loadFeed's sanitization dropped (#2450), set only * when drops occurred; absent on raw parsed feeds and clean loads. */ paygDropped?: number; - /** Sandbox-server + Jules sessions, pre-classification (render classifies). */ + /** Sandbox-server sessions, pre-classification (render classifies). */ attention: SessionFeedEntry[]; - /** Jules keeper totals (slice 2); absent when the keeper state is unreadable. */ - julesSummary?: JulesSummary; /** The orchestration job's latest section (#899), when one exists. */ orchestration?: OrchestrationSection; /** The DNS/domain register (#902), parsed by the collector (slice 3). */ dns?: DnsSection; - /** Identity-registry records (#906 §3): sandbox OpenCode + Jules + Muse launches. */ + /** Identity-registry records (#906 §3): sandbox OpenCode + Muse launches. */ registry?: SessionRecord[]; /** Usage & billing hub (design §2.3): family-2 services extracted from * quota-view.md Part (b) by the collector; absent in older feeds. */ diff --git a/pm-stack/aggregator/src/health.ts b/pm-stack/aggregator/src/health.ts index 85cfa09618..d370e26b84 100644 --- a/pm-stack/aggregator/src/health.ts +++ b/pm-stack/aggregator/src/health.ts @@ -306,7 +306,6 @@ function feedSections(feed: FleetFeed | null, now: number): FeedSectionHealth[] section("attention", undefined, true), section("orchestration", feed.orchestration?.generatedAt, feed.orchestration !== undefined), section("dns", feed.dns?.generatedAt, feed.dns !== undefined), - section("julesSummary", undefined, feed.julesSummary !== undefined), section("registry", undefined, feed.registry !== undefined), section("projects", undefined, feed.projects !== undefined), section("coverage", undefined, feed.coverage !== undefined), diff --git a/pm-stack/aggregator/src/model.ts b/pm-stack/aggregator/src/model.ts index d8744522ec..cab07cbe88 100644 --- a/pm-stack/aggregator/src/model.ts +++ b/pm-stack/aggregator/src/model.ts @@ -447,20 +447,6 @@ export interface SourceCoverage { detail: string; } -/** Keeper run totals for Jules, parsed from jules-review-state.json. */ -export interface JulesSummary { - /** When the keeper last ran (its `last_run`). */ - at: string | null; - /** Sessions the keeper currently tracks in its `items` map. */ - tracked: number; - /** Totals from the note written by the keeper's last run, when it parses. */ - total?: number; - completed?: number; - failed?: number; - inProgress?: number; - awaitingFeedback?: number; - awaitingPlan?: number; -} export function refKey(ref: GhRef): RefKey { return `${ref.repo}#${ref.number}`; diff --git a/pm-stack/aggregator/src/project-config.ts b/pm-stack/aggregator/src/project-config.ts index 32c3c03393..e856ef1dd4 100644 --- a/pm-stack/aggregator/src/project-config.ts +++ b/pm-stack/aggregator/src/project-config.ts @@ -348,7 +348,7 @@ export const PROJECT_CONFIGS: ProjectConfig[] = [ id: "repo-fleet", title: "Repo fleet", intro: - "The four working repos and the automation that keeps them healthy: developing-today/code, developing-today/opencode, developing-today/openchamber, and dezren39/nix. Issue sweeps, the issue creator, PR shepherding, Jules, and the hourly orchestration job work these queues; this project tracks the fleet-level work — CI, automation, and triage — while each project's own checks live in its own roadmap.", + "The four working repos and the automation that keeps them healthy: developing-today/code, developing-today/opencode, developing-today/openchamber, and dezren39/nix. Issue sweeps, the issue creator, PR shepherding and the hourly orchestration job work these queues; this project tracks the fleet-level work — CI, automation, and triage — while each project's own checks live in its own roadmap.", poolArea: "fleet-ops", roadmapArea: "Repo fleet", homeDoc: home("planning/roadmaps/repo-and-ci.md"), diff --git a/pm-stack/aggregator/src/registry.ts b/pm-stack/aggregator/src/registry.ts index e95e0d9d34..10c22550e0 100644 --- a/pm-stack/aggregator/src/registry.ts +++ b/pm-stack/aggregator/src/registry.ts @@ -1,6 +1,6 @@ // The agent/session identity registry (#906 §3). Pure builders + merge: // the collector assembles records from the sources it can read (sandbox -// OpenCode sessions, the Jules keeper state, Muse launch +// OpenCode sessions, Muse launch // records), the fleet feed carries them, and the aggregator merges them // with the laptop's live sessions into a durable store — so a session // stays in the registry after it expires out of the attention feed. diff --git a/pm-stack/aggregator/src/render.ts b/pm-stack/aggregator/src/render.ts index 5edd30af27..6f7f63e80e 100644 --- a/pm-stack/aggregator/src/render.ts +++ b/pm-stack/aggregator/src/render.ts @@ -1620,13 +1620,6 @@ export function sessionVerbSupport(source: string): { verb: "poke" | "answer" | if (source === "opencode-sandbox" || source === "opencode-laptop") { return [{ verb: "poke" }, { verb: "answer" }, { verb: "stop" }]; } - if (source === "jules") { - return [ - { verb: "poke", reason: "Jules sessions are keeper-mediated — answer only" }, - { verb: "answer" }, - { verb: "stop", reason: "Jules sessions are keeper-mediated — answer only" }, - ]; - } if (source === "claude-code") { const reason = "No live control channel for Muse sessions — launch records only"; return [ @@ -6060,7 +6053,7 @@ export function renderSessions( } const body = `

Sessions — identity registry

${viewHtml}

Every agent/session the fleet can see, with its stable id, the agent identity it ran as, its parent session, and its token total where the source reports one. Task links are loose (from the session's PR, title, or launch record) and improve over time. ${records.length} records shown · ${totalTokens.toLocaleString()} tokens recorded on this page. Machine-first: /api/registry.json.

-

Coverage honesty: OpenCode sessions register from their servers; Jules from the keeper's state; Muse sessions only when a launch record was appended at spawn (scripts/record-claude-launch.ts) — a Muse session that never wrote one is invisible here, and the coverage note on Needs you says which sources are wired.

+

Coverage honesty: OpenCode sessions register from their servers; Muse sessions only when a launch record was appended at spawn (scripts/record-claude-launch.ts) — a Muse session that never wrote one is invisible here, and the coverage note on Needs you says which sources are wired.

${groups || '

No sessions recorded yet.

'}`; return layout( "Sessions", diff --git a/pm-stack/aggregator/src/server.ts b/pm-stack/aggregator/src/server.ts index 89aa2d15b2..50dab6684b 100644 --- a/pm-stack/aggregator/src/server.ts +++ b/pm-stack/aggregator/src/server.ts @@ -959,7 +959,7 @@ async function handler(req: Request): Promise { } // --- Dashboard action writes (#1152/#1154/#1156) ----------------------- // The triage write path: forms POST DashActions here; the fleet - // consumers (orchestration pass, Jules keeper) poll state=new and + // consumers (orchestration pass) poll state=new and // report outcomes to /api/actions/result. The dashboard itself never // writes GitHub, the Project, or a session server. if (req.method === "POST" && path === "/api/actions") { diff --git a/pm-stack/aggregator/src/snapshots.ts b/pm-stack/aggregator/src/snapshots.ts index 46a5b88bcb..bcbe0a2282 100644 --- a/pm-stack/aggregator/src/snapshots.ts +++ b/pm-stack/aggregator/src/snapshots.ts @@ -1,8 +1,8 @@ // The usage snapshot store (hub design §4): append-only history for // usage metrics, one JSONL file per month (`usage-YYYY-MM.jsonl`) in a // durable directory beside the comments/registry stores. Writers are -// the owning jobs (fleet-feed collector, stewardship-cycle, the Jules -// keeper) and the one-shot backfill script; the aggregator only reads. +// the owning jobs (fleet-feed collector, stewardship-cycle) and the +// one-shot backfill script; the aggregator only reads. // // Retention (§6, #1117): raw monthly files are kept for 13 months, // then compacted in place into monthly rollup files diff --git a/pm-stack/aggregator/src/sources/fixtures.ts b/pm-stack/aggregator/src/sources/fixtures.ts index 84c8eeab72..34e2bf8391 100644 --- a/pm-stack/aggregator/src/sources/fixtures.ts +++ b/pm-stack/aggregator/src/sources/fixtures.ts @@ -536,19 +536,6 @@ export const FIXTURE_ATTENTION: SessionFeedEntry[] = [ repeatedErrorCount: 4, lastTurnError: "claude_session_limit (retry)", }, - { - // Jules, wired via the keeper's state in slice 2. - sessionId: "4259424002214698449", - source: "jules", - title: "Fix #811: id phase-9: a joiner's resize (up to 500x200) can permanently…", - directory: "developing-today/code", - createdAt: ago(5), - lastActivityAt: ago(0.2), - messageCount: 0, - activeToolCalls: 0, - awaitingQuestion: "Does this look good, and should I proceed?", - supervisionNote: "Jules AWAITING_USER_FEEDBACK · keeper: replied", - }, { // A finished one-shot probe: expires out of the view (slice 2). sessionId: "ses_old_probe", @@ -1426,12 +1413,6 @@ export function fixtureSource(): Source { wired: true, detail: "fixtures", }, - { - source: "jules", - label: "Jules", - wired: true, - detail: "fixtures (keeper state)", - }, { source: "claude-code", label: "Muse", diff --git a/pm-stack/aggregator/src/sources/jules.ts b/pm-stack/aggregator/src/sources/jules.ts deleted file mode 100644 index 96d373b87a..0000000000 --- a/pm-stack/aggregator/src/sources/jules.ts +++ /dev/null @@ -1,170 +0,0 @@ -// Jules sessions from the keeper's state file (#898 §5). jules-review -// (the keeper cron) tracks the Jules sessions it supervises in -// jules-review-state.json: an `items` map keyed by the Jules session id -// with { state, title, source, created, last_action, last_action_at, -// note }, plus free-text run notes (jules_note_) carrying the -// run totals. This module maps that shape to SessionFeedEntry rows -// with source "jules" — pure functions, no I/O, so the collector owns -// the file read and tests can feed it literals. -import type { JulesSummary, SessionFeedEntry } from "../model.ts"; - -export interface JulesItem { - state?: string; - title?: string; - /** "sources/github//" */ - source?: string; - created?: string; - last_action?: string; - last_action_at?: string; - note?: string; -} - -export interface JulesReviewState { - items?: unknown; - last_run?: string; - [key: string]: unknown; -} - -function isPlainObject(value: unknown): value is Record { - return typeof value === "object" && value !== null && !Array.isArray(value); -} - -function validJulesEntries(state: unknown): { - entries: [string, JulesItem][]; - droppedCount: number; -} { - if (!isPlainObject(state) || !isPlainObject(state.items)) { - return { entries: [], droppedCount: 0 }; - } - - const entries: [string, JulesItem][] = []; - let droppedCount = 0; - for (const [id, value] of Object.entries(state.items)) { - if (!isPlainObject(value)) { - droppedCount += 1; - continue; - } - entries.push([ - id, - { - state: typeof value.state === "string" ? value.state : undefined, - title: typeof value.title === "string" ? value.title : undefined, - source: typeof value.source === "string" ? value.source : undefined, - created: typeof value.created === "string" ? value.created : undefined, - last_action: typeof value.last_action === "string" ? value.last_action : undefined, - last_action_at: typeof value.last_action_at === "string" ? value.last_action_at : undefined, - note: typeof value.note === "string" ? value.note : undefined, - }, - ]); - } - return { entries, droppedCount }; -} - -/** Number of malformed per-session values in the keeper's items object. */ -export function droppedJulesItemCount(state: JulesReviewState): number { - return validJulesEntries(state).droppedCount; -} - -function repoOf(item: JulesItem): string | undefined { - const m = /^sources\/github\/(.+)$/.exec(item.source ?? ""); - return m ? m[1] : item.source; -} - -/** The question a Jules session is waiting on, when its note quotes one. */ -function askedQuestion(note: string | undefined): string | null { - if (!note) return null; - const m = /asked ['"]([^'"]{4,200})['"]/i.exec(note) ?? /['"]([^'"]{4,200}\?)['"]/.exec(note); - return m ? m[1] : null; -} - -/** Map the keeper's tracked Jules sessions to feed entries. */ -export function mapJulesItems(state: JulesReviewState): SessionFeedEntry[] { - const out: SessionFeedEntry[] = []; - for (const [id, item] of validJulesEntries(state).entries) { - const entry: SessionFeedEntry = { - sessionId: id, - source: "jules", - title: item.title, - directory: repoOf(item), - createdAt: item.created, - lastActivityAt: item.last_action_at ?? item.created ?? null, - activeToolCalls: 0, - supervisionNote: `Jules ${item.state ?? "UNKNOWN"}${item.last_action ? ` · keeper: ${item.last_action}` : ""}`, - }; - switch ((item.state ?? "").toUpperCase()) { - case "IN_PROGRESS": - entry.activeToolCalls = 1; - break; - case "AWAITING_USER_FEEDBACK": - entry.awaitingQuestion = - askedQuestion(item.note) ?? "Awaiting feedback in Jules (the keeper usually replies automatically)"; - break; - case "AWAITING_PLAN_APPROVAL": - entry.awaitingQuestion = "Plan awaiting approval in Jules"; - break; - case "FAILED": - entry.lastTurnError = "Jules run failed"; - entry.outcome = "failed"; - break; - case "COMPLETED": - entry.outcome = "succeeded"; - break; - } - out.push(entry); - } - return out; -} - -const TOTALS = - /(\d+) sessions - (\d+) COMPLETED, (\d+) FAILED, (\d+) AWAITING_USER_FEEDBACK, (\d+) AWAITING_PLAN_APPROVAL, (\d+) IN_PROGRESS/; - -/** Zero-padded UTC HHMM of an ISO timestamp, or null when unparseable. */ -function hhmmOf(iso: string | undefined): string | null { - if (!iso) return null; - const m = /T(\d{1,2}):(\d{2})/.exec(iso); - if (!m) return null; - const h = Number(m[1]); - const min = Number(m[2]); - if (h > 23 || min > 59) return null; - return `${String(h).padStart(2, "0")}${m[2]}`; -} - -/** - * Keeper totals from the note written by the run `last_run` names, when - * it parses. Note keys carry a time-of-day only (jules_note_), so - * the lexicographically largest key is not the freshest across midnight - * (#1587): yesterday's late note would outrank today's notes all day, - * and an unpadded key (905) outranks a padded later one (1458). Tie the - * totals to the last run's own note instead — key suffix zero-padded and - * compared numerically — and omit the totals when no note can be tied - * to the last run rather than attributing another run's numbers to it. - */ -export function julesSummary(state: JulesReviewState): JulesSummary { - const objectState = isPlainObject(state) ? state : {}; - const lastRun = typeof objectState.last_run === "string" ? objectState.last_run : undefined; - const summary: JulesSummary = { - at: lastRun ?? null, - tracked: validJulesEntries(state).entries.length, - }; - const target = hhmmOf(lastRun); - let bestText = ""; - if (target != null) { - for (const [k, v] of Object.entries(objectState)) { - const m = /^jules_note_(\d+)$/.exec(k); - if (m && typeof v === "string" && m[1].padStart(4, "0") === target) { - bestText = v; - break; - } - } - } - const m = TOTALS.exec(bestText); - if (m) { - summary.total = Number(m[1]); - summary.completed = Number(m[2]); - summary.failed = Number(m[3]); - summary.awaitingFeedback = Number(m[4]); - summary.awaitingPlan = Number(m[5]); - summary.inProgress = Number(m[6]); - } - return summary; -} diff --git a/pm-stack/aggregator/src/sources/live.ts b/pm-stack/aggregator/src/sources/live.ts index 7b4029aa09..92759dcf14 100644 --- a/pm-stack/aggregator/src/sources/live.ts +++ b/pm-stack/aggregator/src/sources/live.ts @@ -1636,7 +1636,7 @@ export function liveSource( return null; }, async registry(): Promise { - // Slice 3 (#906 §3): feed records (sandbox OpenCode + Jules + + // Slice 3 (#906 §3): feed records (sandbox OpenCode + // Muse launches) merged with the laptop server's live // sessions, accumulated into the durable store. const incoming: SessionRecord[] = []; @@ -1692,19 +1692,6 @@ export function liveSource( ? "unreachable on the last read — laptop sessions may be missing" : "not read yet this process", }); - const j = feed?.julesSummary; - out.push({ - source: "jules", - label: "Jules", - wired: Boolean(j), - detail: j - ? `via the keeper's state (jules-review) · ${j.tracked} tracked now · last keeper run ${j.at ?? "unknown"}${ - j.total != null - ? ` · last run totals: ${j.total} sessions — ${j.completed ?? 0} completed, ${j.failed ?? 0} failed, ${j.inProgress ?? 0} in progress, ${j.awaitingFeedback ?? 0} awaiting feedback (completed runs are pruned by the keeper)` - : "" - }` - : "keeper state not in the feed — Jules sessions are not visible", - }); const claudeRecords = (feed?.registry ?? []).filter((r) => r.source === "claude-code"); out.push({ source: "claude-code", diff --git a/pm-stack/aggregator/test/actions.test.ts b/pm-stack/aggregator/test/actions.test.ts index 5501cca112..f22e1f6498 100644 --- a/pm-stack/aggregator/test/actions.test.ts +++ b/pm-stack/aggregator/test/actions.test.ts @@ -394,7 +394,7 @@ describe("dashboard actions validation", () => { verb: "answer", objectRef: "session:ses_1", sessionId: "ses_1", - sessionSource: "jules", + sessionSource: "opencode-laptop", author: drew, payload: { text: "proceed" }, }); @@ -578,16 +578,16 @@ describe("attention action controls (#1152/#1156)", () => { expect(html).toContain('data-verb="snooze"'); // the unsnooze control rides the strip }); - test("jules session card: answer enabled, poke/stop disabled keeper-mediated", async () => { + test("retired jules source: no keeper-mediated session cards", async () => { const src = fixtureSource(); const view = buildAttention(await src.attention(), SECTION, NOW); const html = renderAttention(view, await src.coverage(), src.provenance(), undefined, undefined, { identities, actionsByObject: new Map(), }); - // The fixture feed carries Jules sessions; their cards must show - // the keeper-mediated honesty, not enabled poke/stop buttons. - expect(html).toContain("keeper-mediated — answer only"); + // Jules was retired (code#5098): the fixture feed carries no + // jules sessions and the keeper-mediated treatment is gone. + expect(html).not.toContain("keeper-mediated"); }); }); @@ -628,7 +628,7 @@ describe("status-request + session renders (#1154/#1156)", () => { expect(html).toContain("A request, not a write"); }); - test("live jules registry row: answer only; a stale row gets no controls", () => { + test("retired jules registry row: renders as history, without controls", () => { const live: SessionRecord = { id: "jules-live-1", source: "jules", @@ -645,8 +645,12 @@ describe("status-request + session renders (#1154/#1156)", () => { identities, actionsByObject: new Map(), }); - expect(html).toContain('data-session-id="jules-live-1"'); - expect(html).toContain("keeper-mediated — answer only"); + expect(html).toContain("jules-live-1"); + expect(html).not.toContain("keeper-mediated"); + // No action box for either row (data-session-id rides the box): + // the retired source has no verb support, and a stale row never + // gets controls. + expect(html).not.toContain('data-session-id="jules-live-1"'); expect(html).not.toContain('data-session-id="jules-old-1"'); }); }); @@ -773,7 +777,7 @@ describe("actions HTTP round-trip (fixture consumer)", () => { verb: "answer", objectRef: "session:duplicate-answer", sessionId: "duplicate-answer", - sessionSource: "jules", + sessionSource: "opencode-laptop", author: drew, payload: { text: "continue" }, }; diff --git a/pm-stack/aggregator/test/boot.test.ts b/pm-stack/aggregator/test/boot.test.ts index e2ccf24fe5..02c4b5b6f8 100644 --- a/pm-stack/aggregator/test/boot.test.ts +++ b/pm-stack/aggregator/test/boot.test.ts @@ -152,7 +152,7 @@ describe("server boots from fixtures", () => { coverage: { source: string; wired: boolean }[]; expired: number; }; - expect(coverage.coverage.find((c) => c.source === "jules")?.wired).toBe(true); + expect(coverage.coverage.find((c) => c.source === "jules")).toBeUndefined(); // source retired (code#5098) expect(coverage.coverage.find((c) => c.source === "claude-code")?.wired).toBe(false); expect(coverage.expired).toBeGreaterThan(0); // the finished fixture probe const week = await (await fetch(`http://127.0.0.1:${port}/roadmap?h=week`)).text(); diff --git a/pm-stack/aggregator/test/slice2.test.ts b/pm-stack/aggregator/test/slice2.test.ts index 6c50754061..5ef05fabd3 100644 --- a/pm-stack/aggregator/test/slice2.test.ts +++ b/pm-stack/aggregator/test/slice2.test.ts @@ -19,7 +19,6 @@ import { FIXTURE_ROADMAP, fixtureSource, } from "../src/sources/fixtures.ts"; -import { droppedJulesItemCount, julesSummary, mapJulesItems, type JulesReviewState } from "../src/sources/jules.ts"; const NOW = Date.parse("2026-10-25T15:00:00Z"); const iso = (ms: number) => new Date(ms).toISOString(); @@ -193,156 +192,6 @@ describe("session hierarchy (#898 §5)", () => { }); }); -describe("jules mapping (#898 §5)", () => { - const state: JulesReviewState = { - last_run: "2026-10-25T14:58:00Z", - items: { - "4259424002214698449": { - state: "AWAITING_USER_FEEDBACK", - title: "Fix #811: a joiner's resize", - source: "sources/github/developing-today/code", - created: "2026-10-25T12:44:14Z", - last_action: "replied", - last_action_at: "2026-10-25T14:58:25Z", - note: "Agent reported work done and asked 'Does this look good, and should I proceed?' Replied.", - }, - "999": { - state: "FAILED", - title: "Broke", - source: "sources/github/developing-today/opencode", - last_action_at: "2026-10-25T10:00:00Z", - }, - }, - jules_note_1458: - "Jules list this run: 84 sessions - 77 COMPLETED, 6 FAILED, 1 AWAITING_USER_FEEDBACK, 0 AWAITING_PLAN_APPROVAL, 0 IN_PROGRESS. 1 Jules response sent.", - }; - - test("maps keeper items to Jules feed entries", () => { - const entries = mapJulesItems(state); - const awaiting = entries.find((e) => e.sessionId === "4259424002214698449")!; - expect(awaiting.source).toBe("jules"); - expect(awaiting.directory).toBe("developing-today/code"); - expect(awaiting.awaitingQuestion).toBe("Does this look good, and should I proceed?"); - const failed = entries.find((e) => e.sessionId === "999")!; - expect(failed.outcome).toBe("failed"); - expect(failed.lastTurnError).toContain("failed"); - }); - - test("skips malformed elements while preserving valid siblings", () => { - const malformed = { - items: { - good: { state: "IN_PROGRESS" }, - bad: null, - }, - } as unknown as JulesReviewState; - expect(mapJulesItems(malformed).map((entry) => entry.sessionId)).toEqual(["good"]); - expect(julesSummary(malformed).tracked).toBe(1); - expect(droppedJulesItemCount(malformed)).toBe(1); - }); - - test("degrades non-string state, title, and source fields", () => { - const malformed = { - items: { - numericState: { state: 42 }, - numericFields: { title: 42, source: 42 }, - }, - } as unknown as JulesReviewState; - const [numericState, numericFields] = mapJulesItems(malformed); - expect(numericState.supervisionNote).toBe("Jules UNKNOWN"); - expect(numericState.activeToolCalls).toBe(0); - expect(numericState.outcome).toBeUndefined(); - expect(numericFields.title).toBeUndefined(); - expect(numericFields.directory).toBeUndefined(); - }); - - test("treats string or array items as an empty state", () => { - for (const items of ["nope", ["session"]]) { - const malformed = { items } as unknown as JulesReviewState; - expect(mapJulesItems(malformed)).toEqual([]); - expect(julesSummary(malformed).tracked).toBe(0); - expect(droppedJulesItemCount(malformed)).toBe(0); - } - }); - - test("skips array elements and counts them as dropped", () => { - const malformed = { items: { bad: ["session"] } } as unknown as JulesReviewState; - expect(mapJulesItems(malformed)).toEqual([]); - expect(julesSummary(malformed).tracked).toBe(0); - expect(droppedJulesItemCount(malformed)).toBe(1); - }); - - test("treats a non-object top-level state as empty", () => { - const malformed = null as unknown as JulesReviewState; - expect(mapJulesItems(malformed)).toEqual([]); - expect(julesSummary(malformed)).toEqual({ at: null, tracked: 0 }); - expect(droppedJulesItemCount(malformed)).toBe(0); - }); - - test("parses keeper totals", () => { - const s = julesSummary(state); - expect(s.total).toBe(84); - expect(s.completed).toBe(77); - expect(s.failed).toBe(6); - expect(s.tracked).toBe(2); - expect(s.at).toBe("2026-10-25T14:58:00Z"); - }); - - test("ties totals to the last run across midnight, not the lexicographic max (#1587)", () => { - // Yesterday's late note must not outrank today's note all day. - const s = julesSummary({ - last_run: "2026-10-26T00:10:00Z", - items: {}, - jules_note_2359: - "Jules list this run: 84 sessions - 77 COMPLETED, 6 FAILED, 1 AWAITING_USER_FEEDBACK, 0 AWAITING_PLAN_APPROVAL, 0 IN_PROGRESS. 1 Jules response sent.", - jules_note_0010: - "Jules list this run: 12 sessions - 3 COMPLETED, 1 FAILED, 2 AWAITING_USER_FEEDBACK, 1 AWAITING_PLAN_APPROVAL, 5 IN_PROGRESS. 1 Jules response sent.", - }); - expect(s.total).toBe(12); - expect(s.completed).toBe(3); - expect(s.failed).toBe(1); - expect(s.at).toBe("2026-10-26T00:10:00Z"); - }); - - test("a stale late-evening note does not stand in for the morning run (#1587)", () => { - const s = julesSummary({ - last_run: "2026-10-26T09:30:00Z", - items: {}, - jules_note_2359: - "Jules list this run: 84 sessions - 77 COMPLETED, 6 FAILED, 1 AWAITING_USER_FEEDBACK, 0 AWAITING_PLAN_APPROVAL, 0 IN_PROGRESS. 1 Jules response sent.", - jules_note_0930: - "Jules list this run: 20 sessions - 9 COMPLETED, 2 FAILED, 3 AWAITING_USER_FEEDBACK, 1 AWAITING_PLAN_APPROVAL, 5 IN_PROGRESS. 1 Jules response sent.", - }); - expect(s.total).toBe(20); - expect(s.completed).toBe(9); - expect(s.failed).toBe(2); - }); - - test("an unpadded note key never outranks a padded later one (#1587)", () => { - const s = julesSummary({ - last_run: "2026-10-27T14:58:00Z", - items: {}, - jules_note_905: - "Jules list this run: 50 sessions - 40 COMPLETED, 5 FAILED, 1 AWAITING_USER_FEEDBACK, 1 AWAITING_PLAN_APPROVAL, 3 IN_PROGRESS. 1 Jules response sent.", - jules_note_1458: - "Jules list this run: 84 sessions - 77 COMPLETED, 6 FAILED, 1 AWAITING_USER_FEEDBACK, 0 AWAITING_PLAN_APPROVAL, 0 IN_PROGRESS. 1 Jules response sent.", - }); - expect(s.total).toBe(84); - expect(s.completed).toBe(77); - expect(s.failed).toBe(6); - }); - - test("omits totals when no note can be tied to the last run (#1587)", () => { - const s = julesSummary({ - last_run: "2026-10-26T10:00:00Z", - items: {}, - jules_note_0930: - "Jules list this run: 20 sessions - 9 COMPLETED, 2 FAILED, 3 AWAITING_USER_FEEDBACK, 1 AWAITING_PLAN_APPROVAL, 5 IN_PROGRESS. 1 Jules response sent.", - }); - expect(s.total).toBeUndefined(); - expect(s.at).toBe("2026-10-26T10:00:00Z"); - expect(s.tracked).toBe(0); - }); -}); describe("roadmap grains (#898 §3)", () => { test("month timeline places dated rows by month and keeps quarter grain", () => { @@ -537,7 +386,7 @@ describe("attention render (slice 2)", () => { expect(html).toContain("Why you:"); expect(html).toContain("Only Drew can pick which repo installs"); expect(html).toContain("OpenCode · laptop"); - expect(html).toContain("Jules"); + expect(html).not.toContain("Jules"); // source retired (code#5098): no Jules coverage row or cards expect(html).toContain("sub-session"); expect(html).toContain("Session coverage"); expect(html).toContain("not wired"); diff --git a/secrets/sops/common/bws.yaml b/secrets/sops/common/bws.yaml index f59faea46a..f146bdde9a 100644 --- a/secrets/sops/common/bws.yaml +++ b/secrets/sops/common/bws.yaml @@ -38,8 +38,6 @@ google.cold-store-reaper.client-id: ENC[AES256_GCM,data:TMTTz8UM9c8KiElUs9MmhO/Y google.cold-store-reaper.client-secret: ENC[AES256_GCM,data:pJmbVH+f2rv0EWfZvD2aMqJ9/6klQ/whZVAViIZwPZwRrcQ=,iv:Me3YvYVFVrtDbz1xmD0XSe82EeEnje1gq2kfxLFvYxQ=,tag:0xqpfBGvU1qOWAsdRyWi+A==,type:str] google.cold-store-reaper.refresh-token: ENC[AES256_GCM,data:Z92ZmUX/qpXxnBVT8hHPFwvKNa3DnW5sBh1mFb9wuZYIl3hVWCoyOzg/9cZYe4z+v1El6qfUtIGJmaW5e/Zp2cZdqJMBMstlz+DojWn4i2y9KUVN6xbctu9EHwd29K8ZVf9OZ/qvHw==,iv:6uSRV3PWFIq2p+x3OrU+f3zgw5j2cIZ0+dtsmuxr/RU=,tag:udu744IQNBPivo51wDSsdQ==,type:str] google.gemini-api-key: ENC[AES256_GCM,data:cI9Ecyur0ZkA4XexLx9QGkDniNuw/NS3vt0kBXi9xCILBkQiTI4O+uCeeamqWxy41DB0M0o=,iv:GZDiR2eZiJzLai8VVJfjUymJZmNqDWD3zha38ym1GIU=,tag:9dc7wasdJIPo9qKp+b1UJw==,type:str] -google.jules-api-key: ENC[AES256_GCM,data:Pa6/vtqPHxrQOTMYBCMoD/lLt3q9VRAYQMOcfwfd86i4OhNkuvG1LGakvHE7K/0gmRl4pEg=,iv:6Y+wrRaiOURHWZKXM9V1cvS+ijuaAI7DsCkIMsKWtbk=,tag:7j4hYUQMUDKyTb4Q0gtwpw==,type:str] -google.jules-oauth-creds: ENC[AES256_GCM,data:uNfBGrJSONvyrJP1sqPxUjN797pKHruj43caUgx1jOS1EifL69ckbqmVAtGhmD1MF1DI96Vbjo/hGK265LTSO0jFscvb0CbZa5e2nhfPvvcigscnVcX/bCElXUgdHuMLGEyOTfn+lpM/YOTix/kzI8MsyfQMZHoFKQTOxvmdp1Qu3g+wBdnpCqGwF28hJQQ3ulMlZQsg0/etsr112qPepiFZn2mmFgvSyGZEDL0xjkUZMr5ZB4sxFNydmuzJhU19+E7Yn0aO22YvC95acuzO4Z1igkKIPHVx6zDVh4xZPtH47A8WB6NfDgeXj7r3NaEcQNPxhL82GjRZVuHqISIa0z0JZfZEtGZyXbkl7htYQEnzAc4mEpc4BFuMtgy9aNgkR2f3OiCfd/ZGDYoWdSHOBwXdfF6NQN66SazwHDVFC0P+NKwTVjPIT9+sRawJ9til2FLbvijEf8pFEWohi1OR+Dc5prLg8txtGXtKYXhCzfP2cLmjPuHiJ0OUXmUEVdN4JQzdJmVww7eGo5ThEjl2Frw75BVCXgAh3s4lmnRXrThXDwo3PTCyS0EgwSgN225EC/8PPf5ZJJmK0puGpvQ1T8C9GG/4fbVP/tymsYLgT1MmSGYOx/HD3EKdxsI=,iv:Q+6UsB0HetDQOMaC6AEqkyGoN/jtwgav1oraOlW3Y00=,tag:hj2II4n/JXNScSmsF0sCtA==,type:str] grist.admin-password: ENC[AES256_GCM,data:6OABzzviVZ9oCEBAj0lWg2jqKO6koCC6pRM+iwdGY8Il+IZ6lOrrhRLGdR0NpDPg,iv:zsEPId35HZV+gtgvJaJbNT2f1zJNkEOvvCcvP4IVSk0=,tag:Q8hsfuIdfUEMCeuz7ToxYg==,type:str] grist.api-key: ENC[AES256_GCM,data:InmHISAU4MVDCSo0n+KLjVWwWkRmkHeiLWy9uUWSOQY8bK2lSTfl7g==,iv:/iZh9ze1ZZOGOwO+K/jUlFJ7xIpCTOBWiP+DvSveWoc=,tag:NYAXg/LTrqUpgFSiaFIdgg==,type:str] grist.boot-key: ENC[AES256_GCM,data:pzdJaYkO0jFTyDVEUk0VTypoGOBkrnXe,iv:DzWoTTskB1S7JZi16enfwCAAPVePt3f3xWjnzCRTlUo=,tag:hQeGf8otbtMVZzf92zMi4w==,type:str] @@ -98,17 +96,17 @@ turso.general-db-token: ENC[AES256_GCM,data:Av81CbEcITADj5MmzhqtQND0FGwgy54hd9DQ turso.muse-meta-agent-inbox-token: ENC[AES256_GCM,data:jZQGFrjF9HmSW85WQaC1tajmfly0/lLcz6BQHEZvSIdngwtbrlqfybLz+pwYy23y5sRxn5d8C8VLEroE7Dyv70/jHcx0YxirAGAajnDziANLviBuiJX8WCUH19LVtQVfNiCbTk1gD13g9Xkn3bom8hr4aapSXo/+cBKHG9UkiOWKSw1OzCUHfqVVBNx4tH452ztZHLWzAwDuLjaLW2Am2zoPvJoMSUWTjyEDTKK19BrXGHr9BkebN2qL+N306pSjGNIq9nZ4wlWhx/UMJJolPc14acMfHHHmUKK5rFIrdV4uRkf7F3knZL4oOT6uboTJo6c+FDY3kU4oj3o60sYy5mt0a+KAThKP0rpihEMtGET3mdPX4QmlcW+eDhyI0/ligJTg8CPFtonLeWrlDcU2n0/MG98mQQOGV79rf91iXSEMLOk4DBlePaCcdBo2pZrTxqaS++w1KMpWfHwn,iv:er7JYbSo8+Ma9ARevCBivvpBuR5fh8jXXkX65wLPRNA=,tag:fphgplUJtiGnK5yXReVfOg==,type:str] turso.platform-api-token-muse-cli: ENC[AES256_GCM,data:CXKhOAFwNX5vpXm1LrH6CWP/XhfpfVWm6Lm1S8EmFUMoLQ691aApofeXgZz7HdIRzOwz/Jz1jhAWpANFHckyDcy0gZc2QzJsDgLzamtDDXlSwBddx75kZoXnvol9JxQLI9xvQ3i6HonYOw6fcTfKPPus2N7OZ4ck3IVlGrlcuYYGu2qZ5Jgfh+gxxMRUUWFm0WiHcl04ux/QGZ+/gJ+sROHmKIDAQkwBa5Hg/bvib4F7SaikOp/u/5br,iv:+P7vKKSnImCEr09GWMzp8LRevD8ybjzYrHVUFkuvZH8=,tag:oWP31OYtiiblnf2/AlJ2qQ==,type:str] sops: - age: - - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB0WGJmU0tNbkxIejh4ckhG - R3VjSTNrdEJKNmNuMjJWTDFjZnlXL2VOeDFRClUvUys5alRoZ1NDRUNLWUVNUHF1 - NGhRVnh0Q3JuRlVXb1UyT25rbU1uQmMKLS0tIC9HSjNjTWkyVGd1bmU0VjdZbitX - Y05xaUVxUHNJRlRjTVl5MkRsR3VrbkEKnIeBX8tFyYPdcvSm/ZayUDHUOhQnQppq - uflXbvKe6q+fV7SwLpPNiB1XIZDnXpnEHFo0DSGetveLkCG2eqwr/w== - -----END AGE ENCRYPTED FILE----- - recipient: age125acas5y8hnwl5uhcp364xm8zlhtwsjqvxxpge8k04dzzr67acrq0ttc34 - lastmodified: "2026-10-27T06:40:29Z" - mac: ENC[AES256_GCM,data:Zbu8djzCxCsvSMagO7fbshFe7OtJFbD2URykiZ+7yim9WeLaM/6cjPaLtEh6grePD6tSyJf8dMgYHeuEoYmRRcglOPdwMdHbYkl2yg62YF0xW80NMuyScKL6m3K9MuFOHsV5WbUQ9myagUGuUCewAwnNgiQbLKXnltO1X2yIbwE=,iv:/CD3c4jyyAs9apyf2rfBIkdAzNRVmYp23qqLqjUVdDA=,tag:mbVIAHfOVrohPfBbmxdrJg==,type:str] - unencrypted_suffix: _unencrypted - version: 3.13.3 + age: + - enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB0WGJmU0tNbkxIejh4ckhG + R3VjSTNrdEJKNmNuMjJWTDFjZnlXL2VOeDFRClUvUys5alRoZ1NDRUNLWUVNUHF1 + NGhRVnh0Q3JuRlVXb1UyT25rbU1uQmMKLS0tIC9HSjNjTWkyVGd1bmU0VjdZbitX + Y05xaUVxUHNJRlRjTVl5MkRsR3VrbkEKnIeBX8tFyYPdcvSm/ZayUDHUOhQnQppq + uflXbvKe6q+fV7SwLpPNiB1XIZDnXpnEHFo0DSGetveLkCG2eqwr/w== + -----END AGE ENCRYPTED FILE----- + recipient: age125acas5y8hnwl5uhcp364xm8zlhtwsjqvxxpge8k04dzzr67acrq0ttc34 + lastmodified: "2026-11-04T09:33:50Z" + mac: ENC[AES256_GCM,data:CyQnaDbWfS6cQIF5kjccb8D9wn2wODkreuqtsNDMWYLc/4oC0ahy6BzlMP3GA8wYO7IDcKykJr6TjfIF67a70T2hl+/2i1EIO5rT/4unz1Z6az05V84PbQ1rQpbZiPlqwula+Y+pqhU5vmFzc3bQ6uSBCsyXcA9mG9KrM4jUynY=,iv:zivJt/3K9tTLGs3lc1l7R0/cZ8gz3QlnzBV+0nBWHh8=,tag:f0Jlle2XwjhPfaZXoyEtUA==,type:str] + unencrypted_suffix: _unencrypted + version: 3.13.3