toolbase 0.10.0__tar.gz → 0.12.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.10.0 → toolbase-0.12.0}/CHANGELOG.md +126 -2
  2. {toolbase-0.10.0 → toolbase-0.12.0}/PKG-INFO +29 -19
  3. {toolbase-0.10.0 → toolbase-0.12.0}/README.md +28 -18
  4. {toolbase-0.10.0 → toolbase-0.12.0}/pyproject.toml +1 -1
  5. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/cli.py +1142 -687
  6. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/connect/antigravity.py +7 -5
  7. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/connect/claude_code.py +3 -5
  8. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/connect/orchestral.py +21 -21
  9. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/envs/__init__.py +26 -0
  10. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/envs/discovery.py +51 -11
  11. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/envs/paths.py +29 -10
  12. toolbase-0.12.0/toolbase/envs/resolve.py +230 -0
  13. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/serve/config.py +28 -24
  14. toolbase-0.10.0/toolbase/serve/profile_scaffold.py → toolbase-0.12.0/toolbase/serve/loadout_scaffold.py +95 -35
  15. toolbase-0.10.0/toolbase/serve/profiles.py → toolbase-0.12.0/toolbase/serve/loadouts.py +202 -87
  16. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/serve/orchestrator.py +70 -98
  17. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/setup/runner.py +21 -33
  18. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/setup/storage.py +5 -4
  19. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/skills.py +114 -14
  20. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/validation.py +26 -11
  21. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase.egg-info/SOURCES.txt +3 -2
  22. {toolbase-0.10.0 → toolbase-0.12.0}/LICENSE +0 -0
  23. {toolbase-0.10.0 → toolbase-0.12.0}/MANIFEST.in +0 -0
  24. {toolbase-0.10.0 → toolbase-0.12.0}/setup.cfg +0 -0
  25. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/__init__.py +0 -0
  26. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/_setup_host.py +0 -0
  27. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/_toolkit_host.py +0 -0
  28. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/astro.py +0 -0
  29. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/auth.py +0 -0
  30. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/config.py +0 -0
  31. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/connect/__init__.py +0 -0
  32. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/connect/base.py +0 -0
  33. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/connect/codex.py +0 -0
  34. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/connect/opencode.py +0 -0
  35. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/envs/bundle_deps.py +0 -0
  36. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/envs/cache.py +0 -0
  37. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/envs/config.py +0 -0
  38. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/envs/manifest.py +0 -0
  39. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/envs/schema.py +0 -0
  40. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/hep.py +0 -0
  41. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/ingest.py +0 -0
  42. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/logging/__init__.py +0 -0
  43. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/logging/logger.py +0 -0
  44. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/naming.py +0 -0
  45. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/neutrino.py +0 -0
  46. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/quantum.py +0 -0
  47. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/serve/__init__.py +0 -0
  48. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/serve/bundles.py +0 -0
  49. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/serve/proxy_tool.py +0 -0
  50. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/setup/__init__.py +0 -0
  51. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/setup/_rpc.py +0 -0
  52. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/setup/context.py +0 -0
  53. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/setup/declarative.py +0 -0
  54. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/setup/downloads.py +0 -0
  55. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/setup/prompts.py +0 -0
  56. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/setup/schema.py +0 -0
  57. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/setup/validate_cache.py +0 -0
  58. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/templates/Dockerfile.template +0 -0
  59. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/templates/README.md.template +0 -0
  60. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/templates/__init__.py.template +0 -0
  61. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/templates/mcp/__init__.py.template +0 -0
  62. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/templates/mcp/server_stdio.py.template +0 -0
  63. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/templates/requirements.txt.template +0 -0
  64. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/templates/setup.py.template +0 -0
  65. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/templates/skills/example_skill.md +0 -0
  66. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/templates/tool_example.py +0 -0
  67. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/templates/toolkit.yaml.template +0 -0
  68. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/toolkit.py +0 -0
  69. {toolbase-0.10.0 → toolbase-0.12.0}/toolbase/versioning.py +0 -0
