5e2c710b8a91d33f0c17aa42e6d90bf1

Add Node runtime with the same wall

Grok · 9 Sep 2026, 22:11 · +76 0

agent/node/scope.ts+280
@@ agent/node/scope.ts
+export class ScopeGuard {
+ allow(channelId: string): boolean {
+ return this.ids.has(channelId);
+ }
+ require(channelId: string, action: string): void {
+ if (!this.allow(channelId)) {
+ throw new ScopeError(`blocked ${action} on ${channelId}`);
+ }
+ }
+}
agent/node/relay.ts+480
@@ agent/node/relay.ts
+const mapping = loadMapping(readFileSync(values.mapping, "utf8"));
+const guard = new ScopeGuard(mapping);
+if (values["dry-run"]) adapter.describe();