@oleksandr.rudnychenko/sync_loop 0.2.1 → 0.2.3
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 +3 -3
- package/bin/cli.js +9 -9
- package/package.json +2 -2
- package/src/server.js +1 -1
- package/template/README.md +3 -3
package/README.md
CHANGED
|
@@ -11,9 +11,9 @@ Add to your MCP client configuration:
|
|
|
11
11
|
```json
|
|
12
12
|
{
|
|
13
13
|
"mcpServers": {
|
|
14
|
-
"
|
|
14
|
+
"sync_loop": {
|
|
15
15
|
"command": "npx",
|
|
16
|
-
"args": ["-y", "
|
|
16
|
+
"args": ["-y", "-p", "@oleksandr.rudnychenko/sync_loop", "sync_loop"]
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -94,7 +94,7 @@ Three operational modes:
|
|
|
94
94
|
If you also want the protocol files in your project (for offline use or customization), use the `init` tool:
|
|
95
95
|
|
|
96
96
|
```
|
|
97
|
-
Use the
|
|
97
|
+
Use the sync_loop init tool to scaffold files for copilot/cursor/claude/all
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
When an AI agent performs this step, it should ask first:
|
package/bin/cli.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
const args = process.argv.slice(2);
|
|
4
4
|
const command = args[0];
|
|
@@ -8,12 +8,12 @@ const command = args[0];
|
|
|
8
8
|
// ---------------------------------------------------------------------------
|
|
9
9
|
if (args.includes("--help") || args.includes("-h")) {
|
|
10
10
|
process.stdout.write(`
|
|
11
|
-
|
|
11
|
+
sync_loop — MCP server + CLI for the SyncLoop agent reasoning protocol
|
|
12
12
|
|
|
13
13
|
Usage:
|
|
14
|
-
npx
|
|
15
|
-
npx
|
|
16
|
-
npx
|
|
14
|
+
npx -y -p @oleksandr.rudnychenko/sync_loop sync_loop Start MCP server (stdio transport)
|
|
15
|
+
npx -y -p @oleksandr.rudnychenko/sync_loop sync_loop init [--target <platform>] Scaffold files into current project
|
|
16
|
+
npx -y -p @oleksandr.rudnychenko/sync_loop sync_loop --help Show this help
|
|
17
17
|
|
|
18
18
|
Init targets:
|
|
19
19
|
copilot .github/instructions/ + copilot-instructions.md
|
|
@@ -25,9 +25,9 @@ MCP Configuration (add to your client settings):
|
|
|
25
25
|
|
|
26
26
|
{
|
|
27
27
|
"mcpServers": {
|
|
28
|
-
"
|
|
28
|
+
"sync_loop": {
|
|
29
29
|
"command": "npx",
|
|
30
|
-
"args": ["-y", "
|
|
30
|
+
"args": ["-y", "-p", "@oleksandr.rudnychenko/sync_loop", "sync_loop"]
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -36,13 +36,13 @@ Resources: Protocol docs on-demand (reasoning kernel, validation, feedback, pat
|
|
|
36
36
|
Tools: init — scaffold platform-specific files
|
|
37
37
|
Prompts: bootstrap — wire SyncLoop to your project; protocol — reasoning loop
|
|
38
38
|
|
|
39
|
-
https://github.com/
|
|
39
|
+
https://github.com/oleksandr-rud/SyncLoop
|
|
40
40
|
`);
|
|
41
41
|
process.exit(0);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
// ---------------------------------------------------------------------------
|
|
45
|
-
// CLI: npx
|
|
45
|
+
// CLI: npx sync_loop init
|
|
46
46
|
// ---------------------------------------------------------------------------
|
|
47
47
|
if (command === "init") {
|
|
48
48
|
const targetIdx = args.indexOf("--target");
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oleksandr.rudnychenko/sync_loop",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "MCP server for the SyncLoop agent reasoning protocol — works with Copilot, Cursor, Claude Code",
|
|
6
6
|
"bin": {
|
|
7
|
-
"
|
|
7
|
+
"sync_loop": "./bin/cli.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"bin/",
|
package/src/server.js
CHANGED
package/template/README.md
CHANGED
|
@@ -11,9 +11,9 @@ Add the SyncLoop MCP server to your AI coding client. The agent gets the full pr
|
|
|
11
11
|
```json
|
|
12
12
|
{
|
|
13
13
|
"mcpServers": {
|
|
14
|
-
|
|
14
|
+
"sync_loop": {
|
|
15
15
|
"command": "npx",
|
|
16
|
-
|
|
16
|
+
"args": ["-y", "-p", "@oleksandr.rudnychenko/sync_loop", "sync_loop"]
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -38,7 +38,7 @@ If you want the protocol files in your project (for offline use, customization,
|
|
|
38
38
|
|
|
39
39
|
### Via MCP (ask the agent)
|
|
40
40
|
|
|
41
|
-
Ask: "Use the
|
|
41
|
+
Ask: "Use the sync_loop init tool to scaffold files for [copilot/cursor/claude/all] into this project"
|
|
42
42
|
|
|
43
43
|
Before calling `init`, the agent should ask:
|
|
44
44
|
"Which SyncLoop target platform should I scaffold: `copilot`, `cursor`, `claude`, or `all`?"
|