t3-auto-build 1.0.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +96 -0
- package/README.md +450 -133
- package/bin/cli.mjs +153 -83
- package/hooks/_quota.mjs +63 -21
- package/hooks/_shared.mjs +162 -10
- package/hooks/pre-compact.mjs +41 -4
- package/hooks/pre-tool-use.mjs +52 -15
- package/hooks/session-start.mjs +55 -9
- package/lib/detect.mjs +5 -1
- package/lib/discover.mjs +410 -0
- package/lib/doctor.mjs +42 -2
- package/lib/install.mjs +234 -29
- package/lib/plans.mjs +309 -0
- package/lib/probe.mjs +48 -14
- package/lib/prompt.mjs +82 -5
- package/lib/quota.mjs +54 -15
- package/lib/render.mjs +25 -4
- package/lib/settings.mjs +41 -1
- package/package.json +29 -4
- package/presets/claude-codex.json +62 -14
- package/presets/claude-only.json +41 -11
- package/presets/tri-provider.json +80 -14
- package/skills/auto-build/SKILL.md.tmpl +10 -7
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented here. The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project uses
|
|
5
|
+
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
7
|
+
## [2.0.0] - 2026-11-26
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Subscription profiles: `init --claude-tier`, `--codex-tier`, `--antigravity-tier`, `--parent`,
|
|
12
|
+
`--allow-usage-credits`, `--allow-fast-modes` and `--verified-org`.
|
|
13
|
+
- Parent-model routing: `init` writes `model` and `effortLevel` to `settings.json` when they are
|
|
14
|
+
absent or still hold the value it wrote.
|
|
15
|
+
- Cross-hosted overflow: `claude-sonnet-5-5` and `claude-opus-5-5` on Antigravity `pro`, `ultra-5x`
|
|
16
|
+
and `ultra-20x`, in the scarce `third-party-claude` pool.
|
|
17
|
+
- `upgrade`, `check-models`, `availability mark`, `availability status`, `quota set --pool`, and the
|
|
18
|
+
`sync-models` flags `--apply`, `--auto`, `--refresh` and `--probe-scarce`.
|
|
19
|
+
- Availability cache `auto-build-availability.json` with a 12-hour probe TTL, manual marks and model
|
|
20
|
+
drift detection through `discovery` adapters.
|
|
21
|
+
- Speed-mode guard, controlled by `allowFastModes`.
|
|
22
|
+
- `doctor` checks for the v2 schema, availability cache, tier binaries and drift.
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- **BREAKING:** subscription installs write config `schemaVersion: 2`. An unknown `schemaVersion`
|
|
27
|
+
makes the hooks fall back to default settings.
|
|
28
|
+
- **BREAKING:** the default roster is `gpt-6-luna`, `gpt-6.1-terra` and `gpt-6.1-sol` on Codex,
|
|
29
|
+
replacing the `gpt-5.6-*` models.
|
|
30
|
+
- **BREAKING:** `pre-tool-use` blocks provider/model conflicts (such as a Claude model on a provider
|
|
31
|
+
that does not host it) and parsed payloads whose `tool_input` is not an object.
|
|
32
|
+
- **BREAKING:** pool locks use `tier:<provider>:<pool>` keys, and a lock may name one hosting
|
|
33
|
+
(`model:<provider>:<id>`). Legacy `tier:<provider>:heavy` keys are still read.
|
|
34
|
+
- `sync-models` and probes skip scarce-pool models unless `--probe-scarce` is set.
|
|
35
|
+
- `session-start` and `pre-compact` report restrictions and availability.
|
|
36
|
+
- The `auto-build` skill checks availability on every run and respects the parallel-builder limit.
|
|
37
|
+
- `--tiers` records the scarce models as the heavy models.
|
|
38
|
+
- `uninstall` also removes the availability cache.
|
|
39
|
+
- CI uses `actions/checkout` 7.0.1 and `actions/setup-node` 7.1.0.
|
|
40
|
+
|
|
41
|
+
### Removed
|
|
42
|
+
|
|
43
|
+
- Preset bans on `Argon` and `Fable/Mythos`. The built-in retired list blocks `gemini-4-argon`; Fable
|
|
44
|
+
is now a scarce pool on Claude `ultra` and `api`.
|
|
45
|
+
|
|
46
|
+
### Security
|
|
47
|
+
|
|
48
|
+
- A built-in retired-model list is always enforced. Configuration can extend it, not shrink it.
|
|
49
|
+
- Plan-restricted and unavailable models are blocked at delegation time.
|
|
50
|
+
|
|
51
|
+
### Migration
|
|
52
|
+
|
|
53
|
+
1. Run `t3-auto-build upgrade`. It backs up the config to `.bak`, moves your own bans to
|
|
54
|
+
`userBannedModels` and writes a v2 config.
|
|
55
|
+
2. Tiers are assumed (Claude `pro`, Codex `plus`, Antigravity `plus`). Set yours with
|
|
56
|
+
`t3-auto-build init --claude-tier <tier> --codex-tier <tier> --antigravity-tier <tier>`.
|
|
57
|
+
3. Re-apply custom allowlist entries and `defaultModel`; they are not carried over. Neither is
|
|
58
|
+
`planRestricted`.
|
|
59
|
+
4. Restart T3 Code.
|
|
60
|
+
|
|
61
|
+
See [Migrating from v1](README.md#migrating-from-v1).
|
|
62
|
+
|
|
63
|
+
## [1.0.1] - 2026-11-26
|
|
64
|
+
|
|
65
|
+
### Added
|
|
66
|
+
|
|
67
|
+
- `--version` / `-v`.
|
|
68
|
+
- Logo and banner, CI workflow, Dependabot, issue and pull request templates, `SECURITY.md` and
|
|
69
|
+
`CONTRIBUTING.md`.
|
|
70
|
+
|
|
71
|
+
### Changed
|
|
72
|
+
|
|
73
|
+
- Rewrote the README and completed the package metadata.
|
|
74
|
+
|
|
75
|
+
### Fixed
|
|
76
|
+
|
|
77
|
+
- A pre-compact test now builds its state path portably on POSIX.
|
|
78
|
+
|
|
79
|
+
## [1.0.0] - 2026-11-26
|
|
80
|
+
|
|
81
|
+
### Added
|
|
82
|
+
|
|
83
|
+
- Zero-dependency `t3-auto-build` CLI: `init`, `doctor`, `uninstall`, `sync-models` and `quota`.
|
|
84
|
+
- The `auto-build` skill, core `CLAUDE.md`, rules and commands, and presets `tri-provider`,
|
|
85
|
+
`claude-codex` and `claude-only`.
|
|
86
|
+
- Guard, session, compaction and formatting hooks.
|
|
87
|
+
- Provider detection, cooldown tracking and model probing.
|
|
88
|
+
|
|
89
|
+
### Security
|
|
90
|
+
|
|
91
|
+
- Hardened the recursive `rm` guard, cooldown handling, the pre-compact state boundary and
|
|
92
|
+
`sync-models --force`.
|
|
93
|
+
|
|
94
|
+
[2.0.0]: https://github.com/mirceas94/t3-auto-build/compare/v1.0.1...v2.0.0
|
|
95
|
+
[1.0.1]: https://github.com/mirceas94/t3-auto-build/compare/v1.0.0...v1.0.1
|
|
96
|
+
[1.0.0]: https://github.com/mirceas94/t3-auto-build/releases/tag/v1.0.0
|