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
* Extract the agent ID from the --id command line flag
12
+
*/
13
+
functiongetAgentIdFromArgs(): string|undefined{
14
+
constargs=process.argv;
15
+
constidIndex=args.indexOf("--id");
16
+
if(idIndex!==-1&&idIndex+1<args.length){
17
+
returnargs[idIndex+1];
18
+
}
19
+
returnundefined;
20
+
}
21
+
22
+
exportconststatusTool: Tool={
23
+
name: "Status",
24
+
displayName: "Status",
25
+
description: `Set the current status of your task for the user to see
26
+
27
+
The available statuses are:
28
+
- PLANNING: You are creating a plan before beginning implementation
29
+
- WORKING: The task is in progress
30
+
- DONE: The task is complete
31
+
- BLOCKED: You need further information from the user in order to proceed
32
+
33
+
You should use this tool to notify the user whenever the state of your work changes. By default, the status is assumed to be "PLANNING" prior to you setting a different status.`,
0 commit comments