@nuvin/nuvin-core 1.19.0-rc.8 → 1.19.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/VERSION +2 -2
- package/dist/index.d.ts +19 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/VERSION
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -210,6 +210,7 @@ type BashToolArgs = {
|
|
|
210
210
|
cwd?: string;
|
|
211
211
|
timeoutMs?: number;
|
|
212
212
|
description?: string;
|
|
213
|
+
ignoreOutput?: boolean;
|
|
213
214
|
};
|
|
214
215
|
type FileReadArgs = {
|
|
215
216
|
path: string;
|
|
@@ -1433,6 +1434,10 @@ type InjectedSystemParams = {
|
|
|
1433
1434
|
description: string;
|
|
1434
1435
|
}>;
|
|
1435
1436
|
folderTree?: string;
|
|
1437
|
+
shell?: string;
|
|
1438
|
+
gitBranch?: string;
|
|
1439
|
+
gitRepo?: string;
|
|
1440
|
+
recentCommits?: string;
|
|
1436
1441
|
};
|
|
1437
1442
|
declare function buildInjectedSystem(p: InjectedSystemParams, { withSubAgent }?: {
|
|
1438
1443
|
withSubAgent?: boolean;
|
|
@@ -1880,6 +1885,11 @@ type SystemContext = {
|
|
|
1880
1885
|
arch: string;
|
|
1881
1886
|
tempDir: string;
|
|
1882
1887
|
workspaceDir: string;
|
|
1888
|
+
shell?: string;
|
|
1889
|
+
gitBranch?: string;
|
|
1890
|
+
gitRepo?: string;
|
|
1891
|
+
recentCommits?: string;
|
|
1892
|
+
folderTree?: string;
|
|
1883
1893
|
};
|
|
1884
1894
|
type AgentInfo = {
|
|
1885
1895
|
id: string;
|
|
@@ -2089,6 +2099,7 @@ type BashParams = {
|
|
|
2089
2099
|
cmd: string;
|
|
2090
2100
|
cwd?: string;
|
|
2091
2101
|
timeoutMs?: number;
|
|
2102
|
+
ignoreOutput?: boolean;
|
|
2092
2103
|
};
|
|
2093
2104
|
type BashSuccessResult$1 = {
|
|
2094
2105
|
status: 'success';
|
|
@@ -2124,6 +2135,10 @@ declare class BashTool implements FunctionTool<BashParams, ToolExecutionContext,
|
|
|
2124
2135
|
readonly minimum: 1;
|
|
2125
2136
|
readonly description: "Timeout in ms. Default: 30000.";
|
|
2126
2137
|
};
|
|
2138
|
+
readonly ignoreOutput: {
|
|
2139
|
+
readonly type: "boolean";
|
|
2140
|
+
readonly description: "If true, discard stdout/stderr and return only the exit code. Useful when you only care whether the command succeeded or failed.";
|
|
2141
|
+
};
|
|
2127
2142
|
};
|
|
2128
2143
|
readonly required: readonly ["cmd"];
|
|
2129
2144
|
};
|
|
@@ -2175,6 +2190,7 @@ declare const bashToolSchema: z.ZodObject<{
|
|
|
2175
2190
|
cwd: z.ZodOptional<z.ZodString>;
|
|
2176
2191
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
2177
2192
|
description: z.ZodOptional<z.ZodString>;
|
|
2193
|
+
ignoreOutput: z.ZodOptional<z.ZodBoolean>;
|
|
2178
2194
|
}, z.core.$strip>;
|
|
2179
2195
|
declare const fileReadSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodObject<{
|
|
2180
2196
|
path: z.ZodPipe<z.ZodTransform<string, unknown>, z.ZodString>;
|
|
@@ -2260,6 +2276,7 @@ declare const toolSchemas: {
|
|
|
2260
2276
|
cwd: z.ZodOptional<z.ZodString>;
|
|
2261
2277
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
2262
2278
|
description: z.ZodOptional<z.ZodString>;
|
|
2279
|
+
ignoreOutput: z.ZodOptional<z.ZodBoolean>;
|
|
2263
2280
|
}, z.core.$strip>;
|
|
2264
2281
|
readonly file_read: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodObject<{
|
|
2265
2282
|
path: z.ZodPipe<z.ZodTransform<string, unknown>, z.ZodString>;
|
|
@@ -2470,6 +2487,7 @@ type GrepParams = {
|
|
|
2470
2487
|
path?: string;
|
|
2471
2488
|
include?: string;
|
|
2472
2489
|
limit?: number;
|
|
2490
|
+
context?: number;
|
|
2473
2491
|
};
|
|
2474
2492
|
type GrepSuccessResult$1 = {
|
|
2475
2493
|
status: 'success';
|
|
@@ -3089,6 +3107,7 @@ declare class CoreMCPClient {
|
|
|
3089
3107
|
constructor(opts: MCPOptions, timeoutMs?: number);
|
|
3090
3108
|
private getAuthHeaders;
|
|
3091
3109
|
connect(): Promise<void>;
|
|
3110
|
+
private performConnect;
|
|
3092
3111
|
reconnectWithNewToken(): Promise<void>;
|
|
3093
3112
|
isConnected(): boolean;
|
|
3094
3113
|
getCurrentToken(): string | null;
|