Skip to content
SocksTheWolf edited this page Oct 28, 2026 · 1 revision

Old Capture

const aiFileNameRegex = new RegExp(`(${
  // the complex dynamic ai spread markers
  [`^[^#\\s]*(?:${aiSpreadMarkers.join("|")}).*$`,
  // dynamically escape any ., * and - characters so they are the literals
  ...[...aiFileMarkers, ...aiRecompModules].map((itm) => itm.replace(/(\*|\.|\-)/g, "\\$1"))]
// then join the entire array with OR gates, and that builds our regex.
.join("|")})`, "igm");

Dependency Scans

If we wanted to expand out file scanning, here's what we would scan for each file. I do think this is super overkill and will just make the entire process slower.

Python

Scan requirements.txt or pyproject.toml, look for the following:

# LangChain Core
langchain
langchain-core

# OpenAI Integration
langchain-openai
openai

# Anthropic Integration
langchain-anthropic

# Google Gemini (PaLM) Integration
langchain-google-genai
google-generativeai

# Hugging Face Integration
langchain-huggingface
transformers
huggingface-hub

NodeJS

TODO (also a nightmare because nodejs has many different package file formats)

PHP

Look at composer?

Clone this wiki locally