@blade-hq/agent-client 2612.0.0-beta.39 → 2612.0.0-beta.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-OV23WVWR.js → chunk-SNMDYU6W.js} +8 -6
- package/dist/chunk-SNMDYU6W.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/internal.js +1 -1
- package/dist/session/definition.d.ts +3 -0
- package/dist/tool-provider.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.md +2 -0
- package/dist/chunk-OV23WVWR.js.map +0 -1
package/dist/index.js
CHANGED
package/dist/internal.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { McpSourceConfig } from "../resources/sessions";
|
|
1
2
|
export type TextFile = {
|
|
2
3
|
path: string;
|
|
3
4
|
content: string;
|
|
@@ -23,6 +24,8 @@ export interface SkillDefinition {
|
|
|
23
24
|
files: SkillFile[];
|
|
24
25
|
}
|
|
25
26
|
export interface SessionConfig {
|
|
27
|
+
/** Application tools bound at session creation, before any execution. */
|
|
28
|
+
mcpSources?: McpSourceConfig[];
|
|
26
29
|
/** Server 模型目录中的 model ID。 */
|
|
27
30
|
model?: string;
|
|
28
31
|
enableThinking?: boolean;
|
package/dist/tool-provider.d.ts
CHANGED
package/package.json
CHANGED
package/public-api.md
CHANGED
|
@@ -758,6 +758,7 @@ description: string | undefined
|
|
|
758
758
|
handler: (arguments_: Record<string, unknown>, context: { sessionId: string; signal: AbortSignal; }) => Promise<ProviderToolResult>
|
|
759
759
|
inputSchema: Record<string, unknown>
|
|
760
760
|
name: string
|
|
761
|
+
outputSchema: Record<string, unknown> | undefined
|
|
761
762
|
```
|
|
762
763
|
|
|
763
764
|
## `ProviderToolResult` (interface)
|
|
@@ -931,6 +932,7 @@ compactionRatio: number | undefined
|
|
|
931
932
|
disableTools: string[] | undefined
|
|
932
933
|
enableThinking: boolean | undefined
|
|
933
934
|
env: Record<string, string> | undefined
|
|
935
|
+
mcpSources: McpSourceConfig[] | undefined
|
|
934
936
|
memoryEnabled: boolean | undefined
|
|
935
937
|
model: string | undefined
|
|
936
938
|
```
|