@t2000/cli 0.18.4 → 0.18.6

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.
@@ -1,15 +1,15 @@
1
- import { createRequire as __createRequire } from 'module'; const require = __createRequire(import.meta.url);
1
+ import { createRequire as __createRequire } from 'module'; import { fileURLToPath as __fileURLToPath } from 'url'; import { dirname as __pathDirname } from 'path'; const require = __createRequire(import.meta.url); const __filename = __fileURLToPath(import.meta.url); const __dirname = __pathDirname(__filename);
2
2
  import {
3
3
  ZodOptional,
4
4
  external_exports,
5
5
  objectType,
6
6
  zodToJsonSchema
7
- } from "./chunk-XIQ5PRLT.js";
7
+ } from "./chunk-5TJJMPLT.js";
8
8
  import {
9
9
  __commonJS,
10
10
  __export,
11
11
  __toESM
12
- } from "./chunk-2P7CF3JO.js";
12
+ } from "./chunk-YPWSCLE3.js";
13
13
 
14
14
  // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
15
15
  var require_code = __commonJS({
@@ -17052,4 +17052,4 @@ async function startMcpServer(opts) {
17052
17052
  export {
17053
17053
  startMcpServer
17054
17054
  };
17055
- //# sourceMappingURL=dist-5DMINJAS.js.map
17055
+ //# sourceMappingURL=dist-NNID5OEY.js.map
@@ -1,13 +1,13 @@
1
- import { createRequire as __createRequire } from 'module'; const require = __createRequire(import.meta.url);
1
+ import { createRequire as __createRequire } from 'module'; import { fileURLToPath as __fileURLToPath } from 'url'; import { dirname as __pathDirname } from 'path'; const require = __createRequire(import.meta.url); const __filename = __fileURLToPath(import.meta.url); const __dirname = __pathDirname(__filename);
2
2
  import {
3
3
  File,
4
4
  isFile
5
- } from "./chunk-UKFUFU5T.js";
5
+ } from "./chunk-7KJXKMEM.js";
6
6
  import {
7
7
  __commonJS,
8
8
  __require,
9
9
  __toESM
10
- } from "./chunk-2P7CF3JO.js";
10
+ } from "./chunk-YPWSCLE3.js";
11
11
 
12
12
  // ../../node_modules/.pnpm/node-domexception@1.0.0/node_modules/node-domexception/index.js
13
13
  var require_node_domexception = __commonJS({
@@ -128,4 +128,4 @@ export {
128
128
  node-domexception/index.js:
129
129
  (*! node-domexception. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
130
130
  */
131
- //# sourceMappingURL=fileFromPath-5M6WXDSO.js.map
131
+ //# sourceMappingURL=fileFromPath-TJOXOKGY.js.map
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { createRequire as __createRequire } from 'module'; const require = __createRequire(import.meta.url);
3
- import "./chunk-2P7CF3JO.js";
2
+ import { createRequire as __createRequire } from 'module'; import { fileURLToPath as __fileURLToPath } from 'url'; import { dirname as __pathDirname } from 'path'; const require = __createRequire(import.meta.url); const __filename = __fileURLToPath(import.meta.url); const __dirname = __pathDirname(__filename);
3
+ import "./chunk-YPWSCLE3.js";
4
4
 
5
5
  // src/program.ts
6
6
  import { Command } from "commander";
@@ -2069,7 +2069,7 @@ function registerMcp(program2) {
2069
2069
  mcp.command("start", { isDefault: true }).description("Start MCP server (stdio transport)").option("--key <path>", "Key file path").action(async (opts) => {
2070
2070
  let mod;
2071
2071
  try {
2072
- mod = await import("./dist-5DMINJAS.js");
2072
+ mod = await import("./dist-NNID5OEY.js");
2073
2073
  } catch {
2074
2074
  console.error(
2075
2075
  "MCP server not installed. Run:\n npm install -g @t2000/mcp"
@@ -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-PSN4YXQP.js");
2936
+ const { Gateway } = await import("./dist-ALKOTWPF.js");
2937
2937
  const gateway = await Gateway.create({
2938
2938
  agent,
2939
2939
  port: parseInt(opts.port, 10),
@@ -2942,13 +2942,15 @@ 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
- printSuccess(`Agent unlocked (${truncAddr})`);
2947
- printSuccess(`${info.llmProvider === "anthropic" ? "Claude" : "GPT"} connected (${info.llmModel})`);
2948
- if (info.telegramConnected) printSuccess("Telegram connected");
2949
- if (info.webchatUrl) printSuccess(`WebChat at ${pc16.underline(info.webchatUrl)}`);
2950
- if (info.heartbeatTasks > 0) printSuccess(`Heartbeat started (${info.heartbeatTasks} tasks)`);
2951
- printSuccess("Ready \u2014 talk to your agent");
2947
+ printSuccess(`Agent: ${truncAddr}`);
2948
+ printSuccess(`LLM: ${info.llmProvider === "anthropic" ? "Claude" : "GPT"} (${info.llmModel})`);
2949
+ if (info.webchatUrl) printSuccess(`WebChat: ${pc16.underline(info.webchatUrl)}`);
2950
+ if (info.telegramConnected) printSuccess("Telegram: connected");
2951
+ if (info.heartbeatTasks > 0) printSuccess(`Heartbeat: ${info.heartbeatTasks} tasks`);
2952
+ console.log("");
2953
+ printSuccess(pc16.bold("Ready \u2014 talk to your agent"));
2952
2954
  console.log("");
2953
2955
  await new Promise(() => {
2954
2956
  });