fullstacked 0.12.0-1195 → 0.12.0-1200
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/fullstacked_modules/@fullstacked/ai-agent/index.ts +2 -2
- package/fullstacked_modules/@fullstacked/ai-agent/lock.json +55 -41
- package/fullstacked_modules/@fullstacked/ai-agent/package.json +1 -1
- package/fullstacked_modules/ai/index.js +848 -7028
- package/fullstacked_modules/fs/fs.ts +4 -4
- package/fullstacked_modules/git/git.ts +0 -5
- package/package.json +1 -1
|
@@ -50,19 +50,19 @@ export type FileInfo = {
|
|
|
50
50
|
// 5
|
|
51
51
|
export function readdir(
|
|
52
52
|
path: string,
|
|
53
|
-
options?: { recursive?: boolean; withFileTypes?: false }
|
|
53
|
+
options?: { recursive?: boolean; withFileTypes?: false, filesOnly?: boolean }
|
|
54
54
|
): Promise<string[]>;
|
|
55
55
|
export function readdir(
|
|
56
56
|
path: string,
|
|
57
|
-
options?: { recursive?: boolean; withFileTypes: true }
|
|
57
|
+
options?: { recursive?: boolean; withFileTypes: true, filesOnly?: boolean }
|
|
58
58
|
): Promise<FileInfo[]>;
|
|
59
59
|
export function readdir(
|
|
60
60
|
path: string,
|
|
61
|
-
options?: { recursive?: boolean; withFileTypes?: boolean }
|
|
61
|
+
options?: { recursive?: boolean; withFileTypes?: boolean, filesOnly?: boolean }
|
|
62
62
|
) {
|
|
63
63
|
const payload = new Uint8Array([
|
|
64
64
|
5,
|
|
65
|
-
...serializeArgs([path, !!options?.recursive, !!options?.withFileTypes])
|
|
65
|
+
...serializeArgs([path, !!options?.recursive, !!options?.withFileTypes, !!options?.filesOnly])
|
|
66
66
|
]);
|
|
67
67
|
|
|
68
68
|
const transformer = (items: string[] | (string | boolean)[]) => {
|
|
@@ -12,22 +12,17 @@ function setListenerOnce() {
|
|
|
12
12
|
if (addedListener) return;
|
|
13
13
|
|
|
14
14
|
core_message.addListener("git-pull", (message) => {
|
|
15
|
-
console.log(message);
|
|
16
15
|
const { url, data, finished } = JSON.parse(message);
|
|
17
16
|
if (!finished) return;
|
|
18
17
|
const promises = pullPromises.get(url);
|
|
19
18
|
promises?.forEach((resolve) => resolve(data));
|
|
20
19
|
pullPromises.delete(url);
|
|
21
20
|
});
|
|
22
|
-
|
|
23
|
-
core_message.addListener("git-push", console.log);
|
|
24
|
-
|
|
25
21
|
addedListener = true;
|
|
26
22
|
}
|
|
27
23
|
|
|
28
24
|
// 81
|
|
29
25
|
export function gitAuthResponse(id: number, success: boolean) {
|
|
30
|
-
console.log(id, success);
|
|
31
26
|
const payload = new Uint8Array([81, ...serializeArgs([id, success])]);
|
|
32
27
|
bridge(payload);
|
|
33
28
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fullstacked",
|
|
3
|
-
"version": "0.12.0-
|
|
3
|
+
"version": "0.12.0-1200",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "node build.js",
|
|
6
6
|
"start": "npm run build && node index.js --lib ../../core/bin --root ~/FullStacked --config ~/.config/fullstacked --editor ../../out/editor",
|