Skip to content

Commit d5737cb

Browse files
Advertise goal composer action
1 parent bcd632e commit d5737cb

5 files changed

Lines changed: 36 additions & 6 deletions

File tree

src/CodexCommands.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,14 @@ export class CodexCommands {
151151
},
152152
{
153153
name: "goal",
154-
description: "Set, pause, resume, or clear a task goal.",
155-
input: { hint: "[<objective>|clear|pause|resume]" }
154+
description: "Set a goal to keep pursuing.",
155+
input: { hint: "[<objective>|clear|pause|resume]" },
156+
_meta: {
157+
commandAction: {
158+
kind: "prefixPrompt",
159+
presentation: "state",
160+
},
161+
},
156162
},
157163
{
158164
name: "logout",

src/__tests__/CodexACPAgent/data/available-commands-build-in.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,15 @@
6363
},
6464
{
6565
"name": "goal",
66-
"description": "Set, pause, resume, or clear a task goal.",
66+
"description": "Set a goal to keep pursuing.",
6767
"input": {
6868
"hint": "[<objective>|clear|pause|resume]"
69+
},
70+
"_meta": {
71+
"commandAction": {
72+
"kind": "prefixPrompt",
73+
"presentation": "state"
74+
}
6975
}
7076
},
7177
{

src/__tests__/CodexACPAgent/data/available-commands-skills.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,15 @@
6363
},
6464
{
6565
"name": "goal",
66-
"description": "Set, pause, resume, or clear a task goal.",
66+
"description": "Set a goal to keep pursuing.",
6767
"input": {
6868
"hint": "[<objective>|clear|pause|resume]"
69+
},
70+
"_meta": {
71+
"commandAction": {
72+
"kind": "prefixPrompt",
73+
"presentation": "state"
74+
}
6975
}
7076
},
7177
{

src/__tests__/CodexACPAgent/data/load-session-history.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,15 @@
6363
},
6464
{
6565
"name": "goal",
66-
"description": "Set, pause, resume, or clear a task goal.",
66+
"description": "Set a goal to keep pursuing.",
6767
"input": {
6868
"hint": "[<objective>|clear|pause|resume]"
69+
},
70+
"_meta": {
71+
"commandAction": {
72+
"kind": "prefixPrompt",
73+
"presentation": "state"
74+
}
6975
}
7076
},
7177
{

src/__tests__/CodexACPAgent/data/load-session-response-item-history-fallback.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,15 @@
6363
},
6464
{
6565
"name": "goal",
66-
"description": "Set, pause, resume, or clear a task goal.",
66+
"description": "Set a goal to keep pursuing.",
6767
"input": {
6868
"hint": "[<objective>|clear|pause|resume]"
69+
},
70+
"_meta": {
71+
"commandAction": {
72+
"kind": "prefixPrompt",
73+
"presentation": "state"
74+
}
6975
}
7076
},
7177
{

0 commit comments

Comments
 (0)