@kuznai/inception-engine 0.25.1 → 1.0.2
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 +68 -4
- package/dist/src/core/adapters/agent-definitions.d.ts +2 -1
- package/dist/src/core/adapters/agent-definitions.js +14 -5
- package/dist/src/core/adapters/execution-config.js +2 -4
- package/dist/src/core/adapters/index.d.ts +2 -1
- package/dist/src/core/adapters/index.js +3 -3
- package/dist/src/core/adapters/rules.d.ts +2 -1
- package/dist/src/core/adapters/rules.js +12 -5
- package/dist/src/core/concurrency.d.ts +5 -0
- package/dist/src/core/concurrency.js +19 -0
- package/dist/src/core/deploy.js +158 -100
- package/dist/src/core/init.d.ts +1 -0
- package/dist/src/core/init.js +79 -28
- package/dist/src/core/preflight.js +6 -4
- package/dist/src/core/revert.js +2 -4
- package/dist/src/core/validation.d.ts +31 -3
- package/dist/src/core/validation.js +64 -10
- package/dist/src/formatters.js +14 -11
- package/dist/src/schemas/manifest.d.ts +64 -64
- package/dist/src/schemas/manifest.js +1 -1
- package/dist/src/schemas/registry.d.ts +27 -27
- package/dist/src/types.d.ts +1 -1
- package/dist/test/unit/adapters.test.js +84 -83
- package/dist/test/unit/cli.test.js +57 -1
- package/dist/test/unit/deploy.test.js +253 -0
- package/dist/test/unit/formatters.test.js +4 -3
- package/dist/test/unit/gemini-north-star.test.js +9 -8
- package/dist/test/unit/init.test.d.ts +1 -0
- package/dist/test/unit/init.test.js +14 -0
- package/dist/test/unit/manifest.test.js +25 -0
- package/dist/test/unit/preflight.test.js +29 -0
- package/dist/test/unit/validation.test.d.ts +1 -0
- package/dist/test/unit/validation.test.js +102 -0
- package/package.json +7 -7
|
@@ -6,16 +6,16 @@ declare const SkillDirRegistryEntrySchema: z.ZodObject<{
|
|
|
6
6
|
source: z.ZodString;
|
|
7
7
|
skill: z.ZodString;
|
|
8
8
|
agent: z.ZodEnum<{
|
|
9
|
+
antigravity: "antigravity";
|
|
9
10
|
"claude-code": "claude-code";
|
|
10
11
|
codex: "codex";
|
|
11
12
|
"gemini-cli": "gemini-cli";
|
|
12
|
-
antigravity: "antigravity";
|
|
13
|
-
opencode: "opencode";
|
|
14
13
|
"github-copilot": "github-copilot";
|
|
14
|
+
opencode: "opencode";
|
|
15
15
|
}>;
|
|
16
16
|
method: z.ZodOptional<z.ZodEnum<{
|
|
17
|
-
symlink: "symlink";
|
|
18
17
|
copy: "copy";
|
|
18
|
+
symlink: "symlink";
|
|
19
19
|
}>>;
|
|
20
20
|
deployed: z.ZodString;
|
|
21
21
|
}, z.core.$strip>;
|
|
@@ -26,12 +26,12 @@ declare const FileWriteRegistryEntrySchema: z.ZodObject<{
|
|
|
26
26
|
source: z.ZodString;
|
|
27
27
|
skill: z.ZodString;
|
|
28
28
|
agent: z.ZodEnum<{
|
|
29
|
+
antigravity: "antigravity";
|
|
29
30
|
"claude-code": "claude-code";
|
|
30
31
|
codex: "codex";
|
|
31
32
|
"gemini-cli": "gemini-cli";
|
|
32
|
-
antigravity: "antigravity";
|
|
33
|
-
opencode: "opencode";
|
|
34
33
|
"github-copilot": "github-copilot";
|
|
34
|
+
opencode: "opencode";
|
|
35
35
|
}>;
|
|
36
36
|
deployed: z.ZodString;
|
|
37
37
|
}, z.core.$strip>;
|
|
@@ -43,12 +43,12 @@ declare const ConfigPatchRegistryEntrySchema: z.ZodObject<{
|
|
|
43
43
|
undoPatch: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
44
44
|
skill: z.ZodString;
|
|
45
45
|
agent: z.ZodEnum<{
|
|
46
|
+
antigravity: "antigravity";
|
|
46
47
|
"claude-code": "claude-code";
|
|
47
48
|
codex: "codex";
|
|
48
49
|
"gemini-cli": "gemini-cli";
|
|
49
|
-
antigravity: "antigravity";
|
|
50
|
-
opencode: "opencode";
|
|
51
50
|
"github-copilot": "github-copilot";
|
|
51
|
+
opencode: "opencode";
|
|
52
52
|
}>;
|
|
53
53
|
deployed: z.ZodString;
|
|
54
54
|
}, z.core.$strip>;
|
|
@@ -62,12 +62,12 @@ declare const FrontmatterEmitRegistryEntrySchema: z.ZodObject<{
|
|
|
62
62
|
hadFrontmatter: z.ZodOptional<z.ZodBoolean>;
|
|
63
63
|
skill: z.ZodString;
|
|
64
64
|
agent: z.ZodEnum<{
|
|
65
|
+
antigravity: "antigravity";
|
|
65
66
|
"claude-code": "claude-code";
|
|
66
67
|
codex: "codex";
|
|
67
68
|
"gemini-cli": "gemini-cli";
|
|
68
|
-
antigravity: "antigravity";
|
|
69
|
-
opencode: "opencode";
|
|
70
69
|
"github-copilot": "github-copilot";
|
|
70
|
+
opencode: "opencode";
|
|
71
71
|
}>;
|
|
72
72
|
deployed: z.ZodString;
|
|
73
73
|
}, z.core.$strip>;
|
|
@@ -78,16 +78,16 @@ export declare const RegistryEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
78
78
|
source: z.ZodString;
|
|
79
79
|
skill: z.ZodString;
|
|
80
80
|
agent: z.ZodEnum<{
|
|
81
|
+
antigravity: "antigravity";
|
|
81
82
|
"claude-code": "claude-code";
|
|
82
83
|
codex: "codex";
|
|
83
84
|
"gemini-cli": "gemini-cli";
|
|
84
|
-
antigravity: "antigravity";
|
|
85
|
-
opencode: "opencode";
|
|
86
85
|
"github-copilot": "github-copilot";
|
|
86
|
+
opencode: "opencode";
|
|
87
87
|
}>;
|
|
88
88
|
method: z.ZodOptional<z.ZodEnum<{
|
|
89
|
-
symlink: "symlink";
|
|
90
89
|
copy: "copy";
|
|
90
|
+
symlink: "symlink";
|
|
91
91
|
}>>;
|
|
92
92
|
deployed: z.ZodString;
|
|
93
93
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -97,12 +97,12 @@ export declare const RegistryEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
97
97
|
source: z.ZodString;
|
|
98
98
|
skill: z.ZodString;
|
|
99
99
|
agent: z.ZodEnum<{
|
|
100
|
+
antigravity: "antigravity";
|
|
100
101
|
"claude-code": "claude-code";
|
|
101
102
|
codex: "codex";
|
|
102
103
|
"gemini-cli": "gemini-cli";
|
|
103
|
-
antigravity: "antigravity";
|
|
104
|
-
opencode: "opencode";
|
|
105
104
|
"github-copilot": "github-copilot";
|
|
105
|
+
opencode: "opencode";
|
|
106
106
|
}>;
|
|
107
107
|
deployed: z.ZodString;
|
|
108
108
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -113,12 +113,12 @@ export declare const RegistryEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
113
113
|
undoPatch: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
114
114
|
skill: z.ZodString;
|
|
115
115
|
agent: z.ZodEnum<{
|
|
116
|
+
antigravity: "antigravity";
|
|
116
117
|
"claude-code": "claude-code";
|
|
117
118
|
codex: "codex";
|
|
118
119
|
"gemini-cli": "gemini-cli";
|
|
119
|
-
antigravity: "antigravity";
|
|
120
|
-
opencode: "opencode";
|
|
121
120
|
"github-copilot": "github-copilot";
|
|
121
|
+
opencode: "opencode";
|
|
122
122
|
}>;
|
|
123
123
|
deployed: z.ZodString;
|
|
124
124
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -131,12 +131,12 @@ export declare const RegistryEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
131
131
|
hadFrontmatter: z.ZodOptional<z.ZodBoolean>;
|
|
132
132
|
skill: z.ZodString;
|
|
133
133
|
agent: z.ZodEnum<{
|
|
134
|
+
antigravity: "antigravity";
|
|
134
135
|
"claude-code": "claude-code";
|
|
135
136
|
codex: "codex";
|
|
136
137
|
"gemini-cli": "gemini-cli";
|
|
137
|
-
antigravity: "antigravity";
|
|
138
|
-
opencode: "opencode";
|
|
139
138
|
"github-copilot": "github-copilot";
|
|
139
|
+
opencode: "opencode";
|
|
140
140
|
}>;
|
|
141
141
|
deployed: z.ZodString;
|
|
142
142
|
}, z.core.$strip>], "kind">;
|
|
@@ -149,16 +149,16 @@ export declare const RegistrySchema: z.ZodObject<{
|
|
|
149
149
|
source: z.ZodString;
|
|
150
150
|
skill: z.ZodString;
|
|
151
151
|
agent: z.ZodEnum<{
|
|
152
|
+
antigravity: "antigravity";
|
|
152
153
|
"claude-code": "claude-code";
|
|
153
154
|
codex: "codex";
|
|
154
155
|
"gemini-cli": "gemini-cli";
|
|
155
|
-
antigravity: "antigravity";
|
|
156
|
-
opencode: "opencode";
|
|
157
156
|
"github-copilot": "github-copilot";
|
|
157
|
+
opencode: "opencode";
|
|
158
158
|
}>;
|
|
159
159
|
method: z.ZodOptional<z.ZodEnum<{
|
|
160
|
-
symlink: "symlink";
|
|
161
160
|
copy: "copy";
|
|
161
|
+
symlink: "symlink";
|
|
162
162
|
}>>;
|
|
163
163
|
deployed: z.ZodString;
|
|
164
164
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -168,12 +168,12 @@ export declare const RegistrySchema: z.ZodObject<{
|
|
|
168
168
|
source: z.ZodString;
|
|
169
169
|
skill: z.ZodString;
|
|
170
170
|
agent: z.ZodEnum<{
|
|
171
|
+
antigravity: "antigravity";
|
|
171
172
|
"claude-code": "claude-code";
|
|
172
173
|
codex: "codex";
|
|
173
174
|
"gemini-cli": "gemini-cli";
|
|
174
|
-
antigravity: "antigravity";
|
|
175
|
-
opencode: "opencode";
|
|
176
175
|
"github-copilot": "github-copilot";
|
|
176
|
+
opencode: "opencode";
|
|
177
177
|
}>;
|
|
178
178
|
deployed: z.ZodString;
|
|
179
179
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -184,12 +184,12 @@ export declare const RegistrySchema: z.ZodObject<{
|
|
|
184
184
|
undoPatch: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
185
185
|
skill: z.ZodString;
|
|
186
186
|
agent: z.ZodEnum<{
|
|
187
|
+
antigravity: "antigravity";
|
|
187
188
|
"claude-code": "claude-code";
|
|
188
189
|
codex: "codex";
|
|
189
190
|
"gemini-cli": "gemini-cli";
|
|
190
|
-
antigravity: "antigravity";
|
|
191
|
-
opencode: "opencode";
|
|
192
191
|
"github-copilot": "github-copilot";
|
|
192
|
+
opencode: "opencode";
|
|
193
193
|
}>;
|
|
194
194
|
deployed: z.ZodString;
|
|
195
195
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -202,12 +202,12 @@ export declare const RegistrySchema: z.ZodObject<{
|
|
|
202
202
|
hadFrontmatter: z.ZodOptional<z.ZodBoolean>;
|
|
203
203
|
skill: z.ZodString;
|
|
204
204
|
agent: z.ZodEnum<{
|
|
205
|
+
antigravity: "antigravity";
|
|
205
206
|
"claude-code": "claude-code";
|
|
206
207
|
codex: "codex";
|
|
207
208
|
"gemini-cli": "gemini-cli";
|
|
208
|
-
antigravity: "antigravity";
|
|
209
|
-
opencode: "opencode";
|
|
210
209
|
"github-copilot": "github-copilot";
|
|
210
|
+
opencode: "opencode";
|
|
211
211
|
}>;
|
|
212
212
|
deployed: z.ZodString;
|
|
213
213
|
}, z.core.$strip>], "kind">>;
|
package/dist/src/types.d.ts
CHANGED
|
@@ -120,7 +120,7 @@ export interface AgentConfig {
|
|
|
120
120
|
unsupportedSurfaces?: AgentSurfaceSupport[];
|
|
121
121
|
/**
|
|
122
122
|
* When true, instruction files deployed to this agent must include valid
|
|
123
|
-
* YAML frontmatter. Drives
|
|
123
|
+
* YAML frontmatter. Drives instructionRequiresFrontmatter without
|
|
124
124
|
* hardcoded agent-ID checks.
|
|
125
125
|
*/
|
|
126
126
|
instructionFrontmatterRequired?: boolean;
|