@h-rig/run-worker 0.0.6-alpha.142 → 0.0.6-alpha.143

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,6 +1,6 @@
1
1
  // @bun
2
2
  // packages/run-worker/src/autohost.ts
3
- import { runPipelineCloseout } from "@rig/bundle-default-lifecycle/pipeline-closeout";
3
+ import { runPipelineCloseout } from "@rig/standard-plugin/lifecycle-closeout";
4
4
  import { adoptPlacementKernel } from "@rig/composition/kernel-entrypoint";
5
5
  import { latestTimelineEntriesFromCustomEntries, parseInboxResolutionSentinel, parsePauseSentinel, parseResumeSentinel, parseStopSentinel, sessionIdFromSessionFile } from "@rig/contracts";
6
6
  import { Duration, Effect, Fiber, Stream } from "effect";
@@ -110,41 +110,9 @@ function startRunProcessStallMonitor(opts) {
110
110
 
111
111
  // packages/run-worker/src/panel-plugin.ts
112
112
  import { createProjectPluginHost, projectPluginResolutionWarningMessages } from "@rig/composition/project-plugins";
113
+ import { RIG_CAPABILITY_PANEL_SLOT, RIG_RUN_STOP_PANEL_ACTION, RIG_SUPERVISOR_PANEL_ID } from "@rig/standard-plugin/run-worker-panels";
113
114
  var RIG_PANELS_CUSTOM_MESSAGE_TYPE = "rig-panels";
114
- var RIG_RUN_STOP_PANEL_ACTION = "rig-run:stop";
115
- var RIG_CAPABILITY_PANEL_SLOT = "capability";
116
- var RIG_SUPERVISOR_PANEL_ID = "supervisor";
117
115
  var PANEL_PRODUCER_TIMEOUT_MS = 2000;
118
- var RUN_SUPERVISOR_PANEL_REGISTRATION = {
119
- id: RIG_SUPERVISOR_PANEL_ID,
120
- slot: RIG_CAPABILITY_PANEL_SLOT,
121
- title: "Supervisor",
122
- capabilityId: "run.supervisor",
123
- description: "Live run status, closeout progress, and operator stop control."
124
- };
125
- function buildSupervisorPanelPayload(context) {
126
- const status = context.folded.status ?? "unknown";
127
- const taskId = context.folded.record.taskId ?? context.taskIdAtStart;
128
- const operatorActive = status === "running" || status === "validating" || status === "closing-out" || status === "needs-attention";
129
- return {
130
- status,
131
- currentTask: taskId ? { id: taskId, title: context.runDisplayTitle } : null,
132
- processed: context.folded.closeoutPhases.length,
133
- succeeded: context.folded.closeoutPhases.filter((phase) => phase.outcome === "completed").length,
134
- failed: context.folded.closeoutPhases.filter((phase) => phase.outcome === "failed").length,
135
- skipped: 0,
136
- plannedOrder: taskId ? [{ id: taskId, title: context.runDisplayTitle, status }] : [],
137
- idleReason: operatorActive ? null : status,
138
- stopActionId: operatorActive ? RIG_RUN_STOP_PANEL_ACTION : null,
139
- closures: []
140
- };
141
- }
142
- var RUN_SUPERVISOR_PANEL_PRODUCER = {
143
- ...RUN_SUPERVISOR_PANEL_REGISTRATION,
144
- produce(context) {
145
- return buildSupervisorPanelPayload(context);
146
- }
147
- };
148
116
  async function produceWorkerPanelPayload(producer, context) {
149
117
  if (!producer.produce)
150
118
  return;
@@ -160,37 +128,18 @@ async function produceWorkerPanelPayload(producer, context) {
160
128
  clearTimeout(timeout);
161
129
  }
162
130
  }
163
- var RUN_WORKER_PANEL_PLUGIN = {
164
- name: "@rig/run-worker-panels",
165
- version: "0.0.0-alpha.1",
166
- contributes: {
167
- panels: [RUN_SUPERVISOR_PANEL_REGISTRATION]
168
- },
169
- __runtime: {
170
- panels: [RUN_SUPERVISOR_PANEL_PRODUCER]
171
- }
172
- };
173
131
  async function loadWorkerPanelRegistry(projectRoot) {
174
- try {
175
- const { host, resolved } = await createProjectPluginHost(projectRoot, {
176
- mode: "compatibility-default-injection",
177
- surfaceName: "run-worker-panel-registry",
178
- surfaceExtras: [RUN_WORKER_PANEL_PLUGIN]
179
- });
180
- for (const message of projectPluginResolutionWarningMessages(resolved)) {
181
- console.warn(`[rig-run] ${message}`);
182
- }
183
- return {
184
- registrations: host.listPanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT),
185
- producers: host.listExecutablePanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT)
186
- };
187
- } catch (error) {
188
- console.error(`[rig-run] panel-registry-build-failed ${error instanceof Error ? error.message : String(error)}`);
189
- return {
190
- registrations: [RUN_SUPERVISOR_PANEL_REGISTRATION],
191
- producers: [RUN_SUPERVISOR_PANEL_PRODUCER]
192
- };
132
+ const { host, resolved } = await createProjectPluginHost(projectRoot, {
133
+ mode: "strict-config-only",
134
+ surfaceName: "run-worker-panel-registry"
135
+ });
136
+ for (const message of projectPluginResolutionWarningMessages(resolved)) {
137
+ console.warn(`[rig-run] ${message}`);
193
138
  }
139
+ return {
140
+ registrations: host.listPanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT),
141
+ producers: host.listExecutablePanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT)
142
+ };
194
143
  }
