Riapplica la fase 5 di aKode (86e7c72e) sulla base ripulita:
- crate codex-* -> akode-*, codex-rs -> akode-rs, codex-cli -> akode-cli, binario e ausiliari akode;
- ~/.codex -> ~/.akode, CODEX_HOME -> AKODE_HOME, variabili CODEX_* -> AKODE_*, .codex/ -> .akode/ di progetto;
nessun fallback a ~/.codex o a CODEX_*;
- testi per l'utente "Codex" -> "aKode"; testi verso il modello e istruzioni di sistema invariati;
- snapshot insta rinominati (non ancora rigenerati).
I conflitti con la base ripulita sono stati risolti riapplicando la rinomina ai file senza le
funzioni di imeAI (script di mappa dei token per file).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
28 lines
887 B
Markdown
28 lines
887 B
Markdown
# ThreadManager Sample
|
|
|
|
Small one-shot binary that starts a Codex thread with `ThreadManager` from
|
|
`akode-core-api`, submits a single user turn, and prints the final assistant
|
|
message.
|
|
|
|
Authentication uses the configured credential storage under `AKODE_HOME`, including
|
|
`cli_auth_credentials_store`, `mcp_oauth_credentials_store`, and
|
|
`features.secret_auth_storage`. Local managed authentication requirements and auth
|
|
routing settings are respected. This also applies to `cargo run` builds. Other
|
|
execution settings remain the sample's built-in configuration.
|
|
|
|
```sh
|
|
cargo run -p akode-thread-manager-sample -- "Say hello"
|
|
```
|
|
|
|
Use `--model` to override the configured default model:
|
|
|
|
```sh
|
|
cargo run -p akode-thread-manager-sample -- --model gpt-5.2 "Say hello"
|
|
```
|
|
|
|
The prompt can also be piped through stdin:
|
|
|
|
```sh
|
|
printf 'Say hello\n' | cargo run -p akode-thread-manager-sample
|
|
```
|