@sanity/ailf-studio 2.4.0 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +34 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -15742,6 +15742,7 @@ var PipelineRequestSchema = external_exports.object({
15742
15742
  searchMode: external_exports.enum(["off", "open", "origin-only"]).optional(),
15743
15743
  source: external_exports.string().optional(),
15744
15744
  sourceReportId: external_exports.string().optional(),
15745
+ studioOrigin: external_exports.string().url().optional(),
15745
15746
  taskMode: external_exports.enum(["content-lake", "inline"]).optional(),
15746
15747
  /**
15747
15748
  * Task-source configuration (W0077 Phase 6h). Mirrors
@@ -18224,7 +18225,39 @@ function documentRefSchema() {
18224
18225
  defineField4({ name: "documentId", title: "Document ID", type: "string" }),
18225
18226
  defineField4({ name: "revision", title: "Revision", type: "string" }),
18226
18227
  defineField4({ name: "slug", title: "Slug", type: "string" }),
18227
- defineField4({ name: "title", title: "Title", type: "string" })
18228
+ defineField4({ name: "title", title: "Title", type: "string" }),
18229
+ // Source-tagged retrieval contract (D0062). Optional: absent on refs
18230
+ // written before the locator landed; present and authoritative when set.
18231
+ // readOnly mirrors the rest of the immutable report — the inner
18232
+ // coordinate fields inherit it.
18233
+ defineField4({
18234
+ name: "locator",
18235
+ title: "Source Locator",
18236
+ description: "Source-tagged coordinates needed to re-fetch this document (D0062). Present on refs stamped after the locator landed; absent on older reports.",
18237
+ readOnly: true,
18238
+ type: "object",
18239
+ fields: [
18240
+ defineField4({ name: "kind", title: "Source Kind", type: "string" }),
18241
+ defineField4({
18242
+ name: "projectId",
18243
+ title: "Project ID",
18244
+ type: "string"
18245
+ }),
18246
+ defineField4({ name: "dataset", title: "Dataset", type: "string" }),
18247
+ defineField4({
18248
+ name: "documentId",
18249
+ title: "Document ID",
18250
+ type: "string"
18251
+ }),
18252
+ defineField4({
18253
+ name: "perspective",
18254
+ title: "Perspective",
18255
+ type: "string"
18256
+ }),
18257
+ defineField4({ name: "revision", title: "Revision", type: "string" }),
18258
+ defineField4({ name: "url", title: "URL", type: "url" })
18259
+ ]
18260
+ })
18228
18261
  ],
18229
18262
  type: "object"
18230
18263
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/ailf-studio",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "AI Literacy Framework — Sanity Studio dashboard plugin",
5
5
  "type": "module",
6
6
  "license": "MIT",