@larkup/marketplace 0.1.9 → 0.1.11
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 +13 -0
- package/package.json +2 -2
- package/src/tool-installer.ts +6 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @larkup/marketplace
|
|
2
2
|
|
|
3
|
+
## 0.1.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [2a0a7e2]
|
|
8
|
+
- @larkup/core@0.2.5
|
|
9
|
+
|
|
10
|
+
## 0.1.10
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- c1b12cb: Restore reliable no-Docker local crawler search with a resilient public-search fallback, make current-event chat questions use enabled web search, speed up first-party tool installation, and improve media URL progress handling. Simplify settings and prompt UX, and make failed-crawl URL copying reliable.
|
|
15
|
+
|
|
3
16
|
## 0.1.9
|
|
4
17
|
|
|
5
18
|
### 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.11",
|
|
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.5"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/node": "^24",
|
package/src/tool-installer.ts
CHANGED
|
@@ -360,13 +360,11 @@ async function resolveManifest(toolId: string): Promise<ToolDescriptor> {
|
|
|
360
360
|
*/
|
|
361
361
|
async function isWorkspaceTool(packageName: string): Promise<boolean> {
|
|
362
362
|
try {
|
|
363
|
-
//
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
const data = JSON.parse(stdout || '[]');
|
|
369
|
-
return Array.isArray(data) && data.some((pkg: any) => pkg.name === packageName);
|
|
363
|
+
// Resolving a bundled package is instant. Running `pnpm ls -r` here made
|
|
364
|
+
// a small first-party tool installation wait on a full workspace scan (or
|
|
365
|
+
// a missing pnpm binary) on every end-user machine.
|
|
366
|
+
require.resolve(packageName, { paths: [process.cwd()] });
|
|
367
|
+
return true;
|
|
370
368
|
} catch {
|
|
371
369
|
return false;
|
|
372
370
|
}
|
|
@@ -408,7 +406,7 @@ export async function installTool(
|
|
|
408
406
|
|
|
409
407
|
// 2. Check system dependencies
|
|
410
408
|
report('checking-deps', 15, 'Checking system dependencies…');
|
|
411
|
-
const missing = await checkSystemDeps(toolId);
|
|
409
|
+
const missing = (await checkSystemDeps(toolId)).filter((dependency) => dependency !== 'docker');
|
|
412
410
|
if (missing.length > 0) {
|
|
413
411
|
const msg = `Missing system dependencies: ${missing.join(', ')}. Please install them first.`;
|
|
414
412
|
report('failed', 0, msg);
|