config.js
javascript
sha256:65ccb454656ea5acdea0a10e559b78bcde1eb6ff753ecc2911bc99d1c3d7cadd
feat(calendar): enforce agent context tiers in retrieval AP…
Human
minor
⚠ breaking
3 days ago
| 1 | // For hosted deploy: production hostnames below get the Netlify gateway. Localhost is unchanged so |
| 2 | // `npm run hub` keeps same-origin API (Node-only routes like delete-by-project work). |
| 3 | // If your static host reverse-proxies /api/* to that gateway, set: |
| 4 | // window.HUB_API_BASE_URL = ''; |
| 5 | // (empty string → hub.js uses location.origin) |
| 6 | // |
| 7 | // Optional: persistent Node gateway URL for Streamable HTTP MCP (/mcp). Netlify serverless does not host |
| 8 | // stateful /mcp — set this so Copy Hub URL includes KNOWTATION_MCP_URL. Same-origin self-hosted: use |
| 9 | // window.HUB_MCP_PUBLIC_URL = location.origin + '/mcp' |
| 10 | if (typeof window !== 'undefined' && (window.location.hostname === 'knowtation.store' || window.location.hostname === 'www.knowtation.store')) { |
| 11 | // First-party API: api.knowtation.store is a subdomain of knowtation.store, so the gateway's |
| 12 | // HttpOnly refresh cookie is same-site (not a blocked third-party cookie) and persistent login |
| 13 | // works in every browser. The bare knowtation-gateway.netlify.app host was a different |
| 14 | // registrable domain (eTLD+1 netlify.app) and would have had its session cookie dropped by |
| 15 | // Safari/Chrome. See hub/gateway/refresh-token-store.mjs and hub/auth-session.mjs. |
| 16 | window.HUB_API_BASE_URL = 'https://api.knowtation.store'; |
| 17 | window.HUB_MCP_PUBLIC_URL = 'https://mcp.knowtation.store/mcp'; |
| 18 | } |
File History
2 commits
sha256:65ccb454656ea5acdea0a10e559b78bcde1eb6ff753ecc2911bc99d1c3d7cadd
feat(calendar): enforce agent context tiers in retrieval AP…
Human
minor
⚠
3 days ago
sha256:9103f98c89257ed2b01c237cea895dabb3e85ea337dccb1161c175e4422355b6
docs: accept Calendar Events v0 spec with Phase 0 security …
Human
3 days ago