Skip to content

feat: complete LLM protocol, Web access, and workspace capabilities - #92

Merged
singchia merged 11 commits into
mainfrom
docs/ai-wordmark
Sep 18, 2026
Merged

singchia merged 11 commits into
mainfrom
docs/ai-wordmark

Conversation

@singchia

@singchia singchia commented Sep 18, 2026 •

Copy link
Copy Markdown
Collaborator

Scope

This branch completes work on native LLM protocols, statistics and the Playground; SQL/SMB adapters; Web path, port and domain entries; the home page Agent; UI consistency; JWT revocation on logout; WebData resource access-denied states; and a fix for Dameng credentials containing special characters.

Validation and deployment

Backend and frontend CI passed for the latest commit. Go build, vet and race checks, the frontend build, and existing browser regression tests also passed. Additional validation covered real Samba, TiDB and DM8 instances through deployed connectors, along with SFTP and HTTP path/HTTPS port edge cases. Temporary resources have been cleaned up. The deployed backend checksum matches the build containing the Dameng fix, and there are no additional changes to the production frontend source.

Known limitations

As agreed, end-to-end acceptance testing against real Doris and StarRocks engines and public-domain certificates is deferred. These checks are not marked as passed, and no production validation is claimed for them. Local LLM inference and protocol simulation do not constitute comprehensive certification of cloud provider services or SDKs. JWT revocation does not forcibly terminate established WebSocket or SSH sessions.

Merged within the agreed scope using a regular merge to preserve commit history. No new tag is being created for this change.

@singchia

Copy link
Copy Markdown
Collaborator Author

已登录线上验收补充

  • 已使用用户提供的测试账号登录;密码未写入仓库、脚本或报告。
  • 账号当前可见 9 个访问:7 个 LLM 示例,以及停用的 S3/Memcached;无 SSH/SQL 示例可用于此轮线上回归。
  • 7 个 LLM 的 workspace、请求记录、五档用量查询与实际 Playground 短调用通过。
  • 临时 API 密钥验证了现有示例开放的原生/兼容接口:OpenAI/Ark Responses、Anthropic Messages、QWen、Gemini、Ollama 和 Chat Completions。流式终结、模型范围拒绝、密钥撤销后拒绝均通过。全部临时 API 密钥已撤销。
  • 首页 Agent 的真实只读 LLM 发现/用量请求完成,11 条工具消息、无待审批动作;临时会话已归档。
  • 首页历史/用户菜单和 LLM 工作区在中英文、明暗、桌面/手机验证通过,代表截图已检查。手机截图等待侧栏动画结束后采集。
  • 这些调用验证现有部署和示例上游,不表示真实云厂商账号的完整认证。真实 DM8/SMB/SSH/SQL 连接器链路仍未在本轮验证。

新发现:JWT 登出不撤销服务端 Token

pkg/liaison/manager/web/handler.go 的 Logout 只返回成功,注释明确由客户端删除无状态 JWT。实际测试中,登出返回 200 后,同一 Token 仍可获取 profile(200)。这不同于正常生效的 LLM API key 撤销。

本轮临时 Token 文件已删除,浏览器测试上下文已关闭;没有重置密码或修改认证配置。服务端 JWT 撤销应单独确认方案后修复,不能将本轮清理表述为“登录 Token 已撤销”。PR 保持草稿、未合并。

@singchia

Copy link
Copy Markdown
Collaborator Author

PostgreSQL 验收缺口已补齐:Docker 直接拉取多个源均报 EOF,但宿主机通过 crane 从 AWS ECR 下载 PostgreSQL 16 Alpine ARM64 并导入 Docker 成功。真实 SQL 工作区集成测试带 -race 通过,覆盖表创建、增改查、表列/索引元数据及错误查询。临时容器仅绑定 loopback,限内存 384MB,测试表、容器、tmpfs 数据及下载归档已清理;未更改全局 Docker 配置。记录已提交 4e768aa。此项不等同于部署环境的 connector/browser E2E;DM8、SMB 及其他真实服务验收缺口仍保留。

@singchia

Copy link
Copy Markdown
Collaborator Author

MariaDB 11.4 ARM64 真实 SQL 工作区集成测试已带 -race 通过:表创建、增改查、表列和索引元数据、错误查询均通过。使用宿主机 crane 从 DaoCloud 下载后导入 Docker;临时容器仅绑定 loopback,限制512MB,测试表/容器/tmpfs数据和两份下载归档均已清理。结果记录于663b950。未改产品代码或线上配置,无需重新部署。仍保留真实DM8/SMB、SQL Server及其他数据库和线上SSH/SQL端到端验收边界。

@singchia

Copy link
Copy Markdown
Collaborator Author

SMB 真实服务验收已补齐:隔离 ARM64 Samba(只读共享、密码认证、强制消息签名)上 -race 集成测试通过,覆盖目录列举、UTF-8预览、下载内容、大小限制、路径穿越/UNC/盘符/备用流拒绝及错误密码拒绝。新增断言已保留到 integration_test.go。完整 Go build/race 回归及集成 vet 通过。临时容器、凭据数据、测试文件、下载归档已清理;本机系统共享及线上配置未变。仍不宣称 Windows/NAS 兼容性或 connector/browser E2E 已验证。

@singchia
singchia marked this pull request as ready for review September 18, 2026 09:24
@singchia
singchia merged commit f476ce4 into main Sep 18, 2026
2 checks passed
@singchia singchia changed the title feat: 收尾 LLM 协议、Web 访问与工作台能力 feat: complete LLM protocol, Web access, and workspace capabilities Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant