@slycode/slycode 0.2.6 → 0.2.8

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 (101) hide show
  1. package/dist/scripts/scaffold.js +3 -2
  2. package/dist/web/.next/BUILD_ID +1 -1
  3. package/dist/web/.next/build-manifest.json +2 -2
  4. package/dist/web/.next/server/app/_global-error.html +2 -2
  5. package/dist/web/.next/server/app/_global-error.rsc +1 -1
  6. package/dist/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  7. package/dist/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  8. package/dist/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  9. package/dist/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  10. package/dist/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  11. package/dist/web/.next/server/app/_not-found.html +1 -1
  12. package/dist/web/.next/server/app/_not-found.rsc +1 -1
  13. package/dist/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  14. package/dist/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  15. package/dist/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  16. package/dist/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  17. package/dist/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  18. package/dist/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  19. package/dist/web/.next/server/chunks/[root-of-the-server]__12f6cd6f._.js +1 -1
  20. package/dist/web/.next/server/chunks/[root-of-the-server]__15fc9266._.js +8 -8
  21. package/dist/web/.next/server/chunks/[root-of-the-server]__279e9bf3._.js +1 -1
  22. package/dist/web/.next/server/chunks/[root-of-the-server]__2d1f0ed9._.js +1 -1
  23. package/dist/web/.next/server/chunks/[root-of-the-server]__3c5ef8ec._.js +1 -1
  24. package/dist/web/.next/server/chunks/[root-of-the-server]__47dd878e._.js +1 -1
  25. package/dist/web/.next/server/chunks/[root-of-the-server]__5e08b942._.js +1 -1
  26. package/dist/web/.next/server/chunks/[root-of-the-server]__71bb3374._.js +1 -1
  27. package/dist/web/.next/server/chunks/[root-of-the-server]__7603305e._.js +1 -1
  28. package/dist/web/.next/server/chunks/[root-of-the-server]__7c476ad6._.js +1 -1
  29. package/dist/web/.next/server/chunks/[root-of-the-server]__846ca56f._.js +1 -1
  30. package/dist/web/.next/server/chunks/[root-of-the-server]__98d88050._.js +1 -1
  31. package/dist/web/.next/server/chunks/[root-of-the-server]__b273cc05._.js +1 -1
  32. package/dist/web/.next/server/chunks/[root-of-the-server]__d6362272._.js +1 -1
  33. package/dist/web/.next/server/chunks/[root-of-the-server]__de1277ee._.js +2 -2
  34. package/dist/web/.next/server/chunks/[root-of-the-server]__f3e501b6._.js +1 -1
  35. package/dist/web/.next/server/chunks/[root-of-the-server]__f97e93fa._.js +2 -2
  36. package/dist/web/.next/server/chunks/ssr/src_lib_registry_ts_2fc87c9c._.js +1 -1
  37. package/dist/web/.next/server/pages/404.html +1 -1
  38. package/dist/web/.next/server/pages/500.html +2 -2
  39. package/dist/web/src/lib/store-scanner.ts +8 -69
  40. package/dist/web/tsconfig.tsbuildinfo +1 -1
  41. package/lib/cli/start.d.ts.map +1 -1
  42. package/lib/cli/start.js +114 -1
  43. package/lib/cli/start.js.map +1 -1
  44. package/lib/cli/stop.d.ts.map +1 -1
  45. package/lib/cli/stop.js +77 -0
  46. package/lib/cli/stop.js.map +1 -1
  47. package/lib/cli/uninstall.d.ts.map +1 -1
  48. package/lib/cli/uninstall.js +9 -7
  49. package/lib/cli/uninstall.js.map +1 -1
  50. package/lib/cli/update.d.ts.map +1 -1
  51. package/lib/cli/update.js +5 -77
  52. package/lib/cli/update.js.map +1 -1
  53. package/lib/platform/service-detect.d.ts +20 -0
  54. package/lib/platform/service-detect.d.ts.map +1 -0
  55. package/lib/platform/service-detect.js +154 -0
  56. package/lib/platform/service-detect.js.map +1 -0
  57. package/lib/platform/service-linux.d.ts.map +1 -1
  58. package/lib/platform/service-linux.js +23 -14
  59. package/lib/platform/service-linux.js.map +1 -1
  60. package/lib/platform/service-macos.d.ts +1 -1
  61. package/lib/platform/service-macos.d.ts.map +1 -1
  62. package/lib/platform/service-macos.js +21 -0
  63. package/lib/platform/service-macos.js.map +1 -1
  64. package/package.json +1 -1
  65. package/templates/kanban-seed.json +1 -1
  66. package/templates/tutorial-project/.agents/skills/checkpoint/SKILL.md +0 -43
  67. package/templates/tutorial-project/.agents/skills/context-priming/SKILL.md +0 -152
  68. package/templates/tutorial-project/.agents/skills/context-priming/references/area-index.md +0 -101
  69. package/templates/tutorial-project/.agents/skills/context-priming/references/areas/claude-actions.md +0 -120
  70. package/templates/tutorial-project/.agents/skills/context-priming/references/areas/messaging.md +0 -177
  71. package/templates/tutorial-project/.agents/skills/context-priming/references/areas/scripts-deployment.md +0 -138
  72. package/templates/tutorial-project/.agents/skills/context-priming/references/areas/skills.md +0 -135
  73. package/templates/tutorial-project/.agents/skills/context-priming/references/areas/terminal-bridge.md +0 -232
  74. package/templates/tutorial-project/.agents/skills/context-priming/references/areas/web-frontend.md +0 -252
  75. package/templates/tutorial-project/.agents/skills/context-priming/references/maintenance.md +0 -128
  76. package/templates/tutorial-project/.agents/skills/design/SKILL.md +0 -141
  77. package/templates/tutorial-project/.agents/skills/feature/SKILL.md +0 -159
  78. package/templates/tutorial-project/.agents/skills/implement/SKILL.md +0 -132
  79. package/templates/tutorial-project/.agents/skills/kanban/SKILL.md +0 -264
  80. package/templates/tutorial-project/.claude/skills/checkpoint/SKILL.md +0 -43
  81. package/templates/tutorial-project/.claude/skills/context-priming/SKILL.md +0 -152
  82. package/templates/tutorial-project/.claude/skills/context-priming/references/area-index.md +0 -101
  83. package/templates/tutorial-project/.claude/skills/context-priming/references/areas/claude-actions.md +0 -120
  84. package/templates/tutorial-project/.claude/skills/context-priming/references/areas/messaging.md +0 -177
  85. package/templates/tutorial-project/.claude/skills/context-priming/references/areas/scripts-deployment.md +0 -138
  86. package/templates/tutorial-project/.claude/skills/context-priming/references/areas/skills.md +0 -135
  87. package/templates/tutorial-project/.claude/skills/context-priming/references/areas/terminal-bridge.md +0 -232
  88. package/templates/tutorial-project/.claude/skills/context-priming/references/areas/web-frontend.md +0 -252
  89. package/templates/tutorial-project/.claude/skills/context-priming/references/maintenance.md +0 -128
  90. package/templates/tutorial-project/.claude/skills/design/SKILL.md +0 -141
  91. package/templates/tutorial-project/.claude/skills/feature/SKILL.md +0 -159
  92. package/templates/tutorial-project/.claude/skills/implement/SKILL.md +0 -132
  93. package/templates/tutorial-project/.claude/skills/kanban/SKILL.md +0 -264
  94. package/templates/tutorial-project/CLAUDE.md +0 -16
  95. package/templates/tutorial-project/documentation/designs/example_welcome_dashboard.md +0 -38
  96. package/templates/tutorial-project/documentation/events.json +0 -1
  97. package/templates/tutorial-project/documentation/features/example_in_card_deliverable_feature.md +0 -31
  98. package/templates/tutorial-project/documentation/kanban.json +0 -385
  99. /package/dist/web/.next/static/{2EjhdcgXP_G4Dc2aTnMhk → ykJOQKO--meU2uRZcR2GX}/_buildManifest.js +0 -0
  100. /package/dist/web/.next/static/{2EjhdcgXP_G4Dc2aTnMhk → ykJOQKO--meU2uRZcR2GX}/_clientMiddlewareManifest.json +0 -0
  101. /package/dist/web/.next/static/{2EjhdcgXP_G4Dc2aTnMhk → ykJOQKO--meU2uRZcR2GX}/_ssgManifest.js +0 -0
