Skip to content

Commit eaeb985

Browse files
committed
Fix missing export for registerAppHandlers function to resolve build failure
1 parent 93be2e5 commit eaeb985

File tree

8 files changed

+67
-7
lines changed

8 files changed

+67
-7
lines changed

CHANGELOG-v0.0.5.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# AliFullStack v0.0.5 Release Notes
2+
3+
## Release Summary
4+
5+
Version 0.0.5 focuses on **build system stabilization and Windows deployment improvements**. This release addresses critical issues in the CI/CD pipeline, improves Windows build compatibility, and enhances the overall development workflow. The changes ensure more reliable releases and better cross-platform compatibility.
6+
7+
## Key Improvements
8+
9+
**Enhanced Windows Build Support** - Fixed Windows build commands and resolved code signing issues
10+
**Improved Release Pipeline** - Added retry logic and better error handling for GitHub API interactions
11+
**Streamlined CI/CD Process** - Updated GitHub Actions workflows with proper permissions and token handling
12+
**Better Documentation** - Enhanced README with development setup instructions and opensource acknowledgements
13+
14+
## Changelog
15+
16+
### 🚀 Release/Build Improvements
17+
18+
- **Fixed Windows build commands** - Resolved issues with Windows build process
19+
- **Enhanced release workflow reliability** - Added retry logic with 10 attempts and 30-second delays to handle GitHub API indexing delays
20+
- **Improved version management** - Reverted version to 0.0.5 and fixed version mismatch between package.json and package-lock.json
21+
- **Fixed release tagging** - Corrected release tag naming from 'release/v0.0.5' to 'v0.0.5'
22+
- **Enhanced GitHub Actions** - Updated token permissions and removed problematic bash token checks
23+
- **Improved workflow configuration** - Updated release.yaml publish section and fixed workflow YAML errors
24+
- **Better asset verification** - Added debugging output for release verification process
25+
- **Windows distributable improvements** - Added Windows ZIP maker and resolved Squirrel signing errors
26+
- **Build process optimization** - Disabled problematic Windows code signing to resolve build failures
27+
28+
### 📚 Documentation
29+
30+
- **Enhanced development setup guide** - Added comprehensive development setup and GitHub push instructions to README.md
31+
- **Opensource acknowledgements** - Updated README with proper opensource project acknowledgements
32+
33+
---
34+
35+
*Release Date: October 2025*
36+
*Commits: 20*
37+
*Author: SFARPak*
38+
39+
**Note**: This release represents a stabilization milestone focused on improving the development and deployment experience. The improvements in build processes and Windows compatibility lay the foundation for future feature development.

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# Contributing
22

3-
Dyad is still a very early-stage project, thus the codebase is rapidly changing.
3+
AliFullStack is still a very early-stage project, thus the codebase is rapidly changing.
44

5-
Before opening a pull request, please open an issue and discuss whether the change makes sense in Dyad. Ensuring a cohesive user experience sometimes means we can't include every possible feature or we need to consider the long-term design of how we want to support a feature area.
5+
Before opening a pull request, please open an issue and discuss whether the change makes sense in AliFullStack. Ensuring a cohesive user experience sometimes means we can't include every possible feature or we need to consider the long-term design of how we want to support a feature area.
66

7-
For a high-level overview of how Dyad works, please see the [Architecture Guide](./docs/architecture.md). Understanding the architecture will help ensure your contributions align with the overall design of the project.
7+
For a high-level overview of how AliFullStack works, please see the [Architecture Guide](./docs/architecture.md). Understanding the architecture will help ensure your contributions align with the overall design of the project.
88

99
## More than code contributions
1010

