@h-rig/standard-plugin 0.0.6-alpha.156 → 0.0.6-alpha.158

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.
@@ -1,8 +1,43 @@
1
1
  import { type DocsDriftPluginOptions } from "@rig/docs-drift-plugin/plugin";
2
+ import { type StandardTaskSourcesPluginOptions } from "@rig/task-sources-plugin/plugin";
2
3
  import type { RigPlugin } from "@rig/core/config";
3
- import { type StandardTaskSourcesPluginOptions } from "./plugin";
4
4
  export type StandardPluginsOptions = {
5
5
  readonly taskSources?: StandardTaskSourcesPluginOptions | undefined;
6
6
  readonly drift?: DocsDriftPluginOptions | undefined;
7
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
+ /**
30
+ * Adapt the floor's OPAQUE declarative-config DATA blob into the typed
31
+ * `standardPlugins()` options. The floor (`@rig/core` declarative-config) hands
32
+ * us the raw parsed config and references NO product field names; the standard
33
+ * collection OWNS its `[standard]`/`[taskSource]` section shapes, so this is the
34
+ * single place that knows the github knobs (`githubWorkspaceId`/`githubUserId`,
35
+ * with the workspace id defaulting from `[taskSource] owner/repo`).
36
+ *
37
+ * `githubCredentialProvider` is intentionally omitted: the task-source plugin
38
+ * defaults to the state-backed provider when none is supplied, so a data config
39
+ * never needs to express a function. This is the resolver the seed registers
40
+ * via `registerStandardPluginsResolver`.
41
+ */
42
+ export declare function standardPluginsFromConfigData(configData?: Record<string, unknown>): readonly RigPlugin[];
8
43
  export declare function standardPlugins(options?: StandardPluginsOptions): readonly RigPlugin[];
@@ -9,47 +9,50 @@ import { createPlanningPlugin } from "@rig/planning-plugin/plugin";
9
9
  import { createPromptPlugin } from "@rig/prompt-plugin/plugin";
10
10
  import { createSupervisorPlugin } from "@rig/supervisor-plugin/plugin";
11
11
  import { createRunWorkerPlugin } from "@rig/run-worker";
12
- import { createStandardDocsDriftPlugin as createStandardDocsDriftPlugin2 } from "@rig/docs-drift-plugin/plugin";
12
+ import { createStandardDocsDriftPlugin } from "@rig/docs-drift-plugin/plugin";
13
13
  import { createMemoryPlugin } from "@rig/memory-plugin/plugin";
14
14
  import { createProviderPlugin } from "@rig/provider-plugin/plugin";
15
15
  import { createIsolationPlugin } from "@rig/isolation-plugin/plugin";
16
16
  import { createBrowserPlugin } from "@rig/browser-plugin/plugin";
17
+ import { createRigHostPlugin } from "@rig/rig-host/plugin";
18
+ import { createRigExtensionPlugin } from "@rig/rig-extension/plugin";
17
19
  import { createReposPlugin } from "@rig/repos-plugin/plugin";
18
20
  import { createGitHubProviderPlugin } from "@rig/github-provider-plugin/plugin";
19
21
  import { createInitPlugin } from "@rig/init-plugin/plugin";
20
22
  import { createPrReviewPlugin } from "@rig/pr-review-plugin/plugin";
21
-
22
- // packages/standard-plugin/src/cli-surface.ts
23
+ import { createTransportPlugin } from "@rig/transport-plugin/plugin";
24
+ import { createSchedulerPlugin } from "@rig/scheduler-plugin/plugin";
25
+ import { createWorkspacePlugin } from "@rig/workspace-plugin/plugin";
26
+ import { createNotificationsPlugin } from "@rig/notifications-plugin/plugin";
27
+ import { standardCliSurfacePlugin } from "@rig/cli-surface-plugin/plugin";
23
28
  import {
24
- STANDARD_CLI_SURFACE_PLUGIN_NAME,
25
- createStandardCliSurfacePlugin,
26
- standardCliSurfacePlugin
27
- } from "@rig/cli-surface-plugin/plugin";
28
-
29
- // packages/standard-plugin/src/plugin.ts
29
+ createStandardProductEntrypointPlugin
30
+ } from "@rig/product-entrypoint-plugin/plugin";
31
+ import { createStandardTaskCliPlugin } from "@rig/task-cli-plugin/plugin";
30
32
  import {
31
- createGitHubIssuesTaskSource,
32
- createEnvGitHubCredentialProvider,
33
- createStateGitHubCredentialProvider,
34
- createFilesTaskSource,
35
- createTaskSourcesPlugin,
36
33
  createStandardTaskSourcesPlugin
37
34
  } from "@rig/task-sources-plugin/plugin";
