@meshstream/agent-skills 0.1.0 → 0.2.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 +1 -0
- package/package.json +13 -4
- package/src/cli.mjs +3 -2
- package/src/skill-content.mjs +12 -0
package/README.md
CHANGED
|
@@ -16,6 +16,7 @@ npm test
|
|
|
16
16
|
npx @meshstream/agent-skills add --ide codex
|
|
17
17
|
npx @meshstream/agent-skills add --ide cursor
|
|
18
18
|
npx @meshstream/agent-skills add --ide claude
|
|
19
|
+
npx @meshstream/agent-skills add --ide codebuddy
|
|
19
20
|
npx @meshstream/agent-skills add --ide all
|
|
20
21
|
```
|
|
21
22
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshstream/agent-skills",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "MeshStream AI Coding skills for SDK integration, troubleshooting, and P2P acceptance.",
|
|
6
|
-
"repository": {
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/Mesh-Stream/meshstream-ai-tools.git",
|
|
9
|
+
"directory": "packages/agent-skills"
|
|
10
|
+
},
|
|
7
11
|
"homepage": "https://meshstream.net/docs/ai-coding",
|
|
8
12
|
"type": "module",
|
|
9
|
-
"publishConfig": {
|
|
10
|
-
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"src",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
11
20
|
"bin": {
|
|
12
21
|
"meshstream-agent-skills": "src/cli.mjs"
|
|
13
22
|
},
|
package/src/cli.mjs
CHANGED
|
@@ -8,10 +8,11 @@ const targets = {
|
|
|
8
8
|
codex: [{ path: ".codex/skills/meshstream-web-integration/SKILL.md", body: skillBody }],
|
|
9
9
|
cursor: [{ path: ".cursor/rules/meshstream-web-integration.mdc", body: cursorBody }],
|
|
10
10
|
claude: [{ path: ".claude/skills/meshstream-web-integration/SKILL.md", body: claudeBody }],
|
|
11
|
+
codebuddy: [{ path: ".codebuddy/skills/meshstream-web-integration/SKILL.md", body: skillBody }],
|
|
11
12
|
};
|
|
12
13
|
|
|
13
14
|
function usage() {
|
|
14
|
-
return `MeshStream Agent Skills\n\nUsage:\n meshstream-agent-skills add --ide <codex|cursor|claude|all> [--project <path>] [--force]\n\nThe installer writes only the selected editor's project-local instructions. Existing files are preserved unless --force is supplied.`;
|
|
15
|
+
return `MeshStream Agent Skills\n\nUsage:\n meshstream-agent-skills add --ide <codex|cursor|claude|codebuddy|all> [--project <path>] [--force]\n\nThe installer writes only the selected editor's project-local instructions. Existing files are preserved unless --force is supplied.`;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
function parseArgs(argv) {
|
|
@@ -31,7 +32,7 @@ function parseArgs(argv) {
|
|
|
31
32
|
async function install(options) {
|
|
32
33
|
const requested = options.ide === "all" ? Object.keys(targets) : [options.ide];
|
|
33
34
|
if (!requested[0] || requested.some((ide) => !targets[ide])) {
|
|
34
|
-
throw new Error("--ide must be codex, cursor, claude, or all");
|
|
35
|
+
throw new Error("--ide must be codex, cursor, claude, codebuddy, or all");
|
|
35
36
|
}
|
|
36
37
|
const written = [];
|
|
37
38
|
for (const ide of requested) {
|
package/src/skill-content.mjs
CHANGED
|
@@ -28,6 +28,18 @@ search_docs, get_sdk_release, get_integration_guide, and get_troubleshooting_gui
|
|
|
28
28
|
6. Release the MeshStream session on source change, playback end, page hide, and player destruction.
|
|
29
29
|
7. Run the existing build and test commands after making the smallest necessary change.
|
|
30
30
|
|
|
31
|
+
## Supported task modes
|
|
32
|
+
|
|
33
|
+
Choose the smallest mode that matches the request:
|
|
34
|
+
|
|
35
|
+
- **from-zero integration:** inspect the project, select the platform SDK and existing player, then produce the smallest working change;
|
|
36
|
+
- **demo run:** find the repository's public example or demo, configure only local environment variables, run it, and report the actual result;
|
|
37
|
+
- **troubleshooting:** collect the concrete error, SDK status, bootstrap/Tracker/ICE evidence, and CDN fallback result before proposing a fix;
|
|
38
|
+
- **feature extension:** preserve the current integration and add one requested capability with focused tests and lifecycle cleanup;
|
|
39
|
+
- **documentation lookup:** use the read-only MeshStream docs MCP and include source URLs in the answer.
|
|
40
|
+
|
|
41
|
+
For Android, iOS, macOS, Windows, Flutter, React Native, and Uniapp, use the matching official setup and advanced guides. Do not silently downgrade a real-device or cross-network check to a simulator or build-only result.
|
|
42
|
+
|
|
31
43
|
## P2P acceptance requirements
|
|
32
44
|
|
|
33
45
|
Peer count or a WebSocket connection alone is not proof of P2P delivery. Use two clients with the same content identity and record timestamped values for:
|