toolbase 0.11.0__tar.gz → 0.13.0__tar.gz

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 (69) hide show
  1. {toolbase-0.11.0 → toolbase-0.13.0}/CHANGELOG.md +151 -1
  2. {toolbase-0.11.0 → toolbase-0.13.0}/PKG-INFO +24 -18
  3. {toolbase-0.11.0 → toolbase-0.13.0}/README.md +23 -17
  4. {toolbase-0.11.0 → toolbase-0.13.0}/pyproject.toml +1 -1
  5. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/cli.py +1312 -692
  6. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/connect/antigravity.py +1 -1
  7. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/connect/claude_code.py +3 -5
  8. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/connect/orchestral.py +21 -21
  9. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/envs/__init__.py +28 -0
  10. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/envs/cache.py +39 -0
  11. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/envs/discovery.py +51 -11
  12. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/envs/paths.py +29 -10
  13. toolbase-0.13.0/toolbase/envs/resolve.py +230 -0
  14. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/serve/config.py +28 -24
  15. toolbase-0.11.0/toolbase/serve/profile_scaffold.py → toolbase-0.13.0/toolbase/serve/loadout_scaffold.py +95 -35
  16. toolbase-0.11.0/toolbase/serve/profiles.py → toolbase-0.13.0/toolbase/serve/loadouts.py +202 -87
  17. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/serve/orchestrator.py +78 -98
  18. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/setup/runner.py +21 -33
  19. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/setup/storage.py +5 -4
  20. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/skills.py +2 -2
  21. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase.egg-info/SOURCES.txt +3 -2
  22. {toolbase-0.11.0 → toolbase-0.13.0}/LICENSE +0 -0
  23. {toolbase-0.11.0 → toolbase-0.13.0}/MANIFEST.in +0 -0
  24. {toolbase-0.11.0 → toolbase-0.13.0}/setup.cfg +0 -0
  25. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/__init__.py +0 -0
  26. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/_setup_host.py +0 -0
  27. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/_toolkit_host.py +0 -0
  28. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/astro.py +0 -0
  29. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/auth.py +0 -0
  30. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/config.py +0 -0
  31. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/connect/__init__.py +0 -0
  32. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/connect/base.py +0 -0
  33. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/connect/codex.py +0 -0
  34. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/connect/opencode.py +0 -0
  35. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/envs/bundle_deps.py +0 -0
  36. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/envs/config.py +0 -0
  37. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/envs/manifest.py +0 -0
  38. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/envs/schema.py +0 -0
  39. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/hep.py +0 -0
  40. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/ingest.py +0 -0
  41. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/logging/__init__.py +0 -0
  42. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/logging/logger.py +0 -0
  43. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/naming.py +0 -0
  44. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/neutrino.py +0 -0
  45. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/quantum.py +0 -0
  46. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/serve/__init__.py +0 -0
  47. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/serve/bundles.py +0 -0
  48. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/serve/proxy_tool.py +0 -0
  49. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/setup/__init__.py +0 -0
  50. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/setup/_rpc.py +0 -0
  51. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/setup/context.py +0 -0
  52. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/setup/declarative.py +0 -0
  53. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/setup/downloads.py +0 -0
  54. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/setup/prompts.py +0 -0
  55. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/setup/schema.py +0 -0
  56. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/setup/validate_cache.py +0 -0
  57. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/templates/Dockerfile.template +0 -0
  58. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/templates/README.md.template +0 -0
  59. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/templates/__init__.py.template +0 -0
  60. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/templates/mcp/__init__.py.template +0 -0
  61. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/templates/mcp/server_stdio.py.template +0 -0
  62. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/templates/requirements.txt.template +0 -0
  63. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/templates/setup.py.template +0 -0
  64. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/templates/skills/example_skill.md +0 -0
  65. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/templates/tool_example.py +0 -0
  66. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/templates/toolkit.yaml.template +0 -0
  67. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/toolkit.py +0 -0
  68. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/validation.py +0 -0
  69. {toolbase-0.11.0 → toolbase-0.13.0}/toolbase/versioning.py +0 -0
@@ -6,7 +6,157 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
6
6
 
7
7
  ---
8
8
 
