@almadar/agent 1.0.13 → 1.1.0

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.
@@ -1,10 +1,140 @@
1
- import { S as SubagentEventCallback, O as OrbitalCompleteCallback, a as DomainOrbitalEventCallback, D as DomainOrbitalCompleteCallback } from '../orbital-subagent-BsQBhKzi.js';
2
- export { b as DomainOrbitalSpec, c as DomainOrbitalToolOptions, d as OrbitalRequirements, e as OrbitalSubagentToolOptions, f as createConstructCombinedDomainTool, g as createDomainOrbitalTools, h as createGenerateOrbitalDomainTool, i as createOrbitalSubagentTool, j as createSubagentEventWrapper } from '../orbital-subagent-BsQBhKzi.js';
3
1
  import * as _langchain_core_tools from '@langchain/core/tools';
4
2
  import * as zod from 'zod';
5
3
  import { z } from 'zod';
6
- import { Trait } from '@almadar/core/types';
7
4
  import { S as SSEEventType } from '../api-types-BW_58thJ.js';
5
+ import { S as SubagentEventCallback, O as OrbitalCompleteCallback, a as DomainOrbitalEventCallback, D as DomainOrbitalCompleteCallback } from '../orbital-subagent-kKa0EqQM.js';
6
+ export { b as DomainOrbitalSpec, c as DomainOrbitalToolOptions, d as OrbitalRequirements, e as OrbitalSubagentToolOptions, f as createConstructCombinedDomainTool, g as createDomainOrbitalTools, h as createGenerateOrbitalDomainTool, i as createOrbitalSubagentTool, j as createSubagentEventWrapper } from '../orbital-subagent-kKa0EqQM.js';
7
+ import { Trait } from '@almadar/core/types';
8
+
9
+ type DesignEventCallback = (transitionId: string, event: {
10
+ type: Exclude<SSEEventType, 'subagent_event'>;
11
+ data: Record<string, unknown>;
12
+ timestamp: number;
13
+ }) => void;
14
+ interface DesignTransitionToolOptions {
15
+ onEvent?: DesignEventCallback;
16
+ }
17
+ /**
18
+ * Create the design_transition tool.
19
+ *
20
+ * Takes a transition context and returns polished render-ui effects.
21
+ * Uses the kflow-design skill as system prompt with Anthropic cache control.
22
+ */
23
+ declare function createDesignTransitionTool(options?: DesignTransitionToolOptions): {
24
+ tool: _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
25
+ from: z.ZodString;
26
+ to: z.ZodString;
27
+ event: z.ZodString;
28
+ slot: z.ZodString;
29
+ entityName: z.ZodString;
30
+ entityFields: z.ZodArray<z.ZodObject<{
31
+ name: z.ZodString;
32
+ type: z.ZodString;
33
+ values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
34
+ }, "strip", z.ZodTypeAny, {
35
+ type: string;
36
+ name: string;
37
+ values?: string[] | undefined;
38
+ }, {
39
+ type: string;
40
+ name: string;
41
+ values?: string[] | undefined;
42
+ }>, "many">;
43
+ domainCategory: z.ZodOptional<z.ZodEnum<["business", "game", "dashboard", "form", "content", "social", "e-commerce", "workflow"]>>;
44
+ vocabulary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
45
+ designStyle: z.ZodOptional<z.ZodEnum<["minimal", "modern", "playful", "data-driven", "immersive"]>>;
46
+ flowPattern: z.ZodOptional<z.ZodEnum<["hub-spoke", "master-detail", "crud-cycle", "linear", "role-based"]>>;
47
+ listPattern: z.ZodOptional<z.ZodEnum<["entity-table", "entity-cards", "entity-list"]>>;
48
+ formPattern: z.ZodOptional<z.ZodEnum<["modal", "drawer", "page"]>>;
49
+ detailPattern: z.ZodOptional<z.ZodEnum<["drawer", "page", "split"]>>;
50
+ existingEffects: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
51
+ }, "strip", z.ZodTypeAny, {
52
+ event: string;
53
+ entityName: string;
54
+ from: string;
55
+ to: string;
56
+ slot: string;
57
+ entityFields: {
58
+ type: string;
59
+ name: string;
60
+ values?: string[] | undefined;
61
+ }[];
62
+ vocabulary?: Record<string, string> | undefined;
63
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
64
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
65
+ formPattern?: "modal" | "drawer" | "page" | undefined;
66
+ detailPattern?: "split" | "drawer" | "page" | undefined;
67
+ domainCategory?: "game" | "business" | "dashboard" | "form" | "content" | "social" | "e-commerce" | "workflow" | undefined;
68
+ designStyle?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
69
+ existingEffects?: any[] | undefined;
70
+ }, {
71
+ event: string;
72
+ entityName: string;
73
+ from: string;
74
+ to: string;
75
+ slot: string;
76
+ entityFields: {
77
+ type: string;
78
+ name: string;
79
+ values?: string[] | undefined;
80
+ }[];
81
+ vocabulary?: Record<string, string> | undefined;
82
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
83
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
84
+ formPattern?: "modal" | "drawer" | "page" | undefined;
85
+ detailPattern?: "split" | "drawer" | "page" | undefined;
86
+ domainCategory?: "game" | "business" | "dashboard" | "form" | "content" | "social" | "e-commerce" | "workflow" | undefined;
87
+ designStyle?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
88
+ existingEffects?: any[] | undefined;
89
+ }>, {
90
+ event: string;
91
+ entityName: string;
92
+ from: string;
93
+ to: string;
94
+ slot: string;
95
+ entityFields: {
96
+ type: string;
97
+ name: string;
98
+ values?: string[] | undefined;
99
+ }[];
100
+ vocabulary?: Record<string, string> | undefined;
101
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
102
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
103
+ formPattern?: "modal" | "drawer" | "page" | undefined;
104
+ detailPattern?: "split" | "drawer" | "page" | undefined;
105
+ domainCategory?: "game" | "business" | "dashboard" | "form" | "content" | "social" | "e-commerce" | "workflow" | undefined;
106
+ designStyle?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
107
+ existingEffects?: any[] | undefined;
108
+ }, {
109
+ event: string;
110
+ entityName: string;
111
+ from: string;
112
+ to: string;
113
+ slot: string;
114
+ entityFields: {
115
+ type: string;
116
+ name: string;
117
+ values?: string[] | undefined;
118
+ }[];
119
+ vocabulary?: Record<string, string> | undefined;
120
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
121
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
122
+ formPattern?: "modal" | "drawer" | "page" | undefined;
123
+ detailPattern?: "split" | "drawer" | "page" | undefined;
124
+ domainCategory?: "game" | "business" | "dashboard" | "form" | "content" | "social" | "e-commerce" | "workflow" | undefined;
125
+ designStyle?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
126
+ existingEffects?: any[] | undefined;
127
+ }, string, "design_transition">;
128
+ setEventCallback: (callback: DesignEventCallback) => void;
129
+ };
130
+ /**
131
+ * Create a helper to wrap design events into SSE format.
132
+ */
133
+ declare function createDesignEventWrapper(writeEvent: (event: {
134
+ type: string;
135
+ timestamp: number;
136
+ data: unknown;
137
+ }) => void): DesignEventCallback;
8
138
 
