@agentwares/agentguard 0.1.4 → 0.1.6

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/dist/index.d.ts CHANGED
@@ -47,6 +47,11 @@ interface RuntimeOptions {
47
47
  connectTimeoutMs?: number;
48
48
  /** in-process upstreams for tests: name → already-connected client */
49
49
  clients?: Record<string, Client>;
50
+ /**
51
+ * false when no policy file was found and the proxy runs on the default policy with no
52
+ * upstreams, serving only its own read-only tools (default true)
53
+ */
54
+ configured?: boolean;
50
55
  }
51
56
  interface CallContext {
52
57
  runId: string;
@@ -66,6 +71,7 @@ declare class ProxyRuntime {
66
71
  readonly guard: Guard;
67
72
  readonly agent: AgentScope | null | undefined;
68
73
  readonly defaultRunId: string;
74
+ readonly configured: boolean;
69
75
  readonly sessions: Set<DownstreamSession>;
70
76
  private readonly connections;
71
77
  private exposed;
@@ -325,7 +331,7 @@ declare function haltSlackMessage(event: GuardEvent): {
325
331
  /** Returns a `Guard.onEvent` handler. Never throws; failures are logged. */
326
332
  declare function createAlerter(opts: AlerterOptions): (event: GuardEvent) => Promise<void>;
327
333
 
328
- type ClientKind = "claude-code-project" | "claude-code-user" | "claude-desktop" | "cursor-project" | "cursor-user" | "vscode" | "windsurf" | "generic";
334
+ type ClientKind = "claude-code-project" | "claude-code-user" | "claude-desktop" | "cursor-project" | "cursor-user" | "vscode" | "windsurf" | "gemini-project" | "gemini-user" | "generic";
329
335
  interface ClientConfigFile {
330
336
  kind: ClientKind;
331
337
  label: string;
@@ -340,6 +346,8 @@ interface ServerEntry {
340
346
  env?: Record<string, string>;
341
347
  cwd?: string;
342
348
  url?: string;
349
+ /** Gemini CLI's name for a Streamable HTTP endpoint (its `url` means SSE) */
350
+ httpUrl?: string;
343
351
  headers?: Record<string, string>;
344
352
  [k: string]: unknown;
345
353
  }