Skip to content

Commit 340e7eb

Browse files
committed
feat: Release v0.3.0 - Identity System, Datasets, and Mesh Topology
1 parent 69fdc58 commit 340e7eb

37 files changed

+4029
-1069
lines changed

.github/workflows/publish_wiki.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish Wiki
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'docs/wiki/**'
9+
workflow_dispatch:
10+
11+
jobs:
12+
sync-wiki:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
steps:
17+
- name: Checkout Repo
18+
uses: actions/checkout@v4
19+
20+
- name: Sync Wiki
21+
uses: Andrew-Chen-Wang/github-wiki-action@v4
22+
with:
23+
wiki-folder: docs/wiki

App.tsx

Lines changed: 462 additions & 609 deletions
Large diffs are not rendered by default.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ Violations should be reported to the project maintainer. All complaints will be
293293

294294
New to the project? Start here:
295295
1. [Architecture Paper](docs/blueprints/sce_initial_concept.pdf) - Theoretical foundation
296-
2. [Open Questions](docs/notes/sasus_notes_01.md) - Research opportunities
296+
2. [Open Questions](docs/notes/architecture_notes.md) - Research opportunities
297297
3. [Latest Updates](docs/updates/) - Recent changes
298298
4. [Code Structure](docs/architecture/code-structure.md) - Codebase overview
299299

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The Native App relies on **Tauri v2**, which compiles a high-performance binary
8383
| [🔧 API Reference](docs/guides/API-Reference.md) | Integration guide & function docs |
8484
| [🚀 Quick Start Tutorial](docs/guides/Quick-Start-Tutorial.md) | 10-minute hands-on guide |
8585
| [📋 Detailed Updates](docs/updates/) | Update logs |
86-
| [📝 Architecture Notes](docs/notes/sasus_notes_01.md) | Research directions & considerations |
86+
| [📝 Architecture Notes](docs/notes/architecture_notes.md) | Research directions & considerations |
8787
| [🤝 Contributing Guide](CONTRIBUTING.md) | How to contribute |
8888
| [🛡️ Security Policy](SECURITY.md) | Responsible disclosure |
8989

@@ -93,7 +93,7 @@ The Native App relies on **Tauri v2**, which compiles a high-performance binary
9393

9494
**Status:** Active Research & Development
9595
**API Stability:** Expect breaking changes
96-
**Development Philosophy:** Deliberately kept minimal to encourage experimentation and exploration. See [architecture notes](docs/notes/sasus_notes_01.md) for research directions and considerations.
96+
**Development Philosophy:** Deliberately kept minimal to encourage experimentation and exploration. See [architecture notes](docs/notes/architecture_notes.md) for research directions and considerations.
9797

9898
### ✅ Implemented
9999
- Hypergraph Engine & Spreading Activation
@@ -180,7 +180,7 @@ These questions can only be answered by the community testing, probing, and push
180180

181181
**Author's Note:** This architecture was developed by a single developer, not a team, nor a research lab. Because of this, I welcome every researcher and developer to explore the depths of this architecture. The potential is there, but it needs more minds to experiment with it.
182182

183-
**Important:** I'm intentionally keeping the core implementation minimal to avoid constraining exploration. The goal is to provide a working foundation that others can build upon, modify, and take in new directions. See [my architecture notes](docs/notes/sasus_notes_01.md) for specific areas needing investigation.
183+
**Important:** I'm intentionally keeping the core implementation minimal to avoid constraining exploration. The goal is to provide a working foundation that others can build upon, modify, and take in new directions. See [my architecture notes](docs/notes/architecture_notes.md) for specific areas needing investigation.
184184

185185
### 🛡️ For AI Safety Practitioners
186186
- Adversarial testing and red-teaming
@@ -196,7 +196,7 @@ These questions can only be answered by the community testing, probing, and push
196196
- Integration examples and tutorials
197197
- Custom node type implementations
198198

199-
**See [my architecture notes](docs/notes/sasus_notes_01.md) for specific research directions**
199+
**See [my architecture notes](docs/notes/architecture_notes.md) for specific research directions**
200200

201201
---
202202

components/AppHeader.tsx

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,37 @@
11
import React from 'react';
22
import { Command, Menu, Github, PanelRight, PanelRightClose } from 'lucide-react'; // ChevronDown removed as used in Dropdown
3-
import { AppView, Session } from '../types';
4-
import SessionDropdown from './SessionDropdown';
3+
import { AppView, Dataset } from '../types';
4+
import DatasetDropdown from './DatasetDropdown';
55

66
interface TopBar1Props {
77
view: AppView;
88
onMenuToggle: () => void;
99
isRightCollapsed?: boolean;
1010
setIsRightCollapsed?: (v: boolean) => void;
11-
sessions: Session[];
12-
activeSessionId: string;
13-
setActiveSessionId: (id: string) => void;
11+
isLeftCollapsed?: boolean;
12+
setIsLeftCollapsed?: (v: boolean) => void;
13+
setView: (view: AppView) => void;
14+
15+
// Dataset Management
16+
datasets: Dataset[];
17+
activeDatasetId: string;
18+
setActiveDatasetId: (id: string) => void;
19+
20+
// Handlers (Renamed for clarity but kept compatible where possible)
21+
onImportSession?: () => void;
22+
onExportSession?: () => void;
23+
onRenameSession?: (id: string, name: string) => void;
24+
onDeleteSession?: (id: string) => Promise<void>;
25+
26+
// Legacy / Transitional Props
27+
sessions?: any;
28+
activeSessionId?: any;
29+
setActiveSessionId?: any;
1430
}
1531

