Files
sentryagent-idp/portal/.next/server/app/pricing/page.js
SentryAgent.ai Developer d1e6af25aa feat(phase-4): WS2 + WS3 — Developer Portal (Next.js 14) and CLI tool (sentryagent)
WS2: Developer Portal (portal/)
- Standalone Next.js 14 + Tailwind CSS app — independent deployment
- Home page: hero, feature grid, CTA to /get-started
- /pricing: free tier limits table (10 agents, 1k calls/day) + paid tier CTA
- /sdks: all 4 SDKs (Node.js, Python, Go, Java) with install + code examples
- /api-explorer: Swagger UI from NEXT_PUBLIC_API_URL/openapi.json, persistAuthorization
- /get-started: 4-step wizard (setup → register agent → credentials → SDK snippet)
- Shared Nav component with active-link highlighting
- Build: 8/8 static pages, zero TypeScript errors

WS3: CLI Tool (cli/ — npm package: sentryagent)
- configure, register-agent, list-agents, issue-token, rotate-credentials, tail-audit-log
- Auto OAuth2 token fetch + 30s-buffer cache via client_credentials flow
- chalk-formatted table output, confirmation prompts, bounded audit log dedup
- bash + zsh shell completion scripts
- README with installation, all commands, and completion setup
- Build: tsc clean, node dist/index.js --help verified

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 04:29:50 +00:00

1 line
9.3 KiB
JavaScript

