@h-rig/core 0.0.6-alpha.159 → 0.0.6-alpha.160

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.
@@ -782,7 +782,8 @@ function createTaskFieldRegistry(extensions) {
782
782
  import {
783
783
  MANAGED_REPO_SERVICE_CAPABILITY,
784
784
  SESSION_ASSET_MATERIALIZER,
785
- TASK_DATA_SERVICE_CAPABILITY
785
+ TASK_DATA_SERVICE_CAPABILITY,
786
+ TOOL_MATERIALIZER
786
787
  } from "@rig/contracts";
787
788
 
788
789
  // packages/core/src/capability.ts
@@ -1199,6 +1200,7 @@ function safeReadJson(path) {
1199
1200
  var ManagedRepoCap = defineCapability(MANAGED_REPO_SERVICE_CAPABILITY);
1200
1201
  var SessionAssetMaterializerCap = defineCapability(SESSION_ASSET_MATERIALIZER);
1201
1202
  var TaskDataCap = defineCapability(TASK_DATA_SERVICE_CAPABILITY);
1203
+ var ToolMaterializerCap = defineCapability(TOOL_MATERIALIZER);
1202
1204
  async function buildPluginHostContext(projectRoot) {
1203
1205
  let config;
1204
1206
  let pluginHost;
@@ -1224,6 +1226,10 @@ async function buildPluginHostContext(projectRoot) {
1224
1226
  if (taskDataService) {
1225
1227
  installCapability(TaskDataCap, taskDataService);
1226
1228
  }
1229
+ const toolMaterializer = await ToolMaterializerCap.resolve(pluginHost);
1230
+ if (toolMaterializer) {
1231
+ installCapability(ToolMaterializerCap, toolMaterializer);
1232
+ }
1227
1233
  const managedRepoService = await ManagedRepoCap.resolve(pluginHost);
1228
1234
  let repoRegistry;
1229
1235
  if (managedRepoService) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h-rig/core",
3
- "version": "0.0.6-alpha.159",
3
+ "version": "0.0.6-alpha.160",
4
4
  "type": "module",
5
5
  "description": "Config and plugin composition library for Rig's OMP extension ecosystem; not a product host/runtime.",
6
6
  "license": "UNLICENSED",
@@ -165,8 +165,8 @@
165
165
  "module": "./dist/src/index.js",
166
166
  "types": "./dist/src/index.d.ts",
167
167
  "dependencies": {
168
- "@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.159",
169
- "@rig/kernel-seed": "npm:@h-rig/kernel-seed@0.0.6-alpha.159",
168
+ "@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.160",
169
+ "@rig/kernel-seed": "npm:@h-rig/kernel-seed@0.0.6-alpha.160",
170
170
  "effect": "4.0.0-beta.90",
171
171
  "smol-toml": "^1.6.0"
172
172
  }