@neeter/server
Advanced tools
@@ -1,2 +0,2 @@ | ||
| import { type HookCallbackMatcher, type HookEvent, query } from "@anthropic-ai/claude-agent-sdk"; | ||
| import { type HookCallbackMatcher, type HookEvent, type McpServerConfig, query } from "@anthropic-ai/claude-agent-sdk"; | ||
| import type { SessionHistoryEntry, SessionStore, SSEEvent } from "@neeter/types"; | ||
@@ -13,4 +13,7 @@ import { PermissionGate } from "./permission-gate.js"; | ||
| /** MCP servers keyed by name — the name becomes the middle segment of tool names (`mcp__{name}__{tool}`). */ | ||
| mcpServers?: Record<string, unknown>; | ||
| tools?: unknown[]; | ||
| mcpServers?: Record<string, McpServerConfig>; | ||
| tools?: string[] | { | ||
| type: "preset"; | ||
| preset: "claude_code"; | ||
| }; | ||
| /** Glob patterns for allowed tools (e.g. `["mcp__myServer__*"]`). */ | ||
@@ -17,0 +20,0 @@ allowedTools?: string[]; |
+2
-2
| { | ||
| "name": "@neeter/server", | ||
| "version": "0.10.9", | ||
| "version": "0.10.10", | ||
| "description": "Hono server toolkit for building chat UIs on top of the Claude Agent SDK", | ||
@@ -24,3 +24,3 @@ "license": "MIT", | ||
| "dependencies": { | ||
| "@neeter/types": "0.10.9" | ||
| "@neeter/types": "0.10.10" | ||
| }, | ||
@@ -27,0 +27,0 @@ "peerDependencies": { |
45585
0.21%1024
0.29%+ Added
- Removed
Updated