replicas-cli 0.2.360 → 0.2.362
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 +10 -5
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9693,7 +9693,7 @@ var HOOK_EXEC_MAX_BUFFER_BYTES = 10 * 1024 * 1024;
|
|
|
9693
9693
|
var REPLICAS_CONFIG_FILENAMES = ["replicas.json", "replicas.yaml", "replicas.yml"];
|
|
9694
9694
|
|
|
9695
9695
|
// ../shared/src/cli-version.ts
|
|
9696
|
-
var CLI_VERSION = "0.2.
|
|
9696
|
+
var CLI_VERSION = "0.2.362";
|
|
9697
9697
|
|
|
9698
9698
|
// ../shared/src/version.ts
|
|
9699
9699
|
function compareVersions(v1, v2) {
|
|
@@ -10920,14 +10920,19 @@ function parseClaudeEvents(events, parentToolUseId) {
|
|
|
10920
10920
|
});
|
|
10921
10921
|
} else if (toolName === "mcp__relay-subagent-tools__spawn_agent") {
|
|
10922
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;
|
|
10923
10927
|
messages.push({
|
|
10924
10928
|
id: `subagent-${event.timestamp}-${messages.length}`,
|
|
10925
10929
|
type: "subagent",
|
|
10926
10930
|
toolUseId,
|
|
10927
|
-
description:
|
|
10928
|
-
prompt
|
|
10929
|
-
subagentType:
|
|
10930
|
-
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,
|
|
10931
10936
|
status: "in_progress",
|
|
10932
10937
|
nestedEvents: [],
|
|
10933
10938
|
isChatBased: true,
|