feat(arcrun): mira wiki page with tag filter + accumulated WIP
- landing/app/mira/wiki: tag=mira-wiki list now shows all wiki paragraphs (depends on KBDB tag filter exposed in matrix/kbdb commit, separate repo) - landing: app/mira hub + feed split + various WIP from prior sessions - registry/components: claude_api / kbdb_create_block / kbdb_get / km_writer / platform_crypto / auth_oauth2 contracts + main.go (accumulated) - .component-builds: pkg-lock updates + index.ts adjustments (WIP) - .agents/specs/arcrun/frontend-redesign: design notes - docs/test_credentials, docs/user_requirements/arcrun-landing-page: WIP docs - cypher-executor: auth-dispatcher / wasi-shim adjustments (WIP) Includes accumulated work from prior sessions plus the wiki UI tag-filter update that surfaces the AI-generated wiki paragraphs at /mira/wiki. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import { useEffect, useRef } from 'react';
|
||||
import Link from 'next/link';
|
||||
import SiteNav from '../components/SiteNav';
|
||||
|
||||
const API_BASE = process.env.NEXT_PUBLIC_API_BASE ?? 'https://cypher.arcrun.dev';
|
||||
|
||||
@@ -25,7 +26,7 @@ export default function ApiDocsPage() {
|
||||
const SwaggerUIBundle = (window as unknown as { SwaggerUIBundle: (opts: unknown) => void }).SwaggerUIBundle;
|
||||
if (!SwaggerUIBundle || !containerRef.current) return;
|
||||
SwaggerUIBundle({
|
||||
url: `${API_BASE}/docs`,
|
||||
url: `${API_BASE}/openapi.json`,
|
||||
dom_id: '#swagger-ui',
|
||||
presets: [(window as unknown as { SwaggerUIBundle: { presets: { apis: unknown } } }).SwaggerUIBundle.presets.apis],
|
||||
layout: 'BaseLayout',
|
||||
@@ -51,20 +52,7 @@ export default function ApiDocsPage() {
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-[#0a0a0a] text-[#ededed]">
|
||||
{/* Nav */}
|
||||
<nav className="flex items-center justify-between px-6 py-4 border-b border-[#1a1a1a]">
|
||||
<Link href="/" className="text-white font-bold text-lg tracking-tight hover:opacity-80 transition-opacity">
|
||||
arcrun
|
||||
</Link>
|
||||
<div className="flex items-center gap-4 text-sm">
|
||||
<Link href="/integrations" className="text-[#666] hover:text-white transition-colors">Integrations</Link>
|
||||
<Link href="/dashboard" className="text-[#666] hover:text-white transition-colors">Dashboard</Link>
|
||||
<Link href="/login"
|
||||
className="bg-indigo-600 hover:bg-indigo-500 text-white px-4 py-1.5 rounded-md text-sm font-medium transition-colors">
|
||||
Get API Key
|
||||
</Link>
|
||||
</div>
|
||||
</nav>
|
||||
<SiteNav currentPath="/api-docs" />
|
||||
|
||||
{/* Header */}
|
||||
<div className="max-w-5xl mx-auto px-6 py-8">
|
||||
|
||||
Reference in New Issue
Block a user