Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,18 @@ If you previously configured `cocoindex-code` via environment variables, the `co
| `COCOINDEX_CODE_EXCLUDED_PATTERNS` | `exclude_patterns` in project `settings.yml` |
| `COCOINDEX_CODE_EXTRA_EXTENSIONS` | `include_patterns` + `language_overrides` in project `settings.yml` |

## Telemetry

`cocoindex-code` sends anonymous usage telemetry through CocoIndex so we can see how the tool is used in aggregate and prioritize improvements. The events identify themselves as `application: cocoindex-code`.

We **do not** collect your source code, file paths, queries, search results, embeddings, settings, or any other content from your codebase or environment.

To opt out, set:

```bash
export COCOINDEX_DISABLE_USAGE_TRACKING=1
```

## Large codebase / Enterprise
[CocoIndex](https://github.com/cocoindex-io/cocoindex) is an ultra efficient indexing engine that also works on large codebases at scale for enterprises. In enterprise scenarios it is a lot more efficient to share indexes with teammates when there are large or many repos. We also have advanced features like branch dedupe etc designed for enterprise users.

Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ classifiers = [

dependencies = [
"mcp>=1.0.0",
"cocoindex[litellm]>=1.0.0,<1.1.0",
"cocoindex[litellm]>=1.0.6,<1.1.0",
"sqlite-vec>=0.1.0",
"pydantic>=2.0.0",
"numpy>=1.24.0",
Expand All @@ -39,23 +39,23 @@ dependencies = [
# `embeddings-local` is the primary feature extra: it pulls in
# `sentence-transformers` (via cocoindex) so local embeddings work without
# an API key.
embeddings-local = ["cocoindex[sentence-transformers]>=1.0.0,<1.1.0"]
embeddings-local = ["cocoindex[sentence-transformers]>=1.0.6,<1.1.0"]
# `full` is the umbrella "batteries-included" alias. Today it's just
# `embeddings-local`, but we expect to bundle more optional niceties under
# it over time — users who want everything can keep using `[full]` and pick
# up the additions automatically. The name also matches the Docker
# `:full` image variant for consistency across install paths. Contents are
# inlined rather than self-referencing `cocoindex-code[embeddings-local]`
# to avoid resolver edge cases with older pip.
full = ["cocoindex[sentence-transformers]>=1.0.0,<1.1.0"]
full = ["cocoindex[sentence-transformers]>=1.0.6,<1.1.0"]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
"prek>=0.1.0",
"cocoindex[sentence-transformers]>=1.0.0,<1.1.0",
"cocoindex[sentence-transformers]>=1.0.6,<1.1.0",
]

[project.scripts]
Expand Down Expand Up @@ -89,7 +89,7 @@ dev = [
"mypy>=1.0.0",
"prek>=0.1.0",
"types-pyyaml>=6.0.12.20250915",
"cocoindex[sentence-transformers]>=1.0.3,<1.1.0",
"cocoindex[sentence-transformers]>=1.0.6,<1.1.0",
]

[tool.ruff]
Expand Down
6 changes: 6 additions & 0 deletions src/cocoindex_code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
from __future__ import annotations

import logging
import os
from typing import TYPE_CHECKING, Any

# Identify this application in cocoindex's telemetry payloads. Must be set
# before any `import cocoindex` runs (the value is read once at telemetry
# init time). See cocoindex-io/cocoindex#1992.
os.environ.setdefault("COCOINDEX_APPLICATION_FOR_TRACKING", "cocoindex-code")

logging.basicConfig(level=logging.WARNING)

from ._version import __version__ # noqa: E402
Expand Down
Loading
Loading