diff --git a/docs/architecture/rolling-upgrades.md b/docs/architecture/rolling-upgrades.md
index aa9ce62aed..73e4ff30cf 100644
--- a/docs/architecture/rolling-upgrades.md
+++ b/docs/architecture/rolling-upgrades.md
@@ -1192,6 +1192,35 @@ See the [participant lifecycle baseline](cells.md#participant-lifecycle-baseline
worker build. No gate holds the rollout. `tests/unit/test_worker_source_copies.py`
checks N's side, and the mixed-version gate does not check this rule.
+78. **A commit an N-1 ingest worker is publishing** (`code.branch.diff`'s `heads_stable`):
+ N's worker sets the commit's slice cursor before its first row and clears it after
+ `git_head` moves. N-1 sets none for a commit of one round, and clears the cursor
+ before `git_head` moves, so a missing cursor does not show that N-1 has finished. A
+ code-only release keeps the workers on N-1 until it stops (rule 6). N's reader
+ therefore fences on what the read itself captured, not on the writers' clocks, and the
+ fence has two halves because a write can land on either side of the read. The rows it
+ founded the answer on — the tree-sitter `code_symbols` rows and the `code_chunks` rows
+ under the served embedding model — are digested when they are read and read again after
+ them, which catches a write that lands while the read runs. Each of those rows names the
+ commit it was written at, and every one of those commits must be the head or in its
+ history: one `rev-list` against the head catches a write that had already landed
+ before the read began, which is the N-1 shape, since N-1 flushes a round's chunk rows
+ before its symbol and file rows. A commit the mirror does not hold is unverifiable and
+ counted as neither, and so is ancestry git cannot read (a head the mirror lacks). The files are compared one way with the blobs the head's tree holds
+ at exactly the manifest's paths — a row whose path the tree does not hold, or whose blob
+ differs, is another commit's file, and a tree path with no live row is one the index
+ declines to hold (the denylist, a binary, a path outside the configured prefixes, a
+ submodule), so a settled partial index does not read as a publish. A deleted file has
+ no live row to compare, so a tombstone stamped after the head's row was written counts
+ as another commit's whatever version its writer gave it. The version count
+ over the three tables stays as the cheap first exclusion; it is not the fence, because a
+ previous build whose clock trails the head's is invisible to it. Without the mirror, the
+ two git legs are left out and the digest and head checks stand.
+ `tests/unit/test_code_branch_diff.py` replays N-1's write order on both sides of the
+ read; `tests/integration/test_code_branch_diff.py` runs its slower-clock apply against a
+ real head and reads the capture off the store. The mixed-version gate does not check
+ this rule.
+
## What checks them
`scripts/gates/mixed_version.py` (`make test-mixed-version`, the `mixed-version` CI job,
diff --git a/docs/features/code-index/history-and-prs.md b/docs/features/code-index/history-and-prs.md
index 82eef761b2..db89c3b27e 100644
--- a/docs/features/code-index/history-and-prs.md
+++ b/docs/features/code-index/history-and-prs.md
@@ -157,6 +157,7 @@ no merged-date search, so the branch is matched on each PR's `base.ref` and
| Before I open a PR: does one like it already exist? | `code.pr_check` |
| Which merged PRs could have introduced this bug? | `code.bisect_candidates` |
| Which release branches still carry the bug a fix removed? | `code.backport_gap` (one fix), `code.backport_gaps` (every labelled fix) |
+| How do two branches differ, and which others change the same code? | `code.branch.diff` (`overlaps` for the others) |
| Which CI build first carried this commit? | `code.first_build` |
Arguments are in the [operations reference](../../reference/operations.md#code).
@@ -587,6 +588,56 @@ on, effective only with `LOOM_CODE_PR_HISTORY_ENABLED`); the op reads that table
`wanted_only: false` includes unlabelled fixes. Every branch namespace is authorized
before it is read, failing closed.
+## Branch diff
+
+`code.branch.diff` takes `namespace`, `against` (another namespace, usually the trunk's) and
+an optional `path_prefix`, and answers what the two indexes hold differently: the files
+added, removed and changed (judged by blob), then the definitions added, removed or changed
+on those paths, from the tree-sitter symbol rows. A definition counts as changed when its
+signature, the length of its line span or its text differs (`reasons`: `signature`, `size`,
+`body`). The text is compared through the content hashes of the chunks that carry the
+definition's text, so a one-line fix inside a body is a change: a function or container
+chunk is the definition's by its first tag, and a chunk that packs several SQL test
+statements (with statement records on) is every one of those statements', since its text
+cannot say which of them changed. One that only moved down the file because lines were
+added above it is counted in `definitions_moved` and not listed. A definition no chunk
+carries (one nested in another's chunk, or a body-less declaration a container's skeleton
+lists) is compared by signature and span only; the enclosing definition carries its edit.
+
+It compares the two **indexed heads, tip to tip**, and pins both `git_head` values in the
+answer (`head`, `base`). A change already on `against` and absent from `namespace` shows as
+a removal, so `divergence` states how the heads relate: their `merge_base`, and `ahead` and
+`behind`, the commits each head has that the other lacks. A branch with `behind: 0` is up
+to date with `against`, and its removals are its own; otherwise some may be additions made
+on `against` after the fork. The divergence is read from the git mirror both namespaces
+share, never cloned or fetched for this: two git reads, each bounded at 2 s. Without that
+mirror on the serving process, with a head the mirror lacks, or when git fails or runs out
+of time, it is `unknown` with a `reason`, and the rest of the answer stands. If a side's
+head moves while the rows are read, or the side is partway through publishing a
+commit (its rows hold files, definitions or chunk text of a commit its head does not name yet),
+`heads_stable` is false and the answer may mix two commits of that side. The same holds
+for the head of every overlap row. A publish is decided by what the read captured, not by
+the writers' clocks: the definition rows the answer is built from are digested when they are
+read and read again after them, so a row that moves under the read is caught whatever
+version its worker stamped, and every commit those rows name must be the head's, so a row
+that had already landed before the read began is caught too; the files are compared, one
+way, with the blobs
+the head's tree holds at exactly the manifest's paths, so a row whose blob is not the head's
+is another commit's file while a file the index declines to hold — a binary, a path outside
+the configured prefixes — is not. Without the repository's mirror on the serving process,
+the tree comparison is left out and the definition capture and head checks stand.
+
+Both namespaces are authorized before any read, failing closed: one the caller cannot read
+refuses the call, as in every named fan-out. `overlaps: true` adds the other namespaces of
+the same repository that change a definition `namespace` changes against the same
+`against`; a candidate the caller cannot read, or that has no index yet, is skipped and
+named in `overlaps_skipped`. At most 16 readable candidates are compared; an unreadable one
+takes no slot. Each list is cut at `limit`
+(default 100, at most 500) with its total beside it; there is no continuation, so narrow a
+large answer with `path_prefix`. A side that holds more than 200,000 files under the prefix
+refuses and asks for a narrower one, and the definitions of at most the first 2,000
+differing paths are read (`definitions_complete` says when more differ).
+
## First build
`code.first_build` takes a commit `sha` or a merged PR's `pr_number` and answers which CI
diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md
index 05ff6ec9e7..248d983517 100644
--- a/docs/reference/configuration.md
+++ b/docs/reference/configuration.md
@@ -307,6 +307,15 @@ One code namespace indexes one repository. No repository is configured by defaul
| `LOOM_CODE_CONVENTIONS_DIFF_MAX_BYTES` | `int` | `1500000` | | Max bytes of a PR patch code.conventions reads from the mirror; a longer patch is cut at a file boundary and flagged `diff_truncated`. |
| `LOOM_CODE_CONVENTIONS_WIDE_CALLER_DIRS` | `int` | `5` | | A touched function is "widely called" when its hop-1 callers span more than this many `src/
` directories (rule wide_callers_untested). |
+### code.branch.diff
+
+| Variable | Type | Default | Live | Meaning |
+| --- | --- | --- | --- | --- |
+| `LOOM_CODE_BRANCH_DIFF_MAX_MANIFEST_FILES` | `int` | `200000` | | Files one side's manifest may hold under the path prefix before the call asks for a narrower `path_prefix` (the largest indexed repository holds about 40 thousand). |
+| `LOOM_CODE_BRANCH_DIFF_MAX_DEFINITION_PATHS` | `int` | `2000` | | Differing paths whose definitions are read; the rest are counted and the answer says `definitions_complete: false`. |
+| `LOOM_CODE_BRANCH_DIFF_MAX_OVERLAP_NAMESPACES` | `int` | `16` | | Readable sibling namespaces `overlaps` compares; the rest are named `over_cap`. |
+| `LOOM_CODE_BRANCH_DIFF_DIVERGENCE_TIMEOUT_S` | `float` | `2.0` | | Seconds each git read of `divergence` (the merge-base and the ahead/behind count) may take before the answer is `unknown`. |
+
### Multi-repo and self-service
| Variable | Type | Default | Live | Meaning |
diff --git a/docs/reference/operations.md b/docs/reference/operations.md
index 00f1235c5a..86671fa9f5 100644
--- a/docs/reference/operations.md
+++ b/docs/reference/operations.md
@@ -124,7 +124,7 @@ python scripts/codegen/docs_reference.py --check # exit 1 when a region is stal
-387 operations in 43 groups. Every op is served at `POST /v1/` and as the MCP tool `loom_` (dots become underscores).
+388 operations in 43 groups. Every op is served at `POST /v1/` and as the MCP tool `loom_` (dots become underscores).
Columns: **Role** is the minimum role (`viewer` < `writer` < `admin` < `org_admin` < `platform_admin`); **Kind** is `read` (idempotent, viewer, unaudited, writes nothing — MCP `readOnlyHint`), `idempotent` (safe to retry) or `write`; **Listed under `all`** says whether an MCP connection on the `all` toolset lists the op in `tools/list` (`code.*` ops only with `LOOM_MCP_CODE_TOOLS=true`); an op marked `no` is still callable by name or through `loom_op`, unless it is hidden from MCP; **Audit** marks ops that leave an `audit_log` row.
@@ -192,6 +192,7 @@ Fields for every `code` op: [operations/code.md](operations/code.md).
| [`code.backport_gaps`](operations/code.md#codebackport_gaps) | The set-wide backport report: which merged fixes labelled for backport does a release branch still owe? | viewer | read | no | |
| [`code.bisect_candidates`](operations/code.md#codebisect_candidates) | Rank PRs that may have introduced a bug; Loom does not test or reproduce it. | viewer | read | no | |
| [`code.blame_range`](operations/code.md#codeblame_range) | Which merged PRs last touched these lines, between release A and B? | viewer | read | no | |
+| [`code.branch.diff`](operations/code.md#codebranchdiff) | The files, then the definitions, that `namespace` has and `against` lacks or holds differently: both branches' indexed heads compared tip to tip, files by blob. | viewer | read | no | |
| [`code.calibrate`](operations/code.md#codecalibrate) | Derive this namespace's calibration from the authored probe corpus and persist it: the code-specific abstention thresholds and the confident-hit cosine at the top of the `retrieval_confidence` scale. | admin | write | no | yes |
| [`code.callees`](operations/code.md#codecallees) | What does this symbol call — forward call edges (depth<=3), tier-marked like code.callers. | viewer | read | no | |
| [`code.callers`](operations/code.md#codecallers) | Find callers before editing shared code. | viewer | read | yes | |
diff --git a/docs/reference/operations/code.md b/docs/reference/operations/code.md
index 8e6e9b959d..e8a0e44152 100644
--- a/docs/reference/operations/code.md
+++ b/docs/reference/operations/code.md
@@ -238,6 +238,47 @@ Which merged PRs last touched these lines, between release A and B?
| `tracker_unavailable` | `bool` | True when a tracker is bound but its read failed; the candidates stand without `has_test` / `caused_by` / `fixes`. |
| `trace_run_id` | `str` | Id of this call's trace row; pass it to `code.outcome`. |
+## `code.branch.diff`
+
+The files, then the definitions, that `namespace` has and `against` lacks or holds differently: both branches' indexed heads compared tip to tip, files by blob.
+
+`POST /v1/code.branch.diff` · MCP `loom_code_branch_diff` · role `viewer` · read · not listed under the MCP `all` toolset
+
+| Input field | Type | Default | Meaning |
+| --- | --- | --- | --- |
+| `org` | `str` | `''` | The tenant (first element of the identity tuple). |
+| `namespace` | `str` | `''` | The namespace the op reads or writes. |
+| `agent` | `str` | `'-'` | The writing or reading agent; `'-'` or `'*'` means any agent where the op allows it. |
+| `user_id` | `str` | `'-'` | The end user the row belongs to; `'-'` for none. |
+| `consumer` | `str` | `''` | trace attribution: which integration is calling (clickgap\|claude-code\|…) |
+| `against` | `str` | required | The namespace to compare `namespace` against, usually the trunk's. |
+| `path_prefix` | `str` | `''` | Compare only the paths under this prefix; '' compares every indexed path. |
+| `overlaps` | `bool` | `False` | Also name the other readable namespaces of this repository that change the same definitions against the same base. |
+| `limit` | `int` | `100` | At most this many rows in each list of the answer (1..500). |
+
+| Output field | Type | Meaning |
+| --- | --- | --- |
+| `compares` | `str` | What the answer compares, in words: the two indexed heads, tip to tip. |
+| `head` | `BranchDiffSide \| None` | `namespace`'s side, then `against`'s: each head is the commit pinned for every row below. |
+| `base` | `BranchDiffSide \| None` | |
+| `divergence` | `BranchDiffDivergence \| None` | The two heads' merge-base and how far each is from it, so a removal can be read as this branch removing a path or the trunk adding it after the fork. |
+| `heads_stable` | `bool` | False when either side's indexed head, or an overlap row's, moved while the rows were read; was partway through publishing a commit; holds definition rows another commit's — changed under the read, whatever version their writer stamped… |
+| `files_added` | `list[str]` | Paths `namespace` has and `against` lacks, removed paths the other way round, and paths both have with a different blob; each list is sorted and cut at `limit`. |
+| `files_removed` | `list[str]` | |
+| `files_changed` | `list[str]` | |
+| `files_added_total` | `int` | |
+| `files_removed_total` | `int` | |
+| `files_changed_total` | `int` | |
+| `definitions` | `list[BranchDiffDefinition]` | The definitions (tree-sitter tier) on the added, removed and changed paths that one side has and the other lacks or holds with another signature, span length or text, by path then name, cut at `limit`. |
+| `definitions_total` | `int` | |
+| `definitions_moved` | `int` | Definitions whose only difference is their start line. |
+| `definitions_complete` | `bool` | False when more paths differ than the definition read covers; the definitions listed are those of the first paths in order. |
+| `truncated` | `bool` | True when any list above was cut at `limit`. |
+| `overlaps` | `list[BranchDiffOverlap]` | With `overlaps`: the other readable namespaces of the repository that change a definition `namespace` changes, against the same `against`. |
+| `overlaps_skipped` | `list[dict[str, str]]` | Namespaces the overlap read left out, each {namespace, reason}: `not_readable`, `not_indexed` or `over_cap`. |
+| `as_of` | `dict[str, Any]` | Provenance and freshness of `namespace`'s index (branch, commit, lag_commits, stale). |
+| `against_as_of` | `dict[str, Any]` | The same for `against`'s index. |
+
## `code.calibrate`
Derive this namespace's calibration from the authored probe corpus and persist it: the code-specific abstention thresholds and the confident-hit cosine at the top of the `retrieval_confidence` scale.
diff --git a/docs/reference/status.md b/docs/reference/status.md
index 2c165f5b1a..8c3c28d599 100644
--- a/docs/reference/status.md
+++ b/docs/reference/status.md
@@ -25,7 +25,7 @@ serves is in the [MCP reference](./mcp.md#toolsets).
-387 operations, 273 of them experimental.
+388 operations, 274 of them experimental.
| Group | Stable | Experimental |
| --- | --- | --- |
@@ -35,7 +35,7 @@ serves is in the [MCP reference](./mcp.md#toolsets).
| `audit` | 0 | [`audit.list`](operations/audit.md#auditlist) |
| `blacklist` | 1 | [`blacklist.add`](operations/blacklist.md#blacklistadd), [`blacklist.remove`](operations/blacklist.md#blacklistremove), [`blacklist.sweep`](operations/blacklist.md#blacklistsweep) |
| `calibration` | 0 | [`calibration.get`](operations/calibration.md#calibrationget) |
-| `code` | 28 | [`code.backport_gap`](operations/code.md#codebackport_gap), [`code.backport_gaps`](operations/code.md#codebackport_gaps), [`code.bisect_candidates`](operations/code.md#codebisect_candidates), [`code.blame_range`](operations/code.md#codeblame_range), [`code.callees`](operations/code.md#codecallees), [`code.conventions`](operations/code.md#codeconventions), [`code.coverage_claim`](operations/code.md#codecoverage_claim), [`code.edit_context`](operations/code.md#codeedit_context), [`code.examples`](operations/code.md#codeexamples), [`code.files`](operations/code.md#codefiles), [`code.first_build`](operations/code.md#codefirst_build), [`code.map`](operations/code.md#codemap), [`code.outline`](operations/code.md#codeoutline), [`code.path_guards`](operations/code.md#codepath_guards), [`code.pr_check`](operations/code.md#codepr_check), [`code.read`](operations/code.md#coderead), [`code.reindex`](operations/code.md#codereindex), [`code.repo.set_access`](operations/code.md#codereposet_access), [`code.repo.set_source`](operations/code.md#codereposet_source), [`code.review_brief`](operations/code.md#codereview_brief), [`code.setting_facts`](operations/code.md#codesetting_facts), [`code.symbol_history`](operations/code.md#codesymbol_history), [`code.test_gate`](operations/code.md#codetest_gate), [`code.test_home`](operations/code.md#codetest_home), [`code.tests_for`](operations/code.md#codetests_for), [`code.verify_citations`](operations/code.md#codeverify_citations) |
+| `code` | 28 | [`code.backport_gap`](operations/code.md#codebackport_gap), [`code.backport_gaps`](operations/code.md#codebackport_gaps), [`code.bisect_candidates`](operations/code.md#codebisect_candidates), [`code.blame_range`](operations/code.md#codeblame_range), [`code.branch.diff`](operations/code.md#codebranchdiff), [`code.callees`](operations/code.md#codecallees), [`code.conventions`](operations/code.md#codeconventions), [`code.coverage_claim`](operations/code.md#codecoverage_claim), [`code.edit_context`](operations/code.md#codeedit_context), [`code.examples`](operations/code.md#codeexamples), [`code.files`](operations/code.md#codefiles), [`code.first_build`](operations/code.md#codefirst_build), [`code.map`](operations/code.md#codemap), [`code.outline`](operations/code.md#codeoutline), [`code.path_guards`](operations/code.md#codepath_guards), [`code.pr_check`](operations/code.md#codepr_check), [`code.read`](operations/code.md#coderead), [`code.reindex`](operations/code.md#codereindex), [`code.repo.set_access`](operations/code.md#codereposet_access), [`code.repo.set_source`](operations/code.md#codereposet_source), [`code.review_brief`](operations/code.md#codereview_brief), [`code.setting_facts`](operations/code.md#codesetting_facts), [`code.symbol_history`](operations/code.md#codesymbol_history), [`code.test_gate`](operations/code.md#codetest_gate), [`code.test_home`](operations/code.md#codetest_home), [`code.tests_for`](operations/code.md#codetests_for), [`code.verify_citations`](operations/code.md#codeverify_citations) |
| `collection` | 0 | [`collection.budget_set`](operations/collection.md#collectionbudget_set), [`collection.create`](operations/collection.md#collectioncreate), [`collection.delete`](operations/collection.md#collectiondelete), [`collection.list`](operations/collection.md#collectionlist), [`collection.move`](operations/collection.md#collectionmove) |
| `conflicts` | 2 | [`conflicts.allowlist_list`](operations/conflicts.md#conflictsallowlist_list), [`conflicts.allowlist_remove`](operations/conflicts.md#conflictsallowlist_remove), [`conflicts.propose_revision`](operations/conflicts.md#conflictspropose_revision) |
| `connection` | 0 | [`connection.disconnect`](operations/connection.md#connectiondisconnect), [`connection.list`](operations/connection.md#connectionlist) |
diff --git a/loom.example.yaml b/loom.example.yaml
index 701871ecbc..ba45350e0c 100644
--- a/loom.example.yaml
+++ b/loom.example.yaml
@@ -1126,6 +1126,25 @@ settings:
# many `src/` directories (rule wide_callers_untested). [restart]
# code_conventions_wide_caller_dirs: 5
+ # --- code.branch.diff ---
+
+ # Files one side's manifest may hold under the path prefix before the call asks for a
+ # narrower `path_prefix` (the largest indexed repository holds about 40 thousand).
+ # [restart]
+ # code_branch_diff_max_manifest_files: 200000
+
+ # Differing paths whose definitions are read; the rest are counted and the answer says
+ # `definitions_complete: false`. [restart]
+ # code_branch_diff_max_definition_paths: 2000
+
+ # Readable sibling namespaces `overlaps` compares; the rest are named `over_cap`.
+ # [restart]
+ # code_branch_diff_max_overlap_namespaces: 16
+
+ # Seconds each git read of `divergence` (the merge-base and the ahead/behind count)
+ # may take before the answer is `unknown`. [restart]
+ # code_branch_diff_divergence_timeout_s: 2.0
+
# --- multi-repo and self-service ---
# Repositories added from the Repositories page (loom.code_repos) merge with the
diff --git a/schemas/loom-settings.schema.json b/schemas/loom-settings.schema.json
index acce2a2bb2..6f1549322d 100644
--- a/schemas/loom-settings.schema.json
+++ b/schemas/loom-settings.schema.json
@@ -846,6 +846,30 @@
"type": "string",
"description": "Comma-separated GitHub logins of autonomous agents that author pull requests or issues in the indexed repositories, beyond the generic bots (dependabot, github-actions, …). They are never suggested as owners, their names are not tracker entities, and bisect ignores the lines they sign."
},
+ "code_branch_diff_divergence_timeout_s": {
+ "default": 2.0,
+ "exclusiveMinimum": 0,
+ "type": "number",
+ "description": "Seconds each git read of `divergence` (the merge-base and the ahead/behind count) may take before the answer is `unknown`."
+ },
+ "code_branch_diff_max_definition_paths": {
+ "default": 2000,
+ "minimum": 1,
+ "type": "integer",
+ "description": "Differing paths whose definitions are read; the rest are counted and the answer says `definitions_complete: false`."
+ },
+ "code_branch_diff_max_manifest_files": {
+ "default": 200000,
+ "minimum": 1,
+ "type": "integer",
+ "description": "Files one side's manifest may hold under the path prefix before the call asks for a narrower `path_prefix` (the largest indexed repository holds about 40 thousand)."
+ },
+ "code_branch_diff_max_overlap_namespaces": {
+ "default": 16,
+ "minimum": 1,
+ "type": "integer",
+ "description": "Readable sibling namespaces `overlaps` compares; the rest are named `over_cap`."
+ },
"code_calibration_enabled": {
"default": false,
"type": "boolean",
diff --git a/sdk/go/client.gen.go b/sdk/go/client.gen.go
index 58cf76835f..d6c74250ed 100644
--- a/sdk/go/client.gen.go
+++ b/sdk/go/client.gen.go
@@ -116,6 +116,18 @@ type BlacklistSweepInput = wire.BlacklistSweepInput
// BlacklistSweepOutput is the response from blacklist.sweep.
type BlacklistSweepOutput = wire.BlacklistSweepOutput
+// BranchDiffDefinition is a model used by Loom operations.
+type BranchDiffDefinition = wire.BranchDiffDefinition
+
+// BranchDiffDivergence is a model used by Loom operations.
+type BranchDiffDivergence = wire.BranchDiffDivergence
+
+// BranchDiffOverlap is a model used by Loom operations.
+type BranchDiffOverlap = wire.BranchDiffOverlap
+
+// BranchDiffSide is a model used by Loom operations.
+type BranchDiffSide = wire.BranchDiffSide
+
// BriefCheckout is a model used by Loom operations.
type BriefCheckout = wire.BriefCheckout
@@ -227,6 +239,12 @@ type CodeBlameRangeInput = wire.CodeBlameRangeInput
// CodeBlameRangeOutput is the response from code.blame_range.
type CodeBlameRangeOutput = wire.CodeBlameRangeOutput
+// CodeBranchDiffInput is the request to code.branch.diff.
+type CodeBranchDiffInput = wire.CodeBranchDiffInput
+
+// CodeBranchDiffOutput is the response from code.branch.diff.
+type CodeBranchDiffOutput = wire.CodeBranchDiffOutput
+
// CodeCalibrateInput is the request to code.calibrate.
type CodeCalibrateInput = wire.CodeCalibrateInput
@@ -3751,6 +3769,23 @@ func (s CodeService) BlameRange(ctx context.Context, in CodeBlameRangeInput) (*C
return callOperation[CodeBlameRangeOutput](s.client, ctx, "code.blame_range", in)
}
+// BranchDiff calls code.branch.diff.
+// Use WithInput to supply additional request fields.
+func (s CodeService) BranchDiff(ctx context.Context, against string, opts ...Option[CodeBranchDiffInput]) (*CodeBranchDiffOutput, error) {
+ in := applyOptions(opts)
+ in.Against = against
+ if in.Agent == nil && s.client.identity.Agent != "" {
+ in.Agent = Ptr(s.client.identity.Agent)
+ }
+ if in.Namespace == nil && s.client.identity.Namespace != "" {
+ in.Namespace = Ptr(s.client.identity.Namespace)
+ }
+ if in.Org == nil && s.client.identity.Org != "" {
+ in.Org = Ptr(s.client.identity.Org)
+ }
+ return callOperation[CodeBranchDiffOutput](s.client, ctx, "code.branch.diff", in)
+}
+
// Calibrate calls code.calibrate.
// Use WithInput to supply additional request fields.
func (s CodeService) Calibrate(ctx context.Context, opts ...Option[CodeCalibrateInput]) (*CodeCalibrateOutput, error) {
diff --git a/sdk/go/wire/models.gen.go b/sdk/go/wire/models.gen.go
index de8083f52a..b90e0a9dc6 100644
--- a/sdk/go/wire/models.gen.go
+++ b/sdk/go/wire/models.gen.go
@@ -1,5 +1,5 @@
// Code generated by scripts/codegen/sdk_go_gen.py; DO NOT EDIT.
-// Registry model schema SHA-256: 3d28b5ff8c04d8ec257339bb43f11d5200b25670e5bf7dcb5dfd4e242d679a11
+// Registry model schema SHA-256: 91ed9783d8c00ccdebb3528f27d359d87dfb36a982d3cd068a491d84a5552eff
// Package wire contains the Go requests and responses for Loom operations.
package wire
@@ -331,6 +331,46 @@ type BlacklistSweepOutput struct {
Error *string `json:"error,omitempty"`
}
+// BranchDiffDefinition is a model used by Loom operations.
+type BranchDiffDefinition struct {
+ Path string `json:"path"`
+ QualifiedName string `json:"qualified_name"`
+ Kind string `json:"kind"`
+ Change string `json:"change"`
+ Reasons *[]string `json:"reasons,omitempty"`
+ StartLine *int64 `json:"start_line,omitempty"`
+ EndLine *int64 `json:"end_line,omitempty"`
+ Signature *string `json:"signature,omitempty"`
+ BaseStartLine *int64 `json:"base_start_line,omitempty"`
+ BaseEndLine *int64 `json:"base_end_line,omitempty"`
+ BaseSignature *string `json:"base_signature,omitempty"`
+}
+
+// BranchDiffDivergence is a model used by Loom operations.
+type BranchDiffDivergence struct {
+ State *string `json:"state,omitempty"`
+ MergeBase *string `json:"merge_base,omitempty"`
+ Ahead *int64 `json:"ahead,omitempty"`
+ Behind *int64 `json:"behind,omitempty"`
+ Reason *string `json:"reason,omitempty"`
+}
+
+// BranchDiffOverlap is a model used by Loom operations.
+type BranchDiffOverlap struct {
+ Namespace string `json:"namespace"`
+ GitBranch *string `json:"git_branch,omitempty"`
+ GitHead string `json:"git_head"`
+ Definitions *[]map[string]json.RawMessage `json:"definitions,omitempty"`
+ DefinitionsTotal *int64 `json:"definitions_total,omitempty"`
+}
+
+// BranchDiffSide is a model used by Loom operations.
+type BranchDiffSide struct {
+ Namespace string `json:"namespace"`
+ GitBranch *string `json:"git_branch,omitempty"`
+ GitHead string `json:"git_head"`
+}
+
// BriefCheckout is a model used by Loom operations.
type BriefCheckout struct {
Dirty Optional[bool] `json:"dirty,omitempty"`
@@ -848,6 +888,47 @@ type CodeBlameRangeOutput struct {
TraceRunID *string `json:"trace_run_id,omitempty"`
}
+// CodeBranchDiffInput is the request to code.branch.diff.
+type CodeBranchDiffInput struct {
+ Org *string `json:"org,omitempty"`
+ Namespace *string `json:"namespace,omitempty"`
+ Agent *string `json:"agent,omitempty"`
+ UserID *string `json:"user_id,omitempty"`
+ Consumer *string `json:"consumer,omitempty"`
+ Against string `json:"against"`
+ PathPrefix *string `json:"path_prefix,omitempty"`
+ Overlaps *bool `json:"overlaps,omitempty"`
+ Limit *int64 `json:"limit,omitempty"`
+}
+
+// CodeBranchDiffOutput is the response from code.branch.diff.
+type CodeBranchDiffOutput struct {
+ IgnoredArgs *[]string `json:"ignored_args,omitempty"`
+ DidYouMean *map[string]string `json:"did_you_mean,omitempty"`
+ Mirrored *bool `json:"mirrored,omitempty"`
+ Degraded *[]string `json:"degraded,omitempty"`
+ Compares *string `json:"compares,omitempty"`
+ Head Optional[BranchDiffSide] `json:"head,omitempty"`
+ Base Optional[BranchDiffSide] `json:"base,omitempty"`
+ Divergence Optional[BranchDiffDivergence] `json:"divergence,omitempty"`
+ HeadsStable *bool `json:"heads_stable,omitempty"`
+ FilesAdded *[]string `json:"files_added,omitempty"`
+ FilesRemoved *[]string `json:"files_removed,omitempty"`
+ FilesChanged *[]string `json:"files_changed,omitempty"`
+ FilesAddedTotal *int64 `json:"files_added_total,omitempty"`
+ FilesRemovedTotal *int64 `json:"files_removed_total,omitempty"`
+ FilesChangedTotal *int64 `json:"files_changed_total,omitempty"`
+ Definitions *[]BranchDiffDefinition `json:"definitions,omitempty"`
+ DefinitionsTotal *int64 `json:"definitions_total,omitempty"`
+ DefinitionsMoved *int64 `json:"definitions_moved,omitempty"`
+ DefinitionsComplete *bool `json:"definitions_complete,omitempty"`
+ Truncated *bool `json:"truncated,omitempty"`
+ Overlaps *[]BranchDiffOverlap `json:"overlaps,omitempty"`
+ OverlapsSkipped *[]map[string]string `json:"overlaps_skipped,omitempty"`
+ AsOf *map[string]json.RawMessage `json:"as_of,omitempty"`
+ AgainstAsOf *map[string]json.RawMessage `json:"against_as_of,omitempty"`
+}
+
// CodeCalibrateInput is the request to code.calibrate.
type CodeCalibrateInput struct {
Org *string `json:"org,omitempty"`
diff --git a/sdk/python/loom/client.py b/sdk/python/loom/client.py
index 2ef9d024b8..602659ffb1 100644
--- a/sdk/python/loom/client.py
+++ b/sdk/python/loom/client.py
@@ -203,6 +203,14 @@ async def blame_range(
"_ops.CodeBlameRangeOutput", await self._agent.call("code.blame_range", body, **options)
)
+ async def branch_diff(
+ self, body: _ops.CodeBranchDiffBody | None = None, /, **options: Any
+ ) -> _ops.CodeBranchDiffOutput:
+ """`code.branch.diff`."""
+ return cast(
+ "_ops.CodeBranchDiffOutput", await self._agent.call("code.branch.diff", body, **options)
+ )
+
async def calibrate(
self, body: _ops.CodeCalibrateBody | None = None, /, **options: Any
) -> _ops.CodeCalibrateOutput:
diff --git a/sdk/python/loom/ops.py b/sdk/python/loom/ops.py
index 9c02171f48..4dcd147dc6 100644
--- a/sdk/python/loom/ops.py
+++ b/sdk/python/loom/ops.py
@@ -53,6 +53,7 @@ class OpSpec:
"code.backport_gaps",
"code.bisect_candidates",
"code.blame_range",
+ "code.branch.diff",
"code.calibrate",
"code.callees",
"code.callers",
@@ -443,6 +444,7 @@ class OpSpec:
"code.backport_gaps",
"code.bisect_candidates",
"code.blame_range",
+ "code.branch.diff",
"code.calibrate",
"code.callees",
"code.callers",
@@ -987,6 +989,18 @@ class OpSpec:
False,
True,
),
+ "code.branch.diff": OpSpec(
+ "code.branch.diff",
+ "CodeBranchDiffInput",
+ "CodeBranchDiffBody",
+ "CodeBranchDiffOutput",
+ True,
+ "viewer",
+ "experimental",
+ 3000,
+ False,
+ True,
+ ),
"code.calibrate": OpSpec(
"code.calibrate",
"CodeCalibrateInput",
@@ -6054,6 +6068,97 @@ class CodeBlameRangeOutput(TypedDict, total=False):
trace_run_id: NotRequired[str]
+class CodeBranchDiffInput(TypedDict, total=False):
+ "The files, then the definitions, that `namespace` has and `against` lacks or holds"
+
+ org: NotRequired[str]
+ namespace: NotRequired[str]
+ agent: NotRequired[str]
+ user_id: NotRequired[str]
+ consumer: NotRequired[str]
+ against: Required[str]
+ path_prefix: NotRequired[str]
+ overlaps: NotRequired[bool]
+ limit: NotRequired[int]
+
+
+class CodeBranchDiffBody(TypedDict, total=False):
+ "The files, then the definitions, that `namespace` has and `against` lacks or holds"
+
+ org: NotRequired[str]
+ namespace: NotRequired[str]
+ agent: NotRequired[str]
+ user_id: NotRequired[str]
+ consumer: NotRequired[str]
+ against: Required[str]
+ path_prefix: NotRequired[str]
+ overlaps: NotRequired[bool]
+ limit: NotRequired[int]
+
+
+class CodeBranchDiffOutput(TypedDict, total=False):
+ compares: NotRequired[str]
+ head: NotRequired[Optional["BranchDiffSide"]]
+ base: NotRequired[Optional["BranchDiffSide"]]
+ divergence: NotRequired[Optional["BranchDiffDivergence"]]
+ heads_stable: NotRequired[bool]
+ files_added: NotRequired[list[str]]
+ files_removed: NotRequired[list[str]]
+ files_changed: NotRequired[list[str]]
+ files_added_total: NotRequired[int]
+ files_removed_total: NotRequired[int]
+ files_changed_total: NotRequired[int]
+ definitions: NotRequired[list["BranchDiffDefinition"]]
+ definitions_total: NotRequired[int]
+ definitions_moved: NotRequired[int]
+ definitions_complete: NotRequired[bool]
+ truncated: NotRequired[bool]
+ overlaps: NotRequired[list["BranchDiffOverlap"]]
+ overlaps_skipped: NotRequired[list[dict[str, str]]]
+ as_of: NotRequired[dict[str, Any]]
+ against_as_of: NotRequired[dict[str, Any]]
+
+
+class BranchDiffSide(TypedDict, total=False):
+ namespace: Required[str]
+ git_branch: NotRequired[str]
+ git_head: Required[str]
+
+
+class BranchDiffDivergence(TypedDict, total=False):
+ "Where the two indexed heads stand in the repository's git mirror."
+
+ state: NotRequired[str]
+ merge_base: NotRequired[str]
+ ahead: NotRequired[int]
+ behind: NotRequired[int]
+ reason: NotRequired[str]
+
+
+class BranchDiffDefinition(TypedDict, total=False):
+ path: Required[str]
+ qualified_name: Required[str]
+ kind: Required[str]
+ change: Required[str]
+ reasons: NotRequired[list[str]]
+ start_line: NotRequired[int]
+ end_line: NotRequired[int]
+ signature: NotRequired[str]
+ base_start_line: NotRequired[int]
+ base_end_line: NotRequired[int]
+ base_signature: NotRequired[str]
+
+
+class BranchDiffOverlap(TypedDict, total=False):
+ "One other namespace of the repository that changes some of the same definitions."
+
+ namespace: Required[str]
+ git_branch: NotRequired[str]
+ git_head: Required[str]
+ definitions: NotRequired[list[dict[str, Any]]]
+ definitions_total: NotRequired[int]
+
+
class CodeCalibrateInput(TypedDict, total=False):
org: NotRequired[str]
namespace: NotRequired[str]
diff --git a/sdk/ruby/lib/clickhouse/loom/generated/ops.rb b/sdk/ruby/lib/clickhouse/loom/generated/ops.rb
index 260d235de0..418a6a18dc 100644
--- a/sdk/ruby/lib/clickhouse/loom/generated/ops.rb
+++ b/sdk/ruby/lib/clickhouse/loom/generated/ops.rb
@@ -8,7 +8,7 @@ module Loom
# Every served operation: its spec in OPS, and one method per op on the class
# of its group (`client.memory.set(...)` is `memory.set`).
module Generated
- OP_COUNT = 387
+ OP_COUNT = 388
# The declared spec of every served op, by name; the HTTP path is /v1/.
OPS = {
@@ -26,6 +26,7 @@ module Generated
"code.backport_gaps" => OpSpec.new("code.backport_gaps", "code", "backport_gaps", true, true, "viewer", "experimental", %w[org namespace agent user_id consumer branch wanted_only days limit].freeze, [].freeze),
"code.bisect_candidates" => OpSpec.new("code.bisect_candidates", "code", "bisect_candidates", true, true, "viewer", "experimental", %w[org namespace agent user_id consumer symbols paths patterns issue_number text rerank deadline_ms fix_pr bad_version before after bad_sha good_version widen_to_directories wideners rescan limit marks].freeze, [].freeze),
"code.blame_range" => OpSpec.new("code.blame_range", "code", "blame_range", true, true, "viewer", "experimental", %w[org namespace agent user_id consumer path start_line end_line from_version to_version from_sha to_sha limit reviews_per_pr stage mentions].freeze, %w[path start_line end_line].freeze),
+ "code.branch.diff" => OpSpec.new("code.branch.diff", "code", "branch_diff", true, true, "viewer", "experimental", %w[org namespace agent user_id consumer against path_prefix overlaps limit].freeze, %w[against].freeze),
"code.calibrate" => OpSpec.new("code.calibrate", "code", "calibrate", false, false, "admin", "stable", %w[org namespace agent user_id consumer].freeze, [].freeze),
"code.callees" => OpSpec.new("code.callees", "code", "callees", true, true, "viewer", "experimental", %w[include_lessons lesson_namespaces pr_files pr_diff pr_head_sha pr_base_sha org namespace agent user_id consumer name symbol_id depth max_nodes min_confidence include_ambiguous candidate_min_confidence pr_number edge_kinds].freeze, [].freeze),
"code.callers" => OpSpec.new("code.callers", "code", "callers", true, true, "viewer", "stable", %w[include_lessons lesson_namespaces pr_files pr_diff pr_head_sha pr_base_sha org namespace agent user_id consumer name symbol_id depth max_nodes min_confidence include_ambiguous candidate_min_confidence pr_number edge_kinds].freeze, [].freeze),
@@ -507,6 +508,13 @@ def blame_range(body = nil, request_options: nil, **fields)
call_op("code.blame_range", body, fields, request_options)
end
+ # `code.branch.diff` (viewer, read-only, experimental).
+ # The files, then the definitions, that `namespace` has and `against` lacks or holds
+ # Required: against.
+ def branch_diff(body = nil, request_options: nil, **fields)
+ call_op("code.branch.diff", body, fields, request_options)
+ end
+
# `code.calibrate` (admin, writes).
def calibrate(body = nil, request_options: nil, **fields)
call_op("code.calibrate", body, fields, request_options)
diff --git a/sdk/rust/src/blocking_operations.rs b/sdk/rust/src/blocking_operations.rs
index 79f66646b6..70199edd11 100644
--- a/sdk/rust/src/blocking_operations.rs
+++ b/sdk/rust/src/blocking_operations.rs
@@ -5019,6 +5019,23 @@ impl crate::blocking::Client {
) -> Result, crate::CallFailure> {
self.call("code.blame_range", &request, options)
}
+ /// Call `code.branch.diff`.
+ pub fn code_branch_diff(
+ &self,
+ request: crate::CodeBranchDiffInput,
+ ) -> Result {
+ self.code_branch_diff_with_options(request, crate::CallOptions::default())
+ .map(|result| result.data)
+ .map_err(|failure| failure.error)
+ }
+ /// Call `code.branch.diff` with per-request options and metadata.
+ pub fn code_branch_diff_with_options(
+ &self,
+ request: crate::CodeBranchDiffInput,
+ options: crate::CallOptions,
+ ) -> Result, crate::CallFailure> {
+ self.call("code.branch.diff", &request, options)
+ }
/// Call `code.setting_facts`.
pub fn code_setting_facts(
&self,
diff --git a/sdk/rust/src/operations.rs b/sdk/rust/src/operations.rs
index dd3654c4e4..5c93c6b314 100644
--- a/sdk/rust/src/operations.rs
+++ b/sdk/rust/src/operations.rs
@@ -5367,6 +5367,24 @@ impl crate::Client {
) -> Result, crate::CallFailure> {
self.call("code.blame_range", &request, options).await
}
+ /// Call `code.branch.diff`.
+ pub async fn code_branch_diff(
+ &self,
+ request: crate::CodeBranchDiffInput,
+ ) -> Result {
+ self.code_branch_diff_with_options(request, crate::CallOptions::default())
+ .await
+ .map(|result| result.data)
+ .map_err(|failure| failure.error)
+ }
+ /// Call `code.branch.diff` with per-request options and metadata.
+ pub async fn code_branch_diff_with_options(
+ &self,
+ request: crate::CodeBranchDiffInput,
+ options: crate::CallOptions,
+ ) -> Result, crate::CallFailure> {
+ self.call("code.branch.diff", &request, options).await
+ }
/// Call `code.setting_facts`.
pub async fn code_setting_facts(
&self,
diff --git a/sdk/rust/src/wire_models.rs b/sdk/rust/src/wire_models.rs
index 6cdc749749..4567716026 100644
--- a/sdk/rust/src/wire_models.rs
+++ b/sdk/rust/src/wire_models.rs
@@ -1535,6 +1535,13 @@ pub(crate) const OP_POLICIES: &[OperationPolicy] = &[
&["agent", "namespace", "org", "user_id"],
&[],
),
+ (
+ "code.branch.diff",
+ true,
+ true,
+ &["agent", "namespace", "org", "user_id"],
+ &[],
+ ),
(
"code.setting_facts",
true,
@@ -7571,6 +7578,219 @@ impl CodeBlameRangeInput {
}
}
+#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
+#[non_exhaustive]
+pub struct BranchDiffSide {
+ pub namespace: String,
+ #[serde(default = "default_318")]
+ pub git_branch: String,
+ pub git_head: String,
+}
+
+#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
+#[non_exhaustive]
+pub struct BranchDiffDivergence {
+ #[serde(default = "default_321")]
+ pub state: String,
+ #[serde(default = "default_322")]
+ pub merge_base: String,
+ #[serde(default = "default_323")]
+ pub ahead: Integer,
+ #[serde(default = "default_324")]
+ pub behind: Integer,
+ #[serde(default = "default_325")]
+ pub reason: String,
+}
+
+#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
+#[non_exhaustive]
+pub struct BranchDiffDefinition {
+ pub path: String,
+ pub qualified_name: String,
+ pub kind: String,
+ pub change: String,
+ #[serde(default = "default_334")]
+ pub reasons: Vec,
+ #[serde(default = "default_335")]
+ pub start_line: Integer,
+ #[serde(default = "default_336")]
+ pub end_line: Integer,
+ #[serde(default = "default_337")]
+ pub signature: String,
+ #[serde(default = "default_338")]
+ pub base_start_line: Integer,
+ #[serde(default = "default_339")]
+ pub base_end_line: Integer,
+ #[serde(default = "default_340")]
+ pub base_signature: String,
+}
+
+#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
+#[non_exhaustive]
+pub struct BranchDiffOverlap {
+ pub namespace: String,
+ #[serde(default = "default_346")]
+ pub git_branch: String,
+ pub git_head: String,
+ #[serde(default = "default_347")]
+ pub definitions: Vec>,
+ #[serde(default = "default_348")]
+ pub definitions_total: Integer,
+}
+
+#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
+#[non_exhaustive]
+pub struct CodeBranchDiffOutput {
+ #[serde(default = "default_317")]
+ pub compares: String,
+ #[serde(default = "default_319")]
+ pub head: Option,
+ #[serde(default = "default_320")]
+ pub base: Option,
+ #[serde(default = "default_326")]
+ pub divergence: Option,
+ #[serde(default = "default_327")]
+ pub heads_stable: bool,
+ #[serde(default = "default_328")]
+ pub files_added: Vec,
+ #[serde(default = "default_329")]
+ pub files_removed: Vec,
+ #[serde(default = "default_330")]
+ pub files_changed: Vec,
+ #[serde(default = "default_331")]
+ pub files_added_total: Integer,
+ #[serde(default = "default_332")]
+ pub files_removed_total: Integer,
+ #[serde(default = "default_333")]
+ pub files_changed_total: Integer,
+ #[serde(default = "default_341")]
+ pub definitions: Vec,
+ #[serde(default = "default_342")]
+ pub definitions_total: Integer,
+ #[serde(default = "default_343")]
+ pub definitions_moved: Integer,
+ #[serde(default = "default_344")]
+ pub definitions_complete: bool,
+ #[serde(default = "default_345")]
+ pub truncated: bool,
+ #[serde(default = "default_349")]
+ pub overlaps: Vec,
+ #[serde(default = "default_350")]
+ pub overlaps_skipped: Vec>,
+ #[serde(default = "default_351")]
+ pub as_of: std::collections::HashMap,
+ #[serde(default = "default_352")]
+ pub against_as_of: std::collections::HashMap,
+}
+
+#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
+#[non_exhaustive]
+pub struct CodeBranchDiffInput {
+ #[serde(
+ default,
+ skip_serializing_if = "Option::is_none",
+ deserialize_with = "present_value"
+ )]
+ pub org: Option,
+ #[serde(
+ default,
+ skip_serializing_if = "Option::is_none",
+ deserialize_with = "present_value"
+ )]
+ pub namespace: Option,
+ #[serde(
+ default,
+ skip_serializing_if = "Option::is_none",
+ deserialize_with = "present_value"
+ )]
+ pub agent: Option,
+ #[serde(
+ default,
+ skip_serializing_if = "Option::is_none",
+ deserialize_with = "present_value"
+ )]
+ pub user_id: Option,
+ #[serde(
+ default,
+ skip_serializing_if = "Option::is_none",
+ deserialize_with = "present_value"
+ )]
+ pub consumer: Option,
+ pub against: String,
+ #[serde(
+ default,
+ skip_serializing_if = "Option::is_none",
+ deserialize_with = "present_value"
+ )]
+ pub path_prefix: Option,
+ #[serde(
+ default,
+ skip_serializing_if = "Option::is_none",
+ deserialize_with = "present_value"
+ )]
+ pub overlaps: Option,
+ #[serde(
+ default,
+ skip_serializing_if = "Option::is_none",
+ deserialize_with = "present_value"
+ )]
+ pub limit: Option,
+}
+impl CodeBranchDiffInput {
+ pub fn new(against: impl Into) -> Self {
+ Self {
+ org: None,
+ namespace: None,
+ agent: None,
+ user_id: None,
+ consumer: None,
+ against: against.into(),
+ path_prefix: None,
+ overlaps: None,
+ limit: None,
+ }
+ }
+ pub fn org(mut self, org: impl Into) -> Self {
+ self.org = Some(org.into());
+ self
+ }
+ pub fn namespace(mut self, namespace: impl Into) -> Self {
+ self.namespace = Some(namespace.into());
+ self
+ }
+ pub fn agent(mut self, agent: impl Into) -> Self {
+ self.agent = Some(agent.into());
+ self
+ }
+ pub fn user_id(mut self, user_id: impl Into) -> Self {
+ self.user_id = Some(user_id.into());
+ self
+ }
+ pub fn consumer(mut self, consumer: impl Into) -> Self {
+ self.consumer = Some(consumer.into());
+ self
+ }
+ pub fn path_prefix(mut self, path_prefix: impl Into) -> Self {
+ self.path_prefix = Some(path_prefix.into());
+ self
+ }
+ pub fn overlaps(mut self, overlaps: bool) -> Self {
+ self.overlaps = Some(overlaps);
+ self
+ }
+ pub fn limit(mut self, limit: impl Into) -> Self {
+ self.limit = Some(limit.into());
+ self
+ }
+ pub async fn send(
+ self,
+ client: &crate::Client,
+ options: crate::CallOptions,
+ ) -> Result, crate::CallFailure> {
+ client.call("code.branch.diff", &self, options).await
+ }
+}
+
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeCalibrateOutput {
@@ -7672,9 +7892,9 @@ pub struct CodeEdgeWire {
pub line: Integer,
pub tier: String,
pub confidence: f64,
- #[serde(default = "default_319")]
+ #[serde(default = "default_355")]
pub via_override: String,
- #[serde(default = "default_320")]
+ #[serde(default = "default_356")]
pub via: String,
}
@@ -7683,14 +7903,14 @@ pub struct CodeEdgeWire {
pub struct CodeCandidateSiteWire {
pub path: String,
pub line: Integer,
- #[serde(default = "default_343")]
+ #[serde(default = "default_379")]
pub caller: String,
- #[serde(default = "default_344")]
+ #[serde(default = "default_380")]
pub callee_text: String,
pub reason: String,
pub confidence: f64,
pub disposition: String,
- #[serde(default = "default_345")]
+ #[serde(default = "default_381")]
pub candidates: Integer,
}
@@ -7707,68 +7927,68 @@ pub struct CodeCandidateGroupWire {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeCandidateSitesWire {
- #[serde(default = "default_337")]
+ #[serde(default = "default_373")]
pub epistemic: String,
- #[serde(default = "default_338")]
+ #[serde(default = "default_374")]
pub total: Integer,
- #[serde(default = "default_339")]
+ #[serde(default = "default_375")]
pub returned: Integer,
- #[serde(default = "default_340")]
+ #[serde(default = "default_376")]
pub truncated: bool,
- #[serde(default = "default_341")]
+ #[serde(default = "default_377")]
pub read_capped: bool,
- #[serde(default = "default_342")]
+ #[serde(default = "default_378")]
pub by_reason: std::collections::HashMap,
- #[serde(default = "default_346")]
+ #[serde(default = "default_382")]
pub groups: Vec,
- #[serde(default = "default_347")]
+ #[serde(default = "default_383")]
pub note: String,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeCallersOutput {
- #[serde(default = "default_317")]
+ #[serde(default = "default_353")]
pub lessons: Vec>,
- #[serde(default = "default_318")]
+ #[serde(default = "default_354")]
pub lessons_left_out: Integer,
pub edges: Vec,
pub seed_symbols: Vec,
- #[serde(default = "default_321")]
+ #[serde(default = "default_357")]
pub overlay: bool,
- #[serde(default = "default_322")]
+ #[serde(default = "default_358")]
pub overlay_head_sha: String,
- #[serde(default = "default_323")]
+ #[serde(default = "default_359")]
pub overlay_added: Integer,
- #[serde(default = "default_324")]
+ #[serde(default = "default_360")]
pub overlay_note: String,
- #[serde(default = "default_325")]
+ #[serde(default = "default_361")]
pub resolved_by: String,
- #[serde(default = "default_326")]
+ #[serde(default = "default_362")]
pub ambiguous: bool,
- #[serde(default = "default_327")]
+ #[serde(default = "default_363")]
pub candidates: Vec,
- #[serde(default = "default_328")]
+ #[serde(default = "default_364")]
pub dispatch_seeds: Vec>,
- #[serde(default = "default_329")]
+ #[serde(default = "default_365")]
pub note: String,
- #[serde(default = "default_330")]
+ #[serde(default = "default_366")]
pub truncated: bool,
- #[serde(default = "default_331")]
+ #[serde(default = "default_367")]
pub counts_floor: bool,
- #[serde(default = "default_332")]
+ #[serde(default = "default_368")]
pub unresolved_calls: Integer,
- #[serde(default = "default_333")]
+ #[serde(default = "default_369")]
pub ambiguous_calls: Integer,
- #[serde(default = "default_334")]
+ #[serde(default = "default_370")]
pub epistemic: String,
- #[serde(default = "default_335")]
+ #[serde(default = "default_371")]
pub causes: Vec,
- #[serde(default = "default_336")]
+ #[serde(default = "default_372")]
pub by_hop_counts: std::collections::HashMap,
- #[serde(default = "default_348")]
+ #[serde(default = "default_384")]
pub candidate_sites: Option,
- #[serde(default = "default_349")]
+ #[serde(default = "default_385")]
pub trace_run_id: String,
}
@@ -8296,18 +8516,18 @@ pub enum CodeContextPackOutputSource {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeContextPackOutput {
- #[serde(default = "default_350")]
+ #[serde(default = "default_386")]
pub lessons: Vec>,
- #[serde(default = "default_351")]
+ #[serde(default = "default_387")]
pub lessons_left_out: Integer,
pub context: String,
pub tokens_used: Integer,
pub source: CodeContextPackOutputSource,
- #[serde(default = "default_352")]
+ #[serde(default = "default_388")]
pub truncated: bool,
- #[serde(default = "default_353")]
+ #[serde(default = "default_389")]
pub merge_commit_sha: String,
- #[serde(default = "default_354")]
+ #[serde(default = "default_390")]
pub trace_run_id: String,
}
@@ -8481,17 +8701,17 @@ impl CodeContextPackInput {
#[non_exhaustive]
pub struct CodeContextPackRow {
pub pr_number: Integer,
- #[serde(default = "default_355")]
+ #[serde(default = "default_391")]
pub merge_commit_sha: String,
- #[serde(default = "default_356")]
+ #[serde(default = "default_392")]
pub pack_tokens: Integer,
- #[serde(default = "default_357")]
+ #[serde(default = "default_393")]
pub created_at: String,
- #[serde(default = "default_358")]
+ #[serde(default = "default_394")]
pub title: String,
- #[serde(default = "default_359")]
+ #[serde(default = "default_395")]
pub author: String,
- #[serde(default = "default_360")]
+ #[serde(default = "default_396")]
pub merged_at: String,
}
@@ -8499,7 +8719,7 @@ pub struct CodeContextPackRow {
#[non_exhaustive]
pub struct CodeContextPacksOutput {
pub rows: Vec,
- #[serde(default = "default_361")]
+ #[serde(default = "default_397")]
pub total: Integer,
}
@@ -8617,41 +8837,41 @@ impl CodeContextPacksInput {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeConventionsOutput {
- #[serde(default = "default_362")]
+ #[serde(default = "default_398")]
pub pr_number: Integer,
- #[serde(default = "default_363")]
+ #[serde(default = "default_399")]
pub source: String,
- #[serde(default = "default_364")]
+ #[serde(default = "default_400")]
pub title: String,
- #[serde(default = "default_365")]
+ #[serde(default = "default_401")]
pub labels: Vec,
- #[serde(default = "default_366")]
+ #[serde(default = "default_402")]
pub category: String,
- #[serde(default = "default_367")]
+ #[serde(default = "default_403")]
pub category_source: String,
- #[serde(default = "default_368")]
+ #[serde(default = "default_404")]
pub merged_at: String,
- #[serde(default = "default_369")]
+ #[serde(default = "default_405")]
pub merge_commit_sha: String,
- #[serde(default = "default_370")]
+ #[serde(default = "default_406")]
pub head_sha: String,
- #[serde(default = "default_371")]
+ #[serde(default = "default_407")]
pub files_total: Integer,
- #[serde(default = "default_372")]
+ #[serde(default = "default_408")]
pub files_in_diff: Integer,
- #[serde(default = "default_373")]
+ #[serde(default = "default_409")]
pub diff_bytes: Integer,
- #[serde(default = "default_374")]
+ #[serde(default = "default_410")]
pub diff_truncated: bool,
- #[serde(default = "default_375")]
+ #[serde(default = "default_411")]
pub rules: Vec>,
- #[serde(default = "default_376")]
+ #[serde(default = "default_412")]
pub summary: std::collections::HashMap,
- #[serde(default = "default_377")]
+ #[serde(default = "default_413")]
pub control: std::collections::HashMap,
- #[serde(default = "default_378")]
+ #[serde(default = "default_414")]
pub notes: Vec,
- #[serde(default = "default_379")]
+ #[serde(default = "default_415")]
pub trace_run_id: String,
}
@@ -8792,29 +9012,29 @@ impl CodeConventionsInput {
#[non_exhaustive]
pub struct CodeLanguageCoverage {
pub lang: String,
- #[serde(default = "default_381")]
+ #[serde(default = "default_417")]
pub files: Integer,
- #[serde(default = "default_382")]
+ #[serde(default = "default_418")]
pub files_errored: Integer,
- #[serde(default = "default_383")]
+ #[serde(default = "default_419")]
pub files_first_at: String,
- #[serde(default = "default_384")]
+ #[serde(default = "default_420")]
pub files_last_at: String,
- #[serde(default = "default_385")]
+ #[serde(default = "default_421")]
pub chunks: Integer,
- #[serde(default = "default_386")]
+ #[serde(default = "default_422")]
pub chunks_embedded: Integer,
- #[serde(default = "default_387")]
+ #[serde(default = "default_423")]
pub chunks_described: Integer,
- #[serde(default = "default_388")]
+ #[serde(default = "default_424")]
pub chunks_last_at: String,
- #[serde(default = "default_389")]
+ #[serde(default = "default_425")]
pub symbols_treesitter: Integer,
- #[serde(default = "default_390")]
+ #[serde(default = "default_426")]
pub symbols_treesitter_last_at: String,
- #[serde(default = "default_391")]
+ #[serde(default = "default_427")]
pub symbols_scip: Integer,
- #[serde(default = "default_392")]
+ #[serde(default = "default_428")]
pub symbols_scip_last_at: String,
}
@@ -8822,32 +9042,32 @@ pub struct CodeLanguageCoverage {
#[non_exhaustive]
pub struct CodeTierCoverage {
pub tier: String,
- #[serde(default = "default_393")]
+ #[serde(default = "default_429")]
pub edges: Integer,
- #[serde(default = "default_394")]
+ #[serde(default = "default_430")]
pub edges_last_at: String,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeCoverageGaps {
- #[serde(default = "default_395")]
+ #[serde(default = "default_431")]
pub functions_scanned: Integer,
- #[serde(default = "default_396")]
+ #[serde(default = "default_432")]
pub functions_uncalled: Integer,
- #[serde(default = "default_397")]
+ #[serde(default = "default_433")]
pub uncalled_share: f64,
- #[serde(default = "default_398")]
+ #[serde(default = "default_434")]
pub source_files: Integer,
- #[serde(default = "default_399")]
+ #[serde(default = "default_435")]
pub source_files_untested: Integer,
- #[serde(default = "default_400")]
+ #[serde(default = "default_436")]
pub untested_share: f64,
- #[serde(default = "default_401")]
+ #[serde(default = "default_437")]
pub code_files: Integer,
- #[serde(default = "default_402")]
+ #[serde(default = "default_438")]
pub code_files_no_symbols: Integer,
- #[serde(default = "default_403")]
+ #[serde(default = "default_439")]
pub no_symbols_share: f64,
}
@@ -8856,25 +9076,25 @@ pub struct CodeCoverageGaps {
pub struct CodeCoverageOutput {
pub org: String,
pub namespace: String,
- #[serde(default = "default_380")]
+ #[serde(default = "default_416")]
pub as_of_commit: String,
pub languages: Vec,
pub tiers: Vec,
- #[serde(default = "default_404")]
+ #[serde(default = "default_440")]
pub gaps: Option,
- #[serde(default = "default_405")]
+ #[serde(default = "default_441")]
pub pr_history_from: String,
- #[serde(default = "default_406")]
+ #[serde(default = "default_442")]
pub pr_history_to: String,
- #[serde(default = "default_407")]
+ #[serde(default = "default_443")]
pub pr_history_last_fetch_at: String,
- #[serde(default = "default_408")]
+ #[serde(default = "default_444")]
pub pr_history_enabled: bool,
- #[serde(default = "default_409")]
+ #[serde(default = "default_445")]
pub pr_history_auth: String,
- #[serde(default = "default_410")]
+ #[serde(default = "default_446")]
pub context_packs_last_at: String,
- #[serde(default = "default_411")]
+ #[serde(default = "default_447")]
pub summaries_last_at: String,
}
@@ -9044,44 +9264,44 @@ impl CodeCoverageUnwatchInput {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeCommitTierCoverage {
- #[serde(default = "default_418")]
+ #[serde(default = "default_454")]
pub producer: String,
- #[serde(default = "default_419")]
+ #[serde(default = "default_455")]
pub label: String,
- #[serde(default = "default_420")]
+ #[serde(default = "default_456")]
pub watermark_key: String,
- #[serde(default = "default_421")]
+ #[serde(default = "default_457")]
pub watermark: String,
- #[serde(default = "default_422")]
+ #[serde(default = "default_458")]
pub covered: Option,
- #[serde(default = "default_423")]
+ #[serde(default = "default_459")]
pub commits_since: Integer,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeCommitCoverage {
- #[serde(default = "default_415")]
+ #[serde(default = "default_451")]
pub commit: String,
- #[serde(default = "default_416")]
+ #[serde(default = "default_452")]
pub in_mirror: bool,
- #[serde(default = "default_417")]
+ #[serde(default = "default_453")]
pub fast: Option,
- #[serde(default = "default_424")]
+ #[serde(default = "default_460")]
pub tiers: Vec,
- #[serde(default = "default_425")]
+ #[serde(default = "default_461")]
pub ready: bool,
- #[serde(default = "default_426")]
+ #[serde(default = "default_462")]
pub waiting_on: Vec,
- #[serde(default = "default_427")]
+ #[serde(default = "default_463")]
pub commits_since: Integer,
- #[serde(default = "default_428")]
+ #[serde(default = "default_464")]
pub paths_changed_since: Vec,
- #[serde(default = "default_429")]
+ #[serde(default = "default_465")]
pub paths_changed_count: Integer,
- #[serde(default = "default_430")]
+ #[serde(default = "default_466")]
pub paths_truncated: bool,
- #[serde(default = "default_431")]
+ #[serde(default = "default_467")]
pub paths_changed_overlap: Vec,
}
@@ -9092,14 +9312,14 @@ pub struct CodeCoverageWatchOutput {
pub namespace: String,
pub commit: String,
pub inbox: String,
- #[serde(default = "default_412")]
+ #[serde(default = "default_448")]
pub ready: bool,
- #[serde(default = "default_413")]
+ #[serde(default = "default_449")]
pub emitted: bool,
- #[serde(default = "default_414")]
+ #[serde(default = "default_450")]
pub delivered_at: Option,
pub event_id: String,
- #[serde(default = "default_432")]
+ #[serde(default = "default_468")]
pub commit_coverage: Option,
}
@@ -9183,31 +9403,31 @@ impl CodeCoverageWatchInput {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeCoverageClaimOutput {
- #[serde(default = "default_433")]
+ #[serde(default = "default_469")]
pub subject: String,
- #[serde(default = "default_434")]
+ #[serde(default = "default_470")]
pub subject_kind: String,
- #[serde(default = "default_435")]
+ #[serde(default = "default_471")]
pub verdict: String,
- #[serde(default = "default_436")]
+ #[serde(default = "default_472")]
pub tests: Vec>,
- #[serde(default = "default_437")]
+ #[serde(default = "default_473")]
pub tests_total: Integer,
- #[serde(default = "default_438")]
+ #[serde(default = "default_474")]
pub src_paths: Vec,
- #[serde(default = "default_439")]
+ #[serde(default = "default_475")]
pub epistemic: String,
- #[serde(default = "default_440")]
+ #[serde(default = "default_476")]
pub strongest_tier: String,
- #[serde(default = "default_441")]
+ #[serde(default = "default_477")]
pub search_terms: std::collections::HashMap,
- #[serde(default = "default_442")]
+ #[serde(default = "default_478")]
pub resolved_by: String,
- #[serde(default = "default_443")]
+ #[serde(default = "default_479")]
pub control: std::collections::HashMap,
- #[serde(default = "default_444")]
+ #[serde(default = "default_480")]
pub measured: std::collections::HashMap,
- #[serde(default = "default_445")]
+ #[serde(default = "default_481")]
pub trace_run_id: String,
}
@@ -9336,66 +9556,66 @@ impl CodeCoverageClaimInput {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeUnit {
- #[serde(default = "default_447")]
+ #[serde(default = "default_483")]
pub unit_id: String,
pub path: String,
- #[serde(default = "default_448")]
+ #[serde(default = "default_484")]
pub start_line: Integer,
- #[serde(default = "default_449")]
+ #[serde(default = "default_485")]
pub end_line: Integer,
- #[serde(default = "default_450")]
+ #[serde(default = "default_486")]
pub symbol: String,
- #[serde(default = "default_451")]
+ #[serde(default = "default_487")]
pub kind: String,
- #[serde(default = "default_452")]
+ #[serde(default = "default_488")]
pub signature: String,
- #[serde(default = "default_453")]
+ #[serde(default = "default_489")]
pub body: String,
- #[serde(default = "default_454")]
+ #[serde(default = "default_490")]
pub elided: bool,
- #[serde(default = "default_455")]
+ #[serde(default = "default_491")]
pub body_hash: String,
- #[serde(default = "default_456")]
+ #[serde(default = "default_492")]
pub description: String,
- #[serde(default = "default_457")]
+ #[serde(default = "default_493")]
pub tier: String,
- #[serde(default = "default_458")]
+ #[serde(default = "default_494")]
pub score: f64,
- #[serde(default = "default_459")]
+ #[serde(default = "default_495")]
pub recent_prs: Vec>,
- #[serde(default = "default_460")]
+ #[serde(default = "default_496")]
pub examples: Vec>,
- #[serde(default = "default_461")]
+ #[serde(default = "default_497")]
pub tests: Vec>,
- #[serde(default = "default_462")]
+ #[serde(default = "default_498")]
pub test_link_state: String,
- #[serde(default = "default_463")]
+ #[serde(default = "default_499")]
pub lessons: Vec>,
- #[serde(default = "default_464")]
+ #[serde(default = "default_500")]
pub lessons_unread: bool,
- #[serde(default = "default_465")]
+ #[serde(default = "default_501")]
pub churn: Integer,
- #[serde(default = "default_466")]
+ #[serde(default = "default_502")]
pub amp: Integer,
- #[serde(default = "default_467")]
+ #[serde(default = "default_503")]
pub tested: bool,
- #[serde(default = "default_468")]
+ #[serde(default = "default_504")]
pub callees: Vec>,
- #[serde(default = "default_469")]
+ #[serde(default = "default_505")]
pub granularity: String,
- #[serde(default = "default_470")]
+ #[serde(default = "default_506")]
pub next: String,
- #[serde(default = "default_471")]
+ #[serde(default = "default_507")]
pub outline: Vec>,
- #[serde(default = "default_472")]
+ #[serde(default = "default_508")]
pub fan_in: Integer,
- #[serde(default = "default_473")]
+ #[serde(default = "default_509")]
pub via: String,
- #[serde(default = "default_474")]
+ #[serde(default = "default_510")]
pub lexical_rank: Integer,
- #[serde(default = "default_475")]
+ #[serde(default = "default_511")]
pub vector_rank: Integer,
- #[serde(default = "default_476")]
+ #[serde(default = "default_512")]
pub namespace: String,
}
@@ -9442,21 +9662,21 @@ pub enum CodeEditContextTargetStatus {
pub struct CodeEditContextTarget {
pub name: String,
pub status: CodeEditContextTargetStatus,
- #[serde(default = "default_495")]
+ #[serde(default = "default_531")]
pub definition_indices: Vec,
- #[serde(default = "default_496")]
+ #[serde(default = "default_532")]
pub candidates: Vec>,
- #[serde(default = "default_497")]
+ #[serde(default = "default_533")]
pub resolved_by: String,
- #[serde(default = "default_498")]
+ #[serde(default = "default_534")]
pub presence: Vec>,
- #[serde(default = "default_499")]
+ #[serde(default = "default_535")]
pub hierarchy: std::collections::HashMap>>,
- #[serde(default = "default_500")]
+ #[serde(default = "default_536")]
pub documented_in: Vec>,
- #[serde(default = "default_501")]
+ #[serde(default = "default_537")]
pub trace_run_id: String,
- #[serde(default = "default_502")]
+ #[serde(default = "default_538")]
pub picked_by: String,
}
@@ -9483,48 +9703,48 @@ pub struct CodeEditReadSource {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeSymbolOutput {
- #[serde(default = "default_446")]
+ #[serde(default = "default_482")]
pub lead: Vec>,
pub definitions: Vec,
- #[serde(default = "default_477")]
+ #[serde(default = "default_513")]
pub lessons_left_out: Integer,
- #[serde(default = "default_478")]
+ #[serde(default = "default_514")]
pub ambiguous: bool,
- #[serde(default = "default_479")]
+ #[serde(default = "default_515")]
pub hierarchy: std::collections::HashMap>>,
- #[serde(default = "default_480")]
+ #[serde(default = "default_516")]
pub candidates: Vec>,
- #[serde(default = "default_481")]
+ #[serde(default = "default_517")]
pub tokens_returned: Integer,
- #[serde(default = "default_482")]
+ #[serde(default = "default_518")]
pub trace_run_id: String,
- #[serde(default = "default_483")]
+ #[serde(default = "default_519")]
pub uses: Option,
- #[serde(default = "default_484")]
+ #[serde(default = "default_520")]
pub uses_truncated: bool,
- #[serde(default = "default_485")]
+ #[serde(default = "default_521")]
pub uses_skipped: String,
- #[serde(default = "default_486")]
+ #[serde(default = "default_522")]
pub uses_tokens: Integer,
- #[serde(default = "default_487")]
+ #[serde(default = "default_523")]
pub picked_by: String,
- #[serde(default = "default_488")]
+ #[serde(default = "default_524")]
pub resolved_by: String,
- #[serde(default = "default_489")]
+ #[serde(default = "default_525")]
pub documented_in: Vec>,
- #[serde(default = "default_490")]
+ #[serde(default = "default_526")]
pub neighbours: Vec>,
- #[serde(default = "default_491")]
+ #[serde(default = "default_527")]
pub anchors: Integer,
- #[serde(default = "default_492")]
+ #[serde(default = "default_528")]
pub neighbour_tokens: Integer,
- #[serde(default = "default_493")]
+ #[serde(default = "default_529")]
pub presence: Vec>,
- #[serde(default = "default_494")]
+ #[serde(default = "default_530")]
pub summary: std::collections::HashMap>,
- #[serde(default = "default_503")]
+ #[serde(default = "default_539")]
pub edit_targets: Vec,
- #[serde(default = "default_504")]
+ #[serde(default = "default_540")]
pub read_sources: Option>,
}
@@ -9678,30 +9898,30 @@ impl CodeEditContextInput {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeEnclosingOutput {
- #[serde(default = "default_505")]
+ #[serde(default = "default_541")]
pub lessons: Vec>,
- #[serde(default = "default_506")]
+ #[serde(default = "default_542")]
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_507")]
+ #[serde(default = "default_543")]
pub as_of: std::collections::HashMap,
- #[serde(default = "default_508")]
+ #[serde(default = "default_544")]
pub bodies_returned: Integer,
- #[serde(default = "default_509")]
+ #[serde(default = "default_545")]
pub bodies_elided: Integer,
- #[serde(default = "default_510")]
+ #[serde(default = "default_546")]
pub tokens_returned: Integer,
- #[serde(default = "default_511")]
+ #[serde(default = "default_547")]
pub neighbours: Vec>,
- #[serde(default = "default_512")]
+ #[serde(default = "default_548")]
pub anchors: Integer,
- #[serde(default = "default_513")]
+ #[serde(default = "default_549")]
pub anchors_capped: bool,
- #[serde(default = "default_514")]
+ #[serde(default = "default_550")]
pub neighbour_tokens: Integer,
}
@@ -9857,7 +10077,7 @@ impl CodeEnclosingInput {
#[non_exhaustive]
pub struct CodeExamplesOutput {
pub examples: Vec>,
- #[serde(default = "default_515")]
+ #[serde(default = "default_551")]
pub trace_run_id: String,
}
@@ -9975,19 +10195,19 @@ impl CodeExamplesInput {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeFilesOutput {
- #[serde(default = "default_516")]
+ #[serde(default = "default_552")]
pub files: Vec>,
- #[serde(default = "default_517")]
+ #[serde(default = "default_553")]
pub total: Integer,
- #[serde(default = "default_518")]
+ #[serde(default = "default_554")]
pub truncated: bool,
- #[serde(default = "default_519")]
+ #[serde(default = "default_555")]
pub as_of: std::collections::HashMap,
- #[serde(default = "default_520")]
+ #[serde(default = "default_556")]
pub not_covered: bool,
- #[serde(default = "default_521")]
+ #[serde(default = "default_557")]
pub note: String,
- #[serde(default = "default_522")]
+ #[serde(default = "default_558")]
pub trace_run_id: String,
}
@@ -10116,51 +10336,51 @@ impl CodeFilesInput {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeFirstBuildOutput {
- #[serde(default = "default_523")]
+ #[serde(default = "default_559")]
pub verdict: String,
- #[serde(default = "default_524")]
+ #[serde(default = "default_560")]
pub causes: Vec,
- #[serde(default = "default_525")]
+ #[serde(default = "default_561")]
pub epistemic: String,
- #[serde(default = "default_526")]
+ #[serde(default = "default_562")]
pub sha: String,
- #[serde(default = "default_527")]
+ #[serde(default = "default_563")]
pub pr_number: Integer,
- #[serde(default = "default_528")]
+ #[serde(default = "default_564")]
pub merged_at: String,
- #[serde(default = "default_529")]
+ #[serde(default = "default_565")]
pub commit_time: String,
- #[serde(default = "default_530")]
+ #[serde(default = "default_566")]
pub ledger_known: bool,
- #[serde(default = "default_531")]
+ #[serde(default = "default_567")]
pub mirror_known: bool,
- #[serde(default = "default_532")]
+ #[serde(default = "default_568")]
pub first_build: std::collections::HashMap,
- #[serde(default = "default_533")]
+ #[serde(default = "default_569")]
pub lag_hours: Option,
- #[serde(default = "default_534")]
+ #[serde(default = "default_570")]
pub later_builds: Integer,
- #[serde(default = "default_535")]
+ #[serde(default = "default_571")]
pub window_hours: Integer,
- #[serde(default = "default_536")]
+ #[serde(default = "default_572")]
pub candidates_checked: Integer,
- #[serde(default = "default_537")]
+ #[serde(default = "default_573")]
pub candidates_total: Integer,
- #[serde(default = "default_538")]
+ #[serde(default = "default_574")]
pub own_builds: Vec>,
- #[serde(default = "default_539")]
+ #[serde(default = "default_575")]
pub containing_branches: Vec,
- #[serde(default = "default_540")]
+ #[serde(default = "default_576")]
pub containing_namespaces: Vec,
- #[serde(default = "default_541")]
+ #[serde(default = "default_577")]
pub nearest_namespace: String,
- #[serde(default = "default_542")]
+ #[serde(default = "default_578")]
pub note: String,
- #[serde(default = "default_543")]
+ #[serde(default = "default_579")]
pub tracker_namespace: String,
- #[serde(default = "default_544")]
+ #[serde(default = "default_580")]
pub tracker_unavailable: bool,
- #[serde(default = "default_545")]
+ #[serde(default = "default_581")]
pub trace_run_id: String,
}
@@ -10279,19 +10499,19 @@ pub struct GrepDependency {
pub struct RelatedGrepEvidence {
pub pattern: String,
pub matches: Vec>,
- #[serde(default = "default_549")]
+ #[serde(default = "default_585")]
pub contexts: Vec>,
- #[serde(default = "default_550")]
+ #[serde(default = "default_586")]
pub contexts_partial: bool,
- #[serde(default = "default_551")]
+ #[serde(default = "default_587")]
pub definitions: Vec>,
- #[serde(default = "default_552")]
+ #[serde(default = "default_588")]
pub definitions_partial: bool,
- #[serde(default = "default_553")]
+ #[serde(default = "default_589")]
pub definitions_note: String,
- #[serde(default = "default_554")]
+ #[serde(default = "default_590")]
pub truncated: bool,
- #[serde(default = "default_555")]
+ #[serde(default = "default_591")]
pub dependencies: Vec,
}
@@ -10307,71 +10527,71 @@ pub enum CodeGrepOutputFallback {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeGrepOutput {
- #[serde(default = "default_546")]
+ #[serde(default = "default_582")]
pub lessons: Vec>,
- #[serde(default = "default_547")]
+ #[serde(default = "default_583")]
pub lessons_left_out: Integer,
- #[serde(default = "default_548")]
+ #[serde(default = "default_584")]
pub lead: Vec>,
pub matches: Vec>,
- #[serde(default = "default_556")]
+ #[serde(default = "default_592")]
pub related: Option,
- #[serde(default = "default_557")]
+ #[serde(default = "default_593")]
pub contexts: Vec>,
- #[serde(default = "default_558")]
+ #[serde(default = "default_594")]
pub contexts_partial: bool,
- #[serde(default = "default_559")]
+ #[serde(default = "default_595")]
pub definitions: Vec>,
- #[serde(default = "default_560")]
+ #[serde(default = "default_596")]
pub definitions_partial: bool,
- #[serde(default = "default_561")]
+ #[serde(default = "default_597")]
pub definitions_note: String,
- #[serde(default = "default_562")]
+ #[serde(default = "default_598")]
pub next_cursor: String,
- #[serde(default = "default_563")]
+ #[serde(default = "default_599")]
pub has_more: bool,
- #[serde(default = "default_564")]
+ #[serde(default = "default_600")]
pub files: Vec>,
- #[serde(default = "default_565")]
+ #[serde(default = "default_601")]
pub files_total: Integer,
pub chunks_matched: Integer,
- #[serde(default = "default_566")]
+ #[serde(default = "default_602")]
pub truncated: bool,
- #[serde(default = "default_567")]
+ #[serde(default = "default_603")]
pub coverage_floor: bool,
- #[serde(default = "default_568")]
+ #[serde(default = "default_604")]
pub as_of: std::collections::HashMap,
- #[serde(default = "default_569")]
+ #[serde(default = "default_605")]
pub not_covered: bool,
- #[serde(default = "default_570")]
+ #[serde(default = "default_606")]
pub neighbours: Vec>,
- #[serde(default = "default_571")]
+ #[serde(default = "default_607")]
pub anchors: Integer,
- #[serde(default = "default_572")]
+ #[serde(default = "default_608")]
pub anchors_capped: bool,
- #[serde(default = "default_573")]
+ #[serde(default = "default_609")]
pub neighbour_tokens: Integer,
- #[serde(default = "default_574")]
+ #[serde(default = "default_610")]
pub note: String,
- #[serde(default = "default_575")]
+ #[serde(default = "default_611")]
pub verdict: String,
- #[serde(default = "default_576")]
+ #[serde(default = "default_612")]
pub template: String,
- #[serde(default = "default_577")]
+ #[serde(default = "default_613")]
pub error_code: String,
- #[serde(default = "default_578")]
+ #[serde(default = "default_614")]
pub coverage: f64,
- #[serde(default = "default_579")]
+ #[serde(default = "default_615")]
pub presence: Vec>,
- #[serde(default = "default_580")]
+ #[serde(default = "default_616")]
pub summary: std::collections::HashMap>,
- #[serde(default = "default_581")]
+ #[serde(default = "default_617")]
pub trace_run_id: String,
- #[serde(default = "default_582")]
+ #[serde(default = "default_618")]
pub partial: bool,
- #[serde(default = "default_583")]
+ #[serde(default = "default_619")]
pub partial_reason: String,
- #[serde(default = "default_584")]
+ #[serde(default = "default_620")]
pub fallback: CodeGrepOutputFallback,
}
@@ -10774,9 +10994,9 @@ impl CodeGrepInput {
pub struct CodeHistoryOutput {
pub prs: Vec>,
pub paths: Vec,
- #[serde(default = "default_585")]
+ #[serde(default = "default_621")]
pub items: Vec>,
- #[serde(default = "default_586")]
+ #[serde(default = "default_622")]
pub trace_run_id: String,
}
@@ -10938,52 +11158,52 @@ impl CodeHistoryInput {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeImpactOutput {
- #[serde(default = "default_587")]
+ #[serde(default = "default_623")]
pub lessons: Vec>,
- #[serde(default = "default_588")]
+ #[serde(default = "default_624")]
pub lessons_left_out: Integer,
pub impacted_symbols: Vec>,
pub impacted_tests: Vec>,
pub co_change_files: Vec>,
- #[serde(default = "default_589")]
+ #[serde(default = "default_625")]
pub blast_radius_score: f64,
- #[serde(default = "default_590")]
+ #[serde(default = "default_626")]
pub touched_symbols: Vec>,
- #[serde(default = "default_591")]
+ #[serde(default = "default_627")]
pub co_change_missing: Vec>,
- #[serde(default = "default_592")]
+ #[serde(default = "default_628")]
pub owners: Vec>,
- #[serde(default = "default_593")]
+ #[serde(default = "default_629")]
pub reverts: Vec>,
- #[serde(default = "default_594")]
+ #[serde(default = "default_630")]
pub counts_floor: bool,
- #[serde(default = "default_595")]
+ #[serde(default = "default_631")]
pub unresolved_calls: Integer,
- #[serde(default = "default_596")]
+ #[serde(default = "default_632")]
pub ambiguous_calls: Integer,
- #[serde(default = "default_597")]
+ #[serde(default = "default_633")]
pub epistemic: String,
- #[serde(default = "default_598")]
+ #[serde(default = "default_634")]
pub causes: Vec,
- #[serde(default = "default_599")]
+ #[serde(default = "default_635")]
pub by_hop_counts: std::collections::HashMap,
- #[serde(default = "default_600")]
+ #[serde(default = "default_636")]
pub truncated: bool,
- #[serde(default = "default_601")]
+ #[serde(default = "default_637")]
pub resolved_by: String,
- #[serde(default = "default_602")]
+ #[serde(default = "default_638")]
pub verdict: String,
- #[serde(default = "default_603")]
+ #[serde(default = "default_639")]
pub paths_seen: Vec>,
- #[serde(default = "default_604")]
+ #[serde(default = "default_640")]
pub overlay: bool,
- #[serde(default = "default_605")]
+ #[serde(default = "default_641")]
pub overlay_head_sha: String,
- #[serde(default = "default_606")]
+ #[serde(default = "default_642")]
pub overlay_added: Integer,
- #[serde(default = "default_607")]
+ #[serde(default = "default_643")]
pub overlay_note: String,
- #[serde(default = "default_608")]
+ #[serde(default = "default_644")]
pub trace_run_id: String,
}
@@ -11262,12 +11482,12 @@ impl CodeImpactInput {
#[non_exhaustive]
pub struct CodeIndexErrorRow {
pub path: String,
- #[serde(default = "default_609")]
+ #[serde(default = "default_645")]
pub lang: String,
pub error: String,
- #[serde(default = "default_610")]
+ #[serde(default = "default_646")]
pub indexed_commit: String,
- #[serde(default = "default_611")]
+ #[serde(default = "default_647")]
pub at: String,
}
@@ -11275,7 +11495,7 @@ pub struct CodeIndexErrorRow {
#[non_exhaustive]
pub struct CodeIndexErrorsOutput {
pub rows: Vec,
- #[serde(default = "default_612")]
+ #[serde(default = "default_648")]
pub total: Integer,
}
@@ -11375,17 +11595,17 @@ pub struct CodeCompilerTier {
pub tool: String,
pub label: String,
pub watermark_key: String,
- #[serde(default = "default_622")]
+ #[serde(default = "default_658")]
pub commit: String,
- #[serde(default = "default_623")]
+ #[serde(default = "default_659")]
pub lag: Integer,
- #[serde(default = "default_624")]
+ #[serde(default = "default_660")]
pub updated_at: String,
- #[serde(default = "default_625")]
+ #[serde(default = "default_661")]
pub primary: bool,
- #[serde(default = "default_626")]
+ #[serde(default = "default_662")]
pub workers: Vec,
- #[serde(default = "default_627")]
+ #[serde(default = "default_663")]
pub note: String,
}
@@ -11393,42 +11613,42 @@ pub struct CodeCompilerTier {
#[non_exhaustive]
pub struct CodeTierHealth {
pub tier: String,
- #[serde(default = "default_629")]
+ #[serde(default = "default_665")]
pub state: String,
- #[serde(default = "default_630")]
+ #[serde(default = "default_666")]
pub kind: String,
- #[serde(default = "default_631")]
+ #[serde(default = "default_667")]
pub error: String,
- #[serde(default = "default_632")]
+ #[serde(default = "default_668")]
pub fix: String,
- #[serde(default = "default_633")]
+ #[serde(default = "default_669")]
pub failing_since: String,
- #[serde(default = "default_634")]
+ #[serde(default = "default_670")]
pub last_failed_at: String,
- #[serde(default = "default_635")]
+ #[serde(default = "default_671")]
pub failed_passes: Integer,
- #[serde(default = "default_636")]
+ #[serde(default = "default_672")]
pub last_ok_at: String,
- #[serde(default = "default_637")]
+ #[serde(default = "default_673")]
pub lag_commits: Integer,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeWorkerStatus {
- #[serde(default = "default_653")]
+ #[serde(default = "default_689")]
pub enabled: bool,
- #[serde(default = "default_654")]
+ #[serde(default = "default_690")]
pub interval_seconds: Integer,
- #[serde(default = "default_655")]
+ #[serde(default = "default_691")]
pub last_run_at: String,
- #[serde(default = "default_656")]
+ #[serde(default = "default_692")]
pub last_duration_ms: Integer,
- #[serde(default = "default_657")]
+ #[serde(default = "default_693")]
pub consecutive_failures: Integer,
- #[serde(default = "default_658")]
+ #[serde(default = "default_694")]
pub total_runs: Integer,
- #[serde(default = "default_659")]
+ #[serde(default = "default_695")]
pub last_error: String,
}
@@ -11437,84 +11657,84 @@ pub struct CodeWorkerStatus {
pub struct CodeIndexStatusOutput {
pub repo: String,
pub branch: String,
- #[serde(default = "default_613")]
+ #[serde(default = "default_649")]
pub org: String,
pub namespace: String,
- #[serde(default = "default_614")]
+ #[serde(default = "default_650")]
pub provider: String,
- #[serde(default = "default_615")]
+ #[serde(default = "default_651")]
pub profile: String,
- #[serde(default = "default_616")]
+ #[serde(default = "default_652")]
pub compiler_candidates: Vec,
- #[serde(default = "default_617")]
+ #[serde(default = "default_653")]
pub quality_warnings: Vec,
- #[serde(default = "default_618")]
+ #[serde(default = "default_654")]
pub git_head: String,
- #[serde(default = "default_619")]
+ #[serde(default = "default_655")]
pub scip_commit: String,
- #[serde(default = "default_620")]
+ #[serde(default = "default_656")]
pub scip_commit_py: String,
- #[serde(default = "default_621")]
+ #[serde(default = "default_657")]
pub scip_producer: String,
- #[serde(default = "default_628")]
+ #[serde(default = "default_664")]
pub compiler_tiers: Vec,
- #[serde(default = "default_638")]
+ #[serde(default = "default_674")]
pub tier_health: Vec,
- #[serde(default = "default_639")]
+ #[serde(default = "default_675")]
pub pr_cursor: String,
- #[serde(default = "default_640")]
+ #[serde(default = "default_676")]
pub commit_coverage: Option,
- #[serde(default = "default_641")]
+ #[serde(default = "default_677")]
pub clone_head: String,
- #[serde(default = "default_642")]
+ #[serde(default = "default_678")]
pub clone_fetched_at: String,
- #[serde(default = "default_643")]
+ #[serde(default = "default_679")]
pub fetch_overdue: bool,
- #[serde(default = "default_644")]
+ #[serde(default = "default_680")]
pub fast_tier_lag: Integer,
- #[serde(default = "default_645")]
+ #[serde(default = "default_681")]
pub scip_lag: Integer,
- #[serde(default = "default_646")]
+ #[serde(default = "default_682")]
pub scip_py_lag: Integer,
- #[serde(default = "default_647")]
+ #[serde(default = "default_683")]
pub last_refresh_at: String,
- #[serde(default = "default_648")]
+ #[serde(default = "default_684")]
pub last_refresh_detail: String,
- #[serde(default = "default_649")]
+ #[serde(default = "default_685")]
pub org_readable: bool,
- #[serde(default = "default_650")]
+ #[serde(default = "default_686")]
pub path_prefixes: Vec,
- #[serde(default = "default_651")]
+ #[serde(default = "default_687")]
pub counts: std::collections::HashMap,
- #[serde(default = "default_652")]
+ #[serde(default = "default_688")]
pub state: std::collections::HashMap>,
- #[serde(default = "default_660")]
+ #[serde(default = "default_696")]
pub workers: std::collections::HashMap,
- #[serde(default = "default_661")]
+ #[serde(default = "default_697")]
pub build_commit: String,
- #[serde(default = "default_662")]
+ #[serde(default = "default_698")]
pub ops: Vec,
- #[serde(default = "default_663")]
+ #[serde(default = "default_699")]
pub request_fields: std::collections::HashMap>,
- #[serde(default = "default_664")]
+ #[serde(default = "default_700")]
pub op_maturity: std::collections::HashMap,
- #[serde(default = "default_665")]
+ #[serde(default = "default_701")]
pub op_reach: std::collections::HashMap>,
- #[serde(default = "default_666")]
+ #[serde(default = "default_702")]
pub op_toolsets: std::collections::HashMap>,
- #[serde(default = "default_667")]
+ #[serde(default = "default_703")]
pub symbol_stats_rows: Integer,
- #[serde(default = "default_668")]
+ #[serde(default = "default_704")]
pub symbol_stats_at: String,
- #[serde(default = "default_669")]
+ #[serde(default = "default_705")]
pub unit_risk_rows: Integer,
- #[serde(default = "default_670")]
+ #[serde(default = "default_706")]
pub unit_risk_at: String,
- #[serde(default = "default_671")]
+ #[serde(default = "default_707")]
pub chunks_total: Integer,
- #[serde(default = "default_672")]
+ #[serde(default = "default_708")]
pub chunks_embedded: Integer,
- #[serde(default = "default_673")]
+ #[serde(default = "default_709")]
pub embedding_coverage: f64,
}
@@ -11638,9 +11858,9 @@ impl CodeIndexStatusInput {
pub struct CodeMapOutput {
pub map: String,
pub tokens_used: Integer,
- #[serde(default = "default_674")]
+ #[serde(default = "default_710")]
pub commit_sha: String,
- #[serde(default = "default_675")]
+ #[serde(default = "default_711")]
pub trace_run_id: String,
}
@@ -11911,32 +12131,32 @@ impl CodeOutcomeInput {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeOutlineOutput {
- #[serde(default = "default_676")]
+ #[serde(default = "default_712")]
pub lessons: Vec>,
- #[serde(default = "default_677")]
+ #[serde(default = "default_713")]
pub lessons_left_out: Integer,
pub path: String,
pub entries: Vec>,
pub total: Integer,
pub returned: Integer,
pub elided: Integer,
- #[serde(default = "default_678")]
+ #[serde(default = "default_714")]
pub next: String,
- #[serde(default = "default_679")]
+ #[serde(default = "default_715")]
pub indexed: bool,
- #[serde(default = "default_680")]
+ #[serde(default = "default_716")]
pub verdict: String,
- #[serde(default = "default_681")]
+ #[serde(default = "default_717")]
pub tokens_returned: Integer,
- #[serde(default = "default_682")]
+ #[serde(default = "default_718")]
pub took_ms: Integer,
- #[serde(default = "default_683")]
+ #[serde(default = "default_719")]
pub head: String,
- #[serde(default = "default_684")]
+ #[serde(default = "default_720")]
pub head_truncated: bool,
- #[serde(default = "default_685")]
+ #[serde(default = "default_721")]
pub as_of: std::collections::HashMap,
- #[serde(default = "default_686")]
+ #[serde(default = "default_722")]
pub trace_run_id: String,
}
@@ -12088,19 +12308,19 @@ pub enum CodePathGuardsOutputEpistemic {
#[non_exhaustive]
pub struct CodePathGuardsOutput {
pub verdict: CodePathGuardsOutputVerdict,
- #[serde(default = "default_687")]
+ #[serde(default = "default_723")]
pub causes: Vec,
- #[serde(default = "default_688")]
+ #[serde(default = "default_724")]
pub epistemic: CodePathGuardsOutputEpistemic,
- #[serde(default = "default_689")]
+ #[serde(default = "default_725")]
pub explanation: String,
- #[serde(default = "default_690")]
+ #[serde(default = "default_726")]
pub hops: Vec>,
- #[serde(default = "default_691")]
+ #[serde(default = "default_727")]
pub named_at: Vec,
- #[serde(default = "default_692")]
+ #[serde(default = "default_728")]
pub visited_symbols: Integer,
- #[serde(default = "default_693")]
+ #[serde(default = "default_729")]
pub trace_run_id: String,
}
@@ -12206,21 +12426,21 @@ impl CodePathGuardsInput {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodePrCheckOutput {
- #[serde(default = "default_694")]
+ #[serde(default = "default_730")]
pub verdict: String,
- #[serde(default = "default_695")]
+ #[serde(default = "default_731")]
pub items: Vec>,
- #[serde(default = "default_696")]
+ #[serde(default = "default_732")]
pub undecided: bool,
- #[serde(default = "default_697")]
+ #[serde(default = "default_733")]
pub epistemic: String,
- #[serde(default = "default_698")]
+ #[serde(default = "default_734")]
pub thresholds: std::collections::HashMap,
- #[serde(default = "default_699")]
+ #[serde(default = "default_735")]
pub legs: std::collections::HashMap,
- #[serde(default = "default_700")]
+ #[serde(default = "default_736")]
pub draft: std::collections::HashMap,
- #[serde(default = "default_701")]
+ #[serde(default = "default_737")]
pub trace_run_id: String,
}
@@ -12409,22 +12629,22 @@ pub struct CodeReadRange {
pub start_line: Integer,
pub end_line: Integer,
pub status: CodeReadRangeStatus,
- #[serde(default = "default_704")]
+ #[serde(default = "default_740")]
pub indexed_commit: String,
- #[serde(default = "default_705")]
+ #[serde(default = "default_741")]
pub windows: Vec,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeReadOutput {
- #[serde(default = "default_702")]
+ #[serde(default = "default_738")]
pub lessons: Vec>,
- #[serde(default = "default_703")]
+ #[serde(default = "default_739")]
pub lessons_left_out: Integer,
pub results: Vec,
pub as_of: std::collections::HashMap,
- #[serde(default = "default_706")]
+ #[serde(default = "default_742")]
pub trace_run_id: String,
}
@@ -12667,15 +12887,15 @@ impl CodeReadInput {
#[non_exhaustive]
pub struct CodeRecentCommitRow {
pub commit: String,
- #[serde(default = "default_707")]
+ #[serde(default = "default_743")]
pub subject: String,
- #[serde(default = "default_708")]
+ #[serde(default = "default_744")]
pub committed_at: String,
- #[serde(default = "default_709")]
+ #[serde(default = "default_745")]
pub ingested_at: String,
- #[serde(default = "default_710")]
+ #[serde(default = "default_746")]
pub files: Integer,
- #[serde(default = "default_711")]
+ #[serde(default = "default_747")]
pub pr_number: Integer,
}
@@ -12778,11 +12998,11 @@ impl CodeRecentCommitsInput {
#[non_exhaustive]
pub struct CodeRefreshOutput {
pub triggered: bool,
- #[serde(default = "default_712")]
+ #[serde(default = "default_748")]
pub already_running: bool,
- #[serde(default = "default_713")]
+ #[serde(default = "default_749")]
pub head_before: String,
- #[serde(default = "default_714")]
+ #[serde(default = "default_750")]
pub head_after: String,
}
@@ -12985,22 +13205,22 @@ pub struct CodeRepoAddOutput {
pub org: String,
pub namespace: String,
pub repo: String,
- #[serde(default = "default_715")]
+ #[serde(default = "default_751")]
pub remote: String,
- #[serde(default = "default_716")]
+ #[serde(default = "default_752")]
pub provider: String,
pub branch: String,
pub join_policy: String,
pub classification: String,
- #[serde(default = "default_717")]
+ #[serde(default = "default_753")]
pub index_stage: String,
- #[serde(default = "default_718")]
+ #[serde(default = "default_754")]
pub my_role: String,
- #[serde(default = "default_719")]
+ #[serde(default = "default_755")]
pub remote_head: String,
- #[serde(default = "default_720")]
+ #[serde(default = "default_756")]
pub also: Vec>,
- #[serde(default = "default_721")]
+ #[serde(default = "default_757")]
pub skipped: Vec>,
}
@@ -13228,29 +13448,29 @@ impl CodeRepoAddBranchInput {
pub struct CodeRepoRemoteBranchesOutput {
pub org: String,
pub repo: String,
- #[serde(default = "default_722")]
+ #[serde(default = "default_758")]
pub remote: String,
- #[serde(default = "default_723")]
+ #[serde(default = "default_759")]
pub provider: String,
- #[serde(default = "default_724")]
+ #[serde(default = "default_760")]
pub warnings: Vec,
- #[serde(default = "default_725")]
+ #[serde(default = "default_761")]
pub default_branch: String,
- #[serde(default = "default_726")]
+ #[serde(default = "default_762")]
pub branches: Vec>,
- #[serde(default = "default_727")]
+ #[serde(default = "default_763")]
pub suggested: Vec,
- #[serde(default = "default_728")]
+ #[serde(default = "default_764")]
pub indexed: Vec>,
- #[serde(default = "default_729")]
+ #[serde(default = "default_765")]
pub cap: Integer,
- #[serde(default = "default_730")]
+ #[serde(default = "default_766")]
pub total: Integer,
- #[serde(default = "default_731")]
+ #[serde(default = "default_767")]
pub matched: Integer,
- #[serde(default = "default_732")]
+ #[serde(default = "default_768")]
pub truncated: bool,
- #[serde(default = "default_733")]
+ #[serde(default = "default_769")]
pub query: String,
}
@@ -13341,11 +13561,11 @@ pub struct CodeRepoRemoveOutput {
pub registry_deactivated: bool,
pub directory_deactivated: bool,
pub purged_tables: Integer,
- #[serde(default = "default_734")]
+ #[serde(default = "default_770")]
pub erasure_id: String,
- #[serde(default = "default_735")]
+ #[serde(default = "default_771")]
pub mirror_removed: bool,
- #[serde(default = "default_736")]
+ #[serde(default = "default_772")]
pub sources_deactivated: Vec,
}
@@ -13479,14 +13699,14 @@ impl CodeRepoSetAccessInput {
pub struct CodeRepoSetSourceOutput {
pub org: String,
pub namespace: String,
- #[serde(default = "default_737")]
+ #[serde(default = "default_773")]
pub tracker_namespaces: Vec,
- #[serde(default = "default_738")]
+ #[serde(default = "default_774")]
pub previous_tracker_namespaces: Vec,
pub effective_within_s: Integer,
- #[serde(default = "default_739")]
+ #[serde(default = "default_775")]
pub not_covering: Vec,
- #[serde(default = "default_740")]
+ #[serde(default = "default_776")]
pub warning: String,
}
@@ -13918,47 +14138,47 @@ pub enum CodeReviewBriefOutputLedger {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeReviewBriefOutput {
- #[serde(default = "default_741")]
+ #[serde(default = "default_777")]
pub verdict: CodeReviewBriefOutputVerdict,
- #[serde(default = "default_742")]
+ #[serde(default = "default_778")]
pub verdict_causes: Vec,
- #[serde(default = "default_743")]
+ #[serde(default = "default_779")]
pub pr_number: Integer,
- #[serde(default = "default_744")]
+ #[serde(default = "default_780")]
pub merge_sha: String,
- #[serde(default = "default_745")]
+ #[serde(default = "default_781")]
pub source: CodeReviewBriefOutputSource,
- #[serde(default = "default_746")]
+ #[serde(default = "default_782")]
pub ledger: CodeReviewBriefOutputLedger,
- #[serde(default = "default_747")]
+ #[serde(default = "default_783")]
pub stored: bool,
- #[serde(default = "default_748")]
+ #[serde(default = "default_784")]
pub provenance: std::collections::HashMap,
- #[serde(default = "default_749")]
+ #[serde(default = "default_785")]
pub overlay: bool,
- #[serde(default = "default_750")]
+ #[serde(default = "default_786")]
pub overlay_head_sha: String,
- #[serde(default = "default_751")]
+ #[serde(default = "default_787")]
pub overlay_added: Integer,
- #[serde(default = "default_752")]
+ #[serde(default = "default_788")]
pub overlay_note: String,
- #[serde(default = "default_753")]
+ #[serde(default = "default_789")]
pub tier: String,
- #[serde(default = "default_754")]
+ #[serde(default = "default_790")]
pub built_at: String,
- #[serde(default = "default_755")]
+ #[serde(default = "default_791")]
pub indexed_commit: String,
- #[serde(default = "default_756")]
+ #[serde(default = "default_792")]
pub build_ms: Integer,
- #[serde(default = "default_757")]
+ #[serde(default = "default_793")]
pub tokens_used: Integer,
- #[serde(default = "default_758")]
+ #[serde(default = "default_794")]
pub token_budget: Integer,
- #[serde(default = "default_759")]
+ #[serde(default = "default_795")]
pub decisions: std::collections::HashMap,
- #[serde(default = "default_760")]
+ #[serde(default = "default_796")]
pub sections: std::collections::HashMap>,
- #[serde(default = "default_761")]
+ #[serde(default = "default_797")]
pub trace_run_id: String,
}
@@ -14343,11 +14563,11 @@ pub struct CodeScipStatusOutput {
pub status: String,
pub parts_received: Integer,
pub total_parts: Integer,
- #[serde(default = "default_762")]
+ #[serde(default = "default_798")]
pub error: String,
- #[serde(default = "default_763")]
+ #[serde(default = "default_799")]
pub commit_sha: String,
- #[serde(default = "default_764")]
+ #[serde(default = "default_800")]
pub applied_at: String,
}
@@ -14506,65 +14726,65 @@ pub enum CodeSearchOutputEpistemic {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeSearchOutput {
- #[serde(default = "default_765")]
+ #[serde(default = "default_801")]
pub lessons: Vec>,
- #[serde(default = "default_766")]
+ #[serde(default = "default_802")]
pub lessons_left_out: Integer,
pub results: Vec,
pub route: String,
- #[serde(default = "default_767")]
+ #[serde(default = "default_803")]
pub next_cursor: String,
- #[serde(default = "default_768")]
+ #[serde(default = "default_804")]
pub has_more: bool,
- #[serde(default = "default_769")]
+ #[serde(default = "default_805")]
pub history: std::collections::HashMap,
- #[serde(default = "default_770")]
+ #[serde(default = "default_806")]
pub abstain: bool,
- #[serde(default = "default_771")]
+ #[serde(default = "default_807")]
pub abstain_code: CodeSearchOutputAbstainCode,
- #[serde(default = "default_772")]
+ #[serde(default = "default_808")]
pub abstain_reason: String,
- #[serde(default = "default_773")]
+ #[serde(default = "default_809")]
pub retrieval_risk: CodeSearchOutputRetrievalRisk,
- #[serde(default = "default_774")]
+ #[serde(default = "default_810")]
pub retrieval_confidence: f64,
- #[serde(default = "default_775")]
+ #[serde(default = "default_811")]
pub pick_confidence: CodeSearchOutputPickConfidence,
- #[serde(default = "default_776")]
+ #[serde(default = "default_812")]
pub pick_cause: String,
- #[serde(default = "default_777")]
+ #[serde(default = "default_813")]
pub route_agreement: f64,
- #[serde(default = "default_778")]
+ #[serde(default = "default_814")]
pub calibration_explanation: String,
- #[serde(default = "default_779")]
+ #[serde(default = "default_815")]
pub tokens_returned: Integer,
- #[serde(default = "default_780")]
+ #[serde(default = "default_816")]
pub constrained: bool,
- #[serde(default = "default_781")]
+ #[serde(default = "default_817")]
pub matched_files: Integer,
- #[serde(default = "default_782")]
+ #[serde(default = "default_818")]
pub as_of: std::collections::HashMap,
- #[serde(default = "default_783")]
+ #[serde(default = "default_819")]
pub score_explanation: String,
- #[serde(default = "default_784")]
+ #[serde(default = "default_820")]
pub retrieval_work: std::collections::HashMap,
- #[serde(default = "default_785")]
+ #[serde(default = "default_821")]
pub trace_run_id: String,
- #[serde(default = "default_786")]
+ #[serde(default = "default_822")]
pub top_similarity: f64,
- #[serde(default = "default_787")]
+ #[serde(default = "default_823")]
pub tracked: std::collections::HashMap,
- #[serde(default = "default_788")]
+ #[serde(default = "default_824")]
pub fanout: std::collections::HashMap,
- #[serde(default = "default_789")]
+ #[serde(default = "default_825")]
pub note: String,
- #[serde(default = "default_790")]
+ #[serde(default = "default_826")]
pub legs_timed_out: Vec,
- #[serde(default = "default_791")]
+ #[serde(default = "default_827")]
pub epistemic: CodeSearchOutputEpistemic,
- #[serde(default = "default_792")]
+ #[serde(default = "default_828")]
pub partial: bool,
- #[serde(default = "default_793")]
+ #[serde(default = "default_829")]
pub partial_reason: String,
}
@@ -15082,23 +15302,23 @@ impl CodeSearchInput {
#[non_exhaustive]
pub struct CodeSettingFactsOutput {
pub name: String,
- #[serde(default = "default_794")]
+ #[serde(default = "default_830")]
pub verdict: String,
- #[serde(default = "default_795")]
+ #[serde(default = "default_831")]
pub causes: Vec,
- #[serde(default = "default_796")]
+ #[serde(default = "default_832")]
pub declaration: std::collections::HashMap,
- #[serde(default = "default_797")]
+ #[serde(default = "default_833")]
pub tier: String,
- #[serde(default = "default_798")]
+ #[serde(default = "default_834")]
pub history: Vec>,
- #[serde(default = "default_799")]
+ #[serde(default = "default_835")]
pub randomized_in_ci: std::collections::HashMap,
- #[serde(default = "default_800")]
+ #[serde(default = "default_836")]
pub tests_total: Integer,
- #[serde(default = "default_801")]
+ #[serde(default = "default_837")]
pub control: std::collections::HashMap,
- #[serde(default = "default_802")]
+ #[serde(default = "default_838")]
pub trace_run_id: String,
}
@@ -15531,31 +15751,31 @@ impl CodeSymbolInput {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeSymbolHistoryOutput {
- #[serde(default = "default_803")]
+ #[serde(default = "default_839")]
pub verdict: String,
- #[serde(default = "default_804")]
+ #[serde(default = "default_840")]
pub causes: Vec,
- #[serde(default = "default_805")]
+ #[serde(default = "default_841")]
pub epistemic: String,
- #[serde(default = "default_806")]
+ #[serde(default = "default_842")]
pub symbol: std::collections::HashMap,
- #[serde(default = "default_807")]
+ #[serde(default = "default_843")]
pub ambiguous: bool,
- #[serde(default = "default_808")]
+ #[serde(default = "default_844")]
pub candidates: Vec,
- #[serde(default = "default_809")]
+ #[serde(default = "default_845")]
pub prs: Vec>,
- #[serde(default = "default_810")]
+ #[serde(default = "default_846")]
pub review_comments: Vec>,
- #[serde(default = "default_811")]
+ #[serde(default = "default_847")]
pub open_issues_naming: Vec>,
- #[serde(default = "default_812")]
+ #[serde(default = "default_848")]
pub summary: std::collections::HashMap,
- #[serde(default = "default_813")]
+ #[serde(default = "default_849")]
pub tracker_namespace: String,
- #[serde(default = "default_814")]
+ #[serde(default = "default_850")]
pub tracker_unavailable: bool,
- #[serde(default = "default_815")]
+ #[serde(default = "default_851")]
pub trace_run_id: String,
}
@@ -15673,43 +15893,43 @@ impl CodeSymbolHistoryInput {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeTestGateOutput {
- #[serde(default = "default_816")]
+ #[serde(default = "default_852")]
pub tests: Vec>,
- #[serde(default = "default_817")]
+ #[serde(default = "default_853")]
pub untested: Vec>,
- #[serde(default = "default_818")]
+ #[serde(default = "default_854")]
pub unlinked: Vec>,
- #[serde(default = "default_819")]
+ #[serde(default = "default_855")]
pub changed_files: Vec,
- #[serde(default = "default_820")]
+ #[serde(default = "default_856")]
pub touched_symbols: Vec>,
- #[serde(default = "default_821")]
+ #[serde(default = "default_857")]
pub obligations: bool,
- #[serde(default = "default_822")]
+ #[serde(default = "default_858")]
pub tests_total: Integer,
- #[serde(default = "default_823")]
+ #[serde(default = "default_859")]
pub tests_unnamed: Integer,
- #[serde(default = "default_824")]
+ #[serde(default = "default_860")]
pub untested_total: Integer,
- #[serde(default = "default_825")]
+ #[serde(default = "default_861")]
pub unlinked_total: Integer,
- #[serde(default = "default_826")]
+ #[serde(default = "default_862")]
pub tests_capped: bool,
- #[serde(default = "default_827")]
+ #[serde(default = "default_863")]
pub untested_capped: bool,
- #[serde(default = "default_828")]
+ #[serde(default = "default_864")]
pub unlinked_capped: bool,
- #[serde(default = "default_829")]
+ #[serde(default = "default_865")]
pub counts_floor: bool,
- #[serde(default = "default_830")]
+ #[serde(default = "default_866")]
pub epistemic: String,
- #[serde(default = "default_831")]
+ #[serde(default = "default_867")]
pub causes: Vec,
- #[serde(default = "default_832")]
+ #[serde(default = "default_868")]
pub by_hop_counts: std::collections::HashMap,
- #[serde(default = "default_833")]
+ #[serde(default = "default_869")]
pub at_commit: std::collections::HashMap,
- #[serde(default = "default_834")]
+ #[serde(default = "default_870")]
pub trace_run_id: String,
}
@@ -15849,21 +16069,21 @@ impl CodeTestGateInput {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeTestHomeOutput {
- #[serde(default = "default_835")]
+ #[serde(default = "default_871")]
pub verdict: String,
- #[serde(default = "default_836")]
+ #[serde(default = "default_872")]
pub home: String,
- #[serde(default = "default_837")]
+ #[serde(default = "default_873")]
pub candidates: Vec>,
- #[serde(default = "default_838")]
+ #[serde(default = "default_874")]
pub parts: Vec,
- #[serde(default = "default_839")]
+ #[serde(default = "default_875")]
pub src_paths: Vec,
- #[serde(default = "default_840")]
+ #[serde(default = "default_876")]
pub next_free_stateless_number: Integer,
- #[serde(default = "default_841")]
+ #[serde(default = "default_877")]
pub control: std::collections::HashMap,
- #[serde(default = "default_842")]
+ #[serde(default = "default_878")]
pub trace_run_id: String,
}
@@ -16003,29 +16223,29 @@ impl CodeTestHomeInput {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct CodeTestsForOutput {
- #[serde(default = "default_843")]
+ #[serde(default = "default_879")]
pub tests: Vec>,
- #[serde(default = "default_844")]
+ #[serde(default = "default_880")]
pub total: Integer,
- #[serde(default = "default_845")]
+ #[serde(default = "default_881")]
pub truncated: bool,
- #[serde(default = "default_846")]
+ #[serde(default = "default_882")]
pub facets: Vec>,
- #[serde(default = "default_847")]
+ #[serde(default = "default_883")]
pub verdict: String,
- #[serde(default = "default_848")]
+ #[serde(default = "default_884")]
pub abstain: bool,
- #[serde(default = "default_849")]
+ #[serde(default = "default_885")]
pub uncovered_kinds: Vec,
- #[serde(default = "default_850")]
+ #[serde(default = "default_886")]
pub as_of: std::collections::HashMap,
- #[serde(default = "default_851")]
+ #[serde(default = "default_887")]
pub at_commit: std::collections::HashMap,
- #[serde(default = "default_852")]
+ #[serde(default = "default_888")]
pub tokens_returned: Integer,
- #[serde(default = "default_853")]
+ #[serde(default = "default_889")]
pub took_ms: Integer,
- #[serde(default = "default_854")]
+ #[serde(default = "default_890")]
pub trace_run_id: String,
}
@@ -16142,9 +16362,9 @@ impl CodeTestsForInput {
pub struct CodeTraceOutput {
pub frames: Vec>,
pub definitions: Vec,
- #[serde(default = "default_855")]
+ #[serde(default = "default_891")]
pub tokens_returned: Integer,
- #[serde(default = "default_856")]
+ #[serde(default = "default_892")]
pub trace_run_id: String,
}
@@ -16260,16 +16480,16 @@ pub enum CodeVerifyOutputVerdict {
#[non_exhaustive]
pub struct CodeVerifyOutput {
pub verdict: CodeVerifyOutputVerdict,
- #[serde(default = "default_857")]
+ #[serde(default = "default_893")]
pub reason: String,
pub explanation: String,
- #[serde(default = "default_858")]
+ #[serde(default = "default_894")]
pub evidence: Vec>,
- #[serde(default = "default_859")]
+ #[serde(default = "default_895")]
pub floors: std::collections::HashMap,
- #[serde(default = "default_860")]
+ #[serde(default = "default_896")]
pub index_verdict: String,
- #[serde(default = "default_861")]
+ #[serde(default = "default_897")]
pub trace_run_id: String,
}
@@ -16391,29 +16611,29 @@ impl CodeVerifyInput {
#[non_exhaustive]
pub struct CodeVerifyCitationsOutput {
pub verdict: String,
- #[serde(default = "default_862")]
+ #[serde(default = "default_898")]
pub counts: std::collections::HashMap,
- #[serde(default = "default_863")]
+ #[serde(default = "default_899")]
pub citations: Vec>,
- #[serde(default = "default_864")]
+ #[serde(default = "default_900")]
pub skipped: Vec>,
- #[serde(default = "default_865")]
+ #[serde(default = "default_901")]
pub truncated: bool,
- #[serde(default = "default_866")]
+ #[serde(default = "default_902")]
pub epistemic: std::collections::HashMap,
- #[serde(default = "default_867")]
+ #[serde(default = "default_903")]
pub at_commit: std::collections::HashMap,
- #[serde(default = "default_868")]
+ #[serde(default = "default_904")]
pub pr_diff: std::collections::HashMap,
- #[serde(default = "default_869")]
+ #[serde(default = "default_905")]
pub namespaces: Vec,
- #[serde(default = "default_870")]
+ #[serde(default = "default_906")]
pub took_ms: Integer,
- #[serde(default = "default_871")]
+ #[serde(default = "default_907")]
pub as_of: std::collections::HashMap,
- #[serde(default = "default_872")]
+ #[serde(default = "default_908")]
pub note: String,
- #[serde(default = "default_873")]
+ #[serde(default = "default_909")]
pub trace_run_id: String,
}
@@ -16672,7 +16892,7 @@ pub struct CollectionCreateOutput {
pub namespace: String,
pub parent: String,
pub created: bool,
- #[serde(default = "default_874")]
+ #[serde(default = "default_910")]
pub title: String,
}
@@ -16770,9 +16990,9 @@ impl CollectionCreateInput {
pub struct CollectionDeleteOutput {
pub namespace: String,
pub deleted: bool,
- #[serde(default = "default_875")]
+ #[serde(default = "default_911")]
pub erasure_id: String,
- #[serde(default = "default_876")]
+ #[serde(default = "default_912")]
pub erasure_status: String,
}
@@ -16814,11 +17034,11 @@ pub struct CollectionEntry {
pub parent: String,
pub personal: bool,
pub role: String,
- #[serde(default = "default_877")]
+ #[serde(default = "default_913")]
pub description: String,
- #[serde(default = "default_878")]
+ #[serde(default = "default_914")]
pub title: String,
- #[serde(default = "default_879")]
+ #[serde(default = "default_915")]
pub document_count: Option,
}
@@ -16826,7 +17046,7 @@ pub struct CollectionEntry {
#[non_exhaustive]
pub struct CollectionListOutput {
pub collections: Vec,
- #[serde(default = "default_880")]
+ #[serde(default = "default_916")]
pub next_cursor: Option,
}
@@ -17168,13 +17388,13 @@ pub struct ConflictRow {
#[non_exhaustive]
pub struct ConflictsListOutput {
pub rows: Vec,
- #[serde(default = "default_881")]
+ #[serde(default = "default_917")]
pub next_before_version: Option,
- #[serde(default = "default_882")]
+ #[serde(default = "default_918")]
pub total: Option,
- #[serde(default = "default_883")]
+ #[serde(default = "default_919")]
pub proposals: Option,
- #[serde(default = "default_884")]
+ #[serde(default = "default_920")]
pub keys: Option>,
}
@@ -17326,7 +17546,7 @@ pub struct ConflictRevisionSuggestion {
pub target_local_id: Integer,
pub peer_local_ids: Vec,
pub rationale: String,
- #[serde(default = "default_886")]
+ #[serde(default = "default_922")]
pub apply_operation: String,
}
@@ -17334,11 +17554,11 @@ pub struct ConflictRevisionSuggestion {
#[non_exhaustive]
pub struct ConflictsProposeRevisionOutput {
pub found: bool,
- #[serde(default = "default_885")]
+ #[serde(default = "default_921")]
pub memories: Vec,
- #[serde(default = "default_887")]
+ #[serde(default = "default_923")]
pub suggestions: Vec,
- #[serde(default = "default_888")]
+ #[serde(default = "default_924")]
pub note: String,
}
@@ -17418,9 +17638,9 @@ pub struct ConflictsResolveOutput {
pub resolved: bool,
pub decision: ConflictsResolveOutputDecision,
pub affected_memory_ids: Vec,
- #[serde(default = "default_889")]
+ #[serde(default = "default_925")]
pub resolved_at: Option,
- #[serde(default = "default_890")]
+ #[serde(default = "default_926")]
pub total: Option,
}
@@ -17577,13 +17797,13 @@ pub enum ConnectionEntryKind {
pub struct ConnectionEntry {
pub kind: ConnectionEntryKind,
pub connected: bool,
- #[serde(default = "default_891")]
+ #[serde(default = "default_927")]
pub connect_available: bool,
- #[serde(default = "default_892")]
+ #[serde(default = "default_928")]
pub stored: bool,
- #[serde(default = "default_893")]
+ #[serde(default = "default_929")]
pub account_email: Option,
- #[serde(default = "default_894")]
+ #[serde(default = "default_930")]
pub scopes: Vec,
pub connect_url: String,
}
@@ -17758,23 +17978,23 @@ impl ConsolidationsListInput {
pub struct ContextFetchOutput {
pub found: bool,
pub blob_key: String,
- #[serde(default = "default_895")]
+ #[serde(default = "default_931")]
pub content: String,
- #[serde(default = "default_896")]
+ #[serde(default = "default_932")]
pub content_type: String,
- #[serde(default = "default_897")]
+ #[serde(default = "default_933")]
pub summary: String,
- #[serde(default = "default_898")]
+ #[serde(default = "default_934")]
pub total_chars: Integer,
- #[serde(default = "default_899")]
+ #[serde(default = "default_935")]
pub total_lines: Integer,
- #[serde(default = "default_900")]
+ #[serde(default = "default_936")]
pub offset: Integer,
- #[serde(default = "default_901")]
+ #[serde(default = "default_937")]
pub next_offset: Integer,
- #[serde(default = "default_902")]
+ #[serde(default = "default_938")]
pub matched_lines: Integer,
- #[serde(default = "default_903")]
+ #[serde(default = "default_939")]
pub expires_at: Option,
}
@@ -18068,9 +18288,9 @@ pub enum ConversationAppendOutputReason {
pub struct ConversationAppendOutput {
pub msg_id: String,
pub ts: String,
- #[serde(default = "default_904")]
+ #[serde(default = "default_940")]
pub stored: bool,
- #[serde(default = "default_905")]
+ #[serde(default = "default_941")]
pub reason: ConversationAppendOutputReason,
}
@@ -18219,13 +18439,13 @@ impl ConversationAppendInput {
pub struct ConversationCompactOutput {
pub compacted: bool,
pub messages_summarized: Integer,
- #[serde(default = "default_906")]
+ #[serde(default = "default_942")]
pub summary_msg_id: String,
- #[serde(default = "default_907")]
+ #[serde(default = "default_943")]
pub tokens_in: Integer,
- #[serde(default = "default_908")]
+ #[serde(default = "default_944")]
pub tokens_out: Integer,
- #[serde(default = "default_909")]
+ #[serde(default = "default_945")]
pub reason: String,
}
@@ -18489,7 +18709,7 @@ pub enum ConversationEntryRole {
#[non_exhaustive]
pub struct ConversationEntry {
pub msg_id: String,
- #[serde(default = "default_918")]
+ #[serde(default = "default_954")]
pub agent: String,
pub role: ConversationEntryRole,
pub content: String,
@@ -18506,25 +18726,25 @@ pub struct ConversationEntry {
pub struct ConversationGetOutput {
pub found: bool,
pub thread_id: String,
- #[serde(default = "default_910")]
+ #[serde(default = "default_946")]
pub title: String,
- #[serde(default = "default_911")]
+ #[serde(default = "default_947")]
pub metadata: std::collections::HashMap,
- #[serde(default = "default_912")]
+ #[serde(default = "default_948")]
pub run_id: String,
- #[serde(default = "default_913")]
+ #[serde(default = "default_949")]
pub user_id: String,
- #[serde(default = "default_914")]
+ #[serde(default = "default_950")]
pub agent: String,
- #[serde(default = "default_915")]
+ #[serde(default = "default_951")]
pub created_at: Option,
- #[serde(default = "default_916")]
+ #[serde(default = "default_952")]
pub updated_at: Option,
- #[serde(default = "default_917")]
+ #[serde(default = "default_953")]
pub msg_count: Integer,
- #[serde(default = "default_919")]
+ #[serde(default = "default_955")]
pub messages: Vec