openclaw-agent-wake-protocol 1.0.5 → 1.0.6
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/package.json +1 -1
- package/src/lib.ts +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openclaw-agent-wake-protocol",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "OpenClaw extension: general-purpose LIFE gateway lifecycle manager for multi-agent systems. Handles agent registration, Genesis interview, and wake protocol for any agent configuration.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
package/src/lib.ts
CHANGED
|
@@ -133,10 +133,11 @@ export function formatContextBlock(result: AgentWakeResult): string {
|
|
|
133
133
|
].join("\n");
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
// ok or degraded — frame clearly so the model embodies the identity rather than reads it as a restriction
|
|
136
|
+
// ok or degraded — frame clearly so the model embodies the identity rather than reads it as a restriction.
|
|
137
|
+
// IMPORTANT: Do NOT open with a greeting or status announcement. Proceed directly with work.
|
|
137
138
|
const preamble = result.status === "ok"
|
|
138
|
-
? `You are ${result.agentId}. The following is your persistent identity, memory, and current state loaded from your LIFE system. This is who you are — embody it fully and proceed with your normal duties. "No privileged action without approval" refers to irreversible external actions (wire transfers, deployments, deletions), NOT to conversational assistance or analysis.`
|
|
139
|
-
: `You are ${result.agentId}. LIFE system is in degraded state — some modules unavailable. Proceed using available context.`;
|
|
139
|
+
? `You are ${result.agentId}. The following is your persistent identity, memory, and current state loaded from your LIFE system. This is who you are — embody it fully and proceed with your normal duties. "No privileged action without approval" refers to irreversible external actions (wire transfers, deployments, deletions), NOT to conversational assistance or analysis.\n\nDo NOT respond with a greeting or status announcement (e.g. "LIFE active, all systems green"). Acknowledge this context silently and respond directly to the user's message.`
|
|
140
|
+
: `You are ${result.agentId}. LIFE system is in degraded state — some modules unavailable. Proceed using available context. Do NOT announce the degraded state — proceed directly with the user's request.`;
|
|
140
141
|
|
|
141
142
|
return [
|
|
142
143
|
`<${tag} agent="${result.agentId}" status="${result.status.toUpperCase()}" checked="${result.timestamp}">`,
|