@larkup/marketplace 0.1.5 → 0.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @larkup/marketplace
2
2
 
3
+ ## 0.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix Docker data persistence, Marketplace installs, crawler readiness, and workspace-aware RAG retrieval.
8
+ - Updated dependencies
9
+ - @larkup/core@0.2.3
10
+
3
11
  ## 0.1.5
4
12
 
5
13
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@larkup/marketplace",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
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.2"
17
+ "@larkup/core": "0.2.3"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/node": "^24",
@@ -247,8 +247,22 @@ async function execInstall(
247
247
  onProgress?.(`Running: npm install ${specifier}`);
248
248
  const { stderr } = await execAsync(installCmd, {
249
249
  cwd: toolsDir,
250
- timeout: 120_000, // 2 minute timeout
251
- env: { ...process.env, NODE_ENV: 'production' },
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}`);