@openclaw/chutes-provider 2026.9.5 → 2026.9.7
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/assets/icon.png +0 -0
- package/dist/oauth.js +6 -8
- package/dist/onboard.js +1 -4
- package/package.json +4 -4
package/assets/icon.png
CHANGED
|
Binary file
|
package/dist/oauth.js
CHANGED
|
@@ -166,14 +166,15 @@ async function loginChutes(params) {
|
|
|
166
166
|
state,
|
|
167
167
|
challenge
|
|
168
168
|
});
|
|
169
|
+
const promptForCode = async () => parseManualOAuthInput(await params.onPrompt({
|
|
170
|
+
message: "Paste the redirect URL",
|
|
171
|
+
placeholder: `${params.app.redirectUri}?code=...&state=...`
|
|
172
|
+
}), state);
|
|
169
173
|
let codeAndState;
|
|
170
174
|
if (params.manual) {
|
|
171
175
|
await params.onAuth({ url });
|
|
172
176
|
params.onProgress?.("Waiting for redirect URL...");
|
|
173
|
-
codeAndState =
|
|
174
|
-
message: "Paste the redirect URL",
|
|
175
|
-
placeholder: `${params.app.redirectUri}?code=...&state=...`
|
|
176
|
-
}), state);
|
|
177
|
+
codeAndState = await promptForCode();
|
|
177
178
|
} else {
|
|
178
179
|
const redirect = parseRedirectUri(params.app.redirectUri);
|
|
179
180
|
const callback = waitForLocalOAuthCallback({
|
|
@@ -189,10 +190,7 @@ async function loginChutes(params) {
|
|
|
189
190
|
}).catch(async (error) => {
|
|
190
191
|
if (params.signal?.aborted) throw error;
|
|
191
192
|
params.onProgress?.("OAuth callback not detected; paste redirect URL...");
|
|
192
|
-
return
|
|
193
|
-
message: "Paste the redirect URL",
|
|
194
|
-
placeholder: `${params.app.redirectUri}?code=...&state=...`
|
|
195
|
-
}), state);
|
|
193
|
+
return await promptForCode();
|
|
196
194
|
});
|
|
197
195
|
await params.onAuth({ url });
|
|
198
196
|
codeAndState = await callback;
|
package/dist/onboard.js
CHANGED
|
@@ -4,7 +4,7 @@ import { applyAgentDefaultModelPrimary, createModelCatalogPresetAppliers } from
|
|
|
4
4
|
//#region extensions/chutes/onboard.ts
|
|
5
5
|
const CHUTES_DEFAULT_MODEL_ID = openclaw_plugin_default.modelCatalog.providers.chutes.defaultModel;
|
|
6
6
|
const CHUTES_DEFAULT_MODEL_REF = readManifestProviderDefaultModelRef(openclaw_plugin_default, "chutes");
|
|
7
|
-
const
|
|
7
|
+
const { applyProviderConfig: applyChutesProviderConfig } = createModelCatalogPresetAppliers({
|
|
8
8
|
primaryModelRef: CHUTES_DEFAULT_MODEL_REF,
|
|
9
9
|
resolveParams: (cfg) => ({
|
|
10
10
|
providerId: "chutes",
|
|
@@ -24,9 +24,6 @@ const chutesPresetAppliers = createModelCatalogPresetAppliers({
|
|
|
24
24
|
]
|
|
25
25
|
})
|
|
26
26
|
});
|
|
27
|
-
function applyChutesProviderConfig(cfg) {
|
|
28
|
-
return chutesPresetAppliers.applyProviderConfig(cfg);
|
|
29
|
-
}
|
|
30
27
|
function applyChutesConfig(cfg) {
|
|
31
28
|
const next = applyChutesProviderConfig(cfg);
|
|
32
29
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/chutes-provider",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.7",
|
|
4
4
|
"description": "OpenClaw Chutes.ai provider plugin.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"minHostVersion": ">=2026.6.8"
|
|
19
19
|
},
|
|
20
20
|
"compat": {
|
|
21
|
-
"pluginApi": ">=2026.9.
|
|
21
|
+
"pluginApi": ">=2026.9.7"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.9.
|
|
24
|
+
"openclawVersion": "2026.9.7",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"assets/activity.svg"
|
|
41
41
|
],
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"openclaw": ">=2026.9.
|
|
43
|
+
"openclaw": ">=2026.9.7"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|