@agentronics/sdk 0.5.0 → 0.6.0

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.cts CHANGED
@@ -53,7 +53,7 @@ declare const createWebhookExporter: ({ url, fetcher, maxRetries, queueLimit, }:
53
53
 
54
54
  interface IntelExporterOptions {
55
55
  /**
56
- * Intelligence API base URL (e.g. `https://intel-api-….run.app`) — the
56
+ * Agentronics API base URL (shown in the console under Settings) — the
57
57
  * `/v1/sdk/events` path is appended automatically — or the full ingest URL.
58
58
  */
59
59
  url: string;
@@ -67,14 +67,16 @@ interface IntelExporterOptions {
67
67
  fetcher?: typeof fetch;
68
68
  }
69
69
  /**
70
- * Stream governed-action traces to the Agentronics Intelligence dashboard.
70
+ * Stream traces (agent sign-ins, verifications, access decisions) to the
71
+ * Agentronics dashboard.
71
72
  * POSTs a `TraceBatch` to the intel-api ingest endpoint with the ingest key.
72
73
  * Intended for Node/server use (the existing webhook exporter is browser-bound
73
74
  * and can't send an auth header).
74
75
  */
76
+ /** @deprecated Use createDashboardExporter (same function). */
75
77
  declare const createIntelExporter: ({ url, ingestKey, fetcher, }: IntelExporterOptions) => TraceExporter;
76
78
  interface IntelSyncOptions {
77
- /** Intelligence API base URL (e.g. `https://intel-api-….run.app`). */
79
+ /** Agentronics API base URL (shown in the console under Settings). */
78
80
  url: string;
79
81
  /** Per-tenant SDK ingest key (`agtx_ik_…`). Backend-only — never the browser. */
80
82
  ingestKey: string;
@@ -84,7 +86,7 @@ interface IntelSyncOptions {
84
86
  }
85
87
  /**
86
88
  * Push the authoritative tool registry + site-memory snapshot to the
87
- * Intelligence dashboard — the full data the WebMCP Tools + Knaph pages need,
89
+ * Agentronics console — the full data the WebMCP Tools + Knaph pages need,
88
90
  * which is too large for the lightweight trace stream. Call after `syncTools()`
89
91
  * / `provideSiteMemory(...)`. Backend/server use only (the key is secret).
90
92
  */
@@ -94,7 +96,12 @@ interface IntelSync {
94
96
  /** POST the site-memory snapshot (+ optional quality score) to /v1/sdk/memory. */
95
97
  pushMemory(snapshot: object, score?: number): Promise<void>;
96
98
  }
99
+ /** @deprecated Use createDashboardSync (same function). */
97
100
  declare const createIntelSync: ({ url, ingestKey, siteId, fetcher, }: IntelSyncOptions) => IntelSync;
101
+ /** Preferred name. Streams SDK traces to the Agentronics dashboard. */
102
+ declare const createDashboardExporter: ({ url, ingestKey, fetcher, }: IntelExporterOptions) => TraceExporter;
103
+ /** Preferred name for createIntelSync. */
104
+ declare const createDashboardSync: ({ url, ingestKey, siteId, fetcher, }: IntelSyncOptions) => IntelSync;
98
105
 
99
106
  interface TrustDerivationInput {
100
107
  detected?: boolean;
@@ -188,4 +195,4 @@ declare const Agentronics: {
188
195
  };
189
196
  declare const VERSION = "0.1.0";
190
197
 
191
- export { Agentronics, AgentronicsClient, type DeclareAgentInput, DetectAgentOptions, GovernedTool, InitOptions, type IntelExporterOptions, type IntelSync, type IntelSyncOptions, PolicyEngine, TraceExporter, VERSION, WELL_KNOWN_PATH, type WebMcpContextOptions, type WebMcpContextTool, createConsoleExporter, createGatewayExporter, createIntelExporter, createIntelSync, createSignatureLoader, createTraceBuffer, createWebMcpContextTool, createWebhookExporter, declareAgent, deriveTrustLevel, fetchWellKnownContext, highestTrust, installDomEnforcer, installMemoryOverlay, installMetaTags, serializeWellKnownContext, showDenyOverlay };
198
+ export { Agentronics, AgentronicsClient, type DeclareAgentInput, DetectAgentOptions, GovernedTool, InitOptions, type IntelExporterOptions, type IntelSync, type IntelSyncOptions, PolicyEngine, TraceExporter, VERSION, WELL_KNOWN_PATH, type WebMcpContextOptions, type WebMcpContextTool, createConsoleExporter, createDashboardExporter, createDashboardSync, createGatewayExporter, createIntelExporter, createIntelSync, createSignatureLoader, createTraceBuffer, createWebMcpContextTool, createWebhookExporter, declareAgent, deriveTrustLevel, fetchWellKnownContext, highestTrust, installDomEnforcer, installMemoryOverlay, installMetaTags, serializeWellKnownContext, showDenyOverlay };
package/dist/index.d.ts CHANGED
@@ -53,7 +53,7 @@ declare const createWebhookExporter: ({ url, fetcher, maxRetries, queueLimit, }:
53
53
 
54
54
  interface IntelExporterOptions {
55
55
  /**
56
- * Intelligence API base URL (e.g. `https://intel-api-….run.app`) — the
56
+ * Agentronics API base URL (shown in the console under Settings) — the
57
57
  * `/v1/sdk/events` path is appended automatically — or the full ingest URL.
58
58
  */
59
59
  url: string;
@@ -67,14 +67,16 @@ interface IntelExporterOptions {
67
67
  fetcher?: typeof fetch;
68
68
  }
69
69
  /**
70
- * Stream governed-action traces to the Agentronics Intelligence dashboard.
70
+ * Stream traces (agent sign-ins, verifications, access decisions) to the
71
+ * Agentronics dashboard.
71
72
  * POSTs a `TraceBatch` to the intel-api ingest endpoint with the ingest key.
72
73
  * Intended for Node/server use (the existing webhook exporter is browser-bound
73
74
  * and can't send an auth header).
74
75
  */
76
+ /** @deprecated Use createDashboardExporter (same function). */
75
77
  declare const createIntelExporter: ({ url, ingestKey, fetcher, }: IntelExporterOptions) => TraceExporter;
76
78
  interface IntelSyncOptions {
77
- /** Intelligence API base URL (e.g. `https://intel-api-….run.app`). */
79
+ /** Agentronics API base URL (shown in the console under Settings). */
78
80
  url: string;
79
81
  /** Per-tenant SDK ingest key (`agtx_ik_…`). Backend-only — never the browser. */
80
82
  ingestKey: string;
@@ -84,7 +86,7 @@ interface IntelSyncOptions {
84
86
  }
85
87
  /**
86
88
  * Push the authoritative tool registry + site-memory snapshot to the
87
- * Intelligence dashboard — the full data the WebMCP Tools + Knaph pages need,
89
+ * Agentronics console — the full data the WebMCP Tools + Knaph pages need,
88
90
  * which is too large for the lightweight trace stream. Call after `syncTools()`
89
91
  * / `provideSiteMemory(...)`. Backend/server use only (the key is secret).
90
92
  */
@@ -94,7 +96,12 @@ interface IntelSync {
94
96
  /** POST the site-memory snapshot (+ optional quality score) to /v1/sdk/memory. */
95
97
  pushMemory(snapshot: object, score?: number): Promise<void>;
96
98
  }
99
+ /** @deprecated Use createDashboardSync (same function). */
97
100
  declare const createIntelSync: ({ url, ingestKey, siteId, fetcher, }: IntelSyncOptions) => IntelSync;
101
+ /** Preferred name. Streams SDK traces to the Agentronics dashboard. */
102
+ declare const createDashboardExporter: ({ url, ingestKey, fetcher, }: IntelExporterOptions) => TraceExporter;
103
+ /** Preferred name for createIntelSync. */
104
+ declare const createDashboardSync: ({ url, ingestKey, siteId, fetcher, }: IntelSyncOptions) => IntelSync;
98
105
 
99
106
  interface TrustDerivationInput {
100
107
  detected?: boolean;
@@ -188,4 +195,4 @@ declare const Agentronics: {
188
195
  };
189
196
  declare const VERSION = "0.1.0";
190
197
 
191
- export { Agentronics, AgentronicsClient, type DeclareAgentInput, DetectAgentOptions, GovernedTool, InitOptions, type IntelExporterOptions, type IntelSync, type IntelSyncOptions, PolicyEngine, TraceExporter, VERSION, WELL_KNOWN_PATH, type WebMcpContextOptions, type WebMcpContextTool, createConsoleExporter, createGatewayExporter, createIntelExporter, createIntelSync, createSignatureLoader, createTraceBuffer, createWebMcpContextTool, createWebhookExporter, declareAgent, deriveTrustLevel, fetchWellKnownContext, highestTrust, installDomEnforcer, installMemoryOverlay, installMetaTags, serializeWellKnownContext, showDenyOverlay };
198
+ export { Agentronics, AgentronicsClient, type DeclareAgentInput, DetectAgentOptions, GovernedTool, InitOptions, type IntelExporterOptions, type IntelSync, type IntelSyncOptions, PolicyEngine, TraceExporter, VERSION, WELL_KNOWN_PATH, type WebMcpContextOptions, type WebMcpContextTool, createConsoleExporter, createDashboardExporter, createDashboardSync, createGatewayExporter, createIntelExporter, createIntelSync, createSignatureLoader, createTraceBuffer, createWebMcpContextTool, createWebhookExporter, declareAgent, deriveTrustLevel, fetchWellKnownContext, highestTrust, installDomEnforcer, installMemoryOverlay, installMetaTags, serializeWellKnownContext, showDenyOverlay };