195
144
 
196
145
  // packages/run-worker/src/utils.ts
@@ -1,6 +1,6 @@
1
1
  // @bun
2
2
  // packages/run-worker/src/autohost.ts
3
- import { runPipelineCloseout } from "@rig/bundle-default-lifecycle/pipeline-closeout";
3
+ import { runPipelineCloseout } from "@rig/standard-plugin/lifecycle-closeout";
4
4
  import { adoptPlacementKernel } from "@rig/composition/kernel-entrypoint";
5
5
  import { latestTimelineEntriesFromCustomEntries, parseInboxResolutionSentinel, parsePauseSentinel, parseResumeSentinel, parseStopSentinel, sessionIdFromSessionFile } from "@rig/contracts";
6
6
  import { Duration, Effect, Fiber, Stream } from "effect";
@@ -110,41 +110,9 @@ function startRunProcessStallMonitor(opts) {
110
110
 
111
111
  // packages/run-worker/src/panel-plugin.ts
112
112
  import { createProjectPluginHost, projectPluginResolutionWarningMessages } from "@rig/composition/project-plugins";
113
+ import { RIG_CAPABILITY_PANEL_SLOT, RIG_RUN_STOP_PANEL_ACTION, RIG_SUPERVISOR_PANEL_ID } from "@rig/standard-plugin/run-worker-panels";
113
114
  var RIG_PANELS_CUSTOM_MESSAGE_TYPE = "rig-panels";
114
- var RIG_RUN_STOP_PANEL_ACTION = "rig-run:stop";
115
- var RIG_CAPABILITY_PANEL_SLOT = "capability";
116
- var RIG_SUPERVISOR_PANEL_ID = "supervisor";
117
115
  var PANEL_PRODUCER_TIMEOUT_MS = 2000;
118
- var RUN_SUPERVISOR_PANEL_REGISTRATION = {
119
- id: RIG_SUPERVISOR_PANEL_ID,
120
- slot: RIG_CAPABILITY_PANEL_SLOT,
121
- title: "Supervisor",
122
- capabilityId: "run.supervisor",
123
- description: "Live run status, closeout progress, and operator stop control."
124
- };
125
- function buildSupervisorPanelPayload(context) {
126
- const status = context.folded.status ?? "unknown";
127
- const taskId = context.folded.record.taskId ?? context.taskIdAtStart;
128
- const operatorActive = status === "running" || status === "validating" || status === "closing-out" || status === "needs-attention";
129
- return {
130
- status,
131
- currentTask: taskId ? { id: taskId, title: context.runDisplayTitle } : null,
132
- processed: context.folded.closeoutPhases.length,
133
- succeeded: context.folded.closeoutPhases.filter((phase) => phase.outcome === "completed").length,
134
- failed: context.folded.closeoutPhases.filter((phase) => phase.outcome === "failed").length,
135
- skipped: 0,
136
- plannedOrder: taskId ? [{ id: taskId, title: context.runDisplayTitle, status }] : [],
137
- idleReason: operatorActive ? null : status,
138
- stopActionId: operatorActive ? RIG_RUN_STOP_PANEL_ACTION : null,
139
- closures: []
140
- };
141
- }
142
- var RUN_SUPERVISOR_PANEL_PRODUCER = {
143
- ...RUN_SUPERVISOR_PANEL_REGISTRATION,
144
- produce(context) {
145
- return buildSupervisorPanelPayload(context);
146
- }
147
- };
148
116
  async function produceWorkerPanelPayload(producer, context) {
149
117
  if (!producer.produce)
150
118
  return;
@@ -160,37 +128,18 @@ async function produceWorkerPanelPayload(producer, context) {
160
128
  clearTimeout(timeout);
161
129
  }
162
130
  }
163
- var RUN_WORKER_PANEL_PLUGIN = {
164
- name: "@rig/run-worker-panels",
165
- version: "0.0.0-alpha.1",
166
- contributes: {
167
- panels: [RUN_SUPERVISOR_PANEL_REGISTRATION]
168
- },
169
- __runtime: {
170
- panels: [RUN_SUPERVISOR_PANEL_PRODUCER]
171
- }
172
- };
173
131
  async function loadWorkerPanelRegistry(projectRoot) {
174
- try {
175
- const { host, resolved } = await createProjectPluginHost(projectRoot, {
176
- mode: "compatibility-default-injection",
177
- surfaceName: "run-worker-panel-registry",
178
- surfaceExtras: [RUN_WORKER_PANEL_PLUGIN]
179
- });
180
- for (const message of projectPluginResolutionWarningMessages(resolved)) {
181
- console.warn(`[rig-run] ${message}`);
182
- }
183
- return {
184
- registrations: host.listPanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT),
185
- producers: host.listExecutablePanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT)
186
- };
187
- } catch (error) {
188
- console.error(`[rig-run] panel-registry-build-failed ${error instanceof Error ? error.message : String(error)}`);
189
- return {
190
- registrations: [RUN_SUPERVISOR_PANEL_REGISTRATION],
191
- producers: [RUN_SUPERVISOR_PANEL_PRODUCER]
192
- };
132
+ const { host, resolved } = await createProjectPluginHost(projectRoot, {
133
+ mode: "strict-config-only",
134
+ surfaceName: "run-worker-panel-registry"
135
+ });
136
+ for (const message of projectPluginResolutionWarningMessages(resolved)) {
137
+ console.warn(`[rig-run] ${message}`);
193
138
  }
139
+ return {
140
+ registrations: host.listPanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT),
141
+ producers: host.listExecutablePanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT)
142
+ };
194
143
  }
