@lovelymai/agent 1.0.5 → 1.0.6

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 CHANGED
@@ -1,2 +1,2 @@
1
- export type { Tool } from './services/tool';
2
- export { createAgentManager, type AgentManager, type Event } from './services/loop';
1
+ export type { Tool } from './services/tool.ts';
2
+ export { createAgentManager, type AgentManager, type Event } from './services/loop.ts';
@@ -1,6 +1,6 @@
1
1
  import type OpenAI from 'openai';
2
2
  import type { ChatCompletionMessageParam } from 'openai/resources/chat/completions';
3
- import { type Tool } from './tool';
3
+ import { type Tool } from './tool.ts';
4
4
  export type AgentManager = {
5
5
  /** 模型配置 */
6
6
  config: {
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@lovelymai/agent",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "一个纯净极简易于使用的 Agent 框架",
5
5
  "keywords": ["agent"],
6
6
  "license": "MIT",
7
- "files": ["dist"],
8
7
  "type": "module",
8
+ "files": ["dist"],
9
9
  "exports": {
10
10
  ".": {
11
11
  "types": "./dist/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  }
14
14
  },
15
15
  "scripts": {
16
- "build": "vite build && tsc --declaration --emitDeclarationOnly --outDir dist"
16
+ "build": "vite build && tsc"
17
17
  },
18
18
  "dependencies": {
19
19
  "@vue/reactivity": "^3.5.41"