codebakers 2.5.4 → 3.0.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.
Files changed (60) hide show
  1. package/README.md +54 -255
  2. package/dist/chunk-HOWR3YTF.js +146 -0
  3. package/dist/index.d.ts +0 -3
  4. package/dist/index.js +10488 -7993
  5. package/dist/terminal-6ZQVP6R7.js +10 -0
  6. package/package.json +26 -41
  7. package/AUDIT_REPORT.md +0 -138
  8. package/dist/advisors-RWRTSJRR.js +0 -7
  9. package/dist/chunk-ASIJIQYC.js +0 -320
  10. package/dist/chunk-D44U3IEA.js +0 -565
  11. package/dist/chunk-LANM5XQW.js +0 -326
  12. package/dist/prd-RYITSL6Q.js +0 -7
  13. package/install.bat +0 -9
  14. package/installers/CodeBakers-Install.bat +0 -207
  15. package/installers/CodeBakers-Install.command +0 -232
  16. package/installers/README.md +0 -157
  17. package/installers/mac/assets/README.txt +0 -31
  18. package/installers/mac/build-mac-installer.sh +0 -240
  19. package/installers/windows/CodeBakers.iss +0 -256
  20. package/installers/windows/assets/README.txt +0 -16
  21. package/installers/windows/scripts/post-install.bat +0 -15
  22. package/src/channels/discord.ts +0 -5
  23. package/src/channels/slack.ts +0 -5
  24. package/src/channels/sms.ts +0 -4
  25. package/src/channels/telegram.ts +0 -5
  26. package/src/channels/whatsapp.ts +0 -7
  27. package/src/commands/advisors.ts +0 -699
  28. package/src/commands/build.ts +0 -1025
  29. package/src/commands/check.ts +0 -365
  30. package/src/commands/code.ts +0 -806
  31. package/src/commands/connect.ts +0 -12
  32. package/src/commands/deploy.ts +0 -448
  33. package/src/commands/design.ts +0 -298
  34. package/src/commands/fix.ts +0 -20
  35. package/src/commands/gateway.ts +0 -604
  36. package/src/commands/generate.ts +0 -178
  37. package/src/commands/init.ts +0 -634
  38. package/src/commands/integrate.ts +0 -884
  39. package/src/commands/learn.ts +0 -36
  40. package/src/commands/migrate.ts +0 -419
  41. package/src/commands/prd-maker.ts +0 -588
  42. package/src/commands/prd.ts +0 -419
  43. package/src/commands/security.ts +0 -102
  44. package/src/commands/setup.ts +0 -600
  45. package/src/commands/status.ts +0 -56
  46. package/src/commands/website.ts +0 -741
  47. package/src/index.ts +0 -627
  48. package/src/patterns/loader.ts +0 -337
  49. package/src/services/github.ts +0 -61
  50. package/src/services/supabase.ts +0 -147
  51. package/src/services/vercel.ts +0 -61
  52. package/src/utils/claude-md.ts +0 -287
  53. package/src/utils/config.ts +0 -375
  54. package/src/utils/display.ts +0 -338
  55. package/src/utils/files.ts +0 -418
  56. package/src/utils/nlp.ts +0 -312
  57. package/src/utils/ui.ts +0 -441
  58. package/src/utils/updates.ts +0 -8
  59. package/src/utils/voice.ts +0 -323
  60. package/tsconfig.json +0 -26
