messages listlengths 2 2 | tool stringclasses 6
values | query stringlengths 18 125 | expected_arguments unknown |
|---|---|---|---|
[
{
"role": "user",
"content": "The file is named modes.ts. It is under src/agents/reasoning. Read it from the beginning."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"pat... | read | The file is named modes.ts. It is under src/agents/reasoning. Read it from the beginning. | {
"path": "src/agents/reasoning/modes.ts"
} |
[
{
"role": "user",
"content": "Open src/agents/reasoning/modes.ts and show the first 15 lines."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/agents/reasonin... | read | Open src/agents/reasoning/modes.ts and show the first 15 lines. | {
"path": "src/agents/reasoning/modes.ts",
"offset": 1,
"limit": 15
} |
[
{
"role": "user",
"content": "Folder: src/agents/reasoning. File: modes.ts. Start at line 20 and return 10 lines."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \... | read | Folder: src/agents/reasoning. File: modes.ts. Start at line 20 and return 10 lines. | {
"path": "src/agents/reasoning/modes.ts",
"offset": 20,
"limit": 10
} |
[
{
"role": "user",
"content": "Read planner.ts inside src/agents, beginning at line 50. No line limit is needed."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"s... | read | Read planner.ts inside src/agents, beginning at line 50. No line limit is needed. | {
"path": "src/agents/planner.ts",
"offset": 50
} |
[
{
"role": "user",
"content": "Read src/tools/runner.ts, but only lines 30 through 44."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/tools/runner.ts\", \"of... | read | Read src/tools/runner.ts, but only lines 30 through 44. | {
"path": "src/tools/runner.ts",
"offset": 30,
"limit": 15
} |
[
{
"role": "user",
"content": "I need the contents of config/model.ts. Don't skip any lines and don't cap the output."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\"... | read | I need the contents of config/model.ts. Don't skip any lines and don't cap the output. | {
"path": "config/model.ts"
} |
[
{
"role": "user",
"content": "The directory is src/runtime and the filename is session.ts. Read from line 100 for 12 lines."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\... | read | The directory is src/runtime and the filename is session.ts. Read from line 100 for 12 lines. | {
"path": "src/runtime/session.ts",
"offset": 100,
"limit": 12
} |
[
{
"role": "user",
"content": "Show me the beginning of src/index.ts."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/index.ts\"}"
}
}
]
}... | read | Show me the beginning of src/index.ts. | {
"path": "src/index.ts"
} |
[
{
"role": "user",
"content": "From src/cli/options.ts, give me 25 lines starting at line 5."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/cli/options.ts\",... | read | From src/cli/options.ts, give me 25 lines starting at line 5. | {
"path": "src/cli/options.ts",
"offset": 5,
"limit": 25
} |
[
{
"role": "user",
"content": "Read the file called edit.ts in src/agents/tools. Start at line 75."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/agents/tool... | read | Read the file called edit.ts in src/agents/tools. Start at line 75. | {
"path": "src/agents/tools/edit.ts",
"offset": 75
} |
[
{
"role": "user",
"content": "Open src/fs/workspace.ts and return exactly 8 lines beginning at line 2."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/fs/wor... | read | Open src/fs/workspace.ts and return exactly 8 lines beginning at line 2. | {
"path": "src/fs/workspace.ts",
"offset": 2,
"limit": 8
} |
[
{
"role": "user",
"content": "File: formatter.ts. Folder: src/services. Read lines 40-54."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/services/formatter.... | read | File: formatter.ts. Folder: src/services. Read lines 40-54. | {
"path": "src/services/formatter.ts",
"offset": 40,
"limit": 15
} |
[
{
"role": "user",
"content": "Read src/models/user.ts starting from its first line, with a limit of 12."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/model... | read | Read src/models/user.ts starting from its first line, with a limit of 12. | {
"path": "src/models/user.ts",
"offset": 1,
"limit": 12
} |
[
{
"role": "user",
"content": "Look at src/hooks/useAgent.ts. I want the section beginning around line 60; return 7 lines."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"p... | read | Look at src/hooks/useAgent.ts. I want the section beginning around line 60; return 7 lines. | {
"path": "src/hooks/useAgent.ts",
"offset": 60,
"limit": 7
} |
[
{
"role": "user",
"content": "Read validation/schema.ts under src/validation. Start at line 90 and read 20 lines."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \... | read | Read validation/schema.ts under src/validation. Start at line 90 and read 20 lines. | {
"path": "src/validation/schema.ts",
"offset": 90,
"limit": 20
} |
[
{
"role": "user",
"content": "Give me the complete contents of src/types/tool.ts."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/types/tool.ts\"}"
}... | read | Give me the complete contents of src/types/tool.ts. | {
"path": "src/types/tool.ts"
} |
[
{
"role": "user",
"content": "The path is src/commands and the file is build.ts. Read 16 lines from line 12."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/... | read | The path is src/commands and the file is build.ts. Read 16 lines from line 12. | {
"path": "src/commands/build.ts",
"offset": 12,
"limit": 16
} |
[
{
"role": "user",
"content": "Read src/server/router.ts around line 25; start at 25 and return 9 lines."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/serve... | read | Read src/server/router.ts around line 25; start at 25 and return 9 lines. | {
"path": "src/server/router.ts",
"offset": 25,
"limit": 9
} |
[
{
"role": "user",
"content": "Open src/lib/json.ts. I only need the first 6 lines."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/lib/json.ts\", \"offset\":... | read | Open src/lib/json.ts. I only need the first 6 lines. | {
"path": "src/lib/json.ts",
"offset": 1,
"limit": 6
} |
[
{
"role": "user",
"content": "Read src/agents/loop.ts from line 140 onward without a limit."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/agents/loop.ts\",... | read | Read src/agents/loop.ts from line 140 onward without a limit. | {
"path": "src/agents/loop.ts",
"offset": 140
} |
[
{
"role": "user",
"content": "The folder is src/config. The filename is paths.ts. Read the whole file."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/config... | read | The folder is src/config. The filename is paths.ts. Read the whole file. | {
"path": "src/config/paths.ts"
} |
[
{
"role": "user",
"content": "Read src/runtime/session.ts, starting at line 1, and give me 30 lines."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/runtime/... | read | Read src/runtime/session.ts, starting at line 1, and give me 30 lines. | {
"path": "src/runtime/session.ts",
"offset": 1,
"limit": 30
} |
[
{
"role": "user",
"content": "Open the file `src/validation/isPositive.ts` and show lines 10-18."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/validation/i... | read | Open the file `src/validation/isPositive.ts` and show lines 10-18. | {
"path": "src/validation/isPositive.ts",
"offset": 10,
"limit": 9
} |
[
{
"role": "user",
"content": "Read `src/utils/slug.ts` beginning at line 3. Return only 5 lines."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": \"src/utils/slug.t... | read | Read `src/utils/slug.ts` beginning at line 3. Return only 5 lines. | {
"path": "src/utils/slug.ts",
"offset": 3,
"limit": 5
} |
[
{
"role": "user",
"content": "Folder is src/services; filename is logger.ts. Start at line 18 and return 11 lines."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "read",
"arguments": "{\"path\": ... | read | Folder is src/services; filename is logger.ts. Start at line 18 and return 11 lines. | {
"path": "src/services/logger.ts",
"offset": 18,
"limit": 11
} |
[
{
"role": "user",
"content": "Create a file named dog.md in the current directory with these three lines: this is dog, dog likes meat, meat is red."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
... | write | Create a file named dog.md in the current directory with these three lines: this is dog, dog likes meat, meat is red. | {
"path": "dog.md",
"content": "this is dog\ndog likes meat\nmeat is red"
} |
[
{
"role": "user",
"content": "Folder: src/types. File: user.ts. Write exactly this:\nexport interface User { id: string; }"
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arguments": "{\... | write | Folder: src/types. File: user.ts. Write exactly this:
export interface User { id: string; } | {
"path": "src/types/user.ts",
"content": "export interface User { id: string; }"
} |
[
{
"role": "user",
"content": "Make src/config/constants.ts contain a timeout of 30 seconds and retries of 3."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arguments": "{\"path\": \"src... | write | Make src/config/constants.ts contain a timeout of 30 seconds and retries of 3. | {
"path": "src/config/constants.ts",
"content": "export const TIMEOUT = 30;\nexport const RETRIES = 3;"
} |
[
{
"role": "user",
"content": "Create notes/README.md. Put the title `# Notes` on the first line and `TODO` on the second."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arguments": "{\"... | write | Create notes/README.md. Put the title `# Notes` on the first line and `TODO` on the second. | {
"path": "notes/README.md",
"content": "# Notes\nTODO"
} |
[
{
"role": "user",
"content": "Write a new TypeScript file at src/utils/hello.ts whose content is exactly `export const hello = () => \"hello\";`."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
... | write | Write a new TypeScript file at src/utils/hello.ts whose content is exactly `export const hello = () => "hello";`. | {
"path": "src/utils/hello.ts",
"content": "export const hello = () => \"hello\";"
} |
[
{
"role": "user",
"content": "The directory is src/agents and the filename is state.ts. Write this union type: export type State = \"idle\" | \"busy\";"
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write... | write | The directory is src/agents and the filename is state.ts. Write this union type: export type State = "idle" | "busy"; | {
"path": "src/agents/state.ts",
"content": "export type State = \"idle\" | \"busy\";"
} |
[
{
"role": "user",
"content": "Create src/models/result.ts with an interface containing value:string and ok:boolean."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arguments": "{\"path\"... | write | Create src/models/result.ts with an interface containing value:string and ok:boolean. | {
"path": "src/models/result.ts",
"content": "export interface Result { value: string; ok: boolean; }"
} |
[
{
"role": "user",
"content": "Write exactly two lines to src/config/paths.ts: `export const SRC = \"src\";` and `export const TESTS = \"tests\";`."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
... | write | Write exactly two lines to src/config/paths.ts: `export const SRC = "src";` and `export const TESTS = "tests";`. | {
"path": "src/config/paths.ts",
"content": "export const SRC = \"src\";\nexport const TESTS = \"tests\";"
} |
[
{
"role": "user",
"content": "Create src/lib/clamp.ts with a function clamp(value,min,max) that returns Math.min(max, Math.max(min, value))."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
... | write | Create src/lib/clamp.ts with a function clamp(value,min,max) that returns Math.min(max, Math.max(min, value)). | {
"path": "src/lib/clamp.ts",
"content": "export function clamp(value: number, min: number, max: number): number {\n return Math.min(max, Math.max(min, value));\n}"
} |
[
{
"role": "user",
"content": "Write src/types/role.ts with this exact content: export type Role = \"user\" | \"assistant\" | \"tool\";"
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arg... | write | Write src/types/role.ts with this exact content: export type Role = "user" | "assistant" | "tool"; | {
"path": "src/types/role.ts",
"content": "export type Role = \"user\" | \"assistant\" | \"tool\";"
} |
[
{
"role": "user",
"content": "Create the file settings.json inside config/ and write `{ \"debug\": true }`."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arguments": "{\"path\": \"conf... | write | Create the file settings.json inside config/ and write `{ "debug": true }`. | {
"path": "config/settings.json",
"content": "{ \"debug\": true }"
} |
[
{
"role": "user",
"content": "Write a markdown file called plan.md under docs/ containing a heading `# Plan` followed by `1. Build`."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"argum... | write | Write a markdown file called plan.md under docs/ containing a heading `# Plan` followed by `1. Build`. | {
"path": "docs/plan.md",
"content": "# Plan\n1. Build"
} |
[
{
"role": "user",
"content": "Create src/validation/nonEmpty.ts with a function that returns value.length > 0."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arguments": "{\"path\": \"s... | write | Create src/validation/nonEmpty.ts with a function that returns value.length > 0. | {
"path": "src/validation/nonEmpty.ts",
"content": "export function nonEmpty(value: string): boolean {\n return value.length > 0;\n}"
} |
[
{
"role": "user",
"content": "Overwrite src/commands/version.ts with exactly `export const VERSION = \"1.0.0\";`."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arguments": "{\"path\": ... | write | Overwrite src/commands/version.ts with exactly `export const VERSION = "1.0.0";`. | {
"path": "src/commands/version.ts",
"content": "export const VERSION = \"1.0.0\";"
} |
[
{
"role": "user",
"content": "Folder is src/tools. File is names.ts. Put this array in it: export const TOOLS = [\"read\", \"write\", \"edit\"];"
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
... | write | Folder is src/tools. File is names.ts. Put this array in it: export const TOOLS = ["read", "write", "edit"]; | {
"path": "src/tools/names.ts",
"content": "export const TOOLS = [\"read\", \"write\", \"edit\"];"
} |
[
{
"role": "user",
"content": "Create src/utils/sum.ts with a sum function over number[] using reduce with an initial value of 0."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arguments... | write | Create src/utils/sum.ts with a sum function over number[] using reduce with an initial value of 0. | {
"path": "src/utils/sum.ts",
"content": "export const sum = (values: number[]): number => values.reduce((a, b) => a + b, 0);"
} |
[
{
"role": "user",
"content": "Write `export type UserId = string;` into src/types/id.ts."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arguments": "{\"path\": \"src/types/id.ts\", \"co... | write | Write `export type UserId = string;` into src/types/id.ts. | {
"path": "src/types/id.ts",
"content": "export type UserId = string;"
} |
[
{
"role": "user",
"content": "Create src/services/logger.ts containing a log(message:string) function that calls console.log(message)."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arg... | write | Create src/services/logger.ts containing a log(message:string) function that calls console.log(message). | {
"path": "src/services/logger.ts",
"content": "export function log(message: string): void {\n console.log(message);\n}"
} |
[
{
"role": "user",
"content": "Make a file called flags.ts under src/config. It should export DEBUG=true and VERBOSE=false."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arguments": "{\... | write | Make a file called flags.ts under src/config. It should export DEBUG=true and VERBOSE=false. | {
"path": "src/config/flags.ts",
"content": "export const DEBUG = true;\nexport const VERBOSE = false;"
} |
[
{
"role": "user",
"content": "Create src/agents/mode.ts with the exact string `export type Mode = \"plan\" | \"execute\";`."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arguments": "{... | write | Create src/agents/mode.ts with the exact string `export type Mode = "plan" | "execute";`. | {
"path": "src/agents/mode.ts",
"content": "export type Mode = \"plan\" | \"execute\";"
} |
[
{
"role": "user",
"content": "Write src/utils/toNumber.ts with a function toNumber that returns Number(value)."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arguments": "{\"path\": \"s... | write | Write src/utils/toNumber.ts with a function toNumber that returns Number(value). | {
"path": "src/utils/toNumber.ts",
"content": "export function toNumber(value: string): number {\n return Number(value);\n}"
} |
[
{
"role": "user",
"content": "Directory: src/validation. Filename: isPositive.ts. Content: `export const isPositive = (n: number) => n > 0;`."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
... | write | Directory: src/validation. Filename: isPositive.ts. Content: `export const isPositive = (n: number) => n > 0;`. | {
"path": "src/validation/isPositive.ts",
"content": "export const isPositive = (n: number) => n > 0;"
} |
[
{
"role": "user",
"content": "Create tests/basic.test.ts containing `describe(\"basic\", () => { it(\"works\", () => {}); });`."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arguments"... | write | Create tests/basic.test.ts containing `describe("basic", () => { it("works", () => {}); });`. | {
"path": "tests/basic.test.ts",
"content": "describe(\"basic\", () => { it(\"works\", () => {}); });"
} |
[
{
"role": "user",
"content": "Write src/agents/config.ts with DEFAULT_MODE set to \"execute\"."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "write",
"arguments": "{\"path\": \"src/agents/config... | write | Write src/agents/config.ts with DEFAULT_MODE set to "execute". | {
"path": "src/agents/config.ts",
"content": "export const DEFAULT_MODE = \"execute\";"
} |
[
{
"role": "user",
"content": "Create a file named greeting.ts inside src/examples containing one exported function: export const greeting = () => \"hello\";."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": ... | write | Create a file named greeting.ts inside src/examples containing one exported function: export const greeting = () => "hello";. | {
"path": "src/examples/greeting.ts",
"content": "export const greeting = () => \"hello\";"
} |
[
{
"role": "user",
"content": "In src/math.ts, replace `return a - b;` with `return a + b;`."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src/math.ts\", \"edit... | edit | In src/math.ts, replace `return a - b;` with `return a + b;`. | {
"path": "src/math.ts",
"edits": [
{
"oldText": "return a - b;",
"newText": "return a + b;"
}
]
} |
[
{
"role": "user",
"content": "Folder: src/config. File: defaults.ts. Change TIMEOUT from 10 to 30."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src/config/def... | edit | Folder: src/config. File: defaults.ts. Change TIMEOUT from 10 to 30. | {
"path": "src/config/defaults.ts",
"edits": [
{
"oldText": "TIMEOUT = 10",
"newText": "TIMEOUT = 30"
}
]
} |
[
{
"role": "user",
"content": "Edit src/types/user.ts: rename `username: string;` to `name: string;`."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src/types/us... | edit | Edit src/types/user.ts: rename `username: string;` to `name: string;`. | {
"path": "src/types/user.ts",
"edits": [
{
"oldText": "username: string;",
"newText": "name: string;"
}
]
} |
[
{
"role": "user",
"content": "In src/utils/slug.ts change underscores to hyphens in the replace expression."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src/u... | edit | In src/utils/slug.ts change underscores to hyphens in the replace expression. | {
"path": "src/utils/slug.ts",
"edits": [
{
"oldText": ".replace(/\\s+/g, \"_\")",
"newText": ".replace(/\\s+/g, \"-\")"
}
]
} |
[
{
"role": "user",
"content": "The file is `router.ts` in folder `src/server`. Change POST to GET in the method check."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\... | edit | The file is `router.ts` in folder `src/server`. Change POST to GET in the method check. | {
"path": "src/server/router.ts",
"edits": [
{
"oldText": "method === \"POST\"",
"newText": "method === \"GET\""
}
]
} |
[
{
"role": "user",
"content": "In src/agents/state.ts, replace the `running` state with `busy`."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src/agents/state.t... | edit | In src/agents/state.ts, replace the `running` state with `busy`. | {
"path": "src/agents/state.ts",
"edits": [
{
"oldText": "\"idle\" | \"running\" | \"done\"",
"newText": "\"idle\" | \"busy\" | \"done\""
}
]
} |
[
{
"role": "user",
"content": "Modify src/config/limits.ts: MAX_FILES should be 100 instead of 50, and MAX_LINES should be 1000 instead of 500."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
... | edit | Modify src/config/limits.ts: MAX_FILES should be 100 instead of 50, and MAX_LINES should be 1000 instead of 500. | {
"path": "src/config/limits.ts",
"edits": [
{
"oldText": "MAX_FILES = 50",
"newText": "MAX_FILES = 100"
},
{
"oldText": "MAX_LINES = 500",
"newText": "MAX_LINES = 1000"
}
]
} |
[
{
"role": "user",
"content": "In src/services/logger.ts replace console.error(message) with console.log(message)."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \... | edit | In src/services/logger.ts replace console.error(message) with console.log(message). | {
"path": "src/services/logger.ts",
"edits": [
{
"oldText": "console.error(message);",
"newText": "console.log(message);"
}
]
} |
[
{
"role": "user",
"content": "Open no other file: edit src/types/role.ts so Role includes `tool` as a third option."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\":... | edit | Open no other file: edit src/types/role.ts so Role includes `tool` as a third option. | {
"path": "src/types/role.ts",
"edits": [
{
"oldText": "export type Role = \"user\" | \"assistant\";",
"newText": "export type Role = \"user\" | \"assistant\" | \"tool\";"
}
]
} |
[
{
"role": "user",
"content": "Folder src/utils, file toNumber.ts: replace parseInt(value, 10) with Number(value)."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \... | edit | Folder src/utils, file toNumber.ts: replace parseInt(value, 10) with Number(value). | {
"path": "src/utils/toNumber.ts",
"edits": [
{
"oldText": "parseInt(value, 10)",
"newText": "Number(value)"
}
]
} |
[
{
"role": "user",
"content": "In src/validation/isPositive.ts, change the comparison from >= 0 to > 0."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src/valida... | edit | In src/validation/isPositive.ts, change the comparison from >= 0 to > 0. | {
"path": "src/validation/isPositive.ts",
"edits": [
{
"oldText": "value >= 0",
"newText": "value > 0"
}
]
} |
[
{
"role": "user",
"content": "Change `VERSION = \"0.9.0\"` to `VERSION = \"1.0.0\"` in src/commands/version.ts."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"s... | edit | Change `VERSION = "0.9.0"` to `VERSION = "1.0.0"` in src/commands/version.ts. | {
"path": "src/commands/version.ts",
"edits": [
{
"oldText": "VERSION = \"0.9.0\"",
"newText": "VERSION = \"1.0.0\""
}
]
} |
[
{
"role": "user",
"content": "In src/tools/names.ts add `grep` after `edit` in the TOOL_NAMES array."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src/tools/na... | edit | In src/tools/names.ts add `grep` after `edit` in the TOOL_NAMES array. | {
"path": "src/tools/names.ts",
"edits": [
{
"oldText": "[\"read\", \"write\", \"edit\"]",
"newText": "[\"read\", \"write\", \"edit\", \"grep\"]"
}
]
} |
[
{
"role": "user",
"content": "In src/agents/loop.ts, increase maxSteps from 20 to 30."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src/agents/loop.ts\", \"edi... | edit | In src/agents/loop.ts, increase maxSteps from 20 to 30. | {
"path": "src/agents/loop.ts",
"edits": [
{
"oldText": "maxSteps = 20",
"newText": "maxSteps = 30"
}
]
} |
[
{
"role": "user",
"content": "Edit src/runtime/session.ts and change timeout from 5000 to 10000."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src/runtime/sess... | edit | Edit src/runtime/session.ts and change timeout from 5000 to 10000. | {
"path": "src/runtime/session.ts",
"edits": [
{
"oldText": "timeout: 5000",
"newText": "timeout: 10000"
}
]
} |
[
{
"role": "user",
"content": "In src/models/result.ts rename success to ok and change its type from boolean to true | false."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{... | edit | In src/models/result.ts rename success to ok and change its type from boolean to true | false. | {
"path": "src/models/result.ts",
"edits": [
{
"oldText": "success: boolean;",
"newText": "ok: true | false;"
}
]
} |
[
{
"role": "user",
"content": "For src/commands/build.ts replace the script key `build:dev` with `build`."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src/comm... | edit | For src/commands/build.ts replace the script key `build:dev` with `build`. | {
"path": "src/commands/build.ts",
"edits": [
{
"oldText": "build:dev",
"newText": "build"
}
]
} |
[
{
"role": "user",
"content": "In src/validation/schema.ts, change optional:false to optional:true."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src/validation... | edit | In src/validation/schema.ts, change optional:false to optional:true. | {
"path": "src/validation/schema.ts",
"edits": [
{
"oldText": "optional: false",
"newText": "optional: true"
}
]
} |
[
{
"role": "user",
"content": "Folder src/hooks, filename useAgent.ts: change enabled:false to enabled:true."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src/h... | edit | Folder src/hooks, filename useAgent.ts: change enabled:false to enabled:true. | {
"path": "src/hooks/useAgent.ts",
"edits": [
{
"oldText": "enabled: false",
"newText": "enabled: true"
}
]
} |
[
{
"role": "user",
"content": "In src/utils/math.ts make two changes: rename `add` to `sum`, and change `a - b` to `a + b`."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"... | edit | In src/utils/math.ts make two changes: rename `add` to `sum`, and change `a - b` to `a + b`. | {
"path": "src/utils/math.ts",
"edits": [
{
"oldText": "function add",
"newText": "function sum"
},
{
"oldText": "return a - b;",
"newText": "return a + b;"
}
]
} |
[
{
"role": "user",
"content": "In src/agents/config.ts change DEFAULT_MODE from plan to execute."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src/agents/config... | edit | In src/agents/config.ts change DEFAULT_MODE from plan to execute. | {
"path": "src/agents/config.ts",
"edits": [
{
"oldText": "DEFAULT_MODE = \"plan\"",
"newText": "DEFAULT_MODE = \"execute\""
}
]
} |
[
{
"role": "user",
"content": "In src/lib/prefix.ts replace `return p + value;` with a template literal."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src/lib/p... | edit | In src/lib/prefix.ts replace `return p + value;` with a template literal. | {
"path": "src/lib/prefix.ts",
"edits": [
{
"oldText": "return p + value;",
"newText": "return `${p}${value}`;"
}
]
} |
[
{
"role": "user",
"content": "In src/types/tool.ts change property label to description."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src/types/tool.ts\", \"e... | edit | In src/types/tool.ts change property label to description. | {
"path": "src/types/tool.ts",
"edits": [
{
"oldText": "label: string;",
"newText": "description: string;"
}
]
} |
[
{
"role": "user",
"content": "Edit the file logger.ts in src/services: rename the parameter msg to message and update the console call."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arg... | edit | Edit the file logger.ts in src/services: rename the parameter msg to message and update the console call. | {
"path": "src/services/logger.ts",
"edits": [
{
"oldText": "function log(msg: string)",
"newText": "function log(message: string)"
},
{
"oldText": "console.log(msg);",
"newText": "console.log(message);"
}
]
} |
[
{
"role": "user",
"content": "In src/config/feature.ts change the flag `ENABLED = false` to `ENABLED = true`."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "edit",
"arguments": "{\"path\": \"src... | edit | In src/config/feature.ts change the flag `ENABLED = false` to `ENABLED = true`. | {
"path": "src/config/feature.ts",
"edits": [
{
"oldText": "ENABLED = false",
"newText": "ENABLED = true"
}
]
} |
[
{
"role": "user",
"content": "List the entries directly inside src/agents."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/agents\"}"
}
}
]
... | ls | List the entries directly inside src/agents. | {
"path": "src/agents"
} |
[
{
"role": "user",
"content": "Show what's in the tools directory under src."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/tools\"}"
}
}
]
... | ls | Show what's in the tools directory under src. | {
"path": "src/tools"
} |
[
{
"role": "user",
"content": "List the current directory."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \".\"}"
}
}
]
}
] | ls | List the current directory. | {
"path": "."
} |
[
{
"role": "user",
"content": "Folder is src/config. Show its direct entries."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/config\"}"
}
}
]... | ls | Folder is src/config. Show its direct entries. | {
"path": "src/config"
} |
[
{
"role": "user",
"content": "What files and directories are directly inside src/runtime?"
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/runtime\"}"
}... | ls | What files and directories are directly inside src/runtime? | {
"path": "src/runtime"
} |
[
{
"role": "user",
"content": "List src/commands."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/commands\"}"
}
}
]
}
] | ls | List src/commands. | {
"path": "src/commands"
} |
[
{
"role": "user",
"content": "Show the contents of src/utils."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/utils\"}"
}
}
]
}
] | ls | Show the contents of src/utils. | {
"path": "src/utils"
} |
[
{
"role": "user",
"content": "List everything directly under src/models."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/models\"}"
}
}
]
}... | ls | List everything directly under src/models. | {
"path": "src/models"
} |
[
{
"role": "user",
"content": "Directory: src/validation. List its entries."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/validation\"}"
}
}
... | ls | Directory: src/validation. List its entries. | {
"path": "src/validation"
} |
[
{
"role": "user",
"content": "Show what is inside src/server."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/server\"}"
}
}
]
}
] | ls | Show what is inside src/server. | {
"path": "src/server"
} |
[
{
"role": "user",
"content": "List the hooks folder inside src."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/hooks\"}"
}
}
]
}
] | ls | List the hooks folder inside src. | {
"path": "src/hooks"
} |
[
{
"role": "user",
"content": "Give me the directory listing for src/lib."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/lib\"}"
}
}
]
}
] | ls | Give me the directory listing for src/lib. | {
"path": "src/lib"
} |
[
{
"role": "user",
"content": "Show the entries in src/fs."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/fs\"}"
}
}
]
}
] | ls | Show the entries in src/fs. | {
"path": "src/fs"
} |
[
{
"role": "user",
"content": "List files under src/services."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/services\"}"
}
}
]
}
] | ls | List files under src/services. | {
"path": "src/services"
} |
[
{
"role": "user",
"content": "What is directly inside src/types?"
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/types\"}"
}
}
]
}
] | ls | What is directly inside src/types? | {
"path": "src/types"
} |
[
{
"role": "user",
"content": "List the contents of src/cli."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/cli\"}"
}
}
]
}
] | ls | List the contents of src/cli. | {
"path": "src/cli"
} |
[
{
"role": "user",
"content": "Show entries in the tools folder inside agents: src/agents/tools."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/agents/tools\"}... | ls | Show entries in the tools folder inside agents: src/agents/tools. | {
"path": "src/agents/tools"
} |
[
{
"role": "user",
"content": "List src/validation/rules."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/validation/rules\"}"
}
}
]
}
] | ls | List src/validation/rules. | {
"path": "src/validation/rules"
} |
[
{
"role": "user",
"content": "Show everything directly inside tests."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"tests\"}"
}
}
]
}
] | ls | Show everything directly inside tests. | {
"path": "tests"
} |
[
{
"role": "user",
"content": "Directory tests/agents: list its contents."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"tests/agents\"}"
}
}
]
... | ls | Directory tests/agents: list its contents. | {
"path": "tests/agents"
} |
[
{
"role": "user",
"content": "List entries in tests/tools."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"tests/tools\"}"
}
}
]
}
] | ls | List entries in tests/tools. | {
"path": "tests/tools"
} |
[
{
"role": "user",
"content": "Show the contents of src/plugins."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/plugins\"}"
}
}
]
}
] | ls | Show the contents of src/plugins. | {
"path": "src/plugins"
} |
[
{
"role": "user",
"content": "List src/adapters."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/adapters\"}"
}
}
]
}
] | ls | List src/adapters. | {
"path": "src/adapters"
} |
[
{
"role": "user",
"content": "Show entries in src/parsers."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/parsers\"}"
}
}
]
}
] | ls | Show entries in src/parsers. | {
"path": "src/parsers"
} |
[
{
"role": "user",
"content": "List the workers directory under src."
},
{
"role": "assistant",
"content": "",
"tool_calls": [
{
"type": "function",
"function": {
"name": "ls",
"arguments": "{\"path\": \"src/workers\"}"
}
}
]
}
] | ls | List the workers directory under src. | {
"path": "src/workers"
} |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 15