From e6153fb104f8d5ce130a6ba485821e8285819357 Mon Sep 17 00:00:00 2001 From: Lareb Zafar Date: Sun, 29 Nov 2026 01:36:58 +0530 Subject: [PATCH 1/3] code.impact, code.edit_context and code.coverage_claim name the tests the test gate links, and a module's own test file leads the examples Each op had its own legs, so they disagreed about one definition: `impacted_tests` read only the test map, which no measured index holds; the coverage claim walked `calls` edges its own way and found a Python test only beside its source; the edit context cut its 50 example candidates in path order before ranking them. - `link_tests` and `build_gate` are the one builder. `impacted_tests` holds the gate's rows for the same change. A definition with no test call site carries the first three rows as `tests` and a `test_link_state`. The coverage claim's call-chain leg lists the links a call or a fixture use makes, in the links' order. - `mirror_test_paths` finds the test modules named after a Python module among the index's test paths, wherever the repository keeps them. Their call sites are read into the example cut first and ranked first, and they join the conventional sibling paths as the coverage claim's sibling files. - The plugin's blast line counts a test as reaching the change only when its row is about the touched definitions. Co-Authored-By: Claude Fable 5.2 Signed-off-by: Lareb Zafar --- docs/features/code-index/operations.md | 19 +- docs/features/code-index/overview.md | 2 +- docs/reference/operations/code.md | 4 +- docs/use-cases/code-intelligence.md | 5 +- .../.claude-plugin/plugin.json | 2 +- .../claude-code-plugin/lib/blast-radius.mjs | 8 +- .../tests/blast-radius.test.mjs | 13 + .../codex-plugin/.codex-plugin/plugin.json | 2 +- .../codex-plugin/lib/blast-radius.mjs | 8 +- sdk/python/loom/ops.py | 2 + sdk/rust/src/wire_models.rs | 8326 +++++++++-------- sdk/typescript/src/generated/ops.ts | 2 + server/code/api/models_symbol.py | 10 +- server/code/app/coverage.py | 141 +- server/code/app/enrich.py | 48 +- server/code/app/symbol/gate.py | 42 +- server/code/app/symbol/impact.py | 89 +- server/code/app/symbol/symbol.py | 31 + server/code/app/symbol/test_links.py | 146 +- server/code/domain/index/test_conventions.py | 84 +- server/code/domain/index/test_gate.py | 35 +- server/code/domain/units.py | 12 + server/code/store/index/edges.py | 12 +- server/code/store/index/files.py | 46 + server/transport/mcp_descriptions.py | 5 +- tests/analyzer/cases/code.py | 6 + tests/analyzer/shapes.txt | 2 + tests/unit/test_code_coverage_unit_tests.py | 189 +- tests/unit/test_code_declined_calls.py | 6 + tests/unit/test_code_edges_per_match.py | 39 + tests/unit/test_code_examples.py | 33 + tests/unit/test_code_observability.py | 6 + tests/unit/test_code_registration_edges.py | 6 + tests/unit/test_code_structural_verdicts.py | 6 + tests/unit/test_code_test_gate.py | 105 + tests/unit/test_pre_merge_inputs.py | 6 + .../unit/test_test_map_page_deterministic.py | 13 +- 37 files changed, 5158 insertions(+), 4353 deletions(-) diff --git a/docs/features/code-index/operations.md b/docs/features/code-index/operations.md index 7f5b7033db6..94eafe170b6 100644 --- a/docs/features/code-index/operations.md +++ b/docs/features/code-index/operations.md @@ -106,7 +106,17 @@ repository lookup. When several test calls are close together, Loom prefers examples from different source windows when it can verify their excerpts. When direct examples are absent, edit context can show tests that reach the definition through one indexed caller. Such examples carry `evidence: -indirect_call` and a `via` source location. +indirect_call` and a `via` source location. Call sites in a test module named +after the definition's Python module (`test_app.py` or a `tests/app/` directory +for `app.py`) are read and ranked ahead of other test files. + +A definition with no test call site to show carries `tests` and +`test_link_state` in place of `examples`. `tests` holds the first three test +files [`code.test_gate`](#find-the-tests-a-change-obliges) lists for an edit of +that definition, each with its `why`. `test_link_state` is `executed` or +`unexecuted` when a verified coverage run measured the definition, else +`linked` when a call chain links a test to it and `unlinked` when none does. +`unlinked` is not proof that no test runs it. When an exact call expression such as `convert(row.value)` is absent, `related_on_miss: true` looks for its qualified argument in the same scope. @@ -436,8 +446,11 @@ for row in r.get("co_change_missing", []): print("usually changes with this diff:", row) ``` -The diff shape returns the functions the changed lines sit in, the tests that reach them, and +The diff shape returns the functions the changed lines sit in, the tests linked to them, and `co_change_missing`; `files` alone treats every function in those files as changed. +`impacted_tests` holds the rows `code.test_gate` lists for the same change, with the same +`why` kinds, so the two ops name the same tests; test-map rows of the impacted paths ride +as `test_map` rows. Both shapes return `owners`: recency-weighted PR authors over the seed paths, with `exclude_authors` (normally the change's own author) removed. The index holds merged code, so the diff is read against the branch head; your uncommitted functions resolve @@ -445,7 +458,7 @@ only when they already exist there. ### Check function changes and API contracts -Use `code.impact` to find indexed callers and tests that reach a proposed change. +Use `code.impact` to find indexed callers and the tests linked to a proposed change. Read `epistemic` and `causes` before treating the result as a complete dependency list. Dynamic calls and consumers outside the indexed repositories can be missing. diff --git a/docs/features/code-index/overview.md b/docs/features/code-index/overview.md index ea38bb19069..7aa7c1d1918 100644 --- a/docs/features/code-index/overview.md +++ b/docs/features/code-index/overview.md @@ -128,7 +128,7 @@ the [configuration reference](../../reference/configuration.md#code). A file's language comes from `treesitter.lang_for_path` (C/C++, Python, shell, SQL, docs, config), then `lang_detect.LANG_BY_EXTENSION` for the lane languages, then shebangs and shell detection. "Edges" are what `code.callers` / `code.callees` walk. -`code.impact` adds mapped tests and co-change partners, so a language without call edges +`code.impact` adds linked tests and co-change partners, so a language without call edges still gets file-level impact. | Language (extensions) | Symbols | Fast-tier edges | Compiler tier | diff --git a/docs/reference/operations/code.md b/docs/reference/operations/code.md index 716e3bb5d5b..271d9389091 100644 --- a/docs/reference/operations/code.md +++ b/docs/reference/operations/code.md @@ -886,9 +886,9 @@ Symbol-shaped (name/symbol_id) or diff-shaped (files/diff) blast radius. | `lessons` | `list[dict[str, Any]]` | The memories about the answer's top files, best first, capped at `code_result_lessons_tokens`; each row {path, memory_key, namespace, excerpt, code_state}, with `rev`, `first_written`, `changed_since`, `code_moved` and `supersedes_key`… | | `lessons_left_out` | `int` | How many rows about those files the lessons' token cap or a cut left out, with the rows another row read for the answer supersedes. | | `impacted_symbols` | `list[dict[str, Any]]` | Each row {qualified_name, path, hop, tier}; a row whose function is a registration function (`REGISTER_FUNCTION(X)`, `registerStorageFoo`) carries `via: "registration"` — the seed is reached through a registry; the key is absent otherwise. | -| `impacted_tests` | `list[dict[str, Any]]` | Tests the test map ties to the seed and impacted paths: {test_path, src_path, confidence}. | +| `impacted_tests` | `list[dict[str, Any]]` | The test files code.test_gate lists for the same change, at most 30, strongest evidence first: each row as a code.test_gate `tests` row ({test_path, why, evidence, run, run_unknown}, with `links_to`, `hop`, `callers`, `via`, `confidence`… | | `co_change_files` | `list[dict[str, Any]]` | Files changed in the same merged PRs as the seed paths, most often first ({path, prs}, at most 20): the last 10 PRs for the symbol shape, 50 for the diff shape. | -| `blast_radius_score` | `float` | impacted/50 + tests/40, capped at 1. | +| `blast_radius_score` | `float` | impacted/50 + test-map rows/40, capped at 1. | | `touched_symbols` | `list[dict[str, Any]]` | Diff shape only: the symbols the change touches (the functions its changed lines sit in when a diff was given, else every function in the files), and the files that historically co-change with the touched set but are absent from it — the… | | `co_change_missing` | `list[dict[str, Any]]` | Diff shape: co-change files absent from the change ({path, prs, of}, at most 5, support at least 4 PRs and 15%); empty for the symbol shape. | | `owners` | `list[dict[str, Any]]` | Who to ask: {author, share, prs, reviews, last_merged_at} from merged PRs over the seed paths — the PRs a person AUTHORED (`prs`) and the ones they REVIEWED (`reviews`, inline comments), recency-decayed (120-day half-life), share floor, at… | diff --git a/docs/use-cases/code-intelligence.md b/docs/use-cases/code-intelligence.md index e73f9bdd66f..afc011b8ea7 100644 --- a/docs/use-cases/code-intelligence.md +++ b/docs/use-cases/code-intelligence.md @@ -126,8 +126,9 @@ placeholders below with your organization, indexed namespace and qualified funct `arguments: {"org": "", "namespace": "", "name": "", "depth": 1, "per_hop_limit": 20, "explain": true}`. Look for the checked caller in `impacted_symbols`: `qualified_name`, `path`, `hop: 1` and `tier`. This request resolves the supplied name; `files` would - seed every function in those files. `impacted_tests` lists mapped tests; - the op does not execute them. + seed every function in those files. `impacted_tests` lists the tests the + index links to the seed, each with the evidence in `why`; the op does not + execute them. 4. Read `epistemic`, `causes`, `counts_floor` and `truncated` on both answers, and repeat the status request. Compare returned locations with source at the relevant tier's commit. Missing fields or watermarks, changed watermarks, a missing expected diff --git a/integrations/claude-code-plugin/.claude-plugin/plugin.json b/integrations/claude-code-plugin/.claude-plugin/plugin.json index b327c7613de..65c75e54bbd 100644 --- a/integrations/claude-code-plugin/.claude-plugin/plugin.json +++ b/integrations/claude-code-plugin/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "loom", "displayName": "ClickHouse Loom", - "version": "1.2.78", + "version": "1.2.80", "description": "Shared long-term memory and code intelligence for Claude Code, self-hosted on ClickHouse. MCP tools to save and recall decisions, preferences and corrections across sessions and teammates; lifecycle hooks that capture each session with no model call; a code index that answers where-is, who-calls and blast-radius questions with line-accurate units instead of whole-file reads.", "author": { "name": "ClickHouse" diff --git a/integrations/claude-code-plugin/lib/blast-radius.mjs b/integrations/claude-code-plugin/lib/blast-radius.mjs index 9e8a93b6524..47d75c0cf00 100644 --- a/integrations/claude-code-plugin/lib/blast-radius.mjs +++ b/integrations/claude-code-plugin/lib/blast-radius.mjs @@ -50,6 +50,10 @@ export function decideEmit(cache, rel, signature) { return { emit: true, cache: { sig } }; } +// `why` kinds of an `impacted_tests` row that are about the edited file and say nothing +// about the touched symbols: not tests "reaching" the change. +const FILE_LEVEL_TESTS = new Set(["file_neighbor", "stem_partner"]); + function short(qname) { // DB::MergeTreeData::renameTempPartAndAdd -> MergeTreeData::renameTempPartAndAdd const parts = String(qname || "").split("::"); @@ -73,7 +77,9 @@ export function renderBlast(rel, impact, { maxNames = 5, touchedPaths = [], test if (!impact) return ""; const touched = (impact.touched_symbols || []).map((s) => short(s.qualified_name)).filter(Boolean); const impacted = (impact.impacted_symbols || []).filter((s) => s && s.qualified_name); - const tests = namesTests ? (impact.impacted_tests || []).filter((t) => t && t.test_path) : []; + const tests = namesTests + ? (impact.impacted_tests || []).filter((t) => t && t.test_path && !FILE_LEVEL_TESTS.has(t.why)) + : []; const already = new Set([rel, ...touchedPaths.map(String)]); const missing = (impact.co_change_missing || []).filter((m) => m && m.path && !already.has(String(m.path))); if (!impacted.length && !tests.length && !missing.length) return ""; // owners alone are not a radius diff --git a/integrations/claude-code-plugin/tests/blast-radius.test.mjs b/integrations/claude-code-plugin/tests/blast-radius.test.mjs index d632851a5ea..8b4e0bf80b8 100644 --- a/integrations/claude-code-plugin/tests/blast-radius.test.mjs +++ b/integrations/claude-code-plugin/tests/blast-radius.test.mjs @@ -42,6 +42,19 @@ test("renderBlast names callers, tests and untouched partners in one line", () = assert.ok(text.length < 520, `line stays short: ${text.length}`); }); +test("a test file that is only about the edited file is not a test reaching the change", () => { + const rows = [ + { test_path: "tests/test_a.py", why: "static_call", hop: 1 }, + { test_path: "tests/test_b.py", why: "file_neighbor", callees: 3 }, + { test_path: "tests/test_c.py", why: "stem_partner" }, + { test_path: "tests/test_d.py", why: "test_map", src_path: "x", confidence: 0.7 }, + ]; + const text = renderBlast("a.py", { touched_symbols: IMPACT.touched_symbols, impacted_tests: rows }); + assert.match(text, /tests reaching it: 2 \(test_a\.py, test_d\.py\)/); + const fileLevel = { touched_symbols: IMPACT.touched_symbols, impacted_tests: rows.slice(1, 3) }; + assert.equal(renderBlast("a.py", fileLevel), ""); +}); + test("beside the test gate's line the radius counts no tests, and tests alone are then no radius", () => { const text = renderBlast("src/Storages/MergeTree/MergeTreeData.cpp", IMPACT, { tests: false }); assert.match(text, /3 callers in 2 files/); diff --git a/integrations/codex-plugin/.codex-plugin/plugin.json b/integrations/codex-plugin/.codex-plugin/plugin.json index 9c9c8f29677..d5be84d8b92 100644 --- a/integrations/codex-plugin/.codex-plugin/plugin.json +++ b/integrations/codex-plugin/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "loom", - "version": "1.2.78", + "version": "1.2.80", "description": "Shared long-term memory and code intelligence for Codex, self-hosted on ClickHouse. MCP tools to save and recall decisions, preferences and corrections across sessions and teammates; lifecycle hooks that capture each session with no model call; a code index that answers where-is, who-calls and blast-radius questions with line-accurate units instead of whole-file reads.", "author": { "name": "ClickHouse" diff --git a/integrations/codex-plugin/lib/blast-radius.mjs b/integrations/codex-plugin/lib/blast-radius.mjs index 9e8a93b6524..47d75c0cf00 100644 --- a/integrations/codex-plugin/lib/blast-radius.mjs +++ b/integrations/codex-plugin/lib/blast-radius.mjs @@ -50,6 +50,10 @@ export function decideEmit(cache, rel, signature) { return { emit: true, cache: { sig } }; } +// `why` kinds of an `impacted_tests` row that are about the edited file and say nothing +// about the touched symbols: not tests "reaching" the change. +const FILE_LEVEL_TESTS = new Set(["file_neighbor", "stem_partner"]); + function short(qname) { // DB::MergeTreeData::renameTempPartAndAdd -> MergeTreeData::renameTempPartAndAdd const parts = String(qname || "").split("::"); @@ -73,7 +77,9 @@ export function renderBlast(rel, impact, { maxNames = 5, touchedPaths = [], test if (!impact) return ""; const touched = (impact.touched_symbols || []).map((s) => short(s.qualified_name)).filter(Boolean); const impacted = (impact.impacted_symbols || []).filter((s) => s && s.qualified_name); - const tests = namesTests ? (impact.impacted_tests || []).filter((t) => t && t.test_path) : []; + const tests = namesTests + ? (impact.impacted_tests || []).filter((t) => t && t.test_path && !FILE_LEVEL_TESTS.has(t.why)) + : []; const already = new Set([rel, ...touchedPaths.map(String)]); const missing = (impact.co_change_missing || []).filter((m) => m && m.path && !already.has(String(m.path))); if (!impacted.length && !tests.length && !missing.length) return ""; // owners alone are not a radius diff --git a/sdk/python/loom/ops.py b/sdk/python/loom/ops.py index 5b5c21b9d6e..c96577728bf 100644 --- a/sdk/python/loom/ops.py +++ b/sdk/python/loom/ops.py @@ -6471,6 +6471,8 @@ class CodeUnit(TypedDict, total=False): score: NotRequired[float] recent_prs: NotRequired[list[dict[str, Any]]] examples: NotRequired[list[dict[str, Any]]] + tests: NotRequired[list[dict[str, Any]]] + test_link_state: NotRequired[str] lessons: NotRequired[list[dict[str, Any]]] lessons_unread: NotRequired[bool] churn: NotRequired[int] diff --git a/sdk/rust/src/wire_models.rs b/sdk/rust/src/wire_models.rs index e9d7ca29390..b47c2c86329 100644 --- a/sdk/rust/src/wire_models.rs +++ b/sdk/rust/src/wire_models.rs @@ -9270,32 +9270,36 @@ pub struct CodeUnit { #[serde(default = "default_457")] pub examples: Vec>, #[serde(default = "default_458")] - pub lessons: Vec>, + pub tests: Vec>, #[serde(default = "default_459")] - pub lessons_unread: bool, + pub test_link_state: String, #[serde(default = "default_460")] - pub churn: Integer, + pub lessons: Vec>, #[serde(default = "default_461")] - pub amp: Integer, + pub lessons_unread: bool, #[serde(default = "default_462")] - pub tested: bool, + pub churn: Integer, #[serde(default = "default_463")] - pub callees: Vec>, + pub amp: Integer, #[serde(default = "default_464")] - pub granularity: String, + pub tested: bool, #[serde(default = "default_465")] - pub next: String, + pub callees: Vec>, #[serde(default = "default_466")] - pub outline: Vec>, + pub granularity: String, #[serde(default = "default_467")] - pub fan_in: Integer, + pub next: String, #[serde(default = "default_468")] - pub via: String, + pub outline: Vec>, #[serde(default = "default_469")] - pub lexical_rank: Integer, + pub fan_in: Integer, #[serde(default = "default_470")] - pub vector_rank: Integer, + pub via: String, #[serde(default = "default_471")] + pub lexical_rank: Integer, + #[serde(default = "default_472")] + pub vector_rank: Integer, + #[serde(default = "default_473")] pub namespace: String, } @@ -9342,19 +9346,19 @@ pub enum CodeEditContextTargetStatus { pub struct CodeEditContextTarget { pub name: String, pub status: CodeEditContextTargetStatus, - #[serde(default = "default_489")] + #[serde(default = "default_491")] pub definition_indices: Vec, - #[serde(default = "default_490")] + #[serde(default = "default_492")] pub candidates: Vec>, - #[serde(default = "default_491")] + #[serde(default = "default_493")] pub resolved_by: String, - #[serde(default = "default_492")] + #[serde(default = "default_494")] pub presence: Vec>, - #[serde(default = "default_493")] + #[serde(default = "default_495")] pub hierarchy: std::collections::HashMap>>, - #[serde(default = "default_494")] + #[serde(default = "default_496")] pub documented_in: Vec>, - #[serde(default = "default_495")] + #[serde(default = "default_497")] pub trace_run_id: String, } @@ -9382,43 +9386,43 @@ pub struct CodeEditReadSource { #[non_exhaustive] pub struct CodeSymbolOutput { pub definitions: Vec, - #[serde(default = "default_472")] + #[serde(default = "default_474")] pub lessons_left_out: Integer, - #[serde(default = "default_473")] + #[serde(default = "default_475")] pub ambiguous: bool, - #[serde(default = "default_474")] + #[serde(default = "default_476")] pub hierarchy: std::collections::HashMap>>, - #[serde(default = "default_475")] + #[serde(default = "default_477")] pub candidates: Vec>, - #[serde(default = "default_476")] + #[serde(default = "default_478")] pub tokens_returned: Integer, - #[serde(default = "default_477")] + #[serde(default = "default_479")] pub trace_run_id: String, - #[serde(default = "default_478")] + #[serde(default = "default_480")] pub uses: CodeSymbolOutputUses, - #[serde(default = "default_479")] + #[serde(default = "default_481")] pub uses_truncated: bool, - #[serde(default = "default_480")] + #[serde(default = "default_482")] pub uses_tokens: Integer, - #[serde(default = "default_481")] + #[serde(default = "default_483")] pub picked_by: String, - #[serde(default = "default_482")] + #[serde(default = "default_484")] pub resolved_by: String, - #[serde(default = "default_483")] + #[serde(default = "default_485")] pub documented_in: Vec>, - #[serde(default = "default_484")] + #[serde(default = "default_486")] pub neighbours: Vec>, - #[serde(default = "default_485")] + #[serde(default = "default_487")] pub anchors: Integer, - #[serde(default = "default_486")] + #[serde(default = "default_488")] pub neighbour_tokens: Integer, - #[serde(default = "default_487")] + #[serde(default = "default_489")] pub presence: Vec>, - #[serde(default = "default_488")] + #[serde(default = "default_490")] pub summary: std::collections::HashMap>, - #[serde(default = "default_496")] + #[serde(default = "default_498")] pub edit_targets: Vec, - #[serde(default = "default_497")] + #[serde(default = "default_499")] pub read_sources: Option>, } @@ -9572,30 +9576,30 @@ impl CodeEditContextInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CodeEnclosingOutput { - #[serde(default = "default_498")] + #[serde(default = "default_500")] pub lessons: Vec>, - #[serde(default = "default_499")] + #[serde(default = "default_501")] pub lessons_left_out: Integer, pub results: Vec>, pub resolved: Integer, pub paths_indexed: Integer, pub paths_total: Integer, pub took_ms: Integer, - #[serde(default = "default_500")] + #[serde(default = "default_502")] pub as_of: std::collections::HashMap, - #[serde(default = "default_501")] + #[serde(default = "default_503")] pub bodies_returned: Integer, - #[serde(default = "default_502")] + #[serde(default = "default_504")] pub bodies_elided: Integer, - #[serde(default = "default_503")] + #[serde(default = "default_505")] pub tokens_returned: Integer, - #[serde(default = "default_504")] + #[serde(default = "default_506")] pub neighbours: Vec>, - #[serde(default = "default_505")] + #[serde(default = "default_507")] pub anchors: Integer, - #[serde(default = "default_506")] + #[serde(default = "default_508")] pub anchors_capped: bool, - #[serde(default = "default_507")] + #[serde(default = "default_509")] pub neighbour_tokens: Integer, } @@ -9751,7 +9755,7 @@ impl CodeEnclosingInput { #[non_exhaustive] pub struct CodeExamplesOutput { pub examples: Vec>, - #[serde(default = "default_508")] + #[serde(default = "default_510")] pub trace_run_id: String, } @@ -9869,19 +9873,19 @@ impl CodeExamplesInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CodeFilesOutput { - #[serde(default = "default_509")] + #[serde(default = "default_511")] pub files: Vec>, - #[serde(default = "default_510")] + #[serde(default = "default_512")] pub total: Integer, - #[serde(default = "default_511")] + #[serde(default = "default_513")] pub truncated: bool, - #[serde(default = "default_512")] + #[serde(default = "default_514")] pub as_of: std::collections::HashMap, - #[serde(default = "default_513")] + #[serde(default = "default_515")] pub not_covered: bool, - #[serde(default = "default_514")] + #[serde(default = "default_516")] pub note: String, - #[serde(default = "default_515")] + #[serde(default = "default_517")] pub trace_run_id: String, } @@ -10010,51 +10014,51 @@ impl CodeFilesInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CodeFirstBuildOutput { - #[serde(default = "default_516")] + #[serde(default = "default_518")] pub verdict: String, - #[serde(default = "default_517")] + #[serde(default = "default_519")] pub causes: Vec, - #[serde(default = "default_518")] + #[serde(default = "default_520")] pub epistemic: String, - #[serde(default = "default_519")] + #[serde(default = "default_521")] pub sha: String, - #[serde(default = "default_520")] + #[serde(default = "default_522")] pub pr_number: Integer, - #[serde(default = "default_521")] + #[serde(default = "default_523")] pub merged_at: String, - #[serde(default = "default_522")] + #[serde(default = "default_524")] pub commit_time: String, - #[serde(default = "default_523")] + #[serde(default = "default_525")] pub ledger_known: bool, - #[serde(default = "default_524")] + #[serde(default = "default_526")] pub mirror_known: bool, - #[serde(default = "default_525")] + #[serde(default = "default_527")] pub first_build: std::collections::HashMap, - #[serde(default = "default_526")] + #[serde(default = "default_528")] pub lag_hours: Option, - #[serde(default = "default_527")] + #[serde(default = "default_529")] pub later_builds: Integer, - #[serde(default = "default_528")] + #[serde(default = "default_530")] pub window_hours: Integer, - #[serde(default = "default_529")] + #[serde(default = "default_531")] pub candidates_checked: Integer, - #[serde(default = "default_530")] + #[serde(default = "default_532")] pub candidates_total: Integer, - #[serde(default = "default_531")] + #[serde(default = "default_533")] pub own_builds: Vec>, - #[serde(default = "default_532")] + #[serde(default = "default_534")] pub containing_branches: Vec, - #[serde(default = "default_533")] + #[serde(default = "default_535")] pub containing_namespaces: Vec, - #[serde(default = "default_534")] + #[serde(default = "default_536")] pub nearest_namespace: String, - #[serde(default = "default_535")] + #[serde(default = "default_537")] pub note: String, - #[serde(default = "default_536")] + #[serde(default = "default_538")] pub tracker_namespace: String, - #[serde(default = "default_537")] + #[serde(default = "default_539")] pub tracker_unavailable: bool, - #[serde(default = "default_538")] + #[serde(default = "default_540")] pub trace_run_id: String, } @@ -10173,19 +10177,19 @@ pub struct GrepDependency { pub struct RelatedGrepEvidence { pub pattern: String, pub matches: Vec>, - #[serde(default = "default_541")] + #[serde(default = "default_543")] pub contexts: Vec>, - #[serde(default = "default_542")] + #[serde(default = "default_544")] pub contexts_partial: bool, - #[serde(default = "default_543")] + #[serde(default = "default_545")] pub definitions: Vec>, - #[serde(default = "default_544")] + #[serde(default = "default_546")] pub definitions_partial: bool, - #[serde(default = "default_545")] + #[serde(default = "default_547")] pub definitions_note: String, - #[serde(default = "default_546")] + #[serde(default = "default_548")] pub truncated: bool, - #[serde(default = "default_547")] + #[serde(default = "default_549")] pub dependencies: Vec, } @@ -10201,69 +10205,69 @@ pub enum CodeGrepOutputFallback { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CodeGrepOutput { - #[serde(default = "default_539")] + #[serde(default = "default_541")] pub lessons: Vec>, - #[serde(default = "default_540")] + #[serde(default = "default_542")] pub lessons_left_out: Integer, pub matches: Vec>, - #[serde(default = "default_548")] + #[serde(default = "default_550")] pub related: Option, - #[serde(default = "default_549")] + #[serde(default = "default_551")] pub contexts: Vec>, - #[serde(default = "default_550")] + #[serde(default = "default_552")] pub contexts_partial: bool, - #[serde(default = "default_551")] + #[serde(default = "default_553")] pub definitions: Vec>, - #[serde(default = "default_552")] + #[serde(default = "default_554")] pub definitions_partial: bool, - #[serde(default = "default_553")] + #[serde(default = "default_555")] pub definitions_note: String, - #[serde(default = "default_554")] + #[serde(default = "default_556")] pub next_cursor: String, - #[serde(default = "default_555")] + #[serde(default = "default_557")] pub has_more: bool, - #[serde(default = "default_556")] + #[serde(default = "default_558")] pub files: Vec>, - #[serde(default = "default_557")] + #[serde(default = "default_559")] pub files_total: Integer, pub chunks_matched: Integer, - #[serde(default = "default_558")] + #[serde(default = "default_560")] pub truncated: bool, - #[serde(default = "default_559")] + #[serde(default = "default_561")] pub coverage_floor: bool, - #[serde(default = "default_560")] + #[serde(default = "default_562")] pub as_of: std::collections::HashMap, - #[serde(default = "default_561")] + #[serde(default = "default_563")] pub not_covered: bool, - #[serde(default = "default_562")] + #[serde(default = "default_564")] pub neighbours: Vec>, - #[serde(default = "default_563")] + #[serde(default = "default_565")] pub anchors: Integer, - #[serde(default = "default_564")] + #[serde(default = "default_566")] pub anchors_capped: bool, - #[serde(default = "default_565")] + #[serde(default = "default_567")] pub neighbour_tokens: Integer, - #[serde(default = "default_566")] + #[serde(default = "default_568")] pub note: String, - #[serde(default = "default_567")] + #[serde(default = "default_569")] pub verdict: String, - #[serde(default = "default_568")] + #[serde(default = "default_570")] pub template: String, - #[serde(default = "default_569")] + #[serde(default = "default_571")] pub error_code: String, - #[serde(default = "default_570")] + #[serde(default = "default_572")] pub coverage: f64, - #[serde(default = "default_571")] + #[serde(default = "default_573")] pub presence: Vec>, - #[serde(default = "default_572")] + #[serde(default = "default_574")] pub summary: std::collections::HashMap>, - #[serde(default = "default_573")] + #[serde(default = "default_575")] pub trace_run_id: String, - #[serde(default = "default_574")] + #[serde(default = "default_576")] pub partial: bool, - #[serde(default = "default_575")] + #[serde(default = "default_577")] pub partial_reason: String, - #[serde(default = "default_576")] + #[serde(default = "default_578")] pub fallback: CodeGrepOutputFallback, } @@ -10655,9 +10659,9 @@ impl CodeGrepInput { pub struct CodeHistoryOutput { pub prs: Vec>, pub paths: Vec, - #[serde(default = "default_577")] + #[serde(default = "default_579")] pub items: Vec>, - #[serde(default = "default_578")] + #[serde(default = "default_580")] pub trace_run_id: String, } @@ -10808,52 +10812,52 @@ impl CodeHistoryInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CodeImpactOutput { - #[serde(default = "default_579")] + #[serde(default = "default_581")] pub lessons: Vec>, - #[serde(default = "default_580")] + #[serde(default = "default_582")] pub lessons_left_out: Integer, pub impacted_symbols: Vec>, pub impacted_tests: Vec>, pub co_change_files: Vec>, - #[serde(default = "default_581")] + #[serde(default = "default_583")] pub blast_radius_score: f64, - #[serde(default = "default_582")] + #[serde(default = "default_584")] pub touched_symbols: Vec>, - #[serde(default = "default_583")] + #[serde(default = "default_585")] pub co_change_missing: Vec>, - #[serde(default = "default_584")] + #[serde(default = "default_586")] pub owners: Vec>, - #[serde(default = "default_585")] + #[serde(default = "default_587")] pub reverts: Vec>, - #[serde(default = "default_586")] + #[serde(default = "default_588")] pub counts_floor: bool, - #[serde(default = "default_587")] + #[serde(default = "default_589")] pub unresolved_calls: Integer, - #[serde(default = "default_588")] + #[serde(default = "default_590")] pub ambiguous_calls: Integer, - #[serde(default = "default_589")] + #[serde(default = "default_591")] pub epistemic: String, - #[serde(default = "default_590")] + #[serde(default = "default_592")] pub causes: Vec, - #[serde(default = "default_591")] + #[serde(default = "default_593")] pub by_hop_counts: std::collections::HashMap, - #[serde(default = "default_592")] + #[serde(default = "default_594")] pub truncated: bool, - #[serde(default = "default_593")] + #[serde(default = "default_595")] pub resolved_by: String, - #[serde(default = "default_594")] + #[serde(default = "default_596")] pub verdict: String, - #[serde(default = "default_595")] + #[serde(default = "default_597")] pub paths_seen: Vec>, - #[serde(default = "default_596")] + #[serde(default = "default_598")] pub overlay: bool, - #[serde(default = "default_597")] + #[serde(default = "default_599")] pub overlay_head_sha: String, - #[serde(default = "default_598")] + #[serde(default = "default_600")] pub overlay_added: Integer, - #[serde(default = "default_599")] + #[serde(default = "default_601")] pub overlay_note: String, - #[serde(default = "default_600")] + #[serde(default = "default_602")] pub trace_run_id: String, } @@ -11121,12 +11125,12 @@ impl CodeImpactInput { #[non_exhaustive] pub struct CodeIndexErrorRow { pub path: String, - #[serde(default = "default_601")] + #[serde(default = "default_603")] pub lang: String, pub error: String, - #[serde(default = "default_602")] + #[serde(default = "default_604")] pub indexed_commit: String, - #[serde(default = "default_603")] + #[serde(default = "default_605")] pub at: String, } @@ -11134,7 +11138,7 @@ pub struct CodeIndexErrorRow { #[non_exhaustive] pub struct CodeIndexErrorsOutput { pub rows: Vec, - #[serde(default = "default_604")] + #[serde(default = "default_606")] pub total: Integer, } @@ -11234,17 +11238,17 @@ pub struct CodeCompilerTier { pub tool: String, pub label: String, pub watermark_key: String, - #[serde(default = "default_614")] + #[serde(default = "default_616")] pub commit: String, - #[serde(default = "default_615")] + #[serde(default = "default_617")] pub lag: Integer, - #[serde(default = "default_616")] + #[serde(default = "default_618")] pub updated_at: String, - #[serde(default = "default_617")] + #[serde(default = "default_619")] pub primary: bool, - #[serde(default = "default_618")] + #[serde(default = "default_620")] pub workers: Vec, - #[serde(default = "default_619")] + #[serde(default = "default_621")] pub note: String, } @@ -11252,42 +11256,42 @@ pub struct CodeCompilerTier { #[non_exhaustive] pub struct CodeTierHealth { pub tier: String, - #[serde(default = "default_621")] + #[serde(default = "default_623")] pub state: String, - #[serde(default = "default_622")] + #[serde(default = "default_624")] pub kind: String, - #[serde(default = "default_623")] + #[serde(default = "default_625")] pub error: String, - #[serde(default = "default_624")] + #[serde(default = "default_626")] pub fix: String, - #[serde(default = "default_625")] + #[serde(default = "default_627")] pub failing_since: String, - #[serde(default = "default_626")] + #[serde(default = "default_628")] pub last_failed_at: String, - #[serde(default = "default_627")] + #[serde(default = "default_629")] pub failed_passes: Integer, - #[serde(default = "default_628")] + #[serde(default = "default_630")] pub last_ok_at: String, - #[serde(default = "default_629")] + #[serde(default = "default_631")] pub lag_commits: Integer, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CodeWorkerStatus { - #[serde(default = "default_645")] + #[serde(default = "default_647")] pub enabled: bool, - #[serde(default = "default_646")] + #[serde(default = "default_648")] pub interval_seconds: Integer, - #[serde(default = "default_647")] + #[serde(default = "default_649")] pub last_run_at: String, - #[serde(default = "default_648")] + #[serde(default = "default_650")] pub last_duration_ms: Integer, - #[serde(default = "default_649")] + #[serde(default = "default_651")] pub consecutive_failures: Integer, - #[serde(default = "default_650")] + #[serde(default = "default_652")] pub total_runs: Integer, - #[serde(default = "default_651")] + #[serde(default = "default_653")] pub last_error: String, } @@ -11296,84 +11300,84 @@ pub struct CodeWorkerStatus { pub struct CodeIndexStatusOutput { pub repo: String, pub branch: String, - #[serde(default = "default_605")] + #[serde(default = "default_607")] pub org: String, pub namespace: String, - #[serde(default = "default_606")] + #[serde(default = "default_608")] pub provider: String, - #[serde(default = "default_607")] + #[serde(default = "default_609")] pub profile: String, - #[serde(default = "default_608")] + #[serde(default = "default_610")] pub compiler_candidates: Vec, - #[serde(default = "default_609")] + #[serde(default = "default_611")] pub quality_warnings: Vec, - #[serde(default = "default_610")] + #[serde(default = "default_612")] pub git_head: String, - #[serde(default = "default_611")] + #[serde(default = "default_613")] pub scip_commit: String, - #[serde(default = "default_612")] + #[serde(default = "default_614")] pub scip_commit_py: String, - #[serde(default = "default_613")] + #[serde(default = "default_615")] pub scip_producer: String, - #[serde(default = "default_620")] + #[serde(default = "default_622")] pub compiler_tiers: Vec, - #[serde(default = "default_630")] + #[serde(default = "default_632")] pub tier_health: Vec, - #[serde(default = "default_631")] + #[serde(default = "default_633")] pub pr_cursor: String, - #[serde(default = "default_632")] + #[serde(default = "default_634")] pub commit_coverage: Option, - #[serde(default = "default_633")] + #[serde(default = "default_635")] pub clone_head: String, - #[serde(default = "default_634")] + #[serde(default = "default_636")] pub clone_fetched_at: String, - #[serde(default = "default_635")] + #[serde(default = "default_637")] pub fetch_overdue: bool, - #[serde(default = "default_636")] + #[serde(default = "default_638")] pub fast_tier_lag: Integer, - #[serde(default = "default_637")] + #[serde(default = "default_639")] pub scip_lag: Integer, - #[serde(default = "default_638")] + #[serde(default = "default_640")] pub scip_py_lag: Integer, - #[serde(default = "default_639")] + #[serde(default = "default_641")] pub last_refresh_at: String, - #[serde(default = "default_640")] + #[serde(default = "default_642")] pub last_refresh_detail: String, - #[serde(default = "default_641")] + #[serde(default = "default_643")] pub org_readable: bool, - #[serde(default = "default_642")] + #[serde(default = "default_644")] pub path_prefixes: Vec, - #[serde(default = "default_643")] + #[serde(default = "default_645")] pub counts: std::collections::HashMap, - #[serde(default = "default_644")] + #[serde(default = "default_646")] pub state: std::collections::HashMap>, - #[serde(default = "default_652")] + #[serde(default = "default_654")] pub workers: std::collections::HashMap, - #[serde(default = "default_653")] + #[serde(default = "default_655")] pub build_commit: String, - #[serde(default = "default_654")] + #[serde(default = "default_656")] pub ops: Vec, - #[serde(default = "default_655")] + #[serde(default = "default_657")] pub request_fields: std::collections::HashMap>, - #[serde(default = "default_656")] + #[serde(default = "default_658")] pub op_maturity: std::collections::HashMap, - #[serde(default = "default_657")] + #[serde(default = "default_659")] pub op_reach: std::collections::HashMap>, - #[serde(default = "default_658")] + #[serde(default = "default_660")] pub op_toolsets: std::collections::HashMap>, - #[serde(default = "default_659")] + #[serde(default = "default_661")] pub symbol_stats_rows: Integer, - #[serde(default = "default_660")] + #[serde(default = "default_662")] pub symbol_stats_at: String, - #[serde(default = "default_661")] + #[serde(default = "default_663")] pub unit_risk_rows: Integer, - #[serde(default = "default_662")] + #[serde(default = "default_664")] pub unit_risk_at: String, - #[serde(default = "default_663")] + #[serde(default = "default_665")] pub chunks_total: Integer, - #[serde(default = "default_664")] + #[serde(default = "default_666")] pub chunks_embedded: Integer, - #[serde(default = "default_665")] + #[serde(default = "default_667")] pub embedding_coverage: f64, } @@ -11497,9 +11501,9 @@ impl CodeIndexStatusInput { pub struct CodeMapOutput { pub map: String, pub tokens_used: Integer, - #[serde(default = "default_666")] + #[serde(default = "default_668")] pub commit_sha: String, - #[serde(default = "default_667")] + #[serde(default = "default_669")] pub trace_run_id: String, } @@ -11770,32 +11774,32 @@ impl CodeOutcomeInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CodeOutlineOutput { - #[serde(default = "default_668")] + #[serde(default = "default_670")] pub lessons: Vec>, - #[serde(default = "default_669")] + #[serde(default = "default_671")] pub lessons_left_out: Integer, pub path: String, pub entries: Vec>, pub total: Integer, pub returned: Integer, pub elided: Integer, - #[serde(default = "default_670")] + #[serde(default = "default_672")] pub next: String, - #[serde(default = "default_671")] + #[serde(default = "default_673")] pub indexed: bool, - #[serde(default = "default_672")] + #[serde(default = "default_674")] pub verdict: String, - #[serde(default = "default_673")] + #[serde(default = "default_675")] pub tokens_returned: Integer, - #[serde(default = "default_674")] + #[serde(default = "default_676")] pub took_ms: Integer, - #[serde(default = "default_675")] + #[serde(default = "default_677")] pub head: String, - #[serde(default = "default_676")] + #[serde(default = "default_678")] pub head_truncated: bool, - #[serde(default = "default_677")] + #[serde(default = "default_679")] pub as_of: std::collections::HashMap, - #[serde(default = "default_678")] + #[serde(default = "default_680")] pub trace_run_id: String, } @@ -11947,19 +11951,19 @@ pub enum CodePathGuardsOutputEpistemic { #[non_exhaustive] pub struct CodePathGuardsOutput { pub verdict: CodePathGuardsOutputVerdict, - #[serde(default = "default_679")] + #[serde(default = "default_681")] pub causes: Vec, - #[serde(default = "default_680")] + #[serde(default = "default_682")] pub epistemic: CodePathGuardsOutputEpistemic, - #[serde(default = "default_681")] + #[serde(default = "default_683")] pub explanation: String, - #[serde(default = "default_682")] + #[serde(default = "default_684")] pub hops: Vec>, - #[serde(default = "default_683")] + #[serde(default = "default_685")] pub named_at: Vec, - #[serde(default = "default_684")] + #[serde(default = "default_686")] pub visited_symbols: Integer, - #[serde(default = "default_685")] + #[serde(default = "default_687")] pub trace_run_id: String, } @@ -12065,21 +12069,21 @@ impl CodePathGuardsInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CodePrCheckOutput { - #[serde(default = "default_686")] + #[serde(default = "default_688")] pub verdict: String, - #[serde(default = "default_687")] + #[serde(default = "default_689")] pub items: Vec>, - #[serde(default = "default_688")] + #[serde(default = "default_690")] pub undecided: bool, - #[serde(default = "default_689")] + #[serde(default = "default_691")] pub epistemic: String, - #[serde(default = "default_690")] + #[serde(default = "default_692")] pub thresholds: std::collections::HashMap, - #[serde(default = "default_691")] + #[serde(default = "default_693")] pub legs: std::collections::HashMap, - #[serde(default = "default_692")] + #[serde(default = "default_694")] pub draft: std::collections::HashMap, - #[serde(default = "default_693")] + #[serde(default = "default_695")] pub trace_run_id: String, } @@ -12268,22 +12272,22 @@ pub struct CodeReadRange { pub start_line: Integer, pub end_line: Integer, pub status: CodeReadRangeStatus, - #[serde(default = "default_696")] + #[serde(default = "default_698")] pub indexed_commit: String, - #[serde(default = "default_697")] + #[serde(default = "default_699")] pub windows: Vec, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CodeReadOutput { - #[serde(default = "default_694")] + #[serde(default = "default_696")] pub lessons: Vec>, - #[serde(default = "default_695")] + #[serde(default = "default_697")] pub lessons_left_out: Integer, pub results: Vec, pub as_of: std::collections::HashMap, - #[serde(default = "default_698")] + #[serde(default = "default_700")] pub trace_run_id: String, } @@ -12526,15 +12530,15 @@ impl CodeReadInput { #[non_exhaustive] pub struct CodeRecentCommitRow { pub commit: String, - #[serde(default = "default_699")] + #[serde(default = "default_701")] pub subject: String, - #[serde(default = "default_700")] + #[serde(default = "default_702")] pub committed_at: String, - #[serde(default = "default_701")] + #[serde(default = "default_703")] pub ingested_at: String, - #[serde(default = "default_702")] + #[serde(default = "default_704")] pub files: Integer, - #[serde(default = "default_703")] + #[serde(default = "default_705")] pub pr_number: Integer, } @@ -12637,11 +12641,11 @@ impl CodeRecentCommitsInput { #[non_exhaustive] pub struct CodeRefreshOutput { pub triggered: bool, - #[serde(default = "default_704")] + #[serde(default = "default_706")] pub already_running: bool, - #[serde(default = "default_705")] + #[serde(default = "default_707")] pub head_before: String, - #[serde(default = "default_706")] + #[serde(default = "default_708")] pub head_after: String, } @@ -12844,22 +12848,22 @@ pub struct CodeRepoAddOutput { pub org: String, pub namespace: String, pub repo: String, - #[serde(default = "default_707")] + #[serde(default = "default_709")] pub remote: String, - #[serde(default = "default_708")] + #[serde(default = "default_710")] pub provider: String, pub branch: String, pub join_policy: String, pub classification: String, - #[serde(default = "default_709")] + #[serde(default = "default_711")] pub index_stage: String, - #[serde(default = "default_710")] + #[serde(default = "default_712")] pub my_role: String, - #[serde(default = "default_711")] + #[serde(default = "default_713")] pub remote_head: String, - #[serde(default = "default_712")] + #[serde(default = "default_714")] pub also: Vec>, - #[serde(default = "default_713")] + #[serde(default = "default_715")] pub skipped: Vec>, } @@ -13087,29 +13091,29 @@ impl CodeRepoAddBranchInput { pub struct CodeRepoRemoteBranchesOutput { pub org: String, pub repo: String, - #[serde(default = "default_714")] + #[serde(default = "default_716")] pub remote: String, - #[serde(default = "default_715")] + #[serde(default = "default_717")] pub provider: String, - #[serde(default = "default_716")] + #[serde(default = "default_718")] pub warnings: Vec, - #[serde(default = "default_717")] + #[serde(default = "default_719")] pub default_branch: String, - #[serde(default = "default_718")] + #[serde(default = "default_720")] pub branches: Vec>, - #[serde(default = "default_719")] + #[serde(default = "default_721")] pub suggested: Vec, - #[serde(default = "default_720")] + #[serde(default = "default_722")] pub indexed: Vec>, - #[serde(default = "default_721")] + #[serde(default = "default_723")] pub cap: Integer, - #[serde(default = "default_722")] + #[serde(default = "default_724")] pub total: Integer, - #[serde(default = "default_723")] + #[serde(default = "default_725")] pub matched: Integer, - #[serde(default = "default_724")] + #[serde(default = "default_726")] pub truncated: bool, - #[serde(default = "default_725")] + #[serde(default = "default_727")] pub query: String, } @@ -13200,11 +13204,11 @@ pub struct CodeRepoRemoveOutput { pub registry_deactivated: bool, pub directory_deactivated: bool, pub purged_tables: Integer, - #[serde(default = "default_726")] + #[serde(default = "default_728")] pub erasure_id: String, - #[serde(default = "default_727")] + #[serde(default = "default_729")] pub mirror_removed: bool, - #[serde(default = "default_728")] + #[serde(default = "default_730")] pub sources_deactivated: Vec, } @@ -13338,14 +13342,14 @@ impl CodeRepoSetAccessInput { pub struct CodeRepoSetSourceOutput { pub org: String, pub namespace: String, - #[serde(default = "default_729")] + #[serde(default = "default_731")] pub tracker_namespaces: Vec, - #[serde(default = "default_730")] + #[serde(default = "default_732")] pub previous_tracker_namespaces: Vec, pub effective_within_s: Integer, - #[serde(default = "default_731")] + #[serde(default = "default_733")] pub not_covering: Vec, - #[serde(default = "default_732")] + #[serde(default = "default_734")] pub warning: String, } @@ -13754,43 +13758,43 @@ pub enum CodeReviewBriefOutputLedger { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CodeReviewBriefOutput { - #[serde(default = "default_733")] + #[serde(default = "default_735")] pub pr_number: Integer, - #[serde(default = "default_734")] + #[serde(default = "default_736")] pub merge_sha: String, - #[serde(default = "default_735")] + #[serde(default = "default_737")] pub source: CodeReviewBriefOutputSource, - #[serde(default = "default_736")] + #[serde(default = "default_738")] pub ledger: CodeReviewBriefOutputLedger, - #[serde(default = "default_737")] + #[serde(default = "default_739")] pub stored: bool, - #[serde(default = "default_738")] + #[serde(default = "default_740")] pub provenance: std::collections::HashMap, - #[serde(default = "default_739")] + #[serde(default = "default_741")] pub overlay: bool, - #[serde(default = "default_740")] + #[serde(default = "default_742")] pub overlay_head_sha: String, - #[serde(default = "default_741")] + #[serde(default = "default_743")] pub overlay_added: Integer, - #[serde(default = "default_742")] + #[serde(default = "default_744")] pub overlay_note: String, - #[serde(default = "default_743")] + #[serde(default = "default_745")] pub tier: String, - #[serde(default = "default_744")] + #[serde(default = "default_746")] pub built_at: String, - #[serde(default = "default_745")] + #[serde(default = "default_747")] pub indexed_commit: String, - #[serde(default = "default_746")] + #[serde(default = "default_748")] pub build_ms: Integer, - #[serde(default = "default_747")] + #[serde(default = "default_749")] pub tokens_used: Integer, - #[serde(default = "default_748")] + #[serde(default = "default_750")] pub token_budget: Integer, - #[serde(default = "default_749")] + #[serde(default = "default_751")] pub decisions: std::collections::HashMap, - #[serde(default = "default_750")] + #[serde(default = "default_752")] pub sections: std::collections::HashMap>, - #[serde(default = "default_751")] + #[serde(default = "default_753")] pub trace_run_id: String, } @@ -14175,11 +14179,11 @@ pub struct CodeScipStatusOutput { pub status: String, pub parts_received: Integer, pub total_parts: Integer, - #[serde(default = "default_752")] + #[serde(default = "default_754")] pub error: String, - #[serde(default = "default_753")] + #[serde(default = "default_755")] pub commit_sha: String, - #[serde(default = "default_754")] + #[serde(default = "default_756")] pub applied_at: String, } @@ -14325,61 +14329,61 @@ pub enum CodeSearchOutputEpistemic { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CodeSearchOutput { - #[serde(default = "default_755")] + #[serde(default = "default_757")] pub lessons: Vec>, - #[serde(default = "default_756")] + #[serde(default = "default_758")] pub lessons_left_out: Integer, pub results: Vec, pub route: String, - #[serde(default = "default_757")] + #[serde(default = "default_759")] pub next_cursor: String, - #[serde(default = "default_758")] + #[serde(default = "default_760")] pub has_more: bool, - #[serde(default = "default_759")] + #[serde(default = "default_761")] pub history: std::collections::HashMap, - #[serde(default = "default_760")] + #[serde(default = "default_762")] pub abstain: bool, - #[serde(default = "default_761")] + #[serde(default = "default_763")] pub abstain_code: CodeSearchOutputAbstainCode, - #[serde(default = "default_762")] + #[serde(default = "default_764")] pub abstain_reason: String, - #[serde(default = "default_763")] + #[serde(default = "default_765")] pub retrieval_risk: CodeSearchOutputRetrievalRisk, - #[serde(default = "default_764")] + #[serde(default = "default_766")] pub retrieval_confidence: f64, - #[serde(default = "default_765")] + #[serde(default = "default_767")] pub route_agreement: f64, - #[serde(default = "default_766")] + #[serde(default = "default_768")] pub calibration_explanation: String, - #[serde(default = "default_767")] + #[serde(default = "default_769")] pub tokens_returned: Integer, - #[serde(default = "default_768")] + #[serde(default = "default_770")] pub constrained: bool, - #[serde(default = "default_769")] + #[serde(default = "default_771")] pub matched_files: Integer, - #[serde(default = "default_770")] + #[serde(default = "default_772")] pub as_of: std::collections::HashMap, - #[serde(default = "default_771")] + #[serde(default = "default_773")] pub score_explanation: String, - #[serde(default = "default_772")] + #[serde(default = "default_774")] pub retrieval_work: std::collections::HashMap, - #[serde(default = "default_773")] + #[serde(default = "default_775")] pub trace_run_id: String, - #[serde(default = "default_774")] + #[serde(default = "default_776")] pub top_similarity: f64, - #[serde(default = "default_775")] + #[serde(default = "default_777")] pub tracked: std::collections::HashMap, - #[serde(default = "default_776")] + #[serde(default = "default_778")] pub fanout: std::collections::HashMap, - #[serde(default = "default_777")] + #[serde(default = "default_779")] pub note: String, - #[serde(default = "default_778")] + #[serde(default = "default_780")] pub legs_timed_out: Vec, - #[serde(default = "default_779")] + #[serde(default = "default_781")] pub epistemic: CodeSearchOutputEpistemic, - #[serde(default = "default_780")] + #[serde(default = "default_782")] pub partial: bool, - #[serde(default = "default_781")] + #[serde(default = "default_783")] pub partial_reason: String, } @@ -14884,23 +14888,23 @@ impl CodeSearchInput { #[non_exhaustive] pub struct CodeSettingFactsOutput { pub name: String, - #[serde(default = "default_782")] + #[serde(default = "default_784")] pub verdict: String, - #[serde(default = "default_783")] + #[serde(default = "default_785")] pub causes: Vec, - #[serde(default = "default_784")] + #[serde(default = "default_786")] pub declaration: std::collections::HashMap, - #[serde(default = "default_785")] + #[serde(default = "default_787")] pub tier: String, - #[serde(default = "default_786")] + #[serde(default = "default_788")] pub history: Vec>, - #[serde(default = "default_787")] + #[serde(default = "default_789")] pub randomized_in_ci: std::collections::HashMap, - #[serde(default = "default_788")] + #[serde(default = "default_790")] pub tests_total: Integer, - #[serde(default = "default_789")] + #[serde(default = "default_791")] pub control: std::collections::HashMap, - #[serde(default = "default_790")] + #[serde(default = "default_792")] pub trace_run_id: String, } @@ -15322,31 +15326,31 @@ impl CodeSymbolInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CodeSymbolHistoryOutput { - #[serde(default = "default_791")] + #[serde(default = "default_793")] pub verdict: String, - #[serde(default = "default_792")] + #[serde(default = "default_794")] pub causes: Vec, - #[serde(default = "default_793")] + #[serde(default = "default_795")] pub epistemic: String, - #[serde(default = "default_794")] + #[serde(default = "default_796")] pub symbol: std::collections::HashMap, - #[serde(default = "default_795")] + #[serde(default = "default_797")] pub ambiguous: bool, - #[serde(default = "default_796")] + #[serde(default = "default_798")] pub candidates: Vec, - #[serde(default = "default_797")] + #[serde(default = "default_799")] pub prs: Vec>, - #[serde(default = "default_798")] + #[serde(default = "default_800")] pub review_comments: Vec>, - #[serde(default = "default_799")] + #[serde(default = "default_801")] pub open_issues_naming: Vec>, - #[serde(default = "default_800")] + #[serde(default = "default_802")] pub summary: std::collections::HashMap, - #[serde(default = "default_801")] + #[serde(default = "default_803")] pub tracker_namespace: String, - #[serde(default = "default_802")] + #[serde(default = "default_804")] pub tracker_unavailable: bool, - #[serde(default = "default_803")] + #[serde(default = "default_805")] pub trace_run_id: String, } @@ -15464,39 +15468,39 @@ impl CodeSymbolHistoryInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CodeTestGateOutput { - #[serde(default = "default_804")] + #[serde(default = "default_806")] pub tests: Vec>, - #[serde(default = "default_805")] + #[serde(default = "default_807")] pub untested: Vec>, - #[serde(default = "default_806")] + #[serde(default = "default_808")] pub unlinked: Vec>, - #[serde(default = "default_807")] + #[serde(default = "default_809")] pub changed_files: Vec, - #[serde(default = "default_808")] + #[serde(default = "default_810")] pub touched_symbols: Vec>, - #[serde(default = "default_809")] + #[serde(default = "default_811")] pub obligations: bool, - #[serde(default = "default_810")] + #[serde(default = "default_812")] pub tests_total: Integer, - #[serde(default = "default_811")] + #[serde(default = "default_813")] pub untested_total: Integer, - #[serde(default = "default_812")] + #[serde(default = "default_814")] pub unlinked_total: Integer, - #[serde(default = "default_813")] + #[serde(default = "default_815")] pub tests_capped: bool, - #[serde(default = "default_814")] + #[serde(default = "default_816")] pub untested_capped: bool, - #[serde(default = "default_815")] + #[serde(default = "default_817")] pub unlinked_capped: bool, - #[serde(default = "default_816")] + #[serde(default = "default_818")] pub counts_floor: bool, - #[serde(default = "default_817")] + #[serde(default = "default_819")] pub epistemic: String, - #[serde(default = "default_818")] + #[serde(default = "default_820")] pub causes: Vec, - #[serde(default = "default_819")] + #[serde(default = "default_821")] pub by_hop_counts: std::collections::HashMap, - #[serde(default = "default_820")] + #[serde(default = "default_822")] pub trace_run_id: String, } @@ -15625,21 +15629,21 @@ impl CodeTestGateInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CodeTestHomeOutput { - #[serde(default = "default_821")] + #[serde(default = "default_823")] pub verdict: String, - #[serde(default = "default_822")] + #[serde(default = "default_824")] pub home: String, - #[serde(default = "default_823")] + #[serde(default = "default_825")] pub candidates: Vec>, - #[serde(default = "default_824")] + #[serde(default = "default_826")] pub parts: Vec, - #[serde(default = "default_825")] + #[serde(default = "default_827")] pub src_paths: Vec, - #[serde(default = "default_826")] + #[serde(default = "default_828")] pub next_free_stateless_number: Integer, - #[serde(default = "default_827")] + #[serde(default = "default_829")] pub control: std::collections::HashMap, - #[serde(default = "default_828")] + #[serde(default = "default_830")] pub trace_run_id: String, } @@ -15779,27 +15783,27 @@ impl CodeTestHomeInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CodeTestsForOutput { - #[serde(default = "default_829")] + #[serde(default = "default_831")] pub tests: Vec>, - #[serde(default = "default_830")] + #[serde(default = "default_832")] pub total: Integer, - #[serde(default = "default_831")] + #[serde(default = "default_833")] pub truncated: bool, - #[serde(default = "default_832")] + #[serde(default = "default_834")] pub facets: Vec>, - #[serde(default = "default_833")] + #[serde(default = "default_835")] pub verdict: String, - #[serde(default = "default_834")] + #[serde(default = "default_836")] pub abstain: bool, - #[serde(default = "default_835")] + #[serde(default = "default_837")] pub uncovered_kinds: Vec, - #[serde(default = "default_836")] + #[serde(default = "default_838")] pub as_of: std::collections::HashMap, - #[serde(default = "default_837")] + #[serde(default = "default_839")] pub tokens_returned: Integer, - #[serde(default = "default_838")] + #[serde(default = "default_840")] pub took_ms: Integer, - #[serde(default = "default_839")] + #[serde(default = "default_841")] pub trace_run_id: String, } @@ -15905,9 +15909,9 @@ impl CodeTestsForInput { pub struct CodeTraceOutput { pub frames: Vec>, pub definitions: Vec, - #[serde(default = "default_840")] + #[serde(default = "default_842")] pub tokens_returned: Integer, - #[serde(default = "default_841")] + #[serde(default = "default_843")] pub trace_run_id: String, } @@ -16023,16 +16027,16 @@ pub enum CodeVerifyOutputVerdict { #[non_exhaustive] pub struct CodeVerifyOutput { pub verdict: CodeVerifyOutputVerdict, - #[serde(default = "default_842")] + #[serde(default = "default_844")] pub reason: String, pub explanation: String, - #[serde(default = "default_843")] + #[serde(default = "default_845")] pub evidence: Vec>, - #[serde(default = "default_844")] + #[serde(default = "default_846")] pub floors: std::collections::HashMap, - #[serde(default = "default_845")] + #[serde(default = "default_847")] pub index_verdict: String, - #[serde(default = "default_846")] + #[serde(default = "default_848")] pub trace_run_id: String, } @@ -16154,29 +16158,29 @@ impl CodeVerifyInput { #[non_exhaustive] pub struct CodeVerifyCitationsOutput { pub verdict: String, - #[serde(default = "default_847")] + #[serde(default = "default_849")] pub counts: std::collections::HashMap, - #[serde(default = "default_848")] + #[serde(default = "default_850")] pub citations: Vec>, - #[serde(default = "default_849")] + #[serde(default = "default_851")] pub skipped: Vec>, - #[serde(default = "default_850")] + #[serde(default = "default_852")] pub truncated: bool, - #[serde(default = "default_851")] + #[serde(default = "default_853")] pub epistemic: std::collections::HashMap, - #[serde(default = "default_852")] + #[serde(default = "default_854")] pub at_commit: std::collections::HashMap, - #[serde(default = "default_853")] + #[serde(default = "default_855")] pub pr_diff: std::collections::HashMap, - #[serde(default = "default_854")] + #[serde(default = "default_856")] pub namespaces: Vec, - #[serde(default = "default_855")] + #[serde(default = "default_857")] pub took_ms: Integer, - #[serde(default = "default_856")] + #[serde(default = "default_858")] pub as_of: std::collections::HashMap, - #[serde(default = "default_857")] + #[serde(default = "default_859")] pub note: String, - #[serde(default = "default_858")] + #[serde(default = "default_860")] pub trace_run_id: String, } @@ -16349,7 +16353,7 @@ pub struct CollectionCreateOutput { pub namespace: String, pub parent: String, pub created: bool, - #[serde(default = "default_859")] + #[serde(default = "default_861")] pub title: String, } @@ -16447,9 +16451,9 @@ impl CollectionCreateInput { pub struct CollectionDeleteOutput { pub namespace: String, pub deleted: bool, - #[serde(default = "default_860")] + #[serde(default = "default_862")] pub erasure_id: String, - #[serde(default = "default_861")] + #[serde(default = "default_863")] pub erasure_status: String, } @@ -16491,11 +16495,11 @@ pub struct CollectionEntry { pub parent: String, pub personal: bool, pub role: String, - #[serde(default = "default_862")] + #[serde(default = "default_864")] pub description: String, - #[serde(default = "default_863")] + #[serde(default = "default_865")] pub title: String, - #[serde(default = "default_864")] + #[serde(default = "default_866")] pub document_count: Option, } @@ -16503,7 +16507,7 @@ pub struct CollectionEntry { #[non_exhaustive] pub struct CollectionListOutput { pub collections: Vec, - #[serde(default = "default_865")] + #[serde(default = "default_867")] pub next_cursor: Option, } @@ -16845,11 +16849,11 @@ pub struct ConflictRow { #[non_exhaustive] pub struct ConflictsListOutput { pub rows: Vec, - #[serde(default = "default_866")] + #[serde(default = "default_868")] pub next_before_version: Option, - #[serde(default = "default_867")] + #[serde(default = "default_869")] pub total: Option, - #[serde(default = "default_868")] + #[serde(default = "default_870")] pub keys: Option>, } @@ -17001,7 +17005,7 @@ pub struct ConflictRevisionSuggestion { pub target_local_id: Integer, pub peer_local_ids: Vec, pub rationale: String, - #[serde(default = "default_870")] + #[serde(default = "default_872")] pub apply_operation: String, } @@ -17009,11 +17013,11 @@ pub struct ConflictRevisionSuggestion { #[non_exhaustive] pub struct ConflictsProposeRevisionOutput { pub found: bool, - #[serde(default = "default_869")] - pub memories: Vec, #[serde(default = "default_871")] + pub memories: Vec, + #[serde(default = "default_873")] pub suggestions: Vec, - #[serde(default = "default_872")] + #[serde(default = "default_874")] pub note: String, } @@ -17093,9 +17097,9 @@ pub struct ConflictsResolveOutput { pub resolved: bool, pub decision: ConflictsResolveOutputDecision, pub affected_memory_ids: Vec, - #[serde(default = "default_873")] + #[serde(default = "default_875")] pub resolved_at: Option, - #[serde(default = "default_874")] + #[serde(default = "default_876")] pub total: Option, } @@ -17252,9 +17256,9 @@ pub enum ConnectionEntryKind { pub struct ConnectionEntry { pub kind: ConnectionEntryKind, pub connected: bool, - #[serde(default = "default_875")] + #[serde(default = "default_877")] pub account_email: Option, - #[serde(default = "default_876")] + #[serde(default = "default_878")] pub scopes: Vec, pub connect_url: String, } @@ -17429,23 +17433,23 @@ impl ConsolidationsListInput { pub struct ContextFetchOutput { pub found: bool, pub blob_key: String, - #[serde(default = "default_877")] + #[serde(default = "default_879")] pub content: String, - #[serde(default = "default_878")] + #[serde(default = "default_880")] pub content_type: String, - #[serde(default = "default_879")] + #[serde(default = "default_881")] pub summary: String, - #[serde(default = "default_880")] + #[serde(default = "default_882")] pub total_chars: Integer, - #[serde(default = "default_881")] + #[serde(default = "default_883")] pub total_lines: Integer, - #[serde(default = "default_882")] + #[serde(default = "default_884")] pub offset: Integer, - #[serde(default = "default_883")] + #[serde(default = "default_885")] pub next_offset: Integer, - #[serde(default = "default_884")] + #[serde(default = "default_886")] pub matched_lines: Integer, - #[serde(default = "default_885")] + #[serde(default = "default_887")] pub expires_at: Option, } @@ -17739,9 +17743,9 @@ pub enum ConversationAppendOutputReason { pub struct ConversationAppendOutput { pub msg_id: String, pub ts: String, - #[serde(default = "default_886")] + #[serde(default = "default_888")] pub stored: bool, - #[serde(default = "default_887")] + #[serde(default = "default_889")] pub reason: ConversationAppendOutputReason, } @@ -17890,13 +17894,13 @@ impl ConversationAppendInput { pub struct ConversationCompactOutput { pub compacted: bool, pub messages_summarized: Integer, - #[serde(default = "default_888")] + #[serde(default = "default_890")] pub summary_msg_id: String, - #[serde(default = "default_889")] + #[serde(default = "default_891")] pub tokens_in: Integer, - #[serde(default = "default_890")] + #[serde(default = "default_892")] pub tokens_out: Integer, - #[serde(default = "default_891")] + #[serde(default = "default_893")] pub reason: String, } @@ -18160,7 +18164,7 @@ pub enum ConversationEntryRole { #[non_exhaustive] pub struct ConversationEntry { pub msg_id: String, - #[serde(default = "default_900")] + #[serde(default = "default_902")] pub agent: String, pub role: ConversationEntryRole, pub content: String, @@ -18177,25 +18181,25 @@ pub struct ConversationEntry { pub struct ConversationGetOutput { pub found: bool, pub thread_id: String, - #[serde(default = "default_892")] + #[serde(default = "default_894")] pub title: String, - #[serde(default = "default_893")] + #[serde(default = "default_895")] pub metadata: std::collections::HashMap, - #[serde(default = "default_894")] + #[serde(default = "default_896")] pub run_id: String, - #[serde(default = "default_895")] + #[serde(default = "default_897")] pub user_id: String, - #[serde(default = "default_896")] + #[serde(default = "default_898")] pub agent: String, - #[serde(default = "default_897")] + #[serde(default = "default_899")] pub created_at: Option, - #[serde(default = "default_898")] + #[serde(default = "default_900")] pub updated_at: Option, - #[serde(default = "default_899")] - pub msg_count: Integer, #[serde(default = "default_901")] + pub msg_count: Integer, + #[serde(default = "default_903")] pub messages: Vec, - #[serde(default = "default_902")] + #[serde(default = "default_904")] pub next_cursor: Option, } @@ -18309,7 +18313,7 @@ impl ConversationGetInput { #[non_exhaustive] pub struct ConversationListOutput { pub rows: Vec, - #[serde(default = "default_903")] + #[serde(default = "default_905")] pub next_cursor: Option, } @@ -18455,7 +18459,7 @@ pub struct SavedMessageHit { #[non_exhaustive] pub struct ConversationListSavedMessagesOutput { pub rows: Vec, - #[serde(default = "default_904")] + #[serde(default = "default_906")] pub next_cursor: Option, } @@ -18595,7 +18599,7 @@ pub struct ConversationSaveMessageOutput { pub conversation_id: String, pub message_id: String, pub indexed: bool, - #[serde(default = "default_905")] + #[serde(default = "default_907")] pub reason: ConversationSaveMessageOutputReason, pub ts: String, } @@ -18768,7 +18772,7 @@ pub struct ConversationHit { pub role: ConversationHitRole, pub content_excerpt: String, pub ts: String, - #[serde(default = "default_906")] + #[serde(default = "default_908")] pub namespace: String, } @@ -18776,7 +18780,7 @@ pub struct ConversationHit { #[non_exhaustive] pub struct ConversationSearchOutput { pub hits: Vec, - #[serde(default = "default_907")] + #[serde(default = "default_909")] pub namespaces_skipped: Vec, } @@ -19309,7 +19313,7 @@ pub struct ConversationUnsaveMessageOutput { pub conversation_id: String, pub message_id: String, pub found: bool, - #[serde(default = "default_908")] + #[serde(default = "default_910")] pub removed: bool, pub ts: String, } @@ -19382,7 +19386,7 @@ impl ConversationUnsaveMessageInput { pub struct ConversationUpdateOutput { pub updated: bool, pub thread_id: String, - #[serde(default = "default_909")] + #[serde(default = "default_911")] pub updated_at: Option, } @@ -19487,17 +19491,17 @@ impl ConversationUpdateInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CostAgentSummaryRow { - #[serde(default = "default_910")] + #[serde(default = "default_912")] pub namespace: Option, - #[serde(default = "default_911")] + #[serde(default = "default_913")] pub agent: Option, - #[serde(default = "default_912")] + #[serde(default = "default_914")] pub day: Option, - #[serde(default = "default_913")] + #[serde(default = "default_915")] pub model: Option, - #[serde(default = "default_914")] + #[serde(default = "default_916")] pub consumer: Option, - #[serde(default = "default_915")] + #[serde(default = "default_917")] pub session_id: Option, pub turns: Integer, pub sessions: Integer, @@ -19646,18 +19650,18 @@ pub enum BudgetStatusOutputCapSource { #[non_exhaustive] pub struct BudgetStatusOutput { pub namespace: String, - #[serde(default = "default_916")] + #[serde(default = "default_918")] pub user_id: Option, #[serde(deserialize_with = "required_nullable")] pub spent_24h_usd: Option, pub cap_usd: f64, pub cap_source: BudgetStatusOutputCapSource, pub over_cap: bool, - #[serde(default = "default_917")] + #[serde(default = "default_919")] pub namespace_over_cap: Option, - #[serde(default = "default_918")] + #[serde(default = "default_920")] pub pct_of_cap: Option, - #[serde(default = "default_919")] + #[serde(default = "default_921")] pub namespaces_with_spend: Integer, } @@ -19730,11 +19734,11 @@ impl BudgetStatusInput { pub struct CostRecordTurnsOutput { pub recorded: Integer, pub priced: Integer, - #[serde(default = "default_920")] + #[serde(default = "default_922")] pub unpriced_models: Vec, - #[serde(default = "default_921")] + #[serde(default = "default_923")] pub cost_usd: f64, - #[serde(default = "default_922")] + #[serde(default = "default_924")] pub turns_dated_ahead: Integer, } @@ -19905,25 +19909,25 @@ impl CostRecordTurnsInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct CostSummaryRow { - #[serde(default = "default_923")] + #[serde(default = "default_925")] pub namespace: Option, - #[serde(default = "default_924")] + #[serde(default = "default_926")] pub agent: Option, - #[serde(default = "default_925")] + #[serde(default = "default_927")] pub day: Option, - #[serde(default = "default_926")] + #[serde(default = "default_928")] pub operation: Option, - #[serde(default = "default_927")] + #[serde(default = "default_929")] pub memory_key: Option, - #[serde(default = "default_928")] + #[serde(default = "default_930")] pub user_id: Option, - #[serde(default = "default_929")] + #[serde(default = "default_931")] pub model: Option, - #[serde(default = "default_930")] + #[serde(default = "default_932")] pub traffic_class: Option, - #[serde(default = "default_931")] + #[serde(default = "default_933")] pub instance_label: Option, - #[serde(default = "default_932")] + #[serde(default = "default_934")] pub build_commit: Option, pub ops: Integer, pub errors: Integer, @@ -19933,9 +19937,9 @@ pub struct CostSummaryRow { pub latency_p50_ms: f64, pub latency_p95_ms: f64, pub latency_p99_ms: f64, - #[serde(default = "default_933")] + #[serde(default = "default_935")] pub cache_hits: Integer, - #[serde(default = "default_934")] + #[serde(default = "default_936")] pub cache_saved_usd: f64, } @@ -19946,9 +19950,9 @@ pub struct CostSummaryOutput { pub total_ops: Integer, pub total_errors: Integer, pub total_cost_usd: f64, - #[serde(default = "default_935")] + #[serde(default = "default_937")] pub cache_hits: Integer, - #[serde(default = "default_936")] + #[serde(default = "default_938")] pub cache_saved_usd: f64, } @@ -20135,31 +20139,31 @@ pub enum DecisionRowStage { #[non_exhaustive] pub struct DecisionRow { pub memory_key: String, - #[serde(default = "default_937")] + #[serde(default = "default_939")] pub category: String, - #[serde(default = "default_938")] + #[serde(default = "default_940")] pub scenario: String, - #[serde(default = "default_939")] + #[serde(default = "default_941")] pub reasoning: String, - #[serde(default = "default_940")] + #[serde(default = "default_942")] pub outcome: String, - #[serde(default = "default_941")] + #[serde(default = "default_943")] pub alternatives: Vec, - #[serde(default = "default_942")] + #[serde(default = "default_944")] pub confidence: Option, - #[serde(default = "default_943")] + #[serde(default = "default_945")] pub decision_maker: String, - #[serde(default = "default_944")] + #[serde(default = "default_946")] pub run_id: String, - #[serde(default = "default_945")] + #[serde(default = "default_947")] pub realized_outcome: String, - #[serde(default = "default_946")] + #[serde(default = "default_948")] pub success: Option, - #[serde(default = "default_947")] + #[serde(default = "default_949")] pub made_at: String, - #[serde(default = "default_948")] + #[serde(default = "default_950")] pub stage: DecisionRowStage, - #[serde(default = "default_949")] + #[serde(default = "default_951")] pub similarity: f64, } @@ -20171,7 +20175,7 @@ pub struct ChainNodeRow { pub relation: String, pub direction: String, pub via: String, - #[serde(default = "default_951")] + #[serde(default = "default_953")] pub decision: Option, } @@ -20179,7 +20183,7 @@ pub struct ChainNodeRow { #[non_exhaustive] pub struct DecisionChainOutput { pub seed: String, - #[serde(default = "default_950")] + #[serde(default = "default_952")] pub seed_decision: Option, pub nodes: Vec, } @@ -20264,7 +20268,7 @@ impl DecisionChainInput { pub struct DecisionOutcomeOutput { pub memory_key: String, pub updated: bool, - #[serde(default = "default_952")] + #[serde(default = "default_954")] pub memories_credited: Integer, } @@ -20342,7 +20346,7 @@ impl DecisionOutcomeInput { #[non_exhaustive] pub struct DecisionPrecedentsOutput { pub precedents: Vec, - #[serde(default = "default_953")] + #[serde(default = "default_955")] pub embedding_model: String, } @@ -20437,11 +20441,11 @@ impl DecisionPrecedentsInput { pub struct DecisionRecordOutput { pub memory_key: String, pub record_id: String, - #[serde(default = "default_954")] + #[serde(default = "default_956")] pub superseded_prior: bool, - #[serde(default = "default_955")] + #[serde(default = "default_957")] pub edges_written: Integer, - #[serde(default = "default_956")] + #[serde(default = "default_958")] pub next: String, } @@ -20717,7 +20721,7 @@ pub enum ErasureExportOutputScopeType { pub struct ErasureExportSection { pub rows: Vec>, pub count: Integer, - #[serde(default = "default_957")] + #[serde(default = "default_959")] pub truncated: bool, } @@ -20830,17 +20834,17 @@ pub struct ErasureListRow { pub requester: String, pub status: ErasureListRowStatus, pub requested_at: String, - #[serde(default = "default_958")] + #[serde(default = "default_960")] pub completed_at: Option, - #[serde(default = "default_959")] + #[serde(default = "default_961")] pub failure_reason: String, - #[serde(default = "default_960")] + #[serde(default = "default_962")] pub steps_completed_count: Integer, - #[serde(default = "default_961")] + #[serde(default = "default_963")] pub reversals_count: Integer, - #[serde(default = "default_962")] + #[serde(default = "default_964")] pub residue_count: Integer, - #[serde(default = "default_963")] + #[serde(default = "default_965")] pub verified_at: Option, } @@ -20937,7 +20941,7 @@ pub enum ErasureRequestOutputStatus { pub struct ErasureStepResult { pub step: String, pub rows_affected: Integer, - #[serde(default = "default_964")] + #[serde(default = "default_966")] pub notes: String, } @@ -20948,21 +20952,21 @@ pub struct ErasureRequestOutput { pub status: ErasureRequestOutputStatus, pub steps: Vec, pub requested_at: String, - #[serde(default = "default_965")] + #[serde(default = "default_967")] pub completed_at: Option, - #[serde(default = "default_966")] + #[serde(default = "default_968")] pub residue_count: Integer, - #[serde(default = "default_967")] + #[serde(default = "default_969")] pub residue: std::collections::HashMap, - #[serde(default = "default_968")] + #[serde(default = "default_970")] pub verified_at: Option, - #[serde(default = "default_969")] + #[serde(default = "default_971")] pub census: Option>, - #[serde(default = "default_970")] + #[serde(default = "default_972")] pub purge: bool, - #[serde(default = "default_971")] + #[serde(default = "default_973")] pub failure_reason: String, - #[serde(default = "default_972")] + #[serde(default = "default_974")] pub steps_completed: Vec, } @@ -21074,33 +21078,33 @@ pub enum ErasureStatusOutputStatus { pub struct ErasureStatusOutput { pub found: bool, pub erasure_id: String, - #[serde(default = "default_973")] + #[serde(default = "default_975")] pub org: Option, - #[serde(default = "default_974")] + #[serde(default = "default_976")] pub scope_type: Option, - #[serde(default = "default_975")] + #[serde(default = "default_977")] pub scope_value: Option, - #[serde(default = "default_976")] + #[serde(default = "default_978")] pub requester: Option, - #[serde(default = "default_977")] + #[serde(default = "default_979")] pub status: Option, - #[serde(default = "default_978")] + #[serde(default = "default_980")] pub current_step: Option, - #[serde(default = "default_979")] + #[serde(default = "default_981")] pub requested_at: Option, - #[serde(default = "default_980")] + #[serde(default = "default_982")] pub completed_at: Option, - #[serde(default = "default_981")] + #[serde(default = "default_983")] pub failure_reason: Option, - #[serde(default = "default_982")] + #[serde(default = "default_984")] pub residue_count: Integer, - #[serde(default = "default_983")] + #[serde(default = "default_985")] pub residue: std::collections::HashMap, - #[serde(default = "default_984")] + #[serde(default = "default_986")] pub verified_at: Option, - #[serde(default = "default_985")] + #[serde(default = "default_987")] pub census: Option>, - #[serde(default = "default_986")] + #[serde(default = "default_988")] pub purge: bool, } @@ -21137,9 +21141,9 @@ pub enum ExtractionPolicyOutputScope { #[non_exhaustive] pub struct NamespacePolicy { pub namespace: String, - #[serde(default = "default_992")] + #[serde(default = "default_994")] pub updated_by: String, - #[serde(default = "default_993")] + #[serde(default = "default_995")] pub updated_at: Option, } @@ -21148,17 +21152,17 @@ pub struct NamespacePolicy { pub struct ExtractionPolicyOutput { pub org: String, pub scope: ExtractionPolicyOutputScope, - #[serde(default = "default_987")] + #[serde(default = "default_989")] pub namespace: String, - #[serde(default = "default_988")] + #[serde(default = "default_990")] pub policy: String, - #[serde(default = "default_989")] + #[serde(default = "default_991")] pub updated_by: String, - #[serde(default = "default_990")] + #[serde(default = "default_992")] pub updated_at: Option, - #[serde(default = "default_991")] + #[serde(default = "default_993")] pub effective: String, - #[serde(default = "default_994")] + #[serde(default = "default_996")] pub namespace_policies: Vec, } @@ -21392,13 +21396,13 @@ pub struct FactRow { pub object: String, pub co_occur: Integer, pub last_seen: String, - #[serde(default = "default_995")] + #[serde(default = "default_997")] pub provenance: String, - #[serde(default = "default_996")] + #[serde(default = "default_998")] pub source_keys: Vec, - #[serde(default = "default_997")] + #[serde(default = "default_999")] pub sources: Vec, - #[serde(default = "default_998")] + #[serde(default = "default_1000")] pub stale: bool, } @@ -21406,7 +21410,7 @@ pub struct FactRow { #[non_exhaustive] pub struct FactsListOutput { pub rows: Vec, - #[serde(default = "default_999")] + #[serde(default = "default_1001")] pub truncated: bool, } @@ -21625,14 +21629,14 @@ impl FactsListInput { pub struct PathEdge { pub entity_a: String, pub entity_b: String, - #[serde(default = "default_1000")] + #[serde(default = "default_1002")] pub relation: String, - #[serde(default = "default_1001")] + #[serde(default = "default_1003")] pub direction: String, pub co_occur: Integer, - #[serde(default = "default_1002")] + #[serde(default = "default_1004")] pub valid_from: Option, - #[serde(default = "default_1003")] + #[serde(default = "default_1005")] pub valid_to: Option, } @@ -21863,23 +21867,23 @@ pub struct TraversalNode { pub hop: Integer, pub cumulative_weight: f64, pub via_co_occur: Integer, - #[serde(default = "default_1005")] + #[serde(default = "default_1007")] pub hub: bool, - #[serde(default = "default_1006")] + #[serde(default = "default_1008")] pub degree: Integer, - #[serde(default = "default_1007")] + #[serde(default = "default_1009")] pub via_relation: String, - #[serde(default = "default_1008")] + #[serde(default = "default_1010")] pub via_direction: String, - #[serde(default = "default_1009")] + #[serde(default = "default_1011")] pub via_provenance: String, - #[serde(default = "default_1010")] + #[serde(default = "default_1012")] pub valid_from: String, - #[serde(default = "default_1011")] + #[serde(default = "default_1013")] pub valid_to: String, - #[serde(default = "default_1012")] + #[serde(default = "default_1014")] pub community_id: Option, - #[serde(default = "default_1013")] + #[serde(default = "default_1015")] pub path: Vec, } @@ -21887,12 +21891,12 @@ pub struct TraversalNode { #[non_exhaustive] pub struct FactsTraverseOutput { pub seed: String, - #[serde(default = "default_1004")] + #[serde(default = "default_1006")] pub seed_community_id: Option, pub nodes: Vec, - #[serde(default = "default_1014")] + #[serde(default = "default_1016")] pub truncated: bool, - #[serde(default = "default_1015")] + #[serde(default = "default_1017")] pub hubs: Vec, } @@ -22101,7 +22105,7 @@ pub struct GrantsApproveOutput { pub subject: String, pub namespace: String, pub decision: GrantsApproveOutputDecision, - #[serde(default = "default_1016")] + #[serde(default = "default_1018")] pub role: Option, pub decided_at: String, } @@ -22380,9 +22384,9 @@ pub struct GrantEntry { #[non_exhaustive] pub struct GrantsListOutput { pub rows: Vec, - #[serde(default = "default_1017")] + #[serde(default = "default_1019")] pub next_cursor: Option, - #[serde(default = "default_1018")] + #[serde(default = "default_1020")] pub truncated: bool, } @@ -22498,12 +22502,12 @@ pub enum PendingForMeEntryRequestedRole { #[non_exhaustive] pub struct PendingForMeEntry { pub namespace: String, - #[serde(default = "default_1019")] + #[serde(default = "default_1021")] pub kind: String, pub subject: String, pub current_role: PendingForMeEntryCurrentRole, pub requested_role: PendingForMeEntryRequestedRole, - #[serde(default = "default_1020")] + #[serde(default = "default_1022")] pub pending_since: Option, } @@ -22562,7 +22566,7 @@ impl GrantsPendingForMeInput { #[non_exhaustive] pub struct GrantsRevokeOutput { pub revoked: bool, - #[serde(default = "default_1021")] + #[serde(default = "default_1023")] pub revoked_at: Option, } @@ -22692,7 +22696,7 @@ impl GrantsShareAgentInput { #[non_exhaustive] pub struct GrantsUnshareAgentOutput { pub revoked: bool, - #[serde(default = "default_1022")] + #[serde(default = "default_1024")] pub revoked_at: Option, } @@ -22752,7 +22756,7 @@ pub enum HelpGetOutputAudience { pub struct HelpOutlineEntry { pub section: String, pub anchor: String, - #[serde(default = "default_1030")] + #[serde(default = "default_1032")] pub heading: String, } @@ -22762,21 +22766,21 @@ pub struct HelpGetOutput { pub available: bool, pub found: bool, pub path: String, - #[serde(default = "default_1023")] + #[serde(default = "default_1025")] pub title: String, - #[serde(default = "default_1024")] + #[serde(default = "default_1026")] pub section: String, - #[serde(default = "default_1025")] + #[serde(default = "default_1027")] pub anchor: String, - #[serde(default = "default_1026")] + #[serde(default = "default_1028")] pub audience: HelpGetOutputAudience, - #[serde(default = "default_1027")] + #[serde(default = "default_1029")] pub text: String, - #[serde(default = "default_1028")] + #[serde(default = "default_1030")] pub truncated: bool, - #[serde(default = "default_1029")] - pub next_offset: Integer, #[serde(default = "default_1031")] + pub next_offset: Integer, + #[serde(default = "default_1033")] pub sections: Vec, } @@ -22921,21 +22925,21 @@ pub struct InboxPayload { pub inbox: String, pub owner_agent: String, pub owner_namespace: String, - #[serde(default = "default_1032")] + #[serde(default = "default_1034")] pub description: String, - #[serde(default = "default_1033")] + #[serde(default = "default_1035")] pub posters: Vec, - #[serde(default = "default_1034")] + #[serde(default = "default_1036")] pub accept_disclosure: Vec, pub default_lease_seconds: Integer, pub max_attempts: Integer, pub max_defers: Integer, pub triage_escalate_after_seconds: Integer, - #[serde(default = "default_1035")] + #[serde(default = "default_1037")] pub webhook_url: String, - #[serde(default = "default_1036")] + #[serde(default = "default_1038")] pub created_by: String, - #[serde(default = "default_1037")] + #[serde(default = "default_1039")] pub owner_subject: String, pub created_at: String, pub updated_at: String, @@ -23045,9 +23049,9 @@ pub struct PolicyPayload { pub poster: String, pub kind: String, pub mode: PolicyPayloadMode, - #[serde(default = "default_1038")] + #[serde(default = "default_1040")] pub require_evidence: Vec, - #[serde(default = "default_1039")] + #[serde(default = "default_1041")] pub set_by: String, pub set_at: String, pub version: Integer, @@ -23117,7 +23121,7 @@ impl InboxPolicyListInput { pub struct InboxPolicySetOutput { #[serde(deserialize_with = "required_nullable")] pub policy: Option, - #[serde(default = "default_1040")] + #[serde(default = "default_1042")] pub removed: bool, } @@ -23246,15 +23250,15 @@ pub struct Principal { pub subject: String, pub label: String, pub kind: PrincipalKind, - #[serde(default = "default_1041")] + #[serde(default = "default_1043")] pub namespaces: Vec, - #[serde(default = "default_1042")] + #[serde(default = "default_1044")] pub roles: Vec, - #[serde(default = "default_1043")] + #[serde(default = "default_1045")] pub last_seen: Option, - #[serde(default = "default_1044")] + #[serde(default = "default_1046")] pub can_already_post: bool, - #[serde(default = "default_1045")] + #[serde(default = "default_1047")] pub listed: bool, } @@ -23616,15 +23620,15 @@ pub struct AnalysisColumn { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct InsightsQueryOutput { - #[serde(default = "default_1046")] + #[serde(default = "default_1048")] pub columns: Vec, - #[serde(default = "default_1047")] + #[serde(default = "default_1049")] pub rows: Vec>, - #[serde(default = "default_1048")] + #[serde(default = "default_1050")] pub row_count: Integer, - #[serde(default = "default_1049")] + #[serde(default = "default_1051")] pub truncated: bool, - #[serde(default = "default_1050")] + #[serde(default = "default_1052")] pub sql_digest: String, } @@ -23923,32 +23927,32 @@ pub struct DatasetOut { pub dataset_id: String, pub source_uri: String, pub name: String, - #[serde(default = "default_1051")] + #[serde(default = "default_1053")] pub sheet: String, - #[serde(default = "default_1052")] + #[serde(default = "default_1054")] pub row_start: Integer, - #[serde(default = "default_1053")] + #[serde(default = "default_1055")] pub row_end: Integer, pub revision: Integer, pub snapshot_id: String, pub schema_state: String, pub columns: Vec, - #[serde(default = "default_1054")] + #[serde(default = "default_1056")] pub clarifications: Vec, pub row_count: Integer, - #[serde(default = "default_1055")] + #[serde(default = "default_1057")] pub rejected_rows: Integer, - #[serde(default = "default_1056")] + #[serde(default = "default_1058")] pub rejected: Vec, - #[serde(default = "default_1057")] + #[serde(default = "default_1059")] pub complete: bool, - #[serde(default = "default_1058")] + #[serde(default = "default_1060")] pub approved_by: String, - #[serde(default = "default_1059")] + #[serde(default = "default_1061")] pub approved_at: Option, - #[serde(default = "default_1060")] + #[serde(default = "default_1062")] pub created_at: Option, - #[serde(default = "default_1061")] + #[serde(default = "default_1063")] pub rows: Vec>, } @@ -23956,9 +23960,9 @@ pub struct DatasetOut { #[non_exhaustive] pub struct KnowledgeDatasetApproveOutput { pub found: bool, - #[serde(default = "default_1062")] + #[serde(default = "default_1064")] pub dataset: Option, - #[serde(default = "default_1063")] + #[serde(default = "default_1065")] pub retyped: bool, } @@ -24052,9 +24056,9 @@ impl KnowledgeDatasetApproveInput { #[non_exhaustive] pub struct KnowledgeDatasetGetOutput { pub found: bool, - #[serde(default = "default_1064")] + #[serde(default = "default_1066")] pub revision: Integer, - #[serde(default = "default_1065")] + #[serde(default = "default_1067")] pub datasets: Vec, } @@ -24127,7 +24131,7 @@ impl KnowledgeDatasetGetInput { pub struct KnowledgeDocCluster { pub content_sha256: String, pub doc_count: Integer, - #[serde(default = "default_1066")] + #[serde(default = "default_1068")] pub docs: Vec>, } @@ -24137,16 +24141,16 @@ pub struct KnowledgeChunkCluster { pub content_sha256: String, pub chunk_count: Integer, pub uri_count: Integer, - #[serde(default = "default_1068")] + #[serde(default = "default_1070")] pub samples: Vec>, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct KnowledgeDedupListOutput { - #[serde(default = "default_1067")] - pub doc_clusters: Vec, #[serde(default = "default_1069")] + pub doc_clusters: Vec, + #[serde(default = "default_1071")] pub chunk_clusters: Vec, } @@ -24223,7 +24227,7 @@ pub struct KnowledgeDedupResolveOutput { pub canonical_uri: String, pub duplicate_uri: String, pub decision: String, - #[serde(default = "default_1070")] + #[serde(default = "default_1072")] pub superseded_uri: String, } @@ -24342,24 +24346,24 @@ impl KnowledgeDeleteInput { #[non_exhaustive] pub struct KnowledgeFormat { pub format: String, - #[serde(default = "default_1071")] + #[serde(default = "default_1073")] pub extensions: Vec, - #[serde(default = "default_1072")] + #[serde(default = "default_1074")] pub media_types: Vec, - #[serde(default = "default_1073")] + #[serde(default = "default_1075")] pub available: Option, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct KnowledgeFormatsOutput { - #[serde(default = "default_1074")] + #[serde(default = "default_1076")] pub formats: Vec, - #[serde(default = "default_1075")] + #[serde(default = "default_1077")] pub max_upload_bytes: Integer, - #[serde(default = "default_1076")] + #[serde(default = "default_1078")] pub refused_extensions: Vec, - #[serde(default = "default_1077")] + #[serde(default = "default_1079")] pub default_format: String, } @@ -24461,7 +24465,7 @@ impl KnowledgeGapsDraftInput { pub struct KnowledgeGap { pub gap_id: String, pub head: String, - #[serde(default = "default_1078")] + #[serde(default = "default_1080")] pub samples: Vec, pub askers: Integer, pub asks: Integer, @@ -24471,13 +24475,13 @@ pub struct KnowledgeGap { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct KnowledgeGapsListOutput { - #[serde(default = "default_1079")] + #[serde(default = "default_1081")] pub gaps: Vec, - #[serde(default = "default_1080")] + #[serde(default = "default_1082")] pub built_at: Option, - #[serde(default = "default_1081")] + #[serde(default = "default_1083")] pub capturing: Option, - #[serde(default = "default_1082")] + #[serde(default = "default_1084")] pub enabled: bool, } @@ -24543,7 +24547,7 @@ pub struct KnowledgeIngestOutput { pub ingestion_id: String, pub state: String, pub source_uri: String, - #[serde(default = "default_1083")] + #[serde(default = "default_1085")] pub namespace: String, } @@ -24762,9 +24766,9 @@ impl KnowledgeIngestInput { #[non_exhaustive] pub struct KnowledgeIngestCancelOutput { pub found: bool, - #[serde(default = "default_1084")] + #[serde(default = "default_1086")] pub state: String, - #[serde(default = "default_1085")] + #[serde(default = "default_1087")] pub cancelled: bool, } @@ -24815,39 +24819,39 @@ impl KnowledgeIngestCancelInput { pub struct KnowledgeIngestStatusOutput { pub found: bool, pub ingestion_id: String, - #[serde(default = "default_1086")] + #[serde(default = "default_1088")] pub source_uri: String, - #[serde(default = "default_1087")] + #[serde(default = "default_1089")] pub state: String, - #[serde(default = "default_1088")] + #[serde(default = "default_1090")] pub stage: String, - #[serde(default = "default_1089")] + #[serde(default = "default_1091")] pub attempts: Integer, - #[serde(default = "default_1090")] + #[serde(default = "default_1092")] pub error_code: String, - #[serde(default = "default_1091")] + #[serde(default = "default_1093")] pub error_message: String, - #[serde(default = "default_1092")] + #[serde(default = "default_1094")] pub format: String, - #[serde(default = "default_1093")] + #[serde(default = "default_1095")] pub coverage: Option>, - #[serde(default = "default_1094")] + #[serde(default = "default_1096")] pub warnings: Vec, - #[serde(default = "default_1095")] + #[serde(default = "default_1097")] pub chunks: Integer, - #[serde(default = "default_1096")] + #[serde(default = "default_1098")] pub revision: Integer, - #[serde(default = "default_1097")] + #[serde(default = "default_1099")] pub expected_revision: Option, - #[serde(default = "default_1098")] + #[serde(default = "default_1100")] pub filename: String, - #[serde(default = "default_1099")] + #[serde(default = "default_1101")] pub retrieval: String, - #[serde(default = "default_1100")] + #[serde(default = "default_1102")] pub cancel_requested: bool, - #[serde(default = "default_1101")] + #[serde(default = "default_1103")] pub created_at: Option, - #[serde(default = "default_1102")] + #[serde(default = "default_1104")] pub updated_at: Option, } @@ -24904,21 +24908,21 @@ pub struct DocumentCount { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct DocumentTotals { - #[serde(default = "default_1103")] + #[serde(default = "default_1105")] pub live: Option, - #[serde(default = "default_1104")] + #[serde(default = "default_1106")] pub deleted: Option, - #[serde(default = "default_1105")] + #[serde(default = "default_1107")] pub newest_ingested_at: Option, - #[serde(default = "default_1106")] + #[serde(default = "default_1108")] pub by_format: Vec, - #[serde(default = "default_1107")] + #[serde(default = "default_1109")] pub by_source_scheme: Vec, - #[serde(default = "default_1108")] + #[serde(default = "default_1110")] pub earlier_revisions: Option, - #[serde(default = "default_1109")] + #[serde(default = "default_1111")] pub unnumbered: Option, - #[serde(default = "default_1110")] + #[serde(default = "default_1112")] pub retired_versions: Option, } @@ -24933,15 +24937,15 @@ pub struct ChunkModelCount { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct ChunkTotals { - #[serde(default = "default_1111")] + #[serde(default = "default_1113")] pub embedder_model: String, - #[serde(default = "default_1112")] + #[serde(default = "default_1114")] pub live: Option, - #[serde(default = "default_1113")] + #[serde(default = "default_1115")] pub searchable: Option, - #[serde(default = "default_1114")] + #[serde(default = "default_1116")] pub unembedded: Option, - #[serde(default = "default_1115")] + #[serde(default = "default_1117")] pub by_model: Vec, } @@ -24966,9 +24970,9 @@ pub struct DocumentDecisions { #[non_exhaustive] pub struct DecisionTotals { pub definition: String, - #[serde(default = "default_1116")] + #[serde(default = "default_1118")] pub refs: Vec, - #[serde(default = "default_1117")] + #[serde(default = "default_1119")] pub all_documents: Option, } @@ -24983,7 +24987,7 @@ pub struct DocumentChunks { pub min_chars: Integer, pub median_chars: Integer, pub max_chars: Integer, - #[serde(default = "default_1120")] + #[serde(default = "default_1122")] pub models: Vec, } @@ -25033,11 +25037,11 @@ pub struct IngestJob { pub failure_class: IngestJobFailureClass, pub queued_at: String, pub updated_at: String, - #[serde(default = "default_1125")] + #[serde(default = "default_1127")] pub ended_at: Option, - #[serde(default = "default_1126")] + #[serde(default = "default_1128")] pub next_attempt_at: Option, - #[serde(default = "default_1127")] + #[serde(default = "default_1129")] pub stalled: bool, } @@ -25047,11 +25051,11 @@ pub struct SourceJobs { pub source_uri: String, pub jobs: Integer, pub open_jobs: Integer, - #[serde(default = "default_1124")] + #[serde(default = "default_1126")] pub open_ingestion_id: String, pub latest: IngestJob, pub current: IngestJob, - #[serde(default = "default_1128")] + #[serde(default = "default_1130")] pub replaced: bool, } @@ -25064,18 +25068,18 @@ pub struct InspectDocument { pub source_scheme: String, pub version: Integer, pub revision: Integer, - #[serde(default = "default_1118")] + #[serde(default = "default_1120")] pub ingestion_id: String, pub ingested_at: String, - #[serde(default = "default_1119")] - pub retired_versions: Option, #[serde(default = "default_1121")] + pub retired_versions: Option, + #[serde(default = "default_1123")] pub chunks: Option, - #[serde(default = "default_1122")] + #[serde(default = "default_1124")] pub decisions: Option, - #[serde(default = "default_1123")] + #[serde(default = "default_1125")] pub extraction: Option, - #[serde(default = "default_1129")] + #[serde(default = "default_1131")] pub jobs: Option, } @@ -25120,40 +25124,40 @@ pub struct DocumentFinding { pub kind: DocumentFindingKind, pub rule_version: Integer, pub source_op: String, - #[serde(default = "default_1132")] + #[serde(default = "default_1134")] pub window_seconds: Option, - #[serde(default = "default_1133")] + #[serde(default = "default_1135")] pub population: Option, pub sample_limit: Integer, pub samples_complete: bool, - #[serde(default = "default_1134")] + #[serde(default = "default_1136")] pub evidence: Vec, - #[serde(default = "default_1135")] + #[serde(default = "default_1137")] pub exceptions: String, - #[serde(default = "default_1136")] + #[serde(default = "default_1138")] pub uncertainty: String, pub code: String, pub severity: DocumentFindingSeverity, pub count: Integer, pub share: f64, - #[serde(default = "default_1137")] + #[serde(default = "default_1139")] pub samples: Vec, - #[serde(default = "default_1138")] + #[serde(default = "default_1140")] pub ingested: Integer, - #[serde(default = "default_1139")] + #[serde(default = "default_1141")] pub ingested_samples: Vec, pub detail: String, pub remedy: String, - #[serde(default = "default_1140")] + #[serde(default = "default_1142")] pub refs: Vec, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct ReportCoverage { - #[serde(default = "default_1142")] + #[serde(default = "default_1144")] pub rules_run: Vec, - #[serde(default = "default_1143")] + #[serde(default = "default_1145")] pub rules_skipped: Vec, pub complete: bool, } @@ -25161,43 +25165,43 @@ pub struct ReportCoverage { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct IngestionTotals { - #[serde(default = "default_1144")] + #[serde(default = "default_1146")] pub sources: Option, - #[serde(default = "default_1145")] + #[serde(default = "default_1147")] pub without_document: Option, - #[serde(default = "default_1146")] + #[serde(default = "default_1148")] pub replaced: Option, - #[serde(default = "default_1147")] + #[serde(default = "default_1149")] pub pending: Option, - #[serde(default = "default_1148")] + #[serde(default = "default_1150")] pub processing: Option, - #[serde(default = "default_1149")] + #[serde(default = "default_1151")] pub stalled: Option, - #[serde(default = "default_1150")] + #[serde(default = "default_1152")] pub ready: Option, - #[serde(default = "default_1151")] + #[serde(default = "default_1153")] pub partial: Option, - #[serde(default = "default_1152")] + #[serde(default = "default_1154")] pub failed: Option, - #[serde(default = "default_1153")] + #[serde(default = "default_1155")] pub cancelled: Option, - #[serde(default = "default_1154")] + #[serde(default = "default_1156")] pub oldest_open_queued_at: Option, pub worker_enabled: bool, - #[serde(default = "default_1155")] + #[serde(default = "default_1157")] pub extractor_configured: Option, - #[serde(default = "default_1156")] + #[serde(default = "default_1158")] pub without_document_listed: Vec, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct ExtractionTotals { - #[serde(default = "default_1157")] + #[serde(default = "default_1159")] pub documents: Option, - #[serde(default = "default_1158")] + #[serde(default = "default_1160")] pub incomplete: Option, - #[serde(default = "default_1159")] + #[serde(default = "default_1161")] pub lost: Vec, } @@ -25227,31 +25231,31 @@ pub struct IngestFinding { pub kind: IngestFindingKind, pub rule_version: Integer, pub source_op: String, - #[serde(default = "default_1160")] + #[serde(default = "default_1162")] pub window_seconds: Option, - #[serde(default = "default_1161")] + #[serde(default = "default_1163")] pub population: Option, pub sample_limit: Integer, pub samples_complete: bool, - #[serde(default = "default_1162")] + #[serde(default = "default_1164")] pub evidence: Vec, - #[serde(default = "default_1163")] + #[serde(default = "default_1165")] pub exceptions: String, - #[serde(default = "default_1164")] + #[serde(default = "default_1166")] pub uncertainty: String, pub code: String, pub severity: IngestFindingSeverity, pub count: Integer, pub share: f64, - #[serde(default = "default_1165")] + #[serde(default = "default_1167")] pub samples: Vec, - #[serde(default = "default_1166")] + #[serde(default = "default_1168")] pub ingestion_ids: Vec, - #[serde(default = "default_1167")] + #[serde(default = "default_1169")] pub without_document: Integer, pub detail: String, pub remedy: String, - #[serde(default = "default_1168")] + #[serde(default = "default_1170")] pub refs: Vec, } @@ -25278,20 +25282,20 @@ pub struct KnowledgeInspectOutput { pub documents: DocumentTotals, pub chunks: ChunkTotals, pub decisions: DecisionTotals, - #[serde(default = "default_1130")] + #[serde(default = "default_1132")] pub listed: Vec, - #[serde(default = "default_1131")] + #[serde(default = "default_1133")] pub listed_complete: bool, - #[serde(default = "default_1141")] + #[serde(default = "default_1143")] pub findings: Vec, pub coverage: ReportCoverage, pub ingestions: IngestionTotals, pub extraction: ExtractionTotals, - #[serde(default = "default_1169")] + #[serde(default = "default_1171")] pub ingest_findings: Vec, - #[serde(default = "default_1170")] + #[serde(default = "default_1172")] pub memory_findings: Vec, - #[serde(default = "default_1171")] + #[serde(default = "default_1173")] pub skipped: Vec, } @@ -25438,7 +25442,7 @@ pub struct KnowledgeListEntry { #[non_exhaustive] pub struct KnowledgeListOutput { pub rows: Vec, - #[serde(default = "default_1172")] + #[serde(default = "default_1174")] pub next_cursor: Option, } @@ -25604,9 +25608,9 @@ pub enum KnowledgeMoveResultReason { #[non_exhaustive] pub struct KnowledgeMoveResult { pub source_uri: String, - #[serde(default = "default_1174")] + #[serde(default = "default_1176")] pub moved: bool, - #[serde(default = "default_1175")] + #[serde(default = "default_1177")] pub reason: KnowledgeMoveResultReason, } @@ -25614,9 +25618,9 @@ pub struct KnowledgeMoveResult { #[non_exhaustive] pub struct KnowledgeMoveOutput { pub found: bool, - #[serde(default = "default_1173")] + #[serde(default = "default_1175")] pub to_namespace: String, - #[serde(default = "default_1176")] + #[serde(default = "default_1178")] pub results: Vec, } @@ -25682,17 +25686,17 @@ pub struct OutlineEntry { pub struct KnowledgeOutlineOutput { pub found: bool, pub source_uri: String, - #[serde(default = "default_1177")] + #[serde(default = "default_1179")] pub title: String, - #[serde(default = "default_1178")] + #[serde(default = "default_1180")] pub structured: bool, - #[serde(default = "default_1179")] + #[serde(default = "default_1181")] pub chunk_count: Integer, - #[serde(default = "default_1180")] + #[serde(default = "default_1182")] pub sections: Vec, - #[serde(default = "default_1181")] + #[serde(default = "default_1183")] pub section_content: Option, - #[serde(default = "default_1182")] + #[serde(default = "default_1184")] pub section_chunk_idxs: Vec, } @@ -25799,12 +25803,12 @@ pub struct QueryReceipt { pub struct KnowledgeQueryOutput { pub columns: Vec, pub rows: Vec>, - #[serde(default = "default_1183")] + #[serde(default = "default_1185")] pub row_ids: Vec>, - #[serde(default = "default_1184")] + #[serde(default = "default_1186")] pub truncated: bool, pub complete: bool, - #[serde(default = "default_1185")] + #[serde(default = "default_1187")] pub incomplete: Vec, pub receipt: QueryReceipt, } @@ -26477,9 +26481,9 @@ pub struct QueryHistoryListOutputQueryHistorySource { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct QueryHistoryListOutput { - #[serde(default = "default_1186")] + #[serde(default = "default_1188")] pub enabled: bool, - #[serde(default = "default_1187")] + #[serde(default = "default_1189")] pub sources: Vec, } @@ -26610,7 +26614,7 @@ impl QueryHistoryRemoveInput { #[non_exhaustive] pub struct KnowledgeReadsOutput { pub window_days: Integer, - #[serde(default = "default_1188")] + #[serde(default = "default_1190")] pub reads: Vec>, } @@ -26713,15 +26717,15 @@ pub enum KnowledgeRestoreOutputOriginal { #[non_exhaustive] pub struct KnowledgeRestoreOutput { pub restored: bool, - #[serde(default = "default_1189")] + #[serde(default = "default_1191")] pub reason: KnowledgeRestoreOutputReason, - #[serde(default = "default_1190")] + #[serde(default = "default_1192")] pub doc_id: String, - #[serde(default = "default_1191")] + #[serde(default = "default_1193")] pub revision: Option, - #[serde(default = "default_1192")] + #[serde(default = "default_1194")] pub chunks_restored: Integer, - #[serde(default = "default_1193")] + #[serde(default = "default_1195")] pub original: KnowledgeRestoreOutputOriginal, } @@ -26785,15 +26789,15 @@ impl KnowledgeRestoreInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct KnowledgeSourceProbe { - #[serde(default = "default_1197")] + #[serde(default = "default_1199")] pub documents: Integer, - #[serde(default = "default_1198")] + #[serde(default = "default_1200")] pub more: bool, - #[serde(default = "default_1199")] + #[serde(default = "default_1201")] pub sample: Vec, - #[serde(default = "default_1200")] + #[serde(default = "default_1202")] pub checked: Integer, - #[serde(default = "default_1201")] + #[serde(default = "default_1203")] pub sampled: bool, } @@ -26803,15 +26807,15 @@ pub struct KnowledgeSourceAddOutput { pub name: String, pub kind: String, pub namespace: String, - #[serde(default = "default_1194")] + #[serde(default = "default_1196")] pub items: Vec>, - #[serde(default = "default_1195")] + #[serde(default = "default_1197")] pub include: Vec, - #[serde(default = "default_1196")] + #[serde(default = "default_1198")] pub config: std::collections::HashMap, - #[serde(default = "default_1202")] + #[serde(default = "default_1204")] pub probe: KnowledgeSourceProbe, - #[serde(default = "default_1203")] + #[serde(default = "default_1205")] pub dry_run: bool, } @@ -26968,21 +26972,21 @@ impl KnowledgeSourceAddInput { #[non_exhaustive] pub struct KnowledgeSourceCheckOutput { pub name: String, - #[serde(default = "default_1204")] + #[serde(default = "default_1206")] pub reachable: bool, - #[serde(default = "default_1205")] + #[serde(default = "default_1207")] pub documents: Integer, - #[serde(default = "default_1206")] + #[serde(default = "default_1208")] pub more: bool, - #[serde(default = "default_1207")] + #[serde(default = "default_1209")] pub sample: Vec, - #[serde(default = "default_1208")] + #[serde(default = "default_1210")] pub checked: Integer, - #[serde(default = "default_1209")] + #[serde(default = "default_1211")] pub sampled: bool, - #[serde(default = "default_1210")] + #[serde(default = "default_1212")] pub summary: String, - #[serde(default = "default_1211")] + #[serde(default = "default_1213")] pub checked_at: String, } @@ -27031,37 +27035,37 @@ impl KnowledgeSourceCheckInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct KnowledgeSourceSync { - #[serde(default = "default_1220")] + #[serde(default = "default_1222")] pub requested_at: String, - #[serde(default = "default_1221")] + #[serde(default = "default_1223")] pub last_synced_at: String, - #[serde(default = "default_1222")] + #[serde(default = "default_1224")] pub status: String, - #[serde(default = "default_1223")] + #[serde(default = "default_1225")] pub documents_seen: Integer, - #[serde(default = "default_1224")] + #[serde(default = "default_1226")] pub changed: Integer, - #[serde(default = "default_1225")] + #[serde(default = "default_1227")] pub removed: Integer, - #[serde(default = "default_1226")] + #[serde(default = "default_1228")] pub unconverted: Integer, - #[serde(default = "default_1227")] + #[serde(default = "default_1229")] pub unconverted_reasons: std::collections::HashMap, - #[serde(default = "default_1228")] + #[serde(default = "default_1230")] pub skipped: Integer, - #[serde(default = "default_1229")] + #[serde(default = "default_1231")] pub error: String, - #[serde(default = "default_1230")] + #[serde(default = "default_1232")] pub pending_extract: Integer, - #[serde(default = "default_1231")] + #[serde(default = "default_1233")] pub last_extracted_at: String, - #[serde(default = "default_1232")] + #[serde(default = "default_1234")] pub extracted: Integer, - #[serde(default = "default_1233")] + #[serde(default = "default_1235")] pub flagged_pinned: Integer, - #[serde(default = "default_1234")] + #[serde(default = "default_1236")] pub unextracted: Integer, - #[serde(default = "default_1235")] + #[serde(default = "default_1237")] pub extract_error: String, } @@ -27069,11 +27073,11 @@ pub struct KnowledgeSourceSync { #[non_exhaustive] pub struct KnowledgeSourceDocument { pub source_uri: String, - #[serde(default = "default_1237")] + #[serde(default = "default_1239")] pub title: String, - #[serde(default = "default_1238")] + #[serde(default = "default_1240")] pub source_revision: String, - #[serde(default = "default_1239")] + #[serde(default = "default_1241")] pub ingested_at: String, } @@ -27082,25 +27086,25 @@ pub struct KnowledgeSourceDocument { pub struct KnowledgeSourceInspectOutput { pub name: String, pub kind: String, - #[serde(default = "default_1212")] + #[serde(default = "default_1214")] pub credential_mode: String, - #[serde(default = "default_1213")] + #[serde(default = "default_1215")] pub access: String, - #[serde(default = "default_1214")] + #[serde(default = "default_1216")] pub owner_subject: String, - #[serde(default = "default_1215")] + #[serde(default = "default_1217")] pub items: Vec>, - #[serde(default = "default_1216")] + #[serde(default = "default_1218")] pub include: Vec, - #[serde(default = "default_1217")] + #[serde(default = "default_1219")] pub config: std::collections::HashMap, - #[serde(default = "default_1218")] + #[serde(default = "default_1220")] pub created_by: String, - #[serde(default = "default_1219")] + #[serde(default = "default_1221")] pub created_at: String, - #[serde(default = "default_1236")] + #[serde(default = "default_1238")] pub sync: KnowledgeSourceSync, - #[serde(default = "default_1240")] + #[serde(default = "default_1242")] pub documents: Vec, } @@ -27153,34 +27157,34 @@ impl KnowledgeSourceInspectInput { pub struct KnowledgeSourceEntry { pub name: String, pub kind: String, - #[serde(default = "default_1241")] + #[serde(default = "default_1243")] pub credential_mode: String, - #[serde(default = "default_1242")] + #[serde(default = "default_1244")] pub access: String, - #[serde(default = "default_1243")] + #[serde(default = "default_1245")] pub owner_subject: String, - #[serde(default = "default_1244")] + #[serde(default = "default_1246")] pub items: Vec>, - #[serde(default = "default_1245")] + #[serde(default = "default_1247")] pub include: Vec, - #[serde(default = "default_1246")] + #[serde(default = "default_1248")] pub config: std::collections::HashMap, - #[serde(default = "default_1247")] + #[serde(default = "default_1249")] pub created_by: String, - #[serde(default = "default_1248")] + #[serde(default = "default_1250")] pub created_at: String, - #[serde(default = "default_1249")] + #[serde(default = "default_1251")] pub sync: KnowledgeSourceSync, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct KnowledgeSourceListOutput { - #[serde(default = "default_1250")] + #[serde(default = "default_1252")] pub sources: Vec, - #[serde(default = "default_1251")] + #[serde(default = "default_1253")] pub enabled: bool, - #[serde(default = "default_1252")] + #[serde(default = "default_1254")] pub accepts_sources: bool, } @@ -27233,18 +27237,18 @@ impl KnowledgeSourceListInput { #[non_exhaustive] pub struct KnowledgeSourceParsedLink { pub link: String, - #[serde(default = "default_1253")] + #[serde(default = "default_1255")] pub kind: String, - #[serde(default = "default_1254")] + #[serde(default = "default_1256")] pub item: std::collections::HashMap, - #[serde(default = "default_1255")] + #[serde(default = "default_1257")] pub unreadable: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct KnowledgeSourceParseLinksOutput { - #[serde(default = "default_1256")] + #[serde(default = "default_1258")] pub links: Vec, } @@ -27295,25 +27299,25 @@ impl KnowledgeSourceParseLinksInput { #[derive(Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct PushStatusOutput { - #[serde(default = "default_1257")] + #[serde(default = "default_1259")] pub enabled: bool, - #[serde(default = "default_1258")] + #[serde(default = "default_1260")] pub status: String, - #[serde(default = "default_1259")] + #[serde(default = "default_1261")] pub provider: String, - #[serde(default = "default_1260")] + #[serde(default = "default_1262")] pub generation: String, - #[serde(default = "default_1261")] + #[serde(default = "default_1263")] pub callback_url: String, - #[serde(default = "default_1262")] + #[serde(default = "default_1264")] pub provider_id: String, - #[serde(default = "default_1263")] + #[serde(default = "default_1265")] pub challenge_fingerprint: String, - #[serde(default = "default_1264")] + #[serde(default = "default_1266")] pub verification_token: String, - #[serde(default = "default_1265")] + #[serde(default = "default_1267")] pub channels: Integer, - #[serde(default = "default_1266")] + #[serde(default = "default_1268")] pub expires_at: f64, } impl std::fmt::Debug for PushStatusOutput { @@ -27558,7 +27562,7 @@ impl PushStatusInput { #[non_exhaustive] pub struct KnowledgeSourceRemoveOutput { pub name: String, - #[serde(default = "default_1267")] + #[serde(default = "default_1269")] pub documents_pending: Integer, } @@ -27621,9 +27625,9 @@ impl KnowledgeSourceRemoveInput { #[non_exhaustive] pub struct KnowledgeSourceRotateOutput { pub name: String, - #[serde(default = "default_1268")] + #[serde(default = "default_1270")] pub probe: KnowledgeSourceProbe, - #[serde(default = "default_1269")] + #[serde(default = "default_1271")] pub rotated_at: String, } @@ -27675,7 +27679,7 @@ impl KnowledgeSourceRotateInput { #[non_exhaustive] pub struct KnowledgeSourceSyncNowOutput { pub name: String, - #[serde(default = "default_1270")] + #[serde(default = "default_1272")] pub enabled: bool, } @@ -27738,17 +27742,17 @@ impl KnowledgeSourceSyncNowInput { #[non_exhaustive] pub struct KnowledgeSourceUpdateOutput { pub name: String, - #[serde(default = "default_1271")] + #[serde(default = "default_1273")] pub items: Vec>, - #[serde(default = "default_1272")] + #[serde(default = "default_1274")] pub include: Vec, - #[serde(default = "default_1273")] + #[serde(default = "default_1275")] pub config: std::collections::HashMap, - #[serde(default = "default_1274")] + #[serde(default = "default_1276")] pub added: Vec>, - #[serde(default = "default_1275")] + #[serde(default = "default_1277")] pub removed: Vec>, - #[serde(default = "default_1276")] + #[serde(default = "default_1278")] pub probe: KnowledgeSourceProbe, } @@ -27864,9 +27868,9 @@ impl KnowledgeSourceUpdateInput { pub struct CitedChunk { pub source_uri: String, pub chunk_idx: Integer, - #[serde(default = "default_1278")] + #[serde(default = "default_1280")] pub revision: Integer, - #[serde(default = "default_1279")] + #[serde(default = "default_1281")] pub locator: Option>, } @@ -27875,12 +27879,12 @@ pub struct CitedChunk { pub struct SynthesizeCalculation { pub columns: Vec, pub rows: Vec>, - #[serde(default = "default_1286")] + #[serde(default = "default_1288")] pub row_ids: Vec>, - #[serde(default = "default_1287")] + #[serde(default = "default_1289")] pub truncated: bool, pub complete: bool, - #[serde(default = "default_1288")] + #[serde(default = "default_1290")] pub incomplete: Vec, pub receipt: QueryReceipt, pub citation: String, @@ -27894,23 +27898,23 @@ pub struct KnowledgeSynthesizeOutput { pub chunks_read: Integer, pub documents: Integer, pub reduce_rounds: Integer, - #[serde(default = "default_1277")] + #[serde(default = "default_1279")] pub citations: Vec, - #[serde(default = "default_1280")] + #[serde(default = "default_1282")] pub cited_chunks: Vec, - #[serde(default = "default_1281")] + #[serde(default = "default_1283")] pub unsupported_citations: Vec, - #[serde(default = "default_1282")] + #[serde(default = "default_1284")] pub truncated: bool, - #[serde(default = "default_1283")] + #[serde(default = "default_1285")] pub abstain: bool, - #[serde(default = "default_1284")] + #[serde(default = "default_1286")] pub abstain_reason: String, - #[serde(default = "default_1285")] + #[serde(default = "default_1287")] pub clarification: String, - #[serde(default = "default_1289")] + #[serde(default = "default_1291")] pub calculations: Vec, - #[serde(default = "default_1290")] + #[serde(default = "default_1292")] pub model: String, } @@ -28026,13 +28030,13 @@ impl KnowledgeSynthesizeInput { #[non_exhaustive] pub struct KnowledgeUpdateMetadataOutput { pub updated: bool, - #[serde(default = "default_1291")] + #[serde(default = "default_1293")] pub title: String, - #[serde(default = "default_1292")] + #[serde(default = "default_1294")] pub description: String, - #[serde(default = "default_1293")] + #[serde(default = "default_1295")] pub tags: Vec, - #[serde(default = "default_1294")] + #[serde(default = "default_1296")] pub chunks_reindexed: Integer, } @@ -28144,13 +28148,13 @@ pub struct KnowledgeUpsertOutput { pub chunks_superseded: Integer, pub embedding_model: String, pub embedding_dim: Integer, - #[serde(default = "default_1295")] + #[serde(default = "default_1297")] pub duplicate_of_uri: String, - #[serde(default = "default_1296")] + #[serde(default = "default_1298")] pub duplicate_chunk_count: Integer, - #[serde(default = "default_1297")] + #[serde(default = "default_1299")] pub namespace: String, - #[serde(default = "default_1298")] + #[serde(default = "default_1300")] pub source_uri: String, } @@ -28335,26 +28339,26 @@ pub struct LearningEntry { pub memory_type: String, pub proposed_value: Value, pub supporter_count: Integer, - #[serde(default = "default_1299")] + #[serde(default = "default_1301")] pub supporter_sessions: Integer, - #[serde(default = "default_1300")] + #[serde(default = "default_1302")] pub supporter_writers: Integer, pub confidence_avg: f64, pub supporters: Vec, pub rationale: String, - #[serde(default = "default_1301")] + #[serde(default = "default_1303")] pub source_kind: String, - #[serde(default = "default_1302")] + #[serde(default = "default_1304")] pub source_resource_id: String, - #[serde(default = "default_1303")] + #[serde(default = "default_1305")] pub agent: String, pub status: LearningEntryStatus, pub proposed_at: String, - #[serde(default = "default_1304")] + #[serde(default = "default_1306")] pub decided_at: Option, - #[serde(default = "default_1305")] + #[serde(default = "default_1307")] pub decided_by: String, - #[serde(default = "default_1306")] + #[serde(default = "default_1308")] pub decision_reason: String, } @@ -28557,11 +28561,11 @@ pub enum LearningsReviewOutputNewStatus { pub struct LearningsReviewOutput { pub candidate_id: String, pub new_status: LearningsReviewOutputNewStatus, - #[serde(default = "default_1307")] + #[serde(default = "default_1309")] pub promoted_to_shared: bool, - #[serde(default = "default_1308")] + #[serde(default = "default_1310")] pub promoted_to_knowledge: bool, - #[serde(default = "default_1309")] + #[serde(default = "default_1311")] pub knowledge_source_uri: String, pub decided_at: String, } @@ -28765,7 +28769,7 @@ impl MemoryAgentsListInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct AggregateRow { - #[serde(default = "default_1310")] + #[serde(default = "default_1312")] pub group: std::collections::HashMap, pub metric: f64, } @@ -28773,9 +28777,9 @@ pub struct AggregateRow { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryAggregateOutput { - #[serde(default = "default_1311")] + #[serde(default = "default_1313")] pub rows: Vec, - #[serde(default = "default_1312")] + #[serde(default = "default_1314")] pub sql_executed: String, } @@ -28943,15 +28947,15 @@ impl MemoryAggregateInput { pub struct BulkSetResult { pub memory_key: String, pub version: Integer, - #[serde(default = "default_1313")] + #[serde(default = "default_1315")] pub memory_id: String, - #[serde(default = "default_1314")] + #[serde(default = "default_1316")] pub conflict_verdict: String, - #[serde(default = "default_1315")] + #[serde(default = "default_1317")] pub peers: Vec, - #[serde(default = "default_1316")] + #[serde(default = "default_1318")] pub next: String, - #[serde(default = "default_1317")] + #[serde(default = "default_1319")] pub pinned_blocker_id: String, } @@ -28959,29 +28963,29 @@ pub struct BulkSetResult { #[non_exhaustive] pub struct MemoryBulkSetOutput { pub written: Vec, - #[serde(default = "default_1318")] + #[serde(default = "default_1320")] pub skipped_pinned: Vec, - #[serde(default = "default_1319")] + #[serde(default = "default_1321")] pub skipped_locked: Vec, - #[serde(default = "default_1320")] + #[serde(default = "default_1322")] pub skipped_blacklisted: Vec, - #[serde(default = "default_1321")] + #[serde(default = "default_1323")] pub merged: Vec, - #[serde(default = "default_1322")] + #[serde(default = "default_1324")] pub value_updates_linked: Integer, - #[serde(default = "default_1323")] + #[serde(default = "default_1325")] pub rejected_pinned: Vec, - #[serde(default = "default_1324")] + #[serde(default = "default_1326")] pub duplicates: Vec, - #[serde(default = "default_1325")] + #[serde(default = "default_1327")] pub conflicted: Vec, - #[serde(default = "default_1326")] + #[serde(default = "default_1328")] pub unchecked: Integer, - #[serde(default = "default_1327")] + #[serde(default = "default_1329")] pub retyped: Vec, - #[serde(default = "default_1328")] + #[serde(default = "default_1330")] pub identity_duplicates: std::collections::HashMap, - #[serde(default = "default_1329")] + #[serde(default = "default_1331")] pub stage_ms: std::collections::HashMap, } @@ -29131,18 +29135,18 @@ pub enum ApplyRowStatus { #[non_exhaustive] pub struct ApplyRow { pub memory_key: String, - #[serde(default = "default_1337")] + #[serde(default = "default_1339")] pub memory_id: String, - #[serde(default = "default_1338")] + #[serde(default = "default_1340")] pub agent: String, - #[serde(default = "default_1339")] + #[serde(default = "default_1341")] pub user_id: String, - #[serde(default = "default_1340")] + #[serde(default = "default_1342")] pub session_id: String, pub status: ApplyRowStatus, - #[serde(default = "default_1341")] + #[serde(default = "default_1343")] pub version: Option, - #[serde(default = "default_1342")] + #[serde(default = "default_1344")] pub detail: String, } @@ -29152,21 +29156,21 @@ pub struct MemoryApplyOutput { pub action: String, pub dry_run: bool, pub target: String, - #[serde(default = "default_1330")] + #[serde(default = "default_1332")] pub matched: Integer, - #[serde(default = "default_1331")] + #[serde(default = "default_1333")] pub applied: Integer, - #[serde(default = "default_1332")] + #[serde(default = "default_1334")] pub would_apply: Integer, - #[serde(default = "default_1333")] + #[serde(default = "default_1335")] pub refused: Integer, - #[serde(default = "default_1334")] + #[serde(default = "default_1336")] pub noop: Integer, - #[serde(default = "default_1335")] + #[serde(default = "default_1337")] pub failed: Integer, - #[serde(default = "default_1336")] + #[serde(default = "default_1338")] pub truncated: bool, - #[serde(default = "default_1343")] + #[serde(default = "default_1345")] pub rows: Vec, } @@ -29900,137 +29904,137 @@ pub enum MemoryAskOutputDeepFirst { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryAskOutput { - #[serde(default = "default_1344")] + #[serde(default = "default_1346")] pub answer: String, - #[serde(default = "default_1345")] + #[serde(default = "default_1347")] pub source: MemoryAskOutputSource, - #[serde(default = "default_1346")] + #[serde(default = "default_1348")] pub abstain: bool, - #[serde(default = "default_1347")] + #[serde(default = "default_1349")] pub abstain_reason: String, - #[serde(default = "default_1348")] + #[serde(default = "default_1350")] pub memory_keys: Vec, - #[serde(default = "default_1349")] + #[serde(default = "default_1351")] pub results: Vec, - #[serde(default = "default_1350")] + #[serde(default = "default_1352")] pub cited_sessions: Vec, - #[serde(default = "default_1351")] + #[serde(default = "default_1353")] pub next: String, - #[serde(default = "default_1352")] + #[serde(default = "default_1354")] pub synth_model: String, - #[serde(default = "default_1353")] + #[serde(default = "default_1355")] pub route_tier: MemoryAskOutputRouteTier, - #[serde(default = "default_1354")] + #[serde(default = "default_1356")] pub route_reason: String, - #[serde(default = "default_1355")] + #[serde(default = "default_1357")] pub llm_cache_hits: Integer, - #[serde(default = "default_1356")] + #[serde(default = "default_1358")] pub llm_cache_misses: Integer, - #[serde(default = "default_1357")] + #[serde(default = "default_1359")] pub llm_cache: bool, - #[serde(default = "default_1358")] + #[serde(default = "default_1360")] pub llm_cache_saved_usd: f64, - #[serde(default = "default_1359")] + #[serde(default = "default_1361")] pub temporal_consistency: Option, - #[serde(default = "default_1360")] + #[serde(default = "default_1362")] pub citation_concentration: Option, - #[serde(default = "default_1361")] + #[serde(default = "default_1363")] pub escalated: bool, - #[serde(default = "default_1362")] + #[serde(default = "default_1364")] pub gate_mode: String, - #[serde(default = "default_1363")] + #[serde(default = "default_1365")] pub gate_kept: Integer, - #[serde(default = "default_1364")] + #[serde(default = "default_1366")] pub gate_dropped: Integer, - #[serde(default = "default_1365")] + #[serde(default = "default_1367")] pub pending_extraction: Integer, - #[serde(default = "default_1366")] + #[serde(default = "default_1368")] pub pending_evidence: Integer, - #[serde(default = "default_1367")] + #[serde(default = "default_1369")] pub retrieval_query: String, - #[serde(default = "default_1368")] + #[serde(default = "default_1370")] pub facets: Vec, - #[serde(default = "default_1369")] + #[serde(default = "default_1371")] pub facet_memories_added: Integer, - #[serde(default = "default_1370")] + #[serde(default = "default_1372")] pub consistency: MemoryAskOutputConsistency, - #[serde(default = "default_1371")] + #[serde(default = "default_1373")] pub consistency_score: f64, - #[serde(default = "default_1372")] + #[serde(default = "default_1374")] pub consistency_note: String, - #[serde(default = "default_1373")] + #[serde(default = "default_1375")] pub identifier_chase_hops: Integer, - #[serde(default = "default_1374")] + #[serde(default = "default_1376")] pub identifier_chase_added: Integer, - #[serde(default = "default_1375")] + #[serde(default = "default_1377")] pub premise_conflict: String, - #[serde(default = "default_1376")] + #[serde(default = "default_1378")] pub premise_note: String, - #[serde(default = "default_1377")] + #[serde(default = "default_1379")] pub premise_verdict: String, - #[serde(default = "default_1378")] + #[serde(default = "default_1380")] pub attribution_note: String, - #[serde(default = "default_1379")] + #[serde(default = "default_1381")] pub depth: MemoryAskOutputDepth, - #[serde(default = "default_1380")] + #[serde(default = "default_1382")] pub deep_fired: bool, - #[serde(default = "default_1381")] + #[serde(default = "default_1383")] pub decomposed: Vec, - #[serde(default = "default_1382")] + #[serde(default = "default_1384")] pub decomposed_parts: Integer, - #[serde(default = "default_1383")] + #[serde(default = "default_1385")] pub superseded_dropped: Integer, - #[serde(default = "default_1384")] + #[serde(default = "default_1386")] pub stale_sentences_masked: Integer, - #[serde(default = "default_1385")] + #[serde(default = "default_1387")] pub entity_followed: Vec, - #[serde(default = "default_1386")] + #[serde(default = "default_1388")] pub when_evidence_turns: Integer, - #[serde(default = "default_1387")] + #[serde(default = "default_1389")] pub decompose_failed: Integer, - #[serde(default = "default_1388")] + #[serde(default = "default_1390")] pub pool_k: Integer, - #[serde(default = "default_1389")] + #[serde(default = "default_1391")] pub grounding: MemoryAskOutputGrounding, - #[serde(default = "default_1390")] + #[serde(default = "default_1392")] pub deep_reason: String, - #[serde(default = "default_1391")] + #[serde(default = "default_1393")] pub deep_keys: Vec, - #[serde(default = "default_1392")] + #[serde(default = "default_1394")] pub deep_chars: Integer, - #[serde(default = "default_1393")] + #[serde(default = "default_1395")] pub code_hits: Integer, - #[serde(default = "default_1394")] + #[serde(default = "default_1396")] pub pool_facts: Integer, - #[serde(default = "default_1395")] + #[serde(default = "default_1397")] pub pool_chunks: Integer, - #[serde(default = "default_1396")] + #[serde(default = "default_1398")] pub prompt_blocks: std::collections::HashMap, - #[serde(default = "default_1397")] + #[serde(default = "default_1399")] pub deep_selector: MemoryAskOutputDeepSelector, - #[serde(default = "default_1398")] + #[serde(default = "default_1400")] pub deep_first: MemoryAskOutputDeepFirst, - #[serde(default = "default_1399")] + #[serde(default = "default_1401")] pub synth_calls: Integer, - #[serde(default = "default_1400")] + #[serde(default = "default_1402")] pub synth_input_tokens: Integer, - #[serde(default = "default_1401")] + #[serde(default = "default_1403")] pub synth_cached_input_tokens: Integer, - #[serde(default = "default_1402")] + #[serde(default = "default_1404")] pub synth_cache_write_tokens: Integer, - #[serde(default = "default_1403")] + #[serde(default = "default_1405")] pub synth_cost_usd: f64, - #[serde(default = "default_1404")] + #[serde(default = "default_1406")] pub context_tokens_est: Integer, - #[serde(default = "default_1405")] + #[serde(default = "default_1407")] pub context_trimmed: Integer, - #[serde(default = "default_1406")] + #[serde(default = "default_1408")] pub summary_hits: Integer, - #[serde(default = "default_1407")] + #[serde(default = "default_1409")] pub knowledge_hits: Integer, - #[serde(default = "default_1408")] + #[serde(default = "default_1410")] pub timeline_rows: Integer, - #[serde(default = "default_1409")] + #[serde(default = "default_1411")] pub count_recomputed: bool, } @@ -30985,36 +30989,36 @@ pub struct MemoryAutoRetirement { pub reason: String, pub memory_id: String, pub memory_key: String, - #[serde(default = "default_1410")] + #[serde(default = "default_1412")] pub agent: String, - #[serde(default = "default_1411")] + #[serde(default = "default_1413")] pub user_id: String, - #[serde(default = "default_1412")] + #[serde(default = "default_1414")] pub session_id: String, - #[serde(default = "default_1413")] + #[serde(default = "default_1415")] pub superseded_by: String, - #[serde(default = "default_1414")] + #[serde(default = "default_1416")] pub superseded_by_key: String, - #[serde(default = "default_1415")] + #[serde(default = "default_1417")] pub label: String, - #[serde(default = "default_1416")] + #[serde(default = "default_1418")] pub unconfirmed: bool, - #[serde(default = "default_1417")] + #[serde(default = "default_1419")] pub judge_verdict: String, - #[serde(default = "default_1418")] + #[serde(default = "default_1420")] pub judge_confidence: Option, - #[serde(default = "default_1419")] + #[serde(default = "default_1421")] pub judge_model: String, - #[serde(default = "default_1420")] + #[serde(default = "default_1422")] pub judge_prompt_version: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryAutoRetirementsOutput { - #[serde(default = "default_1421")] + #[serde(default = "default_1423")] pub rows: Vec, - #[serde(default = "default_1422")] + #[serde(default = "default_1424")] pub next_cursor: Option, } @@ -31108,9 +31112,9 @@ impl MemoryAutoRetirementsInput { #[non_exhaustive] pub struct BacklinkVersion { pub version: Integer, - #[serde(default = "default_1424")] + #[serde(default = "default_1426")] pub status: String, - #[serde(default = "default_1425")] + #[serde(default = "default_1427")] pub created_at: String, } @@ -31118,7 +31122,7 @@ pub struct BacklinkVersion { #[non_exhaustive] pub struct BacklinkDigest { pub session_id: String, - #[serde(default = "default_1427")] + #[serde(default = "default_1429")] pub date: String, } @@ -31126,9 +31130,9 @@ pub struct BacklinkDigest { #[non_exhaustive] pub struct BacklinkEdge { pub memory_key: String, - #[serde(default = "default_1429")] + #[serde(default = "default_1431")] pub relation: String, - #[serde(default = "default_1430")] + #[serde(default = "default_1432")] pub created_at: String, } @@ -31136,7 +31140,7 @@ pub struct BacklinkEdge { #[non_exhaustive] pub struct BacklinkRelated { pub memory_key: String, - #[serde(default = "default_1434")] + #[serde(default = "default_1436")] pub shared_entities: Vec, } @@ -31144,19 +31148,19 @@ pub struct BacklinkRelated { #[non_exhaustive] pub struct MemoryBacklinksOutput { pub memory_key: String, - #[serde(default = "default_1423")] + #[serde(default = "default_1425")] pub found: bool, - #[serde(default = "default_1426")] - pub versions: Vec, #[serde(default = "default_1428")] + pub versions: Vec, + #[serde(default = "default_1430")] pub digests: Vec, - #[serde(default = "default_1431")] + #[serde(default = "default_1433")] pub links_in: Vec, - #[serde(default = "default_1432")] + #[serde(default = "default_1434")] pub links_out: Vec, - #[serde(default = "default_1433")] - pub evidence_count: Integer, #[serde(default = "default_1435")] + pub evidence_count: Integer, + #[serde(default = "default_1437")] pub related: Vec, } @@ -31261,36 +31265,36 @@ impl MemoryBacklinksInput { #[non_exhaustive] pub struct BriefEvidence { pub memory_key: String, - #[serde(default = "default_1440")] + #[serde(default = "default_1442")] pub source: String, - #[serde(default = "default_1441")] + #[serde(default = "default_1443")] pub source_class: String, - #[serde(default = "default_1442")] + #[serde(default = "default_1444")] pub verified: bool, - #[serde(default = "default_1443")] + #[serde(default = "default_1445")] pub when: String, - #[serde(default = "default_1444")] + #[serde(default = "default_1446")] pub session_id: String, - #[serde(default = "default_1445")] + #[serde(default = "default_1447")] pub excerpt: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryBriefOutput { - #[serde(default = "default_1436")] + #[serde(default = "default_1438")] pub query: String, - #[serde(default = "default_1437")] + #[serde(default = "default_1439")] pub answer: String, - #[serde(default = "default_1438")] + #[serde(default = "default_1440")] pub abstained: bool, - #[serde(default = "default_1439")] + #[serde(default = "default_1441")] pub grounding: String, - #[serde(default = "default_1446")] + #[serde(default = "default_1448")] pub evidence: Vec, - #[serde(default = "default_1447")] + #[serde(default = "default_1449")] pub unknowns: Vec, - #[serde(default = "default_1448")] + #[serde(default = "default_1450")] pub next_reads: Vec, } @@ -31704,9 +31708,9 @@ pub struct MemoryBulkGetOutputMemoryGetOutput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryBulkGetOutput { - #[serde(default = "default_1449")] + #[serde(default = "default_1451")] pub results: std::collections::HashMap, - #[serde(default = "default_1450")] + #[serde(default = "default_1452")] pub missing: Vec, } @@ -32219,7 +32223,7 @@ pub struct MemoryClearOutput { pub cleared_at: String, pub rows_affected: std::collections::HashMap, pub total: Integer, - #[serde(default = "default_1451")] + #[serde(default = "default_1453")] pub locked_skipped: Integer, } @@ -32307,21 +32311,21 @@ pub struct MemoryConsolidateResult { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryConsolidateOutput { - #[serde(default = "default_1452")] + #[serde(default = "default_1454")] pub consolidated: Vec, - #[serde(default = "default_1453")] + #[serde(default = "default_1455")] pub examined: Integer, - #[serde(default = "default_1454")] + #[serde(default = "default_1456")] pub clusters_found: Integer, - #[serde(default = "default_1455")] + #[serde(default = "default_1457")] pub clusters_failed: Integer, - #[serde(default = "default_1456")] + #[serde(default = "default_1458")] pub clusters_refused_lossy: Integer, - #[serde(default = "default_1457")] + #[serde(default = "default_1459")] pub skipped_in_flight: Integer, - #[serde(default = "default_1458")] + #[serde(default = "default_1460")] pub tokens_in: Integer, - #[serde(default = "default_1459")] + #[serde(default = "default_1461")] pub tokens_out: Integer, } @@ -32462,7 +32466,7 @@ impl MemoryConsolidateInput { #[non_exhaustive] pub struct MemoryCopyToOutput { pub copied: bool, - #[serde(default = "default_1460")] + #[serde(default = "default_1462")] pub target_memory_id: String, pub target_namespace: String, pub target_key: String, @@ -32573,11 +32577,11 @@ impl MemoryCopyToInput { #[non_exhaustive] pub struct MemoryCrossPromoteOutput { pub promoted: bool, - #[serde(default = "default_1461")] + #[serde(default = "default_1463")] pub target_memory_id: String, pub target_namespace: String, pub target_key: String, - #[serde(default = "default_1462")] + #[serde(default = "default_1464")] pub cross_promoted_from_memory_id: String, } @@ -32660,23 +32664,23 @@ pub struct DedupCollapsePair { #[non_exhaustive] pub struct MemoryDedupCollapseOutput { pub namespace: String, - #[serde(default = "default_1463")] + #[serde(default = "default_1465")] pub prefix: String, - #[serde(default = "default_1464")] + #[serde(default = "default_1466")] pub dry_run: bool, - #[serde(default = "default_1465")] + #[serde(default = "default_1467")] pub pairs: Integer, - #[serde(default = "default_1466")] + #[serde(default = "default_1468")] pub canonical_live: Integer, - #[serde(default = "default_1467")] + #[serde(default = "default_1469")] pub orphans: Integer, - #[serde(default = "default_1468")] + #[serde(default = "default_1470")] pub mirror_stale: Integer, - #[serde(default = "default_1469")] + #[serde(default = "default_1471")] pub restamped: Integer, - #[serde(default = "default_1470")] + #[serde(default = "default_1472")] pub truncated: bool, - #[serde(default = "default_1471")] + #[serde(default = "default_1473")] pub sample: Vec, } @@ -32775,7 +32779,7 @@ pub struct DedupDuplicate { pub memory_id: String, pub memory_key: String, pub agent: String, - #[serde(default = "default_1474")] + #[serde(default = "default_1476")] pub created_at: Option, } @@ -32783,12 +32787,12 @@ pub struct DedupDuplicate { #[non_exhaustive] pub struct DedupCluster { pub canonical_id: String, - #[serde(default = "default_1472")] + #[serde(default = "default_1474")] pub canonical_key: String, - #[serde(default = "default_1473")] + #[serde(default = "default_1475")] pub canonical_agent: String, pub dup_count: Integer, - #[serde(default = "default_1475")] + #[serde(default = "default_1477")] pub duplicates: Vec, } @@ -32860,11 +32864,11 @@ pub struct MemoryDedupResolveOutput { pub canonical_key: String, pub duplicate_key: String, pub decision: String, - #[serde(default = "default_1476")] + #[serde(default = "default_1478")] pub canonical_tombstoned: bool, - #[serde(default = "default_1477")] + #[serde(default = "default_1479")] pub duplicate_tombstoned: bool, - #[serde(default = "default_1478")] + #[serde(default = "default_1480")] pub ignored_args: Vec, } @@ -33002,17 +33006,17 @@ pub struct LostName { pub struct DefinitionEntry { pub memory_key: String, pub promoted_at: String, - #[serde(default = "default_1479")] + #[serde(default = "default_1481")] pub capped: bool, - #[serde(default = "default_1480")] + #[serde(default = "default_1482")] pub term: Option, - #[serde(default = "default_1481")] + #[serde(default = "default_1483")] pub aliases: Vec, - #[serde(default = "default_1482")] + #[serde(default = "default_1484")] pub verdict: Option, - #[serde(default = "default_1483")] + #[serde(default = "default_1485")] pub lapse_reason: Option, - #[serde(default = "default_1484")] + #[serde(default = "default_1486")] pub lost: Vec, } @@ -33073,15 +33077,15 @@ impl MemoryDefinitionsListInput { #[non_exhaustive] pub struct MemoryDeleteVersionOutput { pub tombstoned: bool, - #[serde(default = "default_1485")] + #[serde(default = "default_1487")] pub version: Integer, - #[serde(default = "default_1486")] + #[serde(default = "default_1488")] pub found: bool, - #[serde(default = "default_1487")] + #[serde(default = "default_1489")] pub reason: String, - #[serde(default = "default_1488")] + #[serde(default = "default_1490")] pub dependents_tombstoned: Integer, - #[serde(default = "default_1489")] + #[serde(default = "default_1491")] pub dependents_downgraded: Integer, } @@ -33208,21 +33212,21 @@ pub struct DemonstrationRow { pub struct MemoryDemonstrateOutput { pub query: String, pub demonstrations: Vec, - #[serde(default = "default_1490")] + #[serde(default = "default_1492")] pub votes: std::collections::HashMap, - #[serde(default = "default_1491")] + #[serde(default = "default_1493")] pub predicted_label: String, - #[serde(default = "default_1492")] + #[serde(default = "default_1494")] pub margin: f64, - #[serde(default = "default_1493")] + #[serde(default = "default_1495")] pub abstain: bool, - #[serde(default = "default_1494")] + #[serde(default = "default_1496")] pub abstain_reason: String, - #[serde(default = "default_1495")] + #[serde(default = "default_1497")] pub few_shot_block: String, - #[serde(default = "default_1496")] + #[serde(default = "default_1498")] pub examined: Integer, - #[serde(default = "default_1497")] + #[serde(default = "default_1499")] pub labelled: Integer, } @@ -33362,7 +33366,7 @@ impl MemoryDemonstrateInput { pub struct MemoryDemoteOutput { pub demoted: bool, pub was_reversible: bool, - #[serde(default = "default_1498")] + #[serde(default = "default_1500")] pub tombstoned_at: Option, } @@ -33424,15 +33428,15 @@ impl MemoryDemoteInput { pub struct DigestRow { pub session_id: String, pub summary_text: String, - #[serde(default = "default_1499")] + #[serde(default = "default_1501")] pub key_facts: Vec, - #[serde(default = "default_1500")] + #[serde(default = "default_1502")] pub derived_from: Vec, - #[serde(default = "default_1501")] + #[serde(default = "default_1503")] pub valid_at: Option, - #[serde(default = "default_1502")] + #[serde(default = "default_1504")] pub created_at: Option, - #[serde(default = "default_1503")] + #[serde(default = "default_1505")] pub version: Integer, } @@ -33440,7 +33444,7 @@ pub struct DigestRow { #[non_exhaustive] pub struct MemoryDigestsOutput { pub rows: Vec, - #[serde(default = "default_1504")] + #[serde(default = "default_1506")] pub truncated: bool, } @@ -33565,17 +33569,17 @@ pub struct MemoryEvidenceItem { pub evidence_id: String, pub support_type: String, pub scope: MemoryEvidenceItemScope, - #[serde(default = "default_1508")] + #[serde(default = "default_1510")] pub role: String, - #[serde(default = "default_1509")] + #[serde(default = "default_1511")] pub observed_at: Option, - #[serde(default = "default_1510")] + #[serde(default = "default_1512")] pub content: String, - #[serde(default = "default_1511")] + #[serde(default = "default_1513")] pub char_start: Integer, - #[serde(default = "default_1512")] + #[serde(default = "default_1514")] pub char_end: Integer, - #[serde(default = "default_1513")] + #[serde(default = "default_1515")] pub span: String, } @@ -33583,23 +33587,23 @@ pub struct MemoryEvidenceItem { #[non_exhaustive] pub struct MemoryEvidenceOutput { pub found: bool, - #[serde(default = "default_1505")] + #[serde(default = "default_1507")] pub memory_key: String, - #[serde(default = "default_1506")] + #[serde(default = "default_1508")] pub memory_id: String, - #[serde(default = "default_1507")] + #[serde(default = "default_1509")] pub value: String, - #[serde(default = "default_1514")] + #[serde(default = "default_1516")] pub items: Vec, - #[serde(default = "default_1515")] + #[serde(default = "default_1517")] pub truncated: bool, - #[serde(default = "default_1516")] + #[serde(default = "default_1518")] pub cited: Integer, - #[serde(default = "default_1517")] + #[serde(default = "default_1519")] pub lexical: Integer, - #[serde(default = "default_1518")] + #[serde(default = "default_1520")] pub window: Integer, - #[serde(default = "default_1519")] + #[serde(default = "default_1521")] pub derived: Integer, } @@ -33704,26 +33708,26 @@ impl MemoryEvidenceInput { #[non_exhaustive] pub struct EvidenceChunk { pub session_id: String, - #[serde(default = "default_1520")] + #[serde(default = "default_1522")] pub chunk_index: Integer, pub content: String, - #[serde(default = "default_1521")] + #[serde(default = "default_1523")] pub content_sha256: String, - #[serde(default = "default_1522")] + #[serde(default = "default_1524")] pub agent: String, - #[serde(default = "default_1523")] + #[serde(default = "default_1525")] pub user_id: String, - #[serde(default = "default_1524")] + #[serde(default = "default_1526")] pub parent_memory_key: String, - #[serde(default = "default_1525")] + #[serde(default = "default_1527")] pub memory_keys: Vec, - #[serde(default = "default_1526")] + #[serde(default = "default_1528")] pub line_start: Integer, - #[serde(default = "default_1527")] + #[serde(default = "default_1529")] pub line_end: Integer, - #[serde(default = "default_1528")] + #[serde(default = "default_1530")] pub created_at: String, - #[serde(default = "default_1529")] + #[serde(default = "default_1531")] pub source_url: String, } @@ -33732,17 +33736,17 @@ pub struct EvidenceChunk { pub struct EvidenceDigest { pub session_id: String, pub summary_text: String, - #[serde(default = "default_1531")] + #[serde(default = "default_1533")] pub agent: String, - #[serde(default = "default_1532")] + #[serde(default = "default_1534")] pub user_id: String, - #[serde(default = "default_1533")] + #[serde(default = "default_1535")] pub key_facts: Vec, - #[serde(default = "default_1534")] + #[serde(default = "default_1536")] pub derived_from: Vec, - #[serde(default = "default_1535")] + #[serde(default = "default_1537")] pub valid_at: String, - #[serde(default = "default_1536")] + #[serde(default = "default_1538")] pub created_at: String, } @@ -33752,28 +33756,28 @@ pub struct EvidenceEdge { pub from_key: String, pub to_key: String, pub relation: String, - #[serde(default = "default_1538")] + #[serde(default = "default_1540")] pub confidence: f64, - #[serde(default = "default_1539")] + #[serde(default = "default_1541")] pub explanation: String, - #[serde(default = "default_1540")] + #[serde(default = "default_1542")] pub created_at: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryExportEvidenceOutput { - #[serde(default = "default_1530")] + #[serde(default = "default_1532")] pub chunks: Vec, - #[serde(default = "default_1537")] + #[serde(default = "default_1539")] pub digests: Vec, - #[serde(default = "default_1541")] + #[serde(default = "default_1543")] pub edges: Vec, - #[serde(default = "default_1542")] + #[serde(default = "default_1544")] pub has_more: bool, - #[serde(default = "default_1543")] + #[serde(default = "default_1545")] pub next_cursor: String, - #[serde(default = "default_1544")] + #[serde(default = "default_1546")] pub held_high: Integer, } @@ -33966,15 +33970,15 @@ impl ExposureSummaryInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryExtractionRetryMineOutput { - #[serde(default = "default_1545")] + #[serde(default = "default_1547")] pub requeued: Vec, - #[serde(default = "default_1546")] + #[serde(default = "default_1548")] pub not_failed: Vec, - #[serde(default = "default_1547")] + #[serde(default = "default_1549")] pub model_calls_off: Vec, - #[serde(default = "default_1548")] + #[serde(default = "default_1550")] pub expired: Vec, - #[serde(default = "default_1549")] + #[serde(default = "default_1551")] pub unknown: Vec, } @@ -34035,20 +34039,20 @@ pub struct ExtractionQueueRow { pub content_chars: Integer, pub written: Integer, pub last_error: String, - #[serde(default = "default_1550")] + #[serde(default = "default_1552")] pub enqueued_at: Option, - #[serde(default = "default_1551")] + #[serde(default = "default_1553")] pub updated_at: Option, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryExtractionStatusOutput { - #[serde(default = "default_1552")] + #[serde(default = "default_1554")] pub batches: Vec, - #[serde(default = "default_1553")] + #[serde(default = "default_1555")] pub pending: Integer, - #[serde(default = "default_1554")] + #[serde(default = "default_1556")] pub failed: Integer, } @@ -34196,13 +34200,13 @@ impl MemoryExtractionStatusInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryExtractionStatusMineOutput { - #[serde(default = "default_1555")] + #[serde(default = "default_1557")] pub batches: Vec, - #[serde(default = "default_1556")] + #[serde(default = "default_1558")] pub unknown: Vec, - #[serde(default = "default_1557")] + #[serde(default = "default_1559")] pub pending: Integer, - #[serde(default = "default_1558")] + #[serde(default = "default_1560")] pub failed: Integer, } @@ -34323,39 +34327,39 @@ pub struct MemoryForFileHit { pub memory_key: String, pub memory_type: String, pub value: String, - #[serde(default = "default_1559")] + #[serde(default = "default_1561")] pub value_truncated: bool, - #[serde(default = "default_1560")] + #[serde(default = "default_1562")] pub tags: Vec, - #[serde(default = "default_1561")] + #[serde(default = "default_1563")] pub confidence: f64, - #[serde(default = "default_1562")] + #[serde(default = "default_1564")] pub pinned: bool, - #[serde(default = "default_1563")] + #[serde(default = "default_1565")] pub status: String, - #[serde(default = "default_1564")] + #[serde(default = "default_1566")] pub agent: String, - #[serde(default = "default_1565")] + #[serde(default = "default_1567")] pub updated_at: Option, - #[serde(default = "default_1566")] + #[serde(default = "default_1568")] pub namespace: String, - #[serde(default = "default_1567")] + #[serde(default = "default_1569")] pub actor: String, - #[serde(default = "default_1568")] + #[serde(default = "default_1570")] pub supersedes_key: String, - #[serde(default = "default_1569")] + #[serde(default = "default_1571")] pub supersedes: String, - #[serde(default = "default_1570")] + #[serde(default = "default_1572")] pub supersedes_kind: MemoryForFileHitSupersedesKind, - #[serde(default = "default_1571")] + #[serde(default = "default_1573")] pub matched_files: Vec, - #[serde(default = "default_1572")] + #[serde(default = "default_1574")] pub source_resource_id: String, - #[serde(default = "default_1573")] + #[serde(default = "default_1575")] pub verification: MemoryForFileHitVerification, - #[serde(default = "default_1574")] + #[serde(default = "default_1576")] pub code_state: MemoryForFileHitCodeState, - #[serde(default = "default_1575")] + #[serde(default = "default_1577")] pub code_moved: Vec, } @@ -34365,11 +34369,11 @@ pub struct MemoryForFileOutput { pub path: String, pub total: Integer, pub hits: Vec, - #[serde(default = "default_1576")] + #[serde(default = "default_1578")] pub rendered: String, - #[serde(default = "default_1577")] + #[serde(default = "default_1579")] pub tokens_estimate: Integer, - #[serde(default = "default_1578")] + #[serde(default = "default_1580")] pub truncated: bool, } @@ -34477,61 +34481,61 @@ impl MemoryForFileInput { #[non_exhaustive] pub struct MemoryGetByIdOutput { pub found: bool, - #[serde(default = "default_1579")] + #[serde(default = "default_1581")] pub memory_id: String, - #[serde(default = "default_1580")] + #[serde(default = "default_1582")] pub namespace: String, - #[serde(default = "default_1581")] + #[serde(default = "default_1583")] pub agent: String, - #[serde(default = "default_1582")] + #[serde(default = "default_1584")] pub user_id: String, - #[serde(default = "default_1583")] + #[serde(default = "default_1585")] pub session_id: String, - #[serde(default = "default_1584")] + #[serde(default = "default_1586")] pub memory_key: String, - #[serde(default = "default_1585")] + #[serde(default = "default_1587")] pub memory_type: Option, - #[serde(default = "default_1586")] + #[serde(default = "default_1588")] pub value: Value, - #[serde(default = "default_1587")] + #[serde(default = "default_1589")] pub confidence: Option, - #[serde(default = "default_1588")] + #[serde(default = "default_1590")] pub version: Option, - #[serde(default = "default_1589")] + #[serde(default = "default_1591")] pub created_at: Option, - #[serde(default = "default_1590")] + #[serde(default = "default_1592")] pub expires_at: Option, - #[serde(default = "default_1591")] + #[serde(default = "default_1593")] pub valid_at: Option, - #[serde(default = "default_1592")] + #[serde(default = "default_1594")] pub valid_to: Option, - #[serde(default = "default_1593")] + #[serde(default = "default_1595")] pub pinned: bool, - #[serde(default = "default_1594")] + #[serde(default = "default_1596")] pub content_sha256: String, - #[serde(default = "default_1595")] + #[serde(default = "default_1597")] pub verified_by: String, - #[serde(default = "default_1596")] + #[serde(default = "default_1598")] pub verified_at: Option, - #[serde(default = "default_1597")] + #[serde(default = "default_1599")] pub verification: String, - #[serde(default = "default_1598")] + #[serde(default = "default_1600")] pub sensitivity: String, - #[serde(default = "default_1599")] + #[serde(default = "default_1601")] pub actor: String, - #[serde(default = "default_1600")] + #[serde(default = "default_1602")] pub source_class: String, - #[serde(default = "default_1601")] + #[serde(default = "default_1603")] pub lock_mode: String, - #[serde(default = "default_1602")] + #[serde(default = "default_1604")] pub lock_reason: String, - #[serde(default = "default_1603")] + #[serde(default = "default_1605")] pub lock_until: Option, - #[serde(default = "default_1604")] + #[serde(default = "default_1606")] pub locked_by: String, - #[serde(default = "default_1605")] + #[serde(default = "default_1607")] pub on_expire: String, - #[serde(default = "default_1606")] + #[serde(default = "default_1608")] pub expire_reason: String, } @@ -34607,41 +34611,41 @@ pub struct MemoryHealthTopRow { pub memory_type: String, pub recall_count: Integer, pub used_count: Integer, - #[serde(default = "default_1609")] + #[serde(default = "default_1611")] pub harm_count: Integer, - #[serde(default = "default_1610")] + #[serde(default = "default_1612")] pub last_recalled_at: Option, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryHealthStaleness { - #[serde(default = "default_1612")] + #[serde(default = "default_1614")] pub by_age: std::collections::HashMap, - #[serde(default = "default_1613")] + #[serde(default = "default_1615")] pub with_validity_end: Integer, - #[serde(default = "default_1614")] + #[serde(default = "default_1616")] pub with_validity_end_share: f64, - #[serde(default = "default_1615")] + #[serde(default = "default_1617")] pub with_expiry: Integer, - #[serde(default = "default_1616")] + #[serde(default = "default_1618")] pub expiring_7d: Integer, - #[serde(default = "default_1617")] + #[serde(default = "default_1619")] pub pinned: Integer, - #[serde(default = "default_1618")] + #[serde(default = "default_1620")] pub days_since_reinforced_p50: Integer, - #[serde(default = "default_1619")] + #[serde(default = "default_1621")] pub days_since_reinforced_p90: Integer, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryHealthFootprint { - #[serde(default = "default_1621")] + #[serde(default = "default_1623")] pub value_chars: Integer, - #[serde(default = "default_1622")] + #[serde(default = "default_1624")] pub value_tokens_est: Integer, - #[serde(default = "default_1623")] + #[serde(default = "default_1625")] pub tokens_per_row_est: f64, } @@ -34651,19 +34655,19 @@ pub struct MemoryHealthOutput { pub live: Integer, pub recalled_ever: Integer, pub used_ever: Integer, - #[serde(default = "default_1607")] + #[serde(default = "default_1609")] pub harmed_ever: Integer, pub silent: Integer, pub silent_older: Integer, pub silent_share: f64, pub silent_after_days: Integer, - #[serde(default = "default_1608")] + #[serde(default = "default_1610")] pub by_type: Vec, - #[serde(default = "default_1611")] + #[serde(default = "default_1613")] pub top_recalled: Vec, - #[serde(default = "default_1620")] + #[serde(default = "default_1622")] pub staleness: MemoryHealthStaleness, - #[serde(default = "default_1624")] + #[serde(default = "default_1626")] pub footprint: MemoryHealthFootprint, } @@ -34783,51 +34787,51 @@ impl MemoryHealthInput { pub struct MemoryHistoryRow { pub memory_id: String, pub version: Integer, - #[serde(default = "default_1625")] + #[serde(default = "default_1627")] pub version_text: String, - #[serde(default = "default_1626")] + #[serde(default = "default_1628")] pub value: Value, pub confidence: f64, - #[serde(default = "default_1627")] + #[serde(default = "default_1629")] pub source_trace: String, - #[serde(default = "default_1628")] + #[serde(default = "default_1630")] pub pinned: bool, pub created_at: String, - #[serde(default = "default_1629")] + #[serde(default = "default_1631")] pub expires_at: Option, - #[serde(default = "default_1630")] + #[serde(default = "default_1632")] pub tombstoned_at: Option, - #[serde(default = "default_1631")] + #[serde(default = "default_1633")] pub redacted_at: Option, - #[serde(default = "default_1632")] + #[serde(default = "default_1634")] pub redaction_reason: String, - #[serde(default = "default_1633")] + #[serde(default = "default_1635")] pub content_sha256: String, - #[serde(default = "default_1634")] + #[serde(default = "default_1636")] pub actor: String, - #[serde(default = "default_1635")] + #[serde(default = "default_1637")] pub source_class: String, - #[serde(default = "default_1636")] + #[serde(default = "default_1638")] pub agent: String, - #[serde(default = "default_1637")] + #[serde(default = "default_1639")] pub written_at: Option, - #[serde(default = "default_1638")] + #[serde(default = "default_1640")] pub status: String, - #[serde(default = "default_1639")] + #[serde(default = "default_1641")] pub conflict_with: Vec, - #[serde(default = "default_1640")] + #[serde(default = "default_1642")] pub tags: Vec, - #[serde(default = "default_1641")] + #[serde(default = "default_1643")] pub verified_at: Option, - #[serde(default = "default_1642")] + #[serde(default = "default_1644")] pub verified_by: String, - #[serde(default = "default_1643")] + #[serde(default = "default_1645")] pub verified_sha256: String, - #[serde(default = "default_1644")] + #[serde(default = "default_1646")] pub lock_mode: String, - #[serde(default = "default_1645")] + #[serde(default = "default_1647")] pub lock_reason: String, - #[serde(default = "default_1646")] + #[serde(default = "default_1648")] pub lock_until: Option, } @@ -34937,13 +34941,13 @@ impl MemoryHistoryInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryImportTotals { - #[serde(default = "default_1647")] + #[serde(default = "default_1649")] pub written: Integer, - #[serde(default = "default_1648")] + #[serde(default = "default_1650")] pub held: Integer, - #[serde(default = "default_1649")] + #[serde(default = "default_1651")] pub skipped: Integer, - #[serde(default = "default_1650")] + #[serde(default = "default_1652")] pub refused: Integer, } @@ -35026,11 +35030,11 @@ pub struct MemoryImportResult { pub index: Integer, pub key: String, pub outcome: MemoryImportResultOutcome, - #[serde(default = "default_1651")] + #[serde(default = "default_1653")] pub reason: MemoryImportResultReason, - #[serde(default = "default_1652")] + #[serde(default = "default_1654")] pub held_by: String, - #[serde(default = "default_1653")] + #[serde(default = "default_1655")] pub note: MemoryImportResultNote, } @@ -35039,7 +35043,7 @@ pub struct MemoryImportResult { pub struct MemoryImportOutput { pub totals: MemoryImportTotals, pub results: Vec, - #[serde(default = "default_1654")] + #[serde(default = "default_1656")] pub dry_run: bool, } @@ -35232,9 +35236,9 @@ pub struct MemoryImportCuratedRow { pub section_heading: String, pub bytes_written: Integer, pub verdict: String, - #[serde(default = "default_1655")] + #[serde(default = "default_1657")] pub rejection_reason: String, - #[serde(default = "default_1656")] + #[serde(default = "default_1658")] pub pinned_blocker_id: Option, } @@ -35326,21 +35330,21 @@ impl MemoryImportCuratedInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryImportEvidenceOutput { - #[serde(default = "default_1657")] + #[serde(default = "default_1659")] pub chunks_written: Integer, - #[serde(default = "default_1658")] + #[serde(default = "default_1660")] pub links_written: Integer, - #[serde(default = "default_1659")] + #[serde(default = "default_1661")] pub digests_written: Integer, - #[serde(default = "default_1660")] + #[serde(default = "default_1662")] pub embedding_model: String, - #[serde(default = "default_1661")] + #[serde(default = "default_1663")] pub embedding_dim: Integer, - #[serde(default = "default_1662")] + #[serde(default = "default_1664")] pub edited: Vec, - #[serde(default = "default_1663")] + #[serde(default = "default_1665")] pub skipped: Integer, - #[serde(default = "default_1664")] + #[serde(default = "default_1666")] pub unchecked: Integer, } @@ -35677,7 +35681,7 @@ pub struct InspectRow { pub memory_key: String, pub memory_id: String, pub version: Integer, - #[serde(default = "default_1674")] + #[serde(default = "default_1676")] pub content_sha256: String, pub memory_type: String, pub status: String, @@ -35688,9 +35692,9 @@ pub struct InspectRow { pub actor: String, pub updated_at: String, pub sensitivity: String, - #[serde(default = "default_1675")] + #[serde(default = "default_1677")] pub versions: Integer, - #[serde(default = "default_1676")] + #[serde(default = "default_1678")] pub excerpt: String, } @@ -35698,27 +35702,27 @@ pub struct InspectRow { #[non_exhaustive] pub struct InspectView { pub definition: String, - #[serde(default = "default_1665")] + #[serde(default = "default_1667")] pub refs: Vec, - #[serde(default = "default_1666")] + #[serde(default = "default_1668")] pub live_rows: Integer, - #[serde(default = "default_1667")] + #[serde(default = "default_1669")] pub by_type: Vec, - #[serde(default = "default_1668")] + #[serde(default = "default_1670")] pub by_status: Vec, - #[serde(default = "default_1669")] + #[serde(default = "default_1671")] pub by_source_class: Vec, - #[serde(default = "default_1670")] + #[serde(default = "default_1672")] pub top_tags: Vec, - #[serde(default = "default_1671")] + #[serde(default = "default_1673")] pub categories: Vec, - #[serde(default = "default_1672")] + #[serde(default = "default_1674")] pub first_updated_at: Option, - #[serde(default = "default_1673")] + #[serde(default = "default_1675")] pub last_updated_at: Option, - #[serde(default = "default_1677")] + #[serde(default = "default_1679")] pub newest: Vec, - #[serde(default = "default_1678")] + #[serde(default = "default_1680")] pub complete: bool, } @@ -35734,32 +35738,32 @@ pub struct InspectCall { #[non_exhaustive] pub struct InspectActivity { pub window_seconds: Integer, - #[serde(default = "default_1679")] + #[serde(default = "default_1681")] pub calls: Vec, - #[serde(default = "default_1680")] + #[serde(default = "default_1682")] pub first_at: Option, - #[serde(default = "default_1681")] + #[serde(default = "default_1683")] pub last_at: Option, - #[serde(default = "default_1682")] + #[serde(default = "default_1684")] pub gap: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct InspectSettings { - #[serde(default = "default_1683")] + #[serde(default = "default_1685")] pub guide_revision: Integer, - #[serde(default = "default_1684")] + #[serde(default = "default_1686")] pub guide_summary: String, - #[serde(default = "default_1685")] + #[serde(default = "default_1687")] pub categories_registered: Integer, - #[serde(default = "default_1686")] + #[serde(default = "default_1688")] pub extraction_policy: Option, - #[serde(default = "default_1687")] + #[serde(default = "default_1689")] pub extraction_policy_unavailable: String, - #[serde(default = "default_1688")] + #[serde(default = "default_1690")] pub extraction_instructions: String, - #[serde(default = "default_1689")] + #[serde(default = "default_1691")] pub extraction_instructions_refs: Vec, } @@ -35775,7 +35779,7 @@ pub struct MemoryInspectOutput { pub others: InspectView, pub activity: InspectActivity, pub settings: InspectSettings, - #[serde(default = "default_1690")] + #[serde(default = "default_1692")] pub skipped: Vec, } @@ -35869,7 +35873,7 @@ pub struct MemoryKeyRef { #[non_exhaustive] pub struct MemoryKeysOutput { pub keys: Vec, - #[serde(default = "default_1691")] + #[serde(default = "default_1693")] pub truncated: bool, } @@ -35972,9 +35976,9 @@ pub struct LineageCandidate { pub decided_at: String, pub decided_by: String, pub match_confidence: LineageCandidateMatchConfidence, - #[serde(default = "default_1700")] + #[serde(default = "default_1702")] pub seeded_from_thread_id: String, - #[serde(default = "default_1701")] + #[serde(default = "default_1703")] pub seeded_from_msg_id: String, } @@ -35992,25 +35996,25 @@ pub struct LineageAuditEvent { pub struct MemoryLineageOutput { pub found: bool, pub memory_key: String, - #[serde(default = "default_1692")] + #[serde(default = "default_1694")] pub promotion_event: String, - #[serde(default = "default_1693")] + #[serde(default = "default_1695")] pub promoted_by: String, - #[serde(default = "default_1694")] + #[serde(default = "default_1696")] pub promoted_at: Option, - #[serde(default = "default_1695")] + #[serde(default = "default_1697")] pub rationale: String, - #[serde(default = "default_1696")] + #[serde(default = "default_1698")] pub source_trace: String, - #[serde(default = "default_1697")] + #[serde(default = "default_1699")] pub source_resource_id: String, - #[serde(default = "default_1698")] + #[serde(default = "default_1700")] pub mechanism: MemoryLineageOutputMechanism, - #[serde(default = "default_1699")] + #[serde(default = "default_1701")] pub supporters: Vec, - #[serde(default = "default_1702")] + #[serde(default = "default_1704")] pub candidate: Option, - #[serde(default = "default_1703")] + #[serde(default = "default_1705")] pub audit_chain: Vec, } @@ -36139,11 +36143,11 @@ pub struct MemoryLinkOutput { pub from_key: String, pub to_key: String, pub relation: String, - #[serde(default = "default_1704")] + #[serde(default = "default_1706")] pub confidence: f64, - #[serde(default = "default_1705")] + #[serde(default = "default_1707")] pub conflict_opened: bool, - #[serde(default = "default_1706")] + #[serde(default = "default_1708")] pub relation_defaulted: bool, } @@ -36457,17 +36461,17 @@ pub struct MemoryListEntry { pub struct MemoryListOutput { pub entries: Vec, pub truncated: bool, - #[serde(default = "default_1707")] + #[serde(default = "default_1709")] pub total: Integer, - #[serde(default = "default_1708")] + #[serde(default = "default_1710")] pub today: Integer, - #[serde(default = "default_1709")] + #[serde(default = "default_1711")] pub namespace_version: String, - #[serde(default = "default_1710")] + #[serde(default = "default_1712")] pub unchanged: bool, - #[serde(default = "default_1711")] + #[serde(default = "default_1713")] pub hidden: Integer, - #[serde(default = "default_1712")] + #[serde(default = "default_1714")] pub hidden_hint: String, } @@ -36853,19 +36857,19 @@ impl MemoryListInput { #[non_exhaustive] pub struct MemoryLockOutput { pub locked: bool, - #[serde(default = "default_1713")] + #[serde(default = "default_1715")] pub reason: String, - #[serde(default = "default_1714")] + #[serde(default = "default_1716")] pub memory_id: String, - #[serde(default = "default_1715")] + #[serde(default = "default_1717")] pub version: Option, - #[serde(default = "default_1716")] + #[serde(default = "default_1718")] pub lock_mode: String, - #[serde(default = "default_1717")] + #[serde(default = "default_1719")] pub lock_until: Option, - #[serde(default = "default_1718")] + #[serde(default = "default_1720")] pub locked_by: String, - #[serde(default = "default_1719")] + #[serde(default = "default_1721")] pub previous_mode: String, } @@ -37024,21 +37028,21 @@ pub struct MemoryMoveOutput { pub from_key: String, pub to_key: String, pub redirected: bool, - #[serde(default = "default_1720")] + #[serde(default = "default_1722")] pub memory_id: String, - #[serde(default = "default_1721")] + #[serde(default = "default_1723")] pub version: Integer, - #[serde(default = "default_1722")] + #[serde(default = "default_1724")] pub content_sha256: String, - #[serde(default = "default_1723")] + #[serde(default = "default_1725")] pub advisories: Vec, - #[serde(default = "default_1724")] + #[serde(default = "default_1726")] pub dry_run: bool, - #[serde(default = "default_1725")] + #[serde(default = "default_1727")] pub memory_type: String, - #[serde(default = "default_1726")] + #[serde(default = "default_1728")] pub value_preview: String, - #[serde(default = "default_1727")] + #[serde(default = "default_1729")] pub sensitivity: String, } @@ -37250,7 +37254,7 @@ impl MemoryMoveInput { pub struct MemoryOutcomeOutput { pub recorded: bool, pub evidence_count_after: Integer, - #[serde(default = "default_1728")] + #[serde(default = "default_1730")] pub quarantined: bool, } @@ -37493,13 +37497,13 @@ impl MemoryOutcomeRunInput { #[non_exhaustive] pub struct OutlineSession { pub session_id: String, - #[serde(default = "default_1730")] + #[serde(default = "default_1732")] pub date: String, - #[serde(default = "default_1731")] + #[serde(default = "default_1733")] pub headline: String, - #[serde(default = "default_1732")] + #[serde(default = "default_1734")] pub key_facts: Integer, - #[serde(default = "default_1733")] + #[serde(default = "default_1735")] pub rows: Integer, } @@ -37507,7 +37511,7 @@ pub struct OutlineSession { #[non_exhaustive] pub struct OutlineHub { pub entity: String, - #[serde(default = "default_1736")] + #[serde(default = "default_1738")] pub degree: Integer, } @@ -37515,28 +37519,28 @@ pub struct OutlineHub { #[non_exhaustive] pub struct OutlineCommunity { pub community_id: Integer, - #[serde(default = "default_1738")] + #[serde(default = "default_1740")] pub label: String, - #[serde(default = "default_1739")] + #[serde(default = "default_1741")] pub size: Integer, - #[serde(default = "default_1740")] + #[serde(default = "default_1742")] pub computed_at: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryOutlineOutput { - #[serde(default = "default_1729")] + #[serde(default = "default_1731")] pub rows_by_type: std::collections::HashMap, - #[serde(default = "default_1734")] + #[serde(default = "default_1736")] pub sessions: Vec, - #[serde(default = "default_1735")] - pub sessions_total: Integer, #[serde(default = "default_1737")] + pub sessions_total: Integer, + #[serde(default = "default_1739")] pub hubs: Vec, - #[serde(default = "default_1741")] + #[serde(default = "default_1743")] pub communities: Vec, - #[serde(default = "default_1742")] + #[serde(default = "default_1744")] pub profile_chars: Integer, } @@ -37688,7 +37692,7 @@ pub struct OwnerUsageRow { pub recalls: Integer, pub used: Integer, pub harm: Integer, - #[serde(default = "default_1743")] + #[serde(default = "default_1745")] pub last_recalled: Option, } @@ -38175,7 +38179,7 @@ pub struct MemoryPromoteOutput { pub shared_memory_key: String, pub promotion_event: String, pub reversible_until: String, - #[serde(default = "default_1744")] + #[serde(default = "default_1746")] pub ignored_args: Vec, } @@ -38344,18 +38348,18 @@ impl MemoryPromoteInput { pub struct MemoryProposalDecision { pub memory_key: String, pub decided: bool, - #[serde(default = "default_1746")] + #[serde(default = "default_1748")] pub status: String, - #[serde(default = "default_1747")] + #[serde(default = "default_1749")] pub reason: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryProposalDecideOutput { - #[serde(default = "default_1745")] + #[serde(default = "default_1747")] pub decided: Integer, - #[serde(default = "default_1748")] + #[serde(default = "default_1750")] pub results: Vec, } @@ -38456,33 +38460,33 @@ pub enum MemoryProposalReady { pub struct MemoryProposal { pub memory_key: String, pub memory_id: String, - #[serde(default = "default_1749")] + #[serde(default = "default_1751")] pub content_sha256: String, - #[serde(default = "default_1750")] + #[serde(default = "default_1752")] pub agent: String, - #[serde(default = "default_1751")] + #[serde(default = "default_1753")] pub memory_type: String, - #[serde(default = "default_1752")] + #[serde(default = "default_1754")] pub value_preview: String, - #[serde(default = "default_1753")] + #[serde(default = "default_1755")] pub sensitivity: String, - #[serde(default = "default_1754")] + #[serde(default = "default_1756")] pub tags: Vec, - #[serde(default = "default_1755")] + #[serde(default = "default_1757")] pub created_at: String, - #[serde(default = "default_1756")] + #[serde(default = "default_1758")] pub graded_passes: Integer, - #[serde(default = "default_1757")] + #[serde(default = "default_1759")] pub graded_fails: Integer, - #[serde(default = "default_1758")] + #[serde(default = "default_1760")] pub last_graded_at: String, - #[serde(default = "default_1759")] + #[serde(default = "default_1761")] pub used_count: Integer, - #[serde(default = "default_1760")] + #[serde(default = "default_1762")] pub harm_count: Integer, - #[serde(default = "default_1761")] + #[serde(default = "default_1763")] pub ready: MemoryProposalReady, - #[serde(default = "default_1762")] + #[serde(default = "default_1764")] pub conflict_with: Vec, } @@ -38498,24 +38502,24 @@ pub enum ProposalPolicyMode { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct ProposalPolicy { - #[serde(default = "default_1765")] + #[serde(default = "default_1767")] pub mode: ProposalPolicyMode, - #[serde(default = "default_1766")] + #[serde(default = "default_1768")] pub min_passes: Integer, - #[serde(default = "default_1767")] + #[serde(default = "default_1769")] pub max_fails: Integer, - #[serde(default = "default_1768")] + #[serde(default = "default_1770")] pub reject_after_fails: Integer, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryProposalsOutput { - #[serde(default = "default_1763")] + #[serde(default = "default_1765")] pub proposals: Vec, - #[serde(default = "default_1764")] + #[serde(default = "default_1766")] pub total: Integer, - #[serde(default = "default_1769")] + #[serde(default = "default_1771")] pub policy: ProposalPolicy, } @@ -38622,19 +38626,19 @@ impl MemoryProposalsInput { pub struct MemoryProvenanceLink { pub direction: String, pub memory_key: String, - #[serde(default = "default_1783")] + #[serde(default = "default_1785")] pub relation: String, - #[serde(default = "default_1784")] + #[serde(default = "default_1786")] pub label: String, - #[serde(default = "default_1785")] + #[serde(default = "default_1787")] pub explanation: String, - #[serde(default = "default_1786")] + #[serde(default = "default_1788")] pub evidence: Vec, - #[serde(default = "default_1787")] + #[serde(default = "default_1789")] pub confidence: f64, - #[serde(default = "default_1788")] + #[serde(default = "default_1790")] pub author: String, - #[serde(default = "default_1789")] + #[serde(default = "default_1791")] pub run_id: String, } @@ -38642,33 +38646,33 @@ pub struct MemoryProvenanceLink { #[non_exhaustive] pub struct MemoryProvenanceOutput { pub found: bool, - #[serde(default = "default_1770")] + #[serde(default = "default_1772")] pub source_trace: String, - #[serde(default = "default_1771")] + #[serde(default = "default_1773")] pub source_kind: String, - #[serde(default = "default_1772")] + #[serde(default = "default_1774")] pub actor: String, - #[serde(default = "default_1773")] + #[serde(default = "default_1775")] pub source_class: String, - #[serde(default = "default_1774")] + #[serde(default = "default_1776")] pub source_label: String, - #[serde(default = "default_1775")] + #[serde(default = "default_1777")] pub thread_id: String, - #[serde(default = "default_1776")] + #[serde(default = "default_1778")] pub thread_exists: bool, - #[serde(default = "default_1777")] + #[serde(default = "default_1779")] pub thread_title: String, - #[serde(default = "default_1778")] + #[serde(default = "default_1780")] pub agent: String, - #[serde(default = "default_1779")] + #[serde(default = "default_1781")] pub session_id: String, - #[serde(default = "default_1780")] + #[serde(default = "default_1782")] pub run_id: String, - #[serde(default = "default_1781")] + #[serde(default = "default_1783")] pub written_at: String, - #[serde(default = "default_1782")] + #[serde(default = "default_1784")] pub source_resource_id: String, - #[serde(default = "default_1790")] + #[serde(default = "default_1792")] pub links: Vec, } @@ -38763,17 +38767,17 @@ impl MemoryProvenanceInput { pub struct RecallTurn { pub evidence_id: String, pub session_id: String, - #[serde(default = "default_1791")] + #[serde(default = "default_1793")] pub role: String, - #[serde(default = "default_1792")] + #[serde(default = "default_1794")] pub actor: String, - #[serde(default = "default_1793")] + #[serde(default = "default_1795")] pub observed_at: String, - #[serde(default = "default_1794")] + #[serde(default = "default_1796")] pub content: String, - #[serde(default = "default_1795")] + #[serde(default = "default_1797")] pub truncated: bool, - #[serde(default = "default_1796")] + #[serde(default = "default_1798")] pub matched_tokens: Integer, } @@ -38790,21 +38794,21 @@ pub enum MemoryRecallOutputOrder { #[non_exhaustive] pub struct MemoryRecallOutput { pub turns: Vec, - #[serde(default = "default_1797")] + #[serde(default = "default_1799")] pub total_matched: Integer, - #[serde(default = "default_1798")] + #[serde(default = "default_1800")] pub returned: Integer, - #[serde(default = "default_1799")] + #[serde(default = "default_1801")] pub has_more: bool, - #[serde(default = "default_1800")] + #[serde(default = "default_1802")] pub next_cursor: String, - #[serde(default = "default_1801")] + #[serde(default = "default_1803")] pub next_offset: Integer, - #[serde(default = "default_1802")] + #[serde(default = "default_1804")] pub order: MemoryRecallOutputOrder, - #[serde(default = "default_1803")] + #[serde(default = "default_1805")] pub query_tokens: Vec, - #[serde(default = "default_1804")] + #[serde(default = "default_1806")] pub tokens_returned: Integer, } @@ -39086,19 +39090,19 @@ pub struct MemoryRecordConflictRow { pub schema_name: String, pub memory_key: String, pub field_name: String, - #[serde(default = "default_1805")] + #[serde(default = "default_1807")] pub prior_value: Value, - #[serde(default = "default_1806")] + #[serde(default = "default_1808")] pub incoming_value: Value, pub prior_record_id: String, pub incoming_record_id: String, - #[serde(default = "default_1807")] + #[serde(default = "default_1809")] pub prior_memory_id: String, - #[serde(default = "default_1808")] + #[serde(default = "default_1810")] pub incoming_memory_id: String, - #[serde(default = "default_1809")] + #[serde(default = "default_1811")] pub detected_at: Option, - #[serde(default = "default_1810")] + #[serde(default = "default_1812")] pub resolved_at: Option, } @@ -39106,7 +39110,7 @@ pub struct MemoryRecordConflictRow { #[non_exhaustive] pub struct MemoryRecordConflictsOutput { pub rows: Vec, - #[serde(default = "default_1811")] + #[serde(default = "default_1813")] pub truncated: bool, } @@ -39216,19 +39220,19 @@ pub enum MemoryRecordRowStatus { #[non_exhaustive] pub struct MemoryRecordRow { pub record_id: String, - #[serde(default = "default_1812")] + #[serde(default = "default_1814")] pub memory_key: String, - #[serde(default = "default_1813")] + #[serde(default = "default_1815")] pub memory_id: String, - #[serde(default = "default_1814")] + #[serde(default = "default_1816")] pub record: std::collections::HashMap, - #[serde(default = "default_1815")] + #[serde(default = "default_1817")] pub field_states: std::collections::HashMap, - #[serde(default = "default_1816")] + #[serde(default = "default_1818")] pub status: MemoryRecordRowStatus, - #[serde(default = "default_1817")] + #[serde(default = "default_1819")] pub valid_at: Option, - #[serde(default = "default_1818")] + #[serde(default = "default_1820")] pub valid_to: Option, } @@ -39295,7 +39299,7 @@ impl MemoryRecordHistoryInput { #[non_exhaustive] pub struct MemoryRecordQueryOutput { pub rows: Vec, - #[serde(default = "default_1819")] + #[serde(default = "default_1821")] pub truncated: bool, } @@ -39519,15 +39523,15 @@ pub enum MemoryRecordWriteOutputKeySource { pub struct MemoryRecordWriteOutput { pub record_id: String, pub field_count: Integer, - #[serde(default = "default_1820")] + #[serde(default = "default_1822")] pub memory_key: String, - #[serde(default = "default_1821")] + #[serde(default = "default_1823")] pub key_source: MemoryRecordWriteOutputKeySource, - #[serde(default = "default_1822")] + #[serde(default = "default_1824")] pub fold: std::collections::HashMap, - #[serde(default = "default_1823")] + #[serde(default = "default_1825")] pub superseded_record_id: String, - #[serde(default = "default_1824")] + #[serde(default = "default_1826")] pub conflicts: Integer, } @@ -39770,13 +39774,13 @@ impl MemoryRecordWriteInput { #[non_exhaustive] pub struct MemoryRedactOutput { pub redacted: bool, - #[serde(default = "default_1825")] + #[serde(default = "default_1827")] pub refused_head: bool, - #[serde(default = "default_1826")] + #[serde(default = "default_1828")] pub redacted_at: Option, - #[serde(default = "default_1827")] + #[serde(default = "default_1829")] pub cache_rows_deleted: Integer, - #[serde(default = "default_1828")] + #[serde(default = "default_1830")] pub precedent_rows_deleted: Integer, } @@ -39936,7 +39940,7 @@ impl MemoryReindexInput { #[non_exhaustive] pub struct MemoryRejectOutput { pub rejected: bool, - #[serde(default = "default_1829")] + #[serde(default = "default_1831")] pub rejected_at: Option, } @@ -40052,7 +40056,7 @@ pub struct MemoryRelatedHit { pub struct MemoryRelatedOutput { pub results: Vec, pub source_entities: Vec, - #[serde(default = "default_1830")] + #[serde(default = "default_1832")] pub reason: String, } @@ -40167,13 +40171,13 @@ impl MemoryRelatedInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryResolveOrphanDuplicatesOutput { - #[serde(default = "default_1831")] + #[serde(default = "default_1833")] pub candidates: Integer, - #[serde(default = "default_1832")] + #[serde(default = "default_1834")] pub reactivated: Integer, - #[serde(default = "default_1833")] + #[serde(default = "default_1835")] pub dry_run: bool, - #[serde(default = "default_1834")] + #[serde(default = "default_1836")] pub memory_ids: Vec, } @@ -40250,15 +40254,15 @@ impl MemoryResolveOrphanDuplicatesInput { #[non_exhaustive] pub struct MemoryRestoreOutput { pub restored: bool, - #[serde(default = "default_1835")] + #[serde(default = "default_1837")] pub memory_id: Option, - #[serde(default = "default_1836")] + #[serde(default = "default_1838")] pub version: Option, - #[serde(default = "default_1837")] + #[serde(default = "default_1839")] pub expired: bool, - #[serde(default = "default_1838")] + #[serde(default = "default_1840")] pub redacted: bool, - #[serde(default = "default_1839")] + #[serde(default = "default_1841")] pub from_status: String, } @@ -40378,13 +40382,13 @@ pub struct SearchTraceHit { pub content_excerpt: String, pub distance: f64, pub similarity: f64, - #[serde(default = "default_1840")] + #[serde(default = "default_1842")] pub entity_boost: f64, pub rank_score: f64, pub rank: Integer, - #[serde(default = "default_1841")] + #[serde(default = "default_1843")] pub source: String, - #[serde(default = "default_1842")] + #[serde(default = "default_1844")] pub parent_memory_key: String, } @@ -40394,11 +40398,11 @@ pub struct MemorySearchTraceOutput { pub results: Vec, pub embedding_model: String, pub entity_filter: Vec, - #[serde(default = "default_1843")] + #[serde(default = "default_1845")] pub query_spellings: std::collections::HashMap, - #[serde(default = "default_1844")] + #[serde(default = "default_1846")] pub query_spellings_skipped: bool, - #[serde(default = "default_1845")] + #[serde(default = "default_1847")] pub stale_dropped: Integer, } @@ -41579,7 +41583,7 @@ pub struct SearchTraceLogRow { pub embedding_model: String, pub latency_ms: Integer, pub run_id: String, - #[serde(default = "default_1846")] + #[serde(default = "default_1848")] pub operation: String, } @@ -41688,71 +41692,71 @@ pub struct RefusedFact { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemorySetFromMessagesOutput { - #[serde(default = "default_1847")] + #[serde(default = "default_1849")] pub written: Vec, - #[serde(default = "default_1848")] + #[serde(default = "default_1850")] pub refused: Vec, - #[serde(default = "default_1849")] + #[serde(default = "default_1851")] pub tokens_in: Integer, - #[serde(default = "default_1850")] + #[serde(default = "default_1852")] pub tokens_out: Integer, - #[serde(default = "default_1851")] + #[serde(default = "default_1853")] pub llm_provider: String, - #[serde(default = "default_1852")] + #[serde(default = "default_1854")] pub llm_model: String, - #[serde(default = "default_1853")] + #[serde(default = "default_1855")] pub segments: Integer, - #[serde(default = "default_1854")] + #[serde(default = "default_1856")] pub foresight: Integer, - #[serde(default = "default_1855")] + #[serde(default = "default_1857")] pub forgotten: Integer, - #[serde(default = "default_1856")] + #[serde(default = "default_1858")] pub forgotten_keys: Vec, - #[serde(default = "default_1857")] + #[serde(default = "default_1859")] pub forget_requests: Integer, - #[serde(default = "default_1858")] + #[serde(default = "default_1860")] pub about_other: Integer, - #[serde(default = "default_1859")] + #[serde(default = "default_1861")] pub premise_facts: Integer, - #[serde(default = "default_1860")] + #[serde(default = "default_1862")] pub learning_candidates: Integer, - #[serde(default = "default_1861")] + #[serde(default = "default_1863")] pub ignored_args: Vec, - #[serde(default = "default_1862")] + #[serde(default = "default_1864")] pub segmenter: String, - #[serde(default = "default_1863")] + #[serde(default = "default_1865")] pub cached_tokens_in: Integer, - #[serde(default = "default_1864")] + #[serde(default = "default_1866")] pub ontology_warnings: Vec, - #[serde(default = "default_1865")] + #[serde(default = "default_1867")] pub evidence_ids: Vec, - #[serde(default = "default_1866")] + #[serde(default = "default_1868")] pub belief_source_links: Integer, - #[serde(default = "default_1867")] + #[serde(default = "default_1869")] pub pipeline_errors: Vec, - #[serde(default = "default_1868")] + #[serde(default = "default_1870")] pub value_updates_linked: Integer, - #[serde(default = "default_1869")] + #[serde(default = "default_1871")] pub stubbed_fields: Vec, - #[serde(default = "default_1870")] + #[serde(default = "default_1872")] pub degraded: Vec, - #[serde(default = "default_1871")] + #[serde(default = "default_1873")] pub deferred: bool, - #[serde(default = "default_1872")] + #[serde(default = "default_1874")] pub queue_id: String, - #[serde(default = "default_1873")] + #[serde(default = "default_1875")] pub deferred_by: String, - #[serde(default = "default_1874")] + #[serde(default = "default_1876")] pub stage_ms: std::collections::HashMap, - #[serde(default = "default_1875")] + #[serde(default = "default_1877")] pub observation_date_source: String, - #[serde(default = "default_1876")] + #[serde(default = "default_1878")] pub under_operator_policy: bool, - #[serde(default = "default_1877")] + #[serde(default = "default_1879")] pub extract_prompt_keys: Vec, - #[serde(default = "default_1878")] + #[serde(default = "default_1880")] pub llm_cache_hits: Integer, - #[serde(default = "default_1879")] + #[serde(default = "default_1881")] pub llm_cache_misses: Integer, } @@ -42166,22 +42170,22 @@ pub enum StackEntrySection { #[non_exhaustive] pub struct StackEntry { pub section: StackEntrySection, - #[serde(default = "default_1880")] + #[serde(default = "default_1882")] pub memory_key: String, - #[serde(default = "default_1881")] + #[serde(default = "default_1883")] pub memory_type: String, - #[serde(default = "default_1882")] + #[serde(default = "default_1884")] pub value: String, pub tokens: Integer, - #[serde(default = "default_1883")] + #[serde(default = "default_1885")] pub pinned: bool, - #[serde(default = "default_1884")] + #[serde(default = "default_1886")] pub recall_count: Integer, - #[serde(default = "default_1885")] + #[serde(default = "default_1887")] pub last_recalled_at: Option, - #[serde(default = "default_1886")] + #[serde(default = "default_1888")] pub actor: String, - #[serde(default = "default_1887")] + #[serde(default = "default_1889")] pub namespace: String, } @@ -42366,14 +42370,14 @@ impl MemoryStackInput { pub struct MemoryStatus { pub memory_id: String, pub status: String, - #[serde(default = "default_1888")] + #[serde(default = "default_1890")] pub superseded_by: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemoryStatusesOutput { - #[serde(default = "default_1889")] + #[serde(default = "default_1891")] pub rows: Vec, } @@ -42422,23 +42426,23 @@ impl MemoryStatusesInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct MemorySweepExpiredOutput { - #[serde(default = "default_1890")] + #[serde(default = "default_1892")] pub scanned: Integer, - #[serde(default = "default_1891")] + #[serde(default = "default_1893")] pub tombstoned: Integer, - #[serde(default = "default_1892")] + #[serde(default = "default_1894")] pub demoted: Integer, - #[serde(default = "default_1893")] + #[serde(default = "default_1895")] pub anonymized: Integer, - #[serde(default = "default_1894")] + #[serde(default = "default_1896")] pub locked_skipped: Integer, - #[serde(default = "default_1895")] + #[serde(default = "default_1897")] pub moved_skipped: Integer, - #[serde(default = "default_1896")] + #[serde(default = "default_1898")] pub dry_run: bool, - #[serde(default = "default_1897")] + #[serde(default = "default_1899")] pub sample: Vec>, - #[serde(default = "default_1898")] + #[serde(default = "default_1900")] pub failures: Vec, } @@ -42515,10 +42519,10 @@ pub struct MemoryTimelineEntry { pub memory_key: String, pub memory_type: String, pub content_excerpt: String, - #[serde(default = "default_1899")] + #[serde(default = "default_1901")] pub valid_at: Option, pub created_at: String, - #[serde(default = "default_1900")] + #[serde(default = "default_1902")] pub namespace: String, } @@ -42526,7 +42530,7 @@ pub struct MemoryTimelineEntry { #[non_exhaustive] pub struct MemoryTimelineOutput { pub events: Vec, - #[serde(default = "default_1901")] + #[serde(default = "default_1903")] pub total_matching: Integer, } @@ -42718,9 +42722,9 @@ impl MemoryTimelineInput { pub struct MemoryTouchResult { pub memory_key: String, pub touched: bool, - #[serde(default = "default_1904")] + #[serde(default = "default_1906")] pub version: Option, - #[serde(default = "default_1905")] + #[serde(default = "default_1907")] pub expires_at: Option, } @@ -42728,13 +42732,13 @@ pub struct MemoryTouchResult { #[non_exhaustive] pub struct MemoryTouchOutput { pub touched: bool, - #[serde(default = "default_1902")] + #[serde(default = "default_1904")] pub version: Option, - #[serde(default = "default_1903")] + #[serde(default = "default_1905")] pub expires_at: Option, - #[serde(default = "default_1906")] + #[serde(default = "default_1908")] pub results: Vec, - #[serde(default = "default_1907")] + #[serde(default = "default_1909")] pub touched_count: Integer, } @@ -42914,15 +42918,15 @@ impl MemoryTouchInput { #[non_exhaustive] pub struct MemoryUnlockOutput { pub unlocked: bool, - #[serde(default = "default_1908")] + #[serde(default = "default_1910")] pub reason: String, - #[serde(default = "default_1909")] + #[serde(default = "default_1911")] pub memory_id: String, - #[serde(default = "default_1910")] + #[serde(default = "default_1912")] pub version: Option, - #[serde(default = "default_1911")] + #[serde(default = "default_1913")] pub previous_mode: String, - #[serde(default = "default_1912")] + #[serde(default = "default_1914")] pub unlocked_by: String, } @@ -43027,11 +43031,11 @@ impl MemoryUnlockInput { #[non_exhaustive] pub struct MemoryUnpinOutput { pub unpinned: bool, - #[serde(default = "default_1913")] + #[serde(default = "default_1915")] pub reason: String, - #[serde(default = "default_1914")] + #[serde(default = "default_1916")] pub memory_id: String, - #[serde(default = "default_1915")] + #[serde(default = "default_1917")] pub version: Option, } @@ -43125,15 +43129,15 @@ impl MemoryUnpinInput { #[non_exhaustive] pub struct MemoryUpdateCandidate { pub memory_id: String, - #[serde(default = "default_1921")] + #[serde(default = "default_1923")] pub agent: String, - #[serde(default = "default_1922")] + #[serde(default = "default_1924")] pub user_id: String, - #[serde(default = "default_1923")] + #[serde(default = "default_1925")] pub session_id: String, - #[serde(default = "default_1924")] + #[serde(default = "default_1926")] pub version: Integer, - #[serde(default = "default_1925")] + #[serde(default = "default_1927")] pub status: String, } @@ -43141,23 +43145,23 @@ pub struct MemoryUpdateCandidate { #[non_exhaustive] pub struct MemoryUpdateOutput { pub updated: bool, - #[serde(default = "default_1916")] + #[serde(default = "default_1918")] pub memory_id: String, - #[serde(default = "default_1917")] + #[serde(default = "default_1919")] pub memory_key: String, - #[serde(default = "default_1918")] + #[serde(default = "default_1920")] pub new_version: Integer, - #[serde(default = "default_1919")] + #[serde(default = "default_1921")] pub content_sha256: String, - #[serde(default = "default_1920")] + #[serde(default = "default_1922")] pub reason: String, - #[serde(default = "default_1926")] + #[serde(default = "default_1928")] pub candidates: Vec, - #[serde(default = "default_1927")] + #[serde(default = "default_1929")] pub conflict_verdict: String, - #[serde(default = "default_1928")] + #[serde(default = "default_1930")] pub conflict_peers: Integer, - #[serde(default = "default_1929")] + #[serde(default = "default_1931")] pub duplicate_of: String, } @@ -43366,15 +43370,15 @@ impl MemoryUpdateInput { #[non_exhaustive] pub struct MemoryUpdateByIdOutput { pub updated: bool, - #[serde(default = "default_1930")] + #[serde(default = "default_1932")] pub new_version: Integer, - #[serde(default = "default_1931")] + #[serde(default = "default_1933")] pub content_sha256: String, - #[serde(default = "default_1932")] + #[serde(default = "default_1934")] pub conflict_verdict: String, - #[serde(default = "default_1933")] + #[serde(default = "default_1935")] pub conflict_peers: Integer, - #[serde(default = "default_1934")] + #[serde(default = "default_1936")] pub duplicate_of: String, } @@ -43502,23 +43506,23 @@ impl MemoryUpdateByIdInput { #[non_exhaustive] pub struct MemoryVerifyOutput { pub found: bool, - #[serde(default = "default_1935")] + #[serde(default = "default_1937")] pub changed: bool, - #[serde(default = "default_1936")] + #[serde(default = "default_1938")] pub memory_id: String, - #[serde(default = "default_1937")] + #[serde(default = "default_1939")] pub memory_key: String, - #[serde(default = "default_1938")] + #[serde(default = "default_1940")] pub namespace: String, - #[serde(default = "default_1939")] + #[serde(default = "default_1941")] pub verified_by: String, - #[serde(default = "default_1940")] + #[serde(default = "default_1942")] pub verified_at: Option, - #[serde(default = "default_1941")] + #[serde(default = "default_1943")] pub verification: String, - #[serde(default = "default_1942")] + #[serde(default = "default_1944")] pub version: Integer, - #[serde(default = "default_1943")] + #[serde(default = "default_1945")] pub content_sha256: String, } @@ -43723,13 +43727,13 @@ pub struct SchemaFieldOutput { #[serde(rename = "type")] pub r#type: String, pub required: bool, - #[serde(default = "default_1946")] + #[serde(default = "default_1948")] pub identity: bool, - #[serde(default = "default_1947")] + #[serde(default = "default_1949")] pub enum_values: Vec, - #[serde(default = "default_1948")] + #[serde(default = "default_1950")] pub constraints: std::collections::HashMap, - #[serde(default = "default_1949")] + #[serde(default = "default_1951")] pub description: String, } @@ -43738,11 +43742,11 @@ pub struct SchemaFieldOutput { pub struct MemorySchemaSummary { pub schema_id: String, pub name: String, - #[serde(default = "default_1944")] + #[serde(default = "default_1946")] pub description: String, - #[serde(default = "default_1945")] + #[serde(default = "default_1947")] pub status: String, - #[serde(default = "default_1950")] + #[serde(default = "default_1952")] pub fields: Vec, } @@ -44157,13 +44161,13 @@ impl MemorySchemaRegisterInput { #[non_exhaustive] pub struct MentorPlane { pub plane: String, - #[serde(default = "default_1952")] + #[serde(default = "default_1954")] pub calls: Integer, - #[serde(default = "default_1953")] + #[serde(default = "default_1955")] pub available: Option, - #[serde(default = "default_1954")] + #[serde(default = "default_1956")] pub when: String, - #[serde(default = "default_1955")] + #[serde(default = "default_1957")] pub mentored: bool, } @@ -44173,11 +44177,11 @@ pub struct MentorHint { pub code: String, pub severity: String, pub text: String, - #[serde(default = "default_1957")] + #[serde(default = "default_1959")] pub ops: Vec, - #[serde(default = "default_1958")] + #[serde(default = "default_1960")] pub evidence: std::collections::HashMap, - #[serde(default = "default_1959")] + #[serde(default = "default_1961")] pub plane: Option, } @@ -44185,9 +44189,9 @@ pub struct MentorHint { #[non_exhaustive] pub struct MentorAdoption { pub code: String, - #[serde(default = "default_1961")] + #[serde(default = "default_1963")] pub shown_sessions: Integer, - #[serde(default = "default_1962")] + #[serde(default = "default_1964")] pub followed_sessions: Integer, } @@ -44223,7 +44227,7 @@ pub enum UsageRungSource { #[non_exhaustive] pub struct UsageRung { pub rung: UsageRungRung, - #[serde(default = "default_1964")] + #[serde(default = "default_1966")] pub count: Option, pub source: UsageRungSource, pub meaning: String, @@ -44238,27 +44242,27 @@ pub struct MentorBriefOutput { pub window_seconds: Integer, pub computed_at: String, pub sessions: Integer, - #[serde(default = "default_1951")] + #[serde(default = "default_1953")] pub usage: std::collections::HashMap, - #[serde(default = "default_1956")] + #[serde(default = "default_1958")] pub planes: Vec, - #[serde(default = "default_1960")] + #[serde(default = "default_1962")] pub hints: Vec, - #[serde(default = "default_1963")] - pub adoption: Vec, #[serde(default = "default_1965")] + pub adoption: Vec, + #[serde(default = "default_1967")] pub usage_evidence: Vec, - #[serde(default = "default_1966")] + #[serde(default = "default_1968")] pub ledger_from: Option, - #[serde(default = "default_1967")] + #[serde(default = "default_1969")] pub ledger_retention_days: Option, - #[serde(default = "default_1968")] + #[serde(default = "default_1970")] pub agents: Vec, - #[serde(default = "default_1969")] + #[serde(default = "default_1971")] pub agent_defaulted: bool, - #[serde(default = "default_1970")] + #[serde(default = "default_1972")] pub skipped: Vec, - #[serde(default = "default_1971")] + #[serde(default = "default_1973")] pub healthy: bool, } @@ -44407,33 +44411,33 @@ impl MentorGuideInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct NamespaceAuditSummary { - #[serde(default = "default_1972")] + #[serde(default = "default_1974")] pub live_rows: Integer, - #[serde(default = "default_1973")] + #[serde(default = "default_1975")] pub live_bytes: Integer, - #[serde(default = "default_1974")] + #[serde(default = "default_1976")] pub excerpt_bytes: Integer, - #[serde(default = "default_1975")] + #[serde(default = "default_1977")] pub version_rows: Integer, - #[serde(default = "default_1976")] + #[serde(default = "default_1978")] pub version_bytes: Integer, - #[serde(default = "default_1977")] + #[serde(default = "default_1979")] pub unembedded_rows: Integer, - #[serde(default = "default_1978")] + #[serde(default = "default_1980")] pub gets: Integer, - #[serde(default = "default_1979")] + #[serde(default = "default_1981")] pub searches: Integer, - #[serde(default = "default_1980")] + #[serde(default = "default_1982")] pub sets: Integer, - #[serde(default = "default_1981")] + #[serde(default = "default_1983")] pub get_search_ratio: f64, - #[serde(default = "default_1982")] + #[serde(default = "default_1984")] pub inspector_calls: Integer, - #[serde(default = "default_1983")] + #[serde(default = "default_1985")] pub typed_gets: Integer, - #[serde(default = "default_1984")] + #[serde(default = "default_1986")] pub written_in_window: Integer, - #[serde(default = "default_1985")] + #[serde(default = "default_1987")] pub ledger_calls: Integer, } @@ -44465,25 +44469,25 @@ pub struct NamespaceAuditFinding { pub kind: NamespaceAuditFindingKind, pub rule_version: Integer, pub source_op: String, - #[serde(default = "default_1986")] + #[serde(default = "default_1988")] pub window_seconds: Option, - #[serde(default = "default_1987")] + #[serde(default = "default_1989")] pub population: Option, pub sample_limit: Integer, pub samples_complete: bool, - #[serde(default = "default_1988")] + #[serde(default = "default_1990")] pub evidence: Vec, - #[serde(default = "default_1989")] + #[serde(default = "default_1991")] pub exceptions: String, - #[serde(default = "default_1990")] + #[serde(default = "default_1992")] pub uncertainty: String, pub code: String, pub severity: NamespaceAuditFindingSeverity, pub count: Integer, pub share: f64, - #[serde(default = "default_1991")] + #[serde(default = "default_1993")] pub bytes: Integer, - #[serde(default = "default_1992")] + #[serde(default = "default_1994")] pub samples: Vec>, pub detail: String, pub remedy: String, @@ -44498,7 +44502,7 @@ pub struct NamespaceAuditOutput { pub window_seconds: Integer, pub summary: NamespaceAuditSummary, pub findings: Vec, - #[serde(default = "default_1993")] + #[serde(default = "default_1995")] pub skipped: Vec, pub coverage: ReportCoverage, pub healthy: bool, @@ -44589,29 +44593,29 @@ pub enum BrowseEntryMyStatus { #[non_exhaustive] pub struct BrowseEntry { pub namespace: String, - #[serde(default = "default_1994")] + #[serde(default = "default_1996")] pub kind: String, pub description: String, pub owner_email: String, pub member_count: Integer, - #[serde(default = "default_1995")] + #[serde(default = "default_1997")] pub requires_approval: bool, pub created_at: String, - #[serde(default = "default_1996")] + #[serde(default = "default_1998")] pub join_policy: String, - #[serde(default = "default_1997")] + #[serde(default = "default_1999")] pub visibility: String, - #[serde(default = "default_1998")] + #[serde(default = "default_2000")] pub my_status: BrowseEntryMyStatus, - #[serde(default = "default_1999")] + #[serde(default = "default_2001")] pub my_role: String, - #[serde(default = "default_2000")] + #[serde(default = "default_2002")] pub repo: String, - #[serde(default = "default_2001")] + #[serde(default = "default_2003")] pub branch: String, - #[serde(default = "default_2002")] + #[serde(default = "default_2004")] pub guide_revision: Integer, - #[serde(default = "default_2003")] + #[serde(default = "default_2005")] pub guide_summary: String, } @@ -44715,9 +44719,9 @@ pub enum NamespaceCancelRequestOutputClearedRole { pub struct NamespaceCancelRequestOutput { pub cancelled: bool, pub namespace: String, - #[serde(default = "default_2004")] + #[serde(default = "default_2006")] pub cleared_role: Option, - #[serde(default = "default_2005")] + #[serde(default = "default_2007")] pub cancelled_at: Option, } @@ -44789,7 +44793,7 @@ pub struct NamespaceDeleteOutput { pub deleted: bool, pub namespace: String, pub updated_at: String, - #[serde(default = "default_2006")] + #[serde(default = "default_2008")] pub sources_retired: Vec, } @@ -44858,67 +44862,67 @@ pub enum NamespaceGetOutputClassification { pub struct NamespaceGetOutput { pub found: bool, pub namespace: String, - #[serde(default = "default_2007")] + #[serde(default = "default_2009")] pub kind: Option, - #[serde(default = "default_2008")] + #[serde(default = "default_2010")] pub owner_email: Option, - #[serde(default = "default_2009")] + #[serde(default = "default_2011")] pub description: Option, - #[serde(default = "default_2010")] + #[serde(default = "default_2012")] pub tags: Option>, - #[serde(default = "default_2011")] + #[serde(default = "default_2013")] pub active: Option, - #[serde(default = "default_2012")] + #[serde(default = "default_2014")] pub conversation_logging_enabled: Option, - #[serde(default = "default_2013")] + #[serde(default = "default_2015")] pub capture_generation_io: Option, - #[serde(default = "default_2014")] + #[serde(default = "default_2016")] pub coverage_sweep: Option, - #[serde(default = "default_2015")] + #[serde(default = "default_2017")] pub consolidation_enabled: Option, - #[serde(default = "default_2016")] + #[serde(default = "default_2018")] pub daily_cost_cap_usd: Option, - #[serde(default = "default_2017")] + #[serde(default = "default_2019")] pub daily_user_cost_cap_usd: Option, - #[serde(default = "default_2018")] + #[serde(default = "default_2020")] pub budget_alert_inbox: Option, - #[serde(default = "default_2019")] + #[serde(default = "default_2021")] pub conflict_threshold: Option, - #[serde(default = "default_2020")] + #[serde(default = "default_2022")] pub retention_days: Option, - #[serde(default = "default_2021")] + #[serde(default = "default_2023")] pub warm_days: Option, - #[serde(default = "default_2022")] + #[serde(default = "default_2024")] pub visibility: Option, - #[serde(default = "default_2023")] + #[serde(default = "default_2025")] pub requires_approval: Option, - #[serde(default = "default_2024")] + #[serde(default = "default_2026")] pub join_policy: Option, - #[serde(default = "default_2025")] + #[serde(default = "default_2027")] pub effective_join_policy: Option, - #[serde(default = "default_2026")] + #[serde(default = "default_2028")] pub retrieval_defaults: Option>, - #[serde(default = "default_2027")] + #[serde(default = "default_2029")] pub rerank_endpoint: Option, - #[serde(default = "default_2028")] + #[serde(default = "default_2030")] pub classify_endpoint: Option, - #[serde(default = "default_2029")] + #[serde(default = "default_2031")] pub default_conflict_policy: Option, - #[serde(default = "default_2030")] + #[serde(default = "default_2032")] pub proposal_policy: Option, - #[serde(default = "default_2031")] + #[serde(default = "default_2033")] pub code_change_policy: Option, - #[serde(default = "default_2032")] + #[serde(default = "default_2034")] pub tag_registry: Option>>, - #[serde(default = "default_2033")] + #[serde(default = "default_2035")] pub classification: Option, - #[serde(default = "default_2034")] + #[serde(default = "default_2036")] pub guide_revision: Option, - #[serde(default = "default_2035")] + #[serde(default = "default_2037")] pub guide_summary: Option, - #[serde(default = "default_2036")] + #[serde(default = "default_2038")] pub created_at: Option, - #[serde(default = "default_2037")] + #[serde(default = "default_2039")] pub updated_at: Option, } @@ -44971,17 +44975,17 @@ impl NamespaceGetInput { #[non_exhaustive] pub struct NamespaceGuideGetOutput { pub found: bool, - #[serde(default = "default_2038")] + #[serde(default = "default_2040")] pub revision: Integer, - #[serde(default = "default_2039")] + #[serde(default = "default_2041")] pub content: String, - #[serde(default = "default_2040")] + #[serde(default = "default_2042")] pub summary: String, - #[serde(default = "default_2041")] + #[serde(default = "default_2043")] pub note: String, - #[serde(default = "default_2042")] + #[serde(default = "default_2044")] pub updated_by: String, - #[serde(default = "default_2043")] + #[serde(default = "default_2045")] pub updated_at: Option, } @@ -45118,17 +45122,17 @@ impl NamespaceGuideHistoryInput { #[non_exhaustive] pub struct NamespaceGuideSetOutputNamespaceGuideGetOutput { pub found: bool, - #[serde(default = "default_2045")] + #[serde(default = "default_2047")] pub revision: Integer, - #[serde(default = "default_2046")] + #[serde(default = "default_2048")] pub content: String, - #[serde(default = "default_2047")] + #[serde(default = "default_2049")] pub summary: String, - #[serde(default = "default_2048")] + #[serde(default = "default_2050")] pub note: String, - #[serde(default = "default_2049")] + #[serde(default = "default_2051")] pub updated_by: String, - #[serde(default = "default_2050")] + #[serde(default = "default_2052")] pub updated_at: Option, } @@ -45136,10 +45140,10 @@ pub struct NamespaceGuideSetOutputNamespaceGuideGetOutput { #[non_exhaustive] pub struct NamespaceGuideSetOutput { pub written: bool, - #[serde(default = "default_2044")] + #[serde(default = "default_2046")] pub conflict: bool, pub revision: Integer, - #[serde(default = "default_2051")] + #[serde(default = "default_2053")] pub current: Option, } @@ -45260,7 +45264,7 @@ pub struct InventorySection { #[serde(deserialize_with = "required_nullable")] pub latest_at: Option, pub complete: bool, - #[serde(default = "default_2052")] + #[serde(default = "default_2054")] pub reason: String, } @@ -45290,10 +45294,10 @@ pub struct InventoryPopulation { pub population: InventoryPopulationPopulation, #[serde(deserialize_with = "required_nullable")] pub total: Option, - #[serde(default = "default_2053")] + #[serde(default = "default_2055")] pub top: Vec, pub complete: bool, - #[serde(default = "default_2054")] + #[serde(default = "default_2056")] pub reason: String, } @@ -45459,11 +45463,11 @@ pub struct NamespaceJoinOutput { pub joined: bool, pub namespace: String, pub role: NamespaceJoinOutputRole, - #[serde(default = "default_2055")] + #[serde(default = "default_2057")] pub status: String, - #[serde(default = "default_2056")] + #[serde(default = "default_2058")] pub requested_role: Option, - #[serde(default = "default_2057")] + #[serde(default = "default_2059")] pub pending_admins: Vec, pub joined_at: String, } @@ -45555,7 +45559,7 @@ impl NamespaceJoinInput { pub struct NamespaceLeaveOutput { pub left: bool, pub namespace: String, - #[serde(default = "default_2058")] + #[serde(default = "default_2060")] pub left_at: Option, } @@ -45632,27 +45636,27 @@ pub enum NamespaceEntryVisibility { #[non_exhaustive] pub struct NamespaceEntry { pub namespace: String, - #[serde(default = "default_2059")] + #[serde(default = "default_2061")] pub kind: String, pub owner_email: String, pub description: String, pub tags: Vec, pub active: bool, - #[serde(default = "default_2060")] + #[serde(default = "default_2062")] pub consolidation_enabled: bool, - #[serde(default = "default_2061")] + #[serde(default = "default_2063")] pub daily_cost_cap_usd: f64, - #[serde(default = "default_2062")] + #[serde(default = "default_2064")] pub daily_user_cost_cap_usd: f64, - #[serde(default = "default_2063")] + #[serde(default = "default_2065")] pub budget_alert_inbox: String, - #[serde(default = "default_2064")] + #[serde(default = "default_2066")] pub conflict_threshold: Option, - #[serde(default = "default_2065")] + #[serde(default = "default_2067")] pub retention_days: Integer, - #[serde(default = "default_2066")] + #[serde(default = "default_2068")] pub warm_days: Integer, - #[serde(default = "default_2067")] + #[serde(default = "default_2069")] pub visibility: NamespaceEntryVisibility, pub created_at: String, pub updated_at: String, @@ -45807,27 +45811,27 @@ pub enum MineEntryVisibility { pub struct MineEntry { pub namespace: String, pub role: String, - #[serde(default = "default_2068")] + #[serde(default = "default_2070")] pub status: String, - #[serde(default = "default_2069")] + #[serde(default = "default_2071")] pub pending_role: Option, - #[serde(default = "default_2070")] + #[serde(default = "default_2072")] pub pending_since: Option, - #[serde(default = "default_2071")] + #[serde(default = "default_2073")] pub pending_admins: Vec, - #[serde(default = "default_2072")] + #[serde(default = "default_2074")] pub visibility: MineEntryVisibility, - #[serde(default = "default_2073")] + #[serde(default = "default_2075")] pub kind: String, - #[serde(default = "default_2074")] + #[serde(default = "default_2076")] pub title: String, - #[serde(default = "default_2075")] + #[serde(default = "default_2077")] pub description: String, - #[serde(default = "default_2076")] + #[serde(default = "default_2078")] pub joined_at: Option, - #[serde(default = "default_2077")] + #[serde(default = "default_2079")] pub is_new: bool, - #[serde(default = "default_2078")] + #[serde(default = "default_2080")] pub inherited: bool, } @@ -45893,7 +45897,7 @@ pub struct OntologyEntry { pub name: String, pub status: String, pub description: String, - #[serde(default = "default_2079")] + #[serde(default = "default_2081")] pub cardinality: String, pub created_by: String, pub updated_at: String, @@ -46086,7 +46090,7 @@ pub struct NamespaceRegisterOutput { pub registered: bool, pub namespace: String, pub updated_at: String, - #[serde(default = "default_2080")] + #[serde(default = "default_2082")] pub visibility: NamespaceRegisterOutputVisibility, } @@ -47166,7 +47170,7 @@ impl NamespaceRegisterOntologyInput { #[non_exhaustive] pub struct NamespaceRestoreOutput { pub restored: bool, - #[serde(default = "default_2081")] + #[serde(default = "default_2083")] pub publication_pending: bool, pub target_namespace: String, pub snapshot_id: String, @@ -48053,15 +48057,15 @@ pub struct NamespaceRollbackOutput { pub version_at: Integer, pub reinstate: Integer, pub remove: Integer, - #[serde(default = "default_2082")] + #[serde(default = "default_2084")] pub skipped_no_head: Integer, - #[serde(default = "default_2083")] + #[serde(default = "default_2085")] pub skipped_already_gone: Integer, - #[serde(default = "default_2084")] + #[serde(default = "default_2086")] pub truncated: bool, - #[serde(default = "default_2085")] + #[serde(default = "default_2087")] pub sample: Vec>, - #[serde(default = "default_2086")] + #[serde(default = "default_2088")] pub applied_at: Option, } @@ -48240,101 +48244,101 @@ pub struct NamespaceSnapshotOutputSnapshotMemoryRow { pub confidence: f64, pub source_trace: String, pub pinned: bool, - #[serde(default = "default_2087")] + #[serde(default = "default_2089")] pub expires_at: Option, - #[serde(default = "default_2088")] + #[serde(default = "default_2090")] pub entities: Vec, - #[serde(default = "default_2089")] + #[serde(default = "default_2091")] pub version: Integer, - #[serde(default = "default_2090")] + #[serde(default = "default_2092")] pub content_sha256: String, - #[serde(default = "default_2091")] + #[serde(default = "default_2093")] pub actor: String, - #[serde(default = "default_2092")] + #[serde(default = "default_2094")] pub source_class: String, - #[serde(default = "default_2093")] + #[serde(default = "default_2095")] pub source_resource_id: String, - #[serde(default = "default_2094")] + #[serde(default = "default_2096")] pub verified_by: String, - #[serde(default = "default_2095")] + #[serde(default = "default_2097")] pub verified_at: Option, - #[serde(default = "default_2096")] + #[serde(default = "default_2098")] pub verified_sha256: String, - #[serde(default = "default_2097")] + #[serde(default = "default_2099")] pub grounding: String, - #[serde(default = "default_2098")] + #[serde(default = "default_2100")] pub evidence: String, - #[serde(default = "default_2099")] + #[serde(default = "default_2101")] pub tags: Vec, - #[serde(default = "default_2100")] + #[serde(default = "default_2102")] pub valid_at: Option, - #[serde(default = "default_2101")] + #[serde(default = "default_2103")] pub valid_to: Option, - #[serde(default = "default_2102")] + #[serde(default = "default_2104")] pub created_at: Option, - #[serde(default = "default_2103")] + #[serde(default = "default_2105")] pub updated_at: Option, - #[serde(default = "default_2104")] + #[serde(default = "default_2106")] pub value_json: String, - #[serde(default = "default_2105")] + #[serde(default = "default_2107")] pub status: NamespaceSnapshotOutputSnapshotMemoryRowStatus, - #[serde(default = "default_2106")] + #[serde(default = "default_2108")] pub requires_review: Option, - #[serde(default = "default_2107")] + #[serde(default = "default_2109")] pub conflict_with: Vec, - #[serde(default = "default_2108")] + #[serde(default = "default_2110")] pub duplicate_of: String, - #[serde(default = "default_2109")] + #[serde(default = "default_2111")] pub evidence_count: Integer, - #[serde(default = "default_2110")] + #[serde(default = "default_2112")] pub recall_count: Integer, - #[serde(default = "default_2111")] + #[serde(default = "default_2113")] pub last_recalled_at: Option, - #[serde(default = "default_2112")] + #[serde(default = "default_2114")] pub cross_promoted_from_memory_id: String, - #[serde(default = "default_2113")] + #[serde(default = "default_2115")] pub cross_promoted_from_namespace: String, - #[serde(default = "default_2114")] + #[serde(default = "default_2116")] pub superseded_by: String, - #[serde(default = "default_2115")] + #[serde(default = "default_2117")] pub rejection_reason: String, - #[serde(default = "default_2116")] + #[serde(default = "default_2118")] pub temporal_anchor: Option, - #[serde(default = "default_2117")] + #[serde(default = "default_2119")] pub temporal_confidence: f64, - #[serde(default = "default_2118")] + #[serde(default = "default_2120")] pub invalid_at: Option, - #[serde(default = "default_2119")] + #[serde(default = "default_2121")] pub char_limit: Option, - #[serde(default = "default_2120")] + #[serde(default = "default_2122")] pub reinforcement_count: Integer, - #[serde(default = "default_2121")] + #[serde(default = "default_2123")] pub last_reinforced_at: Option, - #[serde(default = "default_2122")] + #[serde(default = "default_2124")] pub mentioned_at: Option, - #[serde(default = "default_2123")] + #[serde(default = "default_2125")] pub sensitivity: String, - #[serde(default = "default_2124")] + #[serde(default = "default_2126")] pub redacted_at: Option, - #[serde(default = "default_2125")] + #[serde(default = "default_2127")] pub redaction_reason: String, - #[serde(default = "default_2126")] + #[serde(default = "default_2128")] pub lock_mode: String, - #[serde(default = "default_2127")] + #[serde(default = "default_2129")] pub lock_reason: String, - #[serde(default = "default_2128")] + #[serde(default = "default_2130")] pub lock_until: Option, - #[serde(default = "default_2129")] + #[serde(default = "default_2131")] pub locked_by: String, - #[serde(default = "default_2130")] + #[serde(default = "default_2132")] pub locked_at: Option, - #[serde(default = "default_2131")] + #[serde(default = "default_2133")] pub on_expire: String, - #[serde(default = "default_2132")] + #[serde(default = "default_2134")] pub expire_reason: String, - #[serde(default = "default_2133")] + #[serde(default = "default_2135")] pub files: Vec, - #[serde(default = "default_2134")] + #[serde(default = "default_2136")] pub concepts: Vec, } @@ -48343,11 +48347,11 @@ pub struct NamespaceSnapshotOutputSnapshotMemoryRow { pub struct NamespaceSnapshotOutputSnapshotTypeRow { pub memory_type: String, pub retention_days: Integer, - #[serde(default = "default_2135")] + #[serde(default = "default_2137")] pub dedup_threshold: Option, - #[serde(default = "default_2136")] + #[serde(default = "default_2138")] pub hot_quota: Integer, - #[serde(default = "default_2137")] + #[serde(default = "default_2139")] pub conflict_policy: String, } @@ -48562,7 +48566,7 @@ pub struct TaxonomyCommunity { pub community_id: Integer, pub label: String, pub size: Integer, - #[serde(default = "default_2138")] + #[serde(default = "default_2140")] pub top_entities: Vec, } @@ -48573,9 +48577,9 @@ pub struct NamespaceTaxonomyOutput { pub entities: Vec, pub memory_count: Integer, pub memory_types: Vec, - #[serde(default = "default_2139")] + #[serde(default = "default_2141")] pub communities: Vec, - #[serde(default = "default_2140")] + #[serde(default = "default_2142")] pub communities_computed_at: String, } @@ -48675,15 +48679,15 @@ pub enum TuneProposalTarget { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct TuneEvidence { - #[serde(default = "default_2142")] + #[serde(default = "default_2144")] pub finding_codes: Vec, - #[serde(default = "default_2143")] + #[serde(default = "default_2145")] pub supporting_count: Integer, - #[serde(default = "default_2144")] + #[serde(default = "default_2146")] pub supporting: Vec, - #[serde(default = "default_2145")] + #[serde(default = "default_2147")] pub counter_count: Option, - #[serde(default = "default_2146")] + #[serde(default = "default_2148")] pub documents: Vec, } @@ -48709,10 +48713,10 @@ pub enum TuneApplyVia { #[non_exhaustive] pub struct TuneApply { pub op: String, - #[serde(default = "default_2150")] + #[serde(default = "default_2152")] pub via: TuneApplyVia, pub args: std::collections::HashMap, - #[serde(default = "default_2151")] + #[serde(default = "default_2153")] pub args_complete: bool, pub required_role: String, pub guard: String, @@ -48731,7 +48735,7 @@ pub struct ChunkStats { pub sections: Integer, pub sections_cut: Integer, pub max_input_tokens: Integer, - #[serde(default = "default_2153")] + #[serde(default = "default_2155")] pub over_input_limit: Option, } @@ -48751,25 +48755,25 @@ pub struct TuneProposal { pub title: String, pub rationale: String, pub current: String, - #[serde(default = "default_2141")] + #[serde(default = "default_2143")] pub current_revision: Option, pub proposed: String, pub evidence: TuneEvidence, - #[serde(default = "default_2147")] + #[serde(default = "default_2149")] pub affected_agents: Vec, - #[serde(default = "default_2148")] + #[serde(default = "default_2150")] pub affected_agents_total: Option, - #[serde(default = "default_2149")] + #[serde(default = "default_2151")] pub effect: TuneProposalEffect, pub historical: String, pub apply: TuneApply, - #[serde(default = "default_2152")] - pub apply_also: Vec, #[serde(default = "default_2154")] + pub apply_also: Vec, + #[serde(default = "default_2156")] pub preview: Option, - #[serde(default = "default_2155")] + #[serde(default = "default_2157")] pub limits: String, - #[serde(default = "default_2156")] + #[serde(default = "default_2158")] pub refs: Vec, } @@ -48777,13 +48781,13 @@ pub struct TuneProposal { #[non_exhaustive] pub struct ChunkingSample { pub cap: Integer, - #[serde(default = "default_2162")] + #[serde(default = "default_2164")] pub population: Option, pub documents: Integer, pub unread: Integer, pub load_cap: Integer, pub embedder_model: String, - #[serde(default = "default_2163")] + #[serde(default = "default_2165")] pub input_token_limit: Option, pub current: ChunkStats, } @@ -48794,21 +48798,21 @@ pub struct NamespaceTuneOutput { pub org: String, pub namespace: String, pub computed_at: String, - #[serde(default = "default_2157")] + #[serde(default = "default_2159")] pub proposals: Vec, - #[serde(default = "default_2158")] + #[serde(default = "default_2160")] pub guide_revision: Option, - #[serde(default = "default_2159")] + #[serde(default = "default_2161")] pub categories_registered: Option, - #[serde(default = "default_2160")] + #[serde(default = "default_2162")] pub extraction_policy: Option, - #[serde(default = "default_2161")] + #[serde(default = "default_2163")] pub extraction_policy_unavailable: String, - #[serde(default = "default_2164")] + #[serde(default = "default_2166")] pub chunking: Option, - #[serde(default = "default_2165")] + #[serde(default = "default_2167")] pub skipped: Vec, - #[serde(default = "default_2166")] + #[serde(default = "default_2168")] pub model_used: bool, } @@ -48929,25 +48933,25 @@ pub struct NamespaceValidateFinding { pub kind: NamespaceValidateFindingKind, pub rule_version: Integer, pub source_op: String, - #[serde(default = "default_2167")] + #[serde(default = "default_2169")] pub window_seconds: Option, - #[serde(default = "default_2168")] + #[serde(default = "default_2170")] pub population: Option, pub sample_limit: Integer, pub samples_complete: bool, - #[serde(default = "default_2169")] + #[serde(default = "default_2171")] pub evidence: Vec, - #[serde(default = "default_2170")] + #[serde(default = "default_2172")] pub exceptions: String, - #[serde(default = "default_2171")] + #[serde(default = "default_2173")] pub uncertainty: String, pub check: String, pub severity: NamespaceValidateFindingSeverity, pub count: Integer, - #[serde(default = "default_2172")] + #[serde(default = "default_2174")] pub samples: Vec>, pub detail: String, - #[serde(default = "default_2173")] + #[serde(default = "default_2175")] pub totals: std::collections::HashMap, } @@ -48961,9 +48965,9 @@ pub struct NamespaceValidateOutput { pub warnings: Integer, pub infos: Integer, pub findings: Vec, - #[serde(default = "default_2174")] + #[serde(default = "default_2176")] pub skipped: Vec, - #[serde(default = "default_2175")] + #[serde(default = "default_2177")] pub keys_scoped: Integer, pub coverage: ReportCoverage, pub checked_at: String, @@ -49083,9 +49087,9 @@ impl NamespaceValidateInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct ObserveCrystallizeOutput { - #[serde(default = "default_2176")] + #[serde(default = "default_2178")] pub enqueued: Integer, - #[serde(default = "default_2177")] + #[serde(default = "default_2179")] pub session_id: String, } @@ -49182,23 +49186,23 @@ impl ObserveCrystallizeInput { #[non_exhaustive] pub struct ObserveRecordOutput { pub memory_key: String, - #[serde(default = "default_2178")] + #[serde(default = "default_2180")] pub memory_id: String, - #[serde(default = "default_2179")] + #[serde(default = "default_2181")] pub kind: String, - #[serde(default = "default_2180")] + #[serde(default = "default_2182")] pub tags: Vec, - #[serde(default = "default_2181")] + #[serde(default = "default_2183")] pub file_paths: Vec, - #[serde(default = "default_2182")] + #[serde(default = "default_2184")] pub content_sha256: String, - #[serde(default = "default_2183")] + #[serde(default = "default_2185")] pub tool_name: String, - #[serde(default = "default_2184")] + #[serde(default = "default_2186")] pub has_error: bool, - #[serde(default = "default_2185")] + #[serde(default = "default_2187")] pub narrative_chars: Integer, - #[serde(default = "default_2186")] + #[serde(default = "default_2188")] pub skipped_reason: String, } @@ -49397,26 +49401,26 @@ pub struct ProjectionFailureRow { pub failure_id: String, pub org: String, pub namespace: String, - #[serde(default = "default_2187")] + #[serde(default = "default_2189")] pub agent: String, pub projection: String, - #[serde(default = "default_2188")] + #[serde(default = "default_2190")] pub source_operation: String, - #[serde(default = "default_2189")] + #[serde(default = "default_2191")] pub source_resource_id: String, - #[serde(default = "default_2190")] + #[serde(default = "default_2192")] pub memory_keys: Vec, - #[serde(default = "default_2191")] + #[serde(default = "default_2193")] pub error_type: String, - #[serde(default = "default_2192")] + #[serde(default = "default_2194")] pub error_message: String, - #[serde(default = "default_2193")] + #[serde(default = "default_2195")] pub payload: std::collections::HashMap, - #[serde(default = "default_2194")] + #[serde(default = "default_2196")] pub status: String, - #[serde(default = "default_2195")] + #[serde(default = "default_2197")] pub created_at: Option, - #[serde(default = "default_2196")] + #[serde(default = "default_2198")] pub resolved_at: Option, } @@ -49570,22 +49574,22 @@ pub struct ProjectionFailureRetryRow { pub projection: String, pub retried: bool, pub resolved: bool, - #[serde(default = "default_2197")] + #[serde(default = "default_2199")] pub abandoned: bool, - #[serde(default = "default_2198")] + #[serde(default = "default_2200")] pub reason: String, - #[serde(default = "default_2199")] + #[serde(default = "default_2201")] pub error: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct ProjectionFailureRetryOutput { - #[serde(default = "default_2200")] + #[serde(default = "default_2202")] pub results: Vec, pub retried: Integer, pub resolved: Integer, - #[serde(default = "default_2201")] + #[serde(default = "default_2203")] pub abandoned: Integer, } @@ -49667,15 +49671,15 @@ impl ProjectionFailureRetryInput { pub struct OrgModelCallsOutput { pub org: String, pub enabled: bool, - #[serde(default = "default_2202")] + #[serde(default = "default_2204")] pub reason: String, - #[serde(default = "default_2203")] + #[serde(default = "default_2205")] pub updated_by: String, - #[serde(default = "default_2204")] + #[serde(default = "default_2206")] pub updated_at: Option, - #[serde(default = "default_2205")] + #[serde(default = "default_2207")] pub locked: bool, - #[serde(default = "default_2206")] + #[serde(default = "default_2208")] pub locked_by: String, } @@ -50014,7 +50018,7 @@ impl PolicyDecisionsInput { #[non_exhaustive] pub struct PolicyDeleteOutput { pub removed: bool, - #[serde(default = "default_2207")] + #[serde(default = "default_2209")] pub widening: bool, } @@ -50080,12 +50084,12 @@ pub struct PolicyRuleOut { pub condition: std::collections::HashMap, pub description: String, pub enabled: bool, - #[serde(default = "default_2208")] + #[serde(default = "default_2210")] pub mode: String, pub created_by: String, - #[serde(default = "default_2209")] + #[serde(default = "default_2211")] pub created_at: Option, - #[serde(default = "default_2210")] + #[serde(default = "default_2212")] pub updated_at: Option, } @@ -50157,9 +50161,9 @@ impl PolicyListInput { pub struct PolicySetOutput { pub rule: PolicyRuleOut, pub leaf_count: Integer, - #[serde(default = "default_2211")] + #[serde(default = "default_2213")] pub widening: bool, - #[serde(default = "default_2212")] + #[serde(default = "default_2214")] pub change: Vec, } @@ -50429,37 +50433,37 @@ pub struct ProcedureEvolveOutput { pub revision: Integer, pub changed: bool, pub template: bool, - #[serde(default = "default_2213")] + #[serde(default = "default_2215")] pub folded_runs: Integer, - #[serde(default = "default_2214")] + #[serde(default = "default_2216")] pub gate: ProcedureEvolveOutputGate, - #[serde(default = "default_2215")] + #[serde(default = "default_2217")] pub gate_mode: String, - #[serde(default = "default_2216")] + #[serde(default = "default_2218")] pub gate_llr: f64, - #[serde(default = "default_2217")] + #[serde(default = "default_2219")] pub gate_before: std::collections::HashMap, - #[serde(default = "default_2218")] + #[serde(default = "default_2220")] pub gate_after: std::collections::HashMap, - #[serde(default = "default_2219")] + #[serde(default = "default_2221")] pub gate_cost_before: std::collections::HashMap, - #[serde(default = "default_2220")] + #[serde(default = "default_2222")] pub gate_cost_after: std::collections::HashMap, - #[serde(default = "default_2221")] + #[serde(default = "default_2223")] pub gate_reason: String, - #[serde(default = "default_2222")] + #[serde(default = "default_2224")] pub dead_end_steps: Vec, - #[serde(default = "default_2223")] + #[serde(default = "default_2225")] pub fail_prone_steps: Vec, - #[serde(default = "default_2224")] + #[serde(default = "default_2226")] pub fail_prone_transitions: Vec, - #[serde(default = "default_2225")] + #[serde(default = "default_2227")] pub run_stats: std::collections::HashMap, - #[serde(default = "default_2226")] + #[serde(default = "default_2228")] pub strikes: Integer, - #[serde(default = "default_2227")] + #[serde(default = "default_2229")] pub quarantined: bool, - #[serde(default = "default_2228")] + #[serde(default = "default_2230")] pub retention: std::collections::HashMap, } @@ -50682,9 +50686,9 @@ pub struct ProcedureForkOutput { pub memory_key: String, pub version: Integer, pub name: String, - #[serde(default = "default_2229")] + #[serde(default = "default_2231")] pub steps: Vec, - #[serde(default = "default_2230")] + #[serde(default = "default_2232")] pub forked_from: std::collections::HashMap, } @@ -50944,32 +50948,32 @@ pub enum ProcedureLocateOutputStatus { #[non_exhaustive] pub struct ProcedureLocateOutput { pub memory_key: String, - #[serde(default = "default_2231")] + #[serde(default = "default_2233")] pub name: String, - #[serde(default = "default_2232")] + #[serde(default = "default_2234")] pub status: ProcedureLocateOutputStatus, pub matched: bool, - #[serde(default = "default_2233")] + #[serde(default = "default_2235")] pub active: Option>, - #[serde(default = "default_2234")] + #[serde(default = "default_2236")] pub hops: Vec>>, - #[serde(default = "default_2235")] + #[serde(default = "default_2237")] pub entry_nodes: Vec, - #[serde(default = "default_2236")] + #[serde(default = "default_2238")] pub dominant_next: Vec, - #[serde(default = "default_2237")] + #[serde(default = "default_2239")] pub revisits: std::collections::HashMap, - #[serde(default = "default_2238")] + #[serde(default = "default_2240")] pub looping: bool, - #[serde(default = "default_2239")] + #[serde(default = "default_2241")] pub exits: Vec, - #[serde(default = "default_2240")] + #[serde(default = "default_2242")] pub failure_notes: Vec>, - #[serde(default = "default_2241")] + #[serde(default = "default_2243")] pub rendered: String, - #[serde(default = "default_2242")] + #[serde(default = "default_2244")] pub run_stats: std::collections::HashMap, - #[serde(default = "default_2243")] + #[serde(default = "default_2245")] pub for_agent: std::collections::HashMap, } @@ -51124,43 +51128,43 @@ pub struct ProcedureMatch { pub name: String, pub situation: String, pub steps: Vec, - #[serde(default = "default_2244")] + #[serde(default = "default_2246")] pub tags: Vec, - #[serde(default = "default_2245")] + #[serde(default = "default_2247")] pub metadata: std::collections::HashMap, pub similarity: f64, pub memory_key: String, pub namespace: String, - #[serde(default = "default_2246")] + #[serde(default = "default_2248")] pub graph: Option>, - #[serde(default = "default_2247")] + #[serde(default = "default_2249")] pub template: bool, - #[serde(default = "default_2248")] + #[serde(default = "default_2250")] pub run_stats: std::collections::HashMap, - #[serde(default = "default_2249")] + #[serde(default = "default_2251")] pub status: ProcedureMatchStatus, - #[serde(default = "default_2250")] + #[serde(default = "default_2252")] pub quarantined: Option>, - #[serde(default = "default_2251")] + #[serde(default = "default_2253")] pub fail_prone_steps: Vec, - #[serde(default = "default_2252")] + #[serde(default = "default_2254")] pub revision: Integer, - #[serde(default = "default_2253")] + #[serde(default = "default_2255")] pub rejected_revisions: Vec>, - #[serde(default = "default_2254")] + #[serde(default = "default_2256")] pub tool_overlap: f64, - #[serde(default = "default_2255")] + #[serde(default = "default_2257")] pub score: f64, - #[serde(default = "default_2256")] + #[serde(default = "default_2258")] pub utility: f64, - #[serde(default = "default_2257")] + #[serde(default = "default_2259")] pub goal_similarity: Option, - #[serde(default = "default_2258")] + #[serde(default = "default_2260")] pub for_agent: std::collections::HashMap, - #[serde(default = "default_2259")] + #[serde(default = "default_2261")] pub run_stats_by_agent: std::collections::HashMap>, - #[serde(default = "default_2260")] + #[serde(default = "default_2262")] pub actor: String, } @@ -51168,11 +51172,11 @@ pub struct ProcedureMatch { #[non_exhaustive] pub struct ProcedureMatchOutput { pub matches: Vec, - #[serde(default = "default_2261")] + #[serde(default = "default_2263")] pub matched: Integer, - #[serde(default = "default_2262")] + #[serde(default = "default_2264")] pub procedure_key: String, - #[serde(default = "default_2263")] + #[serde(default = "default_2265")] pub score: f64, } @@ -51553,7 +51557,7 @@ pub struct ProcedureReviseOutput { pub revision: Integer, pub prior_revision: Integer, pub digest: String, - #[serde(default = "default_2264")] + #[serde(default = "default_2266")] pub steps: Vec, } @@ -51665,14 +51669,14 @@ pub struct ProfileActivityEntry { pub agent: String, pub last_activated_at: String, pub event_count: Integer, - #[serde(default = "default_2265")] + #[serde(default = "default_2267")] pub operations: Vec, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct ProfileActivityOutput { - #[serde(default = "default_2266")] + #[serde(default = "default_2268")] pub entries: Vec, } @@ -51780,17 +51784,17 @@ impl ProfileActivityInput { #[non_exhaustive] pub struct ProfileMutationOutput { pub version: Integer, - #[serde(default = "default_2267")] + #[serde(default = "default_2269")] pub memory_id: String, - #[serde(default = "default_2268")] + #[serde(default = "default_2270")] pub content_sha256: String, - #[serde(default = "default_2269")] + #[serde(default = "default_2271")] pub namespace: String, - #[serde(default = "default_2270")] + #[serde(default = "default_2272")] pub label: String, - #[serde(default = "default_2271")] + #[serde(default = "default_2273")] pub char_limit: Option, - #[serde(default = "default_2272")] + #[serde(default = "default_2274")] pub value_length: Integer, } @@ -51899,7 +51903,7 @@ pub struct ProfileRenderOutput { pub rendered: String, pub section_count: Integer, pub total_chars: Integer, - #[serde(default = "default_2273")] + #[serde(default = "default_2275")] pub labels: Vec, } @@ -52284,17 +52288,17 @@ pub enum ProfileStructuredOutputStatus { #[non_exhaustive] pub struct ProfileStructuredOutput { pub status: ProfileStructuredOutputStatus, - #[serde(default = "default_2274")] + #[serde(default = "default_2276")] pub profile: std::collections::HashMap, - #[serde(default = "default_2275")] + #[serde(default = "default_2277")] pub built_at: Option, - #[serde(default = "default_2276")] + #[serde(default = "default_2278")] pub memory_id: String, - #[serde(default = "default_2277")] + #[serde(default = "default_2279")] pub version: Integer, - #[serde(default = "default_2278")] + #[serde(default = "default_2280")] pub version_text: String, - #[serde(default = "default_2279")] + #[serde(default = "default_2281")] pub schema_sha256: String, } @@ -52411,13 +52415,13 @@ impl ProfileStructuredInput { #[non_exhaustive] pub struct ProfileSchemaOutput { pub found: bool, - #[serde(default = "default_2280")] + #[serde(default = "default_2282")] pub json_schema: std::collections::HashMap, - #[serde(default = "default_2281")] + #[serde(default = "default_2283")] pub schema_sha256: String, - #[serde(default = "default_2282")] + #[serde(default = "default_2284")] pub updated_by: String, - #[serde(default = "default_2283")] + #[serde(default = "default_2285")] pub updated_at: Option, } @@ -52570,10 +52574,10 @@ pub enum RunBeginOutputStatus { #[non_exhaustive] pub struct RunBeginOutput { pub run_id: String, - #[serde(default = "default_2284")] + #[serde(default = "default_2286")] pub status: RunBeginOutputStatus, pub started_at: String, - #[serde(default = "default_2285")] + #[serde(default = "default_2287")] pub next: String, } @@ -52781,29 +52785,29 @@ pub struct RunCompleteOutput { pub run_id: String, pub status: RunCompleteOutputStatus, pub duration_ms: Integer, - #[serde(default = "default_2286")] + #[serde(default = "default_2288")] pub used_applied: Integer, - #[serde(default = "default_2287")] + #[serde(default = "default_2289")] pub evidence_applied: Integer, - #[serde(default = "default_2288")] + #[serde(default = "default_2290")] pub harm_applied: Integer, - #[serde(default = "default_2289")] + #[serde(default = "default_2291")] pub memories_written: Vec, - #[serde(default = "default_2290")] + #[serde(default = "default_2292")] pub recalled: Integer, - #[serde(default = "default_2291")] + #[serde(default = "default_2293")] pub observations: Integer, - #[serde(default = "default_2292")] + #[serde(default = "default_2294")] pub procedure_runs_recorded: Integer, - #[serde(default = "default_2293")] + #[serde(default = "default_2295")] pub reflection_key: String, - #[serde(default = "default_2294")] + #[serde(default = "default_2296")] pub retain: String, - #[serde(default = "default_2295")] + #[serde(default = "default_2297")] pub retained: Integer, - #[serde(default = "default_2296")] + #[serde(default = "default_2298")] pub demoted: Integer, - #[serde(default = "default_2297")] + #[serde(default = "default_2299")] pub expiring: Integer, } @@ -53324,25 +53328,25 @@ pub enum RunGetOutputOverBudgetItem { #[non_exhaustive] pub struct RunGetOutput { pub found: bool, - #[serde(default = "default_2298")] + #[serde(default = "default_2300")] pub run: Option, - #[serde(default = "default_2299")] + #[serde(default = "default_2301")] pub recalled: Integer, - #[serde(default = "default_2300")] + #[serde(default = "default_2302")] pub recalled_keys: Vec, - #[serde(default = "default_2301")] + #[serde(default = "default_2303")] pub memories_written: Vec, - #[serde(default = "default_2302")] + #[serde(default = "default_2304")] pub observations: Integer, - #[serde(default = "default_2303")] + #[serde(default = "default_2305")] pub turns: Integer, - #[serde(default = "default_2304")] + #[serde(default = "default_2306")] pub unpriced_turns: Integer, - #[serde(default = "default_2305")] + #[serde(default = "default_2307")] pub cost_usd: f64, - #[serde(default = "default_2306")] + #[serde(default = "default_2308")] pub elapsed_seconds: Integer, - #[serde(default = "default_2307")] + #[serde(default = "default_2309")] pub over_budget: Vec, } @@ -53409,17 +53413,17 @@ pub struct RunGradeProposal { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct RunGradeOutput { - #[serde(default = "default_2308")] + #[serde(default = "default_2310")] pub graded: Integer, - #[serde(default = "default_2309")] + #[serde(default = "default_2311")] pub run_ids: Vec, - #[serde(default = "default_2310")] + #[serde(default = "default_2312")] pub skipped_active: Integer, - #[serde(default = "default_2311")] + #[serde(default = "default_2313")] pub unchanged: Integer, - #[serde(default = "default_2312")] + #[serde(default = "default_2314")] pub memories_counted: Integer, - #[serde(default = "default_2313")] + #[serde(default = "default_2315")] pub proposals_decided: Vec, } @@ -53534,7 +53538,7 @@ impl RunGradeInput { #[non_exhaustive] pub struct RunListOutput { pub runs: Vec, - #[serde(default = "default_2314")] + #[serde(default = "default_2316")] pub total: Option, } @@ -53811,39 +53815,39 @@ pub struct LiveSearchHit { pub title: String, pub url: String, pub provider: LiveSearchHitProvider, - #[serde(default = "default_2317")] + #[serde(default = "default_2319")] pub content: String, - #[serde(default = "default_2318")] + #[serde(default = "default_2320")] pub live: LiveSearchHitLive, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct LiveSearchResults { - #[serde(default = "default_2316")] + #[serde(default = "default_2318")] pub live: LiveSearchResultsLive, - #[serde(default = "default_2319")] + #[serde(default = "default_2321")] pub results: Vec, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct SearchOutput { - #[serde(default = "default_2315")] + #[serde(default = "default_2317")] pub tracker: Option>, - #[serde(default = "default_2320")] + #[serde(default = "default_2322")] pub live: Option, - #[serde(default = "default_2321")] + #[serde(default = "default_2323")] pub memory: std::collections::HashMap, - #[serde(default = "default_2322")] + #[serde(default = "default_2324")] pub knowledge: std::collections::HashMap, - #[serde(default = "default_2323")] + #[serde(default = "default_2325")] pub profile: std::collections::HashMap, - #[serde(default = "default_2324")] + #[serde(default = "default_2326")] pub conversations: std::collections::HashMap, - #[serde(default = "default_2325")] + #[serde(default = "default_2327")] pub withheld: Option>, - #[serde(default = "default_2326")] + #[serde(default = "default_2328")] pub namespaces_skipped: Vec, } @@ -54036,7 +54040,7 @@ impl SearchInput { pub struct SessionBriefDeleteOutput { pub deleted: bool, pub brief_key: String, - #[serde(default = "default_2327")] + #[serde(default = "default_2329")] pub revision: Integer, } @@ -54129,67 +54133,67 @@ impl SessionBriefDeleteInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct BriefDecision { - #[serde(default = "default_2336")] + #[serde(default = "default_2338")] pub what: String, - #[serde(default = "default_2337")] + #[serde(default = "default_2339")] pub why: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct BriefDeadEnd { - #[serde(default = "default_2339")] + #[serde(default = "default_2341")] pub tried: String, - #[serde(default = "default_2340")] + #[serde(default = "default_2342")] pub why_not: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct BriefDone { - #[serde(default = "default_2342")] + #[serde(default = "default_2344")] pub what: String, - #[serde(rename = "ref", default = "default_2343")] + #[serde(rename = "ref", default = "default_2345")] pub r#ref: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct BriefFile { - #[serde(default = "default_2347")] + #[serde(default = "default_2349")] pub path: String, - #[serde(default = "default_2348")] + #[serde(default = "default_2350")] pub role: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct BriefSections { - #[serde(default = "default_2333")] + #[serde(default = "default_2335")] pub goal: String, - #[serde(default = "default_2334")] + #[serde(default = "default_2336")] pub status: String, - #[serde(default = "default_2335")] + #[serde(default = "default_2337")] pub verification: String, - #[serde(default = "default_2338")] + #[serde(default = "default_2340")] pub decisions: Vec, - #[serde(default = "default_2341")] + #[serde(default = "default_2343")] pub dead_ends: Vec, - #[serde(default = "default_2344")] + #[serde(default = "default_2346")] pub done: Vec, - #[serde(default = "default_2345")] + #[serde(default = "default_2347")] pub open_questions: Vec, - #[serde(default = "default_2346")] + #[serde(default = "default_2348")] pub next_steps: Vec, - #[serde(default = "default_2349")] + #[serde(default = "default_2351")] pub files: Vec, - #[serde(default = "default_2350")] + #[serde(default = "default_2352")] pub constraints: Vec, - #[serde(default = "default_2351")] + #[serde(default = "default_2353")] pub pointers: Vec, - #[serde(default = "default_2352")] + #[serde(default = "default_2354")] pub client_summary: String, - #[serde(default = "default_2353")] + #[serde(default = "default_2355")] pub client_summary_at: String, } @@ -54197,45 +54201,45 @@ pub struct BriefSections { #[non_exhaustive] pub struct SessionBriefGetOutput { pub found: bool, - #[serde(default = "default_2328")] + #[serde(default = "default_2330")] pub brief_key: String, - #[serde(default = "default_2329")] + #[serde(default = "default_2331")] pub revision: Integer, - #[serde(default = "default_2330")] + #[serde(default = "default_2332")] pub snapshot_id: String, - #[serde(default = "default_2331")] + #[serde(default = "default_2333")] pub snapshot_key: String, - #[serde(default = "default_2332")] + #[serde(default = "default_2334")] pub rendered: String, - #[serde(default = "default_2354")] + #[serde(default = "default_2356")] pub sections: Option, - #[serde(default = "default_2355")] + #[serde(default = "default_2357")] pub project: String, - #[serde(default = "default_2356")] + #[serde(default = "default_2358")] pub branch: String, - #[serde(default = "default_2357")] + #[serde(default = "default_2359")] pub head_sha: String, - #[serde(default = "default_2358")] + #[serde(default = "default_2360")] pub author: String, - #[serde(default = "default_2359")] + #[serde(default = "default_2361")] pub trigger: String, - #[serde(default = "default_2360")] + #[serde(default = "default_2362")] pub actor: String, - #[serde(default = "default_2361")] + #[serde(default = "default_2363")] pub source_sessions: Vec, - #[serde(default = "default_2362")] + #[serde(default = "default_2364")] pub updated_at: Option, - #[serde(default = "default_2363")] + #[serde(default = "default_2365")] pub age_seconds: Integer, - #[serde(default = "default_2364")] + #[serde(default = "default_2366")] pub revisions: Integer, - #[serde(default = "default_2365")] + #[serde(default = "default_2367")] pub events_total: Integer, - #[serde(default = "default_2366")] + #[serde(default = "default_2368")] pub source_chars: Integer, - #[serde(default = "default_2367")] + #[serde(default = "default_2369")] pub brief_chars: Integer, - #[serde(default = "default_2368")] + #[serde(default = "default_2370")] pub deleted: bool, } @@ -54410,34 +54414,34 @@ impl SessionBriefGetInput { pub struct SessionBriefSummary { pub brief_key: String, pub revision: Integer, - #[serde(default = "default_2369")] + #[serde(default = "default_2371")] pub project: String, - #[serde(default = "default_2370")] + #[serde(default = "default_2372")] pub branch: String, - #[serde(default = "default_2371")] + #[serde(default = "default_2373")] pub agent: String, - #[serde(default = "default_2372")] + #[serde(default = "default_2374")] pub goal: String, - #[serde(default = "default_2373")] + #[serde(default = "default_2375")] pub status: String, - #[serde(default = "default_2374")] + #[serde(default = "default_2376")] pub author: String, - #[serde(default = "default_2375")] + #[serde(default = "default_2377")] pub actor: String, - #[serde(default = "default_2376")] + #[serde(default = "default_2378")] pub updated_at: Option, - #[serde(default = "default_2377")] + #[serde(default = "default_2379")] pub age_seconds: Integer, - #[serde(default = "default_2378")] + #[serde(default = "default_2380")] pub brief_chars: Integer, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct SessionBriefListOutput { - #[serde(default = "default_2379")] + #[serde(default = "default_2381")] pub briefs: Vec, - #[serde(default = "default_2380")] + #[serde(default = "default_2382")] pub rendered: String, } @@ -54577,25 +54581,25 @@ impl SessionBriefListInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct SessionBriefStats { - #[serde(default = "default_2384")] + #[serde(default = "default_2386")] pub events_in: Integer, - #[serde(default = "default_2385")] + #[serde(default = "default_2387")] pub windows: Integer, - #[serde(default = "default_2386")] + #[serde(default = "default_2388")] pub events_total: Integer, - #[serde(default = "default_2387")] + #[serde(default = "default_2389")] pub source_chars: Integer, - #[serde(default = "default_2388")] + #[serde(default = "default_2390")] pub brief_chars: Integer, - #[serde(default = "default_2389")] + #[serde(default = "default_2391")] pub compression_ratio: f64, - #[serde(default = "default_2390")] + #[serde(default = "default_2392")] pub dropped_ungrounded: Integer, - #[serde(default = "default_2391")] + #[serde(default = "default_2393")] pub tokens_in: Integer, - #[serde(default = "default_2392")] + #[serde(default = "default_2394")] pub tokens_out: Integer, - #[serde(default = "default_2393")] + #[serde(default = "default_2395")] pub llm_model: String, } @@ -54605,13 +54609,13 @@ pub struct SessionBriefSaveOutput { pub brief_key: String, pub revision: Integer, pub changed: bool, - #[serde(default = "default_2381")] + #[serde(default = "default_2383")] pub author: String, - #[serde(default = "default_2382")] + #[serde(default = "default_2384")] pub reason: String, - #[serde(default = "default_2383")] + #[serde(default = "default_2385")] pub rendered: String, - #[serde(default = "default_2394")] + #[serde(default = "default_2396")] pub stats: SessionBriefStats, } @@ -55356,39 +55360,39 @@ pub struct TaskPayload { pub priority: Integer, pub disclosure: TaskPayloadDisclosure, pub status: TaskPayloadStatus, - #[serde(default = "default_2395")] + #[serde(default = "default_2397")] pub reason: String, - #[serde(default = "default_2396")] + #[serde(default = "default_2398")] pub blocked_on: String, - #[serde(default = "default_2397")] + #[serde(default = "default_2399")] pub not_before: Option, - #[serde(default = "default_2398")] + #[serde(default = "default_2400")] pub resume_at: Option, - #[serde(default = "default_2399")] + #[serde(default = "default_2401")] pub deadline: Option, - #[serde(default = "default_2400")] + #[serde(default = "default_2402")] pub defer_count: Integer, pub title: String, - #[serde(default = "default_2401")] + #[serde(default = "default_2403")] pub brief: std::collections::HashMap, pub from_agent: String, - #[serde(default = "default_2402")] + #[serde(default = "default_2404")] pub from_subject: String, - #[serde(default = "default_2403")] + #[serde(default = "default_2405")] pub origin: String, - #[serde(default = "default_2404")] + #[serde(default = "default_2406")] pub parent_task_id: Option, - #[serde(default = "default_2405")] + #[serde(default = "default_2407")] pub owner: String, - #[serde(default = "default_2406")] + #[serde(default = "default_2408")] pub attempt: Integer, - #[serde(default = "default_2407")] + #[serde(default = "default_2409")] pub fence: Integer, - #[serde(default = "default_2408")] + #[serde(default = "default_2410")] pub lease_until: Option, - #[serde(default = "default_2409")] + #[serde(default = "default_2411")] pub outcome: std::collections::HashMap, - #[serde(default = "default_2410")] + #[serde(default = "default_2412")] pub last_actor: String, pub created_at: String, pub updated_at: String, @@ -55399,7 +55403,7 @@ pub struct TaskPayload { #[non_exhaustive] pub struct TaskOutput { pub task: TaskPayload, - #[serde(default = "default_2411")] + #[serde(default = "default_2413")] pub seq: Integer, } @@ -55800,10 +55804,10 @@ impl TaskCompleteInput { pub struct InboxCount { pub inbox: String, pub status: String, - #[serde(default = "default_2412")] + #[serde(default = "default_2414")] pub blocked_on: String, pub n: Integer, - #[serde(default = "default_2413")] + #[serde(default = "default_2415")] pub oldest: Option, } @@ -55890,7 +55894,7 @@ pub struct TaskCreateOutput { pub task: TaskPayload, pub created: bool, pub seq: Integer, - #[serde(default = "default_2414")] + #[serde(default = "default_2416")] pub next: String, } @@ -56229,7 +56233,7 @@ impl TaskFailInput { #[non_exhaustive] pub struct TaskGetOutput { pub found: bool, - #[serde(default = "default_2415")] + #[serde(default = "default_2417")] pub task: Option, } @@ -56363,23 +56367,23 @@ pub struct TaskEventPayload { pub task_id: String, pub inbox: String, pub event: String, - #[serde(default = "default_2416")] + #[serde(default = "default_2418")] pub from_status: String, - #[serde(default = "default_2417")] + #[serde(default = "default_2419")] pub to_status: String, - #[serde(default = "default_2418")] + #[serde(default = "default_2420")] pub actor: String, - #[serde(default = "default_2419")] + #[serde(default = "default_2421")] pub agent: String, - #[serde(default = "default_2420")] + #[serde(default = "default_2422")] pub fence: Integer, - #[serde(default = "default_2421")] + #[serde(default = "default_2423")] pub version: Integer, - #[serde(default = "default_2422")] + #[serde(default = "default_2424")] pub reason: String, - #[serde(default = "default_2423")] + #[serde(default = "default_2425")] pub patch: std::collections::HashMap, - #[serde(default = "default_2424")] + #[serde(default = "default_2426")] pub note: String, pub ts: String, } @@ -56719,7 +56723,7 @@ pub struct TaskPullOutput { pub tasks: Vec, pub waited_ms: Integer, pub backend: String, - #[serde(default = "default_2425")] + #[serde(default = "default_2427")] pub note: String, } @@ -57115,7 +57119,7 @@ impl TaskUnblockInput { pub struct TaskUpdateOutput { pub task: TaskPayload, pub seq: Integer, - #[serde(default = "default_2426")] + #[serde(default = "default_2428")] pub conflict: bool, } @@ -57478,19 +57482,19 @@ impl TaskReasonInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct TrackerAnswerOutput { - #[serde(default = "default_2427")] + #[serde(default = "default_2429")] pub intent: String, - #[serde(default = "default_2428")] + #[serde(default = "default_2430")] pub anchors: std::collections::HashMap, - #[serde(default = "default_2429")] + #[serde(default = "default_2431")] pub sections: Vec>, - #[serde(default = "default_2430")] + #[serde(default = "default_2432")] pub searched: Vec, - #[serde(default = "default_2431")] + #[serde(default = "default_2433")] pub lines: Vec, - #[serde(default = "default_2432")] + #[serde(default = "default_2434")] pub restricted: bool, - #[serde(default = "default_2433")] + #[serde(default = "default_2435")] pub verdict: String, } @@ -57586,17 +57590,17 @@ impl TrackerAnswerInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct TrackerBindingOutput { - #[serde(default = "default_2434")] + #[serde(default = "default_2436")] pub tracker_namespace: String, - #[serde(default = "default_2435")] + #[serde(default = "default_2437")] pub tracker_namespaces: Vec, - #[serde(default = "default_2436")] + #[serde(default = "default_2438")] pub restricted: bool, - #[serde(default = "default_2437")] + #[serde(default = "default_2439")] pub kind: String, - #[serde(default = "default_2438")] + #[serde(default = "default_2440")] pub authorized: bool, - #[serde(default = "default_2439")] + #[serde(default = "default_2441")] pub templates: Vec, } @@ -57649,13 +57653,13 @@ impl TrackerBindingInput { #[non_exhaustive] pub struct TrackerComponentOutput { pub component: String, - #[serde(default = "default_2440")] + #[serde(default = "default_2442")] pub risk: std::collections::HashMap, - #[serde(default = "default_2441")] + #[serde(default = "default_2443")] pub open_issues: Vec>, - #[serde(default = "default_2442")] + #[serde(default = "default_2444")] pub known: bool, - #[serde(default = "default_2443")] + #[serde(default = "default_2445")] pub tracker_unavailable: bool, } @@ -57716,9 +57720,9 @@ impl TrackerComponentInput { #[non_exhaustive] pub struct TrackerContractOutput { pub database: String, - #[serde(default = "default_2444")] + #[serde(default = "default_2446")] pub tables: Vec>, - #[serde(default = "default_2445")] + #[serde(default = "default_2447")] pub templates: std::collections::HashMap, } @@ -57771,66 +57775,66 @@ impl TrackerContractInput { #[non_exhaustive] pub struct TrackerLegStatus { pub name: String, - #[serde(default = "default_2456")] + #[serde(default = "default_2458")] pub status: String, - #[serde(default = "default_2457")] + #[serde(default = "default_2459")] pub reason: String, - #[serde(default = "default_2458")] + #[serde(default = "default_2460")] pub message: String, - #[serde(default = "default_2459")] + #[serde(default = "default_2461")] pub retried: bool, - #[serde(default = "default_2460")] + #[serde(default = "default_2462")] pub ms: Integer, - #[serde(default = "default_2461")] + #[serde(default = "default_2463")] pub cause: String, - #[serde(default = "default_2462")] + #[serde(default = "default_2464")] pub namespace: String, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct TrackerDuplicateCheckOutput { - #[serde(default = "default_2446")] + #[serde(default = "default_2448")] pub verdict: String, - #[serde(default = "default_2447")] + #[serde(default = "default_2449")] pub items: Vec>, - #[serde(default = "default_2448")] + #[serde(default = "default_2450")] pub undecided: bool, - #[serde(default = "default_2449")] + #[serde(default = "default_2451")] pub epistemic: String, - #[serde(default = "default_2450")] + #[serde(default = "default_2452")] pub thresholds: std::collections::HashMap, - #[serde(default = "default_2451")] + #[serde(default = "default_2453")] pub judge: std::collections::HashMap, - #[serde(default = "default_2452")] + #[serde(default = "default_2454")] pub fit_at: String, - #[serde(default = "default_2453")] + #[serde(default = "default_2455")] pub fit: std::collections::HashMap, - #[serde(default = "default_2454")] + #[serde(default = "default_2456")] pub query: std::collections::HashMap, - #[serde(default = "default_2455")] + #[serde(default = "default_2457")] pub legs: std::collections::HashMap, - #[serde(default = "default_2463")] + #[serde(default = "default_2465")] pub leg_status: Vec, - #[serde(default = "default_2464")] + #[serde(default = "default_2466")] pub tracker_unavailable: bool, - #[serde(default = "default_2465")] + #[serde(default = "default_2467")] pub namespaces: Vec, - #[serde(default = "default_2466")] + #[serde(default = "default_2468")] pub by_namespace: std::collections::HashMap>, - #[serde(default = "default_2467")] + #[serde(default = "default_2469")] pub closest: Vec>, - #[serde(default = "default_2468")] + #[serde(default = "default_2470")] pub needs: Vec>, - #[serde(default = "default_2469")] + #[serde(default = "default_2471")] pub closest_note: String, - #[serde(default = "default_2470")] + #[serde(default = "default_2472")] pub nearest: Vec>, - #[serde(default = "default_2471")] + #[serde(default = "default_2473")] pub rerank: std::collections::HashMap, - #[serde(default = "default_2472")] + #[serde(default = "default_2474")] pub answer: String, - #[serde(default = "default_2473")] + #[serde(default = "default_2475")] pub related_prs: Vec>, } @@ -58037,17 +58041,17 @@ impl TrackerDuplicateCheckInput { #[non_exhaustive] pub struct TrackerFlakyOutput { pub test_name: String, - #[serde(default = "default_2474")] + #[serde(default = "default_2476")] pub known_flaky: bool, - #[serde(default = "default_2475")] + #[serde(default = "default_2477")] pub open_issues: Integer, - #[serde(default = "default_2476")] + #[serde(default = "default_2478")] pub issues: Vec>, - #[serde(default = "default_2477")] + #[serde(default = "default_2479")] pub verdict: String, - #[serde(default = "default_2478")] + #[serde(default = "default_2480")] pub tracker_unavailable: bool, - #[serde(default = "default_2479")] + #[serde(default = "default_2481")] pub signal: Option>, } @@ -58130,9 +58134,9 @@ impl TrackerFlakyInput { #[non_exhaustive] pub struct TrackerItemOutput { pub items: Vec>, - #[serde(default = "default_2480")] + #[serde(default = "default_2482")] pub unknown: Vec, - #[serde(default = "default_2481")] + #[serde(default = "default_2483")] pub tracker_unavailable: bool, } @@ -58181,19 +58185,19 @@ impl TrackerItemInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct TrackerLinksOutput { - #[serde(default = "default_2482")] + #[serde(default = "default_2484")] pub subject: std::collections::HashMap, - #[serde(default = "default_2483")] + #[serde(default = "default_2485")] pub verdict: String, - #[serde(default = "default_2484")] + #[serde(default = "default_2486")] pub items: Vec>, - #[serde(default = "default_2485")] + #[serde(default = "default_2487")] pub epistemic: String, - #[serde(default = "default_2486")] + #[serde(default = "default_2488")] pub record: std::collections::HashMap, - #[serde(default = "default_2487")] + #[serde(default = "default_2489")] pub computed_at: String, - #[serde(default = "default_2488")] + #[serde(default = "default_2490")] pub tracker_unavailable: bool, } @@ -58291,11 +58295,11 @@ impl TrackerLinksInput { pub struct TrackerReleaseOutput { pub version: String, pub blockers: Vec>, - #[serde(default = "default_2489")] + #[serde(default = "default_2491")] pub active_blockers: Integer, - #[serde(default = "default_2490")] + #[serde(default = "default_2492")] pub health: std::collections::HashMap, - #[serde(default = "default_2491")] + #[serde(default = "default_2493")] pub tracker_unavailable: bool, } @@ -58344,17 +58348,17 @@ impl TrackerReleaseInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct TrackerSimilarOutput { - #[serde(default = "default_2492")] + #[serde(default = "default_2494")] pub items: Vec>, - #[serde(default = "default_2493")] + #[serde(default = "default_2495")] pub query: std::collections::HashMap, - #[serde(default = "default_2494")] + #[serde(default = "default_2496")] pub legs: std::collections::HashMap, - #[serde(default = "default_2495")] + #[serde(default = "default_2497")] pub epistemic: String, - #[serde(default = "default_2496")] + #[serde(default = "default_2498")] pub tracker_unavailable: bool, - #[serde(default = "default_2497")] + #[serde(default = "default_2499")] pub namespaces: Vec, } @@ -58475,19 +58479,19 @@ pub struct TrackerSourceAddOutput { pub name: String, pub host: String, pub database: String, - #[serde(default = "default_2498")] + #[serde(default = "default_2500")] pub namespaces: Vec>, - #[serde(default = "default_2499")] + #[serde(default = "default_2501")] pub contract: std::collections::HashMap, - #[serde(default = "default_2500")] + #[serde(default = "default_2502")] pub roles: Vec, - #[serde(default = "default_2501")] + #[serde(default = "default_2503")] pub my_role: String, - #[serde(default = "default_2502")] + #[serde(default = "default_2504")] pub dry_run: bool, - #[serde(default = "default_2503")] + #[serde(default = "default_2505")] pub written: bool, - #[serde(default = "default_2504")] + #[serde(default = "default_2506")] pub view_templates: std::collections::HashMap, } @@ -58650,13 +58654,13 @@ impl TrackerSourceAddInput { #[non_exhaustive] pub struct TrackerSourceCheckOutput { pub name: String, - #[serde(default = "default_2505")] + #[serde(default = "default_2507")] pub database: String, - #[serde(default = "default_2506")] + #[serde(default = "default_2508")] pub reachable: bool, - #[serde(default = "default_2507")] + #[serde(default = "default_2509")] pub contract: std::collections::HashMap, - #[serde(default = "default_2508")] + #[serde(default = "default_2510")] pub view_templates: std::collections::HashMap, } @@ -58696,11 +58700,11 @@ impl TrackerSourceCheckInput { pub struct TrackerSourceInspectOutput { pub host: String, pub database: String, - #[serde(default = "default_2509")] + #[serde(default = "default_2511")] pub tables: Vec>, - #[serde(default = "default_2510")] + #[serde(default = "default_2512")] pub roles: Vec, - #[serde(default = "default_2511")] + #[serde(default = "default_2513")] pub proposal: std::collections::HashMap, } @@ -58829,9 +58833,9 @@ impl TrackerSourceInspectInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct TrackerSourceListOutput { - #[serde(default = "default_2512")] + #[serde(default = "default_2514")] pub sources: Vec>, - #[serde(default = "default_2513")] + #[serde(default = "default_2515")] pub self_service: bool, } @@ -58884,9 +58888,9 @@ impl TrackerSourceListInput { #[non_exhaustive] pub struct TrackerSourceRemoveOutput { pub name: String, - #[serde(default = "default_2514")] + #[serde(default = "default_2516")] pub deactivated: bool, - #[serde(default = "default_2515")] + #[serde(default = "default_2517")] pub namespaces_retired: Vec, } @@ -58927,9 +58931,9 @@ impl TrackerSourceRemoveInput { #[non_exhaustive] pub struct TrackerSourceRotateOutput { pub name: String, - #[serde(default = "default_2516")] + #[serde(default = "default_2518")] pub contract: std::collections::HashMap, - #[serde(default = "default_2517")] + #[serde(default = "default_2519")] pub rotated_at: String, } @@ -58976,11 +58980,11 @@ impl TrackerSourceRotateInput { #[non_exhaustive] pub struct TrackerSourceSetMappingOutput { pub name: String, - #[serde(default = "default_2518")] + #[serde(default = "default_2520")] pub contract: std::collections::HashMap, - #[serde(default = "default_2519")] + #[serde(default = "default_2521")] pub dry_run: bool, - #[serde(default = "default_2520")] + #[serde(default = "default_2522")] pub written: bool, } @@ -59047,45 +59051,45 @@ impl TrackerSourceSetMappingInput { #[non_exhaustive] pub struct TrackerTestSignalOutput { pub test_name: String, - #[serde(default = "default_2521")] + #[serde(default = "default_2523")] pub verdict: String, - #[serde(default = "default_2522")] + #[serde(default = "default_2524")] pub why: Vec, - #[serde(default = "default_2523")] + #[serde(default = "default_2525")] pub lower_bound: f64, - #[serde(default = "default_2524")] + #[serde(default = "default_2526")] pub window_days: Integer, - #[serde(default = "default_2525")] + #[serde(default = "default_2527")] pub since: String, - #[serde(default = "default_2526")] + #[serde(default = "default_2528")] pub features: std::collections::HashMap, - #[serde(default = "default_2527")] + #[serde(default = "default_2529")] pub infra: std::collections::HashMap, - #[serde(default = "default_2528")] + #[serde(default = "default_2530")] pub churn: std::collections::HashMap, - #[serde(default = "default_2529")] + #[serde(default = "default_2531")] pub thresholds: std::collections::HashMap, - #[serde(default = "default_2530")] + #[serde(default = "default_2532")] pub source: String, - #[serde(default = "default_2531")] + #[serde(default = "default_2533")] pub timings_ms: std::collections::HashMap, - #[serde(default = "default_2532")] + #[serde(default = "default_2534")] pub tracker_unavailable: bool, - #[serde(default = "default_2533")] + #[serde(default = "default_2535")] pub rollup: std::collections::HashMap, - #[serde(default = "default_2534")] + #[serde(default = "default_2536")] pub streak: std::collections::HashMap, - #[serde(default = "default_2535")] + #[serde(default = "default_2537")] pub smells: std::collections::HashMap, - #[serde(default = "default_2536")] + #[serde(default = "default_2538")] pub prior: std::collections::HashMap, - #[serde(default = "default_2537")] + #[serde(default = "default_2539")] pub unavailable_reason: String, - #[serde(default = "default_2538")] + #[serde(default = "default_2540")] pub candidates: Vec>, - #[serde(default = "default_2539")] + #[serde(default = "default_2541")] pub candidate_matches: Integer, - #[serde(default = "default_2540")] + #[serde(default = "default_2542")] pub resolved_from: String, } @@ -59189,9 +59193,9 @@ impl TrackerTestSignalInput { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct UiVitalsOutput { - #[serde(default = "default_2541")] + #[serde(default = "default_2543")] pub recorded: bool, - #[serde(default = "default_2542")] + #[serde(default = "default_2544")] pub route: String, } @@ -59375,7 +59379,7 @@ pub struct WebhookDelivery { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct WebhookDeliveriesOutput { - #[serde(default = "default_2543")] + #[serde(default = "default_2545")] pub deliveries: Vec, } @@ -59497,14 +59501,14 @@ pub struct WebhookInfo { pub secret_ref: String, pub events: Vec, pub created_at: String, - #[serde(default = "default_2544")] + #[serde(default = "default_2546")] pub secret_present: bool, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct WebhookListOutput { - #[serde(default = "default_2545")] + #[serde(default = "default_2547")] pub webhooks: Vec, } @@ -59686,7 +59690,7 @@ pub struct WorkingMemoryMutationOutput { pub version: Integer, pub char_limit: Integer, pub value_length: Integer, - #[serde(default = "default_2546")] + #[serde(default = "default_2548")] pub fill_ratio: f64, } @@ -59910,15 +59914,15 @@ impl WorkingMemoryDeleteInput { pub struct WorkingMemoryGetOutput { pub found: bool, pub block_key: String, - #[serde(default = "default_2547")] + #[serde(default = "default_2549")] pub content: String, - #[serde(default = "default_2548")] + #[serde(default = "default_2550")] pub char_limit: Integer, - #[serde(default = "default_2549")] + #[serde(default = "default_2551")] pub version: Integer, - #[serde(default = "default_2550")] + #[serde(default = "default_2552")] pub updated_at: Option, - #[serde(default = "default_2551")] + #[serde(default = "default_2553")] pub fill_ratio: f64, } @@ -60029,7 +60033,7 @@ pub struct WorkingMemoryBlock { pub content: String, pub char_limit: Integer, pub version: Integer, - #[serde(default = "default_2552")] + #[serde(default = "default_2554")] pub updated_at: Option, } @@ -60037,7 +60041,7 @@ pub struct WorkingMemoryBlock { #[non_exhaustive] pub struct WorkingMemoryRenderOutput { pub rendered: String, - #[serde(default = "default_2553")] + #[serde(default = "default_2555")] pub blocks: Vec, pub block_count: Integer, pub total_chars: Integer, @@ -61781,502 +61785,502 @@ fn default_457() -> Vec> { fn default_458() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_459() -> bool { +fn default_459() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_460() -> Vec> { + serde_json::from_str("[]").expect("schema default") +} +fn default_461() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_460() -> Integer { +fn default_462() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_461() -> Integer { +fn default_463() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_462() -> bool { +fn default_464() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_463() -> Vec> { +fn default_465() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_464() -> String { +fn default_466() -> String { serde_json::from_str("\"unit\"").expect("schema default") } -fn default_465() -> String { +fn default_467() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_466() -> Vec> { +fn default_468() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_467() -> Integer { +fn default_469() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_468() -> String { +fn default_470() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_469() -> Integer { +fn default_471() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_470() -> Integer { +fn default_472() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_471() -> String { +fn default_473() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_472() -> Integer { +fn default_474() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_473() -> bool { +fn default_475() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_474() -> std::collections::HashMap>> +fn default_476() -> std::collections::HashMap>> { serde_json::from_str("{}").expect("schema default") } -fn default_475() -> Vec> { +fn default_477() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_476() -> Integer { +fn default_478() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_477() -> String { +fn default_479() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_478() -> CodeSymbolOutputUses { +fn default_480() -> CodeSymbolOutputUses { serde_json::from_str("[]").expect("schema default") } -fn default_479() -> bool { +fn default_481() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_480() -> Integer { +fn default_482() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_481() -> String { +fn default_483() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_482() -> String { +fn default_484() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_483() -> Vec> { +fn default_485() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_484() -> Vec> { +fn default_486() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_485() -> Integer { +fn default_487() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_486() -> Integer { +fn default_488() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_487() -> Vec> { +fn default_489() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_488() -> std::collections::HashMap> { +fn default_490() -> std::collections::HashMap> { serde_json::from_str("{}").expect("schema default") } -fn default_489() -> Vec { +fn default_491() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_490() -> Vec> { +fn default_492() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_491() -> String { +fn default_493() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_492() -> Vec> { +fn default_494() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_493() -> std::collections::HashMap>> +fn default_495() -> std::collections::HashMap>> { serde_json::from_str("{}").expect("schema default") } -fn default_494() -> Vec> { +fn default_496() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_495() -> String { +fn default_497() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_496() -> Vec { +fn default_498() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_497() -> Option> { +fn default_499() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_498() -> Vec> { +fn default_500() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_499() -> Integer { +fn default_501() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_500() -> std::collections::HashMap { +fn default_502() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_501() -> Integer { +fn default_503() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_502() -> Integer { +fn default_504() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_503() -> Integer { +fn default_505() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_504() -> Vec> { +fn default_506() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_505() -> Integer { +fn default_507() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_506() -> bool { +fn default_508() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_507() -> Integer { +fn default_509() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_508() -> String { +fn default_510() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_509() -> Vec> { +fn default_511() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_510() -> Integer { +fn default_512() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_511() -> bool { +fn default_513() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_512() -> std::collections::HashMap { +fn default_514() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_513() -> bool { +fn default_515() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_514() -> String { +fn default_516() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_515() -> String { +fn default_517() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_516() -> String { +fn default_518() -> String { serde_json::from_str("\"unknown\"").expect("schema default") } -fn default_517() -> Vec { +fn default_519() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_518() -> String { +fn default_520() -> String { serde_json::from_str("\"lower_bound\"").expect("schema default") } -fn default_519() -> String { +fn default_521() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_520() -> Integer { +fn default_522() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_521() -> String { +fn default_523() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_522() -> String { +fn default_524() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_523() -> bool { +fn default_525() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_524() -> bool { +fn default_526() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_525() -> std::collections::HashMap { +fn default_527() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_526() -> Option { +fn default_528() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_527() -> Integer { +fn default_529() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_528() -> Integer { +fn default_530() -> Integer { serde_json::from_str("72").expect("schema default") } -fn default_529() -> Integer { +fn default_531() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_530() -> Integer { +fn default_532() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_531() -> Vec> { +fn default_533() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_532() -> Vec { +fn default_534() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_533() -> Vec { +fn default_535() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_534() -> String { +fn default_536() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_535() -> String { +fn default_537() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_536() -> String { +fn default_538() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_537() -> bool { +fn default_539() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_538() -> String { +fn default_540() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_539() -> Vec> { +fn default_541() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_540() -> Integer { +fn default_542() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_541() -> Vec> { +fn default_543() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_542() -> bool { +fn default_544() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_543() -> Vec> { +fn default_545() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_544() -> bool { +fn default_546() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_545() -> String { +fn default_547() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_546() -> bool { +fn default_548() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_547() -> Vec { +fn default_549() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_548() -> Option { +fn default_550() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_549() -> Vec> { +fn default_551() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_550() -> bool { +fn default_552() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_551() -> Vec> { +fn default_553() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_552() -> bool { +fn default_554() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_553() -> String { +fn default_555() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_554() -> String { +fn default_556() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_555() -> bool { +fn default_557() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_556() -> Vec> { +fn default_558() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_557() -> Integer { +fn default_559() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_558() -> bool { +fn default_560() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_559() -> bool { +fn default_561() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_560() -> std::collections::HashMap { +fn default_562() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_561() -> bool { +fn default_563() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_562() -> Vec> { +fn default_564() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_563() -> Integer { +fn default_565() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_564() -> bool { +fn default_566() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_565() -> Integer { +fn default_567() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_566() -> String { +fn default_568() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_567() -> String { +fn default_569() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_568() -> String { +fn default_570() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_569() -> String { +fn default_571() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_570() -> f64 { +fn default_572() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_571() -> Vec> { +fn default_573() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_572() -> std::collections::HashMap> { +fn default_574() -> std::collections::HashMap> { serde_json::from_str("{}").expect("schema default") } -fn default_573() -> String { +fn default_575() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_574() -> bool { +fn default_576() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_575() -> String { +fn default_577() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_576() -> CodeGrepOutputFallback { +fn default_578() -> CodeGrepOutputFallback { serde_json::from_str("\"\"").expect("schema default") } -fn default_577() -> Vec> { +fn default_579() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_578() -> String { +fn default_580() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_579() -> Vec> { +fn default_581() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_580() -> Integer { +fn default_582() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_581() -> f64 { +fn default_583() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_582() -> Vec> { +fn default_584() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_583() -> Vec> { +fn default_585() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_584() -> Vec> { +fn default_586() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_585() -> Vec> { +fn default_587() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_586() -> bool { +fn default_588() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_587() -> Integer { +fn default_589() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_588() -> Integer { +fn default_590() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_589() -> String { +fn default_591() -> String { serde_json::from_str("\"lower_bound\"").expect("schema default") } -fn default_590() -> Vec { +fn default_592() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_591() -> std::collections::HashMap { +fn default_593() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_592() -> bool { +fn default_594() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_593() -> String { +fn default_595() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_594() -> String { +fn default_596() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_595() -> Vec> { +fn default_597() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_596() -> bool { +fn default_598() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_597() -> String { +fn default_599() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_598() -> Integer { +fn default_600() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_599() -> String { +fn default_601() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_600() -> String { +fn default_602() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_601() -> String { +fn default_603() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_602() -> String { +fn default_604() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_603() -> String { +fn default_605() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_604() -> Integer { +fn default_606() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_605() -> String { +fn default_607() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_606() -> String { +fn default_608() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_607() -> String { +fn default_609() -> String { serde_json::from_str("\"generic\"").expect("schema default") } -fn default_608() -> Vec { +fn default_610() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_609() -> Vec { +fn default_611() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_610() -> String { +fn default_612() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_611() -> String { +fn default_613() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_612() -> String { +fn default_614() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_613() -> String { +fn default_615() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_614() -> String { +fn default_616() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_615() -> Integer { +fn default_617() -> Integer { serde_json::from_str("-1").expect("schema default") } -fn default_616() -> String { +fn default_618() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_617() -> bool { +fn default_619() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_618() -> Vec { +fn default_620() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_619() -> String { +fn default_621() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_620() -> Vec { +fn default_622() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_621() -> String { - serde_json::from_str("\"ok\"").expect("schema default") -} -fn default_622() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_623() -> String { - serde_json::from_str("\"\"").expect("schema default") + serde_json::from_str("\"ok\"").expect("schema default") } fn default_624() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -62287,702 +62291,702 @@ fn default_625() -> String { fn default_626() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_627() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_627() -> String { + serde_json::from_str("\"\"").expect("schema default") } fn default_628() -> String { serde_json::from_str("\"\"").expect("schema default") } fn default_629() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_630() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_631() -> Integer { serde_json::from_str("-1").expect("schema default") } -fn default_630() -> Vec { +fn default_632() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_631() -> String { +fn default_633() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_632() -> Option { +fn default_634() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_633() -> String { +fn default_635() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_634() -> String { +fn default_636() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_635() -> bool { +fn default_637() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_636() -> Integer { +fn default_638() -> Integer { serde_json::from_str("-1").expect("schema default") } -fn default_637() -> Integer { +fn default_639() -> Integer { serde_json::from_str("-1").expect("schema default") } -fn default_638() -> Integer { +fn default_640() -> Integer { serde_json::from_str("-1").expect("schema default") } -fn default_639() -> String { +fn default_641() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_640() -> String { +fn default_642() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_641() -> bool { +fn default_643() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_642() -> Vec { +fn default_644() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_643() -> std::collections::HashMap { +fn default_645() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_644() -> std::collections::HashMap> { +fn default_646() -> std::collections::HashMap> { serde_json::from_str("{}").expect("schema default") } -fn default_645() -> bool { +fn default_647() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_646() -> Integer { +fn default_648() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_647() -> String { +fn default_649() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_648() -> Integer { +fn default_650() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_649() -> Integer { +fn default_651() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_650() -> Integer { +fn default_652() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_651() -> String { +fn default_653() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_652() -> std::collections::HashMap { +fn default_654() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_653() -> String { +fn default_655() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_654() -> Vec { +fn default_656() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_655() -> std::collections::HashMap> { +fn default_657() -> std::collections::HashMap> { serde_json::from_str("{}").expect("schema default") } -fn default_656() -> std::collections::HashMap { +fn default_658() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_657() -> std::collections::HashMap> { +fn default_659() -> std::collections::HashMap> { serde_json::from_str("{}").expect("schema default") } -fn default_658() -> std::collections::HashMap> { +fn default_660() -> std::collections::HashMap> { serde_json::from_str("{}").expect("schema default") } -fn default_659() -> Integer { +fn default_661() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_660() -> String { +fn default_662() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_661() -> Integer { +fn default_663() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_662() -> String { +fn default_664() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_663() -> Integer { +fn default_665() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_664() -> Integer { +fn default_666() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_665() -> f64 { +fn default_667() -> f64 { serde_json::from_str("1.0").expect("schema default") } -fn default_666() -> String { +fn default_668() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_667() -> String { +fn default_669() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_668() -> Vec> { +fn default_670() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_669() -> Integer { +fn default_671() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_670() -> String { +fn default_672() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_671() -> bool { +fn default_673() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_672() -> String { +fn default_674() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_673() -> Integer { +fn default_675() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_674() -> Integer { +fn default_676() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_675() -> String { +fn default_677() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_676() -> bool { +fn default_678() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_677() -> std::collections::HashMap { +fn default_679() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_678() -> String { +fn default_680() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_679() -> Vec { +fn default_681() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_680() -> CodePathGuardsOutputEpistemic { +fn default_682() -> CodePathGuardsOutputEpistemic { serde_json::from_str("\"lower_bound\"").expect("schema default") } -fn default_681() -> String { +fn default_683() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_682() -> Vec> { +fn default_684() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_683() -> Vec { +fn default_685() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_684() -> Integer { +fn default_686() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_685() -> String { +fn default_687() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_686() -> String { +fn default_688() -> String { serde_json::from_str("\"none\"").expect("schema default") } -fn default_687() -> Vec> { +fn default_689() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_688() -> bool { +fn default_690() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_689() -> String { +fn default_691() -> String { serde_json::from_str("\"heuristic\"").expect("schema default") } -fn default_690() -> std::collections::HashMap { +fn default_692() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_691() -> std::collections::HashMap { +fn default_693() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_692() -> std::collections::HashMap { +fn default_694() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_693() -> String { +fn default_695() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_694() -> Vec> { +fn default_696() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_695() -> Integer { +fn default_697() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_696() -> String { +fn default_698() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_697() -> Vec { +fn default_699() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_698() -> String { +fn default_700() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_699() -> String { +fn default_701() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_700() -> String { +fn default_702() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_701() -> String { +fn default_703() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_702() -> Integer { +fn default_704() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_703() -> Integer { +fn default_705() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_704() -> bool { +fn default_706() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_705() -> String { +fn default_707() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_706() -> String { +fn default_708() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_707() -> String { +fn default_709() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_708() -> String { +fn default_710() -> String { serde_json::from_str("\"git\"").expect("schema default") } -fn default_709() -> String { +fn default_711() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_710() -> String { +fn default_712() -> String { serde_json::from_str("\"admin\"").expect("schema default") } -fn default_711() -> String { +fn default_713() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_712() -> Vec> { +fn default_714() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_713() -> Vec> { +fn default_715() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_714() -> String { +fn default_716() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_715() -> String { +fn default_717() -> String { serde_json::from_str("\"git\"").expect("schema default") } -fn default_716() -> Vec { +fn default_718() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_717() -> String { +fn default_719() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_718() -> Vec> { +fn default_720() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_719() -> Vec { +fn default_721() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_720() -> Vec> { +fn default_722() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_721() -> Integer { +fn default_723() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_722() -> Integer { +fn default_724() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_723() -> Integer { +fn default_725() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_724() -> bool { +fn default_726() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_725() -> String { +fn default_727() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_726() -> String { +fn default_728() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_727() -> bool { +fn default_729() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_728() -> Vec { +fn default_730() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_729() -> Vec { +fn default_731() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_730() -> Vec { +fn default_732() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_731() -> Vec { +fn default_733() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_732() -> String { +fn default_734() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_733() -> Integer { +fn default_735() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_734() -> String { +fn default_736() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_735() -> CodeReviewBriefOutputSource { +fn default_737() -> CodeReviewBriefOutputSource { serde_json::from_str("\"missing\"").expect("schema default") } -fn default_736() -> CodeReviewBriefOutputLedger { +fn default_738() -> CodeReviewBriefOutputLedger { serde_json::from_str("\"\"").expect("schema default") } -fn default_737() -> bool { +fn default_739() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_738() -> std::collections::HashMap { +fn default_740() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_739() -> bool { +fn default_741() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_740() -> String { +fn default_742() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_741() -> Integer { +fn default_743() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_742() -> String { +fn default_744() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_743() -> String { +fn default_745() -> String { serde_json::from_str("\"standard\"").expect("schema default") } -fn default_744() -> String { +fn default_746() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_745() -> String { +fn default_747() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_746() -> Integer { +fn default_748() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_747() -> Integer { +fn default_749() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_748() -> Integer { +fn default_750() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_749() -> std::collections::HashMap { +fn default_751() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_750() -> std::collections::HashMap> { +fn default_752() -> std::collections::HashMap> { serde_json::from_str("{}").expect("schema default") } -fn default_751() -> String { +fn default_753() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_752() -> String { +fn default_754() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_753() -> String { +fn default_755() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_754() -> String { +fn default_756() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_755() -> Vec> { +fn default_757() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_756() -> Integer { +fn default_758() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_757() -> String { +fn default_759() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_758() -> bool { +fn default_760() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_759() -> std::collections::HashMap { +fn default_761() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_760() -> bool { +fn default_762() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_761() -> CodeSearchOutputAbstainCode { +fn default_763() -> CodeSearchOutputAbstainCode { serde_json::from_str("\"\"").expect("schema default") } -fn default_762() -> String { +fn default_764() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_763() -> CodeSearchOutputRetrievalRisk { +fn default_765() -> CodeSearchOutputRetrievalRisk { serde_json::from_str("\"low\"").expect("schema default") } -fn default_764() -> f64 { +fn default_766() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_765() -> f64 { +fn default_767() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_766() -> String { +fn default_768() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_767() -> Integer { +fn default_769() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_768() -> bool { +fn default_770() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_769() -> Integer { +fn default_771() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_770() -> std::collections::HashMap { +fn default_772() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_771() -> String { +fn default_773() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_772() -> std::collections::HashMap { +fn default_774() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_773() -> String { +fn default_775() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_774() -> f64 { +fn default_776() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_775() -> std::collections::HashMap { +fn default_777() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_776() -> std::collections::HashMap { +fn default_778() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_777() -> String { +fn default_779() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_778() -> Vec { +fn default_780() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_779() -> CodeSearchOutputEpistemic { +fn default_781() -> CodeSearchOutputEpistemic { serde_json::from_str("\"\"").expect("schema default") } -fn default_780() -> bool { +fn default_782() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_781() -> String { +fn default_783() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_782() -> String { +fn default_784() -> String { serde_json::from_str("\"unknown\"").expect("schema default") } -fn default_783() -> Vec { +fn default_785() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_784() -> std::collections::HashMap { +fn default_786() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_785() -> String { +fn default_787() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_786() -> Vec> { +fn default_788() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_787() -> std::collections::HashMap { +fn default_789() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_788() -> Integer { +fn default_790() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_789() -> std::collections::HashMap { +fn default_791() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_790() -> String { +fn default_792() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_791() -> String { +fn default_793() -> String { serde_json::from_str("\"unknown\"").expect("schema default") } -fn default_792() -> Vec { +fn default_794() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_793() -> String { +fn default_795() -> String { serde_json::from_str("\"lower_bound\"").expect("schema default") } -fn default_794() -> std::collections::HashMap { +fn default_796() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_795() -> bool { +fn default_797() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_796() -> Vec { +fn default_798() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_797() -> Vec> { +fn default_799() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_798() -> Vec> { +fn default_800() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_799() -> Vec> { +fn default_801() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_800() -> std::collections::HashMap { +fn default_802() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_801() -> String { +fn default_803() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_802() -> bool { +fn default_804() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_803() -> String { +fn default_805() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_804() -> Vec> { +fn default_806() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_805() -> Vec> { +fn default_807() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_806() -> Vec> { +fn default_808() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_807() -> Vec { +fn default_809() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_808() -> Vec> { +fn default_810() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_809() -> bool { +fn default_811() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_810() -> Integer { +fn default_812() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_811() -> Integer { +fn default_813() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_812() -> Integer { +fn default_814() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_813() -> bool { +fn default_815() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_814() -> bool { +fn default_816() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_815() -> bool { +fn default_817() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_816() -> bool { +fn default_818() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_817() -> String { +fn default_819() -> String { serde_json::from_str("\"lower_bound\"").expect("schema default") } -fn default_818() -> Vec { +fn default_820() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_819() -> std::collections::HashMap { +fn default_821() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_820() -> String { +fn default_822() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_821() -> String { +fn default_823() -> String { serde_json::from_str("\"unknown\"").expect("schema default") } -fn default_822() -> String { +fn default_824() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_823() -> Vec> { +fn default_825() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_824() -> Vec { +fn default_826() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_825() -> Vec { +fn default_827() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_826() -> Integer { +fn default_828() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_827() -> std::collections::HashMap { +fn default_829() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_828() -> String { +fn default_830() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_829() -> Vec> { +fn default_831() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_830() -> Integer { +fn default_832() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_831() -> bool { +fn default_833() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_832() -> Vec> { +fn default_834() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_833() -> String { +fn default_835() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_834() -> bool { +fn default_836() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_835() -> Vec { +fn default_837() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_836() -> std::collections::HashMap { +fn default_838() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_837() -> Integer { +fn default_839() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_838() -> Integer { +fn default_840() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_839() -> String { +fn default_841() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_840() -> Integer { +fn default_842() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_841() -> String { +fn default_843() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_842() -> String { +fn default_844() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_843() -> Vec> { +fn default_845() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_844() -> std::collections::HashMap { +fn default_846() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_845() -> String { +fn default_847() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_846() -> String { +fn default_848() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_847() -> std::collections::HashMap { +fn default_849() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_848() -> Vec> { +fn default_850() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_849() -> Vec> { +fn default_851() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_850() -> bool { +fn default_852() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_851() -> std::collections::HashMap { +fn default_853() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_852() -> std::collections::HashMap { +fn default_854() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_853() -> std::collections::HashMap { +fn default_855() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_854() -> Vec { +fn default_856() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_855() -> Integer { +fn default_857() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_856() -> std::collections::HashMap { +fn default_858() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_857() -> String { - serde_json::from_str("\"\"").expect("schema default") -} -fn default_858() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_859() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -62998,147 +63002,147 @@ fn default_862() -> String { fn default_863() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_864() -> Option { +fn default_864() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_865() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_866() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_865() -> Option { +fn default_867() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_866() -> Option { +fn default_868() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_867() -> Option { +fn default_869() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_868() -> Option> { +fn default_870() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_869() -> Vec { +fn default_871() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_870() -> String { +fn default_872() -> String { serde_json::from_str("\"conflicts.resolve\"").expect("schema default") } -fn default_871() -> Vec { +fn default_873() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_872() -> String { +fn default_874() -> String { serde_json::from_str("\"No changes were applied.\"").expect("schema default") } -fn default_873() -> Option { +fn default_875() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_874() -> Option { +fn default_876() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_875() -> Option { +fn default_877() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_876() -> Vec { +fn default_878() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_877() -> String { +fn default_879() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_878() -> String { +fn default_880() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_879() -> String { +fn default_881() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_880() -> Integer { +fn default_882() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_881() -> Integer { +fn default_883() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_882() -> Integer { +fn default_884() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_883() -> Integer { +fn default_885() -> Integer { serde_json::from_str("-1").expect("schema default") } -fn default_884() -> Integer { +fn default_886() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_885() -> Option { +fn default_887() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_886() -> bool { +fn default_888() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_887() -> ConversationAppendOutputReason { +fn default_889() -> ConversationAppendOutputReason { serde_json::from_str("\"\"").expect("schema default") } -fn default_888() -> String { +fn default_890() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_889() -> Integer { +fn default_891() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_890() -> Integer { +fn default_892() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_891() -> String { +fn default_893() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_892() -> String { +fn default_894() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_893() -> std::collections::HashMap { +fn default_895() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_894() -> String { +fn default_896() -> String { serde_json::from_str("\"-\"").expect("schema default") } -fn default_895() -> String { +fn default_897() -> String { serde_json::from_str("\"-\"").expect("schema default") } -fn default_896() -> String { +fn default_898() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_897() -> Option { +fn default_899() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_898() -> Option { +fn default_900() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_899() -> Integer { +fn default_901() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_900() -> String { +fn default_902() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_901() -> Vec { +fn default_903() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_902() -> Option { +fn default_904() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_903() -> Option { +fn default_905() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_904() -> Option { +fn default_906() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_905() -> ConversationSaveMessageOutputReason { +fn default_907() -> ConversationSaveMessageOutputReason { serde_json::from_str("\"\"").expect("schema default") } -fn default_906() -> String { +fn default_908() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_907() -> Vec { +fn default_909() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_908() -> bool { +fn default_910() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_909() -> Option { - serde_json::from_str("null").expect("schema default") -} -fn default_910() -> Option { - serde_json::from_str("null").expect("schema default") -} fn default_911() -> Option { serde_json::from_str("null").expect("schema default") } @@ -63157,30 +63161,30 @@ fn default_915() -> Option { fn default_916() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_917() -> Option { +fn default_917() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_918() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_919() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_918() -> Option { +fn default_920() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_919() -> Integer { +fn default_921() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_920() -> Vec { +fn default_922() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_921() -> f64 { +fn default_923() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_922() -> Integer { +fn default_924() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_923() -> Option { - serde_json::from_str("null").expect("schema default") -} -fn default_924() -> Option { - serde_json::from_str("null").expect("schema default") -} fn default_925() -> Option { serde_json::from_str("null").expect("schema default") } @@ -63205,11 +63209,11 @@ fn default_931() -> Option { fn default_932() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_933() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_933() -> Option { + serde_json::from_str("null").expect("schema default") } -fn default_934() -> f64 { - serde_json::from_str("0.0").expect("schema default") +fn default_934() -> Option { + serde_json::from_str("null").expect("schema default") } fn default_935() -> Integer { serde_json::from_str("0").expect("schema default") @@ -63217,11 +63221,11 @@ fn default_935() -> Integer { fn default_936() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_937() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_937() -> Integer { + serde_json::from_str("0").expect("schema default") } -fn default_938() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_938() -> f64 { + serde_json::from_str("0.0").expect("schema default") } fn default_939() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -63229,621 +63233,621 @@ fn default_939() -> String { fn default_940() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_941() -> Vec { +fn default_941() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_942() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_943() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_942() -> Option { +fn default_944() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_943() -> String { +fn default_945() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_944() -> String { +fn default_946() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_945() -> String { +fn default_947() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_946() -> Option { +fn default_948() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_947() -> String { +fn default_949() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_948() -> DecisionRowStage { +fn default_950() -> DecisionRowStage { serde_json::from_str("\"decided\"").expect("schema default") } -fn default_949() -> f64 { +fn default_951() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_950() -> Option { +fn default_952() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_951() -> Option { +fn default_953() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_952() -> Integer { +fn default_954() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_953() -> String { +fn default_955() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_954() -> bool { +fn default_956() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_955() -> Integer { +fn default_957() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_956() -> String { +fn default_958() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_957() -> bool { +fn default_959() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_958() -> Option { +fn default_960() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_959() -> String { +fn default_961() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_960() -> Integer { +fn default_962() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_961() -> Integer { +fn default_963() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_962() -> Integer { +fn default_964() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_963() -> Option { +fn default_965() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_964() -> String { +fn default_966() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_965() -> Option { +fn default_967() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_966() -> Integer { +fn default_968() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_967() -> std::collections::HashMap { +fn default_969() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_968() -> Option { +fn default_970() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_969() -> Option> { +fn default_971() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_970() -> bool { +fn default_972() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_971() -> String { +fn default_973() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_972() -> Vec { +fn default_974() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_973() -> Option { +fn default_975() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_974() -> Option { +fn default_976() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_975() -> Option { +fn default_977() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_976() -> Option { +fn default_978() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_977() -> Option { +fn default_979() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_978() -> Option { +fn default_980() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_979() -> Option { +fn default_981() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_980() -> Option { +fn default_982() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_981() -> Option { +fn default_983() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_982() -> Integer { +fn default_984() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_983() -> std::collections::HashMap { +fn default_985() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_984() -> Option { +fn default_986() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_985() -> Option> { +fn default_987() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_986() -> bool { +fn default_988() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_987() -> String { +fn default_989() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_988() -> String { +fn default_990() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_989() -> String { +fn default_991() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_990() -> Option { +fn default_992() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_991() -> String { +fn default_993() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_992() -> String { +fn default_994() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_993() -> Option { +fn default_995() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_994() -> Vec { +fn default_996() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_995() -> String { +fn default_997() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_996() -> Vec { +fn default_998() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_997() -> Vec { +fn default_999() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_998() -> bool { +fn default_1000() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_999() -> bool { +fn default_1001() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1000() -> String { +fn default_1002() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1001() -> String { +fn default_1003() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1002() -> Option { +fn default_1004() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1003() -> Option { +fn default_1005() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1004() -> Option { +fn default_1006() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1005() -> bool { +fn default_1007() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1006() -> Integer { +fn default_1008() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1007() -> String { +fn default_1009() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1008() -> String { +fn default_1010() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1009() -> String { +fn default_1011() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1010() -> String { +fn default_1012() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1011() -> String { +fn default_1013() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1012() -> Option { +fn default_1014() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1013() -> Vec { +fn default_1015() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1014() -> bool { +fn default_1016() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1015() -> Vec { +fn default_1017() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1016() -> Option { +fn default_1018() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1017() -> Option { +fn default_1019() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1018() -> bool { +fn default_1020() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1019() -> String { +fn default_1021() -> String { serde_json::from_str("\"memory\"").expect("schema default") } -fn default_1020() -> Option { +fn default_1022() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1021() -> Option { +fn default_1023() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1022() -> Option { +fn default_1024() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1023() -> String { +fn default_1025() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1024() -> String { +fn default_1026() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1025() -> String { +fn default_1027() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1026() -> HelpGetOutputAudience { +fn default_1028() -> HelpGetOutputAudience { serde_json::from_str("\"user\"").expect("schema default") } -fn default_1027() -> String { +fn default_1029() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1028() -> bool { +fn default_1030() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1029() -> Integer { +fn default_1031() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1030() -> String { +fn default_1032() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1031() -> Vec { +fn default_1033() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1032() -> String { +fn default_1034() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1033() -> Vec { +fn default_1035() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1034() -> Vec { +fn default_1036() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1035() -> String { +fn default_1037() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1036() -> String { +fn default_1038() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1037() -> String { +fn default_1039() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1038() -> Vec { +fn default_1040() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1039() -> String { +fn default_1041() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1040() -> bool { +fn default_1042() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1041() -> Vec { +fn default_1043() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1042() -> Vec { +fn default_1044() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1043() -> Option { +fn default_1045() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1044() -> bool { +fn default_1046() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1045() -> bool { +fn default_1047() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1046() -> Vec { +fn default_1048() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1047() -> Vec> { +fn default_1049() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1048() -> Integer { +fn default_1050() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1049() -> bool { +fn default_1051() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1050() -> String { +fn default_1052() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1051() -> String { +fn default_1053() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1052() -> Integer { +fn default_1054() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1053() -> Integer { +fn default_1055() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1054() -> Vec { +fn default_1056() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1055() -> Integer { +fn default_1057() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1056() -> Vec { +fn default_1058() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1057() -> bool { +fn default_1059() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_1058() -> String { +fn default_1060() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1059() -> Option { +fn default_1061() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1060() -> Option { +fn default_1062() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1061() -> Vec> { +fn default_1063() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1062() -> Option { +fn default_1064() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1063() -> bool { +fn default_1065() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1064() -> Integer { +fn default_1066() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1065() -> Vec { +fn default_1067() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1066() -> Vec> { +fn default_1068() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1067() -> Vec { +fn default_1069() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1068() -> Vec> { +fn default_1070() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1069() -> Vec { +fn default_1071() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1070() -> String { +fn default_1072() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1071() -> Vec { +fn default_1073() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1072() -> Vec { +fn default_1074() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1073() -> Option { +fn default_1075() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1074() -> Vec { +fn default_1076() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1075() -> Integer { +fn default_1077() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1076() -> Vec { +fn default_1078() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1077() -> String { +fn default_1079() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1078() -> Vec { +fn default_1080() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1079() -> Vec { +fn default_1081() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1080() -> Option { +fn default_1082() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1081() -> Option { +fn default_1083() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1082() -> bool { +fn default_1084() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1083() -> String { +fn default_1085() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1084() -> String { +fn default_1086() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1085() -> bool { +fn default_1087() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1086() -> String { +fn default_1088() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1087() -> String { +fn default_1089() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1088() -> String { +fn default_1090() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1089() -> Integer { +fn default_1091() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1090() -> String { +fn default_1092() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1091() -> String { +fn default_1093() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1092() -> String { +fn default_1094() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1093() -> Option> { +fn default_1095() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_1094() -> Vec { +fn default_1096() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1095() -> Integer { +fn default_1097() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1096() -> Integer { +fn default_1098() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1097() -> Option { +fn default_1099() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1098() -> String { +fn default_1100() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1099() -> String { +fn default_1101() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1100() -> bool { +fn default_1102() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1101() -> Option { +fn default_1103() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1102() -> Option { +fn default_1104() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1103() -> Option { +fn default_1105() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1104() -> Option { +fn default_1106() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1105() -> Option { +fn default_1107() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1106() -> Vec { +fn default_1108() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1107() -> Vec { +fn default_1109() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1108() -> Option { +fn default_1110() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1109() -> Option { +fn default_1111() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1110() -> Option { +fn default_1112() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1111() -> String { +fn default_1113() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1112() -> Option { +fn default_1114() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1113() -> Option { +fn default_1115() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1114() -> Option { +fn default_1116() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1115() -> Vec { +fn default_1117() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1116() -> Vec { +fn default_1118() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1117() -> Option { +fn default_1119() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1118() -> String { +fn default_1120() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1119() -> Option { +fn default_1121() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1120() -> Vec { +fn default_1122() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1121() -> Option { +fn default_1123() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1122() -> Option { +fn default_1124() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1123() -> Option { +fn default_1125() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1124() -> String { +fn default_1126() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1125() -> Option { +fn default_1127() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1126() -> Option { +fn default_1128() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1127() -> bool { +fn default_1129() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1128() -> bool { +fn default_1130() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1129() -> Option { +fn default_1131() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1130() -> Vec { +fn default_1132() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1131() -> bool { +fn default_1133() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1132() -> Option { +fn default_1134() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1133() -> Option { +fn default_1135() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1134() -> Vec { +fn default_1136() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1135() -> String { +fn default_1137() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1136() -> String { +fn default_1138() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1137() -> Vec { +fn default_1139() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1138() -> Integer { +fn default_1140() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1139() -> Vec { +fn default_1141() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1140() -> Vec { +fn default_1142() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1141() -> Vec { +fn default_1143() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1142() -> Vec { +fn default_1144() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1143() -> Vec { +fn default_1145() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1144() -> Option { - serde_json::from_str("null").expect("schema default") -} -fn default_1145() -> Option { - serde_json::from_str("null").expect("schema default") -} fn default_1146() -> Option { serde_json::from_str("null").expect("schema default") } @@ -63868,207 +63872,207 @@ fn default_1152() -> Option { fn default_1153() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1154() -> Option { +fn default_1154() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_1155() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_1156() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1155() -> Option { +fn default_1157() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1156() -> Vec { +fn default_1158() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1157() -> Option { +fn default_1159() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1158() -> Option { +fn default_1160() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1159() -> Vec { +fn default_1161() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1160() -> Option { +fn default_1162() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1161() -> Option { +fn default_1163() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1162() -> Vec { +fn default_1164() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1163() -> String { +fn default_1165() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1164() -> String { +fn default_1166() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1165() -> Vec { +fn default_1167() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1166() -> Vec { +fn default_1168() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1167() -> Integer { +fn default_1169() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1168() -> Vec { +fn default_1170() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1169() -> Vec { +fn default_1171() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1170() -> Vec { +fn default_1172() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1171() -> Vec { +fn default_1173() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1172() -> Option { +fn default_1174() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1173() -> String { +fn default_1175() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1174() -> bool { +fn default_1176() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1175() -> KnowledgeMoveResultReason { +fn default_1177() -> KnowledgeMoveResultReason { serde_json::from_str("\"\"").expect("schema default") } -fn default_1176() -> Vec { +fn default_1178() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1177() -> String { +fn default_1179() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1178() -> bool { +fn default_1180() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1179() -> Integer { +fn default_1181() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1180() -> Vec { +fn default_1182() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1181() -> Option { +fn default_1183() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1182() -> Vec { +fn default_1184() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1183() -> Vec> { +fn default_1185() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1184() -> bool { +fn default_1186() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1185() -> Vec { +fn default_1187() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1186() -> bool { +fn default_1188() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1187() -> Vec { +fn default_1189() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1188() -> Vec> { +fn default_1190() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1189() -> KnowledgeRestoreOutputReason { +fn default_1191() -> KnowledgeRestoreOutputReason { serde_json::from_str("\"\"").expect("schema default") } -fn default_1190() -> String { +fn default_1192() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1191() -> Option { +fn default_1193() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1192() -> Integer { +fn default_1194() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1193() -> KnowledgeRestoreOutputOriginal { +fn default_1195() -> KnowledgeRestoreOutputOriginal { serde_json::from_str("\"none\"").expect("schema default") } -fn default_1194() -> Vec> { +fn default_1196() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1195() -> Vec { +fn default_1197() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1196() -> std::collections::HashMap { +fn default_1198() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1197() -> Integer { +fn default_1199() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1198() -> bool { +fn default_1200() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1199() -> Vec { +fn default_1201() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1200() -> Integer { +fn default_1202() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1201() -> bool { +fn default_1203() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1202() -> KnowledgeSourceProbe { +fn default_1204() -> KnowledgeSourceProbe { serde_json::from_str( "{\"documents\":0,\"more\":false,\"sample\":[],\"checked\":0,\"sampled\":false}", ) .expect("schema default") } -fn default_1203() -> bool { +fn default_1205() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1204() -> bool { +fn default_1206() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_1205() -> Integer { +fn default_1207() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1206() -> bool { +fn default_1208() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1207() -> Vec { +fn default_1209() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1208() -> Integer { +fn default_1210() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1209() -> bool { +fn default_1211() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1210() -> String { +fn default_1212() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1211() -> String { +fn default_1213() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1212() -> String { +fn default_1214() -> String { serde_json::from_str("\"shared\"").expect("schema default") } -fn default_1213() -> String { +fn default_1215() -> String { serde_json::from_str("\"namespace\"").expect("schema default") } -fn default_1214() -> String { +fn default_1216() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1215() -> Vec> { +fn default_1217() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1216() -> Vec { +fn default_1218() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1217() -> std::collections::HashMap { +fn default_1219() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1218() -> String { - serde_json::from_str("\"\"").expect("schema default") -} -fn default_1219() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1220() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -64078,11 +64082,11 @@ fn default_1221() -> String { fn default_1222() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1223() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_1223() -> String { + serde_json::from_str("\"\"").expect("schema default") } -fn default_1224() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_1224() -> String { + serde_json::from_str("\"\"").expect("schema default") } fn default_1225() -> Integer { serde_json::from_str("0").expect("schema default") @@ -64090,14 +64094,14 @@ fn default_1225() -> Integer { fn default_1226() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1227() -> std::collections::HashMap { - serde_json::from_str("{}").expect("schema default") +fn default_1227() -> Integer { + serde_json::from_str("0").expect("schema default") } fn default_1228() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1229() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_1229() -> std::collections::HashMap { + serde_json::from_str("{}").expect("schema default") } fn default_1230() -> Integer { serde_json::from_str("0").expect("schema default") @@ -64108,89 +64112,89 @@ fn default_1231() -> String { fn default_1232() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1233() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_1233() -> String { + serde_json::from_str("\"\"").expect("schema default") } fn default_1234() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1235() -> String { +fn default_1235() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1236() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1237() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1236() -> KnowledgeSourceSync { +fn default_1238() -> KnowledgeSourceSync { serde_json::from_str("{\"requested_at\":\"\",\"last_synced_at\":\"\",\"status\":\"\",\"documents_seen\":0,\"changed\":0,\"removed\":0,\"unconverted\":0,\"unconverted_reasons\":{},\"skipped\":0,\"error\":\"\",\"pending_extract\":0,\"last_extracted_at\":\"\",\"extracted\":0,\"flagged_pinned\":0,\"unextracted\":0,\"extract_error\":\"\"}").expect("schema default") } -fn default_1237() -> String { +fn default_1239() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1238() -> String { +fn default_1240() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1239() -> String { +fn default_1241() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1240() -> Vec { +fn default_1242() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1241() -> String { +fn default_1243() -> String { serde_json::from_str("\"shared\"").expect("schema default") } -fn default_1242() -> String { +fn default_1244() -> String { serde_json::from_str("\"namespace\"").expect("schema default") } -fn default_1243() -> String { +fn default_1245() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1244() -> Vec> { +fn default_1246() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1245() -> Vec { +fn default_1247() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1246() -> std::collections::HashMap { +fn default_1248() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1247() -> String { +fn default_1249() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1248() -> String { +fn default_1250() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1249() -> KnowledgeSourceSync { +fn default_1251() -> KnowledgeSourceSync { serde_json::from_str("{\"requested_at\":\"\",\"last_synced_at\":\"\",\"status\":\"\",\"documents_seen\":0,\"changed\":0,\"removed\":0,\"unconverted\":0,\"unconverted_reasons\":{},\"skipped\":0,\"error\":\"\",\"pending_extract\":0,\"last_extracted_at\":\"\",\"extracted\":0,\"flagged_pinned\":0,\"unextracted\":0,\"extract_error\":\"\"}").expect("schema default") } -fn default_1250() -> Vec { +fn default_1252() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1251() -> bool { +fn default_1253() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1252() -> bool { +fn default_1254() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_1253() -> String { +fn default_1255() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1254() -> std::collections::HashMap { +fn default_1256() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1255() -> String { +fn default_1257() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1256() -> Vec { +fn default_1258() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1257() -> bool { +fn default_1259() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1258() -> String { - serde_json::from_str("\"disabled\"").expect("schema default") -} -fn default_1259() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1260() -> String { - serde_json::from_str("\"\"").expect("schema default") + serde_json::from_str("\"disabled\"").expect("schema default") } fn default_1261() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -64204,213 +64208,213 @@ fn default_1263() -> String { fn default_1264() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1265() -> Integer { +fn default_1265() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1266() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1267() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1266() -> f64 { +fn default_1268() -> f64 { serde_json::from_str("0").expect("schema default") } -fn default_1267() -> Integer { +fn default_1269() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1268() -> KnowledgeSourceProbe { +fn default_1270() -> KnowledgeSourceProbe { serde_json::from_str( "{\"documents\":0,\"more\":false,\"sample\":[],\"checked\":0,\"sampled\":false}", ) .expect("schema default") } -fn default_1269() -> String { +fn default_1271() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1270() -> bool { +fn default_1272() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1271() -> Vec> { +fn default_1273() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1272() -> Vec { +fn default_1274() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1273() -> std::collections::HashMap { +fn default_1275() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1274() -> Vec> { +fn default_1276() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1275() -> Vec> { +fn default_1277() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1276() -> KnowledgeSourceProbe { +fn default_1278() -> KnowledgeSourceProbe { serde_json::from_str( "{\"documents\":0,\"more\":false,\"sample\":[],\"checked\":0,\"sampled\":false}", ) .expect("schema default") } -fn default_1277() -> Vec { +fn default_1279() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1278() -> Integer { +fn default_1280() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1279() -> Option> { +fn default_1281() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_1280() -> Vec { +fn default_1282() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1281() -> Vec { +fn default_1283() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1282() -> bool { +fn default_1284() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1283() -> bool { +fn default_1285() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1284() -> String { +fn default_1286() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1285() -> String { +fn default_1287() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1286() -> Vec> { +fn default_1288() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1287() -> bool { +fn default_1289() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1288() -> Vec { +fn default_1290() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1289() -> Vec { +fn default_1291() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1290() -> String { +fn default_1292() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1291() -> String { +fn default_1293() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1292() -> String { +fn default_1294() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1293() -> Vec { +fn default_1295() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1294() -> Integer { +fn default_1296() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1295() -> String { +fn default_1297() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1296() -> Integer { +fn default_1298() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1297() -> String { +fn default_1299() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1298() -> String { +fn default_1300() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1299() -> Integer { +fn default_1301() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1300() -> Integer { +fn default_1302() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1301() -> String { +fn default_1303() -> String { serde_json::from_str("\"memory_supporters\"").expect("schema default") } -fn default_1302() -> String { +fn default_1304() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1303() -> String { +fn default_1305() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1304() -> Option { +fn default_1306() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1305() -> String { +fn default_1307() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1306() -> String { +fn default_1308() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1307() -> bool { +fn default_1309() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1308() -> bool { +fn default_1310() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1309() -> String { +fn default_1311() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1310() -> std::collections::HashMap { +fn default_1312() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1311() -> Vec { +fn default_1313() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1312() -> String { +fn default_1314() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1313() -> String { +fn default_1315() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1314() -> String { +fn default_1316() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1315() -> Vec { +fn default_1317() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1316() -> String { +fn default_1318() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1317() -> String { +fn default_1319() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1318() -> Vec { +fn default_1320() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1319() -> Vec { +fn default_1321() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1320() -> Vec { +fn default_1322() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1321() -> Vec { +fn default_1323() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1322() -> Integer { +fn default_1324() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1323() -> Vec { +fn default_1325() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1324() -> Vec { +fn default_1326() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1325() -> Vec { +fn default_1327() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1326() -> Integer { +fn default_1328() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1327() -> Vec { +fn default_1329() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1328() -> std::collections::HashMap { +fn default_1330() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1329() -> std::collections::HashMap { +fn default_1331() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1330() -> Integer { - serde_json::from_str("0").expect("schema default") -} -fn default_1331() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1332() -> Integer { serde_json::from_str("0").expect("schema default") } @@ -64423,215 +64427,215 @@ fn default_1334() -> Integer { fn default_1335() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1336() -> bool { +fn default_1336() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1337() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1338() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1337() -> String { +fn default_1339() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1338() -> String { +fn default_1340() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1339() -> String { +fn default_1341() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1340() -> String { +fn default_1342() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1341() -> Option { +fn default_1343() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1342() -> String { +fn default_1344() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1343() -> Vec { +fn default_1345() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1344() -> String { +fn default_1346() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1345() -> MemoryAskOutputSource { +fn default_1347() -> MemoryAskOutputSource { serde_json::from_str("\"synthesized\"").expect("schema default") } -fn default_1346() -> bool { +fn default_1348() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1347() -> String { +fn default_1349() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1348() -> Vec { +fn default_1350() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1349() -> Vec { +fn default_1351() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1350() -> Vec { +fn default_1352() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1351() -> String { +fn default_1353() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1352() -> String { +fn default_1354() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1353() -> MemoryAskOutputRouteTier { +fn default_1355() -> MemoryAskOutputRouteTier { serde_json::from_str("\"\"").expect("schema default") } -fn default_1354() -> String { +fn default_1356() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1355() -> Integer { +fn default_1357() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1356() -> Integer { +fn default_1358() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1357() -> bool { +fn default_1359() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1358() -> f64 { +fn default_1360() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_1359() -> Option { +fn default_1361() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1360() -> Option { +fn default_1362() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1361() -> bool { +fn default_1363() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1362() -> String { +fn default_1364() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1363() -> Integer { +fn default_1365() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1364() -> Integer { +fn default_1366() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1365() -> Integer { +fn default_1367() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1366() -> Integer { +fn default_1368() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1367() -> String { +fn default_1369() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1368() -> Vec { +fn default_1370() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1369() -> Integer { +fn default_1371() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1370() -> MemoryAskOutputConsistency { +fn default_1372() -> MemoryAskOutputConsistency { serde_json::from_str("\"\"").expect("schema default") } -fn default_1371() -> f64 { +fn default_1373() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_1372() -> String { +fn default_1374() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1373() -> Integer { +fn default_1375() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1374() -> Integer { +fn default_1376() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1375() -> String { +fn default_1377() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1376() -> String { +fn default_1378() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1377() -> String { +fn default_1379() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1378() -> String { +fn default_1380() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1379() -> MemoryAskOutputDepth { +fn default_1381() -> MemoryAskOutputDepth { serde_json::from_str("\"\"").expect("schema default") } -fn default_1380() -> bool { +fn default_1382() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1381() -> Vec { +fn default_1383() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1382() -> Integer { +fn default_1384() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1383() -> Integer { +fn default_1385() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1384() -> Integer { +fn default_1386() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1385() -> Vec { +fn default_1387() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1386() -> Integer { +fn default_1388() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1387() -> Integer { +fn default_1389() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1388() -> Integer { +fn default_1390() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1389() -> MemoryAskOutputGrounding { +fn default_1391() -> MemoryAskOutputGrounding { serde_json::from_str("\"\"").expect("schema default") } -fn default_1390() -> String { +fn default_1392() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1391() -> Vec { +fn default_1393() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1392() -> Integer { +fn default_1394() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1393() -> Integer { +fn default_1395() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1394() -> Integer { +fn default_1396() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1395() -> Integer { +fn default_1397() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1396() -> std::collections::HashMap { +fn default_1398() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1397() -> MemoryAskOutputDeepSelector { +fn default_1399() -> MemoryAskOutputDeepSelector { serde_json::from_str("\"\"").expect("schema default") } -fn default_1398() -> MemoryAskOutputDeepFirst { +fn default_1400() -> MemoryAskOutputDeepFirst { serde_json::from_str("\"\"").expect("schema default") } -fn default_1399() -> Integer { - serde_json::from_str("0").expect("schema default") -} -fn default_1400() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1401() -> Integer { serde_json::from_str("0").expect("schema default") } fn default_1402() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1403() -> f64 { - serde_json::from_str("0.0").expect("schema default") +fn default_1403() -> Integer { + serde_json::from_str("0").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") +fn default_1405() -> f64 { + serde_json::from_str("0.0").expect("schema default") } fn default_1406() -> Integer { serde_json::from_str("0").expect("schema default") @@ -64642,143 +64646,143 @@ fn default_1407() -> Integer { fn default_1408() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1409() -> bool { +fn default_1409() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1410() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1411() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1410() -> String { +fn default_1412() -> String { serde_json::from_str("\"-\"").expect("schema default") } -fn default_1411() -> String { +fn default_1413() -> String { serde_json::from_str("\"-\"").expect("schema default") } -fn default_1412() -> String { +fn default_1414() -> String { serde_json::from_str("\"-\"").expect("schema default") } -fn default_1413() -> String { +fn default_1415() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1414() -> String { +fn default_1416() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1415() -> String { +fn default_1417() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1416() -> bool { +fn default_1418() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1417() -> String { +fn default_1419() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1418() -> Option { +fn default_1420() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1419() -> String { +fn default_1421() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1420() -> String { +fn default_1422() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1421() -> Vec { +fn default_1423() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1422() -> Option { +fn default_1424() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1423() -> bool { +fn default_1425() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1424() -> String { +fn default_1426() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1425() -> String { +fn default_1427() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1426() -> Vec { +fn default_1428() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1427() -> String { +fn default_1429() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1428() -> Vec { +fn default_1430() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1429() -> String { +fn default_1431() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1430() -> String { +fn default_1432() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1431() -> Vec { +fn default_1433() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1432() -> Vec { +fn default_1434() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1433() -> Integer { +fn default_1435() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1434() -> Vec { +fn default_1436() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1435() -> Vec { +fn default_1437() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1436() -> String { +fn default_1438() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1437() -> String { +fn default_1439() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1438() -> bool { +fn default_1440() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1439() -> String { +fn default_1441() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1440() -> String { +fn default_1442() -> String { serde_json::from_str("\"fact\"").expect("schema default") } -fn default_1441() -> String { +fn default_1443() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1442() -> bool { +fn default_1444() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1443() -> String { +fn default_1445() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1444() -> String { +fn default_1446() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1445() -> String { +fn default_1447() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1446() -> Vec { - serde_json::from_str("[]").expect("schema default") -} -fn default_1447() -> Vec { +fn default_1448() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1448() -> Vec { +fn default_1449() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1449() -> std::collections::HashMap { - serde_json::from_str("{}").expect("schema default") -} fn default_1450() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1451() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_1451() -> std::collections::HashMap { + 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() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1454() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_1454() -> Vec { + serde_json::from_str("[]").expect("schema default") } fn default_1455() -> Integer { serde_json::from_str("0").expect("schema default") @@ -64795,11 +64799,11 @@ fn default_1458() -> Integer { fn default_1459() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1460() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_1460() -> Integer { + serde_json::from_str("0").expect("schema default") } -fn default_1461() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_1461() -> Integer { + serde_json::from_str("0").expect("schema default") } fn default_1462() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -64807,14 +64811,14 @@ fn default_1462() -> String { fn default_1463() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1464() -> bool { - serde_json::from_str("true").expect("schema default") +fn default_1464() -> String { + serde_json::from_str("\"\"").expect("schema default") } -fn default_1465() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_1465() -> String { + serde_json::from_str("\"\"").expect("schema default") } -fn default_1466() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_1466() -> bool { + serde_json::from_str("true").expect("schema default") } fn default_1467() -> Integer { serde_json::from_str("0").expect("schema default") @@ -64825,339 +64829,339 @@ fn default_1468() -> Integer { fn default_1469() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1470() -> bool { +fn default_1470() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1471() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1472() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1471() -> Vec { +fn default_1473() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1472() -> String { +fn default_1474() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1473() -> String { +fn default_1475() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1474() -> Option { +fn default_1476() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1475() -> Vec { +fn default_1477() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1476() -> bool { +fn default_1478() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1477() -> bool { +fn default_1479() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1478() -> Vec { +fn default_1480() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1479() -> bool { +fn default_1481() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1480() -> Option { +fn default_1482() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1481() -> Vec { +fn default_1483() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1482() -> Option { +fn default_1484() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1483() -> Option { +fn default_1485() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1484() -> Vec { +fn default_1486() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1485() -> Integer { +fn default_1487() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1486() -> bool { +fn default_1488() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_1487() -> String { +fn default_1489() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1488() -> Integer { +fn default_1490() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1489() -> Integer { +fn default_1491() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1490() -> std::collections::HashMap { +fn default_1492() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1491() -> String { +fn default_1493() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1492() -> f64 { +fn default_1494() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_1493() -> bool { +fn default_1495() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1494() -> String { +fn default_1496() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1495() -> String { +fn default_1497() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1496() -> Integer { +fn default_1498() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1497() -> Integer { +fn default_1499() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1498() -> Option { +fn default_1500() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1499() -> Vec { +fn default_1501() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1500() -> Vec { +fn default_1502() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1501() -> Option { +fn default_1503() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1502() -> Option { +fn default_1504() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1503() -> Integer { +fn default_1505() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1504() -> bool { +fn default_1506() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1505() -> String { +fn default_1507() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1506() -> String { +fn default_1508() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1507() -> String { +fn default_1509() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1508() -> String { +fn default_1510() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1509() -> Option { +fn default_1511() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1510() -> String { +fn default_1512() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1511() -> Integer { +fn default_1513() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1512() -> Integer { +fn default_1514() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1513() -> String { +fn default_1515() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1514() -> Vec { +fn default_1516() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1515() -> bool { +fn default_1517() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1516() -> Integer { +fn default_1518() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1517() -> Integer { +fn default_1519() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1518() -> Integer { +fn default_1520() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1519() -> Integer { +fn default_1521() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1520() -> Integer { +fn default_1522() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1521() -> String { +fn default_1523() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1522() -> String { +fn default_1524() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1523() -> String { +fn default_1525() -> String { serde_json::from_str("\"-\"").expect("schema default") } -fn default_1524() -> String { +fn default_1526() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1525() -> Vec { +fn default_1527() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1526() -> Integer { +fn default_1528() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1527() -> Integer { +fn default_1529() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1528() -> String { +fn default_1530() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1529() -> String { +fn default_1531() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1530() -> Vec { +fn default_1532() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1531() -> String { +fn default_1533() -> String { serde_json::from_str("\"-\"").expect("schema default") } -fn default_1532() -> String { +fn default_1534() -> String { serde_json::from_str("\"-\"").expect("schema default") } -fn default_1533() -> Vec { +fn default_1535() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1534() -> Vec { +fn default_1536() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1535() -> String { +fn default_1537() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1536() -> String { +fn default_1538() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1537() -> Vec { +fn default_1539() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1538() -> f64 { +fn default_1540() -> f64 { serde_json::from_str("1.0").expect("schema default") } -fn default_1539() -> String { +fn default_1541() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1540() -> String { +fn default_1542() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1541() -> Vec { +fn default_1543() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1542() -> bool { +fn default_1544() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1543() -> String { +fn default_1545() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1544() -> Integer { +fn default_1546() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1545() -> Vec { +fn default_1547() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1546() -> Vec { +fn default_1548() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1547() -> Vec { +fn default_1549() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1548() -> Vec { +fn default_1550() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1549() -> Vec { +fn default_1551() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1550() -> Option { +fn default_1552() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1551() -> Option { +fn default_1553() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1552() -> Vec { +fn default_1554() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1553() -> Integer { +fn default_1555() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1554() -> Integer { +fn default_1556() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1555() -> Vec { +fn default_1557() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1556() -> Vec { +fn default_1558() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1557() -> Integer { +fn default_1559() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1558() -> Integer { +fn default_1560() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1559() -> bool { +fn default_1561() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1560() -> Vec { +fn default_1562() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1561() -> f64 { +fn default_1563() -> f64 { serde_json::from_str("1.0").expect("schema default") } -fn default_1562() -> bool { +fn default_1564() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1563() -> String { +fn default_1565() -> String { serde_json::from_str("\"active\"").expect("schema default") } -fn default_1564() -> String { +fn default_1566() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1565() -> Option { +fn default_1567() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1566() -> String { +fn default_1568() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1567() -> String { +fn default_1569() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1568() -> String { +fn default_1570() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1569() -> String { +fn default_1571() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1570() -> MemoryForFileHitSupersedesKind { +fn default_1572() -> MemoryForFileHitSupersedesKind { serde_json::from_str("\"\"").expect("schema default") } -fn default_1571() -> Vec { +fn default_1573() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1572() -> String { +fn default_1574() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1573() -> MemoryForFileHitVerification { +fn default_1575() -> MemoryForFileHitVerification { serde_json::from_str("\"none\"").expect("schema default") } -fn default_1574() -> MemoryForFileHitCodeState { +fn default_1576() -> MemoryForFileHitCodeState { serde_json::from_str("\"\"").expect("schema default") } -fn default_1575() -> Vec { +fn default_1577() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1576() -> String { +fn default_1578() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1577() -> Integer { +fn default_1579() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1578() -> bool { +fn default_1580() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1579() -> String { - serde_json::from_str("\"\"").expect("schema default") -} -fn default_1580() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1581() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -65170,22 +65174,22 @@ fn default_1583() -> String { fn default_1584() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1585() -> Option { - serde_json::from_str("null").expect("schema default") +fn default_1585() -> String { + serde_json::from_str("\"\"").expect("schema default") } -fn default_1586() -> Value { - serde_json::from_str("null").expect("schema default") +fn default_1586() -> String { + serde_json::from_str("\"\"").expect("schema default") } -fn default_1587() -> Option { +fn default_1587() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1588() -> Option { +fn default_1588() -> Value { serde_json::from_str("null").expect("schema default") } -fn default_1589() -> Option { +fn default_1589() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1590() -> Option { +fn default_1590() -> Option { serde_json::from_str("null").expect("schema default") } fn default_1591() -> Option { @@ -65194,548 +65198,548 @@ fn default_1591() -> Option { fn default_1592() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1593() -> bool { +fn default_1593() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_1594() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_1595() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1594() -> String { +fn default_1596() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1595() -> String { +fn default_1597() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1596() -> Option { +fn default_1598() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1597() -> String { +fn default_1599() -> String { serde_json::from_str("\"none\"").expect("schema default") } -fn default_1598() -> String { +fn default_1600() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1599() -> String { +fn default_1601() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1600() -> String { +fn default_1602() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1601() -> String { +fn default_1603() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1602() -> String { +fn default_1604() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1603() -> Option { +fn default_1605() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1604() -> String { +fn default_1606() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1605() -> String { +fn default_1607() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1606() -> String { +fn default_1608() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1607() -> Integer { +fn default_1609() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1608() -> Vec { +fn default_1610() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1609() -> Integer { +fn default_1611() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1610() -> Option { +fn default_1612() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1611() -> Vec { +fn default_1613() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1612() -> std::collections::HashMap { +fn default_1614() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1613() -> Integer { +fn default_1615() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1614() -> f64 { +fn default_1616() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_1615() -> Integer { +fn default_1617() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1616() -> Integer { +fn default_1618() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1617() -> Integer { +fn default_1619() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1618() -> Integer { +fn default_1620() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1619() -> Integer { +fn default_1621() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1620() -> MemoryHealthStaleness { +fn default_1622() -> 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_1621() -> Integer { +fn default_1623() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1622() -> Integer { +fn default_1624() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1623() -> f64 { +fn default_1625() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_1624() -> MemoryHealthFootprint { +fn default_1626() -> MemoryHealthFootprint { serde_json::from_str("{\"value_chars\":0,\"value_tokens_est\":0,\"tokens_per_row_est\":0.0}") .expect("schema default") } -fn default_1625() -> String { +fn default_1627() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1626() -> Value { +fn default_1628() -> Value { serde_json::from_str("null").expect("schema default") } -fn default_1627() -> String { +fn default_1629() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1628() -> bool { +fn default_1630() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1629() -> Option { +fn default_1631() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1630() -> Option { +fn default_1632() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1631() -> Option { +fn default_1633() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1632() -> String { +fn default_1634() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1633() -> String { +fn default_1635() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1634() -> String { +fn default_1636() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1635() -> String { +fn default_1637() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1636() -> String { +fn default_1638() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1637() -> Option { +fn default_1639() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1638() -> String { +fn default_1640() -> String { serde_json::from_str("\"active\"").expect("schema default") } -fn default_1639() -> Vec { +fn default_1641() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1640() -> Vec { +fn default_1642() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1641() -> Option { +fn default_1643() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1642() -> String { +fn default_1644() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1643() -> String { +fn default_1645() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1644() -> String { +fn default_1646() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1645() -> String { +fn default_1647() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1646() -> Option { +fn default_1648() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1647() -> Integer { +fn default_1649() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1648() -> Integer { +fn default_1650() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1649() -> Integer { +fn default_1651() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1650() -> Integer { +fn default_1652() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1651() -> MemoryImportResultReason { +fn default_1653() -> MemoryImportResultReason { serde_json::from_str("\"\"").expect("schema default") } -fn default_1652() -> String { +fn default_1654() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1653() -> MemoryImportResultNote { +fn default_1655() -> MemoryImportResultNote { serde_json::from_str("\"\"").expect("schema default") } -fn default_1654() -> bool { +fn default_1656() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1655() -> String { +fn default_1657() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1656() -> Option { +fn default_1658() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1657() -> Integer { +fn default_1659() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1658() -> Integer { +fn default_1660() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1659() -> Integer { +fn default_1661() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1660() -> String { +fn default_1662() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1661() -> Integer { +fn default_1663() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1662() -> Vec { +fn default_1664() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1663() -> Integer { +fn default_1665() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1664() -> Integer { +fn default_1666() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1665() -> Vec { +fn default_1667() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1666() -> Integer { +fn default_1668() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1667() -> Vec { +fn default_1669() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1668() -> Vec { +fn default_1670() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1669() -> Vec { +fn default_1671() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1670() -> Vec { +fn default_1672() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1671() -> Vec { +fn default_1673() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1672() -> Option { +fn default_1674() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1673() -> Option { +fn default_1675() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1674() -> String { +fn default_1676() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1675() -> Integer { +fn default_1677() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1676() -> String { +fn default_1678() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1677() -> Vec { +fn default_1679() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1678() -> bool { +fn default_1680() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_1679() -> Vec { +fn default_1681() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1680() -> Option { +fn default_1682() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1681() -> Option { +fn default_1683() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1682() -> String { +fn default_1684() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1683() -> Integer { +fn default_1685() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1684() -> String { +fn default_1686() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1685() -> Integer { +fn default_1687() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1686() -> Option { +fn default_1688() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1687() -> String { +fn default_1689() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1688() -> String { +fn default_1690() -> 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_1689() -> Vec { +fn default_1691() -> Vec { serde_json::from_str("[\"memory.set_from_messages\",\"extraction_instructions\"]") .expect("schema default") } -fn default_1690() -> Vec { +fn default_1692() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1691() -> bool { +fn default_1693() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1692() -> String { +fn default_1694() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1693() -> String { +fn default_1695() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1694() -> Option { +fn default_1696() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1695() -> String { +fn default_1697() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1696() -> String { +fn default_1698() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1697() -> String { +fn default_1699() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1698() -> MemoryLineageOutputMechanism { +fn default_1700() -> MemoryLineageOutputMechanism { serde_json::from_str("\"unknown\"").expect("schema default") } -fn default_1699() -> Vec { +fn default_1701() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1700() -> String { +fn default_1702() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1701() -> String { +fn default_1703() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1702() -> Option { +fn default_1704() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1703() -> Vec { +fn default_1705() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1704() -> f64 { +fn default_1706() -> f64 { serde_json::from_str("1.0").expect("schema default") } -fn default_1705() -> bool { +fn default_1707() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1706() -> bool { +fn default_1708() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1707() -> Integer { +fn default_1709() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1708() -> Integer { +fn default_1710() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1709() -> String { +fn default_1711() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1710() -> bool { +fn default_1712() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1711() -> Integer { +fn default_1713() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1712() -> String { +fn default_1714() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1713() -> String { +fn default_1715() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1714() -> String { +fn default_1716() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1715() -> Option { +fn default_1717() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1716() -> String { +fn default_1718() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1717() -> Option { +fn default_1719() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1718() -> String { +fn default_1720() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1719() -> String { +fn default_1721() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1720() -> String { +fn default_1722() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1721() -> Integer { +fn default_1723() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1722() -> String { +fn default_1724() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1723() -> Vec { +fn default_1725() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1724() -> bool { +fn default_1726() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1725() -> String { +fn default_1727() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1726() -> String { +fn default_1728() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1727() -> String { +fn default_1729() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1728() -> bool { +fn default_1730() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1729() -> std::collections::HashMap { +fn default_1731() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1730() -> String { +fn default_1732() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1731() -> String { +fn default_1733() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1732() -> Integer { +fn default_1734() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1733() -> Integer { +fn default_1735() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1734() -> Vec { +fn default_1736() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1735() -> Integer { +fn default_1737() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1736() -> Integer { +fn default_1738() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1737() -> Vec { +fn default_1739() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1738() -> String { +fn default_1740() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1739() -> Integer { +fn default_1741() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1740() -> String { +fn default_1742() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1741() -> Vec { +fn default_1743() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1742() -> Integer { +fn default_1744() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1743() -> Option { +fn default_1745() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1744() -> Vec { +fn default_1746() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1745() -> Integer { +fn default_1747() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1746() -> String { +fn default_1748() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1747() -> String { +fn default_1749() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1748() -> Vec { +fn default_1750() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1749() -> String { +fn default_1751() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1750() -> String { +fn default_1752() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1751() -> String { +fn default_1753() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1752() -> String { +fn default_1754() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1753() -> String { +fn default_1755() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1754() -> Vec { +fn default_1756() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1755() -> String { +fn default_1757() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1756() -> Integer { +fn default_1758() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1757() -> Integer { +fn default_1759() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1758() -> String { +fn default_1760() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1759() -> Integer { +fn default_1761() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1760() -> Integer { +fn default_1762() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1761() -> MemoryProposalReady { +fn default_1763() -> MemoryProposalReady { serde_json::from_str("\"\"").expect("schema default") } -fn default_1762() -> Vec { +fn default_1764() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1763() -> Vec { +fn default_1765() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1764() -> Integer { +fn default_1766() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1765() -> ProposalPolicyMode { +fn default_1767() -> ProposalPolicyMode { serde_json::from_str("\"manual\"").expect("schema default") } -fn default_1766() -> Integer { +fn default_1768() -> Integer { serde_json::from_str("2").expect("schema default") } -fn default_1767() -> Integer { +fn default_1769() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1768() -> Integer { +fn default_1770() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1769() -> ProposalPolicy { +fn default_1771() -> ProposalPolicy { serde_json::from_str( "{\"mode\":\"manual\",\"min_passes\":2,\"max_fails\":0,\"reject_after_fails\":0}", ) .expect("schema default") } -fn default_1770() -> String { - serde_json::from_str("\"\"").expect("schema default") -} -fn default_1771() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_1772() -> String { serde_json::from_str("\"\"").expect("schema default") } @@ -65748,14 +65752,14 @@ fn default_1774() -> String { fn default_1775() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1776() -> bool { - serde_json::from_str("false").expect("schema default") +fn default_1776() -> String { + serde_json::from_str("\"\"").expect("schema default") } fn default_1777() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1778() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_1778() -> bool { + serde_json::from_str("false").expect("schema default") } fn default_1779() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -65778,324 +65782,324 @@ fn default_1784() -> String { fn default_1785() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1786() -> Vec { +fn default_1786() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1787() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1788() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1787() -> f64 { +fn default_1789() -> f64 { serde_json::from_str("1.0").expect("schema default") } -fn default_1788() -> String { +fn default_1790() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1789() -> String { +fn default_1791() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1790() -> Vec { +fn default_1792() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1791() -> String { +fn default_1793() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1792() -> String { +fn default_1794() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1793() -> String { +fn default_1795() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1794() -> String { +fn default_1796() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1795() -> bool { +fn default_1797() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1796() -> Integer { +fn default_1798() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1797() -> Integer { +fn default_1799() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1798() -> Integer { +fn default_1800() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1799() -> bool { +fn default_1801() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1800() -> String { +fn default_1802() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1801() -> Integer { +fn default_1803() -> Integer { serde_json::from_str("-1").expect("schema default") } -fn default_1802() -> MemoryRecallOutputOrder { +fn default_1804() -> MemoryRecallOutputOrder { serde_json::from_str("\"recent\"").expect("schema default") } -fn default_1803() -> Vec { +fn default_1805() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1804() -> Integer { +fn default_1806() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1805() -> Value { +fn default_1807() -> Value { serde_json::from_str("null").expect("schema default") } -fn default_1806() -> Value { +fn default_1808() -> Value { serde_json::from_str("null").expect("schema default") } -fn default_1807() -> String { +fn default_1809() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1808() -> String { +fn default_1810() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1809() -> Option { +fn default_1811() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1810() -> Option { +fn default_1812() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1811() -> bool { +fn default_1813() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1812() -> String { +fn default_1814() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1813() -> String { +fn default_1815() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1814() -> std::collections::HashMap { +fn default_1816() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1815() -> std::collections::HashMap { +fn default_1817() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1816() -> MemoryRecordRowStatus { +fn default_1818() -> MemoryRecordRowStatus { serde_json::from_str("\"active\"").expect("schema default") } -fn default_1817() -> Option { +fn default_1819() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1818() -> Option { +fn default_1820() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1819() -> bool { +fn default_1821() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1820() -> String { +fn default_1822() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1821() -> MemoryRecordWriteOutputKeySource { +fn default_1823() -> MemoryRecordWriteOutputKeySource { serde_json::from_str("\"anonymous\"").expect("schema default") } -fn default_1822() -> std::collections::HashMap { +fn default_1824() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1823() -> String { +fn default_1825() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1824() -> Integer { +fn default_1826() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1825() -> bool { +fn default_1827() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1826() -> Option { +fn default_1828() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1827() -> Integer { +fn default_1829() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1828() -> Integer { +fn default_1830() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1829() -> Option { +fn default_1831() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1830() -> String { +fn default_1832() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1831() -> Integer { +fn default_1833() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1832() -> Integer { +fn default_1834() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1833() -> bool { +fn default_1835() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1834() -> Vec { +fn default_1836() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1835() -> Option { +fn default_1837() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1836() -> Option { +fn default_1838() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1837() -> bool { +fn default_1839() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1838() -> bool { +fn default_1840() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1839() -> String { +fn default_1841() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1840() -> f64 { +fn default_1842() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_1841() -> String { +fn default_1843() -> String { serde_json::from_str("\"fact\"").expect("schema default") } -fn default_1842() -> String { +fn default_1844() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1843() -> std::collections::HashMap { +fn default_1845() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1844() -> bool { +fn default_1846() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1845() -> Integer { +fn default_1847() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1846() -> String { +fn default_1848() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1847() -> Vec { +fn default_1849() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1848() -> Vec { +fn default_1850() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1849() -> Integer { +fn default_1851() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1850() -> Integer { +fn default_1852() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1851() -> String { +fn default_1853() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1852() -> String { +fn default_1854() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1853() -> Integer { +fn default_1855() -> Integer { serde_json::from_str("1").expect("schema default") } -fn default_1854() -> Integer { +fn default_1856() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1855() -> Integer { +fn default_1857() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1856() -> Vec { +fn default_1858() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1857() -> Integer { +fn default_1859() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1858() -> Integer { +fn default_1860() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1859() -> Integer { +fn default_1861() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1860() -> Integer { +fn default_1862() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1861() -> Vec { +fn default_1863() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1862() -> String { +fn default_1864() -> String { serde_json::from_str("\"whole\"").expect("schema default") } -fn default_1863() -> Integer { +fn default_1865() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1864() -> Vec { +fn default_1866() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1865() -> Vec { +fn default_1867() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1866() -> Integer { +fn default_1868() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1867() -> Vec { +fn default_1869() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1868() -> Integer { +fn default_1870() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1869() -> Vec { +fn default_1871() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1870() -> Vec { +fn default_1872() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1871() -> bool { +fn default_1873() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1872() -> String { +fn default_1874() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1873() -> String { +fn default_1875() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1874() -> std::collections::HashMap { +fn default_1876() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1875() -> String { +fn default_1877() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1876() -> bool { +fn default_1878() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1877() -> Vec { +fn default_1879() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1878() -> Integer { +fn default_1880() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1879() -> Integer { +fn default_1881() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1880() -> String { +fn default_1882() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1881() -> String { +fn default_1883() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1882() -> String { +fn default_1884() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1883() -> bool { +fn default_1885() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1884() -> Integer { +fn default_1886() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1885() -> Option { +fn default_1887() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1886() -> String { +fn default_1888() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1887() -> String { +fn default_1889() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1888() -> String { +fn default_1890() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1889() -> Vec { +fn default_1891() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1890() -> Integer { - serde_json::from_str("0").expect("schema default") -} -fn default_1891() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1892() -> Integer { serde_json::from_str("0").expect("schema default") } @@ -66108,56 +66112,56 @@ fn default_1894() -> Integer { fn default_1895() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1896() -> bool { +fn default_1896() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1897() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1898() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1897() -> Vec> { +fn default_1899() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1898() -> Vec { +fn default_1900() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1899() -> Option { +fn default_1901() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1900() -> String { +fn default_1902() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1901() -> Integer { +fn default_1903() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1902() -> Option { +fn default_1904() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1903() -> Option { +fn default_1905() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1904() -> Option { +fn default_1906() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1905() -> Option { +fn default_1907() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1906() -> Vec { +fn default_1908() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1907() -> Integer { +fn default_1909() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1908() -> String { +fn default_1910() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1909() -> String { - serde_json::from_str("\"\"").expect("schema default") -} -fn default_1910() -> Option { - serde_json::from_str("null").expect("schema default") -} fn default_1911() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1912() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_1912() -> Option { + serde_json::from_str("null").expect("schema default") } fn default_1913() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -66165,23 +66169,23 @@ fn default_1913() -> String { fn default_1914() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1915() -> Option { - serde_json::from_str("null").expect("schema default") +fn default_1915() -> String { + serde_json::from_str("\"\"").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") +fn default_1917() -> Option { + serde_json::from_str("null").expect("schema default") } -fn default_1918() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_1918() -> String { + serde_json::from_str("\"\"").expect("schema default") } fn default_1919() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1920() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_1920() -> Integer { + serde_json::from_str("0").expect("schema default") } fn default_1921() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -66192,20 +66196,20 @@ fn default_1922() -> String { fn default_1923() -> String { serde_json::from_str("\"\"").expect("schema default") } -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") } -fn default_1926() -> Vec { - serde_json::from_str("[]").expect("schema default") +fn default_1926() -> Integer { + serde_json::from_str("0").expect("schema default") } fn default_1927() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1928() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_1928() -> Vec { + serde_json::from_str("[]").expect("schema default") } fn default_1929() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -66216,23 +66220,23 @@ fn default_1930() -> Integer { fn default_1931() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1932() -> String { - serde_json::from_str("\"\"").expect("schema default") -} -fn default_1933() -> Integer { +fn default_1932() -> Integer { serde_json::from_str("0").expect("schema default") } +fn default_1933() -> String { + serde_json::from_str("\"\"").expect("schema default") +} fn default_1934() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1935() -> bool { - serde_json::from_str("false").expect("schema default") +fn default_1935() -> Integer { + serde_json::from_str("0").expect("schema default") } fn default_1936() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1937() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_1937() -> bool { + serde_json::from_str("false").expect("schema default") } fn default_1938() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -66240,108 +66244,108 @@ fn default_1938() -> String { fn default_1939() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1940() -> Option { - serde_json::from_str("null").expect("schema default") +fn default_1940() -> String { + serde_json::from_str("\"\"").expect("schema default") } fn default_1941() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_1942() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_1943() -> String { serde_json::from_str("\"none\"").expect("schema default") } -fn default_1942() -> Integer { +fn default_1944() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1943() -> String { +fn default_1945() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1944() -> String { +fn default_1946() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1945() -> String { +fn default_1947() -> String { serde_json::from_str("\"active\"").expect("schema default") } -fn default_1946() -> bool { +fn default_1948() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1947() -> Vec { +fn default_1949() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1948() -> std::collections::HashMap { +fn default_1950() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1949() -> String { +fn default_1951() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1950() -> Vec { +fn default_1952() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1951() -> std::collections::HashMap { +fn default_1953() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1952() -> Integer { +fn default_1954() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1953() -> Option { +fn default_1955() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1954() -> String { +fn default_1956() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1955() -> bool { +fn default_1957() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_1956() -> Vec { +fn default_1958() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1957() -> Vec { +fn default_1959() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1958() -> std::collections::HashMap { +fn default_1960() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_1959() -> Option { +fn default_1961() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1960() -> Vec { +fn default_1962() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1961() -> Integer { +fn default_1963() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1962() -> Integer { +fn default_1964() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1963() -> Vec { +fn default_1965() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1964() -> Option { +fn default_1966() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1965() -> Vec { +fn default_1967() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1966() -> Option { +fn default_1968() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1967() -> Option { +fn default_1969() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1968() -> Vec { +fn default_1970() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1969() -> bool { +fn default_1971() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1970() -> Vec { +fn default_1972() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1971() -> bool { +fn default_1973() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_1972() -> Integer { - serde_json::from_str("0").expect("schema default") -} -fn default_1973() -> Integer { - serde_json::from_str("0").expect("schema default") -} fn default_1974() -> Integer { serde_json::from_str("0").expect("schema default") } @@ -66363,14 +66367,14 @@ fn default_1979() -> Integer { fn default_1980() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1981() -> f64 { - serde_json::from_str("0.0").expect("schema default") +fn default_1981() -> Integer { + serde_json::from_str("0").expect("schema default") } fn default_1982() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1983() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_1983() -> f64 { + serde_json::from_str("0.0").expect("schema default") } fn default_1984() -> Integer { serde_json::from_str("0").expect("schema default") @@ -66378,85 +66382,85 @@ fn default_1984() -> Integer { fn default_1985() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1986() -> Option { +fn default_1986() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1987() -> Integer { + serde_json::from_str("0").expect("schema default") +} +fn default_1988() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1987() -> Option { +fn default_1989() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_1988() -> Vec { +fn default_1990() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1989() -> String { +fn default_1991() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1990() -> String { +fn default_1992() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_1991() -> Integer { +fn default_1993() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_1992() -> Vec> { +fn default_1994() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_1993() -> Vec { +fn default_1995() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_1994() -> String { +fn default_1996() -> String { serde_json::from_str("\"memory\"").expect("schema default") } -fn default_1995() -> bool { +fn default_1997() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_1996() -> String { +fn default_1998() -> String { serde_json::from_str("\"approval\"").expect("schema default") } -fn default_1997() -> String { +fn default_1999() -> String { serde_json::from_str("\"public\"").expect("schema default") } -fn default_1998() -> BrowseEntryMyStatus { +fn default_2000() -> BrowseEntryMyStatus { serde_json::from_str("\"none\"").expect("schema default") } -fn default_1999() -> String { +fn default_2001() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2000() -> String { +fn default_2002() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2001() -> String { +fn default_2003() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2002() -> Integer { +fn default_2004() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2003() -> String { +fn default_2005() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2004() -> Option { - serde_json::from_str("null").expect("schema default") -} -fn default_2005() -> Option { +fn default_2006() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2006() -> Vec { - serde_json::from_str("[]").expect("schema default") -} fn default_2007() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2008() -> Option { - serde_json::from_str("null").expect("schema default") +fn default_2008() -> Vec { + serde_json::from_str("[]").expect("schema default") } fn default_2009() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2010() -> Option> { +fn default_2010() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2011() -> Option { +fn default_2011() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2012() -> Option { +fn default_2012() -> Option> { serde_json::from_str("null").expect("schema default") } fn default_2013() -> Option { @@ -66468,344 +66472,344 @@ fn default_2014() -> 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 { +fn default_2017() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2018() -> Option { +fn default_2018() -> Option { serde_json::from_str("null").expect("schema default") } fn default_2019() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2020() -> 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 { +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> { +fn default_2026() -> Option { serde_json::from_str("null").expect("schema default") } 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 { serde_json::from_str("null").expect("schema default") } -fn default_2030() -> Option { +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 { +fn default_2033() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2034() -> 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 { serde_json::from_str("null").expect("schema default") } -fn default_2038() -> Integer { +fn default_2038() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_2039() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_2040() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2039() -> String { +fn default_2041() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2040() -> String { +fn default_2042() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2041() -> String { +fn default_2043() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2042() -> String { +fn default_2044() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2043() -> Option { +fn default_2045() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2044() -> bool { +fn default_2046() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2045() -> Integer { +fn default_2047() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2046() -> String { +fn default_2048() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2047() -> String { +fn default_2049() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2048() -> String { +fn default_2050() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2049() -> String { +fn default_2051() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2050() -> Option { +fn default_2052() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2051() -> Option { +fn default_2053() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2052() -> String { +fn default_2054() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2053() -> Vec { +fn default_2055() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2054() -> String { +fn default_2056() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2055() -> String { +fn default_2057() -> String { serde_json::from_str("\"active\"").expect("schema default") } -fn default_2056() -> Option { +fn default_2058() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2057() -> Vec { +fn default_2059() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2058() -> Option { +fn default_2060() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2059() -> String { +fn default_2061() -> String { serde_json::from_str("\"memory\"").expect("schema default") } -fn default_2060() -> bool { +fn default_2062() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2061() -> f64 { +fn default_2063() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2062() -> f64 { +fn default_2064() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2063() -> String { +fn default_2065() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2064() -> Option { +fn default_2066() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2065() -> Integer { +fn default_2067() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2066() -> Integer { +fn default_2068() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2067() -> NamespaceEntryVisibility { +fn default_2069() -> NamespaceEntryVisibility { serde_json::from_str("\"private\"").expect("schema default") } -fn default_2068() -> String { +fn default_2070() -> String { serde_json::from_str("\"active\"").expect("schema default") } -fn default_2069() -> Option { +fn default_2071() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2070() -> Option { +fn default_2072() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2071() -> Vec { +fn default_2073() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2072() -> MineEntryVisibility { +fn default_2074() -> MineEntryVisibility { serde_json::from_str("\"private\"").expect("schema default") } -fn default_2073() -> String { +fn default_2075() -> String { serde_json::from_str("\"memory\"").expect("schema default") } -fn default_2074() -> String { +fn default_2076() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2075() -> String { +fn default_2077() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2076() -> Option { +fn default_2078() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2077() -> bool { +fn default_2079() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2078() -> bool { +fn default_2080() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2079() -> String { +fn default_2081() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2080() -> NamespaceRegisterOutputVisibility { +fn default_2082() -> NamespaceRegisterOutputVisibility { serde_json::from_str("\"private\"").expect("schema default") } -fn default_2081() -> bool { +fn default_2083() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2082() -> Integer { +fn default_2084() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2083() -> Integer { +fn default_2085() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2084() -> bool { +fn default_2086() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2085() -> Vec> { +fn default_2087() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2086() -> Option { +fn default_2088() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2087() -> Option { +fn default_2089() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2088() -> Vec { +fn default_2090() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2089() -> Integer { +fn default_2091() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2090() -> String { +fn default_2092() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2091() -> String { +fn default_2093() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2092() -> String { +fn default_2094() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2093() -> String { +fn default_2095() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2094() -> String { +fn default_2096() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2095() -> Option { +fn default_2097() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2096() -> String { +fn default_2098() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2097() -> String { +fn default_2099() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2098() -> String { +fn default_2100() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2099() -> Vec { +fn default_2101() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2100() -> Option { +fn default_2102() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2101() -> Option { +fn default_2103() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2102() -> Option { +fn default_2104() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2103() -> Option { +fn default_2105() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2104() -> String { +fn default_2106() -> String { serde_json::from_str("\"{}\"").expect("schema default") } -fn default_2105() -> NamespaceSnapshotOutputSnapshotMemoryRowStatus { +fn default_2107() -> NamespaceSnapshotOutputSnapshotMemoryRowStatus { serde_json::from_str("\"active\"").expect("schema default") } -fn default_2106() -> Option { +fn default_2108() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2107() -> Vec { +fn default_2109() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2108() -> String { +fn default_2110() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2109() -> Integer { +fn default_2111() -> Integer { serde_json::from_str("1").expect("schema default") } -fn default_2110() -> Integer { +fn default_2112() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2111() -> Option { +fn default_2113() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2112() -> String { +fn default_2114() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2113() -> String { +fn default_2115() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2114() -> String { +fn default_2116() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2115() -> String { +fn default_2117() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2116() -> Option { +fn default_2118() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2117() -> f64 { +fn default_2119() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2118() -> Option { +fn default_2120() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2119() -> Option { +fn default_2121() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2120() -> Integer { +fn default_2122() -> Integer { serde_json::from_str("1").expect("schema default") } -fn default_2121() -> Option { - serde_json::from_str("null").expect("schema default") -} -fn default_2122() -> Option { +fn default_2123() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2123() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_2124() -> Option { serde_json::from_str("null").expect("schema default") } fn default_2125() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2126() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_2126() -> Option { + serde_json::from_str("null").expect("schema default") } fn default_2127() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2128() -> Option { - serde_json::from_str("null").expect("schema default") +fn default_2128() -> String { + serde_json::from_str("\"\"").expect("schema default") } fn default_2129() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -66816,605 +66820,605 @@ fn default_2130() -> Option { fn default_2131() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2132() -> String { +fn default_2132() -> Option { + serde_json::from_str("null").expect("schema default") +} +fn default_2133() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_2134() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2133() -> Vec { +fn default_2135() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2134() -> Vec { +fn default_2136() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2135() -> Option { +fn default_2137() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2136() -> Integer { +fn default_2138() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2137() -> String { +fn default_2139() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2138() -> Vec { +fn default_2140() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2139() -> Vec { +fn default_2141() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2140() -> String { +fn default_2142() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2141() -> Option { +fn default_2143() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2142() -> Vec { +fn default_2144() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2143() -> Integer { +fn default_2145() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2144() -> Vec { +fn default_2146() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2145() -> Option { +fn default_2147() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2146() -> Vec { +fn default_2148() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2147() -> Vec { +fn default_2149() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2148() -> Option { +fn default_2150() -> Option { serde_json::from_str("0").expect("schema default") } -fn default_2149() -> TuneProposalEffect { +fn default_2151() -> TuneProposalEffect { serde_json::from_str("\"future\"").expect("schema default") } -fn default_2150() -> TuneApplyVia { +fn default_2152() -> TuneApplyVia { serde_json::from_str("\"op\"").expect("schema default") } -fn default_2151() -> bool { +fn default_2153() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_2152() -> Vec { +fn default_2154() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2153() -> Option { +fn default_2155() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2154() -> Option { +fn default_2156() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2155() -> String { +fn default_2157() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2156() -> Vec { +fn default_2158() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2157() -> Vec { +fn default_2159() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2158() -> Option { +fn default_2160() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2159() -> Option { +fn default_2161() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2160() -> Option { +fn default_2162() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2161() -> String { +fn default_2163() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2162() -> Option { +fn default_2164() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2163() -> Option { +fn default_2165() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2164() -> Option { +fn default_2166() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2165() -> Vec { +fn default_2167() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2166() -> bool { +fn default_2168() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2167() -> Option { +fn default_2169() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2168() -> Option { +fn default_2170() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2169() -> Vec { +fn default_2171() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2170() -> String { +fn default_2172() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2171() -> String { +fn default_2173() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2172() -> Vec> { +fn default_2174() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2173() -> std::collections::HashMap { +fn default_2175() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2174() -> Vec { +fn default_2176() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2175() -> Integer { +fn default_2177() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2176() -> Integer { +fn default_2178() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2177() -> String { +fn default_2179() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2178() -> String { +fn default_2180() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2179() -> String { +fn default_2181() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2180() -> Vec { +fn default_2182() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2181() -> Vec { +fn default_2183() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2182() -> String { +fn default_2184() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2183() -> String { +fn default_2185() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2184() -> bool { +fn default_2186() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2185() -> Integer { +fn default_2187() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2186() -> String { +fn default_2188() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2187() -> String { +fn default_2189() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2188() -> String { +fn default_2190() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2189() -> String { +fn default_2191() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2190() -> Vec { +fn default_2192() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2191() -> String { +fn default_2193() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2192() -> String { +fn default_2194() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2193() -> std::collections::HashMap { +fn default_2195() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2194() -> String { +fn default_2196() -> String { serde_json::from_str("\"active\"").expect("schema default") } -fn default_2195() -> Option { +fn default_2197() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2196() -> Option { +fn default_2198() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2197() -> bool { +fn default_2199() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2198() -> String { +fn default_2200() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2199() -> String { +fn default_2201() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2200() -> Vec { +fn default_2202() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2201() -> Integer { +fn default_2203() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2202() -> String { +fn default_2204() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2203() -> String { +fn default_2205() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2204() -> Option { +fn default_2206() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2205() -> bool { +fn default_2207() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2206() -> String { +fn default_2208() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2207() -> bool { +fn default_2209() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2208() -> String { +fn default_2210() -> String { serde_json::from_str("\"inherit\"").expect("schema default") } -fn default_2209() -> Option { +fn default_2211() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2210() -> Option { +fn default_2212() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2211() -> bool { +fn default_2213() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2212() -> Vec { +fn default_2214() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2213() -> Integer { +fn default_2215() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2214() -> ProcedureEvolveOutputGate { +fn default_2216() -> ProcedureEvolveOutputGate { serde_json::from_str("\"none\"").expect("schema default") } -fn default_2215() -> String { +fn default_2217() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2216() -> f64 { +fn default_2218() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2217() -> std::collections::HashMap { +fn default_2219() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2218() -> std::collections::HashMap { +fn default_2220() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2219() -> std::collections::HashMap { +fn default_2221() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2220() -> std::collections::HashMap { +fn default_2222() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2221() -> String { +fn default_2223() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2222() -> Vec { +fn default_2224() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2223() -> Vec { +fn default_2225() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2224() -> Vec { +fn default_2226() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2225() -> std::collections::HashMap { +fn default_2227() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2226() -> Integer { +fn default_2228() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2227() -> bool { +fn default_2229() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2228() -> std::collections::HashMap { +fn default_2230() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2229() -> Vec { +fn default_2231() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2230() -> std::collections::HashMap { +fn default_2232() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2231() -> String { +fn default_2233() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2232() -> ProcedureLocateOutputStatus { +fn default_2234() -> ProcedureLocateOutputStatus { serde_json::from_str("\"authored\"").expect("schema default") } -fn default_2233() -> Option> { +fn default_2235() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_2234() -> Vec>> { +fn default_2236() -> Vec>> { serde_json::from_str("[]").expect("schema default") } -fn default_2235() -> Vec { +fn default_2237() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2236() -> Vec { +fn default_2238() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2237() -> std::collections::HashMap { +fn default_2239() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2238() -> bool { +fn default_2240() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2239() -> Vec { +fn default_2241() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2240() -> Vec> { +fn default_2242() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2241() -> String { +fn default_2243() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2242() -> std::collections::HashMap { +fn default_2244() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2243() -> std::collections::HashMap { +fn default_2245() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2244() -> Vec { +fn default_2246() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2245() -> std::collections::HashMap { +fn default_2247() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2246() -> Option> { +fn default_2248() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_2247() -> bool { +fn default_2249() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2248() -> std::collections::HashMap { +fn default_2250() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2249() -> ProcedureMatchStatus { +fn default_2251() -> ProcedureMatchStatus { serde_json::from_str("\"authored\"").expect("schema default") } -fn default_2250() -> Option> { +fn default_2252() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_2251() -> Vec { +fn default_2253() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2252() -> Integer { +fn default_2254() -> Integer { serde_json::from_str("1").expect("schema default") } -fn default_2253() -> Vec> { +fn default_2255() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2254() -> f64 { +fn default_2256() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2255() -> f64 { +fn default_2257() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2256() -> f64 { +fn default_2258() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2257() -> Option { +fn default_2259() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2258() -> std::collections::HashMap { +fn default_2260() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2259() -> std::collections::HashMap> { +fn default_2261() -> std::collections::HashMap> { serde_json::from_str("{}").expect("schema default") } -fn default_2260() -> String { +fn default_2262() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2261() -> Integer { +fn default_2263() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2262() -> String { +fn default_2264() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2263() -> f64 { +fn default_2265() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2264() -> Vec { +fn default_2266() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2265() -> Vec { +fn default_2267() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2266() -> Vec { +fn default_2268() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2267() -> String { +fn default_2269() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2268() -> String { +fn default_2270() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2269() -> String { +fn default_2271() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2270() -> String { +fn default_2272() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2271() -> Option { +fn default_2273() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2272() -> Integer { +fn default_2274() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2273() -> Vec { +fn default_2275() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2274() -> std::collections::HashMap { +fn default_2276() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2275() -> Option { +fn default_2277() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2276() -> String { +fn default_2278() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2277() -> Integer { +fn default_2279() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2278() -> String { +fn default_2280() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2279() -> String { +fn default_2281() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2280() -> std::collections::HashMap { +fn default_2282() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2281() -> String { +fn default_2283() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2282() -> String { +fn default_2284() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2283() -> Option { +fn default_2285() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2284() -> RunBeginOutputStatus { +fn default_2286() -> RunBeginOutputStatus { serde_json::from_str("\"active\"").expect("schema default") } -fn default_2285() -> String { +fn default_2287() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2286() -> Integer { +fn default_2288() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2287() -> Integer { +fn default_2289() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2288() -> Integer { +fn default_2290() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2289() -> Vec { +fn default_2291() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2290() -> Integer { +fn default_2292() -> Integer { serde_json::from_str("-1").expect("schema default") } -fn default_2291() -> Integer { +fn default_2293() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2292() -> Integer { +fn default_2294() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2293() -> String { +fn default_2295() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2294() -> String { +fn default_2296() -> String { serde_json::from_str("\"keep\"").expect("schema default") } -fn default_2295() -> Integer { +fn default_2297() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2296() -> Integer { +fn default_2298() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2297() -> Integer { +fn default_2299() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2298() -> Option { +fn default_2300() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2299() -> Integer { +fn default_2301() -> Integer { serde_json::from_str("-1").expect("schema default") } -fn default_2300() -> Vec { +fn default_2302() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2301() -> Vec { +fn default_2303() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2302() -> Integer { +fn default_2304() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2303() -> Integer { +fn default_2305() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2304() -> Integer { +fn default_2306() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2305() -> f64 { +fn default_2307() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2306() -> Integer { +fn default_2308() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2307() -> Vec { +fn default_2309() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2308() -> Integer { +fn default_2310() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2309() -> Vec { +fn default_2311() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2310() -> Integer { +fn default_2312() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2311() -> Integer { +fn default_2313() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2312() -> Integer { +fn default_2314() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2313() -> Vec { +fn default_2315() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2314() -> Option { +fn default_2316() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2315() -> Option> { +fn default_2317() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_2316() -> LiveSearchResultsLive { +fn default_2318() -> LiveSearchResultsLive { serde_json::from_str("true").expect("schema default") } -fn default_2317() -> String { +fn default_2319() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2318() -> LiveSearchHitLive { +fn default_2320() -> LiveSearchHitLive { serde_json::from_str("true").expect("schema default") } -fn default_2319() -> Vec { +fn default_2321() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2320() -> Option { +fn default_2322() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2321() -> std::collections::HashMap { +fn default_2323() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2322() -> std::collections::HashMap { +fn default_2324() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2323() -> std::collections::HashMap { +fn default_2325() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2324() -> std::collections::HashMap { +fn default_2326() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2325() -> Option> { +fn default_2327() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_2326() -> Vec { +fn default_2328() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2327() -> Integer { - serde_json::from_str("0").expect("schema default") -} -fn default_2328() -> String { - serde_json::from_str("\"\"").expect("schema default") -} fn default_2329() -> Integer { serde_json::from_str("0").expect("schema default") } fn default_2330() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2331() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_2331() -> Integer { + serde_json::from_str("0").expect("schema default") } fn default_2332() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -67434,62 +67438,62 @@ fn default_2336() -> String { fn default_2337() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2338() -> Vec { - serde_json::from_str("[]").expect("schema default") +fn default_2338() -> String { + serde_json::from_str("\"\"").expect("schema default") } fn default_2339() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2340() -> String { +fn default_2340() -> Vec { + serde_json::from_str("[]").expect("schema default") +} +fn default_2341() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_2342() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2341() -> Vec { +fn default_2343() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2342() -> String { +fn default_2344() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2343() -> String { +fn default_2345() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2344() -> Vec { +fn default_2346() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2345() -> Vec { +fn default_2347() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2346() -> Vec { +fn default_2348() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2347() -> String { +fn default_2349() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2348() -> String { +fn default_2350() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2349() -> Vec { +fn default_2351() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2350() -> Vec { +fn default_2352() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2351() -> Vec { +fn default_2353() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2352() -> 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() -> Option { - serde_json::from_str("null").expect("schema default") -} fn default_2355() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2356() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_2356() -> Option { + serde_json::from_str("null").expect("schema default") } fn default_2357() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -67503,17 +67507,17 @@ fn default_2359() -> String { fn default_2360() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2361() -> Vec { - serde_json::from_str("[]").expect("schema default") +fn default_2361() -> String { + serde_json::from_str("\"\"").expect("schema default") } -fn default_2362() -> Option { - serde_json::from_str("null").expect("schema default") +fn default_2362() -> String { + serde_json::from_str("\"\"").expect("schema default") } -fn default_2363() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_2363() -> Vec { + serde_json::from_str("[]").expect("schema default") } -fn default_2364() -> Integer { - serde_json::from_str("0").expect("schema default") +fn default_2364() -> Option { + serde_json::from_str("null").expect("schema default") } fn default_2365() -> Integer { serde_json::from_str("0").expect("schema default") @@ -67524,14 +67528,14 @@ fn default_2366() -> Integer { fn default_2367() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2368() -> bool { - serde_json::from_str("false").expect("schema default") +fn default_2368() -> Integer { + serde_json::from_str("0").expect("schema default") } -fn default_2369() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_2369() -> Integer { + serde_json::from_str("0").expect("schema default") } -fn default_2370() -> String { - serde_json::from_str("\"\"").expect("schema default") +fn default_2370() -> bool { + serde_json::from_str("false").expect("schema default") } fn default_2371() -> String { serde_json::from_str("\"\"").expect("schema default") @@ -67548,537 +67552,543 @@ fn default_2374() -> String { fn default_2375() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2376() -> Option { +fn default_2376() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_2377() -> String { + serde_json::from_str("\"\"").expect("schema default") +} +fn default_2378() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2377() -> Integer { +fn default_2379() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2378() -> Integer { +fn default_2380() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2379() -> Vec { +fn default_2381() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2380() -> String { +fn default_2382() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2381() -> String { +fn default_2383() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2382() -> String { +fn default_2384() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2383() -> String { +fn default_2385() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2384() -> Integer { +fn default_2386() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2385() -> Integer { +fn default_2387() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2386() -> Integer { +fn default_2388() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2387() -> Integer { +fn default_2389() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2388() -> Integer { +fn default_2390() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2389() -> f64 { +fn default_2391() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2390() -> Integer { +fn default_2392() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2391() -> Integer { +fn default_2393() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2392() -> Integer { +fn default_2394() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2393() -> String { +fn default_2395() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2394() -> SessionBriefStats { +fn default_2396() -> 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_2395() -> String { +fn default_2397() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2396() -> String { +fn default_2398() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2397() -> Option { +fn default_2399() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2398() -> Option { +fn default_2400() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2399() -> Option { +fn default_2401() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2400() -> Integer { +fn default_2402() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2401() -> std::collections::HashMap { +fn default_2403() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2402() -> String { +fn default_2404() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2403() -> String { +fn default_2405() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2404() -> Option { +fn default_2406() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2405() -> String { +fn default_2407() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2406() -> Integer { +fn default_2408() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2407() -> Integer { +fn default_2409() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2408() -> Option { +fn default_2410() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2409() -> std::collections::HashMap { +fn default_2411() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2410() -> String { +fn default_2412() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2411() -> Integer { +fn default_2413() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2412() -> String { +fn default_2414() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2413() -> Option { +fn default_2415() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2414() -> String { +fn default_2416() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2415() -> Option { +fn default_2417() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2416() -> String { +fn default_2418() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2417() -> String { +fn default_2419() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2418() -> String { +fn default_2420() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2419() -> String { +fn default_2421() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2420() -> Integer { +fn default_2422() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2421() -> Integer { +fn default_2423() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2422() -> String { +fn default_2424() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2423() -> std::collections::HashMap { +fn default_2425() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2424() -> String { +fn default_2426() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2425() -> String { +fn default_2427() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2426() -> bool { +fn default_2428() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2427() -> String { +fn default_2429() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2428() -> std::collections::HashMap { +fn default_2430() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2429() -> Vec> { +fn default_2431() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2430() -> Vec { +fn default_2432() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2431() -> Vec { +fn default_2433() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2432() -> bool { +fn default_2434() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2433() -> String { +fn default_2435() -> String { serde_json::from_str("\"unknown\"").expect("schema default") } -fn default_2434() -> String { +fn default_2436() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2435() -> Vec { +fn default_2437() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2436() -> bool { +fn default_2438() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2437() -> String { +fn default_2439() -> String { serde_json::from_str("\"none\"").expect("schema default") } -fn default_2438() -> bool { +fn default_2440() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2439() -> Vec { +fn default_2441() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2440() -> std::collections::HashMap { +fn default_2442() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2441() -> Vec> { +fn default_2443() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2442() -> bool { +fn default_2444() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2443() -> bool { +fn default_2445() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2444() -> Vec> { +fn default_2446() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2445() -> std::collections::HashMap { +fn default_2447() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2446() -> String { +fn default_2448() -> String { serde_json::from_str("\"none\"").expect("schema default") } -fn default_2447() -> Vec> { +fn default_2449() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2448() -> bool { +fn default_2450() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2449() -> String { +fn default_2451() -> String { serde_json::from_str("\"calibrated\"").expect("schema default") } -fn default_2450() -> std::collections::HashMap { +fn default_2452() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2451() -> std::collections::HashMap { +fn default_2453() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2452() -> String { +fn default_2454() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2453() -> std::collections::HashMap { +fn default_2455() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2454() -> std::collections::HashMap { +fn default_2456() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2455() -> std::collections::HashMap { +fn default_2457() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2456() -> String { +fn default_2458() -> String { serde_json::from_str("\"ok\"").expect("schema default") } -fn default_2457() -> String { +fn default_2459() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2458() -> String { +fn default_2460() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2459() -> bool { +fn default_2461() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2460() -> Integer { +fn default_2462() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2461() -> String { +fn default_2463() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2462() -> String { +fn default_2464() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2463() -> Vec { +fn default_2465() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2464() -> bool { +fn default_2466() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2465() -> Vec { +fn default_2467() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2466() -> std::collections::HashMap> { +fn default_2468() -> std::collections::HashMap> { serde_json::from_str("{}").expect("schema default") } -fn default_2467() -> Vec> { +fn default_2469() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2468() -> Vec> { +fn default_2470() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2469() -> String { +fn default_2471() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2470() -> Vec> { +fn default_2472() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2471() -> std::collections::HashMap { +fn default_2473() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2472() -> String { +fn default_2474() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2473() -> Vec> { +fn default_2475() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2474() -> bool { +fn default_2476() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2475() -> Integer { +fn default_2477() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2476() -> Vec> { +fn default_2478() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2477() -> String { +fn default_2479() -> String { serde_json::from_str("\"no_flaky_signal\"").expect("schema default") } -fn default_2478() -> bool { +fn default_2480() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2479() -> Option> { +fn default_2481() -> Option> { serde_json::from_str("null").expect("schema default") } -fn default_2480() -> Vec { +fn default_2482() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2481() -> bool { +fn default_2483() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2482() -> std::collections::HashMap { +fn default_2484() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2483() -> String { +fn default_2485() -> String { serde_json::from_str("\"not_computed\"").expect("schema default") } -fn default_2484() -> Vec> { +fn default_2486() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2485() -> String { +fn default_2487() -> String { serde_json::from_str("\"candidate\"").expect("schema default") } -fn default_2486() -> std::collections::HashMap { +fn default_2488() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2487() -> String { +fn default_2489() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2488() -> bool { +fn default_2490() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2489() -> Integer { +fn default_2491() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2490() -> std::collections::HashMap { +fn default_2492() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2491() -> bool { +fn default_2493() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2492() -> Vec> { +fn default_2494() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2493() -> std::collections::HashMap { +fn default_2495() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2494() -> std::collections::HashMap { +fn default_2496() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2495() -> String { +fn default_2497() -> String { serde_json::from_str("\"lower_bound\"").expect("schema default") } -fn default_2496() -> bool { +fn default_2498() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2497() -> Vec { +fn default_2499() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2498() -> Vec> { +fn default_2500() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2499() -> std::collections::HashMap { +fn default_2501() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2500() -> Vec { +fn default_2502() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2501() -> String { +fn default_2503() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2502() -> bool { +fn default_2504() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2503() -> bool { +fn default_2505() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_2504() -> std::collections::HashMap { +fn default_2506() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2505() -> String { +fn default_2507() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2506() -> bool { +fn default_2508() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_2507() -> std::collections::HashMap { +fn default_2509() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2508() -> std::collections::HashMap { +fn default_2510() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2509() -> Vec> { +fn default_2511() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2510() -> Vec { +fn default_2512() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2511() -> std::collections::HashMap { +fn default_2513() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2512() -> Vec> { +fn default_2514() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2513() -> bool { +fn default_2515() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_2514() -> bool { +fn default_2516() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2515() -> Vec { +fn default_2517() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2516() -> std::collections::HashMap { +fn default_2518() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2517() -> String { +fn default_2519() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2518() -> std::collections::HashMap { +fn default_2520() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2519() -> bool { +fn default_2521() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2520() -> bool { +fn default_2522() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_2521() -> String { +fn default_2523() -> String { serde_json::from_str("\"no_signal\"").expect("schema default") } -fn default_2522() -> Vec { +fn default_2524() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2523() -> f64 { +fn default_2525() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2524() -> Integer { +fn default_2526() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2525() -> String { +fn default_2527() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2526() -> std::collections::HashMap { +fn default_2528() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2527() -> std::collections::HashMap { +fn default_2529() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2528() -> std::collections::HashMap { +fn default_2530() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2529() -> std::collections::HashMap { +fn default_2531() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2530() -> String { +fn default_2532() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2531() -> std::collections::HashMap { +fn default_2533() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2532() -> bool { +fn default_2534() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2533() -> std::collections::HashMap { +fn default_2535() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2534() -> std::collections::HashMap { +fn default_2536() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2535() -> std::collections::HashMap { +fn default_2537() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2536() -> std::collections::HashMap { +fn default_2538() -> std::collections::HashMap { serde_json::from_str("{}").expect("schema default") } -fn default_2537() -> String { +fn default_2539() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2538() -> Vec> { +fn default_2540() -> Vec> { serde_json::from_str("[]").expect("schema default") } -fn default_2539() -> Integer { +fn default_2541() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2540() -> String { +fn default_2542() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2541() -> bool { +fn default_2543() -> bool { serde_json::from_str("true").expect("schema default") } -fn default_2542() -> String { +fn default_2544() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2543() -> Vec { +fn default_2545() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2544() -> bool { +fn default_2546() -> bool { serde_json::from_str("false").expect("schema default") } -fn default_2545() -> Vec { +fn default_2547() -> Vec { serde_json::from_str("[]").expect("schema default") } -fn default_2546() -> f64 { +fn default_2548() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2547() -> String { +fn default_2549() -> String { serde_json::from_str("\"\"").expect("schema default") } -fn default_2548() -> Integer { +fn default_2550() -> Integer { serde_json::from_str("4096").expect("schema default") } -fn default_2549() -> Integer { +fn default_2551() -> Integer { serde_json::from_str("0").expect("schema default") } -fn default_2550() -> Option { +fn default_2552() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2551() -> f64 { +fn default_2553() -> f64 { serde_json::from_str("0.0").expect("schema default") } -fn default_2552() -> Option { +fn default_2554() -> Option { serde_json::from_str("null").expect("schema default") } -fn default_2553() -> Vec { +fn default_2555() -> Vec { serde_json::from_str("[]").expect("schema default") } diff --git a/sdk/typescript/src/generated/ops.ts b/sdk/typescript/src/generated/ops.ts index 940ba1afdb1..b1045501943 100644 --- a/sdk/typescript/src/generated/ops.ts +++ b/sdk/typescript/src/generated/ops.ts @@ -795,6 +795,8 @@ export interface CodeUnit { score?: number; recent_prs?: Array>; examples?: Array>; + tests?: Array>; + test_link_state?: string; lessons?: Array>; lessons_unread?: boolean; churn?: number; diff --git a/server/code/api/models_symbol.py b/server/code/api/models_symbol.py index 68b4f7ddb6e..a024bdb16b0 100644 --- a/server/code/api/models_symbol.py +++ b/server/code/api/models_symbol.py @@ -590,13 +590,17 @@ def _drop_unset(self, handler: SerializerFunctionWrapHandler) -> dict[str, Any]: # carries `via: "registration"` — the seed is reached through a # registry; the key is absent otherwise. impacted_symbols: list[dict[str, Any]] - # Tests the test map ties to the seed and impacted paths: - # {test_path, src_path, confidence}. + # The test files code.test_gate lists for the same change, at most 30, strongest + # evidence first: each row as a code.test_gate `tests` row ({test_path, why, evidence, + # run, run_unknown}, with `links_to`, `hop`, `callers`, `via`, `confidence`, `src_path` + # or `callees` by `why`). A `coverage` or `static_call` row is about a seed + # definition; a test-map row of a seed or impacted path is `why: "test_map"` + # ({src_path, confidence}); a `file_neighbor` row says nothing about a seed. impacted_tests: list[dict[str, Any]] # Files changed in the same merged PRs as the seed paths, most often first # ({path, prs}, at most 20): the last 10 PRs for the symbol shape, 50 for the diff shape. co_change_files: list[dict[str, Any]] - # impacted/50 + tests/40, capped at 1. Kept for its consumers; as a + # impacted/50 + test-map rows/40, capped at 1. Kept for its consumers; as a # predictor of a revert or fix PR it is weak (within noise in a # calibration replay). blast_radius_score: float = 0.0 diff --git a/server/code/app/coverage.py b/server/code/app/coverage.py index 4470cc337ec..9932c563326 100644 --- a/server/code/app/coverage.py +++ b/server/code/app/coverage.py @@ -38,9 +38,11 @@ ) from server.code.app.files import attach_reference_siblings from server.code.app.spans import code_span, set_code_span_attributes, span_attrs +from server.code.app.symbol.test_links import definition_links, mirror_tests from server.code.domain.index import coverage_claim as cc from server.code.domain.index import coverage_runs as cr from server.code.domain.index import test_conventions as tcv +from server.code.domain.index.test_gate import static_test_files from server.code.store.index import CodeRepo from server.core.errors import ValidationError from server.settings import settings @@ -552,12 +554,13 @@ async def search_terms( # ---- a test is a unit that reaches the symbol ----------------------------------------- # Outside the ClickHouse trees the grep finds nothing and the control probe fails, which # would leave every Go / Python / TypeScript claim `unknown`. Three legs read what the index -# already holds: the `calls` edges from test units into the subject's definitions -# (exact_scoped), a test function named for the subject (exact_scoped), and the test file -# that sits beside the source by the language's convention (path_convention). -_EDGE_LIMIT = 400 -_DEPTH2_MAX_INTERMEDIATES = 50 -_DEPTH2_WHEN_FEWER_THAN = 3 +# already holds: the tests a call chain links to the subject's definitions, as +# code.test_gate links them (exact_scoped at one hop, short_name_grep through a caller), a +# test function named for the subject (exact_scoped), and the test file that sits beside +# the source by the language's convention (path_convention). +_LINK_DEPTH = 2 +# The edges of the walk that say a test runs what it reaches. +_CALL_EDGE_KINDS = ("calls", "fixture_use") METHOD_CALLS_EDGE = "calls_edge" METHOD_CALLS_EDGE_2 = "calls_edge_2" METHOD_TEST_NAME = "test_name" @@ -574,64 +577,33 @@ def _unit_row(tp: str, method: str, tier: str, confidence: float, evidence: str) } -async def _test_callers(repo: CodeRepo, org: str, ns: str, ids: list[str]) -> list[dict[str, Any]]: - """Leg a: `calls` edges from test-unit paths into `ids`; one more hop - through non-test callers when the first hop found few test callers.""" - edges = await repo.edges_for_symbols( - org, - ns, - ids, - direction="callers", - edge_kinds=["calls"], - limit=_EDGE_LIMIT, - min_confidence=0.6, - ) - out: list[dict[str, Any]] = [] - middle: list[dict[str, Any]] = [] - for e in edges: - path = str(e.get("path") or "") - if tcv.is_test_unit_path(path): - out.append( - _unit_row( - path, - METHOD_CALLS_EDGE, - cc.EXACT_SCOPED, - float(e.get("confidence") or 0.0), - f"{e.get('from_qualified_name')} calls it at line {int(e.get('line') or 0)}", - ) - ) - else: - middle.append(e) - if len(out) >= _DEPTH2_WHEN_FEWER_THAN or not middle: - return out - mids = list( - dict.fromkeys(str(e.get("from_symbol_id") or "") for e in middle if e.get("from_symbol_id")) - )[:_DEPTH2_MAX_INTERMEDIATES] - names = { - str(e.get("from_symbol_id") or ""): str(e.get("from_qualified_name") or "") for e in middle +async def _test_callers( + repo: CodeRepo, org: str, ns: str, rows: list[dict[str, Any]] +) -> list[dict[str, Any]]: + """Leg a: the test files a call chain links to the subject's definitions, among the + links code.test_gate lists as `static_call` for an edit of them: a test that calls + one, its class when it is a constructor, the function it is nested in or a fixture + that reaches it, and one more hop through a caller. A test that only overrides or + inherits the subject is the gate's to run and no evidence that a test runs it.""" + _, _, links = await definition_links(repo, org, ns, rows, depth=_LINK_DEPTH) + called = { + sid: node + for sid, node in links.impacted.items() + if str(node.get("edge_kind")) in _CALL_EDGE_KINDS } - hop2 = await repo.edges_for_symbols( - org, - ns, - mids, - direction="callers", - edge_kinds=["calls"], - limit=_EDGE_LIMIT, - min_confidence=0.6, - ) - for e in hop2: - path = str(e.get("path") or "") - if not tcv.is_test_unit_path(path): - continue - via = names.get(str(e.get("to_symbol_id") or ""), "a caller") + files, _ = static_test_files(called) + out: list[dict[str, Any]] = [] + for f in files: + node = f["node"] + hop, confidence = int(node.get("hop") or 0), float(node.get("confidence") or 0.0) + direct = hop <= 1 out.append( _unit_row( - path, - METHOD_CALLS_EDGE_2, - cc.SHORT_NAME_GREP, - min(0.8, float(e.get("confidence") or 0.0)), - f"{e.get('from_qualified_name')} calls it through {via} " - f"at line {int(e.get('line') or 0)}", + str(f["path"]), + METHOD_CALLS_EDGE if direct else METHOD_CALLS_EDGE_2, + cc.EXACT_SCOPED if direct else cc.SHORT_NAME_GREP, + confidence if direct else min(0.8, confidence), + f"{node.get('qualified_name')} reaches it in {hop} hop(s)", ) ) return out @@ -656,7 +628,7 @@ async def _named_tests(repo: CodeRepo, org: str, ns: str, subject: str) -> list[ return [] rows = await repo.symbols_by_ids(org, ns, list(wanted)[:200]) out: list[dict[str, Any]] = [] - for r in rows: + for r in sorted(rows, key=lambda r: (str(r.get("path") or ""), str(r.get("symbol_id")))): path = str(r.get("path") or "") if tcv.is_test_unit_path(path): out.append( @@ -674,18 +646,31 @@ async def _named_tests(repo: CodeRepo, org: str, ns: str, subject: str) -> list[ async def _sibling_tests( repo: CodeRepo, org: str, ns: str, src_paths: list[str] ) -> list[dict[str, Any]]: - """Leg c: the conventional sibling test files of the source paths that - the index holds live.""" + """Leg c: the test files the index holds live that the language's convention ties + to the source paths: the test modules named after a Python module, wherever the + repository keeps them, and the conventional sibling path of a file. A file both + rules find is listed once, as named after the module.""" + mirrors = await mirror_tests(repo, org, ns, src_paths) by_candidate: dict[str, str] = {} for sp in src_paths: for cand in tcv.sibling_test_paths(sp): by_candidate.setdefault(cand, sp) - if not by_candidate: - return [] - present = await repo.live_paths_present(org, ns, list(by_candidate)) + present = await repo.live_paths_present(org, ns, list(by_candidate)) if by_candidate else set() + named: dict[str, str] = {} + for sp, tests in sorted(mirrors.items()): + for tp in tests: + named.setdefault(tp, sp) return [ - _unit_row(tp, METHOD_SIBLING, cc.PATH_CONVENTION, 0.6, f"sits beside {by_candidate[tp]}") - for tp in sorted(present) + *( + _unit_row(tp, METHOD_SIBLING, cc.PATH_CONVENTION, 0.6, f"named after {sp}") + for tp, sp in sorted(named.items()) + ), + *( + _unit_row( + tp, METHOD_SIBLING, cc.PATH_CONVENTION, 0.6, f"sits beside {by_candidate[tp]}" + ) + for tp in sorted(present - named.keys()) + ), ] @@ -710,11 +695,10 @@ async def unit_tests_reaching( """The three unit-test legs for a subject, merged per test file (methods appended, the strongest tier, the highest confidence), in the shape `claim_tests` returns. A path subject takes only the sibling leg.""" - ids = list(dict.fromkeys(str(r.get("symbol_id") or "") for r in rows if r.get("symbol_id"))) legs = [_leg(_sibling_tests(repo, org, ns, src_paths), "sibling")] if subject_kind == "symbol": - if ids: - legs.append(_leg(_test_callers(repo, org, ns, ids[:20]), "calls")) + if rows: + legs.append(_leg(_test_callers(repo, org, ns, rows[:20]), "calls")) legs.append(_leg(_named_tests(repo, org, ns, subject), "names")) found = [r for part in await asyncio.gather(*legs) for r in part] return merge_test_rows([], found) @@ -724,8 +708,10 @@ def merge_test_rows( base: list[dict[str, Any]], extra: list[dict[str, Any]] ) -> list[dict[str, Any]]: """`base` rows gain the methods, tier and confidence of `extra` rows on - the same test path; new paths are appended; the order is claim_tests' - (tier rank, confidence descending, path).""" + the same test path; new paths are appended; the order is tier rank, then + confidence descending, then the order the rows came in: `base`'s own + (claim_tests orders by path), then `extra`'s, so linked test files stay + in the order the links rank them.""" merged: dict[str, dict[str, Any]] = {} for r in [*base, *extra]: tp = str(r.get("test_path") or "") @@ -745,13 +731,10 @@ def merge_test_rows( if cur["tier"] != before or not cur.get("evidence"): cur["evidence"] = r.get("evidence") or cur.get("evidence") or "" rank = {t: i for i, t in enumerate(cc.TIER_ORDER)} + # sorted() is stable: equal tier and confidence keep the order of arrival return sorted( merged.values(), - key=lambda r: ( - rank.get(str(r.get("tier") or ""), 9), - -float(r["confidence"]), - r["test_path"], - ), + key=lambda r: (rank.get(str(r.get("tier") or ""), 9), -float(r["confidence"])), ) diff --git a/server/code/app/enrich.py b/server/code/app/enrich.py index e152e8de655..82153e23730 100644 --- a/server/code/app/enrich.py +++ b/server/code/app/enrich.py @@ -14,7 +14,7 @@ import logging import re from collections import defaultdict -from collections.abc import AsyncIterator, Awaitable, Callable +from collections.abc import AsyncIterator, Awaitable, Callable, Sequence from contextlib import asynccontextmanager from contextvars import ContextVar from itertools import pairwise @@ -23,7 +23,13 @@ from server.code.app.spans import code_span, span_attrs from server.code.domain.extract.treesitter import lang_for_path -from server.code.domain.index.test_conventions import is_test_unit_path, sibling_test_paths, snake +from server.code.domain.index.test_conventions import ( + is_test_unit_path, + mirror_stem, + mirror_test_paths, + sibling_test_paths, + snake, +) from server.code.domain.symbol_body import retained_source_window from server.code.store.index import CodeRepo from server.embedding.embedder import served_model_label @@ -136,8 +142,11 @@ async def usage_examples( tests_only: bool = False, ready: list[dict[str, Any]] | None = None, related_names: tuple[str, ...] = (), + mirror_paths: Sequence[str] = (), ) -> list[dict[str, Any]]: - """Call sites of the symbol, optionally restricted to indexed tests.""" + """Call sites of the symbol, optionally restricted to indexed tests. `mirror_paths` + are the test modules named after the definition's module: their call sites are read + into the candidate cut first and ranked first, since a module's own tests sit there.""" with_context = bool(context_lines and settings.embedding_model) edges = await bounded( repo.edges_for_symbols( @@ -148,6 +157,7 @@ async def usage_examples( limit=settings.code_enrich_example_candidate_limit, with_revision=with_context, tests_only=tests_only, + first_paths=mirror_paths, ), [], ) @@ -165,7 +175,11 @@ async def usage_examples( by_location.setdefault((str(edge["path"]), int(edge["line"])), edge) sites = list(by_location.values()) limit = max(1, limit) - ranked = _rank_test_sites(sites, related_names=related_names) if tests_only else sites + ranked = ( + _rank_test_sites(sites, related_names=related_names, mirror_paths=mirror_paths) + if tests_only + else sites + ) def location(edge: dict[str, Any]) -> dict[str, Any]: return { @@ -241,14 +255,18 @@ def _rank_test_sites( sites: list[dict[str, Any]], *, related_names: tuple[str, ...] = (), + mirror_paths: Sequence[str] = (), ) -> list[dict[str, Any]]: - """Put related test functions first, with one source window per test before repeats.""" + """Put test functions first, then the ones in a test module named after the + definition's module (`mirror_paths`), then related test functions, with one source + window per test before repeats.""" counts: dict[tuple[str, str], int] = defaultdict(int) related_words = {word for name in related_names for word in _test_name_words(name)} + mirrors = set(mirror_paths) for site in sites: counts[_test_case(site)] += 1 - def key(site: dict[str, Any]) -> tuple[bool, bool, int, int]: + def key(site: dict[str, Any]) -> tuple[bool, bool, bool, int, int]: path, caller = _test_case(site) name = caller.rsplit("::", 1)[-1] _, *target = str(site.get("to_qualified_name") or "").split("::") @@ -256,7 +274,13 @@ def key(site: dict[str, Any]) -> tuple[bool, bool, int, int]: words = _test_name_words(name) related = words & target_words shared = bool(related and ((related_words - target_words) & words)) - return not snake(name).startswith("test_"), not shared, -len(related), -counts[path, caller] + return ( + not snake(name).startswith("test_"), + path not in mirrors, + not shared, + -len(related), + -counts[path, caller], + ) picked: dict[tuple[str, str], dict[str, Any]] = {} repeats = [] @@ -570,9 +594,15 @@ async def _repeated_test_reference( _, _, bare = str(bridge["from_qualified_name"]).rpartition("::") if not bare.isidentifier(): return None - siblings = {*sibling_test_paths(path), f"tests/test_{PurePosixPath(path).stem}.py"} - test_paths = sorted(path for path in siblings if is_test_unit_path(path)) with code_span("enrich.indirect_test_reference"): + # the test file beside the source, and the test modules named after it elsewhere + named = await repo.test_paths_named(org, ns, [mirror_stem(path)]) + candidates = { + *sibling_test_paths(path), + f"tests/test_{PurePosixPath(path).stem}.py", + *mirror_test_paths(path, named), + } + test_paths = sorted(p for p in candidates if is_test_unit_path(p)) rows = await repo.live_call_misses_for_names(org, ns, [bare], paths=test_paths) sites = _related_test_reference_sites(rows, bare, revision, radius) if not sites: diff --git a/server/code/app/symbol/gate.py b/server/code/app/symbol/gate.py index e8445322a45..251317ed0e1 100644 --- a/server/code/app/symbol/gate.py +++ b/server/code/app/symbol/gate.py @@ -27,26 +27,18 @@ _touched_rows_for_diff, ) from server.code.app.symbol.edges import _hop_counts -from server.code.app.symbol.test_links import link_tests +from server.code.app.symbol.test_links import READ_LIMIT, gate_of, link_tests, touched_of from server.code.domain.index.epistemic import CAUSE_NO_COVERAGE, CAUSE_UNMAPPED from server.code.domain.index.epistemic import envelope as _envelope from server.code.store.index import CodeRepo from server.core.errors import ValidationError -from server.settings import settings - -_GATE_READ_LIMIT = 300 async def handle_code_test_gate(input: CodeTestGateInput) -> CodeTestGateOutput: """Pre-PR obligations for a diff: tests to run (evidence-ordered, with a run command when derivable), the touched definitions a coverage run measured unexecuted and the ones the index links no test to. See code/domain/index/test_gate.py for the rules.""" - from server.code.domain.index.test_gate import ( - NEIGHBOR_FILL, - GateInputs, - build_gate, - is_test_path, - ) + from server.code.domain.index.test_gate import NEIGHBOR_FILL, is_test_path require_code_intel() if not (input.files or input.diff): @@ -69,19 +61,7 @@ async def handle_code_test_gate(input: CodeTestGateInput) -> CodeTestGateOutput: ) span_attrs(sp, results=len(symbol_rows)) rows, seed_ids, unmapped = _touched_rows_for_diff(symbol_rows, changes) - touched = sorted( - ( - { - "symbol_id": str(r["symbol_id"]), - "qualified_name": str(r["qualified_name"]), - "path": str(r["path"]), - "start_line": int(r["start_line"] or 0), - "tier": str(r["tier"]), - } - for r in rows - ), - key=lambda r: (r["path"], r["start_line"]), - ) + touched = touched_of(rows) # A changed source file that touches no definition (unindexed, a script module, a # document) is a change no definition answers for. unseen = set(src_paths) - {t["path"] for t in touched} @@ -101,7 +81,7 @@ async def handle_code_test_gate(input: CodeTestGateInput) -> CodeTestGateOutput: rows, symbol_rows, depth=input.depth, - read_limit=_GATE_READ_LIMIT, + read_limit=READ_LIMIT, # Enough to fill the list: a neighbour that is already a row leaves the # list one row longer, so one fewer is needed. neighbors=NEIGHBOR_FILL, @@ -116,19 +96,7 @@ async def handle_code_test_gate(input: CodeTestGateInput) -> CodeTestGateOutput: test_map = await repo.test_map_for(org, ns, src_paths, limit=200) if src_paths else [] span_attrs(sp, results=len(test_map)) - gate = build_gate( - GateInputs( - changed_paths=changed, - touched=touched, - impacted=impacted, - test_map=test_map, - neighbors=links.neighbors, - measured=links.measured, - coverage=links.coverage, - run_overrides_json=str(settings.code_test_gate_run_templates), - limit=input.limit, - ) - ) + gate = gate_of(links, changed, touched, test_map, limit=input.limit) by_hop_counts = _hop_counts(impacted) env = _envelope( diff --git a/server/code/app/symbol/impact.py b/server/code/app/symbol/impact.py index 3fecc8e6222..7cac2019845 100644 --- a/server/code/app/symbol/impact.py +++ b/server/code/app/symbol/impact.py @@ -1,5 +1,5 @@ -"""code.impact: the multi-hop callers radius of a symbol, a diff or a PR, with its -test map, owners and the verdict of what the radius can vouch for. +"""code.impact: the multi-hop callers radius of a symbol, a diff or a PR, with the tests +linked to it, owners and the verdict of what the radius can vouch for. """ from __future__ import annotations @@ -43,7 +43,16 @@ _pr_overlay, ) from server.code.app.symbol.resolve import _resolve_symbols, _seed_ids_of +from server.code.app.symbol.test_links import ( + READ_LIMIT, + Links, + definition_links, + gate_of, + link_tests, + touched_of, +) from server.code.domain.index.epistemic import envelope as _envelope +from server.code.domain.index.test_gate import NEIGHBOR_FILL, is_test_path from server.code.domain.index.verdicts import ( impact_reason, impact_verdict, @@ -56,6 +65,9 @@ logger = logging.getLogger(__name__) +# `impacted_tests` rows served: the test map's page size. +_TEST_ROWS = 30 + def _test_map_paths(seed_paths: list[str], impacted: dict[str, Any]) -> list[str]: """The paths the test-map read sees, in a fixed order: the seeds first, then the @@ -132,11 +144,19 @@ async def _diff_seeds( in_files: list[str], in_diff: str, overlay: Any, -) -> tuple[list[str], list[dict[str, Any]], list[dict[str, Any]], list[str]]: +) -> tuple[ + list[str], + list[dict[str, Any]], + list[dict[str, Any]], + list[str], + tuple[list[dict[str, Any]], list[dict[str, Any]]], +]: """Diff shape: (seed paths, the index's function rows in them, the touched rows, the - ids the walk seeds). The changed lines narrow whole files to the functions actually - edited, which is what makes this sharper than a flat file-level reaching set; the - functions an open PR adds are seeds the index lacks, appended as tier `overlay`.""" + ids the walk seeds, the definitions the diff touches and those of its files as + code.test_gate reads them: classes included, the index's rows only). The changed + lines narrow whole files to the functions actually edited, which is what makes this + sharper than a flat file-level reaching set; the functions an open PR adds are seeds + the index lacks, appended as tier `overlay`.""" with code_span("impact.diff_parse") as sp: hunks, _, changes = _parse_unified_diff_full(in_diff) if in_diff else ({}, {}, {}) span_attrs(sp, results=len(hunks)) @@ -151,6 +171,7 @@ async def _diff_seeds( # Classes are read so that a line of a class body is not taken for the method below it; # the radius is seeded by functions only. touched_rows, _, _ = _touched_rows_for_diff(definitions, changes) + gate_rows = (touched_rows, definitions) touched_rows = [r for r in touched_rows if str(r.get("kind")) != "class"] seed_ids = list(dict.fromkeys(sid for r in touched_rows for sid in r["tier_ids"])) symbol_rows = [r for r in definitions if str(r.get("kind")) != "class"] @@ -159,7 +180,35 @@ async def _diff_seeds( touched_rows = [*touched_rows, *added_rows] seed_ids = list(dict.fromkeys([*seed_ids, *(str(r["symbol_id"]) for r in added_rows)])) symbol_rows = [*symbol_rows, *(s.row() for s in overlay.symbols)] - return seed_paths, symbol_rows, touched_rows, seed_ids + return seed_paths, symbol_rows, touched_rows, seed_ids, gate_rows + + +async def _test_links( + repo: CodeRepo, + org: str, + ns: str, + seeds: list[dict[str, Any]], + gate_rows: tuple[list[dict[str, Any]], list[dict[str, Any]]] | None, + depth: int, +) -> tuple[list[dict[str, Any]], Links]: + """(the definitions the request touches as code.test_gate reads them, their test + links). The diff shape hands over its touched definitions (`gate_rows`); the symbol + shape touches the resolved seeds.""" + if gate_rows is None: + found, _, links = await definition_links(repo, org, ns, seeds, depth=depth) + return found, links + touched, definitions = gate_rows + links = await link_tests( + repo, + org, + ns, + touched, + definitions, + depth=depth, + read_limit=READ_LIMIT, + neighbors=NEIGHBOR_FILL, + ) + return touched, links @reads_post_image @@ -183,8 +232,9 @@ async def handle_code_impact(input: CodeImpactInput) -> CodeImpactOutput: dispatch_rows: list[dict[str, Any]] = [] seeds: list[dict[str, Any]] = [] symbol_rows: list[dict[str, Any]] = [] + gate_rows: tuple[list[dict[str, Any]], list[dict[str, Any]]] | None = None if diff_shaped: - seed_paths, symbol_rows, touched_rows, seed_ids = await _diff_seeds( + seed_paths, symbol_rows, touched_rows, seed_ids, gate_rows = await _diff_seeds( repo, org, ns, in_files, in_diff, overlay ) seeds = touched_rows @@ -200,14 +250,15 @@ async def handle_code_impact(input: CodeImpactInput) -> CodeImpactOutput: known_paths, bare_paths = list(seed_paths), [] with code_span("impact.hop_walk", seeds=len(seed_ids), depth=input.depth) as sp: # The envelope's disclosure reads (declined sites named like the seeds; compiler - # coverage of the seed files) are independent of the walk: gathered with it, they - # add no round trip. Both shapes size their floor. + # coverage of the seed files) and the test links are independent of the walk: + # gathered with it, they add no round trip. Both shapes size their floor. ( (impacted, capped), (unresolved_n, ambiguous_n), scip_paths, unindexed, dispatch_missing, + (linked_rows, links), ) = await asyncio.gather( _expand_impact( repo, @@ -225,6 +276,7 @@ async def handle_code_impact(input: CodeImpactInput) -> CodeImpactOutput: _dispatch_missing(repo, org, ns, seeds, dispatch_rows, attempted=True) if not diff_shaped else _false(), + _test_links(repo, org, ns, seeds, gate_rows, input.depth), ) span_attrs(sp, results=len(impacted)) by_hop_counts = _hop_counts(impacted) @@ -232,7 +284,13 @@ async def handle_code_impact(input: CodeImpactInput) -> CodeImpactOutput: impacted_paths = _test_map_paths(seed_paths, impacted) with code_span("impact.tests", seeds=len(impacted_paths)) as sp: tests = await repo.test_map_for(org, ns, impacted_paths) - span_attrs(sp, results=len(tests)) + # The gate's rows for the same change, so the two ops name the same tests; the + # test map's rows of the radius ride as `test_map` rows. + changed = ( + list(seed_paths) if diff_shaped else [p for p in seed_paths if not is_test_path(p)] + ) + gate = gate_of(links, changed, touched_of(linked_rows), tests, limit=_TEST_ROWS) + span_attrs(sp, results=len(gate.tests)) co_changed, co_ranked, owners, reverts = await _pr_history_facts( repo, org, ns, seed_paths, diff_shaped=diff_shaped, exclude=tuple(input.exclude_authors) ) @@ -331,14 +389,7 @@ async def handle_code_impact(input: CodeImpactInput) -> CodeImpactOutput: ) out = CodeImpactOutput( impacted_symbols=[] if input.summary_only else impacted_rows, - impacted_tests=[ - { - "test_path": str(t["test_path"]), - "src_path": str(t["src_path"]), - "confidence": float(t["confidence"]), - } - for t in tests - ], + impacted_tests=gate.tests, co_change_files=[{"path": p, "prs": n} for p, n in co_ranked[:20]], blast_radius_score=round(min(1.0, len(impacted) / 50.0 + len(tests) / 40.0), 3), touched_symbols=touched_symbols, diff --git a/server/code/app/symbol/symbol.py b/server/code/app/symbol/symbol.py index 4127308e99d..d2ab7c9d0c6 100644 --- a/server/code/app/symbol/symbol.py +++ b/server/code/app/symbol/symbol.py @@ -54,6 +54,7 @@ near_misses, symbol_body, ) +from server.code.app.symbol.test_links import definition_gate, mirror_tests from server.code.app.symbol.uses import _mention_leg, _symbol_uses from server.code.store.index import CodeRepo from server.core.errors import ValidationError @@ -428,6 +429,11 @@ async def read(name: str) -> list[dict[str, Any]] | None: ready_examples: list[dict[str, Any]] = [] async def examples_for_definition() -> list[dict[str, Any]]: + mirrors: dict[str, list[str]] = ( + await code_enrich.bounded(mirror_tests(repo, org, ns, paths, limit=None), {}) + if input.test_examples_only + else {} + ) callers = code_enrich.usage_examples( repo, org, @@ -437,6 +443,7 @@ async def examples_for_definition() -> list[dict[str, Any]]: tests_only=input.test_examples_only, ready=ready_examples, related_names=related_test_names, + mirror_paths=list(dict.fromkeys(p for tests in mirrors.values() for p in tests)), ) if not (input.test_examples_only and _uses_brief.single_declaration(head)): return await callers @@ -506,6 +513,9 @@ async def examples_for_definition() -> list[dict[str, Any]]: out.update( await code_enrich.bounded(_owner_context(repo, org, ns, input, head[0], out), {}) ) + if for_edit and input.test_examples_only and examples is not None and not out["examples"]: + with code_span("enrich.test_links"): + out.update(await code_enrich.bounded(_test_links(repo, org, ns, head[0]), {})) if out.get("lessons"): from server.memory.app.code_plane_reads import fit_symbol_lessons @@ -513,6 +523,27 @@ async def examples_for_definition() -> list[dict[str, Any]]: return out +# The depth of the walk behind `tests`: code.test_gate's default. +_LINK_DEPTH = 2 +# Test files named beside a definition with no test call site. +_LINK_ROWS = 3 + + +async def _test_links( + repo: CodeRepo, org: str, ns: str, definition: dict[str, Any] +) -> dict[str, Any]: + """`tests` and `test_link_state` of a definition with no test call site to show: what + code.test_gate answers for an edit of it, so the two ops agree. {} for a definition in + a test file.""" + gate = await definition_gate(repo, org, ns, [definition], depth=_LINK_DEPTH, limit=_LINK_ROWS) + state = next(iter(gate.states.values()), "") + if not state: + return {} + keys = ("test_path", "why", "evidence", "hop", "run") + rows = [{k: t[k] for k in keys if t.get(k) not in (None, "")} for t in gate.tests] + return {"tests": rows, "test_link_state": state} + + def _apply_enrichment(units: list[Any], enrichment: dict[str, Any]) -> None: """The enrichment rides on the first definition served.""" if not units or not enrichment: diff --git a/server/code/app/symbol/test_links.py b/server/code/app/symbol/test_links.py index 4b722b950df..65a1a1c4bd2 100644 --- a/server/code/app/symbol/test_links.py +++ b/server/code/app/symbol/test_links.py @@ -1,6 +1,8 @@ """The tests the index links to a set of touched definitions, and what a coverage run measured of each: the reverse walk through the call graph, the test files that call the -other definitions of the edited files, and the imported execution evidence. +other definitions of the edited files, and the imported execution evidence. Every +consumer reads them here, so `code.test_gate`, `code.impact`, `code.edit_context` and +`code.coverage_claim` name the same tests for a definition and say the same of it. """ from __future__ import annotations @@ -10,23 +12,38 @@ from typing import Any from server.code.app.coverage_freshness import measured_definitions, partition_coverage_rows +from server.code.app.symbol.diff import DEFINITION_KINDS from server.code.app.symbol.edges import _GRAPH_EDGE_KINDS from server.code.domain.index import coverage_runs as cr +from server.code.domain.index import test_conventions as tcv +from server.code.domain.index.test_gate import ( + NEIGHBOR_FILL, + Gate, + GateInputs, + build_gate, + is_test_path, +) from server.code.store.index import CodeRepo from server.code.store.index import prefer_scip_edges as _prefer_scip_edges from server.code.store.index.coverage import COVERAGE_ROW_PATHS +from server.settings import settings # A Python class call ends at the class symbol: a test that builds the object runs these. _CONSTRUCTORS = ("__init__", "__new__") # Coverage rows read for the executed definitions' files. _COVERAGE_ROWS = 2000 +# Edges read per hop of the walk. +READ_LIMIT = 300 +# Test-map rows read for the source paths of a definition. +_TEST_MAP_ROWS = 200 @dataclass class Links: - # reverse-edge reach: {symbol_id: {qualified_name, path, hop, tier, roots, [via]}}, where - # roots is the touched symbol ids the node reaches and via is `constructor`, `enclosing` - # or `fixture` + # reverse-edge reach: {symbol_id: {qualified_name, path, hop, tier, confidence, + # edge_kind, roots, [via]}}, where roots is the touched symbol ids the node reaches, + # edge_kind the kind of the edge that reached it (`calls` when one of several is a + # call) and via is `constructor`, `enclosing` or `fixture` impacted: dict[str, dict[str, Any]] = field(default_factory=dict) # True when a hop's read hit its row limit, or the coverage rows read were cut capped: bool = False @@ -121,12 +138,15 @@ async def _walk( sid, to = str(r["from_symbol_id"]), str(r["to_symbol_id"]) if sid in roots and sid not in impacted: continue # a seed calling a seed + kind = str(r.get("edge_kind") or "") if sid not in impacted: impacted[sid] = { "qualified_name": str(r["from_qualified_name"]), "path": str(r["path"]), "hop": hop + 1, "tier": str(r["tier"]), + "confidence": float(r["confidence"]), + "edge_kind": kind, "roots": [], } if str(r.get("edge_kind")) == "fixture_use": @@ -134,6 +154,8 @@ async def _walk( elif to in stands: impacted[sid]["via"] = stands[to] nxt.append(sid) + elif kind == "calls" and impacted[sid]["hop"] == hop + 1: + impacted[sid]["edge_kind"] = kind # it also calls what it overrides or inherits merged = roots_of.setdefault(sid, set()) merged |= roots_of.get(to) or set() impacted[sid]["roots"] = sorted(merged) @@ -221,3 +243,119 @@ async def link_tests( measured=measured, coverage=coverage, ) + + +def _source_paths(rows: list[dict[str, Any]]) -> list[str]: + """The paths of `rows` that are not test files, once each, in order.""" + paths = (str(r.get("path") or "") for r in rows) + return list(dict.fromkeys(p for p in paths if p and not is_test_path(p))) + + +def touched_of(rows: list[dict[str, Any]]) -> list[dict[str, Any]]: + """The touched definition rows as the gate's rules read them, by path and line.""" + return sorted( + ( + { + "symbol_id": str(r["symbol_id"]), + "qualified_name": str(r["qualified_name"]), + "path": str(r["path"]), + "start_line": int(r["start_line"] or 0), + "tier": str(r["tier"]), + } + for r in rows + ), + key=lambda r: (r["path"], r["start_line"]), + ) + + +def gate_of( + links: Links, + changed_paths: list[str], + touched: list[dict[str, Any]], + test_map: list[dict[str, Any]], + *, + limit: int, +) -> Gate: + """The test rows and the status of `touched` (`touched_of` rows) under the gate's + rules, from the links read for them and the test-map rows of the change.""" + return build_gate( + GateInputs( + changed_paths=changed_paths, + touched=touched, + impacted=links.impacted, + test_map=test_map, + neighbors=links.neighbors, + measured=links.measured, + coverage=links.coverage, + run_overrides_json=str(settings.code_test_gate_run_templates), + limit=limit, + ) + ) + + +async def definition_links( + repo: CodeRepo, org: str, ns: str, rows: list[dict[str, Any]], *, depth: int +) -> tuple[list[dict[str, Any]], list[str], Links]: + """(the definitions of `rows` as the gate touches them, their source paths, their test + links): the links a diff that edits exactly these definitions has. `rows` are resolved + symbol rows; one in a test file has no test links. A row is matched to its file's + definition row by any tier's id, so the walk seeds every id of it; a kind the gate + reads no row of (a variable, a type alias) is touched as resolved.""" + paths = _source_paths(rows) + sources = [r for r in rows if str(r.get("path") or "") in paths] + if not paths: + return [], [], Links() + symbol_rows = await repo.functions_for_paths(org, ns, paths, limit=2000, kinds=DEFINITION_KINDS) + by_id = {str(sid): d for d in symbol_rows for sid in d.get("tier_ids") or [d["symbol_id"]]} + touched: dict[tuple[str, str], dict[str, Any]] = {} + for r in sources: + ids = [str(sid) for sid in r.get("tier_ids") or [r["symbol_id"]]] + row = next((by_id[sid] for sid in ids if sid in by_id), r) + touched.setdefault((str(row["path"]), str(row["symbol_id"])), row) + found = list(touched.values()) + links = await link_tests( + repo, + org, + ns, + found, + symbol_rows or found, + depth=depth, + read_limit=READ_LIMIT, + neighbors=NEIGHBOR_FILL, + ) + return found, paths, links + + +async def definition_gate( + repo: CodeRepo, org: str, ns: str, rows: list[dict[str, Any]], *, depth: int, limit: int +) -> Gate: + """`code.test_gate`'s answer for a diff that edits exactly the definitions `rows`; an + empty one when every row is in a test file.""" + paths = _source_paths(rows) + if not paths: + return Gate() + (found, _, links), test_map = await asyncio.gather( + definition_links(repo, org, ns, rows, depth=depth), + repo.test_map_for(org, ns, paths, limit=_TEST_MAP_ROWS), + ) + return gate_of(links, paths, touched_of(found), test_map, limit=limit) + + +async def mirror_tests( + repo: CodeRepo, + org: str, + ns: str, + src_paths: list[str], + *, + limit: int | None = tcv.MIRROR_ROWS, +) -> dict[str, list[str]]: + """Python module path -> the live test modules named after it, the best first and at + most `limit` (`mirror_test_paths`); a module with none is absent. One read of the + file table for every path.""" + stems = {p: tcv.mirror_stem(p) for p in dict.fromkeys(src_paths)} + wanted = sorted({s for s in stems.values() if s}) + if not wanted: + return {} + named = await repo.test_paths_named(org, ns, wanted) + found = {p: tcv.mirror_test_paths(p, named, limit=limit) for p, s in stems.items() if s} + return {p: tests for p, tests in found.items() if tests} diff --git a/server/code/domain/index/test_conventions.py b/server/code/domain/index/test_conventions.py index dcdf2a7a1ba..992635088a9 100644 --- a/server/code/domain/index/test_conventions.py +++ b/server/code/domain/index/test_conventions.py @@ -5,9 +5,10 @@ then a test function named for the symbol, then a test file that sits beside the source by the language's convention. This module holds the conventions themselves — which paths are test units, which function -names a test of `Bare` (or `Owner::Bare`) conventionally carries, and -where a source file's sibling test would live — as pure functions with -no I/O, so the handler's legs and the tests share one vocabulary. +names a test of `Bare` (or `Owner::Bare`) conventionally carries, where +a source file's sibling test would live, and which test modules are +named after a Python module — as pure functions with no I/O, so the +handler's legs and the tests share one vocabulary. Data under `testdata/` or `fixtures/` is a payload, not a unit; a generated `.pb.go` is never a test. @@ -17,6 +18,7 @@ import posixpath import re +from collections.abc import Iterable from server.code.domain.index import coverage_claim as cc @@ -31,6 +33,13 @@ _CAMEL_RE = re.compile(r"(?<=[a-z0-9])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])") _MAX_NAMES = 12 _MAX_SIBLINGS = 8 +# What a test module's name carries around the name of the module it tests, one of them. +_MIRROR_PREFIX = "test_" +_MIRROR_SUFFIXES = ("_tests", "_test") +# A shorter module name is inside too many others: `io`, `db`. +_MIRROR_MIN_STEM = 3 +# Test modules named after one source module that a consumer lists. +MIRROR_ROWS = 5 def _segments(path: str) -> list[str]: @@ -135,7 +144,10 @@ def sibling_test_paths(path: str) -> list[str]: `_test.go` beside it, Python's `test_.py` beside it or under `tests/`, TypeScript's `.test.ts` / `.spec.ts` / `__tests__/`, Java's `src/test/java/…/Test.java`, Rust's `tests/.rs`, - C++'s `tests/gtest_.cpp` / `_test.cpp`. Capped at eight.""" + C++'s `tests/gtest_.cpp` / `_test.cpp`. Capped at eight. + A Python package that keeps its tests elsewhere (a top-level `tests/` + tree, a directory per module) is `mirror_test_paths`' to find, over the + test paths the index holds.""" p = path.strip().lstrip("./") segs = _segments(p) if not segs: @@ -172,9 +184,73 @@ def sibling_test_paths(path: str) -> list[str]: return [x for x in dict.fromkeys(out) if x != p][:_MAX_SIBLINGS] +def mirror_stem(src_path: str) -> str: + """The name the tests of a Python module are named after: the file's stem, or the + package directory for an `__init__.py`, lowercased and without leading underscores. + '' for another language and for a name under three characters.""" + segs = _segments(src_path.strip().lstrip("./")) + if not segs or not segs[-1].endswith(".py"): + return "" + stem = segs[-1][:-3] + if stem == "__init__": + stem = segs[-2] if len(segs) > 1 else "" + stem = stem.lstrip("_").lower() + return stem if len(stem) >= _MIRROR_MIN_STEM else "" + + +def _mirrored_name(stem: str) -> tuple[str, bool]: + """(the module name a lowercase file stem carries, whether a test affix carried it): + `test_app`, `app_test` and `app_tests` carry `app`; `app` carries itself. One affix + is read, with its underscore, so `test_unittest` carries `unittest` and not `unit`.""" + if stem.startswith(_MIRROR_PREFIX): + return stem[len(_MIRROR_PREFIX) :].lstrip("_"), True + for suffix in _MIRROR_SUFFIXES: + if stem.endswith(suffix): + return stem[: -len(suffix)].lstrip("_"), True + return stem.lstrip("_"), False + + +def mirror_test_paths( + src_path: str, test_paths: Iterable[str], *, limit: int | None = MIRROR_ROWS +) -> list[str]: + """The Python files among `test_paths` named after the module `src_path`, at most + `limit` (None: all). A test file mirrors a module when its name carries the module's + (`test_app.py`, `app_test.py`, `app_tests.py` for `app.py`), when a directory of its + path is named ``, `_tests` or `test_`, or when it has the module's + own name (`tests/apps/app.py`). In that order: a file with the bare name under a test + directory is support code more often than the module's tests. Within one, the file + that shares more directories with the module comes first, then by path.""" + stem = mirror_stem(src_path) + if not stem: + return [] + src = src_path.strip().lstrip("./") + src_dirs = set(_segments(src)[:-1]) + named_dirs = {stem, f"{stem}_tests", f"test_{stem}"} + ranked: list[tuple[int, int, str]] = [] + for tp in dict.fromkeys(test_paths): + if tp == src or not tp.endswith(".py"): + continue + segs = _segments(tp) + dirs = segs[:-1] + name, affixed = _mirrored_name(segs[-1][:-3].lower()) + if name == stem and affixed: + grade = 0 + elif named_dirs & {d.lower() for d in dirs}: + grade = 1 + elif name == stem: + grade = 2 + else: + continue + ranked.append((grade, -len(src_dirs & set(dirs)), tp)) + return [tp for _, _, tp in sorted(ranked)][:limit] + + __all__ = [ + "MIRROR_ROWS", "TEST_PAYLOAD_PATH_PATTERN", "is_test_unit_path", + "mirror_stem", + "mirror_test_paths", "sibling_test_paths", "snake", "test_unit_names", diff --git a/server/code/domain/index/test_gate.py b/server/code/domain/index/test_gate.py index 43a44847507..5b32034a909 100644 --- a/server/code/domain/index/test_gate.py +++ b/server/code/domain/index/test_gate.py @@ -49,6 +49,11 @@ TEST_MAP: 4, FILE_NEIGHBOR: 5, } +# What the index knows of one definition's tests, as `code.edit_context` reports it. +EXECUTED = "executed" +UNEXECUTED = "unexecuted" +LINKED = "linked" +UNLINKED = "unlinked" # File neighbours are added only while the list is shorter than this: they say nothing # about the touched definitions, so they are a lead when little else is known and never # take a row's place. @@ -194,6 +199,8 @@ class Gate: unlinked_total: int = 0 # touched source definitions no verified coverage run measured unmeasured: int = 0 + # touched source symbol_id -> `link_state` + states: dict[str, str] = field(default_factory=dict) @property def obligations(self) -> bool: @@ -204,7 +211,18 @@ def _links_to(roots: set[str], names: dict[str, str]) -> list[str]: return sorted(names[r] for r in roots if r in names)[:_LINKS_SHOWN] -def _static_files(inp: GateInputs) -> tuple[list[dict[str, Any]], set[str]]: +def link_state(run: dict[str, Any] | None, linked: bool) -> str: + """What the index knows of one definition's tests: what a verified coverage run + measured of it when there is one (`executed`, `unexecuted`), else whether a call + chain links a test to it (`linked`, `unlinked`).""" + if run is None: + return LINKED if linked else UNLINKED + return EXECUTED if run.get("executed") else UNEXECUTED + + +def static_test_files( + impacted: dict[str, dict[str, Any]], +) -> tuple[list[dict[str, Any]], set[str]]: """(per test file a call chain reaches the change from: its nearest test node, the touched symbol ids its tests link to and how many of its tests do; the touched symbol ids any test links to).""" @@ -213,7 +231,7 @@ def _static_files(inp: GateInputs) -> tuple[list[dict[str, Any]], set[str]]: # Nearest hop first; within a hop the walk's own order stands (the surest edge first), # so the test a file's row names is the one the index is surest of. nodes = sorted( - (v for v in inp.impacted.values() if is_test_path(str(v.get("path") or ""))), + (v for v in impacted.values() if is_test_path(str(v.get("path") or ""))), key=lambda v: int(v.get("hop") or 0), ) for v in nodes: @@ -248,7 +266,7 @@ def add(test_path: str, why: str, **extra: Any) -> bool: for p in inp.changed_paths: if is_test_path(p): add(p, CHANGED_TEST, evidence="in the diff") - static, linked = _static_files(inp) + static, linked = static_test_files(inp.impacted) chains = {f["path"]: f for f in static} def chain(f: dict[str, Any]) -> tuple[str, dict[str, Any]]: @@ -343,6 +361,7 @@ def build_gate(inp: GateInputs) -> Gate: untested: list[dict[str, Any]] = [] unlinked: list[dict[str, Any]] = [] unmeasured = 0 + states: dict[str, str] = {} for s in inp.touched: path = str(s.get("path") or "") if is_test_path(path): @@ -354,12 +373,13 @@ def build_gate(inp: GateInputs) -> Gate: "start_line": int(s.get("start_line") or 0), } run = inp.measured.get(sid) + state = states[sid] = link_state(run, sid in linked) if run is None: unmeasured += 1 - if sid not in linked: - unlinked.append(row) - elif not run.get("executed"): - untested.append({**row, "commit": str(run.get("commit") or "")}) + if state == UNLINKED: + unlinked.append(row) + elif state == UNEXECUTED: + untested.append({**row, "commit": str((run or {}).get("commit") or "")}) untested.sort(key=lambda r: (r["path"], r["start_line"])) unlinked.sort(key=lambda r: (r["path"], r["start_line"])) @@ -372,4 +392,5 @@ def build_gate(inp: GateInputs) -> Gate: untested_total=len(untested), unlinked_total=len(unlinked), unmeasured=unmeasured, + states=states, ) diff --git a/server/code/domain/units.py b/server/code/domain/units.py index a9bc359222d..066de3ae2e8 100644 --- a/server/code/domain/units.py +++ b/server/code/domain/units.py @@ -96,6 +96,8 @@ def estimate_unit_tokens(unit: CodeUnit, *, body: str | None = None) -> int: "body_hash", "recent_prs", "examples", + "tests", + "test_link_state", "lessons", "lessons_unread", "churn", @@ -155,6 +157,16 @@ def _compact(self, handler: SerializerFunctionWrapHandler) -> dict[str, Any]: # enrichment blocks (code.symbol fills these; empty lists otherwise) recent_prs: list[dict[str, Any]] = Field(default_factory=list) examples: list[dict[str, Any]] = Field(default_factory=list) + # code.edit_context, for a definition with no test call site to show in `examples`: + # the first test files `code.test_gate` lists for an edit of it, as {test_path, why, + # evidence, hop, run} (`why` as in code.test_gate; `hop` and `run` when known). Only + # a `coverage` or `static_call` row is about the definition itself. + tests: list[dict[str, Any]] = Field(default_factory=list) + # Beside `tests`: what the index knows of the definition's tests. `executed` or + # `unexecuted` when a verified coverage run measured it; else `linked` when a call + # chain links a test to it and `unlinked` when none does, which is not proof that no + # test runs it. + test_link_state: str = "" lessons: list[dict[str, Any]] = Field(default_factory=list) # True when `lessons` was asked for but its read failed or ran past # `code_enrich_timeout_s`: the symbol may have lessons this answer does not carry. diff --git a/server/code/store/index/edges.py b/server/code/store/index/edges.py index ad7c8a7e937..a190d18dce9 100644 --- a/server/code/store/index/edges.py +++ b/server/code/store/index/edges.py @@ -6,6 +6,7 @@ from __future__ import annotations +from collections.abc import Sequence from typing import Any from server.code.domain.index.test_conventions import TEST_PAYLOAD_PATH_PATTERN @@ -475,6 +476,7 @@ async def edges_for_symbols( tests_only: bool = False, caller_revision: str = "", sites_per_caller: int = 1, + first_paths: Sequence[str] = (), ) -> list[dict[str, Any]]: """One hop of live edges. Both tiers returned with tier marked; the service layer prefers scip edges per (from,to) pair. @@ -516,6 +518,10 @@ class method, 0.6 unique repo-wide name match; scip is always 1.0). cannot crowd out test examples. `caller_revision` reads live incoming edges at one revision and keeps up to `sites_per_caller` per caller ID. With `tests_only`, that read also excludes fixture and data paths. + + `first_paths` are call-site paths ordered ahead of tier and confidence, so + `limit` cuts the other paths' sites first: the test modules named after the + definition's module, for the example read. """ if not symbol_ids: return [] @@ -535,6 +541,7 @@ class method, 0.6 unique repo-wide name match; scip is always 1.0). if tests_only and caller_revision: tests_sql += " AND NOT match(path, {payload_path_pattern:String})" current_sql = "AND indexed_commit = {source_revision:String}" if caller_revision else "" + first_sql = "has({first_paths:Array(String)}, path) DESC," if first_paths else "" rows = await self._ch.query_all( f""" SELECT tier, edge_kind, to_symbol_id, from_symbol_id, path, line, @@ -550,8 +557,8 @@ class method, 0.6 unique repo-wide name match; scip is always 1.0). GROUP BY tier, edge_kind, to_symbol_id, from_symbol_id, path, line HAVING is_live = 1 AND confidence >= {{minc:Float32}} {current_sql} - ORDER BY tier DESC, confidence DESC, path, line, to_qualified_name, from_qualified_name, - to_symbol_id, from_symbol_id + ORDER BY {first_sql} tier DESC, confidence DESC, path, line, + to_qualified_name, from_qualified_name, to_symbol_id, from_symbol_id {per_match_sql} LIMIT {{limit:UInt32}} """, @@ -574,6 +581,7 @@ class method, 0.6 unique repo-wide name match; scip is always 1.0). else {} ), **({"per_match": int(per_match)} if per_match else {}), + **({"first_paths": list(first_paths)} if first_paths else {}), }, ) return rows diff --git a/server/code/store/index/files.py b/server/code/store/index/files.py index ce3fa81bb01..cc346e9983c 100644 --- a/server/code/store/index/files.py +++ b/server/code/store/index/files.py @@ -7,6 +7,7 @@ from typing import Any +from server.code.domain.index.test_gate import TEST_PATH_PATTERN from server.code.store.index.base import CodeRepoBase from server.code.store.index.sql import _batched, _gather_batched, _hex @@ -855,6 +856,51 @@ async def paths_by_stem( {"org": org, "ns": ns, "stems": wanted, "limit": limit}, ) + async def test_paths_named( + self, org: str, ns: str, stems: list[str], *, limit: int = 2000 + ) -> list[str]: + """Live Python test paths whose file name or a directory carries one of `stems` + (lowercase module names, at most 50): the candidates `mirror_test_paths` ranks, + which decides. A file's name is read as it is, without its `test_` prefix and + without its `_test` / `_tests` suffix, each without leading underscores; a + directory matches as ``, `_tests` or `test_`. Files that carry + a stem in their name come first, so a stem many directories hold cannot cut them + out of `limit`. One key-range read over loom.code_files (one row per file), no + chunk bodies.""" + wanted = sorted({str(s) for s in stems if s})[:50] + if not wanted: + return [] + rows = await self._ch.query_all( + """ + SELECT path, + lower(replaceRegexpOne(splitByChar('/', path)[-1], '\\.py$', '')) AS stem, + hasAny( + arrayMap( + n -> trim(LEADING '_' FROM n), + [stem, + replaceRegexpOne(stem, '^test_', ''), + replaceRegexpOne(stem, '_tests?$', '')]), + {stems:Array(String)}) AS named + FROM loom.code_files FINAL + WHERE org = {org:String} AND namespace = {ns:String} + AND tombstoned_at IS NULL + AND endsWith(path, '.py') AND match(path, {test_path_pattern:String}) + AND (named + OR hasAny(arrayPopBack(splitByChar('/', lower(path))), {dirs:Array(String)})) + ORDER BY named DESC, path + LIMIT {limit:UInt32} + """, + { + "org": org, + "ns": ns, + "stems": wanted, + "dirs": [d for s in wanted for d in (s, f"{s}_tests", f"test_{s}")], + "test_path_pattern": TEST_PATH_PATTERN, + "limit": int(limit), + }, + ) + return [str(r["path"]) for r in rows] + async def live_paths_present(self, org: str, ns: str, paths: list[str]) -> set[str]: """Which of `paths` the index holds live — a membership check on the file table's sort key (the `.reference` sibling next diff --git a/server/transport/mcp_descriptions.py b/server/transport/mcp_descriptions.py index 3e902de2e99..7fb2a1fd341 100644 --- a/server/transport/mcp_descriptions.py +++ b/server/transport/mcp_descriptions.py @@ -1593,7 +1593,8 @@ def revision_policy(update: str) -> str: ), "code.impact": ( "Blast radius of changing a symbol: reverse edges (depth<=2), the " - "tests mapped to the impacted files, and files that historically " + "tests linked to it, each with the evidence in `why`, " + "and files that historically " "co-change with it in merged PRs. `epistemic` ('exact' | " "'lower_bound' + `causes`) says whether the radius is the whole " "answer; `by_hop_counts` holds the true per-hop totals and rows are " @@ -2186,7 +2187,7 @@ def revision_policy(update: str) -> str: # The coding tier lists blast radius with the sentences a coding session # acts on; the paging / overlay detail stays on `tracker` / `all`. "code.impact": ( - "Change impact for a symbol or diff: callers up to two hops, mapped tests, " + "Change impact for a symbol or diff: callers up to two hops, linked tests, " "and files that co-change. `epistemic` distinguishes exact and lower-bound results. " "Grep before deleting or renaming when `risk` is 'unknown'. Empty results carry a " "`verdict` and `paths_seen` classifies touched paths. Pass `pr_number` for an open PR." diff --git a/tests/analyzer/cases/code.py b/tests/analyzer/cases/code.py index f5b3d42df10..28cd2b1f1a5 100644 --- a/tests/analyzer/cases/code.py +++ b/tests/analyzer/cases/code.py @@ -135,6 +135,8 @@ async def _search(ch: RecordingCH, c: dict[str, Any]) -> None: await repo.max_stateless_test_number(ORG, NS) # The reference sibling next to a test await repo.live_paths_present(ORG, NS, ["tests/queries/0_stateless/00001_a.reference"]) + # The test modules named after a Python module + await repo.test_paths_named(ORG, NS, ["app", "blueprints"]) # The convention rules' index reads await repo.stateless_paths_for_numbers(ORG, NS, ["04652", "04653"]) await repo.paths_containing( @@ -160,6 +162,10 @@ async def _edges(ch: RecordingCH, c: dict[str, Any]) -> None: per_match=c["per_match"], ) await repo.edges_for_symbols(ORG, NS, ["s1", "s2"], direction="callers", with_revision=True) + # The example read: test call sites, a module's own test files first + await repo.edges_for_symbols( + ORG, NS, ["s1"], direction="callers", tests_only=True, first_paths=["tests/test_a.py"] + ) await repo.live_edges_to_symbols( ORG, NS, diff --git a/tests/analyzer/shapes.txt b/tests/analyzer/shapes.txt index 2a2fe4e5ac6..b48d6a038d4 100644 --- a/tests/analyzer/shapes.txt +++ b/tests/analyzer/shapes.txt @@ -1151,6 +1151,7 @@ 839c4113555f SELECT count() AS n FROM loom.code_edges FINAL WHERE org = {org:String} AND namespace = {ns:String} AND tombstoned_at IS NULL 83ae9068116e SELECT count() AS n FROM ( SELECT evidence_id, tombstoned_at FROM loom.memory_evidence WHERE org = {org:String} AND namespace = {ns:String} AND agent = {agent:String} AND role = {role:String} AND obse 83d781f2d931 SELECT chunk_id, path, scope, kind, start_line, end_line, content, symbol_ids, context_description, arraySum(arrayMap((tok, idf) -> idf * countSubstrings(concat(?, lexemes, ?), concat(?, tok, ?)), {to +83e36d718d80 SELECT path, lower(replaceRegexpOne(splitByChar(?, path)[?], ?, ?)) AS stem, hasAny( arrayMap( n -> trim(LEADING ? FROM n), [stem, replaceRegexpOne(stem, ?, ?), replaceRegexpOne(stem, ?, ?)]), {stems: 83fe36d87b95 SELECT count() AS n, max(computed_at) AS newest_at FROM loom.code_symbol_stats FINAL WHERE org = {org:String} AND namespace = {ns:String} AND fan_in_calls > ? 8406cf2cf1b0 ALTER TABLE loom.entity_summaries UPDATE tombstoned_at = {now:DateTime} WHERE (org = {org:String} AND tombstoned_at IS NULL AND namespace = {ns:String}) AND ({erasure_mutation_tag:String} = {erasure_m 8407983252a7 SELECT DISTINCT org, code_namespace FROM loom.memory_code_links WHERE tombstoned_at IS NULL AND (org, code_namespace) IN {among:Array(Tuple(String, String))} ORDER BY org, code_namespace @@ -1327,6 +1328,7 @@ 992d0f91c54b SELECT count() AS n FROM loom.entity_edge_rows WHERE org = {org:String} AND namespace IN {ns:Array(String)} AND memory_id NOT IN (SELECT memory_id FROM loom.memory FINAL WHERE org = {org:String} AND n 994458797835 SELECT ts, org, namespace, agent, user_id, session_id, operation, request_id, mode, decision, enforced, determining_rules, errors, detail, latency_ms FROM loom.policy_decisions WHERE org = {org:String 995eaec3e18b ALTER TABLE loom.tasks DELETE WHERE (org = {org:String} AND namespace = {ns:String}) AND ({erasure_mutation_tag:String} = {erasure_mutation_tag:String}) SETTINGS mutations_sync = ? +9961d7c908a6 SELECT tier, edge_kind, to_symbol_id, from_symbol_id, path, line, argMax(from_qualified_name, version) AS from_qualified_name, argMax(to_qualified_name, version) AS to_qualified_name, argMax(confidenc 997fedaf1436 SELECT count() AS n FROM loom.chunk_term_freq WHERE org = {org:String} AND namespace IN {ns:Array(String)} 998d3948018f ALTER TABLE loom.session_brief_revisions DELETE WHERE (org = {org:String} AND namespace = {ns:String}) AND ({erasure_mutation_tag:String} = {erasure_mutation_tag:String}) SETTINGS mutations_sync = ? 99a41729ee1c SELECT concat(?, toString(c.session_id), ?, toString(c.chunk_index)) AS memory_key, ? AS memory_type, substring(c.content, ?, ?) AS content_excerpt, c.content AS content_full, c.agent AS agent, c.user diff --git a/tests/unit/test_code_coverage_unit_tests.py b/tests/unit/test_code_coverage_unit_tests.py index e051fbffa17..daf8b1fe983 100644 --- a/tests/unit/test_code_coverage_unit_tests.py +++ b/tests/unit/test_code_coverage_unit_tests.py @@ -1,8 +1,9 @@ """A test is a unit that reaches the symbol. The coverage -claim reads the `calls` edges from test units, the test functions named for -the subject and the sibling test file by convention — on any repository, -not only the ClickHouse trees — and a reaching unit is the positive control -where the ClickHouse probe finds nothing.""" +claim reads the tests a call chain links to the subject (the links +code.test_gate lists), the test functions named for the subject and the test +file the language's convention ties to the source — on any repository, not +only the ClickHouse trees — and a reaching unit is the positive control where +the ClickHouse probe finds nothing.""" from __future__ import annotations @@ -108,6 +109,78 @@ def test_sibling_test_paths_by_language() -> None: assert tcv.sibling_test_paths("") == [] +@pytest.mark.parametrize( + "src, stem", + [ + ("src/flask/app.py", "app"), + ("src/flask/__init__.py", "flask"), + ("src/_pytest/_code/__init__.py", "code"), + ("src/attr/_make.py", "make"), + ("django/db/models/Query.py", "query"), + ("pkg/io.py", ""), # under three characters: inside too many names + ("__init__.py", ""), + ("store/store.go", ""), # the rule is Python's + ("", ""), + ], +) +def test_mirror_stem_is_the_name_a_modules_tests_carry(src: str, stem: str) -> None: + assert tcv.mirror_stem(src) == stem + + +def test_mirror_test_paths_finds_the_modules_named_after_a_source_module() -> None: + tests = [ + "tests/test_appctx.py", # holds the stem, is not named after it + "tests/test_apps/cliapp/app.py", # a fixture application with the bare name + "tests/test_app.py", + "tests/app_test.py", + "tests/unit/app_tests.py", + "tests/test__app.py", + "tests/app/test_routes.py", # a directory named after the module + "tests/app_tests/test_views.py", + "tests/test_app/helpers.py", + "tests/application/test_x.py", + "tests/testapp.py", # an affix needs its underscore + "tests/app/data.json", # not Python + ] + found = tcv.mirror_test_paths("src/flask/app.py", tests, limit=None) + # the files a test affix names after the module, then the directories named after it, + # then a file with the bare name; by path within each + assert found == [ + "tests/app_test.py", + "tests/test__app.py", + "tests/test_app.py", + "tests/unit/app_tests.py", + "tests/app/test_routes.py", + "tests/app_tests/test_views.py", + "tests/test_app/helpers.py", + "tests/test_apps/cliapp/app.py", + ] + assert tcv.mirror_test_paths("src/flask/app.py", tests) == found[: tcv.MIRROR_ROWS] + assert tcv.mirror_test_paths("src/flask/app.py", ["src/flask/app.py"]) == [] + assert tcv.mirror_test_paths("src/pkg/io.py", ["tests/test_io.py"]) == [] + + +def test_a_module_named_like_a_test_keeps_its_name() -> None: + # one affix is read: `test_unittest` carries `unittest`, not `unit` + tests = ["testing/test_unittest.py", "testing/test_unit.py", "testing/test_doctest.py"] + assert tcv.mirror_test_paths("src/_pytest/unittest.py", tests) == ["testing/test_unittest.py"] + assert tcv.mirror_test_paths("src/_pytest/doctest.py", tests) == ["testing/test_doctest.py"] + assert tcv.mirror_test_paths("src/pkg/unit.py", tests) == ["testing/test_unit.py"] + + +def test_mirror_test_paths_prefers_the_file_that_shares_the_modules_directories() -> None: + tests = [ + "tests/backends/base/test_operations.py", + "tests/backends/mysql/test_operations.py", + "tests/migrations/test_operations.py", + ] + assert tcv.mirror_test_paths("django/db/backends/mysql/operations.py", tests)[0] == ( + "tests/backends/mysql/test_operations.py" + ) + # a package is named by its directory + assert tcv.mirror_test_paths("src/_pytest/logging/__init__.py", ["testing/logging/test_a.py"]) + + # ---- the legs over a stub repository ------------------------------------------ STORE = "store/store.go" @@ -150,6 +223,23 @@ async def symbols_by_name(self, org, ns, name, *, limit=50): ] return [] + async def functions_for_paths(self, org, ns, paths, *, limit=400, kinds=()): + self.calls.append(("functions", tuple(paths))) + return [ + { + "symbol_id": "get", + "qualified_name": "store.store::Store::Get", + "kind": "function", + "path": STORE, + "start_line": 10, + "end_line": 20, + "tier": "treesitter", + } + ] + + async def test_files_calling(self, org, ns, definitions, *, limit): + return [] + async def coverage_rows_for(self, org, ns, paths, *, limit=2000): return [] @@ -182,6 +272,8 @@ async def edges_for_symbols( "path": STORE_T, "line": 12, "from_qualified_name": "store.store::TestStore_Get", + "to_qualified_name": "store.store::Store::Get", + "edge_kind": "calls", "confidence": 1.0, "tier": "treesitter", }, @@ -191,6 +283,8 @@ async def edges_for_symbols( "path": CACHE, "line": 40, "from_qualified_name": "store.store::Cache::Load", + "to_qualified_name": "store.store::Store::Get", + "edge_kind": "calls", "confidence": 0.9, "tier": "treesitter", }, @@ -203,12 +297,14 @@ async def edges_for_symbols( "path": STORE_T, "line": 100 + i, "from_qualified_name": f"store.store::TestGet{i}", + "to_qualified_name": "store.store::Store::Get", + "edge_kind": "calls", "confidence": 1.0, "tier": "treesitter", } ) return rows - if ids == ["load"]: + if "load" in ids: # the second hop's frontier holds every first-hop caller return [ { "from_symbol_id": "t-load", @@ -216,6 +312,8 @@ async def edges_for_symbols( "path": "store/cache_test.go", "line": 7, "from_qualified_name": "store.store::TestCache_Load", + "to_qualified_name": "store.store::Cache::Load", + "edge_kind": "calls", "confidence": 1.0, "tier": "treesitter", } @@ -280,12 +378,13 @@ async def test_a_test_unit_calling_the_symbol_covers_it(plane) -> None: assert row["test_path"] == STORE_T and row["tier"] == cc.EXACT_SCOPED # all three legs agree on the one file; the edge's evidence leads assert set(row["methods"]) == {h.METHOD_CALLS_EDGE, h.METHOD_TEST_NAME, h.METHOD_SIBLING} - assert row["evidence"].startswith("store.store::TestStore_Get calls it at line 12") + assert row["evidence"] == "store.store::TestStore_Get reaches it in 1 hop(s)" assert row["confidence"] == 1.0 - # depth two ran (one test caller < 3) and found the test of the intermediate + # the walk's second hop found the test of the intermediate caller hop2 = next(r for r in out.tests if r["test_path"] == "store/cache_test.go") assert hop2["methods"] == [h.METHOD_CALLS_EDGE_2] and hop2["tier"] == cc.SHORT_NAME_GREP - assert "through store.store::Cache::Load" in hop2["evidence"] + assert hop2["evidence"] == "store.store::TestCache_Load reaches it in 2 hop(s)" + assert hop2["confidence"] == 0.8 assert out.epistemic == "exact" and out.strongest_tier == cc.EXACT_SCOPED assert out.tests_total == 2 # the ClickHouse control grep still ran, in every tree @@ -293,12 +392,65 @@ async def test_a_test_unit_calling_the_symbol_covers_it(plane) -> None: @pytest.mark.asyncio -async def test_depth_two_is_skipped_when_the_first_hop_has_enough(plane) -> None: +async def test_the_claim_reads_the_links_the_test_gate_reads(plane) -> None: repo = plane(_Repo(extra_test_callers=3)) out = await _claim() assert out.verdict == cc.COVERED_BY - assert not any(c == ("edges", ("load",), "callers") for c in repo.calls) - assert all(r["test_path"] != "store/cache_test.go" for r in out.tests) + # the subject is touched as its file's definition row, and both hops are walked + # however many tests the first found: the same walk as code.test_gate's + assert ("functions", (STORE,)) in repo.calls + hops = [c[1] for c in repo.calls if c[0] == "edges"] + assert hops[0] == ("get",) and "load" in hops[1] + assert [r["test_path"] for r in out.tests] == [STORE_T, "store/cache_test.go"] + + +@pytest.mark.asyncio +async def test_a_test_that_only_overrides_the_subject_is_no_evidence_it_runs(plane) -> None: + repo = plane(_Repo(names=False, sibling=False)) + + async def edges(org, ns, ids, *, direction, edge_kinds=None, limit=200, **_): + if ids != ["get"]: + return [] + return [ + { + "from_symbol_id": "t-fake", + "to_symbol_id": "get", + "path": STORE_T, + "line": 30, + "from_qualified_name": "store.store::fakeStore::Get", + "to_qualified_name": "store.store::Store::Get", + "edge_kind": "overrides", + "confidence": 1.0, + "tier": "treesitter", + } + ] + + repo.edges_for_symbols = edges # type: ignore[method-assign] + out = await _claim() + # code.test_gate lists the file as a test to run; the claim does not call it coverage + assert out.tests == [] and out.verdict == cc.UNKNOWN + + +@pytest.mark.asyncio +async def test_a_python_modules_sibling_is_the_test_module_named_after_it() -> None: + class Repo: + async def test_paths_named(self, org, ns, stems, *, limit=2000): + assert stems == ["app"] + return ["tests/test_app.py", "tests/test_appctx.py", "tests/app/test_views.py"] + + async def live_paths_present(self, org, ns, paths): + # the conventional places beside the source are still asked for + assert "src/flask/tests/test_app.py" in paths and "tests/flask/test_app.py" in paths + return {"src/flask/tests/test_app.py", "tests/test_app.py"} & set(paths) + + rows = await h._sibling_tests(Repo(), ORG, NS, ["src/flask/app.py"]) # type: ignore[arg-type] + assert [(r["test_path"], r["evidence"]) for r in rows] == [ + ("tests/app/test_views.py", "named after src/flask/app.py"), + ("tests/test_app.py", "named after src/flask/app.py"), + ("src/flask/tests/test_app.py", "sits beside src/flask/app.py"), + ] + assert {(r["tier"], r["confidence"]) for r in rows} == {(cc.PATH_CONVENTION, 0.6)} + assert all(r["methods"] == [h.METHOD_SIBLING] for r in rows) @pytest.mark.asyncio @@ -372,3 +524,18 @@ def test_merge_keeps_the_strongest_tier_and_claim_tests_order() -> None: assert merged[0]["evidence"] == "x calls it at line 3" # the strongest tier's evidence leads assert cc.epistemic_of([{"method": h.METHOD_CALLS_EDGE}]) == "exact" assert cc.epistemic_of([{"method": h.METHOD_SIBLING}]) == "lower_bound" + + +def test_merge_keeps_linked_files_in_the_order_the_links_rank_them() -> None: + def linked(path: str) -> dict: + return { + "test_path": path, + "methods": [h.METHOD_CALLS_EDGE], + "tier": cc.EXACT_SCOPED, + "confidence": 1.0, + "evidence": "t reaches it in 1 hop(s)", + } + + # equal tier and confidence: the order of arrival, not the path + merged = h.merge_test_rows([], [linked("tests/z_test.go"), linked("tests/a_test.go")]) + assert [r["test_path"] for r in merged] == ["tests/z_test.go", "tests/a_test.go"] diff --git a/tests/unit/test_code_declined_calls.py b/tests/unit/test_code_declined_calls.py index fe9c3e00f41..22d6d597f13 100644 --- a/tests/unit/test_code_declined_calls.py +++ b/tests/unit/test_code_declined_calls.py @@ -122,6 +122,12 @@ async def functions_for_paths(self, org, ns, paths, *, limit=400, **_kw): async def test_map_for(self, org, ns, paths, *, limit=30): return [] + async def test_files_calling(self, org, ns, definitions, *, limit): + return [] + + async def coverage_files_for(self, org, ns, paths): + return {} + async def pr_history_for(self, org, ns, *, paths, limit): return [] diff --git a/tests/unit/test_code_edges_per_match.py b/tests/unit/test_code_edges_per_match.py index 6341ed5b73c..a4fe73d847a 100644 --- a/tests/unit/test_code_edges_per_match.py +++ b/tests/unit/test_code_edges_per_match.py @@ -47,6 +47,45 @@ async def test_per_match_caps_rows_per_matched_symbol_in_the_directions_column() assert "LIMIT {per_match:UInt32} BY to_symbol_id" in _norm(sql) +@pytest.mark.asyncio +async def test_first_paths_order_their_call_sites_ahead_of_tier_and_confidence() -> None: + ch = _StubCH() + repo = CodeRepo(ch) # type: ignore[arg-type] + await repo.edges_for_symbols( + "o", "n", ["s1"], direction="callers", tests_only=True, first_paths=["tests/test_a.py"] + ) + sql, params = ch.calls[0] + assert "ORDER BY has({first_paths:Array(String)}, path) DESC, tier DESC, confidence DESC" in ( + _norm(sql) + ) + assert params["first_paths"] == ["tests/test_a.py"] + + await repo.edges_for_symbols("o", "n", ["s1"], direction="callers", tests_only=True) + sql, params = ch.calls[1] + assert "ORDER BY tier DESC, confidence DESC, path, line" in _norm(sql) + assert "first_paths" not in params and "first_paths" not in sql + + +@pytest.mark.asyncio +async def test_test_paths_named_reads_the_file_table_for_the_stems_and_their_directories() -> None: + ch = _StubCH() + repo = CodeRepo(ch) # type: ignore[arg-type] + assert await repo.test_paths_named("o", "n", []) == [] + assert ch.calls == [] + await repo.test_paths_named("o", "n", ["app", "app", "blueprints"]) + sql, params = ch.calls[0] + assert "FROM loom.code_files FINAL" in sql and "ORDER BY named DESC, path" in _norm(sql) + assert params["stems"] == ["app", "blueprints"] + assert params["dirs"] == [ + "app", + "app_tests", + "test_app", + "blueprints", + "blueprints_tests", + "test_blueprints", + ] + + @pytest.mark.asyncio async def test_without_per_match_the_statement_is_unchanged() -> None: ch = _StubCH() diff --git a/tests/unit/test_code_examples.py b/tests/unit/test_code_examples.py index 9e1c62c82e0..1fb5b35ecca 100644 --- a/tests/unit/test_code_examples.py +++ b/tests/unit/test_code_examples.py @@ -60,6 +60,7 @@ def __init__( self.seeds, self.edges, self.tested = seeds, edges, list(tested) self._store = CodeRepo(_CH(bodies or {})) # type: ignore[arg-type] self.edge_reads: list[list[str]] = [] + self.first_paths: list[list[str]] = [] self.tests_only = tests_only async def innermost_chunk_at(self, org: str, ns: str, path: str, line: int) -> str | None: @@ -81,11 +82,13 @@ async def edges_for_symbols( limit: int, with_revision: bool, tests_only: bool, + first_paths: Any = (), ) -> list[dict[str, Any]]: assert direction == "callers" assert not with_revision assert tests_only == self.tests_only self.edge_reads.append(list(ids)) + self.first_paths.append(list(first_paths)) return self.edges[:limit] async def test_map_for(self, org: str, ns: str, paths: list[str]) -> list[dict[str, Any]]: @@ -192,6 +195,36 @@ def test_indexed_test_examples_prefer_named_tests_and_distinct_callers() -> None assert [site["line"] for site in examples] == [25, 10, 40] +def test_test_examples_come_first_from_the_module_named_after_the_definitions_module() -> None: + edges = [ + _edge("tests/test_async.py", 8, "tests.test_async::test_async_context"), + _edge("tests/test_async.py", 9, "tests.test_async::test_async_context"), + _edge("tests/test_blueprints.py", 30, "tests.test_blueprints::make_blueprint"), + _edge("tests/test_blueprints.py", 40, "tests.test_blueprints::test_nested"), + _edge("tests/test_cli.py", 5, "tests.test_cli::test_blueprint_register"), + ] + for edge in edges: + edge["to_qualified_name"] = "web.blueprints::Blueprint::register" + repo = _Repo(seeds=[], edges=edges, tests_only=True) + mirrors = ["tests/test_blueprints.py"] + + examples = asyncio.run( + usage_examples(repo, "org", "code", ["s"], tests_only=True, mirror_paths=mirrors) # type: ignore[arg-type] + ) + + # the read takes the mirror module's sites into the candidate cut first + assert repo.first_paths == [mirrors] + # a test function of the mirror module leads the test named for the target and the + # test with more call sites; a helper of the mirror module is still no test function + assert [(site["path"], site["line"]) for site in examples] == [ + ("tests/test_blueprints.py", 40), + ("tests/test_cli.py", 5), + ("tests/test_async.py", 8), + ] + plain = asyncio.run(usage_examples(repo, "org", "code", ["s"], tests_only=True)) # type: ignore[arg-type] + assert [(site["path"], site["line"]) for site in plain][0] == ("tests/test_cli.py", 5) + + def test_edit_examples_prefer_a_test_named_for_the_related_target() -> None: path = "test_routes.py" edges = [ diff --git a/tests/unit/test_code_observability.py b/tests/unit/test_code_observability.py index 00f37b24748..2af945b971d 100644 --- a/tests/unit/test_code_observability.py +++ b/tests/unit/test_code_observability.py @@ -577,6 +577,12 @@ async def functions_for_paths(self, org, ns, paths, *, limit=400, **_kw): async def test_map_for(self, org, ns, paths): return [{"test_path": "tests/t.cpp", "src_path": "src/A.cpp", "confidence": 0.9}] + async def test_files_calling(self, org, ns, definitions, *, limit): + return [] + + async def coverage_files_for(self, org, ns, paths): + return {} + async def pr_history_for(self, org, ns, *, paths, limit): return [] diff --git a/tests/unit/test_code_registration_edges.py b/tests/unit/test_code_registration_edges.py index 4e994342419..73f936e85e8 100644 --- a/tests/unit/test_code_registration_edges.py +++ b/tests/unit/test_code_registration_edges.py @@ -368,6 +368,12 @@ async def all_state(self, *a, **k): async def test_map_for(self, *a, **k): return [] + async def test_files_calling(self, org, ns, definitions, *, limit): + return [] + + async def coverage_files_for(self, org, ns, paths): + return {} + async def pr_history_for(self, *a, **k): return [] diff --git a/tests/unit/test_code_structural_verdicts.py b/tests/unit/test_code_structural_verdicts.py index dff803e176b..4ca37f208d4 100644 --- a/tests/unit/test_code_structural_verdicts.py +++ b/tests/unit/test_code_structural_verdicts.py @@ -172,6 +172,12 @@ async def scip_stale_paths(self, org, ns, paths): async def test_map_for(self, org, ns, paths): return [] + async def test_files_calling(self, org, ns, definitions, *, limit): + return [] + + async def coverage_files_for(self, org, ns, paths): + return {} + async def pr_history_for(self, org, ns, *, paths, limit): return [] diff --git a/tests/unit/test_code_test_gate.py b/tests/unit/test_code_test_gate.py index c4016e34e47..0f8a3f5c3f9 100644 --- a/tests/unit/test_code_test_gate.py +++ b/tests/unit/test_code_test_gate.py @@ -305,6 +305,14 @@ def test_untested_needs_a_measurement_and_unlinked_needs_no_link() -> None: ] assert (g.unlinked_total, g.untested_total, g.unmeasured) == (2, 1, 3) assert {r["why"] for r in g.tests} == {"static_call", "file_neighbor", "test_map"} + # the same sorting, one word per definition + assert g.states == { + "s1": "unlinked", + "s2": "unlinked", + "s3": "linked", + "s4": "executed", + "s5": "unexecuted", + } def test_unlinked_alone_is_no_obligation() -> None: @@ -808,3 +816,100 @@ async def test_a_coverage_run_of_another_revision_measures_nothing(intel) -> Non assert out.untested == [] assert [u["qualified_name"] for u in out.unlinked] == ["pkg.w::Widget::render"] assert out.epistemic == "lower_bound" and "no_coverage" in out.causes + + +# ---- the same links for a definition asked by name -------------------------------- + + +async def test_a_definition_asked_by_name_has_the_links_of_a_diff_that_edits_it(intel) -> None: + from server.code.app.symbol.test_links import definition_gate + + repo = _Repo() + repo.neighbors = [{"path": "src/tests/gtest_g.cpp", "callees": 1}] + out = await _gate(intel, repo, diff=_DIFF, depth=2) + # the row as a name lookup resolves it: the gate's rows, order and status + by_name = await definition_gate(repo, "o", "n", [dict(repo.symbols[0])], depth=2, limit=30) + assert by_name.tests == out.tests and len(out.tests) == 3 + assert by_name.unlinked == out.unlinked == [] + assert by_name.states == {"sA": "linked"} + # the walk seeded the definition and the neighbours its file's other definitions + assert repo.neighbor_ids == ["sB"] + # a node keeps the kind of the edge that reached it, a call ahead of a class relation + from server.code.app.symbol.test_links import definition_links + + repo.callers["sA"] = [ + _edge("tO", "sA", "FakeA::f", "src/tests/gtest_fake.cpp", kind="overrides"), + _edge("tC", "sA", "TEST(A, f)", "src/tests/gtest_a.cpp", kind="overrides"), + _edge("tC", "sA", "TEST(A, f)", "src/tests/gtest_a.cpp"), + ] + _, _, links = await definition_links(repo, "o", "n", [dict(repo.symbols[0])], depth=1) + assert {sid: n["edge_kind"] for sid, n in links.impacted.items()} == { + "tO": "overrides", + "tC": "calls", + } + # a definition in a test file has no test links: nothing is read + in_test = _sym("tT", "TEST_F(Parts, x)", "src/tests/gtest_parts.cpp", 1, 9) + empty = await definition_gate(repo, "o", "n", [in_test], depth=2, limit=30) + assert empty.tests == [] and empty.states == {} + + +async def test_edit_context_names_the_gates_tests_and_state_for_a_definition(intel) -> None: + from server.code.app.symbol.symbol import _test_links + + repo = _Repo() + linked = await _test_links(repo, "o", "n", dict(repo.symbols[0])) + assert linked == { + "tests": [ + { + "test_path": "src/tests/gtest_parts.cpp", + "why": "static_call", + "evidence": "TEST_F(Parts, x) reaches the change in 2 hop(s)", + "hop": 2, + }, + { + "test_path": "tests/queries/0_stateless/01234_a.sql", + "why": "test_map", + "evidence": "test map, confidence 0.80", + "run": "tests/clickhouse-test 01234_a", + }, + ], + "test_link_state": "linked", + } + # g has no caller: the file-level row is still named, and the state says what it is + unlinked = await _test_links(repo, "o", "n", dict(repo.symbols[1])) + assert unlinked["test_link_state"] == "unlinked" + assert [t["why"] for t in unlinked["tests"]] == ["test_map"] + # a coverage run that measured g unexecuted outranks the graph + repo.coverage_files = {"src/A.cpp": {"commit_sha": "c" * 40, "lines": "[[10, 20]]"}} + measured = await _test_links(repo, "o", "n", dict(repo.symbols[1])) + assert measured["test_link_state"] == "unexecuted" + in_test = _sym("tT", "TEST_F(Parts, x)", "src/tests/gtest_parts.cpp", 1, 9) + assert await _test_links(repo, "o", "n", in_test) == {} + + +async def test_impact_lists_the_gates_tests_for_the_same_diff(intel, monkeypatch) -> None: + from server.code.api.models_symbol import CodeImpactInput + from server.code.app.symbol import impact + + class Repo(_Repo): + async def pr_history_for(self, org, ns, *, paths, limit): + return [] + + async def reviewers_by_pr(self, org, ns, pr_numbers): + return {} + + async def top_reviewers(self, org, ns, *, days=180, limit=6): + return [] + + repo = Repo() + repo.neighbors = [{"path": "src/tests/gtest_g.cpp", "callees": 1}] + gate = await _gate(intel, repo, diff=_DIFF, depth=2) + monkeypatch.setattr(impact, "schedule_code_trace", lambda **kw: None) + with patch.object(impact, "CodeRepo", return_value=repo): + out = await impact.handle_code_impact( + CodeImpactInput(org="o", namespace="n", diff=_DIFF, depth=2) + ) + assert out.impacted_tests == gate.tests + assert [t["why"] for t in out.impacted_tests] == ["static_call", "test_map", "file_neighbor"] + # the score still counts the test map's rows only + assert out.blast_radius_score == round(len(out.impacted_symbols) / 50.0 + 1 / 40.0, 3) diff --git a/tests/unit/test_pre_merge_inputs.py b/tests/unit/test_pre_merge_inputs.py index a476582cf0b..1017e596061 100644 --- a/tests/unit/test_pre_merge_inputs.py +++ b/tests/unit/test_pre_merge_inputs.py @@ -301,6 +301,12 @@ async def live_paths_present(self, org, ns, paths): async def test_map_for(self, org, ns, paths): return [] + async def test_files_calling(self, org, ns, definitions, *, limit): + return [] + + async def coverage_files_for(self, org, ns, paths): + return {} + async def pr_history_for(self, org, ns, *, paths, limit): return [] diff --git a/tests/unit/test_test_map_page_deterministic.py b/tests/unit/test_test_map_page_deterministic.py index 89fa5556707..b75e485b3d3 100644 --- a/tests/unit/test_test_map_page_deterministic.py +++ b/tests/unit/test_test_map_page_deterministic.py @@ -103,9 +103,10 @@ def test_impact_hands_the_read_its_paths_seeds_first_then_sorted() -> None: assert out[0] == "src/zzz_seed.cpp" and len(out) == 81 and out[1:] == sorted(out[1:]) -def test_impacted_tests_follow_the_read_order_on_a_tie(monkeypatch: pytest.MonkeyPatch) -> None: - """The handler keeps the page as the read ordered it (no re-sort, no set), - so a total order in SQL is a total order on the wire.""" +def test_impacted_tests_are_in_a_total_order_on_a_tie(monkeypatch: pytest.MonkeyPatch) -> None: + """The handler lists the test map's rows under the gate's order (evidence kind, + confidence, test path), which is total: tied rows are the same page on every + process, whatever order the read returned them in.""" from server.code.api.models_symbol import CodeImpactInput from server.code.app.symbol import impact as h @@ -140,9 +141,9 @@ async def _zero(*a: Any, **k: Any) -> tuple[int, int]: monkeypatch.setattr(h, "_declined_safe", _zero) with patch.object(h, "CodeRepo", return_value=Repo()): out = asyncio.run(h.handle_code_impact(CodeImpactInput(name="DB::A::f"))) - assert [t["test_path"] for t in out.impacted_tests] == [ - "tests/queries/0_stateless/2.sql", - "tests/queries/0_stateless/1.sql", + assert [(t["test_path"], t["why"], t["src_path"]) for t in out.impacted_tests] == [ + ("tests/queries/0_stateless/1.sql", "test_map", "src/A.cpp"), + ("tests/queries/0_stateless/2.sql", "test_map", "src/A.cpp"), ] (paths,) = Repo.seen assert paths == sorted(paths) and paths[0] == "src/A.cpp" From 20b8b224c325b0bfe57fc172140df617ce58ad12 Mon Sep 17 00:00:00 2001 From: Lareb Zafar Date: Sun, 29 Nov 2026 03:29:30 +0530 Subject: [PATCH 2/3] The coverage claim credits only a chain of calls, and test examples keep their rank Review fixes for the shared test links. - The walk records, per node, the shortest chain of `calls` and `fixture_use` edges that links it to a touched definition and what that chain ends at. The coverage claim lists those nodes only: a test that calls an override of the subject is not evidence, and a test an override reached first is listed by the chain of calls a later hop finds. - A test that calls only the function a nested function is defined in is weak evidence (`calls_edge_2`, `short_name_grep`): it cannot make `covered_by` or pass the control. A test that builds the class of a constructor stays exact. Every call-chain row says what its chain ends at. - Test examples are ranked by the key they had. The test modules named after the definition's module are still read into the candidate cut first. - `code.impact` walks its test links at the gate's default depth whatever depth the radius is asked at, so `impacted_tests` is the gate's answer. - A directory that holds a module names no test after it, and a mirror row of the claim says which rule matched. - The bounded numbers this change names say why they are not settings, and the list of older ones drops the three that are gone. Co-Authored-By: Claude Fable 5.2 Signed-off-by: Lareb Zafar --- docs/features/code-index/operations.md | 14 +- docs/reference/operations/code.md | 2 +- server/code/api/models_symbol.py | 5 +- server/code/app/coverage.py | 83 ++++++++---- server/code/app/enrich.py | 28 ++-- server/code/app/symbol/impact.py | 12 +- server/code/app/symbol/symbol.py | 7 +- server/code/app/symbol/test_links.py | 65 ++++++++-- server/code/domain/index/test_conventions.py | 73 +++++++---- tests/unit/test_code_coverage_unit_tests.py | 129 ++++++++++++++++++- tests/unit/test_code_examples.py | 15 ++- tests/unit/test_code_test_gate.py | 65 ++++++++-- tests/unit/tunable_constants.txt | 4 +- 13 files changed, 383 insertions(+), 119 deletions(-) diff --git a/docs/features/code-index/operations.md b/docs/features/code-index/operations.md index 94eafe170b6..6352c0af012 100644 --- a/docs/features/code-index/operations.md +++ b/docs/features/code-index/operations.md @@ -106,9 +106,11 @@ repository lookup. When several test calls are close together, Loom prefers examples from different source windows when it can verify their excerpts. When direct examples are absent, edit context can show tests that reach the definition through one indexed caller. Such examples carry `evidence: -indirect_call` and a `via` source location. Call sites in a test module named -after the definition's Python module (`test_app.py` or a `tests/app/` directory -for `app.py`) are read and ranked ahead of other test files. +indirect_call` and a `via` source location. Loom ranks at most 50 candidate call +sites; those in a test module named after the definition's Python module +(`test_app.py` or a `tests/app/` directory for `app.py`) are read first, so a +definition with more test call sites than that keeps its own module's tests among +the candidates. A definition with no test call site to show carries `tests` and `test_link_state` in place of `examples`. `tests` holds the first three test @@ -448,9 +450,9 @@ for row in r.get("co_change_missing", []): The diff shape returns the functions the changed lines sit in, the tests linked to them, and `co_change_missing`; `files` alone treats every function in those files as changed. -`impacted_tests` holds the rows `code.test_gate` lists for the same change, with the same -`why` kinds, so the two ops name the same tests; test-map rows of the impacted paths ride -as `test_map` rows. +`impacted_tests` holds the rows `code.test_gate` lists for the same change at its default +depth, whatever `depth` the radius is walked at, with the same `why` kinds, so the two ops +name the same tests; test-map rows of the impacted paths ride as `test_map` rows. Both shapes return `owners`: recency-weighted PR authors over the seed paths, with `exclude_authors` (normally the change's own author) removed. The index holds merged code, so the diff is read against the branch head; your uncommitted functions resolve diff --git a/docs/reference/operations/code.md b/docs/reference/operations/code.md index 271d9389091..b3a48cd3cc5 100644 --- a/docs/reference/operations/code.md +++ b/docs/reference/operations/code.md @@ -886,7 +886,7 @@ Symbol-shaped (name/symbol_id) or diff-shaped (files/diff) blast radius. | `lessons` | `list[dict[str, Any]]` | The memories about the answer's top files, best first, capped at `code_result_lessons_tokens`; each row {path, memory_key, namespace, excerpt, code_state}, with `rev`, `first_written`, `changed_since`, `code_moved` and `supersedes_key`… | | `lessons_left_out` | `int` | How many rows about those files the lessons' token cap or a cut left out, with the rows another row read for the answer supersedes. | | `impacted_symbols` | `list[dict[str, Any]]` | Each row {qualified_name, path, hop, tier}; a row whose function is a registration function (`REGISTER_FUNCTION(X)`, `registerStorageFoo`) carries `via: "registration"` — the seed is reached through a registry; the key is absent otherwise. | -| `impacted_tests` | `list[dict[str, Any]]` | The test files code.test_gate lists for the same change, at most 30, strongest evidence first: each row as a code.test_gate `tests` row ({test_path, why, evidence, run, run_unknown}, with `links_to`, `hop`, `callers`, `via`, `confidence`… | +| `impacted_tests` | `list[dict[str, Any]]` | The test files code.test_gate lists for the same change at its default depth (2, whatever `depth` the radius is walked at), at most 30, strongest evidence first: each row as a code.test_gate `tests` row ({test_path, why, evidence, run… | | `co_change_files` | `list[dict[str, Any]]` | Files changed in the same merged PRs as the seed paths, most often first ({path, prs}, at most 20): the last 10 PRs for the symbol shape, 50 for the diff shape. | | `blast_radius_score` | `float` | impacted/50 + test-map rows/40, capped at 1. | | `touched_symbols` | `list[dict[str, Any]]` | Diff shape only: the symbols the change touches (the functions its changed lines sit in when a diff was given, else every function in the files), and the files that historically co-change with the touched set but are absent from it — the… | diff --git a/server/code/api/models_symbol.py b/server/code/api/models_symbol.py index a024bdb16b0..30e131e8a83 100644 --- a/server/code/api/models_symbol.py +++ b/server/code/api/models_symbol.py @@ -590,8 +590,9 @@ def _drop_unset(self, handler: SerializerFunctionWrapHandler) -> dict[str, Any]: # carries `via: "registration"` — the seed is reached through a # registry; the key is absent otherwise. impacted_symbols: list[dict[str, Any]] - # The test files code.test_gate lists for the same change, at most 30, strongest - # evidence first: each row as a code.test_gate `tests` row ({test_path, why, evidence, + # The test files code.test_gate lists for the same change at its default depth (2, + # whatever `depth` the radius is walked at), at most 30, strongest evidence first: + # each row as a code.test_gate `tests` row ({test_path, why, evidence, # run, run_unknown}, with `links_to`, `hop`, `callers`, `via`, `confidence`, `src_path` # or `callees` by `why`). A `coverage` or `static_call` row is about a seed # definition; a test-map row of a seed or impacted path is `why: "test_map"` diff --git a/server/code/app/coverage.py b/server/code/app/coverage.py index 9932c563326..8e4ad1cbc73 100644 --- a/server/code/app/coverage.py +++ b/server/code/app/coverage.py @@ -38,7 +38,12 @@ ) from server.code.app.files import attach_reference_siblings from server.code.app.spans import code_span, set_code_span_attributes, span_attrs -from server.code.app.symbol.test_links import definition_links, mirror_tests +from server.code.app.symbol.test_links import ( + CHAIN_ENDS, + LINK_DEPTH, + definition_links, + mirror_tests, +) from server.code.domain.index import coverage_claim as cc from server.code.domain.index import coverage_runs as cr from server.code.domain.index import test_conventions as tcv @@ -554,13 +559,11 @@ async def search_terms( # ---- a test is a unit that reaches the symbol ----------------------------------------- # Outside the ClickHouse trees the grep finds nothing and the control probe fails, which # would leave every Go / Python / TypeScript claim `unknown`. Three legs read what the index -# already holds: the tests a call chain links to the subject's definitions, as -# code.test_gate links them (exact_scoped at one hop, short_name_grep through a caller), a -# test function named for the subject (exact_scoped), and the test file that sits beside -# the source by the language's convention (path_convention). -_LINK_DEPTH = 2 -# The edges of the walk that say a test runs what it reaches. -_CALL_EDGE_KINDS = ("calls", "fixture_use") +# already holds: the tests a chain of calls links to the subject's definitions, among the +# links code.test_gate reads (exact_scoped when the test calls the subject, short_name_grep +# through a caller or when it calls only the function the subject is nested in), a test +# function named for the subject (exact_scoped), and the test file that sits beside the +# source by the language's convention (path_convention). METHOD_CALLS_EDGE = "calls_edge" METHOD_CALLS_EDGE_2 = "calls_edge_2" METHOD_TEST_NAME = "test_name" @@ -577,33 +580,55 @@ def _unit_row(tp: str, method: str, tier: str, confidence: float, evidence: str) } +# What a call-chain row says of a chain that does not end at a call of the subject. +_CHAIN_END_EVIDENCE = { + "fixture": ", through a fixture", + "constructor": ", by building its class", + "enclosing": ", by calling the function it is nested in", +} + + async def _test_callers( repo: CodeRepo, org: str, ns: str, rows: list[dict[str, Any]] ) -> list[dict[str, Any]]: - """Leg a: the test files a call chain links to the subject's definitions, among the - links code.test_gate lists as `static_call` for an edit of them: a test that calls - one, its class when it is a constructor, the function it is nested in or a fixture - that reaches it, and one more hop through a caller. A test that only overrides or - inherits the subject is the gate's to run and no evidence that a test runs it.""" - _, _, links = await definition_links(repo, org, ns, rows, depth=_LINK_DEPTH) + """Leg a: the test files a chain of calls links to the subject's definitions, among + the links code.test_gate lists as `static_call` for an edit of them. A test that calls + the subject, builds the class of a constructor or uses a fixture that is the subject + is exact evidence; one more hop through a caller is weaker, and so is a test that + calls only the function the subject is nested in, which need not run the subject. A + chain with an `overrides` or `inherits` edge in it is the gate's to run and no + evidence that a test runs the subject: a test that overrides it, or calls an override + of it, is not listed. Each file's row is its test with the shortest, surest chain.""" + _, _, links = await definition_links(repo, org, ns, rows, depth=LINK_DEPTH) called = { - sid: node + sid: {**node, "hop": node["call_hop"]} for sid, node in links.impacted.items() - if str(node.get("edge_kind")) in _CALL_EDGE_KINDS + if node.get("call_hop") } files, _ = static_test_files(called) + surest: dict[str, dict[str, Any]] = {} + + def chain(node: dict[str, Any]) -> tuple[int, int]: + return int(node["hop"]), CHAIN_ENDS.index(node["call_via"]) + + for node in called.values(): + path = str(node["path"]) + if path not in surest or chain(node) < chain(surest[path]): + surest[path] = node out: list[dict[str, Any]] = [] for f in files: - node = f["node"] - hop, confidence = int(node.get("hop") or 0), float(node.get("confidence") or 0.0) - direct = hop <= 1 + node = surest[str(f["path"])] + hop, via = int(node["hop"]), str(node["call_via"]) + confidence = float(node.get("confidence") or 0.0) + direct = hop <= 1 and via != "enclosing" out.append( _unit_row( str(f["path"]), METHOD_CALLS_EDGE if direct else METHOD_CALLS_EDGE_2, cc.EXACT_SCOPED if direct else cc.SHORT_NAME_GREP, confidence if direct else min(0.8, confidence), - f"{node.get('qualified_name')} reaches it in {hop} hop(s)", + f"{node.get('qualified_name')} reaches it in {hop} hop(s)" + + _CHAIN_END_EVIDENCE.get(via, ""), ) ) return out @@ -643,13 +668,21 @@ async def _named_tests(repo: CodeRepo, org: str, ns: str, subject: str) -> list[ return out +# How a sibling row says a test module is named after the source (`tcv.mirror_rule`). +_MIRROR_EVIDENCE = { + tcv.MIRROR_FILE: "named after {}", + tcv.MIRROR_DIRECTORY: "in a directory named after {}", + tcv.MIRROR_BARE_NAME: "has the file name of {}", +} + + async def _sibling_tests( repo: CodeRepo, org: str, ns: str, src_paths: list[str] ) -> list[dict[str, Any]]: """Leg c: the test files the index holds live that the language's convention ties to the source paths: the test modules named after a Python module, wherever the repository keeps them, and the conventional sibling path of a file. A file both - rules find is listed once, as named after the module.""" + rules find is listed once, by the rule that names it after the module.""" mirrors = await mirror_tests(repo, org, ns, src_paths) by_candidate: dict[str, str] = {} for sp in src_paths: @@ -662,7 +695,13 @@ async def _sibling_tests( named.setdefault(tp, sp) return [ *( - _unit_row(tp, METHOD_SIBLING, cc.PATH_CONVENTION, 0.6, f"named after {sp}") + _unit_row( + tp, + METHOD_SIBLING, + cc.PATH_CONVENTION, + 0.6, + _MIRROR_EVIDENCE[tcv.mirror_rule(sp, tp)].format(sp), + ) for tp, sp in sorted(named.items()) ), *( diff --git a/server/code/app/enrich.py b/server/code/app/enrich.py index 82153e23730..9a93240b47d 100644 --- a/server/code/app/enrich.py +++ b/server/code/app/enrich.py @@ -146,7 +146,8 @@ async def usage_examples( ) -> list[dict[str, Any]]: """Call sites of the symbol, optionally restricted to indexed tests. `mirror_paths` are the test modules named after the definition's module: their call sites are read - into the candidate cut first and ranked first, since a module's own tests sit there.""" + into the candidate cut first, so the cut does not drop a module's own tests before + they are ranked.""" with_context = bool(context_lines and settings.embedding_model) edges = await bounded( repo.edges_for_symbols( @@ -175,11 +176,7 @@ async def usage_examples( by_location.setdefault((str(edge["path"]), int(edge["line"])), edge) sites = list(by_location.values()) limit = max(1, limit) - ranked = ( - _rank_test_sites(sites, related_names=related_names, mirror_paths=mirror_paths) - if tests_only - else sites - ) + ranked = _rank_test_sites(sites, related_names=related_names) if tests_only else sites def location(edge: dict[str, Any]) -> dict[str, Any]: return { @@ -255,18 +252,14 @@ def _rank_test_sites( sites: list[dict[str, Any]], *, related_names: tuple[str, ...] = (), - mirror_paths: Sequence[str] = (), ) -> list[dict[str, Any]]: - """Put test functions first, then the ones in a test module named after the - definition's module (`mirror_paths`), then related test functions, with one source - window per test before repeats.""" + """Put related test functions first, with one source window per test before repeats.""" counts: dict[tuple[str, str], int] = defaultdict(int) related_words = {word for name in related_names for word in _test_name_words(name)} - mirrors = set(mirror_paths) for site in sites: counts[_test_case(site)] += 1 - def key(site: dict[str, Any]) -> tuple[bool, bool, bool, int, int]: + def key(site: dict[str, Any]) -> tuple[bool, bool, int, int]: path, caller = _test_case(site) name = caller.rsplit("::", 1)[-1] _, *target = str(site.get("to_qualified_name") or "").split("::") @@ -274,13 +267,7 @@ def key(site: dict[str, Any]) -> tuple[bool, bool, bool, int, int]: words = _test_name_words(name) related = words & target_words shared = bool(related and ((related_words - target_words) & words)) - return ( - not snake(name).startswith("test_"), - path not in mirrors, - not shared, - -len(related), - -counts[path, caller], - ) + return not snake(name).startswith("test_"), not shared, -len(related), -counts[path, caller] picked: dict[tuple[str, str], dict[str, Any]] = {} repeats = [] @@ -596,7 +583,8 @@ async def _repeated_test_reference( return None with code_span("enrich.indirect_test_reference"): # the test file beside the source, and the test modules named after it elsewhere - named = await repo.test_paths_named(org, ns, [mirror_stem(path)]) + stem = mirror_stem(path) + named = await repo.test_paths_named(org, ns, [stem]) if stem else [] candidates = { *sibling_test_paths(path), f"tests/test_{PurePosixPath(path).stem}.py", diff --git a/server/code/app/symbol/impact.py b/server/code/app/symbol/impact.py index 7cac2019845..d17063baa1f 100644 --- a/server/code/app/symbol/impact.py +++ b/server/code/app/symbol/impact.py @@ -44,6 +44,7 @@ ) from server.code.app.symbol.resolve import _resolve_symbols, _seed_ids_of from server.code.app.symbol.test_links import ( + LINK_DEPTH, READ_LIMIT, Links, definition_links, @@ -66,6 +67,7 @@ logger = logging.getLogger(__name__) # `impacted_tests` rows served: the test map's page size. +# not a setting: the cap the field's description states _TEST_ROWS = 30 @@ -189,13 +191,13 @@ async def _test_links( ns: str, seeds: list[dict[str, Any]], gate_rows: tuple[list[dict[str, Any]], list[dict[str, Any]]] | None, - depth: int, ) -> tuple[list[dict[str, Any]], Links]: """(the definitions the request touches as code.test_gate reads them, their test links). The diff shape hands over its touched definitions (`gate_rows`); the symbol - shape touches the resolved seeds.""" + shape touches the resolved seeds. The links are walked at code.test_gate's default + depth whatever depth the radius is asked at, so `impacted_tests` is that answer.""" if gate_rows is None: - found, _, links = await definition_links(repo, org, ns, seeds, depth=depth) + found, _, links = await definition_links(repo, org, ns, seeds, depth=LINK_DEPTH) return found, links touched, definitions = gate_rows links = await link_tests( @@ -204,7 +206,7 @@ async def _test_links( ns, touched, definitions, - depth=depth, + depth=LINK_DEPTH, read_limit=READ_LIMIT, neighbors=NEIGHBOR_FILL, ) @@ -276,7 +278,7 @@ async def handle_code_impact(input: CodeImpactInput) -> CodeImpactOutput: _dispatch_missing(repo, org, ns, seeds, dispatch_rows, attempted=True) if not diff_shaped else _false(), - _test_links(repo, org, ns, seeds, gate_rows, input.depth), + _test_links(repo, org, ns, seeds, gate_rows), ) span_attrs(sp, results=len(impacted)) by_hop_counts = _hop_counts(impacted) diff --git a/server/code/app/symbol/symbol.py b/server/code/app/symbol/symbol.py index d2ab7c9d0c6..fe04b63be7d 100644 --- a/server/code/app/symbol/symbol.py +++ b/server/code/app/symbol/symbol.py @@ -54,7 +54,7 @@ near_misses, symbol_body, ) -from server.code.app.symbol.test_links import definition_gate, mirror_tests +from server.code.app.symbol.test_links import LINK_DEPTH, definition_gate, mirror_tests from server.code.app.symbol.uses import _mention_leg, _symbol_uses from server.code.store.index import CodeRepo from server.core.errors import ValidationError @@ -523,9 +523,8 @@ async def examples_for_definition() -> list[dict[str, Any]]: return out -# The depth of the walk behind `tests`: code.test_gate's default. -_LINK_DEPTH = 2 # Test files named beside a definition with no test call site. +# not a setting: the block stands in for the example list and has its length _LINK_ROWS = 3 @@ -535,7 +534,7 @@ async def _test_links( """`tests` and `test_link_state` of a definition with no test call site to show: what code.test_gate answers for an edit of it, so the two ops agree. {} for a definition in a test file.""" - gate = await definition_gate(repo, org, ns, [definition], depth=_LINK_DEPTH, limit=_LINK_ROWS) + gate = await definition_gate(repo, org, ns, [definition], depth=LINK_DEPTH, limit=_LINK_ROWS) state = next(iter(gate.states.values()), "") if not state: return {} diff --git a/server/code/app/symbol/test_links.py b/server/code/app/symbol/test_links.py index 65a1a1c4bd2..9d81cd0cab6 100644 --- a/server/code/app/symbol/test_links.py +++ b/server/code/app/symbol/test_links.py @@ -30,20 +30,30 @@ # A Python class call ends at the class symbol: a test that builds the object runs these. _CONSTRUCTORS = ("__init__", "__new__") +# The depth of the walk behind every consumer's links: code.test_gate's default. +LINK_DEPTH = 2 +# The edges that say the node at their source runs the definition at their target. +_CALL_EDGE_KINDS = ("calls", "fixture_use") +# What a chain of calls ends at or passes, the surest first: the touched definition +# itself, a fixture on the way, the class of a touched constructor, the function a +# touched nested function is defined in (a call of it need not run the nested one). +CHAIN_ENDS = ("", "fixture", "constructor", "enclosing") # Coverage rows read for the executed definitions' files. _COVERAGE_ROWS = 2000 # Edges read per hop of the walk. READ_LIMIT = 300 # Test-map rows read for the source paths of a definition. +# not a setting: code.test_gate reads as many, and this answer is that one _TEST_MAP_ROWS = 200 @dataclass class Links: - # reverse-edge reach: {symbol_id: {qualified_name, path, hop, tier, confidence, - # edge_kind, roots, [via]}}, where roots is the touched symbol ids the node reaches, - # edge_kind the kind of the edge that reached it (`calls` when one of several is a - # call) and via is `constructor`, `enclosing` or `fixture` + # reverse-edge reach: {symbol_id: {qualified_name, path, hop, tier, confidence, roots, + # [via], [call_hop, call_via]}}, where roots is the touched symbol ids the node + # reaches and via is `constructor`, `enclosing` or `fixture`. A node that a chain of + # calls alone links to a touched definition carries the length of the shortest one + # (`call_hop`) and what it ends at (`call_via`, one of `CHAIN_ENDS`). impacted: dict[str, dict[str, Any]] = field(default_factory=dict) # True when a hop's read hit its row limit, or the coverage rows read were cut capped: bool = False @@ -104,6 +114,40 @@ def alias(row: dict[str, Any], root: str, how: str) -> None: return roots, stands +def _chain_step( + chains: dict[str, tuple[int, bool, int]], + node: dict[str, Any], + sid: str, + to: str, + kind: str, + hop: int, +) -> None: + """Carry a chain of calls one edge back, over the edge of `kind` from the node `sid` + to `to`, read at `hop` (0 for the seeds' callers). `chains` holds, for a seed and for + every node a chain links to one, (the chain's length, whether the node is a class + that stands for a constructor and is not itself called, the index in `CHAIN_ENDS` of + what the chain ends at). A `calls` or `fixture_use` edge extends a chain. An + `inherits` edge into a class that stands for a constructor makes the subclass stand + for it too: building the subclass runs the inherited constructor. An `overrides` edge + carries none: a caller of the override does not run what it overrides. A chain is + followed through a node only when it reached the node at the hop the walk first did, + whose callers are the ones read. The node keeps the shortest chain, a call before a + class that only stands, then the surest end.""" + length, stands, end = chains.get(to, (-1, False, 0)) + if length != hop: + return + if kind in _CALL_EDGE_KINDS: + found = (hop + 1, False, max(end, int(kind == "fixture_use"))) + elif kind == "inherits" and stands: + found = (hop + 1, True, end) + else: + return + if sid not in chains or found < chains[sid]: + chains[sid] = found + if not found[1]: + node["call_hop"], node["call_via"] = found[0], CHAIN_ENDS[found[2]] + + async def _walk( repo: CodeRepo, org: str, @@ -115,9 +159,14 @@ async def _walk( read_limit: int, ) -> tuple[dict[str, dict[str, Any]], bool]: """Reverse edges from the seeds, depth <= 3. Every reached node remembers which touched - symbols it reaches (`roots`), so a test is credited to the definitions it links to. + symbols it reaches (`roots`), so a test is credited to the definitions it links to, + and the chain of calls that links it to one when there is one (`_chain_step`). Returns (impacted, capped): capped when a hop's read hit `read_limit`.""" roots_of = {sid: set(ids) for sid, ids in roots.items()} + chains = { + sid: (0, stands.get(sid) == "constructor", CHAIN_ENDS.index(stands.get(sid, ""))) + for sid in roots + } impacted: dict[str, dict[str, Any]] = {} frontier = list(roots) capped = False @@ -146,16 +195,14 @@ async def _walk( "hop": hop + 1, "tier": str(r["tier"]), "confidence": float(r["confidence"]), - "edge_kind": kind, "roots": [], } - if str(r.get("edge_kind")) == "fixture_use": + if kind == "fixture_use": impacted[sid]["via"] = "fixture" elif to in stands: impacted[sid]["via"] = stands[to] nxt.append(sid) - elif kind == "calls" and impacted[sid]["hop"] == hop + 1: - impacted[sid]["edge_kind"] = kind # it also calls what it overrides or inherits + _chain_step(chains, impacted[sid], sid, to, kind, hop) merged = roots_of.setdefault(sid, set()) merged |= roots_of.get(to) or set() impacted[sid]["roots"] = sorted(merged) diff --git a/server/code/domain/index/test_conventions.py b/server/code/domain/index/test_conventions.py index 992635088a9..fb750181e57 100644 --- a/server/code/domain/index/test_conventions.py +++ b/server/code/domain/index/test_conventions.py @@ -39,6 +39,7 @@ # A shorter module name is inside too many others: `io`, `db`. _MIRROR_MIN_STEM = 3 # Test modules named after one source module that a consumer lists. +# not a setting: the length of one module's list, the same on every deployment MIRROR_ROWS = 5 @@ -210,45 +211,63 @@ def _mirrored_name(stem: str) -> tuple[str, bool]: return stem.lstrip("_"), False +# How a test file is named after a module, the surest first. +MIRROR_FILE = "file" +MIRROR_DIRECTORY = "directory" +MIRROR_BARE_NAME = "bare_name" +_MIRROR_RULES = (MIRROR_FILE, MIRROR_DIRECTORY, MIRROR_BARE_NAME) + + +def mirror_rule(src_path: str, test_path: str) -> str: + """How the Python file `test_path` is named after the module `src_path`, '' when it + is not: `file` when its name carries the module's (`test_app.py`, `app_test.py`, + `app_tests.py` for `app.py`), `directory` when a directory of its path is named + ``, `_tests` or `test_`, `bare_name` when it has the module's own + name (`tests/apps/app.py`). A directory that holds the module itself names nothing: + `pkg/__init__.py` is in `pkg/`, as is every test under it.""" + stem = mirror_stem(src_path) + src = src_path.strip().lstrip("./") + if not stem or test_path == src or not test_path.endswith(".py"): + return "" + segs = _segments(test_path) + dirs, src_dirs = segs[:-1], _segments(src)[:-1] + name, affixed = _mirrored_name(segs[-1][:-3].lower()) + if name == stem and affixed: + return MIRROR_FILE + named = {stem, f"{stem}_tests", f"test_{stem}"} + for i, d in enumerate(dirs): + if d.lower() in named and dirs[: i + 1] != src_dirs[: i + 1]: + return MIRROR_DIRECTORY + return MIRROR_BARE_NAME if name == stem else "" + + def mirror_test_paths( src_path: str, test_paths: Iterable[str], *, limit: int | None = MIRROR_ROWS ) -> list[str]: - """The Python files among `test_paths` named after the module `src_path`, at most - `limit` (None: all). A test file mirrors a module when its name carries the module's - (`test_app.py`, `app_test.py`, `app_tests.py` for `app.py`), when a directory of its - path is named ``, `_tests` or `test_`, or when it has the module's - own name (`tests/apps/app.py`). In that order: a file with the bare name under a test - directory is support code more often than the module's tests. Within one, the file - that shares more directories with the module comes first, then by path.""" - stem = mirror_stem(src_path) - if not stem: - return [] - src = src_path.strip().lstrip("./") - src_dirs = set(_segments(src)[:-1]) - named_dirs = {stem, f"{stem}_tests", f"test_{stem}"} + """The Python files among `test_paths` named after the module `src_path` + (`mirror_rule`), at most `limit` (None: all): the files whose name carries the + module's, then the ones in a directory named after it, then the ones with its bare + name, since a file with the bare name under a test directory is support code more + often than the module's tests. Within one, the file that shares more directories with + the module comes first, then by path.""" + src_dirs = set(_segments(src_path.strip().lstrip("./"))[:-1]) ranked: list[tuple[int, int, str]] = [] for tp in dict.fromkeys(test_paths): - if tp == src or not tp.endswith(".py"): - continue - segs = _segments(tp) - dirs = segs[:-1] - name, affixed = _mirrored_name(segs[-1][:-3].lower()) - if name == stem and affixed: - grade = 0 - elif named_dirs & {d.lower() for d in dirs}: - grade = 1 - elif name == stem: - grade = 2 - else: - continue - ranked.append((grade, -len(src_dirs & set(dirs)), tp)) + rule = mirror_rule(src_path, tp) + if rule: + shared = len(src_dirs & set(_segments(tp)[:-1])) + ranked.append((_MIRROR_RULES.index(rule), -shared, tp)) return [tp for _, _, tp in sorted(ranked)][:limit] __all__ = [ + "MIRROR_BARE_NAME", + "MIRROR_DIRECTORY", + "MIRROR_FILE", "MIRROR_ROWS", "TEST_PAYLOAD_PATH_PATTERN", "is_test_unit_path", + "mirror_rule", "mirror_stem", "mirror_test_paths", "sibling_test_paths", diff --git a/tests/unit/test_code_coverage_unit_tests.py b/tests/unit/test_code_coverage_unit_tests.py index daf8b1fe983..86658868e3d 100644 --- a/tests/unit/test_code_coverage_unit_tests.py +++ b/tests/unit/test_code_coverage_unit_tests.py @@ -181,6 +181,20 @@ def test_mirror_test_paths_prefers_the_file_that_shares_the_modules_directories( assert tcv.mirror_test_paths("src/_pytest/logging/__init__.py", ["testing/logging/test_a.py"]) +def test_a_directory_that_holds_the_module_names_no_test_after_it() -> None: + # every test of the package sits under the package's own directory + inside = ["sklearn/cluster/tests/test_k_means.py", "sklearn/tests/test_base.py"] + assert tcv.mirror_test_paths("sklearn/__init__.py", inside) == [] + assert ( + tcv.mirror_test_paths("astropy/table/table.py", ["astropy/table/tests/test_row.py"]) == [] + ) + # the same name elsewhere is a directory named after it + assert tcv.mirror_rule("sklearn/__init__.py", "tests/sklearn/test_base.py") == "directory" + assert tcv.mirror_rule("astropy/table/table.py", "astropy/table/tests/test_table.py") == "file" + assert tcv.mirror_rule("src/flask/app.py", "tests/test_apps/cliapp/app.py") == "bare_name" + assert tcv.mirror_rule("src/flask/app.py", "tests/test_appctx.py") == "" + + # ---- the legs over a stub repository ------------------------------------------ STORE = "store/store.go" @@ -431,6 +445,119 @@ async def edges(org, ns, ids, *, direction, edge_kinds=None, limit=200, **_): assert out.tests == [] and out.verdict == cc.UNKNOWN +W = "pkg/w.py" +W_T = "tests/test_w.py" +# A Python module: class `Widget` with `__init__` and `render`, and `helper` with a +# nested `inner`. +W_DEFS = [ + { + "symbol_id": sid, + "qualified_name": f"pkg.w::{name}", + "name": name.rsplit("::", 1)[-1], + "kind": kind, + "path": W, + "start_line": start, + "end_line": end, + "tier": "treesitter", + } + for sid, name, kind, start, end in [ + ("widget", "Widget", "class", 10, 40), + ("init", "Widget::__init__", "function", 14, 20), + ("render", "Widget::render", "function", 22, 40), + ("helper", "helper", "function", 44, 50), + ("inner", "helper::inner", "function", 46, 48), + ] +] + + +class _PyRepo(_Repo): + """`W_DEFS` and the reverse edges `callers`: target id -> (source id, its qualified + name, edge kind); a name under `tests.` is in the test file.""" + + def __init__(self, callers: dict[str, list[tuple[str, str, str]]]) -> None: + super().__init__(names=False, sibling=False) + self.callers = callers + + async def symbols_by_name(self, org, ns, name, *, limit=50): + return [dict(d) for d in W_DEFS if d["qualified_name"] == name] + + async def functions_for_paths(self, org, ns, paths, *, limit=400, kinds=()): + return [dict(d) for d in W_DEFS] + + async def test_paths_named(self, org, ns, stems, *, limit=2000): + return [] + + async def edges_for_symbols(self, org, ns, ids, *, direction, **_): + return [ + { + "from_symbol_id": frm, + "to_symbol_id": to, + "path": W_T if name.startswith("tests.") else W, + "line": 5, + "from_qualified_name": name, + "to_qualified_name": "", + "edge_kind": kind, + "confidence": 1.0, + "tier": "treesitter", + } + for to in ids + for frm, name, kind in self.callers.get(to, []) + ] + + +@pytest.mark.asyncio +async def test_a_test_that_builds_the_class_is_exact_evidence_for_its_constructor(plane) -> None: + plane(_PyRepo({"widget": [("t1", "tests.test_w::test_builds", "calls")]})) + out = await _claim("pkg.w::Widget::__init__") + assert out.verdict == cc.COVERED_BY and out.control["via"] == "unit_tests" + [row] = out.tests + assert row["methods"] == [h.METHOD_CALLS_EDGE] and row["tier"] == cc.EXACT_SCOPED + assert row["evidence"] == ( + "tests.test_w::test_builds reaches it in 1 hop(s), by building its class" + ) + + +@pytest.mark.asyncio +async def test_a_caller_of_the_enclosing_function_is_weak_evidence_for_a_nested_one(plane) -> None: + plane(_PyRepo({"helper": [("t1", "tests.test_w::test_helper", "calls")]})) + out = await _claim("pkg.w::helper::inner") + # the test calls `helper`; whether `inner` runs is the branch it takes + [row] = out.tests + assert row["methods"] == [h.METHOD_CALLS_EDGE_2] and row["tier"] == cc.SHORT_NAME_GREP + assert row["confidence"] == 0.8 + assert row["evidence"] == ( + "tests.test_w::test_helper reaches it in 1 hop(s), by calling the function it is nested in" + ) + assert out.verdict == cc.UNKNOWN and out.control["ok"] is False + assert out.epistemic == "lower_bound" + + +@pytest.mark.asyncio +async def test_a_caller_of_an_override_is_no_evidence_and_a_later_chain_of_calls_is(plane) -> None: + repo = plane( + _PyRepo( + { + "render": [("t-fake", "tests.test_w::Fake::render", "overrides")], + "t-fake": [("t1", "tests.test_w::test_fake", "calls")], + } + ) + ) + # a test class overrides the subject and a test calls the override: that test runs + # the override + assert (await _claim("pkg.w::Widget::render")).tests == [] + # a test an override reached first is listed by the chain of calls the next hop finds + repo.callers = { + "render": [ + ("t-both", "tests.test_w::Both::render", "overrides"), + ("page", "pkg.w::page", "calls"), + ], + "page": [("t-both", "tests.test_w::Both::render", "calls")], + } + [row] = (await _claim("pkg.w::Widget::render")).tests + assert row["methods"] == [h.METHOD_CALLS_EDGE_2] and row["tier"] == cc.SHORT_NAME_GREP + assert row["evidence"] == "tests.test_w::Both::render reaches it in 2 hop(s)" + + @pytest.mark.asyncio async def test_a_python_modules_sibling_is_the_test_module_named_after_it() -> None: class Repo: @@ -445,7 +572,7 @@ async def live_paths_present(self, org, ns, paths): rows = await h._sibling_tests(Repo(), ORG, NS, ["src/flask/app.py"]) # type: ignore[arg-type] assert [(r["test_path"], r["evidence"]) for r in rows] == [ - ("tests/app/test_views.py", "named after src/flask/app.py"), + ("tests/app/test_views.py", "in a directory named after src/flask/app.py"), ("tests/test_app.py", "named after src/flask/app.py"), ("src/flask/tests/test_app.py", "sits beside src/flask/app.py"), ] diff --git a/tests/unit/test_code_examples.py b/tests/unit/test_code_examples.py index 1fb5b35ecca..5f6a8eb3870 100644 --- a/tests/unit/test_code_examples.py +++ b/tests/unit/test_code_examples.py @@ -195,7 +195,7 @@ def test_indexed_test_examples_prefer_named_tests_and_distinct_callers() -> None assert [site["line"] for site in examples] == [25, 10, 40] -def test_test_examples_come_first_from_the_module_named_after_the_definitions_module() -> None: +def test_the_module_named_after_the_definitions_module_is_read_into_the_cut_first() -> None: edges = [ _edge("tests/test_async.py", 8, "tests.test_async::test_async_context"), _edge("tests/test_async.py", 9, "tests.test_async::test_async_context"), @@ -214,15 +214,18 @@ def test_test_examples_come_first_from_the_module_named_after_the_definitions_mo # the read takes the mirror module's sites into the candidate cut first assert repo.first_paths == [mirrors] - # a test function of the mirror module leads the test named for the target and the - # test with more call sites; a helper of the mirror module is still no test function + # the rank of the sites read is the same with and without them: the test named for + # the target, then the test with more call sites + plain = asyncio.run(usage_examples(repo, "org", "code", ["s"], tests_only=True)) # type: ignore[arg-type] + assert repo.first_paths == [mirrors, []] assert [(site["path"], site["line"]) for site in examples] == [ - ("tests/test_blueprints.py", 40), ("tests/test_cli.py", 5), ("tests/test_async.py", 8), + ("tests/test_blueprints.py", 40), + ] + assert [(site["path"], site["line"]) for site in plain] == [ + (site["path"], site["line"]) for site in examples ] - plain = asyncio.run(usage_examples(repo, "org", "code", ["s"], tests_only=True)) # type: ignore[arg-type] - assert [(site["path"], site["line"]) for site in plain][0] == ("tests/test_cli.py", 5) def test_edit_examples_prefer_a_test_named_for_the_related_target() -> None: diff --git a/tests/unit/test_code_test_gate.py b/tests/unit/test_code_test_gate.py index 0f8a3f5c3f9..e2fccc4fdaa 100644 --- a/tests/unit/test_code_test_gate.py +++ b/tests/unit/test_code_test_gate.py @@ -834,25 +834,64 @@ async def test_a_definition_asked_by_name_has_the_links_of_a_diff_that_edits_it( assert by_name.states == {"sA": "linked"} # the walk seeded the definition and the neighbours its file's other definitions assert repo.neighbor_ids == ["sB"] - # a node keeps the kind of the edge that reached it, a call ahead of a class relation - from server.code.app.symbol.test_links import definition_links - - repo.callers["sA"] = [ - _edge("tO", "sA", "FakeA::f", "src/tests/gtest_fake.cpp", kind="overrides"), - _edge("tC", "sA", "TEST(A, f)", "src/tests/gtest_a.cpp", kind="overrides"), - _edge("tC", "sA", "TEST(A, f)", "src/tests/gtest_a.cpp"), - ] - _, _, links = await definition_links(repo, "o", "n", [dict(repo.symbols[0])], depth=1) - assert {sid: n["edge_kind"] for sid, n in links.impacted.items()} == { - "tO": "overrides", - "tC": "calls", - } # a definition in a test file has no test links: nothing is read in_test = _sym("tT", "TEST_F(Parts, x)", "src/tests/gtest_parts.cpp", 1, 9) empty = await definition_gate(repo, "o", "n", [in_test], depth=2, limit=30) assert empty.tests == [] and empty.states == {} +async def test_a_node_keeps_the_chain_of_calls_that_links_it_to_a_definition(intel) -> None: + """Every node of the walk is a link; `call_hop` and `call_via` are on the ones a chain + of calls alone links, with what the chain ends at.""" + from server.code.app.symbol.test_links import definition_links + + def test(sid: str, to: str, name: str, kind: str = "calls") -> dict[str, Any]: + return _edge(sid, to, f"tests.test_w::{name}", "tests/test_w.py", kind=kind) + + repo = _py_repo() + repo.symbols.append(_sym("fN", "pkg.w::helper::inner", "pkg/w.py", 46, 48)) + repo.callers = { + "cW": [test("t1", "cW", "test_builds"), test("cS", "cW", "Sub", "inherits")], + "cS": [test("t3", "cS", "test_builds_sub")], + "fH": [test("t2", "fH", "test_helper")], + "mR": [ + test("tO", "mR", "Fake::render", "overrides"), + test("tB", "mR", "Both::render", "overrides"), + test("tC", "mR", "Calls::render", "overrides"), + test("tC", "mR", "Calls::render"), + _edge("fP", "mR", "pkg.w::page", "pkg/w.py"), + ], + "tO": [test("t4", "tO", "test_fake")], + "fP": [test("tB", "fP", "Both::render")], + } + + async def chains(sid: str) -> dict[str, tuple[int, int | None, str | None]]: + row = next(dict(s) for s in repo.symbols if s["symbol_id"] == sid) + _, _, links = await definition_links(repo, "o", "n", [row], depth=2) + return { + k: (n["hop"], n.get("call_hop"), n.get("call_via")) for k, n in links.impacted.items() + } + + # a constructor: the test that builds the class, and the one that builds a subclass, + # which itself is no call + assert await chains("mI") == { + "t1": (1, 1, "constructor"), + "cS": (1, None, None), + "t3": (2, 2, "constructor"), + } + # a nested function: the chain ends at the function it is defined in + assert await chains("fN") == {"t2": (1, 1, "enclosing")} + # an override carries no chain, and neither does a caller of the override; a node an + # override reached first keeps the chain a later hop finds, and a call at the same hop + assert await chains("mR") == { + "tO": (1, None, None), + "tB": (1, 2, ""), + "tC": (1, 1, ""), + "fP": (1, 1, ""), + "t4": (2, None, None), + } + + async def test_edit_context_names_the_gates_tests_and_state_for_a_definition(intel) -> None: from server.code.app.symbol.symbol import _test_links diff --git a/tests/unit/tunable_constants.txt b/tests/unit/tunable_constants.txt index c691fbda0bc..e49b2368e94 100644 --- a/tests/unit/tunable_constants.txt +++ b/tests/unit/tunable_constants.txt @@ -86,8 +86,6 @@ server/code/app/conventions.py::_MAX_SETTINGS server/code/app/conventions.py::_MAX_SRC_FILES server/code/app/conventions.py::_MAX_TOUCHED server/code/app/conventions.py::_MAX_WIDE -server/code/app/coverage.py::_DEPTH2_MAX_INTERMEDIATES -server/code/app/coverage.py::_EDGE_LIMIT server/code/app/coverage.py::_GLOB_LEG_ROWS server/code/app/coverage.py::_PART_LIMIT server/code/app/grep.py::_GREP_RESERVE_MS @@ -169,10 +167,10 @@ server/code/app/symbol/dispatch.py::PROBE_ERROR_TTL_S server/code/app/symbol/edges.py::_IMPACT_READ_LIMIT server/code/app/symbol/enclosing.py::_ENCLOSING_BODY_CONCURRENCY server/code/app/symbol/enclosing.py::_ENCLOSING_BODY_MAX_SYMBOLS -server/code/app/symbol/gate.py::_GATE_READ_LIMIT server/code/app/symbol/hierarchy.py::_HIERARCHY_LIMIT server/code/app/symbol/neighbours.py::_DOCUMENTED_IN_MAX server/code/app/symbol/neighbours.py::_NEIGHBOUR_MAX_ANCHORS +server/code/app/symbol/test_links.py::READ_LIMIT server/code/app/symbol/verify.py::BFS_MAX_VISITED server/code/app/symbol/verify.py::_BFS_READ_LIMIT server/code/app/symbol_context.py::MAX_NEAR_PATHS From 34dc256ad83a268f1f1e92f94c28559294ba3ef2 Mon Sep 17 00:00:00 2001 From: Lareb Zafar Date: Sun, 29 Nov 2026 05:51:00 +0530 Subject: [PATCH 3/3] code.impact links tests to source definitions only, and a payload file is named after no module A diff that also edits a test file seeded the test links of code.impact with that file's functions, so impacted_tests listed the tests that call a changed test helper and code.test_gate did not. The diff shape now hands the links the definitions of source files only; the radius is still seeded by every touched function. A Python file under testdata/, fixtures/, __fixtures__/ or __snapshots__/ matched the mirror rule by its name or its directory and could lead the test modules named after a source module. The rule now names no payload file after a module, as is_test_unit_path already reads those trees. Co-Authored-By: Claude Fable 5.2 Signed-off-by: Lareb Zafar --- server/code/app/symbol/impact.py | 15 ++++++++++----- server/code/domain/index/test_conventions.py | 5 ++++- tests/unit/test_code_coverage_unit_tests.py | 12 ++++++++++++ tests/unit/test_code_test_gate.py | 14 ++++++++++++++ 4 files changed, 40 insertions(+), 6 deletions(-) diff --git a/server/code/app/symbol/impact.py b/server/code/app/symbol/impact.py index d17063baa1f..00f0712b3d2 100644 --- a/server/code/app/symbol/impact.py +++ b/server/code/app/symbol/impact.py @@ -155,10 +155,10 @@ async def _diff_seeds( ]: """Diff shape: (seed paths, the index's function rows in them, the touched rows, the ids the walk seeds, the definitions the diff touches and those of its files as - code.test_gate reads them: classes included, the index's rows only). The changed - lines narrow whole files to the functions actually edited, which is what makes this - sharper than a flat file-level reaching set; the functions an open PR adds are seeds - the index lacks, appended as tier `overlay`.""" + code.test_gate reads them: classes included, the index's rows only, none of a test + file). The changed lines narrow whole files to the functions actually edited, which is + what makes this sharper than a flat file-level reaching set; the functions an open PR + adds are seeds the index lacks, appended as tier `overlay`.""" with code_span("impact.diff_parse") as sp: hunks, _, changes = _parse_unified_diff_full(in_diff) if in_diff else ({}, {}, {}) span_attrs(sp, results=len(hunks)) @@ -173,7 +173,12 @@ async def _diff_seeds( # Classes are read so that a line of a class body is not taken for the method below it; # the radius is seeded by functions only. touched_rows, _, _ = _touched_rows_for_diff(definitions, changes) - gate_rows = (touched_rows, definitions) + # The radius is seeded by a changed test function too. The test links are not: a + # changed test file is a row on its own evidence, as in code.test_gate. + gate_rows = ( + [r for r in touched_rows if not is_test_path(str(r["path"]))], + [r for r in definitions if not is_test_path(str(r["path"]))], + ) touched_rows = [r for r in touched_rows if str(r.get("kind")) != "class"] seed_ids = list(dict.fromkeys(sid for r in touched_rows for sid in r["tier_ids"])) symbol_rows = [r for r in definitions if str(r.get("kind")) != "class"] diff --git a/server/code/domain/index/test_conventions.py b/server/code/domain/index/test_conventions.py index fb750181e57..78ab23eafd2 100644 --- a/server/code/domain/index/test_conventions.py +++ b/server/code/domain/index/test_conventions.py @@ -224,13 +224,16 @@ def mirror_rule(src_path: str, test_path: str) -> str: `app_tests.py` for `app.py`), `directory` when a directory of its path is named ``, `_tests` or `test_`, `bare_name` when it has the module's own name (`tests/apps/app.py`). A directory that holds the module itself names nothing: - `pkg/__init__.py` is in `pkg/`, as is every test under it.""" + `pkg/__init__.py` is in `pkg/`, as is every test under it. A file under a payload + directory (`testdata/`, `fixtures/`) is data and not a test, whatever its name.""" stem = mirror_stem(src_path) src = src_path.strip().lstrip("./") if not stem or test_path == src or not test_path.endswith(".py"): return "" segs = _segments(test_path) dirs, src_dirs = segs[:-1], _segments(src)[:-1] + if any(d in _PAYLOAD_SEGMENTS for d in dirs): + return "" name, affixed = _mirrored_name(segs[-1][:-3].lower()) if name == stem and affixed: return MIRROR_FILE diff --git a/tests/unit/test_code_coverage_unit_tests.py b/tests/unit/test_code_coverage_unit_tests.py index 86658868e3d..97dc633b320 100644 --- a/tests/unit/test_code_coverage_unit_tests.py +++ b/tests/unit/test_code_coverage_unit_tests.py @@ -195,6 +195,18 @@ def test_a_directory_that_holds_the_module_names_no_test_after_it() -> None: assert tcv.mirror_rule("src/flask/app.py", "tests/test_appctx.py") == "" +def test_a_file_under_a_payload_directory_is_named_after_no_module() -> None: + # data under testdata/ or fixtures/ is no test, whatever its name or its directory's + tests = [ + "tests/fixtures/test_app.py", + "tests/testdata/app/test_x.py", + "tests/app/__fixtures__/app.py", + "tests/test_app.py", + ] + assert tcv.mirror_test_paths("src/flask/app.py", tests) == ["tests/test_app.py"] + assert tcv.mirror_rule("src/flask/app.py", "tests/fixtures/test_app.py") == "" + + # ---- the legs over a stub repository ------------------------------------------ STORE = "store/store.go" diff --git a/tests/unit/test_code_test_gate.py b/tests/unit/test_code_test_gate.py index e2fccc4fdaa..7923e3ffd0e 100644 --- a/tests/unit/test_code_test_gate.py +++ b/tests/unit/test_code_test_gate.py @@ -952,3 +952,17 @@ async def top_reviewers(self, org, ns, *, days=180, limit=6): assert [t["why"] for t in out.impacted_tests] == ["static_call", "test_map", "file_neighbor"] # the score still counts the test map's rows only assert out.blast_radius_score == round(len(out.impacted_symbols) / 50.0 + 1 / 40.0, 3) + # A diff that edits a test helper too: the helper's file is a row of its own, and the + # test that calls the helper is in the radius and not among the tests, as in the gate. + repo.symbols.append(_sym("tH", "make_parts", "src/tests/helpers.cpp", 1, 9)) + repo.callers["tH"] = [_edge("tO", "tH", "TEST_F(Other, y)", "src/tests/gtest_other.cpp")] + both = _DIFF + _one_line("src/tests/helpers.cpp", 3) + gate = await _gate(intel, repo, diff=both, depth=2) + with patch.object(impact, "CodeRepo", return_value=repo): + out = await impact.handle_code_impact( + CodeImpactInput(org="o", namespace="n", diff=both, depth=2) + ) + assert out.impacted_tests == gate.tests + assert [t["why"] for t in out.impacted_tests][0] == "changed_test" + assert "src/tests/gtest_other.cpp" not in [t["test_path"] for t in out.impacted_tests] + assert "TEST_F(Other, y)" in [s["qualified_name"] for s in out.impacted_symbols]