@h-rig/standard-plugin 0.0.6-alpha.144 → 0.0.6-alpha.145
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/src/bundle.js +13 -3
- package/dist/src/cli-surface.d.ts +3 -4
- package/dist/src/cli-surface.js +11 -47
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.js +13 -55
- package/package.json +10 -18
- package/dist/src/product-entrypoint.d.ts +0 -3
- package/dist/src/product-entrypoint.js +0 -6
package/dist/src/bundle.js
CHANGED
|
@@ -595,9 +595,18 @@ var RUN_WORKER_PANEL_PLUGIN = {
|
|
|
595
595
|
}
|
|
596
596
|
};
|
|
597
597
|
|
|
598
|
+
// packages/standard-plugin/src/cli-surface.ts
|
|
599
|
+
import { definePlugin } from "@rig/core/config";
|
|
600
|
+
var STANDARD_CLI_SURFACE_PLUGIN_NAME = "@rig/standard-plugin:cli-surface";
|
|
601
|
+
var standardCliSurfacePlugin = definePlugin({
|
|
602
|
+
name: STANDARD_CLI_SURFACE_PLUGIN_NAME,
|
|
603
|
+
version: "0.0.0-alpha.1",
|
|
604
|
+
contributes: {}
|
|
605
|
+
});
|
|
606
|
+
|
|
598
607
|
// packages/standard-plugin/src/plugin.ts
|
|
599
608
|
import { resolve as resolve4 } from "path";
|
|
600
|
-
import { definePlugin } from "@rig/core/config";
|
|
609
|
+
import { definePlugin as definePlugin2 } from "@rig/core/config";
|
|
601
610
|
|
|
602
611
|
// packages/standard-plugin/src/github-issues-source.ts
|
|
603
612
|
import { spawnSync } from "child_process";
|
|
@@ -1721,7 +1730,7 @@ function createLazyDocsDriftRuntimeCliCommand(options = {}) {
|
|
|
1721
1730
|
};
|
|
1722
1731
|
}
|
|
1723
1732
|
function createStandardDocsDriftPlugin(opts = {}) {
|
|
1724
|
-
return
|
|
1733
|
+
return definePlugin2({
|
|
1725
1734
|
name: "@rig/standard-plugin:docs-drift",
|
|
1726
1735
|
version: "0.1.0",
|
|
1727
1736
|
contributes: {
|
|
@@ -1756,7 +1765,7 @@ function createStandardDocsDriftPlugin(opts = {}) {
|
|
|
1756
1765
|
});
|
|
1757
1766
|
}
|
|
1758
1767
|
function createStandardTaskSourcesPlugin(opts = {}) {
|
|
1759
|
-
return
|
|
1768
|
+
return definePlugin2({
|
|
1760
1769
|
name: "@rig/standard-plugin:task-sources",
|
|
1761
1770
|
version: "0.1.0",
|
|
1762
1771
|
contributes: {
|
|
@@ -1839,6 +1848,7 @@ function standardPlugins(options = {}) {
|
|
|
1839
1848
|
createBlockerClassifierPlugin(),
|
|
1840
1849
|
createPlanningPlugin(),
|
|
1841
1850
|
createSupervisorPlugin(),
|
|
1851
|
+
standardCliSurfacePlugin,
|
|
1842
1852
|
RUN_WORKER_PANEL_PLUGIN,
|
|
1843
1853
|
createStandardTaskSourcesPlugin(options.taskSources),
|
|
1844
1854
|
createStandardTaskCliPlugin(),
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { RigPluginWithRuntime } from "@rig/core/config";
|
|
2
|
-
import type { CliCommandRegistration } from "@rig/contracts";
|
|
3
1
|
export declare const STANDARD_CLI_SURFACE_PLUGIN_NAME = "@rig/standard-plugin:cli-surface";
|
|
4
|
-
export declare const
|
|
5
|
-
export declare
|
|
2
|
+
export declare const standardCliSurfacePlugin: import("@rig/core").RigPluginWithRuntime;
|
|
3
|
+
export declare function createStandardCliSurfacePlugin(): import("@rig/core").RigPluginWithRuntime;
|
|
4
|
+
export default standardCliSurfacePlugin;
|
package/dist/src/cli-surface.js
CHANGED
|
@@ -1,55 +1,19 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// packages/standard-plugin/src/cli-surface.ts
|
|
3
|
+
import { definePlugin } from "@rig/core/config";
|
|
3
4
|
var STANDARD_CLI_SURFACE_PLUGIN_NAME = "@rig/standard-plugin:cli-surface";
|
|
4
|
-
|
|
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 = {
|
|
5
|
+
var standardCliSurfacePlugin = definePlugin({
|
|
44
6
|
name: STANDARD_CLI_SURFACE_PLUGIN_NAME,
|
|
45
7
|
version: "0.0.0-alpha.1",
|
|
46
|
-
contributes: {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
8
|
+
contributes: {}
|
|
9
|
+
});
|
|
10
|
+
function createStandardCliSurfacePlugin() {
|
|
11
|
+
return standardCliSurfacePlugin;
|
|
12
|
+
}
|
|
13
|
+
var cli_surface_default = standardCliSurfacePlugin;
|
|
51
14
|
export {
|
|
52
15
|
standardCliSurfacePlugin,
|
|
53
|
-
|
|
54
|
-
|
|
16
|
+
cli_surface_default as default,
|
|
17
|
+
createStandardCliSurfacePlugin,
|
|
18
|
+
STANDARD_CLI_SURFACE_PLUGIN_NAME
|
|
55
19
|
};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -4,4 +4,3 @@ 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";
|
package/dist/src/index.js
CHANGED
|
@@ -595,9 +595,18 @@ var RUN_WORKER_PANEL_PLUGIN = {
|
|
|
595
595
|
}
|
|
596
596
|
};
|
|
597
597
|
|
|
598
|
+
// packages/standard-plugin/src/cli-surface.ts
|
|
599
|
+
import { definePlugin } from "@rig/core/config";
|
|
600
|
+
var STANDARD_CLI_SURFACE_PLUGIN_NAME = "@rig/standard-plugin:cli-surface";
|
|
601
|
+
var standardCliSurfacePlugin = definePlugin({
|
|
602
|
+
name: STANDARD_CLI_SURFACE_PLUGIN_NAME,
|
|
603
|
+
version: "0.0.0-alpha.1",
|
|
604
|
+
contributes: {}
|
|
605
|
+
});
|
|
606
|
+
|
|
598
607
|
// packages/standard-plugin/src/plugin.ts
|
|
599
608
|
import { resolve as resolve4 } from "path";
|
|
600
|
-
import { definePlugin } from "@rig/core/config";
|
|
609
|
+
import { definePlugin as definePlugin2 } from "@rig/core/config";
|
|
601
610
|
|
|
602
611
|
// packages/standard-plugin/src/github-issues-source.ts
|
|
603
612
|
import { spawnSync } from "child_process";
|
|
@@ -1735,7 +1744,7 @@ function createLazyDocsDriftRuntimeCliCommand(options = {}) {
|
|
|
1735
1744
|
};
|
|
1736
1745
|
}
|
|
1737
1746
|
function createStandardDocsDriftPlugin(opts = {}) {
|
|
1738
|
-
return
|
|
1747
|
+
return definePlugin2({
|
|
1739
1748
|
name: "@rig/standard-plugin:docs-drift",
|
|
1740
1749
|
version: "0.1.0",
|
|
1741
1750
|
contributes: {
|
|
@@ -1770,7 +1779,7 @@ function createStandardDocsDriftPlugin(opts = {}) {
|
|
|
1770
1779
|
});
|
|
1771
1780
|
}
|
|
1772
1781
|
function createStandardTaskSourcesPlugin(opts = {}) {
|
|
1773
|
-
return
|
|
1782
|
+
return definePlugin2({
|
|
1774
1783
|
name: "@rig/standard-plugin:task-sources",
|
|
1775
1784
|
version: "0.1.0",
|
|
1776
1785
|
contributes: {
|
|
@@ -1853,6 +1862,7 @@ function standardPlugins(options = {}) {
|
|
|
1853
1862
|
createBlockerClassifierPlugin(),
|
|
1854
1863
|
createPlanningPlugin(),
|
|
1855
1864
|
createSupervisorPlugin(),
|
|
1865
|
+
standardCliSurfacePlugin,
|
|
1856
1866
|
RUN_WORKER_PANEL_PLUGIN,
|
|
1857
1867
|
createStandardTaskSourcesPlugin(options.taskSources),
|
|
1858
1868
|
createStandardTaskCliPlugin(),
|
|
@@ -1860,60 +1870,10 @@ function standardPlugins(options = {}) {
|
|
|
1860
1870
|
createStandardProductEntrypointPlugin()
|
|
1861
1871
|
];
|
|
1862
1872
|
}
|
|
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
1873
|
export {
|
|
1913
1874
|
standardTaskCliPlugin,
|
|
1914
1875
|
standardProductEntrypointPlugin,
|
|
1915
1876
|
standardPlugins,
|
|
1916
|
-
standardCliSurfacePlugin,
|
|
1917
1877
|
createStateGitHubCredentialProvider,
|
|
1918
1878
|
createStandardTaskSourcesPlugin,
|
|
1919
1879
|
createStandardTaskCliPlugin,
|
|
@@ -1922,8 +1882,6 @@ export {
|
|
|
1922
1882
|
createGitHubIssuesTaskSource,
|
|
1923
1883
|
createFilesTaskSource,
|
|
1924
1884
|
createEnvGitHubCredentialProvider,
|
|
1925
|
-
STANDARD_CLI_SURFACE_PLUGIN_NAME,
|
|
1926
|
-
STANDARD_CLI_SURFACE_COMMAND_METADATA,
|
|
1927
1885
|
RUN_WORKER_PANEL_PLUGIN,
|
|
1928
1886
|
RUN_SUPERVISOR_PANEL_REGISTRATION,
|
|
1929
1887
|
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.
|
|
3
|
+
"version": "0.0.6-alpha.145",
|
|
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,15 @@
|
|
|
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.
|
|
85
|
-
"@rig/bundle-default-lifecycle": "npm:@h-rig/bundle-default-lifecycle@0.0.6-alpha.
|
|
86
|
-
"@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.
|
|
87
|
-
"@rig/core": "npm:@h-rig/core@0.0.6-alpha.
|
|
88
|
-
"@rig/dependency-graph-plugin": "npm:@h-rig/dependency-graph-plugin@0.0.6-alpha.
|
|
89
|
-
"@rig/planning-plugin": "npm:@h-rig/planning-plugin@0.0.6-alpha.
|
|
90
|
-
"@rig/product-entrypoint-plugin": "0.0.6-alpha.
|
|
91
|
-
"@rig/task-cli-plugin": "0.0.6-alpha.
|
|
92
|
-
"@rig/supervisor-plugin": "npm:@h-rig/supervisor-plugin@0.0.6-alpha.
|
|
76
|
+
"@rig/blocker-classifier-plugin": "npm:@h-rig/blocker-classifier-plugin@0.0.6-alpha.145",
|
|
77
|
+
"@rig/bundle-default-lifecycle": "npm:@h-rig/bundle-default-lifecycle@0.0.6-alpha.145",
|
|
78
|
+
"@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.145",
|
|
79
|
+
"@rig/core": "npm:@h-rig/core@0.0.6-alpha.145",
|
|
80
|
+
"@rig/dependency-graph-plugin": "npm:@h-rig/dependency-graph-plugin@0.0.6-alpha.145",
|
|
81
|
+
"@rig/planning-plugin": "npm:@h-rig/planning-plugin@0.0.6-alpha.145",
|
|
82
|
+
"@rig/product-entrypoint-plugin": "npm:@h-rig/product-entrypoint-plugin@0.0.6-alpha.145",
|
|
83
|
+
"@rig/task-cli-plugin": "npm:@h-rig/task-cli-plugin@0.0.6-alpha.145",
|
|
84
|
+
"@rig/supervisor-plugin": "npm:@h-rig/supervisor-plugin@0.0.6-alpha.145",
|
|
93
85
|
"effect": "4.0.0-beta.90"
|
|
94
86
|
}
|
|
95
87
|
}
|
|
@@ -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";
|