Fix KID default suffix and guard exit code alignment
- Change default KID suffix from -key-v1 to -key-1 to match Go SDK and Console - Change guard script exit code from 2 to 1 to match Python and Go SDKs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
200ed1bae2
commit
3e39dcf4ef
2 files changed
+3
-3
No files matched your search
@@ -344,7 +344,7 @@ async function main() {
|
||||
if (age < CACHE_TTL_MS) {
|
||||
if (cache.status === 'frozen') {
|
||||
process.stderr.write('Agent "' + AGENT_NAME + '" is frozen by Elydora. Tool execution blocked.\\n');
|
||||
process.exitCode = 2;
|
||||
process.exitCode = 1;
|
||||
}
|
||||
return; // Cache is fresh — use cached result
|
||||
}
|
||||
@@ -388,7 +388,7 @@ async function main() {
|
||||
|
||||
if (agentStatus === 'frozen') {
|
||||
process.stderr.write('Agent "' + AGENT_NAME + '" is frozen by Elydora. Tool execution blocked.\\n');
|
||||
process.exitCode = 2;
|
||||
process.exitCode = 1;
|
||||
}
|
||||
}
|
||||
} catch {
|
||||
|
||||
Reference in new issue
Block a user