Skip to content

Commit a15eeb6

Browse files
committed
address comment: make common props readonly
1 parent 710b131 commit a15eeb6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/telemetry/telemetry.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,11 @@ export class Telemetry {
2929
private readonly commonProperties: CommonProperties;
3030

3131
constructor(private readonly session: Session) {
32-
// Create an immutable object with all telemetry properties
33-
this.commonProperties = Object.freeze({
32+
this.commonProperties = {
3433
...MACHINE_METADATA,
3534
mcp_client_version: this.session.agentRunner?.version,
3635
mcp_client_name: this.session.agentRunner?.name,
37-
});
36+
};
3837
}
3938

4039
/**

0 commit comments

Comments
 (0)