Preserve manager skill bootstrap work

This commit is contained in:
2026-10-18 15:03:22 +01:00
parent 88595ebd55
commit ab9181eee9
13 changed files with 362 additions and 4 deletions
+9
View File
@@ -12,6 +12,7 @@ import (
"github.com/coder/websocket"
"github.com/coder/websocket/wsjson"
"git.a-wan.net/alan/pipelines/internal/pipeline"
"git.a-wan.net/alan/pipelines/internal/protocol"
)
@@ -74,6 +75,14 @@ func (c *channelChat) Messages(context.Context, string, int) ([]protocol.ChatMes
func (c *channelChat) Sessions(context.Context) ([]protocol.ChatSession, error) { return nil, nil }
func (c *channelChat) BeginChatCreate(context.Context, string, string, string) (pipeline.ChatCreateBootstrap, error) {
return pipeline.ChatCreateBootstrap{State: "created"}, nil
}
func (c *channelChat) SetChatCreateSession(context.Context, string, string) error { return nil }
func (c *channelChat) AdvanceChatCreate(context.Context, string, string) error { return nil }
func (c *channelChat) ActivateSkill(context.Context, string, string) error { return nil }
func (c *channelChat) Create(_ context.Context, title, directory string) (protocol.ChatSession, error) {
return protocol.ChatSession{ID: "ses_created", Title: title, Directory: directory}, nil
}