@vietor/agent-core 0.7.1 → 0.7.2
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/index.d.ts +1 -1
- package/dist/runtime/agent.d.ts +1 -1
- package/dist/runtime/session.d.ts +1 -1
- package/dist/skills/loader.d.ts +1 -5
- package/dist/skills/loader.js +1 -0
- package/dist/skills/types.d.ts +5 -0
- package/dist/skills/types.js +1 -0
- package/dist/tools/registry.d.ts +1 -1
- package/dist/tools/skill.d.ts +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { INITIAL_RUN_METRICS, type SessionEvent, type TimelineEvent, type RunMet
|
|
|
5
5
|
export type { Tool, ToolContext, ToolSchema, Todo, TodoStatus, TextResult } from "./tools/types.js";
|
|
6
6
|
export { toolError } from "./tools/types.js";
|
|
7
7
|
export type { BuiltinToolsOptions } from "./tools/registry.js";
|
|
8
|
-
export type { Skill } from "./skills/
|
|
8
|
+
export type { Skill } from "./skills/types.js";
|
|
9
9
|
export { tryLoadSkills } from "./skills/loader.js";
|
|
10
10
|
export type { MCPClientInfo, MCPServerConfig, MCPServerInfo } from "./mcp/types.js";
|
|
11
11
|
export type { LLMConfig, LLMThinkingEffort, LLMBackend } from "./llm/types.js";
|
package/dist/runtime/agent.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { LLMClient } from "../llm/types.js";
|
|
2
2
|
import { SessionMessages, type SessionMessage } from "./session-messages.js";
|
|
3
3
|
import type { SessionEvent } from "./events.js";
|
|
4
|
-
import type { Skill } from "../skills/
|
|
4
|
+
import type { Skill } from "../skills/types.js";
|
|
5
5
|
import type { ToolRegistry } from "../tools/registry.js";
|
|
6
6
|
import type { Todo } from "../tools/types.js";
|
|
7
7
|
export type RunStatus = "ok" | "aborted" | "error" | "stalled" | "maxTurns";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { LLMClient, LLMConfig } from "../llm/types.js";
|
|
2
2
|
import type { MCPServerManager } from "../mcp/manager.js";
|
|
3
3
|
import type { MCPServerConfig, MCPServerInfo } from "../mcp/types.js";
|
|
4
|
-
import type { Skill } from "../skills/
|
|
4
|
+
import type { Skill } from "../skills/types.js";
|
|
5
5
|
import { type BuiltinToolsOptions, type ToolRegistry } from "../tools/registry.js";
|
|
6
6
|
import type { Todo, Tool } from "../tools/types.js";
|
|
7
7
|
import { type SessionEvent, type TimelineEvent } from "./events.js";
|
package/dist/skills/loader.d.ts
CHANGED
package/dist/skills/loader.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { existsSync, readdirSync } from "node:fs";
|
|
2
2
|
import { join } from "node:path";
|
|
3
3
|
import { tryReadFileText } from "../util/file.js";
|
|
4
|
+
import {} from "./types.js";
|
|
4
5
|
function parseSkillFile(skillName, skillFile) {
|
|
5
6
|
const content = tryReadFileText(skillFile);
|
|
6
7
|
if (!content)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/tools/registry.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Tool, ToolContext, ToolSchema, Todo } from "./types.js";
|
|
2
2
|
import { type SubAgentToolDeps } from "./sub-agent.js";
|
|
3
|
-
import type { Skill } from "../skills/
|
|
3
|
+
import type { Skill } from "../skills/types.js";
|
|
4
4
|
import type { TextResult } from "./types.js";
|
|
5
5
|
export declare class ToolRegistry {
|
|
6
6
|
private tools;
|
package/dist/tools/skill.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vietor/agent-core",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"url": "https://github.com/vietor/easy-agent.git"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@anthropic-ai/sdk": "^0.
|
|
27
|
+
"@anthropic-ai/sdk": "^0.117.1",
|
|
28
28
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
29
29
|
"@vscode/ripgrep": "^1.18.0",
|
|
30
|
-
"openai": "^7.
|
|
30
|
+
"openai": "^7.5.0",
|
|
31
31
|
"turndown": "^7.2.4",
|
|
32
32
|
"undici": "^8.10.0"
|
|
33
33
|
},
|