p9: wire file tools server into session dispatcher
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
386b4f9ec8
commit
13e8cc75a6
|
|
@ -38,6 +38,7 @@ import (
|
||||||
"ollie/pkg/skills"
|
"ollie/pkg/skills"
|
||||||
"ollie/pkg/tools"
|
"ollie/pkg/tools"
|
||||||
"ollie/pkg/tools/execute"
|
"ollie/pkg/tools/execute"
|
||||||
|
"ollie/pkg/tools/file"
|
||||||
"ollie/pkg/tools/reasoning"
|
"ollie/pkg/tools/reasoning"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -778,6 +779,7 @@ func (s *Server) createSession(args []string) error {
|
||||||
|
|
||||||
newDisp := tools.NewDispatcherFunc(map[string]func() tools.Server{
|
newDisp := tools.NewDispatcherFunc(map[string]func() tools.Server{
|
||||||
"execute": execute.Decl(workdir),
|
"execute": execute.Decl(workdir),
|
||||||
|
"file": file.Decl(workdir),
|
||||||
"reasoning": reasoning.Decl(),
|
"reasoning": reasoning.Decl(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Reference in New Issue