@tdsoft-tech/aikit 0.1.12 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -19,11 +19,11 @@ declare const ConfigSchema: z.ZodObject<{
19
19
  enabled: z.ZodDefault<z.ZodBoolean>;
20
20
  default: z.ZodDefault<z.ZodString>;
21
21
  }, "strip", z.ZodTypeAny, {
22
- default: string;
23
22
  enabled: boolean;
23
+ default: string;
24
24
  }, {
25
- default?: string | undefined;
26
25
  enabled?: boolean | undefined;
26
+ default?: string | undefined;
27
27
  }>>;
28
28
  commands: z.ZodDefault<z.ZodObject<{
29
29
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -95,14 +95,15 @@ declare const ConfigSchema: z.ZodObject<{
95
95
  githubGrep?: boolean | undefined;
96
96
  gkg?: boolean | undefined;
97
97
  }>>;
98
+ mode: z.ZodOptional<z.ZodDefault<z.ZodString>>;
98
99
  }, "strip", z.ZodTypeAny, {
99
100
  skills: {
100
101
  enabled: boolean;
101
102
  directory?: string | undefined;
102
103
  };
103
104
  agents: {
104
- default: string;
105
105
  enabled: boolean;
106
+ default: string;
106
107
  };
107
108
  commands: {
108
109
  enabled: boolean;
@@ -118,11 +119,11 @@ declare const ConfigSchema: z.ZodObject<{
118
119
  enabled: boolean;
119
120
  maxSize?: number | undefined;
120
121
  };
122
+ version: string;
121
123
  beads: {
122
124
  enabled: boolean;
123
125
  autoInit: boolean;
124
126
  };
125
- version: string;
126
127
  antiHallucination: {
127
128
  enabled: boolean;
128
129
  specFile: string;
@@ -133,6 +134,7 @@ declare const ConfigSchema: z.ZodObject<{
133
134
  githubGrep: boolean;
134
135
  gkg: boolean;
135
136
  } | undefined;
137
+ mode?: string | undefined;
136
138
  }, {
137
139
  version: string;
138
140
  skills?: {
@@ -140,8 +142,8 @@ declare const ConfigSchema: z.ZodObject<{
140
142
  directory?: string | undefined;
141
143
  } | undefined;
142
144
  agents?: {
143
- default?: string | undefined;
144
145
  enabled?: boolean | undefined;
146
+ default?: string | undefined;
145
147
  } | undefined;
146
148
  commands?: {
147
149
  enabled?: boolean | undefined;
@@ -171,6 +173,7 @@ declare const ConfigSchema: z.ZodObject<{
171
173
  githubGrep?: boolean | undefined;
172
174
  gkg?: boolean | undefined;
173
175
  } | undefined;
176
+ mode?: string | undefined;
174
177
  }>;
175
178
  type AIKitConfig = z.infer<typeof ConfigSchema> & {
176
179
  configPath: string;
@@ -188,8 +191,8 @@ declare class Config {
188
191
  directory?: string | undefined;
189
192
  };
190
193
  get agents(): {
191
- default: string;
192
194
  enabled: boolean;
195
+ default: string;
193
196
  };
194
197
  get commands(): {
195
198
  enabled: boolean;
@@ -214,6 +217,7 @@ declare class Config {
214
217
  specFile: string;
215
218
  reviewFile: string;
216
219
  };
220
+ get mode(): string | undefined;
217
221
  get configPath(): string;
218
222
  get projectPath(): string;
219
223
  /**
@@ -494,7 +498,10 @@ interface Tool {
494
498
  name: string;
495
499
  description: string;
496
500
  args: Record<string, ToolArg>;
497
- execute: (args: Record<string, unknown>) => Promise<string>;
501
+ execute: (args: Record<string, unknown>, context?: {
502
+ config?: Config;
503
+ toolConfigManager?: any;
504
+ }) => Promise<string>;
498
505
  filePath?: string;
499
506
  }
500
507
  /**
@@ -743,6 +750,7 @@ interface Bead {
743
750
  title: string;
744
751
  description: string;
745
752
  status: 'todo' | 'in-progress' | 'completed' | 'blocked';
753
+ type?: 'feature' | 'pattern' | 'decision' | 'knowledge';
746
754
  createdAt: Date;
747
755
  updatedAt: Date;
748
756
  notes: string[];
@@ -794,7 +802,7 @@ declare class BeadsIntegration {
794
802
  */
795
803
  getStatus(): Promise<BeadsStatus>;
796
804
  /**
797
- * List all beads in the project
805
+ * List all beads in project
798
806
  */
799
807
  listBeads(): Promise<Bead[]>;
800
808
  /**
@@ -813,6 +821,10 @@ declare class BeadsIntegration {
813
821
  * Add note to bead
814
822
  */
815
823
  addNote(id: string, note: string): Promise<boolean>;
824
+ /**
825
+ * Update bead type
826
+ */
827
+ updateBeadType(id: string, type: Bead['type']): Promise<boolean>;
816
828
  /**
817
829
  * Complete a bead with quality gates
818
830
  */
@@ -823,6 +835,7 @@ declare class BeadsIntegration {
823
835
  passed: boolean;
824
836
  error?: string;
825
837
  }[];
838
+ handoffCreated: boolean;
826
839
  }>;
827
840
  /**
828
841
  * Get current active bead