@almadar/agent 2.0.0 → 2.0.2

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 (100) hide show
  1. package/dist/agent/event-budget.d.ts +28 -0
  2. package/dist/agent/experimental/hitl-v2.d.ts +161 -0
  3. package/dist/agent/experimental/hitl-workflow-integration.d.ts +182 -0
  4. package/dist/agent/index.d.ts +14 -0
  5. package/dist/agent/index.js.map +1 -1
  6. package/dist/agent/interrupt-config.d.ts +51 -0
  7. package/dist/agent/session-manager.d.ts +204 -0
  8. package/dist/agent/skill-agent.d.ts +182 -0
  9. package/dist/agent/workflow-middleware.d.ts +63 -0
  10. package/dist/agent/workflow-tool-wrapper.d.ts +87 -0
  11. package/dist/api-types.d.ts +595 -0
  12. package/dist/context/compaction.d.ts +191 -0
  13. package/dist/context-compaction.d.ts +55 -0
  14. package/dist/evals/online-sampling.d.ts +114 -0
  15. package/dist/evals/utils/compact-orbital.d.ts +100 -0
  16. package/dist/event-transformer/event-transformer.d.ts +120 -0
  17. package/dist/event-transformer/index.d.ts +7 -0
  18. package/dist/events.d.ts +85 -0
  19. package/dist/index.d.ts +59 -0
  20. package/dist/index.js.map +1 -1
  21. package/dist/memory/MemoryManager.d.ts +243 -0
  22. package/dist/memory/PreferenceLearner.d.ts +59 -0
  23. package/dist/memory/agentic-search.d.ts +116 -0
  24. package/dist/memory/index.d.ts +14 -0
  25. package/dist/memory/memory-orbital.d.ts +66 -0
  26. package/dist/memory/types.d.ts +143 -0
  27. package/dist/metrics.d.ts +77 -0
  28. package/dist/multi-user.d.ts +155 -0
  29. package/dist/observability/index.d.ts +14 -0
  30. package/dist/observability/langsmith-integration.d.ts +203 -0
  31. package/dist/observability.d.ts +196 -0
  32. package/dist/orbitals/archive/sanitize.d.ts +24 -0
  33. package/dist/orbitals/batch/batch-generator.d.ts +41 -0
  34. package/dist/orbitals/batch/concurrency.d.ts +54 -0
  35. package/dist/orbitals/batch/index.d.ts +14 -0
  36. package/dist/orbitals/batch/prompt-assembler.d.ts +92 -0
  37. package/dist/orbitals/batch/types.d.ts +103 -0
  38. package/dist/orbitals/cache/index.d.ts +11 -0
  39. package/dist/orbitals/cache/orbital-fingerprint.d.ts +37 -0
  40. package/dist/orbitals/cache/prompt-assembler.d.ts +65 -0
  41. package/dist/orbitals/cache/structural-templates.d.ts +33 -0
  42. package/dist/orbitals/combiner/index.d.ts +102 -0
  43. package/dist/orbitals/domain-language/index.d.ts +9 -0
  44. package/dist/orbitals/domain-language/prompts/index.d.ts +11 -0
  45. package/dist/orbitals/domain-language/prompts/odl-examples.d.ts +8 -0
  46. package/dist/orbitals/domain-language/prompts/odl-patterns.d.ts +8 -0
  47. package/dist/orbitals/domain-language/prompts/odl-syntax.d.ts +8 -0
  48. package/dist/orbitals/domain-language/prompts/odl-to-schema.d.ts +8 -0
  49. package/dist/orbitals/generation/index.d.ts +10 -0
  50. package/dist/orbitals/generation/orbital-generator.d.ts +120 -0
  51. package/dist/orbitals/shared/constants.d.ts +65 -0
  52. package/dist/orbitals/shared/index.d.ts +11 -0
  53. package/dist/orbitals/shared/types.d.ts +187 -0
  54. package/dist/orbitals/shared/utils.d.ts +97 -0
  55. package/dist/orchestration/complexity-classifier.d.ts +38 -0
  56. package/dist/orchestration/fixing-orchestrator.d.ts +53 -0
  57. package/dist/orchestration/index.d.ts +31 -0
  58. package/dist/orchestration/provider-router.d.ts +45 -0
  59. package/dist/persistence/firestore-checkpointer.d.ts +139 -0
  60. package/dist/persistence/firestore-session-store.d.ts +75 -0
  61. package/dist/persistence/firestore-store.d.ts +86 -0
  62. package/dist/persistence/index.d.ts +10 -0
  63. package/dist/persistence/memory-backend.d.ts +33 -0
  64. package/dist/persistence/types.d.ts +40 -0
  65. package/dist/security/audit-log.d.ts +44 -0
  66. package/dist/state-sync.d.ts +171 -0
  67. package/dist/subagents.d.ts +38 -0
  68. package/dist/tools/combine-schemas.d.ts +154 -0
  69. package/dist/tools/composition.d.ts +119 -0
  70. package/dist/tools/domain-orbital.d.ts +997 -0
  71. package/dist/tools/execute.d.ts +38 -0
  72. package/dist/tools/finish-task.d.ts +56 -0
  73. package/dist/tools/generate-schema.d.ts +53 -0
  74. package/dist/tools/github.d.ts +297 -0
  75. package/dist/tools/index.d.ts +1318 -0
  76. package/dist/tools/orbital-batch-subagent.d.ts +85 -0
  77. package/dist/tools/orbital-subagent.d.ts +454 -0
  78. package/dist/tools/orchestrated-fixing.d.ts +74 -0
  79. package/dist/tools/orchestrated-generation.d.ts +75 -0
  80. package/dist/tools/sandbox-executor.d.ts +31 -0
  81. package/dist/tools/schema-chunking.d.ts +117 -0
  82. package/dist/tools/trait-subagent.d.ts +179 -0
  83. package/dist/tools/validate-schema.d.ts +17 -0
  84. package/dist/types.d.ts +167 -0
  85. package/dist/utils/safety/capability-token.d.ts +50 -0
  86. package/dist/utils/safety/circuit-breaker.d.ts +71 -0
  87. package/dist/utils/safety/index.d.ts +19 -0
  88. package/dist/utils/safety/rate-limiter.d.ts +39 -0
  89. package/dist/utils/safety/threshold-auth.d.ts +70 -0
  90. package/dist/workspace/git-client.d.ts +51 -0
  91. package/dist/workspace/index.d.ts +38 -0
  92. package/dist/workspace/memory-files.d.ts +31 -0
  93. package/dist/workspace/sink-manager.d.ts +26 -0
  94. package/dist/workspace/sinks/firestore-sink.d.ts +41 -0
  95. package/dist/workspace/sinks/git-sink.d.ts +47 -0
  96. package/dist/workspace/sinks/index.d.ts +9 -0
  97. package/dist/workspace/templates.d.ts +32 -0
  98. package/dist/workspace/types.d.ts +86 -0
  99. package/dist/workspace/workspace-manager.d.ts +57 -0
  100. package/package.json +8 -7
