Publish Claude Code Binaries / Stage and publish binaries (push) Canceled after 0s
Publish Tutti App Runtime / Build darwin-arm64 (push) Canceled after 0s
Publish Tutti App Runtime / Build darwin-amd64 (push) Canceled after 0s
Publish Tutti App Runtime / Build linux-amd64 (push) Canceled after 0s
Publish Tutti App Runtime / Build windows-amd64 (push) Canceled after 0s
Sync Tutti Agent Skills / sync (push) Canceled after 0s
Windows Agent Adapters / Test Windows agent adapters (push) Canceled after 0s
Windows Daemon Adapters / Test Windows daemon adapters (push) Canceled after 0s
Publish Tutti App Runtime / Publish runtime catalog (push) Canceled after 0s
31 lines
951 B
Go
31 lines
951 B
Go
package workspace
|
|
|
|
import (
|
|
agentstore "github.com/tutti-os/tutti/packages/agent/store-sqlite"
|
|
)
|
|
|
|
// Test-only shims for rail classification helpers that moved into the
|
|
// embedded agent store; they keep the pre-extraction test bodies unchanged.
|
|
|
|
const (
|
|
agentSessionRailSectionKindConversations = agentstore.RailSectionKindConversations
|
|
agentSessionRailSectionKindProject = agentstore.RailSectionKindProject
|
|
agentSessionRailSectionKeyConversations = agentstore.RailSectionKeyConversations
|
|
)
|
|
|
|
func normalizeAgentSessionRailPath(path string) string {
|
|
return agentstore.NormalizeProjectPath(path)
|
|
}
|
|
|
|
func agentSessionRailSectionKeyForProject(projectPath string) string {
|
|
return agentstore.RailSectionKeyForProject(projectPath)
|
|
}
|
|
|
|
func classifyAgentSessionRailSection(
|
|
cwd string,
|
|
runtimeContext map[string]any,
|
|
projectPaths []string,
|
|
) agentstore.RailSection {
|
|
return agentstore.ClassifyRailSection(cwd, runtimeContext, projectPaths)
|
|
}
|