docs(pi): add integration docs and example (not intended to merge) - #5796
eersnington wants to merge 2 commits into
Conversation
4f4fcc4 to
b004815
Compare
Review: docs(pi): add integration docs and exampleThe example is small and reads well. A few things to look at before merge. Scope and description mismatch
Tests
|
e5040f4 to
89a5bd7
Compare
| withoutRefreshToken(c.state.saved[provider]), | ||
| refresh: async (c, provider: string) => { |
There was a problem hiding this comment.
🟠 Medium · Credential actions expose provider tokens to every caller
read returns the stored API key or OAuth access token, and save also lets an unauthenticated caller replace it. Because this actor has no connection or action authorization, anyone who can reach it and select a user's actor key can steal or overwrite that user's login; the README warning does not enforce the boundary. Make the credential store inaccessible to public actor clients, or add authentication and actor-key authorization to the example before exposing these actions.
dc9d5b1 to
3e2a18d
Compare
b004815 to
1e7248d
Compare
3e2a18d to
4a970f3
Compare
1e7248d to
1448347
Compare
3f92a6f to
b2d96c4
Compare
1448347 to
5719ca6
Compare
b2d96c4 to
04872eb
Compare
5719ca6 to
ff2b289
Compare
ff2b289 to
62c3383
Compare
04872eb to
8742b4b
Compare
- Drop unlaunched from Agents (still hidden from the Products menu), remove the homepage Actors stand-in, and restore the Actors overview link. - Agents docs: Overview, Pi (ported from rivet-dev/rivet#5796, now "this agent is in beta" and hosted agentOS), Sandboxes, Credentials, Durability, Tracing, and beta how-to connectors for Slack, Discord, GitHub, and Linear. Examples live in agents/examples and type-check against #5767/#5799, except the future no-argument agentOSProvider(). - Sidebar logos: Pi and connector marks, with a monochrome opt-out and a fixed icon box so labels align. - agentOS is only the sandbox now: remove the agent logo cycle and cards, the orchestration section and its Pi samples, and agent packages from the registry marquee; link agents to /agents/docs. - integrations.ts: point Flue, Eve, and Rivet Actors at the rivet repo instead of agentOS packages that are being deleted. Amp-Thread-ID: https://ampcode.com/threads/T-0a7b4868-7c1f-4d1b-b5df-238bc41983d6 Co-authored-by: Amp <amp@ampcode.com>
Adds the Pi page at
/integrations/pi, its quickstart snippets, andexamples/pi-credentials.credentialsbacked by acredentialsactor.examples/pi-credentials: acredentialsactor that stores and refreshes each user's logins, andpnpm provider-loginto try it.