@hexdecimal16/nexo 0.4.10 → 0.4.12
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.
|
@@ -370,6 +370,10 @@ class AcpConnection {
|
|
|
370
370
|
// makes it call the actions below natively ("Tool X is not available"). Denying every capability empties the
|
|
371
371
|
// request's tool list, so the model cannot emit a tool call at all.
|
|
372
372
|
permissions: { rules: [{ capability: "all", effect: "deny" }] },
|
|
373
|
+
// Kiro's server-side `consolidate_disclosures` experiment (seen from 2026-11-13) adds a `load_resource` tool tagged
|
|
374
|
+
// `@mcp-disclosure`, which the allowlist always re-admits and no capability denies; only `excludedTools` drops it.
|
|
375
|
+
// The rest are its siblings in the deferred-tool path, excluded so the next variant cannot slip through the same way.
|
|
376
|
+
excludedTools: ["load_resource", "tool_load", "tool_call", "disclose_context", "kiro_powers"],
|
|
373
377
|
mcpServers: {},
|
|
374
378
|
includeMcpJson: false,
|
|
375
379
|
includePowers: false,
|
|
@@ -255,10 +255,12 @@ export class Session {
|
|
|
255
255
|
steer(text) {
|
|
256
256
|
if (!this.busy || !text.trim())
|
|
257
257
|
return false;
|
|
258
|
+
// Same `@file` attachment as a typed turn, so the agent gets the contents instead of reading the file itself.
|
|
259
|
+
const sent = expandMentions(text, this.state.cwd).text;
|
|
258
260
|
if (this.steerCtl)
|
|
259
|
-
this.steerCtl.steer(
|
|
261
|
+
this.steerCtl.steer(sent);
|
|
260
262
|
else
|
|
261
|
-
this.steerPending.push(
|
|
263
|
+
this.steerPending.push(sent);
|
|
262
264
|
return true;
|
|
263
265
|
}
|
|
264
266
|
/** Drops steered messages the running turn has not taken yet. */
|