[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-langchain-swarm":3,"mdc--vdtv53-key":31,"related-repo-langchain-swarm":6542,"related-org-langchain-swarm":6651},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":21,"repoUrl":22,"updatedAt":23,"license":24,"forks":25,"topics":26,"repo":27,"sourceUrl":29,"mdContent":30},"swarm","dispatch parallel tasks to subagents","Dispatches many independent items in parallel: create a table, fan out to subagents, aggregate results. One row = one unit of work.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"langchain","LangChain","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Flangchain.png","langchain-ai",[13,15,18],{"name":9,"slug":8,"type":14},"tag",{"name":16,"slug":17,"type":14},"Automation","automation",{"name":19,"slug":20,"type":14},"Multi-Agent","multi-agent",877,"https:\u002F\u002Fgithub.com\u002Flangchain-ai\u002Flangchain-skills","2026-06-19T09:12:49.308515",null,77,[],{"repoUrl":22,"stars":21,"forks":25,"topics":28,"description":24},[],"https:\u002F\u002Fgithub.com\u002Flangchain-ai\u002Flangchain-skills\u002Ftree\u002FHEAD\u002Fconfig\u002Fskills\u002Fswarm","---\nname: swarm\ndescription: >-\n  Dispatches many independent items in parallel: create a table, fan out to\n  subagents, aggregate results. One row = one unit of work.\ncompatibility: >-\n  Requires @langchain\u002Fquickjs code interpreter with swarm_task PTC tool\nmetadata:\n  entrypoint: scripts\u002Findex.ts\n  required-ptc-tools: swarm_task read_file write_file edit_file glob\n---\n\n# Swarm\n\nProcess many independent items in parallel. `create` builds a table handle;\n`run` fans work out across rows and merges results back. One row = one unit\nof work — swarm handles batching automatically.\n\n## Flow\n\n1. **Create.** Build a table from a source — files, a glob pattern, or\n   pre-parsed records. One row per item. Returns a handle.\n2. **Run.** Dispatch an `instruction` template across rows. Results are merged\n   back into the table. Returns `{ completed, failed, skipped, failures }`.\n3. **Aggregate.** Use `rows()` and plain JS to count, filter, or summarize.\n   Do not spawn additional subagents for aggregation.\n4. **Retry.** Re-run with `filter: { column: \"\u003Ccol>\", exists: false }` to\n   reprocess only failed rows.\n\n## Choosing a source\n\n**`glob` \u002F `filePaths`** — one file = one row. Use when each file is an\nindependent unit of work. Each row gets `{ id, file }`; the subagent reads\nthe file itself via the `{file}` placeholder.\n\n**`tasks`** — pass pre-built records directly. Use when the data lives inside\na file (JSONL, CSV, JSON array). Read and parse the file first inside\n`eval`, then pass the records. One record = one row — do not group\nmultiple items into a single row.\n\nFor small files (under ~500 lines), parse and create in one block:\n\n```javascript\nconst { create } = await import(\"@\u002Fskills\u002Fswarm\");\nconst raw = await tools.readFile({ file_path: \"\u002Fdata.jsonl\" });\nconst records = raw.trim().split(\"\\n\").map(l => JSON.parse(l));\nconst table = await create({ tasks: records });\nconsole.log(table);\n```\n\nFor large files, read in chunks of 500 lines to avoid truncation:\n\n```javascript\nconst { create } = await import(\"@\u002Fskills\u002Fswarm\");\nlet records = [];\nlet offset = 0;\nwhile (true) {\n  const chunk = await tools.readFile({ file_path: \"\u002Fdata.txt\", offset, limit: 500 });\n  const lines = chunk.split(\"\\n\").filter(l => l.trim());\n  for (const l of lines) { records.push({ id: `r${records.length}`, text: l }); }\n  if (lines.length \u003C 500) break;\n  offset += 500;\n}\nconst table = await create({ tasks: records });\nconsole.log(table);\n```\n\nWhen the file is too large to parse and dispatch in one `eval` call, split\nacross two blocks. Only the block that calls swarm functions needs the import:\n\n```javascript\n\u002F\u002F eval 1: parse only — no swarm import needed\nconst raw = await tools.readFile({ file_path: \"\u002Fdata.jsonl\" });\nglobalThis.records = raw.trim().split(\"\\n\").map(l => JSON.parse(l));\nconsole.log(`Parsed ${globalThis.records.length} records`);\n```\n\n```javascript\n\u002F\u002F eval 2: create and dispatch\nconst { create, run } = await import(\"@\u002Fskills\u002Fswarm\");\nconst table = await create({ tasks: globalThis.records });\nconst result = await run(table.id, {\n  instruction: \"Classify {text}\",\n  responseSchema: {\n    type: \"object\",\n    properties: { label: { type: \"string\" } },\n    required: [\"label\"],\n  },\n});\nconsole.log(result);\n```\n\nPassing `filePaths: [\"\u002Fdata.jsonl\"]` would produce a table with **one row**\npointing at the file — not one row per record inside it.\n\n## When to use `subagentType`\n\nOmit `subagentType` for classification, extraction, labeling, and any task\nwhere a single model call with structured output is sufficient. This is the\ndefault and is significantly cheaper and faster — each dispatch is a direct\nmodel call, no tools, no iteration.\n\nSet `subagentType` when the task requires tools, file access, or multi-step\nreasoning. Each dispatch runs a full agentic loop with the named subagent.\n\n```javascript\n\u002F\u002F Direct model call — classification, no tools needed\nawait run(table.id, {\n  instruction: \"Classify {text}\",\n  responseSchema: { type: \"object\", properties: { label: { type: \"string\" } }, required: [\"label\"] },\n});\n\n\u002F\u002F Subagent — needs to read files and reason over multiple steps\nawait run(table.id, {\n  subagentType: \"reviewer\",\n  instruction: \"Review {file} for security issues.\",\n  responseSchema: { type: \"object\", properties: { finding: { type: \"string\" } }, required: [\"finding\"] },\n});\n```\n\n## Instruction + context\n\n`instruction` is a per-item template with `{column}` placeholders.\nPlaceholders are resolved by the framework — your column names appear in\nprompts as references to the values listed alongside, never as raw\ntemplate syntax. Subagents do the work — do not process items yourself in\nJS and write the results into rows.\n\n`context` is free-form prose prepended to every subagent prompt. Use it for\nshared background: domain terms, classification rules, examples, etc.\n\n```javascript\nconst { create, run } = await import(\"@\u002Fskills\u002Fswarm\");\n\nconst table = await create({ glob: \"src\u002F**\u002F*.ts\" });\nconst r = await run(table.id, {\n  subagentType: \"reviewer\",\n  instruction: \"Review {file} for security issues. List findings or write 'no issues'.\",\n  context: \"TypeScript Express backend using Prisma ORM. Focus on injection, auth bypass, path traversal.\",\n  responseSchema: {\n    type: \"object\",\n    properties: { review: { type: \"string\" } },\n    required: [\"review\"],\n  },\n});\nconsole.log(r);\n\u002F\u002F → { completed: 45, failed: 2, skipped: 0, failures: [...] }\n```\n\n## Structured output\n\n`responseSchema` is required. Schema properties become top-level columns on\neach row and constrain what subagents can return.\n\n```javascript\nconst { run } = await import(\"@\u002Fskills\u002Fswarm\");\nawait run(table.id, {\n  instruction: \"Classify: {text}\",\n  responseSchema: {\n    type: \"object\",\n    properties: {\n      sentiment: { type: \"string\", enum: [\"positive\", \"negative\", \"neutral\"] },\n    },\n    required: [\"sentiment\"],\n  },\n});\n\u002F\u002F Row after: { id: \"r1\", text: \"...\", sentiment: \"positive\" }\n```\n\n## Batching\n\nBy default, swarm auto-batches to keep total dispatches under 10. For small\ntables (≤10 rows) each row gets its own subagent call. For larger tables,\nrows are grouped automatically.\n\nSet `batchSize` to control grouping:\n\n- **Number** — uniform batch size for all rows. `batchSize: 1` forces per-row\n  dispatch; `batchSize: 20` groups in twenties.\n- **Function** — `(row, rowCount) => number`. Returns the desired batch size\n  for each row. Rows with the same batch size are grouped together, then\n  chunked. Allows mixed dispatch where some rows go solo and others batch.\n\n```javascript\nconst { create, run } = await import(\"@\u002Fskills\u002Fswarm\");\nconst table = await create({ tasks: items });\n\n\u002F\u002F Complex items get individual attention; simple ones batch together\nawait run(table.id, {\n  instruction: \"Analyze {text}\",\n  responseSchema: {\n    type: \"object\",\n    properties: { analysis: { type: \"string\" } },\n    required: [\"analysis\"],\n  },\n  batchSize: (row) => (row.token_count > 1000 ? 1 : 10),\n});\n```\n\nBatch sizes are clamped to [1, 50] after evaluation.\n\n## Aggregation\n\nAfter `run()`, use `rows()` and plain JS — no additional subagents needed.\n\n```javascript\nconst { rows } = await import(\"@\u002Fskills\u002Fswarm\");\nconst data = await rows(table.id, { columns: [\"sentiment\"] });\nconst counts = {};\ndata.forEach(r => { counts[r.sentiment] = (counts[r.sentiment] || 0) + 1 });\nconsole.log(counts);\n\u002F\u002F → { positive: 120, negative: 45, neutral: 35 }\n```\n\n## Chaining passes\n\n`run` updates the table in place — chain calls to accumulate columns.\n\n```javascript\nconst { create, run } = await import(\"@\u002Fskills\u002Fswarm\");\nconst table = await create({ tasks: interviews });\nawait run(table.id, {\n  instruction: \"Classify sentiment of {text}\",\n  responseSchema: {\n    type: \"object\",\n    properties: { sentiment: { type: \"string\", enum: [\"positive\", \"negative\", \"neutral\"] } },\n    required: [\"sentiment\"],\n  },\n});\nawait run(table.id, {\n  filter: { column: \"sentiment\", equals: \"negative\" },\n  instruction: \"Summarize why {text} had negative sentiment.\",\n  responseSchema: {\n    type: \"object\",\n    properties: { summary: { type: \"string\" } },\n    required: [\"summary\"],\n  },\n});\n```\n\n## Action-only tasks\n\nWhen subagents perform actions (write a file, apply a fix) rather than return\ndata, use a simple schema with a status or marker field. The `exists: false`\nfilter still works for retries.\n\n```javascript\nconst { create, run } = await import(\"@\u002Fskills\u002Fswarm\");\nconst fixedSchema = {\n  type: \"object\",\n  properties: { fixed: { type: \"string\" } },\n  required: [\"fixed\"],\n};\nconst table = await create({ glob: \"src\u002F**\u002F*.ts\" });\nawait run(table.id, {\n  subagentType: \"fixer\",\n  instruction: \"Add missing JSDoc to all exported functions in {file}.\",\n  responseSchema: fixedSchema,\n});\n\u002F\u002F retry any that failed\nawait run(table.id, {\n  subagentType: \"fixer\",\n  instruction: \"Add missing JSDoc to all exported functions in {file}.\",\n  responseSchema: fixedSchema,\n  filter: { column: \"fixed\", exists: false },\n});\n```\n\n## Filtering\n\n```javascript\n{ column: \"status\", equals: \"done\" }\n{ column: \"status\", notEquals: \"done\" }\n{ column: \"category\", in: [\"A\", \"B\"] }\n{ column: \"result\", exists: false }      \u002F\u002F not yet processed\n{ and: [filter1, filter2] }\n{ or: [filter1, filter2] }\n```\n\n## Technical notes\n\n- **Only import `@\u002Fskills\u002Fswarm` in blocks where you call swarm functions.**\n  Data preparation (reading files, parsing, storing in `globalThis`) does not\n  need the import. Destructure only what you use: `{ create }`, `{ run }`,\n  `{ create, run }`, etc.\n- **Console output is capped at ~5 KB.** Never log raw file contents —\n  log only counts and short samples.\n- **`readFile` inside `eval` returns raw content — no line-number\n  prefixes.** Request at most 500 lines per call. For files with more\n  than 500 lines, loop with incrementing `offset`.\n- **When building a table from a file, read it inside `eval`.** Data read\n  inside the sandbox stays there; it never enters the agent's context window.\n- **Never write to `.swarm\u002F` directly.** Always use `create()`.\n- **Everything the subagent needs must be in `instruction` + `context`.**\n  Subagents can't see the agent's context.\n- **Row ids must be unique.** `create()` rejects sources that produce\n  duplicate ids. For `tasks`, that's a caller-side responsibility; for\n  `glob` \u002F `filePaths`, ids are auto-disambiguated by parent directory.\n- **Unknown columns fail fast.** If `instruction` references `{foo}` and\n  no matched row provides `foo`, `run()` throws before any subagent is\n  dispatched.\n\n## API Reference\n\n### `create(source)`\n\nCreate a table. Returns a handle `{ id, count, columns }`.\n\n| Source | Description |\n|--------|------------|\n| `{ glob: \"src\u002F**\u002F*.ts\" }` or `{ glob: [\"src\u002F**\u002F*.ts\", \"lib\u002F**\u002F*.ts\"] }` | Match files by one or more patterns. Columns: `id`, `file` |\n| `{ filePaths: [\"a.ts\", \"b.ts\"] }` | Explicit file list. Columns: `id`, `file` |\n| `{ tasks: [{ id: \"t1\", text: \"...\" }] }` | Custom rows. Each must have `id` |\n\n### `run(tableId, options)`\n\nDispatch work across rows. Returns `{ completed, failed, skipped, failures }`.\n\n| Option | Default | Description |\n|--------|---------|------------|\n| `instruction` | (required) | Template with `{column}` placeholders |\n| `responseSchema` | (required) | JSON Schema (`type: \"object\"`) — properties become row columns |\n| `context` | — | Prose prepended to every subagent prompt |\n| `filter` | — | Only dispatch matching rows |\n| `subagentType` | — | Name of subagent to dispatch to. When set, runs a full agentic loop. When omitted, runs a direct model call |\n| `batchSize` | auto | Number or `(row, rowCount) => number`. Auto caps dispatches at 10; `1` = per-row; function = per-row sizing |\n| `concurrency` | `10` | Max concurrent subagent dispatches (clamped to 1–10) |\n\n### `rows(tableId, options?)`\n\nRetrieve rows. Use for inspection and JS-based aggregation.\n\n| Option | Description |\n|--------|------------|\n| `filter` | Only return matching rows |\n| `columns` | Project to specific columns |\n| `limit` | Max rows returned |\n",{"data":32,"body":37},{"name":4,"description":6,"compatibility":33,"metadata":34},"Requires @langchain\u002Fquickjs code interpreter with swarm_task PTC tool",{"entrypoint":35,"required-ptc-tools":36},"scripts\u002Findex.ts","swarm_task read_file write_file edit_file glob",{"type":38,"children":39},"root",[40,48,71,78,156,162,200,222,227,596,601,1234,1246,1511,1923,1943,1955,1967,1979,2441,2447,2465,2476,2937,2943,2954,3314,3320,3325,3337,3385,3822,3834,3840,3860,4188,4194,4204,4893,4899,4912,5501,5507,5846,5852,6081,6087,6098,6110,6225,6235,6246,6451,6461,6466,6536],{"type":41,"tag":42,"props":43,"children":44},"element","h1",{"id":4},[45],{"type":46,"value":47},"text","Swarm",{"type":41,"tag":49,"props":50,"children":51},"p",{},[52,54,61,63,69],{"type":46,"value":53},"Process many independent items in parallel. ",{"type":41,"tag":55,"props":56,"children":58},"code",{"className":57},[],[59],{"type":46,"value":60},"create",{"type":46,"value":62}," builds a table handle;\n",{"type":41,"tag":55,"props":64,"children":66},{"className":65},[],[67],{"type":46,"value":68},"run",{"type":46,"value":70}," fans work out across rows and merges results back. One row = one unit\nof work — swarm handles batching automatically.",{"type":41,"tag":72,"props":73,"children":75},"h2",{"id":74},"flow",[76],{"type":46,"value":77},"Flow",{"type":41,"tag":79,"props":80,"children":81},"ol",{},[82,94,120,138],{"type":41,"tag":83,"props":84,"children":85},"li",{},[86,92],{"type":41,"tag":87,"props":88,"children":89},"strong",{},[90],{"type":46,"value":91},"Create.",{"type":46,"value":93}," Build a table from a source — files, a glob pattern, or\npre-parsed records. One row per item. Returns a handle.",{"type":41,"tag":83,"props":95,"children":96},{},[97,102,104,110,112,118],{"type":41,"tag":87,"props":98,"children":99},{},[100],{"type":46,"value":101},"Run.",{"type":46,"value":103}," Dispatch an ",{"type":41,"tag":55,"props":105,"children":107},{"className":106},[],[108],{"type":46,"value":109},"instruction",{"type":46,"value":111}," template across rows. Results are merged\nback into the table. Returns ",{"type":41,"tag":55,"props":113,"children":115},{"className":114},[],[116],{"type":46,"value":117},"{ completed, failed, skipped, failures }",{"type":46,"value":119},".",{"type":41,"tag":83,"props":121,"children":122},{},[123,128,130,136],{"type":41,"tag":87,"props":124,"children":125},{},[126],{"type":46,"value":127},"Aggregate.",{"type":46,"value":129}," Use ",{"type":41,"tag":55,"props":131,"children":133},{"className":132},[],[134],{"type":46,"value":135},"rows()",{"type":46,"value":137}," and plain JS to count, filter, or summarize.\nDo not spawn additional subagents for aggregation.",{"type":41,"tag":83,"props":139,"children":140},{},[141,146,148,154],{"type":41,"tag":87,"props":142,"children":143},{},[144],{"type":46,"value":145},"Retry.",{"type":46,"value":147}," Re-run with ",{"type":41,"tag":55,"props":149,"children":151},{"className":150},[],[152],{"type":46,"value":153},"filter: { column: \"\u003Ccol>\", exists: false }",{"type":46,"value":155}," to\nreprocess only failed rows.",{"type":41,"tag":72,"props":157,"children":159},{"id":158},"choosing-a-source",[160],{"type":46,"value":161},"Choosing a source",{"type":41,"tag":49,"props":163,"children":164},{},[165,182,184,190,192,198],{"type":41,"tag":87,"props":166,"children":167},{},[168,174,176],{"type":41,"tag":55,"props":169,"children":171},{"className":170},[],[172],{"type":46,"value":173},"glob",{"type":46,"value":175}," \u002F ",{"type":41,"tag":55,"props":177,"children":179},{"className":178},[],[180],{"type":46,"value":181},"filePaths",{"type":46,"value":183}," — one file = one row. Use when each file is an\nindependent unit of work. Each row gets ",{"type":41,"tag":55,"props":185,"children":187},{"className":186},[],[188],{"type":46,"value":189},"{ id, file }",{"type":46,"value":191},"; the subagent reads\nthe file itself via the ",{"type":41,"tag":55,"props":193,"children":195},{"className":194},[],[196],{"type":46,"value":197},"{file}",{"type":46,"value":199}," placeholder.",{"type":41,"tag":49,"props":201,"children":202},{},[203,212,214,220],{"type":41,"tag":87,"props":204,"children":205},{},[206],{"type":41,"tag":55,"props":207,"children":209},{"className":208},[],[210],{"type":46,"value":211},"tasks",{"type":46,"value":213}," — pass pre-built records directly. Use when the data lives inside\na file (JSONL, CSV, JSON array). Read and parse the file first inside\n",{"type":41,"tag":55,"props":215,"children":217},{"className":216},[],[218],{"type":46,"value":219},"eval",{"type":46,"value":221},", then pass the records. One record = one row — do not group\nmultiple items into a single row.",{"type":41,"tag":49,"props":223,"children":224},{},[225],{"type":46,"value":226},"For small files (under ~500 lines), parse and create in one block:",{"type":41,"tag":228,"props":229,"children":234},"pre",{"className":230,"code":231,"language":232,"meta":233,"style":233},"language-javascript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const { create } = await import(\"@\u002Fskills\u002Fswarm\");\nconst raw = await tools.readFile({ file_path: \"\u002Fdata.jsonl\" });\nconst records = raw.trim().split(\"\\n\").map(l => JSON.parse(l));\nconst table = await create({ tasks: records });\nconsole.log(table);\n","javascript","",[235],{"type":41,"tag":55,"props":236,"children":237},{"__ignoreMap":233},[238,313,397,510,569],{"type":41,"tag":239,"props":240,"children":243},"span",{"class":241,"line":242},"line",1,[244,250,256,262,267,272,278,283,288,293,299,303,308],{"type":41,"tag":239,"props":245,"children":247},{"style":246},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[248],{"type":46,"value":249},"const",{"type":41,"tag":239,"props":251,"children":253},{"style":252},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[254],{"type":46,"value":255}," {",{"type":41,"tag":239,"props":257,"children":259},{"style":258},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[260],{"type":46,"value":261}," create ",{"type":41,"tag":239,"props":263,"children":264},{"style":252},[265],{"type":46,"value":266},"}",{"type":41,"tag":239,"props":268,"children":269},{"style":252},[270],{"type":46,"value":271}," =",{"type":41,"tag":239,"props":273,"children":275},{"style":274},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[276],{"type":46,"value":277}," await",{"type":41,"tag":239,"props":279,"children":280},{"style":252},[281],{"type":46,"value":282}," import",{"type":41,"tag":239,"props":284,"children":285},{"style":258},[286],{"type":46,"value":287},"(",{"type":41,"tag":239,"props":289,"children":290},{"style":252},[291],{"type":46,"value":292},"\"",{"type":41,"tag":239,"props":294,"children":296},{"style":295},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[297],{"type":46,"value":298},"@\u002Fskills\u002Fswarm",{"type":41,"tag":239,"props":300,"children":301},{"style":252},[302],{"type":46,"value":292},{"type":41,"tag":239,"props":304,"children":305},{"style":258},[306],{"type":46,"value":307},")",{"type":41,"tag":239,"props":309,"children":310},{"style":252},[311],{"type":46,"value":312},";\n",{"type":41,"tag":239,"props":314,"children":316},{"class":241,"line":315},2,[317,321,326,331,335,340,344,350,354,359,365,370,375,380,384,389,393],{"type":41,"tag":239,"props":318,"children":319},{"style":246},[320],{"type":46,"value":249},{"type":41,"tag":239,"props":322,"children":323},{"style":258},[324],{"type":46,"value":325}," raw ",{"type":41,"tag":239,"props":327,"children":328},{"style":252},[329],{"type":46,"value":330},"=",{"type":41,"tag":239,"props":332,"children":333},{"style":274},[334],{"type":46,"value":277},{"type":41,"tag":239,"props":336,"children":337},{"style":258},[338],{"type":46,"value":339}," tools",{"type":41,"tag":239,"props":341,"children":342},{"style":252},[343],{"type":46,"value":119},{"type":41,"tag":239,"props":345,"children":347},{"style":346},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[348],{"type":46,"value":349},"readFile",{"type":41,"tag":239,"props":351,"children":352},{"style":258},[353],{"type":46,"value":287},{"type":41,"tag":239,"props":355,"children":356},{"style":252},[357],{"type":46,"value":358},"{",{"type":41,"tag":239,"props":360,"children":362},{"style":361},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[363],{"type":46,"value":364}," file_path",{"type":41,"tag":239,"props":366,"children":367},{"style":252},[368],{"type":46,"value":369},":",{"type":41,"tag":239,"props":371,"children":372},{"style":252},[373],{"type":46,"value":374}," \"",{"type":41,"tag":239,"props":376,"children":377},{"style":295},[378],{"type":46,"value":379},"\u002Fdata.jsonl",{"type":41,"tag":239,"props":381,"children":382},{"style":252},[383],{"type":46,"value":292},{"type":41,"tag":239,"props":385,"children":386},{"style":252},[387],{"type":46,"value":388}," }",{"type":41,"tag":239,"props":390,"children":391},{"style":258},[392],{"type":46,"value":307},{"type":41,"tag":239,"props":394,"children":395},{"style":252},[396],{"type":46,"value":312},{"type":41,"tag":239,"props":398,"children":400},{"class":241,"line":399},3,[401,405,410,414,419,423,428,433,437,442,446,450,455,459,463,467,472,476,482,487,492,496,501,506],{"type":41,"tag":239,"props":402,"children":403},{"style":246},[404],{"type":46,"value":249},{"type":41,"tag":239,"props":406,"children":407},{"style":258},[408],{"type":46,"value":409}," records ",{"type":41,"tag":239,"props":411,"children":412},{"style":252},[413],{"type":46,"value":330},{"type":41,"tag":239,"props":415,"children":416},{"style":258},[417],{"type":46,"value":418}," raw",{"type":41,"tag":239,"props":420,"children":421},{"style":252},[422],{"type":46,"value":119},{"type":41,"tag":239,"props":424,"children":425},{"style":346},[426],{"type":46,"value":427},"trim",{"type":41,"tag":239,"props":429,"children":430},{"style":258},[431],{"type":46,"value":432},"()",{"type":41,"tag":239,"props":434,"children":435},{"style":252},[436],{"type":46,"value":119},{"type":41,"tag":239,"props":438,"children":439},{"style":346},[440],{"type":46,"value":441},"split",{"type":41,"tag":239,"props":443,"children":444},{"style":258},[445],{"type":46,"value":287},{"type":41,"tag":239,"props":447,"children":448},{"style":252},[449],{"type":46,"value":292},{"type":41,"tag":239,"props":451,"children":452},{"style":258},[453],{"type":46,"value":454},"\\n",{"type":41,"tag":239,"props":456,"children":457},{"style":252},[458],{"type":46,"value":292},{"type":41,"tag":239,"props":460,"children":461},{"style":258},[462],{"type":46,"value":307},{"type":41,"tag":239,"props":464,"children":465},{"style":252},[466],{"type":46,"value":119},{"type":41,"tag":239,"props":468,"children":469},{"style":346},[470],{"type":46,"value":471},"map",{"type":41,"tag":239,"props":473,"children":474},{"style":258},[475],{"type":46,"value":287},{"type":41,"tag":239,"props":477,"children":479},{"style":478},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[480],{"type":46,"value":481},"l",{"type":41,"tag":239,"props":483,"children":484},{"style":246},[485],{"type":46,"value":486}," =>",{"type":41,"tag":239,"props":488,"children":489},{"style":258},[490],{"type":46,"value":491}," JSON",{"type":41,"tag":239,"props":493,"children":494},{"style":252},[495],{"type":46,"value":119},{"type":41,"tag":239,"props":497,"children":498},{"style":346},[499],{"type":46,"value":500},"parse",{"type":41,"tag":239,"props":502,"children":503},{"style":258},[504],{"type":46,"value":505},"(l))",{"type":41,"tag":239,"props":507,"children":508},{"style":252},[509],{"type":46,"value":312},{"type":41,"tag":239,"props":511,"children":513},{"class":241,"line":512},4,[514,518,523,527,531,536,540,544,549,553,557,561,565],{"type":41,"tag":239,"props":515,"children":516},{"style":246},[517],{"type":46,"value":249},{"type":41,"tag":239,"props":519,"children":520},{"style":258},[521],{"type":46,"value":522}," table ",{"type":41,"tag":239,"props":524,"children":525},{"style":252},[526],{"type":46,"value":330},{"type":41,"tag":239,"props":528,"children":529},{"style":274},[530],{"type":46,"value":277},{"type":41,"tag":239,"props":532,"children":533},{"style":346},[534],{"type":46,"value":535}," create",{"type":41,"tag":239,"props":537,"children":538},{"style":258},[539],{"type":46,"value":287},{"type":41,"tag":239,"props":541,"children":542},{"style":252},[543],{"type":46,"value":358},{"type":41,"tag":239,"props":545,"children":546},{"style":361},[547],{"type":46,"value":548}," tasks",{"type":41,"tag":239,"props":550,"children":551},{"style":252},[552],{"type":46,"value":369},{"type":41,"tag":239,"props":554,"children":555},{"style":258},[556],{"type":46,"value":409},{"type":41,"tag":239,"props":558,"children":559},{"style":252},[560],{"type":46,"value":266},{"type":41,"tag":239,"props":562,"children":563},{"style":258},[564],{"type":46,"value":307},{"type":41,"tag":239,"props":566,"children":567},{"style":252},[568],{"type":46,"value":312},{"type":41,"tag":239,"props":570,"children":572},{"class":241,"line":571},5,[573,578,582,587,592],{"type":41,"tag":239,"props":574,"children":575},{"style":258},[576],{"type":46,"value":577},"console",{"type":41,"tag":239,"props":579,"children":580},{"style":252},[581],{"type":46,"value":119},{"type":41,"tag":239,"props":583,"children":584},{"style":346},[585],{"type":46,"value":586},"log",{"type":41,"tag":239,"props":588,"children":589},{"style":258},[590],{"type":46,"value":591},"(table)",{"type":41,"tag":239,"props":593,"children":594},{"style":252},[595],{"type":46,"value":312},{"type":41,"tag":49,"props":597,"children":598},{},[599],{"type":46,"value":600},"For large files, read in chunks of 500 lines to avoid truncation:",{"type":41,"tag":228,"props":602,"children":604},{"className":230,"code":603,"language":232,"meta":233,"style":233},"const { create } = await import(\"@\u002Fskills\u002Fswarm\");\nlet records = [];\nlet offset = 0;\nwhile (true) {\n  const chunk = await tools.readFile({ file_path: \"\u002Fdata.txt\", offset, limit: 500 });\n  const lines = chunk.split(\"\\n\").filter(l => l.trim());\n  for (const l of lines) { records.push({ id: `r${records.length}`, text: l }); }\n  if (lines.length \u003C 500) break;\n  offset += 500;\n}\nconst table = await create({ tasks: records });\nconsole.log(table);\n",[605],{"type":41,"tag":55,"props":606,"children":607},{"__ignoreMap":233},[608,663,688,714,743,845,937,1075,1123,1145,1154,1210],{"type":41,"tag":239,"props":609,"children":610},{"class":241,"line":242},[611,615,619,623,627,631,635,639,643,647,651,655,659],{"type":41,"tag":239,"props":612,"children":613},{"style":246},[614],{"type":46,"value":249},{"type":41,"tag":239,"props":616,"children":617},{"style":252},[618],{"type":46,"value":255},{"type":41,"tag":239,"props":620,"children":621},{"style":258},[622],{"type":46,"value":261},{"type":41,"tag":239,"props":624,"children":625},{"style":252},[626],{"type":46,"value":266},{"type":41,"tag":239,"props":628,"children":629},{"style":252},[630],{"type":46,"value":271},{"type":41,"tag":239,"props":632,"children":633},{"style":274},[634],{"type":46,"value":277},{"type":41,"tag":239,"props":636,"children":637},{"style":252},[638],{"type":46,"value":282},{"type":41,"tag":239,"props":640,"children":641},{"style":258},[642],{"type":46,"value":287},{"type":41,"tag":239,"props":644,"children":645},{"style":252},[646],{"type":46,"value":292},{"type":41,"tag":239,"props":648,"children":649},{"style":295},[650],{"type":46,"value":298},{"type":41,"tag":239,"props":652,"children":653},{"style":252},[654],{"type":46,"value":292},{"type":41,"tag":239,"props":656,"children":657},{"style":258},[658],{"type":46,"value":307},{"type":41,"tag":239,"props":660,"children":661},{"style":252},[662],{"type":46,"value":312},{"type":41,"tag":239,"props":664,"children":665},{"class":241,"line":315},[666,671,675,679,684],{"type":41,"tag":239,"props":667,"children":668},{"style":246},[669],{"type":46,"value":670},"let",{"type":41,"tag":239,"props":672,"children":673},{"style":258},[674],{"type":46,"value":409},{"type":41,"tag":239,"props":676,"children":677},{"style":252},[678],{"type":46,"value":330},{"type":41,"tag":239,"props":680,"children":681},{"style":258},[682],{"type":46,"value":683}," []",{"type":41,"tag":239,"props":685,"children":686},{"style":252},[687],{"type":46,"value":312},{"type":41,"tag":239,"props":689,"children":690},{"class":241,"line":399},[691,695,700,704,710],{"type":41,"tag":239,"props":692,"children":693},{"style":246},[694],{"type":46,"value":670},{"type":41,"tag":239,"props":696,"children":697},{"style":258},[698],{"type":46,"value":699}," offset ",{"type":41,"tag":239,"props":701,"children":702},{"style":252},[703],{"type":46,"value":330},{"type":41,"tag":239,"props":705,"children":707},{"style":706},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[708],{"type":46,"value":709}," 0",{"type":41,"tag":239,"props":711,"children":712},{"style":252},[713],{"type":46,"value":312},{"type":41,"tag":239,"props":715,"children":716},{"class":241,"line":512},[717,722,727,733,738],{"type":41,"tag":239,"props":718,"children":719},{"style":274},[720],{"type":46,"value":721},"while",{"type":41,"tag":239,"props":723,"children":724},{"style":258},[725],{"type":46,"value":726}," (",{"type":41,"tag":239,"props":728,"children":730},{"style":729},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[731],{"type":46,"value":732},"true",{"type":41,"tag":239,"props":734,"children":735},{"style":258},[736],{"type":46,"value":737},") ",{"type":41,"tag":239,"props":739,"children":740},{"style":252},[741],{"type":46,"value":742},"{\n",{"type":41,"tag":239,"props":744,"children":745},{"class":241,"line":571},[746,751,756,760,764,768,772,776,780,784,788,792,796,801,805,810,815,819,824,828,833,837,841],{"type":41,"tag":239,"props":747,"children":748},{"style":246},[749],{"type":46,"value":750},"  const",{"type":41,"tag":239,"props":752,"children":753},{"style":258},[754],{"type":46,"value":755}," chunk",{"type":41,"tag":239,"props":757,"children":758},{"style":252},[759],{"type":46,"value":271},{"type":41,"tag":239,"props":761,"children":762},{"style":274},[763],{"type":46,"value":277},{"type":41,"tag":239,"props":765,"children":766},{"style":258},[767],{"type":46,"value":339},{"type":41,"tag":239,"props":769,"children":770},{"style":252},[771],{"type":46,"value":119},{"type":41,"tag":239,"props":773,"children":774},{"style":346},[775],{"type":46,"value":349},{"type":41,"tag":239,"props":777,"children":778},{"style":361},[779],{"type":46,"value":287},{"type":41,"tag":239,"props":781,"children":782},{"style":252},[783],{"type":46,"value":358},{"type":41,"tag":239,"props":785,"children":786},{"style":361},[787],{"type":46,"value":364},{"type":41,"tag":239,"props":789,"children":790},{"style":252},[791],{"type":46,"value":369},{"type":41,"tag":239,"props":793,"children":794},{"style":252},[795],{"type":46,"value":374},{"type":41,"tag":239,"props":797,"children":798},{"style":295},[799],{"type":46,"value":800},"\u002Fdata.txt",{"type":41,"tag":239,"props":802,"children":803},{"style":252},[804],{"type":46,"value":292},{"type":41,"tag":239,"props":806,"children":807},{"style":252},[808],{"type":46,"value":809},",",{"type":41,"tag":239,"props":811,"children":812},{"style":258},[813],{"type":46,"value":814}," offset",{"type":41,"tag":239,"props":816,"children":817},{"style":252},[818],{"type":46,"value":809},{"type":41,"tag":239,"props":820,"children":821},{"style":361},[822],{"type":46,"value":823}," limit",{"type":41,"tag":239,"props":825,"children":826},{"style":252},[827],{"type":46,"value":369},{"type":41,"tag":239,"props":829,"children":830},{"style":706},[831],{"type":46,"value":832}," 500",{"type":41,"tag":239,"props":834,"children":835},{"style":252},[836],{"type":46,"value":388},{"type":41,"tag":239,"props":838,"children":839},{"style":361},[840],{"type":46,"value":307},{"type":41,"tag":239,"props":842,"children":843},{"style":252},[844],{"type":46,"value":312},{"type":41,"tag":239,"props":846,"children":848},{"class":241,"line":847},6,[849,853,858,862,866,870,874,878,882,886,890,894,898,903,907,911,915,920,924,928,933],{"type":41,"tag":239,"props":850,"children":851},{"style":246},[852],{"type":46,"value":750},{"type":41,"tag":239,"props":854,"children":855},{"style":258},[856],{"type":46,"value":857}," lines",{"type":41,"tag":239,"props":859,"children":860},{"style":252},[861],{"type":46,"value":271},{"type":41,"tag":239,"props":863,"children":864},{"style":258},[865],{"type":46,"value":755},{"type":41,"tag":239,"props":867,"children":868},{"style":252},[869],{"type":46,"value":119},{"type":41,"tag":239,"props":871,"children":872},{"style":346},[873],{"type":46,"value":441},{"type":41,"tag":239,"props":875,"children":876},{"style":361},[877],{"type":46,"value":287},{"type":41,"tag":239,"props":879,"children":880},{"style":252},[881],{"type":46,"value":292},{"type":41,"tag":239,"props":883,"children":884},{"style":258},[885],{"type":46,"value":454},{"type":41,"tag":239,"props":887,"children":888},{"style":252},[889],{"type":46,"value":292},{"type":41,"tag":239,"props":891,"children":892},{"style":361},[893],{"type":46,"value":307},{"type":41,"tag":239,"props":895,"children":896},{"style":252},[897],{"type":46,"value":119},{"type":41,"tag":239,"props":899,"children":900},{"style":346},[901],{"type":46,"value":902},"filter",{"type":41,"tag":239,"props":904,"children":905},{"style":361},[906],{"type":46,"value":287},{"type":41,"tag":239,"props":908,"children":909},{"style":478},[910],{"type":46,"value":481},{"type":41,"tag":239,"props":912,"children":913},{"style":246},[914],{"type":46,"value":486},{"type":41,"tag":239,"props":916,"children":917},{"style":258},[918],{"type":46,"value":919}," l",{"type":41,"tag":239,"props":921,"children":922},{"style":252},[923],{"type":46,"value":119},{"type":41,"tag":239,"props":925,"children":926},{"style":346},[927],{"type":46,"value":427},{"type":41,"tag":239,"props":929,"children":930},{"style":361},[931],{"type":46,"value":932},"())",{"type":41,"tag":239,"props":934,"children":935},{"style":252},[936],{"type":46,"value":312},{"type":41,"tag":239,"props":938,"children":940},{"class":241,"line":939},7,[941,946,950,954,958,963,967,971,975,980,984,989,993,997,1002,1006,1011,1016,1021,1026,1030,1035,1040,1044,1049,1053,1057,1061,1065,1070],{"type":41,"tag":239,"props":942,"children":943},{"style":274},[944],{"type":46,"value":945},"  for",{"type":41,"tag":239,"props":947,"children":948},{"style":361},[949],{"type":46,"value":726},{"type":41,"tag":239,"props":951,"children":952},{"style":246},[953],{"type":46,"value":249},{"type":41,"tag":239,"props":955,"children":956},{"style":258},[957],{"type":46,"value":919},{"type":41,"tag":239,"props":959,"children":960},{"style":252},[961],{"type":46,"value":962}," of",{"type":41,"tag":239,"props":964,"children":965},{"style":258},[966],{"type":46,"value":857},{"type":41,"tag":239,"props":968,"children":969},{"style":361},[970],{"type":46,"value":737},{"type":41,"tag":239,"props":972,"children":973},{"style":252},[974],{"type":46,"value":358},{"type":41,"tag":239,"props":976,"children":977},{"style":258},[978],{"type":46,"value":979}," records",{"type":41,"tag":239,"props":981,"children":982},{"style":252},[983],{"type":46,"value":119},{"type":41,"tag":239,"props":985,"children":986},{"style":346},[987],{"type":46,"value":988},"push",{"type":41,"tag":239,"props":990,"children":991},{"style":361},[992],{"type":46,"value":287},{"type":41,"tag":239,"props":994,"children":995},{"style":252},[996],{"type":46,"value":358},{"type":41,"tag":239,"props":998,"children":999},{"style":361},[1000],{"type":46,"value":1001}," id",{"type":41,"tag":239,"props":1003,"children":1004},{"style":252},[1005],{"type":46,"value":369},{"type":41,"tag":239,"props":1007,"children":1008},{"style":252},[1009],{"type":46,"value":1010}," `",{"type":41,"tag":239,"props":1012,"children":1013},{"style":295},[1014],{"type":46,"value":1015},"r",{"type":41,"tag":239,"props":1017,"children":1018},{"style":252},[1019],{"type":46,"value":1020},"${",{"type":41,"tag":239,"props":1022,"children":1023},{"style":258},[1024],{"type":46,"value":1025},"records",{"type":41,"tag":239,"props":1027,"children":1028},{"style":252},[1029],{"type":46,"value":119},{"type":41,"tag":239,"props":1031,"children":1032},{"style":258},[1033],{"type":46,"value":1034},"length",{"type":41,"tag":239,"props":1036,"children":1037},{"style":252},[1038],{"type":46,"value":1039},"}`",{"type":41,"tag":239,"props":1041,"children":1042},{"style":252},[1043],{"type":46,"value":809},{"type":41,"tag":239,"props":1045,"children":1046},{"style":361},[1047],{"type":46,"value":1048}," text",{"type":41,"tag":239,"props":1050,"children":1051},{"style":252},[1052],{"type":46,"value":369},{"type":41,"tag":239,"props":1054,"children":1055},{"style":258},[1056],{"type":46,"value":919},{"type":41,"tag":239,"props":1058,"children":1059},{"style":252},[1060],{"type":46,"value":388},{"type":41,"tag":239,"props":1062,"children":1063},{"style":361},[1064],{"type":46,"value":307},{"type":41,"tag":239,"props":1066,"children":1067},{"style":252},[1068],{"type":46,"value":1069},";",{"type":41,"tag":239,"props":1071,"children":1072},{"style":252},[1073],{"type":46,"value":1074}," }\n",{"type":41,"tag":239,"props":1076,"children":1078},{"class":241,"line":1077},8,[1079,1084,1088,1093,1097,1101,1106,1110,1114,1119],{"type":41,"tag":239,"props":1080,"children":1081},{"style":274},[1082],{"type":46,"value":1083},"  if",{"type":41,"tag":239,"props":1085,"children":1086},{"style":361},[1087],{"type":46,"value":726},{"type":41,"tag":239,"props":1089,"children":1090},{"style":258},[1091],{"type":46,"value":1092},"lines",{"type":41,"tag":239,"props":1094,"children":1095},{"style":252},[1096],{"type":46,"value":119},{"type":41,"tag":239,"props":1098,"children":1099},{"style":258},[1100],{"type":46,"value":1034},{"type":41,"tag":239,"props":1102,"children":1103},{"style":252},[1104],{"type":46,"value":1105}," \u003C",{"type":41,"tag":239,"props":1107,"children":1108},{"style":706},[1109],{"type":46,"value":832},{"type":41,"tag":239,"props":1111,"children":1112},{"style":361},[1113],{"type":46,"value":737},{"type":41,"tag":239,"props":1115,"children":1116},{"style":274},[1117],{"type":46,"value":1118},"break",{"type":41,"tag":239,"props":1120,"children":1121},{"style":252},[1122],{"type":46,"value":312},{"type":41,"tag":239,"props":1124,"children":1126},{"class":241,"line":1125},9,[1127,1132,1137,1141],{"type":41,"tag":239,"props":1128,"children":1129},{"style":258},[1130],{"type":46,"value":1131},"  offset",{"type":41,"tag":239,"props":1133,"children":1134},{"style":252},[1135],{"type":46,"value":1136}," +=",{"type":41,"tag":239,"props":1138,"children":1139},{"style":706},[1140],{"type":46,"value":832},{"type":41,"tag":239,"props":1142,"children":1143},{"style":252},[1144],{"type":46,"value":312},{"type":41,"tag":239,"props":1146,"children":1148},{"class":241,"line":1147},10,[1149],{"type":41,"tag":239,"props":1150,"children":1151},{"style":252},[1152],{"type":46,"value":1153},"}\n",{"type":41,"tag":239,"props":1155,"children":1157},{"class":241,"line":1156},11,[1158,1162,1166,1170,1174,1178,1182,1186,1190,1194,1198,1202,1206],{"type":41,"tag":239,"props":1159,"children":1160},{"style":246},[1161],{"type":46,"value":249},{"type":41,"tag":239,"props":1163,"children":1164},{"style":258},[1165],{"type":46,"value":522},{"type":41,"tag":239,"props":1167,"children":1168},{"style":252},[1169],{"type":46,"value":330},{"type":41,"tag":239,"props":1171,"children":1172},{"style":274},[1173],{"type":46,"value":277},{"type":41,"tag":239,"props":1175,"children":1176},{"style":346},[1177],{"type":46,"value":535},{"type":41,"tag":239,"props":1179,"children":1180},{"style":258},[1181],{"type":46,"value":287},{"type":41,"tag":239,"props":1183,"children":1184},{"style":252},[1185],{"type":46,"value":358},{"type":41,"tag":239,"props":1187,"children":1188},{"style":361},[1189],{"type":46,"value":548},{"type":41,"tag":239,"props":1191,"children":1192},{"style":252},[1193],{"type":46,"value":369},{"type":41,"tag":239,"props":1195,"children":1196},{"style":258},[1197],{"type":46,"value":409},{"type":41,"tag":239,"props":1199,"children":1200},{"style":252},[1201],{"type":46,"value":266},{"type":41,"tag":239,"props":1203,"children":1204},{"style":258},[1205],{"type":46,"value":307},{"type":41,"tag":239,"props":1207,"children":1208},{"style":252},[1209],{"type":46,"value":312},{"type":41,"tag":239,"props":1211,"children":1213},{"class":241,"line":1212},12,[1214,1218,1222,1226,1230],{"type":41,"tag":239,"props":1215,"children":1216},{"style":258},[1217],{"type":46,"value":577},{"type":41,"tag":239,"props":1219,"children":1220},{"style":252},[1221],{"type":46,"value":119},{"type":41,"tag":239,"props":1223,"children":1224},{"style":346},[1225],{"type":46,"value":586},{"type":41,"tag":239,"props":1227,"children":1228},{"style":258},[1229],{"type":46,"value":591},{"type":41,"tag":239,"props":1231,"children":1232},{"style":252},[1233],{"type":46,"value":312},{"type":41,"tag":49,"props":1235,"children":1236},{},[1237,1239,1244],{"type":46,"value":1238},"When the file is too large to parse and dispatch in one ",{"type":41,"tag":55,"props":1240,"children":1242},{"className":1241},[],[1243],{"type":46,"value":219},{"type":46,"value":1245}," call, split\nacross two blocks. Only the block that calls swarm functions needs the import:",{"type":41,"tag":228,"props":1247,"children":1249},{"className":230,"code":1248,"language":232,"meta":233,"style":233},"\u002F\u002F eval 1: parse only — no swarm import needed\nconst raw = await tools.readFile({ file_path: \"\u002Fdata.jsonl\" });\nglobalThis.records = raw.trim().split(\"\\n\").map(l => JSON.parse(l));\nconsole.log(`Parsed ${globalThis.records.length} records`);\n",[1250],{"type":41,"tag":55,"props":1251,"children":1252},{"__ignoreMap":233},[1253,1262,1333,1438],{"type":41,"tag":239,"props":1254,"children":1255},{"class":241,"line":242},[1256],{"type":41,"tag":239,"props":1257,"children":1259},{"style":1258},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1260],{"type":46,"value":1261},"\u002F\u002F eval 1: parse only — no swarm import needed\n",{"type":41,"tag":239,"props":1263,"children":1264},{"class":241,"line":315},[1265,1269,1273,1277,1281,1285,1289,1293,1297,1301,1305,1309,1313,1317,1321,1325,1329],{"type":41,"tag":239,"props":1266,"children":1267},{"style":246},[1268],{"type":46,"value":249},{"type":41,"tag":239,"props":1270,"children":1271},{"style":258},[1272],{"type":46,"value":325},{"type":41,"tag":239,"props":1274,"children":1275},{"style":252},[1276],{"type":46,"value":330},{"type":41,"tag":239,"props":1278,"children":1279},{"style":274},[1280],{"type":46,"value":277},{"type":41,"tag":239,"props":1282,"children":1283},{"style":258},[1284],{"type":46,"value":339},{"type":41,"tag":239,"props":1286,"children":1287},{"style":252},[1288],{"type":46,"value":119},{"type":41,"tag":239,"props":1290,"children":1291},{"style":346},[1292],{"type":46,"value":349},{"type":41,"tag":239,"props":1294,"children":1295},{"style":258},[1296],{"type":46,"value":287},{"type":41,"tag":239,"props":1298,"children":1299},{"style":252},[1300],{"type":46,"value":358},{"type":41,"tag":239,"props":1302,"children":1303},{"style":361},[1304],{"type":46,"value":364},{"type":41,"tag":239,"props":1306,"children":1307},{"style":252},[1308],{"type":46,"value":369},{"type":41,"tag":239,"props":1310,"children":1311},{"style":252},[1312],{"type":46,"value":374},{"type":41,"tag":239,"props":1314,"children":1315},{"style":295},[1316],{"type":46,"value":379},{"type":41,"tag":239,"props":1318,"children":1319},{"style":252},[1320],{"type":46,"value":292},{"type":41,"tag":239,"props":1322,"children":1323},{"style":252},[1324],{"type":46,"value":388},{"type":41,"tag":239,"props":1326,"children":1327},{"style":258},[1328],{"type":46,"value":307},{"type":41,"tag":239,"props":1330,"children":1331},{"style":252},[1332],{"type":46,"value":312},{"type":41,"tag":239,"props":1334,"children":1335},{"class":241,"line":399},[1336,1341,1345,1350,1354,1358,1362,1366,1370,1374,1378,1382,1386,1390,1394,1398,1402,1406,1410,1414,1418,1422,1426,1430,1434],{"type":41,"tag":239,"props":1337,"children":1338},{"style":258},[1339],{"type":46,"value":1340},"globalThis",{"type":41,"tag":239,"props":1342,"children":1343},{"style":252},[1344],{"type":46,"value":119},{"type":41,"tag":239,"props":1346,"children":1347},{"style":258},[1348],{"type":46,"value":1349},"records ",{"type":41,"tag":239,"props":1351,"children":1352},{"style":252},[1353],{"type":46,"value":330},{"type":41,"tag":239,"props":1355,"children":1356},{"style":258},[1357],{"type":46,"value":418},{"type":41,"tag":239,"props":1359,"children":1360},{"style":252},[1361],{"type":46,"value":119},{"type":41,"tag":239,"props":1363,"children":1364},{"style":346},[1365],{"type":46,"value":427},{"type":41,"tag":239,"props":1367,"children":1368},{"style":258},[1369],{"type":46,"value":432},{"type":41,"tag":239,"props":1371,"children":1372},{"style":252},[1373],{"type":46,"value":119},{"type":41,"tag":239,"props":1375,"children":1376},{"style":346},[1377],{"type":46,"value":441},{"type":41,"tag":239,"props":1379,"children":1380},{"style":258},[1381],{"type":46,"value":287},{"type":41,"tag":239,"props":1383,"children":1384},{"style":252},[1385],{"type":46,"value":292},{"type":41,"tag":239,"props":1387,"children":1388},{"style":258},[1389],{"type":46,"value":454},{"type":41,"tag":239,"props":1391,"children":1392},{"style":252},[1393],{"type":46,"value":292},{"type":41,"tag":239,"props":1395,"children":1396},{"style":258},[1397],{"type":46,"value":307},{"type":41,"tag":239,"props":1399,"children":1400},{"style":252},[1401],{"type":46,"value":119},{"type":41,"tag":239,"props":1403,"children":1404},{"style":346},[1405],{"type":46,"value":471},{"type":41,"tag":239,"props":1407,"children":1408},{"style":258},[1409],{"type":46,"value":287},{"type":41,"tag":239,"props":1411,"children":1412},{"style":478},[1413],{"type":46,"value":481},{"type":41,"tag":239,"props":1415,"children":1416},{"style":246},[1417],{"type":46,"value":486},{"type":41,"tag":239,"props":1419,"children":1420},{"style":258},[1421],{"type":46,"value":491},{"type":41,"tag":239,"props":1423,"children":1424},{"style":252},[1425],{"type":46,"value":119},{"type":41,"tag":239,"props":1427,"children":1428},{"style":346},[1429],{"type":46,"value":500},{"type":41,"tag":239,"props":1431,"children":1432},{"style":258},[1433],{"type":46,"value":505},{"type":41,"tag":239,"props":1435,"children":1436},{"style":252},[1437],{"type":46,"value":312},{"type":41,"tag":239,"props":1439,"children":1440},{"class":241,"line":512},[1441,1445,1449,1453,1457,1462,1467,1471,1475,1479,1483,1487,1491,1495,1499,1503,1507],{"type":41,"tag":239,"props":1442,"children":1443},{"style":258},[1444],{"type":46,"value":577},{"type":41,"tag":239,"props":1446,"children":1447},{"style":252},[1448],{"type":46,"value":119},{"type":41,"tag":239,"props":1450,"children":1451},{"style":346},[1452],{"type":46,"value":586},{"type":41,"tag":239,"props":1454,"children":1455},{"style":258},[1456],{"type":46,"value":287},{"type":41,"tag":239,"props":1458,"children":1459},{"style":252},[1460],{"type":46,"value":1461},"`",{"type":41,"tag":239,"props":1463,"children":1464},{"style":295},[1465],{"type":46,"value":1466},"Parsed ",{"type":41,"tag":239,"props":1468,"children":1469},{"style":252},[1470],{"type":46,"value":1020},{"type":41,"tag":239,"props":1472,"children":1473},{"style":258},[1474],{"type":46,"value":1340},{"type":41,"tag":239,"props":1476,"children":1477},{"style":252},[1478],{"type":46,"value":119},{"type":41,"tag":239,"props":1480,"children":1481},{"style":258},[1482],{"type":46,"value":1025},{"type":41,"tag":239,"props":1484,"children":1485},{"style":252},[1486],{"type":46,"value":119},{"type":41,"tag":239,"props":1488,"children":1489},{"style":258},[1490],{"type":46,"value":1034},{"type":41,"tag":239,"props":1492,"children":1493},{"style":252},[1494],{"type":46,"value":266},{"type":41,"tag":239,"props":1496,"children":1497},{"style":295},[1498],{"type":46,"value":979},{"type":41,"tag":239,"props":1500,"children":1501},{"style":252},[1502],{"type":46,"value":1461},{"type":41,"tag":239,"props":1504,"children":1505},{"style":258},[1506],{"type":46,"value":307},{"type":41,"tag":239,"props":1508,"children":1509},{"style":252},[1510],{"type":46,"value":312},{"type":41,"tag":228,"props":1512,"children":1514},{"className":230,"code":1513,"language":232,"meta":233,"style":233},"\u002F\u002F eval 2: create and dispatch\nconst { create, run } = await import(\"@\u002Fskills\u002Fswarm\");\nconst table = await create({ tasks: globalThis.records });\nconst result = await run(table.id, {\n  instruction: \"Classify {text}\",\n  responseSchema: {\n    type: \"object\",\n    properties: { label: { type: \"string\" } },\n    required: [\"label\"],\n  },\n});\nconsole.log(result);\n",[1515],{"type":41,"tag":55,"props":1516,"children":1517},{"__ignoreMap":233},[1518,1526,1590,1654,1702,1732,1748,1777,1837,1876,1884,1899],{"type":41,"tag":239,"props":1519,"children":1520},{"class":241,"line":242},[1521],{"type":41,"tag":239,"props":1522,"children":1523},{"style":1258},[1524],{"type":46,"value":1525},"\u002F\u002F eval 2: create and dispatch\n",{"type":41,"tag":239,"props":1527,"children":1528},{"class":241,"line":315},[1529,1533,1537,1541,1545,1550,1554,1558,1562,1566,1570,1574,1578,1582,1586],{"type":41,"tag":239,"props":1530,"children":1531},{"style":246},[1532],{"type":46,"value":249},{"type":41,"tag":239,"props":1534,"children":1535},{"style":252},[1536],{"type":46,"value":255},{"type":41,"tag":239,"props":1538,"children":1539},{"style":258},[1540],{"type":46,"value":535},{"type":41,"tag":239,"props":1542,"children":1543},{"style":252},[1544],{"type":46,"value":809},{"type":41,"tag":239,"props":1546,"children":1547},{"style":258},[1548],{"type":46,"value":1549}," run ",{"type":41,"tag":239,"props":1551,"children":1552},{"style":252},[1553],{"type":46,"value":266},{"type":41,"tag":239,"props":1555,"children":1556},{"style":252},[1557],{"type":46,"value":271},{"type":41,"tag":239,"props":1559,"children":1560},{"style":274},[1561],{"type":46,"value":277},{"type":41,"tag":239,"props":1563,"children":1564},{"style":252},[1565],{"type":46,"value":282},{"type":41,"tag":239,"props":1567,"children":1568},{"style":258},[1569],{"type":46,"value":287},{"type":41,"tag":239,"props":1571,"children":1572},{"style":252},[1573],{"type":46,"value":292},{"type":41,"tag":239,"props":1575,"children":1576},{"style":295},[1577],{"type":46,"value":298},{"type":41,"tag":239,"props":1579,"children":1580},{"style":252},[1581],{"type":46,"value":292},{"type":41,"tag":239,"props":1583,"children":1584},{"style":258},[1585],{"type":46,"value":307},{"type":41,"tag":239,"props":1587,"children":1588},{"style":252},[1589],{"type":46,"value":312},{"type":41,"tag":239,"props":1591,"children":1592},{"class":241,"line":399},[1593,1597,1601,1605,1609,1613,1617,1621,1625,1629,1634,1638,1642,1646,1650],{"type":41,"tag":239,"props":1594,"children":1595},{"style":246},[1596],{"type":46,"value":249},{"type":41,"tag":239,"props":1598,"children":1599},{"style":258},[1600],{"type":46,"value":522},{"type":41,"tag":239,"props":1602,"children":1603},{"style":252},[1604],{"type":46,"value":330},{"type":41,"tag":239,"props":1606,"children":1607},{"style":274},[1608],{"type":46,"value":277},{"type":41,"tag":239,"props":1610,"children":1611},{"style":346},[1612],{"type":46,"value":535},{"type":41,"tag":239,"props":1614,"children":1615},{"style":258},[1616],{"type":46,"value":287},{"type":41,"tag":239,"props":1618,"children":1619},{"style":252},[1620],{"type":46,"value":358},{"type":41,"tag":239,"props":1622,"children":1623},{"style":361},[1624],{"type":46,"value":548},{"type":41,"tag":239,"props":1626,"children":1627},{"style":252},[1628],{"type":46,"value":369},{"type":41,"tag":239,"props":1630,"children":1631},{"style":258},[1632],{"type":46,"value":1633}," globalThis",{"type":41,"tag":239,"props":1635,"children":1636},{"style":252},[1637],{"type":46,"value":119},{"type":41,"tag":239,"props":1639,"children":1640},{"style":258},[1641],{"type":46,"value":1349},{"type":41,"tag":239,"props":1643,"children":1644},{"style":252},[1645],{"type":46,"value":266},{"type":41,"tag":239,"props":1647,"children":1648},{"style":258},[1649],{"type":46,"value":307},{"type":41,"tag":239,"props":1651,"children":1652},{"style":252},[1653],{"type":46,"value":312},{"type":41,"tag":239,"props":1655,"children":1656},{"class":241,"line":512},[1657,1661,1666,1670,1674,1679,1684,1688,1693,1697],{"type":41,"tag":239,"props":1658,"children":1659},{"style":246},[1660],{"type":46,"value":249},{"type":41,"tag":239,"props":1662,"children":1663},{"style":258},[1664],{"type":46,"value":1665}," result ",{"type":41,"tag":239,"props":1667,"children":1668},{"style":252},[1669],{"type":46,"value":330},{"type":41,"tag":239,"props":1671,"children":1672},{"style":274},[1673],{"type":46,"value":277},{"type":41,"tag":239,"props":1675,"children":1676},{"style":346},[1677],{"type":46,"value":1678}," run",{"type":41,"tag":239,"props":1680,"children":1681},{"style":258},[1682],{"type":46,"value":1683},"(table",{"type":41,"tag":239,"props":1685,"children":1686},{"style":252},[1687],{"type":46,"value":119},{"type":41,"tag":239,"props":1689,"children":1690},{"style":258},[1691],{"type":46,"value":1692},"id",{"type":41,"tag":239,"props":1694,"children":1695},{"style":252},[1696],{"type":46,"value":809},{"type":41,"tag":239,"props":1698,"children":1699},{"style":252},[1700],{"type":46,"value":1701}," {\n",{"type":41,"tag":239,"props":1703,"children":1704},{"class":241,"line":571},[1705,1710,1714,1718,1723,1727],{"type":41,"tag":239,"props":1706,"children":1707},{"style":361},[1708],{"type":46,"value":1709},"  instruction",{"type":41,"tag":239,"props":1711,"children":1712},{"style":252},[1713],{"type":46,"value":369},{"type":41,"tag":239,"props":1715,"children":1716},{"style":252},[1717],{"type":46,"value":374},{"type":41,"tag":239,"props":1719,"children":1720},{"style":295},[1721],{"type":46,"value":1722},"Classify {text}",{"type":41,"tag":239,"props":1724,"children":1725},{"style":252},[1726],{"type":46,"value":292},{"type":41,"tag":239,"props":1728,"children":1729},{"style":252},[1730],{"type":46,"value":1731},",\n",{"type":41,"tag":239,"props":1733,"children":1734},{"class":241,"line":847},[1735,1740,1744],{"type":41,"tag":239,"props":1736,"children":1737},{"style":361},[1738],{"type":46,"value":1739},"  responseSchema",{"type":41,"tag":239,"props":1741,"children":1742},{"style":252},[1743],{"type":46,"value":369},{"type":41,"tag":239,"props":1745,"children":1746},{"style":252},[1747],{"type":46,"value":1701},{"type":41,"tag":239,"props":1749,"children":1750},{"class":241,"line":939},[1751,1756,1760,1764,1769,1773],{"type":41,"tag":239,"props":1752,"children":1753},{"style":361},[1754],{"type":46,"value":1755},"    type",{"type":41,"tag":239,"props":1757,"children":1758},{"style":252},[1759],{"type":46,"value":369},{"type":41,"tag":239,"props":1761,"children":1762},{"style":252},[1763],{"type":46,"value":374},{"type":41,"tag":239,"props":1765,"children":1766},{"style":295},[1767],{"type":46,"value":1768},"object",{"type":41,"tag":239,"props":1770,"children":1771},{"style":252},[1772],{"type":46,"value":292},{"type":41,"tag":239,"props":1774,"children":1775},{"style":252},[1776],{"type":46,"value":1731},{"type":41,"tag":239,"props":1778,"children":1779},{"class":241,"line":1077},[1780,1785,1789,1793,1798,1802,1806,1811,1815,1819,1824,1828,1832],{"type":41,"tag":239,"props":1781,"children":1782},{"style":361},[1783],{"type":46,"value":1784},"    properties",{"type":41,"tag":239,"props":1786,"children":1787},{"style":252},[1788],{"type":46,"value":369},{"type":41,"tag":239,"props":1790,"children":1791},{"style":252},[1792],{"type":46,"value":255},{"type":41,"tag":239,"props":1794,"children":1795},{"style":361},[1796],{"type":46,"value":1797}," label",{"type":41,"tag":239,"props":1799,"children":1800},{"style":252},[1801],{"type":46,"value":369},{"type":41,"tag":239,"props":1803,"children":1804},{"style":252},[1805],{"type":46,"value":255},{"type":41,"tag":239,"props":1807,"children":1808},{"style":361},[1809],{"type":46,"value":1810}," type",{"type":41,"tag":239,"props":1812,"children":1813},{"style":252},[1814],{"type":46,"value":369},{"type":41,"tag":239,"props":1816,"children":1817},{"style":252},[1818],{"type":46,"value":374},{"type":41,"tag":239,"props":1820,"children":1821},{"style":295},[1822],{"type":46,"value":1823},"string",{"type":41,"tag":239,"props":1825,"children":1826},{"style":252},[1827],{"type":46,"value":292},{"type":41,"tag":239,"props":1829,"children":1830},{"style":252},[1831],{"type":46,"value":388},{"type":41,"tag":239,"props":1833,"children":1834},{"style":252},[1835],{"type":46,"value":1836}," },\n",{"type":41,"tag":239,"props":1838,"children":1839},{"class":241,"line":1125},[1840,1845,1849,1854,1858,1863,1867,1872],{"type":41,"tag":239,"props":1841,"children":1842},{"style":361},[1843],{"type":46,"value":1844},"    required",{"type":41,"tag":239,"props":1846,"children":1847},{"style":252},[1848],{"type":46,"value":369},{"type":41,"tag":239,"props":1850,"children":1851},{"style":258},[1852],{"type":46,"value":1853}," [",{"type":41,"tag":239,"props":1855,"children":1856},{"style":252},[1857],{"type":46,"value":292},{"type":41,"tag":239,"props":1859,"children":1860},{"style":295},[1861],{"type":46,"value":1862},"label",{"type":41,"tag":239,"props":1864,"children":1865},{"style":252},[1866],{"type":46,"value":292},{"type":41,"tag":239,"props":1868,"children":1869},{"style":258},[1870],{"type":46,"value":1871},"]",{"type":41,"tag":239,"props":1873,"children":1874},{"style":252},[1875],{"type":46,"value":1731},{"type":41,"tag":239,"props":1877,"children":1878},{"class":241,"line":1147},[1879],{"type":41,"tag":239,"props":1880,"children":1881},{"style":252},[1882],{"type":46,"value":1883},"  },\n",{"type":41,"tag":239,"props":1885,"children":1886},{"class":241,"line":1156},[1887,1891,1895],{"type":41,"tag":239,"props":1888,"children":1889},{"style":252},[1890],{"type":46,"value":266},{"type":41,"tag":239,"props":1892,"children":1893},{"style":258},[1894],{"type":46,"value":307},{"type":41,"tag":239,"props":1896,"children":1897},{"style":252},[1898],{"type":46,"value":312},{"type":41,"tag":239,"props":1900,"children":1901},{"class":241,"line":1212},[1902,1906,1910,1914,1919],{"type":41,"tag":239,"props":1903,"children":1904},{"style":258},[1905],{"type":46,"value":577},{"type":41,"tag":239,"props":1907,"children":1908},{"style":252},[1909],{"type":46,"value":119},{"type":41,"tag":239,"props":1911,"children":1912},{"style":346},[1913],{"type":46,"value":586},{"type":41,"tag":239,"props":1915,"children":1916},{"style":258},[1917],{"type":46,"value":1918},"(result)",{"type":41,"tag":239,"props":1920,"children":1921},{"style":252},[1922],{"type":46,"value":312},{"type":41,"tag":49,"props":1924,"children":1925},{},[1926,1928,1934,1936,1941],{"type":46,"value":1927},"Passing ",{"type":41,"tag":55,"props":1929,"children":1931},{"className":1930},[],[1932],{"type":46,"value":1933},"filePaths: [\"\u002Fdata.jsonl\"]",{"type":46,"value":1935}," would produce a table with ",{"type":41,"tag":87,"props":1937,"children":1938},{},[1939],{"type":46,"value":1940},"one row",{"type":46,"value":1942},"\npointing at the file — not one row per record inside it.",{"type":41,"tag":72,"props":1944,"children":1946},{"id":1945},"when-to-use-subagenttype",[1947,1949],{"type":46,"value":1948},"When to use ",{"type":41,"tag":55,"props":1950,"children":1952},{"className":1951},[],[1953],{"type":46,"value":1954},"subagentType",{"type":41,"tag":49,"props":1956,"children":1957},{},[1958,1960,1965],{"type":46,"value":1959},"Omit ",{"type":41,"tag":55,"props":1961,"children":1963},{"className":1962},[],[1964],{"type":46,"value":1954},{"type":46,"value":1966}," for classification, extraction, labeling, and any task\nwhere a single model call with structured output is sufficient. This is the\ndefault and is significantly cheaper and faster — each dispatch is a direct\nmodel call, no tools, no iteration.",{"type":41,"tag":49,"props":1968,"children":1969},{},[1970,1972,1977],{"type":46,"value":1971},"Set ",{"type":41,"tag":55,"props":1973,"children":1975},{"className":1974},[],[1976],{"type":46,"value":1954},{"type":46,"value":1978}," when the task requires tools, file access, or multi-step\nreasoning. Each dispatch runs a full agentic loop with the named subagent.",{"type":41,"tag":228,"props":1980,"children":1982},{"className":230,"code":1981,"language":232,"meta":233,"style":233},"\u002F\u002F Direct model call — classification, no tools needed\nawait run(table.id, {\n  instruction: \"Classify {text}\",\n  responseSchema: { type: \"object\", properties: { label: { type: \"string\" } }, required: [\"label\"] },\n});\n\n\u002F\u002F Subagent — needs to read files and reason over multiple steps\nawait run(table.id, {\n  subagentType: \"reviewer\",\n  instruction: \"Review {file} for security issues.\",\n  responseSchema: { type: \"object\", properties: { finding: { type: \"string\" } }, required: [\"finding\"] },\n});\n",[1983],{"type":41,"tag":55,"props":1984,"children":1985},{"__ignoreMap":233},[1986,1994,2026,2053,2181,2196,2205,2213,2244,2273,2301,2426],{"type":41,"tag":239,"props":1987,"children":1988},{"class":241,"line":242},[1989],{"type":41,"tag":239,"props":1990,"children":1991},{"style":1258},[1992],{"type":46,"value":1993},"\u002F\u002F Direct model call — classification, no tools needed\n",{"type":41,"tag":239,"props":1995,"children":1996},{"class":241,"line":315},[1997,2002,2006,2010,2014,2018,2022],{"type":41,"tag":239,"props":1998,"children":1999},{"style":274},[2000],{"type":46,"value":2001},"await",{"type":41,"tag":239,"props":2003,"children":2004},{"style":346},[2005],{"type":46,"value":1678},{"type":41,"tag":239,"props":2007,"children":2008},{"style":258},[2009],{"type":46,"value":1683},{"type":41,"tag":239,"props":2011,"children":2012},{"style":252},[2013],{"type":46,"value":119},{"type":41,"tag":239,"props":2015,"children":2016},{"style":258},[2017],{"type":46,"value":1692},{"type":41,"tag":239,"props":2019,"children":2020},{"style":252},[2021],{"type":46,"value":809},{"type":41,"tag":239,"props":2023,"children":2024},{"style":252},[2025],{"type":46,"value":1701},{"type":41,"tag":239,"props":2027,"children":2028},{"class":241,"line":399},[2029,2033,2037,2041,2045,2049],{"type":41,"tag":239,"props":2030,"children":2031},{"style":361},[2032],{"type":46,"value":1709},{"type":41,"tag":239,"props":2034,"children":2035},{"style":252},[2036],{"type":46,"value":369},{"type":41,"tag":239,"props":2038,"children":2039},{"style":252},[2040],{"type":46,"value":374},{"type":41,"tag":239,"props":2042,"children":2043},{"style":295},[2044],{"type":46,"value":1722},{"type":41,"tag":239,"props":2046,"children":2047},{"style":252},[2048],{"type":46,"value":292},{"type":41,"tag":239,"props":2050,"children":2051},{"style":252},[2052],{"type":46,"value":1731},{"type":41,"tag":239,"props":2054,"children":2055},{"class":241,"line":512},[2056,2060,2064,2068,2072,2076,2080,2084,2088,2092,2097,2101,2105,2109,2113,2117,2121,2125,2129,2133,2137,2141,2146,2151,2155,2159,2163,2167,2171,2176],{"type":41,"tag":239,"props":2057,"children":2058},{"style":361},[2059],{"type":46,"value":1739},{"type":41,"tag":239,"props":2061,"children":2062},{"style":252},[2063],{"type":46,"value":369},{"type":41,"tag":239,"props":2065,"children":2066},{"style":252},[2067],{"type":46,"value":255},{"type":41,"tag":239,"props":2069,"children":2070},{"style":361},[2071],{"type":46,"value":1810},{"type":41,"tag":239,"props":2073,"children":2074},{"style":252},[2075],{"type":46,"value":369},{"type":41,"tag":239,"props":2077,"children":2078},{"style":252},[2079],{"type":46,"value":374},{"type":41,"tag":239,"props":2081,"children":2082},{"style":295},[2083],{"type":46,"value":1768},{"type":41,"tag":239,"props":2085,"children":2086},{"style":252},[2087],{"type":46,"value":292},{"type":41,"tag":239,"props":2089,"children":2090},{"style":252},[2091],{"type":46,"value":809},{"type":41,"tag":239,"props":2093,"children":2094},{"style":361},[2095],{"type":46,"value":2096}," properties",{"type":41,"tag":239,"props":2098,"children":2099},{"style":252},[2100],{"type":46,"value":369},{"type":41,"tag":239,"props":2102,"children":2103},{"style":252},[2104],{"type":46,"value":255},{"type":41,"tag":239,"props":2106,"children":2107},{"style":361},[2108],{"type":46,"value":1797},{"type":41,"tag":239,"props":2110,"children":2111},{"style":252},[2112],{"type":46,"value":369},{"type":41,"tag":239,"props":2114,"children":2115},{"style":252},[2116],{"type":46,"value":255},{"type":41,"tag":239,"props":2118,"children":2119},{"style":361},[2120],{"type":46,"value":1810},{"type":41,"tag":239,"props":2122,"children":2123},{"style":252},[2124],{"type":46,"value":369},{"type":41,"tag":239,"props":2126,"children":2127},{"style":252},[2128],{"type":46,"value":374},{"type":41,"tag":239,"props":2130,"children":2131},{"style":295},[2132],{"type":46,"value":1823},{"type":41,"tag":239,"props":2134,"children":2135},{"style":252},[2136],{"type":46,"value":292},{"type":41,"tag":239,"props":2138,"children":2139},{"style":252},[2140],{"type":46,"value":388},{"type":41,"tag":239,"props":2142,"children":2143},{"style":252},[2144],{"type":46,"value":2145}," },",{"type":41,"tag":239,"props":2147,"children":2148},{"style":361},[2149],{"type":46,"value":2150}," required",{"type":41,"tag":239,"props":2152,"children":2153},{"style":252},[2154],{"type":46,"value":369},{"type":41,"tag":239,"props":2156,"children":2157},{"style":258},[2158],{"type":46,"value":1853},{"type":41,"tag":239,"props":2160,"children":2161},{"style":252},[2162],{"type":46,"value":292},{"type":41,"tag":239,"props":2164,"children":2165},{"style":295},[2166],{"type":46,"value":1862},{"type":41,"tag":239,"props":2168,"children":2169},{"style":252},[2170],{"type":46,"value":292},{"type":41,"tag":239,"props":2172,"children":2173},{"style":258},[2174],{"type":46,"value":2175},"] ",{"type":41,"tag":239,"props":2177,"children":2178},{"style":252},[2179],{"type":46,"value":2180},"},\n",{"type":41,"tag":239,"props":2182,"children":2183},{"class":241,"line":571},[2184,2188,2192],{"type":41,"tag":239,"props":2185,"children":2186},{"style":252},[2187],{"type":46,"value":266},{"type":41,"tag":239,"props":2189,"children":2190},{"style":258},[2191],{"type":46,"value":307},{"type":41,"tag":239,"props":2193,"children":2194},{"style":252},[2195],{"type":46,"value":312},{"type":41,"tag":239,"props":2197,"children":2198},{"class":241,"line":847},[2199],{"type":41,"tag":239,"props":2200,"children":2202},{"emptyLinePlaceholder":2201},true,[2203],{"type":46,"value":2204},"\n",{"type":41,"tag":239,"props":2206,"children":2207},{"class":241,"line":939},[2208],{"type":41,"tag":239,"props":2209,"children":2210},{"style":1258},[2211],{"type":46,"value":2212},"\u002F\u002F Subagent — needs to read files and reason over multiple steps\n",{"type":41,"tag":239,"props":2214,"children":2215},{"class":241,"line":1077},[2216,2220,2224,2228,2232,2236,2240],{"type":41,"tag":239,"props":2217,"children":2218},{"style":274},[2219],{"type":46,"value":2001},{"type":41,"tag":239,"props":2221,"children":2222},{"style":346},[2223],{"type":46,"value":1678},{"type":41,"tag":239,"props":2225,"children":2226},{"style":258},[2227],{"type":46,"value":1683},{"type":41,"tag":239,"props":2229,"children":2230},{"style":252},[2231],{"type":46,"value":119},{"type":41,"tag":239,"props":2233,"children":2234},{"style":258},[2235],{"type":46,"value":1692},{"type":41,"tag":239,"props":2237,"children":2238},{"style":252},[2239],{"type":46,"value":809},{"type":41,"tag":239,"props":2241,"children":2242},{"style":252},[2243],{"type":46,"value":1701},{"type":41,"tag":239,"props":2245,"children":2246},{"class":241,"line":1125},[2247,2252,2256,2260,2265,2269],{"type":41,"tag":239,"props":2248,"children":2249},{"style":361},[2250],{"type":46,"value":2251},"  subagentType",{"type":41,"tag":239,"props":2253,"children":2254},{"style":252},[2255],{"type":46,"value":369},{"type":41,"tag":239,"props":2257,"children":2258},{"style":252},[2259],{"type":46,"value":374},{"type":41,"tag":239,"props":2261,"children":2262},{"style":295},[2263],{"type":46,"value":2264},"reviewer",{"type":41,"tag":239,"props":2266,"children":2267},{"style":252},[2268],{"type":46,"value":292},{"type":41,"tag":239,"props":2270,"children":2271},{"style":252},[2272],{"type":46,"value":1731},{"type":41,"tag":239,"props":2274,"children":2275},{"class":241,"line":1147},[2276,2280,2284,2288,2293,2297],{"type":41,"tag":239,"props":2277,"children":2278},{"style":361},[2279],{"type":46,"value":1709},{"type":41,"tag":239,"props":2281,"children":2282},{"style":252},[2283],{"type":46,"value":369},{"type":41,"tag":239,"props":2285,"children":2286},{"style":252},[2287],{"type":46,"value":374},{"type":41,"tag":239,"props":2289,"children":2290},{"style":295},[2291],{"type":46,"value":2292},"Review {file} for security issues.",{"type":41,"tag":239,"props":2294,"children":2295},{"style":252},[2296],{"type":46,"value":292},{"type":41,"tag":239,"props":2298,"children":2299},{"style":252},[2300],{"type":46,"value":1731},{"type":41,"tag":239,"props":2302,"children":2303},{"class":241,"line":1156},[2304,2308,2312,2316,2320,2324,2328,2332,2336,2340,2344,2348,2352,2357,2361,2365,2369,2373,2377,2381,2385,2389,2393,2397,2401,2405,2409,2414,2418,2422],{"type":41,"tag":239,"props":2305,"children":2306},{"style":361},[2307],{"type":46,"value":1739},{"type":41,"tag":239,"props":2309,"children":2310},{"style":252},[2311],{"type":46,"value":369},{"type":41,"tag":239,"props":2313,"children":2314},{"style":252},[2315],{"type":46,"value":255},{"type":41,"tag":239,"props":2317,"children":2318},{"style":361},[2319],{"type":46,"value":1810},{"type":41,"tag":239,"props":2321,"children":2322},{"style":252},[2323],{"type":46,"value":369},{"type":41,"tag":239,"props":2325,"children":2326},{"style":252},[2327],{"type":46,"value":374},{"type":41,"tag":239,"props":2329,"children":2330},{"style":295},[2331],{"type":46,"value":1768},{"type":41,"tag":239,"props":2333,"children":2334},{"style":252},[2335],{"type":46,"value":292},{"type":41,"tag":239,"props":2337,"children":2338},{"style":252},[2339],{"type":46,"value":809},{"type":41,"tag":239,"props":2341,"children":2342},{"style":361},[2343],{"type":46,"value":2096},{"type":41,"tag":239,"props":2345,"children":2346},{"style":252},[2347],{"type":46,"value":369},{"type":41,"tag":239,"props":2349,"children":2350},{"style":252},[2351],{"type":46,"value":255},{"type":41,"tag":239,"props":2353,"children":2354},{"style":361},[2355],{"type":46,"value":2356}," finding",{"type":41,"tag":239,"props":2358,"children":2359},{"style":252},[2360],{"type":46,"value":369},{"type":41,"tag":239,"props":2362,"children":2363},{"style":252},[2364],{"type":46,"value":255},{"type":41,"tag":239,"props":2366,"children":2367},{"style":361},[2368],{"type":46,"value":1810},{"type":41,"tag":239,"props":2370,"children":2371},{"style":252},[2372],{"type":46,"value":369},{"type":41,"tag":239,"props":2374,"children":2375},{"style":252},[2376],{"type":46,"value":374},{"type":41,"tag":239,"props":2378,"children":2379},{"style":295},[2380],{"type":46,"value":1823},{"type":41,"tag":239,"props":2382,"children":2383},{"style":252},[2384],{"type":46,"value":292},{"type":41,"tag":239,"props":2386,"children":2387},{"style":252},[2388],{"type":46,"value":388},{"type":41,"tag":239,"props":2390,"children":2391},{"style":252},[2392],{"type":46,"value":2145},{"type":41,"tag":239,"props":2394,"children":2395},{"style":361},[2396],{"type":46,"value":2150},{"type":41,"tag":239,"props":2398,"children":2399},{"style":252},[2400],{"type":46,"value":369},{"type":41,"tag":239,"props":2402,"children":2403},{"style":258},[2404],{"type":46,"value":1853},{"type":41,"tag":239,"props":2406,"children":2407},{"style":252},[2408],{"type":46,"value":292},{"type":41,"tag":239,"props":2410,"children":2411},{"style":295},[2412],{"type":46,"value":2413},"finding",{"type":41,"tag":239,"props":2415,"children":2416},{"style":252},[2417],{"type":46,"value":292},{"type":41,"tag":239,"props":2419,"children":2420},{"style":258},[2421],{"type":46,"value":2175},{"type":41,"tag":239,"props":2423,"children":2424},{"style":252},[2425],{"type":46,"value":2180},{"type":41,"tag":239,"props":2427,"children":2428},{"class":241,"line":1212},[2429,2433,2437],{"type":41,"tag":239,"props":2430,"children":2431},{"style":252},[2432],{"type":46,"value":266},{"type":41,"tag":239,"props":2434,"children":2435},{"style":258},[2436],{"type":46,"value":307},{"type":41,"tag":239,"props":2438,"children":2439},{"style":252},[2440],{"type":46,"value":312},{"type":41,"tag":72,"props":2442,"children":2444},{"id":2443},"instruction-context",[2445],{"type":46,"value":2446},"Instruction + context",{"type":41,"tag":49,"props":2448,"children":2449},{},[2450,2455,2457,2463],{"type":41,"tag":55,"props":2451,"children":2453},{"className":2452},[],[2454],{"type":46,"value":109},{"type":46,"value":2456}," is a per-item template with ",{"type":41,"tag":55,"props":2458,"children":2460},{"className":2459},[],[2461],{"type":46,"value":2462},"{column}",{"type":46,"value":2464}," placeholders.\nPlaceholders are resolved by the framework — your column names appear in\nprompts as references to the values listed alongside, never as raw\ntemplate syntax. Subagents do the work — do not process items yourself in\nJS and write the results into rows.",{"type":41,"tag":49,"props":2466,"children":2467},{},[2468,2474],{"type":41,"tag":55,"props":2469,"children":2471},{"className":2470},[],[2472],{"type":46,"value":2473},"context",{"type":46,"value":2475}," is free-form prose prepended to every subagent prompt. Use it for\nshared background: domain terms, classification rules, examples, etc.",{"type":41,"tag":228,"props":2477,"children":2479},{"className":230,"code":2478,"language":232,"meta":233,"style":233},"const { create, run } = await import(\"@\u002Fskills\u002Fswarm\");\n\nconst table = await create({ glob: \"src\u002F**\u002F*.ts\" });\nconst r = await run(table.id, {\n  subagentType: \"reviewer\",\n  instruction: \"Review {file} for security issues. List findings or write 'no issues'.\",\n  context: \"TypeScript Express backend using Prisma ORM. Focus on injection, auth bypass, path traversal.\",\n  responseSchema: {\n    type: \"object\",\n    properties: { review: { type: \"string\" } },\n    required: [\"review\"],\n  },\n});\nconsole.log(r);\n\u002F\u002F → { completed: 45, failed: 2, skipped: 0, failures: [...] }\n",[2480],{"type":41,"tag":55,"props":2481,"children":2482},{"__ignoreMap":233},[2483,2546,2553,2618,2662,2689,2717,2746,2761,2788,2844,2880,2887,2903,2928],{"type":41,"tag":239,"props":2484,"children":2485},{"class":241,"line":242},[2486,2490,2494,2498,2502,2506,2510,2514,2518,2522,2526,2530,2534,2538,2542],{"type":41,"tag":239,"props":2487,"children":2488},{"style":246},[2489],{"type":46,"value":249},{"type":41,"tag":239,"props":2491,"children":2492},{"style":252},[2493],{"type":46,"value":255},{"type":41,"tag":239,"props":2495,"children":2496},{"style":258},[2497],{"type":46,"value":535},{"type":41,"tag":239,"props":2499,"children":2500},{"style":252},[2501],{"type":46,"value":809},{"type":41,"tag":239,"props":2503,"children":2504},{"style":258},[2505],{"type":46,"value":1549},{"type":41,"tag":239,"props":2507,"children":2508},{"style":252},[2509],{"type":46,"value":266},{"type":41,"tag":239,"props":2511,"children":2512},{"style":252},[2513],{"type":46,"value":271},{"type":41,"tag":239,"props":2515,"children":2516},{"style":274},[2517],{"type":46,"value":277},{"type":41,"tag":239,"props":2519,"children":2520},{"style":252},[2521],{"type":46,"value":282},{"type":41,"tag":239,"props":2523,"children":2524},{"style":258},[2525],{"type":46,"value":287},{"type":41,"tag":239,"props":2527,"children":2528},{"style":252},[2529],{"type":46,"value":292},{"type":41,"tag":239,"props":2531,"children":2532},{"style":295},[2533],{"type":46,"value":298},{"type":41,"tag":239,"props":2535,"children":2536},{"style":252},[2537],{"type":46,"value":292},{"type":41,"tag":239,"props":2539,"children":2540},{"style":258},[2541],{"type":46,"value":307},{"type":41,"tag":239,"props":2543,"children":2544},{"style":252},[2545],{"type":46,"value":312},{"type":41,"tag":239,"props":2547,"children":2548},{"class":241,"line":315},[2549],{"type":41,"tag":239,"props":2550,"children":2551},{"emptyLinePlaceholder":2201},[2552],{"type":46,"value":2204},{"type":41,"tag":239,"props":2554,"children":2555},{"class":241,"line":399},[2556,2560,2564,2568,2572,2576,2580,2584,2589,2593,2597,2602,2606,2610,2614],{"type":41,"tag":239,"props":2557,"children":2558},{"style":246},[2559],{"type":46,"value":249},{"type":41,"tag":239,"props":2561,"children":2562},{"style":258},[2563],{"type":46,"value":522},{"type":41,"tag":239,"props":2565,"children":2566},{"style":252},[2567],{"type":46,"value":330},{"type":41,"tag":239,"props":2569,"children":2570},{"style":274},[2571],{"type":46,"value":277},{"type":41,"tag":239,"props":2573,"children":2574},{"style":346},[2575],{"type":46,"value":535},{"type":41,"tag":239,"props":2577,"children":2578},{"style":258},[2579],{"type":46,"value":287},{"type":41,"tag":239,"props":2581,"children":2582},{"style":252},[2583],{"type":46,"value":358},{"type":41,"tag":239,"props":2585,"children":2586},{"style":361},[2587],{"type":46,"value":2588}," glob",{"type":41,"tag":239,"props":2590,"children":2591},{"style":252},[2592],{"type":46,"value":369},{"type":41,"tag":239,"props":2594,"children":2595},{"style":252},[2596],{"type":46,"value":374},{"type":41,"tag":239,"props":2598,"children":2599},{"style":295},[2600],{"type":46,"value":2601},"src\u002F**\u002F*.ts",{"type":41,"tag":239,"props":2603,"children":2604},{"style":252},[2605],{"type":46,"value":292},{"type":41,"tag":239,"props":2607,"children":2608},{"style":252},[2609],{"type":46,"value":388},{"type":41,"tag":239,"props":2611,"children":2612},{"style":258},[2613],{"type":46,"value":307},{"type":41,"tag":239,"props":2615,"children":2616},{"style":252},[2617],{"type":46,"value":312},{"type":41,"tag":239,"props":2619,"children":2620},{"class":241,"line":512},[2621,2625,2630,2634,2638,2642,2646,2650,2654,2658],{"type":41,"tag":239,"props":2622,"children":2623},{"style":246},[2624],{"type":46,"value":249},{"type":41,"tag":239,"props":2626,"children":2627},{"style":258},[2628],{"type":46,"value":2629}," r ",{"type":41,"tag":239,"props":2631,"children":2632},{"style":252},[2633],{"type":46,"value":330},{"type":41,"tag":239,"props":2635,"children":2636},{"style":274},[2637],{"type":46,"value":277},{"type":41,"tag":239,"props":2639,"children":2640},{"style":346},[2641],{"type":46,"value":1678},{"type":41,"tag":239,"props":2643,"children":2644},{"style":258},[2645],{"type":46,"value":1683},{"type":41,"tag":239,"props":2647,"children":2648},{"style":252},[2649],{"type":46,"value":119},{"type":41,"tag":239,"props":2651,"children":2652},{"style":258},[2653],{"type":46,"value":1692},{"type":41,"tag":239,"props":2655,"children":2656},{"style":252},[2657],{"type":46,"value":809},{"type":41,"tag":239,"props":2659,"children":2660},{"style":252},[2661],{"type":46,"value":1701},{"type":41,"tag":239,"props":2663,"children":2664},{"class":241,"line":571},[2665,2669,2673,2677,2681,2685],{"type":41,"tag":239,"props":2666,"children":2667},{"style":361},[2668],{"type":46,"value":2251},{"type":41,"tag":239,"props":2670,"children":2671},{"style":252},[2672],{"type":46,"value":369},{"type":41,"tag":239,"props":2674,"children":2675},{"style":252},[2676],{"type":46,"value":374},{"type":41,"tag":239,"props":2678,"children":2679},{"style":295},[2680],{"type":46,"value":2264},{"type":41,"tag":239,"props":2682,"children":2683},{"style":252},[2684],{"type":46,"value":292},{"type":41,"tag":239,"props":2686,"children":2687},{"style":252},[2688],{"type":46,"value":1731},{"type":41,"tag":239,"props":2690,"children":2691},{"class":241,"line":847},[2692,2696,2700,2704,2709,2713],{"type":41,"tag":239,"props":2693,"children":2694},{"style":361},[2695],{"type":46,"value":1709},{"type":41,"tag":239,"props":2697,"children":2698},{"style":252},[2699],{"type":46,"value":369},{"type":41,"tag":239,"props":2701,"children":2702},{"style":252},[2703],{"type":46,"value":374},{"type":41,"tag":239,"props":2705,"children":2706},{"style":295},[2707],{"type":46,"value":2708},"Review {file} for security issues. List findings or write 'no issues'.",{"type":41,"tag":239,"props":2710,"children":2711},{"style":252},[2712],{"type":46,"value":292},{"type":41,"tag":239,"props":2714,"children":2715},{"style":252},[2716],{"type":46,"value":1731},{"type":41,"tag":239,"props":2718,"children":2719},{"class":241,"line":939},[2720,2725,2729,2733,2738,2742],{"type":41,"tag":239,"props":2721,"children":2722},{"style":361},[2723],{"type":46,"value":2724},"  context",{"type":41,"tag":239,"props":2726,"children":2727},{"style":252},[2728],{"type":46,"value":369},{"type":41,"tag":239,"props":2730,"children":2731},{"style":252},[2732],{"type":46,"value":374},{"type":41,"tag":239,"props":2734,"children":2735},{"style":295},[2736],{"type":46,"value":2737},"TypeScript Express backend using Prisma ORM. Focus on injection, auth bypass, path traversal.",{"type":41,"tag":239,"props":2739,"children":2740},{"style":252},[2741],{"type":46,"value":292},{"type":41,"tag":239,"props":2743,"children":2744},{"style":252},[2745],{"type":46,"value":1731},{"type":41,"tag":239,"props":2747,"children":2748},{"class":241,"line":1077},[2749,2753,2757],{"type":41,"tag":239,"props":2750,"children":2751},{"style":361},[2752],{"type":46,"value":1739},{"type":41,"tag":239,"props":2754,"children":2755},{"style":252},[2756],{"type":46,"value":369},{"type":41,"tag":239,"props":2758,"children":2759},{"style":252},[2760],{"type":46,"value":1701},{"type":41,"tag":239,"props":2762,"children":2763},{"class":241,"line":1125},[2764,2768,2772,2776,2780,2784],{"type":41,"tag":239,"props":2765,"children":2766},{"style":361},[2767],{"type":46,"value":1755},{"type":41,"tag":239,"props":2769,"children":2770},{"style":252},[2771],{"type":46,"value":369},{"type":41,"tag":239,"props":2773,"children":2774},{"style":252},[2775],{"type":46,"value":374},{"type":41,"tag":239,"props":2777,"children":2778},{"style":295},[2779],{"type":46,"value":1768},{"type":41,"tag":239,"props":2781,"children":2782},{"style":252},[2783],{"type":46,"value":292},{"type":41,"tag":239,"props":2785,"children":2786},{"style":252},[2787],{"type":46,"value":1731},{"type":41,"tag":239,"props":2789,"children":2790},{"class":241,"line":1147},[2791,2795,2799,2803,2808,2812,2816,2820,2824,2828,2832,2836,2840],{"type":41,"tag":239,"props":2792,"children":2793},{"style":361},[2794],{"type":46,"value":1784},{"type":41,"tag":239,"props":2796,"children":2797},{"style":252},[2798],{"type":46,"value":369},{"type":41,"tag":239,"props":2800,"children":2801},{"style":252},[2802],{"type":46,"value":255},{"type":41,"tag":239,"props":2804,"children":2805},{"style":361},[2806],{"type":46,"value":2807}," review",{"type":41,"tag":239,"props":2809,"children":2810},{"style":252},[2811],{"type":46,"value":369},{"type":41,"tag":239,"props":2813,"children":2814},{"style":252},[2815],{"type":46,"value":255},{"type":41,"tag":239,"props":2817,"children":2818},{"style":361},[2819],{"type":46,"value":1810},{"type":41,"tag":239,"props":2821,"children":2822},{"style":252},[2823],{"type":46,"value":369},{"type":41,"tag":239,"props":2825,"children":2826},{"style":252},[2827],{"type":46,"value":374},{"type":41,"tag":239,"props":2829,"children":2830},{"style":295},[2831],{"type":46,"value":1823},{"type":41,"tag":239,"props":2833,"children":2834},{"style":252},[2835],{"type":46,"value":292},{"type":41,"tag":239,"props":2837,"children":2838},{"style":252},[2839],{"type":46,"value":388},{"type":41,"tag":239,"props":2841,"children":2842},{"style":252},[2843],{"type":46,"value":1836},{"type":41,"tag":239,"props":2845,"children":2846},{"class":241,"line":1156},[2847,2851,2855,2859,2863,2868,2872,2876],{"type":41,"tag":239,"props":2848,"children":2849},{"style":361},[2850],{"type":46,"value":1844},{"type":41,"tag":239,"props":2852,"children":2853},{"style":252},[2854],{"type":46,"value":369},{"type":41,"tag":239,"props":2856,"children":2857},{"style":258},[2858],{"type":46,"value":1853},{"type":41,"tag":239,"props":2860,"children":2861},{"style":252},[2862],{"type":46,"value":292},{"type":41,"tag":239,"props":2864,"children":2865},{"style":295},[2866],{"type":46,"value":2867},"review",{"type":41,"tag":239,"props":2869,"children":2870},{"style":252},[2871],{"type":46,"value":292},{"type":41,"tag":239,"props":2873,"children":2874},{"style":258},[2875],{"type":46,"value":1871},{"type":41,"tag":239,"props":2877,"children":2878},{"style":252},[2879],{"type":46,"value":1731},{"type":41,"tag":239,"props":2881,"children":2882},{"class":241,"line":1212},[2883],{"type":41,"tag":239,"props":2884,"children":2885},{"style":252},[2886],{"type":46,"value":1883},{"type":41,"tag":239,"props":2888,"children":2890},{"class":241,"line":2889},13,[2891,2895,2899],{"type":41,"tag":239,"props":2892,"children":2893},{"style":252},[2894],{"type":46,"value":266},{"type":41,"tag":239,"props":2896,"children":2897},{"style":258},[2898],{"type":46,"value":307},{"type":41,"tag":239,"props":2900,"children":2901},{"style":252},[2902],{"type":46,"value":312},{"type":41,"tag":239,"props":2904,"children":2906},{"class":241,"line":2905},14,[2907,2911,2915,2919,2924],{"type":41,"tag":239,"props":2908,"children":2909},{"style":258},[2910],{"type":46,"value":577},{"type":41,"tag":239,"props":2912,"children":2913},{"style":252},[2914],{"type":46,"value":119},{"type":41,"tag":239,"props":2916,"children":2917},{"style":346},[2918],{"type":46,"value":586},{"type":41,"tag":239,"props":2920,"children":2921},{"style":258},[2922],{"type":46,"value":2923},"(r)",{"type":41,"tag":239,"props":2925,"children":2926},{"style":252},[2927],{"type":46,"value":312},{"type":41,"tag":239,"props":2929,"children":2931},{"class":241,"line":2930},15,[2932],{"type":41,"tag":239,"props":2933,"children":2934},{"style":1258},[2935],{"type":46,"value":2936},"\u002F\u002F → { completed: 45, failed: 2, skipped: 0, failures: [...] }\n",{"type":41,"tag":72,"props":2938,"children":2940},{"id":2939},"structured-output",[2941],{"type":46,"value":2942},"Structured output",{"type":41,"tag":49,"props":2944,"children":2945},{},[2946,2952],{"type":41,"tag":55,"props":2947,"children":2949},{"className":2948},[],[2950],{"type":46,"value":2951},"responseSchema",{"type":46,"value":2953}," is required. Schema properties become top-level columns on\neach row and constrain what subagents can return.",{"type":41,"tag":228,"props":2955,"children":2957},{"className":230,"code":2956,"language":232,"meta":233,"style":233},"const { run } = await import(\"@\u002Fskills\u002Fswarm\");\nawait run(table.id, {\n  instruction: \"Classify: {text}\",\n  responseSchema: {\n    type: \"object\",\n    properties: {\n      sentiment: { type: \"string\", enum: [\"positive\", \"negative\", \"neutral\"] },\n    },\n    required: [\"sentiment\"],\n  },\n});\n\u002F\u002F Row after: { id: \"r1\", text: \"...\", sentiment: \"positive\" }\n",[2958],{"type":41,"tag":55,"props":2959,"children":2960},{"__ignoreMap":233},[2961,3016,3047,3075,3090,3117,3132,3240,3248,3284,3291,3306],{"type":41,"tag":239,"props":2962,"children":2963},{"class":241,"line":242},[2964,2968,2972,2976,2980,2984,2988,2992,2996,3000,3004,3008,3012],{"type":41,"tag":239,"props":2965,"children":2966},{"style":246},[2967],{"type":46,"value":249},{"type":41,"tag":239,"props":2969,"children":2970},{"style":252},[2971],{"type":46,"value":255},{"type":41,"tag":239,"props":2973,"children":2974},{"style":258},[2975],{"type":46,"value":1549},{"type":41,"tag":239,"props":2977,"children":2978},{"style":252},[2979],{"type":46,"value":266},{"type":41,"tag":239,"props":2981,"children":2982},{"style":252},[2983],{"type":46,"value":271},{"type":41,"tag":239,"props":2985,"children":2986},{"style":274},[2987],{"type":46,"value":277},{"type":41,"tag":239,"props":2989,"children":2990},{"style":252},[2991],{"type":46,"value":282},{"type":41,"tag":239,"props":2993,"children":2994},{"style":258},[2995],{"type":46,"value":287},{"type":41,"tag":239,"props":2997,"children":2998},{"style":252},[2999],{"type":46,"value":292},{"type":41,"tag":239,"props":3001,"children":3002},{"style":295},[3003],{"type":46,"value":298},{"type":41,"tag":239,"props":3005,"children":3006},{"style":252},[3007],{"type":46,"value":292},{"type":41,"tag":239,"props":3009,"children":3010},{"style":258},[3011],{"type":46,"value":307},{"type":41,"tag":239,"props":3013,"children":3014},{"style":252},[3015],{"type":46,"value":312},{"type":41,"tag":239,"props":3017,"children":3018},{"class":241,"line":315},[3019,3023,3027,3031,3035,3039,3043],{"type":41,"tag":239,"props":3020,"children":3021},{"style":274},[3022],{"type":46,"value":2001},{"type":41,"tag":239,"props":3024,"children":3025},{"style":346},[3026],{"type":46,"value":1678},{"type":41,"tag":239,"props":3028,"children":3029},{"style":258},[3030],{"type":46,"value":1683},{"type":41,"tag":239,"props":3032,"children":3033},{"style":252},[3034],{"type":46,"value":119},{"type":41,"tag":239,"props":3036,"children":3037},{"style":258},[3038],{"type":46,"value":1692},{"type":41,"tag":239,"props":3040,"children":3041},{"style":252},[3042],{"type":46,"value":809},{"type":41,"tag":239,"props":3044,"children":3045},{"style":252},[3046],{"type":46,"value":1701},{"type":41,"tag":239,"props":3048,"children":3049},{"class":241,"line":399},[3050,3054,3058,3062,3067,3071],{"type":41,"tag":239,"props":3051,"children":3052},{"style":361},[3053],{"type":46,"value":1709},{"type":41,"tag":239,"props":3055,"children":3056},{"style":252},[3057],{"type":46,"value":369},{"type":41,"tag":239,"props":3059,"children":3060},{"style":252},[3061],{"type":46,"value":374},{"type":41,"tag":239,"props":3063,"children":3064},{"style":295},[3065],{"type":46,"value":3066},"Classify: {text}",{"type":41,"tag":239,"props":3068,"children":3069},{"style":252},[3070],{"type":46,"value":292},{"type":41,"tag":239,"props":3072,"children":3073},{"style":252},[3074],{"type":46,"value":1731},{"type":41,"tag":239,"props":3076,"children":3077},{"class":241,"line":512},[3078,3082,3086],{"type":41,"tag":239,"props":3079,"children":3080},{"style":361},[3081],{"type":46,"value":1739},{"type":41,"tag":239,"props":3083,"children":3084},{"style":252},[3085],{"type":46,"value":369},{"type":41,"tag":239,"props":3087,"children":3088},{"style":252},[3089],{"type":46,"value":1701},{"type":41,"tag":239,"props":3091,"children":3092},{"class":241,"line":571},[3093,3097,3101,3105,3109,3113],{"type":41,"tag":239,"props":3094,"children":3095},{"style":361},[3096],{"type":46,"value":1755},{"type":41,"tag":239,"props":3098,"children":3099},{"style":252},[3100],{"type":46,"value":369},{"type":41,"tag":239,"props":3102,"children":3103},{"style":252},[3104],{"type":46,"value":374},{"type":41,"tag":239,"props":3106,"children":3107},{"style":295},[3108],{"type":46,"value":1768},{"type":41,"tag":239,"props":3110,"children":3111},{"style":252},[3112],{"type":46,"value":292},{"type":41,"tag":239,"props":3114,"children":3115},{"style":252},[3116],{"type":46,"value":1731},{"type":41,"tag":239,"props":3118,"children":3119},{"class":241,"line":847},[3120,3124,3128],{"type":41,"tag":239,"props":3121,"children":3122},{"style":361},[3123],{"type":46,"value":1784},{"type":41,"tag":239,"props":3125,"children":3126},{"style":252},[3127],{"type":46,"value":369},{"type":41,"tag":239,"props":3129,"children":3130},{"style":252},[3131],{"type":46,"value":1701},{"type":41,"tag":239,"props":3133,"children":3134},{"class":241,"line":939},[3135,3140,3144,3148,3152,3156,3160,3164,3168,3172,3177,3181,3185,3189,3194,3198,3202,3206,3211,3215,3219,3223,3228,3232,3236],{"type":41,"tag":239,"props":3136,"children":3137},{"style":361},[3138],{"type":46,"value":3139},"      sentiment",{"type":41,"tag":239,"props":3141,"children":3142},{"style":252},[3143],{"type":46,"value":369},{"type":41,"tag":239,"props":3145,"children":3146},{"style":252},[3147],{"type":46,"value":255},{"type":41,"tag":239,"props":3149,"children":3150},{"style":361},[3151],{"type":46,"value":1810},{"type":41,"tag":239,"props":3153,"children":3154},{"style":252},[3155],{"type":46,"value":369},{"type":41,"tag":239,"props":3157,"children":3158},{"style":252},[3159],{"type":46,"value":374},{"type":41,"tag":239,"props":3161,"children":3162},{"style":295},[3163],{"type":46,"value":1823},{"type":41,"tag":239,"props":3165,"children":3166},{"style":252},[3167],{"type":46,"value":292},{"type":41,"tag":239,"props":3169,"children":3170},{"style":252},[3171],{"type":46,"value":809},{"type":41,"tag":239,"props":3173,"children":3174},{"style":361},[3175],{"type":46,"value":3176}," enum",{"type":41,"tag":239,"props":3178,"children":3179},{"style":252},[3180],{"type":46,"value":369},{"type":41,"tag":239,"props":3182,"children":3183},{"style":258},[3184],{"type":46,"value":1853},{"type":41,"tag":239,"props":3186,"children":3187},{"style":252},[3188],{"type":46,"value":292},{"type":41,"tag":239,"props":3190,"children":3191},{"style":295},[3192],{"type":46,"value":3193},"positive",{"type":41,"tag":239,"props":3195,"children":3196},{"style":252},[3197],{"type":46,"value":292},{"type":41,"tag":239,"props":3199,"children":3200},{"style":252},[3201],{"type":46,"value":809},{"type":41,"tag":239,"props":3203,"children":3204},{"style":252},[3205],{"type":46,"value":374},{"type":41,"tag":239,"props":3207,"children":3208},{"style":295},[3209],{"type":46,"value":3210},"negative",{"type":41,"tag":239,"props":3212,"children":3213},{"style":252},[3214],{"type":46,"value":292},{"type":41,"tag":239,"props":3216,"children":3217},{"style":252},[3218],{"type":46,"value":809},{"type":41,"tag":239,"props":3220,"children":3221},{"style":252},[3222],{"type":46,"value":374},{"type":41,"tag":239,"props":3224,"children":3225},{"style":295},[3226],{"type":46,"value":3227},"neutral",{"type":41,"tag":239,"props":3229,"children":3230},{"style":252},[3231],{"type":46,"value":292},{"type":41,"tag":239,"props":3233,"children":3234},{"style":258},[3235],{"type":46,"value":2175},{"type":41,"tag":239,"props":3237,"children":3238},{"style":252},[3239],{"type":46,"value":2180},{"type":41,"tag":239,"props":3241,"children":3242},{"class":241,"line":1077},[3243],{"type":41,"tag":239,"props":3244,"children":3245},{"style":252},[3246],{"type":46,"value":3247},"    },\n",{"type":41,"tag":239,"props":3249,"children":3250},{"class":241,"line":1125},[3251,3255,3259,3263,3267,3272,3276,3280],{"type":41,"tag":239,"props":3252,"children":3253},{"style":361},[3254],{"type":46,"value":1844},{"type":41,"tag":239,"props":3256,"children":3257},{"style":252},[3258],{"type":46,"value":369},{"type":41,"tag":239,"props":3260,"children":3261},{"style":258},[3262],{"type":46,"value":1853},{"type":41,"tag":239,"props":3264,"children":3265},{"style":252},[3266],{"type":46,"value":292},{"type":41,"tag":239,"props":3268,"children":3269},{"style":295},[3270],{"type":46,"value":3271},"sentiment",{"type":41,"tag":239,"props":3273,"children":3274},{"style":252},[3275],{"type":46,"value":292},{"type":41,"tag":239,"props":3277,"children":3278},{"style":258},[3279],{"type":46,"value":1871},{"type":41,"tag":239,"props":3281,"children":3282},{"style":252},[3283],{"type":46,"value":1731},{"type":41,"tag":239,"props":3285,"children":3286},{"class":241,"line":1147},[3287],{"type":41,"tag":239,"props":3288,"children":3289},{"style":252},[3290],{"type":46,"value":1883},{"type":41,"tag":239,"props":3292,"children":3293},{"class":241,"line":1156},[3294,3298,3302],{"type":41,"tag":239,"props":3295,"children":3296},{"style":252},[3297],{"type":46,"value":266},{"type":41,"tag":239,"props":3299,"children":3300},{"style":258},[3301],{"type":46,"value":307},{"type":41,"tag":239,"props":3303,"children":3304},{"style":252},[3305],{"type":46,"value":312},{"type":41,"tag":239,"props":3307,"children":3308},{"class":241,"line":1212},[3309],{"type":41,"tag":239,"props":3310,"children":3311},{"style":1258},[3312],{"type":46,"value":3313},"\u002F\u002F Row after: { id: \"r1\", text: \"...\", sentiment: \"positive\" }\n",{"type":41,"tag":72,"props":3315,"children":3317},{"id":3316},"batching",[3318],{"type":46,"value":3319},"Batching",{"type":41,"tag":49,"props":3321,"children":3322},{},[3323],{"type":46,"value":3324},"By default, swarm auto-batches to keep total dispatches under 10. For small\ntables (≤10 rows) each row gets its own subagent call. For larger tables,\nrows are grouped automatically.",{"type":41,"tag":49,"props":3326,"children":3327},{},[3328,3329,3335],{"type":46,"value":1971},{"type":41,"tag":55,"props":3330,"children":3332},{"className":3331},[],[3333],{"type":46,"value":3334},"batchSize",{"type":46,"value":3336}," to control grouping:",{"type":41,"tag":3338,"props":3339,"children":3340},"ul",{},[3341,3367],{"type":41,"tag":83,"props":3342,"children":3343},{},[3344,3349,3351,3357,3359,3365],{"type":41,"tag":87,"props":3345,"children":3346},{},[3347],{"type":46,"value":3348},"Number",{"type":46,"value":3350}," — uniform batch size for all rows. ",{"type":41,"tag":55,"props":3352,"children":3354},{"className":3353},[],[3355],{"type":46,"value":3356},"batchSize: 1",{"type":46,"value":3358}," forces per-row\ndispatch; ",{"type":41,"tag":55,"props":3360,"children":3362},{"className":3361},[],[3363],{"type":46,"value":3364},"batchSize: 20",{"type":46,"value":3366}," groups in twenties.",{"type":41,"tag":83,"props":3368,"children":3369},{},[3370,3375,3377,3383],{"type":41,"tag":87,"props":3371,"children":3372},{},[3373],{"type":46,"value":3374},"Function",{"type":46,"value":3376}," — ",{"type":41,"tag":55,"props":3378,"children":3380},{"className":3379},[],[3381],{"type":46,"value":3382},"(row, rowCount) => number",{"type":46,"value":3384},". Returns the desired batch size\nfor each row. Rows with the same batch size are grouped together, then\nchunked. Allows mixed dispatch where some rows go solo and others batch.",{"type":41,"tag":228,"props":3386,"children":3388},{"className":230,"code":3387,"language":232,"meta":233,"style":233},"const { create, run } = await import(\"@\u002Fskills\u002Fswarm\");\nconst table = await create({ tasks: items });\n\n\u002F\u002F Complex items get individual attention; simple ones batch together\nawait run(table.id, {\n  instruction: \"Analyze {text}\",\n  responseSchema: {\n    type: \"object\",\n    properties: { analysis: { type: \"string\" } },\n    required: [\"analysis\"],\n  },\n  batchSize: (row) => (row.token_count > 1000 ? 1 : 10),\n});\n",[3389],{"type":41,"tag":55,"props":3390,"children":3391},{"__ignoreMap":233},[3392,3455,3511,3518,3526,3557,3585,3600,3627,3683,3719,3726,3807],{"type":41,"tag":239,"props":3393,"children":3394},{"class":241,"line":242},[3395,3399,3403,3407,3411,3415,3419,3423,3427,3431,3435,3439,3443,3447,3451],{"type":41,"tag":239,"props":3396,"children":3397},{"style":246},[3398],{"type":46,"value":249},{"type":41,"tag":239,"props":3400,"children":3401},{"style":252},[3402],{"type":46,"value":255},{"type":41,"tag":239,"props":3404,"children":3405},{"style":258},[3406],{"type":46,"value":535},{"type":41,"tag":239,"props":3408,"children":3409},{"style":252},[3410],{"type":46,"value":809},{"type":41,"tag":239,"props":3412,"children":3413},{"style":258},[3414],{"type":46,"value":1549},{"type":41,"tag":239,"props":3416,"children":3417},{"style":252},[3418],{"type":46,"value":266},{"type":41,"tag":239,"props":3420,"children":3421},{"style":252},[3422],{"type":46,"value":271},{"type":41,"tag":239,"props":3424,"children":3425},{"style":274},[3426],{"type":46,"value":277},{"type":41,"tag":239,"props":3428,"children":3429},{"style":252},[3430],{"type":46,"value":282},{"type":41,"tag":239,"props":3432,"children":3433},{"style":258},[3434],{"type":46,"value":287},{"type":41,"tag":239,"props":3436,"children":3437},{"style":252},[3438],{"type":46,"value":292},{"type":41,"tag":239,"props":3440,"children":3441},{"style":295},[3442],{"type":46,"value":298},{"type":41,"tag":239,"props":3444,"children":3445},{"style":252},[3446],{"type":46,"value":292},{"type":41,"tag":239,"props":3448,"children":3449},{"style":258},[3450],{"type":46,"value":307},{"type":41,"tag":239,"props":3452,"children":3453},{"style":252},[3454],{"type":46,"value":312},{"type":41,"tag":239,"props":3456,"children":3457},{"class":241,"line":315},[3458,3462,3466,3470,3474,3478,3482,3486,3490,3494,3499,3503,3507],{"type":41,"tag":239,"props":3459,"children":3460},{"style":246},[3461],{"type":46,"value":249},{"type":41,"tag":239,"props":3463,"children":3464},{"style":258},[3465],{"type":46,"value":522},{"type":41,"tag":239,"props":3467,"children":3468},{"style":252},[3469],{"type":46,"value":330},{"type":41,"tag":239,"props":3471,"children":3472},{"style":274},[3473],{"type":46,"value":277},{"type":41,"tag":239,"props":3475,"children":3476},{"style":346},[3477],{"type":46,"value":535},{"type":41,"tag":239,"props":3479,"children":3480},{"style":258},[3481],{"type":46,"value":287},{"type":41,"tag":239,"props":3483,"children":3484},{"style":252},[3485],{"type":46,"value":358},{"type":41,"tag":239,"props":3487,"children":3488},{"style":361},[3489],{"type":46,"value":548},{"type":41,"tag":239,"props":3491,"children":3492},{"style":252},[3493],{"type":46,"value":369},{"type":41,"tag":239,"props":3495,"children":3496},{"style":258},[3497],{"type":46,"value":3498}," items ",{"type":41,"tag":239,"props":3500,"children":3501},{"style":252},[3502],{"type":46,"value":266},{"type":41,"tag":239,"props":3504,"children":3505},{"style":258},[3506],{"type":46,"value":307},{"type":41,"tag":239,"props":3508,"children":3509},{"style":252},[3510],{"type":46,"value":312},{"type":41,"tag":239,"props":3512,"children":3513},{"class":241,"line":399},[3514],{"type":41,"tag":239,"props":3515,"children":3516},{"emptyLinePlaceholder":2201},[3517],{"type":46,"value":2204},{"type":41,"tag":239,"props":3519,"children":3520},{"class":241,"line":512},[3521],{"type":41,"tag":239,"props":3522,"children":3523},{"style":1258},[3524],{"type":46,"value":3525},"\u002F\u002F Complex items get individual attention; simple ones batch together\n",{"type":41,"tag":239,"props":3527,"children":3528},{"class":241,"line":571},[3529,3533,3537,3541,3545,3549,3553],{"type":41,"tag":239,"props":3530,"children":3531},{"style":274},[3532],{"type":46,"value":2001},{"type":41,"tag":239,"props":3534,"children":3535},{"style":346},[3536],{"type":46,"value":1678},{"type":41,"tag":239,"props":3538,"children":3539},{"style":258},[3540],{"type":46,"value":1683},{"type":41,"tag":239,"props":3542,"children":3543},{"style":252},[3544],{"type":46,"value":119},{"type":41,"tag":239,"props":3546,"children":3547},{"style":258},[3548],{"type":46,"value":1692},{"type":41,"tag":239,"props":3550,"children":3551},{"style":252},[3552],{"type":46,"value":809},{"type":41,"tag":239,"props":3554,"children":3555},{"style":252},[3556],{"type":46,"value":1701},{"type":41,"tag":239,"props":3558,"children":3559},{"class":241,"line":847},[3560,3564,3568,3572,3577,3581],{"type":41,"tag":239,"props":3561,"children":3562},{"style":361},[3563],{"type":46,"value":1709},{"type":41,"tag":239,"props":3565,"children":3566},{"style":252},[3567],{"type":46,"value":369},{"type":41,"tag":239,"props":3569,"children":3570},{"style":252},[3571],{"type":46,"value":374},{"type":41,"tag":239,"props":3573,"children":3574},{"style":295},[3575],{"type":46,"value":3576},"Analyze {text}",{"type":41,"tag":239,"props":3578,"children":3579},{"style":252},[3580],{"type":46,"value":292},{"type":41,"tag":239,"props":3582,"children":3583},{"style":252},[3584],{"type":46,"value":1731},{"type":41,"tag":239,"props":3586,"children":3587},{"class":241,"line":939},[3588,3592,3596],{"type":41,"tag":239,"props":3589,"children":3590},{"style":361},[3591],{"type":46,"value":1739},{"type":41,"tag":239,"props":3593,"children":3594},{"style":252},[3595],{"type":46,"value":369},{"type":41,"tag":239,"props":3597,"children":3598},{"style":252},[3599],{"type":46,"value":1701},{"type":41,"tag":239,"props":3601,"children":3602},{"class":241,"line":1077},[3603,3607,3611,3615,3619,3623],{"type":41,"tag":239,"props":3604,"children":3605},{"style":361},[3606],{"type":46,"value":1755},{"type":41,"tag":239,"props":3608,"children":3609},{"style":252},[3610],{"type":46,"value":369},{"type":41,"tag":239,"props":3612,"children":3613},{"style":252},[3614],{"type":46,"value":374},{"type":41,"tag":239,"props":3616,"children":3617},{"style":295},[3618],{"type":46,"value":1768},{"type":41,"tag":239,"props":3620,"children":3621},{"style":252},[3622],{"type":46,"value":292},{"type":41,"tag":239,"props":3624,"children":3625},{"style":252},[3626],{"type":46,"value":1731},{"type":41,"tag":239,"props":3628,"children":3629},{"class":241,"line":1125},[3630,3634,3638,3642,3647,3651,3655,3659,3663,3667,3671,3675,3679],{"type":41,"tag":239,"props":3631,"children":3632},{"style":361},[3633],{"type":46,"value":1784},{"type":41,"tag":239,"props":3635,"children":3636},{"style":252},[3637],{"type":46,"value":369},{"type":41,"tag":239,"props":3639,"children":3640},{"style":252},[3641],{"type":46,"value":255},{"type":41,"tag":239,"props":3643,"children":3644},{"style":361},[3645],{"type":46,"value":3646}," analysis",{"type":41,"tag":239,"props":3648,"children":3649},{"style":252},[3650],{"type":46,"value":369},{"type":41,"tag":239,"props":3652,"children":3653},{"style":252},[3654],{"type":46,"value":255},{"type":41,"tag":239,"props":3656,"children":3657},{"style":361},[3658],{"type":46,"value":1810},{"type":41,"tag":239,"props":3660,"children":3661},{"style":252},[3662],{"type":46,"value":369},{"type":41,"tag":239,"props":3664,"children":3665},{"style":252},[3666],{"type":46,"value":374},{"type":41,"tag":239,"props":3668,"children":3669},{"style":295},[3670],{"type":46,"value":1823},{"type":41,"tag":239,"props":3672,"children":3673},{"style":252},[3674],{"type":46,"value":292},{"type":41,"tag":239,"props":3676,"children":3677},{"style":252},[3678],{"type":46,"value":388},{"type":41,"tag":239,"props":3680,"children":3681},{"style":252},[3682],{"type":46,"value":1836},{"type":41,"tag":239,"props":3684,"children":3685},{"class":241,"line":1147},[3686,3690,3694,3698,3702,3707,3711,3715],{"type":41,"tag":239,"props":3687,"children":3688},{"style":361},[3689],{"type":46,"value":1844},{"type":41,"tag":239,"props":3691,"children":3692},{"style":252},[3693],{"type":46,"value":369},{"type":41,"tag":239,"props":3695,"children":3696},{"style":258},[3697],{"type":46,"value":1853},{"type":41,"tag":239,"props":3699,"children":3700},{"style":252},[3701],{"type":46,"value":292},{"type":41,"tag":239,"props":3703,"children":3704},{"style":295},[3705],{"type":46,"value":3706},"analysis",{"type":41,"tag":239,"props":3708,"children":3709},{"style":252},[3710],{"type":46,"value":292},{"type":41,"tag":239,"props":3712,"children":3713},{"style":258},[3714],{"type":46,"value":1871},{"type":41,"tag":239,"props":3716,"children":3717},{"style":252},[3718],{"type":46,"value":1731},{"type":41,"tag":239,"props":3720,"children":3721},{"class":241,"line":1156},[3722],{"type":41,"tag":239,"props":3723,"children":3724},{"style":252},[3725],{"type":46,"value":1883},{"type":41,"tag":239,"props":3727,"children":3728},{"class":241,"line":1212},[3729,3734,3738,3742,3747,3751,3755,3760,3764,3769,3774,3779,3784,3789,3794,3799,3803],{"type":41,"tag":239,"props":3730,"children":3731},{"style":346},[3732],{"type":46,"value":3733},"  batchSize",{"type":41,"tag":239,"props":3735,"children":3736},{"style":252},[3737],{"type":46,"value":369},{"type":41,"tag":239,"props":3739,"children":3740},{"style":252},[3741],{"type":46,"value":726},{"type":41,"tag":239,"props":3743,"children":3744},{"style":478},[3745],{"type":46,"value":3746},"row",{"type":41,"tag":239,"props":3748,"children":3749},{"style":252},[3750],{"type":46,"value":307},{"type":41,"tag":239,"props":3752,"children":3753},{"style":246},[3754],{"type":46,"value":486},{"type":41,"tag":239,"props":3756,"children":3757},{"style":258},[3758],{"type":46,"value":3759}," (row",{"type":41,"tag":239,"props":3761,"children":3762},{"style":252},[3763],{"type":46,"value":119},{"type":41,"tag":239,"props":3765,"children":3766},{"style":258},[3767],{"type":46,"value":3768},"token_count ",{"type":41,"tag":239,"props":3770,"children":3771},{"style":252},[3772],{"type":46,"value":3773},">",{"type":41,"tag":239,"props":3775,"children":3776},{"style":706},[3777],{"type":46,"value":3778}," 1000",{"type":41,"tag":239,"props":3780,"children":3781},{"style":252},[3782],{"type":46,"value":3783}," ?",{"type":41,"tag":239,"props":3785,"children":3786},{"style":706},[3787],{"type":46,"value":3788}," 1",{"type":41,"tag":239,"props":3790,"children":3791},{"style":252},[3792],{"type":46,"value":3793}," :",{"type":41,"tag":239,"props":3795,"children":3796},{"style":706},[3797],{"type":46,"value":3798}," 10",{"type":41,"tag":239,"props":3800,"children":3801},{"style":258},[3802],{"type":46,"value":307},{"type":41,"tag":239,"props":3804,"children":3805},{"style":252},[3806],{"type":46,"value":1731},{"type":41,"tag":239,"props":3808,"children":3809},{"class":241,"line":2889},[3810,3814,3818],{"type":41,"tag":239,"props":3811,"children":3812},{"style":252},[3813],{"type":46,"value":266},{"type":41,"tag":239,"props":3815,"children":3816},{"style":258},[3817],{"type":46,"value":307},{"type":41,"tag":239,"props":3819,"children":3820},{"style":252},[3821],{"type":46,"value":312},{"type":41,"tag":49,"props":3823,"children":3824},{},[3825,3827,3832],{"type":46,"value":3826},"Batch sizes are clamped to ",{"type":41,"tag":239,"props":3828,"children":3829},{},[3830],{"type":46,"value":3831},"1, 50",{"type":46,"value":3833}," after evaluation.",{"type":41,"tag":72,"props":3835,"children":3837},{"id":3836},"aggregation",[3838],{"type":46,"value":3839},"Aggregation",{"type":41,"tag":49,"props":3841,"children":3842},{},[3843,3845,3851,3853,3858],{"type":46,"value":3844},"After ",{"type":41,"tag":55,"props":3846,"children":3848},{"className":3847},[],[3849],{"type":46,"value":3850},"run()",{"type":46,"value":3852},", use ",{"type":41,"tag":55,"props":3854,"children":3856},{"className":3855},[],[3857],{"type":46,"value":135},{"type":46,"value":3859}," and plain JS — no additional subagents needed.",{"type":41,"tag":228,"props":3861,"children":3863},{"className":230,"code":3862,"language":232,"meta":233,"style":233},"const { rows } = await import(\"@\u002Fskills\u002Fswarm\");\nconst data = await rows(table.id, { columns: [\"sentiment\"] });\nconst counts = {};\ndata.forEach(r => { counts[r.sentiment] = (counts[r.sentiment] || 0) + 1 });\nconsole.log(counts);\n\u002F\u002F → { positive: 120, negative: 45, neutral: 35 }\n",[3864],{"type":41,"tag":55,"props":3865,"children":3866},{"__ignoreMap":233},[3867,3923,4009,4030,4156,4180],{"type":41,"tag":239,"props":3868,"children":3869},{"class":241,"line":242},[3870,3874,3878,3883,3887,3891,3895,3899,3903,3907,3911,3915,3919],{"type":41,"tag":239,"props":3871,"children":3872},{"style":246},[3873],{"type":46,"value":249},{"type":41,"tag":239,"props":3875,"children":3876},{"style":252},[3877],{"type":46,"value":255},{"type":41,"tag":239,"props":3879,"children":3880},{"style":258},[3881],{"type":46,"value":3882}," rows ",{"type":41,"tag":239,"props":3884,"children":3885},{"style":252},[3886],{"type":46,"value":266},{"type":41,"tag":239,"props":3888,"children":3889},{"style":252},[3890],{"type":46,"value":271},{"type":41,"tag":239,"props":3892,"children":3893},{"style":274},[3894],{"type":46,"value":277},{"type":41,"tag":239,"props":3896,"children":3897},{"style":252},[3898],{"type":46,"value":282},{"type":41,"tag":239,"props":3900,"children":3901},{"style":258},[3902],{"type":46,"value":287},{"type":41,"tag":239,"props":3904,"children":3905},{"style":252},[3906],{"type":46,"value":292},{"type":41,"tag":239,"props":3908,"children":3909},{"style":295},[3910],{"type":46,"value":298},{"type":41,"tag":239,"props":3912,"children":3913},{"style":252},[3914],{"type":46,"value":292},{"type":41,"tag":239,"props":3916,"children":3917},{"style":258},[3918],{"type":46,"value":307},{"type":41,"tag":239,"props":3920,"children":3921},{"style":252},[3922],{"type":46,"value":312},{"type":41,"tag":239,"props":3924,"children":3925},{"class":241,"line":315},[3926,3930,3935,3939,3943,3948,3952,3956,3960,3964,3968,3973,3977,3981,3985,3989,3993,3997,4001,4005],{"type":41,"tag":239,"props":3927,"children":3928},{"style":246},[3929],{"type":46,"value":249},{"type":41,"tag":239,"props":3931,"children":3932},{"style":258},[3933],{"type":46,"value":3934}," data ",{"type":41,"tag":239,"props":3936,"children":3937},{"style":252},[3938],{"type":46,"value":330},{"type":41,"tag":239,"props":3940,"children":3941},{"style":274},[3942],{"type":46,"value":277},{"type":41,"tag":239,"props":3944,"children":3945},{"style":346},[3946],{"type":46,"value":3947}," rows",{"type":41,"tag":239,"props":3949,"children":3950},{"style":258},[3951],{"type":46,"value":1683},{"type":41,"tag":239,"props":3953,"children":3954},{"style":252},[3955],{"type":46,"value":119},{"type":41,"tag":239,"props":3957,"children":3958},{"style":258},[3959],{"type":46,"value":1692},{"type":41,"tag":239,"props":3961,"children":3962},{"style":252},[3963],{"type":46,"value":809},{"type":41,"tag":239,"props":3965,"children":3966},{"style":252},[3967],{"type":46,"value":255},{"type":41,"tag":239,"props":3969,"children":3970},{"style":361},[3971],{"type":46,"value":3972}," columns",{"type":41,"tag":239,"props":3974,"children":3975},{"style":252},[3976],{"type":46,"value":369},{"type":41,"tag":239,"props":3978,"children":3979},{"style":258},[3980],{"type":46,"value":1853},{"type":41,"tag":239,"props":3982,"children":3983},{"style":252},[3984],{"type":46,"value":292},{"type":41,"tag":239,"props":3986,"children":3987},{"style":295},[3988],{"type":46,"value":3271},{"type":41,"tag":239,"props":3990,"children":3991},{"style":252},[3992],{"type":46,"value":292},{"type":41,"tag":239,"props":3994,"children":3995},{"style":258},[3996],{"type":46,"value":2175},{"type":41,"tag":239,"props":3998,"children":3999},{"style":252},[4000],{"type":46,"value":266},{"type":41,"tag":239,"props":4002,"children":4003},{"style":258},[4004],{"type":46,"value":307},{"type":41,"tag":239,"props":4006,"children":4007},{"style":252},[4008],{"type":46,"value":312},{"type":41,"tag":239,"props":4010,"children":4011},{"class":241,"line":399},[4012,4016,4021,4025],{"type":41,"tag":239,"props":4013,"children":4014},{"style":246},[4015],{"type":46,"value":249},{"type":41,"tag":239,"props":4017,"children":4018},{"style":258},[4019],{"type":46,"value":4020}," counts ",{"type":41,"tag":239,"props":4022,"children":4023},{"style":252},[4024],{"type":46,"value":330},{"type":41,"tag":239,"props":4026,"children":4027},{"style":252},[4028],{"type":46,"value":4029}," {};\n",{"type":41,"tag":239,"props":4031,"children":4032},{"class":241,"line":512},[4033,4038,4042,4047,4051,4055,4059,4063,4068,4073,4077,4081,4085,4089,4093,4097,4102,4106,4110,4114,4118,4122,4127,4131,4135,4140,4144,4148,4152],{"type":41,"tag":239,"props":4034,"children":4035},{"style":258},[4036],{"type":46,"value":4037},"data",{"type":41,"tag":239,"props":4039,"children":4040},{"style":252},[4041],{"type":46,"value":119},{"type":41,"tag":239,"props":4043,"children":4044},{"style":346},[4045],{"type":46,"value":4046},"forEach",{"type":41,"tag":239,"props":4048,"children":4049},{"style":258},[4050],{"type":46,"value":287},{"type":41,"tag":239,"props":4052,"children":4053},{"style":478},[4054],{"type":46,"value":1015},{"type":41,"tag":239,"props":4056,"children":4057},{"style":246},[4058],{"type":46,"value":486},{"type":41,"tag":239,"props":4060,"children":4061},{"style":252},[4062],{"type":46,"value":255},{"type":41,"tag":239,"props":4064,"children":4065},{"style":258},[4066],{"type":46,"value":4067}," counts",{"type":41,"tag":239,"props":4069,"children":4070},{"style":361},[4071],{"type":46,"value":4072},"[",{"type":41,"tag":239,"props":4074,"children":4075},{"style":258},[4076],{"type":46,"value":1015},{"type":41,"tag":239,"props":4078,"children":4079},{"style":252},[4080],{"type":46,"value":119},{"type":41,"tag":239,"props":4082,"children":4083},{"style":258},[4084],{"type":46,"value":3271},{"type":41,"tag":239,"props":4086,"children":4087},{"style":361},[4088],{"type":46,"value":2175},{"type":41,"tag":239,"props":4090,"children":4091},{"style":252},[4092],{"type":46,"value":330},{"type":41,"tag":239,"props":4094,"children":4095},{"style":361},[4096],{"type":46,"value":726},{"type":41,"tag":239,"props":4098,"children":4099},{"style":258},[4100],{"type":46,"value":4101},"counts",{"type":41,"tag":239,"props":4103,"children":4104},{"style":361},[4105],{"type":46,"value":4072},{"type":41,"tag":239,"props":4107,"children":4108},{"style":258},[4109],{"type":46,"value":1015},{"type":41,"tag":239,"props":4111,"children":4112},{"style":252},[4113],{"type":46,"value":119},{"type":41,"tag":239,"props":4115,"children":4116},{"style":258},[4117],{"type":46,"value":3271},{"type":41,"tag":239,"props":4119,"children":4120},{"style":361},[4121],{"type":46,"value":2175},{"type":41,"tag":239,"props":4123,"children":4124},{"style":252},[4125],{"type":46,"value":4126},"||",{"type":41,"tag":239,"props":4128,"children":4129},{"style":706},[4130],{"type":46,"value":709},{"type":41,"tag":239,"props":4132,"children":4133},{"style":361},[4134],{"type":46,"value":737},{"type":41,"tag":239,"props":4136,"children":4137},{"style":252},[4138],{"type":46,"value":4139},"+",{"type":41,"tag":239,"props":4141,"children":4142},{"style":706},[4143],{"type":46,"value":3788},{"type":41,"tag":239,"props":4145,"children":4146},{"style":252},[4147],{"type":46,"value":388},{"type":41,"tag":239,"props":4149,"children":4150},{"style":258},[4151],{"type":46,"value":307},{"type":41,"tag":239,"props":4153,"children":4154},{"style":252},[4155],{"type":46,"value":312},{"type":41,"tag":239,"props":4157,"children":4158},{"class":241,"line":571},[4159,4163,4167,4171,4176],{"type":41,"tag":239,"props":4160,"children":4161},{"style":258},[4162],{"type":46,"value":577},{"type":41,"tag":239,"props":4164,"children":4165},{"style":252},[4166],{"type":46,"value":119},{"type":41,"tag":239,"props":4168,"children":4169},{"style":346},[4170],{"type":46,"value":586},{"type":41,"tag":239,"props":4172,"children":4173},{"style":258},[4174],{"type":46,"value":4175},"(counts)",{"type":41,"tag":239,"props":4177,"children":4178},{"style":252},[4179],{"type":46,"value":312},{"type":41,"tag":239,"props":4181,"children":4182},{"class":241,"line":847},[4183],{"type":41,"tag":239,"props":4184,"children":4185},{"style":1258},[4186],{"type":46,"value":4187},"\u002F\u002F → { positive: 120, negative: 45, neutral: 35 }\n",{"type":41,"tag":72,"props":4189,"children":4191},{"id":4190},"chaining-passes",[4192],{"type":46,"value":4193},"Chaining passes",{"type":41,"tag":49,"props":4195,"children":4196},{},[4197,4202],{"type":41,"tag":55,"props":4198,"children":4200},{"className":4199},[],[4201],{"type":46,"value":68},{"type":46,"value":4203}," updates the table in place — chain calls to accumulate columns.",{"type":41,"tag":228,"props":4205,"children":4207},{"className":230,"code":4206,"language":232,"meta":233,"style":233},"const { create, run } = await import(\"@\u002Fskills\u002Fswarm\");\nconst table = await create({ tasks: interviews });\nawait run(table.id, {\n  instruction: \"Classify sentiment of {text}\",\n  responseSchema: {\n    type: \"object\",\n    properties: { sentiment: { type: \"string\", enum: [\"positive\", \"negative\", \"neutral\"] } },\n    required: [\"sentiment\"],\n  },\n});\nawait run(table.id, {\n  filter: { column: \"sentiment\", equals: \"negative\" },\n  instruction: \"Summarize why {text} had negative sentiment.\",\n  responseSchema: {\n    type: \"object\",\n    properties: { summary: { type: \"string\" } },\n    required: [\"summary\"],\n  },\n});\n",[4208],{"type":41,"tag":55,"props":4209,"children":4210},{"__ignoreMap":233},[4211,4274,4330,4361,4389,4404,4431,4551,4586,4593,4608,4639,4705,4733,4748,4775,4832,4869,4877],{"type":41,"tag":239,"props":4212,"children":4213},{"class":241,"line":242},[4214,4218,4222,4226,4230,4234,4238,4242,4246,4250,4254,4258,4262,4266,4270],{"type":41,"tag":239,"props":4215,"children":4216},{"style":246},[4217],{"type":46,"value":249},{"type":41,"tag":239,"props":4219,"children":4220},{"style":252},[4221],{"type":46,"value":255},{"type":41,"tag":239,"props":4223,"children":4224},{"style":258},[4225],{"type":46,"value":535},{"type":41,"tag":239,"props":4227,"children":4228},{"style":252},[4229],{"type":46,"value":809},{"type":41,"tag":239,"props":4231,"children":4232},{"style":258},[4233],{"type":46,"value":1549},{"type":41,"tag":239,"props":4235,"children":4236},{"style":252},[4237],{"type":46,"value":266},{"type":41,"tag":239,"props":4239,"children":4240},{"style":252},[4241],{"type":46,"value":271},{"type":41,"tag":239,"props":4243,"children":4244},{"style":274},[4245],{"type":46,"value":277},{"type":41,"tag":239,"props":4247,"children":4248},{"style":252},[4249],{"type":46,"value":282},{"type":41,"tag":239,"props":4251,"children":4252},{"style":258},[4253],{"type":46,"value":287},{"type":41,"tag":239,"props":4255,"children":4256},{"style":252},[4257],{"type":46,"value":292},{"type":41,"tag":239,"props":4259,"children":4260},{"style":295},[4261],{"type":46,"value":298},{"type":41,"tag":239,"props":4263,"children":4264},{"style":252},[4265],{"type":46,"value":292},{"type":41,"tag":239,"props":4267,"children":4268},{"style":258},[4269],{"type":46,"value":307},{"type":41,"tag":239,"props":4271,"children":4272},{"style":252},[4273],{"type":46,"value":312},{"type":41,"tag":239,"props":4275,"children":4276},{"class":241,"line":315},[4277,4281,4285,4289,4293,4297,4301,4305,4309,4313,4318,4322,4326],{"type":41,"tag":239,"props":4278,"children":4279},{"style":246},[4280],{"type":46,"value":249},{"type":41,"tag":239,"props":4282,"children":4283},{"style":258},[4284],{"type":46,"value":522},{"type":41,"tag":239,"props":4286,"children":4287},{"style":252},[4288],{"type":46,"value":330},{"type":41,"tag":239,"props":4290,"children":4291},{"style":274},[4292],{"type":46,"value":277},{"type":41,"tag":239,"props":4294,"children":4295},{"style":346},[4296],{"type":46,"value":535},{"type":41,"tag":239,"props":4298,"children":4299},{"style":258},[4300],{"type":46,"value":287},{"type":41,"tag":239,"props":4302,"children":4303},{"style":252},[4304],{"type":46,"value":358},{"type":41,"tag":239,"props":4306,"children":4307},{"style":361},[4308],{"type":46,"value":548},{"type":41,"tag":239,"props":4310,"children":4311},{"style":252},[4312],{"type":46,"value":369},{"type":41,"tag":239,"props":4314,"children":4315},{"style":258},[4316],{"type":46,"value":4317}," interviews ",{"type":41,"tag":239,"props":4319,"children":4320},{"style":252},[4321],{"type":46,"value":266},{"type":41,"tag":239,"props":4323,"children":4324},{"style":258},[4325],{"type":46,"value":307},{"type":41,"tag":239,"props":4327,"children":4328},{"style":252},[4329],{"type":46,"value":312},{"type":41,"tag":239,"props":4331,"children":4332},{"class":241,"line":399},[4333,4337,4341,4345,4349,4353,4357],{"type":41,"tag":239,"props":4334,"children":4335},{"style":274},[4336],{"type":46,"value":2001},{"type":41,"tag":239,"props":4338,"children":4339},{"style":346},[4340],{"type":46,"value":1678},{"type":41,"tag":239,"props":4342,"children":4343},{"style":258},[4344],{"type":46,"value":1683},{"type":41,"tag":239,"props":4346,"children":4347},{"style":252},[4348],{"type":46,"value":119},{"type":41,"tag":239,"props":4350,"children":4351},{"style":258},[4352],{"type":46,"value":1692},{"type":41,"tag":239,"props":4354,"children":4355},{"style":252},[4356],{"type":46,"value":809},{"type":41,"tag":239,"props":4358,"children":4359},{"style":252},[4360],{"type":46,"value":1701},{"type":41,"tag":239,"props":4362,"children":4363},{"class":241,"line":512},[4364,4368,4372,4376,4381,4385],{"type":41,"tag":239,"props":4365,"children":4366},{"style":361},[4367],{"type":46,"value":1709},{"type":41,"tag":239,"props":4369,"children":4370},{"style":252},[4371],{"type":46,"value":369},{"type":41,"tag":239,"props":4373,"children":4374},{"style":252},[4375],{"type":46,"value":374},{"type":41,"tag":239,"props":4377,"children":4378},{"style":295},[4379],{"type":46,"value":4380},"Classify sentiment of {text}",{"type":41,"tag":239,"props":4382,"children":4383},{"style":252},[4384],{"type":46,"value":292},{"type":41,"tag":239,"props":4386,"children":4387},{"style":252},[4388],{"type":46,"value":1731},{"type":41,"tag":239,"props":4390,"children":4391},{"class":241,"line":571},[4392,4396,4400],{"type":41,"tag":239,"props":4393,"children":4394},{"style":361},[4395],{"type":46,"value":1739},{"type":41,"tag":239,"props":4397,"children":4398},{"style":252},[4399],{"type":46,"value":369},{"type":41,"tag":239,"props":4401,"children":4402},{"style":252},[4403],{"type":46,"value":1701},{"type":41,"tag":239,"props":4405,"children":4406},{"class":241,"line":847},[4407,4411,4415,4419,4423,4427],{"type":41,"tag":239,"props":4408,"children":4409},{"style":361},[4410],{"type":46,"value":1755},{"type":41,"tag":239,"props":4412,"children":4413},{"style":252},[4414],{"type":46,"value":369},{"type":41,"tag":239,"props":4416,"children":4417},{"style":252},[4418],{"type":46,"value":374},{"type":41,"tag":239,"props":4420,"children":4421},{"style":295},[4422],{"type":46,"value":1768},{"type":41,"tag":239,"props":4424,"children":4425},{"style":252},[4426],{"type":46,"value":292},{"type":41,"tag":239,"props":4428,"children":4429},{"style":252},[4430],{"type":46,"value":1731},{"type":41,"tag":239,"props":4432,"children":4433},{"class":241,"line":939},[4434,4438,4442,4446,4451,4455,4459,4463,4467,4471,4475,4479,4483,4487,4491,4495,4499,4503,4507,4511,4515,4519,4523,4527,4531,4535,4539,4543,4547],{"type":41,"tag":239,"props":4435,"children":4436},{"style":361},[4437],{"type":46,"value":1784},{"type":41,"tag":239,"props":4439,"children":4440},{"style":252},[4441],{"type":46,"value":369},{"type":41,"tag":239,"props":4443,"children":4444},{"style":252},[4445],{"type":46,"value":255},{"type":41,"tag":239,"props":4447,"children":4448},{"style":361},[4449],{"type":46,"value":4450}," sentiment",{"type":41,"tag":239,"props":4452,"children":4453},{"style":252},[4454],{"type":46,"value":369},{"type":41,"tag":239,"props":4456,"children":4457},{"style":252},[4458],{"type":46,"value":255},{"type":41,"tag":239,"props":4460,"children":4461},{"style":361},[4462],{"type":46,"value":1810},{"type":41,"tag":239,"props":4464,"children":4465},{"style":252},[4466],{"type":46,"value":369},{"type":41,"tag":239,"props":4468,"children":4469},{"style":252},[4470],{"type":46,"value":374},{"type":41,"tag":239,"props":4472,"children":4473},{"style":295},[4474],{"type":46,"value":1823},{"type":41,"tag":239,"props":4476,"children":4477},{"style":252},[4478],{"type":46,"value":292},{"type":41,"tag":239,"props":4480,"children":4481},{"style":252},[4482],{"type":46,"value":809},{"type":41,"tag":239,"props":4484,"children":4485},{"style":361},[4486],{"type":46,"value":3176},{"type":41,"tag":239,"props":4488,"children":4489},{"style":252},[4490],{"type":46,"value":369},{"type":41,"tag":239,"props":4492,"children":4493},{"style":258},[4494],{"type":46,"value":1853},{"type":41,"tag":239,"props":4496,"children":4497},{"style":252},[4498],{"type":46,"value":292},{"type":41,"tag":239,"props":4500,"children":4501},{"style":295},[4502],{"type":46,"value":3193},{"type":41,"tag":239,"props":4504,"children":4505},{"style":252},[4506],{"type":46,"value":292},{"type":41,"tag":239,"props":4508,"children":4509},{"style":252},[4510],{"type":46,"value":809},{"type":41,"tag":239,"props":4512,"children":4513},{"style":252},[4514],{"type":46,"value":374},{"type":41,"tag":239,"props":4516,"children":4517},{"style":295},[4518],{"type":46,"value":3210},{"type":41,"tag":239,"props":4520,"children":4521},{"style":252},[4522],{"type":46,"value":292},{"type":41,"tag":239,"props":4524,"children":4525},{"style":252},[4526],{"type":46,"value":809},{"type":41,"tag":239,"props":4528,"children":4529},{"style":252},[4530],{"type":46,"value":374},{"type":41,"tag":239,"props":4532,"children":4533},{"style":295},[4534],{"type":46,"value":3227},{"type":41,"tag":239,"props":4536,"children":4537},{"style":252},[4538],{"type":46,"value":292},{"type":41,"tag":239,"props":4540,"children":4541},{"style":258},[4542],{"type":46,"value":2175},{"type":41,"tag":239,"props":4544,"children":4545},{"style":252},[4546],{"type":46,"value":266},{"type":41,"tag":239,"props":4548,"children":4549},{"style":252},[4550],{"type":46,"value":1836},{"type":41,"tag":239,"props":4552,"children":4553},{"class":241,"line":1077},[4554,4558,4562,4566,4570,4574,4578,4582],{"type":41,"tag":239,"props":4555,"children":4556},{"style":361},[4557],{"type":46,"value":1844},{"type":41,"tag":239,"props":4559,"children":4560},{"style":252},[4561],{"type":46,"value":369},{"type":41,"tag":239,"props":4563,"children":4564},{"style":258},[4565],{"type":46,"value":1853},{"type":41,"tag":239,"props":4567,"children":4568},{"style":252},[4569],{"type":46,"value":292},{"type":41,"tag":239,"props":4571,"children":4572},{"style":295},[4573],{"type":46,"value":3271},{"type":41,"tag":239,"props":4575,"children":4576},{"style":252},[4577],{"type":46,"value":292},{"type":41,"tag":239,"props":4579,"children":4580},{"style":258},[4581],{"type":46,"value":1871},{"type":41,"tag":239,"props":4583,"children":4584},{"style":252},[4585],{"type":46,"value":1731},{"type":41,"tag":239,"props":4587,"children":4588},{"class":241,"line":1125},[4589],{"type":41,"tag":239,"props":4590,"children":4591},{"style":252},[4592],{"type":46,"value":1883},{"type":41,"tag":239,"props":4594,"children":4595},{"class":241,"line":1147},[4596,4600,4604],{"type":41,"tag":239,"props":4597,"children":4598},{"style":252},[4599],{"type":46,"value":266},{"type":41,"tag":239,"props":4601,"children":4602},{"style":258},[4603],{"type":46,"value":307},{"type":41,"tag":239,"props":4605,"children":4606},{"style":252},[4607],{"type":46,"value":312},{"type":41,"tag":239,"props":4609,"children":4610},{"class":241,"line":1156},[4611,4615,4619,4623,4627,4631,4635],{"type":41,"tag":239,"props":4612,"children":4613},{"style":274},[4614],{"type":46,"value":2001},{"type":41,"tag":239,"props":4616,"children":4617},{"style":346},[4618],{"type":46,"value":1678},{"type":41,"tag":239,"props":4620,"children":4621},{"style":258},[4622],{"type":46,"value":1683},{"type":41,"tag":239,"props":4624,"children":4625},{"style":252},[4626],{"type":46,"value":119},{"type":41,"tag":239,"props":4628,"children":4629},{"style":258},[4630],{"type":46,"value":1692},{"type":41,"tag":239,"props":4632,"children":4633},{"style":252},[4634],{"type":46,"value":809},{"type":41,"tag":239,"props":4636,"children":4637},{"style":252},[4638],{"type":46,"value":1701},{"type":41,"tag":239,"props":4640,"children":4641},{"class":241,"line":1212},[4642,4647,4651,4655,4660,4664,4668,4672,4676,4680,4685,4689,4693,4697,4701],{"type":41,"tag":239,"props":4643,"children":4644},{"style":361},[4645],{"type":46,"value":4646},"  filter",{"type":41,"tag":239,"props":4648,"children":4649},{"style":252},[4650],{"type":46,"value":369},{"type":41,"tag":239,"props":4652,"children":4653},{"style":252},[4654],{"type":46,"value":255},{"type":41,"tag":239,"props":4656,"children":4657},{"style":361},[4658],{"type":46,"value":4659}," column",{"type":41,"tag":239,"props":4661,"children":4662},{"style":252},[4663],{"type":46,"value":369},{"type":41,"tag":239,"props":4665,"children":4666},{"style":252},[4667],{"type":46,"value":374},{"type":41,"tag":239,"props":4669,"children":4670},{"style":295},[4671],{"type":46,"value":3271},{"type":41,"tag":239,"props":4673,"children":4674},{"style":252},[4675],{"type":46,"value":292},{"type":41,"tag":239,"props":4677,"children":4678},{"style":252},[4679],{"type":46,"value":809},{"type":41,"tag":239,"props":4681,"children":4682},{"style":361},[4683],{"type":46,"value":4684}," equals",{"type":41,"tag":239,"props":4686,"children":4687},{"style":252},[4688],{"type":46,"value":369},{"type":41,"tag":239,"props":4690,"children":4691},{"style":252},[4692],{"type":46,"value":374},{"type":41,"tag":239,"props":4694,"children":4695},{"style":295},[4696],{"type":46,"value":3210},{"type":41,"tag":239,"props":4698,"children":4699},{"style":252},[4700],{"type":46,"value":292},{"type":41,"tag":239,"props":4702,"children":4703},{"style":252},[4704],{"type":46,"value":1836},{"type":41,"tag":239,"props":4706,"children":4707},{"class":241,"line":2889},[4708,4712,4716,4720,4725,4729],{"type":41,"tag":239,"props":4709,"children":4710},{"style":361},[4711],{"type":46,"value":1709},{"type":41,"tag":239,"props":4713,"children":4714},{"style":252},[4715],{"type":46,"value":369},{"type":41,"tag":239,"props":4717,"children":4718},{"style":252},[4719],{"type":46,"value":374},{"type":41,"tag":239,"props":4721,"children":4722},{"style":295},[4723],{"type":46,"value":4724},"Summarize why {text} had negative sentiment.",{"type":41,"tag":239,"props":4726,"children":4727},{"style":252},[4728],{"type":46,"value":292},{"type":41,"tag":239,"props":4730,"children":4731},{"style":252},[4732],{"type":46,"value":1731},{"type":41,"tag":239,"props":4734,"children":4735},{"class":241,"line":2905},[4736,4740,4744],{"type":41,"tag":239,"props":4737,"children":4738},{"style":361},[4739],{"type":46,"value":1739},{"type":41,"tag":239,"props":4741,"children":4742},{"style":252},[4743],{"type":46,"value":369},{"type":41,"tag":239,"props":4745,"children":4746},{"style":252},[4747],{"type":46,"value":1701},{"type":41,"tag":239,"props":4749,"children":4750},{"class":241,"line":2930},[4751,4755,4759,4763,4767,4771],{"type":41,"tag":239,"props":4752,"children":4753},{"style":361},[4754],{"type":46,"value":1755},{"type":41,"tag":239,"props":4756,"children":4757},{"style":252},[4758],{"type":46,"value":369},{"type":41,"tag":239,"props":4760,"children":4761},{"style":252},[4762],{"type":46,"value":374},{"type":41,"tag":239,"props":4764,"children":4765},{"style":295},[4766],{"type":46,"value":1768},{"type":41,"tag":239,"props":4768,"children":4769},{"style":252},[4770],{"type":46,"value":292},{"type":41,"tag":239,"props":4772,"children":4773},{"style":252},[4774],{"type":46,"value":1731},{"type":41,"tag":239,"props":4776,"children":4778},{"class":241,"line":4777},16,[4779,4783,4787,4791,4796,4800,4804,4808,4812,4816,4820,4824,4828],{"type":41,"tag":239,"props":4780,"children":4781},{"style":361},[4782],{"type":46,"value":1784},{"type":41,"tag":239,"props":4784,"children":4785},{"style":252},[4786],{"type":46,"value":369},{"type":41,"tag":239,"props":4788,"children":4789},{"style":252},[4790],{"type":46,"value":255},{"type":41,"tag":239,"props":4792,"children":4793},{"style":361},[4794],{"type":46,"value":4795}," summary",{"type":41,"tag":239,"props":4797,"children":4798},{"style":252},[4799],{"type":46,"value":369},{"type":41,"tag":239,"props":4801,"children":4802},{"style":252},[4803],{"type":46,"value":255},{"type":41,"tag":239,"props":4805,"children":4806},{"style":361},[4807],{"type":46,"value":1810},{"type":41,"tag":239,"props":4809,"children":4810},{"style":252},[4811],{"type":46,"value":369},{"type":41,"tag":239,"props":4813,"children":4814},{"style":252},[4815],{"type":46,"value":374},{"type":41,"tag":239,"props":4817,"children":4818},{"style":295},[4819],{"type":46,"value":1823},{"type":41,"tag":239,"props":4821,"children":4822},{"style":252},[4823],{"type":46,"value":292},{"type":41,"tag":239,"props":4825,"children":4826},{"style":252},[4827],{"type":46,"value":388},{"type":41,"tag":239,"props":4829,"children":4830},{"style":252},[4831],{"type":46,"value":1836},{"type":41,"tag":239,"props":4833,"children":4835},{"class":241,"line":4834},17,[4836,4840,4844,4848,4852,4857,4861,4865],{"type":41,"tag":239,"props":4837,"children":4838},{"style":361},[4839],{"type":46,"value":1844},{"type":41,"tag":239,"props":4841,"children":4842},{"style":252},[4843],{"type":46,"value":369},{"type":41,"tag":239,"props":4845,"children":4846},{"style":258},[4847],{"type":46,"value":1853},{"type":41,"tag":239,"props":4849,"children":4850},{"style":252},[4851],{"type":46,"value":292},{"type":41,"tag":239,"props":4853,"children":4854},{"style":295},[4855],{"type":46,"value":4856},"summary",{"type":41,"tag":239,"props":4858,"children":4859},{"style":252},[4860],{"type":46,"value":292},{"type":41,"tag":239,"props":4862,"children":4863},{"style":258},[4864],{"type":46,"value":1871},{"type":41,"tag":239,"props":4866,"children":4867},{"style":252},[4868],{"type":46,"value":1731},{"type":41,"tag":239,"props":4870,"children":4872},{"class":241,"line":4871},18,[4873],{"type":41,"tag":239,"props":4874,"children":4875},{"style":252},[4876],{"type":46,"value":1883},{"type":41,"tag":239,"props":4878,"children":4880},{"class":241,"line":4879},19,[4881,4885,4889],{"type":41,"tag":239,"props":4882,"children":4883},{"style":252},[4884],{"type":46,"value":266},{"type":41,"tag":239,"props":4886,"children":4887},{"style":258},[4888],{"type":46,"value":307},{"type":41,"tag":239,"props":4890,"children":4891},{"style":252},[4892],{"type":46,"value":312},{"type":41,"tag":72,"props":4894,"children":4896},{"id":4895},"action-only-tasks",[4897],{"type":46,"value":4898},"Action-only tasks",{"type":41,"tag":49,"props":4900,"children":4901},{},[4902,4904,4910],{"type":46,"value":4903},"When subagents perform actions (write a file, apply a fix) rather than return\ndata, use a simple schema with a status or marker field. The ",{"type":41,"tag":55,"props":4905,"children":4907},{"className":4906},[],[4908],{"type":46,"value":4909},"exists: false",{"type":46,"value":4911},"\nfilter still works for retries.",{"type":41,"tag":228,"props":4913,"children":4915},{"className":230,"code":4914,"language":232,"meta":233,"style":233},"const { create, run } = await import(\"@\u002Fskills\u002Fswarm\");\nconst fixedSchema = {\n  type: \"object\",\n  properties: { fixed: { type: \"string\" } },\n  required: [\"fixed\"],\n};\nconst table = await create({ glob: \"src\u002F**\u002F*.ts\" });\nawait run(table.id, {\n  subagentType: \"fixer\",\n  instruction: \"Add missing JSDoc to all exported functions in {file}.\",\n  responseSchema: fixedSchema,\n});\n\u002F\u002F retry any that failed\nawait run(table.id, {\n  subagentType: \"fixer\",\n  instruction: \"Add missing JSDoc to all exported functions in {file}.\",\n  responseSchema: fixedSchema,\n  filter: { column: \"fixed\", exists: false },\n});\n",[4916],{"type":41,"tag":55,"props":4917,"children":4918},{"__ignoreMap":233},[4919,4982,5002,5030,5087,5124,5132,5195,5226,5254,5282,5302,5317,5325,5356,5383,5410,5429,5486],{"type":41,"tag":239,"props":4920,"children":4921},{"class":241,"line":242},[4922,4926,4930,4934,4938,4942,4946,4950,4954,4958,4962,4966,4970,4974,4978],{"type":41,"tag":239,"props":4923,"children":4924},{"style":246},[4925],{"type":46,"value":249},{"type":41,"tag":239,"props":4927,"children":4928},{"style":252},[4929],{"type":46,"value":255},{"type":41,"tag":239,"props":4931,"children":4932},{"style":258},[4933],{"type":46,"value":535},{"type":41,"tag":239,"props":4935,"children":4936},{"style":252},[4937],{"type":46,"value":809},{"type":41,"tag":239,"props":4939,"children":4940},{"style":258},[4941],{"type":46,"value":1549},{"type":41,"tag":239,"props":4943,"children":4944},{"style":252},[4945],{"type":46,"value":266},{"type":41,"tag":239,"props":4947,"children":4948},{"style":252},[4949],{"type":46,"value":271},{"type":41,"tag":239,"props":4951,"children":4952},{"style":274},[4953],{"type":46,"value":277},{"type":41,"tag":239,"props":4955,"children":4956},{"style":252},[4957],{"type":46,"value":282},{"type":41,"tag":239,"props":4959,"children":4960},{"style":258},[4961],{"type":46,"value":287},{"type":41,"tag":239,"props":4963,"children":4964},{"style":252},[4965],{"type":46,"value":292},{"type":41,"tag":239,"props":4967,"children":4968},{"style":295},[4969],{"type":46,"value":298},{"type":41,"tag":239,"props":4971,"children":4972},{"style":252},[4973],{"type":46,"value":292},{"type":41,"tag":239,"props":4975,"children":4976},{"style":258},[4977],{"type":46,"value":307},{"type":41,"tag":239,"props":4979,"children":4980},{"style":252},[4981],{"type":46,"value":312},{"type":41,"tag":239,"props":4983,"children":4984},{"class":241,"line":315},[4985,4989,4994,4998],{"type":41,"tag":239,"props":4986,"children":4987},{"style":246},[4988],{"type":46,"value":249},{"type":41,"tag":239,"props":4990,"children":4991},{"style":258},[4992],{"type":46,"value":4993}," fixedSchema ",{"type":41,"tag":239,"props":4995,"children":4996},{"style":252},[4997],{"type":46,"value":330},{"type":41,"tag":239,"props":4999,"children":5000},{"style":252},[5001],{"type":46,"value":1701},{"type":41,"tag":239,"props":5003,"children":5004},{"class":241,"line":399},[5005,5010,5014,5018,5022,5026],{"type":41,"tag":239,"props":5006,"children":5007},{"style":361},[5008],{"type":46,"value":5009},"  type",{"type":41,"tag":239,"props":5011,"children":5012},{"style":252},[5013],{"type":46,"value":369},{"type":41,"tag":239,"props":5015,"children":5016},{"style":252},[5017],{"type":46,"value":374},{"type":41,"tag":239,"props":5019,"children":5020},{"style":295},[5021],{"type":46,"value":1768},{"type":41,"tag":239,"props":5023,"children":5024},{"style":252},[5025],{"type":46,"value":292},{"type":41,"tag":239,"props":5027,"children":5028},{"style":252},[5029],{"type":46,"value":1731},{"type":41,"tag":239,"props":5031,"children":5032},{"class":241,"line":512},[5033,5038,5042,5046,5051,5055,5059,5063,5067,5071,5075,5079,5083],{"type":41,"tag":239,"props":5034,"children":5035},{"style":361},[5036],{"type":46,"value":5037},"  properties",{"type":41,"tag":239,"props":5039,"children":5040},{"style":252},[5041],{"type":46,"value":369},{"type":41,"tag":239,"props":5043,"children":5044},{"style":252},[5045],{"type":46,"value":255},{"type":41,"tag":239,"props":5047,"children":5048},{"style":361},[5049],{"type":46,"value":5050}," fixed",{"type":41,"tag":239,"props":5052,"children":5053},{"style":252},[5054],{"type":46,"value":369},{"type":41,"tag":239,"props":5056,"children":5057},{"style":252},[5058],{"type":46,"value":255},{"type":41,"tag":239,"props":5060,"children":5061},{"style":361},[5062],{"type":46,"value":1810},{"type":41,"tag":239,"props":5064,"children":5065},{"style":252},[5066],{"type":46,"value":369},{"type":41,"tag":239,"props":5068,"children":5069},{"style":252},[5070],{"type":46,"value":374},{"type":41,"tag":239,"props":5072,"children":5073},{"style":295},[5074],{"type":46,"value":1823},{"type":41,"tag":239,"props":5076,"children":5077},{"style":252},[5078],{"type":46,"value":292},{"type":41,"tag":239,"props":5080,"children":5081},{"style":252},[5082],{"type":46,"value":388},{"type":41,"tag":239,"props":5084,"children":5085},{"style":252},[5086],{"type":46,"value":1836},{"type":41,"tag":239,"props":5088,"children":5089},{"class":241,"line":571},[5090,5095,5099,5103,5107,5112,5116,5120],{"type":41,"tag":239,"props":5091,"children":5092},{"style":361},[5093],{"type":46,"value":5094},"  required",{"type":41,"tag":239,"props":5096,"children":5097},{"style":252},[5098],{"type":46,"value":369},{"type":41,"tag":239,"props":5100,"children":5101},{"style":258},[5102],{"type":46,"value":1853},{"type":41,"tag":239,"props":5104,"children":5105},{"style":252},[5106],{"type":46,"value":292},{"type":41,"tag":239,"props":5108,"children":5109},{"style":295},[5110],{"type":46,"value":5111},"fixed",{"type":41,"tag":239,"props":5113,"children":5114},{"style":252},[5115],{"type":46,"value":292},{"type":41,"tag":239,"props":5117,"children":5118},{"style":258},[5119],{"type":46,"value":1871},{"type":41,"tag":239,"props":5121,"children":5122},{"style":252},[5123],{"type":46,"value":1731},{"type":41,"tag":239,"props":5125,"children":5126},{"class":241,"line":847},[5127],{"type":41,"tag":239,"props":5128,"children":5129},{"style":252},[5130],{"type":46,"value":5131},"};\n",{"type":41,"tag":239,"props":5133,"children":5134},{"class":241,"line":939},[5135,5139,5143,5147,5151,5155,5159,5163,5167,5171,5175,5179,5183,5187,5191],{"type":41,"tag":239,"props":5136,"children":5137},{"style":246},[5138],{"type":46,"value":249},{"type":41,"tag":239,"props":5140,"children":5141},{"style":258},[5142],{"type":46,"value":522},{"type":41,"tag":239,"props":5144,"children":5145},{"style":252},[5146],{"type":46,"value":330},{"type":41,"tag":239,"props":5148,"children":5149},{"style":274},[5150],{"type":46,"value":277},{"type":41,"tag":239,"props":5152,"children":5153},{"style":346},[5154],{"type":46,"value":535},{"type":41,"tag":239,"props":5156,"children":5157},{"style":258},[5158],{"type":46,"value":287},{"type":41,"tag":239,"props":5160,"children":5161},{"style":252},[5162],{"type":46,"value":358},{"type":41,"tag":239,"props":5164,"children":5165},{"style":361},[5166],{"type":46,"value":2588},{"type":41,"tag":239,"props":5168,"children":5169},{"style":252},[5170],{"type":46,"value":369},{"type":41,"tag":239,"props":5172,"children":5173},{"style":252},[5174],{"type":46,"value":374},{"type":41,"tag":239,"props":5176,"children":5177},{"style":295},[5178],{"type":46,"value":2601},{"type":41,"tag":239,"props":5180,"children":5181},{"style":252},[5182],{"type":46,"value":292},{"type":41,"tag":239,"props":5184,"children":5185},{"style":252},[5186],{"type":46,"value":388},{"type":41,"tag":239,"props":5188,"children":5189},{"style":258},[5190],{"type":46,"value":307},{"type":41,"tag":239,"props":5192,"children":5193},{"style":252},[5194],{"type":46,"value":312},{"type":41,"tag":239,"props":5196,"children":5197},{"class":241,"line":1077},[5198,5202,5206,5210,5214,5218,5222],{"type":41,"tag":239,"props":5199,"children":5200},{"style":274},[5201],{"type":46,"value":2001},{"type":41,"tag":239,"props":5203,"children":5204},{"style":346},[5205],{"type":46,"value":1678},{"type":41,"tag":239,"props":5207,"children":5208},{"style":258},[5209],{"type":46,"value":1683},{"type":41,"tag":239,"props":5211,"children":5212},{"style":252},[5213],{"type":46,"value":119},{"type":41,"tag":239,"props":5215,"children":5216},{"style":258},[5217],{"type":46,"value":1692},{"type":41,"tag":239,"props":5219,"children":5220},{"style":252},[5221],{"type":46,"value":809},{"type":41,"tag":239,"props":5223,"children":5224},{"style":252},[5225],{"type":46,"value":1701},{"type":41,"tag":239,"props":5227,"children":5228},{"class":241,"line":1125},[5229,5233,5237,5241,5246,5250],{"type":41,"tag":239,"props":5230,"children":5231},{"style":361},[5232],{"type":46,"value":2251},{"type":41,"tag":239,"props":5234,"children":5235},{"style":252},[5236],{"type":46,"value":369},{"type":41,"tag":239,"props":5238,"children":5239},{"style":252},[5240],{"type":46,"value":374},{"type":41,"tag":239,"props":5242,"children":5243},{"style":295},[5244],{"type":46,"value":5245},"fixer",{"type":41,"tag":239,"props":5247,"children":5248},{"style":252},[5249],{"type":46,"value":292},{"type":41,"tag":239,"props":5251,"children":5252},{"style":252},[5253],{"type":46,"value":1731},{"type":41,"tag":239,"props":5255,"children":5256},{"class":241,"line":1147},[5257,5261,5265,5269,5274,5278],{"type":41,"tag":239,"props":5258,"children":5259},{"style":361},[5260],{"type":46,"value":1709},{"type":41,"tag":239,"props":5262,"children":5263},{"style":252},[5264],{"type":46,"value":369},{"type":41,"tag":239,"props":5266,"children":5267},{"style":252},[5268],{"type":46,"value":374},{"type":41,"tag":239,"props":5270,"children":5271},{"style":295},[5272],{"type":46,"value":5273},"Add missing JSDoc to all exported functions in {file}.",{"type":41,"tag":239,"props":5275,"children":5276},{"style":252},[5277],{"type":46,"value":292},{"type":41,"tag":239,"props":5279,"children":5280},{"style":252},[5281],{"type":46,"value":1731},{"type":41,"tag":239,"props":5283,"children":5284},{"class":241,"line":1156},[5285,5289,5293,5298],{"type":41,"tag":239,"props":5286,"children":5287},{"style":361},[5288],{"type":46,"value":1739},{"type":41,"tag":239,"props":5290,"children":5291},{"style":252},[5292],{"type":46,"value":369},{"type":41,"tag":239,"props":5294,"children":5295},{"style":258},[5296],{"type":46,"value":5297}," fixedSchema",{"type":41,"tag":239,"props":5299,"children":5300},{"style":252},[5301],{"type":46,"value":1731},{"type":41,"tag":239,"props":5303,"children":5304},{"class":241,"line":1212},[5305,5309,5313],{"type":41,"tag":239,"props":5306,"children":5307},{"style":252},[5308],{"type":46,"value":266},{"type":41,"tag":239,"props":5310,"children":5311},{"style":258},[5312],{"type":46,"value":307},{"type":41,"tag":239,"props":5314,"children":5315},{"style":252},[5316],{"type":46,"value":312},{"type":41,"tag":239,"props":5318,"children":5319},{"class":241,"line":2889},[5320],{"type":41,"tag":239,"props":5321,"children":5322},{"style":1258},[5323],{"type":46,"value":5324},"\u002F\u002F retry any that failed\n",{"type":41,"tag":239,"props":5326,"children":5327},{"class":241,"line":2905},[5328,5332,5336,5340,5344,5348,5352],{"type":41,"tag":239,"props":5329,"children":5330},{"style":274},[5331],{"type":46,"value":2001},{"type":41,"tag":239,"props":5333,"children":5334},{"style":346},[5335],{"type":46,"value":1678},{"type":41,"tag":239,"props":5337,"children":5338},{"style":258},[5339],{"type":46,"value":1683},{"type":41,"tag":239,"props":5341,"children":5342},{"style":252},[5343],{"type":46,"value":119},{"type":41,"tag":239,"props":5345,"children":5346},{"style":258},[5347],{"type":46,"value":1692},{"type":41,"tag":239,"props":5349,"children":5350},{"style":252},[5351],{"type":46,"value":809},{"type":41,"tag":239,"props":5353,"children":5354},{"style":252},[5355],{"type":46,"value":1701},{"type":41,"tag":239,"props":5357,"children":5358},{"class":241,"line":2930},[5359,5363,5367,5371,5375,5379],{"type":41,"tag":239,"props":5360,"children":5361},{"style":361},[5362],{"type":46,"value":2251},{"type":41,"tag":239,"props":5364,"children":5365},{"style":252},[5366],{"type":46,"value":369},{"type":41,"tag":239,"props":5368,"children":5369},{"style":252},[5370],{"type":46,"value":374},{"type":41,"tag":239,"props":5372,"children":5373},{"style":295},[5374],{"type":46,"value":5245},{"type":41,"tag":239,"props":5376,"children":5377},{"style":252},[5378],{"type":46,"value":292},{"type":41,"tag":239,"props":5380,"children":5381},{"style":252},[5382],{"type":46,"value":1731},{"type":41,"tag":239,"props":5384,"children":5385},{"class":241,"line":4777},[5386,5390,5394,5398,5402,5406],{"type":41,"tag":239,"props":5387,"children":5388},{"style":361},[5389],{"type":46,"value":1709},{"type":41,"tag":239,"props":5391,"children":5392},{"style":252},[5393],{"type":46,"value":369},{"type":41,"tag":239,"props":5395,"children":5396},{"style":252},[5397],{"type":46,"value":374},{"type":41,"tag":239,"props":5399,"children":5400},{"style":295},[5401],{"type":46,"value":5273},{"type":41,"tag":239,"props":5403,"children":5404},{"style":252},[5405],{"type":46,"value":292},{"type":41,"tag":239,"props":5407,"children":5408},{"style":252},[5409],{"type":46,"value":1731},{"type":41,"tag":239,"props":5411,"children":5412},{"class":241,"line":4834},[5413,5417,5421,5425],{"type":41,"tag":239,"props":5414,"children":5415},{"style":361},[5416],{"type":46,"value":1739},{"type":41,"tag":239,"props":5418,"children":5419},{"style":252},[5420],{"type":46,"value":369},{"type":41,"tag":239,"props":5422,"children":5423},{"style":258},[5424],{"type":46,"value":5297},{"type":41,"tag":239,"props":5426,"children":5427},{"style":252},[5428],{"type":46,"value":1731},{"type":41,"tag":239,"props":5430,"children":5431},{"class":241,"line":4871},[5432,5436,5440,5444,5448,5452,5456,5460,5464,5468,5473,5477,5482],{"type":41,"tag":239,"props":5433,"children":5434},{"style":361},[5435],{"type":46,"value":4646},{"type":41,"tag":239,"props":5437,"children":5438},{"style":252},[5439],{"type":46,"value":369},{"type":41,"tag":239,"props":5441,"children":5442},{"style":252},[5443],{"type":46,"value":255},{"type":41,"tag":239,"props":5445,"children":5446},{"style":361},[5447],{"type":46,"value":4659},{"type":41,"tag":239,"props":5449,"children":5450},{"style":252},[5451],{"type":46,"value":369},{"type":41,"tag":239,"props":5453,"children":5454},{"style":252},[5455],{"type":46,"value":374},{"type":41,"tag":239,"props":5457,"children":5458},{"style":295},[5459],{"type":46,"value":5111},{"type":41,"tag":239,"props":5461,"children":5462},{"style":252},[5463],{"type":46,"value":292},{"type":41,"tag":239,"props":5465,"children":5466},{"style":252},[5467],{"type":46,"value":809},{"type":41,"tag":239,"props":5469,"children":5470},{"style":361},[5471],{"type":46,"value":5472}," exists",{"type":41,"tag":239,"props":5474,"children":5475},{"style":252},[5476],{"type":46,"value":369},{"type":41,"tag":239,"props":5478,"children":5479},{"style":729},[5480],{"type":46,"value":5481}," false",{"type":41,"tag":239,"props":5483,"children":5484},{"style":252},[5485],{"type":46,"value":1836},{"type":41,"tag":239,"props":5487,"children":5488},{"class":241,"line":4879},[5489,5493,5497],{"type":41,"tag":239,"props":5490,"children":5491},{"style":252},[5492],{"type":46,"value":266},{"type":41,"tag":239,"props":5494,"children":5495},{"style":258},[5496],{"type":46,"value":307},{"type":41,"tag":239,"props":5498,"children":5499},{"style":252},[5500],{"type":46,"value":312},{"type":41,"tag":72,"props":5502,"children":5504},{"id":5503},"filtering",[5505],{"type":46,"value":5506},"Filtering",{"type":41,"tag":228,"props":5508,"children":5510},{"className":230,"code":5509,"language":232,"meta":233,"style":233},"{ column: \"status\", equals: \"done\" }\n{ column: \"status\", notEquals: \"done\" }\n{ column: \"category\", in: [\"A\", \"B\"] }\n{ column: \"result\", exists: false }      \u002F\u002F not yet processed\n{ and: [filter1, filter2] }\n{ or: [filter1, filter2] }\n",[5511],{"type":41,"tag":55,"props":5512,"children":5513},{"__ignoreMap":233},[5514,5572,5628,5711,5764,5806],{"type":41,"tag":239,"props":5515,"children":5516},{"class":241,"line":242},[5517,5521,5526,5530,5534,5539,5543,5547,5551,5555,5559,5564,5568],{"type":41,"tag":239,"props":5518,"children":5519},{"style":252},[5520],{"type":46,"value":358},{"type":41,"tag":239,"props":5522,"children":5524},{"style":5523},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[5525],{"type":46,"value":4659},{"type":41,"tag":239,"props":5527,"children":5528},{"style":252},[5529],{"type":46,"value":369},{"type":41,"tag":239,"props":5531,"children":5532},{"style":252},[5533],{"type":46,"value":374},{"type":41,"tag":239,"props":5535,"children":5536},{"style":295},[5537],{"type":46,"value":5538},"status",{"type":41,"tag":239,"props":5540,"children":5541},{"style":252},[5542],{"type":46,"value":292},{"type":41,"tag":239,"props":5544,"children":5545},{"style":252},[5546],{"type":46,"value":809},{"type":41,"tag":239,"props":5548,"children":5549},{"style":5523},[5550],{"type":46,"value":4684},{"type":41,"tag":239,"props":5552,"children":5553},{"style":252},[5554],{"type":46,"value":369},{"type":41,"tag":239,"props":5556,"children":5557},{"style":252},[5558],{"type":46,"value":374},{"type":41,"tag":239,"props":5560,"children":5561},{"style":295},[5562],{"type":46,"value":5563},"done",{"type":41,"tag":239,"props":5565,"children":5566},{"style":252},[5567],{"type":46,"value":292},{"type":41,"tag":239,"props":5569,"children":5570},{"style":252},[5571],{"type":46,"value":1074},{"type":41,"tag":239,"props":5573,"children":5574},{"class":241,"line":315},[5575,5579,5583,5587,5591,5595,5599,5603,5608,5612,5616,5620,5624],{"type":41,"tag":239,"props":5576,"children":5577},{"style":252},[5578],{"type":46,"value":358},{"type":41,"tag":239,"props":5580,"children":5581},{"style":5523},[5582],{"type":46,"value":4659},{"type":41,"tag":239,"props":5584,"children":5585},{"style":252},[5586],{"type":46,"value":369},{"type":41,"tag":239,"props":5588,"children":5589},{"style":252},[5590],{"type":46,"value":374},{"type":41,"tag":239,"props":5592,"children":5593},{"style":295},[5594],{"type":46,"value":5538},{"type":41,"tag":239,"props":5596,"children":5597},{"style":252},[5598],{"type":46,"value":292},{"type":41,"tag":239,"props":5600,"children":5601},{"style":252},[5602],{"type":46,"value":809},{"type":41,"tag":239,"props":5604,"children":5605},{"style":5523},[5606],{"type":46,"value":5607}," notEquals",{"type":41,"tag":239,"props":5609,"children":5610},{"style":252},[5611],{"type":46,"value":369},{"type":41,"tag":239,"props":5613,"children":5614},{"style":252},[5615],{"type":46,"value":374},{"type":41,"tag":239,"props":5617,"children":5618},{"style":295},[5619],{"type":46,"value":5563},{"type":41,"tag":239,"props":5621,"children":5622},{"style":252},[5623],{"type":46,"value":292},{"type":41,"tag":239,"props":5625,"children":5626},{"style":252},[5627],{"type":46,"value":1074},{"type":41,"tag":239,"props":5629,"children":5630},{"class":241,"line":399},[5631,5635,5639,5643,5647,5652,5656,5660,5665,5669,5673,5677,5682,5686,5690,5694,5699,5703,5707],{"type":41,"tag":239,"props":5632,"children":5633},{"style":252},[5634],{"type":46,"value":358},{"type":41,"tag":239,"props":5636,"children":5637},{"style":5523},[5638],{"type":46,"value":4659},{"type":41,"tag":239,"props":5640,"children":5641},{"style":252},[5642],{"type":46,"value":369},{"type":41,"tag":239,"props":5644,"children":5645},{"style":252},[5646],{"type":46,"value":374},{"type":41,"tag":239,"props":5648,"children":5649},{"style":295},[5650],{"type":46,"value":5651},"category",{"type":41,"tag":239,"props":5653,"children":5654},{"style":252},[5655],{"type":46,"value":292},{"type":41,"tag":239,"props":5657,"children":5658},{"style":252},[5659],{"type":46,"value":809},{"type":41,"tag":239,"props":5661,"children":5662},{"style":5523},[5663],{"type":46,"value":5664}," in",{"type":41,"tag":239,"props":5666,"children":5667},{"style":252},[5668],{"type":46,"value":369},{"type":41,"tag":239,"props":5670,"children":5671},{"style":361},[5672],{"type":46,"value":1853},{"type":41,"tag":239,"props":5674,"children":5675},{"style":252},[5676],{"type":46,"value":292},{"type":41,"tag":239,"props":5678,"children":5679},{"style":295},[5680],{"type":46,"value":5681},"A",{"type":41,"tag":239,"props":5683,"children":5684},{"style":252},[5685],{"type":46,"value":292},{"type":41,"tag":239,"props":5687,"children":5688},{"style":252},[5689],{"type":46,"value":809},{"type":41,"tag":239,"props":5691,"children":5692},{"style":252},[5693],{"type":46,"value":374},{"type":41,"tag":239,"props":5695,"children":5696},{"style":295},[5697],{"type":46,"value":5698},"B",{"type":41,"tag":239,"props":5700,"children":5701},{"style":252},[5702],{"type":46,"value":292},{"type":41,"tag":239,"props":5704,"children":5705},{"style":361},[5706],{"type":46,"value":2175},{"type":41,"tag":239,"props":5708,"children":5709},{"style":252},[5710],{"type":46,"value":1153},{"type":41,"tag":239,"props":5712,"children":5713},{"class":241,"line":512},[5714,5718,5722,5726,5730,5735,5739,5743,5747,5751,5755,5759],{"type":41,"tag":239,"props":5715,"children":5716},{"style":252},[5717],{"type":46,"value":358},{"type":41,"tag":239,"props":5719,"children":5720},{"style":5523},[5721],{"type":46,"value":4659},{"type":41,"tag":239,"props":5723,"children":5724},{"style":252},[5725],{"type":46,"value":369},{"type":41,"tag":239,"props":5727,"children":5728},{"style":252},[5729],{"type":46,"value":374},{"type":41,"tag":239,"props":5731,"children":5732},{"style":295},[5733],{"type":46,"value":5734},"result",{"type":41,"tag":239,"props":5736,"children":5737},{"style":252},[5738],{"type":46,"value":292},{"type":41,"tag":239,"props":5740,"children":5741},{"style":252},[5742],{"type":46,"value":809},{"type":41,"tag":239,"props":5744,"children":5745},{"style":5523},[5746],{"type":46,"value":5472},{"type":41,"tag":239,"props":5748,"children":5749},{"style":252},[5750],{"type":46,"value":369},{"type":41,"tag":239,"props":5752,"children":5753},{"style":729},[5754],{"type":46,"value":5481},{"type":41,"tag":239,"props":5756,"children":5757},{"style":252},[5758],{"type":46,"value":388},{"type":41,"tag":239,"props":5760,"children":5761},{"style":1258},[5762],{"type":46,"value":5763},"      \u002F\u002F not yet processed\n",{"type":41,"tag":239,"props":5765,"children":5766},{"class":241,"line":571},[5767,5771,5776,5780,5784,5789,5793,5798,5802],{"type":41,"tag":239,"props":5768,"children":5769},{"style":252},[5770],{"type":46,"value":358},{"type":41,"tag":239,"props":5772,"children":5773},{"style":5523},[5774],{"type":46,"value":5775}," and",{"type":41,"tag":239,"props":5777,"children":5778},{"style":252},[5779],{"type":46,"value":369},{"type":41,"tag":239,"props":5781,"children":5782},{"style":361},[5783],{"type":46,"value":1853},{"type":41,"tag":239,"props":5785,"children":5786},{"style":258},[5787],{"type":46,"value":5788},"filter1",{"type":41,"tag":239,"props":5790,"children":5791},{"style":252},[5792],{"type":46,"value":809},{"type":41,"tag":239,"props":5794,"children":5795},{"style":258},[5796],{"type":46,"value":5797}," filter2",{"type":41,"tag":239,"props":5799,"children":5800},{"style":361},[5801],{"type":46,"value":2175},{"type":41,"tag":239,"props":5803,"children":5804},{"style":252},[5805],{"type":46,"value":1153},{"type":41,"tag":239,"props":5807,"children":5808},{"class":241,"line":847},[5809,5813,5818,5822,5826,5830,5834,5838,5842],{"type":41,"tag":239,"props":5810,"children":5811},{"style":252},[5812],{"type":46,"value":358},{"type":41,"tag":239,"props":5814,"children":5815},{"style":5523},[5816],{"type":46,"value":5817}," or",{"type":41,"tag":239,"props":5819,"children":5820},{"style":252},[5821],{"type":46,"value":369},{"type":41,"tag":239,"props":5823,"children":5824},{"style":361},[5825],{"type":46,"value":1853},{"type":41,"tag":239,"props":5827,"children":5828},{"style":258},[5829],{"type":46,"value":5788},{"type":41,"tag":239,"props":5831,"children":5832},{"style":252},[5833],{"type":46,"value":809},{"type":41,"tag":239,"props":5835,"children":5836},{"style":258},[5837],{"type":46,"value":5797},{"type":41,"tag":239,"props":5839,"children":5840},{"style":361},[5841],{"type":46,"value":2175},{"type":41,"tag":239,"props":5843,"children":5844},{"style":252},[5845],{"type":46,"value":1153},{"type":41,"tag":72,"props":5847,"children":5849},{"id":5848},"technical-notes",[5850],{"type":46,"value":5851},"Technical notes",{"type":41,"tag":3338,"props":5853,"children":5854},{},[5855,5902,5912,5941,5957,5982,6005,6042],{"type":41,"tag":83,"props":5856,"children":5857},{},[5858,5870,5872,5877,5879,5885,5887,5893,5894,5900],{"type":41,"tag":87,"props":5859,"children":5860},{},[5861,5863,5868],{"type":46,"value":5862},"Only import ",{"type":41,"tag":55,"props":5864,"children":5866},{"className":5865},[],[5867],{"type":46,"value":298},{"type":46,"value":5869}," in blocks where you call swarm functions.",{"type":46,"value":5871},"\nData preparation (reading files, parsing, storing in ",{"type":41,"tag":55,"props":5873,"children":5875},{"className":5874},[],[5876],{"type":46,"value":1340},{"type":46,"value":5878},") does not\nneed the import. Destructure only what you use: ",{"type":41,"tag":55,"props":5880,"children":5882},{"className":5881},[],[5883],{"type":46,"value":5884},"{ create }",{"type":46,"value":5886},", ",{"type":41,"tag":55,"props":5888,"children":5890},{"className":5889},[],[5891],{"type":46,"value":5892},"{ run }",{"type":46,"value":1731},{"type":41,"tag":55,"props":5895,"children":5897},{"className":5896},[],[5898],{"type":46,"value":5899},"{ create, run }",{"type":46,"value":5901},", etc.",{"type":41,"tag":83,"props":5903,"children":5904},{},[5905,5910],{"type":41,"tag":87,"props":5906,"children":5907},{},[5908],{"type":46,"value":5909},"Console output is capped at ~5 KB.",{"type":46,"value":5911}," Never log raw file contents —\nlog only counts and short samples.",{"type":41,"tag":83,"props":5913,"children":5914},{},[5915,5932,5934,5940],{"type":41,"tag":87,"props":5916,"children":5917},{},[5918,5923,5925,5930],{"type":41,"tag":55,"props":5919,"children":5921},{"className":5920},[],[5922],{"type":46,"value":349},{"type":46,"value":5924}," inside ",{"type":41,"tag":55,"props":5926,"children":5928},{"className":5927},[],[5929],{"type":46,"value":219},{"type":46,"value":5931}," returns raw content — no line-number\nprefixes.",{"type":46,"value":5933}," Request at most 500 lines per call. For files with more\nthan 500 lines, loop with incrementing ",{"type":41,"tag":55,"props":5935,"children":5937},{"className":5936},[],[5938],{"type":46,"value":5939},"offset",{"type":46,"value":119},{"type":41,"tag":83,"props":5942,"children":5943},{},[5944,5955],{"type":41,"tag":87,"props":5945,"children":5946},{},[5947,5949,5954],{"type":46,"value":5948},"When building a table from a file, read it inside ",{"type":41,"tag":55,"props":5950,"children":5952},{"className":5951},[],[5953],{"type":46,"value":219},{"type":46,"value":119},{"type":46,"value":5956}," Data read\ninside the sandbox stays there; it never enters the agent's context window.",{"type":41,"tag":83,"props":5958,"children":5959},{},[5960,5973,5975,5981],{"type":41,"tag":87,"props":5961,"children":5962},{},[5963,5965,5971],{"type":46,"value":5964},"Never write to ",{"type":41,"tag":55,"props":5966,"children":5968},{"className":5967},[],[5969],{"type":46,"value":5970},".swarm\u002F",{"type":46,"value":5972}," directly.",{"type":46,"value":5974}," Always use ",{"type":41,"tag":55,"props":5976,"children":5978},{"className":5977},[],[5979],{"type":46,"value":5980},"create()",{"type":46,"value":119},{"type":41,"tag":83,"props":5983,"children":5984},{},[5985,6003],{"type":41,"tag":87,"props":5986,"children":5987},{},[5988,5990,5995,5997,6002],{"type":46,"value":5989},"Everything the subagent needs must be in ",{"type":41,"tag":55,"props":5991,"children":5993},{"className":5992},[],[5994],{"type":46,"value":109},{"type":46,"value":5996}," + ",{"type":41,"tag":55,"props":5998,"children":6000},{"className":5999},[],[6001],{"type":46,"value":2473},{"type":46,"value":119},{"type":46,"value":6004},"\nSubagents can't see the agent's context.",{"type":41,"tag":83,"props":6006,"children":6007},{},[6008,6013,6015,6020,6022,6027,6029,6034,6035,6040],{"type":41,"tag":87,"props":6009,"children":6010},{},[6011],{"type":46,"value":6012},"Row ids must be unique.",{"type":46,"value":6014}," ",{"type":41,"tag":55,"props":6016,"children":6018},{"className":6017},[],[6019],{"type":46,"value":5980},{"type":46,"value":6021}," rejects sources that produce\nduplicate ids. For ",{"type":41,"tag":55,"props":6023,"children":6025},{"className":6024},[],[6026],{"type":46,"value":211},{"type":46,"value":6028},", that's a caller-side responsibility; for\n",{"type":41,"tag":55,"props":6030,"children":6032},{"className":6031},[],[6033],{"type":46,"value":173},{"type":46,"value":175},{"type":41,"tag":55,"props":6036,"children":6038},{"className":6037},[],[6039],{"type":46,"value":181},{"type":46,"value":6041},", ids are auto-disambiguated by parent directory.",{"type":41,"tag":83,"props":6043,"children":6044},{},[6045,6050,6052,6057,6059,6065,6067,6073,6074,6079],{"type":41,"tag":87,"props":6046,"children":6047},{},[6048],{"type":46,"value":6049},"Unknown columns fail fast.",{"type":46,"value":6051}," If ",{"type":41,"tag":55,"props":6053,"children":6055},{"className":6054},[],[6056],{"type":46,"value":109},{"type":46,"value":6058}," references ",{"type":41,"tag":55,"props":6060,"children":6062},{"className":6061},[],[6063],{"type":46,"value":6064},"{foo}",{"type":46,"value":6066}," and\nno matched row provides ",{"type":41,"tag":55,"props":6068,"children":6070},{"className":6069},[],[6071],{"type":46,"value":6072},"foo",{"type":46,"value":5886},{"type":41,"tag":55,"props":6075,"children":6077},{"className":6076},[],[6078],{"type":46,"value":3850},{"type":46,"value":6080}," throws before any subagent is\ndispatched.",{"type":41,"tag":72,"props":6082,"children":6084},{"id":6083},"api-reference",[6085],{"type":46,"value":6086},"API Reference",{"type":41,"tag":6088,"props":6089,"children":6091},"h3",{"id":6090},"createsource",[6092],{"type":41,"tag":55,"props":6093,"children":6095},{"className":6094},[],[6096],{"type":46,"value":6097},"create(source)",{"type":41,"tag":49,"props":6099,"children":6100},{},[6101,6103,6109],{"type":46,"value":6102},"Create a table. Returns a handle ",{"type":41,"tag":55,"props":6104,"children":6106},{"className":6105},[],[6107],{"type":46,"value":6108},"{ id, count, columns }",{"type":46,"value":119},{"type":41,"tag":6111,"props":6112,"children":6113},"table",{},[6114,6133],{"type":41,"tag":6115,"props":6116,"children":6117},"thead",{},[6118],{"type":41,"tag":6119,"props":6120,"children":6121},"tr",{},[6122,6128],{"type":41,"tag":6123,"props":6124,"children":6125},"th",{},[6126],{"type":46,"value":6127},"Source",{"type":41,"tag":6123,"props":6129,"children":6130},{},[6131],{"type":46,"value":6132},"Description",{"type":41,"tag":6134,"props":6135,"children":6136},"tbody",{},[6137,6175,6203],{"type":41,"tag":6119,"props":6138,"children":6139},{},[6140,6158],{"type":41,"tag":6141,"props":6142,"children":6143},"td",{},[6144,6150,6152],{"type":41,"tag":55,"props":6145,"children":6147},{"className":6146},[],[6148],{"type":46,"value":6149},"{ glob: \"src\u002F**\u002F*.ts\" }",{"type":46,"value":6151}," or ",{"type":41,"tag":55,"props":6153,"children":6155},{"className":6154},[],[6156],{"type":46,"value":6157},"{ glob: [\"src\u002F**\u002F*.ts\", \"lib\u002F**\u002F*.ts\"] }",{"type":41,"tag":6141,"props":6159,"children":6160},{},[6161,6163,6168,6169],{"type":46,"value":6162},"Match files by one or more patterns. Columns: ",{"type":41,"tag":55,"props":6164,"children":6166},{"className":6165},[],[6167],{"type":46,"value":1692},{"type":46,"value":5886},{"type":41,"tag":55,"props":6170,"children":6172},{"className":6171},[],[6173],{"type":46,"value":6174},"file",{"type":41,"tag":6119,"props":6176,"children":6177},{},[6178,6187],{"type":41,"tag":6141,"props":6179,"children":6180},{},[6181],{"type":41,"tag":55,"props":6182,"children":6184},{"className":6183},[],[6185],{"type":46,"value":6186},"{ filePaths: [\"a.ts\", \"b.ts\"] }",{"type":41,"tag":6141,"props":6188,"children":6189},{},[6190,6192,6197,6198],{"type":46,"value":6191},"Explicit file list. Columns: ",{"type":41,"tag":55,"props":6193,"children":6195},{"className":6194},[],[6196],{"type":46,"value":1692},{"type":46,"value":5886},{"type":41,"tag":55,"props":6199,"children":6201},{"className":6200},[],[6202],{"type":46,"value":6174},{"type":41,"tag":6119,"props":6204,"children":6205},{},[6206,6215],{"type":41,"tag":6141,"props":6207,"children":6208},{},[6209],{"type":41,"tag":55,"props":6210,"children":6212},{"className":6211},[],[6213],{"type":46,"value":6214},"{ tasks: [{ id: \"t1\", text: \"...\" }] }",{"type":41,"tag":6141,"props":6216,"children":6217},{},[6218,6220],{"type":46,"value":6219},"Custom rows. Each must have ",{"type":41,"tag":55,"props":6221,"children":6223},{"className":6222},[],[6224],{"type":46,"value":1692},{"type":41,"tag":6088,"props":6226,"children":6228},{"id":6227},"runtableid-options",[6229],{"type":41,"tag":55,"props":6230,"children":6232},{"className":6231},[],[6233],{"type":46,"value":6234},"run(tableId, options)",{"type":41,"tag":49,"props":6236,"children":6237},{},[6238,6240,6245],{"type":46,"value":6239},"Dispatch work across rows. Returns ",{"type":41,"tag":55,"props":6241,"children":6243},{"className":6242},[],[6244],{"type":46,"value":117},{"type":46,"value":119},{"type":41,"tag":6111,"props":6247,"children":6248},{},[6249,6269],{"type":41,"tag":6115,"props":6250,"children":6251},{},[6252],{"type":41,"tag":6119,"props":6253,"children":6254},{},[6255,6260,6265],{"type":41,"tag":6123,"props":6256,"children":6257},{},[6258],{"type":46,"value":6259},"Option",{"type":41,"tag":6123,"props":6261,"children":6262},{},[6263],{"type":46,"value":6264},"Default",{"type":41,"tag":6123,"props":6266,"children":6267},{},[6268],{"type":46,"value":6132},{"type":41,"tag":6134,"props":6270,"children":6271},{},[6272,6300,6328,6349,6369,6389,6425],{"type":41,"tag":6119,"props":6273,"children":6274},{},[6275,6283,6288],{"type":41,"tag":6141,"props":6276,"children":6277},{},[6278],{"type":41,"tag":55,"props":6279,"children":6281},{"className":6280},[],[6282],{"type":46,"value":109},{"type":41,"tag":6141,"props":6284,"children":6285},{},[6286],{"type":46,"value":6287},"(required)",{"type":41,"tag":6141,"props":6289,"children":6290},{},[6291,6293,6298],{"type":46,"value":6292},"Template with ",{"type":41,"tag":55,"props":6294,"children":6296},{"className":6295},[],[6297],{"type":46,"value":2462},{"type":46,"value":6299}," placeholders",{"type":41,"tag":6119,"props":6301,"children":6302},{},[6303,6311,6315],{"type":41,"tag":6141,"props":6304,"children":6305},{},[6306],{"type":41,"tag":55,"props":6307,"children":6309},{"className":6308},[],[6310],{"type":46,"value":2951},{"type":41,"tag":6141,"props":6312,"children":6313},{},[6314],{"type":46,"value":6287},{"type":41,"tag":6141,"props":6316,"children":6317},{},[6318,6320,6326],{"type":46,"value":6319},"JSON Schema (",{"type":41,"tag":55,"props":6321,"children":6323},{"className":6322},[],[6324],{"type":46,"value":6325},"type: \"object\"",{"type":46,"value":6327},") — properties become row columns",{"type":41,"tag":6119,"props":6329,"children":6330},{},[6331,6339,6344],{"type":41,"tag":6141,"props":6332,"children":6333},{},[6334],{"type":41,"tag":55,"props":6335,"children":6337},{"className":6336},[],[6338],{"type":46,"value":2473},{"type":41,"tag":6141,"props":6340,"children":6341},{},[6342],{"type":46,"value":6343},"—",{"type":41,"tag":6141,"props":6345,"children":6346},{},[6347],{"type":46,"value":6348},"Prose prepended to every subagent prompt",{"type":41,"tag":6119,"props":6350,"children":6351},{},[6352,6360,6364],{"type":41,"tag":6141,"props":6353,"children":6354},{},[6355],{"type":41,"tag":55,"props":6356,"children":6358},{"className":6357},[],[6359],{"type":46,"value":902},{"type":41,"tag":6141,"props":6361,"children":6362},{},[6363],{"type":46,"value":6343},{"type":41,"tag":6141,"props":6365,"children":6366},{},[6367],{"type":46,"value":6368},"Only dispatch matching rows",{"type":41,"tag":6119,"props":6370,"children":6371},{},[6372,6380,6384],{"type":41,"tag":6141,"props":6373,"children":6374},{},[6375],{"type":41,"tag":55,"props":6376,"children":6378},{"className":6377},[],[6379],{"type":46,"value":1954},{"type":41,"tag":6141,"props":6381,"children":6382},{},[6383],{"type":46,"value":6343},{"type":41,"tag":6141,"props":6385,"children":6386},{},[6387],{"type":46,"value":6388},"Name of subagent to dispatch to. When set, runs a full agentic loop. When omitted, runs a direct model call",{"type":41,"tag":6119,"props":6390,"children":6391},{},[6392,6400,6405],{"type":41,"tag":6141,"props":6393,"children":6394},{},[6395],{"type":41,"tag":55,"props":6396,"children":6398},{"className":6397},[],[6399],{"type":46,"value":3334},{"type":41,"tag":6141,"props":6401,"children":6402},{},[6403],{"type":46,"value":6404},"auto",{"type":41,"tag":6141,"props":6406,"children":6407},{},[6408,6410,6415,6417,6423],{"type":46,"value":6409},"Number or ",{"type":41,"tag":55,"props":6411,"children":6413},{"className":6412},[],[6414],{"type":46,"value":3382},{"type":46,"value":6416},". Auto caps dispatches at 10; ",{"type":41,"tag":55,"props":6418,"children":6420},{"className":6419},[],[6421],{"type":46,"value":6422},"1",{"type":46,"value":6424}," = per-row; function = per-row sizing",{"type":41,"tag":6119,"props":6426,"children":6427},{},[6428,6437,6446],{"type":41,"tag":6141,"props":6429,"children":6430},{},[6431],{"type":41,"tag":55,"props":6432,"children":6434},{"className":6433},[],[6435],{"type":46,"value":6436},"concurrency",{"type":41,"tag":6141,"props":6438,"children":6439},{},[6440],{"type":41,"tag":55,"props":6441,"children":6443},{"className":6442},[],[6444],{"type":46,"value":6445},"10",{"type":41,"tag":6141,"props":6447,"children":6448},{},[6449],{"type":46,"value":6450},"Max concurrent subagent dispatches (clamped to 1–10)",{"type":41,"tag":6088,"props":6452,"children":6454},{"id":6453},"rowstableid-options",[6455],{"type":41,"tag":55,"props":6456,"children":6458},{"className":6457},[],[6459],{"type":46,"value":6460},"rows(tableId, options?)",{"type":41,"tag":49,"props":6462,"children":6463},{},[6464],{"type":46,"value":6465},"Retrieve rows. Use for inspection and JS-based aggregation.",{"type":41,"tag":6111,"props":6467,"children":6468},{},[6469,6483],{"type":41,"tag":6115,"props":6470,"children":6471},{},[6472],{"type":41,"tag":6119,"props":6473,"children":6474},{},[6475,6479],{"type":41,"tag":6123,"props":6476,"children":6477},{},[6478],{"type":46,"value":6259},{"type":41,"tag":6123,"props":6480,"children":6481},{},[6482],{"type":46,"value":6132},{"type":41,"tag":6134,"props":6484,"children":6485},{},[6486,6502,6519],{"type":41,"tag":6119,"props":6487,"children":6488},{},[6489,6497],{"type":41,"tag":6141,"props":6490,"children":6491},{},[6492],{"type":41,"tag":55,"props":6493,"children":6495},{"className":6494},[],[6496],{"type":46,"value":902},{"type":41,"tag":6141,"props":6498,"children":6499},{},[6500],{"type":46,"value":6501},"Only return matching rows",{"type":41,"tag":6119,"props":6503,"children":6504},{},[6505,6514],{"type":41,"tag":6141,"props":6506,"children":6507},{},[6508],{"type":41,"tag":55,"props":6509,"children":6511},{"className":6510},[],[6512],{"type":46,"value":6513},"columns",{"type":41,"tag":6141,"props":6515,"children":6516},{},[6517],{"type":46,"value":6518},"Project to specific columns",{"type":41,"tag":6119,"props":6520,"children":6521},{},[6522,6531],{"type":41,"tag":6141,"props":6523,"children":6524},{},[6525],{"type":41,"tag":55,"props":6526,"children":6528},{"className":6527},[],[6529],{"type":46,"value":6530},"limit",{"type":41,"tag":6141,"props":6532,"children":6533},{},[6534],{"type":46,"value":6535},"Max rows returned",{"type":41,"tag":6537,"props":6538,"children":6539},"style",{},[6540],{"type":46,"value":6541},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":6543,"total":6650},[6544,6561,6576,6592,6604,6616,6632],{"slug":6545,"name":6545,"fn":6546,"description":6547,"org":6548,"tags":6549,"stars":21,"repoUrl":22,"updatedAt":6560},"deep-agents-core","build applications with LangChain Deep Agents","INVOKE THIS SKILL when building ANY Deep Agents application. Covers create_deep_agent(), harness architecture, SKILL.md format, and configuration options.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6550,6553,6556,6557],{"name":6551,"slug":6552,"type":14},"Agents","agents",{"name":6554,"slug":6555,"type":14},"Architecture","architecture",{"name":9,"slug":8,"type":14},{"name":6558,"slug":6559,"type":14},"LLM","llm","2026-04-06T18:26:24.822592",{"slug":6562,"name":6562,"fn":6563,"description":6564,"org":6565,"tags":6566,"stars":21,"repoUrl":22,"updatedAt":6575},"deep-agents-memory","implement memory and persistence for Deep Agents","INVOKE THIS SKILL when your Deep Agent needs memory, persistence, or filesystem access. Covers StateBackend (ephemeral), StoreBackend (persistent), FilesystemMiddleware, and CompositeBackend for routing.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6567,6568,6569,6572],{"name":6551,"slug":6552,"type":14},{"name":9,"slug":8,"type":14},{"name":6570,"slug":6571,"type":14},"Memory","memory",{"name":6573,"slug":6574,"type":14},"Storage","storage","2026-04-06T18:26:26.065654",{"slug":6577,"name":6577,"fn":6578,"description":6579,"org":6580,"tags":6581,"stars":21,"repoUrl":22,"updatedAt":6591},"deep-agents-orchestration","orchestrate subagents and tasks in Deep Agents","INVOKE THIS SKILL when using subagents, task planning, or human approval in Deep Agents. Covers SubAgentMiddleware, TodoList for planning, and HITL interrupts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6582,6583,6586,6587,6588],{"name":6551,"slug":6552,"type":14},{"name":6584,"slug":6585,"type":14},"Approvals","approvals",{"name":9,"slug":8,"type":14},{"name":19,"slug":20,"type":14},{"name":6589,"slug":6590,"type":14},"Workflow Automation","workflow-automation","2026-04-06T18:26:32.280463",{"slug":6593,"name":6593,"fn":6594,"description":6595,"org":6596,"tags":6597,"stars":21,"repoUrl":22,"updatedAt":6603},"deepagents-python-quickstart","scaffold local Deep Agents","Scaffold a minimal local Deep Agent in Python by following the official quickstart, using provider-native web search instead of Tavily. Use when the user wants to quickly build or try a Deep Agent locally.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6598,6599,6600],{"name":6551,"slug":6552,"type":14},{"name":9,"slug":8,"type":14},{"name":6601,"slug":6602,"type":14},"Python","python","2026-07-24T06:09:00.291108",{"slug":6605,"name":6605,"fn":6606,"description":6607,"org":6608,"tags":6609,"stars":21,"repoUrl":22,"updatedAt":6615},"deepagents-typescript-quickstart","build Deep Agents in TypeScript","Scaffold a minimal local Deep Agent in TypeScript by following the official quickstart, using provider-native web search instead of Tavily. Use when the user wants to quickly build or try a Deep Agent locally.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6610,6611,6612],{"name":6551,"slug":6552,"type":14},{"name":9,"slug":8,"type":14},{"name":6613,"slug":6614,"type":14},"TypeScript","typescript","2026-07-24T06:09:00.673714",{"slug":6617,"name":6617,"fn":6618,"description":6619,"org":6620,"tags":6621,"stars":21,"repoUrl":22,"updatedAt":6631},"ecosystem-primer","select frameworks for LangChain and LangGraph agents","INVOKE FIRST for any LangChain \u002F LangGraph \u002F Deep Agents agent building project before consulting other skills or writing any agent code. Required starting point for up to date info on framework selection (LangChain vs LangGraph vs Deep Agents vs hybrid composition), agent patterns, install, environment setup, and which skill to load next.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6622,6623,6626,6627,6628],{"name":6551,"slug":6552,"type":14},{"name":6624,"slug":6625,"type":14},"AI Infrastructure","ai-infrastructure",{"name":6554,"slug":6555,"type":14},{"name":9,"slug":8,"type":14},{"name":6629,"slug":6630,"type":14},"LangGraph","langgraph","2026-07-24T05:42:48.348966",{"slug":6633,"name":6633,"fn":6634,"description":6635,"org":6636,"tags":6637,"stars":21,"repoUrl":22,"updatedAt":6649},"eval-engineering","create and audit Harbor agent evals","Iteratively inspect an agent repository and optional user-provided traces, interview the user, and create, run, and audit Harbor evals one at a time. Use for agent evals, Harbor tasks, benchmark cases, verifier design, or controlled agent environments.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6638,6639,6642,6645,6646],{"name":6551,"slug":6552,"type":14},{"name":6640,"slug":6641,"type":14},"Code Analysis","code-analysis",{"name":6643,"slug":6644,"type":14},"Evals","evals",{"name":9,"slug":8,"type":14},{"name":6647,"slug":6648,"type":14},"Testing","testing","2026-07-31T05:53:29.552458",22,{"items":6652,"total":6823},[6653,6674,6685,6702,6715,6730,6743,6756,6770,6780,6791,6810],{"slug":6654,"name":6654,"fn":6655,"description":6656,"org":6657,"tags":6658,"stars":6671,"repoUrl":6672,"updatedAt":6673},"analyze-market","perform market analysis and size estimation","Perform a market analysis for a product category or segment. Trigger on: market analysis, market size, TAM SAM SOM, market opportunity, industry analysis.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6659,6662,6665,6668],{"name":6660,"slug":6661,"type":14},"Marketing","marketing",{"name":6663,"slug":6664,"type":14},"Research","research",{"name":6666,"slug":6667,"type":14},"Sales","sales",{"name":6669,"slug":6670,"type":14},"Strategy","strategy",26592,"https:\u002F\u002Fgithub.com\u002Flangchain-ai\u002Fdeepagents","2026-04-18T04:46:54.557115",{"slug":6675,"name":6675,"fn":6676,"description":6677,"org":6678,"tags":6679,"stars":6671,"repoUrl":6672,"updatedAt":6684},"arxiv-search","search arXiv for academic research papers","Searches arXiv for preprints and academic papers, retrieves abstracts, and filters by topic. Use when the user asks to find research papers, search arXiv, look up preprints, find academic articles in physics, math, CS, biology, statistics, or related fields.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6680,6681],{"name":6663,"slug":6664,"type":14},{"name":6682,"slug":6683,"type":14},"Search","search","2026-05-13T06:11:01.203061",{"slug":6686,"name":6686,"fn":6687,"description":6688,"org":6689,"tags":6690,"stars":6671,"repoUrl":6672,"updatedAt":6701},"blog-post","write SEO-optimized blog posts","Write long-form blog posts with SEO optimization and clear structure.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6691,6694,6695,6698],{"name":6692,"slug":6693,"type":14},"Content Creation","content-creation",{"name":6660,"slug":6661,"type":14},{"name":6696,"slug":6697,"type":14},"SEO","seo",{"name":6699,"slug":6700,"type":14},"Writing","writing","2026-04-15T05:00:54.149813",{"slug":6703,"name":6703,"fn":6704,"description":6705,"org":6706,"tags":6707,"stars":6671,"repoUrl":6672,"updatedAt":6714},"competitor-analysis","analyze competitors and market positioning","Analyze competitors in a given market segment. Trigger on: competitive landscape, competitor analysis, market comparison, competitive positioning.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6708,6711,6712,6713],{"name":6709,"slug":6710,"type":14},"Competitive Intelligence","competitive-intelligence",{"name":6660,"slug":6661,"type":14},{"name":6663,"slug":6664,"type":14},{"name":6669,"slug":6670,"type":14},"2026-04-18T04:46:55.79306",{"slug":6716,"name":6716,"fn":6717,"description":6718,"org":6719,"tags":6720,"stars":6671,"repoUrl":6672,"updatedAt":6729},"deepagents-thread-inspector","inspect local Deep Agents conversation threads","Inspect and explain conversations in the local Deep Agents Code SQLite session store. Use as a fallback when LangSmith trace tooling is unavailable, for offline or untraced sessions, or when asked to identify or summarize a local dcode thread, inspect checkpoint metadata, list recent local threads, or parse ~\u002F.deepagents\u002F.state\u002Fsessions.db and a thread UUID or prefix.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6721,6722,6725,6726],{"name":6551,"slug":6552,"type":14},{"name":6723,"slug":6724,"type":14},"Debugging","debugging",{"name":9,"slug":8,"type":14},{"name":6727,"slug":6728,"type":14},"SQLite","sqlite","2026-07-24T06:08:57.102689",{"slug":6731,"name":6731,"fn":6732,"description":6733,"org":6734,"tags":6735,"stars":6671,"repoUrl":6672,"updatedAt":6742},"langgraph-docs","build stateful agents with LangGraph","Fetches and references LangGraph Python documentation to build stateful agents, create multi-agent workflows, and implement human-in-the-loop patterns. Use when the user asks about LangGraph, graph agents, state machines, agent orchestration, LangGraph API, or needs LangGraph implementation guidance.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6736,6737,6740,6741],{"name":6551,"slug":6552,"type":14},{"name":6738,"slug":6739,"type":14},"Documentation","documentation",{"name":6629,"slug":6630,"type":14},{"name":19,"slug":20,"type":14},"2026-05-13T06:11:03.650877",{"slug":6744,"name":6744,"fn":6745,"description":6746,"org":6747,"tags":6748,"stars":6671,"repoUrl":6672,"updatedAt":6755},"remember","capture knowledge into persistent memory","Review the current conversation and capture valuable knowledge — best practices, coding conventions, architecture decisions, workflows, and user feedback — into persistent memory (AGENTS.md) or reusable skills. Use when the user says: (1) remember this, (2) save what we learned, (3) update memory, (4) capture learnings.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6749,6750,6751,6754],{"name":6551,"slug":6552,"type":14},{"name":6738,"slug":6739,"type":14},{"name":6752,"slug":6753,"type":14},"Knowledge Management","knowledge-management",{"name":6570,"slug":6571,"type":14},"2026-05-13T06:10:58.510037",{"slug":6757,"name":6757,"fn":6758,"description":6759,"org":6760,"tags":6761,"stars":6671,"repoUrl":6672,"updatedAt":6769},"skill-creator","create agent skills and tool integrations","Guide for creating effective skills that extend agent capabilities with specialized knowledge, workflows, or tool integrations. Use this skill when the user asks to: (1) create a new skill, (2) make a skill, (3) build a skill, (4) set up a skill, (5) initialize a skill, (6) scaffold a skill, (7) update or modify an existing skill, (8) validate a skill, (9) learn about skill structure, (10) understand how skills work, or (11) get guidance on skill design patterns. Trigger on phrases like \"create a skill\", \"new skill\", \"make a skill\", \"skill for X\", \"how do I create a skill\", or \"help me build a skill\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6762,6763,6766],{"name":6551,"slug":6552,"type":14},{"name":6764,"slug":6765,"type":14},"Engineering","engineering",{"name":6767,"slug":6768,"type":14},"Plugin Development","plugin-development","2026-05-13T06:10:59.88449",{"slug":6771,"name":6771,"fn":6772,"description":6773,"org":6774,"tags":6775,"stars":6671,"repoUrl":6672,"updatedAt":6779},"social-media","create optimized social media posts","Create social media posts optimized for engagement across platforms.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6776,6777,6778],{"name":6692,"slug":6693,"type":14},{"name":6660,"slug":6661,"type":14},{"name":6699,"slug":6700,"type":14},"2026-04-15T05:00:55.37452",{"slug":6781,"name":6781,"fn":6782,"description":6783,"org":6784,"tags":6785,"stars":6671,"repoUrl":6672,"updatedAt":6790},"web-research","conduct and synthesize web research","Searches multiple web sources, synthesizes findings, and produces cited research reports using delegated subagents. Use when the user asks to research a topic online, search the web, look something up, find current information, compare options, or produce a research report.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6786,6787,6788,6789],{"name":6551,"slug":6552,"type":14},{"name":19,"slug":20,"type":14},{"name":6663,"slug":6664,"type":14},{"name":6682,"slug":6683,"type":14},"2026-05-13T06:11:04.930044",{"slug":6792,"name":6792,"fn":6793,"description":6794,"org":6795,"tags":6796,"stars":6807,"repoUrl":6808,"updatedAt":6809},"mermaid-diagrams","embed Mermaid diagrams in documentation","Embed Mermaid diagrams in generated wiki pages. Use whenever documenting a runtime or request flow, a call sequence, a state machine or lifecycle, a data model or entity relationships, or non-trivial control flow, since these are clearer as a diagram than as prose. Also use when an update run touches a page that already contains a mermaid fence, or a page that contains a text fence a previous run degraded.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6797,6800,6801,6804],{"name":6798,"slug":6799,"type":14},"Diagrams","diagrams",{"name":6738,"slug":6739,"type":14},{"name":6802,"slug":6803,"type":14},"Markdown","markdown",{"name":6805,"slug":6806,"type":14},"Technical Writing","technical-writing",12181,"https:\u002F\u002Fgithub.com\u002Flangchain-ai\u002Fopenwiki","2026-07-24T06:09:01.089597",{"slug":6811,"name":6811,"fn":6812,"description":6813,"org":6814,"tags":6815,"stars":6807,"repoUrl":6808,"updatedAt":6822},"write-connector","implement OpenWiki source connectors","Add a new built-in OpenWiki source connector. Use when a user asks to create or implement an OpenWiki connector.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[6816,6819],{"name":6817,"slug":6818,"type":14},"API Development","api-development",{"name":6820,"slug":6821,"type":14},"Integrations","integrations","2026-07-18T05:48:23.961804",41]