Files
hakorune/tools/archive/codex-tmux-notify.sh
Tomoaki 7d88c04c0e wip(phase15): AOT修正作業中 - Nyプラグインと標準ライブラリ実装
Phase 15のAOT/ネイティブビルド修正作業を継続中。
ChatGPTによるstd実装とプラグインシステムの改修を含む。

主な変更点:
- apps/std/: string.nyashとarray.nyashの標準ライブラリ追加
- apps/smokes/: stdライブラリのスモークテスト追加
- プラグインローダーv2の実装改修
- BoxCallのハンドル管理改善
- JIT hostcall registryの更新
- ビルドスクリプト(build_aot.sh, build_llvm.sh)の調整

まだ修正作業中のため、一部の機能は不完全な状態。

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 06:24:08 +09:00

29 lines
779 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# Simple Codex to Claude notification via tmux
# 既定セッション名: codex必要なら環境変数 CLAUDE_SESSION で上書き可)
CLAUDE_SESSION="${CLAUDE_SESSION:-codex}"
LOG_FILE="$HOME/.codex-work.log"
# Codex実行を記録
echo "[$(date)] Starting: codex $*" >> "$LOG_FILE"
# Codexを実行
codex "$@"
EXIT_CODE=$?
# 結果を記録
echo "[$(date)] Completed with code: $EXIT_CODE" >> "$LOG_FILE"
# Claudeに通知tmuxセッションがあれば
if tmux has-session -t "$CLAUDE_SESSION" 2>/dev/null; then
MESSAGE="🤖 Codex作業完了 Exit code: $EXIT_CODE"
tmux send-keys -t "$CLAUDE_SESSION" "# $MESSAGE" Enter
echo "✅ Notification sent to Claude"
else
echo "⚠️ Claude session not found"
fi
exit $EXIT_CODE