@crvouga/homelab 0.23.13 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/.mise/locks/npm-vercel/{68.0.0 → 68.2.0}/aube-lock.yaml +73 -297
  2. package/.mise/locks/npm-vercel/{68.0.0 → 68.2.0}/package.json +1 -1
  3. package/.mise/locks/npm-wrangler/{4.169.0 → 4.170.0}/aube-lock.yaml +42 -42
  4. package/.mise/locks/npm-wrangler/{4.169.0 → 4.170.0}/package.json +1 -1
  5. package/README.md +54 -76
  6. package/ansible/ubuntu/agent-tool.py +106 -1
  7. package/ansible/ubuntu/heavy.py +142 -0
  8. package/ansible/ubuntu/idle-reboot.py +125 -0
  9. package/ansible/ubuntu/policy.json +58 -3
  10. package/ansible/ubuntu/t3-desktop.yml +7 -0
  11. package/ansible/ubuntu/t3-hang-snapshot.sh +75 -0
  12. package/ansible/ubuntu/t3-headless.yml +7 -0
  13. package/ansible/ubuntu/t3-health.sh +71 -3
  14. package/ansible/ubuntu/t3-policy.yml +14 -5
  15. package/ansible/ubuntu/tasks/packages.yml +2 -0
  16. package/ansible/ubuntu/tasks/recovery.yml +16 -2
  17. package/ansible/ubuntu/tasks/resources.yml +25 -2
  18. package/ansible/ubuntu/tasks/unattended-upgrades.yml +24 -6
  19. package/ansible/ubuntu/tasks/updates.yml +59 -0
  20. package/ansible/ubuntu/wip-guard.py +141 -14
  21. package/bootstrap/doctor.ts +0 -4
  22. package/bootstrap/project-action.sh +4 -5
  23. package/bootstrap/shell-path.ts +17 -19
  24. package/cliproxy/README.md +5 -6
  25. package/cliproxy/config.template.yaml +1 -15
  26. package/cliproxy/docs/health-workflow.example.yml +6 -6
  27. package/cliproxy/docs/model-health.md +8 -8
  28. package/cliproxy/scripts/accounts.py +3 -4
  29. package/cliproxy/scripts/fleet_sync.py +2 -13
  30. package/cliproxy/scripts/ops +3 -21
  31. package/docs/authentication.md +21 -26
  32. package/docs/convergence.md +28 -32
  33. package/docs/declared.md +30 -31
  34. package/docs/durability.md +9 -0
  35. package/docs/github.md +0 -9
  36. package/docs/machine-setup.md +16 -17
  37. package/docs/manager-recovery.md +0 -2
  38. package/docs/operations.md +12 -11
  39. package/docs/releasing.md +18 -21
  40. package/docs/runbooks.md +22 -78
  41. package/docs/support-matrix.md +1 -1
  42. package/docs/ubuntu-sync.md +71 -65
  43. package/docs/worker-contract.md +112 -15
  44. package/examples/fleet.json +0 -1
  45. package/llms.txt +0 -2
  46. package/mise.lock +206 -780
  47. package/mise.toml +12 -27
  48. package/package.json +5 -6
  49. package/schema/check-ids.json +41 -482
  50. package/schema/fleet.schema.json +6 -57
  51. package/schema/roster.schema.json +0 -2
  52. package/src/agent-session-limit.ts +2 -7
  53. package/src/auth-checks.ts +1 -3
  54. package/src/check-owners.ts +0 -13
  55. package/src/check-registry.ts +13 -72
  56. package/src/cli/agent-guide.ts +3 -16
  57. package/src/cli/command-index.ts +0 -12
  58. package/src/cli/fleet-sync-manager.ts +4 -146
  59. package/src/cli/fleet-sync-output.ts +1 -4
  60. package/src/cli/fleet-sync-plan.ts +1 -24
  61. package/src/cli/fleet-sync-remote.ts +2 -1
  62. package/src/cli/fleet-sync-vault.ts +1 -2
  63. package/src/cli/fleet-sync.ts +8 -44
  64. package/src/cli/fleet.ts +1 -2
  65. package/src/cli/program.ts +3 -14
  66. package/src/cli/register-fleet.ts +1 -55
  67. package/src/cli/registry.ts +1 -43
  68. package/src/config.ts +0 -2
  69. package/src/definition.ts +8 -83
  70. package/src/fleet-config.ts +1 -1
  71. package/src/ide/definition.ts +2 -29
  72. package/src/ide/super.ts +4 -35
  73. package/src/ide/t3.ts +9 -38
  74. package/src/manager-sync.ts +1 -1
  75. package/src/node-converge-linux.ts +4 -47
  76. package/src/node-converge-shared.ts +1 -22
  77. package/src/{agents/toolchain.ts → pinned-path.ts} +0 -17
  78. package/src/platform/agent-oom-check.ts +104 -0
  79. package/src/platform/t3-policy.ts +23 -36
  80. package/src/platform/t3-service.ts +117 -0
  81. package/src/platform/wip-guard-check.ts +65 -0
  82. package/src/remote-entry.ts +2 -41
  83. package/src/repair-catalog.ts +0 -30
  84. package/src/schedule-check.ts +17 -4
  85. package/src/service-auth.ts +0 -50
  86. package/src/state/litestream.ts +1 -1
  87. package/src/t3/retire-providers.ts +79 -0
  88. package/src/t3/version.ts +1 -1
  89. package/src/transport.ts +2 -6
  90. package/src/types.ts +0 -2
  91. package/src/version-parity.ts +0 -8
  92. package/src/worker-access-checks.ts +0 -75
  93. package/src/worker-host-checks.ts +78 -1
  94. package/src/worker-policy.ts +0 -2
  95. package/src/worker-readiness.ts +2 -0
  96. package/src/worker-sizing.ts +25 -0
  97. package/.mise/locks/azure-cli/2.93.0~a837e014/pyproject.toml +0 -5
  98. package/.mise/locks/azure-cli/2.93.0~a837e014/uv.lock +0 -2841
  99. package/.mise/locks/gemini/0.71.1~84aac8e6/aube-lock.yaml +0 -124
  100. package/.mise/locks/gemini/0.71.1~84aac8e6/package.json +0 -12
  101. package/agents/antigravity-proxy.ts +0 -3
  102. package/agents/audit.md +0 -88
  103. package/agents/bin/agy +0 -10
  104. package/agents/bin/antigravity +0 -10
  105. package/agents/bin/claude +0 -10
  106. package/agents/bin/codex +0 -10
  107. package/agents/bin/grok +0 -10
  108. package/agents/bin/opencode +0 -10
  109. package/agents/claude-proxy +0 -5
  110. package/agents/claude-proxy.ts +0 -3
  111. package/agents/codex-proxy.ts +0 -3
  112. package/agents/grok-proxy.ts +0 -3
  113. package/agents/managed-proxy.ts +0 -109
  114. package/agents/opencode-proxy.ts +0 -3
  115. package/agents/registry.json +0 -209
  116. package/agents/registry.schema.json +0 -149
  117. package/agents/setup.md +0 -158
  118. package/agents/t3.json +0 -40
  119. package/ansible/agents/agents.yml +0 -135
  120. package/ansible/agents/commands.yml +0 -32
  121. package/ansible/agents/receipts.yml +0 -19
  122. package/ansible/agents/templates/antigravity.settings.json.j2 +0 -3
  123. package/ansible/agents/templates/claude.settings.json.j2 +0 -3
  124. package/ansible/agents/templates/codex.config.toml.j2 +0 -11
  125. package/ansible/agents/templates/gemini.settings.json.j2 +0 -14
  126. package/ansible/agents/templates/grok.config.toml.j2 +0 -25
  127. package/ansible/agents/templates/opencode.json.j2 +0 -24
  128. package/ansible/agents/templates/receipt.json.j2 +0 -10
  129. package/ansible/t3/provider-keys.yml +0 -24
  130. package/docs/accounts.md +0 -256
  131. package/src/accounts/checks.ts +0 -226
  132. package/src/accounts/context.ts +0 -77
  133. package/src/accounts/propagate.ts +0 -62
  134. package/src/accounts/roster.ts +0 -112
  135. package/src/accounts/selection.ts +0 -67
  136. package/src/accounts/sessions.ts +0 -354
  137. package/src/agents/account-relay.ts +0 -279
  138. package/src/agents/accounts.ts +0 -94
  139. package/src/agents/admission.ts +0 -65
  140. package/src/agents/audit.ts +0 -77
  141. package/src/agents/cli.ts +0 -13
  142. package/src/agents/command.ts +0 -257
  143. package/src/agents/commands.ts +0 -127
  144. package/src/agents/converge.ts +0 -339
  145. package/src/agents/doctor.ts +0 -107
  146. package/src/agents/errors.ts +0 -2
  147. package/src/agents/files.ts +0 -43
  148. package/src/agents/fleet-verify.ts +0 -195
  149. package/src/agents/launch.ts +0 -361
  150. package/src/agents/native-verify.ts +0 -738
  151. package/src/agents/provider-errors.ts +0 -57
  152. package/src/agents/registry.ts +0 -61
  153. package/src/agents/render.ts +0 -121
  154. package/src/agents/round-trip.ts +0 -192
  155. package/src/agents/secrets.ts +0 -48
  156. package/src/agents/verify-cache.ts +0 -164
  157. package/src/agents/verify.ts +0 -129
  158. package/src/cli/fleet-accounts.ts +0 -294
  159. package/src/cli/fleet-sync-accounts.ts +0 -62
  160. package/src/cli/node-deployment.ts +0 -34
  161. package/src/cli/node-sync.ts +0 -121
  162. package/src/cli/node-t3.ts +0 -35
  163. package/src/cli/t3/command.ts +0 -91
  164. package/src/cli/t3/register.ts +0 -56
  165. package/src/configure.ts +0 -271
  166. package/src/github/copilot.ts +0 -54
  167. package/src/t3/accounts.ts +0 -90
  168. package/src/t3/antigravity.ts +0 -93
  169. package/src/t3/desired.ts +0 -174
  170. package/src/t3/diagnostics.ts +0 -42
  171. package/src/t3/models.ts +0 -354
  172. package/src/t3/names-check.ts +0 -53
  173. package/src/t3/names.ts +0 -155
  174. package/src/t3/plan.ts +0 -106
  175. package/src/t3/provider-keys.ts +0 -49
  176. package/src/t3/providers.ts +0 -102
  177. package/src/t3/reconcile.ts +0 -133
