@daniel.stefan/metalink 1.3.25 → 1.3.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daniel.stefan/metalink",
3
- "version": "1.3.25",
3
+ "version": "1.3.26",
4
4
  "description": "MetaLink MCP Management Platform - Universal MCP server orchestrator",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -15,7 +15,6 @@
15
15
  "files": [
16
16
  "packages/*/dist/**/*",
17
17
  "packages/*/package.json",
18
- "scripts/setup-platform.cjs",
19
18
  "README.md",
20
19
  "README.npm.md",
21
20
  "LICENSE"
@@ -25,7 +24,7 @@
25
24
  "packages/*"
26
25
  ],
27
26
  "scripts": {
28
- "build": "turbo build",
27
+ "build": "turbo build && node scripts/fix-imports-only.js",
29
28
  "build:verified": "node scripts/build-with-verification.js",
30
29
  "test": "node scripts/run-all-tests.js",
31
30
  "test:packaged": "node scripts/test-published-package.js",
@@ -35,8 +34,7 @@
35
34
  "format": "prettier --write \"packages/**/*.{ts,tsx,json,md}\"",
36
35
  "changeset": "changeset",
37
36
  "version": "changeset version",
38
- "prepack": "npm run build:verified",
39
- "postinstall": "node scripts/setup-platform.cjs"
37
+ "prepack": "npm run build:verified"
40
38
  },
41
39
  "dependencies": {
42
40
  "@daniel.stefan/metalink": "^1.3.19",
@@ -1,5 +1,5 @@
1
1
  import { Command, Flags } from '@oclif/core';
2
- import { ConfigLoader } from '@metalink/core';
2
+ import { ConfigLoader } from '../../../../core/dist/index.js';
3
3
  class ConfigValidate extends Command {
4
4
  async run() {
5
5
  const { flags } = await this.parse(ConfigValidate);
@@ -1,5 +1,5 @@
1
1
  import { Command, Args } from '@oclif/core';
2
- import { SecretsManager } from '@metalink/core';
2
+ import { SecretsManager } from '../../../../core/dist/index.js';
3
3
  class SecretGet extends Command {
4
4
  async run() {
5
5
  const { args } = await this.parse(SecretGet);
@@ -1,5 +1,5 @@
1
1
  import { Command, Args } from '@oclif/core';
2
- import { SecretsManager } from '@metalink/core';
2
+ import { SecretsManager } from '../../../../core/dist/index.js';
3
3
  class SecretSet extends Command {
4
4
  async run() {
5
5
  const { args } = await this.parse(SecretSet);
@@ -1,4 +1,4 @@
1
- import { ConfigLoader } from '@metalink/core';
1
+ import { ConfigLoader } from '../../../core/dist/index.js';
2
2
  import { execSync } from 'child_process';
3
3
  import * as os from 'os';
4
4
  import * as path from 'path';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "metalink",
3
- "version": "1.3.25",
3
+ "version": "1.3.26",
4
4
  "description": "MetaLink CLI Tool",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,6 +8,6 @@ export { CircuitBreaker, CircuitBreakerManager, CircuitState, } from "./server/c
8
8
  export type { CircuitBreakerConfig, CircuitBreakerMetrics, } from "./server/circuit-breaker.js";
9
9
  export * from "./secrets/keyring.js";
10
10
  export * from "./logging/index.js";
11
- export declare const version = "v1.3.25";
11
+ export declare const version = "v1.3.26";
12
12
  export declare const name = "@metalink/core";
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -18,6 +18,6 @@ export * from "./logging/index.js";
18
18
  // export * from './metrics/index.js'; // Metrics collection
19
19
  // Version info - DECLARATIVE, managed by sync-version script from packages/shared/version.ts
20
20
  // Single source of truth: packages/shared/version.ts
21
- export const version = "v1.3.25";
21
+ export const version = "v1.3.26";
22
22
  export const name = "@metalink/core";
23
23
  //# sourceMappingURL=index.js.map
@@ -5,7 +5,7 @@
5
5
  * - Built-in resources: metalink://servers, metalink://tools, metalink://version
6
6
  * - Resource templates: metalink://server/{name}, metalink://server/{name}/tools
7
7
  */
8
- import { VERSION } from '@metalink/shared';
8
+ import { VERSION } from '../../../shared/dist/version.js';
9
9
  /**
10
10
  * Get list of built-in resources
11
11
  * Used for MCP resources/list method
@@ -1,38 +0,0 @@
1
- #!/usr/bin/env node
2
- const { existsSync, mkdirSync, symlinkSync } = require('fs');
3
- const { join } = require('path');
4
-
5
- const root = join(__dirname, '..');
6
- const linkType = process.platform === 'win32' ? 'junction' : 'dir';
7
-
8
- const links = [
9
- { name: '@metalink/core', target: join(root, 'packages', 'core') },
10
- { name: '@metalink/shared', target: join(root, 'packages', 'shared') },
11
- ];
12
-
13
- const nodeModules = join(root, 'node_modules');
14
- const scopeDir = join(nodeModules, '@metalink');
15
-
16
- for (const { name, target } of links) {
17
- const linkPath = join(nodeModules, name);
18
-
19
- if (existsSync(linkPath)) continue;
20
- if (!existsSync(target)) continue;
21
-
22
- if (!existsSync(scopeDir)) {
23
- mkdirSync(scopeDir, { recursive: true });
24
- }
25
-
26
- try {
27
- symlinkSync(target, linkPath, linkType);
28
- } catch {
29
- // Symlink failed (permissions, etc.) — fallback to recursive copy
30
- try {
31
- if (typeof require('fs').cpSync === 'function') {
32
- require('fs').cpSync(target, linkPath, { recursive: true });
33
- }
34
- } catch {
35
- // Silent — CLI commands that don't need these packages will still work
36
- }
37
- }
38
- }