You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-d '{"query":"SELECT status, total_amount FROM orders ORDER BY status"}'
327
+
```
328
+
267
329
## Agent Skill
268
330
269
331
Sidemantic ships an [agent skill](skills/sidemantic-modeler/) that teaches Claude Code, Codex, and other `SKILL.md`-compatible agents to build, validate, and query semantic models.
Then remove `SIDEMANTIC_DB` from the default container env in [src/index.ts](/Users/nico/Code/sidemantic/examples/cloudflare_containers/src/index.ts).
75
+
76
+
Then set your warehouse connection:
77
+
78
+
```bash
79
+
bunx wrangler secret put SIDEMANTIC_CONNECTION
80
+
```
81
+
82
+
The Worker passes `SIDEMANTIC_CONNECTION`, `SIDEMANTIC_API_TOKEN`, and `SIDEMANTIC_CORS_ORIGINS` into the container at startup.
83
+
84
+
## Auth
85
+
86
+
The container already supports bearer-token auth via `SIDEMANTIC_API_TOKEN`.
87
+
88
+
If you want proper edge auth, put the deployed hostname behind Cloudflare Access and use service tokens or your IdP there. Keep the app bearer token as a second gate if you want defense in depth.
89
+
90
+
## Notes
91
+
92
+
- Cloudflare Containers is beta.
93
+
- Cold starts are materially slower than plain Workers.
94
+
- The Worker is required. The container is not exposed directly on the public Internet.
0 commit comments