195
144
 
196
145
  // packages/run-worker/src/utils.ts
package/dist/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // @bun
2
2
  // packages/run-worker/src/autohost.ts
3
- import { runPipelineCloseout } from "@rig/bundle-default-lifecycle/pipeline-closeout";
3
+ import { runPipelineCloseout } from "@rig/standard-plugin/lifecycle-closeout";
4
4
  import { adoptPlacementKernel } from "@rig/composition/kernel-entrypoint";
5
5
  import { latestTimelineEntriesFromCustomEntries, parseInboxResolutionSentinel, parsePauseSentinel, parseResumeSentinel, parseStopSentinel, sessionIdFromSessionFile } from "@rig/contracts";
6
6
  import { Duration, Effect, Fiber, Stream } from "effect";
@@ -110,41 +110,9 @@ function startRunProcessStallMonitor(opts) {
110
110
 
111
111
  // packages/run-worker/src/panel-plugin.ts
112
112
  import { createProjectPluginHost, projectPluginResolutionWarningMessages } from "@rig/composition/project-plugins";
113
+ import { RIG_CAPABILITY_PANEL_SLOT, RIG_RUN_STOP_PANEL_ACTION, RIG_SUPERVISOR_PANEL_ID } from "@rig/standard-plugin/run-worker-panels";
113
114
  var RIG_PANELS_CUSTOM_MESSAGE_TYPE = "rig-panels";
114
- var RIG_RUN_STOP_PANEL_ACTION = "rig-run:stop";
115
- var RIG_CAPABILITY_PANEL_SLOT = "capability";
116
- var RIG_SUPERVISOR_PANEL_ID = "supervisor";
117
115
  var PANEL_PRODUCER_TIMEOUT_MS = 2000;
118
- var RUN_SUPERVISOR_PANEL_REGISTRATION = {
119
- id: RIG_SUPERVISOR_PANEL_ID,
120
- slot: RIG_CAPABILITY_PANEL_SLOT,
121
- title: "Supervisor",
122
- capabilityId: "run.supervisor",
123
- description: "Live run status, closeout progress, and operator stop control."
124
- };
125
- function buildSupervisorPanelPayload(context) {
126
- const status = context.folded.status ?? "unknown";
127
- const taskId = context.folded.record.taskId ?? context.taskIdAtStart;
128
- const operatorActive = status === "running" || status === "validating" || status === "closing-out" || status === "needs-attention";
129
- return {
130
- status,
131
- currentTask: taskId ? { id: taskId, title: context.runDisplayTitle } : null,
132
- processed: context.folded.closeoutPhases.length,
133
- succeeded: context.folded.closeoutPhases.filter((phase) => phase.outcome === "completed").length,
134
- failed: context.folded.closeoutPhases.filter((phase) => phase.outcome === "failed").length,
135
- skipped: 0,
136
- plannedOrder: taskId ? [{ id: taskId, title: context.runDisplayTitle, status }] : [],
137
- idleReason: operatorActive ? null : status,
138
- stopActionId: operatorActive ? RIG_RUN_STOP_PANEL_ACTION : null,
139
- closures: []
140
- };
141
- }
142
- var RUN_SUPERVISOR_PANEL_PRODUCER = {
143
- ...RUN_SUPERVISOR_PANEL_REGISTRATION,
144
- produce(context) {
145
- return buildSupervisorPanelPayload(context);
146
- }
147
- };
148
116
  async function produceWorkerPanelPayload(producer, context) {
149
117
  if (!producer.produce)
150
118
  return;
@@ -160,37 +128,18 @@ async function produceWorkerPanelPayload(producer, context) {
160
128
  clearTimeout(timeout);
161
129
  }
162
130
  }
163
- var RUN_WORKER_PANEL_PLUGIN = {
164
- name: "@rig/run-worker-panels",
165
- version: "0.0.0-alpha.1",
166
- contributes: {
167
- panels: [RUN_SUPERVISOR_PANEL_REGISTRATION]
168
- },
169
- __runtime: {
170
- panels: [RUN_SUPERVISOR_PANEL_PRODUCER]
171
- }
172
- };
173
131
  async function loadWorkerPanelRegistry(projectRoot) {
174
- try {
175
- const { host, resolved } = await createProjectPluginHost(projectRoot, {
176
- mode: "compatibility-default-injection",
177
- surfaceName: "run-worker-panel-registry",
178
- surfaceExtras: [RUN_WORKER_PANEL_PLUGIN]
179
- });
180
- for (const message of projectPluginResolutionWarningMessages(resolved)) {
181
- console.warn(`[rig-run] ${message}`);
182
- }
183
- return {
184
- registrations: host.listPanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT),
185
- producers: host.listExecutablePanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT)
186
- };
187
- } catch (error) {
188
- console.error(`[rig-run] panel-registry-build-failed ${error instanceof Error ? error.message : String(error)}`);
189
- return {
190
- registrations: [RUN_SUPERVISOR_PANEL_REGISTRATION],
191
- producers: [RUN_SUPERVISOR_PANEL_PRODUCER]
192
- };
132
+ const { host, resolved } = await createProjectPluginHost(projectRoot, {
133
+ mode: "strict-config-only",
134
+ surfaceName: "run-worker-panel-registry"
135
+ });
136
+ for (const message of projectPluginResolutionWarningMessages(resolved)) {
137
+ console.warn(`[rig-run] ${message}`);
193
138
  }
139
+ return {
140
+ registrations: host.listPanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT),
141
+ producers: host.listExecutablePanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT)
142
+ };
194
143
  }
