mirror of
https://github.com/TommyFang2077/dsh-desktop.git
synced 2026-08-17 09:06:36 +08:00
fix: ship a loadable AgentRQ bundle that stays idle without a workspace URL
The first integration copied sources without lib/, skipped packaging paths, and could fail the default web profile when url was unset. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -25,7 +25,8 @@ export interface Config {
|
||||
/**
|
||||
* The workspace's AgentRQ MCP endpoint. Copy it from Workspace Settings —
|
||||
* the URL there already carries `?token=…`, which is how AgentRQ
|
||||
* authenticates a headless client.
|
||||
* authenticates a headless client. Empty keeps the plugin loaded but idle
|
||||
* so a desktop profile can ship the bundle without an endpoint.
|
||||
*/
|
||||
url: string
|
||||
/**
|
||||
@@ -81,7 +82,7 @@ export interface Config {
|
||||
}
|
||||
|
||||
export const Config = Schema.object({
|
||||
url: Schema.string().required().description('AgentRQ workspace MCP endpoint, including its ?token= credential.'),
|
||||
url: Schema.string().default('').description('AgentRQ workspace MCP endpoint, including its ?token= credential. Empty keeps the plugin idle.'),
|
||||
token: Schema.string().default('').description('Optional bearer token, when the URL carries no ?token= credential.'),
|
||||
mountBridge: Schema.boolean().default(true).description('Mount the MCP bridge that gives the model AgentRQ\'s tools.'),
|
||||
serverName: Schema.string().default('agentrq').description('Namespace for the bridged tools: mcp__<serverName>__reply, and so on.'),
|
||||
|
||||
Reference in New Issue
Block a user