@@ -0,0 +1,1318 @@
1
+ /**
2
+ * @almadar/agent Tools
3
+ *
4
+ * All agent tools for schema generation, validation, and management.
5
+ *
6
+ * @packageDocumentation
7
+ */
8
+ export { createExecuteTool, validateCommandPaths } from './execute.js';
9
+ export { createValidateSchemaTool } from './validate-schema.js';
10
+ export { createGenerateSchemaTool } from './generate-schema.js';
11
+ export { createFinishTaskTool } from './finish-task.js';
12
+ export { createGenerateOrbitalDomainTool, createConstructCombinedDomainTool, createDomainOrbitalTools, type DomainOrbitalEventCallback, type DomainOrbitalCompleteCallback, type DomainOrbitalToolOptions, type DomainOrbitalSpec, } from './domain-orbital.js';
13
+ export { createOrbitalSubagentTool, createSubagentEventWrapper, type SubagentEventCallback, type OrbitalCompleteCallback, type OrbitalRequirements, type OrbitalSubagentToolOptions, } from './orbital-subagent.js';
14
+ export { createOrbitalBatchSubagentTool, type SubagentEventCallback as BatchSubagentEventCallback, type BatchCompleteCallback, type OrbitalBatchSubagentToolOptions, } from './orbital-batch-subagent.js';
15
+ export { createTraitSubagentTool, createTraitEventWrapper, type TraitEventCallback, type TraitCompleteCallback, type TraitSubagentToolOptions, type TraitSpec, } from './trait-subagent.js';
16
+ export { createCombineSchemasTool } from './combine-schemas.js';
17
+ export { createQuerySchemaStructureTool, createExtractChunkTool, createApplyChunkTool, createSchemaChunkingTools, } from './schema-chunking.js';
18
+ export { createOrchestratedGenerationTool, createComplexityCheckTool, type OrchestratedGenerationOptions, type OrchestratedGenerationResult, } from './orchestrated-generation.js';
19
+ export { createOrchestratedFixingTool, createValidateTool, type OrchestratedFixingOptions, type OrchestratedFixingResult, } from './orchestrated-fixing.js';
20
+ export { createGitHubTools, createGitHubToolsArray, type GitHubToolsConfig, } from './github.js';
21
+ /**
22
+ * Create all agent tools for a workspace.
23
+ *
24
+ * All dependencies are now internal to @almadar/agent - no dependency injection needed.
25
+ *
26
+ * @param workDir - Workspace directory
27
+ * @returns All tools ready for use
28
+ */
29
+ export declare function createAgentTools(workDir: string): {
30
+ execute: import("@langchain/core/tools").DynamicStructuredTool<import("zod").ZodObject<{
31
+ command: import("zod").ZodString;
32
+ timeout: import("zod").ZodOptional<import("zod").ZodNumber>;
33
+ }, "strip", import("zod").ZodTypeAny, {
34
+ command: string;
35
+ timeout?: number | undefined;
36
+ }, {
37
+ command: string;
38
+ timeout?: number | undefined;
39
+ }>, {
40
+ command: string;
41
+ timeout?: number | undefined;
42
+ }, {
43
+ command: string;
44
+ timeout?: number | undefined;
45
+ }, string, "execute">;
46
+ validateSchema: import("@langchain/core/tools").DynamicStructuredTool<import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>, {}, {}, string, "validate_schema">;
47
+ generateSchema: import("@langchain/core/tools").DynamicStructuredTool<import("zod").ZodObject<{
48
+ userRequest: import("zod").ZodString;
49
+ suggestedTraits: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
50
+ suggestedEntities: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
51
+ suggestedPages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
52
+ suggestedPatterns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
53
+ additionalInstructions: import("zod").ZodOptional<import("zod").ZodString>;
54
+ existingSchema: import("zod").ZodOptional<import("zod").ZodString>;
55
+ }, "strip", import("zod").ZodTypeAny, {
56
+ userRequest: string;
57
+ suggestedTraits?: string[] | undefined;
58
+ suggestedEntities?: string[] | undefined;
59
+ suggestedPages?: string[] | undefined;
60
+ suggestedPatterns?: string[] | undefined;
61
+ additionalInstructions?: string | undefined;
62
+ existingSchema?: string | undefined;
63
+ }, {
64
+ userRequest: string;
65
+ suggestedTraits?: string[] | undefined;
66
+ suggestedEntities?: string[] | undefined;
67
+ suggestedPages?: string[] | undefined;
68
+ suggestedPatterns?: string[] | undefined;
69
+ additionalInstructions?: string | undefined;
70
+ existingSchema?: string | undefined;
71
+ }>, {
72
+ userRequest: string;
73
+ suggestedTraits?: string[] | undefined;
74
+ suggestedEntities?: string[] | undefined;
75
+ suggestedPages?: string[] | undefined;
76
+ suggestedPatterns?: string[] | undefined;
77
+ additionalInstructions?: string | undefined;
78
+ existingSchema?: string | undefined;
79
+ }, {
80
+ userRequest: string;
81
+ suggestedTraits?: string[] | undefined;
82
+ suggestedEntities?: string[] | undefined;
83
+ suggestedPages?: string[] | undefined;
84
+ suggestedPatterns?: string[] | undefined;
85
+ additionalInstructions?: string | undefined;
86
+ existingSchema?: string | undefined;
87
+ }, string, "generate_schema">;
88
+ finishTask: import("@langchain/core/tools").DynamicStructuredTool<import("zod").ZodObject<{
89
+ summary: import("zod").ZodString;
90
+ schemaPath: import("zod").ZodOptional<import("zod").ZodString>;
91
+ }, "strip", import("zod").ZodTypeAny, {
92
+ summary: string;
93
+ schemaPath?: string | undefined;
94
+ }, {
95
+ summary: string;
96
+ schemaPath?: string | undefined;
97
+ }>, {
98
+ summary: string;
99
+ schemaPath?: string | undefined;
100
+ }, {
101
+ summary: string;
102
+ schemaPath?: string | undefined;
103
+ }, {
104
+ success: boolean;
105
+ status: string;
106
+ message: string;
107
+ summary: string;
108
+ autoCombined: boolean;
109
+ source: "domain" | "orbitals" | undefined;
110
+ stats: {
111
+ totalOrbitals: number;
112
+ totalEntities: number;
113
+ totalPages: number;
114
+ totalTraits: number;
115
+ } | undefined;
116
+ validation: {
117
+ valid: boolean;
118
+ errorCount: number;
119
+ warningCount: number;
120
+ } | undefined;
121
+ designQuality: {
122
+ propCorrections: number;
123
+ compositionWarnings: string[];
124
+ };
125
+ schemaPath: string | undefined;
126
+ nextAction: string;
127
+ }, "finish_task">;
128
+ combineSchemas: import("@langchain/core/tools").DynamicStructuredTool<import("zod").ZodObject<{
129
+ orbitals: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
130
+ name: import("zod").ZodString;
131
+ description: import("zod").ZodOptional<import("zod").ZodString>;
132
+ entity: import("zod").ZodObject<{
133
+ name: import("zod").ZodString;
134
+ collection: import("zod").ZodOptional<import("zod").ZodString>;
135
+ fields: import("zod").ZodArray<import("zod").ZodAny, "many">;
136
+ timestamps: import("zod").ZodOptional<import("zod").ZodBoolean>;
137
+ }, "strip", import("zod").ZodTypeAny, {
138
+ name: string;
139
+ fields: any[];
140
+ collection?: string | undefined;
141
+ timestamps?: boolean | undefined;
142
+ }, {
143
+ name: string;
144
+ fields: any[];
145
+ collection?: string | undefined;
146
+ timestamps?: boolean | undefined;
147
+ }>;
148
+ traits: import("zod").ZodArray<import("zod").ZodAny, "many">;
149
+ pages: import("zod").ZodArray<import("zod").ZodAny, "many">;
150
+ emits: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
151
+ listens: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
152
+ }, "strip", import("zod").ZodTypeAny, {
153
+ pages: any[];
154
+ traits: any[];
155
+ name: string;
156
+ entity: {
157
+ name: string;
158
+ fields: any[];
159
+ collection?: string | undefined;
160
+ timestamps?: boolean | undefined;
161
+ };
162
+ description?: string | undefined;
163
+ emits?: string[] | undefined;
164
+ listens?: any[] | undefined;
165
+ }, {
166
+ pages: any[];
167
+ traits: any[];
168
+ name: string;
169
+ entity: {
170
+ name: string;
171
+ fields: any[];
172
+ collection?: string | undefined;
173
+ timestamps?: boolean | undefined;
174
+ };
175
+ description?: string | undefined;
176
+ emits?: string[] | undefined;
177
+ listens?: any[] | undefined;
178
+ }>, "many">>;
179
+ name: import("zod").ZodOptional<import("zod").ZodString>;
180
+ description: import("zod").ZodOptional<import("zod").ZodString>;
181
+ version: import("zod").ZodOptional<import("zod").ZodString>;
182
+ theme: import("zod").ZodOptional<import("zod").ZodString>;
183
+ defaultRoute: import("zod").ZodOptional<import("zod").ZodString>;
184
+ validate: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
185
+ }, "strip", import("zod").ZodTypeAny, {
186
+ validate: boolean;
187
+ version?: string | undefined;
188
+ name?: string | undefined;
189
+ description?: string | undefined;
190
+ theme?: string | undefined;
191
+ orbitals?: {
192
+ pages: any[];
193
+ traits: any[];
194
+ name: string;
195
+ entity: {
196
+ name: string;
197
+ fields: any[];
198
+ collection?: string | undefined;
199
+ timestamps?: boolean | undefined;
200
+ };
201
+ description?: string | undefined;
202
+ emits?: string[] | undefined;
203
+ listens?: any[] | undefined;
204
+ }[] | undefined;
205
+ defaultRoute?: string | undefined;
206
+ }, {
207
+ version?: string | undefined;
208
+ name?: string | undefined;
209
+ description?: string | undefined;
210
+ validate?: boolean | undefined;
211
+ theme?: string | undefined;
212
+ orbitals?: {
213
+ pages: any[];
214
+ traits: any[];
215
+ name: string;
216
+ entity: {
217
+ name: string;
218
+ fields: any[];
219
+ collection?: string | undefined;
220
+ timestamps?: boolean | undefined;
221
+ };
222
+ description?: string | undefined;
223
+ emits?: string[] | undefined;
224
+ listens?: any[] | undefined;
225
+ }[] | undefined;
226
+ defaultRoute?: string | undefined;
227
+ }>, {
228
+ validate: boolean;
229
+ version?: string | undefined;
230
+ name?: string | undefined;
231
+ description?: string | undefined;
232
+ theme?: string | undefined;
233
+ orbitals?: {
234
+ pages: any[];
235
+ traits: any[];
236
+ name: string;
237
+ entity: {
238
+ name: string;
239
+ fields: any[];
240
+ collection?: string | undefined;
241
+ timestamps?: boolean | undefined;
242
+ };
243
+ description?: string | undefined;
244
+ emits?: string[] | undefined;
245
+ listens?: any[] | undefined;
246
+ }[] | undefined;
247
+ defaultRoute?: string | undefined;
248
+ }, {
249
+ version?: string | undefined;
250
+ name?: string | undefined;
251
+ description?: string | undefined;
252
+ validate?: boolean | undefined;
253
+ theme?: string | undefined;
254
+ orbitals?: {
255
+ pages: any[];
256
+ traits: any[];
257
+ name: string;
258
+ entity: {
259
+ name: string;
260
+ fields: any[];
261
+ collection?: string | undefined;
262
+ timestamps?: boolean | undefined;
263
+ };
264
+ description?: string | undefined;
265
+ emits?: string[] | undefined;
266
+ listens?: any[] | undefined;
267
+ }[] | undefined;
268
+ defaultRoute?: string | undefined;
269
+ }, string, "construct_combined_schema">;
270
+ orbitalSubagent: {
271
+ tool: import("@langchain/core/tools").DynamicStructuredTool<import("zod").ZodObject<{
272
+ orbital: import("zod").ZodObject<{
273
+ name: import("zod").ZodString;
274
+ entity: import("zod").ZodObject<{
275
+ name: import("zod").ZodString;
276
+ persistence: import("zod").ZodEnum<["persistent", "runtime", "singleton", "instance"]>;
277
+ fields: import("zod").ZodArray<import("zod").ZodObject<{
278
+ name: import("zod").ZodString;
279
+ type: import("zod").ZodString;
280
+ required: import("zod").ZodOptional<import("zod").ZodBoolean>;
281
+ }, "strip", import("zod").ZodTypeAny, {
282
+ type: string;
283
+ name: string;
284
+ required?: boolean | undefined;
285
+ }, {
286
+ type: string;
287
+ name: string;
288
+ required?: boolean | undefined;
289
+ }>, "many">;
290
+ }, "strip", import("zod").ZodTypeAny, {
291
+ name: string;
292
+ fields: {
293
+ type: string;
294
+ name: string;
295
+ required?: boolean | undefined;
296
+ }[];
297
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
298
+ }, {
299
+ name: string;
300
+ fields: {
301
+ type: string;
302
+ name: string;
303
+ required?: boolean | undefined;
304
+ }[];
305
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
306
+ }>;
307
+ traits: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
308
+ patterns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
309
+ pages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
310
+ name: import("zod").ZodString;
311
+ path: import("zod").ZodString;
312
+ viewType: import("zod").ZodString;
313
+ }, "strip", import("zod").ZodTypeAny, {
314
+ path: string;
315
+ name: string;
316
+ viewType: string;
317
+ }, {
318
+ path: string;
319
+ name: string;
320
+ viewType: string;
321
+ }>, "many">>;
322
+ domainContext: import("zod").ZodOptional<import("zod").ZodObject<{
323
+ request: import("zod").ZodString;
324
+ requestFragment: import("zod").ZodOptional<import("zod").ZodString>;
325
+ category: import("zod").ZodEnum<["game", "business", "dashboard", "form", "content", "social", "ecommerce", "workflow"]>;
326
+ vocabulary: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
327
+ }, "strip", import("zod").ZodTypeAny, {
328
+ request: string;
329
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
330
+ requestFragment?: string | undefined;
331
+ vocabulary?: Record<string, string> | undefined;
332
+ }, {
333
+ request: string;
334
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
335
+ requestFragment?: string | undefined;
336
+ vocabulary?: Record<string, string> | undefined;
337
+ }>>;
338
+ design: import("zod").ZodOptional<import("zod").ZodObject<{
339
+ style: import("zod").ZodOptional<import("zod").ZodEnum<["minimal", "modern", "playful", "data-driven", "immersive"]>>;
340
+ uxHints: import("zod").ZodOptional<import("zod").ZodObject<{
341
+ flowPattern: import("zod").ZodOptional<import("zod").ZodString>;
342
+ listPattern: import("zod").ZodOptional<import("zod").ZodString>;
343
+ formPattern: import("zod").ZodOptional<import("zod").ZodString>;
344
+ detailPattern: import("zod").ZodOptional<import("zod").ZodString>;
345
+ }, "strip", import("zod").ZodTypeAny, {
346
+ flowPattern?: string | undefined;
347
+ listPattern?: string | undefined;
348
+ formPattern?: string | undefined;
349
+ detailPattern?: string | undefined;
350
+ }, {
351
+ flowPattern?: string | undefined;
352
+ listPattern?: string | undefined;
353
+ formPattern?: string | undefined;
354
+ detailPattern?: string | undefined;
355
+ }>>;
356
+ }, "strip", import("zod").ZodTypeAny, {
357
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
358
+ uxHints?: {
359
+ flowPattern?: string | undefined;
360
+ listPattern?: string | undefined;
361
+ formPattern?: string | undefined;
362
+ detailPattern?: string | undefined;
363
+ } | undefined;
364
+ }, {
365
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
366
+ uxHints?: {
367
+ flowPattern?: string | undefined;
368
+ listPattern?: string | undefined;
369
+ formPattern?: string | undefined;
370
+ detailPattern?: string | undefined;
371
+ } | undefined;
372
+ }>>;
373
+ emits: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
374
+ listens: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
375
+ event: import("zod").ZodString;
376
+ triggers: import("zod").ZodString;
377
+ }, "strip", import("zod").ZodTypeAny, {
378
+ event: string;
379
+ triggers: string;
380
+ }, {
381
+ event: string;
382
+ triggers: string;
383
+ }>, "many">>;
384
+ relations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
385
+ entity: import("zod").ZodString;
386
+ alias: import("zod").ZodOptional<import("zod").ZodString>;
387
+ cardinality: import("zod").ZodEnum<["one", "many"]>;
388
+ }, "strip", import("zod").ZodTypeAny, {
389
+ entity: string;
390
+ cardinality: "many" | "one";
391
+ alias?: string | undefined;
392
+ }, {
393
+ entity: string;
394
+ cardinality: "many" | "one";
395
+ alias?: string | undefined;
396
+ }>, "many">>;
397
+ }, "strip", import("zod").ZodTypeAny, {
398
+ traits: string[];
399
+ name: string;
400
+ entity: {
401
+ name: string;
402
+ fields: {
403
+ type: string;
404
+ name: string;
405
+ required?: boolean | undefined;
406
+ }[];
407
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
408
+ };
409
+ pages?: {
410
+ path: string;
411
+ name: string;
412
+ viewType: string;
413
+ }[] | undefined;
414
+ relations?: {
415
+ entity: string;
416
+ cardinality: "many" | "one";
417
+ alias?: string | undefined;
418
+ }[] | undefined;
419
+ patterns?: string[] | undefined;
420
+ domainContext?: {
421
+ request: string;
422
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
423
+ requestFragment?: string | undefined;
424
+ vocabulary?: Record<string, string> | undefined;
425
+ } | undefined;
426
+ design?: {
427
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
428
+ uxHints?: {
429
+ flowPattern?: string | undefined;
430
+ listPattern?: string | undefined;
431
+ formPattern?: string | undefined;
432
+ detailPattern?: string | undefined;
433
+ } | undefined;
434
+ } | undefined;
435
+ emits?: string[] | undefined;
436
+ listens?: {
437
+ event: string;
438
+ triggers: string;
439
+ }[] | undefined;
440
+ }, {
441
+ name: string;
442
+ entity: {
443
+ name: string;
444
+ fields: {
445
+ type: string;
446
+ name: string;
447
+ required?: boolean | undefined;
448
+ }[];
449
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
450
+ };
451
+ pages?: {
452
+ path: string;
453
+ name: string;
454
+ viewType: string;
455
+ }[] | undefined;
456
+ traits?: string[] | undefined;
457
+ relations?: {
458
+ entity: string;
459
+ cardinality: "many" | "one";
460
+ alias?: string | undefined;
461
+ }[] | undefined;
462
+ patterns?: string[] | undefined;
463
+ domainContext?: {
464
+ request: string;
465
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
466
+ requestFragment?: string | undefined;
467
+ vocabulary?: Record<string, string> | undefined;
468
+ } | undefined;
469
+ design?: {
470
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
471
+ uxHints?: {
472
+ flowPattern?: string | undefined;
473
+ listPattern?: string | undefined;
474
+ formPattern?: string | undefined;
475
+ detailPattern?: string | undefined;
476
+ } | undefined;
477
+ } | undefined;
478
+ emits?: string[] | undefined;
479
+ listens?: {
480
+ event: string;
481
+ triggers: string;
482
+ }[] | undefined;
483
+ }>;
484
+ orbitalIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
485
+ totalOrbitals: import("zod").ZodOptional<import("zod").ZodNumber>;
486
+ }, "strip", import("zod").ZodTypeAny, {
487
+ orbital: {
488
+ traits: string[];
489
+ name: string;
490
+ entity: {
491
+ name: string;
492
+ fields: {
493
+ type: string;
494
+ name: string;
495
+ required?: boolean | undefined;
496
+ }[];
497
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
498
+ };
499
+ pages?: {
500
+ path: string;
501
+ name: string;
502
+ viewType: string;
503
+ }[] | undefined;
504
+ relations?: {
505
+ entity: string;
506
+ cardinality: "many" | "one";
507
+ alias?: string | undefined;
508
+ }[] | undefined;
509
+ patterns?: string[] | undefined;
510
+ domainContext?: {
511
+ request: string;
512
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
513
+ requestFragment?: string | undefined;
514
+ vocabulary?: Record<string, string> | undefined;
515
+ } | undefined;
516
+ design?: {
517
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
518
+ uxHints?: {
519
+ flowPattern?: string | undefined;
520
+ listPattern?: string | undefined;
521
+ formPattern?: string | undefined;
522
+ detailPattern?: string | undefined;
523
+ } | undefined;
524
+ } | undefined;
525
+ emits?: string[] | undefined;
526
+ listens?: {
527
+ event: string;
528
+ triggers: string;
529
+ }[] | undefined;
530
+ };
531
+ orbitalIndex?: number | undefined;
532
+ totalOrbitals?: number | undefined;
533
+ }, {
534
+ orbital: {
535
+ name: string;
536
+ entity: {
537
+ name: string;
538
+ fields: {
539
+ type: string;
540
+ name: string;
541
+ required?: boolean | undefined;
542
+ }[];
543
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
544
+ };
545
+ pages?: {
546
+ path: string;
547
+ name: string;
548
+ viewType: string;
549
+ }[] | undefined;
550
+ traits?: string[] | undefined;
551
+ relations?: {
552
+ entity: string;
553
+ cardinality: "many" | "one";
554
+ alias?: string | undefined;
555
+ }[] | undefined;
556
+ patterns?: string[] | undefined;
557
+ domainContext?: {
558
+ request: string;
559
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
560
+ requestFragment?: string | undefined;
561
+ vocabulary?: Record<string, string> | undefined;
562
+ } | undefined;
563
+ design?: {
564
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
565
+ uxHints?: {
566
+ flowPattern?: string | undefined;
567
+ listPattern?: string | undefined;
568
+ formPattern?: string | undefined;
569
+ detailPattern?: string | undefined;
570
+ } | undefined;
571
+ } | undefined;
572
+ emits?: string[] | undefined;
573
+ listens?: {
574
+ event: string;
575
+ triggers: string;
576
+ }[] | undefined;
577
+ };
578
+ orbitalIndex?: number | undefined;
579
+ totalOrbitals?: number | undefined;
580
+ }>, {
581
+ orbital: {
582
+ traits: string[];
583
+ name: string;
584
+ entity: {
585
+ name: string;
586
+ fields: {
587
+ type: string;
588
+ name: string;
589
+ required?: boolean | undefined;
590
+ }[];
591
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
592
+ };
593
+ pages?: {
594
+ path: string;
595
+ name: string;
596
+ viewType: string;
597
+ }[] | undefined;
598
+ relations?: {
599
+ entity: string;
600
+ cardinality: "many" | "one";
601
+ alias?: string | undefined;
602
+ }[] | undefined;
603
+ patterns?: string[] | undefined;
604
+ domainContext?: {
605
+ request: string;
606
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
607
+ requestFragment?: string | undefined;
608
+ vocabulary?: Record<string, string> | undefined;
609
+ } | undefined;
610
+ design?: {
611
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
612
+ uxHints?: {
613
+ flowPattern?: string | undefined;
614
+ listPattern?: string | undefined;
615
+ formPattern?: string | undefined;
616
+ detailPattern?: string | undefined;
617
+ } | undefined;
618
+ } | undefined;
619
+ emits?: string[] | undefined;
620
+ listens?: {
621
+ event: string;
622
+ triggers: string;
623
+ }[] | undefined;
624
+ };
625
+ orbitalIndex?: number | undefined;
626
+ totalOrbitals?: number | undefined;
627
+ }, {
628
+ orbital: {
629
+ name: string;
630
+ entity: {
631
+ name: string;
632
+ fields: {
633
+ type: string;
634
+ name: string;
635
+ required?: boolean | undefined;
636
+ }[];
637
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
638
+ };
639
+ pages?: {
640
+ path: string;
641
+ name: string;
642
+ viewType: string;
643
+ }[] | undefined;
644
+ traits?: string[] | undefined;
645
+ relations?: {
646
+ entity: string;
647
+ cardinality: "many" | "one";
648
+ alias?: string | undefined;
649
+ }[] | undefined;
650
+ patterns?: string[] | undefined;
651
+ domainContext?: {
652
+ request: string;
653
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
654
+ requestFragment?: string | undefined;
655
+ vocabulary?: Record<string, string> | undefined;
656
+ } | undefined;
657
+ design?: {
658
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
659
+ uxHints?: {
660
+ flowPattern?: string | undefined;
661
+ listPattern?: string | undefined;
662
+ formPattern?: string | undefined;
663
+ detailPattern?: string | undefined;
664
+ } | undefined;
665
+ } | undefined;
666
+ emits?: string[] | undefined;
667
+ listens?: {
668
+ event: string;
669
+ triggers: string;
670
+ }[] | undefined;
671
+ };
672
+ orbitalIndex?: number | undefined;
673
+ totalOrbitals?: number | undefined;
674
+ }, string, "generate_orbital">;
675
+ setEventCallback: (callback: import("./orbital-subagent.js").SubagentEventCallback) => void;
676
+ setOrbitalCompleteCallback: (callback: import("./orbital-subagent.js").OrbitalCompleteCallback) => void;
677
+ };
678
+ traitSubagent: {
679
+ tool: import("@langchain/core/tools").DynamicStructuredTool<import("zod").ZodObject<{
680
+ traitSpec: import("zod").ZodObject<{
681
+ name: import("zod").ZodString;
682
+ description: import("zod").ZodString;
683
+ category: import("zod").ZodOptional<import("zod").ZodString>;
684
+ states: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
685
+ events: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
686
+ requiredFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
687
+ name: import("zod").ZodString;
688
+ type: import("zod").ZodString;
689
+ description: import("zod").ZodOptional<import("zod").ZodString>;
690
+ }, "strip", import("zod").ZodTypeAny, {
691
+ type: string;
692
+ name: string;
693
+ description?: string | undefined;
694
+ }, {
695
+ type: string;
696
+ name: string;
697
+ description?: string | undefined;
698
+ }>, "many">>;
699
+ needsTicks: import("zod").ZodOptional<import("zod").ZodBoolean>;
700
+ needsEmit: import("zod").ZodOptional<import("zod").ZodBoolean>;
701
+ needsListens: import("zod").ZodOptional<import("zod").ZodBoolean>;
702
+ }, "strip", import("zod").ZodTypeAny, {
703
+ name: string;
704
+ description: string;
705
+ states?: string[] | undefined;
706
+ events?: string[] | undefined;
707
+ category?: string | undefined;
708
+ requiredFields?: {
709
+ type: string;
710
+ name: string;
711
+ description?: string | undefined;
712
+ }[] | undefined;
713
+ needsTicks?: boolean | undefined;
714
+ needsEmit?: boolean | undefined;
715
+ needsListens?: boolean | undefined;
716
+ }, {
717
+ name: string;
718
+ description: string;
719
+ states?: string[] | undefined;
720
+ events?: string[] | undefined;
721
+ category?: string | undefined;
722
+ requiredFields?: {
723
+ type: string;
724
+ name: string;
725
+ description?: string | undefined;
726
+ }[] | undefined;
727
+ needsTicks?: boolean | undefined;
728
+ needsEmit?: boolean | undefined;
729
+ needsListens?: boolean | undefined;
730
+ }>;
731
+ traitIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
732
+ totalTraits: import("zod").ZodOptional<import("zod").ZodNumber>;
733
+ }, "strip", import("zod").ZodTypeAny, {
734
+ traitSpec: {
735
+ name: string;
736
+ description: string;
737
+ states?: string[] | undefined;
738
+ events?: string[] | undefined;
739
+ category?: string | undefined;
740
+ requiredFields?: {
741
+ type: string;
742
+ name: string;
743
+ description?: string | undefined;
744
+ }[] | undefined;
745
+ needsTicks?: boolean | undefined;
746
+ needsEmit?: boolean | undefined;
747
+ needsListens?: boolean | undefined;
748
+ };
749
+ traitIndex?: number | undefined;
750
+ totalTraits?: number | undefined;
751
+ }, {
752
+ traitSpec: {
753
+ name: string;
754
+ description: string;
755
+ states?: string[] | undefined;
756
+ events?: string[] | undefined;
757
+ category?: string | undefined;
758
+ requiredFields?: {
759
+ type: string;
760
+ name: string;
761
+ description?: string | undefined;
762
+ }[] | undefined;
763
+ needsTicks?: boolean | undefined;
764
+ needsEmit?: boolean | undefined;
765
+ needsListens?: boolean | undefined;
766
+ };
767
+ traitIndex?: number | undefined;
768
+ totalTraits?: number | undefined;
769
+ }>, {
770
+ traitSpec: {
771
+ name: string;
772
+ description: string;
773
+ states?: string[] | undefined;
774
+ events?: string[] | undefined;
775
+ category?: string | undefined;
776
+ requiredFields?: {
777
+ type: string;
778
+ name: string;
779
+ description?: string | undefined;
780
+ }[] | undefined;
781
+ needsTicks?: boolean | undefined;
782
+ needsEmit?: boolean | undefined;
783
+ needsListens?: boolean | undefined;
784
+ };
785
+ traitIndex?: number | undefined;
786
+ totalTraits?: number | undefined;
787
+ }, {
788
+ traitSpec: {
789
+ name: string;
790
+ description: string;
791
+ states?: string[] | undefined;
792
+ events?: string[] | undefined;
793
+ category?: string | undefined;
794
+ requiredFields?: {
795
+ type: string;
796
+ name: string;
797
+ description?: string | undefined;
798
+ }[] | undefined;
799
+ needsTicks?: boolean | undefined;
800
+ needsEmit?: boolean | undefined;
801
+ needsListens?: boolean | undefined;
802
+ };
803
+ traitIndex?: number | undefined;
804
+ totalTraits?: number | undefined;
805
+ }, string, "generate_custom_trait">;
806
+ setEventCallback: (callback: import("./trait-subagent.js").TraitEventCallback) => void;
807
+ setTraitCompleteCallback: (callback: import("./trait-subagent.js").TraitCompleteCallback) => void;
808
+ };
809
+ domainOrbitalTools: {
810
+ generateOrbitalDomain: import("@langchain/core/tools").DynamicStructuredTool<import("zod").ZodObject<{
811
+ sessionId: import("zod").ZodString;
812
+ orbital: import("zod").ZodObject<{
813
+ name: import("zod").ZodString;
814
+ entity: import("zod").ZodObject<{
815
+ name: import("zod").ZodString;
816
+ persistence: import("zod").ZodEnum<["persistent", "runtime", "singleton"]>;
817
+ fields: import("zod").ZodArray<import("zod").ZodObject<{
818
+ name: import("zod").ZodString;
819
+ type: import("zod").ZodString;
820
+ required: import("zod").ZodOptional<import("zod").ZodBoolean>;
821
+ default: import("zod").ZodOptional<import("zod").ZodAny>;
822
+ }, "strip", import("zod").ZodTypeAny, {
823
+ type: string;
824
+ name: string;
825
+ default?: any;
826
+ required?: boolean | undefined;
827
+ }, {
828
+ type: string;
829
+ name: string;
830
+ default?: any;
831
+ required?: boolean | undefined;
832
+ }>, "many">;
833
+ relations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
834
+ entity: import("zod").ZodString;
835
+ alias: import("zod").ZodOptional<import("zod").ZodString>;
836
+ type: import("zod").ZodEnum<["belongs_to", "has_many"]>;
837
+ }, "strip", import("zod").ZodTypeAny, {
838
+ type: "belongs_to" | "has_many";
839
+ entity: string;
840
+ alias?: string | undefined;
841
+ }, {
842
+ type: "belongs_to" | "has_many";
843
+ entity: string;
844
+ alias?: string | undefined;
845
+ }>, "many">>;
846
+ }, "strip", import("zod").ZodTypeAny, {
847
+ name: string;
848
+ fields: {
849
+ type: string;
850
+ name: string;
851
+ default?: any;
852
+ required?: boolean | undefined;
853
+ }[];
854
+ persistence: "persistent" | "runtime" | "singleton";
855
+ relations?: {
856
+ type: "belongs_to" | "has_many";
857
+ entity: string;
858
+ alias?: string | undefined;
859
+ }[] | undefined;
860
+ }, {
861
+ name: string;
862
+ fields: {
863
+ type: string;
864
+ name: string;
865
+ default?: any;
866
+ required?: boolean | undefined;
867
+ }[];
868
+ persistence: "persistent" | "runtime" | "singleton";
869
+ relations?: {
870
+ type: "belongs_to" | "has_many";
871
+ entity: string;
872
+ alias?: string | undefined;
873
+ }[] | undefined;
874
+ }>;
875
+ pages: import("zod").ZodArray<import("zod").ZodObject<{
876
+ name: import("zod").ZodString;
877
+ path: import("zod").ZodString;
878
+ viewType: import("zod").ZodString;
879
+ isInitial: import("zod").ZodOptional<import("zod").ZodBoolean>;
880
+ }, "strip", import("zod").ZodTypeAny, {
881
+ path: string;
882
+ name: string;
883
+ viewType: string;
884
+ isInitial?: boolean | undefined;
885
+ }, {
886
+ path: string;
887
+ name: string;
888
+ viewType: string;
889
+ isInitial?: boolean | undefined;
890
+ }>, "many">;
891
+ traits: import("zod").ZodArray<import("zod").ZodString, "many">;
892
+ patterns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
893
+ domainContext: import("zod").ZodOptional<import("zod").ZodObject<{
894
+ request: import("zod").ZodString;
895
+ requestFragment: import("zod").ZodOptional<import("zod").ZodString>;
896
+ category: import("zod").ZodEnum<["game", "business", "dashboard", "form", "content", "social", "ecommerce", "workflow"]>;
897
+ vocabulary: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
898
+ }, "strip", import("zod").ZodTypeAny, {
899
+ request: string;
900
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
901
+ requestFragment?: string | undefined;
902
+ vocabulary?: Record<string, string> | undefined;
903
+ }, {
904
+ request: string;
905
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
906
+ requestFragment?: string | undefined;
907
+ vocabulary?: Record<string, string> | undefined;
908
+ }>>;
909
+ design: import("zod").ZodOptional<import("zod").ZodObject<{
910
+ style: import("zod").ZodOptional<import("zod").ZodEnum<["minimal", "modern", "playful", "data-driven", "immersive"]>>;
911
+ uxHints: import("zod").ZodOptional<import("zod").ZodObject<{
912
+ flowPattern: import("zod").ZodOptional<import("zod").ZodEnum<["hub-spoke", "master-detail", "crud-cycle", "linear", "role-based"]>>;
913
+ listPattern: import("zod").ZodOptional<import("zod").ZodEnum<["entity-table", "entity-cards", "entity-list"]>>;
914
+ formPattern: import("zod").ZodOptional<import("zod").ZodEnum<["modal", "drawer", "page"]>>;
915
+ detailPattern: import("zod").ZodOptional<import("zod").ZodEnum<["drawer", "page", "split"]>>;
916
+ }, "strip", import("zod").ZodTypeAny, {
917
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
918
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
919
+ formPattern?: "modal" | "drawer" | "page" | undefined;
920
+ detailPattern?: "split" | "drawer" | "page" | undefined;
921
+ }, {
922
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
923
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
924
+ formPattern?: "modal" | "drawer" | "page" | undefined;
925
+ detailPattern?: "split" | "drawer" | "page" | undefined;
926
+ }>>;
927
+ }, "strip", import("zod").ZodTypeAny, {
928
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
929
+ uxHints?: {
930
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
931
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
932
+ formPattern?: "modal" | "drawer" | "page" | undefined;
933
+ detailPattern?: "split" | "drawer" | "page" | undefined;
934
+ } | undefined;
935
+ }, {
936
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
937
+ uxHints?: {
938
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
939
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
940
+ formPattern?: "modal" | "drawer" | "page" | undefined;
941
+ detailPattern?: "split" | "drawer" | "page" | undefined;
942
+ } | undefined;
943
+ }>>;
944
+ emits: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
945
+ listens: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
946
+ event: import("zod").ZodString;
947
+ triggers: import("zod").ZodString;
948
+ }, "strip", import("zod").ZodTypeAny, {
949
+ event: string;
950
+ triggers: string;
951
+ }, {
952
+ event: string;
953
+ triggers: string;
954
+ }>, "many">>;
955
+ }, "strip", import("zod").ZodTypeAny, {
956
+ pages: {
957
+ path: string;
958
+ name: string;
959
+ viewType: string;
960
+ isInitial?: boolean | undefined;
961
+ }[];
962
+ traits: string[];
963
+ name: string;
964
+ entity: {
965
+ name: string;
966
+ fields: {
967
+ type: string;
968
+ name: string;
969
+ default?: any;
970
+ required?: boolean | undefined;
971
+ }[];
972
+ persistence: "persistent" | "runtime" | "singleton";
973
+ relations?: {
974
+ type: "belongs_to" | "has_many";
975
+ entity: string;
976
+ alias?: string | undefined;
977
+ }[] | undefined;
978
+ };
979
+ patterns?: string[] | undefined;
980
+ domainContext?: {
981
+ request: string;
982
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
983
+ requestFragment?: string | undefined;
984
+ vocabulary?: Record<string, string> | undefined;
985
+ } | undefined;
986
+ design?: {
987
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
988
+ uxHints?: {
989
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
990
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
991
+ formPattern?: "modal" | "drawer" | "page" | undefined;
992
+ detailPattern?: "split" | "drawer" | "page" | undefined;
993
+ } | undefined;
994
+ } | undefined;
995
+ emits?: string[] | undefined;
996
+ listens?: {
997
+ event: string;
998
+ triggers: string;
999
+ }[] | undefined;
1000
+ }, {
1001
+ pages: {
1002
+ path: string;
1003
+ name: string;
1004
+ viewType: string;
1005
+ isInitial?: boolean | undefined;
1006
+ }[];
1007
+ traits: string[];
1008
+ name: string;
1009
+ entity: {
1010
+ name: string;
1011
+ fields: {
1012
+ type: string;
1013
+ name: string;
1014
+ default?: any;
1015
+ required?: boolean | undefined;
1016
+ }[];
1017
+ persistence: "persistent" | "runtime" | "singleton";
1018
+ relations?: {
1019
+ type: "belongs_to" | "has_many";
1020
+ entity: string;
1021
+ alias?: string | undefined;
1022
+ }[] | undefined;
1023
+ };
1024
+ patterns?: string[] | undefined;
1025
+ domainContext?: {
1026
+ request: string;
1027
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
1028
+ requestFragment?: string | undefined;
1029
+ vocabulary?: Record<string, string> | undefined;
1030
+ } | undefined;
1031
+ design?: {
1032
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
1033
+ uxHints?: {
1034
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
1035
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
1036
+ formPattern?: "modal" | "drawer" | "page" | undefined;
1037
+ detailPattern?: "split" | "drawer" | "page" | undefined;
1038
+ } | undefined;
1039
+ } | undefined;
1040
+ emits?: string[] | undefined;
1041
+ listens?: {
1042
+ event: string;
1043
+ triggers: string;
1044
+ }[] | undefined;
1045
+ }>;
1046
+ orbitalIndex: import("zod").ZodNumber;
1047
+ totalOrbitals: import("zod").ZodNumber;
1048
+ }, "strip", import("zod").ZodTypeAny, {
1049
+ sessionId: string;
1050
+ orbital: {
1051
+ pages: {
1052
+ path: string;
1053
+ name: string;
1054
+ viewType: string;
1055
+ isInitial?: boolean | undefined;
1056
+ }[];
1057
+ traits: string[];
1058
+ name: string;
1059
+ entity: {
1060
+ name: string;
1061
+ fields: {
1062
+ type: string;
1063
+ name: string;
1064
+ default?: any;
1065
+ required?: boolean | undefined;
1066
+ }[];
1067
+ persistence: "persistent" | "runtime" | "singleton";
1068
+ relations?: {
1069
+ type: "belongs_to" | "has_many";
1070
+ entity: string;
1071
+ alias?: string | undefined;
1072
+ }[] | undefined;
1073
+ };
1074
+ patterns?: string[] | undefined;
1075
+ domainContext?: {
1076
+ request: string;
1077
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
1078
+ requestFragment?: string | undefined;
1079
+ vocabulary?: Record<string, string> | undefined;
1080
+ } | undefined;
1081
+ design?: {
1082
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
1083
+ uxHints?: {
1084
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
1085
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
1086
+ formPattern?: "modal" | "drawer" | "page" | undefined;
1087
+ detailPattern?: "split" | "drawer" | "page" | undefined;
1088
+ } | undefined;
1089
+ } | undefined;
1090
+ emits?: string[] | undefined;
1091
+ listens?: {
1092
+ event: string;
1093
+ triggers: string;
1094
+ }[] | undefined;
1095
+ };
1096
+ orbitalIndex: number;
1097
+ totalOrbitals: number;
1098
+ }, {
1099
+ sessionId: string;
1100
+ orbital: {
1101
+ pages: {
1102
+ path: string;
1103
+ name: string;
1104
+ viewType: string;
1105
+ isInitial?: boolean | undefined;
1106
+ }[];
1107
+ traits: string[];
1108
+ name: string;
1109
+ entity: {
1110
+ name: string;
1111
+ fields: {
1112
+ type: string;
1113
+ name: string;
1114
+ default?: any;
1115
+ required?: boolean | undefined;
1116
+ }[];
1117
+ persistence: "persistent" | "runtime" | "singleton";
1118
+ relations?: {
1119
+ type: "belongs_to" | "has_many";
1120
+ entity: string;
1121
+ alias?: string | undefined;
1122
+ }[] | undefined;
1123
+ };
1124
+ patterns?: string[] | undefined;
1125
+ domainContext?: {
1126
+ request: string;
1127
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
1128
+ requestFragment?: string | undefined;
1129
+ vocabulary?: Record<string, string> | undefined;
1130
+ } | undefined;
1131
+ design?: {
1132
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
1133
+ uxHints?: {
1134
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
1135
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
1136
+ formPattern?: "modal" | "drawer" | "page" | undefined;
1137
+ detailPattern?: "split" | "drawer" | "page" | undefined;
1138
+ } | undefined;
1139
+ } | undefined;
1140
+ emits?: string[] | undefined;
1141
+ listens?: {
1142
+ event: string;
1143
+ triggers: string;
1144
+ }[] | undefined;
1145
+ };
1146
+ orbitalIndex: number;
1147
+ totalOrbitals: number;
1148
+ }>, {
1149
+ sessionId: string;
1150
+ orbital: {
1151
+ pages: {
1152
+ path: string;
1153
+ name: string;
1154
+ viewType: string;
1155
+ isInitial?: boolean | undefined;
1156
+ }[];
1157
+ traits: string[];
1158
+ name: string;
1159
+ entity: {
1160
+ name: string;
1161
+ fields: {
1162
+ type: string;
1163
+ name: string;
1164
+ default?: any;
1165
+ required?: boolean | undefined;
1166
+ }[];
1167
+ persistence: "persistent" | "runtime" | "singleton";
1168
+ relations?: {
1169
+ type: "belongs_to" | "has_many";
1170
+ entity: string;
1171
+ alias?: string | undefined;
1172
+ }[] | undefined;
1173
+ };
1174
+ patterns?: string[] | undefined;
1175
+ domainContext?: {
1176
+ request: string;
1177
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
1178
+ requestFragment?: string | undefined;
1179
+ vocabulary?: Record<string, string> | undefined;
1180
+ } | undefined;
1181
+ design?: {
1182
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
1183
+ uxHints?: {
1184
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
1185
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
1186
+ formPattern?: "modal" | "drawer" | "page" | undefined;
1187
+ detailPattern?: "split" | "drawer" | "page" | undefined;
1188
+ } | undefined;
1189
+ } | undefined;
1190
+ emits?: string[] | undefined;
1191
+ listens?: {
1192
+ event: string;
1193
+ triggers: string;
1194
+ }[] | undefined;
1195
+ };
1196
+ orbitalIndex: number;
1197
+ totalOrbitals: number;
1198
+ }, {
1199
+ sessionId: string;
1200
+ orbital: {
1201
+ pages: {
1202
+ path: string;
1203
+ name: string;
1204
+ viewType: string;
1205
+ isInitial?: boolean | undefined;
1206
+ }[];
1207
+ traits: string[];
1208
+ name: string;
1209
+ entity: {
1210
+ name: string;
1211
+ fields: {
1212
+ type: string;
1213
+ name: string;
1214
+ default?: any;
1215
+ required?: boolean | undefined;
1216
+ }[];
1217
+ persistence: "persistent" | "runtime" | "singleton";
1218
+ relations?: {
1219
+ type: "belongs_to" | "has_many";
1220
+ entity: string;
1221
+ alias?: string | undefined;
1222
+ }[] | undefined;
1223
+ };
1224
+ patterns?: string[] | undefined;
1225
+ domainContext?: {
1226
+ request: string;
1227
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social" | "ecommerce" | "workflow";
1228
+ requestFragment?: string | undefined;
1229
+ vocabulary?: Record<string, string> | undefined;
1230
+ } | undefined;
1231
+ design?: {
1232
+ style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
1233
+ uxHints?: {
1234
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
1235
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
1236
+ formPattern?: "modal" | "drawer" | "page" | undefined;
1237
+ detailPattern?: "split" | "drawer" | "page" | undefined;
1238
+ } | undefined;
1239
+ } | undefined;
1240
+ emits?: string[] | undefined;
1241
+ listens?: {
1242
+ event: string;
1243
+ triggers: string;
1244
+ }[] | undefined;
1245
+ };
1246
+ orbitalIndex: number;
1247
+ totalOrbitals: number;
1248
+ }, string, "generate_orbital_domain">;
1249
+ constructCombinedDomain: import("@langchain/core/tools").DynamicStructuredTool<import("zod").ZodObject<{
1250
+ appName: import("zod").ZodString;
1251
+ }, "strip", import("zod").ZodTypeAny, {
1252
+ appName: string;
1253
+ }, {
1254
+ appName: string;
1255
+ }>, {
1256
+ appName: string;
1257
+ }, {
1258
+ appName: string;
1259
+ }, string, "construct_combined_domain">;
1260
+ setEventCallback: (callback: import("./domain-orbital.js").DomainOrbitalEventCallback) => void;
1261
+ setCompleteCallback: (callback: import("./domain-orbital.js").DomainOrbitalCompleteCallback) => void;
1262
+ };
1263
+ schemaChunking: {
1264
+ querySchemaStructure: import("@langchain/core/tools").DynamicStructuredTool<import("zod").ZodObject<{
1265
+ file: import("zod").ZodString;
1266
+ }, "strip", import("zod").ZodTypeAny, {
1267
+ file: string;
1268
+ }, {
1269
+ file: string;
1270
+ }>, {
1271
+ file: string;
1272
+ }, {
1273
+ file: string;
1274
+ }, string, "query_schema_structure">;
1275
+ extractChunk: import("@langchain/core/tools").DynamicStructuredTool<import("zod").ZodObject<{
1276
+ file: import("zod").ZodString;
1277
+ type: import("zod").ZodEnum<["orbital", "trait", "inline-trait"]>;
1278
+ name: import("zod").ZodString;
1279
+ parentOrbital: import("zod").ZodOptional<import("zod").ZodString>;
1280
+ includeTraits: import("zod").ZodDefault<import("zod").ZodBoolean>;
1281
+ }, "strip", import("zod").ZodTypeAny, {
1282
+ type: "orbital" | "trait" | "inline-trait";
1283
+ name: string;
1284
+ file: string;
1285
+ includeTraits: boolean;
1286
+ parentOrbital?: string | undefined;
1287
+ }, {
1288
+ type: "orbital" | "trait" | "inline-trait";
1289
+ name: string;
1290
+ file: string;
1291
+ parentOrbital?: string | undefined;
1292
+ includeTraits?: boolean | undefined;
1293
+ }>, {
1294
+ type: "orbital" | "trait" | "inline-trait";
1295
+ name: string;
1296
+ file: string;
1297
+ includeTraits: boolean;
1298
+ parentOrbital?: string | undefined;
1299
+ }, {
1300
+ type: "orbital" | "trait" | "inline-trait";
1301
+ name: string;
1302
+ file: string;
1303
+ parentOrbital?: string | undefined;
1304
+ includeTraits?: boolean | undefined;
1305
+ }, string, "extract_chunk">;
1306
+ applyChunk: import("@langchain/core/tools").DynamicStructuredTool<import("zod").ZodObject<{
1307
+ chunkId: import("zod").ZodString;
1308
+ }, "strip", import("zod").ZodTypeAny, {
1309
+ chunkId: string;
1310
+ }, {
1311
+ chunkId: string;
1312
+ }>, {
1313
+ chunkId: string;
1314
+ }, {
1315
+ chunkId: string;
1316
+ }, string, "apply_chunk">;
1317
+ };
1318
+ };