adhdev 0.1.54 → 0.2.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 (122) hide show
  1. package/dist/cli-entrypoint.js +12020 -0
  2. package/dist/cli-entrypoint.js.map +1 -0
  3. package/dist/index.js +9721 -10847
  4. package/dist/index.js.map +1 -0
  5. package/package.json +19 -16
  6. package/providers/_builtin/acp/agentpool/provider.json +47 -0
  7. package/providers/_builtin/acp/amp/provider.json +45 -0
  8. package/providers/_builtin/acp/auggie/provider.json +50 -0
  9. package/providers/_builtin/acp/autodev/provider.json +47 -0
  10. package/providers/_builtin/acp/autohand/provider.json +45 -0
  11. package/providers/_builtin/acp/blackbox-ai/provider.json +47 -0
  12. package/providers/_builtin/acp/claude-agent/provider.json +50 -0
  13. package/providers/_builtin/acp/cline-acp/provider.json +47 -0
  14. package/providers/_builtin/acp/code-assistant/provider.json +47 -0
  15. package/providers/_builtin/acp/codebuddy/provider.json +47 -0
  16. package/providers/_builtin/acp/codex-cli/provider.json +50 -0
  17. package/providers/_builtin/acp/corust-agent/provider.json +45 -0
  18. package/providers/_builtin/acp/crow-cli/provider.json +47 -0
  19. package/providers/_builtin/acp/cursor-acp/provider.json +47 -0
  20. package/providers/_builtin/acp/deepagents/provider.json +45 -0
  21. package/providers/_builtin/acp/dimcode/provider.json +47 -0
  22. package/providers/_builtin/acp/docker-cagent/provider.json +50 -0
  23. package/providers/_builtin/acp/factory-droid/provider.json +53 -0
  24. package/providers/_builtin/acp/fast-agent/provider.json +45 -0
  25. package/providers/_builtin/acp/fount/provider.json +47 -0
  26. package/providers/_builtin/acp/gemini-cli/provider.json +107 -0
  27. package/providers/_builtin/acp/github-copilot/provider.json +47 -0
  28. package/providers/_builtin/acp/goose/provider.json +50 -0
  29. package/providers/_builtin/acp/junie/provider.json +45 -0
  30. package/providers/_builtin/acp/kilo/provider.json +45 -0
  31. package/providers/_builtin/acp/kimi-cli/provider.json +50 -0
  32. package/providers/_builtin/acp/kiro-cli/provider.json +47 -0
  33. package/providers/_builtin/acp/minion-code/provider.json +45 -0
  34. package/providers/_builtin/acp/mistral-vibe/provider.json +50 -0
  35. package/providers/_builtin/acp/nova/provider.json +47 -0
  36. package/providers/_builtin/acp/openclaw/provider.json +47 -0
  37. package/providers/_builtin/acp/opencode/provider.json +45 -0
  38. package/providers/_builtin/acp/openhands/provider.json +47 -0
  39. package/providers/_builtin/acp/pi-acp/provider.json +45 -0
  40. package/providers/_builtin/acp/qoder/provider.json +47 -0
  41. package/providers/_builtin/acp/qwen-code/provider.json +53 -0
  42. package/providers/_builtin/acp/stakpak/provider.json +47 -0
  43. package/providers/_builtin/acp/vtcode/provider.json +47 -0
  44. package/providers/_builtin/cli/claude-cli/provider.json +78 -0
  45. package/providers/_builtin/cli/codex-cli/provider.json +60 -0
  46. package/providers/_builtin/cli/gemini-cli/provider.json +64 -0
  47. package/providers/_builtin/extension/cline/provider.json +11 -0
  48. package/providers/_builtin/extension/cline/scripts/open_panel.js +1 -1
  49. package/providers/_builtin/extension/cline/{provider.js → scripts.js} +29 -55
  50. package/providers/_builtin/extension/roo-code/provider.json +11 -0
  51. package/providers/_builtin/extension/roo-code/{provider.js → scripts.js} +27 -97
  52. package/providers/_builtin/ide/antigravity/provider.json +32 -0
  53. package/providers/_builtin/ide/antigravity/scripts.js +73 -0
  54. package/providers/_builtin/ide/cursor/provider.json +35 -0
  55. package/providers/_builtin/ide/cursor/{provider.js → scripts.js} +31 -69
  56. package/providers/_builtin/ide/kiro/provider.json +36 -0
  57. package/providers/_builtin/ide/kiro/scripts.js +62 -0
  58. package/providers/_builtin/ide/pearai/provider.json +36 -0
  59. package/providers/_builtin/ide/pearai/scripts.js +74 -0
  60. package/providers/_builtin/ide/trae/provider.json +35 -0
  61. package/providers/_builtin/ide/trae/scripts.js +57 -0
  62. package/providers/_builtin/ide/vscode/provider.json +33 -0
  63. package/providers/_builtin/ide/vscode-insiders/provider.json +31 -0
  64. package/providers/_builtin/ide/vscodium/provider.json +32 -0
  65. package/providers/_builtin/ide/windsurf/provider.json +22 -0
  66. package/providers/_builtin/ide/windsurf/scripts.js +57 -0
  67. package/README.md +0 -43
  68. package/dist/dev-console-monaco.js +0 -176
  69. package/dist/dev-console.css +0 -326
  70. package/dist/dev-console.html +0 -148
  71. package/dist/dev-console.js +0 -1165
  72. package/dist/index.d.ts +0 -2
  73. package/providers/_builtin/acp/agentpool/provider.js +0 -59
  74. package/providers/_builtin/acp/amp/provider.js +0 -61
  75. package/providers/_builtin/acp/auggie/provider.js +0 -60
  76. package/providers/_builtin/acp/autodev/provider.js +0 -59
  77. package/providers/_builtin/acp/autohand/provider.js +0 -59
  78. package/providers/_builtin/acp/blackbox-ai/provider.js +0 -59
  79. package/providers/_builtin/acp/claude-agent/provider.js +0 -61
  80. package/providers/_builtin/acp/cline-acp/provider.js +0 -62
  81. package/providers/_builtin/acp/code-assistant/provider.js +0 -59
  82. package/providers/_builtin/acp/codebuddy/provider.js +0 -59
  83. package/providers/_builtin/acp/codex-cli/provider.js +0 -64
  84. package/providers/_builtin/acp/corust-agent/provider.js +0 -59
  85. package/providers/_builtin/acp/crow-cli/provider.js +0 -59
  86. package/providers/_builtin/acp/cursor-acp/provider.js +0 -59
  87. package/providers/_builtin/acp/deepagents/provider.js +0 -59
  88. package/providers/_builtin/acp/dimcode/provider.js +0 -58
  89. package/providers/_builtin/acp/docker-cagent/provider.js +0 -59
  90. package/providers/_builtin/acp/factory-droid/provider.js +0 -59
  91. package/providers/_builtin/acp/fast-agent/provider.js +0 -59
  92. package/providers/_builtin/acp/fount/provider.js +0 -59
  93. package/providers/_builtin/acp/gemini-cli/provider.js +0 -104
  94. package/providers/_builtin/acp/github-copilot/provider.js +0 -60
  95. package/providers/_builtin/acp/goose/provider.js +0 -64
  96. package/providers/_builtin/acp/junie/provider.js +0 -62
  97. package/providers/_builtin/acp/kilo/provider.js +0 -59
  98. package/providers/_builtin/acp/kimi-cli/provider.js +0 -63
  99. package/providers/_builtin/acp/kiro-cli/provider.js +0 -59
  100. package/providers/_builtin/acp/minion-code/provider.js +0 -59
  101. package/providers/_builtin/acp/mistral-vibe/provider.js +0 -63
  102. package/providers/_builtin/acp/nova/provider.js +0 -59
  103. package/providers/_builtin/acp/openclaw/provider.js +0 -59
  104. package/providers/_builtin/acp/opencode/provider.js +0 -60
  105. package/providers/_builtin/acp/openhands/provider.js +0 -59
  106. package/providers/_builtin/acp/pi-acp/provider.js +0 -59
  107. package/providers/_builtin/acp/qoder/provider.js +0 -58
  108. package/providers/_builtin/acp/qwen-code/provider.js +0 -61
  109. package/providers/_builtin/acp/stakpak/provider.js +0 -59
  110. package/providers/_builtin/acp/vtcode/provider.js +0 -59
  111. package/providers/_builtin/cli/claude-cli/provider.js +0 -128
  112. package/providers/_builtin/cli/codex-cli/provider.js +0 -80
  113. package/providers/_builtin/cli/gemini-cli/provider.js +0 -124
  114. package/providers/_builtin/ide/antigravity/provider.js +0 -114
  115. package/providers/_builtin/ide/kiro/provider.js +0 -90
  116. package/providers/_builtin/ide/pearai/provider.js +0 -100
  117. package/providers/_builtin/ide/trae/provider.js +0 -83
  118. package/providers/_builtin/ide/vscode/provider.js +0 -36
  119. package/providers/_builtin/ide/vscode-insiders/provider.js +0 -27
  120. package/providers/_builtin/ide/vscodium/provider.js +0 -27
  121. package/providers/_builtin/ide/windsurf/provider.js +0 -76
  122. package/providers/_helpers/index.js +0 -188
