Skip to content

feat(core): add shared tool catalog and host derive helpers - #1232

Merged
Astro-Han merged 3 commits into
mainfrom
feat/tool-catalog-derive
Jul 19, 2026
Merged

Astro-Han merged 3 commits into
mainfrom
feat/tool-catalog-derive

Conversation

@Astro-Han

@Astro-Han Astro-Han commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Desktop, CLI, and headless each assemble tools ad hoc, so there is no shared answer to which product tools exist on which host. This PR lands #1099 S1 only: a pure shared catalog in @maka/core (tool rows, deferred surfaces, host affinity) and pure derive helpers in @maka/runtime that project HostCapabilities and deferred ToolGroups from catalog ∩ binding.

No host wiring, Skill gate changes, or CLI /tools — those are S2/S3. Behavior of existing hosts is unchanged.

Refs #1099

Verification

Ran and passed:

  • npm --workspace @maka/core run test (includes tool-catalog-contract)
  • npm --workspace @maka/runtime run test (includes tool-catalog-derive; worktree needed a prior @maka/storage build for unrelated suite deps)
  • npm --workspace @maka/core run typecheck
  • npm --workspace @maka/runtime run typecheck

Not run: full monorepo npm test, desktop/CLI/headless e2e (no host wiring in this PR).

Introduce the #1099 S1 vocabulary: pure tool/surface catalog in @maka/core
and HostCapabilities / deferred ToolGroup projection from catalog ∩ binding
in @maka/runtime. Host wiring and CLI /tools remain follow-ups.
CI typecheck job runs format:check; new catalog sources were off the Biome baseline.
Add expert_dispatch (desktop expert-team lead product tool), deep-freeze
catalog tables with independent surface hosts, and align the desktop
fixture with actual bindings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant