How pendem-2003/xyne-spaces works
Xyne Spaces is an organizational context platform surrounded by collaborative and productivity apps. The principal flow is connector sync or app activity into normalized, indexed context; people and agents then retrieve permission-scoped results, while apps and automations can act on that context. The README documents the product-level relationships; source-index evidence adds a few implementation links. Many product subsystems are represented by their existing directories because their implementation files were not sampled.
Main entry points: vespaKnowledgeIngestionService.ts Normalized context store · backend/src Claw gateway · xyne-claw/src Claw runtime · queryService.ts Context query service
Components 21
Org context
- Connectors and imports
apps/backend/src/services/dynamicDashboard/dataSource/connectors - Context ingestion
apps/backend/src/services/dynamicDashboard/dataSource/ingestion/ingestionService.ts - Knowledge indexing
apps/backend/src/services/vespaKnowledgeIngestionService.ts - Context query service
apps/backend/src/services/queryService/queryService.ts - Query API
apps/backend/src/controllers/queryController.ts - Normalized context store
apps/backend/src/services/vespaKnowledgeIngestionService.ts
Org apps
- Agentic search
apps/dashboard/src/components/Chat/SearchResults/filters/useQuerySuggestions.ts - Chat, calls, canvas
apps/backend/src/controllers - Support desk and tickets
apps/backend/src/apps/controllers
Agents and automation
- Automations
apps/backend/src/automations - Claw gateway
apps/xyne-claw-auth/backend/src - Claw runtime
apps/xyne-claw/src - Isolated shell sandbox
claw-deployments/kata-infra/sandbox-router-ws - Query-routing MCP server
apps/xyne-claw-auth/backend/src/mcp/servers/query-routing-server.ts
Platform services
- Permission model
apps/backend/src/bypassAcl - Live query and mutation layer
packages/shared/src/hooks/useZero.ts - Client query cache
packages/shared/src/machines/queryCacheMachine.ts - LLM client
packages/framework/src/llm/client/llm-client.ts
Other components
- People and agents
- Connected systems
- External tools
Connections 22
- Connected systems → Connectors and imports: syncs from
README.md - Connectors and imports → Context ingestion: feeds
apps/backend/src/services/dynamicDashboard/dataSource/ingestion/ingestionService.ts - Context ingestion → Normalized context store: normalizes and indexes
README.md - Knowledge indexing → Normalized context store: inserts and deletes
apps/backend/src/services/vespaKnowledgeIngestionService.ts - Chat, calls, canvas → Normalized context store: adds work context
README.md - Support desk and tickets → Normalized context store: adds work context
README.md - People and agents → Agentic search: searches
README.md - Agentic search → Query API: requests results
README.md - Query API → Context query service: dispatches query
- Context query service → Normalized context store: retrieves context
README.md - Context query service → Permission model: scopes results
README.md - People and agents → Claw gateway: invokes agent
README.md - Claw gateway → Claw runtime: dispatches run
README.md - Claw runtime → Query-routing MCP server: requests tools
README.md - Query-routing MCP server → Query API: posts query request
apps/xyne-claw-auth/backend/src/mcp/servers/query-routing-server.ts - Claw gateway → Isolated shell sandbox: dispatches shell work
README.md - Claw runtime → LLM client: runs agent loop
- People and agents → Automations: configures workflows
README.md - Automations → Normalized context store: reads and writes context
README.md - Claw runtime → Permission model: inherits caller access
README.md - Live query and mutation layer → Client query cache: hydrates and updates
packages/shared/src/machines/queryCacheMachine.ts - Claw gateway → External tools: executes tool calls
README.md