@larkup/tool-video-intelligence 0.2.4 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent.js +8 -2
- package/dist/runtime.js +1 -3
- package/package.json +4 -4
- package/tool.manifest.json +5 -5
- package/runtime/app/__pycache__/__init__.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/__init__.cpython-312.pyc +0 -0
- package/runtime/app/__pycache__/__main__.cpython-312.pyc +0 -0
- package/runtime/app/__pycache__/cloud_worker.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/config.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/config.cpython-312.pyc +0 -0
- package/runtime/app/__pycache__/deepgram_transcribe.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/deepgram_transcribe.cpython-312.pyc +0 -0
- package/runtime/app/__pycache__/ffmpeg_extract.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/gateway_vision.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/gateway_vision.cpython-312.pyc +0 -0
- package/runtime/app/__pycache__/main.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/main.cpython-312.pyc +0 -0
- package/runtime/app/__pycache__/model_configuration.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/model_configuration.cpython-312.pyc +0 -0
- package/runtime/app/__pycache__/motion_sampling.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/pipeline.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/pipeline.cpython-312.pyc +0 -0
- package/runtime/app/__pycache__/progress.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/progress.cpython-312.pyc +0 -0
- package/runtime/app/__pycache__/ranges.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/ranges.cpython-312.pyc +0 -0
- package/runtime/app/__pycache__/sampling.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/sampling.cpython-312.pyc +0 -0
- package/runtime/app/__pycache__/scene_clipping.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/scene_clipping.cpython-312.pyc +0 -0
- package/runtime/app/__pycache__/schemas.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/semantic_vision.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/semantic_vision.cpython-312.pyc +0 -0
- package/runtime/app/__pycache__/service.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/store.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/store.cpython-312.pyc +0 -0
- package/runtime/app/__pycache__/timeline.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/timeline.cpython-312.pyc +0 -0
- package/runtime/app/__pycache__/video_embedding.cpython-311.pyc +0 -0
- package/runtime/app/__pycache__/worker.cpython-311.pyc +0 -0
- package/runtime/app/api/__pycache__/__init__.cpython-311.pyc +0 -0
- package/runtime/app/api/__pycache__/__init__.cpython-312.pyc +0 -0
- package/runtime/app/api/__pycache__/deps.cpython-311.pyc +0 -0
- package/runtime/app/api/__pycache__/deps.cpython-312.pyc +0 -0
- package/runtime/app/api/__pycache__/v1.cpython-311.pyc +0 -0
- package/runtime/app/api/__pycache__/v1.cpython-312.pyc +0 -0
- package/runtime/app/db/__pycache__/__init__.cpython-311.pyc +0 -0
- package/runtime/app/db/__pycache__/__init__.cpython-312.pyc +0 -0
- package/runtime/app/db/__pycache__/schemas.cpython-311.pyc +0 -0
- package/runtime/app/db/__pycache__/schemas.cpython-312.pyc +0 -0
- package/runtime/app/db/__pycache__/store.cpython-311.pyc +0 -0
- package/runtime/app/db/__pycache__/store.cpython-312.pyc +0 -0
- package/runtime/app/services/__pycache__/__init__.cpython-311.pyc +0 -0
- package/runtime/app/services/__pycache__/__init__.cpython-312.pyc +0 -0
- package/runtime/app/services/__pycache__/brain.cpython-311.pyc +0 -0
- package/runtime/app/services/__pycache__/brain.cpython-312.pyc +0 -0
- package/runtime/app/services/__pycache__/embedding.cpython-311.pyc +0 -0
- package/runtime/app/services/__pycache__/embedding.cpython-312.pyc +0 -0
- package/runtime/app/services/__pycache__/jobs.cpython-311.pyc +0 -0
- package/runtime/app/services/__pycache__/jobs.cpython-312.pyc +0 -0
- package/runtime/app/services/__pycache__/motion.cpython-311.pyc +0 -0
- package/runtime/app/services/__pycache__/motion.cpython-312.pyc +0 -0
- package/runtime/app/services/__pycache__/pipeline.cpython-311.pyc +0 -0
- package/runtime/app/services/__pycache__/pipeline.cpython-312.pyc +0 -0
- package/runtime/app/services/__pycache__/scene.cpython-311.pyc +0 -0
- package/runtime/app/services/__pycache__/scene.cpython-312.pyc +0 -0
- package/runtime/app/services/__pycache__/storage.cpython-311.pyc +0 -0
- package/runtime/app/services/__pycache__/storage.cpython-312.pyc +0 -0
- package/runtime/app/services/__pycache__/transcription.cpython-311.pyc +0 -0
- package/runtime/app/services/__pycache__/transcription.cpython-312.pyc +0 -0
- package/runtime/app/services/__pycache__/vision.cpython-311.pyc +0 -0
- package/runtime/app/services/__pycache__/vision.cpython-312.pyc +0 -0
- package/runtime/app/utils/__pycache__/__init__.cpython-311.pyc +0 -0
- package/runtime/app/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- package/runtime/app/utils/__pycache__/timing.cpython-311.pyc +0 -0
- package/runtime/app/utils/__pycache__/timing.cpython-312.pyc +0 -0
package/dist/agent.js
CHANGED
|
@@ -164,7 +164,10 @@ export function attachVideoIntelligenceAgentClient(client, fetcher = globalThis.
|
|
|
164
164
|
'the index agree. A lone reading that contradicts both the other readings and ' +
|
|
165
165
|
'the index -- naming someone or something that appears nowhere else -- is a ' +
|
|
166
166
|
'misreading, whatever confidence it carries; leave it out rather than reporting ' +
|
|
167
|
-
'it.
|
|
167
|
+
'it. IMPORTANT: If a reading states that a detail (e.g. names, identities) is missing, ' +
|
|
168
|
+
'unclear, or not explicitly shown in its limited clip, but that detail IS established ' +
|
|
169
|
+
'by the indexed evidence, rely on the indexed evidence. Do not let an isolated reading ' +
|
|
170
|
+
'erase established timeline facts. Where the readings genuinely conflict, say what is certain and what is not.',
|
|
168
171
|
},
|
|
169
172
|
...temporalContextResult(hits, plan),
|
|
170
173
|
claimVerification: {
|
|
@@ -472,7 +475,10 @@ function assessEvidence(hits, question, plan, durationSecs, investigation, watch
|
|
|
472
475
|
: plan.kinds.includes('evaluation')
|
|
473
476
|
? evaluationEvidenceReady(answerBearing)
|
|
474
477
|
: reconciledSequenceReady ||
|
|
475
|
-
(answerBearing.length >= 3 &&
|
|
478
|
+
(answerBearing.length >= 3 &&
|
|
479
|
+
coverageRatio >= 0.6 &&
|
|
480
|
+
hierarchyReady &&
|
|
481
|
+
sequenceReady),
|
|
476
482
|
};
|
|
477
483
|
}
|
|
478
484
|
const direct = answerEstablishedHits(hits, question, plan.kinds, watched, durationSecs);
|
package/dist/runtime.js
CHANGED
|
@@ -117,9 +117,7 @@ export async function removeVideoRuntime(kind) {
|
|
|
117
117
|
], { timeout: 2 * 60_000, maxBuffer: 1024 * 1024 });
|
|
118
118
|
}
|
|
119
119
|
catch (error) {
|
|
120
|
-
|
|
121
|
-
return;
|
|
122
|
-
throw error;
|
|
120
|
+
console.warn('[video-intelligence] Failed to remove docker runtime during uninstall. Proceeding anyway.', error);
|
|
123
121
|
}
|
|
124
122
|
}
|
|
125
123
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@larkup/tool-video-intelligence",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Installable local and cloud video intelligence with evidence-first indexing.",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"dist",
|
|
35
|
-
"runtime/app",
|
|
35
|
+
"runtime/app/**/*.py",
|
|
36
36
|
"runtime/Dockerfile",
|
|
37
37
|
"runtime/pyproject.toml",
|
|
38
38
|
"runtime/uv.lock",
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@larkup/core": "0.5.
|
|
58
|
+
"@larkup/core": "0.5.3"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/node": "^26",
|
|
62
62
|
"typescript": "^7.0.2",
|
|
63
63
|
"vitest": "^4.1.10",
|
|
64
|
-
"@larkup/marketplace": "0.2.
|
|
64
|
+
"@larkup/marketplace": "0.2.3"
|
|
65
65
|
},
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
package/tool.manifest.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"description": "Help your AI understand your videos, so you can ask questions and get answers from the right moments.",
|
|
8
8
|
"longDescription": "Turn videos into knowledge your AI can understand. It listens to what is said, reads what appears on screen, and helps you find the moments that matter.",
|
|
9
9
|
"category": "media",
|
|
10
|
-
"version": "0.2.
|
|
10
|
+
"version": "0.2.6",
|
|
11
11
|
"pricing": "free",
|
|
12
12
|
"emoji": "🎥",
|
|
13
13
|
"icon": "Film",
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
"label": "Vision provider",
|
|
287
287
|
"type": "select",
|
|
288
288
|
"group": "Video understanding",
|
|
289
|
-
"defaultValue": "
|
|
289
|
+
"defaultValue": "auto",
|
|
290
290
|
"defaultFromGlobalConfigKey": "visionProvider",
|
|
291
291
|
"help": "Defaults to your saved AI Models vision provider. Choose another provider here only for this tool.",
|
|
292
292
|
"options": [
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
"label": "Video vision model",
|
|
328
328
|
"type": "select",
|
|
329
329
|
"group": "Video understanding",
|
|
330
|
-
"defaultValue": "
|
|
330
|
+
"defaultValue": "auto",
|
|
331
331
|
"defaultFromGlobalConfigKey": "visionModelId",
|
|
332
332
|
"providerField": "videoVisionProvider",
|
|
333
333
|
"defaultValueByProvider": {
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
"label": "Agent provider",
|
|
378
378
|
"type": "select",
|
|
379
379
|
"group": "Agent planning",
|
|
380
|
-
"defaultValue": "
|
|
380
|
+
"defaultValue": "auto",
|
|
381
381
|
"defaultFromGlobalConfigKey": "chatProvider",
|
|
382
382
|
"help": "Defaults to your saved AI Models chat provider. Choose another provider here only for this tool.",
|
|
383
383
|
"options": [
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
"label": "Agent / tool-brain model",
|
|
436
436
|
"type": "select",
|
|
437
437
|
"group": "Agent planning",
|
|
438
|
-
"defaultValue": "
|
|
438
|
+
"defaultValue": "auto",
|
|
439
439
|
"defaultFromGlobalConfigKey": "chatModelId",
|
|
440
440
|
"providerField": "videoAgentProvider",
|
|
441
441
|
"defaultValueByProvider": {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|