Skip to content

feat(plugin): flat tool draft with namespace#36561

Open
rekram1-node wants to merge 1 commit into
v2from
tool-flat-draft
Open

feat(plugin): flat tool draft with namespace#36561
rekram1-node wants to merge 1 commit into
v2from
tool-flat-draft

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • Effect draft.add accepts flat tool objects (same ergonomics as Promise)
  • Rename registration groupnamespace
  • Add first-class pinned (rejected when codemode: false)
  • Wire host/promise adapters and registry storage for the new fields

Stacked on #36560. Part of #36196

Stack

  1. refactor(core): replace deferred tool option with codemode #36560deferredcodemode
  2. This PR — flat draft + namespace / pinned
  3. Namespace registry (draft.namespace.add, dotted paths)
  4. Callable namespaces + structured catalog
  5. Instruction integration
  6. MCP adapter + polish

Test plan

  • bun typecheck in packages/plugin and packages/core
  • bun test test/plugin.test.ts test/session-runner-tool-registry.test.ts test/mcp.test.ts in packages/core

@rekram1-node rekram1-node force-pushed the tool-flat-draft branch 4 times, most recently from 3025604 to 203266a Compare July 13, 2026 00:42
Base automatically changed from tool-codemode to v2 July 13, 2026 02:21
@rekram1-node rekram1-node force-pushed the tool-flat-draft branch 2 times, most recently from 1b0afd8 to 370bfbd Compare July 13, 2026 02:53
@rekram1-node rekram1-node changed the title feat(plugin): flat tool draft with namespace and pinned feat(plugin): flat tool draft with namespace Jul 13, 2026
@rekram1-node rekram1-node force-pushed the tool-flat-draft branch 3 times, most recently from fa95bef to abb860a Compare July 13, 2026 04:40
Effect draft.add accepts flat tool objects matching Promise ergonomics.
Migrate the tool grouping concept fully to namespace: rename MCP's group
helper/registration to namespace and thread namespace through the flat
Effect and Promise draft declarations.
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