@adhdev/daemon-core 0.9.70 → 0.9.72
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/cli-adapters/provider-cli-adapter.d.ts +1 -0
- package/dist/commands/cli-manager.d.ts +1 -0
- package/dist/commands/mesh-coordinator.d.ts +7 -0
- package/dist/index.js +315 -137
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +314 -136
- package/dist/index.mjs.map +1 -1
- package/dist/mesh/mesh-events.d.ts +2 -0
- package/dist/providers/cli-provider-instance.d.ts +1 -0
- package/dist/shared-types.d.ts +2 -0
- package/node_modules/@adhdev/session-host-core/package.json +1 -1
- package/package.json +1 -1
- package/src/boot/daemon-lifecycle.ts +7 -1
- package/src/cli-adapters/provider-cli-adapter.ts +24 -2
- package/src/commands/chat-commands.ts +37 -1
- package/src/commands/cli-manager.ts +3 -3
- package/src/commands/mesh-coordinator.ts +82 -1
- package/src/commands/router.ts +26 -6
- package/src/mesh/mesh-events.ts +61 -0
- package/src/providers/cli-provider-instance.ts +21 -16
- package/src/shared-types.ts +2 -0
- package/src/status/builders.ts +4 -0
- package/src/status/reporter.ts +1 -0
|
@@ -206,6 +206,7 @@ export declare class ProviderCliAdapter implements CliAdapter {
|
|
|
206
206
|
writeRaw(data: string): Promise<void>;
|
|
207
207
|
resolveModal(buttonIndex: number): void;
|
|
208
208
|
resize(cols: number, rows: number): void;
|
|
209
|
+
private getParsedDebugState;
|
|
209
210
|
getDebugState(): Record<string, any>;
|
|
210
211
|
getTraceState(limit?: number): Record<string, any>;
|
|
211
212
|
getProviderResolutionMeta(): ProviderResolutionMeta;
|
|
@@ -75,6 +75,7 @@ export declare class DaemonCliManager {
|
|
|
75
75
|
private registerCliInstance;
|
|
76
76
|
startSession(cliType: string, workingDir: string, cliArgs?: string[], initialModel?: string, options?: {
|
|
77
77
|
resumeSessionId?: string;
|
|
78
|
+
settingsOverride?: Record<string, any>;
|
|
78
79
|
}): Promise<{
|
|
79
80
|
runtimeSessionId: string;
|
|
80
81
|
providerSessionId?: string;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import type { ProviderModule, MeshCoordinatorMcpConfigFormat } from '../providers/contracts.js';
|
|
2
|
+
export interface MeshCoordinatorMcpServerLaunch {
|
|
3
|
+
command: string;
|
|
4
|
+
args: string[];
|
|
5
|
+
}
|
|
2
6
|
export type MeshCoordinatorSetup = {
|
|
3
7
|
kind: 'auto_import';
|
|
4
8
|
serverName: string;
|
|
5
9
|
configPath: string;
|
|
6
10
|
configFormat?: MeshCoordinatorMcpConfigFormat;
|
|
11
|
+
mcpServer: MeshCoordinatorMcpServerLaunch;
|
|
7
12
|
} | {
|
|
8
13
|
kind: 'manual';
|
|
9
14
|
serverName: string;
|
|
@@ -21,5 +26,7 @@ export interface ResolveMeshCoordinatorSetupOptions {
|
|
|
21
26
|
meshId: string;
|
|
22
27
|
workspace: string;
|
|
23
28
|
adhdevMcpCommand?: string;
|
|
29
|
+
adhdevMcpEntryPath?: string;
|
|
30
|
+
nodeExecutable?: string;
|
|
24
31
|
}
|
|
25
32
|
export declare function resolveMeshCoordinatorSetup(options: ResolveMeshCoordinatorSetupOptions): MeshCoordinatorSetup;
|