You've already forked agentic-coding-workflow
修改
This commit is contained in:
@@ -22,7 +22,8 @@ type SessionContext struct {
|
||||
WorkspaceID uuid.UUID
|
||||
UserID uuid.UUID
|
||||
CwdPath string
|
||||
AgentSessionID *string // 可能 nil(handshake 未完成时不应触发 fs/* 但兜底)
|
||||
AgentSessionID *string // 可能 nil(handshake 未完成时不应触发 fs/* 但兜底)
|
||||
ToolAllowlist []string // agent kind 配置的工具白名单,命中则自动放行
|
||||
}
|
||||
|
||||
// FsResult 是 fs/* method 处理后返回给 relay 的结果。要么 OK(带 result),
|
||||
@@ -48,4 +49,3 @@ type FsHandler struct {
|
||||
func NewFsHandler() *FsHandler {
|
||||
return &FsHandler{Read: NewFsReadHandler(), Write: NewFsWriteHandler()}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user