@grid-is/agent-tools 0.2.3 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ import { C as runFormula, D as whatIf, E as viewRange, S as readCalculatedValues, T as symbols, _ as isToolError, a as dependents, b as manageSheets, c as editCells, d as generateWorkbookContext, f as getComment, g as inspect, h as goalSeek, i as captureRange, l as fillCells, m as getStyles, n as ToolContext, o as describeStructure, p as getComments, r as ToolError, s as editCellStyles, t as SpreadsheetTool, u as findCells, v as listErrors, w as spreadsheetTools, x as precedents, y as manageRowsAndColumns } from "./index-DlMJis5l.js";
2
+ export { SpreadsheetTool, type ToolContext, type ToolError, captureRange, dependents, describeStructure, editCellStyles, editCells, fillCells, findCells, generateWorkbookContext, getComment, getComments, getStyles, goalSeek, inspect, isToolError, listErrors, manageRowsAndColumns, manageSheets, precedents, readCalculatedValues, runFormula, spreadsheetTools, symbols, viewRange, whatIf };
package/dist/tools.js ADDED
@@ -0,0 +1 @@
1
+ import{C as e,S as t,T as n,_ as r,a as i,b as a,c as o,d as s,f as c,g as l,h as u,i as d,l as f,m as p,n as m,o as h,p as g,r as _,s as v,t as y,u as b,v as x,w as S,x as C,y as w}from"./dist-B8AoRnKf.js";export{y as SpreadsheetTool,m as captureRange,_ as dependents,d as describeStructure,i as editCellStyles,h as editCells,v as fillCells,o as findCells,f as generateWorkbookContext,b as getComment,s as getComments,c as getStyles,g as goalSeek,p as inspect,u as isToolError,l as listErrors,r as manageRowsAndColumns,x as manageSheets,w as precedents,a as readCalculatedValues,C as runFormula,t as spreadsheetTools,e as symbols,S as viewRange,n as whatIf};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grid-is/agent-tools",
3
- "version": "0.2.3",
3
+ "version": "0.3.0",
4
4
  "description": "GRID spreadsheet tools for AI agents. Load, read, edit, and recalculate .xlsx workbooks — headless, no Excel required. Wire the tools into your own agent SDK, or run them as an MCP server.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -18,6 +18,10 @@
18
18
  "import": "./dist/index.js",
19
19
  "types": "./dist/index.d.ts"
20
20
  },
21
+ "./tools": {
22
+ "import": "./dist/tools.js",
23
+ "types": "./dist/tools.d.ts"
24
+ },
21
25
  "./package.json": "./package.json"
22
26
  },
23
27
  "bin": {
@@ -30,12 +34,14 @@
30
34
  "scripts": {
31
35
  "build": "tsdown && node scripts/copy-fonts.mjs",
32
36
  "typecheck": "tsc --noEmit",
33
- "test": "tsx test/smoke.ts && tsx test/stdio.ts",
37
+ "test": "tsx test/smoke.ts && tsx test/stdio.ts && npm run test:tools",
34
38
  "test:pack": "tsx test/pack-smoke.ts",
35
39
  "gen:docs": "npm run build && node scripts/gen-tool-docs.mjs",
36
40
  "changeset": "changeset",
37
41
  "version": "changeset version && npm install --package-lock-only",
38
- "release": "changeset publish"
42
+ "release": "changeset publish",
43
+ "test:tools": "npm run build && tsx test/tools.ts",
44
+ "test:hosts": "tsx test/host-smoke.ts"
39
45
  },
40
46
  "dependencies": {
41
47
  "@grid-is/apiary": "npm:@grid-is/spreadsheet-engine@^17.0.0",
@@ -51,6 +57,7 @@
51
57
  "@grid-is/apiary-officejs": "^0.11.0",
52
58
  "@grid-is/grid-prompt-tools": "^2.5.0",
53
59
  "@types/node": "^22.0.0",
60
+ "esbuild": "^0.28.1",
54
61
  "tsdown": "^0.22.4",
55
62
  "tsx": "^4.22.4",
56
63
  "typescript": "^5.6.0"