@bctrl/sdk 1.0.5 → 1.0.7
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 +72 -71
- package/dist/accountTypes.d.ts +20 -126
- package/dist/ai.d.ts +23 -0
- package/dist/ai.js +51 -0
- package/dist/aiTypes.d.ts +19 -0
- package/dist/bctrl.d.ts +3 -3
- package/dist/bctrl.js +5 -5
- package/dist/browserExtensionTypes.d.ts +7 -36
- package/dist/files.d.ts +2 -2
- package/dist/generated/openapi-types.d.ts +13755 -0
- package/dist/generated/openapi-types.js +5 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/invocations.d.ts +10 -10
- package/dist/invocations.js +0 -3
- package/dist/node.d.ts +100 -2
- package/dist/openapi.d.ts +7 -0
- package/dist/openapi.js +1 -0
- package/dist/proxyTypes.d.ts +16 -107
- package/dist/runs.d.ts +86 -6
- package/dist/runtimes.d.ts +18 -1
- package/dist/runtimes.js +55 -12
- package/dist/toolCallTypes.d.ts +6 -41
- package/dist/toolsetTypes.d.ts +7 -32
- package/dist/types.d.ts +133 -624
- package/dist/vaultTypes.d.ts +9 -73
- package/package.json +46 -46
- package/dist/aiProviderTypes.d.ts +0 -58
- package/dist/aiProviders.d.ts +0 -13
- package/dist/aiProviders.js +0 -36
- /package/dist/{aiProviderTypes.js → aiTypes.js} +0 -0
package/dist/toolCallTypes.d.ts
CHANGED
|
@@ -1,41 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type V1ToolCallActor = '
|
|
3
|
-
export type V1ToolCallStatus = '
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
type: V1ToolType;
|
|
8
|
-
}
|
|
9
|
-
export interface V1ToolCall {
|
|
10
|
-
id: string;
|
|
11
|
-
toolCallId: string;
|
|
12
|
-
spaceId: string;
|
|
13
|
-
runId?: string | null;
|
|
14
|
-
invocationId?: string | null;
|
|
15
|
-
toolsetId?: string | null;
|
|
16
|
-
tool: V1ToolCallTool;
|
|
17
|
-
actor: V1ToolCallActor;
|
|
18
|
-
status: V1ToolCallStatus;
|
|
19
|
-
redactedInput?: JsonValue;
|
|
20
|
-
redactedOutput?: JsonValue;
|
|
21
|
-
redactedError?: JsonObject | null;
|
|
22
|
-
inputSummary?: JsonObject | null;
|
|
23
|
-
outputSummary?: JsonObject | null;
|
|
24
|
-
error?: {
|
|
25
|
-
code: string;
|
|
26
|
-
message: string;
|
|
27
|
-
details?: JsonObject;
|
|
28
|
-
} | null;
|
|
29
|
-
startedAt: string;
|
|
30
|
-
finishedAt: string;
|
|
31
|
-
durationMs: number;
|
|
32
|
-
createdAt: string;
|
|
33
|
-
}
|
|
34
|
-
export interface V1ToolCallListQuery extends V1PageQuery {
|
|
35
|
-
spaceId?: string;
|
|
36
|
-
runId?: string;
|
|
37
|
-
invocationId?: string;
|
|
38
|
-
toolId?: string;
|
|
39
|
-
status?: V1ToolCallStatus;
|
|
40
|
-
actor?: V1ToolCallActor;
|
|
41
|
-
}
|
|
1
|
+
import type { OpenApiQuery, OpenApiSchemas } from './openapi.js';
|
|
2
|
+
export type V1ToolCallActor = OpenApiSchemas['ToolCall']['actor'];
|
|
3
|
+
export type V1ToolCallStatus = OpenApiSchemas['ToolCall']['status'];
|
|
4
|
+
export type V1ToolCallTool = OpenApiSchemas['ToolCallTool'];
|
|
5
|
+
export type V1ToolCall = OpenApiSchemas['ToolCall'];
|
|
6
|
+
export type V1ToolCallListQuery = OpenApiQuery<'tool-calls.list'>;
|
package/dist/toolsetTypes.d.ts
CHANGED
|
@@ -1,32 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type V1ToolsetBuiltinName = '
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
toolIds: string[];
|
|
9
|
-
metadata?: JsonObject | null;
|
|
10
|
-
createdAt: string;
|
|
11
|
-
updatedAt: string;
|
|
12
|
-
}
|
|
13
|
-
export interface V1ToolsetListQuery extends V1PageQuery {
|
|
14
|
-
spaceId?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface V1ToolsetCreateRequest {
|
|
17
|
-
spaceId?: string;
|
|
18
|
-
name: string;
|
|
19
|
-
builtins?: V1ToolsetBuiltinName[];
|
|
20
|
-
toolIds?: string[];
|
|
21
|
-
metadata?: JsonObject | null;
|
|
22
|
-
}
|
|
23
|
-
export interface V1ToolsetUpdateRequest {
|
|
24
|
-
name?: string;
|
|
25
|
-
builtins?: V1ToolsetBuiltinName[];
|
|
26
|
-
toolIds?: string[];
|
|
27
|
-
metadata?: JsonObject | null;
|
|
28
|
-
}
|
|
29
|
-
export interface V1ToolsetDeleteResponse {
|
|
30
|
-
id: string;
|
|
31
|
-
deleted: true;
|
|
32
|
-
}
|
|
1
|
+
import type { OpenApiQuery, OpenApiSchemas } from './openapi.js';
|
|
2
|
+
export type V1ToolsetBuiltinName = OpenApiSchemas['Toolset']['builtins'][number];
|
|
3
|
+
export type V1Toolset = OpenApiSchemas['Toolset'];
|
|
4
|
+
export type V1ToolsetListQuery = OpenApiQuery<'toolsets.list'>;
|
|
5
|
+
export type V1ToolsetCreateRequest = OpenApiSchemas['ToolsetCreateRequest'];
|
|
6
|
+
export type V1ToolsetUpdateRequest = OpenApiSchemas['ToolsetUpdateRequest'];
|
|
7
|
+
export type V1ToolsetDeleteResponse = OpenApiSchemas['ToolsetDeleteResponse'];
|