package/mise.toml CHANGED
@@ -19,18 +19,18 @@ shellcheck = "0.11.0"
19
19
  actionlint = "1.7.12"
20
20
  opentofu = "1.13.11"
21
21
  bun = "1.4.5"
22
- node = "26.13.1"
22
+ node = "26.14.0"
23
23
  atlas = { version = "1.4.0", os = ["linux", "macos"], lazy = true }
24
- azure-cli = { version = "2.93.0", lazy = true }
24
+ azure-cli = { version = "2.94.0", lazy = true }
25
25
  # CLI proxy backups on the manager (cliproxy/scripts/install-dependencies).
26
26
  restic = { version = "0.20.0", os = ["linux", "macos"], lazy = true }
27
27
  # Replicates the fleet state database to the storage bucket (src/state).
28
28
  litestream = { version = "0.5.18", os = ["linux", "macos"], lazy = true }
29
- pnpm = "12.23.0"
29
+ pnpm = "12.25.1"
30
30
  "npm:@yarnpkg/cli-dist" = "4.19.0"
31
31
  deno = "2.9.8"
32
32
  python = "3.15.2"
33
- uv = "0.13.10"
33
+ uv = "0.13.12"
34
34
  go = "1.27.4"
35
35
  jq = "1.8.2"
36
36
  yq = "4.54.3"
