mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-24 00:51:19 +00:00
Move HTTP server (Axum routes, JWT auth, serve CLI command, server config) from arc-workflows into a dedicated arc-api crate. This improves separation — arc-workflows is a pipeline engine library, not a web server. - Create crates/arc-api with server.rs, jwt_auth.rs, serve.rs, server_config.rs and their integration tests - Remove server feature flag and optional deps from arc-workflows - Update arc-cli to depend on arc-api for ServeArgs and serve_command Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
28 lines
610 B
TOML
28 lines
610 B
TOML
[package]
|
|
name = "arc-cli"
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
license.workspace = true
|
|
description = "Unified CLI for the Arc AI framework"
|
|
|
|
[[bin]]
|
|
name = "arc"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
arc-llm = { path = "../arc-llm" }
|
|
arc-agent = { path = "../arc-agent" }
|
|
arc-workflows = { path = "../arc-workflows" }
|
|
arc-api = { path = "../arc-api" }
|
|
arc-util = { path = "../arc-util" }
|
|
clap.workspace = true
|
|
anyhow.workspace = true
|
|
dotenvy.workspace = true
|
|
tokio.workspace = true
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2"
|
|
predicates = "3"
|
|
tempfile = "3"
|
|
serde_json.workspace = true
|
|
httpmock = "0.8"
|