@aalis/plugin-prompt-budget 0.9.0 → 0.9.1
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.js +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { tools } from '@aalis/api-tools';
|
|
|
13
13
|
import { definePlugin, events, lifecycle, logger, optional } from '@aalis/core';
|
|
14
14
|
import { createBoundedMap } from '@aalis/util-bounded-map';
|
|
15
15
|
import { t } from './texts.js';
|
|
16
|
-
/** tools
|
|
16
|
+
/** tools 声明为可选:没有工具服务时本插件照常激活,缓存先暂存,工具服务上线即补登记 */
|
|
17
17
|
const uses = { tools: optional(tools), events, lifecycle, logger };
|
|
18
18
|
export default definePlugin({
|
|
19
19
|
name: '@aalis/plugin-prompt-budget',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aalis/plugin-prompt-budget",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.0.0",
|
|
33
33
|
"typescript": "^5.7.0",
|
|
34
|
-
"@aalis/
|
|
35
|
-
"@aalis/
|
|
34
|
+
"@aalis/core": "0.21.1",
|
|
35
|
+
"@aalis/api-agent": "0.11.1"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@aalis/core": ">=0.21.0 <1.0.0"
|