rulesync 27.0.0 → 29.0.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 +4 -4
- package/dist/cli/index.cjs +48 -19
- package/dist/cli/index.js +48 -19
- package/dist/cli/index.js.map +1 -1
- package/dist/{import-CnhfUGo7.js → import--SCvWeDn.js} +7754 -4581
- package/dist/import--SCvWeDn.js.map +1 -0
- package/dist/{import-B8FW-x0a.cjs → import-CLfSccAk.cjs} +7872 -4702
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +48 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +48 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/import-CnhfUGo7.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_import = require("./import-
|
|
2
|
+
const require_import = require("./import-CLfSccAk.cjs");
|
|
3
3
|
//#region src/index.ts
|
|
4
4
|
async function generate(options = {}) {
|
|
5
5
|
const { silent = true, verbose = false, ...rest } = options;
|
package/dist/index.d.cts
CHANGED
|
@@ -14,7 +14,7 @@ declare const FeatureSchema: z.ZodMiniUnion<readonly [z.ZodMiniEnum<{
|
|
|
14
14
|
type Feature = z.infer<typeof FeatureSchema>;
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/types/tool-target-tuples.d.ts
|
|
17
|
-
declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-legacy", "augmentcode-plugin", "bob", "claudecode", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "junie", "kilo", "kimi-code", "kimi-code-plugin", "kiro", "kiro-cli", "kiro-ide", "musecode", "mimocode", "omp", "opencode", "openclaw", "pi", "pool", "qoder", "qwencode", "reasonix", "replit", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "warp", "devin", "devin-plugin", "zcode", "zed", "zoocode", "dsh"], readonly ["aiassistant", "antigravity-cli", "augmentcode", "bob", "claudecode", "claudecode-legacy", "cline", "codebuff", "continue", "crush", "cursor", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "lettacode", "qoder", "qwencode", "reasonix", "roo", "tabnine", "devin", "vibe", "warp", "zed", "zoocode"], readonly ["aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codebuff", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "dsh", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "kimi-code", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "musecode", "mimocode", "omp", "opencode", "pool", "qoder", "qwencode", "reasonix", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "vibe-plugin", "warp", "warpcli", "devin", "devin-plugin", "zcode", "zcode-plugin", "zed", "zoocode"], readonly ["agentsmd", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "cursor", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "junie", "kilo", "kimi-code-plugin", "kiro", "kiro-cli", "kiro-ide", "mimocode", "omp", "opencode", "pi", "qoder", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "tabnine", "takt", "devin", "warp", "zcode", "zcode-plugin"], readonly ["kilo", "agentsmd", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "copilot", "copilotcli", "cortexcode", "cursor", "deepagents", "devin", "devin-plugin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "kimi-code-plugin", "junie", "kiro", "kiro-cli", "kiro-ide", "lettacode", "mimocode", "omp", "opencode", "pool", "qoder", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "tabnine", "takt", "vibe", "vibe-plugin", "zcode", "zcode-plugin"], readonly ["agentsmd", "agentsskills", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "kimi-code", "kimi-code-plugin", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "musecode", "mimocode", "omp", "opencode", "pi", "pool", "qoder", "qwencode", "reasonix", "replit", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "vibe-plugin", "warp", "devin", "devin-plugin", "zcode", "zcode-plugin", "zed", "zoocode", "dsh", "lettacode"], readonly ["amp", "cline", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "kilo", "cursor", "claudecode", "claudecode-plugin", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "mimocode", "opencode", "pi", "pool", "factorydroid", "goose", "hermesagent", "kimi-code", "deepagents", "kiro", "kiro-cli", "kiro-ide", "devin", "devin-plugin", "augmentcode", "augmentcode-plugin", "bob", "junie", "vibe", "vibe-plugin", "qoder", "qwencode", "reasonix", "tabnine", "grokcli", "gitlabduo", "lettacode", "zcode", "zcode-plugin"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "bob", "claudecode", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "crush", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "lettacode", "mimocode", "omp", "opencode", "pi", "pool", "qoder", "qwencode", "reasonix", "roo", "rovodev", "tabnine", "takt", "vibe", "warp", "warpcli", "zed", "zoocode"], readonly ["amp", "augmentcode", "cursor", "factorydroid", "gitlabduo", "hermesagent", "kilo", "qwencode", "rovodev", "takt"]];
|
|
17
|
+
declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-legacy", "augmentcode-plugin", "bob", "claudecode", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "junie", "kilo", "kimi-code", "kimi-code-plugin", "kiro", "kiro-cli", "kiro-ide", "musecode", "mimocode", "omp", "opencode", "openclaw", "pi", "pool", "qoder", "qwencode", "reasonix", "replit", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "warp", "devin", "devin-plugin", "zcode", "zed", "zoocode", "dsh"], readonly ["aiassistant", "antigravity-cli", "augmentcode", "bob", "claudecode", "claudecode-legacy", "cline", "codebuff", "continue", "crush", "cursor", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "lettacode", "qoder", "qwencode", "reasonix", "roo", "tabnine", "devin", "vibe", "warp", "zed", "zoocode"], readonly ["aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codebuff", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "dsh", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "kimi-code", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "musecode", "mimocode", "omp", "opencode", "pi", "pool", "qoder", "qwencode", "reasonix", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "vibe-plugin", "warp", "warpcli", "devin", "devin-plugin", "zcode", "zcode-plugin", "zed", "zoocode"], readonly ["agentsmd", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "cursor", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "junie", "kilo", "kimi-code-plugin", "kiro", "kiro-cli", "kiro-ide", "mimocode", "omp", "opencode", "pi", "qoder", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "tabnine", "takt", "devin", "warp", "zcode", "zcode-plugin"], readonly ["kilo", "agentsmd", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "copilot", "copilotcli", "cortexcode", "cursor", "deepagents", "devin", "devin-plugin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "kimi-code-plugin", "junie", "kiro", "kiro-cli", "kiro-ide", "lettacode", "mimocode", "omp", "opencode", "pool", "qoder", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "tabnine", "takt", "vibe", "vibe-plugin", "zcode", "zcode-plugin"], readonly ["agentsmd", "agentsskills", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "kimi-code", "kimi-code-plugin", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "musecode", "mimocode", "omp", "opencode", "pi", "pool", "qoder", "qwencode", "reasonix", "replit", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "vibe-plugin", "warp", "devin", "devin-plugin", "zcode", "zcode-plugin", "zed", "zoocode", "dsh", "lettacode"], readonly ["amp", "cline", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "kilo", "cursor", "claudecode", "claudecode-plugin", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "mimocode", "omp", "opencode", "pi", "pool", "factorydroid", "goose", "hermesagent", "kimi-code", "deepagents", "kiro", "kiro-cli", "kiro-ide", "devin", "devin-plugin", "augmentcode", "augmentcode-plugin", "bob", "junie", "vibe", "vibe-plugin", "qoder", "qwencode", "reasonix", "tabnine", "grokcli", "gitlabduo", "lettacode", "zcode", "zcode-plugin"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "bob", "claudecode", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "crush", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "lettacode", "mimocode", "omp", "opencode", "pi", "pool", "qoder", "qwencode", "reasonix", "roo", "rovodev", "tabnine", "takt", "vibe", "warp", "warpcli", "zed", "zoocode"], readonly ["amp", "augmentcode", "cursor", "factorydroid", "gitlabduo", "hermesagent", "kilo", "qwencode", "rovodev", "takt"]];
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/types/tool-targets.d.ts
|
|
20
20
|
type AllToolTarget = (typeof ALL_TOOL_TARGET_TUPLES)[number][number];
|
|
@@ -560,6 +560,15 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
560
560
|
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
561
561
|
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
562
562
|
paths: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
563
|
+
"when-to-use": z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
564
|
+
when_to_use: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
565
|
+
"allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
566
|
+
"argument-hint": z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
567
|
+
model: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
568
|
+
effort: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
569
|
+
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
570
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
|
|
571
|
+
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
563
572
|
}, z.core.$loose>>;
|
|
564
573
|
dsh: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
565
574
|
whenToUse: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -567,6 +576,11 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
567
576
|
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
568
577
|
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
569
578
|
}, z.core.$loose>>;
|
|
579
|
+
reasonix: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
580
|
+
invocation: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
581
|
+
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
582
|
+
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
583
|
+
}, z.core.$loose>>;
|
|
570
584
|
"kimi-code": z.ZodMiniOptional<z.ZodMiniObject<{
|
|
571
585
|
type: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
572
586
|
flow: "flow";
|
|
@@ -674,6 +688,15 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
674
688
|
"disable-model-invocation"?: boolean;
|
|
675
689
|
"user-invocable"?: boolean;
|
|
676
690
|
paths?: string | string[];
|
|
691
|
+
"when-to-use"?: string;
|
|
692
|
+
when_to_use?: string;
|
|
693
|
+
"allowed-tools"?: string | string[];
|
|
694
|
+
"argument-hint"?: string;
|
|
695
|
+
model?: string;
|
|
696
|
+
effort?: string;
|
|
697
|
+
license?: string;
|
|
698
|
+
compatibility?: string | Record<string, unknown>;
|
|
699
|
+
metadata?: Record<string, unknown>;
|
|
677
700
|
};
|
|
678
701
|
dsh?: {
|
|
679
702
|
whenToUse?: string;
|
|
@@ -681,6 +704,11 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
681
704
|
"disable-model-invocation"?: boolean;
|
|
682
705
|
"user-invocable"?: boolean;
|
|
683
706
|
};
|
|
707
|
+
reasonix?: {
|
|
708
|
+
invocation?: string;
|
|
709
|
+
"disable-model-invocation"?: boolean;
|
|
710
|
+
"user-invocable"?: boolean;
|
|
711
|
+
};
|
|
684
712
|
codexcli?: {
|
|
685
713
|
"short-description"?: string;
|
|
686
714
|
interface?: {
|
|
@@ -920,6 +948,16 @@ type DeletedPath = {
|
|
|
920
948
|
path: string;
|
|
921
949
|
kind: "file" | "directory";
|
|
922
950
|
};
|
|
951
|
+
/**
|
|
952
|
+
* A top-level key a write of a shared config file adds, changes or removes,
|
|
953
|
+
* among the keys Rulesync owns outright there; `path` is relative to the
|
|
954
|
+
* output root like {@link DeletedPath.path}.
|
|
955
|
+
*/
|
|
956
|
+
type KeyOperation = {
|
|
957
|
+
action: "write" | "delete";
|
|
958
|
+
path: string;
|
|
959
|
+
key: string;
|
|
960
|
+
};
|
|
923
961
|
//#endregion
|
|
924
962
|
//#region src/lib/generate.d.ts
|
|
925
963
|
type GenerateResult = {
|
|
@@ -943,6 +981,8 @@ type GenerateResult = {
|
|
|
943
981
|
checksPaths: string[];
|
|
944
982
|
activationCount: number;
|
|
945
983
|
activationPaths: string[];
|
|
984
|
+
pluginManifestCount: number;
|
|
985
|
+
pluginManifestPaths: string[];
|
|
946
986
|
skills: RulesyncSkill[];
|
|
947
987
|
hasDiff: boolean;
|
|
948
988
|
/**
|
|
@@ -963,6 +1003,13 @@ type GenerateResult = {
|
|
|
963
1003
|
* absent.
|
|
964
1004
|
*/
|
|
965
1005
|
deletedPathsByFeature: Partial<Record<GenerationStepId, readonly DeletedPath[]>>;
|
|
1006
|
+
/**
|
|
1007
|
+
* The top-level keys Rulesync owns outright in a shared config file (see
|
|
1008
|
+
* `diffSharedConfigOwnedKeys`) that this run's writes added, changed or
|
|
1009
|
+
* removed — or, under `--dry-run` and `--check`, would — per feature, sorted
|
|
1010
|
+
* by path and then key. A feature that touched no such key is absent.
|
|
1011
|
+
*/
|
|
1012
|
+
keyOperationsByFeature: Partial<Record<GenerationStepId, readonly KeyOperation[]>>;
|
|
966
1013
|
};
|
|
967
1014
|
type GenerationStepId = "ignore" | "mcp" | "commands" | "subagents" | "skills" | "hooks" | "permissions" | "checks" | "rules";
|
|
968
1015
|
//#endregion
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types/features.ts","../src/types/tool-target-tuples.ts","../src/types/tool-targets.ts","../src/lib/convert.ts","../src/types/ai-dir.ts","../src/features/skills/rulesync-skill.ts","../src/lib/orphan-sweep.ts","../src/lib/generate.ts","../src/lib/import.ts","../src/index.ts"],"mappings":";;qBAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types/features.ts","../src/types/tool-target-tuples.ts","../src/types/tool-targets.ts","../src/lib/convert.ts","../src/types/ai-dir.ts","../src/features/skills/rulesync-skill.ts","../src/lib/orphan-sweep.ts","../src/lib/generate.ts","../src/lib/import.ts","../src/index.ts"],"mappings":";;qBAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;;;cC+YxB;;;KCnbR,wBAAwB;qBAEhB,4BAA4B,kBAAkB;cAM9C,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEjB,aAAa,EAAE,aAAa;;;KCH5B;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;KCWU;EAEN;EACA;;EAGA;EACA,OAAO;;KAqBD;EACV;EACA,YAAY;;;;;;;;EAQZ;;;;;;;EAOA;;KAmnBU;EACV;EACA;EACA;EACA;IACE;IACA;IACA,cAAc;;EAEhB,aAAa;EACb;;KAGU,qBAAqB,KAC/B;uBAIoB;;;;qBAID;;;;qBAKA;;;;qBAKA;;;;YAKT;IACR;IACA;IACA,cAAc;;;;;YAMN,YAAY;;;;qBAKH;EAEnB,cACE,YACA,iBACA,SACA,UACA,YACA,UACC;SAyBU,QAAQ,SAAS,qBAAqB,QAAQ;EAI3D;EAIA;EAIA;;;;;;;;;;;;;;;;;;;;;EAwBA;;;;;;;;;;;;;EAgBA;EAqBA;EAqBA;IAEM;IACA;IACA,cAAc;;EAMpB,iBAAiB;;;;EAOjB;EAIA;EAIA,YAAY,cAAc,cAAc,cAAc;;;;;;;;;;iBAajC;;iBAWN;;;;;;iBASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkCA;iBA8CM;;;;;iBA6GN;;;;;;;iBAsDM;;;;;;;;;;;;;;;;;;;;;;;;;;mBA+FE,kBACrB,oBACA,yBACA,iBACA,0BACC,QAAQ;WAwGF,YAAY;;;;cC5zCjB,wCAAsC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2a1C,EAAA,KAAA;KAMU;EACV;EACA;EACA;EACA;EACA;EACA;EACA,yBAAyB;EACzB,WAAW;EACX;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,QAAQ;IACR;IACA;IACA;IACA;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA,WAAW;IACX;IACA;;EAEF;IACE;IACA;IACA;;EAEF;IACE;IACA;MACE;MACA;MACA;MACA;MACA;MACA;;IAEF;MACE;;IAEF;MACE,QAAQ;QACN;QACA;QACA;QACA;QACA;;;;EAIN;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;;EAEF;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb,MAAM;EACN,MAAM;EACN,QAAQ;EACR,MAAM;EACN;IACE;IACA;IACA;IACA;IACA;IACA,cAAc;IACd;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA,QAAQ;IACR;IACA;;EAEF;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,yBAAyB;IACzB,WAAW;IACX;;EAEF,cAAc;EACd;IACE;IACA,yBAAyB;IACzB,WAAW;IACX;IACA;IACA;;EAEF,cAAc;EACd;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF,aAAa;EACb,YAAY;IACV;IACA;;EAEF,YAAY;EACZ,WAAW;EACX,UAAU;EACV;IACE;IACA;;EAEF;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA,WAAW;;EAEb,oBAAoB;EACpB,oBAAoB;;KAGjB;EACH;EACA,WAAW;GACV;;KAIS,2BAA2B,EAAE,aAAa;KAO1C;EACV;EACA;EACA;EACA,aAAa;EACb;EACA,aAAa;EACb;EACA;;KAGU;EACV;;KAGU;EACV;EACA;EACA;EACA;;;;;;cAOW,sBAAsB;EACjC,cACE,YACA,iBACA,SACA,aACA,MACA,YACA,UACA,UACC;SAsBI,oBAAoB;EAU3B,kBAAkB;EAQlB;EAIA,YAAY;SAcC,UACX,YACA,iBACA,SACA,UACC,6BAA6B,QAAQ;;;;;KC30B9B;EAAgB;EAAc;;;;;;;KAO9B;EAAiB;EAA4B;EAAc;;;;KCoD3D;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ;EACR;;;;;;EAMA;;;;;EAKA,0BAA0B;;;;;;;EAO1B,uBAAuB,QAAQ,OAAO,2BAA2B;;;;;;;EAOjE,wBAAwB,QAAQ,OAAO,2BAA2B;;KAydxD;;;KC3gBA;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;KCtDG;EACH;EACA;EACA;EACA;;YAGU,kBAAkB;EAC5B,UAAU;EACV,WAAW;EACX;;;;;;;;;;;;;EAaA;;;;;;;;EAQA;EACA;EACA;EACA;EACA;EACA;EACA;;YAGU,gBAAgB;EAC1B,QAAQ;EACR,WAAW;;YAGD,iBAAiB;EAC3B,MAAM;EACN,IAAI;EACJ,WAAW;EACX;;wBAGoB,SAAS,UAAS,kBAAuB,QAAQ;wBAyBjD,eAAe,SAAS,gBAAgB,QAAQ;wBAehD,gBAAgB,SAAS,iBAAiB,QAAQ"}
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const FeatureSchema: z.ZodMiniUnion<readonly [z.ZodMiniEnum<{
|
|
|
14
14
|
type Feature = z.infer<typeof FeatureSchema>;
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/types/tool-target-tuples.d.ts
|
|
17
|
-
declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-legacy", "augmentcode-plugin", "bob", "claudecode", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "junie", "kilo", "kimi-code", "kimi-code-plugin", "kiro", "kiro-cli", "kiro-ide", "musecode", "mimocode", "omp", "opencode", "openclaw", "pi", "pool", "qoder", "qwencode", "reasonix", "replit", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "warp", "devin", "devin-plugin", "zcode", "zed", "zoocode", "dsh"], readonly ["aiassistant", "antigravity-cli", "augmentcode", "bob", "claudecode", "claudecode-legacy", "cline", "codebuff", "continue", "crush", "cursor", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "lettacode", "qoder", "qwencode", "reasonix", "roo", "tabnine", "devin", "vibe", "warp", "zed", "zoocode"], readonly ["aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codebuff", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "dsh", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "kimi-code", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "musecode", "mimocode", "omp", "opencode", "pool", "qoder", "qwencode", "reasonix", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "vibe-plugin", "warp", "warpcli", "devin", "devin-plugin", "zcode", "zcode-plugin", "zed", "zoocode"], readonly ["agentsmd", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "cursor", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "junie", "kilo", "kimi-code-plugin", "kiro", "kiro-cli", "kiro-ide", "mimocode", "omp", "opencode", "pi", "qoder", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "tabnine", "takt", "devin", "warp", "zcode", "zcode-plugin"], readonly ["kilo", "agentsmd", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "copilot", "copilotcli", "cortexcode", "cursor", "deepagents", "devin", "devin-plugin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "kimi-code-plugin", "junie", "kiro", "kiro-cli", "kiro-ide", "lettacode", "mimocode", "omp", "opencode", "pool", "qoder", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "tabnine", "takt", "vibe", "vibe-plugin", "zcode", "zcode-plugin"], readonly ["agentsmd", "agentsskills", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "kimi-code", "kimi-code-plugin", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "musecode", "mimocode", "omp", "opencode", "pi", "pool", "qoder", "qwencode", "reasonix", "replit", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "vibe-plugin", "warp", "devin", "devin-plugin", "zcode", "zcode-plugin", "zed", "zoocode", "dsh", "lettacode"], readonly ["amp", "cline", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "kilo", "cursor", "claudecode", "claudecode-plugin", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "mimocode", "opencode", "pi", "pool", "factorydroid", "goose", "hermesagent", "kimi-code", "deepagents", "kiro", "kiro-cli", "kiro-ide", "devin", "devin-plugin", "augmentcode", "augmentcode-plugin", "bob", "junie", "vibe", "vibe-plugin", "qoder", "qwencode", "reasonix", "tabnine", "grokcli", "gitlabduo", "lettacode", "zcode", "zcode-plugin"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "bob", "claudecode", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "crush", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "lettacode", "mimocode", "omp", "opencode", "pi", "pool", "qoder", "qwencode", "reasonix", "roo", "rovodev", "tabnine", "takt", "vibe", "warp", "warpcli", "zed", "zoocode"], readonly ["amp", "augmentcode", "cursor", "factorydroid", "gitlabduo", "hermesagent", "kilo", "qwencode", "rovodev", "takt"]];
|
|
17
|
+
declare const ALL_TOOL_TARGET_TUPLES: readonly [readonly ["agentsmd", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-legacy", "augmentcode-plugin", "bob", "claudecode", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "junie", "kilo", "kimi-code", "kimi-code-plugin", "kiro", "kiro-cli", "kiro-ide", "musecode", "mimocode", "omp", "opencode", "openclaw", "pi", "pool", "qoder", "qwencode", "reasonix", "replit", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "warp", "devin", "devin-plugin", "zcode", "zed", "zoocode", "dsh"], readonly ["aiassistant", "antigravity-cli", "augmentcode", "bob", "claudecode", "claudecode-legacy", "cline", "codebuff", "continue", "crush", "cursor", "grokcli", "hermesagent", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "lettacode", "qoder", "qwencode", "reasonix", "roo", "tabnine", "devin", "vibe", "warp", "zed", "zoocode"], readonly ["aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codebuff", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "dsh", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "kimi-code", "kilo", "kiro", "kiro-cli", "kiro-ide", "junie", "musecode", "mimocode", "omp", "opencode", "pi", "pool", "qoder", "qwencode", "reasonix", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "vibe-plugin", "warp", "warpcli", "devin", "devin-plugin", "zcode", "zcode-plugin", "zed", "zoocode"], readonly ["agentsmd", "antigravity-cli", "antigravity-ide", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "cursor", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "junie", "kilo", "kimi-code-plugin", "kiro", "kiro-cli", "kiro-ide", "mimocode", "omp", "opencode", "pi", "qoder", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "tabnine", "takt", "devin", "warp", "zcode", "zcode-plugin"], readonly ["kilo", "agentsmd", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "copilot", "copilotcli", "cortexcode", "cursor", "deepagents", "devin", "devin-plugin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "kimi-code-plugin", "junie", "kiro", "kiro-cli", "kiro-ide", "lettacode", "mimocode", "omp", "opencode", "pool", "qoder", "qwencode", "reasonix", "roo", "zoocode", "rovodev", "tabnine", "takt", "vibe", "vibe-plugin", "zcode", "zcode-plugin"], readonly ["agentsmd", "agentsskills", "aiassistant", "amp", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "augmentcode", "augmentcode-plugin", "bob", "claudecode", "claudecode-plugin", "claudecode-legacy", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "cursor", "deepagents", "factorydroid", "goose", "grokcli", "gitlabduo", "hermesagent", "kimi-code", "kimi-code-plugin", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "musecode", "mimocode", "omp", "opencode", "pi", "pool", "qoder", "qwencode", "reasonix", "replit", "roo", "rovodev", "tabnine", "takt", "trae", "vibe", "vibe-plugin", "warp", "devin", "devin-plugin", "zcode", "zcode-plugin", "zed", "zoocode", "dsh", "lettacode"], readonly ["amp", "cline", "antigravity-cli", "antigravity-ide", "antigravity-plugin", "kilo", "cursor", "claudecode", "claudecode-plugin", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "cortexcode", "crush", "mimocode", "omp", "opencode", "pi", "pool", "factorydroid", "goose", "hermesagent", "kimi-code", "deepagents", "kiro", "kiro-cli", "kiro-ide", "devin", "devin-plugin", "augmentcode", "augmentcode-plugin", "bob", "junie", "vibe", "vibe-plugin", "qoder", "qwencode", "reasonix", "tabnine", "grokcli", "gitlabduo", "lettacode", "zcode", "zcode-plugin"], readonly ["amp", "antigravity-cli", "antigravity-ide", "augmentcode", "bob", "claudecode", "cline", "codebuddy", "codewhale", "codexcli", "commandcode", "continue", "copilot", "copilotcli", "crush", "cursor", "deepagents", "devin", "factorydroid", "goose", "grokcli", "hermesagent", "kimi-code", "junie", "kilo", "kiro", "kiro-cli", "kiro-ide", "lettacode", "mimocode", "omp", "opencode", "pi", "pool", "qoder", "qwencode", "reasonix", "roo", "rovodev", "tabnine", "takt", "vibe", "warp", "warpcli", "zed", "zoocode"], readonly ["amp", "augmentcode", "cursor", "factorydroid", "gitlabduo", "hermesagent", "kilo", "qwencode", "rovodev", "takt"]];
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/types/tool-targets.d.ts
|
|
20
20
|
type AllToolTarget = (typeof ALL_TOOL_TARGET_TUPLES)[number][number];
|
|
@@ -560,6 +560,15 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
560
560
|
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
561
561
|
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
562
562
|
paths: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
563
|
+
"when-to-use": z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
564
|
+
when_to_use: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
565
|
+
"allowed-tools": z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
566
|
+
"argument-hint": z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
567
|
+
model: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
568
|
+
effort: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
569
|
+
license: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
570
|
+
compatibility: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{}, z.core.$loose>]>>;
|
|
571
|
+
metadata: z.ZodMiniOptional<z.ZodMiniObject<{}, z.core.$loose>>;
|
|
563
572
|
}, z.core.$loose>>;
|
|
564
573
|
dsh: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
565
574
|
whenToUse: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -567,6 +576,11 @@ declare const RulesyncSkillFrontmatterSchemaInternal: z.ZodMiniObject<{
|
|
|
567
576
|
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
568
577
|
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
569
578
|
}, z.core.$loose>>;
|
|
579
|
+
reasonix: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
580
|
+
invocation: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
581
|
+
"disable-model-invocation": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
582
|
+
"user-invocable": z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
583
|
+
}, z.core.$loose>>;
|
|
570
584
|
"kimi-code": z.ZodMiniOptional<z.ZodMiniObject<{
|
|
571
585
|
type: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
572
586
|
flow: "flow";
|
|
@@ -674,6 +688,15 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
674
688
|
"disable-model-invocation"?: boolean;
|
|
675
689
|
"user-invocable"?: boolean;
|
|
676
690
|
paths?: string | string[];
|
|
691
|
+
"when-to-use"?: string;
|
|
692
|
+
when_to_use?: string;
|
|
693
|
+
"allowed-tools"?: string | string[];
|
|
694
|
+
"argument-hint"?: string;
|
|
695
|
+
model?: string;
|
|
696
|
+
effort?: string;
|
|
697
|
+
license?: string;
|
|
698
|
+
compatibility?: string | Record<string, unknown>;
|
|
699
|
+
metadata?: Record<string, unknown>;
|
|
677
700
|
};
|
|
678
701
|
dsh?: {
|
|
679
702
|
whenToUse?: string;
|
|
@@ -681,6 +704,11 @@ type RulesyncSkillFrontmatterInput = {
|
|
|
681
704
|
"disable-model-invocation"?: boolean;
|
|
682
705
|
"user-invocable"?: boolean;
|
|
683
706
|
};
|
|
707
|
+
reasonix?: {
|
|
708
|
+
invocation?: string;
|
|
709
|
+
"disable-model-invocation"?: boolean;
|
|
710
|
+
"user-invocable"?: boolean;
|
|
711
|
+
};
|
|
684
712
|
codexcli?: {
|
|
685
713
|
"short-description"?: string;
|
|
686
714
|
interface?: {
|
|
@@ -920,6 +948,16 @@ type DeletedPath = {
|
|
|
920
948
|
path: string;
|
|
921
949
|
kind: "file" | "directory";
|
|
922
950
|
};
|
|
951
|
+
/**
|
|
952
|
+
* A top-level key a write of a shared config file adds, changes or removes,
|
|
953
|
+
* among the keys Rulesync owns outright there; `path` is relative to the
|
|
954
|
+
* output root like {@link DeletedPath.path}.
|
|
955
|
+
*/
|
|
956
|
+
type KeyOperation = {
|
|
957
|
+
action: "write" | "delete";
|
|
958
|
+
path: string;
|
|
959
|
+
key: string;
|
|
960
|
+
};
|
|
923
961
|
//#endregion
|
|
924
962
|
//#region src/lib/generate.d.ts
|
|
925
963
|
type GenerateResult = {
|
|
@@ -943,6 +981,8 @@ type GenerateResult = {
|
|
|
943
981
|
checksPaths: string[];
|
|
944
982
|
activationCount: number;
|
|
945
983
|
activationPaths: string[];
|
|
984
|
+
pluginManifestCount: number;
|
|
985
|
+
pluginManifestPaths: string[];
|
|
946
986
|
skills: RulesyncSkill[];
|
|
947
987
|
hasDiff: boolean;
|
|
948
988
|
/**
|
|
@@ -963,6 +1003,13 @@ type GenerateResult = {
|
|
|
963
1003
|
* absent.
|
|
964
1004
|
*/
|
|
965
1005
|
deletedPathsByFeature: Partial<Record<GenerationStepId, readonly DeletedPath[]>>;
|
|
1006
|
+
/**
|
|
1007
|
+
* The top-level keys Rulesync owns outright in a shared config file (see
|
|
1008
|
+
* `diffSharedConfigOwnedKeys`) that this run's writes added, changed or
|
|
1009
|
+
* removed — or, under `--dry-run` and `--check`, would — per feature, sorted
|
|
1010
|
+
* by path and then key. A feature that touched no such key is absent.
|
|
1011
|
+
*/
|
|
1012
|
+
keyOperationsByFeature: Partial<Record<GenerationStepId, readonly KeyOperation[]>>;
|
|
966
1013
|
};
|
|
967
1014
|
type GenerationStepId = "ignore" | "mcp" | "commands" | "subagents" | "skills" | "hooks" | "permissions" | "checks" | "rules";
|
|
968
1015
|
//#endregion
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/features.ts","../src/types/tool-target-tuples.ts","../src/types/tool-targets.ts","../src/lib/convert.ts","../src/types/ai-dir.ts","../src/features/skills/rulesync-skill.ts","../src/lib/orphan-sweep.ts","../src/lib/generate.ts","../src/lib/import.ts","../src/index.ts"],"mappings":";;qBAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/features.ts","../src/types/tool-target-tuples.ts","../src/types/tool-targets.ts","../src/lib/convert.ts","../src/types/ai-dir.ts","../src/features/skills/rulesync-skill.ts","../src/lib/orphan-sweep.ts","../src/lib/generate.ts","../src/lib/import.ts","../src/index.ts"],"mappings":";;qBAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;;;cC+YxB;;;KCnbR,wBAAwB;qBAEhB,4BAA4B,kBAAkB;cAM9C,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEjB,aAAa,EAAE,aAAa;;;KCH5B;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;KCWU;EAEN;EACA;;EAGA;EACA,OAAO;;KAqBD;EACV;EACA,YAAY;;;;;;;;EAQZ;;;;;;;EAOA;;KAmnBU;EACV;EACA;EACA;EACA;IACE;IACA;IACA,cAAc;;EAEhB,aAAa;EACb;;KAGU,qBAAqB,KAC/B;uBAIoB;;;;qBAID;;;;qBAKA;;;;qBAKA;;;;YAKT;IACR;IACA;IACA,cAAc;;;;;YAMN,YAAY;;;;qBAKH;EAEnB,cACE,YACA,iBACA,SACA,UACA,YACA,UACC;SAyBU,QAAQ,SAAS,qBAAqB,QAAQ;EAI3D;EAIA;EAIA;;;;;;;;;;;;;;;;;;;;;EAwBA;;;;;;;;;;;;;EAgBA;EAqBA;EAqBA;IAEM;IACA;IACA,cAAc;;EAMpB,iBAAiB;;;;EAOjB;EAIA;EAIA,YAAY,cAAc,cAAc,cAAc;;;;;;;;;;iBAajC;;iBAWN;;;;;;iBASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkCA;iBA8CM;;;;;iBA6GN;;;;;;;iBAsDM;;;;;;;;;;;;;;;;;;;;;;;;;;mBA+FE,kBACrB,oBACA,yBACA,iBACA,0BACC,QAAQ;WAwGF,YAAY;;;;cC5zCjB,wCAAsC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2a1C,EAAA,KAAA;KAMU;EACV;EACA;EACA;EACA;EACA;EACA;EACA,yBAAyB;EACzB,WAAW;EACX;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,QAAQ;IACR;IACA;IACA;IACA;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA,WAAW;IACX;IACA;;EAEF;IACE;IACA;IACA;;EAEF;IACE;IACA;MACE;MACA;MACA;MACA;MACA;MACA;;IAEF;MACE;;IAEF;MACE,QAAQ;QACN;QACA;QACA;QACA;QACA;;;;EAIN;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;;EAEF;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb,MAAM;EACN,MAAM;EACN,QAAQ;EACR,MAAM;EACN;IACE;IACA;IACA;IACA;IACA;IACA,cAAc;IACd;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA,QAAQ;IACR;IACA;;EAEF;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,yBAAyB;IACzB,WAAW;IACX;;EAEF,cAAc;EACd;IACE;IACA,yBAAyB;IACzB,WAAW;IACX;IACA;IACA;;EAEF,cAAc;EACd;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF,aAAa;EACb,YAAY;IACV;IACA;;EAEF,YAAY;EACZ,WAAW;EACX,UAAU;EACV;IACE;IACA;;EAEF;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA,WAAW;;EAEb,oBAAoB;EACpB,oBAAoB;;KAGjB;EACH;EACA,WAAW;GACV;;KAIS,2BAA2B,EAAE,aAAa;KAO1C;EACV;EACA;EACA;EACA,aAAa;EACb;EACA,aAAa;EACb;EACA;;KAGU;EACV;;KAGU;EACV;EACA;EACA;EACA;;;;;;cAOW,sBAAsB;EACjC,cACE,YACA,iBACA,SACA,aACA,MACA,YACA,UACA,UACC;SAsBI,oBAAoB;EAU3B,kBAAkB;EAQlB;EAIA,YAAY;SAcC,UACX,YACA,iBACA,SACA,UACC,6BAA6B,QAAQ;;;;;KC30B9B;EAAgB;EAAc;;;;;;;KAO9B;EAAiB;EAA4B;EAAc;;;;KCoD3D;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ;EACR;;;;;;EAMA;;;;;EAKA,0BAA0B;;;;;;;EAO1B,uBAAuB,QAAQ,OAAO,2BAA2B;;;;;;;EAOjE,wBAAwB,QAAQ,OAAO,2BAA2B;;KAydxD;;;KC3gBA;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;KCtDG;EACH;EACA;EACA;EACA;;YAGU,kBAAkB;EAC5B,UAAU;EACV,WAAW;EACX;;;;;;;;;;;;;EAaA;;;;;;;;EAQA;EACA;EACA;EACA;EACA;EACA;EACA;;YAGU,gBAAgB;EAC1B,QAAQ;EACR,WAAW;;YAGD,iBAAiB;EAC3B,MAAM;EACN,IAAI;EACJ,WAAW;EACX;;wBAGoB,SAAS,UAAS,kBAAuB,QAAQ;wBAyBjD,eAAe,SAAS,gBAAgB,QAAQ;wBAehD,gBAAgB,SAAS,iBAAiB,QAAQ"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Rn as ALL_FEATURES, bt as ConsoleLogger, cn as ALL_TOOL_TARGETS, dt as ConfigResolver, i as inspectInputRoots, o as convertFromTool$1, r as generate$1, t as importFromTool$1 } from "./import
|
|
1
|
+
import { Rn as ALL_FEATURES, bt as ConsoleLogger, cn as ALL_TOOL_TARGETS, dt as ConfigResolver, i as inspectInputRoots, o as convertFromTool$1, r as generate$1, t as importFromTool$1 } from "./import--SCvWeDn.js";
|
|
2
2
|
//#region src/index.ts
|
|
3
3
|
async function generate(options = {}) {
|
|
4
4
|
const { silent = true, verbose = false, ...rest } = options;
|