195
144
 
196
145
  // packages/run-worker/src/utils.ts
@@ -852,13 +801,11 @@ export {
852
801
  __rigRunWorkerTest,
853
802
  __rigExtensionTest,
854
803
  TRACKED_RUN_STALL_MS,
855
- RUN_WORKER_PANEL_PLUGIN,
856
804
  RUN_PROCESS_STEER_TIMEOUT_MS,
857
805
  RUN_PROCESS_STALL_SWEEP_MS,
858
806
  RUN_PROCESS_STALL_DETAIL,
859
807
  RIG_SUPERVISOR_PANEL_ID,
860
808
  RIG_RUN_STOP_PANEL_ACTION,
861
809
  RIG_PANELS_CUSTOM_MESSAGE_TYPE,
862
- RIG_CAPABILITY_PANEL_SLOT,
863
810
  REGISTRY_PROJECTION_TIMELINE_LIMIT
864
811
  };
@@ -1,20 +1,12 @@
1
- import type { PanelRegistration, RunJournalProjection } from "@rig/contracts";
2
- import type { RigPluginWithRuntime, RuntimePanelProducer } from "@rig/core";
1
+ import type { PanelRegistration } from "@rig/contracts";
2
+ import type { RuntimePanelProducer } from "@rig/core";
3
+ import { RIG_RUN_STOP_PANEL_ACTION, RIG_SUPERVISOR_PANEL_ID, type WorkerPanelProducerContext } from "@rig/standard-plugin/run-worker-panels";
4
+ export { RIG_RUN_STOP_PANEL_ACTION, RIG_SUPERVISOR_PANEL_ID };
5
+ export type { WorkerPanelProducerContext };
3
6
  export declare const RIG_PANELS_CUSTOM_MESSAGE_TYPE = "rig-panels";
