Skip to content

Add Codex Micro support to Sweep Pro - #3

Merged
sky-bro merged 1 commit into
mainfrom
agent/codex-micro-support
Aug 11, 2026
Merged

sky-bro merged 1 commit into
mainfrom
agent/codex-micro-support

Conversation

@sky-bro

@sky-bro sky-bro commented Aug 9, 2026 •

Copy link
Copy Markdown
Member

What

  • add a conditional Codex layer with Agent 1–6 and mnemonic ChatGPT action keys
  • map A/S/D/F/H/J to Approve, Split chat, Decline, Fast, Voice, and Send
  • enter the layer from FUN + I, keep O as media mute, and preserve the normal keymap when the module is absent
  • pin the public Codex module and Agent-status display revisions
  • make USB + Bluetooth Codex support part of the default firmware matrix and default GitHub Actions build
  • document automatic CI patching and a portable local build workflow

Why

This integrates the public nxtkb/zmk-feature-codex-micro module without carrying a fork of upstream ZMK. Codex is now the supported default left-side firmware configuration; right-side and settings-reset artifacts remain unchanged.

Validation

  • Sweep Pro left, Codex USB + BLE firmware
  • Sweep Pro left display, Codex USB + BLE firmware
  • default GitHub Actions matrix
  • west patch -sm zmk-feature-codex-micro apply
  • git diff --check

Related

Comment thread docs/en/local-build.md Outdated

```shell
cd "$NXTKB_ROOT"
source ./activate-zmk-macos.zsh

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

我看还依赖了activate-zmk-macos.zsh文件,但是我并没看到提交的代码有这个,是否引入了一些本地的东西,注意不要引入不存在的东西,教程应该要通用

Comment thread .github/workflows/build-codex.yml Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

这个是通用的吗,我们最终应该默认都是集成codex micro功能的,需要新引入build yaml吗,为什么不是覆盖原来的,是原来没有吗

Comment thread config/sweep.keymap Outdated
#define CODEX_EXIT &tog CODEX
#define CODEX_KEY(n) &codex_key n
#else
#define CODEX_ENTRY &kp C_MUTE

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

这个C_MUTE键已经有了吧,这里是不是不需要。

Comment thread docs/zh_CN/local-build.md Outdated

```shell
cd "$NXTKB_ROOT"
source ./activate-zmk-macos.zsh

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

通英文版,这里依赖了不存在的文件。

Comment thread .github/workflows/build.yml Outdated
jobs:
build:
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@cb615aee9a7c427e251f2ab62080c1a44a165da9
uses: nxtkb/zmk-feature-codex-micro/.github/workflows/build-user-config.yml@cccb726a7afe63f3327c3e1c20445fa1eb011904

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

我们这里引用一个模块的build文件会不会有点奇怪呢?

@sky-bro
sky-bro force-pushed the agent/codex-micro-support branch 2 times, most recently from db6e951 to 29e7c8b Compare August 10, 2026 16:06
@sky-bro
sky-bro marked this pull request as ready for review August 10, 2026 16:24
@sky-bro
sky-bro force-pushed the agent/codex-micro-support branch from 29e7c8b to 0b9a52b Compare August 11, 2026 15:10
@sky-bro
sky-bro merged commit ce9502b into main Aug 11, 2026
7 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