38
- import {
39
- DOCS_DRIFT_CAPABILITY_ID,
40
- DOCS_DRIFT_CLI_COMMAND,
41
- DOCS_DRIFT_CLI_ID,
42
- DOCS_DRIFT_STAGE_ID,
43
- DOCS_DRIFT_STAGE_MUTATION,
44
- DOCS_DRIFT_VALIDATOR,
45
- DOCS_DRIFT_VALIDATOR_ID,
46
- DOCS_HEALTH_PANEL_ID,
47
- createStandardDocsDriftPlugin
48
- } from "@rig/docs-drift-plugin/plugin";
49
- import { createStandardProductEntrypointPlugin, standardProductEntrypointPlugin } from "@rig/product-entrypoint-plugin/plugin";
50
- import { createStandardTaskCliPlugin, standardTaskCliPlugin } from "@rig/task-cli-plugin/plugin";
51
-
52
- // packages/standard-plugin/src/bundle.ts
35
+ function standard(options = {}) {
36
+ const { drift, ...taskSources } = options;
37
+ return standardPlugins({ taskSources, drift });
38
+ }
39
+ function asRecord(value) {
40
+ return value && typeof value === "object" && !Array.isArray(value) ? value : {};
41
+ }
42
+ function standardPluginsFromConfigData(configData = {}) {
43
+ const standardSection = asRecord(configData.standard);
44
+ const taskSource = asRecord(configData.taskSource);
45
+ const defaultWorkspaceId = typeof taskSource.owner === "string" && typeof taskSource.repo === "string" ? `${taskSource.owner}/${taskSource.repo}` : undefined;
46
+ const githubWorkspaceId = (typeof standardSection.githubWorkspaceId === "string" ? standardSection.githubWorkspaceId : undefined) ?? defaultWorkspaceId;
47
+ const githubUserId = typeof standardSection.githubUserId === "string" ? standardSection.githubUserId : undefined;
48
+ return standardPlugins({
49
+ taskSources: {
50
+ ...githubWorkspaceId ? { githubWorkspaceId } : {},
51
+ ...githubUserId ? { githubUserId } : {}
52
+ },
53
+ ...standardSection.drift ? { drift: standardSection.drift } : {}
54
+ });
55
+ }
53
56
  function standardPlugins(options = {}) {
54
57
  return [
55
58
  createDefaultLifecyclePlugin(),
@@ -64,18 +67,26 @@ function standardPlugins(options = {}) {
64
67
  createProviderPlugin(),
65
68
  createIsolationPlugin(),
66
69
  createBrowserPlugin(),
70
+ createRigHostPlugin(),
67
71
  createReposPlugin(),
68
72
  createGitHubProviderPlugin(),
69
73
  createInitPlugin(),
70
74
  createPrReviewPlugin(),
75
+ createTransportPlugin(),
76
+ createSchedulerPlugin(),
77
+ createWorkspacePlugin(),
78
+ createNotificationsPlugin(),
71
79
  standardCliSurfacePlugin,
80
+ createRigExtensionPlugin(),
72
81
  createRunWorkerPlugin(),
73
82
  createStandardTaskSourcesPlugin(options.taskSources),
74
83
  createStandardTaskCliPlugin(),
75
- createStandardDocsDriftPlugin2(options.drift),
84
+ createStandardDocsDriftPlugin(options.drift),
76
85
  createStandardProductEntrypointPlugin()
77
86
  ];
78
87
  }
79
88
  export {
80
- standardPlugins
89
+ standardPluginsFromConfigData,
90
+ standardPlugins,
91
+ standard as default
81
92
  };
@@ -1,11 +1,3 @@
1
- export { standardPlugins } from "./bundle";
2
- export type { StandardPluginsOptions } from "./bundle";
3
- export { DOCS_DRIFT_CAPABILITY_ID, DOCS_DRIFT_CLI_COMMAND, DOCS_DRIFT_CLI_ID, DOCS_DRIFT_STAGE_ID, DOCS_DRIFT_STAGE_MUTATION, DOCS_DRIFT_VALIDATOR, DOCS_DRIFT_VALIDATOR_ID, DOCS_HEALTH_PANEL_ID, createEnvGitHubCredentialProvider, createFilesTaskSource, createGitHubIssuesTaskSource, createStandardDocsDriftPlugin, createStandardProductEntrypointPlugin, createStandardTaskCliPlugin, createStandardTaskSourcesPlugin, createStateGitHubCredentialProvider, standardProductEntrypointPlugin, standardTaskCliPlugin, } from "./plugin";
4
- export type { DocsDriftPluginOptions, DriftGit, DriftJudgeInput, DriftJudgeMismatch, DriftJudgeProvider, DriftReference, DriftReferenceKind, FilesTaskSourceOptions, GitHubIssuesOptions, StandardTaskSourcesPluginOptions, } from "./plugin";
5
- export { createRunWorkerPlugin, runWorkerPlugin } from "@rig/run-worker";
6
- export { STANDARD_CLI_SURFACE_PLUGIN_NAME, createStandardCliSurfacePlugin, standardCliSurfacePlugin, } from "./cli-surface";
7
- export { DEFAULT_LIFECYCLE_PLUGIN_ID, createDefaultLifecyclePlugin, defaultLifecyclePlugin, } from "./default-lifecycle";
8
- export { DEPENDENCY_GRAPH_CLI_ID, DEPENDENCY_GRAPH_PANEL_ID, EPICS_PANEL_ID, PEOPLE_PANEL_ID, WORKSPACE_STATUS_CLI_ID, WORKSPACE_SUMMARY_CLI_ID, createDependencyGraphPlugin, dependencyGraphPlugin, } from "./dependency-graph";
9
- export { BLOCKERS_CLI_ID, BLOCKER_CLASSIFIER_PLUGIN_NAME, DEFAULT_BLOCKER_CLASSIFIER_ID, HUMAN_BLOCKERS_PANEL_ID, blockerClassifierPlugin, createBlockerClassifierPlugin, } from "./blocker-classifier";
10
- export { PLANNING_PLAN_PANEL_ID, PLANNING_PLUGIN_NAME, createPlanningPlugin, planningPlugin, } from "./planning";
11
- export { SUPERVISOR_PLUGIN_NAME, createSupervisorPlugin, supervisorPlugin, } from "./supervisor";
1
+ export { default, standardPlugins, standardPluginsFromConfigData } from "./bundle";
2
+ export type { StandardOptions, StandardPluginsOptions } from "./bundle";
3
+ export { createStateGitHubCredentialProvider } from "@rig/github-lib";
package/dist/src/index.js CHANGED
@@ -9,47 +9,50 @@ import { createPlanningPlugin } from "@rig/planning-plugin/plugin";
9
9
  import { createPromptPlugin } from "@rig/prompt-plugin/plugin";
10
10
  import { createSupervisorPlugin } from "@rig/supervisor-plugin/plugin";
11
11
  import { createRunWorkerPlugin } from "@rig/run-worker";
12
- import { createStandardDocsDriftPlugin as createStandardDocsDriftPlugin2 } from "@rig/docs-drift-plugin/plugin";
12
+ import { createStandardDocsDriftPlugin } from "@rig/docs-drift-plugin/plugin";
13
13
  import { createMemoryPlugin } from "@rig/memory-plugin/plugin";
14
14
  import { createProviderPlugin } from "@rig/provider-plugin/plugin";
15
15
  import { createIsolationPlugin } from "@rig/isolation-plugin/plugin";
16
16
  import { createBrowserPlugin } from "@rig/browser-plugin/plugin";
17
+ import { createRigHostPlugin } from "@rig/rig-host/plugin";
18
+ import { createRigExtensionPlugin } from "@rig/rig-extension/plugin";
17
19
  import { createReposPlugin } from "@rig/repos-plugin/plugin";
18
20
  import { createGitHubProviderPlugin } from "@rig/github-provider-plugin/plugin";
19
21
  import { createInitPlugin } from "@rig/init-plugin/plugin";
20
22
  import { createPrReviewPlugin } from "@rig/pr-review-plugin/plugin";
21
-
22
- // packages/standard-plugin/src/cli-surface.ts
23
+ import { createTransportPlugin } from "@rig/transport-plugin/plugin";
24
+ import { createSchedulerPlugin } from "@rig/scheduler-plugin/plugin";
25
+ import { createWorkspacePlugin } from "@rig/workspace-plugin/plugin";
26
+ import { createNotificationsPlugin } from "@rig/notifications-plugin/plugin";
27
+ import { standardCliSurfacePlugin } from "@rig/cli-surface-plugin/plugin";
23
28
  import {
24
- STANDARD_CLI_SURFACE_PLUGIN_NAME,
25
- createStandardCliSurfacePlugin,
26
- standardCliSurfacePlugin
27
- } from "@rig/cli-surface-plugin/plugin";
28
-
29
- // packages/standard-plugin/src/plugin.ts
29
+ createStandardProductEntrypointPlugin
30
+ } from "@rig/product-entrypoint-plugin/plugin";
31
+ import { createStandardTaskCliPlugin } from "@rig/task-cli-plugin/plugin";
30
32
  import {
31
- createGitHubIssuesTaskSource,
32
- createEnvGitHubCredentialProvider,
33
- createStateGitHubCredentialProvider,
34
- createFilesTaskSource,
35
- createTaskSourcesPlugin,
36
33
  createStandardTaskSourcesPlugin
37
34
  } from "@rig/task-sources-plugin/plugin";
