farseer-cli 1.18.0 → 1.20.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.
Files changed (262) hide show
  1. package/README.md +33 -10
  2. package/dist/commands/app.js +42 -3
  3. package/dist/commands/app.js.map +1 -2
  4. package/dist/commands/apps.js.map +0 -1
  5. package/dist/commands/cells.js +120 -85
  6. package/dist/commands/cells.js.map +1 -2
  7. package/dist/commands/code.js.map +0 -1
  8. package/dist/commands/config.js.map +0 -1
  9. package/dist/commands/dashboards.js +246 -12
  10. package/dist/commands/dashboards.js.map +1 -2
  11. package/dist/commands/diff.js.map +0 -1
  12. package/dist/commands/dimensions.js +52 -27
  13. package/dist/commands/dimensions.js.map +1 -2
  14. package/dist/commands/docs.js +82 -0
  15. package/dist/commands/docs.js.map +6 -0
  16. package/dist/commands/files.js +49 -0
  17. package/dist/commands/files.js.map +2 -3
  18. package/dist/commands/folders.js +76 -0
  19. package/dist/commands/folders.js.map +6 -0
  20. package/dist/commands/formula.js +38 -30
  21. package/dist/commands/formula.js.map +1 -2
  22. package/dist/commands/install.js +32 -30
  23. package/dist/commands/install.js.map +2 -3
  24. package/dist/commands/list.js.map +0 -1
  25. package/dist/commands/login.js +3 -3
  26. package/dist/commands/login.js.map +1 -2
  27. package/dist/commands/logout.js.map +0 -1
  28. package/dist/commands/mcp-server.js.map +0 -1
  29. package/dist/commands/model.js +30 -5
  30. package/dist/commands/model.js.map +2 -3
  31. package/dist/commands/pipeline.js.map +0 -1
  32. package/dist/commands/pull.js +1 -1
  33. package/dist/commands/pull.js.map +1 -2
  34. package/dist/commands/push.js +6 -4
  35. package/dist/commands/push.js.map +1 -2
  36. package/dist/commands/refresh.js.map +0 -1
  37. package/dist/commands/run.js.map +0 -1
  38. package/dist/commands/sheets.js +289 -52
  39. package/dist/commands/sheets.js.map +1 -2
  40. package/dist/commands/skills.js +157 -0
  41. package/dist/commands/skills.js.map +6 -0
  42. package/dist/commands/status.js.map +0 -1
  43. package/dist/commands/tool.js.map +0 -1
  44. package/dist/commands/variables.js +246 -82
  45. package/dist/commands/variables.js.map +1 -2
  46. package/dist/commands/whoami.js.map +0 -1
  47. package/dist/index.js +117 -23
  48. package/dist/index.js.map +1 -2
  49. package/dist/mcp/index.js.map +0 -1
  50. package/dist/mcp/prompts/workflows.js.map +0 -1
  51. package/dist/mcp/resources/documentation.js +19 -12
  52. package/dist/mcp/resources/documentation.js.map +1 -2
  53. package/dist/mcp/server.js.map +0 -1
  54. package/dist/mcp/skills.js.map +0 -1
  55. package/dist/mcp/tools/appTools.js +1 -7
  56. package/dist/mcp/tools/appTools.js.map +1 -2
  57. package/dist/mcp/tools/authTools.js +1 -1
  58. package/dist/mcp/tools/authTools.js.map +1 -2
  59. package/dist/mcp/tools/cellTools.js +6 -19
  60. package/dist/mcp/tools/cellTools.js.map +1 -2
  61. package/dist/mcp/tools/dashboardTools.js +30 -412
  62. package/dist/mcp/tools/dashboardTools.js.map +2 -3
  63. package/dist/mcp/tools/dataTools.js +15 -146
  64. package/dist/mcp/tools/dataTools.js.map +1 -2
  65. package/dist/mcp/tools/folderTools.js +12 -78
  66. package/dist/mcp/tools/folderTools.js.map +1 -2
  67. package/dist/mcp/tools/modelTools.js +23 -372
  68. package/dist/mcp/tools/modelTools.js.map +1 -2
  69. package/dist/mcp/tools/pipelineContract.js +5 -1
  70. package/dist/mcp/tools/pipelineContract.js.map +1 -2
  71. package/dist/mcp/tools/pipelineTools.js.map +0 -1
  72. package/dist/mcp/tools/runTools.js +8 -69
  73. package/dist/mcp/tools/runTools.js.map +1 -2
  74. package/dist/mcp/tools/sheetTools.js +14 -264
  75. package/dist/mcp/tools/sheetTools.js.map +1 -2
  76. package/dist/mcp/tools/syncTools.js +7 -3
  77. package/dist/mcp/tools/syncTools.js.map +1 -2
  78. package/dist/mcp/utils/helpers.js.map +0 -1
  79. package/dist/mcp/utils/launchPin.js.map +0 -1
  80. package/dist/mcp/utils/operationResponse.js +41 -0
  81. package/dist/mcp/utils/operationResponse.js.map +6 -0
  82. package/dist/mcp/utils/registerTool.js.map +0 -1
  83. package/dist/mcp/utils/session.js.map +0 -1
  84. package/dist/mcp/utils/tenantPin.js.map +0 -1
  85. package/dist/operations/cells.js +444 -0
  86. package/dist/operations/cells.js.map +6 -0
  87. package/dist/operations/dashboards.js +357 -0
  88. package/dist/operations/dashboards.js.map +6 -0
  89. package/dist/operations/data.js +206 -0
  90. package/dist/operations/data.js.map +6 -0
  91. package/dist/operations/errors.js +64 -0
  92. package/dist/operations/errors.js.map +6 -0
  93. package/dist/operations/exportModel.js +59 -0
  94. package/dist/operations/exportModel.js.map +6 -0
  95. package/dist/operations/folderPath.js +128 -0
  96. package/dist/operations/folderPath.js.map +6 -0
  97. package/dist/operations/folders.js +80 -0
  98. package/dist/operations/folders.js.map +6 -0
  99. package/dist/operations/install.js +109 -0
  100. package/dist/operations/install.js.map +6 -0
  101. package/dist/operations/model.js +271 -0
  102. package/dist/operations/model.js.map +6 -0
  103. package/dist/operations/sheets.js +428 -0
  104. package/dist/operations/sheets.js.map +6 -0
  105. package/dist/pipeline/compatibility.js.map +0 -1
  106. package/dist/pipeline/connect.js.map +0 -1
  107. package/dist/pipeline/create.js.map +0 -1
  108. package/dist/pipeline/errors.js.map +0 -1
  109. package/dist/pipeline/failStep.js +43 -0
  110. package/dist/pipeline/failStep.js.map +6 -0
  111. package/dist/pipeline/generated-reference.json +25 -13
  112. package/dist/pipeline/guide.js.map +0 -1
  113. package/dist/pipeline/init.js.map +0 -1
  114. package/dist/pipeline/operations.js.map +0 -1
  115. package/dist/pipeline/query.js.map +0 -1
  116. package/dist/pipeline/queryDownloads.js.map +0 -1
  117. package/dist/pipeline/queryWorker.js +3 -1
  118. package/dist/pipeline/queryWorker.js.map +1 -2
  119. package/dist/pipeline/readiness.js.map +0 -1
  120. package/dist/pipeline/reference.js.map +0 -1
  121. package/dist/pipeline/requests.js +3 -32
  122. package/dist/pipeline/requests.js.map +1 -2
  123. package/dist/pipeline/runArguments.js.map +0 -1
  124. package/dist/pipeline/runtime.js.map +0 -1
  125. package/dist/pipeline/service.js +46 -2
  126. package/dist/pipeline/service.js.map +1 -2
  127. package/dist/services/appSyncService.js +59 -9
  128. package/dist/services/appSyncService.js.map +1 -2
  129. package/dist/services/apps.js +10 -0
  130. package/dist/services/apps.js.map +1 -2
  131. package/dist/services/authErrors.js.map +0 -1
  132. package/dist/services/codefirst/api.js +38 -5
  133. package/dist/services/codefirst/api.js.map +1 -2
  134. package/dist/services/codefirst/binaryDisk.js.map +0 -1
  135. package/dist/services/codefirst/byteHashes.js +5 -0
  136. package/dist/services/codefirst/byteHashes.js.map +1 -2
  137. package/dist/services/codefirst/documents.js +41 -15
  138. package/dist/services/codefirst/documents.js.map +1 -2
  139. package/dist/services/codefirst/layoutBinaryProjection.js +24 -13
  140. package/dist/services/codefirst/layoutBinaryProjection.js.map +1 -2
  141. package/dist/services/codefirst/layoutCompose.js +44 -38
  142. package/dist/services/codefirst/layoutCompose.js.map +1 -2
  143. package/dist/services/codefirst/layoutCore.js +14 -1
  144. package/dist/services/codefirst/layoutCore.js.map +1 -2
  145. package/dist/services/codefirst/layoutPaths.js +80 -4
  146. package/dist/services/codefirst/layoutPaths.js.map +1 -2
  147. package/dist/services/codefirst/layoutProjection.js +73 -39
  148. package/dist/services/codefirst/layoutProjection.js.map +1 -2
  149. package/dist/services/codefirst/layoutReadback.js +357 -130
  150. package/dist/services/codefirst/layoutReadback.js.map +2 -3
  151. package/dist/services/codefirst/layoutReadbackPlacement.js +94 -57
  152. package/dist/services/codefirst/layoutReadbackPlacement.js.map +2 -3
  153. package/dist/services/codefirst/layoutReceipt.js +283 -243
  154. package/dist/services/codefirst/layoutReceipt.js.map +2 -3
  155. package/dist/services/codefirst/layoutScan.js +208 -110
  156. package/dist/services/codefirst/layoutScan.js.map +1 -2
  157. package/dist/services/codefirst/output.js +76 -10
  158. package/dist/services/codefirst/output.js.map +1 -2
  159. package/dist/services/codefirst/types.js.map +0 -1
  160. package/dist/services/codefirst/workflow.js +65 -29
  161. package/dist/services/codefirst/workflow.js.map +2 -3
  162. package/dist/services/codefirst/workspace.js.map +0 -1
  163. package/dist/services/codefirst/workspaceLock.js.map +0 -1
  164. package/dist/services/codefirst/workspaceRoot.js +2 -1
  165. package/dist/services/codefirst/workspaceRoot.js.map +1 -2
  166. package/dist/services/configService.js.map +0 -1
  167. package/dist/services/credentials.js.map +0 -1
  168. package/dist/services/farseerService.js +31 -7
  169. package/dist/services/farseerService.js.map +1 -2
  170. package/dist/services/httpError.js.map +0 -1
  171. package/dist/services/modelExport.js.map +0 -1
  172. package/dist/services/organisation.js.map +0 -1
  173. package/dist/services/preflight.js.map +0 -1
  174. package/dist/services/realms.js.map +0 -1
  175. package/dist/services/syncService.js +3 -3
  176. package/dist/services/syncService.js.map +1 -2
  177. package/dist/skills/bundled.js +106 -0
  178. package/dist/skills/bundled.js.map +6 -0
  179. package/dist/skills/install.js +257 -0
  180. package/dist/skills/install.js.map +6 -0
  181. package/dist/skills/pipeline.js +10 -18
  182. package/dist/skills/pipeline.js.map +1 -2
  183. package/dist/utils/agentSandbox.js +1 -1
  184. package/dist/utils/agentSandbox.js.map +0 -1
  185. package/dist/utils/cliOptions.js.map +0 -1
  186. package/dist/utils/constants.js.map +0 -1
  187. package/dist/utils/entityResolver.js +72 -25
  188. package/dist/utils/entityResolver.js.map +1 -2
  189. package/dist/utils/errorFormatter.js +72 -11
  190. package/dist/utils/errorFormatter.js.map +1 -2
  191. package/dist/utils/fileLogger.js.map +0 -1
  192. package/dist/utils/fileValidation.js.map +0 -1
  193. package/dist/utils/folderMatch.js.map +0 -1
  194. package/dist/utils/formulaFilters.js +11 -2
  195. package/dist/utils/formulaFilters.js.map +1 -2
  196. package/dist/utils/helpers.js.map +0 -1
  197. package/dist/utils/logger.js.map +0 -1
  198. package/dist/utils/nameResolver.js.map +0 -1
  199. package/dist/utils/operationCli.js +102 -0
  200. package/dist/utils/operationCli.js.map +6 -0
  201. package/dist/utils/packageManager.js.map +0 -1
  202. package/dist/utils/syncReporting.js.map +0 -1
  203. package/dist/utils/syncScope.js.map +0 -1
  204. package/dist/utils/updateCheck.js.map +0 -1
  205. package/dist/utils/variableValues.js.map +0 -1
  206. package/dist/utils/workspace.js.map +0 -1
  207. package/docs/cli-guide.md +182 -2
  208. package/docs/import-workflows.md +14 -14
  209. package/docs/new-app-template.md +1 -1
  210. package/docs/pipeline-client-guide.md +1 -1
  211. package/docs/pipeline-reference.md +304 -9
  212. package/docs/troubleshooting.md +18 -0
  213. package/package.json +2 -2
  214. package/skills/farseer-analysis/SKILL.md +132 -0
  215. package/skills/farseer-app-dev/SKILL.md +131 -0
  216. package/skills/farseer-app-dev/assignments.md +185 -0
  217. package/skills/farseer-app-dev/farseer-client-api-guide.md +907 -0
  218. package/skills/farseer-app-dev/farseer-client-release-notes.md +212 -0
  219. package/skills/farseer-app-dev/working-patterns.md +876 -0
  220. package/skills/farseer-authenticate-to-tenant/SKILL.md +60 -0
  221. package/skills/farseer-authenticate-to-tenant/app-authentication.md +91 -0
  222. package/skills/farseer-author-import-job/SKILL.md +114 -0
  223. package/skills/farseer-author-import-job/cell-writes.md +530 -0
  224. package/skills/farseer-author-import-job/deploying-a-farseer-app.md +383 -0
  225. package/skills/farseer-author-import-job/import-job-pattern.md +232 -0
  226. package/skills/farseer-build-model/SKILL.md +122 -0
  227. package/skills/farseer-build-model/formula-grain-alignment.md +612 -0
  228. package/skills/farseer-build-model/naming-conventions.md +435 -0
  229. package/skills/farseer-build-model/sparse-formulas-pattern.md +330 -0
  230. package/skills/farseer-build-pipeline/SKILL.md +190 -0
  231. package/skills/farseer-build-pipeline/erp-sales/README.md +108 -0
  232. package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/bronze/erp_sales_invoice_lines.yaml +23 -0
  233. package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/bronze/erp_sales_invoice_lines_raw.yaml +23 -0
  234. package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/bronze/erp_sales_item_product_map.yaml +17 -0
  235. package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/bronze/erp_sales_item_product_map_raw.yaml +11 -0
  236. package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/gold/erp_sales_cells.yaml +40 -0
  237. package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/silver/erp_sales_lines.yaml +35 -0
  238. package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/silver/erp_sales_recon.yaml +43 -0
  239. package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/silver/erp_sales_unmapped_items.yaml +28 -0
  240. package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/main.py +49 -0
  241. package/skills/farseer-build-pipeline/erp-sales/erp-sales-load/Models/in/erp_sales_cells.yaml +17 -0
  242. package/skills/farseer-build-pipeline/erp-sales/erp-sales-load/Models/in/erp_sales_cells_raw.yaml +14 -0
  243. package/skills/farseer-build-pipeline/erp-sales/erp-sales-load/Models/load/erp_sales_to_model.yaml +47 -0
  244. package/skills/farseer-build-pipeline/erp-sales/erp-sales-load/main.py +44 -0
  245. package/skills/farseer-build-pipeline/erp-sales/item_to_product.csv +5 -0
  246. package/skills/farseer-build-pipeline/pipeline-app-failure-report-pattern.md +103 -0
  247. package/skills/farseer-build-pipeline/pipeline-source-encoding.md +68 -0
  248. package/skills/farseer-dashboards/SKILL.md +40 -0
  249. package/skills/farseer-formulas/SKILL.md +165 -0
  250. package/skills/farseer-help-center/SKILL.md +66 -0
  251. package/skills/farseer-model/SKILL.md +119 -0
  252. package/skills/farseer-modify-model/SKILL.md +158 -0
  253. package/skills/farseer-modify-model/model-validation-pattern.md +251 -0
  254. package/skills/farseer-optimize-model/SKILL.md +314 -0
  255. package/skills/farseer-optimize-model/stats-dump.ts +139 -0
  256. package/skills/farseer-pnl/SKILL.md +220 -0
  257. package/skills/farseer-review-model/SKILL.md +172 -0
  258. package/skills/farseer-run-apps/SKILL.md +102 -0
  259. package/skills/pipeline-authoring/SKILL.md +7 -5
  260. package/skills/pipeline-authoring/practices.md +21 -8
  261. package/dist/services/agentApprovalFetch.js +0 -86
  262. package/dist/services/agentApprovalFetch.js.map +0 -7
