@crewdle/web-sdk-types 1.0.54 → 1.0.55

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.
@@ -10,5 +10,9 @@ export declare enum NodeType {
10
10
  /**
11
11
  * The agent node type.
12
12
  */
13
- Agent = "agent"
13
+ Agent = "agent",
14
+ /**
15
+ * The local node type (offline/standalone mode).
16
+ */
17
+ Local = "local"
14
18
  }
@@ -12,4 +12,8 @@ export var NodeType;
12
12
  * The agent node type.
13
13
  */
14
14
  NodeType["Agent"] = "agent";
15
+ /**
16
+ * The local node type (offline/standalone mode).
17
+ */
18
+ NodeType["Local"] = "local";
15
19
  })(NodeType || (NodeType = {}));
@@ -40,3 +40,20 @@ export interface ISDK {
40
40
  */
41
41
  joinCluster(clusterId: string, standalone?: boolean): Promise<ICluster>;
42
42
  }
43
+ /**
44
+ * The local SDK interface for standalone, offline use.
45
+ * @category Core
46
+ */
47
+ export interface ILocalSDK {
48
+ /**
49
+ * Close the SDK.
50
+ * @param options The options to close the SDK with.
51
+ */
52
+ close(options?: ISDKCloseOptions): Promise<void>;
53
+ /**
54
+ * Join a cluster.
55
+ * @param clusterId The ID of the cluster to join.
56
+ * @returns A promise that resolves with the cluster.
57
+ */
58
+ joinCluster(clusterId: string): Promise<ICluster>;
59
+ }
@@ -1,6 +1,6 @@
1
1
  export { ILoggingConnector } from './LoggingConnector';
2
2
  export { LoggingConnectorEvent } from './LoggingConnectorEvent';
3
- export { ISDK } from './SDK';
3
+ export { ISDK, ILocalSDK } from './SDK';
4
4
  export { ISDKCloseOptions } from './SDKCloseOptions';
5
5
  export { ISDKOptions } from './SDKOptions';
6
6
  export { Unsubscribe } from './Unsubscribe';
@@ -193,6 +193,18 @@ export interface IGenerativeAIInferenceTool {
193
193
  * The grammar for the tool.
194
194
  */
195
195
  grammar?: any;
196
+ /**
197
+ * The reasoning effort for the tool.
198
+ */
199
+ reasoning?: string;
200
+ /**
201
+ * The verbosity for the tool.
202
+ */
203
+ verbosity?: string;
204
+ /**
205
+ * The files for the tool.
206
+ */
207
+ files?: string[];
196
208
  /**
197
209
  * The collection ID for the tool.
198
210
  */
@@ -225,9 +237,6 @@ export interface IGenerativeAIInferenceTool {
225
237
  * The allowed tools for the tool.
226
238
  */
227
239
  allowed_tools?: string[];
228
- /**
229
- * The headers for the tool.
230
- */
231
240
  /**
232
241
  * The tools for the tool.
233
242
  */
@@ -48,6 +48,8 @@ export interface ICodeInterpreterFunction {
48
48
  type: 'code_interpreter';
49
49
  container: {
50
50
  type: 'auto';
51
+ memory_limit?: string;
52
+ file_ids?: string[];
51
53
  };
52
54
  }
53
55
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewdle/web-sdk-types",
3
- "version": "1.0.54",
3
+ "version": "1.0.55",
4
4
  "description": "The Crewdle Mist Web SDK public types and interfaces",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",