9
- ## [Unreleased]
9
+ ## [0.13.0] — 2026-08-03
10
+
11
+ ### Added
12
+
13
+ - **`tb clean` removes installs whose Python is gone.** A virtual environment holds no interpreter of its own — it symlinks the one that built it — and `tb install` builds with whichever Python is running toolbase at the time. Install a toolkit from a conda env, delete that env later, and the toolkit is stranded from every project at once, because the cache holds one copy shared by all of them rather than one per environment.
14
+
15
+ Nothing about the install is damaged: the toolkit's files and the whole of its `site-packages` are intact, and only the link to the base Python is gone. `tb clean` removes what can no longer run and prints the exact `tb install` to put each one back — which matters, because removing a slot also clears the pin naming its version, and that pin was the record of what had been there.
16
+
17
+ ```console
18
+ $ tb clean
19
+ ✓ removed calculator@1.4.0
20
+
21
+ Put them back with:
22
+ tb install calculator@1.4.0
23
+ ```
24
+
25
+ Editable installs are reported but never removed: the slot is a symlink to a working copy, and taking one away is a larger decision than this command should make on its own. The `tb install -e <path>` that rebuilds it is printed instead.
26
+
27
+ - **A missing interpreter is reported before serve trips over it.** `tb status` lists it under `Issues`, `tb list` and serve discovery agree, and all three answer from one rule, so they cannot drift apart. Previously nothing noticed: metadata and toolkit files stay intact when the base Python disappears, so discovery called the slot ready, `tb status` listed it as healthy, and serve tried to spawn it on every startup and failed at connect with `mcp connect failed: [Errno 2] No such file or directory` — a message that names the interpreter and explains nothing. Found on a real machine, where one toolkit had been quietly unservable for weeks.
28
+
29
+ Conda-based installs are exempt. They are named rather than pathed, and deciding whether one still exists means shelling out to conda, which is too slow for a listing; they still fail loudly at spawn.
30
+
31
+ ### Fixed
32
+
33
+ - **`tb connect --help` told you to run a flag that does not exist.** Its examples used `-g`, which 0.12.0 replaced with `-u`; running one exits with `No such option: -g`.
34
+
35
+ - **`tb list --help` documented an interface that had been replaced** — a `*` legend for "pinned", a `<-` marker for the serving version, and pins living in `.toolbase/manifest.yaml`. Its sample is now copied from real output rather than written from memory, which is how the old one drifted.
36
+
37
+ Both were found by sweeping every command's help text for removed flags and stale markers, then checking the sweep rather than trusting it: all 18 documented examples that carry flags were extracted and confirmed to parse.
38
+
39
+ - **`tb uninstall` could silently leave every pin in place.** The cleanup that clears version records is wrapped in a broad `except`, intended for absent or unreadable manifests, which also swallowed real errors into a dimmed note. A failure there leaves records naming versions that no longer exist, and those make serve skip the toolkit outright. It now reports as a warning and says what the consequence is.
40
+
41
+ ### Changed
42
+
43
+ - **The end-to-end harnesses all pass, and CI enforces it.** Seven of the thirteen had been failing for months against changes nobody updated them for — none of them product bugs, all stale expectations: hardcoded snake_case tool names where orchestral's MCP layer serves PascalCase, config written from outside a project expecting the user layer when scoped commands default to the project, assertions that `project init` writes a `manifest.yaml` when the directory itself is the marker, and a bundle map treated as one bundle per tool when it is a list.
44
+
45
+ One was failing at its own hand: it never left the repository root, and since `.toolbase/` is the project marker, the checkout is a project — so its own leftovers there supplied the config value the test asserts is unset. It graded its own residue, and differently in CI, which starts clean. The harnesses now run from their temporary trees, and CI fails if a run dirties the working copy.
46
+
47
+ The unit suite was red on CI while green locally for one assertion, on a phrase Rich wrapped mid-line: where the break lands moves with the length of a temp path, and CI's shorter one split the phrase. Console width is pinned for the suite now — 76 assertions match multi-word phrases against captured output, and every one of them was a wrap away from the same failure.
48
+
49
+ - **The synthetic toolkit fixture is a calculator.** It stood for a real third-party toolkit, named throughout test data that has nothing to do with it. The flow under test is unchanged.
50
+
51
+ ## [0.12.0] — 2026-08-02
52
+
53
+ Reworks how toolbase decides **which version of a toolkit serves**, and separates that decision from installing and from exposing. The model is now one rule with no exceptions: `install` places bits, `tb use` chooses a version, `tb activate` exposes tools. `install` previously did fragments of all three depending on flags, which is where most of the defects below came from.
54
+
55
+ ### Changed (breaking)
56
+
57
+ - **Profiles are now loadouts, and they carry versions.** Two changes that only make sense together.
58
+
59
+ `tb profile` is `tb loadout`, `--profile` is `--loadout`, the directory is `loadouts/`, and serve.yaml's key is `default.loadout`. "Profile" is overloaded to near-meaninglessness — shell, browser, AWS, user profiles — and it's already the word toolbench uses for this concept, so the two systems stop needing a translation.
60
+
61
+ More substantially, a loadout now records which *build* of each toolkit it means, in a top-level `versions:` block. A loadout previously said which tools an agent got but not which build of them, so it was half a specification: share one and it resolves differently elsewhere, or drifts when someone bumps a toolkit. For a benchmark condition that's a silently invalid result. One file now answers both questions.
62
+
63
+ ```yaml
64
+ # .toolbase/loadouts/paper.yaml
65
+ versions:
66
+ heptapod: 2.4.0 # omit to take the fallback (newest installed)
67
+ toolkits:
68
+ heptapod:
69
+ bundles: [pdg, analysis]
70
+ ```
71
+
72
+ The two blocks are siblings rather than nested because they layer by different rules. Curation shadows: a project's tool selection replaces the user's whole, because merging two curated sets yields a third that nobody designed. Versions layer per toolkit: a project that says nothing about a toolkit keeps whatever you chose machine-wide. Nesting the version inside its curation entry forces both to share the shadowing rule, and that is precisely what made `tb use` activate a toolkit and `tb deactivate` discard its version.
73
+
74
+ `tb use` writes there rather than to a manifest, and `--private` gains a real destination: `<name>.local.yaml`, merged over its committed sibling toolkit by toolkit, field by field. That layer has to exist — an editable pin names a directory only your machine has, and committing one leaves a teammate with a dangling pin — so `tb use <toolkit>@editable` routes there by itself and says so.
75
+
76
+ Pre-0.12 state keeps working, unmigrated: loadout discovery falls back to `profiles/` per scope, `default.profile` is read when `default.loadout` is unset, a nested `version:` inside a toolkit entry is still honoured, and manifest pins resolve underneath loadout entries. None of the old names or shapes are ever written, so files convert as they are touched.
77
+
78
+ - **`tb install` writes no manifest and takes no scope.** It puts a toolkit in the shared cache and stops. Previously every install wrote a pin, so a manifest accumulated bookkeeping nobody chose and you couldn't tell deliberate entries from incidental ones — which is where the orphaned pins, the pins that didn't apply, and the install/uninstall scope mismatch all came from. `tb use` is now the only command that records a version, so every entry is one somebody typed.
79
+
80
+ Nothing is needed for the common case: with no recorded version, the newest installed one serves. Installing an older version therefore does not switch to it, and install says so rather than leaving you to notice:
81
+
82
+ ```console
83
+ $ tb install calculator@1.2.0
84
+ ✓ Successfully installed calculator v1.2.0
85
+ Note: 1.4.0 is what serves here (highest installed, no pin), not the 1.2.0 you just installed.
86
+ To use it: tb use calculator@1.2.0
87
+ ```
88
+
89
+ `-u`, `-p` and `--private` are gone from `install`. `-a/--activate` stays and now follows `tb activate`'s own default (this project); pass `-u` to `tb activate` afterwards for the user-level loadout. `-e` no longer writes a private pin — see below.
90
+
91
+ - **`tb use` defaults to this project**, like every other scoped command. It defaulted to user scope, which meant that run from inside a repo with its own `.toolbase/` it wrote a version that the repo then ignored in favour of the highest installed — a success message for a no-op. `-u` still writes the user layer explicitly. Because an editable slot names a path only your machine has, `tb use -p <toolkit>@editable` routes to the private layer by itself rather than committing a pin that breaks for everyone else.
92
+
93
+ - **A project is any directory with a `.toolbase/`,** not one containing `.toolbase/manifest.yaml`. The marker was a file that commands had to fabricate in order to be found later, so whether a directory counted as a project depended on which command you happened to run first. The directory alone is the marker, and `~/.toolbase/` is explicitly excluded so your home directory does not become a project that shadows every other.
94
+
95
+ - **Editable installs are opt-in, and every surface says so.** An `editable` slot still loses the unpinned fallback to any numbered version — deliberately. The cache is user-wide (one `cache/<name>/editable/` shared by every directory), so if linking a checkout won by default, a single `tb install -e` would change what every agent session on the machine runs, and confining it again would mean pinning numbered versions in every *other* project. Losing by default makes it opt-in instead: `tb use <toolkit>@editable` selects the checkout exactly where you run it. It also keeps `tb install` exceptionless — no install changes what serves.
96
+
97
+ What changed is the reporting, since the cost of opt-in is the "my edits do nothing" confusion. All three surfaces that can see it now name the fix: `tb install -e` says so the moment it links a losing checkout, `tb list` marks it on the toolkit, and the serve banner repeats it. The old advice pointed at hand-editing `manifest.local.yaml`; it now points at `tb use <toolkit>@editable`.
98
+
99
+ - **One scope vocabulary across every command: `--user` / `--project` / `--private`.** The CLI had grown two parallel spellings of the same axis — `-g/--global` and `-l/--local` on install/activate/connect, `--user`/`--project` on config — plus a `--local` that meant *committed project scope* in the first family and *gitignored machine layer* in the second. Same word, opposite answer to "will my teammates get this?"
100
+
101
+ The three keys are now the same everywhere: `-u/--user` (`~/.toolbase/`), `-p/--project` (`<repo>/.toolbase/`, committed), and `--private` (`<repo>/.toolbase/*.local.yaml`, gitignored). `--global`, `-g`, `--local` and `-l` are **removed**, not deprecated. `--layer` takes `user|project|private`.
102
+
103
+ This closes a gap as well as a redundancy: versions had no flag for the private layer at all — the machine-local file was reachable only implicitly, via `-e` or `tb use …@editable`. `tb use --private` now writes it directly.
104
+
105
+ Every scoped command now defaults to this project; `install` takes no scope at all. `tb init`'s `-p` short for `--path` is gone, so `-p` means project everywhere; `--path` still works.
106
+
107
+ ### Added
108
+
109
+ - **`tb status`** — one place that answers which context applies, what would serve, what can reach it, and what's broken. Run against a real machine during development it immediately surfaced two pins naming toolkits that were never installed; serve skips those silently and nothing in `tb list` said so.
110
+
111
+ ```console
112
+ $ tb status
113
+ On project myrepo/ (.toolbase/ above cwd)
114
+ Loadout default (implicit default loadout)
115
+
116
+ Active — served to agents
117
+ heptapod 2.4.0 pinned
118
+
119
+ Installed, not active
120
+ arxiv-search 0.1.0
121
+
122
+ Wired harnesses
123
+ claude-code .mcp.json
124
+
125
+ Issues
126
+ skilltk 0.1.0 pinned, not installed
127
+ ```
128
+
129
+ The Active and Wired sections always render, saying `(none)` when empty and naming the command that fills them — an absent section reads as "nothing to say here" when the fact that nothing is wired is usually the answer you needed.
130
+
131
+ - **`tb use <toolkit>@<version>` switches which installed version serves.** Only `install` could record a version, so moving between two already-installed ones meant re-running `tb install <name>@<version>` — which deletes the cache slot and rebuilds the environment from scratch, and, if you decline the "already installed, reinstall?" prompt, aborts before recording anything at all. There was no way to make the switch without paying for the rebuild. `tb use` writes the loadout's `versions:` block and nothing else: it does not download, rebuild, or activate. Bare `tb use <toolkit>` clears the entry; `-u`/`-p`/`--private` scope it. A private entry that would silently override the layer being written is removed, loudly.
132
+
133
+ - **`tb list` marks the version that actually serves.** The old `*` marked "pinned", which is silent in exactly the case that confuses people most: nothing is pinned, several versions are installed, and the highest-wins fallback picks one with no sign that a choice was made. A `➤` now sits on the slot `tb serve` would spawn, with the reason beside it, and the source of the versions is printed rather than left implicit. `--json` grows `serving` and `serving_reason` (`active` was already taken, and refers to the loadout, not the version).
134
+
135
+ - **Continuous integration.** The unit suite runs on Python 3.12 and 3.13 for every push, and the e2e harnesses run on pull requests. There was none before, which is why four separate shipped changes each broke a harness unnoticed. Harnesses known to be stale are listed explicitly and the job fails if one of them starts passing, so the list can't quietly become a place where failures go to be forgotten. A working-tree check fails the build if a test writes into the checkout.
136
+
137
+ ### Changed
138
+
139
+ - **`tb list -v` groups tools by bundle.** One alphabetical list of 60 tools across 12 bundles said nothing about which capability groups a toolkit offers, and repeated each gating reason on every row of a gated bundle — heptapod printed "needs config: wolframscript_path" seven times. Each gate now sits once on its bundle header, next to the command that clears it, and the per-tool `[bundle: x]` tag is gone (bundle membership is the grouping; only multi-bundle tools keep a cross-reference). Uninstalled bundles collapse to a header plus their tool names, replacing the install-gated collapse threshold.
140
+
141
+ ### Fixed
142
+
143
+ - **`tb list -v` said nothing at all about a toolkit `serve` would refuse to run.** It filtered discovery on "no skip reason" and returned silently when that matched nothing, so a toolkit with a pin naming an absent slot — an editable install removed outside `tb uninstall`, say — printed its version rows and no tools. It read as "this toolkit has no tools" rather than "this is about to fail". The reason is now printed, in both plain and verbose output.
144
+
145
+ - **`tb use` activated the toolkit as a side effect, and `tb deactivate` discarded its version.** Both followed from storing the version inside the curation entry: writing a version had to create that entry, which is what "activated" means, and removing the entry took the version with it. Deactivating and reactivating a toolkit silently moved it to the newest installed build. Versions live in their own block now, so the two operations no longer touch each other's state.
146
+
147
+ - **Creating a project dropped every user-level version choice.** A project loadout shadows the user's, which is right for curation and wrong for versions: running `tb activate` in a plain directory makes it a project, and every toolkit whose version you had chosen machine-wide silently jumped to the newest installed. The choice was still on disk, it had just stopped applying. Versions now layer user-then-project per toolkit, the same chain per-toolkit config already used, so a project overrides only what it actually names.
148
+
149
+ - **`tb setup` could configure a different version than `tb serve` runs.** It read pins from the committed manifest only, while serve reads the committed and machine-local layers merged, so an editable pin in the private layer sent the two commands at different slots. Both now resolve through one implementation; a version naming an uninstalled slot is an error rather than a silent fallback to another.
150
+
151
+ - **`tb status` looked for wired harnesses where clients never read.** It resolved the project root the way read-only commands do, landing on the user default, while `tb connect` writes `.mcp.json` into the working directory — so a correctly wired project reported nothing wired.
152
+
153
+ - **A user-scope version written from inside a project claimed success while changing nothing there.** A cwd inside a project resolves versions from *that* project, so `tb use kit@1.0.0` run from a repo with its own `.toolbase/` recorded a choice the repo then ignored in favour of the highest installed. It printed a plain success line. `tb use` now defaults to the project, and still says so when an explicit `-u` write won't apply where you are.
154
+
155
+ - **Project-scoped writes ignored `--project-dir`.** They walked up from the working directory regardless, so the documented project-discovery override didn't apply.
156
+
157
+ - **`tb uninstall` listed installed versions lexicographically** in its "not installed" error, putting `2.10.0` before `2.9.0` — the opposite of `tb list` and `tb use`, which sort numerically.
158
+
159
+ - **`tb uninstall` left a dangling pin in the user-level manifest.** Install pinned the default-project by default (it no longer pins at all), but `uninstall` only cleaned the *active* project's manifest — different files whenever you're inside a project with its own `.toolbase/`. Installing a toolkit from a repo and then uninstalling it there deleted the binaries while leaving `<name>@<version>` recorded globally, naming a version that no longer existed. Since a version naming an absent slot makes serve skip the toolkit outright, the toolkit then stayed unservable everywhere the default-project applies — including after reinstalling a *different* version, because the stale entry still won. Both roots' committed and private layers are now cleaned, in manifests and loadouts alike, and the message names which file it edited.
10
160
 
