diff --git a/.changeset/ai-autopilot-initial.md b/.changeset/ai-autopilot-initial.md deleted file mode 100644 index 05fc075..0000000 --- a/.changeset/ai-autopilot-initial.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@gemstack/ai-autopilot": minor ---- - -Initial release. Orchestration for `@gemstack/ai-sdk` agents — the control-policy layer over many agent runs. Seed slice: the supervisor/worker topology. - -- `Supervisor` — **plan → dispatch → synthesize**: decompose a task into subtasks, dispatch each to a worker agent (bounded concurrency, optional token budget, per-subtask error isolation), and synthesize the results. -- `agentPlanner(agent)` — turn a planning agent into a `Planner` via `ai-sdk`'s `Output.array` (JSON subtask decomposition). -- `agentSynthesizer(agent)` / `defaultSynthesize` — combine subtask results (LLM pass, or deterministic concatenation). -- Pluggable stages (`plan` / `workers` / `synthesize`), guardrails (`concurrency`, `maxSubtasks`, `budget.maxTotalTokens`), and progress events. - -Scope boundary: `ai-sdk` owns the single-agent loop + handoff/subagent primitives; `ai-autopilot` owns orchestrating multiple runs under a policy. The seed runs autonomous workers; durable pause/resume, more topologies, and queue-backed execution are deferred behind optional seams. Depends on `@gemstack/ai-sdk`. diff --git a/.changeset/ai-mcp-carve-out.md b/.changeset/ai-mcp-carve-out.md deleted file mode 100644 index 5ca8e06..0000000 --- a/.changeset/ai-mcp-carve-out.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@gemstack/ai-sdk": minor ---- - -Remove the `./mcp` subpath. The agent<->MCP bridge (`mcpClientTools` / `mcpServerFromAgent`) has moved to its own package, `@gemstack/ai-mcp`, so the optional `@modelcontextprotocol/sdk` peer dependency is now declared only by the package that uses it (and no longer surfaces to every `@gemstack/ai-sdk` consumer). - -Migration: replace `@gemstack/ai-sdk/mcp` imports with `@gemstack/ai-mcp`, and move the `@modelcontextprotocol/sdk` peer to that package. The bridge API is unchanged. diff --git a/.changeset/ai-mcp-initial.md b/.changeset/ai-mcp-initial.md deleted file mode 100644 index 14f2d0a..0000000 --- a/.changeset/ai-mcp-initial.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@gemstack/ai-mcp": minor ---- - -Initial release. The agent<->MCP bridge, carved out of `@gemstack/ai-sdk`'s former `./mcp` subpath: - -- `mcpClientTools(transport, opts?)` — consume a remote MCP server's tools as `@gemstack/ai-sdk` Agent tools (HTTP URL / stdio spawn / connected SDK client). -- `mcpServerFromAgent(AgentClass, opts?)` — expose an Agent as an MCP server, with `'tools'` / `'agent'` / `'both'` exposure modes. - -Depends on `@gemstack/ai-sdk`; `@modelcontextprotocol/sdk` is an optional peer. diff --git a/.changeset/ai-skills-initial.md b/.changeset/ai-skills-initial.md deleted file mode 100644 index df4834e..0000000 --- a/.changeset/ai-skills-initial.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"@gemstack/ai-skills": minor ---- - -Initial release. Portable capability bundles for `@gemstack/ai-sdk` agents — load `SKILL.md` skills (instructions + tools + resources) and compose them onto an `Agent`: - -- `parseSkillManifest` — parse `SKILL.md` YAML frontmatter + markdown body (matches the `boost/skills` / Anthropic Agent Skills shape). -- `loadSkill` / `loadSkills` — load a skill directory: instructions, co-located `tool()` exports, and `resources/`. -- `SkillRegistry` — discover skills by their cheap frontmatter and load the full body + tools on demand (progressive disclosure). -- `composeInstructions` / `composeTools` / `composeMiddleware` — merge skills into an agent; the agent's own declarations stay authoritative (own tools win name collisions, skill tools are namespaced as a backstop). -- `SkillfulAgent` — an `Agent` base that composes `skills()` declaratively alongside `baseInstructions()` / `baseTools()`. -- `surface` — inspect a skill's instructions/tools/resources before composing it. - -Explicit trust boundary (no in-process sandbox): discovery reads only frontmatter, `loadTools: false` loads without running the tools module, and skill tools flow through the agent's existing approval/middleware path. Depends on `@gemstack/ai-sdk`. diff --git a/packages/ai-autopilot/CHANGELOG.md b/packages/ai-autopilot/CHANGELOG.md new file mode 100644 index 0000000..444f8fd --- /dev/null +++ b/packages/ai-autopilot/CHANGELOG.md @@ -0,0 +1,19 @@ +# @gemstack/ai-autopilot + +## 0.1.0 + +### Minor Changes + +- 8796ae4: Initial release. Orchestration for `@gemstack/ai-sdk` agents — the control-policy layer over many agent runs. Seed slice: the supervisor/worker topology. + + - `Supervisor` — **plan → dispatch → synthesize**: decompose a task into subtasks, dispatch each to a worker agent (bounded concurrency, optional token budget, per-subtask error isolation), and synthesize the results. + - `agentPlanner(agent)` — turn a planning agent into a `Planner` via `ai-sdk`'s `Output.array` (JSON subtask decomposition). + - `agentSynthesizer(agent)` / `defaultSynthesize` — combine subtask results (LLM pass, or deterministic concatenation). + - Pluggable stages (`plan` / `workers` / `synthesize`), guardrails (`concurrency`, `maxSubtasks`, `budget.maxTotalTokens`), and progress events. + + Scope boundary: `ai-sdk` owns the single-agent loop + handoff/subagent primitives; `ai-autopilot` owns orchestrating multiple runs under a policy. The seed runs autonomous workers; durable pause/resume, more topologies, and queue-backed execution are deferred behind optional seams. Depends on `@gemstack/ai-sdk`. + +### Patch Changes + +- Updated dependencies [9da9b29] + - @gemstack/ai-sdk@0.3.0 diff --git a/packages/ai-autopilot/package.json b/packages/ai-autopilot/package.json index 40e5d43..71ec7a9 100644 --- a/packages/ai-autopilot/package.json +++ b/packages/ai-autopilot/package.json @@ -1,6 +1,6 @@ { "name": "@gemstack/ai-autopilot", - "version": "0.0.0", + "version": "0.1.0", "description": "Orchestration for @gemstack/ai-sdk agents: a Supervisor that plans, dispatches subagents (bounded concurrency + budget guardrails), and synthesizes the result.", "keywords": [ "ai", diff --git a/packages/ai-mcp/CHANGELOG.md b/packages/ai-mcp/CHANGELOG.md new file mode 100644 index 0000000..eead927 --- /dev/null +++ b/packages/ai-mcp/CHANGELOG.md @@ -0,0 +1,17 @@ +# @gemstack/ai-mcp + +## 0.1.0 + +### Minor Changes + +- 9da9b29: Initial release. The agent<->MCP bridge, carved out of `@gemstack/ai-sdk`'s former `./mcp` subpath: + + - `mcpClientTools(transport, opts?)` — consume a remote MCP server's tools as `@gemstack/ai-sdk` Agent tools (HTTP URL / stdio spawn / connected SDK client). + - `mcpServerFromAgent(AgentClass, opts?)` — expose an Agent as an MCP server, with `'tools'` / `'agent'` / `'both'` exposure modes. + + Depends on `@gemstack/ai-sdk`; `@modelcontextprotocol/sdk` is an optional peer. + +### Patch Changes + +- Updated dependencies [9da9b29] + - @gemstack/ai-sdk@0.3.0 diff --git a/packages/ai-mcp/package.json b/packages/ai-mcp/package.json index 3942634..ceff416 100644 --- a/packages/ai-mcp/package.json +++ b/packages/ai-mcp/package.json @@ -1,6 +1,6 @@ { "name": "@gemstack/ai-mcp", - "version": "0.0.0", + "version": "0.1.0", "description": "Bridge between @gemstack/ai-sdk Agents and Model Context Protocol servers: consume remote MCP tools as Agent tools, and expose an Agent as an MCP server.", "keywords": [ "ai", diff --git a/packages/ai-sdk/CHANGELOG.md b/packages/ai-sdk/CHANGELOG.md index ac82d63..eba797f 100644 --- a/packages/ai-sdk/CHANGELOG.md +++ b/packages/ai-sdk/CHANGELOG.md @@ -1,5 +1,13 @@ # @gemstack/ai-sdk +## 0.3.0 + +### Minor Changes + +- 9da9b29: Remove the `./mcp` subpath. The agent<->MCP bridge (`mcpClientTools` / `mcpServerFromAgent`) has moved to its own package, `@gemstack/ai-mcp`, so the optional `@modelcontextprotocol/sdk` peer dependency is now declared only by the package that uses it (and no longer surfaces to every `@gemstack/ai-sdk` consumer). + + Migration: replace `@gemstack/ai-sdk/mcp` imports with `@gemstack/ai-mcp`, and move the `@modelcontextprotocol/sdk` peer to that package. The bridge API is unchanged. + ## 0.2.0 ### Minor Changes diff --git a/packages/ai-sdk/package.json b/packages/ai-sdk/package.json index a86cf59..5a11a28 100644 --- a/packages/ai-sdk/package.json +++ b/packages/ai-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@gemstack/ai-sdk", - "version": "0.2.0", + "version": "0.3.0", "description": "AI engine: providers, agents, tools, streaming, middleware. The first GemStack package.", "keywords": [ "ai", diff --git a/packages/ai-skills/CHANGELOG.md b/packages/ai-skills/CHANGELOG.md new file mode 100644 index 0000000..8d4a45d --- /dev/null +++ b/packages/ai-skills/CHANGELOG.md @@ -0,0 +1,21 @@ +# @gemstack/ai-skills + +## 0.1.0 + +### Minor Changes + +- c9758d0: Initial release. Portable capability bundles for `@gemstack/ai-sdk` agents — load `SKILL.md` skills (instructions + tools + resources) and compose them onto an `Agent`: + + - `parseSkillManifest` — parse `SKILL.md` YAML frontmatter + markdown body (matches the `boost/skills` / Anthropic Agent Skills shape). + - `loadSkill` / `loadSkills` — load a skill directory: instructions, co-located `tool()` exports, and `resources/`. + - `SkillRegistry` — discover skills by their cheap frontmatter and load the full body + tools on demand (progressive disclosure). + - `composeInstructions` / `composeTools` / `composeMiddleware` — merge skills into an agent; the agent's own declarations stay authoritative (own tools win name collisions, skill tools are namespaced as a backstop). + - `SkillfulAgent` — an `Agent` base that composes `skills()` declaratively alongside `baseInstructions()` / `baseTools()`. + - `surface` — inspect a skill's instructions/tools/resources before composing it. + + Explicit trust boundary (no in-process sandbox): discovery reads only frontmatter, `loadTools: false` loads without running the tools module, and skill tools flow through the agent's existing approval/middleware path. Depends on `@gemstack/ai-sdk`. + +### Patch Changes + +- Updated dependencies [9da9b29] + - @gemstack/ai-sdk@0.3.0 diff --git a/packages/ai-skills/package.json b/packages/ai-skills/package.json index 52361f5..105aa23 100644 --- a/packages/ai-skills/package.json +++ b/packages/ai-skills/package.json @@ -1,6 +1,6 @@ { "name": "@gemstack/ai-skills", - "version": "0.0.0", + "version": "0.1.0", "description": "Portable capability bundles for @gemstack/ai-sdk agents: load SKILL.md skills (instructions + tools + resources) and compose them onto an Agent.", "keywords": [ "ai",