Skip to content

Iamwangli/openclaw-chat-navigator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenClaw Chat Navigator

Firefox 插件,用于 OpenClaw Web UI 的对话历史导航。

功能

  • 在页面右侧显示对话历史侧边栏
  • 快速跳转到之前的对话
  • 自动检测新消息
  • 支持用户和助手消息分类

安装

Firefox 临时加载(开发模式)

  1. 打开 Firefox,在地址栏输入:about:debugging
  2. 点击"此Firefox"
  3. 点击"临时载入附加组件"
  4. 选择 manifest.json 文件
  5. 点击"打开"

构建插件包

./build.sh

这会生成 ocw-chat-navigator.xpi 文件。

使用

  1. 安装插件后,在 OpenClaw Web UI 页面右上角会出现一个蓝色按钮 💬
  2. 点击按钮打开/关闭侧边栏
  3. 在侧边栏中点击对话条目可以快速跳转

项目结构

ocw-chat-navigator/
├── manifest.json          # 插件配置文件
├── icons/                 # 图标文件
│   ├── icon16.png
│   ├── icon48.png
│   ├── icon128.png
│   └── icon.svg
├── lib/                   # 核心代码
│   ├── content.js        # 主逻辑
│   └── styles.css        # 样式
├── popup/                # 弹出窗口
│   ├── popup.html
│   └── popup.js
├── build.sh              # 构建脚本
├── .gitignore            # Git忽略文件
└── README.md             # 说明文档

开发

修改代码

  1. 修改 lib/content.jslib/styles.css
  2. about:debugging 页面重新加载插件
  3. 刷新页面查看效果

提交更改

git add .
git commit -m "描述修改内容"
git push

许可证

MIT License

About

OpenClaw Web UI Conversation History Navigation Plugin

Resources

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors