Merge pull request #163 from thedotmack/copilot/fix-search-server-build-references

This commit is contained in:
Alex Newman
2025-12-03 17:21:04 -05:00
committed by GitHub
6 changed files with 18 additions and 673 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ ${CLAUDE_PLUGIN_ROOT}/
│ ├── summary-hook.js # Summary generation hook │ ├── summary-hook.js # Summary generation hook
│ ├── cleanup-hook.js # Session cleanup hook │ ├── cleanup-hook.js # Session cleanup hook
│ ├── worker-service.cjs # Worker service (CJS) │ ├── worker-service.cjs # Worker service (CJS)
│ └── search-server.mjs # MCP search server (ESM) │ └── search-server.cjs # MCP search server (CJS)
└── ui/ └── ui/
└── viewer.html # Web viewer UI bundle └── viewer.html # Web viewer UI bundle
``` ```
+2 -2
View File
@@ -33,7 +33,7 @@ The build process uses esbuild to compile TypeScript:
1. Compiles TypeScript to JavaScript 1. Compiles TypeScript to JavaScript
2. Creates standalone executables for each hook in `plugin/scripts/` 2. Creates standalone executables for each hook in `plugin/scripts/`
3. Bundles MCP search server to `plugin/scripts/search-server.mjs` 3. Bundles MCP search server to `plugin/scripts/search-server.cjs`
4. Bundles worker service to `plugin/scripts/worker-service.cjs` 4. Bundles worker service to `plugin/scripts/worker-service.cjs`
5. Bundles web viewer UI to `plugin/ui/viewer.html` 5. Bundles web viewer UI to `plugin/ui/viewer.html`
@@ -41,7 +41,7 @@ The build process uses esbuild to compile TypeScript:
- Hook executables: `*-hook.js` (ESM format) - Hook executables: `*-hook.js` (ESM format)
- Smart installer: `smart-install.js` (ESM format) - Smart installer: `smart-install.js` (ESM format)
- Worker service: `worker-service.cjs` (CJS format) - Worker service: `worker-service.cjs` (CJS format)
- Search server: `search-server.mjs` (ESM format) - Search server: `search-server.cjs` (CJS format)
- Viewer UI: `viewer.html` (self-contained HTML bundle) - Viewer UI: `viewer.html` (self-contained HTML bundle)
### Build Scripts ### Build Scripts
+2 -6
View File
@@ -1,12 +1,12 @@
{ {
"name": "claude-mem", "name": "claude-mem",
"version": "6.3.6", "version": "6.4.9",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "claude-mem", "name": "claude-mem",
"version": "6.3.6", "version": "6.4.9",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"dependencies": { "dependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.1.27", "@anthropic-ai/claude-agent-sdk": "^0.1.27",
@@ -1484,7 +1484,6 @@
"integrity": "sha512-RFA/bURkcKzx/X9oumPG9Vp3D3JUgus/d0b67KB0t5S/raciymilkOa66olh78MUI92QLbEJevO7rvqU/kjwKA==", "integrity": "sha512-RFA/bURkcKzx/X9oumPG9Vp3D3JUgus/d0b67KB0t5S/raciymilkOa66olh78MUI92QLbEJevO7rvqU/kjwKA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"@types/prop-types": "*", "@types/prop-types": "*",
"csstype": "^3.0.2" "csstype": "^3.0.2"
@@ -2338,7 +2337,6 @@
"resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz",
"integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==",
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"accepts": "~1.3.8", "accepts": "~1.3.8",
"array-flatten": "1.1.1", "array-flatten": "1.1.1",
@@ -3851,7 +3849,6 @@
"resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
"integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"loose-envify": "^1.1.0" "loose-envify": "^1.1.0"
}, },
@@ -4853,7 +4850,6 @@
"node_modules/zod": { "node_modules/zod": {
"version": "3.25.76", "version": "3.25.76",
"license": "MIT", "license": "MIT",
"peer": true,
"funding": { "funding": {
"url": "https://github.com/sponsors/colinhacks" "url": "https://github.com/sponsors/colinhacks"
} }
+1 -1
View File
@@ -2,7 +2,7 @@
"mcpServers": { "mcpServers": {
"claude-mem-search": { "claude-mem-search": {
"type": "stdio", "type": "stdio",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/search-server.mjs" "command": "${CLAUDE_PLUGIN_ROOT}/scripts/search-server.cjs"
} }
} }
} }
File diff suppressed because one or more lines are too long
+12
View File
@@ -767,6 +767,18 @@ Hello memory agent, you are continuing to observe the primary Claude session.
You do not have access to tools. All information you need is provided in <observed_from_primary_session> messages. Create observations from what you observe - no investigation needed. You do not have access to tools. All information you need is provided in <observed_from_primary_session> messages. Create observations from what you observe - no investigation needed.
CRITICAL: Record what was LEARNED/BUILT/FIXED/DEPLOYED/CONFIGURED, not what you (the observer) are doing. Focus on deliverables and capabilities - what the system NOW DOES differently.
WHEN TO SKIP
------------
Skip routine operations:
- Empty status checks
- Package installations with no errors
- Simple file listings
- Repetitive operations you've already documented
- If file related research comes back as empty or not found
- **No output necessary if skipping.**
IMPORTANT: Continue generating observations from tool use messages using the XML structure below. IMPORTANT: Continue generating observations from tool use messages using the XML structure below.
OUTPUT FORMAT OUTPUT FORMAT