mpd-llm-cli 0.1.41 → 0.1.42
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 +34 -23
- package/package.json +5 -3
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.42";
|
|
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.42";
|
|
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.42";
|
|
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.42", "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.42",
|
|
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.42",
|
|
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.42",
|
|
200713
200713
|
auth_type: this.config.getContentGeneratorConfig()?.authType
|
|
200714
200714
|
}
|
|
200715
200715
|
});
|
|
@@ -276275,7 +276275,7 @@ var require_package7 = __commonJS({
|
|
|
276275
276275
|
"packages/router/package.json"(exports2, module2) {
|
|
276276
276276
|
module2.exports = {
|
|
276277
276277
|
name: "@mpdai/router",
|
|
276278
|
-
version: "0.1.
|
|
276278
|
+
version: "0.1.7",
|
|
276279
276279
|
description: "MPD AI Router - Route Claude Code to other LLM providers",
|
|
276280
276280
|
type: "module",
|
|
276281
276281
|
main: "dist/index.js",
|
|
@@ -310260,7 +310260,7 @@ import { promises as fs36 } from "fs";
|
|
|
310260
310260
|
import path40 from "path";
|
|
310261
310261
|
|
|
310262
310262
|
// packages/cli/src/generated/git-commit.ts
|
|
310263
|
-
var GIT_COMMIT_INFO = "
|
|
310263
|
+
var GIT_COMMIT_INFO = "4938ec4 (local modifications)";
|
|
310264
310264
|
|
|
310265
310265
|
// node_modules/read-package-up/index.js
|
|
310266
310266
|
import path35 from "node:path";
|
|
@@ -310473,7 +310473,7 @@ async function getPackageJson() {
|
|
|
310473
310473
|
// packages/cli/src/utils/version.ts
|
|
310474
310474
|
async function getCliVersion() {
|
|
310475
310475
|
const pkgJson = await getPackageJson();
|
|
310476
|
-
return "0.1.
|
|
310476
|
+
return "0.1.42";
|
|
310477
310477
|
}
|
|
310478
310478
|
|
|
310479
310479
|
// packages/cli/src/ui/commands/memoryCommand.ts
|
|
@@ -312036,22 +312036,22 @@ var Colors = {
|
|
|
312036
312036
|
|
|
312037
312037
|
// packages/cli/src/ui/components/AsciiArt.ts
|
|
312038
312038
|
var shortAsciiLogo = `
|
|
312039
|
-
\u2588\u2588\u2588\
|
|
312040
|
-
\u2588\u2588\
|
|
312041
|
-
\u2588\u2588\
|
|
312042
|
-
\u2588\u2588\
|
|
312043
|
-
\u2588\u2588\u2551
|
|
312044
|
-
\u255A\u2550\u255D \u255A\u2550\u255D\u255A\u2550\u255D
|
|
312039
|
+
\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557
|
|
312040
|
+
\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2554\u255D \u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2551 \u2588\u2588\u2551
|
|
312041
|
+
\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551
|
|
312042
|
+
\u2588\u2588\u2554\u2550\u2550\u255D \u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2551\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2588\u2588\u2557 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551
|
|
312043
|
+
\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2557 \u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551
|
|
312044
|
+
\u255A\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u255D
|
|
312045
312045
|
`;
|
|
312046
312046
|
var longAsciiLogo = `
|
|
312047
|
-
\u2588\u2588\u2588\
|
|
312048
|
-
\u2588\u2588\
|
|
312049
|
-
\u2588\u2588\
|
|
312050
|
-
\u2588\u2588\
|
|
312051
|
-
\u2588\u2588\u2551
|
|
312052
|
-
\u255A\u2550\u255D \u255A\u2550\u255D\u255A\u2550\u255D
|
|
312053
|
-
|
|
312054
|
-
|
|
312047
|
+
\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557
|
|
312048
|
+
\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2554\u255D \u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2551 \u2588\u2588\u2551
|
|
312049
|
+
\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2554\u255D \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551
|
|
312050
|
+
\u2588\u2588\u2554\u2550\u2550\u255D \u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2551\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2588\u2588\u2557 \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551
|
|
312051
|
+
\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2557 \u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551
|
|
312052
|
+
\u255A\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u255D
|
|
312053
|
+
|
|
312054
|
+
Frank Cli - Command Line Interface
|
|
312055
312055
|
Powered by Rakuten MPD & OpenRouter
|
|
312056
312056
|
`;
|
|
312057
312057
|
|
|
@@ -331742,7 +331742,7 @@ var DataCollector = class {
|
|
|
331742
331742
|
// 提取元数据
|
|
331743
331743
|
extractMetadata(data) {
|
|
331744
331744
|
return {
|
|
331745
|
-
cli_version: "0.1.
|
|
331745
|
+
cli_version: "0.1.42",
|
|
331746
331746
|
model: process.env.CUSTOM_LLM_MODEL_NAME || "gemini",
|
|
331747
331747
|
auth_type: process.env.USE_CUSTOM_LLM ? "custom_llm" : "google_oauth",
|
|
331748
331748
|
project_path: data.projectPath,
|
|
@@ -339331,6 +339331,12 @@ async function handleClaudeCodeCommand(args) {
|
|
|
339331
339331
|
return true;
|
|
339332
339332
|
}
|
|
339333
339333
|
async function main() {
|
|
339334
|
+
const commandName = basename5(process.argv[1]);
|
|
339335
|
+
if (commandName === "frankcode") {
|
|
339336
|
+
const args2 = process.argv.slice(2);
|
|
339337
|
+
await handleClaudeCodeCommand(args2);
|
|
339338
|
+
return;
|
|
339339
|
+
}
|
|
339334
339340
|
const args = process.argv.slice(2);
|
|
339335
339341
|
if (args.length > 0 && args[0] === "router") {
|
|
339336
339342
|
const handled = await handleRouterCommand("router", args.slice(1));
|
|
@@ -339609,6 +339615,11 @@ main().catch((error) => {
|
|
|
339609
339615
|
* Copyright 2025 Google LLC
|
|
339610
339616
|
* SPDX-License-Identifier: Apache-2.0
|
|
339611
339617
|
*/
|
|
339618
|
+
/**
|
|
339619
|
+
* @license
|
|
339620
|
+
* Copyright 2026 Google LLC
|
|
339621
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
339622
|
+
*/
|
|
339612
339623
|
/*! Bundled license information:
|
|
339613
339624
|
|
|
339614
339625
|
react/cjs/react.production.js:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mpd-llm-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.42",
|
|
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.42"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
19
|
"start": "node scripts/start.js",
|
|
@@ -50,7 +50,9 @@
|
|
|
50
50
|
"clean": "node scripts/clean.js"
|
|
51
51
|
},
|
|
52
52
|
"bin": {
|
|
53
|
-
"mpdai": "bundle/gemini.js"
|
|
53
|
+
"mpdai": "bundle/gemini.js",
|
|
54
|
+
"frankcli": "bundle/gemini.js",
|
|
55
|
+
"frankcode": "bundle/gemini.js"
|
|
54
56
|
},
|
|
55
57
|
"files": [
|
|
56
58
|
"bundle/",
|