@contractspec/bundle.library 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/.turbo/turbo-build.log +47 -47
  2. package/CHANGELOG.md +16 -0
  3. package/dist/components/docs/DocsIndexPage.js +3 -3
  4. package/dist/components/docs/ecosystem/TemplatesPage.js +6 -6
  5. package/dist/components/docs/ecosystem/index.js +6 -6
  6. package/dist/components/docs/getting-started/DeveloperToolsPage.js +6 -6
  7. package/dist/components/docs/getting-started/index.js +6 -6
  8. package/dist/components/docs/guides/GuideCIDiffGatingPage.js +6 -6
  9. package/dist/components/docs/guides/GuideContractTypesPage.js +6 -6
  10. package/dist/components/docs/guides/GuideDocsPipelinePage.js +6 -6
  11. package/dist/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +6 -6
  12. package/dist/components/docs/guides/GuideImportExistingCodebasesPage.js +6 -6
  13. package/dist/components/docs/guides/GuideNextjsOneEndpointPage.js +6 -6
  14. package/dist/components/docs/guides/GuideSpecValidationTypingPage.js +6 -6
  15. package/dist/components/docs/guides/index.js +18 -18
  16. package/dist/components/docs/index.js +162 -470
  17. package/dist/components/docs/manifesto/ManifestoPage.js +2 -2
  18. package/dist/components/docs/shared/StudioPrompt.js +4 -4
  19. package/dist/components/docs/studio/StudioBYOKPage.js +14 -68
  20. package/dist/components/docs/studio/StudioDeploymentsPage.js +14 -89
  21. package/dist/components/docs/studio/StudioGettingStartedPage.js +14 -82
  22. package/dist/components/docs/studio/StudioIntegrationsPage.js +14 -60
  23. package/dist/components/docs/studio/StudioOverviewPage.js +62 -32
  24. package/dist/components/docs/studio/StudioVisualBuilderPage.js +14 -109
  25. package/dist/components/docs/studio/index.js +131 -439
  26. package/dist/index.js +162 -470
  27. package/dist/node/components/docs/DocsIndexPage.js +3 -3
  28. package/dist/node/components/docs/ecosystem/TemplatesPage.js +6 -6
  29. package/dist/node/components/docs/ecosystem/index.js +6 -6
  30. package/dist/node/components/docs/getting-started/DeveloperToolsPage.js +6 -6
  31. package/dist/node/components/docs/getting-started/index.js +6 -6
  32. package/dist/node/components/docs/guides/GuideCIDiffGatingPage.js +6 -6
  33. package/dist/node/components/docs/guides/GuideContractTypesPage.js +6 -6
  34. package/dist/node/components/docs/guides/GuideDocsPipelinePage.js +6 -6
  35. package/dist/node/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +6 -6
  36. package/dist/node/components/docs/guides/GuideImportExistingCodebasesPage.js +6 -6
  37. package/dist/node/components/docs/guides/GuideNextjsOneEndpointPage.js +6 -6
  38. package/dist/node/components/docs/guides/GuideSpecValidationTypingPage.js +6 -6
  39. package/dist/node/components/docs/guides/index.js +18 -18
  40. package/dist/node/components/docs/index.js +162 -470
  41. package/dist/node/components/docs/manifesto/ManifestoPage.js +2 -2
  42. package/dist/node/components/docs/shared/StudioPrompt.js +4 -4
  43. package/dist/node/components/docs/studio/StudioBYOKPage.js +14 -68
  44. package/dist/node/components/docs/studio/StudioDeploymentsPage.js +14 -89
  45. package/dist/node/components/docs/studio/StudioGettingStartedPage.js +14 -82
  46. package/dist/node/components/docs/studio/StudioIntegrationsPage.js +14 -60
  47. package/dist/node/components/docs/studio/StudioOverviewPage.js +62 -32
  48. package/dist/node/components/docs/studio/StudioVisualBuilderPage.js +14 -109
  49. package/dist/node/components/docs/studio/index.js +131 -439
  50. package/dist/node/index.js +162 -470
  51. package/package.json +10 -10
  52. package/src/components/docs/DocsIndexPage.tsx +3 -3
  53. package/src/components/docs/ecosystem/TemplatesPage.tsx +2 -2
  54. package/src/components/docs/getting-started/DeveloperToolsPage.tsx +6 -6
  55. package/src/components/docs/guides/GuideCIDiffGatingPage.tsx +2 -2
  56. package/src/components/docs/guides/GuideContractTypesPage.tsx +2 -2
  57. package/src/components/docs/guides/GuideDocsPipelinePage.tsx +2 -2
  58. package/src/components/docs/guides/GuideGenerateDocsClientsSchemasPage.tsx +2 -2
  59. package/src/components/docs/guides/GuideImportExistingCodebasesPage.tsx +2 -2
  60. package/src/components/docs/guides/GuideNextjsOneEndpointPage.tsx +2 -2
  61. package/src/components/docs/guides/GuideSpecValidationTypingPage.tsx +2 -2
  62. package/src/components/docs/manifesto/ManifestoPage.tsx +2 -2
  63. package/src/components/docs/shared/StudioPrompt.tsx +4 -4
  64. package/src/components/docs/studio/StudioBYOKPage.tsx +9 -54
  65. package/src/components/docs/studio/StudioDeploymentsPage.tsx +9 -70
  66. package/src/components/docs/studio/StudioGettingStartedPage.tsx +9 -66
  67. package/src/components/docs/studio/StudioIntegrationsPage.tsx +9 -47
  68. package/src/components/docs/studio/StudioOverviewPage.tsx +53 -41
  69. package/src/components/docs/studio/StudioVisualBuilderPage.tsx +9 -72
@@ -99,7 +99,7 @@ function DocsIndexPage() {
99
99
  }, undefined, true, undefined, this)
100
100
  }, undefined, false, undefined, this),
