loki-mode 6.60.0 → 6.62.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 (64) hide show
  1. package/SKILL.md +2 -2
  2. package/VERSION +1 -1
  3. package/autonomy/app-runner.sh +34 -8
  4. package/autonomy/completion-council.sh +70 -32
  5. package/autonomy/issue-parser.sh +4 -7
  6. package/autonomy/loki +238 -119
  7. package/autonomy/notification-checker.py +49 -23
  8. package/autonomy/run.sh +162 -79
  9. package/autonomy/sandbox.sh +91 -24
  10. package/bin/loki-mode.js +1 -2
  11. package/bin/postinstall.js +10 -4
  12. package/dashboard/__init__.py +1 -1
  13. package/dashboard/control.py +46 -36
  14. package/dashboard/database.py +21 -4
  15. package/dashboard/server.py +107 -78
  16. package/docs/BUG-AUDIT-v6.61.0.md +957 -0
  17. package/docs/INSTALLATION.md +2 -2
  18. package/events/bus.py +129 -28
  19. package/events/bus.ts +41 -27
  20. package/events/emit.sh +1 -1
  21. package/integrations/openclaw/README.md +139 -0
  22. package/integrations/openclaw/SKILL.md +88 -0
  23. package/integrations/openclaw/bridge/__init__.py +1 -0
  24. package/integrations/openclaw/bridge/__main__.py +88 -0
  25. package/integrations/openclaw/bridge/schema_map.py +180 -0
  26. package/integrations/openclaw/bridge/watcher.py +100 -0
  27. package/integrations/openclaw/scripts/format-progress.sh +80 -0
  28. package/integrations/openclaw/scripts/poll-status.sh +74 -0
  29. package/integrations/vibe-kanban.md +289 -0
  30. package/mcp/__init__.py +1 -1
  31. package/mcp/server.py +96 -73
  32. package/memory/consolidation.py +21 -6
  33. package/memory/engine.py +53 -26
  34. package/memory/layers/index_layer.py +16 -3
  35. package/memory/layers/timeline_layer.py +16 -3
  36. package/memory/retrieval.py +4 -1
  37. package/memory/schemas.py +4 -2
  38. package/memory/storage.py +25 -4
  39. package/memory/token_economics.py +9 -2
  40. package/memory/vector_index.py +2 -2
  41. package/package.json +3 -1
  42. package/providers/cline.sh +5 -4
  43. package/providers/codex.sh +27 -5
  44. package/providers/gemini.sh +59 -23
  45. package/providers/loader.sh +3 -2
  46. package/skills/parallel-workflows.md +9 -7
  47. package/state/__init__.py +10 -0
  48. package/state/index.ts +18 -0
  49. package/state/manager.py +1801 -0
  50. package/state/manager.ts +1774 -0
  51. package/state/sqlite_backend.py +188 -0
  52. package/state/test_manager.py +703 -0
  53. package/state/test_manager.ts +366 -0
  54. package/templates/README.md +19 -4
  55. package/templates/dashboard.md +45 -0
  56. package/templates/data-pipeline.md +45 -0
  57. package/templates/game.md +48 -0
  58. package/templates/microservice.md +49 -0
  59. package/templates/npm-library.md +42 -0
  60. package/templates/rest-api.md +170 -33
  61. package/templates/slack-bot.md +48 -0
  62. package/templates/web-scraper.md +45 -0
  63. package/web-app/server.py +360 -191
  64. package/templates/saas-app.md +0 -42
@@ -1,42 +0,0 @@
1
- # PRD: SaaS Application
2
-
3
- ## Overview
4
- A modern SaaS web application with user authentication, subscription billing, team management, and an admin dashboard.
5
-
6
- ## Target Users
7
- - Indie developers launching subscription-based products
8
- - Small teams needing a billing-ready web application
9
- - Founders validating a SaaS idea quickly
10
-
11
- ## Core Features
12
- 1. **User Authentication** - Email/password signup and login with session management and email verification
13
- 2. **OAuth Integration** - Sign in with Google and GitHub for frictionless onboarding
14
- 3. **Subscription Billing** - Stripe integration with Free, Pro, and Enterprise pricing tiers
15
- 4. **Admin Dashboard** - User management, subscription metrics, revenue analytics, and system health monitoring
16
- 5. **User Settings** - Profile editing, password changes, avatar upload, and plan management
17
- 6. **Team Management** - Invite members by email, assign roles (owner, admin, member), manage permissions
18
- 7. **API Layer** - RESTful API with authentication middleware, rate limiting, and input validation
19
-
20
- ## Technical Requirements
21
- - Next.js 14 with App Router and TypeScript
22
- - TailwindCSS with shadcn/ui components
23
- - Prisma ORM with PostgreSQL
24
- - NextAuth.js v5 for authentication
25
- - Stripe SDK for payment processing
26
- - Server-side rendering for authenticated pages
27
- - Middleware-based route protection
28
-
29
- ## Quality Gates
30
- - Unit tests for business logic and utilities (Vitest)
31
- - API integration tests for auth flow and billing webhooks
32
- - E2E tests for signup, subscribe, and cancellation flow (Playwright)
33
- - All API routes validated with zod schemas
34
- - Stripe webhook signature verification
35
- - CSRF protection on all mutations
36
-
37
- ## Success Metrics
38
- - User can sign up, verify email, and log in via email or OAuth
39
- - Subscription checkout and cancellation work end-to-end
40
- - Admin dashboard displays accurate user and revenue data
41
- - Role-based access control enforced on all routes
42
- - All tests pass with zero console errors