Ritik Kumar
Ritik Kumar
AGENTQL REPOSITORY ANALYSIS & BUG REPORT REPORT ================================================================================ Repository: https://github.com/tinyfish-io/agentql.git Total Files Audited: 105+ (Python, JavaScript, Google Colab, GitHub Workflows, Templates) -------------------------------------------------------------------------------- 1. TOP 5 IDENTIFIED BUGS SUMMARY -------------------------------------------------------------------------------- 1....
### What’s broken? In `@blocknote/xl-email-exporter`, user text content is injected directly into `dangerouslySetInnerHTML` without HTML entity encoding. Inside [`packages/xl-email-exporter/src/react-email/reactEmailExporter.tsx`](https://github.com/TypeCellOS/BlockNote/blob/main/packages/xl-email-exporter/src/react-email/reactEmailExporter.tsx#L62-L73), the method `transformStyledText` converts newlines to `` but passes the raw...
### What’s broken? In `@blocknote/core`, `StyleManager.editLink` and `StyleManager.deleteLink` perform an unconditional `position + 1` lookup when locating the link mark at the current cursor position: Inside [`packages/core/src/editor/managers/StyleManager.ts:220-260`](https://github.com/TypeCellOS/BlockNote/blob/main/packages/core/src/editor/managers/StyleManager.ts#L220-L260): ``` ts public...
- **Affected File:** [`src/nodes/events.js`](file:///C:/Users/ritik/.gemini/antigravity/scratch/litegraph.js/src/nodes/events.js#L132) - **Affected Line:** Line 132 - **Component:** Event Subsystem (`events/waitAll`) - **Severity:** High (Core logic failure) #### Description The `WaitAll` node is designed as a synchronization...
- **Affected File:** [`src/litegraph.js`](file:///C:/Users/ritik/.gemini/antigravity/scratch/litegraph.js/src/litegraph.js#L664-L666) & [`src/litegraph.js`](file:///C:/Users/ritik/.gemini/antigravity/scratch/litegraph.js/src/litegraph.js#L2553) - **Affected Lines:** Line 664–666 (`cloneObject`) and Line 2553 (`LGraphNode.prototype.configure`) - **Component:** Serialization & Cloning Subsystem - **Severity:** High (Data corruption / Schema inconsistency)...
- **Affected File:** [`src/nodes/base.js`](file:///C:/Users/ritik/.gemini/antigravity/scratch/litegraph.js/src/nodes/base.js#L363-L365) - **Affected Lines:** Lines 363–365 - **Component:** Core Nodes (`graph/subgraph`) - **Severity:** High (Crash / Unhandled Exception) #### Description When `LiteGraph.use_uuids = true`, `Subgraph.prototype.clone()` calls `this.reassignSubgraphUUIDs(subgraph)`...
- **Affected File:** [`src/litegraph.js`](file:///C:/Users/ritik/.gemini/antigravity/scratch/litegraph.js/src/litegraph.js#L4366) - **Affected Lines:** Lines 4366, 4379, 4383, 4434, 4469 - **Component:** Core Graph Connection Pipeline (`LGraphNode.prototype.connect`) - **Severity:** High (Broken API contract / Connection failure) ####...
**[Bug/Tech Debt] `ensureEl` utility compromises type safety and risks silent runtime exceptions**
🐛 [Bug/Tech Debt] ensureEl Utility Compromises Type Safety and Can Cause Runtime ExceptionsDescriptionWhile reviewing the DOM utility functions, I noticed a type-safety and error-handling issue in ensureEl, located at:src/utils/nodeUtils.ts The...
### Description of the bug --- ### Description of the bug * In `src/__init__.py`, `JM_new_lineart_device_Device` is the Python lineart device (subclassing SWIG's `mupdf.FzDevice2`) used by `Page.get_cdrawings()` when `g_use_extra` is disabled...
### Description of the bug --- ### Description of the bug * `Document.set_toc_item()` accepts a `dest_dict` parameter (documented as the destination dictionary created by `get_toc(False)`). When `dest_dict["kind"] == LINK_GOTO`: ```python...