@kuznai/inception-engine 0.12.0 → 0.14.0

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/types.d.ts CHANGED
@@ -9,6 +9,7 @@ export interface SupportedAgentSurface {
9
9
  status: "supported";
10
10
  path: AgentPaths;
11
11
  schemaLabel: string;
12
+ mcpPatchKey?: string;
12
13
  }
13
14
  export interface UnsupportedAgentSurface {
14
15
  status: "unsupported";
@@ -63,7 +64,23 @@ export interface ConfigPatchDeployAction {
63
64
  patch: unknown;
64
65
  confidence?: Confidence;
65
66
  }
66
- export type DeployAction = SkillDirDeployAction | FileWriteDeployAction | ConfigPatchDeployAction;
67
+ export interface TomlPatchDeployAction {
68
+ kind: "toml-patch";
69
+ skill: string;
70
+ agent: AgentId;
71
+ target: string;
72
+ config: Record<string, unknown>;
73
+ confidence?: Confidence;
74
+ }
75
+ export interface FrontmatterEmitDeployAction {
76
+ kind: "frontmatter-emit";
77
+ skill: string;
78
+ agent: AgentId;
79
+ target: string;
80
+ frontmatter: Record<string, unknown>;
81
+ confidence?: Confidence;
82
+ }
83
+ export type DeployAction = SkillDirDeployAction | FileWriteDeployAction | ConfigPatchDeployAction | TomlPatchDeployAction | FrontmatterEmitDeployAction;
67
84
  export interface SkillDirRevertAction {
68
85
  kind: "skill-dir";
69
86
  skill: string;
@@ -82,17 +99,30 @@ export interface ConfigPatchRevertAction {
82
99
  agent: AgentId;
83
100
  target: string;
84
101
  }
85
- export type RevertAction = SkillDirRevertAction | FileWriteRevertAction | ConfigPatchRevertAction;
86
- export type PlannedChangeVerb = "create-symlink" | "copy-dir" | "write-file" | "patch-config" | "remove" | "unapply-patch";
102
+ export interface TomlPatchRevertAction {
103
+ kind: "toml-patch";
104
+ skill: string;
105
+ agent: AgentId;
106
+ target: string;
107
+ }
108
+ export interface FrontmatterEmitRevertAction {
109
+ kind: "frontmatter-emit";
110
+ skill: string;
111
+ agent: AgentId;
112
+ target: string;
113
+ }
114
+ export type RevertAction = SkillDirRevertAction | FileWriteRevertAction | ConfigPatchRevertAction | TomlPatchRevertAction | FrontmatterEmitRevertAction;
115
+ export type PlannedChangeVerb = "create-symlink" | "copy-dir" | "write-file" | "patch-config" | "patch-toml" | "emit-frontmatter" | "remove" | "unapply-patch";
87
116
  export interface PlannedChange {
88
117
  verb: PlannedChangeVerb;
89
- kind: "skill-dir" | "file-write" | "config-patch";
118
+ kind: "skill-dir" | "file-write" | "config-patch" | "toml-patch" | "frontmatter-emit";
90
119
  skill: string;
91
120
  agent: AgentId;
92
121
  source?: string;
93
122
  target: string;
94
123
  method?: "symlink" | "copy";
95
124
  patch?: Record<string, unknown>;
125
+ frontmatter?: Record<string, unknown>;
96
126
  confidence?: Confidence;
97
127
  }
98
128
  export interface CliOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuznai/inception-engine",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
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",
@@ -47,6 +47,8 @@
47
47
  "test:posix": "node --test --test-isolation=none test/unit/*.test.ts test/os/cross-platform/*.test.ts test/os/posix/*.test.ts"
48
48
  },
49
49
  "dependencies": {
50
+ "front-matter": "^4.0.2",
51
+ "smol-toml": "^1.6.1",
50
52
  "zod": "^4.0.0"
51
53
  },
52
54
  "devDependencies": {