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 #734

Closedtombeckenhamwants to merge 9 commits intomain fromfeat/719-inferred-linksopened

Showing 79 changed files with 56 additions and 0 deletions (loading 75).

x
0 of 79 viewed, 79 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`).
43 additions and 0 deletions.source/workflows/ci.tsAdded
View file
@@ -0,0 +1,43 @@
+// The `ci` job of .github/workflows/ci.yml, on the forge. Runs on every pull
+// request, whatever its base, so a stacked pull request (never opened on
+// GitHub) gets checks too. GitHub CI stays as it is; zizmor stays there.
+//
+// No secrets and no variables: a pull request run is someone's code.
+import {
+ defineWorkflow,
+ manual,
+ pullRequest,
+ push,
+ setup,
+} from '@tanstack-source/ci'
+​
+export default defineWorkflow('ci', {
+ // manual(): run a branch by hand (`src ci start ci --ref <branch>`).
+ on: [pullRequest(), push({ branches: ['main'] }), manual()],
+}).job('ci', {