@larkup/marketplace 0.1.5 → 0.1.7
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 +22 -0
- package/package.json +2 -2
- package/src/tool-installer.ts +17 -3
- package/src/tool-registry.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @larkup/marketplace
|
|
2
2
|
|
|
3
|
+
## 0.1.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 197c629: fix: Docker compatibility, AI agent tool priority, and indexing reliability
|
|
8
|
+
|
|
9
|
+
- Fix yt-dlp "No supported JavaScript runtime" error in Docker by passing --js-runtimes nodejs:node
|
|
10
|
+
- Fix LanceDB "Found field not in schema: metadata" by always serializing metadata column
|
|
11
|
+
- Speed up Marketplace tool installs in Docker with --prefer-offline
|
|
12
|
+
- Enforce RAG-first tool priority: searchKnowledgeBase → webSearch → other tools
|
|
13
|
+
- Instruct AI to use presentMedia for image previews instead of raw markdown (fixes [Image unavailable])
|
|
14
|
+
- Strengthen webSearch tool description to enforce secondary priority
|
|
15
|
+
- @larkup/core@0.2.4
|
|
16
|
+
|
|
17
|
+
## 0.1.6
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Fix Docker data persistence, Marketplace installs, crawler readiness, and workspace-aware RAG retrieval.
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
- @larkup/core@0.2.3
|
|
24
|
+
|
|
3
25
|
## 0.1.5
|
|
4
26
|
|
|
5
27
|
### 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.7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"./manifest": "./src/tool-manifest.schema.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@larkup/core": "0.2.
|
|
17
|
+
"@larkup/core": "0.2.4"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/node": "^24",
|
package/src/tool-installer.ts
CHANGED
|
@@ -243,12 +243,26 @@ async function execInstall(
|
|
|
243
243
|
await ensureToolsPackageJson();
|
|
244
244
|
|
|
245
245
|
const install = async (specifier: string) => {
|
|
246
|
-
const installCmd = `npm install ${specifier} --prefix "${toolsDir}" --save --no-audit --no-fund`;
|
|
246
|
+
const installCmd = `npm install ${specifier} --prefix "${toolsDir}" --save --no-audit --no-fund --prefer-offline`;
|
|
247
247
|
onProgress?.(`Running: npm install ${specifier}`);
|
|
248
248
|
const { stderr } = await execAsync(installCmd, {
|
|
249
249
|
cwd: toolsDir,
|
|
250
|
-
|
|
251
|
-
|
|
250
|
+
// Native tool dependencies can take longer under Docker Desktop's
|
|
251
|
+
// amd64 emulation. Let the request finish instead of reporting a
|
|
252
|
+
// misleading connection error part way through installation.
|
|
253
|
+
timeout: target === 'docker' ? 300_000 : 120_000,
|
|
254
|
+
env: {
|
|
255
|
+
...process.env,
|
|
256
|
+
NODE_ENV: 'production',
|
|
257
|
+
// The Docker image runs as an unprivileged user. Keep npm's cache
|
|
258
|
+
// beside the isolated install so a named .larkup volume is always
|
|
259
|
+
// writable and installing a Marketplace tool does not fail before
|
|
260
|
+
// it reaches the registry.
|
|
261
|
+
HOME:
|
|
262
|
+
process.env.HOME && process.env.HOME !== '/nonexistent' ? process.env.HOME : toolsDir,
|
|
263
|
+
npm_config_cache: path.join(toolsDir, '.npm-cache'),
|
|
264
|
+
npm_config_update_notifier: 'false',
|
|
265
|
+
},
|
|
252
266
|
});
|
|
253
267
|
if (stderr && !stderr.includes('npm warn')) {
|
|
254
268
|
console.warn(`[marketplace] Install stderr: ${stderr}`);
|
package/src/tool-registry.ts
CHANGED
|
@@ -160,7 +160,7 @@ const FALLBACK_REGISTRY: Record<string, ToolDescriptor> = {
|
|
|
160
160
|
],
|
|
161
161
|
tags: ['transcription', 'ffmpeg', 'video', 'audio', 'whisper'],
|
|
162
162
|
downloads: 0,
|
|
163
|
-
repositoryUrl: 'https://github.com/Larkup-AI/larkup
|
|
163
|
+
repositoryUrl: 'https://github.com/Larkup-AI/larkup',
|
|
164
164
|
license: 'Apache-2.0',
|
|
165
165
|
updatedAt: '2026-07-20',
|
|
166
166
|
configSchema: [
|
|
@@ -215,7 +215,7 @@ const FALLBACK_REGISTRY: Record<string, ToolDescriptor> = {
|
|
|
215
215
|
capabilities: ['clip-embeddings', 'image-similarity'],
|
|
216
216
|
tags: ['clip', 'siglip', 'image-search', 'visual-similarity'],
|
|
217
217
|
downloads: 0,
|
|
218
|
-
repositoryUrl: 'https://github.com/Larkup-AI/larkup
|
|
218
|
+
repositoryUrl: 'https://github.com/Larkup-AI/larkup',
|
|
219
219
|
license: 'Apache-2.0',
|
|
220
220
|
updatedAt: '2026-07-20',
|
|
221
221
|
comingSoon: true,
|
|
@@ -237,7 +237,7 @@ const FALLBACK_REGISTRY: Record<string, ToolDescriptor> = {
|
|
|
237
237
|
capabilities: ['document-editing', 'form-filling', 'document-preview'],
|
|
238
238
|
tags: ['pdf', 'docx', 'pptx', 'form', 'canvas', 'editor', 'fill'],
|
|
239
239
|
downloads: 0,
|
|
240
|
-
repositoryUrl: 'https://github.com/Larkup-AI/larkup
|
|
240
|
+
repositoryUrl: 'https://github.com/Larkup-AI/larkup',
|
|
241
241
|
license: 'Apache-2.0',
|
|
242
242
|
updatedAt: '2026-07-20',
|
|
243
243
|
},
|