oneagent 0.4.3 → 0.4.5
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 +3 -9
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1616,15 +1616,9 @@ Add your AI instructions here.
|
|
|
1616
1616
|
s.stop("Directory structure created.");
|
|
1617
1617
|
const commandFiles = await fs.readdir(path.join(root, ONEAGENT_DIR, "commands")).catch(() => []);
|
|
1618
1618
|
if (commandFiles.some((f) => f.endsWith(".md"))) {
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
const commandsSupported = new Set(AGENT_DEFINITIONS.filter((d2) => d2.commandsDir).map((d2) => d2.target));
|
|
1623
|
-
const unsupported = selectedTargets.filter((t) => !commandsSupported.has(t));
|
|
1624
|
-
if (unsupported.length > 0) {
|
|
1625
|
-
const names = unsupported.map((t) => AGENT_DEFINITIONS.find((d2) => d2.target === t).displayName).join(", ");
|
|
1626
|
-
R2.warn(`Commands in ${ONEAGENT_DIR}/commands/ will not be available in: ${names} — these agents do not support custom slash commands.`);
|
|
1627
|
-
}
|
|
1619
|
+
const commandsDirs = selectedTargets.map((t) => AGENT_DEFINITIONS.find((d2) => d2.target === t)).filter((d2) => d2?.commandsDir).map((d2) => d2.commandsDir);
|
|
1620
|
+
const dirsStr = commandsDirs.join(", ");
|
|
1621
|
+
R2.warn(`Commands detected in ${dirsStr}. Consider migrating to ${ONEAGENT_DIR}/skills/ — skills are distributed to more agents and support richer features.`);
|
|
1628
1622
|
}
|
|
1629
1623
|
const s2 = bt2();
|
|
1630
1624
|
s2.start("Generating symlinks and agent files...");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oneagent",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "One source of truth for AI agent rules — distributed via symlinks to Claude, Cursor, Windsurf, Copilot, OpenCode",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@clack/prompts": "latest",
|
|
23
|
-
"@moskala/oneagent-core": "0.4.
|
|
24
|
-
"@moskala/oneagent-templates": "0.4.
|
|
23
|
+
"@moskala/oneagent-core": "0.4.5",
|
|
24
|
+
"@moskala/oneagent-templates": "0.4.5",
|
|
25
25
|
"citty": "latest"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|