@membranehq/sdk 0.9.5 → 0.9.7

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.
@@ -9,6 +9,10 @@ export declare enum AgentSessionStatus {
9
9
  FAILED = "failed",
10
10
  CANCELLED = "cancelled"
11
11
  }
12
+ export declare enum AgentSessionState {
13
+ BUSY = "busy",
14
+ IDLE = "idle"
15
+ }
12
16
  export declare const AgentSession: z.ZodObject<{
13
17
  id: z.ZodString;
14
18
  workspaceId: z.ZodString;
@@ -29,6 +33,7 @@ export declare const AgentSession: z.ZodObject<{
29
33
  logs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
30
34
  usage: z.ZodOptional<z.ZodNumber>;
31
35
  summary: z.ZodOptional<z.ZodString>;
36
+ state: z.ZodDefault<z.ZodEnum<typeof AgentSessionState>>;
32
37
  }, z.core.$strip>;
33
38
  export type AgentSession = z.infer<typeof AgentSession>;
34
39
  export declare const CreateAgentSession: z.ZodObject<{
@@ -43,3 +48,10 @@ export declare const AgentSessionInputSchema: z.ZodObject<{
43
48
  synthetic: z.ZodOptional<z.ZodBoolean>;
44
49
  }, z.core.$strip>;
45
50
  export type AgentSessionInput = z.infer<typeof AgentSessionInputSchema>;
51
+ export declare const PatchAgentSessionSchema: z.ZodObject<{
52
+ state: z.ZodOptional<z.ZodEnum<typeof AgentSessionState>>;
53
+ lastActivityAt: z.ZodOptional<z.ZodISODateTime>;
54
+ summary: z.ZodOptional<z.ZodString>;
55
+ status: z.ZodOptional<z.ZodEnum<typeof AgentSessionStatus>>;
56
+ }, z.core.$strip>;
57
+ export type PatchAgentSession = z.infer<typeof PatchAgentSessionSchema>;
@@ -4,6 +4,7 @@ export declare const membraneConfigSchema: z.ZodObject<{
4
4
  workspaceKey: z.ZodString;
5
5
  workspaceSecret: z.ZodString;
6
6
  apiUri: z.ZodOptional<z.ZodString>;
7
+ consoleUri: z.ZodOptional<z.ZodString>;
7
8
  testCustomerId: z.ZodOptional<z.ZodString>;
8
9
  }, z.core.$strip>;
9
10
  export type MembraneConfig = z.infer<typeof membraneConfigSchema>;
@@ -263,6 +263,11 @@ export declare const AccountResponse: z.ZodObject<{
263
263
  defaultValue: z.ZodOptional<z.ZodNumber>;
264
264
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
265
265
  }, z.core.$strip>>;
266
+ parallelInstantTasksActiveJobs: z.ZodOptional<z.ZodObject<{
267
+ value: z.ZodOptional<z.ZodNumber>;
268
+ defaultValue: z.ZodOptional<z.ZodNumber>;
269
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
270
+ }, z.core.$strip>>;
266
271
  ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
267
272
  value: z.ZodOptional<z.ZodNumber>;
268
273
  defaultValue: z.ZodOptional<z.ZodNumber>;
@@ -323,6 +328,11 @@ export declare const AccountResponse: z.ZodObject<{
323
328
  defaultValue: z.ZodOptional<z.ZodNumber>;
324
329
  unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
325
330
  }, z.core.$strip>>;
331
+ instantTasksQueueSize: z.ZodOptional<z.ZodObject<{
332
+ value: z.ZodOptional<z.ZodNumber>;
333
+ defaultValue: z.ZodOptional<z.ZodNumber>;
334
+ unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
335
+ }, z.core.$strip>>;
326
336
  parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
327
337
  value: z.ZodOptional<z.ZodNumber>;
328
338
  defaultValue: z.ZodOptional<z.ZodNumber>;