1632
const AppHeader: React.FC<TopBar1Props> = ({
1733
view, onMenuToggle, isRightCollapsed, setIsRightCollapsed,
18-
sessions, activeSessionId, setActiveSessionId
34+
datasets, activeDatasetId, setActiveDatasetId
1935
}) => {
2036
return (
2137
<header className="h-[72px] border-b border-white/5 bg-black/20 backdrop-blur-md flex items-center justify-between px-6 shrink-0 z-[50] transition-all duration-300 pr-6">
@@ -32,15 +48,15 @@ const AppHeader: React.FC<TopBar1Props> = ({
3248
<Command className="w-4 h-4 text-indigo-400" />
3349
</div>
3450
<h2 className="text-[12px] font-black uppercase tracking-[0.2em] text-white flex items-center">
35-
<span className="opacity-30">{view.toUpperCase()}</span>
51+
<span className="opacity-30">{view === 'sessions' ? `DATASETS (${datasets.length})` : view.toUpperCase()}</span>
3652
<span className="text-slate-800 mx-3 font-normal">/</span>
37-
38-
<SessionDropdown
39-
sessions={sessions}
40-
activeSessionId={activeSessionId}
41-
setActiveSessionId={setActiveSessionId}
53+
{/* DATASET DROPDOWN */}
54+
<DatasetDropdown
55+
datasets={datasets}
56+
activeDatasetId={activeDatasetId}
57+
setActiveDatasetId={setActiveDatasetId}
58+
className="hidden md:block transition-opacity opacity-100 hover:opacity-100"
4259
/>
43-
4460
</h2>
4561
</div>
4662
</div>
@@ -57,11 +73,6 @@ const AppHeader: React.FC<TopBar1Props> = ({
5773
<span className="text-[11px] font-black uppercase text-black tracking-wider">GitHub</span>
5874
</a>
5975

60-
{/* System Status - Mobile/Desktop */}
61-
{/* System Status - Mobile/Desktop */}
62-
{/* System Status - Mobile/Desktop */}
63-
{/* Badge Removed */}
64-
6576
{/* Right Panel Toggle */}
6677
{setIsRightCollapsed && (
6778
<button

components/CalculusTuning.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React, { useState } from 'react';
22
import { EngineConfig } from '../types';
33
import { Sliders, Activity, Zap, Flame, GitBranch, Settings2, AlertTriangle, Lock, Unlock, RotateCcw } from 'lucide-react';
4+
import ChatHistory from './ChatHistory';
45

56
interface CalculusTuningProps {
67
config: EngineConfig;
@@ -17,7 +18,7 @@ const CalculusTuning: React.FC<CalculusTuningProps> = ({ config, setConfig }) =>
1718
<h3 className="text-[10px] font-black uppercase text-slate-500 tracking-widest">Engine Calculus</h3>
1819
<div className="flex items-center gap-2">
1920
<button
20-
onClick={() => setConfig({ theta: 0.25, gamma: 0.85, maxActivationDepth: 3, heatBias: 0.4 })}
21+
onClick={() => updateConfig({ theta: 0.25, gamma: 0.85, maxActivationDepth: 3, heatBias: 0.4 })}
2122
title="Restore Defaults"
2223
className="text-slate-600 hover:text-indigo-400 transition-colors"
2324
>
@@ -122,6 +123,13 @@ const CalculusTuning: React.FC<CalculusTuningProps> = ({ config, setConfig }) =>
122123
Influence of node historical heat on current activation pathing.
123124
</p>
124125
</div>
126+
127+
<div className="space-y-3 pt-4 border-t border-white/5">
128+
<ChatHistory
129+
memoryWindow={config.memoryWindow || 0}
130+
setMemoryWindow={(v) => updateConfig({ memoryWindow: v })}
131+
/>
132+
</div>
125133
</div>
126134
</div>
127135
);

components/ChatHistory.tsx

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
import React from 'react';
2+
import { History } from 'lucide-react';
3+
4+
interface ChatHistoryProps {
5+
memoryWindow: number;
6+
setMemoryWindow: (val: number) => void;
7+
}
8+
9+
const ChatHistory: React.FC<ChatHistoryProps> = ({ memoryWindow, setMemoryWindow }) => {
10+
return (
11+
<div className="space-y-4 p-4 bg-black/20 rounded-2xl border border-white/5">
12+
<div className="flex items-center justify-between">
13+
<div className="flex items-center gap-2">
14+
<History className="w-4 h-4 text-orange-400" />
15+
<span className="text-[10px] font-black uppercase tracking-widest text-slate-400">Chat History</span>
16+
</div>
17+
<span className="text-xs font-mono text-orange-400">{memoryWindow} msgs</span>
18+
</div>
19+
20+
<input
21+
type="range"
22+
min="0"
23+
max="10"
24+
step="1"
25+
value={memoryWindow}
26+
onChange={(e) => setMemoryWindow(parseInt(e.target.value))}
27+
className="w-full h-1 bg-slate-800 rounded-lg appearance-none cursor-pointer [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-3 [&::-webkit-slider-thumb]:h-3 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-orange-500"
28+
/>
29+
30+
<p className="text-[9px] text-slate-500 leading-relaxed">
31+
Controls how many recent chat messages are injected into the context window (0-10).
32+
</p>
33+
</div>
34+
);
35+
};
36+
37+
export default ChatHistory;

0 commit comments

Comments
 (0)