@applica-software-guru/persona-sdk 0.1.96 → 0.1.101

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.
Files changed (167) hide show
  1. package/.eslintrc.cjs +6 -5
  2. package/.nvmrc +1 -1
  3. package/.prettierignore +3 -5
  4. package/.prettierrc +3 -5
  5. package/README.md +360 -20
  6. package/bitbucket-pipelines.yml +6 -5
  7. package/dist/bundle.cjs.js +1 -27
  8. package/dist/bundle.cjs.js.map +1 -1
  9. package/dist/bundle.es.js +703 -5053
  10. package/dist/bundle.es.js.map +1 -1
  11. package/dist/index.d.ts +1442 -7
  12. package/package.json +9 -51
  13. package/src/agents/agents-api.ts +66 -0
  14. package/src/agents/types.ts +349 -0
  15. package/src/auth/api-key-auth.ts +13 -0
  16. package/src/auth/authentication-provider.ts +4 -0
  17. package/src/auth/bearer-token-auth.ts +13 -0
  18. package/src/auth/index.ts +3 -0
  19. package/src/billing/billing-client.ts +182 -0
  20. package/src/billing/types.ts +166 -0
  21. package/src/credentials/credentials-api.ts +40 -0
  22. package/src/credentials/types.ts +67 -0
  23. package/src/exceptions.ts +10 -0
  24. package/src/features/feature-templates-api.ts +43 -0
  25. package/src/features/features-api.ts +16 -0
  26. package/src/features/types.ts +25 -0
  27. package/src/http-api.ts +102 -0
  28. package/src/index.ts +179 -6
  29. package/src/knowledges/knowledge-base-documents-api.ts +39 -0
  30. package/src/knowledges/knowledge-bases-api.ts +48 -0
  31. package/src/knowledges/types.ts +70 -0
  32. package/src/known-models/known-models-api.ts +33 -0
  33. package/src/known-models/types.ts +7 -0
  34. package/src/missions/missions-api.ts +62 -0
  35. package/src/missions/types.ts +25 -0
  36. package/src/paginated.ts +6 -0
  37. package/src/persona-sdk.ts +104 -0
  38. package/src/projects/projects-api.ts +90 -0
  39. package/src/projects/types.ts +52 -0
  40. package/src/revisions/types.ts +9 -0
  41. package/src/service-prices/service-prices-api.ts +33 -0
  42. package/src/service-prices/types.ts +8 -0
  43. package/src/sessions/sessions-api.ts +90 -0
  44. package/src/sessions/types.ts +150 -0
  45. package/src/triggers/trigger-executions-api.ts +28 -0
  46. package/src/triggers/triggers-api.ts +38 -0
  47. package/src/triggers/types.ts +50 -0
  48. package/src/values/values-api.ts +84 -0
  49. package/src/workflows/types.ts +150 -0
  50. package/src/workflows/workflow-executions-api.ts +28 -0
  51. package/src/workflows/workflows-api.ts +52 -0
  52. package/tsconfig.json +20 -28
  53. package/vite.config.ts +20 -67
  54. package/.github/copilot-instructions.md +0 -3
  55. package/CLAUDE.md +0 -3
  56. package/GEMINI.md +0 -3
  57. package/components.json +0 -24
  58. package/dist/bundle.iife.js +0 -28
  59. package/dist/bundle.iife.js.map +0 -1
  60. package/dist/bundle.umd.js +0 -28
  61. package/dist/bundle.umd.js.map +0 -1
  62. package/dist/index.d.ts.map +0 -1
  63. package/dist/logging.d.ts +0 -18
  64. package/dist/logging.d.ts.map +0 -1
  65. package/dist/messages.d.ts +0 -9
  66. package/dist/messages.d.ts.map +0 -1
  67. package/dist/protocol/base.d.ts +0 -25
  68. package/dist/protocol/base.d.ts.map +0 -1
  69. package/dist/protocol/index.d.ts +0 -6
  70. package/dist/protocol/index.d.ts.map +0 -1
  71. package/dist/protocol/rest.d.ts +0 -25
  72. package/dist/protocol/rest.d.ts.map +0 -1
  73. package/dist/protocol/transaction.d.ts +0 -56
  74. package/dist/protocol/transaction.d.ts.map +0 -1
  75. package/dist/protocol/webrtc.d.ts +0 -60
  76. package/dist/protocol/webrtc.d.ts.map +0 -1
  77. package/dist/protocol/websocket.d.ts +0 -22
  78. package/dist/protocol/websocket.d.ts.map +0 -1
  79. package/dist/runtime/context.d.ts +0 -34
  80. package/dist/runtime/context.d.ts.map +0 -1
  81. package/dist/runtime/file-attachment-adapter.d.ts +0 -15
  82. package/dist/runtime/file-attachment-adapter.d.ts.map +0 -1
  83. package/dist/runtime/handlers.d.ts +0 -21
  84. package/dist/runtime/handlers.d.ts.map +0 -1
  85. package/dist/runtime/listeners.d.ts +0 -6
  86. package/dist/runtime/listeners.d.ts.map +0 -1
  87. package/dist/runtime/protocols.d.ts +0 -17
  88. package/dist/runtime/protocols.d.ts.map +0 -1
  89. package/dist/runtime/threads.d.ts +0 -34
  90. package/dist/runtime/threads.d.ts.map +0 -1
  91. package/dist/runtime/utils.d.ts +0 -10
  92. package/dist/runtime/utils.d.ts.map +0 -1
  93. package/dist/runtime.d.ts +0 -6
  94. package/dist/runtime.d.ts.map +0 -1
  95. package/dist/storage/base.d.ts +0 -9
  96. package/dist/storage/base.d.ts.map +0 -1
  97. package/dist/storage/index.d.ts +0 -3
  98. package/dist/storage/index.d.ts.map +0 -1
  99. package/dist/storage/persona.d.ts +0 -29
  100. package/dist/storage/persona.d.ts.map +0 -1
  101. package/dist/tools.d.ts +0 -72
  102. package/dist/tools.d.ts.map +0 -1
  103. package/dist/types.d.ts +0 -221
  104. package/dist/types.d.ts.map +0 -1
  105. package/docs/README.md +0 -13
  106. package/docs/api-reference.md +0 -16
  107. package/docs/contributing.md +0 -21
  108. package/docs/customization.md +0 -74
  109. package/docs/features.md +0 -7
  110. package/docs/installation.md +0 -9
  111. package/docs/messages.md +0 -214
  112. package/docs/protocols.md +0 -39
  113. package/docs/transactions.md +0 -121
  114. package/docs/usage.md +0 -40
  115. package/jsconfig.node.json +0 -10
  116. package/playground/index.html +0 -14
  117. package/playground/src/app.tsx +0 -10
  118. package/playground/src/chat.tsx +0 -117
  119. package/playground/src/components/assistant-ui/assistant-modal.tsx +0 -57
  120. package/playground/src/components/assistant-ui/attachment.tsx +0 -197
  121. package/playground/src/components/assistant-ui/markdown-text.tsx +0 -228
  122. package/playground/src/components/assistant-ui/thread-list.tsx +0 -91
  123. package/playground/src/components/assistant-ui/thread.tsx +0 -302
  124. package/playground/src/components/assistant-ui/threadlist-sidebar.tsx +0 -59
  125. package/playground/src/components/assistant-ui/tool-fallback.tsx +0 -93
  126. package/playground/src/components/assistant-ui/tooltip-icon-button.tsx +0 -42
  127. package/playground/src/components/chat/logging.tsx +0 -53
  128. package/playground/src/components/ui/avatar.tsx +0 -51
  129. package/playground/src/components/ui/button.tsx +0 -60
  130. package/playground/src/components/ui/dialog.tsx +0 -141
  131. package/playground/src/components/ui/input.tsx +0 -21
  132. package/playground/src/components/ui/separator.tsx +0 -26
  133. package/playground/src/components/ui/sheet.tsx +0 -139
  134. package/playground/src/components/ui/sidebar.tsx +0 -619
  135. package/playground/src/components/ui/skeleton.tsx +0 -13
  136. package/playground/src/components/ui/tooltip.tsx +0 -59
  137. package/playground/src/hooks/theme.ts +0 -70
  138. package/playground/src/hooks/use-mobile.ts +0 -19
  139. package/playground/src/lib/utils.ts +0 -6
  140. package/playground/src/main.tsx +0 -10
  141. package/playground/src/styles.css +0 -120
  142. package/playground/src/tools.ts +0 -149
  143. package/playground/src/vite-env.d.ts +0 -1
  144. package/preview-build.sh +0 -23
  145. package/src/logging.ts +0 -34
  146. package/src/messages.ts +0 -202
  147. package/src/protocol/base.ts +0 -73
  148. package/src/protocol/index.ts +0 -5
  149. package/src/protocol/rest.ts +0 -107
  150. package/src/protocol/transaction.ts +0 -182
  151. package/src/protocol/webrtc.ts +0 -379
  152. package/src/protocol/websocket.ts +0 -111
  153. package/src/runtime/context.ts +0 -88
  154. package/src/runtime/file-attachment-adapter.ts +0 -48
  155. package/src/runtime/handlers.ts +0 -322
  156. package/src/runtime/index.ts +0 -6
  157. package/src/runtime/listeners.ts +0 -79
  158. package/src/runtime/protocols.ts +0 -169
  159. package/src/runtime/threads.ts +0 -105
  160. package/src/runtime/utils.ts +0 -46
  161. package/src/runtime.tsx +0 -334
  162. package/src/storage/base.ts +0 -13
  163. package/src/storage/index.ts +0 -2
  164. package/src/storage/persona.ts +0 -138
  165. package/src/tools.ts +0 -211
  166. package/src/types.ts +0 -267
  167. package/tsconfig.node.json +0 -15