@@ -0,0 +1,212 @@
1
+ # `farseer-client` release notes
2
+
3
+ The vendor publishes **no release notes**. Everything here comes from diffing
4
+ the typed surface (`dist/generated/**/*.d.ts`) of the published tarballs.
5
+
6
+ **Where versions sit:** older apps vendor **1.8.12** (what older CLIs
7
+ scaffolded); `farseer pull` now writes **1.18.1**, the newest published build
8
+ (2026-10-20). Anything below is invisible to code written
9
+ against 1.8.12. This page diffs 1.8.12 → 1.8.21; what the later bumps changed is under
10
+ [1.4.5 → 1.14.0](#145--1140) and
11
+ [1.14.0 → 1.16.0](#1140--1160--the-move-to-npm).
12
+
13
+ ---
14
+
15
+ ## Where the client comes from — npm, not the bucket
16
+
17
+ Since 1.16.0 the client is published on npm as
18
+ [`@farseerdev/farseer-client`](https://www.npmjs.com/package/@farseerdev/farseer-client).
19
+ Depend on it through an alias, so the import name stays `farseer-client`:
20
+
21
+ ```json
22
+ "farseer-client": "npm:@farseerdev/farseer-client@1.18.1"
23
+ ```
24
+
25
+ `npm view @farseerdev/farseer-client versions` lists what exists. On
26
+ 2026-10-20 that was **1.16.0, 1.17.0 and 1.18.1** — older builds were briefly
27
+ published and withdrawn, so moving a dependency off the bucket also means
28
+ moving it to at least 1.16.0.
29
+
30
+ **The old registry is going away.** Releases up to 1.14.0 were tarballs in a
31
+ GCS bucket (`https://storage.googleapis.com/farseer-remote-jobs-results/farseer-client/release-<ver>.tar`),
32
+ which is being made private. A `package.json` or lock file
33
+ that still points there stops installing once it is. Never write a bucket URL
34
+ into a new app. A `package.json` that an older `farseer pull` generated may still carry
35
+ one (1.8.12); `farseer pull` and `farseer install` from a current CLI replace it
36
+ with the npm alias.
37
+
38
+ **The bare name is a trap.** `farseer-client` on npm is an empty placeholder
39
+ (0.0.1, "Reserved by Farseer"). `npm install farseer-client` or a
40
+ `"farseer-client": "*"` dependency installs it without complaint, and every
41
+ import of `farseer-client` then fails. Always install through the alias.
42
+
43
+ ### An existing app still on the bucket or on `"*"` — fixing it
44
+
45
+ Apps written before the move keep the pin
46
+ they were written with until someone touches them. When you work on an app and
47
+ its `package.json` has `"farseer-client"` pointing at
48
+ `storage.googleapis.com/…/release-<ver>.tar` or at `"*"` — or it has no
49
+ `farseer-client` dependency at all and its README symlinks the farseer CLI's
50
+ bundled copy into `node_modules/`, or an install fails with a `403` from that
51
+ URL, or the code fails with `Cannot find module 'farseer-client'` — fix it
52
+ before anything else:
53
+
54
+ 1. **The app's own `package.json`** (and any other app the project wrote
55
+ itself): set `"farseer-client": "npm:@farseerdev/farseer-client@1.18.1"`,
56
+ delete `node_modules/`, reinstall with the app's package manager, and drop
57
+ any symlink step from its README. Commit the lock file only if the project
58
+ tracks it.
59
+ **On pnpm 11** the install fails with `ERR_PNPM_EXOTIC_SUBDEP`: the SDK
60
+ pulls `xlsx` from a URL (`cdn.sheetjs.com`), and pnpm 11 blocks URL
61
+ sub-dependencies by default. Install with
62
+ `pnpm install --config.block-exotic-subdeps=false`, and write that into the
63
+ README. npm and pnpm 9 install it as is.
64
+ 2. **`farseer-apps/<tenant>/package.json`** comes from `farseer pull`.
65
+ `farseer pull` and `farseer install <tenant>` move a bucket tarball or an
66
+ older CLI-written pin to `npm:@farseerdev/farseer-client@1.18.1`; a pin you
67
+ set yourself (a newer version, a range, a path) is kept.
68
+ **`farseer-client-axios`** — some of these also pin it to a bucket tarball.
69
+ It is deprecated and will not move to npm; `farseer-client` replaces it.
70
+ `farseer pull` / `farseer install` drop a bucket-pinned line; delete any
71
+ other (in any `package.json`). If code imports it, port those calls to
72
+ `farseer-client` first.
73
+ 3. **Typecheck.** The jump is from 1.4.5–1.8.12 to 1.18.1. The typed surface
74
+ mostly grows, but `LockRuleFilter.exclude` is gone since 1.8.19 (see
75
+ [Semi-breaking](#-semi-breaking)).
76
+ 4. **Check the constructor.** Since 1.14 the positional and no-argument forms
77
+ (`new FarseerClient(tenantId, apiKey, url)`, `new FarseerClient()`) read
78
+ `process.env.FARSEER_TOKEN` themselves and throw *"Cannot set both …"* when it and the
79
+ API-key variable are both present — `farseer run`
80
+ sets the token after a browser login (when no API key is saved for the
81
+ tenant), so an app that also loads an API key from `.env` breaks.
82
+ Build the client with the options object, passing the one credential you
83
+ chose:
84
+ `new FarseerClient({ tenantId, basePath, apiKey })` or
85
+ `new FarseerClient({ tenantId, basePath, token })`. That form reads no env.
86
+ 5. **Run it once against a non-production tenant** before you call it done —
87
+ no project app was run on 1.16.0 when the client moved.
88
+
89
+ Fix only the app you are working on, and say in the
90
+ commit that it is the npm move; do not sweep a whole project unasked.
91
+
92
+ As of 2026-09-01 the bucket's highest build was 1.8.21, with gaps at 1.8.17 and
93
+ 1.8.18 (pulled builds); on 2026-10-17 1.14.0 answered 200 and 1.14.1 and 1.15.0
94
+ answered 403. The package name inside those tarballs changed to
95
+ `@farseer/farseer-client` somewhere after 1.4.5 (npm's is
96
+ `@farseerdev/farseer-client`); an alias or a URL dependency installs either one
97
+ under `farseer-client`, so imports do not change.
98
+
99
+ ---
100
+
101
+ ## 1.8.12 → 1.8.21 — the delta that matters
102
+
103
+ ### ⚠ Semi-breaking
104
+
105
+ - **`LockRuleFilter.exclude` is REMOVED**, replaced by `displayColumns`. Code
106
+ that builds exclusion-based global cell-lock rules must switch to
107
+ include-lists before upgrading past 1.8.19. `LockRules` also gains
108
+ `name` / `description`.
109
+
110
+ ### Typed fields that were silently dropped before
111
+
112
+ - **`dimensionTable.locked?: boolean`** is now typed, with the docstring *"A
113
+ soft lock — the Farseer UI disables editing controls; API and app callers are
114
+ unaffected"*. On ≤ 1.8.16 **the JSON mappers drop this field in both
115
+ directions**, so table-lock automation on an older client has to go raw.
116
+
117
+ ### New capability worth designing for
118
+
119
+ - **App / remote-job arguments get a real schema**
120
+ (`RemoteJobExpectedArgumentInput`): `type: variable|constant|boolean|dropdown`,
121
+ `dataType: string|boolean`, `fixed`, `options: string[]`, `secret`,
122
+ `defaultValue`. Manifest arguments can be **dropdowns with an options list**
123
+ instead of free-text — directly useful for every multi-mode app dialog, and
124
+ the mechanism behind the "≤ 6 fields, lock the rest" app UX recommended
125
+ for apps.
126
+ - **Server-side undo/redo** on Sheets *and* Dashboards: `undo` / `redo` /
127
+ `getUndoState` keyed by `undoScopeId`. `sheets.setData` now accepts
128
+ `undoScopeId` / `screenKey` and **returns `SetDataSheetResponse`** (it was
129
+ `void`). `UndoState` exposes `canUndo` / `canRedo` / `undoDepth` / `redoDepth`.
130
+ - **`ImportJobMetadata` gains `skipEmptyRows`, `skipDuplicateHeaderRows`,
131
+ `skipLowSignalRows`**; `BatchUpdateImportJobRowsRow` gains `skipped`. Import
132
+ robustness knobs that previously had to be handled in the caller. (The
133
+ flag that decides zero handling, `importZeros`, is older — see
134
+ [`import-job-pattern.md`](../farseer-author-import-job/import-job-pattern.md) §5.)
135
+ - **`EntityRelationType` gains `tableForeignKeys` + `variableDimensions`**, so
136
+ `entities.getRelations` can traverse FK links and variable grains — the
137
+ missing piece for impact-analysis tooling ("who references this table?").
138
+
139
+ ### `CreateSheetRequest` gains `refSheetId` + `refConfig`
140
+
141
+ The gotcha that
142
+ SDK `sheets.create` silently drops `refSheetId` / `refConfig` is therefore *at
143
+ least partially* addressed at the typed level on ≥ 1.8.19.
144
+ `rows.filters` and `columns.custom` behaviour
145
+ is still unverified, and the typed surface gaining a field is not the same as
146
+ the backend honouring it.
147
+
148
+ ### Smaller
149
+
150
+ `ExportFormat` adds `csv-bom`; `NumberFormatUnit` adds `THOUSANDS_K` /
151
+ `MILLIONS_M` / `BILLIONS_B`; `AuditLogType` adds `CHAT.*` events;
152
+ a new Chat / AI-analyst API family appears (`AgentType.Analyst`, chat feedback
153
+ models); Labs adds `createCheckpoint` for FSL datasets.
154
+
155
+ ---
156
+
157
+ ## 1.4.5 → 1.14.0
158
+
159
+ Diffed from the two published tarballs and re-tested on a sandbox tenant
160
+ (2026-10-17):
161
+
162
+ - **Transport.** `node-fetch@2` → Node's native `fetch` (undici). Importing the
163
+ SDK installs an undici global dispatcher with **no** headers/body timeout and
164
+ silences the `punycode` deprecation warning — both process-wide. The
165
+ `node-fetch` gzip race is gone.
166
+ - **Constructors.** A new options object
167
+ `new FarseerClient({ tenantId, basePath, apiKey | token })` that reads no env.
168
+ The no-arg / positional form now also reads `FARSEER_TOKEN` (a bearer) next to
169
+ the API-key variable, and **throws** *"Cannot set both …"* when both are
170
+ present — including when you pass the API key
171
+ positionally while a `farseer run` token sits in the env. Every form still
172
+ appends `/api/v3` to a URL that lacks it.
173
+ - **Sheet models carry what 1.4.5 dropped:** `rows.sort`,
174
+ `refConfig.useSort` / `useTemplates`, `display.freezeColumns` / `freezeRows`,
175
+ `rows.filters[].autoApply`, `columns.standardReadonly`. An SDK
176
+ `sheets.get` → `sheets.getData` round trip, 400 on 1.4.5, works on 1.14.0.
177
+ - **App arguments.** `RemoteJobExpectedArgumentInput` serializes `dataType`,
178
+ `options`, `fixed`, `secret` (and the legacy `type` only if you set it):
179
+ typed arguments created by script now survive.
180
+ - **Global locks.** `LockRuleFilter.exclude` is gone (see the semi-breaking
181
+ note above); `LockRules.enabled` arrives typed — `false` means the rule is
182
+ switched off.
183
+ - **`FarseerClient.copyCells`** now calls `model.copyCells` with RQL selectors
184
+ `sum($<id>, …)` instead of `cells.copyCells` with `tags(…)`; its docstring
185
+ warns that a source formula referencing the target variable does not persist
186
+ the clearing of uncovered target cells.
187
+ - **File upload** (`uploadFile` / `uploadStream`, and the SDK helpers that
188
+ upload) goes through a signed URL with a multipart fallback.
189
+ - **Unchanged:** the import-job helpers (`buildImportJobMetadata` still
190
+ hardcodes `importZeros: false` / `overwriteCells: false`;
191
+ `createImportJob` / `commit` identical), `ModelDumpRequest`'s four fields,
192
+ and the generated runtime (`Configuration`: `basePath`, `headers`,
193
+ `fetchApi`) that raw-HTTP helpers read.
194
+
195
+ ---
196
+
197
+ ## 1.14.0 → 1.16.0 — the move to npm
198
+
199
+ Diffed from the 1.14.0 tarball and the 1.16.0 npm package (2026-10-17). The
200
+ typed surface only grows; no declaration was removed or changed shape.
201
+
202
+ - **Requests stay on their host.** The SDK's axios wrapper now sends requests
203
+ only to the host of its base URL, and over https when the base URL uses it —
204
+ neither an absolute URL nor a redirect can carry the credentials elsewhere.
205
+ A separate `login()` may call another host (an OAuth2 token endpoint) with
206
+ only the credentials it is given.
207
+ - **New, additive:** `remoteJobs.bundleList` and queued-run cancel
208
+ (`RemoteJobsApiCancelQueuedRequest`), a CLI-compatibility probe
209
+ (`x-farseer-cli-version`), Labs planner endpoints (`LabsPlanner*`), and the
210
+ `CODE_FIRST_APPLY` audit-log type.
211
+ - **Dependencies:** axios ^1.20.0, form-data ^4.0.6, undici ^6.29.0.
212
+