@protolabsai/proto 0.19.1 → 0.19.3

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.
Files changed (2) hide show
  1. package/cli.js +17 -13
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -143158,6 +143158,9 @@ function initializeTelemetry(config2) {
143158
143158
  const parsedEndpoint = parseOtlpEndpoint(otlpEndpoint, otlpProtocol);
143159
143159
  const telemetryOutfile = config2.getTelemetryOutfile();
143160
143160
  const useOtlp = !!parsedEndpoint && !telemetryOutfile;
143161
+ if (!useOtlp && !telemetryOutfile && !langfuseProcessor) {
143162
+ return;
143163
+ }
143161
143164
  let spanExporter;
143162
143165
  let logExporter;
143163
143166
  let metricReader;
@@ -143207,9 +143210,10 @@ function initializeTelemetry(config2) {
143207
143210
  exportIntervalMillis: 1e4
143208
143211
  });
143209
143212
  }
143210
- const spanProcessors = [
143211
- new import_sdk_trace_node.BatchSpanProcessor(spanExporter)
143212
- ];
143213
+ const spanProcessors = [];
143214
+ if (useOtlp || telemetryOutfile) {
143215
+ spanProcessors.push(new import_sdk_trace_node.BatchSpanProcessor(spanExporter));
143216
+ }
143213
143217
  if (langfuseProcessor) {
143214
143218
  spanProcessors.push(langfuseProcessor);
143215
143219
  debugLogger154.debug("Langfuse span processor enabled.");
@@ -170767,7 +170771,7 @@ __export(geminiContentGenerator_exports, {
170767
170771
  createGeminiContentGenerator: () => createGeminiContentGenerator
170768
170772
  });
170769
170773
  function createGeminiContentGenerator(config2, gcConfig) {
170770
- const version2 = "0.19.1";
170774
+ const version2 = "0.19.3";
170771
170775
  const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
170772
170776
  const baseHeaders = {
170773
170777
  "User-Agent": userAgent2
@@ -272701,10 +272705,7 @@ var init_config3 = __esm({
272701
272705
  this.telemetrySettings = {
272702
272706
  enabled: params.telemetry?.enabled ?? false,
272703
272707
  target: params.telemetry?.target ?? DEFAULT_TELEMETRY_TARGET,
272704
- // No default endpoint — if none is configured, OTLP exporters are not used
272705
- // and we fall back to console/file exporters. This prevents spurious
272706
- // "connection refused" errors when no local OTEL collector is running.
272707
- otlpEndpoint: params.telemetry?.otlpEndpoint,
272708
+ otlpEndpoint: params.telemetry?.otlpEndpoint ?? DEFAULT_OTLP_ENDPOINT,
272708
272709
  otlpProtocol: params.telemetry?.otlpProtocol,
272709
272710
  logPrompts: params.telemetry?.logPrompts ?? true,
272710
272711
  outfile: params.telemetry?.outfile,
@@ -273416,7 +273417,7 @@ var init_config3 = __esm({
273416
273417
  return this.telemetrySettings.logPrompts ?? true;
273417
273418
  }
273418
273419
  getTelemetryOtlpEndpoint() {
273419
- return this.telemetrySettings.otlpEndpoint;
273420
+ return this.telemetrySettings.otlpEndpoint ?? DEFAULT_OTLP_ENDPOINT;
273420
273421
  }
273421
273422
  getTelemetryOtlpProtocol() {
273422
273423
  return this.telemetrySettings.otlpProtocol ?? "grpc";
@@ -411659,7 +411660,7 @@ __name(getPackageJson, "getPackageJson");
411659
411660
  // packages/cli/src/utils/version.ts
411660
411661
  async function getCliVersion() {
411661
411662
  const pkgJson = await getPackageJson();
411662
- return "0.19.1";
411663
+ return "0.19.3";
411663
411664
  }
411664
411665
  __name(getCliVersion, "getCliVersion");
411665
411666
 
@@ -419431,7 +419432,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
419431
419432
 
419432
419433
  // packages/cli/src/generated/git-commit.ts
419433
419434
  init_esbuild_shims();
419434
- var GIT_COMMIT_INFO = "26461d249";
419435
+ var GIT_COMMIT_INFO = "e4cd6262e";
419435
419436
 
419436
419437
  // packages/cli/src/utils/systemInfo.ts
419437
419438
  async function getNpmVersion() {
@@ -469421,6 +469422,7 @@ var InputPrompt = /* @__PURE__ */ __name(({
469421
469422
  const voiceEnabled = uiState.voiceEnabled;
469422
469423
  const voiceBackendAvailable = uiState.voiceBackendAvailable;
469423
469424
  const voiceState = uiState.voiceState;
469425
+ const voiceError = uiState.voiceError;
469424
469426
  const { agents, agentTabBarFocused } = useAgentViewState();
469425
469427
  const { setAgentTabBarFocused } = useAgentViewActions();
469426
469428
  const hasAgents = agents.size > 0;
@@ -470253,7 +470255,7 @@ ${finalValue.trim()}`;
470253
470255
  Text3,
470254
470256
  {
470255
470257
  color: voiceState === "recording" ? theme.status.error : voiceState === "error" ? theme.status.errorDim : theme.text.secondary,
470256
- children: voiceState === "recording" ? "[\u25CF REC]" : voiceState === "transcribing" ? "[\u25CC STT...]" : `[Voice error: ${"unknown"}]`
470258
+ children: voiceState === "recording" ? "[\u25CF REC]" : voiceState === "transcribing" ? "[\u25CC STT...]" : `[Voice error: ${voiceError ?? "unknown"}]`
470257
470259
  }
470258
470260
  ) }),
470259
470261
  /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
@@ -481914,6 +481916,7 @@ ${migrationResult.failedFiles.map((f5) => ` \u2022 ${f5.file}: ${f5.error}`).jo
481914
481916
  voiceEnabled,
481915
481917
  voiceBackendAvailable: voice.backendAvailable,
481916
481918
  voiceState: voice.voiceState,
481919
+ voiceError: voice.error,
481917
481920
  // Prompt suggestion
481918
481921
  promptSuggestion,
481919
481922
  dismissPromptSuggestion
@@ -482024,6 +482027,7 @@ ${migrationResult.failedFiles.map((f5) => ` \u2022 ${f5.file}: ${f5.error}`).jo
482024
482027
  voiceEnabled,
482025
482028
  voice.backendAvailable,
482026
482029
  voice.voiceState,
482030
+ voice.error,
482027
482031
  // Prompt suggestion
482028
482032
  promptSuggestion,
482029
482033
  dismissPromptSuggestion
@@ -486227,7 +486231,7 @@ var QwenAgent = class {
486227
486231
  async initialize(args2) {
486228
486232
  this.clientCapabilities = args2.clientCapabilities;
486229
486233
  const authMethods = buildAuthMethods();
486230
- const version2 = "0.19.1";
486234
+ const version2 = "0.19.3";
486231
486235
  return {
486232
486236
  protocolVersion: PROTOCOL_VERSION,
486233
486237
  agentInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protolabsai/proto",
3
- "version": "0.19.1",
3
+ "version": "0.19.3",
4
4
  "description": "proto - AI-powered coding agent",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  "bundled"
22
22
  ],
23
23
  "config": {
24
- "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.19.1"
24
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.19.3"
25
25
  },
26
26
  "dependencies": {},
27
27
  "optionalDependencies": {