@epoch-agent/core 0.26.0 → 0.28.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/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -6811,6 +6811,7 @@ declare function commandNameFromRelPath(relPath: string): string;
|
|
|
6811
6811
|
*
|
|
6812
6812
|
* ```markdown
|
|
6813
6813
|
* ---
|
|
6814
|
+
* displayName: 写提交信息
|
|
6814
6815
|
* description: 按团队模板写 commit message
|
|
6815
6816
|
* argument-hint: '[scope]'
|
|
6816
6817
|
* allowed-tools: [terminal, file_read]
|
package/dist/index.js
CHANGED
|
@@ -5780,6 +5780,7 @@ function reason2(err) {
|
|
|
5780
5780
|
}
|
|
5781
5781
|
// src/extensions/commands.ts
|
|
5782
5782
|
var CommandFrontmatterSchema = z.object({
|
|
5783
|
+
displayName: z.string().min(1).optional(),
|
|
5783
5784
|
description: z.string().min(1),
|
|
5784
5785
|
"argument-hint": z.string().min(1).optional(),
|
|
5785
5786
|
"allowed-tools": z.array(z.string().min(1)).optional(),
|
|
@@ -5855,6 +5856,7 @@ function loadCommandFile(file, source, prefix) {
|
|
|
5855
5856
|
command: {
|
|
5856
5857
|
name,
|
|
5857
5858
|
prompt,
|
|
5859
|
+
...fm.displayName ? { displayName: fm.displayName } : {},
|
|
5858
5860
|
description: fm.description,
|
|
5859
5861
|
...fm["argument-hint"] ? { argumentHint: fm["argument-hint"] } : {},
|
|
5860
5862
|
...fm["allowed-tools"] ? { allowedTools: fm["allowed-tools"] } : {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epoch-agent/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "epoch-agent 核心引擎:ReAct 循环、Provider 路由、工具调度、记忆管理",
|
|
6
6
|
"repository": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"gpt-tokenizer": "^3.4.0",
|
|
28
28
|
"js-yaml": "^5.2.3",
|
|
29
29
|
"zod": "^4.4.3",
|
|
30
|
-
"@epoch-agent/infra": "0.
|
|
31
|
-
"@epoch-agent/protocol": "0.
|
|
30
|
+
"@epoch-agent/infra": "0.28.0",
|
|
31
|
+
"@epoch-agent/protocol": "0.28.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@ai-sdk/alibaba": "^2.0.59",
|