@lnai/core 0.4.0 → 0.4.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.d.ts +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -248,7 +248,7 @@ declare const claudeCodePlugin: Plugin;
|
|
|
248
248
|
* OpenCode plugin for exporting to opencode.json format
|
|
249
249
|
*
|
|
250
250
|
* Output structure:
|
|
251
|
-
* -
|
|
251
|
+
* - AGENTS.md (symlink -> .ai/AGENTS.md) [at project root]
|
|
252
252
|
* - .opencode/rules/ (symlink -> ../.ai/rules)
|
|
253
253
|
* - .opencode/skills/<name>/ (symlink -> ../../.ai/skills/<name>)
|
|
254
254
|
* - opencode.json (generated config merged with .ai/.opencode/opencode.json)
|
package/dist/index.js
CHANGED
|
@@ -989,9 +989,9 @@ var opencodePlugin = {
|
|
|
989
989
|
const outputDir = TOOL_OUTPUT_DIRS.opencode;
|
|
990
990
|
if (state.agents) {
|
|
991
991
|
files.push({
|
|
992
|
-
path:
|
|
992
|
+
path: "AGENTS.md",
|
|
993
993
|
type: "symlink",
|
|
994
|
-
target:
|
|
994
|
+
target: `${UNIFIED_DIR}/AGENTS.md`
|
|
995
995
|
});
|
|
996
996
|
}
|
|
997
997
|
if (state.rules.length > 0) {
|
|
@@ -1036,7 +1036,7 @@ var opencodePlugin = {
|
|
|
1036
1036
|
if (!state.agents) {
|
|
1037
1037
|
warnings.push({
|
|
1038
1038
|
path: ["AGENTS.md"],
|
|
1039
|
-
message: "No AGENTS.md found -
|
|
1039
|
+
message: "No AGENTS.md found - root AGENTS.md will not be created"
|
|
1040
1040
|
});
|
|
1041
1041
|
}
|
|
1042
1042
|
return { valid: true, errors: [], warnings, skipped: [] };
|