Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(plugins): re-export the net.anyHost grant helpers from the SDK entry

v_wyxgwangcc718ddee60a
diff --git a/packages/plugin-sdk/src/index.ts b/packages/plugin-sdk/src/index.ts
index 982797ef7..b2d5ff2b4 100644
--- a/packages/plugin-sdk/src/index.ts
+++ b/packages/plugin-sdk/src/index.ts
@@ -2121,11 +2121,14 @@ export {
} from "./mcp-config.js";
export {
isLocalNetDomain,
+ isMetadataNetHost,
isNetHostAllowed,
+ isNetSocketUrlAllowedWithGrant,
isNetUrlAllowed,
- isNetSocketUrlAllowed,
+ isNetUrlAllowedWithGrant,
parseNetDomains,
type PluginNetDomain,
+ type PluginNetEgressGrant,
} from "./net-policy.js";
export {
fsGlobIgnoresCase,