mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-11 20:13:30 +08:00
fix: restore ci compatibility on windows
This commit is contained in:
@@ -108,7 +108,7 @@ The user must set `VIDEO_DB_API_KEY` using **either** method:
|
|||||||
- **Export in terminal** (before starting Claude): `export VIDEO_DB_API_KEY=your-key`
|
- **Export in terminal** (before starting Claude): `export VIDEO_DB_API_KEY=your-key`
|
||||||
- **Project `.env` file**: Save `VIDEO_DB_API_KEY=your-key` in the project's `.env` file
|
- **Project `.env` file**: Save `VIDEO_DB_API_KEY=your-key` in the project's `.env` file
|
||||||
|
|
||||||
Get a free API key at https://console.videodb.io (50 free uploads, no credit card).
|
Get a free API key at [console.videodb.io](https://console.videodb.io) (50 free uploads, no credit card).
|
||||||
|
|
||||||
**Do NOT** read, write, or handle the API key yourself. Always let the user set it.
|
**Do NOT** read, write, or handle the API key yourself. Always let the user set it.
|
||||||
|
|
||||||
@@ -354,7 +354,6 @@ Reference documentation is in the `reference/` directory adjacent to this SKILL.
|
|||||||
- [reference/capture-reference.md](reference/capture-reference.md) - Capture SDK and WebSocket events
|
- [reference/capture-reference.md](reference/capture-reference.md) - Capture SDK and WebSocket events
|
||||||
- [reference/use-cases.md](reference/use-cases.md) - Common video processing patterns and examples
|
- [reference/use-cases.md](reference/use-cases.md) - Common video processing patterns and examples
|
||||||
|
|
||||||
|
|
||||||
**Do not use ffmpeg, moviepy, or local encoding tools** when VideoDB supports the operation. The following are all handled server-side by VideoDB — trimming, combining clips, overlaying audio or music, adding subtitles, text/image overlays, transcoding, resolution changes, aspect-ratio conversion, resizing for platform requirements, transcription, and media generation. Only fall back to local tools for operations listed under Limitations in reference/editor.md (transitions, speed changes, crop/zoom, colour grading, volume mixing).
|
**Do not use ffmpeg, moviepy, or local encoding tools** when VideoDB supports the operation. The following are all handled server-side by VideoDB — trimming, combining clips, overlaying audio or music, adding subtitles, text/image overlays, transcoding, resolution changes, aspect-ratio conversion, resizing for platform requirements, transcription, and media generation. Only fall back to local tools for operations listed under Limitations in reference/editor.md (transitions, speed changes, crop/zoom, colour grading, volume mixing).
|
||||||
|
|
||||||
### When to use what
|
### When to use what
|
||||||
|
|||||||
@@ -380,7 +380,7 @@ results = video.search(
|
|||||||
```
|
```
|
||||||
|
|
||||||
> **Note:** `filter` is an explicit named parameter in `video.search()`. `scene_index_id` is passed through `**kwargs` to the API.
|
> **Note:** `filter` is an explicit named parameter in `video.search()`. `scene_index_id` is passed through `**kwargs` to the API.
|
||||||
|
>
|
||||||
> **Important:** `video.search()` raises `InvalidRequestError` with message `"No results found"` when there are no matches. Always wrap search calls in try/except. For scene search, use `score_threshold=0.3` or higher to filter low-relevance noise.
|
> **Important:** `video.search()` raises `InvalidRequestError` with message `"No results found"` when there are no matches. Always wrap search calls in try/except. For scene search, use `score_threshold=0.3` or higher to filter low-relevance noise.
|
||||||
|
|
||||||
For scene search, use `search_type=SearchType.semantic` with `index_type=IndexType.scene`. Pass `scene_index_id` when targeting a specific scene index. See [search.md](search.md) for details.
|
For scene search, use `search_type=SearchType.semantic` with `index_type=IndexType.scene`. Pass `scene_index_id` when targeting a specific scene index. See [search.md](search.md) for details.
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ Use [scripts/ws_listener.py](../scripts/ws_listener.py) to connect and dump even
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
> For latest details, see https://docs.videodb.io/pages/ingest/capture-sdks/realtime-context.md
|
> For latest details, see [the realtime context docs](https://docs.videodb.io/pages/ingest/capture-sdks/realtime-context.md).
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -2185,9 +2185,9 @@ async function runTests() {
|
|||||||
|
|
||||||
assert.strictEqual(code, 0, `detect-project should source cleanly, stderr: ${stderr}`);
|
assert.strictEqual(code, 0, `detect-project should source cleanly, stderr: ${stderr}`);
|
||||||
|
|
||||||
const [projectId, projectDir] = stdout.trim().split(/\r?\n/);
|
const [projectId] = stdout.trim().split(/\r?\n/);
|
||||||
const registryPath = path.join(homeDir, '.claude', 'homunculus', 'projects.json');
|
const registryPath = path.join(homeDir, '.claude', 'homunculus', 'projects.json');
|
||||||
const projectMetadataPath = path.join(projectDir, 'project.json');
|
const projectMetadataPath = path.join(homeDir, '.claude', 'homunculus', 'projects', projectId, 'project.json');
|
||||||
|
|
||||||
assert.ok(projectId, 'detect-project should emit a project id');
|
assert.ok(projectId, 'detect-project should emit a project id');
|
||||||
assert.ok(fs.existsSync(registryPath), 'projects.json should be created');
|
assert.ok(fs.existsSync(registryPath), 'projects.json should be created');
|
||||||
|
|||||||
Reference in New Issue
Block a user