@toolforge-js/sdk 0.8.6 → 0.8.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/dist/cli/index.js +2 -2
- package/dist/components/index.d.ts +3 -3
- package/package.json +2 -2
package/dist/cli/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { C as __toESM, S as __require, _ as stopToolMessageSchema, a as AGENT_TAG_NAME, b as invariant, c as runWithRetries, d as heartbeatAckMessageSchema, f as initCommunicationMessageSchema, g as stopAgentMessageSchema, h as startToolMessageSchema, i as AGENT_STEP_TAG_NAME, l as ackMessageSchema, m as startAgentMessageSchema, n as TOOL_TAG_NAME, o as Agent, p as runnerId, r as Tool, s as exponentialBackoff, t as TOOL_HANDLER_TAG_NAME, u as baseMessageSchema, v as convertToWords, x as __commonJS, y as getErrorMessage } from "../tool-BHVNhWPh.js";
|
|
2
2
|
import { a as sdkServerUrlSchema, n as appServerUrlSchema, o as toolForgeConfigSchema, r as appUrlSchema } from "../config-schema-Bb9oY-Ku.js";
|
|
3
|
+
import * as z$1 from "zod";
|
|
4
|
+
import z from "zod";
|
|
3
5
|
import { createReadStream, readFileSync } from "node:fs";
|
|
4
6
|
import * as path from "node:path";
|
|
5
7
|
import { EventEmitter } from "node:events";
|
|
6
|
-
import * as z$1 from "zod";
|
|
7
|
-
import z from "zod";
|
|
8
8
|
import ora from "ora";
|
|
9
9
|
import { pino } from "pino";
|
|
10
10
|
import * as crypto from "node:crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EventEmitter } from "node:events";
|
|
2
1
|
import * as z$1 from "zod";
|
|
2
|
+
import { EventEmitter } from "node:events";
|
|
3
3
|
import { Logger } from "pino";
|
|
4
|
-
import * as
|
|
4
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
5
|
|
|
6
6
|
//#region ../core/dist/schema/index.d.ts
|
|
7
7
|
//#region src/schema/message.d.ts
|
|
@@ -6765,7 +6765,7 @@ declare function defineAgent<Context, Steps extends Record<string, AgentStep<Con
|
|
|
6765
6765
|
};
|
|
6766
6766
|
name: string;
|
|
6767
6767
|
description?: string;
|
|
6768
|
-
contextSchema: z$1.ZodType<Context, unknown,
|
|
6768
|
+
contextSchema: z$1.ZodType<Context, unknown, zod_v4_core0.$ZodTypeInternals<Context, unknown>>;
|
|
6769
6769
|
workflow: (builder: IWorkflowBuilder<Context, keyof Steps>) => IWorkflowBuilder<Context, keyof Steps>;
|
|
6770
6770
|
bootstrap?: AgentBootstrapFunction<Context> | undefined;
|
|
6771
6771
|
__tf__tag__name__: symbol;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toolforge-js/sdk",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"pino-pretty": "13.1.1",
|
|
32
32
|
"tar": "7.5.2",
|
|
33
33
|
"ts-pattern": "5.8.0",
|
|
34
|
-
"zod": "4.
|
|
34
|
+
"zod": "4.3.6"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/bun": "1.3.3",
|