@adhdev/daemon-core 0.9.82-rc.446 → 0.9.82-rc.448
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/config/mesh-config.d.ts +9 -0
- package/dist/git/git-commands.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +868 -685
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +873 -688
- package/dist/index.mjs.map +1 -1
- package/dist/mesh/mesh-node-identity.d.ts +2 -0
- package/dist/repo-mesh-types.d.ts +10 -0
- package/dist/session-host/managed-host.d.ts +64 -0
- package/package.json +2 -2
- package/src/commands/high-family/mesh-status.ts +15 -0
- package/src/config/mesh-config.ts +26 -1
- package/src/git/git-commands.ts +21 -2
- package/src/index.ts +2 -0
- package/src/mesh/mesh-node-identity.ts +16 -6
- package/src/repo-mesh-types.ts +10 -0
- package/src/session-host/managed-host.ts +218 -0
|
@@ -110,6 +110,11 @@ export interface AddNodeOptions {
|
|
|
110
110
|
clonedFromNodeId?: string;
|
|
111
111
|
worktreeBootstrap?: LocalMeshNodeEntry['worktreeBootstrap'];
|
|
112
112
|
role?: RepoMeshDaemonRole;
|
|
113
|
+
/** Owning daemon's machine nickname. Defaults to this daemon's local
|
|
114
|
+
* config.machineNickname when omitted — a node is always added by (and on)
|
|
115
|
+
* the daemon that owns its workspace (self/base node or a local worktree
|
|
116
|
+
* clone), so the local config is the correct source. */
|
|
117
|
+
machineNickname?: string;
|
|
113
118
|
}
|
|
114
119
|
export declare function addNode(meshId: string, opts: AddNodeOptions): LocalMeshNodeEntry | undefined;
|
|
115
120
|
export declare function removeNode(meshId: string, nodeId: string): boolean;
|
|
@@ -125,6 +130,10 @@ export declare function updateNode(meshId: string, nodeId: string, opts: {
|
|
|
125
130
|
* operator intent) so capability-tag os=/arch= self-heals across loads. */
|
|
126
131
|
reportedPlatform?: string;
|
|
127
132
|
reportedArch?: string;
|
|
133
|
+
/** Owning daemon's self-reported machine nickname, carried on the
|
|
134
|
+
* git_status envelope. Persisted so the friendly label survives across
|
|
135
|
+
* coordinator restarts (mirrors reportedPlatform/reportedArch). */
|
|
136
|
+
reportedMachineNickname?: string;
|
|
128
137
|
}): LocalMeshNodeEntry | undefined;
|
|
129
138
|
/**
|
|
130
139
|
* Validate + normalize a panel config before persisting. Mirrors the node-config
|
package/dist/index.d.ts
CHANGED
|
@@ -151,6 +151,8 @@ export type { HostedCliRuntimeDescriptor, CliTransportFactoryParams } from './co
|
|
|
151
151
|
export { DEFAULT_SESSION_HOST_APP_NAME, DEFAULT_STANDALONE_SESSION_HOST_APP_NAME, resolveSessionHostAppName, resolveSessionHostAppNameResolution, } from './session-host/app-name.js';
|
|
152
152
|
export type { SessionHostAppNameResolution } from './session-host/app-name.js';
|
|
153
153
|
export { ensureSessionHostReady, listHostedCliRuntimes } from './session-host/runtime-support.js';
|
|
154
|
+
export { createManagedSessionHost } from './session-host/managed-host.js';
|
|
155
|
+
export type { ManagedSessionHost, ManagedSessionHostOptions } from './session-host/managed-host.js';
|
|
154
156
|
export { getSessionHostRecoveryLabel, getSessionHostSurfaceKind, isSessionHostLiveRuntime, isSessionHostRecoverySnapshot, partitionSessionHostDiagnosticsSessions, partitionSessionHostRecords, } from './session-host/runtime-surface.js';
|
|
155
157
|
export type { SessionHostSurfaceKind, SessionHostSurfaceRecordLike } from './session-host/runtime-surface.js';
|
|
156
158
|
export { shouldAutoRestoreHostedSessionsOnStartup } from './session-host/startup-restore-policy.js';
|