@kuznai/inception-engine 0.5.0 → 0.6.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.
@@ -1,2 +1,2 @@
1
- import type { Manifest } from "../types.ts";
1
+ import type { Manifest } from "../schemas/manifest.ts";
2
2
  export declare function loadManifest(directory: string): Promise<Manifest>;
@@ -1,15 +1,24 @@
1
1
  import { readFile } from "node:fs/promises";
2
2
  import path from "node:path";
3
+ import { formatZodPath } from "../schemas/errors.js";
4
+ import { ManifestSchema } from "../schemas/manifest.js";
3
5
  import { UserError } from "../errors.js";
4
- import { AGENT_IDS } from "../types.js";
5
6
  export async function loadManifest(directory) {
6
7
  const manifestPath = path.join(directory, "inception.json");
7
8
  let raw;
8
9
  try {
9
10
  raw = await readFile(manifestPath, "utf-8");
10
11
  }
11
- catch {
12
- throw new UserError("MANIFEST_INVALID", `No inception.json found in ${directory}. Are you pointing to the right repo?`);
12
+ catch (err) {
13
+ const code = err.code;
14
+ if (code === "ENOENT") {
15
+ throw new UserError("MANIFEST_INVALID", `No inception.json found in ${directory}. Are you pointing to the right repo?`);
16
+ }
17
+ if (code === "EACCES" || code === "EPERM") {
18
+ throw new UserError("MANIFEST_INVALID", `Permission denied reading ${manifestPath}. Check file permissions.`);
19
+ }
20
+ const detail = err instanceof Error ? err.message : String(err);
21
+ throw new UserError("MANIFEST_INVALID", `Failed to read ${manifestPath}: ${detail}`);
13
22
  }
14
23
  let parsed;
15
24
  try {
@@ -21,52 +30,15 @@ export async function loadManifest(directory) {
21
30
  return validateManifest(parsed, manifestPath);
22
31
  }
23
32
  function validateManifest(data, filePath) {
24
- if (typeof data !== "object" || data === null || Array.isArray(data)) {
25
- throw new UserError("MANIFEST_INVALID", `${filePath}: manifest must be a JSON object`);
26
- }
27
- const obj = data;
28
- if (!Array.isArray(obj.skills)) {
29
- throw new UserError("MANIFEST_INVALID", `${filePath}: "skills" must be an array`);
30
- }
31
- const skills = obj.skills.map((entry, i) => validateSkillEntry(entry, i, filePath));
32
- return {
33
- skills,
34
- mcpServers: Array.isArray(obj.mcpServers) ? obj.mcpServers : [],
35
- agentRules: Array.isArray(obj.agentRules) ? obj.agentRules : [],
36
- };
37
- }
38
- const SAFE_NAME_RE = /^[a-zA-Z0-9][a-zA-Z0-9._-]*$/;
39
- function validateSkillEntry(entry, i, filePath) {
40
- if (typeof entry !== "object" || entry === null || Array.isArray(entry)) {
41
- throw new UserError("MANIFEST_INVALID", `${filePath}: skills[${i}] must be an object`);
42
- }
43
- const skill = entry;
44
- if (typeof skill.name !== "string" || skill.name.length === 0) {
45
- throw new UserError("MANIFEST_INVALID", `${filePath}: skills[${i}].name must be a non-empty string`);
46
- }
47
- if (!SAFE_NAME_RE.test(skill.name)) {
48
- throw new UserError("MANIFEST_INVALID", `${filePath}: skills[${i}].name must contain only letters, digits, hyphens, underscores, and dots, and must not start with a dot`);
49
- }
50
- if (typeof skill.path !== "string" || skill.path.length === 0) {
51
- throw new UserError("MANIFEST_INVALID", `${filePath}: skills[${i}].path must be a non-empty string`);
52
- }
53
- if (path.isAbsolute(skill.path)) {
54
- throw new UserError("MANIFEST_INVALID", `${filePath}: skills[${i}].path must be a relative path`);
55
- }
56
- if (path.normalize(skill.path).startsWith("..")) {
57
- throw new UserError("MANIFEST_INVALID", `${filePath}: skills[${i}].path must not escape the repository root`);
58
- }
59
- if (!Array.isArray(skill.agents) || skill.agents.length === 0) {
60
- throw new UserError("MANIFEST_INVALID", `${filePath}: skills[${i}].agents must be a non-empty array`);
61
- }
62
- for (const agent of skill.agents) {
63
- if (!AGENT_IDS.includes(agent)) {
64
- throw new UserError("MANIFEST_INVALID", `${filePath}: skills[${i}].agents contains unknown agent "${agent}". Valid agents: ${AGENT_IDS.join(", ")}`);
33
+ const result = ManifestSchema.safeParse(data);
34
+ if (!result.success) {
35
+ const issue = result.error.issues[0];
36
+ const issuePath = issue.path;
37
+ // Top-level "skills" key: missing or wrong type → uniform message
38
+ if (issuePath.length === 1 && issuePath[0] === "skills") {
39
+ throw new UserError("MANIFEST_INVALID", `${filePath}: "skills" must be an array`);
65
40
  }
41
+ throw new UserError("MANIFEST_INVALID", `${filePath}: ${formatZodPath(issuePath)}${issue.message}`);
66
42
  }
67
- return {
68
- name: skill.name,
69
- path: skill.path,
70
- agents: skill.agents,
71
- };
43
+ return result.data;
72
44
  }
@@ -5,6 +5,15 @@ import { UserError } from "../errors.js";
5
5
  import { logger } from "../logger.js";
6
6
  import { registerDeployment, verifyDeployment } from "./ownership.js";
7
7
  import { getDeployMethod, resolveAgentSkillPath } from "./resolve.js";
8
+ function sourceAccessError(err, sourcePath) {
9
+ const code = err.code;
10
+ if (code === "ENOENT")
11
+ return `Source not found: ${sourcePath}`;
12
+ if (code === "EACCES" || code === "EPERM")
13
+ return `Permission denied accessing source: ${sourcePath}`;
14
+ const detail = err instanceof Error ? err.message : String(err);
15
+ return `Failed to access source ${sourcePath}: ${detail}`;
16
+ }
8
17
  export async function planDeploy(manifest, sourceDir, detectedAgents, home) {
9
18
  const method = getDeployMethod();
10
19
  const actions = [];
@@ -45,8 +54,8 @@ export async function executeDeploy(actions, dryRun, verbose, home) {
45
54
  try {
46
55
  await access(action.source);
47
56
  }
48
- catch {
49
- const msg = `Source not found: ${action.source}`;
57
+ catch (err) {
58
+ const msg = sourceAccessError(err, action.source);
50
59
  failed.push({ action, error: msg });
51
60
  logger.fail(label, msg);
52
61
  continue;
@@ -1,11 +1,6 @@
1
+ import { type RegistryEntry } from "../schemas/registry.ts";
1
2
  import type { AgentId } from "../types.ts";
2
- export interface RegistryEntry {
3
- source: string;
4
- skill: string;
5
- agent: AgentId;
6
- method: "symlink" | "copy";
7
- deployed: string;
8
- }
3
+ export type { RegistryEntry } from "../schemas/registry.ts";
9
4
  export declare function registryPath(home: string): string;
10
5
  export declare function registerDeployment(home: string, targetPath: string, entry: Omit<RegistryEntry, "deployed">): Promise<void>;
11
6
  export declare function unregisterDeployment(home: string, targetPath: string): Promise<void>;
@@ -1,5 +1,6 @@
1
1
  import { chmod, mkdir, readFile, writeFile } from "node:fs/promises";
2
2
  import path from "node:path";
3
+ import { RegistrySchema, } from "../schemas/registry.js";
3
4
  const REGISTRY_DIR = ".inception-engine";
4
5
  const REGISTRY_FILE = "registry.json";
5
6
  export function registryPath(home) {
@@ -9,14 +10,8 @@ async function loadRegistry(home) {
9
10
  try {
10
11
  const content = await readFile(registryPath(home), "utf-8");
11
12
  const parsed = JSON.parse(content);
12
- if (parsed &&
13
- typeof parsed === "object" &&
14
- parsed.version === 1 &&
15
- parsed.deployments &&
16
- typeof parsed.deployments === "object") {
17
- return parsed;
18
- }
19
- return emptyRegistry();
13
+ const result = RegistrySchema.safeParse(parsed);
14
+ return result.success ? result.data : emptyRegistry();
20
15
  }
21
16
  catch {
22
17
  return emptyRegistry();
@@ -0,0 +1,6 @@
1
+ import type { CliOptions, Manifest } from "../types.ts";
2
+ export interface PreflightWarning {
3
+ kind: "policy" | "config-authority" | "info";
4
+ message: string;
5
+ }
6
+ export declare function runPreflight(_options: CliOptions, _manifest: Manifest, _home: string): Promise<PreflightWarning[]>;
@@ -0,0 +1,6 @@
1
+ export async function runPreflight(_options, _manifest, _home) {
2
+ // Extension point for future enterprise policy checks.
3
+ // Future additions: check for local-config overrides, policy files,
4
+ // agent version constraints, etc.
5
+ return [];
6
+ }
@@ -4,4 +4,8 @@ export declare function planRevertAll(manifest: Manifest, home: string): RevertA
4
4
  export declare function executeRevert(actions: RevertAction[], dryRun: boolean, verbose: boolean, home: string): Promise<{
5
5
  succeeded: number;
6
6
  skipped: number;
7
+ failed: Array<{
8
+ action: RevertAction;
9
+ error: string;
10
+ }>;
7
11
  }>;
@@ -31,19 +31,30 @@ export function planRevertAll(manifest, home) {
31
31
  }
32
32
  return actions;
33
33
  }
34
+ function lstatOutcome(err) {
35
+ if (err.code === "ENOENT") {
36
+ return { outcome: "skip" };
37
+ }
38
+ const msg = err instanceof Error ? err.message : String(err);
39
+ return { outcome: "fail", error: msg };
40
+ }
34
41
  export async function executeRevert(actions, dryRun, verbose, home) {
35
42
  let succeeded = 0;
36
43
  let skipped = 0;
44
+ const failed = [];
37
45
  for (const action of actions) {
38
46
  const result = await executeRevertAction(action, dryRun, verbose, home);
39
- if (result === "skip") {
47
+ if (result.outcome === "fail") {
48
+ failed.push({ action, error: result.error });
49
+ }
50
+ else if (result.outcome === "skip") {
40
51
  skipped++;
41
52
  }
42
53
  else {
43
54
  succeeded++;
44
55
  }
45
56
  }
46
- return { succeeded, skipped };
57
+ return { succeeded, skipped, failed };
47
58
  }
48
59
  async function executeRevertAction(action, dryRun, verbose, home) {
49
60
  const label = `${action.skill} -> ${action.agent}`;
@@ -51,21 +62,26 @@ async function executeRevertAction(action, dryRun, verbose, home) {
51
62
  try {
52
63
  stat = await lstat(action.target);
53
64
  }
54
- catch {
55
- logger.skip(label, "(not found, skipping)");
56
- return "skip";
65
+ catch (err) {
66
+ const result = lstatOutcome(err);
67
+ if (result.outcome === "skip") {
68
+ logger.skip(label, "(not found, skipping)");
69
+ return result;
70
+ }
71
+ logger.fail(label, result.error);
72
+ return result;
57
73
  }
58
74
  const entry = await lookupDeployment(home, action.target);
59
75
  if (!entry || entry.skill !== action.skill || entry.agent !== action.agent) {
60
76
  logger.warn(label, `skipping: ${action.target} is not in the deployment registry — not managed by inception-engine`);
61
- return "skip";
77
+ return { outcome: "skip" };
62
78
  }
63
79
  if (dryRun) {
64
80
  logger.plan(label);
65
81
  if (verbose) {
66
82
  logger.detail(`would remove: ${action.target}`);
67
83
  }
68
- return "ok";
84
+ return { outcome: "ok" };
69
85
  }
70
86
  try {
71
87
  if (stat.isSymbolicLink()) {
@@ -79,11 +95,11 @@ async function executeRevertAction(action, dryRun, verbose, home) {
79
95
  if (verbose) {
80
96
  logger.detail(`removed: ${action.target}`);
81
97
  }
82
- return "ok";
98
+ return { outcome: "ok" };
83
99
  }
84
100
  catch (err) {
85
101
  const msg = err instanceof Error ? err.message : String(err);
86
102
  logger.fail(label, msg);
87
- return "skip";
103
+ return { outcome: "fail", error: msg };
88
104
  }
89
105
  }
package/dist/index.js CHANGED
@@ -6,10 +6,11 @@ import { loadManifest } from "./config/manifest.js";
6
6
  import { executeDeploy, planDeploy } from "./core/deploy.js";
7
7
  import { detectInstalledAgents } from "./core/detect.js";
8
8
  import { resolveHome } from "./core/resolve.js";
9
+ import { runPreflight } from "./core/preflight.js";
9
10
  import { executeRevert, planRevert, planRevertAll } from "./core/revert.js";
10
11
  import { UserError } from "./errors.js";
11
12
  import { dryRunPrefix, logger } from "./logger.js";
12
- import { AGENT_IDS } from "./types.js";
13
+ import { AgentListSchema } from "./schemas/manifest.js";
13
14
  const USAGE = `
14
15
  inception-engine - Deploy AI agent skills
15
16
 
@@ -82,13 +83,11 @@ function parseCLI(argv) {
82
83
  }
83
84
  let agents = null;
84
85
  if (typeof values.agents === "string") {
85
- const ids = values.agents.split(",").map((s) => s.trim());
86
- for (const id of ids) {
87
- if (!AGENT_IDS.includes(id)) {
88
- throw new UserError("INVALID_ARGS", `Unknown agent: "${id}". Valid agents: ${AGENT_IDS.join(", ")}`);
89
- }
86
+ const r = AgentListSchema.safeParse(values.agents);
87
+ if (!r.success) {
88
+ throw new UserError("INVALID_ARGS", r.error.issues[0].message);
90
89
  }
91
- agents = ids;
90
+ agents = r.data;
92
91
  }
93
92
  return {
94
93
  command,
@@ -107,6 +106,10 @@ async function main() {
107
106
  }
108
107
  const manifest = await loadManifest(options.directory);
109
108
  const home = resolveHome();
109
+ const preflightWarnings = await runPreflight(options, manifest, home);
110
+ for (const w of preflightWarnings) {
111
+ logger.warn("preflight", w.message);
112
+ }
110
113
  if (options.command === "deploy") {
111
114
  return runDeploy(options, manifest, home);
112
115
  }
@@ -155,8 +158,16 @@ async function runRevert(options, manifest, home) {
155
158
  return 0;
156
159
  }
157
160
  logger.info(`${dryRunPrefix(options.dryRun)}Reverting ${actions.length} skill(s):`);
158
- const { succeeded, skipped } = await executeRevert(actions, options.dryRun, options.verbose, home);
161
+ const { succeeded, skipped, failed } = await executeRevert(actions, options.dryRun, options.verbose, home);
159
162
  logger.info("");
163
+ if (failed.length > 0) {
164
+ const parts = [`${succeeded} removed`];
165
+ if (skipped > 0)
166
+ parts.push(`${skipped} skipped`);
167
+ parts.push(`${failed.length} failed`);
168
+ logger.info(`${parts.join(", ")}${options.dryRun ? " (dry-run)" : ""}`);
169
+ return 1;
170
+ }
160
171
  const parts = [`${succeeded} removed`];
161
172
  if (skipped > 0)
162
173
  parts.push(`${skipped} skipped`);
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Shared helpers for mapping Zod parse errors to user-facing messages.
3
+ */
4
+ export declare function formatZodPath(path: (string | number)[]): string;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Shared helpers for mapping Zod parse errors to user-facing messages.
3
+ */
4
+ export function formatZodPath(path) {
5
+ if (path.length === 0)
6
+ return "";
7
+ return `${path
8
+ .map((seg, i) => {
9
+ if (typeof seg === "number")
10
+ return `[${seg}]`;
11
+ return i === 0 ? seg : `.${seg}`;
12
+ })
13
+ .join("")} `;
14
+ }
@@ -0,0 +1,50 @@
1
+ import { z } from "zod";
2
+ declare const AGENT_IDS: readonly ["claude-code", "codex", "gemini-cli", "antigravity", "opencode", "github-copilot"];
3
+ export { AGENT_IDS };
4
+ export declare const AgentIdSchema: z.ZodEnum<{
5
+ "claude-code": "claude-code";
6
+ codex: "codex";
7
+ "gemini-cli": "gemini-cli";
8
+ antigravity: "antigravity";
9
+ opencode: "opencode";
10
+ "github-copilot": "github-copilot";
11
+ }>;
12
+ export type AgentId = z.output<typeof AgentIdSchema>;
13
+ export declare const SkillEntrySchema: z.ZodObject<{
14
+ name: z.ZodString;
15
+ path: z.ZodString;
16
+ agents: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodEnum<{
17
+ "claude-code": "claude-code";
18
+ codex: "codex";
19
+ "gemini-cli": "gemini-cli";
20
+ antigravity: "antigravity";
21
+ opencode: "opencode";
22
+ "github-copilot": "github-copilot";
23
+ }>>>;
24
+ }, z.core.$strip>;
25
+ export declare const ManifestSchema: z.ZodObject<{
26
+ skills: z.ZodArray<z.ZodObject<{
27
+ name: z.ZodString;
28
+ path: z.ZodString;
29
+ agents: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodEnum<{
30
+ "claude-code": "claude-code";
31
+ codex: "codex";
32
+ "gemini-cli": "gemini-cli";
33
+ antigravity: "antigravity";
34
+ opencode: "opencode";
35
+ "github-copilot": "github-copilot";
36
+ }>>>;
37
+ }, z.core.$strip>>;
38
+ mcpServers: z.ZodCatch<z.ZodArray<z.ZodUnknown>>;
39
+ agentRules: z.ZodCatch<z.ZodArray<z.ZodUnknown>>;
40
+ }, z.core.$strip>;
41
+ export type SkillEntry = z.infer<typeof SkillEntrySchema>;
42
+ export type Manifest = z.infer<typeof ManifestSchema>;
43
+ export declare const AgentListSchema: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodEnum<{
44
+ "claude-code": "claude-code";
45
+ codex: "codex";
46
+ "gemini-cli": "gemini-cli";
47
+ antigravity: "antigravity";
48
+ opencode: "opencode";
49
+ "github-copilot": "github-copilot";
50
+ }>>>>;
@@ -0,0 +1,58 @@
1
+ import nodePath from "node:path";
2
+ import { z } from "zod";
3
+ const AGENT_IDS = [
4
+ "claude-code",
5
+ "codex",
6
+ "gemini-cli",
7
+ "antigravity",
8
+ "opencode",
9
+ "github-copilot",
10
+ ];
11
+ export { AGENT_IDS };
12
+ const SAFE_NAME_RE = /^[a-zA-Z0-9][a-zA-Z0-9._-]*$/;
13
+ // Standalone schema used for type derivation and single-ID validation (e.g. index.ts).
14
+ export const AgentIdSchema = z.enum(AGENT_IDS);
15
+ // Used inside SkillEntrySchema.agents so that enum failures embed the received
16
+ // value in the message (Zod 4's invalid_value issue omits the received value).
17
+ // The .pipe(AgentIdSchema) at the end provides the AgentId output type.
18
+ const agentIdElement = z
19
+ .string()
20
+ .superRefine((v, ctx) => {
21
+ if (!AGENT_IDS.includes(v)) {
22
+ ctx.addIssue({
23
+ code: "custom",
24
+ message: `unknown agent "${v}". Valid agents: ${AGENT_IDS.join(", ")}`,
25
+ });
26
+ }
27
+ })
28
+ .pipe(AgentIdSchema);
29
+ export const SkillEntrySchema = z.object({
30
+ name: z
31
+ .string({ message: "name must be a non-empty string" })
32
+ .min(1, { message: "name must be a non-empty string" })
33
+ .regex(SAFE_NAME_RE, {
34
+ message: "name must contain only letters, digits, hyphens, underscores, and dots, and must not start with a dot",
35
+ }),
36
+ path: z
37
+ .string({ message: "path must be a non-empty string" })
38
+ .min(1, { message: "path must be a non-empty string" })
39
+ .refine((p) => !nodePath.isAbsolute(p), {
40
+ message: "path must be a relative path",
41
+ })
42
+ .refine((p) => !nodePath.normalize(p).startsWith(".."), {
43
+ message: "path must not escape the repository root",
44
+ }),
45
+ agents: z
46
+ .array(agentIdElement, { message: "agents must be a non-empty array" })
47
+ .min(1, { message: "agents must be a non-empty array" }),
48
+ });
49
+ export const ManifestSchema = z.object({
50
+ skills: z.array(SkillEntrySchema),
51
+ mcpServers: z.array(z.unknown()).catch([]),
52
+ agentRules: z.array(z.unknown()).catch([]),
53
+ });
54
+ // Parses the --agents CLI flag: comma-separated agent IDs → AgentId[]
55
+ export const AgentListSchema = z
56
+ .string()
57
+ .transform((s) => s.split(",").map((id) => id.trim()))
58
+ .pipe(z.array(agentIdElement).min(1, { message: "agent list must not be empty" }));
@@ -0,0 +1,40 @@
1
+ import { z } from "zod";
2
+ export declare const RegistryEntrySchema: z.ZodObject<{
3
+ source: z.ZodString;
4
+ skill: z.ZodString;
5
+ agent: z.ZodEnum<{
6
+ "claude-code": "claude-code";
7
+ codex: "codex";
8
+ "gemini-cli": "gemini-cli";
9
+ antigravity: "antigravity";
10
+ opencode: "opencode";
11
+ "github-copilot": "github-copilot";
12
+ }>;
13
+ method: z.ZodEnum<{
14
+ symlink: "symlink";
15
+ copy: "copy";
16
+ }>;
17
+ deployed: z.ZodString;
18
+ }, z.core.$strip>;
19
+ export declare const RegistrySchema: z.ZodObject<{
20
+ version: z.ZodLiteral<1>;
21
+ deployments: z.ZodRecord<z.ZodString, z.ZodObject<{
22
+ source: z.ZodString;
23
+ skill: z.ZodString;
24
+ agent: z.ZodEnum<{
25
+ "claude-code": "claude-code";
26
+ codex: "codex";
27
+ "gemini-cli": "gemini-cli";
28
+ antigravity: "antigravity";
29
+ opencode: "opencode";
30
+ "github-copilot": "github-copilot";
31
+ }>;
32
+ method: z.ZodEnum<{
33
+ symlink: "symlink";
34
+ copy: "copy";
35
+ }>;
36
+ deployed: z.ZodString;
37
+ }, z.core.$strip>>;
38
+ }, z.core.$strip>;
39
+ export type RegistryEntry = z.infer<typeof RegistryEntrySchema>;
40
+ export type Registry = z.infer<typeof RegistrySchema>;
@@ -0,0 +1,13 @@
1
+ import { z } from "zod";
2
+ import { AgentIdSchema } from "./manifest.js";
3
+ export const RegistryEntrySchema = z.object({
4
+ source: z.string(),
5
+ skill: z.string(),
6
+ agent: AgentIdSchema,
7
+ method: z.enum(["symlink", "copy"]),
8
+ deployed: z.string(),
9
+ });
10
+ export const RegistrySchema = z.object({
11
+ version: z.literal(1),
12
+ deployments: z.record(z.string(), RegistryEntrySchema),
13
+ });
package/dist/types.d.ts CHANGED
@@ -1,15 +1,5 @@
1
- export type AgentId = "claude-code" | "codex" | "gemini-cli" | "antigravity" | "opencode" | "github-copilot";
2
- export declare const AGENT_IDS: readonly AgentId[];
3
- export interface SkillEntry {
4
- name: string;
5
- path: string;
6
- agents: AgentId[];
7
- }
8
- export interface Manifest {
9
- skills: SkillEntry[];
10
- mcpServers: unknown[];
11
- agentRules: unknown[];
12
- }
1
+ import type { AgentId } from "./schemas/manifest.ts";
2
+ export type { AgentId, Manifest, SkillEntry } from "./schemas/manifest.ts";
13
3
  export interface AgentPaths {
14
4
  posix: string[];
15
5
  windows: string[];
package/dist/types.js CHANGED
@@ -1,8 +1 @@
1
- export const AGENT_IDS = [
2
- "claude-code",
3
- "codex",
4
- "gemini-cli",
5
- "antigravity",
6
- "opencode",
7
- "github-copilot",
8
- ];
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuznai/inception-engine",
3
- "version": "0.5.0",
3
+ "version": "0.6.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",
@@ -42,6 +42,9 @@
42
42
  "test": "node --test test/*.test.ts",
43
43
  "prepublishOnly": "npm run typecheck && npm run lint && npm run build"
44
44
  },
45
+ "dependencies": {
46
+ "zod": "^4.0.0"
47
+ },
45
48
  "devDependencies": {
46
49
  "@biomejs/biome": "^2.4.8",
47
50
  "@types/node": "^25.5.0",