mpd-llm-cli 0.1.48 → 0.1.49
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/bundle/api.js +2 -2
- package/bundle/gemini.js +16 -16
- package/package.json +2 -2
package/bundle/api.js
CHANGED
|
@@ -27724,7 +27724,7 @@ async function createContentGeneratorConfig(model, authType) {
|
|
|
27724
27724
|
return contentGeneratorConfig;
|
|
27725
27725
|
}
|
|
27726
27726
|
async function createContentGenerator(config2, sessionId2) {
|
|
27727
|
-
const version2 = "0.1.
|
|
27727
|
+
const version2 = "0.1.49";
|
|
27728
27728
|
const httpOptions = {
|
|
27729
27729
|
headers: {
|
|
27730
27730
|
"User-Agent": `GeminiCLI/${version2} (${process.platform}; ${process.arch})`
|
|
@@ -166412,7 +166412,7 @@ async function getPackageJson() {
|
|
|
166412
166412
|
// packages/cli/src/utils/version.ts
|
|
166413
166413
|
async function getCliVersion() {
|
|
166414
166414
|
const pkgJson = await getPackageJson();
|
|
166415
|
-
return "0.1.
|
|
166415
|
+
return "0.1.49";
|
|
166416
166416
|
}
|
|
166417
166417
|
|
|
166418
166418
|
// packages/cli/src/config/sandboxConfig.ts
|
package/bundle/gemini.js
CHANGED
|
@@ -62351,7 +62351,7 @@ async function createContentGeneratorConfig(model, authType) {
|
|
|
62351
62351
|
return contentGeneratorConfig;
|
|
62352
62352
|
}
|
|
62353
62353
|
async function createContentGenerator(config2, sessionId2) {
|
|
62354
|
-
const version3 = "0.1.
|
|
62354
|
+
const version3 = "0.1.49";
|
|
62355
62355
|
const httpOptions = {
|
|
62356
62356
|
headers: {
|
|
62357
62357
|
"User-Agent": `GeminiCLI/${version3} (${process.platform}; ${process.arch})`
|
|
@@ -199411,7 +199411,7 @@ var init_langfuseClient = __esm({
|
|
|
199411
199411
|
userId,
|
|
199412
199412
|
metadata: {
|
|
199413
199413
|
...safeMetadata,
|
|
199414
|
-
cli_version: this.safeString("0.1.
|
|
199414
|
+
cli_version: this.safeString("0.1.49", "unknown"),
|
|
199415
199415
|
model: this.safeString(process.env.CUSTOM_LLM_MODEL_NAME, "gemini"),
|
|
199416
199416
|
auth_type: process.env.USE_CUSTOM_LLM ? "custom_llm" : "google_oauth",
|
|
199417
199417
|
environment: this.safeString(this.configManager.getConfig()?.environment, "unknown")
|
|
@@ -200578,7 +200578,7 @@ var init_langfuseIntegration = __esm({
|
|
|
200578
200578
|
const metadata = {
|
|
200579
200579
|
model: this.config.getModel(),
|
|
200580
200580
|
auth_type: this.config.getContentGeneratorConfig()?.authType,
|
|
200581
|
-
cli_version: "0.1.
|
|
200581
|
+
cli_version: "0.1.49",
|
|
200582
200582
|
start_time: (/* @__PURE__ */ new Date()).toISOString(),
|
|
200583
200583
|
session_id: this.sessionId
|
|
200584
200584
|
};
|
|
@@ -200637,7 +200637,7 @@ var init_langfuseIntegration = __esm({
|
|
|
200637
200637
|
totalCachedTokens: sessionStats.totalCachedTokens,
|
|
200638
200638
|
totalPromptTokens: sessionStats.totalPromptTokens,
|
|
200639
200639
|
metadata: {
|
|
200640
|
-
cli_version: "0.1.
|
|
200640
|
+
cli_version: "0.1.49",
|
|
200641
200641
|
auth_type: this.config.getContentGeneratorConfig()?.authType,
|
|
200642
200642
|
session_end_time: (/* @__PURE__ */ new Date()).toISOString()
|
|
200643
200643
|
}
|
|
@@ -200709,7 +200709,7 @@ var init_langfuseIntegration = __esm({
|
|
|
200709
200709
|
error,
|
|
200710
200710
|
metadata: {
|
|
200711
200711
|
session_id: this.sessionId,
|
|
200712
|
-
cli_version: "0.1.
|
|
200712
|
+
cli_version: "0.1.49",
|
|
200713
200713
|
auth_type: this.config.getContentGeneratorConfig()?.authType
|
|
200714
200714
|
}
|
|
200715
200715
|
});
|
|
@@ -206130,7 +206130,7 @@ __export(version_exports, {
|
|
|
206130
206130
|
});
|
|
206131
206131
|
async function getCliVersion() {
|
|
206132
206132
|
const pkgJson = await getPackageJson();
|
|
206133
|
-
return "0.1.
|
|
206133
|
+
return "0.1.49";
|
|
206134
206134
|
}
|
|
206135
206135
|
var init_version5 = __esm({
|
|
206136
206136
|
"packages/cli/src/utils/version.ts"() {
|
|
@@ -206200,12 +206200,12 @@ var init_mpdaiConfig = __esm({
|
|
|
206200
206200
|
}
|
|
206201
206201
|
getAuthUrl() {
|
|
206202
206202
|
const config2 = this.loadConfig();
|
|
206203
|
-
if (!config2) return "
|
|
206203
|
+
if (!config2) return "https://ai-agent-platform.epsd.intra.rakuten-it.com/api/auth/user-data";
|
|
206204
206204
|
return `${config2.api.baseUrl}${config2.api.authEndpoint}`;
|
|
206205
206205
|
}
|
|
206206
206206
|
getMcpUrl() {
|
|
206207
206207
|
const config2 = this.loadConfig();
|
|
206208
|
-
if (!config2) return "
|
|
206208
|
+
if (!config2) return "https://ai-agent-platform.epsd.intra.rakuten-it.com/mcp";
|
|
206209
206209
|
return `${config2.api.baseUrl}${config2.api.mcpEndpoint}`;
|
|
206210
206210
|
}
|
|
206211
206211
|
getTimeout() {
|
|
@@ -206218,7 +206218,7 @@ var init_mpdaiConfig = __esm({
|
|
|
206218
206218
|
}
|
|
206219
206219
|
getTokenUrl() {
|
|
206220
206220
|
const config2 = this.loadConfig();
|
|
206221
|
-
if (!config2) return "
|
|
206221
|
+
if (!config2) return "https://ai-agent-platform.epsd.intra.rakuten-it.com/api/auth/token";
|
|
206222
206222
|
return `${config2.api.baseUrl}/api/auth/token`;
|
|
206223
206223
|
}
|
|
206224
206224
|
};
|
|
@@ -277056,7 +277056,7 @@ var require_package7 = __commonJS({
|
|
|
277056
277056
|
"packages/router/package.json"(exports2, module2) {
|
|
277057
277057
|
module2.exports = {
|
|
277058
277058
|
name: "@mpdai/router",
|
|
277059
|
-
version: "0.1.
|
|
277059
|
+
version: "0.1.14",
|
|
277060
277060
|
description: "MPD AI Router - Route Claude Code to other LLM providers",
|
|
277061
277061
|
type: "module",
|
|
277062
277062
|
main: "dist/index.js",
|
|
@@ -311052,7 +311052,7 @@ import { promises as fs36 } from "fs";
|
|
|
311052
311052
|
import path40 from "path";
|
|
311053
311053
|
|
|
311054
311054
|
// packages/cli/src/generated/git-commit.ts
|
|
311055
|
-
var GIT_COMMIT_INFO = "
|
|
311055
|
+
var GIT_COMMIT_INFO = "e72b870 (local modifications)";
|
|
311056
311056
|
|
|
311057
311057
|
// packages/cli/src/ui/hooks/slashCommandProcessor.ts
|
|
311058
311058
|
init_version5();
|
|
@@ -311644,7 +311644,7 @@ var useSlashCommandProcessor = (config2, settings, history, addItem, clearItems,
|
|
|
311644
311644
|
name: "docs",
|
|
311645
311645
|
description: "open full MPD AI CLI documentation in your browser",
|
|
311646
311646
|
action: async (_mainCommand, _subCommand, _args) => {
|
|
311647
|
-
const docsUrl = "
|
|
311647
|
+
const docsUrl = "https://ai-agent-platform.epsd.intra.rakuten-it.com/management/docs/";
|
|
311648
311648
|
if (process27.env.SANDBOX && process27.env.SANDBOX !== "sandbox-exec") {
|
|
311649
311649
|
addMessage({
|
|
311650
311650
|
type: "info" /* INFO */,
|
|
@@ -311742,7 +311742,7 @@ ${docsUrl}`,
|
|
|
311742
311742
|
const mcpServers = config2?.getMcpServers() || {};
|
|
311743
311743
|
const serverNames = Object.keys(mcpServers);
|
|
311744
311744
|
if (serverNames.length === 0) {
|
|
311745
|
-
const docsUrl = "
|
|
311745
|
+
const docsUrl = "https://ai-agent-platform.epsd.intra.rakuten-it.com/management/docs/tools/mcp-server.html";
|
|
311746
311746
|
if (process27.env.SANDBOX && process27.env.SANDBOX !== "sandbox-exec") {
|
|
311747
311747
|
addMessage({
|
|
311748
311748
|
type: "info" /* INFO */,
|
|
@@ -332463,7 +332463,7 @@ var DataCollector = class {
|
|
|
332463
332463
|
// 提取元数据
|
|
332464
332464
|
extractMetadata(data) {
|
|
332465
332465
|
return {
|
|
332466
|
-
cli_version: "0.1.
|
|
332466
|
+
cli_version: "0.1.49",
|
|
332467
332467
|
model: process.env.CUSTOM_LLM_MODEL_NAME || "gemini",
|
|
332468
332468
|
auth_type: process.env.USE_CUSTOM_LLM ? "custom_llm" : "google_oauth",
|
|
332469
332469
|
project_path: data.projectPath,
|
|
@@ -338473,8 +338473,8 @@ var App2 = ({ config: config2, settings, startupWarnings = [] }) => {
|
|
|
338473
338473
|
{
|
|
338474
338474
|
type: "info" /* INFO */,
|
|
338475
338475
|
text: `\u26A1 Slow response times detected. Automatically switching from ${currentModel2} to ${fallbackModel} for faster responses for the remainder of this session.
|
|
338476
|
-
\u26A1 To avoid this you can either upgrade to Standard tier. See:
|
|
338477
|
-
\u26A1 Or you can utilize a MPD API Key. See:
|
|
338476
|
+
\u26A1 To avoid this you can either upgrade to Standard tier. See: https://ai-agent-platform.epsd.intra.rakuten-it.com/mpdaicli.html
|
|
338477
|
+
\u26A1 Or you can utilize a MPD API Key. See: https://ai-agent-platform.epsd.intra.rakuten-it.com/management
|
|
338478
338478
|
\u26A1 You can switch authentication methods by typing /auth`
|
|
338479
338479
|
},
|
|
338480
338480
|
Date.now()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mpd-llm-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.49",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=20.0.0"
|
|
6
6
|
},
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"url": "git+https://git.rakuten-it.com/scm/mpd-ai/mpd-llm-cli.git"
|
|
14
14
|
},
|
|
15
15
|
"config": {
|
|
16
|
-
"sandboxImageUri": "xx:0.1.
|
|
16
|
+
"sandboxImageUri": "xx:0.1.49"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
19
|
"start": "node scripts/start.js",
|