aKode fase 2a: rimossi cloud tasks, chatgpt apply, responses-api-proxy, codex app, remote control, guardian decisions; realtime senza fallback OpenAI; doctor senza sonde OpenAI

This commit is contained in:
Andrea
2026-11-09 13:15:08 +01:00
parent 39a103d16f
commit 137106bf17
172 changed files with 485 additions and 42398 deletions

View File

@@ -33,11 +33,9 @@ initialize the connection, the TUI starts an embedded server instead. Explicit
codex app-server daemon start
codex app-server daemon restart
codex app-server daemon update
codex app-server daemon enable-remote-control
codex app-server daemon disable-remote-control
codex app-server daemon stop
codex app-server daemon version
codex app-server daemon bootstrap --remote-control
codex app-server daemon bootstrap
```
On success, every command writes exactly one JSON object to stdout. Consumers
@@ -81,7 +79,7 @@ For a new Linux or macOS machine:
```sh
curl -fsSL https://chatgpt.com/codex/install.sh | sh
$HOME/.codex/packages/standalone/current/codex app-server daemon bootstrap --remote-control
$HOME/.codex/packages/standalone/current/codex app-server daemon bootstrap
```
On Windows, use a non-elevated PowerShell terminal whose host allows breakaway:
@@ -89,7 +87,7 @@ On Windows, use a non-elevated PowerShell terminal whose host allows breakaway:
```powershell
irm https://chatgpt.com/codex/install.ps1 | iex
$codexHome = if ($env:CODEX_HOME) { $env:CODEX_HOME } else { Join-Path $HOME '.codex' }
& "$codexHome\packages\standalone\current\bin\codex.exe" app-server daemon bootstrap --remote-control
& "$codexHome\packages\standalone\current\bin\codex.exe" app-server daemon bootstrap
```
`bootstrap` can use any complete CLI package. If no daemon package is installed,
@@ -165,25 +163,16 @@ JSON-RPC initialize handshake on the Unix control socket.
`restart` stops any managed daemon and starts it again.
`enable-remote-control` and `disable-remote-control` persist the launch setting
for future starts. If a managed app-server is already running, they restart it
so the new setting takes effect immediately.
Top-level `codex remote-control start` enables and persists remote control for
the managed daemon, overriding a saved disabled value. It starts or bootstraps
the daemon as needed. Plain `codex remote-control` uses the managed daemon when
eligible; `codex remote-control --no-daemon` runs a separate foreground server.
`codex remote-control stop` stops the managed daemon without clearing its saved
remote-control preference.
`daemon start` and `daemon restart` use that saved preference. `daemon bootstrap`
sets it according to `--remote-control` (disabled when omitted).
Remote control (the ChatGPT relay) was removed in aKode: the managed app-server
is always launched without it, and the `codex remote-control` command and the
`enable-remote-control` / `disable-remote-control` daemon subcommands no longer
exist.
`stop` sends a graceful termination request first, then force-terminates the
process after the configured grace window if it is still alive.
All mutating lifecycle commands are serialized per `CODEX_HOME`, so a concurrent
`start`, `restart`, `enable-remote-control`, `disable-remote-control`, `stop`,
or `bootstrap` does not race another in-flight lifecycle operation.
`start`, `restart`, `stop`, or `bootstrap` does not race another in-flight lifecycle operation.
## State