@@ -40,32 +40,23 @@ tmux = { version = "3.8", os = ["linux", "macos"] }
40
40
  fd = "10.5.2"
41
41
  fzf = "0.75.0"
42
42
  bat = "0.27.0"
43
- delta = "0.22.0"
43
+ delta = "0.23.0"
44
44
  git-lfs = "3.8.1"
45
45
  docker-cli = "29.10.1"
46
- "npm:vercel" = "68.0.0"
47
- "npm:wrangler" = "4.169.0"
48
- railway = "5.75.0"
49
- "aqua:anomalyco/opencode" = "1.19.6"
46
+ "npm:vercel" = "68.2.0"
47
+ "npm:wrangler" = "4.170.0"
48
+ railway = "5.77.1"
50
49
  vault = "2.2.2"
51
- claude = "2.1.332"
52
- codex = "0.172.0"
53
- gemini = { version = "0.71.1", allow_builds = ["@lydell/node-pty"] }
54
- copilot = "1.0.117"
55
- # Agent CLIs without a registry backend: exact vendor artifacts, checksums in mise.lock.
56
- "http:grok" = { version = "1.0.92", bin = "grok", platforms = { linux-x64 = { url = "https://x.ai/cli/grok-{{version}}-linux-x86_64" }, linux-arm64 = { url = "https://x.ai/cli/grok-{{version}}-linux-aarch64" }, macos-x64 = { url = "https://x.ai/cli/grok-{{version}}-macos-x86_64" }, macos-arm64 = { url = "https://x.ai/cli/grok-{{version}}-macos-aarch64" } }, os = ["linux", "macos"] }
57
- "http:antigravity" = { version = "1.5.20", bin = "antigravity", platforms = { linux-x64 = { url = "https://storage.googleapis.com/antigravity-public/antigravity-cli/1.5.20-6722198040346624/linux-x64/cli_linux_x64.tar.gz" }, linux-arm64 = { url = "https://storage.googleapis.com/antigravity-public/antigravity-cli/1.5.20-6722198040346624/linux-arm/cli_linux_arm64.tar.gz" }, macos-x64 = { url = "https://storage.googleapis.com/antigravity-public/antigravity-cli/1.5.20-6722198040346624/darwin-x64/cli_mac_x64.tar.gz" }, macos-arm64 = { url = "https://storage.googleapis.com/antigravity-public/antigravity-cli/1.5.20-6722198040346624/darwin-arm/cli_mac_arm64.tar.gz" } }, os = ["linux", "macos"] }
58
- "http:cursor-agent" = { version = "2026.11.22-e9042b2", bin = "cursor-agent", bin_path = "dist-package", os = ["linux", "macos"], platforms = { linux-x64 = { url = "https://downloads.cursor.com/lab/{{version}}/linux/x64/agent-cli-package.tar.gz" }, linux-arm64 = { url = "https://downloads.cursor.com/lab/{{version}}/linux/arm64/agent-cli-package.tar.gz" }, macos-x64 = { url = "https://downloads.cursor.com/lab/{{version}}/darwin/x64/agent-cli-package.tar.gz" }, macos-arm64 = { url = "https://downloads.cursor.com/lab/{{version}}/darwin/arm64/agent-cli-package.tar.gz" } } }
59
50
 
