@t2000/cli 0.18.5 → 0.18.7
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/index.js
CHANGED
|
@@ -2933,7 +2933,7 @@ function registerGateway(program2) {
|
|
|
2933
2933
|
console.log("");
|
|
2934
2934
|
console.log(` ${pc16.bold("t2000 gateway")}`);
|
|
2935
2935
|
console.log("");
|
|
2936
|
-
const { Gateway } = await import("./dist-
|
|
2936
|
+
const { Gateway } = await import("./dist-QPASVL6D.js");
|
|
2937
2937
|
const gateway = await Gateway.create({
|
|
2938
2938
|
agent,
|
|
2939
2939
|
port: parseInt(opts.port, 10),
|
|
@@ -2942,13 +2942,19 @@ function registerGateway(program2) {
|
|
|
2942
2942
|
verbose: opts.verbose
|
|
2943
2943
|
});
|
|
2944
2944
|
const info = await gateway.start();
|
|
2945
|
+
console.log("");
|
|
2945
2946
|
const truncAddr = info.address.slice(0, 6) + "..." + info.address.slice(-4);
|
|
2946
2947
|
printSuccess(`Agent unlocked (${truncAddr})`);
|
|
2947
2948
|
printSuccess(`${info.llmProvider === "anthropic" ? "Claude" : "GPT"} connected (${info.llmModel})`);
|
|
2948
|
-
if (info.telegramConnected) printSuccess("Telegram connected");
|
|
2949
2949
|
if (info.webchatUrl) printSuccess(`WebChat at ${pc16.underline(info.webchatUrl)}`);
|
|
2950
|
+
if (info.telegramConnected) {
|
|
2951
|
+
printSuccess("Telegram connected");
|
|
2952
|
+
} else if (opts.telegram) {
|
|
2953
|
+
printWarning("Telegram not connected");
|
|
2954
|
+
}
|
|
2950
2955
|
if (info.heartbeatTasks > 0) printSuccess(`Heartbeat started (${info.heartbeatTasks} tasks)`);
|
|
2951
|
-
|
|
2956
|
+
console.log("");
|
|
2957
|
+
printSuccess(pc16.bold("Ready \u2014 talk to your agent"));
|
|
2952
2958
|
console.log("");
|
|
2953
2959
|
await new Promise(() => {
|
|
2954
2960
|
});
|