aKode fase 5: rinomina interna (crate akode-*, akode-rs/, akode-cli/, binario akode, AKODE_*, ~/.akode, snapshot)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -6,12 +6,12 @@ supported.
|
||||
|
||||
- `printenv OPENAI_API_KEY | codex login --with-api-key` stores an API key
|
||||
(keyring or `auth.json`, depending on `cli_auth_credentials_store`).
|
||||
- `codex login status` shows whether a key is stored.
|
||||
- `codex logout` deletes the stored credentials locally; nothing is sent to a
|
||||
- `akode login status` shows whether a key is stored.
|
||||
- `akode logout` deletes the stored credentials locally; nothing is sent to a
|
||||
remote service.
|
||||
- `CODEX_API_KEY` supplies a key for a single run without storing it.
|
||||
- `AKODE_API_KEY` supplies a key for a single run without storing it.
|
||||
- Custom model providers authenticate with their own `env_key`,
|
||||
`experimental_bearer_token`, `auth` command, or HTTP headers.
|
||||
|
||||
Credentials stored by older releases that used ChatGPT sign-in are ignored;
|
||||
run `codex logout` and log in again with an API key.
|
||||
run `akode logout` and log in again with an API key.
|
||||
|
||||
@@ -17,7 +17,7 @@ The GitHub Release also contains a [DotSlash](https://dotslash-cli.com/) file fo
|
||||
```bash
|
||||
# Clone the repository and navigate to the root of the Cargo workspace.
|
||||
git clone https://github.com/openai/codex.git
|
||||
cd codex/codex-rs
|
||||
cd codex/akode-rs
|
||||
|
||||
# Install the Rust toolchain, if necessary.
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
@@ -37,12 +37,12 @@ cargo build
|
||||
# Launch the TUI with a sample prompt.
|
||||
cargo run --bin codex -- "explain this codebase to me"
|
||||
|
||||
# After making changes, use the root justfile helpers (they default to codex-rs):
|
||||
# After making changes, use the root justfile helpers (they default to akode-rs):
|
||||
just fmt
|
||||
just fix -p <crate-you-touched>
|
||||
|
||||
# Run the relevant tests (project-specific is fastest), for example:
|
||||
just test -p codex-tui
|
||||
just test -p akode-tui
|
||||
# `just test` runs the test suite via nextest:
|
||||
just test
|
||||
# Avoid `--all-features` for routine local runs because it increases build
|
||||
@@ -60,6 +60,6 @@ codex -c log_dir=./.codex-log
|
||||
tail -F ./.codex-log/codex-tui.log
|
||||
```
|
||||
|
||||
The non-interactive mode (`codex exec`) defaults to `RUST_LOG=error`, but messages are printed inline, so there is no need to monitor a separate file.
|
||||
The non-interactive mode (`akode exec`) defaults to `RUST_LOG=error`, but messages are printed inline, so there is no need to monitor a separate file.
|
||||
|
||||
See the Rust documentation on [`RUST_LOG`](https://docs.rs/env_logger/latest/env_logger/#enabling-logging) for more information on the configuration options.
|
||||
|
||||
Reference in New Issue
Block a user