replicas-cli 0.3.457 → 0.3.458
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.cjs +21 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -38992,7 +38992,10 @@ var init_types8 = __esm({
|
|
|
38992
38992
|
userId: external_exports.string().nullable(),
|
|
38993
38993
|
messageId: external_exports.string().optional(),
|
|
38994
38994
|
model: external_exports.string().optional(),
|
|
38995
|
-
thinkingLevel: external_exports.enum(VALID_THINKING_LEVELS).optional()
|
|
38995
|
+
thinkingLevel: external_exports.enum(VALID_THINKING_LEVELS).optional(),
|
|
38996
|
+
instructionsHash: external_exports.string().optional(),
|
|
38997
|
+
/** Stored only on a message whose `instructionsHash` differs from the message before it; later ones find it by hash. */
|
|
38998
|
+
instructions: external_exports.object({ environmentSystemPrompt: external_exports.string().optional(), customInstructions: external_exports.string().optional() }).optional()
|
|
38996
38999
|
}),
|
|
38997
39000
|
interrupt: external_exports.looseObject({ userId: external_exports.string().nullable() })
|
|
38998
39001
|
};
|
|
@@ -39115,7 +39118,7 @@ var CLI_VERSION;
|
|
|
39115
39118
|
var init_cli_version = __esm({
|
|
39116
39119
|
"../shared/src/cli-version.ts"() {
|
|
39117
39120
|
"use strict";
|
|
39118
|
-
CLI_VERSION = "0.3.
|
|
39121
|
+
CLI_VERSION = "0.3.458";
|
|
39119
39122
|
}
|
|
39120
39123
|
});
|
|
39121
39124
|
|
|
@@ -50273,6 +50276,21 @@ var init_media2 = __esm({
|
|
|
50273
50276
|
}
|
|
50274
50277
|
});
|
|
50275
50278
|
|
|
50279
|
+
// ../shared/src/replicas-instructions.ts
|
|
50280
|
+
var SUBAGENT_MCP_INSTRUCTIONS;
|
|
50281
|
+
var init_replicas_instructions = __esm({
|
|
50282
|
+
"../shared/src/replicas-instructions.ts"() {
|
|
50283
|
+
"use strict";
|
|
50284
|
+
init_environment2();
|
|
50285
|
+
init_learned_skills();
|
|
50286
|
+
init_memory();
|
|
50287
|
+
init_subagent_mcp();
|
|
50288
|
+
SUBAGENT_MCP_INSTRUCTIONS = `# Subagents
|
|
50289
|
+
|
|
50290
|
+
Native subagent tools are disabled in this workspace. To delegate work to a subagent, use the \`${SUBAGENT_MCP_SERVER_NAME}\` MCP server (\`${SUBAGENT_MCP_TOOLS.getProviders}\`, \`${SUBAGENT_MCP_TOOLS.spawnAgent}\`, \`${SUBAGENT_MCP_TOOLS.getAgent}\`, \`${SUBAGENT_MCP_TOOLS.waitAgent}\`, \`${SUBAGENT_MCP_TOOLS.messageAgent}\`, \`${SUBAGENT_MCP_TOOLS.deleteAgent}\`); your harness may prefix them, and Pi exposes them through its \`mcp\` gateway. Call \`${SUBAGENT_MCP_TOOLS.getProviders}\` before the first spawn. \`fork_turns\` sets inherited context: "all" (default), "none" (include every needed detail in the prompt), or "N" for the latest N user turns. \`${SUBAGENT_MCP_TOOLS.spawnAgent}\` and \`${SUBAGENT_MCP_TOOLS.messageAgent}\` block by default; pass \`blocking: false\` to keep working. A subagent you are not waiting on reports back when it finishes: its final response arrives as a \`<multitask_event>\` message once your turn ends, so end your turn instead of polling. Subagents share this workspace.`;
|
|
50291
|
+
}
|
|
50292
|
+
});
|
|
50293
|
+
|
|
50276
50294
|
// ../shared/src/sse.ts
|
|
50277
50295
|
function parseSseChunk(chunk) {
|
|
50278
50296
|
let data = "";
|
|
@@ -50592,6 +50610,7 @@ var init_src = __esm({
|
|
|
50592
50610
|
init_media2();
|
|
50593
50611
|
init_memory();
|
|
50594
50612
|
init_learned_skills();
|
|
50613
|
+
init_replicas_instructions();
|
|
50595
50614
|
init_memory_safety();
|
|
50596
50615
|
init_sse();
|
|
50597
50616
|
init_login();
|