9
139
  type TraitEventCallback = (traitName: string, traitIndex: number, totalTraits: number, event: {
10
140
  type: Exclude<SSEEventType, 'subagent_event'>;
@@ -162,7 +292,7 @@ declare function createTraitSubagentTool(options?: TraitSubagentToolOptions): {
162
292
  };
163
293
  traitIndex?: number | undefined;
164
294
  totalTraits?: number | undefined;
165
- }, string>;
295
+ }, string, "generate_custom_trait">;
166
296
  setEventCallback: (callback: TraitEventCallback) => void;
167
297
  setTraitCompleteCallback: (callback: TraitCompleteCallback) => void;
168
298
  };
@@ -198,7 +328,7 @@ declare function createExecuteTool(workDir: string): _langchain_core_tools.Dynam
198
328
  }, {
199
329
  command: string;
200
330
  timeout?: number | undefined;
201
- }, string>;
331
+ }, string, "execute">;
202
332
 
203
333
  /**
204
334
  * Create a validate_schema tool that validates schema.json in the workspace.
@@ -208,7 +338,7 @@ declare function createExecuteTool(workDir: string): _langchain_core_tools.Dynam
208
338
  * Has a built-in cap of MAX_VALIDATION_ATTEMPTS to prevent
209
339
  * infinite validation-fix loops.
210
340
  */
211
- declare function createValidateSchemaTool(workDir: string): _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, {}, {}, string>;
341
+ declare function createValidateSchemaTool(workDir: string): _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, {}, {}, string, "validate_schema">;
212
342
 
