You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an explicit --files list grammar for shell-expanded inputs while
preserving the established single and repeated -f behavior. This avoids
classifying positional prompt tokens by filesystem existence and makes the
file/prompt boundary explicit.
Apply command preludes before --info with defined REPL fallback semantics,
parse editor commands into an executable plus arguments without invoking a
shell, and reuse that parser for REPL buffer editing. Move local image reads
to Tokio, use the configured warning color for generated shell commands, and
document installation and local-agent layouts.
Adapt the bounded fixes discussed in:
sigoden#1451sigoden#1509sigoden#1534sigoden#1533sigoden#1512sigoden#1525sigoden#1383sigoden#1437sigoden#1486
Co-Authored-By: Codex CLI <noreply@openai.com>
Experience an interactive Chat-REPL with features like tab autocompletion, multi-line input support, history search, configurable keybindings, and custom REPL prompts.
38
40
41
+
Editor commands from the `editor` configuration, `VISUAL`, or `EDITOR` may include arguments. They use POSIX shell-word quoting on every platform, so executable paths containing spaces must be quoted, for example `"C:\Program Files\Helix\hx.exe" --wait`.
A minimal local agent requires an agent definition and an entry in `agents.txt` under the functions directory. The agent-specific `config.yaml` is optional and only overrides runtime configuration such as the model, temperature, or default variables.
114
+
115
+
```text
116
+
<aichat-config-dir>/
117
+
functions/
118
+
agents.txt # contains: my-agent
119
+
agents/
120
+
my-agent/
121
+
index.yaml # required agent definition
122
+
functions.json # optional tools
123
+
agents/
124
+
my-agent/
125
+
config.yaml # optional agent-specific config
126
+
```
127
+
128
+
Example `functions/agents.txt`:
129
+
130
+
```text
131
+
my-agent
132
+
```
133
+
134
+
Example `functions/agents/my-agent/index.yaml`:
135
+
136
+
```yaml
137
+
name: my-agent
138
+
description: Helps with local project tasks.
139
+
instructions: |
140
+
You are a concise assistant for this project.
141
+
```
142
+
143
+
After creating these files, run `aichat --list-agents` to confirm that the agent is discoverable, then use it with `aichat -a my-agent`.
144
+
108
145
### Local Server Capabilities
109
146
110
147
AIChat includes a lightweight built-in HTTP server for easy deployment.
0 commit comments