11
161
  ## [0.11.0] — 2026-07-30
12
162
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: toolbase
3
- Version: 0.11.0
3
+ Version: 0.13.0
4
4
  Summary: The community registry and CLI for AI agent toolkits - discover, share, and serve tools to AI agents over MCP
5
5
  Author-email: Alex Roman <toolbase.dev@gmail.com>
6
6
  License: MIT
@@ -53,8 +53,6 @@ harness. Each toolkit installs into its own isolated Python environment,
53
53
  so dependency conflicts between toolkits are never a problem. A toolkit
54
54
  can even ship *only* skills (a **skill pack**).
55
55
 
56
- Full CLI reference: <https://toolbase-ai.com/docs>.
57
-
58
56
  ---
59
57
 
60
58
  ## Install toolbase
@@ -83,8 +81,8 @@ appear as `calculator__add`, `calculator__multiply`, etc.
83
81
  but serves nothing — activation is what exposes it to the agent. The
84
82
  binary always lives in the shared cache (`~/.toolbase/cache/`); only
85
83
  the activation is scoped: `tb activate` writes to the current
86
- directory's `.toolbase/` by default, `-g` writes to the user-wide
87
- profile instead.
84
+ directory's `.toolbase/` by default, `-u` writes to the user-wide
85
+ loadout instead.
88
86
 
