qlogicagent 2.10.28 → 2.10.30

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.
@@ -1,6 +1,7 @@
1
1
  import { type CommunityConsentClient, type CommunityConsentView } from "../../runtime/community/community-consent-client.js";
2
2
  import { type AgentRpcError, type AgentRpcRequest } from "../../protocol/wire/index.js";
3
- export type { CommunityConsentClient, CommunityConsentView, CommunityInstallRiskTier, CommunityInstallResolution, CommunityListNoticesInput, CommunityNotice, CommunityPublishSkillInput, CommunityRecordSignalInput, CommunityRecordTelemetryInput, CommunitySignalEvent, CommunityTelemetryEvent, SetCommunityConsentInput, } from "../../runtime/community/community-consent-client.js";
3
+ export type { CommunityConsentClient, CommunityConsentView, CommunityInstallRiskTier, CommunityInstallResolution, CommunityListNoticesInput, CommunityNotice, CommunityPublishSkillInput, CommunityRecordSignalInput, CommunityRecordTelemetryInput, CommunitySignalEvent, SetCommunityConsentInput, } from "../../runtime/community/community-consent-client.js";
4
+ export type { CommunityTelemetryEvent } from "../../runtime/community/community-telemetry-types.js";
4
5
  export interface CommunityConsentStore {
5
6
  read(): Promise<CommunityConsentView>;
6
7
  write(consent: CommunityConsentView): Promise<void>;
@@ -1,3 +1,4 @@
1
+ import type { CommunityTelemetryEvent } from "./community-telemetry-types.js";
1
2
  export interface CommunityConsentView {
2
3
  enabled: boolean;
3
4
  methodSharingEnabled: boolean;
@@ -63,7 +64,6 @@ export interface CommunityRecordSignalInput {
63
64
  export interface CommunityRecordSignalResult {
64
65
  accepted: true;
65
66
  }
66
- export type CommunityTelemetryEvent = "community.journey.view" | "community.share.generated" | "community.sandbox.violation" | "community.desensitization.hit";
67
67
  export interface CommunityRecordTelemetryInput {
68
68
  event: CommunityTelemetryEvent;
69
69
  metadata?: Record<string, unknown>;
@@ -0,0 +1,4 @@
1
+ import type { CommunityTelemetryEvent } from "./community-telemetry-types.js";
2
+ type SafeTelemetryMetadataValue = string | number | boolean;
3
+ export declare function sanitizeCommunityTelemetryMetadata(event: CommunityTelemetryEvent, metadata: unknown): Record<string, SafeTelemetryMetadataValue> | undefined;
4
+ export {};
@@ -0,0 +1 @@
1
+ export type CommunityTelemetryEvent = "community.journey.view" | "community.share.generated" | "community.sandbox.violation" | "community.desensitization.hit";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qlogicagent",
3
- "version": "2.10.28",
3
+ "version": "2.10.30",
4
4
  "description": "XiaozhiClaw Agent CLI — subprocess architecture (JSON-RPC over stdio)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",