File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,8 +308,6 @@ const titleMetadata = useQuery(
308308│ ├── start-runt-dev.sh
309309│ ├── test-api-key-flow.sh
310310│ ├── test-api-keys.sh
311- │ ├── use-runt.sh
312- │ └── watch-script.cjs
313311├── src
314312│ ├── auth
315313│ │ ├── AuthGuard.tsx
Original file line number Diff line number Diff line change @@ -147,56 +147,6 @@ commands.
147147** Multi-language Support** - The runtime architecture already supports other
148148languages with custom runtime agents. We just need UI updates!
149149
150- ## Local Development
151-
152- ### Schema Linking for Development
153-
154- The ` @runtimed/schema ` package provides shared types and events for Anode. Use the appropriate linking method based on your development phase:
155-
156- ** Production (JSR Package)** :
157-
158- ``` bash
159- pnpm use-runt prod
160- ```
161-
162- Should update package.json to:
163-
164- ``` json
165- "@runtimed/schema" : " ^0.1.0"
166- ```
167-
168- ** Testing PR Changes (GitHub Reference)** :
169-
170- ``` bash
171- pnpm use-runt main
172- ```
173-
174- Should update package.json to use the hash of whatever is on ` main ` in the ` runt ` package:
175-
176- ``` json
177- "@runtimed/schema" : " workspace:*"
178- ```
179-
180- ** Local Development (File Link)** :
181-
182- ``` bash
183- pnpm use-runt local
184- ```
185-
186- Should update packages.json to use the local version of ` runt ` :
187-
188- ``` json
189- "@runtimed/schema" : " workspace:*"
190- ```
191-
192- ** To switch between modes:**
193-
194- 1 . Update ` package.json ` with the appropriate schema reference
195- 2 . Run ` pnpm install ` to update dependencies
196- 3 . Restart UI development server (` pnpm dev ` )
197-
198- ** Important** : Ensure both repositories use compatible schema versions. Type errors usually indicate schema mismatches.
199-
200150## 🚀 Groq AI Integration
201151
202152Anode supports ** Groq** as a first-class AI provider alongside OpenAI and Ollama, offering high-speed inference with advanced models.
Original file line number Diff line number Diff line change 99 }
1010 },
1111 {
12- "name" : " iframe-outputs " ,
12+ "name" : " runtime " ,
1313 "script" : " pnpm" ,
14- "args" : " run dev:iframe " ,
14+ "args" : " run dev:runtime " ,
1515 "env" : {
1616 "NODE_ENV" : " development"
1717 }
1818 },
1919 {
20- "name" : " sync " ,
20+ "name" : " iframe-outputs " ,
2121 "script" : " pnpm" ,
22- "args" : " run dev:sync " ,
22+ "args" : " run dev:iframe " ,
2323 "env" : {
2424 "NODE_ENV" : " development"
2525 }
2626 },
2727 {
28- "name" : " watcher " ,
29- "script" : " node " ,
30- "args" : " scripts/watch-script.cjs " ,
28+ "name" : " sync " ,
29+ "script" : " pnpm " ,
30+ "args" : " run dev:sync " ,
3131 "env" : {
3232 "NODE_ENV" : " development"
3333 }
Original file line number Diff line number Diff line change 1919 "dev:runtime" : " ./scripts/dev-runtime.sh" ,
2020 "build:iframe" : " cd iframe-outputs && vite build" ,
2121 "build" : " vite build --mode development" ,
22- "use-runt" : " ./scripts/use-runt.sh" ,
2322 "build:preview" : " vite build --mode preview" ,
2423 "build:production" : " ./scripts/optimize-build.sh && vite build --mode production" ,
2524 "build:production:fast" : " vite build --mode production" ,
Original file line number Diff line number Diff line change 1- # Source the .env file to get VITE_RUNTIME_COMMAND
2- if [ -f " .env" ]; then
3- echo " Sourcing .env file"
4- source .env
5- fi
6-
7- # 🚨 IMPORTANT: We're overriding the runtime command here to avoid it breaking by accident
8- export VITE_RUNTIME_COMMAND=" deno run --allow-all --unstable-broadcast-channel --env-file=../anode/.env ../runt/packages/pyodide-runtime-agent/src/mod.ts"
91export DEV_PORT=${ANODE_DEV_SERVER_PORT:- 5173}
102export NOTEBOOK_ID=$( openssl rand -hex 8)
113
Original file line number Diff line number Diff line change 44DEV_PORT=${ANODE_DEV_SERVER_PORT:- 5173}
55export ANODE_DEV_SERVER_PORT=$DEV_PORT
66
7- # export VITE_RUNTIME_COMMAND="deno run --allow-all --unstable-broadcast-channel --env-file=../anode/.env ../runt/packages/pyodide-runtime-agent/src/mod.ts"
8-
9- # Use runt local
10- echo " 🔄 Using runt local..."
11- pnpm use-runt local
12-
137echo " 🚀 Starting Anode development environment with PM2 (single-server setup)..."
148echo " 📡 Using port: $DEV_PORT "
159
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments