proagents 1.6.20 → 1.6.22
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/.claude/settings.local.json +3 -1
- package/.proagents/.cursorrules +1 -1
- package/.proagents/.windsurfrules +1 -1
- package/.proagents/AGENTS.md +1 -1
- package/.proagents/AI_INSTRUCTIONS.md +29 -1
- package/.proagents/BOLT.md +1 -1
- package/.proagents/CLAUDE.md +1 -1
- package/.proagents/GEMINI.md +1 -1
- package/.proagents/KIRO.md +1 -1
- package/.proagents/LOVABLE.md +1 -1
- package/.proagents/REPLIT.md +1 -1
- package/.proagents/custom-commands.yaml +1 -2
- package/.proagents/docs/command-details.md +1 -2
- package/.proagents/getting-started/ai-training-setup.md +0 -1
- package/.proagents/performance/README.md +59 -0
- package/.proagents/performance/bundle-analysis.md +375 -0
- package/.proagents/performance/load-testing.md +563 -0
- package/.proagents/performance/runtime-metrics.md +489 -0
- package/.proagents/performance/web-vitals.md +425 -0
- package/.proagents/proagents.config.yaml +55 -1
- package/.proagents/prompts/11-session-tracking.md +100 -0
- package/.proagents/prompts/13-commit.md +426 -0
- package/.proagents/workflow-modes/entry-modes.md +1 -6
- package/COMMANDS.md +19 -0
- package/lib/commands/init.js +62 -11
- package/package.json +1 -1
- package/.proagents/api-versioning/README.md +0 -257
- package/.proagents/api-versioning/changelog-template.md +0 -225
- package/.proagents/api-versioning/deprecation-workflow.md +0 -470
- package/.proagents/api-versioning/versioning-strategy.md +0 -291
- package/.proagents/automation/README.md +0 -38
- package/.proagents/automation/ai-behavior-rules.md +0 -339
- package/.proagents/automation/ai-prompt-injection.md +0 -331
- package/.proagents/automation/auto-decisions.md +0 -535
- package/.proagents/automation/decision-defaults.yaml +0 -317
- package/.proagents/cache/README.md +0 -110
- package/.proagents/cache/analysis-metadata.json +0 -76
- package/.proagents/cache/conventions.json +0 -125
- package/.proagents/cache/dependencies.json +0 -85
- package/.proagents/cache/features.json +0 -115
- package/.proagents/cache/patterns.json +0 -105
- package/.proagents/cache/schemas/conventions-schema.json +0 -138
- package/.proagents/cache/schemas/dependencies-schema.json +0 -95
- package/.proagents/cache/schemas/features-schema.json +0 -104
- package/.proagents/cache/schemas/metadata-schema.json +0 -83
- package/.proagents/cache/schemas/patterns-schema.json +0 -136
- package/.proagents/cache/schemas/structure-schema.json +0 -72
- package/.proagents/cache/structure.json +0 -109
- package/.proagents/checklists/README.md +0 -261
- package/.proagents/checklists/code-quality.md +0 -137
- package/.proagents/checklists/code-review.md +0 -148
- package/.proagents/checklists/pr-checklist.md +0 -78
- package/.proagents/checklists/pre-deployment.md +0 -132
- package/.proagents/checklists/pre-implementation.md +0 -80
- package/.proagents/checklists/testing.md +0 -120
- package/.proagents/checkpoints.json +0 -13
- package/.proagents/cicd/README.md +0 -338
- package/.proagents/cicd/azure-devops.md +0 -267
- package/.proagents/cicd/github-actions.md +0 -375
- package/.proagents/cicd/gitlab-ci.md +0 -278
- package/.proagents/cicd/jenkins.md +0 -317
- package/.proagents/collaboration/README.md +0 -143
- package/.proagents/collaboration/roles.md +0 -248
- package/.proagents/collaboration/sessions.md +0 -390
- package/.proagents/collaboration/sync.md +0 -358
- package/.proagents/cost/README.md +0 -48
- package/.proagents/cost/cost-template.md +0 -283
- package/.proagents/cost/estimation-framework.md +0 -287
- package/.proagents/database/README.md +0 -72
- package/.proagents/database/examples/001-create-users.sql +0 -129
- package/.proagents/database/examples/002-add-preferences.sql +0 -94
- package/.proagents/database/examples/003-add-index.sql +0 -105
- package/.proagents/database/examples/004-rename-column.sql +0 -122
- package/.proagents/database/examples/005-add-foreign-key.sql +0 -142
- package/.proagents/database/examples/006-data-migration.sql +0 -196
- package/.proagents/database/examples/007-drop-column.sql +0 -163
- package/.proagents/database/examples/README.md +0 -89
- package/.proagents/database/migration-workflow.md +0 -478
- package/.proagents/database/rollback-scripts.md +0 -487
- package/.proagents/database/safety-checks.md +0 -447
- package/.proagents/git/README.md +0 -68
- package/.proagents/git/branch-strategy.md +0 -164
- package/.proagents/git/commit-conventions.md +0 -241
- package/.proagents/git/pr-workflow.md +0 -286
- package/.proagents/git/rollback-procedures.md +0 -416
- package/.proagents/ide-integration/README.md +0 -124
- package/.proagents/ide-integration/cline-config.md +0 -429
- package/.proagents/ide-integration/continue-config.md +0 -380
- package/.proagents/ide-integration/cursor-rules.md +0 -280
- package/.proagents/ide-integration/github-copilot.md +0 -384
- package/.proagents/ide-integration/windsurf-rules.md +0 -314
- package/.proagents/integrations/README.md +0 -97
- package/.proagents/integrations/pm/README.md +0 -344
- package/.proagents/learning/README.md +0 -136
- package/.proagents/learning/adaptation.md +0 -305
- package/.proagents/learning/data-collection.md +0 -283
- package/.proagents/learning/implementation-guide.md +0 -865
- package/.proagents/learning/reports.md +0 -306
- package/.proagents/mcp/README.md +0 -133
- package/.proagents/mcp/context-providers.md +0 -442
- package/.proagents/mcp/server-config.md +0 -306
- package/.proagents/mcp/tools-definition.md +0 -513
- package/.proagents/pm-integration/README.md +0 -151
- package/.proagents/pm-integration/asana.md +0 -346
- package/.proagents/pm-integration/github-issues.md +0 -308
- package/.proagents/pm-integration/gitlab-issues.md +0 -482
- package/.proagents/pm-integration/jira.md +0 -364
- package/.proagents/pm-integration/linear.md +0 -409
- package/.proagents/pm-integration/notion.md +0 -275
- package/.proagents/pm-integration/sync-config.md +0 -533
- package/.proagents/pm-integration/trello.md +0 -159
- package/.proagents/rules/README.md +0 -179
- package/.proagents/rules/custom-rules-template.yaml +0 -286
- package/.proagents/rules/custom-rules.md +0 -754
- package/.proagents/rules/validation-rules-template.yaml +0 -517
- package/.proagents/runbooks/README.md +0 -219
- package/.proagents/runbooks/dependency-vulnerability.md +0 -505
- package/.proagents/runbooks/incident-response.md +0 -451
- package/.proagents/runbooks/performance-degradation.md +0 -584
- package/.proagents/runbooks/production-debugging.md +0 -489
- package/.proagents/sessions/README.md +0 -5
- package/.proagents/sprints/README.md +0 -58
- package/.proagents/team/README.md +0 -256
- package/.proagents/team/code-ownership.md +0 -306
- package/.proagents/team/communication-templates.md +0 -441
- package/.proagents/team/handoff-protocol.md +0 -380
- package/.proagents/team/ide-setup/README.md +0 -103
- package/.proagents/team/ide-setup/cursor.md +0 -276
- package/.proagents/team/ide-setup/jetbrains.md +0 -330
- package/.proagents/team/ide-setup/neovim.md +0 -640
- package/.proagents/team/ide-setup/vscode.md +0 -348
- package/.proagents/team/onboarding.md +0 -278
- package/.proagents/time-tracking.json +0 -19
- package/.proagents/troubleshooting/README.md +0 -730
- package/.proagents/troubleshooting/ai-issues.md +0 -601
- package/.proagents/troubleshooting/workflow-issues.md +0 -571
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./schemas/dependencies-schema.json",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"generated_at": "2024-01-15T10:00:00Z",
|
|
5
|
-
|
|
6
|
-
"package_manager": "npm",
|
|
7
|
-
"lockfile": "package-lock.json",
|
|
8
|
-
|
|
9
|
-
"production": {
|
|
10
|
-
"framework": [
|
|
11
|
-
{ "name": "next", "version": "14.0.4", "purpose": "React framework" },
|
|
12
|
-
{ "name": "react", "version": "18.2.0", "purpose": "UI library" },
|
|
13
|
-
{ "name": "react-dom", "version": "18.2.0", "purpose": "React DOM" }
|
|
14
|
-
],
|
|
15
|
-
"state_management": [
|
|
16
|
-
{ "name": "zustand", "version": "4.4.7", "purpose": "State management" },
|
|
17
|
-
{ "name": "@tanstack/react-query", "version": "5.17.0", "purpose": "Server state" }
|
|
18
|
-
],
|
|
19
|
-
"styling": [
|
|
20
|
-
{ "name": "tailwindcss", "version": "3.4.0", "purpose": "Utility CSS" },
|
|
21
|
-
{ "name": "clsx", "version": "2.1.0", "purpose": "Class merging" }
|
|
22
|
-
],
|
|
23
|
-
"database": [
|
|
24
|
-
{ "name": "@prisma/client", "version": "5.8.0", "purpose": "Database client" }
|
|
25
|
-
],
|
|
26
|
-
"authentication": [
|
|
27
|
-
{ "name": "next-auth", "version": "4.24.5", "purpose": "Authentication" }
|
|
28
|
-
],
|
|
29
|
-
"validation": [
|
|
30
|
-
{ "name": "zod", "version": "3.22.4", "purpose": "Schema validation" }
|
|
31
|
-
],
|
|
32
|
-
"utilities": [
|
|
33
|
-
{ "name": "date-fns", "version": "3.2.0", "purpose": "Date utilities" },
|
|
34
|
-
{ "name": "lodash-es", "version": "4.17.21", "purpose": "Utility functions" }
|
|
35
|
-
]
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
"development": {
|
|
39
|
-
"typescript": [
|
|
40
|
-
{ "name": "typescript", "version": "5.3.3" },
|
|
41
|
-
{ "name": "@types/react", "version": "18.2.47" },
|
|
42
|
-
{ "name": "@types/node", "version": "20.10.6" }
|
|
43
|
-
],
|
|
44
|
-
"testing": [
|
|
45
|
-
{ "name": "vitest", "version": "1.2.0", "purpose": "Test framework" },
|
|
46
|
-
{ "name": "@testing-library/react", "version": "14.1.2" },
|
|
47
|
-
{ "name": "playwright", "version": "1.40.1", "purpose": "E2E testing" }
|
|
48
|
-
],
|
|
49
|
-
"linting": [
|
|
50
|
-
{ "name": "eslint", "version": "8.56.0" },
|
|
51
|
-
{ "name": "prettier", "version": "3.2.2" }
|
|
52
|
-
],
|
|
53
|
-
"database": [
|
|
54
|
-
{ "name": "prisma", "version": "5.8.0", "purpose": "Database toolkit" }
|
|
55
|
-
]
|
|
56
|
-
},
|
|
57
|
-
|
|
58
|
-
"internal_dependencies": {
|
|
59
|
-
"src/components": {
|
|
60
|
-
"imports_from": ["src/hooks", "src/types", "src/utils"],
|
|
61
|
-
"imported_by": ["src/app"]
|
|
62
|
-
},
|
|
63
|
-
"src/hooks": {
|
|
64
|
-
"imports_from": ["src/services", "src/stores", "src/types"],
|
|
65
|
-
"imported_by": ["src/components", "src/app"]
|
|
66
|
-
},
|
|
67
|
-
"src/services": {
|
|
68
|
-
"imports_from": ["src/types", "src/utils"],
|
|
69
|
-
"imported_by": ["src/hooks"]
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
|
|
73
|
-
"circular_dependencies": [],
|
|
74
|
-
|
|
75
|
-
"security": {
|
|
76
|
-
"last_audit": "2024-01-15T10:00:00Z",
|
|
77
|
-
"vulnerabilities": {
|
|
78
|
-
"critical": 0,
|
|
79
|
-
"high": 0,
|
|
80
|
-
"medium": 1,
|
|
81
|
-
"low": 2
|
|
82
|
-
},
|
|
83
|
-
"outdated_packages": 3
|
|
84
|
-
}
|
|
85
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./schemas/features-schema.json",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"generated_at": "2024-01-15T08:00:00Z",
|
|
5
|
-
|
|
6
|
-
"discovered_features": [
|
|
7
|
-
{
|
|
8
|
-
"name": "User Authentication",
|
|
9
|
-
"status": "implemented",
|
|
10
|
-
"location": "src/lib/auth.ts",
|
|
11
|
-
"components": [
|
|
12
|
-
"src/components/auth/LoginButton.tsx",
|
|
13
|
-
"src/components/auth/LogoutButton.tsx",
|
|
14
|
-
"src/components/auth/UserMenu.tsx"
|
|
15
|
-
],
|
|
16
|
-
"api_routes": [
|
|
17
|
-
"src/app/api/auth/[...nextauth]/route.ts"
|
|
18
|
-
],
|
|
19
|
-
"hooks": ["src/hooks/useAuth.ts"],
|
|
20
|
-
"related_files": 12,
|
|
21
|
-
"test_coverage": 85
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "Dashboard",
|
|
25
|
-
"status": "implemented",
|
|
26
|
-
"location": "src/app/dashboard",
|
|
27
|
-
"components": [
|
|
28
|
-
"src/components/dashboard/DashboardLayout.tsx",
|
|
29
|
-
"src/components/dashboard/StatsCard.tsx",
|
|
30
|
-
"src/components/dashboard/RecentActivity.tsx"
|
|
31
|
-
],
|
|
32
|
-
"related_files": 8,
|
|
33
|
-
"test_coverage": 72
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "User Profile",
|
|
37
|
-
"status": "implemented",
|
|
38
|
-
"location": "src/app/profile",
|
|
39
|
-
"components": [
|
|
40
|
-
"src/components/profile/ProfileForm.tsx",
|
|
41
|
-
"src/components/profile/AvatarUpload.tsx"
|
|
42
|
-
],
|
|
43
|
-
"api_routes": [
|
|
44
|
-
"src/app/api/users/[id]/route.ts"
|
|
45
|
-
],
|
|
46
|
-
"related_files": 6,
|
|
47
|
-
"test_coverage": 68
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "Settings",
|
|
51
|
-
"status": "partial",
|
|
52
|
-
"location": "src/app/settings",
|
|
53
|
-
"components": [
|
|
54
|
-
"src/components/settings/SettingsForm.tsx"
|
|
55
|
-
],
|
|
56
|
-
"related_files": 4,
|
|
57
|
-
"test_coverage": 45,
|
|
58
|
-
"notes": "Notification settings not yet implemented"
|
|
59
|
-
}
|
|
60
|
-
],
|
|
61
|
-
|
|
62
|
-
"ui_components": {
|
|
63
|
-
"total": 24,
|
|
64
|
-
"by_category": {
|
|
65
|
-
"layout": ["Header", "Footer", "Sidebar", "PageContainer"],
|
|
66
|
-
"forms": ["Input", "Select", "Checkbox", "Button", "Form"],
|
|
67
|
-
"display": ["Card", "Badge", "Avatar", "Modal", "Toast"],
|
|
68
|
-
"navigation": ["NavLink", "Breadcrumb", "Tabs"],
|
|
69
|
-
"feedback": ["Spinner", "Skeleton", "Alert", "Progress"]
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
|
|
73
|
-
"api_endpoints": [
|
|
74
|
-
{
|
|
75
|
-
"route": "/api/auth/[...nextauth]",
|
|
76
|
-
"methods": ["GET", "POST"],
|
|
77
|
-
"purpose": "Authentication"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"route": "/api/users",
|
|
81
|
-
"methods": ["GET", "POST"],
|
|
82
|
-
"purpose": "User management"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"route": "/api/users/[id]",
|
|
86
|
-
"methods": ["GET", "PUT", "DELETE"],
|
|
87
|
-
"purpose": "Individual user"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"route": "/api/dashboard/stats",
|
|
91
|
-
"methods": ["GET"],
|
|
92
|
-
"purpose": "Dashboard statistics"
|
|
93
|
-
}
|
|
94
|
-
],
|
|
95
|
-
|
|
96
|
-
"state_stores": [
|
|
97
|
-
{
|
|
98
|
-
"name": "useUserStore",
|
|
99
|
-
"location": "src/stores/userStore.ts",
|
|
100
|
-
"purpose": "User session state"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"name": "useUIStore",
|
|
104
|
-
"location": "src/stores/uiStore.ts",
|
|
105
|
-
"purpose": "UI state (sidebar, modals)"
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
|
|
109
|
-
"database_models": [
|
|
110
|
-
{ "name": "User", "table": "users", "fields": 8 },
|
|
111
|
-
{ "name": "Account", "table": "accounts", "fields": 10 },
|
|
112
|
-
{ "name": "Session", "table": "sessions", "fields": 4 },
|
|
113
|
-
{ "name": "Profile", "table": "profiles", "fields": 6 }
|
|
114
|
-
]
|
|
115
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./schemas/patterns-schema.json",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"generated_at": "2024-01-15T08:00:00Z",
|
|
5
|
-
|
|
6
|
-
"architecture_patterns": {
|
|
7
|
-
"overall": "feature-based",
|
|
8
|
-
"state_management": "zustand-with-react-query",
|
|
9
|
-
"api_layer": "service-abstraction",
|
|
10
|
-
"component_structure": "atomic-design-inspired"
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
"code_patterns": {
|
|
14
|
-
"component_pattern": {
|
|
15
|
-
"name": "Typed Functional Component",
|
|
16
|
-
"frequency": 95,
|
|
17
|
-
"template": "export const {{Name}}: FC<{{Name}}Props> = ({ ...props }) => {\n return (...);\n};",
|
|
18
|
-
"examples": [
|
|
19
|
-
"src/components/Button.tsx",
|
|
20
|
-
"src/components/Card.tsx"
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
"hook_pattern": {
|
|
25
|
-
"name": "Custom Hook with Options",
|
|
26
|
-
"frequency": 88,
|
|
27
|
-
"template": "export function use{{Name}}(options?: {{Name}}Options) {\n const [state, setState] = useState();\n // logic\n return { data, loading, error, actions };\n}",
|
|
28
|
-
"examples": [
|
|
29
|
-
"src/hooks/useAuth.ts",
|
|
30
|
-
"src/hooks/useLocalStorage.ts"
|
|
31
|
-
]
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
"api_route_pattern": {
|
|
35
|
-
"name": "Next.js App Router API",
|
|
36
|
-
"frequency": 100,
|
|
37
|
-
"template": "export async function {{METHOD}}(req: NextRequest) {\n try {\n // implementation\n return NextResponse.json({ success: true, data });\n } catch (error) {\n return NextResponse.json({ success: false, error }, { status: 500 });\n }\n}",
|
|
38
|
-
"examples": [
|
|
39
|
-
"src/app/api/users/route.ts"
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
"service_pattern": {
|
|
44
|
-
"name": "Service Class",
|
|
45
|
-
"frequency": 75,
|
|
46
|
-
"template": "export class {{Name}}Service {\n private static instance: {{Name}}Service;\n \n static getInstance(): {{Name}}Service {\n if (!this.instance) this.instance = new {{Name}}Service();\n return this.instance;\n }\n \n async method(): Promise<Result> { ... }\n}",
|
|
47
|
-
"examples": [
|
|
48
|
-
"src/services/UserService.ts"
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
"store_pattern": {
|
|
53
|
-
"name": "Zustand Store",
|
|
54
|
-
"frequency": 100,
|
|
55
|
-
"template": "export const use{{Name}}Store = create<{{Name}}State>((set, get) => ({\n // state\n data: null,\n // actions\n setData: (data) => set({ data }),\n}));",
|
|
56
|
-
"examples": [
|
|
57
|
-
"src/stores/userStore.ts"
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
"error_handling": {
|
|
63
|
-
"pattern": "try-catch-with-logging",
|
|
64
|
-
"error_boundary": true,
|
|
65
|
-
"api_error_format": {
|
|
66
|
-
"structure": "{ success: false, error: { code, message, details } }",
|
|
67
|
-
"http_codes": "standard"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
"testing_patterns": {
|
|
72
|
-
"structure": "arrange-act-assert",
|
|
73
|
-
"naming": "should_behavior_when_condition",
|
|
74
|
-
"mocking": "vi.mock for modules, msw for api",
|
|
75
|
-
"coverage_target": 80
|
|
76
|
-
},
|
|
77
|
-
|
|
78
|
-
"anti_patterns_detected": [
|
|
79
|
-
{
|
|
80
|
-
"pattern": "prop-drilling",
|
|
81
|
-
"occurrences": 2,
|
|
82
|
-
"locations": ["src/components/nested/DeepComponent.tsx"],
|
|
83
|
-
"suggestion": "Consider using context or state management"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"pattern": "any-type-usage",
|
|
87
|
-
"occurrences": 5,
|
|
88
|
-
"locations": ["src/utils/helpers.ts"],
|
|
89
|
-
"suggestion": "Define proper TypeScript interfaces"
|
|
90
|
-
}
|
|
91
|
-
],
|
|
92
|
-
|
|
93
|
-
"recommendations": [
|
|
94
|
-
{
|
|
95
|
-
"area": "components",
|
|
96
|
-
"suggestion": "Consider adding error boundaries to page components",
|
|
97
|
-
"priority": "medium"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"area": "testing",
|
|
101
|
-
"suggestion": "Increase integration test coverage for API routes",
|
|
102
|
-
"priority": "high"
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "cache-conventions-schema.json",
|
|
4
|
-
"title": "Cache Conventions Schema",
|
|
5
|
-
"description": "Schema for cached code conventions in the ProAgents analysis cache",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["version", "generated_at", "naming"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"$schema": {
|
|
10
|
-
"type": "string"
|
|
11
|
-
},
|
|
12
|
-
"version": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
15
|
-
},
|
|
16
|
-
"generated_at": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"format": "date-time"
|
|
19
|
-
},
|
|
20
|
-
"naming": {
|
|
21
|
-
"type": "object",
|
|
22
|
-
"properties": {
|
|
23
|
-
"files": {
|
|
24
|
-
"type": "object",
|
|
25
|
-
"additionalProperties": { "$ref": "#/definitions/naming_convention" }
|
|
26
|
-
},
|
|
27
|
-
"code": {
|
|
28
|
-
"type": "object",
|
|
29
|
-
"additionalProperties": { "$ref": "#/definitions/naming_convention" }
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"formatting": {
|
|
34
|
-
"type": "object",
|
|
35
|
-
"properties": {
|
|
36
|
-
"indentation": {
|
|
37
|
-
"type": "object",
|
|
38
|
-
"properties": {
|
|
39
|
-
"type": { "type": "string", "enum": ["spaces", "tabs"] },
|
|
40
|
-
"size": { "type": "integer", "minimum": 1, "maximum": 8 },
|
|
41
|
-
"confidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"quotes": {
|
|
45
|
-
"type": "object",
|
|
46
|
-
"properties": {
|
|
47
|
-
"style": { "type": "string", "enum": ["single", "double"] },
|
|
48
|
-
"jsx": { "type": "string", "enum": ["single", "double"] },
|
|
49
|
-
"confidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"semicolons": {
|
|
53
|
-
"type": "object",
|
|
54
|
-
"properties": {
|
|
55
|
-
"required": { "type": "boolean" },
|
|
56
|
-
"confidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"trailing_commas": {
|
|
60
|
-
"type": "object",
|
|
61
|
-
"properties": {
|
|
62
|
-
"style": { "type": "string", "enum": ["none", "es5", "all"] },
|
|
63
|
-
"confidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"line_length": {
|
|
67
|
-
"type": "object",
|
|
68
|
-
"properties": {
|
|
69
|
-
"max": { "type": "integer", "minimum": 40, "maximum": 200 },
|
|
70
|
-
"confidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"imports": {
|
|
76
|
-
"type": "object",
|
|
77
|
-
"properties": {
|
|
78
|
-
"order": {
|
|
79
|
-
"type": "array",
|
|
80
|
-
"items": {
|
|
81
|
-
"type": "object",
|
|
82
|
-
"properties": {
|
|
83
|
-
"group": { "type": "string" },
|
|
84
|
-
"pattern": { "type": "string" }
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"style": { "type": "string", "enum": ["named", "default", "mixed"] },
|
|
89
|
-
"newline_between_groups": { "type": "boolean" },
|
|
90
|
-
"confidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"exports": {
|
|
94
|
-
"type": "object",
|
|
95
|
-
"properties": {
|
|
96
|
-
"style": { "type": "string", "enum": ["named", "default", "mixed"] },
|
|
97
|
-
"default_exports": { "type": "string" },
|
|
98
|
-
"barrel_files": { "type": "boolean" },
|
|
99
|
-
"confidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"comments": {
|
|
103
|
-
"type": "object",
|
|
104
|
-
"properties": {
|
|
105
|
-
"style": { "type": "string" },
|
|
106
|
-
"required_for": {
|
|
107
|
-
"type": "array",
|
|
108
|
-
"items": { "type": "string" }
|
|
109
|
-
},
|
|
110
|
-
"format": {
|
|
111
|
-
"type": "object",
|
|
112
|
-
"properties": {
|
|
113
|
-
"single_line": { "type": "string" },
|
|
114
|
-
"multi_line": { "type": "string" },
|
|
115
|
-
"doc": { "type": "string" }
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
"confidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"definitions": {
|
|
123
|
-
"naming_convention": {
|
|
124
|
-
"type": "object",
|
|
125
|
-
"properties": {
|
|
126
|
-
"pattern": { "type": "string" },
|
|
127
|
-
"prefix": { "type": "string" },
|
|
128
|
-
"suffix": { "type": "string" },
|
|
129
|
-
"extension": { "type": "string" },
|
|
130
|
-
"examples": {
|
|
131
|
-
"type": "array",
|
|
132
|
-
"items": { "type": "string" }
|
|
133
|
-
},
|
|
134
|
-
"confidence": { "type": "number", "minimum": 0, "maximum": 1 }
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "cache-dependencies-schema.json",
|
|
4
|
-
"title": "Cache Dependencies Schema",
|
|
5
|
-
"description": "Schema for cached project dependencies in the ProAgents analysis cache",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["version", "generated_at", "package_manager"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"$schema": {
|
|
10
|
-
"type": "string"
|
|
11
|
-
},
|
|
12
|
-
"version": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
15
|
-
},
|
|
16
|
-
"generated_at": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"format": "date-time"
|
|
19
|
-
},
|
|
20
|
-
"package_manager": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"enum": ["npm", "yarn", "pnpm", "bun", "pip", "poetry", "cargo", "go"]
|
|
23
|
-
},
|
|
24
|
-
"lockfile": {
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
"production": {
|
|
28
|
-
"type": "object",
|
|
29
|
-
"additionalProperties": {
|
|
30
|
-
"type": "array",
|
|
31
|
-
"items": { "$ref": "#/definitions/dependency" }
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"development": {
|
|
35
|
-
"type": "object",
|
|
36
|
-
"additionalProperties": {
|
|
37
|
-
"type": "array",
|
|
38
|
-
"items": { "$ref": "#/definitions/dependency" }
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"internal_dependencies": {
|
|
42
|
-
"type": "object",
|
|
43
|
-
"additionalProperties": {
|
|
44
|
-
"type": "object",
|
|
45
|
-
"properties": {
|
|
46
|
-
"imports_from": {
|
|
47
|
-
"type": "array",
|
|
48
|
-
"items": { "type": "string" }
|
|
49
|
-
},
|
|
50
|
-
"imported_by": {
|
|
51
|
-
"type": "array",
|
|
52
|
-
"items": { "type": "string" }
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"circular_dependencies": {
|
|
58
|
-
"type": "array",
|
|
59
|
-
"items": {
|
|
60
|
-
"type": "array",
|
|
61
|
-
"items": { "type": "string" }
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"security": {
|
|
65
|
-
"type": "object",
|
|
66
|
-
"properties": {
|
|
67
|
-
"last_audit": {
|
|
68
|
-
"type": "string",
|
|
69
|
-
"format": "date-time"
|
|
70
|
-
},
|
|
71
|
-
"vulnerabilities": {
|
|
72
|
-
"type": "object",
|
|
73
|
-
"properties": {
|
|
74
|
-
"critical": { "type": "integer", "minimum": 0 },
|
|
75
|
-
"high": { "type": "integer", "minimum": 0 },
|
|
76
|
-
"medium": { "type": "integer", "minimum": 0 },
|
|
77
|
-
"low": { "type": "integer", "minimum": 0 }
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"outdated_packages": { "type": "integer", "minimum": 0 }
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"definitions": {
|
|
85
|
-
"dependency": {
|
|
86
|
-
"type": "object",
|
|
87
|
-
"required": ["name", "version"],
|
|
88
|
-
"properties": {
|
|
89
|
-
"name": { "type": "string" },
|
|
90
|
-
"version": { "type": "string" },
|
|
91
|
-
"purpose": { "type": "string" }
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "cache-features-schema.json",
|
|
4
|
-
"title": "Cache Features Schema",
|
|
5
|
-
"description": "Schema for cached discovered features in the ProAgents analysis cache",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["version", "generated_at", "discovered_features"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"$schema": {
|
|
10
|
-
"type": "string"
|
|
11
|
-
},
|
|
12
|
-
"version": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
15
|
-
},
|
|
16
|
-
"generated_at": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"format": "date-time"
|
|
19
|
-
},
|
|
20
|
-
"discovered_features": {
|
|
21
|
-
"type": "array",
|
|
22
|
-
"items": {
|
|
23
|
-
"type": "object",
|
|
24
|
-
"required": ["name", "status", "location"],
|
|
25
|
-
"properties": {
|
|
26
|
-
"name": { "type": "string" },
|
|
27
|
-
"status": {
|
|
28
|
-
"type": "string",
|
|
29
|
-
"enum": ["implemented", "partial", "planned", "deprecated"]
|
|
30
|
-
},
|
|
31
|
-
"location": { "type": "string" },
|
|
32
|
-
"components": {
|
|
33
|
-
"type": "array",
|
|
34
|
-
"items": { "type": "string" }
|
|
35
|
-
},
|
|
36
|
-
"api_routes": {
|
|
37
|
-
"type": "array",
|
|
38
|
-
"items": { "type": "string" }
|
|
39
|
-
},
|
|
40
|
-
"hooks": {
|
|
41
|
-
"type": "array",
|
|
42
|
-
"items": { "type": "string" }
|
|
43
|
-
},
|
|
44
|
-
"related_files": { "type": "integer", "minimum": 0 },
|
|
45
|
-
"test_coverage": { "type": "number", "minimum": 0, "maximum": 100 },
|
|
46
|
-
"notes": { "type": "string" }
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"ui_components": {
|
|
51
|
-
"type": "object",
|
|
52
|
-
"properties": {
|
|
53
|
-
"total": { "type": "integer", "minimum": 0 },
|
|
54
|
-
"by_category": {
|
|
55
|
-
"type": "object",
|
|
56
|
-
"additionalProperties": {
|
|
57
|
-
"type": "array",
|
|
58
|
-
"items": { "type": "string" }
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"api_endpoints": {
|
|
64
|
-
"type": "array",
|
|
65
|
-
"items": {
|
|
66
|
-
"type": "object",
|
|
67
|
-
"required": ["route", "methods"],
|
|
68
|
-
"properties": {
|
|
69
|
-
"route": { "type": "string" },
|
|
70
|
-
"methods": {
|
|
71
|
-
"type": "array",
|
|
72
|
-
"items": {
|
|
73
|
-
"type": "string",
|
|
74
|
-
"enum": ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"purpose": { "type": "string" }
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"state_stores": {
|
|
82
|
-
"type": "array",
|
|
83
|
-
"items": {
|
|
84
|
-
"type": "object",
|
|
85
|
-
"properties": {
|
|
86
|
-
"name": { "type": "string" },
|
|
87
|
-
"location": { "type": "string" },
|
|
88
|
-
"purpose": { "type": "string" }
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"database_models": {
|
|
93
|
-
"type": "array",
|
|
94
|
-
"items": {
|
|
95
|
-
"type": "object",
|
|
96
|
-
"properties": {
|
|
97
|
-
"name": { "type": "string" },
|
|
98
|
-
"table": { "type": "string" },
|
|
99
|
-
"fields": { "type": "integer", "minimum": 0 }
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|