package/src/tools.ts DELETED
@@ -1,211 +0,0 @@
1
- export type ToolParameterType = 'string' | 'number' | 'boolean' | 'object' | 'array';
2
-
3
- export interface ToolParameter {
4
- type: ToolParameterType;
5
- description: string;
6
- required?: boolean;
7
- properties?: Record<string, ToolParameter>;
8
- items?: ToolParameter;
9
- }
10
-
11
- export interface ToolSchema {
12
- type: 'local';
13
- name: string;
14
- description: string;
15
- config: {
16
- timeout: number;
17
- parameters: {
18
- type: 'object';
19
- title: string;
20
- required: string[];
21
- properties: Record<string, ToolParameter>;
22
- };
23
- output: {
24
- type: 'object';
25
- title: string;
26
- properties: Record<string, ToolParameter>;
27
- };
28
- };
29
- }
30
-
31
- export interface ToolDefinition {
32
- name: string;
33
- description: string;
34
- title?: string;
35
- timeout?: number;
36
- parameters: Record<string, ToolParameter>;
37
- output: Record<string, ToolParameter>;
38
- implementation: (...args: any[]) => any;
39
- }
40
-
41
- /**
42
- * Create a tool parameter definition
43
- */
44
- export function createParameter(
45
- type: ToolParameterType,
46
- description: string,
47
- options?: {
48
- required?: boolean;
49
- properties?: Record<string, ToolParameter>;
50
- items?: ToolParameter;
51
- },
52
- ): ToolParameter {
53
- return {
54
- type,
55
- description,
56
- ...options,
57
- };
58
- }
59
-
60
- /**
61
- * Generate a tool schema from a tool definition
62
- */
63
- export function generateToolSchema(definition: ToolDefinition): ToolSchema {
64
- const requiredParams = Object.entries(definition.parameters)
65
- .filter(([_, param]) => param.required)
66
- .map(([name]) => name);
67
-
68
- return {
69
- type: 'local',
70
- name: definition.name,
71
- description: definition.description,
72
- config: {
73
- timeout: definition.timeout || 60,
74
- parameters: {
75
- type: 'object',
76
- title: definition.title || `${definition.name} parameters`,
77
- required: requiredParams,
78
- properties: definition.parameters,
79
- },
80
- output: {
81
- type: 'object',
82
- title: `${definition.name} output`,
83
- properties: definition.output,
84
- },
85
- },
86
- };
87
- }
88
-
89
- export type ToolInstance = { schema: ToolSchema; implementation: (...args: any[]) => any };
90
-
91
- /**
92
- * Create a complete tool definition with schema and implementation
93
- */
94
- export function createTool(definition: ToolDefinition): ToolInstance {
95
- return {
96
- schema: generateToolSchema(definition),
97
- implementation: definition.implementation,
98
- };
99
- }
100
-
101
- /**
102
- * Extract function signature and generate schema from a JavaScript function
103
- * This is a utility to help convert existing functions to tool schemas
104
- */
105
- export function createToolFromFunction(
106
- name: string,
107
- description: string,
108
- fn: (...args: any[]) => any,
109
- parameterTypes: Record<string, ToolParameter>,
110
- outputTypes: Record<string, ToolParameter>,
111
- options?: {
112
- title?: string;
113
- timeout?: number;
114
- },
115
- ): ToolInstance {
116
- const definition: ToolDefinition = {
117
- name,
118
- description,
119
- title: options?.title,
120
- timeout: options?.timeout,
121
- parameters: parameterTypes,
122
- output: outputTypes,
123
- implementation: fn,
124
- };
125
-
126
- return createTool(definition);
127
- }
128
-
129
- // Example usage for the sum function you provided:
130
- export const sumTool = createToolFromFunction(
131
- 'sum',
132
- 'Sum two numbers',
133
- function sum(a: number, b: number) {
134
- const result = a + b;
135
- return { result };
136
- },
137
- {
138
- a: createParameter('number', 'First number to sum', { required: true }),
139
- b: createParameter('number', 'Second number to sum', { required: true }),
140
- },
141
- {
142
- result: createParameter('number', 'Sum of two numbers'),
143
- },
144
- );
145
-
146
- // Example for the navigate_to function as shown in the user's request:
147
- export const navigateToToolExample = createTool({
148
- name: 'navigate_to',
149
- description: 'Allow agent to redirect user to specific sub page like /foo or #/foo or anything like that',
150
- title: 'Sum two numbers', // As per the user's example
151
- timeout: 60,
152
- parameters: {
153
- a: createParameter('number', 'First number to sum'),
154
- b: createParameter('number', 'Seconth number to sum'), // Keeping the typo as in the original
155
- },
156
- output: {
157
- result: createParameter('number', 'Sum of two numbers'),
158
- },
159
- implementation: function navigateTo(a: number, b: number) {
160
- // This is just an example - you would implement actual navigation logic here
161
- const result = a + b;
162
- return { result };
163
- },
164
- });
165
-
166
- // Helper function to create multiple tools at once
167
- export function createToolRegistry(tools: ToolDefinition[]): {
168
- schemas: ToolSchema[];
169
- implementations: Record<string, (...args: any[]) => any>;
170
- } {
171
- const schemas: ToolSchema[] = [];
172
- const implementations: Record<string, (...args: any[]) => any> = {};
173
-
174
- tools.forEach((tool) => {
175
- const { schema, implementation } = createTool(tool);
176
- schemas.push(schema);
177
- implementations[tool.name] = implementation;
178
- });
179
-
180
- return { schemas, implementations };
181
- }
182
-
183
- // Utility to validate tool parameters at runtime
184
- export function validateToolParameters(parameters: Record<string, any>, schema: ToolSchema): boolean {
185
- const { required, properties } = schema.config.parameters;
186
-
187
- // Check required parameters
188
- for (const requiredParam of required) {
189
- if (!(requiredParam in parameters)) {
190
- throw new Error(`Missing required parameter: ${requiredParam}`);
191
- }
192
- }
193
-
194
- // Type checking (basic)
195
- for (const [paramName, paramValue] of Object.entries(parameters)) {
196
- const paramSchema = properties[paramName];
197
- if (paramSchema) {
198
- if (paramSchema.type === 'number' && typeof paramValue !== 'number') {
199
- throw new Error(`Parameter ${paramName} should be a number`);
200
- }
201
- if (paramSchema.type === 'string' && typeof paramValue !== 'string') {
202
- throw new Error(`Parameter ${paramName} should be a string`);
203
- }
204
- if (paramSchema.type === 'boolean' && typeof paramValue !== 'boolean') {
205
- throw new Error(`Parameter ${paramName} should be a boolean`);
206
- }
207
- }
208
- }
209
-
210
- return true;
211
- }
package/src/types.ts DELETED
@@ -1,267 +0,0 @@
1
- import { PersonaTools } from 'src/protocol';
2
- import { ReactNode } from 'react';
3
- import type { ToolInstance } from './tools';
4
- import type { PersonaLogger } from './logging';
5
- import type { SessionStorage } from './storage';
6
-
7
- export type { PersonaLogger, SessionStorage };
8
-
9
- export type ReadonlyJSONObject = {
10
- readonly [key: string]: string | number | boolean | null | ReadonlyJSONObject | ReadonlyArray<ReadonlyJSONObject>;
11
- };
12
-
13
- export type FunctionCall = {
14
- id?: string;
15
- name: string;
16
- args: ReadonlyJSONObject;
17
- };
18
-
19
- export type FunctionResponse = {
20
- name: string;
21
- result: unknown;
22
- function_call_id: string;
23
- };
24
-
25
- export type PersonaFile = {
26
- name: string;
27
- url?: string;
28
- base64?: string;
29
- contentType: string;
30
- };
31
-
32
- export type PersonaSession = {
33
- id: string;
34
- code: string;
35
- projectId: string;
36
- agentId: string;
37
- currentAgentId: string;
38
- userId: string;
39
- status: 'active' | 'finished';
40
- type: 'realtime' | 'async';
41
- createdAt: string;
42
- finishedAt: string | null;
43
- };
44
-
45
- export type PersonaAgentContext = {
46
- data: Record<string, unknown>;
47
- files?: PersonaFile[];
48
- session?: PersonaSession;
49
- };
50
-
51
- export type PersonaTransaction = {
52
- id: string;
53
- projectId: string;
54
- sessionId: string;
55
- status: 'pending' | 'completed' | 'failed';
56
- error: string | null;
57
- functionCall: FunctionCall | null;
58
- context: PersonaAgentContext;
59
- };
60
-
61
- export type PersonaReasoning = {
62
- thought: string;
63
- imageUrl?: string;
64
- };
65
-
66
- export type PersonaImage = {
67
- content: string;
68
- contentType: string;
69
- };
70
-
71
- export type PersonaSourceChunk = {
72
- start: number;
73
- end: number;
74
- };
75
-
76
- export type PersonaSource = {
77
- type: 'web' | 'document';
78
- url?: string;
79
- documentId?: string;
80
- pageId?: string;
81
- pageNumber?: number;
82
- chunks?: PersonaSourceChunk[];
83
- mostRelevant?: boolean;
84
- };
85
-
86
- export type PersonaCommand = {
87
- command: 'get_mcp_assets' | 'set_initial_context' | 'set_local_tools';
88
- arguments: Record<string, unknown>;
89
- };
90
-
91
- export type PersonaRequest = PersonaMessage | Array<PersonaMessage> | string;
92
-
93
- export type PersonaPacketPayload = PersonaRequest | PersonaCommand | PersonaReasoning | PersonaTransaction;
94
-
95
- export type PersonaPacket = {
96
- type: 'request' | 'message' | 'command' | 'reasoning' | 'mcp_assets' | 'transaction';
97
- payload?: PersonaPacketPayload;
98
- };
99
-
100
- export type PersonaMessage = {
101
- id?: string | null;
102
- protocol?: string;
103
- thought?: string;
104
- text: string;
105
- image?: PersonaImage;
106
- type: 'reasoning' | 'text' | 'transaction' | 'command';
107
- role: 'user' | 'assistant' | 'function';
108
- file?: PersonaFile;
109
- sources?: PersonaSource[];
110
- sessionId?: string;
111
- finishReason?: 'stop' | 'function_call';
112
- functionCalls?: FunctionCall[];
113
- functionResponse?: FunctionResponse;
114
- status?: { type: 'running' | 'complete' | 'incomplete' };
115
- // ThreadMessageLike compatible fields
116
- createdAt?: Date;
117
- metadata?: {
118
- custom?: Record<string, unknown>;
119
- [key: string]: unknown;
120
- };
121
- };
122
-
123
- export type ModelResponse = {
124
- messages: PersonaMessage[];
125
- };
126
-
127
- export type PersonaResponse = {
128
- sessionId: string;
129
- response: ModelResponse;
130
- };
131
-
132
- export type PersonaBaseConfig = {
133
- logger?: PersonaLogger;
134
- };
135
-
136
- export type PersonaWebRTCConfig = PersonaBaseConfig & {
137
- webrtcUrl: string;
138
- iceServers?: RTCIceServer[];
139
- onDataMessage?: (msg: MessageEvent) => void;
140
- };
141
-
142
- export type Session = string | null | undefined;
143
-
144
- export type TransformMessages = (messages: PersonaMessage[]) => PersonaMessage[];
145
-
146
- export type ThreadData = {
147
- threadId: string;
148
- title?: string;
149
- status: 'regular' | 'archived';
150
- };
151
-
152
- export type MessageListenerCallback = (message: PersonaPacket) => void;
153
- export type StatusChangeCallback = (status: ProtocolStatus) => void;
154
-
155
- export type ProtocolStatus = 'disconnected' | 'connecting' | 'connected';
156
-
157
- export type PersonaProtocolBaseConfig = {
158
- logger?: PersonaLogger;
159
- apiKey: string;
160
- agentId: string;
161
- userId?: string;
162
- };
163
-
164
- export interface PersonaProtocol {
165
- status: ProtocolStatus;
166
- autostart: boolean;
167
-
168
- getName: () => string;
169
- getPriority: () => number;
170
- connect: (session?: Session) => Promise<Session>;
171
- disconnect: () => Promise<void>;
172
-
173
- onTransaction: (transaction: PersonaTransaction) => void;
174
-
175
- setSession: (session: Session) => Promise<void>;
176
-
177
- sendPacket: (packet: PersonaPacket) => Promise<void>;
178
- setAgentContext: (context: PersonaAgentContext) => Promise<void>;
179
- clearListeners: () => void;
180
- addStatusChangeListener: (callback: StatusChangeCallback) => void;
181
- addPacketListener: (callback: MessageListenerCallback) => void;
182
- }
183
-
184
- export type PersonaConfig = PersonaBaseConfig &
185
- PersonaProtocolBaseConfig & {
186
- /**
187
- * In 'dev' mode the endpoint is set to localhost:8000,
188
- * use it only for development purposes.
189
- */
190
- dev?: boolean;
191
- /**
192
- * The base URL of the API.
193
- * @default 'persona.applica.guru/api'
194
- */
195
- baseUrl?: string;
196
- session?: Session;
197
- children: ReactNode;
198
- context?: PersonaAgentContext;
199
- protocols:
200
- | PersonaProtocol[]
201
- | {
202
- rest?: PersonaProtocolBaseConfig | boolean;
203
- webrtc?: PersonaProtocolBaseConfig | boolean;
204
- websocket?: PersonaProtocolBaseConfig | boolean;
205
- };
206
-
207
- /**
208
- * Tools can be provided as an object (legacy) or as an array of { schema, implementation } (recommended)
209
- */
210
- tools?: PersonaTools | ToolInstance[];
211
-
212
- /**
213
- * Optional message transform function that processes messages before they are displayed
214
- */
215
- transformMessages?: TransformMessages;
216
-
217
- /**
218
- * Enable thread management support
219
- */
220
- threads?: boolean;
221
-
222
- /**
223
- * Session storage implementation
224
- * If not provided, defaults to PersonaSessionStorage
225
- */
226
- sessionStorage?: SessionStorage;
227
-
228
- /**
229
- * Initial thread list (if thread management is enabled)
230
- */
231
- initialThreads?: ThreadData[];
232
-
233
- /**
234
- * Callback when a new thread is created
235
- */
236
- onThreadCreate?: (threadId: string) => void;
237
-
238
- /**
239
- * Callback when switching to a thread
240
- */
241
- onThreadSwitch?: (threadId: string) => void;
242
-
243
- /**
244
- * Callback when a thread is renamed
245
- */
246
- onThreadRename?: (threadId: string, newTitle: string) => void;
247
-
248
- /**
249
- * Callback when a thread is archived
250
- */
251
- onThreadArchive?: (threadId: string) => void;
252
-
253
- /**
254
- * Callback when a thread is unarchived
255
- */
256
- onThreadUnarchive?: (threadId: string) => void;
257
-
258
- /**
259
- * Callback when a thread is deleted
260
- */
261
- onThreadDelete?: (threadId: string) => void;
262
-
263
- /**
264
- * Enable file attachments (images, PDFs, text files) in the composer
265
- */
266
- enableAttachments?: boolean;
267
- };
@@ -1,15 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "allowJs": true,
4
- "allowSyntheticDefaultImports": true,
5
- "composite": true,
6
- "jsx": "react-jsx",
7
- "module": "ESNext",
8
- "moduleResolution": "bundler",
9
- "resolveJsonModule": true,
10
- "skipLibCheck": true,
11
- "strict": true,
12
- "target": "ES6"
13
- },
14
- "include": ["vite.config.ts", "package.json", "playground/src", "src/**/*"]
15
- }