@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 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 here yet. Revert removes the deployed rules file.
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
 
@@ -139,7 +139,10 @@ export const AGENT_REGISTRY = [
139
139
  detectPaths: "documented",
140
140
  detectBinary: "documented",
141
141
  },
142
- // mcpConfigPath and agentRulesPath omitted: rules live in repo, not home dir; MCP config unclear
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
@@ -21,6 +21,7 @@ export interface AgentConfig {
21
21
  provenance: AgentProvenance;
22
22
  mcpConfigPath?: AgentPaths;
23
23
  agentRulesPath?: AgentPaths;
24
+ claudeNativeInstruction?: true;
24
25
  policyNote?: string;
25
26
  }
26
27
  export interface PlanWarning {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuznai/inception-engine",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Deploy AI agent skills from a git repo to user home directories",
5
5
  "license": "MIT",
6
6
  "author": "Damian Piątkowski",