viben 1.0.8 → 1.1.0

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.cjs CHANGED
@@ -2627,7 +2627,7 @@ var import_readline = require("readline");
2627
2627
  var import_sdk_node = require("@opentelemetry/sdk-node");
2628
2628
  var import_sdk_trace_base = require("@opentelemetry/sdk-trace-base");
2629
2629
  var import_sdk_metrics = require("@opentelemetry/sdk-metrics");
2630
- var import_instrumentation_fastify = require("@opentelemetry/instrumentation-fastify");
2630
+ var import_otel = __toESM(require("@fastify/otel"), 1);
2631
2631
  var import_instrumentation_http = require("@opentelemetry/instrumentation-http");
2632
2632
  var import_ws = __toESM(require("ws"), 1);
2633
2633
  var import_stream = __toESM(require("stream"), 1);
@@ -12130,7 +12130,7 @@ function initTelemetry(config) {
12130
12130
  return false;
12131
12131
  }
12132
12132
  }),
12133
- new import_instrumentation_fastify.FastifyInstrumentation()
12133
+ new import_otel.default({ registerOnInitialization: true })
12134
12134
  ]
12135
12135
  });
12136
12136
  sdk.start();
@@ -174722,7 +174722,7 @@ ${import_chalk.default.bold("Telemetry \u7EDF\u8BA1")}:
174722
174722
  init_lib();
174723
174723
  init_update();
174724
174724
  var execAsync11 = (0, import_util.promisify)(import_child_process.exec);
174725
- var CURRENT_VERSION = "1.0.0";
174725
+ var CURRENT_VERSION = "1.1.0";
174726
174726
  var GITHUB_REPO = "LinXueyuanStdio/viben";
174727
174727
  var NPM_PACKAGE = "viben";
174728
174728
  function compareSemver(a, b) {
@@ -182595,7 +182595,7 @@ function registerCommands(program) {
182595
182595
  registerIndexCommand(program);
182596
182596
  registerLoginCommand(program);
182597
182597
  }
182598
- var VERSION3 = "1.0.0";
182598
+ var VERSION3 = "1.1.0";
182599
182599
  function createProgram() {
182600
182600
  const program = new import_commander.Command();
182601
182601
  program.name("viben").description("Viben - Agent Swarm \xD7 Code Evolution").version(VERSION3, "-v, --version", "Output the version number");
@@ -182644,4 +182644,3 @@ mime-types/index.js:
182644
182644
  * MIT Licensed
182645
182645
  *)
182646
182646
  */
182647
- //# sourceMappingURL=index.cjs.map
package/dist/index.js CHANGED
@@ -2619,7 +2619,7 @@ import { createInterface as createInterface2 } from "readline";
2619
2619
  import { NodeSDK } from "@opentelemetry/sdk-node";
2620
2620
  import { BatchSpanProcessor } from "@opentelemetry/sdk-trace-base";
2621
2621
  import { PeriodicExportingMetricReader } from "@opentelemetry/sdk-metrics";
2622
- import { FastifyInstrumentation } from "@opentelemetry/instrumentation-fastify";
2622
+ import FastifyOtelInstrumentation from "@fastify/otel";
2623
2623
  import { HttpInstrumentation } from "@opentelemetry/instrumentation-http";
2624
2624
  import WebSocket2 from "ws";
2625
2625
  import stream3, { Readable } from "stream";
@@ -12121,7 +12121,7 @@ function initTelemetry(config) {
12121
12121
  return false;
12122
12122
  }
12123
12123
  }),
12124
- new FastifyInstrumentation()
12124
+ new FastifyOtelInstrumentation({ registerOnInitialization: true })
12125
12125
  ]
12126
12126
  });
12127
12127
  sdk.start();
@@ -174713,7 +174713,7 @@ ${chalk22.bold("Telemetry \u7EDF\u8BA1")}:
174713
174713
  init_lib();
174714
174714
  init_update();
174715
174715
  var execAsync11 = promisify(exec);
174716
- var CURRENT_VERSION = "1.0.0";
174716
+ var CURRENT_VERSION = "1.1.0";
174717
174717
  var GITHUB_REPO = "LinXueyuanStdio/viben";
174718
174718
  var NPM_PACKAGE = "viben";
174719
174719
  function compareSemver(a, b) {
@@ -182586,7 +182586,7 @@ function registerCommands(program) {
182586
182586
  registerIndexCommand(program);
182587
182587
  registerLoginCommand(program);
182588
182588
  }
182589
- var VERSION3 = "1.0.0";
182589
+ var VERSION3 = "1.1.0";
182590
182590
  function createProgram() {
182591
182591
  const program = new Command();
182592
182592
  program.name("viben").description("Viben - Agent Swarm \xD7 Code Evolution").version(VERSION3, "-v, --version", "Output the version number");
@@ -182634,4 +182634,3 @@ mime-types/index.js:
182634
182634
  * MIT Licensed
182635
182635
  *)
182636
182636
  */
182637
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viben",
3
- "version": "1.0.8",
3
+ "version": "1.1.0",
4
4
  "description": "CLI for Viben - Agent Swarm × Code Evolution platform",
5
5
  "keywords": [
6
6
  "viben",
@@ -55,8 +55,7 @@
55
55
  "clean": "rm -rf dist",
56
56
  "test": "vitest run",
57
57
  "test:watch": "vitest",
58
- "test:coverage": "vitest run --coverage",
59
- "prepublishOnly": "npm run build"
58
+ "test:coverage": "vitest run --coverage"
60
59
  },
61
60
  "dependencies": {
62
61
  "@anthropic-ai/claude-agent-sdk": "^0.2.71",
@@ -67,12 +66,12 @@
67
66
  "@fastify/websocket": "^11.2.0",
68
67
  "@modelcontextprotocol/sdk": "^1.27.1",
69
68
  "@opentelemetry/api": "^1.9.0",
70
- "@opentelemetry/instrumentation-fastify": "^0.57.0",
71
- "@opentelemetry/instrumentation-http": "^0.212.0",
69
+ "@fastify/otel": "^0.18.1",
70
+ "@opentelemetry/instrumentation-http": "^0.214.0",
72
71
  "@opentelemetry/sdk-metrics": "^2.5.1",
73
- "@opentelemetry/sdk-node": "^0.212.0",
72
+ "@opentelemetry/sdk-node": "^0.214.0",
74
73
  "@opentelemetry/sdk-trace-base": "^2.6.0",
75
- "adm-zip": "^0.5.16",
74
+ "adm-zip": "^0.5.17",
76
75
  "chalk": "^5.3.0",
77
76
  "commander": "^14.0.3",
78
77
  "cron-parser": "^5.5.0",