open source is social v-it.org
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: disable client-side validation for custom lexicons

@atproto/api validate: true rejects org.v-it.cap and org.v-it.skill
because custom lexicons aren't registered with the client library.
The PDS accepts custom record types regardless. Set validate: false
for putRecord calls — the lexicon schema in lexicons/ is the source
of truth, not client-side validation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+2 -2
+2 -2
src/cmd/ship.js
··· 265 265 collection: SKILL_COLLECTION, 266 266 rkey, 267 267 record, 268 - validate: true, 268 + validate: false, 269 269 }; 270 270 271 271 if (verbose) vlog(`[verbose] putRecord ${putArgs.collection} rkey=${rkey}`); ··· 477 477 collection: CAP_COLLECTION, 478 478 rkey, 479 479 record, 480 - validate: true, 480 + validate: false, 481 481 }; 482 482 if (verbose) vlog(`[verbose] putRecord ${putArgs.collection} rkey=${rkey}`); 483 483 const putRes = await agent.com.atproto.repo.putRecord(putArgs);