Base: codex-main originale (prima del fork aKode)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
---
|
||||
source: tui/src/onboarding/gateway_tests.rs
|
||||
expression: screen(&widget)
|
||||
---
|
||||
Use a custom provider or gateway
|
||||
|
||||
|
||||
○ Office office
|
||||
› ○ Team gateway team-gateway
|
||||
Create a custom provider or gateway
|
||||
|
||||
Press enter to use as default or esc to go back
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
source: tui/src/onboarding/gateway_tests.rs
|
||||
expression: screen(&widget)
|
||||
---
|
||||
Use a custom provider or gateway
|
||||
|
||||
|
||||
› Create a custom provider or gateway
|
||||
|
||||
|
||||
|
||||
Press enter to create or esc to go back
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
source: tui/src/onboarding/gateway_tests.rs
|
||||
expression: error
|
||||
---
|
||||
Use a custom provider or gateway
|
||||
The default provider is set by configuration policy or a launch
|
||||
override.
|
||||
|
||||
|
||||
› 1. Back
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
source: tui/src/onboarding/gateway_tests.rs
|
||||
expression: "screen(&widget, 4)"
|
||||
---
|
||||
Finish signing in to your gateway in the browser.
|
||||
https://office.example.test/authorize
|
||||
Press Ctrl+C to quit.
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
source: tui/src/onboarding/gateway_tests.rs
|
||||
expression: "screen(&widget, 4)"
|
||||
---
|
||||
Gateway sign-in expired.
|
||||
Press Enter to retry or Ctrl+C to quit.
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
source: tui/src/onboarding/gateway_tests.rs
|
||||
expression: "screen(&widget, 4)"
|
||||
---
|
||||
› Save
|
||||
Enter an environment variable name such as TEAM_API_KEY.
|
||||
|
||||
* Required
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
source: tui/src/onboarding/gateway_tests.rs
|
||||
expression: "screen(&widget, 4)"
|
||||
---
|
||||
› Save
|
||||
|
||||
* Required
|
||||
Enter the environment variable name on the app server.
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
source: tui/src/onboarding/gateway_tests.rs
|
||||
expression: screen(&widget)
|
||||
---
|
||||
Use a custom provider or gateway
|
||||
|
||||
|
||||
› ○ Office office
|
||||
Create a custom provider or gateway
|
||||
|
||||
|
||||
Press enter to use as default or esc to go back
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
source: tui/src/onboarding/gateway_tests.rs
|
||||
expression: terminal.backend().to_string()
|
||||
---
|
||||
Sign in another way
|
||||
|
||||
> 1. Use an OpenAI API key
|
||||
2. Use Amazon Bedrock
|
||||
3. Use Google Cloud Vertex AI
|
||||
4. Use a custom provider or gateway
|
||||
Press enter to continue
|
||||
Press esc to go back
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
source: tui/src/onboarding/gateway_tests.rs
|
||||
expression: "screen(&widget, 8)"
|
||||
---
|
||||
Base URL* https://team.example.test/v1?
|
||||
API key variable $TEAM_KEY
|
||||
› Save
|
||||
Enter an HTTP(S) base URL without credentials, a query, or a fragment.
|
||||
|
||||
* Required
|
||||
Enter the environment variable name on the app server.
|
||||
tab move · enter next/save · esc back
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
source: tui/src/onboarding/gcp_tests.rs
|
||||
expression: terminal.backend().to_string()
|
||||
---
|
||||
✓ Google Cloud Vertex AI configured
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
source: tui/src/onboarding/gcp_tests.rs
|
||||
expression: terminal.backend().to_string()
|
||||
---
|
||||
> Set up Google Cloud Vertex AI
|
||||
|
||||
Validating credentials and saving configuration…
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
source: tui/src/onboarding/gcp_tests.rs
|
||||
expression: terminal.backend().to_string()
|
||||
---
|
||||
> Set up Google Cloud Vertex AI
|
||||
|
||||
Enter an absolute file path on the host running Codex, or press Enter to
|
||||
use Application Default Credentials (ADC).
|
||||
|
||||
Credential file (optional):
|
||||
|
||||
To set up ADC with the Google Cloud CLI, run
|
||||
gcloud auth application-default login
|
||||
|
||||
|
||||
enter set up · esc back
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
source: tui/src/onboarding/gcp_tests.rs
|
||||
expression: terminal.backend().to_string()
|
||||
---
|
||||
> Set up Google Cloud Vertex AI
|
||||
|
||||
Press Enter to use global, or enter a Vertex AI location.
|
||||
|
||||
Location (optional): global
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
enter continue · esc back
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
source: tui/src/onboarding/gcp_tests.rs
|
||||
expression: terminal.backend().to_string()
|
||||
---
|
||||
> Set up Google Cloud Vertex AI
|
||||
|
||||
Enter the Google Cloud project ID to use with Vertex AI.
|
||||
|
||||
Project ID: test-project
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
enter continue · esc back
|
||||
@@ -0,0 +1,22 @@
|
||||
---
|
||||
source: tui/src/onboarding/gcp_tests.rs
|
||||
expression: terminal.backend().to_string()
|
||||
---
|
||||
> Set up Google Cloud Vertex AI
|
||||
|
||||
Enter an absolute file path on the
|
||||
host running Codex, or press Enter to
|
||||
use Application Default Credentials
|
||||
(ADC).
|
||||
|
||||
Credential file (optional): -adc.json
|
||||
|
||||
To set up ADC with the Google Cloud
|
||||
CLI, run
|
||||
gcloud auth application-default login
|
||||
|
||||
|
||||
enter set up · esc back
|
||||
|
||||
provider credential_file must be an
|
||||
absolute path
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
source: tui/src/onboarding/gcp_tests.rs
|
||||
expression: terminal.backend().to_string()
|
||||
---
|
||||
Sign in another way
|
||||
|
||||
> 1. Use an OpenAI API key
|
||||
Pay for what you use
|
||||
|
||||
2. Use Amazon Bedrock
|
||||
Connect using your AWS credentials
|
||||
|
||||
3. Use Google Cloud Vertex AI
|
||||
Connect using your Google Cloud credentials
|
||||
|
||||
Press enter to continue
|
||||
Press esc to go back
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
source: tui/src/onboarding/gcp_tests.rs
|
||||
expression: terminal.backend().to_string()
|
||||
---
|
||||
Sign in another way
|
||||
|
||||
1. Use an OpenAI API key
|
||||
2. Use Amazon Bedrock
|
||||
> 3. Use Google Cloud Vertex AI
|
||||
Press enter to continue
|
||||
Press esc to go back
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
source: tui/src/onboarding/gcp_tests.rs
|
||||
expression: terminal.backend().to_string()
|
||||
---
|
||||
Sign in with ChatGPT to use Codex as part of your paid plan
|
||||
or connect an API key for usage-based billing
|
||||
|
||||
> 1. Sign in with ChatGPT
|
||||
2. Sign in with Device Code
|
||||
3. Sign in another way
|
||||
Press enter to continue
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
source: tui/src/onboarding/auth.rs
|
||||
expression: terminal.backend().to_string()
|
||||
---
|
||||
> Use your own OpenAI API key for usage-based billing
|
||||
|
||||
Paste or type your API key below.
|
||||
|
||||
|
||||
|
||||
╭API key───────────────────────────────────────────────────────────────────────╮
|
||||
│Paste or type your API key │
|
||||
╰──────────────────────────────────────────────────────────────────────────────╯
|
||||
Press enter to save
|
||||
Press esc to go back
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
source: tui/src/onboarding/auth.rs
|
||||
expression: terminal.backend().to_string()
|
||||
---
|
||||
> Use your own OpenAI API key for
|
||||
usage-based billing
|
||||
|
||||
Paste or type your API key below.
|
||||
|
||||
|
||||
╭API key───────────────────────────────╮
|
||||
│Paste or type your API key │
|
||||
╰──────────────────────────────────────╯
|
||||
Press enter to save
|
||||
Press esc to go back
|
||||
@@ -0,0 +1,25 @@
|
||||
---
|
||||
source: tui/src/onboarding/auth.rs
|
||||
expression: contents
|
||||
---
|
||||
Finish signing in via your browser
|
||||
|
||||
If the link doesn't open automatically,
|
||||
press c to copy it:
|
||||
|
||||
https://auth.openai.com/oauth/authorize?re
|
||||
sponse_type=code&client_id=app_EMoamEEZ73f0C
|
||||
kXaXp7hrann&redirect_uri=http%3A%2F%2Flocalh
|
||||
ost%3A1455%2Fauth%2Fcallback&scope=openid%20
|
||||
profile%20email%20offline_access%20api.conne
|
||||
ctors.read%20api.connectors.invoke&code_chal
|
||||
lenge=1YM3Z8QbrLbdt9C3eX3j7UQ4GmFRmKz4OeVYwD
|
||||
6s5xA&code_challenge_method=S256&id_token_ad
|
||||
d_organizations=true&codex_cli_simplified_fl
|
||||
ow=true&state=8cHjQ4nVx2Yp7Lm9Rk3Wf6Ta1Bs5Du
|
||||
0Ei4Go7Nz2PqM&originator=codex_cli_rs
|
||||
|
||||
On a remote or headless machine? Press esc
|
||||
and choose Sign in with Device Code.
|
||||
|
||||
Press esc to cancel
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
source: tui/src/onboarding/bedrock_tests.rs
|
||||
expression: render_visible(&state)
|
||||
---
|
||||
Using Codex with AWS GovCloud
|
||||
|
||||
You are using Codex with AWS GovCloud. Please ensure you or your
|
||||
administrator have read the application configuration and security
|
||||
guidance before proceeding.
|
||||
|
||||
> Acknowledge
|
||||
|
||||
Press enter to continue
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
source: tui/src/onboarding/bedrock_tests.rs
|
||||
expression: initial
|
||||
---
|
||||
Using Codex with AWS
|
||||
GovCloud
|
||||
|
||||
You are using Codex with
|
||||
> Acknowledge
|
||||
↑/↓ scroll · enter
|
||||
@@ -0,0 +1,18 @@
|
||||
---
|
||||
source: tui/src/onboarding/trust_directory.rs
|
||||
assertion_line: 365
|
||||
expression: terminal.backend()
|
||||
---
|
||||
|
||||
Folder access
|
||||
/workspace/project
|
||||
|
||||
Trust this folder? Codex can read, edit, and run files here,
|
||||
subject to your permission settings. Folder settings can run code
|
||||
automatically, even without a model request. Continue only if you
|
||||
trust these files. Your trust decision will be saved.
|
||||
|
||||
› 1. Trust and continue
|
||||
2. Keep current directory
|
||||
|
||||
enter continue · esc cancel
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
source: tui/src/onboarding/trust_directory.rs
|
||||
expression: terminal.backend()
|
||||
---
|
||||
|
||||
Folder access
|
||||
/workspace/project
|
||||
|
||||
This existing task may retain settings and history, including
|
||||
project configuration or hooks loaded while it was trusted. To use
|
||||
restricted settings, start a new task. The folder's trust setting
|
||||
will not change.
|
||||
|
||||
› 1. Open existing task
|
||||
2. Back to Agent Command Center
|
||||
|
||||
enter continue · esc back
|
||||
@@ -0,0 +1,21 @@
|
||||
---
|
||||
source: tui/src/onboarding/trust_directory.rs
|
||||
expression: terminal.backend()
|
||||
---
|
||||
|
||||
Folder access
|
||||
/workspace/project/long-nested-folde
|
||||
r
|
||||
|
||||
Config, hooks, and exec policies
|
||||
from untrusted folders stay
|
||||
disabled. Trusted project folders
|
||||
can still contribute settings.
|
||||
Skills still load, and tools follow
|
||||
your permission settings. Opening
|
||||
will not change saved trust.
|
||||
|
||||
› 1. Open restricted
|
||||
2. Back to Agent Command Center
|
||||
|
||||
enter continue · esc back
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
source: tui/src/onboarding/trust_directory.rs
|
||||
expression: "terminal.backend().to_string().replace('\\\\', \"/\")"
|
||||
---
|
||||
Folder access
|
||||
workspace/…/repository
|
||||
Trust this folder? Codex can read,
|
||||
edit, and run files here, subject to
|
||||
your permission settings. Folder
|
||||
settings can run code automatically,
|
||||
even without a model request.
|
||||
Continue only if you trust these
|
||||
files. Your trust decision will be
|
||||
saved.
|
||||
› 1. Trust and continue
|
||||
2. Quit
|
||||
enter continue · esc quit
|
||||
@@ -0,0 +1,21 @@
|
||||
---
|
||||
source: tui/src/onboarding/trust_directory.rs
|
||||
expression: "terminal.backend().to_string().replace('\\\\', \"/\")"
|
||||
---
|
||||
Folder access
|
||||
workspace/…/repository/checkout
|
||||
Note: You’re in a subdirectory of a
|
||||
Git project. Trusting will apply to
|
||||
the repository root:
|
||||
workspace/…/repository
|
||||
Trust this folder? Codex can read,
|
||||
edit, and run files here, subject to
|
||||
your permission settings. Folder
|
||||
settings can run code automatically,
|
||||
even without a model request.
|
||||
Continue only if you trust these
|
||||
files. Your trust decision will be
|
||||
saved.
|
||||
› 1. Trust and continue
|
||||
2. Quit
|
||||
enter continue · esc quit
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
source: tui/src/onboarding/trust_directory.rs
|
||||
expression: "terminal.backend().to_string().replace('\\\\', \"/\")"
|
||||
---
|
||||
Folder access
|
||||
Note: You’re in a subdirectory of a
|
||||
Git project. Trusting will apply to
|
||||
the repository root:
|
||||
workspace/…/repository
|
||||
Trust this folder? Codex can read,
|
||||
edit, and run files here, subject to
|
||||
your permission settings. Folder
|
||||
settings can run code automatically,
|
||||
even without a model request.
|
||||
Continue only if you trust these
|
||||
files. Your trust decision will be
|
||||
saved.
|
||||
› 1. Trust and continue
|
||||
2. Quit
|
||||
enter continue · esc quit
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
source: tui/src/onboarding/trust_directory.rs
|
||||
expression: terminal.backend()
|
||||
---
|
||||
|
||||
Folder access
|
||||
/workspace/project
|
||||
|
||||
Config, hooks, and exec policies from untrusted folders stay
|
||||
disabled. Trusted project folders can still contribute settings.
|
||||
Skills still load, and tools follow your permission settings.
|
||||
Opening will not change saved trust.
|
||||
|
||||
› 1. Open restricted
|
||||
2. Back to Agent Command Center
|
||||
|
||||
enter continue · esc back
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
source: tui/src/onboarding/trust_directory.rs
|
||||
expression: terminal.backend()
|
||||
---
|
||||
|
||||
Folder access
|
||||
/workspace/project
|
||||
|
||||
Trust this folder? Codex can read, edit, and run files here,
|
||||
subject to your permission settings. Folder settings can run code
|
||||
automatically, even without a model request. Continue only if you
|
||||
trust these files. Your trust decision will be saved.
|
||||
|
||||
› 1. Trust and continue
|
||||
2. Quit
|
||||
|
||||
enter continue and create sandbox · esc quit
|
||||
@@ -0,0 +1,21 @@
|
||||
---
|
||||
source: tui/src/onboarding/trust_directory.rs
|
||||
expression: "terminal.backend().to_string().lines().map(str::trim_end).collect::<Vec<_>>().join(\"\\n\")"
|
||||
---
|
||||
|
||||
Folder access
|
||||
/srv/remote/project/nested
|
||||
|
||||
Note: You’re in a subdirectory of a Git project. Trusting will
|
||||
apply to the repository root:
|
||||
/srv/remote/project
|
||||
|
||||
Trust this folder? Codex can read, edit, and run files here,
|
||||
subject to your permission settings. Folder settings can run code
|
||||
automatically, even without a model request. Continue only if you
|
||||
trust these files. Your trust decision will be saved.
|
||||
|
||||
› 1. Trust and continue
|
||||
2. Back to Agent Command Center
|
||||
|
||||
enter continue · esc back
|
||||
@@ -0,0 +1,21 @@
|
||||
---
|
||||
source: tui/src/onboarding/trust_directory.rs
|
||||
expression: terminal.backend()
|
||||
---
|
||||
|
||||
Folder access
|
||||
/workspace/project
|
||||
|
||||
Trust this folder? Codex can read, edit, and run files here,
|
||||
subject to your permission settings. Folder settings can run code
|
||||
automatically, even without a model request. Continue only if you
|
||||
trust these files. Your trust decision will be saved.
|
||||
|
||||
› 1. Trust and continue
|
||||
2. Quit
|
||||
|
||||
Failed to set trust for /workspace/project: config/batchWrite
|
||||
failed in TUI: Invalid configuration: features.fast_mode=true is
|
||||
not supported; allowed set [fast_mode=false]
|
||||
|
||||
enter continue · esc quit
|
||||
@@ -0,0 +1,25 @@
|
||||
---
|
||||
source: tui/src/onboarding/welcome.rs
|
||||
expression: visible.trim_end()
|
||||
---
|
||||
⢀⣀⣠⣤⣤⣤⣤⣤⣤⣀⣀
|
||||
⢀⣤⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣤⡀
|
||||
⢀⣠⣾⣿⣿⣿⣿⡿⠟⠛⠋⠉⠉⠙⠛⠛⠿⣿⣿⣿⣿⣿⣷⡄
|
||||
⣠⣾⣿⣿⣿⠿⠋ ⠉⠛⣿⣿⣿⣿⣷⡀
|
||||
⣰⣿⣿⣿⡟⠁ ⠹⣿⣿⣿⣿⡄
|
||||
⣼⣿⣿⣿⠟ ⣀⣤⡀ ⠈⢿⣿⣿⣷⡀
|
||||
⢠⣿⣿⣿⡟ ⣿⣿⣿⣄ ⠘⣿⣿⣿⣧
|
||||
⢸⣿⣿⣿⠁ ⠙⣿⣿⣿⣆ ⢿⣿⣿⣿
|
||||
⢾⣿⣿⣿ ⢸⣿⣿⣿⠆ ⢸⣿⣿⣿⠆
|
||||
⣾⣿⣿⣿ ⣠⣿⣿⣿⠏ ⢀⣀⣀⣀⣀⣀⣀⡀ ⢸⣿⣿⣿
|
||||
⠸⣿⣿⣿⡆ ⢰⣿⣿⣿⠇ ⣿⣿⣿⣿⣿⣿⣿⣿⡆ ⢀⣿⣿⣿⡟
|
||||
⢻⣿⣿⣿⣄ ⠉⠛⠁ ⠙⠛⠛⠛⠛⠛⠛⠋ ⢀⣼⣿⣿⣿⠃
|
||||
⠈⢻⣿⣿⣿⣦⡀ ⣠⣾⣿⣿⣿⠇
|
||||
⠻⣿⣿⣿⣿⣤⣀ ⢀⣠⣾⣿⣿⣿⡿⠃
|
||||
⠈⠻⣿⣿⣿⣿⣷⣶⣤⣄⣀⣀⣀⢀⣀⣠⣤⣴⣿⣿⣿⣿⣿⠛
|
||||
⠙⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠋
|
||||
⠉⠙⠛⠿⠿⠿⠿⠿⠿⠿⠛⠋⠁
|
||||
|
||||
|
||||
|
||||
Welcome to Codex, OpenAI's command-line coding agent
|
||||
Reference in New Issue
Block a user