@lifeaitools/rdc-skills 0.24.18 → 0.24.19

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rdc",
3
- "version": "0.24.18",
3
+ "version": "0.24.19",
4
4
  "description": "RDC typed-agent dispatch skill suite for Claude Code — plan, build, review, overnight unattended builds with work-item tracking and TDD enforcement.",
5
5
  "author": {
6
6
  "name": "LIFEAI",
package/README.md CHANGED
@@ -90,6 +90,19 @@ curl -s -X POST https://rdc-skills.regendevcorp.com/mcp \
90
90
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"curl","version":"1"}}}'
91
91
  ```
92
92
 
93
+ Responses come back as Server-Sent Events. For plain curl usage, extract the
94
+ JSON-RPC envelope from the `data:` line:
95
+
96
+ ```bash
97
+ curl -s -X POST https://rdc-skills.regendevcorp.com/mcp \
98
+ -H 'Content-Type: application/json' \
99
+ -H 'Accept: application/json, text/event-stream' \
100
+ -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}' \
101
+ | sed -n 's/^data: //p'
102
+ ```
103
+
104
+ Tool results put the human-readable payload in `result.content[0].text`.
105
+
93
106
  List tools:
94
107
 
95
108
  ```bash
package/commands/help.md CHANGED
@@ -46,11 +46,18 @@ Health: curl -s https://rdc-skills.regendevcorp.com/health
46
46
  Header: Accept: application/json, text/event-stream
47
47
  Tools: rdc_skill_list, rdc_skill_search, rdc_skill_get
48
48
  Variants: cli for Claude Code/Codex/local terminal; cloud for claude.ai
49
+ Response: SSE `data:` line contains the JSON-RPC envelope; tool text is result.content[0].text
49
50
  ```
50
51
 
51
52
  Minimal curl examples:
52
53
 
53
54
  ```bash
55
+ curl -s -X POST https://rdc-skills.regendevcorp.com/mcp \
56
+ -H 'Content-Type: application/json' \
57
+ -H 'Accept: application/json, text/event-stream' \
58
+ -d '{"jsonrpc":"2.0","id":0,"method":"tools/list"}' \
59
+ | sed -n 's/^data: //p'
60
+
54
61
  curl -s -X POST https://rdc-skills.regendevcorp.com/mcp \
55
62
  -H 'Content-Type: application/json' \
56
63
  -H 'Accept: application/json, text/event-stream' \
package/git-sha.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "sha": "2a43eed5f23588339a213ea05dc96cdcbce3b4b6"
2
+ "sha": "9c73b2cb3e0d6caedfd64996cc3ce587344d5859"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifeaitools/rdc-skills",
3
- "version": "0.24.18",
3
+ "version": "0.24.19",
4
4
  "description": "RDC typed-agent dispatch skill suite for Claude Code - plan, build, review, overnight builds",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -94,6 +94,14 @@ RDC SKILLS — manifest: .claude-plugin/plugin.json @ v{version}
94
94
  Header: Accept: application/json, text/event-stream
95
95
  Tools: rdc_skill_list, rdc_skill_search, rdc_skill_get
96
96
  Variants: cli for Claude Code/Codex/local terminal; cloud for claude.ai
97
+ Response: SSE `data:` line contains the JSON-RPC envelope; tool text is result.content[0].text
98
+
99
+ Extract the JSON-RPC envelope:
100
+ curl -s -X POST https://rdc-skills.regendevcorp.com/mcp \
101
+ -H 'Content-Type: application/json' \
102
+ -H 'Accept: application/json, text/event-stream' \
103
+ -d '{"jsonrpc":"2.0","id":0,"method":"tools/list"}' \
104
+ | sed -n 's/^data: //p'
97
105
 
98
106
  List skills:
99
107
  curl -s -X POST https://rdc-skills.regendevcorp.com/mcp \
@@ -20,6 +20,9 @@ const docs = Object.fromEntries(
20
20
  for (const [name, text] of Object.entries(docs)) {
21
21
  assert.match(text, /https:\/\/rdc-skills\.regendevcorp\.com\/mcp/, `${name} must expose production MCP endpoint`);
22
22
  assert.match(text, /Accept: application\/json, text\/event-stream/, `${name} must show Streamable HTTP Accept header`);
23
+ assert.match(text, /data:/, `${name} must explain Streamable HTTP SSE data lines`);
24
+ assert.match(text, /result\.content\[0\]\.text/, `${name} must explain where tool text lives`);
25
+ assert.match(text, /sed -n 's\/\^data: \/\/p'/, `${name} must include a plain curl SSE extraction example`);
23
26
  assert.match(text, /rdc_skill_list/, `${name} must mention rdc_skill_list`);
24
27
  assert.match(text, /rdc_skill_search/, `${name} must mention rdc_skill_search`);
25
28
  assert.match(text, /rdc_skill_get/, `${name} must mention rdc_skill_get`);