logisheets-logician 1.14.0 → 1.14.1

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.
@@ -817,7 +817,8 @@ var BLOCK_OPS = [
817
817
  "modifySchema",
818
818
  "cellInput",
819
819
  "sortByField",
820
- "modifyDescription"
820
+ "modifyDescription",
821
+ "overrideValidation"
821
822
  ];
822
823
  function asClient(ctx) {
823
824
  return ctx.workbook;
@@ -2781,7 +2782,7 @@ var setBlockPermissions = {
2781
2782
  description: [
2782
2783
  "Set who may do what to a block, one operation at a time.",
2783
2784
  "",
2784
- "Use it on a block you built that must stay under your control: leave `cellInput` open so the user keeps entering data, and reserve `insertDeleteLines`, `removeBlock` and `modifySchema` to the owner so a stray edit cannot take the table out of your hands. `removeBlock` is worth reserving even when the rest is open \u2014 deleting the block takes its records, its schema and this policy with it. `ownerOnly` means only the owning craft; `ownerAndUser` adds the person at the keyboard but no other craft; `all` means anyone.",
2785
+ "Use it on a block you built that must stay under your control: leave `cellInput` open so the user keeps entering data, and reserve `insertDeleteLines`, `removeBlock` and `modifySchema` to the owner so a stray edit cannot take the table out of your hands. `removeBlock` is worth reserving even when the rest is open \u2014 deleting the block takes its records, its schema and this policy with it. `overrideValidation` is narrower than `cellInput`: reserving it lets the user keep typing but holds them to the fields' validation rules, while you can still seed a row you know is incomplete. `ownerOnly` means only the owning craft; `ownerAndUser` adds the person at the keyboard but no other craft; `all` means anyone.",
2785
2786
  "",
2786
2787
  "REPLACES the whole set: an operation you leave out goes back to following `default_policy`. State the block's full stance each time.",
2787
2788
  "",
@@ -2832,7 +2833,8 @@ var setBlockPermissions = {
2832
2833
  modifySchema: policy("modifySchema"),
2833
2834
  cellInput: policy("cellInput"),
2834
2835
  sortByField: policy("sortByField"),
2835
- modifyDescription: policy("modifyDescription")
2836
+ modifyDescription: policy("modifyDescription"),
2837
+ overrideValidation: policy("overrideValidation")
2836
2838
  },
2837
2839
  modifyPolicy: input.default_policy
2838
2840
  }
@@ -30,6 +30,7 @@ const BLOCK_OPS = [
30
30
  'cellInput',
31
31
  'sortByField',
32
32
  'modifyDescription',
33
+ 'overrideValidation',
33
34
  ];
34
35
  /** Narrow the workbook client to the concrete `Client` from logisheets-web.
35
36
  * `ctx.workbook: WorkbookClient` is already a type alias for `Client` —
@@ -2431,7 +2432,7 @@ export const setBlockPermissions = {
2431
2432
  description: [
2432
2433
  'Set who may do what to a block, one operation at a time.',
2433
2434
  '',
2434
- 'Use it on a block you built that must stay under your control: leave `cellInput` open so the user keeps entering data, and reserve `insertDeleteLines`, `removeBlock` and `modifySchema` to the owner so a stray edit cannot take the table out of your hands. `removeBlock` is worth reserving even when the rest is open — deleting the block takes its records, its schema and this policy with it. `ownerOnly` means only the owning craft; `ownerAndUser` adds the person at the keyboard but no other craft; `all` means anyone.',
2435
+ "Use it on a block you built that must stay under your control: leave `cellInput` open so the user keeps entering data, and reserve `insertDeleteLines`, `removeBlock` and `modifySchema` to the owner so a stray edit cannot take the table out of your hands. `removeBlock` is worth reserving even when the rest is open — deleting the block takes its records, its schema and this policy with it. `overrideValidation` is narrower than `cellInput`: reserving it lets the user keep typing but holds them to the fields' validation rules, while you can still seed a row you know is incomplete. `ownerOnly` means only the owning craft; `ownerAndUser` adds the person at the keyboard but no other craft; `all` means anyone.",
2435
2436
  '',
2436
2437
  "REPLACES the whole set: an operation you leave out goes back to following `default_policy`. State the block's full stance each time.",
2437
2438
  '',
@@ -2481,6 +2482,7 @@ export const setBlockPermissions = {
2481
2482
  cellInput: policy('cellInput'),
2482
2483
  sortByField: policy('sortByField'),
2483
2484
  modifyDescription: policy('modifyDescription'),
2485
+ overrideValidation: policy('overrideValidation'),
2484
2486
  },
2485
2487
  modifyPolicy: input.default_policy,
2486
2488
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "logisheets-logician",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "description": "AI agent tools for LogiSheets — platform-agnostic LLM tool definitions, prompts, and skills for operating a real spreadsheet engine. Powers Watson (the in-app assistant) and logisheets-mcp; reusable in any agent host.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -21,8 +21,8 @@
21
21
  "test": "vitest run"
22
22
  },
23
23
  "dependencies": {
24
- "logisheets-core": "^1.14.0",
25
- "logisheets-web": "^1.14.0"
24
+ "logisheets-core": "^1.14.1",
25
+ "logisheets-web": "^1.14.1"
26
26
  },
27
27
  "devDependencies": {
28
28
  "esbuild": "^0.21.0",