@adhdev/daemon-core 0.9.82-rc.185 → 0.9.82-rc.187
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/commands/mesh-coordinator.d.ts +13 -0
- package/dist/config/chat-history.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +21088 -20535
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6601 -6047
- package/dist/index.mjs.map +1 -1
- package/dist/mesh/beads-db.d.ts +1 -0
- package/dist/mesh/mesh-events.d.ts +46 -1
- package/dist/mesh/mesh-work-queue.d.ts +1 -0
- package/dist/providers/contracts.d.ts +1 -1
- package/dist/providers/native-history/dispatcher.d.ts +2 -0
- package/dist/providers/spec/cli-adapter.d.ts +1 -0
- package/dist/providers/spec/native-history-executor.d.ts +2 -0
- package/package.json +1 -1
- package/src/chat/subscription-updates.ts +6 -0
- package/src/commands/chat-commands.ts +182 -18
- package/src/commands/cli-manager.ts +4 -0
- package/src/commands/mesh-coordinator.ts +110 -5
- package/src/commands/router.ts +111 -17
- package/src/config/chat-history.ts +4 -0
- package/src/index.ts +1 -1
- package/src/mesh/beads-db.ts +4 -0
- package/src/mesh/mesh-events.ts +264 -4
- package/src/mesh/mesh-work-queue.ts +4 -0
- package/src/providers/cli-provider-instance.ts +12 -4
- package/src/providers/contracts.ts +1 -1
- package/src/providers/native-history/dispatcher.ts +126 -17
- package/src/providers/provider-loader.ts +4 -7
- package/src/providers/spec/cli-adapter.ts +32 -5
- package/src/providers/spec/evaluator.ts +11 -1
- package/src/providers/spec/native-history-executor.ts +93 -27
- package/src/providers/types/interactive-prompt.ts +13 -1
|
@@ -25,6 +25,7 @@ export type MeshCoordinatorSetup = {
|
|
|
25
25
|
command: string;
|
|
26
26
|
requiresRestart: boolean;
|
|
27
27
|
instructions: string;
|
|
28
|
+
mcpServer: MeshCoordinatorMcpServerLaunch;
|
|
28
29
|
} | {
|
|
29
30
|
kind: 'unsupported';
|
|
30
31
|
reason: string;
|
|
@@ -93,6 +94,18 @@ export interface PtyExecResult {
|
|
|
93
94
|
output: string;
|
|
94
95
|
timedOut: boolean;
|
|
95
96
|
}
|
|
97
|
+
export interface MeshCoordinatorRegistrationStep {
|
|
98
|
+
command: string;
|
|
99
|
+
args: string[];
|
|
100
|
+
required: boolean;
|
|
101
|
+
label: 'remove_existing' | 'register';
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Codex rejects `mcp add` when a server with the same name already exists.
|
|
105
|
+
* Replace that entry before registering so transport/mesh changes do not leave
|
|
106
|
+
* a fresh coordinator attached to stale MCP launch arguments.
|
|
107
|
+
*/
|
|
108
|
+
export declare function buildMeshCoordinatorRegistrationPlan(cliType: string, serverName: string, registrationCommand: string): MeshCoordinatorRegistrationStep[];
|
|
96
109
|
/**
|
|
97
110
|
* Run a one-shot CLI command under a real PTY and collect its output.
|
|
98
111
|
*
|
|
@@ -121,6 +121,7 @@ export declare function readProviderChatHistory(agentType: string, options?: {
|
|
|
121
121
|
sourcePath?: string;
|
|
122
122
|
sourceMtimeMs?: number;
|
|
123
123
|
providerSessionId?: string;
|
|
124
|
+
workspace?: string;
|
|
124
125
|
nativeHistoryCoverage?: string;
|
|
125
126
|
partialReason?: string;
|
|
126
127
|
unavailableReason?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export type { MeshActiveWorkRecord, MeshActiveWorkStatus, MeshActiveWorkSummary,
|
|
|
50
50
|
export { buildMeshAsyncRefineJobs } from './mesh/mesh-refine-status.js';
|
|
51
51
|
export type { MeshAsyncRefineJobStatus, MeshAsyncRefineJobSummary } from './mesh/mesh-refine-status.js';
|
|
52
52
|
export { buildMeshHostRequiredFailure, createDefaultMeshHostMetadata, isMeshHostOwner, normalizeMeshDaemonRole, requireMeshHostQueueOwner, resolveMeshHostStatus } from './mesh/mesh-host-ownership.js';
|
|
53
|
-
export { triggerMeshQueue, drainPendingMeshCoordinatorEvents, getPendingMeshCoordinatorEvents, clearPendingMeshCoordinatorEvents, queuePendingMeshCoordinatorEvent } from './mesh/mesh-events.js';
|
|
53
|
+
export { triggerMeshQueue, drainPendingMeshCoordinatorEvents, getPendingMeshCoordinatorEvents, clearPendingMeshCoordinatorEvents, queuePendingMeshCoordinatorEvent, reconcileDirectDispatchCompletionFromTranscript } from './mesh/mesh-events.js';
|
|
54
54
|
export type { PendingMeshCoordinatorEvent } from './mesh/mesh-events.js';
|
|
55
55
|
export { P2pRelayFailureError, buildP2pRelayFailurePayload, classifyP2pRelayFailure, isP2pRelayTransportFailure, } from './mesh/p2p-relay-failure.js';
|
|
56
56
|
export type { P2pRelayFailureClassification, P2pRelayFailureCode, P2pRelayFailureContext, P2pRelayFailurePayload, } from './mesh/p2p-relay-failure.js';
|