opencode-tui-stats 0.4.3 → 0.4.5

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.en.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # opencode-tui-stats
2
2
 
3
- A TUI plugin for OpenCode 1.x (v1), mounted at the bottom of the right sidebar (slot `sidebar_footer`), with the panel title `Model-Performance · observed`. Each model occupies one row that can be collapsed/expanded by mouse click.
3
+ A TUI plugin for OpenCode 1.x (v1), mounted in the right sidebar content (slot `sidebar_content`), with the panel title `Model-Performance · observed`. Each model occupies one row that can be collapsed/expanded by mouse click.
4
4
 
5
5
  ## Demo
6
6
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # opencode-tui-stats
2
2
 
3
- OpenCode 1.x(v1)的 TUI 插件,安装在右侧栏底部(slot `sidebar_footer`),面板标题为 `Model-Performance · observed`。每个模型占一行,鼠标点击可折叠/展开。
3
+ OpenCode 1.x(v1)的 TUI 插件,安装在右侧栏内容区(slot `sidebar_content`),面板标题为 `Model-Performance · observed`。每个模型占一行,鼠标点击可折叠/展开。
4
4
 
5
5
  ## 演示
6
6
 
package/assets/demo.gif CHANGED
Binary file
package/dist/tui.js CHANGED
@@ -926,7 +926,7 @@ var tui = async (api) => {
926
926
  api.lifecycle.onDispose(() => tracker.dispose());
927
927
  api.slots.register({
928
928
  slots: {
929
- sidebar_footer(_context, props) {
929
+ sidebar_content(_context, props) {
930
930
  return _$createComponent(ModelPanelView, {
931
931
  api,
932
932
  get sessionID() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "opencode-tui-stats",
4
- "version": "0.4.3",
4
+ "version": "0.4.5",
5
5
  "description": "OpenCode 1 TUI plugin that shows live TPS, average TPS, and average time to first token in the session prompt.",
6
6
  "type": "module",
7
7
  "exports": {