@bubblelab/shared-schemas 0.1.13 → 0.1.14
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/agent-memory.d.ts +21 -0
- package/dist/agent-memory.d.ts.map +1 -0
- package/dist/ai-models.d.ts +4 -0
- package/dist/ai-models.d.ts.map +1 -0
- package/dist/api-schema.d.ts +38 -0
- package/dist/api-schema.d.ts.map +1 -0
- package/dist/bubble-definition-schema.d.ts +840 -0
- package/dist/bubble-definition-schema.d.ts.map +1 -0
- package/dist/bubbleflow-execution-schema.d.ts +1297 -0
- package/dist/bubbleflow-execution-schema.d.ts.map +1 -0
- package/dist/bubbleflow-generation-prompts.d.ts +8 -0
- package/dist/bubbleflow-generation-prompts.d.ts.map +1 -0
- package/dist/bubbleflow-schema.d.ts +2071 -0
- package/dist/bubbleflow-schema.d.ts.map +1 -0
- package/dist/coffee.d.ts +2201 -0
- package/dist/coffee.d.ts.map +1 -0
- package/dist/credential-schema.d.ts +574 -0
- package/dist/credential-schema.d.ts.map +1 -0
- package/dist/cron-utils.d.ts +47 -0
- package/dist/cron-utils.d.ts.map +1 -0
- package/dist/database-definition-schema.d.ts +97 -0
- package/dist/database-definition-schema.d.ts.map +1 -0
- package/dist/error-enhancer.d.ts +6 -0
- package/dist/error-enhancer.d.ts.map +1 -0
- package/dist/generate-bubbleflow-schema.d.ts +1525 -0
- package/dist/generate-bubbleflow-schema.d.ts.map +1 -0
- package/dist/hash-utils.d.ts +26 -0
- package/dist/hash-utils.d.ts.map +1 -0
- package/dist/index.d.ts +29 -10076
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +225 -0
- package/dist/index.js.map +1 -1
- package/dist/milk-tea.d.ts +106 -0
- package/dist/milk-tea.d.ts.map +1 -0
- package/dist/mock-data-generator.d.ts +51 -0
- package/dist/mock-data-generator.d.ts.map +1 -0
- package/dist/oauth-schema.d.ts +61 -0
- package/dist/oauth-schema.d.ts.map +1 -0
- package/dist/param-utils.d.ts +10 -0
- package/dist/param-utils.d.ts.map +1 -0
- package/dist/pearl.d.ts +346 -0
- package/dist/pearl.d.ts.map +1 -0
- package/dist/rice.d.ts +100 -0
- package/dist/rice.d.ts.map +1 -0
- package/dist/storage-utils.d.ts +19 -0
- package/dist/storage-utils.d.ts.map +1 -0
- package/dist/streaming-events.d.ts +140 -0
- package/dist/streaming-events.d.ts.map +1 -0
- package/dist/subscription-status-schema.d.ts +250 -0
- package/dist/subscription-status-schema.d.ts.map +1 -0
- package/dist/trigger.d.ts +172 -0
- package/dist/trigger.d.ts.map +1 -0
- package/dist/types.d.ts +31 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/waitlist-schema.d.ts +30 -0
- package/dist/waitlist-schema.d.ts.map +1 -0
- package/dist/webhook-schema.d.ts +95 -0
- package/dist/webhook-schema.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Conversation message schema for milk tea multi-turn conversations
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Request schema for Milk Tea agent
|
|
7
|
+
* Milk Tea helps users configure bubble parameters through conversation
|
|
8
|
+
*/
|
|
9
|
+
export declare const MilkTeaRequestSchema: z.ZodObject<{
|
|
10
|
+
userRequest: z.ZodString;
|
|
11
|
+
bubbleName: z.ZodString;
|
|
12
|
+
bubbleSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13
|
+
currentCode: z.ZodOptional<z.ZodString>;
|
|
14
|
+
availableCredentials: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
15
|
+
userName: z.ZodString;
|
|
16
|
+
insertLocation: z.ZodOptional<z.ZodString>;
|
|
17
|
+
conversationHistory: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18
|
+
role: z.ZodEnum<["user", "assistant", "tool"]>;
|
|
19
|
+
content: z.ZodString;
|
|
20
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
21
|
+
name: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
role: "user" | "assistant" | "tool";
|
|
24
|
+
content: string;
|
|
25
|
+
toolCallId?: string | undefined;
|
|
26
|
+
name?: string | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
role: "user" | "assistant" | "tool";
|
|
29
|
+
content: string;
|
|
30
|
+
toolCallId?: string | undefined;
|
|
31
|
+
name?: string | undefined;
|
|
32
|
+
}>, "many">>>;
|
|
33
|
+
model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/x-ai/grok-4.1-fast", "openrouter/openai/gpt-oss-120b", "openrouter/deepseek/deepseek-chat-v3.1"]>>;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
bubbleName: string;
|
|
36
|
+
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
|
|
37
|
+
userRequest: string;
|
|
38
|
+
bubbleSchema: Record<string, unknown>;
|
|
39
|
+
availableCredentials: string[];
|
|
40
|
+
userName: string;
|
|
41
|
+
conversationHistory: {
|
|
42
|
+
role: "user" | "assistant" | "tool";
|
|
43
|
+
content: string;
|
|
44
|
+
toolCallId?: string | undefined;
|
|
45
|
+
name?: string | undefined;
|
|
46
|
+
}[];
|
|
47
|
+
currentCode?: string | undefined;
|
|
48
|
+
insertLocation?: string | undefined;
|
|
49
|
+
}, {
|
|
50
|
+
bubbleName: string;
|
|
51
|
+
userRequest: string;
|
|
52
|
+
bubbleSchema: Record<string, unknown>;
|
|
53
|
+
userName: string;
|
|
54
|
+
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1" | undefined;
|
|
55
|
+
currentCode?: string | undefined;
|
|
56
|
+
availableCredentials?: string[] | undefined;
|
|
57
|
+
insertLocation?: string | undefined;
|
|
58
|
+
conversationHistory?: {
|
|
59
|
+
role: "user" | "assistant" | "tool";
|
|
60
|
+
content: string;
|
|
61
|
+
toolCallId?: string | undefined;
|
|
62
|
+
name?: string | undefined;
|
|
63
|
+
}[] | undefined;
|
|
64
|
+
}>;
|
|
65
|
+
/**
|
|
66
|
+
* Response schema for Milk Tea agent
|
|
67
|
+
*/
|
|
68
|
+
export declare const MilkTeaResponseSchema: z.ZodObject<{
|
|
69
|
+
type: z.ZodEnum<["code", "question", "reject"]>;
|
|
70
|
+
message: z.ZodString;
|
|
71
|
+
snippet: z.ZodOptional<z.ZodString>;
|
|
72
|
+
success: z.ZodBoolean;
|
|
73
|
+
error: z.ZodOptional<z.ZodString>;
|
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
message: string;
|
|
76
|
+
type: "code" | "question" | "reject";
|
|
77
|
+
success: boolean;
|
|
78
|
+
error?: string | undefined;
|
|
79
|
+
snippet?: string | undefined;
|
|
80
|
+
}, {
|
|
81
|
+
message: string;
|
|
82
|
+
type: "code" | "question" | "reject";
|
|
83
|
+
success: boolean;
|
|
84
|
+
error?: string | undefined;
|
|
85
|
+
snippet?: string | undefined;
|
|
86
|
+
}>;
|
|
87
|
+
/**
|
|
88
|
+
* Internal agent response format (JSON mode output from AI)
|
|
89
|
+
*/
|
|
90
|
+
export declare const MilkTeaAgentOutputSchema: z.ZodObject<{
|
|
91
|
+
type: z.ZodEnum<["code", "question", "reject"]>;
|
|
92
|
+
message: z.ZodString;
|
|
93
|
+
snippet: z.ZodOptional<z.ZodString>;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
message: string;
|
|
96
|
+
type: "code" | "question" | "reject";
|
|
97
|
+
snippet?: string | undefined;
|
|
98
|
+
}, {
|
|
99
|
+
message: string;
|
|
100
|
+
type: "code" | "question" | "reject";
|
|
101
|
+
snippet?: string | undefined;
|
|
102
|
+
}>;
|
|
103
|
+
export type MilkTeaRequest = z.infer<typeof MilkTeaRequestSchema>;
|
|
104
|
+
export type MilkTeaResponse = z.infer<typeof MilkTeaResponseSchema>;
|
|
105
|
+
export type MilkTeaAgentOutput = z.infer<typeof MilkTeaAgentOutputSchema>;
|
|
106
|
+
//# sourceMappingURL=milk-tea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"milk-tea.d.ts","sourceRoot":"","sources":["../src/milk-tea.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AAEH;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6C/B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;EA0BhC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAInC,CAAC;AAGH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export interface BubbleOperationResult {
|
|
3
|
+
success: boolean;
|
|
4
|
+
error: string;
|
|
5
|
+
}
|
|
6
|
+
export interface BubbleResult<T> extends BubbleOperationResult {
|
|
7
|
+
data: T;
|
|
8
|
+
executionId: string;
|
|
9
|
+
timestamp: Date;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Utility class for generating mock data from Zod schemas
|
|
13
|
+
* Useful for testing, development, and creating sample data
|
|
14
|
+
*/
|
|
15
|
+
export declare class MockDataGenerator {
|
|
16
|
+
/**
|
|
17
|
+
* Generate a complete mock BubbleResult from a result schema
|
|
18
|
+
*/
|
|
19
|
+
static generateMockResult<TResult extends BubbleOperationResult>(resultSchema: z.ZodObject<z.ZodRawShape>): BubbleResult<TResult>;
|
|
20
|
+
/**
|
|
21
|
+
* Generate mock data from JSON Schema
|
|
22
|
+
* Converts JSON Schema to mock data with realistic values
|
|
23
|
+
*/
|
|
24
|
+
static generateMockFromJsonSchema(jsonSchema: Record<string, unknown>): Record<string, unknown>;
|
|
25
|
+
/**
|
|
26
|
+
* Generate a mock value for a specific JSON Schema property
|
|
27
|
+
*/
|
|
28
|
+
static generateMockValueFromJsonSchema(schema: Record<string, unknown>): unknown;
|
|
29
|
+
/**
|
|
30
|
+
* Generate mock data object from a Zod schema
|
|
31
|
+
* Recursively handles nested objects, arrays, and primitive types
|
|
32
|
+
*/
|
|
33
|
+
static generateMockFromSchema(schema: z.ZodObject<z.ZodRawShape>): Record<string, unknown>;
|
|
34
|
+
/**
|
|
35
|
+
* Generate a mock value for a specific Zod type
|
|
36
|
+
*/
|
|
37
|
+
static generateMockValue(zodType: z.ZodTypeAny): unknown;
|
|
38
|
+
/**
|
|
39
|
+
* Generate mock string values with format-specific handling
|
|
40
|
+
*/
|
|
41
|
+
private static generateMockString;
|
|
42
|
+
/**
|
|
43
|
+
* Generate mock number values respecting constraints
|
|
44
|
+
*/
|
|
45
|
+
private static generateMockNumber;
|
|
46
|
+
/**
|
|
47
|
+
* Generate mock data with custom seed for reproducible results
|
|
48
|
+
*/
|
|
49
|
+
static generateMockWithSeed<TResult extends BubbleOperationResult>(resultSchema: z.ZodObject<z.ZodRawShape>, seed: number): BubbleResult<TResult>;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=mock-data-generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mock-data-generator.d.ts","sourceRoot":"","sources":["../src/mock-data-generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoBxB,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAGD,MAAM,WAAW,YAAY,CAAC,CAAC,CAAE,SAAQ,qBAAqB;IAC5D,IAAI,EAAE,CAAC,CAAC;IACR,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED;;;GAGG;AACH,qBAAa,iBAAiB;IAC5B;;OAEG;IACH,MAAM,CAAC,kBAAkB,CAAC,OAAO,SAAS,qBAAqB,EAC7D,YAAY,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,GACvC,YAAY,CAAC,OAAO,CAAC;IAYxB;;;OAGG;IACH,MAAM,CAAC,0BAA0B,CAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAClC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IA0B1B;;OAEG;IACH,MAAM,CAAC,+BAA+B,CACpC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,OAAO;IAwEV;;;OAGG;IACH,MAAM,CAAC,sBAAsB,CAC3B,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,GACjC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IA0B1B;;OAEG;IACH,MAAM,CAAC,iBAAiB,CAAC,OAAO,EAAE,CAAC,CAAC,UAAU,GAAG,OAAO;IA0HxD;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAoCjC;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,kBAAkB;IA4BjC;;OAEG;IACH,MAAM,CAAC,oBAAoB,CAAC,OAAO,SAAS,qBAAqB,EAC/D,YAAY,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,EACxC,IAAI,EAAE,MAAM,GACX,YAAY,CAAC,OAAO,CAAC;CA+BzB"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { z } from '@hono/zod-openapi';
|
|
2
|
+
import { CredentialType } from './types';
|
|
3
|
+
export declare const oauthInitiateRequestSchema: z.ZodObject<{
|
|
4
|
+
credentialType: z.ZodNativeEnum<typeof CredentialType>;
|
|
5
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
credentialType: CredentialType;
|
|
9
|
+
name?: string | undefined;
|
|
10
|
+
scopes?: string[] | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
credentialType: CredentialType;
|
|
13
|
+
name?: string | undefined;
|
|
14
|
+
scopes?: string[] | undefined;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const oauthInitiateResponseSchema: z.ZodObject<{
|
|
17
|
+
authUrl: z.ZodString;
|
|
18
|
+
state: z.ZodString;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
state: string;
|
|
21
|
+
authUrl: string;
|
|
22
|
+
}, {
|
|
23
|
+
state: string;
|
|
24
|
+
authUrl: string;
|
|
25
|
+
}>;
|
|
26
|
+
export declare const oauthCallbackRequestSchema: z.ZodObject<{
|
|
27
|
+
code: z.ZodString;
|
|
28
|
+
state: z.ZodString;
|
|
29
|
+
name: z.ZodString;
|
|
30
|
+
description: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
name: string;
|
|
33
|
+
code: string;
|
|
34
|
+
state: string;
|
|
35
|
+
description?: string | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
name: string;
|
|
38
|
+
code: string;
|
|
39
|
+
state: string;
|
|
40
|
+
description?: string | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
export declare const oauthTokenRefreshResponseSchema: z.ZodObject<{
|
|
43
|
+
message: z.ZodString;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
message: string;
|
|
46
|
+
}, {
|
|
47
|
+
message: string;
|
|
48
|
+
}>;
|
|
49
|
+
export declare const oauthRevokeResponseSchema: z.ZodObject<{
|
|
50
|
+
message: z.ZodString;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
message: string;
|
|
53
|
+
}, {
|
|
54
|
+
message: string;
|
|
55
|
+
}>;
|
|
56
|
+
export type OAuthInitiateRequest = z.infer<typeof oauthInitiateRequestSchema>;
|
|
57
|
+
export type OAuthInitiateResponse = z.infer<typeof oauthInitiateResponseSchema>;
|
|
58
|
+
export type OAuthCallbackRequest = z.infer<typeof oauthCallbackRequestSchema>;
|
|
59
|
+
export type OAuthTokenRefreshResponse = z.infer<typeof oauthTokenRefreshResponseSchema>;
|
|
60
|
+
export type OAuthRevokeResponse = z.infer<typeof oauthRevokeResponseSchema>;
|
|
61
|
+
//# sourceMappingURL=oauth-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth-schema.d.ts","sourceRoot":"","sources":["../src/oauth-schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAGzC,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAmBL,CAAC;AAGnC,eAAO,MAAM,2BAA2B;;;;;;;;;EAWL,CAAC;AAGpC,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAkBL,CAAC;AAGnC,eAAO,MAAM,+BAA+B;;;;;;EAOL,CAAC;AAGxC,eAAO,MAAM,yBAAyB;;;;;;EAOL,CAAC;AAGlC,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,+BAA+B,CACvC,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility functions for parameter handling
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Sanitizes parameters by removing credential-related fields
|
|
6
|
+
* @param params - The parameters object to sanitize
|
|
7
|
+
* @returns A new object with credentials removed
|
|
8
|
+
*/
|
|
9
|
+
export declare function sanitizeParams(params: Record<string, unknown>): Record<string, unknown>;
|
|
10
|
+
//# sourceMappingURL=param-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"param-utils.d.ts","sourceRoot":"","sources":["../src/param-utils.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAKzB"}
|
package/dist/pearl.d.ts
ADDED
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type AvailableModel } from './ai-models.js';
|
|
3
|
+
import { CredentialType } from './types.js';
|
|
4
|
+
export declare const PEARL_DEFAULT_MODEL: AvailableModel;
|
|
5
|
+
/**
|
|
6
|
+
* Request schema for Pearl agent
|
|
7
|
+
* Pearl helps users build complete workflows without requiring specific bubbles
|
|
8
|
+
*/
|
|
9
|
+
export declare const PearlRequestSchema: z.ZodObject<{
|
|
10
|
+
userRequest: z.ZodString;
|
|
11
|
+
currentCode: z.ZodOptional<z.ZodString>;
|
|
12
|
+
userName: z.ZodString;
|
|
13
|
+
availableVariables: z.ZodArray<z.ZodAny, "many">;
|
|
14
|
+
conversationHistory: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15
|
+
role: z.ZodEnum<["user", "assistant", "tool"]>;
|
|
16
|
+
content: z.ZodString;
|
|
17
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
name: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
role: "user" | "assistant" | "tool";
|
|
21
|
+
content: string;
|
|
22
|
+
toolCallId?: string | undefined;
|
|
23
|
+
name?: string | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
role: "user" | "assistant" | "tool";
|
|
26
|
+
content: string;
|
|
27
|
+
toolCallId?: string | undefined;
|
|
28
|
+
name?: string | undefined;
|
|
29
|
+
}>, "many">>>;
|
|
30
|
+
model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/x-ai/grok-4.1-fast", "openrouter/openai/gpt-oss-120b", "openrouter/deepseek/deepseek-chat-v3.1"]>>;
|
|
31
|
+
additionalContext: z.ZodOptional<z.ZodString>;
|
|
32
|
+
uploadedFiles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
33
|
+
name: z.ZodString;
|
|
34
|
+
content: z.ZodString;
|
|
35
|
+
fileType: z.ZodEnum<["image", "text"]>;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
content: string;
|
|
38
|
+
name: string;
|
|
39
|
+
fileType: "text" | "image";
|
|
40
|
+
}, {
|
|
41
|
+
content: string;
|
|
42
|
+
name: string;
|
|
43
|
+
fileType: "text" | "image";
|
|
44
|
+
}>, "many">>>;
|
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1";
|
|
47
|
+
userRequest: string;
|
|
48
|
+
userName: string;
|
|
49
|
+
conversationHistory: {
|
|
50
|
+
role: "user" | "assistant" | "tool";
|
|
51
|
+
content: string;
|
|
52
|
+
toolCallId?: string | undefined;
|
|
53
|
+
name?: string | undefined;
|
|
54
|
+
}[];
|
|
55
|
+
availableVariables: any[];
|
|
56
|
+
uploadedFiles: {
|
|
57
|
+
content: string;
|
|
58
|
+
name: string;
|
|
59
|
+
fileType: "text" | "image";
|
|
60
|
+
}[];
|
|
61
|
+
currentCode?: string | undefined;
|
|
62
|
+
additionalContext?: string | undefined;
|
|
63
|
+
}, {
|
|
64
|
+
userRequest: string;
|
|
65
|
+
userName: string;
|
|
66
|
+
availableVariables: any[];
|
|
67
|
+
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1" | undefined;
|
|
68
|
+
currentCode?: string | undefined;
|
|
69
|
+
conversationHistory?: {
|
|
70
|
+
role: "user" | "assistant" | "tool";
|
|
71
|
+
content: string;
|
|
72
|
+
toolCallId?: string | undefined;
|
|
73
|
+
name?: string | undefined;
|
|
74
|
+
}[] | undefined;
|
|
75
|
+
additionalContext?: string | undefined;
|
|
76
|
+
uploadedFiles?: {
|
|
77
|
+
content: string;
|
|
78
|
+
name: string;
|
|
79
|
+
fileType: "text" | "image";
|
|
80
|
+
}[] | undefined;
|
|
81
|
+
}>;
|
|
82
|
+
/**
|
|
83
|
+
* Response schema for Pearl agent
|
|
84
|
+
*/
|
|
85
|
+
export declare const PearlResponseSchema: z.ZodObject<{
|
|
86
|
+
type: z.ZodEnum<["code", "question", "answer", "reject"]>;
|
|
87
|
+
message: z.ZodString;
|
|
88
|
+
snippet: z.ZodOptional<z.ZodString>;
|
|
89
|
+
bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodNumber, z.ZodObject<{
|
|
90
|
+
variableName: z.ZodString;
|
|
91
|
+
bubbleName: z.ZodType<import("./types.js").BubbleName>;
|
|
92
|
+
className: z.ZodString;
|
|
93
|
+
parameters: z.ZodArray<z.ZodObject<{
|
|
94
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
95
|
+
startLine: z.ZodNumber;
|
|
96
|
+
startCol: z.ZodNumber;
|
|
97
|
+
endLine: z.ZodNumber;
|
|
98
|
+
endCol: z.ZodNumber;
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
startLine: number;
|
|
101
|
+
startCol: number;
|
|
102
|
+
endLine: number;
|
|
103
|
+
endCol: number;
|
|
104
|
+
}, {
|
|
105
|
+
startLine: number;
|
|
106
|
+
startCol: number;
|
|
107
|
+
endLine: number;
|
|
108
|
+
endCol: number;
|
|
109
|
+
}>>;
|
|
110
|
+
variableId: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
name: z.ZodString;
|
|
112
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
|
|
113
|
+
type: z.ZodNativeEnum<typeof import("./bubble-definition-schema.js").BubbleParameterType>;
|
|
114
|
+
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
115
|
+
}, "strip", z.ZodTypeAny, {
|
|
116
|
+
name: string;
|
|
117
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
118
|
+
type: import("./bubble-definition-schema.js").BubbleParameterType;
|
|
119
|
+
location?: {
|
|
120
|
+
startLine: number;
|
|
121
|
+
startCol: number;
|
|
122
|
+
endLine: number;
|
|
123
|
+
endCol: number;
|
|
124
|
+
} | undefined;
|
|
125
|
+
variableId?: number | undefined;
|
|
126
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
127
|
+
}, {
|
|
128
|
+
name: string;
|
|
129
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
130
|
+
type: import("./bubble-definition-schema.js").BubbleParameterType;
|
|
131
|
+
location?: {
|
|
132
|
+
startLine: number;
|
|
133
|
+
startCol: number;
|
|
134
|
+
endLine: number;
|
|
135
|
+
endCol: number;
|
|
136
|
+
} | undefined;
|
|
137
|
+
variableId?: number | undefined;
|
|
138
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
139
|
+
}>, "many">;
|
|
140
|
+
hasAwait: z.ZodBoolean;
|
|
141
|
+
hasActionCall: z.ZodBoolean;
|
|
142
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodType<import("./types.js").BubbleName, z.ZodTypeDef, import("./types.js").BubbleName>, "many">>;
|
|
143
|
+
dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>;
|
|
144
|
+
variableId: z.ZodNumber;
|
|
145
|
+
nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>;
|
|
146
|
+
location: z.ZodObject<{
|
|
147
|
+
startLine: z.ZodNumber;
|
|
148
|
+
startCol: z.ZodNumber;
|
|
149
|
+
endLine: z.ZodNumber;
|
|
150
|
+
endCol: z.ZodNumber;
|
|
151
|
+
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
startLine: number;
|
|
153
|
+
startCol: number;
|
|
154
|
+
endLine: number;
|
|
155
|
+
endCol: number;
|
|
156
|
+
}, {
|
|
157
|
+
startLine: number;
|
|
158
|
+
startCol: number;
|
|
159
|
+
endLine: number;
|
|
160
|
+
endCol: number;
|
|
161
|
+
}>;
|
|
162
|
+
description: z.ZodOptional<z.ZodString>;
|
|
163
|
+
invocationCallSiteKey: z.ZodOptional<z.ZodString>;
|
|
164
|
+
clonedFromVariableId: z.ZodOptional<z.ZodNumber>;
|
|
165
|
+
isInsideCustomTool: z.ZodOptional<z.ZodBoolean>;
|
|
166
|
+
containingCustomToolId: z.ZodOptional<z.ZodString>;
|
|
167
|
+
}, "strip", z.ZodTypeAny, {
|
|
168
|
+
location: {
|
|
169
|
+
startLine: number;
|
|
170
|
+
startCol: number;
|
|
171
|
+
endLine: number;
|
|
172
|
+
endCol: number;
|
|
173
|
+
};
|
|
174
|
+
variableId: number;
|
|
175
|
+
variableName: string;
|
|
176
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
177
|
+
className: string;
|
|
178
|
+
parameters: {
|
|
179
|
+
name: string;
|
|
180
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
181
|
+
type: import("./bubble-definition-schema.js").BubbleParameterType;
|
|
182
|
+
location?: {
|
|
183
|
+
startLine: number;
|
|
184
|
+
startCol: number;
|
|
185
|
+
endLine: number;
|
|
186
|
+
endCol: number;
|
|
187
|
+
} | undefined;
|
|
188
|
+
variableId?: number | undefined;
|
|
189
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
190
|
+
}[];
|
|
191
|
+
hasAwait: boolean;
|
|
192
|
+
hasActionCall: boolean;
|
|
193
|
+
bubbleName: import("./types.js").BubbleName;
|
|
194
|
+
description?: string | undefined;
|
|
195
|
+
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
196
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
197
|
+
invocationCallSiteKey?: string | undefined;
|
|
198
|
+
clonedFromVariableId?: number | undefined;
|
|
199
|
+
isInsideCustomTool?: boolean | undefined;
|
|
200
|
+
containingCustomToolId?: string | undefined;
|
|
201
|
+
}, {
|
|
202
|
+
location: {
|
|
203
|
+
startLine: number;
|
|
204
|
+
startCol: number;
|
|
205
|
+
endLine: number;
|
|
206
|
+
endCol: number;
|
|
207
|
+
};
|
|
208
|
+
variableId: number;
|
|
209
|
+
variableName: string;
|
|
210
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
211
|
+
className: string;
|
|
212
|
+
parameters: {
|
|
213
|
+
name: string;
|
|
214
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
215
|
+
type: import("./bubble-definition-schema.js").BubbleParameterType;
|
|
216
|
+
location?: {
|
|
217
|
+
startLine: number;
|
|
218
|
+
startCol: number;
|
|
219
|
+
endLine: number;
|
|
220
|
+
endCol: number;
|
|
221
|
+
} | undefined;
|
|
222
|
+
variableId?: number | undefined;
|
|
223
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
224
|
+
}[];
|
|
225
|
+
hasAwait: boolean;
|
|
226
|
+
hasActionCall: boolean;
|
|
227
|
+
bubbleName: import("./types.js").BubbleName;
|
|
228
|
+
description?: string | undefined;
|
|
229
|
+
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
230
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
231
|
+
invocationCallSiteKey?: string | undefined;
|
|
232
|
+
clonedFromVariableId?: number | undefined;
|
|
233
|
+
isInsideCustomTool?: boolean | undefined;
|
|
234
|
+
containingCustomToolId?: string | undefined;
|
|
235
|
+
}>>>;
|
|
236
|
+
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
237
|
+
requiredCredentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>>;
|
|
238
|
+
success: z.ZodBoolean;
|
|
239
|
+
error: z.ZodOptional<z.ZodString>;
|
|
240
|
+
}, "strip", z.ZodTypeAny, {
|
|
241
|
+
message: string;
|
|
242
|
+
type: "code" | "question" | "answer" | "reject";
|
|
243
|
+
success: boolean;
|
|
244
|
+
error?: string | undefined;
|
|
245
|
+
inputSchema?: Record<string, unknown> | undefined;
|
|
246
|
+
requiredCredentials?: Record<string, CredentialType[]> | undefined;
|
|
247
|
+
bubbleParameters?: Record<number, {
|
|
248
|
+
location: {
|
|
249
|
+
startLine: number;
|
|
250
|
+
startCol: number;
|
|
251
|
+
endLine: number;
|
|
252
|
+
endCol: number;
|
|
253
|
+
};
|
|
254
|
+
variableId: number;
|
|
255
|
+
variableName: string;
|
|
256
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
257
|
+
className: string;
|
|
258
|
+
parameters: {
|
|
259
|
+
name: string;
|
|
260
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
261
|
+
type: import("./bubble-definition-schema.js").BubbleParameterType;
|
|
262
|
+
location?: {
|
|
263
|
+
startLine: number;
|
|
264
|
+
startCol: number;
|
|
265
|
+
endLine: number;
|
|
266
|
+
endCol: number;
|
|
267
|
+
} | undefined;
|
|
268
|
+
variableId?: number | undefined;
|
|
269
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
270
|
+
}[];
|
|
271
|
+
hasAwait: boolean;
|
|
272
|
+
hasActionCall: boolean;
|
|
273
|
+
bubbleName: import("./types.js").BubbleName;
|
|
274
|
+
description?: string | undefined;
|
|
275
|
+
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
276
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
277
|
+
invocationCallSiteKey?: string | undefined;
|
|
278
|
+
clonedFromVariableId?: number | undefined;
|
|
279
|
+
isInsideCustomTool?: boolean | undefined;
|
|
280
|
+
containingCustomToolId?: string | undefined;
|
|
281
|
+
}> | undefined;
|
|
282
|
+
snippet?: string | undefined;
|
|
283
|
+
}, {
|
|
284
|
+
message: string;
|
|
285
|
+
type: "code" | "question" | "answer" | "reject";
|
|
286
|
+
success: boolean;
|
|
287
|
+
error?: string | undefined;
|
|
288
|
+
inputSchema?: Record<string, unknown> | undefined;
|
|
289
|
+
requiredCredentials?: Record<string, CredentialType[]> | undefined;
|
|
290
|
+
bubbleParameters?: Record<number, {
|
|
291
|
+
location: {
|
|
292
|
+
startLine: number;
|
|
293
|
+
startCol: number;
|
|
294
|
+
endLine: number;
|
|
295
|
+
endCol: number;
|
|
296
|
+
};
|
|
297
|
+
variableId: number;
|
|
298
|
+
variableName: string;
|
|
299
|
+
nodeType: "tool" | "unknown" | "service" | "workflow";
|
|
300
|
+
className: string;
|
|
301
|
+
parameters: {
|
|
302
|
+
name: string;
|
|
303
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
304
|
+
type: import("./bubble-definition-schema.js").BubbleParameterType;
|
|
305
|
+
location?: {
|
|
306
|
+
startLine: number;
|
|
307
|
+
startCol: number;
|
|
308
|
+
endLine: number;
|
|
309
|
+
endCol: number;
|
|
310
|
+
} | undefined;
|
|
311
|
+
variableId?: number | undefined;
|
|
312
|
+
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
313
|
+
}[];
|
|
314
|
+
hasAwait: boolean;
|
|
315
|
+
hasActionCall: boolean;
|
|
316
|
+
bubbleName: import("./types.js").BubbleName;
|
|
317
|
+
description?: string | undefined;
|
|
318
|
+
dependencies?: import("./types.js").BubbleName[] | undefined;
|
|
319
|
+
dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined;
|
|
320
|
+
invocationCallSiteKey?: string | undefined;
|
|
321
|
+
clonedFromVariableId?: number | undefined;
|
|
322
|
+
isInsideCustomTool?: boolean | undefined;
|
|
323
|
+
containingCustomToolId?: string | undefined;
|
|
324
|
+
}> | undefined;
|
|
325
|
+
snippet?: string | undefined;
|
|
326
|
+
}>;
|
|
327
|
+
/**
|
|
328
|
+
* Internal agent response format (JSON mode output from AI)
|
|
329
|
+
*/
|
|
330
|
+
export declare const PearlAgentOutputSchema: z.ZodObject<{
|
|
331
|
+
type: z.ZodEnum<["code", "question", "answer", "reject", "text"]>;
|
|
332
|
+
message: z.ZodString;
|
|
333
|
+
snippet: z.ZodOptional<z.ZodString>;
|
|
334
|
+
}, "strip", z.ZodTypeAny, {
|
|
335
|
+
message: string;
|
|
336
|
+
type: "code" | "question" | "answer" | "reject" | "text";
|
|
337
|
+
snippet?: string | undefined;
|
|
338
|
+
}, {
|
|
339
|
+
message: string;
|
|
340
|
+
type: "code" | "question" | "answer" | "reject" | "text";
|
|
341
|
+
snippet?: string | undefined;
|
|
342
|
+
}>;
|
|
343
|
+
export type PearlRequest = z.infer<typeof PearlRequestSchema>;
|
|
344
|
+
export type PearlResponse = z.infer<typeof PearlResponseSchema>;
|
|
345
|
+
export type PearlAgentOutput = z.infer<typeof PearlAgentOutputSchema>;
|
|
346
|
+
//# sourceMappingURL=pearl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pearl.d.ts","sourceRoot":"","sources":["../src/pearl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEtE,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAG5C,eAAO,MAAM,mBAAmB,EAAE,cACQ,CAAC;AAC3C;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqD7B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+C9B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIjC,CAAC;AAGH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|