Run script/setup in new worktrees and give each task a port block
This commit is contained in:
@@ -37,6 +37,7 @@ type Options struct {
|
||||
ForkSession bool
|
||||
GitName string
|
||||
GitEmail string
|
||||
Env []string
|
||||
Guidance string
|
||||
Hooks map[string][]HookMatcher
|
||||
MCPServers []*mcp.Server
|
||||
@@ -355,7 +356,7 @@ func buildEnv(opts Options) []string {
|
||||
env = append(env, kv)
|
||||
}
|
||||
|
||||
return append(env,
|
||||
env = append(env,
|
||||
"CLAUDE_CODE_ENTRYPOINT=sdk-go",
|
||||
"CLAUDE_CODE_DISABLE_AUTOUPDATER=1",
|
||||
"GIT_AUTHOR_NAME="+opts.GitName,
|
||||
@@ -363,6 +364,7 @@ func buildEnv(opts Options) []string {
|
||||
"GIT_COMMITTER_NAME="+opts.GitName,
|
||||
"GIT_COMMITTER_EMAIL="+opts.GitEmail,
|
||||
)
|
||||
return append(env, opts.Env...)
|
||||
}
|
||||
|
||||
func (s *Session) hookConfig(hooks map[string][]HookMatcher) map[string]any {
|
||||
|
||||
Reference in New Issue
Block a user