rulesync 6.5.0 → 6.6.1
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 +34 -4
- package/dist/index.cjs +480 -70
- package/dist/index.js +480 -70
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -36,8 +36,19 @@ rulesync --help
|
|
|
36
36
|
|
|
37
37
|
Download pre-built binaries from the [latest release](https://github.com/dyoshikawa/rulesync/releases/latest). These binaries are built using [Bun's single-file executable bundler](https://bun.sh/docs/bundler/executables).
|
|
38
38
|
|
|
39
|
+
**Quick Install (Linux/macOS - No sudo required):**
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
curl -fsSL https://github.com/dyoshikawa/rulesync/releases/latest/download/install.sh | bash
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Options:
|
|
46
|
+
|
|
47
|
+
- Install specific version: `curl -fsSL https://github.com/dyoshikawa/rulesync/releases/latest/download/install.sh | bash -s -- v6.4.0`
|
|
48
|
+
- Custom directory: `RULESYNC_HOME=~/.local curl -fsSL https://github.com/dyoshikawa/rulesync/releases/latest/download/install.sh | bash`
|
|
49
|
+
|
|
39
50
|
<details>
|
|
40
|
-
<summary>
|
|
51
|
+
<summary>Manual installation (requires sudo)</summary>
|
|
41
52
|
|
|
42
53
|
#### Linux (x64)
|
|
43
54
|
|
|
@@ -228,6 +239,15 @@ npx rulesync generate --check --targets "*" --features "*"
|
|
|
228
239
|
|
|
229
240
|
# Add generated files to .gitignore
|
|
230
241
|
npx rulesync gitignore
|
|
242
|
+
|
|
243
|
+
# Update rulesync to the latest version (single-binary installs)
|
|
244
|
+
npx rulesync update
|
|
245
|
+
|
|
246
|
+
# Check for updates without installing
|
|
247
|
+
npx rulesync update --check
|
|
248
|
+
|
|
249
|
+
# Force update even if already at latest version
|
|
250
|
+
npx rulesync update --force
|
|
231
251
|
```
|
|
232
252
|
|
|
233
253
|
## Preview Modes
|
|
@@ -255,12 +275,12 @@ echo $? # 0 if up to date, 1 if changes needed
|
|
|
255
275
|
> [!NOTE]
|
|
256
276
|
> `--dry-run` and `--check` cannot be used together.
|
|
257
277
|
|
|
258
|
-
## Fetch Command (
|
|
278
|
+
## Fetch Command (In Development)
|
|
259
279
|
|
|
260
280
|
The `fetch` command allows you to fetch configuration files directly from a Git repository (GitHub/GitLab).
|
|
261
281
|
|
|
262
|
-
> [!
|
|
263
|
-
> This feature is
|
|
282
|
+
> [!NOTE]
|
|
283
|
+
> This feature is in development and may change in future releases.
|
|
264
284
|
|
|
265
285
|
**Note:** The fetch command searches for feature directories (`rules/`, `commands/`, `skills/`, `subagents/`, etc.) directly at the specified path, without requiring a `.rulesync/` directory structure. This allows fetching from external repositories like `vercel-labs/agent-skills` or `anthropics/skills`.
|
|
266
286
|
|
|
@@ -875,6 +895,16 @@ So, in this case, approximately 92% reduction in MCP tools consumption!
|
|
|
875
895
|
|
|
876
896
|
</details>
|
|
877
897
|
|
|
898
|
+
## Official Skills
|
|
899
|
+
|
|
900
|
+
Rulesync provides official skills that you can install using the fetch command:
|
|
901
|
+
|
|
902
|
+
```bash
|
|
903
|
+
npx rulesync fetch dyoshikawa/rulesync --features skills
|
|
904
|
+
```
|
|
905
|
+
|
|
906
|
+
This will install the Rulesync documentation skill to your project.
|
|
907
|
+
|
|
878
908
|
## Rulesync MCP Server
|
|
879
909
|
|
|
880
910
|
Rulesync provides an MCP (Model Context Protocol) server that enables AI agents to manage your Rulesync files. This allows AI agents to discover, read, create, update, and delete files dynamically.
|