@contractspec/bundle.library 2.0.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 (108) hide show
  1. package/.turbo/turbo-build.log +47 -47
  2. package/CHANGELOG.md +43 -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/generated/docs-index.generated.d.ts +6 -6
  7. package/dist/components/docs/getting-started/DeveloperToolsPage.js +6 -6
  8. package/dist/components/docs/getting-started/index.js +6 -6
  9. package/dist/components/docs/guides/GuideCIDiffGatingPage.js +6 -6
  10. package/dist/components/docs/guides/GuideContractTypesPage.js +6 -6
  11. package/dist/components/docs/guides/GuideDocsPipelinePage.js +6 -6
  12. package/dist/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +6 -6
  13. package/dist/components/docs/guides/GuideImportExistingCodebasesPage.js +6 -6
  14. package/dist/components/docs/guides/GuideNextjsOneEndpointPage.js +6 -6
  15. package/dist/components/docs/guides/GuideSpecValidationTypingPage.js +6 -6
  16. package/dist/components/docs/guides/index.js +18 -18
  17. package/dist/components/docs/index.js +162 -470
  18. package/dist/components/docs/manifesto/ManifestoPage.js +2 -2
  19. package/dist/components/docs/shared/StudioPrompt.js +4 -4
  20. package/dist/components/docs/studio/StudioBYOKPage.js +14 -68
  21. package/dist/components/docs/studio/StudioDeploymentsPage.js +14 -89
  22. package/dist/components/docs/studio/StudioGettingStartedPage.js +14 -82
  23. package/dist/components/docs/studio/StudioIntegrationsPage.js +14 -60
  24. package/dist/components/docs/studio/StudioOverviewPage.js +62 -32
  25. package/dist/components/docs/studio/StudioVisualBuilderPage.js +14 -109
  26. package/dist/components/docs/studio/index.js +131 -439
  27. package/dist/index.js +162 -470
  28. package/dist/node/components/docs/DocsIndexPage.js +3 -3
  29. package/dist/node/components/docs/ecosystem/TemplatesPage.js +6 -6
  30. package/dist/node/components/docs/ecosystem/index.js +6 -6
  31. package/dist/node/components/docs/getting-started/DeveloperToolsPage.js +6 -6
  32. package/dist/node/components/docs/getting-started/index.js +6 -6
  33. package/dist/node/components/docs/guides/GuideCIDiffGatingPage.js +6 -6
  34. package/dist/node/components/docs/guides/GuideContractTypesPage.js +6 -6
  35. package/dist/node/components/docs/guides/GuideDocsPipelinePage.js +6 -6
  36. package/dist/node/components/docs/guides/GuideGenerateDocsClientsSchemasPage.js +6 -6
  37. package/dist/node/components/docs/guides/GuideImportExistingCodebasesPage.js +6 -6
  38. package/dist/node/components/docs/guides/GuideNextjsOneEndpointPage.js +6 -6
  39. package/dist/node/components/docs/guides/GuideSpecValidationTypingPage.js +6 -6
  40. package/dist/node/components/docs/guides/index.js +18 -18
  41. package/dist/node/components/docs/index.js +162 -470
  42. package/dist/node/components/docs/manifesto/ManifestoPage.js +2 -2
  43. package/dist/node/components/docs/shared/StudioPrompt.js +4 -4
  44. package/dist/node/components/docs/studio/StudioBYOKPage.js +14 -68
  45. package/dist/node/components/docs/studio/StudioDeploymentsPage.js +14 -89
  46. package/dist/node/components/docs/studio/StudioGettingStartedPage.js +14 -82
  47. package/dist/node/components/docs/studio/StudioIntegrationsPage.js +14 -60
  48. package/dist/node/components/docs/studio/StudioOverviewPage.js +62 -32
  49. package/dist/node/components/docs/studio/StudioVisualBuilderPage.js +14 -109
  50. package/dist/node/components/docs/studio/index.js +131 -439
  51. package/dist/node/index.js +162 -470
  52. package/package.json +18 -18
  53. package/src/components/docs/DocsIndexPage.tsx +3 -3
  54. package/src/components/docs/ecosystem/TemplatesPage.tsx +2 -2
  55. package/src/components/docs/generated/docs-index._common.json +40 -211
  56. package/src/components/docs/generated/docs-index.agent-console.json +1 -1
  57. package/src/components/docs/generated/docs-index.ai-chat.json +1 -1
  58. package/src/components/docs/generated/docs-index.analytics-dashboard.json +1 -1
  59. package/src/components/docs/generated/docs-index.app-config.json +1 -1
  60. package/src/components/docs/generated/docs-index.audit-trail.json +1 -1
  61. package/src/components/docs/generated/docs-index.crm-pipeline.json +1 -1
  62. package/src/components/docs/generated/docs-index.feature-flags.json +1 -1
  63. package/src/components/docs/generated/docs-index.files.json +1 -1
  64. package/src/components/docs/generated/docs-index.generated.ts +7 -7
  65. package/src/components/docs/generated/docs-index.identity-rbac.json +1 -1
  66. package/src/components/docs/generated/docs-index.integration-hub.json +1 -1
  67. package/src/components/docs/generated/docs-index.jobs.json +1 -1
  68. package/src/components/docs/generated/docs-index.kb-update-pipeline.json +1 -1
  69. package/src/components/docs/generated/docs-index.learning-journey-crm-onboarding.json +1 -1
  70. package/src/components/docs/generated/docs-index.learning-journey-platform-tour.json +1 -1
  71. package/src/components/docs/generated/docs-index.learning-journey-registry.json +1 -1
  72. package/src/components/docs/generated/docs-index.learning-journey-studio-onboarding.json +1 -1
  73. package/src/components/docs/generated/docs-index.learning-journey.json +1 -1
  74. package/src/components/docs/generated/docs-index.locale-jurisdiction-gate.json +1 -1
  75. package/src/components/docs/generated/docs-index.manifest.json +1 -1
  76. package/src/components/docs/generated/docs-index.marketplace.json +1 -1
  77. package/src/components/docs/generated/docs-index.meeting-recorder.json +1 -1
  78. package/src/components/docs/generated/docs-index.metrics.json +1 -1
  79. package/src/components/docs/generated/docs-index.notifications.json +1 -1
  80. package/src/components/docs/generated/docs-index.openbanking.json +1 -1
  81. package/src/components/docs/generated/docs-index.platform-integrations.json +1 -1
  82. package/src/components/docs/generated/docs-index.platform-knowledge.json +1 -1
  83. package/src/components/docs/generated/docs-index.pocket-family-office.json +1 -1
  84. package/src/components/docs/generated/docs-index.policy-safe-knowledge-assistant.json +1 -1
  85. package/src/components/docs/generated/docs-index.saas-boilerplate.json +1 -1
  86. package/src/components/docs/generated/docs-index.service-business-os.json +1 -1
  87. package/src/components/docs/generated/docs-index.team-hub.json +1 -1
  88. package/src/components/docs/generated/docs-index.unknown.json +1 -1
  89. package/src/components/docs/generated/docs-index.versioned-knowledge-base.json +1 -1
  90. package/src/components/docs/generated/docs-index.wealth-snapshot.json +1 -1
  91. package/src/components/docs/generated/docs-index.workflow-system.json +1 -1
  92. package/src/components/docs/generated/docs-index.workspace-cli.json +1 -1
  93. package/src/components/docs/getting-started/DeveloperToolsPage.tsx +6 -6
  94. package/src/components/docs/guides/GuideCIDiffGatingPage.tsx +2 -2
  95. package/src/components/docs/guides/GuideContractTypesPage.tsx +2 -2
  96. package/src/components/docs/guides/GuideDocsPipelinePage.tsx +2 -2
  97. package/src/components/docs/guides/GuideGenerateDocsClientsSchemasPage.tsx +2 -2
  98. package/src/components/docs/guides/GuideImportExistingCodebasesPage.tsx +2 -2
  99. package/src/components/docs/guides/GuideNextjsOneEndpointPage.tsx +2 -2
  100. package/src/components/docs/guides/GuideSpecValidationTypingPage.tsx +2 -2
  101. package/src/components/docs/manifesto/ManifestoPage.tsx +2 -2
  102. package/src/components/docs/shared/StudioPrompt.tsx +4 -4
  103. package/src/components/docs/studio/StudioBYOKPage.tsx +9 -54
  104. package/src/components/docs/studio/StudioDeploymentsPage.tsx +9 -70
  105. package/src/components/docs/studio/StudioGettingStartedPage.tsx +9 -66
  106. package/src/components/docs/studio/StudioIntegrationsPage.tsx +9 -47
  107. package/src/components/docs/studio/StudioOverviewPage.tsx +53 -41
  108. package/src/components/docs/studio/StudioVisualBuilderPage.tsx +9 -72
