CI / fmt (rustfmt --check) (push) Waiting to run
CI / clippy (ubuntu-latest) (push) Waiting to run
CI / clippy (windows-latest) (push) Waiting to run
CI / test (ubuntu-latest) (push) Waiting to run
CI / test (windows-latest) (push) Waiting to run
CI / build release (ubuntu-latest) (push) Waiting to run
CI / build release (windows-latest) (push) Waiting to run
Guards / core 零 UI 守门 (push) Waiting to run
Guards / 文件行数 ≤400 守门 (push) Waiting to run
Guards / 依赖许可与来源(cargo-deny) (push) Waiting to run
单提交快照:main 只保留已发布版本的代码树,开发史在 dev。
36 lines
1.3 KiB
TOML
36 lines
1.3 KiB
TOML
[package]
|
||
name = "unlucky-cli"
|
||
description = "Unlucky-Launcher 命令行(bin `ull`):headless 消费者,零 UI 框架依赖(D18)"
|
||
version.workspace = true
|
||
edition.workspace = true
|
||
license.workspace = true
|
||
authors.workspace = true
|
||
repository.workspace = true
|
||
rust-version.workspace = true
|
||
publish.workspace = true
|
||
|
||
# 产物名钉死 `ull`(D18 定案):单文件 CLI,与 GUI 的 `unlucky-launcher` 并列。
|
||
[[bin]]
|
||
name = "ull"
|
||
path = "src/main.rs"
|
||
|
||
[lib]
|
||
name = "unlucky_cli"
|
||
path = "src/lib.rs"
|
||
|
||
# 依赖纪律(10-cli-design.md §2):core + agent,**不引 Slint**。
|
||
# 参数解析手写(不引 clap):子命令集小,没必要为它多引一棵依赖树(Win10+ 单基线,
|
||
# 但 CLI 是 headless/服务器场景的产物,体积与启动开销仍是关注项)。
|
||
[dependencies]
|
||
unlucky-core = { path = "../core", version = "0.1" }
|
||
# agent:`redact`(输出脱敏)+ `ull agent serve`(M39 的 MCP server:注册表 → rmcp 双投影,
|
||
# core 侧五个端口在 src/commands/agent/ports/ 装配)。
|
||
unlucky-agent = { path = "../agent", version = "0.1" }
|
||
# `ull agent serve` 要长驻跑 rmcp 的 stdio / Streamable HTTP 传输(tokio 运行时)。
|
||
tokio.workspace = true
|
||
serde.workspace = true
|
||
serde_json.workspace = true
|
||
|
||
[lints]
|
||
workspace = true
|