opencode-antigravity-config 1.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/README.md +111 -0
- package/app.png +0 -0
- package/cli.js +17 -0
- package/config-data.js +23 -0
- package/i18n.js +198 -0
- package/index.html +432 -0
- package/main.js +307 -0
- package/package.json +27 -0
- package/preload.js +22 -0
- package/renderer.js +316 -0
- package/styles.css +1086 -0
- package/templates/dcp.jsonc +81 -0
- package/templates/oh-my-opencode.jsonc +173 -0
- package/templates/opencode-sync.jsonc +12 -0
- package/templates/opencode.json +236 -0
- package/templates/package.json +6 -0
- package/templates/supermemory.jsonc +15 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/master/dcp.schema.json",
|
|
3
|
+
"enabled": true,
|
|
4
|
+
"debug": false,
|
|
5
|
+
"pruneNotification": "detailed",
|
|
6
|
+
"pruneNotificationType": "chat",
|
|
7
|
+
"commands": {
|
|
8
|
+
"enabled": true,
|
|
9
|
+
"protectedTools": [
|
|
10
|
+
"task",
|
|
11
|
+
"todowrite",
|
|
12
|
+
"todoread"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"manualMode": {
|
|
16
|
+
"enabled": false,
|
|
17
|
+
"automaticStrategies": true
|
|
18
|
+
},
|
|
19
|
+
"turnProtection": {
|
|
20
|
+
"enabled": true,
|
|
21
|
+
"turns": 6
|
|
22
|
+
},
|
|
23
|
+
"protectedFilePatterns": [
|
|
24
|
+
"**/opencode.json",
|
|
25
|
+
"**/opencode.jsonc",
|
|
26
|
+
"**/oh-my-opencode.json",
|
|
27
|
+
"**/oh-my-opencode.jsonc",
|
|
28
|
+
"**/dcp.jsonc",
|
|
29
|
+
"**/package.json",
|
|
30
|
+
"**/.env*",
|
|
31
|
+
"**/AGENTS.md",
|
|
32
|
+
"**/README.md"
|
|
33
|
+
],
|
|
34
|
+
"tools": {
|
|
35
|
+
"settings": {
|
|
36
|
+
"nudgeEnabled": true,
|
|
37
|
+
"nudgeFrequency": 15,
|
|
38
|
+
"contextLimit": "80%",
|
|
39
|
+
"modelLimits": {
|
|
40
|
+
"google/antigravity-gemini-3-1-pro": "85%",
|
|
41
|
+
"google/antigravity-gemini-3-flash": "80%",
|
|
42
|
+
"google/antigravity-claude-sonnet-4-6": "80%",
|
|
43
|
+
"google/antigravity-claude-sonnet-4-6-thinking": "70%",
|
|
44
|
+
"google/antigravity-claude-opus-4-6-thinking": "65%"
|
|
45
|
+
},
|
|
46
|
+
"protectedTools": [
|
|
47
|
+
"task",
|
|
48
|
+
"todowrite",
|
|
49
|
+
"todoread",
|
|
50
|
+
"batch",
|
|
51
|
+
"plan_enter",
|
|
52
|
+
"plan_exit"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"distill": {
|
|
56
|
+
"permission": "allow",
|
|
57
|
+
"showDistillation": true
|
|
58
|
+
},
|
|
59
|
+
"compress": {
|
|
60
|
+
"permission": "ask",
|
|
61
|
+
"showCompression": true
|
|
62
|
+
},
|
|
63
|
+
"prune": {
|
|
64
|
+
"permission": "ask"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"strategies": {
|
|
68
|
+
"deduplication": {
|
|
69
|
+
"enabled": true,
|
|
70
|
+
"protectedTools": []
|
|
71
|
+
},
|
|
72
|
+
"supersedeWrites": {
|
|
73
|
+
"enabled": true
|
|
74
|
+
},
|
|
75
|
+
"purgeErrors": {
|
|
76
|
+
"enabled": true,
|
|
77
|
+
"turns": 8,
|
|
78
|
+
"protectedTools": []
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
|
|
3
|
+
// ============================================================
|
|
4
|
+
// AGENT OVERRIDES - ALL GEMINI PRO
|
|
5
|
+
// Semua agent menggunakan Gemini 3.1 Pro
|
|
6
|
+
// ============================================================
|
|
7
|
+
"agents": {
|
|
8
|
+
"sisyphus": {
|
|
9
|
+
"model": "google/antigravity-gemini-3-1-pro",
|
|
10
|
+
"variant": "high",
|
|
11
|
+
"temperature": 0.7,
|
|
12
|
+
"maxTokens": 32000
|
|
13
|
+
},
|
|
14
|
+
"prometheus": {
|
|
15
|
+
"model": "google/antigravity-gemini-3-1-pro",
|
|
16
|
+
"variant": "high",
|
|
17
|
+
"temperature": 0.6,
|
|
18
|
+
"maxTokens": 16000
|
|
19
|
+
},
|
|
20
|
+
"hephaestus": {
|
|
21
|
+
"model": "google/antigravity-gemini-3-1-pro",
|
|
22
|
+
"variant": "standard",
|
|
23
|
+
"temperature": 0.5,
|
|
24
|
+
"maxTokens": 32000
|
|
25
|
+
},
|
|
26
|
+
"metis": {
|
|
27
|
+
"model": "google/antigravity-gemini-3-1-pro",
|
|
28
|
+
"variant": "high",
|
|
29
|
+
"temperature": 0.7,
|
|
30
|
+
"maxTokens": 32000
|
|
31
|
+
},
|
|
32
|
+
"momus": {
|
|
33
|
+
"model": "google/antigravity-gemini-3-1-pro",
|
|
34
|
+
"variant": "standard",
|
|
35
|
+
"temperature": 0.5,
|
|
36
|
+
"maxTokens": 32000
|
|
37
|
+
},
|
|
38
|
+
"atlas": {
|
|
39
|
+
"model": "google/antigravity-gemini-3-1-pro",
|
|
40
|
+
"variant": "standard",
|
|
41
|
+
"temperature": 0.5,
|
|
42
|
+
"maxTokens": 32000
|
|
43
|
+
},
|
|
44
|
+
"oracle": {
|
|
45
|
+
"model": "google/antigravity-gemini-3-1-pro",
|
|
46
|
+
"variant": "high",
|
|
47
|
+
"temperature": 0.5,
|
|
48
|
+
"maxTokens": 32000
|
|
49
|
+
},
|
|
50
|
+
"librarian": {
|
|
51
|
+
"model": "google/antigravity-gemini-3-flash",
|
|
52
|
+
"variant": "low",
|
|
53
|
+
"temperature": 0.3,
|
|
54
|
+
"maxTokens": 16000
|
|
55
|
+
},
|
|
56
|
+
"explore": {
|
|
57
|
+
"model": "google/antigravity-gemini-3-flash",
|
|
58
|
+
"variant": "minimal",
|
|
59
|
+
"temperature": 0.2,
|
|
60
|
+
"maxTokens": 8000,
|
|
61
|
+
"permission": {
|
|
62
|
+
"edit": "deny",
|
|
63
|
+
"bash": "ask"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"multimodal-looker": {
|
|
67
|
+
"model": "google/antigravity-gemini-3-flash",
|
|
68
|
+
"variant": "standard",
|
|
69
|
+
"temperature": 0.5,
|
|
70
|
+
"maxTokens": 8000
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
// ============================================================
|
|
74
|
+
// CATEGORIES
|
|
75
|
+
// ============================================================
|
|
76
|
+
"categories": {
|
|
77
|
+
"visual-engineering": {
|
|
78
|
+
"model": "google/antigravity-gemini-3-1-pro",
|
|
79
|
+
"variant": "high",
|
|
80
|
+
"temperature": 0.9,
|
|
81
|
+
"maxTokens": 32000
|
|
82
|
+
},
|
|
83
|
+
"ultrabrain": {
|
|
84
|
+
"model": "google/antigravity-gemini-3-1-pro",
|
|
85
|
+
"variant": "high",
|
|
86
|
+
"temperature": 0.7,
|
|
87
|
+
"maxTokens": 32000
|
|
88
|
+
},
|
|
89
|
+
"deep": {
|
|
90
|
+
"model": "google/antigravity-gemini-3-1-pro",
|
|
91
|
+
"variant": "high",
|
|
92
|
+
"temperature": 0.7,
|
|
93
|
+
"maxTokens": 32000
|
|
94
|
+
},
|
|
95
|
+
"artistry": {
|
|
96
|
+
"model": "google/antigravity-gemini-3-1-pro",
|
|
97
|
+
"variant": "high",
|
|
98
|
+
"temperature": 1.0,
|
|
99
|
+
"maxTokens": 32000
|
|
100
|
+
},
|
|
101
|
+
"quick": {
|
|
102
|
+
"model": "google/antigravity-gemini-3-flash",
|
|
103
|
+
"variant": "minimal",
|
|
104
|
+
"temperature": 0.3,
|
|
105
|
+
"maxTokens": 8000
|
|
106
|
+
},
|
|
107
|
+
"unspecified-low": {
|
|
108
|
+
"model": "google/antigravity-gemini-3-1-pro",
|
|
109
|
+
"variant": "standard",
|
|
110
|
+
"temperature": 0.7,
|
|
111
|
+
"maxTokens": 16000
|
|
112
|
+
},
|
|
113
|
+
"unspecified-high": {
|
|
114
|
+
"model": "google/antigravity-gemini-3-1-pro",
|
|
115
|
+
"variant": "high",
|
|
116
|
+
"temperature": 0.7,
|
|
117
|
+
"maxTokens": 32000
|
|
118
|
+
},
|
|
119
|
+
"writing": {
|
|
120
|
+
"model": "google/antigravity-gemini-3-flash",
|
|
121
|
+
"variant": "medium",
|
|
122
|
+
"temperature": 0.7,
|
|
123
|
+
"maxTokens": 16000
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
// ============================================================
|
|
127
|
+
// SISYPHUS AGENT (ORCHESTRATOR)
|
|
128
|
+
// ============================================================
|
|
129
|
+
"sisyphus_agent": {
|
|
130
|
+
"disabled": false,
|
|
131
|
+
"default_builder_enabled": false,
|
|
132
|
+
"planner_enabled": true,
|
|
133
|
+
"replace_plan": true
|
|
134
|
+
},
|
|
135
|
+
// ============================================================
|
|
136
|
+
// BACKGROUND TASKS
|
|
137
|
+
// ============================================================
|
|
138
|
+
"background_task": {
|
|
139
|
+
"defaultConcurrency": 5,
|
|
140
|
+
"staleTimeoutMs": 180000,
|
|
141
|
+
"providerConcurrency": {
|
|
142
|
+
"google": 5
|
|
143
|
+
},
|
|
144
|
+
"modelConcurrency": {
|
|
145
|
+
"google/antigravity-gemini-3-flash": 5,
|
|
146
|
+
"google/antigravity-gemini-3-1-pro": 4
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
// ============================================================
|
|
150
|
+
// GIT MASTER
|
|
151
|
+
// ============================================================
|
|
152
|
+
"git_master": {
|
|
153
|
+
"commit_footer": false,
|
|
154
|
+
"include_co_authored_by": false
|
|
155
|
+
},
|
|
156
|
+
// ============================================================
|
|
157
|
+
// HOOKS & COMMANDS
|
|
158
|
+
// ============================================================
|
|
159
|
+
"disabled_hooks": [
|
|
160
|
+
"startup-toast"
|
|
161
|
+
],
|
|
162
|
+
// ============================================================
|
|
163
|
+
// EXPERIMENTAL FEATURES
|
|
164
|
+
// ============================================================
|
|
165
|
+
"experimental": {
|
|
166
|
+
"aggressive_truncation": false,
|
|
167
|
+
"auto_resume": true,
|
|
168
|
+
"truncate_all_tool_outputs": false,
|
|
169
|
+
"dynamic_context_pruning": {
|
|
170
|
+
"enabled": false
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
// OpenSync Plugin Configuration
|
|
3
|
+
// Dapatkan credentials dari opensync.dev → Settings → API Access
|
|
4
|
+
"apiKey": "__OPENSYNC_API_KEY__",
|
|
5
|
+
"convexUrl": "__OPENSYNC_CONVEX_URL__",
|
|
6
|
+
"includeSessions": true,
|
|
7
|
+
"includeStash": true,
|
|
8
|
+
"defaultTags": [
|
|
9
|
+
"antigravity",
|
|
10
|
+
"opencode"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opencode.ai/config.json",
|
|
3
|
+
"plugin": [
|
|
4
|
+
"opencode-antigravity-auth",
|
|
5
|
+
"oh-my-opencode",
|
|
6
|
+
"@tarquinen/opencode-dcp",
|
|
7
|
+
"opencode-supermemory",
|
|
8
|
+
"@ramtinj95/opencode-tokenscope",
|
|
9
|
+
"opencode-wakatime",
|
|
10
|
+
"opencode-sync-plugin",
|
|
11
|
+
"cc-safety-net"
|
|
12
|
+
],
|
|
13
|
+
"model": "google/antigravity-gemini-3-flash",
|
|
14
|
+
"provider": {
|
|
15
|
+
"google": {
|
|
16
|
+
"models": {
|
|
17
|
+
"antigravity-gemini-3-1-pro": {
|
|
18
|
+
"name": "Gemini 3.1 Pro (Antigravity)",
|
|
19
|
+
"limit": {
|
|
20
|
+
"context": 1048576,
|
|
21
|
+
"output": 65535
|
|
22
|
+
},
|
|
23
|
+
"modalities": {
|
|
24
|
+
"input": [
|
|
25
|
+
"text",
|
|
26
|
+
"image",
|
|
27
|
+
"pdf"
|
|
28
|
+
],
|
|
29
|
+
"output": [
|
|
30
|
+
"text"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"variants": {
|
|
34
|
+
"standard": {},
|
|
35
|
+
"low": {
|
|
36
|
+
"thinkingLevel": "low"
|
|
37
|
+
},
|
|
38
|
+
"high": {
|
|
39
|
+
"thinkingLevel": "high"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"antigravity-gemini-3-flash": {
|
|
44
|
+
"name": "Gemini 3 Flash (Antigravity)",
|
|
45
|
+
"limit": {
|
|
46
|
+
"context": 1048576,
|
|
47
|
+
"output": 65536
|
|
48
|
+
},
|
|
49
|
+
"modalities": {
|
|
50
|
+
"input": [
|
|
51
|
+
"text",
|
|
52
|
+
"image",
|
|
53
|
+
"pdf"
|
|
54
|
+
],
|
|
55
|
+
"output": [
|
|
56
|
+
"text"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"variants": {
|
|
60
|
+
"standard": {},
|
|
61
|
+
"minimal": {
|
|
62
|
+
"thinkingLevel": "minimal"
|
|
63
|
+
},
|
|
64
|
+
"low": {
|
|
65
|
+
"thinkingLevel": "low"
|
|
66
|
+
},
|
|
67
|
+
"medium": {
|
|
68
|
+
"thinkingLevel": "medium"
|
|
69
|
+
},
|
|
70
|
+
"high": {
|
|
71
|
+
"thinkingLevel": "high"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"antigravity-claude-sonnet-4-6": {
|
|
76
|
+
"name": "Claude Sonnet 4.6 (Antigravity)",
|
|
77
|
+
"limit": {
|
|
78
|
+
"context": 200000,
|
|
79
|
+
"output": 64000
|
|
80
|
+
},
|
|
81
|
+
"modalities": {
|
|
82
|
+
"input": [
|
|
83
|
+
"text",
|
|
84
|
+
"image",
|
|
85
|
+
"pdf"
|
|
86
|
+
],
|
|
87
|
+
"output": [
|
|
88
|
+
"text"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"variants": {
|
|
92
|
+
"standard": {}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"antigravity-claude-sonnet-4-6-thinking": {
|
|
96
|
+
"name": "Claude Sonnet 4.6 Thinking (Antigravity)",
|
|
97
|
+
"limit": {
|
|
98
|
+
"context": 200000,
|
|
99
|
+
"output": 64000
|
|
100
|
+
},
|
|
101
|
+
"modalities": {
|
|
102
|
+
"input": [
|
|
103
|
+
"text",
|
|
104
|
+
"image",
|
|
105
|
+
"pdf"
|
|
106
|
+
],
|
|
107
|
+
"output": [
|
|
108
|
+
"text"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"variants": {
|
|
112
|
+
"low": {
|
|
113
|
+
"thinkingConfig": {
|
|
114
|
+
"thinkingBudget": 8192
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"max": {
|
|
118
|
+
"thinkingConfig": {
|
|
119
|
+
"thinkingBudget": 32768
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"antigravity-claude-opus-4-6-thinking": {
|
|
125
|
+
"name": "Claude Opus 4.6 Thinking (Antigravity)",
|
|
126
|
+
"limit": {
|
|
127
|
+
"context": 200000,
|
|
128
|
+
"output": 64000
|
|
129
|
+
},
|
|
130
|
+
"modalities": {
|
|
131
|
+
"input": [
|
|
132
|
+
"text",
|
|
133
|
+
"image",
|
|
134
|
+
"pdf"
|
|
135
|
+
],
|
|
136
|
+
"output": [
|
|
137
|
+
"text"
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
"variants": {
|
|
141
|
+
"low": {
|
|
142
|
+
"thinkingConfig": {
|
|
143
|
+
"thinkingBudget": 8192
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"max": {
|
|
147
|
+
"thinkingConfig": {
|
|
148
|
+
"thinkingBudget": 32768
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"gemini-2.5-flash": {
|
|
154
|
+
"name": "Gemini 2.5 Flash (Gemini CLI)",
|
|
155
|
+
"limit": {
|
|
156
|
+
"context": 1048576,
|
|
157
|
+
"output": 65536
|
|
158
|
+
},
|
|
159
|
+
"modalities": {
|
|
160
|
+
"input": [
|
|
161
|
+
"text",
|
|
162
|
+
"image",
|
|
163
|
+
"pdf"
|
|
164
|
+
],
|
|
165
|
+
"output": [
|
|
166
|
+
"text"
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
"variants": {
|
|
170
|
+
"standard": {}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"gemini-2.5-pro": {
|
|
174
|
+
"name": "Gemini 2.5 Pro (Gemini CLI)",
|
|
175
|
+
"limit": {
|
|
176
|
+
"context": 1048576,
|
|
177
|
+
"output": 65536
|
|
178
|
+
},
|
|
179
|
+
"modalities": {
|
|
180
|
+
"input": [
|
|
181
|
+
"text",
|
|
182
|
+
"image",
|
|
183
|
+
"pdf"
|
|
184
|
+
],
|
|
185
|
+
"output": [
|
|
186
|
+
"text"
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
"variants": {
|
|
190
|
+
"standard": {}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"gemini-3-flash-preview": {
|
|
194
|
+
"name": "Gemini 3 Flash Preview (Gemini CLI)",
|
|
195
|
+
"limit": {
|
|
196
|
+
"context": 1048576,
|
|
197
|
+
"output": 65536
|
|
198
|
+
},
|
|
199
|
+
"modalities": {
|
|
200
|
+
"input": [
|
|
201
|
+
"text",
|
|
202
|
+
"image",
|
|
203
|
+
"pdf"
|
|
204
|
+
],
|
|
205
|
+
"output": [
|
|
206
|
+
"text"
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
"variants": {
|
|
210
|
+
"standard": {}
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"gemini-3-1-pro-preview": {
|
|
214
|
+
"name": "Gemini 3.1 Pro Preview (Gemini CLI)",
|
|
215
|
+
"limit": {
|
|
216
|
+
"context": 1048576,
|
|
217
|
+
"output": 65535
|
|
218
|
+
},
|
|
219
|
+
"modalities": {
|
|
220
|
+
"input": [
|
|
221
|
+
"text",
|
|
222
|
+
"image",
|
|
223
|
+
"pdf"
|
|
224
|
+
],
|
|
225
|
+
"output": [
|
|
226
|
+
"text"
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
"variants": {
|
|
230
|
+
"standard": {}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
// ============================================================
|
|
3
|
+
// OPENCODE-SUPERMEMORY CONFIGURATION
|
|
4
|
+
// ============================================================
|
|
5
|
+
// API Key — ganti dengan API key dari https://console.supermemory.ai/keys
|
|
6
|
+
// Atau set via environment variable: SUPERMEMORY_API_KEY
|
|
7
|
+
"apiKey": "__SUPERMEMORY_API_KEY__",
|
|
8
|
+
"similarityThreshold": 0.5,
|
|
9
|
+
"maxMemories": 8,
|
|
10
|
+
"maxProjectMemories": 15,
|
|
11
|
+
"maxProfileItems": 8,
|
|
12
|
+
"injectProfile": true,
|
|
13
|
+
"containerTagPrefix": "antigravity",
|
|
14
|
+
"compactionThreshold": 0.95
|
|
15
|
+
}
|