You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use conversation messages instead of system prompt for enclave hints.
6
+
7
+
The enclave context hint is now a regular message added once per session, instead of being injected via `before_agent_start`. This avoids invalidating the prompt cache when toggling enclave on/off mid-session.
text: "Commands run inside an isolated Alpine Linux VM (pi-enclave). If a command is not found, ask the user to install it with `/enclave add <tool-name>`. Package names may differ from binary names (e.g. `github-cli` for `gh`).",
365
-
},
366
-
],
367
-
display: false,
368
-
},
369
-
};
370
-
});
363
+
constENCLAVE_HINT=
364
+
"🧊 Enclave active. All tools are running inside an isolated Alpine Linux VM. If a command is not found, install it with `/enclave add <package>`. Package names may differ from binary names (e.g. `github-cli` for `gh`).";
365
+
366
+
/** Check if the most recent enclave message is an "on" hint (not an "off"). */
0 commit comments