11-
Something that I really appreciate are all the non-code contributions, such as reporting bugs, writing feature requests and participating on [Dyad's sub-reddit](https://www.reddit.com/r/dyadbuilders).
11+
Something that I really appreciate are all the non-code contributions, such as reporting bugs, writing feature requests and participating on [AliFullStack's sub-reddit](https://www.reddit.com/r/AliFullStackbuilders).
1212

1313
## Development
1414

15-
Dyad is an Electron app.
15+
AliFullStack is an Electron app.
1616

1717
**Install dependencies:**
1818

assets/icon/logo.png

-210 KB
Loading

src/app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { Toaster } from "sonner";
66
import { TitleBar } from "./TitleBar";
77
import { useEffect } from "react";
88
import { useRunApp } from "@/hooks/useRunApp";
9+
import { DependencyManager } from "@/components/DependencyManager";
910
import { useAtomValue } from "jotai";
1011
import { previewModeAtom } from "@/atoms/appAtoms";
1112

@@ -37,6 +38,7 @@ export default function RootLayout({
3738
};
3839
}, [refreshAppIframe, previewMode]);
3940

41+
<DependencyManager />
4042
return (
4143
<>
4244
<ThemeProvider>

src/ipc/handlers/app_handlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3257,4 +3257,4 @@ async function installSpecificPythonPackage(projectPath: string, packageName: st
32573257
});
32583258
}
32593259

3260-
}
3260+
export { registerAppHandlers };

src/ipc/handlers/dependency_handlers.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,23 @@ import { getDyadAppPath } from "../../paths/paths";
55
import { executeAddDependency } from "../processors/executeAddDependency";
66
import { createLoggedHandler } from "./safe_handle";
77
import log from "electron-log";
8+
import { installDependencies, getDependencyStatus } from "../../dependencyManager";
89

910
const logger = log.scope("dependency_handlers");
1011
const handle = createLoggedHandler(logger);
1112

1213
export function registerDependencyHandlers() {
14+
handle(
15+
"dependency:install",
16+
async (event, { dependencies, retryAppId }: { dependencies: string[]; retryAppId?: number }) => {
17+
return await installDependencies(dependencies, undefined, retryAppId);
18+
},
19+
);
20+
21+
handle("dependency:get-status", async () => {
22+
return await getDependencyStatus();
23+
});
24+
1325
handle(
1426
"chat:add-dep",
1527
async (

src/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { getDatabasePath, initializeDatabase } from "./db";
1919
import { UserSettings } from "./lib/schemas";
2020
import { handleNeonOAuthReturn } from "./neon_admin/neon_return_handler";
2121
import { handleRooCodeAuthCallback } from "./ipc/handlers/roocode_auth_handlers";
22+
import { setMainWindow } from "./dependencyManager";
2223

2324
log.errorHandler.startCatching();
2425
log.eventLogger.startLogging();
@@ -165,6 +166,8 @@ const createWindow = async () => {
165166
// Open the DevTools.
166167
mainWindow.webContents.openDevTools();
167168
}
169+
// Set main window reference for dependency management
170+
setMainWindow(mainWindow);
168171

169172
// Process any pending deep link after window is created
170173
if (pendingDeepLink) {

src/preload.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import { contextBridge, ipcRenderer } from "electron";
55

66
// Whitelist of valid channels
77
const validInvokeChannels = [
8+
"dependency:install",
9+
"dependency:get-status",
810
"get-language-models",
911
"get-language-models-by-providers",
1012
"create-custom-language-model",
@@ -130,7 +132,6 @@ const validInvokeChannels = [
130132
"supabase:fake-connect-and-set-project",
131133
];
132134

133-
// Add valid receive channels
134135
const validReceiveChannels = [
135136
"chat:response:chunk",
136137
"chat:response:end",
@@ -144,6 +145,9 @@ const validReceiveChannels = [
144145
"help:chat:response:chunk",
145146
"help:chat:response:end",
146147
"help:chat:response:error",
148+
"show-dependency-dialog",
149+
"dependency-install-progress",
150+
"dependency-install-complete",
147151
] as const;
148152

149153
type ValidInvokeChannel = (typeof validInvokeChannels)[number];

0 commit comments

Comments
 (0)