Skip to content

Commit e7356b6

Browse files
feat: Update website for v4.4.0 - Framework page refresh and cleanup
- Framework page: Remove incorrect NEW tags from Code Health Assistant and Smart Model Routing (features existed, just updated implementation) - Framework page: Update Quick Start to show SocraticWorkflowBuilder API instead of old BaseWizard pattern - Framework page: Add SocraticWorkflowBuilder to Architecture section - Replace inline hardcoded footers with shared Footer component on framework, plugins, contact, book, and dev-dashboard pages - Remove book/Gumroad references from navigation and CTAs - Update PersonaCards: "Read the Book" → "Read the Docs" - Update plugins page licensing to remove specific pricing, direct users to contact for commercial licensing Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent c92e9ec commit e7356b6

6 files changed

Lines changed: 68 additions & 179 deletions

File tree

website/app/book/page.tsx

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Link from 'next/link';
22
import Image from 'next/image';
3+
import Footer from '@/components/Footer';
34

45
// Gumroad product URL for pay-what-you-want book
56
const GUMROAD_BOOK_URL = 'https://roebucksmith.gumroad.com/l/empathy-book';
@@ -409,30 +410,7 @@ export default function BookPage() {
409410
</div>
410411
</section>
411412

412-
{/* Footer */}
413-
<footer className="py-12 border-t border-[var(--border)]">
414-
<div className="container">
415-
<div className="flex flex-col md:flex-row justify-between items-center gap-6">
416-
<div className="text-sm text-[var(--muted)]">
417-
© 2025 Deep Study AI, LLC. All rights reserved.
418-
</div>
419-
<div className="flex gap-6">
420-
<Link href="/" className="text-sm text-[var(--muted)] hover:text-[var(--primary)]">
421-
Home
422-
</Link>
423-
<Link href="/framework" className="text-sm text-[var(--muted)] hover:text-[var(--primary)]">
424-
Framework
425-
</Link>
426-
<Link href="/docs" className="text-sm text-[var(--muted)] hover:text-[var(--primary)]">
427-
Docs
428-
</Link>
429-
<Link href="/plugins" className="text-sm text-[var(--muted)] hover:text-[var(--primary)]">
430-
Plugins
431-
</Link>
432-
</div>
433-
</div>
434-
</div>
435-
</footer>
413+
<Footer />
436414
</div>
437415
);
438416
}

website/app/contact/page.tsx

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import Link from 'next/link';
44
import { useState, useRef } from 'react';
5+
import Footer from '@/components/Footer';
56