@@ -17,36 +17,6 @@ function getStorePath(): string {
17
17
  return path.join(getSlycodeRoot(), 'store');
18
18
  }
19
19
 
20
- /** Load manifest lists. Returns null if manifest not found. */
21
- function loadManifest(): { skills: string[]; actions: string[]; agents: string[]; mcp: string[] } | null {
22
- // Try multiple locations: dev repo, then package dist
23
- const candidates = [
24
- path.join(getSlycodeRoot(), 'build', 'store-manifest.js'),
25
- path.join(getSlycodeRoot(), 'node_modules', '@slycode', 'slycode', 'build', 'store-manifest.js'),
26
- ];
27
- for (const p of candidates) {
28
- try {
29
- if (fs.existsSync(p)) {
30
- // Use dynamic import workaround — read and parse manually to avoid require()
31
- const content = fs.readFileSync(p, 'utf-8');
32
- const mod: Record<string, unknown> = {};
33
- const fn = new Function('module', 'exports', content);
34
- fn(mod, mod);
35
- const result = (mod as { exports?: { skills?: string[]; actions?: string[]; agents?: string[]; mcp?: string[] } }).exports;
36
- if (result?.skills) return {
37
- skills: result.skills,
38
- actions: result.actions || [],
39
- agents: result.agents || [],
40
- mcp: result.mcp || [],
41
- };
42
- }
43
- } catch {
44
- // Try next candidate
45
- }
46
- }
47
- return null;
48
- }
49
-
50
20
  // ============================================================================
