@optima-chat/optima-agent 0.2.12 → 0.2.13
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/bin/optima.js
CHANGED
|
@@ -4,7 +4,7 @@ import { OptimaAgent } from "../src/index.js";
|
|
|
4
4
|
import { startInteractiveMode } from "../src/ui/index.js";
|
|
5
5
|
import { startServer } from "../src/server/index.js";
|
|
6
6
|
import { startHeadlessMode } from "../src/ui/headless.js";
|
|
7
|
-
const VERSION = "0.2.
|
|
7
|
+
const VERSION = "0.2.13";
|
|
8
8
|
function printHelp() {
|
|
9
9
|
console.log(`
|
|
10
10
|
Optima Agent - 电商运营 AI 助手
|
package/dist/src/auth/types.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const ENV_CONFIG = {
|
|
5
5
|
ci: { authUrl: "https://auth.optima.chat" },
|
|
6
|
-
stage: { authUrl: "https://auth
|
|
6
|
+
stage: { authUrl: "https://auth.stage.optima.onl" },
|
|
7
7
|
prod: { authUrl: "https://auth.optima.shop" },
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/auth/types.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAA6C;IAClE,EAAE,EAAE,EAAE,OAAO,EAAE,0BAA0B,EAAE;IAC3C,KAAK,EAAE,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/auth/types.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAA6C;IAClE,EAAE,EAAE,EAAE,OAAO,EAAE,0BAA0B,EAAE;IAC3C,KAAK,EAAE,EAAE,OAAO,EAAE,+BAA+B,EAAE;IACnD,IAAI,EAAE,EAAE,OAAO,EAAE,0BAA0B,EAAE;CAC9C,CAAC"}
|
package/dist/src/ui/stream.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OptimaAgent } from "../agent.js";
|
|
2
2
|
import { getAuthStatus, clearToken, startDeviceFlow, getTokenData, isTokenExpired, refreshToken, } from "../auth/index.js";
|
|
3
|
-
const VERSION = "0.2.
|
|
3
|
+
const VERSION = "0.2.13";
|
|
4
4
|
const MAX_RESULT_LINES = 5;
|
|
5
5
|
const MAX_LINE_LENGTH = 120; // 每行最大字符数
|
|
6
6
|
const AVAILABLE_MODELS = [
|