67
export default function ContactPage() {
78
const [formData, setFormData] = useState({
@@ -142,7 +143,6 @@ export default function ContactPage() {
142143
</Link>
143144
<div className="flex gap-6">
144145
<Link href="/framework" className="text-sm hover:text-[var(--primary)]">Framework</Link>
145-
<Link href="/book" className="text-sm hover:text-[var(--primary)]">Book</Link>
146146
<Link href="/docs" className="text-sm hover:text-[var(--primary)]">Docs</Link>
147147
<Link href="/plugins" className="text-sm hover:text-[var(--primary)]">Plugins</Link>
148148
</div>
@@ -338,33 +338,7 @@ export default function ContactPage() {
338338
</div>
339339
</section>
340340

341-
{/* Footer */}
342-
<footer className="py-12 border-t border-[var(--border)]">
343-
<div className="container">
344-
<div className="flex flex-col md:flex-row justify-between items-center gap-6">
345-
<div className="text-sm text-[var(--muted)]">
346-
© 2025 Deep Study AI, LLC. All rights reserved.
347-
</div>
348-
<div className="flex gap-6">
349-
<Link href="/" className="text-sm text-[var(--muted)] hover:text-[var(--primary)]">
350-
Home
351-
</Link>
352-
<Link href="/framework" className="text-sm text-[var(--muted)] hover:text-[var(--primary)]">
353-
Framework
354-
</Link>
355-
<Link href="/book" className="text-sm text-[var(--muted)] hover:text-[var(--primary)]">
356-
Book
357-
</Link>
358-
<Link href="/docs" className="text-sm text-[var(--muted)] hover:text-[var(--primary)]">
359-
Docs
360-
</Link>
361-
<Link href="/plugins" className="text-sm text-[var(--muted)] hover:text-[var(--primary)]">
362-
Plugins
363-
</Link>
364-
</div>
365-
</div>
366-
</div>
367-
</footer>
341+
<Footer />
368342
</div>
369343
);
370344
}

website/app/dev-dashboard/page.tsx

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import Link from 'next/link';
22
import WizardPlayground from '@/components/WizardPlayground';
33
import CostSavingsCard from '@/components/CostSavingsCard';
4+
import Footer from '@/components/Footer';
45

56
export default function DevDashboard() {
67
return (
@@ -600,27 +601,7 @@ print(f"Confidence: {decision.confidence}") # 0.92`}</code></pre>
600601
</div>
601602
</section>
602603

603-
{/* Footer */}
604-
<footer className="py-12 border-t border-[var(--border)]">
605-
<div className="container">
606-
<div className="flex flex-col md:flex-row justify-between items-center gap-6">
607-
<div className="text-sm text-[var(--muted)]">
608-
© 2025 Deep Study AI, LLC. All rights reserved.
609-
</div>
610-
<div className="flex gap-6">
611-
<Link href="/" className="text-sm text-[var(--muted)] hover:text-[var(--primary)]">
612-
Home
613-
</Link>
614-
<Link href="/framework" className="text-sm text-[var(--muted)] hover:text-[var(--primary)]">
615-
Framework
616-
</Link>
617-
<Link href="/dashboard" className="text-sm text-[var(--muted)] hover:text-[var(--primary)]">
618-
Medical Dashboard
619-
</Link>
620-
</div>
621-
</div>
622-
</div>
623-
</footer>
604+
<Footer />
624605
</div>
625606
);
626607
}

website/app/framework/page.tsx

Lines changed: 28 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Link from 'next/link';
22
import Image from 'next/image';
3+
import Footer from '@/components/Footer';
34

45
export default function FrameworkPage() {
56
return (
@@ -85,7 +86,7 @@ export default function FrameworkPage() {
8586
<div className="mb-4">
8687
<Image src="/images/icons/file-terminal.svg" alt="" width={32} height={32} className="opacity-70" />
8788
</div>
88-
<h3 className="text-xl font-bold mb-3">Code Health Assistant <span className="text-xs font-normal text-[var(--primary)] ml-2">NEW</span></h3>
89+
<h3 className="text-xl font-bold mb-3">Code Health Assistant</h3>
8990
<p className="text-[var(--text-secondary)]">
9091
Automated code quality checks, auto-fix capabilities, and health trend tracking via CLI.
9192
</p>
@@ -95,7 +96,7 @@ export default function FrameworkPage() {
9596
<div className="mb-4">
9697
<Image src="/images/icons/briefcase.svg" alt="" width={32} height={32} className="opacity-70" />
9798
</div>
98-
<h3 className="text-xl font-bold mb-3">Smart Model Routing <span className="text-xs font-normal text-[var(--primary)] ml-2">NEW</span></h3>
99+
<h3 className="text-xl font-bold mb-3">Smart Model Routing</h3>
99100
<p className="text-[var(--text-secondary)]">
100101
80-96% cost reduction with intelligent routing: Haiku for simple tasks, Sonnet for code, Opus for architecture.
101102
</p>
@@ -175,33 +176,29 @@ export default function FrameworkPage() {
175176
</div>
176177

177178
<div>
178-
<h3 className="text-2xl font-bold mb-4">Basic Usage</h3>
179+
<h3 className="text-2xl font-bold mb-4">Socratic Agent Creation</h3>
179180
<pre className="bg-[var(--foreground)] text-[var(--background)] p-6 rounded-lg overflow-x-auto text-sm">
180-
{`from empathy_framework import BaseWizard
181+
{`from empathy_os.socratic import SocraticWorkflowBuilder
181182
182-
class MyWizard(BaseWizard):
183-
@property
184-
def name(self) -> str:
185-
return "My Custom Wizard"
183+
# Describe your goal - the framework guides you through questions
184+
builder = SocraticWorkflowBuilder()
185+
session = builder.start_session("I want to automate code reviews")
186186
187-
@property
188-
def level(self) -> int:
189-
return 4 # Level 4: Anticipatory
187+
# Get clarifying questions
188+
form = builder.get_next_questions(session)
189+
print(form.questions[0].text)
190+
# "What programming languages does your team primarily use?"
190191
191-
async def analyze(self, context):
192-
# Your anticipatory logic here
193-
predictions = self.predict_future_issues(context)
194-
recommendations = self.generate_recommendations(predictions)
192+
# Answer questions
193+
session = builder.submit_answers(session, {
194+
"languages": ["python", "typescript"],
195+
"focus_areas": ["security", "performance"]
196+
})
195197
196-
return {
197-
"predictions": predictions,
198-
"recommendations": recommendations,
199-
"confidence": 0.85
200-
}
201-
202-
# Use your wizard
203-
wizard = MyWizard()
204-
result = await wizard.analyze({"data": your_data})`}
198+
# Generate optimized workflow when ready
199+
if builder.is_ready_to_generate(session):
200+
workflow = builder.generate_workflow(session)
201+
print(f"Generated {len(workflow.agents)} agents")`}
205202
</pre>
206203
</div>
207204
</div>
@@ -273,6 +270,12 @@ result = await wizard.analyze({"data": your_data})`}
273270
10+ wizards with domain metadata
274271
</span>
275272
</li>
273+
<li className="flex items-start gap-2">
274+
<span className="text-purple-500 font-mono text-sm mt-1">SocraticWorkflowBuilder</span>
275+
<span className="text-[var(--text-secondary)] text-sm">
276+
Guided agent creation through questions
277+
</span>
278+
</li>
276279
</ul>
277280
</div>
278281
</div>
@@ -337,27 +340,7 @@ result = await wizard.analyze({"data": your_data})`}
337340
</div>
338341
</section>
339342

340-
{/* Footer */}
341-
<footer className="py-12 border-t border-[var(--border)]">
342-
<div className="container">
343-
<div className="flex flex-col md:flex-row justify-between items-center gap-6">
344-
<div className="text-sm text-[var(--muted)]">
345-
© 2025 Deep Study AI, LLC. All rights reserved.
346-
</div>
347-
<div className="flex gap-6">
348-
<Link href="/" className="text-sm text-[var(--muted)] hover:text-[var(--primary)]">
349-
Home
350-
</Link>
351-
<Link href="/docs" className="text-sm text-[var(--muted)] hover:text-[var(--primary)]">
352-
Docs
353-
</Link>
354-
<Link href="/plugins" className="text-sm text-[var(--muted)] hover:text-[var(--primary)]">
355-
Plugins
356-
</Link>
357-
</div>
358-
</div>
359-
</div>
360-
</footer>
343+
<Footer />
361344
</div>
362345
);
363346
}

0 commit comments

Comments
 (0)