@@ -6,7 +6,131 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
6
6
 
7
7
  ---
8
8
 
9
- ## [Unreleased]
9
+ ## [0.12.0] — 2026-08-02
10
+
11
+ 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.
12
+
13
+ ### Changed (breaking)
14
+
15
+ - **Profiles are now loadouts, and they carry versions.** Two changes that only make sense together.
16
+
17
+ `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.
18
+
19
+ 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.
20
+
21
+ ```yaml
22
+ # .toolbase/loadouts/paper.yaml
23
+ versions:
24
+ heptapod: 2.4.0 # omit to take the fallback (newest installed)
25
+ toolkits:
26
+ heptapod:
27
+ bundles: [pdg, analysis]
28
+ ```
29
+
30
+ 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.
31
+
32
+ `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.
33
+
34
+ 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.
35
+
36
+ - **`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.
37
+
38
+ 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:
39
+
40
+ ```console
41
+ $ tb install calculator@1.2.0
42
+ ✓ Successfully installed calculator v1.2.0
43
+ Note: 1.4.0 is what serves here (highest installed, no pin), not the 1.2.0 you just installed.
44
+ To use it: tb use calculator@1.2.0
45
+ ```
46
+
47
+ `-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.
48
+
49
+ - **`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.
50
+
51
+ - **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.
52
+
53
+ - **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.
54
+
55
+ 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`.
56
+
57
+ - **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?"
58
+
59
+ 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`.
60
+
61
+ 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.
62
+
63
+ 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.
64
+
65
+ ### Added
66
+
67
+ - **`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.
68
+
69
+ ```console
70
+ $ tb status
71
+ On project myrepo/ (.toolbase/ above cwd)
72
+ Loadout default (implicit default loadout)
73
+
74
+ Active — served to agents
75
+ heptapod 2.4.0 pinned
76
+
77
+ Installed, not active
78
+ arxiv-search 0.1.0
79
+
80
+ Wired harnesses
81
+ claude-code .mcp.json
82
+
83
+ Issues
84
+ skilltk 0.1.0 pinned, not installed
85
+ ```
86
+
87
+ 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.
88
+
89
+ - **`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.
90
+
91
+ - **`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).
92
+
93
+ - **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.
94
+
95
+ ### Changed
96
+
97
+ - **`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.
98
+
99
+ ### Fixed
100
+
101
+ - **`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.
102
+
103
+ - **`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.
104
+
105
+ - **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.
106
+
107
+ - **`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.
108
+
109
+ - **`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.
110
+
111
+ - **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.
112
+
113
+ - **Project-scoped writes ignored `--project-dir`.** They walked up from the working directory regardless, so the documented project-discovery override didn't apply.
114
+
115
+ - **`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.
116
+
117
+ - **`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.
118
+
119
+ ## [0.11.0] — 2026-07-30
120
+
121
+ ### Added
122
+
123
+ - **Skills can now be directories, not just files.** A toolkit ships a skill either as `skills/<name>.md` or as `skills/<name>/SKILL.md` — the second form carrying `references/`, `scripts/` and assets beside the guide, which is how skills are written for Claude Code and Antigravity natively. Previously only the flat file was discovered: a directory-form skill was invisible everywhere (not surfaced, not counted, not validated, not reachable by `tb activate <toolkit>__<skill>`) while still shipping inside the package, so a skill written for Claude Code silently did nothing when dropped into a toolkit.
124
+
125
+ Attachments travel to harnesses that take a skill as a directory (Claude Code, Antigravity), symlinked per file so edits to an editable install show up live and toolbase never writes into the author's toolkit. Harnesses that take a single prompt file (Codex, OpenCode) get the guide alone. A directory with no `SKILL.md` isn't a skill; `tb validate` now says so rather than ignoring it.
126
+
127
+ ### Changed
128
+
129
+ - **The Antigravity project-scope warning now says what the CLI actually does.** 0.10.0 shipped a note claiming the IDE and SDK honor a workspace `.agents/mcp_config.json` while the CLI "discovers and then ignores" it, citing [antigravity-cli#60](https://github.com/google-antigravity/antigravity-cli/issues/60) — a report against `.antigravitycli/mcp_config.json`, a different path. Tested directly: with `.agents/mcp_config.json` wired and the `agy` CLI launched in that workspace, no server starts and its log never mentions MCP; the identical entry in the global root starts one at boot. The printed note, the adapter docs, and this changelog now state that, and attribute the IDE/SDK half to Google's documentation rather than to verification. Guidance is unchanged: on the CLI, connect with `-g`.
130
+
131
+ ### Fixed
132
+
133
+ - **`tb validate` prints its hints on success.** Warnings — missing README, incomplete skill frontmatter, a skill directory with no `SKILL.md` — were only shown when validation *failed*, so a valid toolkit's hints were computed and discarded. That is exactly when the author can still act on them.
10
134
 
11
135
  ## [0.10.0] — 2026-07-30
12
136
 
@@ -14,7 +138,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
14
138
 
15
139
  - **`tb connect antigravity` wires Google Antigravity.** One adapter covers the `agy` CLI, the Antigravity IDE, and the SDK, because all three read the same MCP config. Scopes follow Antigravity's two customization roots: `-g` writes the global `~/.gemini/config/mcp_config.json`, project scope writes the workspace `.agents/mcp_config.json`. Skills surface natively — `~/.gemini/config/skills/<toolkit>__<skill>/SKILL.md`, the same directory-plus-frontmatter layout Claude Code uses, so a toolkit's guides are loaded on demand rather than reduced to slash commands.
16
140
 
17
- Two Antigravity quirks are handled: a zero-byte `mcp_config.json` (which the IDE creates on first launch) is read as an empty config rather than refused as malformed, and project scope prints a warning that only the IDE and SDK honor a workspace config today — the CLI discovers and then ignores it ([antigravity-cli#60](https://github.com/google-antigravity/antigravity-cli/issues/60)), so CLI users should connect with `-g`.
141
+ Two Antigravity quirks are handled: a zero-byte `mcp_config.json` (which the IDE creates on first launch) is read as an empty config rather than refused as malformed, and project scope prints a warning about workspace configs — see the 0.11.0 entry above, which corrects what that warning claims.
18
142
 
19
143
  ## [0.9.1] — 2026-07-29
20
144
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: toolbase
3
- Version: 0.10.0
3
+ Version: 0.12.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
@@ -83,8 +83,8 @@ appear as `calculator__add`, `calculator__multiply`, etc.
83
83
  but serves nothing — activation is what exposes it to the agent. The
84
84
  binary always lives in the shared cache (`~/.toolbase/cache/`); only
85
85
  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.
86
+ directory's `.toolbase/` by default, `-u` writes to the user-wide
87
+ loadout instead.
88
88
 
89
89
  **`tb connect` writes the MCP config for you.** Claude Code, Codex,
90
90
  OpenCode, Antigravity, and Orchestral are all supported (`tb connect
