@episoda/cli 0.2.219 → 0.2.220
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/daemon/daemon-process.js +186 -96
- package/dist/daemon/daemon-process.js.map +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34,8 +34,9 @@ var require_command_protocol = __commonJS({
|
|
|
34
34
|
exports2.WORKTREE_STATUS_VALUES = void 0;
|
|
35
35
|
exports2.WORKTREE_STATUS_VALUES = [
|
|
36
36
|
"pending",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
37
|
+
"provisioning",
|
|
38
|
+
"verified",
|
|
39
|
+
"missing",
|
|
39
40
|
"error",
|
|
40
41
|
"removing"
|
|
41
42
|
];
|
|
@@ -4517,9 +4518,9 @@ var WorktreeManager = class _WorktreeManager {
|
|
|
4517
4518
|
const worktree = config.worktrees.find((w) => w.moduleUid === moduleUid);
|
|
4518
4519
|
if (worktree) {
|
|
4519
4520
|
worktree.setupStatus = status2;
|
|
4520
|
-
if (status2 === "
|
|
4521
|
+
if (status2 === "provisioning") {
|
|
4521
4522
|
worktree.setupStartedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
4522
|
-
} else if (status2 === "
|
|
4523
|
+
} else if (status2 === "verified" || status2 === "error") {
|
|
4523
4524
|
worktree.setupCompletedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
4524
4525
|
}
|
|
4525
4526
|
if (error) {
|
|
@@ -7019,7 +7020,7 @@ async function updateModuleCheckout(apiUrl, moduleId, accessToken, branchName, w
|
|
|
7019
7020
|
}
|
|
7020
7021
|
if (worktreePath) {
|
|
7021
7022
|
body.worktree_path = worktreePath;
|
|
7022
|
-
body.worktree_status = "
|
|
7023
|
+
body.worktree_status = "provisioning";
|
|
7023
7024
|
}
|
|
7024
7025
|
if (machineUuid) {
|
|
7025
7026
|
body.checkout_machine_id = machineUuid;
|