89
87
  **`tb connect` writes the MCP config for you.** Claude Code, Codex,
90
88
  OpenCode, Antigravity, and Orchestral are all supported (`tb connect
@@ -117,10 +115,10 @@ A `<toolkit>__<name>` item is a **skill** when it matches a surfaced
117
115
  skill and not a tool; otherwise it's a tool (a name that is both resolves
118
116
  to the tool). A **bundle** is a self-contained capability an author
119
117
  carves out of a toolkit, with its own deps and skills.
120
- `tb profile tools calculator` lists what's available. Power users can
121
- keep several named profiles (`tb profile create paper`,
122
- `tb connect claude-code --profile paper`) and switch between them; most
123
- users only ever touch the default profile.
118
+ `tb loadout tools calculator` lists what's available. Power users can
119
+ keep several named loadouts (`tb loadout create paper`,
120
+ `tb connect claude-code --loadout paper`) and switch between them; most
121
+ users only ever touch the default loadout.
124
122
 
125
123
  Tools are served namespaced as `<toolkit>__<tool>` by default, so two active
126
124
  toolkits that both define, say, an `add` tool stay distinct (`calculator__add`
@@ -178,17 +176,19 @@ binary) read it from three layers, later winning key-by-key:
178
176
  |---|---|---|
179
177
  | user | `~/.toolbase/config/<kit>.yaml` | your defaults and secrets, every project |
180
178
  | project | `<repo>/.toolbase/config/<kit>.yaml` | committed, shared with the team |
181
- | local | `<repo>/.toolbase/config/<kit>.local.yaml` | this project on *this* machine; gitignored |
179
+ | private | `<repo>/.toolbase/config/<kit>.local.yaml` | this project on *this* machine; gitignored |
182
180
 
183
181
  ```bash
184
182
  tb config set calculator precision 10 # committed
185
- tb config set calculator solver_path /opt/bin --local # yours alone
183
+ tb config set calculator solver_path /opt/bin --private # yours alone
186
184
  ```
187
185
 
188
- Toolkit versions split the same way: `manifest.yaml` is committed so a
189
- collaborator who clones the project and runs `tb install` gets the same
190
- toolkits at the same versions, while `manifest.local.yaml` holds machine-local
191
- pins like editable installs.
186
+ Toolkit versions split the same way, via `tb use`, and they live in the
187
+ loadout beside the tool selection — so one file says both which tools an
188
+ agent gets and which build of them. `-p` writes the committed
189
+ `loadouts/default.yaml`, `--private` the gitignored `default.local.yaml`.
190
+ `tb install` writes neither: it only fills the shared cache, and without a
191
+ pin the newest installed version serves.
192
192
 
193
193
  ---
194
194
 
@@ -215,6 +215,12 @@ tb install -e . -a # live symlink to this source dir, and activate
215
215
  Edits to your tool source appear on the next serve; rerun
216
216
  `tb install -e .` to rebuild the env when dependencies change.
217
217
 
218
+ If a published version of the same toolkit is also installed, that one
219
+ keeps serving until you say otherwise — `-e` links the checkout without
220
+ selecting it, because the cache is shared by every directory on your
221
+ machine. `tb use my-toolkit@editable` opts in where you're working;
222
+ install tells you when this applies.
223
+
218
224
  For the full author guide — tool conventions, skills, bundles,
219
225
  configuration, `setup.py` — see <https://toolbase-ai.com/docs/authoring>.
220
226
  For the agent-assisted authoring flow (recommended for first toolkits),
@@ -231,13 +237,13 @@ Full reference with all flags: <https://toolbase-ai.com/docs/reference/commands>
231
237
  | `tb install NAME` | Install a toolkit (`-a` to also activate, `-e <path>` for editable, `NAME[a,b]` for selected bundles) |
232
238
  | `tb uninstall NAME` | Remove a toolkit |
233
239
  | `tb list` | Installed toolkits (`-v` for a per-tool view) |
234
- | `tb activate ITEM` | Expose a toolkit / `toolkit/bundle` / `toolkit__tool` / `toolkit__skill` (project-local; `-g` for user-wide) |
240
+ | `tb activate ITEM` | Expose a toolkit / `toolkit/bundle` / `toolkit__tool` / `toolkit__skill` (project-local; `-u` for user-wide) |
235
241
  | `tb deactivate ITEM` | Hide a toolkit / bundle / tool / skill |
236
242
  | `tb connect HARNESS` | Wire toolbase into Claude Code, Codex, OpenCode, Antigravity, or scaffold an Orchestral agent script (also surfaces skills; `--no-skills` to skip) |
237
243
  | `tb disconnect HARNESS` | Remove toolbase from a harness (and its surfaced skills) |
238
244
  | `tb logs` | Tail the serve log, live |
239
- | `tb profile …` | Manage named profiles: `list \| show \| create \| edit \| delete \| set-default \| path \| tools` |
240
- | `tb config …` | Manage per-toolkit config: `show \| init \| set \| unset \| edit \| path \| validate` (`--user` / `--project` / `--local` pick the layer) |
245
+ | `tb loadout …` | Manage named loadouts: `list \| show \| create \| edit \| delete \| set-default \| path \| tools` |
246
+ | `tb config …` | Manage per-toolkit config: `show \| init \| set \| unset \| edit \| path \| validate` (`--user` / `--project` / `--private` pick the layer) |
241
247
  | `tb setup TOOLKIT` | Run a toolkit's `setup.py` (`--reset`, `--check`) |
242
248
  | `tb project init` | Create `.toolbase/` here |
243
249
  | `tb init NAME` | Scaffold a toolkit from template |
@@ -12,8 +12,6 @@ harness. Each toolkit installs into its own isolated Python environment,
12
12
  so dependency conflicts between toolkits are never a problem. A toolkit
13
13
  can even ship *only* skills (a **skill pack**).
14
14
 
15
- Full CLI reference: <https://toolbase-ai.com/docs>.
16
-
17
15
  ---
18
16
 
19
17
  ## Install toolbase
@@ -42,8 +40,8 @@ appear as `calculator__add`, `calculator__multiply`, etc.
42
40
  but serves nothing — activation is what exposes it to the agent. The
43
41
  binary always lives in the shared cache (`~/.toolbase/cache/`); only
44
42
  the activation is scoped: `tb activate` writes to the current
45
- directory's `.toolbase/` by default, `-g` writes to the user-wide
46
- profile instead.
43
+ directory's `.toolbase/` by default, `-u` writes to the user-wide
44
+ loadout instead.
47
45
 
48
46
  **`tb connect` writes the MCP config for you.** Claude Code, Codex,
49
47
  OpenCode, Antigravity, and Orchestral are all supported (`tb connect
@@ -76,10 +74,10 @@ A `<toolkit>__<name>` item is a **skill** when it matches a surfaced
76
74
  skill and not a tool; otherwise it's a tool (a name that is both resolves
77
75
  to the tool). A **bundle** is a self-contained capability an author