@@ -1,256 +0,0 @@
1
- ; ============================================================================
2
- ; CODEBAKERS WINDOWS INSTALLER
3
- ; Built with Inno Setup - https://jrsoftware.org/isinfo.php
4
- ; ============================================================================
5
- ;
6
- ; To build this installer:
7
- ; 1. Download Inno Setup from https://jrsoftware.org/isdl.php
8
- ; 2. Open this .iss file in Inno Setup
9
- ; 3. Click Build > Compile
10
- ; 4. Output will be in the "Output" folder
11
- ;
12
- ; To code sign (removes "Unknown Publisher" warning):
13
- ; 1. Get a code signing certificate from DigiCert, Sectigo, etc.
14
- ; 2. After compiling, run:
15
- ; signtool sign /f cert.pfx /p password /tr http://timestamp.digicert.com /td sha256 "CodeBakers-Setup.exe"
16
- ;
17
- ; ============================================================================
18
-
19
- #define MyAppName "CodeBakers"
20
- #define MyAppVersion "2.3.3"
21
- #define MyAppPublisher "BotMakers Inc."
22
- #define MyAppURL "https://codebakers.dev"
23
- #define MyAppExeName "codebakers"
24
-
25
- [Setup]
26
- ; App identity
27
- AppId={{A1B2C3D4-E5F6-7890-ABCD-EF1234567890}
28
- AppName={#MyAppName}
29
- AppVersion={#MyAppVersion}
30
- AppVerName={#MyAppName} {#MyAppVersion}
31
- AppPublisher={#MyAppPublisher}
32
- AppPublisherURL={#MyAppURL}
33
- AppSupportURL={#MyAppURL}/support
34
- AppUpdatesURL={#MyAppURL}/updates
35
-
36
- ; Install location
37
- DefaultDirName={autopf}\{#MyAppName}
38
- DefaultGroupName={#MyAppName}
39
- DisableProgramGroupPage=yes
40
-
41
- ; Output settings
42
- OutputDir=Output
43
- OutputBaseFilename=CodeBakers-Setup-{#MyAppVersion}
44
- SetupIconFile=assets\icon.ico
45
- UninstallDisplayIcon={app}\icon.ico
46
-
47
- ; Compression
48
- Compression=lzma2
49
- SolidCompression=yes
50
-
51
- ; Privileges (no admin needed for npm global install)
52
- PrivilegesRequired=lowest
53
- PrivilegesRequiredOverridesAllowed=dialog
54
-
55
- ; UI
56
- WizardStyle=modern
57
- WizardSizePercent=120
58
-
59
- ; Minimum Windows version (Windows 10+)
60
- MinVersion=10.0
61
-
62
- [Languages]
63
- Name: "english"; MessagesFile: "compiler:Default.isl"
64
-
65
- [Messages]
66
- WelcomeLabel1=Welcome to CodeBakers
67
- WelcomeLabel2=This will install CodeBakers on your computer.%n%nCodeBakers is an AI-powered development tool that helps you build apps faster.%n%nClick Next to continue.
68
-
69
- [Files]
70
- ; Include Node.js installer (optional - download during install instead)
71
- ; Source: "node-v20.10.0-x64.msi"; DestDir: "{tmp}"; Flags: deleteafterinstall
72
-
73
- ; Include icon
74
- Source: "assets\icon.ico"; DestDir: "{app}"; Flags: ignoreversion
75
-
76
- ; Include post-install script
77
- Source: "scripts\post-install.bat"; DestDir: "{app}"; Flags: ignoreversion
78
-
79
- [Icons]
80
- ; Start Menu shortcut to open terminal with codebakers
81
- Name: "{group}\CodeBakers"; Filename: "{cmd}"; Parameters: "/k codebakers"; WorkingDir: "{userdocs}"; IconFilename: "{app}\icon.ico"
82
- Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
83
-
84
- ; Desktop shortcut (optional)
85
- Name: "{autodesktop}\CodeBakers"; Filename: "{cmd}"; Parameters: "/k codebakers"; WorkingDir: "{userdocs}"; IconFilename: "{app}\icon.ico"; Tasks: desktopicon
86
-
87
- [Tasks]
88
- Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
89
-
90
- [Run]
91
- ; Run post-install script
92
- Filename: "{app}\post-install.bat"; Parameters: ""; Flags: runhidden waituntilterminated
93
-
94
- ; Offer to launch after install
95
- Filename: "{cmd}"; Parameters: "/k cd /d ""{userdocs}"" && codebakers"; Description: "Launch CodeBakers"; Flags: postinstall nowait skipifsilent shellexec
96
-
97
- [UninstallRun]
98
- ; Uninstall npm package
99
- Filename: "npm"; Parameters: "uninstall -g codebakers"; Flags: runhidden waituntilterminated
100
-
101
- [Code]
102
- var
103
- EditorPage: TInputOptionWizardPage;
104
- FolderPage: TInputDirWizardPage;
105
- NodeInstalled: Boolean;
106
- SelectedEditor: Integer;
107
- ProjectFolder: String;
108
-
109
- // Check if Node.js is installed
110
- function IsNodeInstalled(): Boolean;
111
- var
112
- ResultCode: Integer;
113
- begin
114
- Result := Exec('node', '--version', '', SW_HIDE, ewWaitUntilTerminated, ResultCode) and (ResultCode = 0);
115
- end;
116
-
117
- // Check if an editor is installed
118
- function IsEditorInstalled(EditorCmd: String): Boolean;
119
- var
120
- ResultCode: Integer;
121
- begin
122
- Result := Exec('where', EditorCmd, '', SW_HIDE, ewWaitUntilTerminated, ResultCode) and (ResultCode = 0);
123
- end;
124
-
125
- // Initialize wizard
126
- procedure InitializeWizard();
127
- begin
128
- // Check Node.js
129
- NodeInstalled := IsNodeInstalled();
130
-
131
- // Create folder selection page
132
- FolderPage := CreateInputDirPage(wpSelectDir,
133
- 'Select Project Folder',
134
- 'Where do you want to create your projects?',
135
- 'CodeBakers will create new projects in this folder.',
136
- False, '');
137
- FolderPage.Add('');
138
- FolderPage.Values[0] := ExpandConstant('{userdocs}\CodeBakers-Projects');
139
-
140
- // Create editor selection page
141
- EditorPage := CreateInputOptionPage(FolderPage.ID,
142
- 'Select Your Editor',
143
- 'Choose where you want to code',
144
- 'CodeBakers will open your selected editor after installation.',
145
- True, False);
146
-
147
- // Add editor options (only if installed)
148
- if IsEditorInstalled('cursor') then
149
- EditorPage.Add('Cursor (AI-powered editor)');
150
- if IsEditorInstalled('code') then
151
- EditorPage.Add('VS Code');
152
- if IsEditorInstalled('windsurf') then
153
- EditorPage.Add('Windsurf');
154
- EditorPage.Add('Windows Terminal');
155
- EditorPage.Add('PowerShell');
156
- EditorPage.Add('I''ll open it myself');
157
-
158
- EditorPage.SelectedValueIndex := 0;
159
- end;
160
-
161
- // Validate Node.js is installed
162
- function NextButtonClick(CurPageID: Integer): Boolean;
163
- var
164
- ResultCode: Integer;
165
- begin
166
- Result := True;
167
-
168
- // On welcome page, check for Node.js
169
- if CurPageID = wpWelcome then
170
- begin
171
- if not NodeInstalled then
172
- begin
173
- if MsgBox('Node.js is required but not installed.' + #13#10 + #13#10 +
174
- 'Would you like to download Node.js now?', mbConfirmation, MB_YESNO) = IDYES then
175
- begin
176
- ShellExec('open', 'https://nodejs.org/', '', '', SW_SHOW, ewNoWait, ResultCode);
177
- MsgBox('Please install Node.js, then run this installer again.', mbInformation, MB_OK);
178
- Result := False;
179
- end
180
- else
181
- begin
182
- Result := False;
183
- end;
184
- end;
185
- end;
186
-
187
- // Save folder selection
188
- if CurPageID = FolderPage.ID then
189
- begin
190
- ProjectFolder := FolderPage.Values[0];
191
- // Create folder if it doesn't exist
192
- if not DirExists(ProjectFolder) then
193
- CreateDir(ProjectFolder);
194
- end;
195
-
196
- // Save editor selection
197
- if CurPageID = EditorPage.ID then
198
- begin
199
- SelectedEditor := EditorPage.SelectedValueIndex;
200
- end;
201
- end;
202
-
203
- // Install npm package
204
- procedure CurStepChanged(CurStep: TSetupStep);
205
- var
206
- ResultCode: Integer;
207
- begin
208
- if CurStep = ssPostInstall then
209
- begin
210
- // Install CodeBakers via npm
211
- WizardForm.StatusLabel.Caption := 'Installing CodeBakers...';
212
- Exec('npm', 'install -g codebakers@latest', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
213
- end;
214
- end;
215
-
216
- // Open selected editor after install
217
- procedure CurPageChanged(CurPageID: Integer);
218
- var
219
- ResultCode: Integer;
220
- EditorCmd: String;
221
- begin
222
- if CurPageID = wpFinished then
223
- begin
224
- // Determine which editor to open
225
- case SelectedEditor of
226
- 0: EditorCmd := 'cursor';
227
- 1: EditorCmd := 'code';
228
- 2: EditorCmd := 'windsurf';
229
- 3: EditorCmd := 'wt';
230
- 4: EditorCmd := 'powershell';
231
- else
232
- EditorCmd := '';
233
- end;
234
-
235
- // Open the editor in the project folder
236
- if EditorCmd <> '' then
237
- begin
238
- if EditorCmd = 'wt' then
239
- Exec('wt', '-d "' + ProjectFolder + '" cmd /k codebakers', '', SW_SHOW, ewNoWait, ResultCode)
240
- else if EditorCmd = 'powershell' then
241
- Exec('powershell', '-NoExit -Command "cd ''' + ProjectFolder + '''; codebakers"', '', SW_SHOW, ewNoWait, ResultCode)
242
- else
243
- Exec(EditorCmd, '"' + ProjectFolder + '"', '', SW_SHOW, ewNoWait, ResultCode);
244
- end;
245
- end;
246
- end;
247
-
248
- // Get installation summary
249
- function UpdateReadyMemo(Space, NewLine, MemoUserInfoInfo, MemoDirInfo, MemoTypeInfo, MemoComponentsInfo, MemoGroupInfo, MemoTasksInfo: String): String;
250
- begin
251
- Result := 'Installation Summary:' + NewLine + NewLine;
252
- Result := Result + Space + 'CodeBakers v{#MyAppVersion}' + NewLine;
253
- Result := Result + Space + 'Project folder: ' + ProjectFolder + NewLine;
254
- Result := Result + NewLine;
255
- Result := Result + 'Click Install to begin.';
256
- end;
@@ -1,16 +0,0 @@
1
- ICON FILE PLACEHOLDER
2
- ====================
3
-
4
- Place your icon.ico file here.
5
-
6
- Requirements:
7
- - Format: ICO (Windows icon format)
8
- - Recommended sizes: 16x16, 32x32, 48x48, 256x256
9
- - You can create one at: https://convertio.co/png-ico/
10
-
11
- To create from your logo:
12
- 1. Get your logo as PNG (at least 256x256)
13
- 2. Go to https://convertio.co/png-ico/
14
- 3. Upload and convert
15
- 4. Download and rename to icon.ico
16
- 5. Place in this folder
@@ -1,15 +0,0 @@
1
- @echo off
2
- :: Post-install script for CodeBakers
3
- :: This runs silently after the main installation
4
-
5
- :: Install CodeBakers globally via npm
6
- npm install -g codebakers@latest >nul 2>&1
7
-
8
- :: Verify installation
9
- codebakers --version >nul 2>&1
10
- if %errorlevel% neq 0 (
11
- :: Retry with different npm path
12
- call npm install -g codebakers@latest >nul 2>&1
13
- )
14
-
15
- exit /b 0
@@ -1,5 +0,0 @@
1
- export class DiscordChannel {
2
- async connect(token: string): Promise<void> {}
3
- async disconnect(): Promise<void> {}
4
- async sendMessage(channelId: string, message: string): Promise<void> {}
5
- }
@@ -1,5 +0,0 @@
1
- export class SlackChannel {
2
- async connect(token: string): Promise<void> {}
3
- async disconnect(): Promise<void> {}
4
- async sendMessage(channel: string, message: string): Promise<void> {}
5
- }
@@ -1,4 +0,0 @@
1
- export class SMSChannel {
2
- async connect(accountSid: string, authToken: string): Promise<void> {}
3
- async sendMessage(to: string, message: string): Promise<void> {}
4
- }
@@ -1,5 +0,0 @@
1
- export class TelegramChannel {
2
- async connect(token: string): Promise<void> {}
3
- async disconnect(): Promise<void> {}
4
- async sendMessage(chatId: string, message: string): Promise<void> {}
5
- }
@@ -1,7 +0,0 @@
1
- // WhatsApp Channel using Baileys
2
- export class WhatsAppChannel {
3
- // Implementation would use @whiskeysockets/baileys
4
- async connect(): Promise<void> {}
5
- async disconnect(): Promise<void> {}
6
- async sendMessage(to: string, message: string): Promise<void> {}
7
- }