Skip to content

Commit 6e243cc

Browse files
committed
Revert "rename none personality to disabled"
This reverts commit 8262b88.
1 parent 8262b88 commit 6e243cc

15 files changed

Lines changed: 22 additions & 22 deletions

File tree

codex-rs/app-server-protocol/schema/json/ClientRequest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@
11711171
},
11721172
"Personality": {
11731173
"enum": [
1174-
"disabled",
1174+
"none",
11751175
"friendly",
11761176
"pragmatic"
11771177
],

codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12120,7 +12120,7 @@
1212012120
},
1212112121
"Personality": {
1212212122
"enum": [
12123-
"disabled",
12123+
"none",
1212412124
"friendly",
1212512125
"pragmatic"
1212612126
],

codex-rs/app-server-protocol/schema/json/v2/ThreadResumeParams.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
},
252252
"Personality": {
253253
"enum": [
254-
"disabled",
254+
"none",
255255
"friendly",
256256
"pragmatic"
257257
],

codex-rs/app-server-protocol/schema/json/v2/ThreadStartParams.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"Personality": {
3131
"enum": [
32-
"disabled",
32+
"none",
3333
"friendly",
3434
"pragmatic"
3535
],

codex-rs/app-server-protocol/schema/json/v2/TurnStartParams.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
},
6767
"Personality": {
6868
"enum": [
69-
"disabled",
69+
"none",
7070
"friendly",
7171
"pragmatic"
7272
],

codex-rs/app-server-protocol/schema/typescript/Personality.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
44

5-
export type Personality = "disabled" | "friendly" | "pragmatic";
5+
export type Personality = "none" | "friendly" | "pragmatic";

codex-rs/app-server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Start a fresh thread when you need a new Codex conversation.
147147
{ "method": "thread/started", "params": { "thread": { } } }
148148
```
149149

150-
Valid `personality` values are `"friendly"`, `"pragmatic"`, and `"disabled"`. When `"disabled"` is selected, the personality placeholder is replaced with an empty string.
150+
Valid `personality` values are `"friendly"`, `"pragmatic"`, and `"none"`. When `"none"` is selected, the personality placeholder is replaced with an empty string.
151151

152152
To continue a stored session, call `thread/resume` with the `thread.id` you previously recorded. The response shape matches `thread/start`, and no additional notifications are emitted. You can also pass the same configuration overrides supported by `thread/start`, such as `personality`:
153153

codex-rs/core/config.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@
708708
},
709709
"Personality": {
710710
"enum": [
711-
"disabled",
711+
"none",
712712
"friendly",
713713
"pragmatic"
714714
],

codex-rs/core/tests/suite/personality.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ async fn config_personality_none_sends_no_personality() -> anyhow::Result<()> {
182182
.with_config(|config| {
183183
config.features.disable(Feature::RemoteModels);
184184
config.features.enable(Feature::Personality);
185-
config.personality = Some(Personality::Disabled);
185+
config.personality = Some(Personality::None);
186186
});
187187
let test = builder.build(&server).await?;
188188

codex-rs/docs/codex_mcp_interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Send input to the active turn:
7373
- `sendUserMessage` → enqueue items to the conversation
7474
- `sendUserTurn` → structured turn with explicit `cwd`, `approvalPolicy`, `sandboxPolicy`, `model`, optional `effort`, `summary`, optional `personality`, and optional `outputSchema` (JSON Schema for the final assistant message)
7575

76-
Valid `personality` values are `friendly`, `pragmatic`, and `disabled`. When `disabled` is selected, the personality placeholder is replaced with an empty string.
76+
Valid `personality` values are `friendly`, `pragmatic`, and `none`. When `none` is selected, the personality placeholder is replaced with an empty string.
7777

7878
For v2 threads, `turn/start` also accepts `outputSchema` to constrain the final assistant message for that turn.
7979

0 commit comments

Comments
 (0)