Skip to content
Open
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
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
target/
node_modules/
.dist/
.env
logs/
models/
.DS_Store
.idea/
.vscode/
10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[workspace]
members = [
"apps/api",
"apps/auth",
"sandbox"
]
resolver = "2"

[workspace.package]
edition = "2021"
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# coder
# CyberDevStudio

CyberDevStudio is an ambitious, modular developer platform that combines a Rust backend, a TypeScript front-end, and an embedded node-llama-cpp inference service. This repository currently provides the project scaffold, documentation, and configuration needed to begin implementing the full system described in the high-level specification.

The workspace is organized to support multiple services (API, Auth, LLM server, Studio UI) as well as shared components such as sandboxed execution, metrics, schemas, and database migrations. Each module is intended to be developed independently while sharing a coherent deployment story through Docker Compose.

For architectural guidance, planned milestones, and module-specific expectations, see [`docs/Projektplan.md`](docs/Projektplan.md).
18 changes: 18 additions & 0 deletions apps/api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "cyberdev_api"
version = "0.0.1"
edition = "2021"

[dependencies]
axum = { version = "0.7", features = ["macros"] }
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
base64 = "0.21"
cyberdev_sandbox = { path = "../../sandbox" }

[dev-dependencies]
tower = { version = "0.4", features = ["util"] }
tempfile = "3"
16 changes: 16 additions & 0 deletions apps/api/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# API Gateway (Rust)

Dieses Verzeichnis beherbergt den JSON-RPC Gateway Service. Aktueller Stand:

- Axum-basierter HTTP Endpunkt `/rpc` für die Methoden `fs.write` und `run.exec`.
- Einfache Fehlerabbildung auf JSON-RPC Codes (`-3260x`, `-3201x`).
- Weiterleitung an das Sandbox-Crate für Dateisystem- und Prozessoperationen.
- Healthcheck unter `/health`.
- Umfangreiche Unit-/Integrationstests mit temporären Workspaces.

Geplante nächste Schritte:

- Verbindung zur PostgreSQL/PostgresML Datenbank.
- RPC Dispatch, Policy Checks, Token-Billing Hooks.
- Integration mit OpenTelemetry und Rate-Limiting.
- WebSocket Routen für Streaming-Ausgaben.
Loading