File tree Expand file tree Collapse file tree
packages/opencode/src/cli/cmd Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ const AgentCreateCommand = effectCmd({
8484 // Determine scope/path
8585 let targetPath : string
8686 if ( cliPath ) {
87- targetPath = path . join ( cliPath , "agent " )
87+ targetPath = path . join ( cliPath , "agents " )
8888 } else {
8989 let scope : "global" | "project" = "global"
9090 if ( project . vcs === "git" ) {
@@ -106,7 +106,7 @@ const AgentCreateCommand = effectCmd({
106106 if ( prompts . isCancel ( scopeResult ) ) throw new UI . CancelledError ( )
107107 scope = scopeResult
108108 }
109- targetPath = path . join ( scope === "global" ? Global . Path . config : path . join ( ctx . worktree , ".opencode" ) , "agent " )
109+ targetPath = path . join ( scope === "global" ? Global . Path . config : path . join ( ctx . worktree , ".opencode" ) , "agents " )
110110 }
111111
112112 // Get description
You can’t perform that action at this time.
0 commit comments