@unbound-app/debugger-protocol 0.11.1 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/registry.d.mts +5 -14
- package/package.json +1 -1
package/dist/registry.d.mts
CHANGED
|
@@ -14,24 +14,15 @@ export type CommandOutput = {
|
|
|
14
14
|
text: string;
|
|
15
15
|
data?: unknown;
|
|
16
16
|
};
|
|
17
|
-
/**
|
|
18
|
-
* Every command is on the CLI: at the root (`ubd eval`), or under `ubd mcp` (`ubd mcp open`) for
|
|
19
|
-
* agent-facing tools, which must then be MCP tools too.
|
|
20
|
-
*/
|
|
21
|
-
export type CommandSurfaces = {
|
|
22
|
-
cli: 'root';
|
|
23
|
-
mcp: boolean;
|
|
24
|
-
} | {
|
|
25
|
-
cli: 'mcp';
|
|
26
|
-
mcp: true;
|
|
27
|
-
};
|
|
28
17
|
/** A command usable from both the CLI and (when opted in) the MCP server. */
|
|
29
18
|
export type CommandDefinition<S extends TObject = TObject> = {
|
|
19
|
+
/** The word that runs it, under its group when it has one: `eval` in `ubd debug eval`. */
|
|
30
20
|
name: string;
|
|
31
21
|
description: string;
|
|
32
|
-
/**
|
|
33
|
-
summary
|
|
34
|
-
|
|
22
|
+
/** The one line the CLI's menus show for it. */
|
|
23
|
+
summary: string;
|
|
24
|
+
/** Whether `ubd mcp` serves it as a tool. */
|
|
25
|
+
mcp: boolean;
|
|
35
26
|
/** Used directly as the MCP tool's input schema; the CLI adapter derives flags from its properties. */
|
|
36
27
|
schema: S;
|
|
37
28
|
/** Which schema properties the CLI presents as positionals; the rest become flags. */
|
package/package.json
CHANGED