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

This commit is contained in:
Andrea
2026-11-09 18:45:41 +01:00
parent 981745ccc8
commit 60532b6337
509 changed files with 2043 additions and 46606 deletions

View File

@@ -1168,7 +1168,7 @@
]
},
"providerId": {
"description": "Opaque provider identifier supplied by the caller for analytics attribution and import history display. This does not select the migration source.",
"description": "Opaque provider identifier supplied by the caller for attribution and import history display. This does not select the migration source.",
"type": [
"string",
"null"
@@ -1235,6 +1235,7 @@
"type": "string"
},
"FeedbackSaveParams": {
"description": "Report contents for `feedback/save`. Feedback is only ever saved locally.",
"properties": {
"classification": {
"type": "string"
@@ -1287,50 +1288,6 @@
],
"type": "object"
},
"FeedbackUploadParams": {
"properties": {
"classification": {
"type": "string"
},
"extraLogFiles": {
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"includeLogs": {
"type": "boolean"
},
"reason": {
"type": [
"string",
"null"
]
},
"tags": {
"additionalProperties": {
"type": "string"
},
"type": [
"object",
"null"
]
},
"threadId": {
"type": [
"string",
"null"
]
}
},
"required": [
"classification"
],
"type": "object"
},
"FsCopyParams": {
"description": "Copy a file or directory tree on the host filesystem.",
"properties": {
@@ -4853,7 +4810,7 @@
"type": "null"
}
],
"description": "Optional client-supplied analytics source classification for this forked thread."
"description": "Optional client-supplied source classification for this forked thread."
}
},
"required": [
@@ -5943,7 +5900,7 @@
"type": "null"
}
],
"description": "Optional client-supplied analytics source classification for this thread."
"description": "Optional client-supplied source classification for this thread."
}
},
"type": "object"
@@ -8816,30 +8773,6 @@
"title": "Account/sendAddCreditsNudgeEmailRequest",
"type": "object"
},
{
"properties": {
"id": {
"$ref": "#/definitions/RequestId"
},
"method": {
"enum": [
"feedback/upload"
],
"title": "Feedback/uploadRequestMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/FeedbackUploadParams"
}
},
"required": [
"id",
"method",
"params"
],
"title": "Feedback/uploadRequest",
"type": "object"
},
{
"properties": {
"id": {

View File

@@ -4478,7 +4478,7 @@
"type": "null"
}
],
"description": "Optional analytics source classification for this thread."
"description": "Optional source classification for this thread."
},
"turns": {
"description": "Only populated on `thread/resume`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.",

View File

@@ -2455,30 +2455,6 @@
"title": "Account/sendAddCreditsNudgeEmailRequest",
"type": "object"
},
{
"properties": {
"id": {
"$ref": "#/definitions/v2/RequestId"
},
"method": {
"enum": [
"feedback/upload"
],
"title": "Feedback/uploadRequestMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/v2/FeedbackUploadParams"
}
},
"required": [
"id",
"method",
"params"
],
"title": "Feedback/uploadRequest",
"type": "object"
},
{
"properties": {
"id": {
@@ -7514,18 +7490,6 @@
],
"type": "string"
},
"AnalyticsConfig": {
"additionalProperties": true,
"properties": {
"enabled": {
"type": [
"boolean",
"null"
]
}
},
"type": "object"
},
"AppBranding": {
"description": "EXPERIMENTAL - app metadata returned by app-list APIs.",
"properties": {
@@ -9833,16 +9797,6 @@
"Config": {
"additionalProperties": true,
"properties": {
"analytics": {
"anyOf": [
{
"$ref": "#/definitions/v2/AnalyticsConfig"
},
{
"type": "null"
}
]
},
"approval_policy": {
"anyOf": [
{
@@ -12071,7 +12025,7 @@
]
},
"providerId": {
"description": "Opaque provider identifier supplied by the caller for analytics attribution and import history display. This does not select the migration source.",
"description": "Opaque provider identifier supplied by the caller for attribution and import history display. This does not select the migration source.",
"type": [
"string",
"null"
@@ -12264,6 +12218,7 @@
},
"FeedbackSaveParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Report contents for `feedback/save`. Feedback is only ever saved locally.",
"properties": {
"classification": {
"type": "string"
@@ -12321,7 +12276,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"promptHash": {
"description": "Same prompt hash as feedback/upload; null when prompt metadata is absent.",
"description": "Whitespace-normalized SHA-256 of the session base instructions, matching the saved `prompt_hash` tag. Does not include later developer messages. Null when the reported rollout has no prompt metadata.",
"type": [
"string",
"null"
@@ -12341,73 +12296,6 @@
"title": "FeedbackSaveResponse",
"type": "object"
},
"FeedbackUploadParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"classification": {
"type": "string"
},
"extraLogFiles": {
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"includeLogs": {
"type": "boolean"
},
"reason": {
"type": [
"string",
"null"
]
},
"tags": {
"additionalProperties": {
"type": "string"
},
"type": [
"object",
"null"
]
},
"threadId": {
"type": [
"string",
"null"
]
}
},
"required": [
"classification"
],
"title": "FeedbackUploadParams",
"type": "object"
},
"FeedbackUploadResponse": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"promptHash": {
"default": null,
"description": "Whitespace-normalized SHA-256 of the session base instructions, matching the uploaded `prompt_hash` tag. Does not include later developer messages. Null when the reported rollout has no prompt metadata.",
"type": [
"string",
"null"
]
},
"threadId": {
"type": "string"
}
},
"required": [
"threadId"
],
"title": "FeedbackUploadResponse",
"type": "object"
},
"FileChangeOutputDeltaNotification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Deprecated legacy notification for `apply_patch` textual output.\n\nThe server no longer emits this notification.",
@@ -17117,136 +17005,8 @@
],
"title": "Nullable_GetAccountTokenUsageParams"
},
"OtelExporter": {
"oneOf": [
{
"enum": [
"none",
"statsig"
],
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"otlp-http": {
"properties": {
"endpoint": {
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"description": "Header names are retained; values are redacted by the server.",
"type": "object"
},
"protocol": {
"$ref": "#/definitions/v2/OtelHttpProtocol"
},
"tls": {
"anyOf": [
{
"$ref": "#/definitions/v2/OtelTlsConfig"
},
{
"type": "null"
}
]
}
},
"required": [
"endpoint",
"headers",
"protocol"
],
"type": "object"
}
},
"required": [
"otlp-http"
],
"title": "OtlpHttpOtelExporter",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"otlp-grpc": {
"properties": {
"endpoint": {
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"description": "Header names are retained; values are redacted by the server.",
"type": "object"
},
"tls": {
"anyOf": [
{
"$ref": "#/definitions/v2/OtelTlsConfig"
},
{
"type": "null"
}
]
}
},
"required": [
"endpoint",
"headers"
],
"type": "object"
}
},
"required": [
"otlp-grpc"
],
"title": "OtlpGrpcOtelExporter",
"type": "object"
}
]
},
"OtelHttpProtocol": {
"enum": [
"binary",
"json"
],
"type": "string"
},
"OtelRequirements": {
"properties": {
"environment": {
"type": [
"string",
"null"
]
},
"exporter": {
"anyOf": [
{
"$ref": "#/definitions/v2/OtelExporter"
},
{
"type": "null"
}
]
},
"log_agent_responses": {
"type": [
"boolean",
"null"
]
},
"log_guardian_assessments": {
"type": [
"boolean",
"null"
]
},
"log_sse_deltas": {
"type": [
"boolean",
@@ -17259,25 +17019,6 @@
"null"
]
},
"metrics_exporter": {
"anyOf": [
{
"$ref": "#/definitions/v2/OtelExporter"
},
{
"type": "null"
}
]
},
"span_attributes": {
"additionalProperties": {
"type": "string"
},
"type": [
"object",
"null"
]
},
"tool_result": {
"anyOf": [
{
@@ -17287,51 +17028,6 @@
"type": "null"
}
]
},
"trace_exporter": {
"anyOf": [
{
"$ref": "#/definitions/v2/OtelExporter"
},
{
"type": "null"
}
]
},
"tracestate": {
"additionalProperties": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": [
"object",
"null"
]
}
},
"type": "object"
},
"OtelTlsConfig": {
"properties": {
"ca-certificate": {
"type": [
"string",
"null"
]
},
"client-certificate": {
"type": [
"string",
"null"
]
},
"client-private-key": {
"type": [
"string",
"null"
]
}
},
"type": "object"
@@ -22582,7 +22278,7 @@
"type": "null"
}
],
"description": "Optional analytics source classification for this thread."
"description": "Optional source classification for this thread."
},
"turns": {
"description": "Only populated on `thread/resume`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.",
@@ -23141,7 +22837,7 @@
"type": "null"
}
],
"description": "Optional client-supplied analytics source classification for this forked thread."
"description": "Optional client-supplied source classification for this forked thread."
}
},
"required": [
@@ -26518,7 +26214,7 @@
"type": "null"
}
],
"description": "Optional client-supplied analytics source classification for this thread."
"description": "Optional client-supplied source classification for this thread."
}
},
"title": "ThreadStartParams",

