@lotics/cli 0.87.0 → 0.87.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.
@@ -58303,11 +58303,10 @@ ${e.toString()}`);
58303
58303
  return val && typeof val === "object" ? val : {};
58304
58304
  }
58305
58305
 
58306
- // ../xlsx/src/biff8_reader.ts
58306
+ // ../shared/src/ole.ts
58307
58307
  var OLE2_MAGIC2 = [208, 207, 17, 224, 161, 177, 26, 225];
58308
58308
  var ENDOFCHAIN = 4294967294;
58309
58309
  var FREESECT = 4294967295;
58310
- var DEFAULT_MAX_ROWS = 1e4;
58311
58310
  function isOle2(bytes) {
58312
58311
  return bytes.length >= 8 && OLE2_MAGIC2.every((b, i3) => bytes[i3] === b);
58313
58312
  }
@@ -58322,7 +58321,7 @@ ${e.toString()}`);
58322
58321
  const firstMiniFatSector = u32(60);
58323
58322
  const firstDifatSector = u32(68);
58324
58323
  if (sectorSize < 512 || sectorSize > 1 << 20) {
58325
- throw new Error("Unsupported .xls: invalid OLE2 sector size");
58324
+ throw new Error("Unsupported OLE2 file: invalid sector size");
58326
58325
  }
58327
58326
  const sectorOffset = (n) => sectorSize * (n + 1);
58328
58327
  const maxSectors = Math.ceil(bytes.length / sectorSize) + 1;
@@ -58384,6 +58383,25 @@ ${e.toString()}`);
58384
58383
  const readStream = (e) => e.size >= miniCutoff ? readBig(e.start, e.size) : readMini(e.start, e.size);
58385
58384
  return dir.filter((e) => e.type === 2).map((e) => ({ name: e.name, bytes: readStream(e) }));
58386
58385
  }
58386
+ function utf16le(b) {
58387
+ let s = "";
58388
+ for (let i3 = 0; i3 + 1 < b.length; i3 += 2) s += String.fromCharCode(b[i3] | b[i3 + 1] << 8);
58389
+ return s;
58390
+ }
58391
+ function concat(parts) {
58392
+ let total = 0;
58393
+ for (const p of parts) total += p.length;
58394
+ const out = new Uint8Array(total);
58395
+ let o = 0;
58396
+ for (const p of parts) {
58397
+ out.set(p, o);
58398
+ o += p.length;
58399
+ }
58400
+ return out;
58401
+ }
58402
+
58403
+ // ../xlsx/src/biff8_reader.ts
58404
+ var DEFAULT_MAX_ROWS = 1e4;
58387
58405
  var REC = {
58388
58406
  FORMULA: 6,
58389
58407
  EOF: 10,
@@ -58682,22 +58700,6 @@ ${e.toString()}`);
58682
58700
  }
58683
58701
  return s;
58684
58702
  }
