@adhdev/daemon-core 0.9.76-rc.65 → 0.9.76-rc.66
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.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/dist/repo-mesh-types.d.ts +7 -0
- package/package.json +1 -1
- package/src/config/mesh-config.ts +4 -0
- package/src/repo-mesh-types.ts +8 -0
package/dist/index.mjs
CHANGED
|
@@ -37,6 +37,7 @@ var init_repo_mesh_types = __esm({
|
|
|
37
37
|
requireApprovalForDestructiveGit: true,
|
|
38
38
|
dirtyWorkspaceBehavior: "warn",
|
|
39
39
|
maxParallelTasks: 2,
|
|
40
|
+
spawnedSessionVisibility: "visible",
|
|
40
41
|
sessionCleanupOnNodeRemove: "preserve"
|
|
41
42
|
};
|
|
42
43
|
}
|
|
@@ -469,6 +470,9 @@ function mergeMeshPolicy(base, patch) {
|
|
|
469
470
|
if (!SESSION_CLEANUP_MODES.has(String(policy.sessionCleanupOnNodeRemove))) {
|
|
470
471
|
policy.sessionCleanupOnNodeRemove = "preserve";
|
|
471
472
|
}
|
|
473
|
+
if (!SPAWNED_SESSION_VISIBILITY_MODES.has(String(policy.spawnedSessionVisibility))) {
|
|
474
|
+
policy.spawnedSessionVisibility = "visible";
|
|
475
|
+
}
|
|
472
476
|
return policy;
|
|
473
477
|
}
|
|
474
478
|
function listMeshes() {
|
|
@@ -573,13 +577,14 @@ function updateNode(meshId, nodeId, opts) {
|
|
|
573
577
|
saveMeshConfig(config);
|
|
574
578
|
return node;
|
|
575
579
|
}
|
|
576
|
-
var SESSION_CLEANUP_MODES;
|
|
580
|
+
var SESSION_CLEANUP_MODES, SPAWNED_SESSION_VISIBILITY_MODES;
|
|
577
581
|
var init_mesh_config = __esm({
|
|
578
582
|
"src/config/mesh-config.ts"() {
|
|
579
583
|
"use strict";
|
|
580
584
|
init_config();
|
|
581
585
|
init_repo_mesh_types();
|
|
582
586
|
SESSION_CLEANUP_MODES = /* @__PURE__ */ new Set(["preserve", "stop", "delete_stopped", "stop_and_delete"]);
|
|
587
|
+
SPAWNED_SESSION_VISIBILITY_MODES = /* @__PURE__ */ new Set(["visible", "hidden"]);
|
|
583
588
|
}
|
|
584
589
|
});
|
|
585
590
|
|