SShortSingh.
Back to feed

cursor-history CLI Lets Developers Search Cursor Chat Logs Across All Workspaces

0
·1 views

A new open-source command-line tool called cursor-history allows developers to search through Cursor IDE chat conversations stored locally across multiple workspaces. The tool requires no API key, embeddings, or prior capture hooks, and can read chat history that existed before installation. It supports case-insensitive text matching and lets users list, search, export, and inspect sessions using simple commands via Node.js 20.x or compatible versions. Results can be scoped to a specific workspace or searched globally, with session exports available in JSON format for further inspection. Developers working across many projects can use it to quickly locate past debugging conversations, such as finding which project contained a specific authentication or connection-related discussion.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer builds signup-free API where crypto micropayment serves as authentication

A developer built an Australian company lookup API that eliminates the traditional signup process entirely, using the long-dormant HTTP 402 Payment Required status code as its core mechanism. The API queries the ASIC register of over 4 million companies and charges one US cent per call in USDC on the Base blockchain, with no account, API key, or dashboard required. When a client makes a request without payment, the server returns a machine-readable bill; the client then signs a cryptographic payment authorisation and resubmits the request to receive the data. The approach was motivated by the inability of AI agents to complete conventional API onboarding flows, which require human interaction at a browser to obtain credentials. The developer also engineered dual-version compatibility in the payment challenge response, ensuring both x402 v1 and v2 clients can each read a schema they accept without either receiving an invalid document.

0
ProgrammingDEV Community ·

Python Basics Explained: Variables, Data Types, and User Input Handling

Variables in Python act as labels pointing to values stored in memory, rather than being the values themselves, and can be reassigned at any time. Python's built-in type() function allows developers to check the data type of any variable. The input() function pauses program execution to collect user input, but always returns the value as a string regardless of what the user types. This means developers must explicitly convert input to the appropriate data type, such as integer or float, before performing any calculations. This type-checking habit proves especially relevant when working with real-world data from databases or CSV files, where values often arrive as strings by default.

0
ProgrammingDEV Community ·

Developer Releases Modular Monolith Boilerplate Designed for AI-Assisted Coding

A software developer has published an open-source fullstack boilerplate called Modular Monolith Starter on GitHub, aimed at helping solo developers and small teams skip repetitive setup work. The project organizes code into distinct modules — such as auth, users, and notifications — each following a four-layer architecture covering presentation, application, domain, and infrastructure. It uses the Result pattern via the neverthrow library to handle errors as predictable values rather than exceptions, reducing the risk of unhandled crashes. The boilerplate is also optimized for AI coding tools like Cursor and GitHub Copilot by enforcing small files, Zod-defined API contracts, and built-in guardrails against cross-layer imports. The creator describes it as an opinionated but adaptable starting point, encouraging developers to modify it before building on top of it.

0
ProgrammingDEV Community ·

Hard Lessons From Running AI Agents in Production: MCP Failures, Env Leaks, and Infinite Loops

A software engineer shared key lessons learned after deploying AI agents in production environments, where architectural oversights caused serious failures rather than model errors. A misconfigured Docker Compose file inadvertently exposed a production database connection string, which the LLM then included verbatim in its output. Model Context Protocol (MCP) rejections, often triggered by expired tokens, rate limits, or context overflow, were found to cascade silently unless handled as first-class recoverable events. The engineer also encountered non-terminating 70-line execution loops, highlighting the need for explicit failure boundaries in multi-step agent reasoning. Key remedies included scoped environment variables, dynamic credential injection, output sanitization, and dedicated MCP rejection handlers with exponential backoff logic.

cursor-history CLI Lets Developers Search Cursor Chat Logs Across All Workspaces · ShortSingh