Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 5 additions & 14 deletions runtimes/basic/Makefile
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,16 +2,15 @@
# Targets for development, testing, and running all services
# Uses uCore (unified uServer + uConnect backend) in Python

.PHONY: help install test build run-cli run-gateway run-ucore run-snackbar run-gridui run-all clean
.PHONY: help install test build run-cli run-ucore run-snackbar run-gridui run-all clean

help:
@echo "uCode1 Core Runtime — Development Targets"
@echo ""
@echo " install Install Python dependencies (uCore + uCode2)"
@echo " install Install Python dependencies"
@echo " test Run all tests (uCore + uCode1)"
@echo " build Build uCore package (editable install)"
@echo " run-cli Start uCode1 REPL"
@echo " run-gateway Start uCode2 MCP Gateway"
@echo " run-ucore Start uCore daemon (snackbar + hivemind + API)"
@echo " run-snackbar Alias for run-ucore"
@echo " run-gridui Start gridui Vue dev server"
Expand All@@ -21,7 +20,6 @@ help:
install:
pip install -e ../..
cd ../../backend && pip install -e .
cd ../uCode2 && pip install -e .

test:
python -m pytest tests/ -v
Expand All@@ -33,9 +31,6 @@ build:
run-cli:
python -m ucode1.cli --repl

run-gateway:
cd ../uCode2 && python -m ucode2.mcp.gateway

run-ucore:
cd ../../backend && python -m app --port 8484

Expand All@@ -45,16 +40,13 @@ run-gridui:

run-all:
@echo "Starting all services..."
@echo " [1/4] uCode2 MCP Gateway..."
@cd ../uCode2 && python -m ucode2.mcp.gateway &
@sleep 2
@echo " [2/4] uCore daemon..."
@echo " [1/3] uCore daemon..."
@cd ../../backend && python -m app --port 8484 &
@sleep 2
@echo " [3/4] uCore daemon (snackbar mode)..."
@echo " [2/3] uCore daemon (snackbar mode)..."
@cd ../../backend && python -m app --port 8485 &
@sleep 2
@echo " [4/4] gridui Vue dev server..."
@echo " [3/3] gridui Vue dev server..."
@cd ../uConnect/gridui && npm run dev &
@echo "All services started!"

Expand All@@ -63,4 +55,3 @@ clean:
find . -type d -name .pytest_cache -exec rm -rf {} + 2>/dev/null || true
find . -type d -name *.egg-info -exec rm -rf {} + 2>/dev/null || true
cd ../../backend && find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true

27 changes: 0 additions & 27 deletions runtimes/basic/core_py/__init__.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,7 +13,6 @@
cell, # Cell System with UDX addressing (NEW)
feed, # Feed event archiving to Cells (NEW)
grid, # Python grid-core (NEW)
mcp_client, # MCP client for uCode2 communication (NEW)
mdx, # MDX Runtime with Snack shortcode support (NEW)
nugget, # Nugget module — binary executable units (renamed from relic)
plugin, # Plugin system (NEW)
Expand DownExpand Up@@ -41,20 +40,6 @@
GridSize,
)

# MCP Client
from .mcp_client import (
McpClient,
McpClientError,
McpConnectionError,
McpRequest,
McpRequestType,
McpResponse,
McpTimeoutError,
get_default_socket_path,
socket_exists,
test_connection,
)

# Nugget System
from .nugget.models import (
Nugget,
Expand DownExpand Up@@ -220,7 +205,6 @@
"Coordinate",
"CoordSystem",
"text",
"mcp_client",
# Text System
"TextInjector",
"TemplateEngine",
Expand All@@ -233,17 +217,6 @@
"InjectionError",
"MarkdownError",
"FormattingError",
# MCP Client
"McpClient",
"McpClientError",
"McpConnectionError",
"McpTimeoutError",
"McpRequest",
"McpRequestType",
"McpResponse",
"get_default_socket_path",
"socket_exists",
"test_connection",
# Plugin System
"PluginDiscovery",
"PluginRegistry",
Expand Down
Loading
Loading