@larkup/tool-video-intelligence 0.2.4 → 0.2.5

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.
Files changed (76) hide show
  1. package/dist/agent.js +8 -2
  2. package/dist/runtime.js +1 -3
  3. package/package.json +2 -2
  4. package/tool.manifest.json +10 -29
  5. package/runtime/app/__pycache__/__init__.cpython-311.pyc +0 -0
  6. package/runtime/app/__pycache__/__init__.cpython-312.pyc +0 -0
  7. package/runtime/app/__pycache__/__main__.cpython-312.pyc +0 -0
  8. package/runtime/app/__pycache__/cloud_worker.cpython-311.pyc +0 -0
  9. package/runtime/app/__pycache__/config.cpython-311.pyc +0 -0
  10. package/runtime/app/__pycache__/config.cpython-312.pyc +0 -0
  11. package/runtime/app/__pycache__/deepgram_transcribe.cpython-311.pyc +0 -0
  12. package/runtime/app/__pycache__/deepgram_transcribe.cpython-312.pyc +0 -0
  13. package/runtime/app/__pycache__/ffmpeg_extract.cpython-311.pyc +0 -0
  14. package/runtime/app/__pycache__/gateway_vision.cpython-311.pyc +0 -0
  15. package/runtime/app/__pycache__/gateway_vision.cpython-312.pyc +0 -0
  16. package/runtime/app/__pycache__/main.cpython-311.pyc +0 -0
  17. package/runtime/app/__pycache__/main.cpython-312.pyc +0 -0
  18. package/runtime/app/__pycache__/model_configuration.cpython-311.pyc +0 -0
  19. package/runtime/app/__pycache__/model_configuration.cpython-312.pyc +0 -0
  20. package/runtime/app/__pycache__/motion_sampling.cpython-311.pyc +0 -0
  21. package/runtime/app/__pycache__/pipeline.cpython-311.pyc +0 -0
  22. package/runtime/app/__pycache__/pipeline.cpython-312.pyc +0 -0
  23. package/runtime/app/__pycache__/progress.cpython-311.pyc +0 -0
  24. package/runtime/app/__pycache__/progress.cpython-312.pyc +0 -0
  25. package/runtime/app/__pycache__/ranges.cpython-311.pyc +0 -0
  26. package/runtime/app/__pycache__/ranges.cpython-312.pyc +0 -0
  27. package/runtime/app/__pycache__/sampling.cpython-311.pyc +0 -0
  28. package/runtime/app/__pycache__/sampling.cpython-312.pyc +0 -0
  29. package/runtime/app/__pycache__/scene_clipping.cpython-311.pyc +0 -0
  30. package/runtime/app/__pycache__/scene_clipping.cpython-312.pyc +0 -0
  31. package/runtime/app/__pycache__/schemas.cpython-311.pyc +0 -0
  32. package/runtime/app/__pycache__/semantic_vision.cpython-311.pyc +0 -0
  33. package/runtime/app/__pycache__/semantic_vision.cpython-312.pyc +0 -0
  34. package/runtime/app/__pycache__/service.cpython-311.pyc +0 -0
  35. package/runtime/app/__pycache__/store.cpython-311.pyc +0 -0
  36. package/runtime/app/__pycache__/store.cpython-312.pyc +0 -0
  37. package/runtime/app/__pycache__/timeline.cpython-311.pyc +0 -0
  38. package/runtime/app/__pycache__/timeline.cpython-312.pyc +0 -0
  39. package/runtime/app/__pycache__/video_embedding.cpython-311.pyc +0 -0
  40. package/runtime/app/__pycache__/worker.cpython-311.pyc +0 -0
  41. package/runtime/app/api/__pycache__/__init__.cpython-311.pyc +0 -0
  42. package/runtime/app/api/__pycache__/__init__.cpython-312.pyc +0 -0
  43. package/runtime/app/api/__pycache__/deps.cpython-311.pyc +0 -0
  44. package/runtime/app/api/__pycache__/deps.cpython-312.pyc +0 -0
  45. package/runtime/app/api/__pycache__/v1.cpython-311.pyc +0 -0
  46. package/runtime/app/api/__pycache__/v1.cpython-312.pyc +0 -0
  47. package/runtime/app/db/__pycache__/__init__.cpython-311.pyc +0 -0
  48. package/runtime/app/db/__pycache__/__init__.cpython-312.pyc +0 -0
  49. package/runtime/app/db/__pycache__/schemas.cpython-311.pyc +0 -0
  50. package/runtime/app/db/__pycache__/schemas.cpython-312.pyc +0 -0
  51. package/runtime/app/db/__pycache__/store.cpython-311.pyc +0 -0
  52. package/runtime/app/db/__pycache__/store.cpython-312.pyc +0 -0
  53. package/runtime/app/services/__pycache__/__init__.cpython-311.pyc +0 -0
  54. package/runtime/app/services/__pycache__/__init__.cpython-312.pyc +0 -0
  55. package/runtime/app/services/__pycache__/brain.cpython-311.pyc +0 -0
  56. package/runtime/app/services/__pycache__/brain.cpython-312.pyc +0 -0
  57. package/runtime/app/services/__pycache__/embedding.cpython-311.pyc +0 -0
  58. package/runtime/app/services/__pycache__/embedding.cpython-312.pyc +0 -0
  59. package/runtime/app/services/__pycache__/jobs.cpython-311.pyc +0 -0
  60. package/runtime/app/services/__pycache__/jobs.cpython-312.pyc +0 -0
  61. package/runtime/app/services/__pycache__/motion.cpython-311.pyc +0 -0
  62. package/runtime/app/services/__pycache__/motion.cpython-312.pyc +0 -0
  63. package/runtime/app/services/__pycache__/pipeline.cpython-311.pyc +0 -0
  64. package/runtime/app/services/__pycache__/pipeline.cpython-312.pyc +0 -0
  65. package/runtime/app/services/__pycache__/scene.cpython-311.pyc +0 -0
  66. package/runtime/app/services/__pycache__/scene.cpython-312.pyc +0 -0
  67. package/runtime/app/services/__pycache__/storage.cpython-311.pyc +0 -0
  68. package/runtime/app/services/__pycache__/storage.cpython-312.pyc +0 -0
  69. package/runtime/app/services/__pycache__/transcription.cpython-311.pyc +0 -0
  70. package/runtime/app/services/__pycache__/transcription.cpython-312.pyc +0 -0
  71. package/runtime/app/services/__pycache__/vision.cpython-311.pyc +0 -0
  72. package/runtime/app/services/__pycache__/vision.cpython-312.pyc +0 -0
  73. package/runtime/app/utils/__pycache__/__init__.cpython-311.pyc +0 -0
  74. package/runtime/app/utils/__pycache__/__init__.cpython-312.pyc +0 -0
  75. package/runtime/app/utils/__pycache__/timing.cpython-311.pyc +0 -0
  76. 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. Where the readings genuinely conflict, say what is certain and what is not.',
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 && coverageRatio >= 0.6 && hierarchyReady && sequenceReady),
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
- if (error.code === 'ENOENT')
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.4",
3
+ "version": "0.2.5",
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",
@@ -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.4",
10
+ "version": "0.2.5",
11
11
  "pricing": "free",
