@nikcli-ai/sdk 1.108.0 → 1.110.0
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/v2/gen/types.gen.d.ts +32 -0
- package/package.json +1 -1
|
@@ -2151,6 +2151,36 @@ export type ImageConfig = {
|
|
|
2151
2151
|
*/
|
|
2152
2152
|
provider?: string;
|
|
2153
2153
|
};
|
|
2154
|
+
/**
|
|
2155
|
+
* Browser Use (browser tool) configuration
|
|
2156
|
+
*/
|
|
2157
|
+
export type BrowserUseConfig = {
|
|
2158
|
+
/**
|
|
2159
|
+
* Default Browser Use model for the `browser` tool (e.g. bu-mini, bu-max, bu-ultra, gemini-3-flash, claude-sonnet-4.6, claude-opus-4.6, claude-opus-4.7, gpt-5.4-mini). Used when the tool call does not specify one.
|
|
2160
|
+
*/
|
|
2161
|
+
model?: string;
|
|
2162
|
+
/**
|
|
2163
|
+
* Default hard cost cap (USD) applied to Browser Use tasks when the tool call does not specify one.
|
|
2164
|
+
*/
|
|
2165
|
+
max_cost_usd?: number;
|
|
2166
|
+
};
|
|
2167
|
+
/**
|
|
2168
|
+
* Computer use (computer tool) configuration
|
|
2169
|
+
*/
|
|
2170
|
+
export type ComputerConfig = {
|
|
2171
|
+
/**
|
|
2172
|
+
* Where the `computer` tool runs. 'sandbox' (default) drives an isolated background Linux desktop container and never touches your screen; 'host' drives your real machine in real time.
|
|
2173
|
+
*/
|
|
2174
|
+
mode?: "sandbox" | "host";
|
|
2175
|
+
/**
|
|
2176
|
+
* Sandbox desktop width in pixels (default 1280).
|
|
2177
|
+
*/
|
|
2178
|
+
width?: number;
|
|
2179
|
+
/**
|
|
2180
|
+
* Sandbox desktop height in pixels (default 800).
|
|
2181
|
+
*/
|
|
2182
|
+
height?: number;
|
|
2183
|
+
};
|
|
2154
2184
|
/**
|
|
2155
2185
|
* Attachment handling configuration
|
|
2156
2186
|
*/
|
|
@@ -2518,6 +2548,8 @@ export type Config = {
|
|
|
2518
2548
|
};
|
|
2519
2549
|
rag?: RagConfig;
|
|
2520
2550
|
image?: ImageConfig;
|
|
2551
|
+
browser?: BrowserUseConfig;
|
|
2552
|
+
computer?: ComputerConfig;
|
|
2521
2553
|
attachment?: AttachmentConfig;
|
|
2522
2554
|
speak?: SpeakConfig;
|
|
2523
2555
|
/**
|