@ekkos/cli 1.3.1 โ†’ 1.3.5

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 (131) hide show
  1. package/dist/capture/jsonl-rewriter.d.ts +1 -1
  2. package/dist/capture/jsonl-rewriter.js +3 -3
  3. package/dist/capture/transcript-repair.d.ts +2 -2
  4. package/dist/capture/transcript-repair.js +2 -2
  5. package/dist/commands/claw.d.ts +13 -0
  6. package/dist/commands/claw.js +253 -0
  7. package/dist/commands/dashboard.js +742 -118
  8. package/dist/commands/doctor.d.ts +3 -3
  9. package/dist/commands/doctor.js +6 -79
  10. package/dist/commands/gemini.d.ts +19 -0
  11. package/dist/commands/gemini.js +193 -0
  12. package/dist/commands/init.d.ts +1 -0
  13. package/dist/commands/init.js +56 -41
  14. package/dist/commands/run.d.ts +0 -1
  15. package/dist/commands/run.js +288 -263
  16. package/dist/commands/scan.d.ts +21 -0
  17. package/dist/commands/scan.js +386 -0
  18. package/dist/commands/status.d.ts +4 -1
  19. package/dist/commands/status.js +165 -27
  20. package/dist/commands/swarm-dashboard.js +156 -28
  21. package/dist/commands/swarm.d.ts +1 -1
  22. package/dist/commands/swarm.js +1 -1
  23. package/dist/commands/test-claude.d.ts +2 -2
  24. package/dist/commands/test-claude.js +3 -3
  25. package/dist/deploy/index.d.ts +0 -2
  26. package/dist/deploy/index.js +0 -2
  27. package/dist/deploy/settings.d.ts +6 -5
  28. package/dist/deploy/settings.js +64 -16
  29. package/dist/deploy/skills.js +1 -2
  30. package/dist/index.js +86 -96
  31. package/dist/lib/usage-parser.d.ts +1 -1
  32. package/dist/lib/usage-parser.js +9 -6
  33. package/dist/local/index.d.ts +14 -0
  34. package/dist/local/index.js +28 -0
  35. package/dist/local/local-embeddings.d.ts +49 -0
  36. package/dist/local/local-embeddings.js +232 -0
  37. package/dist/local/offline-fallback.d.ts +44 -0
  38. package/dist/local/offline-fallback.js +159 -0
  39. package/dist/local/sqlite-store.d.ts +126 -0
  40. package/dist/local/sqlite-store.js +393 -0
  41. package/dist/local/sync-engine.d.ts +42 -0
  42. package/dist/local/sync-engine.js +223 -0
  43. package/dist/utils/platform.d.ts +5 -1
  44. package/dist/utils/platform.js +24 -4
  45. package/dist/utils/proxy-url.d.ts +21 -0
  46. package/dist/utils/proxy-url.js +34 -0
  47. package/dist/utils/state.d.ts +1 -1
  48. package/dist/utils/state.js +11 -3
  49. package/dist/utils/templates.js +1 -1
  50. package/package.json +11 -4
  51. package/templates/CLAUDE.md +49 -107
  52. package/dist/agent/daemon.d.ts +0 -130
  53. package/dist/agent/daemon.js +0 -606
  54. package/dist/agent/health-check.d.ts +0 -35
  55. package/dist/agent/health-check.js +0 -243
  56. package/dist/agent/pty-runner.d.ts +0 -53
  57. package/dist/agent/pty-runner.js +0 -190
  58. package/dist/commands/agent.d.ts +0 -50
  59. package/dist/commands/agent.js +0 -544
  60. package/dist/commands/setup-remote.d.ts +0 -20
  61. package/dist/commands/setup-remote.js +0 -582
  62. package/dist/utils/verify-remote-terminal.d.ts +0 -10
  63. package/dist/utils/verify-remote-terminal.js +0 -415
  64. package/templates/README.md +0 -378
  65. package/templates/claude-plugins/PHASE2_COMPLETION.md +0 -346
  66. package/templates/claude-plugins/PLUGIN_PROPOSALS.md +0 -1776
  67. package/templates/claude-plugins/README.md +0 -587
  68. package/templates/claude-plugins/agents/code-reviewer.json +0 -14
  69. package/templates/claude-plugins/agents/debug-detective.json +0 -15
  70. package/templates/claude-plugins/agents/git-companion.json +0 -14
  71. package/templates/claude-plugins/blog-manager/.claude-plugin/plugin.json +0 -8
  72. package/templates/claude-plugins/blog-manager/commands/blog.md +0 -691
  73. package/templates/claude-plugins/golden-loop-monitor/.claude-plugin/plugin.json +0 -8
  74. package/templates/claude-plugins/golden-loop-monitor/commands/loop-status.md +0 -434
  75. package/templates/claude-plugins/learning-tracker/.claude-plugin/plugin.json +0 -8
  76. package/templates/claude-plugins/learning-tracker/commands/my-patterns.md +0 -282
  77. package/templates/claude-plugins/memory-lens/.claude-plugin/plugin.json +0 -8
  78. package/templates/claude-plugins/memory-lens/commands/memory-search.md +0 -181
  79. package/templates/claude-plugins/pattern-coach/.claude-plugin/plugin.json +0 -8
  80. package/templates/claude-plugins/pattern-coach/commands/forge.md +0 -365
  81. package/templates/claude-plugins/project-schema-validator/.claude-plugin/plugin.json +0 -8
  82. package/templates/claude-plugins/project-schema-validator/commands/validate-schema.md +0 -582
  83. package/templates/claude-plugins-admin/AGENT_TEAM_PROPOSALS.md +0 -819
  84. package/templates/claude-plugins-admin/README.md +0 -446
  85. package/templates/claude-plugins-admin/autonomous-admin-agent/.claude-plugin/plugin.json +0 -8
  86. package/templates/claude-plugins-admin/autonomous-admin-agent/commands/agent.md +0 -595
  87. package/templates/claude-plugins-admin/backend-agent/.claude-plugin/plugin.json +0 -8
  88. package/templates/claude-plugins-admin/backend-agent/commands/backend.md +0 -798
  89. package/templates/claude-plugins-admin/deploy-guardian/.claude-plugin/plugin.json +0 -8
  90. package/templates/claude-plugins-admin/deploy-guardian/commands/deploy.md +0 -554
  91. package/templates/claude-plugins-admin/frontend-agent/.claude-plugin/plugin.json +0 -8
  92. package/templates/claude-plugins-admin/frontend-agent/commands/frontend.md +0 -881
  93. package/templates/claude-plugins-admin/mcp-server-manager/.claude-plugin/plugin.json +0 -8
  94. package/templates/claude-plugins-admin/mcp-server-manager/commands/mcp.md +0 -85
  95. package/templates/claude-plugins-admin/memory-system-monitor/.claude-plugin/plugin.json +0 -8
  96. package/templates/claude-plugins-admin/memory-system-monitor/commands/memory-health.md +0 -569
  97. package/templates/claude-plugins-admin/qa-agent/.claude-plugin/plugin.json +0 -8
  98. package/templates/claude-plugins-admin/qa-agent/commands/qa.md +0 -863
  99. package/templates/claude-plugins-admin/tech-lead-agent/.claude-plugin/plugin.json +0 -8
  100. package/templates/claude-plugins-admin/tech-lead-agent/commands/lead.md +0 -732
  101. package/templates/commands/continue.md +0 -47
  102. package/templates/cursor-rules/ekkos-memory.md +0 -127
  103. package/templates/ekkos-manifest.json +0 -223
  104. package/templates/helpers/json-parse.cjs +0 -101
  105. package/templates/hooks-node/lib/state.js +0 -187
  106. package/templates/hooks-node/stop.js +0 -416
  107. package/templates/hooks-node/user-prompt-submit.js +0 -337
  108. package/templates/plan-template.md +0 -306
  109. package/templates/rules/00-hooks-contract.mdc +0 -89
  110. package/templates/rules/30-ekkos-core.mdc +0 -188
  111. package/templates/rules/31-ekkos-messages.mdc +0 -78
  112. package/templates/shared/hooks-enabled.json +0 -22
  113. package/templates/shared/session-words.json +0 -45
  114. package/templates/skills/ekkOS_Deep_Recall/Skill.md +0 -282
  115. package/templates/skills/ekkOS_Learn/Skill.md +0 -265
  116. package/templates/skills/ekkOS_Memory_First/Skill.md +0 -206
  117. package/templates/skills/ekkOS_Plan_Assist/Skill.md +0 -302
  118. package/templates/skills/ekkOS_Preferences/Skill.md +0 -247
  119. package/templates/skills/ekkOS_Reflect/Skill.md +0 -257
  120. package/templates/skills/ekkOS_Safety/Skill.md +0 -265
  121. package/templates/skills/ekkOS_Schema/Skill.md +0 -251
  122. package/templates/skills/ekkOS_Summary/Skill.md +0 -257
  123. package/templates/spec-template.md +0 -159
  124. package/templates/windsurf-rules/ekkos-memory.md +0 -127
  125. package/templates/windsurf-skills/README.md +0 -58
  126. package/templates/windsurf-skills/ekkos-continue/SKILL.md +0 -81
  127. package/templates/windsurf-skills/ekkos-golden-loop/SKILL.md +0 -225
  128. package/templates/windsurf-skills/ekkos-insights/SKILL.md +0 -138
  129. package/templates/windsurf-skills/ekkos-recall/SKILL.md +0 -96
  130. package/templates/windsurf-skills/ekkos-safety/SKILL.md +0 -89
  131. package/templates/windsurf-skills/ekkos-vault/SKILL.md +0 -86