12
12
  "emoji": "🎥",
13
13
  "icon": "Film",
@@ -91,9 +91,7 @@
91
91
  },
92
92
  "usage": {
93
93
  "label": "Usage this month",
94
- "visibleWhenRuntimeMode": [
95
- "managed-cloud"
96
- ],
94
+ "visibleWhenRuntimeMode": ["managed-cloud"],
97
95
  "visualization": {
98
96
  "usedKey": "sourceMinutesUsed",
99
97
  "limitKey": "sourceMinutesLimit"
@@ -129,9 +127,7 @@
129
127
  "slot": "data-indexing",
130
128
  "title": "Let your AI understand this video",
131
129
  "entrypoint": "./ui",
132
- "appliesTo": [
133
- "video"
134
- ],
130
+ "appliesTo": ["video"],
135
131
  "description": "Choose how deeply to analyze it and optionally point it to what matters most.",
136
132
  "estimate": {
137
133
  "modeField": "indexingMode",
@@ -286,7 +282,7 @@
286
282
  "label": "Vision provider",
287
283
  "type": "select",
288
284
  "group": "Video understanding",
289
- "defaultValue": "vercel_ai_gateway",
285
+ "defaultValue": "auto",
290
286
  "defaultFromGlobalConfigKey": "visionProvider",
291
287
  "help": "Defaults to your saved AI Models vision provider. Choose another provider here only for this tool.",
292
288
  "options": [
@@ -327,7 +323,7 @@
327
323
  "label": "Video vision model",
328
324
  "type": "select",
329
325
  "group": "Video understanding",
330
- "defaultValue": "google/gemini-3.6-flash",
326
+ "defaultValue": "auto",
331
327
  "defaultFromGlobalConfigKey": "visionModelId",
332
328
  "providerField": "videoVisionProvider",
333
329
  "defaultValueByProvider": {
@@ -377,7 +373,7 @@
377
373
  "label": "Agent provider",
378
374
  "type": "select",
379
375
  "group": "Agent planning",
380
- "defaultValue": "vercel_ai_gateway",
376
+ "defaultValue": "auto",
381
377
  "defaultFromGlobalConfigKey": "chatProvider",
382
378
  "help": "Defaults to your saved AI Models chat provider. Choose another provider here only for this tool.",
383
379
  "options": [
@@ -435,7 +431,7 @@
435
431
  "label": "Agent / tool-brain model",
436
432
  "type": "select",
437
433
  "group": "Agent planning",
438
- "defaultValue": "openai/gpt-5-mini",
434
+ "defaultValue": "auto",
439
435
  "defaultFromGlobalConfigKey": "chatModelId",
440
436
  "providerField": "videoAgentProvider",
441
437
  "defaultValueByProvider": {
@@ -593,12 +589,7 @@
593
589
  },
594
590
  "visibleWhen": {
595
591
  "field": "audioProvider",
596
- "equals": [
597
- "openai",
598
- "groq",
599
- "deepgram",
600
- "elevenlabs"
601
- ]
592
+ "equals": ["openai", "groq", "deepgram", "elevenlabs"]
602
593
  }
603
594
  },
604
595
  {
@@ -642,23 +633,13 @@
642
633
  "serverManaged": true
643
634
  }
644
635
  ],
645
- "tags": [
646
- "video",
647
- "ocr",
648
- "tracking",
649
- "cloud",
650
- "gpu",
651
- "private",
652
- "gdpr"
653
- ],
636
+ "tags": ["video", "ocr", "tracking", "cloud", "gpu", "private", "gdpr"],
654
637
  "downloads": 0,
655
638
  "repositoryUrl": "https://github.com/Larkup-AI/larkup",
656
639
  "license": "Apache-2.0",
657
640
  "updatedAt": "2026-08-20",
658
641
  "trustLevel": "elevated",
659
642
  "permissions": {
660
- "httpAllow": [
661
- "video.larkup.de"
662
- ]
643
+ "httpAllow": ["video.larkup.de"]
663
644
  }
664
645
  }