@aalis/plugin-tool-session 0.16.0 → 0.16.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/locales/en.d.ts +4 -4
- package/dist/locales/en.js +4 -4
- package/dist/locales/en.js.map +1 -1
- package/dist/texts.d.ts +8 -8
- package/dist/texts.d.ts.map +1 -1
- package/dist/texts.js +4 -4
- package/dist/texts.js.map +1 -1
- package/package.json +2 -2
package/dist/locales/en.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ declare const _default: {
|
|
|
4
4
|
readonly groupSummary: "Read recent session history by Aalis sessionId to verify cross-session context";
|
|
5
5
|
readonly enabledLabel: "Enable the session history reading tool";
|
|
6
6
|
readonly maxLimitLabel: "Max messages per read";
|
|
7
|
-
readonly maxLimitDescription: "
|
|
8
|
-
readonly defaultLimitLabel: "Default messages per read
|
|
9
|
-
readonly defaultLimitDescription: "
|
|
7
|
+
readonly maxLimitDescription: "Most messages a single history read returns; larger requests from the model are capped to it. 50 to 200 is recommended.";
|
|
8
|
+
readonly defaultLimitLabel: "Default messages per read";
|
|
9
|
+
readonly defaultLimitDescription: "Used when the model gives no limit; cannot exceed “Max messages per read”. Raising it gives the model more context but costs more tokens.";
|
|
10
10
|
readonly includeArchivedDefaultLabel: "Include archived messages by default";
|
|
11
11
|
readonly perMessageMaxCharsLabel: "Per-message truncation length";
|
|
12
|
-
readonly perMessageMaxCharsDescription: "Character limit of each history message returned to the
|
|
12
|
+
readonly perMessageMaxCharsDescription: "Character limit of each history message returned to the model; 0 = no truncation (recommended). Anything beyond it is cut off, ending with “…[已截断,还剩 N 个字符未展示]”.";
|
|
13
13
|
};
|
|
14
14
|
export default _default;
|
|
15
15
|
//# sourceMappingURL=en.d.ts.map
|
package/dist/locales/en.js
CHANGED
|
@@ -5,11 +5,11 @@ export default defineLocale()({
|
|
|
5
5
|
groupSummary: 'Read recent session history by Aalis sessionId to verify cross-session context',
|
|
6
6
|
enabledLabel: 'Enable the session history reading tool',
|
|
7
7
|
maxLimitLabel: 'Max messages per read',
|
|
8
|
-
maxLimitDescription: '
|
|
9
|
-
defaultLimitLabel: 'Default messages per read
|
|
10
|
-
defaultLimitDescription: '
|
|
8
|
+
maxLimitDescription: 'Most messages a single history read returns; larger requests from the model are capped to it. 50 to 200 is recommended.',
|
|
9
|
+
defaultLimitLabel: 'Default messages per read',
|
|
10
|
+
defaultLimitDescription: 'Used when the model gives no limit; cannot exceed “Max messages per read”. Raising it gives the model more context but costs more tokens.',
|
|
11
11
|
includeArchivedDefaultLabel: 'Include archived messages by default',
|
|
12
12
|
perMessageMaxCharsLabel: 'Per-message truncation length',
|
|
13
|
-
perMessageMaxCharsDescription: 'Character limit of each history message returned to the
|
|
13
|
+
perMessageMaxCharsDescription: 'Character limit of each history message returned to the model; 0 = no truncation (recommended). Anything beyond it is cut off, ending with “…[已截断,还剩 N 个字符未展示]”.',
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=en.js.map
|
package/dist/locales/en.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.js","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGlD,eAAe,YAAY,EAAU,CAAC;IACpC,WAAW,EAAE,eAAe;IAC5B,cAAc,EAAE,yBAAyB;IACzC,YAAY,EAAE,gFAAgF;IAC9F,YAAY,EAAE,yCAAyC;IACvD,aAAa,EAAE,uBAAuB;IACtC,mBAAmB,EACjB,
|
|
1
|
+
{"version":3,"file":"en.js","sourceRoot":"","sources":["../../src/locales/en.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGlD,eAAe,YAAY,EAAU,CAAC;IACpC,WAAW,EAAE,eAAe;IAC5B,cAAc,EAAE,yBAAyB;IACzC,YAAY,EAAE,gFAAgF;IAC9F,YAAY,EAAE,yCAAyC;IACvD,aAAa,EAAE,uBAAuB;IACtC,mBAAmB,EACjB,yHAAyH;IAC3H,iBAAiB,EAAE,2BAA2B;IAC9C,uBAAuB,EACrB,2IAA2I;IAC7I,2BAA2B,EAAE,sCAAsC;IACnE,uBAAuB,EAAE,+BAA+B;IACxD,6BAA6B,EAC3B,kKAAkK;CACrK,CAAC,CAAC"}
|
package/dist/texts.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ declare const SOURCE: {
|
|
|
4
4
|
readonly groupSummary: "按 Aalis sessionId 读取近期会话历史,用于核实跨会话上下文";
|
|
5
5
|
readonly enabledLabel: "启用会话历史读取工具";
|
|
6
6
|
readonly maxLimitLabel: "单次最多读取条数";
|
|
7
|
-
readonly maxLimitDescription: "
|
|
8
|
-
readonly defaultLimitLabel: "
|
|
9
|
-
readonly defaultLimitDescription: "
|
|
7
|
+
readonly maxLimitDescription: "读取会话历史一次最多返回的条数,模型要的更多时按这个值算。建议 50~200。";
|
|
8
|
+
readonly defaultLimitLabel: "默认读取条数";
|
|
9
|
+
readonly defaultLimitDescription: "模型没指定条数时读取的条数,不能超过「单次最多读取条数」。调高能给模型更多上下文,也更耗 token。";
|
|
10
10
|
readonly includeArchivedDefaultLabel: "默认包含已归档消息";
|
|
11
11
|
readonly perMessageMaxCharsLabel: "每条消息截断字数";
|
|
12
|
-
readonly perMessageMaxCharsDescription: "
|
|
12
|
+
readonly perMessageMaxCharsDescription: "返给模型的每条历史消息的字符上限;0 = 不截断(推荐)。超出的部分截掉,末尾标「…[已截断,还剩 N 个字符未展示]」。";
|
|
13
13
|
};
|
|
14
14
|
export type Source = typeof SOURCE;
|
|
15
15
|
export declare const t: import("@aalis/schema-i18n").TextFactory<{
|
|
@@ -18,12 +18,12 @@ export declare const t: import("@aalis/schema-i18n").TextFactory<{
|
|
|
18
18
|
readonly groupSummary: "按 Aalis sessionId 读取近期会话历史,用于核实跨会话上下文";
|
|
19
19
|
readonly enabledLabel: "启用会话历史读取工具";
|
|
20
20
|
readonly maxLimitLabel: "单次最多读取条数";
|
|
21
|
-
readonly maxLimitDescription: "
|
|
22
|
-
readonly defaultLimitLabel: "
|
|
23
|
-
readonly defaultLimitDescription: "
|
|
21
|
+
readonly maxLimitDescription: "读取会话历史一次最多返回的条数,模型要的更多时按这个值算。建议 50~200。";
|
|
22
|
+
readonly defaultLimitLabel: "默认读取条数";
|
|
23
|
+
readonly defaultLimitDescription: "模型没指定条数时读取的条数,不能超过「单次最多读取条数」。调高能给模型更多上下文,也更耗 token。";
|
|
24
24
|
readonly includeArchivedDefaultLabel: "默认包含已归档消息";
|
|
25
25
|
readonly perMessageMaxCharsLabel: "每条消息截断字数";
|
|
26
|
-
readonly perMessageMaxCharsDescription: "
|
|
26
|
+
readonly perMessageMaxCharsDescription: "返给模型的每条历史消息的字符上限;0 = 不截断(推荐)。超出的部分截掉,末尾标「…[已截断,还剩 N 个字符未展示]」。";
|
|
27
27
|
}>;
|
|
28
28
|
export {};
|
|
29
29
|
//# sourceMappingURL=texts.d.ts.map
|
package/dist/texts.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"texts.d.ts","sourceRoot":"","sources":["../src/texts.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,MAAM;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"texts.d.ts","sourceRoot":"","sources":["../src/texts.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,MAAM;;;;;;;;;;;;CAcF,CAAC;AACX,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC;AAEnC,eAAO,MAAM,CAAC;;;;;;;;;;;;EAKZ,CAAC"}
|
package/dist/texts.js
CHANGED
|
@@ -7,12 +7,12 @@ const SOURCE = {
|
|
|
7
7
|
groupSummary: '按 Aalis sessionId 读取近期会话历史,用于核实跨会话上下文',
|
|
8
8
|
enabledLabel: '启用会话历史读取工具',
|
|
9
9
|
maxLimitLabel: '单次最多读取条数',
|
|
10
|
-
maxLimitDescription: '
|
|
11
|
-
defaultLimitLabel: '
|
|
12
|
-
defaultLimitDescription: '
|
|
10
|
+
maxLimitDescription: '读取会话历史一次最多返回的条数,模型要的更多时按这个值算。建议 50~200。',
|
|
11
|
+
defaultLimitLabel: '默认读取条数',
|
|
12
|
+
defaultLimitDescription: '模型没指定条数时读取的条数,不能超过「单次最多读取条数」。调高能给模型更多上下文,也更耗 token。',
|
|
13
13
|
includeArchivedDefaultLabel: '默认包含已归档消息',
|
|
14
14
|
perMessageMaxCharsLabel: '每条消息截断字数',
|
|
15
|
-
perMessageMaxCharsDescription: '
|
|
15
|
+
perMessageMaxCharsDescription: '返给模型的每条历史消息的字符上限;0 = 不截断(推荐)。超出的部分截掉,末尾标「…[已截断,还剩 N 个字符未展示]」。',
|
|
16
16
|
};
|
|
17
17
|
export const t = defineTexts({
|
|
18
18
|
ns: '@aalis/plugin-tool-session',
|
package/dist/texts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"texts.js","sourceRoot":"","sources":["../src/texts.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAEjC,MAAM,MAAM,GAAG;IACb,WAAW,EAAE,MAAM;IACnB,cAAc,EAAE,QAAQ;IACxB,YAAY,EAAE,uCAAuC;IACrD,YAAY,EAAE,YAAY;IAC1B,aAAa,EAAE,UAAU;IACzB,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"texts.js","sourceRoot":"","sources":["../src/texts.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAEjC,MAAM,MAAM,GAAG;IACb,WAAW,EAAE,MAAM;IACnB,cAAc,EAAE,QAAQ;IACxB,YAAY,EAAE,uCAAuC;IACrD,YAAY,EAAE,YAAY;IAC1B,aAAa,EAAE,UAAU;IACzB,mBAAmB,EAAE,yCAAyC;IAC9D,iBAAiB,EAAE,QAAQ;IAC3B,uBAAuB,EACrB,qDAAqD;IACvD,2BAA2B,EAAE,WAAW;IACxC,uBAAuB,EAAE,UAAU;IACnC,6BAA6B,EAC3B,+DAA+D;CACzD,CAAC;AAGX,MAAM,CAAC,MAAM,CAAC,GAAG,WAAW,CAAC;IAC3B,EAAE,EAAE,4BAA4B;IAChC,QAAQ,EAAE,OAAO;IACjB,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,EAAE,EAAE,EAAE;CAChB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aalis/plugin-tool-session",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^22.0.0",
|
|
37
37
|
"typescript": "^5.7.0",
|
|
38
|
-
"@aalis/core": "0.21.
|
|
38
|
+
"@aalis/core": "0.21.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@aalis/core": ">=0.21.0 <1.0.0"
|