Skip to content

Commit d11a0cd

Browse files
committed
various refactors
1 parent 3e9cca7 commit d11a0cd

File tree

13 files changed

+37
-328
lines changed

13 files changed

+37
-328
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ovr is open source with the MIT license. Feel free to create an issue on GitHub
1111

1212
## Conventions
1313

14-
- Casing - try to match built-in methods/casing whenever possible
14+
- Casing - try to match built-in JS methods/casing whenever possible
1515
- Variables including constants are camelCase
1616
- Classes and types are PascalCase
1717
- File names are kebab-case

apps/docs/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616
"clsx": "^2.1.1",
1717
"dotenv": "^17.2.1",
1818
"drab": "^7.0.3",
19-
"openai": "^5.10.2",
19+
"openai": "^5.12.2",
2020
"ovr": "*",
2121
"uico": "^0.10.3",
22-
"zod": "^4.0.10"
22+
"zod": "^4.0.17"
2323
},
2424
"devDependencies": {
2525
"@domcojs/vercel": "^3.0.0",
26-
"@iconify-json/lucide": "^1.2.58",
26+
"@iconify-json/lucide": "^1.2.62",
2727
"@iconify/tailwind4": "^1.0.6",
2828
"@tailwindcss/vite": "^4.1.11",
2929
"domco": "^4.3.0",
3030
"tailwindcss": "^4.1.11",
31-
"vite": "^7.0.6"
31+
"vite": "^7.1.2"
3232
}
3333
}

apps/docs/src/server/demo/chat/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ async function* Poet(props: { message: string }) {
1414
const response = await client.responses.create({
1515
input: props.message,
1616
instructions: "You turn messages into poems.",
17-
model: "gpt-4.1-nano",
17+
model: "gpt-5-nano",
18+
reasoning: { effort: "minimal" },
19+
text: { verbosity: "low" },
1820
stream: true,
1921
});
2022

apps/docs/src/server/demo/chat/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ async function* Poet(props: { message: string }) {
1111
const response = await client.responses.create({
1212
input: props.message,
1313
instructions: "You turn messages into poems.",
14-
model: "gpt-4.1-nano",
14+
model: "gpt-5-nano",
15+
reasoning: { effort: "minimal" },
16+
text: { verbosity: "low" },
1517
stream: true,
1618
});
1719

apps/docs/src/server/demo/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ export * from "@/server/demo/parallel";
55
export * from "@/server/demo/form";
66
export * from "@/server/demo/layout";
77
export * from "@/server/demo/todo";
8-
export * from "@/server/demo/wordle";

apps/docs/src/server/demo/wordle/index.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

apps/docs/src/server/demo/wordle/index.tsx

Lines changed: 0 additions & 155 deletions
This file was deleted.

apps/docs/src/server/docs/09-libraries.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Have a library you'd recommend with ovr? Feel free to [submit a PR](https://gith
3838
## Utilities
3939

4040
- [cookie-es](https://github.com/unjs/cookie-es) - `Cookie` and `Set-Cookie` parser and serializer
41+
- [multipart-parser](https://www.npmjs.com/package/@remix-run/multipart-parser) - multipart form data parser for handling large file streams.
4142

4243
## Validation
4344

apps/docs/src/server/home/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Progressive HTML Rendering
77

88
Designed to optimize [Time-To-First-Byte](https://web.dev/articles/ttfb#what_is_ttfb), ovr evaluates components in parallel and streams HTML in order by producing an [`AsyncGenerator`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator) of HTML that feeds directly into the streamed response.
99

10-
For the following component:
10+
For example, for the following component:
1111

1212
```tsx
1313
function Component() {

apps/docs/src/server/home/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function* Features() {
5252
title: "Async Generator JSX",
5353
href: "/#introduction",
5454
content:
55-
"Create a stream of HTML with familiar JSX components, no client-side JS required.",
55+
"Stream HTML with familiar JSX components, no client-side JS required.",
5656
},
5757
{
5858
title: "Performance First",

0 commit comments

Comments
 (0)