rulesync 16.16.0 → 16.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.cjs +9 -10
- package/dist/cli/index.js +9 -10
- package/dist/cli/index.js.map +1 -1
- package/dist/{import-NiPCjH6E.cjs → import-DDPTPxOX.cjs} +1013 -60
- package/dist/{import-DimKwtQ6.js → import-u8yswsGB.js} +1004 -63
- package/dist/import-u8yswsGB.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +77 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +77 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/import-DimKwtQ6.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-DDPTPxOX.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
|
@@ -158,10 +158,87 @@ declare abstract class AiDir {
|
|
|
158
158
|
getRelativePathFromCwd(): string;
|
|
159
159
|
getGlobal(): boolean;
|
|
160
160
|
setMainFile(name: string, body: string, frontmatter?: Record<string, unknown>): void;
|
|
161
|
+
/**
|
|
162
|
+
* A nested repository inside a carried directory is the one exclusion worth
|
|
163
|
+
* reporting: unlike `.DS_Store`, it is there on purpose, and the tree it
|
|
164
|
+
* points at is simply not reproduced on generate. Only the top level is
|
|
165
|
+
* checked, which is where a submodule or a stray `git init` puts it, so the
|
|
166
|
+
* check costs one stat per directory rather than a second walk. `fileExists`
|
|
167
|
+
* is a bare `stat`, so it answers for a submodule pointer file and for a real
|
|
168
|
+
* `.git` directory alike.
|
|
169
|
+
*/
|
|
170
|
+
private static warnOnNestedGitDirectory;
|
|
171
|
+
/** Whether any segment of a relative path is dot-prefixed. */
|
|
172
|
+
private static hasHiddenSegment;
|
|
173
|
+
/**
|
|
174
|
+
* Whether the entry a path ends at is itself hidden, its ancestors aside.
|
|
175
|
+
* A shared skill tree usually lives under a dot-directory, so an ancestor
|
|
176
|
+
* says nothing about the file; its own name is what was chosen for it.
|
|
177
|
+
*/
|
|
178
|
+
private static hasHiddenName;
|
|
179
|
+
/**
|
|
180
|
+
* Drop the entries a skill directory must not carry.
|
|
181
|
+
*
|
|
182
|
+
* Three rules. `classifyNeverCarried` comes first, evaluated against the
|
|
183
|
+
* resolved real path as well as the literal one: names that are never skill
|
|
184
|
+
* content stay out however they are reached, so renaming a symbolic link
|
|
185
|
+
* does not turn `~/.aws` into content a skill carries. Next, a real path
|
|
186
|
+
* inside a kernel pseudo-filesystem is refused outright — that is process
|
|
187
|
+
* state, not a file.
|
|
188
|
+
*
|
|
189
|
+
* The third concerns hidden entries a symbolic link reaches outside the
|
|
190
|
+
* directory. Following symlinks out of a source tree is deliberate and
|
|
191
|
+
* documented — it is how a shared skill is referenced from several projects
|
|
192
|
+
* without being duplicated (issue #1707), and the trust boundary is the tree
|
|
193
|
+
* you point Rulesync at. Carrying hidden entries changes what that costs,
|
|
194
|
+
* though: one ordinary-looking link to a home directory would pull in every
|
|
195
|
+
* dotfile under it, and those are the entries with credential value. What
|
|
196
|
+
* decides is the name in the skill directory, not what the link resolves
|
|
197
|
+
* through: a named file keeps its documented behavior even when the target
|
|
198
|
+
* sits under a dot-directory such as `~/.dotfiles`, because somebody chose
|
|
199
|
+
* that name. What the link resolves *to* still counts at the end of the path,
|
|
200
|
+
* though — `notes.md` pointing at `~/.claude/.credentials.json` reaches a
|
|
201
|
+
* file nobody named for a skill — so a hidden final segment is refused on
|
|
202
|
+
* either side. Reaching outside is reported either way, since content from
|
|
203
|
+
* outside the tree is about to be copied into every enabled tool root.
|
|
204
|
+
*
|
|
205
|
+
* A path that cannot be resolved is kept: `realpath` fails on a broken link
|
|
206
|
+
* or a race, and neither is a reason to silently drop a file.
|
|
207
|
+
*/
|
|
208
|
+
/** Report what a carried directory left out, once both walks have had their say. */
|
|
209
|
+
private static warnOnRefusedCarriedFiles;
|
|
210
|
+
private static filterCarriedFiles;
|
|
211
|
+
/**
|
|
212
|
+
* Report what the walk had to leave behind, so a skill that silently lost
|
|
213
|
+
* files says so rather than generating a directory that is quietly short.
|
|
214
|
+
*/
|
|
215
|
+
private static warnOnCarriedWalkLimits;
|
|
216
|
+
/**
|
|
217
|
+
* Walk the directory once more with the hidden routes pruned, and take the
|
|
218
|
+
* files the first walk had to leave behind because the route that reached
|
|
219
|
+
* them ran through a hidden directory. This can only add files, and only ones
|
|
220
|
+
* a fully named route reaches.
|
|
221
|
+
*/
|
|
222
|
+
private static recoverCarriedFilesFromNamedRoutes;
|
|
161
223
|
/**
|
|
162
224
|
* Recursively collects all files from a directory, excluding the specified main file.
|
|
163
225
|
* This is a common utility for loading additional files alongside the main file.
|
|
164
226
|
*
|
|
227
|
+
* Hidden entries are included. The directories this walks are skill trees,
|
|
228
|
+
* whose specification says a skill directory "may contain any files and
|
|
229
|
+
* directories beyond the required `SKILL.md`" — a `.env.example` beside the
|
|
230
|
+
* scripts that read it is content, not noise, and dropping it silently on
|
|
231
|
+
* both import and generate loses part of the skill. What is left out is the
|
|
232
|
+
* set of entries that are never skill content — a nested repository's `.git`,
|
|
233
|
+
* the macOS Finder's `.DS_Store`, credential stores, build and cache trees —
|
|
234
|
+
* as decided by `classifyNeverCarried`. Whole directories from that set are
|
|
235
|
+
* pruned during the walk too, so it never descends into them at all.
|
|
236
|
+
*
|
|
237
|
+
* The walk is bounded and cycle-aware — see `walkCarriedFiles` — because the
|
|
238
|
+
* tree may contain symbolic links that somebody else chose.
|
|
239
|
+
*
|
|
240
|
+
* @see https://agentskills.io/specification
|
|
241
|
+
*
|
|
165
242
|
* @param outputRoot - The base directory path
|
|
166
243
|
* @param relativeDirPath - The relative path to the directory containing the skill
|
|
167
244
|
* @param dirName - The name of the directory
|
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/generate.ts","../src/lib/import.ts","../src/index.ts"],"mappings":";;cAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;;;cCiQxB;;;KCrSR,wBAAwB;cAEhB,4BAA4B,kBAAkB;cAM9C,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEjB,aAAa,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/generate.ts","../src/lib/import.ts","../src/index.ts"],"mappings":";;cAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;;;cCiQxB;;;KCrSR,wBAAwB;cAEhB,4BAA4B,kBAAkB;cAM9C,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEjB,aAAa,EAAE,aAAa;;;KCH5B;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;KCTU;EAEN;EACA;;EAGA;EACA,OAAO;;KAGD;EACV;EACA,YAAY;;;;;;;;EAQZ;;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;SAcU,QAAQ,SAAS,qBAAqB,QAAQ;EAI3D;EAIA;EAIA;EAIA;EAqBA;IAEM;IACA;IACA,cAAc;;EAMpB,iBAAiB;;;;EAOjB;EAIA;EAIA,YAAY,cAAc,cAAc,cAAc;;;;;;;;;;iBAajC;;iBAWN;;;;;;iBASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkCA;iBA8CM;;;;;iBA6GN;;;;;;;iBAgDM;;;;;;;;;;;;;;;;;;;;;;;;;;mBA+FE,kBACrB,oBACA,yBACA,iBACA,0BACC,QAAQ;WAmGF,YAAY;;;;cCzuCjB,wCAAsC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8R1C,EAAA,KAAA;KAMU;EACV;EACA;EACA;EACA;EACA;EACA;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;;EAEF;IACE;IACA;MACE;MACA;MACA;MACA;MACA;MACA;;IAEF;MACE;;IAEF;MACE,QAAQ;QACN;QACA;QACA;QACA;QACA;;;;EAIN;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;;EAEF;IACE;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;;EAEF;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb,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,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;;EAEF;IACE;IACA;;;KAKQ,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;;;;KC9hB9B;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ;EACR;;;;KCTU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;KC/CG;EACH;EACA;EACA;EACA;;KAGU,kBAAkB;EAC5B,UAAU;EACV,WAAW;EACX;;;;;;;;;;;;;EAaA;;;;;;;;EAQA;EACA;EACA;EACA;EACA;EACA;EACA;;KAGU,gBAAgB;EAC1B,QAAQ;EACR,WAAW;;KAGD,iBAAiB;EAC3B,MAAM;EACN,IAAI;EACJ,WAAW;EACX;;iBAGoB,SAAS,UAAS,kBAAuB,QAAQ;iBAyBjD,eAAe,SAAS,gBAAgB,QAAQ;iBAehD,gBAAgB,SAAS,iBAAiB,QAAQ"}
|
package/dist/index.d.ts
CHANGED
|
@@ -158,10 +158,87 @@ declare abstract class AiDir {
|
|
|
158
158
|
getRelativePathFromCwd(): string;
|
|
159
159
|
getGlobal(): boolean;
|
|
160
160
|
setMainFile(name: string, body: string, frontmatter?: Record<string, unknown>): void;
|
|
161
|
+
/**
|
|
162
|
+
* A nested repository inside a carried directory is the one exclusion worth
|
|
163
|
+
* reporting: unlike `.DS_Store`, it is there on purpose, and the tree it
|
|
164
|
+
* points at is simply not reproduced on generate. Only the top level is
|
|
165
|
+
* checked, which is where a submodule or a stray `git init` puts it, so the
|
|
166
|
+
* check costs one stat per directory rather than a second walk. `fileExists`
|
|
167
|
+
* is a bare `stat`, so it answers for a submodule pointer file and for a real
|
|
168
|
+
* `.git` directory alike.
|
|
169
|
+
*/
|
|
170
|
+
private static warnOnNestedGitDirectory;
|
|
171
|
+
/** Whether any segment of a relative path is dot-prefixed. */
|
|
172
|
+
private static hasHiddenSegment;
|
|
173
|
+
/**
|
|
174
|
+
* Whether the entry a path ends at is itself hidden, its ancestors aside.
|
|
175
|
+
* A shared skill tree usually lives under a dot-directory, so an ancestor
|
|
176
|
+
* says nothing about the file; its own name is what was chosen for it.
|
|
177
|
+
*/
|
|
178
|
+
private static hasHiddenName;
|
|
179
|
+
/**
|
|
180
|
+
* Drop the entries a skill directory must not carry.
|
|
181
|
+
*
|
|
182
|
+
* Three rules. `classifyNeverCarried` comes first, evaluated against the
|
|
183
|
+
* resolved real path as well as the literal one: names that are never skill
|
|
184
|
+
* content stay out however they are reached, so renaming a symbolic link
|
|
185
|
+
* does not turn `~/.aws` into content a skill carries. Next, a real path
|
|
186
|
+
* inside a kernel pseudo-filesystem is refused outright — that is process
|
|
187
|
+
* state, not a file.
|
|
188
|
+
*
|
|
189
|
+
* The third concerns hidden entries a symbolic link reaches outside the
|
|
190
|
+
* directory. Following symlinks out of a source tree is deliberate and
|
|
191
|
+
* documented — it is how a shared skill is referenced from several projects
|
|
192
|
+
* without being duplicated (issue #1707), and the trust boundary is the tree
|
|
193
|
+
* you point Rulesync at. Carrying hidden entries changes what that costs,
|
|
194
|
+
* though: one ordinary-looking link to a home directory would pull in every
|
|
195
|
+
* dotfile under it, and those are the entries with credential value. What
|
|
196
|
+
* decides is the name in the skill directory, not what the link resolves
|
|
197
|
+
* through: a named file keeps its documented behavior even when the target
|
|
198
|
+
* sits under a dot-directory such as `~/.dotfiles`, because somebody chose
|
|
199
|
+
* that name. What the link resolves *to* still counts at the end of the path,
|
|
200
|
+
* though — `notes.md` pointing at `~/.claude/.credentials.json` reaches a
|
|
201
|
+
* file nobody named for a skill — so a hidden final segment is refused on
|
|
202
|
+
* either side. Reaching outside is reported either way, since content from
|
|
203
|
+
* outside the tree is about to be copied into every enabled tool root.
|
|
204
|
+
*
|
|
205
|
+
* A path that cannot be resolved is kept: `realpath` fails on a broken link
|
|
206
|
+
* or a race, and neither is a reason to silently drop a file.
|
|
207
|
+
*/
|
|
208
|
+
/** Report what a carried directory left out, once both walks have had their say. */
|
|
209
|
+
private static warnOnRefusedCarriedFiles;
|
|
210
|
+
private static filterCarriedFiles;
|
|
211
|
+
/**
|
|
212
|
+
* Report what the walk had to leave behind, so a skill that silently lost
|
|
213
|
+
* files says so rather than generating a directory that is quietly short.
|
|
214
|
+
*/
|
|
215
|
+
private static warnOnCarriedWalkLimits;
|
|
216
|
+
/**
|
|
217
|
+
* Walk the directory once more with the hidden routes pruned, and take the
|
|
218
|
+
* files the first walk had to leave behind because the route that reached
|
|
219
|
+
* them ran through a hidden directory. This can only add files, and only ones
|
|
220
|
+
* a fully named route reaches.
|
|
221
|
+
*/
|
|
222
|
+
private static recoverCarriedFilesFromNamedRoutes;
|
|
161
223
|
/**
|
|
162
224
|
* Recursively collects all files from a directory, excluding the specified main file.
|
|
163
225
|
* This is a common utility for loading additional files alongside the main file.
|
|
164
226
|
*
|
|
227
|
+
* Hidden entries are included. The directories this walks are skill trees,
|
|
228
|
+
* whose specification says a skill directory "may contain any files and
|
|
229
|
+
* directories beyond the required `SKILL.md`" — a `.env.example` beside the
|
|
230
|
+
* scripts that read it is content, not noise, and dropping it silently on
|
|
231
|
+
* both import and generate loses part of the skill. What is left out is the
|
|
232
|
+
* set of entries that are never skill content — a nested repository's `.git`,
|
|
233
|
+
* the macOS Finder's `.DS_Store`, credential stores, build and cache trees —
|
|
234
|
+
* as decided by `classifyNeverCarried`. Whole directories from that set are
|
|
235
|
+
* pruned during the walk too, so it never descends into them at all.
|
|
236
|
+
*
|
|
237
|
+
* The walk is bounded and cycle-aware — see `walkCarriedFiles` — because the
|
|
238
|
+
* tree may contain symbolic links that somebody else chose.
|
|
239
|
+
*
|
|
240
|
+
* @see https://agentskills.io/specification
|
|
241
|
+
*
|
|
165
242
|
* @param outputRoot - The base directory path
|
|
166
243
|
* @param relativeDirPath - The relative path to the directory containing the skill
|
|
167
244
|
* @param dirName - The name of the directory
|
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/generate.ts","../src/lib/import.ts","../src/index.ts"],"mappings":";;cAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;;;cCiQxB;;;KCrSR,wBAAwB;cAEhB,4BAA4B,kBAAkB;cAM9C,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEjB,aAAa,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/generate.ts","../src/lib/import.ts","../src/index.ts"],"mappings":";;cAaa;cA+BP,eAAa,EAAA,uBAAA,EAAA;;;;;;;;;IAAoE,EAAA;KAE3E,UAAU,EAAE,aAAa;;;cCiQxB;;;KCrSR,wBAAwB;cAEhB,4BAA4B,kBAAkB;cAM9C,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEjB,aAAa,EAAE,aAAa;;;KCH5B;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;KCTU;EAEN;EACA;;EAGA;EACA,OAAO;;KAGD;EACV;EACA,YAAY;;;;;;;;EAQZ;;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;SAcU,QAAQ,SAAS,qBAAqB,QAAQ;EAI3D;EAIA;EAIA;EAIA;EAqBA;IAEM;IACA;IACA,cAAc;;EAMpB,iBAAiB;;;;EAOjB;EAIA;EAIA,YAAY,cAAc,cAAc,cAAc;;;;;;;;;;iBAajC;;iBAWN;;;;;;iBASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkCA;iBA8CM;;;;;iBA6GN;;;;;;;iBAgDM;;;;;;;;;;;;;;;;;;;;;;;;;;mBA+FE,kBACrB,oBACA,yBACA,iBACA,0BACC,QAAQ;WAmGF,YAAY;;;;cCzuCjB,wCAAsC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8R1C,EAAA,KAAA;KAMU;EACV;EACA;EACA;EACA;EACA;EACA;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;;EAEF;IACE;IACA;MACE;MACA;MACA;MACA;MACA;MACA;;IAEF;MACE;;IAEF;MACE,QAAQ;QACN;QACA;QACA;QACA;QACA;;;;EAIN;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;;EAEF;IACE;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb;IACE;;EAEF;IACE;IACA;IACA,yBAAyB;IACzB,WAAW;;EAEb,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,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;;EAEF;IACE;IACA;;;KAKQ,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;;;;KC9hB9B;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ;EACR;;;;KCTU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;KC/CG;EACH;EACA;EACA;EACA;;KAGU,kBAAkB;EAC5B,UAAU;EACV,WAAW;EACX;;;;;;;;;;;;;EAaA;;;;;;;;EAQA;EACA;EACA;EACA;EACA;EACA;EACA;;KAGU,gBAAgB;EAC1B,QAAQ;EACR,WAAW;;KAGD,iBAAiB;EAC3B,MAAM;EACN,IAAI;EACJ,WAAW;EACX;;iBAGoB,SAAS,UAAS,kBAAuB,QAAQ;iBAyBjD,eAAe,SAAS,gBAAgB,QAAQ;iBAehD,gBAAgB,SAAS,iBAAiB,QAAQ"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Pt as ALL_TOOL_TARGETS, a as convertFromTool$1, fn as ALL_FEATURES, n as generate$1, q as ConfigResolver, r as inspectInputRoots, t as importFromTool$1, tt as ConsoleLogger } from "./import-u8yswsGB.js";
|
|
2
2
|
//#region src/index.ts
|
|
3
3
|
async function generate(options = {}) {
|
|
4
4
|
const { silent = true, verbose = false, ...rest } = options;
|