-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating to include new UI components and claude-kit
- Loading branch information
1 parent
1e8c365
commit 7359faa
Showing
22 changed files
with
8,419 additions
and
5,893 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file added
BIN
+11.3 KB
.yarn/cache/@paulkinlan-claude-breadboard-kit-npm-2.2.3-0145c19318-40d97b3bd6.zip
Binary file not shown.
Binary file added
BIN
+5.04 KB
.yarn/cache/@rollup-plugin-virtual-npm-3.0.2-5fed342e86-962bc9efec.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+26 KB
.yarn/cache/vite-plugin-top-level-await-npm-1.3.1-d3a3de5f37-c4b19d91fb.zip
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
import '@anthropic-ai/sdk/shims/web' | ||
import { Panel } from './boards/the-panel'; | ||
|
||
|
||
const panel = new Panel(); | ||
panel.addCritic("Paul", "You are a member of the EFF (Electronic Frontier Foundation) and you are a privacy advocate"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,25 @@ | ||
import { config } from "dotenv"; | ||
import { defineConfig } from "vite"; | ||
import watchAndRun from "vite-plugin-watch-and-run"; | ||
import fullReload from "vite-plugin-full-reload"; | ||
import path from "path"; | ||
import wasm from "vite-plugin-wasm"; | ||
import topLevelAwait from "vite-plugin-top-level-await"; | ||
|
||
export const buildCustomAllowList = (value?: string) => { | ||
if (!value) return {}; | ||
return { fs: { allow: [value] } }; | ||
if (!value) return {}; | ||
return { fs: { allow: [value] } }; | ||
}; | ||
|
||
export default defineConfig(async (_) => { | ||
config(); | ||
return { | ||
build: { | ||
lib: { | ||
entry: { | ||
worker: "src/worker.ts", | ||
sample: "./index.html", | ||
}, | ||
name: "Breadboard Web Runtime", | ||
formats: ["es"], | ||
}, | ||
target: "esnext", | ||
}, | ||
server: { | ||
...buildCustomAllowList(process.env.VITE_FS_ALLOW), | ||
}, | ||
plugins: [ | ||
watchAndRun([ | ||
{ | ||
watch: path.resolve("src/boards/**/*.ts"), | ||
run: "npm run generate:graphs", | ||
}, | ||
]), | ||
fullReload(["public/*.json"]), | ||
], | ||
}; | ||
export default defineConfig({ | ||
build: { | ||
lib: { | ||
entry: { | ||
worker: "src/worker.ts", | ||
sample: "./index.html", | ||
}, | ||
name: "Breadboard Web Runtime", | ||
formats: ["es"], | ||
}, | ||
target: "esnext", | ||
}, | ||
worker: { | ||
plugins: [wasm(), topLevelAwait()] | ||
}, | ||
plugins: [wasm(), topLevelAwait()], | ||
}); |
Oops, something went wrong.