@larkup/tool-video-intelligence 0.2.7 → 0.2.9
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 +6 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/tool.manifest.json +6 -25
package/dist/agent.js
CHANGED
|
@@ -153,7 +153,7 @@ export function attachVideoIntelligenceAgentClient(client, fetcher = globalThis.
|
|
|
153
153
|
ui: citationSurface(asset, context, established.map((reading) => ({
|
|
154
154
|
modality: 'visual',
|
|
155
155
|
timeRange: { ...reading.range, precision: 'estimated' },
|
|
156
|
-
})), supportingClip
|
|
156
|
+
})), supportingClip),
|
|
157
157
|
directObservation: {
|
|
158
158
|
readings: established,
|
|
159
159
|
rule: 'These are direct readings taken by re-watching the source just now, for this ' +
|
|
@@ -264,7 +264,7 @@ export function attachVideoIntelligenceAgentClient(client, fetcher = globalThis.
|
|
|
264
264
|
// The UI contract is generic and tool-owned. The host only
|
|
265
265
|
// renders a citations surface; it does not know why this
|
|
266
266
|
// source range was selected or expose extraction details.
|
|
267
|
-
ui: citationSurface(asset, context, evidence, supportingClip
|
|
267
|
+
ui: citationSurface(asset, context, evidence, supportingClip),
|
|
268
268
|
}
|
|
269
269
|
: {}),
|
|
270
270
|
claimVerification: {
|
|
@@ -1719,7 +1719,7 @@ function isServiceBusy(value) {
|
|
|
1719
1719
|
return false;
|
|
1720
1720
|
return value.serviceBusy === true;
|
|
1721
1721
|
}
|
|
1722
|
-
function citationSurface(asset, context, evidence,
|
|
1722
|
+
function citationSurface(asset, context, evidence, supportingClip) {
|
|
1723
1723
|
const sourceUrl = `/api/media/${encodeURIComponent(asset.id)}${context.projectId ? `?projectId=${encodeURIComponent(context.projectId)}` : ''}`;
|
|
1724
1724
|
return {
|
|
1725
1725
|
kind: 'citations',
|
|
@@ -1727,7 +1727,9 @@ function citationSurface(asset, context, evidence, primaryTimestampSecs) {
|
|
|
1727
1727
|
fileName: asset.fileName ?? 'Video',
|
|
1728
1728
|
mediaType: asset.type === 'audio' ? 'audio' : 'video',
|
|
1729
1729
|
mediaUrl: sourceUrl,
|
|
1730
|
-
|
|
1730
|
+
sourceUrl: asset.originalUrl || sourceUrl,
|
|
1731
|
+
primaryTimestampSecs: supportingClip.startSecs,
|
|
1732
|
+
primaryEndSecs: supportingClip.endSecs,
|
|
1731
1733
|
// Keep citations inspectable without surfacing raw transcription or
|
|
1732
1734
|
// frame-extraction text in the conversation.
|
|
1733
1735
|
items: evidence.map((item) => ({
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export * from './ui.js';
|
|
|
9
9
|
export declare const TOOL_META: {
|
|
10
10
|
readonly id: "video-intelligence";
|
|
11
11
|
readonly name: "Video Intelligence";
|
|
12
|
-
readonly version: "0.
|
|
12
|
+
readonly version: "0.2.9";
|
|
13
13
|
};
|
|
14
14
|
export declare const TOOL_EXTENSION: {
|
|
15
15
|
id: "video-intelligence";
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ export * from './ui.js';
|
|
|
11
11
|
export const TOOL_META = {
|
|
12
12
|
id: 'video-intelligence',
|
|
13
13
|
name: 'Video Intelligence',
|
|
14
|
-
version: '0.
|
|
14
|
+
version: '0.2.9',
|
|
15
15
|
};
|
|
16
16
|
/** Managed infrastructure stays an implementation detail of Larkup Cloud. */
|
|
17
17
|
const MANAGED_CLOUD_ENDPOINT = process.env.LARKUP_VIDEO_INTELLIGENCE_CLOUD_ENDPOINT ??
|
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.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Installable local and cloud video intelligence with evidence-first indexing.",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/node": "^26",
|
|
62
62
|
"typescript": "^7.0.2",
|
|
63
|
-
"vitest": "^
|
|
64
|
-
"@larkup/marketplace": "0.2.
|
|
63
|
+
"vitest": "^5.0.0",
|
|
64
|
+
"@larkup/marketplace": "0.2.5"
|
|
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.9",
|
|
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",
|
|
@@ -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
|
}
|