From 98d0c15e1c7d1f62aacaff041dbd19f2aa09ec0c Mon Sep 17 00:00:00 2001 From: Kayshen-X Date: Sun, 9 Aug 2026 12:52:07 +0800 Subject: [PATCH] chore(web): forward the dev op-auth ticket feature to the serve-web daemon --- crates/op-host-services/Cargo.toml | 7 +++++++ crates/op-host-web-server/Cargo.toml | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/crates/op-host-services/Cargo.toml b/crates/op-host-services/Cargo.toml index 83bdf3304..eefe44eb2 100644 --- a/crates/op-host-services/Cargo.toml +++ b/crates/op-host-services/Cargo.toml @@ -14,6 +14,13 @@ path = "src/lib.rs" default = [] # Mirrors op-host-desktop's debug-tools toggle for the MCP server. mcp-debug-tools = ["op-mcp/debug-tools"] +# Dev-only collaboration tickets for the serve-web daemon, mirroring +# op-host-desktop's flag of the same name: links the locally built ABI-v2 +# op-auth archive (debug profile only; see op-auth-bridge/README). +dev-op-auth-abi-v2 = [ + "op-auth-bridge/dev-abi-v2", + "op-collab-host/dev-op-auth-abi-v2", +] [dependencies] # --- workspace path deps (the headless daemon's closure; modules land in diff --git a/crates/op-host-web-server/Cargo.toml b/crates/op-host-web-server/Cargo.toml index cb20b7dc5..bef0bc79e 100644 --- a/crates/op-host-web-server/Cargo.toml +++ b/crates/op-host-web-server/Cargo.toml @@ -10,6 +10,11 @@ description = "OpenPencil headless web/MCP server binary — links op-host-servi name = "op-host-web-server" path = "src/main.rs" +[features] +# Forwarded to op-host-services so a dev daemon can mint collaboration +# tickets from the locally built ABI-v2 op-auth archive (debug only). +dev-op-auth-abi-v2 = ["op-host-services/dev-op-auth-abi-v2"] + [dependencies] op-host-services = { path = "../op-host-services" }