@defai.digital/automatosx 11.2.6 → 11.2.7

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 (31) hide show
  1. package/README.md +1 -1
  2. package/dist/index.js +289 -312
  3. package/dist/mcp/index.js +75 -72
  4. package/examples/providers/README.md +58 -169
  5. package/package.json +1 -1
  6. package/CHANGELOG.md +0 -41
  7. package/CODE_OF_CONDUCT.md +0 -133
  8. package/CONTRIBUTING.md +0 -427
  9. package/FAQ.md +0 -895
  10. package/TROUBLESHOOTING.md +0 -972
  11. package/templates/providers/README.md +0 -117
  12. /package/examples/{claude → providers/claude}/CLAUDE_INTEGRATION.md +0 -0
  13. /package/examples/{claude → providers/claude}/mcp/automatosx.json +0 -0
  14. /package/examples/{codex → providers/codex}/CODEX_INTEGRATION.md +0 -0
  15. /package/examples/{codex → providers/codex}/README.md +0 -0
  16. /package/examples/{codex → providers/codex}/usage-examples.ts +0 -0
  17. /package/examples/{gemini → providers/gemini}/GEMINI_INTEGRATION.md +0 -0
  18. /package/examples/{gemini → providers/gemini}/README.md +0 -0
  19. /package/examples/{integrations → providers}/openai-codex-example.ts +0 -0
  20. /package/{templates → examples}/specs/enterprise.yaml.mustache +0 -0
  21. /package/{templates → examples}/specs/government.yaml.mustache +0 -0
  22. /package/{templates → examples}/specs/minimal.yaml.mustache +0 -0
  23. /package/examples/{templates → workflows}/analyst.yaml +0 -0
  24. /package/examples/{templates → workflows}/assistant.yaml +0 -0
  25. /package/examples/{templates → workflows}/basic-agent.yaml +0 -0
  26. /package/examples/{templates → workflows}/code-reviewer.yaml +0 -0
  27. /package/examples/{templates → workflows}/debugger.yaml +0 -0
  28. /package/examples/{templates → workflows}/designer.yaml +0 -0
  29. /package/examples/{templates → workflows}/developer.yaml +0 -0
  30. /package/examples/{templates → workflows}/fullstack-developer.yaml +0 -0
  31. /package/examples/{templates → workflows}/qa-specialist.yaml +0 -0
@@ -1,117 +0,0 @@
1
- # Provider Configuration Templates
2
-
3
- This directory contains YAML templates for configuring AI providers in AutomatosX.
4
-
5
- ## Available Templates
6
-
7
- ### Grok Provider
8
-
9
- **1. X.AI Official Grok** (`grok.yaml.template`)
10
- - **Model**: `grok-3-fast`
11
- - **Endpoint**: `https://api.x.ai/v1`
12
- - **Best for**: General AI tasks, reasoning, analysis
13
- - **API Key**: Get from https://x.ai/api
14
- - **Cost**: Paid API (check X.AI pricing)
15
-
16
- **2. Z.AI GLM 4.6** (`grok-zai.yaml.template`)
17
- - **Model**: `glm-4.6`
18
- - **Endpoint**: `https://api.z.ai/api/coding/paas/v4`
19
- - **Best for**: Code generation, Chinese language support
20
- - **API Key**: Get from https://z.ai
21
- - **Cost**: Free tier available
22
-
23
- ## Quick Start
24
-
25
- ### Using X.AI Grok
26
-
27
- ```bash
28
- # 1. Copy template
29
- cp templates/providers/grok.yaml.template .automatosx/providers/grok.yaml
30
-
31
- # 2. Edit the file and add your API key
32
- # Replace: YOUR_X_AI_API_KEY_HERE
33
- # With: xai-your-actual-api-key
34
-
35
- # 3. Test configuration
36
- ax doctor grok
37
- ```
38
-
39
- ### Using Z.AI GLM 4.6
40
-
41
- ```bash
42
- # 1. Copy template
43
- cp templates/providers/grok-zai.yaml.template .automatosx/providers/grok.yaml
44
-
45
- # 2. Edit the file and add your API key
46
- # Replace: YOUR_Z_AI_API_KEY_HERE
47
- # With: your-actual-z-ai-key
48
-
49
- # 3. Test configuration
50
- ax doctor grok
51
- ```
52
-
53
- ## Configuration Priority
54
-
55
- You can adjust the provider priority to control routing order:
56
-
57
- - **Priority 1** - Highest (tried first)
58
- - **Priority 2** - High
59
- - **Priority 3** - Medium
60
- - **Priority 4** - Low (fallback)
61
-
62
- Example:
63
- ```yaml
64
- provider:
65
- priority: 2 # Try Grok after OpenAI but before Gemini/Claude
66
- ```
67
-
68
- ## Environment Variables
69
-
70
- Instead of hardcoding API keys, use environment variables:
71
-
72
- ```yaml
73
- provider:
74
- apiKey: ${GROK_API_KEY}
75
- baseUrl: ${GROK_BASE_URL}
76
- ```
77
-
78
- Set environment variables:
79
- ```bash
80
- export GROK_API_KEY="your-key"
81
- export GROK_BASE_URL="https://api.x.ai/v1"
82
- ```
83
-
84
- ## Customization
85
-
86
- ### Adjust Rate Limits
87
-
88
- ```yaml
89
- rateLimits:
90
- maxRequestsPerMinute: 120 # Increase for higher quota
91
- maxTokensPerMinute: 400000
92
- ```
93
-
94
- ### Modify Timeouts
95
-
96
- ```yaml
97
- provider:
98
- timeout: 300000 # 5 minutes for complex tasks
99
- ```
100
-
101
- ### Enable/Disable Provider
102
-
103
- ```yaml
104
- provider:
105
- enabled: true # or false to disable
106
- ```
107
-
108
- ## Support
109
-
110
- - **Documentation**: See [docs/providers/grok.md](../../docs/providers/grok.md)
111
- - **Examples**: See [examples/providers/](../../examples/providers/)
112
- - **Issues**: https://github.com/defai-digital/automatosx/issues
113
-
114
- ---
115
-
116
- **Version**: 8.3.1
117
- **Last Updated**: 2025-11-17
File without changes
File without changes
File without changes
File without changes
File without changes