@@ -117,10 +117,10 @@ A `<toolkit>__<name>` item is a **skill** when it matches a surfaced
117
117
  skill and not a tool; otherwise it's a tool (a name that is both resolves
118
118
  to the tool). A **bundle** is a self-contained capability an author
119
119
  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.
120
+ `tb loadout tools calculator` lists what's available. Power users can
121
+ keep several named loadouts (`tb loadout create paper`,
122
+ `tb connect claude-code --loadout paper`) and switch between them; most
123
+ users only ever touch the default loadout.
124
124
 
125
125
  Tools are served namespaced as `<toolkit>__<tool>` by default, so two active
126
126
  toolkits that both define, say, an `add` tool stay distinct (`calculator__add`
@@ -133,9 +133,11 @@ warning, and the rest are served bare.
133
133
  ## Skills: guides that travel with the toolkit
134
134
 
135
135
  A toolkit can ship **skills** — markdown how-to guides in `skills/` —
136
- alongside its tools or on their own. `tb connect` surfaces the activated
137
- toolkits' skills into the harness you connect, in that harness's native
138
- format:
136
+ alongside its tools or on their own. Each is either a file
137
+ (`skills/exact_math.md`) or a directory (`skills/exact_math/SKILL.md`) that
138
+ carries reference files and scripts beside the guide. `tb connect` surfaces
139
+ the activated toolkits' skills into the harness you connect, in that
140
+ harness's native format:
139
141
 
140
142
  - **Claude Code** → `~/.claude/skills/<toolkit>__<skill>/` — auto-surfaced
141
143
  to the model *and* available as a `/<toolkit>__<skill>` slash command.
@@ -176,17 +178,19 @@ binary) read it from three layers, later winning key-by-key:
176
178
  |---|---|---|