View File

@@ -629,18 +629,6 @@
],
"type": "string"
},
"AnalyticsConfig": {
"additionalProperties": true,
"properties": {
"enabled": {
"type": [
"boolean",
"null"
]
}
},
"type": "object"
},
"AppBranding": {
"description": "EXPERIMENTAL - app metadata returned by app-list APIs.",
"properties": {
@@ -4293,30 +4281,6 @@
"title": "Account/sendAddCreditsNudgeEmailRequest",
"type": "object"
},
{
"properties": {
"id": {
"$ref": "#/definitions/RequestId"
},
"method": {
"enum": [
"feedback/upload"
],
"title": "Feedback/uploadRequestMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/FeedbackUploadParams"
}
},
"required": [
"id",
"method",
"params"
],
"title": "Feedback/uploadRequest",
"type": "object"
},
{
"properties": {
"id": {
@@ -5614,16 +5578,6 @@
"Config": {
"additionalProperties": true,
"properties": {
"analytics": {
"anyOf": [
{
"$ref": "#/definitions/AnalyticsConfig"
},
{
"type": "null"
}
]
},
"approval_policy": {
"anyOf": [
{
@@ -7852,7 +7806,7 @@
]
},
"providerId": {
"description": "Opaque provider identifier supplied by the caller for analytics attribution and import history display. This does not select the migration source.",
"description": "Opaque provider identifier supplied by the caller for attribution and import history display. This does not select the migration source.",
"type": [
"string",
"null"
@@ -8045,6 +7999,7 @@
},
"FeedbackSaveParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Report contents for `feedback/save`. Feedback is only ever saved locally.",
"properties": {
"classification": {
"type": "string"
@@ -8102,7 +8057,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"promptHash": {
"description": "Same prompt hash as feedback/upload; null when prompt metadata is absent.",
"description": "Whitespace-normalized SHA-256 of the session base instructions, matching the saved `prompt_hash` tag. Does not include later developer messages. Null when the reported rollout has no prompt metadata.",
"type": [
"string",
"null"
@@ -8122,73 +8077,6 @@
"title": "FeedbackSaveResponse",
"type": "object"
},
"FeedbackUploadParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"classification": {
"type": "string"
},
"extraLogFiles": {
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"includeLogs": {
"type": "boolean"
},
"reason": {
"type": [
"string",
"null"
]
},
"tags": {
"additionalProperties": {
"type": "string"
},
"type": [
"object",
"null"
]
},
"threadId": {
"type": [
"string",
"null"
]
}
},
"required": [
"classification"
],
"title": "FeedbackUploadParams",
"type": "object"
},
"FeedbackUploadResponse": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"promptHash": {
"default": null,
"description": "Whitespace-normalized SHA-256 of the session base instructions, matching the uploaded `prompt_hash` tag. Does not include later developer messages. Null when the reported rollout has no prompt metadata.",
"type": [
"string",
"null"
]
},
"threadId": {
"type": "string"
}
},
"required": [
"threadId"
],
"title": "FeedbackUploadResponse",
"type": "object"
},
"FileChangeOutputDeltaNotification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Deprecated legacy notification for `apply_patch` textual output.\n\nThe server no longer emits this notification.",
@@ -13078,136 +12966,8 @@
],
"title": "Nullable_GetAccountTokenUsageParams"
},
"OtelExporter": {
"oneOf": [
{
"enum": [
"none",
"statsig"
],
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"otlp-http": {
"properties": {
"endpoint": {
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"description": "Header names are retained; values are redacted by the server.",
"type": "object"
},
"protocol": {
"$ref": "#/definitions/OtelHttpProtocol"
},
"tls": {
"anyOf": [
{
"$ref": "#/definitions/OtelTlsConfig"
},
{
"type": "null"
}
]
}
},
"required": [
"endpoint",
"headers",
"protocol"
],
"type": "object"
}
},
"required": [
"otlp-http"
],
"title": "OtlpHttpOtelExporter",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"otlp-grpc": {
"properties": {
"endpoint": {
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"description": "Header names are retained; values are redacted by the server.",
"type": "object"
},
"tls": {
"anyOf": [
{
"$ref": "#/definitions/OtelTlsConfig"
},
{
"type": "null"
}
]
}
},
"required": [
"endpoint",
"headers"
],
"type": "object"
}
},
"required": [
"otlp-grpc"
],
"title": "OtlpGrpcOtelExporter",
"type": "object"
}
]
},
"OtelHttpProtocol": {
"enum": [
"binary",
"json"
],
"type": "string"
},
"OtelRequirements": {
"properties": {
"environment": {
"type": [
"string",
"null"
]
},
"exporter": {
"anyOf": [
{
"$ref": "#/definitions/OtelExporter"
},
{
"type": "null"
}
]
},
"log_agent_responses": {
"type": [
"boolean",
"null"
]
},
"log_guardian_assessments": {
"type": [
"boolean",
"null"
]
},
"log_sse_deltas": {
"type": [
"boolean",
@@ -13220,25 +12980,6 @@
"null"
]
},
"metrics_exporter": {
"anyOf": [
{
"$ref": "#/definitions/OtelExporter"
},
{
"type": "null"
}
]
},
"span_attributes": {
"additionalProperties": {
"type": "string"
},
"type": [
"object",
"null"
]
},
"tool_result": {
"anyOf": [
{
@@ -13248,51 +12989,6 @@
"type": "null"
}
]
},
"trace_exporter": {
"anyOf": [
{
"$ref": "#/definitions/OtelExporter"
},
{
"type": "null"
}
]
},
"tracestate": {
"additionalProperties": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": [
"object",
"null"
]
}
},
"type": "object"
},
"OtelTlsConfig": {
"properties": {
"ca-certificate": {
"type": [
"string",
"null"
]
},
"client-certificate": {
"type": [
"string",
"null"
]
},
"client-private-key": {
"type": [
"string",
"null"
]
}
},
"type": "object"
@@ -20285,7 +19981,7 @@
"type": "null"
}
],
"description": "Optional analytics source classification for this thread."
"description": "Optional source classification for this thread."
},
"turns": {
"description": "Only populated on `thread/resume`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.",
@@ -20844,7 +20540,7 @@
"type": "null"
}
],
"description": "Optional client-supplied analytics source classification for this forked thread."
"description": "Optional client-supplied source classification for this forked thread."
}
},
"required": [
@@ -24221,7 +23917,7 @@
"type": "null"
}
],
"description": "Optional client-supplied analytics source classification for this thread."
"description": "Optional client-supplied source classification for this thread."
}
},
"title": "ThreadStartParams",

