@peasant-labs/schema 0.23.0 → 0.25.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.
- package/dist/fixtures/session-graph-capability.d.ts +83 -3
- package/dist/fixtures/session-graph.d.ts +14 -0
- package/dist/index.js +75 -0
- package/dist/internal/generated/content-capabilities.gen.d.ts +1 -0
- package/dist/internal/generated/content-capabilities.gen.js +4 -1
- package/dist/internal/generated/contract/zod.gen.d.ts +1240 -214
- package/dist/internal/generated/contract/zod.gen.js +402 -64
- package/dist/internal/generated/enums.gen.d.ts +119 -0
- package/dist/internal/generated/enums.gen.js +132 -0
- package/dist/internal/generated/local-api.d.ts +859 -11
- package/dist/internal/generated/public-contract.gen.d.ts +2 -2
- package/dist/internal/generated/public-contract.gen.js +1 -1
- package/dist/internal/generated/session-graph-capability-fixtures.gen.d.ts +83 -3
- package/dist/internal/generated/session-graph-capability-fixtures.gen.js +116 -3
- package/dist/internal/generated/session-graph-fixtures.gen.d.ts +14 -0
- package/dist/internal/generated/session-graph-fixtures.gen.js +21 -7
- package/dist/internal/generated/versions.gen.d.ts +3 -3
- package/dist/internal/generated/versions.gen.js +3 -3
- package/dist/internal/generated/village-api.d.ts +140 -2
- package/dist/internal/generated/wire-alias-shapes.gen.d.ts +267 -0
- package/dist/internal/generated/wire-alias-shapes.gen.js +268 -0
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { zActivityEdge, zActorOrigin, zAnnotationAxis, zAnnotationDatatype, zAnnotationEntryTarget, zAnnotationManifestResponse, zAnnotationPushStatus, zAnnotationPushResult, zAnnotationPushResponse, zAnnotationStatus, zAnnotatorKind, zAnnotatorSummary, zAssociationConclusion, zAssociationEvidenceKind, zAssociationEvidenceObservation, zAssociationID, zAuthoritativeCommitInfo, zAuthoritativeDiagnosticEntry, zAuthoritativeDiagnosticsInfo, zAuthoritativeSessionStats, zAuthoritativeTimestampInfo, zBatchCreateAnnotationsErrorResponse, zBatchCreateAnnotationsResponse, zBuiltinCommand, zCLILoginQuery, zCanonicalPublishGitContext, zChangeBinding, zChangeSummary, zChannelTopic, zChannelSubscription, zChildSessionRef, zCommandInvocation, zCommitInfo, zConfidence, zContentCapability, zContentKind, zContentOrigin, zContentOwnership, zContractVersion, zCreateAnnotationRequest, zBatchCreateAnnotationsRequest, zCreateAnnotationResponse, zDashboardPayload, zDayStats, zDecayLevel, zDeliveryOrigin, zDiagnosticEntry, zDiagnosticsInfo, zDiffLineKind, zDiffLine, zDiffHunk, zDigestItemKind, zEarlierHistoryState, zEdgeViolationKind, zEdgeViolation, zEntryType, zEvidenceKind, zExchangeCodeRequest, zExchangeCodeResponse, zFileChangeStatus, zChangeDiffPayload, zFileChange, zFileFamiliarity, zFrictionCluster, zHarness, zHealthResponse, zHostSlug, zInputModality, zInsightClassification, zInsightKind, zInsightProvenance, zInteractionType, zLicense, zMapEdge, zMapNodeKind, zMessageType, zClientMessage, zMockConfigResponse, zModelID, zAuthoritativeModelInfo, zModelInfo, zNativeAttachmentRef, zNativeMetadataKind, zNativeMetadataSourceType, zNativePiMessageRole, zObservedModelID, zOwnerUpdateLicenseIntent, zProjectHash, zAuthoritativeProjectContext,
|
|
2
|
-
export type { ActivityEdge, AnnotationEntryTarget, AnnotationManifestResponse, AnnotationPushResult, AnnotationPushResponse, AnnotatorSummary, AssociationEvidenceObservation, AssociationID, AuthoritativeCommitInfo, AuthoritativeDiagnosticEntry, AuthoritativeDiagnosticsInfo, AuthoritativeSessionStats, AuthoritativeTimestampInfo, BatchCreateAnnotationsErrorResponse, BatchCreateAnnotationsResponse, CLILoginQuery, CanonicalPublishGitContext, ChangeSummary, ChannelSubscription, ChildSessionRef, CommandInvocation, CommitInfo, ContentCapability, ContractVersion, CreateAnnotationRequest, BatchCreateAnnotationsRequest, CreateAnnotationResponse, DashboardPayload, DayStats, DiagnosticEntry, DiagnosticsInfo, DiffLine, DiffHunk, EdgeViolation, ExchangeCodeRequest, ExchangeCodeResponse, ChangeDiffPayload, FileChange, FileFamiliarity, FrictionCluster, HealthResponse, HostSlug, InsightClassification, MapEdge, ClientMessage, MockConfigResponse, ModelID, AuthoritativeModelInfo, ModelInfo, NativeAttachmentRef, ObservedModelID, OwnerUpdateLicenseIntent, ProjectHash, AuthoritativeProjectContext,
|
|
1
|
+
export { zActivityEdge, zActorOrigin, zAnnotationAxis, zAnnotationDatatype, zAnnotationEntryTarget, zAnnotationManifestResponse, zAnnotationPushStatus, zAnnotationPushResult, zAnnotationPushResponse, zAnnotationStatus, zAnnotatorKind, zAnnotatorSummary, zAssociationConclusion, zAssociationEvidenceKind, zAssociationEvidenceObservation, zAssociationID, zAuthoritativeCommitInfo, zAuthoritativeDiagnosticEntry, zAuthoritativeDiagnosticsInfo, zAuthoritativeSessionStats, zAuthoritativeTimestampInfo, zAutoPublishEvent, zAutoPublishHookRemedy, zAutoPublishHookStatus, zAutoPublishHook, zAutoPublishInstallRequest, zAutoPublishRepository, zAutoPublishRemovalResponse, zAutoPublishRuleKind, zBatchCreateAnnotationsErrorResponse, zBatchCreateAnnotationsResponse, zBuiltinCommand, zCLILoginQuery, zCanonicalPublishGitContext, zChangeBinding, zChangeSummary, zChannelTopic, zChannelSubscription, zChildSessionRef, zCommandInvocation, zCommitInfo, zConfidence, zContentCapability, zContentKind, zContentOrigin, zContentOwnership, zContractVersion, zCreateAnnotationRequest, zBatchCreateAnnotationsRequest, zCreateAnnotationResponse, zDashboardPayload, zDayStats, zDecayLevel, zDeliveryOrigin, zDiagnosticEntry, zDiagnosticsInfo, zDiffLineKind, zDiffLine, zDiffHunk, zDigestItemKind, zEarlierHistoryState, zEdgeViolationKind, zEdgeViolation, zEntryType, zEvidenceKind, zExchangeCodeRequest, zExchangeCodeResponse, zFileChangeStatus, zChangeDiffPayload, zFileChange, zFileFamiliarity, zFrictionCluster, zHarness, zHealthResponse, zHostSlug, zInputModality, zInsightClassification, zInsightKind, zInsightProvenance, zInteractionType, zInterpretationDiagnostics, zLicense, zLocalCollectiveSuggestionReason, zLocalCollectiveSuggestion, zLocalPublicationAttemptFailure, zLocalPublicationState, zLocalSettingKind, zLocalSettingRefusal, zLocalSettingValue, zLocalSetting, zLocalSettingUpdateRequest, zMapEdge, zMapNodeKind, zMessageType, zClientMessage, zMockConfigResponse, zModelID, zAuthoritativeModelInfo, zModelInfo, zNativeAttachmentRef, zNativeMetadataKind, zNativeMetadataSourceType, zNativePiMessageRole, zObservedModelID, zOwnerUpdateLicenseIntent, zProjectHash, zAuthoritativeProjectContext, zProjectContext, zProjectResolutionPayload, zProjectSummary, zProjectSummariesPayload, zPromptDigestHeader, zPromptDigestSkill, zProvenance, zPublicRevisionRef, zPublicSourceAnchorKind, zPublishOperationKind, zPublishLicenseOperation, zPublishRequestFingerprint, zPublishResponse, zPublishedAssociation, zAuthoritativeGitContext, zGitContext, zPublishAssociationOperation, zReadAttributionState, zReadStateGrade, zMapNode, zMapGraphPayload, zMapSlice, zRecordedCostAmount, zRecordedCostDetail, zRedactionInfo, zRelationshipNavigationStatus, zHelperContextSummary, zRelationshipTargetState, zRetainedUnknownRecord, zReviewSuggestion, zRewriteMethod, zRewriteResolution, zRole, zScaleKind, zSchemaVersionResponse, zSearchResult, zSearchPayload, zServerMessage, zSessionID, zAuthoritativeSubagentRef, zInsightEvidence, zSessionAssociation, zCommitRef, zRewrittenCommit, zSessionIdentity, zSessionInsight, zSessionListItemKind, zSessionOrigin, zSessionOutcome, zAuthoritativeQualityMetrics, zQualityMetrics, zSessionPurpose, zHelperGroupSummary, zSessionRelationshipKind, zSessionScorecard, zSessionStats, zShutdownResponse, zSourceEntryRef, zNativeSourceRef, zNativeMetadataRecord, zPublicSourceAnchor, zSessionRelationship, zAuthoritativeSessionIdentity, zSessionSummary, zSessionsPayload, zSourceFormat, zAuthoritativeSourceInfo, zSourceInfo, zStopReason, zSubagentRef, zSubmissionRef, zContentProvenance, zSyncAuthResponse, zSyncHoldReason, zSyncLoginStatus, zSyncLoginResponse, zSyncLogoutStatus, zSyncLogoutResponse, zSyncPushSessionStatus, zSyncPushStep, zSyncPushStepOutcome, zSyncRedactionItem, zSyncRedactionRuleGroup, zSyncRedactionCategoryGroup, zSyncRedactionsResponse, zSyncStatus, zLocalSyncSummary, zLocalSessionRow, zLocalSessionListItem, zLocalHelperMembersPayload, zLocalSessionListPayload, zLocalSyncSessionsPayload, zTargetKind, zAnnotationPushItem, zAnnotationPushRequest, zAnnotationSummary, zAnnotationsPayload, zPullAnnotation, zQualitySession, zQualityPayload, zTaskSummary, zChangeSession, zMapNodeDetailPayload, zProjectTasksPayload, zTimelineSessionRef, zReviewListPayload, zTimestampInfo, zTokenUsageDetail, zToolCallKind, zAuthoritativeSessionEntry, zCanonicalPublishReplacement, zSessionEntry, zPublishRequest, zTranscriptContentHash, zCanonicalPublishOperation, zTranscriptID, zPromptDigestItem, zPromptDigest, zPullSkipGateItem, zPullSkipGateRequest, zPullSkipGateResult, zPullSkipGateResponse, zSessionRelationshipNavigation, zTranscriptUpdateLicense, zTranscriptUpdateVisibility, zOwnerTranscriptUpdateRequest, zOwnerTranscriptUpdateResponse, zTranscriptUpdateRequest, zTrendsPayload, zTypeOrigin, zUICapabilitiesResponse, zUnifiedMetadata, zUnusualSignal, zChangeDetailPayload, zUsageCompleteness, zUsageOwnerID, zUsageScope, zUsageDetail, zToolCallDetail, zTurnDetail, zEarlierHistorySection, zSessionDetailPayload, zSessionDetailReadPayload, zTranscriptContent, zValueDomainKind, zValueDomain, zAnnotationTypeSummary, zTaxonomyFamilyNode, zTaxonomyNode, zVillageAssignableGroupRole, zVillageAvailableRepository, zVillageAvailableRepositoriesResponse, zVillageBatchReviewResponse, zVillageBatchShareRequest, zVillageContributionStatus, zVillageBatchShareEntry, zVillageBatchShareResponse, zVillageErrorResponse, zVillageGitHubWebhookPayload, zVillageGroupAcceptanceMode, zVillageGroupDataAccess, zVillageCreateGroupRequest, zVillageGroupMemberRoleRequest, zVillageGroupMemberUsernameRequest, zVillageGroupModelBreakdown, zVillageGroupRole, zVillageGroupStatusRoleResponse, zVillageGroupTranscriptStats, zVillageGroupViewerRole, zVillageLinkRepositoryRequest, zVillageListTranscriptAttestation, zVillageMetadataUserOrganization, zVillageProjectNameSource, zVillagePromptsCheckMode, zVillagePullRequestAttachmentState, zVillagePromptRequest, zVillagePromptRequestsResponse, zVillagePullRequestRef, zVillagePullRequestsSummary, zVillageRemoveGroupMemberResponse, zVillageRepositoryCommit, zVillageRepositoryCommitsResponse, zVillageReviewDecision, zVillageBatchReviewRequest, zVillageReviewShareRequest, zVillageReviewShareResponse, zVillageShareEventActor, zVillageShareStatus, zVillageShareEvent, zVillageStatusResponse, zVillageTranscriptDeletionPolicy, zVillageTranscriptPullRequest, zVillageTranscriptPullRequestsResponse, zVillageTranscriptVisibility, zVillageContributableTranscript, zVillagePullRequestAttachedTranscript, zVillageUUID, zAutoPublishRule, zAutoPublishRuleRequest, zLocalPublicationAudienceMember, zLocalPublication, zLocalPublicationsResponse, zLocalSettingsResponse, zSyncPushCollectives, zSyncPushRequest, zSyncPushStepResult, zSyncPushSessionResult, zSyncPushResponse, zVillageCollectiveSearchResult, zVillageCollectiveSearchResponse, zVillageCollectiveSubmission, zVillageContributableResponse, zVillageContributedCollective, zVillageContributedCollectivesResponse, zVillageEnrichedTranscriptShare, zVillageGroup, zVillageGroupContributor, zVillageGroupDetailRecord, zVillageGroupMember, zVillageGroupTranscript, zVillageGroupDetailResponse, zVillageLinkedRepository, zVillageLinkedRepositoriesResponse, zVillageListUserOrganization, zVillagePendingShare, zVillagePublicGroup, zVillagePullRequestAttachment, zVillagePullRequestAttachmentResponse, zVillageShareTranscriptRequest, zVillageTag, zVillageTranscript, zVillageTranscriptAttestation, zVillageTranscriptCollective, zVillageTranscriptCollectivesResponse, zVillageTranscriptShare, zVillageUpdateGroupRequest, zVillageUpdateUserSettingsRequest, zVillageUser, zVillageTranscriptListRow, zVillageTranscriptListResponse, zVillageTranscriptMetadataResponse, zVillageUserGroup, zLocalVillageCollective, zLocalVillageCollectivesResponse, zVillageUserGroupShare, zVillageSessionRow, zVillageSessionListItem, zVillageHelperMembersPayload, zVillageSessionListPayload, zVillageGroupedContributableResponse, zVillageGroupedGroupDetailResponse, zVillageUserSettings, zVillageUserStats, zVillageVisibleGroup, zVisibility, zPublishNormalizedValues, zPublishAppliedState, zAuthoritativePublishResponse, zPullTranscriptInfo, zPullListResponse, zVisibilityIntent, zAuthoritativePublishRequest, zWalkthroughStep, zWalkthroughTrail, zFamiliarityPayload } from "./contract/zod.gen.js";
|
|
2
|
+
export type { ActivityEdge, AnnotationEntryTarget, AnnotationManifestResponse, AnnotationPushResult, AnnotationPushResponse, AnnotatorSummary, AssociationEvidenceObservation, AssociationID, AuthoritativeCommitInfo, AuthoritativeDiagnosticEntry, AuthoritativeDiagnosticsInfo, AuthoritativeSessionStats, AuthoritativeTimestampInfo, AutoPublishHookRemedy, AutoPublishHook, AutoPublishInstallRequest, AutoPublishRepository, AutoPublishRemovalResponse, BatchCreateAnnotationsErrorResponse, BatchCreateAnnotationsResponse, CLILoginQuery, CanonicalPublishGitContext, ChangeSummary, ChannelSubscription, ChildSessionRef, CommandInvocation, CommitInfo, ContentCapability, ContractVersion, CreateAnnotationRequest, BatchCreateAnnotationsRequest, CreateAnnotationResponse, DashboardPayload, DayStats, DiagnosticEntry, DiagnosticsInfo, DiffLine, DiffHunk, EdgeViolation, ExchangeCodeRequest, ExchangeCodeResponse, ChangeDiffPayload, FileChange, FileFamiliarity, FrictionCluster, HealthResponse, HostSlug, InsightClassification, InterpretationDiagnostics, LocalCollectiveSuggestion, LocalPublicationAttemptFailure, LocalSettingRefusal, LocalSettingValue, LocalSetting, LocalSettingUpdateRequest, MapEdge, ClientMessage, MockConfigResponse, ModelID, AuthoritativeModelInfo, ModelInfo, NativeAttachmentRef, ObservedModelID, OwnerUpdateLicenseIntent, ProjectHash, AuthoritativeProjectContext, ProjectContext, ProjectResolutionPayload, ProjectSummary, ProjectSummariesPayload, PromptDigestHeader, PromptDigestSkill, Provenance, PublicRevisionRef, PublishLicenseOperation, PublishRequestFingerprint, PublishResponse, PublishedAssociation, AuthoritativeGitContext, GitContext, PublishAssociationOperation, MapNode, MapGraphPayload, MapSlice, RecordedCostAmount, RecordedCostDetail, RedactionInfo, HelperContextSummary, RetainedUnknownRecord, ReviewSuggestion, SchemaVersionResponse, SearchResult, SearchPayload, ServerMessage, SessionID, AuthoritativeSubagentRef, InsightEvidence, SessionAssociation, CommitRef, RewrittenCommit, SessionIdentity, SessionInsight, AuthoritativeQualityMetrics, QualityMetrics, HelperGroupSummary, SessionScorecard, SessionStats, ShutdownResponse, SourceEntryRef, NativeSourceRef, NativeMetadataRecord, PublicSourceAnchor, SessionRelationship, AuthoritativeSessionIdentity, SessionSummary, SessionsPayload, AuthoritativeSourceInfo, SourceInfo, SubagentRef, SubmissionRef, ContentProvenance, SyncAuthResponse, SyncLoginResponse, SyncLogoutResponse, SyncRedactionItem, SyncRedactionRuleGroup, SyncRedactionCategoryGroup, SyncRedactionsResponse, LocalSyncSummary, LocalSessionRow, LocalSessionListItem, LocalHelperMembersPayload, LocalSessionListPayload, LocalSyncSessionsPayload, AnnotationPushItem, AnnotationPushRequest, AnnotationSummary, AnnotationsPayload, PullAnnotation, QualitySession, QualityPayload, TaskSummary, ChangeSession, MapNodeDetailPayload, ProjectTasksPayload, TimelineSessionRef, ReviewListPayload, TimestampInfo, TokenUsageDetail, AuthoritativeSessionEntry, CanonicalPublishReplacement, SessionEntry, PublishRequest, TranscriptContentHash, CanonicalPublishOperation, TranscriptID, PromptDigestItem, PromptDigest, PullSkipGateItem, PullSkipGateRequest, PullSkipGateResult, PullSkipGateResponse, SessionRelationshipNavigation, OwnerTranscriptUpdateRequest, OwnerTranscriptUpdateResponse, TranscriptUpdateRequest, TrendsPayload, UICapabilitiesResponse, UnifiedMetadata, UnusualSignal, ChangeDetailPayload, UsageOwnerID, UsageDetail, ToolCallDetail, TurnDetail, EarlierHistorySection, SessionDetailPayload, SessionDetailReadPayload, TranscriptContent, ValueDomain, AnnotationTypeSummary, TaxonomyFamilyNode, TaxonomyNode, VillageAvailableRepository, VillageAvailableRepositoriesResponse, VillageBatchReviewResponse, VillageBatchShareRequest, VillageBatchShareEntry, VillageBatchShareResponse, VillageErrorResponse, VillageGitHubWebhookPayload, VillageCreateGroupRequest, VillageGroupMemberRoleRequest, VillageGroupMemberUsernameRequest, VillageGroupModelBreakdown, VillageGroupStatusRoleResponse, VillageGroupTranscriptStats, VillageLinkRepositoryRequest, VillageListTranscriptAttestation, VillageMetadataUserOrganization, VillagePromptRequest, VillagePromptRequestsResponse, VillagePullRequestRef, VillagePullRequestsSummary, VillageRemoveGroupMemberResponse, VillageRepositoryCommit, VillageRepositoryCommitsResponse, VillageBatchReviewRequest, VillageReviewShareRequest, VillageReviewShareResponse, VillageShareEvent, VillageStatusResponse, VillageTranscriptPullRequest, VillageTranscriptPullRequestsResponse, VillageContributableTranscript, VillagePullRequestAttachedTranscript, VillageUUID, AutoPublishRule, AutoPublishRuleRequest, LocalPublicationAudienceMember, LocalPublication, LocalPublicationsResponse, LocalSettingsResponse, SyncPushCollectives, SyncPushRequest, SyncPushStepResult, SyncPushSessionResult, SyncPushResponse, VillageCollectiveSearchResult, VillageCollectiveSearchResponse, VillageCollectiveSubmission, VillageContributableResponse, VillageContributedCollective, VillageContributedCollectivesResponse, VillageEnrichedTranscriptShare, VillageGroup, VillageGroupContributor, VillageGroupDetailRecord, VillageGroupMember, VillageGroupTranscript, VillageGroupDetailResponse, VillageLinkedRepository, VillageLinkedRepositoriesResponse, VillageListUserOrganization, VillagePendingShare, VillagePublicGroup, VillagePullRequestAttachment, VillagePullRequestAttachmentResponse, VillageShareTranscriptRequest, VillageTag, VillageTranscript, VillageTranscriptAttestation, VillageTranscriptCollective, VillageTranscriptCollectivesResponse, VillageTranscriptShare, VillageUpdateGroupRequest, VillageUpdateUserSettingsRequest, VillageUser, VillageTranscriptListRow, VillageTranscriptListResponse, VillageTranscriptMetadataResponse, VillageUserGroup, LocalVillageCollective, LocalVillageCollectivesResponse, VillageUserGroupShare, VillageSessionRow, VillageSessionListItem, VillageHelperMembersPayload, VillageSessionListPayload, VillageGroupedContributableResponse, VillageGroupedGroupDetailResponse, VillageUserSettings, VillageUserStats, VillageVisibleGroup, PublishNormalizedValues, PublishAppliedState, AuthoritativePublishResponse, PullTranscriptInfo, PullListResponse, AuthoritativePublishRequest, WalkthroughStep, WalkthroughTrail, FamiliarityPayload } from "./contract/zod.gen.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Code generated from the canonical Go/OpenAPI contract. DO NOT EDIT.
|
|
2
|
-
export { zActivityEdge, zActorOrigin, zAnnotationAxis, zAnnotationDatatype, zAnnotationEntryTarget, zAnnotationManifestResponse, zAnnotationPushStatus, zAnnotationPushResult, zAnnotationPushResponse, zAnnotationStatus, zAnnotatorKind, zAnnotatorSummary, zAssociationConclusion, zAssociationEvidenceKind, zAssociationEvidenceObservation, zAssociationID, zAuthoritativeCommitInfo, zAuthoritativeDiagnosticEntry, zAuthoritativeDiagnosticsInfo, zAuthoritativeSessionStats, zAuthoritativeTimestampInfo, zBatchCreateAnnotationsErrorResponse, zBatchCreateAnnotationsResponse, zBuiltinCommand, zCLILoginQuery, zCanonicalPublishGitContext, zChangeBinding, zChangeSummary, zChannelTopic, zChannelSubscription, zChildSessionRef, zCommandInvocation, zCommitInfo, zConfidence, zContentCapability, zContentKind, zContentOrigin, zContentOwnership, zContractVersion, zCreateAnnotationRequest, zBatchCreateAnnotationsRequest, zCreateAnnotationResponse, zDashboardPayload, zDayStats, zDecayLevel, zDeliveryOrigin, zDiagnosticEntry, zDiagnosticsInfo, zDiffLineKind, zDiffLine, zDiffHunk, zDigestItemKind, zEarlierHistoryState, zEdgeViolationKind, zEdgeViolation, zEntryType, zEvidenceKind, zExchangeCodeRequest, zExchangeCodeResponse, zFileChangeStatus, zChangeDiffPayload, zFileChange, zFileFamiliarity, zFrictionCluster, zHarness, zHealthResponse, zHostSlug, zInputModality, zInsightClassification, zInsightKind, zInsightProvenance, zInteractionType, zLicense, zMapEdge, zMapNodeKind, zMessageType, zClientMessage, zMockConfigResponse, zModelID, zAuthoritativeModelInfo, zModelInfo, zNativeAttachmentRef, zNativeMetadataKind, zNativeMetadataSourceType, zNativePiMessageRole, zObservedModelID, zOwnerUpdateLicenseIntent, zProjectHash, zAuthoritativeProjectContext,
|
|
2
|
+
export { zActivityEdge, zActorOrigin, zAnnotationAxis, zAnnotationDatatype, zAnnotationEntryTarget, zAnnotationManifestResponse, zAnnotationPushStatus, zAnnotationPushResult, zAnnotationPushResponse, zAnnotationStatus, zAnnotatorKind, zAnnotatorSummary, zAssociationConclusion, zAssociationEvidenceKind, zAssociationEvidenceObservation, zAssociationID, zAuthoritativeCommitInfo, zAuthoritativeDiagnosticEntry, zAuthoritativeDiagnosticsInfo, zAuthoritativeSessionStats, zAuthoritativeTimestampInfo, zAutoPublishEvent, zAutoPublishHookRemedy, zAutoPublishHookStatus, zAutoPublishHook, zAutoPublishInstallRequest, zAutoPublishRepository, zAutoPublishRemovalResponse, zAutoPublishRuleKind, zBatchCreateAnnotationsErrorResponse, zBatchCreateAnnotationsResponse, zBuiltinCommand, zCLILoginQuery, zCanonicalPublishGitContext, zChangeBinding, zChangeSummary, zChannelTopic, zChannelSubscription, zChildSessionRef, zCommandInvocation, zCommitInfo, zConfidence, zContentCapability, zContentKind, zContentOrigin, zContentOwnership, zContractVersion, zCreateAnnotationRequest, zBatchCreateAnnotationsRequest, zCreateAnnotationResponse, zDashboardPayload, zDayStats, zDecayLevel, zDeliveryOrigin, zDiagnosticEntry, zDiagnosticsInfo, zDiffLineKind, zDiffLine, zDiffHunk, zDigestItemKind, zEarlierHistoryState, zEdgeViolationKind, zEdgeViolation, zEntryType, zEvidenceKind, zExchangeCodeRequest, zExchangeCodeResponse, zFileChangeStatus, zChangeDiffPayload, zFileChange, zFileFamiliarity, zFrictionCluster, zHarness, zHealthResponse, zHostSlug, zInputModality, zInsightClassification, zInsightKind, zInsightProvenance, zInteractionType, zInterpretationDiagnostics, zLicense, zLocalCollectiveSuggestionReason, zLocalCollectiveSuggestion, zLocalPublicationAttemptFailure, zLocalPublicationState, zLocalSettingKind, zLocalSettingRefusal, zLocalSettingValue, zLocalSetting, zLocalSettingUpdateRequest, zMapEdge, zMapNodeKind, zMessageType, zClientMessage, zMockConfigResponse, zModelID, zAuthoritativeModelInfo, zModelInfo, zNativeAttachmentRef, zNativeMetadataKind, zNativeMetadataSourceType, zNativePiMessageRole, zObservedModelID, zOwnerUpdateLicenseIntent, zProjectHash, zAuthoritativeProjectContext, zProjectContext, zProjectResolutionPayload, zProjectSummary, zProjectSummariesPayload, zPromptDigestHeader, zPromptDigestSkill, zProvenance, zPublicRevisionRef, zPublicSourceAnchorKind, zPublishOperationKind, zPublishLicenseOperation, zPublishRequestFingerprint, zPublishResponse, zPublishedAssociation, zAuthoritativeGitContext, zGitContext, zPublishAssociationOperation, zReadAttributionState, zReadStateGrade, zMapNode, zMapGraphPayload, zMapSlice, zRecordedCostAmount, zRecordedCostDetail, zRedactionInfo, zRelationshipNavigationStatus, zHelperContextSummary, zRelationshipTargetState, zRetainedUnknownRecord, zReviewSuggestion, zRewriteMethod, zRewriteResolution, zRole, zScaleKind, zSchemaVersionResponse, zSearchResult, zSearchPayload, zServerMessage, zSessionID, zAuthoritativeSubagentRef, zInsightEvidence, zSessionAssociation, zCommitRef, zRewrittenCommit, zSessionIdentity, zSessionInsight, zSessionListItemKind, zSessionOrigin, zSessionOutcome, zAuthoritativeQualityMetrics, zQualityMetrics, zSessionPurpose, zHelperGroupSummary, zSessionRelationshipKind, zSessionScorecard, zSessionStats, zShutdownResponse, zSourceEntryRef, zNativeSourceRef, zNativeMetadataRecord, zPublicSourceAnchor, zSessionRelationship, zAuthoritativeSessionIdentity, zSessionSummary, zSessionsPayload, zSourceFormat, zAuthoritativeSourceInfo, zSourceInfo, zStopReason, zSubagentRef, zSubmissionRef, zContentProvenance, zSyncAuthResponse, zSyncHoldReason, zSyncLoginStatus, zSyncLoginResponse, zSyncLogoutStatus, zSyncLogoutResponse, zSyncPushSessionStatus, zSyncPushStep, zSyncPushStepOutcome, zSyncRedactionItem, zSyncRedactionRuleGroup, zSyncRedactionCategoryGroup, zSyncRedactionsResponse, zSyncStatus, zLocalSyncSummary, zLocalSessionRow, zLocalSessionListItem, zLocalHelperMembersPayload, zLocalSessionListPayload, zLocalSyncSessionsPayload, zTargetKind, zAnnotationPushItem, zAnnotationPushRequest, zAnnotationSummary, zAnnotationsPayload, zPullAnnotation, zQualitySession, zQualityPayload, zTaskSummary, zChangeSession, zMapNodeDetailPayload, zProjectTasksPayload, zTimelineSessionRef, zReviewListPayload, zTimestampInfo, zTokenUsageDetail, zToolCallKind, zAuthoritativeSessionEntry, zCanonicalPublishReplacement, zSessionEntry, zPublishRequest, zTranscriptContentHash, zCanonicalPublishOperation, zTranscriptID, zPromptDigestItem, zPromptDigest, zPullSkipGateItem, zPullSkipGateRequest, zPullSkipGateResult, zPullSkipGateResponse, zSessionRelationshipNavigation, zTranscriptUpdateLicense, zTranscriptUpdateVisibility, zOwnerTranscriptUpdateRequest, zOwnerTranscriptUpdateResponse, zTranscriptUpdateRequest, zTrendsPayload, zTypeOrigin, zUICapabilitiesResponse, zUnifiedMetadata, zUnusualSignal, zChangeDetailPayload, zUsageCompleteness, zUsageOwnerID, zUsageScope, zUsageDetail, zToolCallDetail, zTurnDetail, zEarlierHistorySection, zSessionDetailPayload, zSessionDetailReadPayload, zTranscriptContent, zValueDomainKind, zValueDomain, zAnnotationTypeSummary, zTaxonomyFamilyNode, zTaxonomyNode, zVillageAssignableGroupRole, zVillageAvailableRepository, zVillageAvailableRepositoriesResponse, zVillageBatchReviewResponse, zVillageBatchShareRequest, zVillageContributionStatus, zVillageBatchShareEntry, zVillageBatchShareResponse, zVillageErrorResponse, zVillageGitHubWebhookPayload, zVillageGroupAcceptanceMode, zVillageGroupDataAccess, zVillageCreateGroupRequest, zVillageGroupMemberRoleRequest, zVillageGroupMemberUsernameRequest, zVillageGroupModelBreakdown, zVillageGroupRole, zVillageGroupStatusRoleResponse, zVillageGroupTranscriptStats, zVillageGroupViewerRole, zVillageLinkRepositoryRequest, zVillageListTranscriptAttestation, zVillageMetadataUserOrganization, zVillageProjectNameSource, zVillagePromptsCheckMode, zVillagePullRequestAttachmentState, zVillagePromptRequest, zVillagePromptRequestsResponse, zVillagePullRequestRef, zVillagePullRequestsSummary, zVillageRemoveGroupMemberResponse, zVillageRepositoryCommit, zVillageRepositoryCommitsResponse, zVillageReviewDecision, zVillageBatchReviewRequest, zVillageReviewShareRequest, zVillageReviewShareResponse, zVillageShareEventActor, zVillageShareStatus, zVillageShareEvent, zVillageStatusResponse, zVillageTranscriptDeletionPolicy, zVillageTranscriptPullRequest, zVillageTranscriptPullRequestsResponse, zVillageTranscriptVisibility, zVillageContributableTranscript, zVillagePullRequestAttachedTranscript, zVillageUUID, zAutoPublishRule, zAutoPublishRuleRequest, zLocalPublicationAudienceMember, zLocalPublication, zLocalPublicationsResponse, zLocalSettingsResponse, zSyncPushCollectives, zSyncPushRequest, zSyncPushStepResult, zSyncPushSessionResult, zSyncPushResponse, zVillageCollectiveSearchResult, zVillageCollectiveSearchResponse, zVillageCollectiveSubmission, zVillageContributableResponse, zVillageContributedCollective, zVillageContributedCollectivesResponse, zVillageEnrichedTranscriptShare, zVillageGroup, zVillageGroupContributor, zVillageGroupDetailRecord, zVillageGroupMember, zVillageGroupTranscript, zVillageGroupDetailResponse, zVillageLinkedRepository, zVillageLinkedRepositoriesResponse, zVillageListUserOrganization, zVillagePendingShare, zVillagePublicGroup, zVillagePullRequestAttachment, zVillagePullRequestAttachmentResponse, zVillageShareTranscriptRequest, zVillageTag, zVillageTranscript, zVillageTranscriptAttestation, zVillageTranscriptCollective, zVillageTranscriptCollectivesResponse, zVillageTranscriptShare, zVillageUpdateGroupRequest, zVillageUpdateUserSettingsRequest, zVillageUser, zVillageTranscriptListRow, zVillageTranscriptListResponse, zVillageTranscriptMetadataResponse, zVillageUserGroup, zLocalVillageCollective, zLocalVillageCollectivesResponse, zVillageUserGroupShare, zVillageSessionRow, zVillageSessionListItem, zVillageHelperMembersPayload, zVillageSessionListPayload, zVillageGroupedContributableResponse, zVillageGroupedGroupDetailResponse, zVillageUserSettings, zVillageUserStats, zVillageVisibleGroup, zVisibility, zPublishNormalizedValues, zPublishAppliedState, zAuthoritativePublishResponse, zPullTranscriptInfo, zPullListResponse, zVisibilityIntent, zAuthoritativePublishRequest, zWalkthroughStep, zWalkthroughTrail, zFamiliarityPayload } from "./contract/zod.gen.js";
|
|
@@ -1,11 +1,27 @@
|
|
|
1
1
|
export declare const canonicalSessionGraphCapabilityFixtures: {
|
|
2
2
|
readonly requiredNames: {
|
|
3
|
-
readonly derivation: readonly ["legacy-empty", "root-null", "usage-null", "model-only", "source-ref-only", "count-only-zero", "count-only-positive", "root-only", "purpose-only-interaction", "purpose-only-delegated", "purpose-only-helper", "purpose-only-unknown", "relationship-only", "main-deeper-provenance", "folded-call-provenance", "folded-result-provenance", "earlier-only", "earlier-nested-tool-native-usage-model", "navigation-only-read"];
|
|
4
|
-
readonly reader: readonly ["advertisement-omitted", "advertisement-empty", "advertisement-null", "advertisement-unknown-duplicate-unordered", "advertisement-future-suffix"];
|
|
5
|
-
readonly producer: readonly ["producer-canonical-four", "producer-unsorted-four", "producer-duplicate", "producer-unknown"];
|
|
3
|
+
readonly derivation: readonly ["legacy-empty", "root-null", "usage-null", "model-only", "source-ref-only", "count-only-zero", "count-only-positive", "root-only", "purpose-only-interaction", "purpose-only-delegated", "purpose-only-helper", "purpose-only-unknown", "relationship-only", "main-deeper-provenance", "folded-call-provenance", "folded-result-provenance", "earlier-only", "earlier-nested-tool-native-usage-model", "navigation-only-read", "retained-accumulates-all"];
|
|
4
|
+
readonly reader: readonly ["advertisement-omitted", "advertisement-empty", "advertisement-null", "advertisement-unknown-duplicate-unordered", "advertisement-future-suffix", "advertisement-retained-duplicate"];
|
|
5
|
+
readonly producer: readonly ["producer-canonical-four", "producer-unsorted-four", "producer-duplicate", "producer-unknown", "producer-canonical-retained", "producer-unsorted-retained", "producer-duplicate-retained"];
|
|
6
6
|
};
|
|
7
7
|
readonly derivation: {
|
|
8
8
|
readonly cases: readonly [{
|
|
9
|
+
readonly name: "retained-accumulates-all";
|
|
10
|
+
readonly classification: "must-pass";
|
|
11
|
+
readonly provenance: {
|
|
12
|
+
readonly source: "requirement";
|
|
13
|
+
readonly ref: "content-capability-negotiation";
|
|
14
|
+
};
|
|
15
|
+
readonly mutation: {
|
|
16
|
+
readonly description: "Retained evidence accumulates every existing preservation requirement";
|
|
17
|
+
};
|
|
18
|
+
readonly input: {
|
|
19
|
+
readonly detailJSON: "{\"id\":\"fixture-session\",\"harness\":\"pi\",\"startTime\":\"2020-01-01T00:00:00Z\",\"endTime\":\"2020-01-01T00:00:00Z\",\"durationMins\":0,\"totalTokens\":0,\"tokensIn\":0,\"tokensOut\":0,\"turnCount\":1,\"toolCallCount\":1,\"purpose\":\"interaction\",\"turns\":[{\"index\":0,\"role\":\"assistant\",\"depth\":0,\"content\":\"\",\"timestamp\":\"2020-01-01T00:00:00Z\",\"sourceEntryRef\":\"e1\",\"observedModel\":\"provider/model\",\"usage\":{\"ownerId\":\"u1\",\"sourceEntryRef\":\"e1\",\"scope\":\"assistant\",\"completeness\":\"unknown\"},\"toolCalls\":[{\"id\":\"t1\",\"name\":\"tool\",\"namespace\":\"extension\",\"arguments\":\"\",\"result\":\"\"}]}],\"nativeMetadata\":[{\"id\":\"n1\",\"kind\":\"pi.custom.data\",\"source\":{\"entryRef\":\"custom1\",\"sourceType\":\"pi.custom\"},\"customType\":\"extension\",\"data\":{}}],\"diagnostics\":{\"partial\":true},\"retainedUnknown\":[{\"sourceRef\":\"source-0\",\"recordIndex\":2,\"position\":4,\"pointer\":\"\",\"namespace\":\"record\",\"kind\":\"future\",\"payload\":\"{\\\"type\\\":\\\"future\\\"}\"}]}";
|
|
20
|
+
};
|
|
21
|
+
readonly expected: {
|
|
22
|
+
readonly capabilities: readonly ["detailed_usage_v1", "native_metadata_v1", "observed_model_v1", "retained_unknown_v1", "session_graph_provenance_v1", "tool_namespace_v1"];
|
|
23
|
+
};
|
|
24
|
+
}, {
|
|
9
25
|
readonly name: "legacy-empty";
|
|
10
26
|
readonly classification: "must-pass";
|
|
11
27
|
readonly provenance: {
|
|
@@ -303,6 +319,22 @@ export declare const canonicalSessionGraphCapabilityFixtures: {
|
|
|
303
319
|
};
|
|
304
320
|
readonly reader: {
|
|
305
321
|
readonly cases: readonly [{
|
|
322
|
+
readonly name: "advertisement-retained-duplicate";
|
|
323
|
+
readonly classification: "must-pass";
|
|
324
|
+
readonly provenance: {
|
|
325
|
+
readonly source: "requirement";
|
|
326
|
+
readonly ref: "content-capability-negotiation";
|
|
327
|
+
};
|
|
328
|
+
readonly mutation: {
|
|
329
|
+
readonly description: "Exact retained token survives forward-open discovery";
|
|
330
|
+
};
|
|
331
|
+
readonly input: {
|
|
332
|
+
readonly json: "{\"contentCapabilities\":[\"retained_unknown_v1\",\"retained_unknown_v2\",\"retained_unknown_v1\",\"session_graph_provenance_v1\"]}";
|
|
333
|
+
};
|
|
334
|
+
readonly expected: {
|
|
335
|
+
readonly known: readonly ["retained_unknown_v1", "session_graph_provenance_v1"];
|
|
336
|
+
};
|
|
337
|
+
}, {
|
|
306
338
|
readonly name: "advertisement-omitted";
|
|
307
339
|
readonly classification: "must-pass";
|
|
308
340
|
readonly provenance: {
|
|
@@ -386,6 +418,54 @@ export declare const canonicalSessionGraphCapabilityFixtures: {
|
|
|
386
418
|
};
|
|
387
419
|
readonly producer: {
|
|
388
420
|
readonly cases: readonly [{
|
|
421
|
+
readonly name: "producer-canonical-retained";
|
|
422
|
+
readonly classification: "must-pass";
|
|
423
|
+
readonly provenance: {
|
|
424
|
+
readonly source: "requirement";
|
|
425
|
+
readonly ref: "content-capability-negotiation";
|
|
426
|
+
};
|
|
427
|
+
readonly mutation: {
|
|
428
|
+
readonly description: "Emits sorted accumulated inventory";
|
|
429
|
+
};
|
|
430
|
+
readonly input: {
|
|
431
|
+
readonly tokens: readonly ["detailed_usage_v1", "native_metadata_v1", "observed_model_v1", "retained_unknown_v1", "session_graph_provenance_v1", "tool_namespace_v1"];
|
|
432
|
+
};
|
|
433
|
+
readonly expected: {
|
|
434
|
+
readonly accepted: true;
|
|
435
|
+
};
|
|
436
|
+
}, {
|
|
437
|
+
readonly name: "producer-unsorted-retained";
|
|
438
|
+
readonly classification: "must-fail";
|
|
439
|
+
readonly provenance: {
|
|
440
|
+
readonly source: "boundary";
|
|
441
|
+
readonly ref: "content-capability-negotiation";
|
|
442
|
+
};
|
|
443
|
+
readonly mutation: {
|
|
444
|
+
readonly description: "Retained token out of canonical order refuses";
|
|
445
|
+
};
|
|
446
|
+
readonly input: {
|
|
447
|
+
readonly tokens: readonly ["retained_unknown_v1", "observed_model_v1"];
|
|
448
|
+
};
|
|
449
|
+
readonly expected: {
|
|
450
|
+
readonly errorContains: "canonical lexicographic order";
|
|
451
|
+
};
|
|
452
|
+
}, {
|
|
453
|
+
readonly name: "producer-duplicate-retained";
|
|
454
|
+
readonly classification: "must-fail";
|
|
455
|
+
readonly provenance: {
|
|
456
|
+
readonly source: "boundary";
|
|
457
|
+
readonly ref: "content-capability-negotiation";
|
|
458
|
+
};
|
|
459
|
+
readonly mutation: {
|
|
460
|
+
readonly description: "Duplicate retained token refuses";
|
|
461
|
+
};
|
|
462
|
+
readonly input: {
|
|
463
|
+
readonly tokens: readonly ["retained_unknown_v1", "retained_unknown_v1"];
|
|
464
|
+
};
|
|
465
|
+
readonly expected: {
|
|
466
|
+
readonly errorContains: "duplicated";
|
|
467
|
+
};
|
|
468
|
+
}, {
|
|
389
469
|
readonly name: "producer-canonical-four";
|
|
390
470
|
readonly classification: "must-pass";
|
|
391
471
|
readonly provenance: {
|
|
@@ -20,24 +20,53 @@ export const canonicalSessionGraphCapabilityFixtures = {
|
|
|
20
20
|
"folded-result-provenance",
|
|
21
21
|
"earlier-only",
|
|
22
22
|
"earlier-nested-tool-native-usage-model",
|
|
23
|
-
"navigation-only-read"
|
|
23
|
+
"navigation-only-read",
|
|
24
|
+
"retained-accumulates-all"
|
|
24
25
|
],
|
|
25
26
|
"reader": [
|
|
26
27
|
"advertisement-omitted",
|
|
27
28
|
"advertisement-empty",
|
|
28
29
|
"advertisement-null",
|
|
29
30
|
"advertisement-unknown-duplicate-unordered",
|
|
30
|
-
"advertisement-future-suffix"
|
|
31
|
+
"advertisement-future-suffix",
|
|
32
|
+
"advertisement-retained-duplicate"
|
|
31
33
|
],
|
|
32
34
|
"producer": [
|
|
33
35
|
"producer-canonical-four",
|
|
34
36
|
"producer-unsorted-four",
|
|
35
37
|
"producer-duplicate",
|
|
36
|
-
"producer-unknown"
|
|
38
|
+
"producer-unknown",
|
|
39
|
+
"producer-canonical-retained",
|
|
40
|
+
"producer-unsorted-retained",
|
|
41
|
+
"producer-duplicate-retained"
|
|
37
42
|
]
|
|
38
43
|
},
|
|
39
44
|
"derivation": {
|
|
40
45
|
"cases": [
|
|
46
|
+
{
|
|
47
|
+
"name": "retained-accumulates-all",
|
|
48
|
+
"classification": "must-pass",
|
|
49
|
+
"provenance": {
|
|
50
|
+
"source": "requirement",
|
|
51
|
+
"ref": "content-capability-negotiation"
|
|
52
|
+
},
|
|
53
|
+
"mutation": {
|
|
54
|
+
"description": "Retained evidence accumulates every existing preservation requirement"
|
|
55
|
+
},
|
|
56
|
+
"input": {
|
|
57
|
+
"detailJSON": "{\"id\":\"fixture-session\",\"harness\":\"pi\",\"startTime\":\"2020-01-01T00:00:00Z\",\"endTime\":\"2020-01-01T00:00:00Z\",\"durationMins\":0,\"totalTokens\":0,\"tokensIn\":0,\"tokensOut\":0,\"turnCount\":1,\"toolCallCount\":1,\"purpose\":\"interaction\",\"turns\":[{\"index\":0,\"role\":\"assistant\",\"depth\":0,\"content\":\"\",\"timestamp\":\"2020-01-01T00:00:00Z\",\"sourceEntryRef\":\"e1\",\"observedModel\":\"provider/model\",\"usage\":{\"ownerId\":\"u1\",\"sourceEntryRef\":\"e1\",\"scope\":\"assistant\",\"completeness\":\"unknown\"},\"toolCalls\":[{\"id\":\"t1\",\"name\":\"tool\",\"namespace\":\"extension\",\"arguments\":\"\",\"result\":\"\"}]}],\"nativeMetadata\":[{\"id\":\"n1\",\"kind\":\"pi.custom.data\",\"source\":{\"entryRef\":\"custom1\",\"sourceType\":\"pi.custom\"},\"customType\":\"extension\",\"data\":{}}],\"diagnostics\":{\"partial\":true},\"retainedUnknown\":[{\"sourceRef\":\"source-0\",\"recordIndex\":2,\"position\":4,\"pointer\":\"\",\"namespace\":\"record\",\"kind\":\"future\",\"payload\":\"{\\\"type\\\":\\\"future\\\"}\"}]}"
|
|
58
|
+
},
|
|
59
|
+
"expected": {
|
|
60
|
+
"capabilities": [
|
|
61
|
+
"detailed_usage_v1",
|
|
62
|
+
"native_metadata_v1",
|
|
63
|
+
"observed_model_v1",
|
|
64
|
+
"retained_unknown_v1",
|
|
65
|
+
"session_graph_provenance_v1",
|
|
66
|
+
"tool_namespace_v1"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
41
70
|
{
|
|
42
71
|
"name": "legacy-empty",
|
|
43
72
|
"classification": "must-pass",
|
|
@@ -384,6 +413,26 @@ export const canonicalSessionGraphCapabilityFixtures = {
|
|
|
384
413
|
},
|
|
385
414
|
"reader": {
|
|
386
415
|
"cases": [
|
|
416
|
+
{
|
|
417
|
+
"name": "advertisement-retained-duplicate",
|
|
418
|
+
"classification": "must-pass",
|
|
419
|
+
"provenance": {
|
|
420
|
+
"source": "requirement",
|
|
421
|
+
"ref": "content-capability-negotiation"
|
|
422
|
+
},
|
|
423
|
+
"mutation": {
|
|
424
|
+
"description": "Exact retained token survives forward-open discovery"
|
|
425
|
+
},
|
|
426
|
+
"input": {
|
|
427
|
+
"json": "{\"contentCapabilities\":[\"retained_unknown_v1\",\"retained_unknown_v2\",\"retained_unknown_v1\",\"session_graph_provenance_v1\"]}"
|
|
428
|
+
},
|
|
429
|
+
"expected": {
|
|
430
|
+
"known": [
|
|
431
|
+
"retained_unknown_v1",
|
|
432
|
+
"session_graph_provenance_v1"
|
|
433
|
+
]
|
|
434
|
+
}
|
|
435
|
+
},
|
|
387
436
|
{
|
|
388
437
|
"name": "advertisement-omitted",
|
|
389
438
|
"classification": "must-pass",
|
|
@@ -482,6 +531,70 @@ export const canonicalSessionGraphCapabilityFixtures = {
|
|
|
482
531
|
},
|
|
483
532
|
"producer": {
|
|
484
533
|
"cases": [
|
|
534
|
+
{
|
|
535
|
+
"name": "producer-canonical-retained",
|
|
536
|
+
"classification": "must-pass",
|
|
537
|
+
"provenance": {
|
|
538
|
+
"source": "requirement",
|
|
539
|
+
"ref": "content-capability-negotiation"
|
|
540
|
+
},
|
|
541
|
+
"mutation": {
|
|
542
|
+
"description": "Emits sorted accumulated inventory"
|
|
543
|
+
},
|
|
544
|
+
"input": {
|
|
545
|
+
"tokens": [
|
|
546
|
+
"detailed_usage_v1",
|
|
547
|
+
"native_metadata_v1",
|
|
548
|
+
"observed_model_v1",
|
|
549
|
+
"retained_unknown_v1",
|
|
550
|
+
"session_graph_provenance_v1",
|
|
551
|
+
"tool_namespace_v1"
|
|
552
|
+
]
|
|
553
|
+
},
|
|
554
|
+
"expected": {
|
|
555
|
+
"accepted": true
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"name": "producer-unsorted-retained",
|
|
560
|
+
"classification": "must-fail",
|
|
561
|
+
"provenance": {
|
|
562
|
+
"source": "boundary",
|
|
563
|
+
"ref": "content-capability-negotiation"
|
|
564
|
+
},
|
|
565
|
+
"mutation": {
|
|
566
|
+
"description": "Retained token out of canonical order refuses"
|
|
567
|
+
},
|
|
568
|
+
"input": {
|
|
569
|
+
"tokens": [
|
|
570
|
+
"retained_unknown_v1",
|
|
571
|
+
"observed_model_v1"
|
|
572
|
+
]
|
|
573
|
+
},
|
|
574
|
+
"expected": {
|
|
575
|
+
"errorContains": "canonical lexicographic order"
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"name": "producer-duplicate-retained",
|
|
580
|
+
"classification": "must-fail",
|
|
581
|
+
"provenance": {
|
|
582
|
+
"source": "boundary",
|
|
583
|
+
"ref": "content-capability-negotiation"
|
|
584
|
+
},
|
|
585
|
+
"mutation": {
|
|
586
|
+
"description": "Duplicate retained token refuses"
|
|
587
|
+
},
|
|
588
|
+
"input": {
|
|
589
|
+
"tokens": [
|
|
590
|
+
"retained_unknown_v1",
|
|
591
|
+
"retained_unknown_v1"
|
|
592
|
+
]
|
|
593
|
+
},
|
|
594
|
+
"expected": {
|
|
595
|
+
"errorContains": "duplicated"
|
|
596
|
+
}
|
|
597
|
+
},
|
|
485
598
|
{
|
|
486
599
|
"name": "producer-canonical-four",
|
|
487
600
|
"classification": "must-pass",
|
|
@@ -5246,6 +5246,7 @@ export declare const canonicalSessionGraphFixtures: {
|
|
|
5246
5246
|
readonly total_turns: 0;
|
|
5247
5247
|
readonly total_duration_ms: 0;
|
|
5248
5248
|
readonly total_tokens: 0;
|
|
5249
|
+
readonly pull_request_count: 0;
|
|
5249
5250
|
};
|
|
5250
5251
|
readonly models: readonly [];
|
|
5251
5252
|
readonly contributors: readonly [];
|
|
@@ -5291,6 +5292,7 @@ export declare const canonicalSessionGraphFixtures: {
|
|
|
5291
5292
|
readonly total_turns: 0;
|
|
5292
5293
|
readonly total_duration_ms: 0;
|
|
5293
5294
|
readonly total_tokens: 0;
|
|
5295
|
+
readonly pull_request_count: 0;
|
|
5294
5296
|
};
|
|
5295
5297
|
readonly models: readonly [];
|
|
5296
5298
|
readonly contributors: readonly [];
|
|
@@ -5345,6 +5347,7 @@ export declare const canonicalSessionGraphFixtures: {
|
|
|
5345
5347
|
readonly total_turns: 0;
|
|
5346
5348
|
readonly total_duration_ms: 0;
|
|
5347
5349
|
readonly total_tokens: 0;
|
|
5350
|
+
readonly pull_request_count: 0;
|
|
5348
5351
|
};
|
|
5349
5352
|
readonly models: readonly [];
|
|
5350
5353
|
readonly contributors: readonly [];
|
|
@@ -5392,6 +5395,7 @@ export declare const canonicalSessionGraphFixtures: {
|
|
|
5392
5395
|
readonly total_turns: 0;
|
|
5393
5396
|
readonly total_duration_ms: 0;
|
|
5394
5397
|
readonly total_tokens: 0;
|
|
5398
|
+
readonly pull_request_count: 0;
|
|
5395
5399
|
};
|
|
5396
5400
|
readonly models: readonly [];
|
|
5397
5401
|
readonly contributors: readonly [];
|
|
@@ -6145,6 +6149,7 @@ export declare const canonicalSessionGraphFixtures: {
|
|
|
6145
6149
|
readonly inputSubmissionCount: 1;
|
|
6146
6150
|
readonly model: "codex";
|
|
6147
6151
|
readonly syncStatus: "synced";
|
|
6152
|
+
readonly previouslyPushed: true;
|
|
6148
6153
|
};
|
|
6149
6154
|
};
|
|
6150
6155
|
readonly helperGroups: readonly [{
|
|
@@ -6203,6 +6208,7 @@ export declare const canonicalSessionGraphFixtures: {
|
|
|
6203
6208
|
readonly inputSubmissionCount: 0;
|
|
6204
6209
|
readonly model: "codex";
|
|
6205
6210
|
readonly syncStatus: "synced";
|
|
6211
|
+
readonly previouslyPushed: true;
|
|
6206
6212
|
};
|
|
6207
6213
|
};
|
|
6208
6214
|
readonly helperGroups: readonly [{
|
|
@@ -6472,6 +6478,10 @@ export declare const canonicalSessionGraphFixtures: {
|
|
|
6472
6478
|
readonly owner_username: "owner";
|
|
6473
6479
|
readonly owner_avatar_url: null;
|
|
6474
6480
|
readonly owner_is_discoverable: true;
|
|
6481
|
+
readonly pull_requests: {
|
|
6482
|
+
readonly count: 0;
|
|
6483
|
+
readonly recent: readonly [];
|
|
6484
|
+
};
|
|
6475
6485
|
};
|
|
6476
6486
|
};
|
|
6477
6487
|
readonly helperGroups: readonly [{
|
|
@@ -6641,6 +6651,10 @@ export declare const canonicalSessionGraphFixtures: {
|
|
|
6641
6651
|
readonly owner_username: "owner";
|
|
6642
6652
|
readonly owner_avatar_url: null;
|
|
6643
6653
|
readonly owner_is_discoverable: true;
|
|
6654
|
+
readonly pull_requests: {
|
|
6655
|
+
readonly count: 0;
|
|
6656
|
+
readonly recent: readonly [];
|
|
6657
|
+
};
|
|
6644
6658
|
readonly input_submission_count: 0;
|
|
6645
6659
|
};
|
|
6646
6660
|
};
|
|
@@ -5833,7 +5833,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
5833
5833
|
"contributor_count": 0,
|
|
5834
5834
|
"total_turns": 0,
|
|
5835
5835
|
"total_duration_ms": 0,
|
|
5836
|
-
"total_tokens": 0
|
|
5836
|
+
"total_tokens": 0,
|
|
5837
|
+
"pull_request_count": 0
|
|
5837
5838
|
},
|
|
5838
5839
|
"models": [],
|
|
5839
5840
|
"contributors": [],
|
|
@@ -5879,7 +5880,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
5879
5880
|
"contributor_count": 0,
|
|
5880
5881
|
"total_turns": 0,
|
|
5881
5882
|
"total_duration_ms": 0,
|
|
5882
|
-
"total_tokens": 0
|
|
5883
|
+
"total_tokens": 0,
|
|
5884
|
+
"pull_request_count": 0
|
|
5883
5885
|
},
|
|
5884
5886
|
"models": [],
|
|
5885
5887
|
"contributors": [],
|
|
@@ -5934,7 +5936,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
5934
5936
|
"contributor_count": 0,
|
|
5935
5937
|
"total_turns": 0,
|
|
5936
5938
|
"total_duration_ms": 0,
|
|
5937
|
-
"total_tokens": 0
|
|
5939
|
+
"total_tokens": 0,
|
|
5940
|
+
"pull_request_count": 0
|
|
5938
5941
|
},
|
|
5939
5942
|
"models": [],
|
|
5940
5943
|
"contributors": [],
|
|
@@ -5982,7 +5985,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
5982
5985
|
"contributor_count": 0,
|
|
5983
5986
|
"total_turns": 0,
|
|
5984
5987
|
"total_duration_ms": 0,
|
|
5985
|
-
"total_tokens": 0
|
|
5988
|
+
"total_tokens": 0,
|
|
5989
|
+
"pull_request_count": 0
|
|
5986
5990
|
},
|
|
5987
5991
|
"models": [],
|
|
5988
5992
|
"contributors": [],
|
|
@@ -6784,7 +6788,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
6784
6788
|
"turnCount": 5,
|
|
6785
6789
|
"inputSubmissionCount": 1,
|
|
6786
6790
|
"model": "codex",
|
|
6787
|
-
"syncStatus": "synced"
|
|
6791
|
+
"syncStatus": "synced",
|
|
6792
|
+
"previouslyPushed": true
|
|
6788
6793
|
}
|
|
6789
6794
|
},
|
|
6790
6795
|
"helperGroups": [
|
|
@@ -6847,7 +6852,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
6847
6852
|
"turnCount": 5,
|
|
6848
6853
|
"inputSubmissionCount": 0,
|
|
6849
6854
|
"model": "codex",
|
|
6850
|
-
"syncStatus": "synced"
|
|
6855
|
+
"syncStatus": "synced",
|
|
6856
|
+
"previouslyPushed": true
|
|
6851
6857
|
}
|
|
6852
6858
|
},
|
|
6853
6859
|
"helperGroups": [
|
|
@@ -7135,7 +7141,11 @@ export const canonicalSessionGraphFixtures = {
|
|
|
7135
7141
|
"session_origin": "agent",
|
|
7136
7142
|
"owner_username": "owner",
|
|
7137
7143
|
"owner_avatar_url": null,
|
|
7138
|
-
"owner_is_discoverable": true
|
|
7144
|
+
"owner_is_discoverable": true,
|
|
7145
|
+
"pull_requests": {
|
|
7146
|
+
"count": 0,
|
|
7147
|
+
"recent": []
|
|
7148
|
+
}
|
|
7139
7149
|
}
|
|
7140
7150
|
},
|
|
7141
7151
|
"helperGroups": [
|
|
@@ -7310,6 +7320,10 @@ export const canonicalSessionGraphFixtures = {
|
|
|
7310
7320
|
"owner_username": "owner",
|
|
7311
7321
|
"owner_avatar_url": null,
|
|
7312
7322
|
"owner_is_discoverable": true,
|
|
7323
|
+
"pull_requests": {
|
|
7324
|
+
"count": 0,
|
|
7325
|
+
"recent": []
|
|
7326
|
+
},
|
|
7313
7327
|
"input_submission_count": 0
|
|
7314
7328
|
}
|
|
7315
7329
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VillageAPIVersion: "0.
|
|
2
|
-
export declare const PeasantLocalAPIVersion: "0.
|
|
3
|
-
export declare const TypesVersion: "0.
|
|
1
|
+
export declare const VillageAPIVersion: "0.24.0";
|
|
2
|
+
export declare const PeasantLocalAPIVersion: "0.15.0";
|
|
3
|
+
export declare const TypesVersion: "0.26.0";
|
|
4
4
|
export declare const MetadataSchemaVersion: 11;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated from the canonical Go/OpenAPI contract. DO NOT EDIT.
|
|
2
|
-
export const VillageAPIVersion = "0.
|
|
3
|
-
export const PeasantLocalAPIVersion = "0.
|
|
4
|
-
export const TypesVersion = "0.
|
|
2
|
+
export const VillageAPIVersion = "0.24.0";
|
|
3
|
+
export const PeasantLocalAPIVersion = "0.15.0";
|
|
4
|
+
export const TypesVersion = "0.26.0";
|
|
5
5
|
export const MetadataSchemaVersion = 11;
|