Tool-Call-Dataset / tool_call_sft.jsonl
snxtyle's picture
Upload tool_call_sft.jsonl
75e3559 verified
Raw
History Blame Contribute Delete
72.9 kB
{"messages": [{"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": "{\"path\": \"src/agents/reasoning/modes.ts\"}"}}]}], "tool": "read", "query": "The file is named modes.ts. It is under src/agents/reasoning. Read it from the beginning.", "expected_arguments": {"path": "src/agents/reasoning/modes.ts"}}
{"messages": [{"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/reasoning/modes.ts\", \"offset\": 1, \"limit\": 15}"}}]}], "tool": "read", "query": "Open src/agents/reasoning/modes.ts and show the first 15 lines.", "expected_arguments": {"path": "src/agents/reasoning/modes.ts", "offset": 1, "limit": 15}}
{"messages": [{"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\": \"src/agents/reasoning/modes.ts\", \"offset\": 20, \"limit\": 10}"}}]}], "tool": "read", "query": "Folder: src/agents/reasoning. File: modes.ts. Start at line 20 and return 10 lines.", "expected_arguments": {"path": "src/agents/reasoning/modes.ts", "offset": 20, "limit": 10}}
{"messages": [{"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\": \"src/agents/planner.ts\", \"offset\": 50}"}}]}], "tool": "read", "query": "Read planner.ts inside src/agents, beginning at line 50. No line limit is needed.", "expected_arguments": {"path": "src/agents/planner.ts", "offset": 50}}
{"messages": [{"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\", \"offset\": 30, \"limit\": 15}"}}]}], "tool": "read", "query": "Read src/tools/runner.ts, but only lines 30 through 44.", "expected_arguments": {"path": "src/tools/runner.ts", "offset": 30, "limit": 15}}
{"messages": [{"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\": \"config/model.ts\"}"}}]}], "tool": "read", "query": "I need the contents of config/model.ts. Don't skip any lines and don't cap the output.", "expected_arguments": {"path": "config/model.ts"}}
{"messages": [{"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": "{\"path\": \"src/runtime/session.ts\", \"offset\": 100, \"limit\": 12}"}}]}], "tool": "read", "query": "The directory is src/runtime and the filename is session.ts. Read from line 100 for 12 lines.", "expected_arguments": {"path": "src/runtime/session.ts", "offset": 100, "limit": 12}}
{"messages": [{"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\"}"}}]}], "tool": "read", "query": "Show me the beginning of src/index.ts.", "expected_arguments": {"path": "src/index.ts"}}
{"messages": [{"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\", \"offset\": 5, \"limit\": 25}"}}]}], "tool": "read", "query": "From src/cli/options.ts, give me 25 lines starting at line 5.", "expected_arguments": {"path": "src/cli/options.ts", "offset": 5, "limit": 25}}
{"messages": [{"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/tools/edit.ts\", \"offset\": 75}"}}]}], "tool": "read", "query": "Read the file called edit.ts in src/agents/tools. Start at line 75.", "expected_arguments": {"path": "src/agents/tools/edit.ts", "offset": 75}}
{"messages": [{"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/workspace.ts\", \"offset\": 2, \"limit\": 8}"}}]}], "tool": "read", "query": "Open src/fs/workspace.ts and return exactly 8 lines beginning at line 2.", "expected_arguments": {"path": "src/fs/workspace.ts", "offset": 2, "limit": 8}}
{"messages": [{"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.ts\", \"offset\": 40, \"limit\": 15}"}}]}], "tool": "read", "query": "File: formatter.ts. Folder: src/services. Read lines 40-54.", "expected_arguments": {"path": "src/services/formatter.ts", "offset": 40, "limit": 15}}
{"messages": [{"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/models/user.ts\", \"offset\": 1, \"limit\": 12}"}}]}], "tool": "read", "query": "Read src/models/user.ts starting from its first line, with a limit of 12.", "expected_arguments": {"path": "src/models/user.ts", "offset": 1, "limit": 12}}
{"messages": [{"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": "{\"path\": \"src/hooks/useAgent.ts\", \"offset\": 60, \"limit\": 7}"}}]}], "tool": "read", "query": "Look at src/hooks/useAgent.ts. I want the section beginning around line 60; return 7 lines.", "expected_arguments": {"path": "src/hooks/useAgent.ts", "offset": 60, "limit": 7}}
{"messages": [{"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\": \"src/validation/schema.ts\", \"offset\": 90, \"limit\": 20}"}}]}], "tool": "read", "query": "Read validation/schema.ts under src/validation. Start at line 90 and read 20 lines.", "expected_arguments": {"path": "src/validation/schema.ts", "offset": 90, "limit": 20}}
{"messages": [{"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\"}"}}]}], "tool": "read", "query": "Give me the complete contents of src/types/tool.ts.", "expected_arguments": {"path": "src/types/tool.ts"}}
{"messages": [{"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/commands/build.ts\", \"offset\": 12, \"limit\": 16}"}}]}], "tool": "read", "query": "The path is src/commands and the file is build.ts. Read 16 lines from line 12.", "expected_arguments": {"path": "src/commands/build.ts", "offset": 12, "limit": 16}}
{"messages": [{"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/server/router.ts\", \"offset\": 25, \"limit\": 9}"}}]}], "tool": "read", "query": "Read src/server/router.ts around line 25; start at 25 and return 9 lines.", "expected_arguments": {"path": "src/server/router.ts", "offset": 25, "limit": 9}}
{"messages": [{"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\": 1, \"limit\": 6}"}}]}], "tool": "read", "query": "Open src/lib/json.ts. I only need the first 6 lines.", "expected_arguments": {"path": "src/lib/json.ts", "offset": 1, "limit": 6}}
{"messages": [{"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\", \"offset\": 140}"}}]}], "tool": "read", "query": "Read src/agents/loop.ts from line 140 onward without a limit.", "expected_arguments": {"path": "src/agents/loop.ts", "offset": 140}}
{"messages": [{"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/paths.ts\"}"}}]}], "tool": "read", "query": "The folder is src/config. The filename is paths.ts. Read the whole file.", "expected_arguments": {"path": "src/config/paths.ts"}}
{"messages": [{"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/session.ts\", \"offset\": 1, \"limit\": 30}"}}]}], "tool": "read", "query": "Read src/runtime/session.ts, starting at line 1, and give me 30 lines.", "expected_arguments": {"path": "src/runtime/session.ts", "offset": 1, "limit": 30}}
{"messages": [{"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/isPositive.ts\", \"offset\": 10, \"limit\": 9}"}}]}], "tool": "read", "query": "Open the file `src/validation/isPositive.ts` and show lines 10-18.", "expected_arguments": {"path": "src/validation/isPositive.ts", "offset": 10, "limit": 9}}
{"messages": [{"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.ts\", \"offset\": 3, \"limit\": 5}"}}]}], "tool": "read", "query": "Read `src/utils/slug.ts` beginning at line 3. Return only 5 lines.", "expected_arguments": {"path": "src/utils/slug.ts", "offset": 3, "limit": 5}}
{"messages": [{"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\": \"src/services/logger.ts\", \"offset\": 18, \"limit\": 11}"}}]}], "tool": "read", "query": "Folder is src/services; filename is logger.ts. Start at line 18 and return 11 lines.", "expected_arguments": {"path": "src/services/logger.ts", "offset": 18, "limit": 11}}
{"messages": [{"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", "arguments": "{\"path\": \"dog.md\", \"content\": \"this is dog\\ndog likes meat\\nmeat is red\"}"}}]}], "tool": "write", "query": "Create a file named dog.md in the current directory with these three lines: this is dog, dog likes meat, meat is red.", "expected_arguments": {"path": "dog.md", "content": "this is dog\ndog likes meat\nmeat is red"}}
{"messages": [{"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": "{\"path\": \"src/types/user.ts\", \"content\": \"export interface User { id: string; }\"}"}}]}], "tool": "write", "query": "Folder: src/types. File: user.ts. Write exactly this:\nexport interface User { id: string; }", "expected_arguments": {"path": "src/types/user.ts", "content": "export interface User { id: string; }"}}
{"messages": [{"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/config/constants.ts\", \"content\": \"export const TIMEOUT = 30;\\nexport const RETRIES = 3;\"}"}}]}], "tool": "write", "query": "Make src/config/constants.ts contain a timeout of 30 seconds and retries of 3.", "expected_arguments": {"path": "src/config/constants.ts", "content": "export const TIMEOUT = 30;\nexport const RETRIES = 3;"}}
{"messages": [{"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": "{\"path\": \"notes/README.md\", \"content\": \"# Notes\\nTODO\"}"}}]}], "tool": "write", "query": "Create notes/README.md. Put the title `# Notes` on the first line and `TODO` on the second.", "expected_arguments": {"path": "notes/README.md", "content": "# Notes\nTODO"}}
{"messages": [{"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", "arguments": "{\"path\": \"src/utils/hello.ts\", \"content\": \"export const hello = () => \\\"hello\\\";\"}"}}]}], "tool": "write", "query": "Write a new TypeScript file at src/utils/hello.ts whose content is exactly `export const hello = () => \"hello\";`.", "expected_arguments": {"path": "src/utils/hello.ts", "content": "export const hello = () => \"hello\";"}}
{"messages": [{"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", "arguments": "{\"path\": \"src/agents/state.ts\", \"content\": \"export type State = \\\"idle\\\" | \\\"busy\\\";\"}"}}]}], "tool": "write", "query": "The directory is src/agents and the filename is state.ts. Write this union type: export type State = \"idle\" | \"busy\";", "expected_arguments": {"path": "src/agents/state.ts", "content": "export type State = \"idle\" | \"busy\";"}}
{"messages": [{"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\": \"src/models/result.ts\", \"content\": \"export interface Result { value: string; ok: boolean; }\"}"}}]}], "tool": "write", "query": "Create src/models/result.ts with an interface containing value:string and ok:boolean.", "expected_arguments": {"path": "src/models/result.ts", "content": "export interface Result { value: string; ok: boolean; }"}}
{"messages": [{"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", "arguments": "{\"path\": \"src/config/paths.ts\", \"content\": \"export const SRC = \\\"src\\\";\\nexport const TESTS = \\\"tests\\\";\"}"}}]}], "tool": "write", "query": "Write exactly two lines to src/config/paths.ts: `export const SRC = \"src\";` and `export const TESTS = \"tests\";`.", "expected_arguments": {"path": "src/config/paths.ts", "content": "export const SRC = \"src\";\nexport const TESTS = \"tests\";"}}
{"messages": [{"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", "arguments": "{\"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}\"}"}}]}], "tool": "write", "query": "Create src/lib/clamp.ts with a function clamp(value,min,max) that returns Math.min(max, Math.max(min, value)).", "expected_arguments": {"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}"}}
{"messages": [{"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", "arguments": "{\"path\": \"src/types/role.ts\", \"content\": \"export type Role = \\\"user\\\" | \\\"assistant\\\" | \\\"tool\\\";\"}"}}]}], "tool": "write", "query": "Write src/types/role.ts with this exact content: export type Role = \"user\" | \"assistant\" | \"tool\";", "expected_arguments": {"path": "src/types/role.ts", "content": "export type Role = \"user\" | \"assistant\" | \"tool\";"}}
{"messages": [{"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\": \"config/settings.json\", \"content\": \"{ \\\"debug\\\": true }\"}"}}]}], "tool": "write", "query": "Create the file settings.json inside config/ and write `{ \"debug\": true }`.", "expected_arguments": {"path": "config/settings.json", "content": "{ \"debug\": true }"}}
{"messages": [{"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", "arguments": "{\"path\": \"docs/plan.md\", \"content\": \"# Plan\\n1. Build\"}"}}]}], "tool": "write", "query": "Write a markdown file called plan.md under docs/ containing a heading `# Plan` followed by `1. Build`.", "expected_arguments": {"path": "docs/plan.md", "content": "# Plan\n1. Build"}}
{"messages": [{"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\": \"src/validation/nonEmpty.ts\", \"content\": \"export function nonEmpty(value: string): boolean {\\n return value.length > 0;\\n}\"}"}}]}], "tool": "write", "query": "Create src/validation/nonEmpty.ts with a function that returns value.length > 0.", "expected_arguments": {"path": "src/validation/nonEmpty.ts", "content": "export function nonEmpty(value: string): boolean {\n return value.length > 0;\n}"}}
{"messages": [{"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\": \"src/commands/version.ts\", \"content\": \"export const VERSION = \\\"1.0.0\\\";\"}"}}]}], "tool": "write", "query": "Overwrite src/commands/version.ts with exactly `export const VERSION = \"1.0.0\";`.", "expected_arguments": {"path": "src/commands/version.ts", "content": "export const VERSION = \"1.0.0\";"}}
{"messages": [{"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", "arguments": "{\"path\": \"src/tools/names.ts\", \"content\": \"export const TOOLS = [\\\"read\\\", \\\"write\\\", \\\"edit\\\"];\"}"}}]}], "tool": "write", "query": "Folder is src/tools. File is names.ts. Put this array in it: export const TOOLS = [\"read\", \"write\", \"edit\"];", "expected_arguments": {"path": "src/tools/names.ts", "content": "export const TOOLS = [\"read\", \"write\", \"edit\"];"}}
{"messages": [{"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": "{\"path\": \"src/utils/sum.ts\", \"content\": \"export const sum = (values: number[]): number => values.reduce((a, b) => a + b, 0);\"}"}}]}], "tool": "write", "query": "Create src/utils/sum.ts with a sum function over number[] using reduce with an initial value of 0.", "expected_arguments": {"path": "src/utils/sum.ts", "content": "export const sum = (values: number[]): number => values.reduce((a, b) => a + b, 0);"}}
{"messages": [{"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\", \"content\": \"export type UserId = string;\"}"}}]}], "tool": "write", "query": "Write `export type UserId = string;` into src/types/id.ts.", "expected_arguments": {"path": "src/types/id.ts", "content": "export type UserId = string;"}}
{"messages": [{"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", "arguments": "{\"path\": \"src/services/logger.ts\", \"content\": \"export function log(message: string): void {\\n console.log(message);\\n}\"}"}}]}], "tool": "write", "query": "Create src/services/logger.ts containing a log(message:string) function that calls console.log(message).", "expected_arguments": {"path": "src/services/logger.ts", "content": "export function log(message: string): void {\n console.log(message);\n}"}}
{"messages": [{"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": "{\"path\": \"src/config/flags.ts\", \"content\": \"export const DEBUG = true;\\nexport const VERBOSE = false;\"}"}}]}], "tool": "write", "query": "Make a file called flags.ts under src/config. It should export DEBUG=true and VERBOSE=false.", "expected_arguments": {"path": "src/config/flags.ts", "content": "export const DEBUG = true;\nexport const VERBOSE = false;"}}
{"messages": [{"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": "{\"path\": \"src/agents/mode.ts\", \"content\": \"export type Mode = \\\"plan\\\" | \\\"execute\\\";\"}"}}]}], "tool": "write", "query": "Create src/agents/mode.ts with the exact string `export type Mode = \"plan\" | \"execute\";`.", "expected_arguments": {"path": "src/agents/mode.ts", "content": "export type Mode = \"plan\" | \"execute\";"}}
{"messages": [{"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\": \"src/utils/toNumber.ts\", \"content\": \"export function toNumber(value: string): number {\\n return Number(value);\\n}\"}"}}]}], "tool": "write", "query": "Write src/utils/toNumber.ts with a function toNumber that returns Number(value).", "expected_arguments": {"path": "src/utils/toNumber.ts", "content": "export function toNumber(value: string): number {\n return Number(value);\n}"}}
{"messages": [{"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", "arguments": "{\"path\": \"src/validation/isPositive.ts\", \"content\": \"export const isPositive = (n: number) => n > 0;\"}"}}]}], "tool": "write", "query": "Directory: src/validation. Filename: isPositive.ts. Content: `export const isPositive = (n: number) => n > 0;`.", "expected_arguments": {"path": "src/validation/isPositive.ts", "content": "export const isPositive = (n: number) => n > 0;"}}
{"messages": [{"role": "user", "content": "Create tests/basic.test.ts containing `describe(\"basic\", () => { it(\"works\", () => {}); });`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "write", "arguments": "{\"path\": \"tests/basic.test.ts\", \"content\": \"describe(\\\"basic\\\", () => { it(\\\"works\\\", () => {}); });\"}"}}]}], "tool": "write", "query": "Create tests/basic.test.ts containing `describe(\"basic\", () => { it(\"works\", () => {}); });`.", "expected_arguments": {"path": "tests/basic.test.ts", "content": "describe(\"basic\", () => { it(\"works\", () => {}); });"}}
{"messages": [{"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.ts\", \"content\": \"export const DEFAULT_MODE = \\\"execute\\\";\"}"}}]}], "tool": "write", "query": "Write src/agents/config.ts with DEFAULT_MODE set to \"execute\".", "expected_arguments": {"path": "src/agents/config.ts", "content": "export const DEFAULT_MODE = \"execute\";"}}
{"messages": [{"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", "arguments": "{\"path\": \"src/examples/greeting.ts\", \"content\": \"export const greeting = () => \\\"hello\\\";\"}"}}]}], "tool": "write", "query": "Create a file named greeting.ts inside src/examples containing one exported function: export const greeting = () => \"hello\";.", "expected_arguments": {"path": "src/examples/greeting.ts", "content": "export const greeting = () => \"hello\";"}}
{"messages": [{"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\", \"edits\": [{\"oldText\": \"return a - b;\", \"newText\": \"return a + b;\"}]}"}}]}], "tool": "edit", "query": "In src/math.ts, replace `return a - b;` with `return a + b;`.", "expected_arguments": {"path": "src/math.ts", "edits": [{"oldText": "return a - b;", "newText": "return a + b;"}]}}
{"messages": [{"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/defaults.ts\", \"edits\": [{\"oldText\": \"TIMEOUT = 10\", \"newText\": \"TIMEOUT = 30\"}]}"}}]}], "tool": "edit", "query": "Folder: src/config. File: defaults.ts. Change TIMEOUT from 10 to 30.", "expected_arguments": {"path": "src/config/defaults.ts", "edits": [{"oldText": "TIMEOUT = 10", "newText": "TIMEOUT = 30"}]}}
{"messages": [{"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/user.ts\", \"edits\": [{\"oldText\": \"username: string;\", \"newText\": \"name: string;\"}]}"}}]}], "tool": "edit", "query": "Edit src/types/user.ts: rename `username: string;` to `name: string;`.", "expected_arguments": {"path": "src/types/user.ts", "edits": [{"oldText": "username: string;", "newText": "name: string;"}]}}
{"messages": [{"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/utils/slug.ts\", \"edits\": [{\"oldText\": \".replace(/\\\\s+/g, \\\"_\\\")\", \"newText\": \".replace(/\\\\s+/g, \\\"-\\\")\"}]}"}}]}], "tool": "edit", "query": "In src/utils/slug.ts change underscores to hyphens in the replace expression.", "expected_arguments": {"path": "src/utils/slug.ts", "edits": [{"oldText": ".replace(/\\s+/g, \"_\")", "newText": ".replace(/\\s+/g, \"-\")"}]}}
{"messages": [{"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\": \"src/server/router.ts\", \"edits\": [{\"oldText\": \"method === \\\"POST\\\"\", \"newText\": \"method === \\\"GET\\\"\"}]}"}}]}], "tool": "edit", "query": "The file is `router.ts` in folder `src/server`. Change POST to GET in the method check.", "expected_arguments": {"path": "src/server/router.ts", "edits": [{"oldText": "method === \"POST\"", "newText": "method === \"GET\""}]}}
{"messages": [{"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.ts\", \"edits\": [{\"oldText\": \"\\\"idle\\\" | \\\"running\\\" | \\\"done\\\"\", \"newText\": \"\\\"idle\\\" | \\\"busy\\\" | \\\"done\\\"\"}]}"}}]}], "tool": "edit", "query": "In src/agents/state.ts, replace the `running` state with `busy`.", "expected_arguments": {"path": "src/agents/state.ts", "edits": [{"oldText": "\"idle\" | \"running\" | \"done\"", "newText": "\"idle\" | \"busy\" | \"done\""}]}}
{"messages": [{"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", "arguments": "{\"path\": \"src/config/limits.ts\", \"edits\": [{\"oldText\": \"MAX_FILES = 50\", \"newText\": \"MAX_FILES = 100\"}, {\"oldText\": \"MAX_LINES = 500\", \"newText\": \"MAX_LINES = 1000\"}]}"}}]}], "tool": "edit", "query": "Modify src/config/limits.ts: MAX_FILES should be 100 instead of 50, and MAX_LINES should be 1000 instead of 500.", "expected_arguments": {"path": "src/config/limits.ts", "edits": [{"oldText": "MAX_FILES = 50", "newText": "MAX_FILES = 100"}, {"oldText": "MAX_LINES = 500", "newText": "MAX_LINES = 1000"}]}}
{"messages": [{"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\": \"src/services/logger.ts\", \"edits\": [{\"oldText\": \"console.error(message);\", \"newText\": \"console.log(message);\"}]}"}}]}], "tool": "edit", "query": "In src/services/logger.ts replace console.error(message) with console.log(message).", "expected_arguments": {"path": "src/services/logger.ts", "edits": [{"oldText": "console.error(message);", "newText": "console.log(message);"}]}}
{"messages": [{"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\": \"src/types/role.ts\", \"edits\": [{\"oldText\": \"export type Role = \\\"user\\\" | \\\"assistant\\\";\", \"newText\": \"export type Role = \\\"user\\\" | \\\"assistant\\\" | \\\"tool\\\";\"}]}"}}]}], "tool": "edit", "query": "Open no other file: edit src/types/role.ts so Role includes `tool` as a third option.", "expected_arguments": {"path": "src/types/role.ts", "edits": [{"oldText": "export type Role = \"user\" | \"assistant\";", "newText": "export type Role = \"user\" | \"assistant\" | \"tool\";"}]}}
{"messages": [{"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\": \"src/utils/toNumber.ts\", \"edits\": [{\"oldText\": \"parseInt(value, 10)\", \"newText\": \"Number(value)\"}]}"}}]}], "tool": "edit", "query": "Folder src/utils, file toNumber.ts: replace parseInt(value, 10) with Number(value).", "expected_arguments": {"path": "src/utils/toNumber.ts", "edits": [{"oldText": "parseInt(value, 10)", "newText": "Number(value)"}]}}
{"messages": [{"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/validation/isPositive.ts\", \"edits\": [{\"oldText\": \"value >= 0\", \"newText\": \"value > 0\"}]}"}}]}], "tool": "edit", "query": "In src/validation/isPositive.ts, change the comparison from >= 0 to > 0.", "expected_arguments": {"path": "src/validation/isPositive.ts", "edits": [{"oldText": "value >= 0", "newText": "value > 0"}]}}
{"messages": [{"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\": \"src/commands/version.ts\", \"edits\": [{\"oldText\": \"VERSION = \\\"0.9.0\\\"\", \"newText\": \"VERSION = \\\"1.0.0\\\"\"}]}"}}]}], "tool": "edit", "query": "Change `VERSION = \"0.9.0\"` to `VERSION = \"1.0.0\"` in src/commands/version.ts.", "expected_arguments": {"path": "src/commands/version.ts", "edits": [{"oldText": "VERSION = \"0.9.0\"", "newText": "VERSION = \"1.0.0\""}]}}
{"messages": [{"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/names.ts\", \"edits\": [{\"oldText\": \"[\\\"read\\\", \\\"write\\\", \\\"edit\\\"]\", \"newText\": \"[\\\"read\\\", \\\"write\\\", \\\"edit\\\", \\\"grep\\\"]\"}]}"}}]}], "tool": "edit", "query": "In src/tools/names.ts add `grep` after `edit` in the TOOL_NAMES array.", "expected_arguments": {"path": "src/tools/names.ts", "edits": [{"oldText": "[\"read\", \"write\", \"edit\"]", "newText": "[\"read\", \"write\", \"edit\", \"grep\"]"}]}}
{"messages": [{"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\", \"edits\": [{\"oldText\": \"maxSteps = 20\", \"newText\": \"maxSteps = 30\"}]}"}}]}], "tool": "edit", "query": "In src/agents/loop.ts, increase maxSteps from 20 to 30.", "expected_arguments": {"path": "src/agents/loop.ts", "edits": [{"oldText": "maxSteps = 20", "newText": "maxSteps = 30"}]}}
{"messages": [{"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/session.ts\", \"edits\": [{\"oldText\": \"timeout: 5000\", \"newText\": \"timeout: 10000\"}]}"}}]}], "tool": "edit", "query": "Edit src/runtime/session.ts and change timeout from 5000 to 10000.", "expected_arguments": {"path": "src/runtime/session.ts", "edits": [{"oldText": "timeout: 5000", "newText": "timeout: 10000"}]}}
{"messages": [{"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": "{\"path\": \"src/models/result.ts\", \"edits\": [{\"oldText\": \"success: boolean;\", \"newText\": \"ok: true | false;\"}]}"}}]}], "tool": "edit", "query": "In src/models/result.ts rename success to ok and change its type from boolean to true | false.", "expected_arguments": {"path": "src/models/result.ts", "edits": [{"oldText": "success: boolean;", "newText": "ok: true | false;"}]}}
{"messages": [{"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/commands/build.ts\", \"edits\": [{\"oldText\": \"build:dev\", \"newText\": \"build\"}]}"}}]}], "tool": "edit", "query": "For src/commands/build.ts replace the script key `build:dev` with `build`.", "expected_arguments": {"path": "src/commands/build.ts", "edits": [{"oldText": "build:dev", "newText": "build"}]}}
{"messages": [{"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/schema.ts\", \"edits\": [{\"oldText\": \"optional: false\", \"newText\": \"optional: true\"}]}"}}]}], "tool": "edit", "query": "In src/validation/schema.ts, change optional:false to optional:true.", "expected_arguments": {"path": "src/validation/schema.ts", "edits": [{"oldText": "optional: false", "newText": "optional: true"}]}}
{"messages": [{"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/hooks/useAgent.ts\", \"edits\": [{\"oldText\": \"enabled: false\", \"newText\": \"enabled: true\"}]}"}}]}], "tool": "edit", "query": "Folder src/hooks, filename useAgent.ts: change enabled:false to enabled:true.", "expected_arguments": {"path": "src/hooks/useAgent.ts", "edits": [{"oldText": "enabled: false", "newText": "enabled: true"}]}}
{"messages": [{"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": "{\"path\": \"src/utils/math.ts\", \"edits\": [{\"oldText\": \"function add\", \"newText\": \"function sum\"}, {\"oldText\": \"return a - b;\", \"newText\": \"return a + b;\"}]}"}}]}], "tool": "edit", "query": "In src/utils/math.ts make two changes: rename `add` to `sum`, and change `a - b` to `a + b`.", "expected_arguments": {"path": "src/utils/math.ts", "edits": [{"oldText": "function add", "newText": "function sum"}, {"oldText": "return a - b;", "newText": "return a + b;"}]}}
{"messages": [{"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.ts\", \"edits\": [{\"oldText\": \"DEFAULT_MODE = \\\"plan\\\"\", \"newText\": \"DEFAULT_MODE = \\\"execute\\\"\"}]}"}}]}], "tool": "edit", "query": "In src/agents/config.ts change DEFAULT_MODE from plan to execute.", "expected_arguments": {"path": "src/agents/config.ts", "edits": [{"oldText": "DEFAULT_MODE = \"plan\"", "newText": "DEFAULT_MODE = \"execute\""}]}}
{"messages": [{"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/prefix.ts\", \"edits\": [{\"oldText\": \"return p + value;\", \"newText\": \"return `${p}${value}`;\"}]}"}}]}], "tool": "edit", "query": "In src/lib/prefix.ts replace `return p + value;` with a template literal.", "expected_arguments": {"path": "src/lib/prefix.ts", "edits": [{"oldText": "return p + value;", "newText": "return `${p}${value}`;"}]}}
{"messages": [{"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\", \"edits\": [{\"oldText\": \"label: string;\", \"newText\": \"description: string;\"}]}"}}]}], "tool": "edit", "query": "In src/types/tool.ts change property label to description.", "expected_arguments": {"path": "src/types/tool.ts", "edits": [{"oldText": "label: string;", "newText": "description: string;"}]}}
{"messages": [{"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", "arguments": "{\"path\": \"src/services/logger.ts\", \"edits\": [{\"oldText\": \"function log(msg: string)\", \"newText\": \"function log(message: string)\"}, {\"oldText\": \"console.log(msg);\", \"newText\": \"console.log(message);\"}]}"}}]}], "tool": "edit", "query": "Edit the file logger.ts in src/services: rename the parameter msg to message and update the console call.", "expected_arguments": {"path": "src/services/logger.ts", "edits": [{"oldText": "function log(msg: string)", "newText": "function log(message: string)"}, {"oldText": "console.log(msg);", "newText": "console.log(message);"}]}}
{"messages": [{"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/config/feature.ts\", \"edits\": [{\"oldText\": \"ENABLED = false\", \"newText\": \"ENABLED = true\"}]}"}}]}], "tool": "edit", "query": "In src/config/feature.ts change the flag `ENABLED = false` to `ENABLED = true`.", "expected_arguments": {"path": "src/config/feature.ts", "edits": [{"oldText": "ENABLED = false", "newText": "ENABLED = true"}]}}
{"messages": [{"role": "user", "content": "List the entries directly inside src/agents."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/agents\"}"}}]}], "tool": "ls", "query": "List the entries directly inside src/agents.", "expected_arguments": {"path": "src/agents"}}
{"messages": [{"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\"}"}}]}], "tool": "ls", "query": "Show what's in the tools directory under src.", "expected_arguments": {"path": "src/tools"}}
{"messages": [{"role": "user", "content": "List the current directory."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \".\"}"}}]}], "tool": "ls", "query": "List the current directory.", "expected_arguments": {"path": "."}}
{"messages": [{"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\"}"}}]}], "tool": "ls", "query": "Folder is src/config. Show its direct entries.", "expected_arguments": {"path": "src/config"}}
{"messages": [{"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\"}"}}]}], "tool": "ls", "query": "What files and directories are directly inside src/runtime?", "expected_arguments": {"path": "src/runtime"}}
{"messages": [{"role": "user", "content": "List src/commands."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/commands\"}"}}]}], "tool": "ls", "query": "List src/commands.", "expected_arguments": {"path": "src/commands"}}
{"messages": [{"role": "user", "content": "Show the contents of src/utils."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/utils\"}"}}]}], "tool": "ls", "query": "Show the contents of src/utils.", "expected_arguments": {"path": "src/utils"}}
{"messages": [{"role": "user", "content": "List everything directly under src/models."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/models\"}"}}]}], "tool": "ls", "query": "List everything directly under src/models.", "expected_arguments": {"path": "src/models"}}
{"messages": [{"role": "user", "content": "Directory: src/validation. List its entries."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/validation\"}"}}]}], "tool": "ls", "query": "Directory: src/validation. List its entries.", "expected_arguments": {"path": "src/validation"}}
{"messages": [{"role": "user", "content": "Show what is inside src/server."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/server\"}"}}]}], "tool": "ls", "query": "Show what is inside src/server.", "expected_arguments": {"path": "src/server"}}
{"messages": [{"role": "user", "content": "List the hooks folder inside src."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/hooks\"}"}}]}], "tool": "ls", "query": "List the hooks folder inside src.", "expected_arguments": {"path": "src/hooks"}}
{"messages": [{"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\"}"}}]}], "tool": "ls", "query": "Give me the directory listing for src/lib.", "expected_arguments": {"path": "src/lib"}}
{"messages": [{"role": "user", "content": "Show the entries in src/fs."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/fs\"}"}}]}], "tool": "ls", "query": "Show the entries in src/fs.", "expected_arguments": {"path": "src/fs"}}
{"messages": [{"role": "user", "content": "List files under src/services."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/services\"}"}}]}], "tool": "ls", "query": "List files under src/services.", "expected_arguments": {"path": "src/services"}}
{"messages": [{"role": "user", "content": "What is directly inside src/types?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/types\"}"}}]}], "tool": "ls", "query": "What is directly inside src/types?", "expected_arguments": {"path": "src/types"}}
{"messages": [{"role": "user", "content": "List the contents of src/cli."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/cli\"}"}}]}], "tool": "ls", "query": "List the contents of src/cli.", "expected_arguments": {"path": "src/cli"}}
{"messages": [{"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\"}"}}]}], "tool": "ls", "query": "Show entries in the tools folder inside agents: src/agents/tools.", "expected_arguments": {"path": "src/agents/tools"}}
{"messages": [{"role": "user", "content": "List src/validation/rules."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/validation/rules\"}"}}]}], "tool": "ls", "query": "List src/validation/rules.", "expected_arguments": {"path": "src/validation/rules"}}
{"messages": [{"role": "user", "content": "Show everything directly inside tests."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"tests\"}"}}]}], "tool": "ls", "query": "Show everything directly inside tests.", "expected_arguments": {"path": "tests"}}
{"messages": [{"role": "user", "content": "Directory tests/agents: list its contents."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"tests/agents\"}"}}]}], "tool": "ls", "query": "Directory tests/agents: list its contents.", "expected_arguments": {"path": "tests/agents"}}
{"messages": [{"role": "user", "content": "List entries in tests/tools."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"tests/tools\"}"}}]}], "tool": "ls", "query": "List entries in tests/tools.", "expected_arguments": {"path": "tests/tools"}}
{"messages": [{"role": "user", "content": "Show the contents of src/plugins."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/plugins\"}"}}]}], "tool": "ls", "query": "Show the contents of src/plugins.", "expected_arguments": {"path": "src/plugins"}}
{"messages": [{"role": "user", "content": "List src/adapters."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/adapters\"}"}}]}], "tool": "ls", "query": "List src/adapters.", "expected_arguments": {"path": "src/adapters"}}
{"messages": [{"role": "user", "content": "Show entries in src/parsers."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/parsers\"}"}}]}], "tool": "ls", "query": "Show entries in src/parsers.", "expected_arguments": {"path": "src/parsers"}}
{"messages": [{"role": "user", "content": "List the workers directory under src."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "ls", "arguments": "{\"path\": \"src/workers\"}"}}]}], "tool": "ls", "query": "List the workers directory under src.", "expected_arguments": {"path": "src/workers"}}
{"messages": [{"role": "user", "content": "Search src for the exact text `createAgent`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"createAgent\", \"path\": \"src\"}"}}]}], "tool": "grep", "query": "Search src for the exact text `createAgent`.", "expected_arguments": {"pattern": "createAgent", "path": "src"}}
{"messages": [{"role": "user", "content": "Find TODO comments inside src/agents."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"TODO\", \"path\": \"src/agents\"}"}}]}], "tool": "grep", "query": "Find TODO comments inside src/agents.", "expected_arguments": {"pattern": "TODO", "path": "src/agents"}}
{"messages": [{"role": "user", "content": "Look for `executeTool` under src/tools."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"executeTool\", \"path\": \"src/tools\"}"}}]}], "tool": "grep", "query": "Look for `executeTool` under src/tools.", "expected_arguments": {"pattern": "executeTool", "path": "src/tools"}}
{"messages": [{"role": "user", "content": "Search the project for TypeScript files using the regex `\\.ts$`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"\\\\.ts$\", \"path\": \"src\"}"}}]}], "tool": "grep", "query": "Search the project for TypeScript files using the regex `\\.ts$`.", "expected_arguments": {"pattern": "\\.ts$", "path": "src"}}
{"messages": [{"role": "user", "content": "Folder src/config: find occurrences of timeout."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"timeout\", \"path\": \"src/config\"}"}}]}], "tool": "grep", "query": "Folder src/config: find occurrences of timeout.", "expected_arguments": {"pattern": "timeout", "path": "src/config"}}
{"messages": [{"role": "user", "content": "Search src/types for ToolCall."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"ToolCall\", \"path\": \"src/types\"}"}}]}], "tool": "grep", "query": "Search src/types for ToolCall.", "expected_arguments": {"pattern": "ToolCall", "path": "src/types"}}
{"messages": [{"role": "user", "content": "Find sessionId in the runtime directory under src."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"sessionId\", \"path\": \"src/runtime\"}"}}]}], "tool": "grep", "query": "Find sessionId in the runtime directory under src.", "expected_arguments": {"pattern": "sessionId", "path": "src/runtime"}}
{"messages": [{"role": "user", "content": "Search src for console.log."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"console\\\\.log\", \"path\": \"src\"}"}}]}], "tool": "grep", "query": "Search src for console.log.", "expected_arguments": {"pattern": "console\\.log", "path": "src"}}
{"messages": [{"role": "user", "content": "In src/commands, find the word run."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"run\", \"path\": \"src/commands\"}"}}]}], "tool": "grep", "query": "In src/commands, find the word run.", "expected_arguments": {"pattern": "run", "path": "src/commands"}}
{"messages": [{"role": "user", "content": "Look for the exact declaration `interface User` in src/models."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"interface User\", \"path\": \"src/models\"}"}}]}], "tool": "grep", "query": "Look for the exact declaration `interface User` in src/models.", "expected_arguments": {"pattern": "interface User", "path": "src/models"}}
{"messages": [{"role": "user", "content": "Search src/utils for normalizePath."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"normalizePath\", \"path\": \"src/utils\"}"}}]}], "tool": "grep", "query": "Search src/utils for normalizePath.", "expected_arguments": {"pattern": "normalizePath", "path": "src/utils"}}
{"messages": [{"role": "user", "content": "Find process.env references in src/config."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"process\\\\.env\", \"path\": \"src/config\"}"}}]}], "tool": "grep", "query": "Find process.env references in src/config.", "expected_arguments": {"pattern": "process\\.env", "path": "src/config"}}
{"messages": [{"role": "user", "content": "Search src/agents for maxSteps."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"maxSteps\", \"path\": \"src/agents\"}"}}]}], "tool": "grep", "query": "Search src/agents for maxSteps.", "expected_arguments": {"pattern": "maxSteps", "path": "src/agents"}}
{"messages": [{"role": "user", "content": "Find `export type Role` in src/models."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"export type Role\", \"path\": \"src/models\"}"}}]}], "tool": "grep", "query": "Find `export type Role` in src/models.", "expected_arguments": {"pattern": "export type Role", "path": "src/models"}}
{"messages": [{"role": "user", "content": "Search the server folder under src for router."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"router\", \"path\": \"src/server\"}"}}]}], "tool": "grep", "query": "Search the server folder under src for router.", "expected_arguments": {"pattern": "router", "path": "src/server"}}
{"messages": [{"role": "user", "content": "Look for Promise< in src/services."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"Promise<\", \"path\": \"src/services\"}"}}]}], "tool": "grep", "query": "Look for Promise< in src/services.", "expected_arguments": {"pattern": "Promise<", "path": "src/services"}}
{"messages": [{"role": "user", "content": "Find optional in src/validation."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"optional\", \"path\": \"src/validation\"}"}}]}], "tool": "grep", "query": "Find optional in src/validation.", "expected_arguments": {"pattern": "optional", "path": "src/validation"}}
{"messages": [{"role": "user", "content": "Search src/commands for async function."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"async function\", \"path\": \"src/commands\"}"}}]}], "tool": "grep", "query": "Search src/commands for async function.", "expected_arguments": {"pattern": "async function", "path": "src/commands"}}
{"messages": [{"role": "user", "content": "Find useAgent inside src/hooks."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"useAgent\", \"path\": \"src/hooks\"}"}}]}], "tool": "grep", "query": "Find useAgent inside src/hooks.", "expected_arguments": {"pattern": "useAgent", "path": "src/hooks"}}
{"messages": [{"role": "user", "content": "Search the entire src tree for throw new Error."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"throw new Error\", \"path\": \"src\"}"}}]}], "tool": "grep", "query": "Search the entire src tree for throw new Error.", "expected_arguments": {"pattern": "throw new Error", "path": "src"}}
{"messages": [{"role": "user", "content": "Find JSON.parse in src/lib."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"JSON\\\\.parse\", \"path\": \"src/lib\"}"}}]}], "tool": "grep", "query": "Find JSON.parse in src/lib.", "expected_arguments": {"pattern": "JSON\\.parse", "path": "src/lib"}}
{"messages": [{"role": "user", "content": "Search src/types for readonly."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"readonly\", \"path\": \"src/types\"}"}}]}], "tool": "grep", "query": "Search src/types for readonly.", "expected_arguments": {"pattern": "readonly", "path": "src/types"}}
{"messages": [{"role": "user", "content": "Find edits in src/tools."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"edits\", \"path\": \"src/tools\"}"}}]}], "tool": "grep", "query": "Find edits in src/tools.", "expected_arguments": {"pattern": "edits", "path": "src/tools"}}
{"messages": [{"role": "user", "content": "Search src/runtime for catch (. Escape the parenthesis as needed."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"catch \\\\(\", \"path\": \"src/runtime\"}"}}]}], "tool": "grep", "query": "Search src/runtime for catch (. Escape the parenthesis as needed.", "expected_arguments": {"pattern": "catch \\(", "path": "src/runtime"}}
{"messages": [{"role": "user", "content": "Find export default anywhere under src."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"export default\", \"path\": \"src\"}"}}]}], "tool": "grep", "query": "Find export default anywhere under src.", "expected_arguments": {"pattern": "export default", "path": "src"}}
{"messages": [{"role": "user", "content": "Run `npm test -- --runInBand` in the current TypeScript project."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npm test -- --runInBand\"}"}}]}], "tool": "bash", "query": "Run `npm test -- --runInBand` in the current TypeScript project.", "expected_arguments": {"command": "npm test -- --runInBand"}}
{"messages": [{"role": "user", "content": "Type-check the project with `npx tsc --noEmit`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npx tsc --noEmit\"}"}}]}], "tool": "bash", "query": "Type-check the project with `npx tsc --noEmit`.", "expected_arguments": {"command": "npx tsc --noEmit"}}
{"messages": [{"role": "user", "content": "Run the unit-test script: `npm run test:unit`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npm run test:unit\"}"}}]}], "tool": "bash", "query": "Run the unit-test script: `npm run test:unit`.", "expected_arguments": {"command": "npm run test:unit"}}
{"messages": [{"role": "user", "content": "Run the linter using `npm run lint`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npm run lint\"}"}}]}], "tool": "bash", "query": "Run the linter using `npm run lint`.", "expected_arguments": {"command": "npm run lint"}}
{"messages": [{"role": "user", "content": "Build the project with `npm run build`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npm run build\"}"}}]}], "tool": "bash", "query": "Build the project with `npm run build`.", "expected_arguments": {"command": "npm run build"}}
{"messages": [{"role": "user", "content": "Execute `npx vitest run src/agents/loop.test.ts`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npx vitest run src/agents/loop.test.ts\"}"}}]}], "tool": "bash", "query": "Execute `npx vitest run src/agents/loop.test.ts`.", "expected_arguments": {"command": "npx vitest run src/agents/loop.test.ts"}}
{"messages": [{"role": "user", "content": "Run `npx jest src/tools/edit.test.ts --runInBand`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npx jest src/tools/edit.test.ts --runInBand\"}"}}]}], "tool": "bash", "query": "Run `npx jest src/tools/edit.test.ts --runInBand`.", "expected_arguments": {"command": "npx jest src/tools/edit.test.ts --runInBand"}}
{"messages": [{"role": "user", "content": "Test only `src/utils/math.test.ts` with `npm test -- src/utils/math.test.ts`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"src/utils/math.test.ts\"}"}}]}], "tool": "bash", "query": "Test only `src/utils/math.test.ts` with `npm test -- src/utils/math.test.ts`.", "expected_arguments": {"command": "src/utils/math.test.ts"}}
{"messages": [{"role": "user", "content": "Lint src/agents/loop.ts using `npx eslint src/agents/loop.ts`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npx eslint src/agents/loop.ts\"}"}}]}], "tool": "bash", "query": "Lint src/agents/loop.ts using `npx eslint src/agents/loop.ts`.", "expected_arguments": {"command": "npx eslint src/agents/loop.ts"}}
{"messages": [{"role": "user", "content": "Check formatting of src/agents/loop.ts with `npx prettier --check src/agents/loop.ts`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npx prettier --check src/agents/loop.ts\"}"}}]}], "tool": "bash", "query": "Check formatting of src/agents/loop.ts with `npx prettier --check src/agents/loop.ts`.", "expected_arguments": {"command": "npx prettier --check src/agents/loop.ts"}}
{"messages": [{"role": "user", "content": "Run TypeScript checking without pretty output: `npx tsc --noEmit --pretty false`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npx tsc --noEmit --pretty false\"}"}}]}], "tool": "bash", "query": "Run TypeScript checking without pretty output: `npx tsc --noEmit --pretty false`.", "expected_arguments": {"command": "npx tsc --noEmit --pretty false"}}
{"messages": [{"role": "user", "content": "Run the project's typecheck script: `npm run typecheck`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npm run typecheck\"}"}}]}], "tool": "bash", "query": "Run the project's typecheck script: `npm run typecheck`.", "expected_arguments": {"command": "npm run typecheck"}}
{"messages": [{"role": "user", "content": "Run tests with coverage using `npm run test -- --coverage`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npm run test -- --coverage\"}"}}]}], "tool": "bash", "query": "Run tests with coverage using `npm run test -- --coverage`.", "expected_arguments": {"command": "npm run test -- --coverage"}}
{"messages": [{"role": "user", "content": "Execute `npx vitest run src/utils/math.test.ts`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npx vitest run src/utils/math.test.ts\"}"}}]}], "tool": "bash", "query": "Execute `npx vitest run src/utils/math.test.ts`.", "expected_arguments": {"command": "npx vitest run src/utils/math.test.ts"}}
{"messages": [{"role": "user", "content": "Run the user model test file with `npm test -- src/models/user.test.ts --runInBand`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npm test -- src/models/user.test.ts --runInBand\"}"}}]}], "tool": "bash", "query": "Run the user model test file with `npm test -- src/models/user.test.ts --runInBand`.", "expected_arguments": {"command": "npm test -- src/models/user.test.ts --runInBand"}}
{"messages": [{"role": "user", "content": "Lint both files with `npx eslint src/tools/edit.ts src/tools/read.ts`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npx eslint src/tools/edit.ts src/tools/read.ts\"}"}}]}], "tool": "bash", "query": "Lint both files with `npx eslint src/tools/edit.ts src/tools/read.ts`.", "expected_arguments": {"command": "npx eslint src/tools/edit.ts src/tools/read.ts"}}
{"messages": [{"role": "user", "content": "Format src/utils/math.ts in place with `npx prettier --write src/utils/math.ts`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npx prettier --write src/utils/math.ts\"}"}}]}], "tool": "bash", "query": "Format src/utils/math.ts in place with `npx prettier --write src/utils/math.ts`.", "expected_arguments": {"command": "npx prettier --write src/utils/math.ts"}}
{"messages": [{"role": "user", "content": "Run the integration tests: `npm run test:integration`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npm run test:integration\"}"}}]}], "tool": "bash", "query": "Run the integration tests: `npm run test:integration`.", "expected_arguments": {"command": "npm run test:integration"}}
{"messages": [{"role": "user", "content": "Run the compiled edit test with `node --test dist/tests/tools/edit.test.js`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"node --test dist/tests/tools/edit.test.js\"}"}}]}], "tool": "bash", "query": "Run the compiled edit test with `node --test dist/tests/tools/edit.test.js`.", "expected_arguments": {"command": "node --test dist/tests/tools/edit.test.js"}}
{"messages": [{"role": "user", "content": "Show the run command help with `npx tsx src/commands/run.ts --help`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npx tsx src/commands/run.ts --help\"}"}}]}], "tool": "bash", "query": "Show the run command help with `npx tsx src/commands/run.ts --help`.", "expected_arguments": {"command": "npx tsx src/commands/run.ts --help"}}
{"messages": [{"role": "user", "content": "Run the project's generic checks using `npm run check`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npm run check\"}"}}]}], "tool": "bash", "query": "Run the project's generic checks using `npm run check`.", "expected_arguments": {"command": "npm run check"}}
{"messages": [{"role": "user", "content": "Run Vitest with verbose output: `npx vitest run --reporter=verbose`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npx vitest run --reporter=verbose\"}"}}]}], "tool": "bash", "query": "Run Vitest with verbose output: `npx vitest run --reporter=verbose`.", "expected_arguments": {"command": "npx vitest run --reporter=verbose"}}
{"messages": [{"role": "user", "content": "Run tests without watch mode: `npm test -- --watch=false`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npm test -- --watch=false\"}"}}]}], "tool": "bash", "query": "Run tests without watch mode: `npm test -- --watch=false`.", "expected_arguments": {"command": "npm test -- --watch=false"}}
{"messages": [{"role": "user", "content": "Type-check src/index.ts only with `npx tsc --noEmit src/index.ts`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npx tsc --noEmit src/index.ts\"}"}}]}], "tool": "bash", "query": "Type-check src/index.ts only with `npx tsc --noEmit src/index.ts`.", "expected_arguments": {"command": "npx tsc --noEmit src/index.ts"}}
{"messages": [{"role": "user", "content": "Run the end-to-end tests using `npm run test:e2e`."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "bash", "arguments": "{\"command\": \"npm run test:e2e\"}"}}]}], "tool": "bash", "query": "Run the end-to-end tests using `npm run test:e2e`.", "expected_arguments": {"command": "npm run test:e2e"}}