@orchid-labs/pluxx 0.1.12 → 0.1.14
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/agents.d.ts +22 -0
- package/dist/agents.d.ts.map +1 -1
- package/dist/cli/index.js +1207 -696
- package/dist/cli/init-from-mcp.d.ts.map +1 -1
- 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/publish.d.ts.map +1 -1
- package/dist/cli/verify-install.d.ts.map +1 -1
- package/dist/commands.d.ts +11 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/compiler-intent.d.ts +8 -0
- package/dist/compiler-intent.d.ts.map +1 -1
- package/dist/distribution-lifecycle.d.ts +6 -0
- package/dist/distribution-lifecycle.d.ts.map +1 -0
- package/dist/generators/claude-code/index.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/generators/shared/claude-family.d.ts.map +1 -1
- package/dist/hook-command-env.d.ts +2 -0
- package/dist/hook-command-env.d.ts.map +1 -0
- package/dist/hook-translation-registry.d.ts.map +1 -1
- package/dist/index.js +148 -28
- package/dist/instructions.d.ts +6 -0
- package/dist/instructions.d.ts.map +1 -0
- package/dist/schema.d.ts +10073 -1623
- package/dist/schema.d.ts.map +1 -1
- package/dist/skills.d.ts +12 -0
- package/dist/skills.d.ts.map +1 -1
- package/dist/validation/platform-rules.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init-from-mcp.d.ts","sourceRoot":"","sources":["../../src/cli/init-from-mcp.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AACpG,OAAO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AAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,CAAC,EAAE,cAAc,EAAE,EAC5B,OAAO,GAAE;IACP,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,UAAU,CAAC,EAAE,aAAa,CAAA;IAC1B,kBAAkB,CAAC,EAAE,uBAAuB,EAAE,CAAA;CAC1C,GACL,OAAO,CAAC,IAAI,CAAC,CAuEf;AAED,wBAAsB,eAAe,CACnC,UAAU,EAAE,MAAM,EAClB,SAAS,CAAC,EAAE,cAAc,EAAE,EAC5B,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,UAAU,CAAC,EAAE,aAAa,CAAA;CAAO,GAC5D,OAAO,CAAC,IAAI,CAAC,CAoDf"}
|
package/dist/cli/lint.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../../src/cli/lint.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuH,KAAK,cAAc,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../../src/cli/lint.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuH,KAAK,cAAc,EAAE,MAAM,WAAW,CAAA;AAYpK,OAAO,EAAuE,KAAK,2BAA2B,EAAE,MAAM,qBAAqB,CAAA;AA6C3I,KAAK,SAAS,GAAG,OAAO,GAAG,SAAS,CAAA;AAEpC,UAAU,SAAS;IACjB,KAAK,EAAE,SAAS,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAMD,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,SAAS,EAAE,CAAA;IACnB,gBAAgB,CAAC,EAAE,2BAA2B,CAAA;CAC/C;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;CAC3B;AAijDD,wBAAsB,WAAW,CAC/B,GAAG,GAAE,MAAsB,EAC3B,OAAO,GAAE,kBAAuB,GAC/B,OAAO,CAAC,UAAU,CAAC,CAkHrB;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,UAAU,EAAE,GAAG,GAAE,MAAsB,GAAG,IAAI,CA0BrF;AAED,wBAAsB,OAAO,CAAC,GAAG,GAAE,MAAsB,GAAG,OAAO,CAAC,MAAM,CAAC,CAI1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrate.d.ts","sourceRoot":"","sources":["../../src/cli/migrate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"migrate.d.ts","sourceRoot":"","sources":["../../src/cli/migrate.ts"],"names":[],"mappings":"AA6mCA,wBAAsB,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAoJ9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../src/cli/publish.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../src/cli/publish.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAI7D,KAAK,cAAc,GAAG,KAAK,GAAG,gBAAgB,CAAA;AAC9C,KAAK,gBAAgB,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,CAAA;AACzE,KAAK,qBAAqB,GAAG,WAAW,GAAG,QAAQ,CAAA;A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AAM,CAAA;YACnB,YAAY,EAAE,OAAO,CAAA;SACtB,CAAA;QACD,aAAa,EAAE;YACb,OAAO,EAAE,OAAO,CAAA;YAChB,QAAQ,EAAE,OAAO,CAAA;YACjB,IAAI,CAAC,EAAE,MAAM,CAAA;YACb,UAAU,CAAC,EAAE,MAAM,CAAA;YACnB,kBAAkB,EAAE,OAAO,CAAA;YAC3B,MAAM,EAAE,gBAAgB,EAAE,CAAA;SAC3B,CAAA;KACF,CAAA;IACD,MAAM,EAAE,YAAY,EAAE,CAAA;CACvB;AAED,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD,EAAE,EAAE,OAAO,CAAA;IACX,SAAS,CAAC,EAAE;QACV,GAAG,CAAC,EAAE;YAAE,EAAE,EAAE,OAAO,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;QACtC,aAAa,CAAC,EAAE;YAAE,EAAE,EAAE,OAAO,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KACjD,CAAA;CACF;AAwPD,wBAAgB,WAAW,CAAC,MAAM,EAAE,YAAY,EAAE,OAAO,GAAE,kBAAuB,GAAG,WAAW,CAmD/F;AA04BD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM,EAAE,CAoC7D;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,OAAO,GAAE,kBAAuB,GAAG,gBAAgB,CA8EnG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-install.d.ts","sourceRoot":"","sources":["../../src/cli/verify-install.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"verify-install.d.ts","sourceRoot":"","sources":["../../src/cli/verify-install.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAK7D,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,cAAc,CAAA;IACxB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,OAAO,CAAA;IACd,SAAS,EAAE,OAAO,CAAA;IAClB,KAAK,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,EAAE,EAAE,OAAO,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,OAAO,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,kBAAkB,EAAE,CAAA;CAC7B;AA4HD,wBAAsB,aAAa,CACjC,MAAM,EAAE,YAAY,EACpB,OAAO,GAAE;IACP,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAA;CACf,GACL,OAAO,CAAC,mBAAmB,CAAC,CAsB9B;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI,CAiB1E"}
|
package/dist/commands.d.ts
CHANGED
|
@@ -10,5 +10,16 @@ export interface ParsedCommandMarkdownFile {
|
|
|
10
10
|
model?: string;
|
|
11
11
|
body: string;
|
|
12
12
|
}
|
|
13
|
+
export interface CanonicalCommandMetadata {
|
|
14
|
+
commandId: string;
|
|
15
|
+
title: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
argumentHint?: string;
|
|
18
|
+
agent?: string;
|
|
19
|
+
subtask?: boolean;
|
|
20
|
+
model?: string;
|
|
21
|
+
template: string;
|
|
22
|
+
}
|
|
13
23
|
export declare function readCanonicalCommandFiles(commandsDir: string | undefined): ParsedCommandMarkdownFile[];
|
|
24
|
+
export declare function getCanonicalCommandMetadata(command: ParsedCommandMarkdownFile): CanonicalCommandMetadata;
|
|
14
25
|
//# sourceMappingURL=commands.d.ts.map
|
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;AAiHD,wBAAgB,yBAAyB,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,yBAAyB,EAAE,CA2BtG"}
|
|
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,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACjB;AAiHD,wBAAgB,yBAAyB,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,yBAAyB,EAAE,CA2BtG;AAED,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,yBAAyB,GAAG,wBAAwB,CAWxG"}
|
|
@@ -4,6 +4,7 @@ export declare const CompilerIntentSkillPolicySchema: z.ZodObject<{
|
|
|
4
4
|
skillDir: z.ZodString;
|
|
5
5
|
title: z.ZodString;
|
|
6
6
|
description: z.ZodOptional<z.ZodString>;
|
|
7
|
+
sourceFrontmatter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7
8
|
source: z.ZodObject<{
|
|
8
9
|
kind: z.ZodLiteral<"claude-allowed-tools">;
|
|
9
10
|
platform: z.ZodDefault<z.ZodLiteral<"claude-code">>;
|
|
@@ -48,6 +49,7 @@ export declare const CompilerIntentSkillPolicySchema: z.ZodObject<{
|
|
|
48
49
|
platform: "claude-code";
|
|
49
50
|
};
|
|
50
51
|
description?: string | undefined;
|
|
52
|
+
sourceFrontmatter?: Record<string, unknown> | undefined;
|
|
51
53
|
}, {
|
|
52
54
|
title: string;
|
|
53
55
|
permissions: {
|
|
@@ -61,6 +63,7 @@ export declare const CompilerIntentSkillPolicySchema: z.ZodObject<{
|
|
|
61
63
|
platform?: "claude-code" | undefined;
|
|
62
64
|
};
|
|
63
65
|
description?: string | undefined;
|
|
66
|
+
sourceFrontmatter?: Record<string, unknown> | undefined;
|
|
64
67
|
}>;
|
|
65
68
|
export declare const CompilerIntentSchema: z.ZodObject<{
|
|
66
69
|
version: z.ZodLiteral<1>;
|
|
@@ -68,6 +71,7 @@ export declare const CompilerIntentSchema: z.ZodObject<{
|
|
|
68
71
|
skillDir: z.ZodString;
|
|
69
72
|
title: z.ZodString;
|
|
70
73
|
description: z.ZodOptional<z.ZodString>;
|
|
74
|
+
sourceFrontmatter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
71
75
|
source: z.ZodObject<{
|
|
72
76
|
kind: z.ZodLiteral<"claude-allowed-tools">;
|
|
73
77
|
platform: z.ZodDefault<z.ZodLiteral<"claude-code">>;
|
|
@@ -112,6 +116,7 @@ export declare const CompilerIntentSchema: z.ZodObject<{
|
|
|
112
116
|
platform: "claude-code";
|
|
113
117
|
};
|
|
114
118
|
description?: string | undefined;
|
|
119
|
+
sourceFrontmatter?: Record<string, unknown> | undefined;
|
|
115
120
|
}, {
|
|
116
121
|
title: string;
|
|
117
122
|
permissions: {
|
|
@@ -125,6 +130,7 @@ export declare const CompilerIntentSchema: z.ZodObject<{
|
|
|
125
130
|
platform?: "claude-code" | undefined;
|
|
126
131
|
};
|
|
127
132
|
description?: string | undefined;
|
|
133
|
+
sourceFrontmatter?: Record<string, unknown> | undefined;
|
|
128
134
|
}>, "many">>;
|
|
129
135
|
}, "strip", z.ZodTypeAny, {
|
|
130
136
|
version: 1;
|
|
@@ -141,6 +147,7 @@ export declare const CompilerIntentSchema: z.ZodObject<{
|
|
|
141
147
|
platform: "claude-code";
|
|
142
148
|
};
|
|
143
149
|
description?: string | undefined;
|
|
150
|
+
sourceFrontmatter?: Record<string, unknown> | undefined;
|
|
144
151
|
}[];
|
|
145
152
|
}, {
|
|
146
153
|
version: 1;
|
|
@@ -157,6 +164,7 @@ export declare const CompilerIntentSchema: z.ZodObject<{
|
|
|
157
164
|
platform?: "claude-code" | undefined;
|
|
158
165
|
};
|
|
159
166
|
description?: string | undefined;
|
|
167
|
+
sourceFrontmatter?: Record<string, unknown> | undefined;
|
|
160
168
|
}[] | undefined;
|
|
161
169
|
}>;
|
|
162
170
|
export type CompilerIntentSkillPolicy = z.infer<typeof CompilerIntentSkillPolicySchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compiler-intent.d.ts","sourceRoot":"","sources":["../src/compiler-intent.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,0BAA0B,gCAAgC,CAAA;AAEvE,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"compiler-intent.d.ts","sourceRoot":"","sources":["../src/compiler-intent.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,0BAA0B,gCAAgC,CAAA;AAEvE,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB1C,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG/B,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA;AACvF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAErE,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAMlF"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { TargetPlatform } from './schema';
|
|
2
|
+
export declare function getInstallFollowupNote(target: TargetPlatform): string | undefined;
|
|
3
|
+
export declare function getInstallFollowupNotes(targets: TargetPlatform[]): string[];
|
|
4
|
+
export declare function getVerifyInstallStaleAction(target: TargetPlatform): string | undefined;
|
|
5
|
+
export declare function getPublishReloadInstruction(target: TargetPlatform): string | undefined;
|
|
6
|
+
//# sourceMappingURL=distribution-lifecycle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"distribution-lifecycle.d.ts","sourceRoot":"","sources":["../src/distribution-lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAoB9C,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS,CAEjF;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,cAAc,EAAE,GAAG,MAAM,EAAE,CAI3E;AAED,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS,CAEtF;AAED,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS,CAEtF"}
|
|
@@ -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;AAOlD,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;
|
|
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;AAOlD,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"}
|
|
@@ -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;AAgBlD,qBAAa,cAAe,SAAQ,SAAS;IAC3C,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAU;IAErC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;YAsDjB,gBAAgB;YAmEhB,iBAAiB;YAOjB,4BAA4B;YAiB5B,gBAAgB;YAiBhB,oBAAoB;YA+CpB,sBAAsB;YAiFtB,0BAA0B;YAkC1B,yBAAyB;IA2BvC,OAAO,CAAC,+BAA+B;CAoBxC"}
|
|
@@ -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;AAUlD,qBAAa,eAAgB,SAAQ,SAAS;IAC5C,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAW;IAEtC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;YAiBjB,gBAAgB;YAwBhB,aAAa;YA8Gb,aAAa;YAkCb,gBAAgB;YAMhB,cAAc;CAiC7B"}
|
|
@@ -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;AA6C7D,qBAAa,iBAAkB,SAAQ,SAAS;IAC9C,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAa;IAExC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;YAgBjB,mBAAmB;YAwBnB,qBAAqB;YAqSrB,wBAAwB;IAKtC,OAAO,CAAC,kBAAkB;IAY1B,OAAO,CAAC,yBAAyB;IAqBjC,OAAO,CAAC,6BAA6B;IAoCrC,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,
|
|
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;AAY3E,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hook-command-env.d.ts","sourceRoot":"","sources":["../src/hook-command-env.ts"],"names":[],"mappings":"AAIA,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAkDjH"}
|
|
@@ -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;AAE9C,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,SAAS,GAAG,YAAY,GAAG,YAAY,CAAA;AAC9E,MAAM,MAAM,wBAAwB,GAAG,UAAU,GAAG,MAAM,CAAA;AAE1D,UAAU,mBAAmB;IAC3B,IAAI,EAAE,wBAAwB,CAAA;IAC9B,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CACpC;
|
|
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;AAE9C,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,SAAS,GAAG,YAAY,GAAG,YAAY,CAAA;AAC9E,MAAM,MAAM,wBAAwB,GAAG,UAAU,GAAG,MAAM,CAAA;AAE1D,UAAU,mBAAmB;IAC3B,IAAI,EAAE,wBAAwB,CAAA;IAC9B,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CACpC;AAoHD,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,cAAc,GAAG,SAAS,MAAM,EAAE,CAElF;AAED,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM,GAAG,IAAI,CAErF;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAIrF;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,cAAc,EACxB,KAAK,EAAE,aAAa,GACnB,mBAAmB,CAErB;AAED,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,cAAc,EACxB,KAAK,EAAE,aAAa,EACpB,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAQT;AAED,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,cAAc,EACxB,KAAK,EAAE,aAAa,GACnB,SAAS,MAAM,EAAE,CAEnB"}
|
package/dist/index.js
CHANGED
|
@@ -7415,10 +7415,20 @@ var McpServerSchema = external_exports.preprocess(
|
|
|
7415
7415
|
external_exports.discriminatedUnion("transport", [McpServerHttpSchema, McpServerSseSchema, McpServerStdioSchema])
|
|
7416
7416
|
);
|
|
7417
7417
|
var HookEntrySchema = external_exports.object({
|
|
7418
|
-
type: external_exports.enum(["command", "prompt"]).default("command"),
|
|
7418
|
+
type: external_exports.enum(["command", "http", "mcp_tool", "prompt", "agent"]).default("command"),
|
|
7419
7419
|
command: external_exports.string().optional(),
|
|
7420
7420
|
prompt: external_exports.string().optional(),
|
|
7421
7421
|
model: external_exports.string().optional(),
|
|
7422
|
+
url: external_exports.string().url().optional(),
|
|
7423
|
+
headers: external_exports.record(external_exports.string(), external_exports.string()).optional(),
|
|
7424
|
+
allowedEnvVars: external_exports.array(external_exports.string()).optional(),
|
|
7425
|
+
server: external_exports.string().optional(),
|
|
7426
|
+
tool: external_exports.string().optional(),
|
|
7427
|
+
input: external_exports.record(external_exports.string(), external_exports.unknown()).optional(),
|
|
7428
|
+
if: external_exports.string().optional(),
|
|
7429
|
+
async: external_exports.boolean().optional(),
|
|
7430
|
+
asyncRewake: external_exports.boolean().optional(),
|
|
7431
|
+
shell: external_exports.enum(["bash"]).optional(),
|
|
7422
7432
|
timeout: external_exports.number().optional(),
|
|
7423
7433
|
matcher: external_exports.union([external_exports.string(), external_exports.record(external_exports.string(), external_exports.unknown())]).optional(),
|
|
7424
7434
|
failClosed: external_exports.boolean().optional(),
|
|
@@ -7431,11 +7441,34 @@ var HookEntrySchema = external_exports.object({
|
|
|
7431
7441
|
message: "Command hooks require a command."
|
|
7432
7442
|
});
|
|
7433
7443
|
}
|
|
7434
|
-
if (entry.type === "
|
|
7444
|
+
if (entry.type === "http" && !entry.url) {
|
|
7445
|
+
ctx.addIssue({
|
|
7446
|
+
code: external_exports.ZodIssueCode.custom,
|
|
7447
|
+
path: ["url"],
|
|
7448
|
+
message: "HTTP hooks require a url."
|
|
7449
|
+
});
|
|
7450
|
+
}
|
|
7451
|
+
if (entry.type === "mcp_tool") {
|
|
7452
|
+
if (!entry.server) {
|
|
7453
|
+
ctx.addIssue({
|
|
7454
|
+
code: external_exports.ZodIssueCode.custom,
|
|
7455
|
+
path: ["server"],
|
|
7456
|
+
message: "MCP tool hooks require a server."
|
|
7457
|
+
});
|
|
7458
|
+
}
|
|
7459
|
+
if (!entry.tool) {
|
|
7460
|
+
ctx.addIssue({
|
|
7461
|
+
code: external_exports.ZodIssueCode.custom,
|
|
7462
|
+
path: ["tool"],
|
|
7463
|
+
message: "MCP tool hooks require a tool."
|
|
7464
|
+
});
|
|
7465
|
+
}
|
|
7466
|
+
}
|
|
7467
|
+
if ((entry.type === "prompt" || entry.type === "agent") && !entry.prompt) {
|
|
7435
7468
|
ctx.addIssue({
|
|
7436
7469
|
code: external_exports.ZodIssueCode.custom,
|
|
7437
7470
|
path: ["prompt"],
|
|
7438
|
-
message: "Prompt hooks require a prompt
|
|
7471
|
+
message: `${entry.type === "agent" ? "Agent" : "Prompt"} hooks require a prompt.`
|
|
7439
7472
|
});
|
|
7440
7473
|
}
|
|
7441
7474
|
});
|
|
@@ -7822,7 +7855,7 @@ function getEnabledRuntimeReadinessBindings(capability, plan) {
|
|
|
7822
7855
|
});
|
|
7823
7856
|
}
|
|
7824
7857
|
var NAMED_PROMPT_TARGET_NOTE = "Named `skills` / `commands` readiness targets currently translate through prompt-entry gating with best-effort matching because the core four do not share one exact per-skill or per-command runtime interception surface.";
|
|
7825
|
-
var CODEX_EXTERNAL_NOTE = "Codex readiness
|
|
7858
|
+
var CODEX_EXTERNAL_NOTE = "Codex readiness now bundles translated hooks in the plugin, but Pluxx still emits `.codex/readiness.generated.json` and `.codex/hooks.generated.json` companion guidance because some Codex runtimes still gate hook activation behind `codex_hooks`.";
|
|
7826
7859
|
function getRuntimeReadinessNamedPromptTargetNote() {
|
|
7827
7860
|
return NAMED_PROMPT_TARGET_NOTE;
|
|
7828
7861
|
}
|
|
@@ -7891,7 +7924,7 @@ function getRuntimeReadinessCapability(platform, pluginRootVar = "PLUGIN_ROOT")
|
|
|
7891
7924
|
bundleEnforced: false,
|
|
7892
7925
|
namedPromptTargetScope: "best-effort",
|
|
7893
7926
|
scriptPath: ".codex/pluxx-readiness.mjs",
|
|
7894
|
-
companionArtifacts: [".codex/readiness.generated.json", ".codex/hooks.generated.json"],
|
|
7927
|
+
companionArtifacts: [".codex/readiness.generated.json", "hooks/hooks.json", ".codex/hooks.generated.json"],
|
|
7895
7928
|
bindings: [
|
|
7896
7929
|
{
|
|
7897
7930
|
gate: "session-start",
|
|
@@ -8115,7 +8148,7 @@ var PLATFORM_LIMIT_POLICIES = {
|
|
|
8115
8148
|
var PLATFORM_VALIDATION_RULES = {
|
|
8116
8149
|
"claude-code": {
|
|
8117
8150
|
platform: "claude-code",
|
|
8118
|
-
summary: "Claude Code plugins use an optional manifest at .claude-plugin/plugin.json with auto-discovery for skills, commands, agents, hooks, MCP, marketplaces, and
|
|
8151
|
+
summary: "Claude Code plugins use an optional manifest at .claude-plugin/plugin.json with auto-discovery for skills, commands, agents, hooks, MCP, marketplaces, output styles, and adjacent plugin assets like LSP, monitors, and themes.",
|
|
8119
8152
|
limits: PLATFORM_LIMITS["claude-code"],
|
|
8120
8153
|
limitPolicies: PLATFORM_LIMIT_POLICIES["claude-code"],
|
|
8121
8154
|
skillDiscoveryDirs: [
|
|
@@ -8154,13 +8187,13 @@ var PLATFORM_VALIDATION_RULES = {
|
|
|
8154
8187
|
hooks: {
|
|
8155
8188
|
supported: true,
|
|
8156
8189
|
files: ["hooks/hooks.json", ".claude-plugin/plugin.json", "~/.claude/settings.json", ".claude/settings.json", ".claude/settings.local.json"],
|
|
8157
|
-
eventNames: ["SessionStart", "PreToolUse", "PostToolUse", "
|
|
8158
|
-
notes: "Hook configs can be stored in hooks/hooks.json, inlined in plugin.json, added in settings files, or scoped through skill and agent frontmatter."
|
|
8190
|
+
eventNames: ["SessionStart", "Setup", "UserPromptSubmit", "UserPromptExpansion", "PreToolUse", "PermissionRequest", "PermissionDenied", "PostToolUse", "PostToolUseFailure", "PostToolBatch", "Notification", "SubagentStart", "SubagentStop", "TaskCreated", "TaskCompleted", "Stop", "StopFailure", "TeammateIdle", "InstructionsLoaded", "ConfigChange", "CwdChanged", "FileChanged", "WorktreeCreate", "WorktreeRemove", "PreCompact", "PostCompact", "Elicitation", "ElicitationResult", "SessionEnd"],
|
|
8191
|
+
notes: "Hook configs can be stored in hooks/hooks.json, inlined in plugin.json, added in settings files, or scoped through skill and agent frontmatter. Claude also documents a broader lifecycle event set than the older simplified Pluxx model."
|
|
8159
8192
|
},
|
|
8160
8193
|
instructions: {
|
|
8161
8194
|
files: ["CLAUDE.md"],
|
|
8162
8195
|
format: "markdown",
|
|
8163
|
-
notes: "Claude keeps persistent instructions in CLAUDE.md and pushes longer procedures into skills."
|
|
8196
|
+
notes: "Claude keeps persistent instructions in CLAUDE.md and pushes longer procedures into skills. Related enforcement and distribution config also depends on managed, user, project, and local settings scopes."
|
|
8164
8197
|
},
|
|
8165
8198
|
sources: [
|
|
8166
8199
|
{ label: "Claude Code MCP docs", url: "https://code.claude.com/docs/en/mcp" },
|
|
@@ -8174,6 +8207,9 @@ var PLATFORM_VALIDATION_RULES = {
|
|
|
8174
8207
|
{ label: "Claude Code plugins reference", url: "https://code.claude.com/docs/en/plugins-reference" },
|
|
8175
8208
|
{ label: "Claude Code hooks guide", url: "https://code.claude.com/docs/en/hooks-guide" },
|
|
8176
8209
|
{ label: "Claude Code hooks docs", url: "https://code.claude.com/docs/en/hooks" },
|
|
8210
|
+
{ label: "Claude Code settings docs", url: "https://code.claude.com/docs/en/settings" },
|
|
8211
|
+
{ label: "Claude Code permissions docs", url: "https://code.claude.com/docs/en/permissions" },
|
|
8212
|
+
{ label: "Claude Code memory docs", url: "https://code.claude.com/docs/en/memory" },
|
|
8177
8213
|
{ label: "Claude Code skills docs", url: "https://code.claude.com/docs/en/skills" },
|
|
8178
8214
|
{ label: "Claude Code sub-agents docs", url: "https://code.claude.com/docs/en/sub-agents" },
|
|
8179
8215
|
{ label: "Claude Code env vars docs", url: "https://code.claude.com/docs/en/env-vars" }
|
|
@@ -8212,13 +8248,13 @@ var PLATFORM_VALIDATION_RULES = {
|
|
|
8212
8248
|
hooks: {
|
|
8213
8249
|
supported: true,
|
|
8214
8250
|
files: ["hooks/hooks.json", ".cursor/hooks.json", "~/.cursor/hooks.json"],
|
|
8215
|
-
eventNames: ["sessionStart", "preToolUse", "postToolUse", "subagentStart", "subagentStop", "beforeShellExecution", "afterShellExecution"],
|
|
8216
|
-
notes: "Cursor plugin hooks live under hooks/hooks.json; project and user hooks also exist separately and reload on save."
|
|
8251
|
+
eventNames: ["sessionStart", "sessionEnd", "preToolUse", "postToolUse", "postToolUseFailure", "subagentStart", "subagentStop", "beforeShellExecution", "afterShellExecution", "beforeMCPExecution", "afterMCPExecution", "beforeReadFile", "afterFileEdit", "beforeSubmitPrompt", "preCompact", "stop", "afterAgentResponse", "afterAgentThought", "beforeTabFileRead", "afterTabFileEdit"],
|
|
8252
|
+
notes: "Cursor plugin hooks live under hooks/hooks.json; project and user hooks also exist separately and reload on save. The official event surface spans both Agent and Tab flows."
|
|
8217
8253
|
},
|
|
8218
8254
|
instructions: {
|
|
8219
8255
|
files: ["rules/", "AGENTS.md"],
|
|
8220
8256
|
format: "mdc + markdown",
|
|
8221
|
-
notes: "rules/ is the plugin-native instruction surface. AGENTS.md remains useful as shared repo guidance. Cursor subagents use markdown files under .cursor/agents or ~/.cursor/agents (with .claude/.codex compatibility paths)."
|
|
8257
|
+
notes: "rules/ is the plugin-native instruction surface. AGENTS.md remains useful as shared repo guidance. Cursor subagents use markdown files under .cursor/agents or ~/.cursor/agents (with .claude/.codex compatibility paths). Cursor rules do not apply to Tab."
|
|
8222
8258
|
},
|
|
8223
8259
|
sources: [
|
|
8224
8260
|
{ label: "Cursor plugins overview", url: "https://cursor.com/docs/plugins" },
|
|
@@ -8238,7 +8274,7 @@ var PLATFORM_VALIDATION_RULES = {
|
|
|
8238
8274
|
},
|
|
8239
8275
|
"codex": {
|
|
8240
8276
|
platform: "codex",
|
|
8241
|
-
summary: "Codex plugins use .codex-plugin/plugin.json with skills, optional .mcp.json and .app.json, marketplace catalogs, cache installs, AGENTS.md instructions, and
|
|
8277
|
+
summary: "Codex plugins use .codex-plugin/plugin.json with skills, optional .mcp.json and .app.json, marketplace catalogs, cache installs, AGENTS.md instructions, and native bundled hook support plus broader project or user hook config.",
|
|
8242
8278
|
limits: PLATFORM_LIMITS["codex"],
|
|
8243
8279
|
limitPolicies: PLATFORM_LIMIT_POLICIES["codex"],
|
|
8244
8280
|
skillDiscoveryDirs: [
|
|
@@ -8266,9 +8302,9 @@ var PLATFORM_VALIDATION_RULES = {
|
|
|
8266
8302
|
},
|
|
8267
8303
|
hooks: {
|
|
8268
8304
|
supported: true,
|
|
8269
|
-
files: [".codex/hooks.json", "~/.codex/hooks.json"],
|
|
8305
|
+
files: ["hooks/hooks.json", ".codex/hooks.json", "~/.codex/hooks.json"],
|
|
8270
8306
|
eventNames: ["SessionStart", "PreToolUse", "PermissionRequest", "PostToolUse", "UserPromptSubmit", "Stop"],
|
|
8271
|
-
notes: "Codex documents hooks in project
|
|
8307
|
+
notes: "Codex documents hooks in project and user config, and the hooks docs still mention the codex_hooks feature flag/runtime caveat. The official hooks docs also cover plugin-bundled hooks, which Pluxx now emits at hooks/hooks.json."
|
|
8272
8308
|
},
|
|
8273
8309
|
instructions: {
|
|
8274
8310
|
files: ["AGENTS.md", "AGENTS.override.md"],
|
|
@@ -8286,6 +8322,9 @@ var PLATFORM_VALIDATION_RULES = {
|
|
|
8286
8322
|
{ label: "Codex hooks docs", url: "https://developers.openai.com/codex/hooks" },
|
|
8287
8323
|
{ label: "Codex skills docs", url: "https://developers.openai.com/codex/skills" },
|
|
8288
8324
|
{ label: "Codex MCP docs", url: "https://developers.openai.com/codex/mcp" },
|
|
8325
|
+
{ label: "Codex basic config docs", url: "https://developers.openai.com/codex/config-basic" },
|
|
8326
|
+
{ label: "Codex agent approvals and security docs", url: "https://developers.openai.com/codex/agent-approvals-security" },
|
|
8327
|
+
{ label: "Codex app commands docs", url: "https://developers.openai.com/codex/app/commands" },
|
|
8289
8328
|
{ label: "Codex AGENTS.md guide", url: "https://developers.openai.com/codex/guides/agents-md" },
|
|
8290
8329
|
{ label: "Codex subagents docs", url: "https://developers.openai.com/codex/subagents" },
|
|
8291
8330
|
{ label: "Codex subagents concept docs", url: "https://developers.openai.com/codex/concepts/subagents" },
|
|
@@ -8296,7 +8335,7 @@ var PLATFORM_VALIDATION_RULES = {
|
|
|
8296
8335
|
},
|
|
8297
8336
|
"opencode": {
|
|
8298
8337
|
platform: "opencode",
|
|
8299
|
-
summary: "OpenCode plugins are code-first JS or TS modules loaded from local plugin dirs or npm references in config, with native skills, commands, agents, MCP, and
|
|
8338
|
+
summary: "OpenCode plugins are code-first JS or TS modules loaded from local plugin dirs or npm references in config, with native skills, commands, agents, MCP, permission, custom-tool, and plugin-event surfaces.",
|
|
8300
8339
|
limits: PLATFORM_LIMITS["opencode"],
|
|
8301
8340
|
limitPolicies: PLATFORM_LIMIT_POLICIES["opencode"],
|
|
8302
8341
|
skillDiscoveryDirs: [
|
|
@@ -8326,13 +8365,13 @@ var PLATFORM_VALIDATION_RULES = {
|
|
|
8326
8365
|
hooks: {
|
|
8327
8366
|
supported: true,
|
|
8328
8367
|
files: ["plugin module (index.ts/index.js)"],
|
|
8329
|
-
eventNames: [],
|
|
8330
|
-
notes: "OpenCode hooks are plugin event handlers implemented in code, not a separate hooks.json file."
|
|
8368
|
+
eventNames: ["command.executed", "file.edited", "file.watcher.updated", "installation.updated", "lsp.client.diagnostics", "lsp.updated", "message.part.removed", "message.part.updated", "message.removed", "message.updated", "permission.asked", "permission.replied", "server.connected", "session.created", "session.compacted", "session.deleted", "session.diff", "session.error", "session.idle", "session.status", "session.updated", "todo.updated", "shell.env", "tool.execute.before", "tool.execute.after", "tui.prompt.append", "tui.command.execute", "tui.toast.show", "experimental.session.compacting"],
|
|
8369
|
+
notes: "OpenCode hooks are plugin event handlers implemented in code, not a separate hooks.json file. The official surface is an event bus rather than a small lifecycle-hook JSON schema."
|
|
8331
8370
|
},
|
|
8332
8371
|
instructions: {
|
|
8333
8372
|
files: ["AGENTS.md", "CLAUDE.md", "opencode.json"],
|
|
8334
8373
|
format: "markdown + json + code",
|
|
8335
|
-
notes: "OpenCode supports AGENTS.md, CLAUDE.md fallback, config instructions, and plugin runtime instruction injection."
|
|
8374
|
+
notes: "OpenCode supports AGENTS.md, CLAUDE.md fallback, config instructions, and plugin runtime instruction injection. Config layering also includes remote config, managed config files, and macOS managed preferences."
|
|
8336
8375
|
},
|
|
8337
8376
|
sources: [
|
|
8338
8377
|
{ label: "OpenCode SDK docs", url: "https://opencode.ai/docs/sdk/" },
|
|
@@ -8703,8 +8742,8 @@ var CORE_FOUR_PRIMITIVE_CAPABILITIES = {
|
|
|
8703
8742
|
},
|
|
8704
8743
|
hooks: {
|
|
8705
8744
|
mode: "translate",
|
|
8706
|
-
nativeSurfaces: [".codex/hooks.json", "~/.codex/hooks.json"],
|
|
8707
|
-
notes: "Hooks are native
|
|
8745
|
+
nativeSurfaces: ["hooks/hooks.json", ".codex/hooks.json", "~/.codex/hooks.json"],
|
|
8746
|
+
notes: "Hooks are native. Pluxx bundles translated Codex hooks in the plugin and still tracks the project/user config paths plus the codex_hooks feature-gate caveat."
|
|
8708
8747
|
},
|
|
8709
8748
|
permissions: {
|
|
8710
8749
|
mode: "translate",
|
|
@@ -8947,6 +8986,7 @@ var CompilerIntentSkillPolicySchema = external_exports.object({
|
|
|
8947
8986
|
skillDir: external_exports.string(),
|
|
8948
8987
|
title: external_exports.string(),
|
|
8949
8988
|
description: external_exports.string().optional(),
|
|
8989
|
+
sourceFrontmatter: external_exports.record(external_exports.unknown()).optional(),
|
|
8950
8990
|
source: external_exports.object({
|
|
8951
8991
|
kind: external_exports.literal("claude-allowed-tools"),
|
|
8952
8992
|
platform: external_exports.literal("claude-code").default("claude-code")
|
|
@@ -9082,6 +9122,23 @@ function collectUserConfigEntries(config, platforms = config.targets) {
|
|
|
9082
9122
|
]);
|
|
9083
9123
|
}
|
|
9084
9124
|
|
|
9125
|
+
// src/distribution-lifecycle.ts
|
|
9126
|
+
var VERIFY_STALE_ACTIONS = {
|
|
9127
|
+
codex: "in Codex, use Plugins > Refresh if available, or restart Codex so the plugin cache reloads"
|
|
9128
|
+
};
|
|
9129
|
+
var PUBLISH_RELOAD_INSTRUCTIONS = {
|
|
9130
|
+
"claude-code": "If Claude is already open, run /reload-plugins in the active session.",
|
|
9131
|
+
cursor: "If Cursor is already open, use Developer: Reload Window or restart Cursor so the plugin is picked up.",
|
|
9132
|
+
codex: "If Codex is already open, use Plugins > Refresh if that action is available in your current UI, or restart Codex so the plugin is picked up.",
|
|
9133
|
+
opencode: "If OpenCode is already open, restart or reload it so the plugin is picked up."
|
|
9134
|
+
};
|
|
9135
|
+
function getVerifyInstallStaleAction(target) {
|
|
9136
|
+
return VERIFY_STALE_ACTIONS[target];
|
|
9137
|
+
}
|
|
9138
|
+
function getPublishReloadInstruction(target) {
|
|
9139
|
+
return PUBLISH_RELOAD_INSTRUCTIONS[target];
|
|
9140
|
+
}
|
|
9141
|
+
|
|
9085
9142
|
// src/cli/publish.ts
|
|
9086
9143
|
var INSTALLER_TARGETS = ["claude-code", "cursor", "codex", "opencode"];
|
|
9087
9144
|
function runCommandDefault(command, args, options) {
|
|
@@ -9550,6 +9607,66 @@ NODE
|
|
|
9550
9607
|
function hasInstallerUserConfig(config, platform) {
|
|
9551
9608
|
return collectUserConfigEntries(config, [platform]).length > 0;
|
|
9552
9609
|
}
|
|
9610
|
+
function renderInstallerMcpPathMaterializationSnippet(platform, installDirVariable) {
|
|
9611
|
+
if (platform !== "codex") return "";
|
|
9612
|
+
return `
|
|
9613
|
+
export PLUXX_INSTALL_DIR="${installDirVariable}"
|
|
9614
|
+
|
|
9615
|
+
node <<'NODE'
|
|
9616
|
+
const fs = require('fs')
|
|
9617
|
+
const path = require('path')
|
|
9618
|
+
|
|
9619
|
+
const installDir = process.env.PLUXX_INSTALL_DIR
|
|
9620
|
+
|
|
9621
|
+
if (installDir) {
|
|
9622
|
+
const materializeInstalledStdioPath = (value) => {
|
|
9623
|
+
if (typeof value !== 'string') return value
|
|
9624
|
+
|
|
9625
|
+
const normalized = value.replace(/\\\\/g, '/')
|
|
9626
|
+
const rootRef = normalized.match(/^\\$\\{(?:CLAUDE_PLUGIN_ROOT|CURSOR_PLUGIN_ROOT|PLUGIN_ROOT)\\}[\\\\/](.+)$/)
|
|
9627
|
+
|
|
9628
|
+
if (rootRef) {
|
|
9629
|
+
return path.resolve(installDir, rootRef[1])
|
|
9630
|
+
}
|
|
9631
|
+
|
|
9632
|
+
if (normalized.startsWith('./') || normalized.startsWith('../')) {
|
|
9633
|
+
return path.resolve(installDir, normalized)
|
|
9634
|
+
}
|
|
9635
|
+
|
|
9636
|
+
return value
|
|
9637
|
+
}
|
|
9638
|
+
|
|
9639
|
+
for (const relativePath of ['.mcp.json', 'mcp.json']) {
|
|
9640
|
+
const filepath = path.join(installDir, relativePath)
|
|
9641
|
+
if (!fs.existsSync(filepath)) continue
|
|
9642
|
+
|
|
9643
|
+
const payload = JSON.parse(fs.readFileSync(filepath, 'utf8'))
|
|
9644
|
+
let changed = false
|
|
9645
|
+
|
|
9646
|
+
for (const server of Object.values(payload.mcpServers || {})) {
|
|
9647
|
+
if (!server || typeof server !== 'object') continue
|
|
9648
|
+
|
|
9649
|
+
if (typeof server.command === 'string') {
|
|
9650
|
+
const nextCommand = materializeInstalledStdioPath(server.command)
|
|
9651
|
+
changed ||= nextCommand !== server.command
|
|
9652
|
+
server.command = nextCommand
|
|
9653
|
+
}
|
|
9654
|
+
|
|
9655
|
+
if (Array.isArray(server.args)) {
|
|
9656
|
+
const nextArgs = server.args.map(materializeInstalledStdioPath)
|
|
9657
|
+
changed ||= nextArgs.some((value, index) => value !== server.args[index])
|
|
9658
|
+
server.args = nextArgs
|
|
9659
|
+
}
|
|
9660
|
+
}
|
|
9661
|
+
|
|
9662
|
+
if (changed) {
|
|
9663
|
+
fs.writeFileSync(filepath, JSON.stringify(payload, null, 2) + '\\n')
|
|
9664
|
+
}
|
|
9665
|
+
}
|
|
9666
|
+
}
|
|
9667
|
+
NODE
|
|
9668
|
+
`;
|
|
9669
|
+
}
|
|
9553
9670
|
function renderInstallerRuntimeBootstrapSnippet(installDirVariable) {
|
|
9554
9671
|
return `
|
|
9555
9672
|
if [[ -f "${installDirVariable}/scripts/bootstrap-runtime.sh" ]]; then
|
|
@@ -9622,6 +9739,7 @@ mkdir -p "$INSTALL_ROOT/.claude-plugin" "$INSTALL_ROOT/plugins"
|
|
|
9622
9739
|
rm -rf "$INSTALL_ROOT/plugins/$PLUGIN_NAME"
|
|
9623
9740
|
cp -R "$BUNDLE_DIR" "$INSTALL_ROOT/plugins/$PLUGIN_NAME"
|
|
9624
9741
|
${renderInstallerUserConfigSnippet(config, "claude-code", "$INSTALL_ROOT/plugins/$PLUGIN_NAME")}
|
|
9742
|
+
${renderInstallerMcpPathMaterializationSnippet("claude-code", "$INSTALL_ROOT/plugins/$PLUGIN_NAME")}
|
|
9625
9743
|
${renderInstallerRuntimeBootstrapSnippet("$INSTALL_ROOT/plugins/$PLUGIN_NAME")}
|
|
9626
9744
|
|
|
9627
9745
|
cat > "$INSTALL_ROOT/.claude-plugin/marketplace.json" <<JSON
|
|
@@ -9663,7 +9781,7 @@ claude plugin install "\${PLUGIN_NAME}@\${MARKETPLACE_NAME}" --scope user
|
|
|
9663
9781
|
|
|
9664
9782
|
echo
|
|
9665
9783
|
echo "Installed \${PLUGIN_NAME}@\${MARKETPLACE_NAME} into Claude Code user scope."
|
|
9666
|
-
echo "
|
|
9784
|
+
echo "${getPublishReloadInstruction("claude-code")}"
|
|
9667
9785
|
`;
|
|
9668
9786
|
}
|
|
9669
9787
|
function renderInstallCursorScript(config) {
|
|
@@ -9716,10 +9834,11 @@ mkdir -p "$(dirname "$INSTALL_DIR")"
|
|
|
9716
9834
|
rm -rf "$INSTALL_DIR"
|
|
9717
9835
|
cp -R "$BUNDLE_DIR" "$INSTALL_DIR"
|
|
9718
9836
|
${renderInstallerUserConfigSnippet(config, "cursor", "$INSTALL_DIR")}
|
|
9837
|
+
${renderInstallerMcpPathMaterializationSnippet("cursor", "$INSTALL_DIR")}
|
|
9719
9838
|
${renderInstallerRuntimeBootstrapSnippet("$INSTALL_DIR")}
|
|
9720
9839
|
|
|
9721
9840
|
echo "Installed $PLUGIN_NAME to $INSTALL_DIR"
|
|
9722
|
-
echo "
|
|
9841
|
+
echo "${getPublishReloadInstruction("cursor")}"
|
|
9723
9842
|
`;
|
|
9724
9843
|
}
|
|
9725
9844
|
function renderInstallCodexScript(config) {
|
|
@@ -9775,6 +9894,7 @@ mkdir -p "$(dirname "$INSTALL_DIR")"
|
|
|
9775
9894
|
rm -rf "$INSTALL_DIR"
|
|
9776
9895
|
cp -R "$BUNDLE_DIR" "$INSTALL_DIR"
|
|
9777
9896
|
${renderInstallerUserConfigSnippet(config, "codex", "$INSTALL_DIR")}
|
|
9897
|
+
${renderInstallerMcpPathMaterializationSnippet("codex", "$INSTALL_DIR")}
|
|
9778
9898
|
${renderInstallerRuntimeBootstrapSnippet("$INSTALL_DIR")}
|
|
9779
9899
|
|
|
9780
9900
|
mkdir -p "$(dirname "$MARKETPLACE_PATH")"
|
|
@@ -9835,7 +9955,7 @@ NODE
|
|
|
9835
9955
|
|
|
9836
9956
|
echo "Installed $PLUGIN_NAME to $INSTALL_DIR"
|
|
9837
9957
|
echo "Updated Codex marketplace catalog at $MARKETPLACE_PATH"
|
|
9838
|
-
echo "
|
|
9958
|
+
echo "${getPublishReloadInstruction("codex")}"
|
|
9839
9959
|
`;
|
|
9840
9960
|
}
|
|
9841
9961
|
function renderInstallOpenCodeScript(config) {
|
|
@@ -9891,6 +10011,7 @@ mkdir -p "$(dirname "$INSTALL_DIR")" "$SKILLS_ROOT"
|
|
|
9891
10011
|
rm -rf "$INSTALL_DIR"
|
|
9892
10012
|
cp -R "$BUNDLE_DIR" "$INSTALL_DIR"
|
|
9893
10013
|
${renderInstallerUserConfigSnippet(config, "opencode", "$INSTALL_DIR")}
|
|
10014
|
+
${renderInstallerMcpPathMaterializationSnippet("opencode", "$INSTALL_DIR")}
|
|
9894
10015
|
${renderInstallerRuntimeBootstrapSnippet("$INSTALL_DIR")}
|
|
9895
10016
|
|
|
9896
10017
|
export ENTRY_PATH
|
|
@@ -9981,7 +10102,7 @@ fi
|
|
|
9981
10102
|
echo "Installed $PLUGIN_NAME plugin code to $INSTALL_DIR"
|
|
9982
10103
|
echo "Installed OpenCode wrapper at $ENTRY_PATH"
|
|
9983
10104
|
echo "Synced namespaced skills into $SKILLS_ROOT"
|
|
9984
|
-
echo "
|
|
10105
|
+
echo "${getPublishReloadInstruction("opencode")}"
|
|
9985
10106
|
`;
|
|
9986
10107
|
}
|
|
9987
10108
|
function replaceInstallerPlaceholders(script, config, context) {
|
|
@@ -11493,9 +11614,8 @@ function getVerifyInstallRecoveryActions(check) {
|
|
|
11493
11614
|
}
|
|
11494
11615
|
if (check.stale) {
|
|
11495
11616
|
actions.push(`rerun pluxx install --target ${check.platform} to replace the stale local install`);
|
|
11496
|
-
|
|
11497
|
-
|
|
11498
|
-
}
|
|
11617
|
+
const staleAction = getVerifyInstallStaleAction(check.platform);
|
|
11618
|
+
if (staleAction) actions.push(staleAction);
|
|
11499
11619
|
}
|
|
11500
11620
|
if (check.errors > 0 && actions.length === 0) {
|
|
11501
11621
|
actions.push(`run pluxx doctor --consumer "${check.consumerPath}" for the detailed host-specific failure`);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PluginConfig } from './schema';
|
|
2
|
+
export declare function resolveInstructionsPath(rootDir: string, config: Pick<PluginConfig, 'instructions'>): string | null;
|
|
3
|
+
export declare function readInstructionsContent(rootDir: string, config: Pick<PluginConfig, 'instructions'>): Promise<string | null>;
|
|
4
|
+
export declare function readInstructionsContentSync(rootDir: string, config: Pick<PluginConfig, 'instructions'>): string | null;
|
|
5
|
+
export declare function renderTitledInstructionsDocument(config: Pick<PluginConfig, 'name' | 'description' | 'brand'>, content: string, titleSuffix?: string): string;
|
|
6
|
+
//# sourceMappingURL=instructions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instructions.d.ts","sourceRoot":"","sources":["../src/instructions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAG5C,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,cAAc,CAAC,GACzC,MAAM,GAAG,IAAI,CAIf;AAED,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,cAAc,CAAC,GACzC,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAIxB;AAED,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,cAAc,CAAC,GACzC,MAAM,GAAG,IAAI,CAIf;AAED,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,aAAa,GAAG,OAAO,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,SAAW,GAAG,MAAM,CAQ9J"}
|