@cyanheads/mcp-ts-core 0.2.0 → 0.2.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/CLAUDE.md +1 -1
- package/README.md +1 -1
- package/dist/utils/parsing/xmlParser.d.ts.map +1 -1
- package/dist/utils/parsing/xmlParser.js +3 -1
- package/dist/utils/parsing/xmlParser.js.map +1 -1
- package/package.json +1 -1
- package/skills/report-issue-framework/SKILL.md +2 -10
- package/skills/report-issue-local/SKILL.md +2 -10
- package/templates/.github/ISSUE_TEMPLATE/bug_report.yml +1 -1
- package/templates/AGENTS.md +2 -0
package/CLAUDE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Agent Protocol
|
|
2
2
|
|
|
3
|
-
**Package:** `@cyanheads/mcp-ts-core` · **Version:** 0.2.
|
|
3
|
+
**Package:** `@cyanheads/mcp-ts-core` · **Version:** 0.2.1
|
|
4
4
|
**npm:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) · **Docker:** [ghcr.io/cyanheads/mcp-ts-core](https://ghcr.io/cyanheads/mcp-ts-core)
|
|
5
5
|
|
|
6
6
|
> **Developer note:** Never assume. Read related files and docs before making changes. Read full file content for context. Never edit a file before reading it.
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
<div align="center">
|
|
7
7
|
|
|
8
|
-
[](./CHANGELOG.md) [](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/specification/2025-11-25/changelog.mdx) [](https://modelcontextprotocol.io/) [](./LICENSE)
|
|
9
9
|
|
|
10
10
|
[](https://www.typescriptlang.org/) [](https://bun.sh/)
|
|
11
11
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xmlParser.d.ts","sourceRoot":"","sources":["../../../src/utils/parsing/xmlParser.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"xmlParser.d.ts","sourceRoot":"","sources":["../../../src/utils/parsing/xmlParser.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,oCAAoC,CAAC;AAoBhG;;;;;;;;;GASG;AACH,qBAAa,SAAS;IACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACG,KAAK,CAAC,CAAC,GAAG,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,CAAC,CAAC;CA6DlF;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,SAAS,WAAkB,CAAC"}
|
|
@@ -15,7 +15,9 @@ import { thinkBlockRegex } from './thinkBlock.js';
|
|
|
15
15
|
let _fxp;
|
|
16
16
|
let _xmlParserInstance;
|
|
17
17
|
async function getFxp() {
|
|
18
|
-
|
|
18
|
+
if (_fxp)
|
|
19
|
+
return _fxp;
|
|
20
|
+
_fxp = await import('fast-xml-parser').catch(() => {
|
|
19
21
|
throw configurationError('Install "fast-xml-parser" to use XML parsing: bun add fast-xml-parser');
|
|
20
22
|
});
|
|
21
23
|
return _fxp;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xmlParser.js","sourceRoot":"","sources":["../../../src/utils/parsing/xmlParser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAuB,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChG,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"xmlParser.js","sourceRoot":"","sources":["../../../src/utils/parsing/xmlParser.ts"],"names":[],"mappings":"AAAA;;;;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QAAQ,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;aAC/D,CAAC,CAAC;QACL,CAAC;IACH,CAAC;CACF;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyanheads/mcp-ts-core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"mcpName": "io.github.cyanheads/mcp-ts-core",
|
|
5
5
|
"description": "Agent-native TypeScript framework for building MCP servers. Build tools, not infrastructure. Declarative definitions with auth, multi-backend storage, OpenTelemetry, and first-class support for Node.js and Cloudflare Workers.",
|
|
6
6
|
"main": "dist/core/index.js",
|
|
@@ -33,15 +33,7 @@ gh issue list -R cyanheads/mcp-ts-core --search "your error message or keyword"
|
|
|
33
33
|
|
|
34
34
|
## Redact Before Posting
|
|
35
35
|
|
|
36
|
-
GitHub issues are **public
|
|
37
|
-
|
|
38
|
-
- **Secrets** — API keys, tokens, passwords, `MCP_AUTH_SECRET_KEY`, `OPENROUTER_API_KEY`, JWT values
|
|
39
|
-
- **Credentials** — auth headers (`Authorization: Bearer ...`), session IDs, cookie values
|
|
40
|
-
- **PII** — names, emails, IP addresses, user IDs tied to real people
|
|
41
|
-
- **Internal URLs** — private API endpoints, internal hostnames, database connection strings
|
|
42
|
-
- **Env dumps** — `process.env` output, `.env` file contents, Cloudflare Worker bindings
|
|
43
|
-
|
|
44
|
-
Replace sensitive values with obvious placeholders: `REDACTED`, `sk-...REDACTED`, `https://internal.example.com`, `user-id-123`. Do not rely on partial masking (`sk-abc...xyz`) — partial keys can still be exploited.
|
|
36
|
+
GitHub issues are **public**. Do not include secrets, credentials, API keys, or tokens. Redact sensitive values from env vars, headers, and logs before submitting. Replace with obvious placeholders: `REDACTED`, `sk-...REDACTED`. Do not rely on partial masking — partial keys can still be exploited.
|
|
45
37
|
|
|
46
38
|
## Filing a Bug
|
|
47
39
|
|
|
@@ -227,5 +219,5 @@ gh issue list -R cyanheads/mcp-ts-core --author @me
|
|
|
227
219
|
- [ ] Confirmed bug is in `@cyanheads/mcp-ts-core`, not server code
|
|
228
220
|
- [ ] Running latest (or documented) framework version
|
|
229
221
|
- [ ] Searched existing issues — no duplicate found
|
|
230
|
-
- [ ] All secrets, credentials,
|
|
222
|
+
- [ ] All secrets, credentials, and tokens redacted
|
|
231
223
|
- [ ] Issue filed with: version, runtime, repro code, actual vs expected behavior
|
|
@@ -42,15 +42,7 @@ gh issue list --search "your error message or keyword"
|
|
|
42
42
|
|
|
43
43
|
## Redact Before Posting
|
|
44
44
|
|
|
45
|
-
GitHub issues are **public
|
|
46
|
-
|
|
47
|
-
- **Secrets** — API keys, tokens, passwords, env var values from `.env` or server config
|
|
48
|
-
- **Credentials** — auth headers (`Authorization: Bearer ...`), session IDs, cookie values
|
|
49
|
-
- **PII** — names, emails, IP addresses, user IDs tied to real people
|
|
50
|
-
- **Internal URLs** — private API endpoints, internal hostnames, database connection strings
|
|
51
|
-
- **Env dumps** — `process.env` output, `.env` file contents, Worker bindings
|
|
52
|
-
|
|
53
|
-
Replace sensitive values with obvious placeholders: `REDACTED`, `sk-...REDACTED`, `https://internal.example.com`, `user-id-123`. Do not rely on partial masking (`sk-abc...xyz`) — partial keys can still be exploited.
|
|
45
|
+
GitHub issues are **public**. Do not include secrets, credentials, API keys, or tokens. Redact sensitive values from env vars, headers, and logs before submitting. Replace with obvious placeholders: `REDACTED`, `sk-...REDACTED`. Do not rely on partial masking — partial keys can still be exploited.
|
|
54
46
|
|
|
55
47
|
## Filing a Bug
|
|
56
48
|
|
|
@@ -221,5 +213,5 @@ gh issue close <number> --reason completed --comment "Fixed in <commit or PR>"
|
|
|
221
213
|
|
|
222
214
|
- [ ] Confirmed bug is in server code, not the framework
|
|
223
215
|
- [ ] Searched existing issues — no duplicate found
|
|
224
|
-
- [ ] All secrets, credentials,
|
|
216
|
+
- [ ] All secrets, credentials, and tokens redacted
|
|
225
217
|
- [ ] Issue filed with: version, runtime, repro steps, actual vs expected behavior
|
|
@@ -5,7 +5,7 @@ body:
|
|
|
5
5
|
- type: markdown
|
|
6
6
|
attributes:
|
|
7
7
|
value: |
|
|
8
|
-
**Do not include secrets, credentials, API keys, tokens
|
|
8
|
+
**Do not include secrets, credentials, API keys, or tokens.** Redact sensitive values from env vars, headers, and logs before submitting. GitHub issues are public.
|
|
9
9
|
|
|
10
10
|
- type: input
|
|
11
11
|
id: version
|
package/templates/AGENTS.md
CHANGED
|
@@ -227,6 +227,8 @@ Available skills:
|
|
|
227
227
|
| `devcheck` | Lint, format, typecheck, audit |
|
|
228
228
|
| `polish-docs-meta` | Finalize docs, README, metadata, and agent protocol for shipping |
|
|
229
229
|
| `maintenance` | Sync skills and dependencies after updates |
|
|
230
|
+
| `report-issue-framework` | File a bug or feature request against `@cyanheads/mcp-ts-core` via `gh` CLI |
|
|
231
|
+
| `report-issue-local` | File a bug or feature request against this server's own repo via `gh` CLI |
|
|
230
232
|
| `api-auth` | Auth modes, scopes, JWT/OAuth |
|
|
231
233
|
| `api-config` | AppConfig, parseConfig, env vars |
|
|
232
234
|
| `api-context` | Context interface, logger, state, progress |
|