@@ -1,378 +0,0 @@
1
- # ekkOS Templates
2
-
3
- Complete templates for the ekkOS memory system. Use `install-ekkos.sh` to install everything.
4
-
5
- ## ๐Ÿ“ฆ What's Included
6
-
7
- ### ๐Ÿช Hooks (4 files)
8
-
9
- Shell scripts that run during the Claude Code session lifecycle to enable the **Golden Loop 5-Phase Flow**.
10
-
11
- **Location**: `~/.claude/hooks/`
12
-
13
- | Hook | Purpose | Golden Loop Phase |
14
- |------|---------|-------------------|
15
- | `session-start.sh` | Initialize tracking on session start | Setup |
16
- | `user-prompt-submit.sh` | Capture user context at turn start | **1. CAPTURE** |
17
- | `stop.sh` | Detect patterns, track outcomes at turn end | **3. RETRIEVE**, **4. INJECT**, **5. MEASURE** |
18
- | `assistant-response.sh` | Process agent responses | **2. LEARN** (implicit) |
19
-
20
- **Features**:
21
- - Real-time Golden Loop tracking
22
- - Automatic pattern detection and injection
23
- - Turn-by-turn memory capture to Redis
24
- - Session name generation and management
25
- - Working memory preservation across `/clear`
26
-
27
- ### ๐Ÿ“š Skills (12 skills)
28
-
29
- User-invocable commands that leverage ekkOS memory.
30
-
31
- **Location**: `~/.claude/skills/`
32
-
33
- | Skill | Command | Purpose |
34
- |-------|---------|---------|
35
- | `continue` | `/continue` | Restore context after `/clear` from Redis (20 turns, <10ms) |
36
- | `permissions` | `/permissions` | Manage proactive tool execution permissions |
37
- | `ekkOS_Memory_First` | Auto | Search memory before debugging/solving problems |
38
- | `ekkOS_Learn` | Auto | Capture solutions as patterns after fixing bugs |
39
- | `ekkOS_Deep_Recall` | Auto | Time-based recall ("yesterday", "last week") |
40
- | `ekkOS_Preferences` | Auto | Capture user directives ("always", "never") |
41
- | `ekkOS_Safety` | Auto | Pre-flight safety checks before destructive ops |
42
- | `ekkOS_Schema` | Auto | Database field awareness (Supabase/Prisma) |
43
- | `ekkOS_Vault` | Auto | Encrypted secrets management (API keys, tokens) |
44
- | `ekkOS_Summary` | Auto | Session activity summary |
45
- | `ekkOS_Reflect` | Auto | Response quality analysis |
46
- | `ekkOS_Plan_Assist` | Auto | Structured task planning |
47
-
48
- **Skill Triggers**: Skills activate automatically based on user language patterns (e.g., "yesterday" โ†’ Deep Recall).
49
-
50
- ### ๐Ÿค– Agents (4 agents)
51
-
52
- Specialized agents with built-in 5-Phase Flow for specific tasks.
53
-
54
- **Location**: `~/.claude/agents/` (Markdown files with YAML frontmatter)
55
-
56
- | Agent | Triggers | Purpose |
57
- |-------|----------|---------|
58
- | `debug-detective` | error, bug, broken, failing | Systematic debugging with pattern memory |
59
- | `code-reviewer` | review, PR, check code | PR reviews enforcing team patterns |
60
- | `git-companion` | git, commit, branch, merge | Git workflow assistance |
61
- | `railway-manager` | railway, deploy, workers, pm2, queue | Railway/PM2 infrastructure management |
62
-
63
- **Agent Format** (Markdown with YAML frontmatter):
64
- ```markdown
65
- ---
66
- name: agent-name
67
- description: "When to use this agent. Include 'proactively' for auto-trigger."
68
- tools: Read, Write, Bash, mcp__ekkos-memory__ekkOS_Search
69
- model: sonnet
70
- color: blue
71
- ---
72
-
73
- # Agent Title
74
-
75
- System prompt content goes here...
76
- ```
77
-
78
- **Agent Features**:
79
- - Full 5-Phase Flow enforcement
80
- - PatternGuard (SELECT/SKIP acknowledgment)
81
- - Automatic memory retrieval before action
82
- - Outcome tracking and pattern forging
83
-
84
- ### ๐Ÿ“– Documentation Templates
85
-
86
- Additional templates for Cursor and other environments:
87
-
88
- - `cursor-rules/` - Cursor-specific ekkOS rules
89
- - `cursor-hooks/` - Cursor-compatible hooks
90
- - `claude-plugins-admin/` - Admin agent proposals
91
- - `claude-plugins/` - User-facing plugin proposals
92
-
93
- ## ๐Ÿš€ Installation
94
-
95
- ### Quick Install (Recommended)
96
-
97
- ```bash
98
- cd extensions/ekkos-connect
99
- ./install-ekkos.sh
100
- ```
101
-
102
- This installs:
103
- - โœ… All 4 hooks with Golden Loop tracking
104
- - โœ… All 12 skills
105
- - โœ… All 3 agents
106
- - โœ… hooks.json configuration
107
- - โœ… Verifies API connectivity
108
-
109
- ### Manual Install
110
-
111
- #### 1. Install Hooks
112
-
113
- ```bash
114
- cp templates/hooks/*.sh ~/.claude/hooks/
115
- cp -r templates/hooks/lib ~/.claude/hooks/
116
- chmod +x ~/.claude/hooks/*.sh
117
- ```
118
-
119
- #### 2. Install Skills
120
-
121
- ```bash
122
- mkdir -p ~/.claude/skills
123
- cp -r templates/skills/* ~/.claude/skills/
124
- ```
125
-
126
- #### 3. Install Agents
127
-
128
- ```bash
129
- mkdir -p ~/.claude/claude-plugins/agents
130
- cp templates/claude-plugins/agents/*.json ~/.claude/claude-plugins/agents/
131
- ```
132
-
133
- #### 4. Configure hooks.json
134
-
135
- ```bash
136
- cat > ~/.claude/hooks/hooks.json << 'EOF'
137
- {
138
- "hooks": {
139
- "session-start": {
140
- "command": "~/.claude/hooks/session-start.sh",
141
- "enabled": true
142
- },
143
- "user-prompt-submit": {
144
- "command": "~/.claude/hooks/user-prompt-submit.sh",
145
- "enabled": true
146
- },
147
- "stop": {
148
- "command": "~/.claude/hooks/stop.sh",
149
- "enabled": true
150
- }
151
- }
152
- }
153
- EOF
154
- ```
155
-
156
- ## ๐Ÿ”„ The Golden Loop (5-Phase Flow)
157
-
158
- The hooks and agents implement a continuous learning loop:
159
-
160
- ```
161
- โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
162
- โ”‚ THE GOLDEN LOOP โ”‚
163
- โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
164
- โ”‚ โ”‚
165
- โ”‚ 1. CAPTURE โ†’ Log context (user-prompt-submit.sh) โ”‚
166
- โ”‚ โ†“ โ”‚
167
- โ”‚ 2. LEARN โ†’ Agent processes with tools โ”‚
168
- โ”‚ โ†“ โ”‚
169
- โ”‚ 3. RETRIEVE โ†’ Search memory for patterns (stop.sh) โ”‚
170
- โ”‚ โ†“ โ”‚
171
- โ”‚ 4. INJECT โ†’ Apply patterns to solution โ”‚
172
- โ”‚ โ†“ โ”‚
173
- โ”‚ 5. MEASURE โ†’ Track outcomes, forge new patterns โ”‚
174
- โ”‚ โ†“ โ”‚
175
- โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ (back to CAPTURE) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜โ”‚
176
- โ”‚ โ”‚
177
- โ”‚ Result: Agent gets SMARTER with every turn โ”‚
178
- โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
179
- ```
180
-
181
- ### How It Works
182
-
183
- **Turn N starts**:
184
- 1. `user-prompt-submit.sh` runs โ†’ **CAPTURE** user context
185
- 2. Agent receives prompt โ†’ **LEARN** (processes with tools)
186
- 3. Agent response completes โ†’ `stop.sh` runs
187
- 4. `stop.sh` detects ekkOS_Search calls โ†’ **RETRIEVE** confirmed
188
- 5. `stop.sh` detects [ekkOS_SELECT] markers โ†’ **INJECT** confirmed
189
- 6. `stop.sh` detects ekkOS_Forge calls โ†’ **MEASURE** confirmed
190
- 7. All phases logged to working memory (Redis)
191
- 8. VS Code extension displays real-time phase status
192
-
193
- **Turn N+1 starts** โ†’ Repeat with improved patterns!
194
-
195
- ## ๐Ÿ“Š PatternGuard (SELECT/SKIP)
196
-
197
- All agents and memory-aware responses must acknowledge retrieved patterns:
198
-
199
- ```markdown
200
- [ekkOS_SELECT]
201
- - id: pattern-abc123
202
- reason: Matches this error type exactly
203
- confidence: 0.95
204
- [/ekkOS_SELECT]
205
-
206
- [ekkOS_SKIP]
207
- - id: pattern-xyz789
208
- reason: Different framework, not applicable
209
- [/ekkOS_SKIP]
210
- ```
211
-
212
- **Why?** This provides:
213
- - 100% pattern coverage (no ignored patterns)
214
- - Feedback loop for pattern quality
215
- - Audit trail of decision-making
216
-
217
- ## ๐Ÿ” Permissions System
218
-
219
- Skills can request permissions for proactive execution:
220
-
221
- ```bash
222
- # View current permissions
223
- /permissions
224
-
225
- # Grant auto-search before answering
226
- /permissions grant search:auto_before_answer
227
-
228
- # Revoke auto-forge on bug fix
229
- /permissions revoke forge:auto_on_fix
230
-
231
- # Reset to safe defaults
232
- /permissions reset
233
- ```
234
-
235
- ## ๐Ÿงช Testing the Installation
236
-
237
- After installing, start a new Claude Code session and try:
238
-
239
- ```bash
240
- # 1. Test /continue skill
241
- /continue
242
-
243
- # 2. Test permissions
244
- /permissions list
245
-
246
- # 3. Trigger Debug Detective agent
247
- # (Just describe an error and it should activate)
248
-
249
- # 4. Check Golden Loop tracking
250
- # Open VS Code sidebar โ†’ ekkOS Connect
251
- # Should show real-time phase tracking
252
- ```
253
-
254
- ## ๐Ÿ“ Directory Structure
255
-
256
- ```
257
- templates/
258
- โ”œโ”€โ”€ hooks/ # Shell hooks for Claude Code
259
- โ”‚ โ”œโ”€โ”€ user-prompt-submit.sh # CAPTURE phase
260
- โ”‚ โ”œโ”€โ”€ stop.sh # RETRIEVE/INJECT/MEASURE
261
- โ”‚ โ”œโ”€โ”€ session-start.sh # Initialize
262
- โ”‚ โ”œโ”€โ”€ assistant-response.sh # LEARN phase
263
- โ”‚ โ””โ”€โ”€ lib/ # Shared utilities
264
- โ”‚ โ”œโ”€โ”€ contract.sh # Pattern contract parsing
265
- โ”‚ โ””โ”€โ”€ state.sh # State management
266
- โ”‚
267
- โ”œโ”€โ”€ skills/ # User-invocable skills
268
- โ”‚ โ”œโ”€โ”€ continue/ # Context restoration
269
- โ”‚ โ”œโ”€โ”€ permissions/ # Permission management
270
- โ”‚ โ”œโ”€โ”€ ekkOS_Memory_First/ # Search-first debugging
271
- โ”‚ โ”œโ”€โ”€ ekkOS_Learn/ # Pattern forging
272
- โ”‚ โ”œโ”€โ”€ ekkOS_Deep_Recall/ # Time-based recall
273
- โ”‚ โ”œโ”€โ”€ ekkOS_Preferences/ # Directive capture
274
- โ”‚ โ”œโ”€โ”€ ekkOS_Safety/ # Safety checks
275
- โ”‚ โ”œโ”€โ”€ ekkOS_Schema/ # DB field awareness
276
- โ”‚ โ”œโ”€โ”€ ekkOS_Vault/ # Secrets management
277
- โ”‚ โ”œโ”€โ”€ ekkOS_Summary/ # Activity reports
278
- โ”‚ โ”œโ”€โ”€ ekkOS_Reflect/ # Quality analysis
279
- โ”‚ โ””โ”€โ”€ ekkOS_Plan_Assist/ # Task planning
280
- โ”‚
281
- โ”œโ”€โ”€ claude-plugins/agents/ # Specialized agents
282
- โ”‚ โ”œโ”€โ”€ debug-detective.json # Systematic debugger
283
- โ”‚ โ”œโ”€โ”€ code-reviewer.json # PR reviewer
284
- โ”‚ โ”œโ”€โ”€ git-companion.json # Git workflow helper
285
- โ”‚ โ””โ”€โ”€ railway-manager.json # Railway/PM2 infrastructure
286
- โ”‚
287
- โ”œโ”€โ”€ cursor-rules/ # Cursor-specific
288
- โ”‚ โ””โ”€โ”€ ekkos-memory.md
289
- โ”‚
290
- โ””โ”€โ”€ cursor-hooks/ # Cursor-compatible hooks
291
- โ”œโ”€โ”€ before-submit-prompt.sh
292
- โ””โ”€โ”€ after-agent-response.sh
293
- ```
294
-
295
- ## ๐Ÿ”ง Updating Templates
296
-
297
- To update your installed templates with the latest version:
298
-
299
- ```bash
300
- # 1. Pull latest changes
301
- cd /path/to/EKKOS
302
- git pull
303
-
304
- # 2. Re-run install script
305
- cd extensions/ekkos-connect
306
- ./install-ekkos.sh
307
- ```
308
-
309
- The install script will overwrite existing files with the latest versions.
310
-
311
- ## โšก Performance
312
-
313
- - **Hooks**: <50ms overhead per turn
314
- - **Redis working memory**: <10ms retrieval
315
- - **Pattern injection**: Real-time (no user-visible delay)
316
- - **Sidebar updates**: Event-driven (no polling)
317
-
318
- ## ๐Ÿ› Troubleshooting
319
-
320
- ### Hooks not running
321
-
322
- ```bash
323
- # Check hooks are executable
324
- ls -la ~/.claude/hooks/*.sh
325
-
326
- # Check hooks.json exists
327
- cat ~/.claude/hooks/hooks.json
328
-
329
- # Test hook manually
330
- ~/.claude/hooks/session-start.sh
331
- ```
332
-
333
- ### Skills not appearing
334
-
335
- ```bash
336
- # Check skills directory
337
- ls -la ~/.claude/skills/
338
-
339
- # Each skill should have SKILL.md or Skill.md
340
- ls ~/.claude/skills/*/SKILL.md
341
- ```
342
-
343
- ### Golden Loop not tracking
344
-
345
- ```bash
346
- # Check hook output
347
- # Hooks should emit: [ekkOS_GL_PHASE:X] markers
348
-
349
- # Verify Redis connectivity
350
- curl -s "https://api.ekkos.dev/health"
351
-
352
- # Check API key
353
- jq '.apiKey' ~/.ekkos/config.json
354
- ```
355
-
356
- ## ๐Ÿ“š Documentation
357
-
358
- - **Docs**: https://docs.ekkos.dev
359
- - **Golden Loop**: See `docs/GOLDEN_LOOP_ORCHESTRATION.md`
360
- - **Permissions**: See `docs/PERMISSIONS_SYSTEM.md`
361
- - **Architecture**: See `docs/PERMISSION_5_PHASE_FLOW.md`
362
-
363
- ## ๐Ÿค Contributing
364
-
365
- Template improvements welcome! Submit PRs to:
366
- - Fix bugs in hooks
367
- - Add new skills
368
- - Create new agents
369
- - Improve documentation
370
-
371
- ## ๐Ÿ“œ License
372
-
373
- MIT - ekkOS Technologies Inc.
374
-
375
- ---
376
-
377
- **Version**: 2.11.0
378
- **Last Updated**: 2026-01-13