@sheetxl/sdk 0.8.0-beta.6 → 0.8.0-beta.7

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.
@@ -1058,6 +1058,14 @@ declare global {
1058
1058
  * This is useful for validation
1059
1059
  */
1060
1060
  disableBundle?: boolean;
1061
+ /**
1062
+ * If true, the bundle is minified. For a module that is stored (a workbook's scripts, a `.sxlm`).
1063
+ *
1064
+ * @remarks
1065
+ * Off by default: code that is only run keeps its own names, so a runtime error reads as the
1066
+ * author wrote it (`wb.getSheet is not a function`, not `a.getSheet`).
1067
+ */
1068
+ minify?: boolean;
1061
1069
  /**
1062
1070
  * If true, this will not include the source map in the compiled module.
1063
1071
  */
@@ -1116,16 +1124,11 @@ declare global {
1116
1124
  * Check the source as code that runs once, not as code kept to be run again.
1117
1125
  *
1118
1126
  * @remarks
1119
- * For an agent's ad hoc run. Only a finding that would fail at run time stops the run; the rest
1120
- * are reported as warnings:
1121
- *
1122
- * - Annotations are not required: an untyped parameter is `any` (no `noImplicitAny`), and a
1123
- * missing type on an entry is not reported.
1124
- * - A member the receiver does not have, read where a missing member is expected - `r.getFormat?.()`,
1125
- * `r.getFormulas ? … : …`, `typeof r.x` - is a probe, and a warning: it reads `undefined`.
1126
- * - A condition on a function that is never called (TS2774) is a warning.
1127
+ * For an ad hoc run (`sheetxl -e`, the MCP `run` tool). Annotations are not required: a default
1128
+ * export's untyped first parameter is the script context, and a missing type is not reported.
1127
1129
  *
1128
- * Only meaningful with {@link ambientTypes}; without them there is no semantic check to relax.
1130
+ * A run is not type-checked before it executes - leave {@link ambientTypes} out. The types are
1131
+ * there to explain a run that went wrong, which is `diagnoseRun` in `@sheetxl/runner`.
1129
1132
  */
1130
1133
  lenient?: boolean;
1131
1134
  }
@@ -1 +0,0 @@
1
- const e=require("./-wfVn4ubg563jjqj.cjs");exports.initializeFunctions=e.R;