@oldboydev/sheldon-darwin-arm64 0.2.0 → 0.2.1
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/SHA256SUMS +69 -18
- package/inventory.json +291 -36
- package/node_modules/@sheldon/cli/dist/commands/agents.js +85 -69
- package/node_modules/@sheldon/cli/dist/commands/mcp.js +1 -1
- package/node_modules/@sheldon/cli/dist/help/fonts/NunitoSans-VariableFont_YTLC_opsz_wdth_wght.ttf +0 -0
- package/node_modules/@sheldon/cli/dist/help/index.html +97 -0
- package/node_modules/@sheldon/cli/dist/help/manifest.json +121 -0
- package/node_modules/@sheldon/cli/dist/help/pages/agent.html +101 -0
- package/node_modules/@sheldon/cli/dist/help/pages/answer.html +110 -0
- package/node_modules/@sheldon/cli/dist/help/pages/bundle.html +124 -0
- package/node_modules/@sheldon/cli/dist/help/pages/compile.html +120 -0
- package/node_modules/@sheldon/cli/dist/help/pages/doctor.html +102 -0
- package/node_modules/@sheldon/cli/dist/help/pages/flow-compile-review.html +125 -0
- package/node_modules/@sheldon/cli/dist/help/pages/flow-end-to-end.html +147 -0
- package/node_modules/@sheldon/cli/dist/help/pages/flow-first-vault.html +100 -0
- package/node_modules/@sheldon/cli/dist/help/pages/image.html +107 -0
- package/node_modules/@sheldon/cli/dist/help/pages/ingest.html +156 -0
- package/node_modules/@sheldon/cli/dist/help/pages/init.html +98 -0
- package/node_modules/@sheldon/cli/dist/help/pages/mcp.html +135 -0
- package/node_modules/@sheldon/cli/dist/help/pages/migrate-state.html +100 -0
- package/node_modules/@sheldon/cli/dist/help/pages/plugin.html +120 -0
- package/node_modules/@sheldon/cli/dist/help/pages/project.html +110 -0
- package/node_modules/@sheldon/cli/dist/help/pages/query.html +110 -0
- package/node_modules/@sheldon/cli/dist/help/pages/review.html +114 -0
- package/node_modules/@sheldon/cli/dist/help/pages/search.html +103 -0
- package/node_modules/@sheldon/cli/dist/help/pages/topic.html +112 -0
- package/node_modules/@sheldon/cli/dist/help/pages/web.html +102 -0
- package/node_modules/@sheldon/cli/dist/help/styles.css +368 -0
- package/node_modules/@sheldon/cli/dist/help.js +84 -0
- package/node_modules/@sheldon/cli/dist/main.js +38 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/agent-runtime/dist/command-executor.js +1 -1
- package/node_modules/@sheldon/cli/node_modules/@sheldon/agent-runtime/dist/index.js +1 -1
- package/node_modules/@sheldon/cli/node_modules/@sheldon/agent-runtime/dist/profiles.js +1 -5
- package/node_modules/@sheldon/cli/node_modules/@sheldon/plugin-host/dist/official-catalog.js +4 -3
- package/node_modules/@sheldon/cli/node_modules/@sheldon/plugin-source-image/node_modules/@sheldon/plugin-host/dist/official-catalog.js +4 -3
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/client/assets/index-B8MAXTxb.js +13 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/client/assets/{index-BB6UWWie.css → index-DZRX97IO.css} +1 -1
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/client/index.html +2 -2
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/contract.js +18 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/server.js +26 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/wiki-markdown.js +75 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/wiki.js +175 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel-react-native.d.ts.map +1 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel-react-native.js.map +1 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel.d.ts +5 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel.js +7 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/index.d.ts +1400 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/index.d.ts.map +1 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/index.js +1733 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/index.js.map +1 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/perf.d.ts +12 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/perf.d.ts.map +1 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/perf.js +10 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/perf.js.map +1 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel-react-native.d.ts.map +1 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel-react-native.js.map +1 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel.d.ts +5 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel.js +4 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/index.d.ts +1400 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/index.d.ts.map +1 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/index.js +1729 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/index.js.map +1 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/perf.d.ts +12 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/perf.d.ts.map +1 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/perf.js +7 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/perf.js.map +1 -0
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/package.json +17 -1
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@sheldon/agent-runtime/dist/command-executor.js +1 -1
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@sheldon/agent-runtime/dist/index.js +1 -1
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@sheldon/agent-runtime/dist/profiles.js +1 -5
- package/package.json +1 -1
- package/sbom.spdx.json +1 -1
- package/node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/client/assets/index-FrWwJl0U.js +0 -9
package/inventory.json
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"path": "node_modules/@sheldon/cli/dist/commands/agents.js",
|
|
17
|
-
"bytes":
|
|
18
|
-
"sha256": "
|
|
17
|
+
"bytes": 5570,
|
|
18
|
+
"sha256": "bc6b69bd0119feb6bc1c0cb81f9d590470f1dfbd8668d347670e8b510eafacd6"
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
"path": "node_modules/@sheldon/cli/dist/commands/bundle.js",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"path": "node_modules/@sheldon/cli/dist/commands/mcp.js",
|
|
47
|
-
"bytes":
|
|
48
|
-
"sha256": "
|
|
47
|
+
"bytes": 23255,
|
|
48
|
+
"sha256": "3fc98159822368db8af1a4e14306aab93ea9248ef1415208ebe361eb5065d70e"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"path": "node_modules/@sheldon/cli/dist/commands/memory.js",
|
|
@@ -77,10 +77,135 @@
|
|
|
77
77
|
"bytes": 3133,
|
|
78
78
|
"sha256": "e2968af2f9e564e25e6417c028c05671c5d39fce3a97ea7ca4c334c99ee5e512"
|
|
79
79
|
},
|
|
80
|
+
{
|
|
81
|
+
"path": "node_modules/@sheldon/cli/dist/help.js",
|
|
82
|
+
"bytes": 2670,
|
|
83
|
+
"sha256": "60c01d6157e9b7b3708b3b2c36c91721455199a45a197e4594a8c17eb07869a0"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"path": "node_modules/@sheldon/cli/dist/help/fonts/NunitoSans-VariableFont_YTLC_opsz_wdth_wght.ttf",
|
|
87
|
+
"bytes": 569372,
|
|
88
|
+
"sha256": "01d4782cc3ea4cd68a0b44f3b1bcea8e8c1050fdc2ae5ab6bfb26966811b68e5"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"path": "node_modules/@sheldon/cli/dist/help/index.html",
|
|
92
|
+
"bytes": 4911,
|
|
93
|
+
"sha256": "8480b641550130b7e1f31acb90cef8aa0c4a67c89e9e1dadc44767700d0f1653"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"path": "node_modules/@sheldon/cli/dist/help/manifest.json",
|
|
97
|
+
"bytes": 2719,
|
|
98
|
+
"sha256": "ac21a4be4f90f2d29e3aab02bcfe41ac9005543014a24c8d0343a5c1757a1bc8"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/agent.html",
|
|
102
|
+
"bytes": 4762,
|
|
103
|
+
"sha256": "c7e0c29ea3a0aded3bc8c92a70fe39232bffbcaf1a056953435d508de032898f"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/answer.html",
|
|
107
|
+
"bytes": 5234,
|
|
108
|
+
"sha256": "74f20f754f2e0358b60595e9d9adc1269b3da48479af25ab4785d46b75d99495"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/bundle.html",
|
|
112
|
+
"bytes": 6609,
|
|
113
|
+
"sha256": "58b46f40151b609df35c18c9892d065f56ebdf1db2709e44e4a9a681885a8ccb"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/compile.html",
|
|
117
|
+
"bytes": 6057,
|
|
118
|
+
"sha256": "af56a60c6f1dc216e3ce34278ae566614be920e445f9922f428916b2cf3ea08c"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/doctor.html",
|
|
122
|
+
"bytes": 4919,
|
|
123
|
+
"sha256": "67ad67e63c8e1036056696178826d69f0c34d0184c5c9fcec438e3b389c6ed80"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/flow-compile-review.html",
|
|
127
|
+
"bytes": 5602,
|
|
128
|
+
"sha256": "017207663a8ee41544b685dece57ba18f197a51d6bc19a867e505b4981c82631"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/flow-end-to-end.html",
|
|
132
|
+
"bytes": 6522,
|
|
133
|
+
"sha256": "cbfeb7018f3421515dc3052abda2c289c70ea7b43c9b21a1085ae963adb34699"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/flow-first-vault.html",
|
|
137
|
+
"bytes": 4017,
|
|
138
|
+
"sha256": "286ab3ef1c4657a5084c5b66157c6cbf42de6ae0f3d64929ae3a79fe5e0ab1cb"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/image.html",
|
|
142
|
+
"bytes": 5968,
|
|
143
|
+
"sha256": "bcc7feb57eaa5cc6e42df4127ebaef8692301475a3bab1f319d9159a1f123a6a"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/ingest.html",
|
|
147
|
+
"bytes": 10168,
|
|
148
|
+
"sha256": "9e9c25f3e1614cc3e9a4f0f4da81f21e5688b8c1f18b53e971eee8a7f9a5bc54"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/init.html",
|
|
152
|
+
"bytes": 4025,
|
|
153
|
+
"sha256": "7190028e9249f96e49343f4385dfb5084940237785b6b90ddb9756ae01abf2d4"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/mcp.html",
|
|
157
|
+
"bytes": 6938,
|
|
158
|
+
"sha256": "cb6918843bc8106366392b8e20416c42f08e1fcfc8cf16c3e6ee5d758c0db7e9"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/migrate-state.html",
|
|
162
|
+
"bytes": 4873,
|
|
163
|
+
"sha256": "40e73a3a18387c541b1852d920dc596ca0af6dc230af3be2fa7bf9f26ca5980f"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/plugin.html",
|
|
167
|
+
"bytes": 6089,
|
|
168
|
+
"sha256": "166a16fe04aca3c7da7f0dd3e9e7f4d03314223abcbf5bacdcdccfd76d9cbbcd"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/project.html",
|
|
172
|
+
"bytes": 5289,
|
|
173
|
+
"sha256": "aa7fb714268dc2d9d7b63346457db1aeb9abdcf985139984ab92d7da26aec325"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/query.html",
|
|
177
|
+
"bytes": 5354,
|
|
178
|
+
"sha256": "2d53012b8bf1bd64abce477440d8e419810af4a1b0e17af059f3dbbd3c682617"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/review.html",
|
|
182
|
+
"bytes": 5718,
|
|
183
|
+
"sha256": "af73a2e8a27849574a8ec769a771a9e1332c12dda0dc563656912502a7629148"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/search.html",
|
|
187
|
+
"bytes": 4868,
|
|
188
|
+
"sha256": "3d2d751fe9abbf41eb860953ae18b8424ede902f999180d809dd9310a54627e6"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/topic.html",
|
|
192
|
+
"bytes": 5318,
|
|
193
|
+
"sha256": "6953d036c7af8610e30764a7aae2945ab7a3881750ff4d668ca5acf9c87fd119"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"path": "node_modules/@sheldon/cli/dist/help/pages/web.html",
|
|
197
|
+
"bytes": 4369,
|
|
198
|
+
"sha256": "35f78e597ada0185cb9251c54c61f035e136f6ba33db33f965fa255b4ecf9cf7"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"path": "node_modules/@sheldon/cli/dist/help/styles.css",
|
|
202
|
+
"bytes": 6858,
|
|
203
|
+
"sha256": "01a336fa3f71863e335700f53b86fb4a36ba23bae66d9b0031e9e0e1c2fed9cc"
|
|
204
|
+
},
|
|
80
205
|
{
|
|
81
206
|
"path": "node_modules/@sheldon/cli/dist/main.js",
|
|
82
|
-
"bytes":
|
|
83
|
-
"sha256": "
|
|
207
|
+
"bytes": 25281,
|
|
208
|
+
"sha256": "0a229716978585af47ddc5745c7adcc91caffa9fcac2e0dd7d8701bcd3495557"
|
|
84
209
|
},
|
|
85
210
|
{
|
|
86
211
|
"path": "node_modules/@sheldon/cli/dist/mcp-config.js",
|
|
@@ -159,8 +284,8 @@
|
|
|
159
284
|
},
|
|
160
285
|
{
|
|
161
286
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/agent-runtime/dist/command-executor.js",
|
|
162
|
-
"bytes":
|
|
163
|
-
"sha256": "
|
|
287
|
+
"bytes": 11275,
|
|
288
|
+
"sha256": "d16ad78df1cca3f50939a2173779331ab9c029394ae9d92119aa35268d40a9db"
|
|
164
289
|
},
|
|
165
290
|
{
|
|
166
291
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/agent-runtime/dist/errors.js",
|
|
@@ -169,13 +294,13 @@
|
|
|
169
294
|
},
|
|
170
295
|
{
|
|
171
296
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/agent-runtime/dist/index.js",
|
|
172
|
-
"bytes":
|
|
173
|
-
"sha256": "
|
|
297
|
+
"bytes": 1101,
|
|
298
|
+
"sha256": "a5220786ff8cffea04aaccae386f0b16d9da2c92f5f3b5b60fbb05f7c83cd20c"
|
|
174
299
|
},
|
|
175
300
|
{
|
|
176
301
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/agent-runtime/dist/profiles.js",
|
|
177
|
-
"bytes":
|
|
178
|
-
"sha256": "
|
|
302
|
+
"bytes": 3245,
|
|
303
|
+
"sha256": "baffc018d5126683292fecc1391e35168e949a408dc8d556856d88483a432172"
|
|
179
304
|
},
|
|
180
305
|
{
|
|
181
306
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/agent-runtime/dist/proposal-schema.js",
|
|
@@ -6374,8 +6499,8 @@
|
|
|
6374
6499
|
},
|
|
6375
6500
|
{
|
|
6376
6501
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/plugin-host/dist/official-catalog.js",
|
|
6377
|
-
"bytes":
|
|
6378
|
-
"sha256": "
|
|
6502
|
+
"bytes": 10065,
|
|
6503
|
+
"sha256": "b3af6026bd567ba33206fd3333aead2e8388c6d79008bee9498b7de521ecefb0"
|
|
6379
6504
|
},
|
|
6380
6505
|
{
|
|
6381
6506
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/plugin-host/dist/official-download.js",
|
|
@@ -14079,8 +14204,8 @@
|
|
|
14079
14204
|
},
|
|
14080
14205
|
{
|
|
14081
14206
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/plugin-source-image/node_modules/@sheldon/plugin-host/dist/official-catalog.js",
|
|
14082
|
-
"bytes":
|
|
14083
|
-
"sha256": "
|
|
14207
|
+
"bytes": 10065,
|
|
14208
|
+
"sha256": "b3af6026bd567ba33206fd3333aead2e8388c6d79008bee9498b7de521ecefb0"
|
|
14084
14209
|
},
|
|
14085
14210
|
{
|
|
14086
14211
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/plugin-source-image/node_modules/@sheldon/plugin-host/dist/official-download.js",
|
|
@@ -28953,24 +29078,24 @@
|
|
|
28953
29078
|
"sha256": "e34b5a69c51af478fb6375902b4d9403fcbf58dc11ec8870ad9510de39f81db2"
|
|
28954
29079
|
},
|
|
28955
29080
|
{
|
|
28956
|
-
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/client/assets/index-
|
|
28957
|
-
"bytes":
|
|
28958
|
-
"sha256": "
|
|
29081
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/client/assets/index-B8MAXTxb.js",
|
|
29082
|
+
"bytes": 207666,
|
|
29083
|
+
"sha256": "bd0b5ab4354e3c48ff2c5914eb110cbdf6da0abf908e59121ff5cf64afb1d5be"
|
|
28959
29084
|
},
|
|
28960
29085
|
{
|
|
28961
|
-
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/client/assets/index-
|
|
28962
|
-
"bytes":
|
|
28963
|
-
"sha256": "
|
|
29086
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/client/assets/index-DZRX97IO.css",
|
|
29087
|
+
"bytes": 5372,
|
|
29088
|
+
"sha256": "10bd8fbb92f1770841122799a13abfaba8c77c65cef1fd875703253d56a0ddc6"
|
|
28964
29089
|
},
|
|
28965
29090
|
{
|
|
28966
29091
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/client/index.html",
|
|
28967
29092
|
"bytes": 423,
|
|
28968
|
-
"sha256": "
|
|
29093
|
+
"sha256": "eae6295809ae71c6b430010c9017bb7c7664614f3a65f9a07a1c1f4b02b537c0"
|
|
28969
29094
|
},
|
|
28970
29095
|
{
|
|
28971
29096
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/contract.js",
|
|
28972
|
-
"bytes":
|
|
28973
|
-
"sha256": "
|
|
29097
|
+
"bytes": 3855,
|
|
29098
|
+
"sha256": "792e3d5b6ba419fbee0ad1cbdc363c9e2d8457396aa52d9b09c851a3dfd902a2"
|
|
28974
29099
|
},
|
|
28975
29100
|
{
|
|
28976
29101
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/jobs.js",
|
|
@@ -28979,8 +29104,18 @@
|
|
|
28979
29104
|
},
|
|
28980
29105
|
{
|
|
28981
29106
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/server.js",
|
|
28982
|
-
"bytes":
|
|
28983
|
-
"sha256": "
|
|
29107
|
+
"bytes": 14311,
|
|
29108
|
+
"sha256": "0b30fca464ac2a67e288373532c687196dc80a633aeba197d39990ee75d855d2"
|
|
29109
|
+
},
|
|
29110
|
+
{
|
|
29111
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/wiki-markdown.js",
|
|
29112
|
+
"bytes": 2313,
|
|
29113
|
+
"sha256": "64b73bae0a2788011724d354b8b394ee05ef0d962988e83ccba4d1755d8d302d"
|
|
29114
|
+
},
|
|
29115
|
+
{
|
|
29116
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/dist/wiki.js",
|
|
29117
|
+
"bytes": 6107,
|
|
29118
|
+
"sha256": "78f79e59f3e6a2f90629f0db98b543acfbc342434eb2cb118d72b08b9b77a4a5"
|
|
28984
29119
|
},
|
|
28985
29120
|
{
|
|
28986
29121
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/multipart/.editorconfig",
|
|
@@ -31072,6 +31207,66 @@
|
|
|
31072
31207
|
"bytes": 817,
|
|
31073
31208
|
"sha256": "fe198f342ee90150cb124e14d2927aaa710b8076546ece295985d13b76395e11"
|
|
31074
31209
|
},
|
|
31210
|
+
{
|
|
31211
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel-react-native.d.ts.map",
|
|
31212
|
+
"bytes": 369,
|
|
31213
|
+
"sha256": "49cc5a03d0da4ec02a7188d4e1bf5740afdd58a4dc1c7020426175200687c233"
|
|
31214
|
+
},
|
|
31215
|
+
{
|
|
31216
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel-react-native.js.map",
|
|
31217
|
+
"bytes": 721,
|
|
31218
|
+
"sha256": "89d5c2a92302da775092c32b74c1848f0ef0ea97718332af6a95d17c41d4d15c"
|
|
31219
|
+
},
|
|
31220
|
+
{
|
|
31221
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel.d.ts",
|
|
31222
|
+
"bytes": 284,
|
|
31223
|
+
"sha256": "8d4e3e034e7d98b6727bf49cf917957ef70f55f7a18c2870a0a7918f72a25c16"
|
|
31224
|
+
},
|
|
31225
|
+
{
|
|
31226
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel.js",
|
|
31227
|
+
"bytes": 272,
|
|
31228
|
+
"sha256": "f9bad41b60354f8d60964692f6ad76fc47359062fb9ae916e41813df8c7c58d4"
|
|
31229
|
+
},
|
|
31230
|
+
{
|
|
31231
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/index.d.ts",
|
|
31232
|
+
"bytes": 59541,
|
|
31233
|
+
"sha256": "af13a1f1a9080c6ef01af4e4c63bbf6bbf93c2675a94bb8a1c20f36ad660a0d2"
|
|
31234
|
+
},
|
|
31235
|
+
{
|
|
31236
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/index.d.ts.map",
|
|
31237
|
+
"bytes": 15470,
|
|
31238
|
+
"sha256": "73be4bb3be98de8e0daf846eb0d5f5942d8c2522db5472cbef0c0dd1f0fd3cae"
|
|
31239
|
+
},
|
|
31240
|
+
{
|
|
31241
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/index.js",
|
|
31242
|
+
"bytes": 63326,
|
|
31243
|
+
"sha256": "cceddfc98477e5fb3903979811fa744256fcf6ea291eb4c91a66e578481ca4ce"
|
|
31244
|
+
},
|
|
31245
|
+
{
|
|
31246
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/index.js.map",
|
|
31247
|
+
"bytes": 156565,
|
|
31248
|
+
"sha256": "910d55bb1be3c2ab7841cbfdea78f1867ca597910129ac254a877bee91ae1fb0"
|
|
31249
|
+
},
|
|
31250
|
+
{
|
|
31251
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/perf.d.ts",
|
|
31252
|
+
"bytes": 328,
|
|
31253
|
+
"sha256": "7d8571309d2edd1403e7e80a52a8f352115a4c9b0247da2f03d6a80b8b852c1b"
|
|
31254
|
+
},
|
|
31255
|
+
{
|
|
31256
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/perf.d.ts.map",
|
|
31257
|
+
"bytes": 223,
|
|
31258
|
+
"sha256": "309da63bfc61699451f321838d436f75be19501e7af922823585c870e4da7526"
|
|
31259
|
+
},
|
|
31260
|
+
{
|
|
31261
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/perf.js",
|
|
31262
|
+
"bytes": 378,
|
|
31263
|
+
"sha256": "0806380d8180a201160b4b92e9f2ebf8cec2754c6df6fa171b2cb6ea44916295"
|
|
31264
|
+
},
|
|
31265
|
+
{
|
|
31266
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/react-native/perf.js.map",
|
|
31267
|
+
"bytes": 820,
|
|
31268
|
+
"sha256": "aa3b20c0a1bb56ff663f0ecd42db7180ab8f17922ecb00069664a1463c94a90d"
|
|
31269
|
+
},
|
|
31075
31270
|
{
|
|
31076
31271
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/browser/diagnostics-channel-browser.d.ts.map",
|
|
31077
31272
|
"bytes": 359,
|
|
@@ -31287,10 +31482,70 @@
|
|
|
31287
31482
|
"bytes": 824,
|
|
31288
31483
|
"sha256": "b15163201e4a5781d7aea17b15ecfcdddb640d412992a57ee92bbc5688b3fd29"
|
|
31289
31484
|
},
|
|
31485
|
+
{
|
|
31486
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel-react-native.d.ts.map",
|
|
31487
|
+
"bytes": 369,
|
|
31488
|
+
"sha256": "49cc5a03d0da4ec02a7188d4e1bf5740afdd58a4dc1c7020426175200687c233"
|
|
31489
|
+
},
|
|
31490
|
+
{
|
|
31491
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel-react-native.js.map",
|
|
31492
|
+
"bytes": 738,
|
|
31493
|
+
"sha256": "d4a1ccdf3fa52205af070264d6351f31dc1bd4caff604fdb0f2d80045b553ade"
|
|
31494
|
+
},
|
|
31495
|
+
{
|
|
31496
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel.d.ts",
|
|
31497
|
+
"bytes": 284,
|
|
31498
|
+
"sha256": "8d4e3e034e7d98b6727bf49cf917957ef70f55f7a18c2870a0a7918f72a25c16"
|
|
31499
|
+
},
|
|
31500
|
+
{
|
|
31501
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel.js",
|
|
31502
|
+
"bytes": 161,
|
|
31503
|
+
"sha256": "5103bc027b17c7454555b854ee2f76a9de78a73a92935645c8aa0d9b736c4aaa"
|
|
31504
|
+
},
|
|
31505
|
+
{
|
|
31506
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/index.d.ts",
|
|
31507
|
+
"bytes": 59541,
|
|
31508
|
+
"sha256": "af13a1f1a9080c6ef01af4e4c63bbf6bbf93c2675a94bb8a1c20f36ad660a0d2"
|
|
31509
|
+
},
|
|
31510
|
+
{
|
|
31511
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/index.d.ts.map",
|
|
31512
|
+
"bytes": 15470,
|
|
31513
|
+
"sha256": "73be4bb3be98de8e0daf846eb0d5f5942d8c2522db5472cbef0c0dd1f0fd3cae"
|
|
31514
|
+
},
|
|
31515
|
+
{
|
|
31516
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/index.js",
|
|
31517
|
+
"bytes": 62632,
|
|
31518
|
+
"sha256": "0f53151ca5dc8875260996c7779d8c150809bbac44eb18ce9d11f49460665e6a"
|
|
31519
|
+
},
|
|
31520
|
+
{
|
|
31521
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/index.js.map",
|
|
31522
|
+
"bytes": 156597,
|
|
31523
|
+
"sha256": "a4ec7794172732a57205f5339a8d19c52b1afd1a486c8781c1fe9f4faf48de27"
|
|
31524
|
+
},
|
|
31525
|
+
{
|
|
31526
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/perf.d.ts",
|
|
31527
|
+
"bytes": 328,
|
|
31528
|
+
"sha256": "7d8571309d2edd1403e7e80a52a8f352115a4c9b0247da2f03d6a80b8b852c1b"
|
|
31529
|
+
},
|
|
31530
|
+
{
|
|
31531
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/perf.d.ts.map",
|
|
31532
|
+
"bytes": 223,
|
|
31533
|
+
"sha256": "309da63bfc61699451f321838d436f75be19501e7af922823585c870e4da7526"
|
|
31534
|
+
},
|
|
31535
|
+
{
|
|
31536
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/perf.js",
|
|
31537
|
+
"bytes": 276,
|
|
31538
|
+
"sha256": "41b40c08661446ed6c7f11f8a1f1e0cf5fe8b478bb73bf731e85bce81a373dee"
|
|
31539
|
+
},
|
|
31540
|
+
{
|
|
31541
|
+
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/dist/esm/react-native/perf.js.map",
|
|
31542
|
+
"bytes": 827,
|
|
31543
|
+
"sha256": "25395bb6fa920eb3083c6108a90da85f0b5ca8dabe17be69283b93031b8b4d43"
|
|
31544
|
+
},
|
|
31290
31545
|
{
|
|
31291
31546
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/lru-cache/package.json",
|
|
31292
|
-
"bytes":
|
|
31293
|
-
"sha256": "
|
|
31547
|
+
"bytes": 2479,
|
|
31548
|
+
"sha256": "97ff2d0100b80492024441a21a1bf3cdf5245eeec02a065c3efac9728b6ea1e9"
|
|
31294
31549
|
},
|
|
31295
31550
|
{
|
|
31296
31551
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@fastify/static/node_modules/glob/node_modules/path-scurry/node_modules/minipass/dist/commonjs/index.d.ts",
|
|
@@ -31384,8 +31639,8 @@
|
|
|
31384
31639
|
},
|
|
31385
31640
|
{
|
|
31386
31641
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@sheldon/agent-runtime/dist/command-executor.js",
|
|
31387
|
-
"bytes":
|
|
31388
|
-
"sha256": "
|
|
31642
|
+
"bytes": 11275,
|
|
31643
|
+
"sha256": "d16ad78df1cca3f50939a2173779331ab9c029394ae9d92119aa35268d40a9db"
|
|
31389
31644
|
},
|
|
31390
31645
|
{
|
|
31391
31646
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@sheldon/agent-runtime/dist/errors.js",
|
|
@@ -31394,13 +31649,13 @@
|
|
|
31394
31649
|
},
|
|
31395
31650
|
{
|
|
31396
31651
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@sheldon/agent-runtime/dist/index.js",
|
|
31397
|
-
"bytes":
|
|
31398
|
-
"sha256": "
|
|
31652
|
+
"bytes": 1101,
|
|
31653
|
+
"sha256": "a5220786ff8cffea04aaccae386f0b16d9da2c92f5f3b5b60fbb05f7c83cd20c"
|
|
31399
31654
|
},
|
|
31400
31655
|
{
|
|
31401
31656
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@sheldon/agent-runtime/dist/profiles.js",
|
|
31402
|
-
"bytes":
|
|
31403
|
-
"sha256": "
|
|
31657
|
+
"bytes": 3245,
|
|
31658
|
+
"sha256": "baffc018d5126683292fecc1391e35168e949a408dc8d556856d88483a432172"
|
|
31404
31659
|
},
|
|
31405
31660
|
{
|
|
31406
31661
|
"path": "node_modules/@sheldon/cli/node_modules/@sheldon/web/node_modules/@sheldon/agent-runtime/dist/proposal-schema.js",
|
|
@@ -52205,7 +52460,7 @@
|
|
|
52205
52460
|
{
|
|
52206
52461
|
"path": "package.json",
|
|
52207
52462
|
"bytes": 620,
|
|
52208
|
-
"sha256": "
|
|
52463
|
+
"sha256": "a56d83471ee943e87dc6d9fea6e8a2d1ec16f3cb326ee657bf369ca005896a59"
|
|
52209
52464
|
},
|
|
52210
52465
|
{
|
|
52211
52466
|
"path": "README.md",
|
|
@@ -2,7 +2,7 @@ import { spawn } from 'node:child_process';
|
|
|
2
2
|
import { access } from 'node:fs/promises';
|
|
3
3
|
import { homedir } from 'node:os';
|
|
4
4
|
import { join } from 'node:path';
|
|
5
|
-
import { listAgentProfiles, requireAgentProfile } from '@sheldon/agent-runtime';
|
|
5
|
+
import { buildChildEnvironment, listAgentProfiles, requireAgentProfile } from '@sheldon/agent-runtime';
|
|
6
6
|
export async function doctorAgents(agent, context, probe = new LocalAgentHealthProbe()) {
|
|
7
7
|
const profiles = agent === undefined ? listAgentProfiles() : [
|
|
8
8
|
requireAgentProfile(agent)
|
|
@@ -18,9 +18,15 @@ export async function doctorAgents(agent, context, probe = new LocalAgentHealthP
|
|
|
18
18
|
continue;
|
|
19
19
|
}
|
|
20
20
|
context.write(`${profile.label}: available${health.version === undefined ? '' : ` (${health.version})`}`);
|
|
21
|
-
context.write(` Authentication: ${health.authenticated ? 'usable' : 'unavailable'}${health.authenticated ? '' : `;
|
|
21
|
+
context.write(` Authentication: ${health.authenticated ? 'usable' : 'unavailable'}${health.authenticated ? '' : `; ${authenticationRecovery(profile)}`}`);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
+
function authenticationRecovery(profile) {
|
|
25
|
+
if (profile.health.authentication === 'grok-auth-store') {
|
|
26
|
+
return 'sign in with grok login or set XAI_API_KEY and retry.';
|
|
27
|
+
}
|
|
28
|
+
return `sign in with ${profile.executable} and retry.`;
|
|
29
|
+
}
|
|
24
30
|
function missingBinaryRecovery(profile) {
|
|
25
31
|
const install = `install ${profile.executable}`;
|
|
26
32
|
const pathHint = profile.id === 'grok' && process.platform === 'win32' ? ' and ensure %USERPROFILE%\\.grok\\bin is on PATH' : '';
|
|
@@ -30,9 +36,13 @@ function missingBinaryRecovery(profile) {
|
|
|
30
36
|
* Checks only process exit status and a short version string. Authentication command output is
|
|
31
37
|
* intentionally discarded so credentials and tokens cannot reach CLI output.
|
|
32
38
|
*/ export class LocalAgentHealthProbe {
|
|
39
|
+
executables;
|
|
40
|
+
constructor(options = {}){
|
|
41
|
+
this.executables = options.executables;
|
|
42
|
+
}
|
|
33
43
|
async check(agent, environment) {
|
|
34
44
|
const profile = requireAgentProfile(agent);
|
|
35
|
-
const version = await invoke(profile
|
|
45
|
+
const version = await this.invoke(profile, profile.health.versionArguments, environment, true);
|
|
36
46
|
if (version.exitCode !== 0) return {
|
|
37
47
|
available: false,
|
|
38
48
|
authenticated: false
|
|
@@ -42,35 +52,81 @@ function missingBinaryRecovery(profile) {
|
|
|
42
52
|
...version.output === undefined ? {} : {
|
|
43
53
|
version: version.output
|
|
44
54
|
},
|
|
45
|
-
authenticated: await checkAuthentication(profile, environment)
|
|
55
|
+
authenticated: await this.checkAuthentication(profile, environment)
|
|
46
56
|
};
|
|
47
57
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
58
|
+
async checkAuthentication(profile, environment) {
|
|
59
|
+
switch(profile.health.authentication){
|
|
60
|
+
case 'codex-login-status':
|
|
61
|
+
{
|
|
62
|
+
const authentication = await this.invoke(profile, [
|
|
63
|
+
'login',
|
|
64
|
+
'status'
|
|
65
|
+
], environment, false);
|
|
66
|
+
return authentication.exitCode === 0;
|
|
67
|
+
}
|
|
68
|
+
case 'claude-auth-status':
|
|
69
|
+
{
|
|
70
|
+
const authentication = await this.invoke(profile, [
|
|
71
|
+
'auth',
|
|
72
|
+
'status'
|
|
73
|
+
], environment, false);
|
|
74
|
+
return authentication.exitCode === 0;
|
|
75
|
+
}
|
|
76
|
+
case 'grok-auth-store':
|
|
77
|
+
{
|
|
78
|
+
const grokHome = environment.GROK_HOME ?? join(homedir(), '.grok');
|
|
79
|
+
const hasKey = (environment.XAI_API_KEY ?? '').trim().length > 0;
|
|
80
|
+
const hasStore = await pathExists(join(grokHome, 'auth.json'));
|
|
81
|
+
return hasKey || hasStore;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
invoke(profile, arguments_, environment, captureOutput) {
|
|
86
|
+
const override = this.executables?.[profile.id];
|
|
87
|
+
const executable = override?.executable ?? profile.executable;
|
|
88
|
+
const argv = [
|
|
89
|
+
...override?.arguments ?? [],
|
|
90
|
+
...arguments_
|
|
91
|
+
];
|
|
92
|
+
return new Promise((resolve)=>{
|
|
93
|
+
let output = '';
|
|
94
|
+
let finished = false;
|
|
95
|
+
const child = spawn(executable, argv, {
|
|
96
|
+
shell: false,
|
|
97
|
+
env: buildChildEnvironment(environment, profile.envAllowlist),
|
|
98
|
+
stdio: [
|
|
99
|
+
'ignore',
|
|
100
|
+
captureOutput ? 'pipe' : 'ignore',
|
|
101
|
+
'ignore'
|
|
102
|
+
],
|
|
103
|
+
windowsHide: true
|
|
104
|
+
});
|
|
105
|
+
const timeout = setTimeout(()=>child.kill(), 5_000);
|
|
106
|
+
const finish = (result)=>{
|
|
107
|
+
if (finished) return;
|
|
108
|
+
finished = true;
|
|
109
|
+
clearTimeout(timeout);
|
|
110
|
+
resolve(result);
|
|
111
|
+
};
|
|
112
|
+
if (captureOutput) {
|
|
113
|
+
child.stdout?.on('data', (chunk)=>{
|
|
114
|
+
if (output.length < 256) output += chunk.toString('utf8').slice(0, 256 - output.length);
|
|
115
|
+
});
|
|
73
116
|
}
|
|
117
|
+
child.once('error', ()=>finish({
|
|
118
|
+
exitCode: null
|
|
119
|
+
}));
|
|
120
|
+
child.once('close', (exitCode)=>{
|
|
121
|
+
const version = output.trim().replace(/\s+/g, ' ');
|
|
122
|
+
finish({
|
|
123
|
+
exitCode,
|
|
124
|
+
...version === '' ? {} : {
|
|
125
|
+
output: version
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
});
|
|
74
130
|
}
|
|
75
131
|
}
|
|
76
132
|
async function pathExists(path) {
|
|
@@ -81,43 +137,3 @@ async function pathExists(path) {
|
|
|
81
137
|
return false;
|
|
82
138
|
}
|
|
83
139
|
}
|
|
84
|
-
async function invoke(executable, arguments_, environment, captureOutput) {
|
|
85
|
-
return new Promise((resolve)=>{
|
|
86
|
-
let output = '';
|
|
87
|
-
let finished = false;
|
|
88
|
-
const child = spawn(executable, arguments_, {
|
|
89
|
-
shell: false,
|
|
90
|
-
env: environment,
|
|
91
|
-
stdio: [
|
|
92
|
-
'ignore',
|
|
93
|
-
captureOutput ? 'pipe' : 'ignore',
|
|
94
|
-
'ignore'
|
|
95
|
-
],
|
|
96
|
-
windowsHide: true
|
|
97
|
-
});
|
|
98
|
-
const timeout = setTimeout(()=>child.kill(), 5_000);
|
|
99
|
-
const finish = (result)=>{
|
|
100
|
-
if (finished) return;
|
|
101
|
-
finished = true;
|
|
102
|
-
clearTimeout(timeout);
|
|
103
|
-
resolve(result);
|
|
104
|
-
};
|
|
105
|
-
if (captureOutput) {
|
|
106
|
-
child.stdout?.on('data', (chunk)=>{
|
|
107
|
-
if (output.length < 256) output += chunk.toString('utf8').slice(0, 256 - output.length);
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
child.once('error', ()=>finish({
|
|
111
|
-
exitCode: null
|
|
112
|
-
}));
|
|
113
|
-
child.once('close', (exitCode)=>{
|
|
114
|
-
const version = output.trim().replace(/\s+/g, ' ');
|
|
115
|
-
finish({
|
|
116
|
-
exitCode,
|
|
117
|
-
...version === '' ? {} : {
|
|
118
|
-
output: version
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
});
|
|
122
|
-
});
|
|
123
|
-
}
|
|
@@ -132,7 +132,7 @@ export async function doctorMcp(consumer, context) {
|
|
|
132
132
|
context.write(`Claude skill: ${skillClaude ? 'installed' : 'not installed (warning)'}`);
|
|
133
133
|
context.write(`Grok skill: ${skillGrok ? 'installed' : 'not installed (warning)'}`);
|
|
134
134
|
}
|
|
135
|
-
/** Starts the local-only stdio server used by Codex and
|
|
135
|
+
/** Starts the local-only stdio server used by Codex, Claude, and Grok configurations. */ export async function serveMcp(consumerConfig) {
|
|
136
136
|
const configuration = await readConsumerMcpConfiguration(consumerConfig);
|
|
137
137
|
const scopes = await preferredScopes(configuration);
|
|
138
138
|
const vault = await VaultService.discover(configuration.vault);
|