From 850bb7b21f5f90b41d937396d89f4255c7ae41e7 Mon Sep 17 00:00:00 2001 From: Obaid Nadeem Date: Wed, 20 Nov 2024 04:01:35 +0500 Subject: [PATCH 01/14] Pull --- examples/nodejs/.env.baseai.example | 1 + examples/nodejs/.gitignore | 4 ++ examples/nodejs/package.json | 2 +- pnpm-lock.yaml | 62 ++++++++++++++++++++++++++--- 4 files changed, 63 insertions(+), 6 deletions(-) diff --git a/examples/nodejs/.env.baseai.example b/examples/nodejs/.env.baseai.example index 8c643651..b0d9e992 100644 --- a/examples/nodejs/.env.baseai.example +++ b/examples/nodejs/.env.baseai.example @@ -19,3 +19,4 @@ GROQ_API_KEY= MISTRAL_API_KEY= PERPLEXITY_API_KEY= TOGETHER_API_KEY= +XAI_API_KEY= diff --git a/examples/nodejs/.gitignore b/examples/nodejs/.gitignore index a0dbef56..a7d75ffe 100644 --- a/examples/nodejs/.gitignore +++ b/examples/nodejs/.gitignore @@ -79,3 +79,7 @@ assets/img/.DS_Store **/.baseai/ # env file .env +# baseai +**/.baseai/ +# env file +.env diff --git a/examples/nodejs/package.json b/examples/nodejs/package.json index e9d31330..dc419214 100644 --- a/examples/nodejs/package.json +++ b/examples/nodejs/package.json @@ -21,7 +21,7 @@ "dotenv": "^16.4.5" }, "devDependencies": { - "baseai": "^0.9.31", + "baseai": "0.9.29-snapshot.0", "tsx": "^4.19.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 865091ce..3f6f3d72 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -398,8 +398,8 @@ importers: version: 16.4.5 devDependencies: baseai: - specifier: ^0.9.31 - version: 0.9.31(@types/node@22.7.4)(typescript@5.6.2) + specifier: 0.9.29-snapshot.0 + version: 0.9.29-snapshot.0(@types/node@22.7.4)(typescript@5.6.2) tsx: specifier: ^4.19.0 version: 4.19.1 @@ -3704,8 +3704,12 @@ packages: base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - baseai@0.9.31: - resolution: {integrity: sha512-plJBLAFOdIuGkSHbpFhMwIdHBq4VUDAoxklgpfrro5DyVVD1maQzpWlH5TWWuH6lCUKz68Ix7mT7oByzGmDuGQ==} + baseai@0.9.27: + resolution: {integrity: sha512-SAAR+LfsrBuAKtwman7UiwYeGmm+0JuSim7cFYtYN73GdnZfrQFBiSRvhJc25sT47kaRcjhBKAXJ3AW1pmf8Kw==} + hasBin: true + + baseai@0.9.29-snapshot.0: + resolution: {integrity: sha512-A+Kr2MXFej5tqwusKY5jaEgdGk/hDRoqS/BTXpbBXM7HXfHto8cYYTH9MWgaruIJ9mnMkDgAs4nKJY4i0CzPeg==} hasBin: true basic-auth@2.0.1: @@ -12839,7 +12843,55 @@ snapshots: - supports-color - typescript - baseai@0.9.31(@types/node@22.7.4)(typescript@5.6.2): + baseai@0.9.27(@types/node@22.7.4)(typescript@5.6.2): + dependencies: + '@antfu/ni': 0.23.0 + '@clack/core': 0.3.4 + '@clack/prompts': 0.7.0 + '@hono/node-server': 1.13.1(hono@4.6.3) + '@hono/zod-openapi': 0.16.2(hono@4.6.3)(zod@3.23.8) + '@sindresorhus/slugify': 2.2.1 + camelcase: 8.0.0 + chalk: 5.3.0 + cli-alerts: 2.0.0 + cli-handle-error: 4.4.0 + cli-handle-unhandled: 1.1.1 + cli-meow-help: 4.0.0 + cli-table3: 0.6.5 + cli-welcome: 3.0.0 + compute-cosine-similarity: 1.1.0 + conf: 13.0.1 + cosmiconfig: 9.0.0(typescript@5.6.2) + cosmiconfig-typescript-loader: 5.0.0(@types/node@22.7.4)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) + dotenv: 16.4.5 + execa: 9.4.0 + figures: 6.1.0 + get-package-json-file: 2.0.0 + hono: 4.6.3 + js-tiktoken: 1.0.14 + log-symbols: 7.0.0 + lowdb: 7.0.1 + meow: 13.2.0 + node-fetch: 3.3.2 + open: 10.1.0 + openai: 4.67.1(zod@3.23.8) + p-map: 7.0.2 + picocolors: 1.1.0 + prettier: 3.3.3 + source-map-support: 0.5.21 + unpdf: 0.11.0 + uuid: 10.0.0 + xlsx: 0.18.5 + zod: 3.23.8 + zod-error: 1.5.0 + zod-validation-error: 3.4.0(zod@3.23.8) + transitivePeerDependencies: + - '@types/node' + - encoding + - supports-color + - typescript + + baseai@0.9.29-snapshot.0(@types/node@22.7.4)(typescript@5.6.2): dependencies: '@antfu/ni': 0.23.0 '@clack/core': 0.3.4 From 2630567910ee845c0ad5356eb6b4ee753eb48e89 Mon Sep 17 00:00:00 2001 From: Obaid Nadeem Date: Thu, 21 Nov 2024 04:13:53 +0500 Subject: [PATCH 02/14] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20Better=20Mobile=20V?= =?UTF-8?q?iew?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/baseai.dev/src/app/page.tsx | 8 +- apps/baseai.dev/src/components/home/hero.tsx | 17 ++-- apps/baseai.dev/src/components/home/webgl.tsx | 77 ++++++++++--------- apps/baseai.dev/src/styles/global.css | 7 ++ 4 files changed, 61 insertions(+), 48 deletions(-) diff --git a/apps/baseai.dev/src/app/page.tsx b/apps/baseai.dev/src/app/page.tsx index 86eb6538..c975995f 100644 --- a/apps/baseai.dev/src/app/page.tsx +++ b/apps/baseai.dev/src/app/page.tsx @@ -1,5 +1,9 @@ -import Hero from "@/components/home/hero"; +import Hero from '@/components/home/hero'; export default function Homepage() { - return ; + return ( +
+ +
+ ); } diff --git a/apps/baseai.dev/src/components/home/hero.tsx b/apps/baseai.dev/src/components/home/hero.tsx index 0d2978ae..6be1c15b 100644 --- a/apps/baseai.dev/src/components/home/hero.tsx +++ b/apps/baseai.dev/src/components/home/hero.tsx @@ -10,12 +10,9 @@ import WebGLInitializer from './webgl'; import Link from 'next/link'; const inter = Inter({ subsets: ['latin'] }); -export default function Hero({ }) { +export default function Hero({}) { return ( -
-
- -
+
); @@ -23,7 +20,7 @@ export default function Hero({ }) { function Content() { return ( -
+
@@ -40,9 +37,11 @@ function Content() {
-
+
+ +
-
+
+ ); }; -export default WebGLInitializer; \ No newline at end of file +export default WebGLInitializer; diff --git a/apps/baseai.dev/src/styles/global.css b/apps/baseai.dev/src/styles/global.css index babdfeba..7fb0d075 100644 --- a/apps/baseai.dev/src/styles/global.css +++ b/apps/baseai.dev/src/styles/global.css @@ -116,3 +116,10 @@ html { font-weight: normal; font-style: normal; } + +canvas { + width: 100%; + height: 100%; + display: block; +} + From acbc563faa1457eb1d0c8d17a6c34e968e0f975c Mon Sep 17 00:00:00 2001 From: Obaid Nadeem Date: Thu, 21 Nov 2024 04:30:38 +0500 Subject: [PATCH 03/14] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20Pnpm=20Lock=20Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pnpm-lock.yaml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3f6f3d72..96124e0e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -270,7 +270,7 @@ importers: version: 7.8.1(astro@4.15.10(@types/node@22.7.4)(rollup@4.24.0)(terser@5.34.1)(typescript@5.6.2))(next@14.2.5(@babel/core@7.25.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) '@baseai/core': specifier: ^0.9.31 - version: 0.9.31(react@18.3.1)(zod@3.23.8) + version: 0.9.32(react@18.3.1)(zod@3.23.8) '@radix-ui/react-slot': specifier: ^1.1.0 version: 1.1.0(@types/react@18.3.11)(react@18.3.1) @@ -313,13 +313,13 @@ importers: devDependencies: baseai: specifier: ^0.9.31 - version: 0.9.31(@types/node@22.7.4)(typescript@5.6.2) + version: 0.9.32(@types/node@22.7.4)(typescript@5.6.2) examples/nextjs: dependencies: '@baseai/core': specifier: ^0.9.31 - version: 0.9.31(react@18.3.1)(zod@3.23.8) + version: 0.9.32(react@18.3.1)(zod@3.23.8) '@radix-ui/react-slot': specifier: ^1.1.0 version: 1.1.0(@types/react@18.3.11)(react@18.3.1) @@ -368,7 +368,7 @@ importers: version: 18.3.0 baseai: specifier: ^0.9.31 - version: 0.9.31(@types/node@20.16.10)(typescript@5.6.2) + version: 0.9.32(@types/node@20.16.10)(typescript@5.6.2) eslint: specifier: ^8 version: 8.57.1 @@ -392,7 +392,7 @@ importers: dependencies: '@baseai/core': specifier: ^0.9.31 - version: 0.9.31(react@18.3.1)(zod@3.23.8) + version: 0.9.32(react@18.3.1)(zod@3.23.8) dotenv: specifier: ^16.4.5 version: 16.4.5 @@ -408,7 +408,7 @@ importers: dependencies: '@baseai/core': specifier: ^0.9.31 - version: 0.9.31(react@18.3.1)(zod@3.23.8) + version: 0.9.32(react@18.3.1)(zod@3.23.8) '@radix-ui/react-slot': specifier: ^1.1.0 version: 1.1.0(@types/react@18.3.11)(react@18.3.1) @@ -469,7 +469,7 @@ importers: version: 10.4.20(postcss@8.4.47) baseai: specifier: ^0.9.31 - version: 0.9.31(@types/node@22.7.4)(typescript@5.6.2) + version: 0.9.32(@types/node@22.7.4)(typescript@5.6.2) eslint: specifier: ^8.38.0 version: 8.57.1 @@ -1036,8 +1036,8 @@ packages: resolution: {integrity: sha512-vwIVdXG+j+FOpkwqHRcBgHLYNL7XMkufrlaFvL9o6Ai9sJn9+PdyIL5qa0XzTZw084c+u9LOls53eoZWP/W5WQ==} engines: {node: '>=6.9.0'} - '@baseai/core@0.9.31': - resolution: {integrity: sha512-MBQ3dl3pHbxMnc/AY/AkfxVet18So3iu9eP0LSkHV4gpe2bTHKvaLESY7q6JEV4FsKjqQXKaNq9L5YY7POds8g==} + '@baseai/core@0.9.32': + resolution: {integrity: sha512-KnMGJjF5mu5RhthbP6zC2RR9WsRVYdjpjv3/re/DD8aYd8ubcbIKNmQoVrpk1JlGIX39Yo6P5i72iYPWpfaxjA==} engines: {node: '>=18'} peerDependencies: react: ^18 || ^19 @@ -3704,14 +3704,14 @@ packages: base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - baseai@0.9.27: - resolution: {integrity: sha512-SAAR+LfsrBuAKtwman7UiwYeGmm+0JuSim7cFYtYN73GdnZfrQFBiSRvhJc25sT47kaRcjhBKAXJ3AW1pmf8Kw==} - hasBin: true - baseai@0.9.29-snapshot.0: resolution: {integrity: sha512-A+Kr2MXFej5tqwusKY5jaEgdGk/hDRoqS/BTXpbBXM7HXfHto8cYYTH9MWgaruIJ9mnMkDgAs4nKJY4i0CzPeg==} hasBin: true + baseai@0.9.32: + resolution: {integrity: sha512-hTSUD/x/89CEgFDqfDwAT4zGODGzB4RZuNBu/S8ZKUuyU244Op6YqfbfPahTD7vpKljf7M9kXH1UL/heR7KXOA==} + hasBin: true + basic-auth@2.0.1: resolution: {integrity: sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==} engines: {node: '>= 0.8'} @@ -9891,7 +9891,7 @@ snapshots: '@babel/helper-validator-identifier': 7.25.7 to-fast-properties: 2.0.0 - '@baseai/core@0.9.31(react@18.3.1)(zod@3.23.8)': + '@baseai/core@0.9.32(react@18.3.1)(zod@3.23.8)': dependencies: openai: 4.67.1(zod@3.23.8) optionalDependencies: @@ -12795,7 +12795,7 @@ snapshots: base64-js@1.5.1: {} - baseai@0.9.31(@types/node@20.16.10)(typescript@5.6.2): + baseai@0.9.29-snapshot.0(@types/node@22.7.4)(typescript@5.6.2): dependencies: '@antfu/ni': 0.23.0 '@clack/core': 0.3.4 @@ -12814,7 +12814,7 @@ snapshots: compute-cosine-similarity: 1.1.0 conf: 13.0.1 cosmiconfig: 9.0.0(typescript@5.6.2) - cosmiconfig-typescript-loader: 5.0.0(@types/node@20.16.10)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) + cosmiconfig-typescript-loader: 5.0.0(@types/node@22.7.4)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) dotenv: 16.4.5 execa: 9.4.0 figures: 6.1.0 @@ -12843,7 +12843,7 @@ snapshots: - supports-color - typescript - baseai@0.9.27(@types/node@22.7.4)(typescript@5.6.2): + baseai@0.9.32(@types/node@20.16.10)(typescript@5.6.2): dependencies: '@antfu/ni': 0.23.0 '@clack/core': 0.3.4 @@ -12862,7 +12862,7 @@ snapshots: compute-cosine-similarity: 1.1.0 conf: 13.0.1 cosmiconfig: 9.0.0(typescript@5.6.2) - cosmiconfig-typescript-loader: 5.0.0(@types/node@22.7.4)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) + cosmiconfig-typescript-loader: 5.0.0(@types/node@20.16.10)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) dotenv: 16.4.5 execa: 9.4.0 figures: 6.1.0 @@ -12891,7 +12891,7 @@ snapshots: - supports-color - typescript - baseai@0.9.29-snapshot.0(@types/node@22.7.4)(typescript@5.6.2): + baseai@0.9.32(@types/node@22.7.4)(typescript@5.6.2): dependencies: '@antfu/ni': 0.23.0 '@clack/core': 0.3.4 From 210858d0c80777f6b9870c7a79f676eecc5b7890 Mon Sep 17 00:00:00 2001 From: Obaid Nadeem Date: Thu, 21 Nov 2024 04:32:12 +0500 Subject: [PATCH 04/14] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20pnpm=20Lock=20Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pnpm-lock.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4dcfa91d..657e9835 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3704,11 +3704,6 @@ packages: base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - - baseai@0.9.32: - resolution: {integrity: sha512-hTSUD/x/89CEgFDqfDwAT4zGODGzB4RZuNBu/S8ZKUuyU244Op6YqfbfPahTD7vpKljf7M9kXH1UL/heR7KXOA==} - hasBin: true - baseai@0.9.32: resolution: {integrity: sha512-hTSUD/x/89CEgFDqfDwAT4zGODGzB4RZuNBu/S8ZKUuyU244Op6YqfbfPahTD7vpKljf7M9kXH1UL/heR7KXOA==} hasBin: true @@ -12815,7 +12810,7 @@ snapshots: compute-cosine-similarity: 1.1.0 conf: 13.0.1 cosmiconfig: 9.0.0(typescript@5.6.2) - cosmiconfig-typescript-loader: 5.0.0(@types/node@22.7.4)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) + cosmiconfig-typescript-loader: 5.0.0(@types/node@20.16.10)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) dotenv: 16.4.5 execa: 9.4.0 figures: 6.1.0 @@ -12844,8 +12839,7 @@ snapshots: - supports-color - typescript - - baseai@0.9.32(@types/node@22.7.4)(typescript@5.6.2): + baseai@0.9.32(@types/node@22.7.4)(typescript@5.6.2): dependencies: '@antfu/ni': 0.23.0 '@clack/core': 0.3.4 From 90091d749939c7bd589ad362d68b7160821c0a19 Mon Sep 17 00:00:00 2001 From: Saad Irfan Date: Thu, 21 Nov 2024 23:46:31 +0100 Subject: [PATCH 05/14] =?UTF-8?q?=F0=9F=93=A6=20NEW:=20Params=20for=20pipe?= =?UTF-8?q?.run()=20sdk=20support=20(#130)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/pipes/pipes.ts | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/packages/core/src/pipes/pipes.ts b/packages/core/src/pipes/pipes.ts index d7fdb6dd..b675ec2c 100644 --- a/packages/core/src/pipes/pipes.ts +++ b/packages/core/src/pipes/pipes.ts @@ -19,6 +19,7 @@ export interface RunOptions { threadId?: string; rawResponse?: boolean; runTools?: boolean; + name?: string; // Pipe name for SDK } export interface RunOptionsStream extends RunOptions { @@ -162,6 +163,7 @@ export class Pipe { private async handleStreamResponse( options: RunOptionsStream, response: RunResponseStream, + pipeName: string, ): Promise { const endpoint = '/v1/pipes/run'; const stream = this.isStreamRequested(options); @@ -216,6 +218,7 @@ export class Pipe { messages, threadId: currentResponse.threadId, }, + pipeName ); callCount++; @@ -244,6 +247,7 @@ export class Pipe { const modelProvider = getProvider(providerString); const isAnthropic = modelProvider === ANTHROPIC; const hasTools = this.pipe.tools.length > 0; + const pipeName = options.name || this.pipe.name; let stream = this.isStreamRequested(options); @@ -260,7 +264,7 @@ export class Pipe { let response = await this.createRequest< RunResponse | RunResponseStream - >(endpoint, body); + >(endpoint, body, pipeName); if (Object.entries(response).length === 0) { return {} as RunResponse | RunResponseStream; } @@ -277,6 +281,7 @@ export class Pipe { return await this.handleStreamResponse( options as RunOptionsStream, response as RunResponseStream, + pipeName ); } @@ -319,7 +324,7 @@ export class Pipe { messages, stream: false, threadId: currentResponse.threadId, - }); + }, pipeName); callCount++; @@ -338,17 +343,22 @@ export class Pipe { return currentResponse; } - private async createRequest(endpoint: string, body: any): Promise { + private async createRequest( + endpoint: string, + body: any, + pipeName?: string, + ): Promise { const isProdEnv = this.prod; const prodOptions = { endpoint, body: { ...body, - name: this.pipe.name, + name: pipeName || this.pipe.name, }, }; let localOptions = {} as any; + if (!isProdEnv) { const providerString = this.pipe.model.split(':')[0]; const modelProvider = getProvider(providerString); @@ -360,9 +370,7 @@ export class Pipe { llmApiKey: getLLMApiKey(modelProvider), }, }; - } - if (!isProdEnv) { const isServerRunning = await isLocalServerRunning(); if (!isServerRunning) return {} as T; } From 384ddbdb6d9a6169d8d1e10db9ff8daf342b8a34 Mon Sep 17 00:00:00 2001 From: msaaddev Date: Thu, 21 Nov 2024 23:47:51 +0100 Subject: [PATCH 06/14] =?UTF-8?q?=F0=9F=9A=80=20RELEASE:=20patch=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/baseai/CHANGELOG.md | 6 ++++++ packages/baseai/package.json | 2 +- packages/core/CHANGELOG.md | 6 ++++++ packages/core/package.json | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/baseai/CHANGELOG.md b/packages/baseai/CHANGELOG.md index e94fda03..4bbc2087 100644 --- a/packages/baseai/CHANGELOG.md +++ b/packages/baseai/CHANGELOG.md @@ -1,5 +1,11 @@ # baseai +## 0.9.33 + +### Patch Changes + +- 📦 NEW: Params for pipe.run() sdk support + ## 0.9.32 ### Patch Changes diff --git a/packages/baseai/package.json b/packages/baseai/package.json index f21a845b..0e1c22c1 100644 --- a/packages/baseai/package.json +++ b/packages/baseai/package.json @@ -1,7 +1,7 @@ { "name": "baseai", "description": "The Web AI Framework Dev - BaseAI.dev", - "version": "0.9.32", + "version": "0.9.33", "license": "UNLICENSED", "type": "module", "main": "./dist/index.js", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index dcf7b3d4..b2b793ec 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,11 @@ # `baseai` SDK +## 0.9.33 + +### Patch Changes + +- 📦 NEW: Params for pipe.run() sdk support + ## 0.9.32 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index c1a1053a..d2b950ff 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@baseai/core", "description": "The Web AI Framework's core - BaseAI.dev", - "version": "0.9.32", + "version": "0.9.33", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", From 113a77334f2ca2407cad4dce68558c37a3d5418c Mon Sep 17 00:00:00 2001 From: msaaddev Date: Thu, 21 Nov 2024 23:49:42 +0100 Subject: [PATCH 07/14] =?UTF-8?q?=F0=9F=91=8C=20IMPROVE:=20Bump=20packages?= =?UTF-8?q?=20versions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/astro/package.json | 4 ++-- examples/nextjs/package.json | 4 ++-- examples/nodejs/package.json | 4 ++-- examples/remix/package.json | 4 ++-- pnpm-lock.yaml | 46 ++++++++++++++++++------------------ 5 files changed, 31 insertions(+), 31 deletions(-) diff --git a/examples/astro/package.json b/examples/astro/package.json index e8fb44ab..bca1a46a 100644 --- a/examples/astro/package.json +++ b/examples/astro/package.json @@ -17,7 +17,7 @@ "@astrojs/react": "^3.6.2", "@astrojs/tailwind": "^5.1.1", "@astrojs/vercel": "^7.8.1", - "@baseai/core": "^0.9.32", + "@baseai/core": "^0.9.33", "@radix-ui/react-slot": "^1.1.0", "@types/react": "^18.3.9", "@types/react-dom": "^18.3.0", @@ -33,6 +33,6 @@ "typescript": "^5.6.2" }, "devDependencies": { - "baseai": "^0.9.32" + "baseai": "^0.9.33" } } diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 54befdb7..8bbafef7 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -11,7 +11,7 @@ "baseai": "baseai" }, "dependencies": { - "@baseai/core": "^0.9.32", + "@baseai/core": "^0.9.33", "@radix-ui/react-slot": "^1.1.0", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", @@ -29,7 +29,7 @@ "@types/node": "^20", "@types/react": "^18", "@types/react-dom": "^18", - "baseai": "^0.9.32", + "baseai": "^0.9.33", "eslint": "^8", "eslint-config-next": "14.2.5", "mini-css-extract-plugin": "^2.9.0", diff --git a/examples/nodejs/package.json b/examples/nodejs/package.json index 35524384..4c48ca12 100644 --- a/examples/nodejs/package.json +++ b/examples/nodejs/package.json @@ -17,11 +17,11 @@ "author": "Ahmad Awais (https://twitter.com/MrAhmadAwais)", "license": "UNLICENSED", "dependencies": { - "@baseai/core": "^0.9.32", + "@baseai/core": "^0.9.33", "dotenv": "^16.4.5" }, "devDependencies": { - "baseai": "^0.9.32", + "baseai": "^0.9.33", "tsx": "^4.19.0" } } diff --git a/examples/remix/package.json b/examples/remix/package.json index 00c851a4..dbd12357 100644 --- a/examples/remix/package.json +++ b/examples/remix/package.json @@ -13,7 +13,7 @@ "baseai": "baseai" }, "dependencies": { - "@baseai/core": "^0.9.32", + "@baseai/core": "^0.9.33", "@radix-ui/react-slot": "^1.1.0", "@remix-run/node": "2.12.0", "@remix-run/react": "2.12.0", @@ -35,7 +35,7 @@ "@typescript-eslint/parser": "^6.7.4", "@vercel/remix": "2.12.0", "autoprefixer": "^10.4.20", - "baseai": "^0.9.32", + "baseai": "^0.9.33", "eslint": "^8.38.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-import": "^2.28.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 657e9835..86fcb11d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -269,8 +269,8 @@ importers: specifier: ^7.8.1 version: 7.8.1(astro@4.15.10(@types/node@22.7.4)(rollup@4.24.0)(terser@5.34.1)(typescript@5.6.2))(next@14.2.5(@babel/core@7.25.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) '@baseai/core': - specifier: ^0.9.32 - version: 0.9.32(react@18.3.1)(zod@3.23.8) + specifier: ^0.9.33 + version: 0.9.33(react@18.3.1)(zod@3.23.8) '@radix-ui/react-slot': specifier: ^1.1.0 version: 1.1.0(@types/react@18.3.11)(react@18.3.1) @@ -312,14 +312,14 @@ importers: version: 5.6.2 devDependencies: baseai: - specifier: ^0.9.32 - version: 0.9.32(@types/node@22.7.4)(typescript@5.6.2) + specifier: ^0.9.33 + version: 0.9.33(@types/node@22.7.4)(typescript@5.6.2) examples/nextjs: dependencies: '@baseai/core': - specifier: ^0.9.32 - version: 0.9.32(react@18.3.1)(zod@3.23.8) + specifier: ^0.9.33 + version: 0.9.33(react@18.3.1)(zod@3.23.8) '@radix-ui/react-slot': specifier: ^1.1.0 version: 1.1.0(@types/react@18.3.11)(react@18.3.1) @@ -367,8 +367,8 @@ importers: specifier: ^18 version: 18.3.0 baseai: - specifier: ^0.9.32 - version: 0.9.32(@types/node@20.16.10)(typescript@5.6.2) + specifier: ^0.9.33 + version: 0.9.33(@types/node@20.16.10)(typescript@5.6.2) eslint: specifier: ^8 version: 8.57.1 @@ -391,15 +391,15 @@ importers: examples/nodejs: dependencies: '@baseai/core': - specifier: ^0.9.32 - version: 0.9.32(react@18.3.1)(zod@3.23.8) + specifier: ^0.9.33 + version: 0.9.33(react@18.3.1)(zod@3.23.8) dotenv: specifier: ^16.4.5 version: 16.4.5 devDependencies: baseai: - specifier: ^0.9.32 - version: 0.9.32(@types/node@22.7.4)(typescript@5.6.2) + specifier: ^0.9.33 + version: 0.9.33(@types/node@22.7.4)(typescript@5.6.2) tsx: specifier: ^4.19.0 version: 4.19.1 @@ -407,8 +407,8 @@ importers: examples/remix: dependencies: '@baseai/core': - specifier: ^0.9.32 - version: 0.9.32(react@18.3.1)(zod@3.23.8) + specifier: ^0.9.33 + version: 0.9.33(react@18.3.1)(zod@3.23.8) '@radix-ui/react-slot': specifier: ^1.1.0 version: 1.1.0(@types/react@18.3.11)(react@18.3.1) @@ -468,8 +468,8 @@ importers: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.47) baseai: - specifier: ^0.9.32 - version: 0.9.32(@types/node@22.7.4)(typescript@5.6.2) + specifier: ^0.9.33 + version: 0.9.33(@types/node@22.7.4)(typescript@5.6.2) eslint: specifier: ^8.38.0 version: 8.57.1 @@ -1036,8 +1036,8 @@ packages: resolution: {integrity: sha512-vwIVdXG+j+FOpkwqHRcBgHLYNL7XMkufrlaFvL9o6Ai9sJn9+PdyIL5qa0XzTZw084c+u9LOls53eoZWP/W5WQ==} engines: {node: '>=6.9.0'} - '@baseai/core@0.9.32': - resolution: {integrity: sha512-KnMGJjF5mu5RhthbP6zC2RR9WsRVYdjpjv3/re/DD8aYd8ubcbIKNmQoVrpk1JlGIX39Yo6P5i72iYPWpfaxjA==} + '@baseai/core@0.9.33': + resolution: {integrity: sha512-AupqofK69YY0drWpXxGOQNWQ0/JV7OrOd6J9Kytkr0dznn9E0e+s7KuqfYklCWhLkBy8NsjYRTQGk3hbplGUbg==} engines: {node: '>=18'} peerDependencies: react: ^18 || ^19 @@ -3704,8 +3704,8 @@ packages: base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - baseai@0.9.32: - resolution: {integrity: sha512-hTSUD/x/89CEgFDqfDwAT4zGODGzB4RZuNBu/S8ZKUuyU244Op6YqfbfPahTD7vpKljf7M9kXH1UL/heR7KXOA==} + baseai@0.9.33: + resolution: {integrity: sha512-pOluUwNOA0tH9FrYh7dWA9yYw25ccsvNhvyjHd3Ja1h9dkjHfaGpd87eiS0Vi8Vj92/ooASpvJui6RGBwScE5A==} hasBin: true basic-auth@2.0.1: @@ -9887,7 +9887,7 @@ snapshots: '@babel/helper-validator-identifier': 7.25.7 to-fast-properties: 2.0.0 - '@baseai/core@0.9.32(react@18.3.1)(zod@3.23.8)': + '@baseai/core@0.9.33(react@18.3.1)(zod@3.23.8)': dependencies: openai: 4.67.1(zod@3.23.8) optionalDependencies: @@ -12791,7 +12791,7 @@ snapshots: base64-js@1.5.1: {} - baseai@0.9.32(@types/node@20.16.10)(typescript@5.6.2): + baseai@0.9.33(@types/node@20.16.10)(typescript@5.6.2): dependencies: '@antfu/ni': 0.23.0 '@clack/core': 0.3.4 @@ -12839,7 +12839,7 @@ snapshots: - supports-color - typescript - baseai@0.9.32(@types/node@22.7.4)(typescript@5.6.2): + baseai@0.9.33(@types/node@22.7.4)(typescript@5.6.2): dependencies: '@antfu/ni': 0.23.0 '@clack/core': 0.3.4 From 563ccb5ba677e044279958c3457caef646599e90 Mon Sep 17 00:00:00 2001 From: Obaid Nadeem Date: Wed, 20 Nov 2024 04:01:35 +0500 Subject: [PATCH 08/14] Pull --- examples/nodejs/.env.baseai.example | 1 + examples/nodejs/.gitignore | 4 ++ examples/nodejs/package.json | 2 +- pnpm-lock.yaml | 62 ++++++++++++++++++++++++++--- 4 files changed, 63 insertions(+), 6 deletions(-) diff --git a/examples/nodejs/.env.baseai.example b/examples/nodejs/.env.baseai.example index 8c643651..b0d9e992 100644 --- a/examples/nodejs/.env.baseai.example +++ b/examples/nodejs/.env.baseai.example @@ -19,3 +19,4 @@ GROQ_API_KEY= MISTRAL_API_KEY= PERPLEXITY_API_KEY= TOGETHER_API_KEY= +XAI_API_KEY= diff --git a/examples/nodejs/.gitignore b/examples/nodejs/.gitignore index a0dbef56..a7d75ffe 100644 --- a/examples/nodejs/.gitignore +++ b/examples/nodejs/.gitignore @@ -79,3 +79,7 @@ assets/img/.DS_Store **/.baseai/ # env file .env +# baseai +**/.baseai/ +# env file +.env diff --git a/examples/nodejs/package.json b/examples/nodejs/package.json index 4c48ca12..f157eeea 100644 --- a/examples/nodejs/package.json +++ b/examples/nodejs/package.json @@ -21,7 +21,7 @@ "dotenv": "^16.4.5" }, "devDependencies": { - "baseai": "^0.9.33", + "baseai": "0.9.29-snapshot.0", "tsx": "^4.19.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 86fcb11d..28d806f4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -398,8 +398,8 @@ importers: version: 16.4.5 devDependencies: baseai: - specifier: ^0.9.33 - version: 0.9.33(@types/node@22.7.4)(typescript@5.6.2) + specifier: 0.9.29-snapshot.0 + version: 0.9.29-snapshot.0(@types/node@22.7.4)(typescript@5.6.2) tsx: specifier: ^4.19.0 version: 4.19.1 @@ -3704,8 +3704,12 @@ packages: base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - baseai@0.9.33: - resolution: {integrity: sha512-pOluUwNOA0tH9FrYh7dWA9yYw25ccsvNhvyjHd3Ja1h9dkjHfaGpd87eiS0Vi8Vj92/ooASpvJui6RGBwScE5A==} + baseai@0.9.27: + resolution: {integrity: sha512-SAAR+LfsrBuAKtwman7UiwYeGmm+0JuSim7cFYtYN73GdnZfrQFBiSRvhJc25sT47kaRcjhBKAXJ3AW1pmf8Kw==} + hasBin: true + + baseai@0.9.29-snapshot.0: + resolution: {integrity: sha512-A+Kr2MXFej5tqwusKY5jaEgdGk/hDRoqS/BTXpbBXM7HXfHto8cYYTH9MWgaruIJ9mnMkDgAs4nKJY4i0CzPeg==} hasBin: true basic-auth@2.0.1: @@ -12839,7 +12843,55 @@ snapshots: - supports-color - typescript - baseai@0.9.33(@types/node@22.7.4)(typescript@5.6.2): + baseai@0.9.27(@types/node@22.7.4)(typescript@5.6.2): + dependencies: + '@antfu/ni': 0.23.0 + '@clack/core': 0.3.4 + '@clack/prompts': 0.7.0 + '@hono/node-server': 1.13.1(hono@4.6.3) + '@hono/zod-openapi': 0.16.2(hono@4.6.3)(zod@3.23.8) + '@sindresorhus/slugify': 2.2.1 + camelcase: 8.0.0 + chalk: 5.3.0 + cli-alerts: 2.0.0 + cli-handle-error: 4.4.0 + cli-handle-unhandled: 1.1.1 + cli-meow-help: 4.0.0 + cli-table3: 0.6.5 + cli-welcome: 3.0.0 + compute-cosine-similarity: 1.1.0 + conf: 13.0.1 + cosmiconfig: 9.0.0(typescript@5.6.2) + cosmiconfig-typescript-loader: 5.0.0(@types/node@22.7.4)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) + dotenv: 16.4.5 + execa: 9.4.0 + figures: 6.1.0 + get-package-json-file: 2.0.0 + hono: 4.6.3 + js-tiktoken: 1.0.14 + log-symbols: 7.0.0 + lowdb: 7.0.1 + meow: 13.2.0 + node-fetch: 3.3.2 + open: 10.1.0 + openai: 4.67.1(zod@3.23.8) + p-map: 7.0.2 + picocolors: 1.1.0 + prettier: 3.3.3 + source-map-support: 0.5.21 + unpdf: 0.11.0 + uuid: 10.0.0 + xlsx: 0.18.5 + zod: 3.23.8 + zod-error: 1.5.0 + zod-validation-error: 3.4.0(zod@3.23.8) + transitivePeerDependencies: + - '@types/node' + - encoding + - supports-color + - typescript + + baseai@0.9.29-snapshot.0(@types/node@22.7.4)(typescript@5.6.2): dependencies: '@antfu/ni': 0.23.0 '@clack/core': 0.3.4 From 78d904c4fea9d3a949548017d3576384eb96cab4 Mon Sep 17 00:00:00 2001 From: Obaid Nadeem Date: Thu, 21 Nov 2024 04:13:53 +0500 Subject: [PATCH 09/14] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20Better=20Mobile=20V?= =?UTF-8?q?iew?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/baseai.dev/src/app/page.tsx | 8 +- apps/baseai.dev/src/components/home/hero.tsx | 17 ++-- apps/baseai.dev/src/components/home/webgl.tsx | 77 ++++++++++--------- apps/baseai.dev/src/styles/global.css | 7 ++ 4 files changed, 61 insertions(+), 48 deletions(-) diff --git a/apps/baseai.dev/src/app/page.tsx b/apps/baseai.dev/src/app/page.tsx index 86eb6538..c975995f 100644 --- a/apps/baseai.dev/src/app/page.tsx +++ b/apps/baseai.dev/src/app/page.tsx @@ -1,5 +1,9 @@ -import Hero from "@/components/home/hero"; +import Hero from '@/components/home/hero'; export default function Homepage() { - return ; + return ( +
+ +
+ ); } diff --git a/apps/baseai.dev/src/components/home/hero.tsx b/apps/baseai.dev/src/components/home/hero.tsx index 0d2978ae..6be1c15b 100644 --- a/apps/baseai.dev/src/components/home/hero.tsx +++ b/apps/baseai.dev/src/components/home/hero.tsx @@ -10,12 +10,9 @@ import WebGLInitializer from './webgl'; import Link from 'next/link'; const inter = Inter({ subsets: ['latin'] }); -export default function Hero({ }) { +export default function Hero({}) { return ( -
-
- -
+
); @@ -23,7 +20,7 @@ export default function Hero({ }) { function Content() { return ( -
+
@@ -40,9 +37,11 @@ function Content() {
-
+
+ +
-
+
+ ); }; -export default WebGLInitializer; \ No newline at end of file +export default WebGLInitializer; diff --git a/apps/baseai.dev/src/styles/global.css b/apps/baseai.dev/src/styles/global.css index babdfeba..7fb0d075 100644 --- a/apps/baseai.dev/src/styles/global.css +++ b/apps/baseai.dev/src/styles/global.css @@ -116,3 +116,10 @@ html { font-weight: normal; font-style: normal; } + +canvas { + width: 100%; + height: 100%; + display: block; +} + From 78b7e559e1b9f6266616bf1109073f36c5f25e7c Mon Sep 17 00:00:00 2001 From: Obaid Nadeem Date: Thu, 21 Nov 2024 04:30:38 +0500 Subject: [PATCH 10/14] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20Pnpm=20Lock=20Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pnpm-lock.yaml | 52 +++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 28d806f4..96124e0e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -269,8 +269,8 @@ importers: specifier: ^7.8.1 version: 7.8.1(astro@4.15.10(@types/node@22.7.4)(rollup@4.24.0)(terser@5.34.1)(typescript@5.6.2))(next@14.2.5(@babel/core@7.25.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) '@baseai/core': - specifier: ^0.9.33 - version: 0.9.33(react@18.3.1)(zod@3.23.8) + specifier: ^0.9.31 + version: 0.9.32(react@18.3.1)(zod@3.23.8) '@radix-ui/react-slot': specifier: ^1.1.0 version: 1.1.0(@types/react@18.3.11)(react@18.3.1) @@ -312,14 +312,14 @@ importers: version: 5.6.2 devDependencies: baseai: - specifier: ^0.9.33 - version: 0.9.33(@types/node@22.7.4)(typescript@5.6.2) + specifier: ^0.9.31 + version: 0.9.32(@types/node@22.7.4)(typescript@5.6.2) examples/nextjs: dependencies: '@baseai/core': - specifier: ^0.9.33 - version: 0.9.33(react@18.3.1)(zod@3.23.8) + specifier: ^0.9.31 + version: 0.9.32(react@18.3.1)(zod@3.23.8) '@radix-ui/react-slot': specifier: ^1.1.0 version: 1.1.0(@types/react@18.3.11)(react@18.3.1) @@ -367,8 +367,8 @@ importers: specifier: ^18 version: 18.3.0 baseai: - specifier: ^0.9.33 - version: 0.9.33(@types/node@20.16.10)(typescript@5.6.2) + specifier: ^0.9.31 + version: 0.9.32(@types/node@20.16.10)(typescript@5.6.2) eslint: specifier: ^8 version: 8.57.1 @@ -391,8 +391,8 @@ importers: examples/nodejs: dependencies: '@baseai/core': - specifier: ^0.9.33 - version: 0.9.33(react@18.3.1)(zod@3.23.8) + specifier: ^0.9.31 + version: 0.9.32(react@18.3.1)(zod@3.23.8) dotenv: specifier: ^16.4.5 version: 16.4.5 @@ -407,8 +407,8 @@ importers: examples/remix: dependencies: '@baseai/core': - specifier: ^0.9.33 - version: 0.9.33(react@18.3.1)(zod@3.23.8) + specifier: ^0.9.31 + version: 0.9.32(react@18.3.1)(zod@3.23.8) '@radix-ui/react-slot': specifier: ^1.1.0 version: 1.1.0(@types/react@18.3.11)(react@18.3.1) @@ -468,8 +468,8 @@ importers: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.47) baseai: - specifier: ^0.9.33 - version: 0.9.33(@types/node@22.7.4)(typescript@5.6.2) + specifier: ^0.9.31 + version: 0.9.32(@types/node@22.7.4)(typescript@5.6.2) eslint: specifier: ^8.38.0 version: 8.57.1 @@ -1036,8 +1036,8 @@ packages: resolution: {integrity: sha512-vwIVdXG+j+FOpkwqHRcBgHLYNL7XMkufrlaFvL9o6Ai9sJn9+PdyIL5qa0XzTZw084c+u9LOls53eoZWP/W5WQ==} engines: {node: '>=6.9.0'} - '@baseai/core@0.9.33': - resolution: {integrity: sha512-AupqofK69YY0drWpXxGOQNWQ0/JV7OrOd6J9Kytkr0dznn9E0e+s7KuqfYklCWhLkBy8NsjYRTQGk3hbplGUbg==} + '@baseai/core@0.9.32': + resolution: {integrity: sha512-KnMGJjF5mu5RhthbP6zC2RR9WsRVYdjpjv3/re/DD8aYd8ubcbIKNmQoVrpk1JlGIX39Yo6P5i72iYPWpfaxjA==} engines: {node: '>=18'} peerDependencies: react: ^18 || ^19 @@ -3704,14 +3704,14 @@ packages: base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - baseai@0.9.27: - resolution: {integrity: sha512-SAAR+LfsrBuAKtwman7UiwYeGmm+0JuSim7cFYtYN73GdnZfrQFBiSRvhJc25sT47kaRcjhBKAXJ3AW1pmf8Kw==} - hasBin: true - baseai@0.9.29-snapshot.0: resolution: {integrity: sha512-A+Kr2MXFej5tqwusKY5jaEgdGk/hDRoqS/BTXpbBXM7HXfHto8cYYTH9MWgaruIJ9mnMkDgAs4nKJY4i0CzPeg==} hasBin: true + baseai@0.9.32: + resolution: {integrity: sha512-hTSUD/x/89CEgFDqfDwAT4zGODGzB4RZuNBu/S8ZKUuyU244Op6YqfbfPahTD7vpKljf7M9kXH1UL/heR7KXOA==} + hasBin: true + basic-auth@2.0.1: resolution: {integrity: sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==} engines: {node: '>= 0.8'} @@ -9891,7 +9891,7 @@ snapshots: '@babel/helper-validator-identifier': 7.25.7 to-fast-properties: 2.0.0 - '@baseai/core@0.9.33(react@18.3.1)(zod@3.23.8)': + '@baseai/core@0.9.32(react@18.3.1)(zod@3.23.8)': dependencies: openai: 4.67.1(zod@3.23.8) optionalDependencies: @@ -12795,7 +12795,7 @@ snapshots: base64-js@1.5.1: {} - baseai@0.9.33(@types/node@20.16.10)(typescript@5.6.2): + baseai@0.9.29-snapshot.0(@types/node@22.7.4)(typescript@5.6.2): dependencies: '@antfu/ni': 0.23.0 '@clack/core': 0.3.4 @@ -12814,7 +12814,7 @@ snapshots: compute-cosine-similarity: 1.1.0 conf: 13.0.1 cosmiconfig: 9.0.0(typescript@5.6.2) - cosmiconfig-typescript-loader: 5.0.0(@types/node@20.16.10)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) + cosmiconfig-typescript-loader: 5.0.0(@types/node@22.7.4)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) dotenv: 16.4.5 execa: 9.4.0 figures: 6.1.0 @@ -12843,7 +12843,7 @@ snapshots: - supports-color - typescript - baseai@0.9.27(@types/node@22.7.4)(typescript@5.6.2): + baseai@0.9.32(@types/node@20.16.10)(typescript@5.6.2): dependencies: '@antfu/ni': 0.23.0 '@clack/core': 0.3.4 @@ -12862,7 +12862,7 @@ snapshots: compute-cosine-similarity: 1.1.0 conf: 13.0.1 cosmiconfig: 9.0.0(typescript@5.6.2) - cosmiconfig-typescript-loader: 5.0.0(@types/node@22.7.4)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) + cosmiconfig-typescript-loader: 5.0.0(@types/node@20.16.10)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) dotenv: 16.4.5 execa: 9.4.0 figures: 6.1.0 @@ -12891,7 +12891,7 @@ snapshots: - supports-color - typescript - baseai@0.9.29-snapshot.0(@types/node@22.7.4)(typescript@5.6.2): + baseai@0.9.32(@types/node@22.7.4)(typescript@5.6.2): dependencies: '@antfu/ni': 0.23.0 '@clack/core': 0.3.4 From 9d3bad297c02e4ca7ba99c2a2bdd4167a9ee0bdd Mon Sep 17 00:00:00 2001 From: Obaid Nadeem Date: Thu, 21 Nov 2024 04:32:12 +0500 Subject: [PATCH 11/14] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20pnpm=20Lock=20Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pnpm-lock.yaml | 52 -------------------------------------------------- 1 file changed, 52 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 96124e0e..a8906479 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3704,10 +3704,6 @@ packages: base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - baseai@0.9.29-snapshot.0: - resolution: {integrity: sha512-A+Kr2MXFej5tqwusKY5jaEgdGk/hDRoqS/BTXpbBXM7HXfHto8cYYTH9MWgaruIJ9mnMkDgAs4nKJY4i0CzPeg==} - hasBin: true - baseai@0.9.32: resolution: {integrity: sha512-hTSUD/x/89CEgFDqfDwAT4zGODGzB4RZuNBu/S8ZKUuyU244Op6YqfbfPahTD7vpKljf7M9kXH1UL/heR7KXOA==} hasBin: true @@ -12796,54 +12792,6 @@ snapshots: base64-js@1.5.1: {} baseai@0.9.29-snapshot.0(@types/node@22.7.4)(typescript@5.6.2): - dependencies: - '@antfu/ni': 0.23.0 - '@clack/core': 0.3.4 - '@clack/prompts': 0.7.0 - '@hono/node-server': 1.13.1(hono@4.6.3) - '@hono/zod-openapi': 0.16.2(hono@4.6.3)(zod@3.23.8) - '@sindresorhus/slugify': 2.2.1 - camelcase: 8.0.0 - chalk: 5.3.0 - cli-alerts: 2.0.0 - cli-handle-error: 4.4.0 - cli-handle-unhandled: 1.1.1 - cli-meow-help: 4.0.0 - cli-table3: 0.6.5 - cli-welcome: 3.0.0 - compute-cosine-similarity: 1.1.0 - conf: 13.0.1 - cosmiconfig: 9.0.0(typescript@5.6.2) - cosmiconfig-typescript-loader: 5.0.0(@types/node@22.7.4)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) - dotenv: 16.4.5 - execa: 9.4.0 - figures: 6.1.0 - get-package-json-file: 2.0.0 - hono: 4.6.3 - js-tiktoken: 1.0.14 - log-symbols: 7.0.0 - lowdb: 7.0.1 - meow: 13.2.0 - node-fetch: 3.3.2 - open: 10.1.0 - openai: 4.67.1(zod@3.23.8) - p-map: 7.0.2 - picocolors: 1.1.0 - prettier: 3.3.3 - source-map-support: 0.5.21 - unpdf: 0.11.0 - uuid: 10.0.0 - xlsx: 0.18.5 - zod: 3.23.8 - zod-error: 1.5.0 - zod-validation-error: 3.4.0(zod@3.23.8) - transitivePeerDependencies: - - '@types/node' - - encoding - - supports-color - - typescript - - baseai@0.9.32(@types/node@20.16.10)(typescript@5.6.2): dependencies: '@antfu/ni': 0.23.0 '@clack/core': 0.3.4 From a7e3cc1d576086cf9d8c881a1e44c984329b06d2 Mon Sep 17 00:00:00 2001 From: Obaid Nadeem Date: Sat, 23 Nov 2024 02:28:15 +0500 Subject: [PATCH 12/14] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20Hero=20Margin=20Top?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/baseai.dev/src/components/home/hero.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/baseai.dev/src/components/home/hero.tsx b/apps/baseai.dev/src/components/home/hero.tsx index 6be1c15b..db940925 100644 --- a/apps/baseai.dev/src/components/home/hero.tsx +++ b/apps/baseai.dev/src/components/home/hero.tsx @@ -20,7 +20,7 @@ export default function Hero({}) { function Content() { return ( -
+
From a454c713691db26bec1cc11f18cc59e0798db361 Mon Sep 17 00:00:00 2001 From: "Dev@Langbase.com" Date: Sat, 23 Nov 2024 02:32:56 +0500 Subject: [PATCH 13/14] =?UTF-8?q?=F0=9F=93=A6=20NEW:=20DEPLOY:=20?= =?UTF-8?q?=F0=9F=90=9B=20FIX:=20Hero=20Margin=20Top?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Obaid Nadeem --- DEPLOY | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEPLOY b/DEPLOY index 2cab3b28..5023c147 100644 --- a/DEPLOY +++ b/DEPLOY @@ -1 +1 @@ -Deployment at: Thu Oct 31 22:47:48 CET 2024 +Deployment at: Sat, Nov 23, 2024 2:32:56 AM From bcf8009010466713fcbf2278c08626a967ce2dcc Mon Sep 17 00:00:00 2001 From: "Dev@Langbase.com" Date: Sat, 23 Nov 2024 02:36:22 +0500 Subject: [PATCH 14/14] =?UTF-8?q?=F0=9F=93=A6=20NEW:=20DEPLOY:=20Merge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Obaid Nadeem --- DEPLOY | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEPLOY b/DEPLOY index 5023c147..22ab22f3 100644 --- a/DEPLOY +++ b/DEPLOY @@ -1 +1 @@ -Deployment at: Sat, Nov 23, 2024 2:32:56 AM +Deployment at: Sat, Nov 23, 2024 2:36:22 AM