gencow 0.1.47 → 0.1.48
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/package.json +1 -1
- package/server/index.js +1 -1
- package/server/index.js.map +2 -2
- package/templates/ai-chat/README.md +24 -9
- package/templates/ai-chat/ai.ts +8 -2
- package/templates/ai-chat/chat.ts +13 -7
- package/templates/ai-chat/prompt.md +25 -2
- package/templates/ai.ts +8 -2
- package/templates/fullstack/ai.ts +8 -2
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -71840,7 +71840,6 @@ if (IS_BAAS) {
|
|
|
71840
71840
|
}
|
|
71841
71841
|
});
|
|
71842
71842
|
}
|
|
71843
|
-
app.on(["POST", "GET"], "/api/auth/**", betterAuthHandler);
|
|
71844
71843
|
async function main() {
|
|
71845
71844
|
const functionsPath = process.env.GENCOW_FUNCTIONS ? resolve4(process.cwd(), process.env.GENCOW_FUNCTIONS) : resolve4(import.meta.dirname, "./example/functions");
|
|
71846
71845
|
console.log(`[gencow] Loading functions from: ${functionsPath}`);
|
|
@@ -72022,6 +72021,7 @@ async function main() {
|
|
|
72022
72021
|
console.error("[platform] Auto-recovery failed:", msg);
|
|
72023
72022
|
}
|
|
72024
72023
|
}
|
|
72024
|
+
app.on(["POST", "GET"], "/api/auth/**", betterAuthHandler);
|
|
72025
72025
|
appModule.setDb?.(db);
|
|
72026
72026
|
const { scheduler } = appModule;
|
|
72027
72027
|
scheduler?.start?.();
|