Files
cdn/hanzo/market/tools/directory-and-repo-ingestion.json
zeekayandHanzo Dev edabf3842c feat(market): real catalog, verifiable versioning, purge-on-deploy
The Market read plane is files and nothing else. This makes that actually true
and actually deployable.

Catalog: was 10 mock "zoo-eco-agent" placeholders + 5 mock tools, which every
app would have shown to every user. Now generated from the curated flatfile
catalog (hanzoai/store data/{agents,tools}) -> 23 agents + 179 tools, each with
its own detail document. Drops purchases.json: per-user state has no business
on a public CDN. Strips upstream icon URLs, which are expired presigned R2 links
that carry an AWS credential + signature in the query string.

Versioning: index.json gains `schema` (breaking-shape gate, so a client that
does not recognise it keeps its bundle) and a `version` that is a content digest
over every served document. It changes iff what we serve changes, which is what
makes a deploy checkable rather than hopeful.

One writer: gen-market.py -> market.py with `gen` and `check`. It emits the CDN
documents AND each app's offline bundle, so the two cannot disagree about the
schema; `check` re-derives the digest and validates counts, ids, dangling
featured references and per-tool details, with no network and no other checkout.

Deploy: upload, then purge the Cloudflare edge for exactly the URLs written,
then verify the live manifest matches the repo and fail if it does not. Also
resolves wrangler once instead of re-resolving it per object.

CI: hanzo.yml + a 7-line cicd.yml importing hanzoai/ci. Static assets, so no
images:/deploy: — test: is the gate.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-27 20:40:33 -07:00

50 lines
2.6 KiB
JSON

{
"author": "hanzo.ai",
"category": {
"description": "",
"examples": "",
"id": "developer-tools",
"name": "Developer Tools"
},
"changelog": "",
"created_at": "2025-09-17T11:07:01.233Z",
"description": "Ingests local directories or remote GitHub repositories and consolidates their contents into a single, structured text file, optimized for LLM analysis.\n\nKey Features:\n\n* Dual Source Ingestion: Processes code from either a local file path or a direct GitHub repository URL.\n* Structured Output: Generates a clean document containing a summary, a visual directory tree, and the full content of each included file.\n* Granular Content Filtering: Provides robust control over what gets included, with sensible defaults for:\n * Ignoring common directories (`.git`, `node_modules`, `__pycache__`, etc.).\n * Ignoring binary and non-text file extensions (`.pyc`, `.png`, `.pdf`, etc.).\n * Including only recognized code-like files (`.py`, `.js`, `.yml`, `.md`, etc.).\n* File Size Capping: Prevents overly large outputs by skipping the content of individual files that exceed a configurable size limit.\n* Flexible Export Formats: Outputs the final document as either Markdown (`.md`) for rich formatting or Plain Text (`.txt`) for maximum compatibility.\n* LLM-Ready Metrics: Reports the total token count (using `cl100k_base`) and final file size upon completion.\n\nNotes:\n\n* Individual files larger than 100 KB are skipped by default to manage output size. This limit is configurable via the `max_file_size_kb` input.\n* The tool recursively scans all subdirectories, building a complete map of the project structure while applying the filtering rules.\n* The `git` command-line tool must be installed and accessible in your system's PATH to process GitHub URLs.",
"downloads": 3,
"icon_url": "",
"id": "directory-and-repo-ingestion",
"install_command": "",
"license": "MIT",
"mcp_config": {
"args": [
"local:::__official_shinkai:::directory_and_repo_ingestion"
],
"command": "any",
"env": {}
},
"name": "Directory and Repo Ingestion",
"operating_system": [
"linux",
"macos",
"windows"
],
"path": "/tools/directory-and-repo-ingestion",
"price": 0,
"readme": "",
"repository": "github.com/hanzoai/tools",
"router_key": "@hanzo/directory-and-repo-ingestion",
"runner": "any",
"screenshots": [],
"tags": [
"directory",
"repository",
"git",
"github",
"ingest",
"code",
"code base"
],
"type": "Tool",
"updated_at": "2025-09-17T11:07:01.233Z",
"version": "1.0.0"
}