@converge.ai/a13n 0.3.0 → 0.3.3

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/schema.d.ts CHANGED
@@ -4810,6 +4810,26 @@ export interface paths {
4810
4810
  patch?: never;
4811
4811
  trace?: never;
4812
4812
  };
4813
+ "/api/v1/usage/sessions": {
4814
+ parameters: {
4815
+ query?: never;
4816
+ header?: never;
4817
+ path?: never;
4818
+ cookie?: never;
4819
+ };
4820
+ /**
4821
+ * List Session Usage
4822
+ * @description Sessions ranked by recorded cost for one Agent within the selected window.
4823
+ */
4824
+ get: operations["list_session_usage"];
4825
+ put?: never;
4826
+ post?: never;
4827
+ delete?: never;
4828
+ options?: never;
4829
+ head?: never;
4830
+ patch?: never;
4831
+ trace?: never;
4832
+ };
4813
4833
  "/api/v1/users/me": {
4814
4834
  parameters: {
4815
4835
  query?: never;
@@ -10939,6 +10959,7 @@ export interface components {
10939
10959
  agent_id: string;
10940
10960
  /** Agent Revision Id */
10941
10961
  agent_revision_id?: string | null;
10962
+ browser_binding?: components["schemas"]["BrowserBinding"] | null;
10942
10963
  /** @default steer */
10943
10964
  delivery?: components["schemas"]["Delivery"];
10944
10965
  /** @default [] */
@@ -12915,6 +12936,9 @@ export interface components {
12915
12936
  agent_id: string;
12916
12937
  /** Agent Revision Id */
12917
12938
  agent_revision_id: string | null;
12939
+ browser_binding?: components["schemas"]["BrowserBinding"] | null;
12940
+ /** @default [] */
12941
+ environments?: components["schemas"]["InitialMounts"];
12918
12942
  /**
12919
12943
  * Memories
12920
12944
  * @default []
@@ -12929,6 +12953,9 @@ export interface components {
12929
12953
  agent_id: string;
12930
12954
  /** Agent Revision Id */
12931
12955
  agent_revision_id: string | null;
12956
+ browser_binding?: components["schemas"]["BrowserBinding"] | null;
12957
+ /** @default [] */
12958
+ environments?: components["schemas"]["InitialMounts"];
12932
12959
  /**
12933
12960
  * Memories
12934
12961
  * @default []
@@ -13346,6 +13373,22 @@ export interface components {
13346
13373
  /** Title */
13347
13374
  title?: string | null;
13348
13375
  };
13376
+ /** SessionUsage */
13377
+ SessionUsage: {
13378
+ runs: components["schemas"]["RunMetrics"];
13379
+ /** Session Id */
13380
+ session_id: string;
13381
+ /** Title */
13382
+ title: string | null;
13383
+ usage: components["schemas"]["ModelMetrics"];
13384
+ };
13385
+ /** SessionUsagePage */
13386
+ SessionUsagePage: {
13387
+ /** Items */
13388
+ items: components["schemas"]["SessionUsage"][];
13389
+ /** Next Cursor */
13390
+ next_cursor: string | null;
13391
+ };
13349
13392
  /** SessionView */
13350
13393
  SessionView: {
13351
13394
  /** Auto Recreate Lost Environment */
@@ -25776,6 +25819,39 @@ export interface operations {
25776
25819
  default: components["responses"]["Error"];
25777
25820
  };
25778
25821
  };
25822
+ list_session_usage: {
25823
+ parameters: {
25824
+ query: {
25825
+ start: string;
25826
+ end: string;
25827
+ /** @description Filter by Run execution identity; requires workspace admin. */
25828
+ principal_id?: string | null;
25829
+ limit?: number;
25830
+ cursor?: string | null;
25831
+ agent_id: string;
25832
+ };
25833
+ header?: {
25834
+ /** @description The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden. */
25835
+ "X-Workspace-ID"?: string | null;
25836
+ };
25837
+ path?: never;
25838
+ cookie?: never;
25839
+ };
25840
+ requestBody?: never;
25841
+ responses: {
25842
+ /** @description Successful Response */
25843
+ 200: {
25844
+ headers: {
25845
+ [name: string]: unknown;
25846
+ };
25847
+ content: {
25848
+ "application/json": components["schemas"]["SessionUsagePage"];
25849
+ };
25850
+ };
25851
+ 400: components["responses"]["Error"];
25852
+ default: components["responses"]["Error"];
25853
+ };
25854
+ };
25779
25855
  get_profile: {
25780
25856
  parameters: {
25781
25857
  query?: never;