-
refactor(cli): define local tools as custom toolkits (#3356)
发布于
2026-05-07 12:29:06 +00:00 Summary
- Stacks this local-tools PR on top of #3360, which contains the core
duplicate custom-toolkit child slug fix. - Refactors
@composio/cli-local-toolsto define bundled local toolkits
with coreexperimental_createTool/experimental_createToolkit
handles instead of hand-rolled schema objects. - Keeps Tool Router v3.1 inline custom toolkit definitions attached to
session create/search/execute calls so bundled local tools remain
searchable/executable. - Adds CLI/local-tools test coverage for forwarding local custom toolkit
payloads and for core custom toolkit handles from the local registry.
Stack
- Base PR: #3360 (
fix(core): qualify custom toolkit child slug lookups) - This PR should now show only CLI/local-tools changes relative to
#3360.
Tests
pnpm --filter @composio/core typecheckpnpm --filter @composio/cli-local-tools typecheckpnpm --filter @composio/cli typecheckpnpm --filter @composio/cli-local-tools testpnpm --filter @composio/cli-local-tools buildpnpm --filter @composio/cli exec vitest run test/src/commands/tools/tools.search.cmd.test.ts test/src/commands/tools/tools.execute.cmd.test.tspnpm --filter @composio/core exec vitest run test/models/customTool.test.ts test/models/toolRouter.test.ts test/models/customToolRouting.test.ts
下载附件
- Stacks this local-tools PR on top of #3360, which contains the core