51
21
  // Store Directory Scanning
52
22
  // ============================================================================
@@ -154,56 +124,25 @@ function scanStoreMcp(storePath: string): StoreAssetInfo[] {
154
124
  // ============================================================================
155
125
 
156
126
  /**
157
- * Full store scan — returns only manifest-approved assets.
127
+ * Full store scan — returns all assets in the store.
128
+ * The manifest is only used by the build pipeline (build-package.ts) to control
129
+ * what ships in the npm package. The store UI shows everything.
158
130
  */
159
131
  export function scanStore(): StoreData {
160
132
  const storePath = getStorePath();
161
- const manifest = loadManifest();
162
-
163
- let skills = scanStoreAssetDir(storePath, 'skill');
164
- let agents = scanStoreAssetDir(storePath, 'agent');
165
- let mcp = scanStoreMcp(storePath);
166
-
167
- if (manifest) {
168
- if (manifest.skills) {
169
- const allowed = new Set(manifest.skills);
170
- skills = skills.filter(s => allowed.has(s.name));
171
- }
172
- if (manifest.agents) {
173
- const allowed = new Set(manifest.agents);
174
- agents = agents.filter(a => allowed.has(a.name));
175
- }
176
- if (manifest.mcp) {
177
- const allowed = new Set(manifest.mcp);
178
- mcp = mcp.filter(m => allowed.has(m.name));
179
- }
180
- }
181
-
133
+ const skills = scanStoreAssetDir(storePath, 'skill');
134
+ const agents = scanStoreAssetDir(storePath, 'agent');
135
+ const mcp = scanStoreMcp(storePath);
182
136
  return { skills, agents, mcp };
183
137
  }
184
138
 
185
139
  /**
186
140
  * Get flat list of all store assets (skills + agents).
187
141
  * Used as the master source for project matrix comparison.
188
- * Skills are filtered by manifest.
189
142
  */
190
143
  export function getStoreAssets(): StoreAssetInfo[] {
191
144
  const storePath = getStorePath();
192
- const manifest = loadManifest();
193
-
194
- let skills = scanStoreAssetDir(storePath, 'skill');
195
- let agents = scanStoreAssetDir(storePath, 'agent');
196
-
197
- if (manifest) {
198
- if (manifest.skills) {
199
- const allowed = new Set(manifest.skills);
200
- skills = skills.filter(s => allowed.has(s.name));
201
- }
202
- if (manifest.agents) {
203
- const allowed = new Set(manifest.agents);
204
- agents = agents.filter(a => allowed.has(a.name));
205
- }
206
- }
207
-
145
+ const skills = scanStoreAssetDir(storePath, 'skill');
146
+ const agents = scanStoreAssetDir(storePath, 'agent');
208
147
  return [...skills, ...agents];
209
148
  }