Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Add new tools in `src/agent/tools.ts` using the tool builder:
// Example of a tool that requires confirmation
const searchDatabase = tool({
description: "Search the database for user records",
parameters: z.object({
inputSchema: z.object({
query: z.string(),
limit: z.number().optional(),
}),
Expand All @@ -168,7 +168,7 @@ const searchDatabase = tool({
// Example of an auto-executing tool
const getCurrentTime = tool({
description: "Get current server time",
parameters: z.object({}),
inputSchema: z.object({}),
execute: async () => new Date().toISOString(),
});
```
Expand Down
27 changes: 21 additions & 6 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,51 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"$schema": "https://biomejs.dev/schemas/2.3.1/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false,
"ignore": ["node_modules", "dist", "./worker-configuration.d.ts"]
"includes": [
"**",
"!**/node_modules",
"!**/dist",
"!worker-configuration.d.ts"
]
},
"formatter": {
"enabled": false,
"indentStyle": "tab"
},
"organizeImports": {
"enabled": true
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"noStaticElementInteractions": "off"
},
"style": {
"noNonNullAssertion": "off"
},
"correctness": {
"useUniqueElementIds": "off"
},
"suspicious": {
"noExplicitAny": "off"
"noExplicitAny": "off",
"noUnknownAtRules": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
},
"css": {
"parser": {
"tailwindDirectives": true
}
}
}
Loading