@skillbuilder/endpoints 0.0.0-beta-20261029015231259 → 0.0.0-beta-20261029022348837
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/esm/config/endpoints.js +0 -4
- package/esm/index.js +0 -1
- package/lib/config/endpoints.js +1 -5
- package/lib/index.js +1 -3
- package/package.json +1 -1
- package/types/config/endpoints.d.ts +0 -4
- package/types/index.d.ts +0 -1
package/esm/config/endpoints.js
CHANGED
|
@@ -2,10 +2,6 @@ export const MINIAPP_BASE_URL = "https://miniapp.xiaohongshu.com";
|
|
|
2
2
|
export const MINIAPP_BETA_BASE_URL = "https://miniapp.xiaohongshu.com";
|
|
3
3
|
export const MINIAPP_SIMULATOR_SERVICE_URL = "https://miniapp-sandbox.xiaohongshu.com/simulator/";
|
|
4
4
|
export const EDITH_BASE_URL = "https://edith.xiaohongshu.com";
|
|
5
|
-
export const MINITOOL_API_BASE_URLS = {
|
|
6
|
-
prod: EDITH_BASE_URL,
|
|
7
|
-
beta: "https://edith-qinweiheng.sl.beta.xiaohongshu.com",
|
|
8
|
-
};
|
|
9
5
|
export const AGENTBASE_BASE_URL_BY_STAGE = {
|
|
10
6
|
development: "https://agentbase-sandbox.xiaohongshu.com",
|
|
11
7
|
production: "https://agentbase.xiaohongshu.com",
|
package/esm/index.js
CHANGED
|
@@ -48,4 +48,3 @@ export function resolveUrl(consumer, urlKey, env = process.env) {
|
|
|
48
48
|
return getApmDataEndpoint(env);
|
|
49
49
|
throw new Error(`@skillbuilder/endpoints: unknown urlKey: ${String(urlKey)} (consumer=${consumer})`);
|
|
50
50
|
}
|
|
51
|
-
export { MINITOOL_API_BASE_URLS } from "./config/endpoints";
|
package/lib/config/endpoints.js
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MODEL_SERVICE_CONFIG_BY_PROVIDER = exports.APM_DATA_ENDPOINT = exports.AGENTBASE_BASE_URL_BY_STAGE = exports.
|
|
3
|
+
exports.MODEL_SERVICE_CONFIG_BY_PROVIDER = exports.APM_DATA_ENDPOINT = exports.AGENTBASE_BASE_URL_BY_STAGE = exports.EDITH_BASE_URL = exports.MINIAPP_SIMULATOR_SERVICE_URL = exports.MINIAPP_BETA_BASE_URL = exports.MINIAPP_BASE_URL = void 0;
|
|
4
4
|
exports.MINIAPP_BASE_URL = "https://miniapp.xiaohongshu.com";
|
|
5
5
|
exports.MINIAPP_BETA_BASE_URL = "https://miniapp.xiaohongshu.com";
|
|
6
6
|
exports.MINIAPP_SIMULATOR_SERVICE_URL = "https://miniapp-sandbox.xiaohongshu.com/simulator/";
|
|
7
7
|
exports.EDITH_BASE_URL = "https://edith.xiaohongshu.com";
|
|
8
|
-
exports.MINITOOL_API_BASE_URLS = {
|
|
9
|
-
prod: exports.EDITH_BASE_URL,
|
|
10
|
-
beta: "https://edith-qinweiheng.sl.beta.xiaohongshu.com",
|
|
11
|
-
};
|
|
12
8
|
exports.AGENTBASE_BASE_URL_BY_STAGE = {
|
|
13
9
|
development: "https://agentbase-sandbox.xiaohongshu.com",
|
|
14
10
|
production: "https://agentbase.xiaohongshu.com",
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.EDITH_BASE_URL = exports.MINIAPP_SIMULATOR_SERVICE_URL = exports.MODEL_SERVICE_CONFIG_BY_PROVIDER = void 0;
|
|
4
4
|
exports.getMiniappBaseUrl = getMiniappBaseUrl;
|
|
5
5
|
exports.getMiniappBetaBaseUrl = getMiniappBetaBaseUrl;
|
|
6
6
|
exports.getAgentbaseBaseUrl = getAgentbaseBaseUrl;
|
|
@@ -60,5 +60,3 @@ function resolveUrl(consumer, urlKey, env = process.env) {
|
|
|
60
60
|
return getApmDataEndpoint(env);
|
|
61
61
|
throw new Error(`@skillbuilder/endpoints: unknown urlKey: ${String(urlKey)} (consumer=${consumer})`);
|
|
62
62
|
}
|
|
63
|
-
var endpoints_3 = require("./config/endpoints");
|
|
64
|
-
Object.defineProperty(exports, "MINITOOL_API_BASE_URLS", { enumerable: true, get: function () { return endpoints_3.MINITOOL_API_BASE_URLS; } });
|
package/package.json
CHANGED
|
@@ -3,10 +3,6 @@ export declare const MINIAPP_BASE_URL = "https://miniapp.xiaohongshu.com";
|
|
|
3
3
|
export declare const MINIAPP_BETA_BASE_URL = "https://miniapp.xiaohongshu.com";
|
|
4
4
|
export declare const MINIAPP_SIMULATOR_SERVICE_URL = "https://miniapp-sandbox.xiaohongshu.com/simulator/";
|
|
5
5
|
export declare const EDITH_BASE_URL = "https://edith.xiaohongshu.com";
|
|
6
|
-
export declare const MINITOOL_API_BASE_URLS: {
|
|
7
|
-
readonly prod: "https://edith.xiaohongshu.com";
|
|
8
|
-
readonly beta: "https://edith-qinweiheng.sl.beta.xiaohongshu.com";
|
|
9
|
-
};
|
|
10
6
|
export declare const AGENTBASE_BASE_URL_BY_STAGE: Record<AgentbaseStage, string>;
|
|
11
7
|
export declare const APM_DATA_ENDPOINT = "https://apm-fe.xiaohongshu.com/api/data";
|
|
12
8
|
export type ModelServiceProtocol = "openai-compatible" | "anthropic";
|
package/types/index.d.ts
CHANGED
|
@@ -16,4 +16,3 @@ export declare function getModelServiceEndpoint(provider: ModelServiceProvider):
|
|
|
16
16
|
export declare function getBaseUrlByService(service: VectorxBaseUrlService, env?: NodeJS.ProcessEnv): string;
|
|
17
17
|
export declare function getBaseUrlByConsumer(consumer: VectorxConsumerPackage, env?: NodeJS.ProcessEnv): string;
|
|
18
18
|
export declare function resolveUrl(consumer: VectorxConsumerPackage, urlKey: VectorxUrlKey, env?: NodeJS.ProcessEnv): string;
|
|
19
|
-
export { MINITOOL_API_BASE_URLS } from "./config/endpoints";
|