@w3kits-com/plugin-opendesign 0.1.10 → 0.1.12

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 (125) hide show
  1. package/dist/404/index.html +1 -1
  2. package/dist/404.html +1 -1
  3. package/dist/__next.$oc$slug.__PAGE__.txt +1 -1
  4. package/dist/__next.$oc$slug.txt +1 -1
  5. package/dist/__next._full.txt +1 -1
  6. package/dist/__next._head.txt +1 -1
  7. package/dist/__next._index.txt +1 -1
  8. package/dist/__next._tree.txt +1 -1
  9. package/dist/__w3kits/webcontainer-runtime/package.json +6 -1
  10. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/browser-vfs/dist/index.d.ts +108 -0
  11. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/browser-vfs/dist/index.d.ts.map +1 -0
  12. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/browser-vfs/dist/index.mjs +413 -0
  13. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/browser-vfs/package.json +12 -0
  14. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/analytics/artifact-id.d.ts +5 -0
  15. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/analytics/artifact-id.d.ts.map +1 -0
  16. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/analytics/events.d.ts +250 -0
  17. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/analytics/events.d.ts.map +1 -0
  18. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/analytics/index.d.ts +4 -0
  19. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/analytics/index.d.ts.map +1 -0
  20. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/analytics/index.mjs +186 -0
  21. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/analytics/public-params.d.ts +26 -0
  22. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/analytics/public-params.d.ts.map +1 -0
  23. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/app-config.d.ts +44 -0
  24. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/app-config.d.ts.map +1 -0
  25. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/artifacts.d.ts +34 -0
  26. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/artifacts.d.ts.map +1 -0
  27. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/chat.d.ts +158 -0
  28. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/chat.d.ts.map +1 -0
  29. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/comments.d.ts +65 -0
  30. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/comments.d.ts.map +1 -0
  31. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/connectionTest.d.ts +49 -0
  32. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/connectionTest.d.ts.map +1 -0
  33. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/connectionTest.mjs +83 -0
  34. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/connectors.d.ts +133 -0
  35. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/connectors.d.ts.map +1 -0
  36. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/files.d.ts +43 -0
  37. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/files.d.ts.map +1 -0
  38. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/finalize.d.ts +50 -0
  39. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/finalize.d.ts.map +1 -0
  40. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/finalize.mjs +5 -0
  41. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/live-artifacts.d.ts +151 -0
  42. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/live-artifacts.d.ts.map +1 -0
  43. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/mcp.d.ts +117 -0
  44. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/mcp.d.ts.map +1 -0
  45. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/memory.d.ts +233 -0
  46. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/memory.d.ts.map +1 -0
  47. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/orbit.d.ts +22 -0
  48. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/orbit.d.ts.map +1 -0
  49. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/orbit.mjs +0 -0
  50. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/projects.d.ts +286 -0
  51. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/projects.d.ts.map +1 -0
  52. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/providerModels.d.ts +19 -0
  53. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/providerModels.d.ts.map +1 -0
  54. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/providerModels.mjs +0 -0
  55. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/proxy.d.ts +24 -0
  56. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/proxy.d.ts.map +1 -0
  57. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/registry.d.ts +156 -0
  58. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/registry.d.ts.map +1 -0
  59. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/research.d.ts +35 -0
  60. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/research.d.ts.map +1 -0
  61. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/research.mjs +9 -0
  62. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/routines.d.ts +104 -0
  63. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/routines.d.ts.map +1 -0
  64. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/version.d.ts +11 -0
  65. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/api/version.d.ts.map +1 -0
  66. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/common.d.ts +33 -0
  67. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/common.d.ts.map +1 -0
  68. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/critique.d.ts +344 -0
  69. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/critique.d.ts.map +1 -0
  70. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/critique.mjs +182 -0
  71. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/errors.d.ts +40 -0
  72. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/errors.d.ts.map +1 -0
  73. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/examples.d.ts +20 -0
  74. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/examples.d.ts.map +1 -0
  75. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/index.d.ts +31 -0
  76. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/index.d.ts.map +1 -0
  77. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/index.mjs +2072 -0
  78. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/prompts/deck-framework.d.ts +39 -0
  79. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/prompts/deck-framework.d.ts.map +1 -0
  80. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/prompts/directions.d.ts +69 -0
  81. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/prompts/directions.d.ts.map +1 -0
  82. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/prompts/discovery.d.ts +2 -0
  83. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/prompts/discovery.d.ts.map +1 -0
  84. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/prompts/media-contract.d.ts +2 -0
  85. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/prompts/media-contract.d.ts.map +1 -0
  86. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/prompts/official-system.d.ts +12 -0
  87. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/prompts/official-system.d.ts.map +1 -0
  88. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/prompts/system.d.ts +58 -0
  89. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/prompts/system.d.ts.map +1 -0
  90. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/sse/chat.d.ts +96 -0
  91. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/sse/chat.d.ts.map +1 -0
  92. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/sse/common.d.ts +8 -0
  93. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/sse/common.d.ts.map +1 -0
  94. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/sse/proxy.d.ts +6 -0
  95. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/sse/proxy.d.ts.map +1 -0
  96. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/tasks.d.ts +12 -0
  97. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/dist/tasks.d.ts.map +1 -0
  98. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/contracts/package.json +40 -0
  99. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/platform/dist/index.d.ts +68 -0
  100. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/platform/dist/index.d.ts.map +1 -0
  101. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/platform/dist/index.mjs +397 -0
  102. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/platform/package.json +12 -0
  103. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/sidecar/dist/index.d.ts +144 -0
  104. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/sidecar/dist/index.d.ts.map +1 -0
  105. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/sidecar/dist/index.mjs +412 -0
  106. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/sidecar/package.json +12 -0
  107. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/sidecar-proto/dist/index.d.ts +291 -0
  108. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/sidecar-proto/dist/index.d.ts.map +1 -0
  109. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/sidecar-proto/dist/index.mjs +315 -0
  110. package/dist/__w3kits/webcontainer-runtime/workspace-packages/@open-design/sidecar-proto/package.json +12 -0
  111. package/dist/_not-found/__next._full.txt +1 -1
  112. package/dist/_not-found/__next._head.txt +1 -1
  113. package/dist/_not-found/__next._index.txt +1 -1
  114. package/dist/_not-found/__next._not-found.__PAGE__.txt +1 -1
  115. package/dist/_not-found/__next._not-found.txt +1 -1
  116. package/dist/_not-found/__next._tree.txt +1 -1
  117. package/dist/_not-found/index.html +1 -1
  118. package/dist/_not-found/index.txt +1 -1
  119. package/dist/browser-daemon.js +20 -0
  120. package/dist/index.html +1 -1
  121. package/dist/index.txt +1 -1
  122. package/package.json +1 -1
  123. /package/dist/_next/static/{zDhAhlvmD2uhNsdWY6CQB → 5BA5jEbmoqCfBPFzdjNtN}/_buildManifest.js +0 -0
  124. /package/dist/_next/static/{zDhAhlvmD2uhNsdWY6CQB → 5BA5jEbmoqCfBPFzdjNtN}/_clientMiddlewareManifest.js +0 -0
  125. /package/dist/_next/static/{zDhAhlvmD2uhNsdWY6CQB → 5BA5jEbmoqCfBPFzdjNtN}/_ssgManifest.js +0 -0