58685
- function utf16le(b) {
58686
- let s = "";
58687
- for (let i3 = 0; i3 + 1 < b.length; i3 += 2) s += String.fromCharCode(b[i3] | b[i3 + 1] << 8);
58688
- return s;
58689
- }
58690
- function concat(parts) {
58691
- let total = 0;
58692
- for (const p of parts) total += p.length;
58693
- const out = new Uint8Array(total);
58694
- let o = 0;
58695
- for (const p of parts) {
58696
- out.set(p, o);
58697
- o += p.length;
58698
- }
58699
- return out;
58700
- }
58701
58703
  function builtinFormat(id) {
58702
58704
  const DATES = {
58703
58705
  14: "m/d/yyyy",
package/dist/src/cli.js CHANGED
@@ -30830,12 +30830,12 @@ export default defineConfig({
30830
30830
  // default export the dev optimizer won't synthesize unbundled ("does not
30831
30831
  // provide an export named 'default'") \u2014 blanking the iframe the moment a
30832
30832
  // markdown component mounts. Pre-bundling react-markdown folds the whole
30833
- // subtree (incl. style-to-js) into one interop'd chunk; remark-gfm (imported
30834
- // alongside it) is pre-bundled for the same consistency. Both are regular
30835
- // deps of @lotics/ui (hoisted), so they need no package.json entry here.
30833
+ // subtree (incl. style-to-js) into one interop'd chunk. It is a regular dep
30834
+ // of @lotics/ui (hoisted), so it needs no package.json entry here. (The GFM
30835
+ // plugin @lotics/ui composes is pure ESM \u2014 no CJS interop to force.)
30836
30836
  include: [
30837
30837
  "react-native-svg",
30838
- "react-markdown", "remark-gfm",
30838
+ "react-markdown",
30839
30839
  "react-native-web", "@react-native/normalize-colors",
30840
30840
  "inline-style-prefixer/lib/createPrefixer",
30841
30841
  "inline-style-prefixer/lib/plugins/crossFade",
@@ -43352,11 +43352,10 @@ function ensureVmlArray(val) {
43352
43352
  return Array.isArray(val) ? val : [val];
43353
43353
  }
43354
43354
 
43355
- // ../xlsx/src/biff8_reader.ts
43355
+ // ../shared/src/ole.ts
43356
43356
  var OLE2_MAGIC2 = [208, 207, 17, 224, 161, 177, 26, 225];
43357
43357
  var ENDOFCHAIN = 4294967294;
43358
43358
  var FREESECT = 4294967295;
43359
- var DEFAULT_MAX_ROWS = 1e4;
43360
43359
  function isOle2(bytes) {
43361
43360
  return bytes.length >= 8 && OLE2_MAGIC2.every((b, i2) => bytes[i2] === b);
43362
43361
  }
@@ -43371,7 +43370,7 @@ function readCfbStreams(bytes) {
43371
43370
  const firstMiniFatSector = u32(60);
43372
43371
  const firstDifatSector = u32(68);
43373
43372
  if (sectorSize < 512 || sectorSize > 1 << 20) {
43374
- throw new Error("Unsupported .xls: invalid OLE2 sector size");
43373
+ throw new Error("Unsupported OLE2 file: invalid sector size");
43375
43374
  }
43376
43375
  const sectorOffset = (n) => sectorSize * (n + 1);
43377
43376
  const maxSectors = Math.ceil(bytes.length / sectorSize) + 1;
@@ -43433,6 +43432,25 @@ function readCfbStreams(bytes) {
43433
43432
  const readStream = (e) => e.size >= miniCutoff ? readBig(e.start, e.size) : readMini(e.start, e.size);
43434
43433
  return dir.filter((e) => e.type === 2).map((e) => ({ name: e.name, bytes: readStream(e) }));
43435
43434
  }
43435
+ function utf16le(b) {
43436
+ let s = "";
43437
+ for (let i2 = 0; i2 + 1 < b.length; i2 += 2) s += String.fromCharCode(b[i2] | b[i2 + 1] << 8);
43438
+ return s;
43439
+ }
43440
+ function concat(parts) {
43441
+ let total = 0;
43442
+ for (const p of parts) total += p.length;
43443
+ const out = new Uint8Array(total);
43444
+ let o = 0;
43445
+ for (const p of parts) {
43446
+ out.set(p, o);
43447
+ o += p.length;
43448
+ }
43449
+ return out;
43450
+ }
43451
+
43452
+ // ../xlsx/src/biff8_reader.ts
43453
+ var DEFAULT_MAX_ROWS = 1e4;
43436
43454
  var REC = {
43437
43455
  FORMULA: 6,
43438
43456
  EOF: 10,
@@ -43731,22 +43749,6 @@ function readUnicodeShort(b, offset, lenBytes) {
43731
43749
  }
43732
43750
  return s;
43733
43751
  }
43734
- function utf16le(b) {
43735
- let s = "";
43736
- for (let i2 = 0; i2 + 1 < b.length; i2 += 2) s += String.fromCharCode(b[i2] | b[i2 + 1] << 8);
43737
- return s;
43738
- }
43739
- function concat(parts) {
43740
- let total = 0;
43741
- for (const p of parts) total += p.length;
43742
- const out = new Uint8Array(total);
43743
- let o = 0;
43744
- for (const p of parts) {
43745
- out.set(p, o);
43746
- o += p.length;
43747
- }
43748
- return out;
43749
- }
43750
43752
  function builtinFormat(id) {
43751
43753
  const DATES = {
43752
43754
  14: "m/d/yyyy",
@@ -235,12 +235,12 @@ export default defineConfig({
235
235
  // default export the dev optimizer won't synthesize unbundled ("does not
236
236
  // provide an export named 'default'") — blanking the iframe the moment a
237
237
  // markdown component mounts. Pre-bundling react-markdown folds the whole
238
- // subtree (incl. style-to-js) into one interop'd chunk; remark-gfm (imported
239
- // alongside it) is pre-bundled for the same consistency. Both are regular
240
- // deps of @lotics/ui (hoisted), so they need no package.json entry here.
238
+ // subtree (incl. style-to-js) into one interop'd chunk. It is a regular dep
239
+ // of @lotics/ui (hoisted), so it needs no package.json entry here. (The GFM
240
+ // plugin @lotics/ui composes is pure ESM no CJS interop to force.)
241
241
  include: [
242
242
  "react-native-svg",
243
- "react-markdown", "remark-gfm",
243
+ "react-markdown",
244
244
  "react-native-web", "@react-native/normalize-colors",
245
245
  "inline-style-prefixer/lib/createPrefixer",
246
246
  "inline-style-prefixer/lib/plugins/crossFade",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.87.0",
3
+ "version": "0.87.1",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {