@hoststack.dev/mcp 0.17.0 → 0.19.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/dist/index.d.ts CHANGED
@@ -21,7 +21,18 @@ declare class ApiClient {
21
21
  private handle;
22
22
  }
23
23
 
24
- type ToolCategory = 'projects' | 'services' | 'deploys' | 'databases' | 'domains' | 'dns' | 'volumes' | 'machines' | 'env-vars' | 'environments' | 'resource-links' | 'cron' | 'logs' | 'activity-log' | 'alerts' | 'github' | 'meta';
24
+ /**
25
+ * Every category a tool may declare, as a runtime value.
26
+ *
27
+ * The type below is DERIVED from this rather than written beside it, because
28
+ * the two had already drifted: `output-contract.test.ts` kept its own hand-copy
29
+ * of this list, 'support' was added to the type and not to the copy, and the
30
+ * test only failed on the runs where a sibling test file happened to have
31
+ * imported `tools/issue-reports.ts` into the same process first. One list, one
32
+ * source of truth, and the test reads it.
33
+ */
34
+ declare const TOOL_CATEGORIES: readonly ["projects", "services", "deploys", "databases", "domains", "dns", "volumes", "machines", "env-vars", "environments", "resource-links", "cron", "dev-tasks", "logs", "activity-log", "alerts", "errors", "uptime", "analytics", "github", "support", "meta"];
35
+ type ToolCategory = (typeof TOOL_CATEGORIES)[number];
25
36
  interface ToolContext {
26
37
  hoststack: HostStack;
27
38
  api: ApiClient;