View File

@@ -12,18 +12,6 @@
],
"type": "string"
},
"AnalyticsConfig": {
"additionalProperties": true,
"properties": {
"enabled": {
"type": [
"boolean",
"null"
]
}
},
"type": "object"
},
"AppConfig": {
"properties": {
"approvals_reviewer": {
@@ -470,16 +458,6 @@
"Config": {
"additionalProperties": true,
"properties": {
"analytics": {
"anyOf": [
{
"$ref": "#/definitions/AnalyticsConfig"
},
{
"type": "null"
}
]
},
"approval_policy": {
"anyOf": [
{

View File

@@ -1148,136 +1148,8 @@
},
"type": "object"
},
"OtelExporter": {
"oneOf": [
{
"enum": [
"none",
"statsig"
],
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"otlp-http": {
"properties": {
"endpoint": {
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"description": "Header names are retained; values are redacted by the server.",
"type": "object"
},
"protocol": {
"$ref": "#/definitions/OtelHttpProtocol"
},
"tls": {
"anyOf": [
{
"$ref": "#/definitions/OtelTlsConfig"
},
{
"type": "null"
}
]
}
},
"required": [
"endpoint",
"headers",
"protocol"
],
"type": "object"
}
},
"required": [
"otlp-http"
],
"title": "OtlpHttpOtelExporter",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"otlp-grpc": {
"properties": {
"endpoint": {
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"description": "Header names are retained; values are redacted by the server.",
"type": "object"
},
"tls": {
"anyOf": [
{
"$ref": "#/definitions/OtelTlsConfig"
},
{
"type": "null"
}
]
}
},
"required": [
"endpoint",
"headers"
],
"type": "object"
}
},
"required": [
"otlp-grpc"
],
"title": "OtlpGrpcOtelExporter",
"type": "object"
}
]
},
"OtelHttpProtocol": {
"enum": [
"binary",
"json"
],
"type": "string"
},
"OtelRequirements": {
"properties": {
"environment": {
"type": [
"string",
"null"
]
},
"exporter": {
"anyOf": [
{
"$ref": "#/definitions/OtelExporter"
},
{
"type": "null"
}
]
},
"log_agent_responses": {
"type": [
"boolean",
"null"
]
},
"log_guardian_assessments": {
"type": [
"boolean",
"null"
]
},
"log_sse_deltas": {
"type": [
"boolean",
@@ -1290,25 +1162,6 @@
"null"
]
},
"metrics_exporter": {
"anyOf": [
{
"$ref": "#/definitions/OtelExporter"
},
{
"type": "null"
}
]
},
"span_attributes": {
"additionalProperties": {
"type": "string"
},
"type": [
"object",
"null"
]
},
"tool_result": {
"anyOf": [
{
@@ -1318,51 +1171,6 @@
"type": "null"
}
]
},
"trace_exporter": {
"anyOf": [
{
"$ref": "#/definitions/OtelExporter"
},
{
"type": "null"
}
]
},
"tracestate": {
"additionalProperties": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": [
"object",
"null"
]
}
},
"type": "object"
},
"OtelTlsConfig": {
"properties": {
"ca-certificate": {
"type": [
"string",
"null"
]
},
"client-certificate": {
"type": [
"string",
"null"
]
},
"client-private-key": {
"type": [
"string",
"null"
]
}
},
"type": "object"

View File

@@ -218,7 +218,7 @@
]
},
"providerId": {
"description": "Opaque provider identifier supplied by the caller for analytics attribution and import history display. This does not select the migration source.",
"description": "Opaque provider identifier supplied by the caller for attribution and import history display. This does not select the migration source.",
"type": [
"string",
"null"

View File

@@ -5,6 +5,7 @@
"type": "string"
}
},
"description": "Report contents for `feedback/save`. Feedback is only ever saved locally.",
"properties": {
"classification": {
"type": "string"

View File

@@ -7,7 +7,7 @@
},
"properties": {
"promptHash": {
"description": "Same prompt hash as feedback/upload; null when prompt metadata is absent.",
"description": "Whitespace-normalized SHA-256 of the session base instructions, matching the saved `prompt_hash` tag. Does not include later developer messages. Null when the reported rollout has no prompt metadata.",
"type": [
"string",
"null"

View File

@@ -1,46 +0,0 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"classification": {
"type": "string"
},
"extraLogFiles": {
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"includeLogs": {
"type": "boolean"
},
"reason": {
"type": [
"string",
"null"
]
},
"tags": {
"additionalProperties": {
"type": "string"
},
"type": [
"object",
"null"
]
},
"threadId": {
"type": [
"string",
"null"
]
}
},
"required": [
"classification"
],
"title": "FeedbackUploadParams",
"type": "object"
}

View File

@@ -1,21 +0,0 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"promptHash": {
"default": null,
"description": "Whitespace-normalized SHA-256 of the session base instructions, matching the uploaded `prompt_hash` tag. Does not include later developer messages. Null when the reported rollout has no prompt metadata.",
"type": [
"string",
"null"
]
},
"threadId": {
"type": "string"
}
},
"required": [
"threadId"
],
"title": "FeedbackUploadResponse",
"type": "object"
}

View File

@@ -178,7 +178,7 @@
"type": "null"
}
],
"description": "Optional client-supplied analytics source classification for this forked thread."
"description": "Optional client-supplied source classification for this forked thread."
}
},
"required": [

View File

@@ -1591,7 +1591,7 @@
"type": "null"
}
],
"description": "Optional analytics source classification for this thread."
"description": "Optional source classification for this thread."
},
"turns": {
"description": "Only populated on `thread/resume`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.",

View File

@@ -1382,7 +1382,7 @@
"type": "null"
}
],
"description": "Optional analytics source classification for this thread."
"description": "Optional source classification for this thread."
},
"turns": {
"description": "Only populated on `thread/resume`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.",

View File

@@ -1382,7 +1382,7 @@
"type": "null"
}
],
"description": "Optional analytics source classification for this thread."
"description": "Optional source classification for this thread."
},
"turns": {
"description": "Only populated on `thread/resume`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.",

View File

@@ -1382,7 +1382,7 @@
"type": "null"
}
],
"description": "Optional analytics source classification for this thread."
"description": "Optional source classification for this thread."
},
"turns": {
"description": "Only populated on `thread/resume`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.",

View File

@@ -1643,7 +1643,7 @@
"type": "null"
}
],
"description": "Optional analytics source classification for this thread."
"description": "Optional source classification for this thread."
},
"turns": {
"description": "Only populated on `thread/resume`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.",

View File

@@ -1382,7 +1382,7 @@
"type": "null"
}
],
"description": "Optional analytics source classification for this thread."
"description": "Optional source classification for this thread."
},
"turns": {
"description": "Only populated on `thread/resume`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.",

View File

@@ -418,7 +418,7 @@
"type": "null"
}
],
"description": "Optional client-supplied analytics source classification for this thread."
"description": "Optional client-supplied source classification for this thread."
}
},
"title": "ThreadStartParams",