177
179
  | user | `~/.toolbase/config/<kit>.yaml` | your defaults and secrets, every project |
178
180
  | project | `<repo>/.toolbase/config/<kit>.yaml` | committed, shared with the team |
179
- | local | `<repo>/.toolbase/config/<kit>.local.yaml` | this project on *this* machine; gitignored |
181
+ | private | `<repo>/.toolbase/config/<kit>.local.yaml` | this project on *this* machine; gitignored |
180
182
 
181
183
  ```bash
182
184
  tb config set calculator precision 10 # committed
183
- tb config set calculator solver_path /opt/bin --local # yours alone
185
+ tb config set calculator solver_path /opt/bin --private # yours alone
184
186
  ```
185
187
 
186
- Toolkit versions split the same way: `manifest.yaml` is committed so a
187
- collaborator who clones the project and runs `tb install` gets the same
188
- toolkits at the same versions, while `manifest.local.yaml` holds machine-local
189
- pins like editable installs.
188
+ Toolkit versions split the same way, via `tb use`, and they live in the
189
+ loadout beside the tool selection — so one file says both which tools an
190
+ agent gets and which build of them. `-p` writes the committed
191
+ `loadouts/default.yaml`, `--private` the gitignored `default.local.yaml`.
192
+ `tb install` writes neither: it only fills the shared cache, and without a
193
+ pin the newest installed version serves.
190
194
 
191
195
  ---
192
196
 
@@ -213,6 +217,12 @@ tb install -e . -a # live symlink to this source dir, and activate
213
217
  Edits to your tool source appear on the next serve; rerun
214
218
  `tb install -e .` to rebuild the env when dependencies change.
215
219
 
220
+ If a published version of the same toolkit is also installed, that one
221
+ keeps serving until you say otherwise — `-e` links the checkout without
222
+ selecting it, because the cache is shared by every directory on your
223
+ machine. `tb use my-toolkit@editable` opts in where you're working;
224
+ install tells you when this applies.
225
+
216
226
  For the full author guide — tool conventions, skills, bundles,
217
227
  configuration, `setup.py` — see <https://toolbase-ai.com/docs/authoring>.
218
228
  For the agent-assisted authoring flow (recommended for first toolkits),
@@ -229,13 +239,13 @@ Full reference with all flags: <https://toolbase-ai.com/docs/reference/commands>
229
239
  | `tb install NAME` | Install a toolkit (`-a` to also activate, `-e <path>` for editable, `NAME[a,b]` for selected bundles) |
230
240
  | `tb uninstall NAME` | Remove a toolkit |
231
241
  | `tb list` | Installed toolkits (`-v` for a per-tool view) |
232
- | `tb activate ITEM` | Expose a toolkit / `toolkit/bundle` / `toolkit__tool` / `toolkit__skill` (project-local; `-g` for user-wide) |
242
+ | `tb activate ITEM` | Expose a toolkit / `toolkit/bundle` / `toolkit__tool` / `toolkit__skill` (project-local; `-u` for user-wide) |
233
243
  | `tb deactivate ITEM` | Hide a toolkit / bundle / tool / skill |
