@hailer/mcp 1.3.21 → 1.3.32

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.
Files changed (95) hide show
  1. package/.claude/skills/create-and-publish-app/SKILL.md +44 -56
  2. package/.claude/skills/hailer-app-builder/SKILL.md +414 -970
  3. package/.claude/skills/hailer-app-primitives/SKILL.md +742 -0
  4. package/.claude/skills/hailer-apps-pictures/SKILL.md +191 -87
  5. package/.claude/skills/hailer-design-patterns/SKILL.md +317 -0
  6. package/.claude/skills/hailer-design-system/SKILL.md +202 -149
  7. package/.claude/skills/hailer-docs-search/SKILL.md +75 -0
  8. package/.claude/skills/hailer-workflow-archetypes/SKILL.md +301 -0
  9. package/.claude/skills/insight-join-patterns/SKILL.md +313 -0
  10. package/.claude/skills/publish-hailer-app/SKILL.md +211 -0
  11. package/.claude/skills/sdk-activity-patterns/SKILL.md +257 -105
  12. package/.claude/skills/sdk-function-fields/SKILL.md +253 -492
  13. package/.claude/skills/sdk-insight-calculations/SKILL.md +364 -0
  14. package/.claude/skills/sdk-insight-queries/SKILL.md +192 -397
  15. package/.claude/skills/sdk-ws-config-skill/SKILL.md +265 -720
  16. package/.claude/skills/tool-response-verification/SKILL.md +143 -0
  17. package/CLAUDE.md +45 -19
  18. package/dist/bot/bot.d.ts.map +1 -1
  19. package/dist/bot/bot.js +21 -1
  20. package/dist/bot/bot.js.map +1 -1
  21. package/dist/bot/services/helper-prompt.d.ts +1 -1
  22. package/dist/bot/services/helper-prompt.d.ts.map +1 -1
  23. package/dist/bot/services/helper-prompt.js +4 -6
  24. package/dist/bot/services/helper-prompt.js.map +1 -1
  25. package/dist/bot/services/message-formatter.d.ts.map +1 -1
  26. package/dist/bot/services/message-formatter.js +2 -1
  27. package/dist/bot/services/message-formatter.js.map +1 -1
  28. package/dist/bot/services/system-prompt.d.ts.map +1 -1
  29. package/dist/bot/services/system-prompt.js +21 -34
  30. package/dist/bot/services/system-prompt.js.map +1 -1
  31. package/dist/cli.d.ts.map +1 -1
  32. package/dist/cli.js +6 -0
  33. package/dist/cli.js.map +1 -1
  34. package/dist/config.d.ts +1 -0
  35. package/dist/config.d.ts.map +1 -1
  36. package/dist/config.js +5 -0
  37. package/dist/config.js.map +1 -1
  38. package/dist/lib/object-id.d.ts +9 -0
  39. package/dist/lib/object-id.d.ts.map +1 -0
  40. package/dist/lib/object-id.js +15 -0
  41. package/dist/lib/object-id.js.map +1 -0
  42. package/dist/mcp/hailer-rpc.d.ts +3 -0
  43. package/dist/mcp/hailer-rpc.d.ts.map +1 -1
  44. package/dist/mcp/hailer-rpc.js +7 -0
  45. package/dist/mcp/hailer-rpc.js.map +1 -1
  46. package/dist/mcp/tool-profiles.d.ts +1 -0
  47. package/dist/mcp/tool-profiles.d.ts.map +1 -1
  48. package/dist/mcp/tool-profiles.js +21 -4
  49. package/dist/mcp/tool-profiles.js.map +1 -1
  50. package/dist/mcp/tools/aliases.d.ts.map +1 -1
  51. package/dist/mcp/tools/aliases.js +14 -6
  52. package/dist/mcp/tools/aliases.js.map +1 -1
  53. package/dist/mcp/tools/app-core.d.ts.map +1 -1
  54. package/dist/mcp/tools/app-core.js +6 -3
  55. package/dist/mcp/tools/app-core.js.map +1 -1
  56. package/dist/mcp/tools/app-marketplace.d.ts.map +1 -1
  57. package/dist/mcp/tools/app-marketplace.js +7 -2
  58. package/dist/mcp/tools/app-marketplace.js.map +1 -1
  59. package/dist/mcp/tools/docs.d.ts +20 -0
  60. package/dist/mcp/tools/docs.d.ts.map +1 -0
  61. package/dist/mcp/tools/docs.js +87 -0
  62. package/dist/mcp/tools/docs.js.map +1 -0
  63. package/dist/mcp/tools/function-fields.d.ts +17 -0
  64. package/dist/mcp/tools/function-fields.d.ts.map +1 -0
  65. package/dist/mcp/tools/function-fields.js +717 -0
  66. package/dist/mcp/tools/function-fields.js.map +1 -0
  67. package/dist/mcp/tools/index.d.ts.map +1 -1
  68. package/dist/mcp/tools/index.js +4 -0
  69. package/dist/mcp/tools/index.js.map +1 -1
  70. package/dist/mcp/tools/workflow.d.ts +0 -1
  71. package/dist/mcp/tools/workflow.d.ts.map +1 -1
  72. package/dist/mcp/tools/workflow.js +1 -190
  73. package/dist/mcp/tools/workflow.js.map +1 -1
  74. package/dist/public-chat/graduate.d.ts +5 -4
  75. package/dist/public-chat/graduate.d.ts.map +1 -1
  76. package/dist/public-chat/graduate.js +226 -76
  77. package/dist/public-chat/graduate.js.map +1 -1
  78. package/dist/public-chat/handler.d.ts.map +1 -1
  79. package/dist/public-chat/handler.js +10 -2
  80. package/dist/public-chat/handler.js.map +1 -1
  81. package/dist/public-chat/index.d.ts.map +1 -1
  82. package/dist/public-chat/index.js +12 -1
  83. package/dist/public-chat/index.js.map +1 -1
  84. package/dist/public-chat/session-store.d.ts +22 -1
  85. package/dist/public-chat/session-store.d.ts.map +1 -1
  86. package/dist/public-chat/session-store.js +56 -2
  87. package/dist/public-chat/session-store.js.map +1 -1
  88. package/dist/public-chat/studio-prewarm.js +1 -1
  89. package/dist/public-chat/studio-prewarm.js.map +1 -1
  90. package/dist/public-chat/system-prompt.d.ts +1 -1
  91. package/dist/public-chat/system-prompt.d.ts.map +1 -1
  92. package/dist/public-chat/system-prompt.js +161 -83
  93. package/dist/public-chat/system-prompt.js.map +1 -1
  94. package/package.json +1 -1
  95. package/.claude/skills/hailer-project-protocol/SKILL.md +0 -398
