@kuznai/inception-engine 0.15.0 → 0.17.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/README.md +127 -3
- package/dist/config/agents.js +97 -8
- package/dist/config/manifest.js +2 -0
- package/dist/core/adapters/agent-definitions.d.ts +20 -0
- package/dist/core/adapters/agent-definitions.js +90 -0
- package/dist/core/adapters/index.d.ts +5 -3
- package/dist/core/adapters/index.js +14 -2
- package/dist/core/adapters/mcp.js +10 -1
- package/dist/core/adapters/permissions.d.ts +8 -0
- package/dist/core/adapters/permissions.js +90 -0
- package/dist/core/adapters/rules.js +10 -1
- package/dist/core/deploy.js +5 -3
- package/dist/core/init.js +282 -20
- package/dist/core/resolve.js +4 -0
- package/dist/core/revert.js +7 -1
- package/dist/core/validation.d.ts +1 -0
- package/dist/core/validation.js +45 -0
- package/dist/schemas/manifest.d.ts +50 -0
- package/dist/schemas/manifest.js +18 -0
- package/dist/types.d.ts +28 -4
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AgentId } from "./schemas/manifest.ts";
|
|
2
|
-
export type { AgentId, ConfigEntry, FileEntry, Manifest, SkillEntry, } from "./schemas/manifest.ts";
|
|
2
|
+
export type { AgentDefinitionEntry, AgentId, ConfigEntry, FileEntry, Manifest, SkillEntry, } from "./schemas/manifest.ts";
|
|
3
3
|
export interface AgentPaths {
|
|
4
4
|
posix: string[];
|
|
5
5
|
windows: string[];
|
|
@@ -16,23 +16,47 @@ export interface UnsupportedAgentSurface {
|
|
|
16
16
|
schemaLabel: string;
|
|
17
17
|
reason: string;
|
|
18
18
|
}
|
|
19
|
-
|
|
19
|
+
/**
|
|
20
|
+
* A surface that is confirmed as Copilot-specific and genuinely justified for
|
|
21
|
+
* future dedicated implementation, but not yet supported. Distinct from
|
|
22
|
+
* "unsupported" (which means the surface is either covered by another target or
|
|
23
|
+
* will never be added) so adapters can emit a forward-looking "planned" notice
|
|
24
|
+
* rather than a blocking skip warning.
|
|
25
|
+
*/
|
|
26
|
+
export interface PlannedAgentSurface {
|
|
27
|
+
status: "planned";
|
|
28
|
+
schemaLabel: string;
|
|
29
|
+
/** Short description of the concrete file / config surface to be implemented. */
|
|
30
|
+
plannedSurface: string;
|
|
31
|
+
reason: string;
|
|
32
|
+
}
|
|
33
|
+
export type AgentSurfaceSupport = SupportedAgentSurface | UnsupportedAgentSurface | PlannedAgentSurface;
|
|
20
34
|
export interface AgentProvenance {
|
|
21
|
-
|
|
35
|
+
/** Omit when the agent has no separate skill deployment path. */
|
|
36
|
+
skills?: Confidence;
|
|
22
37
|
detectPaths: Confidence;
|
|
23
38
|
detectBinary: Confidence;
|
|
24
39
|
mcpConfig?: Confidence;
|
|
25
40
|
agentRules?: Confidence;
|
|
41
|
+
permissions?: Confidence;
|
|
42
|
+
agentDefinitions?: Confidence;
|
|
26
43
|
}
|
|
27
44
|
export interface AgentConfig {
|
|
28
45
|
id: AgentId;
|
|
29
46
|
displayName: string;
|
|
30
|
-
|
|
47
|
+
/**
|
|
48
|
+
* The on-disk path template for deploying skills to this agent.
|
|
49
|
+
* Omit for agents that consume skills from another agent's path natively
|
|
50
|
+
* (e.g. GitHub Copilot reads `.claude/skills/` directly).
|
|
51
|
+
*/
|
|
52
|
+
skills?: AgentPaths;
|
|
31
53
|
detectPaths: AgentPaths;
|
|
32
54
|
detectBinary: string | null;
|
|
33
55
|
provenance: AgentProvenance;
|
|
34
56
|
mcpSupport?: AgentSurfaceSupport;
|
|
35
57
|
agentRulesSupport?: AgentSurfaceSupport;
|
|
58
|
+
permissionsSupport?: AgentSurfaceSupport;
|
|
59
|
+
agentDefinitionsSupport?: AgentSurfaceSupport;
|
|
36
60
|
policyNote?: string;
|
|
37
61
|
}
|
|
38
62
|
export interface PlanWarning {
|