claude-all-config 2.0.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/LICENSE +21 -0
- package/LICENSE.md +70 -0
- package/README.md +133 -0
- package/VERSION +1 -0
- package/agents/accessibility-reviewer.md +96 -0
- package/agents/ai-prompt-optimizer.md +94 -0
- package/agents/api-tester.md +102 -0
- package/agents/code-generator.md +94 -0
- package/agents/code-reviewer.md +47 -0
- package/agents/component-generator.md +102 -0
- package/agents/doc-generator.md +91 -0
- package/agents/migration-generator.md +94 -0
- package/agents/performance-analyzer.md +90 -0
- package/agents/proactive-mode.md +91 -0
- package/agents/readme-generator.md +101 -0
- package/agents/security-auditor.md +86 -0
- package/agents/terraform-generator.md +94 -0
- package/agents/test-generator.md +76 -0
- package/bin/agentrouter.json +36 -0
- package/bin/ai-chat +20 -0
- package/bin/antigravity.json +76 -0
- package/bin/api-manager +340 -0
- package/bin/claude-launcher +19 -0
- package/bin/claude-master +15 -0
- package/bin/claude_master.py +295 -0
- package/bin/cohere.json +7 -0
- package/bin/deepseek.json +44 -0
- package/bin/gemini.json +56 -0
- package/bin/glm.json +21 -0
- package/bin/groq.json +41 -0
- package/bin/minimax.json +26 -0
- package/bin/mistral.json +7 -0
- package/bin/moonshot.json +7 -0
- package/bin/ollama.json +36 -0
- package/bin/openai.json +46 -0
- package/bin/openrouter.json +38 -0
- package/bin/perplexity.json +12 -0
- package/bin/qwen.json +7 -0
- package/bin/switch-provider +73 -0
- package/bin/test.json +7 -0
- package/bin/xai.json +41 -0
- package/claude-all +2707 -0
- package/claude-config.json +340 -0
- package/claude-suite/REFACTORING_SUMMARY.md +88 -0
- package/claude-suite/auth/.antigravity_proxy.py +78 -0
- package/claude-suite/auth/__pycache__/openai_auth.cpython-312.pyc +0 -0
- package/claude-suite/auth/gemini_auth.py +80 -0
- package/claude-suite/auth/openai_auth.py +138 -0
- package/claude-suite/backups/claude-all-before-refactor +1075 -0
- package/claude-suite/backups/claude-all.backup +840 -0
- package/claude-suite/backups/claude-all.original +840 -0
- package/claude-suite/models/add-model-manual.sh +588 -0
- package/claude-suite/models/add-model.sh +114 -0
- package/claude-suite/models/model-switcher.sh +69 -0
- package/claude-suite/providers/claude-glm +89 -0
- package/claude-suite/providers/claude-glm-wrapper.sh +55 -0
- package/claude-suite/providers/claude-minimax +12 -0
- package/claude-suite/providers/claude-smart +132 -0
- package/claude-suite/providers/xai_chat.sh +56 -0
- package/claude-suite/utils/__pycache__/claude_master.cpython-312.pyc +0 -0
- package/claude-suite/utils/antigravity_proxy_server.py +168 -0
- package/claude-suite/utils/claude-all-help.txt +83 -0
- package/claude-suite/utils/claude_master.py +408 -0
- package/commands/brainstorm.md +5 -0
- package/commands/execute-plan.md +5 -0
- package/commands/write-plan.md +5 -0
- package/docs/ANTIGRAVITY-SETUP.md +176 -0
- package/docs/AUTH_CREDENTIALS.md +54 -0
- package/docs/NPM-INSTALLATION.md +166 -0
- package/hooks/hooks.json +15 -0
- package/hooks/run-hook.cmd +19 -0
- package/hooks/session-start.sh +52 -0
- package/install.sh +155 -0
- package/mcp.json +34 -0
- package/model/perplexity.json +12 -0
- package/package.json +69 -0
- package/plugins/README.md +47 -0
- package/plugins/installed_plugins.json +317 -0
- package/plugins/known_marketplaces.json +10 -0
- package/plugins/marketplace-info/marketplace.json +517 -0
- package/postinstall.js +100 -0
- package/scripts/antigravity_proxy_server.py +168 -0
- package/scripts/get_gemini_api_key.py +96 -0
- package/scripts/setup_antigravity_auth.py +171 -0
- package/skills/api-development/SKILL.md +11 -0
- package/skills/api-development/openapi/api-documentation.yaml +108 -0
- package/skills/brainstorming/SKILL.md +54 -0
- package/skills/code-quality/SKILL.md +196 -0
- package/skills/condition-based-waiting/SKILL.md +120 -0
- package/skills/condition-based-waiting/example.ts +158 -0
- package/skills/database-development/SKILL.md +11 -0
- package/skills/database-development/migrations/migration.template.sql +49 -0
- package/skills/defense-in-depth/SKILL.md +127 -0
- package/skills/deployment/SKILL.md +11 -0
- package/skills/deployment/ci-cd/github-actions.yml +95 -0
- package/skills/deployment/docker/Dockerfile.template +39 -0
- package/skills/dispatching-parallel-agents/SKILL.md +180 -0
- package/skills/documentation-generation/SKILL.md +8 -0
- package/skills/documentation-generation/templates/README.template.md +60 -0
- package/skills/error-handling/SKILL.md +267 -0
- package/skills/executing-plans/SKILL.md +76 -0
- package/skills/finishing-a-development-branch/SKILL.md +200 -0
- package/skills/frontend-design/frontend-design/SKILL.md +42 -0
- package/skills/integration-testing/SKILL.md +13 -0
- package/skills/integration-testing/examples/contract-test.py +317 -0
- package/skills/integration-testing/examples/e2e-test.js +147 -0
- package/skills/integration-testing/examples/test-isolation.md +94 -0
- package/skills/logging-monitoring/SKILL.md +66 -0
- package/skills/mobile-development/SKILL.md +11 -0
- package/skills/mobile-development/responsive/responsive.css +80 -0
- package/skills/performance-optimization/SKILL.md +9 -0
- package/skills/performance-optimization/profiling/profile.template.js +21 -0
- package/skills/receiving-code-review/SKILL.md +209 -0
- package/skills/refactoring/SKILL.md +11 -0
- package/skills/refactoring/code-smells/common-smells.md +115 -0
- package/skills/requesting-code-review/SKILL.md +105 -0
- package/skills/requesting-code-review/code-reviewer.md +146 -0
- package/skills/root-cause-tracing/SKILL.md +174 -0
- package/skills/root-cause-tracing/find-polluter.sh +63 -0
- package/skills/security-review/SKILL.md +11 -0
- package/skills/security-review/checklists/owasp-checklist.md +31 -0
- package/skills/sharing-skills/SKILL.md +194 -0
- package/skills/subagent-driven-development/SKILL.md +240 -0
- package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +20 -0
- package/skills/subagent-driven-development/implementer-prompt.md +78 -0
- package/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
- package/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/skills/systematic-debugging/SKILL.md +295 -0
- package/skills/systematic-debugging/test-academic.md +14 -0
- package/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/skills/test-driven-development/SKILL.md +364 -0
- package/skills/testing-anti-patterns/SKILL.md +302 -0
- package/skills/testing-skills-with-subagents/SKILL.md +387 -0
- package/skills/testing-skills-with-subagents/examples/CLAUDE_MD_TESTING.md +189 -0
- package/skills/ui-ux-review/SKILL.md +13 -0
- package/skills/ui-ux-review/checklists/ux-heuristics.md +61 -0
- package/skills/using-git-worktrees/SKILL.md +213 -0
- package/skills/using-superpowers/SKILL.md +101 -0
- package/skills/verification-before-completion/SKILL.md +139 -0
- package/skills/writing-plans/SKILL.md +116 -0
- package/skills/writing-skills/SKILL.md +622 -0
- package/skills/writing-skills/anthropic-best-practices.md +1150 -0
- package/skills/writing-skills/graphviz-conventions.dot +172 -0
- package/skills/writing-skills/persuasion-principles.md +187 -0
- package/update.sh +36 -0
- package/utils/check-superpowers.sh +114 -0
- package/utils/claude-branding.md +166 -0
- package/utils/config.js +185 -0
- package/utils/custom-claude-config.sh +89 -0
- package/utils/custom-claude-hooks.md +129 -0
- package/utils/custom-claude-lib.js +222 -0
- package/utils/customize-claude-ui.sh +162 -0
- package/utils/fix-claude-integration.sh +133 -0
- package/utils/help.js +125 -0
- package/utils/install-curl.ps1 +135 -0
- package/utils/install-curl.sh +525 -0
- package/utils/install-superpowers.js +411 -0
- package/utils/install.js +298 -0
- package/utils/install.sh +182 -0
- package/utils/postinstall.js +63 -0
- package/utils/rename-claude.sh +96 -0
- package/utils/uninstall-superpowers.js +273 -0
- package/utils/uninstall.ps1 +136 -0
- package/utils/uninstall.sh +163 -0
- package/utils/update.sh +160 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: terraform-generator
|
|
3
|
+
description: |
|
|
4
|
+
Use this agent to generate Terraform infrastructure as code for cloud deployments. Examples: <example>Context: User needs to deploy application infrastructure. user: "I need to deploy my web app with load balancer, database, and Redis cache" assistant: "Perfect! Let me use the terraform-generator agent to create complete Terraform configurations for your infrastructure" <commentary>Infrastructure needs to be codified for reproducibility, version control, and disaster recovery.</commentary></example> <example>Context: User needs cloud resources. user: "I need to set up a Kubernetes cluster on AWS with VPC and security groups" assistant: "Great! I'll use the terraform-generator agent to generate all necessary AWS Terraform resources" <commentary>Complex cloud infrastructure requires proper networking, security, and resource configuration that can be generated systematically.</commentary></example>
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are a Terraform Expert specializing in generating Infrastructure as Code (IaC) for cloud deployments. Your expertise includes AWS, Azure, GCP, and multi-cloud architectures.
|
|
8
|
+
|
|
9
|
+
When generating Terraform code, you will:
|
|
10
|
+
|
|
11
|
+
1. **Infrastructure Analysis**:
|
|
12
|
+
- Analyze application requirements
|
|
13
|
+
- Identify necessary cloud resources
|
|
14
|
+
- Plan network architecture
|
|
15
|
+
- Determine security requirements
|
|
16
|
+
- Assess scalability needs
|
|
17
|
+
|
|
18
|
+
2. **Network Infrastructure Generation**:
|
|
19
|
+
- Create VPC/VNet configurations
|
|
20
|
+
- Generate subnet layouts (public/private)
|
|
21
|
+
- Configure routing tables
|
|
22
|
+
- Set up NAT gateways
|
|
23
|
+
- Create security groups/NSG rules
|
|
24
|
+
|
|
25
|
+
3. **Compute Resources**:
|
|
26
|
+
- Generate EC2/VM configurations
|
|
27
|
+
- Create Auto Scaling Groups
|
|
28
|
+
- Configure Load Balancers (ALB/NLB)
|
|
29
|
+
- Set up container orchestration (EKS/AKS/GKE)
|
|
30
|
+
- Generate serverless resources
|
|
31
|
+
|
|
32
|
+
4. **Database and Storage**:
|
|
33
|
+
- Generate RDS/SQL Database configurations
|
|
34
|
+
- Create NoSQL database setups (DynamoDB/CosmosDB)
|
|
35
|
+
- Configure S3/Blob storage
|
|
36
|
+
- Set up Redis/Memcached caches
|
|
37
|
+
- Generate backup and retention policies
|
|
38
|
+
|
|
39
|
+
5. **Security and Compliance**:
|
|
40
|
+
- Create IAM roles and policies
|
|
41
|
+
- Generate SSL certificates
|
|
42
|
+
- Configure WAF rules
|
|
43
|
+
- Set up audit logging
|
|
44
|
+
- Create compliance checks
|
|
45
|
+
|
|
46
|
+
6. **Monitoring and Logging**:
|
|
47
|
+
- Generate CloudWatch/Monitoring setups
|
|
48
|
+
- Create log aggregation configurations
|
|
49
|
+
- Set up alerting rules
|
|
50
|
+
- Configure dashboard setups
|
|
51
|
+
- Generate health checks
|
|
52
|
+
|
|
53
|
+
7. **Multi-Environment Support**:
|
|
54
|
+
- Create environment-specific configurations
|
|
55
|
+
- Generate workspace strategies
|
|
56
|
+
- Set up variable configurations
|
|
57
|
+
- Create remote state management
|
|
58
|
+
- Generate environment separation
|
|
59
|
+
|
|
60
|
+
8. **Best Practices Implementation**:
|
|
61
|
+
- Include resource tagging strategies
|
|
62
|
+
- Generate cost optimization configurations
|
|
63
|
+
- Create disaster recovery setups
|
|
64
|
+
- Implement GitOps workflows
|
|
65
|
+
- Add security scanning
|
|
66
|
+
|
|
67
|
+
9. **Deployment Pipelines**:
|
|
68
|
+
- Generate CI/CD pipeline configurations
|
|
69
|
+
- Create plan/apply automation
|
|
70
|
+
- Set up validation stages
|
|
71
|
+
- Generate rollback procedures
|
|
72
|
+
- Create approval workflows
|
|
73
|
+
|
|
74
|
+
Your Terraform output should include:
|
|
75
|
+
- Main Terraform files
|
|
76
|
+
- Variable definitions
|
|
77
|
+
- Output configurations
|
|
78
|
+
- Module structures
|
|
79
|
+
- Provider configurations
|
|
80
|
+
- Backend configurations
|
|
81
|
+
- Documentation files
|
|
82
|
+
- Example usage
|
|
83
|
+
|
|
84
|
+
Always ensure generated code:
|
|
85
|
+
- Follows security best practices
|
|
86
|
+
- Is modular and reusable
|
|
87
|
+
- Includes proper naming conventions
|
|
88
|
+
- Has clear documentation
|
|
89
|
+
- Is production-ready
|
|
90
|
+
- Includes cost optimizations
|
|
91
|
+
- Has proper state management
|
|
92
|
+
- Includes validation rules
|
|
93
|
+
|
|
94
|
+
Generate Terraform that DevOps teams can confidently deploy to production environments.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: test-generator
|
|
3
|
+
description: |
|
|
4
|
+
Use this agent to automatically generate comprehensive test suites for existing code. Examples: <example>Context: User has just implemented a new feature without tests. user: "I've created a user authentication service with login, register, and password reset functionality" assistant: "Great! Let me use the test-generator agent to create a comprehensive test suite for your authentication service" <commentary>Since authentication is critical and needs thorough testing, the test-generator agent should create complete unit, integration, and edge case tests.</commentary></example> <example>Context: User has added a new API endpoint. user: "The product catalog API is working - it has CRUD operations for products" assistant: "Excellent! I'll use the test-generator agent to create full test coverage for your product catalog API" <commentary>API endpoints need comprehensive testing including success cases, error cases, and validation.</commentary></example>
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are a Test Generation Expert specializing in creating comprehensive, maintainable test suites for various types of code. Your expertise includes unit tests, integration tests, end-to-end tests, and edge case coverage.
|
|
8
|
+
|
|
9
|
+
When generating tests, you will:
|
|
10
|
+
|
|
11
|
+
1. **Code Analysis**:
|
|
12
|
+
- Analyze the target code to understand its functionality
|
|
13
|
+
- Identify public methods, endpoints, and key functions
|
|
14
|
+
- Determine dependencies, external services, and data models
|
|
15
|
+
- Recognize potential failure points and edge cases
|
|
16
|
+
|
|
17
|
+
2. **Test Strategy Development**:
|
|
18
|
+
- Choose appropriate test frameworks and patterns
|
|
19
|
+
- Plan test pyramid: unit > integration > E2E
|
|
20
|
+
- Identify mock/stub requirements
|
|
21
|
+
- Design test data scenarios
|
|
22
|
+
|
|
23
|
+
3. **Unit Test Generation**:
|
|
24
|
+
- Test each function/method with various inputs
|
|
25
|
+
- Include happy path, error cases, and boundary conditions
|
|
26
|
+
- Mock external dependencies appropriately
|
|
27
|
+
- Ensure test isolation and fast execution
|
|
28
|
+
|
|
29
|
+
4. **Integration Test Generation**:
|
|
30
|
+
- Test component interactions
|
|
31
|
+
- Test database operations and transactions
|
|
32
|
+
- Test API integrations and service communications
|
|
33
|
+
- Verify error propagation across boundaries
|
|
34
|
+
|
|
35
|
+
5. **Edge Case and Error Testing**:
|
|
36
|
+
- Test null/undefined inputs
|
|
37
|
+
- Test empty collections and boundary values
|
|
38
|
+
- Test network failures and timeouts
|
|
39
|
+
- Test permission and authorization scenarios
|
|
40
|
+
|
|
41
|
+
6. **Test Structure and Organization**:
|
|
42
|
+
- Use descriptive test names that explain the scenario
|
|
43
|
+
- Group related tests in describe/context blocks
|
|
44
|
+
- Use setup/teardown for common initialization
|
|
45
|
+
- Follow AAA pattern (Arrange, Act, Assert)
|
|
46
|
+
|
|
47
|
+
7. **Test Data Management**:
|
|
48
|
+
- Create realistic test data
|
|
49
|
+
- Use factories/builders for complex objects
|
|
50
|
+
- Ensure test data independence
|
|
51
|
+
- Clean up test data after tests
|
|
52
|
+
|
|
53
|
+
8. **Coverage Requirements**:
|
|
54
|
+
- Aim for 100% line coverage for critical paths
|
|
55
|
+
- Ensure all branches and conditions are tested
|
|
56
|
+
- Test error handling paths
|
|
57
|
+
- Document any uncovered code with reasons
|
|
58
|
+
|
|
59
|
+
9. **Test Documentation**:
|
|
60
|
+
- Add comments explaining complex test scenarios
|
|
61
|
+
- Document any test-specific conventions
|
|
62
|
+
- Include setup instructions if special configuration needed
|
|
63
|
+
- Explain mocking strategies
|
|
64
|
+
|
|
65
|
+
Your output should include:
|
|
66
|
+
- Complete test files ready to run
|
|
67
|
+
- Setup instructions for test dependencies
|
|
68
|
+
- Mock/stub implementations if needed
|
|
69
|
+
- Test data factories or fixtures
|
|
70
|
+
- Instructions for running the test suite
|
|
71
|
+
|
|
72
|
+
Always ensure tests are:
|
|
73
|
+
- Readable and maintainable
|
|
74
|
+
- Fast and reliable
|
|
75
|
+
- Independent of each other
|
|
76
|
+
- Comprehensive yet focused
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"provider_name": "Agentrouter",
|
|
3
|
+
"description": "AI Provider - agentrouter",
|
|
4
|
+
"api_base": "https://agentrouter.org/",
|
|
5
|
+
"model": "gpt-5",
|
|
6
|
+
"api_key": "your-api-key-here",
|
|
7
|
+
"available_models": [
|
|
8
|
+
"gpt-5",
|
|
9
|
+
"gpt-5-high",
|
|
10
|
+
"gpt-5.2",
|
|
11
|
+
"gpt-5-codex-high",
|
|
12
|
+
"claude-sonnet-4-5-20250929",
|
|
13
|
+
"claude-sonnet-4-20250514",
|
|
14
|
+
"claude-3-5-haiku-20241022",
|
|
15
|
+
"claude-haiku-4-5-20251001",
|
|
16
|
+
"claude-opus-4.5",
|
|
17
|
+
"claude-3.5-sonnet",
|
|
18
|
+
"deepseek-r1-0528",
|
|
19
|
+
"deepseek-v3.1",
|
|
20
|
+
"deepseek-v3.2",
|
|
21
|
+
"glm-4.5",
|
|
22
|
+
"glm-4.6",
|
|
23
|
+
"glm-4.7",
|
|
24
|
+
"grok-code-fast-1",
|
|
25
|
+
"gemini-2.0-flash-exp",
|
|
26
|
+
"gemini-2.0-flash-thinking-exp",
|
|
27
|
+
"llama-3.3-70b-instruct",
|
|
28
|
+
"llama-3.1-405b-instruct",
|
|
29
|
+
"qwen-2.5-72b-instruct",
|
|
30
|
+
"qwen-2.5-coder-32b-instruct",
|
|
31
|
+
"mistral-large-2411",
|
|
32
|
+
"o1-pro",
|
|
33
|
+
"o1",
|
|
34
|
+
"o1-mini"
|
|
35
|
+
]
|
|
36
|
+
}
|
package/bin/ai-chat
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 💬 AI Chat - Claude-All Simple Chat Interface
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const path = require('path');
|
|
8
|
+
|
|
9
|
+
// Launch claude-all in chat mode
|
|
10
|
+
const claudeAllScript = path.join(__dirname, '..', 'claude-all');
|
|
11
|
+
const { spawn } = require('child_process');
|
|
12
|
+
|
|
13
|
+
const args = ['--chat', ...process.argv.slice(2)];
|
|
14
|
+
const child = spawn(claudeAllScript, args, {
|
|
15
|
+
stdio: 'inherit'
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
child.on('exit', (code) => {
|
|
19
|
+
process.exit(code);
|
|
20
|
+
});
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "AntiGravity",
|
|
3
|
+
"description": "Google Internal AI Models via AntiGravity",
|
|
4
|
+
"models": [
|
|
5
|
+
{
|
|
6
|
+
"id": "claude-3-5-sonnet-20241022",
|
|
7
|
+
"name": "Claude 3.5 Sonnet (Latest)",
|
|
8
|
+
"description": "Anthropic's most capable model for complex tasks"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "claude-3-opus-20240229",
|
|
12
|
+
"name": "Claude 3 Opus",
|
|
13
|
+
"description": "Most powerful Claude model for expert-level tasks"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "claude-3-sonnet-20240229",
|
|
17
|
+
"name": "Claude 3 Sonnet",
|
|
18
|
+
"description": "Balanced performance for everyday tasks"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "claude-3-haiku-20240307",
|
|
22
|
+
"name": "Claude 3 Haiku",
|
|
23
|
+
"description": "Fastest Claude model for quick responses"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "gpt-4-turbo",
|
|
27
|
+
"name": "GPT-4 Turbo",
|
|
28
|
+
"description": "OpenAI's advanced reasoning model"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "gpt-4",
|
|
32
|
+
"name": "GPT-4",
|
|
33
|
+
"description": "OpenAI's most capable model"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "gpt-3.5-turbo",
|
|
37
|
+
"name": "GPT-3.5 Turbo",
|
|
38
|
+
"description": "OpenAI's fast and efficient model"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "gemini-2.5-flash",
|
|
42
|
+
"name": "Gemini 2.5 Flash",
|
|
43
|
+
"description": "Latest generation model, ultra-fast response"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "gemini-2.5-pro",
|
|
47
|
+
"name": "Gemini 2.5 Pro",
|
|
48
|
+
"description": "Enhanced capabilities model"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "gemini-3-pro-preview",
|
|
52
|
+
"name": "Gemini 3 Pro Preview",
|
|
53
|
+
"description": "Preview of next-gen Gemini 3"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "gemini-2.0-flash-exp",
|
|
57
|
+
"name": "Gemini 2.0 Flash Experimental",
|
|
58
|
+
"description": "Experimental features model"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "gemini-2.0-flash",
|
|
62
|
+
"name": "Gemini 2.0 Flash",
|
|
63
|
+
"description": "Stable high-performance model"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "gemini-1.5-pro",
|
|
67
|
+
"name": "Gemini 1.5 Pro",
|
|
68
|
+
"description": "Reliable workhorse model"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "gemini-1.5-flash",
|
|
72
|
+
"name": "Gemini 1.5 Flash",
|
|
73
|
+
"description": "Fast and efficient model"
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
}
|
package/bin/api-manager
ADDED
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
# Universal API Key Manager for All Providers
|
|
4
|
+
# Cross-platform: Linux, Termux, macOS, Windows (Git Bash/WSL)
|
|
5
|
+
# Usage: api-manager
|
|
6
|
+
|
|
7
|
+
# Platform detection
|
|
8
|
+
detect_platform() {
|
|
9
|
+
case "$(uname -s)" in
|
|
10
|
+
Linux*) echo "Linux";;
|
|
11
|
+
Darwin*) echo "macOS";;
|
|
12
|
+
CYGWIN*|MINGW*|MSYS*) echo "Windows";;
|
|
13
|
+
*) echo "Linux";;
|
|
14
|
+
esac
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
PLATFORM=$(detect_platform)
|
|
18
|
+
|
|
19
|
+
# Colors - Support both Linux/macOS and Windows
|
|
20
|
+
if [[ "$PLATFORM" == "Windows" ]]; then
|
|
21
|
+
if command -v tput &> /dev/null; then
|
|
22
|
+
GREEN=$(tput setaf 2 2>/dev/null || echo "")
|
|
23
|
+
BLUE=$(tput setaf 4 2>/dev/null || echo "")
|
|
24
|
+
RED=$(tput setaf 1 2>/dev/null || echo "")
|
|
25
|
+
YELLOW=$(tput setaf 3 2>/dev/null || echo "")
|
|
26
|
+
NC=$(tput sgr0 2>/dev/null || echo "")
|
|
27
|
+
else
|
|
28
|
+
GREEN=''
|
|
29
|
+
BLUE=''
|
|
30
|
+
RED=''
|
|
31
|
+
YELLOW=''
|
|
32
|
+
NC=''
|
|
33
|
+
fi
|
|
34
|
+
else
|
|
35
|
+
GREEN='\033[0;32m'
|
|
36
|
+
BLUE='\033[0;34m'
|
|
37
|
+
RED='\033[0;31m'
|
|
38
|
+
YELLOW='\033[1;33m'
|
|
39
|
+
NC='\033[0m'
|
|
40
|
+
fi
|
|
41
|
+
|
|
42
|
+
# Portable home directory
|
|
43
|
+
if [[ -n "$HOME" ]]; then
|
|
44
|
+
USER_HOME="$HOME"
|
|
45
|
+
elif [[ -n "$USERPROFILE" ]]; then
|
|
46
|
+
USER_HOME="$USERPROFILE"
|
|
47
|
+
else
|
|
48
|
+
USER_HOME="$HOME"
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
echo -e "${GREEN}🔑 Universal API Key Manager${NC}"
|
|
52
|
+
echo "================================="
|
|
53
|
+
echo ""
|
|
54
|
+
echo "Select provider to manage:"
|
|
55
|
+
echo ""
|
|
56
|
+
echo " 1) ZhipuAI / GLM"
|
|
57
|
+
echo " 2) MiniMax"
|
|
58
|
+
echo " 3) OpenAI"
|
|
59
|
+
echo " 4) Google Gemini"
|
|
60
|
+
echo " 5) xAI / Grok"
|
|
61
|
+
echo " 6) Groq"
|
|
62
|
+
echo " 7) View all saved keys"
|
|
63
|
+
echo " 8) Exit"
|
|
64
|
+
echo ""
|
|
65
|
+
|
|
66
|
+
read -p "Select [1-8]: " choice
|
|
67
|
+
|
|
68
|
+
case $choice in
|
|
69
|
+
1)
|
|
70
|
+
# GLM
|
|
71
|
+
KEY_FILE="$USER_HOME/.glm_api_key"
|
|
72
|
+
echo ""
|
|
73
|
+
echo -e "${BLUE}🔑 GLM API Key${NC}"
|
|
74
|
+
echo "=============="
|
|
75
|
+
if [[ -f "$KEY_FILE" ]]; then
|
|
76
|
+
echo -e "Status: ${GREEN}✓ Saved${NC}"
|
|
77
|
+
echo "Key: $(cat "$KEY_FILE" 2>/dev/null | cut -c1-12 2>/dev/null || echo "error")..."
|
|
78
|
+
else
|
|
79
|
+
echo -e "Status: ${RED}✗ Not saved${NC}"
|
|
80
|
+
fi
|
|
81
|
+
echo ""
|
|
82
|
+
echo "[1] Update GLM key"
|
|
83
|
+
echo "[2] Remove GLM key"
|
|
84
|
+
echo "[3] Back"
|
|
85
|
+
read -p "Choice: " subchoice
|
|
86
|
+
case $subchoice in
|
|
87
|
+
1)
|
|
88
|
+
echo ""
|
|
89
|
+
echo "Get key from: https://open.bigmodel.cn/usercenter/apikeys"
|
|
90
|
+
if [[ "$PLATFORM" == "Windows" ]]; then
|
|
91
|
+
read -p "Paste GLM API key: " new_key
|
|
92
|
+
else
|
|
93
|
+
read -s -p "Paste GLM API key: " new_key
|
|
94
|
+
echo ""
|
|
95
|
+
fi
|
|
96
|
+
if [[ -n "$new_key" ]]; then
|
|
97
|
+
echo "$new_key" > "$KEY_FILE" 2>/dev/null || true
|
|
98
|
+
chmod 600 "$KEY_FILE" 2>/dev/null || true
|
|
99
|
+
echo ""
|
|
100
|
+
echo -e "${GREEN}✓ GLM API key saved!${NC}"
|
|
101
|
+
fi
|
|
102
|
+
;;
|
|
103
|
+
2)
|
|
104
|
+
rm -f "$KEY_FILE" 2>/dev/null || true
|
|
105
|
+
echo -e "${GREEN}✓ GLM API key removed${NC}"
|
|
106
|
+
;;
|
|
107
|
+
esac
|
|
108
|
+
;;
|
|
109
|
+
2)
|
|
110
|
+
# MiniMax
|
|
111
|
+
KEY_FILE="$USER_HOME/.minimax_api_key"
|
|
112
|
+
echo ""
|
|
113
|
+
echo -e "${BLUE}🤖 MiniMax API Key${NC}"
|
|
114
|
+
echo "================="
|
|
115
|
+
if [[ -f "$KEY_FILE" ]]; then
|
|
116
|
+
echo -e "Status: ${GREEN}✓ Saved${NC}"
|
|
117
|
+
echo "Key: $(cat "$KEY_FILE" 2>/dev/null | cut -c1-12 2>/dev/null || echo "error")..."
|
|
118
|
+
else
|
|
119
|
+
echo -e "Status: ${RED}✗ Not saved${NC}"
|
|
120
|
+
fi
|
|
121
|
+
echo ""
|
|
122
|
+
echo "[1] Update MiniMax key"
|
|
123
|
+
echo "[2] Remove MiniMax key"
|
|
124
|
+
echo "[3] Back"
|
|
125
|
+
read -p "Choice: " subchoice
|
|
126
|
+
case $subchoice in
|
|
127
|
+
1)
|
|
128
|
+
echo ""
|
|
129
|
+
echo "Get key from: https://platform.minimax.io/"
|
|
130
|
+
if [[ "$PLATFORM" == "Windows" ]]; then
|
|
131
|
+
read -p "Paste MiniMax API key: " new_key
|
|
132
|
+
else
|
|
133
|
+
read -s -p "Paste MiniMax API key: " new_key
|
|
134
|
+
echo ""
|
|
135
|
+
fi
|
|
136
|
+
if [[ -n "$new_key" ]]; then
|
|
137
|
+
echo "$new_key" > "$KEY_FILE" 2>/dev/null || true
|
|
138
|
+
chmod 600 "$KEY_FILE" 2>/dev/null || true
|
|
139
|
+
echo ""
|
|
140
|
+
echo -e "${GREEN}✓ MiniMax API key saved!${NC}"
|
|
141
|
+
fi
|
|
142
|
+
;;
|
|
143
|
+
2)
|
|
144
|
+
rm -f "$KEY_FILE" 2>/dev/null || true
|
|
145
|
+
echo -e "${GREEN}✓ MiniMax API key removed${NC}"
|
|
146
|
+
;;
|
|
147
|
+
esac
|
|
148
|
+
;;
|
|
149
|
+
3)
|
|
150
|
+
# OpenAI
|
|
151
|
+
KEY_FILE="$USER_HOME/.openai_api_key"
|
|
152
|
+
echo ""
|
|
153
|
+
echo -e "${BLUE}🟢 OpenAI API Key${NC}"
|
|
154
|
+
echo "================="
|
|
155
|
+
if [[ -f "$KEY_FILE" ]]; then
|
|
156
|
+
echo -e "Status: ${GREEN}✓ Saved${NC}"
|
|
157
|
+
echo "Key: $(cat "$KEY_FILE" 2>/dev/null | cut -c1-12 2>/dev/null || echo "error")..."
|
|
158
|
+
else
|
|
159
|
+
echo -e "Status: ${RED}✗ Not saved${NC}"
|
|
160
|
+
fi
|
|
161
|
+
echo ""
|
|
162
|
+
echo "[1] Update OpenAI key"
|
|
163
|
+
echo "[2] Remove OpenAI key"
|
|
164
|
+
echo "[3] Back"
|
|
165
|
+
read -p "Choice: " subchoice
|
|
166
|
+
case $subchoice in
|
|
167
|
+
1)
|
|
168
|
+
echo ""
|
|
169
|
+
echo "Get key from: https://platform.openai.com/api-keys"
|
|
170
|
+
if [[ "$PLATFORM" == "Windows" ]]; then
|
|
171
|
+
read -p "Paste OpenAI API key: " new_key
|
|
172
|
+
else
|
|
173
|
+
read -s -p "Paste OpenAI API key: " new_key
|
|
174
|
+
echo ""
|
|
175
|
+
fi
|
|
176
|
+
if [[ -n "$new_key" ]]; then
|
|
177
|
+
echo "$new_key" > "$KEY_FILE" 2>/dev/null || true
|
|
178
|
+
chmod 600 "$KEY_FILE" 2>/dev/null || true
|
|
179
|
+
echo ""
|
|
180
|
+
echo -e "${GREEN}✓ OpenAI API key saved!${NC}"
|
|
181
|
+
fi
|
|
182
|
+
;;
|
|
183
|
+
2)
|
|
184
|
+
rm -f "$KEY_FILE" 2>/dev/null || true
|
|
185
|
+
echo -e "${GREEN}✓ OpenAI API key removed${NC}"
|
|
186
|
+
;;
|
|
187
|
+
esac
|
|
188
|
+
;;
|
|
189
|
+
4)
|
|
190
|
+
# Gemini
|
|
191
|
+
KEY_FILE="$USER_HOME/.gemini_api_key"
|
|
192
|
+
echo ""
|
|
193
|
+
echo -e "${BLUE}🔵 Google Gemini API Key${NC}"
|
|
194
|
+
echo "========================"
|
|
195
|
+
if [[ -f "$KEY_FILE" ]]; then
|
|
196
|
+
echo -e "Status: ${GREEN}✓ Saved${NC}"
|
|
197
|
+
echo "Key: $(cat "$KEY_FILE" 2>/dev/null | cut -c1-12 2>/dev/null || echo "error")..."
|
|
198
|
+
else
|
|
199
|
+
echo -e "Status: ${RED}✗ Not saved${NC}"
|
|
200
|
+
fi
|
|
201
|
+
echo ""
|
|
202
|
+
echo "[1] Update Gemini key"
|
|
203
|
+
echo "[2] Remove Gemini key"
|
|
204
|
+
echo "[3] Back"
|
|
205
|
+
read -p "Choice: " subchoice
|
|
206
|
+
case $subchoice in
|
|
207
|
+
1)
|
|
208
|
+
echo ""
|
|
209
|
+
echo "Get key from: https://aistudio.google.com/app/apikey"
|
|
210
|
+
if [[ "$PLATFORM" == "Windows" ]]; then
|
|
211
|
+
read -p "Paste Gemini API key: " new_key
|
|
212
|
+
else
|
|
213
|
+
read -s -p "Paste Gemini API key: " new_key
|
|
214
|
+
echo ""
|
|
215
|
+
fi
|
|
216
|
+
if [[ -n "$new_key" ]]; then
|
|
217
|
+
echo "$new_key" > "$KEY_FILE" 2>/dev/null || true
|
|
218
|
+
chmod 600 "$KEY_FILE" 2>/dev/null || true
|
|
219
|
+
echo ""
|
|
220
|
+
echo -e "${GREEN}✓ Gemini API key saved!${NC}"
|
|
221
|
+
fi
|
|
222
|
+
;;
|
|
223
|
+
2)
|
|
224
|
+
rm -f "$KEY_FILE" 2>/dev/null || true
|
|
225
|
+
echo -e "${GREEN}✓ Gemini API key removed${NC}"
|
|
226
|
+
;;
|
|
227
|
+
esac
|
|
228
|
+
;;
|
|
229
|
+
5)
|
|
230
|
+
# xAI
|
|
231
|
+
KEY_FILE="$USER_HOME/.xai_api_key"
|
|
232
|
+
echo ""
|
|
233
|
+
echo -e "${BLUE}⚡ xAI / Grok API Key${NC}"
|
|
234
|
+
echo "======================"
|
|
235
|
+
if [[ -f "$KEY_FILE" ]]; then
|
|
236
|
+
echo -e "Status: ${GREEN}✓ Saved${NC}"
|
|
237
|
+
echo "Key: $(cat "$KEY_FILE" 2>/dev/null | cut -c1-12 2>/dev/null || echo "error")..."
|
|
238
|
+
else
|
|
239
|
+
echo -e "Status: ${RED}✗ Not saved${NC}"
|
|
240
|
+
fi
|
|
241
|
+
echo ""
|
|
242
|
+
echo "[1] Update xAI key"
|
|
243
|
+
echo "[2] Remove xAI key"
|
|
244
|
+
echo "[3] Back"
|
|
245
|
+
read -p "Choice: " subchoice
|
|
246
|
+
case $subchoice in
|
|
247
|
+
1)
|
|
248
|
+
echo ""
|
|
249
|
+
echo "Get key from: https://console.x.ai/"
|
|
250
|
+
if [[ "$PLATFORM" == "Windows" ]]; then
|
|
251
|
+
read -p "Paste xAI API key: " new_key
|
|
252
|
+
else
|
|
253
|
+
read -s -p "Paste xAI API key: " new_key
|
|
254
|
+
echo ""
|
|
255
|
+
fi
|
|
256
|
+
if [[ -n "$new_key" ]]; then
|
|
257
|
+
echo "$new_key" > "$KEY_FILE" 2>/dev/null || true
|
|
258
|
+
chmod 600 "$KEY_FILE" 2>/dev/null || true
|
|
259
|
+
echo ""
|
|
260
|
+
echo -e "${GREEN}✓ xAI API key saved!${NC}"
|
|
261
|
+
fi
|
|
262
|
+
;;
|
|
263
|
+
2)
|
|
264
|
+
rm -f "$KEY_FILE" 2>/dev/null || true
|
|
265
|
+
echo -e "${GREEN}✓ xAI API key removed${NC}"
|
|
266
|
+
;;
|
|
267
|
+
esac
|
|
268
|
+
;;
|
|
269
|
+
6)
|
|
270
|
+
# Groq
|
|
271
|
+
KEY_FILE="$USER_HOME/.groq_api_key"
|
|
272
|
+
echo ""
|
|
273
|
+
echo -e "${BLUE}🟠 Groq API Key${NC}"
|
|
274
|
+
echo "==============="
|
|
275
|
+
if [[ -f "$KEY_FILE" ]]; then
|
|
276
|
+
echo -e "Status: ${GREEN}✓ Saved${NC}"
|
|
277
|
+
echo "Key: $(cat "$KEY_FILE" 2>/dev/null | cut -c1-12 2>/dev/null || echo "error")..."
|
|
278
|
+
else
|
|
279
|
+
echo -e "Status: ${RED}✗ Not saved${NC}"
|
|
280
|
+
fi
|
|
281
|
+
echo ""
|
|
282
|
+
echo "[1] Update Groq key"
|
|
283
|
+
echo "[2] Remove Groq key"
|
|
284
|
+
echo "[3] Back"
|
|
285
|
+
read -p "Choice: " subchoice
|
|
286
|
+
case $subchoice in
|
|
287
|
+
1)
|
|
288
|
+
echo ""
|
|
289
|
+
echo "Get key from: https://console.groq.com/keys"
|
|
290
|
+
if [[ "$PLATFORM" == "Windows" ]]; then
|
|
291
|
+
read -p "Paste Groq API key: " new_key
|
|
292
|
+
else
|
|
293
|
+
read -s -p "Paste Groq API key: " new_key
|
|
294
|
+
echo ""
|
|
295
|
+
fi
|
|
296
|
+
if [[ -n "$new_key" ]]; then
|
|
297
|
+
echo "$new_key" > "$KEY_FILE" 2>/dev/null || true
|
|
298
|
+
chmod 600 "$KEY_FILE" 2>/dev/null || true
|
|
299
|
+
echo ""
|
|
300
|
+
echo -e "${GREEN}✓ Groq API key saved!${NC}"
|
|
301
|
+
fi
|
|
302
|
+
;;
|
|
303
|
+
2)
|
|
304
|
+
rm -f "$KEY_FILE" 2>/dev/null || true
|
|
305
|
+
echo -e "${GREEN}✓ Groq API key removed${NC}"
|
|
306
|
+
;;
|
|
307
|
+
esac
|
|
308
|
+
;;
|
|
309
|
+
7)
|
|
310
|
+
# View all
|
|
311
|
+
echo ""
|
|
312
|
+
echo -e "${BLUE}📋 All Saved API Keys${NC}"
|
|
313
|
+
echo "====================="
|
|
314
|
+
echo ""
|
|
315
|
+
|
|
316
|
+
for provider in GLM MiniMax OpenAI Gemini "xAI" Groq; do
|
|
317
|
+
case "$provider" in
|
|
318
|
+
GLM) FILE="$USER_HOME/.glm_api_key" ;;
|
|
319
|
+
MiniMax) FILE="$USER_HOME/.minimax_api_key" ;;
|
|
320
|
+
OpenAI) FILE="$USER_HOME/.openai_api_key" ;;
|
|
321
|
+
Gemini) FILE="$USER_HOME/.gemini_api_key" ;;
|
|
322
|
+
"xAI") FILE="$USER_HOME/.xai_api_key" ;;
|
|
323
|
+
Groq) FILE="$USER_HOME/.groq_api_key" ;;
|
|
324
|
+
esac
|
|
325
|
+
|
|
326
|
+
if [[ -f "$FILE" ]]; then
|
|
327
|
+
echo -e "${GREEN}✓${NC} $provider: $(cat "$FILE" 2>/dev/null | cut -c1-12 2>/dev/null || echo "error")..."
|
|
328
|
+
else
|
|
329
|
+
echo -e "${RED}✗${NC} $provider: Not saved"
|
|
330
|
+
fi
|
|
331
|
+
done
|
|
332
|
+
echo ""
|
|
333
|
+
;;
|
|
334
|
+
8)
|
|
335
|
+
echo "Bye!"
|
|
336
|
+
;;
|
|
337
|
+
*)
|
|
338
|
+
echo -e "${RED}Invalid choice${NC}"
|
|
339
|
+
;;
|
|
340
|
+
esac
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 🤖 Claude-All AI Launcher - NPM Binary
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const path = require('path');
|
|
8
|
+
|
|
9
|
+
// Launch the main claude-all script
|
|
10
|
+
const claudeAllScript = path.join(__dirname, '..', 'claude-all');
|
|
11
|
+
const { spawn } = require('child_process');
|
|
12
|
+
|
|
13
|
+
const child = spawn(claudeAllScript, process.argv.slice(2), {
|
|
14
|
+
stdio: 'inherit'
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
child.on('exit', (code) => {
|
|
18
|
+
process.exit(code);
|
|
19
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Wrapper for claude_master.py
|
|
3
|
+
|
|
4
|
+
# Resolve directory of this script
|
|
5
|
+
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
|
6
|
+
PYTHON_SCRIPT="$SCRIPT_DIR/claude_master.py"
|
|
7
|
+
|
|
8
|
+
# Check if python3 exists
|
|
9
|
+
if ! command -v python3 &> /dev/null; then
|
|
10
|
+
echo "Error: python3 is required."
|
|
11
|
+
exit 1
|
|
12
|
+
fi
|
|
13
|
+
|
|
14
|
+
# Run the python script
|
|
15
|
+
exec python3 "$PYTHON_SCRIPT" "$@"
|