Skip to content
Source
Sign inSign up
TanStack/schemas

Infer origin links from a matching id, serve the chain root, and mark first-party rows #736 (GitHub #735)

Mergedtombeckenhammerged 13 commits intomain fromfeat/719-inferred-linksmerged by tombeckenham View on GitHub

Showing 53 changed files with 13 additions and 0 deletions (loading 50).

x
0 of 53 viewed, 53 left
5 additions and 0 deletions.changeset/inferred-links-first-party.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@modelschemas/client': minor
+---
+​
+`Model` gains `sameAsRoot`, the row its `sameAs` chain ends at, and `firstParty`, whether the provider is the maker of the model. `ModelFactSources` gains `firstParty` (`FirstPartySource`). `FactSource` gains `derivation: 'name-inferred'` with `key` and `candidates` for a `sameAs` drawn from a matching id, and `variant` for a stated variant id (OpenRouter's `:batch`).
8 additions and 0 deletionsdocs/api-changes.mdModified
View file
@@ -4,6 +4,14 @@
steps stay in the README under "Releasing on npm". npm package changelogs
are written by changesets.
​
+**Added (0.1.x):** model rows gain `sameAsRoot` and `firstParty` (#719),
+and `factSources` gains `firstParty`. `sameAs` can now be name-inferred
+for a row whose provider states no upstream: `factSources.sameAs` is then
+`{ derivation: 'name-inferred', key, candidates }`, a new `derivation`
+value. A stated OpenRouter variant (`:batch`) links to its base model with
+`variant` in the evidence. Needs D1 migration `0021`: migrate first, then
+deploy.
+​
**Added (0.1.x):** model rows gain `maker` (#710), the model's maker as
its provider names it, and `factSources` gains `maker`. Gemma rows on
Gemini gain `openWeights` and `weightsUrl` from the Gemma 4 card. Needs D1