toolbase 0.11.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.
- {toolbase-0.11.0 → toolbase-0.12.0}/CHANGELOG.md +109 -1
- {toolbase-0.11.0 → toolbase-0.12.0}/PKG-INFO +24 -16
- {toolbase-0.11.0 → toolbase-0.12.0}/README.md +23 -15
- {toolbase-0.11.0 → toolbase-0.12.0}/pyproject.toml +1 -1
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/cli.py +1123 -667
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/connect/claude_code.py +3 -5
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/connect/orchestral.py +21 -21
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/envs/__init__.py +26 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/envs/discovery.py +51 -11
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/envs/paths.py +29 -10
- toolbase-0.12.0/toolbase/envs/resolve.py +230 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/serve/config.py +28 -24
- toolbase-0.11.0/toolbase/serve/profile_scaffold.py → toolbase-0.12.0/toolbase/serve/loadout_scaffold.py +95 -35
- toolbase-0.11.0/toolbase/serve/profiles.py → toolbase-0.12.0/toolbase/serve/loadouts.py +202 -87
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/serve/orchestrator.py +70 -98
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/setup/runner.py +21 -33
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/setup/storage.py +5 -4
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/skills.py +2 -2
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase.egg-info/SOURCES.txt +3 -2
- {toolbase-0.11.0 → toolbase-0.12.0}/LICENSE +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/MANIFEST.in +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/setup.cfg +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/__init__.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/_setup_host.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/_toolkit_host.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/astro.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/auth.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/config.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/connect/__init__.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/connect/antigravity.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/connect/base.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/connect/codex.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/connect/opencode.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/envs/bundle_deps.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/envs/cache.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/envs/config.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/envs/manifest.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/envs/schema.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/hep.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/ingest.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/logging/__init__.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/logging/logger.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/naming.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/neutrino.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/quantum.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/serve/__init__.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/serve/bundles.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/serve/proxy_tool.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/setup/__init__.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/setup/_rpc.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/setup/context.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/setup/declarative.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/setup/downloads.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/setup/prompts.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/setup/schema.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/setup/validate_cache.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/templates/Dockerfile.template +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/templates/README.md.template +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/templates/__init__.py.template +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/templates/mcp/__init__.py.template +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/templates/mcp/server_stdio.py.template +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/templates/requirements.txt.template +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/templates/setup.py.template +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/templates/skills/example_skill.md +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/templates/tool_example.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/templates/toolkit.yaml.template +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/toolkit.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/validation.py +0 -0
- {toolbase-0.11.0 → toolbase-0.12.0}/toolbase/versioning.py +0 -0
|
@@ -6,7 +6,115 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
## [
|
|
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.
|
|
10
118
|
|
|
11
119
|
## [0.11.0] — 2026-07-30
|
|
12
120
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: toolbase
|
|
3
|
-
Version: 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, `-
|
|
87
|
-
|
|
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
|
|
121
|
-
keep several named
|
|
122
|
-
`tb connect claude-code --
|
|
123
|
-
users only ever touch the default
|
|
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`
|
|
@@ -178,17 +178,19 @@ binary) read it from three layers, later winning key-by-key:
|
|
|
178
178
|
|---|---|---|
|
|
179
179
|
| user | `~/.toolbase/config/<kit>.yaml` | your defaults and secrets, every project |
|
|
180
180
|
| project | `<repo>/.toolbase/config/<kit>.yaml` | committed, shared with the team |
|
|
181
|
-
|
|
|
181
|
+
| private | `<repo>/.toolbase/config/<kit>.local.yaml` | this project on *this* machine; gitignored |
|
|
182
182
|
|
|
183
183
|
```bash
|
|
184
184
|
tb config set calculator precision 10 # committed
|
|
185
|
-
tb config set calculator solver_path /opt/bin --
|
|
185
|
+
tb config set calculator solver_path /opt/bin --private # yours alone
|
|
186
186
|
```
|
|
187
187
|
|
|
188
|
-
Toolkit versions split the same way
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
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.
|
|
192
194
|
|
|
193
195
|
---
|
|
194
196
|
|
|
@@ -215,6 +217,12 @@ tb install -e . -a # live symlink to this source dir, and activate
|
|
|
215
217
|
Edits to your tool source appear on the next serve; rerun
|
|
216
218
|
`tb install -e .` to rebuild the env when dependencies change.
|
|
217
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
|
+
|
|
218
226
|
For the full author guide — tool conventions, skills, bundles,
|
|
219
227
|
configuration, `setup.py` — see <https://toolbase-ai.com/docs/authoring>.
|
|
220
228
|
For the agent-assisted authoring flow (recommended for first toolkits),
|
|
@@ -231,13 +239,13 @@ Full reference with all flags: <https://toolbase-ai.com/docs/reference/commands>
|
|
|
231
239
|
| `tb install NAME` | Install a toolkit (`-a` to also activate, `-e <path>` for editable, `NAME[a,b]` for selected bundles) |
|
|
232
240
|
| `tb uninstall NAME` | Remove a toolkit |
|
|
233
241
|
| `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; `-
|
|
242
|
+
| `tb activate ITEM` | Expose a toolkit / `toolkit/bundle` / `toolkit__tool` / `toolkit__skill` (project-local; `-u` for user-wide) |
|
|
235
243
|
| `tb deactivate ITEM` | Hide a toolkit / bundle / tool / skill |
|
|
236
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) |
|
|
237
245
|
| `tb disconnect HARNESS` | Remove toolbase from a harness (and its surfaced skills) |
|
|
238
246
|
| `tb logs` | Tail the serve log, live |
|
|
239
|
-
| `tb
|
|
240
|
-
| `tb config …` | Manage per-toolkit config: `show \| init \| set \| unset \| edit \| path \| validate` (`--user` / `--project` / `--
|
|
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) |
|
|
241
249
|
| `tb setup TOOLKIT` | Run a toolkit's `setup.py` (`--reset`, `--check`) |
|
|
242
250
|
| `tb project init` | Create `.toolbase/` here |
|
|
243
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, `-
|
|
46
|
-
|
|
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
|
|
80
|
-
keep several named
|
|
81
|
-
`tb connect claude-code --
|
|
82
|
-
users only ever touch the default
|
|
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`
|
|
@@ -137,17 +137,19 @@ binary) read it from three layers, later winning key-by-key:
|
|
|
137
137
|
|---|---|---|
|
|
138
138
|
| user | `~/.toolbase/config/<kit>.yaml` | your defaults and secrets, every project |
|
|
139
139
|
| project | `<repo>/.toolbase/config/<kit>.yaml` | committed, shared with the team |
|
|
140
|
-
|
|
|
140
|
+
| private | `<repo>/.toolbase/config/<kit>.local.yaml` | this project on *this* machine; gitignored |
|
|
141
141
|
|
|
142
142
|
```bash
|
|
143
143
|
tb config set calculator precision 10 # committed
|
|
144
|
-
tb config set calculator solver_path /opt/bin --
|
|
144
|
+
tb config set calculator solver_path /opt/bin --private # yours alone
|
|
145
145
|
```
|
|
146
146
|
|
|
147
|
-
Toolkit versions split the same way
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
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.
|
|
151
153
|
|
|
152
154
|
---
|
|
153
155
|
|
|
@@ -174,6 +176,12 @@ tb install -e . -a # live symlink to this source dir, and activate
|
|
|
174
176
|
Edits to your tool source appear on the next serve; rerun
|
|
175
177
|
`tb install -e .` to rebuild the env when dependencies change.
|
|
176
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
|
+
|
|
177
185
|
For the full author guide — tool conventions, skills, bundles,
|
|
178
186
|
configuration, `setup.py` — see <https://toolbase-ai.com/docs/authoring>.
|
|
179
187
|
For the agent-assisted authoring flow (recommended for first toolkits),
|
|
@@ -190,13 +198,13 @@ Full reference with all flags: <https://toolbase-ai.com/docs/reference/commands>
|
|
|
190
198
|
| `tb install NAME` | Install a toolkit (`-a` to also activate, `-e <path>` for editable, `NAME[a,b]` for selected bundles) |
|
|
191
199
|
| `tb uninstall NAME` | Remove a toolkit |
|
|
192
200
|
| `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; `-
|
|
201
|
+
| `tb activate ITEM` | Expose a toolkit / `toolkit/bundle` / `toolkit__tool` / `toolkit__skill` (project-local; `-u` for user-wide) |
|
|
194
202
|
| `tb deactivate ITEM` | Hide a toolkit / bundle / tool / skill |
|
|
195
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) |
|
|
196
204
|
| `tb disconnect HARNESS` | Remove toolbase from a harness (and its surfaced skills) |
|
|
197
205
|
| `tb logs` | Tail the serve log, live |
|
|
198
|
-
| `tb
|
|
199
|
-
| `tb config …` | Manage per-toolkit config: `show \| init \| set \| unset \| edit \| path \| validate` (`--user` / `--project` / `--
|
|
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) |
|
|
200
208
|
| `tb setup TOOLKIT` | Run a toolkit's `setup.py` (`--reset`, `--check`) |
|
|
201
209
|
| `tb project init` | Create `.toolbase/` here |
|
|
202
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.
|
|
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"
|