Skip to content
Open
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
7e8b73a
Add debug logger and tool call support for OpenAI API compatible tool…
Pablonara Jul 1, 2025
9f6835d
Remove debugging in production
Pablonara Jul 1, 2025
680fd24
Remove reasoning tag rendering for user logic as users will never out…
Pablonara Jul 1, 2025
eac8917
Fallback to assistiant rendering and warn in console instead if inval…
Pablonara Jul 1, 2025
993d2db
Change any[] to check with zod first
Pablonara Jul 1, 2025
2983918
Switch log to devLog (logging wrapper)
Pablonara Jul 1, 2025
69ffaed
Add tempfix for max recursion depth on toolcalls using prompt enginee…
Pablonara Jul 2, 2025
ea434dc
Fix issues with tool_calls blank array making model providers angry a…
Pablonara Jul 2, 2025
e244873
Fix hardcoded parameter assumption when sending search parameters
Pablonara Jul 2, 2025
6d9682a
More efficient DB querying
Pablonara Jul 2, 2025
58c9c21
Fix passing proper depth context to sysprompt
Pablonara Jul 2, 2025
dbf8eb5
Log if tool call fails (plausible if model is smaller)
Pablonara Jul 2, 2025
1637f32
Fix: Actually log an error in production using the correct function
Pablonara Jul 2, 2025
a6bdfb4
Fix tool message rendering \\n and add searchWeb tool!!!
Pablonara Jul 2, 2025
33789b1
fix weird zod shit and clean up
x4132 Jul 2, 2025
23fddc8
reorganize tool functions
x4132 Jul 2, 2025
8c66de9
further reorg, remove test tool, etc
x4132 Jul 2, 2025
1f4efc1
Fix CI
Pablonara Jul 2, 2025
472579a
client-side keys
x4132 Jul 5, 2025
50dbeda
new hooks
x4132 Jul 5, 2025
ab9b74a
Convert showcase videos from .mov to .mp4 format
x4132 Jul 8, 2025
fab11bb
Update docker-compose to healthcheck faster for faster boot times in …
Pablonara Jul 13, 2025
6a00cad
Add getPageContent for better tool calling
Pablonara Jul 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .cursorrules
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Project Rule: Zod Import Conventions

## Objective
Ensure consistent usage of Zod across the code-base:

1. **Server-side (backend) code** – _must_ import Zod from `"zod/v4"`.
2. **Client-side (frontend) code** – _must_ import Zod from `"zod/v4-mini"`.

## Scope
* **Server-side**: any TypeScript / TSX files under `src/` or other backend folders.
* **Client-side**: any files under `client/`.

## Guidelines
* When writing or modifying backend code, always use:
```ts
import { z } from "zod/v4";
```
* When writing or modifying frontend code, always use:
```ts
import { z } from "zod/v4-mini";
```
* Do **not** mix the two versions in the same file.
* If migrating an existing file, update its Zod import to follow these rules.

These rules apply to all future code generations and refactors.

# Project Rule: UI Kit (Client Side)
We use the latest version of shadcn. To install components from shadcn, use the command:
```shell
pnpm dlx shadcn@latest add <componentname>
```

Components will be installed in components/ui/... and can be imported with the @/components/ui/... etc.
Loading