@reliverse/dler 1.7.96 → 1.7.98
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/bin/app/ai/ai-impl/relinter/relinter.js +2 -3
- package/bin/app/clone/firecrawl/firecrawl-mod.js +1 -4
- package/bin/app/config/constants.d.ts +1 -1
- package/bin/app/config/constants.js +1 -1
- package/bin/app/providers/better-t-stack/types.d.ts +11 -11
- package/bin/app/utils/schemaMemory.d.ts +1 -1
- package/bin/dler.js +1 -1
- package/package.json +3 -3
|
@@ -4,7 +4,7 @@ import { relinka } from "@reliverse/relinka";
|
|
|
4
4
|
import { confirmPrompt } from "@reliverse/rempts";
|
|
5
5
|
import { generateText } from "ai";
|
|
6
6
|
import { countTokens } from "gpt-tokenizer/model/gpt-4o-mini";
|
|
7
|
-
import { CIRCULAR_TRIGGERS,
|
|
7
|
+
import { CIRCULAR_TRIGGERS, MODEL, MODEL_NAME } from "../ai-const.js";
|
|
8
8
|
function calculateTokens(content) {
|
|
9
9
|
return countTokens(content);
|
|
10
10
|
}
|
|
@@ -201,8 +201,7 @@ Additional instructions: ${task}
|
|
|
201
201
|
{ role: "system", content: systemMessage },
|
|
202
202
|
{ role: "user", content: `path: ${filePath}
|
|
203
203
|
${chunk}` }
|
|
204
|
-
]
|
|
205
|
-
maxTokens: MAX_TOKENS
|
|
204
|
+
]
|
|
206
205
|
});
|
|
207
206
|
let suggestions = [];
|
|
208
207
|
let text = response.text;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import FirecrawlApp from "@mendable/firecrawl-js";
|
|
2
2
|
export async function useFirecrawl(url) {
|
|
3
3
|
const app = new FirecrawlApp({ apiKey: process.env.FIRECRAWL_API_KEY });
|
|
4
|
-
const crawlResponse = await app.
|
|
4
|
+
const crawlResponse = await app.crawl(url, {
|
|
5
5
|
limit: 100,
|
|
6
6
|
scrapeOptions: {
|
|
7
7
|
formats: ["markdown", "html"]
|
|
8
8
|
}
|
|
9
9
|
});
|
|
10
|
-
if (!crawlResponse.success) {
|
|
11
|
-
throw new Error(`Failed to crawl: ${crawlResponse.error}`);
|
|
12
|
-
}
|
|
13
10
|
console.log(crawlResponse);
|
|
14
11
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const PROJECT_ROOT: string;
|
|
2
|
-
export declare const cliVersion = "1.7.
|
|
2
|
+
export declare const cliVersion = "1.7.98";
|
|
3
3
|
export declare const cliName = "@reliverse/rse";
|
|
4
4
|
export declare const rseName = "@reliverse/rse";
|
|
5
5
|
export declare const dlerName = "@reliverse/dler";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import os from "node:os";
|
|
2
2
|
import path from "@reliverse/pathkit";
|
|
3
3
|
export const PROJECT_ROOT = path.resolve(process.cwd());
|
|
4
|
-
const version = "1.7.
|
|
4
|
+
const version = "1.7.98";
|
|
5
5
|
export const cliVersion = version;
|
|
6
6
|
export const cliName = "@reliverse/rse";
|
|
7
7
|
export const rseName = "@reliverse/rse";
|
|
@@ -9,8 +9,8 @@ export declare const DatabaseSchema: z.ZodEnum<{
|
|
|
9
9
|
export type Database = z.infer<typeof DatabaseSchema>;
|
|
10
10
|
export declare const ORMSchema: z.ZodEnum<{
|
|
11
11
|
none: "none";
|
|
12
|
-
drizzle: "drizzle";
|
|
13
12
|
mongoose: "mongoose";
|
|
13
|
+
drizzle: "drizzle";
|
|
14
14
|
prisma: "prisma";
|
|
15
15
|
}>;
|
|
16
16
|
export type ORM = z.infer<typeof ORMSchema>;
|
|
@@ -18,10 +18,10 @@ export declare const BackendSchema: z.ZodEnum<{
|
|
|
18
18
|
none: "none";
|
|
19
19
|
hono: "hono";
|
|
20
20
|
convex: "convex";
|
|
21
|
-
next: "next";
|
|
22
|
-
elysia: "elysia";
|
|
23
21
|
express: "express";
|
|
24
22
|
fastify: "fastify";
|
|
23
|
+
next: "next";
|
|
24
|
+
elysia: "elysia";
|
|
25
25
|
}>;
|
|
26
26
|
export type Backend = z.infer<typeof BackendSchema>;
|
|
27
27
|
export declare const RuntimeSchema: z.ZodEnum<{
|
|
@@ -37,21 +37,21 @@ export declare const FrontendSchema: z.ZodEnum<{
|
|
|
37
37
|
nuxt: "nuxt";
|
|
38
38
|
solid: "solid";
|
|
39
39
|
next: "next";
|
|
40
|
-
"react-router": "react-router";
|
|
41
40
|
"tanstack-router": "tanstack-router";
|
|
41
|
+
"react-router": "react-router";
|
|
42
42
|
"tanstack-start": "tanstack-start";
|
|
43
43
|
"native-nativewind": "native-nativewind";
|
|
44
44
|
"native-unistyles": "native-unistyles";
|
|
45
45
|
}>;
|
|
46
46
|
export type Frontend = z.infer<typeof FrontendSchema>;
|
|
47
47
|
export declare const AddonsSchema: z.ZodEnum<{
|
|
48
|
-
biome: "biome";
|
|
49
48
|
none: "none";
|
|
50
|
-
|
|
49
|
+
biome: "biome";
|
|
50
|
+
tauri: "tauri";
|
|
51
51
|
starlight: "starlight";
|
|
52
|
-
husky: "husky";
|
|
53
52
|
pwa: "pwa";
|
|
54
|
-
|
|
53
|
+
husky: "husky";
|
|
54
|
+
turborepo: "turborepo";
|
|
55
55
|
}>;
|
|
56
56
|
export type Addons = z.infer<typeof AddonsSchema>;
|
|
57
57
|
export declare const ExamplesSchema: z.ZodEnum<{
|
|
@@ -61,18 +61,18 @@ export declare const ExamplesSchema: z.ZodEnum<{
|
|
|
61
61
|
}>;
|
|
62
62
|
export type Examples = z.infer<typeof ExamplesSchema>;
|
|
63
63
|
export declare const PackageManagerSchema: z.ZodEnum<{
|
|
64
|
-
bun: "bun";
|
|
65
64
|
npm: "npm";
|
|
66
65
|
pnpm: "pnpm";
|
|
66
|
+
bun: "bun";
|
|
67
67
|
}>;
|
|
68
68
|
export type PackageManager = z.infer<typeof PackageManagerSchema>;
|
|
69
69
|
export declare const DatabaseSetupSchema: z.ZodEnum<{
|
|
70
70
|
none: "none";
|
|
71
|
-
supabase: "supabase";
|
|
72
|
-
neon: "neon";
|
|
73
71
|
turso: "turso";
|
|
72
|
+
neon: "neon";
|
|
74
73
|
"prisma-postgres": "prisma-postgres";
|
|
75
74
|
"mongodb-atlas": "mongodb-atlas";
|
|
75
|
+
supabase: "supabase";
|
|
76
76
|
}>;
|
|
77
77
|
export type DatabaseSetup = z.infer<typeof DatabaseSetupSchema>;
|
|
78
78
|
export declare const APISchema: z.ZodEnum<{
|
|
@@ -20,8 +20,8 @@ export declare const memorySchema: import("@sinclair/typebox").TObject<{
|
|
|
20
20
|
vercelKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21
21
|
openaiKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
22
22
|
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
23
|
-
email: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
24
23
|
githubUsername: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
24
|
+
email: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
25
25
|
vercelTeamId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
26
26
|
vercelTeamSlug: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
27
27
|
}>;
|
package/bin/dler.js
CHANGED
|
@@ -12,7 +12,7 @@ let isDev = process.env.DLER_DEV_MODE === "true";
|
|
|
12
12
|
const main = defineCommand({
|
|
13
13
|
meta: {
|
|
14
14
|
name: "dler",
|
|
15
|
-
version: "1.7.
|
|
15
|
+
version: "1.7.98",
|
|
16
16
|
description: `Displays dler's command menu.
|
|
17
17
|
To see ALL available commands and arguments, run: 'dler --help' (or 'dler <command> --help')
|
|
18
18
|
Available menu commands: ${MENU_CMDS.join(", ")}`
|
package/package.json
CHANGED
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"@reliverse/bleump": "^1.1.4",
|
|
14
14
|
"@reliverse/pathkit": "^1.3.4",
|
|
15
15
|
"@reliverse/reglob": "^1.0.0",
|
|
16
|
-
"@reliverse/relico": "^1.3.
|
|
16
|
+
"@reliverse/relico": "^1.3.5",
|
|
17
17
|
"@reliverse/relifso": "^1.4.5",
|
|
18
18
|
"@reliverse/relinka": "^1.5.5",
|
|
19
|
-
"@reliverse/rempts": "^1.7.
|
|
19
|
+
"@reliverse/rempts": "^1.7.47",
|
|
20
20
|
"@reliverse/runtime": "^1.0.3",
|
|
21
21
|
"@rollup/plugin-alias": "^5.1.1",
|
|
22
22
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"license": "MIT",
|
|
111
111
|
"name": "@reliverse/dler",
|
|
112
112
|
"type": "module",
|
|
113
|
-
"version": "1.7.
|
|
113
|
+
"version": "1.7.98",
|
|
114
114
|
"keywords": [
|
|
115
115
|
"reliverse",
|
|
116
116
|
"cli",
|