@firstlovecenter/ai-chat 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firstlovecenter/ai-chat",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Reusable AI chat module: agent loop, Vertex providers (Claude + Gemini), narrators, persistence schema, and chat UI components. Host injects auth, scope, tools, and credentials via configureAiChat().",
5
5
  "license": "MIT",
6
6
  "author": "First Love Church",
@@ -54,6 +54,11 @@ model AiSettings {
54
54
  toolProvider String @default("claude") @map("tool_provider") @db.VarChar(32)
55
55
  gcpLocation String @default("us-east5") @map("gcp_location") @db.VarChar(32)
56
56
  chatInterface String @default("custom") @map("chat_interface") @db.VarChar(32)
57
+ // Admin-editable GCP project override. NULL means the host's static
58
+ // configureAiChat({ vertex: { projectId } }) is used. Lets admins flip
59
+ // the active GCP project without redeploying — useful for staging/prod
60
+ // migrations or running multiple FLC tenants from one runtime.
61
+ gcpProjectId String? @map("gcp_project_id") @db.VarChar(64)
57
62
  // Caps the per-turn output budget for both the agent loop and the prose
58
63
  // narrator. Bump well past 4096 for reasoning models — internal thinking
59
64
  // tokens are charged against this.