@protolabsai/proto 0.19.0 → 0.19.1
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 -8
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -143277,7 +143277,9 @@ var init_sdk = __esm({
|
|
|
143277
143277
|
init_metrics2();
|
|
143278
143278
|
init_file_exporters();
|
|
143279
143279
|
init_debugLogger();
|
|
143280
|
-
|
|
143280
|
+
if (process.env?.["PROTO_OTEL_DEBUG"]) {
|
|
143281
|
+
diag2.setLogger(new DiagConsoleLogger(), DiagLogLevel.DEBUG);
|
|
143282
|
+
}
|
|
143281
143283
|
telemetryInitialized = false;
|
|
143282
143284
|
__name(buildLangfuseSpanProcessor, "buildLangfuseSpanProcessor");
|
|
143283
143285
|
__name(isTelemetrySdkInitialized, "isTelemetrySdkInitialized");
|
|
@@ -170765,7 +170767,7 @@ __export(geminiContentGenerator_exports, {
|
|
|
170765
170767
|
createGeminiContentGenerator: () => createGeminiContentGenerator
|
|
170766
170768
|
});
|
|
170767
170769
|
function createGeminiContentGenerator(config2, gcConfig) {
|
|
170768
|
-
const version2 = "0.19.
|
|
170770
|
+
const version2 = "0.19.1";
|
|
170769
170771
|
const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
170770
170772
|
const baseHeaders = {
|
|
170771
170773
|
"User-Agent": userAgent2
|
|
@@ -272699,7 +272701,10 @@ var init_config3 = __esm({
|
|
|
272699
272701
|
this.telemetrySettings = {
|
|
272700
272702
|
enabled: params.telemetry?.enabled ?? false,
|
|
272701
272703
|
target: params.telemetry?.target ?? DEFAULT_TELEMETRY_TARGET,
|
|
272702
|
-
|
|
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,
|
|
272703
272708
|
otlpProtocol: params.telemetry?.otlpProtocol,
|
|
272704
272709
|
logPrompts: params.telemetry?.logPrompts ?? true,
|
|
272705
272710
|
outfile: params.telemetry?.outfile,
|
|
@@ -272781,7 +272786,7 @@ var init_config3 = __esm({
|
|
|
272781
272786
|
generationConfigSources: params.generationConfigSources,
|
|
272782
272787
|
onModelChange: this.handleModelChange.bind(this)
|
|
272783
272788
|
});
|
|
272784
|
-
if (this.telemetrySettings.enabled) {
|
|
272789
|
+
if (this.telemetrySettings.enabled || process7.env?.["LANGFUSE_PUBLIC_KEY"] && process7.env?.["LANGFUSE_SECRET_KEY"]) {
|
|
272785
272790
|
initializeTelemetry(this);
|
|
272786
272791
|
}
|
|
272787
272792
|
if (this.getProxy()) {
|
|
@@ -273411,7 +273416,7 @@ var init_config3 = __esm({
|
|
|
273411
273416
|
return this.telemetrySettings.logPrompts ?? true;
|
|
273412
273417
|
}
|
|
273413
273418
|
getTelemetryOtlpEndpoint() {
|
|
273414
|
-
return this.telemetrySettings.otlpEndpoint
|
|
273419
|
+
return this.telemetrySettings.otlpEndpoint;
|
|
273415
273420
|
}
|
|
273416
273421
|
getTelemetryOtlpProtocol() {
|
|
273417
273422
|
return this.telemetrySettings.otlpProtocol ?? "grpc";
|
|
@@ -411654,7 +411659,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
411654
411659
|
// packages/cli/src/utils/version.ts
|
|
411655
411660
|
async function getCliVersion() {
|
|
411656
411661
|
const pkgJson = await getPackageJson();
|
|
411657
|
-
return "0.19.
|
|
411662
|
+
return "0.19.1";
|
|
411658
411663
|
}
|
|
411659
411664
|
__name(getCliVersion, "getCliVersion");
|
|
411660
411665
|
|
|
@@ -419426,7 +419431,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
419426
419431
|
|
|
419427
419432
|
// packages/cli/src/generated/git-commit.ts
|
|
419428
419433
|
init_esbuild_shims();
|
|
419429
|
-
var GIT_COMMIT_INFO = "
|
|
419434
|
+
var GIT_COMMIT_INFO = "26461d249";
|
|
419430
419435
|
|
|
419431
419436
|
// packages/cli/src/utils/systemInfo.ts
|
|
419432
419437
|
async function getNpmVersion() {
|
|
@@ -486222,7 +486227,7 @@ var QwenAgent = class {
|
|
|
486222
486227
|
async initialize(args2) {
|
|
486223
486228
|
this.clientCapabilities = args2.clientCapabilities;
|
|
486224
486229
|
const authMethods = buildAuthMethods();
|
|
486225
|
-
const version2 = "0.19.
|
|
486230
|
+
const version2 = "0.19.1";
|
|
486226
486231
|
return {
|
|
486227
486232
|
protocolVersion: PROTOCOL_VERSION,
|
|
486228
486233
|
agentInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protolabsai/proto",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.1",
|
|
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.1"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {},
|
|
27
27
|
"optionalDependencies": {
|