@peasant-labs/schema 0.34.1 → 0.35.0
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.
|
@@ -161,7 +161,7 @@ export interface paths {
|
|
|
161
161
|
path?: never;
|
|
162
162
|
cookie?: never;
|
|
163
163
|
};
|
|
164
|
-
/** @description List per-project summary rows for the home picker (sessions, recorded coverage, last work, open changes). */
|
|
164
|
+
/** @description List per-project summary rows for the home picker (sessions, recorded coverage, last work, open changes). The sessions count covers every session recorded for a project: the saved ingestion selection never narrows it, and no origin, index-readiness, or account bound applies to it. recordedFiles, totalFiles, openChanges, and lastWorkMs keep their own file-coverage and Git meanings. */
|
|
165
165
|
get: operations["listProjectSummaries"];
|
|
166
166
|
put?: never;
|
|
167
167
|
post?: never;
|
|
@@ -178,7 +178,7 @@ export interface paths {
|
|
|
178
178
|
path?: never;
|
|
179
179
|
cookie?: never;
|
|
180
180
|
};
|
|
181
|
-
/** @description Read the durable publication state of named local sessions for the Village account this computer is signed in to; a signed-out computer reports every session unpublished. This read ignores the saved selection:
|
|
181
|
+
/** @description Read the durable publication state of named local sessions for the Village account this computer is signed in to; a signed-out computer reports every session unpublished. This read ignores the saved ingestion and push selection: every requested stored session is returned, with outsideSelection reporting only whether that selection would admit the session to a future ingest or an upload hook. An identifier that names no session on this computer is omitted. include=audience adds the collectives each published transcript is shared with, as [] when it is shared with none, and returns 502 when Village cannot be read. 400 when sessionIds is missing or empty. 500 when the saved selection or the local store cannot be read: the read reports the failure with an actionable cause instead of omitting a row or guessing a flag, while a selection that merely excludes a session neither fails the read nor omits the row. A client counts the turns recorded after publishedAt to say about how many turns are new; the count is approximate. */
|
|
182
182
|
get: operations["listPublications"];
|
|
183
183
|
put?: never;
|
|
184
184
|
post?: never;
|
|
@@ -246,7 +246,7 @@ export interface paths {
|
|
|
246
246
|
path?: never;
|
|
247
247
|
cookie?: never;
|
|
248
248
|
};
|
|
249
|
-
/** @description Full-text search across recorded (redacted) message entries; matches the first ~2000 chars of each turn plus truncated tool input/output. */
|
|
249
|
+
/** @description Full-text search across recorded (redacted) message entries; matches the first ~2000 chars of each turn plus truncated tool input/output. The saved ingestion selection never excludes an indexed entry that matches the query. The search index and the query bounds above still apply. */
|
|
250
250
|
get: operations["searchMessages"];
|
|
251
251
|
put?: never;
|
|
252
252
|
post?: never;
|
|
@@ -263,7 +263,7 @@ export interface paths {
|
|
|
263
263
|
path?: never;
|
|
264
264
|
cookie?: never;
|
|
265
265
|
};
|
|
266
|
-
/** @description List authorized saved helper sessions within the originating grouped query scope. */
|
|
266
|
+
/** @description List authorized saved helper sessions within the originating grouped query scope. The scope names that query, not a selection revision: the saved ingestion selection is not part of it, so changing that selection neither revokes an issued scope nor changes which members the originating rule admits. The originating grouped route's own eligibility and query predicate rules are kept, together with parent and group-scope integrity; this read adds no further browsing bound. */
|
|
267
267
|
get: operations["listLocalHelperGroupMembers"];
|
|
268
268
|
put?: never;
|
|
269
269
|
post?: never;
|
|
@@ -280,7 +280,7 @@ export interface paths {
|
|
|
280
280
|
path?: never;
|
|
281
281
|
cookie?: never;
|
|
282
282
|
};
|
|
283
|
-
/** @description Get session summaries for an explicit set of session identifiers. This operation resolves links, so it applies NEITHER origin scope NOR selection
|
|
283
|
+
/** @description Get session summaries for an explicit set of session identifiers. This operation resolves links, so it applies NEITHER origin scope NOR the saved ingestion selection: a stored session is returned here when its identifier is named, even when its origin keeps it out of a list, and the saved ingestion selection never narrows a stored read. An identifier that names no session on this machine is omitted from the response rather than failing the batch, so a partially stale link still resolves the sessions that do exist. */
|
|
284
284
|
get: operations["getSessionSummariesByID"];
|
|
285
285
|
put?: never;
|
|
286
286
|
post?: never;
|
|
@@ -297,7 +297,7 @@ export interface paths {
|
|
|
297
297
|
path?: never;
|
|
298
298
|
cookie?: never;
|
|
299
299
|
};
|
|
300
|
-
/** @description List session summaries. */
|
|
300
|
+
/** @description List session summaries. The saved ingestion selection never narrows this read: a stored session is not withheld because that selection would leave it out of a future ingest. Independent origin, index-readiness, and query rules still apply, so the list holds every eligible stored session. */
|
|
301
301
|
get: operations["listSessions"];
|
|
302
302
|
put?: never;
|
|
303
303
|
post?: never;
|
|
@@ -314,7 +314,7 @@ export interface paths {
|
|
|
314
314
|
path?: never;
|
|
315
315
|
cookie?: never;
|
|
316
316
|
};
|
|
317
|
-
/** @description Get session detail by ID. */
|
|
317
|
+
/** @description Get session detail by ID. The saved ingestion selection never refuses a stored session here: a session this computer has stored is not refused because that selection would leave it out of a future ingest. */
|
|
318
318
|
get: operations["getSession"];
|
|
319
319
|
put?: never;
|
|
320
320
|
post?: never;
|
|
@@ -365,7 +365,7 @@ export interface paths {
|
|
|
365
365
|
path?: never;
|
|
366
366
|
cookie?: never;
|
|
367
367
|
};
|
|
368
|
-
/** @description Get the flat additive session transcript by ID. */
|
|
368
|
+
/** @description Get the flat additive session transcript by ID. The saved ingestion selection never refuses a stored session here: a session this computer has stored is not refused because that selection would leave it out of a future ingest. */
|
|
369
369
|
get: operations["getSessionTranscript"];
|
|
370
370
|
put?: never;
|
|
371
371
|
post?: never;
|
|
@@ -537,7 +537,7 @@ export interface paths {
|
|
|
537
537
|
path?: never;
|
|
538
538
|
cookie?: never;
|
|
539
539
|
};
|
|
540
|
-
/** @description Omitted view preserves the legacy flat response; view=grouped preserves helper groups and their membership scopes. view=home returns items/next forward pages of
|
|
540
|
+
/** @description Omitted view preserves the legacy flat response; view=grouped preserves helper groups and their membership scopes. view=home returns items/next forward pages of stored authoritative roots or general immediate children of parentSessionId, ordered by start time descending then local ID ascending. The saved ingestion selection is not applied as a direct browsing eligibility predicate: it excludes no root, child, or project option that the view's own eligibility rules admit, and counts and empty states derive from the eligible browsing set the caller's explicit filters select. Independent origin, index-readiness, publication, project, parent, and account rules still apply before paging, and an explicit publication=auto filter may reflect legitimate hook eligibility, so that filtered view can change with the selection while no unfiltered stored row is added or removed. Only empty next means done: short or empty items may continue. maxItems omitted or zero defaults to 25, positive values clamp to 100; negative, malformed or repeated values return 400. pageToken is opaque and at most 4096 bytes; malformed, unsupported or stale-scope tokens return 400 with recovery guidance to discard continuation and restart, never a usable page. A token's scope is the view, the parent, the root project or publication filter, and the caller's account; it does not include the page size, which a caller may change independently, or the saved ingestion selection, so changing that selection leaves an in-flight continuation valid. Root project/publication filters apply before paging; child calls reject them. Unknown parents return 404 without child IDs. Page hydration is limited to returned IDs and includes stored titles, bounded redaction-safe previews and canonical publication state without audience. Auto filtering may inspect scanned candidate repositories. Paging/filter parameters require view=home and are rejected for other views. view=project-options returns the complete metadata-only stored root project picker, sorted by name then hash, deduplicated by hash and independent of publication/current project filters; no counts, Git summaries or enrichment. Reauthorize every request. Tokens are not credentials or snapshots: a continuation stays valid when publication metadata changes which rows a filter selects. A hydrated row still needs the saved selection for its publication metadata: when that metadata cannot be determined the read returns 500 with an actionable cause instead of omitting the row or reporting a fabricated flag, while a selection that merely excludes a session neither fails the read nor omits the row. Store failures return 500 and unavailable readers 503, never empty success. */
|
|
541
541
|
get: operations["listSyncSessionsGrouped"];
|
|
542
542
|
put?: never;
|
|
543
543
|
post?: never;
|
|
@@ -1989,6 +1989,15 @@ export interface operations {
|
|
|
1989
1989
|
"application/json": components["schemas"]["OpenapiLocalErrorResponse"];
|
|
1990
1990
|
};
|
|
1991
1991
|
};
|
|
1992
|
+
/** @description Internal Server Error */
|
|
1993
|
+
500: {
|
|
1994
|
+
headers: {
|
|
1995
|
+
[name: string]: unknown;
|
|
1996
|
+
};
|
|
1997
|
+
content: {
|
|
1998
|
+
"application/json": components["schemas"]["OpenapiLocalErrorResponse"];
|
|
1999
|
+
};
|
|
2000
|
+
};
|
|
1992
2001
|
/** @description Bad Gateway */
|
|
1993
2002
|
502: {
|
|
1994
2003
|
headers: {
|
|
@@ -2654,6 +2663,7 @@ export interface operations {
|
|
|
2654
2663
|
pageToken?: string;
|
|
2655
2664
|
parentSessionId?: string;
|
|
2656
2665
|
projectHash?: components["schemas"]["SchemaProjectHash"];
|
|
2666
|
+
/** @description Root publication filter; auto uses the canonical live hook decision. This is an explicit publication filter, not selection scope */
|
|
2657
2667
|
publication?: components["schemas"]["SchemaLocalSyncPublicationFilter"];
|
|
2658
2668
|
};
|
|
2659
2669
|
header?: never;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const VillageAPIVersion: "0.30.0";
|
|
2
|
-
export declare const PeasantLocalAPIVersion: "0.
|
|
3
|
-
export declare const TypesVersion: "0.
|
|
2
|
+
export declare const PeasantLocalAPIVersion: "0.25.0";
|
|
3
|
+
export declare const TypesVersion: "0.38.0";
|
|
4
4
|
export declare const MetadataSchemaVersion: 12;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated from the canonical Go/OpenAPI contract. DO NOT EDIT.
|
|
2
2
|
export const VillageAPIVersion = "0.30.0";
|
|
3
|
-
export const PeasantLocalAPIVersion = "0.
|
|
4
|
-
export const TypesVersion = "0.
|
|
3
|
+
export const PeasantLocalAPIVersion = "0.25.0";
|
|
4
|
+
export const TypesVersion = "0.38.0";
|
|
5
5
|
export const MetadataSchemaVersion = 12;
|