@synkro-sh/cli 1.4.6 → 1.4.7
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/bootstrap.js +11 -2
- package/dist/bootstrap.js.map +1 -1
- package/package.json +1 -1
package/dist/bootstrap.js
CHANGED
|
@@ -3993,17 +3993,26 @@ function getPrimer(role) {
|
|
|
3993
3993
|
function buildChannelContent(role, payload) {
|
|
3994
3994
|
return `${getPrimer(role)}
|
|
3995
3995
|
|
|
3996
|
+
${CHANNEL_REPLY_INSTRUCTIONS}
|
|
3997
|
+
|
|
3996
3998
|
---
|
|
3997
3999
|
PAYLOAD (the input to evaluate):
|
|
3998
4000
|
|
|
3999
4001
|
${payload}`;
|
|
4000
4002
|
}
|
|
4001
|
-
var CACHE_PATH2, _cached;
|
|
4003
|
+
var CACHE_PATH2, _cached, CHANNEL_REPLY_INSTRUCTIONS;
|
|
4002
4004
|
var init_prompts = __esm({
|
|
4003
4005
|
"cli/local-cc/prompts.ts"() {
|
|
4004
4006
|
"use strict";
|
|
4005
4007
|
CACHE_PATH2 = join10(homedir9(), ".synkro", "prompts", "judge-prompts.json");
|
|
4006
4008
|
_cached = null;
|
|
4009
|
+
CHANNEL_REPLY_INSTRUCTIONS = `
|
|
4010
|
+
DELIVERY METHOD \u2014 MANDATORY, OVERRIDES ALL OTHER OUTPUT RULES:
|
|
4011
|
+
You are running inside a Synkro MCP channel. Do NOT output your verdict as text.
|
|
4012
|
+
Instead, after generating your verdict, call the \`reply\` tool EXACTLY ONCE with:
|
|
4013
|
+
- req_id: the req_id from this channel event's meta
|
|
4014
|
+
- result: your complete verdict block as a string (the <synkro-verdict>\u2026</synkro-verdict> XML)
|
|
4015
|
+
Any text output is silently discarded. Only the reply tool call is captured.`;
|
|
4007
4016
|
}
|
|
4008
4017
|
});
|
|
4009
4018
|
|
|
@@ -4340,7 +4349,7 @@ function writeConfigEnv(opts) {
|
|
|
4340
4349
|
`SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
|
|
4341
4350
|
`SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
|
|
4342
4351
|
`SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
|
|
4343
|
-
`SYNKRO_VERSION=${shellQuoteSingle("1.4.
|
|
4352
|
+
`SYNKRO_VERSION=${shellQuoteSingle("1.4.7")}`
|
|
4344
4353
|
];
|
|
4345
4354
|
if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
|
|
4346
4355
|
if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
|