fa-mcp-sdk 0.4.47 → 0.4.49
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/cli-template/CLAUDE.md
CHANGED
|
@@ -348,16 +348,22 @@ Files inside `.claude/` (SKILL.md and others) are monitored by Claude Code and r
|
|
|
348
348
|
|
|
349
349
|
1. **Copy** the target file to a temp location outside `.claude/`:
|
|
350
350
|
```bash
|
|
351
|
-
|
|
351
|
+
node scripts/fcp.js tmp-skill.md .claude/skills/<skill-name>/SKILL.md
|
|
352
352
|
```
|
|
353
353
|
2. **Edit** `tmp-skill.md` — make ALL changes there (multiple Edit calls are fine).
|
|
354
354
|
3. **Save** atomically via the helper script:
|
|
355
355
|
```bash
|
|
356
|
-
node scripts/
|
|
356
|
+
node scripts/fcp.js .claude/skills/<skill-name>/SKILL.md tmp-skill.md
|
|
357
357
|
```
|
|
358
358
|
4. **Remove** the temp file:
|
|
359
359
|
```bash
|
|
360
360
|
rm tmp-skill.md
|
|
361
361
|
```
|
|
362
362
|
|
|
363
|
-
Never use `Edit` or `Write` directly on files inside `.claude/` — always go through the temp-copy workflow above.
|
|
363
|
+
CRITICAL: Never use `Edit` or `Write` directly on files inside `.claude/` — always go through the temp-copy workflow above.
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
## Formatting
|
|
367
|
+
|
|
368
|
+
MD lines ≤120 chars. Break at 120. Target 100-120. No short lines (60-80). Fill to ~120.
|
|
369
|
+
Exceptions: URLs, code blocks, tables — no wrap.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fa-mcp-sdk",
|
|
3
3
|
"productName": "FA MCP SDK",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.49",
|
|
5
5
|
"description": "Core infrastructure and templates for building Model Context Protocol (MCP) servers with TypeScript",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/core/index.js",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Atomically save content to a file.
|
|
5
5
|
*
|
|
6
6
|
* Usage:
|
|
7
|
-
* node scripts/
|
|
7
|
+
* node scripts/fcp.js <filePath> <contentFilePath>
|
|
8
8
|
*
|
|
9
9
|
* <filePath> — destination path (absolute or relative to project root)
|
|
10
10
|
* <contentFilePath> — path to a temp file whose contents will be written to <filePath>
|
|
@@ -25,7 +25,7 @@ const projectRoot = path.resolve(__dirname, '..');
|
|
|
25
25
|
const [, , rawTarget, rawSource] = process.argv;
|
|
26
26
|
|
|
27
27
|
if (!rawTarget || !rawSource) {
|
|
28
|
-
console.error('Usage: node scripts/
|
|
28
|
+
console.error('Usage: node scripts/fcp.js <filePath> <contentFilePath>');
|
|
29
29
|
process.exit(1);
|
|
30
30
|
}
|
|
31
31
|
|