@atlashub/smartstack-cli 3.21.0 → 3.22.0

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 (28) hide show
  1. package/dist/index.js +17 -5
  2. package/dist/index.js.map +1 -1
  3. package/dist/mcp-entry.mjs +68 -3
  4. package/dist/mcp-entry.mjs.map +1 -1
  5. package/package.json +1 -1
  6. package/templates/skills/application/references/application-roles-template.md +2 -2
  7. package/templates/skills/application/steps/step-05-frontend.md +40 -35
  8. package/templates/skills/application/templates-frontend.md +64 -36
  9. package/templates/skills/business-analyse/html/ba-interactive.html +80 -6
  10. package/templates/skills/business-analyse/html/src/scripts/05-render-specs.js +38 -6
  11. package/templates/skills/business-analyse/html/src/styles/06-wireframes.css +42 -0
  12. package/templates/skills/business-analyse/references/acceptance-criteria.md +169 -0
  13. package/templates/skills/business-analyse/references/deploy-data-build.md +5 -3
  14. package/templates/skills/business-analyse/references/handoff-file-templates.md +2 -1
  15. package/templates/skills/business-analyse/references/naming-conventions.md +245 -0
  16. package/templates/skills/business-analyse/references/validate-incremental-html.md +26 -4
  17. package/templates/skills/business-analyse/references/validation-checklist.md +31 -11
  18. package/templates/skills/business-analyse/references/wireframe-svg-style-guide.md +335 -0
  19. package/templates/skills/business-analyse/steps/step-03b-ui.md +59 -0
  20. package/templates/skills/business-analyse/steps/step-03c-compile.md +114 -0
  21. package/templates/skills/business-analyse/steps/step-03d-validate.md +144 -22
  22. package/templates/skills/business-analyse/steps/step-05a-handoff.md +114 -2
  23. package/templates/skills/business-analyse/steps/step-05b-deploy.md +28 -0
  24. package/templates/skills/ralph-loop/references/category-rules.md +5 -2
  25. package/templates/skills/ralph-loop/references/compact-loop.md +52 -1
  26. package/templates/skills/ralph-loop/references/core-seed-data.md +232 -21
  27. package/templates/skills/ralph-loop/steps/step-01-task.md +36 -4
  28. package/templates/skills/ralph-loop/steps/step-02-execute.md +81 -0
package/dist/index.js CHANGED
@@ -117390,11 +117390,11 @@ createRoot(document.getElementById('root')!).render(
117390
117390
  logSafeWriteResult(main_relPath, main_result);
117391
117391
  recordFile(state, "frontend", main_relPath, main_result.hash);
117392
117392
  const appTsx = `import { useRoutes, Navigate } from 'react-router-dom';
117393
- import { smartstackRoutes, mergeRoutes } from '@atlashub/smartstack';
117394
- import type { RouteConfig } from '@atlashub/smartstack';
117393
+ import { mergeRoutes } from '@atlashub/smartstack';
117394
+ import type { RouteConfig, ContextRouteExtensions } from '@atlashub/smartstack';
117395
117395
 
117396
117396
  /**
117397
- * Client-specific routes
117397
+ * Client-specific routes (outside SmartStack locked contexts)
117398
117398
  * Add your custom routes here. Locked SmartStack paths cannot be overridden.
117399
117399
  */
117400
117400
  const clientRoutes: RouteConfig[] = [
@@ -117405,9 +117405,21 @@ const clientRoutes: RouteConfig[] = [
117405
117405
  ];
117406
117406
 
117407
117407
  /**
117408
- * Merged routes combining client and SmartStack routes
117408
+ * Context-scoped route extensions
117409
+ * Add your business/platform/personal routes here.
117410
+ * Paths are RELATIVE to the context root.
117411
+ * Example: 'rh/timemanagement/list' (NOT '/business/rh/timemanagement/list')
117409
117412
  */
117410
- const routes = mergeRoutes(clientRoutes, smartstackRoutes);
117413
+ const contextRoutes: ContextRouteExtensions = {
117414
+ // business: [],
117415
+ // platform: [],
117416
+ // personal: [],
117417
+ };
117418
+
117419
+ /**
117420
+ * Merged routes combining client, context extensions, and SmartStack core routes
117421
+ */
117422
+ const routes = mergeRoutes(clientRoutes, contextRoutes);
117411
117423
 
117412
117424
  /**
117413
117425
  * App - Main application component