diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index c96f81d..af5ce7b 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -1,6 +1,6 @@ # .gitea/workflows/ci.yaml # ============================================ -# Chat Switchboard - CI/CD Pipeline (v0.17.3) +# Switchboard Core - CI/CD Pipeline (v0.17.3) # ============================================ # Cluster deployments use SEPARATE FE + BE images. # Unified image is for Docker Hub only (docker-compose use). @@ -44,7 +44,7 @@ # - Bootstrap uses IF NOT EXISTS (idempotent) # - Dev wipe REFUSES to run on databases not ending in _dev # - Admin creds never reach the backend pods -# - Each env has its own DB name (chat_switchboard_{dev,test,}) +# - Each env has its own DB name (switchboard_core_{dev,test,}) # # Required Gitea Variables: # REGISTRY, NAMESPACE, DOMAIN, POSTGRES_HOST @@ -90,7 +90,7 @@ env: POSTGRES_PORT: ${{ vars.POSTGRES_PORT || '5432' }} FE_IMAGE: ${{ vars.REGISTRY }}/xcaliber/switchboard-fe BE_IMAGE: ${{ vars.REGISTRY }}/xcaliber/switchboard-be - DOCKERHUB_IMAGE: ${{ vars.DOCKERHUB_IMAGE || 'gobha/chat-switchboard' }} + DOCKERHUB_IMAGE: ${{ vars.DOCKERHUB_IMAGE || 'gobha/switchboard-core' }} jobs: # ── Stage 0: Detect Changed Paths ────────────── @@ -326,7 +326,7 @@ jobs: PGPASSWORD: ${{ secrets.POSTGRES_ADMIN_PASSWORD }} APP_USER: ${{ secrets.POSTGRES_USER }} APP_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} - DB_NAME: chat_switchboard_ci + DB_NAME: switchboard_core_ci run: | echo "━━━ CI Test Database Setup ━━━" # Create DB for Go integration tests (admin creds) @@ -370,7 +370,7 @@ jobs: PGUSER: ${{ secrets.POSTGRES_ADMIN_USER }} PGPASSWORD: ${{ secrets.POSTGRES_ADMIN_PASSWORD }} run: | - psql -c "DROP DATABASE IF EXISTS chat_switchboard_ci;" postgres + psql -c "DROP DATABASE IF EXISTS switchboard_core_ci;" postgres echo "✓ Dropped CI test database" # ── Stage 2: Build, Database, Deploy ───────── @@ -413,7 +413,7 @@ jobs: echo "IMAGE_TAG=dev" >> "$GITHUB_OUTPUT" echo "BASE_PATH=/dev" >> "$GITHUB_OUTPUT" echo "DEPLOY_SUFFIX=-dev" >> "$GITHUB_OUTPUT" - echo "DB_NAME=chat_switchboard_dev" >> "$GITHUB_OUTPUT" + echo "DB_NAME=switchboard_core_dev" >> "$GITHUB_OUTPUT" echo "DB_WIPE=true" >> "$GITHUB_OUTPUT" echo "FE_REPLICAS=1" >> "$GITHUB_OUTPUT" echo "BE_REPLICAS=1" >> "$GITHUB_OUTPUT" @@ -434,7 +434,7 @@ jobs: echo "EXTRA_TAG=${VERSION}" >> "$GITHUB_OUTPUT" echo "BASE_PATH=" >> "$GITHUB_OUTPUT" echo "DEPLOY_SUFFIX=" >> "$GITHUB_OUTPUT" - echo "DB_NAME=chat_switchboard" >> "$GITHUB_OUTPUT" + echo "DB_NAME=switchboard_core" >> "$GITHUB_OUTPUT" echo "DB_WIPE=false" >> "$GITHUB_OUTPUT" echo "FE_REPLICAS=2" >> "$GITHUB_OUTPUT" echo "BE_REPLICAS=2" >> "$GITHUB_OUTPUT" @@ -454,7 +454,7 @@ jobs: echo "IMAGE_TAG=test" >> "$GITHUB_OUTPUT" echo "BASE_PATH=/test" >> "$GITHUB_OUTPUT" echo "DEPLOY_SUFFIX=-test" >> "$GITHUB_OUTPUT" - echo "DB_NAME=chat_switchboard_test" >> "$GITHUB_OUTPUT" + echo "DB_NAME=switchboard_core_test" >> "$GITHUB_OUTPUT" echo "DB_WIPE=false" >> "$GITHUB_OUTPUT" echo "FE_REPLICAS=1" >> "$GITHUB_OUTPUT" echo "BE_REPLICAS=1" >> "$GITHUB_OUTPUT" diff --git a/Dockerfile b/Dockerfile index 1720613..41ca849 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # ============================================ -# Chat Switchboard — Unified Dockerfile +# Switchboard Core — Unified Dockerfile # ============================================ # Stage 1: Build Go backend # Stage 2: Download JS vendor libs (marked, DOMPurify) diff --git a/Dockerfile.frontend b/Dockerfile.frontend index 7d507be..222beec 100644 --- a/Dockerfile.frontend +++ b/Dockerfile.frontend @@ -1,5 +1,5 @@ # ========================================== -# Chat Switchboard - Frontend Dockerfile +# Switchboard Core - Frontend Dockerfile # ========================================== # Static SPA served by nginx. In k8s, the # Ingress routes /api/ and /ws to the backend diff --git a/VERSION b/VERSION index a39873f..6e8bf73 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.38.5.0 +0.1.0 diff --git a/docker-compose.yml b/docker-compose.yml index 3f501fd..367dba8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,7 +17,7 @@ services: build: context: . dockerfile: Dockerfile - container_name: chat-switchboard + container_name: switchboard-core environment: PORT: "8080" BASE_PATH: "" diff --git a/server/.env.example b/server/.env.example index 5f8126e..781314b 100644 --- a/server/.env.example +++ b/server/.env.example @@ -18,7 +18,7 @@ DB_MAX_CONNS=25 # ── Auth ───────────────────────────────────── JWT_SECRET=your-super-secret-jwt-key-change-in-production JWT_EXPIRATION=24h -JWT_ISSUER=chat-switchboard +JWT_ISSUER=switchboard-core # ── Bootstrap Admin ────────────────────────── # Creates or updates admin account on every startup. diff --git a/server/Dockerfile b/server/Dockerfile index c4f44f8..cd867f2 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -1,5 +1,5 @@ # ========================================== -# Chat Switchboard - Backend Dockerfile +# Switchboard Core - Backend Dockerfile # ========================================== # Standalone Go API server for cluster deployment. # Build context is the repo root (not ./server). diff --git a/server/auth/auth.go b/server/auth/auth.go index ab2f6a1..999aa74 100644 --- a/server/auth/auth.go +++ b/server/auth/auth.go @@ -5,8 +5,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type Mode string diff --git a/server/auth/builtin.go b/server/auth/builtin.go index 8b9a6c4..ccfd1f1 100644 --- a/server/auth/builtin.go +++ b/server/auth/builtin.go @@ -9,8 +9,8 @@ import ( "github.com/gin-gonic/gin" "golang.org/x/crypto/bcrypt" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) const bcryptCost = 12 diff --git a/server/auth/mtls.go b/server/auth/mtls.go index f097765..993e6b1 100644 --- a/server/auth/mtls.go +++ b/server/auth/mtls.go @@ -8,8 +8,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // MTLSConfig holds mTLS-specific configuration. diff --git a/server/auth/mtls_test.go b/server/auth/mtls_test.go index b27117e..423f230 100644 --- a/server/auth/mtls_test.go +++ b/server/auth/mtls_test.go @@ -3,7 +3,7 @@ package auth import ( "testing" - "chat-switchboard/store" + "switchboard-core/store" ) func TestParseDN(t *testing.T) { diff --git a/server/auth/oidc.go b/server/auth/oidc.go index 17f6a06..b7d73a8 100644 --- a/server/auth/oidc.go +++ b/server/auth/oidc.go @@ -18,8 +18,8 @@ import ( "github.com/gin-gonic/gin" "github.com/golang-jwt/jwt/v5" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // OIDCConfig holds OIDC-specific configuration from env vars. diff --git a/server/auth/oidc_test.go b/server/auth/oidc_test.go index 97f8db1..4a2df3b 100644 --- a/server/auth/oidc_test.go +++ b/server/auth/oidc_test.go @@ -3,7 +3,7 @@ package auth_test import ( "testing" - "chat-switchboard/auth" + "switchboard-core/auth" ) func TestOIDCProvider_Discovery(t *testing.T) { diff --git a/server/auth/permissions.go b/server/auth/permissions.go index 8adfff3..00802b2 100644 --- a/server/auth/permissions.go +++ b/server/auth/permissions.go @@ -4,7 +4,7 @@ import ( "context" "time" - "chat-switchboard/store" + "switchboard-core/store" ) // EveryoneGroupID is the stable ID of the implicit "Everyone" group seeded in diff --git a/server/auth/session.go b/server/auth/session.go index efb1c13..c82ddfa 100644 --- a/server/auth/session.go +++ b/server/auth/session.go @@ -9,9 +9,9 @@ import ( "github.com/gin-gonic/gin" "github.com/google/uuid" - "chat-switchboard/config" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/config" + "switchboard-core/models" + "switchboard-core/store" ) const sessionCookieName = "sb_session" diff --git a/server/capabilities/capabilities_test.go b/server/capabilities/capabilities_test.go index dc47a6d..efa3b4d 100644 --- a/server/capabilities/capabilities_test.go +++ b/server/capabilities/capabilities_test.go @@ -3,7 +3,7 @@ package capabilities import ( "testing" - "chat-switchboard/models" + "switchboard-core/models" ) func TestLookupKnownModel_AlwaysFalse(t *testing.T) { diff --git a/server/capabilities/intrinsic.go b/server/capabilities/intrinsic.go index 57cb948..dc97e4b 100644 --- a/server/capabilities/intrinsic.go +++ b/server/capabilities/intrinsic.go @@ -4,7 +4,7 @@ import ( "regexp" "strings" - "chat-switchboard/models" + "switchboard-core/models" ) // ── Known Model Defaults ──────────────────── diff --git a/server/capabilities/resolver.go b/server/capabilities/resolver.go index 90e25cf..5d6b8e3 100644 --- a/server/capabilities/resolver.go +++ b/server/capabilities/resolver.go @@ -4,8 +4,8 @@ import ( "context" "log" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ModelsForUser returns all models and Personas visible to a user. diff --git a/server/compaction/compaction.go b/server/compaction/compaction.go index 3b04b61..a33db2d 100644 --- a/server/compaction/compaction.go +++ b/server/compaction/compaction.go @@ -8,11 +8,11 @@ import ( "strings" "time" - "chat-switchboard/models" - "chat-switchboard/providers" - "chat-switchboard/roles" - "chat-switchboard/store" - "chat-switchboard/treepath" + "switchboard-core/models" + "switchboard-core/providers" + "switchboard-core/roles" + "switchboard-core/store" + "switchboard-core/treepath" ) // ── Request / Result ──────────────────────── diff --git a/server/compaction/compaction_test.go b/server/compaction/compaction_test.go index f28d7d9..95755bd 100644 --- a/server/compaction/compaction_test.go +++ b/server/compaction/compaction_test.go @@ -6,9 +6,9 @@ import ( "testing" "time" - "chat-switchboard/database" - "chat-switchboard/models" - postgres "chat-switchboard/store/postgres" + "switchboard-core/database" + "switchboard-core/models" + postgres "switchboard-core/store/postgres" ) // ── Helpers ───────────────────────────────── diff --git a/server/compaction/estimator.go b/server/compaction/estimator.go index bad265d..f998577 100644 --- a/server/compaction/estimator.go +++ b/server/compaction/estimator.go @@ -1,7 +1,7 @@ package compaction import ( - "chat-switchboard/treepath" + "switchboard-core/treepath" ) // ── Token Estimation ──────────────────────── diff --git a/server/compaction/estimator_test.go b/server/compaction/estimator_test.go index 45388f3..5f77017 100644 --- a/server/compaction/estimator_test.go +++ b/server/compaction/estimator_test.go @@ -3,7 +3,7 @@ package compaction import ( "testing" - "chat-switchboard/treepath" + "switchboard-core/treepath" ) func TestEstimateTokens(t *testing.T) { diff --git a/server/compaction/scanner.go b/server/compaction/scanner.go index 9343b9c..64a8645 100644 --- a/server/compaction/scanner.go +++ b/server/compaction/scanner.go @@ -6,10 +6,10 @@ import ( "sync" "time" - "chat-switchboard/models" - "chat-switchboard/roles" - "chat-switchboard/store" - "chat-switchboard/treepath" + "switchboard-core/models" + "switchboard-core/roles" + "switchboard-core/store" + "switchboard-core/treepath" ) // ── Defaults ──────────────────────────────── diff --git a/server/compaction/testmain_test.go b/server/compaction/testmain_test.go index cc67b37..6b4f65e 100644 --- a/server/compaction/testmain_test.go +++ b/server/compaction/testmain_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - "chat-switchboard/database" + "switchboard-core/database" ) func TestMain(m *testing.M) { diff --git a/server/database/database.go b/server/database/database.go index 7eda278..096d2a8 100644 --- a/server/database/database.go +++ b/server/database/database.go @@ -12,7 +12,7 @@ import ( _ "github.com/lib/pq" _ "modernc.org/sqlite" - "chat-switchboard/config" + "switchboard-core/config" ) // DB is the application-wide database connection pool. diff --git a/server/database/testhelper.go b/server/database/testhelper.go index 2defc7f..959715b 100644 --- a/server/database/testhelper.go +++ b/server/database/testhelper.go @@ -17,7 +17,7 @@ import ( // Use SetupTestDB in TestMain and pass this to subtests. var TestDB *sql.DB -const testDBName = "chat_switchboard_ci" +const testDBName = "switchboard_core_ci" // SetupTestDB connects to the appropriate database backend (Postgres or // SQLite based on DB_DRIVER env), runs migrations, and sets database.DB diff --git a/server/events/pg_broadcast.go b/server/events/pg_broadcast.go index 95cb5bb..281898e 100644 --- a/server/events/pg_broadcast.go +++ b/server/events/pg_broadcast.go @@ -23,7 +23,7 @@ import ( "github.com/lib/pq" - "chat-switchboard/database" + "switchboard-core/database" ) const pgNotifyChannel = "switchboard_events" diff --git a/server/events/ticket_adapter.go b/server/events/ticket_adapter.go index 1c1af10..8063983 100644 --- a/server/events/ticket_adapter.go +++ b/server/events/ticket_adapter.go @@ -8,7 +8,7 @@ import ( "context" "time" - "chat-switchboard/store" + "switchboard-core/store" ) // TicketValidatorAdapter satisfies middleware.TicketValidator using a diff --git a/server/events/ws.go b/server/events/ws.go index b8b424c..e5700d6 100644 --- a/server/events/ws.go +++ b/server/events/ws.go @@ -11,7 +11,7 @@ import ( "github.com/gin-gonic/gin" "github.com/gorilla/websocket" - "chat-switchboard/metrics" + "switchboard-core/metrics" ) const ( diff --git a/server/export/chatgpt.go b/server/export/chatgpt.go index 79c6baa..9e7d288 100644 --- a/server/export/chatgpt.go +++ b/server/export/chatgpt.go @@ -12,8 +12,8 @@ import ( "sort" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── ChatGPT format types ───────────────────── diff --git a/server/export/entities.go b/server/export/entities.go index 1ae68a4..cb33dce 100644 --- a/server/export/entities.go +++ b/server/export/entities.go @@ -7,7 +7,7 @@ package export // Sanitize* function returns a clean map ready for JSON marshalling. import ( - "chat-switchboard/models" + "switchboard-core/models" ) // ── User ───────────────────────────────────── diff --git a/server/filters/discover.go b/server/filters/discover.go index ceff8c6..6a28042 100644 --- a/server/filters/discover.go +++ b/server/filters/discover.go @@ -9,9 +9,9 @@ import ( "context" "log" - "chat-switchboard/models" - "chat-switchboard/sandbox" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/sandbox" + "switchboard-core/store" ) // DiscoverStarlarkFilters scans the package registry for active starlark diff --git a/server/filters/kb_inject.go b/server/filters/kb_inject.go index d52db8c..64d664d 100644 --- a/server/filters/kb_inject.go +++ b/server/filters/kb_inject.go @@ -13,7 +13,7 @@ import ( "fmt" "log" - "chat-switchboard/store" + "switchboard-core/store" ) // KBInjectFilter injects a system prompt listing active knowledge bases diff --git a/server/filters/starlark_filter.go b/server/filters/starlark_filter.go index 0b5a136..8c804f8 100644 --- a/server/filters/starlark_filter.go +++ b/server/filters/starlark_filter.go @@ -24,8 +24,8 @@ import ( "go.starlark.net/starlark" - "chat-switchboard/sandbox" - "chat-switchboard/store" + "switchboard-core/sandbox" + "switchboard-core/store" ) // StarlarkFilter runs a Starlark package's on_pre_completion entry point. diff --git a/server/go.mod b/server/go.mod index 8625e2a..fe94346 100644 --- a/server/go.mod +++ b/server/go.mod @@ -1,4 +1,4 @@ -module chat-switchboard +module switchboard-core go 1.23.0 diff --git a/server/handlers/admin.go b/server/handlers/admin.go index 36a4708..163cbcc 100644 --- a/server/handlers/admin.go +++ b/server/handlers/admin.go @@ -12,14 +12,14 @@ import ( "github.com/gin-gonic/gin" "golang.org/x/crypto/bcrypt" - "chat-switchboard/auth" - "chat-switchboard/crypto" - "chat-switchboard/database" - "chat-switchboard/models" - "chat-switchboard/providers" - "chat-switchboard/storage" - "chat-switchboard/store" - "chat-switchboard/tools/search" + "switchboard-core/auth" + "switchboard-core/crypto" + "switchboard-core/database" + "switchboard-core/models" + "switchboard-core/providers" + "switchboard-core/storage" + "switchboard-core/store" + "switchboard-core/tools/search" ) type AdminHandler struct { diff --git a/server/handlers/admin_connections.go b/server/handlers/admin_connections.go index 458841d..c14e116 100644 --- a/server/handlers/admin_connections.go +++ b/server/handlers/admin_connections.go @@ -8,7 +8,7 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" + "switchboard-core/models" ) // ListGlobalConnections returns all global-scope connections. diff --git a/server/handlers/admin_email.go b/server/handlers/admin_email.go index 0cf6631..1ecf3f9 100644 --- a/server/handlers/admin_email.go +++ b/server/handlers/admin_email.go @@ -6,8 +6,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/notifications" - "chat-switchboard/store" + "switchboard-core/notifications" + "switchboard-core/store" ) // AdminEmailHandler handles admin SMTP configuration and test endpoints. diff --git a/server/handlers/apiconfigs.go b/server/handlers/apiconfigs.go index ffb2b43..d06e0bb 100644 --- a/server/handlers/apiconfigs.go +++ b/server/handlers/apiconfigs.go @@ -7,9 +7,9 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/crypto" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/crypto" + "switchboard-core/models" + "switchboard-core/store" ) // ProviderConfigHandler handles user-facing provider config endpoints. diff --git a/server/handlers/audit.go b/server/handlers/audit.go index e729ccd..cf3df93 100644 --- a/server/handlers/audit.go +++ b/server/handlers/audit.go @@ -8,8 +8,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // AuditLog writes an audit entry via the store interface. diff --git a/server/handlers/auth.go b/server/handlers/auth.go index 27e08c4..d8d05f8 100644 --- a/server/handlers/auth.go +++ b/server/handlers/auth.go @@ -17,11 +17,11 @@ import ( "github.com/google/uuid" "golang.org/x/crypto/bcrypt" - "chat-switchboard/auth" - "chat-switchboard/config" - "chat-switchboard/crypto" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/auth" + "switchboard-core/config" + "switchboard-core/crypto" + "switchboard-core/models" + "switchboard-core/store" ) // Claims represents the JWT payload. diff --git a/server/handlers/auth_test.go b/server/handlers/auth_test.go index ad7f8a9..761499e 100644 --- a/server/handlers/auth_test.go +++ b/server/handlers/auth_test.go @@ -14,9 +14,9 @@ import ( "github.com/golang-jwt/jwt/v5" "golang.org/x/crypto/bcrypt" - "chat-switchboard/auth" - "chat-switchboard/config" - "chat-switchboard/store" + "switchboard-core/auth" + "switchboard-core/config" + "switchboard-core/store" ) func testConfig() *config.Config { @@ -44,7 +44,7 @@ func TestJWTGeneration(t *testing.T) { RegisteredClaims: jwt.RegisteredClaims{ IssuedAt: jwt.NewNumericDate(now), ExpiresAt: jwt.NewNumericDate(now.Add(15 * time.Minute)), - Issuer: "chat-switchboard", + Issuer: "switchboard-core", }, } diff --git a/server/handlers/avatar.go b/server/handlers/avatar.go index ca308f9..419b1fb 100644 --- a/server/handlers/avatar.go +++ b/server/handlers/avatar.go @@ -15,8 +15,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) const avatarSize = 128 diff --git a/server/handlers/capabilities.go b/server/handlers/capabilities.go index 87ef393..54a87e6 100644 --- a/server/handlers/capabilities.go +++ b/server/handlers/capabilities.go @@ -8,11 +8,11 @@ import ( "github.com/gin-gonic/gin" - capspkg "chat-switchboard/capabilities" - "chat-switchboard/auth" - "chat-switchboard/health" - "chat-switchboard/models" - "chat-switchboard/store" + capspkg "switchboard-core/capabilities" + "switchboard-core/auth" + "switchboard-core/health" + "switchboard-core/models" + "switchboard-core/store" ) // ModelHandler provides the unified models endpoint. diff --git a/server/handlers/channel_models.go b/server/handlers/channel_models.go index f977571..ee0dc9b 100644 --- a/server/handlers/channel_models.go +++ b/server/handlers/channel_models.go @@ -6,8 +6,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── Channel Models Handler ────────────────── diff --git a/server/handlers/channels.go b/server/handlers/channels.go index 4e6214b..1864cde 100644 --- a/server/handlers/channels.go +++ b/server/handlers/channels.go @@ -13,9 +13,9 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/database" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/database" + "switchboard-core/models" + "switchboard-core/store" ) // ── Request / Response types ──────────────── diff --git a/server/handlers/completion.go b/server/handlers/completion.go index f5c1ddf..2d0e181 100644 --- a/server/handlers/completion.go +++ b/server/handlers/completion.go @@ -14,23 +14,23 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/auth" - capspkg "chat-switchboard/capabilities" - "chat-switchboard/crypto" - "chat-switchboard/database" - "chat-switchboard/events" - "chat-switchboard/filters" - "chat-switchboard/health" - "chat-switchboard/knowledge" - "chat-switchboard/metrics" - "chat-switchboard/models" - "chat-switchboard/notifications" - "chat-switchboard/providers" - "chat-switchboard/routing" - "chat-switchboard/sandbox" - "chat-switchboard/storage" - "chat-switchboard/store" - "chat-switchboard/tools" + "switchboard-core/auth" + capspkg "switchboard-core/capabilities" + "switchboard-core/crypto" + "switchboard-core/database" + "switchboard-core/events" + "switchboard-core/filters" + "switchboard-core/health" + "switchboard-core/knowledge" + "switchboard-core/metrics" + "switchboard-core/models" + "switchboard-core/notifications" + "switchboard-core/providers" + "switchboard-core/routing" + "switchboard-core/sandbox" + "switchboard-core/storage" + "switchboard-core/store" + "switchboard-core/tools" ) // ── Request Types ─────────────────────────── diff --git a/server/handlers/completion_chain.go b/server/handlers/completion_chain.go index 0478342..e411d8d 100644 --- a/server/handlers/completion_chain.go +++ b/server/handlers/completion_chain.go @@ -7,11 +7,11 @@ import ( "log" "time" - "chat-switchboard/events" - "chat-switchboard/models" - "chat-switchboard/providers" + "switchboard-core/events" + "switchboard-core/models" + "switchboard-core/providers" - capspkg "chat-switchboard/capabilities" + capspkg "switchboard-core/capabilities" ) // maxChainDepth limits AI-to-AI chaining to prevent runaway loops. diff --git a/server/handlers/connection_resolver.go b/server/handlers/connection_resolver.go index 1bbfb79..e0ef176 100644 --- a/server/handlers/connection_resolver.go +++ b/server/handlers/connection_resolver.go @@ -7,9 +7,9 @@ import ( "context" "encoding/json" - "chat-switchboard/crypto" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/crypto" + "switchboard-core/models" + "switchboard-core/store" ) // ConnectionResolverAdapter implements sandbox.ConnectionResolver. diff --git a/server/handlers/connection_types.go b/server/handlers/connection_types.go index 2ed1cf8..487af54 100644 --- a/server/handlers/connection_types.go +++ b/server/handlers/connection_types.go @@ -10,7 +10,7 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/store" + "switchboard-core/store" ) // ConnectionTypeEntry is a single connection type in the API response. diff --git a/server/handlers/connections.go b/server/handlers/connections.go index 9812784..dc5074b 100644 --- a/server/handlers/connections.go +++ b/server/handlers/connections.go @@ -10,9 +10,9 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/crypto" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/crypto" + "switchboard-core/models" + "switchboard-core/store" ) // ConnectionHandler handles user-facing extension connection endpoints. diff --git a/server/handlers/dashboard_admin.go b/server/handlers/dashboard_admin.go index 0309be0..7c726b6 100644 --- a/server/handlers/dashboard_admin.go +++ b/server/handlers/dashboard_admin.go @@ -8,11 +8,11 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/database" - "chat-switchboard/events" - "chat-switchboard/health" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/database" + "switchboard-core/events" + "switchboard-core/health" + "switchboard-core/models" + "switchboard-core/store" ) // ── Dashboard Admin Handler ───────────────── diff --git a/server/handlers/dependencies.go b/server/handlers/dependencies.go index e333edf..a1caa71 100644 --- a/server/handlers/dependencies.go +++ b/server/handlers/dependencies.go @@ -5,7 +5,7 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" + "switchboard-core/models" ) // ── Extension Dependencies (v0.38.2) ────────────────── diff --git a/server/handlers/export_data.go b/server/handlers/export_data.go index c61a3e2..d80bcd1 100644 --- a/server/handlers/export_data.go +++ b/server/handlers/export_data.go @@ -14,10 +14,10 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/export" - "chat-switchboard/models" - "chat-switchboard/storage" - "chat-switchboard/store" + "switchboard-core/export" + "switchboard-core/models" + "switchboard-core/storage" + "switchboard-core/store" ) // DataExportHandler serves data export endpoints. diff --git a/server/handlers/ext_api.go b/server/handlers/ext_api.go index 206e91e..c302319 100644 --- a/server/handlers/ext_api.go +++ b/server/handlers/ext_api.go @@ -42,9 +42,9 @@ import ( "github.com/gin-gonic/gin" "go.starlark.net/starlark" - "chat-switchboard/models" - "chat-switchboard/sandbox" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/sandbox" + "switchboard-core/store" ) // ExtAPIHandler serves extension API routes via Starlark. diff --git a/server/handlers/ext_db_schema.go b/server/handlers/ext_db_schema.go index 72c8a97..89ee8d7 100644 --- a/server/handlers/ext_db_schema.go +++ b/server/handlers/ext_db_schema.go @@ -15,7 +15,7 @@ import ( "regexp" "strings" - "chat-switchboard/store" + "switchboard-core/store" ) // validSchemaIdentifier matches safe SQL identifiers for table and column names. diff --git a/server/handlers/ext_db_schema_test.go b/server/handlers/ext_db_schema_test.go index 8ed649b..4eebdab 100644 --- a/server/handlers/ext_db_schema_test.go +++ b/server/handlers/ext_db_schema_test.go @@ -8,7 +8,7 @@ import ( _ "modernc.org/sqlite" - "chat-switchboard/store" + "switchboard-core/store" ) // ── mock ExtDataStore ──────────────────────────────────────────────────────── diff --git a/server/handlers/extension_permissions.go b/server/handlers/extension_permissions.go index 95cbb4e..92ae66f 100644 --- a/server/handlers/extension_permissions.go +++ b/server/handlers/extension_permissions.go @@ -5,8 +5,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ExtPermHandler serves extension permission management endpoints. diff --git a/server/handlers/extension_secrets.go b/server/handlers/extension_secrets.go index c566585..12c2b6f 100644 --- a/server/handlers/extension_secrets.go +++ b/server/handlers/extension_secrets.go @@ -5,8 +5,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ExtSecretsHandler serves extension secret management endpoints. diff --git a/server/handlers/extension_test.go b/server/handlers/extension_test.go index c62a4b3..97a174b 100644 --- a/server/handlers/extension_test.go +++ b/server/handlers/extension_test.go @@ -11,13 +11,13 @@ import ( "github.com/gin-gonic/gin" - authpkg "chat-switchboard/auth" - "chat-switchboard/config" - "chat-switchboard/database" - "chat-switchboard/middleware" - "chat-switchboard/store" - postgres "chat-switchboard/store/postgres" - sqlite "chat-switchboard/store/sqlite" + authpkg "switchboard-core/auth" + "switchboard-core/config" + "switchboard-core/database" + "switchboard-core/middleware" + "switchboard-core/store" + postgres "switchboard-core/store/postgres" + sqlite "switchboard-core/store/sqlite" ) // ── Extension Test Harness ────────────────── diff --git a/server/handlers/extensions.go b/server/handlers/extensions.go index a863488..4cecdba 100644 --- a/server/handlers/extensions.go +++ b/server/handlers/extensions.go @@ -7,9 +7,9 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/database" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/database" + "switchboard-core/models" + "switchboard-core/store" ) // ExtensionHandler serves extension management endpoints. diff --git a/server/handlers/files.go b/server/handlers/files.go index e78e263..4385b5e 100644 --- a/server/handlers/files.go +++ b/server/handlers/files.go @@ -13,11 +13,11 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/extraction" - "chat-switchboard/models" - "chat-switchboard/storage" - "chat-switchboard/store" - "chat-switchboard/workspace" + "switchboard-core/extraction" + "switchboard-core/models" + "switchboard-core/storage" + "switchboard-core/store" + "switchboard-core/workspace" ) // ── Default Limits ───────────────────────── diff --git a/server/handlers/folders.go b/server/handlers/folders.go index 6e033b8..4d12412 100644 --- a/server/handlers/folders.go +++ b/server/handlers/folders.go @@ -11,8 +11,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type FolderHandler struct { diff --git a/server/handlers/gdpr.go b/server/handlers/gdpr.go index 6e29568..f3ec302 100644 --- a/server/handlers/gdpr.go +++ b/server/handlers/gdpr.go @@ -14,8 +14,8 @@ import ( "github.com/gin-gonic/gin" "golang.org/x/crypto/bcrypt" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // GDPRHandler serves account deletion endpoints. diff --git a/server/handlers/git.go b/server/handlers/git.go index 9f34339..3822d09 100644 --- a/server/handlers/git.go +++ b/server/handlers/git.go @@ -11,10 +11,10 @@ import ( "golang.org/x/crypto/ssh" - "chat-switchboard/crypto" - "chat-switchboard/models" - "chat-switchboard/store" - "chat-switchboard/workspace" + "switchboard-core/crypto" + "switchboard-core/models" + "switchboard-core/store" + "switchboard-core/workspace" "github.com/gin-gonic/gin" ) diff --git a/server/handlers/git_credentials_test.go b/server/handlers/git_credentials_test.go index dcdde60..f7062b4 100644 --- a/server/handlers/git_credentials_test.go +++ b/server/handlers/git_credentials_test.go @@ -7,13 +7,13 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/config" - "chat-switchboard/crypto" - "chat-switchboard/database" - "chat-switchboard/middleware" - "chat-switchboard/store" - postgres "chat-switchboard/store/postgres" - sqlite "chat-switchboard/store/sqlite" + "switchboard-core/config" + "switchboard-core/crypto" + "switchboard-core/database" + "switchboard-core/middleware" + "switchboard-core/store" + postgres "switchboard-core/store/postgres" + sqlite "switchboard-core/store/sqlite" ) // ── Git Credentials Test Harness ────────── diff --git a/server/handlers/groups.go b/server/handlers/groups.go index a9b5c4f..1cff5e0 100644 --- a/server/handlers/groups.go +++ b/server/handlers/groups.go @@ -7,11 +7,11 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/auth" - "chat-switchboard/database" - "chat-switchboard/models" - "chat-switchboard/notifications" - "chat-switchboard/store" + "switchboard-core/auth" + "switchboard-core/database" + "switchboard-core/models" + "switchboard-core/notifications" + "switchboard-core/store" ) // ── Request types ─────────────────────────── diff --git a/server/handlers/health_admin.go b/server/handlers/health_admin.go index b7b371c..e39508b 100644 --- a/server/handlers/health_admin.go +++ b/server/handlers/health_admin.go @@ -6,11 +6,11 @@ import ( "github.com/gin-gonic/gin" - capspkg "chat-switchboard/capabilities" - "chat-switchboard/health" - "chat-switchboard/models" - "chat-switchboard/providers" - "chat-switchboard/store" + capspkg "switchboard-core/capabilities" + "switchboard-core/health" + "switchboard-core/models" + "switchboard-core/providers" + "switchboard-core/store" ) // ── Health Admin Handler ──────────────────── diff --git a/server/handlers/import_data.go b/server/handlers/import_data.go index 48af4e2..aa7391c 100644 --- a/server/handlers/import_data.go +++ b/server/handlers/import_data.go @@ -17,10 +17,10 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/export" - "chat-switchboard/models" - "chat-switchboard/storage" - "chat-switchboard/store" + "switchboard-core/export" + "switchboard-core/models" + "switchboard-core/storage" + "switchboard-core/store" ) // DataImportHandler serves data import endpoints. diff --git a/server/handlers/integration_test.go b/server/handlers/integration_test.go index 0a20e2e..9e80842 100644 --- a/server/handlers/integration_test.go +++ b/server/handlers/integration_test.go @@ -15,16 +15,16 @@ import ( "github.com/golang-jwt/jwt/v5" "github.com/google/uuid" - "chat-switchboard/config" - authpkg "chat-switchboard/auth" - "chat-switchboard/database" - "chat-switchboard/middleware" - "chat-switchboard/models" - "chat-switchboard/roles" - "chat-switchboard/store" - postgres "chat-switchboard/store/postgres" - sqlite "chat-switchboard/store/sqlite" - "chat-switchboard/treepath" + "switchboard-core/config" + authpkg "switchboard-core/auth" + "switchboard-core/database" + "switchboard-core/middleware" + "switchboard-core/models" + "switchboard-core/roles" + "switchboard-core/store" + postgres "switchboard-core/store/postgres" + sqlite "switchboard-core/store/sqlite" + "switchboard-core/treepath" ) // ── Test Harness ──────────────────────────── @@ -477,7 +477,7 @@ func makeToken(userID, email, role string) string { RegisteredClaims: jwt.RegisteredClaims{ IssuedAt: jwt.NewNumericDate(time.Now()), ExpiresAt: jwt.NewNumericDate(time.Now().Add(1 * time.Hour)), - Issuer: "chat-switchboard", + Issuer: "switchboard-core", }, } token := jwt.NewWithClaims(jwt.SigningMethodHS256, claims) diff --git a/server/handlers/knowledge_bases.go b/server/handlers/knowledge_bases.go index 45a9bf8..33e0adf 100644 --- a/server/handlers/knowledge_bases.go +++ b/server/handlers/knowledge_bases.go @@ -11,10 +11,10 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/knowledge" - "chat-switchboard/models" - "chat-switchboard/storage" - "chat-switchboard/store" + "switchboard-core/knowledge" + "switchboard-core/models" + "switchboard-core/storage" + "switchboard-core/store" ) // ── Limits ─────────────────────────────────── diff --git a/server/handlers/live_compaction_test.go b/server/handlers/live_compaction_test.go index 93a3552..a1b7de5 100644 --- a/server/handlers/live_compaction_test.go +++ b/server/handlers/live_compaction_test.go @@ -7,14 +7,14 @@ import ( "strings" "testing" - "chat-switchboard/compaction" - "chat-switchboard/database" - "chat-switchboard/models" - "chat-switchboard/roles" - "chat-switchboard/store" - postgres "chat-switchboard/store/postgres" - sqlite "chat-switchboard/store/sqlite" - "chat-switchboard/treepath" + "switchboard-core/compaction" + "switchboard-core/database" + "switchboard-core/models" + "switchboard-core/roles" + "switchboard-core/store" + postgres "switchboard-core/store/postgres" + sqlite "switchboard-core/store/sqlite" + "switchboard-core/treepath" ) // ═══════════════════════════════════════════ diff --git a/server/handlers/live_provider_test.go b/server/handlers/live_provider_test.go index 9863899..00ed869 100644 --- a/server/handlers/live_provider_test.go +++ b/server/handlers/live_provider_test.go @@ -10,8 +10,8 @@ import ( "testing" "time" - "chat-switchboard/database" - "chat-switchboard/providers" + "switchboard-core/database" + "switchboard-core/providers" ) // ═══════════════════════════════════════════ diff --git a/server/handlers/memory.go b/server/handlers/memory.go index 1b667d4..e7dea82 100644 --- a/server/handlers/memory.go +++ b/server/handlers/memory.go @@ -5,9 +5,9 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/memory" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/memory" + "switchboard-core/models" + "switchboard-core/store" ) // MemoryHandler provides REST endpoints for memory management. diff --git a/server/handlers/memory_inject.go b/server/handlers/memory_inject.go index a197b3c..fec8a62 100644 --- a/server/handlers/memory_inject.go +++ b/server/handlers/memory_inject.go @@ -6,9 +6,9 @@ import ( "log" "strings" - "chat-switchboard/knowledge" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/knowledge" + "switchboard-core/models" + "switchboard-core/store" ) // maxMemoryChars is the approximate character budget for injected memories. diff --git a/server/handlers/memory_test.go b/server/handlers/memory_test.go index 1f3f2b1..45e82f0 100644 --- a/server/handlers/memory_test.go +++ b/server/handlers/memory_test.go @@ -4,8 +4,8 @@ import ( "net/http" "testing" - "chat-switchboard/database" - "chat-switchboard/models" + "switchboard-core/database" + "switchboard-core/models" ) // seedMemory inserts a memory directly into the DB for testing. diff --git a/server/handlers/messages.go b/server/handlers/messages.go index caf439b..099040d 100644 --- a/server/handlers/messages.go +++ b/server/handlers/messages.go @@ -12,16 +12,16 @@ import ( "github.com/gin-gonic/gin" - capspkg "chat-switchboard/capabilities" - "chat-switchboard/crypto" - "chat-switchboard/database" - "chat-switchboard/events" - "chat-switchboard/models" - "chat-switchboard/providers" - "chat-switchboard/storage" - "chat-switchboard/store" - "chat-switchboard/tools" - "chat-switchboard/treepath" + capspkg "switchboard-core/capabilities" + "switchboard-core/crypto" + "switchboard-core/database" + "switchboard-core/events" + "switchboard-core/models" + "switchboard-core/providers" + "switchboard-core/storage" + "switchboard-core/store" + "switchboard-core/tools" + "switchboard-core/treepath" ) // ── Request / Response types ──────────────── diff --git a/server/handlers/model_prefs.go b/server/handlers/model_prefs.go index 7d55d5d..6872747 100644 --- a/server/handlers/model_prefs.go +++ b/server/handlers/model_prefs.go @@ -5,8 +5,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ModelPrefsHandler handles user model preference endpoints. diff --git a/server/handlers/model_prefs_test.go b/server/handlers/model_prefs_test.go index 19d10c6..632ccb0 100644 --- a/server/handlers/model_prefs_test.go +++ b/server/handlers/model_prefs_test.go @@ -8,12 +8,12 @@ import ( "github.com/gin-gonic/gin" "github.com/google/uuid" - "chat-switchboard/config" - "chat-switchboard/database" - "chat-switchboard/middleware" - "chat-switchboard/store" - postgres "chat-switchboard/store/postgres" - sqlite "chat-switchboard/store/sqlite" + "switchboard-core/config" + "switchboard-core/database" + "switchboard-core/middleware" + "switchboard-core/store" + postgres "switchboard-core/store/postgres" + sqlite "switchboard-core/store/sqlite" ) // ── Model Prefs Test Harness ────────────── diff --git a/server/handlers/model_sync.go b/server/handlers/model_sync.go index d990a23..bcb6aae 100644 --- a/server/handlers/model_sync.go +++ b/server/handlers/model_sync.go @@ -10,9 +10,9 @@ import ( "strconv" "time" - "chat-switchboard/models" - "chat-switchboard/providers" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/providers" + "switchboard-core/store" ) // providerSyncTimeout is the maximum time allowed for an outbound provider diff --git a/server/handlers/notes.go b/server/handlers/notes.go index 5f9875d..8b5da91 100644 --- a/server/handlers/notes.go +++ b/server/handlers/notes.go @@ -7,9 +7,9 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/notelinks" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/notelinks" + "switchboard-core/store" ) // ── Request / Response Types ──────────────── diff --git a/server/handlers/notification_test.go b/server/handlers/notification_test.go index fc12859..14e54d4 100644 --- a/server/handlers/notification_test.go +++ b/server/handlers/notification_test.go @@ -8,14 +8,14 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/config" - "chat-switchboard/database" - "chat-switchboard/middleware" - "chat-switchboard/models" - "chat-switchboard/notifications" - "chat-switchboard/store" - postgres "chat-switchboard/store/postgres" - sqlite "chat-switchboard/store/sqlite" + "switchboard-core/config" + "switchboard-core/database" + "switchboard-core/middleware" + "switchboard-core/models" + "switchboard-core/notifications" + "switchboard-core/store" + postgres "switchboard-core/store/postgres" + sqlite "switchboard-core/store/sqlite" ) // ── Notification Test Harness ────────────── diff --git a/server/handlers/notifications.go b/server/handlers/notifications.go index 9ca7ca7..0956fac 100644 --- a/server/handlers/notifications.go +++ b/server/handlers/notifications.go @@ -10,10 +10,10 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/events" - "chat-switchboard/models" - "chat-switchboard/notifications" - "chat-switchboard/store" + "switchboard-core/events" + "switchboard-core/models" + "switchboard-core/notifications" + "switchboard-core/store" ) // ── Handler ───────────────────────────────── diff --git a/server/handlers/package_export.go b/server/handlers/package_export.go index 5e80267..9ec8bf6 100644 --- a/server/handlers/package_export.go +++ b/server/handlers/package_export.go @@ -18,7 +18,7 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/store" + "switchboard-core/store" ) // PackageExportHandler handles package export operations. diff --git a/server/handlers/package_migrations.go b/server/handlers/package_migrations.go index 9c2878e..c44f7a6 100644 --- a/server/handlers/package_migrations.go +++ b/server/handlers/package_migrations.go @@ -28,8 +28,8 @@ import ( "go.starlark.net/starlark" - "chat-switchboard/sandbox" - "chat-switchboard/store" + "switchboard-core/sandbox" + "switchboard-core/store" ) // ParseSchemaVersion extracts the "schema_version" integer from a manifest. diff --git a/server/handlers/package_registry.go b/server/handlers/package_registry.go index 964a302..8a941ec 100644 --- a/server/handlers/package_registry.go +++ b/server/handlers/package_registry.go @@ -29,7 +29,7 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/store" + "switchboard-core/store" ) // RegistryEntry represents a single package in the registry. diff --git a/server/handlers/packages.go b/server/handlers/packages.go index 472ddae..789edb0 100644 --- a/server/handlers/packages.go +++ b/server/handlers/packages.go @@ -15,10 +15,10 @@ import ( "github.com/gin-gonic/gin" "go.starlark.net/starlark" - "chat-switchboard/database" - "chat-switchboard/models" - "chat-switchboard/sandbox" - "chat-switchboard/store" + "switchboard-core/database" + "switchboard-core/models" + "switchboard-core/sandbox" + "switchboard-core/store" ) // validPackageID matches lowercase alphanumeric slugs with optional hyphens. diff --git a/server/handlers/participants.go b/server/handlers/participants.go index 65ae924..f55f4ec 100644 --- a/server/handlers/participants.go +++ b/server/handlers/participants.go @@ -6,8 +6,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── Channel Participants Handler ────────────── diff --git a/server/handlers/perm_enforcement_test.go b/server/handlers/perm_enforcement_test.go index df1fd1a..5a1130c 100644 --- a/server/handlers/perm_enforcement_test.go +++ b/server/handlers/perm_enforcement_test.go @@ -21,7 +21,7 @@ import ( "net/http" "testing" - "chat-switchboard/database" + "switchboard-core/database" ) // ── Helpers ───────────────────────────────── diff --git a/server/handlers/persona_groups.go b/server/handlers/persona_groups.go index 42311d5..8bd92e9 100644 --- a/server/handlers/persona_groups.go +++ b/server/handlers/persona_groups.go @@ -10,8 +10,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type PersonaGroupHandler struct { diff --git a/server/handlers/personas.go b/server/handlers/personas.go index 72a66bf..b746139 100644 --- a/server/handlers/personas.go +++ b/server/handlers/personas.go @@ -6,8 +6,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // PersonaHandler handles persona endpoints. diff --git a/server/handlers/presence.go b/server/handlers/presence.go index 06cbe31..a519f5a 100644 --- a/server/handlers/presence.go +++ b/server/handlers/presence.go @@ -15,7 +15,7 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/store" + "switchboard-core/store" ) const presenceOnlineThreshold = 90 * time.Second diff --git a/server/handlers/profile_bootstrap.go b/server/handlers/profile_bootstrap.go index 3f7c467..843a84c 100644 --- a/server/handlers/profile_bootstrap.go +++ b/server/handlers/profile_bootstrap.go @@ -16,8 +16,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/auth" - "chat-switchboard/store" + "switchboard-core/auth" + "switchboard-core/store" ) // ProfileBootstrapHandler serves the combined boot payload. diff --git a/server/handlers/profile_permissions.go b/server/handlers/profile_permissions.go index b2fe4fe..e65a404 100644 --- a/server/handlers/profile_permissions.go +++ b/server/handlers/profile_permissions.go @@ -6,8 +6,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/auth" - "chat-switchboard/store" + "switchboard-core/auth" + "switchboard-core/store" ) // ProfilePermissionsHandler exposes the current user's resolved permissions. diff --git a/server/handlers/profile_test.go b/server/handlers/profile_test.go index e4b8cba..391d1b0 100644 --- a/server/handlers/profile_test.go +++ b/server/handlers/profile_test.go @@ -8,12 +8,12 @@ import ( "github.com/gin-gonic/gin" "golang.org/x/crypto/bcrypt" - "chat-switchboard/config" - "chat-switchboard/database" - "chat-switchboard/middleware" - "chat-switchboard/store" - postgres "chat-switchboard/store/postgres" - sqlite "chat-switchboard/store/sqlite" + "switchboard-core/config" + "switchboard-core/database" + "switchboard-core/middleware" + "switchboard-core/store" + postgres "switchboard-core/store/postgres" + sqlite "switchboard-core/store/sqlite" ) // ── Profile Test Harness ────────────────── diff --git a/server/handlers/projects.go b/server/handlers/projects.go index 0ac04eb..e28d7f2 100644 --- a/server/handlers/projects.go +++ b/server/handlers/projects.go @@ -6,8 +6,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── Request / Response Types ──────────────── diff --git a/server/handlers/projects_test.go b/server/handlers/projects_test.go index 8e01cc6..1babf74 100644 --- a/server/handlers/projects_test.go +++ b/server/handlers/projects_test.go @@ -8,13 +8,13 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/config" - "chat-switchboard/database" - "chat-switchboard/middleware" - "chat-switchboard/models" - "chat-switchboard/store" - postgres "chat-switchboard/store/postgres" - sqlite "chat-switchboard/store/sqlite" + "switchboard-core/config" + "switchboard-core/database" + "switchboard-core/middleware" + "switchboard-core/models" + "switchboard-core/store" + postgres "switchboard-core/store/postgres" + sqlite "switchboard-core/store/sqlite" ) // ── Project Test Harness ────────────────── diff --git a/server/handlers/provider_resolver_adapter.go b/server/handlers/provider_resolver_adapter.go index 55dabc3..beb5d29 100644 --- a/server/handlers/provider_resolver_adapter.go +++ b/server/handlers/provider_resolver_adapter.go @@ -10,10 +10,10 @@ import ( "context" "fmt" - "chat-switchboard/crypto" - "chat-switchboard/providers" - "chat-switchboard/sandbox" - "chat-switchboard/store" + "switchboard-core/crypto" + "switchboard-core/providers" + "switchboard-core/sandbox" + "switchboard-core/store" ) // ProviderResolverAdapter implements sandbox.ProviderResolver using diff --git a/server/handlers/resolve.go b/server/handlers/resolve.go index 4a985eb..4331372 100644 --- a/server/handlers/resolve.go +++ b/server/handlers/resolve.go @@ -17,10 +17,10 @@ import ( "fmt" "log" - "chat-switchboard/crypto" - "chat-switchboard/providers" - "chat-switchboard/store" - "chat-switchboard/tools" + "switchboard-core/crypto" + "switchboard-core/providers" + "switchboard-core/store" + "switchboard-core/tools" ) // ── Provider Resolution ──────────────────────── diff --git a/server/handlers/roles.go b/server/handlers/roles.go index 500434a..85ef9ad 100644 --- a/server/handlers/roles.go +++ b/server/handlers/roles.go @@ -5,10 +5,10 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/providers" - "chat-switchboard/roles" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/providers" + "switchboard-core/roles" + "switchboard-core/store" ) // RolesHandler manages model role configuration. diff --git a/server/handlers/route_test.go b/server/handlers/route_test.go index 70ec523..38951bc 100644 --- a/server/handlers/route_test.go +++ b/server/handlers/route_test.go @@ -7,14 +7,14 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/config" - authpkg "chat-switchboard/auth" - "chat-switchboard/database" - "chat-switchboard/middleware" - "chat-switchboard/pages" - "chat-switchboard/store" - postgres "chat-switchboard/store/postgres" - sqlite "chat-switchboard/store/sqlite" + "switchboard-core/config" + authpkg "switchboard-core/auth" + "switchboard-core/database" + "switchboard-core/middleware" + "switchboard-core/pages" + "switchboard-core/store" + postgres "switchboard-core/store/postgres" + sqlite "switchboard-core/store/sqlite" ) // TestRouteRegistration verifies that ALL production routes can be diff --git a/server/handlers/routing_admin.go b/server/handlers/routing_admin.go index 5fb3aec..773f789 100644 --- a/server/handlers/routing_admin.go +++ b/server/handlers/routing_admin.go @@ -6,10 +6,10 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/health" - "chat-switchboard/models" - "chat-switchboard/routing" - "chat-switchboard/store" + "switchboard-core/health" + "switchboard-core/models" + "switchboard-core/routing" + "switchboard-core/store" ) // ── Routing Admin Handler ─────────────────── diff --git a/server/handlers/safe_json.go b/server/handlers/safe_json.go index ff2cd9b..6f26b8c 100644 --- a/server/handlers/safe_json.go +++ b/server/handlers/safe_json.go @@ -8,7 +8,7 @@ import ( "github.com/gin-gonic/gin" "github.com/lib/pq" - "chat-switchboard/database" + "switchboard-core/database" ) // ── SafeJSON ──────────────────────────────── diff --git a/server/handlers/seed_packages.go b/server/handlers/seed_packages.go index e5f3a21..e9cf08e 100644 --- a/server/handlers/seed_packages.go +++ b/server/handlers/seed_packages.go @@ -7,7 +7,7 @@ import ( "os" "path/filepath" - "chat-switchboard/store" + "switchboard-core/store" ) // builtinManifest is the on-disk manifest.json shape. diff --git a/server/handlers/seed_providers.go b/server/handlers/seed_providers.go index c2359a6..b815abc 100644 --- a/server/handlers/seed_providers.go +++ b/server/handlers/seed_providers.go @@ -5,10 +5,10 @@ import ( "log" "strings" - "chat-switchboard/config" - "chat-switchboard/crypto" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/config" + "switchboard-core/crypto" + "switchboard-core/models" + "switchboard-core/store" ) // Known provider default endpoints for seeding. diff --git a/server/handlers/settings.go b/server/handlers/settings.go index 1d4dfb7..4baf7c3 100644 --- a/server/handlers/settings.go +++ b/server/handlers/settings.go @@ -15,8 +15,8 @@ import ( "github.com/gin-gonic/gin" "golang.org/x/crypto/bcrypt" - "chat-switchboard/crypto" - "chat-switchboard/store" + "switchboard-core/crypto" + "switchboard-core/store" ) // ── Request Types ─────────────────────────── diff --git a/server/handlers/storage.go b/server/handlers/storage.go index 60d9e59..d8662dd 100644 --- a/server/handlers/storage.go +++ b/server/handlers/storage.go @@ -5,7 +5,7 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/storage" + "switchboard-core/storage" ) // storageConfigured is a package-level flag set during init. diff --git a/server/handlers/stream_loop.go b/server/handlers/stream_loop.go index 92aef96..df2b904 100644 --- a/server/handlers/stream_loop.go +++ b/server/handlers/stream_loop.go @@ -11,12 +11,12 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/events" - "chat-switchboard/metrics" - "chat-switchboard/providers" - "chat-switchboard/sandbox" - "chat-switchboard/store" - "chat-switchboard/tools" + "switchboard-core/events" + "switchboard-core/metrics" + "switchboard-core/providers" + "switchboard-core/sandbox" + "switchboard-core/store" + "switchboard-core/tools" ) // recordHealthFn records provider health from standalone streaming functions diff --git a/server/handlers/summarize.go b/server/handlers/summarize.go index 7cb689c..4c6f6cb 100644 --- a/server/handlers/summarize.go +++ b/server/handlers/summarize.go @@ -9,9 +9,9 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/compaction" - "chat-switchboard/roles" - "chat-switchboard/store" + "switchboard-core/compaction" + "switchboard-core/roles" + "switchboard-core/store" ) // SummarizeHandler handles manual conversation summarization via HTTP. diff --git a/server/handlers/task_test.go b/server/handlers/task_test.go index e234bc4..4f00a3f 100644 --- a/server/handlers/task_test.go +++ b/server/handlers/task_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "chat-switchboard/database" + "switchboard-core/database" ) // ═══════════════════════════════════════════════ @@ -444,7 +444,7 @@ func TestTask_TriggerEndpoint(t *testing.T) { w = h.request("POST", "/api/v1/hooks/t/"+triggerToken, "", map[string]interface{}{ "build_id": 12345, "status": "failed", - "repo": "chat-switchboard", + "repo": "switchboard-core", }) if w.Code != http.StatusAccepted { t.Fatalf("trigger: want 202, got %d: %s", w.Code, w.Body.String()) diff --git a/server/handlers/tasks.go b/server/handlers/tasks.go index e97bdca..524a7cd 100644 --- a/server/handlers/tasks.go +++ b/server/handlers/tasks.go @@ -7,12 +7,12 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/auth" - "chat-switchboard/middleware" - "chat-switchboard/models" - "chat-switchboard/store" - "chat-switchboard/taskutil" - "chat-switchboard/webhook" + "switchboard-core/auth" + "switchboard-core/middleware" + "switchboard-core/models" + "switchboard-core/store" + "switchboard-core/taskutil" + "switchboard-core/webhook" ) // TaskHandler manages task CRUD and manual execution. diff --git a/server/handlers/team_connections.go b/server/handlers/team_connections.go index 56972f4..f27417d 100644 --- a/server/handlers/team_connections.go +++ b/server/handlers/team_connections.go @@ -8,7 +8,7 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" + "switchboard-core/models" ) // ListTeamConnections returns connections scoped to a team. diff --git a/server/handlers/team_providers.go b/server/handlers/team_providers.go index d0e69a0..8d76de5 100644 --- a/server/handlers/team_providers.go +++ b/server/handlers/team_providers.go @@ -8,10 +8,10 @@ import ( "github.com/gin-gonic/gin" - capspkg "chat-switchboard/capabilities" - "chat-switchboard/models" - "chat-switchboard/providers" - "chat-switchboard/store" + capspkg "switchboard-core/capabilities" + "switchboard-core/models" + "switchboard-core/providers" + "switchboard-core/store" ) // ── Team Provider Handlers ────────────────── diff --git a/server/handlers/teams.go b/server/handlers/teams.go index b0c3e6b..b1a0d2b 100644 --- a/server/handlers/teams.go +++ b/server/handlers/teams.go @@ -11,11 +11,11 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/crypto" - "chat-switchboard/database" - "chat-switchboard/models" - "chat-switchboard/providers" - "chat-switchboard/store" + "switchboard-core/crypto" + "switchboard-core/database" + "switchboard-core/models" + "switchboard-core/providers" + "switchboard-core/store" ) // ── Request types ─────────────────────────── diff --git a/server/handlers/testmain_test.go b/server/handlers/testmain_test.go index 9609b74..48f6c13 100644 --- a/server/handlers/testmain_test.go +++ b/server/handlers/testmain_test.go @@ -6,8 +6,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/database" - "chat-switchboard/providers" + "switchboard-core/database" + "switchboard-core/providers" _ "modernc.org/sqlite" // register sqlite driver for DB_DRIVER=sqlite ) diff --git a/server/handlers/title.go b/server/handlers/title.go index d1f837c..6678d0e 100644 --- a/server/handlers/title.go +++ b/server/handlers/title.go @@ -9,9 +9,9 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/providers" - "chat-switchboard/roles" - "chat-switchboard/store" + "switchboard-core/providers" + "switchboard-core/roles" + "switchboard-core/store" ) // TitleHandler generates chat titles using the utility role. diff --git a/server/handlers/tool_loop.go b/server/handlers/tool_loop.go index ac90ae5..eb83d19 100644 --- a/server/handlers/tool_loop.go +++ b/server/handlers/tool_loop.go @@ -27,11 +27,11 @@ import ( "github.com/gin-gonic/gin" "go.starlark.net/starlark" - "chat-switchboard/events" - "chat-switchboard/providers" - "chat-switchboard/sandbox" - "chat-switchboard/store" - "chat-switchboard/tools" + "switchboard-core/events" + "switchboard-core/providers" + "switchboard-core/sandbox" + "switchboard-core/store" + "switchboard-core/tools" ) // ── Types ────────────────────────────────────── diff --git a/server/handlers/tree.go b/server/handlers/tree.go index 7a33efb..00133e1 100644 --- a/server/handlers/tree.go +++ b/server/handlers/tree.go @@ -8,7 +8,7 @@ package handlers // New code should import treepath directly. import ( - "chat-switchboard/treepath" + "switchboard-core/treepath" ) // ── Type Aliases ──────────────────────────── diff --git a/server/handlers/usage.go b/server/handlers/usage.go index 7d63f92..f55d1cc 100644 --- a/server/handlers/usage.go +++ b/server/handlers/usage.go @@ -6,8 +6,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // UsageHandler manages usage tracking and pricing endpoints. diff --git a/server/handlers/user_packages.go b/server/handlers/user_packages.go index fa91194..f48bbc7 100644 --- a/server/handlers/user_packages.go +++ b/server/handlers/user_packages.go @@ -22,7 +22,7 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/store" + "switchboard-core/store" ) // allowedNonGlobalPermissions is the set of permissions that non-admin diff --git a/server/handlers/workflow_assignments.go b/server/handlers/workflow_assignments.go index 11e6bba..8e1b790 100644 --- a/server/handlers/workflow_assignments.go +++ b/server/handlers/workflow_assignments.go @@ -12,9 +12,9 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/events" - "chat-switchboard/notifications" - "chat-switchboard/store" + "switchboard-core/events" + "switchboard-core/notifications" + "switchboard-core/store" ) // ── Workflow Assignment Handler ───────────── diff --git a/server/handlers/workflow_entry.go b/server/handlers/workflow_entry.go index c8fff24..96eeb9d 100644 --- a/server/handlers/workflow_entry.go +++ b/server/handlers/workflow_entry.go @@ -7,8 +7,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── Workflow Entry Handler ────────────────── diff --git a/server/handlers/workflow_forms.go b/server/handlers/workflow_forms.go index 2e5723e..c2764cf 100644 --- a/server/handlers/workflow_forms.go +++ b/server/handlers/workflow_forms.go @@ -8,12 +8,12 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/events" - "chat-switchboard/models" - "chat-switchboard/sandbox" - "chat-switchboard/store" - "chat-switchboard/tools" - "chat-switchboard/workflow" + "switchboard-core/events" + "switchboard-core/models" + "switchboard-core/sandbox" + "switchboard-core/store" + "switchboard-core/tools" + "switchboard-core/workflow" "go.starlark.net/starlark" ) diff --git a/server/handlers/workflow_hooks.go b/server/handlers/workflow_hooks.go index 186abbd..cd47620 100644 --- a/server/handlers/workflow_hooks.go +++ b/server/handlers/workflow_hooks.go @@ -7,8 +7,8 @@ import ( "go.starlark.net/starlark" - "chat-switchboard/sandbox" - "chat-switchboard/store" + "switchboard-core/sandbox" + "switchboard-core/store" ) // ── on_advance Hook (v0.35.0) ─────────────── diff --git a/server/handlers/workflow_instance_test.go b/server/handlers/workflow_instance_test.go index a31561c..1b28f0c 100644 --- a/server/handlers/workflow_instance_test.go +++ b/server/handlers/workflow_instance_test.go @@ -8,13 +8,13 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/config" - authpkg "chat-switchboard/auth" - "chat-switchboard/database" - "chat-switchboard/middleware" - "chat-switchboard/store" - postgres "chat-switchboard/store/postgres" - sqlite "chat-switchboard/store/sqlite" + "switchboard-core/config" + authpkg "switchboard-core/auth" + "switchboard-core/database" + "switchboard-core/middleware" + "switchboard-core/store" + postgres "switchboard-core/store/postgres" + sqlite "switchboard-core/store/sqlite" ) // ═══════════════════════════════════════════════════════════ diff --git a/server/handlers/workflow_instances.go b/server/handlers/workflow_instances.go index 867a0d9..89e7591 100644 --- a/server/handlers/workflow_instances.go +++ b/server/handlers/workflow_instances.go @@ -10,13 +10,13 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/events" - "chat-switchboard/models" - "chat-switchboard/notifications" - "chat-switchboard/sandbox" - "chat-switchboard/store" - "chat-switchboard/tools" - "chat-switchboard/workflow" + "switchboard-core/events" + "switchboard-core/models" + "switchboard-core/notifications" + "switchboard-core/sandbox" + "switchboard-core/store" + "switchboard-core/tools" + "switchboard-core/workflow" ) // ── Workflow Instance Handler ─────────────── diff --git a/server/handlers/workflow_monitor.go b/server/handlers/workflow_monitor.go index f5e6657..1619baa 100644 --- a/server/handlers/workflow_monitor.go +++ b/server/handlers/workflow_monitor.go @@ -13,7 +13,7 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/store" + "switchboard-core/store" ) // ── Workflow Monitor Handler ───────────────── diff --git a/server/handlers/workflow_packages.go b/server/handlers/workflow_packages.go index a6fc8d1..4f5d6d9 100644 --- a/server/handlers/workflow_packages.go +++ b/server/handlers/workflow_packages.go @@ -15,8 +15,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // WorkflowPackageHandler handles workflow package export and install. diff --git a/server/handlers/workflow_team.go b/server/handlers/workflow_team.go index e281cfe..3245b10 100644 --- a/server/handlers/workflow_team.go +++ b/server/handlers/workflow_team.go @@ -6,7 +6,7 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" + "switchboard-core/models" ) // ── Team-Scoped Workflow Wrappers (v0.31.2) ──────────────── diff --git a/server/handlers/workflow_test.go b/server/handlers/workflow_test.go index 54470d3..03a17a5 100644 --- a/server/handlers/workflow_test.go +++ b/server/handlers/workflow_test.go @@ -7,13 +7,13 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/config" - authpkg "chat-switchboard/auth" - "chat-switchboard/database" - "chat-switchboard/middleware" - "chat-switchboard/store" - postgres "chat-switchboard/store/postgres" - sqlite "chat-switchboard/store/sqlite" + "switchboard-core/config" + authpkg "switchboard-core/auth" + "switchboard-core/database" + "switchboard-core/middleware" + "switchboard-core/store" + postgres "switchboard-core/store/postgres" + sqlite "switchboard-core/store/sqlite" ) // TestWorkflowCRUD exercises the full workflow lifecycle: diff --git a/server/handlers/workflows.go b/server/handlers/workflows.go index 313f593..b795443 100644 --- a/server/handlers/workflows.go +++ b/server/handlers/workflows.go @@ -10,8 +10,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── Workflow Handler ──────────────────────── diff --git a/server/handlers/workspace_test.go b/server/handlers/workspace_test.go index 01fa625..244d4ff 100644 --- a/server/handlers/workspace_test.go +++ b/server/handlers/workspace_test.go @@ -8,13 +8,13 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/config" - "chat-switchboard/database" - "chat-switchboard/middleware" - "chat-switchboard/models" - "chat-switchboard/store" - postgres "chat-switchboard/store/postgres" - sqlite "chat-switchboard/store/sqlite" + "switchboard-core/config" + "switchboard-core/database" + "switchboard-core/middleware" + "switchboard-core/models" + "switchboard-core/store" + postgres "switchboard-core/store/postgres" + sqlite "switchboard-core/store/sqlite" ) // ── Workspace Test Harness ──────────────── diff --git a/server/handlers/workspaces.go b/server/handlers/workspaces.go index 8cc1cfc..27d06b0 100644 --- a/server/handlers/workspaces.go +++ b/server/handlers/workspaces.go @@ -12,9 +12,9 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/models" - "chat-switchboard/store" - "chat-switchboard/workspace" + "switchboard-core/models" + "switchboard-core/store" + "switchboard-core/workspace" ) // ── Request Types ─────────────────────────── diff --git a/server/health/accumulator.go b/server/health/accumulator.go index 15a9c75..49a54c6 100644 --- a/server/health/accumulator.go +++ b/server/health/accumulator.go @@ -10,8 +10,8 @@ import ( "sync" "time" - "chat-switchboard/metrics" - "chat-switchboard/models" + "switchboard-core/metrics" + "switchboard-core/models" ) // ── Thresholds ────────────────────────────── diff --git a/server/health/accumulator_test.go b/server/health/accumulator_test.go index a5be29d..5489bfa 100644 --- a/server/health/accumulator_test.go +++ b/server/health/accumulator_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "chat-switchboard/models" + "switchboard-core/models" ) // ── Mock Store ────────────────────────────── diff --git a/server/knowledge/embedder.go b/server/knowledge/embedder.go index 53d6138..48e9a7a 100644 --- a/server/knowledge/embedder.go +++ b/server/knowledge/embedder.go @@ -5,9 +5,9 @@ import ( "fmt" "log" - "chat-switchboard/models" - "chat-switchboard/roles" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/roles" + "switchboard-core/store" ) // ── Configuration ──────────────────────────── diff --git a/server/knowledge/ingest.go b/server/knowledge/ingest.go index d0efa4b..b439c3f 100644 --- a/server/knowledge/ingest.go +++ b/server/knowledge/ingest.go @@ -9,10 +9,10 @@ import ( "sync" "time" - "chat-switchboard/models" - "chat-switchboard/notifications" - "chat-switchboard/storage" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/notifications" + "switchboard-core/storage" + "switchboard-core/store" ) // ── Configuration ──────────────────────────── diff --git a/server/main.go b/server/main.go index ccb0c23..3eec642 100644 --- a/server/main.go +++ b/server/main.go @@ -16,37 +16,37 @@ import ( "github.com/gin-gonic/gin" "github.com/prometheus/client_golang/prometheus/promhttp" - "chat-switchboard/auth" - "chat-switchboard/compaction" - "chat-switchboard/config" - "chat-switchboard/crypto" - "chat-switchboard/database" - "chat-switchboard/events" - "chat-switchboard/extraction" - "chat-switchboard/filters" - "chat-switchboard/sandbox" - "chat-switchboard/handlers" - "chat-switchboard/health" - "chat-switchboard/logging" - "chat-switchboard/metrics" - "chat-switchboard/knowledge" - "chat-switchboard/memory" - "chat-switchboard/middleware" - "chat-switchboard/notifications" - "chat-switchboard/pages" - "chat-switchboard/providers" - "chat-switchboard/retention" - "chat-switchboard/roles" - "chat-switchboard/routing" - "chat-switchboard/scheduler" - "chat-switchboard/storage" - "chat-switchboard/store" - postgres "chat-switchboard/store/postgres" - sqliteStore "chat-switchboard/store/sqlite" - "chat-switchboard/tools" - "chat-switchboard/tools/search" - "chat-switchboard/treepath" - "chat-switchboard/workspace" + "switchboard-core/auth" + "switchboard-core/compaction" + "switchboard-core/config" + "switchboard-core/crypto" + "switchboard-core/database" + "switchboard-core/events" + "switchboard-core/extraction" + "switchboard-core/filters" + "switchboard-core/sandbox" + "switchboard-core/handlers" + "switchboard-core/health" + "switchboard-core/logging" + "switchboard-core/metrics" + "switchboard-core/knowledge" + "switchboard-core/memory" + "switchboard-core/middleware" + "switchboard-core/notifications" + "switchboard-core/pages" + "switchboard-core/providers" + "switchboard-core/retention" + "switchboard-core/roles" + "switchboard-core/routing" + "switchboard-core/scheduler" + "switchboard-core/storage" + "switchboard-core/store" + postgres "switchboard-core/store/postgres" + sqliteStore "switchboard-core/store/sqlite" + "switchboard-core/tools" + "switchboard-core/tools/search" + "switchboard-core/treepath" + "switchboard-core/workspace" ) // v0.33.0: Embedded OpenAPI spec and Swagger UI for /api/docs. diff --git a/server/memory/compactor.go b/server/memory/compactor.go index 7b94b67..d62b8e8 100644 --- a/server/memory/compactor.go +++ b/server/memory/compactor.go @@ -7,10 +7,10 @@ import ( "log" "strings" - "chat-switchboard/models" - "chat-switchboard/providers" - "chat-switchboard/roles" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/providers" + "switchboard-core/roles" + "switchboard-core/store" ) // compactionThreshold is the minimum number of active memories before diff --git a/server/memory/extractor.go b/server/memory/extractor.go index b29ecd7..e0cf65e 100644 --- a/server/memory/extractor.go +++ b/server/memory/extractor.go @@ -7,12 +7,12 @@ import ( "log" "strings" - "chat-switchboard/knowledge" - "chat-switchboard/models" - "chat-switchboard/notifications" - "chat-switchboard/providers" - "chat-switchboard/roles" - "chat-switchboard/store" + "switchboard-core/knowledge" + "switchboard-core/models" + "switchboard-core/notifications" + "switchboard-core/providers" + "switchboard-core/roles" + "switchboard-core/store" ) // defaultExtractionPrompt is used when the persona has no custom prompt. diff --git a/server/memory/scanner.go b/server/memory/scanner.go index 16bf684..f3b9afb 100644 --- a/server/memory/scanner.go +++ b/server/memory/scanner.go @@ -6,8 +6,8 @@ import ( "sync" "time" - "chat-switchboard/database" - "chat-switchboard/store" + "switchboard-core/database" + "switchboard-core/store" ) // ScannerConfig holds tunable parameters for the background scanner. diff --git a/server/mentions/parser.go b/server/mentions/parser.go index 8aaab14..1243830 100644 --- a/server/mentions/parser.go +++ b/server/mentions/parser.go @@ -5,7 +5,7 @@ import ( "strings" "unicode" - "chat-switchboard/models" + "switchboard-core/models" ) // Mention represents a parsed @mention token in message content. diff --git a/server/mentions/parser_test.go b/server/mentions/parser_test.go index 0f1ab37..f4c688d 100644 --- a/server/mentions/parser_test.go +++ b/server/mentions/parser_test.go @@ -3,7 +3,7 @@ package mentions import ( "testing" - "chat-switchboard/models" + "switchboard-core/models" ) func roster() []models.ChannelModel { diff --git a/server/middleware/auth.go b/server/middleware/auth.go index ecf11d1..5200db2 100644 --- a/server/middleware/auth.go +++ b/server/middleware/auth.go @@ -11,9 +11,9 @@ import ( "github.com/gin-gonic/gin" "github.com/golang-jwt/jwt/v5" - "chat-switchboard/config" - "chat-switchboard/database" - "chat-switchboard/store" + "switchboard-core/config" + "switchboard-core/database" + "switchboard-core/store" ) // Claims represents the JWT payload. Must match handlers.Claims. diff --git a/server/middleware/page_auth.go b/server/middleware/page_auth.go index c84b426..b4f27f7 100644 --- a/server/middleware/page_auth.go +++ b/server/middleware/page_auth.go @@ -7,9 +7,9 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/config" - "chat-switchboard/database" - "chat-switchboard/store" + "switchboard-core/config" + "switchboard-core/database" + "switchboard-core/store" ) // AuthOrRedirect validates JWT tokens for page routes. diff --git a/server/middleware/permissions.go b/server/middleware/permissions.go index ff7fedd..777cfd2 100644 --- a/server/middleware/permissions.go +++ b/server/middleware/permissions.go @@ -5,8 +5,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/auth" - "chat-switchboard/store" + "switchboard-core/auth" + "switchboard-core/store" ) const permCacheKey = "resolved_permissions" diff --git a/server/middleware/prometheus.go b/server/middleware/prometheus.go index 7735daf..7b266b1 100644 --- a/server/middleware/prometheus.go +++ b/server/middleware/prometheus.go @@ -6,7 +6,7 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/metrics" + "switchboard-core/metrics" ) // Prometheus returns a Gin middleware that records HTTP request metrics. diff --git a/server/middleware/ratelimit.go b/server/middleware/ratelimit.go index 585b718..01f3c8c 100644 --- a/server/middleware/ratelimit.go +++ b/server/middleware/ratelimit.go @@ -6,7 +6,7 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/store" + "switchboard-core/store" ) // RateLimiter implements per-IP rate limiting backed by a shared store. diff --git a/server/middleware/session_auth.go b/server/middleware/session_auth.go index 284ce43..99ab12f 100644 --- a/server/middleware/session_auth.go +++ b/server/middleware/session_auth.go @@ -6,10 +6,10 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/auth" - "chat-switchboard/config" - "chat-switchboard/database" - "chat-switchboard/store" + "switchboard-core/auth" + "switchboard-core/config" + "switchboard-core/database" + "switchboard-core/store" ) // AuthOrSession returns middleware that accepts either a normal JWT or a diff --git a/server/middleware/team.go b/server/middleware/team.go index 408412a..0e54ae6 100644 --- a/server/middleware/team.go +++ b/server/middleware/team.go @@ -5,7 +5,7 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/store" + "switchboard-core/store" ) // RequireTeamAdmin returns middleware that restricts access to team admins. diff --git a/server/notelinks/extract.go b/server/notelinks/extract.go index b32025d..70397f4 100644 --- a/server/notelinks/extract.go +++ b/server/notelinks/extract.go @@ -4,7 +4,7 @@ import ( "regexp" "strings" - "chat-switchboard/models" + "switchboard-core/models" ) // wikiRe matches [[Title]], [[Title|Display]], ![[Title]], and ![[Title|Display]]. diff --git a/server/notifications/email.go b/server/notifications/email.go index a89ab7a..b0b125d 100644 --- a/server/notifications/email.go +++ b/server/notifications/email.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "chat-switchboard/store" + "switchboard-core/store" ) // SMTPConfig holds SMTP connection settings, loaded from platform_settings. diff --git a/server/notifications/service.go b/server/notifications/service.go index d559265..a5e587d 100644 --- a/server/notifications/service.go +++ b/server/notifications/service.go @@ -7,9 +7,9 @@ import ( "sync" "time" - "chat-switchboard/events" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/events" + "switchboard-core/models" + "switchboard-core/store" ) // ── Package-level singleton ───────────────── diff --git a/server/notifications/service_test.go b/server/notifications/service_test.go index b8c748d..84178de 100644 --- a/server/notifications/service_test.go +++ b/server/notifications/service_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "chat-switchboard/models" + "switchboard-core/models" ) // mockPrefStore implements store.NotificationPreferenceStore for testing. diff --git a/server/notifications/sources.go b/server/notifications/sources.go index 390c9a6..168f31a 100644 --- a/server/notifications/sources.go +++ b/server/notifications/sources.go @@ -6,9 +6,9 @@ import ( "fmt" "log" - "chat-switchboard/events" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/events" + "switchboard-core/models" + "switchboard-core/store" ) // ── Role Fallback ─────────────────────────── diff --git a/server/notifications/sources_test.go b/server/notifications/sources_test.go index 8e6c48d..1f7329f 100644 --- a/server/notifications/sources_test.go +++ b/server/notifications/sources_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "chat-switchboard/models" + "switchboard-core/models" ) // mockNotifStore implements store.NotificationStore for testing. diff --git a/server/notifications/templates.go b/server/notifications/templates.go index f14d5ff..bcd07b8 100644 --- a/server/notifications/templates.go +++ b/server/notifications/templates.go @@ -5,7 +5,7 @@ import ( "html/template" "strings" - "chat-switchboard/models" + "switchboard-core/models" ) // ── Template Data ─────────────────────────── diff --git a/server/notifications/templates_test.go b/server/notifications/templates_test.go index 15e2c18..0d277ef 100644 --- a/server/notifications/templates_test.go +++ b/server/notifications/templates_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "chat-switchboard/models" + "switchboard-core/models" ) func TestRenderHTML_Basic(t *testing.T) { diff --git a/server/pages/loaders.go b/server/pages/loaders.go index 4144f5d..642c246 100644 --- a/server/pages/loaders.go +++ b/server/pages/loaders.go @@ -7,8 +7,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/providers" - "chat-switchboard/store" + "switchboard-core/providers" + "switchboard-core/store" ) // ── Types for template data ────────────────── diff --git a/server/pages/pages.go b/server/pages/pages.go index 036be4e..721e742 100644 --- a/server/pages/pages.go +++ b/server/pages/pages.go @@ -24,8 +24,8 @@ import ( "github.com/gin-gonic/gin" - "chat-switchboard/config" - "chat-switchboard/store" + "switchboard-core/config" + "switchboard-core/store" ) //go:embed templates/*.html templates/components/*.html templates/surfaces/*.html diff --git a/server/providers/anthropic.go b/server/providers/anthropic.go index cebf688..27b0a51 100644 --- a/server/providers/anthropic.go +++ b/server/providers/anthropic.go @@ -1,8 +1,8 @@ package providers import ( - "chat-switchboard/capabilities" - "chat-switchboard/models" + "switchboard-core/capabilities" + "switchboard-core/models" "bufio" "bytes" "context" diff --git a/server/providers/openai.go b/server/providers/openai.go index d45cd69..0e9b4e4 100644 --- a/server/providers/openai.go +++ b/server/providers/openai.go @@ -1,7 +1,7 @@ package providers import ( - "chat-switchboard/capabilities" + "switchboard-core/capabilities" "bufio" "bytes" "context" diff --git a/server/providers/openrouter.go b/server/providers/openrouter.go index 3b8b7c2..ff7eea3 100644 --- a/server/providers/openrouter.go +++ b/server/providers/openrouter.go @@ -1,8 +1,8 @@ package providers import ( - "chat-switchboard/capabilities" - "chat-switchboard/models" + "switchboard-core/capabilities" + "switchboard-core/models" "context" "encoding/json" "fmt" diff --git a/server/providers/provider.go b/server/providers/provider.go index 6ba56fd..d18260d 100644 --- a/server/providers/provider.go +++ b/server/providers/provider.go @@ -10,7 +10,7 @@ import ( "sync" "time" - "chat-switchboard/models" + "switchboard-core/models" ) // ── Errors ───────────────────────────────── diff --git a/server/providers/venice.go b/server/providers/venice.go index 922b349..4ca8d60 100644 --- a/server/providers/venice.go +++ b/server/providers/venice.go @@ -1,7 +1,7 @@ package providers import ( - "chat-switchboard/models" + "switchboard-core/models" "context" "encoding/json" "fmt" diff --git a/server/retention/scanner.go b/server/retention/scanner.go index 2b5f64d..3d5d0b5 100644 --- a/server/retention/scanner.go +++ b/server/retention/scanner.go @@ -7,8 +7,8 @@ import ( "sync" "time" - "chat-switchboard/storage" - "chat-switchboard/store" + "switchboard-core/storage" + "switchboard-core/store" ) const DefaultInterval = 1 * time.Hour diff --git a/server/roles/roles.go b/server/roles/roles.go index b2158ea..4ffab7c 100644 --- a/server/roles/roles.go +++ b/server/roles/roles.go @@ -8,11 +8,11 @@ import ( "sync" "time" - "chat-switchboard/crypto" - "chat-switchboard/events" - "chat-switchboard/models" - "chat-switchboard/providers" - "chat-switchboard/store" + "switchboard-core/crypto" + "switchboard-core/events" + "switchboard-core/models" + "switchboard-core/providers" + "switchboard-core/store" ) // ── Known Roles ──────────────────────────── diff --git a/server/routing/convert.go b/server/routing/convert.go index 7b9c708..9313067 100644 --- a/server/routing/convert.go +++ b/server/routing/convert.go @@ -3,7 +3,7 @@ package routing import ( "encoding/json" - "chat-switchboard/models" + "switchboard-core/models" ) // FromModel converts a DB model to a routing Policy for evaluation. diff --git a/server/routing/evaluator.go b/server/routing/evaluator.go index cf91d62..d63d6b0 100644 --- a/server/routing/evaluator.go +++ b/server/routing/evaluator.go @@ -4,7 +4,7 @@ import ( "sort" "strings" - "chat-switchboard/models" + "switchboard-core/models" ) // Evaluator processes routing policies to produce a ranked candidate list. diff --git a/server/routing/evaluator_test.go b/server/routing/evaluator_test.go index e8b5c34..9a9af58 100644 --- a/server/routing/evaluator_test.go +++ b/server/routing/evaluator_test.go @@ -3,7 +3,7 @@ package routing import ( "testing" - "chat-switchboard/models" + "switchboard-core/models" ) func strPtr(s string) *string { return &s } diff --git a/server/routing/types.go b/server/routing/types.go index 1d40f27..2a4caf3 100644 --- a/server/routing/types.go +++ b/server/routing/types.go @@ -7,7 +7,7 @@ package routing import ( "time" - "chat-switchboard/models" + "switchboard-core/models" ) // ── Policy ───────────────────────────────── diff --git a/server/sandbox/connections_module.go b/server/sandbox/connections_module.go index 9ebbc74..812829a 100644 --- a/server/sandbox/connections_module.go +++ b/server/sandbox/connections_module.go @@ -19,7 +19,7 @@ import ( "go.starlark.net/starlark" "go.starlark.net/starlarkstruct" - "chat-switchboard/models" + "switchboard-core/models" ) // ConnectionResolver resolves extension connections with secret decryption. diff --git a/server/sandbox/lib_module.go b/server/sandbox/lib_module.go index db9a07f..db87d20 100644 --- a/server/sandbox/lib_module.go +++ b/server/sandbox/lib_module.go @@ -18,7 +18,7 @@ import ( "go.starlark.net/starlark" "go.starlark.net/starlarkstruct" - "chat-switchboard/models" + "switchboard-core/models" ) // libContext carries per-invocation state for lib.require() calls. diff --git a/server/sandbox/modules.go b/server/sandbox/modules.go index 8059f97..cd281b8 100644 --- a/server/sandbox/modules.go +++ b/server/sandbox/modules.go @@ -12,8 +12,8 @@ import ( "go.starlark.net/starlark" "go.starlark.net/starlarkstruct" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ─── Secrets Module ────────────────────────── diff --git a/server/sandbox/provider_module.go b/server/sandbox/provider_module.go index 4e2d625..674cf07 100644 --- a/server/sandbox/provider_module.go +++ b/server/sandbox/provider_module.go @@ -32,7 +32,7 @@ import ( "go.starlark.net/starlark" "go.starlark.net/starlarkstruct" - "chat-switchboard/providers" + "switchboard-core/providers" ) // ─── Provider Resolution Interface ────────── diff --git a/server/sandbox/provider_module_test.go b/server/sandbox/provider_module_test.go index 507e17d..7f6771d 100644 --- a/server/sandbox/provider_module_test.go +++ b/server/sandbox/provider_module_test.go @@ -5,7 +5,7 @@ import ( "go.starlark.net/starlark" - "chat-switchboard/providers" + "switchboard-core/providers" ) // ─── ParseRequiresProvider ────────────────── diff --git a/server/sandbox/runner.go b/server/sandbox/runner.go index e6dcaaa..dd38974 100644 --- a/server/sandbox/runner.go +++ b/server/sandbox/runner.go @@ -33,8 +33,8 @@ import ( starlarkjson "go.starlark.net/lib/json" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // RunContext carries per-invocation state that modules need but which diff --git a/server/sandbox/settings_module.go b/server/sandbox/settings_module.go index 1d0e272..e485593 100644 --- a/server/sandbox/settings_module.go +++ b/server/sandbox/settings_module.go @@ -17,7 +17,7 @@ import ( "go.starlark.net/starlark" "go.starlark.net/starlarkstruct" - "chat-switchboard/store" + "switchboard-core/store" ) // BuildSettingsModule creates the "settings" Starlark module for a package. diff --git a/server/sandbox/workflow_module.go b/server/sandbox/workflow_module.go index 719dfe1..4f92e9e 100644 --- a/server/sandbox/workflow_module.go +++ b/server/sandbox/workflow_module.go @@ -19,8 +19,8 @@ import ( "go.starlark.net/starlark" "go.starlark.net/starlarkstruct" - "chat-switchboard/store" - "chat-switchboard/workflow" + "switchboard-core/store" + "switchboard-core/workflow" ) // BuildWorkflowModule creates the "workflow" Starlark module for a package. diff --git a/server/scheduler/executor.go b/server/scheduler/executor.go index 066675e..d25100d 100644 --- a/server/scheduler/executor.go +++ b/server/scheduler/executor.go @@ -15,18 +15,18 @@ import ( "log" "time" - capspkg "chat-switchboard/capabilities" - "chat-switchboard/crypto" - "chat-switchboard/events" - "chat-switchboard/handlers" - "chat-switchboard/models" - "chat-switchboard/notifications" - "chat-switchboard/providers" - "chat-switchboard/sandbox" - "chat-switchboard/store" - "chat-switchboard/taskutil" - "chat-switchboard/tools" - "chat-switchboard/webhook" + capspkg "switchboard-core/capabilities" + "switchboard-core/crypto" + "switchboard-core/events" + "switchboard-core/handlers" + "switchboard-core/models" + "switchboard-core/notifications" + "switchboard-core/providers" + "switchboard-core/sandbox" + "switchboard-core/store" + "switchboard-core/taskutil" + "switchboard-core/tools" + "switchboard-core/webhook" ) // Executor runs task completions headlessly (no HTTP client). diff --git a/server/scheduler/scheduler.go b/server/scheduler/scheduler.go index 65bac3c..252ef6e 100644 --- a/server/scheduler/scheduler.go +++ b/server/scheduler/scheduler.go @@ -18,9 +18,9 @@ import ( "math/rand" "time" - "chat-switchboard/models" - "chat-switchboard/store" - "chat-switchboard/taskutil" + "switchboard-core/models" + "switchboard-core/store" + "switchboard-core/taskutil" ) // Scheduler polls for due tasks and dispatches execution. diff --git a/server/scheduler/system_builtins.go b/server/scheduler/system_builtins.go index 6b346f3..1502c8f 100644 --- a/server/scheduler/system_builtins.go +++ b/server/scheduler/system_builtins.go @@ -10,8 +10,8 @@ import ( "log" "time" - "chat-switchboard/store" - "chat-switchboard/taskutil" + "switchboard-core/store" + "switchboard-core/taskutil" ) // RegisterBuiltins registers all built-in system functions. diff --git a/server/store/extension_perm_iface.go b/server/store/extension_perm_iface.go index fe3b76e..b09bc48 100644 --- a/server/store/extension_perm_iface.go +++ b/server/store/extension_perm_iface.go @@ -3,7 +3,7 @@ package store import ( "context" - "chat-switchboard/models" + "switchboard-core/models" ) // ExtensionPermissionStore manages declared and granted permissions for packages. diff --git a/server/store/interfaces.go b/server/store/interfaces.go index 90471fe..189034c 100644 --- a/server/store/interfaces.go +++ b/server/store/interfaces.go @@ -6,7 +6,7 @@ import ( "errors" "time" - "chat-switchboard/models" + "switchboard-core/models" ) // ── Sentinel Errors ───────────────────────── diff --git a/server/store/postgres/audit.go b/server/store/postgres/audit.go index 571bda8..e3a2bb2 100644 --- a/server/store/postgres/audit.go +++ b/server/store/postgres/audit.go @@ -5,8 +5,8 @@ import ( "database/sql" "encoding/json" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type AuditStore struct{} diff --git a/server/store/postgres/cap_override.go b/server/store/postgres/cap_override.go index 22d9482..4c7b68f 100644 --- a/server/store/postgres/cap_override.go +++ b/server/store/postgres/cap_override.go @@ -4,7 +4,7 @@ import ( "context" "database/sql" - "chat-switchboard/models" + "switchboard-core/models" ) // CapOverrideStore implements store.CapabilityOverrideStore for Postgres. diff --git a/server/store/postgres/catalog.go b/server/store/postgres/catalog.go index de1d643..bc86940 100644 --- a/server/store/postgres/catalog.go +++ b/server/store/postgres/catalog.go @@ -7,8 +7,8 @@ import ( "fmt" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type CatalogStore struct{} diff --git a/server/store/postgres/channel.go b/server/store/postgres/channel.go index f69d333..a8f0732 100644 --- a/server/store/postgres/channel.go +++ b/server/store/postgres/channel.go @@ -10,8 +10,8 @@ import ( "github.com/lib/pq" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type ChannelStore struct{} diff --git a/server/store/postgres/export.go b/server/store/postgres/export.go index 6aa91f1..a6525a4 100644 --- a/server/store/postgres/export.go +++ b/server/store/postgres/export.go @@ -13,7 +13,7 @@ import ( "github.com/lib/pq" - "chat-switchboard/models" + "switchboard-core/models" ) // ExportStore implements store.ExportStore for Postgres. diff --git a/server/store/postgres/ext_connection.go b/server/store/postgres/ext_connection.go index 973bf16..92c7d00 100644 --- a/server/store/postgres/ext_connection.go +++ b/server/store/postgres/ext_connection.go @@ -6,7 +6,7 @@ import ( "encoding/json" "fmt" - "chat-switchboard/models" + "switchboard-core/models" ) // ── ConnectionStore (v0.38.1) ──────────────────────── diff --git a/server/store/postgres/ext_dependency.go b/server/store/postgres/ext_dependency.go index 2d71852..d9aab13 100644 --- a/server/store/postgres/ext_dependency.go +++ b/server/store/postgres/ext_dependency.go @@ -4,7 +4,7 @@ import ( "context" "database/sql" - "chat-switchboard/models" + "switchboard-core/models" ) // ── DependencyStore (v0.38.2) ──────────────────────── diff --git a/server/store/postgres/extension_permissions.go b/server/store/postgres/extension_permissions.go index 1f211fe..3a41759 100644 --- a/server/store/postgres/extension_permissions.go +++ b/server/store/postgres/extension_permissions.go @@ -5,7 +5,7 @@ import ( "database/sql" "time" - "chat-switchboard/models" + "switchboard-core/models" ) type ExtensionPermissionStore struct { diff --git a/server/store/postgres/file.go b/server/store/postgres/file.go index 93f1e48..1d7972c 100644 --- a/server/store/postgres/file.go +++ b/server/store/postgres/file.go @@ -6,7 +6,7 @@ import ( "encoding/json" "time" - "chat-switchboard/models" + "switchboard-core/models" ) // FileStore implements store.FileStore against the `files` table. diff --git a/server/store/postgres/folder.go b/server/store/postgres/folder.go index 60c0ed9..1987a2c 100644 --- a/server/store/postgres/folder.go +++ b/server/store/postgres/folder.go @@ -3,7 +3,7 @@ package postgres import ( "context" - "chat-switchboard/models" + "switchboard-core/models" ) type FolderStore struct{} diff --git a/server/store/postgres/git_credentials.go b/server/store/postgres/git_credentials.go index eeecfe4..1efbeaf 100644 --- a/server/store/postgres/git_credentials.go +++ b/server/store/postgres/git_credentials.go @@ -4,7 +4,7 @@ import ( "context" "database/sql" - "chat-switchboard/models" + "switchboard-core/models" ) // GitCredentialStore implements store.GitCredentialStore for PostgreSQL. diff --git a/server/store/postgres/global_config.go b/server/store/postgres/global_config.go index f008129..5e74825 100644 --- a/server/store/postgres/global_config.go +++ b/server/store/postgres/global_config.go @@ -5,7 +5,7 @@ import ( "database/sql" "encoding/json" - "chat-switchboard/models" + "switchboard-core/models" ) type GlobalConfigStore struct{} diff --git a/server/store/postgres/groups.go b/server/store/postgres/groups.go index 0c344a0..7a752c7 100644 --- a/server/store/postgres/groups.go +++ b/server/store/postgres/groups.go @@ -7,8 +7,8 @@ import ( "errors" "fmt" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── GroupStore ────────────────────────────── diff --git a/server/store/postgres/health.go b/server/store/postgres/health.go index 9b1fcb8..b33653a 100644 --- a/server/store/postgres/health.go +++ b/server/store/postgres/health.go @@ -5,7 +5,7 @@ import ( "database/sql" "time" - "chat-switchboard/models" + "switchboard-core/models" ) // HealthStore implements health.Store for Postgres. diff --git a/server/store/postgres/helpers.go b/server/store/postgres/helpers.go index 98ff71e..0366184 100644 --- a/server/store/postgres/helpers.go +++ b/server/store/postgres/helpers.go @@ -6,7 +6,7 @@ import ( "fmt" "strings" - "chat-switchboard/store" + "switchboard-core/store" ) // DB is the shared database connection pool. diff --git a/server/store/postgres/knowledge_bases.go b/server/store/postgres/knowledge_bases.go index 613c45e..0a52a6b 100644 --- a/server/store/postgres/knowledge_bases.go +++ b/server/store/postgres/knowledge_bases.go @@ -6,7 +6,7 @@ import ( "fmt" "strings" - "chat-switchboard/models" + "switchboard-core/models" "github.com/lib/pq" ) diff --git a/server/store/postgres/memory.go b/server/store/postgres/memory.go index a32eb3c..329b79f 100644 --- a/server/store/postgres/memory.go +++ b/server/store/postgres/memory.go @@ -6,8 +6,8 @@ import ( "fmt" "strings" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type MemoryStore struct{} diff --git a/server/store/postgres/memory_hybrid.go b/server/store/postgres/memory_hybrid.go index 814fd23..09efa82 100644 --- a/server/store/postgres/memory_hybrid.go +++ b/server/store/postgres/memory_hybrid.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "chat-switchboard/models" + "switchboard-core/models" ) // RecallHybrid returns active memories using vector similarity + keyword search. diff --git a/server/store/postgres/message.go b/server/store/postgres/message.go index c198612..03f1167 100644 --- a/server/store/postgres/message.go +++ b/server/store/postgres/message.go @@ -7,8 +7,8 @@ import ( "fmt" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type MessageStore struct{} diff --git a/server/store/postgres/message_tree.go b/server/store/postgres/message_tree.go index cb09c15..f27a227 100644 --- a/server/store/postgres/message_tree.go +++ b/server/store/postgres/message_tree.go @@ -6,8 +6,8 @@ import ( "encoding/json" "fmt" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── Tree Operations (v0.29.0) ─────────────────────────────────────────── diff --git a/server/store/postgres/note.go b/server/store/postgres/note.go index b4492f3..5872b4e 100644 --- a/server/store/postgres/note.go +++ b/server/store/postgres/note.go @@ -7,8 +7,8 @@ import ( "fmt" "strings" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" "github.com/lib/pq" ) diff --git a/server/store/postgres/note_link.go b/server/store/postgres/note_link.go index 0274128..1e45799 100644 --- a/server/store/postgres/note_link.go +++ b/server/store/postgres/note_link.go @@ -3,7 +3,7 @@ package postgres import ( "context" - "chat-switchboard/models" + "switchboard-core/models" "github.com/lib/pq" ) diff --git a/server/store/postgres/notification.go b/server/store/postgres/notification.go index 34f6032..3f06a17 100644 --- a/server/store/postgres/notification.go +++ b/server/store/postgres/notification.go @@ -5,7 +5,7 @@ import ( "database/sql" "time" - "chat-switchboard/models" + "switchboard-core/models" ) type NotificationStore struct{} diff --git a/server/store/postgres/notification_prefs.go b/server/store/postgres/notification_prefs.go index 2210503..1439bfa 100644 --- a/server/store/postgres/notification_prefs.go +++ b/server/store/postgres/notification_prefs.go @@ -4,7 +4,7 @@ import ( "context" "database/sql" - "chat-switchboard/models" + "switchboard-core/models" ) type NotificationPreferenceStore struct{} diff --git a/server/store/postgres/packages.go b/server/store/postgres/packages.go index 7f9e6af..0eee3fd 100644 --- a/server/store/postgres/packages.go +++ b/server/store/postgres/packages.go @@ -5,7 +5,7 @@ import ( "database/sql" "encoding/json" - "chat-switchboard/store" + "switchboard-core/store" ) type PackageStore struct{} diff --git a/server/store/postgres/persona.go b/server/store/postgres/persona.go index 6dc8137..4d33a8b 100644 --- a/server/store/postgres/persona.go +++ b/server/store/postgres/persona.go @@ -6,7 +6,7 @@ import ( "encoding/json" "fmt" - "chat-switchboard/models" + "switchboard-core/models" ) type PersonaStore struct{} diff --git a/server/store/postgres/persona_group.go b/server/store/postgres/persona_group.go index fc7b997..5311def 100644 --- a/server/store/postgres/persona_group.go +++ b/server/store/postgres/persona_group.go @@ -4,7 +4,7 @@ import ( "context" "database/sql" - "chat-switchboard/models" + "switchboard-core/models" ) type PersonaGroupStore struct{} diff --git a/server/store/postgres/persona_mention.go b/server/store/postgres/persona_mention.go index a8749c6..514e84f 100644 --- a/server/store/postgres/persona_mention.go +++ b/server/store/postgres/persona_mention.go @@ -4,7 +4,7 @@ import ( "context" "database/sql" - "chat-switchboard/store" + "switchboard-core/store" ) // ── Mention resolution + display info (v0.29.0) ──────────────────────── diff --git a/server/store/postgres/policy.go b/server/store/postgres/policy.go index e36704a..7a65890 100644 --- a/server/store/postgres/policy.go +++ b/server/store/postgres/policy.go @@ -4,7 +4,7 @@ import ( "context" "database/sql" - "chat-switchboard/models" + "switchboard-core/models" ) type PolicyStore struct{} diff --git a/server/store/postgres/pricing.go b/server/store/postgres/pricing.go index 78f4fd8..512a6cf 100644 --- a/server/store/postgres/pricing.go +++ b/server/store/postgres/pricing.go @@ -4,7 +4,7 @@ import ( "context" "database/sql" - "chat-switchboard/models" + "switchboard-core/models" ) type PricingStore struct{} diff --git a/server/store/postgres/project.go b/server/store/postgres/project.go index 4a121dd..84eb951 100644 --- a/server/store/postgres/project.go +++ b/server/store/postgres/project.go @@ -7,8 +7,8 @@ import ( "github.com/lib/pq" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── ProjectStore ─────────────────────────── diff --git a/server/store/postgres/provider.go b/server/store/postgres/provider.go index a9e2fbe..26fc59e 100644 --- a/server/store/postgres/provider.go +++ b/server/store/postgres/provider.go @@ -6,7 +6,7 @@ import ( "encoding/json" "fmt" - "chat-switchboard/models" + "switchboard-core/models" ) type ProviderStore struct{} diff --git a/server/store/postgres/resource_grants.go b/server/store/postgres/resource_grants.go index 2320fd0..3d7dd79 100644 --- a/server/store/postgres/resource_grants.go +++ b/server/store/postgres/resource_grants.go @@ -4,7 +4,7 @@ import ( "context" "database/sql" - "chat-switchboard/models" + "switchboard-core/models" "github.com/lib/pq" ) diff --git a/server/store/postgres/routing_policy.go b/server/store/postgres/routing_policy.go index d60ea31..04c813a 100644 --- a/server/store/postgres/routing_policy.go +++ b/server/store/postgres/routing_policy.go @@ -5,7 +5,7 @@ import ( "database/sql" "encoding/json" - "chat-switchboard/models" + "switchboard-core/models" ) // RoutingPolicyStore implements store.RoutingPolicyStore for Postgres. diff --git a/server/store/postgres/sessions.go b/server/store/postgres/sessions.go index 9d48e7d..f418369 100644 --- a/server/store/postgres/sessions.go +++ b/server/store/postgres/sessions.go @@ -5,7 +5,7 @@ import ( "database/sql" "time" - "chat-switchboard/models" + "switchboard-core/models" ) // ── SessionStore ─────────────────────────── diff --git a/server/store/postgres/stores.go b/server/store/postgres/stores.go index dbf62a0..d459db3 100644 --- a/server/store/postgres/stores.go +++ b/server/store/postgres/stores.go @@ -3,7 +3,7 @@ package postgres import ( "database/sql" - "chat-switchboard/store" + "switchboard-core/store" ) // NewStores creates all Postgres store implementations and wires them diff --git a/server/store/postgres/tasks.go b/server/store/postgres/tasks.go index f5c206b..15b981c 100644 --- a/server/store/postgres/tasks.go +++ b/server/store/postgres/tasks.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "chat-switchboard/models" + "switchboard-core/models" ) type TaskStore struct{} diff --git a/server/store/postgres/team.go b/server/store/postgres/team.go index 3ca8e0c..dfd7088 100644 --- a/server/store/postgres/team.go +++ b/server/store/postgres/team.go @@ -6,7 +6,7 @@ import ( "encoding/json" "fmt" - "chat-switchboard/models" + "switchboard-core/models" ) type TeamStore struct{} diff --git a/server/store/postgres/usage.go b/server/store/postgres/usage.go index bfb2d62..e17be07 100644 --- a/server/store/postgres/usage.go +++ b/server/store/postgres/usage.go @@ -6,8 +6,8 @@ import ( "strings" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type UsageStore struct{} diff --git a/server/store/postgres/user.go b/server/store/postgres/user.go index fb71595..3ad2bc5 100644 --- a/server/store/postgres/user.go +++ b/server/store/postgres/user.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type UserStore struct{} diff --git a/server/store/postgres/user_mention.go b/server/store/postgres/user_mention.go index 188a2b6..b75b49c 100644 --- a/server/store/postgres/user_mention.go +++ b/server/store/postgres/user_mention.go @@ -4,7 +4,7 @@ import ( "context" "database/sql" - "chat-switchboard/store" + "switchboard-core/store" ) // ── Mention resolution + display info (v0.29.0) ──────────────────────── diff --git a/server/store/postgres/user_settings.go b/server/store/postgres/user_settings.go index 175903f..c51f4d1 100644 --- a/server/store/postgres/user_settings.go +++ b/server/store/postgres/user_settings.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "chat-switchboard/models" + "switchboard-core/models" ) type UserModelSettingsStore struct{} diff --git a/server/store/postgres/workflows.go b/server/store/postgres/workflows.go index e9cb478..323749d 100644 --- a/server/store/postgres/workflows.go +++ b/server/store/postgres/workflows.go @@ -7,8 +7,8 @@ import ( "fmt" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // WorkflowStore implements store.WorkflowStore for Postgres. diff --git a/server/store/postgres/workspace.go b/server/store/postgres/workspace.go index 565a906..39e8433 100644 --- a/server/store/postgres/workspace.go +++ b/server/store/postgres/workspace.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "chat-switchboard/models" + "switchboard-core/models" ) type WorkspaceStore struct{} diff --git a/server/store/project_interface.go b/server/store/project_interface.go index 04d0b68..eb3818d 100644 --- a/server/store/project_interface.go +++ b/server/store/project_interface.go @@ -4,7 +4,7 @@ import ( "context" "time" - "chat-switchboard/models" + "switchboard-core/models" ) // ========================================= diff --git a/server/store/sqlite/audit.go b/server/store/sqlite/audit.go index 2b0ab9e..2268113 100644 --- a/server/store/sqlite/audit.go +++ b/server/store/sqlite/audit.go @@ -6,8 +6,8 @@ import ( "encoding/json" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type AuditStore struct{} diff --git a/server/store/sqlite/cap_override.go b/server/store/sqlite/cap_override.go index c2301aa..f0fd30e 100644 --- a/server/store/sqlite/cap_override.go +++ b/server/store/sqlite/cap_override.go @@ -3,8 +3,8 @@ package sqlite import ( "context" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type CapOverrideStore struct{} diff --git a/server/store/sqlite/catalog.go b/server/store/sqlite/catalog.go index 4330280..88578fe 100644 --- a/server/store/sqlite/catalog.go +++ b/server/store/sqlite/catalog.go @@ -7,8 +7,8 @@ import ( "fmt" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type CatalogStore struct{} diff --git a/server/store/sqlite/channel.go b/server/store/sqlite/channel.go index 331fbaf..cc680e7 100644 --- a/server/store/sqlite/channel.go +++ b/server/store/sqlite/channel.go @@ -8,8 +8,8 @@ import ( "strings" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type ChannelStore struct{} diff --git a/server/store/sqlite/export.go b/server/store/sqlite/export.go index ab2a24c..c536bfe 100644 --- a/server/store/sqlite/export.go +++ b/server/store/sqlite/export.go @@ -12,7 +12,7 @@ import ( "strings" "time" - "chat-switchboard/models" + "switchboard-core/models" ) // ExportStore implements store.ExportStore for SQLite. diff --git a/server/store/sqlite/ext_connection.go b/server/store/sqlite/ext_connection.go index 680493b..4fcba6c 100644 --- a/server/store/sqlite/ext_connection.go +++ b/server/store/sqlite/ext_connection.go @@ -7,8 +7,8 @@ import ( "fmt" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── ConnectionStore (v0.38.1) ──────────────────────── diff --git a/server/store/sqlite/ext_dependency.go b/server/store/sqlite/ext_dependency.go index 3e3e941..f374eef 100644 --- a/server/store/sqlite/ext_dependency.go +++ b/server/store/sqlite/ext_dependency.go @@ -4,7 +4,7 @@ import ( "context" "database/sql" - "chat-switchboard/models" + "switchboard-core/models" ) // ── DependencyStore (v0.38.2) ──────────────────────── diff --git a/server/store/sqlite/extension_permissions.go b/server/store/sqlite/extension_permissions.go index 1e50580..5ad4b3f 100644 --- a/server/store/sqlite/extension_permissions.go +++ b/server/store/sqlite/extension_permissions.go @@ -6,8 +6,8 @@ import ( "github.com/google/uuid" - "chat-switchboard/database" - "chat-switchboard/models" + "switchboard-core/database" + "switchboard-core/models" ) type ExtensionPermissionStore struct{} diff --git a/server/store/sqlite/file.go b/server/store/sqlite/file.go index 4ff9448..b0cdaf2 100644 --- a/server/store/sqlite/file.go +++ b/server/store/sqlite/file.go @@ -6,8 +6,8 @@ import ( "encoding/json" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // FileStore implements store.FileStore against the `files` table. diff --git a/server/store/sqlite/folder.go b/server/store/sqlite/folder.go index ab428cd..4115a9a 100644 --- a/server/store/sqlite/folder.go +++ b/server/store/sqlite/folder.go @@ -3,8 +3,8 @@ package sqlite import ( "context" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type FolderStore struct{} diff --git a/server/store/sqlite/git_credentials.go b/server/store/sqlite/git_credentials.go index 99f2fba..faf991b 100644 --- a/server/store/sqlite/git_credentials.go +++ b/server/store/sqlite/git_credentials.go @@ -5,7 +5,7 @@ import ( "database/sql" "encoding/base64" - "chat-switchboard/models" + "switchboard-core/models" "github.com/google/uuid" ) diff --git a/server/store/sqlite/global_config.go b/server/store/sqlite/global_config.go index a84da05..28b89df 100644 --- a/server/store/sqlite/global_config.go +++ b/server/store/sqlite/global_config.go @@ -5,7 +5,7 @@ import ( "database/sql" "encoding/json" - "chat-switchboard/models" + "switchboard-core/models" ) type GlobalConfigStore struct{} diff --git a/server/store/sqlite/groups.go b/server/store/sqlite/groups.go index c0725ed..18f036d 100644 --- a/server/store/sqlite/groups.go +++ b/server/store/sqlite/groups.go @@ -8,8 +8,8 @@ import ( "fmt" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── GroupStore ────────────────────────────── diff --git a/server/store/sqlite/health.go b/server/store/sqlite/health.go index c8bfc7b..520af1c 100644 --- a/server/store/sqlite/health.go +++ b/server/store/sqlite/health.go @@ -5,8 +5,8 @@ import ( "database/sql" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type HealthStore struct{} diff --git a/server/store/sqlite/helpers.go b/server/store/sqlite/helpers.go index f7730cc..46ac68f 100644 --- a/server/store/sqlite/helpers.go +++ b/server/store/sqlite/helpers.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "chat-switchboard/store" + "switchboard-core/store" ) // DB is the shared database connection pool. diff --git a/server/store/sqlite/knowledge_bases.go b/server/store/sqlite/knowledge_bases.go index 2c043e8..33b1458 100644 --- a/server/store/sqlite/knowledge_bases.go +++ b/server/store/sqlite/knowledge_bases.go @@ -10,8 +10,8 @@ import ( "strings" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── KnowledgeBaseStore ────────────────────────── diff --git a/server/store/sqlite/memory.go b/server/store/sqlite/memory.go index ce1b563..2bc34c6 100644 --- a/server/store/sqlite/memory.go +++ b/server/store/sqlite/memory.go @@ -6,8 +6,8 @@ import ( "fmt" "strings" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type MemoryStore struct{} diff --git a/server/store/sqlite/memory_hybrid.go b/server/store/sqlite/memory_hybrid.go index 60cb05a..62f7fc0 100644 --- a/server/store/sqlite/memory_hybrid.go +++ b/server/store/sqlite/memory_hybrid.go @@ -5,7 +5,7 @@ import ( "encoding/json" "strings" - "chat-switchboard/models" + "switchboard-core/models" ) // RecallHybrid returns active memories using vector similarity + keyword search. diff --git a/server/store/sqlite/message.go b/server/store/sqlite/message.go index fae7676..72e0491 100644 --- a/server/store/sqlite/message.go +++ b/server/store/sqlite/message.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type MessageStore struct{} diff --git a/server/store/sqlite/message_tree.go b/server/store/sqlite/message_tree.go index 7ec1e62..6a35a58 100644 --- a/server/store/sqlite/message_tree.go +++ b/server/store/sqlite/message_tree.go @@ -7,8 +7,8 @@ import ( "fmt" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── Tree Operations (v0.29.0) ─────────────────────────────────────────── diff --git a/server/store/sqlite/note.go b/server/store/sqlite/note.go index d378d7f..1bbaf67 100644 --- a/server/store/sqlite/note.go +++ b/server/store/sqlite/note.go @@ -8,8 +8,8 @@ import ( "time" "strings" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type NoteStore struct{} diff --git a/server/store/sqlite/note_link.go b/server/store/sqlite/note_link.go index 750c179..04ae5b9 100644 --- a/server/store/sqlite/note_link.go +++ b/server/store/sqlite/note_link.go @@ -3,7 +3,7 @@ package sqlite import ( "context" - "chat-switchboard/models" + "switchboard-core/models" ) type NoteLinkStore struct{} diff --git a/server/store/sqlite/notification.go b/server/store/sqlite/notification.go index 966494c..5d06b17 100644 --- a/server/store/sqlite/notification.go +++ b/server/store/sqlite/notification.go @@ -5,8 +5,8 @@ import ( "database/sql" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type NotificationStore struct{} diff --git a/server/store/sqlite/notification_prefs.go b/server/store/sqlite/notification_prefs.go index 9100277..66dfbc3 100644 --- a/server/store/sqlite/notification_prefs.go +++ b/server/store/sqlite/notification_prefs.go @@ -4,8 +4,8 @@ import ( "context" "database/sql" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type NotificationPreferenceStore struct{} diff --git a/server/store/sqlite/packages.go b/server/store/sqlite/packages.go index aa0fa91..7787751 100644 --- a/server/store/sqlite/packages.go +++ b/server/store/sqlite/packages.go @@ -6,7 +6,7 @@ import ( "encoding/json" "time" - "chat-switchboard/store" + "switchboard-core/store" ) type PackageStore struct{} diff --git a/server/store/sqlite/persona.go b/server/store/sqlite/persona.go index ed81b84..b19aba8 100644 --- a/server/store/sqlite/persona.go +++ b/server/store/sqlite/persona.go @@ -7,8 +7,8 @@ import ( "fmt" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type PersonaStore struct{} diff --git a/server/store/sqlite/persona_group.go b/server/store/sqlite/persona_group.go index 6772405..08f4644 100644 --- a/server/store/sqlite/persona_group.go +++ b/server/store/sqlite/persona_group.go @@ -5,8 +5,8 @@ import ( "database/sql" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type PersonaGroupStore struct{} diff --git a/server/store/sqlite/persona_mention.go b/server/store/sqlite/persona_mention.go index 2bb7ce1..22fd9e0 100644 --- a/server/store/sqlite/persona_mention.go +++ b/server/store/sqlite/persona_mention.go @@ -4,7 +4,7 @@ import ( "context" "database/sql" - "chat-switchboard/store" + "switchboard-core/store" ) // ── Mention resolution + display info (v0.29.0) ──────────────────────── diff --git a/server/store/sqlite/policy.go b/server/store/sqlite/policy.go index 5f223a4..deabda0 100644 --- a/server/store/sqlite/policy.go +++ b/server/store/sqlite/policy.go @@ -4,7 +4,7 @@ import ( "context" "database/sql" - "chat-switchboard/models" + "switchboard-core/models" ) type PolicyStore struct{} diff --git a/server/store/sqlite/presence.go b/server/store/sqlite/presence.go index b449cd8..37cfffe 100644 --- a/server/store/sqlite/presence.go +++ b/server/store/sqlite/presence.go @@ -5,7 +5,7 @@ import ( "database/sql" "time" - "chat-switchboard/store" + "switchboard-core/store" ) // PresenceStore manages user_presence table. diff --git a/server/store/sqlite/pricing.go b/server/store/sqlite/pricing.go index a15dac9..30e3f71 100644 --- a/server/store/sqlite/pricing.go +++ b/server/store/sqlite/pricing.go @@ -4,8 +4,8 @@ import ( "context" "database/sql" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type PricingStore struct{} diff --git a/server/store/sqlite/project.go b/server/store/sqlite/project.go index 1b482d5..b040064 100644 --- a/server/store/sqlite/project.go +++ b/server/store/sqlite/project.go @@ -6,8 +6,8 @@ import ( "fmt" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── ProjectStore ─────────────────────────── diff --git a/server/store/sqlite/provider.go b/server/store/sqlite/provider.go index d351823..454a893 100644 --- a/server/store/sqlite/provider.go +++ b/server/store/sqlite/provider.go @@ -7,8 +7,8 @@ import ( "fmt" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type ProviderStore struct{} diff --git a/server/store/sqlite/resource_grants.go b/server/store/sqlite/resource_grants.go index 1ab3b6a..0423313 100644 --- a/server/store/sqlite/resource_grants.go +++ b/server/store/sqlite/resource_grants.go @@ -5,8 +5,8 @@ import ( "database/sql" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── ResourceGrantStore ────────────────────── diff --git a/server/store/sqlite/routing_policy.go b/server/store/sqlite/routing_policy.go index ddbc582..ddaa8a1 100644 --- a/server/store/sqlite/routing_policy.go +++ b/server/store/sqlite/routing_policy.go @@ -5,8 +5,8 @@ import ( "encoding/json" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // RoutingPolicyStore implements store.RoutingPolicyStore for SQLite. diff --git a/server/store/sqlite/sessions.go b/server/store/sqlite/sessions.go index 9a4bc11..42fedfe 100644 --- a/server/store/sqlite/sessions.go +++ b/server/store/sqlite/sessions.go @@ -5,8 +5,8 @@ import ( "database/sql" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── SessionStore ─────────────────────────── diff --git a/server/store/sqlite/stores.go b/server/store/sqlite/stores.go index 0fd91f4..79dc9e8 100644 --- a/server/store/sqlite/stores.go +++ b/server/store/sqlite/stores.go @@ -3,7 +3,7 @@ package sqlite import ( "database/sql" - "chat-switchboard/store" + "switchboard-core/store" ) // NewStores creates all SQLite store implementations and wires them diff --git a/server/store/sqlite/tasks.go b/server/store/sqlite/tasks.go index 40a81c7..d93f069 100644 --- a/server/store/sqlite/tasks.go +++ b/server/store/sqlite/tasks.go @@ -6,8 +6,8 @@ import ( "encoding/json" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type TaskStore struct{} diff --git a/server/store/sqlite/team.go b/server/store/sqlite/team.go index a5b8478..dfed79d 100644 --- a/server/store/sqlite/team.go +++ b/server/store/sqlite/team.go @@ -7,8 +7,8 @@ import ( "fmt" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type TeamStore struct{} diff --git a/server/store/sqlite/usage.go b/server/store/sqlite/usage.go index af94a89..16ff174 100644 --- a/server/store/sqlite/usage.go +++ b/server/store/sqlite/usage.go @@ -6,8 +6,8 @@ import ( "strings" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type UsageStore struct{} diff --git a/server/store/sqlite/user.go b/server/store/sqlite/user.go index 92b370d..2f7b31a 100644 --- a/server/store/sqlite/user.go +++ b/server/store/sqlite/user.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type UserStore struct{} diff --git a/server/store/sqlite/user_mention.go b/server/store/sqlite/user_mention.go index 73f99fc..6df57f8 100644 --- a/server/store/sqlite/user_mention.go +++ b/server/store/sqlite/user_mention.go @@ -4,7 +4,7 @@ import ( "context" "database/sql" - "chat-switchboard/store" + "switchboard-core/store" ) // ── Mention resolution + display info (v0.29.0) ──────────────────────── diff --git a/server/store/sqlite/user_settings.go b/server/store/sqlite/user_settings.go index e053754..0278899 100644 --- a/server/store/sqlite/user_settings.go +++ b/server/store/sqlite/user_settings.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type UserModelSettingsStore struct{} diff --git a/server/store/sqlite/workflows.go b/server/store/sqlite/workflows.go index 635383b..07526b9 100644 --- a/server/store/sqlite/workflows.go +++ b/server/store/sqlite/workflows.go @@ -6,8 +6,8 @@ import ( "encoding/json" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // WorkflowStore implements store.WorkflowStore for SQLite. diff --git a/server/store/sqlite/workspace.go b/server/store/sqlite/workspace.go index d31d8ff..b6e6dec 100644 --- a/server/store/sqlite/workspace.go +++ b/server/store/sqlite/workspace.go @@ -10,8 +10,8 @@ import ( "strings" "time" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) type WorkspaceStore struct{} diff --git a/server/store/store_memory.go b/server/store/store_memory.go index da8ac58..28deb26 100644 --- a/server/store/store_memory.go +++ b/server/store/store_memory.go @@ -9,7 +9,7 @@ package store import ( "context" - "chat-switchboard/models" + "switchboard-core/models" ) // ========================================= diff --git a/server/store/task_iface.go b/server/store/task_iface.go index ee7f7c6..5071f70 100644 --- a/server/store/task_iface.go +++ b/server/store/task_iface.go @@ -3,7 +3,7 @@ package store import ( "context" - "chat-switchboard/models" + "switchboard-core/models" ) // TaskStore manages task definitions and run history. diff --git a/server/store/workflow_iface.go b/server/store/workflow_iface.go index 498860a..eef00a1 100644 --- a/server/store/workflow_iface.go +++ b/server/store/workflow_iface.go @@ -3,7 +3,7 @@ package store import ( "context" - "chat-switchboard/models" + "switchboard-core/models" ) // WorkflowStore manages workflow definitions, stages, and version snapshots. diff --git a/server/taskutil/system_registry.go b/server/taskutil/system_registry.go index 11dc564..7c2e1fc 100644 --- a/server/taskutil/system_registry.go +++ b/server/taskutil/system_registry.go @@ -18,7 +18,7 @@ import ( "sort" "sync" - "chat-switchboard/store" + "switchboard-core/store" ) // SystemFunc is the signature for built-in system task functions. diff --git a/server/taskutil/task_config.go b/server/taskutil/task_config.go index 5c43ff8..d6943aa 100644 --- a/server/taskutil/task_config.go +++ b/server/taskutil/task_config.go @@ -4,8 +4,8 @@ import ( "context" "log" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // TaskConfig holds the runtime task configuration read from global_settings. diff --git a/server/tools/conversation_search.go b/server/tools/conversation_search.go index 3717d38..72388f8 100644 --- a/server/tools/conversation_search.go +++ b/server/tools/conversation_search.go @@ -7,7 +7,7 @@ import ( "log" "time" - "chat-switchboard/store" + "switchboard-core/store" ) // ── Late Registration ──────────────────────── diff --git a/server/tools/file_recall.go b/server/tools/file_recall.go index 6ad2bd5..2eb4603 100644 --- a/server/tools/file_recall.go +++ b/server/tools/file_recall.go @@ -9,8 +9,8 @@ import ( "log" "strings" - "chat-switchboard/storage" - "chat-switchboard/store" + "switchboard-core/storage" + "switchboard-core/store" ) // ── Late Registration ──────────────────────── diff --git a/server/tools/git.go b/server/tools/git.go index 58d8702..9fdc98d 100644 --- a/server/tools/git.go +++ b/server/tools/git.go @@ -5,7 +5,7 @@ import ( "encoding/json" "fmt" - "chat-switchboard/workspace" + "switchboard-core/workspace" ) // RegisterGitTools registers the 5 git-related workspace tools. diff --git a/server/tools/kbsearch.go b/server/tools/kbsearch.go index fa0a761..a0c7875 100644 --- a/server/tools/kbsearch.go +++ b/server/tools/kbsearch.go @@ -6,8 +6,8 @@ import ( "fmt" "log" - "chat-switchboard/knowledge" - "chat-switchboard/store" + "switchboard-core/knowledge" + "switchboard-core/store" ) // ── Late Registration ──────────────────────── diff --git a/server/tools/memory.go b/server/tools/memory.go index eed4830..c990a13 100644 --- a/server/tools/memory.go +++ b/server/tools/memory.go @@ -7,9 +7,9 @@ import ( "log" "strings" - "chat-switchboard/knowledge" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/knowledge" + "switchboard-core/models" + "switchboard-core/store" ) // ── Late Registration ──────────────────────── diff --git a/server/tools/notes.go b/server/tools/notes.go index cab7650..56fe3d2 100644 --- a/server/tools/notes.go +++ b/server/tools/notes.go @@ -7,9 +7,9 @@ import ( "log" "strings" - "chat-switchboard/knowledge" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/knowledge" + "switchboard-core/models" + "switchboard-core/store" ) // ── Late Registration ──────────────────────── diff --git a/server/tools/task_create.go b/server/tools/task_create.go index f83016e..971c2ca 100644 --- a/server/tools/task_create.go +++ b/server/tools/task_create.go @@ -7,9 +7,9 @@ import ( "log" "time" - "chat-switchboard/models" - "chat-switchboard/store" - "chat-switchboard/taskutil" + "switchboard-core/models" + "switchboard-core/store" + "switchboard-core/taskutil" ) // ── Late Registration ──────────────────────── diff --git a/server/tools/tools_test.go b/server/tools/tools_test.go index 9c29e38..7e79f0d 100644 --- a/server/tools/tools_test.go +++ b/server/tools/tools_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "chat-switchboard/store" + "switchboard-core/store" ) // TestMain registers late-registered tools (notes) with nil deps so diff --git a/server/tools/websearch.go b/server/tools/websearch.go index ae424eb..7a324cd 100644 --- a/server/tools/websearch.go +++ b/server/tools/websearch.go @@ -5,7 +5,7 @@ import ( "encoding/json" "fmt" - "chat-switchboard/tools/search" + "switchboard-core/tools/search" ) func init() { diff --git a/server/tools/workflow.go b/server/tools/workflow.go index bf6d649..5292a9a 100644 --- a/server/tools/workflow.go +++ b/server/tools/workflow.go @@ -7,10 +7,10 @@ import ( "log" "time" - "chat-switchboard/models" - "chat-switchboard/store" - "chat-switchboard/webhook" - "chat-switchboard/workflow" + "switchboard-core/models" + "switchboard-core/store" + "switchboard-core/webhook" + "switchboard-core/workflow" ) // ── Late Registration ──────────────────────── diff --git a/server/tools/workspace.go b/server/tools/workspace.go index 61819ee..73edc6f 100644 --- a/server/tools/workspace.go +++ b/server/tools/workspace.go @@ -8,10 +8,10 @@ import ( "log" "strings" - "chat-switchboard/knowledge" - "chat-switchboard/models" - "chat-switchboard/store" - "chat-switchboard/workspace" + "switchboard-core/knowledge" + "switchboard-core/models" + "switchboard-core/store" + "switchboard-core/workspace" ) // ── Late Registration ──────────────────────── diff --git a/server/tools/workspace_search.go b/server/tools/workspace_search.go index 34f7fc7..84fc0fe 100644 --- a/server/tools/workspace_search.go +++ b/server/tools/workspace_search.go @@ -7,9 +7,9 @@ import ( "path/filepath" "strings" - "chat-switchboard/knowledge" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/knowledge" + "switchboard-core/models" + "switchboard-core/store" ) // ── workspace_search ──────────────────────── diff --git a/server/treepath/path.go b/server/treepath/path.go index c39dfbb..6539989 100644 --- a/server/treepath/path.go +++ b/server/treepath/path.go @@ -10,7 +10,7 @@ import ( "context" "encoding/json" - "chat-switchboard/store" + "switchboard-core/store" ) // Stores is set at startup by main.go. All tree operations delegate here. diff --git a/server/workflow/routing.go b/server/workflow/routing.go index c8584d2..aa55798 100644 --- a/server/workflow/routing.go +++ b/server/workflow/routing.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "chat-switchboard/models" + "switchboard-core/models" ) // ── Conditional Routing Engine (v0.35.0) ──── diff --git a/server/workspace/archive.go b/server/workspace/archive.go index ce41e0c..8023706 100644 --- a/server/workspace/archive.go +++ b/server/workspace/archive.go @@ -14,7 +14,7 @@ import ( "path/filepath" "strings" - "chat-switchboard/models" + "switchboard-core/models" ) // ── Archive Configuration ─────────────────── diff --git a/server/workspace/fs.go b/server/workspace/fs.go index 9e60e8c..9e9f337 100644 --- a/server/workspace/fs.go +++ b/server/workspace/fs.go @@ -18,8 +18,8 @@ import ( "path/filepath" "strings" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/models" + "switchboard-core/store" ) // ── Configuration ─────────────────────────── diff --git a/server/workspace/fs_test.go b/server/workspace/fs_test.go index 3797852..43bf210 100644 --- a/server/workspace/fs_test.go +++ b/server/workspace/fs_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "chat-switchboard/models" + "switchboard-core/models" ) // ── Path Cleaning Tests ───────────────────── diff --git a/server/workspace/gitops.go b/server/workspace/gitops.go index b88396c..48e8837 100644 --- a/server/workspace/gitops.go +++ b/server/workspace/gitops.go @@ -14,9 +14,9 @@ import ( "strings" "time" - "chat-switchboard/crypto" - "chat-switchboard/models" - "chat-switchboard/store" + "switchboard-core/crypto" + "switchboard-core/models" + "switchboard-core/store" ) // GitOps provides git operations for workspaces via exec. diff --git a/server/workspace/indexer.go b/server/workspace/indexer.go index 52dd5fc..db23dc5 100644 --- a/server/workspace/indexer.go +++ b/server/workspace/indexer.go @@ -10,10 +10,10 @@ import ( "sync" "time" - "chat-switchboard/knowledge" - "chat-switchboard/models" - "chat-switchboard/notifications" - "chat-switchboard/store" + "switchboard-core/knowledge" + "switchboard-core/models" + "switchboard-core/notifications" + "switchboard-core/store" ) // ── Configuration ────────────────────────────