diff --git a/apps/website/content/AGENTS.md.template b/apps/website/content/AGENTS.md.template index 41817dde0..dc39a0471 100644 --- a/apps/website/content/AGENTS.md.template +++ b/apps/website/content/AGENTS.md.template @@ -1,23 +1,23 @@ -# stream-resource v@VERSION@ +# Angular Agent Framework v@VERSION@ -Angular streaming library for LangChain/LangGraph. Provides `streamResource()` — Signal-native streaming for Angular agents, built for LangGraph. +Angular agent framework for LangChain/LangGraph. Provides `agent()` — Signal-native streaming for Angular agents, built for LangGraph. ## Install -npm install stream-resource +npm install @cacheplane/angular ## Key requirement -`streamResource()` MUST be called within an Angular injection context (component constructor or field initializer). Calling it in ngOnInit or any async context throws "NG0203: inject() must be called from an injection context". +`agent()` MUST be called within an Angular injection context (component constructor or field initializer). Calling it in ngOnInit or any async context throws "NG0203: inject() must be called from an injection context". ## Basic usage ```typescript // app.config.ts -import { provideStreamResource } from 'stream-resource'; +import { provideAgent } from '@cacheplane/angular'; export const appConfig: ApplicationConfig = { - providers: [provideStreamResource({ apiUrl: 'http://localhost:2024' })] + providers: [provideAgent({ apiUrl: 'http://localhost:2024' })] }; // chat.component.ts -import { streamResource } from 'stream-resource'; +import { agent } from '@cacheplane/angular'; import type { BaseMessage } from '@langchain/core/messages'; @Component({ template: ` @@ -25,20 +25,20 @@ import type { BaseMessage } from '@langchain/core/messages'; `}) export class ChatComponent { - chat = streamResource<{ messages: BaseMessage[] }>({ assistantId: 'chat_agent' }); + chat = agent<{ messages: BaseMessage[] }>({ assistantId: 'chat_agent' }); send() { this.chat.submit({ messages: [{ role: 'human', content: 'Hello' }] }); } } ``` ## Key patterns - Thread persistence: `threadId: signal(localStorage.getItem('t'))` + `onThreadId: (id) => localStorage.setItem('t', id)` -- Global config: `provideStreamResource({ apiUrl })` in app.config.ts -- Per-call override: pass `apiUrl` directly to `streamResource()` -- Testing: use `MockStreamTransport` — never mock `streamResource()` itself +- Global config: `provideAgent({ apiUrl })` in app.config.ts +- Per-call override: pass `apiUrl` directly to `agent()` +- Testing: use `MockAgentTransport` — never mock `agent()` itself ## MCP server (for tool access) Add to ~/.claude/settings.json: -{"mcpServers":{"stream-resource":{"command":"npx","args":["@stream-resource/mcp"]}}} +{"mcpServers":{"angular-agent":{"command":"npx","args":["@cacheplane/angular-mcp"]}}} ## Version check If this file is stale, fetch the latest: https://stream-resource.dev/llms-full.txt diff --git a/apps/website/content/CLAUDE.md.template b/apps/website/content/CLAUDE.md.template index 41817dde0..dc39a0471 100644 --- a/apps/website/content/CLAUDE.md.template +++ b/apps/website/content/CLAUDE.md.template @@ -1,23 +1,23 @@ -# stream-resource v@VERSION@ +# Angular Agent Framework v@VERSION@ -Angular streaming library for LangChain/LangGraph. Provides `streamResource()` — Signal-native streaming for Angular agents, built for LangGraph. +Angular agent framework for LangChain/LangGraph. Provides `agent()` — Signal-native streaming for Angular agents, built for LangGraph. ## Install -npm install stream-resource +npm install @cacheplane/angular ## Key requirement -`streamResource()` MUST be called within an Angular injection context (component constructor or field initializer). Calling it in ngOnInit or any async context throws "NG0203: inject() must be called from an injection context". +`agent()` MUST be called within an Angular injection context (component constructor or field initializer). Calling it in ngOnInit or any async context throws "NG0203: inject() must be called from an injection context". ## Basic usage ```typescript // app.config.ts -import { provideStreamResource } from 'stream-resource'; +import { provideAgent } from '@cacheplane/angular'; export const appConfig: ApplicationConfig = { - providers: [provideStreamResource({ apiUrl: 'http://localhost:2024' })] + providers: [provideAgent({ apiUrl: 'http://localhost:2024' })] }; // chat.component.ts -import { streamResource } from 'stream-resource'; +import { agent } from '@cacheplane/angular'; import type { BaseMessage } from '@langchain/core/messages'; @Component({ template: ` @@ -25,20 +25,20 @@ import type { BaseMessage } from '@langchain/core/messages'; `}) export class ChatComponent { - chat = streamResource<{ messages: BaseMessage[] }>({ assistantId: 'chat_agent' }); + chat = agent<{ messages: BaseMessage[] }>({ assistantId: 'chat_agent' }); send() { this.chat.submit({ messages: [{ role: 'human', content: 'Hello' }] }); } } ``` ## Key patterns - Thread persistence: `threadId: signal(localStorage.getItem('t'))` + `onThreadId: (id) => localStorage.setItem('t', id)` -- Global config: `provideStreamResource({ apiUrl })` in app.config.ts -- Per-call override: pass `apiUrl` directly to `streamResource()` -- Testing: use `MockStreamTransport` — never mock `streamResource()` itself +- Global config: `provideAgent({ apiUrl })` in app.config.ts +- Per-call override: pass `apiUrl` directly to `agent()` +- Testing: use `MockAgentTransport` — never mock `agent()` itself ## MCP server (for tool access) Add to ~/.claude/settings.json: -{"mcpServers":{"stream-resource":{"command":"npx","args":["@stream-resource/mcp"]}}} +{"mcpServers":{"angular-agent":{"command":"npx","args":["@cacheplane/angular-mcp"]}}} ## Version check If this file is stale, fetch the latest: https://stream-resource.dev/llms-full.txt diff --git a/apps/website/public/assets/hero.svg b/apps/website/public/assets/hero.svg index f93a725fa..12a2f2bc2 100644 --- a/apps/website/public/assets/hero.svg +++ b/apps/website/public/assets/hero.svg @@ -24,7 +24,7 @@ font-style="italic" fill="#8B96C8" opacity="0.9" - >The Enterprise Streaming Resource for LangChain and Angular + >The Enterprise Agent Framework for LangChain and Angular diff --git a/apps/website/src/app/docs/[[...slug]]/page.tsx b/apps/website/src/app/docs/[[...slug]]/page.tsx index 5a8803c95..9c411fae2 100644 --- a/apps/website/src/app/docs/[[...slug]]/page.tsx +++ b/apps/website/src/app/docs/[[...slug]]/page.tsx @@ -22,8 +22,8 @@ function loadApiDocs(): ApiDocEntry[] { } const API_NAME_MAP: Record = { - 'angular': 'agent', - 'provide-angular': 'provideAgent', + 'agent': 'agent', + 'provide-agent': 'provideAgent', 'fetch-stream-transport': 'FetchStreamTransport', 'mock-stream-transport': 'MockAgentTransport', }; diff --git a/apps/website/src/app/layout.tsx b/apps/website/src/app/layout.tsx index 94d186adf..a6051c55e 100644 --- a/apps/website/src/app/layout.tsx +++ b/apps/website/src/app/layout.tsx @@ -23,7 +23,7 @@ const mono = JetBrains_Mono({ export const metadata: Metadata = { title: 'Angular Agent Framework — Signal-Native Streaming for Angular + LangGraph', - description: 'The Enterprise Streaming Resource for LangChain and Angular. Signal-native streaming, thread persistence, and production patterns for Angular 20+.', + description: 'The enterprise Angular agent framework for LangChain. Signal-native streaming, thread persistence, and production patterns for Angular 20+.', openGraph: { title: 'Angular Agent Framework', description: 'Signal-native streaming for LangGraph — production patterns your Angular team can own.', diff --git a/apps/website/src/app/pilot-to-prod/page.tsx b/apps/website/src/app/pilot-to-prod/page.tsx index 8234bdb95..bcfddfcf2 100644 --- a/apps/website/src/app/pilot-to-prod/page.tsx +++ b/apps/website/src/app/pilot-to-prod/page.tsx @@ -10,7 +10,7 @@ import { tokens } from '../../../lib/design-tokens'; export const metadata = { title: 'Pilot to Production — Angular Agent Framework', - description: 'Close the last-mile gap. Purchase an app deployment license and we work alongside your Angular team for 3 months to ship your first agent to production.', + description: 'Close the last-mile gap. The 3-month pilot engagement is included with every app deployment license. We work alongside your Angular team to ship your first agent to production.', }; export default function PilotToProdPage() { diff --git a/apps/website/src/components/landing/HeroTwoCol.tsx b/apps/website/src/components/landing/HeroTwoCol.tsx index b111bfc0b..040f9f8a4 100644 --- a/apps/website/src/components/landing/HeroTwoCol.tsx +++ b/apps/website/src/components/landing/HeroTwoCol.tsx @@ -86,7 +86,7 @@ export async function HeroTwoCol() { margin: 0, marginBottom: 20, }}> - The Enterprise Streaming Resource for LangChain and{' '} + The Enterprise Agent Framework for LangChain and{' '} Angular diff --git a/apps/website/src/components/landing/PilotHero.tsx b/apps/website/src/components/landing/PilotHero.tsx index 8b4267638..6651aa262 100644 --- a/apps/website/src/components/landing/PilotHero.tsx +++ b/apps/website/src/components/landing/PilotHero.tsx @@ -194,7 +194,7 @@ export function PilotHero() { letterSpacing: '0.02em', }} > - App deployment license · $20,000 · 3-month co-pilot engagement + Included with every app deployment license · 3-month co-pilot engagement diff --git a/apps/website/src/components/landing/PricingSignal.tsx b/apps/website/src/components/landing/PricingSignal.tsx index 91df4bc19..7b8c450e2 100644 --- a/apps/website/src/components/landing/PricingSignal.tsx +++ b/apps/website/src/components/landing/PricingSignal.tsx @@ -67,7 +67,7 @@ export function PricingSignal() { lineHeight: 1, }} > - $20,000 + Included - App deployment license. Includes angular + 3-month co-pilot engagement. + The 3-month pilot engagement is included with every app deployment license. diff --git a/apps/website/src/components/landing/WhatIsIncluded.tsx b/apps/website/src/components/landing/WhatIsIncluded.tsx index d5ace17c7..a55bc543a 100644 --- a/apps/website/src/components/landing/WhatIsIncluded.tsx +++ b/apps/website/src/components/landing/WhatIsIncluded.tsx @@ -36,7 +36,7 @@ const cards = [ description: 'One license covers one Angular application in production. angular is included for that app. The 3-month engagement is how we get you there together.', bullets: [ - '$20,000 · one app in production', + 'One app in production', 'angular license included', 'Patterns your team can replicate', ], diff --git a/apps/website/src/components/pricing/PricingGrid.tsx b/apps/website/src/components/pricing/PricingGrid.tsx index f61ad3db8..c9206d0c1 100644 --- a/apps/website/src/components/pricing/PricingGrid.tsx +++ b/apps/website/src/components/pricing/PricingGrid.tsx @@ -23,8 +23,8 @@ const PLANS = [ { name: 'App Deployment', price: '$2,000', - period: '/app one-time', - features: ['Per-application license', 'All environments covered', 'No seat limits', 'Perpetual for version'], + period: '/app/year', + features: ['Per-application license', 'All environments covered', 'No seat limits', '12-month license term'], highlight: false, cta: 'Buy License', ctaHref: '#lead-form', diff --git a/apps/website/src/components/shared/Footer.tsx b/apps/website/src/components/shared/Footer.tsx index 1d782ed11..f87727ee9 100644 --- a/apps/website/src/components/shared/Footer.tsx +++ b/apps/website/src/components/shared/Footer.tsx @@ -105,7 +105,7 @@ export function Footer() {

