fullstacked 0.12.0-1207 → 0.12.0-1213
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/index.d.ts +0 -0
- package/fullstacked_modules/ai/index.d.ts +3 -2
- package/fullstacked_modules/archive/index.d.ts +3 -2
- package/fullstacked_modules/archive/index.ts +0 -1
- package/fullstacked_modules/bridge/index.d.ts +0 -0
- package/fullstacked_modules/bridge/serialization.ts +1 -1
- package/fullstacked_modules/components/index.d.ts +0 -0
- package/fullstacked_modules/config/index.d.ts +0 -0
- package/fullstacked_modules/connect/index.d.ts +3 -2
- package/fullstacked_modules/core_message/index.d.ts +0 -0
- package/fullstacked_modules/esbuild/index.d.ts +0 -0
- package/fullstacked_modules/esbuild/sass.ts +1 -1
- package/fullstacked_modules/fetch/index.d.ts +3 -2
- package/fullstacked_modules/fetch/index.ts +6 -2
- package/fullstacked_modules/fs/index.d.ts +3 -2
- package/fullstacked_modules/fullstacked.d.ts +13 -0
- package/fullstacked_modules/git/index.d.ts +0 -0
- package/fullstacked_modules/packages/index.d.ts +0 -0
- package/fullstacked_modules/platform/index.d.ts +3 -2
- package/fullstacked_modules/sass/index.d.ts +0 -0
- package/index.js +9 -3
- package/package.json +6 -1
- package/fullstacked_modules/@fullstacked/ai-agent/chat.json +0 -1
|
File without changes
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import ".";
|
|
2
|
-
|
|
1
|
+
import * as ai from ".";
|
|
2
|
+
export default ai;
|
|
3
|
+
export * from ".";
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
|
|
1
|
+
import * as archive from "./archive";
|
|
2
|
+
export default archive;
|
|
3
|
+
export * from "./archive";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import ".";
|
|
2
|
-
|
|
1
|
+
import * as connect from ".";
|
|
2
|
+
export default connect;
|
|
3
|
+
export * from ".";
|
|
File without changes
|
|
File without changes
|
|
@@ -11,7 +11,7 @@ export async function buildSASS(
|
|
|
11
11
|
},
|
|
12
12
|
project?: Project
|
|
13
13
|
): Promise<Partial<Message>> {
|
|
14
|
-
const baseDirectory = project?.id || "";
|
|
14
|
+
const baseDirectory = project?.id || ".";
|
|
15
15
|
|
|
16
16
|
const writeOutputCSS = async (css: string) => {
|
|
17
17
|
const buildDirectory = baseDirectory
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import ".";
|
|
2
|
-
|
|
1
|
+
import * as fetch from ".";
|
|
2
|
+
export default fetch;
|
|
3
|
+
export * from ".";
|
|
@@ -46,6 +46,8 @@ function receivedResponse(base64Data: string) {
|
|
|
46
46
|
const id = args.at(0);
|
|
47
47
|
const fetchRequest = activeFetchRequests.get(id);
|
|
48
48
|
|
|
49
|
+
if (!fetchRequest) return;
|
|
50
|
+
|
|
49
51
|
const [statusCode, statusMessage, headersStr, body] = args.slice(1);
|
|
50
52
|
|
|
51
53
|
const response: ResponseSimplified = {
|
|
@@ -136,6 +138,8 @@ function receivedResponse2(base64Data: string) {
|
|
|
136
138
|
const id = args.at(0);
|
|
137
139
|
const request = activeFetch2Requests.get(id);
|
|
138
140
|
|
|
141
|
+
if (!request) return;
|
|
142
|
+
|
|
139
143
|
if (request.resolveStream) {
|
|
140
144
|
const [done, chunk] = args.slice(1);
|
|
141
145
|
request.resolveStream({ done, chunk });
|
|
@@ -221,8 +225,8 @@ function receivedResponse2(base64Data: string) {
|
|
|
221
225
|
},
|
|
222
226
|
|
|
223
227
|
// not implemented
|
|
224
|
-
clone: () => null,
|
|
225
|
-
formData: async () => null
|
|
228
|
+
clone: () => null as unknown as Response,
|
|
229
|
+
formData: async () => null as unknown as FormData
|
|
226
230
|
};
|
|
227
231
|
|
|
228
232
|
request.resolveResponse(response);
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import "
|
|
2
|
-
|
|
1
|
+
import * as fs from "./fs";
|
|
2
|
+
export default fs;
|
|
3
|
+
export * from "./fs";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./ai";
|
|
2
|
+
import "./archive";
|
|
3
|
+
import "./connect";
|
|
4
|
+
import "./fetch";
|
|
5
|
+
import "./fs";
|
|
6
|
+
import "./platform";
|
|
7
|
+
declare module "ai";
|
|
8
|
+
declare module "archive";
|
|
9
|
+
declare module "connect";
|
|
10
|
+
declare module "fetch";
|
|
11
|
+
declare module "fs";
|
|
12
|
+
//@ts-ignore
|
|
13
|
+
declare module "platform";
|
|
File without changes
|
|
File without changes
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import ".";
|
|
2
|
-
|
|
1
|
+
import * as platform from ".";
|
|
2
|
+
export default platform;
|
|
3
|
+
export * from ".";
|
|
File without changes
|
package/index.js
CHANGED
|
@@ -399,7 +399,7 @@ import { promises } from "node:fs";
|
|
|
399
399
|
// ../../fullstacked_modules/esbuild/sass.ts
|
|
400
400
|
import * as sass from "sass";
|
|
401
401
|
async function buildSASS(fs3, project) {
|
|
402
|
-
const baseDirectory = project?.id || "";
|
|
402
|
+
const baseDirectory = project?.id || ".";
|
|
403
403
|
const writeOutputCSS = async (css) => {
|
|
404
404
|
const buildDirectory = baseDirectory ? `${baseDirectory}/.build` : ".build";
|
|
405
405
|
await fs3.mkdir(buildDirectory);
|
|
@@ -612,8 +612,14 @@ var defaultTsConfig = {
|
|
|
612
612
|
moduleResolution: "Node10",
|
|
613
613
|
allowJs: true,
|
|
614
614
|
lib: ["dom", "dom.iterable", "es2023"],
|
|
615
|
-
|
|
616
|
-
|
|
615
|
+
jsx: "react",
|
|
616
|
+
paths: {
|
|
617
|
+
"*": ["./node_modules/fullstacked/fullstacked_modules/*"]
|
|
618
|
+
},
|
|
619
|
+
typeRoots: [
|
|
620
|
+
"./node_modules/fullstacked/fullstacked_modules",
|
|
621
|
+
"./node_modules/@types"
|
|
622
|
+
]
|
|
617
623
|
}
|
|
618
624
|
};
|
|
619
625
|
var defaultGitignore = `node_modules
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fullstacked",
|
|
3
|
-
"version": "0.12.0-
|
|
3
|
+
"version": "0.12.0-1213",
|
|
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",
|
|
@@ -25,6 +25,11 @@
|
|
|
25
25
|
"@types/ws": "^8.5.13",
|
|
26
26
|
"node-addon-api": "^8.3.1"
|
|
27
27
|
},
|
|
28
|
+
"overrides": {
|
|
29
|
+
"cli-progress": {
|
|
30
|
+
"string-width": "^8.1.0"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
28
33
|
"author": "FullStacked",
|
|
29
34
|
"license": "MIT",
|
|
30
35
|
"description": "Create, run and share projects built with web technologies in a fully cross-platform, local-first environment.",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"type":"human","data":{"content":"what the content of story.txt?","additional_kwargs":{},"response_metadata":{}}},{"type":"ai","data":{"content":"<think>\nOkay, the user is asking for the content of a file called story.txt. Let me check the tools available. There's a ReadFile function that takes a path parameter. So I need to call that function with the path set to \"story.txt\". I should make sure the path is correct and the file exists. Since the user is asking specifically about story.txt, I don't need to do anything else except use the ReadFile function with that path. Let me structure the tool call properly.\n</think>\n\n","additional_kwargs":{},"response_metadata":{"model":"qwen3:8b","created_at":"2025-07-31T16:19:45.325202883Z","done_reason":"stop","done":true,"total_duration":25031934804,"load_duration":4390703002,"prompt_eval_count":206,"prompt_eval_duration":8109112003,"eval_count":125,"eval_duration":12528890465},"tool_call_chunks":[{"name":"ReadFile","args":"{\"path\":\"story.txt\"}","type":"tool_call_chunk","index":0,"id":"8c36106e-98af-4a16-9628-f3ec1d99bf59"}],"usage_metadata":{"input_tokens":206,"output_tokens":125,"total_tokens":331},"tool_calls":[{"name":"ReadFile","args":{"path":"story.txt"},"id":"8c36106e-98af-4a16-9628-f3ec1d99bf59","type":"tool_call"}],"invalid_tool_calls":[]}},{"type":"tool","data":{"content":"Once upon a time, in a land far away, there was a curious little fox named Felix. Felix had a peculiar habit of collecting shiny objects. One day, while exploring the forest, he stumbled upon a magical mirror that showed not his reflection, but his deepest desires.\n\nFelix looked into the mirror and saw himself as a mighty king, ruling over a grand kingdom. He wished for that life instantly. The mirror granted his wish, and suddenly, Felix was a king with a golden crown and a kingdom of his own.\n\nBut as days passed, Felix realized that being a king was lonely. He missed the simplicity of his forest life. One day, he decided to return to the mirror and wished to be himself again. The mirror, surprised by his honesty, granted his wish and returned him to the forest.\n\nFrom that day on, Felix learned that true happiness comes from being himself, not from what he desires. And so, he continued his adventures, collecting shiny objects, but always remembering the lesson he learned from the magical mirror.","tool_call_id":"8c36106e-98af-4a16-9628-f3ec1d99bf59","name":"ReadFile","additional_kwargs":{},"response_metadata":{"user-defined-message":"Reading story.txt"}}},{"type":"ai","data":{"content":"<think>\n</think>\n\nThe content of the file \"story.txt\" is as follows:\n\n---\n\nOnce upon a time, in a land far away, there was a curious little fox named Felix. Felix had a peculiar habit of collecting shiny objects. One day, while exploring the forest, he stumbled upon a magical mirror that showed not his reflection, but his deepest desires.\n\nFelix looked into the mirror and saw himself as a mighty king, ruling over a grand kingdom. He wished for that life instantly. The mirror granted his wish, and suddenly, Felix was a king with a golden crown and a kingdom of his own.\n\nBut as days passed, Felix realized that being a king was lonely. He missed the simplicity of his forest life. One day, he decided to return to the mirror and wished to be himself again. The mirror, surprised by his honesty, granted his wish and returned him to the forest.\n\nFrom that day on, Felix learned that true happiness comes from being himself, not from what he desires. And so, he continued his adventures, collecting shiny objects, but always remembering the lesson he learned from the magical mirror.\n\n---","additional_kwargs":{},"response_metadata":{"model":"qwen3:8b","created_at":"2025-07-31T16:20:13.836205883Z","done_reason":"stop","done":true,"total_duration":28495883305,"load_duration":39413458,"prompt_eval_count":532,"prompt_eval_duration":8563310838,"eval_count":229,"eval_duration":19874104717},"tool_call_chunks":[],"usage_metadata":{"input_tokens":532,"output_tokens":229,"total_tokens":761},"tool_calls":[],"invalid_tool_calls":[]}}]
|