Skip to content

refactor(brand): rename scilaxy-relay to liyanlabs-relay - #2

Merged
Mile-Away merged 2 commits into
mainfrom
refactor/liyanlabs-rebrand
Sep 19, 2026
Merged

Mile-Away merged 2 commits into
mainfrom
refactor/liyanlabs-rebrand

Conversation

@Mile-Away

@Mile-Away Mile-Away commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Rebrand the relay workspace from scilaxy to liyanlabs (Liyan Labs), matching the main SciLaxy repo rebrand (ScienceOL/SciLaxy#53).

Changes

  • Crate + binary names: scilaxy-relay-* / scilaxy-*liyanlabs-relay-* / liyanlabs-* (all 14 crates, incl. [[bin]] names)
  • Env var prefix: SCILAXY_*LIYANLABS_*
  • Image prefix: ghcr.io/scienceol/scilaxy-relayghcr.io/scienceol/liyanlabs-relay
  • Domain: scilaxy.ailiyanlabs.com
  • Swift FFI: SciLaxyNalCallbackLiyanLabsNalCallback

Verification

  • cargo check --workspace (all crates incl. mac-capturer on macOS) ✅
  • cargo check/test --workspace --exclude liyanlabs-relay-mac-capturer --exclude liyanlabs-relay-capturer (CI lane) ✅
  • cargo fmt --all -- --check
  • 36 files, 319 insertions / 319 deletions (pure rename)

Downstream impact

  • The main SciLaxy repo's runner consumes mac-capturer/win-capturer via a Cargo path dep pinned with package = "scilaxy-relay-*-capturer"; once this merges, the main repo will bump the submodule pointer and update those package = keys to liyanlabs-relay-*.
  • Published image names change to ghcr.io/scienceol/liyanlabs-relay-*. The k8s manifests (separate infra repo) still pin scilaxy-relay-* and will be updated separately — not in this PR.

🤖 Generated with Claude Code

Sourcery 摘要

将 relay 项目及其公共接口从 SciLaxy 重命名为 LiyanLabs。

增强功能:

  • 将 relay 工作区及其 Rust crate、二进制文件、运行时标识、文档和面向用户的消息中的 SciLaxy 品牌统一更名为 LiyanLabs。
  • 重命名所有公共配置和集成标识符,包括 LIYANLABS 环境变量、LiyanLabs Swift/C FFI 符号以及相关工具引用。
  • 更新仓库、Docker、发布工作流和已发布镜像的命名,以使用 LiyanLabs 品牌。

部署:

  • 将 relay 容器镜像发布至 ghcr.io/scienceol/liyanlabs-relay,并相应更新发布工作流目标。

文档:

  • 更新 README 和 Web 冒烟测试页面,以引用 LiyanLabs 和新的 relay 名称。

杂项:

  • 在工作区元数据、源代码、脚本和特定平台的 capturer 集成中一致应用品牌重命名。
Original summary in English

Sourcery 摘要

将 relay 工作区及其公共接口从 SciLaxy 重新命名为 LiyanLabs。

增强功能:

  • 将 relay 工作区及其面向公众的 Rust、原生捕获、运行时和集成标识符从 SciLaxy 重新命名为 LiyanLabs。
  • 更新配置变量名称、仓库和域名引用、容器命名及冒烟测试工具,以使用 LiyanLabs 品牌。

构建:

  • 更新 Docker 构建目标和运行时镜像,以适配重命名后的二进制文件和 LiyanLabs 容器命名。

CI:

  • 更新发布工作流检查和镜像发布流程,以使用重命名后的工作区软件包和 LiyanLabs 镜像前缀。

文档:

  • 更新 README、Web 冒烟测试页面和面向用户的消息,以引用 LiyanLabs。

杂项:

  • 将所有工作区 crate、二进制文件、内部依赖、锁文件条目以及 Swift/C FFI 符号重命名为 LiyanLabs 命名。
Original summary in English

Summary by Sourcery

Rebrand the relay workspace and its public interfaces from SciLaxy to LiyanLabs.

Enhancements:

  • Rebrand the relay workspace and its public-facing Rust, native capture, runtime, and integration identifiers from SciLaxy to LiyanLabs.
  • Update configuration variable names, repository and domain references, container naming, and smoke-test tooling to use the LiyanLabs brand.

Build:

  • Update Docker build targets and runtime images for the renamed binaries and LiyanLabs container naming.

CI:

  • Update release workflow checks and image publishing to use the renamed workspace packages and LiyanLabs image prefix.

Documentation:

  • Update README, web smoke-test pages, and user-facing messages to reference LiyanLabs.

Chores:

  • Rename all workspace crates, binaries, internal dependencies, lockfile entries, and Swift/C FFI symbols to the LiyanLabs naming.

Rebrand the relay workspace to Liyan Labs:
- Crate + binary names: scilaxy-relay-*/scilaxy-* -> liyanlabs-relay-*/liyanlabs-*
- Env var prefix: SCILAXY_* -> LIYANLABS_*
- Image prefix: ghcr.io/scienceol/scilaxy-relay -> ghcr.io/scienceol/liyanlabs-relay
- Domain: scilaxy.ai -> liyanlabs.com
- Swift FFI callback: SciLaxyNalCallback -> LiyanLabsNalCallback

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@sourcery-ai

sourcery-ai Bot commented Sep 19, 2026

Copy link
Copy Markdown

审查者指南

这是一次覆盖整个代码库、仅涉及品牌的重构:软件包和二进制文件标识符、环境变量、容器镜像、域名、文档、脚本,以及 macOS Swift/Rust FFI 符号均已从 SciLaxy/scilaxy 统一重命名为 LiyanLabs/liyanlabs,且无意改变协议或运行时行为。审查时请重点检查旧标识符是否有遗漏,以及对外部集成的影响,尤其要关注下游 Cargo 软件包键,以及在本代码库之外维护的部署清单。

文件级变更

变更 详情 文件
将 Rust 工作区、软件包、二进制文件、内部依赖项和生成的锁文件条目重命名为 LiyanLabs 品牌。
  • 更新了所有 crate 软件包名称和路径依赖。
  • 重命名了 CLI 二进制目标和面向用户的命令元数据。
  • 针对软件包名称变更重新生成了 Cargo.lock。
  • 更新了仓库元数据和源代码文档。
Cargo.toml
Cargo.lock
crates/*/Cargo.toml
crates/*/src/**/*.rs
README.md
将运行时配置和部署标识符从 SCILAXY 命名空间迁移至 LIYANLABS。
  • 重命名了 CLI 环境变量和默认数据库文件名。
  • 更新了 Docker 构建目标、运行时用户、入口点和镜像命名。
  • 更新了发布工作流排除项和 GHCR 镜像前缀。
  • 更新了脚本、冒烟测试以及 Web 测试标签/配置。
.github/workflows/release.yaml
Dockerfile
crates/*/src/**/*.rs
scripts/*
web-test/*
重命名 macOS 捕获 FFI ABI 及其 Swift 回调类型,同时保持捕获 API 行为不变。
  • 重命名了 Swift @_cdecl 导出项及对应的 Rust extern 声明/调用。
  • 重命名了 Swift NAL 回调类型和 Rust 回调用法。
  • 更新了 macOS 日志、调度队列标签及相关文档。
crates/mac-capturer/src/lib.rs
crates/mac-capturer/swift/MacCapturer.swift
crates/capturer/src/main.rs
在文档和特定平台的捕获引用中应用 LiyanLabs 产品和域名品牌重塑。
  • 将产品链接从 scilaxy.ai 更改为 liyanlabs.com。
  • 将 Rust、Swift、Windows 以及示例中的注释/日志更新为新名称。
  • 重命名镜像和服务引用,但不改变网络协议或捕获行为。
README.md
crates/*/src/**/*.rs
crates/mac-capturer/examples/dump.rs
crates/mac-capturer/swift/MacCapturer.swift

提示和命令

与 Sourcery 交互

  • 触发新的审查: 在拉取请求中评论 @sourcery-ai review
  • 继续讨论: 直接回复 Sourcery 的审查评论。
  • 从审查评论生成 GitHub issue: 回复审查评论,请 Sourcery 根据该评论创建 issue。你也可以使用 @sourcery-ai issue 回复审查评论,以便从中创建 issue。
  • 生成拉取请求标题: 在拉取请求标题的任意位置写入 @sourcery-ai,即可随时生成标题。你也可以在拉取请求中评论 @sourcery-ai title,以随时生成或重新生成标题。
  • 生成拉取请求摘要: 在拉取请求正文的任意位置写入 @sourcery-ai summary,即可在指定位置随时生成 PR 摘要。你也可以在拉取请求中评论 @sourcery-ai summary,以随时生成或重新生成摘要。
  • 生成审查者指南: 在拉取请求中评论 @sourcery-ai guide,即可随时生成或重新生成审查者指南。
  • 解决所有 Sourcery 评论: 在拉取请求中评论 @sourcery-ai resolve,即可解决所有 Sourcery 评论。如果你已经处理完所有评论且不想再看到它们,此功能会很有用。
  • 忽略所有 Sourcery 审查: 在拉取请求中评论 @sourcery-ai dismiss,即可忽略所有现有的 Sourcery 审查。如果你想使用新的审查从头开始,这项功能尤其有用——别忘了评论 @sourcery-ai review 来触发新的审查!

自定义你的体验

访问你的控制面板以:

  • 启用或禁用审查功能,例如 Sourcery 生成的拉取请求摘要、审查者指南等。
  • 更改审查语言。
  • 添加、移除或编辑自定义审查说明。
  • 调整其他审查设置。

获取帮助

Original review guide in English

Reviewer's Guide

This is a repository-wide branding-only refactor: package and binary identifiers, environment variables, container images, domains, documentation, scripts, and the macOS Swift/Rust FFI symbols are consistently renamed from SciLaxy/scilaxy to LiyanLabs/liyanlabs, with no intended protocol or runtime behavior changes. Review primarily for missed old identifiers and external integration impacts, especially downstream Cargo package keys and deployment manifests maintained outside this repository.

File-Level Changes

Change Details Files
Rename the Rust workspace, packages, binaries, internal dependencies, and generated lockfile entries to the LiyanLabs brand.
  • Updated all crate package names and path dependencies.
  • Renamed CLI binary targets and user-facing command metadata.
  • Regenerated Cargo.lock for the package-name changes.
  • Updated repository metadata and source documentation.
Cargo.toml
Cargo.lock
crates/*/Cargo.toml
crates/*/src/**/*.rs
README.md
Migrate runtime configuration and deployment identifiers from the SCILAXY namespace to LIYANLABS.
  • Renamed CLI environment variables and default database filename.
  • Updated Docker build targets, runtime user, entrypoint, and image naming.
  • Updated release workflow exclusions and GHCR image prefix.
  • Updated scripts, smoke tests, and web-test labels/configuration.
.github/workflows/release.yaml
Dockerfile
crates/*/src/**/*.rs
scripts/*
web-test/*
Rename the macOS capture FFI ABI and its Swift callback type while keeping the capture API behavior unchanged.
  • Renamed Swift @_cdecl exports and corresponding Rust extern declarations/calls.
  • Renamed the Swift NAL callback type and Rust callback usage.
  • Updated macOS logging, dispatch queue labels, and related documentation.
crates/mac-capturer/src/lib.rs
crates/mac-capturer/swift/MacCapturer.swift
crates/capturer/src/main.rs
Apply the LiyanLabs product and domain rebrand across documentation and platform-specific capture references.
  • Changed product links from scilaxy.ai to liyanlabs.com.
  • Updated Rust, Swift, Windows, and example comments/logging to the new names.
  • Renamed image and service references without changing network protocols or capture behavior.
README.md
crates/*/src/**/*.rs
crates/mac-capturer/examples/dump.rs
crates/mac-capturer/swift/MacCapturer.swift

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你好——我已经审阅了你的更改,看起来很棒!


Sourcery 对开源项目免费——如果你喜欢我们的审查结果,请考虑分享它们 ✨
Original comment in English

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Mile-Away
Mile-Away merged commit b5fe5a8 into main Sep 19, 2026
2 checks passed
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