234
244
  | `tb connect HARNESS` | Wire toolbase into Claude Code, Codex, OpenCode, Antigravity, or scaffold an Orchestral agent script (also surfaces skills; `--no-skills` to skip) |
235
245
  | `tb disconnect HARNESS` | Remove toolbase from a harness (and its surfaced skills) |
236
246
  | `tb logs` | Tail the serve log, live |
237
- | `tb profile …` | Manage named profiles: `list \| show \| create \| edit \| delete \| set-default \| path \| tools` |
238
- | `tb config …` | Manage per-toolkit config: `show \| init \| set \| unset \| edit \| path \| validate` (`--user` / `--project` / `--local` pick the layer) |
247
+ | `tb loadout …` | Manage named loadouts: `list \| show \| create \| edit \| delete \| set-default \| path \| tools` |
248
+ | `tb config …` | Manage per-toolkit config: `show \| init \| set \| unset \| edit \| path \| validate` (`--user` / `--project` / `--private` pick the layer) |
239
249
  | `tb setup TOOLKIT` | Run a toolkit's `setup.py` (`--reset`, `--check`) |
240
250
  | `tb project init` | Create `.toolbase/` here |
241
251
  | `tb init NAME` | Scaffold a toolkit from template |
@@ -42,8 +42,8 @@ appear as `calculator__add`, `calculator__multiply`, etc.
42
42
  but serves nothing — activation is what exposes it to the agent. The
43
43
  binary always lives in the shared cache (`~/.toolbase/cache/`); only
44
44
  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.
45
+ directory's `.toolbase/` by default, `-u` writes to the user-wide
46
+ loadout instead.
47
47
 
48
48
  **`tb connect` writes the MCP config for you.** Claude Code, Codex,
