@band-ai/sdk 0.1.6 → 0.1.10
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/README.md +372 -0
- package/dist/{ClaudeSDKAdapter-CRq4R-WB.d.cts → ClaudeSDKAdapter-DfjaI5ke.d.cts} +9 -7
- package/dist/{ClaudeSDKAdapter-BHOkjN3X.d.ts → ClaudeSDKAdapter-DonPGJ43.d.ts} +9 -7
- package/dist/{acp-server-BdRz9_UN.d.cts → acp-server-CUBXIiG6.d.cts} +2 -2
- package/dist/{acp-server-B1Da7L6u.d.ts → acp-server-NZAeg-WO.d.ts} +2 -2
- package/dist/adapters.cjs +494 -106
- package/dist/adapters.d.cts +12 -12
- package/dist/adapters.d.ts +12 -12
- package/dist/adapters.js +7 -7
- package/dist/{backends-SVMT-7l4.d.cts → backends-DYtEhCZG.d.cts} +7 -2
- package/dist/{backends-CzDbiQar.d.ts → backends-oYAb7EU-.d.ts} +7 -2
- package/dist/{chunk-MSL6CWHY.js → chunk-2BHHR6YW.js} +17 -16
- package/dist/{chunk-EDPKUUJL.js → chunk-6RXWL6TC.js} +9 -1
- package/dist/{chunk-SFVKOEQH.js → chunk-DNPVCR3S.js} +92 -14
- package/dist/{chunk-I5EZG52P.js → chunk-FP237EAG.js} +424 -136
- package/dist/{chunk-RHVH2GZR.js → chunk-J3M3PFFY.js} +81 -31
- package/dist/{chunk-GVEQ3RAH.js → chunk-MLROFDKR.js} +132 -23
- package/dist/{chunk-INA6YZTZ.js → chunk-RDM4TE4B.js} +32 -30
- package/dist/chunk-US226AS4.js +130 -0
- package/dist/{chunk-W5NDZSYE.js → chunk-XA4N2JPH.js} +1 -1
- package/dist/converters.cjs +469 -13
- package/dist/converters.d.cts +5 -5
- package/dist/converters.d.ts +5 -5
- package/dist/converters.js +3 -2
- package/dist/core.cjs +45 -2
- package/dist/core.d.cts +4 -3
- package/dist/core.d.ts +4 -3
- package/dist/core.js +5 -1
- package/dist/disconnectReason-IuADl6TH.d.cts +34 -0
- package/dist/disconnectReason-IuADl6TH.d.ts +34 -0
- package/dist/{dtos-DUpbIu8k.d.cts → dtos-Dd_fTfLn.d.cts} +26 -6
- package/dist/{dtos-DUpbIu8k.d.ts → dtos-Dd_fTfLn.d.ts} +26 -6
- package/dist/index.cjs +1089 -269
- package/dist/index.d.cts +16 -15
- package/dist/index.d.ts +16 -15
- package/dist/index.js +14 -8
- package/dist/linear.cjs +985 -53
- package/dist/linear.d.cts +137 -7
- package/dist/linear.d.ts +137 -7
- package/dist/linear.js +974 -53
- package/dist/mcp-claude.cjs +303 -32
- package/dist/mcp-claude.d.cts +3 -3
- package/dist/mcp-claude.d.ts +3 -3
- package/dist/mcp-claude.js +210 -12
- package/dist/mcp.cjs +313 -45
- package/dist/mcp.d.cts +5 -5
- package/dist/mcp.d.ts +5 -5
- package/dist/mcp.js +3 -3
- package/dist/{opencode-BBcDchcN.d.cts → opencode--iA5-KYk.d.cts} +2 -2
- package/dist/{opencode-DthQQUsZ.d.ts → opencode-YNacv-eJ.d.ts} +2 -2
- package/dist/{pagination-CcDkVFxK.d.ts → pagination-BBLsYLhT.d.ts} +2 -2
- package/dist/{pagination-BPiys10t.d.cts → pagination-CqidD-L_.d.cts} +2 -2
- package/dist/{protocols-DrhzOH6K.d.ts → protocols-BF6jamIl.d.ts} +1 -1
- package/dist/{protocols-CInhtFpA.d.cts → protocols-D2bTrQ_t.d.cts} +1 -1
- package/dist/rest.d.cts +5 -5
- package/dist/rest.d.ts +5 -5
- package/dist/runtime.cjs +721 -172
- package/dist/runtime.d.cts +15 -10
- package/dist/runtime.d.ts +15 -10
- package/dist/runtime.js +11 -8
- package/dist/{schemas-vos1AaBc.d.ts → schemas-B1Fd3oUM.d.ts} +17 -8
- package/dist/{schemas-BpEBkq5V.d.cts → schemas-CI0qgcp_.d.cts} +17 -8
- package/dist/{sdk-CcnQ5OUC.d.ts → sdk-CyqN1W5g.d.ts} +32 -2
- package/dist/{sdk-CwTAxhwI.d.cts → sdk-D2rTDU_o.d.cts} +32 -2
- package/dist/{simpleAdapter-DqhvjsGr.d.cts → simpleAdapter-C_f-01Cu.d.cts} +1 -1
- package/dist/{simpleAdapter-9OE_p6QW.d.ts → simpleAdapter-qQt-tSz4.d.ts} +1 -1
- package/dist/testing.d.cts +3 -3
- package/dist/testing.d.ts +3 -3
- package/dist/{types-CovcHpYf.d.cts → types-CKqrhGB1.d.cts} +2 -2
- package/dist/{types-CxII3XkA.d.ts → types-D3AsUnd0.d.ts} +1 -1
- package/dist/{types-7jVzOeOP.d.ts → types-DNySTI_8.d.ts} +2 -2
- package/dist/{types-CSHFipIc.d.cts → types-DtMms5Fi.d.cts} +1 -1
- package/package.json +22 -21
package/dist/index.d.cts
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { F as FrameworkAdapter } from './protocols-
|
|
2
|
-
export { A as AdapterToolsProtocol, a as AgentToolsProtocol, C as ContactTools, b as FrameworkAdapterInput, H as HistoryConverter, M as MemoryTools, c as MessagingTools, P as ParticipantTools, d as PeerLookupTools, e as Preprocessor, R as RoomParticipantTools, T as ToolExecutor, f as ToolSchemaProvider } from './protocols-
|
|
1
|
+
import { F as FrameworkAdapter } from './protocols-D2bTrQ_t.cjs';
|
|
2
|
+
export { A as AdapterToolsProtocol, a as AgentToolsProtocol, C as ContactTools, b as FrameworkAdapterInput, H as HistoryConverter, M as MemoryTools, c as MessagingTools, P as ParticipantTools, d as PeerLookupTools, e as Preprocessor, R as RoomParticipantTools, T as ToolExecutor, f as ToolSchemaProvider } from './protocols-D2bTrQ_t.cjs';
|
|
3
3
|
import { AgentCredentials } from './config.cjs';
|
|
4
4
|
export { AgentConfigResult, LoadAgentConfigFromEnvOptions, loadAgentConfig, loadAgentConfigFromEnv } from './config.cjs';
|
|
5
|
-
import { P as PlatformRuntime, a as PlatformRuntimeOptions } from './schemas-
|
|
6
|
-
export { A as AgentRuntime, D as DefaultPreprocessor, E as ExecutionContextOptions, M as MCP_TOOL_PREFIX, T as TOOL_MODELS, b as ThenvoiLink } from './schemas-
|
|
7
|
-
import { P as PlatformMessage } from './types-
|
|
8
|
-
export { A as AgentConfig, a as AgentInput, C as ContactEvent, b as ContactEventCallback, c as ContactEventConfig, d as ContactEventStrategy, e as ConversationContext, H as HistoryProvider, M as MessageHandler, f as PlatformEvent, S as SessionConfig } from './types-
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export { A as
|
|
12
|
-
|
|
5
|
+
import { P as PlatformRuntime, a as PlatformRuntimeOptions } from './schemas-CI0qgcp_.cjs';
|
|
6
|
+
export { A as AgentRuntime, D as DefaultPreprocessor, E as ExecutionContextOptions, M as MCP_TOOL_PREFIX, T as TOOL_MODELS, b as ThenvoiLink, d as deriveDefaultRestUrl } from './schemas-CI0qgcp_.cjs';
|
|
7
|
+
import { P as PlatformMessage } from './types-CKqrhGB1.cjs';
|
|
8
|
+
export { A as AgentConfig, a as AgentInput, C as ContactEvent, b as ContactEventCallback, c as ContactEventConfig, d as ContactEventStrategy, e as ConversationContext, H as HistoryProvider, M as MessageHandler, f as PlatformEvent, S as SessionConfig } from './types-CKqrhGB1.cjs';
|
|
9
|
+
export { W as WebSocketConflictPolicy, a as WebSocketDisconnectError, b as WebSocketDisconnectReason } from './disconnectReason-IuADl6TH.cjs';
|
|
10
|
+
export { C as CustomToolDef } from './customTools-BzF0IISO.cjs';
|
|
11
|
+
export { A as A2AAdapter, a as A2AAdapterOptions, b as A2AGatewayAdapter, c as AnthropicAdapter, d as AnthropicAdapterOptions, C as CODEX_REASONING_EFFORTS, e as CODEX_REASONING_SUMMARIES, f as CODEX_WEB_SEARCH_MODES, g as ClaudePermissionMode, h as ClaudeSDKAdapter, i as ClaudeSDKAdapterOptions, j as CodexAdapter, k as CodexAdapterConfig, l as CodexApprovalPolicy, m as CodexReasoningEffort, n as CodexReasoningSummary, o as CodexSandboxMode, p as CodexWebSearchMode, G as GeminiAdapter, q as GeminiAdapterOptions, r as GenericAdapter, s as GenericAdapterHandler, t as GoogleADKAdapter, u as GoogleADKAdapterOptions, L as LangGraphAdapter, v as LangGraphAdapterOptions, w as LangGraphGraph, x as LettaAdapter, y as LettaAdapterOptions, O as OpenAIAdapter, z as OpenAIAdapterOptions, B as OpencodeAdapter, D as OpencodeAdapterConfig, E as OpencodeApprovalMode, F as OpencodeApprovalReply, H as OpencodeQuestionMode, P as ParlantAdapter, I as ParlantAdapterOptions, T as ToolCallingModel, V as VercelAISDKAdapter, J as VercelAISDKAdapterOptions } from './ClaudeSDKAdapter-DfjaI5ke.cjs';
|
|
12
|
+
export { S as SimpleAdapter } from './simpleAdapter-C_f-01Cu.cjs';
|
|
13
|
+
export { A as A2AAuth, a as A2AGatewayAdapterOptions } from './opencode--iA5-KYk.cjs';
|
|
14
|
+
import './dtos-Dd_fTfLn.cjs';
|
|
13
15
|
import './logger-CABQOnlR.cjs';
|
|
14
|
-
import './types-
|
|
15
|
-
import './pagination-
|
|
16
|
+
import './types-DtMms5Fi.cjs';
|
|
17
|
+
import './pagination-CqidD-L_.cjs';
|
|
16
18
|
import 'zod';
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './sdk-CwTAxhwI.cjs';
|
|
19
|
+
import './backends-DYtEhCZG.cjs';
|
|
20
|
+
import './sdk-D2rTDU_o.cjs';
|
|
20
21
|
import '@anthropic-ai/claude-agent-sdk';
|
|
21
22
|
|
|
22
23
|
interface AgentCreateOptions extends Omit<PlatformRuntimeOptions, "agentId" | "apiKey" | "wsUrl" | "restUrl"> {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { F as FrameworkAdapter } from './protocols-
|
|
2
|
-
export { A as AdapterToolsProtocol, a as AgentToolsProtocol, C as ContactTools, b as FrameworkAdapterInput, H as HistoryConverter, M as MemoryTools, c as MessagingTools, P as ParticipantTools, d as PeerLookupTools, e as Preprocessor, R as RoomParticipantTools, T as ToolExecutor, f as ToolSchemaProvider } from './protocols-
|
|
1
|
+
import { F as FrameworkAdapter } from './protocols-BF6jamIl.js';
|
|
2
|
+
export { A as AdapterToolsProtocol, a as AgentToolsProtocol, C as ContactTools, b as FrameworkAdapterInput, H as HistoryConverter, M as MemoryTools, c as MessagingTools, P as ParticipantTools, d as PeerLookupTools, e as Preprocessor, R as RoomParticipantTools, T as ToolExecutor, f as ToolSchemaProvider } from './protocols-BF6jamIl.js';
|
|
3
3
|
import { AgentCredentials } from './config.js';
|
|
4
4
|
export { AgentConfigResult, LoadAgentConfigFromEnvOptions, loadAgentConfig, loadAgentConfigFromEnv } from './config.js';
|
|
5
|
-
import { P as PlatformRuntime, a as PlatformRuntimeOptions } from './schemas-
|
|
6
|
-
export { A as AgentRuntime, D as DefaultPreprocessor, E as ExecutionContextOptions, M as MCP_TOOL_PREFIX, T as TOOL_MODELS, b as ThenvoiLink } from './schemas-
|
|
7
|
-
import { P as PlatformMessage } from './types-
|
|
8
|
-
export { A as AgentConfig, a as AgentInput, C as ContactEvent, b as ContactEventCallback, c as ContactEventConfig, d as ContactEventStrategy, e as ConversationContext, H as HistoryProvider, M as MessageHandler, f as PlatformEvent, S as SessionConfig } from './types-
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export { A as
|
|
12
|
-
|
|
5
|
+
import { P as PlatformRuntime, a as PlatformRuntimeOptions } from './schemas-B1Fd3oUM.js';
|
|
6
|
+
export { A as AgentRuntime, D as DefaultPreprocessor, E as ExecutionContextOptions, M as MCP_TOOL_PREFIX, T as TOOL_MODELS, b as ThenvoiLink, d as deriveDefaultRestUrl } from './schemas-B1Fd3oUM.js';
|
|
7
|
+
import { P as PlatformMessage } from './types-DNySTI_8.js';
|
|
8
|
+
export { A as AgentConfig, a as AgentInput, C as ContactEvent, b as ContactEventCallback, c as ContactEventConfig, d as ContactEventStrategy, e as ConversationContext, H as HistoryProvider, M as MessageHandler, f as PlatformEvent, S as SessionConfig } from './types-DNySTI_8.js';
|
|
9
|
+
export { W as WebSocketConflictPolicy, a as WebSocketDisconnectError, b as WebSocketDisconnectReason } from './disconnectReason-IuADl6TH.js';
|
|
10
|
+
export { C as CustomToolDef } from './customTools-BzF0IISO.js';
|
|
11
|
+
export { A as A2AAdapter, a as A2AAdapterOptions, b as A2AGatewayAdapter, c as AnthropicAdapter, d as AnthropicAdapterOptions, C as CODEX_REASONING_EFFORTS, e as CODEX_REASONING_SUMMARIES, f as CODEX_WEB_SEARCH_MODES, g as ClaudePermissionMode, h as ClaudeSDKAdapter, i as ClaudeSDKAdapterOptions, j as CodexAdapter, k as CodexAdapterConfig, l as CodexApprovalPolicy, m as CodexReasoningEffort, n as CodexReasoningSummary, o as CodexSandboxMode, p as CodexWebSearchMode, G as GeminiAdapter, q as GeminiAdapterOptions, r as GenericAdapter, s as GenericAdapterHandler, t as GoogleADKAdapter, u as GoogleADKAdapterOptions, L as LangGraphAdapter, v as LangGraphAdapterOptions, w as LangGraphGraph, x as LettaAdapter, y as LettaAdapterOptions, O as OpenAIAdapter, z as OpenAIAdapterOptions, B as OpencodeAdapter, D as OpencodeAdapterConfig, E as OpencodeApprovalMode, F as OpencodeApprovalReply, H as OpencodeQuestionMode, P as ParlantAdapter, I as ParlantAdapterOptions, T as ToolCallingModel, V as VercelAISDKAdapter, J as VercelAISDKAdapterOptions } from './ClaudeSDKAdapter-DonPGJ43.js';
|
|
12
|
+
export { S as SimpleAdapter } from './simpleAdapter-qQt-tSz4.js';
|
|
13
|
+
export { A as A2AAuth, a as A2AGatewayAdapterOptions } from './opencode-YNacv-eJ.js';
|
|
14
|
+
import './dtos-Dd_fTfLn.js';
|
|
13
15
|
import './logger-CABQOnlR.js';
|
|
14
|
-
import './types-
|
|
15
|
-
import './pagination-
|
|
16
|
+
import './types-D3AsUnd0.js';
|
|
17
|
+
import './pagination-BBLsYLhT.js';
|
|
16
18
|
import 'zod';
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './sdk-CcnQ5OUC.js';
|
|
19
|
+
import './backends-oYAb7EU-.js';
|
|
20
|
+
import './sdk-CyqN1W5g.js';
|
|
20
21
|
import '@anthropic-ai/claude-agent-sdk';
|
|
21
22
|
|
|
22
23
|
interface AgentCreateOptions extends Omit<PlatformRuntimeOptions, "agentId" | "apiKey" | "wsUrl" | "restUrl"> {
|
package/dist/index.js
CHANGED
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
OpenAIAdapter,
|
|
14
14
|
OpencodeAdapter,
|
|
15
15
|
VercelAISDKAdapter
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-J3M3PFFY.js";
|
|
17
|
+
import "./chunk-2BHHR6YW.js";
|
|
18
|
+
import "./chunk-6RXWL6TC.js";
|
|
19
19
|
import {
|
|
20
20
|
loadAgentConfig,
|
|
21
21
|
loadAgentConfigFromEnv
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
A2AAdapter,
|
|
25
25
|
A2AGatewayAdapter,
|
|
26
26
|
ParlantAdapter
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XA4N2JPH.js";
|
|
28
28
|
import {
|
|
29
29
|
SimpleAdapter
|
|
30
30
|
} from "./chunk-AVVDPXP4.js";
|
|
@@ -33,14 +33,18 @@ import {
|
|
|
33
33
|
DefaultPreprocessor,
|
|
34
34
|
PlatformRuntime,
|
|
35
35
|
ThenvoiLink,
|
|
36
|
+
deriveDefaultRestUrl,
|
|
36
37
|
runWithGracefulShutdown
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-FP237EAG.js";
|
|
39
|
+
import "./chunk-RDM4TE4B.js";
|
|
40
|
+
import "./chunk-DNPVCR3S.js";
|
|
39
41
|
import {
|
|
40
42
|
MCP_TOOL_PREFIX,
|
|
41
43
|
TOOL_MODELS
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import
|
|
44
|
+
} from "./chunk-MLROFDKR.js";
|
|
45
|
+
import {
|
|
46
|
+
WebSocketDisconnectError
|
|
47
|
+
} from "./chunk-US226AS4.js";
|
|
44
48
|
import "./chunk-SG4WLD2H.js";
|
|
45
49
|
import "./chunk-ZZJRRBPQ.js";
|
|
46
50
|
import "./chunk-3BKAC4OZ.js";
|
|
@@ -190,6 +194,8 @@ export {
|
|
|
190
194
|
TOOL_MODELS,
|
|
191
195
|
ThenvoiLink,
|
|
192
196
|
VercelAISDKAdapter,
|
|
197
|
+
WebSocketDisconnectError,
|
|
198
|
+
deriveDefaultRestUrl,
|
|
193
199
|
isDirectExecution,
|
|
194
200
|
loadAgentConfig,
|
|
195
201
|
loadAgentConfigFromEnv
|