@larkup/marketplace 0.1.17 → 0.1.19
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/CHANGELOG.md +16 -0
- package/package.json +4 -4
- package/src/tool-installer.ts +4 -0
- package/src/tool-registry.ts +7 -6
- package/tsconfig.json +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @larkup/marketplace
|
|
2
2
|
|
|
3
|
+
## 0.1.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d7d293c: Make Chat retrieval-only, reliably parse PDFs in Next deployments, simplify website entry, and prevent stale Video & Audio metadata from requiring a host ffmpeg installation.
|
|
8
|
+
- Updated dependencies [d7d293c]
|
|
9
|
+
- @larkup/core@0.3.4
|
|
10
|
+
|
|
11
|
+
## 0.1.18
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 2d0d490: Improve AI Gateway rate-limit recovery and make video processing use bundled ffmpeg binaries without a system dependency.
|
|
16
|
+
- Updated dependencies [e40bbe8]
|
|
17
|
+
- @larkup/core@0.3.3
|
|
18
|
+
|
|
3
19
|
## 0.1.17
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@larkup/marketplace",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"./manifest": "./src/tool-manifest.schema.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@larkup/core": "0.3.
|
|
17
|
+
"@larkup/core": "0.3.4"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@types/node": "^
|
|
21
|
-
"typescript": "
|
|
20
|
+
"@types/node": "^26",
|
|
21
|
+
"typescript": "^6.0.3"
|
|
22
22
|
}
|
|
23
23
|
}
|
package/src/tool-installer.ts
CHANGED
|
@@ -253,6 +253,10 @@ export async function checkSystemDeps(toolId: string): Promise<string[]> {
|
|
|
253
253
|
|
|
254
254
|
const missing: string[] = [];
|
|
255
255
|
for (const dep of descriptor.systemDeps) {
|
|
256
|
+
// Video & Audio ships a platform binary via @ffmpeg-installer/ffmpeg.
|
|
257
|
+
// Older Hub manifests still advertise ffmpeg as a host prerequisite; do
|
|
258
|
+
// not let that stale metadata block installation.
|
|
259
|
+
if (toolId === 'video-audio' && dep === 'ffmpeg') continue;
|
|
256
260
|
// A container cannot normally talk to the host Docker daemon. Do not block
|
|
257
261
|
// installation of tools that use Docker only for optional capabilities
|
|
258
262
|
// (for example DOCX/PPTX editing); those capabilities report their own
|
package/src/tool-registry.ts
CHANGED
|
@@ -143,7 +143,7 @@ const FALLBACK_REGISTRY: Record<string, ToolDescriptor> = {
|
|
|
143
143
|
name: 'Video & Audio',
|
|
144
144
|
description: 'Index video and audio files with transcription and frame analysis.',
|
|
145
145
|
category: 'media',
|
|
146
|
-
version: '0.3.
|
|
146
|
+
version: '0.3.2',
|
|
147
147
|
pricing: 'free',
|
|
148
148
|
emoji: '🎬',
|
|
149
149
|
icon: 'Film',
|
|
@@ -260,16 +260,17 @@ export async function buildRegistry(opts?: {
|
|
|
260
260
|
// Start with hardcoded fallback
|
|
261
261
|
const registry = { ...FALLBACK_REGISTRY };
|
|
262
262
|
|
|
263
|
-
// Layer
|
|
264
|
-
const localManifests = await discoverLocalManifests();
|
|
265
|
-
Object.assign(registry, localManifests);
|
|
266
|
-
|
|
267
|
-
// Layer Hub API catalog on top (newest published versions)
|
|
263
|
+
// Layer Hub API catalog over the offline fallback.
|
|
268
264
|
if (!opts?.skipHub) {
|
|
269
265
|
const hubCatalog = await fetchHubCatalog(opts?.hubUrl);
|
|
270
266
|
Object.assign(registry, hubCatalog);
|
|
271
267
|
}
|
|
272
268
|
|
|
269
|
+
// Local (including installed) manifests are the source of truth. This also
|
|
270
|
+
// prevents a stale Hub descriptor from reintroducing obsolete system deps.
|
|
271
|
+
const localManifests = await discoverLocalManifests();
|
|
272
|
+
Object.assign(registry, localManifests);
|
|
273
|
+
|
|
273
274
|
cachedRegistry = registry;
|
|
274
275
|
return registry;
|
|
275
276
|
}
|