60
- "aws" = { version = "2.42.7", os = ["linux", "macos"] }
51
+ "aws" = { version = "2.43.2", os = ["linux", "macos"] }
61
52
  "rust" = "1.100.1"
62
53
  "cmake" = "4.5.1"
63
54
  "ninja" = "1.13.2"
64
55
  "just" = "1.59.0"
65
56
  "gitleaks" = "8.30.1"
66
- "shfmt" = "3.14.1"
57
+ "shfmt" = "3.15.0"
67
58
  "sops" = "3.13.3"
68
- "age" = "1.3.2"
59
+ "age" = "1.4.0"
69
60
  "kubectl" = "1.37.3"
70
61
  "helm" = "4.3.2"
71
62
  "xh" = "0.26.3"
@@ -80,13 +71,7 @@ copilot = "1.0.117"
80
71
  "aws-cdk" = { version = "2.1149.0", lazy = true }
81
72
  "aws-sam" = { version = "1.174.1", lazy = true, os = ["linux", "macos"] }
82
73
 
83
- # Keep self-updaters from bypassing the reviewed toolchain lock.
84
74
  [env]
85
- DISABLE_AUTOUPDATER = "1"
86
- COPILOT_AUTO_UPDATE = "false"
87
- GROK_DISABLE_AUTOUPDATER = "1"
88
- # Antigravity ignores "1"; only "true" stops its in-place self-updater.
89
- AGY_CLI_DISABLE_AUTO_UPDATE = "true"
90
75
  # One package store per machine that every checkout links from instead of
