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
{{ message }}
Repository navigation
Commit a700b9b
Browse filesBrowse the repository at this point in the historyBrowse files
/** The authorized request catalog owns discovery; context identifies the selected service. */
144
131
return{
145
132
type: 'mcp',
146
133
tag: ctx.label ? `/${ctx.label}` : '/',
147
-
content: [
148
-
`The user explicitly enabled the MCP server "${ctx.label||ctx.serverId}". It stays enabled for the rest of this chat, and its tools remain callable on every later turn.`,
149
-
'Its tools are listed below and are callable directly by the exact name shown — there is no loading step.',
150
-
'Do not narrate discovery, tool-name selection, or retries. Call the tool first, then respond once with the result. Never claim the server works before a successful tool result. Do not automatically retry a timed-out or abandoned MCP call.',
@@ -195,9 +177,7 @@ export async function processContextsServer(
195
177
currentWorkspaceId
196
178
)
197
179
}
198
-
// Every tab context retains its live pointer. An explicit user selection
199
-
// additionally carries the quoted snapshot they chose, while the pointer
200
-
// lets the agent inspect or act on the current page/shell when needed.
180
+
/** Desktop context carries a reference and optional selection; v1 has no desktop control tools. */
201
181
if(ctx.kind==='browser_tab'&&ctx.tabId){
202
182
if(ctx.tabId===BROWSER_SESSION_RESOURCE_ID){
203
183
return{
@@ -222,7 +202,7 @@ export async function processContextsServer(
222
202
type: 'terminal_tab',
223
203
tag: ctx.label ? `@${ctx.label}` : '@Terminal',
224
204
content:
225
-
'The user tagged the Terminal resource as a whole, not a specific shell. Inspect the live terminals with the terminal list operation and choose the relevant one from their request. If no terminal is open yet, create one as needed.',
205
+
'The user tagged the Terminal resource as a whole, not a specific shell. You cannot read or drive terminals here: work from output the user shares.',
226
206
}
227
207
}
228
208
constpointer=`The user pointed at an open terminal: "${ctx.label}" (terminalId ${ctx.terminalId}). You cannot read or drive terminals here: ask the user to paste the relevant output rather than assuming what is in it.`
0 commit comments