@longzai-intelligence-agent-tools/core 0.0.5 → 0.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 +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -119,7 +119,7 @@ declare const IDE_OUTPUT_DIRS: Readonly<Record<AgentType, string>>;
|
|
|
119
119
|
*/
|
|
120
120
|
declare const GENERATED_FILE_SUFFIX: '.generated';
|
|
121
121
|
/**
|
|
122
|
-
*
|
|
122
|
+
* 根指令文件入口引导文本
|
|
123
123
|
*
|
|
124
124
|
* 根指令文件(CLAUDE.md / AGENTS.md)生成两份:
|
|
125
125
|
* 1. <原名>.generated.md:真正的合成产物(共同 + 独有内容),文件名带后缀标识。
|
|
@@ -128,7 +128,7 @@ declare const GENERATED_FILE_SUFFIX: '.generated';
|
|
|
128
128
|
* 引导文本由工具固定生成(非真源内容),{{generatedFile}} 占位符替换为 .generated.md 文件名。
|
|
129
129
|
* 入口文件保留原名是因为 IDE 以此为读取入口,实际内容载体是 .generated.md。
|
|
130
130
|
*/
|
|
131
|
-
declare const ROOT_ENTRY_TEMPLATE: '
|
|
131
|
+
declare const ROOT_ENTRY_TEMPLATE: '必须阅读 {{generatedFile}}。';
|
|
132
132
|
/**
|
|
133
133
|
* 内置合成规则表
|
|
134
134
|
*
|
package/dist/index.js
CHANGED
|
@@ -39,4 +39,4 @@ const e={"agents/agent.md":`# 共同部分
|
|
|
39
39
|
# frontmatter 各 IDE 不同(claude paths / trae alwaysApply+globs),见 docs/vendors/
|
|
40
40
|
`,"skills/.gitkeep":`# 此目录存放技能真源
|
|
41
41
|
# 命名约定:<base>.md(共同)+ <base>.<type>.md(某 IDE 独有)
|
|
42
|
-
`},t=`.lzi`,n=`agents/agent.md`,r={claude:`.claude`,trae:`.trae`,zcode:`.zcode`},i=`.generated`,a
|
|
42
|
+
`},t=`.lzi`,n=`agents/agent.md`,r={claude:`.claude`,trae:`.trae`,zcode:`.zcode`},i=`.generated`,a=`必须阅读 {{generatedFile}}。`,o={claude:[{output:`CLAUDE.md`,commonSource:n,agentSource:`agents/agent.claude.md`}],trae:[{output:`CLAUDE.md`,commonSource:n,agentSource:`agents/agent.claude.md`},{output:`AGENTS.md`,commonSource:n,agentSource:`agents/agent.trae.md`}],zcode:[{output:`AGENTS.md`,commonSource:n,agentSource:`agents/agent.zcode.md`}]},s={commands:{claude:{ideRoot:r.claude,mode:`append`},trae:{ideRoot:r.trae,mode:`append`},zcode:{ideRoot:r.zcode,mode:`append`}},rules:{claude:{ideRoot:r.claude,mode:`prepend`},trae:{ideRoot:r.trae,mode:`prepend`},zcode:{ideRoot:r.zcode,mode:`prepend`}},skills:{claude:{ideRoot:r.claude,mode:`append`},trae:{ideRoot:r.trae,mode:`append`},zcode:{ideRoot:r.zcode,mode:`append`}}},c=[`claude`,`trae`,`zcode`],l={AGENT_TYPE:`LZI_AGENT_TYPE`,PLACEHOLDER_PREFIX:`LZI_PLACEHOLDER_`},u={DATE:()=>new Date().toISOString().slice(0,10),PROJECT_NAME:()=>process.cwd().split(`/`).pop()??``};export{u as BUILTIN_PLACEHOLDERS,s as CATEGORY_RULES,n as COMMON_SOURCE,e as DEFAULT_SOURCES,l as ENV_KEYS,i as GENERATED_FILE_SUFFIX,r as IDE_OUTPUT_DIRS,t as LZI_DIR,a as ROOT_ENTRY_TEMPLATE,o as SYNTHESIS_RULES,c as VALID_AGENTS};
|