@h-rig/standard-plugin 0.0.0-e2e-live.20260630085347
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/README.md +1 -0
- package/dist/src/bundle.d.ts +29 -0
- package/dist/src/bundle.js +84 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +84 -0
- package/package.json +65 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# @h-rig/standard-plugin
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type DocsDriftPluginOptions } from "@rig/docs-drift-plugin/plugin";
|
|
2
|
+
import { type StandardTaskSourcesPluginOptions } from "@rig/task-sources-plugin/plugin";
|
|
3
|
+
import type { RigPlugin } from "@rig/core/config";
|
|
4
|
+
export type StandardPluginsOptions = {
|
|
5
|
+
readonly taskSources?: StandardTaskSourcesPluginOptions | undefined;
|
|
6
|
+
readonly drift?: DocsDriftPluginOptions | undefined;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Author-facing options for the default `standard()` collection. The GitHub
|
|
10
|
+
* task-source knobs live at the top level (where rig.config authors expect
|
|
11
|
+
* them); `drift` configures the docs-drift plugin. Everything maps down into
|
|
12
|
+
* the discrete-plugin `standardPlugins()` collection below.
|
|
13
|
+
*/
|
|
14
|
+
export interface StandardOptions extends StandardTaskSourcesPluginOptions {
|
|
15
|
+
readonly drift?: DocsDriftPluginOptions | undefined;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The default export consumed by generated rig.config files:
|
|
19
|
+
*
|
|
20
|
+
* import standard from "@rig/standard-plugin";
|
|
21
|
+
* export default defineConfig({ plugins: [standard({ githubUserId, ... })] });
|
|
22
|
+
*
|
|
23
|
+
* It returns the discrete-plugin COLLECTION (not a fat aggregate plugin) — the
|
|
24
|
+
* config author drops it into `plugins`, and defineConfig flattens the bundle
|
|
25
|
+
* into the explicit plugin list. This is the single seam that keeps
|
|
26
|
+
* `@rig/standard-plugin` an inert collection rather than a behavioural unit.
|
|
27
|
+
*/
|
|
28
|
+
export default function standard(options?: StandardOptions): readonly RigPlugin[];
|
|
29
|
+
export declare function standardPlugins(options?: StandardPluginsOptions): readonly RigPlugin[];
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// packages/standard-plugin/src/bundle.ts
|
|
3
|
+
import { createBlockerClassifierPlugin } from "@rig/blocker-classifier-plugin/plugin";
|
|
4
|
+
import { createDoctorPlugin } from "@rig/doctor-plugin/plugin";
|
|
5
|
+
import { createGuardPlugin } from "@rig/guard-plugin/plugin";
|
|
6
|
+
import { createDefaultLifecyclePlugin } from "@rig/lifecycle-plugin/plugin";
|
|
7
|
+
import { createDependencyGraphPlugin } from "@rig/dependency-graph-plugin/plugin";
|
|
8
|
+
import { createPlanningPlugin } from "@rig/planning-plugin/plugin";
|
|
9
|
+
import { createPromptPlugin } from "@rig/prompt-plugin/plugin";
|
|
10
|
+
import { createSupervisorPlugin } from "@rig/supervisor-plugin/plugin";
|
|
11
|
+
import { createRunReadModelPlugin } from "@rig/run-read-model-plugin/plugin";
|
|
12
|
+
import { createRunControlPlugin } from "@rig/run-control-plugin/plugin";
|
|
13
|
+
import { createRunWorkerPlugin } from "@rig/run-worker/plugin";
|
|
14
|
+
import { createStandardDocsDriftPlugin } from "@rig/docs-drift-plugin/plugin";
|
|
15
|
+
import { createMemoryPlugin } from "@rig/memory-plugin/plugin";
|
|
16
|
+
import { createProviderPlugin } from "@rig/provider-plugin/plugin";
|
|
17
|
+
import { createIsolationPlugin } from "@rig/isolation-plugin/plugin";
|
|
18
|
+
import { createBrowserPlugin } from "@rig/browser-plugin/plugin";
|
|
19
|
+
import { createRigHostPlugin } from "@rig/rig-host/plugin";
|
|
20
|
+
import { createCockpitPlugin } from "@rig/cockpit-plugin/plugin";
|
|
21
|
+
import { createNativeToolchainPlugin } from "@rig/native-toolchain-plugin/plugin";
|
|
22
|
+
import { createReposPlugin } from "@rig/repos-plugin/plugin";
|
|
23
|
+
import { createGitHubProviderPlugin } from "@rig/github-provider-plugin/plugin";
|
|
24
|
+
import { createInitPlugin } from "@rig/init-plugin/plugin";
|
|
25
|
+
import { createPrReviewPlugin } from "@rig/pr-review-plugin/plugin";
|
|
26
|
+
import { createTransportPlugin } from "@rig/transport-plugin/plugin";
|
|
27
|
+
import { createSchedulerPlugin } from "@rig/scheduler-plugin/plugin";
|
|
28
|
+
import { createWorkspacePlugin } from "@rig/workspace-plugin/plugin";
|
|
29
|
+
import { createNotificationsPlugin } from "@rig/notifications-plugin/plugin";
|
|
30
|
+
import { standardCliSurfacePlugin } from "@rig/cli-surface-plugin/plugin";
|
|
31
|
+
import {
|
|
32
|
+
createStandardProductEntrypointPlugin
|
|
33
|
+
} from "@rig/product-entrypoint-plugin/plugin";
|
|
34
|
+
import { createStandardTaskCliPlugin } from "@rig/task-cli-plugin/plugin";
|
|
35
|
+
import { createTaskIoPlugin } from "@rig/task-io-plugin/plugin";
|
|
36
|
+
import { createTaskStatePlugin } from "@rig/task-state-plugin/plugin";
|
|
37
|
+
import {
|
|
38
|
+
createStandardTaskSourcesPlugin
|
|
39
|
+
} from "@rig/task-sources-plugin/plugin";
|
|
40
|
+
function standard(options = {}) {
|
|
41
|
+
const { drift, ...taskSources } = options;
|
|
42
|
+
return standardPlugins({ taskSources, drift });
|
|
43
|
+
}
|
|
44
|
+
function standardPlugins(options = {}) {
|
|
45
|
+
return [
|
|
46
|
+
createDefaultLifecyclePlugin(),
|
|
47
|
+
createRunReadModelPlugin(),
|
|
48
|
+
createRunControlPlugin(),
|
|
49
|
+
createDependencyGraphPlugin(),
|
|
50
|
+
createBlockerClassifierPlugin(),
|
|
51
|
+
createDoctorPlugin(),
|
|
52
|
+
createGuardPlugin(),
|
|
53
|
+
createPlanningPlugin(),
|
|
54
|
+
createPromptPlugin(),
|
|
55
|
+
createSupervisorPlugin(),
|
|
56
|
+
createMemoryPlugin(),
|
|
57
|
+
createProviderPlugin(),
|
|
58
|
+
createIsolationPlugin(),
|
|
59
|
+
createBrowserPlugin(),
|
|
60
|
+
createRigHostPlugin(),
|
|
61
|
+
createNativeToolchainPlugin(),
|
|
62
|
+
createReposPlugin(),
|
|
63
|
+
createGitHubProviderPlugin(),
|
|
64
|
+
createInitPlugin(),
|
|
65
|
+
createPrReviewPlugin(),
|
|
66
|
+
createTransportPlugin(),
|
|
67
|
+
createSchedulerPlugin(),
|
|
68
|
+
createWorkspacePlugin(),
|
|
69
|
+
createNotificationsPlugin(),
|
|
70
|
+
standardCliSurfacePlugin,
|
|
71
|
+
createCockpitPlugin(),
|
|
72
|
+
createRunWorkerPlugin(),
|
|
73
|
+
createTaskStatePlugin(),
|
|
74
|
+
createStandardTaskSourcesPlugin(options.taskSources),
|
|
75
|
+
createTaskIoPlugin(),
|
|
76
|
+
createStandardTaskCliPlugin(),
|
|
77
|
+
createStandardDocsDriftPlugin(options.drift),
|
|
78
|
+
createStandardProductEntrypointPlugin()
|
|
79
|
+
];
|
|
80
|
+
}
|
|
81
|
+
export {
|
|
82
|
+
standardPlugins,
|
|
83
|
+
standard as default
|
|
84
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// packages/standard-plugin/src/bundle.ts
|
|
3
|
+
import { createBlockerClassifierPlugin } from "@rig/blocker-classifier-plugin/plugin";
|
|
4
|
+
import { createDoctorPlugin } from "@rig/doctor-plugin/plugin";
|
|
5
|
+
import { createGuardPlugin } from "@rig/guard-plugin/plugin";
|
|
6
|
+
import { createDefaultLifecyclePlugin } from "@rig/lifecycle-plugin/plugin";
|
|
7
|
+
import { createDependencyGraphPlugin } from "@rig/dependency-graph-plugin/plugin";
|
|
8
|
+
import { createPlanningPlugin } from "@rig/planning-plugin/plugin";
|
|
9
|
+
import { createPromptPlugin } from "@rig/prompt-plugin/plugin";
|
|
10
|
+
import { createSupervisorPlugin } from "@rig/supervisor-plugin/plugin";
|
|
11
|
+
import { createRunReadModelPlugin } from "@rig/run-read-model-plugin/plugin";
|
|
12
|
+
import { createRunControlPlugin } from "@rig/run-control-plugin/plugin";
|
|
13
|
+
import { createRunWorkerPlugin } from "@rig/run-worker/plugin";
|
|
14
|
+
import { createStandardDocsDriftPlugin } from "@rig/docs-drift-plugin/plugin";
|
|
15
|
+
import { createMemoryPlugin } from "@rig/memory-plugin/plugin";
|
|
16
|
+
import { createProviderPlugin } from "@rig/provider-plugin/plugin";
|
|
17
|
+
import { createIsolationPlugin } from "@rig/isolation-plugin/plugin";
|
|
18
|
+
import { createBrowserPlugin } from "@rig/browser-plugin/plugin";
|
|
19
|
+
import { createRigHostPlugin } from "@rig/rig-host/plugin";
|
|
20
|
+
import { createCockpitPlugin } from "@rig/cockpit-plugin/plugin";
|
|
21
|
+
import { createNativeToolchainPlugin } from "@rig/native-toolchain-plugin/plugin";
|
|
22
|
+
import { createReposPlugin } from "@rig/repos-plugin/plugin";
|
|
23
|
+
import { createGitHubProviderPlugin } from "@rig/github-provider-plugin/plugin";
|
|
24
|
+
import { createInitPlugin } from "@rig/init-plugin/plugin";
|
|
25
|
+
import { createPrReviewPlugin } from "@rig/pr-review-plugin/plugin";
|
|
26
|
+
import { createTransportPlugin } from "@rig/transport-plugin/plugin";
|
|
27
|
+
import { createSchedulerPlugin } from "@rig/scheduler-plugin/plugin";
|
|
28
|
+
import { createWorkspacePlugin } from "@rig/workspace-plugin/plugin";
|
|
29
|
+
import { createNotificationsPlugin } from "@rig/notifications-plugin/plugin";
|
|
30
|
+
import { standardCliSurfacePlugin } from "@rig/cli-surface-plugin/plugin";
|
|
31
|
+
import {
|
|
32
|
+
createStandardProductEntrypointPlugin
|
|
33
|
+
} from "@rig/product-entrypoint-plugin/plugin";
|
|
34
|
+
import { createStandardTaskCliPlugin } from "@rig/task-cli-plugin/plugin";
|
|
35
|
+
import { createTaskIoPlugin } from "@rig/task-io-plugin/plugin";
|
|
36
|
+
import { createTaskStatePlugin } from "@rig/task-state-plugin/plugin";
|
|
37
|
+
import {
|
|
38
|
+
createStandardTaskSourcesPlugin
|
|
39
|
+
} from "@rig/task-sources-plugin/plugin";
|
|
40
|
+
function standard(options = {}) {
|
|
41
|
+
const { drift, ...taskSources } = options;
|
|
42
|
+
return standardPlugins({ taskSources, drift });
|
|
43
|
+
}
|
|
44
|
+
function standardPlugins(options = {}) {
|
|
45
|
+
return [
|
|
46
|
+
createDefaultLifecyclePlugin(),
|
|
47
|
+
createRunReadModelPlugin(),
|
|
48
|
+
createRunControlPlugin(),
|
|
49
|
+
createDependencyGraphPlugin(),
|
|
50
|
+
createBlockerClassifierPlugin(),
|
|
51
|
+
createDoctorPlugin(),
|
|
52
|
+
createGuardPlugin(),
|
|
53
|
+
createPlanningPlugin(),
|
|
54
|
+
createPromptPlugin(),
|
|
55
|
+
createSupervisorPlugin(),
|
|
56
|
+
createMemoryPlugin(),
|
|
57
|
+
createProviderPlugin(),
|
|
58
|
+
createIsolationPlugin(),
|
|
59
|
+
createBrowserPlugin(),
|
|
60
|
+
createRigHostPlugin(),
|
|
61
|
+
createNativeToolchainPlugin(),
|
|
62
|
+
createReposPlugin(),
|
|
63
|
+
createGitHubProviderPlugin(),
|
|
64
|
+
createInitPlugin(),
|
|
65
|
+
createPrReviewPlugin(),
|
|
66
|
+
createTransportPlugin(),
|
|
67
|
+
createSchedulerPlugin(),
|
|
68
|
+
createWorkspacePlugin(),
|
|
69
|
+
createNotificationsPlugin(),
|
|
70
|
+
standardCliSurfacePlugin,
|
|
71
|
+
createCockpitPlugin(),
|
|
72
|
+
createRunWorkerPlugin(),
|
|
73
|
+
createTaskStatePlugin(),
|
|
74
|
+
createStandardTaskSourcesPlugin(options.taskSources),
|
|
75
|
+
createTaskIoPlugin(),
|
|
76
|
+
createStandardTaskCliPlugin(),
|
|
77
|
+
createStandardDocsDriftPlugin(options.drift),
|
|
78
|
+
createStandardProductEntrypointPlugin()
|
|
79
|
+
];
|
|
80
|
+
}
|
|
81
|
+
export {
|
|
82
|
+
standardPlugins,
|
|
83
|
+
standard as default
|
|
84
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@h-rig/standard-plugin",
|
|
3
|
+
"version": "0.0.0-e2e-live.20260630085347",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "First-party contribution bundle for Rig's OMP extension plugin graph; not a standalone plugin runtime.",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"README.md"
|
|
10
|
+
],
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/src/index.d.ts",
|
|
14
|
+
"import": "./dist/src/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./bundle": {
|
|
17
|
+
"types": "./dist/src/bundle.d.ts",
|
|
18
|
+
"import": "./dist/src/bundle.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"engines": {
|
|
22
|
+
"bun": ">=1.3.11"
|
|
23
|
+
},
|
|
24
|
+
"main": "./dist/src/index.js",
|
|
25
|
+
"module": "./dist/src/index.js",
|
|
26
|
+
"types": "./dist/src/index.d.ts",
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@rig/blocker-classifier-plugin": "npm:@h-rig/blocker-classifier-plugin@0.0.0-e2e-live.20260630085347",
|
|
29
|
+
"@rig/browser-plugin": "npm:@h-rig/browser-plugin@0.0.0-e2e-live.20260630085347",
|
|
30
|
+
"@rig/lifecycle-plugin": "npm:@h-rig/lifecycle-plugin@0.0.0-e2e-live.20260630085347",
|
|
31
|
+
"@rig/contracts": "npm:@h-rig/contracts@0.0.0-e2e-live.20260630085347",
|
|
32
|
+
"@rig/cli-surface-plugin": "npm:@h-rig/cli-surface-plugin@0.0.0-e2e-live.20260630085347",
|
|
33
|
+
"@rig/core": "npm:@h-rig/core@0.0.0-e2e-live.20260630085347",
|
|
34
|
+
"@rig/dependency-graph-plugin": "npm:@h-rig/dependency-graph-plugin@0.0.0-e2e-live.20260630085347",
|
|
35
|
+
"@rig/doctor-plugin": "npm:@h-rig/doctor-plugin@0.0.0-e2e-live.20260630085347",
|
|
36
|
+
"@rig/docs-drift-plugin": "npm:@h-rig/docs-drift-plugin@0.0.0-e2e-live.20260630085347",
|
|
37
|
+
"@rig/github-provider-plugin": "npm:@h-rig/github-provider-plugin@0.0.0-e2e-live.20260630085347",
|
|
38
|
+
"@rig/guard-plugin": "npm:@h-rig/guard-plugin@0.0.0-e2e-live.20260630085347",
|
|
39
|
+
"@rig/init-plugin": "npm:@h-rig/init-plugin@0.0.0-e2e-live.20260630085347",
|
|
40
|
+
"@rig/isolation-plugin": "npm:@h-rig/isolation-plugin@0.0.0-e2e-live.20260630085347",
|
|
41
|
+
"@rig/memory-plugin": "npm:@h-rig/memory-plugin@0.0.0-e2e-live.20260630085347",
|
|
42
|
+
"@rig/native-toolchain-plugin": "npm:@h-rig/native-toolchain-plugin@0.0.0-e2e-live.20260630085347",
|
|
43
|
+
"@rig/notifications-plugin": "npm:@h-rig/notifications-plugin@0.0.0-e2e-live.20260630085347",
|
|
44
|
+
"@rig/planning-plugin": "npm:@h-rig/planning-plugin@0.0.0-e2e-live.20260630085347",
|
|
45
|
+
"@rig/pr-review-plugin": "npm:@h-rig/pr-review-plugin@0.0.0-e2e-live.20260630085347",
|
|
46
|
+
"@rig/product-entrypoint-plugin": "npm:@h-rig/product-entrypoint-plugin@0.0.0-e2e-live.20260630085347",
|
|
47
|
+
"@rig/prompt-plugin": "npm:@h-rig/prompt-plugin@0.0.0-e2e-live.20260630085347",
|
|
48
|
+
"@rig/provider-plugin": "npm:@h-rig/provider-plugin@0.0.0-e2e-live.20260630085347",
|
|
49
|
+
"@rig/repos-plugin": "npm:@h-rig/repos-plugin@0.0.0-e2e-live.20260630085347",
|
|
50
|
+
"@rig/rig-host": "npm:@h-rig/rig-host@0.0.0-e2e-live.20260630085347",
|
|
51
|
+
"@rig/run-read-model-plugin": "npm:@h-rig/run-read-model-plugin@0.0.0-e2e-live.20260630085347",
|
|
52
|
+
"@rig/run-control-plugin": "npm:@h-rig/run-control-plugin@0.0.0-e2e-live.20260630085347",
|
|
53
|
+
"@rig/cockpit-plugin": "npm:@h-rig/cockpit-plugin@0.0.0-e2e-live.20260630085347",
|
|
54
|
+
"@rig/run-worker": "npm:@h-rig/run-worker@0.0.0-e2e-live.20260630085347",
|
|
55
|
+
"@rig/scheduler-plugin": "npm:@h-rig/scheduler-plugin@0.0.0-e2e-live.20260630085347",
|
|
56
|
+
"@rig/task-cli-plugin": "npm:@h-rig/task-cli-plugin@0.0.0-e2e-live.20260630085347",
|
|
57
|
+
"@rig/task-state-plugin": "npm:@h-rig/task-state-plugin@0.0.0-e2e-live.20260630085347",
|
|
58
|
+
"@rig/task-sources-plugin": "npm:@h-rig/task-sources-plugin@0.0.0-e2e-live.20260630085347",
|
|
59
|
+
"@rig/task-io-plugin": "npm:@h-rig/task-io-plugin@0.0.0-e2e-live.20260630085347",
|
|
60
|
+
"@rig/supervisor-plugin": "npm:@h-rig/supervisor-plugin@0.0.0-e2e-live.20260630085347",
|
|
61
|
+
"@rig/transport-plugin": "npm:@h-rig/transport-plugin@0.0.0-e2e-live.20260630085347",
|
|
62
|
+
"@rig/workspace-plugin": "npm:@h-rig/workspace-plugin@0.0.0-e2e-live.20260630085347",
|
|
63
|
+
"effect": "4.0.0-beta.90"
|
|
64
|
+
}
|
|
65
|
+
}
|