Changeset 0.29.0 (#195)

This commit is contained in:
2026-03-17 16:28:47 +00:00
parent 128cbb8174
commit 5d637d3a90
129 changed files with 9418 additions and 3016 deletions

View File

@@ -2,6 +2,7 @@ package store
import (
"context"
"time"
"git.gobha.me/xcaliber/chat-switchboard/models"
)
@@ -44,4 +45,26 @@ type ProjectStore interface {
// Get KB IDs bound to a project (used for virtual injection at completion)
GetKBIDs(ctx context.Context, projectID string) ([]string, error)
// ── CS5c additions (v0.29.0) ──
// AdminList returns all projects with counts and owner names (admin only).
AdminList(ctx context.Context, includeArchived bool) ([]AdminProject, error)
}
// AdminProject is returned by ProjectStore.AdminList.
type AdminProject struct {
ID string
Name string
Description string
Scope string
OwnerID string
TeamID *string
IsArchived bool
CreatedAt time.Time
UpdatedAt time.Time
ChannelCount int
KBCount int
NoteCount int
OwnerName string
}