mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:20:43 +00:00
* fix(models): normalize provider runtime selection * fix(models): reverse codex-only runtime migration * fix(models): default runtime selection to pi * fix(status): label model runtime clearly * fix(status): align pi runtime label * fix(plugins): align tool result middleware runtime naming * fix(models): validate runtime overrides
14 lines
474 B
TypeScript
14 lines
474 B
TypeScript
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
import { createTokenjuiceAgentToolResultMiddleware } from "./tool-result-middleware.js";
|
|
|
|
export default definePluginEntry({
|
|
id: "tokenjuice",
|
|
name: "tokenjuice",
|
|
description: "Compacts exec and bash tool results with tokenjuice reducers.",
|
|
register(api) {
|
|
api.registerAgentToolResultMiddleware(createTokenjuiceAgentToolResultMiddleware(), {
|
|
runtimes: ["pi", "codex"],
|
|
});
|
|
},
|
|
});
|