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.
- package/SKILL.md +2 -2
- package/VERSION +1 -1
- package/autonomy/app-runner.sh +34 -8
- package/autonomy/completion-council.sh +70 -32
- package/autonomy/issue-parser.sh +4 -7
- package/autonomy/loki +238 -119
- package/autonomy/notification-checker.py +49 -23
- package/autonomy/run.sh +162 -79
- package/autonomy/sandbox.sh +91 -24
- package/bin/loki-mode.js +1 -2
- package/bin/postinstall.js +10 -4
- package/dashboard/__init__.py +1 -1
- package/dashboard/control.py +46 -36
- package/dashboard/database.py +21 -4
- package/dashboard/server.py +107 -78
- package/docs/BUG-AUDIT-v6.61.0.md +957 -0
- package/docs/INSTALLATION.md +2 -2
- package/events/bus.py +129 -28
- package/events/bus.ts +41 -27
- package/events/emit.sh +1 -1
- package/integrations/openclaw/README.md +139 -0
- package/integrations/openclaw/SKILL.md +88 -0
- package/integrations/openclaw/bridge/__init__.py +1 -0
- package/integrations/openclaw/bridge/__main__.py +88 -0
- package/integrations/openclaw/bridge/schema_map.py +180 -0
- package/integrations/openclaw/bridge/watcher.py +100 -0
- package/integrations/openclaw/scripts/format-progress.sh +80 -0
- package/integrations/openclaw/scripts/poll-status.sh +74 -0
- package/integrations/vibe-kanban.md +289 -0
- package/mcp/__init__.py +1 -1
- package/mcp/server.py +96 -73
- package/memory/consolidation.py +21 -6
- package/memory/engine.py +53 -26
- package/memory/layers/index_layer.py +16 -3
- package/memory/layers/timeline_layer.py +16 -3
- package/memory/retrieval.py +4 -1
- package/memory/schemas.py +4 -2
- package/memory/storage.py +25 -4
- package/memory/token_economics.py +9 -2
- package/memory/vector_index.py +2 -2
- package/package.json +3 -1
- package/providers/cline.sh +5 -4
- package/providers/codex.sh +27 -5
- package/providers/gemini.sh +59 -23
- package/providers/loader.sh +3 -2
- package/skills/parallel-workflows.md +9 -7
- package/state/__init__.py +10 -0
- package/state/index.ts +18 -0
- package/state/manager.py +1801 -0
- package/state/manager.ts +1774 -0
- package/state/sqlite_backend.py +188 -0
- package/state/test_manager.py +703 -0
- package/state/test_manager.ts +366 -0
- package/templates/README.md +19 -4
- package/templates/dashboard.md +45 -0
- package/templates/data-pipeline.md +45 -0
- package/templates/game.md +48 -0
- package/templates/microservice.md +49 -0
- package/templates/npm-library.md +42 -0
- package/templates/rest-api.md +170 -33
- package/templates/slack-bot.md +48 -0
- package/templates/web-scraper.md +45 -0
- package/web-app/server.py +360 -191
- package/templates/saas-app.md +0 -42
package/templates/saas-app.md
DELETED
|
@@ -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
|