@inline-openclaw/inline 0.0.60 → 0.0.62
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 +3 -3
- package/dist/channel-plugin-api.js +19 -14
- package/dist/channel-plugin-api.js.map +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,12 +40,12 @@ Requires OpenClaw `2026.6.11` or newer.
|
|
|
40
40
|
|
|
41
41
|
| Plugin version | OpenClaw host | Inline realtime SDK | Status | Notes |
|
|
42
42
|
| --- | --- | --- | --- | --- |
|
|
43
|
-
| `0.0.
|
|
43
|
+
| `0.0.62` | `>=2026.6.11 || >=2026.7.1-0` | `0.0.16` | Current | Keeps the thread-only Following control out of direct-message agent settings, where the server does not support it. |
|
|
44
|
+
| `0.0.61` | `>=2026.6.11 || >=2026.7.1-0` | `0.0.16` | Previous | Bounds model discovery through provider authentication so agent settings return a fallback instead of hanging indefinitely. |
|
|
45
|
+
| `0.0.60` | `>=2026.6.11 || >=2026.7.1-0` | `0.0.16` | Previous | Uses the plugin index's supported force-install path for exact updates on current OpenClaw hosts. |
|
|
44
46
|
| `0.0.59` | `>=2026.6.11 || >=2026.7.1-0` | `0.0.16` | Previous | Adds mentionable Agent specialization, exact Agent activation, and fail-closed bot-message provenance. |
|
|
45
|
-
| `0.0.58` | `>=2026.6.11 || >=2026.7.1-0` | `0.0.15` | Previous | Promotes the stable realtime v3 SDK; hardens terminal authentication, model settings, recovered replies and joins, rich streaming delivery, and monitor failure reporting. |
|
|
46
47
|
| `0.0.57` | `>=2026.6.11 || >=2026.7.1-0` | `0.0.14` | Previous | Hardens exact CLI-managed upgrades, deterministic channel listing, default/help consistency, and packed-artifact validation. |
|
|
47
48
|
| `0.0.56` | `>=2026.6.11 || >=2026.7.1-0` | `0.0.14` | Stable | Finalizes unified Inline CLI setup compatibility while preserving the separately installed OpenClaw plugin boundary. |
|
|
48
|
-
| `0.0.55` | `>=2026.6.11 || >=2026.7.1-0` | `0.0.14` | Stable | Enforces empty-payload nudges, canonical visible-text sanitizing, hard access-before-mention policy, explicit auto-threading, and clearer formatting guidance; explicitly admits npm's `2026.7.1-2` stable host version. |
|
|
49
49
|
|
|
50
50
|
From npm:
|
|
51
51
|
|
|
@@ -72878,20 +72878,16 @@ Attachment: ${mediaUrl}` : `Attachment: ${mediaUrl}`;
|
|
|
72878
72878
|
actorUserId: entry.msg.fromId
|
|
72879
72879
|
});
|
|
72880
72880
|
};
|
|
72881
|
+
const botSettingsModelCatalogSuccessCacheMs = 5 * 60000;
|
|
72882
|
+
const botSettingsModelCatalogFailureCacheMs = 5000;
|
|
72881
72883
|
const botSettingsModelCatalogCache = new Map;
|
|
72882
72884
|
const botSettingsModelCatalogLoads = new Map;
|
|
72883
72885
|
const loadOpenClawBotSettingsModelCatalog = async (params2) => {
|
|
72884
|
-
const
|
|
72885
|
-
|
|
72886
|
-
|
|
72887
|
-
|
|
72888
|
-
|
|
72889
|
-
buildModelsProviderData(params2.cfg, params2.agentId),
|
|
72890
|
-
loadModelCatalog({ config: params2.cfg, readOnly: true })
|
|
72891
|
-
]),
|
|
72892
|
-
new Promise((_, reject) => {
|
|
72893
|
-
timeout = setTimeout(() => reject(new Error("model list timed out")), 5000);
|
|
72894
|
-
})
|
|
72886
|
+
const loadCatalog = async () => {
|
|
72887
|
+
const options = new Map;
|
|
72888
|
+
const [{ byProvider, providers }, catalog] = await Promise.all([
|
|
72889
|
+
buildModelsProviderData(params2.cfg, params2.agentId),
|
|
72890
|
+
loadModelCatalog({ config: params2.cfg, readOnly: true })
|
|
72895
72891
|
]);
|
|
72896
72892
|
const modelApiByRef = new Map(catalog.map((entry) => [`${entry.provider}/${entry.id}`, entry.api]));
|
|
72897
72893
|
const agentDir = resolveAgentDir(params2.cfg, params2.agentId);
|
|
@@ -72938,6 +72934,15 @@ Attachment: ${mediaUrl}` : `Attachment: ${mediaUrl}`;
|
|
|
72938
72934
|
}
|
|
72939
72935
|
}
|
|
72940
72936
|
return { options: [...options.values()], didLoad: true };
|
|
72937
|
+
};
|
|
72938
|
+
let timeout;
|
|
72939
|
+
try {
|
|
72940
|
+
return await Promise.race([
|
|
72941
|
+
loadCatalog(),
|
|
72942
|
+
new Promise((_, reject) => {
|
|
72943
|
+
timeout = setTimeout(() => reject(new Error("model list timed out")), 5000);
|
|
72944
|
+
})
|
|
72945
|
+
]);
|
|
72941
72946
|
} catch (error51) {
|
|
72942
72947
|
log?.warn(`inline agent settings model list unavailable: ${String(error51)}`);
|
|
72943
72948
|
return { options: [], didLoad: false };
|
|
@@ -72970,7 +72975,7 @@ Attachment: ${mediaUrl}` : `Attachment: ${mediaUrl}`;
|
|
|
72970
72975
|
}
|
|
72971
72976
|
catalog = await load;
|
|
72972
72977
|
botSettingsModelCatalogCache.set(params2.agentId, {
|
|
72973
|
-
expiresAt: Date.now() + (catalog.options.length > 0 ?
|
|
72978
|
+
expiresAt: Date.now() + (catalog.options.length > 0 ? botSettingsModelCatalogSuccessCacheMs : botSettingsModelCatalogFailureCacheMs),
|
|
72974
72979
|
catalog
|
|
72975
72980
|
});
|
|
72976
72981
|
}
|
|
@@ -73072,7 +73077,7 @@ Attachment: ${mediaUrl}` : `Attachment: ${mediaUrl}`;
|
|
|
73072
73077
|
model,
|
|
73073
73078
|
currentLevel: reasoningLevel
|
|
73074
73079
|
}),
|
|
73075
|
-
following: isInlineDialogFollowing(ingress.chatInfo.dialogFollowMode),
|
|
73080
|
+
...ingress.chatInfo.kind === "direct" ? {} : { following: isInlineDialogFollowing(ingress.chatInfo.dialogFollowMode) },
|
|
73076
73081
|
replyThreads: params2.replyThreads ?? (replyMode === "thread" ? "on" : replyMode === "main" ? "off" : "auto"),
|
|
73077
73082
|
canSetDefaultModel
|
|
73078
73083
|
}
|
|
@@ -76354,5 +76359,5 @@ export {
|
|
|
76354
76359
|
inlineChannelPlugin
|
|
76355
76360
|
};
|
|
76356
76361
|
|
|
76357
|
-
//# debugId=
|
|
76362
|
+
//# debugId=00A9253BF69E36F164756E2164756E21
|
|
76358
76363
|
//# sourceMappingURL=channel-plugin-api.js.map
|