@@ -0,0 +1,233 @@
1
+ export type MemoryType = 'user' | 'feedback' | 'project' | 'reference';
2
+ export declare const MEMORY_TYPES: readonly MemoryType[];
3
+ export interface MemoryEntrySummary {
4
+ /** File slug, without the `.md` suffix. e.g., "user_role" or "feedback_tests". */
5
+ id: string;
6
+ /** Human display title pulled from frontmatter `name`. */
7
+ name: string;
8
+ /** One-line description pulled from frontmatter `description`. */
9
+ description: string;
10
+ /** Category — drives the filename prefix and the system-prompt section it lands in. */
11
+ type: MemoryType;
12
+ /** Unix milliseconds — file mtime. */
13
+ updatedAt: number;
14
+ }
15
+ export interface MemoryEntry extends MemoryEntrySummary {
16
+ /** Markdown body, frontmatter stripped. */
17
+ body: string;
18
+ }
19
+ export interface MemoryListResponse {
20
+ /** True when the daemon will inject memory into the next system prompt. */
21
+ enabled: boolean;
22
+ /** Absolute path to the memory directory (informational, for the settings UI). */
23
+ rootDir: string;
24
+ /** The MEMORY.md index body — usually a list of `- [Name](file.md) — hook` lines. */
25
+ index: string;
26
+ entries: MemoryEntrySummary[];
27
+ /** User-supplied override for the LLM extraction provider. `null` when
28
+ * the daemon should auto-pick (env var → media-config fallback). API
29
+ * keys returned here are masked — only the last 4 characters are
30
+ * echoed back so the UI can show a "configured" affordance without
31
+ * leaking the secret into the DOM. */
32
+ extraction: MemoryExtractionMaskedConfig | null;
33
+ }
34
+ /** Provider/protocol the memory extractor calls. Mirrors the chat
35
+ * BYOK form's protocols — anthropic + openai-compatible + azure
36
+ * (openai-compatible at a different URL/header) + google gemini +
37
+ * ollama (also openai-compatible, just hosted on Ollama Cloud) — so
38
+ * the memory picker can offer the same options as the chat picker
39
+ * above it. The daemon routes ollama through the same callOpenAI
40
+ * path since the wire protocol is identical. */
41
+ export type MemoryExtractionProvider = 'anthropic' | 'openai' | 'azure' | 'google' | 'ollama';
42
+ /** Masked version of MemoryExtractionConfig returned by GET endpoints —
43
+ * the api key field is replaced with a 4-char tail so the settings UI
44
+ * can render "•••• abcd" without echoing the secret back into the DOM. */
45
+ export interface MemoryExtractionMaskedConfig {
46
+ provider: MemoryExtractionProvider;
47
+ model: string;
48
+ baseUrl: string;
49
+ /** Azure-only: the `?api-version=…` query param value. Empty for the
50
+ * other providers. The daemon falls back to a sensible default when
51
+ * this is empty even on azure. */
52
+ apiVersion: string;
53
+ /** Last 4 chars of the configured key, or empty when unset. */
54
+ apiKeyTail: string;
55
+ /** True when an apiKey is stored in the override config. */
56
+ apiKeyConfigured: boolean;
57
+ }
58
+ export interface MemoryEntryResponse {
59
+ entry: MemoryEntry;
60
+ }
61
+ export interface UpsertMemoryRequest {
62
+ /** Optional on create — daemon derives a slug from `type` + `name`. */
63
+ id?: string;
64
+ name: string;
65
+ description: string;
66
+ type: MemoryType;
67
+ body: string;
68
+ }
69
+ export interface UpsertMemoryResponse {
70
+ entry: MemoryEntry;
71
+ }
72
+ export interface UpdateMemoryIndexRequest {
73
+ index: string;
74
+ }
75
+ export interface UpdateMemoryConfigRequest {
76
+ enabled?: boolean;
77
+ /** Pass `null` to clear the override and fall back to auto-pick. Pass an
78
+ * object to commit a custom provider. Omit to leave unchanged. */
79
+ extraction?: MemoryExtractionConfig | null;
80
+ }
81
+ export interface MemoryConfigResponse {
82
+ enabled: boolean;
83
+ extraction: MemoryExtractionConfig | null;
84
+ }
85
+ export interface MemoryExtractionConfig {
86
+ provider: MemoryExtractionProvider;
87
+ /** Override model id. When empty, the daemon picks a provider default
88
+ * (`claude-haiku-4-5` for anthropic; `gpt-4o-mini` for openai/azure;
89
+ * `gemini-2.0-flash` for google). For azure this is the deployment
90
+ * name, not the underlying model family. */
91
+ model?: string;
92
+ /** Override base URL. When empty, the daemon uses the provider default
93
+ * (no default for azure — the user must supply their resource URL). */
94
+ baseUrl?: string;
95
+ /** Override API key. When empty, the daemon falls back to env vars and
96
+ * the media-config OpenAI key (openai provider only). */
97
+ apiKey?: string;
98
+ /** Azure-only: `?api-version=…` query string. Ignored for other providers. */
99
+ apiVersion?: string;
100
+ }
101
+ export interface DeleteMemoryResponse {
102
+ ok: true;
103
+ }
104
+ export interface ExtractMemoryRequest {
105
+ userMessage: string;
106
+ assistantMessage?: string;
107
+ projectId?: string | null;
108
+ conversationId?: string | null;
109
+ /** BYOK chat config snapshot. The web app sends this with every
110
+ * BYOK / API-mode extraction call so the daemon can run LLM
111
+ * extraction against the *current* chat provider/key/baseUrl/
112
+ * apiVersion when no explicit memory model override is set —
113
+ * i.e. the picker is on "Same as chat". Without it the daemon's
114
+ * `pickProvider()` falls back to env vars or the media-config
115
+ * OpenAI key, which is wrong for BYOK chats whose creds the
116
+ * daemon never persists.
117
+ *
118
+ * When the user has set an explicit memory model (override
119
+ * exists), the override always wins and this field is ignored.
120
+ * CLI-mode extraction calls leave this empty — the agent-id
121
+ * constrained branch in `pickProvider()` handles those.
122
+ *
123
+ * An empty `apiKey` (or missing field) is treated as "no usable
124
+ * BYOK config" and falls through to the legacy provider chain so
125
+ * a half-configured BYOK form doesn't silently break extraction. */
126
+ chatProvider?: {
127
+ provider: MemoryExtractionProvider;
128
+ apiKey?: string;
129
+ baseUrl?: string;
130
+ /** Azure-only `?api-version=…` value. Ignored for other providers. */
131
+ apiVersion?: string;
132
+ /** Optional — the daemon prefers a fast/cheap default per protocol
133
+ * (`claude-haiku-4-5` / `gpt-4o-mini` / etc.) over the chat model
134
+ * the user is paying for. Pass this only when the caller
135
+ * explicitly wants the same model used for both. */
136
+ model?: string;
137
+ };
138
+ }
139
+ export interface ExtractMemoryResponse {
140
+ /** Entries created or updated by this extraction pass. Empty when the
141
+ * heuristic found nothing worth saving. */
142
+ changed: MemoryEntrySummary[];
143
+ /** True when the daemon also kicked off the background LLM extractor
144
+ * for this turn — i.e. the caller supplied both a non-empty
145
+ * `userMessage` and `assistantMessage`. The LLM extractor runs out
146
+ * of band; observe `MemoryExtractionEvent` on `/api/memory/events`
147
+ * for its result. */
148
+ attemptedLLM?: boolean;
149
+ }
150
+ export interface MemorySystemPromptResponse {
151
+ body: string;
152
+ }
153
+ export type MemoryChangeKind = 'upsert' | 'delete' | 'index' | 'config' | 'extract';
154
+ export interface MemoryChangeEvent {
155
+ kind: MemoryChangeKind;
156
+ /** Present on `upsert` and `delete`. */
157
+ id?: string;
158
+ /** Mirrored from the entry frontmatter on `upsert`. */
159
+ name?: string;
160
+ description?: string;
161
+ type?: MemoryType;
162
+ /** Number of entries written in this pass — only on `kind: 'extract'`. */
163
+ count?: number;
164
+ /** Where the change came from. Useful for UX (e.g., suppress toasts on
165
+ * manual edits since the user just clicked Save themselves). */
166
+ source?: 'heuristic' | 'llm' | 'manual';
167
+ /** Only on `kind: 'config'` — the new enabled flag. */
168
+ enabled?: boolean;
169
+ /** Unix milliseconds. */
170
+ at: number;
171
+ }
172
+ /** Which extractor produced the attempt. `'llm'` is the legacy default
173
+ * for records written before this field existed. */
174
+ export type MemoryExtractionKind = 'heuristic' | 'llm';
175
+ export type MemoryExtractionPhase = 'running' | 'success' | 'skipped' | 'failed' | 'deleted' | 'cleared';
176
+ /** Why an attempt was skipped before any LLM call (or, for the regex
177
+ * extractor, before any pattern was tested). Surface this in the UI so
178
+ * the user can see "we'd run extraction but no API key is configured"
179
+ * instead of staring at a memory list that mysteriously stopped
180
+ * growing. `'no-match'` is heuristic-only — the regex ran but every
181
+ * pattern produced 0 captures. */
182
+ export type MemoryExtractionSkipReason = 'no-provider' | 'memory-disabled' | 'empty-message' | 'no-match';
183
+ export interface MemoryExtractionRecord {
184
+ /** Stable id for the attempt. UUID-ish; safe to use as a React key. */
185
+ id: string;
186
+ /** Which extractor wrote this record. Optional for backwards compat
187
+ * with daemons that predate the heuristic surfacing — the UI treats
188
+ * a missing kind as `'llm'` since that was the only writer. */
189
+ kind?: MemoryExtractionKind;
190
+ /** Unix milliseconds — when the attempt was queued. */
191
+ startedAt: number;
192
+ /** Unix milliseconds — when the attempt reached a terminal phase. */
193
+ finishedAt?: number;
194
+ phase: MemoryExtractionPhase;
195
+ /** Populated when phase === 'skipped'. */
196
+ reason?: MemoryExtractionSkipReason;
197
+ /** Provider+model resolved at attempt time. Absent when kind ===
198
+ * 'heuristic' (the regex pack has no provider) or when the LLM
199
+ * attempt was skipped before provider selection. */
200
+ provider?: {
201
+ kind: MemoryExtractionProvider;
202
+ model: string;
203
+ /** Where the credential came from. `'memory-config'` = the explicit
204
+ * override under Settings → Memory; `'env'` = ANTHROPIC_API_KEY /
205
+ * OPENAI_API_KEY in the daemon's environment; `'media-config'` =
206
+ * the OpenAI key the user configured under Settings → Media
207
+ * providers; `'chat-byok'` = the live BYOK chat provider/key/
208
+ * baseUrl threaded through `/api/memory/extract` for "Same as
209
+ * chat" extraction in API mode. */
210
+ credentialSource: 'memory-config' | 'env' | 'media-config' | 'chat-byok';
211
+ };
212
+ /** First ~120 chars of the user's message for display in the list. */
213
+ userMessagePreview: string;
214
+ /** How many entries the model proposed (after JSON parse + type filter).
215
+ * Heuristic records never set this — they go straight from match to write. */
216
+ proposedCount?: number;
217
+ /** How many entries actually landed on disk (proposed minus already-known dedupes). */
218
+ writtenCount?: number;
219
+ /** Slugs of entries written in this attempt — clickable in the UI. */
220
+ writtenIds?: string[];
221
+ /** Populated when phase === 'failed'. Single-line, ≤ 240 chars. */
222
+ error?: string;
223
+ }
224
+ export interface MemoryExtractionsResponse {
225
+ /** Most recent first. */
226
+ extractions: MemoryExtractionRecord[];
227
+ }
228
+ export interface DeleteMemoryExtractionResponse {
229
+ removed: number;
230
+ }
231
+ export interface MemoryExtractionEvent extends MemoryExtractionRecord {
232
+ }
233
+ //# sourceMappingURL=memory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/api/memory.ts"],"names":[],"mappings":"AAWA,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC;AAEvE,eAAO,MAAM,YAAY,EAAE,SAAS,UAAU,EAKpC,CAAC;AAKX,MAAM,WAAW,kBAAkB;IACjC,kFAAkF;IAClF,EAAE,EAAE,MAAM,CAAC;IACX,0DAA0D;IAC1D,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;IAClE,WAAW,EAAE,MAAM,CAAC;IACpB,uFAAuF;IACvF,IAAI,EAAE,UAAU,CAAC;IACjB,sCAAsC;IACtC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,WAAY,SAAQ,kBAAkB;IACrD,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,MAAM,WAAW,kBAAkB;IACjC,2EAA2E;IAC3E,OAAO,EAAE,OAAO,CAAC;IACjB,kFAAkF;IAClF,OAAO,EAAE,MAAM,CAAC;IAChB,qFAAqF;IACrF,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,kBAAk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AM,CAAC;CAChB;AAGD,MAAM,WAAW,yBAAyB;IACxC,yBAAyB;IACzB,WAAW,EAAE,sBAAsB,EAAE,CAAC;CACvC;AAKD,MAAM,WAAW,8BAA8B;IAC7C,OAAO,EAAE,MAAM,CAAC;CACjB;AAMD,MAAM,WAAW,qBAAsB,SAAQ,sBAAsB;CAAG"}
@@ -0,0 +1,22 @@
1
+ export interface OrbitRunSummary {
2
+ id?: string;
3
+ startedAt?: string;
4
+ completedAt: string;
5
+ trigger?: 'manual' | 'scheduled';
6
+ templateSkillId?: string | null;
7
+ connectorsChecked: number;
8
+ connectorsSucceeded: number;
9
+ connectorsFailed: number;
10
+ connectorsSkipped: number;
11
+ artifactId?: string | null;
12
+ artifactProjectId?: string | null;
13
+ agentRunId?: string | null;
14
+ markdown: string;
15
+ }
16
+ export interface OrbitStatusResponse {
17
+ running?: boolean;
18
+ nextRunAt?: string | null;
19
+ lastRun?: OrbitRunSummary | null;
20
+ lastRunsByTemplate?: Record<string, OrbitRunSummary>;
21
+ }
22
+ //# sourceMappingURL=orbit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orbit.d.ts","sourceRoot":"","sources":["../../src/api/orbit.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;CACtD"}
@@ -0,0 +1,286 @@
1
+ import type { ChatMessage, ChatRunStatus } from './chat.js';
2
+ export type ProjectKind = 'prototype' | 'deck' | 'template' | 'other' | 'image' | 'video' | 'audio';
3
+ export type MediaAspect = '1:1' | '16:9' | '9:16' | '4:3' | '3:4';
4
+ export type ProjectPlatform = 'auto' | 'responsive' | 'web-desktop' | 'mobile-ios' | 'mobile-android' | 'tablet' | 'desktop-app';
5
+ export type AudioKind = 'music' | 'speech' | 'sfx';
6
+ export type ProjectDisplayStatus = 'not_started' | 'queued' | 'running' | 'awaiting_input' | 'succeeded' | 'failed' | 'canceled';
7
+ export interface ProjectStatusInfo {
8
+ value: ProjectDisplayStatus;
9
+ updatedAt?: number;
10
+ runId?: string;
11
+ }
12
+ export interface PromptTemplateMetadataSource {
13
+ repo: string;
14
+ license: string;
15
+ author?: string;
16
+ url?: string;
17
+ }
18
+ export interface PromptTemplateMetadata {
19
+ id: string;
20
+ surface: 'image' | 'video';
21
+ title: string;
22
+ prompt: string;
23
+ summary?: string;
24
+ category?: string;
25
+ tags?: string[];
26
+ model?: string;
27
+ aspect?: MediaAspect;
28
+ source?: PromptTemplateMetadataSource;
29
+ }
30
+ export interface ProjectMetadata {
31
+ kind: ProjectKind;
32
+ intent?: 'live-artifact';
33
+ fidelity?: 'wireframe' | 'high-fidelity';
34
+ speakerNotes?: boolean;
35
+ animations?: boolean;
36
+ includeLandingPage?: boolean;
37
+ includeOsWidgets?: boolean;
38
+ templateId?: string;
39
+ templateLabel?: string;
40
+ /** Primary target surface selected at project creation. */
41
+ platform?: ProjectPlatform;
42
+ /** Concrete delivery surfaces the artifact must account for. `responsive` is a web breakpoint target, not a native app expansion. */
43
+ platformTargets?: ProjectPlatform[];
44
+ inspirationDesignSystemIds?: string[];
45
+ importedFrom?: 'claude-design' | 'folder' | string;
46
+ entryFile?: string;
47
+ sourceFileName?: string;
48
+ baseDir?: string;
49
+ fromTrustedPicker?: true;
50
+ imageModel?: string;
51
+ imageAspect?: MediaAspect;
52
+ imageStyle?: string;
53
+ videoModel?: string;
54
+ videoLength?: number;
55
+ videoAspect?: MediaAspect;
56
+ audioKind?: AudioKind;
57
+ audioModel?: string;
58
+ audioDuration?: number;
59
+ voice?: string;
60
+ promptTemplate?: PromptTemplateMetadata;
61
+ linkedDirs?: string[];
62
+ skipDiscoveryBrief?: boolean;
63
+ }
64
+ export interface Project {
65
+ id: string;
66
+ name: string;
67
+ skillId: string | null;
68
+ designSystemId: string | null;
69
+ createdAt: number;
70
+ updatedAt: number;
71
+ status?: ProjectStatusInfo;
72
+ pendingPrompt?: string;
73
+ metadata?: ProjectMetadata;
74
+ customInstructions?: string;
75
+ }
76
+ export interface ProjectTemplate {
77
+ id: string;
78
+ name: string;
79
+ sourceProjectId?: string;
80
+ files: Array<{
81
+ name: string;
82
+ content: string;
83
+ }>;
84
+ description?: string;
85
+ createdAt: number;
86
+ }
87
+ export interface Conversation {
88
+ id: string;
89
+ projectId: string;
90
+ title: string | null;
91
+ createdAt: number;
92
+ updatedAt: number;
93
+ latestRun?: {
94
+ status: ChatRunStatus;
95
+ startedAt?: number;
96
+ endedAt?: number;
97
+ durationMs?: number;
98
+ };
99
+ }
100
+ export interface CreateProjectRequest {
101
+ name: string;
102
+ skillId?: string | null;
103
+ designSystemId?: string | null;
104
+ pendingPrompt?: string;
105
+ metadata?: ProjectMetadata;
106
+ customInstructions?: string;
107
+ /** Persisted to metadata.skipDiscoveryBrief for automated project runs. */
108
+ skipDiscoveryBrief?: boolean;
109
+ }
110
+ export interface UpdateProjectRequest {
111
+ name?: string;
112
+ skillId?: string | null;
113
+ designSystemId?: string | null;
114
+ pendingPrompt?: string | null;
115
+ metadata?: ProjectMetadata | null;
116
+ customInstructions?: string | null;
117
+ }
118
+ export interface ProjectsResponse {
119
+ projects: Project[];
120
+ }
121
+ export interface ProjectResponse {
122
+ project: Project;
123
+ }
124
+ export interface ProjectDetailResponse extends ProjectResponse {
125
+ resolvedDir: string;
126
+ }
127
+ export interface CreateProjectResponse extends ProjectResponse {
128
+ conversationId?: string;
129
+ }
130
+ export interface ImportFolderRequest {
131
+ baseDir: string;
132
+ name?: string;
133
+ skillId?: string | null;
134
+ designSystemId?: string | null;
135
+ }
136
+ export interface ImportFolderResponse {
137
+ project: Project;
138
+ conversationId: string;
139
+ entryFile: string | null;
140
+ }
141
+ export interface ConversationsResponse {
142
+ conversations: Conversation[];
143
+ }
144
+ export interface ConversationResponse {
145
+ conversation: Conversation;
146
+ }
147
+ export interface CreateConversationRequest {
148
+ title?: string | null;
149
+ }
150
+ export interface UpdateConversationRequest {
151
+ title?: string | null;
152
+ }
153
+ export interface MessagesResponse {
154
+ messages: ChatMessage[];
155
+ }
156
+ export type DeployProviderId = 'vercel-self' | 'cloudflare-pages';
157
+ export type DeploymentStatus = 'deploying' | 'preparing-link' | 'ready' | 'link-delayed' | 'protected' | 'failed';
158
+ export interface CloudflarePagesConfigHints {
159
+ lastZoneId?: string;
160
+ lastZoneName?: string;
161
+ lastDomainPrefix?: string;
162
+ }
163
+ export interface CloudflarePagesZoneInfo {
164
+ id: string;
165
+ name: string;
166
+ status?: string;
167
+ type?: string;
168
+ }
169
+ export interface CloudflarePagesZonesResponse {
170
+ zones: CloudflarePagesZoneInfo[];
171
+ cloudflarePages?: CloudflarePagesConfigHints;
172
+ }
173
+ export interface CloudflarePagesDeploySelection {
174
+ zoneId: string;
175
+ zoneName: string;
176
+ domainPrefix: string;
177
+ }
178
+ export type DeploymentLinkStatus = 'ready' | 'link-delayed' | 'protected' | 'failed';
179
+ export interface DeploymentLinkInfo {
180
+ url: string;
181
+ status: DeploymentLinkStatus;
182
+ statusMessage?: string;
183
+ reachableAt?: number;
184
+ }
185
+ export type CloudflarePagesDnsStatus = 'skipped' | 'created' | 'reused' | 'unmarked' | 'patched' | 'conflict' | 'failed';
186
+ export type CloudflarePagesDomainStatus = 'skipped' | 'pending' | 'active' | 'conflict' | 'failed';
187
+ export type CloudflarePagesCustomDomainStatus = 'pending' | 'ready' | 'conflict' | 'failed';
188
+ export type CloudflarePagesDnsOwnership = 'marked' | 'unmarked' | 'external';
189
+ export interface CloudflarePagesCustomDomainInfo {
190
+ hostname: string;
191
+ url: string;
192
+ zoneId: string;
193
+ zoneName: string;
194
+ domainPrefix: string;
195
+ status: CloudflarePagesCustomDomainStatus;
196
+ statusMessage?: string;
197
+ errorCode?: string;
198
+ errorMessage?: string;
199
+ dnsStatus?: CloudflarePagesDnsStatus;
200
+ dnsRecordId?: string;
201
+ dnsOwnership?: CloudflarePagesDnsOwnership;
202
+ domainStatus?: CloudflarePagesDomainStatus;
203
+ pagesDomainStatus?: string;
204
+ validationData?: unknown;
205
+ verificationData?: unknown;
206
+ }
207
+ export interface CloudflarePagesDeploymentInfo {
208
+ projectName: string;
209
+ pagesDev: DeploymentLinkInfo;
210
+ customDomain?: CloudflarePagesCustomDomainInfo;
211
+ }
212
+ export interface DeployConfigResponse {
213
+ providerId: DeployProviderId;
214
+ configured: boolean;
215
+ tokenMask: string;
216
+ teamId: string;
217
+ teamSlug: string;
218
+ accountId?: string;
219
+ projectName?: string;
220
+ cloudflarePages?: CloudflarePagesConfigHints;
221
+ target: 'preview';
222
+ }
223
+ export interface UpdateDeployConfigRequest {
224
+ providerId?: DeployProviderId;
225
+ token?: string;
226
+ teamId?: string;
227
+ teamSlug?: string;
228
+ accountId?: string;
229
+ projectName?: string;
230
+ cloudflarePages?: CloudflarePagesConfigHints;
231
+ }
232
+ export interface DeploymentInfo {
233
+ id: string;
234
+ projectId: string;
235
+ fileName: string;
236
+ providerId: DeployProviderId;
237
+ url: string;
238
+ deploymentId?: string;
239
+ deploymentCount: number;
240
+ target: 'preview';
241
+ status: DeploymentStatus;
242
+ statusMessage?: string;
243
+ reachableAt?: number;
244
+ cloudflarePages?: CloudflarePagesDeploymentInfo;
245
+ createdAt: number;
246
+ updatedAt: number;
247
+ }
248
+ export interface ProjectDeploymentsResponse {
249
+ deployments: DeploymentInfo[];
250
+ }
251
+ export interface DeployProjectFileRequest {
252
+ fileName: string;
253
+ providerId?: DeployProviderId;
254
+ cloudflarePages?: CloudflarePagesDeploySelection;
255
+ }
256
+ export interface DeployProjectFileResponse extends DeploymentInfo {
257
+ }
258
+ export interface CheckDeploymentLinkResponse extends DeploymentInfo {
259
+ }
260
+ export type DeployPreflightWarningCode = 'broken-reference' | 'invalid-reference' | 'large-asset' | 'large-bundle' | 'large-html' | 'external-script' | 'external-stylesheet' | 'no-doctype' | 'no-viewport';
261
+ export interface DeployPreflightWarning {
262
+ code: DeployPreflightWarningCode;
263
+ message: string;
264
+ path?: string;
265
+ url?: string;
266
+ size?: number;
267
+ }
268
+ export interface DeployPreflightFile {
269
+ path: string;
270
+ size: number;
271
+ mime: string;
272
+ sourcePath: string;
273
+ }
274
+ export interface DeployPreflightRequest {
275
+ fileName: string;
276
+ providerId?: DeployProviderId;
277
+ }
278
+ export interface DeployPreflightResponse {
279
+ providerId: DeployProviderId;
280
+ entry: string;
281
+ files: DeployPreflightFile[];
282
+ totalFiles: number;
283
+ totalBytes: number;
284
+ warnings: DeployPreflightWarning[];
285
+ }
286
+ //# sourceMappingURL=projects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../src/api/projects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE5D,MAAM,MAAM,WAAW,GACnB,WAAW,GACX,MAAM,GACN,UAAU,GACV,OAAO,GACP,OAAO,G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AAC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC/B;AAED,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,gBAAgB,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,sBAAsB,EAAE,CAAC;CACpC"}
@@ -0,0 +1,19 @@
1
+ import type { ConnectionTestKind, ConnectionTestProtocol } from './connectionTest';
2
+ import type { AgentModelOption } from './registry';
3
+ export type ProviderModelsKind = ConnectionTestKind | 'no_models' | 'unsupported_protocol';
4
+ export interface ProviderModelsRequest {
5
+ protocol: ConnectionTestProtocol;
6
+ baseUrl: string;
7
+ apiKey: string;
8
+ apiVersion?: string;
9
+ }
10
+ export type ProviderModelOption = AgentModelOption;
11
+ export interface ProviderModelsResponse {
12
+ ok: boolean;
13
+ kind: ProviderModelsKind;
14
+ latencyMs: number;
15
+ models?: ProviderModelOption[];
16
+ status?: number;
17
+ detail?: string;
18
+ }
19
+ //# sourceMappingURL=providerModels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"providerModels.d.ts","sourceRoot":"","sources":["../../src/api/providerModels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD,MAAM,MAAM,kBAAkB,GAC1B,kBAAkB,GAClB,WAAW,GACX,sBAAsB,CAAC;AAE3B,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,sBAAsB,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IAGf,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AAEnD,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,OAAO,CAAC;IACZ,IAAI,EAAE,kBAAkB,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,24 @@
1
+ export type ProxyMessageRole = 'system' | 'user' | 'assistant' | 'tool';
2
+ export interface ProxyMessage {
3
+ role: ProxyMessageRole;
4
+ content: string;
5
+ }
6
+ export interface ProxyStreamRequest {
7
+ baseUrl: string;
8
+ apiKey: string;
9
+ model: string;
10
+ systemPrompt?: string;
11
+ messages: ProxyMessage[];
12
+ maxTokens?: number;
13
+ apiVersion?: string;
14
+ }
15
+ export interface ProxyStreamStartPayload {
16
+ model?: string;
17
+ }
18
+ export interface ProxyStreamDeltaPayload {
19
+ delta: string;
20
+ }
21
+ export interface ProxyStreamEndPayload {
22
+ code?: number;
23
+ }
24
+ //# sourceMappingURL=proxy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proxy.d.ts","sourceRoot":"","sources":["../../src/api/proxy.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,CAAC;AAExE,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,YAAY,EAAE,CAAC;IAGzB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}