@defai.digital/ax-cli 3.5.2 → 3.6.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 (125) hide show
  1. package/.ax-cli/memory.json +8 -8
  2. package/README.md +27 -1
  3. package/dist/agent/chat-history-manager.d.ts +56 -0
  4. package/dist/agent/chat-history-manager.js +150 -0
  5. package/dist/agent/chat-history-manager.js.map +1 -0
  6. package/dist/agent/llm-agent.js +1 -1
  7. package/dist/agent/llm-agent.js.map +1 -1
  8. package/dist/agent/tool-manager.d.ts +39 -0
  9. package/dist/agent/tool-manager.js +76 -0
  10. package/dist/agent/tool-manager.js.map +1 -0
  11. package/dist/analyzers/ast/index.d.ts +9 -0
  12. package/dist/analyzers/ast/index.js +10 -0
  13. package/dist/analyzers/ast/index.js.map +1 -0
  14. package/dist/analyzers/ast/node-helpers.d.ts +81 -0
  15. package/dist/analyzers/ast/node-helpers.js +128 -0
  16. package/dist/analyzers/ast/node-helpers.js.map +1 -0
  17. package/dist/analyzers/ast/traverser.d.ts +67 -0
  18. package/dist/analyzers/ast/traverser.js +156 -0
  19. package/dist/analyzers/ast/traverser.js.map +1 -0
  20. package/dist/analyzers/best-practices/index.d.ts +10 -0
  21. package/dist/analyzers/best-practices/index.js +11 -0
  22. package/dist/analyzers/best-practices/index.js.map +1 -0
  23. package/dist/commands/setup.js +13 -5
  24. package/dist/commands/setup.js.map +1 -1
  25. package/dist/index.js +7 -0
  26. package/dist/index.js.map +1 -1
  27. package/dist/llm/client.d.ts +1 -0
  28. package/dist/llm/client.js +44 -0
  29. package/dist/llm/client.js.map +1 -1
  30. package/dist/mcp/ssrf-protection.d.ts +86 -0
  31. package/dist/mcp/ssrf-protection.js +313 -0
  32. package/dist/mcp/ssrf-protection.js.map +1 -0
  33. package/dist/mcp/validation.d.ts +4 -0
  34. package/dist/mcp/validation.js +122 -11
  35. package/dist/mcp/validation.js.map +1 -1
  36. package/dist/schemas/settings-schemas.d.ts +30 -0
  37. package/dist/schemas/settings-schemas.js +30 -0
  38. package/dist/schemas/settings-schemas.js.map +1 -1
  39. package/dist/tools/bash.d.ts +3 -2
  40. package/dist/tools/bash.js +31 -2
  41. package/dist/tools/bash.js.map +1 -1
  42. package/dist/tools/search.d.ts +1 -1
  43. package/dist/tools/search.js +121 -128
  44. package/dist/tools/search.js.map +1 -1
  45. package/dist/tools/text-editor.js +52 -15
  46. package/dist/tools/text-editor.js.map +1 -1
  47. package/dist/ui/components/status-bar.js +2 -2
  48. package/dist/ui/components/status-bar.js.map +1 -1
  49. package/dist/ui/components/toast-notification.js +0 -1
  50. package/dist/ui/components/toast-notification.js.map +1 -1
  51. package/dist/utils/audit-logger.d.ts +247 -0
  52. package/dist/utils/audit-logger.js +374 -0
  53. package/dist/utils/audit-logger.js.map +1 -0
  54. package/dist/utils/command-security.d.ts +85 -0
  55. package/dist/utils/command-security.js +200 -0
  56. package/dist/utils/command-security.js.map +1 -0
  57. package/dist/utils/encryption.d.ts +78 -0
  58. package/dist/utils/encryption.js +216 -0
  59. package/dist/utils/encryption.js.map +1 -0
  60. package/dist/utils/error-sanitizer.d.ts +119 -0
  61. package/dist/utils/error-sanitizer.js +253 -0
  62. package/dist/utils/error-sanitizer.js.map +1 -0
  63. package/dist/utils/input-sanitizer.d.ts +210 -0
  64. package/dist/utils/input-sanitizer.js +362 -0
  65. package/dist/utils/input-sanitizer.js.map +1 -0
  66. package/dist/utils/json-utils.d.ts +13 -0
  67. package/dist/utils/json-utils.js +55 -1
  68. package/dist/utils/json-utils.js.map +1 -1
  69. package/dist/utils/parallel-analyzer.js +29 -12
  70. package/dist/utils/parallel-analyzer.js.map +1 -1
  71. package/dist/utils/path-security.d.ts +90 -0
  72. package/dist/utils/path-security.js +328 -0
  73. package/dist/utils/path-security.js.map +1 -0
  74. package/dist/utils/process-pool.d.ts +105 -0
  75. package/dist/utils/process-pool.js +326 -0
  76. package/dist/utils/process-pool.js.map +1 -0
  77. package/dist/utils/rate-limiter.d.ts +207 -0
  78. package/dist/utils/rate-limiter.js +303 -0
  79. package/dist/utils/rate-limiter.js.map +1 -0
  80. package/dist/utils/settings-manager.js +83 -4
  81. package/dist/utils/settings-manager.js.map +1 -1
  82. package/eslint.config.js +3 -0
  83. package/package.json +1 -1
  84. package/.ax-cli/checkpoints/2025-11-20/checkpoint-11e9e0ba-c39d-4fd2-aa77-bc818811c921.json +0 -69
  85. package/.ax-cli/checkpoints/2025-11-20/checkpoint-2b260b98-b418-4c7c-9694-e2b94967e662.json +0 -24
  86. package/.ax-cli/checkpoints/2025-11-20/checkpoint-7e03601e-e8ab-4cd7-9841-a74b66adf78f.json +0 -69
  87. package/.ax-cli/checkpoints/2025-11-20/checkpoint-7f9c6562-771f-4fd0-adcf-9e7e9ac34ae8.json +0 -44
  88. package/.ax-cli/checkpoints/2025-11-20/checkpoint-e1ebe666-4c3a-4367-ba5c-27fe512a9c70.json +0 -24
  89. package/.ax-cli/checkpoints/2025-11-21/checkpoint-15743e7d-430c-4d76-b6fc-955d7a5c250c.json +0 -44
  90. package/.ax-cli/checkpoints/2025-11-21/checkpoint-25cf7679-0b3f-4988-83d7-704548fbba91.json +0 -69
  91. package/.ax-cli/checkpoints/2025-11-21/checkpoint-54aedbac-6db0-464e-8ebb-dbb3979e6dca.json +0 -24
  92. package/.ax-cli/checkpoints/2025-11-21/checkpoint-7658aed8-fe5d-4222-903f-1a7c63717ea7.json +0 -24
  93. package/.ax-cli/checkpoints/2025-11-21/checkpoint-c9c13497-40dc-4294-a327-6a5fc854eaa1.json +0 -69
  94. package/ax.config.json +0 -333
  95. package/dist/hooks/use-chat-reducer.d.ts +0 -61
  96. package/dist/hooks/use-chat-reducer.js +0 -118
  97. package/dist/hooks/use-chat-reducer.js.map +0 -1
  98. package/dist/hooks/use-enhanced-input.d.ts +0 -40
  99. package/dist/hooks/use-enhanced-input.js +0 -249
  100. package/dist/hooks/use-enhanced-input.js.map +0 -1
  101. package/dist/hooks/use-input-handler.d.ts +0 -46
  102. package/dist/hooks/use-input-handler.js +0 -1430
  103. package/dist/hooks/use-input-handler.js.map +0 -1
  104. package/dist/hooks/use-input-history.d.ts +0 -9
  105. package/dist/hooks/use-input-history.js +0 -112
  106. package/dist/hooks/use-input-history.js.map +0 -1
  107. package/dist/utils/paste-collapse.d.ts +0 -46
  108. package/dist/utils/paste-collapse.js +0 -77
  109. package/dist/utils/paste-collapse.js.map +0 -1
  110. package/packages/schemas/dist/index.d.ts +0 -14
  111. package/packages/schemas/dist/index.d.ts.map +0 -1
  112. package/packages/schemas/dist/index.js +0 -19
  113. package/packages/schemas/dist/index.js.map +0 -1
  114. package/packages/schemas/dist/public/core/brand-types.d.ts +0 -308
  115. package/packages/schemas/dist/public/core/brand-types.d.ts.map +0 -1
  116. package/packages/schemas/dist/public/core/brand-types.js +0 -243
  117. package/packages/schemas/dist/public/core/brand-types.js.map +0 -1
  118. package/packages/schemas/dist/public/core/enums.d.ts +0 -227
  119. package/packages/schemas/dist/public/core/enums.d.ts.map +0 -1
  120. package/packages/schemas/dist/public/core/enums.js +0 -222
  121. package/packages/schemas/dist/public/core/enums.js.map +0 -1
  122. package/packages/schemas/dist/public/core/id-types.d.ts +0 -286
  123. package/packages/schemas/dist/public/core/id-types.d.ts.map +0 -1
  124. package/packages/schemas/dist/public/core/id-types.js +0 -136
  125. package/packages/schemas/dist/public/core/id-types.js.map +0 -1
