@ratio-mcp/shared 1.0.1 → 1.2.0
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/dist/constants.d.ts +2 -2
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +4 -4
- package/dist/constants.js.map +1 -1
- package/package.json +8 -9
package/dist/constants.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ export declare const REQUIREMENTS_FILE: string;
|
|
|
7
7
|
export declare const OAUTH_BASE_PATH = "/api/v1/oauth";
|
|
8
8
|
export declare const DEVELOPER_API_BASE_PATH = "/api/developer";
|
|
9
9
|
export declare const DEFAULT_REDIRECT_URI = "http://localhost:3000/auth/callback";
|
|
10
|
-
export declare const DOCS_SERVER_NAME = "ratio-
|
|
10
|
+
export declare const DOCS_SERVER_NAME = "ratio-mcp-doc";
|
|
11
11
|
export declare const DOCS_SERVER_VERSION = "1.0.0";
|
|
12
|
-
export declare const DEV_SERVER_NAME = "ratio-dev
|
|
12
|
+
export declare const DEV_SERVER_NAME = "ratio-mcp-dev";
|
|
13
13
|
export declare const DEV_SERVER_VERSION = "1.0.0";
|
|
14
14
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,QAAgE,CAAC;AAChG,eAAO,MAAM,iBAAiB,OAAO,CAAC;AACtC,eAAO,MAAM,6BAA6B,QAA4E,CAAC;AAGvH,eAAO,MAAM,SAAS,QAA+B,CAAC;AACtD,eAAO,MAAM,WAAW,QAAiC,CAAC;AAC1D,eAAO,MAAM,iBAAiB,QAAuC,CAAC;AAGtE,eAAO,MAAM,eAAe,kBAAoC,CAAC;AAGjE,eAAO,MAAM,uBAAuB,mBAAmB,CAAC;AAGxD,eAAO,MAAM,oBAAoB,wCAAwC,CAAC;AAG1E,eAAO,MAAM,gBAAgB,kBAAkB,CAAC;AAChD,eAAO,MAAM,mBAAmB,UAAU,CAAC;AAC3C,eAAO,MAAM,eAAe,kBAAkB,CAAC;AAC/C,eAAO,MAAM,kBAAkB,UAAU,CAAC"}
|
package/dist/constants.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { join } from 'path';
|
|
2
2
|
import { homedir } from 'os';
|
|
3
3
|
// ─── API Base URLs (from env vars, with defaults for dev) ───────
|
|
4
|
-
export const RATIO_API_BASE_URL = process.env.RATIO_API_BASE_URL || 'https://
|
|
4
|
+
export const RATIO_API_BASE_URL = process.env.RATIO_API_BASE_URL || 'https://gkx.gokwik.co/aes';
|
|
5
5
|
export const RATIO_API_VERSION = 'v1';
|
|
6
|
-
export const RATIO_DEVELOPER_DASHBOARD_URL = process.env.RATIO_DEVELOPER_DASHBOARD_URL || 'https://
|
|
6
|
+
export const RATIO_DEVELOPER_DASHBOARD_URL = process.env.RATIO_DEVELOPER_DASHBOARD_URL || 'https://adm-apps.gokwik.co';
|
|
7
7
|
// ─── Persistent Store ────────────────────────────────────────────
|
|
8
8
|
export const STORE_DIR = join(homedir(), '.ratio-v2');
|
|
9
9
|
export const TOKENS_FILE = join(STORE_DIR, 'tokens.json');
|
|
@@ -15,8 +15,8 @@ export const DEVELOPER_API_BASE_PATH = '/api/developer';
|
|
|
15
15
|
// ─── Default Redirect URI ────────────────────────────────────────
|
|
16
16
|
export const DEFAULT_REDIRECT_URI = 'http://localhost:3000/auth/callback';
|
|
17
17
|
// ─── Server Names ────────────────────────────────────────────────
|
|
18
|
-
export const DOCS_SERVER_NAME = 'ratio-
|
|
18
|
+
export const DOCS_SERVER_NAME = 'ratio-mcp-doc';
|
|
19
19
|
export const DOCS_SERVER_VERSION = '1.0.0';
|
|
20
|
-
export const DEV_SERVER_NAME = 'ratio-dev
|
|
20
|
+
export const DEV_SERVER_NAME = 'ratio-mcp-dev';
|
|
21
21
|
export const DEV_SERVER_VERSION = '1.0.0';
|
|
22
22
|
//# sourceMappingURL=constants.js.map
|
package/dist/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAE7B,mEAAmE;AACnE,MAAM,CAAC,MAAM,kBAAkB,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,IAAI,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAE7B,mEAAmE;AACnE,MAAM,CAAC,MAAM,kBAAkB,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,IAAI,2BAA2B,CAAC;AAChG,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAC;AACtC,MAAM,CAAC,MAAM,6BAA6B,GAAG,OAAO,CAAC,GAAG,CAAC,6BAA6B,IAAI,4BAA4B,CAAC;AAEvH,oEAAoE;AACpE,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,EAAE,EAAE,WAAW,CAAC,CAAC;AACtD,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;AAC1D,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAC,SAAS,EAAE,mBAAmB,CAAC,CAAC;AAEtE,oEAAoE;AACpE,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,iBAAiB,QAAQ,CAAC;AAEjE,oEAAoE;AACpE,MAAM,CAAC,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;AAExD,oEAAoE;AACpE,MAAM,CAAC,MAAM,oBAAoB,GAAG,qCAAqC,CAAC;AAE1E,oEAAoE;AACpE,MAAM,CAAC,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAChD,MAAM,CAAC,MAAM,mBAAmB,GAAG,OAAO,CAAC;AAC3C,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC;AAC/C,MAAM,CAAC,MAAM,kBAAkB,GAAG,OAAO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ratio-mcp/shared",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist"
|
|
9
|
-
],
|
|
7
|
+
"files": ["dist"],
|
|
10
8
|
"exports": {
|
|
11
9
|
".": {
|
|
12
10
|
"import": "./dist/index.js",
|
|
13
11
|
"types": "./dist/index.d.ts"
|
|
14
12
|
}
|
|
15
13
|
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc",
|
|
16
|
+
"typecheck": "tsc --noEmit",
|
|
17
|
+
"prepublishOnly": "pnpm build"
|
|
18
|
+
},
|
|
16
19
|
"devDependencies": {
|
|
17
20
|
"@types/node": "^20.0.0",
|
|
18
21
|
"typescript": "^5.4.0"
|
|
19
|
-
},
|
|
20
|
-
"scripts": {
|
|
21
|
-
"build": "tsc",
|
|
22
|
-
"typecheck": "tsc --noEmit"
|
|
23
22
|
}
|
|
24
|
-
}
|
|
23
|
+
}
|