4
- export declare const RIG_RUN_STOP_PANEL_ACTION = "rig-run:stop";
5
- export declare const RIG_CAPABILITY_PANEL_SLOT = "capability";
6
- export declare const RIG_SUPERVISOR_PANEL_ID = "supervisor";
7
- export interface WorkerPanelProducerContext {
8
- readonly projectRoot: string;
9
- readonly runId: string;
10
- readonly folded: RunJournalProjection;
11
- readonly taskIdAtStart?: string | null;
12
- readonly runDisplayTitle: string;
13
- }
14
7
  export interface WorkerPanelRegistrySnapshot {
15
8
  readonly registrations: readonly PanelRegistration[];
16
9
  readonly producers: readonly RuntimePanelProducer[];
17
10
  }
18
11
  export declare function produceWorkerPanelPayload(producer: RuntimePanelProducer, context: WorkerPanelProducerContext): Promise<unknown>;
19
- export declare const RUN_WORKER_PANEL_PLUGIN: RigPluginWithRuntime;
20
12
  export declare function loadWorkerPanelRegistry(projectRoot: string): Promise<WorkerPanelRegistrySnapshot>;
@@ -1,41 +1,9 @@
1
1
  // @bun
2
2
  // packages/run-worker/src/panel-plugin.ts
3
3
  import { createProjectPluginHost, projectPluginResolutionWarningMessages } from "@rig/composition/project-plugins";
4
+ import { RIG_CAPABILITY_PANEL_SLOT, RIG_RUN_STOP_PANEL_ACTION, RIG_SUPERVISOR_PANEL_ID } from "@rig/standard-plugin/run-worker-panels";
4
5
  var RIG_PANELS_CUSTOM_MESSAGE_TYPE = "rig-panels";
5
- var RIG_RUN_STOP_PANEL_ACTION = "rig-run:stop";
6
- var RIG_CAPABILITY_PANEL_SLOT = "capability";
7
- var RIG_SUPERVISOR_PANEL_ID = "supervisor";
8
6
  var PANEL_PRODUCER_TIMEOUT_MS = 2000;
9
- var RUN_SUPERVISOR_PANEL_REGISTRATION = {
10
- id: RIG_SUPERVISOR_PANEL_ID,
11
- slot: RIG_CAPABILITY_PANEL_SLOT,
12
- title: "Supervisor",
13
- capabilityId: "run.supervisor",
14
- description: "Live run status, closeout progress, and operator stop control."
15
- };
16
- function buildSupervisorPanelPayload(context) {
17
- const status = context.folded.status ?? "unknown";
18
- const taskId = context.folded.record.taskId ?? context.taskIdAtStart;
19
- const operatorActive = status === "running" || status === "validating" || status === "closing-out" || status === "needs-attention";
20
- return {
21
- status,
22
- currentTask: taskId ? { id: taskId, title: context.runDisplayTitle } : null,
23
- processed: context.folded.closeoutPhases.length,
24
- succeeded: context.folded.closeoutPhases.filter((phase) => phase.outcome === "completed").length,
25
- failed: context.folded.closeoutPhases.filter((phase) => phase.outcome === "failed").length,
26
- skipped: 0,
27
- plannedOrder: taskId ? [{ id: taskId, title: context.runDisplayTitle, status }] : [],
28
- idleReason: operatorActive ? null : status,
29
- stopActionId: operatorActive ? RIG_RUN_STOP_PANEL_ACTION : null,
30
- closures: []
31
- };
32
- }
33
- var RUN_SUPERVISOR_PANEL_PRODUCER = {
34
- ...RUN_SUPERVISOR_PANEL_REGISTRATION,
35
- produce(context) {
36
- return buildSupervisorPanelPayload(context);
37
- }
38
- };
39
7
  async function produceWorkerPanelPayload(producer, context) {
40
8
  if (!producer.produce)
41
9
  return;
@@ -51,44 +19,23 @@ async function produceWorkerPanelPayload(producer, context) {
51
19
  clearTimeout(timeout);
52
20
  }
53
21
  }
