aKode fase 2c: eliminato il codice di invio dati (crate analytics, otel-trace-websocket, sentry, esportatori OTLP); /feedback salva solo in locale; chiavi legacy [analytics]/[otel] accettate e ignorate; test di analytics/OTLP/upload rimossi
Some checks failed
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled
Some checks failed
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled
This commit is contained in:
@@ -100,7 +100,7 @@ pub struct ResponseIncompleteError {
|
||||
#[strum_discriminants(derive(serde::Serialize, strum_macros::IntoStaticStr))]
|
||||
#[strum_discriminants(strum(serialize_all = "snake_case"))]
|
||||
#[strum_discriminants(serde(rename_all = "snake_case"))]
|
||||
#[strum_discriminants(doc = "The payload-free semantic category used for analytics.")]
|
||||
#[strum_discriminants(doc = "The payload-free semantic category of the error.")]
|
||||
pub enum CodexErrorDetails {
|
||||
#[error("turn aborted. Something went wrong? Hit `/feedback` to report the issue.")]
|
||||
TurnAborted,
|
||||
|
||||
@@ -271,7 +271,7 @@ pub fn is_safe_plugin_relative_path(path: &str) -> bool {
|
||||
})
|
||||
}
|
||||
|
||||
/// Immutable model labels carried within command lifecycle events for analytics.
|
||||
/// Immutable model labels carried within command lifecycle events.
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub struct ModelInvocationContext {
|
||||
pub model_slug: String,
|
||||
@@ -280,7 +280,7 @@ pub struct ModelInvocationContext {
|
||||
|
||||
#[derive(Debug, Clone, Deserialize, Serialize, TS, JsonSchema, PartialEq)]
|
||||
pub struct CommandExecutionItem {
|
||||
/// Observed process backend for live analytics; None means unknown or not launched.
|
||||
/// Observed process backend; None means unknown or not launched.
|
||||
#[serde(skip)]
|
||||
#[schemars(skip)]
|
||||
#[ts(skip)]
|
||||
|
||||
@@ -287,7 +287,7 @@ impl CollabAgentToolCallItem {
|
||||
pub(crate) fn as_legacy_begin_event(&self, started_at_ms: i64) -> Option<EventMsg> {
|
||||
let receiver_thread_id = self.receiver_thread_ids.first().copied();
|
||||
match self.tool {
|
||||
// V2 records these tool items privately for analytics, not legacy UI events.
|
||||
// V2 records these tool items privately, not as legacy UI events.
|
||||
CollabAgentTool::SendMessage
|
||||
| CollabAgentTool::FollowupTask
|
||||
| CollabAgentTool::InterruptAgent
|
||||
|
||||
@@ -409,7 +409,7 @@ pub struct ExecutedToolCall {
|
||||
pub name: String,
|
||||
#[ts(type = "unknown")]
|
||||
arguments: ExecutedToolCallArguments,
|
||||
/// Host-generated analytics only: ignore input JSON rather than accepting caller-supplied
|
||||
/// Host-generated only: ignore input JSON rather than accepting caller-supplied
|
||||
/// evidence, and keep this out of public schemas and generated clients.
|
||||
#[serde(default, skip_deserializing, skip_serializing_if = "Option::is_none")]
|
||||
#[schemars(skip)]
|
||||
|
||||
@@ -3502,7 +3502,7 @@ pub struct SessionMeta {
|
||||
pub cli_version: String,
|
||||
#[serde(default)]
|
||||
pub source: SessionSource,
|
||||
/// Optional analytics source classification for this thread.
|
||||
/// Optional source classification for this thread.
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub thread_source: Option<ThreadSource>,
|
||||
/// Optional random unique nickname assigned to an AgentControl-spawned sub-agent.
|
||||
@@ -4347,7 +4347,7 @@ pub struct SessionConfiguredEvent {
|
||||
pub forked_from_id: Option<ThreadId>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub parent_thread_id: Option<ThreadId>,
|
||||
/// Optional analytics source classification for this thread.
|
||||
/// Optional source classification for this thread.
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub thread_source: Option<ThreadSource>,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user