@@ -1,59 +0,0 @@
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
- };
@@ -1,59 +0,0 @@
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
- };
@@ -1,59 +0,0 @@
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
- };
@@ -1,59 +0,0 @@
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
- };
@@ -1,58 +0,0 @@
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
- };
@@ -1,59 +0,0 @@
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
- };
@@ -1,59 +0,0 @@
1
- /**
2
- * Factory Droid — ACP Provider
3
- *
4
- * AI coding agent powered by Factory AI
5
- *
6
- * Install: npm install -g droid
7
- *
8
- * @type {import('../../../../src/providers/contracts').ProviderModule}
9
- */
10
- module.exports = {
11
- type: 'factory-droid-acp',
12
- name: 'Factory Droid (ACP)',
13
- category: 'acp',
14
-
15
- displayName: 'Factory Droid',
16
- icon: '🏭',
17
- install: 'npm install -g droid',
18
-
19
- spawn: {
20
- command: 'droid',
21
- args: ['exec', '--output-format', 'acp'],
22
- shell: false,
23
- env: { DROID_DISABLE_AUTO_UPDATE: '1', FACTORY_DROID_AUTO_UPDATE_ENABLED: 'false' },
24
- },
25
-
26
- auth: [
27
- {
28
- type: 'agent',
29
- id: 'factory',
30
- name: 'Factory Auth',
31
- description: 'Authenticate with Factory 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
- };
@@ -1,59 +0,0 @@
1
- /**
2
- * fast-agent — ACP Provider
3
- *
4
- * Code and build agents with comprehensive multi-provider support
5
- * https://github.com/evalstate/fast-agent
6
- *
7
- * Install: pip install fast-agent-acp (Python/uvx)
8
- *
9
- * @type {import('../../../../src/providers/contracts').ProviderModule}
10
- */
11
- module.exports = {
12
- type: 'fast-agent-acp',
13
- name: 'fast-agent (ACP)',
14
- category: 'acp',
15
-
16
- displayName: 'fast-agent',
17
- icon: '⚡',
18
- install: 'pip install fast-agent-acp (Python/uvx)',
19
-
20
- spawn: {
21
- command: 'fast-agent-acp',
22
- args: [],
23
- shell: false,
24
- },
25
-
26
- auth: [
27
- {
28
- type: 'agent',
29
- id: 'fast-agent',
30
- name: 'fast-agent Auth',
31
- description: 'Configure provider through fast-agent 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
- };
@@ -1,59 +0,0 @@
1
- /**
2
- * fount — ACP Provider
3
- *
4
- * Character AI framework with ACP support
5
- * https://github.com/steve02081504/fount
6
- *
7
- * Install: See https://github.com/steve02081504/fount
8
- *
9
- * @type {import('../../../../src/providers/contracts').ProviderModule}
10
- */
11
- module.exports = {
12
- type: 'fount-acp',
13
- name: 'fount (ACP)',
14
- category: 'acp',
15
-
16
- displayName: 'fount',
17
- icon: '⛲',
18
- install: 'See https://github.com/steve02081504/fount',
19
-
20
- spawn: {
21
- command: 'fount',
22
- args: ['acp'],
23
- shell: false,
24
- },
25
-
26
- auth: [
27
- {
28
- type: 'agent',
29
- id: 'fount',
30
- name: 'fount Auth',
31
- description: 'Configure through fount 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
- };
@@ -1,104 +0,0 @@
1
- /**
2
- * Gemini CLI — ACP Provider
3
- *
4
- * Google's official CLI for Gemini with ACP support
5
- * https://github.com/google-gemini/gemini-cli
6
- *
7
- * Install: npm install -g @google/gemini-cli
8
- * Auth: GOOGLE_API_KEY or gcloud auth
9
- *
10
- * Note: Gemini CLI does NOT support ACP config/* methods.
11
- * Model/mode are set via CLI flags (-m, --approval-mode) at spawn time.
12
- * Changing model/mode requires process restart with new args.
13
- *
14
- * @type {import('../../../../src/providers/contracts').ProviderModule}
15
- */
16
- module.exports = {
17
- type: 'gemini-acp',
18
- name: 'Gemini CLI (ACP)',
19
- category: 'acp',
20
-
21
- displayName: 'Gemini (ACP)',
22
- icon: '♊',
23
- install: 'npm install -g @google/gemini-cli',
24
-
25
- spawn: {
26
- command: 'gemini',
27
- args: ['--experimental-acp'],
28
- shell: false,
29
- },
30
-
31
- auth: [
32
- {
33
- type: 'env_var',
34
- id: 'google',
35
- name: 'Google API Key',
36
- vars: [{ name: 'GOOGLE_API_KEY' }],
37
- link: 'https://aistudio.google.com/apikey',
38
- },
39
- {
40
- type: 'agent',
41
- id: 'gcloud',
42
- name: 'Google Cloud Auth',
43
- description: 'Authenticate via gcloud auth application-default login',
44
- },
45
- ],
46
-
47
- // Gemini CLI는 config/* 미지원 → 정적 옵션으로 대시보드 UI 제공
48
- staticConfigOptions: [
49
- {
50
- category: 'model',
51
- configId: 'model',
52
- defaultValue: 'gemini-2.5-pro',
53
- options: [
54
- { value: 'gemini-2.5-pro', name: 'Gemini 2.5 Pro', group: '2.5' },
55
- { value: 'gemini-2.5-flash', name: 'Gemini 2.5 Flash', group: '2.5' },
56
- { value: 'gemini-2.0-flash', name: 'Gemini 2.0 Flash', group: '2.0' },
57
- ],
58
- },
59
- {
60
- category: 'mode',
61
- configId: 'approval_mode',
62
- defaultValue: 'default',
63
- options: [
64
- { value: 'default', name: 'Default', description: 'Prompt for approval' },
65
- { value: 'auto_edit', name: 'Auto Edit', description: 'Auto-approve file edits' },
66
- { value: 'yolo', name: 'YOLO', description: 'Auto-approve all actions' },
67
- { value: 'plan', name: 'Plan', description: 'Read-only planning mode' },
68
- ],
69
- },
70
- ],
71
-
72
- // 선택된 config → spawn args 변환
73
- spawnArgBuilder: (config) => {
74
- const args = ['--experimental-acp'];
75
- if (config.model) args.push('-m', config.model);
76
- if (config.approval_mode && config.approval_mode !== 'default') {
77
- args.push('--approval-mode', config.approval_mode);
78
- }
79
- return args;
80
- },
81
-
82
- settings: {
83
- approvalAlert: {
84
- type: 'boolean',
85
- default: true,
86
- public: true,
87
- label: 'Approval Alerts',
88
- },
89
- longGeneratingAlert: {
90
- type: 'boolean',
91
- default: true,
92
- public: true,
93
- label: 'Long Generation Alert',
94
- },
95
- longGeneratingThresholdSec: {
96
- type: 'number',
97
- default: 180,
98
- public: true,
99
- label: 'Long Generation Threshold (sec)',
100
- min: 30,
101
- max: 600,
102
- },
103
- },
104
- };
@@ -1,60 +0,0 @@
1
- /**
2
- * GitHub Copilot — ACP Provider
3
- *
4
- * GitHub's AI pair programmer with ACP support
5
- * https://github.com/github/copilot-cli
6
- *
7
- * Install: npm install -g @github/copilot
8
- * Auth: GitHub authentication (gh auth login)
9
- *
10
- * @type {import('../../../../src/providers/contracts').ProviderModule}
11
- */
12
- module.exports = {
13
- type: 'github-copilot-acp',
14
- name: 'GitHub Copilot (ACP)',
15
- category: 'acp',
16
-
17
- displayName: 'GitHub Copilot',
18
- icon: '🐙',
19
- install: 'npm install -g @github/copilot (requires GitHub auth)',
20
-
21
- spawn: {
22
- command: 'copilot',
23
- args: ['--acp'],
24
- shell: false,
25
- },
26
-
27
- auth: [
28
- {
29
- type: 'agent',
30
- id: 'github',
31
- name: 'GitHub Authentication',
32
- description: 'Authenticate via GitHub OAuth device flow (gh auth login)',
33
- },
34
- ],
35
-
36
- settings: {
37
- approvalAlert: {
38
- type: 'boolean',
39
- default: true,
40
- public: true,
41
- label: 'Approval Alerts',
42
- description: 'Show notification when Copilot requires approval',
43
- },
44
- longGeneratingAlert: {
45
- type: 'boolean',
46
- default: true,
47
- public: true,
48
- label: 'Long Generation Alert',
49
- description: 'Alert when generation takes too long',
50
- },
51
- longGeneratingThresholdSec: {
52
- type: 'number',
53
- default: 180,
54
- public: true,
55
- label: 'Long Generation Threshold (sec)',
56
- min: 30,
57
- max: 600,
58
- },
59
- },
60
- };