View File

@@ -1591,7 +1591,7 @@
"type": "null"
}
],
"description": "Optional analytics source classification for this thread."
"description": "Optional source classification for this thread."
},
"turns": {
"description": "Only populated on `thread/resume`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.",

View File

@@ -1382,7 +1382,7 @@
"type": "null"
}
],
"description": "Optional analytics source classification for this thread."
"description": "Optional source classification for this thread."
},
"turns": {
"description": "Only populated on `thread/resume`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.",

View File

@@ -1382,7 +1382,7 @@
"type": "null"
}
],
"description": "Optional analytics source classification for this thread."
"description": "Optional source classification for this thread."
},
"turns": {
"description": "Only populated on `thread/resume`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.",

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +0,0 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { JsonValue } from "../serde_json/JsonValue";
export type AnalyticsConfig = { enabled: boolean | null, } & ({ [key in string]?: number | string | boolean | Array<JsonValue> | { [key in string]?: JsonValue } | null });

View File

@@ -9,7 +9,6 @@ import type { Verbosity } from "../Verbosity";
import type { WebSearchMode } from "../WebSearchMode";
import type { WebSearchProvider } from "../WebSearchProvider";
import type { JsonValue } from "../serde_json/JsonValue";
import type { AnalyticsConfig } from "./AnalyticsConfig";
import type { ApprovalsReviewer } from "./ApprovalsReviewer";
import type { AskForApproval } from "./AskForApproval";
import type { BrowserUseConfig } from "./BrowserUseConfig";
@@ -26,4 +25,4 @@ export type Config = {model: string | null, review_model: string | null, model_c
approvals_reviewer: ApprovalsReviewer | null, sandbox_mode: SandboxMode | null, sandbox_workspace_write: SandboxWorkspaceWrite | null, forced_chatgpt_workspace_id: ForcedChatgptWorkspaceIds | null, forced_login_method: ForcedLoginMethod | null, web_search: WebSearchMode | null, /**
* Effective tools.client_search_provider hint. Model-selected providers take precedence.
*/
client_search_provider: WebSearchProvider | null, tools: ToolsV2 | null, instructions: string | null, developer_instructions: string | null, compact_prompt: string | null, model_reasoning_effort: ReasoningEffort | null, model_reasoning_summary: ReasoningSummary | null, model_verbosity: Verbosity | null, service_tier: string | null, analytics: AnalyticsConfig | null, browser_use: BrowserUseConfig | null, computer_use: ComputerUseConfig | null, desktop: { [key in string]?: JsonValue } | null} & ({ [key in string]?: number | string | boolean | Array<JsonValue> | { [key in string]?: JsonValue } | null });
client_search_provider: WebSearchProvider | null, tools: ToolsV2 | null, instructions: string | null, developer_instructions: string | null, compact_prompt: string | null, model_reasoning_effort: ReasoningEffort | null, model_reasoning_summary: ReasoningSummary | null, model_verbosity: Verbosity | null, service_tier: string | null, browser_use: BrowserUseConfig | null, computer_use: ComputerUseConfig | null, desktop: { [key in string]?: JsonValue } | null} & ({ [key in string]?: number | string | boolean | Array<JsonValue> | { [key in string]?: JsonValue } | null });

