@protolabsai/proto 0.19.1 → 0.19.2
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/cli.js +13 -12
- 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
|
-
|
|
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.
|
|
170774
|
+
const version2 = "0.19.2";
|
|
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
|
-
|
|
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.
|
|
411663
|
+
return "0.19.2";
|
|
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 = "
|
|
419435
|
+
var GIT_COMMIT_INFO = "d47813cf6";
|
|
419435
419436
|
|
|
419436
419437
|
// packages/cli/src/utils/systemInfo.ts
|
|
419437
419438
|
async function getNpmVersion() {
|
|
@@ -486227,7 +486228,7 @@ var QwenAgent = class {
|
|
|
486227
486228
|
async initialize(args2) {
|
|
486228
486229
|
this.clientCapabilities = args2.clientCapabilities;
|
|
486229
486230
|
const authMethods = buildAuthMethods();
|
|
486230
|
-
const version2 = "0.19.
|
|
486231
|
+
const version2 = "0.19.2";
|
|
486231
486232
|
return {
|
|
486232
486233
|
protocolVersion: PROTOCOL_VERSION,
|
|
486233
486234
|
agentInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protolabsai/proto",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.2",
|
|
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.
|
|
24
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.19.2"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {},
|
|
27
27
|
"optionalDependencies": {
|