91
76
  # copying (docs/ubuntu-sync.md, Shared package stores). pnpm: one store-dir,
92
77
  # auto import (hardlinks on ext4, clones on APFS), offline first. Bun keeps one
@@ -127,7 +112,7 @@ docker_desktop_arm64_sha256 = "9c6f13ce4edda2abf20d801552b6acb96acd3d64b3e91b50c
127
112
  docker_desktop_amd64_sha256 = "96b53f9a4a807b6be6207d18f360b9778ff481e1d94b5027bdf1ae2a22d837cb"
128
113
 
129
114
  # Minimal remote development baseline; versions are resolved exclusively by tools + mise.lock.
130
- worker_tools = "bun,node,gh,python,uv,docker-cli,vault,jq,tmux,codex,claude,aqua:anomalyco/opencode,gemini,copilot,http:grok,http:antigravity,http:cursor-agent"
115
+ worker_tools = "bun,node,gh,python,uv,docker-cli,vault,jq,tmux"
131
116
  # Tool profiles a fleet adds to its workers (`worker.toolProfiles` in
132
117
  # fleet.json, fleet-wide or per worker): one `worker_profile_<name>` each,
133
118
  # naming tools pinned above. bootstrap/worker-tools.ts lists the names.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crvouga/homelab",
3
- "version": "0.23.13",
3
+ "version": "0.24.0",
4
4
  "description": "Keeps a set of development machines in sync: one manager and many workers",
5
5
  "license": "MIT",
6
6
  "repository": "github:crvouga/homelab",
@@ -17,7 +17,6 @@
17
17
  "llms.txt",
18
18
  "docs",
19
19
  "src",
20
- "agents",
21
20
  "ansible",
22
21
  "bootstrap",
23
22
  "cliproxy",
@@ -40,10 +39,10 @@
40
39
  "tc": "tsc --noEmit",
41
40
  "lint": "eslint . --max-warnings 0",
42
41
  "format": "prettier --check .",
43
- "test": "bun test",
42
+ "test": "bun test --parallel",
44
43
  "test:cliproxy": "HOMELAB_CONFIG=$PWD/examples/fleet.json python3 -B -m unittest discover -s cliproxy/tests -p \"test_*.py\"",
45
44
  "lint:cliproxy": "HOMELAB_CONFIG=$PWD/examples/fleet.json python3 -B cliproxy/scripts/check.py",
46
- "check": "bun run format && bun run tc && bun run lint && bun test && bun run test:vm-setup && bun run lint:cliproxy && bun run test:cliproxy",
45
+ "check": "bun run format && bun run tc && bun run lint && bun run test && bun run test:vm-setup && bun run lint:cliproxy && bun run test:cliproxy",
47
46
  "test:vm-setup": "python3 -B -m unittest discover -s ansible/ubuntu/tests -p 'test_*.py'"
48
47
  },
49
48
  "dependencies": {
@@ -59,7 +58,7 @@
59
58
  },
60
59
  "devDependencies": {
61
60
  "@cucumber/cucumber-expressions": "20.2.0",
62
- "@cucumber/gherkin": "43.0.0",
61
+ "@cucumber/gherkin": "43.1.0",
63
62
  "@cucumber/messages": "35.0.0",
64
63
  "@eslint/js": "^10.0.0",
65
64
  "@types/bun": "^1.3.9",
@@ -74,5 +73,5 @@
74
73
  "engines": {
75
74
  "node": ">=22"
76
75
  },
77
- "gitHead": "8806fd2c229ae45a3551f7a56d06a183d66c3693"
76
+ "gitHead": "216147353e65e5a20c1ba588cf27eeb98b5c65f7"
78
77
  }