54
- var RUN_WORKER_PANEL_PLUGIN = {
55
- name: "@rig/run-worker-panels",
56
- version: "0.0.0-alpha.1",
57
- contributes: {
58
- panels: [RUN_SUPERVISOR_PANEL_REGISTRATION]
59
- },
60
- __runtime: {
61
- panels: [RUN_SUPERVISOR_PANEL_PRODUCER]
62
- }
63
- };
64
22
  async function loadWorkerPanelRegistry(projectRoot) {
65
- try {
66
- const { host, resolved } = await createProjectPluginHost(projectRoot, {
67
- mode: "compatibility-default-injection",
68
- surfaceName: "run-worker-panel-registry",
69
- surfaceExtras: [RUN_WORKER_PANEL_PLUGIN]
70
- });
71
- for (const message of projectPluginResolutionWarningMessages(resolved)) {
72
- console.warn(`[rig-run] ${message}`);
73
- }
74
- return {
75
- registrations: host.listPanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT),
76
- producers: host.listExecutablePanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT)
77
- };
78
- } catch (error) {
79
- console.error(`[rig-run] panel-registry-build-failed ${error instanceof Error ? error.message : String(error)}`);
80
- return {
81
- registrations: [RUN_SUPERVISOR_PANEL_REGISTRATION],
82
- producers: [RUN_SUPERVISOR_PANEL_PRODUCER]
83
- };
23
+ const { host, resolved } = await createProjectPluginHost(projectRoot, {
24
+ mode: "strict-config-only",
25
+ surfaceName: "run-worker-panel-registry"
26
+ });
27
+ for (const message of projectPluginResolutionWarningMessages(resolved)) {
28
+ console.warn(`[rig-run] ${message}`);
84
29
  }
30
+ return {
31
+ registrations: host.listPanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT),
32
+ producers: host.listExecutablePanels().filter((registration) => registration.slot === RIG_CAPABILITY_PANEL_SLOT)
33
+ };
85
34
  }
86
35
  export {
87
36
  produceWorkerPanelPayload,
88
37
  loadWorkerPanelRegistry,
89
- RUN_WORKER_PANEL_PLUGIN,
90
38
  RIG_SUPERVISOR_PANEL_ID,
91
39
  RIG_RUN_STOP_PANEL_ACTION,
92
- RIG_PANELS_CUSTOM_MESSAGE_TYPE,
93
- RIG_CAPABILITY_PANEL_SLOT
40
+ RIG_PANELS_CUSTOM_MESSAGE_TYPE
94
41
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h-rig/run-worker",
3
- "version": "0.0.6-alpha.142",
3
+ "version": "0.0.6-alpha.143",
4
4
  "type": "module",
5
5
  "description": "Rig package",
6
6
  "license": "UNLICENSED",
@@ -27,13 +27,13 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@oh-my-pi/pi-coding-agent": "16.0.4",
30
- "@rig/bundle-default-lifecycle": "npm:@h-rig/bundle-default-lifecycle@0.0.6-alpha.142",
31
- "@rig/composition": "npm:@h-rig/composition@0.0.6-alpha.142",
32
- "@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.142",
33
- "@rig/core": "npm:@h-rig/core@0.0.6-alpha.142",
34
- "@rig/kernel": "npm:@h-rig/kernel@0.0.6-alpha.142",
35
- "@rig/relay-registry": "npm:@h-rig/relay-registry@0.0.6-alpha.142",
36
- "@rig/runtime": "npm:@h-rig/runtime@0.0.6-alpha.142",
30
+ "@rig/standard-plugin": "npm:@h-rig/standard-plugin@0.0.6-alpha.143",
31
+ "@rig/composition": "npm:@h-rig/composition@0.0.6-alpha.143",
32
+ "@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.143",
33
+ "@rig/core": "npm:@h-rig/core@0.0.6-alpha.143",
34
+ "@rig/kernel": "npm:@h-rig/kernel@0.0.6-alpha.143",
35
+ "@rig/relay-registry": "npm:@h-rig/relay-registry@0.0.6-alpha.143",
36
+ "@rig/runtime": "npm:@h-rig/runtime@0.0.6-alpha.143",
37
37
  "effect": "4.0.0-beta.90"
38
38
  }
39
39
  }