replicas-cli 0.2.359 → 0.2.361
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.mjs +11 -5
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9644,6 +9644,7 @@ var DEFAULT_USER_PREFERENCES = {
|
|
|
9644
9644
|
default_model: null,
|
|
9645
9645
|
cursor_models: null,
|
|
9646
9646
|
close_workspace_on_pr_close: true,
|
|
9647
|
+
close_workspace_on_pr_merge: true,
|
|
9647
9648
|
default_environment_id: null,
|
|
9648
9649
|
respond_to_ci_workflows: true,
|
|
9649
9650
|
respond_to_ci_checks: true,
|
|
@@ -9692,7 +9693,7 @@ var HOOK_EXEC_MAX_BUFFER_BYTES = 10 * 1024 * 1024;
|
|
|
9692
9693
|
var REPLICAS_CONFIG_FILENAMES = ["replicas.json", "replicas.yaml", "replicas.yml"];
|
|
9693
9694
|
|
|
9694
9695
|
// ../shared/src/cli-version.ts
|
|
9695
|
-
var CLI_VERSION = "0.2.
|
|
9696
|
+
var CLI_VERSION = "0.2.361";
|
|
9696
9697
|
|
|
9697
9698
|
// ../shared/src/version.ts
|
|
9698
9699
|
function compareVersions(v1, v2) {
|
|
@@ -10919,14 +10920,19 @@ function parseClaudeEvents(events, parentToolUseId) {
|
|
|
10919
10920
|
});
|
|
10920
10921
|
} else if (toolName === "mcp__relay-subagent-tools__spawn_agent") {
|
|
10921
10922
|
const inputObj = typeof toolInput === "string" ? safeJsonParse(toolInput, {}) : toolInput;
|
|
10923
|
+
const provider = typeof inputObj.provider === "string" ? inputObj.provider : "unknown";
|
|
10924
|
+
const prompt = typeof inputObj.prompt === "string" ? inputObj.prompt : "";
|
|
10925
|
+
const model = typeof inputObj.model === "string" ? inputObj.model : void 0;
|
|
10926
|
+
const title = typeof inputObj.title === "string" ? inputObj.title : void 0;
|
|
10922
10927
|
messages.push({
|
|
10923
10928
|
id: `subagent-${event.timestamp}-${messages.length}`,
|
|
10924
10929
|
type: "subagent",
|
|
10925
10930
|
toolUseId,
|
|
10926
|
-
description:
|
|
10927
|
-
prompt
|
|
10928
|
-
subagentType:
|
|
10929
|
-
model
|
|
10931
|
+
description: title || `Relay subagent (${provider})`,
|
|
10932
|
+
prompt,
|
|
10933
|
+
subagentType: provider,
|
|
10934
|
+
model,
|
|
10935
|
+
thinkingLevel: isValidThinkingLevel(inputObj.thinking_level) ? inputObj.thinking_level : void 0,
|
|
10930
10936
|
status: "in_progress",
|
|
10931
10937
|
nestedEvents: [],
|
|
10932
10938
|
isChatBased: true,
|