@hailer/mcp 1.1.10 → 1.1.11

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.
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Bot Configuration Module
3
+ *
4
+ * Modular structure for bot configuration management.
5
+ * Re-exports all public APIs for backwards compatibility.
6
+ */
7
+ export type { SchemaConfig, BotStateEntry, BotStateMap, BotInfo, BotCredentials, ActivitySchemaConfig, LocalCredentials } from './types';
8
+ export { AVAILABLE_BOTS, LEGACY_AGENT_ACTIVITY_IDS } from './constants';
9
+ export { getWorkspaceByWorkflowId, getAllConfiguredWorkspaces, setActiveWorkspace, getActiveWorkspace, getWorkspaceSchema, setWorkspaceSchema, getAgentDirectoryWorkflowId, getPhaseIds, getOrchestratorUserId, setOrchestratorUserId, onBotStateChange, onBotCredentialsChange, onDaemonRestartNeeded, cleanupBotConfig, getBotState, getBotUserId, getBotType, getEnabledBotsWithTypes, setBotUserId, setBotEnabled, handleActivityPhaseChange, reloadConfigFromHailer, initBotConfigPersistence, initWorkspaceSchema, isPersistenceInitialized, getBotCredentials, updateBotCredentials, getLocalBotCredentials, getAllLocalBotCredentials, getPersistenceStatus, listBotsConfigTool, enableBotTool, disableBotTool, checkSpecialistStatusTool, botConfigTools } from './core';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /**
3
+ * Bot Configuration Module
4
+ *
5
+ * Modular structure for bot configuration management.
6
+ * Re-exports all public APIs for backwards compatibility.
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.botConfigTools = exports.checkSpecialistStatusTool = exports.disableBotTool = exports.enableBotTool = exports.listBotsConfigTool = exports.getPersistenceStatus = exports.getAllLocalBotCredentials = exports.getLocalBotCredentials = exports.updateBotCredentials = exports.getBotCredentials = exports.isPersistenceInitialized = exports.initWorkspaceSchema = exports.initBotConfigPersistence = exports.reloadConfigFromHailer = exports.handleActivityPhaseChange = exports.setBotEnabled = exports.setBotUserId = exports.getEnabledBotsWithTypes = exports.getBotType = exports.getBotUserId = exports.getBotState = exports.cleanupBotConfig = exports.onDaemonRestartNeeded = exports.onBotCredentialsChange = exports.onBotStateChange = exports.setOrchestratorUserId = exports.getOrchestratorUserId = exports.getPhaseIds = exports.getAgentDirectoryWorkflowId = exports.setWorkspaceSchema = exports.getWorkspaceSchema = exports.getActiveWorkspace = exports.setActiveWorkspace = exports.getAllConfiguredWorkspaces = exports.getWorkspaceByWorkflowId = exports.LEGACY_AGENT_ACTIVITY_IDS = exports.AVAILABLE_BOTS = void 0;
10
+ // Constants
11
+ var constants_1 = require("./constants");
12
+ Object.defineProperty(exports, "AVAILABLE_BOTS", { enumerable: true, get: function () { return constants_1.AVAILABLE_BOTS; } });
13
+ Object.defineProperty(exports, "LEGACY_AGENT_ACTIVITY_IDS", { enumerable: true, get: function () { return constants_1.LEGACY_AGENT_ACTIVITY_IDS; } });
14
+ // Core functionality - all exports from core.ts
15
+ var core_1 = require("./core");
16
+ // Schema management
17
+ Object.defineProperty(exports, "getWorkspaceByWorkflowId", { enumerable: true, get: function () { return core_1.getWorkspaceByWorkflowId; } });
18
+ Object.defineProperty(exports, "getAllConfiguredWorkspaces", { enumerable: true, get: function () { return core_1.getAllConfiguredWorkspaces; } });
19
+ Object.defineProperty(exports, "setActiveWorkspace", { enumerable: true, get: function () { return core_1.setActiveWorkspace; } });
20
+ Object.defineProperty(exports, "getActiveWorkspace", { enumerable: true, get: function () { return core_1.getActiveWorkspace; } });
21
+ Object.defineProperty(exports, "getWorkspaceSchema", { enumerable: true, get: function () { return core_1.getWorkspaceSchema; } });
22
+ Object.defineProperty(exports, "setWorkspaceSchema", { enumerable: true, get: function () { return core_1.setWorkspaceSchema; } });
23
+ Object.defineProperty(exports, "getAgentDirectoryWorkflowId", { enumerable: true, get: function () { return core_1.getAgentDirectoryWorkflowId; } });
24
+ Object.defineProperty(exports, "getPhaseIds", { enumerable: true, get: function () { return core_1.getPhaseIds; } });
25
+ // Orchestrator tracking
26
+ Object.defineProperty(exports, "getOrchestratorUserId", { enumerable: true, get: function () { return core_1.getOrchestratorUserId; } });
27
+ Object.defineProperty(exports, "setOrchestratorUserId", { enumerable: true, get: function () { return core_1.setOrchestratorUserId; } });
28
+ // Callbacks
29
+ Object.defineProperty(exports, "onBotStateChange", { enumerable: true, get: function () { return core_1.onBotStateChange; } });
30
+ Object.defineProperty(exports, "onBotCredentialsChange", { enumerable: true, get: function () { return core_1.onBotCredentialsChange; } });
31
+ Object.defineProperty(exports, "onDaemonRestartNeeded", { enumerable: true, get: function () { return core_1.onDaemonRestartNeeded; } });
32
+ Object.defineProperty(exports, "cleanupBotConfig", { enumerable: true, get: function () { return core_1.cleanupBotConfig; } });
33
+ // Bot state
34
+ Object.defineProperty(exports, "getBotState", { enumerable: true, get: function () { return core_1.getBotState; } });
35
+ Object.defineProperty(exports, "getBotUserId", { enumerable: true, get: function () { return core_1.getBotUserId; } });
36
+ Object.defineProperty(exports, "getBotType", { enumerable: true, get: function () { return core_1.getBotType; } });
37
+ Object.defineProperty(exports, "getEnabledBotsWithTypes", { enumerable: true, get: function () { return core_1.getEnabledBotsWithTypes; } });
38
+ Object.defineProperty(exports, "setBotUserId", { enumerable: true, get: function () { return core_1.setBotUserId; } });
39
+ Object.defineProperty(exports, "setBotEnabled", { enumerable: true, get: function () { return core_1.setBotEnabled; } });
40
+ // Activity handling
41
+ Object.defineProperty(exports, "handleActivityPhaseChange", { enumerable: true, get: function () { return core_1.handleActivityPhaseChange; } });
42
+ Object.defineProperty(exports, "reloadConfigFromHailer", { enumerable: true, get: function () { return core_1.reloadConfigFromHailer; } });
43
+ // Persistence
44
+ Object.defineProperty(exports, "initBotConfigPersistence", { enumerable: true, get: function () { return core_1.initBotConfigPersistence; } });
45
+ Object.defineProperty(exports, "initWorkspaceSchema", { enumerable: true, get: function () { return core_1.initWorkspaceSchema; } });
46
+ Object.defineProperty(exports, "isPersistenceInitialized", { enumerable: true, get: function () { return core_1.isPersistenceInitialized; } });
47
+ // Credentials
48
+ Object.defineProperty(exports, "getBotCredentials", { enumerable: true, get: function () { return core_1.getBotCredentials; } });
49
+ Object.defineProperty(exports, "updateBotCredentials", { enumerable: true, get: function () { return core_1.updateBotCredentials; } });
50
+ Object.defineProperty(exports, "getLocalBotCredentials", { enumerable: true, get: function () { return core_1.getLocalBotCredentials; } });
51
+ Object.defineProperty(exports, "getAllLocalBotCredentials", { enumerable: true, get: function () { return core_1.getAllLocalBotCredentials; } });
52
+ Object.defineProperty(exports, "getPersistenceStatus", { enumerable: true, get: function () { return core_1.getPersistenceStatus; } });
53
+ // MCP Tools
54
+ Object.defineProperty(exports, "listBotsConfigTool", { enumerable: true, get: function () { return core_1.listBotsConfigTool; } });
55
+ Object.defineProperty(exports, "enableBotTool", { enumerable: true, get: function () { return core_1.enableBotTool; } });
56
+ Object.defineProperty(exports, "disableBotTool", { enumerable: true, get: function () { return core_1.disableBotTool; } });
57
+ Object.defineProperty(exports, "checkSpecialistStatusTool", { enumerable: true, get: function () { return core_1.checkSpecialistStatusTool; } });
58
+ Object.defineProperty(exports, "botConfigTools", { enumerable: true, get: function () { return core_1.botConfigTools; } });
59
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Bot Configuration MCP Tools
3
+ *
4
+ * Re-exported from core.ts for modular structure.
5
+ */
6
+ export { listBotsConfigTool, enableBotTool, disableBotTool, checkSpecialistStatusTool, botConfigTools } from './core';
7
+ //# sourceMappingURL=tools.d.ts.map
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * Bot Configuration MCP Tools
4
+ *
5
+ * Re-exported from core.ts for modular structure.
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.botConfigTools = exports.checkSpecialistStatusTool = exports.disableBotTool = exports.enableBotTool = exports.listBotsConfigTool = void 0;
9
+ var core_1 = require("./core");
10
+ Object.defineProperty(exports, "listBotsConfigTool", { enumerable: true, get: function () { return core_1.listBotsConfigTool; } });
11
+ Object.defineProperty(exports, "enableBotTool", { enumerable: true, get: function () { return core_1.enableBotTool; } });
12
+ Object.defineProperty(exports, "disableBotTool", { enumerable: true, get: function () { return core_1.disableBotTool; } });
13
+ Object.defineProperty(exports, "checkSpecialistStatusTool", { enumerable: true, get: function () { return core_1.checkSpecialistStatusTool; } });
14
+ Object.defineProperty(exports, "botConfigTools", { enumerable: true, get: function () { return core_1.botConfigTools; } });
15
+ //# sourceMappingURL=tools.js.map
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Bot Configuration Types
3
+ */
4
+ export interface SchemaConfig {
5
+ agentDirectoryWorkflowId: string | null;
6
+ deployedPhaseId: string | null;
7
+ retiredPhaseId: string | null;
8
+ hailerProfileFieldId: string | null;
9
+ emailFieldId: string | null;
10
+ passwordFieldId: string | null;
11
+ botTypeFieldId: string | null;
12
+ }
13
+ export interface BotStateEntry {
14
+ enabled: boolean;
15
+ userId: string | null;
16
+ botType: string | null;
17
+ }
18
+ export type BotStateMap = {
19
+ [userIdOrBotId: string]: BotStateEntry;
20
+ };
21
+ export interface BotInfo {
22
+ id: string;
23
+ name: string;
24
+ description: string;
25
+ icon: string;
26
+ }
27
+ export interface BotCredentials {
28
+ email?: string;
29
+ password?: string;
30
+ displayName?: string;
31
+ workspaceId?: string;
32
+ }
33
+ export interface ActivitySchemaConfig {
34
+ agentDirectoryWorkflowId?: string;
35
+ deployedPhaseId?: string;
36
+ retiredPhaseId?: string;
37
+ hailerProfileFieldId?: string;
38
+ emailFieldId?: string;
39
+ passwordFieldId?: string;
40
+ botTypeFieldId?: string;
41
+ }
42
+ export interface LocalCredentials {
43
+ [userId: string]: {
44
+ email: string;
45
+ password: string;
46
+ displayName?: string;
47
+ workspaceId?: string;
48
+ };
49
+ }
50
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ /**
3
+ * Bot Configuration Types
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Bug Fixer MCP Tools
3
+ *
4
+ * Bug-fixing tools for Bug Fixer specialist daemon.
5
+ * These tools handle file operations, git, and build commands.
6
+ */
7
+ import { Tool } from "../tool-registry";
8
+ export declare const bugFixerFindAppTool: Tool;
9
+ export declare const bugFixerListFilesTool: Tool;
10
+ export declare const bugFixerReadFileTool: Tool;
11
+ export declare const bugFixerWriteFileTool: Tool;
12
+ export declare const bugFixerApplyFixTool: Tool;
13
+ export declare const bugFixerRunBuildTool: Tool;
14
+ export declare const bugFixerGitStatusTool: Tool;
15
+ export declare const bugFixerGitPullTool: Tool;
16
+ export declare const bugFixerGitCommitTool: Tool;
17
+ export declare const bugFixerGitPushTool: Tool;
18
+ export declare const bugFixerGitRevertTool: Tool;
19
+ export declare const bugFixerPublishAppTool: Tool;
20
+ /**
21
+ * Analyze Bug Tool - Read bug report and get classification info
22
+ * The LLM uses this to understand the bug and decide next steps
23
+ */
24
+ export declare const bugFixerAnalyzeBugTool: Tool;
25
+ /**
26
+ * Start Fix Tool - Begin the bug fix process
27
+ * This triggers the full fix workflow: find app → analyze → apply fix → build
28
+ */
29
+ export declare const bugFixerStartFixTool: Tool;
30
+ /**
31
+ * Mark Declined Tool - Mark bug as not-a-bug and close it
32
+ */
33
+ export declare const bugFixerMarkDeclinedTool: Tool;
34
+ /**
35
+ * Publish Fix Tool - Publish the fix to production
36
+ */
37
+ export declare const bugFixerPublishFixTool: Tool;
38
+ /**
39
+ * Retry Fix Tool - Retry a fix with additional context/explanation
40
+ */
41
+ export declare const bugFixerRetryFixTool: Tool;
42
+ export declare const markBugDeclinedTool: Tool;
43
+ export declare const markBugFixedTool: Tool;
44
+ export declare const bugFixerTools: Tool[];
45
+ //# sourceMappingURL=bug-fixer-tools.d.ts.map