feat(neuron): rung-zero live - first conversation on pure-Neuron stack

- kernel/graph: nodes+edges append-only store
- conversation: chained turns, memory node, fold-based reads
- session/sessions: durable admission inbox, promotion, serialized runner,
  eager tool settlement, provider/dialect/transform injected at composition
- provider/dialects: raw-wire anthropic + openai-compatible, registry
- llm/stream, tools(bash/read/write), auth(local claims), boot composition
- providers resolve from ~/.config/neuron/providers.json - no baked vendors
This commit is contained in:
2026-08-22 21:20:42 -05:00
parent 4e75d3b33e
commit 04fb336eb3
749 changed files with 2030 additions and 8503 deletions
+5 -5
View File
@@ -50,7 +50,7 @@ else
fi
# ── 2. Verify the IME fix is present in source ────────────────────────
PROMPT_FILE="$OPENCODE_SRC/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx"
PROMPT_FILE="$OPENCODE_SRC/packages/neuron/src/cli/cmd/tui/component/prompt/index.tsx"
if [ ! -f "$PROMPT_FILE" ]; then
err "Prompt file not found: $PROMPT_FILE"
exit 1
@@ -77,7 +77,7 @@ bun install --frozen-lockfile 2>/dev/null || bun install
# ── 4. Build (current platform only) ──────────────────────────────────
info "Building opencode for current platform ..."
cd "$OPENCODE_SRC/packages/opencode"
cd "$OPENCODE_SRC/packages/neuron"
bun run build --single
# ── 5. Install binary ──────────────────────────────────────────────────
@@ -90,10 +90,10 @@ ARCH=$(uname -m)
[ "$PLATFORM" = "darwin" ] && true
[ "$PLATFORM" = "linux" ] && true
BUILT_BINARY="$OPENCODE_SRC/packages/opencode/dist/opencode-${PLATFORM}-${ARCH}/bin/opencode"
BUILT_BINARY="$OPENCODE_SRC/packages/neuron/dist/opencode-${PLATFORM}-${ARCH}/bin/opencode"
if [ ! -f "$BUILT_BINARY" ]; then
BUILT_BINARY=$(find "$OPENCODE_SRC/packages/opencode/dist" -name "opencode" -type f -executable 2>/dev/null | head -1)
BUILT_BINARY=$(find "$OPENCODE_SRC/packages/neuron/dist" -name "opencode" -type f -executable 2>/dev/null | head -1)
fi
if [ -f "$BUILT_BINARY" ]; then
@@ -106,7 +106,7 @@ if [ -f "$BUILT_BINARY" ]; then
else
err "Build failed - binary not found in dist/"
info "Try running manually:"
echo " cd $OPENCODE_SRC/packages/opencode && bun run build --single"
echo " cd $OPENCODE_SRC/packages/neuron && bun run build --single"
exit 1
fi