@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,14 @@
|
|
|
1
|
+
import type { PluginConfig, TargetPlatform, UserConfigEntry } from './schema';
|
|
2
|
+
type JsonRecord = Record<string, unknown>;
|
|
3
|
+
type NativeMcpServerOverrides = Record<string, Record<string, unknown>>;
|
|
4
|
+
type NativeMcpPlatformOverrides = Partial<Record<TargetPlatform, {
|
|
5
|
+
mcpServers: NativeMcpServerOverrides;
|
|
6
|
+
}>>;
|
|
7
|
+
export declare function extractNativeMcpAuthConfig(cfg: Record<string, unknown>): Record<string, unknown> | undefined;
|
|
8
|
+
export declare function buildNativeMcpPlatformOverrides(platform: TargetPlatform, servers: Record<string, unknown>): NativeMcpPlatformOverrides | undefined;
|
|
9
|
+
export declare function getNativeMcpServerOverride(config: PluginConfig, platform: TargetPlatform, serverName: string): JsonRecord | undefined;
|
|
10
|
+
export declare function getNativeJsonHeadersOverride(config: PluginConfig, platform: TargetPlatform, serverName: string): Record<string, string> | undefined;
|
|
11
|
+
export declare function getNativeCodexMcpEntryOverride(config: PluginConfig, serverName: string): JsonRecord | undefined;
|
|
12
|
+
export declare function collectNativeMcpAuthUserConfigEntries(config: PluginConfig, platforms: TargetPlatform[], existingFields: UserConfigEntry[]): UserConfigEntry[];
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=mcp-native-overrides.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-native-overrides.d.ts","sourceRoot":"","sources":["../src/mcp-native-overrides.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAG7E,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AACzC,KAAK,wBAAwB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;AACvE,KAAK,0BAA0B,GAAG,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE;IAAE,UAAU,EAAE,wBAAwB,CAAA;CAAE,CAAC,CAAC,CAAA;AA6B3G,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAqB5G;AAED,wBAAgB,+BAA+B,CAC7C,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B,0BAA0B,GAAG,SAAS,CAkBxC;AAWD,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,YAAY,EACpB,QAAQ,EAAE,cAAc,EACxB,UAAU,EAAE,MAAM,GACjB,UAAU,GAAG,SAAS,CAKxB;AAED,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,YAAY,EACpB,QAAQ,EAAE,cAAc,EACxB,UAAU,EAAE,MAAM,GACjB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAGpC;AAED,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,MAAM,GACjB,UAAU,GAAG,SAAS,CAkBxB;AAED,wBAAgB,qCAAqC,CACnD,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,cAAc,EAAE,EAC3B,cAAc,EAAE,eAAe,EAAE,GAChC,eAAe,EAAE,CAoDnB"}
|
package/dist/schema.d.ts
CHANGED
|
@@ -7018,7 +7018,7 @@ export declare const UserConfigEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
7018
7018
|
envVar?: string | undefined;
|
|
7019
7019
|
defaultValue?: string | number | boolean | undefined;
|
|
7020
7020
|
placeholder?: string | undefined;
|
|
7021
|
-
targets?: ("
|
|
7021
|
+
targets?: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[] | undefined;
|
|
7022
7022
|
}, {
|
|
7023
7023
|
description: string;
|
|
7024
7024
|
key: string;
|
|
@@ -7028,7 +7028,7 @@ export declare const UserConfigEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
7028
7028
|
required?: boolean | undefined;
|
|
7029
7029
|
defaultValue?: string | number | boolean | undefined;
|
|
7030
7030
|
placeholder?: string | undefined;
|
|
7031
|
-
targets?: ("
|
|
7031
|
+
targets?: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[] | undefined;
|
|
7032
7032
|
}>, {
|
|
7033
7033
|
description: string;
|
|
7034
7034
|
type: "string" | "number" | "boolean" | "secret";
|
|
@@ -7038,7 +7038,7 @@ export declare const UserConfigEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
7038
7038
|
envVar?: string | undefined;
|
|
7039
7039
|
defaultValue?: string | number | boolean | undefined;
|
|
7040
7040
|
placeholder?: string | undefined;
|
|
7041
|
-
targets?: ("
|
|
7041
|
+
targets?: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[] | undefined;
|
|
7042
7042
|
}, {
|
|
7043
7043
|
description: string;
|
|
7044
7044
|
key: string;
|
|
@@ -7048,7 +7048,7 @@ export declare const UserConfigEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
7048
7048
|
required?: boolean | undefined;
|
|
7049
7049
|
defaultValue?: string | number | boolean | undefined;
|
|
7050
7050
|
placeholder?: string | undefined;
|
|
7051
|
-
targets?: ("
|
|
7051
|
+
targets?: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[] | undefined;
|
|
7052
7052
|
}>;
|
|
7053
7053
|
export declare const UserConfigSchema: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7054
7054
|
key: z.ZodString;
|
|
@@ -7069,7 +7069,7 @@ export declare const UserConfigSchema: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
|
7069
7069
|
envVar?: string | undefined;
|
|
7070
7070
|
defaultValue?: string | number | boolean | undefined;
|
|
7071
7071
|
placeholder?: string | undefined;
|
|
7072
|
-
targets?: ("
|
|
7072
|
+
targets?: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[] | undefined;
|
|
7073
7073
|
}, {
|
|
7074
7074
|
description: string;
|
|
7075
7075
|
key: string;
|
|
@@ -7079,7 +7079,7 @@ export declare const UserConfigSchema: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
|
7079
7079
|
required?: boolean | undefined;
|
|
7080
7080
|
defaultValue?: string | number | boolean | undefined;
|
|
7081
7081
|
placeholder?: string | undefined;
|
|
7082
|
-
targets?: ("
|
|
7082
|
+
targets?: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[] | undefined;
|
|
7083
7083
|
}>, {
|
|
7084
7084
|
description: string;
|
|
7085
7085
|
type: "string" | "number" | "boolean" | "secret";
|
|
@@ -7089,7 +7089,7 @@ export declare const UserConfigSchema: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
|
7089
7089
|
envVar?: string | undefined;
|
|
7090
7090
|
defaultValue?: string | number | boolean | undefined;
|
|
7091
7091
|
placeholder?: string | undefined;
|
|
7092
|
-
targets?: ("
|
|
7092
|
+
targets?: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[] | undefined;
|
|
7093
7093
|
}, {
|
|
7094
7094
|
description: string;
|
|
7095
7095
|
key: string;
|
|
@@ -7099,7 +7099,7 @@ export declare const UserConfigSchema: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
|
7099
7099
|
required?: boolean | undefined;
|
|
7100
7100
|
defaultValue?: string | number | boolean | undefined;
|
|
7101
7101
|
placeholder?: string | undefined;
|
|
7102
|
-
targets?: ("
|
|
7102
|
+
targets?: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[] | undefined;
|
|
7103
7103
|
}>, "many">;
|
|
7104
7104
|
export declare const PermissionRuleSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
7105
7105
|
export declare const PermissionsSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -7283,10 +7283,6 @@ export declare const PlatformOverridesSchema: z.ZodObject<{
|
|
|
7283
7283
|
npmPackage: z.ZodOptional<z.ZodString>;
|
|
7284
7284
|
}, z.ZodUnknown, "strip">>>;
|
|
7285
7285
|
}, "strip", z.ZodTypeAny, {
|
|
7286
|
-
'claude-code'?: z.objectOutputType<{
|
|
7287
|
-
skillDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7288
|
-
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
7289
|
-
}, z.ZodUnknown, "strip"> | undefined;
|
|
7290
7286
|
cursor?: z.objectOutputType<{
|
|
7291
7287
|
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
7292
7288
|
rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -7312,11 +7308,11 @@ export declare const PlatformOverridesSchema: z.ZodObject<{
|
|
|
7312
7308
|
opencode?: z.objectOutputType<{
|
|
7313
7309
|
npmPackage: z.ZodOptional<z.ZodString>;
|
|
7314
7310
|
}, z.ZodUnknown, "strip"> | undefined;
|
|
7315
|
-
|
|
7316
|
-
'claude-code'?: z.objectInputType<{
|
|
7311
|
+
'claude-code'?: z.objectOutputType<{
|
|
7317
7312
|
skillDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7318
7313
|
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
7319
7314
|
}, z.ZodUnknown, "strip"> | undefined;
|
|
7315
|
+
}, {
|
|
7320
7316
|
cursor?: z.objectInputType<{
|
|
7321
7317
|
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
7322
7318
|
rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -7342,6 +7338,10 @@ export declare const PlatformOverridesSchema: z.ZodObject<{
|
|
|
7342
7338
|
opencode?: z.objectInputType<{
|
|
7343
7339
|
npmPackage: z.ZodOptional<z.ZodString>;
|
|
7344
7340
|
}, z.ZodUnknown, "strip"> | undefined;
|
|
7341
|
+
'claude-code'?: z.objectInputType<{
|
|
7342
|
+
skillDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7343
|
+
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
7344
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
7345
7345
|
}>;
|
|
7346
7346
|
export declare const PluginConfigSchema: z.ZodObject<{
|
|
7347
7347
|
name: z.ZodString;
|
|
@@ -7422,7 +7422,7 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
7422
7422
|
envVar?: string | undefined;
|
|
7423
7423
|
defaultValue?: string | number | boolean | undefined;
|
|
7424
7424
|
placeholder?: string | undefined;
|
|
7425
|
-
targets?: ("
|
|
7425
|
+
targets?: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[] | undefined;
|
|
7426
7426
|
}, {
|
|
7427
7427
|
description: string;
|
|
7428
7428
|
key: string;
|
|
@@ -7432,7 +7432,7 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
7432
7432
|
required?: boolean | undefined;
|
|
7433
7433
|
defaultValue?: string | number | boolean | undefined;
|
|
7434
7434
|
placeholder?: string | undefined;
|
|
7435
|
-
targets?: ("
|
|
7435
|
+
targets?: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[] | undefined;
|
|
7436
7436
|
}>, {
|
|
7437
7437
|
description: string;
|
|
7438
7438
|
type: "string" | "number" | "boolean" | "secret";
|
|
@@ -7442,7 +7442,7 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
7442
7442
|
envVar?: string | undefined;
|
|
7443
7443
|
defaultValue?: string | number | boolean | undefined;
|
|
7444
7444
|
placeholder?: string | undefined;
|
|
7445
|
-
targets?: ("
|
|
7445
|
+
targets?: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[] | undefined;
|
|
7446
7446
|
}, {
|
|
7447
7447
|
description: string;
|
|
7448
7448
|
key: string;
|
|
@@ -7452,7 +7452,7 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
7452
7452
|
required?: boolean | undefined;
|
|
7453
7453
|
defaultValue?: string | number | boolean | undefined;
|
|
7454
7454
|
placeholder?: string | undefined;
|
|
7455
|
-
targets?: ("
|
|
7455
|
+
targets?: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[] | undefined;
|
|
7456
7456
|
}>, "many">>;
|
|
7457
7457
|
permissions: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
7458
7458
|
allow: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
@@ -14216,10 +14216,6 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
14216
14216
|
npmPackage: z.ZodOptional<z.ZodString>;
|
|
14217
14217
|
}, z.ZodUnknown, "strip">>>;
|
|
14218
14218
|
}, "strip", z.ZodTypeAny, {
|
|
14219
|
-
'claude-code'?: z.objectOutputType<{
|
|
14220
|
-
skillDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
14221
|
-
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
14222
|
-
}, z.ZodUnknown, "strip"> | undefined;
|
|
14223
14219
|
cursor?: z.objectOutputType<{
|
|
14224
14220
|
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
14225
14221
|
rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -14245,11 +14241,11 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
14245
14241
|
opencode?: z.objectOutputType<{
|
|
14246
14242
|
npmPackage: z.ZodOptional<z.ZodString>;
|
|
14247
14243
|
}, z.ZodUnknown, "strip"> | undefined;
|
|
14248
|
-
|
|
14249
|
-
'claude-code'?: z.objectInputType<{
|
|
14244
|
+
'claude-code'?: z.objectOutputType<{
|
|
14250
14245
|
skillDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
14251
14246
|
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
14252
14247
|
}, z.ZodUnknown, "strip"> | undefined;
|
|
14248
|
+
}, {
|
|
14253
14249
|
cursor?: z.objectInputType<{
|
|
14254
14250
|
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
14255
14251
|
rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -14275,6 +14271,10 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
14275
14271
|
opencode?: z.objectInputType<{
|
|
14276
14272
|
npmPackage: z.ZodOptional<z.ZodString>;
|
|
14277
14273
|
}, z.ZodUnknown, "strip"> | undefined;
|
|
14274
|
+
'claude-code'?: z.objectInputType<{
|
|
14275
|
+
skillDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
14276
|
+
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
14277
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
14278
14278
|
}>>;
|
|
14279
14279
|
targets: z.ZodDefault<z.ZodArray<z.ZodEnum<["claude-code", "cursor", "codex", "opencode", "github-copilot", "openhands", "warp", "gemini-cli", "roo-code", "cline", "amp"]>, "many">>;
|
|
14280
14280
|
outDir: z.ZodDefault<z.ZodString>;
|
|
@@ -14282,7 +14282,7 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
14282
14282
|
name: string;
|
|
14283
14283
|
description: string;
|
|
14284
14284
|
skills: string;
|
|
14285
|
-
targets: ("
|
|
14285
|
+
targets: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[];
|
|
14286
14286
|
version: string;
|
|
14287
14287
|
author: {
|
|
14288
14288
|
name: string;
|
|
@@ -14318,7 +14318,7 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
14318
14318
|
envVar?: string | undefined;
|
|
14319
14319
|
defaultValue?: string | number | boolean | undefined;
|
|
14320
14320
|
placeholder?: string | undefined;
|
|
14321
|
-
targets?: ("
|
|
14321
|
+
targets?: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[] | undefined;
|
|
14322
14322
|
}[] | undefined;
|
|
14323
14323
|
permissions?: {
|
|
14324
14324
|
allow?: string[] | undefined;
|
|
@@ -16443,10 +16443,6 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
16443
16443
|
scripts?: string | undefined;
|
|
16444
16444
|
assets?: string | undefined;
|
|
16445
16445
|
platforms?: {
|
|
16446
|
-
'claude-code'?: z.objectOutputType<{
|
|
16447
|
-
skillDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16448
|
-
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
16449
|
-
}, z.ZodUnknown, "strip"> | undefined;
|
|
16450
16446
|
cursor?: z.objectOutputType<{
|
|
16451
16447
|
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
16452
16448
|
rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -16472,6 +16468,10 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
16472
16468
|
opencode?: z.objectOutputType<{
|
|
16473
16469
|
npmPackage: z.ZodOptional<z.ZodString>;
|
|
16474
16470
|
}, z.ZodUnknown, "strip"> | undefined;
|
|
16471
|
+
'claude-code'?: z.objectOutputType<{
|
|
16472
|
+
skillDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16473
|
+
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
16474
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
16475
16475
|
} | undefined;
|
|
16476
16476
|
}, {
|
|
16477
16477
|
name: string;
|
|
@@ -16484,7 +16484,7 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
16484
16484
|
skills?: string | undefined;
|
|
16485
16485
|
passthrough?: string[] | undefined;
|
|
16486
16486
|
commands?: string | undefined;
|
|
16487
|
-
targets?: ("
|
|
16487
|
+
targets?: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[] | undefined;
|
|
16488
16488
|
version?: string | undefined;
|
|
16489
16489
|
repository?: string | undefined;
|
|
16490
16490
|
license?: string | undefined;
|
|
@@ -16512,7 +16512,7 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
16512
16512
|
required?: boolean | undefined;
|
|
16513
16513
|
defaultValue?: string | number | boolean | undefined;
|
|
16514
16514
|
placeholder?: string | undefined;
|
|
16515
|
-
targets?: ("
|
|
16515
|
+
targets?: ("cursor" | "codex" | "opencode" | "claude-code" | "github-copilot" | "openhands" | "warp" | "gemini-cli" | "roo-code" | "cline" | "amp")[] | undefined;
|
|
16516
16516
|
}[] | undefined;
|
|
16517
16517
|
permissions?: {
|
|
16518
16518
|
allow?: string[] | undefined;
|
|
@@ -18571,10 +18571,6 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
18571
18571
|
scripts?: string | undefined;
|
|
18572
18572
|
assets?: string | undefined;
|
|
18573
18573
|
platforms?: {
|
|
18574
|
-
'claude-code'?: z.objectInputType<{
|
|
18575
|
-
skillDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
18576
|
-
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
18577
|
-
}, z.ZodUnknown, "strip"> | undefined;
|
|
18578
18574
|
cursor?: z.objectInputType<{
|
|
18579
18575
|
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
18580
18576
|
rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -18600,6 +18596,10 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
18600
18596
|
opencode?: z.objectInputType<{
|
|
18601
18597
|
npmPackage: z.ZodOptional<z.ZodString>;
|
|
18602
18598
|
}, z.ZodUnknown, "strip"> | undefined;
|
|
18599
|
+
'claude-code'?: z.objectInputType<{
|
|
18600
|
+
skillDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
18601
|
+
mcpAuth: z.ZodOptional<z.ZodEnum<["inline", "platform"]>>;
|
|
18602
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
18603
18603
|
} | undefined;
|
|
18604
18604
|
outDir?: string | undefined;
|
|
18605
18605
|
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type SkillTranslationPlatform = 'cursor' | 'codex' | 'opencode';
|
|
2
|
+
interface SkillFieldTranslationRegistryEntry {
|
|
3
|
+
code: string;
|
|
4
|
+
message: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function getSkillFrontmatterTranslationIssue(platform: SkillTranslationPlatform, key: string, supportedFields: string[]): SkillFieldTranslationRegistryEntry;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=skill-translation-registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-translation-registry.d.ts","sourceRoot":"","sources":["../src/skill-translation-registry.ts"],"names":[],"mappings":"AAAA,KAAK,wBAAwB,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAA;AAE/D,UAAU,kCAAkC;IAC1C,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB;AAgCD,wBAAgB,mCAAmC,CACjD,QAAQ,EAAE,wBAAwB,EAClC,GAAG,EAAE,MAAM,EACX,eAAe,EAAE,MAAM,EAAE,GACxB,kCAAkC,CAqBpC"}
|
package/dist/skills.d.ts
CHANGED
|
@@ -31,9 +31,33 @@ export interface ParsedSkillMarkdownFile extends ParsedSkillMarkdown {
|
|
|
31
31
|
relativeDir: string;
|
|
32
32
|
dirName: string;
|
|
33
33
|
}
|
|
34
|
+
export interface CanonicalSkillMetadata {
|
|
35
|
+
dirName: string;
|
|
36
|
+
title: string;
|
|
37
|
+
description?: string;
|
|
38
|
+
whenToUse?: string;
|
|
39
|
+
argumentHint?: string;
|
|
40
|
+
arguments: string[];
|
|
41
|
+
disableModelInvocation?: boolean;
|
|
42
|
+
userInvocable?: boolean;
|
|
43
|
+
allowedTools: string[];
|
|
44
|
+
model?: string;
|
|
45
|
+
effort?: string;
|
|
46
|
+
context?: string;
|
|
47
|
+
agent?: string;
|
|
48
|
+
hooks?: unknown;
|
|
49
|
+
paths: string[];
|
|
50
|
+
shell?: string;
|
|
51
|
+
body: string;
|
|
52
|
+
supportPaths: string[];
|
|
53
|
+
helperScripts: string[];
|
|
54
|
+
examplePaths: string[];
|
|
55
|
+
referencePaths: string[];
|
|
56
|
+
}
|
|
34
57
|
export declare function parseSkillMarkdown(content: string): ParsedSkillMarkdown;
|
|
35
58
|
export declare function walkSkillFiles(skillsDir: string | undefined): string[];
|
|
36
59
|
export declare function readSkillMarkdownFile(filePath: string): ParsedSkillMarkdown;
|
|
37
60
|
export declare function readCanonicalSkillFiles(skillsDir: string | undefined): ParsedSkillMarkdownFile[];
|
|
38
61
|
export declare function serializeSkillMarkdown(frontmatterLines: string[], body: string): string;
|
|
62
|
+
export declare function getCanonicalSkillMetadata(skill: ParsedSkillMarkdownFile): CanonicalSkillMetadata;
|
|
39
63
|
//# sourceMappingURL=skills.d.ts.map
|
package/dist/skills.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{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,GAAG,SAAS,GAAG,uBAAuB,EAAE,CAgBhG;AAED,wBAAgB,sBAAsB,CAAC,gBAAgB,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAEvF;AAoBD,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,uBAAuB,GAAG,sBAAsB,CA8BhG"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare function stripTomlComment(line: string): string;
|
|
2
|
+
export declare function parseTomlValue(value: string): unknown;
|
|
3
|
+
export declare function splitTomlList(value: string): string[];
|
|
4
|
+
export declare function unquoteTomlString(value: string): string;
|
|
5
|
+
//# sourceMappingURL=toml-lite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toml-lite.d.ts","sourceRoot":"","sources":["../src/toml-lite.ts"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAkBrD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAsBrD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CA4BrD;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAOvD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orchid-labs/pluxx",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"description": "Build AI agent plugins once. Prime-time on Claude Code, Cursor, Codex, and OpenCode, with beta generators for additional hosts.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"generate:compatibility": "tsx scripts/generate-compatibility-matrix.ts",
|
|
23
23
|
"pack:check": "node scripts/run-npm-pack.mjs --dry-run",
|
|
24
24
|
"release:check": "npm run build && npm run typecheck && npm test && node scripts/verify-node-package-runtime.mjs && node scripts/run-npm-pack.mjs --dry-run",
|
|
25
|
-
"test": "
|
|
25
|
+
"test": "node scripts/run-vitest-exclusive.mjs",
|
|
26
26
|
"typecheck": "tsc --noEmit",
|
|
27
27
|
"prepublishOnly": "node scripts/ensure-github-release-publish.mjs && npm run build"
|
|
28
28
|
},
|