@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.js
CHANGED
|
@@ -42,6 +42,7 @@ var init_repo_mesh_types = __esm({
|
|
|
42
42
|
requireApprovalForDestructiveGit: true,
|
|
43
43
|
dirtyWorkspaceBehavior: "warn",
|
|
44
44
|
maxParallelTasks: 2,
|
|
45
|
+
spawnedSessionVisibility: "visible",
|
|
45
46
|
sessionCleanupOnNodeRemove: "preserve"
|
|
46
47
|
};
|
|
47
48
|
}
|
|
@@ -471,6 +472,9 @@ function mergeMeshPolicy(base, patch) {
|
|
|
471
472
|
if (!SESSION_CLEANUP_MODES.has(String(policy.sessionCleanupOnNodeRemove))) {
|
|
472
473
|
policy.sessionCleanupOnNodeRemove = "preserve";
|
|
473
474
|
}
|
|
475
|
+
if (!SPAWNED_SESSION_VISIBILITY_MODES.has(String(policy.spawnedSessionVisibility))) {
|
|
476
|
+
policy.spawnedSessionVisibility = "visible";
|
|
477
|
+
}
|
|
474
478
|
return policy;
|
|
475
479
|
}
|
|
476
480
|
function listMeshes() {
|
|
@@ -575,7 +579,7 @@ function updateNode(meshId, nodeId, opts) {
|
|
|
575
579
|
saveMeshConfig(config);
|
|
576
580
|
return node;
|
|
577
581
|
}
|
|
578
|
-
var import_fs2, import_path2, import_crypto3, SESSION_CLEANUP_MODES;
|
|
582
|
+
var import_fs2, import_path2, import_crypto3, SESSION_CLEANUP_MODES, SPAWNED_SESSION_VISIBILITY_MODES;
|
|
579
583
|
var init_mesh_config = __esm({
|
|
580
584
|
"src/config/mesh-config.ts"() {
|
|
581
585
|
"use strict";
|
|
@@ -585,6 +589,7 @@ var init_mesh_config = __esm({
|
|
|
585
589
|
init_config();
|
|
586
590
|
init_repo_mesh_types();
|
|
587
591
|
SESSION_CLEANUP_MODES = /* @__PURE__ */ new Set(["preserve", "stop", "delete_stopped", "stop_and_delete"]);
|
|
592
|
+
SPAWNED_SESSION_VISIBILITY_MODES = /* @__PURE__ */ new Set(["visible", "hidden"]);
|
|
588
593
|
}
|
|
589
594
|
});
|
|
590
595
|
|