Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.12"]
python-version: ["3.11", "3.12"]

steps:
- uses: actions/checkout@v7
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
## Prerequisites

- **Codex installed and logged in.** The bridge drives a real Codex session, so the `codex` CLI has to be on the machine and authenticated — install it ([developers.openai.com/codex](https://developers.openai.com/codex)), then either sign in with a ChatGPT/Codex login or set `OPENAI_API_KEY`. `inkbox-codex doctor` checks for it.
- **Python 3.10+.** The installer finds one and builds the bridge its own venv.
- **Python 3.11+.** The installer finds one and builds the bridge its own venv.
- **macOS or Linux.** Boot persistence uses a systemd user unit on Linux and a launchd agent on macOS.
- **An Inkbox agent** — nothing to set up in advance; the setup wizard self-signs up for you (or takes an existing API key).

## Get started — one command

This finds a Python 3.10+, installs the bridge in its own venv, puts `inkbox-codex` on your PATH, and runs the setup wizard:
This finds a Python 3.11+, installs the bridge in its own venv, puts `inkbox-codex` on your PATH, and runs the setup wizard:

```bash
curl -fsSL https://raw.githubusercontent.com/inkbox-ai/codex-plugin/main/install.sh | bash
Expand Down Expand Up @@ -70,7 +70,7 @@ you (phone) ── SMS / iMessage / email / call ──▶ Inkbox ──▶

## Manual install

If you'd rather not run the installer (any Python 3.10+ environment):
If you'd rather not run the installer (any Python 3.11+ environment):

```bash
pip install -e .
Expand Down
12 changes: 6 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#
# ./install.sh
#
# Finds a Python 3.10+, sets up an isolated venv, installs the bridge, puts
# Finds a Python 3.11+, sets up an isolated venv, installs the bridge, puts
# `inkbox-codex` on your PATH, then runs the setup wizard. Re-runnable.
#
# Flags:
Expand Down Expand Up @@ -54,22 +54,22 @@ ok() { echo " ${GREEN}✓${RESET} $*"; }
warn() { echo " ${YELLOW}!${RESET} $*"; }
die() { echo "${RED}✗ $*${RESET}" >&2; exit 1; }

# --- 1. find Python 3.10+ --------------------------------------------------
# --- 1. find Python 3.11+ --------------------------------------------------
find_python() {
local c v maj min
for c in python3.13 python3.12 python3.11 python3.10 python3 python; do
for c in python3.13 python3.12 python3.11 python3 python; do
command -v "$c" >/dev/null 2>&1 || continue
v="$("$c" -c 'import sys;print("%d.%d"%sys.version_info[:2])' 2>/dev/null || echo 0.0)"
maj="${v%.*}"; min="${v#*.}"
if [ "$maj" = "3" ] && [ "$min" -ge 10 ] 2>/dev/null; then
if [ "$maj" = "3" ] && [ "$min" -ge 11 ] 2>/dev/null; then
echo "$c"; return 0
fi
done
return 1
}

step "Looking for Python 3.10+"
PY="$(find_python)" || die "No Python 3.10+ found. Install python3.11+ and re-run."
step "Looking for Python 3.11+"
PY="$(find_python)" || die "No Python 3.11+ found. Install python3.11+ and re-run."
ok "using $($PY --version 2>&1) at $(command -v "$PY")"

# --- 2. get the source -----------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "codex-plugin"
version = "0.1.4"
description = "Inkbox bridge for Codex — talk to your coding agent over email, SMS, iMessage, and voice"
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"aiohttp>=3.9",
"inkbox>=0.4.24,<1.0.0",
Expand Down