@aidejs/core 0.1.0-beta.0 → 0.1.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/CHANGELOG CHANGED
@@ -1,4 +1,8 @@
1
1
  v0.1.0:
2
- date:
2
+ date:2026-04-07
3
3
  changes:
4
- - 初始化版本
4
+ - 初始化版本
5
+ 1、基本的LLM交互控制
6
+ * 支持新建任务、实时反馈、输出思考过程
7
+ * 可扩展tools能力
8
+ 2、常用的若干工具tools
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aidejs/core",
3
- "version": "0.1.0-beta.0",
3
+ "version": "0.1.0",
4
4
  "description": "@aidejs/core",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./types/index.d.ts",
package/src/index.js CHANGED
@@ -7,7 +7,6 @@ const { debug } = require("./utils");
7
7
  module.exports = class Aidejs {
8
8
 
9
9
  static tool = new Tool(); // 工具管理对象
10
- static messages = [];
11
10
 
12
11
  constructor(options = {}) {
13
12
  this.options = initOption(options, {
@@ -40,7 +39,7 @@ module.exports = class Aidejs {
40
39
  let _this = this, toolCalls = false;
41
40
 
42
41
  // 记忆管理对象
43
- let memory = new Memory([...Aidejs.messages, ..._this.options.messages]);
42
+ let memory = new Memory([..._this.options.messages]);
44
43
 
45
44
  let runInputback = () => {
46
45
  if (inputback) {