38
- import {
39
- DOCS_DRIFT_CAPABILITY_ID,
40
- DOCS_DRIFT_CLI_COMMAND,
41
- DOCS_DRIFT_CLI_ID,
42
- DOCS_DRIFT_STAGE_ID,
43
- DOCS_DRIFT_STAGE_MUTATION,
44
- DOCS_DRIFT_VALIDATOR,
45
- DOCS_DRIFT_VALIDATOR_ID,
46
- DOCS_HEALTH_PANEL_ID,
47
- createStandardDocsDriftPlugin
48
- } from "@rig/docs-drift-plugin/plugin";
49
- import { createStandardProductEntrypointPlugin, standardProductEntrypointPlugin } from "@rig/product-entrypoint-plugin/plugin";
50
- import { createStandardTaskCliPlugin, standardTaskCliPlugin } from "@rig/task-cli-plugin/plugin";
51
-
52
- // packages/standard-plugin/src/bundle.ts
35
+ function standard(options = {}) {
36
+ const { drift, ...taskSources } = options;
37
+ return standardPlugins({ taskSources, drift });
38
+ }
39
+ function asRecord(value) {
40
+ return value && typeof value === "object" && !Array.isArray(value) ? value : {};
41
+ }
42
+ function standardPluginsFromConfigData(configData = {}) {
43
+ const standardSection = asRecord(configData.standard);
44
+ const taskSource = asRecord(configData.taskSource);
45
+ const defaultWorkspaceId = typeof taskSource.owner === "string" && typeof taskSource.repo === "string" ? `${taskSource.owner}/${taskSource.repo}` : undefined;
46
+ const githubWorkspaceId = (typeof standardSection.githubWorkspaceId === "string" ? standardSection.githubWorkspaceId : undefined) ?? defaultWorkspaceId;
47
+ const githubUserId = typeof standardSection.githubUserId === "string" ? standardSection.githubUserId : undefined;
48
+ return standardPlugins({
49
+ taskSources: {
50
+ ...githubWorkspaceId ? { githubWorkspaceId } : {},
51
+ ...githubUserId ? { githubUserId } : {}
52
+ },
53
+ ...standardSection.drift ? { drift: standardSection.drift } : {}
54
+ });
55
+ }
53
56
  function standardPlugins(options = {}) {
54
57
  return [
55
58
  createDefaultLifecyclePlugin(),
@@ -64,108 +67,30 @@ function standardPlugins(options = {}) {
64
67
  createProviderPlugin(),
65
68
  createIsolationPlugin(),
66
69
  createBrowserPlugin(),
70
+ createRigHostPlugin(),
67
71
  createReposPlugin(),
68
72
  createGitHubProviderPlugin(),
69
73
  createInitPlugin(),
70
74
  createPrReviewPlugin(),
75
+ createTransportPlugin(),
76
+ createSchedulerPlugin(),
77
+ createWorkspacePlugin(),
78
+ createNotificationsPlugin(),
71
79
  standardCliSurfacePlugin,
80
+ createRigExtensionPlugin(),
72
81
  createRunWorkerPlugin(),
73
82
  createStandardTaskSourcesPlugin(options.taskSources),
74
83
  createStandardTaskCliPlugin(),
75
- createStandardDocsDriftPlugin2(options.drift),
84
+ createStandardDocsDriftPlugin(options.drift),
76
85
  createStandardProductEntrypointPlugin()
77
86
  ];
78
87
  }
79
88
 
80
89
  // packages/standard-plugin/src/index.ts
81
- import { createRunWorkerPlugin as createRunWorkerPlugin2, runWorkerPlugin } from "@rig/run-worker";
82
-
83
- // packages/standard-plugin/src/default-lifecycle.ts
84
- import {
85
- DEFAULT_LIFECYCLE_PLUGIN_ID,
86
- createDefaultLifecyclePlugin as createDefaultLifecyclePlugin2,
87
- defaultLifecyclePlugin
88
- } from "@rig/bundle-default-lifecycle/plugin";
89
- // packages/standard-plugin/src/dependency-graph.ts
90
- import {
91
- DEPENDENCY_GRAPH_CLI_ID,
92
- DEPENDENCY_GRAPH_PANEL_ID,
93
- EPICS_PANEL_ID,
94
- PEOPLE_PANEL_ID,
95
- WORKSPACE_STATUS_CLI_ID,
96
- WORKSPACE_SUMMARY_CLI_ID,
97
- createDependencyGraphPlugin as createDependencyGraphPlugin2,
98
- dependencyGraphPlugin
99
- } from "@rig/dependency-graph-plugin/plugin";
100
- // packages/standard-plugin/src/blocker-classifier.ts
101
- import {
102
- BLOCKERS_CLI_ID,
103
- BLOCKER_CLASSIFIER_PLUGIN_NAME,
104
- DEFAULT_BLOCKER_CLASSIFIER_ID,
105
- HUMAN_BLOCKERS_PANEL_ID,
106
- blockerClassifierPlugin,
107
- createBlockerClassifierPlugin as createBlockerClassifierPlugin2
108
- } from "@rig/blocker-classifier-plugin/plugin";
109
- // packages/standard-plugin/src/planning.ts
110
- import {
111
- PLANNING_PLAN_PANEL_ID,
112
- PLANNING_PLUGIN_NAME,
113
- createPlanningPlugin as createPlanningPlugin2,
114
- planningPlugin
115
- } from "@rig/planning-plugin/plugin";
116
- // packages/standard-plugin/src/supervisor.ts
117
- import {
118
- SUPERVISOR_PLUGIN_NAME,
119
- createSupervisorPlugin as createSupervisorPlugin2,
120
- supervisorPlugin
121
- } from "@rig/supervisor-plugin/plugin";
90
+ import { createStateGitHubCredentialProvider } from "@rig/github-lib";
122
91
  export {
123
- supervisorPlugin,
124
- standardTaskCliPlugin,
125
- standardProductEntrypointPlugin,
92
+ standardPluginsFromConfigData,
126
93
  standardPlugins,
127
- standardCliSurfacePlugin,
128
- runWorkerPlugin,
129
- planningPlugin,
130
- dependencyGraphPlugin,
131
- defaultLifecyclePlugin,
132
- createSupervisorPlugin2 as createSupervisorPlugin,
133
- createStateGitHubCredentialProvider,
134
- createStandardTaskSourcesPlugin,
135
- createStandardTaskCliPlugin,
136
- createStandardProductEntrypointPlugin,
137
- createStandardDocsDriftPlugin,
138
- createStandardCliSurfacePlugin,
139
- createRunWorkerPlugin2 as createRunWorkerPlugin,
140
- createPlanningPlugin2 as createPlanningPlugin,
141
- createGitHubIssuesTaskSource,
142
- createFilesTaskSource,
143
- createEnvGitHubCredentialProvider,
144
- createDependencyGraphPlugin2 as createDependencyGraphPlugin,
145
- createDefaultLifecyclePlugin2 as createDefaultLifecyclePlugin,
146
- createBlockerClassifierPlugin2 as createBlockerClassifierPlugin,
147
- blockerClassifierPlugin,
148
- WORKSPACE_SUMMARY_CLI_ID,
149
- WORKSPACE_STATUS_CLI_ID,
150
- SUPERVISOR_PLUGIN_NAME,
151
- STANDARD_CLI_SURFACE_PLUGIN_NAME,
152
- PLANNING_PLUGIN_NAME,
153
- PLANNING_PLAN_PANEL_ID,
154
- PEOPLE_PANEL_ID,
155
- HUMAN_BLOCKERS_PANEL_ID,
156
- EPICS_PANEL_ID,
157
- DOCS_HEALTH_PANEL_ID,
158
- DOCS_DRIFT_VALIDATOR_ID,
159
- DOCS_DRIFT_VALIDATOR,
160
- DOCS_DRIFT_STAGE_MUTATION,
161
- DOCS_DRIFT_STAGE_ID,
162
- DOCS_DRIFT_CLI_ID,
163
- DOCS_DRIFT_CLI_COMMAND,
164
- DOCS_DRIFT_CAPABILITY_ID,
165
- DEPENDENCY_GRAPH_PANEL_ID,
166
- DEPENDENCY_GRAPH_CLI_ID,
167
- DEFAULT_LIFECYCLE_PLUGIN_ID,
168
- DEFAULT_BLOCKER_CLASSIFIER_ID,
169
- BLOCKER_CLASSIFIER_PLUGIN_NAME,
170
- BLOCKERS_CLI_ID
94
+ standard as default,
95
+ createStateGitHubCredentialProvider
171
96
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h-rig/standard-plugin",
3
- "version": "0.0.6-alpha.156",
3
+ "version": "0.0.6-alpha.158",
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",
@@ -16,38 +16,6 @@
16
16
  "./bundle": {
17
17
  "types": "./dist/src/bundle.d.ts",
18
18
  "import": "./dist/src/bundle.js"
19
- },
20
- "./plugin": {
21
- "types": "./dist/src/plugin.d.ts",
22
- "import": "./dist/src/plugin.js"
23
- },
24
- "./default-lifecycle": {
25
- "types": "./dist/src/default-lifecycle.d.ts",
26
- "import": "./dist/src/default-lifecycle.js"
27
- },
28
- "./dependency-graph": {
29
- "types": "./dist/src/dependency-graph.d.ts",
30
- "import": "./dist/src/dependency-graph.js"
31
- },
32
- "./blocker-classifier": {
33
- "types": "./dist/src/blocker-classifier.d.ts",
34
- "import": "./dist/src/blocker-classifier.js"
35
- },
36
- "./planning": {
37
- "types": "./dist/src/planning.d.ts",
38
- "import": "./dist/src/planning.js"
39
- },
40
- "./supervisor": {
41
- "types": "./dist/src/supervisor.d.ts",
42
- "import": "./dist/src/supervisor.js"
43
- },
44
- "./task-cli": {
45
- "types": "./dist/src/task-cli.d.ts",
46
- "import": "./dist/src/task-cli.js"
47
- },
48
- "./product-plugin": {
49
- "types": "./dist/src/product-plugin.d.ts",
50
- "import": "./dist/src/product-plugin.js"
51
19
  }
52
20
  },
53
21
  "engines": {
@@ -57,30 +25,37 @@
57
25
  "module": "./dist/src/index.js",
58
26
  "types": "./dist/src/index.d.ts",
59
27
  "dependencies": {
60
- "@rig/blocker-classifier-plugin": "npm:@h-rig/blocker-classifier-plugin@0.0.6-alpha.156",
61
- "@rig/browser-plugin": "npm:@h-rig/browser-plugin@0.0.6-alpha.156",
62
- "@rig/bundle-default-lifecycle": "npm:@h-rig/bundle-default-lifecycle@0.0.6-alpha.156",
63
- "@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.156",
64
- "@rig/cli-surface-plugin": "npm:@h-rig/cli-surface-plugin@0.0.6-alpha.156",
65
- "@rig/core": "npm:@h-rig/core@0.0.6-alpha.156",
66
- "@rig/dependency-graph-plugin": "npm:@h-rig/dependency-graph-plugin@0.0.6-alpha.156",
67
- "@rig/doctor-plugin": "npm:@h-rig/doctor-plugin@0.0.6-alpha.156",
68
- "@rig/docs-drift-plugin": "npm:@h-rig/docs-drift-plugin@0.0.6-alpha.156",
69
- "@rig/github-provider-plugin": "npm:@h-rig/github-provider-plugin@0.0.6-alpha.156",
70
- "@rig/guard-plugin": "npm:@h-rig/guard-plugin@0.0.6-alpha.156",
71
- "@rig/init-plugin": "npm:@h-rig/init-plugin@0.0.6-alpha.156",
72
- "@rig/isolation-plugin": "npm:@h-rig/isolation-plugin@0.0.6-alpha.156",
73
- "@rig/memory-plugin": "npm:@h-rig/memory-plugin@0.0.6-alpha.156",
74
- "@rig/planning-plugin": "npm:@h-rig/planning-plugin@0.0.6-alpha.156",
75
- "@rig/pr-review-plugin": "npm:@h-rig/pr-review-plugin@0.0.6-alpha.156",
76
- "@rig/product-entrypoint-plugin": "npm:@h-rig/product-entrypoint-plugin@0.0.6-alpha.156",
77
- "@rig/prompt-plugin": "npm:@h-rig/prompt-plugin@0.0.6-alpha.156",
78
- "@rig/provider-plugin": "npm:@h-rig/provider-plugin@0.0.6-alpha.156",
79
- "@rig/repos-plugin": "npm:@h-rig/repos-plugin@0.0.6-alpha.156",
80
- "@rig/run-worker": "npm:@h-rig/run-worker@0.0.6-alpha.156",
81
- "@rig/task-cli-plugin": "npm:@h-rig/task-cli-plugin@0.0.6-alpha.156",
82
- "@rig/task-sources-plugin": "npm:@h-rig/task-sources-plugin@0.0.6-alpha.156",
83
- "@rig/supervisor-plugin": "npm:@h-rig/supervisor-plugin@0.0.6-alpha.156",
28
+ "@rig/blocker-classifier-plugin": "npm:@h-rig/blocker-classifier-plugin@0.0.6-alpha.158",
29
+ "@rig/browser-plugin": "npm:@h-rig/browser-plugin@0.0.6-alpha.158",
30
+ "@rig/bundle-default-lifecycle": "npm:@h-rig/bundle-default-lifecycle@0.0.6-alpha.158",
31
+ "@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.158",
32
+ "@rig/cli-surface-plugin": "npm:@h-rig/cli-surface-plugin@0.0.6-alpha.158",
33
+ "@rig/core": "npm:@h-rig/core@0.0.6-alpha.158",
34
+ "@rig/dependency-graph-plugin": "npm:@h-rig/dependency-graph-plugin@0.0.6-alpha.158",
35
+ "@rig/doctor-plugin": "npm:@h-rig/doctor-plugin@0.0.6-alpha.158",
36
+ "@rig/github-lib": "npm:@h-rig/github-lib@0.0.6-alpha.158",
37
+ "@rig/docs-drift-plugin": "npm:@h-rig/docs-drift-plugin@0.0.6-alpha.158",
38
+ "@rig/github-provider-plugin": "npm:@h-rig/github-provider-plugin@0.0.6-alpha.158",
39
+ "@rig/guard-plugin": "npm:@h-rig/guard-plugin@0.0.6-alpha.158",
40
+ "@rig/init-plugin": "npm:@h-rig/init-plugin@0.0.6-alpha.158",
41
+ "@rig/isolation-plugin": "npm:@h-rig/isolation-plugin@0.0.6-alpha.158",
42
+ "@rig/memory-plugin": "npm:@h-rig/memory-plugin@0.0.6-alpha.158",
43
+ "@rig/notifications-plugin": "npm:@h-rig/notifications-plugin@0.0.6-alpha.158",
44
+ "@rig/planning-plugin": "npm:@h-rig/planning-plugin@0.0.6-alpha.158",
45
+ "@rig/pr-review-plugin": "npm:@h-rig/pr-review-plugin@0.0.6-alpha.158",
46
+ "@rig/product-entrypoint-plugin": "npm:@h-rig/product-entrypoint-plugin@0.0.6-alpha.158",
47
+ "@rig/prompt-plugin": "npm:@h-rig/prompt-plugin@0.0.6-alpha.158",
48
+ "@rig/provider-plugin": "npm:@h-rig/provider-plugin@0.0.6-alpha.158",
49
+ "@rig/repos-plugin": "npm:@h-rig/repos-plugin@0.0.6-alpha.158",
50
+ "@rig/rig-host": "npm:@h-rig/rig-host@0.0.6-alpha.158",
51
+ "@rig/rig-extension": "npm:@h-rig/rig-extension@0.0.6-alpha.158",
52
+ "@rig/run-worker": "npm:@h-rig/run-worker@0.0.6-alpha.158",
53
+ "@rig/scheduler-plugin": "npm:@h-rig/scheduler-plugin@0.0.6-alpha.158",
54
+ "@rig/task-cli-plugin": "npm:@h-rig/task-cli-plugin@0.0.6-alpha.158",
55
+ "@rig/task-sources-plugin": "npm:@h-rig/task-sources-plugin@0.0.6-alpha.158",
56
+ "@rig/supervisor-plugin": "npm:@h-rig/supervisor-plugin@0.0.6-alpha.158",
57
+ "@rig/transport-plugin": "npm:@h-rig/transport-plugin@0.0.6-alpha.158",
58
+ "@rig/workspace-plugin": "npm:@h-rig/workspace-plugin@0.0.6-alpha.158",
84
59
  "effect": "4.0.0-beta.90"
85
60
  }
86
61
  }
@@ -1 +0,0 @@
1
- export { BLOCKERS_CLI_ID, BLOCKER_CLASSIFIER_PLUGIN_NAME, DEFAULT_BLOCKER_CLASSIFIER_ID, HUMAN_BLOCKERS_PANEL_ID, blockerClassifierPlugin, createBlockerClassifierPlugin, } from "@rig/blocker-classifier-plugin/plugin";
@@ -1,18 +0,0 @@
1
- // @bun
2
- // packages/standard-plugin/src/blocker-classifier.ts
3
- import {
4
- BLOCKERS_CLI_ID,
5
- BLOCKER_CLASSIFIER_PLUGIN_NAME,
6
- DEFAULT_BLOCKER_CLASSIFIER_ID,
7
- HUMAN_BLOCKERS_PANEL_ID,
8
- blockerClassifierPlugin,
9
- createBlockerClassifierPlugin
10
- } from "@rig/blocker-classifier-plugin/plugin";
11
- export {
12
- createBlockerClassifierPlugin,
13
- blockerClassifierPlugin,
14
- HUMAN_BLOCKERS_PANEL_ID,
15
- DEFAULT_BLOCKER_CLASSIFIER_ID,
16
- BLOCKER_CLASSIFIER_PLUGIN_NAME,
17
- BLOCKERS_CLI_ID
18
- };
@@ -1 +0,0 @@
1
- export { STANDARD_CLI_SURFACE_PLUGIN_NAME, createStandardCliSurfacePlugin, standardCliSurfacePlugin, } from "@rig/cli-surface-plugin/plugin";
@@ -1,12 +0,0 @@
1
- // @bun
2
- // packages/standard-plugin/src/cli-surface.ts
3
- import {
4
- STANDARD_CLI_SURFACE_PLUGIN_NAME,
5
- createStandardCliSurfacePlugin,
6
- standardCliSurfacePlugin
7
- } from "@rig/cli-surface-plugin/plugin";
8
- export {
9
- standardCliSurfacePlugin,
10
- createStandardCliSurfacePlugin,
11
- STANDARD_CLI_SURFACE_PLUGIN_NAME
12
- };
@@ -1 +0,0 @@
1
- export { DEFAULT_LIFECYCLE_PLUGIN_ID, createDefaultLifecyclePlugin, defaultLifecyclePlugin, } from "@rig/bundle-default-lifecycle/plugin";
@@ -1,12 +0,0 @@
1
- // @bun
2
- // packages/standard-plugin/src/default-lifecycle.ts
3
- import {
4
- DEFAULT_LIFECYCLE_PLUGIN_ID,
5
- createDefaultLifecyclePlugin,
6
- defaultLifecyclePlugin
7
- } from "@rig/bundle-default-lifecycle/plugin";
8
- export {
9
- defaultLifecyclePlugin,
10
- createDefaultLifecyclePlugin,
11
- DEFAULT_LIFECYCLE_PLUGIN_ID
12
- };
@@ -1 +0,0 @@
1
- export { DEPENDENCY_GRAPH_CLI_ID, DEPENDENCY_GRAPH_PANEL_ID, EPICS_PANEL_ID, PEOPLE_PANEL_ID, WORKSPACE_STATUS_CLI_ID, WORKSPACE_SUMMARY_CLI_ID, createDependencyGraphPlugin, dependencyGraphPlugin, } from "@rig/dependency-graph-plugin/plugin";
@@ -1,22 +0,0 @@
1
- // @bun
2
- // packages/standard-plugin/src/dependency-graph.ts
3
- import {
4
- DEPENDENCY_GRAPH_CLI_ID,
5
- DEPENDENCY_GRAPH_PANEL_ID,
6
- EPICS_PANEL_ID,
7
- PEOPLE_PANEL_ID,
8
- WORKSPACE_STATUS_CLI_ID,
9
- WORKSPACE_SUMMARY_CLI_ID,
10
- createDependencyGraphPlugin,
11
- dependencyGraphPlugin
12
- } from "@rig/dependency-graph-plugin/plugin";
13
- export {
14
- dependencyGraphPlugin,
15
- createDependencyGraphPlugin,
16
- WORKSPACE_SUMMARY_CLI_ID,
17
- WORKSPACE_STATUS_CLI_ID,
18
- PEOPLE_PANEL_ID,
19
- EPICS_PANEL_ID,
20
- DEPENDENCY_GRAPH_PANEL_ID,
21
- DEPENDENCY_GRAPH_CLI_ID
22
- };
@@ -1 +0,0 @@
1
- export { PLANNING_PLAN_PANEL_ID, PLANNING_PLUGIN_NAME, createPlanningPlugin, planningPlugin, } from "@rig/planning-plugin/plugin";
@@ -1,14 +0,0 @@
1
- // @bun
2
- // packages/standard-plugin/src/planning.ts
3
- import {
4
- PLANNING_PLAN_PANEL_ID,
5
- PLANNING_PLUGIN_NAME,
6
- createPlanningPlugin,
7
- planningPlugin
8
- } from "@rig/planning-plugin/plugin";
9
- export {
10
- planningPlugin,
11
- createPlanningPlugin,
12
- PLANNING_PLUGIN_NAME,
13
- PLANNING_PLAN_PANEL_ID
14
- };
@@ -1,6 +0,0 @@
1
- export { createGitHubIssuesTaskSource, createEnvGitHubCredentialProvider, createStateGitHubCredentialProvider, createFilesTaskSource, createTaskSourcesPlugin, createStandardTaskSourcesPlugin, } from "@rig/task-sources-plugin/plugin";
2
- export type { GitHubIssuesOptions, FilesTaskSourceOptions, StandardTaskSourcesPluginOptions } from "@rig/task-sources-plugin/plugin";
3
- export { DOCS_DRIFT_CAPABILITY_ID, DOCS_DRIFT_CLI_COMMAND, DOCS_DRIFT_CLI_ID, DOCS_DRIFT_STAGE_ID, DOCS_DRIFT_STAGE_MUTATION, DOCS_DRIFT_VALIDATOR, DOCS_DRIFT_VALIDATOR_ID, DOCS_HEALTH_PANEL_ID, createStandardDocsDriftPlugin, } from "@rig/docs-drift-plugin/plugin";
4
- export type { DocsDriftPluginOptions, DriftReference, DriftReferenceKind, DriftGit, DriftJudgeInput, DriftJudgeMismatch, DriftJudgeProvider, } from "@rig/docs-drift-plugin/plugin";
5
- export { createStandardProductEntrypointPlugin, standardProductEntrypointPlugin } from "@rig/product-entrypoint-plugin/plugin";
6
- export { createStandardTaskCliPlugin, standardTaskCliPlugin } from "@rig/task-cli-plugin/plugin";
@@ -1,44 +0,0 @@
1
- // @bun
2
- // packages/standard-plugin/src/plugin.ts
3
- import {
4
- createGitHubIssuesTaskSource,
5
- createEnvGitHubCredentialProvider,
6
- createStateGitHubCredentialProvider,
7
- createFilesTaskSource,
8
- createTaskSourcesPlugin,
9
- createStandardTaskSourcesPlugin
10
- } from "@rig/task-sources-plugin/plugin";
11
- import {
12
- DOCS_DRIFT_CAPABILITY_ID,
13
- DOCS_DRIFT_CLI_COMMAND,
14
- DOCS_DRIFT_CLI_ID,
15
- DOCS_DRIFT_STAGE_ID,
16
- DOCS_DRIFT_STAGE_MUTATION,
17
- DOCS_DRIFT_VALIDATOR,
18
- DOCS_DRIFT_VALIDATOR_ID,
19
- DOCS_HEALTH_PANEL_ID,
20
- createStandardDocsDriftPlugin
21
- } from "@rig/docs-drift-plugin/plugin";
22
- import { createStandardProductEntrypointPlugin, standardProductEntrypointPlugin } from "@rig/product-entrypoint-plugin/plugin";
23
- import { createStandardTaskCliPlugin, standardTaskCliPlugin } from "@rig/task-cli-plugin/plugin";
24
- export {
25
- standardTaskCliPlugin,
26
- standardProductEntrypointPlugin,
27
- createTaskSourcesPlugin,
28
- createStateGitHubCredentialProvider,
29
- createStandardTaskSourcesPlugin,
30
- createStandardTaskCliPlugin,
31
- createStandardProductEntrypointPlugin,
32
- createStandardDocsDriftPlugin,
33
- createGitHubIssuesTaskSource,
34
- createFilesTaskSource,
35
- createEnvGitHubCredentialProvider,
36
- DOCS_HEALTH_PANEL_ID,
37
- DOCS_DRIFT_VALIDATOR_ID,
38
- DOCS_DRIFT_VALIDATOR,
39
- DOCS_DRIFT_STAGE_MUTATION,
40
- DOCS_DRIFT_STAGE_ID,
41
- DOCS_DRIFT_CLI_ID,
42
- DOCS_DRIFT_CLI_COMMAND,
43
- DOCS_DRIFT_CAPABILITY_ID
44
- };
@@ -1,3 +0,0 @@
1
- export { createStandardProductEntrypointPlugin, standardProductEntrypointPlugin, } from "@rig/product-entrypoint-plugin/plugin";
2
- export { STANDARD_PRODUCT_COMMANDS, standardProductCliCommandId, standardProductCliCommandMetadata, } from "@rig/product-entrypoint-plugin/metadata";
3
- export type { RigProductCommandName, StandardProductCommandDescriptor, } from "@rig/product-entrypoint-plugin/metadata";
@@ -1,18 +0,0 @@
1
- // @bun
2
- // packages/standard-plugin/src/product-plugin.ts
3
- import {
4
- createStandardProductEntrypointPlugin,
5
- standardProductEntrypointPlugin
6
- } from "@rig/product-entrypoint-plugin/plugin";
7
- import {
8
- STANDARD_PRODUCT_COMMANDS,
9
- standardProductCliCommandId,
10
- standardProductCliCommandMetadata
11
- } from "@rig/product-entrypoint-plugin/metadata";
12
- export {
13
- standardProductEntrypointPlugin,
14
- standardProductCliCommandMetadata,
15
- standardProductCliCommandId,
16
- createStandardProductEntrypointPlugin,
17
- STANDARD_PRODUCT_COMMANDS
18
- };
@@ -1 +0,0 @@
1
- export { SUPERVISOR_PLUGIN_NAME, createSupervisorPlugin, supervisorPlugin, } from "@rig/supervisor-plugin/plugin";
@@ -1,12 +0,0 @@
1
- // @bun
2
- // packages/standard-plugin/src/supervisor.ts
3
- import {
4
- SUPERVISOR_PLUGIN_NAME,
5
- createSupervisorPlugin,
6
- supervisorPlugin
7
- } from "@rig/supervisor-plugin/plugin";
8
- export {
9
- supervisorPlugin,
10
- createSupervisorPlugin,
11
- SUPERVISOR_PLUGIN_NAME
12
- };
@@ -1 +0,0 @@
1
- export { STANDARD_TASK_CLI_ID, STANDARD_TASK_CLI_PLUGIN_NAME, createStandardTaskCliPlugin, standardTaskCliPlugin, } from "@rig/task-cli-plugin/plugin";
@@ -1,14 +0,0 @@
1
- // @bun
2
- // packages/standard-plugin/src/task-cli.ts
3
- import {
4
- STANDARD_TASK_CLI_ID,
5
- STANDARD_TASK_CLI_PLUGIN_NAME,
6
- createStandardTaskCliPlugin,
7
- standardTaskCliPlugin
8
- } from "@rig/task-cli-plugin/plugin";
9
- export {
10
- standardTaskCliPlugin,
11
- createStandardTaskCliPlugin,
12
- STANDARD_TASK_CLI_PLUGIN_NAME,
13
- STANDARD_TASK_CLI_ID
14
- };