@h-rig/standard-plugin 0.0.6-alpha.144 → 0.0.6-alpha.146

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.
@@ -595,6 +595,13 @@ var RUN_WORKER_PANEL_PLUGIN = {
595
595
  }
596
596
  };
597
597
 
598
+ // packages/standard-plugin/src/cli-surface.ts
599
+ import {
600
+ STANDARD_CLI_SURFACE_PLUGIN_NAME,
601
+ createStandardCliSurfacePlugin,
602
+ standardCliSurfacePlugin
603
+ } from "@rig/cli-surface-plugin/plugin";
604
+
598
605
  // packages/standard-plugin/src/plugin.ts
599
606
  import { resolve as resolve4 } from "path";
600
607
  import { definePlugin } from "@rig/core/config";
@@ -1839,6 +1846,7 @@ function standardPlugins(options = {}) {
1839
1846
  createBlockerClassifierPlugin(),
1840
1847
  createPlanningPlugin(),
1841
1848
  createSupervisorPlugin(),
1849
+ standardCliSurfacePlugin,
1842
1850
  RUN_WORKER_PANEL_PLUGIN,
1843
1851
  createStandardTaskSourcesPlugin(options.taskSources),
1844
1852
  createStandardTaskCliPlugin(),
@@ -1,5 +1 @@
1
- import type { RigPluginWithRuntime } from "@rig/core/config";
2
- import type { CliCommandRegistration } from "@rig/contracts";
3
- export declare const STANDARD_CLI_SURFACE_PLUGIN_NAME = "@rig/standard-plugin:cli-surface";
4
- export declare const STANDARD_CLI_SURFACE_COMMAND_METADATA: readonly CliCommandRegistration[];
5
- export declare const standardCliSurfacePlugin: RigPluginWithRuntime;
1
+ export { STANDARD_CLI_SURFACE_PLUGIN_NAME, createStandardCliSurfacePlugin, standardCliSurfacePlugin, } from "@rig/cli-surface-plugin/plugin";
@@ -1,55 +1,12 @@
1
1
  // @bun
2
2
  // packages/standard-plugin/src/cli-surface.ts
3
- var STANDARD_CLI_SURFACE_PLUGIN_NAME = "@rig/standard-plugin:cli-surface";
4
- function standardCliCommand(family, options) {
5
- return {
6
- id: `${STANDARD_CLI_SURFACE_PLUGIN_NAME}:${family}`,
7
- family,
8
- description: options.description,
9
- ...options.usage ? { usage: options.usage } : {},
10
- ...options.aliases ? { aliases: [...options.aliases] } : {},
11
- projectRequired: options.projectRequired ?? false
12
- };
13
- }
14
- var STANDARD_CLI_SURFACE_COMMAND_METADATA = [
15
- standardCliCommand("init", { description: "Initialize Rig project configuration." }),
16
- standardCliCommand("setup", { description: "Install and inspect local Rig setup." }),
17
- standardCliCommand("check", { description: "Run Rig setup checks.", usage: "rig check" }),
18
- standardCliCommand("install", { description: "Install Rig distribution artifacts.", usage: "rig install [options]" }),
19
- standardCliCommand("github", { description: "Manage GitHub auth and integration state." }),
20
- standardCliCommand("doctor", { description: "Inspect Rig environment health." }),
21
- standardCliCommand("repo", { description: "Manage repository state.", projectRequired: true }),
22
- standardCliCommand("profile", { description: "Manage runtime profile settings." }),
23
- standardCliCommand("review", { description: "Run review helpers.", projectRequired: true }),
24
- standardCliCommand("git", { description: "Run Rig git automation.", projectRequired: true }),
25
- standardCliCommand("harness", { description: "Inspect native harness integration." }),
26
- standardCliCommand("pi", { description: "Inspect Pi/OMP runtime integration." }),
27
- standardCliCommand("plugin", { description: "Inspect and run plugin compatibility commands." }),
28
- standardCliCommand("queue", { description: "Inspect dispatch queue state.", projectRequired: true }),
29
- standardCliCommand("agent", { description: "Run agent lifecycle helpers.", projectRequired: true }),
30
- standardCliCommand("dist", { description: "Build and inspect Rig distributions." }),
31
- standardCliCommand("workspace", { description: "Inspect workspace topology." }),
32
- standardCliCommand("remote", { description: "Manage remote endpoints." }),
33
- standardCliCommand("test", { description: "Run Rig test helpers." }),
34
- standardCliCommand("inspect", { description: "Inspect live/project Rig state." }),
35
- standardCliCommand("run", { description: "Dispatch and inspect runs.", projectRequired: true }),
36
- standardCliCommand("task", { description: "List and inspect task-source tasks.", projectRequired: true }),
37
- standardCliCommand("inbox", { description: "Inspect and resolve run inbox items.", projectRequired: true }),
38
- standardCliCommand("stats", { description: "Inspect run statistics.", projectRequired: true }),
39
- standardCliCommand("server", { description: "Manage selected local/remote execution server.", projectRequired: true }),
40
- standardCliCommand("config", { description: "Inspect Rig configuration." }),
41
- standardCliCommand("triage", { description: "Run issue triage helpers.", projectRequired: true })
42
- ];
43
- var standardCliSurfacePlugin = {
44
- name: STANDARD_CLI_SURFACE_PLUGIN_NAME,
45
- version: "0.0.0-alpha.1",
46
- contributes: {
47
- capabilities: [{ id: "surface.cli", title: "Rig CLI surface", description: "Registry-dispatched command-line surface." }],
48
- cliCommands: STANDARD_CLI_SURFACE_COMMAND_METADATA
49
- }
50
- };
3
+ import {
4
+ STANDARD_CLI_SURFACE_PLUGIN_NAME,
5
+ createStandardCliSurfacePlugin,
6
+ standardCliSurfacePlugin
7
+ } from "@rig/cli-surface-plugin/plugin";
51
8
  export {
52
9
  standardCliSurfacePlugin,
53
- STANDARD_CLI_SURFACE_PLUGIN_NAME,
54
- STANDARD_CLI_SURFACE_COMMAND_METADATA
10
+ createStandardCliSurfacePlugin,
11
+ STANDARD_CLI_SURFACE_PLUGIN_NAME
55
12
  };
@@ -4,4 +4,4 @@ export { DOCS_DRIFT_CAPABILITY_ID, DOCS_DRIFT_CLI_COMMAND, DOCS_DRIFT_CLI_ID, DO
4
4
  export type { DocsDriftPluginOptions, DriftGit, DriftJudgeInput, DriftJudgeMismatch, DriftJudgeProvider, DriftReference, DriftReferenceKind, FilesTaskSourceOptions, GitHubIssuesOptions, StandardTaskSourcesPluginOptions, } from "./plugin";
5
5
  export { RIG_CAPABILITY_PANEL_SLOT, RIG_RUN_STOP_PANEL_ACTION, RIG_SUPERVISOR_PANEL_ID, RUN_SUPERVISOR_PANEL_PRODUCER, RUN_SUPERVISOR_PANEL_REGISTRATION, RUN_WORKER_PANEL_PLUGIN, } from "./run-worker-panels";
6
6
  export type { WorkerPanelProducerContext } from "./run-worker-panels";
7
- export { STANDARD_CLI_SURFACE_COMMAND_METADATA, STANDARD_CLI_SURFACE_PLUGIN_NAME, standardCliSurfacePlugin, } from "./cli-surface";
7
+ export { STANDARD_CLI_SURFACE_PLUGIN_NAME, createStandardCliSurfacePlugin, standardCliSurfacePlugin, } from "./cli-surface";
package/dist/src/index.js CHANGED
@@ -595,6 +595,13 @@ var RUN_WORKER_PANEL_PLUGIN = {
595
595
  }
596
596
  };
597
597
 
598
+ // packages/standard-plugin/src/cli-surface.ts
599
+ import {
600
+ STANDARD_CLI_SURFACE_PLUGIN_NAME,
601
+ createStandardCliSurfacePlugin,
602
+ standardCliSurfacePlugin
603
+ } from "@rig/cli-surface-plugin/plugin";
604
+
598
605
  // packages/standard-plugin/src/plugin.ts
599
606
  import { resolve as resolve4 } from "path";
600
607
  import { definePlugin } from "@rig/core/config";
@@ -1853,6 +1860,7 @@ function standardPlugins(options = {}) {
1853
1860
  createBlockerClassifierPlugin(),
1854
1861
  createPlanningPlugin(),
1855
1862
  createSupervisorPlugin(),
1863
+ standardCliSurfacePlugin,
1856
1864
  RUN_WORKER_PANEL_PLUGIN,
1857
1865
  createStandardTaskSourcesPlugin(options.taskSources),
1858
1866
  createStandardTaskCliPlugin(),
@@ -1860,55 +1868,6 @@ function standardPlugins(options = {}) {
1860
1868
  createStandardProductEntrypointPlugin()
1861
1869
  ];
1862
1870
  }
1863
- // packages/standard-plugin/src/cli-surface.ts
1864
- var STANDARD_CLI_SURFACE_PLUGIN_NAME = "@rig/standard-plugin:cli-surface";
1865
- function standardCliCommand(family, options) {
1866
- return {
1867
- id: `${STANDARD_CLI_SURFACE_PLUGIN_NAME}:${family}`,
1868
- family,
1869
- description: options.description,
1870
- ...options.usage ? { usage: options.usage } : {},
1871
- ...options.aliases ? { aliases: [...options.aliases] } : {},
1872
- projectRequired: options.projectRequired ?? false
1873
- };
1874
- }
1875
- var STANDARD_CLI_SURFACE_COMMAND_METADATA = [
1876
- standardCliCommand("init", { description: "Initialize Rig project configuration." }),
1877
- standardCliCommand("setup", { description: "Install and inspect local Rig setup." }),
1878
- standardCliCommand("check", { description: "Run Rig setup checks.", usage: "rig check" }),
1879
- standardCliCommand("install", { description: "Install Rig distribution artifacts.", usage: "rig install [options]" }),
1880
- standardCliCommand("github", { description: "Manage GitHub auth and integration state." }),
1881
- standardCliCommand("doctor", { description: "Inspect Rig environment health." }),
1882
- standardCliCommand("repo", { description: "Manage repository state.", projectRequired: true }),
1883
- standardCliCommand("profile", { description: "Manage runtime profile settings." }),
1884
- standardCliCommand("review", { description: "Run review helpers.", projectRequired: true }),
1885
- standardCliCommand("git", { description: "Run Rig git automation.", projectRequired: true }),
1886
- standardCliCommand("harness", { description: "Inspect native harness integration." }),
1887
- standardCliCommand("pi", { description: "Inspect Pi/OMP runtime integration." }),
1888
- standardCliCommand("plugin", { description: "Inspect and run plugin compatibility commands." }),
1889
- standardCliCommand("queue", { description: "Inspect dispatch queue state.", projectRequired: true }),
1890
- standardCliCommand("agent", { description: "Run agent lifecycle helpers.", projectRequired: true }),
1891
- standardCliCommand("dist", { description: "Build and inspect Rig distributions." }),
1892
- standardCliCommand("workspace", { description: "Inspect workspace topology." }),
1893
- standardCliCommand("remote", { description: "Manage remote endpoints." }),
1894
- standardCliCommand("test", { description: "Run Rig test helpers." }),
1895
- standardCliCommand("inspect", { description: "Inspect live/project Rig state." }),
1896
- standardCliCommand("run", { description: "Dispatch and inspect runs.", projectRequired: true }),
1897
- standardCliCommand("task", { description: "List and inspect task-source tasks.", projectRequired: true }),
1898
- standardCliCommand("inbox", { description: "Inspect and resolve run inbox items.", projectRequired: true }),
1899
- standardCliCommand("stats", { description: "Inspect run statistics.", projectRequired: true }),
1900
- standardCliCommand("server", { description: "Manage selected local/remote execution server.", projectRequired: true }),
1901
- standardCliCommand("config", { description: "Inspect Rig configuration." }),
1902
- standardCliCommand("triage", { description: "Run issue triage helpers.", projectRequired: true })
1903
- ];
1904
- var standardCliSurfacePlugin = {
1905
- name: STANDARD_CLI_SURFACE_PLUGIN_NAME,
1906
- version: "0.0.0-alpha.1",
1907
- contributes: {
1908
- capabilities: [{ id: "surface.cli", title: "Rig CLI surface", description: "Registry-dispatched command-line surface." }],
1909
- cliCommands: STANDARD_CLI_SURFACE_COMMAND_METADATA
1910
- }
1911
- };
1912
1871
  export {
1913
1872
  standardTaskCliPlugin,
1914
1873
  standardProductEntrypointPlugin,
@@ -1919,11 +1878,11 @@ export {
1919
1878
  createStandardTaskCliPlugin,
1920
1879
  createStandardProductEntrypointPlugin,
1921
1880
  createStandardDocsDriftPlugin,
1881
+ createStandardCliSurfacePlugin,
1922
1882
  createGitHubIssuesTaskSource,
1923
1883
  createFilesTaskSource,
1924
1884
  createEnvGitHubCredentialProvider,
1925
1885
  STANDARD_CLI_SURFACE_PLUGIN_NAME,
1926
- STANDARD_CLI_SURFACE_COMMAND_METADATA,
1927
1886
  RUN_WORKER_PANEL_PLUGIN,
1928
1887
  RUN_SUPERVISOR_PANEL_REGISTRATION,
1929
1888
  RUN_SUPERVISOR_PANEL_PRODUCER,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h-rig/standard-plugin",
3
- "version": "0.0.6-alpha.144",
3
+ "version": "0.0.6-alpha.146",
4
4
  "type": "module",
5
5
  "description": "First-party contribution bundle for Rig's OMP extension plugin graph; not a standalone plugin runtime.",
6
6
  "license": "UNLICENSED",
@@ -49,10 +49,6 @@
49
49
  "types": "./dist/src/product-plugin.d.ts",
50
50
  "import": "./dist/src/product-plugin.js"
51
51
  },
52
- "./product-entrypoint": {
53
- "types": "./dist/src/product-entrypoint.d.ts",
54
- "import": "./dist/src/product-entrypoint.js"
55
- },
56
52
  "./lifecycle-closeout": {
57
53
  "types": "./dist/src/lifecycle-closeout.d.ts",
58
54
  "import": "./dist/src/lifecycle-closeout.js"
@@ -61,10 +57,6 @@
61
57
  "types": "./dist/src/run-worker-panels.d.ts",
62
58
  "import": "./dist/src/run-worker-panels.js"
63
59
  },
64
- "./cli-surface": {
65
- "types": "./dist/src/cli-surface.d.ts",
66
- "import": "./dist/src/cli-surface.js"
67
- },
68
60
  "./drift": {
69
61
  "types": "./dist/src/drift/plugin.d.ts",
70
62
  "import": "./dist/src/drift/plugin.js"
@@ -81,15 +73,16 @@
81
73
  "module": "./dist/src/index.js",
82
74
  "types": "./dist/src/index.d.ts",
83
75
  "dependencies": {
84
- "@rig/blocker-classifier-plugin": "npm:@h-rig/blocker-classifier-plugin@0.0.6-alpha.144",
85
- "@rig/bundle-default-lifecycle": "npm:@h-rig/bundle-default-lifecycle@0.0.6-alpha.144",
86
- "@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.144",
87
- "@rig/core": "npm:@h-rig/core@0.0.6-alpha.144",
88
- "@rig/dependency-graph-plugin": "npm:@h-rig/dependency-graph-plugin@0.0.6-alpha.144",
89
- "@rig/planning-plugin": "npm:@h-rig/planning-plugin@0.0.6-alpha.144",
90
- "@rig/product-entrypoint-plugin": "0.0.6-alpha.144",
91
- "@rig/task-cli-plugin": "0.0.6-alpha.144",
92
- "@rig/supervisor-plugin": "npm:@h-rig/supervisor-plugin@0.0.6-alpha.144",
76
+ "@rig/blocker-classifier-plugin": "npm:@h-rig/blocker-classifier-plugin@0.0.6-alpha.146",
77
+ "@rig/bundle-default-lifecycle": "npm:@h-rig/bundle-default-lifecycle@0.0.6-alpha.146",
78
+ "@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.146",
79
+ "@rig/cli-surface-plugin": "npm:@h-rig/cli-surface-plugin@0.0.6-alpha.146",
80
+ "@rig/core": "npm:@h-rig/core@0.0.6-alpha.146",
81
+ "@rig/dependency-graph-plugin": "npm:@h-rig/dependency-graph-plugin@0.0.6-alpha.146",
82
+ "@rig/planning-plugin": "npm:@h-rig/planning-plugin@0.0.6-alpha.146",
83
+ "@rig/product-entrypoint-plugin": "npm:@h-rig/product-entrypoint-plugin@0.0.6-alpha.146",
84
+ "@rig/task-cli-plugin": "npm:@h-rig/task-cli-plugin@0.0.6-alpha.146",
85
+ "@rig/supervisor-plugin": "npm:@h-rig/supervisor-plugin@0.0.6-alpha.146",
93
86
  "effect": "4.0.0-beta.90"
94
87
  }
95
88
  }
@@ -1,3 +0,0 @@
1
- export { runRigOmpProductCommand } from "@rig/product-entrypoint-plugin/product-entrypoint";
2
- export type { RigProductCommandName } from "@rig/product-entrypoint-plugin/metadata";
3
- export type { RunRigOmpProductCommandInput } from "@rig/product-entrypoint-plugin/product-entrypoint";
@@ -1,6 +0,0 @@
1
- // @bun
2
- // packages/standard-plugin/src/product-entrypoint.ts
3
- import { runRigOmpProductCommand } from "@rig/product-entrypoint-plugin/product-entrypoint";
4
- export {
5
- runRigOmpProductCommand
6
- };