View File

@@ -9,7 +9,7 @@ export type ExternalAgentConfigImportParams = { migrationItems: Array<ExternalAg
*/
source?: string | null,
/**
* Opaque provider identifier supplied by the caller for analytics attribution and import
* Opaque provider identifier supplied by the caller for attribution and import
* history display. This does not select the migration source.
*/
providerId?: string | null,

View File

@@ -5,6 +5,8 @@ import type { LegacyAppPathString } from "../LegacyAppPathString";
export type FeedbackSaveResponse = { savedPath: LegacyAppPathString, threadId: string,
/**
* Same prompt hash as feedback/upload; null when prompt metadata is absent.
* Whitespace-normalized SHA-256 of the session base instructions, matching the
* saved `prompt_hash` tag. Does not include later developer messages.
* Null when the reported rollout has no prompt metadata.
*/
promptHash: string | null, };

View File

@@ -1,5 +0,0 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type FeedbackUploadParams = { classification: string, reason?: string | null, threadId?: string | null, includeLogs?: boolean, extraLogFiles?: Array<string> | null, tags?: { [key in string]?: string } | null, };

View File

@@ -1,11 +0,0 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type FeedbackUploadResponse = { threadId: string,
/**
* Whitespace-normalized SHA-256 of the session base instructions, matching the
* uploaded `prompt_hash` tag. Does not include later developer messages.
* Null when the reported rollout has no prompt metadata.
*/
promptHash: string | null, };

View File

@@ -1,15 +0,0 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { OtelHttpProtocol } from "./OtelHttpProtocol";
import type { OtelTlsConfig } from "./OtelTlsConfig";
export type OtelExporter = "none" | "statsig" | { "otlp-http": { endpoint: string,
/**
* Header names are retained; values are redacted by the server.
*/
headers: { [key in string]?: string }, protocol: OtelHttpProtocol, tls: OtelTlsConfig | null, } } | { "otlp-grpc": { endpoint: string,
/**
* Header names are retained; values are redacted by the server.
*/
headers: { [key in string]?: string }, tls: OtelTlsConfig | null, } };

View File

@@ -1,5 +0,0 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type OtelHttpProtocol = "binary" | "json";

View File

@@ -1,7 +1,6 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { OtelExporter } from "./OtelExporter";
import type { OtelToolResultLogConfig } from "./OtelToolResultLogConfig";
export type OtelRequirements = { tool_result: OtelToolResultLogConfig | null, log_sse_deltas: boolean | null, log_user_prompt: boolean | null, log_agent_responses: boolean | null, log_guardian_assessments: boolean | null, environment: string | null, exporter: OtelExporter | null, trace_exporter: OtelExporter | null, metrics_exporter: OtelExporter | null, span_attributes: { [key in string]?: string } | null, tracestate: { [key in string]?: { [key in string]?: string } } | null, };
export type OtelRequirements = { tool_result: OtelToolResultLogConfig | null, log_sse_deltas: boolean | null, log_user_prompt: boolean | null, };

View File

@@ -1,5 +0,0 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type OtelTlsConfig = { "ca-certificate": string | null, "client-certificate": string | null, "client-private-key": string | null, };

View File

@@ -81,7 +81,7 @@ originator: string | null, /**
* Origin of the thread (CLI, VSCode, codex exec, codex app-server, etc.).
*/
source: SessionSource, /**
* Optional analytics source classification for this thread.
* Optional source classification for this thread.
*/
threadSource: ThreadSource | null, /**
* Optional random unique nickname assigned to an AgentControl-spawned sub-agent.

View File

@@ -31,7 +31,7 @@ model?: string | null, modelProvider?: string | null, serviceTier?: string | nul
* and subsequent turns.
*/
approvalsReviewer?: ApprovalsReviewer | null, sandbox?: SandboxMode | null, config?: { [key in string]?: JsonValue } | null, baseInstructions?: string | null, developerInstructions?: string | null, ephemeral?: boolean, /**
* Optional client-supplied analytics source classification for this forked thread.
* Optional client-supplied source classification for this forked thread.
*/
threadSource?: ThreadSource | null, /**
* When true, return only thread metadata and live fork state without

View File

@@ -17,6 +17,6 @@ approvalsReviewer?: ApprovalsReviewer | null, sandbox?: SandboxMode | null, conf
* @deprecated `friendly` and `pragmatic` no longer select a style.
*/
personality?: Personality | null, ephemeral?: boolean | null, sessionStartSource?: ThreadStartSource | null, /**
* Optional client-supplied analytics source classification for this thread.
* Optional client-supplied source classification for this thread.
*/
threadSource?: ThreadSource | null};