101
101
  /* @__PURE__ */ jsxDEV(Link, {
102
- href: "/studio",
102
+ href: "/docs/studio",
103
103
  className: "card-subtle group space-y-3 p-6 transition-colors hover:border-violet-500/50",
104
104
  children: /* @__PURE__ */ jsxDEV("div", {
105
105
  className: "flex items-start justify-between",
@@ -108,11 +108,11 @@ function DocsIndexPage() {
108
108
  children: [
109
109
  /* @__PURE__ */ jsxDEV("h3", {
110
110
  className: "text-lg font-bold transition-colors group-hover:text-violet-400",
111
- children: "Studio (managed)"
111
+ children: "Studio"
112
112
  }, undefined, false, undefined, this),
113
113
  /* @__PURE__ */ jsxDEV("p", {
114
114
  className: "text-muted-foreground mt-1 text-sm",
115
- children: "Visual builder, deployments, and team collaboration."
115
+ children: "AI-powered product decision engine for spec-first teams."
116
116
  }, undefined, false, undefined, this)
117
117
  ]
118
118
  }, undefined, true, undefined, this),
@@ -5305,10 +5305,10 @@ export const PrivateRegistryResolver: RegistryResolverPlugin = {
5305
5305
  import Link15 from "@contractspec/lib.ui-link";
5306
5306
  import { jsxDEV as jsxDEV22 } from "react/jsx-dev-runtime";
5307
5307
  function StudioPrompt({
5308
- title = "Need managed policy gates and approvals?",
5309
- body = "ContractSpec Studio adds policy gates, remote registry workflows, and audit trails when you are ready to scale adoption.",
5310
- ctaLabel = "Join Studio waitlist",
5311
- href = "/contact#waitlist"
5308
+ title = "Want to turn product signals into spec-first deliverables?",
5309
+ body = "ContractSpec Studio ingests evidence from meetings, support, analytics, docs, and code, then compiles decisions into spec diffs and task packs.",
5310
+ ctaLabel = "Try Studio",
5311
+ href = "https://app.contractspec.studio"
5312
5312
  }) {
5313
5313
  return /* @__PURE__ */ jsxDEV22("div", {
5314
5314
  className: "card-subtle space-y-3 p-6",
@@ -5418,8 +5418,8 @@ bun add @contractspec/integration.markdown-generator`
5418
5418
  ]
5419
5419
  }, undefined, true, undefined, this),
5420
5420
  /* @__PURE__ */ jsxDEV23(StudioPrompt, {
5421
- title: "Need managed plugin distribution?",
5422
- body: "Studio can host private plugin registries, approvals, and policy gates for teams."
5421
+ title: "Need evidence-backed template iteration?",
5422
+ body: "Studio helps teams prioritize template changes from real product signals and export implementation-ready task packs."
5423
5423
  }, undefined, false, undefined, this),
5424
5424
  /* @__PURE__ */ jsxDEV23("div", {
5425
5425
  className: "flex items-center gap-4 pt-4",
@@ -6374,14 +6374,14 @@ function DeveloperToolsPage() {
6374
6374
  },
6375
6375
  {
6376
6376
  name: "ContractSpec Studio",
6377
- href: "https://www.contractspec.studio",
6378
- description: "Visual builder, lifecycle management, and deployment orchestration.",
6377
+ href: "https://app.contractspec.studio",
6378
+ description: "AI-powered product decision engine that turns product signals into spec-first deliverables.",
6379
6379
  icon: Layers,
6380
- status: "coming-soon",
6380
+ status: "available",
6381
6381
  highlights: [
6382
- "Visual spec editor",
6383
- "Deployment pipelines",
6384
- "Analytics dashboard"
6382
+ "Evidence-to-decision loop",
6383
+ "Compiled spec diffs and task packs",
6384
+ "Exports to Linear, Jira, Notion, and GitHub"
6385
6385
  ]
6386
6386
  },
6387
6387
  {
@@ -7953,8 +7953,8 @@ bun run validate`
7953
7953
  ]
7954
7954
  }, undefined, true, undefined, this),
7955
7955
  /* @__PURE__ */ jsxDEV34(StudioPrompt, {
7956
- title: "Need managed CI policy gates?",
7957
- body: "Studio adds policy approvals, drift dashboards, and audit trails after CI checks pass."
7956
+ title: "Need continuous checks tied to outcomes?",
7957
+ body: "Studio closes the loop with post-change verification and learning dividends that improve future decisions."
7958
7958
  }, undefined, false, undefined, this)
7959
7959
  ]
7960
7960
  }, undefined, true, undefined, this),
@@ -8660,8 +8660,8 @@ capabilityRegistry.register(UserManagementCapability);`
8660
8660
  ]
8661
8661
  }, undefined, true, undefined, this),
8662
8662
  /* @__PURE__ */ jsxDEV35(StudioPrompt, {
8663
- title: "Want visual contract design?",
8664
- body: "Studio provides a visual editor for creating and managing contracts with team collaboration and version control."
8663
+ title: "Need to decide which contract should change next?",
8664
+ body: "Studio uses evidence and focus constraints to generate decision briefs, patch intents, and execution-ready task packs."
8665
8665
  }, undefined, false, undefined, this)
8666
8666
  ]
8667
8667
  }, undefined, true, undefined, this),
@@ -8854,8 +8854,8 @@ export default async function Page({ params }: { params: { slug?: string[] } })
8854
8854
  ]
8855
8855
  }, undefined, true, undefined, this),
8856
8856
  /* @__PURE__ */ jsxDEV36(StudioPrompt, {
8857
- title: "Need hosted docs releases?",
8858
- body: "Studio can publish versioned docs bundles with approvals and audit trails."
8857
+ title: "Need decision-to-export automation?",
8858
+ body: "Studio exports evidence-backed spec changes and task packs to Linear, Jira, Notion, and GitHub."
8859
8859
  }, undefined, false, undefined, this)
8860
8860
  ]
8861
8861
  }, undefined, true, undefined, this),
@@ -9034,8 +9034,8 @@ contractspec openapi export --registry ./src/contracts/registry.ts --out ./gener
9034
9034
  ]
9035
9035
  }, undefined, true, undefined, this),
9036
9036
  /* @__PURE__ */ jsxDEV37(StudioPrompt, {
9037
- title: "Want managed schema releases?",
9038
- body: "Studio can publish OpenAPI, SDKs, and release notes automatically with approvals."
9037
+ title: "Want exports tied to product decisions?",
9038
+ body: "Studio compiles approved changes into deliverables and pushes them to your execution stack with full evidence context."
9039
9039
  }, undefined, false, undefined, this)
9040
9040
  ]
9041
9041
  }, undefined, true, undefined, this),
@@ -9881,8 +9881,8 @@ installOp(registry, CreateUserCommand, async (input) => {
9881
9881
  ]
9882
9882
  }, undefined, true, undefined, this),
9883
9883
  /* @__PURE__ */ jsxDEV38(StudioPrompt, {
9884
- title: "Want automated contract evolution?",
9885
- body: "Studio monitors your codebase and suggests contract updates when your API changes, keeping specs and code in sync."
9884
+ title: "Want evidence-driven migration priorities?",
9885
+ body: "Studio clusters product signals into scored patterns, then proposes spec-first change cards for the highest-impact areas."
9886
9886
  }, undefined, false, undefined, this)
9887
9887
  ]
9888
9888
  }, undefined, true, undefined, this),
@@ -10168,8 +10168,8 @@ contractspec examples validate --repo-root .`
10168
10168
  ]