78
76
  carves out of a toolkit, with its own deps and skills.
79
- `tb profile tools calculator` lists what's available. Power users can
80
- keep several named profiles (`tb profile create paper`,
81
- `tb connect claude-code --profile paper`) and switch between them; most
82
- users only ever touch the default profile.
77
+ `tb loadout tools calculator` lists what's available. Power users can
78
+ keep several named loadouts (`tb loadout create paper`,
79
+ `tb connect claude-code --loadout paper`) and switch between them; most
80
+ users only ever touch the default loadout.
83
81
 
84
82
  Tools are served namespaced as `<toolkit>__<tool>` by default, so two active
85
83
  toolkits that both define, say, an `add` tool stay distinct (`calculator__add`
@@ -137,17 +135,19 @@ binary) read it from three layers, later winning key-by-key:
137
135
  |---|---|---|
138
136
  | user | `~/.toolbase/config/<kit>.yaml` | your defaults and secrets, every project |
139
137
  | project | `<repo>/.toolbase/config/<kit>.yaml` | committed, shared with the team |
140
- | local | `<repo>/.toolbase/config/<kit>.local.yaml` | this project on *this* machine; gitignored |
138
+ | private | `<repo>/.toolbase/config/<kit>.local.yaml` | this project on *this* machine; gitignored |
141
139
 
