From 8c7fbdb9966f62ca60acd3f99962fed5430be1de Mon Sep 17 00:00:00 2001 From: Vanshaj Poonia Date: Sat, 28 Nov 2026 11:31:59 +0530 Subject: [PATCH 1/9] A deployment can refuse self-service document sources LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED (default true) is the switch the code and tracker self-service paths already have. When it is off, knowledge.source.add (shared and connected) and knowledge.source.rotate answer SELF_SERVICE_OFF before any probe or write, so no member's credential reaches the pods. List, inspect, parse_links, check, update, sync and remove keep answering. knowledge.source.list reports the switch as self_service. Signed-off-by: Vanshaj Poonia --- docs/reference/configuration.md | 1 + docs/reference/errors.md | 2 +- docs/reference/operations/knowledge.md | 1 + loom.example.yaml | 5 + schemas/loom-settings.schema.json | 5 + sdk/go/wire/models.gen.go | 6 +- sdk/python/loom/ops.py | 1 + sdk/rust/src/wire_models.rs | 4979 ++++++++++--------- sdk/rust/tests/registry_contracts.rs | 5 + sdk/typescript/src/generated/ops.ts | 1 + server/knowledge/api/models_sources.py | 3 + server/knowledge/app/sources.py | 14 + server/settings/catalog.py | 3 + tests/unit/snapshots/settings_defaults.json | 1 + tests/unit/test_knowledge_sources.py | 43 + 15 files changed, 2581 insertions(+), 2489 deletions(-) diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index 504a8e9c408..cb26f9cd911 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -1034,6 +1034,7 @@ Knowledge documents and conversations: chunking, search floor, thread titles. | `LOOM_KNOWLEDGE_CONNECTED_SOURCES_MAX_PER_PERSON` | `int` | `8` | live | Active connected sources one canonical person may register in one namespace. | | `LOOM_KNOWLEDGE_SOURCE_PROBE_TIMEOUT_S` | `float` | `20.0` | live | Seconds a document source's probe (add, update, check, rotate) or tracker short-id lookup may take in all; past it add, update and rotate answer SOURCE_UNREACHABLE and check answers reachable: false. | | `LOOM_KNOWLEDGE_SOURCE_SYNC_ENABLED` | `bool` | `False` | | The knowledge_source_sync worker: pulls each registered document source's changed files into its namespace's documents. Off by default: it needs each source's credential, spends embedding calls on every changed document and model calls mining it for decisions. | +| `LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED` | `bool` | `True` | | Off refuses knowledge.source.add and knowledge.source.rotate (SELF_SERVICE_OFF), so no member's credential reaches the pods; the other source operations still answer. | | `LOOM_KNOWLEDGE_MIRRORED_SOURCES_ENABLED` | `bool` | `False` | | Require protected automatic session capture and persist deployment privacy state. Off does not lift protection while the deployment latch remains set. | | `LOOM_KNOWLEDGE_SOURCE_ACL_STALE_SECONDS` | `int` | `3600` | | Mirrored reads require a complete listing and group observation within this many seconds; missing or older evidence admits nobody. | | `LOOM_KNOWLEDGE_SOURCE_ACL_MAX_ENTRIES` | `int` | `10000` | | Maximum team and member rows read for one project's complete permission list. A larger list refuses publication rather than granting from a partial page. | diff --git a/docs/reference/errors.md b/docs/reference/errors.md index 411a4050579..7c7a19d68c4 100644 --- a/docs/reference/errors.md +++ b/docs/reference/errors.md @@ -852,7 +852,7 @@ Raised in `server/memory/app/profile.py`. #### `SELF_SERVICE_OFF` -Raised in `server/code/app/repo_admin.py`, `server/tracker/app/sources.py`. +Raised in `server/code/app/repo_admin.py`, `server/knowledge/app/sources.py`, `server/tracker/app/sources.py`. #### `SELF_SIGNUP_DISABLED` diff --git a/docs/reference/operations/knowledge.md b/docs/reference/operations/knowledge.md index ce11319251e..1a4f72d5f16 100644 --- a/docs/reference/operations/knowledge.md +++ b/docs/reference/operations/knowledge.md @@ -706,6 +706,7 @@ The document sources registered on a namespace, with each one's sync state. | `sources` | `list[KnowledgeSourceEntry]` | The namespace's active sources, by name. | | `enabled` | `bool` | Whether this deployment runs the sync worker (LOOM_KNOWLEDGE_SOURCE_SYNC_ENABLED); false: sources are stored and probed, but nothing pulls from them. | | `accepts_sources` | `bool` | False where add would refuse the namespace (PERSONAL_NAMESPACE, NAMESPACE_INACTIVE). | +| `self_service` | `bool` | Whether knowledge.source.add and rotate answer on this deployment (LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED); the page offers neither when false. | ## `knowledge.source.parse_links` diff --git a/loom.example.yaml b/loom.example.yaml index 2a8d0704f65..0c48f7f8199 100644 --- a/loom.example.yaml +++ b/loom.example.yaml @@ -3071,6 +3071,11 @@ settings: # it for decisions. [restart] # knowledge_source_sync_enabled: false + # Off refuses knowledge.source.add and knowledge.source.rotate (SELF_SERVICE_OFF), so + # no member's credential reaches the pods; the other source operations still answer. + # [restart] + # knowledge_source_self_service_enabled: true + # Require protected automatic session capture and persist deployment privacy state. # Off does not lift protection while the deployment latch remains set. [restart] # knowledge_mirrored_sources_enabled: false diff --git a/schemas/loom-settings.schema.json b/schemas/loom-settings.schema.json index d61aeaa8bcd..f21557c764a 100644 --- a/schemas/loom-settings.schema.json +++ b/schemas/loom-settings.schema.json @@ -3628,6 +3628,11 @@ "type": "integer", "description": "Documents of stopped mirrored sources retired per cleanup pass, independently of the content-sync budget. Cleanup continues while syncing is switched off." }, + "knowledge_source_self_service_enabled": { + "default": true, + "type": "boolean", + "description": "Off refuses knowledge.source.add and knowledge.source.rotate (SELF_SERVICE_OFF), so no member's credential reaches the pods; the other source operations still answer." + }, "knowledge_source_sync_cap_share": { "default": 0.25, "exclusiveMinimum": 0.0, diff --git a/sdk/go/wire/models.gen.go b/sdk/go/wire/models.gen.go index f515cfeb4d6..84f56fe063d 100644 --- a/sdk/go/wire/models.gen.go +++ b/sdk/go/wire/models.gen.go @@ -1,5 +1,5 @@ // Code generated by scripts/codegen/sdk_go_gen.py; DO NOT EDIT. -// Registry model schema SHA-256: de827ca9c57963620b38d2e67b4367f0b0be4c68bb187b9a0d3c6a14bcf035ac +// Registry model schema SHA-256: 4caa103a274338954f8edffc70089fd5a4f51c2effbfb2e2b35e1967cc063c0e // Package wire contains the Go requests and responses for Loom operations. package wire @@ -2300,6 +2300,7 @@ type CodeSearchOutput struct { AbstainReason *string `json:"abstain_reason,omitempty"` RetrievalRisk *string `json:"retrieval_risk,omitempty"` RetrievalConfidence *float64 `json:"retrieval_confidence,omitempty"` + PickConfidence *string `json:"pick_confidence,omitempty"` RouteAgreement *float64 `json:"route_agreement,omitempty"` CalibrationExplanation *string `json:"calibration_explanation,omitempty"` TokensReturned *int64 `json:"tokens_returned,omitempty"` @@ -2857,6 +2858,7 @@ type ConflictsListOutput struct { Rows []ConflictRow `json:"rows"` NextBeforeVersion Optional[uint64] `json:"next_before_version,omitempty"` Total Optional[int64] `json:"total,omitempty"` + Proposals Optional[int64] `json:"proposals,omitempty"` Keys Optional[[]string] `json:"keys,omitempty"` } @@ -5611,6 +5613,7 @@ type KnowledgeSourceListOutput struct { Sources *[]KnowledgeSourceEntry `json:"sources,omitempty"` Enabled *bool `json:"enabled,omitempty"` AcceptsSources *bool `json:"accepts_sources,omitempty"` + SelfService *bool `json:"self_service,omitempty"` } // KnowledgeSourceParseLinksInput is the request to knowledge.source.parse_links. @@ -7659,6 +7662,7 @@ type MemoryProposalsInput struct { Tags *[]string `json:"tags,omitempty"` Only *string `json:"only,omitempty"` Limit *int64 `json:"limit,omitempty"` + CountOnly *bool `json:"count_only,omitempty"` } // MemoryProposalsOutput is the response from memory.proposals. diff --git a/sdk/python/loom/ops.py b/sdk/python/loom/ops.py index 657af460159..f6046785662 100644 --- a/sdk/python/loom/ops.py +++ b/sdk/python/loom/ops.py @@ -12093,6 +12093,7 @@ class KnowledgeSourceListOutput(TypedDict, total=False): sources: NotRequired[list["KnowledgeSourceEntry"]] enabled: NotRequired[bool] accepts_sources: NotRequired[bool] + self_service: NotRequired[bool] class KnowledgeSourceEntry(TypedDict, total=False): diff --git a/sdk/rust/src/wire_models.rs b/sdk/rust/src/wire_models.rs index 19e4ee51f1d..e3292e6b419 100644 --- a/sdk/rust/src/wire_models.rs +++ b/sdk/rust/src/wire_models.rs @@ -27207,6 +27207,8 @@ pub struct KnowledgeSourceListOutput { pub enabled: bool, #[serde(default = "default_1257")] pub accepts_sources: bool, + #[serde(default = "default_1258")] + pub self_service: bool, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] @@ -27258,18 +27260,18 @@ impl KnowledgeSourceListInput { #[non_exhaustive] pub struct KnowledgeSourceParsedLink { pub link: String, - #[serde(default = "default_1258")] - pub kind: String, #[serde(default = "default_1259")] - pub item: std::collections::HashMap, + pub kind: String, #[serde(default = "default_1260")] + pub item: std::collections::HashMap, + #[serde(default = "default_1261")] pub unreadable: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct KnowledgeSourceParseLinksOutput { - #[serde(default = "default_1261")] + #[serde(default = "default_1262")] pub links: Vec, } @@ -27320,25 +27322,25 @@ impl KnowledgeSourceParseLinksInput { #[derive(Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct PushStatusOutput { - #[serde(default = "default_1262")] - pub enabled: bool, #[serde(default = "default_1263")] - pub status: String, + pub enabled: bool, #[serde(default = "default_1264")] - pub provider: String, + pub status: String, #[serde(default = "default_1265")] - pub generation: String, + pub provider: String, #[serde(default = "default_1266")] - pub callback_url: String, + pub generation: String, #[serde(default = "default_1267")] - pub provider_id: String, + pub callback_url: String, #[serde(default = "default_1268")] - pub challenge_fingerprint: String, + pub provider_id: String, #[serde(default = "default_1269")] - pub verification_token: String, + pub challenge_fingerprint: String, #[serde(default = "default_1270")] - pub channels: Integer, + pub verification_token: String, #[serde(default = "default_1271")] + pub channels: Integer, + #[serde(default = "default_1272")] pub expires_at: f64, } impl std::fmt::Debug for PushStatusOutput { @@ -27583,7 +27585,7 @@ impl PushStatusInput { #[non_exhaustive] pub struct KnowledgeSourceRemoveOutput { pub name: String, - #[serde(default = "default_1272")] + #[serde(default = "default_1273")] pub documents_pending: Integer, } @@ -27646,9 +27648,9 @@ impl KnowledgeSourceRemoveInput { #[non_exhaustive] pub struct KnowledgeSourceRotateOutput { pub name: String, - #[serde(default = "default_1273")] - pub probe: KnowledgeSourceProbe, #[serde(default = "default_1274")] + pub probe: KnowledgeSourceProbe, + #[serde(default = "default_1275")] pub rotated_at: String, } @@ -27700,7 +27702,7 @@ impl KnowledgeSourceRotateInput { #[non_exhaustive] pub struct KnowledgeSourceSyncNowOutput { pub name: String, - #[serde(default = "default_1275")] + #[serde(default = "default_1276")] pub enabled: bool, } @@ -27763,17 +27765,17 @@ impl KnowledgeSourceSyncNowInput { #[non_exhaustive] pub struct KnowledgeSourceUpdateOutput { pub name: String, - #[serde(default = "default_1276")] - pub items: Vec>, #[serde(default = "default_1277")] - pub include: Vec, + pub items: Vec>, #[serde(default = "default_1278")] - pub config: std::collections::HashMap, + pub include: Vec, #[serde(default = "default_1279")] - pub added: Vec>, + pub config: std::collections::HashMap, #[serde(default = "default_1280")] - pub removed: Vec>, + pub added: Vec>, #[serde(default = "default_1281")] + pub removed: Vec>, + #[serde(default = "default_1282")] pub probe: KnowledgeSourceProbe, } @@ -27889,9 +27891,9 @@ impl KnowledgeSourceUpdateInput { pub struct CitedChunk { pub source_uri: String, pub chunk_idx: Integer, - #[serde(default = "default_1283")] - pub revision: Integer, #[serde(default = "default_1284")] + pub revision: Integer, + #[serde(default = "default_1285")] pub locator: Option>, } @@ -27900,12 +27902,12 @@ pub struct CitedChunk { pub struct SynthesizeCalculation { pub columns: Vec, pub rows: Vec>, - #[serde(default = "default_1291")] - pub row_ids: Vec>, #[serde(default = "default_1292")] + pub row_ids: Vec>, + #[serde(default = "default_1293")] pub truncated: bool, pub complete: bool, - #[serde(default = "default_1293")] + #[serde(default = "default_1294")] pub incomplete: Vec, pub receipt: QueryReceipt, pub citation: String, @@ -27919,23 +27921,23 @@ pub struct KnowledgeSynthesizeOutput { pub chunks_read: Integer, pub documents: Integer, pub reduce_rounds: Integer, - #[serde(default = "default_1282")] + #[serde(default = "default_1283")] pub citations: Vec, - #[serde(default = "default_1285")] - pub cited_chunks: Vec, #[serde(default = "default_1286")] - pub unsupported_citations: Vec, + pub cited_chunks: Vec, #[serde(default = "default_1287")] - pub truncated: bool, + pub unsupported_citations: Vec, #[serde(default = "default_1288")] - pub abstain: bool, + pub truncated: bool, #[serde(default = "default_1289")] - pub abstain_reason: String, + pub abstain: bool, #[serde(default = "default_1290")] + pub abstain_reason: String, + #[serde(default = "default_1291")] pub clarification: String, - #[serde(default = "default_1294")] - pub calculations: Vec, #[serde(default = "default_1295")] + pub calculations: Vec, + #[serde(default = "default_1296")] pub model: String, } @@ -28051,13 +28053,13 @@ impl KnowledgeSynthesizeInput { #[non_exhaustive] pub struct KnowledgeUpdateMetadataOutput { pub updated: bool, - #[serde(default = "default_1296")] - pub title: String, #[serde(default = "default_1297")] - pub description: String, + pub title: String, #[serde(default = "default_1298")] - pub tags: Vec, + pub description: String, #[serde(default = "default_1299")] + pub tags: Vec, + #[serde(default = "default_1300")] pub chunks_reindexed: Integer, } @@ -28169,13 +28171,13 @@ pub struct KnowledgeUpsertOutput { pub chunks_superseded: Integer, pub embedding_model: String, pub embedding_dim: Integer, - #[serde(default = "default_1300")] - pub duplicate_of_uri: String, #[serde(default = "default_1301")] - pub duplicate_chunk_count: Integer, + pub duplicate_of_uri: String, #[serde(default = "default_1302")] - pub namespace: String, + pub duplicate_chunk_count: Integer, #[serde(default = "default_1303")] + pub namespace: String, + #[serde(default = "default_1304")] pub source_uri: String, } @@ -28360,26 +28362,26 @@ pub struct LearningEntry { pub memory_type: String, pub proposed_value: Value, pub supporter_count: Integer, - #[serde(default = "default_1304")] - pub supporter_sessions: Integer, #[serde(default = "default_1305")] + pub supporter_sessions: Integer, + #[serde(default = "default_1306")] pub supporter_writers: Integer, pub confidence_avg: f64, pub supporters: Vec, pub rationale: String, - #[serde(default = "default_1306")] - pub source_kind: String, #[serde(default = "default_1307")] - pub source_resource_id: String, + pub source_kind: String, #[serde(default = "default_1308")] + pub source_resource_id: String, + #[serde(default = "default_1309")] pub agent: String, pub status: LearningEntryStatus, pub proposed_at: String, - #[serde(default = "default_1309")] - pub decided_at: Option, #[serde(default = "default_1310")] - pub decided_by: String, + pub decided_at: Option, #[serde(default = "default_1311")] + pub decided_by: String, + #[serde(default = "default_1312")] pub decision_reason: String, } @@ -28582,11 +28584,11 @@ pub enum LearningsReviewOutputNewStatus { pub struct LearningsReviewOutput { pub candidate_id: String, pub new_status: LearningsReviewOutputNewStatus, - #[serde(default = "default_1312")] - pub promoted_to_shared: bool, #[serde(default = "default_1313")] - pub promoted_to_knowledge: bool, + pub promoted_to_shared: bool, #[serde(default = "default_1314")] + pub promoted_to_knowledge: bool, + #[serde(default = "default_1315")] pub knowledge_source_uri: String, pub decided_at: String, } @@ -28790,7 +28792,7 @@ impl MemoryAgentsListInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct AggregateRow { - #[serde(default = "default_1315")] + #[serde(default = "default_1316")] pub group: std::collections::HashMap, pub metric: f64, } @@ -28798,9 +28800,9 @@ pub struct AggregateRow { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryAggregateOutput { - #[serde(default = "default_1316")] - pub rows: Vec, #[serde(default = "default_1317")] + pub rows: Vec, + #[serde(default = "default_1318")] pub sql_executed: String, } @@ -28968,15 +28970,15 @@ impl MemoryAggregateInput { pub struct BulkSetResult { pub memory_key: String, pub version: Integer, - #[serde(default = "default_1318")] - pub memory_id: String, #[serde(default = "default_1319")] - pub conflict_verdict: String, + pub memory_id: String, #[serde(default = "default_1320")] - pub peers: Vec, + pub conflict_verdict: String, #[serde(default = "default_1321")] - pub next: String, + pub peers: Vec, #[serde(default = "default_1322")] + pub next: String, + #[serde(default = "default_1323")] pub pinned_blocker_id: String, } @@ -28984,29 +28986,29 @@ pub struct BulkSetResult { #[non_exhaustive] pub struct MemoryBulkSetOutput { pub written: Vec, - #[serde(default = "default_1323")] - pub skipped_pinned: Vec, #[serde(default = "default_1324")] - pub skipped_locked: Vec, + pub skipped_pinned: Vec, #[serde(default = "default_1325")] - pub skipped_blacklisted: Vec, + pub skipped_locked: Vec, #[serde(default = "default_1326")] - pub merged: Vec, + pub skipped_blacklisted: Vec, #[serde(default = "default_1327")] - pub value_updates_linked: Integer, + pub merged: Vec, #[serde(default = "default_1328")] - pub rejected_pinned: Vec, + pub value_updates_linked: Integer, #[serde(default = "default_1329")] - pub duplicates: Vec, + pub rejected_pinned: Vec, #[serde(default = "default_1330")] - pub conflicted: Vec, + pub duplicates: Vec, #[serde(default = "default_1331")] - pub unchecked: Integer, + pub conflicted: Vec, #[serde(default = "default_1332")] - pub retyped: Vec, + pub unchecked: Integer, #[serde(default = "default_1333")] - pub identity_duplicates: std::collections::HashMap, + pub retyped: Vec, #[serde(default = "default_1334")] + pub identity_duplicates: std::collections::HashMap, + #[serde(default = "default_1335")] pub stage_ms: std::collections::HashMap, } @@ -29156,18 +29158,18 @@ pub enum ApplyRowStatus { #[non_exhaustive] pub struct ApplyRow { pub memory_key: String, - #[serde(default = "default_1342")] - pub memory_id: String, #[serde(default = "default_1343")] - pub agent: String, + pub memory_id: String, #[serde(default = "default_1344")] - pub user_id: String, + pub agent: String, #[serde(default = "default_1345")] + pub user_id: String, + #[serde(default = "default_1346")] pub session_id: String, pub status: ApplyRowStatus, - #[serde(default = "default_1346")] - pub version: Option, #[serde(default = "default_1347")] + pub version: Option, + #[serde(default = "default_1348")] pub detail: String, } @@ -29177,21 +29179,21 @@ pub struct MemoryApplyOutput { pub action: String, pub dry_run: bool, pub target: String, - #[serde(default = "default_1335")] - pub matched: Integer, #[serde(default = "default_1336")] - pub applied: Integer, + pub matched: Integer, #[serde(default = "default_1337")] - pub would_apply: Integer, + pub applied: Integer, #[serde(default = "default_1338")] - pub refused: Integer, + pub would_apply: Integer, #[serde(default = "default_1339")] - pub noop: Integer, + pub refused: Integer, #[serde(default = "default_1340")] - pub failed: Integer, + pub noop: Integer, #[serde(default = "default_1341")] + pub failed: Integer, + #[serde(default = "default_1342")] pub truncated: bool, - #[serde(default = "default_1348")] + #[serde(default = "default_1349")] pub rows: Vec, } @@ -29925,137 +29927,137 @@ pub enum MemoryAskOutputDeepFirst { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryAskOutput { - #[serde(default = "default_1349")] - pub answer: String, #[serde(default = "default_1350")] - pub source: MemoryAskOutputSource, + pub answer: String, #[serde(default = "default_1351")] - pub abstain: bool, + pub source: MemoryAskOutputSource, #[serde(default = "default_1352")] - pub abstain_reason: String, + pub abstain: bool, #[serde(default = "default_1353")] - pub memory_keys: Vec, + pub abstain_reason: String, #[serde(default = "default_1354")] - pub results: Vec, + pub memory_keys: Vec, #[serde(default = "default_1355")] - pub cited_sessions: Vec, + pub results: Vec, #[serde(default = "default_1356")] - pub next: String, + pub cited_sessions: Vec, #[serde(default = "default_1357")] - pub synth_model: String, + pub next: String, #[serde(default = "default_1358")] - pub route_tier: MemoryAskOutputRouteTier, + pub synth_model: String, #[serde(default = "default_1359")] - pub route_reason: String, + pub route_tier: MemoryAskOutputRouteTier, #[serde(default = "default_1360")] - pub llm_cache_hits: Integer, + pub route_reason: String, #[serde(default = "default_1361")] - pub llm_cache_misses: Integer, + pub llm_cache_hits: Integer, #[serde(default = "default_1362")] - pub llm_cache: bool, + pub llm_cache_misses: Integer, #[serde(default = "default_1363")] - pub llm_cache_saved_usd: f64, + pub llm_cache: bool, #[serde(default = "default_1364")] - pub temporal_consistency: Option, + pub llm_cache_saved_usd: f64, #[serde(default = "default_1365")] - pub citation_concentration: Option, + pub temporal_consistency: Option, #[serde(default = "default_1366")] - pub escalated: bool, + pub citation_concentration: Option, #[serde(default = "default_1367")] - pub gate_mode: String, + pub escalated: bool, #[serde(default = "default_1368")] - pub gate_kept: Integer, + pub gate_mode: String, #[serde(default = "default_1369")] - pub gate_dropped: Integer, + pub gate_kept: Integer, #[serde(default = "default_1370")] - pub pending_extraction: Integer, + pub gate_dropped: Integer, #[serde(default = "default_1371")] - pub pending_evidence: Integer, + pub pending_extraction: Integer, #[serde(default = "default_1372")] - pub retrieval_query: String, + pub pending_evidence: Integer, #[serde(default = "default_1373")] - pub facets: Vec, + pub retrieval_query: String, #[serde(default = "default_1374")] - pub facet_memories_added: Integer, + pub facets: Vec, #[serde(default = "default_1375")] - pub consistency: MemoryAskOutputConsistency, + pub facet_memories_added: Integer, #[serde(default = "default_1376")] - pub consistency_score: f64, + pub consistency: MemoryAskOutputConsistency, #[serde(default = "default_1377")] - pub consistency_note: String, + pub consistency_score: f64, #[serde(default = "default_1378")] - pub identifier_chase_hops: Integer, + pub consistency_note: String, #[serde(default = "default_1379")] - pub identifier_chase_added: Integer, + pub identifier_chase_hops: Integer, #[serde(default = "default_1380")] - pub premise_conflict: String, + pub identifier_chase_added: Integer, #[serde(default = "default_1381")] - pub premise_note: String, + pub premise_conflict: String, #[serde(default = "default_1382")] - pub premise_verdict: String, + pub premise_note: String, #[serde(default = "default_1383")] - pub attribution_note: String, + pub premise_verdict: String, #[serde(default = "default_1384")] - pub depth: MemoryAskOutputDepth, + pub attribution_note: String, #[serde(default = "default_1385")] - pub deep_fired: bool, + pub depth: MemoryAskOutputDepth, #[serde(default = "default_1386")] - pub decomposed: Vec, + pub deep_fired: bool, #[serde(default = "default_1387")] - pub decomposed_parts: Integer, + pub decomposed: Vec, #[serde(default = "default_1388")] - pub superseded_dropped: Integer, + pub decomposed_parts: Integer, #[serde(default = "default_1389")] - pub stale_sentences_masked: Integer, + pub superseded_dropped: Integer, #[serde(default = "default_1390")] - pub entity_followed: Vec, + pub stale_sentences_masked: Integer, #[serde(default = "default_1391")] - pub when_evidence_turns: Integer, + pub entity_followed: Vec, #[serde(default = "default_1392")] - pub decompose_failed: Integer, + pub when_evidence_turns: Integer, #[serde(default = "default_1393")] - pub pool_k: Integer, + pub decompose_failed: Integer, #[serde(default = "default_1394")] - pub grounding: MemoryAskOutputGrounding, + pub pool_k: Integer, #[serde(default = "default_1395")] - pub deep_reason: String, + pub grounding: MemoryAskOutputGrounding, #[serde(default = "default_1396")] - pub deep_keys: Vec, + pub deep_reason: String, #[serde(default = "default_1397")] - pub deep_chars: Integer, + pub deep_keys: Vec, #[serde(default = "default_1398")] - pub code_hits: Integer, + pub deep_chars: Integer, #[serde(default = "default_1399")] - pub pool_facts: Integer, + pub code_hits: Integer, #[serde(default = "default_1400")] - pub pool_chunks: Integer, + pub pool_facts: Integer, #[serde(default = "default_1401")] - pub prompt_blocks: std::collections::HashMap, + pub pool_chunks: Integer, #[serde(default = "default_1402")] - pub deep_selector: MemoryAskOutputDeepSelector, + pub prompt_blocks: std::collections::HashMap, #[serde(default = "default_1403")] - pub deep_first: MemoryAskOutputDeepFirst, + pub deep_selector: MemoryAskOutputDeepSelector, #[serde(default = "default_1404")] - pub synth_calls: Integer, + pub deep_first: MemoryAskOutputDeepFirst, #[serde(default = "default_1405")] - pub synth_input_tokens: Integer, + pub synth_calls: Integer, #[serde(default = "default_1406")] - pub synth_cached_input_tokens: Integer, + pub synth_input_tokens: Integer, #[serde(default = "default_1407")] - pub synth_cache_write_tokens: Integer, + pub synth_cached_input_tokens: Integer, #[serde(default = "default_1408")] - pub synth_cost_usd: f64, + pub synth_cache_write_tokens: Integer, #[serde(default = "default_1409")] - pub context_tokens_est: Integer, + pub synth_cost_usd: f64, #[serde(default = "default_1410")] - pub context_trimmed: Integer, + pub context_tokens_est: Integer, #[serde(default = "default_1411")] - pub summary_hits: Integer, + pub context_trimmed: Integer, #[serde(default = "default_1412")] - pub knowledge_hits: Integer, + pub summary_hits: Integer, #[serde(default = "default_1413")] - pub timeline_rows: Integer, + pub knowledge_hits: Integer, #[serde(default = "default_1414")] + pub timeline_rows: Integer, + #[serde(default = "default_1415")] pub count_recomputed: bool, } @@ -31010,36 +31012,36 @@ pub struct MemoryAutoRetirement { pub reason: String, pub memory_id: String, pub memory_key: String, - #[serde(default = "default_1415")] - pub agent: String, #[serde(default = "default_1416")] - pub user_id: String, + pub agent: String, #[serde(default = "default_1417")] - pub session_id: String, + pub user_id: String, #[serde(default = "default_1418")] - pub superseded_by: String, + pub session_id: String, #[serde(default = "default_1419")] - pub superseded_by_key: String, + pub superseded_by: String, #[serde(default = "default_1420")] - pub label: String, + pub superseded_by_key: String, #[serde(default = "default_1421")] - pub unconfirmed: bool, + pub label: String, #[serde(default = "default_1422")] - pub judge_verdict: String, + pub unconfirmed: bool, #[serde(default = "default_1423")] - pub judge_confidence: Option, + pub judge_verdict: String, #[serde(default = "default_1424")] - pub judge_model: String, + pub judge_confidence: Option, #[serde(default = "default_1425")] + pub judge_model: String, + #[serde(default = "default_1426")] pub judge_prompt_version: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryAutoRetirementsOutput { - #[serde(default = "default_1426")] - pub rows: Vec, #[serde(default = "default_1427")] + pub rows: Vec, + #[serde(default = "default_1428")] pub next_cursor: Option, } @@ -31133,9 +31135,9 @@ impl MemoryAutoRetirementsInput { #[non_exhaustive] pub struct BacklinkVersion { pub version: Integer, - #[serde(default = "default_1429")] - pub status: String, #[serde(default = "default_1430")] + pub status: String, + #[serde(default = "default_1431")] pub created_at: String, } @@ -31143,7 +31145,7 @@ pub struct BacklinkVersion { #[non_exhaustive] pub struct BacklinkDigest { pub session_id: String, - #[serde(default = "default_1432")] + #[serde(default = "default_1433")] pub date: String, } @@ -31151,9 +31153,9 @@ pub struct BacklinkDigest { #[non_exhaustive] pub struct BacklinkEdge { pub memory_key: String, - #[serde(default = "default_1434")] - pub relation: String, #[serde(default = "default_1435")] + pub relation: String, + #[serde(default = "default_1436")] pub created_at: String, } @@ -31161,7 +31163,7 @@ pub struct BacklinkEdge { #[non_exhaustive] pub struct BacklinkRelated { pub memory_key: String, - #[serde(default = "default_1439")] + #[serde(default = "default_1440")] pub shared_entities: Vec, } @@ -31169,19 +31171,19 @@ pub struct BacklinkRelated { #[non_exhaustive] pub struct MemoryBacklinksOutput { pub memory_key: String, - #[serde(default = "default_1428")] + #[serde(default = "default_1429")] pub found: bool, - #[serde(default = "default_1431")] + #[serde(default = "default_1432")] pub versions: Vec, - #[serde(default = "default_1433")] + #[serde(default = "default_1434")] pub digests: Vec, - #[serde(default = "default_1436")] - pub links_in: Vec, #[serde(default = "default_1437")] - pub links_out: Vec, + pub links_in: Vec, #[serde(default = "default_1438")] + pub links_out: Vec, + #[serde(default = "default_1439")] pub evidence_count: Integer, - #[serde(default = "default_1440")] + #[serde(default = "default_1441")] pub related: Vec, } @@ -31286,36 +31288,36 @@ impl MemoryBacklinksInput { #[non_exhaustive] pub struct BriefEvidence { pub memory_key: String, - #[serde(default = "default_1445")] - pub source: String, #[serde(default = "default_1446")] - pub source_class: String, + pub source: String, #[serde(default = "default_1447")] - pub verified: bool, + pub source_class: String, #[serde(default = "default_1448")] - pub when: String, + pub verified: bool, #[serde(default = "default_1449")] - pub session_id: String, + pub when: String, #[serde(default = "default_1450")] + pub session_id: String, + #[serde(default = "default_1451")] pub excerpt: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryBriefOutput { - #[serde(default = "default_1441")] - pub query: String, #[serde(default = "default_1442")] - pub answer: String, + pub query: String, #[serde(default = "default_1443")] - pub abstained: bool, + pub answer: String, #[serde(default = "default_1444")] + pub abstained: bool, + #[serde(default = "default_1445")] pub grounding: String, - #[serde(default = "default_1451")] - pub evidence: Vec, #[serde(default = "default_1452")] - pub unknowns: Vec, + pub evidence: Vec, #[serde(default = "default_1453")] + pub unknowns: Vec, + #[serde(default = "default_1454")] pub next_reads: Vec, } @@ -31729,9 +31731,9 @@ pub struct MemoryBulkGetOutputMemoryGetOutput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryBulkGetOutput { - #[serde(default = "default_1454")] - pub results: std::collections::HashMap, #[serde(default = "default_1455")] + pub results: std::collections::HashMap, + #[serde(default = "default_1456")] pub missing: Vec, } @@ -32244,7 +32246,7 @@ pub struct MemoryClearOutput { pub cleared_at: String, pub rows_affected: std::collections::HashMap, pub total: Integer, - #[serde(default = "default_1456")] + #[serde(default = "default_1457")] pub locked_skipped: Integer, } @@ -32332,21 +32334,21 @@ pub struct MemoryConsolidateResult { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryConsolidateOutput { - #[serde(default = "default_1457")] - pub consolidated: Vec, #[serde(default = "default_1458")] - pub examined: Integer, + pub consolidated: Vec, #[serde(default = "default_1459")] - pub clusters_found: Integer, + pub examined: Integer, #[serde(default = "default_1460")] - pub clusters_failed: Integer, + pub clusters_found: Integer, #[serde(default = "default_1461")] - pub clusters_refused_lossy: Integer, + pub clusters_failed: Integer, #[serde(default = "default_1462")] - pub skipped_in_flight: Integer, + pub clusters_refused_lossy: Integer, #[serde(default = "default_1463")] - pub tokens_in: Integer, + pub skipped_in_flight: Integer, #[serde(default = "default_1464")] + pub tokens_in: Integer, + #[serde(default = "default_1465")] pub tokens_out: Integer, } @@ -32487,7 +32489,7 @@ impl MemoryConsolidateInput { #[non_exhaustive] pub struct MemoryCopyToOutput { pub copied: bool, - #[serde(default = "default_1465")] + #[serde(default = "default_1466")] pub target_memory_id: String, pub target_namespace: String, pub target_key: String, @@ -32598,11 +32600,11 @@ impl MemoryCopyToInput { #[non_exhaustive] pub struct MemoryCrossPromoteOutput { pub promoted: bool, - #[serde(default = "default_1466")] + #[serde(default = "default_1467")] pub target_memory_id: String, pub target_namespace: String, pub target_key: String, - #[serde(default = "default_1467")] + #[serde(default = "default_1468")] pub cross_promoted_from_memory_id: String, } @@ -32685,23 +32687,23 @@ pub struct DedupCollapsePair { #[non_exhaustive] pub struct MemoryDedupCollapseOutput { pub namespace: String, - #[serde(default = "default_1468")] - pub prefix: String, #[serde(default = "default_1469")] - pub dry_run: bool, + pub prefix: String, #[serde(default = "default_1470")] - pub pairs: Integer, + pub dry_run: bool, #[serde(default = "default_1471")] - pub canonical_live: Integer, + pub pairs: Integer, #[serde(default = "default_1472")] - pub orphans: Integer, + pub canonical_live: Integer, #[serde(default = "default_1473")] - pub mirror_stale: Integer, + pub orphans: Integer, #[serde(default = "default_1474")] - pub restamped: Integer, + pub mirror_stale: Integer, #[serde(default = "default_1475")] - pub truncated: bool, + pub restamped: Integer, #[serde(default = "default_1476")] + pub truncated: bool, + #[serde(default = "default_1477")] pub sample: Vec, } @@ -32800,7 +32802,7 @@ pub struct DedupDuplicate { pub memory_id: String, pub memory_key: String, pub agent: String, - #[serde(default = "default_1479")] + #[serde(default = "default_1480")] pub created_at: Option, } @@ -32808,12 +32810,12 @@ pub struct DedupDuplicate { #[non_exhaustive] pub struct DedupCluster { pub canonical_id: String, - #[serde(default = "default_1477")] - pub canonical_key: String, #[serde(default = "default_1478")] + pub canonical_key: String, + #[serde(default = "default_1479")] pub canonical_agent: String, pub dup_count: Integer, - #[serde(default = "default_1480")] + #[serde(default = "default_1481")] pub duplicates: Vec, } @@ -32885,11 +32887,11 @@ pub struct MemoryDedupResolveOutput { pub canonical_key: String, pub duplicate_key: String, pub decision: String, - #[serde(default = "default_1481")] - pub canonical_tombstoned: bool, #[serde(default = "default_1482")] - pub duplicate_tombstoned: bool, + pub canonical_tombstoned: bool, #[serde(default = "default_1483")] + pub duplicate_tombstoned: bool, + #[serde(default = "default_1484")] pub ignored_args: Vec, } @@ -33027,17 +33029,17 @@ pub struct LostName { pub struct DefinitionEntry { pub memory_key: String, pub promoted_at: String, - #[serde(default = "default_1484")] - pub capped: bool, #[serde(default = "default_1485")] - pub term: Option, + pub capped: bool, #[serde(default = "default_1486")] - pub aliases: Vec, + pub term: Option, #[serde(default = "default_1487")] - pub verdict: Option, + pub aliases: Vec, #[serde(default = "default_1488")] - pub lapse_reason: Option, + pub verdict: Option, #[serde(default = "default_1489")] + pub lapse_reason: Option, + #[serde(default = "default_1490")] pub lost: Vec, } @@ -33098,15 +33100,15 @@ impl MemoryDefinitionsListInput { #[non_exhaustive] pub struct MemoryDeleteVersionOutput { pub tombstoned: bool, - #[serde(default = "default_1490")] - pub version: Integer, #[serde(default = "default_1491")] - pub found: bool, + pub version: Integer, #[serde(default = "default_1492")] - pub reason: String, + pub found: bool, #[serde(default = "default_1493")] - pub dependents_tombstoned: Integer, + pub reason: String, #[serde(default = "default_1494")] + pub dependents_tombstoned: Integer, + #[serde(default = "default_1495")] pub dependents_downgraded: Integer, } @@ -33233,21 +33235,21 @@ pub struct DemonstrationRow { pub struct MemoryDemonstrateOutput { pub query: String, pub demonstrations: Vec, - #[serde(default = "default_1495")] - pub votes: std::collections::HashMap, #[serde(default = "default_1496")] - pub predicted_label: String, + pub votes: std::collections::HashMap, #[serde(default = "default_1497")] - pub margin: f64, + pub predicted_label: String, #[serde(default = "default_1498")] - pub abstain: bool, + pub margin: f64, #[serde(default = "default_1499")] - pub abstain_reason: String, + pub abstain: bool, #[serde(default = "default_1500")] - pub few_shot_block: String, + pub abstain_reason: String, #[serde(default = "default_1501")] - pub examined: Integer, + pub few_shot_block: String, #[serde(default = "default_1502")] + pub examined: Integer, + #[serde(default = "default_1503")] pub labelled: Integer, } @@ -33387,7 +33389,7 @@ impl MemoryDemonstrateInput { pub struct MemoryDemoteOutput { pub demoted: bool, pub was_reversible: bool, - #[serde(default = "default_1503")] + #[serde(default = "default_1504")] pub tombstoned_at: Option, } @@ -33449,15 +33451,15 @@ impl MemoryDemoteInput { pub struct DigestRow { pub session_id: String, pub summary_text: String, - #[serde(default = "default_1504")] - pub key_facts: Vec, #[serde(default = "default_1505")] - pub derived_from: Vec, + pub key_facts: Vec, #[serde(default = "default_1506")] - pub valid_at: Option, + pub derived_from: Vec, #[serde(default = "default_1507")] - pub created_at: Option, + pub valid_at: Option, #[serde(default = "default_1508")] + pub created_at: Option, + #[serde(default = "default_1509")] pub version: Integer, } @@ -33465,7 +33467,7 @@ pub struct DigestRow { #[non_exhaustive] pub struct MemoryDigestsOutput { pub rows: Vec, - #[serde(default = "default_1509")] + #[serde(default = "default_1510")] pub truncated: bool, } @@ -33590,17 +33592,17 @@ pub struct MemoryEvidenceItem { pub evidence_id: String, pub support_type: String, pub scope: MemoryEvidenceItemScope, - #[serde(default = "default_1513")] - pub role: String, #[serde(default = "default_1514")] - pub observed_at: Option, + pub role: String, #[serde(default = "default_1515")] - pub content: String, + pub observed_at: Option, #[serde(default = "default_1516")] - pub char_start: Integer, + pub content: String, #[serde(default = "default_1517")] - pub char_end: Integer, + pub char_start: Integer, #[serde(default = "default_1518")] + pub char_end: Integer, + #[serde(default = "default_1519")] pub span: String, } @@ -33608,23 +33610,23 @@ pub struct MemoryEvidenceItem { #[non_exhaustive] pub struct MemoryEvidenceOutput { pub found: bool, - #[serde(default = "default_1510")] - pub memory_key: String, #[serde(default = "default_1511")] - pub memory_id: String, + pub memory_key: String, #[serde(default = "default_1512")] + pub memory_id: String, + #[serde(default = "default_1513")] pub value: String, - #[serde(default = "default_1519")] - pub items: Vec, #[serde(default = "default_1520")] - pub truncated: bool, + pub items: Vec, #[serde(default = "default_1521")] - pub cited: Integer, + pub truncated: bool, #[serde(default = "default_1522")] - pub lexical: Integer, + pub cited: Integer, #[serde(default = "default_1523")] - pub window: Integer, + pub lexical: Integer, #[serde(default = "default_1524")] + pub window: Integer, + #[serde(default = "default_1525")] pub derived: Integer, } @@ -33729,26 +33731,26 @@ impl MemoryEvidenceInput { #[non_exhaustive] pub struct EvidenceChunk { pub session_id: String, - #[serde(default = "default_1525")] + #[serde(default = "default_1526")] pub chunk_index: Integer, pub content: String, - #[serde(default = "default_1526")] - pub content_sha256: String, #[serde(default = "default_1527")] - pub agent: String, + pub content_sha256: String, #[serde(default = "default_1528")] - pub user_id: String, + pub agent: String, #[serde(default = "default_1529")] - pub parent_memory_key: String, + pub user_id: String, #[serde(default = "default_1530")] - pub memory_keys: Vec, + pub parent_memory_key: String, #[serde(default = "default_1531")] - pub line_start: Integer, + pub memory_keys: Vec, #[serde(default = "default_1532")] - pub line_end: Integer, + pub line_start: Integer, #[serde(default = "default_1533")] - pub created_at: String, + pub line_end: Integer, #[serde(default = "default_1534")] + pub created_at: String, + #[serde(default = "default_1535")] pub source_url: String, } @@ -33757,17 +33759,17 @@ pub struct EvidenceChunk { pub struct EvidenceDigest { pub session_id: String, pub summary_text: String, - #[serde(default = "default_1536")] - pub agent: String, #[serde(default = "default_1537")] - pub user_id: String, + pub agent: String, #[serde(default = "default_1538")] - pub key_facts: Vec, + pub user_id: String, #[serde(default = "default_1539")] - pub derived_from: Vec, + pub key_facts: Vec, #[serde(default = "default_1540")] - pub valid_at: String, + pub derived_from: Vec, #[serde(default = "default_1541")] + pub valid_at: String, + #[serde(default = "default_1542")] pub created_at: String, } @@ -33777,28 +33779,28 @@ pub struct EvidenceEdge { pub from_key: String, pub to_key: String, pub relation: String, - #[serde(default = "default_1543")] - pub confidence: f64, #[serde(default = "default_1544")] - pub explanation: String, + pub confidence: f64, #[serde(default = "default_1545")] + pub explanation: String, + #[serde(default = "default_1546")] pub created_at: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryExportEvidenceOutput { - #[serde(default = "default_1535")] + #[serde(default = "default_1536")] pub chunks: Vec, - #[serde(default = "default_1542")] + #[serde(default = "default_1543")] pub digests: Vec, - #[serde(default = "default_1546")] - pub edges: Vec, #[serde(default = "default_1547")] - pub has_more: bool, + pub edges: Vec, #[serde(default = "default_1548")] - pub next_cursor: String, + pub has_more: bool, #[serde(default = "default_1549")] + pub next_cursor: String, + #[serde(default = "default_1550")] pub held_high: Integer, } @@ -33991,15 +33993,15 @@ impl ExposureSummaryInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryExtractionRetryMineOutput { - #[serde(default = "default_1550")] - pub requeued: Vec, #[serde(default = "default_1551")] - pub not_failed: Vec, + pub requeued: Vec, #[serde(default = "default_1552")] - pub model_calls_off: Vec, + pub not_failed: Vec, #[serde(default = "default_1553")] - pub expired: Vec, + pub model_calls_off: Vec, #[serde(default = "default_1554")] + pub expired: Vec, + #[serde(default = "default_1555")] pub unknown: Vec, } @@ -34060,20 +34062,20 @@ pub struct ExtractionQueueRow { pub content_chars: Integer, pub written: Integer, pub last_error: String, - #[serde(default = "default_1555")] - pub enqueued_at: Option, #[serde(default = "default_1556")] + pub enqueued_at: Option, + #[serde(default = "default_1557")] pub updated_at: Option, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryExtractionStatusOutput { - #[serde(default = "default_1557")] - pub batches: Vec, #[serde(default = "default_1558")] - pub pending: Integer, + pub batches: Vec, #[serde(default = "default_1559")] + pub pending: Integer, + #[serde(default = "default_1560")] pub failed: Integer, } @@ -34221,13 +34223,13 @@ impl MemoryExtractionStatusInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryExtractionStatusMineOutput { - #[serde(default = "default_1560")] - pub batches: Vec, #[serde(default = "default_1561")] - pub unknown: Vec, + pub batches: Vec, #[serde(default = "default_1562")] - pub pending: Integer, + pub unknown: Vec, #[serde(default = "default_1563")] + pub pending: Integer, + #[serde(default = "default_1564")] pub failed: Integer, } @@ -34348,39 +34350,39 @@ pub struct MemoryForFileHit { pub memory_key: String, pub memory_type: String, pub value: String, - #[serde(default = "default_1564")] - pub value_truncated: bool, #[serde(default = "default_1565")] - pub tags: Vec, + pub value_truncated: bool, #[serde(default = "default_1566")] - pub confidence: f64, + pub tags: Vec, #[serde(default = "default_1567")] - pub pinned: bool, + pub confidence: f64, #[serde(default = "default_1568")] - pub status: String, + pub pinned: bool, #[serde(default = "default_1569")] - pub agent: String, + pub status: String, #[serde(default = "default_1570")] - pub updated_at: Option, + pub agent: String, #[serde(default = "default_1571")] - pub namespace: String, + pub updated_at: Option, #[serde(default = "default_1572")] - pub actor: String, + pub namespace: String, #[serde(default = "default_1573")] - pub supersedes_key: String, + pub actor: String, #[serde(default = "default_1574")] - pub supersedes: String, + pub supersedes_key: String, #[serde(default = "default_1575")] - pub supersedes_kind: MemoryForFileHitSupersedesKind, + pub supersedes: String, #[serde(default = "default_1576")] - pub matched_files: Vec, + pub supersedes_kind: MemoryForFileHitSupersedesKind, #[serde(default = "default_1577")] - pub source_resource_id: String, + pub matched_files: Vec, #[serde(default = "default_1578")] - pub verification: MemoryForFileHitVerification, + pub source_resource_id: String, #[serde(default = "default_1579")] - pub code_state: MemoryForFileHitCodeState, + pub verification: MemoryForFileHitVerification, #[serde(default = "default_1580")] + pub code_state: MemoryForFileHitCodeState, + #[serde(default = "default_1581")] pub code_moved: Vec, } @@ -34390,11 +34392,11 @@ pub struct MemoryForFileOutput { pub path: String, pub total: Integer, pub hits: Vec, - #[serde(default = "default_1581")] - pub rendered: String, #[serde(default = "default_1582")] - pub tokens_estimate: Integer, + pub rendered: String, #[serde(default = "default_1583")] + pub tokens_estimate: Integer, + #[serde(default = "default_1584")] pub truncated: bool, } @@ -34502,61 +34504,61 @@ impl MemoryForFileInput { #[non_exhaustive] pub struct MemoryGetByIdOutput { pub found: bool, - #[serde(default = "default_1584")] - pub memory_id: String, #[serde(default = "default_1585")] - pub namespace: String, + pub memory_id: String, #[serde(default = "default_1586")] - pub agent: String, + pub namespace: String, #[serde(default = "default_1587")] - pub user_id: String, + pub agent: String, #[serde(default = "default_1588")] - pub session_id: String, + pub user_id: String, #[serde(default = "default_1589")] - pub memory_key: String, + pub session_id: String, #[serde(default = "default_1590")] - pub memory_type: Option, + pub memory_key: String, #[serde(default = "default_1591")] - pub value: Value, + pub memory_type: Option, #[serde(default = "default_1592")] - pub confidence: Option, + pub value: Value, #[serde(default = "default_1593")] - pub version: Option, + pub confidence: Option, #[serde(default = "default_1594")] - pub created_at: Option, + pub version: Option, #[serde(default = "default_1595")] - pub expires_at: Option, + pub created_at: Option, #[serde(default = "default_1596")] - pub valid_at: Option, + pub expires_at: Option, #[serde(default = "default_1597")] - pub valid_to: Option, + pub valid_at: Option, #[serde(default = "default_1598")] - pub pinned: bool, + pub valid_to: Option, #[serde(default = "default_1599")] - pub content_sha256: String, + pub pinned: bool, #[serde(default = "default_1600")] - pub verified_by: String, + pub content_sha256: String, #[serde(default = "default_1601")] - pub verified_at: Option, + pub verified_by: String, #[serde(default = "default_1602")] - pub verification: String, + pub verified_at: Option, #[serde(default = "default_1603")] - pub sensitivity: String, + pub verification: String, #[serde(default = "default_1604")] - pub actor: String, + pub sensitivity: String, #[serde(default = "default_1605")] - pub source_class: String, + pub actor: String, #[serde(default = "default_1606")] - pub lock_mode: String, + pub source_class: String, #[serde(default = "default_1607")] - pub lock_reason: String, + pub lock_mode: String, #[serde(default = "default_1608")] - pub lock_until: Option, + pub lock_reason: String, #[serde(default = "default_1609")] - pub locked_by: String, + pub lock_until: Option, #[serde(default = "default_1610")] - pub on_expire: String, + pub locked_by: String, #[serde(default = "default_1611")] + pub on_expire: String, + #[serde(default = "default_1612")] pub expire_reason: String, } @@ -34632,41 +34634,41 @@ pub struct MemoryHealthTopRow { pub memory_type: String, pub recall_count: Integer, pub used_count: Integer, - #[serde(default = "default_1614")] - pub harm_count: Integer, #[serde(default = "default_1615")] + pub harm_count: Integer, + #[serde(default = "default_1616")] pub last_recalled_at: Option, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryHealthStaleness { - #[serde(default = "default_1617")] - pub by_age: std::collections::HashMap, #[serde(default = "default_1618")] - pub with_validity_end: Integer, + pub by_age: std::collections::HashMap, #[serde(default = "default_1619")] - pub with_validity_end_share: f64, + pub with_validity_end: Integer, #[serde(default = "default_1620")] - pub with_expiry: Integer, + pub with_validity_end_share: f64, #[serde(default = "default_1621")] - pub expiring_7d: Integer, + pub with_expiry: Integer, #[serde(default = "default_1622")] - pub pinned: Integer, + pub expiring_7d: Integer, #[serde(default = "default_1623")] - pub days_since_reinforced_p50: Integer, + pub pinned: Integer, #[serde(default = "default_1624")] + pub days_since_reinforced_p50: Integer, + #[serde(default = "default_1625")] pub days_since_reinforced_p90: Integer, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryHealthFootprint { - #[serde(default = "default_1626")] - pub value_chars: Integer, #[serde(default = "default_1627")] - pub value_tokens_est: Integer, + pub value_chars: Integer, #[serde(default = "default_1628")] + pub value_tokens_est: Integer, + #[serde(default = "default_1629")] pub tokens_per_row_est: f64, } @@ -34676,19 +34678,19 @@ pub struct MemoryHealthOutput { pub live: Integer, pub recalled_ever: Integer, pub used_ever: Integer, - #[serde(default = "default_1612")] + #[serde(default = "default_1613")] pub harmed_ever: Integer, pub silent: Integer, pub silent_older: Integer, pub silent_share: f64, pub silent_after_days: Integer, - #[serde(default = "default_1613")] + #[serde(default = "default_1614")] pub by_type: Vec, - #[serde(default = "default_1616")] + #[serde(default = "default_1617")] pub top_recalled: Vec, - #[serde(default = "default_1625")] + #[serde(default = "default_1626")] pub staleness: MemoryHealthStaleness, - #[serde(default = "default_1629")] + #[serde(default = "default_1630")] pub footprint: MemoryHealthFootprint, } @@ -34808,51 +34810,51 @@ impl MemoryHealthInput { pub struct MemoryHistoryRow { pub memory_id: String, pub version: Integer, - #[serde(default = "default_1630")] - pub version_text: String, #[serde(default = "default_1631")] + pub version_text: String, + #[serde(default = "default_1632")] pub value: Value, pub confidence: f64, - #[serde(default = "default_1632")] - pub source_trace: String, #[serde(default = "default_1633")] + pub source_trace: String, + #[serde(default = "default_1634")] pub pinned: bool, pub created_at: String, - #[serde(default = "default_1634")] - pub expires_at: Option, #[serde(default = "default_1635")] - pub tombstoned_at: Option, + pub expires_at: Option, #[serde(default = "default_1636")] - pub redacted_at: Option, + pub tombstoned_at: Option, #[serde(default = "default_1637")] - pub redaction_reason: String, + pub redacted_at: Option, #[serde(default = "default_1638")] - pub content_sha256: String, + pub redaction_reason: String, #[serde(default = "default_1639")] - pub actor: String, + pub content_sha256: String, #[serde(default = "default_1640")] - pub source_class: String, + pub actor: String, #[serde(default = "default_1641")] - pub agent: String, + pub source_class: String, #[serde(default = "default_1642")] - pub written_at: Option, + pub agent: String, #[serde(default = "default_1643")] - pub status: String, + pub written_at: Option, #[serde(default = "default_1644")] - pub conflict_with: Vec, + pub status: String, #[serde(default = "default_1645")] - pub tags: Vec, + pub conflict_with: Vec, #[serde(default = "default_1646")] - pub verified_at: Option, + pub tags: Vec, #[serde(default = "default_1647")] - pub verified_by: String, + pub verified_at: Option, #[serde(default = "default_1648")] - pub verified_sha256: String, + pub verified_by: String, #[serde(default = "default_1649")] - pub lock_mode: String, + pub verified_sha256: String, #[serde(default = "default_1650")] - pub lock_reason: String, + pub lock_mode: String, #[serde(default = "default_1651")] + pub lock_reason: String, + #[serde(default = "default_1652")] pub lock_until: Option, } @@ -34962,13 +34964,13 @@ impl MemoryHistoryInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryImportTotals { - #[serde(default = "default_1652")] - pub written: Integer, #[serde(default = "default_1653")] - pub held: Integer, + pub written: Integer, #[serde(default = "default_1654")] - pub skipped: Integer, + pub held: Integer, #[serde(default = "default_1655")] + pub skipped: Integer, + #[serde(default = "default_1656")] pub refused: Integer, } @@ -35051,11 +35053,11 @@ pub struct MemoryImportResult { pub index: Integer, pub key: String, pub outcome: MemoryImportResultOutcome, - #[serde(default = "default_1656")] - pub reason: MemoryImportResultReason, #[serde(default = "default_1657")] - pub held_by: String, + pub reason: MemoryImportResultReason, #[serde(default = "default_1658")] + pub held_by: String, + #[serde(default = "default_1659")] pub note: MemoryImportResultNote, } @@ -35064,7 +35066,7 @@ pub struct MemoryImportResult { pub struct MemoryImportOutput { pub totals: MemoryImportTotals, pub results: Vec, - #[serde(default = "default_1659")] + #[serde(default = "default_1660")] pub dry_run: bool, } @@ -35257,9 +35259,9 @@ pub struct MemoryImportCuratedRow { pub section_heading: String, pub bytes_written: Integer, pub verdict: String, - #[serde(default = "default_1660")] - pub rejection_reason: String, #[serde(default = "default_1661")] + pub rejection_reason: String, + #[serde(default = "default_1662")] pub pinned_blocker_id: Option, } @@ -35351,21 +35353,21 @@ impl MemoryImportCuratedInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryImportEvidenceOutput { - #[serde(default = "default_1662")] - pub chunks_written: Integer, #[serde(default = "default_1663")] - pub links_written: Integer, + pub chunks_written: Integer, #[serde(default = "default_1664")] - pub digests_written: Integer, + pub links_written: Integer, #[serde(default = "default_1665")] - pub embedding_model: String, + pub digests_written: Integer, #[serde(default = "default_1666")] - pub embedding_dim: Integer, + pub embedding_model: String, #[serde(default = "default_1667")] - pub edited: Vec, + pub embedding_dim: Integer, #[serde(default = "default_1668")] - pub skipped: Integer, + pub edited: Vec, #[serde(default = "default_1669")] + pub skipped: Integer, + #[serde(default = "default_1670")] pub unchecked: Integer, } @@ -35702,7 +35704,7 @@ pub struct InspectRow { pub memory_key: String, pub memory_id: String, pub version: Integer, - #[serde(default = "default_1679")] + #[serde(default = "default_1680")] pub content_sha256: String, pub memory_type: String, pub status: String, @@ -35713,9 +35715,9 @@ pub struct InspectRow { pub actor: String, pub updated_at: String, pub sensitivity: String, - #[serde(default = "default_1680")] - pub versions: Integer, #[serde(default = "default_1681")] + pub versions: Integer, + #[serde(default = "default_1682")] pub excerpt: String, } @@ -35723,27 +35725,27 @@ pub struct InspectRow { #[non_exhaustive] pub struct InspectView { pub definition: String, - #[serde(default = "default_1670")] - pub refs: Vec, #[serde(default = "default_1671")] - pub live_rows: Integer, + pub refs: Vec, #[serde(default = "default_1672")] - pub by_type: Vec, + pub live_rows: Integer, #[serde(default = "default_1673")] - pub by_status: Vec, + pub by_type: Vec, #[serde(default = "default_1674")] - pub by_source_class: Vec, + pub by_status: Vec, #[serde(default = "default_1675")] - pub top_tags: Vec, + pub by_source_class: Vec, #[serde(default = "default_1676")] - pub categories: Vec, + pub top_tags: Vec, #[serde(default = "default_1677")] - pub first_updated_at: Option, + pub categories: Vec, #[serde(default = "default_1678")] + pub first_updated_at: Option, + #[serde(default = "default_1679")] pub last_updated_at: Option, - #[serde(default = "default_1682")] - pub newest: Vec, #[serde(default = "default_1683")] + pub newest: Vec, + #[serde(default = "default_1684")] pub complete: bool, } @@ -35759,32 +35761,32 @@ pub struct InspectCall { #[non_exhaustive] pub struct InspectActivity { pub window_seconds: Integer, - #[serde(default = "default_1684")] - pub calls: Vec, #[serde(default = "default_1685")] - pub first_at: Option, + pub calls: Vec, #[serde(default = "default_1686")] - pub last_at: Option, + pub first_at: Option, #[serde(default = "default_1687")] + pub last_at: Option, + #[serde(default = "default_1688")] pub gap: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct InspectSettings { - #[serde(default = "default_1688")] - pub guide_revision: Integer, #[serde(default = "default_1689")] - pub guide_summary: String, + pub guide_revision: Integer, #[serde(default = "default_1690")] - pub categories_registered: Integer, + pub guide_summary: String, #[serde(default = "default_1691")] - pub extraction_policy: Option, + pub categories_registered: Integer, #[serde(default = "default_1692")] - pub extraction_policy_unavailable: String, + pub extraction_policy: Option, #[serde(default = "default_1693")] - pub extraction_instructions: String, + pub extraction_policy_unavailable: String, #[serde(default = "default_1694")] + pub extraction_instructions: String, + #[serde(default = "default_1695")] pub extraction_instructions_refs: Vec, } @@ -35800,7 +35802,7 @@ pub struct MemoryInspectOutput { pub others: InspectView, pub activity: InspectActivity, pub settings: InspectSettings, - #[serde(default = "default_1695")] + #[serde(default = "default_1696")] pub skipped: Vec, } @@ -35894,7 +35896,7 @@ pub struct MemoryKeyRef { #[non_exhaustive] pub struct MemoryKeysOutput { pub keys: Vec, - #[serde(default = "default_1696")] + #[serde(default = "default_1697")] pub truncated: bool, } @@ -35997,9 +35999,9 @@ pub struct LineageCandidate { pub decided_at: String, pub decided_by: String, pub match_confidence: LineageCandidateMatchConfidence, - #[serde(default = "default_1705")] - pub seeded_from_thread_id: String, #[serde(default = "default_1706")] + pub seeded_from_thread_id: String, + #[serde(default = "default_1707")] pub seeded_from_msg_id: String, } @@ -36017,25 +36019,25 @@ pub struct LineageAuditEvent { pub struct MemoryLineageOutput { pub found: bool, pub memory_key: String, - #[serde(default = "default_1697")] - pub promotion_event: String, #[serde(default = "default_1698")] - pub promoted_by: String, + pub promotion_event: String, #[serde(default = "default_1699")] - pub promoted_at: Option, + pub promoted_by: String, #[serde(default = "default_1700")] - pub rationale: String, + pub promoted_at: Option, #[serde(default = "default_1701")] - pub source_trace: String, + pub rationale: String, #[serde(default = "default_1702")] - pub source_resource_id: String, + pub source_trace: String, #[serde(default = "default_1703")] - pub mechanism: MemoryLineageOutputMechanism, + pub source_resource_id: String, #[serde(default = "default_1704")] + pub mechanism: MemoryLineageOutputMechanism, + #[serde(default = "default_1705")] pub supporters: Vec, - #[serde(default = "default_1707")] - pub candidate: Option, #[serde(default = "default_1708")] + pub candidate: Option, + #[serde(default = "default_1709")] pub audit_chain: Vec, } @@ -36164,11 +36166,11 @@ pub struct MemoryLinkOutput { pub from_key: String, pub to_key: String, pub relation: String, - #[serde(default = "default_1709")] - pub confidence: f64, #[serde(default = "default_1710")] - pub conflict_opened: bool, + pub confidence: f64, #[serde(default = "default_1711")] + pub conflict_opened: bool, + #[serde(default = "default_1712")] pub relation_defaulted: bool, } @@ -36482,17 +36484,17 @@ pub struct MemoryListEntry { pub struct MemoryListOutput { pub entries: Vec, pub truncated: bool, - #[serde(default = "default_1712")] - pub total: Integer, #[serde(default = "default_1713")] - pub today: Integer, + pub total: Integer, #[serde(default = "default_1714")] - pub namespace_version: String, + pub today: Integer, #[serde(default = "default_1715")] - pub unchanged: bool, + pub namespace_version: String, #[serde(default = "default_1716")] - pub hidden: Integer, + pub unchanged: bool, #[serde(default = "default_1717")] + pub hidden: Integer, + #[serde(default = "default_1718")] pub hidden_hint: String, } @@ -36878,19 +36880,19 @@ impl MemoryListInput { #[non_exhaustive] pub struct MemoryLockOutput { pub locked: bool, - #[serde(default = "default_1718")] - pub reason: String, #[serde(default = "default_1719")] - pub memory_id: String, + pub reason: String, #[serde(default = "default_1720")] - pub version: Option, + pub memory_id: String, #[serde(default = "default_1721")] - pub lock_mode: String, + pub version: Option, #[serde(default = "default_1722")] - pub lock_until: Option, + pub lock_mode: String, #[serde(default = "default_1723")] - pub locked_by: String, + pub lock_until: Option, #[serde(default = "default_1724")] + pub locked_by: String, + #[serde(default = "default_1725")] pub previous_mode: String, } @@ -37049,21 +37051,21 @@ pub struct MemoryMoveOutput { pub from_key: String, pub to_key: String, pub redirected: bool, - #[serde(default = "default_1725")] - pub memory_id: String, #[serde(default = "default_1726")] - pub version: Integer, + pub memory_id: String, #[serde(default = "default_1727")] - pub content_sha256: String, + pub version: Integer, #[serde(default = "default_1728")] - pub advisories: Vec, + pub content_sha256: String, #[serde(default = "default_1729")] - pub dry_run: bool, + pub advisories: Vec, #[serde(default = "default_1730")] - pub memory_type: String, + pub dry_run: bool, #[serde(default = "default_1731")] - pub value_preview: String, + pub memory_type: String, #[serde(default = "default_1732")] + pub value_preview: String, + #[serde(default = "default_1733")] pub sensitivity: String, } @@ -37275,7 +37277,7 @@ impl MemoryMoveInput { pub struct MemoryOutcomeOutput { pub recorded: bool, pub evidence_count_after: Integer, - #[serde(default = "default_1733")] + #[serde(default = "default_1734")] pub quarantined: bool, } @@ -37518,13 +37520,13 @@ impl MemoryOutcomeRunInput { #[non_exhaustive] pub struct OutlineSession { pub session_id: String, - #[serde(default = "default_1735")] - pub date: String, #[serde(default = "default_1736")] - pub headline: String, + pub date: String, #[serde(default = "default_1737")] - pub key_facts: Integer, + pub headline: String, #[serde(default = "default_1738")] + pub key_facts: Integer, + #[serde(default = "default_1739")] pub rows: Integer, } @@ -37532,7 +37534,7 @@ pub struct OutlineSession { #[non_exhaustive] pub struct OutlineHub { pub entity: String, - #[serde(default = "default_1741")] + #[serde(default = "default_1742")] pub degree: Integer, } @@ -37540,28 +37542,28 @@ pub struct OutlineHub { #[non_exhaustive] pub struct OutlineCommunity { pub community_id: Integer, - #[serde(default = "default_1743")] - pub label: String, #[serde(default = "default_1744")] - pub size: Integer, + pub label: String, #[serde(default = "default_1745")] + pub size: Integer, + #[serde(default = "default_1746")] pub computed_at: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryOutlineOutput { - #[serde(default = "default_1734")] + #[serde(default = "default_1735")] pub rows_by_type: std::collections::HashMap, - #[serde(default = "default_1739")] - pub sessions: Vec, #[serde(default = "default_1740")] + pub sessions: Vec, + #[serde(default = "default_1741")] pub sessions_total: Integer, - #[serde(default = "default_1742")] + #[serde(default = "default_1743")] pub hubs: Vec, - #[serde(default = "default_1746")] - pub communities: Vec, #[serde(default = "default_1747")] + pub communities: Vec, + #[serde(default = "default_1748")] pub profile_chars: Integer, } @@ -37713,7 +37715,7 @@ pub struct OwnerUsageRow { pub recalls: Integer, pub used: Integer, pub harm: Integer, - #[serde(default = "default_1748")] + #[serde(default = "default_1749")] pub last_recalled: Option, } @@ -38200,7 +38202,7 @@ pub struct MemoryPromoteOutput { pub shared_memory_key: String, pub promotion_event: String, pub reversible_until: String, - #[serde(default = "default_1749")] + #[serde(default = "default_1750")] pub ignored_args: Vec, } @@ -38369,18 +38371,18 @@ impl MemoryPromoteInput { pub struct MemoryProposalDecision { pub memory_key: String, pub decided: bool, - #[serde(default = "default_1751")] - pub status: String, #[serde(default = "default_1752")] + pub status: String, + #[serde(default = "default_1753")] pub reason: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryProposalDecideOutput { - #[serde(default = "default_1750")] + #[serde(default = "default_1751")] pub decided: Integer, - #[serde(default = "default_1753")] + #[serde(default = "default_1754")] pub results: Vec, } @@ -38481,33 +38483,33 @@ pub enum MemoryProposalReady { pub struct MemoryProposal { pub memory_key: String, pub memory_id: String, - #[serde(default = "default_1754")] - pub content_sha256: String, #[serde(default = "default_1755")] - pub agent: String, + pub content_sha256: String, #[serde(default = "default_1756")] - pub memory_type: String, + pub agent: String, #[serde(default = "default_1757")] - pub value_preview: String, + pub memory_type: String, #[serde(default = "default_1758")] - pub sensitivity: String, + pub value_preview: String, #[serde(default = "default_1759")] - pub tags: Vec, + pub sensitivity: String, #[serde(default = "default_1760")] - pub created_at: String, + pub tags: Vec, #[serde(default = "default_1761")] - pub graded_passes: Integer, + pub created_at: String, #[serde(default = "default_1762")] - pub graded_fails: Integer, + pub graded_passes: Integer, #[serde(default = "default_1763")] - pub last_graded_at: String, + pub graded_fails: Integer, #[serde(default = "default_1764")] - pub used_count: Integer, + pub last_graded_at: String, #[serde(default = "default_1765")] - pub harm_count: Integer, + pub used_count: Integer, #[serde(default = "default_1766")] - pub ready: MemoryProposalReady, + pub harm_count: Integer, #[serde(default = "default_1767")] + pub ready: MemoryProposalReady, + #[serde(default = "default_1768")] pub conflict_with: Vec, } @@ -38523,24 +38525,24 @@ pub enum ProposalPolicyMode { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct ProposalPolicy { - #[serde(default = "default_1770")] - pub mode: ProposalPolicyMode, #[serde(default = "default_1771")] - pub min_passes: Integer, + pub mode: ProposalPolicyMode, #[serde(default = "default_1772")] - pub max_fails: Integer, + pub min_passes: Integer, #[serde(default = "default_1773")] + pub max_fails: Integer, + #[serde(default = "default_1774")] pub reject_after_fails: Integer, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryProposalsOutput { - #[serde(default = "default_1768")] - pub proposals: Vec, #[serde(default = "default_1769")] + pub proposals: Vec, + #[serde(default = "default_1770")] pub total: Integer, - #[serde(default = "default_1774")] + #[serde(default = "default_1775")] pub policy: ProposalPolicy, } @@ -38658,19 +38660,19 @@ impl MemoryProposalsInput { pub struct MemoryProvenanceLink { pub direction: String, pub memory_key: String, - #[serde(default = "default_1788")] - pub relation: String, #[serde(default = "default_1789")] - pub label: String, + pub relation: String, #[serde(default = "default_1790")] - pub explanation: String, + pub label: String, #[serde(default = "default_1791")] - pub evidence: Vec, + pub explanation: String, #[serde(default = "default_1792")] - pub confidence: f64, + pub evidence: Vec, #[serde(default = "default_1793")] - pub author: String, + pub confidence: f64, #[serde(default = "default_1794")] + pub author: String, + #[serde(default = "default_1795")] pub run_id: String, } @@ -38678,33 +38680,33 @@ pub struct MemoryProvenanceLink { #[non_exhaustive] pub struct MemoryProvenanceOutput { pub found: bool, - #[serde(default = "default_1775")] - pub source_trace: String, #[serde(default = "default_1776")] - pub source_kind: String, + pub source_trace: String, #[serde(default = "default_1777")] - pub actor: String, + pub source_kind: String, #[serde(default = "default_1778")] - pub source_class: String, + pub actor: String, #[serde(default = "default_1779")] - pub source_label: String, + pub source_class: String, #[serde(default = "default_1780")] - pub thread_id: String, + pub source_label: String, #[serde(default = "default_1781")] - pub thread_exists: bool, + pub thread_id: String, #[serde(default = "default_1782")] - pub thread_title: String, + pub thread_exists: bool, #[serde(default = "default_1783")] - pub agent: String, + pub thread_title: String, #[serde(default = "default_1784")] - pub session_id: String, + pub agent: String, #[serde(default = "default_1785")] - pub run_id: String, + pub session_id: String, #[serde(default = "default_1786")] - pub written_at: String, + pub run_id: String, #[serde(default = "default_1787")] + pub written_at: String, + #[serde(default = "default_1788")] pub source_resource_id: String, - #[serde(default = "default_1795")] + #[serde(default = "default_1796")] pub links: Vec, } @@ -38799,17 +38801,17 @@ impl MemoryProvenanceInput { pub struct RecallTurn { pub evidence_id: String, pub session_id: String, - #[serde(default = "default_1796")] - pub role: String, #[serde(default = "default_1797")] - pub actor: String, + pub role: String, #[serde(default = "default_1798")] - pub observed_at: String, + pub actor: String, #[serde(default = "default_1799")] - pub content: String, + pub observed_at: String, #[serde(default = "default_1800")] - pub truncated: bool, + pub content: String, #[serde(default = "default_1801")] + pub truncated: bool, + #[serde(default = "default_1802")] pub matched_tokens: Integer, } @@ -38826,21 +38828,21 @@ pub enum MemoryRecallOutputOrder { #[non_exhaustive] pub struct MemoryRecallOutput { pub turns: Vec, - #[serde(default = "default_1802")] - pub total_matched: Integer, #[serde(default = "default_1803")] - pub returned: Integer, + pub total_matched: Integer, #[serde(default = "default_1804")] - pub has_more: bool, + pub returned: Integer, #[serde(default = "default_1805")] - pub next_cursor: String, + pub has_more: bool, #[serde(default = "default_1806")] - pub next_offset: Integer, + pub next_cursor: String, #[serde(default = "default_1807")] - pub order: MemoryRecallOutputOrder, + pub next_offset: Integer, #[serde(default = "default_1808")] - pub query_tokens: Vec, + pub order: MemoryRecallOutputOrder, #[serde(default = "default_1809")] + pub query_tokens: Vec, + #[serde(default = "default_1810")] pub tokens_returned: Integer, } @@ -39122,19 +39124,19 @@ pub struct MemoryRecordConflictRow { pub schema_name: String, pub memory_key: String, pub field_name: String, - #[serde(default = "default_1810")] - pub prior_value: Value, #[serde(default = "default_1811")] + pub prior_value: Value, + #[serde(default = "default_1812")] pub incoming_value: Value, pub prior_record_id: String, pub incoming_record_id: String, - #[serde(default = "default_1812")] - pub prior_memory_id: String, #[serde(default = "default_1813")] - pub incoming_memory_id: String, + pub prior_memory_id: String, #[serde(default = "default_1814")] - pub detected_at: Option, + pub incoming_memory_id: String, #[serde(default = "default_1815")] + pub detected_at: Option, + #[serde(default = "default_1816")] pub resolved_at: Option, } @@ -39142,7 +39144,7 @@ pub struct MemoryRecordConflictRow { #[non_exhaustive] pub struct MemoryRecordConflictsOutput { pub rows: Vec, - #[serde(default = "default_1816")] + #[serde(default = "default_1817")] pub truncated: bool, } @@ -39252,19 +39254,19 @@ pub enum MemoryRecordRowStatus { #[non_exhaustive] pub struct MemoryRecordRow { pub record_id: String, - #[serde(default = "default_1817")] - pub memory_key: String, #[serde(default = "default_1818")] - pub memory_id: String, + pub memory_key: String, #[serde(default = "default_1819")] - pub record: std::collections::HashMap, + pub memory_id: String, #[serde(default = "default_1820")] - pub field_states: std::collections::HashMap, + pub record: std::collections::HashMap, #[serde(default = "default_1821")] - pub status: MemoryRecordRowStatus, + pub field_states: std::collections::HashMap, #[serde(default = "default_1822")] - pub valid_at: Option, + pub status: MemoryRecordRowStatus, #[serde(default = "default_1823")] + pub valid_at: Option, + #[serde(default = "default_1824")] pub valid_to: Option, } @@ -39331,7 +39333,7 @@ impl MemoryRecordHistoryInput { #[non_exhaustive] pub struct MemoryRecordQueryOutput { pub rows: Vec, - #[serde(default = "default_1824")] + #[serde(default = "default_1825")] pub truncated: bool, } @@ -39555,15 +39557,15 @@ pub enum MemoryRecordWriteOutputKeySource { pub struct MemoryRecordWriteOutput { pub record_id: String, pub field_count: Integer, - #[serde(default = "default_1825")] - pub memory_key: String, #[serde(default = "default_1826")] - pub key_source: MemoryRecordWriteOutputKeySource, + pub memory_key: String, #[serde(default = "default_1827")] - pub fold: std::collections::HashMap, + pub key_source: MemoryRecordWriteOutputKeySource, #[serde(default = "default_1828")] - pub superseded_record_id: String, + pub fold: std::collections::HashMap, #[serde(default = "default_1829")] + pub superseded_record_id: String, + #[serde(default = "default_1830")] pub conflicts: Integer, } @@ -39806,13 +39808,13 @@ impl MemoryRecordWriteInput { #[non_exhaustive] pub struct MemoryRedactOutput { pub redacted: bool, - #[serde(default = "default_1830")] - pub refused_head: bool, #[serde(default = "default_1831")] - pub redacted_at: Option, + pub refused_head: bool, #[serde(default = "default_1832")] - pub cache_rows_deleted: Integer, + pub redacted_at: Option, #[serde(default = "default_1833")] + pub cache_rows_deleted: Integer, + #[serde(default = "default_1834")] pub precedent_rows_deleted: Integer, } @@ -39972,7 +39974,7 @@ impl MemoryReindexInput { #[non_exhaustive] pub struct MemoryRejectOutput { pub rejected: bool, - #[serde(default = "default_1834")] + #[serde(default = "default_1835")] pub rejected_at: Option, } @@ -40088,7 +40090,7 @@ pub struct MemoryRelatedHit { pub struct MemoryRelatedOutput { pub results: Vec, pub source_entities: Vec, - #[serde(default = "default_1835")] + #[serde(default = "default_1836")] pub reason: String, } @@ -40203,13 +40205,13 @@ impl MemoryRelatedInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryResolveOrphanDuplicatesOutput { - #[serde(default = "default_1836")] - pub candidates: Integer, #[serde(default = "default_1837")] - pub reactivated: Integer, + pub candidates: Integer, #[serde(default = "default_1838")] - pub dry_run: bool, + pub reactivated: Integer, #[serde(default = "default_1839")] + pub dry_run: bool, + #[serde(default = "default_1840")] pub memory_ids: Vec, } @@ -40286,15 +40288,15 @@ impl MemoryResolveOrphanDuplicatesInput { #[non_exhaustive] pub struct MemoryRestoreOutput { pub restored: bool, - #[serde(default = "default_1840")] - pub memory_id: Option, #[serde(default = "default_1841")] - pub version: Option, + pub memory_id: Option, #[serde(default = "default_1842")] - pub expired: bool, + pub version: Option, #[serde(default = "default_1843")] - pub redacted: bool, + pub expired: bool, #[serde(default = "default_1844")] + pub redacted: bool, + #[serde(default = "default_1845")] pub from_status: String, } @@ -40414,13 +40416,13 @@ pub struct SearchTraceHit { pub content_excerpt: String, pub distance: f64, pub similarity: f64, - #[serde(default = "default_1845")] + #[serde(default = "default_1846")] pub entity_boost: f64, pub rank_score: f64, pub rank: Integer, - #[serde(default = "default_1846")] - pub source: String, #[serde(default = "default_1847")] + pub source: String, + #[serde(default = "default_1848")] pub parent_memory_key: String, } @@ -40430,11 +40432,11 @@ pub struct MemorySearchTraceOutput { pub results: Vec, pub embedding_model: String, pub entity_filter: Vec, - #[serde(default = "default_1848")] - pub query_spellings: std::collections::HashMap, #[serde(default = "default_1849")] - pub query_spellings_skipped: bool, + pub query_spellings: std::collections::HashMap, #[serde(default = "default_1850")] + pub query_spellings_skipped: bool, + #[serde(default = "default_1851")] pub stale_dropped: Integer, } @@ -41615,7 +41617,7 @@ pub struct SearchTraceLogRow { pub embedding_model: String, pub latency_ms: Integer, pub run_id: String, - #[serde(default = "default_1851")] + #[serde(default = "default_1852")] pub operation: String, } @@ -41724,71 +41726,71 @@ pub struct RefusedFact { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemorySetFromMessagesOutput { - #[serde(default = "default_1852")] - pub written: Vec, #[serde(default = "default_1853")] - pub refused: Vec, + pub written: Vec, #[serde(default = "default_1854")] - pub tokens_in: Integer, + pub refused: Vec, #[serde(default = "default_1855")] - pub tokens_out: Integer, + pub tokens_in: Integer, #[serde(default = "default_1856")] - pub llm_provider: String, + pub tokens_out: Integer, #[serde(default = "default_1857")] - pub llm_model: String, + pub llm_provider: String, #[serde(default = "default_1858")] - pub segments: Integer, + pub llm_model: String, #[serde(default = "default_1859")] - pub foresight: Integer, + pub segments: Integer, #[serde(default = "default_1860")] - pub forgotten: Integer, + pub foresight: Integer, #[serde(default = "default_1861")] - pub forgotten_keys: Vec, + pub forgotten: Integer, #[serde(default = "default_1862")] - pub forget_requests: Integer, + pub forgotten_keys: Vec, #[serde(default = "default_1863")] - pub about_other: Integer, + pub forget_requests: Integer, #[serde(default = "default_1864")] - pub premise_facts: Integer, + pub about_other: Integer, #[serde(default = "default_1865")] - pub learning_candidates: Integer, + pub premise_facts: Integer, #[serde(default = "default_1866")] - pub ignored_args: Vec, + pub learning_candidates: Integer, #[serde(default = "default_1867")] - pub segmenter: String, + pub ignored_args: Vec, #[serde(default = "default_1868")] - pub cached_tokens_in: Integer, + pub segmenter: String, #[serde(default = "default_1869")] - pub ontology_warnings: Vec, + pub cached_tokens_in: Integer, #[serde(default = "default_1870")] - pub evidence_ids: Vec, + pub ontology_warnings: Vec, #[serde(default = "default_1871")] - pub belief_source_links: Integer, + pub evidence_ids: Vec, #[serde(default = "default_1872")] - pub pipeline_errors: Vec, + pub belief_source_links: Integer, #[serde(default = "default_1873")] - pub value_updates_linked: Integer, + pub pipeline_errors: Vec, #[serde(default = "default_1874")] - pub stubbed_fields: Vec, + pub value_updates_linked: Integer, #[serde(default = "default_1875")] - pub degraded: Vec, + pub stubbed_fields: Vec, #[serde(default = "default_1876")] - pub deferred: bool, + pub degraded: Vec, #[serde(default = "default_1877")] - pub queue_id: String, + pub deferred: bool, #[serde(default = "default_1878")] - pub deferred_by: String, + pub queue_id: String, #[serde(default = "default_1879")] - pub stage_ms: std::collections::HashMap, + pub deferred_by: String, #[serde(default = "default_1880")] - pub observation_date_source: String, + pub stage_ms: std::collections::HashMap, #[serde(default = "default_1881")] - pub under_operator_policy: bool, + pub observation_date_source: String, #[serde(default = "default_1882")] - pub extract_prompt_keys: Vec, + pub under_operator_policy: bool, #[serde(default = "default_1883")] - pub llm_cache_hits: Integer, + pub extract_prompt_keys: Vec, #[serde(default = "default_1884")] + pub llm_cache_hits: Integer, + #[serde(default = "default_1885")] pub llm_cache_misses: Integer, } @@ -42232,22 +42234,22 @@ pub enum StackEntrySection { #[non_exhaustive] pub struct StackEntry { pub section: StackEntrySection, - #[serde(default = "default_1885")] - pub memory_key: String, #[serde(default = "default_1886")] - pub memory_type: String, + pub memory_key: String, #[serde(default = "default_1887")] + pub memory_type: String, + #[serde(default = "default_1888")] pub value: String, pub tokens: Integer, - #[serde(default = "default_1888")] - pub pinned: bool, #[serde(default = "default_1889")] - pub recall_count: Integer, + pub pinned: bool, #[serde(default = "default_1890")] - pub last_recalled_at: Option, + pub recall_count: Integer, #[serde(default = "default_1891")] - pub actor: String, + pub last_recalled_at: Option, #[serde(default = "default_1892")] + pub actor: String, + #[serde(default = "default_1893")] pub namespace: String, } @@ -42432,14 +42434,14 @@ impl MemoryStackInput { pub struct MemoryStatus { pub memory_id: String, pub status: String, - #[serde(default = "default_1893")] + #[serde(default = "default_1894")] pub superseded_by: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryStatusesOutput { - #[serde(default = "default_1894")] + #[serde(default = "default_1895")] pub rows: Vec, } @@ -42488,23 +42490,23 @@ impl MemoryStatusesInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemorySweepExpiredOutput { - #[serde(default = "default_1895")] - pub scanned: Integer, #[serde(default = "default_1896")] - pub tombstoned: Integer, + pub scanned: Integer, #[serde(default = "default_1897")] - pub demoted: Integer, + pub tombstoned: Integer, #[serde(default = "default_1898")] - pub anonymized: Integer, + pub demoted: Integer, #[serde(default = "default_1899")] - pub locked_skipped: Integer, + pub anonymized: Integer, #[serde(default = "default_1900")] - pub moved_skipped: Integer, + pub locked_skipped: Integer, #[serde(default = "default_1901")] - pub dry_run: bool, + pub moved_skipped: Integer, #[serde(default = "default_1902")] - pub sample: Vec>, + pub dry_run: bool, #[serde(default = "default_1903")] + pub sample: Vec>, + #[serde(default = "default_1904")] pub failures: Vec, } @@ -42581,10 +42583,10 @@ pub struct MemoryTimelineEntry { pub memory_key: String, pub memory_type: String, pub content_excerpt: String, - #[serde(default = "default_1904")] + #[serde(default = "default_1905")] pub valid_at: Option, pub created_at: String, - #[serde(default = "default_1905")] + #[serde(default = "default_1906")] pub namespace: String, } @@ -42592,7 +42594,7 @@ pub struct MemoryTimelineEntry { #[non_exhaustive] pub struct MemoryTimelineOutput { pub events: Vec, - #[serde(default = "default_1906")] + #[serde(default = "default_1907")] pub total_matching: Integer, } @@ -42784,9 +42786,9 @@ impl MemoryTimelineInput { pub struct MemoryTouchResult { pub memory_key: String, pub touched: bool, - #[serde(default = "default_1909")] - pub version: Option, #[serde(default = "default_1910")] + pub version: Option, + #[serde(default = "default_1911")] pub expires_at: Option, } @@ -42794,13 +42796,13 @@ pub struct MemoryTouchResult { #[non_exhaustive] pub struct MemoryTouchOutput { pub touched: bool, - #[serde(default = "default_1907")] - pub version: Option, #[serde(default = "default_1908")] + pub version: Option, + #[serde(default = "default_1909")] pub expires_at: Option, - #[serde(default = "default_1911")] - pub results: Vec, #[serde(default = "default_1912")] + pub results: Vec, + #[serde(default = "default_1913")] pub touched_count: Integer, } @@ -42980,15 +42982,15 @@ impl MemoryTouchInput { #[non_exhaustive] pub struct MemoryUnlockOutput { pub unlocked: bool, - #[serde(default = "default_1913")] - pub reason: String, #[serde(default = "default_1914")] - pub memory_id: String, + pub reason: String, #[serde(default = "default_1915")] - pub version: Option, + pub memory_id: String, #[serde(default = "default_1916")] - pub previous_mode: String, + pub version: Option, #[serde(default = "default_1917")] + pub previous_mode: String, + #[serde(default = "default_1918")] pub unlocked_by: String, } @@ -43093,11 +43095,11 @@ impl MemoryUnlockInput { #[non_exhaustive] pub struct MemoryUnpinOutput { pub unpinned: bool, - #[serde(default = "default_1918")] - pub reason: String, #[serde(default = "default_1919")] - pub memory_id: String, + pub reason: String, #[serde(default = "default_1920")] + pub memory_id: String, + #[serde(default = "default_1921")] pub version: Option, } @@ -43191,15 +43193,15 @@ impl MemoryUnpinInput { #[non_exhaustive] pub struct MemoryUpdateCandidate { pub memory_id: String, - #[serde(default = "default_1926")] - pub agent: String, #[serde(default = "default_1927")] - pub user_id: String, + pub agent: String, #[serde(default = "default_1928")] - pub session_id: String, + pub user_id: String, #[serde(default = "default_1929")] - pub version: Integer, + pub session_id: String, #[serde(default = "default_1930")] + pub version: Integer, + #[serde(default = "default_1931")] pub status: String, } @@ -43207,23 +43209,23 @@ pub struct MemoryUpdateCandidate { #[non_exhaustive] pub struct MemoryUpdateOutput { pub updated: bool, - #[serde(default = "default_1921")] - pub memory_id: String, #[serde(default = "default_1922")] - pub memory_key: String, + pub memory_id: String, #[serde(default = "default_1923")] - pub new_version: Integer, + pub memory_key: String, #[serde(default = "default_1924")] - pub content_sha256: String, + pub new_version: Integer, #[serde(default = "default_1925")] + pub content_sha256: String, + #[serde(default = "default_1926")] pub reason: String, - #[serde(default = "default_1931")] - pub candidates: Vec, #[serde(default = "default_1932")] - pub conflict_verdict: String, + pub candidates: Vec, #[serde(default = "default_1933")] - pub conflict_peers: Integer, + pub conflict_verdict: String, #[serde(default = "default_1934")] + pub conflict_peers: Integer, + #[serde(default = "default_1935")] pub duplicate_of: String, } @@ -43432,15 +43434,15 @@ impl MemoryUpdateInput { #[non_exhaustive] pub struct MemoryUpdateByIdOutput { pub updated: bool, - #[serde(default = "default_1935")] - pub new_version: Integer, #[serde(default = "default_1936")] - pub content_sha256: String, + pub new_version: Integer, #[serde(default = "default_1937")] - pub conflict_verdict: String, + pub content_sha256: String, #[serde(default = "default_1938")] - pub conflict_peers: Integer, + pub conflict_verdict: String, #[serde(default = "default_1939")] + pub conflict_peers: Integer, + #[serde(default = "default_1940")] pub duplicate_of: String, } @@ -43568,23 +43570,23 @@ impl MemoryUpdateByIdInput { #[non_exhaustive] pub struct MemoryVerifyOutput { pub found: bool, - #[serde(default = "default_1940")] - pub changed: bool, #[serde(default = "default_1941")] - pub memory_id: String, + pub changed: bool, #[serde(default = "default_1942")] - pub memory_key: String, + pub memory_id: String, #[serde(default = "default_1943")] - pub namespace: String, + pub memory_key: String, #[serde(default = "default_1944")] - pub verified_by: String, + pub namespace: String, #[serde(default = "default_1945")] - pub verified_at: Option, + pub verified_by: String, #[serde(default = "default_1946")] - pub verification: String, + pub verified_at: Option, #[serde(default = "default_1947")] - pub version: Integer, + pub verification: String, #[serde(default = "default_1948")] + pub version: Integer, + #[serde(default = "default_1949")] pub content_sha256: String, } @@ -43789,13 +43791,13 @@ pub struct SchemaFieldOutput { #[serde(rename = "type")] pub r#type: String, pub required: bool, - #[serde(default = "default_1951")] - pub identity: bool, #[serde(default = "default_1952")] - pub enum_values: Vec, + pub identity: bool, #[serde(default = "default_1953")] - pub constraints: std::collections::HashMap, + pub enum_values: Vec, #[serde(default = "default_1954")] + pub constraints: std::collections::HashMap, + #[serde(default = "default_1955")] pub description: String, } @@ -43804,11 +43806,11 @@ pub struct SchemaFieldOutput { pub struct MemorySchemaSummary { pub schema_id: String, pub name: String, - #[serde(default = "default_1949")] - pub description: String, #[serde(default = "default_1950")] + pub description: String, + #[serde(default = "default_1951")] pub status: String, - #[serde(default = "default_1955")] + #[serde(default = "default_1956")] pub fields: Vec, } @@ -44223,13 +44225,13 @@ impl MemorySchemaRegisterInput { #[non_exhaustive] pub struct MentorPlane { pub plane: String, - #[serde(default = "default_1957")] - pub calls: Integer, #[serde(default = "default_1958")] - pub available: Option, + pub calls: Integer, #[serde(default = "default_1959")] - pub when: String, + pub available: Option, #[serde(default = "default_1960")] + pub when: String, + #[serde(default = "default_1961")] pub mentored: bool, } @@ -44239,11 +44241,11 @@ pub struct MentorHint { pub code: String, pub severity: String, pub text: String, - #[serde(default = "default_1962")] - pub ops: Vec, #[serde(default = "default_1963")] - pub evidence: std::collections::HashMap, + pub ops: Vec, #[serde(default = "default_1964")] + pub evidence: std::collections::HashMap, + #[serde(default = "default_1965")] pub plane: Option, } @@ -44251,9 +44253,9 @@ pub struct MentorHint { #[non_exhaustive] pub struct MentorAdoption { pub code: String, - #[serde(default = "default_1966")] - pub shown_sessions: Integer, #[serde(default = "default_1967")] + pub shown_sessions: Integer, + #[serde(default = "default_1968")] pub followed_sessions: Integer, } @@ -44289,7 +44291,7 @@ pub enum UsageRungSource { #[non_exhaustive] pub struct UsageRung { pub rung: UsageRungRung, - #[serde(default = "default_1969")] + #[serde(default = "default_1970")] pub count: Option, pub source: UsageRungSource, pub meaning: String, @@ -44304,27 +44306,27 @@ pub struct MentorBriefOutput { pub window_seconds: Integer, pub computed_at: String, pub sessions: Integer, - #[serde(default = "default_1956")] + #[serde(default = "default_1957")] pub usage: std::collections::HashMap, - #[serde(default = "default_1961")] + #[serde(default = "default_1962")] pub planes: Vec, - #[serde(default = "default_1965")] + #[serde(default = "default_1966")] pub hints: Vec, - #[serde(default = "default_1968")] + #[serde(default = "default_1969")] pub adoption: Vec, - #[serde(default = "default_1970")] - pub usage_evidence: Vec, #[serde(default = "default_1971")] - pub ledger_from: Option, + pub usage_evidence: Vec, #[serde(default = "default_1972")] - pub ledger_retention_days: Option, + pub ledger_from: Option, #[serde(default = "default_1973")] - pub agents: Vec, + pub ledger_retention_days: Option, #[serde(default = "default_1974")] - pub agent_defaulted: bool, + pub agents: Vec, #[serde(default = "default_1975")] - pub skipped: Vec, + pub agent_defaulted: bool, #[serde(default = "default_1976")] + pub skipped: Vec, + #[serde(default = "default_1977")] pub healthy: bool, } @@ -44473,33 +44475,33 @@ impl MentorGuideInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct NamespaceAuditSummary { - #[serde(default = "default_1977")] - pub live_rows: Integer, #[serde(default = "default_1978")] - pub live_bytes: Integer, + pub live_rows: Integer, #[serde(default = "default_1979")] - pub excerpt_bytes: Integer, + pub live_bytes: Integer, #[serde(default = "default_1980")] - pub version_rows: Integer, + pub excerpt_bytes: Integer, #[serde(default = "default_1981")] - pub version_bytes: Integer, + pub version_rows: Integer, #[serde(default = "default_1982")] - pub unembedded_rows: Integer, + pub version_bytes: Integer, #[serde(default = "default_1983")] - pub gets: Integer, + pub unembedded_rows: Integer, #[serde(default = "default_1984")] - pub searches: Integer, + pub gets: Integer, #[serde(default = "default_1985")] - pub sets: Integer, + pub searches: Integer, #[serde(default = "default_1986")] - pub get_search_ratio: f64, + pub sets: Integer, #[serde(default = "default_1987")] - pub inspector_calls: Integer, + pub get_search_ratio: f64, #[serde(default = "default_1988")] - pub typed_gets: Integer, + pub inspector_calls: Integer, #[serde(default = "default_1989")] - pub written_in_window: Integer, + pub typed_gets: Integer, #[serde(default = "default_1990")] + pub written_in_window: Integer, + #[serde(default = "default_1991")] pub ledger_calls: Integer, } @@ -44531,25 +44533,25 @@ pub struct NamespaceAuditFinding { pub kind: NamespaceAuditFindingKind, pub rule_version: Integer, pub source_op: String, - #[serde(default = "default_1991")] - pub window_seconds: Option, #[serde(default = "default_1992")] + pub window_seconds: Option, + #[serde(default = "default_1993")] pub population: Option, pub sample_limit: Integer, pub samples_complete: bool, - #[serde(default = "default_1993")] - pub evidence: Vec, #[serde(default = "default_1994")] - pub exceptions: String, + pub evidence: Vec, #[serde(default = "default_1995")] + pub exceptions: String, + #[serde(default = "default_1996")] pub uncertainty: String, pub code: String, pub severity: NamespaceAuditFindingSeverity, pub count: Integer, pub share: f64, - #[serde(default = "default_1996")] - pub bytes: Integer, #[serde(default = "default_1997")] + pub bytes: Integer, + #[serde(default = "default_1998")] pub samples: Vec>, pub detail: String, pub remedy: String, @@ -44564,7 +44566,7 @@ pub struct NamespaceAuditOutput { pub window_seconds: Integer, pub summary: NamespaceAuditSummary, pub findings: Vec, - #[serde(default = "default_1998")] + #[serde(default = "default_1999")] pub skipped: Vec, pub coverage: ReportCoverage, pub healthy: bool, @@ -44655,29 +44657,29 @@ pub enum BrowseEntryMyStatus { #[non_exhaustive] pub struct BrowseEntry { pub namespace: String, - #[serde(default = "default_1999")] + #[serde(default = "default_2000")] pub kind: String, pub description: String, pub owner_email: String, pub member_count: Integer, - #[serde(default = "default_2000")] + #[serde(default = "default_2001")] pub requires_approval: bool, pub created_at: String, - #[serde(default = "default_2001")] - pub join_policy: String, #[serde(default = "default_2002")] - pub visibility: String, + pub join_policy: String, #[serde(default = "default_2003")] - pub my_status: BrowseEntryMyStatus, + pub visibility: String, #[serde(default = "default_2004")] - pub my_role: String, + pub my_status: BrowseEntryMyStatus, #[serde(default = "default_2005")] - pub repo: String, + pub my_role: String, #[serde(default = "default_2006")] - pub branch: String, + pub repo: String, #[serde(default = "default_2007")] - pub guide_revision: Integer, + pub branch: String, #[serde(default = "default_2008")] + pub guide_revision: Integer, + #[serde(default = "default_2009")] pub guide_summary: String, } @@ -44781,9 +44783,9 @@ pub enum NamespaceCancelRequestOutputClearedRole { pub struct NamespaceCancelRequestOutput { pub cancelled: bool, pub namespace: String, - #[serde(default = "default_2009")] - pub cleared_role: Option, #[serde(default = "default_2010")] + pub cleared_role: Option, + #[serde(default = "default_2011")] pub cancelled_at: Option, } @@ -44855,7 +44857,7 @@ pub struct NamespaceDeleteOutput { pub deleted: bool, pub namespace: String, pub updated_at: String, - #[serde(default = "default_2011")] + #[serde(default = "default_2012")] pub sources_retired: Vec, } @@ -44924,67 +44926,67 @@ pub enum NamespaceGetOutputClassification { pub struct NamespaceGetOutput { pub found: bool, pub namespace: String, - #[serde(default = "default_2012")] - pub kind: Option, #[serde(default = "default_2013")] - pub owner_email: Option, + pub kind: Option, #[serde(default = "default_2014")] - pub description: Option, + pub owner_email: Option, #[serde(default = "default_2015")] - pub tags: Option>, + pub description: Option, #[serde(default = "default_2016")] - pub active: Option, + pub tags: Option>, #[serde(default = "default_2017")] - pub conversation_logging_enabled: Option, + pub active: Option, #[serde(default = "default_2018")] - pub capture_generation_io: Option, + pub conversation_logging_enabled: Option, #[serde(default = "default_2019")] - pub coverage_sweep: Option, + pub capture_generation_io: Option, #[serde(default = "default_2020")] - pub consolidation_enabled: Option, + pub coverage_sweep: Option, #[serde(default = "default_2021")] - pub daily_cost_cap_usd: Option, + pub consolidation_enabled: Option, #[serde(default = "default_2022")] - pub daily_user_cost_cap_usd: Option, + pub daily_cost_cap_usd: Option, #[serde(default = "default_2023")] - pub budget_alert_inbox: Option, + pub daily_user_cost_cap_usd: Option, #[serde(default = "default_2024")] - pub conflict_threshold: Option, + pub budget_alert_inbox: Option, #[serde(default = "default_2025")] - pub retention_days: Option, + pub conflict_threshold: Option, #[serde(default = "default_2026")] - pub warm_days: Option, + pub retention_days: Option, #[serde(default = "default_2027")] - pub visibility: Option, + pub warm_days: Option, #[serde(default = "default_2028")] - pub requires_approval: Option, + pub visibility: Option, #[serde(default = "default_2029")] - pub join_policy: Option, + pub requires_approval: Option, #[serde(default = "default_2030")] - pub effective_join_policy: Option, + pub join_policy: Option, #[serde(default = "default_2031")] - pub retrieval_defaults: Option>, + pub effective_join_policy: Option, #[serde(default = "default_2032")] - pub rerank_endpoint: Option, + pub retrieval_defaults: Option>, #[serde(default = "default_2033")] - pub classify_endpoint: Option, + pub rerank_endpoint: Option, #[serde(default = "default_2034")] - pub default_conflict_policy: Option, + pub classify_endpoint: Option, #[serde(default = "default_2035")] - pub proposal_policy: Option, + pub default_conflict_policy: Option, #[serde(default = "default_2036")] - pub code_change_policy: Option, + pub proposal_policy: Option, #[serde(default = "default_2037")] - pub tag_registry: Option>>, + pub code_change_policy: Option, #[serde(default = "default_2038")] - pub classification: Option, + pub tag_registry: Option>>, #[serde(default = "default_2039")] - pub guide_revision: Option, + pub classification: Option, #[serde(default = "default_2040")] - pub guide_summary: Option, + pub guide_revision: Option, #[serde(default = "default_2041")] - pub created_at: Option, + pub guide_summary: Option, #[serde(default = "default_2042")] + pub created_at: Option, + #[serde(default = "default_2043")] pub updated_at: Option, } @@ -45037,17 +45039,17 @@ impl NamespaceGetInput { #[non_exhaustive] pub struct NamespaceGuideGetOutput { pub found: bool, - #[serde(default = "default_2043")] - pub revision: Integer, #[serde(default = "default_2044")] - pub content: String, + pub revision: Integer, #[serde(default = "default_2045")] - pub summary: String, + pub content: String, #[serde(default = "default_2046")] - pub note: String, + pub summary: String, #[serde(default = "default_2047")] - pub updated_by: String, + pub note: String, #[serde(default = "default_2048")] + pub updated_by: String, + #[serde(default = "default_2049")] pub updated_at: Option, } @@ -45184,17 +45186,17 @@ impl NamespaceGuideHistoryInput { #[non_exhaustive] pub struct NamespaceGuideSetOutputNamespaceGuideGetOutput { pub found: bool, - #[serde(default = "default_2050")] - pub revision: Integer, #[serde(default = "default_2051")] - pub content: String, + pub revision: Integer, #[serde(default = "default_2052")] - pub summary: String, + pub content: String, #[serde(default = "default_2053")] - pub note: String, + pub summary: String, #[serde(default = "default_2054")] - pub updated_by: String, + pub note: String, #[serde(default = "default_2055")] + pub updated_by: String, + #[serde(default = "default_2056")] pub updated_at: Option, } @@ -45202,10 +45204,10 @@ pub struct NamespaceGuideSetOutputNamespaceGuideGetOutput { #[non_exhaustive] pub struct NamespaceGuideSetOutput { pub written: bool, - #[serde(default = "default_2049")] + #[serde(default = "default_2050")] pub conflict: bool, pub revision: Integer, - #[serde(default = "default_2056")] + #[serde(default = "default_2057")] pub current: Option, } @@ -45326,7 +45328,7 @@ pub struct InventorySection { #[serde(deserialize_with = "required_nullable")] pub latest_at: Option, pub complete: bool, - #[serde(default = "default_2057")] + #[serde(default = "default_2058")] pub reason: String, } @@ -45356,10 +45358,10 @@ pub struct InventoryPopulation { pub population: InventoryPopulationPopulation, #[serde(deserialize_with = "required_nullable")] pub total: Option, - #[serde(default = "default_2058")] + #[serde(default = "default_2059")] pub top: Vec, pub complete: bool, - #[serde(default = "default_2059")] + #[serde(default = "default_2060")] pub reason: String, } @@ -45525,11 +45527,11 @@ pub struct NamespaceJoinOutput { pub joined: bool, pub namespace: String, pub role: NamespaceJoinOutputRole, - #[serde(default = "default_2060")] - pub status: String, #[serde(default = "default_2061")] - pub requested_role: Option, + pub status: String, #[serde(default = "default_2062")] + pub requested_role: Option, + #[serde(default = "default_2063")] pub pending_admins: Vec, pub joined_at: String, } @@ -45621,7 +45623,7 @@ impl NamespaceJoinInput { pub struct NamespaceLeaveOutput { pub left: bool, pub namespace: String, - #[serde(default = "default_2063")] + #[serde(default = "default_2064")] pub left_at: Option, } @@ -45698,27 +45700,27 @@ pub enum NamespaceEntryVisibility { #[non_exhaustive] pub struct NamespaceEntry { pub namespace: String, - #[serde(default = "default_2064")] + #[serde(default = "default_2065")] pub kind: String, pub owner_email: String, pub description: String, pub tags: Vec, pub active: bool, - #[serde(default = "default_2065")] - pub consolidation_enabled: bool, #[serde(default = "default_2066")] - pub daily_cost_cap_usd: f64, + pub consolidation_enabled: bool, #[serde(default = "default_2067")] - pub daily_user_cost_cap_usd: f64, + pub daily_cost_cap_usd: f64, #[serde(default = "default_2068")] - pub budget_alert_inbox: String, + pub daily_user_cost_cap_usd: f64, #[serde(default = "default_2069")] - pub conflict_threshold: Option, + pub budget_alert_inbox: String, #[serde(default = "default_2070")] - pub retention_days: Integer, + pub conflict_threshold: Option, #[serde(default = "default_2071")] - pub warm_days: Integer, + pub retention_days: Integer, #[serde(default = "default_2072")] + pub warm_days: Integer, + #[serde(default = "default_2073")] pub visibility: NamespaceEntryVisibility, pub created_at: String, pub updated_at: String, @@ -45873,27 +45875,27 @@ pub enum MineEntryVisibility { pub struct MineEntry { pub namespace: String, pub role: String, - #[serde(default = "default_2073")] - pub status: String, #[serde(default = "default_2074")] - pub pending_role: Option, + pub status: String, #[serde(default = "default_2075")] - pub pending_since: Option, + pub pending_role: Option, #[serde(default = "default_2076")] - pub pending_admins: Vec, + pub pending_since: Option, #[serde(default = "default_2077")] - pub visibility: MineEntryVisibility, + pub pending_admins: Vec, #[serde(default = "default_2078")] - pub kind: String, + pub visibility: MineEntryVisibility, #[serde(default = "default_2079")] - pub title: String, + pub kind: String, #[serde(default = "default_2080")] - pub description: String, + pub title: String, #[serde(default = "default_2081")] - pub joined_at: Option, + pub description: String, #[serde(default = "default_2082")] - pub is_new: bool, + pub joined_at: Option, #[serde(default = "default_2083")] + pub is_new: bool, + #[serde(default = "default_2084")] pub inherited: bool, } @@ -45959,7 +45961,7 @@ pub struct OntologyEntry { pub name: String, pub status: String, pub description: String, - #[serde(default = "default_2084")] + #[serde(default = "default_2085")] pub cardinality: String, pub created_by: String, pub updated_at: String, @@ -46152,7 +46154,7 @@ pub struct NamespaceRegisterOutput { pub registered: bool, pub namespace: String, pub updated_at: String, - #[serde(default = "default_2085")] + #[serde(default = "default_2086")] pub visibility: NamespaceRegisterOutputVisibility, } @@ -47232,7 +47234,7 @@ impl NamespaceRegisterOntologyInput { #[non_exhaustive] pub struct NamespaceRestoreOutput { pub restored: bool, - #[serde(default = "default_2086")] + #[serde(default = "default_2087")] pub publication_pending: bool, pub target_namespace: String, pub snapshot_id: String, @@ -48119,15 +48121,15 @@ pub struct NamespaceRollbackOutput { pub version_at: Integer, pub reinstate: Integer, pub remove: Integer, - #[serde(default = "default_2087")] - pub skipped_no_head: Integer, #[serde(default = "default_2088")] - pub skipped_already_gone: Integer, + pub skipped_no_head: Integer, #[serde(default = "default_2089")] - pub truncated: bool, + pub skipped_already_gone: Integer, #[serde(default = "default_2090")] - pub sample: Vec>, + pub truncated: bool, #[serde(default = "default_2091")] + pub sample: Vec>, + #[serde(default = "default_2092")] pub applied_at: Option, } @@ -48306,101 +48308,101 @@ pub struct NamespaceSnapshotOutputSnapshotMemoryRow { pub confidence: f64, pub source_trace: String, pub pinned: bool, - #[serde(default = "default_2092")] - pub expires_at: Option, #[serde(default = "default_2093")] - pub entities: Vec, + pub expires_at: Option, #[serde(default = "default_2094")] - pub version: Integer, + pub entities: Vec, #[serde(default = "default_2095")] - pub content_sha256: String, + pub version: Integer, #[serde(default = "default_2096")] - pub actor: String, + pub content_sha256: String, #[serde(default = "default_2097")] - pub source_class: String, + pub actor: String, #[serde(default = "default_2098")] - pub source_resource_id: String, + pub source_class: String, #[serde(default = "default_2099")] - pub verified_by: String, + pub source_resource_id: String, #[serde(default = "default_2100")] - pub verified_at: Option, + pub verified_by: String, #[serde(default = "default_2101")] - pub verified_sha256: String, + pub verified_at: Option, #[serde(default = "default_2102")] - pub grounding: String, + pub verified_sha256: String, #[serde(default = "default_2103")] - pub evidence: String, + pub grounding: String, #[serde(default = "default_2104")] - pub tags: Vec, + pub evidence: String, #[serde(default = "default_2105")] - pub valid_at: Option, + pub tags: Vec, #[serde(default = "default_2106")] - pub valid_to: Option, + pub valid_at: Option, #[serde(default = "default_2107")] - pub created_at: Option, + pub valid_to: Option, #[serde(default = "default_2108")] - pub updated_at: Option, + pub created_at: Option, #[serde(default = "default_2109")] - pub value_json: String, + pub updated_at: Option, #[serde(default = "default_2110")] - pub status: NamespaceSnapshotOutputSnapshotMemoryRowStatus, + pub value_json: String, #[serde(default = "default_2111")] - pub requires_review: Option, + pub status: NamespaceSnapshotOutputSnapshotMemoryRowStatus, #[serde(default = "default_2112")] - pub conflict_with: Vec, + pub requires_review: Option, #[serde(default = "default_2113")] - pub duplicate_of: String, + pub conflict_with: Vec, #[serde(default = "default_2114")] - pub evidence_count: Integer, + pub duplicate_of: String, #[serde(default = "default_2115")] - pub recall_count: Integer, + pub evidence_count: Integer, #[serde(default = "default_2116")] - pub last_recalled_at: Option, + pub recall_count: Integer, #[serde(default = "default_2117")] - pub cross_promoted_from_memory_id: String, + pub last_recalled_at: Option, #[serde(default = "default_2118")] - pub cross_promoted_from_namespace: String, + pub cross_promoted_from_memory_id: String, #[serde(default = "default_2119")] - pub superseded_by: String, + pub cross_promoted_from_namespace: String, #[serde(default = "default_2120")] - pub rejection_reason: String, + pub superseded_by: String, #[serde(default = "default_2121")] - pub temporal_anchor: Option, + pub rejection_reason: String, #[serde(default = "default_2122")] - pub temporal_confidence: f64, + pub temporal_anchor: Option, #[serde(default = "default_2123")] - pub invalid_at: Option, + pub temporal_confidence: f64, #[serde(default = "default_2124")] - pub char_limit: Option, + pub invalid_at: Option, #[serde(default = "default_2125")] - pub reinforcement_count: Integer, + pub char_limit: Option, #[serde(default = "default_2126")] - pub last_reinforced_at: Option, + pub reinforcement_count: Integer, #[serde(default = "default_2127")] - pub mentioned_at: Option, + pub last_reinforced_at: Option, #[serde(default = "default_2128")] - pub sensitivity: String, + pub mentioned_at: Option, #[serde(default = "default_2129")] - pub redacted_at: Option, + pub sensitivity: String, #[serde(default = "default_2130")] - pub redaction_reason: String, + pub redacted_at: Option, #[serde(default = "default_2131")] - pub lock_mode: String, + pub redaction_reason: String, #[serde(default = "default_2132")] - pub lock_reason: String, + pub lock_mode: String, #[serde(default = "default_2133")] - pub lock_until: Option, + pub lock_reason: String, #[serde(default = "default_2134")] - pub locked_by: String, + pub lock_until: Option, #[serde(default = "default_2135")] - pub locked_at: Option, + pub locked_by: String, #[serde(default = "default_2136")] - pub on_expire: String, + pub locked_at: Option, #[serde(default = "default_2137")] - pub expire_reason: String, + pub on_expire: String, #[serde(default = "default_2138")] - pub files: Vec, + pub expire_reason: String, #[serde(default = "default_2139")] + pub files: Vec, + #[serde(default = "default_2140")] pub concepts: Vec, } @@ -48409,11 +48411,11 @@ pub struct NamespaceSnapshotOutputSnapshotMemoryRow { pub struct NamespaceSnapshotOutputSnapshotTypeRow { pub memory_type: String, pub retention_days: Integer, - #[serde(default = "default_2140")] - pub dedup_threshold: Option, #[serde(default = "default_2141")] - pub hot_quota: Integer, + pub dedup_threshold: Option, #[serde(default = "default_2142")] + pub hot_quota: Integer, + #[serde(default = "default_2143")] pub conflict_policy: String, } @@ -48628,7 +48630,7 @@ pub struct TaxonomyCommunity { pub community_id: Integer, pub label: String, pub size: Integer, - #[serde(default = "default_2143")] + #[serde(default = "default_2144")] pub top_entities: Vec, } @@ -48639,9 +48641,9 @@ pub struct NamespaceTaxonomyOutput { pub entities: Vec, pub memory_count: Integer, pub memory_types: Vec, - #[serde(default = "default_2144")] - pub communities: Vec, #[serde(default = "default_2145")] + pub communities: Vec, + #[serde(default = "default_2146")] pub communities_computed_at: String, } @@ -48741,15 +48743,15 @@ pub enum TuneProposalTarget { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct TuneEvidence { - #[serde(default = "default_2147")] - pub finding_codes: Vec, #[serde(default = "default_2148")] - pub supporting_count: Integer, + pub finding_codes: Vec, #[serde(default = "default_2149")] - pub supporting: Vec, + pub supporting_count: Integer, #[serde(default = "default_2150")] - pub counter_count: Option, + pub supporting: Vec, #[serde(default = "default_2151")] + pub counter_count: Option, + #[serde(default = "default_2152")] pub documents: Vec, } @@ -48775,10 +48777,10 @@ pub enum TuneApplyVia { #[non_exhaustive] pub struct TuneApply { pub op: String, - #[serde(default = "default_2155")] + #[serde(default = "default_2156")] pub via: TuneApplyVia, pub args: std::collections::HashMap, - #[serde(default = "default_2156")] + #[serde(default = "default_2157")] pub args_complete: bool, pub required_role: String, pub guard: String, @@ -48797,7 +48799,7 @@ pub struct ChunkStats { pub sections: Integer, pub sections_cut: Integer, pub max_input_tokens: Integer, - #[serde(default = "default_2158")] + #[serde(default = "default_2159")] pub over_input_limit: Option, } @@ -48817,25 +48819,25 @@ pub struct TuneProposal { pub title: String, pub rationale: String, pub current: String, - #[serde(default = "default_2146")] + #[serde(default = "default_2147")] pub current_revision: Option, pub proposed: String, pub evidence: TuneEvidence, - #[serde(default = "default_2152")] - pub affected_agents: Vec, #[serde(default = "default_2153")] - pub affected_agents_total: Option, + pub affected_agents: Vec, #[serde(default = "default_2154")] + pub affected_agents_total: Option, + #[serde(default = "default_2155")] pub effect: TuneProposalEffect, pub historical: String, pub apply: TuneApply, - #[serde(default = "default_2157")] + #[serde(default = "default_2158")] pub apply_also: Vec, - #[serde(default = "default_2159")] - pub preview: Option, #[serde(default = "default_2160")] - pub limits: String, + pub preview: Option, #[serde(default = "default_2161")] + pub limits: String, + #[serde(default = "default_2162")] pub refs: Vec, } @@ -48843,13 +48845,13 @@ pub struct TuneProposal { #[non_exhaustive] pub struct ChunkingSample { pub cap: Integer, - #[serde(default = "default_2167")] + #[serde(default = "default_2168")] pub population: Option, pub documents: Integer, pub unread: Integer, pub load_cap: Integer, pub embedder_model: String, - #[serde(default = "default_2168")] + #[serde(default = "default_2169")] pub input_token_limit: Option, pub current: ChunkStats, } @@ -48860,21 +48862,21 @@ pub struct NamespaceTuneOutput { pub org: String, pub namespace: String, pub computed_at: String, - #[serde(default = "default_2162")] - pub proposals: Vec, #[serde(default = "default_2163")] - pub guide_revision: Option, + pub proposals: Vec, #[serde(default = "default_2164")] - pub categories_registered: Option, + pub guide_revision: Option, #[serde(default = "default_2165")] - pub extraction_policy: Option, + pub categories_registered: Option, #[serde(default = "default_2166")] + pub extraction_policy: Option, + #[serde(default = "default_2167")] pub extraction_policy_unavailable: String, - #[serde(default = "default_2169")] - pub chunking: Option, #[serde(default = "default_2170")] - pub skipped: Vec, + pub chunking: Option, #[serde(default = "default_2171")] + pub skipped: Vec, + #[serde(default = "default_2172")] pub model_used: bool, } @@ -48995,25 +48997,25 @@ pub struct NamespaceValidateFinding { pub kind: NamespaceValidateFindingKind, pub rule_version: Integer, pub source_op: String, - #[serde(default = "default_2172")] - pub window_seconds: Option, #[serde(default = "default_2173")] + pub window_seconds: Option, + #[serde(default = "default_2174")] pub population: Option, pub sample_limit: Integer, pub samples_complete: bool, - #[serde(default = "default_2174")] - pub evidence: Vec, #[serde(default = "default_2175")] - pub exceptions: String, + pub evidence: Vec, #[serde(default = "default_2176")] + pub exceptions: String, + #[serde(default = "default_2177")] pub uncertainty: String, pub check: String, pub severity: NamespaceValidateFindingSeverity, pub count: Integer, - #[serde(default = "default_2177")] + #[serde(default = "default_2178")] pub samples: Vec>, pub detail: String, - #[serde(default = "default_2178")] + #[serde(default = "default_2179")] pub totals: std::collections::HashMap, } @@ -49027,9 +49029,9 @@ pub struct NamespaceValidateOutput { pub warnings: Integer, pub infos: Integer, pub findings: Vec, - #[serde(default = "default_2179")] - pub skipped: Vec, #[serde(default = "default_2180")] + pub skipped: Vec, + #[serde(default = "default_2181")] pub keys_scoped: Integer, pub coverage: ReportCoverage, pub checked_at: String, @@ -49149,9 +49151,9 @@ impl NamespaceValidateInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct ObserveCrystallizeOutput { - #[serde(default = "default_2181")] - pub enqueued: Integer, #[serde(default = "default_2182")] + pub enqueued: Integer, + #[serde(default = "default_2183")] pub session_id: String, } @@ -49248,23 +49250,23 @@ impl ObserveCrystallizeInput { #[non_exhaustive] pub struct ObserveRecordOutput { pub memory_key: String, - #[serde(default = "default_2183")] - pub memory_id: String, #[serde(default = "default_2184")] - pub kind: String, + pub memory_id: String, #[serde(default = "default_2185")] - pub tags: Vec, + pub kind: String, #[serde(default = "default_2186")] - pub file_paths: Vec, + pub tags: Vec, #[serde(default = "default_2187")] - pub content_sha256: String, + pub file_paths: Vec, #[serde(default = "default_2188")] - pub tool_name: String, + pub content_sha256: String, #[serde(default = "default_2189")] - pub has_error: bool, + pub tool_name: String, #[serde(default = "default_2190")] - pub narrative_chars: Integer, + pub has_error: bool, #[serde(default = "default_2191")] + pub narrative_chars: Integer, + #[serde(default = "default_2192")] pub skipped_reason: String, } @@ -49463,26 +49465,26 @@ pub struct ProjectionFailureRow { pub failure_id: String, pub org: String, pub namespace: String, - #[serde(default = "default_2192")] + #[serde(default = "default_2193")] pub agent: String, pub projection: String, - #[serde(default = "default_2193")] - pub source_operation: String, #[serde(default = "default_2194")] - pub source_resource_id: String, + pub source_operation: String, #[serde(default = "default_2195")] - pub memory_keys: Vec, + pub source_resource_id: String, #[serde(default = "default_2196")] - pub error_type: String, + pub memory_keys: Vec, #[serde(default = "default_2197")] - pub error_message: String, + pub error_type: String, #[serde(default = "default_2198")] - pub payload: std::collections::HashMap, + pub error_message: String, #[serde(default = "default_2199")] - pub status: String, + pub payload: std::collections::HashMap, #[serde(default = "default_2200")] - pub created_at: Option, + pub status: String, #[serde(default = "default_2201")] + pub created_at: Option, + #[serde(default = "default_2202")] pub resolved_at: Option, } @@ -49636,22 +49638,22 @@ pub struct ProjectionFailureRetryRow { pub projection: String, pub retried: bool, pub resolved: bool, - #[serde(default = "default_2202")] - pub abandoned: bool, #[serde(default = "default_2203")] - pub reason: String, + pub abandoned: bool, #[serde(default = "default_2204")] + pub reason: String, + #[serde(default = "default_2205")] pub error: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct ProjectionFailureRetryOutput { - #[serde(default = "default_2205")] + #[serde(default = "default_2206")] pub results: Vec, pub retried: Integer, pub resolved: Integer, - #[serde(default = "default_2206")] + #[serde(default = "default_2207")] pub abandoned: Integer, } @@ -49733,15 +49735,15 @@ impl ProjectionFailureRetryInput { pub struct OrgModelCallsOutput { pub org: String, pub enabled: bool, - #[serde(default = "default_2207")] - pub reason: String, #[serde(default = "default_2208")] - pub updated_by: String, + pub reason: String, #[serde(default = "default_2209")] - pub updated_at: Option, + pub updated_by: String, #[serde(default = "default_2210")] - pub locked: bool, + pub updated_at: Option, #[serde(default = "default_2211")] + pub locked: bool, + #[serde(default = "default_2212")] pub locked_by: String, } @@ -50080,7 +50082,7 @@ impl PolicyDecisionsInput { #[non_exhaustive] pub struct PolicyDeleteOutput { pub removed: bool, - #[serde(default = "default_2212")] + #[serde(default = "default_2213")] pub widening: bool, } @@ -50146,12 +50148,12 @@ pub struct PolicyRuleOut { pub condition: std::collections::HashMap, pub description: String, pub enabled: bool, - #[serde(default = "default_2213")] + #[serde(default = "default_2214")] pub mode: String, pub created_by: String, - #[serde(default = "default_2214")] - pub created_at: Option, #[serde(default = "default_2215")] + pub created_at: Option, + #[serde(default = "default_2216")] pub updated_at: Option, } @@ -50223,9 +50225,9 @@ impl PolicyListInput { pub struct PolicySetOutput { pub rule: PolicyRuleOut, pub leaf_count: Integer, - #[serde(default = "default_2216")] - pub widening: bool, #[serde(default = "default_2217")] + pub widening: bool, + #[serde(default = "default_2218")] pub change: Vec, } @@ -50495,37 +50497,37 @@ pub struct ProcedureEvolveOutput { pub revision: Integer, pub changed: bool, pub template: bool, - #[serde(default = "default_2218")] - pub folded_runs: Integer, #[serde(default = "default_2219")] - pub gate: ProcedureEvolveOutputGate, + pub folded_runs: Integer, #[serde(default = "default_2220")] - pub gate_mode: String, + pub gate: ProcedureEvolveOutputGate, #[serde(default = "default_2221")] - pub gate_llr: f64, + pub gate_mode: String, #[serde(default = "default_2222")] - pub gate_before: std::collections::HashMap, + pub gate_llr: f64, #[serde(default = "default_2223")] - pub gate_after: std::collections::HashMap, + pub gate_before: std::collections::HashMap, #[serde(default = "default_2224")] - pub gate_cost_before: std::collections::HashMap, + pub gate_after: std::collections::HashMap, #[serde(default = "default_2225")] - pub gate_cost_after: std::collections::HashMap, + pub gate_cost_before: std::collections::HashMap, #[serde(default = "default_2226")] - pub gate_reason: String, + pub gate_cost_after: std::collections::HashMap, #[serde(default = "default_2227")] - pub dead_end_steps: Vec, + pub gate_reason: String, #[serde(default = "default_2228")] - pub fail_prone_steps: Vec, + pub dead_end_steps: Vec, #[serde(default = "default_2229")] - pub fail_prone_transitions: Vec, + pub fail_prone_steps: Vec, #[serde(default = "default_2230")] - pub run_stats: std::collections::HashMap, + pub fail_prone_transitions: Vec, #[serde(default = "default_2231")] - pub strikes: Integer, + pub run_stats: std::collections::HashMap, #[serde(default = "default_2232")] - pub quarantined: bool, + pub strikes: Integer, #[serde(default = "default_2233")] + pub quarantined: bool, + #[serde(default = "default_2234")] pub retention: std::collections::HashMap, } @@ -50748,9 +50750,9 @@ pub struct ProcedureForkOutput { pub memory_key: String, pub version: Integer, pub name: String, - #[serde(default = "default_2234")] - pub steps: Vec, #[serde(default = "default_2235")] + pub steps: Vec, + #[serde(default = "default_2236")] pub forked_from: std::collections::HashMap, } @@ -51010,32 +51012,32 @@ pub enum ProcedureLocateOutputStatus { #[non_exhaustive] pub struct ProcedureLocateOutput { pub memory_key: String, - #[serde(default = "default_2236")] - pub name: String, #[serde(default = "default_2237")] + pub name: String, + #[serde(default = "default_2238")] pub status: ProcedureLocateOutputStatus, pub matched: bool, - #[serde(default = "default_2238")] - pub active: Option>, #[serde(default = "default_2239")] - pub hops: Vec>>, + pub active: Option>, #[serde(default = "default_2240")] - pub entry_nodes: Vec, + pub hops: Vec>>, #[serde(default = "default_2241")] - pub dominant_next: Vec, + pub entry_nodes: Vec, #[serde(default = "default_2242")] - pub revisits: std::collections::HashMap, + pub dominant_next: Vec, #[serde(default = "default_2243")] - pub looping: bool, + pub revisits: std::collections::HashMap, #[serde(default = "default_2244")] - pub exits: Vec, + pub looping: bool, #[serde(default = "default_2245")] - pub failure_notes: Vec>, + pub exits: Vec, #[serde(default = "default_2246")] - pub rendered: String, + pub failure_notes: Vec>, #[serde(default = "default_2247")] - pub run_stats: std::collections::HashMap, + pub rendered: String, #[serde(default = "default_2248")] + pub run_stats: std::collections::HashMap, + #[serde(default = "default_2249")] pub for_agent: std::collections::HashMap, } @@ -51190,43 +51192,43 @@ pub struct ProcedureMatch { pub name: String, pub situation: String, pub steps: Vec, - #[serde(default = "default_2249")] - pub tags: Vec, #[serde(default = "default_2250")] + pub tags: Vec, + #[serde(default = "default_2251")] pub metadata: std::collections::HashMap, pub similarity: f64, pub memory_key: String, pub namespace: String, - #[serde(default = "default_2251")] - pub graph: Option>, #[serde(default = "default_2252")] - pub template: bool, + pub graph: Option>, #[serde(default = "default_2253")] - pub run_stats: std::collections::HashMap, + pub template: bool, #[serde(default = "default_2254")] - pub status: ProcedureMatchStatus, + pub run_stats: std::collections::HashMap, #[serde(default = "default_2255")] - pub quarantined: Option>, + pub status: ProcedureMatchStatus, #[serde(default = "default_2256")] - pub fail_prone_steps: Vec, + pub quarantined: Option>, #[serde(default = "default_2257")] - pub revision: Integer, + pub fail_prone_steps: Vec, #[serde(default = "default_2258")] - pub rejected_revisions: Vec>, + pub revision: Integer, #[serde(default = "default_2259")] - pub tool_overlap: f64, + pub rejected_revisions: Vec>, #[serde(default = "default_2260")] - pub score: f64, + pub tool_overlap: f64, #[serde(default = "default_2261")] - pub utility: f64, + pub score: f64, #[serde(default = "default_2262")] - pub goal_similarity: Option, + pub utility: f64, #[serde(default = "default_2263")] - pub for_agent: std::collections::HashMap, + pub goal_similarity: Option, #[serde(default = "default_2264")] + pub for_agent: std::collections::HashMap, + #[serde(default = "default_2265")] pub run_stats_by_agent: std::collections::HashMap>, - #[serde(default = "default_2265")] + #[serde(default = "default_2266")] pub actor: String, } @@ -51234,11 +51236,11 @@ pub struct ProcedureMatch { #[non_exhaustive] pub struct ProcedureMatchOutput { pub matches: Vec, - #[serde(default = "default_2266")] - pub matched: Integer, #[serde(default = "default_2267")] - pub procedure_key: String, + pub matched: Integer, #[serde(default = "default_2268")] + pub procedure_key: String, + #[serde(default = "default_2269")] pub score: f64, } @@ -51619,7 +51621,7 @@ pub struct ProcedureReviseOutput { pub revision: Integer, pub prior_revision: Integer, pub digest: String, - #[serde(default = "default_2269")] + #[serde(default = "default_2270")] pub steps: Vec, } @@ -51731,14 +51733,14 @@ pub struct ProfileActivityEntry { pub agent: String, pub last_activated_at: String, pub event_count: Integer, - #[serde(default = "default_2270")] + #[serde(default = "default_2271")] pub operations: Vec, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct ProfileActivityOutput { - #[serde(default = "default_2271")] + #[serde(default = "default_2272")] pub entries: Vec, } @@ -51846,17 +51848,17 @@ impl ProfileActivityInput { #[non_exhaustive] pub struct ProfileMutationOutput { pub version: Integer, - #[serde(default = "default_2272")] - pub memory_id: String, #[serde(default = "default_2273")] - pub content_sha256: String, + pub memory_id: String, #[serde(default = "default_2274")] - pub namespace: String, + pub content_sha256: String, #[serde(default = "default_2275")] - pub label: String, + pub namespace: String, #[serde(default = "default_2276")] - pub char_limit: Option, + pub label: String, #[serde(default = "default_2277")] + pub char_limit: Option, + #[serde(default = "default_2278")] pub value_length: Integer, } @@ -51965,7 +51967,7 @@ pub struct ProfileRenderOutput { pub rendered: String, pub section_count: Integer, pub total_chars: Integer, - #[serde(default = "default_2278")] + #[serde(default = "default_2279")] pub labels: Vec, } @@ -52350,17 +52352,17 @@ pub enum ProfileStructuredOutputStatus { #[non_exhaustive] pub struct ProfileStructuredOutput { pub status: ProfileStructuredOutputStatus, - #[serde(default = "default_2279")] - pub profile: std::collections::HashMap, #[serde(default = "default_2280")] - pub built_at: Option, + pub profile: std::collections::HashMap, #[serde(default = "default_2281")] - pub memory_id: String, + pub built_at: Option, #[serde(default = "default_2282")] - pub version: Integer, + pub memory_id: String, #[serde(default = "default_2283")] - pub version_text: String, + pub version: Integer, #[serde(default = "default_2284")] + pub version_text: String, + #[serde(default = "default_2285")] pub schema_sha256: String, } @@ -52477,13 +52479,13 @@ impl ProfileStructuredInput { #[non_exhaustive] pub struct ProfileSchemaOutput { pub found: bool, - #[serde(default = "default_2285")] - pub json_schema: std::collections::HashMap, #[serde(default = "default_2286")] - pub schema_sha256: String, + pub json_schema: std::collections::HashMap, #[serde(default = "default_2287")] - pub updated_by: String, + pub schema_sha256: String, #[serde(default = "default_2288")] + pub updated_by: String, + #[serde(default = "default_2289")] pub updated_at: Option, } @@ -52636,10 +52638,10 @@ pub enum RunBeginOutputStatus { #[non_exhaustive] pub struct RunBeginOutput { pub run_id: String, - #[serde(default = "default_2289")] + #[serde(default = "default_2290")] pub status: RunBeginOutputStatus, pub started_at: String, - #[serde(default = "default_2290")] + #[serde(default = "default_2291")] pub next: String, } @@ -52847,29 +52849,29 @@ pub struct RunCompleteOutput { pub run_id: String, pub status: RunCompleteOutputStatus, pub duration_ms: Integer, - #[serde(default = "default_2291")] - pub used_applied: Integer, #[serde(default = "default_2292")] - pub evidence_applied: Integer, + pub used_applied: Integer, #[serde(default = "default_2293")] - pub harm_applied: Integer, + pub evidence_applied: Integer, #[serde(default = "default_2294")] - pub memories_written: Vec, + pub harm_applied: Integer, #[serde(default = "default_2295")] - pub recalled: Integer, + pub memories_written: Vec, #[serde(default = "default_2296")] - pub observations: Integer, + pub recalled: Integer, #[serde(default = "default_2297")] - pub procedure_runs_recorded: Integer, + pub observations: Integer, #[serde(default = "default_2298")] - pub reflection_key: String, + pub procedure_runs_recorded: Integer, #[serde(default = "default_2299")] - pub retain: String, + pub reflection_key: String, #[serde(default = "default_2300")] - pub retained: Integer, + pub retain: String, #[serde(default = "default_2301")] - pub demoted: Integer, + pub retained: Integer, #[serde(default = "default_2302")] + pub demoted: Integer, + #[serde(default = "default_2303")] pub expiring: Integer, } @@ -53390,25 +53392,25 @@ pub enum RunGetOutputOverBudgetItem { #[non_exhaustive] pub struct RunGetOutput { pub found: bool, - #[serde(default = "default_2303")] - pub run: Option, #[serde(default = "default_2304")] - pub recalled: Integer, + pub run: Option, #[serde(default = "default_2305")] - pub recalled_keys: Vec, + pub recalled: Integer, #[serde(default = "default_2306")] - pub memories_written: Vec, + pub recalled_keys: Vec, #[serde(default = "default_2307")] - pub observations: Integer, + pub memories_written: Vec, #[serde(default = "default_2308")] - pub turns: Integer, + pub observations: Integer, #[serde(default = "default_2309")] - pub unpriced_turns: Integer, + pub turns: Integer, #[serde(default = "default_2310")] - pub cost_usd: f64, + pub unpriced_turns: Integer, #[serde(default = "default_2311")] - pub elapsed_seconds: Integer, + pub cost_usd: f64, #[serde(default = "default_2312")] + pub elapsed_seconds: Integer, + #[serde(default = "default_2313")] pub over_budget: Vec, } @@ -53475,17 +53477,17 @@ pub struct RunGradeProposal { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct RunGradeOutput { - #[serde(default = "default_2313")] - pub graded: Integer, #[serde(default = "default_2314")] - pub run_ids: Vec, + pub graded: Integer, #[serde(default = "default_2315")] - pub skipped_active: Integer, + pub run_ids: Vec, #[serde(default = "default_2316")] - pub unchanged: Integer, + pub skipped_active: Integer, #[serde(default = "default_2317")] - pub memories_counted: Integer, + pub unchanged: Integer, #[serde(default = "default_2318")] + pub memories_counted: Integer, + #[serde(default = "default_2319")] pub proposals_decided: Vec, } @@ -53600,7 +53602,7 @@ impl RunGradeInput { #[non_exhaustive] pub struct RunListOutput { pub runs: Vec, - #[serde(default = "default_2319")] + #[serde(default = "default_2320")] pub total: Option, } @@ -53877,39 +53879,39 @@ pub struct LiveSearchHit { pub title: String, pub url: String, pub provider: LiveSearchHitProvider, - #[serde(default = "default_2322")] - pub content: String, #[serde(default = "default_2323")] + pub content: String, + #[serde(default = "default_2324")] pub live: LiveSearchHitLive, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct LiveSearchResults { - #[serde(default = "default_2321")] + #[serde(default = "default_2322")] pub live: LiveSearchResultsLive, - #[serde(default = "default_2324")] + #[serde(default = "default_2325")] pub results: Vec, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct SearchOutput { - #[serde(default = "default_2320")] + #[serde(default = "default_2321")] pub tracker: Option>, - #[serde(default = "default_2325")] - pub live: Option, #[serde(default = "default_2326")] - pub memory: std::collections::HashMap, + pub live: Option, #[serde(default = "default_2327")] - pub knowledge: std::collections::HashMap, + pub memory: std::collections::HashMap, #[serde(default = "default_2328")] - pub profile: std::collections::HashMap, + pub knowledge: std::collections::HashMap, #[serde(default = "default_2329")] - pub conversations: std::collections::HashMap, + pub profile: std::collections::HashMap, #[serde(default = "default_2330")] - pub withheld: Option>, + pub conversations: std::collections::HashMap, #[serde(default = "default_2331")] + pub withheld: Option>, + #[serde(default = "default_2332")] pub namespaces_skipped: Vec, } @@ -54102,7 +54104,7 @@ impl SearchInput { pub struct SessionBriefDeleteOutput { pub deleted: bool, pub brief_key: String, - #[serde(default = "default_2332")] + #[serde(default = "default_2333")] pub revision: Integer, } @@ -54195,67 +54197,67 @@ impl SessionBriefDeleteInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct BriefDecision { - #[serde(default = "default_2341")] - pub what: String, #[serde(default = "default_2342")] + pub what: String, + #[serde(default = "default_2343")] pub why: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct BriefDeadEnd { - #[serde(default = "default_2344")] - pub tried: String, #[serde(default = "default_2345")] + pub tried: String, + #[serde(default = "default_2346")] pub why_not: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct BriefDone { - #[serde(default = "default_2347")] + #[serde(default = "default_2348")] pub what: String, - #[serde(rename = "ref", default = "default_2348")] + #[serde(rename = "ref", default = "default_2349")] pub r#ref: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct BriefFile { - #[serde(default = "default_2352")] - pub path: String, #[serde(default = "default_2353")] + pub path: String, + #[serde(default = "default_2354")] pub role: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct BriefSections { - #[serde(default = "default_2338")] - pub goal: String, #[serde(default = "default_2339")] - pub status: String, + pub goal: String, #[serde(default = "default_2340")] + pub status: String, + #[serde(default = "default_2341")] pub verification: String, - #[serde(default = "default_2343")] + #[serde(default = "default_2344")] pub decisions: Vec, - #[serde(default = "default_2346")] + #[serde(default = "default_2347")] pub dead_ends: Vec, - #[serde(default = "default_2349")] - pub done: Vec, #[serde(default = "default_2350")] - pub open_questions: Vec, + pub done: Vec, #[serde(default = "default_2351")] + pub open_questions: Vec, + #[serde(default = "default_2352")] pub next_steps: Vec, - #[serde(default = "default_2354")] - pub files: Vec, #[serde(default = "default_2355")] - pub constraints: Vec, + pub files: Vec, #[serde(default = "default_2356")] - pub pointers: Vec, + pub constraints: Vec, #[serde(default = "default_2357")] - pub client_summary: String, + pub pointers: Vec, #[serde(default = "default_2358")] + pub client_summary: String, + #[serde(default = "default_2359")] pub client_summary_at: String, } @@ -54263,45 +54265,45 @@ pub struct BriefSections { #[non_exhaustive] pub struct SessionBriefGetOutput { pub found: bool, - #[serde(default = "default_2333")] - pub brief_key: String, #[serde(default = "default_2334")] - pub revision: Integer, + pub brief_key: String, #[serde(default = "default_2335")] - pub snapshot_id: String, + pub revision: Integer, #[serde(default = "default_2336")] - pub snapshot_key: String, + pub snapshot_id: String, #[serde(default = "default_2337")] + pub snapshot_key: String, + #[serde(default = "default_2338")] pub rendered: String, - #[serde(default = "default_2359")] - pub sections: Option, #[serde(default = "default_2360")] - pub project: String, + pub sections: Option, #[serde(default = "default_2361")] - pub branch: String, + pub project: String, #[serde(default = "default_2362")] - pub head_sha: String, + pub branch: String, #[serde(default = "default_2363")] - pub author: String, + pub head_sha: String, #[serde(default = "default_2364")] - pub trigger: String, + pub author: String, #[serde(default = "default_2365")] - pub actor: String, + pub trigger: String, #[serde(default = "default_2366")] - pub source_sessions: Vec, + pub actor: String, #[serde(default = "default_2367")] - pub updated_at: Option, + pub source_sessions: Vec, #[serde(default = "default_2368")] - pub age_seconds: Integer, + pub updated_at: Option, #[serde(default = "default_2369")] - pub revisions: Integer, + pub age_seconds: Integer, #[serde(default = "default_2370")] - pub events_total: Integer, + pub revisions: Integer, #[serde(default = "default_2371")] - pub source_chars: Integer, + pub events_total: Integer, #[serde(default = "default_2372")] - pub brief_chars: Integer, + pub source_chars: Integer, #[serde(default = "default_2373")] + pub brief_chars: Integer, + #[serde(default = "default_2374")] pub deleted: bool, } @@ -54476,34 +54478,34 @@ impl SessionBriefGetInput { pub struct SessionBriefSummary { pub brief_key: String, pub revision: Integer, - #[serde(default = "default_2374")] - pub project: String, #[serde(default = "default_2375")] - pub branch: String, + pub project: String, #[serde(default = "default_2376")] - pub agent: String, + pub branch: String, #[serde(default = "default_2377")] - pub goal: String, + pub agent: String, #[serde(default = "default_2378")] - pub status: String, + pub goal: String, #[serde(default = "default_2379")] - pub author: String, + pub status: String, #[serde(default = "default_2380")] - pub actor: String, + pub author: String, #[serde(default = "default_2381")] - pub updated_at: Option, + pub actor: String, #[serde(default = "default_2382")] - pub age_seconds: Integer, + pub updated_at: Option, #[serde(default = "default_2383")] + pub age_seconds: Integer, + #[serde(default = "default_2384")] pub brief_chars: Integer, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct SessionBriefListOutput { - #[serde(default = "default_2384")] - pub briefs: Vec, #[serde(default = "default_2385")] + pub briefs: Vec, + #[serde(default = "default_2386")] pub rendered: String, } @@ -54643,25 +54645,25 @@ impl SessionBriefListInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct SessionBriefStats { - #[serde(default = "default_2389")] - pub events_in: Integer, #[serde(default = "default_2390")] - pub windows: Integer, + pub events_in: Integer, #[serde(default = "default_2391")] - pub events_total: Integer, + pub windows: Integer, #[serde(default = "default_2392")] - pub source_chars: Integer, + pub events_total: Integer, #[serde(default = "default_2393")] - pub brief_chars: Integer, + pub source_chars: Integer, #[serde(default = "default_2394")] - pub compression_ratio: f64, + pub brief_chars: Integer, #[serde(default = "default_2395")] - pub dropped_ungrounded: Integer, + pub compression_ratio: f64, #[serde(default = "default_2396")] - pub tokens_in: Integer, + pub dropped_ungrounded: Integer, #[serde(default = "default_2397")] - pub tokens_out: Integer, + pub tokens_in: Integer, #[serde(default = "default_2398")] + pub tokens_out: Integer, + #[serde(default = "default_2399")] pub llm_model: String, } @@ -54671,13 +54673,13 @@ pub struct SessionBriefSaveOutput { pub brief_key: String, pub revision: Integer, pub changed: bool, - #[serde(default = "default_2386")] - pub author: String, #[serde(default = "default_2387")] - pub reason: String, + pub author: String, #[serde(default = "default_2388")] + pub reason: String, + #[serde(default = "default_2389")] pub rendered: String, - #[serde(default = "default_2399")] + #[serde(default = "default_2400")] pub stats: SessionBriefStats, } @@ -55422,39 +55424,39 @@ pub struct TaskPayload { pub priority: Integer, pub disclosure: TaskPayloadDisclosure, pub status: TaskPayloadStatus, - #[serde(default = "default_2400")] - pub reason: String, #[serde(default = "default_2401")] - pub blocked_on: String, + pub reason: String, #[serde(default = "default_2402")] - pub not_before: Option, + pub blocked_on: String, #[serde(default = "default_2403")] - pub resume_at: Option, + pub not_before: Option, #[serde(default = "default_2404")] - pub deadline: Option, + pub resume_at: Option, #[serde(default = "default_2405")] + pub deadline: Option, + #[serde(default = "default_2406")] pub defer_count: Integer, pub title: String, - #[serde(default = "default_2406")] + #[serde(default = "default_2407")] pub brief: std::collections::HashMap, pub from_agent: String, - #[serde(default = "default_2407")] - pub from_subject: String, #[serde(default = "default_2408")] - pub origin: String, + pub from_subject: String, #[serde(default = "default_2409")] - pub parent_task_id: Option, + pub origin: String, #[serde(default = "default_2410")] - pub owner: String, + pub parent_task_id: Option, #[serde(default = "default_2411")] - pub attempt: Integer, + pub owner: String, #[serde(default = "default_2412")] - pub fence: Integer, + pub attempt: Integer, #[serde(default = "default_2413")] - pub lease_until: Option, + pub fence: Integer, #[serde(default = "default_2414")] - pub outcome: std::collections::HashMap, + pub lease_until: Option, #[serde(default = "default_2415")] + pub outcome: std::collections::HashMap, + #[serde(default = "default_2416")] pub last_actor: String, pub created_at: String, pub updated_at: String, @@ -55465,7 +55467,7 @@ pub struct TaskPayload { #[non_exhaustive] pub struct TaskOutput { pub task: TaskPayload, - #[serde(default = "default_2416")] + #[serde(default = "default_2417")] pub seq: Integer, } @@ -55866,10 +55868,10 @@ impl TaskCompleteInput { pub struct InboxCount { pub inbox: String, pub status: String, - #[serde(default = "default_2417")] + #[serde(default = "default_2418")] pub blocked_on: String, pub n: Integer, - #[serde(default = "default_2418")] + #[serde(default = "default_2419")] pub oldest: Option, } @@ -55956,7 +55958,7 @@ pub struct TaskCreateOutput { pub task: TaskPayload, pub created: bool, pub seq: Integer, - #[serde(default = "default_2419")] + #[serde(default = "default_2420")] pub next: String, } @@ -56295,7 +56297,7 @@ impl TaskFailInput { #[non_exhaustive] pub struct TaskGetOutput { pub found: bool, - #[serde(default = "default_2420")] + #[serde(default = "default_2421")] pub task: Option, } @@ -56429,23 +56431,23 @@ pub struct TaskEventPayload { pub task_id: String, pub inbox: String, pub event: String, - #[serde(default = "default_2421")] - pub from_status: String, #[serde(default = "default_2422")] - pub to_status: String, + pub from_status: String, #[serde(default = "default_2423")] - pub actor: String, + pub to_status: String, #[serde(default = "default_2424")] - pub agent: String, + pub actor: String, #[serde(default = "default_2425")] - pub fence: Integer, + pub agent: String, #[serde(default = "default_2426")] - pub version: Integer, + pub fence: Integer, #[serde(default = "default_2427")] - pub reason: String, + pub version: Integer, #[serde(default = "default_2428")] - pub patch: std::collections::HashMap, + pub reason: String, #[serde(default = "default_2429")] + pub patch: std::collections::HashMap, + #[serde(default = "default_2430")] pub note: String, pub ts: String, } @@ -56785,7 +56787,7 @@ pub struct TaskPullOutput { pub tasks: Vec, pub waited_ms: Integer, pub backend: String, - #[serde(default = "default_2430")] + #[serde(default = "default_2431")] pub note: String, } @@ -57181,7 +57183,7 @@ impl TaskUnblockInput { pub struct TaskUpdateOutput { pub task: TaskPayload, pub seq: Integer, - #[serde(default = "default_2431")] + #[serde(default = "default_2432")] pub conflict: bool, } @@ -57544,19 +57546,19 @@ impl TaskReasonInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct TrackerAnswerOutput { - #[serde(default = "default_2432")] - pub intent: String, #[serde(default = "default_2433")] - pub anchors: std::collections::HashMap, + pub intent: String, #[serde(default = "default_2434")] - pub sections: Vec>, + pub anchors: std::collections::HashMap, #[serde(default = "default_2435")] - pub searched: Vec, + pub sections: Vec>, #[serde(default = "default_2436")] - pub lines: Vec, + pub searched: Vec, #[serde(default = "default_2437")] - pub restricted: bool, + pub lines: Vec, #[serde(default = "default_2438")] + pub restricted: bool, + #[serde(default = "default_2439")] pub verdict: String, } @@ -57652,17 +57654,17 @@ impl TrackerAnswerInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct TrackerBindingOutput { - #[serde(default = "default_2439")] - pub tracker_namespace: String, #[serde(default = "default_2440")] - pub tracker_namespaces: Vec, + pub tracker_namespace: String, #[serde(default = "default_2441")] - pub restricted: bool, + pub tracker_namespaces: Vec, #[serde(default = "default_2442")] - pub kind: String, + pub restricted: bool, #[serde(default = "default_2443")] - pub authorized: bool, + pub kind: String, #[serde(default = "default_2444")] + pub authorized: bool, + #[serde(default = "default_2445")] pub templates: Vec, } @@ -57715,13 +57717,13 @@ impl TrackerBindingInput { #[non_exhaustive] pub struct TrackerComponentOutput { pub component: String, - #[serde(default = "default_2445")] - pub risk: std::collections::HashMap, #[serde(default = "default_2446")] - pub open_issues: Vec>, + pub risk: std::collections::HashMap, #[serde(default = "default_2447")] - pub known: bool, + pub open_issues: Vec>, #[serde(default = "default_2448")] + pub known: bool, + #[serde(default = "default_2449")] pub tracker_unavailable: bool, } @@ -57782,9 +57784,9 @@ impl TrackerComponentInput { #[non_exhaustive] pub struct TrackerContractOutput { pub database: String, - #[serde(default = "default_2449")] - pub tables: Vec>, #[serde(default = "default_2450")] + pub tables: Vec>, + #[serde(default = "default_2451")] pub templates: std::collections::HashMap, } @@ -57837,66 +57839,66 @@ impl TrackerContractInput { #[non_exhaustive] pub struct TrackerLegStatus { pub name: String, - #[serde(default = "default_2461")] - pub status: String, #[serde(default = "default_2462")] - pub reason: String, + pub status: String, #[serde(default = "default_2463")] - pub message: String, + pub reason: String, #[serde(default = "default_2464")] - pub retried: bool, + pub message: String, #[serde(default = "default_2465")] - pub ms: Integer, + pub retried: bool, #[serde(default = "default_2466")] - pub cause: String, + pub ms: Integer, #[serde(default = "default_2467")] + pub cause: String, + #[serde(default = "default_2468")] pub namespace: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct TrackerDuplicateCheckOutput { - #[serde(default = "default_2451")] - pub verdict: String, #[serde(default = "default_2452")] - pub items: Vec>, + pub verdict: String, #[serde(default = "default_2453")] - pub undecided: bool, + pub items: Vec>, #[serde(default = "default_2454")] - pub epistemic: String, + pub undecided: bool, #[serde(default = "default_2455")] - pub thresholds: std::collections::HashMap, + pub epistemic: String, #[serde(default = "default_2456")] - pub judge: std::collections::HashMap, + pub thresholds: std::collections::HashMap, #[serde(default = "default_2457")] - pub fit_at: String, + pub judge: std::collections::HashMap, #[serde(default = "default_2458")] - pub fit: std::collections::HashMap, + pub fit_at: String, #[serde(default = "default_2459")] - pub query: std::collections::HashMap, + pub fit: std::collections::HashMap, #[serde(default = "default_2460")] + pub query: std::collections::HashMap, + #[serde(default = "default_2461")] pub legs: std::collections::HashMap, - #[serde(default = "default_2468")] - pub leg_status: Vec, #[serde(default = "default_2469")] - pub tracker_unavailable: bool, + pub leg_status: Vec, #[serde(default = "default_2470")] - pub namespaces: Vec, + pub tracker_unavailable: bool, #[serde(default = "default_2471")] - pub by_namespace: std::collections::HashMap>, + pub namespaces: Vec, #[serde(default = "default_2472")] - pub closest: Vec>, + pub by_namespace: std::collections::HashMap>, #[serde(default = "default_2473")] - pub needs: Vec>, + pub closest: Vec>, #[serde(default = "default_2474")] - pub closest_note: String, + pub needs: Vec>, #[serde(default = "default_2475")] - pub nearest: Vec>, + pub closest_note: String, #[serde(default = "default_2476")] - pub rerank: std::collections::HashMap, + pub nearest: Vec>, #[serde(default = "default_2477")] - pub answer: String, + pub rerank: std::collections::HashMap, #[serde(default = "default_2478")] + pub answer: String, + #[serde(default = "default_2479")] pub related_prs: Vec>, } @@ -58103,17 +58105,17 @@ impl TrackerDuplicateCheckInput { #[non_exhaustive] pub struct TrackerFlakyOutput { pub test_name: String, - #[serde(default = "default_2479")] - pub known_flaky: bool, #[serde(default = "default_2480")] - pub open_issues: Integer, + pub known_flaky: bool, #[serde(default = "default_2481")] - pub issues: Vec>, + pub open_issues: Integer, #[serde(default = "default_2482")] - pub verdict: String, + pub issues: Vec>, #[serde(default = "default_2483")] - pub tracker_unavailable: bool, + pub verdict: String, #[serde(default = "default_2484")] + pub tracker_unavailable: bool, + #[serde(default = "default_2485")] pub signal: Option>, } @@ -58196,9 +58198,9 @@ impl TrackerFlakyInput { #[non_exhaustive] pub struct TrackerItemOutput { pub items: Vec>, - #[serde(default = "default_2485")] - pub unknown: Vec, #[serde(default = "default_2486")] + pub unknown: Vec, + #[serde(default = "default_2487")] pub tracker_unavailable: bool, } @@ -58247,19 +58249,19 @@ impl TrackerItemInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct TrackerLinksOutput { - #[serde(default = "default_2487")] - pub subject: std::collections::HashMap, #[serde(default = "default_2488")] - pub verdict: String, + pub subject: std::collections::HashMap, #[serde(default = "default_2489")] - pub items: Vec>, + pub verdict: String, #[serde(default = "default_2490")] - pub epistemic: String, + pub items: Vec>, #[serde(default = "default_2491")] - pub record: std::collections::HashMap, + pub epistemic: String, #[serde(default = "default_2492")] - pub computed_at: String, + pub record: std::collections::HashMap, #[serde(default = "default_2493")] + pub computed_at: String, + #[serde(default = "default_2494")] pub tracker_unavailable: bool, } @@ -58357,11 +58359,11 @@ impl TrackerLinksInput { pub struct TrackerReleaseOutput { pub version: String, pub blockers: Vec>, - #[serde(default = "default_2494")] - pub active_blockers: Integer, #[serde(default = "default_2495")] - pub health: std::collections::HashMap, + pub active_blockers: Integer, #[serde(default = "default_2496")] + pub health: std::collections::HashMap, + #[serde(default = "default_2497")] pub tracker_unavailable: bool, } @@ -58410,17 +58412,17 @@ impl TrackerReleaseInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct TrackerSimilarOutput { - #[serde(default = "default_2497")] - pub items: Vec>, #[serde(default = "default_2498")] - pub query: std::collections::HashMap, + pub items: Vec>, #[serde(default = "default_2499")] - pub legs: std::collections::HashMap, + pub query: std::collections::HashMap, #[serde(default = "default_2500")] - pub epistemic: String, + pub legs: std::collections::HashMap, #[serde(default = "default_2501")] - pub tracker_unavailable: bool, + pub epistemic: String, #[serde(default = "default_2502")] + pub tracker_unavailable: bool, + #[serde(default = "default_2503")] pub namespaces: Vec, } @@ -58541,19 +58543,19 @@ pub struct TrackerSourceAddOutput { pub name: String, pub host: String, pub database: String, - #[serde(default = "default_2503")] - pub namespaces: Vec>, #[serde(default = "default_2504")] - pub contract: std::collections::HashMap, + pub namespaces: Vec>, #[serde(default = "default_2505")] - pub roles: Vec, + pub contract: std::collections::HashMap, #[serde(default = "default_2506")] - pub my_role: String, + pub roles: Vec, #[serde(default = "default_2507")] - pub dry_run: bool, + pub my_role: String, #[serde(default = "default_2508")] - pub written: bool, + pub dry_run: bool, #[serde(default = "default_2509")] + pub written: bool, + #[serde(default = "default_2510")] pub view_templates: std::collections::HashMap, } @@ -58716,13 +58718,13 @@ impl TrackerSourceAddInput { #[non_exhaustive] pub struct TrackerSourceCheckOutput { pub name: String, - #[serde(default = "default_2510")] - pub database: String, #[serde(default = "default_2511")] - pub reachable: bool, + pub database: String, #[serde(default = "default_2512")] - pub contract: std::collections::HashMap, + pub reachable: bool, #[serde(default = "default_2513")] + pub contract: std::collections::HashMap, + #[serde(default = "default_2514")] pub view_templates: std::collections::HashMap, } @@ -58762,11 +58764,11 @@ impl TrackerSourceCheckInput { pub struct TrackerSourceInspectOutput { pub host: String, pub database: String, - #[serde(default = "default_2514")] - pub tables: Vec>, #[serde(default = "default_2515")] - pub roles: Vec, + pub tables: Vec>, #[serde(default = "default_2516")] + pub roles: Vec, + #[serde(default = "default_2517")] pub proposal: std::collections::HashMap, } @@ -58895,9 +58897,9 @@ impl TrackerSourceInspectInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct TrackerSourceListOutput { - #[serde(default = "default_2517")] - pub sources: Vec>, #[serde(default = "default_2518")] + pub sources: Vec>, + #[serde(default = "default_2519")] pub self_service: bool, } @@ -58950,9 +58952,9 @@ impl TrackerSourceListInput { #[non_exhaustive] pub struct TrackerSourceRemoveOutput { pub name: String, - #[serde(default = "default_2519")] - pub deactivated: bool, #[serde(default = "default_2520")] + pub deactivated: bool, + #[serde(default = "default_2521")] pub namespaces_retired: Vec, } @@ -58993,9 +58995,9 @@ impl TrackerSourceRemoveInput { #[non_exhaustive] pub struct TrackerSourceRotateOutput { pub name: String, - #[serde(default = "default_2521")] - pub contract: std::collections::HashMap, #[serde(default = "default_2522")] + pub contract: std::collections::HashMap, + #[serde(default = "default_2523")] pub rotated_at: String, } @@ -59042,11 +59044,11 @@ impl TrackerSourceRotateInput { #[non_exhaustive] pub struct TrackerSourceSetMappingOutput { pub name: String, - #[serde(default = "default_2523")] - pub contract: std::collections::HashMap, #[serde(default = "default_2524")] - pub dry_run: bool, + pub contract: std::collections::HashMap, #[serde(default = "default_2525")] + pub dry_run: bool, + #[serde(default = "default_2526")] pub written: bool, } @@ -59113,45 +59115,45 @@ impl TrackerSourceSetMappingInput { #[non_exhaustive] pub struct TrackerTestSignalOutput { pub test_name: String, - #[serde(default = "default_2526")] - pub verdict: String, #[serde(default = "default_2527")] - pub why: Vec, + pub verdict: String, #[serde(default = "default_2528")] - pub lower_bound: f64, + pub why: Vec, #[serde(default = "default_2529")] - pub window_days: Integer, + pub lower_bound: f64, #[serde(default = "default_2530")] - pub since: String, + pub window_days: Integer, #[serde(default = "default_2531")] - pub features: std::collections::HashMap, + pub since: String, #[serde(default = "default_2532")] - pub infra: std::collections::HashMap, + pub features: std::collections::HashMap, #[serde(default = "default_2533")] - pub churn: std::collections::HashMap, + pub infra: std::collections::HashMap, #[serde(default = "default_2534")] - pub thresholds: std::collections::HashMap, + pub churn: std::collections::HashMap, #[serde(default = "default_2535")] - pub source: String, + pub thresholds: std::collections::HashMap, #[serde(default = "default_2536")] - pub timings_ms: std::collections::HashMap, + pub source: String, #[serde(default = "default_2537")] - pub tracker_unavailable: bool, + pub timings_ms: std::collections::HashMap, #[serde(default = "default_2538")] - pub rollup: std::collections::HashMap, + pub tracker_unavailable: bool, #[serde(default = "default_2539")] - pub streak: std::collections::HashMap, + pub rollup: std::collections::HashMap, #[serde(default = "default_2540")] - pub smells: std::collections::HashMap, + pub streak: std::collections::HashMap, #[serde(default = "default_2541")] - pub prior: std::collections::HashMap, + pub smells: std::collections::HashMap, #[serde(default = "default_2542")] - pub unavailable_reason: String, + pub prior: std::collections::HashMap, #[serde(default = "default_2543")] - pub candidates: Vec>, + pub unavailable_reason: String, #[serde(default = "default_2544")] - pub candidate_matches: Integer, + pub candidates: Vec>, #[serde(default = "default_2545")] + pub candidate_matches: Integer, + #[serde(default = "default_2546")] pub resolved_from: String, } @@ -59255,9 +59257,9 @@ impl TrackerTestSignalInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct UiVitalsOutput { - #[serde(default = "default_2546")] - pub recorded: bool, #[serde(default = "default_2547")] + pub recorded: bool, + #[serde(default = "default_2548")] pub route: String, } @@ -59441,7 +59443,7 @@ pub struct WebhookDelivery { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct WebhookDeliveriesOutput { - #[serde(default = "default_2548")] + #[serde(default = "default_2549")] pub deliveries: Vec, } @@ -59563,14 +59565,14 @@ pub struct WebhookInfo { pub secret_ref: String, pub events: Vec, pub created_at: String, - #[serde(default = "default_2549")] + #[serde(default = "default_2550")] pub secret_present: bool, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct WebhookListOutput { - #[serde(default = "default_2550")] + #[serde(default = "default_2551")] pub webhooks: Vec, } @@ -59752,7 +59754,7 @@ pub struct WorkingMemoryMutationOutput { pub version: Integer, pub char_limit: Integer, pub value_length: Integer, - #[serde(default = "default_2551")] + #[serde(default = "default_2552")] pub fill_ratio: f64, } @@ -59976,15 +59978,15 @@ impl WorkingMemoryDeleteInput { pub struct WorkingMemoryGetOutput { pub found: bool, pub block_key: String, - #[serde(default = "default_2552")] - pub content: String, #[serde(default = "default_2553")] - pub char_limit: Integer, + pub content: String, #[serde(default = "default_2554")] - pub version: Integer, + pub char_limit: Integer, #[serde(default = "default_2555")] - pub updated_at: Option, + pub version: Integer, #[serde(default = "default_2556")] + pub updated_at: Option, + #[serde(default = "default_2557")] pub fill_ratio: f64, } @@ -60095,7 +60097,7 @@ pub struct WorkingMemoryBlock { pub content: String, pub char_limit: Integer, pub version: Integer, - #[serde(default = "default_2557")] + #[serde(default = "default_2558")] pub updated_at: Option, } @@ -60103,7 +60105,7 @@ pub struct WorkingMemoryBlock { #[non_exhaustive] pub struct WorkingMemoryRenderOutput { pub rendered: String, - #[serde(default = "default_2558")] + #[serde(default = "default_2559")] pub blocks: Vec, pub block_count: Integer, pub total_chars: Integer, @@ -64249,26 +64251,26 @@ fn default_1256() -> bool { fn default_1257() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_1258() -> String { +fn default_1258() -> bool { + serde_json::from_str("true").expect("schema default") +} +fn default_1259() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1259() -> std::collections::HashMap { +fn default_1260() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1260() -> String { +fn default_1261() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1261() -> Vec { +fn default_1262() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1262() -> bool { +fn default_1263() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1263() -> String { - serde_json::from_str("\"disabled\"").expect("schema default") -} fn default_1264() -> String { - serde_json::from_str("\"\"").expect("schema default") + serde_json::from_str("\"disabled\"").expect("schema default") } fn default_1265() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -64285,173 +64287,173 @@ fn default_1268() -> String { fn default_1269() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1270() -> Integer { +fn default_1270() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1271() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1271() -> f64 { +fn default_1272() -> f64 { serde_json::from_str("0").expect("schema default") } -fn default_1272() -> Integer { +fn default_1273() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1273() -> KnowledgeSourceProbe { +fn default_1274() -> KnowledgeSourceProbe { serde_json::from_str( "{\"documents\":0,\"more\":false,\"sample\":[],\"checked\":0,\"sampled\":false}", ) .expect("schema default") } -fn default_1274() -> String { +fn default_1275() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1275() -> bool { +fn default_1276() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1276() -> Vec> { +fn default_1277() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1277() -> Vec { +fn default_1278() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1278() -> std::collections::HashMap { +fn default_1279() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1279() -> Vec> { +fn default_1280() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1280() -> Vec> { +fn default_1281() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1281() -> KnowledgeSourceProbe { +fn default_1282() -> KnowledgeSourceProbe { serde_json::from_str( "{\"documents\":0,\"more\":false,\"sample\":[],\"checked\":0,\"sampled\":false}", ) .expect("schema default") } -fn default_1282() -> Vec { +fn default_1283() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1283() -> Integer { +fn default_1284() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1284() -> Option> { +fn default_1285() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_1285() -> Vec { +fn default_1286() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1286() -> Vec { +fn default_1287() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1287() -> bool { +fn default_1288() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1288() -> bool { +fn default_1289() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1289() -> String { +fn default_1290() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1290() -> String { +fn default_1291() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1291() -> Vec> { +fn default_1292() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1292() -> bool { +fn default_1293() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1293() -> Vec { +fn default_1294() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1294() -> Vec { +fn default_1295() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1295() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1296() -> String { serde_json::from_str("\"\"").expect("schema default") } fn default_1297() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1298() -> Vec { +fn default_1298() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1299() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1299() -> Integer { +fn default_1300() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1300() -> String { +fn default_1301() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1301() -> Integer { +fn default_1302() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1302() -> String { +fn default_1303() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1303() -> String { +fn default_1304() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1304() -> Integer { +fn default_1305() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1305() -> Integer { +fn default_1306() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1306() -> String { +fn default_1307() -> String { serde_json::from_str("\"memory_supporters\"").expect("schema default") } -fn default_1307() -> String { +fn default_1308() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1308() -> String { +fn default_1309() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1309() -> Option { +fn default_1310() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1310() -> String { +fn default_1311() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1311() -> String { +fn default_1312() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1312() -> bool { +fn default_1313() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1313() -> bool { +fn default_1314() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1314() -> String { +fn default_1315() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1315() -> std::collections::HashMap { +fn default_1316() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1316() -> Vec { +fn default_1317() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1317() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1318() -> String { serde_json::from_str("\"\"").expect("schema default") } fn default_1319() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1320() -> Vec { - serde_json::from_str("[]").expect("schema default") -} -fn default_1321() -> String { +fn default_1320() -> String { serde_json::from_str("\"\"").expect("schema default") } +fn default_1321() -> Vec { + serde_json::from_str("[]").expect("schema default") +} fn default_1322() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1323() -> Vec { - serde_json::from_str("[]").expect("schema default") +fn default_1323() -> String { + serde_json::from_str("\"\"").expect("schema default") } fn default_1324() -> Vec { serde_json::from_str("[]").expect("schema default") @@ -64462,33 +64464,33 @@ fn default_1325() -> Vec { fn default_1326() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1327() -> Integer { - serde_json::from_str("0").expect("schema default") -} -fn default_1328() -> Vec { +fn default_1327() -> Vec { serde_json::from_str("[]").expect("schema default") } +fn default_1328() -> Integer { + serde_json::from_str("0").expect("schema default") +} fn default_1329() -> Vec { serde_json::from_str("[]").expect("schema default") } fn default_1330() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1331() -> Integer { +fn default_1331() -> Vec { + serde_json::from_str("[]").expect("schema default") +} +fn default_1332() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1332() -> Vec { +fn default_1333() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1333() -> std::collections::HashMap { +fn default_1334() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1334() -> std::collections::HashMap { +fn default_1335() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1335() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1336() -> Integer { serde_json::from_str("0").expect("schema default") } @@ -64504,11 +64506,11 @@ fn default_1339() -> Integer { fn default_1340() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1341() -> bool { - serde_json::from_str("false").expect("schema default") +fn default_1341() -> Integer { + serde_json::from_str("0").expect("schema default") } -fn default_1342() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_1342() -> bool { + serde_json::from_str("false").expect("schema default") } fn default_1343() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -64519,75 +64521,75 @@ fn default_1344() -> String { fn default_1345() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1346() -> Option { +fn default_1346() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1347() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1347() -> String { +fn default_1348() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1348() -> Vec { +fn default_1349() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1349() -> String { +fn default_1350() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1350() -> MemoryAskOutputSource { +fn default_1351() -> MemoryAskOutputSource { serde_json::from_str("\"synthesized\"").expect("schema default") } -fn default_1351() -> bool { +fn default_1352() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1352() -> String { +fn default_1353() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1353() -> Vec { +fn default_1354() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1354() -> Vec { +fn default_1355() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1355() -> Vec { +fn default_1356() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1356() -> String { +fn default_1357() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1357() -> String { +fn default_1358() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1358() -> MemoryAskOutputRouteTier { +fn default_1359() -> MemoryAskOutputRouteTier { serde_json::from_str("\"\"").expect("schema default") } -fn default_1359() -> String { +fn default_1360() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1360() -> Integer { +fn default_1361() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1361() -> Integer { +fn default_1362() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1362() -> bool { +fn default_1363() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1363() -> f64 { +fn default_1364() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_1364() -> Option { +fn default_1365() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1365() -> Option { +fn default_1366() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1366() -> bool { +fn default_1367() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1367() -> String { +fn default_1368() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1368() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1369() -> Integer { serde_json::from_str("0").expect("schema default") } @@ -64597,32 +64599,32 @@ fn default_1370() -> Integer { fn default_1371() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1372() -> String { +fn default_1372() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1373() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1373() -> Vec { +fn default_1374() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1374() -> Integer { +fn default_1375() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1375() -> MemoryAskOutputConsistency { +fn default_1376() -> MemoryAskOutputConsistency { serde_json::from_str("\"\"").expect("schema default") } -fn default_1376() -> f64 { +fn default_1377() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_1377() -> String { +fn default_1378() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1378() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1379() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1380() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_1380() -> Integer { + serde_json::from_str("0").expect("schema default") } fn default_1381() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -64633,48 +64635,48 @@ fn default_1382() -> String { fn default_1383() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1384() -> MemoryAskOutputDepth { +fn default_1384() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1385() -> bool { +fn default_1385() -> MemoryAskOutputDepth { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1386() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1386() -> Vec { +fn default_1387() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1387() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1388() -> Integer { serde_json::from_str("0").expect("schema default") } fn default_1389() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1390() -> Vec { - serde_json::from_str("[]").expect("schema default") -} -fn default_1391() -> Integer { +fn default_1390() -> Integer { serde_json::from_str("0").expect("schema default") } +fn default_1391() -> Vec { + serde_json::from_str("[]").expect("schema default") +} fn default_1392() -> Integer { serde_json::from_str("0").expect("schema default") } fn default_1393() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1394() -> MemoryAskOutputGrounding { +fn default_1394() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1395() -> MemoryAskOutputGrounding { serde_json::from_str("\"\"").expect("schema default") } -fn default_1395() -> String { +fn default_1396() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1396() -> Vec { +fn default_1397() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1397() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1398() -> Integer { serde_json::from_str("0").expect("schema default") } @@ -64684,18 +64686,18 @@ fn default_1399() -> Integer { fn default_1400() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1401() -> std::collections::HashMap { +fn default_1401() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1402() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1402() -> MemoryAskOutputDeepSelector { +fn default_1403() -> MemoryAskOutputDeepSelector { serde_json::from_str("\"\"").expect("schema default") } -fn default_1403() -> MemoryAskOutputDeepFirst { +fn default_1404() -> MemoryAskOutputDeepFirst { serde_json::from_str("\"\"").expect("schema default") } -fn default_1404() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1405() -> Integer { serde_json::from_str("0").expect("schema default") } @@ -64705,12 +64707,12 @@ fn default_1406() -> Integer { fn default_1407() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1408() -> f64 { - serde_json::from_str("0.0").expect("schema default") -} -fn default_1409() -> Integer { +fn default_1408() -> Integer { serde_json::from_str("0").expect("schema default") } +fn default_1409() -> f64 { + serde_json::from_str("0.0").expect("schema default") +} fn default_1410() -> Integer { serde_json::from_str("0").expect("schema default") } @@ -64723,11 +64725,11 @@ fn default_1412() -> Integer { fn default_1413() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1414() -> bool { - serde_json::from_str("false").expect("schema default") +fn default_1414() -> Integer { + serde_json::from_str("0").expect("schema default") } -fn default_1415() -> String { - serde_json::from_str("\"-\"").expect("schema default") +fn default_1415() -> bool { + serde_json::from_str("false").expect("schema default") } fn default_1416() -> String { serde_json::from_str("\"-\"").expect("schema default") @@ -64736,7 +64738,7 @@ fn default_1417() -> String { serde_json::from_str("\"-\"").expect("schema default") } fn default_1418() -> String { - serde_json::from_str("\"\"").expect("schema default") + serde_json::from_str("\"-\"").expect("schema default") } fn default_1419() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -64744,120 +64746,120 @@ fn default_1419() -> String { fn default_1420() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1421() -> bool { +fn default_1421() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1422() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1422() -> String { +fn default_1423() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1423() -> Option { +fn default_1424() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1424() -> String { +fn default_1425() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1425() -> String { +fn default_1426() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1426() -> Vec { +fn default_1427() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1427() -> Option { +fn default_1428() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1428() -> bool { +fn default_1429() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1429() -> String { +fn default_1430() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1430() -> String { +fn default_1431() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1431() -> Vec { +fn default_1432() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1432() -> String { +fn default_1433() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1433() -> Vec { +fn default_1434() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1434() -> String { +fn default_1435() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1435() -> String { +fn default_1436() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1436() -> Vec { +fn default_1437() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1437() -> Vec { +fn default_1438() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1438() -> Integer { +fn default_1439() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1439() -> Vec { +fn default_1440() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1440() -> Vec { +fn default_1441() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1441() -> String { +fn default_1442() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1442() -> String { +fn default_1443() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1443() -> bool { +fn default_1444() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1444() -> String { +fn default_1445() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1445() -> String { +fn default_1446() -> String { serde_json::from_str("\"fact\"").expect("schema default") } -fn default_1446() -> String { +fn default_1447() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1447() -> bool { +fn default_1448() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1448() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1449() -> String { serde_json::from_str("\"\"").expect("schema default") } fn default_1450() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1451() -> Vec { - serde_json::from_str("[]").expect("schema default") +fn default_1451() -> String { + serde_json::from_str("\"\"").expect("schema default") } -fn default_1452() -> Vec { +fn default_1452() -> Vec { serde_json::from_str("[]").expect("schema default") } fn default_1453() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1454() -> std::collections::HashMap { +fn default_1454() -> Vec { + serde_json::from_str("[]").expect("schema default") +} +fn default_1455() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1455() -> Vec { +fn default_1456() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1456() -> Integer { +fn default_1457() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1457() -> Vec { +fn default_1458() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1458() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1459() -> Integer { serde_json::from_str("0").expect("schema default") } @@ -64876,8 +64878,8 @@ fn default_1463() -> Integer { fn default_1464() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1465() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_1465() -> Integer { + serde_json::from_str("0").expect("schema default") } fn default_1466() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -64888,11 +64890,11 @@ fn default_1467() -> String { fn default_1468() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1469() -> bool { - serde_json::from_str("true").expect("schema default") +fn default_1469() -> String { + serde_json::from_str("\"\"").expect("schema default") } -fn default_1470() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_1470() -> bool { + serde_json::from_str("true").expect("schema default") } fn default_1471() -> Integer { serde_json::from_str("0").expect("schema default") @@ -64906,114 +64908,114 @@ fn default_1473() -> Integer { fn default_1474() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1475() -> bool { +fn default_1475() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1476() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1476() -> Vec { +fn default_1477() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1477() -> String { +fn default_1478() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1478() -> String { +fn default_1479() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1479() -> Option { +fn default_1480() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1480() -> Vec { +fn default_1481() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1481() -> bool { +fn default_1482() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1482() -> bool { +fn default_1483() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1483() -> Vec { +fn default_1484() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1484() -> bool { +fn default_1485() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1485() -> Option { +fn default_1486() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1486() -> Vec { +fn default_1487() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1487() -> Option { +fn default_1488() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1488() -> Option { +fn default_1489() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1489() -> Vec { +fn default_1490() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1490() -> Integer { +fn default_1491() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1491() -> bool { +fn default_1492() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_1492() -> String { +fn default_1493() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1493() -> Integer { +fn default_1494() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1494() -> Integer { +fn default_1495() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1495() -> std::collections::HashMap { +fn default_1496() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1496() -> String { +fn default_1497() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1497() -> f64 { +fn default_1498() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_1498() -> bool { +fn default_1499() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1499() -> String { +fn default_1500() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1500() -> String { +fn default_1501() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1501() -> Integer { +fn default_1502() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1502() -> Integer { +fn default_1503() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1503() -> Option { +fn default_1504() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1504() -> Vec { +fn default_1505() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1505() -> Vec { +fn default_1506() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1506() -> Option { +fn default_1507() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1507() -> Option { +fn default_1508() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1508() -> Integer { +fn default_1509() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1509() -> bool { +fn default_1510() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1510() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1511() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -65023,30 +65025,30 @@ fn default_1512() -> String { fn default_1513() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1514() -> Option { +fn default_1514() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1515() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1515() -> String { +fn default_1516() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1516() -> Integer { +fn default_1517() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1517() -> Integer { +fn default_1518() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1518() -> String { +fn default_1519() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1519() -> Vec { +fn default_1520() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1520() -> bool { +fn default_1521() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1521() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1522() -> Integer { serde_json::from_str("0").expect("schema default") } @@ -65059,81 +65061,81 @@ fn default_1524() -> Integer { fn default_1525() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1526() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_1526() -> Integer { + serde_json::from_str("0").expect("schema default") } fn default_1527() -> String { serde_json::from_str("\"\"").expect("schema default") } fn default_1528() -> String { - serde_json::from_str("\"-\"").expect("schema default") + serde_json::from_str("\"\"").expect("schema default") } fn default_1529() -> String { + serde_json::from_str("\"-\"").expect("schema default") +} +fn default_1530() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1530() -> Vec { +fn default_1531() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1531() -> Integer { +fn default_1532() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1532() -> Integer { +fn default_1533() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1533() -> String { +fn default_1534() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1534() -> String { +fn default_1535() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1535() -> Vec { +fn default_1536() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1536() -> String { +fn default_1537() -> String { serde_json::from_str("\"-\"").expect("schema default") } -fn default_1537() -> String { +fn default_1538() -> String { serde_json::from_str("\"-\"").expect("schema default") } -fn default_1538() -> Vec { +fn default_1539() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1539() -> Vec { +fn default_1540() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1540() -> String { +fn default_1541() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1541() -> String { +fn default_1542() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1542() -> Vec { +fn default_1543() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1543() -> f64 { +fn default_1544() -> f64 { serde_json::from_str("1.0").expect("schema default") } -fn default_1544() -> String { +fn default_1545() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1545() -> String { +fn default_1546() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1546() -> Vec { +fn default_1547() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1547() -> bool { +fn default_1548() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1548() -> String { +fn default_1549() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1549() -> Integer { +fn default_1550() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1550() -> Vec { - serde_json::from_str("[]").expect("schema default") -} fn default_1551() -> Vec { serde_json::from_str("[]").expect("schema default") } @@ -65146,57 +65148,57 @@ fn default_1553() -> Vec { fn default_1554() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1555() -> Option { - serde_json::from_str("null").expect("schema default") +fn default_1555() -> Vec { + serde_json::from_str("[]").expect("schema default") } fn default_1556() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1557() -> Vec { +fn default_1557() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_1558() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1558() -> Integer { +fn default_1559() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1559() -> Integer { +fn default_1560() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1560() -> Vec { +fn default_1561() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1561() -> Vec { +fn default_1562() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1562() -> Integer { +fn default_1563() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1563() -> Integer { +fn default_1564() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1564() -> bool { +fn default_1565() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1565() -> Vec { +fn default_1566() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1566() -> f64 { +fn default_1567() -> f64 { serde_json::from_str("1.0").expect("schema default") } -fn default_1567() -> bool { +fn default_1568() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1568() -> String { +fn default_1569() -> String { serde_json::from_str("\"active\"").expect("schema default") } -fn default_1569() -> String { +fn default_1570() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1570() -> Option { +fn default_1571() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1571() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1572() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -65206,36 +65208,36 @@ fn default_1573() -> String { fn default_1574() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1575() -> MemoryForFileHitSupersedesKind { +fn default_1575() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1576() -> Vec { +fn default_1576() -> MemoryForFileHitSupersedesKind { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1577() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1577() -> String { +fn default_1578() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1578() -> MemoryForFileHitVerification { +fn default_1579() -> MemoryForFileHitVerification { serde_json::from_str("\"none\"").expect("schema default") } -fn default_1579() -> MemoryForFileHitCodeState { +fn default_1580() -> MemoryForFileHitCodeState { serde_json::from_str("\"\"").expect("schema default") } -fn default_1580() -> Vec { +fn default_1581() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1581() -> String { +fn default_1582() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1582() -> Integer { +fn default_1583() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1583() -> bool { +fn default_1584() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1584() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1585() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -65251,19 +65253,19 @@ fn default_1588() -> String { fn default_1589() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1590() -> Option { - serde_json::from_str("null").expect("schema default") +fn default_1590() -> String { + serde_json::from_str("\"\"").expect("schema default") } -fn default_1591() -> Value { +fn default_1591() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1592() -> Option { +fn default_1592() -> Value { serde_json::from_str("null").expect("schema default") } -fn default_1593() -> Option { +fn default_1593() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1594() -> Option { +fn default_1594() -> Option { serde_json::from_str("null").expect("schema default") } fn default_1595() -> Option { @@ -65275,23 +65277,23 @@ fn default_1596() -> Option { fn default_1597() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1598() -> bool { +fn default_1598() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_1599() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1599() -> String { +fn default_1600() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1600() -> String { +fn default_1601() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1601() -> Option { +fn default_1602() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1602() -> String { - serde_json::from_str("\"none\"").expect("schema default") -} fn default_1603() -> String { - serde_json::from_str("\"\"").expect("schema default") + serde_json::from_str("\"none\"").expect("schema default") } fn default_1604() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -65305,45 +65307,45 @@ fn default_1606() -> String { fn default_1607() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1608() -> Option { - serde_json::from_str("null").expect("schema default") -} -fn default_1609() -> String { +fn default_1608() -> String { serde_json::from_str("\"\"").expect("schema default") } +fn default_1609() -> Option { + serde_json::from_str("null").expect("schema default") +} fn default_1610() -> String { serde_json::from_str("\"\"").expect("schema default") } fn default_1611() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1612() -> Integer { +fn default_1612() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1613() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1613() -> Vec { +fn default_1614() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1614() -> Integer { +fn default_1615() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1615() -> Option { +fn default_1616() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1616() -> Vec { +fn default_1617() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1617() -> std::collections::HashMap { +fn default_1618() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1618() -> Integer { +fn default_1619() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1619() -> f64 { +fn default_1620() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_1620() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1621() -> Integer { serde_json::from_str("0").expect("schema default") } @@ -65356,45 +65358,45 @@ fn default_1623() -> Integer { fn default_1624() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1625() -> MemoryHealthStaleness { +fn default_1625() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1626() -> MemoryHealthStaleness { serde_json::from_str("{\"by_age\":{},\"with_validity_end\":0,\"with_validity_end_share\":0.0,\"with_expiry\":0,\"expiring_7d\":0,\"pinned\":0,\"days_since_reinforced_p50\":0,\"days_since_reinforced_p90\":0}").expect("schema default") } -fn default_1626() -> Integer { +fn default_1627() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1627() -> Integer { +fn default_1628() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1628() -> f64 { +fn default_1629() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_1629() -> MemoryHealthFootprint { +fn default_1630() -> MemoryHealthFootprint { serde_json::from_str("{\"value_chars\":0,\"value_tokens_est\":0,\"tokens_per_row_est\":0.0}") .expect("schema default") } -fn default_1630() -> String { +fn default_1631() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1631() -> Value { +fn default_1632() -> Value { serde_json::from_str("null").expect("schema default") } -fn default_1632() -> String { +fn default_1633() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1633() -> bool { +fn default_1634() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1634() -> Option { - serde_json::from_str("null").expect("schema default") -} fn default_1635() -> Option { serde_json::from_str("null").expect("schema default") } fn default_1636() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1637() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_1637() -> Option { + serde_json::from_str("null").expect("schema default") } fn default_1638() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -65408,24 +65410,24 @@ fn default_1640() -> String { fn default_1641() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1642() -> Option { +fn default_1642() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1643() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1643() -> String { +fn default_1644() -> String { serde_json::from_str("\"active\"").expect("schema default") } -fn default_1644() -> Vec { +fn default_1645() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1645() -> Vec { +fn default_1646() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1646() -> Option { +fn default_1647() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1647() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1648() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -65435,11 +65437,11 @@ fn default_1649() -> String { fn default_1650() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1651() -> Option { - serde_json::from_str("null").expect("schema default") +fn default_1651() -> String { + serde_json::from_str("\"\"").expect("schema default") } -fn default_1652() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_1652() -> Option { + serde_json::from_str("null").expect("schema default") } fn default_1653() -> Integer { serde_json::from_str("0").expect("schema default") @@ -65450,57 +65452,57 @@ fn default_1654() -> Integer { fn default_1655() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1656() -> MemoryImportResultReason { +fn default_1656() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1657() -> MemoryImportResultReason { serde_json::from_str("\"\"").expect("schema default") } -fn default_1657() -> String { +fn default_1658() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1658() -> MemoryImportResultNote { +fn default_1659() -> MemoryImportResultNote { serde_json::from_str("\"\"").expect("schema default") } -fn default_1659() -> bool { +fn default_1660() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1660() -> String { +fn default_1661() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1661() -> Option { +fn default_1662() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1662() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1663() -> Integer { serde_json::from_str("0").expect("schema default") } fn default_1664() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1665() -> String { +fn default_1665() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1666() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1666() -> Integer { +fn default_1667() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1667() -> Vec { +fn default_1668() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1668() -> Integer { +fn default_1669() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1669() -> Integer { +fn default_1670() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1670() -> Vec { +fn default_1671() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1671() -> Integer { +fn default_1672() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1672() -> Vec { - serde_json::from_str("[]").expect("schema default") -} fn default_1673() -> Vec { serde_json::from_str("[]").expect("schema default") } @@ -65513,241 +65515,241 @@ fn default_1675() -> Vec { fn default_1676() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1677() -> Option { - serde_json::from_str("null").expect("schema default") +fn default_1677() -> Vec { + serde_json::from_str("[]").expect("schema default") } fn default_1678() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1679() -> String { +fn default_1679() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_1680() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1680() -> Integer { +fn default_1681() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1681() -> String { +fn default_1682() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1682() -> Vec { +fn default_1683() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1683() -> bool { +fn default_1684() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_1684() -> Vec { +fn default_1685() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1685() -> Option { +fn default_1686() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1686() -> Option { +fn default_1687() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1687() -> String { +fn default_1688() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1688() -> Integer { +fn default_1689() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1689() -> String { +fn default_1690() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1690() -> Integer { +fn default_1691() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1691() -> Option { +fn default_1692() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1692() -> String { +fn default_1693() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1693() -> String { +fn default_1694() -> String { serde_json::from_str("\"Each request that extracts memories from messages may send extraction instructions; no user, agent or session setting stores them.\"").expect("schema default") } -fn default_1694() -> Vec { +fn default_1695() -> Vec { serde_json::from_str("[\"memory.set_from_messages\",\"extraction_instructions\"]") .expect("schema default") } -fn default_1695() -> Vec { +fn default_1696() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1696() -> bool { +fn default_1697() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1697() -> String { +fn default_1698() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1698() -> String { +fn default_1699() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1699() -> Option { +fn default_1700() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1700() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1701() -> String { serde_json::from_str("\"\"").expect("schema default") } fn default_1702() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1703() -> MemoryLineageOutputMechanism { +fn default_1703() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1704() -> MemoryLineageOutputMechanism { serde_json::from_str("\"unknown\"").expect("schema default") } -fn default_1704() -> Vec { +fn default_1705() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1705() -> String { +fn default_1706() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1706() -> String { +fn default_1707() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1707() -> Option { +fn default_1708() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1708() -> Vec { +fn default_1709() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1709() -> f64 { +fn default_1710() -> f64 { serde_json::from_str("1.0").expect("schema default") } -fn default_1710() -> bool { +fn default_1711() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1711() -> bool { +fn default_1712() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1712() -> Integer { +fn default_1713() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1713() -> Integer { +fn default_1714() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1714() -> String { +fn default_1715() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1715() -> bool { +fn default_1716() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1716() -> Integer { +fn default_1717() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1717() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1718() -> String { serde_json::from_str("\"\"").expect("schema default") } fn default_1719() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1720() -> Option { - serde_json::from_str("null").expect("schema default") -} -fn default_1721() -> String { +fn default_1720() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1722() -> Option { +fn default_1721() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1723() -> String { +fn default_1722() -> String { serde_json::from_str("\"\"").expect("schema default") } +fn default_1723() -> Option { + serde_json::from_str("null").expect("schema default") +} fn default_1724() -> String { serde_json::from_str("\"\"").expect("schema default") } fn default_1725() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1726() -> Integer { +fn default_1726() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1727() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1727() -> String { +fn default_1728() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1728() -> Vec { +fn default_1729() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1729() -> bool { +fn default_1730() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1730() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1731() -> String { serde_json::from_str("\"\"").expect("schema default") } fn default_1732() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1733() -> bool { +fn default_1733() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1734() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1734() -> std::collections::HashMap { +fn default_1735() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1735() -> String { +fn default_1736() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1736() -> String { +fn default_1737() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1737() -> Integer { +fn default_1738() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1738() -> Integer { +fn default_1739() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1739() -> Vec { +fn default_1740() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1740() -> Integer { +fn default_1741() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1741() -> Integer { +fn default_1742() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1742() -> Vec { +fn default_1743() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1743() -> String { +fn default_1744() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1744() -> Integer { +fn default_1745() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1745() -> String { +fn default_1746() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1746() -> Vec { +fn default_1747() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1747() -> Integer { +fn default_1748() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1748() -> Option { +fn default_1749() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1749() -> Vec { +fn default_1750() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1750() -> Integer { +fn default_1751() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1751() -> String { +fn default_1752() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1752() -> String { +fn default_1753() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1753() -> Vec { +fn default_1754() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1754() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1755() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -65760,60 +65762,60 @@ fn default_1757() -> String { fn default_1758() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1759() -> Vec { +fn default_1759() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1760() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1760() -> String { +fn default_1761() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1761() -> Integer { +fn default_1762() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1762() -> Integer { +fn default_1763() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1763() -> String { +fn default_1764() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1764() -> Integer { +fn default_1765() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1765() -> Integer { +fn default_1766() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1766() -> MemoryProposalReady { +fn default_1767() -> MemoryProposalReady { serde_json::from_str("\"\"").expect("schema default") } -fn default_1767() -> Vec { +fn default_1768() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1768() -> Vec { +fn default_1769() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1769() -> Integer { +fn default_1770() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1770() -> ProposalPolicyMode { +fn default_1771() -> ProposalPolicyMode { serde_json::from_str("\"manual\"").expect("schema default") } -fn default_1771() -> Integer { +fn default_1772() -> Integer { serde_json::from_str("2").expect("schema default") } -fn default_1772() -> Integer { +fn default_1773() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1773() -> Integer { +fn default_1774() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1774() -> ProposalPolicy { +fn default_1775() -> ProposalPolicy { serde_json::from_str( "{\"mode\":\"manual\",\"min_passes\":2,\"max_fails\":0,\"reject_after_fails\":0}", ) .expect("schema default") } -fn default_1775() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1776() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -65829,12 +65831,12 @@ fn default_1779() -> String { fn default_1780() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1781() -> bool { - serde_json::from_str("false").expect("schema default") -} -fn default_1782() -> String { +fn default_1781() -> String { serde_json::from_str("\"\"").expect("schema default") } +fn default_1782() -> bool { + serde_json::from_str("false").expect("schema default") +} fn default_1783() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -65859,24 +65861,24 @@ fn default_1789() -> String { fn default_1790() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1791() -> Vec { +fn default_1791() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1792() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1792() -> f64 { +fn default_1793() -> f64 { serde_json::from_str("1.0").expect("schema default") } -fn default_1793() -> String { +fn default_1794() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1794() -> String { +fn default_1795() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1795() -> Vec { +fn default_1796() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1796() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1797() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -65886,11 +65888,11 @@ fn default_1798() -> String { fn default_1799() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1800() -> bool { - serde_json::from_str("false").expect("schema default") +fn default_1800() -> String { + serde_json::from_str("\"\"").expect("schema default") } -fn default_1801() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_1801() -> bool { + serde_json::from_str("false").expect("schema default") } fn default_1802() -> Integer { serde_json::from_str("0").expect("schema default") @@ -65898,183 +65900,183 @@ fn default_1802() -> Integer { fn default_1803() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1804() -> bool { +fn default_1804() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1805() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1805() -> String { +fn default_1806() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1806() -> Integer { +fn default_1807() -> Integer { serde_json::from_str("-1").expect("schema default") } -fn default_1807() -> MemoryRecallOutputOrder { +fn default_1808() -> MemoryRecallOutputOrder { serde_json::from_str("\"recent\"").expect("schema default") } -fn default_1808() -> Vec { +fn default_1809() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1809() -> Integer { +fn default_1810() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1810() -> Value { +fn default_1811() -> Value { serde_json::from_str("null").expect("schema default") } -fn default_1811() -> Value { +fn default_1812() -> Value { serde_json::from_str("null").expect("schema default") } -fn default_1812() -> String { +fn default_1813() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1813() -> String { +fn default_1814() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1814() -> Option { +fn default_1815() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1815() -> Option { +fn default_1816() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1816() -> bool { +fn default_1817() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1817() -> String { +fn default_1818() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1818() -> String { +fn default_1819() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1819() -> std::collections::HashMap { +fn default_1820() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1820() -> std::collections::HashMap { +fn default_1821() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1821() -> MemoryRecordRowStatus { +fn default_1822() -> MemoryRecordRowStatus { serde_json::from_str("\"active\"").expect("schema default") } -fn default_1822() -> Option { +fn default_1823() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1823() -> Option { +fn default_1824() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1824() -> bool { +fn default_1825() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1825() -> String { +fn default_1826() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1826() -> MemoryRecordWriteOutputKeySource { +fn default_1827() -> MemoryRecordWriteOutputKeySource { serde_json::from_str("\"anonymous\"").expect("schema default") } -fn default_1827() -> std::collections::HashMap { +fn default_1828() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1828() -> String { +fn default_1829() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1829() -> Integer { +fn default_1830() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1830() -> bool { +fn default_1831() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1831() -> Option { +fn default_1832() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1832() -> Integer { +fn default_1833() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1833() -> Integer { +fn default_1834() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1834() -> Option { +fn default_1835() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1835() -> String { +fn default_1836() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1836() -> Integer { +fn default_1837() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1837() -> Integer { +fn default_1838() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1838() -> bool { +fn default_1839() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1839() -> Vec { +fn default_1840() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1840() -> Option { +fn default_1841() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1841() -> Option { +fn default_1842() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1842() -> bool { +fn default_1843() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1843() -> bool { +fn default_1844() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1844() -> String { +fn default_1845() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1845() -> f64 { +fn default_1846() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_1846() -> String { +fn default_1847() -> String { serde_json::from_str("\"fact\"").expect("schema default") } -fn default_1847() -> String { +fn default_1848() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1848() -> std::collections::HashMap { +fn default_1849() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1849() -> bool { +fn default_1850() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1850() -> Integer { +fn default_1851() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1851() -> String { +fn default_1852() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1852() -> Vec { +fn default_1853() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1853() -> Vec { +fn default_1854() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1854() -> Integer { +fn default_1855() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1855() -> Integer { +fn default_1856() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1856() -> String { +fn default_1857() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1857() -> String { +fn default_1858() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1858() -> Integer { +fn default_1859() -> Integer { serde_json::from_str("1").expect("schema default") } -fn default_1859() -> Integer { +fn default_1860() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1860() -> Integer { +fn default_1861() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1861() -> Vec { +fn default_1862() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1862() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1863() -> Integer { serde_json::from_str("0").expect("schema default") } @@ -66084,65 +66086,65 @@ fn default_1864() -> Integer { fn default_1865() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1866() -> Vec { +fn default_1866() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1867() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1867() -> String { +fn default_1868() -> String { serde_json::from_str("\"whole\"").expect("schema default") } -fn default_1868() -> Integer { +fn default_1869() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1869() -> Vec { +fn default_1870() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1870() -> Vec { +fn default_1871() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1871() -> Integer { +fn default_1872() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1872() -> Vec { +fn default_1873() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1873() -> Integer { +fn default_1874() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1874() -> Vec { +fn default_1875() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1875() -> Vec { +fn default_1876() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1876() -> bool { +fn default_1877() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1877() -> String { +fn default_1878() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1878() -> String { +fn default_1879() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1879() -> std::collections::HashMap { +fn default_1880() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1880() -> String { +fn default_1881() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1881() -> bool { +fn default_1882() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1882() -> Vec { +fn default_1883() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1883() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1884() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1885() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_1885() -> Integer { + serde_json::from_str("0").expect("schema default") } fn default_1886() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -66150,29 +66152,29 @@ fn default_1886() -> String { fn default_1887() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1888() -> bool { +fn default_1888() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1889() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1889() -> Integer { +fn default_1890() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1890() -> Option { +fn default_1891() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1891() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1892() -> String { serde_json::from_str("\"\"").expect("schema default") } fn default_1893() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1894() -> Vec { - serde_json::from_str("[]").expect("schema default") +fn default_1894() -> String { + serde_json::from_str("\"\"").expect("schema default") } -fn default_1895() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_1895() -> Vec { + serde_json::from_str("[]").expect("schema default") } fn default_1896() -> Integer { serde_json::from_str("0").expect("schema default") @@ -66189,54 +66191,54 @@ fn default_1899() -> Integer { fn default_1900() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1901() -> bool { +fn default_1901() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1902() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1902() -> Vec> { +fn default_1903() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1903() -> Vec { +fn default_1904() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1904() -> Option { +fn default_1905() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1905() -> String { +fn default_1906() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1906() -> Integer { +fn default_1907() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1907() -> Option { +fn default_1908() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1908() -> Option { +fn default_1909() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1909() -> Option { +fn default_1910() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1910() -> Option { +fn default_1911() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1911() -> Vec { +fn default_1912() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1912() -> Integer { +fn default_1913() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1913() -> String { +fn default_1914() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1914() -> String { +fn default_1915() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1915() -> Option { +fn default_1916() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1916() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1917() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -66246,21 +66248,21 @@ fn default_1918() -> String { fn default_1919() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1920() -> Option { +fn default_1920() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1921() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1921() -> String { +fn default_1922() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1922() -> String { +fn default_1923() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1923() -> Integer { +fn default_1924() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1924() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1925() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -66273,45 +66275,45 @@ fn default_1927() -> String { fn default_1928() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1929() -> Integer { +fn default_1929() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1930() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1930() -> String { +fn default_1931() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1931() -> Vec { +fn default_1932() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1932() -> String { +fn default_1933() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1933() -> Integer { +fn default_1934() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1934() -> String { +fn default_1935() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1935() -> Integer { +fn default_1936() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1936() -> String { +fn default_1937() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1937() -> String { +fn default_1938() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1938() -> Integer { +fn default_1939() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1939() -> String { +fn default_1940() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1940() -> bool { +fn default_1941() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1941() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1942() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -66321,105 +66323,105 @@ fn default_1943() -> String { fn default_1944() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1945() -> Option { +fn default_1945() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1946() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1946() -> String { +fn default_1947() -> String { serde_json::from_str("\"none\"").expect("schema default") } -fn default_1947() -> Integer { +fn default_1948() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1948() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1949() -> String { serde_json::from_str("\"\"").expect("schema default") } fn default_1950() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1951() -> String { serde_json::from_str("\"active\"").expect("schema default") } -fn default_1951() -> bool { +fn default_1952() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1952() -> Vec { +fn default_1953() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1953() -> std::collections::HashMap { +fn default_1954() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1954() -> String { +fn default_1955() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1955() -> Vec { +fn default_1956() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1956() -> std::collections::HashMap { +fn default_1957() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1957() -> Integer { +fn default_1958() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1958() -> Option { +fn default_1959() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1959() -> String { +fn default_1960() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1960() -> bool { +fn default_1961() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_1961() -> Vec { +fn default_1962() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1962() -> Vec { +fn default_1963() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1963() -> std::collections::HashMap { +fn default_1964() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1964() -> Option { +fn default_1965() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1965() -> Vec { +fn default_1966() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1966() -> Integer { +fn default_1967() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1967() -> Integer { +fn default_1968() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1968() -> Vec { +fn default_1969() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1969() -> Option { +fn default_1970() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1970() -> Vec { +fn default_1971() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1971() -> Option { +fn default_1972() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1972() -> Option { +fn default_1973() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1973() -> Vec { +fn default_1974() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1974() -> bool { +fn default_1975() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1975() -> Vec { +fn default_1976() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1976() -> bool { +fn default_1977() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_1977() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1978() -> Integer { serde_json::from_str("0").expect("schema default") } @@ -66444,12 +66446,12 @@ fn default_1984() -> Integer { fn default_1985() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1986() -> f64 { - serde_json::from_str("0.0").expect("schema default") -} -fn default_1987() -> Integer { +fn default_1986() -> Integer { serde_json::from_str("0").expect("schema default") } +fn default_1987() -> f64 { + serde_json::from_str("0.0").expect("schema default") +} fn default_1988() -> Integer { serde_json::from_str("0").expect("schema default") } @@ -66459,82 +66461,82 @@ fn default_1989() -> Integer { fn default_1990() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1991() -> Option { - serde_json::from_str("null").expect("schema default") +fn default_1991() -> Integer { + serde_json::from_str("0").expect("schema default") } fn default_1992() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1993() -> Vec { +fn default_1993() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_1994() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1994() -> String { +fn default_1995() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1995() -> String { +fn default_1996() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1996() -> Integer { +fn default_1997() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1997() -> Vec> { +fn default_1998() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1998() -> Vec { +fn default_1999() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1999() -> String { +fn default_2000() -> String { serde_json::from_str("\"memory\"").expect("schema default") } -fn default_2000() -> bool { +fn default_2001() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2001() -> String { +fn default_2002() -> String { serde_json::from_str("\"approval\"").expect("schema default") } -fn default_2002() -> String { +fn default_2003() -> String { serde_json::from_str("\"public\"").expect("schema default") } -fn default_2003() -> BrowseEntryMyStatus { +fn default_2004() -> BrowseEntryMyStatus { serde_json::from_str("\"none\"").expect("schema default") } -fn default_2004() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_2005() -> String { serde_json::from_str("\"\"").expect("schema default") } fn default_2006() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2007() -> Integer { +fn default_2007() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_2008() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2008() -> String { +fn default_2009() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2009() -> Option { +fn default_2010() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2010() -> Option { +fn default_2011() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2011() -> Vec { +fn default_2012() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2012() -> Option { - serde_json::from_str("null").expect("schema default") -} fn default_2013() -> Option { serde_json::from_str("null").expect("schema default") } fn default_2014() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2015() -> Option> { +fn default_2015() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2016() -> Option { +fn default_2016() -> Option> { serde_json::from_str("null").expect("schema default") } fn default_2017() -> Option { @@ -66549,40 +66551,40 @@ fn default_2019() -> Option { fn default_2020() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2021() -> Option { +fn default_2021() -> Option { serde_json::from_str("null").expect("schema default") } fn default_2022() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2023() -> Option { +fn default_2023() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2024() -> Option { +fn default_2024() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2025() -> Option { +fn default_2025() -> Option { serde_json::from_str("null").expect("schema default") } fn default_2026() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2027() -> Option { +fn default_2027() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2028() -> Option { +fn default_2028() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2029() -> Option { +fn default_2029() -> Option { serde_json::from_str("null").expect("schema default") } fn default_2030() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2031() -> Option> { +fn default_2031() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2032() -> Option { +fn default_2032() -> Option> { serde_json::from_str("null").expect("schema default") } fn default_2033() -> Option { @@ -66591,22 +66593,22 @@ fn default_2033() -> Option { fn default_2034() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2035() -> Option { +fn default_2035() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2036() -> Option { +fn default_2036() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2037() -> Option>> { +fn default_2037() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2038() -> Option { +fn default_2038() -> Option>> { serde_json::from_str("null").expect("schema default") } -fn default_2039() -> Option { +fn default_2039() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2040() -> Option { +fn default_2040() -> Option { serde_json::from_str("null").expect("schema default") } fn default_2041() -> Option { @@ -66615,11 +66617,11 @@ fn default_2041() -> Option { fn default_2042() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2043() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_2043() -> Option { + serde_json::from_str("null").expect("schema default") } -fn default_2044() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_2044() -> Integer { + serde_json::from_str("0").expect("schema default") } fn default_2045() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -66630,18 +66632,18 @@ fn default_2046() -> String { fn default_2047() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2048() -> Option { +fn default_2048() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_2049() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2049() -> bool { +fn default_2050() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2050() -> Integer { +fn default_2051() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2051() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_2052() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -66651,129 +66653,129 @@ fn default_2053() -> String { fn default_2054() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2055() -> Option { +fn default_2055() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_2056() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2056() -> Option { +fn default_2057() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2057() -> String { +fn default_2058() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2058() -> Vec { +fn default_2059() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2059() -> String { +fn default_2060() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2060() -> String { +fn default_2061() -> String { serde_json::from_str("\"active\"").expect("schema default") } -fn default_2061() -> Option { +fn default_2062() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2062() -> Vec { +fn default_2063() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2063() -> Option { +fn default_2064() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2064() -> String { +fn default_2065() -> String { serde_json::from_str("\"memory\"").expect("schema default") } -fn default_2065() -> bool { +fn default_2066() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2066() -> f64 { +fn default_2067() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2067() -> f64 { +fn default_2068() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2068() -> String { +fn default_2069() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2069() -> Option { +fn default_2070() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2070() -> Integer { +fn default_2071() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2071() -> Integer { +fn default_2072() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2072() -> NamespaceEntryVisibility { +fn default_2073() -> NamespaceEntryVisibility { serde_json::from_str("\"private\"").expect("schema default") } -fn default_2073() -> String { +fn default_2074() -> String { serde_json::from_str("\"active\"").expect("schema default") } -fn default_2074() -> Option { +fn default_2075() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2075() -> Option { +fn default_2076() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2076() -> Vec { +fn default_2077() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2077() -> MineEntryVisibility { +fn default_2078() -> MineEntryVisibility { serde_json::from_str("\"private\"").expect("schema default") } -fn default_2078() -> String { +fn default_2079() -> String { serde_json::from_str("\"memory\"").expect("schema default") } -fn default_2079() -> String { +fn default_2080() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2080() -> String { +fn default_2081() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2081() -> Option { +fn default_2082() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2082() -> bool { +fn default_2083() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2083() -> bool { +fn default_2084() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2084() -> String { +fn default_2085() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2085() -> NamespaceRegisterOutputVisibility { +fn default_2086() -> NamespaceRegisterOutputVisibility { serde_json::from_str("\"private\"").expect("schema default") } -fn default_2086() -> bool { +fn default_2087() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2087() -> Integer { +fn default_2088() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2088() -> Integer { +fn default_2089() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2089() -> bool { +fn default_2090() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2090() -> Vec> { +fn default_2091() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2091() -> Option { +fn default_2092() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2092() -> Option { +fn default_2093() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2093() -> Vec { +fn default_2094() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2094() -> Integer { +fn default_2095() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2095() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_2096() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -66786,23 +66788,23 @@ fn default_2098() -> String { fn default_2099() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2100() -> Option { - serde_json::from_str("null").expect("schema default") -} -fn default_2101() -> String { +fn default_2100() -> String { serde_json::from_str("\"\"").expect("schema default") } +fn default_2101() -> Option { + serde_json::from_str("null").expect("schema default") +} fn default_2102() -> String { serde_json::from_str("\"\"").expect("schema default") } fn default_2103() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2104() -> Vec { - serde_json::from_str("[]").expect("schema default") +fn default_2104() -> String { + serde_json::from_str("\"\"").expect("schema default") } -fn default_2105() -> Option { - serde_json::from_str("null").expect("schema default") +fn default_2105() -> Vec { + serde_json::from_str("[]").expect("schema default") } fn default_2106() -> Option { serde_json::from_str("null").expect("schema default") @@ -66813,33 +66815,33 @@ fn default_2107() -> Option { fn default_2108() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2109() -> String { +fn default_2109() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_2110() -> String { serde_json::from_str("\"{}\"").expect("schema default") } -fn default_2110() -> NamespaceSnapshotOutputSnapshotMemoryRowStatus { +fn default_2111() -> NamespaceSnapshotOutputSnapshotMemoryRowStatus { serde_json::from_str("\"active\"").expect("schema default") } -fn default_2111() -> Option { +fn default_2112() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2112() -> Vec { +fn default_2113() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2113() -> String { +fn default_2114() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2114() -> Integer { +fn default_2115() -> Integer { serde_json::from_str("1").expect("schema default") } -fn default_2115() -> Integer { +fn default_2116() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2116() -> Option { +fn default_2117() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2117() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_2118() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -66849,191 +66851,191 @@ fn default_2119() -> String { fn default_2120() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2121() -> Option { +fn default_2121() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_2122() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2122() -> f64 { +fn default_2123() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2123() -> Option { +fn default_2124() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2124() -> Option { +fn default_2125() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2125() -> Integer { +fn default_2126() -> Integer { serde_json::from_str("1").expect("schema default") } -fn default_2126() -> Option { +fn default_2127() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2127() -> Option { +fn default_2128() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2128() -> String { +fn default_2129() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2129() -> Option { +fn default_2130() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2130() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_2131() -> String { serde_json::from_str("\"\"").expect("schema default") } fn default_2132() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2133() -> Option { +fn default_2133() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_2134() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2134() -> String { +fn default_2135() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2135() -> Option { +fn default_2136() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2136() -> String { +fn default_2137() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2137() -> String { +fn default_2138() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2138() -> Vec { +fn default_2139() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2139() -> Vec { +fn default_2140() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2140() -> Option { +fn default_2141() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2141() -> Integer { +fn default_2142() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2142() -> String { +fn default_2143() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2143() -> Vec { +fn default_2144() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2144() -> Vec { +fn default_2145() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2145() -> String { +fn default_2146() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2146() -> Option { +fn default_2147() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2147() -> Vec { +fn default_2148() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2148() -> Integer { +fn default_2149() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2149() -> Vec { +fn default_2150() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2150() -> Option { +fn default_2151() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2151() -> Vec { +fn default_2152() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2152() -> Vec { +fn default_2153() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2153() -> Option { +fn default_2154() -> Option { serde_json::from_str("0").expect("schema default") } -fn default_2154() -> TuneProposalEffect { +fn default_2155() -> TuneProposalEffect { serde_json::from_str("\"future\"").expect("schema default") } -fn default_2155() -> TuneApplyVia { +fn default_2156() -> TuneApplyVia { serde_json::from_str("\"op\"").expect("schema default") } -fn default_2156() -> bool { +fn default_2157() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_2157() -> Vec { +fn default_2158() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2158() -> Option { +fn default_2159() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2159() -> Option { +fn default_2160() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2160() -> String { +fn default_2161() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2161() -> Vec { +fn default_2162() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2162() -> Vec { +fn default_2163() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2163() -> Option { +fn default_2164() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2164() -> Option { +fn default_2165() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2165() -> Option { +fn default_2166() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2166() -> String { +fn default_2167() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2167() -> Option { +fn default_2168() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2168() -> Option { +fn default_2169() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2169() -> Option { +fn default_2170() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2170() -> Vec { +fn default_2171() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2171() -> bool { +fn default_2172() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2172() -> Option { +fn default_2173() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2173() -> Option { +fn default_2174() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2174() -> Vec { +fn default_2175() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2175() -> String { +fn default_2176() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2176() -> String { +fn default_2177() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2177() -> Vec> { +fn default_2178() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2178() -> std::collections::HashMap { +fn default_2179() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2179() -> Vec { +fn default_2180() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2180() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_2181() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2182() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_2182() -> Integer { + serde_json::from_str("0").expect("schema default") } fn default_2183() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -67041,27 +67043,27 @@ fn default_2183() -> String { fn default_2184() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2185() -> Vec { - serde_json::from_str("[]").expect("schema default") +fn default_2185() -> String { + serde_json::from_str("\"\"").expect("schema default") } fn default_2186() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2187() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_2187() -> Vec { + serde_json::from_str("[]").expect("schema default") } fn default_2188() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2189() -> bool { +fn default_2189() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_2190() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2190() -> Integer { +fn default_2191() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2191() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_2192() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -67071,104 +67073,104 @@ fn default_2193() -> String { fn default_2194() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2195() -> Vec { +fn default_2195() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_2196() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2196() -> String { +fn default_2197() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2197() -> String { +fn default_2198() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2198() -> std::collections::HashMap { +fn default_2199() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2199() -> String { +fn default_2200() -> String { serde_json::from_str("\"active\"").expect("schema default") } -fn default_2200() -> Option { +fn default_2201() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2201() -> Option { +fn default_2202() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2202() -> bool { +fn default_2203() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2203() -> String { +fn default_2204() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2204() -> String { +fn default_2205() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2205() -> Vec { +fn default_2206() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2206() -> Integer { +fn default_2207() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2207() -> String { +fn default_2208() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2208() -> String { +fn default_2209() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2209() -> Option { +fn default_2210() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2210() -> bool { +fn default_2211() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2211() -> String { +fn default_2212() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2212() -> bool { +fn default_2213() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2213() -> String { +fn default_2214() -> String { serde_json::from_str("\"inherit\"").expect("schema default") } -fn default_2214() -> Option { +fn default_2215() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2215() -> Option { +fn default_2216() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2216() -> bool { +fn default_2217() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2217() -> Vec { +fn default_2218() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2218() -> Integer { +fn default_2219() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2219() -> ProcedureEvolveOutputGate { +fn default_2220() -> ProcedureEvolveOutputGate { serde_json::from_str("\"none\"").expect("schema default") } -fn default_2220() -> String { +fn default_2221() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2221() -> f64 { +fn default_2222() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2222() -> std::collections::HashMap { - serde_json::from_str("{}").expect("schema default") -} fn default_2223() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2224() -> std::collections::HashMap { +fn default_2224() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } fn default_2225() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2226() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_2226() -> std::collections::HashMap { + serde_json::from_str("{}").expect("schema default") } -fn default_2227() -> Vec { - serde_json::from_str("[]").expect("schema default") +fn default_2227() -> String { + serde_json::from_str("\"\"").expect("schema default") } fn default_2228() -> Vec { serde_json::from_str("[]").expect("schema default") @@ -67176,134 +67178,134 @@ fn default_2228() -> Vec { fn default_2229() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2230() -> std::collections::HashMap { +fn default_2230() -> Vec { + serde_json::from_str("[]").expect("schema default") +} +fn default_2231() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2231() -> Integer { +fn default_2232() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2232() -> bool { +fn default_2233() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2233() -> std::collections::HashMap { +fn default_2234() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2234() -> Vec { +fn default_2235() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2235() -> std::collections::HashMap { +fn default_2236() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2236() -> String { +fn default_2237() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2237() -> ProcedureLocateOutputStatus { +fn default_2238() -> ProcedureLocateOutputStatus { serde_json::from_str("\"authored\"").expect("schema default") } -fn default_2238() -> Option> { +fn default_2239() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_2239() -> Vec>> { +fn default_2240() -> Vec>> { serde_json::from_str("[]").expect("schema default") } -fn default_2240() -> Vec { +fn default_2241() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2241() -> Vec { +fn default_2242() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2242() -> std::collections::HashMap { +fn default_2243() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2243() -> bool { +fn default_2244() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2244() -> Vec { +fn default_2245() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2245() -> Vec> { +fn default_2246() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2246() -> String { +fn default_2247() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2247() -> std::collections::HashMap { +fn default_2248() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2248() -> std::collections::HashMap { +fn default_2249() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2249() -> Vec { +fn default_2250() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2250() -> std::collections::HashMap { +fn default_2251() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2251() -> Option> { +fn default_2252() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_2252() -> bool { +fn default_2253() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2253() -> std::collections::HashMap { +fn default_2254() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2254() -> ProcedureMatchStatus { +fn default_2255() -> ProcedureMatchStatus { serde_json::from_str("\"authored\"").expect("schema default") } -fn default_2255() -> Option> { +fn default_2256() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_2256() -> Vec { +fn default_2257() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2257() -> Integer { +fn default_2258() -> Integer { serde_json::from_str("1").expect("schema default") } -fn default_2258() -> Vec> { +fn default_2259() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2259() -> f64 { - serde_json::from_str("0.0").expect("schema default") -} fn default_2260() -> f64 { serde_json::from_str("0.0").expect("schema default") } fn default_2261() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2262() -> Option { +fn default_2262() -> f64 { + serde_json::from_str("0.0").expect("schema default") +} +fn default_2263() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2263() -> std::collections::HashMap { +fn default_2264() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2264() -> std::collections::HashMap> { +fn default_2265() -> std::collections::HashMap> { serde_json::from_str("{}").expect("schema default") } -fn default_2265() -> String { +fn default_2266() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2266() -> Integer { +fn default_2267() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2267() -> String { +fn default_2268() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2268() -> f64 { +fn default_2269() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2269() -> Vec { - serde_json::from_str("[]").expect("schema default") -} fn default_2270() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2271() -> Vec { +fn default_2271() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2272() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_2272() -> Vec { + serde_json::from_str("[]").expect("schema default") } fn default_2273() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -67314,101 +67316,101 @@ fn default_2274() -> String { fn default_2275() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2276() -> Option { +fn default_2276() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_2277() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2277() -> Integer { +fn default_2278() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2278() -> Vec { +fn default_2279() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2279() -> std::collections::HashMap { +fn default_2280() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2280() -> Option { +fn default_2281() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2281() -> String { +fn default_2282() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2282() -> Integer { +fn default_2283() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2283() -> String { +fn default_2284() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2284() -> String { +fn default_2285() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2285() -> std::collections::HashMap { +fn default_2286() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2286() -> String { +fn default_2287() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2287() -> String { +fn default_2288() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2288() -> Option { +fn default_2289() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2289() -> RunBeginOutputStatus { +fn default_2290() -> RunBeginOutputStatus { serde_json::from_str("\"active\"").expect("schema default") } -fn default_2290() -> String { +fn default_2291() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2291() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_2292() -> Integer { serde_json::from_str("0").expect("schema default") } fn default_2293() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2294() -> Vec { +fn default_2294() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_2295() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2295() -> Integer { +fn default_2296() -> Integer { serde_json::from_str("-1").expect("schema default") } -fn default_2296() -> Integer { +fn default_2297() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2297() -> Integer { +fn default_2298() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2298() -> String { +fn default_2299() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2299() -> String { +fn default_2300() -> String { serde_json::from_str("\"keep\"").expect("schema default") } -fn default_2300() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_2301() -> Integer { serde_json::from_str("0").expect("schema default") } fn default_2302() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2303() -> Option { +fn default_2303() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_2304() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2304() -> Integer { +fn default_2305() -> Integer { serde_json::from_str("-1").expect("schema default") } -fn default_2305() -> Vec { - serde_json::from_str("[]").expect("schema default") -} fn default_2306() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2307() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_2307() -> Vec { + serde_json::from_str("[]").expect("schema default") } fn default_2308() -> Integer { serde_json::from_str("0").expect("schema default") @@ -67416,57 +67418,57 @@ fn default_2308() -> Integer { fn default_2309() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2310() -> f64 { +fn default_2310() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_2311() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2311() -> Integer { +fn default_2312() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2312() -> Vec { +fn default_2313() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2313() -> Integer { +fn default_2314() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2314() -> Vec { +fn default_2315() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2315() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_2316() -> Integer { serde_json::from_str("0").expect("schema default") } fn default_2317() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2318() -> Vec { +fn default_2318() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_2319() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2319() -> Option { +fn default_2320() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2320() -> Option> { +fn default_2321() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_2321() -> LiveSearchResultsLive { +fn default_2322() -> LiveSearchResultsLive { serde_json::from_str("true").expect("schema default") } -fn default_2322() -> String { +fn default_2323() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2323() -> LiveSearchHitLive { +fn default_2324() -> LiveSearchHitLive { serde_json::from_str("true").expect("schema default") } -fn default_2324() -> Vec { +fn default_2325() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2325() -> Option { +fn default_2326() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2326() -> std::collections::HashMap { - serde_json::from_str("{}").expect("schema default") -} fn default_2327() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } @@ -67476,24 +67478,24 @@ fn default_2328() -> std::collections::HashMap { fn default_2329() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2330() -> Option> { +fn default_2330() -> std::collections::HashMap { + serde_json::from_str("{}").expect("schema default") +} +fn default_2331() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_2331() -> Vec { +fn default_2332() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2332() -> Integer { +fn default_2333() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2333() -> String { +fn default_2334() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2334() -> Integer { +fn default_2335() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2335() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_2336() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -67515,60 +67517,60 @@ fn default_2341() -> String { fn default_2342() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2343() -> Vec { +fn default_2343() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_2344() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2344() -> String { +fn default_2345() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2345() -> String { +fn default_2346() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2346() -> Vec { +fn default_2347() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2347() -> String { +fn default_2348() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2348() -> String { +fn default_2349() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2349() -> Vec { +fn default_2350() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2350() -> Vec { +fn default_2351() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2351() -> Vec { +fn default_2352() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2352() -> String { +fn default_2353() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2353() -> String { +fn default_2354() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2354() -> Vec { +fn default_2355() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2355() -> Vec { +fn default_2356() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2356() -> Vec { +fn default_2357() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2357() -> String { +fn default_2358() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2358() -> String { +fn default_2359() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2359() -> Option { +fn default_2360() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2360() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_2361() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -67584,15 +67586,15 @@ fn default_2364() -> String { fn default_2365() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2366() -> Vec { +fn default_2366() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_2367() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2367() -> Option { +fn default_2368() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2368() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_2369() -> Integer { serde_json::from_str("0").expect("schema default") } @@ -67605,11 +67607,11 @@ fn default_2371() -> Integer { fn default_2372() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2373() -> bool { - serde_json::from_str("false").expect("schema default") +fn default_2373() -> Integer { + serde_json::from_str("0").expect("schema default") } -fn default_2374() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_2374() -> bool { + serde_json::from_str("false").expect("schema default") } fn default_2375() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -67629,21 +67631,21 @@ fn default_2379() -> String { fn default_2380() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2381() -> Option { +fn default_2381() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_2382() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2382() -> Integer { +fn default_2383() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2383() -> Integer { +fn default_2384() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2384() -> Vec { +fn default_2385() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2385() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_2386() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -67653,8 +67655,8 @@ fn default_2387() -> String { fn default_2388() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2389() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_2389() -> String { + serde_json::from_str("\"\"").expect("schema default") } fn default_2390() -> Integer { serde_json::from_str("0").expect("schema default") @@ -67668,32 +67670,32 @@ fn default_2392() -> Integer { fn default_2393() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2394() -> f64 { - serde_json::from_str("0.0").expect("schema default") -} -fn default_2395() -> Integer { +fn default_2394() -> Integer { serde_json::from_str("0").expect("schema default") } +fn default_2395() -> f64 { + serde_json::from_str("0.0").expect("schema default") +} fn default_2396() -> Integer { serde_json::from_str("0").expect("schema default") } fn default_2397() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2398() -> String { +fn default_2398() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_2399() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2399() -> SessionBriefStats { +fn default_2400() -> SessionBriefStats { serde_json::from_str("{\"events_in\":0,\"windows\":0,\"events_total\":0,\"source_chars\":0,\"brief_chars\":0,\"compression_ratio\":0.0,\"dropped_ungrounded\":0,\"tokens_in\":0,\"tokens_out\":0,\"llm_model\":\"\"}").expect("schema default") } -fn default_2400() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_2401() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2402() -> Option { - serde_json::from_str("null").expect("schema default") +fn default_2402() -> String { + serde_json::from_str("\"\"").expect("schema default") } fn default_2403() -> Option { serde_json::from_str("null").expect("schema default") @@ -67701,57 +67703,57 @@ fn default_2403() -> Option { fn default_2404() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2405() -> Integer { +fn default_2405() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_2406() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2406() -> std::collections::HashMap { +fn default_2407() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2407() -> String { +fn default_2408() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2408() -> String { +fn default_2409() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2409() -> Option { +fn default_2410() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2410() -> String { +fn default_2411() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2411() -> Integer { +fn default_2412() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2412() -> Integer { +fn default_2413() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2413() -> Option { +fn default_2414() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2414() -> std::collections::HashMap { +fn default_2415() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2415() -> String { +fn default_2416() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2416() -> Integer { +fn default_2417() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2417() -> String { +fn default_2418() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2418() -> Option { +fn default_2419() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2419() -> String { +fn default_2420() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2420() -> Option { +fn default_2421() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2421() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_2422() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -67761,327 +67763,327 @@ fn default_2423() -> String { fn default_2424() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2425() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_2425() -> String { + serde_json::from_str("\"\"").expect("schema default") } fn default_2426() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2427() -> String { +fn default_2427() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_2428() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2428() -> std::collections::HashMap { +fn default_2429() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2429() -> String { +fn default_2430() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2430() -> String { +fn default_2431() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2431() -> bool { +fn default_2432() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2432() -> String { +fn default_2433() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2433() -> std::collections::HashMap { +fn default_2434() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2434() -> Vec> { +fn default_2435() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2435() -> Vec { +fn default_2436() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2436() -> Vec { +fn default_2437() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2437() -> bool { +fn default_2438() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2438() -> String { +fn default_2439() -> String { serde_json::from_str("\"unknown\"").expect("schema default") } -fn default_2439() -> String { +fn default_2440() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2440() -> Vec { +fn default_2441() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2441() -> bool { +fn default_2442() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2442() -> String { +fn default_2443() -> String { serde_json::from_str("\"none\"").expect("schema default") } -fn default_2443() -> bool { +fn default_2444() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2444() -> Vec { +fn default_2445() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2445() -> std::collections::HashMap { +fn default_2446() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2446() -> Vec> { +fn default_2447() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2447() -> bool { +fn default_2448() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2448() -> bool { +fn default_2449() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2449() -> Vec> { +fn default_2450() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2450() -> std::collections::HashMap { +fn default_2451() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2451() -> String { +fn default_2452() -> String { serde_json::from_str("\"none\"").expect("schema default") } -fn default_2452() -> Vec> { +fn default_2453() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2453() -> bool { +fn default_2454() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2454() -> String { +fn default_2455() -> String { serde_json::from_str("\"calibrated\"").expect("schema default") } -fn default_2455() -> std::collections::HashMap { +fn default_2456() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2456() -> std::collections::HashMap { +fn default_2457() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2457() -> String { +fn default_2458() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2458() -> std::collections::HashMap { +fn default_2459() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2459() -> std::collections::HashMap { +fn default_2460() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2460() -> std::collections::HashMap { +fn default_2461() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2461() -> String { +fn default_2462() -> String { serde_json::from_str("\"ok\"").expect("schema default") } -fn default_2462() -> String { +fn default_2463() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2463() -> String { +fn default_2464() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2464() -> bool { +fn default_2465() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2465() -> Integer { +fn default_2466() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2466() -> String { +fn default_2467() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2467() -> String { +fn default_2468() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2468() -> Vec { +fn default_2469() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2469() -> bool { +fn default_2470() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2470() -> Vec { +fn default_2471() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2471() -> std::collections::HashMap> { +fn default_2472() -> std::collections::HashMap> { serde_json::from_str("{}").expect("schema default") } -fn default_2472() -> Vec> { +fn default_2473() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2473() -> Vec> { +fn default_2474() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2474() -> String { +fn default_2475() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2475() -> Vec> { +fn default_2476() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2476() -> std::collections::HashMap { +fn default_2477() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2477() -> String { +fn default_2478() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2478() -> Vec> { +fn default_2479() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2479() -> bool { +fn default_2480() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2480() -> Integer { +fn default_2481() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2481() -> Vec> { +fn default_2482() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2482() -> String { +fn default_2483() -> String { serde_json::from_str("\"no_flaky_signal\"").expect("schema default") } -fn default_2483() -> bool { +fn default_2484() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2484() -> Option> { +fn default_2485() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_2485() -> Vec { +fn default_2486() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2486() -> bool { +fn default_2487() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2487() -> std::collections::HashMap { +fn default_2488() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2488() -> String { +fn default_2489() -> String { serde_json::from_str("\"not_computed\"").expect("schema default") } -fn default_2489() -> Vec> { +fn default_2490() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2490() -> String { +fn default_2491() -> String { serde_json::from_str("\"candidate\"").expect("schema default") } -fn default_2491() -> std::collections::HashMap { +fn default_2492() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2492() -> String { +fn default_2493() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2493() -> bool { +fn default_2494() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2494() -> Integer { +fn default_2495() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2495() -> std::collections::HashMap { +fn default_2496() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2496() -> bool { +fn default_2497() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2497() -> Vec> { +fn default_2498() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2498() -> std::collections::HashMap { +fn default_2499() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2499() -> std::collections::HashMap { +fn default_2500() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2500() -> String { +fn default_2501() -> String { serde_json::from_str("\"lower_bound\"").expect("schema default") } -fn default_2501() -> bool { +fn default_2502() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2502() -> Vec { +fn default_2503() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2503() -> Vec> { +fn default_2504() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2504() -> std::collections::HashMap { +fn default_2505() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2505() -> Vec { +fn default_2506() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2506() -> String { +fn default_2507() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2507() -> bool { +fn default_2508() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2508() -> bool { +fn default_2509() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_2509() -> std::collections::HashMap { +fn default_2510() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2510() -> String { +fn default_2511() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2511() -> bool { +fn default_2512() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_2512() -> std::collections::HashMap { +fn default_2513() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2513() -> std::collections::HashMap { +fn default_2514() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2514() -> Vec> { +fn default_2515() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2515() -> Vec { +fn default_2516() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2516() -> std::collections::HashMap { +fn default_2517() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2517() -> Vec> { +fn default_2518() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2518() -> bool { +fn default_2519() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_2519() -> bool { +fn default_2520() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2520() -> Vec { +fn default_2521() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2521() -> std::collections::HashMap { +fn default_2522() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2522() -> String { +fn default_2523() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2523() -> std::collections::HashMap { +fn default_2524() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2524() -> bool { +fn default_2525() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2525() -> bool { +fn default_2526() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_2526() -> String { +fn default_2527() -> String { serde_json::from_str("\"no_signal\"").expect("schema default") } -fn default_2527() -> Vec { +fn default_2528() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2528() -> f64 { +fn default_2529() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2529() -> Integer { +fn default_2530() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2530() -> String { +fn default_2531() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2531() -> std::collections::HashMap { - serde_json::from_str("{}").expect("schema default") -} fn default_2532() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } @@ -68091,18 +68093,18 @@ fn default_2533() -> std::collections::HashMap { fn default_2534() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2535() -> String { +fn default_2535() -> std::collections::HashMap { + serde_json::from_str("{}").expect("schema default") +} +fn default_2536() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2536() -> std::collections::HashMap { +fn default_2537() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2537() -> bool { +fn default_2538() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2538() -> std::collections::HashMap { - serde_json::from_str("{}").expect("schema default") -} fn default_2539() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } @@ -68112,54 +68114,57 @@ fn default_2540() -> std::collections::HashMap { fn default_2541() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2542() -> String { +fn default_2542() -> std::collections::HashMap { + serde_json::from_str("{}").expect("schema default") +} +fn default_2543() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2543() -> Vec> { +fn default_2544() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2544() -> Integer { +fn default_2545() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2545() -> String { +fn default_2546() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2546() -> bool { +fn default_2547() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_2547() -> String { +fn default_2548() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2548() -> Vec { +fn default_2549() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2549() -> bool { +fn default_2550() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2550() -> Vec { +fn default_2551() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2551() -> f64 { +fn default_2552() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2552() -> String { +fn default_2553() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2553() -> Integer { +fn default_2554() -> Integer { serde_json::from_str("4096").expect("schema default") } -fn default_2554() -> Integer { +fn default_2555() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2555() -> Option { +fn default_2556() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2556() -> f64 { +fn default_2557() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2557() -> Option { +fn default_2558() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2558() -> Vec { +fn default_2559() -> Vec { serde_json::from_str("[]").expect("schema default") } diff --git a/sdk/rust/tests/registry_contracts.rs b/sdk/rust/tests/registry_contracts.rs index db0242d646e..84949522cb8 100644 --- a/sdk/rust/tests/registry_contracts.rs +++ b/sdk/rust/tests/registry_contracts.rs @@ -4069,6 +4069,11 @@ fn knowledge_source_list() { serde_json::from_str::("true").unwrap(), "knowledge.source.list:accepts_sources" ); + assert_eq!( + encoded["self_service"], + serde_json::from_str::("true").unwrap(), + "knowledge.source.list:self_service" + ); } #[test] fn knowledge_source_inspect() { diff --git a/sdk/typescript/src/generated/ops.ts b/sdk/typescript/src/generated/ops.ts index a715a57ecb7..8eaeb3085d7 100644 --- a/sdk/typescript/src/generated/ops.ts +++ b/sdk/typescript/src/generated/ops.ts @@ -4587,6 +4587,7 @@ export interface KnowledgeSourceListOutput { sources?: KnowledgeSourceEntry[]; enabled?: boolean; accepts_sources?: boolean; + self_service?: boolean; } export interface KnowledgeSourceParseLinksInput { diff --git a/server/knowledge/api/models_sources.py b/server/knowledge/api/models_sources.py index 2a8c6c7e061..6e14bdf951b 100644 --- a/server/knowledge/api/models_sources.py +++ b/server/knowledge/api/models_sources.py @@ -145,6 +145,9 @@ class KnowledgeSourceListOutput(BaseModel): enabled: bool = False # False where add would refuse the namespace (PERSONAL_NAMESPACE, NAMESPACE_INACTIVE). accepts_sources: bool = True + # Whether knowledge.source.add and rotate answer on this deployment + # (LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED); the page offers neither when false. + self_service: bool = True _ITEMS_DESCRIPTION = ( diff --git a/server/knowledge/app/sources.py b/server/knowledge/app/sources.py index fcbc9f0d731..8fee1583e68 100644 --- a/server/knowledge/app/sources.py +++ b/server/knowledge/app/sources.py @@ -345,6 +345,17 @@ async def _require_source_namespace(org: str, namespace: str) -> None: raise refusal +def _require_self_service() -> None: + """Refuse an op that takes a member's credential while the operator has turned + self-service document sources off, before any probe or write.""" + if not settings.knowledge_source_self_service_enabled: + raise ValidationError( + "adding a document source or rotating its credential is off on this " + "deployment (LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED); ask the operator", + code="SELF_SERVICE_OFF", + ) + + def _require_kind(kind: str) -> None: if kind not in domain.KINDS: raise ValidationError( @@ -451,6 +462,7 @@ async def handle_knowledge_source_list( accepts_sources=await _source_refusal(input.org, input.namespace) is None, sources=entries, enabled=bool(settings.knowledge_source_sync_enabled), + self_service=bool(settings.knowledge_source_self_service_enabled), ) @@ -505,6 +517,7 @@ async def handle_knowledge_source_inspect( async def handle_knowledge_source_add(input: KnowledgeSourceAddInput) -> KnowledgeSourceAddOutput: + _require_self_service() name = domain.normalize_name(input.name) if not domain.valid_name(name): raise ValidationError( @@ -719,6 +732,7 @@ async def handle_knowledge_source_check( async def handle_knowledge_source_rotate( input: KnowledgeSourceRotateInput, ) -> KnowledgeSourceRotateOutput: + _require_self_service() src = await _source_or_404(input.org, input.namespace, input.name) _require_served(src) _require_supported_recording_provider(src) diff --git a/server/settings/catalog.py b/server/settings/catalog.py index 6410785d0d8..4d717d33b3a 100644 --- a/server/settings/catalog.py +++ b/server/settings/catalog.py @@ -2515,6 +2515,9 @@ class KnowledgeSettings(BaseModel): # credential, spends embedding calls on every changed document and model calls # mining it for decisions. knowledge_source_sync_enabled: bool = False + # Off refuses knowledge.source.add and knowledge.source.rotate (SELF_SERVICE_OFF), so no + # member's credential reaches the pods; the other source operations still answer. + knowledge_source_self_service_enabled: bool = True # Require protected automatic session capture and persist deployment privacy state. # Off does not lift protection while the deployment latch remains set. knowledge_mirrored_sources_enabled: bool = False diff --git a/tests/unit/snapshots/settings_defaults.json b/tests/unit/snapshots/settings_defaults.json index ff945794aee..f17f935fa01 100644 --- a/tests/unit/snapshots/settings_defaults.json +++ b/tests/unit/snapshots/settings_defaults.json @@ -642,6 +642,7 @@ "knowledge_source_push_provider_timeout_s": 40.0, "knowledge_source_push_stop_timeout_s": 2.0, "knowledge_source_retire_documents_per_pass": 40, + "knowledge_source_self_service_enabled": true, "knowledge_source_sync_cap_share": 0.25, "knowledge_source_sync_documents_per_pass": 40, "knowledge_source_sync_enabled": false, diff --git a/tests/unit/test_knowledge_sources.py b/tests/unit/test_knowledge_sources.py index 95577f21239..9bd3044db66 100644 --- a/tests/unit/test_knowledge_sources.py +++ b/tests/unit/test_knowledge_sources.py @@ -1255,6 +1255,49 @@ def accepts(namespace: str) -> bool: assert not accepts("retired") +@pytest.mark.parametrize("mode", ["shared", "connected"]) +def test_self_service_off_refuses_add_before_the_probe( + fake: _Store, monkeypatch: pytest.MonkeyPatch, mode: str +) -> None: + monkeypatch.setattr(settings, "knowledge_source_self_service_enabled", False) + assert _code(app.handle_knowledge_source_add(_add(credential_mode=mode))) == ( + "SELF_SERVICE_OFF" + ) + assert fake.rows == {} and fake.probes == [] + + +def test_self_service_off_refuses_rotate_and_keeps_the_stored_credential( + fake: _Store, monkeypatch: pytest.MonkeyPatch +) -> None: + asyncio.run(app.handle_knowledge_source_add(_add())) + before = fake.rows[(ORG, NS, "design-decks")].credential_enc + monkeypatch.setattr(settings, "knowledge_source_self_service_enabled", False) + body = KnowledgeSourceRotateInput(org=ORG, namespace=NS, name="design-decks", credential="k2") + assert _code(app.handle_knowledge_source_rotate(body)) == "SELF_SERVICE_OFF" + assert fake.rows[(ORG, NS, "design-decks")].credential_enc == before + assert len(fake.probes) == 1 # the add's only + + +def test_self_service_off_keeps_the_reads_and_the_list_says_so( + fake: _Store, monkeypatch: pytest.MonkeyPatch +) -> None: + asyncio.run(app.handle_knowledge_source_add(_add())) + + def listed() -> Any: + body = KnowledgeSourceListInput(org=ORG, namespace=NS) + return asyncio.run(app.handle_knowledge_source_list(body)) + + assert listed().self_service + monkeypatch.setattr(settings, "knowledge_source_self_service_enabled", False) + out = listed() + assert not out.self_service and out.accepts_sources + assert [s.name for s in out.sources] == ["design-decks"] + body = KnowledgeSourceInspectInput(org=ORG, namespace=NS, name="design-decks") + assert asyncio.run(app.handle_knowledge_source_inspect(body)).name == "design-decks" + links = KnowledgeSourceParseLinksInput(org=ORG, namespace=NS, links=[LINK]) + assert asyncio.run(app.handle_knowledge_source_parse_links(links)).links[0].kind == "gdrive" + + def test_a_collection_the_tree_no_longer_holds_takes_no_source( fake: _Store, monkeypatch: pytest.MonkeyPatch ) -> None: From abbec00b0f3d2c3051149d11e05f9b1251704175 Mon Sep 17 00:00:00 2001 From: Vanshaj Poonia Date: Sat, 28 Nov 2026 11:31:59 +0530 Subject: [PATCH 2/9] The dashboard offers no add or rotate when self-service sources are off With self_service false the Sources list hides Add a source and the Rotate credential item and says adding is turned off. Check, Sync now, push notifications and Retire stay. Signed-off-by: Vanshaj Poonia --- frontend/src/lib/knowledgeSources.ts | 2 ++ frontend/src/views/Documents.sources.test.tsx | 17 ++++++++++++++ frontend/src/views/SourcesList.tsx | 23 ++++++++++++++----- 3 files changed, 36 insertions(+), 6 deletions(-) diff --git a/frontend/src/lib/knowledgeSources.ts b/frontend/src/lib/knowledgeSources.ts index c77b1a3a611..3aabe6e3de7 100644 --- a/frontend/src/lib/knowledgeSources.ts +++ b/frontend/src/lib/knowledgeSources.ts @@ -60,6 +60,8 @@ export interface KnowledgeSourceList { enabled: boolean; /** False where add would refuse the namespace; absent from an older server. */ accepts_sources?: boolean; + /** False where the operator turned add and rotate off; absent from an older server. */ + self_service?: boolean; } export interface KnowledgeSourceProbe { diff --git a/frontend/src/views/Documents.sources.test.tsx b/frontend/src/views/Documents.sources.test.tsx index 67e3aaf689a..fed8d0c9c90 100644 --- a/frontend/src/views/Documents.sources.test.tsx +++ b/frontend/src/views/Documents.sources.test.tsx @@ -304,6 +304,23 @@ describe("Library sources", () => { ).toEqual(["Check", "Retire"]); }); + it("offers no Add and no Rotate where the deployment turned self-service off", async () => { + sources.listKnowledgeSources.mockResolvedValue({ ...LISTED, self_service: false }); + show("admin"); + await openSources(); + expect(await screen.findByText("team-notes")).toBeInTheDocument(); + expect(screen.getByText("Adding document sources is turned off on this deployment.")).toBeInTheDocument(); + expect(screen.queryByRole("button", { name: "Add a source" })).toBeNull(); + const user = userEvent.setup(); + await user.click(screen.getByRole("button", { name: "Actions for team-notes" })); + const menu = await screen.findByRole("menu", { name: "Actions for team-notes" }); + expect( + within(menu) + .getAllByRole("menuitem") + .map((m) => m.textContent), + ).toEqual(["Check", "Sync now", "Push notifications", "Retire"]); + }); + it("keeps the list closed, counted on its button, until it is pressed, and closes again", async () => { show("viewer"); const user = userEvent.setup(); diff --git a/frontend/src/views/SourcesList.tsx b/frontend/src/views/SourcesList.tsx index 36e48e466e0..ebc2c8daf61 100644 --- a/frontend/src/views/SourcesList.tsx +++ b/frontend/src/views/SourcesList.tsx @@ -56,7 +56,7 @@ const TONE_STATE: Record = { ok: "success", warn: "warning type State = | { kind: "loading" } - | { kind: "ready"; sources: KnowledgeSource[]; enabled: boolean; accepts: boolean } + | { kind: "ready"; sources: KnowledgeSource[]; enabled: boolean; accepts: boolean; selfService: boolean } | { kind: "absent" } | { kind: "refused" } | { kind: "error"; error: unknown }; @@ -162,7 +162,13 @@ export function SourcesList({ try { const r = await listKnowledgeSources(id, { signal }); if (!live()) return; - setState({ kind: "ready", sources: r.sources, enabled: r.enabled, accepts: r.accepts_sources !== false }); + setState({ + kind: "ready", + sources: r.sources, + enabled: r.enabled, + accepts: r.accepts_sources !== false, + selfService: r.self_service !== false, + }); } catch (e) { if (!live()) return; if (isOpAbsent(e)) setState({ kind: "absent" }); @@ -182,7 +188,9 @@ export function SourcesList({ const retire: RowMenuItem = { label: "Retire", icon: "trash", danger: true, onSelect: act("retire") }; // A place that takes no new source refuses a sync and a rotation: Check and Retire remain. const closed = state.kind === "ready" && !state.accepts; - const items = closed ? [check, retire] : [check, sync, rotate, retire]; + // With self-service off the deployment refuses a rotation too; a sync still runs. + const rotates = state.kind === "ready" && state.selfService; + const items = closed ? [check, retire] : rotates ? [check, sync, rotate, retire] : [check, sync, retire]; if (!closed && ["gdrive", "notion", "linear"].includes(s.kind)) { items.splice(2, 0, { label: "Push notifications", icon: "refresh", onSelect: act("push") }); } @@ -195,7 +203,7 @@ export function SourcesList({ // The Library's section hides while its list loads, on an empty place that takes // no source or that this caller cannot add to, and from a non-admin when the list failed. const empty = state.kind === "ready" && state.sources.length === 0; - const closedAndEmpty = empty && !state.accepts; + const closedAndEmpty = empty && (!state.accepts || !state.selfService); const nothingForReader = empty && !manageable; const loading = state.kind === "loading"; const failedForReader = state.kind !== "ready" && !loading && !manageable; @@ -223,7 +231,10 @@ export function SourcesList({ {manageable && state.sources.length > 0 ? "; retire these when they are no longer needed." : "."}

)} - {state.kind === "ready" && state.accepts && state.sources.length === 0 && ( + {state.kind === "ready" && state.accepts && !state.selfService && ( +

Adding document sources is turned off on this deployment.

+ )} + {state.kind === "ready" && state.accepts && state.selfService && state.sources.length === 0 && (

No document sources.{" "} {manageable @@ -238,7 +249,7 @@ export function SourcesList({ ))} )} - {manageable && state.kind === "ready" && state.accepts && ( + {manageable && state.kind === "ready" && state.accepts && state.selfService && ( From 27b32c0928de8bb38270023b8fefa2cf6eb07c0c Mon Sep 17 00:00:00 2001 From: Vanshaj Poonia Date: Sat, 28 Nov 2026 11:31:59 +0530 Subject: [PATCH 3/9] The knowledge guide names the switch for self-service document sources Signed-off-by: Vanshaj Poonia --- docs/features/knowledge.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/features/knowledge.md b/docs/features/knowledge.md index 7782839248c..8f9e195e7ad 100644 --- a/docs/features/knowledge.md +++ b/docs/features/knowledge.md @@ -139,8 +139,12 @@ and databases are shared with, whose credential is the integration's token; and ([recordings](#a-recording-source)). The `knowledge_source_sync` worker pulls each source's files into the namespace's documents ([syncing](#syncing-a-source)); `list` says whether this deployment runs it (`enabled`, `LOOM_KNOWLEDGE_SOURCE_SYNC_ENABLED`, -off by default). The design of connected accounts and access that follows the store's -permissions is in [document sources](../architecture/document-sources.md). +off by default). An operator who keeps members' credentials off the deployment sets +`LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED=false`: `add` and `rotate` then answer +`SELF_SERVICE_OFF` before any probe or write, the other source operations still answer, +`list` says so (`self_service`), and the dashboard offers neither. The design of +connected accounts and access that follows the store's permissions is in +[document sources](../architecture/document-sources.md). Open **Settings → Connected accounts** to connect your Google Drive, Notion or Linear account. Choose **Connect**, complete the provider's consent screen, and return to the From fb3577758be76715dc484cf07f0ffc04af24770e Mon Sep 17 00:00:00 2001 From: Vanshaj Poonia Date: Sat, 28 Nov 2026 12:38:05 +0530 Subject: [PATCH 4/9] The self-service switch for document sources takes a runtime override Both handlers read knowledge_source_self_service_enabled at call time, so it is a live setting: an admin turns it off with admin/settings.set and no restart. Signed-off-by: Vanshaj Poonia --- docs/reference/configuration.md | 2 +- loom.example.yaml | 2 +- server/settings/catalog.py | 2 +- tests/unit/snapshots/live_settings.json | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index cb26f9cd911..8ebf34e23b9 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -1034,7 +1034,7 @@ Knowledge documents and conversations: chunking, search floor, thread titles. | `LOOM_KNOWLEDGE_CONNECTED_SOURCES_MAX_PER_PERSON` | `int` | `8` | live | Active connected sources one canonical person may register in one namespace. | | `LOOM_KNOWLEDGE_SOURCE_PROBE_TIMEOUT_S` | `float` | `20.0` | live | Seconds a document source's probe (add, update, check, rotate) or tracker short-id lookup may take in all; past it add, update and rotate answer SOURCE_UNREACHABLE and check answers reachable: false. | | `LOOM_KNOWLEDGE_SOURCE_SYNC_ENABLED` | `bool` | `False` | | The knowledge_source_sync worker: pulls each registered document source's changed files into its namespace's documents. Off by default: it needs each source's credential, spends embedding calls on every changed document and model calls mining it for decisions. | -| `LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED` | `bool` | `True` | | Off refuses knowledge.source.add and knowledge.source.rotate (SELF_SERVICE_OFF), so no member's credential reaches the pods; the other source operations still answer. | +| `LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED` | `bool` | `True` | live | Off refuses knowledge.source.add and knowledge.source.rotate (SELF_SERVICE_OFF), so no member's credential reaches the pods; the other source operations still answer. | | `LOOM_KNOWLEDGE_MIRRORED_SOURCES_ENABLED` | `bool` | `False` | | Require protected automatic session capture and persist deployment privacy state. Off does not lift protection while the deployment latch remains set. | | `LOOM_KNOWLEDGE_SOURCE_ACL_STALE_SECONDS` | `int` | `3600` | | Mirrored reads require a complete listing and group observation within this many seconds; missing or older evidence admits nobody. | | `LOOM_KNOWLEDGE_SOURCE_ACL_MAX_ENTRIES` | `int` | `10000` | | Maximum team and member rows read for one project's complete permission list. A larger list refuses publication rather than granting from a partial page. | diff --git a/loom.example.yaml b/loom.example.yaml index 0c48f7f8199..e25d966497f 100644 --- a/loom.example.yaml +++ b/loom.example.yaml @@ -3073,7 +3073,7 @@ settings: # Off refuses knowledge.source.add and knowledge.source.rotate (SELF_SERVICE_OFF), so # no member's credential reaches the pods; the other source operations still answer. - # [restart] + # [live] # knowledge_source_self_service_enabled: true # Require protected automatic session capture and persist deployment privacy state. diff --git a/server/settings/catalog.py b/server/settings/catalog.py index 4d717d33b3a..515e4af23d8 100644 --- a/server/settings/catalog.py +++ b/server/settings/catalog.py @@ -2517,7 +2517,7 @@ class KnowledgeSettings(BaseModel): knowledge_source_sync_enabled: bool = False # Off refuses knowledge.source.add and knowledge.source.rotate (SELF_SERVICE_OFF), so no # member's credential reaches the pods; the other source operations still answer. - knowledge_source_self_service_enabled: bool = True + knowledge_source_self_service_enabled: Annotated[bool, LIVE] = True # Require protected automatic session capture and persist deployment privacy state. # Off does not lift protection while the deployment latch remains set. knowledge_mirrored_sources_enabled: bool = False diff --git a/tests/unit/snapshots/live_settings.json b/tests/unit/snapshots/live_settings.json index fe6281bb824..a8511b984f0 100644 --- a/tests/unit/snapshots/live_settings.json +++ b/tests/unit/snapshots/live_settings.json @@ -120,6 +120,7 @@ "knowledge_source_mirror_documents_per_pass", "knowledge_source_probe_timeout_s", "knowledge_source_retire_documents_per_pass", + "knowledge_source_self_service_enabled", "knowledge_source_sync_cap_share", "knowledge_source_sync_documents_per_pass", "knowledge_source_sync_full_interval_seconds", From 207672f387d25c9be4e1cf5e2b43dac778e29151 Mon Sep 17 00:00:00 2001 From: Vanshaj Poonia Date: Sat, 28 Nov 2026 12:38:05 +0530 Subject: [PATCH 5/9] The HTTP suite covers the self-service switch for document sources knowledge.source.list reports self_service true by default. With the switch off through a runtime override, add and rotate answer 422 SELF_SERVICE_OFF, the list reports false and still lists the source, and inspect still answers. The override is cleared after the case. Signed-off-by: Vanshaj Poonia --- tests/integration/test_knowledge_sources.py | 55 +++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/tests/integration/test_knowledge_sources.py b/tests/integration/test_knowledge_sources.py index b10930db40d..1c328af91b0 100644 --- a/tests/integration/test_knowledge_sources.py +++ b/tests/integration/test_knowledge_sources.py @@ -7,15 +7,18 @@ from __future__ import annotations +import asyncio import json import os import time import uuid +from collections.abc import Iterator from typing import Any import httpx import pytest +from tests.integration._eventually import overrides_adopted from tests.integration._resources import unique_org from tests.integration._sources import CONFIG, NAME, seed_source @@ -207,6 +210,58 @@ def test_a_source_on_a_plain_namespace_serves_check_and_sync_now( assert removed.status_code == 200, removed.text +@pytest.fixture +def self_service_off(control_plane_url: str) -> Iterator[None]: + """Self-service document sources off through a runtime override, cleared after.""" + tok = os.environ.get("LOOM_API_KEY") + headers = {"Authorization": f"Bearer {tok}"} if tok else {} + + def _set(body: dict[str, Any]) -> None: + r = httpx.post( + f"{control_plane_url}/v1/admin/settings.set", + json={"name": "knowledge_source_self_service_enabled", **body}, + headers=headers, + timeout=10.0, + ) + assert r.status_code == 200, r.text + asyncio.run(overrides_adopted()) + + _set({"value": False}) + try: + yield + finally: + _set({"clear": True}) + + +def test_the_list_says_self_service_is_on_by_default( + control_plane_url: str, plain_source: Any +) -> None: + org, ns = plain_source + listed = _post(control_plane_url, "knowledge.source.list", {"org": org, "namespace": ns}) + assert listed.status_code == 200, listed.text + assert listed.json()["self_service"] is True + + +def test_self_service_off_refuses_add_and_rotate_and_keeps_the_reads( + control_plane_url: str, plain_source: Any, self_service_off: None +) -> None: + org, ns = plain_source + named = {"org": org, "namespace": ns, "name": NAME} + add = {**named, "name": "other", "kind": "gdrive", "config": CONFIG, "credential": "{}"} + for op, body in ( + ("knowledge.source.add", add), + ("knowledge.source.rotate", {**named, "credential": "{}"}), + ): + out = _post(control_plane_url, op, body) + assert out.status_code == 422, (op, out.text) + assert out.json()["detail"]["code"] == "SELF_SERVICE_OFF", (op, out.text) + listed = _post(control_plane_url, "knowledge.source.list", {"org": org, "namespace": ns}) + assert listed.status_code == 200, listed.text + assert listed.json()["self_service"] is False + assert [s["name"] for s in listed.json()["sources"]] == [NAME] + assert _post(control_plane_url, "knowledge.source.inspect", named).status_code == 200 + + def test_add_takes_a_namespace_that_is_not_a_repository(control_plane_url: str) -> None: body = { "org": unique_org("ksrc"), From 3baac1e44f044e75d25b6562e29d07f090727ab2 Mon Sep 17 00:00:00 2001 From: Vanshaj Poonia Date: Sat, 28 Nov 2026 12:38:05 +0530 Subject: [PATCH 6/9] SELF_SERVICE_OFF reads the same for every action it refuses The dashboard's lead-in for the code said repositories, so a refused document source add or rotation read as "Adding repositories is turned off". The lead-in is now neutral and the server's message names the action. The add and rotate dialogs each cover a refusal. Signed-off-by: Vanshaj Poonia --- .../src/flows/KnowledgeSourceDialog.test.tsx | 34 +++++++++++++++++++ frontend/src/lib/errorWords.ts | 3 +- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/frontend/src/flows/KnowledgeSourceDialog.test.tsx b/frontend/src/flows/KnowledgeSourceDialog.test.tsx index 3024fc29024..4012c41ca76 100644 --- a/frontend/src/flows/KnowledgeSourceDialog.test.tsx +++ b/frontend/src/flows/KnowledgeSourceDialog.test.tsx @@ -56,6 +56,14 @@ afterEach(() => { const refused = () => new ApiError({ status: 400, code: "CREDENTIAL_REFUSED", message: "the source refused the credential: http_401" }); +const selfServiceOff = () => + new ApiError({ + status: 422, + code: "SELF_SERVICE_OFF", + message: + "adding a document source or rotating its credential is off on this deployment " + + "(LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED); ask the operator", + }); /** Nothing the page shows — its text, a field's value outside the password input, a * toast — carries the key. */ @@ -141,6 +149,18 @@ describe("AddSourceDialog", () => { expectKeyNowhere(); }); + it("words a self-service refusal by the document source it refused, not repositories", async () => { + vi.mocked(addKnowledgeSource).mockRejectedValue(selfServiceOff()); + renderAdd(); + await fill(); + fireEvent.click(screen.getByRole("button", { name: "Check" })); + const alert = await screen.findByRole("alert"); + expect(alert).toHaveTextContent("The operator turned this off"); + expect(alert).toHaveTextContent("adding a document source"); + expect(alert).not.toHaveTextContent(/repositor/i); + expectKeyNowhere(); + }); + it("a refused add keeps the passed check, so Add can be tried again", async () => { vi.mocked(addKnowledgeSource).mockImplementation(async (_id, _f, dryRun) => { if (dryRun) return addResult(true); @@ -394,6 +414,20 @@ describe("RotateSourceDialog", () => { expect(await screen.findByRole("alert")).toHaveTextContent("refused the credential"); expectKeyNowhere(); }); + + it("words a self-service refusal of a rotation without naming repositories", async () => { + vi.mocked(rotateKnowledgeSource).mockRejectedValue(selfServiceOff()); + render( + {}} {...NS} name="design-docs" kind="gdrive" onRotated={() => {}} />, + ); + fireEvent.change(screen.getByLabelText(/^Service account key/), { target: { value: KEY } }); + fireEvent.click(screen.getByRole("button", { name: "Rotate" })); + const alert = await screen.findByRole("alert"); + expect(alert).toHaveTextContent("The operator turned this off"); + expect(alert).toHaveTextContent("rotating its credential"); + expect(alert).not.toHaveTextContent(/repositor/i); + expectKeyNowhere(); + }); }); describe("CheckSourceDialog", () => { diff --git a/frontend/src/lib/errorWords.ts b/frontend/src/lib/errorWords.ts index cdb8405ace8..d16cac6e21e 100644 --- a/frontend/src/lib/errorWords.ts +++ b/frontend/src/lib/errorWords.ts @@ -71,7 +71,8 @@ export const ERROR_CODE_PREFIXES: Record = { MODEL_CALLS_DISABLED: "Model calls are off for this org; an org admin can turn them on in Admin › Guardrails unless a platform admin locked them:", SANDBOX_UNAVAILABLE: "Adding repositories is turned off on this deployment:", - SELF_SERVICE_OFF: "Adding repositories is turned off on this deployment:", + // Shared by repositories, tracker sources and document sources: the server's words name the action. + SELF_SERVICE_OFF: "The operator turned this off:", REPO_EXISTS: "This repository is already indexed:", REPO_QUOTA: "The repository limit is reached:", }; From 77202e79e3aad2a48f25de2462b71f18e8ad8b22 Mon Sep 17 00:00:00 2001 From: Vanshaj Poonia Date: Sun, 29 Nov 2026 12:55:45 +0530 Subject: [PATCH 7/9] The self-service setting names add and rotate, and connected accounts are governed by their provider's client id Signed-off-by: Vanshaj Poonia --- docs/features/knowledge.md | 13 ++++++++----- docs/reference/configuration.md | 2 +- loom.example.yaml | 4 ++-- schemas/loom-settings.schema.json | 2 +- server/settings/catalog.py | 4 ++-- 5 files changed, 14 insertions(+), 11 deletions(-) diff --git a/docs/features/knowledge.md b/docs/features/knowledge.md index 8f9e195e7ad..2cbaa07feab 100644 --- a/docs/features/knowledge.md +++ b/docs/features/knowledge.md @@ -139,12 +139,15 @@ and databases are shared with, whose credential is the integration's token; and ([recordings](#a-recording-source)). The `knowledge_source_sync` worker pulls each source's files into the namespace's documents ([syncing](#syncing-a-source)); `list` says whether this deployment runs it (`enabled`, `LOOM_KNOWLEDGE_SOURCE_SYNC_ENABLED`, -off by default). An operator who keeps members' credentials off the deployment sets -`LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED=false`: `add` and `rotate` then answer +off by default). `LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED=false` turns off the two +operations that take a member's source credential: `add` and `rotate` then answer `SELF_SERVICE_OFF` before any probe or write, the other source operations still answer, -`list` says so (`self_service`), and the dashboard offers neither. The design of -connected accounts and access that follows the store's permissions is in -[document sources](../architecture/document-sources.md). +`list` says so (`self_service`), and the dashboard offers neither. Connected accounts are +governed separately: while a provider's OAuth client is set (`LOOM_CONNECT_GDRIVE_CLIENT_ID`, +`LOOM_CONNECT_NOTION_CLIENT_ID`, `LOOM_CONNECT_LINEAR_CLIENT_ID`), a member can still connect +an account, and its callback stores the account's refresh token. Leave a provider's client id +empty to keep its connections off. The design of connected accounts and access that follows +the store's permissions is in [document sources](../architecture/document-sources.md). Open **Settings → Connected accounts** to connect your Google Drive, Notion or Linear account. Choose **Connect**, complete the provider's consent screen, and return to the diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index 8ebf34e23b9..bab329b68c8 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -1034,7 +1034,7 @@ Knowledge documents and conversations: chunking, search floor, thread titles. | `LOOM_KNOWLEDGE_CONNECTED_SOURCES_MAX_PER_PERSON` | `int` | `8` | live | Active connected sources one canonical person may register in one namespace. | | `LOOM_KNOWLEDGE_SOURCE_PROBE_TIMEOUT_S` | `float` | `20.0` | live | Seconds a document source's probe (add, update, check, rotate) or tracker short-id lookup may take in all; past it add, update and rotate answer SOURCE_UNREACHABLE and check answers reachable: false. | | `LOOM_KNOWLEDGE_SOURCE_SYNC_ENABLED` | `bool` | `False` | | The knowledge_source_sync worker: pulls each registered document source's changed files into its namespace's documents. Off by default: it needs each source's credential, spends embedding calls on every changed document and model calls mining it for decisions. | -| `LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED` | `bool` | `True` | live | Off refuses knowledge.source.add and knowledge.source.rotate (SELF_SERVICE_OFF), so no member's credential reaches the pods; the other source operations still answer. | +| `LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED` | `bool` | `True` | live | Off refuses knowledge.source.add and rotate (SELF_SERVICE_OFF). Connected-account OAuth is separate: it stays on for each provider whose connect_*_client_id is set. | | `LOOM_KNOWLEDGE_MIRRORED_SOURCES_ENABLED` | `bool` | `False` | | Require protected automatic session capture and persist deployment privacy state. Off does not lift protection while the deployment latch remains set. | | `LOOM_KNOWLEDGE_SOURCE_ACL_STALE_SECONDS` | `int` | `3600` | | Mirrored reads require a complete listing and group observation within this many seconds; missing or older evidence admits nobody. | | `LOOM_KNOWLEDGE_SOURCE_ACL_MAX_ENTRIES` | `int` | `10000` | | Maximum team and member rows read for one project's complete permission list. A larger list refuses publication rather than granting from a partial page. | diff --git a/loom.example.yaml b/loom.example.yaml index e25d966497f..71920ae7231 100644 --- a/loom.example.yaml +++ b/loom.example.yaml @@ -3071,8 +3071,8 @@ settings: # it for decisions. [restart] # knowledge_source_sync_enabled: false - # Off refuses knowledge.source.add and knowledge.source.rotate (SELF_SERVICE_OFF), so - # no member's credential reaches the pods; the other source operations still answer. + # Off refuses knowledge.source.add and rotate (SELF_SERVICE_OFF). Connected-account + # OAuth is separate: it stays on for each provider whose connect_*_client_id is set. # [live] # knowledge_source_self_service_enabled: true diff --git a/schemas/loom-settings.schema.json b/schemas/loom-settings.schema.json index f21557c764a..a631eea8ee0 100644 --- a/schemas/loom-settings.schema.json +++ b/schemas/loom-settings.schema.json @@ -3631,7 +3631,7 @@ "knowledge_source_self_service_enabled": { "default": true, "type": "boolean", - "description": "Off refuses knowledge.source.add and knowledge.source.rotate (SELF_SERVICE_OFF), so no member's credential reaches the pods; the other source operations still answer." + "description": "Off refuses knowledge.source.add and rotate (SELF_SERVICE_OFF). Connected-account OAuth is separate: it stays on for each provider whose connect_*_client_id is set." }, "knowledge_source_sync_cap_share": { "default": 0.25, diff --git a/server/settings/catalog.py b/server/settings/catalog.py index 515e4af23d8..32283f627bd 100644 --- a/server/settings/catalog.py +++ b/server/settings/catalog.py @@ -2515,8 +2515,8 @@ class KnowledgeSettings(BaseModel): # credential, spends embedding calls on every changed document and model calls # mining it for decisions. knowledge_source_sync_enabled: bool = False - # Off refuses knowledge.source.add and knowledge.source.rotate (SELF_SERVICE_OFF), so no - # member's credential reaches the pods; the other source operations still answer. + # Off refuses knowledge.source.add and rotate (SELF_SERVICE_OFF). Connected-account OAuth + # is separate: it stays on for each provider whose connect_*_client_id is set. knowledge_source_self_service_enabled: Annotated[bool, LIVE] = True # Require protected automatic session capture and persist deployment privacy state. # Off does not lift protection while the deployment latch remains set. From 7860bfcd056294c7c6bf098899a5116422518bd7 Mon Sep 17 00:00:00 2001 From: Vanshaj Poonia Date: Sun, 29 Nov 2026 18:56:36 +0530 Subject: [PATCH 8/9] The self-service off test runs on a server of its own and writes no deployment-wide override Signed-off-by: Vanshaj Poonia --- tests/integration/test_knowledge_sources.py | 39 +++++++-------------- 1 file changed, 12 insertions(+), 27 deletions(-) diff --git a/tests/integration/test_knowledge_sources.py b/tests/integration/test_knowledge_sources.py index 1c328af91b0..167556535fd 100644 --- a/tests/integration/test_knowledge_sources.py +++ b/tests/integration/test_knowledge_sources.py @@ -7,7 +7,6 @@ from __future__ import annotations -import asyncio import json import os import time @@ -18,9 +17,9 @@ import httpx import pytest -from tests.integration._eventually import overrides_adopted from tests.integration._resources import unique_org from tests.integration._sources import CONFIG, NAME, seed_source +from tests.integration._spawn import loom_server _SOURCE_CREDENTIAL = "source-registry-secret-canary" @@ -210,27 +209,13 @@ def test_a_source_on_a_plain_namespace_serves_check_and_sync_now( assert removed.status_code == 200, removed.text -@pytest.fixture -def self_service_off(control_plane_url: str) -> Iterator[None]: - """Self-service document sources off through a runtime override, cleared after.""" - tok = os.environ.get("LOOM_API_KEY") - headers = {"Authorization": f"Bearer {tok}"} if tok else {} - - def _set(body: dict[str, Any]) -> None: - r = httpx.post( - f"{control_plane_url}/v1/admin/settings.set", - json={"name": "knowledge_source_self_service_enabled", **body}, - headers=headers, - timeout=10.0, - ) - assert r.status_code == 200, r.text - asyncio.run(overrides_adopted()) - - _set({"value": False}) - try: - yield - finally: - _set({"clear": True}) +@pytest.fixture(scope="module") +def self_service_off_url() -> Iterator[str]: + """A server of its own with self-service document sources off. The setting comes from its + environment, so no deployment-wide override reaches the shared server's other tests.""" + env = {"LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED": "false"} + with loom_server("ksrc-self-service-off", env) as url: + yield url def test_the_list_says_self_service_is_on_by_default( @@ -243,7 +228,7 @@ def test_the_list_says_self_service_is_on_by_default( def test_self_service_off_refuses_add_and_rotate_and_keeps_the_reads( - control_plane_url: str, plain_source: Any, self_service_off: None + self_service_off_url: str, plain_source: Any ) -> None: org, ns = plain_source named = {"org": org, "namespace": ns, "name": NAME} @@ -252,14 +237,14 @@ def test_self_service_off_refuses_add_and_rotate_and_keeps_the_reads( ("knowledge.source.add", add), ("knowledge.source.rotate", {**named, "credential": "{}"}), ): - out = _post(control_plane_url, op, body) + out = _post(self_service_off_url, op, body) assert out.status_code == 422, (op, out.text) assert out.json()["detail"]["code"] == "SELF_SERVICE_OFF", (op, out.text) - listed = _post(control_plane_url, "knowledge.source.list", {"org": org, "namespace": ns}) + listed = _post(self_service_off_url, "knowledge.source.list", {"org": org, "namespace": ns}) assert listed.status_code == 200, listed.text assert listed.json()["self_service"] is False assert [s["name"] for s in listed.json()["sources"]] == [NAME] - assert _post(control_plane_url, "knowledge.source.inspect", named).status_code == 200 + assert _post(self_service_off_url, "knowledge.source.inspect", named).status_code == 200 def test_add_takes_a_namespace_that_is_not_a_repository(control_plane_url: str) -> None: From 786503b2c1d19fda5fd71a5c7322fc524d3884f1 Mon Sep 17 00:00:00 2001 From: Vanshaj Poonia Date: Mon, 30 Nov 2026 00:07:57 +0530 Subject: [PATCH 9/9] The self-service off server runs with auth off, as its unauthenticated requests need Signed-off-by: Vanshaj Poonia --- tests/integration/test_knowledge_sources.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_knowledge_sources.py b/tests/integration/test_knowledge_sources.py index 167556535fd..ed951496c75 100644 --- a/tests/integration/test_knowledge_sources.py +++ b/tests/integration/test_knowledge_sources.py @@ -212,8 +212,9 @@ def test_a_source_on_a_plain_namespace_serves_check_and_sync_now( @pytest.fixture(scope="module") def self_service_off_url() -> Iterator[str]: """A server of its own with self-service document sources off. The setting comes from its - environment, so no deployment-wide override reaches the shared server's other tests.""" - env = {"LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED": "false"} + environment, so no deployment-wide override reaches the shared server's other tests. Auth + is off by name: the child inherits pytest's environment, and these requests carry no token.""" + env = {"LOOM_KNOWLEDGE_SOURCE_SELF_SERVICE_ENABLED": "false", "LOOM_AUTH_REQUIRED": "false"} with loom_server("ksrc-self-service-off", env) as url: yield url