Download src/auto-reply/usage-bar/default-template.ts from SaylorTwift/openclaw: direct link, hf CLI and curl.
- Browser
- Download file 2.2 kB
-
https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/auto-reply/usage-bar/default-template.ts
- Command line
-
hf download hf://SaylorTwift/openclaw/src/auto-reply/usage-bar/default-template.ts
-
curl -L -o default-template.ts https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/auto-reply/usage-bar/default-template.ts
2.2 kB
| import type { UsageBarTemplate } from "./translator.js"; | |
| export const DEFAULT_USAGE_BAR_TEMPLATE: UsageBarTemplate = { | |
| schema: "openclaw.usageBar.v1", | |
| scales: { | |
| braille: "β β‘β‘β‘β‘β£β£§β£·β£Ώ", | |
| block: "βββββββββ", | |
| shade: "ββββ", | |
| moon: "πππππ", | |
| level: "βββββ βββ", | |
| weather: ["π₯Ά", "βοΈ", "π₯", "β οΈ", "π€", "βοΈ"], | |
| plants: ["πͺΎ", "π", "π±", "βοΈ", "π", "πΏ"], | |
| moons6: ["π", "π", "π", "π", "π", "π"], | |
| }, | |
| aliases: { | |
| models: { | |
| "claude-opus-4-6": "opus46", | |
| "claude-opus-4-8": "opus48", | |
| "claude-sonnet-4-6": "sonnet46", | |
| "claude-haiku-4-5": "haiku45", | |
| "gpt-5.5": "gpt5.5", | |
| }, | |
| reasoning: { off: "π", minimal: "π", low: "π", medium: "π", high: "π", xhigh: "π" }, | |
| }, | |
| output: { | |
| sep: "", | |
| default: [ | |
| { text: "{model.provider}{identity.emoji|π€}{model.display_name|alias:models}" }, | |
| { map: "model.is_fallback", cases: { true: "π" } }, | |
| { map: "model.is_override", cases: { true: "π" } }, | |
| { when: "model.reasoning", text: "{model.reasoning|alias:reasoning}" }, | |
| { map: "state.fast_mode", cases: { true: "β‘οΈ", false: "π" } }, | |
| { | |
| when: "context.max_tokens", | |
| text: "\u00A0| π[{context.pct_used|meter:5:braille}]{context.max_tokens|num}", | |
| }, | |
| { when: "cost.turn_usd", text: "\u00A0π°{cost.turn_usd|fixed:4}" }, | |
| ], | |
| surfaces: { | |
| discord: [ | |
| { text: "-# -\n" }, | |
| { text: "-# {model.provider}{identity.emoji|π€}{model.display_name|alias:models}" }, | |
| { map: "model.is_fallback", cases: { true: "π" } }, | |
| { map: "model.is_override", cases: { true: "π" } }, | |
| { when: "model.reasoning", text: "{model.reasoning|alias:reasoning}" }, | |
| { map: "state.fast_mode", cases: { true: "β‘οΈ", false: "π" } }, | |
| { | |
| when: "context.max_tokens", | |
| text: "\u00A0| π[{context.pct_used|meter:5:braille}]{context.max_tokens|num}", | |
| }, | |
| { when: "cost.turn_usd", text: "\u00A0π°{cost.turn_usd|fixed:4}" }, | |
| ], | |
| }, | |
| }, | |
| }; | |