49
49
  OpenCode, Antigravity, and Orchestral are all supported (`tb connect
@@ -76,10 +76,10 @@ A `<toolkit>__<name>` item is a **skill** when it matches a surfaced
76
76
  skill and not a tool; otherwise it's a tool (a name that is both resolves
77
77
  to the tool). A **bundle** is a self-contained capability an author
78
78
  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.
79
+ `tb loadout tools calculator` lists what's available. Power users can
80
+ keep several named loadouts (`tb loadout create paper`,
81
+ `tb connect claude-code --loadout paper`) and switch between them; most
82
+ users only ever touch the default loadout.
83
83
 
84
84
  Tools are served namespaced as `<toolkit>__<tool>` by default, so two active
85
85
  toolkits that both define, say, an `add` tool stay distinct (`calculator__add`
@@ -92,9 +92,11 @@ warning, and the rest are served bare.
92
92
  ## Skills: guides that travel with the toolkit
93
93
 
94
94
  A toolkit can ship **skills** — markdown how-to guides in `skills/` —
95
- alongside its tools or on their own. `tb connect` surfaces the activated
96
- toolkits' skills into the harness you connect, in that harness's native
97
- format:
95
+ alongside its tools or on their own. Each is either a file
96
+ (`skills/exact_math.md`) or a directory (`skills/exact_math/SKILL.md`) that
97
+ carries reference files and scripts beside the guide. `tb connect` surfaces
98
+ the activated toolkits' skills into the harness you connect, in that
99
+ harness's native format:
98
100
 
99
101
  - **Claude Code** → `~/.claude/skills/<toolkit>__<skill>/` — auto-surfaced
100
102
  to the model *and* available as a `/<toolkit>__<skill>` slash command.
@@ -135,17 +137,19 @@ binary) read it from three layers, later winning key-by-key:
135
137
  |---|---|---|
136
138
  | user | `~/.toolbase/config/<kit>.yaml` | your defaults and secrets, every project |
137
139
  | project | `<repo>/.toolbase/config/<kit>.yaml` | committed, shared with the team |
138
- | local | `<repo>/.toolbase/config/<kit>.local.yaml` | this project on *this* machine; gitignored |
140
+ | private | `<repo>/.toolbase/config/<kit>.local.yaml` | this project on *this* machine; gitignored |
139
141
 
140
142
  ```bash
141
143
  tb config set calculator precision 10 # committed
142
- tb config set calculator solver_path /opt/bin --local # yours alone
144
+ tb config set calculator solver_path /opt/bin --private # yours alone
143
145
  ```
144
146
 
145
- Toolkit versions split the same way: `manifest.yaml` is committed so a
146
- collaborator who clones the project and runs `tb install` gets the same
147
- toolkits at the same versions, while `manifest.local.yaml` holds machine-local
148
- pins like editable installs.
147
+ Toolkit versions split the same way, via `tb use`, and they live in the
148
+ loadout beside the tool selection — so one file says both which tools an
149
+ agent gets and which build of them. `-p` writes the committed
150
+ `loadouts/default.yaml`, `--private` the gitignored `default.local.yaml`.
151
+ `tb install` writes neither: it only fills the shared cache, and without a
152
+ pin the newest installed version serves.
149
153
 
150
154
  ---
151
155
 
@@ -172,6 +176,12 @@ tb install -e . -a # live symlink to this source dir, and activate
172
176
  Edits to your tool source appear on the next serve; rerun
173
177
  `tb install -e .` to rebuild the env when dependencies change.
174
178
 
179
+ If a published version of the same toolkit is also installed, that one
180
+ keeps serving until you say otherwise — `-e` links the checkout without
181
+ selecting it, because the cache is shared by every directory on your
182
+ machine. `tb use my-toolkit@editable` opts in where you're working;
183
+ install tells you when this applies.
184
+
175
185
  For the full author guide — tool conventions, skills, bundles,
176
186
  configuration, `setup.py` — see <https://toolbase-ai.com/docs/authoring>.
177
187
  For the agent-assisted authoring flow (recommended for first toolkits),
@@ -188,13 +198,13 @@ Full reference with all flags: <https://toolbase-ai.com/docs/reference/commands>
188
198
  | `tb install NAME` | Install a toolkit (`-a` to also activate, `-e <path>` for editable, `NAME[a,b]` for selected bundles) |
189
199
  | `tb uninstall NAME` | Remove a toolkit |
190
200
  | `tb list` | Installed toolkits (`-v` for a per-tool view) |
191
- | `tb activate ITEM` | Expose a toolkit / `toolkit/bundle` / `toolkit__tool` / `toolkit__skill` (project-local; `-g` for user-wide) |
201
+ | `tb activate ITEM` | Expose a toolkit / `toolkit/bundle` / `toolkit__tool` / `toolkit__skill` (project-local; `-u` for user-wide) |
192
202
  | `tb deactivate ITEM` | Hide a toolkit / bundle / tool / skill |
193
203
  | `tb connect HARNESS` | Wire toolbase into Claude Code, Codex, OpenCode, Antigravity, or scaffold an Orchestral agent script (also surfaces skills; `--no-skills` to skip) |
194
204
  | `tb disconnect HARNESS` | Remove toolbase from a harness (and its surfaced skills) |
195
205
  | `tb logs` | Tail the serve log, live |
196
- | `tb profile …` | Manage named profiles: `list \| show \| create \| edit \| delete \| set-default \| path \| tools` |
197
- | `tb config …` | Manage per-toolkit config: `show \| init \| set \| unset \| edit \| path \| validate` (`--user` / `--project` / `--local` pick the layer) |
206
+ | `tb loadout …` | Manage named loadouts: `list \| show \| create \| edit \| delete \| set-default \| path \| tools` |
207
+ | `tb config …` | Manage per-toolkit config: `show \| init \| set \| unset \| edit \| path \| validate` (`--user` / `--project` / `--private` pick the layer) |
198
208
  | `tb setup TOOLKIT` | Run a toolkit's `setup.py` (`--reset`, `--check`) |
199
209
  | `tb project init` | Create `.toolbase/` here |
200
210
  | `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.10.0"
7
+ version = "0.12.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"