@@ -1,69 +0,0 @@
1
- {
2
- "id": "7e03601e-e8ab-4cd7-9841-a74b66adf78f",
3
- "timestamp": "2025-11-21T03:58:12.790Z",
4
- "description": "Test checkpoint",
5
- "files": [
6
- {
7
- "path": "/test/file-1763697492790.ts",
8
- "content": "test content",
9
- "hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
10
- "size": 12
11
- }
12
- ],
13
- "conversationState": [
14
- {
15
- "type": "user",
16
- "content": "Message 10",
17
- "timestamp": "2025-11-21T03:58:12.790Z"
18
- },
19
- {
20
- "type": "user",
21
- "content": "Message 11",
22
- "timestamp": "2025-11-21T03:58:12.790Z"
23
- },
24
- {
25
- "type": "user",
26
- "content": "Message 12",
27
- "timestamp": "2025-11-21T03:58:12.790Z"
28
- },
29
- {
30
- "type": "user",
31
- "content": "Message 13",
32
- "timestamp": "2025-11-21T03:58:12.790Z"
33
- },
34
- {
35
- "type": "user",
36
- "content": "Message 14",
37
- "timestamp": "2025-11-21T03:58:12.790Z"
38
- },
39
- {
40
- "type": "user",
41
- "content": "Message 15",
42
- "timestamp": "2025-11-21T03:58:12.790Z"
43
- },
44
- {
45
- "type": "user",
46
- "content": "Message 16",
47
- "timestamp": "2025-11-21T03:58:12.790Z"
48
- },
49
- {
50
- "type": "user",
51
- "content": "Message 17",
52
- "timestamp": "2025-11-21T03:58:12.790Z"
53
- },
54
- {
55
- "type": "user",
56
- "content": "Message 18",
57
- "timestamp": "2025-11-21T03:58:12.790Z"
58
- },
59
- {
60
- "type": "user",
61
- "content": "Message 19",
62
- "timestamp": "2025-11-21T03:58:12.790Z"
63
- }
64
- ],
65
- "metadata": {
66
- "model": "glm-4.6",
67
- "triggeredBy": "test"
68
- }
69
- }
@@ -1,44 +0,0 @@
1
- {
2
- "id": "7f9c6562-771f-4fd0-adcf-9e7e9ac34ae8",
3
- "timestamp": "2025-11-21T03:58:12.795Z",
4
- "description": "Test checkpoint",
5
- "files": [
6
- {
7
- "path": "/test/file-1763697492795.ts",
8
- "content": "test content",
9
- "hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
10
- "size": 12
11
- }
12
- ],
13
- "conversationState": [
14
- {
15
- "type": "user",
16
- "content": "Message 0",
17
- "timestamp": "2025-11-21T03:58:12.795Z"
18
- },
19
- {
20
- "type": "user",
21
- "content": "Message 1",
22
- "timestamp": "2025-11-21T03:58:12.795Z"
23
- },
24
- {
25
- "type": "user",
26
- "content": "Message 2",
27
- "timestamp": "2025-11-21T03:58:12.795Z"
28
- },
29
- {
30
- "type": "user",
31
- "content": "Message 3",
32
- "timestamp": "2025-11-21T03:58:12.795Z"
33
- },
34
- {
35
- "type": "user",
36
- "content": "Message 4",
37
- "timestamp": "2025-11-21T03:58:12.795Z"
38
- }
39
- ],
40
- "metadata": {
41
- "model": "glm-4.6",
42
- "triggeredBy": "test"
43
- }
44
- }
@@ -1,24 +0,0 @@
1
- {
2
- "id": "e1ebe666-4c3a-4367-ba5c-27fe512a9c70",
3
- "timestamp": "2025-11-21T03:58:12.783Z",
4
- "description": "Test checkpoint",
5
- "files": [
6
- {
7
- "path": "/test/file-1763697492783.ts",
8
- "content": "test content",
9
- "hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
10
- "size": 12
11
- }
12
- ],
13
- "conversationState": [
14
- {
15
- "type": "user",
16
- "content": "Test message",
17
- "timestamp": "2025-11-21T03:58:12.783Z"
18
- }
19
- ],
20
- "metadata": {
21
- "model": "glm-4.6",
22
- "triggeredBy": "test"
23
- }
24
- }
@@ -1,44 +0,0 @@
1
- {
2
- "id": "15743e7d-430c-4d76-b6fc-955d7a5c250c",
3
- "timestamp": "2025-11-21T04:38:27.918Z",
4
- "description": "Test checkpoint",
5
- "files": [
6
- {
7
- "path": "/test/file-1763699907918.ts",
8
- "content": "test content",
9
- "hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
10
- "size": 12
11
- }
12
- ],
13
- "conversationState": [
14
- {
15
- "type": "user",
16
- "content": "Message 0",
17
- "timestamp": "2025-11-21T04:38:27.918Z"
18
- },
19
- {
20
- "type": "user",
21
- "content": "Message 1",
22
- "timestamp": "2025-11-21T04:38:27.918Z"
23
- },
24
- {
25
- "type": "user",
26
- "content": "Message 2",
27
- "timestamp": "2025-11-21T04:38:27.918Z"
28
- },
29
- {
30
- "type": "user",
31
- "content": "Message 3",
32
- "timestamp": "2025-11-21T04:38:27.918Z"
33
- },
34
- {
35
- "type": "user",
36
- "content": "Message 4",
37
- "timestamp": "2025-11-21T04:38:27.918Z"
38
- }
39
- ],
40
- "metadata": {
41
- "model": "glm-4.6",
42
- "triggeredBy": "test"
43
- }
44
- }
@@ -1,69 +0,0 @@
1
- {
2
- "id": "25cf7679-0b3f-4988-83d7-704548fbba91",
3
- "timestamp": "2025-11-21T04:38:27.917Z",
4
- "description": "Test checkpoint",
5
- "files": [
6
- {
7
- "path": "/test/file-1763699907917.ts",
8
- "content": "test content",
9
- "hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
10
- "size": 12
11
- }
12
- ],
13
- "conversationState": [
14
- {
15
- "type": "user",
16
- "content": "Message 10",
17
- "timestamp": "2025-11-21T04:38:27.917Z"
18
- },
19
- {
20
- "type": "user",
21
- "content": "Message 11",
22
- "timestamp": "2025-11-21T04:38:27.917Z"
23
- },
24
- {
25
- "type": "user",
26
- "content": "Message 12",
27
- "timestamp": "2025-11-21T04:38:27.917Z"
28
- },
29
- {
30
- "type": "user",
31
- "content": "Message 13",
32
- "timestamp": "2025-11-21T04:38:27.917Z"
33
- },
34
- {
35
- "type": "user",
36
- "content": "Message 14",
37
- "timestamp": "2025-11-21T04:38:27.917Z"
38
- },
39
- {
40
- "type": "user",
41
- "content": "Message 15",
42
- "timestamp": "2025-11-21T04:38:27.917Z"
43
- },
44
- {
45
- "type": "user",
46
- "content": "Message 16",
47
- "timestamp": "2025-11-21T04:38:27.917Z"
48
- },
49
- {
50
- "type": "user",
51
- "content": "Message 17",
52
- "timestamp": "2025-11-21T04:38:27.917Z"
53
- },
54
- {
55
- "type": "user",
56
- "content": "Message 18",
57
- "timestamp": "2025-11-21T04:38:27.917Z"
58
- },
59
- {
60
- "type": "user",
61
- "content": "Message 19",
62
- "timestamp": "2025-11-21T04:38:27.917Z"
63
- }
64
- ],
65
- "metadata": {
66
- "model": "glm-4.6",
67
- "triggeredBy": "test"
68
- }
69
- }
@@ -1,24 +0,0 @@
1
- {
2
- "id": "54aedbac-6db0-464e-8ebb-dbb3979e6dca",
3
- "timestamp": "2025-11-21T04:38:27.914Z",
4
- "description": "Test checkpoint",
5
- "files": [
6
- {
7
- "path": "/test/file-1763699907914.ts",
8
- "content": "test content",
9
- "hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
10
- "size": 12
11
- }
12
- ],
13
- "conversationState": [
14
- {
15
- "type": "user",
16
- "content": "Test message",
17
- "timestamp": "2025-11-21T04:38:27.914Z"
18
- }
19
- ],
20
- "metadata": {
21
- "model": "glm-4.6",
22
- "triggeredBy": "test"
23
- }
24
- }
@@ -1,24 +0,0 @@
1
- {
2
- "id": "7658aed8-fe5d-4222-903f-1a7c63717ea7",
3
- "timestamp": "2025-11-21T04:38:27.913Z",
4
- "description": "Test checkpoint",
5
- "files": [
6
- {
7
- "path": "/test/file-1763699907913.ts",
8
- "content": "test content",
9
- "hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
10
- "size": 12
11
- }
12
- ],
13
- "conversationState": [
14
- {
15
- "type": "user",
16
- "content": "Test message",
17
- "timestamp": "2025-11-21T04:38:27.913Z"
18
- }
19
- ],
20
- "metadata": {
21
- "model": "glm-4.6",
22
- "triggeredBy": "test"
23
- }
24
- }
@@ -1,69 +0,0 @@
1
- {
2
- "id": "c9c13497-40dc-4294-a327-6a5fc854eaa1",
3
- "timestamp": "2025-11-21T04:38:27.915Z",
4
- "description": "Test checkpoint",
5
- "files": [
6
- {
7
- "path": "/test/file-1763699907915.ts",
8
- "content": "test content",
9
- "hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
10
- "size": 12
11
- }
12
- ],
13
- "conversationState": [
14
- {
15
- "type": "user",
16
- "content": "Message 40",
17
- "timestamp": "2025-11-21T04:38:27.915Z"
18
- },
19
- {
20
- "type": "user",
21
- "content": "Message 41",
22
- "timestamp": "2025-11-21T04:38:27.915Z"
23
- },
24
- {
25
- "type": "user",
26
- "content": "Message 42",
27
- "timestamp": "2025-11-21T04:38:27.915Z"
28
- },
29
- {
30
- "type": "user",
31
- "content": "Message 43",
32
- "timestamp": "2025-11-21T04:38:27.915Z"
33
- },
34
- {
35
- "type": "user",
36
- "content": "Message 44",
37
- "timestamp": "2025-11-21T04:38:27.915Z"
38
- },
39
- {
40
- "type": "user",
41
- "content": "Message 45",
42
- "timestamp": "2025-11-21T04:38:27.915Z"
43
- },
44
- {
45
- "type": "user",
46
- "content": "Message 46",
47
- "timestamp": "2025-11-21T04:38:27.915Z"
48
- },
49
- {
50
- "type": "user",
51
- "content": "Message 47",
52
- "timestamp": "2025-11-21T04:38:27.915Z"
53
- },
54
- {
55
- "type": "user",
56
- "content": "Message 48",
57
- "timestamp": "2025-11-21T04:38:27.915Z"
58
- },
59
- {
60
- "type": "user",
61
- "content": "Message 49",
62
- "timestamp": "2025-11-21T04:38:27.915Z"
63
- }
64
- ],
65
- "metadata": {
66
- "model": "glm-4.6",
67
- "triggeredBy": "test"
68
- }
69
- }
package/ax.config.json DELETED
@@ -1,333 +0,0 @@
1
- {
2
- "providers": {
3
- "claude-code": {
4
- "enabled": true,
5
- "priority": 3,
6
- "timeout": 2700000,
7
- "command": "claude",
8
- "healthCheck": {
9
- "enabled": true,
10
- "interval": 300000,
11
- "timeout": 5000
12
- },
13
- "circuitBreaker": {
14
- "enabled": true,
15
- "failureThreshold": 3,
16
- "recoveryTimeout": 60000
17
- },
18
- "processManagement": {
19
- "gracefulShutdownTimeout": 5000,
20
- "forceKillDelay": 1000
21
- },
22
- "versionDetection": {
23
- "timeout": 5000,
24
- "forceKillDelay": 1000,
25
- "cacheEnabled": true
26
- },
27
- "limitTracking": {
28
- "enabled": true,
29
- "window": "weekly",
30
- "resetHourUtc": 0
31
- }
32
- },
33
- "gemini-cli": {
34
- "enabled": true,
35
- "priority": 2,
36
- "timeout": 2700000,
37
- "command": "gemini",
38
- "healthCheck": {
39
- "enabled": true,
40
- "interval": 300000,
41
- "timeout": 5000
42
- },
43
- "circuitBreaker": {
44
- "enabled": true,
45
- "failureThreshold": 3,
46
- "recoveryTimeout": 60000
47
- },
48
- "processManagement": {
49
- "gracefulShutdownTimeout": 5000,
50
- "forceKillDelay": 1000
51
- },
52
- "versionDetection": {
53
- "timeout": 5000,
54
- "forceKillDelay": 1000,
55
- "cacheEnabled": true
56
- },
57
- "limitTracking": {
58
- "enabled": true,
59
- "window": "daily",
60
- "resetHourUtc": 0
61
- }
62
- },
63
- "openai": {
64
- "enabled": true,
65
- "priority": 1,
66
- "timeout": 2700000,
67
- "command": "codex",
68
- "healthCheck": {
69
- "enabled": true,
70
- "interval": 300000,
71
- "timeout": 5000
72
- },
73
- "circuitBreaker": {
74
- "enabled": true,
75
- "failureThreshold": 3,
76
- "recoveryTimeout": 60000
77
- },
78
- "processManagement": {
79
- "gracefulShutdownTimeout": 5000,
80
- "forceKillDelay": 1000
81
- },
82
- "versionDetection": {
83
- "timeout": 5000,
84
- "forceKillDelay": 1000,
85
- "cacheEnabled": true
86
- },
87
- "limitTracking": {
88
- "enabled": true,
89
- "window": "daily",
90
- "resetHourUtc": 0
91
- }
92
- },
93
- "grok": {
94
- "enabled": true,
95
- "priority": 4,
96
- "timeout": 2700000,
97
- "command": "grok",
98
- "healthCheck": {
99
- "enabled": true,
100
- "interval": 300000,
101
- "timeout": 5000
102
- },
103
- "circuitBreaker": {
104
- "enabled": true,
105
- "failureThreshold": 3,
106
- "recoveryTimeout": 60000
107
- },
108
- "processManagement": {
109
- "gracefulShutdownTimeout": 5000,
110
- "forceKillDelay": 1000
111
- },
112
- "versionDetection": {
113
- "timeout": 5000,
114
- "forceKillDelay": 1000,
115
- "cacheEnabled": true
116
- },
117
- "limitTracking": {
118
- "enabled": true,
119
- "window": "daily",
120
- "resetHourUtc": 0
121
- }
122
- }
123
- },
124
- "execution": {
125
- "defaultTimeout": 2700000,
126
- "concurrency": {
127
- "maxConcurrentAgents": 4,
128
- "autoDetect": false,
129
- "cpuMultiplier": 1,
130
- "minConcurrency": 2,
131
- "maxConcurrency": 16
132
- },
133
- "retry": {
134
- "maxAttempts": 3,
135
- "initialDelay": 1000,
136
- "maxDelay": 10000,
137
- "backoffFactor": 2,
138
- "retryableErrors": [
139
- "ECONNREFUSED",
140
- "ETIMEDOUT",
141
- "ENOTFOUND",
142
- "rate_limit",
143
- "overloaded",
144
- "timeout"
145
- ]
146
- },
147
- "provider": {
148
- "maxWaitMs": 60000,
149
- "fallbackDelay": 5000
150
- },
151
- "stages": {
152
- "enabled": true,
153
- "defaultTimeout": 1800000,
154
- "checkpointPath": ".automatosx/checkpoints",
155
- "autoSaveCheckpoint": true,
156
- "cleanupAfterDays": 7,
157
- "retry": {
158
- "defaultMaxRetries": 1,
159
- "defaultRetryDelay": 2000
160
- },
161
- "prompts": {
162
- "timeout": 600000,
163
- "autoConfirm": false,
164
- "locale": "en"
165
- },
166
- "progress": {
167
- "updateInterval": 2000,
168
- "syntheticProgress": true
169
- }
170
- }
171
- },
172
- "orchestration": {
173
- "session": {
174
- "maxSessions": 100,
175
- "maxMetadataSize": 10240,
176
- "saveDebounce": 1000,
177
- "cleanupAfterDays": 7,
178
- "maxUuidAttempts": 100,
179
- "persistPath": ".automatosx/sessions"
180
- },
181
- "delegation": {
182
- "maxDepth": 2,
183
- "timeout": 2700000,
184
- "enableCycleDetection": true
185
- }
186
- },
187
- "memory": {
188
- "maxEntries": 10000,
189
- "persistPath": ".automatosx/memory",
190
- "autoCleanup": true,
191
- "cleanupDays": 30,
192
- "busyTimeout": 5000,
193
- "search": {
194
- "defaultLimit": 10,
195
- "maxLimit": 100,
196
- "timeout": 5000
197
- }
198
- },
199
- "abilities": {
200
- "basePath": ".automatosx/abilities",
201
- "fallbackPath": "examples/abilities",
202
- "cache": {
203
- "enabled": true,
204
- "maxEntries": 50,
205
- "ttl": 600000,
206
- "maxSize": 5242880,
207
- "cleanupInterval": 120000
208
- },
209
- "limits": {
210
- "maxFileSize": 524288
211
- }
212
- },
213
- "workspace": {
214
- "prdPath": "automatosx/PRD",
215
- "tmpPath": "automatosx/tmp",
216
- "autoCleanupTmp": true,
217
- "tmpCleanupDays": 7
218
- },
219
- "logging": {
220
- "level": "info",
221
- "path": ".automatosx/logs",
222
- "console": true,
223
- "retention": {
224
- "maxSizeBytes": 104857600,
225
- "maxAgeDays": 30,
226
- "compress": true
227
- }
228
- },
229
- "performance": {
230
- "profileCache": {
231
- "enabled": true,
232
- "maxEntries": 20,
233
- "ttl": 600000,
234
- "cleanupInterval": 120000
235
- },
236
- "teamCache": {
237
- "enabled": true,
238
- "maxEntries": 10,
239
- "ttl": 600000,
240
- "cleanupInterval": 120000
241
- },
242
- "providerCache": {
243
- "enabled": true,
244
- "maxEntries": 100,
245
- "ttl": 600000,
246
- "cleanupInterval": 120000
247
- },
248
- "adaptiveCache": {
249
- "maxEntries": 1000,
250
- "baseTTL": 300000,
251
- "minTTL": 60000,
252
- "maxTTL": 3600000,
253
- "adaptiveMultiplier": 2,
254
- "lowFreqDivisor": 2,
255
- "frequencyThreshold": 5,
256
- "cleanupInterval": 60000
257
- },
258
- "responseCache": {
259
- "enabled": false,
260
- "ttl": 86400,
261
- "maxSize": 1000,
262
- "maxMemorySize": 100,
263
- "dbPath": ".automatosx/cache/responses.db"
264
- },
265
- "rateLimit": {
266
- "enabled": false,
267
- "requestsPerMinute": 60,
268
- "burstSize": 10
269
- }
270
- },
271
- "advanced": {
272
- "embedding": {
273
- "timeout": 30000,
274
- "retryDelay": 1000,
275
- "dimensions": 1536,
276
- "maxRetries": 3
277
- },
278
- "security": {
279
- "enablePathValidation": true,
280
- "allowedExtensions": [
281
- ".ts",
282
- ".js",
283
- ".tsx",
284
- ".jsx",
285
- ".py",
286
- ".go",
287
- ".rs",
288
- ".java",
289
- ".yaml",
290
- ".yml",
291
- ".json",
292
- ".toml",
293
- ".md",
294
- ".txt",
295
- ".csv"
296
- ]
297
- },
298
- "development": {
299
- "mockProviders": false,
300
- "profileMode": false
301
- }
302
- },
303
- "integration": {
304
- "vscode": {
305
- "enabled": false,
306
- "apiPort": 3000,
307
- "autoStart": true,
308
- "outputPanel": true,
309
- "notifications": true
310
- }
311
- },
312
- "cli": {
313
- "run": {
314
- "defaultMemory": true,
315
- "defaultSaveMemory": true,
316
- "defaultFormat": "text",
317
- "defaultVerbose": false
318
- },
319
- "session": {
320
- "defaultShowAgents": true
321
- },
322
- "memory": {
323
- "defaultLimit": 10
324
- }
325
- },
326
- "router": {
327
- "healthCheckInterval": 60000,
328
- "providerCooldownMs": 30000,
329
- "enableFreeTierPrioritization": true,
330
- "enableWorkloadAwareRouting": true
331
- },
332
- "version": "9.0.0"
333
- }