213
343
  /**
214
344
  * Create a tool that generates KFlow schemas using structured output.
@@ -253,7 +383,7 @@ declare function createGenerateSchemaTool(): _langchain_core_tools.DynamicStruct
253
383
  suggestedPatterns?: string[] | undefined;
254
384
  additionalInstructions?: string | undefined;
255
385
  existingSchema?: string | undefined;
256
- }, string>;
386
+ }, string, "generate_schema">;
257
387
 
258
388
  /**
259
389
  * Create a finish_task tool that signals the agent has completed the workflow.
@@ -297,7 +427,7 @@ declare function createFinishTaskTool(workDir: string | undefined): _langchain_c
297
427
  } | undefined;
298
428
  schemaPath: string | undefined;
299
429
  nextAction: string;
300
- }>;
430
+ }, "finish_task">;
301
431
 
302
432
  /**
303
433
  * Create the construct_combined_schema tool.
@@ -443,7 +573,7 @@ declare function createCombineSchemasTool(workDir?: string): _langchain_core_too
443
573
  listens?: any[] | undefined;
444
574
  }[] | undefined;
445
575
  defaultRoute?: string | undefined;
446
- }, string>;
576
+ }, string, "construct_combined_schema">;
447
577
 
448
578
  declare function createQuerySchemaStructureTool(workDir: string): _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
449
579
  file: z.ZodString;
@@ -455,7 +585,7 @@ declare function createQuerySchemaStructureTool(workDir: string): _langchain_cor
455
585
  file: string;
456
586
  }, {
457
587
  file: string;
458
- }, string>;
588
+ }, string, "query_schema_structure">;
459
589
  declare function createExtractChunkTool(workDir: string): _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
460
590
  file: z.ZodString;
461
591
  type: z.ZodEnum<["orbital", "trait", "inline-trait"]>;
@@ -486,7 +616,7 @@ declare function createExtractChunkTool(workDir: string): _langchain_core_tools.
486
616
  file: string;
487
617
  parentOrbital?: string | undefined;
488
618
  includeTraits?: boolean | undefined;
489
- }, string>;
619
+ }, string, "extract_chunk">;
490
620
  declare function createApplyChunkTool(workDir: string): _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
491
621
  chunkId: z.ZodString;
492
622
  }, "strip", z.ZodTypeAny, {
@@ -497,7 +627,7 @@ declare function createApplyChunkTool(workDir: string): _langchain_core_tools.Dy
497
627
  chunkId: string;
498
628
  }, {
499
629
  chunkId: string;
500
- }, string>;
630
+ }, string, "apply_chunk">;
501
631
  declare function createSchemaChunkingTools(workDir: string): {
502
632
  querySchemaStructure: _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
503
633
  file: z.ZodString;
@@ -509,7 +639,7 @@ declare function createSchemaChunkingTools(workDir: string): {
509
639
  file: string;
510
640
  }, {
511
641
  file: string;
512
- }, string>;
642
+ }, string, "query_schema_structure">;
513
643
  extractChunk: _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
514
644
  file: z.ZodString;
515
645
  type: z.ZodEnum<["orbital", "trait", "inline-trait"]>;
@@ -540,7 +670,7 @@ declare function createSchemaChunkingTools(workDir: string): {
540
670
  file: string;
541
671
  parentOrbital?: string | undefined;
542
672
  includeTraits?: boolean | undefined;
543
- }, string>;
673
+ }, string, "extract_chunk">;
544
674
  applyChunk: _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
545
675
  chunkId: z.ZodString;
546
676
  }, "strip", z.ZodTypeAny, {
@@ -551,7 +681,7 @@ declare function createSchemaChunkingTools(workDir: string): {
551
681
  chunkId: string;
552
682
  }, {
553
683
  chunkId: string;
554
- }, string>;
684
+ }, string, "apply_chunk">;
555
685
  };
556
686
 
557
687
  /**
@@ -591,7 +721,7 @@ declare function createGitHubTools(config: GitHubToolsConfig): {
591
721
  repoUrl: string;
592
722
  branch?: string | undefined;
593
723
  depth?: number | undefined;
594
- }, string>;
724
+ }, string, "github_clone">;
595
725
  github_create_branch: _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
596
726
  branchName: z.ZodString;
597
727
  baseBranch: z.ZodOptional<z.ZodString>;
@@ -607,7 +737,7 @@ declare function createGitHubTools(config: GitHubToolsConfig): {
607
737
  }, {
608
738
  branchName: string;
609
739
  baseBranch?: string | undefined;
610
- }, string>;
740
+ }, string, "github_create_branch">;
611
741
  github_commit: _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
612
742
  message: z.ZodString;
613
743
  files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -623,7 +753,7 @@ declare function createGitHubTools(config: GitHubToolsConfig): {
623
753
  }, {
624
754
  message: string;
625
755
  files?: string[] | undefined;
626
- }, string>;
756
+ }, string, "github_commit">;
627
757
  github_push: _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
628
758
  branchName: z.ZodString;
629
759
  }, "strip", z.ZodTypeAny, {
@@ -634,7 +764,7 @@ declare function createGitHubTools(config: GitHubToolsConfig): {
634
764
  branchName: string;
635
765
  }, {
636
766
  branchName: string;
637
- }, string>;
767
+ }, string, "github_push">;
638
768
  github_create_pr: _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
639
769
  title: z.ZodString;
640
770
  body: z.ZodString;
@@ -642,30 +772,30 @@ declare function createGitHubTools(config: GitHubToolsConfig): {
642
772
  headBranch: z.ZodString;
643
773
  draft: z.ZodOptional<z.ZodBoolean>;
644
774
  }, "strip", z.ZodTypeAny, {
645
- title: string;
646
775
  baseBranch: string;
776
+ title: string;
647
777
  body: string;
648
778
  headBranch: string;
649
779
  draft?: boolean | undefined;
650
780
  }, {
651
- title: string;
652
781
  baseBranch: string;
782
+ title: string;
653
783
  body: string;
654
784
  headBranch: string;
655
785
  draft?: boolean | undefined;
656
786
  }>, {
657
- title: string;
658
787
  baseBranch: string;
788
+ title: string;
659
789
  body: string;
660
790
  headBranch: string;
661
791
  draft?: boolean | undefined;
662
792
  }, {
663
- title: string;
664
793
  baseBranch: string;
794
+ title: string;
665
795
  body: string;
666
796
  headBranch: string;
667
797
  draft?: boolean | undefined;
668
- }, string>;
798
+ }, string, "github_create_pr">;
669
799
  github_list_issues: _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
670
800
  state: z.ZodOptional<z.ZodEnum<["open", "closed", "all"]>>;
671
801
  labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -686,7 +816,7 @@ declare function createGitHubTools(config: GitHubToolsConfig): {
686
816
  state?: "open" | "closed" | "all" | undefined;
687
817
  labels?: string[] | undefined;
688
818
  limit?: number | undefined;
689
- }, string>;
819
+ }, string, "github_list_issues">;
690
820
  github_get_issue: _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
691
821
  issueNumber: z.ZodNumber;
692
822
  }, "strip", z.ZodTypeAny, {
@@ -697,7 +827,7 @@ declare function createGitHubTools(config: GitHubToolsConfig): {
697
827
  issueNumber: number;
698
828
  }, {
699
829
  issueNumber: number;
700
- }, string>;
830
+ }, string, "github_get_issue">;
701
831
  github_get_pr_comments: _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
702
832
  prNumber: z.ZodNumber;
703
833
  }, "strip", z.ZodTypeAny, {
@@ -708,7 +838,7 @@ declare function createGitHubTools(config: GitHubToolsConfig): {
708
838
  prNumber: number;
709
839
  }, {
710
840
  prNumber: number;
711
- }, string>;
841
+ }, string, "github_get_pr_comments">;
712
842
  };
713
843
  /**
714
844
  * Create GitHub tools as array (for easy spreading into agent tools)
@@ -733,7 +863,7 @@ declare function createGitHubToolsArray(config: GitHubToolsConfig): (_langchain_
733
863
  repoUrl: string;
734
864
  branch?: string | undefined;
735
865
  depth?: number | undefined;
736
- }, string> | _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
866
+ }, string, "github_clone"> | _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
737
867
  branchName: z.ZodString;
738
868
  baseBranch: z.ZodOptional<z.ZodString>;
739
869
  }, "strip", z.ZodTypeAny, {
@@ -748,7 +878,7 @@ declare function createGitHubToolsArray(config: GitHubToolsConfig): (_langchain_
748
878
  }, {
749
879
  branchName: string;
750
880
  baseBranch?: string | undefined;
751
- }, string> | _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
881
+ }, string, "github_create_branch"> | _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
752
882
  message: z.ZodString;
753
883
  files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
754
884
  }, "strip", z.ZodTypeAny, {
@@ -763,7 +893,7 @@ declare function createGitHubToolsArray(config: GitHubToolsConfig): (_langchain_
763
893
  }, {
764
894
  message: string;
765
895
  files?: string[] | undefined;
766
- }, string> | _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
896
+ }, string, "github_commit"> | _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
767
897
  branchName: z.ZodString;
768
898
  }, "strip", z.ZodTypeAny, {
769
899
  branchName: string;
@@ -773,37 +903,37 @@ declare function createGitHubToolsArray(config: GitHubToolsConfig): (_langchain_
773
903
  branchName: string;
774
904
  }, {
775
905
  branchName: string;
776
- }, string> | _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
906
+ }, string, "github_push"> | _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
777
907
  title: z.ZodString;
778
908
  body: z.ZodString;
779
909
  baseBranch: z.ZodString;
780
910
  headBranch: z.ZodString;
781
911
  draft: z.ZodOptional<z.ZodBoolean>;
782
912
  }, "strip", z.ZodTypeAny, {
783
- title: string;
784
913
  baseBranch: string;
914
+ title: string;
785
915
  body: string;
786
916
  headBranch: string;
787
917
  draft?: boolean | undefined;
788
918
  }, {
789
- title: string;
790
919
  baseBranch: string;
920
+ title: string;
791
921
  body: string;
792
922
  headBranch: string;
793
923
  draft?: boolean | undefined;
794
924
  }>, {
795
- title: string;
796
925
  baseBranch: string;
926
+ title: string;
797
927
  body: string;
798
928
  headBranch: string;
799
929
  draft?: boolean | undefined;
800
930
  }, {
801
- title: string;
802
931
  baseBranch: string;
932
+ title: string;
803
933
  body: string;
804
934
  headBranch: string;
805
935
  draft?: boolean | undefined;
806
- }, string> | _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
936
+ }, string, "github_create_pr"> | _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
807
937
  state: z.ZodOptional<z.ZodEnum<["open", "closed", "all"]>>;
808
938
  labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
809
939
  limit: z.ZodOptional<z.ZodNumber>;
@@ -823,7 +953,7 @@ declare function createGitHubToolsArray(config: GitHubToolsConfig): (_langchain_
823
953
  state?: "open" | "closed" | "all" | undefined;
824
954
  labels?: string[] | undefined;
825
955
  limit?: number | undefined;
826
- }, string> | _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
956
+ }, string, "github_list_issues"> | _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
827
957
  issueNumber: z.ZodNumber;
828
958
  }, "strip", z.ZodTypeAny, {
829
959
  issueNumber: number;
@@ -833,7 +963,7 @@ declare function createGitHubToolsArray(config: GitHubToolsConfig): (_langchain_
833
963
  issueNumber: number;
834
964
  }, {
835
965
  issueNumber: number;
836
- }, string> | _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
966
+ }, string, "github_get_issue"> | _langchain_core_tools.DynamicStructuredTool<z.ZodObject<{
837
967
  prNumber: z.ZodNumber;
838
968
  }, "strip", z.ZodTypeAny, {
839
969
  prNumber: number;
@@ -843,7 +973,7 @@ declare function createGitHubToolsArray(config: GitHubToolsConfig): (_langchain_
843
973
  prNumber: number;
844
974
  }, {
845
975
  prNumber: number;
846
- }, string>)[];
976
+ }, string, "github_get_pr_comments">)[];
847
977
 
848
978
  /**
849
979
  * Create all agent tools for a workspace.
@@ -869,8 +999,8 @@ declare function createAgentTools(workDir: string): {
869
999
  }, {
870
1000
  command: string;
871
1001
  timeout?: number | undefined;
872
- }, string>;
873
- validateSchema: _langchain_core_tools.DynamicStructuredTool<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>, {}, {}, string>;
1002
+ }, string, "execute">;
1003
+ validateSchema: _langchain_core_tools.DynamicStructuredTool<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>, {}, {}, string, "validate_schema">;
874
1004
  generateSchema: _langchain_core_tools.DynamicStructuredTool<zod.ZodObject<{
875
1005
  userRequest: zod.ZodString;
876
1006
  suggestedTraits: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
@@ -911,7 +1041,7 @@ declare function createAgentTools(workDir: string): {
911
1041
  suggestedPatterns?: string[] | undefined;
912
1042
  additionalInstructions?: string | undefined;
913
1043
  existingSchema?: string | undefined;
914
- }, string>;
1044
+ }, string, "generate_schema">;
915
1045
  finishTask: _langchain_core_tools.DynamicStructuredTool<zod.ZodObject<{
916
1046
  summary: zod.ZodString;
917
1047
  schemaPath: zod.ZodOptional<zod.ZodString>;
@@ -947,7 +1077,7 @@ declare function createAgentTools(workDir: string): {
947
1077
  } | undefined;
948
1078
  schemaPath: string | undefined;
949
1079
  nextAction: string;
950
- }>;
1080
+ }, "finish_task">;
951
1081
  combineSchemas: _langchain_core_tools.DynamicStructuredTool<zod.ZodObject<{
952
1082
  orbitals: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
953
1083
  name: zod.ZodString;
@@ -1089,7 +1219,7 @@ declare function createAgentTools(workDir: string): {
1089
1219
  listens?: any[] | undefined;
1090
1220
  }[] | undefined;
1091
1221
  defaultRoute?: string | undefined;
1092
- }, string>;
1222
+ }, string, "construct_combined_schema">;
1093
1223
  orbitalSubagent: {
1094
1224
  tool: _langchain_core_tools.DynamicStructuredTool<zod.ZodObject<{
1095
1225
  orbital: zod.ZodObject<{
@@ -1112,20 +1242,20 @@ declare function createAgentTools(workDir: string): {
1112
1242
  }>, "many">;
1113
1243
  }, "strip", zod.ZodTypeAny, {
1114
1244
  name: string;
1245
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
1115
1246
  fields: {
1116
1247
  type: string;
1117
1248
  name: string;
1118
1249
  required?: boolean | undefined;
1119
1250
  }[];
1120
- persistence: "persistent" | "runtime" | "singleton" | "instance";
1121
1251
  }, {
1122
1252
  name: string;
1253
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
1123
1254
  fields: {
1124
1255
  type: string;
1125
1256
  name: string;
1126
1257
  required?: boolean | undefined;
1127
1258
  }[];
1128
- persistence: "persistent" | "runtime" | "singleton" | "instance";
1129
1259
  }>;
1130
1260
  traits: zod.ZodArray<zod.ZodString, "many">;
1131
1261
  patterns: zod.ZodArray<zod.ZodString, "many">;
@@ -1149,12 +1279,12 @@ declare function createAgentTools(workDir: string): {
1149
1279
  vocabulary: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1150
1280
  }, "strip", zod.ZodTypeAny, {
1151
1281
  request: string;
1152
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
1282
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
1153
1283
  requestFragment?: string | undefined;
1154
1284
  vocabulary?: Record<string, string> | undefined;
1155
1285
  }, {
1156
1286
  request: string;
1157
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
1287
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
1158
1288
  requestFragment?: string | undefined;
1159
1289
  vocabulary?: Record<string, string> | undefined;
1160
1290
  }>>;
@@ -1222,12 +1352,12 @@ declare function createAgentTools(workDir: string): {
1222
1352
  name: string;
1223
1353
  entity: {
1224
1354
  name: string;
1355
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
1225
1356
  fields: {
1226
1357
  type: string;
1227
1358
  name: string;
1228
1359
  required?: boolean | undefined;
1229
1360
  }[];
1230
- persistence: "persistent" | "runtime" | "singleton" | "instance";
1231
1361
  };
1232
1362
  patterns: string[];
1233
1363
  pages?: {
@@ -1242,7 +1372,7 @@ declare function createAgentTools(workDir: string): {
1242
1372
  }[] | undefined;
1243
1373
  domainContext?: {
1244
1374
  request: string;
1245
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
1375
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
1246
1376
  requestFragment?: string | undefined;
1247
1377
  vocabulary?: Record<string, string> | undefined;
1248
1378
  } | undefined;
@@ -1265,12 +1395,12 @@ declare function createAgentTools(workDir: string): {
1265
1395
  name: string;
1266
1396
  entity: {
1267
1397
  name: string;
1398
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
1268
1399
  fields: {
1269
1400
  type: string;
1270
1401
  name: string;
1271
1402
  required?: boolean | undefined;
1272
1403
  }[];
1273
- persistence: "persistent" | "runtime" | "singleton" | "instance";
1274
1404
  };
1275
1405
  patterns: string[];
1276
1406
  pages?: {
@@ -1285,7 +1415,7 @@ declare function createAgentTools(workDir: string): {
1285
1415
  }[] | undefined;
1286
1416
  domainContext?: {
1287
1417
  request: string;
1288
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
1418
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
1289
1419
  requestFragment?: string | undefined;
1290
1420
  vocabulary?: Record<string, string> | undefined;
1291
1421
  } | undefined;
@@ -1312,12 +1442,12 @@ declare function createAgentTools(workDir: string): {
1312
1442
  name: string;
1313
1443
  entity: {
1314
1444
  name: string;
1445
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
1315
1446
  fields: {
1316
1447
  type: string;
1317
1448
  name: string;
1318
1449
  required?: boolean | undefined;
1319
1450
  }[];
1320
- persistence: "persistent" | "runtime" | "singleton" | "instance";
1321
1451
  };
1322
1452
  patterns: string[];
1323
1453
  pages?: {
@@ -1332,7 +1462,7 @@ declare function createAgentTools(workDir: string): {
1332
1462
  }[] | undefined;
1333
1463
  domainContext?: {
1334
1464
  request: string;
1335
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
1465
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
1336
1466
  requestFragment?: string | undefined;
1337
1467
  vocabulary?: Record<string, string> | undefined;
1338
1468
  } | undefined;
@@ -1359,12 +1489,12 @@ declare function createAgentTools(workDir: string): {
1359
1489
  name: string;
1360
1490
  entity: {
1361
1491
  name: string;
1492
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
1362
1493
  fields: {
1363
1494
  type: string;
1364
1495
  name: string;
1365
1496
  required?: boolean | undefined;
1366
1497
  }[];
1367
- persistence: "persistent" | "runtime" | "singleton" | "instance";
1368
1498
  };
1369
1499
  patterns: string[];
1370
1500
  pages?: {
@@ -1379,7 +1509,7 @@ declare function createAgentTools(workDir: string): {
1379
1509
  }[] | undefined;
1380
1510
  domainContext?: {
1381
1511
  request: string;
1382
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
1512
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
1383
1513
  requestFragment?: string | undefined;
1384
1514
  vocabulary?: Record<string, string> | undefined;
1385
1515
  } | undefined;
@@ -1406,12 +1536,12 @@ declare function createAgentTools(workDir: string): {
1406
1536
  name: string;
1407
1537
  entity: {
1408
1538
  name: string;
1539
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
1409
1540
  fields: {
1410
1541
  type: string;
1411
1542
  name: string;
1412
1543
  required?: boolean | undefined;
1413
1544
  }[];
1414
- persistence: "persistent" | "runtime" | "singleton" | "instance";
1415
1545
  };
1416
1546
  patterns: string[];
1417
1547
  pages?: {
@@ -1426,7 +1556,7 @@ declare function createAgentTools(workDir: string): {
1426
1556
  }[] | undefined;
1427
1557
  domainContext?: {
1428
1558
  request: string;
1429
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
1559
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
1430
1560
  requestFragment?: string | undefined;
1431
1561
  vocabulary?: Record<string, string> | undefined;
1432
1562
  } | undefined;
@@ -1453,12 +1583,12 @@ declare function createAgentTools(workDir: string): {
1453
1583
  name: string;
1454
1584
  entity: {
1455
1585
  name: string;
1586
+ persistence: "persistent" | "runtime" | "singleton" | "instance";
1456
1587
  fields: {
1457
1588
  type: string;
1458
1589
  name: string;
1459
1590
  required?: boolean | undefined;
1460
1591
  }[];
1461
- persistence: "persistent" | "runtime" | "singleton" | "instance";
1462
1592
  };
1463
1593
  patterns: string[];
1464
1594
  pages?: {
@@ -1473,7 +1603,7 @@ declare function createAgentTools(workDir: string): {
1473
1603
  }[] | undefined;
1474
1604
  domainContext?: {
1475
1605
  request: string;
1476
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
1606
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
1477
1607
  requestFragment?: string | undefined;
1478
1608
  vocabulary?: Record<string, string> | undefined;
1479
1609
  } | undefined;
@@ -1494,7 +1624,7 @@ declare function createAgentTools(workDir: string): {
1494
1624
  };
1495
1625
  orbitalIndex?: number | undefined;
1496
1626
  totalOrbitals?: number | undefined;
1497
- }, string>;
1627
+ }, string, "generate_orbital">;
1498
1628
  setEventCallback: (callback: SubagentEventCallback) => void;
1499
1629
  setOrbitalCompleteCallback: (callback: OrbitalCompleteCallback) => void;
1500
1630
  };
@@ -1625,7 +1755,7 @@ declare function createAgentTools(workDir: string): {
1625
1755
  };
1626
1756
  traitIndex?: number | undefined;
1627
1757
  totalTraits?: number | undefined;
1628
- }, string>;
1758
+ }, string, "generate_custom_trait">;
1629
1759
  setEventCallback: (callback: TraitEventCallback) => void;
1630
1760
  setTraitCompleteCallback: (callback: TraitCompleteCallback) => void;
1631
1761
  };
@@ -1668,13 +1798,13 @@ declare function createAgentTools(workDir: string): {
1668
1798
  }>, "many">>;
1669
1799
  }, "strip", zod.ZodTypeAny, {
1670
1800
  name: string;
1801
+ persistence: "persistent" | "runtime" | "singleton";
1671
1802
  fields: {
1672
1803
  type: string;
1673
1804
  name: string;
1674
1805
  default?: any;
1675
1806
  required?: boolean | undefined;
1676
1807
  }[];
1677
- persistence: "persistent" | "runtime" | "singleton";
1678
1808
  relations?: {
1679
1809
  type: "belongs_to" | "has_many";
1680
1810
  entity: string;
@@ -1682,13 +1812,13 @@ declare function createAgentTools(workDir: string): {
1682
1812
  }[] | undefined;
1683
1813
  }, {
1684
1814
  name: string;
1815
+ persistence: "persistent" | "runtime" | "singleton";
1685
1816
  fields: {
1686
1817
  type: string;
1687
1818
  name: string;
1688
1819
  default?: any;
1689
1820
  required?: boolean | undefined;
1690
1821
  }[];
1691
- persistence: "persistent" | "runtime" | "singleton";
1692
1822
  relations?: {
1693
1823
  type: "belongs_to" | "has_many";
1694
1824
  entity: string;
@@ -1720,12 +1850,12 @@ declare function createAgentTools(workDir: string): {
1720
1850
  vocabulary: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
1721
1851
  }, "strip", zod.ZodTypeAny, {
1722
1852
  request: string;
1723
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
1853
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
1724
1854
  requestFragment?: string | undefined;
1725
1855
  vocabulary?: Record<string, string> | undefined;
1726
1856
  }, {
1727
1857
  request: string;
1728
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
1858
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
1729
1859
  requestFragment?: string | undefined;
1730
1860
  vocabulary?: Record<string, string> | undefined;
1731
1861
  }>>;
@@ -1738,12 +1868,12 @@ declare function createAgentTools(workDir: string): {
1738
1868
  detailPattern: zod.ZodOptional<zod.ZodEnum<["drawer", "page", "split"]>>;
1739
1869
  }, "strip", zod.ZodTypeAny, {
1740
1870
  flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
1741
- listPattern?: "entity-list" | "entity-table" | "entity-cards" | undefined;
1871
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
1742
1872
  formPattern?: "modal" | "drawer" | "page" | undefined;
1743
1873
  detailPattern?: "split" | "drawer" | "page" | undefined;
1744
1874
  }, {
1745
1875
  flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
1746
- listPattern?: "entity-list" | "entity-table" | "entity-cards" | undefined;
1876
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
1747
1877
  formPattern?: "modal" | "drawer" | "page" | undefined;
1748
1878
  detailPattern?: "split" | "drawer" | "page" | undefined;
1749
1879
  }>>;
@@ -1751,7 +1881,7 @@ declare function createAgentTools(workDir: string): {
1751
1881
  style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
1752
1882
  uxHints?: {
1753
1883
  flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
1754
- listPattern?: "entity-list" | "entity-table" | "entity-cards" | undefined;
1884
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
1755
1885
  formPattern?: "modal" | "drawer" | "page" | undefined;
1756
1886
  detailPattern?: "split" | "drawer" | "page" | undefined;
1757
1887
  } | undefined;
@@ -1759,7 +1889,7 @@ declare function createAgentTools(workDir: string): {
1759
1889
  style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
1760
1890
  uxHints?: {
1761
1891
  flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
1762
- listPattern?: "entity-list" | "entity-table" | "entity-cards" | undefined;
1892
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
1763
1893
  formPattern?: "modal" | "drawer" | "page" | undefined;
1764
1894
  detailPattern?: "split" | "drawer" | "page" | undefined;
1765
1895
  } | undefined;
@@ -1786,13 +1916,13 @@ declare function createAgentTools(workDir: string): {
1786
1916
  name: string;
1787
1917
  entity: {
1788
1918
  name: string;
1919
+ persistence: "persistent" | "runtime" | "singleton";
1789
1920
  fields: {
1790
1921
  type: string;
1791
1922
  name: string;
1792
1923
  default?: any;
1793
1924
  required?: boolean | undefined;
1794
1925
  }[];
1795
- persistence: "persistent" | "runtime" | "singleton";
1796
1926
  relations?: {
1797
1927
  type: "belongs_to" | "has_many";
1798
1928
  entity: string;
@@ -1802,7 +1932,7 @@ declare function createAgentTools(workDir: string): {
1802
1932
  patterns: string[];
1803
1933
  domainContext?: {
1804
1934
  request: string;
1805
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
1935
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
1806
1936
  requestFragment?: string | undefined;
1807
1937
  vocabulary?: Record<string, string> | undefined;
1808
1938
  } | undefined;
@@ -1810,7 +1940,7 @@ declare function createAgentTools(workDir: string): {
1810
1940
  style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
1811
1941
  uxHints?: {
1812
1942
  flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
1813
- listPattern?: "entity-list" | "entity-table" | "entity-cards" | undefined;
1943
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
1814
1944
  formPattern?: "modal" | "drawer" | "page" | undefined;
1815
1945
  detailPattern?: "split" | "drawer" | "page" | undefined;
1816
1946
  } | undefined;
@@ -1831,13 +1961,13 @@ declare function createAgentTools(workDir: string): {
1831
1961
  name: string;
1832
1962
  entity: {
1833
1963
  name: string;
1964
+ persistence: "persistent" | "runtime" | "singleton";
1834
1965
  fields: {
1835
1966
  type: string;
1836
1967
  name: string;
1837
1968
  default?: any;
1838
1969
  required?: boolean | undefined;
1839
1970
  }[];
1840
- persistence: "persistent" | "runtime" | "singleton";
1841
1971
  relations?: {
1842
1972
  type: "belongs_to" | "has_many";
1843
1973
  entity: string;
@@ -1847,7 +1977,7 @@ declare function createAgentTools(workDir: string): {
1847
1977
  patterns: string[];
1848
1978
  domainContext?: {
1849
1979
  request: string;
1850
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
1980
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
1851
1981
  requestFragment?: string | undefined;
1852
1982
  vocabulary?: Record<string, string> | undefined;
1853
1983
  } | undefined;
@@ -1855,7 +1985,7 @@ declare function createAgentTools(workDir: string): {
1855
1985
  style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
1856
1986
  uxHints?: {
1857
1987
  flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
1858
- listPattern?: "entity-list" | "entity-table" | "entity-cards" | undefined;
1988
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
1859
1989
  formPattern?: "modal" | "drawer" | "page" | undefined;
1860
1990
  detailPattern?: "split" | "drawer" | "page" | undefined;
1861
1991
  } | undefined;
@@ -1881,13 +2011,13 @@ declare function createAgentTools(workDir: string): {
1881
2011
  name: string;
1882
2012
  entity: {
1883
2013
  name: string;
2014
+ persistence: "persistent" | "runtime" | "singleton";
1884
2015
  fields: {
1885
2016
  type: string;
1886
2017
  name: string;
1887
2018
  default?: any;
1888
2019
  required?: boolean | undefined;
1889
2020
  }[];
1890
- persistence: "persistent" | "runtime" | "singleton";
1891
2021
  relations?: {
1892
2022
  type: "belongs_to" | "has_many";
1893
2023
  entity: string;
@@ -1897,7 +2027,7 @@ declare function createAgentTools(workDir: string): {
1897
2027
  patterns: string[];
1898
2028
  domainContext?: {
1899
2029
  request: string;
1900
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
2030
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
1901
2031
  requestFragment?: string | undefined;
1902
2032
  vocabulary?: Record<string, string> | undefined;
1903
2033
  } | undefined;
@@ -1905,7 +2035,7 @@ declare function createAgentTools(workDir: string): {
1905
2035
  style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
1906
2036
  uxHints?: {
1907
2037
  flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
1908
- listPattern?: "entity-list" | "entity-table" | "entity-cards" | undefined;
2038
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
1909
2039
  formPattern?: "modal" | "drawer" | "page" | undefined;
1910
2040
  detailPattern?: "split" | "drawer" | "page" | undefined;
1911
2041
  } | undefined;
@@ -1931,13 +2061,13 @@ declare function createAgentTools(workDir: string): {
1931
2061
  name: string;
1932
2062
  entity: {
1933
2063
  name: string;
2064
+ persistence: "persistent" | "runtime" | "singleton";
1934
2065
  fields: {
1935
2066
  type: string;
1936
2067
  name: string;
1937
2068
  default?: any;
1938
2069
  required?: boolean | undefined;
1939
2070
  }[];
1940
- persistence: "persistent" | "runtime" | "singleton";
1941
2071
  relations?: {
1942
2072
  type: "belongs_to" | "has_many";
1943
2073
  entity: string;
@@ -1947,7 +2077,7 @@ declare function createAgentTools(workDir: string): {
1947
2077
  patterns: string[];
1948
2078
  domainContext?: {
1949
2079
  request: string;
1950
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
2080
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
1951
2081
  requestFragment?: string | undefined;
1952
2082
  vocabulary?: Record<string, string> | undefined;
1953
2083
  } | undefined;
@@ -1955,7 +2085,7 @@ declare function createAgentTools(workDir: string): {
1955
2085
  style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
1956
2086
  uxHints?: {
1957
2087
  flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
1958
- listPattern?: "entity-list" | "entity-table" | "entity-cards" | undefined;
2088
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
1959
2089
  formPattern?: "modal" | "drawer" | "page" | undefined;
1960
2090
  detailPattern?: "split" | "drawer" | "page" | undefined;
1961
2091
  } | undefined;
@@ -1981,13 +2111,13 @@ declare function createAgentTools(workDir: string): {
1981
2111
  name: string;
1982
2112
  entity: {
1983
2113
  name: string;
2114
+ persistence: "persistent" | "runtime" | "singleton";
1984
2115
  fields: {
1985
2116
  type: string;
1986
2117
  name: string;
1987
2118
  default?: any;
1988
2119
  required?: boolean | undefined;
1989
2120
  }[];
1990
- persistence: "persistent" | "runtime" | "singleton";
1991
2121
  relations?: {
1992
2122
  type: "belongs_to" | "has_many";
1993
2123
  entity: string;
@@ -1997,7 +2127,7 @@ declare function createAgentTools(workDir: string): {
1997
2127
  patterns: string[];
1998
2128
  domainContext?: {
1999
2129
  request: string;
2000
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
2130
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
2001
2131
  requestFragment?: string | undefined;
2002
2132
  vocabulary?: Record<string, string> | undefined;
2003
2133
  } | undefined;
@@ -2005,7 +2135,7 @@ declare function createAgentTools(workDir: string): {
2005
2135
  style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
2006
2136
  uxHints?: {
2007
2137
  flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
2008
- listPattern?: "entity-list" | "entity-table" | "entity-cards" | undefined;
2138
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
2009
2139
  formPattern?: "modal" | "drawer" | "page" | undefined;
2010
2140
  detailPattern?: "split" | "drawer" | "page" | undefined;
2011
2141
  } | undefined;
@@ -2031,13 +2161,13 @@ declare function createAgentTools(workDir: string): {
2031
2161
  name: string;
2032
2162
  entity: {
2033
2163
  name: string;
2164
+ persistence: "persistent" | "runtime" | "singleton";
2034
2165
  fields: {
2035
2166
  type: string;
2036
2167
  name: string;
2037
2168
  default?: any;
2038
2169
  required?: boolean | undefined;
2039
2170
  }[];
2040
- persistence: "persistent" | "runtime" | "singleton";
2041
2171
  relations?: {
2042
2172
  type: "belongs_to" | "has_many";
2043
2173
  entity: string;
@@ -2047,7 +2177,7 @@ declare function createAgentTools(workDir: string): {
2047
2177
  patterns: string[];
2048
2178
  domainContext?: {
2049
2179
  request: string;
2050
- category: "dashboard" | "form" | "content" | "game" | "business" | "social";
2180
+ category: "game" | "business" | "dashboard" | "form" | "content" | "social";
2051
2181
  requestFragment?: string | undefined;
2052
2182
  vocabulary?: Record<string, string> | undefined;
2053
2183
  } | undefined;
@@ -2055,7 +2185,7 @@ declare function createAgentTools(workDir: string): {
2055
2185
  style?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
2056
2186
  uxHints?: {
2057
2187
  flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
2058
- listPattern?: "entity-list" | "entity-table" | "entity-cards" | undefined;
2188
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
2059
2189
  formPattern?: "modal" | "drawer" | "page" | undefined;
2060
2190
  detailPattern?: "split" | "drawer" | "page" | undefined;
2061
2191
  } | undefined;
@@ -2068,7 +2198,7 @@ declare function createAgentTools(workDir: string): {
2068
2198
  };
2069
2199
  orbitalIndex: number;
2070
2200
  totalOrbitals: number;
2071
- }, string>;
2201
+ }, string, "generate_orbital_domain">;
2072
2202
  constructCombinedDomain: _langchain_core_tools.DynamicStructuredTool<zod.ZodObject<{
2073
2203
  appName: zod.ZodString;
2074
2204
  }, "strip", zod.ZodTypeAny, {
@@ -2079,7 +2209,7 @@ declare function createAgentTools(workDir: string): {
2079
2209
  appName: string;
2080
2210
  }, {
2081
2211
  appName: string;
2082
- }, string>;
2212
+ }, string, "construct_combined_domain">;
2083
2213
  setEventCallback: (callback: DomainOrbitalEventCallback) => void;
2084
2214
  setCompleteCallback: (callback: DomainOrbitalCompleteCallback) => void;
2085
2215
  };
@@ -2094,7 +2224,7 @@ declare function createAgentTools(workDir: string): {
2094
2224
  file: string;
2095
2225
  }, {
2096
2226
  file: string;
2097
- }, string>;
2227
+ }, string, "query_schema_structure">;
2098
2228
  extractChunk: _langchain_core_tools.DynamicStructuredTool<zod.ZodObject<{
2099
2229
  file: zod.ZodString;
2100
2230
  type: zod.ZodEnum<["orbital", "trait", "inline-trait"]>;
@@ -2125,7 +2255,7 @@ declare function createAgentTools(workDir: string): {
2125
2255
  file: string;
2126
2256
  parentOrbital?: string | undefined;
2127
2257
  includeTraits?: boolean | undefined;
2128
- }, string>;
2258
+ }, string, "extract_chunk">;
2129
2259
  applyChunk: _langchain_core_tools.DynamicStructuredTool<zod.ZodObject<{
2130
2260
  chunkId: zod.ZodString;
2131
2261
  }, "strip", zod.ZodTypeAny, {
@@ -2136,8 +2266,115 @@ declare function createAgentTools(workDir: string): {
2136
2266
  chunkId: string;
2137
2267
  }, {
2138
2268
  chunkId: string;
2139
- }, string>;
2269
+ }, string, "apply_chunk">;
2270
+ };
2271
+ designTransition: {
2272
+ tool: _langchain_core_tools.DynamicStructuredTool<zod.ZodObject<{
2273
+ from: zod.ZodString;
2274
+ to: zod.ZodString;
2275
+ event: zod.ZodString;
2276
+ slot: zod.ZodString;
2277
+ entityName: zod.ZodString;
2278
+ entityFields: zod.ZodArray<zod.ZodObject<{
2279
+ name: zod.ZodString;
2280
+ type: zod.ZodString;
2281
+ values: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
2282
+ }, "strip", zod.ZodTypeAny, {
2283
+ type: string;
2284
+ name: string;
2285
+ values?: string[] | undefined;
2286
+ }, {
2287
+ type: string;
2288
+ name: string;
2289
+ values?: string[] | undefined;
2290
+ }>, "many">;
2291
+ domainCategory: zod.ZodOptional<zod.ZodEnum<["business", "game", "dashboard", "form", "content", "social", "e-commerce", "workflow"]>>;
2292
+ vocabulary: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
2293
+ designStyle: zod.ZodOptional<zod.ZodEnum<["minimal", "modern", "playful", "data-driven", "immersive"]>>;
2294
+ flowPattern: zod.ZodOptional<zod.ZodEnum<["hub-spoke", "master-detail", "crud-cycle", "linear", "role-based"]>>;
2295
+ listPattern: zod.ZodOptional<zod.ZodEnum<["entity-table", "entity-cards", "entity-list"]>>;
2296
+ formPattern: zod.ZodOptional<zod.ZodEnum<["modal", "drawer", "page"]>>;
2297
+ detailPattern: zod.ZodOptional<zod.ZodEnum<["drawer", "page", "split"]>>;
2298
+ existingEffects: zod.ZodOptional<zod.ZodArray<zod.ZodAny, "many">>;
2299
+ }, "strip", zod.ZodTypeAny, {
2300
+ event: string;
2301
+ entityName: string;
2302
+ from: string;
2303
+ to: string;
2304
+ slot: string;
2305
+ entityFields: {
2306
+ type: string;
2307
+ name: string;
2308
+ values?: string[] | undefined;
2309
+ }[];
2310
+ vocabulary?: Record<string, string> | undefined;
2311
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
2312
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
2313
+ formPattern?: "modal" | "drawer" | "page" | undefined;
2314
+ detailPattern?: "split" | "drawer" | "page" | undefined;
2315
+ domainCategory?: "game" | "business" | "dashboard" | "form" | "content" | "social" | "e-commerce" | "workflow" | undefined;
2316
+ designStyle?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
2317
+ existingEffects?: any[] | undefined;
2318
+ }, {
2319
+ event: string;
2320
+ entityName: string;
2321
+ from: string;
2322
+ to: string;
2323
+ slot: string;
2324
+ entityFields: {
2325
+ type: string;
2326
+ name: string;
2327
+ values?: string[] | undefined;
2328
+ }[];
2329
+ vocabulary?: Record<string, string> | undefined;
2330
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
2331
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
2332
+ formPattern?: "modal" | "drawer" | "page" | undefined;
2333
+ detailPattern?: "split" | "drawer" | "page" | undefined;
2334
+ domainCategory?: "game" | "business" | "dashboard" | "form" | "content" | "social" | "e-commerce" | "workflow" | undefined;
2335
+ designStyle?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
2336
+ existingEffects?: any[] | undefined;
2337
+ }>, {
2338
+ event: string;
2339
+ entityName: string;
2340
+ from: string;
2341
+ to: string;
2342
+ slot: string;
2343
+ entityFields: {
2344
+ type: string;
2345
+ name: string;
2346
+ values?: string[] | undefined;
2347
+ }[];
2348
+ vocabulary?: Record<string, string> | undefined;
2349
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
2350
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
2351
+ formPattern?: "modal" | "drawer" | "page" | undefined;
2352
+ detailPattern?: "split" | "drawer" | "page" | undefined;
2353
+ domainCategory?: "game" | "business" | "dashboard" | "form" | "content" | "social" | "e-commerce" | "workflow" | undefined;
2354
+ designStyle?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
2355
+ existingEffects?: any[] | undefined;
2356
+ }, {
2357
+ event: string;
2358
+ entityName: string;
2359
+ from: string;
2360
+ to: string;
2361
+ slot: string;
2362
+ entityFields: {
2363
+ type: string;
2364
+ name: string;
2365
+ values?: string[] | undefined;
2366
+ }[];
2367
+ vocabulary?: Record<string, string> | undefined;
2368
+ flowPattern?: "hub-spoke" | "master-detail" | "crud-cycle" | "linear" | "role-based" | undefined;
2369
+ listPattern?: "entity-table" | "entity-cards" | "entity-list" | undefined;
2370
+ formPattern?: "modal" | "drawer" | "page" | undefined;
2371
+ detailPattern?: "split" | "drawer" | "page" | undefined;
2372
+ domainCategory?: "game" | "business" | "dashboard" | "form" | "content" | "social" | "e-commerce" | "workflow" | undefined;
2373
+ designStyle?: "minimal" | "modern" | "playful" | "data-driven" | "immersive" | undefined;
2374
+ existingEffects?: any[] | undefined;
2375
+ }, string, "design_transition">;
2376
+ setEventCallback: (callback: DesignEventCallback) => void;
2140
2377
  };
2141
2378
  };
2142
2379
 
2143
- export { DomainOrbitalCompleteCallback, DomainOrbitalEventCallback, type GitHubToolsConfig, OrbitalCompleteCallback, SubagentEventCallback, type TraitCompleteCallback, type TraitEventCallback, type TraitSpec, type TraitSubagentToolOptions, createAgentTools, createApplyChunkTool, createCombineSchemasTool, createExecuteTool, createExtractChunkTool, createFinishTaskTool, createGenerateSchemaTool, createGitHubTools, createGitHubToolsArray, createQuerySchemaStructureTool, createSchemaChunkingTools, createTraitEventWrapper, createTraitSubagentTool, createValidateSchemaTool, validateCommandPaths };
2380
+ export { type DesignEventCallback, type DesignTransitionToolOptions, DomainOrbitalCompleteCallback, DomainOrbitalEventCallback, type GitHubToolsConfig, OrbitalCompleteCallback, SubagentEventCallback, type TraitCompleteCallback, type TraitEventCallback, type TraitSpec, type TraitSubagentToolOptions, createAgentTools, createApplyChunkTool, createCombineSchemasTool, createDesignEventWrapper, createDesignTransitionTool, createExecuteTool, createExtractChunkTool, createFinishTaskTool, createGenerateSchemaTool, createGitHubTools, createGitHubToolsArray, createQuerySchemaStructureTool, createSchemaChunkingTools, createTraitEventWrapper, createTraitSubagentTool, createValidateSchemaTool, validateCommandPaths };