adhdev 0.1.53 → 0.1.54

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 (68) hide show
  1. package/dist/index.js +1870 -819
  2. package/package.json +1 -1
  3. package/providers/_builtin/CONTRIBUTING.md +141 -0
  4. package/providers/_builtin/README.md +51 -0
  5. package/providers/_builtin/_helpers/index.js +188 -0
  6. package/providers/_builtin/acp/agentpool/provider.js +59 -0
  7. package/providers/_builtin/acp/amp/provider.js +61 -0
  8. package/providers/_builtin/acp/auggie/provider.js +60 -0
  9. package/providers/_builtin/acp/autodev/provider.js +59 -0
  10. package/providers/_builtin/acp/autohand/provider.js +59 -0
  11. package/providers/_builtin/acp/blackbox-ai/provider.js +59 -0
  12. package/providers/_builtin/acp/claude-agent/provider.js +61 -0
  13. package/providers/_builtin/acp/cline-acp/provider.js +62 -0
  14. package/providers/_builtin/acp/code-assistant/provider.js +59 -0
  15. package/providers/_builtin/acp/codebuddy/provider.js +59 -0
  16. package/providers/_builtin/acp/codex-cli/provider.js +11 -1
  17. package/providers/_builtin/acp/corust-agent/provider.js +59 -0
  18. package/providers/_builtin/acp/crow-cli/provider.js +59 -0
  19. package/providers/_builtin/acp/cursor-acp/provider.js +59 -0
  20. package/providers/_builtin/acp/deepagents/provider.js +59 -0
  21. package/providers/_builtin/acp/dimcode/provider.js +58 -0
  22. package/providers/_builtin/acp/docker-cagent/provider.js +59 -0
  23. package/providers/_builtin/acp/factory-droid/provider.js +59 -0
  24. package/providers/_builtin/acp/fast-agent/provider.js +59 -0
  25. package/providers/_builtin/acp/fount/provider.js +59 -0
  26. package/providers/_builtin/acp/gemini-cli/provider.js +104 -0
  27. package/providers/_builtin/acp/github-copilot/provider.js +60 -0
  28. package/providers/_builtin/acp/goose/provider.js +37 -5
  29. package/providers/_builtin/acp/junie/provider.js +62 -0
  30. package/providers/_builtin/acp/kilo/provider.js +59 -0
  31. package/providers/_builtin/acp/kimi-cli/provider.js +63 -0
  32. package/providers/_builtin/acp/kiro-cli/provider.js +59 -0
  33. package/providers/_builtin/acp/minion-code/provider.js +59 -0
  34. package/providers/_builtin/acp/mistral-vibe/provider.js +63 -0
  35. package/providers/_builtin/acp/nova/provider.js +59 -0
  36. package/providers/_builtin/acp/openclaw/provider.js +59 -0
  37. package/providers/_builtin/acp/opencode/provider.js +34 -6
  38. package/providers/_builtin/acp/openhands/provider.js +59 -0
  39. package/providers/_builtin/acp/pi-acp/provider.js +59 -0
  40. package/providers/_builtin/acp/qoder/provider.js +58 -0
  41. package/providers/_builtin/acp/qwen-code/provider.js +61 -0
  42. package/providers/_builtin/acp/stakpak/provider.js +59 -0
  43. package/providers/_builtin/acp/vtcode/provider.js +59 -0
  44. package/providers/_builtin/cli/claude-cli/provider.js +3 -0
  45. package/providers/_builtin/cli/codex-cli/provider.js +3 -0
  46. package/providers/_builtin/cli/gemini-cli/provider.js +3 -0
  47. package/providers/_builtin/ide/kiro/provider.js +6 -2
  48. package/providers/_builtin/ide/kiro/scripts/webview_send_message.js +72 -0
  49. package/providers/_builtin/ide/pearai/provider.js +12 -0
  50. package/providers/_builtin/ide/pearai/scripts/list_sessions.js +38 -0
  51. package/providers/_builtin/ide/pearai/scripts/new_session.js +55 -0
  52. package/providers/_builtin/ide/pearai/scripts/webview_list_sessions.js +62 -0
  53. package/providers/_builtin/ide/pearai/scripts/webview_new_session.js +32 -4
  54. package/providers/_builtin/ide/pearai/scripts/webview_send_message.js +72 -0
  55. package/providers/_builtin/ide/pearai/scripts/webview_switch_session.js +34 -0
  56. package/providers/_builtin/ide/trae/scripts/send_message.js +53 -3
  57. package/providers/_builtin/validate.js +156 -0
  58. package/dist/node_datachannel-LPY6EJH5.node +0 -0
  59. package/providers/_builtin/ide/cursor/provider.js.backup +0 -116
  60. package/providers/_builtin/ide/cursor/provider.js.bak +0 -127
  61. package/providers/_builtin/ide/cursor/scripts_backup/focus_editor.js +0 -20
  62. package/providers/_builtin/ide/cursor/scripts_backup/list_chats.js +0 -111
  63. package/providers/_builtin/ide/cursor/scripts_backup/new_session.js +0 -62
  64. package/providers/_builtin/ide/cursor/scripts_backup/open_panel.js +0 -31
  65. package/providers/_builtin/ide/cursor/scripts_backup/read_chat.js +0 -433
  66. package/providers/_builtin/ide/cursor/scripts_backup/resolve_action.js +0 -90
  67. package/providers/_builtin/ide/cursor/scripts_backup/send_message.js +0 -86
  68. package/providers/_builtin/ide/cursor/scripts_backup/switch_session.js +0 -63
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Blackbox AI — ACP Provider
3
+ *
4
+ * AI coding assistant by Blackbox
5
+ * https://docs.blackbox.ai/features/blackbox-cli/introduction
6
+ *
7
+ * Install: Download from https://docs.blackbox.ai/features/blackbox-cli
8
+ *
9
+ * @type {import('../../../../src/providers/contracts').ProviderModule}
10
+ */
11
+ module.exports = {
12
+ type: 'blackbox-ai-acp',
13
+ name: 'Blackbox AI (ACP)',
14
+ category: 'acp',
15
+
16
+ displayName: 'Blackbox AI',
17
+ icon: '⬛',
18
+ install: 'Download from https://docs.blackbox.ai/features/blackbox-cli',
19
+
20
+ spawn: {
21
+ command: 'blackbox',
22
+ args: ['acp'],
23
+ shell: false,
24
+ },
25
+
26
+ auth: [
27
+ {
28
+ type: 'agent',
29
+ id: 'blackbox',
30
+ name: 'Blackbox Auth',
31
+ description: 'Authenticate with Blackbox AI account',
32
+ },
33
+ ],
34
+
35
+ settings: {
36
+ approvalAlert: {
37
+ type: 'boolean',
38
+ default: true,
39
+ public: true,
40
+ label: 'Approval Alerts',
41
+ description: 'Show notification when agent requires approval',
42
+ },
43
+ longGeneratingAlert: {
44
+ type: 'boolean',
45
+ default: true,
46
+ public: true,
47
+ label: 'Long Generation Alert',
48
+ description: 'Alert when generation takes too long',
49
+ },
50
+ longGeneratingThresholdSec: {
51
+ type: 'number',
52
+ default: 180,
53
+ public: true,
54
+ label: 'Long Generation Threshold (sec)',
55
+ min: 30,
56
+ max: 600,
57
+ },
58
+ },
59
+ };
@@ -0,0 +1,61 @@
1
+ /**
2
+ * Claude Agent — ACP Provider
3
+ *
4
+ * ACP wrapper for Anthropic's Claude Agent SDK
5
+ * https://github.com/zed-industries/claude-agent-acp
6
+ *
7
+ * Install: npm install -g @zed-industries/claude-agent-acp
8
+ * Auth: ANTHROPIC_API_KEY environment variable
9
+ *
10
+ * @type {import('../../../../src/providers/contracts').ProviderModule}
11
+ */
12
+ module.exports = {
13
+ type: 'claude-agent-acp',
14
+ name: 'Claude Agent (ACP)',
15
+ category: 'acp',
16
+
17
+ displayName: 'Claude Agent',
18
+ icon: '🟠',
19
+ install: 'npm install -g @zed-industries/claude-agent-acp (requires ANTHROPIC_API_KEY)',
20
+
21
+ spawn: {
22
+ command: 'claude-agent-acp',
23
+ args: [],
24
+ shell: false,
25
+ },
26
+
27
+ auth: [
28
+ {
29
+ type: 'env_var',
30
+ id: 'anthropic',
31
+ name: 'Anthropic API Key',
32
+ vars: [{ name: 'ANTHROPIC_API_KEY' }],
33
+ link: 'https://console.anthropic.com/settings/keys',
34
+ },
35
+ ],
36
+
37
+ settings: {
38
+ approvalAlert: {
39
+ type: 'boolean',
40
+ default: true,
41
+ public: true,
42
+ label: 'Approval Alerts',
43
+ description: 'Show notification when Claude requires approval',
44
+ },
45
+ longGeneratingAlert: {
46
+ type: 'boolean',
47
+ default: true,
48
+ public: true,
49
+ label: 'Long Generation Alert',
50
+ description: 'Alert when generation takes too long',
51
+ },
52
+ longGeneratingThresholdSec: {
53
+ type: 'number',
54
+ default: 180,
55
+ public: true,
56
+ label: 'Long Generation Threshold (sec)',
57
+ min: 30,
58
+ max: 600,
59
+ },
60
+ },
61
+ };
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Cline — ACP Provider
3
+ *
4
+ * Autonomous coding agent CLI with ACP support
5
+ * https://github.com/cline/cline
6
+ *
7
+ * Install: npm install -g cline
8
+ * Auth: Configured via Cline settings (API keys for various providers)
9
+ *
10
+ * Note: cline-acp repo is archived. Main `cline` CLI now supports ACP directly.
11
+ *
12
+ * @type {import('../../../../src/providers/contracts').ProviderModule}
13
+ */
14
+ module.exports = {
15
+ type: 'cline-acp',
16
+ name: 'Cline (ACP)',
17
+ category: 'acp',
18
+
19
+ displayName: 'Cline (ACP)',
20
+ icon: '🔵',
21
+ install: 'npm install -g cline',
22
+
23
+ spawn: {
24
+ command: 'cline',
25
+ args: ['--acp'],
26
+ shell: false,
27
+ },
28
+
29
+ auth: [
30
+ {
31
+ type: 'agent',
32
+ id: 'cline-settings',
33
+ name: 'Cline Settings',
34
+ description: 'Configure API keys through Cline interactive setup',
35
+ },
36
+ ],
37
+
38
+ settings: {
39
+ approvalAlert: {
40
+ type: 'boolean',
41
+ default: true,
42
+ public: true,
43
+ label: 'Approval Alerts',
44
+ description: 'Show notification when Cline requires approval',
45
+ },
46
+ longGeneratingAlert: {
47
+ type: 'boolean',
48
+ default: true,
49
+ public: true,
50
+ label: 'Long Generation Alert',
51
+ description: 'Alert when generation takes too long',
52
+ },
53
+ longGeneratingThresholdSec: {
54
+ type: 'number',
55
+ default: 180,
56
+ public: true,
57
+ label: 'Long Generation Threshold (sec)',
58
+ min: 30,
59
+ max: 600,
60
+ },
61
+ },
62
+ };
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Code Assistant — ACP Provider
3
+ *
4
+ * AI code assistant written in Rust
5
+ * https://github.com/stippi/code-assistant
6
+ *
7
+ * Install: Download from https://github.com/stippi/code-assistant/releases
8
+ *
9
+ * @type {import('../../../../src/providers/contracts').ProviderModule}
10
+ */
11
+ module.exports = {
12
+ type: 'code-assistant-acp',
13
+ name: 'Code Assistant (ACP)',
14
+ category: 'acp',
15
+
16
+ displayName: 'Code Assistant',
17
+ icon: '🔧',
18
+ install: 'Download from https://github.com/stippi/code-assistant/releases',
19
+
20
+ spawn: {
21
+ command: 'code-assistant',
22
+ args: ['--acp'],
23
+ shell: false,
24
+ },
25
+
26
+ auth: [
27
+ {
28
+ type: 'agent',
29
+ id: 'code-assistant',
30
+ name: 'Code Assistant Auth',
31
+ description: 'Configure provider through code-assistant setup',
32
+ },
33
+ ],
34
+
35
+ settings: {
36
+ approvalAlert: {
37
+ type: 'boolean',
38
+ default: true,
39
+ public: true,
40
+ label: 'Approval Alerts',
41
+ description: 'Show notification when agent requires approval',
42
+ },
43
+ longGeneratingAlert: {
44
+ type: 'boolean',
45
+ default: true,
46
+ public: true,
47
+ label: 'Long Generation Alert',
48
+ description: 'Alert when generation takes too long',
49
+ },
50
+ longGeneratingThresholdSec: {
51
+ type: 'number',
52
+ default: 180,
53
+ public: true,
54
+ label: 'Long Generation Threshold (sec)',
55
+ min: 30,
56
+ max: 600,
57
+ },
58
+ },
59
+ };
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Codebuddy Code — ACP Provider
3
+ *
4
+ * Tencent Cloud's official intelligent coding tool
5
+ * https://www.codebuddy.cn/cli/
6
+ *
7
+ * Install: npm install -g @tencent-ai/codebuddy-code
8
+ *
9
+ * @type {import('../../../../src/providers/contracts').ProviderModule}
10
+ */
11
+ module.exports = {
12
+ type: 'codebuddy-acp',
13
+ name: 'Codebuddy Code (ACP)',
14
+ category: 'acp',
15
+
16
+ displayName: 'Codebuddy Code',
17
+ icon: '🐧',
18
+ install: 'npm install -g @tencent-ai/codebuddy-code',
19
+
20
+ spawn: {
21
+ command: 'codebuddy-code',
22
+ args: ['--acp'],
23
+ shell: false,
24
+ },
25
+
26
+ auth: [
27
+ {
28
+ type: 'agent',
29
+ id: 'tencent',
30
+ name: 'Tencent Cloud Auth',
31
+ description: 'Authenticate through Tencent Cloud account',
32
+ },
33
+ ],
34
+
35
+ settings: {
36
+ approvalAlert: {
37
+ type: 'boolean',
38
+ default: true,
39
+ public: true,
40
+ label: 'Approval Alerts',
41
+ description: 'Show notification when agent requires approval',
42
+ },
43
+ longGeneratingAlert: {
44
+ type: 'boolean',
45
+ default: true,
46
+ public: true,
47
+ label: 'Long Generation Alert',
48
+ description: 'Alert when generation takes too long',
49
+ },
50
+ longGeneratingThresholdSec: {
51
+ type: 'number',
52
+ default: 180,
53
+ public: true,
54
+ label: 'Long Generation Threshold (sec)',
55
+ min: 30,
56
+ max: 600,
57
+ },
58
+ },
59
+ };
@@ -18,6 +18,7 @@ module.exports = {
18
18
 
19
19
  displayName: 'Codex (ACP)',
20
20
  icon: '🤖',
21
+ install: 'npm install -g @zed-industries/codex-acp (requires OPENAI_API_KEY)',
21
22
 
22
23
  // ACP spawn config — uses codex-acp adapter
23
24
  spawn: {
@@ -26,7 +27,16 @@ module.exports = {
26
27
  shell: false,
27
28
  },
28
29
 
29
- // Settings
30
+ auth: [
31
+ {
32
+ type: 'env_var',
33
+ id: 'openai',
34
+ name: 'OpenAI API Key',
35
+ vars: [{ name: 'OPENAI_API_KEY' }],
36
+ link: 'https://platform.openai.com/api-keys',
37
+ },
38
+ ],
39
+
30
40
  settings: {
31
41
  approvalAlert: {
32
42
  type: 'boolean',
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Corust Agent — ACP Provider
3
+ *
4
+ * Co-building with a seasoned Rust partner
5
+ * https://github.com/Corust-ai/corust-agent-release
6
+ *
7
+ * Install: Download from https://github.com/Corust-ai/corust-agent-release/releases
8
+ *
9
+ * @type {import('../../../../src/providers/contracts').ProviderModule}
10
+ */
11
+ module.exports = {
12
+ type: 'corust-agent-acp',
13
+ name: 'Corust Agent (ACP)',
14
+ category: 'acp',
15
+
16
+ displayName: 'Corust Agent',
17
+ icon: '🦀',
18
+ install: 'Download from https://github.com/Corust-ai/corust-agent-release/releases',
19
+
20
+ spawn: {
21
+ command: 'corust-agent-acp',
22
+ args: [],
23
+ shell: false,
24
+ },
25
+
26
+ auth: [
27
+ {
28
+ type: 'agent',
29
+ id: 'corust',
30
+ name: 'Corust Auth',
31
+ description: 'Authenticate through Corust AI setup',
32
+ },
33
+ ],
34
+
35
+ settings: {
36
+ approvalAlert: {
37
+ type: 'boolean',
38
+ default: true,
39
+ public: true,
40
+ label: 'Approval Alerts',
41
+ description: 'Show notification when agent requires approval',
42
+ },
43
+ longGeneratingAlert: {
44
+ type: 'boolean',
45
+ default: true,
46
+ public: true,
47
+ label: 'Long Generation Alert',
48
+ description: 'Alert when generation takes too long',
49
+ },
50
+ longGeneratingThresholdSec: {
51
+ type: 'number',
52
+ default: 180,
53
+ public: true,
54
+ label: 'Long Generation Threshold (sec)',
55
+ min: 30,
56
+ max: 600,
57
+ },
58
+ },
59
+ };
@@ -0,0 +1,59 @@
1
+ /**
2
+ * crow-cli — ACP Provider
3
+ *
4
+ * Minimal ACP Native Coding Agent
5
+ * https://github.com/crow-cli/crow-cli
6
+ *
7
+ * Install: pip install crow-cli (Python/uvx)
8
+ *
9
+ * @type {import('../../../../src/providers/contracts').ProviderModule}
10
+ */
11
+ module.exports = {
12
+ type: 'crow-cli-acp',
13
+ name: 'crow-cli (ACP)',
14
+ category: 'acp',
15
+
16
+ displayName: 'crow-cli',
17
+ icon: '🐦‍⬛',
18
+ install: 'pip install crow-cli (Python/uvx)',
19
+
20
+ spawn: {
21
+ command: 'crow-cli',
22
+ args: ['acp'],
23
+ shell: false,
24
+ },
25
+
26
+ auth: [
27
+ {
28
+ type: 'agent',
29
+ id: 'crow',
30
+ name: 'crow-cli Auth',
31
+ description: 'Configure provider through crow-cli setup',
32
+ },
33
+ ],
34
+
35
+ settings: {
36
+ approvalAlert: {
37
+ type: 'boolean',
38
+ default: true,
39
+ public: true,
40
+ label: 'Approval Alerts',
41
+ description: 'Show notification when agent requires approval',
42
+ },
43
+ longGeneratingAlert: {
44
+ type: 'boolean',
45
+ default: true,
46
+ public: true,
47
+ label: 'Long Generation Alert',
48
+ description: 'Alert when generation takes too long',
49
+ },
50
+ longGeneratingThresholdSec: {
51
+ type: 'number',
52
+ default: 180,
53
+ public: true,
54
+ label: 'Long Generation Threshold (sec)',
55
+ min: 30,
56
+ max: 600,
57
+ },
58
+ },
59
+ };
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Cursor Agent — ACP Provider
3
+ *
4
+ * Cursor's coding agent
5
+ * https://cursor.com/docs/cli/acp
6
+ *
7
+ * Install: Download from https://cursor.com/docs/cli/acp
8
+ *
9
+ * @type {import('../../../../src/providers/contracts').ProviderModule}
10
+ */
11
+ module.exports = {
12
+ type: 'cursor-acp',
13
+ name: 'Cursor (ACP)',
14
+ category: 'acp',
15
+
16
+ displayName: 'Cursor Agent',
17
+ icon: '🔵',
18
+ install: 'Download from https://cursor.com/docs/cli/acp',
19
+
20
+ spawn: {
21
+ command: 'cursor-agent',
22
+ args: ['acp'],
23
+ shell: false,
24
+ },
25
+
26
+ auth: [
27
+ {
28
+ type: 'agent',
29
+ id: 'cursor',
30
+ name: 'Cursor Auth',
31
+ description: 'Authenticate with Cursor account',
32
+ },
33
+ ],
34
+
35
+ settings: {
36
+ approvalAlert: {
37
+ type: 'boolean',
38
+ default: true,
39
+ public: true,
40
+ label: 'Approval Alerts',
41
+ description: 'Show notification when agent requires approval',
42
+ },
43
+ longGeneratingAlert: {
44
+ type: 'boolean',
45
+ default: true,
46
+ public: true,
47
+ label: 'Long Generation Alert',
48
+ description: 'Alert when generation takes too long',
49
+ },
50
+ longGeneratingThresholdSec: {
51
+ type: 'number',
52
+ default: 180,
53
+ public: true,
54
+ label: 'Long Generation Threshold (sec)',
55
+ min: 30,
56
+ max: 600,
57
+ },
58
+ },
59
+ };
@@ -0,0 +1,59 @@
1
+ /**
2
+ * DeepAgents — ACP Provider
3
+ *
4
+ * Batteries-included AI coding agent powered by LangChain
5
+ * https://github.com/langchain-ai/deepagentsjs
6
+ *
7
+ * Install: npm install -g deepagents-acp
8
+ *
9
+ * @type {import('../../../../src/providers/contracts').ProviderModule}
10
+ */
11
+ module.exports = {
12
+ type: 'deepagents-acp',
13
+ name: 'DeepAgents (ACP)',
14
+ category: 'acp',
15
+
16
+ displayName: 'DeepAgents',
17
+ icon: '🔗',
18
+ install: 'npm install -g deepagents-acp',
19
+
20
+ spawn: {
21
+ command: 'deepagents-acp',
22
+ args: [],
23
+ shell: false,
24
+ },
25
+
26
+ auth: [
27
+ {
28
+ type: 'agent',
29
+ id: 'deepagents',
30
+ name: 'DeepAgents Auth',
31
+ description: 'Configure provider through DeepAgents setup',
32
+ },
33
+ ],
34
+
35
+ settings: {
36
+ approvalAlert: {
37
+ type: 'boolean',
38
+ default: true,
39
+ public: true,
40
+ label: 'Approval Alerts',
41
+ description: 'Show notification when agent requires approval',
42
+ },
43
+ longGeneratingAlert: {
44
+ type: 'boolean',
45
+ default: true,
46
+ public: true,
47
+ label: 'Long Generation Alert',
48
+ description: 'Alert when generation takes too long',
49
+ },
50
+ longGeneratingThresholdSec: {
51
+ type: 'number',
52
+ default: 180,
53
+ public: true,
54
+ label: 'Long Generation Threshold (sec)',
55
+ min: 30,
56
+ max: 600,
57
+ },
58
+ },
59
+ };
@@ -0,0 +1,58 @@
1
+ /**
2
+ * DimCode — ACP Provider
3
+ *
4
+ * A coding agent that puts leading models at your command
5
+ *
6
+ * Install: npm install -g dimcode
7
+ *
8
+ * @type {import('../../../../src/providers/contracts').ProviderModule}
9
+ */
10
+ module.exports = {
11
+ type: 'dimcode-acp',
12
+ name: 'DimCode (ACP)',
13
+ category: 'acp',
14
+
15
+ displayName: 'DimCode',
16
+ icon: '💠',
17
+ install: 'npm install -g dimcode',
18
+
19
+ spawn: {
20
+ command: 'dimcode',
21
+ args: ['acp'],
22
+ shell: false,
23
+ },
24
+
25
+ auth: [
26
+ {
27
+ type: 'agent',
28
+ id: 'dimcode',
29
+ name: 'DimCode Auth',
30
+ description: 'Configure provider through DimCode setup',
31
+ },
32
+ ],
33
+
34
+ settings: {
35
+ approvalAlert: {
36
+ type: 'boolean',
37
+ default: true,
38
+ public: true,
39
+ label: 'Approval Alerts',
40
+ description: 'Show notification when agent requires approval',
41
+ },
42
+ longGeneratingAlert: {
43
+ type: 'boolean',
44
+ default: true,
45
+ public: true,
46
+ label: 'Long Generation Alert',
47
+ description: 'Alert when generation takes too long',
48
+ },
49
+ longGeneratingThresholdSec: {
50
+ type: 'number',
51
+ default: 180,
52
+ public: true,
53
+ label: 'Long Generation Threshold (sec)',
54
+ min: 30,
55
+ max: 600,
56
+ },
57
+ },
58
+ };
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Docker cagent — ACP Provider
3
+ *
4
+ * Docker's containerized coding agent
5
+ * https://github.com/docker/cagent
6
+ *
7
+ * Install: docker pull docker/cagent
8
+ *
9
+ * @type {import('../../../../src/providers/contracts').ProviderModule}
10
+ */
11
+ module.exports = {
12
+ type: 'docker-cagent-acp',
13
+ name: 'Docker cagent (ACP)',
14
+ category: 'acp',
15
+
16
+ displayName: 'Docker cagent',
17
+ icon: '🐳',
18
+ install: 'docker pull docker/cagent',
19
+
20
+ spawn: {
21
+ command: 'docker',
22
+ args: ['run', '--rm', '-i', 'docker/cagent'],
23
+ shell: false,
24
+ },
25
+
26
+ auth: [
27
+ {
28
+ type: 'agent',
29
+ id: 'docker',
30
+ name: 'Docker Auth',
31
+ description: 'Authenticate with Docker account',
32
+ },
33
+ ],
34
+
35
+ settings: {
36
+ approvalAlert: {
37
+ type: 'boolean',
38
+ default: true,
39
+ public: true,
40
+ label: 'Approval Alerts',
41
+ description: 'Show notification when agent requires approval',
42
+ },
43
+ longGeneratingAlert: {
44
+ type: 'boolean',
45
+ default: true,
46
+ public: true,
47
+ label: 'Long Generation Alert',
48
+ description: 'Alert when generation takes too long',
49
+ },
50
+ longGeneratingThresholdSec: {
51
+ type: 'number',
52
+ default: 180,
53
+ public: true,
54
+ label: 'Long Generation Threshold (sec)',
55
+ min: 30,
56
+ max: 600,
57
+ },
58
+ },
59
+ };