View File

@@ -25,7 +25,6 @@ export type { AgentMessageDeltaNotification } from "./AgentMessageDeltaNotificat
export type { AgentMessageDisplay } from "./AgentMessageDisplay";
export type { AgentMessageModeration } from "./AgentMessageModeration";
export type { AllowDenyRequirement } from "./AllowDenyRequirement";
export type { AnalyticsConfig } from "./AnalyticsConfig";
export type { AppBranding } from "./AppBranding";
export type { AppInfo } from "./AppInfo";
export type { AppLinksConfig } from "./AppLinksConfig";
@@ -176,8 +175,6 @@ export type { ExternalAgentImportedConnectorSource } from "./ExternalAgentImport
export type { FeedbackRequirements } from "./FeedbackRequirements";
export type { FeedbackSaveParams } from "./FeedbackSaveParams";
export type { FeedbackSaveResponse } from "./FeedbackSaveResponse";
export type { FeedbackUploadParams } from "./FeedbackUploadParams";
export type { FeedbackUploadResponse } from "./FeedbackUploadResponse";
export type { FileChangeApprovalDecision } from "./FileChangeApprovalDecision";
export type { FileChangeOutputDeltaNotification } from "./FileChangeOutputDeltaNotification";
export type { FileChangePatchUpdatedNotification } from "./FileChangePatchUpdatedNotification";
@@ -367,10 +364,7 @@ export type { NetworkRequirements } from "./NetworkRequirements";
export type { NetworkUnixSocketPermission } from "./NetworkUnixSocketPermission";
export type { NewThreadModelDefaults } from "./NewThreadModelDefaults";
export type { NonSteerableTurnKind } from "./NonSteerableTurnKind";
export type { OtelExporter } from "./OtelExporter";
export type { OtelHttpProtocol } from "./OtelHttpProtocol";
export type { OtelRequirements } from "./OtelRequirements";
export type { OtelTlsConfig } from "./OtelTlsConfig";
export type { OtelToolResultLogConfig } from "./OtelToolResultLogConfig";
export type { OverriddenMetadata } from "./OverriddenMetadata";
export type { PatchApplyStatus } from "./PatchApplyStatus";