@@ -1,53 +1,15 @@
1
- // export const metadata: Metadata = {
2
- // title: 'Studio – Integration Hub Guide',
3
- // description:
4
- // 'Connect providers, manage BYOK credentials, and sync data in the Studio Integration Hub.',
5
- // };
6
-
7
- const flow = [
8
- {
9
- title: 'Connect a provider',
10
- body: 'Choose a provider from the marketplace, enter credentials, and run the test connection. Studio encrypts secrets immediately.',
11
- },
12
- {
13
- title: 'Schedule syncs',
14
- body: 'Define sync cadence (manual, hourly, daily). Studio tracks usage count and last sync timestamp.',
15
- },
16
- {
17
- title: 'Index knowledge',
18
- body: 'Add documentation or API specs as knowledge sources. Reindex whenever files change.',
19
- },
20
- ];
1
+ import Link from '@contractspec/lib.ui-link';
21
2
 
22
3
  export function StudioIntegrationsPage() {
23
4
  return (
24
- <main className="space-y-12 py-12">
25
- <header className="space-y-3">
26
- <p className="text-xs font-semibold tracking-[0.3em] text-violet-400 uppercase">
27
- Integration hub
28
- </p>
29
- <h1 className="text-4xl font-bold">Unified connections with BYOK</h1>
30
- <p className="text-muted-foreground max-w-3xl text-lg">
31
- Manage SaaS providers and knowledge sources without scattering secrets
32
- across tools. Studio gives you a simple card layout plus CLI
33
- automation.
34
- </p>
35
- </header>
36
- <section className="grid gap-4 md:grid-cols-3">
37
- {flow.map((step) => (
38
- <article key={step.title} className="card-subtle space-y-2 p-6">
39
- <h2 className="text-xl font-semibold">{step.title}</h2>
40
- <p className="text-muted-foreground text-sm">{step.body}</p>
41
- </article>
42
- ))}
43
- </section>
44
- <section className="space-y-2">
45
- <h2 className="text-2xl font-semibold">Monitoring</h2>
46
- <p className="text-muted-foreground text-sm">
47
- Every integration exposes sync logs and failure alerts. Use the
48
- webhook to forward sync events to Slack or PagerDuty.
49
- </p>
50
- </section>
5
+ <main className="space-y-6 py-12">
6
+ <h1 className="text-3xl font-bold">Studio docs moved</h1>
7
+ <p className="text-muted-foreground text-sm">
8
+ Integration guides now live in the Studio app docs.
9
+ </p>
10
+ <Link href="https://app.contractspec.studio/docs" className="btn-primary">
11
+ Open Studio docs
12
+ </Link>
51
13
  </main>
52
14
  );
53
15
  }
