@lotics/cli 0.243.0 → 0.244.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.
@@ -1531,13 +1531,20 @@ var __loticsProbe = (() => {
1531
1531
  const item = act.closest(ITEM);
1532
1532
  if (item !== null && one.contains(item)) continue;
1533
1533
  let owner;
1534
- for (const title of titles) {
1535
- if (!title.contains(act) && (title.compareDocumentPosition(act) & Node.DOCUMENT_POSITION_FOLLOWING) !== 0) owner = title;
1534
+ for (const title2 of titles) {
1535
+ if (!title2.contains(act) && (title2.compareDocumentPosition(act) & Node.DOCUMENT_POSITION_FOLLOWING) !== 0) owner = title2;
1536
1536
  }
1537
1537
  if (owner !== void 0 && !heading.contains(owner)) continue;
1538
1538
  total += 1;
1539
- if (heading.contains(act)) continue;
1540
- off.push(`"${words4(heading.querySelector(HEADINGS)) || words4(heading) || "(untitled)"}": "${name.slice(0, 40)}" drawn in the section's body`);
1539
+ const said2 = `"${words4(heading.querySelector(HEADINGS)) || words4(heading) || "(untitled)"}": "${name.slice(0, 40)}"`;
1540
+ if (!heading.contains(act)) {
1541
+ off.push(`${said2} drawn in the section's body`);
1542
+ continue;
1543
+ }
1544
+ const title = heading.querySelector(HEADINGS);
1545
+ if (title !== null && !title.contains(act) && act.getBoundingClientRect().top >= title.getBoundingClientRect().bottom) {
1546
+ off.push(`${said2} wrapped under the heading`);
1547
+ }
1541
1548
  }
1542
1549
  }
1543
1550
  return { total, off };
package/dist/src/cli.js CHANGED
@@ -52,7 +52,7 @@ var __toESM = (mod2, isNodeMode, target) => (target = mod2 != null ? __create(__
52
52
  var define_LOTICS_KIT_VERSIONS_default;
53
53
  var init_define_LOTICS_KIT_VERSIONS = __esm({
54
54
  "<define:__LOTICS_KIT_VERSIONS__>"() {
55
- define_LOTICS_KIT_VERSIONS_default = { runtime: "0.30.0" };
55
+ define_LOTICS_KIT_VERSIONS_default = { runtime: "0.30.1" };
56
56
  }
57
57
  });
58
58
 
@@ -55352,7 +55352,7 @@ function resultSideEffects(result) {
55352
55352
 
55353
55353
  // src/version.ts
55354
55354
  init_define_LOTICS_KIT_VERSIONS();
55355
- var VERSION = "0.243.0";
55355
+ var VERSION = "0.244.0";
55356
55356
 
55357
55357
  // src/timezone.ts
55358
55358
  init_define_LOTICS_KIT_VERSIONS();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.243.0",
3
+ "version": "0.244.0",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {