@orchid-labs/pluxx 0.1.14 → 0.1.16
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/agent-translation-registry.d.ts +6 -0
- package/dist/agent-translation-registry.d.ts.map +1 -0
- package/dist/claude-hook-probe.d.ts +70 -0
- package/dist/claude-hook-probe.d.ts.map +1 -0
- package/dist/cli/agent.d.ts.map +1 -1
- package/dist/cli/behavioral.d.ts +3 -0
- package/dist/cli/behavioral.d.ts.map +1 -1
- package/dist/cli/discover-installed-mcp.d.ts +3 -1
- package/dist/cli/discover-installed-mcp.d.ts.map +1 -1
- package/dist/cli/doctor.d.ts +4 -1
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/index.js +8963 -6139
- package/dist/cli/init-from-mcp.d.ts +2 -0
- package/dist/cli/init-from-mcp.d.ts.map +1 -1
- package/dist/cli/install.d.ts +1 -0
- package/dist/cli/install.d.ts.map +1 -1
- package/dist/cli/lint.d.ts.map +1 -1
- package/dist/cli/migrate.d.ts.map +1 -1
- package/dist/cli/verify-install.d.ts +7 -0
- package/dist/cli/verify-install.d.ts.map +1 -1
- package/dist/codex-agent-probe-shared.d.ts +26 -0
- package/dist/codex-agent-probe-shared.d.ts.map +1 -0
- package/dist/codex-agent-probe.d.ts +82 -0
- package/dist/codex-agent-probe.d.ts.map +1 -0
- package/dist/codex-exec-runner.d.ts +21 -0
- package/dist/codex-exec-runner.d.ts.map +1 -0
- package/dist/codex-hook-probe.d.ts +41 -0
- package/dist/codex-hook-probe.d.ts.map +1 -0
- package/dist/codex-hooks-feature.d.ts +10 -0
- package/dist/codex-hooks-feature.d.ts.map +1 -0
- package/dist/codex-interactive-agent-probe.d.ts +62 -0
- package/dist/codex-interactive-agent-probe.d.ts.map +1 -0
- package/dist/codex-interactive-hook-probe.d.ts +90 -0
- package/dist/codex-interactive-hook-probe.d.ts.map +1 -0
- package/dist/codex-interactive-probe-shared.d.ts +4 -0
- package/dist/codex-interactive-probe-shared.d.ts.map +1 -0
- package/dist/codex-mcp-probe.d.ts +77 -0
- package/dist/codex-mcp-probe.d.ts.map +1 -0
- package/dist/codex-permissions-companion.d.ts +19 -0
- package/dist/codex-permissions-companion.d.ts.map +1 -0
- package/dist/codex-probe-shared.d.ts +3 -0
- package/dist/codex-probe-shared.d.ts.map +1 -0
- package/dist/command-translation-registry.d.ts +9 -0
- package/dist/command-translation-registry.d.ts.map +1 -0
- package/dist/commands.d.ts +20 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/compiler-intent.d.ts +6 -6
- package/dist/generators/base.d.ts.map +1 -1
- package/dist/generators/claude-code/index.d.ts.map +1 -1
- package/dist/generators/codex/index.d.ts +2 -0
- package/dist/generators/codex/index.d.ts.map +1 -1
- package/dist/generators/cursor/index.d.ts.map +1 -1
- package/dist/generators/opencode/index.d.ts +1 -0
- package/dist/generators/opencode/index.d.ts.map +1 -1
- package/dist/generators/shared/claude-family.d.ts.map +1 -1
- package/dist/hook-translation-registry.d.ts +10 -0
- package/dist/hook-translation-registry.d.ts.map +1 -1
- package/dist/index.js +896 -29
- package/dist/mcp-native-overrides.d.ts +14 -0
- package/dist/mcp-native-overrides.d.ts.map +1 -0
- package/dist/schema.d.ts +36 -36
- package/dist/skill-translation-registry.d.ts +8 -0
- package/dist/skill-translation-registry.d.ts.map +1 -0
- package/dist/skills.d.ts +24 -0
- package/dist/skills.d.ts.map +1 -1
- package/dist/toml-lite.d.ts +5 -0
- package/dist/toml-lite.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CanonicalCommandMetadata } from './commands';
|
|
2
|
+
type CommandTranslationPlatform = 'codex';
|
|
3
|
+
export declare const CODEX_COMMAND_GUIDANCE_SURFACES: readonly ["skills/", "AGENTS.md", ".codex/commands.generated.json"];
|
|
4
|
+
export declare function getCodexCommandGuidanceNote(): string;
|
|
5
|
+
export declare function getTranslatedCommandFields(platform: CommandTranslationPlatform, metadata: CanonicalCommandMetadata): string[];
|
|
6
|
+
export declare function getCommandTranslationMessage(platform: CommandTranslationPlatform, degradedFields: string[]): string | undefined;
|
|
7
|
+
export declare function buildCodexCommandRoutingEntry(metadata: CanonicalCommandMetadata): string[];
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=command-translation-registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-translation-registry.d.ts","sourceRoot":"","sources":["../src/command-translation-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAA;AAE1D,KAAK,0BAA0B,GAAG,OAAO,CAAA;AAoBzC,eAAO,MAAM,+BAA+B,qEAAsE,CAAA;AAElH,wBAAgB,2BAA2B,IAAI,MAAM,CAEpD;AAED,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,0BAA0B,EACpC,QAAQ,EAAE,wBAAwB,GACjC,MAAM,EAAE,CAKV;AAED,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,0BAA0B,EACpC,cAAc,EAAE,MAAM,EAAE,GACvB,MAAM,GAAG,SAAS,CAQpB;AAED,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,wBAAwB,GAAG,MAAM,EAAE,CA2B1F"}
|
package/dist/commands.d.ts
CHANGED
|
@@ -1,23 +1,43 @@
|
|
|
1
|
+
export interface CommandFrontmatterField {
|
|
2
|
+
key: string;
|
|
3
|
+
value: string;
|
|
4
|
+
rawValue: string;
|
|
5
|
+
quoted: boolean;
|
|
6
|
+
}
|
|
1
7
|
export interface ParsedCommandMarkdownFile {
|
|
2
8
|
filePath: string;
|
|
3
9
|
relativeStem: string;
|
|
4
10
|
commandId: string;
|
|
11
|
+
frontmatterLines: string[];
|
|
12
|
+
frontmatterFields: Map<string, CommandFrontmatterField>;
|
|
5
13
|
title: string;
|
|
6
14
|
description?: string;
|
|
15
|
+
whenToUse?: string;
|
|
7
16
|
argumentHint?: string;
|
|
17
|
+
arguments: string[];
|
|
18
|
+
examples: string[];
|
|
19
|
+
skill?: string;
|
|
20
|
+
skills: string[];
|
|
8
21
|
agent?: string;
|
|
9
22
|
subtask?: boolean;
|
|
10
23
|
model?: string;
|
|
24
|
+
context?: string;
|
|
11
25
|
body: string;
|
|
12
26
|
}
|
|
13
27
|
export interface CanonicalCommandMetadata {
|
|
14
28
|
commandId: string;
|
|
15
29
|
title: string;
|
|
16
30
|
description?: string;
|
|
31
|
+
whenToUse?: string;
|
|
17
32
|
argumentHint?: string;
|
|
33
|
+
arguments: string[];
|
|
34
|
+
examples: string[];
|
|
35
|
+
skill?: string;
|
|
36
|
+
skills: string[];
|
|
18
37
|
agent?: string;
|
|
19
38
|
subtask?: boolean;
|
|
20
39
|
model?: string;
|
|
40
|
+
context?: string;
|
|
21
41
|
template: string;
|
|
22
42
|
}
|
|
23
43
|
export declare function readCanonicalCommandFiles(commandsDir: string | undefined): ParsedCommandMarkdownFile[];
|
package/dist/commands.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,C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AE,MAAM,CAAA;IACrB,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAyLD,wBAAgB,yBAAyB,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,yBAAyB,EAAE,CA8CtG;AAED,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,yBAAyB,GAAG,wBAAwB,CAiBxG"}
|
|
@@ -43,11 +43,11 @@ export declare const CompilerIntentSkillPolicySchema: z.ZodObject<{
|
|
|
43
43
|
ask?: string[] | undefined;
|
|
44
44
|
deny?: string[] | undefined;
|
|
45
45
|
};
|
|
46
|
-
skillDir: string;
|
|
47
46
|
source: {
|
|
48
47
|
kind: "claude-allowed-tools";
|
|
49
48
|
platform: "claude-code";
|
|
50
49
|
};
|
|
50
|
+
skillDir: string;
|
|
51
51
|
description?: string | undefined;
|
|
52
52
|
sourceFrontmatter?: Record<string, unknown> | undefined;
|
|
53
53
|
}, {
|
|
@@ -57,11 +57,11 @@ export declare const CompilerIntentSkillPolicySchema: z.ZodObject<{
|
|
|
57
57
|
ask?: string[] | undefined;
|
|
58
58
|
deny?: string[] | undefined;
|
|
59
59
|
};
|
|
60
|
-
skillDir: string;
|
|
61
60
|
source: {
|
|
62
61
|
kind: "claude-allowed-tools";
|
|
63
62
|
platform?: "claude-code" | undefined;
|
|
64
63
|
};
|
|
64
|
+
skillDir: string;
|
|
65
65
|
description?: string | undefined;
|
|
66
66
|
sourceFrontmatter?: Record<string, unknown> | undefined;
|
|
67
67
|
}>;
|
|
@@ -110,11 +110,11 @@ export declare const CompilerIntentSchema: z.ZodObject<{
|
|
|
110
110
|
ask?: string[] | undefined;
|
|
111
111
|
deny?: string[] | undefined;
|
|
112
112
|
};
|
|
113
|
-
skillDir: string;
|
|
114
113
|
source: {
|
|
115
114
|
kind: "claude-allowed-tools";
|
|
116
115
|
platform: "claude-code";
|
|
117
116
|
};
|
|
117
|
+
skillDir: string;
|
|
118
118
|
description?: string | undefined;
|
|
119
119
|
sourceFrontmatter?: Record<string, unknown> | undefined;
|
|
120
120
|
}, {
|
|
@@ -124,11 +124,11 @@ export declare const CompilerIntentSchema: z.ZodObject<{
|
|
|
124
124
|
ask?: string[] | undefined;
|
|
125
125
|
deny?: string[] | undefined;
|
|
126
126
|
};
|
|
127
|
-
skillDir: string;
|
|
128
127
|
source: {
|
|
129
128
|
kind: "claude-allowed-tools";
|
|
130
129
|
platform?: "claude-code" | undefined;
|
|
131
130
|
};
|
|
131
|
+
skillDir: string;
|
|
132
132
|
description?: string | undefined;
|
|
133
133
|
sourceFrontmatter?: Record<string, unknown> | undefined;
|
|
134
134
|
}>, "many">>;
|
|
@@ -141,11 +141,11 @@ export declare const CompilerIntentSchema: z.ZodObject<{
|
|
|
141
141
|
ask?: string[] | undefined;
|
|
142
142
|
deny?: string[] | undefined;
|
|
143
143
|
};
|
|
144
|
-
skillDir: string;
|
|
145
144
|
source: {
|
|
146
145
|
kind: "claude-allowed-tools";
|
|
147
146
|
platform: "claude-code";
|
|
148
147
|
};
|
|
148
|
+
skillDir: string;
|
|
149
149
|
description?: string | undefined;
|
|
150
150
|
sourceFrontmatter?: Record<string, unknown> | undefined;
|
|
151
151
|
}[];
|
|
@@ -158,11 +158,11 @@ export declare const CompilerIntentSchema: z.ZodObject<{
|
|
|
158
158
|
ask?: string[] | undefined;
|
|
159
159
|
deny?: string[] | undefined;
|
|
160
160
|
};
|
|
161
|
-
skillDir: string;
|
|
162
161
|
source: {
|
|
163
162
|
kind: "claude-allowed-tools";
|
|
164
163
|
platform?: "claude-code" | undefined;
|
|
165
164
|
};
|
|
165
|
+
skillDir: string;
|
|
166
166
|
description?: string | undefined;
|
|
167
167
|
sourceFrontmatter?: Record<string, unknown> | undefined;
|
|
168
168
|
}[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/generators/base.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACxE,OAAO,EAAsB,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/generators/base.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACxE,OAAO,EAAsB,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAKhF,KAAK,eAAe,GAAG,OAAO,CAAC,SAAS,EAAE;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,CAAC,CAAA;AAEjE,UAAU,gBAAgB;IACxB,yBAAyB,CAAC,EAAE,OAAO,CAAA;IACnC,oBAAoB,CAAC,EAAE,CAAC,OAAO,EAAE;QAC/B,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,eAAe,CAAA;QACvB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAC/B,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC9B;AAED,8BAAsB,SAAS;IAI3B,SAAS,CAAC,MAAM,EAAE,YAAY;IAC9B,SAAS,CAAC,OAAO,EAAE,MAAM;IAJ3B,QAAQ,CAAC,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAA;gBAG9B,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,MAAM;IAG3B,6CAA6C;IAC7C,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,2CAA2C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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generators/claude-code/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generators/claude-code/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAQlD,qBAAa,mBAAoB,SAAQ,SAAS;IAChD,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAgB;IAE3C,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAwB/B,SAAS,CAAC,UAAU,IAAI,IAAI;IAoC5B,SAAS,CAAC,UAAU,IAAI,IAAI;IAyE5B,OAAO,CAAC,sBAAsB;IAoB9B,OAAO,CAAC,2BAA2B;CAqBpC"}
|
|
@@ -10,7 +10,9 @@ export declare class CodexGenerator extends Generator {
|
|
|
10
10
|
private generateNativeAgents;
|
|
11
11
|
private generateHooksCompanion;
|
|
12
12
|
private generateReadinessCompanion;
|
|
13
|
+
private buildCodexCommandHookGroup;
|
|
13
14
|
private generateCommandsCompanion;
|
|
15
|
+
private generateSkillsCompanion;
|
|
14
16
|
private buildCodexCommandRoutingSection;
|
|
15
17
|
}
|
|
16
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generators/codex/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generators/codex/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AA+ClD,qBAAa,cAAe,SAAQ,SAAS;IAC3C,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAU;IAErC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;YA0DjB,gBAAgB;YAoEhB,iBAAiB;YAOjB,4BAA4B;YAyB5B,gBAAgB;YAiBhB,oBAAoB;YAuDpB,sBAAsB;YAqGtB,0BAA0B;IAkCxC,OAAO,CAAC,0BAA0B;YAkBpB,yBAAyB;YAiCzB,uBAAuB;IAqCrC,OAAO,CAAC,+BAA+B;CAiBxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generators/cursor/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generators/cursor/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAgBlD,qBAAa,eAAgB,SAAQ,SAAS;IAC5C,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAW;IAEtC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;YAiBjB,gBAAgB;YAwBhB,aAAa;YAqHb,aAAa;YAkCb,gBAAgB;YAMhB,cAAc;CAiC7B"}
|
|
@@ -5,6 +5,7 @@ export declare class OpenCodeGenerator extends Generator {
|
|
|
5
5
|
generate(): Promise<void>;
|
|
6
6
|
private generatePackageJson;
|
|
7
7
|
private generatePluginWrapper;
|
|
8
|
+
private generateSkillsCompanion;
|
|
8
9
|
private generateReadinessRuntime;
|
|
9
10
|
private getRequiredEnvVars;
|
|
10
11
|
private getOpenCodeMcpDefinitions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generators/opencode/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACnC,OAAO,KAAK,EAAa,cAAc,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generators/opencode/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACnC,OAAO,KAAK,EAAa,cAAc,EAAE,MAAM,cAAc,CAAA;AA8C7D,qBAAa,iBAAkB,SAAQ,SAAS;IAC9C,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAa;IAExC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;YAiBjB,mBAAmB;YAwBnB,qBAAqB;YAqSrB,uBAAuB;YAqCvB,wBAAwB;IAKtC,OAAO,CAAC,kBAAkB;IAY1B,OAAO,CAAC,yBAAyB;IAqBjC,OAAO,CAAC,6BAA6B;IAsDrC,OAAO,CAAC,2BAA2B;IA4DnC,OAAO,CAAC,sBAAsB;IAI9B,OAAO,CAAC,mBAAmB;IA+D3B,OAAO,CAAC,SAAS;IAiBjB,OAAO,CAAC,iCAAiC;CA0B1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude-family.d.ts","sourceRoot":"","sources":["../../../src/generators/shared/claude-family.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAa,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"claude-family.d.ts","sourceRoot":"","sources":["../../../src/generators/shared/claude-family.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAa,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAa3E,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,CAAA;IACpB,gBAAgB,EAAE,MAAM,CAAA;IACxB,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IACxC,4BAA4B,CAAC,EAAE,OAAO,CAAA;IACtC,kBAAkB,CAAC,EAAE,WAAW,GAAG,OAAO,GAAG,MAAM,CAAA;CACpD;AAED,wBAAsB,2BAA2B,CAAC,IAAI,EAAE;IACtD,MAAM,EAAE,YAAY,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,cAAc,CAAA;IACxB,OAAO,EAAE,mBAAmB,CAAA;IAC5B,SAAS,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACjE,SAAS,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CACpE,GAAG,OAAO,CAAC,IAAI,CAAC,CAgBhB"}
|
|
@@ -1,15 +1,25 @@
|
|
|
1
1
|
import type { TargetPlatform } from './schema';
|
|
2
2
|
export type HookFieldName = 'prompt' | 'matcher' | 'failClosed' | 'loop_limit';
|
|
3
|
+
export type HookEntryType = 'command' | 'http' | 'mcp_tool' | 'prompt' | 'agent';
|
|
3
4
|
export type HookFieldTranslationMode = 'preserve' | 'drop';
|
|
5
|
+
interface HookTranslationIssueDescriptor {
|
|
6
|
+
code: string;
|
|
7
|
+
message: string;
|
|
8
|
+
}
|
|
4
9
|
interface HookFieldCapability {
|
|
5
10
|
mode: HookFieldTranslationMode;
|
|
6
11
|
supportedEvents?: readonly string[];
|
|
7
12
|
}
|
|
8
13
|
export declare function getSupportedHookEvents(platform: TargetPlatform): readonly string[];
|
|
14
|
+
export declare function getSupportedHookTypes(platform: TargetPlatform): readonly HookEntryType[];
|
|
9
15
|
export declare function getUnsupportedHookEventReason(platform: TargetPlatform): string | null;
|
|
10
16
|
export declare function isHookEventSupported(platform: TargetPlatform, event: string): boolean;
|
|
17
|
+
export declare function isHookTypeSupported(platform: TargetPlatform, type: HookEntryType): boolean;
|
|
11
18
|
export declare function getHookFieldCapability(platform: TargetPlatform, field: HookFieldName): HookFieldCapability;
|
|
12
19
|
export declare function isHookFieldPreserved(platform: TargetPlatform, field: HookFieldName, event?: string): boolean;
|
|
13
20
|
export declare function getHookFieldSupportedEvents(platform: TargetPlatform, field: HookFieldName): readonly string[];
|
|
21
|
+
export declare function getHookTypeTranslationIssue(platform: TargetPlatform, type: Exclude<HookEntryType, 'command'>): HookTranslationIssueDescriptor | null;
|
|
22
|
+
export declare function getPromptHookTranslationIssue(platform: TargetPlatform, event?: string): HookTranslationIssueDescriptor | null;
|
|
23
|
+
export declare function getHookFieldTranslationIssue(platform: TargetPlatform, field: Extract<HookFieldName, 'failClosed' | 'loop_limit'>): HookTranslationIssueDescriptor | null;
|
|
14
24
|
export {};
|
|
15
25
|
//# sourceMappingURL=hook-translation-registry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hook-translation-registry.d.ts","sourceRoot":"","sources":["../src/hook-translation-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"hook-translation-registry.d.ts","sourceRoot":"","sources":["../src/hook-translation-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAG9C,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,SAAS,GAAG,YAAY,GAAG,YAAY,CAAA;AAC9E,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAA;AAChF,MAAM,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