@agentwares/agentguard 0.1.6 → 0.1.7
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/CHANGELOG.md +14 -0
- package/dist/cli.js +59 -9
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.js +905 -853
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -211,6 +211,13 @@ declare class ProxyRuntime {
|
|
|
211
211
|
private wire;
|
|
212
212
|
private pickSession;
|
|
213
213
|
private broadcast;
|
|
214
|
+
/**
|
|
215
|
+
* Re-read an upstream's tools, every page (mcp-kit's `readAllPages`): at most 20 requests, each
|
|
216
|
+
* under the upstream's `timeout_ms`, ending at a cursor already followed. It used to follow
|
|
217
|
+
* `nextCursor` with no bound, so an upstream that echoed its cursor kept the proxy asking for
|
|
218
|
+
* the same page forever. A refresh that fails, or stops at the 20-page / 2,000-tool ceiling,
|
|
219
|
+
* changes nothing: the agent keeps the last good list, and the log says why.
|
|
220
|
+
*/
|
|
214
221
|
private refreshTools;
|
|
215
222
|
private rebuildExposed;
|
|
216
223
|
listTools(agent?: AgentScope | null): ExposedTool[];
|