@blackbelt-technology/pi-dashboard-apple-tools 0.10.0 → 0.11.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blackbelt-technology/pi-dashboard-apple-tools",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Provision and surface iMCP (Apple PIM: Calendar, Contacts, Reminders, Messages, Location, Maps, Weather) for pi. One-command installer, a dashboard provisioning panel, and an agent skill. macOS-only; no Apple Mail.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -83,9 +83,9 @@
83
83
  "react-dom": ">=18.0.0"
84
84
  },
85
85
  "dependencies": {
86
- "@blackbelt-technology/dashboard-plugin-runtime": "^0.10.0",
87
- "@blackbelt-technology/pi-dashboard-mcp-client-plugin": "^0.10.0",
88
- "@blackbelt-technology/pi-dashboard-shared": "^0.10.0",
86
+ "@blackbelt-technology/dashboard-plugin-runtime": "^0.11.0",
87
+ "@blackbelt-technology/pi-dashboard-mcp-core": "^0.11.0",
88
+ "@blackbelt-technology/pi-dashboard-shared": "^0.11.0",
89
89
  "@mdi/js": "^7.4.47",
90
90
  "@mdi/react": "^1.6.1"
91
91
  },
@@ -20,16 +20,7 @@
20
20
  * See changes: add-apple-tools-imcp-plugin (Decision 5), extract-mcp-client-plugin,
21
21
  * retro-ux-plugin-settings-wave-2.
22
22
  */
23
- import {
24
- SettingsCopyButton,
25
- SettingsItem,
26
- SettingsNotice,
27
- SettingsStatusPill,
28
- type SettingsStatusTone,
29
- TextField,
30
- useSettingsDraftSource,
31
- } from "@blackbelt-technology/dashboard-plugin-runtime";
32
- import { usePluginConfig, usePluginSend } from "@blackbelt-technology/dashboard-plugin-runtime/context";
23
+ import { SettingsCopyButton, SettingsItem, SettingsNotice, SettingsStatusPill, type SettingsStatusTone, TextField, usePluginConfig, usePluginSend, useSettingsDraftSource } from "@blackbelt-technology/dashboard-plugin-runtime";
33
24
  import { mdiOpenInNew, mdiRefresh } from "@mdi/js";
34
25
  import { Icon } from "@mdi/react";
35
26
  import { type ReactNode, useCallback, useEffect, useRef, useState } from "react";
package/src/env.ts CHANGED
@@ -21,13 +21,13 @@ import {
21
21
  createMcpClientConfigService,
22
22
  createRealConfigIO,
23
23
  type LayerPaths,
24
- } from "@blackbelt-technology/pi-dashboard-mcp-client-plugin/core";
24
+ } from "@blackbelt-technology/pi-dashboard-mcp-core";
25
25
  import { execFileSync } from "@blackbelt-technology/pi-dashboard-shared/platform/exec.js";
26
26
  import { IMCP_BREW_CASK } from "./detect.js";
27
27
  import type { BrewResult, InstallerEnv } from "./install.js";
28
28
 
29
29
  /** 10-minute cap on the brew cask install (design X4). */
30
- export const BREW_TIMEOUT_MS = 10 * 60 * 1000;
30
+ const BREW_TIMEOUT_MS = 10 * 60 * 1000;
31
31
 
32
32
  function probeOsVersion(): string | null {
33
33
  try {
package/src/install.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  import type {
10
10
  ConfigRefusal,
11
11
  McpClientConfigService,
12
- } from "@blackbelt-technology/pi-dashboard-mcp-client-plugin/core";
12
+ } from "@blackbelt-technology/pi-dashboard-mcp-core";
13
13
  import {
14
14
  discoverServer,
15
15
  IMCP_BREW_CASK,
@@ -16,15 +16,14 @@
16
16
  import type { ServerPluginContext } from "@blackbelt-technology/dashboard-plugin-runtime/server";
17
17
  import {
18
18
  displayExposure,
19
+ MCP_CLIENT_CONFIG_SERVICE_KEY,
19
20
  type McpClientConfigService,
20
- } from "@blackbelt-technology/pi-dashboard-mcp-client-plugin/core";
21
+ } from "@blackbelt-technology/pi-dashboard-mcp-core";
21
22
  import { createInstallerEnv } from "../env.js";
22
23
  import { runInstaller, type TerminalState } from "../install.js";
23
24
  import { DEFAULT_IMCP_PATH, shouldReconcilePath } from "../reconcile.js";
24
25
 
25
26
  const PLUGIN_ID = "apple-tools";
26
- /** The service key the `mcp-client` plugin provides. */
27
- const SERVICE_KEY = "mcp-client.config";
28
27
  /** Status readout TTL — the traversal shells out to `sw_vers`/`which`, so a
29
28
  * polling panel must not re-run it per request. Mirrors the 30s requirement-
30
29
  * probe cache. */
@@ -59,7 +58,7 @@ interface StatusReadout {
59
58
  export async function registerPlugin(ctx: ServerPluginContext): Promise<void> {
60
59
  ctx.logger.info("apple-tools server entry activated");
61
60
 
62
- const consumed = ctx.consume<McpClientConfigService>(SERVICE_KEY);
61
+ const consumed = ctx.consume<McpClientConfigService>(MCP_CLIENT_CONFIG_SERVICE_KEY);
63
62
  if (!consumed) {
64
63
  throw new Error(
65
64
  "apple-tools requires the `mcp-client.config` service (plugin id `mcp-client`); " +