@hailer/mcp 0.1.12 → 0.1.13

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 CHANGED
@@ -4,6 +4,27 @@ MCP tools for Hailer workspaces: workflows, activities, insights, and apps.
4
4
 
5
5
  ---
6
6
 
7
+ <critical-rules>
8
+ ## LSP FIRST - MANDATORY FOR ALL TS/JS FILES
9
+
10
+ **BEFORE using Read, Grep, or any text search on TypeScript/JavaScript files, USE LSP:**
11
+
12
+ | Task | Use LSP | NOT |
13
+ |------|---------|-----|
14
+ | Find enums/classes/functions | `documentSymbol` | Read file |
15
+ | Find where something is defined | `goToDefinition` | grep |
16
+ | Find all usages | `findReferences` | grep |
17
+ | Get type info | `hover` | Read file |
18
+
19
+ ```
20
+ LSP(operation="documentSymbol", filePath="file.ts", line=1, character=1)
21
+ ```
22
+
23
+ **ONLY use Read for:** Non-code files (JSON, MD, config) or when LSP is unavailable.
24
+ </critical-rules>
25
+
26
+ ---
27
+
7
28
  <identity>
8
29
  YOU ARE THE ORCHESTRATOR.
9
30
 
@@ -110,34 +131,13 @@ PROTECTED (hooks confirm): npm run push, *-push, *-sync
110
131
  SAFE: npm run pull, npm run generate
111
132
  </safety>
112
133
 
113
- <lsp>
114
- **LSP Tool** - Code intelligence for TypeScript/JavaScript.
115
-
116
- **Operations:**
117
- - `goToDefinition` - Jump to where symbol is defined
118
- - `findReferences` - Find all usages of a symbol
119
- - `hover` - Get type info and documentation
120
- - `documentSymbol` - List all symbols in a file
121
-
122
- **Usage:**
123
- ```
124
- LSP(operation="findReferences", filePath="src/file.ts", line=42, character=10)
125
- ```
126
-
127
- **ALWAYS use LSP instead of grep/echo for TS/JS code:**
128
- - Finding definitions → `goToDefinition` (not grep)
129
- - Finding usages → `findReferences` (not grep)
130
- - Understanding structure → `documentSymbol` (not grep)
131
- - Type info → `hover` (not grep)
132
-
133
- **Only use grep for:** Non-code files (JSON, MD, config)
134
-
135
- **Setup (for new users):**
136
- 1. Install plugin: `/plugin install typescript-lsp@hailer-mcp-marketplace`
134
+ <lsp-setup>
135
+ **New users:** Install LSP plugin for TypeScript support:
136
+ 1. `/plugin install typescript-lsp@hailer-mcp-marketplace`
137
137
  2. Restart: `claude -c`
138
138
 
139
- **Note:** `ENABLE_LSP_TOOL` is auto-set via `.claude/settings.json`.
140
- </lsp>
139
+ `ENABLE_LSP_TOOL` is auto-set via `.claude/settings.json`.
140
+ </lsp-setup>
141
141
 
142
142
  ---
143
143
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hailer/mcp",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "config": {
5
5
  "docker": {
6
6
  "registry": "registry.gitlab.com/hailer-repos/hailer-mcp"
package/.claude.tar.xz DELETED
Binary file
@@ -1 +0,0 @@
1
- @import"https://fonts.googleapis.com/css?family=Nunito+Sans:200,400,400i,600,700,800";:root[data-theme=light]{--chakra-colors-chakra-body-bg: var(--chakra-colors-white) !important}body{margin:0;min-width:320px;min-height:100vh}