@membranehq/sdk 0.9.6 → 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.
- package/dist/dts/agent/session.d.ts +12 -0
- package/dist/dts/config/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/connectors/types.d.ts +3021 -78
- package/dist/index.browser.d.mts +3035 -80
- package/dist/index.browser.d.ts +3035 -80
- package/dist/index.browser.js +31 -6
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +30 -7
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +3036 -80
- package/dist/index.node.d.ts +3036 -80
- package/dist/index.node.js +38 -6
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +37 -7
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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>;
|