(()=>{var e={};e.id=979,e.ids=[979],e.modules={7849:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external")},2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},5403:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},4749:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},6841:(e,t,s)=>{"use strict";s.r(t),s.d(t,{GlobalError:()=>l.a,__next_app__:()=>m,originalPathname:()=>x,pages:()=>c,routeModule:()=>p,tree:()=>o}),s(4537),s(7341),s(5866);var r=s(3191),a=s(8716),n=s(7922),l=s.n(n),i=s(5231),d={};for(let e in i)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(d[e]=()=>i[e]);s.d(t,d);let o=["",{children:["pricing",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(s.bind(s,4537)),"/home/ubuntu/vj_ai_agents_dev/sentryagent-idp/portal/app/pricing/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(s.bind(s,7341)),"/home/ubuntu/vj_ai_agents_dev/sentryagent-idp/portal/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(s.t.bind(s,5866,23)),"next/dist/client/components/not-found-error"]}],c=["/home/ubuntu/vj_ai_agents_dev/sentryagent-idp/portal/app/pricing/page.tsx"],x="/pricing/page",m={require:s,loadChunk:()=>Promise.resolve()},p=new r.AppPageRouteModule({definition:{kind:a.x.APP_PAGE,page:"/pricing/page",pathname:"/pricing",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:o}})},5642:(e,t,s)=>{Promise.resolve().then(s.bind(s,4174))},6643:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,2994,23)),Promise.resolve().then(s.t.bind(s,6114,23)),Promise.resolve().then(s.t.bind(s,9727,23)),Promise.resolve().then(s.t.bind(s,9671,23)),Promise.resolve().then(s.t.bind(s,1868,23)),Promise.resolve().then(s.t.bind(s,4759,23))},3557:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,9404,23))},4174:(e,t,s)=>{"use strict";s.d(t,{Nav:()=>i});var r=s(326);s(7577);var a=s(434),n=s(5047);let l=[{href:"/",label:"Home"},{href:"/api-explorer",label:"API Explorer"},{href:"/get-started",label:"Get Started"},{href:"/sdks",label:"SDKs"},{href:"/pricing",label:"Pricing"}];function i(){let e=(0,n.usePathname)();return r.jsx("header",{className:"sticky top-0 z-50 border-b border-slate-200 bg-white/90 backdrop-blur",children:(0,r.jsxs)("nav",{className:"mx-auto flex max-w-7xl items-center justify-between px-6 py-4",children:[(0,r.jsxs)(a.default,{href:"/",className:"flex items-center gap-2",children:[r.jsx("span",{className:"text-xl font-bold text-brand-600",children:"SentryAgent"}),r.jsx("span",{className:"rounded bg-brand-100 px-1.5 py-0.5 text-xs font-semibold text-brand-700",children:"AgentIdP"})]}),r.jsx("ul",{className:"flex items-center gap-1",children:l.map(({href:t,label:s})=>{let n="/"===t?"/"===e:e.startsWith(t);return r.jsx("li",{children:r.jsx(a.default,{href:t,className:["rounded-md px-3 py-2 text-sm font-medium transition-colors",n?"bg-brand-100 text-brand-700":"text-slate-600 hover:bg-slate-100 hover:text-slate-900"].join(" "),children:s})},t)})}),r.jsx(a.default,{href:"/get-started",className:"rounded-lg bg-brand-600 px-4 py-2 text-sm font-semibold text-white shadow-sm transition-colors hover:bg-brand-700",children:"Get Started Free"})]})})}},7341:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>c,metadata:()=>o});var r=s(9510);s(7272);var a=s(8570);let n=(0,a.createProxy)(String.raw`/home/ubuntu/vj_ai_agents_dev/sentryagent-idp/portal/components/Nav.tsx`),{__esModule:l,$$typeof:i}=n;n.default;let d=(0,a.createProxy)(String.raw`/home/ubuntu/vj_ai_agents_dev/sentryagent-idp/portal/components/Nav.tsx#Nav`),o={title:"SentryAgent.ai Developer Portal",description:"Identity and access management for AI agents. Register, authenticate, and secure your agents with SentryAgent AgentIdP."};function c({children:e}){return r.jsx("html",{lang:"en",children:(0,r.jsxs)("body",{className:"min-h-screen bg-slate-50 text-slate-900 antialiased",children:[r.jsx(d,{}),r.jsx("main",{children:e}),r.jsx("footer",{className:"border-t border-slate-200 py-8 text-center text-sm text-slate-500",children:(0,r.jsxs)("p",{children:["\xa9 ",new Date().getFullYear()," SentryAgent.ai — All rights reserved."]})})]})})}},4537:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>i});var r=s(9510),a=s(7371);let n=[{feature:"Registered agents",limit:"10"},{feature:"API calls per day",limit:"1,000"},{feature:"OAuth 2.0 token issuance",limit:"Included"},{feature:"W3C DID documents",limit:"Included"},{feature:"Audit log retention",limit:"7 days"},{feature:"Webhook events",limit:"Not included"},{feature:"OIDC provider",limit:"Not included"},{feature:"AGNTCY federation",limit:"Not included"},{feature:"SOC 2 compliance reports",limit:"Not included"},{feature:"Priority support",limit:"Not included"}],l=["Unlimited agents","Unlimited API calls","90-day audit log retention","Webhook event streaming","OIDC provider integration","AGNTCY federation","SOC 2 Type II compliance reports","Custom rate limit policies","Dedicated SLA & priority support","SSO / SAML for team access"];function i(){return r.jsx("div",{className:"px-6 py-20",children:(0,r.jsxs)("div",{className:"mx-auto max-w-5xl",children:[(0,r.jsxs)("div",{className:"mb-12 text-center",children:[r.jsx("h1",{className:"mb-4 text-4xl font-extrabold text-slate-900",children:"Simple, Transparent Pricing"}),r.jsx("p",{className:"text-xl text-slate-600",children:"Start free. Upgrade when you grow."})]}),(0,r.jsxs)("div",{className:"grid gap-8 md:grid-cols-2",children:[(0,r.jsxs)("div",{className:"rounded-2xl border border-slate-200 bg-white p-8 shadow-sm",children:[(0,r.jsxs)("div",{className:"mb-6",children:[r.jsx("h2",{className:"text-2xl font-bold text-slate-900",children:"Free"}),r.jsx("p",{className:"mt-1 text-slate-500",children:"Perfect for development and testing"}),(0,r.jsxs)("div",{className:"mt-4 flex items-baseline gap-1",children:[r.jsx("span",{className:"text-5xl font-extrabold text-slate-900",children:"$0"}),r.jsx("span",{className:"text-slate-500",children:"/ month"})]})]}),r.jsx(a.default,{href:"/get-started",className:"mb-8 block w-full rounded-lg border border-brand-600 py-3 text-center font-semibold text-brand-600 transition-colors hover:bg-brand-50",children:"Get Started Free"}),r.jsx("h3",{className:"mb-4 text-sm font-semibold uppercase tracking-wider text-slate-500",children:"Free tier limits"}),r.jsx("div",{className:"overflow-hidden rounded-xl border border-slate-200",children:(0,r.jsxs)("table",{className:"w-full text-sm",children:[r.jsx("thead",{children:(0,r.jsxs)("tr",{className:"bg-slate-50",children:[r.jsx("th",{className:"px-4 py-3 text-left font-semibold text-slate-700",children:"Feature"}),r.jsx("th",{className:"px-4 py-3 text-right font-semibold text-slate-700",children:"Limit"})]})}),r.jsx("tbody",{children:n.map(({feature:e,limit:t},s)=>(0,r.jsxs)("tr",{className:s%2==0?"bg-white":"bg-slate-50",children:[r.jsx("td",{className:"px-4 py-3 text-slate-700",children:e}),r.jsx("td",{className:"px-4 py-3 text-right font-medium text-slate-900",children:t})]},e))})]})})]}),(0,r.jsxs)("div",{className:"relative rounded-2xl border-2 border-brand-500 bg-gradient-to-b from-brand-50 to-white p-8 shadow-lg",children:[r.jsx("span",{className:"absolute -top-3.5 left-1/2 -translate-x-1/2 rounded-full bg-brand-600 px-4 py-1 text-xs font-bold uppercase tracking-wider text-white",children:"Most Popular"}),(0,r.jsxs)("div",{className:"mb-6",children:[r.jsx("h2",{className:"text-2xl font-bold text-slate-900",children:"Pro"}),r.jsx("p",{className:"mt-1 text-slate-500",children:"For production workloads and teams"}),r.jsx("div",{className:"mt-4 flex items-baseline gap-1",children:r.jsx("span",{className:"text-5xl font-extrabold text-slate-900",children:"Custom"})}),r.jsx("p",{className:"mt-1 text-sm text-slate-500",children:"Contact us for volume pricing"})]}),r.jsx("a",{href:"mailto:sales@sentryagent.ai",className:"mb-8 block w-full rounded-lg bg-brand-600 py-3 text-center font-semibold text-white shadow-md transition-colors hover:bg-brand-700",children:"Contact Sales"}),r.jsx("h3",{className:"mb-4 text-sm font-semibold uppercase tracking-wider text-slate-500",children:"Everything in Free, plus"}),r.jsx("ul",{className:"space-y-3",children:l.map(e=>(0,r.jsxs)("li",{className:"flex items-start gap-3 text-sm",children:[r.jsx("span",{className:"mt-0.5 flex-shrink-0 text-brand-600",children:"✓"}),r.jsx("span",{className:"text-slate-700",children:e})]},e))})]})]}),(0,r.jsxs)("p",{className:"mt-12 text-center text-slate-500",children:["Questions about pricing?"," ",r.jsx("a",{href:"mailto:sales@sentryagent.ai",className:"font-medium text-brand-600 hover:underline",children:"Talk to our team"})]})]})})}},7371:(e,t,s)=>{"use strict";s.d(t,{default:()=>a.a});var r=s(1812),a=s.n(r)},1812:(e,t,s)=>{"use strict";let{createProxy:r}=s(8570);e.exports=r("/home/ubuntu/vj_ai_agents_dev/sentryagent-idp/portal/node_modules/next/dist/client/link.js")},7272:()=>{}};var t=require("../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[24],()=>s(6841));module.exports=r})();