@kuznai/inception-engine 0.11.0 → 0.11.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/README.md +2 -2
- package/dist/config/agents.js +4 -1
- package/dist/core/adapters/rules.js +7 -0
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ Managed skills overwrite their previous version. If a target exists but was not
|
|
|
49
49
|
| File write | All agents via manifest and CLI | All agents |
|
|
50
50
|
| Config patch (JSON merge) | All agents via manifest and CLI | All agents |
|
|
51
51
|
| MCP Servers | claude-code, gemini-cli; other agents are warned and skipped | claude-code, gemini-cli |
|
|
52
|
-
| Global Rules Files | claude-code, codex, gemini-cli, opencode; other agents are warned and skipped | claude-code, codex, gemini-cli, opencode |
|
|
52
|
+
| Global Rules Files | claude-code, codex, gemini-cli, opencode; github-copilot reads CLAUDE.md natively (deploy via claude-code); other agents are warned and skipped | claude-code, codex, gemini-cli, opencode |
|
|
53
53
|
| `init` manifest generation | Scans `SKILL.md` directories and writes starter `skills` entries | N/A |
|
|
54
54
|
|
|
55
55
|
Features that depend on agent-specific config surfaces are intentionally conservative: if a target path or schema is not implemented with enough confidence, inception-engine warns and skips it rather than guessing.
|
|
@@ -138,7 +138,7 @@ Each **agentRules** entry deploys a Markdown instruction file to an agent's supp
|
|
|
138
138
|
- **path** - Relative path to the source Markdown file within the repo
|
|
139
139
|
- **agents** - Array of agent IDs to deploy this file to
|
|
140
140
|
|
|
141
|
-
Global rules-file deployment is currently supported for `claude-code` (`~/.claude/CLAUDE.md`), `codex` (`~/.codex/AGENTS.md`), `gemini-cli` (`~/.gemini/GEMINI.md`), and `opencode` (`~/.config/opencode/AGENTS.md`). Other agents emit a warning and are skipped because their instruction surfaces are different, repo-scoped, or not implemented
|
|
141
|
+
Global rules-file deployment is currently supported for `claude-code` (`~/.claude/CLAUDE.md`), `codex` (`~/.codex/AGENTS.md`), `gemini-cli` (`~/.gemini/GEMINI.md`), and `opencode` (`~/.config/opencode/AGENTS.md`). For `github-copilot`, no separate deployment is needed because Copilot reads `CLAUDE.md` natively — target it via the `claude-code` agentRules entry and it reaches Copilot automatically. Other agents emit a warning and are skipped because their instruction surfaces are different, repo-scoped, or not yet implemented. Revert removes the deployed rules file.
|
|
142
142
|
|
|
143
143
|
## Creating Skills
|
|
144
144
|
|
package/dist/config/agents.js
CHANGED
|
@@ -139,7 +139,10 @@ export const AGENT_REGISTRY = [
|
|
|
139
139
|
detectPaths: "documented",
|
|
140
140
|
detectBinary: "documented",
|
|
141
141
|
},
|
|
142
|
-
//
|
|
142
|
+
// agentRulesPath omitted: Copilot reads CLAUDE.md natively (Claude-first portability rule).
|
|
143
|
+
// Deploy via the "claude-code" agentRules entry — it reaches Copilot automatically.
|
|
144
|
+
// mcpConfigPath omitted: Copilot MCP config surface is not implemented here yet.
|
|
145
|
+
claudeNativeInstruction: true,
|
|
143
146
|
policyNote: "Organization policies may override locally deployed skills. Verify with your GitHub org admin if deployed skills are not active.",
|
|
144
147
|
},
|
|
145
148
|
];
|
|
@@ -16,6 +16,13 @@ export async function compileAgentRuleActions(entry, sourceDir, resolvedSourceDi
|
|
|
16
16
|
await validateSourceFile(source, entry.path);
|
|
17
17
|
for (const agentId of targetAgents) {
|
|
18
18
|
const agent = AGENT_REGISTRY_BY_ID[agentId];
|
|
19
|
+
if (agent?.claudeNativeInstruction) {
|
|
20
|
+
warnings.push({
|
|
21
|
+
kind: "confidence",
|
|
22
|
+
message: `agentRules: agent "${agentId}" reads CLAUDE.md natively — deploy via "claude-code" target to reach Copilot automatically; no separate deployment needed`,
|
|
23
|
+
});
|
|
24
|
+
continue;
|
|
25
|
+
}
|
|
19
26
|
if (!agent?.agentRulesPath) {
|
|
20
27
|
warnings.push({
|
|
21
28
|
kind: "confidence",
|
package/dist/types.d.ts
CHANGED