142
140
  ```bash
143
141
  tb config set calculator precision 10 # committed
144
- tb config set calculator solver_path /opt/bin --local # yours alone
142
+ tb config set calculator solver_path /opt/bin --private # yours alone
145
143
  ```
146
144
 
147
- Toolkit versions split the same way: `manifest.yaml` is committed so a
148
- collaborator who clones the project and runs `tb install` gets the same
149
- toolkits at the same versions, while `manifest.local.yaml` holds machine-local
150
- pins like editable installs.
145
+ Toolkit versions split the same way, via `tb use`, and they live in the
146
+ loadout beside the tool selection — so one file says both which tools an
147
+ agent gets and which build of them. `-p` writes the committed
148
+ `loadouts/default.yaml`, `--private` the gitignored `default.local.yaml`.
149
+ `tb install` writes neither: it only fills the shared cache, and without a
150
+ pin the newest installed version serves.
151
151
 
152
152
  ---
153
153
 
@@ -174,6 +174,12 @@ tb install -e . -a # live symlink to this source dir, and activate
174
174
  Edits to your tool source appear on the next serve; rerun
175
175
  `tb install -e .` to rebuild the env when dependencies change.
176
176
 
177
+ If a published version of the same toolkit is also installed, that one
178
+ keeps serving until you say otherwise — `-e` links the checkout without
179
+ selecting it, because the cache is shared by every directory on your
180
+ machine. `tb use my-toolkit@editable` opts in where you're working;
181
+ install tells you when this applies.
182
+
177
183
  For the full author guide — tool conventions, skills, bundles,