@@ -1,398 +0,0 @@
1
- ---
2
- name: hailer-project-protocol
3
- description: Complete Hailer project management workflow schemas, field definitions, and protocols for SDK projects
4
- version: 1.1.0
5
- ---
6
-
7
- # Hailer Project Management Protocol
8
-
9
- This skill contains the complete Hailer project management workflow schemas, field definitions, and protocols for working with Hailer SDK projects.
10
-
11
- ---
12
-
13
- <critical-rules>
14
- ## Overview
15
-
16
- Every Hailer workspace uses project management workflows. Claude installs and maintains these automatically using MCP or SDK.
17
-
18
- **CRITICAL: Real-Time Updates**
19
- - Update Hailer items IN REAL-TIME as work progresses
20
- - Do NOT batch updates - update immediately when status changes
21
- - When completing a task, update Hailer BEFORE moving to next task
22
-
23
- **Context File Hierarchy**
24
- 1. **SESSION-HANDOFF.md** - Previous session state (read first when resuming)
25
- 2. **DEVELOPMENT.md** - Local backup/snapshot of Hailer state
26
- 3. **Hailer Workflows** - Source of truth for project data
27
- </critical-rules>
28
-
29
- ---
30
-
31
- ## Workflow 1: Project Planning
32
-
33
- **Workflow name:** `Project Planning`
34
-
35
- ### Phases (in order)
36
- 1. `Planning`
37
- 2. `In Progress`
38
- 3. `On Hold`
39
- 4. `Completed`
40
-
41
- ### Fields
42
-
43
- | Field Name | Field Type | Configuration |
44
- |------------|------------|---------------|
45
- | Title | Text | - |
46
- | Description | Long text | - |
47
- | Type | Predefined options (single) | Options: `Project`, `Feature`, `Session Handoff`, `PRD` |
48
- | Project | Activity link | Links to: `Project Planning` workflow |
49
- | Child Features | Linked from | Linked from: `Project Planning` → `Project` field |
50
- | Dev Tasks | Linked from | Linked from: `Dev Tasks` → `Feature` field |
51
- | Goal | Long text | - |
52
- | Documentation | Long text | - |
53
- | Technical Notes | Long text | - |
54
- | Blockers | Long text | - |
55
- | User Stories | Long text | PRD: As a [user], I want [X] so that [Y] |
56
- | Acceptance Criteria | Long text | PRD: Checklist of "done" conditions |
57
- | Technical Constraints | Long text | PRD: Performance, security, compatibility |
58
- | Out of Scope | Long text | PRD: What this feature does NOT include |
59
-
60
- - **Project**: Features use this to link UP to their parent Project
61
- - **Child Features**: Automatically shows Features that link to this Project
62
- - **Dev Tasks**: Automatically shows Tasks/Bugs that link to this Feature
63
-
64
- ---
65
-
66
- ## Workflow 2: Dev Tasks
67
-
68
- **Workflow name:** `Dev Tasks`
69
-
70
- ### Phases (in order)
71
- 1. `Backlog`
72
- 2. `Todo`
73
- 3. `In Progress`
74
- 4. `Review`
75
- 5. `Done`
76
-
77
- ### Fields
78
-
79
- | Field Name | Field Type | Configuration |
80
- |------------|------------|---------------|
81
- | Title | Text | - |
82
- | Description | Long text | - |
83
- | Type | Predefined options (single) | Options: `Task`, `Bug`, `Tech Debt` |
84
- | Priority | Predefined options (single) | Options: `HIGH`, `MEDIUM`, `LOW` |
85
- | Feature | Activity link | Links to: `Project Planning` workflow |
86
- | Blocked By | Activity link | Links to: `Dev Tasks` workflow |
87
- | Blocks | Linked from | Linked from: `Dev Tasks` → `Blocked By` field |
88
- | Related Items | Activity link | Links to: `Dev Tasks` workflow |
89
- | Related From | Linked from | Linked from: `Dev Tasks` → `Related Items` field |
90
- | Files Modified | Text | - |
91
- | Commits | Text | - |
92
-
93
- - **Feature**: Links UP to parent Feature in Project Planning
94
- - **Blocked By**: Links to other Dev Tasks that block this one
95
- - **Blocks**: Automatically shows Dev Tasks that this task blocks
96
- - **Related Items**: Links to related Tasks/Bugs (e.g., Bug → Task that caused it)
97
-
98
- ---
99
-
100
- ## Protocol: Starting in a Workspace
101
-
102
- ### Step 1: Check for Existing Workflows
103
-
104
- **AUTOMATIC CREATION: If workflows don't exist, CREATE THEM.**
105
-
106
- Look for workflows named exactly:
107
- - `Project Planning`
108
- - `Dev Tasks`
109
-
110
- ### Step 2: Create Workflows if Missing
111
-
112
- **This is NOT optional - create them automatically.**
113
-
114
- Notify user: "Setting up project management workflows for this workspace..."
115
-
116
- #### Create Project Planning Workflow
117
-
118
- ```typescript
119
- {
120
- name: "Project Planning",
121
- phases: ["Planning", "In Progress", "On Hold", "Completed"],
122
- fields: [
123
- { name: "Title", type: "text" },
124
- { name: "Description", type: "textarea" },
125
- { name: "Type", type: "textpredefinedoptions", options: ["Project", "Feature", "Session Handoff", "PRD"] },
126
- { name: "Project", type: "activitylink", linkedWorkflow: "Project Planning" },
127
- { name: "Goal", type: "textarea" },
128
- { name: "Documentation", type: "textarea" },
129
- { name: "Technical Notes", type: "textarea" },
130
- { name: "Blockers", type: "textarea" },
131
- { name: "User Stories", type: "textarea" },
132
- { name: "Acceptance Criteria", type: "textarea" },
133
- { name: "Technical Constraints", type: "textarea" },
134
- { name: "Out of Scope", type: "textarea" }
135
- ]
136
- }
137
- ```
138
-
139
- #### Create Dev Tasks Workflow
140
-
141
- ```typescript
142
- {
143
- name: "Dev Tasks",
144
- phases: ["Backlog", "Todo", "In Progress", "Review", "Done"],
145
- fields: [
146
- { name: "Title", type: "text" },
147
- { name: "Description", type: "textarea" },
148
- { name: "Type", type: "textpredefinedoptions", options: ["Task", "Bug", "Tech Debt"] },
149
- { name: "Priority", type: "textpredefinedoptions", options: ["HIGH", "MEDIUM", "LOW"] },
150
- { name: "Feature", type: "activitylink", linkedWorkflow: "Project Planning" },
151
- { name: "Blocked By", type: "activitylink", linkedWorkflow: "Dev Tasks" },
152
- { name: "Related Items", type: "activitylink", linkedWorkflow: "Dev Tasks" },
153
- { name: "Files Modified", type: "text" },
154
- { name: "Commits", type: "text" }
155
- ]
156
- }
157
- ```
158
-
159
- ### Step 3: Verify PRD Fields Exist
160
-
161
- If `Project Planning` workflow exists but is missing PRD fields, ADD THEM:
162
- - User Stories
163
- - Acceptance Criteria
164
- - Technical Constraints
165
- - Out of Scope
166
-
167
- ### Step 4: Read Current State
168
-
169
- Before starting work:
170
- 1. Check for SESSION-HANDOFF.md - read if exists (previous session context)
171
- 2. Check for active Project (Type = `Project`, Phase = `In Progress`)
172
- 3. If no Project exists, ask user for project name and create one
173
- 4. Fetch In Progress Features and Tasks
174
- 5. Check for recent Session Handoff (Type = `Session Handoff`)
175
- 6. Summarize state to user
176
-
177
- ---
178
-
179
- ## Protocol: During Development (Real-Time Updates)
180
-
181
- ### Starting New Work
182
- 1. Ensure a Feature exists (Type = `Feature`)
183
- - Set `Project` field to link to parent Project
184
- 2. Create Task in Dev Tasks (Type = `Task`)
185
- - Set `Feature` field to link to parent Feature
186
- 3. **IMMEDIATELY** move Task to `In Progress`
187
- 4. Keep only ONE task `In Progress` at a time
188
-
189
- ### Completing Work
190
- 1. **IMMEDIATELY** update Task:
191
- - `Files Modified`: List changed files
192
- - `Commits`: Add commit hashes
193
- 2. **IMMEDIATELY** move to `Done`
194
- 3. If new work discovered → create new Tasks in `Backlog`
195
-
196
- ### Finding Bugs
197
- 1. **IMMEDIATELY** create item in Dev Tasks (Type = `Bug`)
198
- 2. Set `Feature` to link to relevant Feature
199
- 3. Set `Priority` based on severity
200
- 4. Optionally set `Related Items` to link to Task that caused it
201
-
202
- ### Blocked Tasks
203
- 1. Set `Blocked By` to link to blocking Task(s)
204
- 2. Update Description with blocker details
205
- 3. When blocker resolved, clear `Blocked By` and continue
206
-
207
- ### Technical Decisions
208
- Update the Feature's `Technical Notes` field with:
209
- - Architecture decisions and rationale
210
- - Important discoveries
211
- - Trade-offs considered
212
-
213
- ### Documentation
214
- When feature is complete or stable, update `Documentation` field with:
215
- - How it works
216
- - Usage instructions
217
- - Configuration options
218
-
219
- ---
220
-
221
- ## Protocol: Session Handoff
222
-
223
- ### When to Create
224
- - Context reaches 70-80%
225
- - Before ending a long session
226
- - User requests it
227
-
228
- ### Create Session Handoff Item
229
- In Project Planning workflow:
230
-
231
- | Field | Value |
232
- |-------|-------|
233
- | Title | `Session Handoff - YYYY-MM-DD HH:MM` |
234
- | Type | `Session Handoff` |
235
- | Project | Link to active Project |
236
- | Phase | `Completed` |
237
- | Description | See template below |
238
- | Technical Notes | Key discoveries and decisions |
239
- | Blockers | Unresolved issues, next steps |
240
-
241
- **Description template:**
242
- ```
243
- ## Completed This Session
244
- - [List completed tasks]
245
-
246
- ## In Progress
247
- - [Current work state]
248
-
249
- ## Next Steps
250
- - [What to do when resuming]
251
- ```
252
-
253
- ### Local SESSION-HANDOFF.md
254
- Also create/update `SESSION-HANDOFF.md` in project root:
255
-
256
- ```markdown
257
- ## Session Handoff - YYYY-MM-DD HH:MM
258
-
259
- ### Completed This Session
260
- - [What was accomplished]
261
-
262
- ### Current State
263
- - [Work in progress, any partial implementations]
264
-
265
- ### Blockers / Issues Found
266
- - [Problems encountered, unresolved errors]
267
-
268
- ### Next Steps
269
- - [Immediate actions for next session]
270
-
271
- ### Key Decisions Made
272
- - [Important context that shouldn't be lost]
273
-
274
- ### Files Modified
275
- - [List of changed files with brief description]
276
- ```
277
-
278
- ---
279
-
280
- ## Protocol: Creating Items
281
-
282
- ### New Project
283
- | Field | Value |
284
- |-------|-------|
285
- | Title | Project name (ask user) |
286
- | Type | `Project` |
287
- | Phase | `In Progress` |
288
- | Description | Project overview |
289
- | Goal | What success looks like |
290
-
291
- ### New Feature
292
- | Field | Value |
293
- |-------|-------|
294
- | Title | Feature name (use arrow prefix for related features: `Sales Orders → Automations`) |
295
- | Type | `Feature` |
296
- | Project | Link to parent Project |
297
- | Phase | `Planning` or `In Progress` |
298
- | Description | Scope and requirements |
299
- | Goal | Acceptance criteria |
300
- | Documentation | How it works (fill when complete) |
301
- | Technical Notes | Architecture decisions |
302
-
303
- ### New PRD
304
- | Field | Value |
305
- |-------|-------|
306
- | Title | `PRD: [Feature Name]` |
307
- | Type | `PRD` |
308
- | Project | Link to parent Project |
309
- | Phase | `Planning` |
310
- | Description | Executive summary |
311
- | Goal | Success metrics |
312
- | User Stories | As a [user], I want [X] so that [Y] |
313
- | Acceptance Criteria | - [ ] Criterion 1<br>- [ ] Criterion 2 |
314
- | Technical Constraints | Performance, security, compatibility needs |
315
- | Out of Scope | What this does NOT include |
316
-
317
- ### New Task
318
- | Field | Value |
319
- |-------|-------|
320
- | Title | Specific, actionable description |
321
- | Type | `Task` |
322
- | Feature | Link to parent Feature |
323
- | Priority | `MEDIUM` (default) |
324
- | Phase | `Backlog` or `Todo` |
325
- | Description | Implementation details |
326
-
327
- ### New Bug
328
- | Field | Value |
329
- |-------|-------|
330
- | Title | Clear bug description with context |
331
- | Type | `Bug` |
332
- | Feature | Link to affected Feature |
333
- | Priority | Based on severity |
334
- | Phase | `Backlog` or `Todo` |
335
- | Description | Steps to reproduce, expected vs actual |
336
- | Related Items | Link to Task that caused it (if known) |
337
-
338
- ---
339
-
340
- ## Protocol: DEVELOPMENT.md Sync
341
-
342
- When user requests sync (`/project-status`):
343
-
344
- 1. Fetch all data from Hailer workflows:
345
- - Active Project
346
- - All Features with their phases
347
- - All Dev Tasks (grouped by phase)
348
- - Recent Session Handoffs
349
-
350
- 2. Generate DEVELOPMENT.md:
351
- ```markdown
352
- # [Project Title] Development Status
353
-
354
- **Last Updated:** YYYY-MM-DD
355
- **Hailer Sync:** YYYY-MM-DD HH:MM
356
-
357
- ---
358
-
359
- ## Active Feature
360
- **Name:** [Feature Title]
361
- **Goal:** [Feature Goal]
362
- **Status:** [Phase]
363
-
364
- ---
365
-
366
- ## Current Sprint
367
-
368
- ### In Progress
369
- - [ ] [Task Title] (Feature: [Feature Name])
370
-
371
- ### Completed This Session
372
- - [x] [Task Title] (YYYY-MM-DD)
373
-
374
- ### Blocked
375
- - [ ] [Task Title] - **Blocker:** [reason]
376
-
377
- ---
378
-
379
- ## Backlog
380
- - [ ] [Task Title] (Feature: [Feature Name], Priority: [Priority])
381
-
382
- ---
383
-
384
- ## Known Issues
385
- | Priority | Issue | Status |
386
- |----------|-------|--------|
387
- | HIGH | [Bug Title] | [Phase] |
388
-
389
- ---
390
-
391
- ## Technical Notes
392
- [Aggregated from Features' Technical Notes fields]
393
-
394
- ---
395
-
396
- ## Session Notes
397
- [Local notes not synced to Hailer]
398
- ```