@@ -1,68 +1,80 @@
1
1
  import Link from '@contractspec/lib.ui-link';
2
2
 
3
- // export const metadata: Metadata = {
4
- // title: 'Studio Documentation – ContractSpec',
5
- // description:
6
- // 'Official ContractSpec Studio documentation. Jump into getting started, visual builder, deployments, BYOK, and integration guides.',
7
- // };
8
-
9
- const sections = [
3
+ const coreLoop = [
4
+ {
5
+ title: 'Evidence',
6
+ body: 'Ingest product signals from meetings, support, analytics, code reviews, docs, and Slack.',
7
+ },
10
8
  {
11
- title: '1. Getting started',
12
- body: 'Provision your Studio workspace, create a project, and run the first deployment.',
13
- href: '/docs/studio/getting-started',
9
+ title: 'Correlation',
10
+ body: 'Cluster signals into scored patterns with hybrid heuristics plus AI signature extraction.',
14
11
  },
15
12
  {
16
- title: '2. Visual builder',
17
- body: 'Learn the canvas controls, component palette, and spec validation workflow.',
18
- href: '/docs/studio/visual-builder',
13
+ title: 'Decision',
14
+ body: 'Create timeboxed focus zones and evidence-backed briefs with citation chains.',
19
15
  },
20
16
  {
21
- title: '3. Deployments',
22
- body: 'Switch between shared and dedicated environments, monitor health, and roll back safely.',
23
- href: '/docs/studio/deployments',
17
+ title: 'Change',
18
+ body: 'Compile patch intents into spec diffs, deterministic impact reports, and task packs.',
24
19
  },
25
20
  {
26
- title: '4. BYOK security',
27
- body: 'Configure your vault, rotate keys, and audit credential access.',
28
- href: '/docs/studio/byok',
21
+ title: 'Export',
22
+ body: 'Push deliverables to Linear, Jira, Notion, and GitHub with full decision context.',
29
23
  },
30
24
  {
31
- title: '5. Integration hub',
32
- body: 'Connect third-party providers, sync data, and index knowledge sources.',
33
- href: '/docs/studio/integrations',
25
+ title: 'Check + Autopilot',
26
+ body: 'Verify outcomes, capture learning dividends, and automate safely with policy gates.',
34
27
  },
35
28
  ];
36
29
 
37
30
  export function StudioOverviewPage() {
38
31
  return (
39
- <main className="space-y-16 py-16">
40
- <section className="section-padding">
32
+ <main className="space-y-12 py-16">
33
+ <section className="section-padding space-y-4">
41
34
  <p className="text-xs font-semibold tracking-[0.3em] text-violet-400 uppercase">
42
- Studio docs
35
+ ContractSpec Studio
43
36
  </p>
44
- <h1 className="mt-4 text-4xl font-bold">
45
- Everything you need to run Studio.
37
+ <h1 className="text-4xl font-bold md:text-5xl">
38
+ Compiler for product truth
46
39
  </h1>
47
- <p className="text-muted-foreground mt-4 max-w-3xl text-lg">
48
- ContractSpec Studio pairs a visual builder with managed
49
- infrastructure. These guides keep teams aligned—especially when
50
- engineers and operators share the same console.
40
+ <p className="text-muted-foreground max-w-3xl text-lg">
41
+ ContractSpec Studio is the AI-powered product decision engine built on
42
+ top of ContractSpec. It turns product signals into spec-first
43
+ deliverables through a deterministic loop:
44
+ </p>
45
+ <p className="text-muted-foreground font-mono text-sm">
46
+ Evidence -&gt; Correlation -&gt; Decision -&gt; Change -&gt; Export
47
+ -&gt; Check -&gt; Notify -&gt; Autopilot
51
48
  </p>
52
49
  </section>
53
- <section className="section-padding grid gap-4">
54
- {sections.map((section) => (
50
+
51
+ <section className="section-padding grid gap-4 md:grid-cols-2">
52
+ {coreLoop.map((step) => (
53
+ <article key={step.title} className="card-subtle space-y-2 p-6">
54
+ <h2 className="text-xl font-semibold">{step.title}</h2>
55
+ <p className="text-muted-foreground text-sm">{step.body}</p>
56
+ </article>
57
+ ))}
58
+ </section>
59
+
60
+ <section className="section-padding card-subtle space-y-4 p-6">
61
+ <h2 className="text-2xl font-semibold">Use Studio now</h2>
62
+ <p className="text-muted-foreground text-sm">
63
+ Studio is live and runs the same spec-first grammar as the OSS
64
+ compiler. Keep your contracts, keep your code, and add a full
65
+ decision-to-change workflow on top.
66
+ </p>
67
+ <div className="flex flex-wrap gap-3">
68
+ <Link href="https://app.contractspec.studio" className="btn-primary">
69
+ Try Studio
70
+ </Link>
55
71
  <Link
56
- key={section.href}
57
- href={section.href}
58
- className="card-subtle group space-y-2 p-6 transition hover:border-violet-500/40"
72
+ href="https://app.contractspec.studio/docs"
73
+ className="btn-ghost"
59
74
  >
60
- <h2 className="text-xl font-semibold group-hover:text-violet-400">
61
- {section.title}
62
- </h2>
63
- <p className="text-muted-foreground text-sm">{section.body}</p>
75
+ Read Studio docs
64
76
  </Link>
65
- ))}
77
+ </div>
66
78
  </section>
67
79
  </main>
68
80
  );
@@ -1,78 +1,15 @@
1
- import Image from 'next/image';
2
-
3
- // export const metadata: Metadata = {
4
- // title: 'Studio – Visual Builder Guide',
5
- // description:
6
- // 'Understand the Studio visual builder: canvas controls, component palette, bindings, and validation.',
7
- // };
8
-
9
- const tips = [
10
- 'Use two-finger drag on touch devices to pan the canvas.',
11
- 'Tap a component to open the spec sidebar and edit props.',
12
- 'The timeline records every change; tap a dot to roll back.',
13
- 'Validation runs automatically before deploy. Errors show inline.',
14
- ];
1
+ import Link from '@contractspec/lib.ui-link';
15
2
 
16
3
  export function StudioVisualBuilderPage() {
17
4
  return (
18
- <main className="space-y-12 py-12">
19
- <header className="space-y-3">
20
- <p className="text-xs font-semibold tracking-[0.3em] text-violet-400 uppercase">
21
- Visual builder
22
- </p>
23
- <h1 className="text-4xl font-bold">Canvas, palette, and spec editor</h1>
24
- <p className="text-muted-foreground max-w-3xl text-lg">
25
- Studio’s builder keeps designers, operators, and engineers in sync.
26
- Every action updates the underlying spec and can be undone.
27
- </p>
28
- </header>
29
- <section className="border-border bg-card rounded-2xl border p-6">
30
- <Image
31
- src="/assets/images/studio/visual-builder.png"
32
- alt="Studio visual builder overview"
33
- width={1024}
34
- height={576}
35
- className="border-border rounded-xl border"
36
- />
37
- </section>
38
- <section className="grid gap-4 md:grid-cols-2">
39
- <article className="card-subtle space-y-2 p-6">
40
- <h2 className="text-2xl font-semibold">Canvas controls</h2>
41
- <p className="text-muted-foreground text-sm">
42
- Drag to pan, scroll/ pinch to zoom. The right panel shows a tree
43
- view.
44
- </p>
45
- </article>
46
- <article className="card-subtle space-y-2 p-6">
47
- <h2 className="text-2xl font-semibold">Component palette</h2>
48
- <p className="text-muted-foreground text-sm">
49
- Search by intent (“capture payment”) or category. Drag components or
50
- tap to add.
51
- </p>
52
- </article>
53
- <article className="card-subtle space-y-2 p-6">
54
- <h2 className="text-2xl font-semibold">Spec editor</h2>
55
- <p className="text-muted-foreground text-sm">
56
- Toggle between visual and code views. Changes stay in sync and
57
- include diff previews.
58
- </p>
59
- </article>
60
- <article className="card-subtle space-y-2 p-6">
61
- <h2 className="text-2xl font-semibold">Deploy panel</h2>
62
- <p className="text-muted-foreground text-sm">
63
- Choose environment, review validations, and deploy with one button.
64
- Rollback is one tap away.
65
- </p>
66
- </article>
67
- </section>
68
- <section className="space-y-3">
69
- <h2 className="text-2xl font-semibold">Tips</h2>
70
- <ul className="space-y-2 text-sm">
71
- {tips.map((tip) => (
72
- <li key={tip}>• {tip}</li>
73
- ))}
74
- </ul>
75
- </section>
5
+ <main className="space-y-6 py-12">
6
+ <h1 className="text-3xl font-bold">Studio docs moved</h1>
7
+ <p className="text-muted-foreground text-sm">
8
+ Visual builder documentation now lives in the Studio app docs.
9
+ </p>
10
+ <Link href="https://app.contractspec.studio/docs" className="btn-primary">
11
+ Open Studio docs
12
+ </Link>
76
13
  </main>
77
14
  );
78
15
  }