@tdsoft-tech/aikit 0.1.12 → 0.1.13

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
  /**
package/dist/index.js CHANGED
@@ -989,7 +989,8 @@ var ConfigSchema = z.object({
989
989
  context7: z.boolean().default(false),
990
990
  githubGrep: z.boolean().default(false),
991
991
  gkg: z.boolean().default(false)
992
- }).optional()
992
+ }).optional(),
993
+ mode: z.string().default("build").optional()
993
994
  });
994
995
  var Config = class {
995
996
  config;
@@ -1023,6 +1024,9 @@ var Config = class {
1023
1024
  get antiHallucination() {
1024
1025
  return this.config.antiHallucination;
1025
1026
  }
1027
+ get mode() {
1028
+ return this.config.mode;
1029
+ }
1026
1030
  get configPath() {
1027
1031
  return this.config.configPath;
1028
1032
  }