@clawos-dev/clawd 0.2.120 → 0.2.121
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.cjs +1 -12
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -41834,20 +41834,9 @@ function buildAppBuilderHandlers(deps) {
|
|
|
41834
41834
|
const f = frame;
|
|
41835
41835
|
if (typeof f.name !== "string") throw new ClawdError(ERROR_CODES.VALIDATION_ERROR, "updateProjectPort: name required");
|
|
41836
41836
|
if (typeof f.newPort !== "number") throw new ClawdError(ERROR_CODES.VALIDATION_ERROR, "updateProjectPort: newPort required");
|
|
41837
|
-
const entry = devServerLifecycle.boundEntry(f.name);
|
|
41838
41837
|
await devServerLifecycle.stopForProject(f.name);
|
|
41839
41838
|
const project = await store.updatePort(f.name, f.newPort);
|
|
41840
|
-
|
|
41841
|
-
await devServerLifecycle.restartForProjectAt({
|
|
41842
|
-
projectName: f.name,
|
|
41843
|
-
newPort: f.newPort,
|
|
41844
|
-
sessionId: entry.sessionId,
|
|
41845
|
-
cwd: entry.cwd,
|
|
41846
|
-
tunnelHost: entry.tunnelHost,
|
|
41847
|
-
devCommand: entry.devCommand
|
|
41848
|
-
});
|
|
41849
|
-
await setStageAndBroadcast(f.name, "running");
|
|
41850
|
-
}
|
|
41839
|
+
await setStageAndBroadcast(f.name, "stopped");
|
|
41851
41840
|
return { response: { project } };
|
|
41852
41841
|
};
|
|
41853
41842
|
const setProdUrl = async (frame) => {
|