llmist 1.1.0 → 1.2.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/{chunk-VXPZQZF5.js → chunk-KORMY3CD.js} +693 -375
- package/dist/chunk-KORMY3CD.js.map +1 -0
- package/dist/{chunk-OIPLYP7M.js → chunk-LELPPETT.js} +2 -2
- package/dist/cli.cjs +639 -321
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +638 -320
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +2 -2
- package/dist/testing/index.cjs +638 -320
- package/dist/testing/index.cjs.map +1 -1
- package/dist/testing/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-VXPZQZF5.js.map +0 -1
- /package/dist/{chunk-OIPLYP7M.js.map → chunk-LELPPETT.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1284,6 +1284,7 @@ declare class GadgetExecutor {
|
|
|
1284
1284
|
private readonly defaultGadgetTimeoutMs?;
|
|
1285
1285
|
private readonly logger;
|
|
1286
1286
|
private readonly errorFormatter;
|
|
1287
|
+
private readonly argPrefix;
|
|
1287
1288
|
constructor(registry: GadgetRegistry, onHumanInputRequired?: ((question: string) => Promise<string>) | undefined, logger?: Logger<ILogObj>, defaultGadgetTimeoutMs?: number | undefined, errorFormatterOptions?: ErrorFormatterOptions);
|
|
1288
1289
|
/**
|
|
1289
1290
|
* Creates a promise that rejects with a TimeoutException after the specified timeout.
|
|
@@ -1291,6 +1292,11 @@ declare class GadgetExecutor {
|
|
|
1291
1292
|
private createTimeoutPromise;
|
|
1292
1293
|
execute(call: ParsedGadgetCall): Promise<GadgetExecutionResult>;
|
|
1293
1294
|
executeAll(calls: ParsedGadgetCall[]): Promise<GadgetExecutionResult[]>;
|
|
1295
|
+
/**
|
|
1296
|
+
* Deep equality check for objects/arrays.
|
|
1297
|
+
* Used to detect if parameters were modified by an interceptor.
|
|
1298
|
+
*/
|
|
1299
|
+
private deepEquals;
|
|
1294
1300
|
}
|
|
1295
1301
|
|
|
1296
1302
|
interface StreamParserOptions {
|
package/dist/index.d.ts
CHANGED
|
@@ -1284,6 +1284,7 @@ declare class GadgetExecutor {
|
|
|
1284
1284
|
private readonly defaultGadgetTimeoutMs?;
|
|
1285
1285
|
private readonly logger;
|
|
1286
1286
|
private readonly errorFormatter;
|
|
1287
|
+
private readonly argPrefix;
|
|
1287
1288
|
constructor(registry: GadgetRegistry, onHumanInputRequired?: ((question: string) => Promise<string>) | undefined, logger?: Logger<ILogObj>, defaultGadgetTimeoutMs?: number | undefined, errorFormatterOptions?: ErrorFormatterOptions);
|
|
1288
1289
|
/**
|
|
1289
1290
|
* Creates a promise that rejects with a TimeoutException after the specified timeout.
|
|
@@ -1291,6 +1292,11 @@ declare class GadgetExecutor {
|
|
|
1291
1292
|
private createTimeoutPromise;
|
|
1292
1293
|
execute(call: ParsedGadgetCall): Promise<GadgetExecutionResult>;
|
|
1293
1294
|
executeAll(calls: ParsedGadgetCall[]): Promise<GadgetExecutionResult[]>;
|
|
1295
|
+
/**
|
|
1296
|
+
* Deep equality check for objects/arrays.
|
|
1297
|
+
* Used to detect if parameters were modified by an interceptor.
|
|
1298
|
+
*/
|
|
1299
|
+
private deepEquals;
|
|
1294
1300
|
}
|
|
1295
1301
|
|
|
1296
1302
|
interface StreamParserOptions {
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
mockLLM,
|
|
11
11
|
validateAndApplyDefaults,
|
|
12
12
|
validateGadgetParams
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LELPPETT.js";
|
|
14
14
|
import {
|
|
15
15
|
AgentBuilder,
|
|
16
16
|
AnthropicMessagesProvider,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
resolveRulesTemplate,
|
|
75
75
|
runWithHandlers,
|
|
76
76
|
stream
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-KORMY3CD.js";
|
|
78
78
|
|
|
79
79
|
// src/index.ts
|
|
80
80
|
init_builder();
|