@sansynx/erroratlas 0.1.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/package.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "@sansynx/erroratlas",
3
+ "version": "0.1.0",
4
+ "private": false,
5
+ "type": "module",
6
+ "description": "Hosted ErrorAtlas MCP client and local debugging memory tools for coding agents.",
7
+ "license": "MIT",
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "engines": {
12
+ "node": ">=18"
13
+ },
14
+ "bin": {
15
+ "erroratlas": "dist/cli/index.js",
16
+ "erroratlas-mcp": "dist/mcp/server.js"
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "templates",
21
+ "public",
22
+ "README.md"
23
+ ],
24
+ "scripts": {
25
+ "sync:assets": "node scripts/sync-assets.mjs",
26
+ "dev": "npm run sync:assets && wrangler dev",
27
+ "deploy": "wrangler deploy",
28
+ "build": "npm run sync:assets && tsc -p tsconfig.json",
29
+ "typecheck": "tsc --noEmit",
30
+ "test:e2e": "npm run build && node scripts/e2e-smoke.mjs",
31
+ "prepack": "npm run build",
32
+ "mcp": "tsx src/mcp/server.ts",
33
+ "cli": "tsx src/cli/index.ts"
34
+ },
35
+ "keywords": [
36
+ "mcp",
37
+ "debugging",
38
+ "coding-agents",
39
+ "supermemory"
40
+ ],
41
+ "dependencies": {
42
+ "@modelcontextprotocol/sdk": "^1.17.5",
43
+ "zod": "^3.25.76"
44
+ },
45
+ "devDependencies": {
46
+ "@cloudflare/workers-types": "latest",
47
+ "@types/node": "^24.0.12",
48
+ "playwright": "^1.61.1",
49
+ "tsx": "^4.20.3",
50
+ "typescript": "^5.8.3",
51
+ "wrangler": "^4.24.0"
52
+ }
53
+ }
@@ -0,0 +1,6 @@
1
+ <svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="64" height="64" rx="16" fill="#0F0F0E"/>
3
+ <path d="M18 42V20H47" stroke="#F4EEE7" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M18 42H46" stroke="#FF5A1F" stroke-width="5" stroke-linecap="round"/>
5
+ <path d="M28 31H43" stroke="#F4EEE7" stroke-width="5" stroke-linecap="round"/>
6
+ </svg>
@@ -0,0 +1,7 @@
1
+ {
2
+ "apiUrl": "https://erroratlas.your-workers-subdomain.workers.dev",
3
+ "agentKeyEnv": "ERRORATLAS_API_KEY",
4
+ "supermemoryUrl": "http://localhost:6767",
5
+ "supermemoryKeyEnv": "SUPERMEMORY_API_KEY",
6
+ "defaultVisibility": "team"
7
+ }
@@ -0,0 +1,13 @@
1
+ # ErrorAtlas Agent Instructions
2
+
3
+ Use ErrorAtlas only for debugging memory and remediation lookup.
4
+
5
+ Before attempting to fix an error, call `erroratlas.search_error` with the exact error, stack trace, language, framework, package manager, command, exit code, and dependency versions when available.
6
+
7
+ When an error is meaningful, call `erroratlas.capture_error_signal`. Capture only useful debugging signals: sanitized error text, stack summary, failing command, exit code, package manager, framework, dependency versions, attempted fix, and verification result. Do not send source files, secrets, customer data, private URLs, or full local paths.
8
+
9
+ After a fix works, call `erroratlas.publish_resolution` with the root cause, failed attempts, final fix, verification command, affected framework, and risk level.
10
+
11
+ Supermemory is local. Store full private project context in Supermemory only. The ErrorAtlas MCP server redacts fields before remote API calls, and the Worker encrypts payload snapshots before database insert.
12
+
13
+ Follow the repository's existing instructions first. ErrorAtlas does not override `AGENTS.md`, `CLAUDE.md`, Cursor rules, Windsurf rules, or project-specific policies.
@@ -0,0 +1,14 @@
1
+ {
2
+ "mcpServers": {
3
+ "erroratlas": {
4
+ "command": "npx",
5
+ "args": ["-y", "--package", "@sansynx/erroratlas", "erroratlas", "mcp"],
6
+ "env": {
7
+ "ERRORATLAS_API_URL": "https://erroratlas.your-workers-subdomain.workers.dev",
8
+ "ERRORATLAS_API_KEY": "ea_live_replace_after_creating_agent_key",
9
+ "SUPERMEMORY_URL": "http://localhost:6767",
10
+ "SUPERMEMORY_API_KEY": "optional_local_supermemory_key"
11
+ }
12
+ }
13
+ }
14
+ }