sneakoscope 5.5.1 → 5.5.3
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/crates/sks-core/Cargo.lock +1 -1
- package/crates/sks-core/Cargo.toml +1 -1
- package/crates/sks-core/src/main.rs +1 -1
- package/dist/bin/sks.js +1 -1
- package/dist/config/skills-manifest.json +58 -58
- package/dist/core/codex-app/sks-menubar.js +6 -6
- package/dist/core/doctor/supabase-mcp-repair.js +85 -16
- package/dist/core/fsx.js +1 -1
- package/dist/core/version.js +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ use std::io::{self, Read, Seek, SeekFrom};
|
|
|
4
4
|
fn main() {
|
|
5
5
|
let mut args = std::env::args().skip(1);
|
|
6
6
|
match args.next().as_deref() {
|
|
7
|
-
Some("--version") => println!("sks-rs 5.5.
|
|
7
|
+
Some("--version") => println!("sks-rs 5.5.3"),
|
|
8
8
|
Some("compact-info") => {
|
|
9
9
|
let mut input = String::new();
|
|
10
10
|
let _ = io::stdin().read_to_string(&mut input);
|
package/dist/bin/sks.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "sks.skills-manifest.v1",
|
|
3
|
-
"package_version": "5.5.
|
|
3
|
+
"package_version": "5.5.3",
|
|
4
4
|
"skills": [
|
|
5
5
|
{
|
|
6
6
|
"canonical_name": "answer",
|
|
7
7
|
"type": "official",
|
|
8
|
-
"content_sha256": "
|
|
8
|
+
"content_sha256": "15e28b78e74f54112f2a70d494076d79b974076aabb8a440f25ad76b318eec46",
|
|
9
9
|
"hash_history": [],
|
|
10
10
|
"deprecated_aliases": []
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"canonical_name": "autoresearch",
|
|
14
14
|
"type": "official",
|
|
15
|
-
"content_sha256": "
|
|
15
|
+
"content_sha256": "fa0ff64ab44d744379617a145031a4a34ffcce342217e854526ee7dc713319e4",
|
|
16
16
|
"hash_history": [],
|
|
17
17
|
"deprecated_aliases": []
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"canonical_name": "autoresearch-loop",
|
|
21
21
|
"type": "official",
|
|
22
|
-
"content_sha256": "
|
|
22
|
+
"content_sha256": "1d6f4b00bc3e5806bf16574ec626b5cb06bdfba2c6e0b1b91ba91f12f9bb8ae3",
|
|
23
23
|
"hash_history": [],
|
|
24
24
|
"deprecated_aliases": []
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"canonical_name": "commit",
|
|
28
28
|
"type": "official",
|
|
29
|
-
"content_sha256": "
|
|
29
|
+
"content_sha256": "bd8fafef9f0cb985bb2619607571bc7f1399c9eb4e29a4e4356a062cb622bdac",
|
|
30
30
|
"hash_history": [],
|
|
31
31
|
"deprecated_aliases": []
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"canonical_name": "commit-and-push",
|
|
35
35
|
"type": "official",
|
|
36
|
-
"content_sha256": "
|
|
36
|
+
"content_sha256": "23b231c86f16cf05dead065f15a5fcf3ec77cc8a35259feca87383d6c45fa507",
|
|
37
37
|
"hash_history": [],
|
|
38
38
|
"deprecated_aliases": []
|
|
39
39
|
},
|
|
@@ -47,56 +47,56 @@
|
|
|
47
47
|
{
|
|
48
48
|
"canonical_name": "computer-use-fast",
|
|
49
49
|
"type": "official",
|
|
50
|
-
"content_sha256": "
|
|
50
|
+
"content_sha256": "f7fdc4dc6bc622c6d75b3a53da189a819c9ed6efaf93fb9d14a155c3858f0652",
|
|
51
51
|
"hash_history": [],
|
|
52
52
|
"deprecated_aliases": []
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"canonical_name": "context7-docs",
|
|
56
56
|
"type": "official",
|
|
57
|
-
"content_sha256": "
|
|
57
|
+
"content_sha256": "2e1e89fb2239d423e4d07823ad1d5ce19d89935a55dc62befe26171546076eb3",
|
|
58
58
|
"hash_history": [],
|
|
59
59
|
"deprecated_aliases": []
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"canonical_name": "cu",
|
|
63
63
|
"type": "official",
|
|
64
|
-
"content_sha256": "
|
|
64
|
+
"content_sha256": "ebfb47d15906062e64f86dbfab3404ad3e4d595d9f97c268589f8eb4002a34ae",
|
|
65
65
|
"hash_history": [],
|
|
66
66
|
"deprecated_aliases": []
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"canonical_name": "db",
|
|
70
70
|
"type": "official",
|
|
71
|
-
"content_sha256": "
|
|
71
|
+
"content_sha256": "dc67693037722aa6c2af6dd94235c85211916d9693f80050fef98e86cc8b85f9",
|
|
72
72
|
"hash_history": [],
|
|
73
73
|
"deprecated_aliases": []
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"canonical_name": "db-safety-guard",
|
|
77
77
|
"type": "official",
|
|
78
|
-
"content_sha256": "
|
|
78
|
+
"content_sha256": "1735c85ef5323b20da5c53d31884c897060bd464951b2a17a888f5a3d11d6e05",
|
|
79
79
|
"hash_history": [],
|
|
80
80
|
"deprecated_aliases": []
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"canonical_name": "design-artifact-expert",
|
|
84
84
|
"type": "official",
|
|
85
|
-
"content_sha256": "
|
|
85
|
+
"content_sha256": "86a7c9106efc754d4b41ff93e4b97af36c221dccf6acc77b1c2eabf04941167e",
|
|
86
86
|
"hash_history": [],
|
|
87
87
|
"deprecated_aliases": []
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
"canonical_name": "design-system-builder",
|
|
91
91
|
"type": "official",
|
|
92
|
-
"content_sha256": "
|
|
92
|
+
"content_sha256": "8ea28e5d426ef96075f9b935e29f997a6b865e6001c12bfd7c9f24ed55aaa5bd",
|
|
93
93
|
"hash_history": [],
|
|
94
94
|
"deprecated_aliases": []
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"canonical_name": "design-ui-editor",
|
|
98
98
|
"type": "official",
|
|
99
|
-
"content_sha256": "
|
|
99
|
+
"content_sha256": "92421072813d700e67716e9ee4259f11f659afa8a6b546db59089321e5bf30aa",
|
|
100
100
|
"hash_history": [],
|
|
101
101
|
"deprecated_aliases": []
|
|
102
102
|
},
|
|
@@ -110,98 +110,98 @@
|
|
|
110
110
|
{
|
|
111
111
|
"canonical_name": "fast-mode",
|
|
112
112
|
"type": "official",
|
|
113
|
-
"content_sha256": "
|
|
113
|
+
"content_sha256": "5e6c12266f998a5074a277d3ca231c0cba1f8bfa0e930d08575d93b14cff8d7e",
|
|
114
114
|
"hash_history": [],
|
|
115
115
|
"deprecated_aliases": []
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
"canonical_name": "fast-off",
|
|
119
119
|
"type": "official",
|
|
120
|
-
"content_sha256": "
|
|
120
|
+
"content_sha256": "ea1e1bf06dfa6060ff6c665cd89c5fd743dbfb416ab35b303648b78a31bdc7ee",
|
|
121
121
|
"hash_history": [],
|
|
122
122
|
"deprecated_aliases": []
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
"canonical_name": "fast-on",
|
|
126
126
|
"type": "official",
|
|
127
|
-
"content_sha256": "
|
|
127
|
+
"content_sha256": "faed35d78ac2ca4c104f4e2a1201c13c67c871a3892a83da201ea5d76b3f2a22",
|
|
128
128
|
"hash_history": [],
|
|
129
129
|
"deprecated_aliases": []
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
"canonical_name": "from-chat-img",
|
|
133
133
|
"type": "official",
|
|
134
|
-
"content_sha256": "
|
|
134
|
+
"content_sha256": "76b6439e653a87fd771d3b50095ca5883ecdf778bd195b05293f2be47ac0fec1",
|
|
135
135
|
"hash_history": [],
|
|
136
136
|
"deprecated_aliases": []
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
"canonical_name": "getdesign-reference",
|
|
140
140
|
"type": "official",
|
|
141
|
-
"content_sha256": "
|
|
141
|
+
"content_sha256": "09b90208575a13ac26d38e02219f39f6bafd5f59116c70872e31cd321ee59fe0",
|
|
142
142
|
"hash_history": [],
|
|
143
143
|
"deprecated_aliases": []
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
"canonical_name": "goal",
|
|
147
147
|
"type": "official",
|
|
148
|
-
"content_sha256": "
|
|
148
|
+
"content_sha256": "c96a7c76482431065e389180f43b400666cb50d075abf3e8ac97cb55a881eb94",
|
|
149
149
|
"hash_history": [],
|
|
150
150
|
"deprecated_aliases": []
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
"canonical_name": "gx",
|
|
154
154
|
"type": "official",
|
|
155
|
-
"content_sha256": "
|
|
155
|
+
"content_sha256": "28c563803c07a4bc8462c82a2a07e0ffa637ba88212845bef9c4325186fa4676",
|
|
156
156
|
"hash_history": [],
|
|
157
157
|
"deprecated_aliases": []
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
"canonical_name": "gx-visual-generate",
|
|
161
161
|
"type": "official",
|
|
162
|
-
"content_sha256": "
|
|
162
|
+
"content_sha256": "719365a7de842093ce17ce5ea56300dc5e8de076ac67f8d4194c0a3c7a0802d1",
|
|
163
163
|
"hash_history": [],
|
|
164
164
|
"deprecated_aliases": []
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
"canonical_name": "gx-visual-read",
|
|
168
168
|
"type": "official",
|
|
169
|
-
"content_sha256": "
|
|
169
|
+
"content_sha256": "0568152086abc7a27a9edf17029022a8af180e7f1822b09073b0210d0013589b",
|
|
170
170
|
"hash_history": [],
|
|
171
171
|
"deprecated_aliases": []
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
174
|
"canonical_name": "gx-visual-validate",
|
|
175
175
|
"type": "official",
|
|
176
|
-
"content_sha256": "
|
|
176
|
+
"content_sha256": "693108ed0e6ad124fea56fc781f8a1e423838ed70222def564c151c2d94af1f4",
|
|
177
177
|
"hash_history": [],
|
|
178
178
|
"deprecated_aliases": []
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
"canonical_name": "help",
|
|
182
182
|
"type": "official",
|
|
183
|
-
"content_sha256": "
|
|
183
|
+
"content_sha256": "f0933cd97d5af2a05e43fd66271a1d4ae5a7209bc690dbfd9ba5a343ea28365f",
|
|
184
184
|
"hash_history": [],
|
|
185
185
|
"deprecated_aliases": []
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
"canonical_name": "honest-mode",
|
|
189
189
|
"type": "official",
|
|
190
|
-
"content_sha256": "
|
|
190
|
+
"content_sha256": "a74ea27ff9d4d653e5d7e416fad5176bcf9ce61d01ea9ab7e23abe40c4b5d0db",
|
|
191
191
|
"hash_history": [],
|
|
192
192
|
"deprecated_aliases": []
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
"canonical_name": "hproof-claim-ledger",
|
|
196
196
|
"type": "official",
|
|
197
|
-
"content_sha256": "
|
|
197
|
+
"content_sha256": "d1a0d35fd6f22bf4b7a666f3f086daf343890a7d2babef304dc7285e45f63c77",
|
|
198
198
|
"hash_history": [],
|
|
199
199
|
"deprecated_aliases": []
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
"canonical_name": "hproof-evidence-bind",
|
|
203
203
|
"type": "official",
|
|
204
|
-
"content_sha256": "
|
|
204
|
+
"content_sha256": "af33a58af2b2784e03e6dd2a89e5dbb6da78c74986aa263123cd802a46edf519",
|
|
205
205
|
"hash_history": [],
|
|
206
206
|
"deprecated_aliases": []
|
|
207
207
|
},
|
|
@@ -215,14 +215,14 @@
|
|
|
215
215
|
{
|
|
216
216
|
"canonical_name": "imagegen",
|
|
217
217
|
"type": "official",
|
|
218
|
-
"content_sha256": "
|
|
218
|
+
"content_sha256": "2cfcbf5786a4db435455771f86300190d75241564101ed21e2dcb97cfb8b563f",
|
|
219
219
|
"hash_history": [],
|
|
220
220
|
"deprecated_aliases": []
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
223
|
"canonical_name": "imagegen-source-scout",
|
|
224
224
|
"type": "official",
|
|
225
|
-
"content_sha256": "
|
|
225
|
+
"content_sha256": "44927a5b1fe0c2891f4395285ff0d520a55b24a777c41196a254b175138f8569",
|
|
226
226
|
"hash_history": [],
|
|
227
227
|
"deprecated_aliases": []
|
|
228
228
|
},
|
|
@@ -236,14 +236,14 @@
|
|
|
236
236
|
{
|
|
237
237
|
"canonical_name": "insane-search",
|
|
238
238
|
"type": "official",
|
|
239
|
-
"content_sha256": "
|
|
239
|
+
"content_sha256": "d34abe1a67810a9acd349bbff5e45be131aaa6fee3472b80e0377e03fcd27b7c",
|
|
240
240
|
"hash_history": [],
|
|
241
241
|
"deprecated_aliases": []
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
244
|
"canonical_name": "kage-bunshin",
|
|
245
245
|
"type": "official",
|
|
246
|
-
"content_sha256": "
|
|
246
|
+
"content_sha256": "276f80ff3d01997c1991a7e5cb873037e2760343ee592bdf29b74ae5861de5b4",
|
|
247
247
|
"hash_history": [],
|
|
248
248
|
"deprecated_aliases": []
|
|
249
249
|
},
|
|
@@ -257,14 +257,14 @@
|
|
|
257
257
|
{
|
|
258
258
|
"canonical_name": "mad-db",
|
|
259
259
|
"type": "official",
|
|
260
|
-
"content_sha256": "
|
|
260
|
+
"content_sha256": "a70d6e0096499505debd77dac0febccea01ee5d294d372f773a1efcf6742fd2e",
|
|
261
261
|
"hash_history": [],
|
|
262
262
|
"deprecated_aliases": []
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
265
|
"canonical_name": "mad-sks",
|
|
266
266
|
"type": "official",
|
|
267
|
-
"content_sha256": "
|
|
267
|
+
"content_sha256": "d7fa9a26822e735c62144f679481a8c6dcc93074d6f5ae409c455441f398bdf9",
|
|
268
268
|
"hash_history": [],
|
|
269
269
|
"deprecated_aliases": []
|
|
270
270
|
},
|
|
@@ -280,35 +280,35 @@
|
|
|
280
280
|
{
|
|
281
281
|
"canonical_name": "performance-evaluator",
|
|
282
282
|
"type": "official",
|
|
283
|
-
"content_sha256": "
|
|
283
|
+
"content_sha256": "16140fedd8ce9fd4858bc9ac43264903c327cdb46b41f18307c9ee8e66fa0450",
|
|
284
284
|
"hash_history": [],
|
|
285
285
|
"deprecated_aliases": []
|
|
286
286
|
},
|
|
287
287
|
{
|
|
288
288
|
"canonical_name": "pipeline-runner",
|
|
289
289
|
"type": "official",
|
|
290
|
-
"content_sha256": "
|
|
290
|
+
"content_sha256": "ae19aaf5eff2a3d7c077365d9558cea6d55af148163cb9b941b68fcb944e5c32",
|
|
291
291
|
"hash_history": [],
|
|
292
292
|
"deprecated_aliases": []
|
|
293
293
|
},
|
|
294
294
|
{
|
|
295
295
|
"canonical_name": "plan",
|
|
296
296
|
"type": "official",
|
|
297
|
-
"content_sha256": "
|
|
297
|
+
"content_sha256": "260c54f4f0cc7b9223dd4068f147e93d13a0953c400a402ab26292d60f4cc5cd",
|
|
298
298
|
"hash_history": [],
|
|
299
299
|
"deprecated_aliases": []
|
|
300
300
|
},
|
|
301
301
|
{
|
|
302
302
|
"canonical_name": "ppt",
|
|
303
303
|
"type": "official",
|
|
304
|
-
"content_sha256": "
|
|
304
|
+
"content_sha256": "7907317c4e1e720343a33dd4412f1e75533306261620144d45c7c2ab0c7e2cc4",
|
|
305
305
|
"hash_history": [],
|
|
306
306
|
"deprecated_aliases": []
|
|
307
307
|
},
|
|
308
308
|
{
|
|
309
309
|
"canonical_name": "prompt-pipeline",
|
|
310
310
|
"type": "official",
|
|
311
|
-
"content_sha256": "
|
|
311
|
+
"content_sha256": "d872997c808218716398fc059407802e027b5b7f69f2940d391e48e0549ec771",
|
|
312
312
|
"hash_history": [],
|
|
313
313
|
"deprecated_aliases": []
|
|
314
314
|
},
|
|
@@ -324,21 +324,21 @@
|
|
|
324
324
|
{
|
|
325
325
|
"canonical_name": "reasoning-router",
|
|
326
326
|
"type": "official",
|
|
327
|
-
"content_sha256": "
|
|
327
|
+
"content_sha256": "008198bb290c1caad7675221f5d6a61f8eba97f1d4c6d3304f01e67567c60239",
|
|
328
328
|
"hash_history": [],
|
|
329
329
|
"deprecated_aliases": []
|
|
330
330
|
},
|
|
331
331
|
{
|
|
332
332
|
"canonical_name": "reflection",
|
|
333
333
|
"type": "official",
|
|
334
|
-
"content_sha256": "
|
|
334
|
+
"content_sha256": "75945d37d4e6999c087bc261e352a312ef42b406093dbea8eeb5105338777e23",
|
|
335
335
|
"hash_history": [],
|
|
336
336
|
"deprecated_aliases": []
|
|
337
337
|
},
|
|
338
338
|
{
|
|
339
339
|
"canonical_name": "release-review",
|
|
340
340
|
"type": "official",
|
|
341
|
-
"content_sha256": "
|
|
341
|
+
"content_sha256": "77557fcb288c0b13ed1f9ff859fc6595c36c812f519e47f0a269cb12f48f9a84",
|
|
342
342
|
"hash_history": [],
|
|
343
343
|
"deprecated_aliases": []
|
|
344
344
|
},
|
|
@@ -352,14 +352,14 @@
|
|
|
352
352
|
{
|
|
353
353
|
"canonical_name": "research-discovery",
|
|
354
354
|
"type": "official",
|
|
355
|
-
"content_sha256": "
|
|
355
|
+
"content_sha256": "fe0ff5a7c4f35a9cf72da3b6d918b082dc091a22b013e620341afb2c3ad3692c",
|
|
356
356
|
"hash_history": [],
|
|
357
357
|
"deprecated_aliases": []
|
|
358
358
|
},
|
|
359
359
|
{
|
|
360
360
|
"canonical_name": "review",
|
|
361
361
|
"type": "official",
|
|
362
|
-
"content_sha256": "
|
|
362
|
+
"content_sha256": "7cab4b29a28f9be1480cd133a26629967de3c35df915f82d0871ef66719f9c8d",
|
|
363
363
|
"hash_history": [],
|
|
364
364
|
"deprecated_aliases": []
|
|
365
365
|
},
|
|
@@ -380,14 +380,14 @@
|
|
|
380
380
|
{
|
|
381
381
|
"canonical_name": "shadow-clone",
|
|
382
382
|
"type": "official",
|
|
383
|
-
"content_sha256": "
|
|
383
|
+
"content_sha256": "86d5cf4428c19598dc900f8669317a67116785afba2c23c1b6395ba65065338f",
|
|
384
384
|
"hash_history": [],
|
|
385
385
|
"deprecated_aliases": []
|
|
386
386
|
},
|
|
387
387
|
{
|
|
388
388
|
"canonical_name": "sks",
|
|
389
389
|
"type": "official",
|
|
390
|
-
"content_sha256": "
|
|
390
|
+
"content_sha256": "994d4a8065b8403418bcd6c873832447f00d7778df159cdcad075ad4f8258703",
|
|
391
391
|
"hash_history": [],
|
|
392
392
|
"deprecated_aliases": [
|
|
393
393
|
"ralph",
|
|
@@ -399,21 +399,21 @@
|
|
|
399
399
|
{
|
|
400
400
|
"canonical_name": "solution-scout",
|
|
401
401
|
"type": "official",
|
|
402
|
-
"content_sha256": "
|
|
402
|
+
"content_sha256": "fd4709add13e2b70d4bcd490280cf494e329aed717af9f47218ec3090e37eba7",
|
|
403
403
|
"hash_history": [],
|
|
404
404
|
"deprecated_aliases": []
|
|
405
405
|
},
|
|
406
406
|
{
|
|
407
407
|
"canonical_name": "swarm",
|
|
408
408
|
"type": "official",
|
|
409
|
-
"content_sha256": "
|
|
409
|
+
"content_sha256": "c0046a9a93496acf3ce7b44bbd7228b7f53ead76a7ca27b489f8645c096fa47d",
|
|
410
410
|
"hash_history": [],
|
|
411
411
|
"deprecated_aliases": []
|
|
412
412
|
},
|
|
413
413
|
{
|
|
414
414
|
"canonical_name": "team",
|
|
415
415
|
"type": "official",
|
|
416
|
-
"content_sha256": "
|
|
416
|
+
"content_sha256": "e47500dfc35424e541e5cd387ef6b7ff8f05aa79573c95f78779f28e08e2bd0a",
|
|
417
417
|
"hash_history": [],
|
|
418
418
|
"deprecated_aliases": [
|
|
419
419
|
"agent-team"
|
|
@@ -422,42 +422,42 @@
|
|
|
422
422
|
{
|
|
423
423
|
"canonical_name": "turbo-context-pack",
|
|
424
424
|
"type": "official",
|
|
425
|
-
"content_sha256": "
|
|
425
|
+
"content_sha256": "6d99ba34b95a7de9dad04447b463f956ca95cc07f21a2324152926a585e65404",
|
|
426
426
|
"hash_history": [],
|
|
427
427
|
"deprecated_aliases": []
|
|
428
428
|
},
|
|
429
429
|
{
|
|
430
430
|
"canonical_name": "ui-ux-review",
|
|
431
431
|
"type": "official",
|
|
432
|
-
"content_sha256": "
|
|
432
|
+
"content_sha256": "75642e03523b9ef7382d8d537c5bcb69bae2f5d884c285564cd91a7e48cfff84",
|
|
433
433
|
"hash_history": [],
|
|
434
434
|
"deprecated_aliases": []
|
|
435
435
|
},
|
|
436
436
|
{
|
|
437
437
|
"canonical_name": "ultra-search",
|
|
438
438
|
"type": "official",
|
|
439
|
-
"content_sha256": "
|
|
439
|
+
"content_sha256": "7033091cf44c663ca7a0adb4b065e757766635acbe91bea9617ca712253fbd65",
|
|
440
440
|
"hash_history": [],
|
|
441
441
|
"deprecated_aliases": []
|
|
442
442
|
},
|
|
443
443
|
{
|
|
444
444
|
"canonical_name": "ux-review",
|
|
445
445
|
"type": "official",
|
|
446
|
-
"content_sha256": "
|
|
446
|
+
"content_sha256": "92d7a98dbd428bbe2773975d865063de5087e6d08d9ca5ecf206fab22569074f",
|
|
447
447
|
"hash_history": [],
|
|
448
448
|
"deprecated_aliases": []
|
|
449
449
|
},
|
|
450
450
|
{
|
|
451
451
|
"canonical_name": "visual-review",
|
|
452
452
|
"type": "official",
|
|
453
|
-
"content_sha256": "
|
|
453
|
+
"content_sha256": "80357614f9f244cd5708559790a2de73a34b1ff5172a0d408617b28dc356be00",
|
|
454
454
|
"hash_history": [],
|
|
455
455
|
"deprecated_aliases": []
|
|
456
456
|
},
|
|
457
457
|
{
|
|
458
458
|
"canonical_name": "wiki",
|
|
459
459
|
"type": "official",
|
|
460
|
-
"content_sha256": "
|
|
460
|
+
"content_sha256": "2196ffda8a225705a96b4ae5f3210445d584962c7b385e526b54f4e5316cfe5c",
|
|
461
461
|
"hash_history": [],
|
|
462
462
|
"deprecated_aliases": [
|
|
463
463
|
"wiki-refresh",
|
|
@@ -467,21 +467,21 @@
|
|
|
467
467
|
{
|
|
468
468
|
"canonical_name": "with-local-llm-off",
|
|
469
469
|
"type": "official",
|
|
470
|
-
"content_sha256": "
|
|
470
|
+
"content_sha256": "ac4247fd330d70696434e71137b0461e349161690a43e8cc2c95a14fe76002c9",
|
|
471
471
|
"hash_history": [],
|
|
472
472
|
"deprecated_aliases": []
|
|
473
473
|
},
|
|
474
474
|
{
|
|
475
475
|
"canonical_name": "with-local-llm-on",
|
|
476
476
|
"type": "official",
|
|
477
|
-
"content_sha256": "
|
|
477
|
+
"content_sha256": "9d34d742968ef9952121a5d013c6be731caac50b40f7582fc34a2cae961c3879",
|
|
478
478
|
"hash_history": [],
|
|
479
479
|
"deprecated_aliases": []
|
|
480
480
|
},
|
|
481
481
|
{
|
|
482
482
|
"canonical_name": "work",
|
|
483
483
|
"type": "official",
|
|
484
|
-
"content_sha256": "
|
|
484
|
+
"content_sha256": "fe499515c433c1f6924669c6561bcf778775f37ac1860ae9ef71c4a0e94d295b",
|
|
485
485
|
"hash_history": [],
|
|
486
486
|
"deprecated_aliases": []
|
|
487
487
|
}
|
|
@@ -869,10 +869,6 @@ func reassertControlCenterVisibility() {
|
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
871
|
|
|
872
|
-
func shellQuote(_ value: String) -> String {
|
|
873
|
-
return "'" + value.replacingOccurrences(of: "'", with: "'\\\\''") + "'"
|
|
874
|
-
}
|
|
875
|
-
|
|
876
872
|
func clipped(_ value: String, limit: Int = 700) -> String {
|
|
877
873
|
return String(value.prefix(limit))
|
|
878
874
|
}
|
|
@@ -949,8 +945,12 @@ func runProcess(_ executable: String, _ args: [String] = [], stdinText: String?
|
|
|
949
945
|
}
|
|
950
946
|
|
|
951
947
|
func showNotification(_ title: String, _ body: String) {
|
|
952
|
-
|
|
953
|
-
|
|
948
|
+
// AppleScript string literals require double quotes and cannot contain raw
|
|
949
|
+
// newlines, so inlining arbitrary command output into the script text throws
|
|
950
|
+
// a -2741 syntax error. Keep the script a fixed literal and pass body/title
|
|
951
|
+
// as osascript argv instead — no escaping, no syntax error, any text is safe.
|
|
952
|
+
let script = "on run argv\\ndisplay notification (item 1 of argv) with title (item 2 of argv)\\nend run"
|
|
953
|
+
runProcess("/usr/bin/osascript", ["-e", script, clipped(body), title]) { code, output in
|
|
954
954
|
if code != 0 {
|
|
955
955
|
showAlert(title, informative: output)
|
|
956
956
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import os from 'node:os';
|
|
1
2
|
import path from 'node:path';
|
|
3
|
+
import fs from 'node:fs/promises';
|
|
2
4
|
import { nowIso, writeJsonAtomic } from '../fsx.js';
|
|
3
5
|
import { writeCodexConfigGuarded } from '../codex/codex-config-guard.js';
|
|
4
|
-
import { mcpServerBlock, mcpServerExplicitlyDisabled, readProjectCodexConfig, replaceOrAppendMcpServerBlock } from '../mcp/mcp-config-preservation.js';
|
|
6
|
+
import { mcpServerBlock, mcpServerExplicitlyDisabled, readProjectCodexConfig, replaceOrAppendMcpServerBlock, tomlTableRange } from '../mcp/mcp-config-preservation.js';
|
|
5
7
|
export async function repairSupabaseMcp(input) {
|
|
6
8
|
const root = path.resolve(input.root);
|
|
7
9
|
const config = await readProjectCodexConfig(root);
|
|
@@ -11,9 +13,37 @@ export async function repairSupabaseMcp(input) {
|
|
|
11
13
|
const tokenEnvPresent = Boolean(process.env.SUPABASE_ACCESS_TOKEN);
|
|
12
14
|
const readOnlyBefore = /read[_-]?only\s*=\s*true|access_mode\s*=\s*"read-only"|--read-only/.test(block);
|
|
13
15
|
const unsafeWriteAccessBefore = configured && !disabled && !readOnlyBefore && /write|service_role|SUPABASE_ACCESS_TOKEN/.test(block);
|
|
16
|
+
// Codex merges the global (~/.codex) and project (.codex) config per key. When
|
|
17
|
+
// the project defines a stdio supabase server (command=...) while the global
|
|
18
|
+
// one uses a streamable-http url, the merged table has both `command` and
|
|
19
|
+
// `url`, and Codex refuses to load with "url is not supported for stdio",
|
|
20
|
+
// blocking every chat/task in that project. Detect and disable the project's
|
|
21
|
+
// stdio block so it inherits the safe global read-only url form.
|
|
22
|
+
const globalConfig = await readGlobalCodexConfigText();
|
|
23
|
+
const distinctConfigs = path.resolve(globalConfig.path) !== path.resolve(config.path);
|
|
24
|
+
const projectTransport = blockTransport(block);
|
|
25
|
+
const globalTransport = distinctConfigs ? blockTransport(mcpServerBlock(globalConfig.text, 'supabase')) : null;
|
|
26
|
+
const stdioUrlTransportCollision = configured && !disabled && projectTransport === 'stdio' && globalTransport === 'url';
|
|
14
27
|
let afterText = config.text;
|
|
15
28
|
let readOnlyMigrated = false;
|
|
16
|
-
|
|
29
|
+
let transportCollisionResolved = false;
|
|
30
|
+
if (stdioUrlTransportCollision && input.apply) {
|
|
31
|
+
const range = tomlTableRange(config.text, 'mcp_servers.supabase', true);
|
|
32
|
+
if (range) {
|
|
33
|
+
const commented = commentOutStdioSupabaseBlock(config.text.slice(range.start, range.end));
|
|
34
|
+
afterText = `${config.text.slice(0, range.start)}${commented}${config.text.slice(range.end)}`;
|
|
35
|
+
transportCollisionResolved = afterText !== config.text;
|
|
36
|
+
if (transportCollisionResolved)
|
|
37
|
+
await writeCodexConfigGuarded({
|
|
38
|
+
root,
|
|
39
|
+
configPath: config.path,
|
|
40
|
+
before: config.text,
|
|
41
|
+
cause: 'supabase-mcp-transport-collision',
|
|
42
|
+
mutate: () => afterText
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
else if (configured && !disabled && !readOnlyBefore && input.apply) {
|
|
17
47
|
afterText = replaceOrAppendMcpServerBlock(config.text, 'supabase', setReadOnly(block));
|
|
18
48
|
readOnlyMigrated = afterText !== config.text;
|
|
19
49
|
if (readOnlyMigrated)
|
|
@@ -25,16 +55,20 @@ export async function repairSupabaseMcp(input) {
|
|
|
25
55
|
mutate: () => afterText
|
|
26
56
|
});
|
|
27
57
|
}
|
|
28
|
-
|
|
58
|
+
// A resolved collision comments the whole stdio block out, so the project no
|
|
59
|
+
// longer contributes an active supabase server at all.
|
|
60
|
+
const effectivelyConfigured = configured && !transportCollisionResolved;
|
|
61
|
+
const afterBlock = transportCollisionResolved ? '' : readOnlyMigrated ? mcpServerBlock(afterText, 'supabase') || '' : block;
|
|
29
62
|
const readOnlyAfter = /read[_-]?only\s*=\s*true|access_mode\s*=\s*"read-only"|--read-only/.test(afterBlock);
|
|
30
|
-
const unsafeWriteAccess =
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
63
|
+
const unsafeWriteAccess = effectivelyConfigured && !disabled && !readOnlyAfter && /write|service_role|SUPABASE_ACCESS_TOKEN/.test(afterBlock);
|
|
64
|
+
const transportCollisionUnresolved = stdioUrlTransportCollision && !transportCollisionResolved;
|
|
65
|
+
const writeScopeRequiresConfirmation = effectivelyConfigured && !disabled && (unsafeWriteAccessBefore || !readOnlyAfter);
|
|
66
|
+
const readyBlocking = unsafeWriteAccess || transportCollisionUnresolved;
|
|
67
|
+
const manualRequired = effectivelyConfigured && !disabled && (!tokenEnvPresent || writeScopeRequiresConfirmation);
|
|
34
68
|
let report = {
|
|
35
69
|
schema: 'sks.doctor-supabase-mcp-repair.v1',
|
|
36
70
|
generated_at: nowIso(),
|
|
37
|
-
ok: !configured || disabled || !unsafeWriteAccess,
|
|
71
|
+
ok: (!configured || disabled || !unsafeWriteAccess) && !transportCollisionUnresolved,
|
|
38
72
|
apply: input.apply === true,
|
|
39
73
|
configured,
|
|
40
74
|
disabled,
|
|
@@ -42,18 +76,26 @@ export async function repairSupabaseMcp(input) {
|
|
|
42
76
|
token_env_present: tokenEnvPresent,
|
|
43
77
|
unsafe_write_access: unsafeWriteAccess,
|
|
44
78
|
read_only_migrated: readOnlyMigrated,
|
|
79
|
+
stdio_url_transport_collision: stdioUrlTransportCollision,
|
|
80
|
+
transport_collision_resolved: transportCollisionResolved,
|
|
45
81
|
write_scope_requires_confirmation: writeScopeRequiresConfirmation,
|
|
46
82
|
ready_blocking: readyBlocking,
|
|
47
83
|
manual_required: manualRequired,
|
|
48
|
-
next_action:
|
|
49
|
-
?
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
84
|
+
next_action: transportCollisionUnresolved
|
|
85
|
+
? 'Project Supabase MCP uses stdio while the global config uses a streamable-http url; Codex rejects the merged config with "url is not supported for stdio". Run `sks doctor --fix` to disable the project stdio block so it inherits the safe global read-only url.'
|
|
86
|
+
: manualRequired
|
|
87
|
+
? tokenEnvPresent
|
|
88
|
+
? 'Set persistent Supabase MCP to read-only. Write-scoped Supabase MCP is allowed only through a mission-local MadDB runtime profile.'
|
|
89
|
+
: 'Set SUPABASE_ACCESS_TOKEN only when an explicit MadDB run needs Supabase MCP auth; otherwise keep persistent Supabase MCP disabled/read-only.'
|
|
90
|
+
: null,
|
|
91
|
+
blockers: [
|
|
92
|
+
...(unsafeWriteAccess ? ['supabase_mcp_write_access_not_safe_by_default'] : []),
|
|
93
|
+
...(transportCollisionUnresolved ? ['supabase_mcp_stdio_url_transport_collision'] : [])
|
|
94
|
+
],
|
|
54
95
|
warnings: [
|
|
55
|
-
...(
|
|
56
|
-
...(readOnlyMigrated ? ['supabase_mcp_migrated_to_read_only'] : [])
|
|
96
|
+
...(effectivelyConfigured && !tokenEnvPresent ? ['supabase_access_token_unset_write_features_manual_required'] : []),
|
|
97
|
+
...(readOnlyMigrated ? ['supabase_mcp_migrated_to_read_only'] : []),
|
|
98
|
+
...(transportCollisionResolved ? ['supabase_mcp_stdio_block_disabled_for_url_collision'] : [])
|
|
57
99
|
],
|
|
58
100
|
raw_secret_values_recorded: false
|
|
59
101
|
};
|
|
@@ -81,4 +123,31 @@ function setReadOnly(block) {
|
|
|
81
123
|
lines.push('read_only = true');
|
|
82
124
|
return `${lines.join('\n')}\n`;
|
|
83
125
|
}
|
|
126
|
+
async function readGlobalCodexConfigText() {
|
|
127
|
+
const home = process.env.CODEX_HOME || path.join(process.env.HOME || os.homedir(), '.codex');
|
|
128
|
+
const file = path.join(home, 'config.toml');
|
|
129
|
+
const text = await fs.readFile(file, 'utf8').catch(() => '');
|
|
130
|
+
return { path: file, text };
|
|
131
|
+
}
|
|
132
|
+
function blockTransport(block) {
|
|
133
|
+
if (!block)
|
|
134
|
+
return null;
|
|
135
|
+
if (/^\s*command\s*=/m.test(block))
|
|
136
|
+
return 'stdio';
|
|
137
|
+
if (/^\s*url\s*=/m.test(block))
|
|
138
|
+
return 'url';
|
|
139
|
+
return null;
|
|
140
|
+
}
|
|
141
|
+
/** Comment every line of a supabase MCP block (header + child .env table) so
|
|
142
|
+
* Codex stops loading it as a stdio server, while keeping the original text —
|
|
143
|
+
* including the access token — recoverable in place. */
|
|
144
|
+
function commentOutStdioSupabaseBlock(block) {
|
|
145
|
+
const note = '# [sks doctor] Supabase MCP stdio block disabled: it collided with the global read-only URL Supabase entry (Codex: "url is not supported for stdio"). Re-add a read-only URL form (url = "https://mcp.supabase.com/mcp?project_ref=<ref>&read_only=true&features=database,docs") if this project needs its own Supabase MCP.\n';
|
|
146
|
+
const commented = String(block || '')
|
|
147
|
+
.replace(/\s+$/, '')
|
|
148
|
+
.split(/\r?\n/)
|
|
149
|
+
.map((line) => (line.length ? `# ${line}` : '#'))
|
|
150
|
+
.join('\n');
|
|
151
|
+
return `${note}${commented}\n`;
|
|
152
|
+
}
|
|
84
153
|
//# sourceMappingURL=supabase-mcp-repair.js.map
|
package/dist/core/fsx.js
CHANGED
|
@@ -5,7 +5,7 @@ import os from 'node:os';
|
|
|
5
5
|
import crypto from 'node:crypto';
|
|
6
6
|
import { spawn } from 'node:child_process';
|
|
7
7
|
import { fileURLToPath } from 'node:url';
|
|
8
|
-
export const PACKAGE_VERSION = '5.5.
|
|
8
|
+
export const PACKAGE_VERSION = '5.5.3';
|
|
9
9
|
export const DEFAULT_PROCESS_TAIL_BYTES = 256 * 1024;
|
|
10
10
|
export const DEFAULT_PROCESS_TIMEOUT_MS = 30 * 60 * 1000;
|
|
11
11
|
export function nowIso() {
|
package/dist/core/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const PACKAGE_VERSION = '5.5.
|
|
1
|
+
export const PACKAGE_VERSION = '5.5.3';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sneakoscope",
|
|
3
3
|
"displayName": "ㅅㅋㅅ",
|
|
4
|
-
"version": "5.5.
|
|
4
|
+
"version": "5.5.3",
|
|
5
5
|
"description": "Sneakoscope Codex: fast proof-first Codex trust layer with image-based Voxel TriWiki.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"homepage": "https://github.com/mandarange/Sneakoscope-Codex#readme",
|