10169
10169
  }, undefined, true, undefined, this),
10170
10170
  /* @__PURE__ */ jsxDEV39(StudioPrompt, {
10171
- title: "Need team approvals for new endpoints?",
10172
- body: "Studio adds review gates, shared registries, and audit trails after you ship your first endpoint."
10171
+ title: "Want real product evidence behind endpoint changes?",
10172
+ body: "Studio correlates meetings, support, analytics, and code signals before compiling endpoint decisions into spec diffs."
10173
10173
  }, undefined, false, undefined, this)
10174
10174
  ]
10175
10175
  }, undefined, true, undefined, this),
@@ -10392,8 +10392,8 @@ bun run validate`
10392
10392
  ]
10393
10393
  }, undefined, true, undefined, this),
10394
10394
  /* @__PURE__ */ jsxDEV40(StudioPrompt, {
10395
- title: "Need shared validation policies?",
10396
- body: "Studio lets teams enforce validation policies and review changes before they ship."
10395
+ title: "Need validation tied to real outcomes?",
10396
+ body: "Studio links checks to evidence, focus decisions, and post-release verification so specs evolve with product truth."
10397
10397
  }, undefined, false, undefined, this)
10398
10398
  ]
10399
10399
  }, undefined, true, undefined, this),
@@ -27520,9 +27520,9 @@ function ManifestoPage() {
27520
27520
  children: "Install OSS Core"
27521
27521
  }, undefined, false, undefined, this),
27522
27522
  /* @__PURE__ */ jsxDEV114("a", {
27523
- href: "/contact#waitlist",
27523
+ href: "https://app.contractspec.studio",
27524
27524
  className: "btn-ghost",
27525
- children: "Join Studio Waitlist"
27525
+ children: "Try Studio"
27526
27526
  }, undefined, false, undefined, this)
27527
27527
  ]
27528
27528
  }, undefined, true, undefined, this)
@@ -27535,529 +27535,221 @@ function ManifestoPage() {
27535
27535
  // src/components/docs/studio/StudioOverviewPage.tsx
27536
27536
  import Link96 from "@contractspec/lib.ui-link";
27537
27537
  import { jsxDEV as jsxDEV115 } from "react/jsx-dev-runtime";
27538
- var sections = [
27538
+ var coreLoop = [
27539
+ {
27540
+ title: "Evidence",
27541
+ body: "Ingest product signals from meetings, support, analytics, code reviews, docs, and Slack."
27542
+ },
27539
27543
  {
27540
- title: "1. Getting started",
27541
- body: "Provision your Studio workspace, create a project, and run the first deployment.",
27542
- href: "/docs/studio/getting-started"
27544
+ title: "Correlation",
27545
+ body: "Cluster signals into scored patterns with hybrid heuristics plus AI signature extraction."
27543
27546
  },
27544
27547
  {
27545
- title: "2. Visual builder",
27546
- body: "Learn the canvas controls, component palette, and spec validation workflow.",
27547
- href: "/docs/studio/visual-builder"
27548
+ title: "Decision",
27549
+ body: "Create timeboxed focus zones and evidence-backed briefs with citation chains."
27548
27550
  },
27549
27551
  {
27550
- title: "3. Deployments",
27551
- body: "Switch between shared and dedicated environments, monitor health, and roll back safely.",
27552
- href: "/docs/studio/deployments"
27552
+ title: "Change",
27553
+ body: "Compile patch intents into spec diffs, deterministic impact reports, and task packs."
27553
27554
  },
27554
27555
  {
27555
- title: "4. BYOK security",
27556
- body: "Configure your vault, rotate keys, and audit credential access.",
27557
- href: "/docs/studio/byok"
27556
+ title: "Export",
27557
+ body: "Push deliverables to Linear, Jira, Notion, and GitHub with full decision context."
27558
27558
  },
27559
27559
  {
27560
- title: "5. Integration hub",
27561
- body: "Connect third-party providers, sync data, and index knowledge sources.",
27562
- href: "/docs/studio/integrations"
27560
+ title: "Check + Autopilot",
27561
+ body: "Verify outcomes, capture learning dividends, and automate safely with policy gates."
27563
27562
  }
27564
27563
  ];
27565
27564
  function StudioOverviewPage() {
27566
27565
  return /* @__PURE__ */ jsxDEV115("main", {
27567
- className: "space-y-16 py-16",
27566
+ className: "space-y-12 py-16",
27568
27567
  children: [
27569
27568
  /* @__PURE__ */ jsxDEV115("section", {
27570
- className: "section-padding",
27569
+ className: "section-padding space-y-4",
27571
27570
  children: [
27572
27571
  /* @__PURE__ */ jsxDEV115("p", {
27573
27572
  className: "text-xs font-semibold tracking-[0.3em] text-violet-400 uppercase",
27574
- children: "Studio docs"
27573
+ children: "ContractSpec Studio"
27575
27574
  }, undefined, false, undefined, this),
27576
27575
  /* @__PURE__ */ jsxDEV115("h1", {
27577
- className: "mt-4 text-4xl font-bold",
27578
- children: "Everything you need to run Studio."
27576
+ className: "text-4xl font-bold md:text-5xl",
27577
+ children: "Compiler for product truth"
27579
27578
  }, undefined, false, undefined, this),
27580
27579
  /* @__PURE__ */ jsxDEV115("p", {
27581
- className: "text-muted-foreground mt-4 max-w-3xl text-lg",
27582
- children: "ContractSpec Studio pairs a visual builder with managed infrastructure. These guides keep teams aligned—especially when engineers and operators share the same console."
27583
- }, undefined, false, undefined, this)
27584
- ]
27585
- }, undefined, true, undefined, this),
27586
- /* @__PURE__ */ jsxDEV115("section", {
27587
- className: "section-padding grid gap-4",
27588
- children: sections.map((section) => /* @__PURE__ */ jsxDEV115(Link96, {
27589
- href: section.href,
27590
- className: "card-subtle group space-y-2 p-6 transition hover:border-violet-500/40",
27591
- children: [
27592
- /* @__PURE__ */ jsxDEV115("h2", {
27593
- className: "text-xl font-semibold group-hover:text-violet-400",
27594
- children: section.title
27595
- }, undefined, false, undefined, this),
27596
- /* @__PURE__ */ jsxDEV115("p", {
27597
- className: "text-muted-foreground text-sm",
27598
- children: section.body
27599
- }, undefined, false, undefined, this)
27600
- ]
27601
- }, section.href, true, undefined, this))
27602
- }, undefined, false, undefined, this)
27603
- ]
27604
- }, undefined, true, undefined, this);
27605
- }
27606
-
27607
- // src/components/docs/studio/StudioGettingStartedPage.tsx
27608
- import { jsxDEV as jsxDEV116 } from "react/jsx-dev-runtime";
27609
- var steps = [
27610
- {
27611
- title: "1. Create a Studio workspace",
27612
- body: "Sign in, pick “Studio managed” as product, and invite teammates. We provision the workspace plus default shared environments."
27613
- },
27614
- {
27615
- title: "2. Add your first project",
27616
- body: "Click “New project”, choose Starter tier, and keep BYOK disabled for the trial. You can upgrade later."
27617
- },
27618
- {
27619
- title: "3. Author a spec",
27620
- body: "Use the Visual Builder or Spec Editor. Pick “Capability” as type and describe the operation (e.g., capture donation)."
27621
- },
27622
- {
27623
- title: "4. Deploy to shared infra",
27624
- body: "Open the deployment panel, select Development, and hit Deploy. Studio provisions the runtime slice automatically."
27625
- },
27626
- {
27627
- title: "5. Wire integrations",
27628
- body: "From Integration Hub, connect one provider (e.g., PostHog). Starter plan supports two providers."
27629
- }
27630
- ];
27631
- function StudioGettingStartedPage() {
27632
- return /* @__PURE__ */ jsxDEV116("main", {
27633
- className: "space-y-12 py-12",
27634
- children: [
27635
- /* @__PURE__ */ jsxDEV116("header", {
27636
- className: "space-y-3",
27637
- children: [
27638
- /* @__PURE__ */ jsxDEV116("p", {
27639
- className: "text-xs font-semibold tracking-[0.3em] text-violet-400 uppercase",
27640
- children: "Getting started"
27641
- }, undefined, false, undefined, this),
27642
- /* @__PURE__ */ jsxDEV116("h1", {
27643
- className: "text-4xl font-bold",
27644
- children: "Launch your first Studio project"
27645
- }, undefined, false, undefined, this),
27646
- /* @__PURE__ */ jsxDEV116("p", {
27647
27580
  className: "text-muted-foreground max-w-3xl text-lg",
27648
- children: "This short guide takes you from workspace creation to the first deployment. Every step is mobile-friendly and safe to undo."
27581
+ children: "ContractSpec Studio is the AI-powered product decision engine built on top of ContractSpec. It turns product signals into spec-first deliverables through a deterministic loop:"
27582
+ }, undefined, false, undefined, this),
27583
+ /* @__PURE__ */ jsxDEV115("p", {
27584
+ className: "text-muted-foreground font-mono text-sm",
27585
+ children: "Evidence -> Correlation -> Decision -> Change -> Export -> Check -> Notify -> Autopilot"
27649
27586
  }, undefined, false, undefined, this)
27650
27587
  ]
27651
27588
  }, undefined, true, undefined, this),
27652
- /* @__PURE__ */ jsxDEV116("section", {
27653
- className: "grid gap-4",
27654
- children: steps.map((step) => /* @__PURE__ */ jsxDEV116("article", {
27589
+ /* @__PURE__ */ jsxDEV115("section", {
27590
+ className: "section-padding grid gap-4 md:grid-cols-2",
27591
+ children: coreLoop.map((step) => /* @__PURE__ */ jsxDEV115("article", {
27655
27592
  className: "card-subtle space-y-2 p-6",
27656
27593
  children: [
27657
- /* @__PURE__ */ jsxDEV116("h2", {
27594
+ /* @__PURE__ */ jsxDEV115("h2", {
27658
27595
  className: "text-xl font-semibold",
27659
27596
  children: step.title
27660
27597
  }, undefined, false, undefined, this),
27661
- /* @__PURE__ */ jsxDEV116("p", {
27598
+ /* @__PURE__ */ jsxDEV115("p", {
27662
27599
  className: "text-muted-foreground text-sm",
27663
27600
  children: step.body
27664
27601
  }, undefined, false, undefined, this)
27665
27602
  ]
27666
27603
  }, step.title, true, undefined, this))
27667
27604
  }, undefined, false, undefined, this),
27668
- /* @__PURE__ */ jsxDEV116("section", {
27669
- className: "space-y-4",
27605
+ /* @__PURE__ */ jsxDEV115("section", {
27606
+ className: "section-padding card-subtle space-y-4 p-6",
27670
27607
  children: [
27671
- /* @__PURE__ */ jsxDEV116("h2", {
27608
+ /* @__PURE__ */ jsxDEV115("h2", {
27672
27609
  className: "text-2xl font-semibold",
27673
- children: "CLI helper (optional)"
27610
+ children: "Use Studio now"
27674
27611
  }, undefined, false, undefined, this),
27675
- /* @__PURE__ */ jsxDEV116("p", {
27612
+ /* @__PURE__ */ jsxDEV115("p", {
27676
27613
  className: "text-muted-foreground text-sm",
27677
- children: "Prefer automation? Use the CLI to pull specs and push overlays."
27614
+ children: "Studio is live and runs the same spec-first grammar as the OSS compiler. Keep your contracts, keep your code, and add a full decision-to-change workflow on top."
27678
27615
  }, undefined, false, undefined, this),
27679
- /* @__PURE__ */ jsxDEV116("pre", {
27680
- className: "bg-muted/40 border-border overflow-auto rounded-xl border p-4 text-left font-mono text-sm",
27681
- children: `# Authenticate
27682
- cs login
27683
-
27684
- # List projects
27685
- cs studio projects list
27686
-
27687
- # Pull specs locally
27688
- cs studio specs pull <project-id>
27689
-
27690
- # Push after editing
27691
- cs studio specs push <project-id>`
27692
- }, undefined, false, undefined, this)
27616
+ /* @__PURE__ */ jsxDEV115("div", {
27617
+ className: "flex flex-wrap gap-3",
27618
+ children: [
27619
+ /* @__PURE__ */ jsxDEV115(Link96, {
27620
+ href: "https://app.contractspec.studio",
27621
+ className: "btn-primary",
27622
+ children: "Try Studio"
27623
+ }, undefined, false, undefined, this),
27624
+ /* @__PURE__ */ jsxDEV115(Link96, {
27625
+ href: "https://app.contractspec.studio/docs",
27626
+ className: "btn-ghost",
27627
+ children: "Read Studio docs"
27628
+ }, undefined, false, undefined, this)
27629
+ ]
27630
+ }, undefined, true, undefined, this)
27693
27631
  ]
27694
27632
  }, undefined, true, undefined, this)
27695
27633
  ]
27696
27634
  }, undefined, true, undefined, this);
27697
27635
  }
27698
27636
 
27637
+ // src/components/docs/studio/StudioGettingStartedPage.tsx
27638
+ import Link97 from "@contractspec/lib.ui-link";
27639
+ import { jsxDEV as jsxDEV116 } from "react/jsx-dev-runtime";
27640
+ function StudioGettingStartedPage() {
27641
+ return /* @__PURE__ */ jsxDEV116("main", {
27642
+ className: "space-y-6 py-12",
27643
+ children: [
27644
+ /* @__PURE__ */ jsxDEV116("h1", {
27645
+ className: "text-3xl font-bold",
27646
+ children: "Studio docs moved"
27647
+ }, undefined, false, undefined, this),
27648
+ /* @__PURE__ */ jsxDEV116("p", {
27649
+ className: "text-muted-foreground text-sm",
27650
+ children: "The latest getting-started guide now lives in the Studio app docs."
27651
+ }, undefined, false, undefined, this),
27652
+ /* @__PURE__ */ jsxDEV116(Link97, {
27653
+ href: "https://app.contractspec.studio/docs",
27654
+ className: "btn-primary",
27655
+ children: "Open Studio docs"
27656
+ }, undefined, false, undefined, this)
27657
+ ]
27658
+ }, undefined, true, undefined, this);
27659
+ }
27660
+
27699
27661
  // src/components/docs/studio/StudioVisualBuilderPage.tsx
27700
- import Image from "next/image";
27662
+ import Link98 from "@contractspec/lib.ui-link";
27701
27663
  import { jsxDEV as jsxDEV117 } from "react/jsx-dev-runtime";
27702
- var tips = [
27703
- "Use two-finger drag on touch devices to pan the canvas.",
27704
- "Tap a component to open the spec sidebar and edit props.",
27705
- "The timeline records every change; tap a dot to roll back.",
27706
- "Validation runs automatically before deploy. Errors show inline."
27707
- ];
27708
27664
  function StudioVisualBuilderPage() {
27709
27665
  return /* @__PURE__ */ jsxDEV117("main", {
27710
- className: "space-y-12 py-12",
27666
+ className: "space-y-6 py-12",
27711
27667
  children: [
27712
- /* @__PURE__ */ jsxDEV117("header", {
27713
- className: "space-y-3",
27714
- children: [
27715
- /* @__PURE__ */ jsxDEV117("p", {
27716
- className: "text-xs font-semibold tracking-[0.3em] text-violet-400 uppercase",
27717
- children: "Visual builder"
27718
- }, undefined, false, undefined, this),
27719
- /* @__PURE__ */ jsxDEV117("h1", {
27720
- className: "text-4xl font-bold",
27721
- children: "Canvas, palette, and spec editor"
27722
- }, undefined, false, undefined, this),
27723
- /* @__PURE__ */ jsxDEV117("p", {
27724
- className: "text-muted-foreground max-w-3xl text-lg",
27725
- children: "Studio’s builder keeps designers, operators, and engineers in sync. Every action updates the underlying spec and can be undone."
27726
- }, undefined, false, undefined, this)
27727
- ]
27728
- }, undefined, true, undefined, this),
27729
- /* @__PURE__ */ jsxDEV117("section", {
27730
- className: "border-border bg-card rounded-2xl border p-6",
27731
- children: /* @__PURE__ */ jsxDEV117(Image, {
27732
- src: "/assets/images/studio/visual-builder.png",
27733
- alt: "Studio visual builder overview",
27734
- width: 1024,
27735
- height: 576,
27736
- className: "border-border rounded-xl border"
27737
- }, undefined, false, undefined, this)
27668
+ /* @__PURE__ */ jsxDEV117("h1", {
27669
+ className: "text-3xl font-bold",
27670
+ children: "Studio docs moved"
27738
27671
  }, undefined, false, undefined, this),
27739
- /* @__PURE__ */ jsxDEV117("section", {
27740
- className: "grid gap-4 md:grid-cols-2",
27741
- children: [
27742
- /* @__PURE__ */ jsxDEV117("article", {
27743
- className: "card-subtle space-y-2 p-6",
27744
- children: [
27745
- /* @__PURE__ */ jsxDEV117("h2", {
27746
- className: "text-2xl font-semibold",
27747
- children: "Canvas controls"
27748
- }, undefined, false, undefined, this),
27749
- /* @__PURE__ */ jsxDEV117("p", {
27750
- className: "text-muted-foreground text-sm",
27751
- children: "Drag to pan, scroll/ pinch to zoom. The right panel shows a tree view."
27752
- }, undefined, false, undefined, this)
27753
- ]
27754
- }, undefined, true, undefined, this),
27755
- /* @__PURE__ */ jsxDEV117("article", {
27756
- className: "card-subtle space-y-2 p-6",
27757
- children: [
27758
- /* @__PURE__ */ jsxDEV117("h2", {
27759
- className: "text-2xl font-semibold",
27760
- children: "Component palette"
27761
- }, undefined, false, undefined, this),
27762
- /* @__PURE__ */ jsxDEV117("p", {
27763
- className: "text-muted-foreground text-sm",
27764
- children: "Search by intent (“capture payment”) or category. Drag components or tap to add."
27765
- }, undefined, false, undefined, this)
27766
- ]
27767
- }, undefined, true, undefined, this),
27768
- /* @__PURE__ */ jsxDEV117("article", {
27769
- className: "card-subtle space-y-2 p-6",
27770
- children: [
27771
- /* @__PURE__ */ jsxDEV117("h2", {
27772
- className: "text-2xl font-semibold",
27773
- children: "Spec editor"
27774
- }, undefined, false, undefined, this),
27775
- /* @__PURE__ */ jsxDEV117("p", {
27776
- className: "text-muted-foreground text-sm",
27777
- children: "Toggle between visual and code views. Changes stay in sync and include diff previews."
27778
- }, undefined, false, undefined, this)
27779
- ]
27780
- }, undefined, true, undefined, this),
27781
- /* @__PURE__ */ jsxDEV117("article", {
27782
- className: "card-subtle space-y-2 p-6",
27783
- children: [
27784
- /* @__PURE__ */ jsxDEV117("h2", {
27785
- className: "text-2xl font-semibold",
27786
- children: "Deploy panel"
27787
- }, undefined, false, undefined, this),
27788
- /* @__PURE__ */ jsxDEV117("p", {
27789
- className: "text-muted-foreground text-sm",
27790
- children: "Choose environment, review validations, and deploy with one button. Rollback is one tap away."
27791
- }, undefined, false, undefined, this)
27792
- ]
27793
- }, undefined, true, undefined, this)
27794
- ]
27795
- }, undefined, true, undefined, this),
27796
- /* @__PURE__ */ jsxDEV117("section", {
27797
- className: "space-y-3",
27798
- children: [
27799
- /* @__PURE__ */ jsxDEV117("h2", {
27800
- className: "text-2xl font-semibold",
27801
- children: "Tips"
27802
- }, undefined, false, undefined, this),
27803
- /* @__PURE__ */ jsxDEV117("ul", {
27804
- className: "space-y-2 text-sm",
27805
- children: tips.map((tip) => /* @__PURE__ */ jsxDEV117("li", {
27806
- children: [
27807
- "• ",
27808
- tip
27809
- ]
27810
- }, tip, true, undefined, this))
27811
- }, undefined, false, undefined, this)
27812
- ]
27813
- }, undefined, true, undefined, this)
27672
+ /* @__PURE__ */ jsxDEV117("p", {
27673
+ className: "text-muted-foreground text-sm",
27674
+ children: "Visual builder documentation now lives in the Studio app docs."
27675
+ }, undefined, false, undefined, this),
27676
+ /* @__PURE__ */ jsxDEV117(Link98, {
27677
+ href: "https://app.contractspec.studio/docs",
27678
+ className: "btn-primary",
27679
+ children: "Open Studio docs"
27680
+ }, undefined, false, undefined, this)
27814
27681
  ]
27815
27682
  }, undefined, true, undefined, this);
27816
27683
  }
27817
27684
 
27818
27685
  // src/components/docs/studio/StudioIntegrationsPage.tsx
27686
+ import Link99 from "@contractspec/lib.ui-link";
27819
27687
  import { jsxDEV as jsxDEV118 } from "react/jsx-dev-runtime";
27820
- var flow = [
27821
- {
27822
- title: "Connect a provider",
27823
- body: "Choose a provider from the marketplace, enter credentials, and run the test connection. Studio encrypts secrets immediately."
27824
- },
27825
- {
27826
- title: "Schedule syncs",
27827
- body: "Define sync cadence (manual, hourly, daily). Studio tracks usage count and last sync timestamp."
27828
- },
27829
- {
27830
- title: "Index knowledge",
27831
- body: "Add documentation or API specs as knowledge sources. Reindex whenever files change."
27832
- }
27833
- ];
27834
27688
  function StudioIntegrationsPage() {
27835
27689
  return /* @__PURE__ */ jsxDEV118("main", {
27836
- className: "space-y-12 py-12",
27690
+ className: "space-y-6 py-12",
27837
27691
  children: [
27838
- /* @__PURE__ */ jsxDEV118("header", {
27839
- className: "space-y-3",
27840
- children: [
27841
- /* @__PURE__ */ jsxDEV118("p", {
27842
- className: "text-xs font-semibold tracking-[0.3em] text-violet-400 uppercase",
27843
- children: "Integration hub"
27844
- }, undefined, false, undefined, this),
27845
- /* @__PURE__ */ jsxDEV118("h1", {
27846
- className: "text-4xl font-bold",
27847
- children: "Unified connections with BYOK"
27848
- }, undefined, false, undefined, this),
27849
- /* @__PURE__ */ jsxDEV118("p", {
27850
- className: "text-muted-foreground max-w-3xl text-lg",
27851
- children: "Manage SaaS providers and knowledge sources without scattering secrets across tools. Studio gives you a simple card layout plus CLI automation."
27852
- }, undefined, false, undefined, this)
27853
- ]
27854
- }, undefined, true, undefined, this),
27855
- /* @__PURE__ */ jsxDEV118("section", {
27856
- className: "grid gap-4 md:grid-cols-3",
27857
- children: flow.map((step) => /* @__PURE__ */ jsxDEV118("article", {
27858
- className: "card-subtle space-y-2 p-6",
27859
- children: [
27860
- /* @__PURE__ */ jsxDEV118("h2", {
27861
- className: "text-xl font-semibold",
27862
- children: step.title
27863
- }, undefined, false, undefined, this),
27864
- /* @__PURE__ */ jsxDEV118("p", {
27865
- className: "text-muted-foreground text-sm",
27866
- children: step.body
27867
- }, undefined, false, undefined, this)
27868
- ]
27869
- }, step.title, true, undefined, this))
27692
+ /* @__PURE__ */ jsxDEV118("h1", {
27693
+ className: "text-3xl font-bold",
27694
+ children: "Studio docs moved"
27870
27695
  }, undefined, false, undefined, this),
27871
- /* @__PURE__ */ jsxDEV118("section", {
27872
- className: "space-y-2",
27873
- children: [
27874
- /* @__PURE__ */ jsxDEV118("h2", {
27875
- className: "text-2xl font-semibold",
27876
- children: "Monitoring"
27877
- }, undefined, false, undefined, this),
27878
- /* @__PURE__ */ jsxDEV118("p", {
27879
- className: "text-muted-foreground text-sm",
27880
- children: "Every integration exposes sync logs and failure alerts. Use the webhook to forward sync events to Slack or PagerDuty."
27881
- }, undefined, false, undefined, this)
27882
- ]
27883
- }, undefined, true, undefined, this)
27696
+ /* @__PURE__ */ jsxDEV118("p", {
27697
+ className: "text-muted-foreground text-sm",
27698
+ children: "Integration guides now live in the Studio app docs."
27699
+ }, undefined, false, undefined, this),
27700
+ /* @__PURE__ */ jsxDEV118(Link99, {
27701
+ href: "https://app.contractspec.studio/docs",
27702
+ className: "btn-primary",
27703
+ children: "Open Studio docs"
27704
+ }, undefined, false, undefined, this)
27884
27705
  ]
27885
27706
  }, undefined, true, undefined, this);
27886
27707
  }
27887
27708
 
27888
27709
  // src/components/docs/studio/StudioDeploymentsPage.tsx
27710
+ import Link100 from "@contractspec/lib.ui-link";
27889
27711
  import { jsxDEV as jsxDEV119 } from "react/jsx-dev-runtime";
27890
- var comparisons = [
27891
- {
27892
- label: "Shared",
27893
- points: [
27894
- "Ready in seconds",
27895
- "DEV + STAGE by default",
27896
- "Best for prototypes",
27897
- "Managed SSL"
27898
- ]
27899
- },
27900
- {
27901
- label: "Dedicated",
27902
- points: [
27903
- "Isolated clusters",
27904
- "Choose region + VPC",
27905
- "Rolling deploys",
27906
- "Custom observability sinks"
27907
- ]
27908
- }
27909
- ];
27910
- var checklist = [
27911
- "Validate specs before deploying (Studio does this automatically).",
27912
- "Tag deployments with a description so rituals have context.",
27913
- "Monitor status cards—failed deploys trigger alerts and auto rollback.",
27914
- "Use the CLI to export deployment manifests if you want infra-as-code."
27915
- ];
27916
27712
  function StudioDeploymentsPage() {
27917
27713
  return /* @__PURE__ */ jsxDEV119("main", {
27918
- className: "space-y-12 py-12",
27714
+ className: "space-y-6 py-12",
27919
27715
  children: [
27920
- /* @__PURE__ */ jsxDEV119("header", {
27921
- className: "space-y-3",
27922
- children: [
27923
- /* @__PURE__ */ jsxDEV119("p", {
27924
- className: "text-xs font-semibold tracking-[0.3em] text-violet-400 uppercase",
27925
- children: "Deployments"
27926
- }, undefined, false, undefined, this),
27927
- /* @__PURE__ */ jsxDEV119("h1", {
27928
- className: "text-4xl font-bold",
27929
- children: "Shared vs dedicated workflows"
27930
- }, undefined, false, undefined, this),
27931
- /* @__PURE__ */ jsxDEV119("p", {
27932
- className: "text-muted-foreground max-w-3xl text-lg",
27933
- children: "Studio abstracts infra, but you still stay in control. This guide explains how environments are provisioned, monitored, and rolled back."
27934
- }, undefined, false, undefined, this)
27935
- ]
27936
- }, undefined, true, undefined, this),
27937
- /* @__PURE__ */ jsxDEV119("section", {
27938
- className: "grid gap-4 md:grid-cols-2",
27939
- children: comparisons.map((option) => /* @__PURE__ */ jsxDEV119("article", {
27940
- className: "card-subtle space-y-2 p-6",
27941
- children: [
27942
- /* @__PURE__ */ jsxDEV119("h2", {
27943
- className: "text-2xl font-semibold",
27944
- children: [
27945
- option.label,
27946
- " deployments"
27947
- ]
27948
- }, undefined, true, undefined, this),
27949
- /* @__PURE__ */ jsxDEV119("ul", {
27950
- className: "space-y-1 text-sm",
27951
- children: option.points.map((point) => /* @__PURE__ */ jsxDEV119("li", {
27952
- children: [
27953
- "• ",
27954
- point
27955
- ]
27956
- }, point, true, undefined, this))
27957
- }, undefined, false, undefined, this)
27958
- ]
27959
- }, option.label, true, undefined, this))
27716
+ /* @__PURE__ */ jsxDEV119("h1", {
27717
+ className: "text-3xl font-bold",
27718
+ children: "Studio docs moved"
27960
27719
  }, undefined, false, undefined, this),
27961
- /* @__PURE__ */ jsxDEV119("section", {
27962
- className: "space-y-3",
27963
- children: [
27964
- /* @__PURE__ */ jsxDEV119("h2", {
27965
- className: "text-2xl font-semibold",
27966
- children: "Health & rollback"
27967
- }, undefined, false, undefined, this),
27968
- /* @__PURE__ */ jsxDEV119("p", {
27969
- className: "text-muted-foreground text-sm",
27970
- children: "Every deployment emits health events. If a check fails, Studio pauses traffic and offers rollback controls with diff context."
27971
- }, undefined, false, undefined, this),
27972
- /* @__PURE__ */ jsxDEV119("ul", {
27973
- className: "space-y-2 text-sm",
27974
- children: checklist.map((item) => /* @__PURE__ */ jsxDEV119("li", {
27975
- children: [
27976
- "• ",
27977
- item
27978
- ]
27979
- }, item, true, undefined, this))
27980
- }, undefined, false, undefined, this)
27981
- ]
27982
- }, undefined, true, undefined, this)
27720
+ /* @__PURE__ */ jsxDEV119("p", {
27721
+ className: "text-muted-foreground text-sm",
27722
+ children: "Deployment guidance now lives in the Studio app docs."
27723
+ }, undefined, false, undefined, this),
27724
+ /* @__PURE__ */ jsxDEV119(Link100, {
27725
+ href: "https://app.contractspec.studio/docs",
27726
+ className: "btn-primary",
27727
+ children: "Open Studio docs"
27728
+ }, undefined, false, undefined, this)
27983
27729
  ]
27984
27730
  }, undefined, true, undefined, this);
27985
27731
  }
27986
27732
 
27987
27733
  // src/components/docs/studio/StudioBYOKPage.tsx
27734
+ import Link101 from "@contractspec/lib.ui-link";
27988
27735
  import { jsxDEV as jsxDEV120 } from "react/jsx-dev-runtime";
27989
- var steps2 = [
27990
- {
27991
- title: "1. Provide vault endpoint",
27992
- body: "Enter your Vault/HSM URL and the key identifier. Studio only stores the reference."
27993
- },
27994
- {
27995
- title: "2. Verify encryption",
27996
- body: "Studio runs a test by encrypting a dummy payload and asking you to decrypt it."
27997
- },
27998
- {
27999
- title: "3. Store credentials",
28000
- body: "When integrations are connected, secrets get encrypted client side before landing in the database."
28001
- },
28002
- {
28003
- title: "4. Rotate keys",
28004
- body: "Trigger rotation from the BYOK manager. Studio fetches existing secrets, decrypts with the old key, and re-encrypts with the new one."
28005
- }
28006
- ];
28007
27736
  function StudioBYOKPage() {
28008
27737
  return /* @__PURE__ */ jsxDEV120("main", {
28009
- className: "space-y-12 py-12",
27738
+ className: "space-y-6 py-12",
28010
27739
  children: [
28011
- /* @__PURE__ */ jsxDEV120("header", {
28012
- className: "space-y-3",
28013
- children: [
28014
- /* @__PURE__ */ jsxDEV120("p", {
28015
- className: "text-xs font-semibold tracking-[0.3em] text-violet-400 uppercase",
28016
- children: "BYOK"
28017
- }, undefined, false, undefined, this),
28018
- /* @__PURE__ */ jsxDEV120("h1", {
28019
- className: "text-4xl font-bold",
28020
- children: "Bring your own key to Studio"
28021
- }, undefined, false, undefined, this),
28022
- /* @__PURE__ */ jsxDEV120("p", {
28023
- className: "text-muted-foreground max-w-3xl text-lg",
28024
- children: "Keep secrets under your control. Studio never touches plaintext credentials; everything is encrypted with tenant-specific material."
28025
- }, undefined, false, undefined, this)
28026
- ]
28027
- }, undefined, true, undefined, this),
28028
- /* @__PURE__ */ jsxDEV120("section", {
28029
- className: "grid gap-4 md:grid-cols-2",
28030
- children: steps2.map((step) => /* @__PURE__ */ jsxDEV120("article", {
28031
- className: "card-subtle space-y-2 p-6",
28032
- children: [
28033
- /* @__PURE__ */ jsxDEV120("h2", {
28034
- className: "text-xl font-semibold",
28035
- children: step.title
28036
- }, undefined, false, undefined, this),
28037
- /* @__PURE__ */ jsxDEV120("p", {
28038
- className: "text-muted-foreground text-sm",
28039
- children: step.body
28040
- }, undefined, false, undefined, this)
28041
- ]
28042
- }, step.title, true, undefined, this))
27740
+ /* @__PURE__ */ jsxDEV120("h1", {
27741
+ className: "text-3xl font-bold",
27742
+ children: "Studio docs moved"
28043
27743
  }, undefined, false, undefined, this),
28044
- /* @__PURE__ */ jsxDEV120("section", {
28045
- className: "space-y-2",
28046
- children: [
28047
- /* @__PURE__ */ jsxDEV120("h2", {
28048
- className: "text-2xl font-semibold",
28049
- children: "Audit trail"
28050
- }, undefined, false, undefined, this),
28051
- /* @__PURE__ */ jsxDEV120("p", {
28052
- className: "text-muted-foreground text-sm",
28053
- children: "Every decrypt operation logs who requested it, what integration was involved, and the purpose (sync, deploy, manual action)."
28054
- }, undefined, false, undefined, this),
28055
- /* @__PURE__ */ jsxDEV120("p", {
28056
- className: "text-muted-foreground text-sm",
28057
- children: "You can stream audit logs to your SIEM via webhooks or export CSVs for compliance reviews."
28058
- }, undefined, false, undefined, this)
28059
- ]
28060
- }, undefined, true, undefined, this)
27744
+ /* @__PURE__ */ jsxDEV120("p", {
27745
+ className: "text-muted-foreground text-sm",
27746
+ children: "Security and BYOK guidance now lives in the Studio app docs."
27747
+ }, undefined, false, undefined, this),
27748
+ /* @__PURE__ */ jsxDEV120(Link101, {
27749
+ href: "https://app.contractspec.studio/docs",
27750
+ className: "btn-primary",
27751
+ children: "Open Studio docs"
27752
+ }, undefined, false, undefined, this)
28061
27753
  ]
28062
27754
  }, undefined, true, undefined, this);
28063
27755
  }