@agimon-ai/doompi-task 0.0.1-alpha.87 → 0.0.1-alpha.88

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 +1 @@
1
- {"version":3,"file":"mcp.d.mts","names":[],"sources":["../../generated/mcp.ts"],"mappings":";qBAWa,+CAAG"}
1
+ {"version":3,"file":"mcp.d.mts","names":[],"sources":["../../generated/mcp.ts"],"mappings":";qBAea,+CAAG"}
@@ -1824,10 +1824,17 @@ const via = (identity, value) => value === void 0 ? void 0 : {
1824
1824
  ...identity,
1825
1825
  ...value
1826
1826
  };
1827
+ const withWidget = (key, value) => value === void 0 ? value : {
1828
+ ...value,
1829
+ _meta: {
1830
+ ...value._meta,
1831
+ ["doompi/widget"]: key
1832
+ }
1833
+ };
1827
1834
  const mcp = defineMcpPlugin({
1828
1835
  name: "@agimon-ai/doompi-task",
1829
1836
  session: (context) => ({ get tools() {
1830
- return [via({ name: "task" }, at(task_mcp_default, context))];
1837
+ return [withWidget("@agimon-ai/doompi-task/task", via({ name: "task" }, at(task_mcp_default, context)))];
1831
1838
  } })
1832
1839
  });
1833
1840
  //#endregion