webmux 0.22.1 → 0.23.0
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/backend/dist/server.js
CHANGED
|
@@ -8630,7 +8630,7 @@ function buildAgentInvocation(input) {
|
|
|
8630
8630
|
if (input.launchMode === "resume") {
|
|
8631
8631
|
return `codex${yoloFlag2} resume --last`;
|
|
8632
8632
|
}
|
|
8633
|
-
const promptSuffix2 = input.prompt ? ` ${quoteShell(input.prompt)}` : "";
|
|
8633
|
+
const promptSuffix2 = input.prompt ? ` -- ${quoteShell(input.prompt)}` : "";
|
|
8634
8634
|
if (input.systemPrompt) {
|
|
8635
8635
|
return `codex${yoloFlag2} -c ${quoteShell(`developer_instructions=${input.systemPrompt}`)}${promptSuffix2}`;
|
|
8636
8636
|
}
|
|
@@ -8640,7 +8640,7 @@ function buildAgentInvocation(input) {
|
|
|
8640
8640
|
if (input.launchMode === "resume") {
|
|
8641
8641
|
return `claude${yoloFlag} --continue`;
|
|
8642
8642
|
}
|
|
8643
|
-
const promptSuffix = input.prompt ? ` ${quoteShell(input.prompt)}` : "";
|
|
8643
|
+
const promptSuffix = input.prompt ? ` -- ${quoteShell(input.prompt)}` : "";
|
|
8644
8644
|
if (input.systemPrompt) {
|
|
8645
8645
|
return `claude${yoloFlag} --append-system-prompt ${quoteShell(input.systemPrompt)}${promptSuffix}`;
|
|
8646
8646
|
}
|
|
@@ -11433,6 +11433,7 @@ function createWebmuxRuntime(options = {}) {
|
|
|
11433
11433
|
autoName,
|
|
11434
11434
|
onCreateProgress: (progress) => {
|
|
11435
11435
|
worktreeCreationTracker.set(progress);
|
|
11436
|
+
options.onCreateProgress?.(progress);
|
|
11436
11437
|
},
|
|
11437
11438
|
onCreateFinished: (branch) => {
|
|
11438
11439
|
worktreeCreationTracker.clear(branch);
|
package/bin/webmux.js
CHANGED
|
@@ -11131,7 +11131,7 @@ function buildAgentInvocation(input) {
|
|
|
11131
11131
|
if (input.launchMode === "resume") {
|
|
11132
11132
|
return `codex${yoloFlag2} resume --last`;
|
|
11133
11133
|
}
|
|
11134
|
-
const promptSuffix2 = input.prompt ? ` ${quoteShell(input.prompt)}` : "";
|
|
11134
|
+
const promptSuffix2 = input.prompt ? ` -- ${quoteShell(input.prompt)}` : "";
|
|
11135
11135
|
if (input.systemPrompt) {
|
|
11136
11136
|
return `codex${yoloFlag2} -c ${quoteShell(`developer_instructions=${input.systemPrompt}`)}${promptSuffix2}`;
|
|
11137
11137
|
}
|
|
@@ -11141,7 +11141,7 @@ function buildAgentInvocation(input) {
|
|
|
11141
11141
|
if (input.launchMode === "resume") {
|
|
11142
11142
|
return `claude${yoloFlag} --continue`;
|
|
11143
11143
|
}
|
|
11144
|
-
const promptSuffix = input.prompt ? ` ${quoteShell(input.prompt)}` : "";
|
|
11144
|
+
const promptSuffix = input.prompt ? ` -- ${quoteShell(input.prompt)}` : "";
|
|
11145
11145
|
if (input.systemPrompt) {
|
|
11146
11146
|
return `claude${yoloFlag} --append-system-prompt ${quoteShell(input.systemPrompt)}${promptSuffix}`;
|
|
11147
11147
|
}
|
|
@@ -12461,6 +12461,7 @@ function createWebmuxRuntime(options = {}) {
|
|
|
12461
12461
|
autoName,
|
|
12462
12462
|
onCreateProgress: (progress) => {
|
|
12463
12463
|
worktreeCreationTracker.set(progress);
|
|
12464
|
+
options.onCreateProgress?.(progress);
|
|
12464
12465
|
},
|
|
12465
12466
|
onCreateFinished: (branch) => {
|
|
12466
12467
|
worktreeCreationTracker.clear(branch);
|
|
@@ -12811,7 +12812,10 @@ async function runWorktreeCommand(context, deps2 = {}) {
|
|
|
12811
12812
|
}
|
|
12812
12813
|
const runtime2 = createRuntime({
|
|
12813
12814
|
projectDir: context.projectDir,
|
|
12814
|
-
port: context.port
|
|
12815
|
+
port: context.port,
|
|
12816
|
+
onCreateProgress: (progress) => {
|
|
12817
|
+
stdout(PHASE_LABELS[progress.phase] ?? progress.phase);
|
|
12818
|
+
}
|
|
12815
12819
|
});
|
|
12816
12820
|
const result = await runtime2.lifecycleService.createWorktree(parsed.input);
|
|
12817
12821
|
stdout(`Created worktree ${result.branch}`);
|
|
@@ -12925,13 +12929,20 @@ async function runWorktreeCommand(context, deps2 = {}) {
|
|
|
12925
12929
|
return 1;
|
|
12926
12930
|
}
|
|
12927
12931
|
}
|
|
12928
|
-
var CommandUsageError;
|
|
12932
|
+
var PHASE_LABELS, CommandUsageError;
|
|
12929
12933
|
var init_worktree_commands = __esm(() => {
|
|
12930
12934
|
init_dist2();
|
|
12931
12935
|
init_fs();
|
|
12932
12936
|
init_tmux();
|
|
12933
12937
|
init_policies();
|
|
12934
12938
|
init_runtime();
|
|
12939
|
+
PHASE_LABELS = {
|
|
12940
|
+
creating_worktree: "Creating worktree",
|
|
12941
|
+
running_post_create_hook: "Running post-create hook",
|
|
12942
|
+
preparing_runtime: "Preparing runtime",
|
|
12943
|
+
starting_session: "Starting session",
|
|
12944
|
+
reconciling: "Reconciling"
|
|
12945
|
+
};
|
|
12935
12946
|
CommandUsageError = class CommandUsageError extends Error {
|
|
12936
12947
|
};
|
|
12937
12948
|
});
|
|
@@ -12943,7 +12954,7 @@ import { fileURLToPath } from "url";
|
|
|
12943
12954
|
// package.json
|
|
12944
12955
|
var package_default = {
|
|
12945
12956
|
name: "webmux",
|
|
12946
|
-
version: "0.
|
|
12957
|
+
version: "0.23.0",
|
|
12947
12958
|
description: "Web dashboard for workmux \u2014 browser UI with embedded terminals, PR monitoring, and CI integration",
|
|
12948
12959
|
type: "module",
|
|
12949
12960
|
repository: {
|