178
184
  configuration, `setup.py` — see <https://toolbase-ai.com/docs/authoring>.
179
185
  For the agent-assisted authoring flow (recommended for first toolkits),
@@ -190,13 +196,13 @@ Full reference with all flags: <https://toolbase-ai.com/docs/reference/commands>
190
196
  | `tb install NAME` | Install a toolkit (`-a` to also activate, `-e <path>` for editable, `NAME[a,b]` for selected bundles) |
191
197
  | `tb uninstall NAME` | Remove a toolkit |
192
198
  | `tb list` | Installed toolkits (`-v` for a per-tool view) |
193
- | `tb activate ITEM` | Expose a toolkit / `toolkit/bundle` / `toolkit__tool` / `toolkit__skill` (project-local; `-g` for user-wide) |
199
+ | `tb activate ITEM` | Expose a toolkit / `toolkit/bundle` / `toolkit__tool` / `toolkit__skill` (project-local; `-u` for user-wide) |
194
200
  | `tb deactivate ITEM` | Hide a toolkit / bundle / tool / skill |
195
201
  | `tb connect HARNESS` | Wire toolbase into Claude Code, Codex, OpenCode, Antigravity, or scaffold an Orchestral agent script (also surfaces skills; `--no-skills` to skip) |
196
202
  | `tb disconnect HARNESS` | Remove toolbase from a harness (and its surfaced skills) |
197
203
  | `tb logs` | Tail the serve log, live |
198
- | `tb profile …` | Manage named profiles: `list \| show \| create \| edit \| delete \| set-default \| path \| tools` |
199
- | `tb config …` | Manage per-toolkit config: `show \| init \| set \| unset \| edit \| path \| validate` (`--user` / `--project` / `--local` pick the layer) |
204
+ | `tb loadout …` | Manage named loadouts: `list \| show \| create \| edit \| delete \| set-default \| path \| tools` |
205
+ | `tb config …` | Manage per-toolkit config: `show \| init \| set \| unset \| edit \| path \| validate` (`--user` / `--project` / `--private` pick the layer) |
200
206
  | `tb setup TOOLKIT` | Run a toolkit's `setup.py` (`--reset`, `--check`) |
201
207
  | `tb project init` | Create `.toolbase/` here |
202
208
  | `tb init NAME` | Scaffold a toolkit from template |
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "toolbase"
7
- version = "0.11.0"
7
+ version = "0.13.0"
8
8
  description = "The community registry and CLI for AI agent toolkits - discover, share, and serve tools to AI agents over MCP"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"