Angular Agent Framework

- The enterprise streaming resource for LangChain and Angular. Signal-native streaming built for production Angular 20+. + The enterprise Angular agent framework for LangChain. Signal-native streaming built for production Angular 20+.

{/* Social links */} diff --git a/apps/website/src/components/shared/Nav.tsx b/apps/website/src/components/shared/Nav.tsx index 5b32c6384..b92f6cfde 100644 --- a/apps/website/src/components/shared/Nav.tsx +++ b/apps/website/src/components/shared/Nav.tsx @@ -6,7 +6,7 @@ import { tokens } from '@cacheplane/design-tokens'; const links = [ { label: 'Pilot to Prod', href: '/pilot-to-prod', external: false }, { label: 'Docs', href: '/docs', external: false }, - { label: 'API', href: '/docs/api/angular', external: false }, + { label: 'API', href: '/docs/api/agent', external: false }, { label: 'Examples', href: 'https://cockpit.stream-resource.dev', external: true }, { label: 'Pricing', href: '/pricing', external: false }, ]; @@ -95,10 +95,10 @@ export function Nav() { {/* Mobile hamburger */}
diff --git a/apps/website/src/lib/docs-config.ts b/apps/website/src/lib/docs-config.ts index b8e5cd37f..2d831b4d9 100644 --- a/apps/website/src/lib/docs-config.ts +++ b/apps/website/src/lib/docs-config.ts @@ -53,8 +53,8 @@ export const docsConfig: DocsSection[] = [ id: 'api', color: 'blue', pages: [ - { title: 'agent()', slug: 'angular', section: 'api' }, - { title: 'provideAgent()', slug: 'provide-angular', section: 'api' }, + { title: 'agent()', slug: 'agent', section: 'api' }, + { title: 'provideAgent()', slug: 'provide-agent', section: 'api' }, { title: 'FetchStreamTransport', slug: 'fetch-stream-transport', section: 'api' }, { title: 'MockAgentTransport', slug: 'mock-stream-transport', section: 'api' }, ],