Skip to content

refactor(esa): replace kasa with official CLI - #21

Merged
furedea merged 9 commits into
mainfrom
refactor/migrate-esa-helpers
Aug 14, 2026
Merged

furedea merged 9 commits into
mainfrom
refactor/migrate-esa-helpers

Conversation

@furedea

@furedea furedea commented Aug 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • replace kasa-based helpers with the official esa CLI
  • preserve the Neovim editing flow for en, ee, eep, and es
  • add consistent help output and argument validation
  • remove kasa and legacy environment-based esa configuration

Tests

  • bats tests/esa
  • lefthook run pre-commit
  • zsh -ic "en -h"

Stack

Copilot AI lite review requested due to automatic review settings August 14, 2026 13:52

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

furedea added a commit that referenced this pull request Aug 14, 2026
## Summary

- upgrade the Home Manager Node.js package from 22 to 24
- provide the runtime required by the official esa CLI

## Tests

- nix flake check
- darwin-rebuild build --flake .#mba
- lefthook run pre-commit

## Stack

- 1/3: this PR
- 2/3: feat/add-esa-cli
- 3/3: refactor/migrate-esa-helpers (#21)
furedea added a commit that referenced this pull request Aug 14, 2026
## Summary

- package the official esa CLI with Nix
- install the package through Home Manager
- verify the packaged CLI version during the Nix build

## Tests

- nix flake check
- darwin-rebuild build --flake .#mba
- esa --help
- lefthook run pre-commit

## Stack

- 1/3: Node.js 24 (#22)
- 2/3: this PR
- 3/3: kasa migration (#21)
Base automatically changed from feat/add-esa-cli to main August 14, 2026 15:17
@furedea
furedea merged commit 33199d0 into main Aug 14, 2026
7 checks passed
@furedea
furedea deleted the refactor/migrate-esa-helpers branch August 14, 2026 15:17
furedea added a commit that referenced this pull request Oct 24, 2026
Refs furedea/agent-config#5

## 概要

`flake.lock` の `agent-config` を c6aacdf から 97c6b93 に更新します(agent-config の
PR #21 と #22 を取り込み).変更は `flake.lock` のみです.

agent-config#5 の「削除済みプロジェクトの誤検知」は #22 で修正されています.

## 検証

- `nix flake check`: 通過
- `darwin-rebuild build --flake .#mbp`: 成功(build のみ,activation なし)

## レンダリング済み agent ファイルの差分(現行世代との比較)

- `.claude/hooks/lib/check_selection.py`:
`source_listing.remaining_sources` を使うように変更(#22)
- `.claude/hooks/lib/source_listing.py`: 新規追加
-
`.claude/hooks/rules/protected_paths.json`,`.claude/settings.json`,`.codex/config.toml`:
新規ファイル `source_listing.py` の保護・読み取り許可エントリを追加するのみ
- ブートストラップはレンダリングされない(想定どおり)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: furedea <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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.

2 participants