Skip to content

Releases: hwttop5/tabbit2api

v0.1.4

Choose a tag to compare

@hwttop5 hwttop5 released this 02 Jul 18:11

中文说明

  1. 修复当前 Tabbit 安装路径兼容问题:Windows 默认探测同时支持 Tabbit.exe 和当前常见的 Tabbit Browser.exe
  2. 兼容 Tabbit Web 新 runtime module 变更,修复当前页面发送函数和模型模式解析变化导致的真实请求失败。
  3. 改进登录态和浏览器门禁诊断:[492] 欢迎使用 Tabbit 浏览器...、缺少 chrome.tabSignin 或明确未登录时会归类为需要刷新登录/profile,而不是继续 fallback 多个模型后只返回泛化 503。
  4. 增加 prompt 字符数诊断和 runtime profile 同步 warning,便于区分真实登录态/profile 问题和 Codex/Claude Code 等客户端隐藏上下文过长问题。
  5. 发布到 npm 后可通过 npm i -g tabbit2api@0.1.4npx tabbit2api@0.1.4 获取修复版本。

English Notes

  1. Fixed Windows Tabbit executable detection by supporting both Tabbit.exe and the current Tabbit Browser.exe path.
  2. Updated Tabbit Web runtime resolution for the current send function and mode modules, fixing real request failures after upstream page changes.
  3. Improved login and browser-gate diagnostics: [492] 欢迎使用 Tabbit 浏览器..., missing chrome.tabSignin, and explicit signed-out states are now surfaced as actionable login/profile refresh errors instead of generic multi-model 503 fallback failures.
  4. Added prompt-size diagnostics and runtime profile sync warnings to separate real login/profile problems from hidden client context size issues in tools such as Codex and Claude Code.
  5. Published to npm so users can upgrade with npm i -g tabbit2api@0.1.4 or run npx tabbit2api@0.1.4.

Verification

  • npm test passed: 79 tests.
  • npm pack --dry-run --json --registry=https://registry.npmjs.org passed.
  • Local runtime validation passed: doctor, /health, /v1/models, and real plain text POST /v1/responses with tabbit/priority.
  • Published package version verified on npm: 0.1.4.
  • Published package verified through temporary global install: tabbit2api --version returned 0.1.4.

v0.1.3

Choose a tag to compare

@hwttop5 hwttop5 released this 22 Jun 18:24

中文说明

  1. 修复 Tabbit 附件上传链路在部分本机环境中失败的问题:Tabbit Web 页面仍负责申请 presigned upload URL 和 complete-upload,实际 COS PUT 上传改由 Node 侧执行,并保留浏览器上传 helper fallback。
  2. 改进附件 reference helper 解析,兼容当前 runtime(53045) 和旧 runtime(45677)
  3. 已合并修复 PR #8;PR #5 的单一 runtime id 修改未合并,原因是本机失败点在浏览器页面上下文上传 COS,而不是图片识别能力本身。
  4. 发布到 npm 后可通过 npm i -g tabbit2api@0.1.3npx tabbit2api@0.1.3 获取修复版本。

English Notes

  1. Fixed attachment uploads failing in some local environments by keeping Tabbit Web in charge of presign / complete-upload while routing the actual COS PUT through the Node bridge, with the browser upload helper kept as a fallback.
  2. Improved attachment reference helper resolution for both the current runtime(53045) and older runtime(45677).
  3. Merged the replacement fix in PR #8; PR #5 was not merged because its single runtime-id change did not address the local browser-context COS upload failure.
  4. Published to npm so users can upgrade with npm i -g tabbit2api@0.1.3 or run npx tabbit2api@0.1.3.

Verification

  • npm test passed: 73 tests.
  • npm pack --dry-run --json --registry=https://registry.npmjs.org passed.
  • Local runtime validation passed: /health, /v1/models, plain text POST /v1/responses, three real input_image data URL requests, and TXT / HTML input_file data URL requests.
  • Published package version verified on npm: 0.1.3.
  • Published tarball verified through temporary global install: tabbit2api --version returned 0.1.3.

v0.1.2

Choose a tag to compare

@hwttop5 hwttop5 released this 22 Jun 12:25

中文说明

  1. 修复 Tabbit Web 前端域名和 webpack runtime 模块变化导致的本地网关调用失败问题。
  2. 已在本机验证 PR #2 合并后的真实调用链路:/health/v1/modelsPOST /v1/responses 均可用,tabbit/priority 返回 ok
  3. 发布到 npm 后可通过 npm i -g tabbit2api@0.1.2npx tabbit2api@0.1.2 获取修复版本。

English Notes

  1. Fixed local gateway failures caused by Tabbit Web domain and webpack runtime module changes.
  2. Verified the merged PR #2 path locally with /health, /v1/models, and a real POST /v1/responses request; tabbit/priority returned ok.
  3. Published to npm so users can upgrade with npm i -g tabbit2api@0.1.2 or run npx tabbit2api@0.1.2.

Verification

  • npm test passed: 70 tests.
  • npm pack --dry-run --json --registry=https://registry.npmjs.org passed.
  • Published package version verified on npm: 0.1.2.
  • Published tarball verified through temporary global install: tabbit2api --version returned 0.1.2.

v0.1.1

Choose a tag to compare

@hwttop5 hwttop5 released this 18 May 12:30

中文说明

  1. 修复 npm 发布时 bin 入口被自动移除的问题,确保 npx tabbit2api 与全局安装后的 tabbit2api 命令可用。
  2. 保持 doctor 自检、文档拆分和公开元数据优化,并补齐 patch 版发布验证。
  3. 发布文档中的 tarball 验证示例改为版本占位写法,避免后续版本沿用旧文件名。

English Notes

  1. Fixed the npm publish-time bin entry issue so npx tabbit2api and the global tabbit2api command remain available.
  2. Kept the doctor command, split documentation, and public package metadata improvements, then re-verified the patch release.
  3. Updated tarball verification examples in the publishing guide to use a version placeholder instead of a stale filename.

v0.1.0

Choose a tag to compare

@hwttop5 hwttop5 released this 18 May 12:13

中文说明

  1. 新增 tabbit2api doctor 本地自检命令,可检查 Tabbit 路径、runtime profile 和网关健康状态。
  2. 重构对外文档结构:根 README 改为入口页,新增 API、集成与发布文档,并更新 examples 与 contributing 说明。
  3. 补齐 npm 发布元数据并统一仓库标识为 hwttop5/tabbit2api,优化首个公开版本的安装、发布和验证体验。

English Notes

  1. Added tabbit2api doctor for local runtime and gateway health checks.
  2. Reworked public documentation into a shorter README plus dedicated API, integration, and publishing guides.
  3. Aligned npm package metadata and GitHub repository identity for the first public release.