@boolesai/tspec-cli 1.2.0 → 1.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boolesai/tspec-cli",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "CLI for @boolesai/tspec testing framework",
5
5
  "type": "module",
6
6
  "bin": {
@@ -22,7 +22,7 @@
22
22
  "prepublishOnly": "npm run build"
23
23
  },
24
24
  "dependencies": {
25
- "@boolesai/tspec": "1.2.0",
25
+ "@boolesai/tspec": "1.3.0",
26
26
  "@modelcontextprotocol/sdk": "^1.0.0",
27
27
  "chalk": "^5.0.0",
28
28
  "commander": "^12.0.0",
@@ -0,0 +1,24 @@
1
+ import { Command } from 'commander';
2
+ import type { OutputFormat } from '../utils/formatter.js';
3
+ export interface PluginInstallParams {
4
+ pluginName: string;
5
+ output?: OutputFormat;
6
+ global?: boolean;
7
+ config?: string;
8
+ }
9
+ export interface PluginInstallResult {
10
+ success: boolean;
11
+ output: string;
12
+ data: {
13
+ plugin: string;
14
+ installed: boolean;
15
+ configUpdated: boolean;
16
+ configPath?: string;
17
+ error?: string;
18
+ };
19
+ }
20
+ /**
21
+ * Install plugin - core logic for CLI and MCP integration
22
+ */
23
+ export declare function executePluginInstall(params: PluginInstallParams): Promise<PluginInstallResult>;
24
+ export declare const pluginInstallCommand: Command;
@@ -0,0 +1,39 @@
1
+ import { Command } from 'commander';
2
+ import type { OutputFormat } from '../utils/formatter.js';
3
+ export interface PluginListParams {
4
+ output?: OutputFormat;
5
+ verbose?: boolean;
6
+ health?: boolean;
7
+ config?: string;
8
+ }
9
+ export interface PluginListResult {
10
+ success: boolean;
11
+ output: string;
12
+ data: {
13
+ plugins: Array<{
14
+ name: string;
15
+ version: string;
16
+ description?: string;
17
+ protocols: string[];
18
+ author?: string;
19
+ homepage?: string;
20
+ }>;
21
+ protocols: string[];
22
+ configPath?: string;
23
+ configSources?: {
24
+ local?: string;
25
+ global?: string;
26
+ };
27
+ pluginsDir: string;
28
+ health?: Array<{
29
+ plugin: string;
30
+ healthy: boolean;
31
+ message?: string;
32
+ }>;
33
+ };
34
+ }
35
+ /**
36
+ * List plugins - core logic for CLI and MCP integration
37
+ */
38
+ export declare function executePluginList(params: PluginListParams): Promise<PluginListResult>;
39
+ export declare const pluginListCommand: Command;
@@ -8,6 +8,8 @@ export interface RunParams {
8
8
  verbose?: boolean;
9
9
  quiet?: boolean;
10
10
  failFast?: boolean;
11
+ config?: string;
12
+ noAutoInstall?: boolean;
11
13
  env?: Record<string, string>;
12
14
  params?: Record<string, string>;
13
15
  }