@xenosystem/agent-sdk 0.9.38 → 0.10.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.
Files changed (70) hide show
  1. package/dist/artifacts/browser.cjs +1 -1
  2. package/dist/artifacts/browser.d.cts +2 -2
  3. package/dist/artifacts/browser.d.ts +2 -2
  4. package/dist/artifacts/browser.js +1 -1
  5. package/dist/artifacts/{diff-artifact-CmhmeSu5.d.cts → diff-artifact--7QTtOxh.d.cts} +2 -1
  6. package/dist/artifacts/{diff-artifact-CmhmeSu5.d.ts → diff-artifact--7QTtOxh.d.ts} +2 -1
  7. package/dist/artifacts/index.cjs +10 -9
  8. package/dist/artifacts/index.d.cts +94 -3
  9. package/dist/artifacts/index.d.ts +94 -3
  10. package/dist/artifacts/index.js +10 -9
  11. package/dist/artifacts/metafile-cjs.json +1 -1
  12. package/dist/artifacts/metafile-esm.json +1 -1
  13. package/dist/automation/index.cjs +2 -2
  14. package/dist/automation/index.d.cts +2 -1
  15. package/dist/automation/index.d.ts +2 -1
  16. package/dist/automation/index.js +2 -2
  17. package/dist/automation/metafile-cjs.json +1 -1
  18. package/dist/automation/metafile-esm.json +1 -1
  19. package/dist/control-plane/index.cjs +8 -7
  20. package/dist/control-plane/index.d.cts +185 -1
  21. package/dist/control-plane/index.d.ts +185 -1
  22. package/dist/control-plane/index.js +8 -7
  23. package/dist/control-plane/metafile-cjs.json +1 -1
  24. package/dist/control-plane/metafile-esm.json +1 -1
  25. package/dist/coordination/index.cjs +2 -2
  26. package/dist/coordination/index.d.cts +85 -2
  27. package/dist/coordination/index.d.ts +85 -2
  28. package/dist/coordination/index.js +2 -2
  29. package/dist/coordination/metafile-cjs.json +1 -1
  30. package/dist/coordination/metafile-esm.json +1 -1
  31. package/dist/electron/index.cjs +183 -176
  32. package/dist/electron/index.d.cts +7 -1
  33. package/dist/electron/index.d.ts +7 -1
  34. package/dist/electron/index.js +183 -176
  35. package/dist/electron/metafile-cjs.json +1 -1
  36. package/dist/electron/metafile-esm.json +1 -1
  37. package/dist/index.cjs +348 -341
  38. package/dist/index.d.cts +461 -5
  39. package/dist/index.d.ts +461 -5
  40. package/dist/index.js +348 -341
  41. package/dist/metafile-cjs.json +1 -1
  42. package/dist/metafile-esm.json +1 -1
  43. package/dist/oracle/index.cjs +1 -1
  44. package/dist/oracle/index.d.cts +2 -1
  45. package/dist/oracle/index.d.ts +2 -1
  46. package/dist/oracle/index.js +1 -1
  47. package/dist/oracle/metafile-cjs.json +1 -1
  48. package/dist/oracle/metafile-esm.json +1 -1
  49. package/dist/recipes/index.cjs +2 -2
  50. package/dist/recipes/index.js +2 -2
  51. package/dist/recipes/metafile-cjs.json +1 -1
  52. package/dist/recipes/metafile-esm.json +1 -1
  53. package/dist/research/index.cjs +3 -3
  54. package/dist/research/index.d.cts +2 -1
  55. package/dist/research/index.d.ts +2 -1
  56. package/dist/research/index.js +3 -3
  57. package/dist/research/metafile-cjs.json +1 -1
  58. package/dist/research/metafile-esm.json +1 -1
  59. package/dist/session/index.cjs +15 -15
  60. package/dist/session/index.d.cts +7 -1
  61. package/dist/session/index.d.ts +7 -1
  62. package/dist/session/index.js +9 -9
  63. package/dist/session/metafile-cjs.json +1 -1
  64. package/dist/session/metafile-esm.json +1 -1
  65. package/dist/ui/index.cjs +3 -3
  66. package/dist/ui/index.js +2 -2
  67. package/dist/ui/metafile-cjs.json +1 -1
  68. package/dist/ui/metafile-esm.json +1 -1
  69. package/ownership/audit.mjs +6 -0
  70. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { A as XenoArtifactState, X as XenoArtifactEnvelope, w as XenoArtifactReviewEvent, y as XenoArtifactReviewSummary, R as XenoJsonValue, C as XenoContentHash, L as XenoEvidenceGraph, M as XenoEvidenceNode, J as XenoEvidenceEdge, s as XenoArtifactRecord, j as XenoArtifactActor, q as XenoArtifactListQuery, x as XenoArtifactReviewEventInput, c as XENO_ARTIFACT_SCHEMA_VERSION, p as XenoArtifactLifecycleEvent, v as XenoArtifactReviewDecision, l as XenoArtifactAnchor, O as XenoEvidenceReference, n as XenoArtifactIdentity, z as XenoArtifactSensitivity, o as XenoArtifactKind } from "./diff-artifact-CmhmeSu5.cjs";
2
- export { S as ParseUnifiedDiffOptions, b as XENO_ARTIFACT_ACTOR_KINDS, d as XENO_ARTIFACT_SENSITIVITIES, e as XENO_ARTIFACT_STATES, f as XENO_BUILTIN_ARTIFACT_KINDS, g as XENO_EVIDENCE_EDGE_TYPES, h as XENO_EVIDENCE_GRAPH_SCHEMA_VERSION, i as XENO_EVIDENCE_NODE_TYPES, k as XenoArtifactActorKind, m as XenoArtifactContent, r as XenoArtifactProvenance, t as XenoArtifactRelationship, u as XenoArtifactRetention, B as XenoArtifactStorageReference, T as XenoDiffArtifactContext, a as XenoDiffDocument, D as XenoDiffFile, E as XenoDiffFileStatus, F as XenoDiffHunk, G as XenoDiffLine, H as XenoDiffLineKind, I as XenoDiffMode, U as XenoDiffParseError, K as XenoEvidenceEdgeType, N as XenoEvidenceNodeType, P as XenoJsonObject, Q as XenoJsonPrimitive, V as parseUnifiedDiff, W as unifiedDiffToXenoArtifact, Y as xenoArtifactToDiffDocument } from "./diff-artifact-CmhmeSu5.cjs";
1
+ import { A as XenoArtifactState, X as XenoArtifactEnvelope, w as XenoArtifactReviewEvent, y as XenoArtifactReviewSummary, R as XenoJsonValue, C as XenoContentHash, L as XenoEvidenceGraph, M as XenoEvidenceNode, J as XenoEvidenceEdge, s as XenoArtifactRecord, j as XenoArtifactActor, q as XenoArtifactListQuery, x as XenoArtifactReviewEventInput, c as XENO_ARTIFACT_SCHEMA_VERSION, p as XenoArtifactLifecycleEvent, v as XenoArtifactReviewDecision, l as XenoArtifactAnchor, O as XenoEvidenceReference, n as XenoArtifactIdentity, z as XenoArtifactSensitivity, o as XenoArtifactKind } from "./diff-artifact--7QTtOxh.cjs";
2
+ export { S as ParseUnifiedDiffOptions, b as XENO_ARTIFACT_ACTOR_KINDS, d as XENO_ARTIFACT_SENSITIVITIES, e as XENO_ARTIFACT_STATES, f as XENO_BUILTIN_ARTIFACT_KINDS, g as XENO_EVIDENCE_EDGE_TYPES, h as XENO_EVIDENCE_GRAPH_SCHEMA_VERSION, i as XENO_EVIDENCE_NODE_TYPES, k as XenoArtifactActorKind, m as XenoArtifactContent, r as XenoArtifactProvenance, t as XenoArtifactRelationship, u as XenoArtifactRetention, B as XenoArtifactStorageReference, T as XenoDiffArtifactContext, a as XenoDiffDocument, D as XenoDiffFile, E as XenoDiffFileStatus, F as XenoDiffHunk, G as XenoDiffLine, H as XenoDiffLineKind, I as XenoDiffMode, U as XenoDiffParseError, K as XenoEvidenceEdgeType, N as XenoEvidenceNodeType, P as XenoJsonObject, Q as XenoJsonPrimitive, V as parseUnifiedDiff, W as unifiedDiffToXenoArtifact, Y as xenoArtifactToDiffDocument } from "./diff-artifact--7QTtOxh.cjs";
3
3
  interface XenoArtifactValidationIssue {
4
4
  path: string;
5
5
  code: string;
@@ -602,4 +602,95 @@ declare function toolEvidenceToXenoArtifact(evidence: ToolEvidence, context: Xen
602
602
  declare function xenoArtifactToToolEvidence(artifact: XenoArtifactEnvelope): ToolEvidence;
603
603
  declare function turnDiffSummaryToXenoArtifact(summary: TurnDiffSummary, context: XenoLegacyArtifactContext): XenoArtifactEnvelope;
604
604
  declare function xenoArtifactToTurnDiffSummary(artifact: XenoArtifactEnvelope): TurnDiffSummary;
605
- export { type AddXenoArtifactCommentRequest, type DecideXenoArtifactRequest, FileXenoArtifactRepository, type FileXenoArtifactRepositoryOptions, InMemoryXenoArtifactRepository, type InMemoryXenoArtifactRepositoryOptions, type SetXenoArtifactCommentResolutionRequest, XENO_ARTIFACT_FILE_REPOSITORY_SCHEMA_VERSION, XENO_ARTIFACT_SCHEMA_VERSION, XENO_REVIEW_DIMENSIONS, XENO_REVIEW_EVIDENCE_KINDS, XENO_REVIEW_REPORT_SCHEMA_VERSION, XENO_SPEC_EXECUTION_SCHEMA_VERSION, XENO_SPEC_SCHEMA_VERSION, XenoArtifactActor, XenoArtifactAnchor, type XenoArtifactAppendReviewRequest, XenoArtifactEnvelope, type XenoArtifactFileRecoveryNotice, type XenoArtifactFileSnapshot, XenoArtifactIdentity, XenoArtifactKind, XenoArtifactLifecycleEvent, XenoArtifactListQuery, type XenoArtifactMutationOptions, type XenoArtifactPersistedRecord, XenoArtifactRecord, type XenoArtifactRepository, XenoArtifactRepositoryError, type XenoArtifactRepositoryErrorCode, type XenoArtifactRepositoryState, type XenoArtifactReviewAnchorInput, XenoArtifactReviewDecision, XenoArtifactReviewEvent, XenoArtifactReviewEventInput, XenoArtifactReviewService, type XenoArtifactReviewServiceOptions, XenoArtifactReviewSummary, type XenoArtifactRevisionOptions, XenoArtifactSensitivity, XenoArtifactState, XenoArtifactStateTransitionError, type XenoArtifactTransitionRequest, XenoArtifactValidationError, type XenoArtifactValidationIssue, XenoContentHash, XenoEvidenceEdge, XenoEvidenceGraph, XenoEvidenceGraphBuilder, type XenoEvidenceGraphBuilderOptions, XenoEvidenceGraphValidationError, XenoEvidenceNode, XenoEvidenceReference, type XenoGitHubReviewComment, XenoJsonValue, type XenoLegacyAgentArtifactContext, type XenoLegacyArtifactContext, XenoMultiAgentReviewCoordinator, type XenoMultiAgentReviewCoordinatorOptions, type XenoReviewAgentExecutor, type XenoReviewAgentResult, type XenoReviewArtifactContext, type XenoReviewCoordinatorContext, type XenoReviewDimension, type XenoReviewEvidence, type XenoReviewEvidenceKind, type XenoReviewFinding, type XenoReviewFindingProposal, type XenoReviewFindingState, type XenoReviewPack, type XenoReviewReport, type XenoReviewSeverity, type XenoReviewTarget, XenoReviewValidationError, type XenoReviewVerificationOutcome, type XenoReviewVerificationResult, type XenoReviewVerifierExecutor, type XenoSpecAcceptanceCriterion, type XenoSpecArtifactBundle, type XenoSpecArtifactContext, type XenoSpecDesign, type XenoSpecDesignDecision, type XenoSpecDocument, type XenoSpecDriftFinding, type XenoSpecDriftReport, type XenoSpecExecutionRecord, type XenoSpecExecutionState, XenoSpecLifecycleService, type XenoSpecLifecycleServiceOptions, type XenoSpecPriority, type XenoSpecRequirement, type XenoSpecRisk, type XenoSpecSourceBaseline, type XenoSpecTask, type XenoSpecTaskExecution, type XenoSpecTaskStatus, XenoSpecValidationError, assertValidXenoArtifact, assertValidXenoEvidenceGraph, assertValidXenoReviewPack, assertValidXenoReviewReport, assertValidXenoReviewTarget, assertValidXenoSpecDocument, assertValidXenoSpecExecution, assertXenoArtifactStateTransition, buildXenoArtifactReviewAnchor, canTransitionXenoArtifactState, canonicalizeArtifactJson, defaultXenoReviewPack, detectXenoSpecDrift, legacyAgentArtifactToXenoArtifact, normalizeRepositoryRelativePath, sha256ArtifactBytes, sha256ArtifactJson, summarizeXenoArtifactReview, toolEvidenceToXenoArtifact, turnDiffSummaryToXenoArtifact, validateXenoArtifact, validateXenoArtifactReviewEvent, validateXenoEvidenceGraph, validateXenoSpecDocument, xenoArtifactToLegacyAgentArtifact, xenoArtifactToReviewReport, xenoArtifactToSpecDocument, xenoArtifactToSpecExecution, xenoArtifactToToolEvidence, xenoArtifactToTurnDiffSummary, xenoReviewReportToArtifact, xenoReviewReportToGitHubComments, xenoSpecArtifactIds, xenoSpecExecutionToArtifact, xenoSpecToArtifactBundle };
605
+ declare const XENO_PAGE_ENTRY = "index.html";
606
+ declare const XENO_PAGE_MAX_BYTES: number;
607
+ declare const XENO_PAGE_MAX_FILES = 255;
608
+ type XenoPageHome = "local" | "cloud";
609
+ interface XenoPageFileInput {
610
+ path: string;
611
+ bytes: Uint8Array | string;
612
+ contentType?: string;
613
+ }
614
+ interface XenoPageFileRecord {
615
+ sha256: string;
616
+ sizeBytes: number;
617
+ contentType: string;
618
+ }
619
+ interface XenoPagePublication {
620
+ home: XenoPageHome;
621
+ url?: string;
622
+ publishedAt: string;
623
+ remoteId?: string;
624
+ }
625
+ interface XenoPublishPageInput {
626
+ artifactId?: string;
627
+ html: string;
628
+ files?: XenoPageFileInput[];
629
+ title?: string;
630
+ description?: string;
631
+ icon?: string;
632
+ producer: XenoArtifactActor;
633
+ identity?: XenoArtifactIdentity;
634
+ home?: XenoPageHome;
635
+ }
636
+ interface XenoPublishedPage {
637
+ artifactId: string;
638
+ revision: number;
639
+ title: string;
640
+ description?: string;
641
+ icon?: string;
642
+ hash: string;
643
+ sizeBytes: number;
644
+ files: Record<string, XenoPageFileRecord>;
645
+ directory: string;
646
+ entryPath: string;
647
+ publications: XenoPagePublication[];
648
+ createdAt: string;
649
+ updatedAt?: string;
650
+ unchanged?: boolean;
651
+ }
652
+ interface XenoPageStoreOptions {
653
+ repository: XenoArtifactRepository;
654
+ directory: string;
655
+ now?: () => string;
656
+ maxBytes?: number;
657
+ }
658
+ declare function pageContentType(path: string): string;
659
+ declare function extractPageTitle(html: string): string | undefined;
660
+ declare function normalizePagePath(path: string): {
661
+ path: string;
662
+ } | {
663
+ error: string;
664
+ };
665
+ declare class XenoPageStore {
666
+ readonly repository: XenoArtifactRepository;
667
+ readonly directory: string;
668
+ private readonly now;
669
+ private readonly maxBytes;
670
+ constructor(options: XenoPageStoreOptions);
671
+ revisionDirectory(artifactId: string, revision: number): string;
672
+ publish(input: XenoPublishPageInput): Promise<XenoPublishedPage>;
673
+ recordPublication(artifactId: string, publication: XenoPagePublication): Promise<XenoPublishedPage>;
674
+ private sidecarPath;
675
+ private writeSidecar;
676
+ private readSidecar;
677
+ get(artifactId: string, revision?: number): Promise<XenoPublishedPage | undefined>;
678
+ list(): Promise<XenoPublishedPage[]>;
679
+ resolveFile(artifactId: string, revision: number, relativePath: string): {
680
+ path: string;
681
+ contentType: string;
682
+ } | undefined;
683
+ readEntry(artifactId: string, revision: number): string | undefined;
684
+ readRevision(artifactId: string, revision: number): {
685
+ html: string;
686
+ files: XenoPageFileInput[];
687
+ };
688
+ addComment(artifactId: string, body: string, actor: XenoArtifactActor, anchor?: XenoArtifactAnchor): Promise<Extract<XenoArtifactReviewEvent, {
689
+ type: "comment-added";
690
+ }>>;
691
+ listComments(artifactId: string): Promise<Array<Extract<XenoArtifactReviewEvent, {
692
+ type: "comment-added";
693
+ }>>>;
694
+ private toPublished;
695
+ }
696
+ export { type AddXenoArtifactCommentRequest, type DecideXenoArtifactRequest, FileXenoArtifactRepository, type FileXenoArtifactRepositoryOptions, InMemoryXenoArtifactRepository, type InMemoryXenoArtifactRepositoryOptions, type SetXenoArtifactCommentResolutionRequest, XENO_ARTIFACT_FILE_REPOSITORY_SCHEMA_VERSION, XENO_ARTIFACT_SCHEMA_VERSION, XENO_PAGE_ENTRY, XENO_PAGE_MAX_BYTES, XENO_PAGE_MAX_FILES, XENO_REVIEW_DIMENSIONS, XENO_REVIEW_EVIDENCE_KINDS, XENO_REVIEW_REPORT_SCHEMA_VERSION, XENO_SPEC_EXECUTION_SCHEMA_VERSION, XENO_SPEC_SCHEMA_VERSION, XenoArtifactActor, XenoArtifactAnchor, type XenoArtifactAppendReviewRequest, XenoArtifactEnvelope, type XenoArtifactFileRecoveryNotice, type XenoArtifactFileSnapshot, XenoArtifactIdentity, XenoArtifactKind, XenoArtifactLifecycleEvent, XenoArtifactListQuery, type XenoArtifactMutationOptions, type XenoArtifactPersistedRecord, XenoArtifactRecord, type XenoArtifactRepository, XenoArtifactRepositoryError, type XenoArtifactRepositoryErrorCode, type XenoArtifactRepositoryState, type XenoArtifactReviewAnchorInput, XenoArtifactReviewDecision, XenoArtifactReviewEvent, XenoArtifactReviewEventInput, XenoArtifactReviewService, type XenoArtifactReviewServiceOptions, XenoArtifactReviewSummary, type XenoArtifactRevisionOptions, XenoArtifactSensitivity, XenoArtifactState, XenoArtifactStateTransitionError, type XenoArtifactTransitionRequest, XenoArtifactValidationError, type XenoArtifactValidationIssue, XenoContentHash, XenoEvidenceEdge, XenoEvidenceGraph, XenoEvidenceGraphBuilder, type XenoEvidenceGraphBuilderOptions, XenoEvidenceGraphValidationError, XenoEvidenceNode, XenoEvidenceReference, type XenoGitHubReviewComment, XenoJsonValue, type XenoLegacyAgentArtifactContext, type XenoLegacyArtifactContext, XenoMultiAgentReviewCoordinator, type XenoMultiAgentReviewCoordinatorOptions, type XenoPageFileInput, type XenoPageFileRecord, type XenoPageHome, type XenoPagePublication, XenoPageStore, type XenoPageStoreOptions, type XenoPublishPageInput, type XenoPublishedPage, type XenoReviewAgentExecutor, type XenoReviewAgentResult, type XenoReviewArtifactContext, type XenoReviewCoordinatorContext, type XenoReviewDimension, type XenoReviewEvidence, type XenoReviewEvidenceKind, type XenoReviewFinding, type XenoReviewFindingProposal, type XenoReviewFindingState, type XenoReviewPack, type XenoReviewReport, type XenoReviewSeverity, type XenoReviewTarget, XenoReviewValidationError, type XenoReviewVerificationOutcome, type XenoReviewVerificationResult, type XenoReviewVerifierExecutor, type XenoSpecAcceptanceCriterion, type XenoSpecArtifactBundle, type XenoSpecArtifactContext, type XenoSpecDesign, type XenoSpecDesignDecision, type XenoSpecDocument, type XenoSpecDriftFinding, type XenoSpecDriftReport, type XenoSpecExecutionRecord, type XenoSpecExecutionState, XenoSpecLifecycleService, type XenoSpecLifecycleServiceOptions, type XenoSpecPriority, type XenoSpecRequirement, type XenoSpecRisk, type XenoSpecSourceBaseline, type XenoSpecTask, type XenoSpecTaskExecution, type XenoSpecTaskStatus, XenoSpecValidationError, assertValidXenoArtifact, assertValidXenoEvidenceGraph, assertValidXenoReviewPack, assertValidXenoReviewReport, assertValidXenoReviewTarget, assertValidXenoSpecDocument, assertValidXenoSpecExecution, assertXenoArtifactStateTransition, buildXenoArtifactReviewAnchor, canTransitionXenoArtifactState, canonicalizeArtifactJson, defaultXenoReviewPack, detectXenoSpecDrift, extractPageTitle, legacyAgentArtifactToXenoArtifact, normalizePagePath, normalizeRepositoryRelativePath, pageContentType, sha256ArtifactBytes, sha256ArtifactJson, summarizeXenoArtifactReview, toolEvidenceToXenoArtifact, turnDiffSummaryToXenoArtifact, validateXenoArtifact, validateXenoArtifactReviewEvent, validateXenoEvidenceGraph, validateXenoSpecDocument, xenoArtifactToLegacyAgentArtifact, xenoArtifactToReviewReport, xenoArtifactToSpecDocument, xenoArtifactToSpecExecution, xenoArtifactToToolEvidence, xenoArtifactToTurnDiffSummary, xenoReviewReportToArtifact, xenoReviewReportToGitHubComments, xenoSpecArtifactIds, xenoSpecExecutionToArtifact, xenoSpecToArtifactBundle };
@@ -1,5 +1,5 @@
1
- import { A as XenoArtifactState, X as XenoArtifactEnvelope, w as XenoArtifactReviewEvent, y as XenoArtifactReviewSummary, R as XenoJsonValue, C as XenoContentHash, L as XenoEvidenceGraph, M as XenoEvidenceNode, J as XenoEvidenceEdge, s as XenoArtifactRecord, j as XenoArtifactActor, q as XenoArtifactListQuery, x as XenoArtifactReviewEventInput, c as XENO_ARTIFACT_SCHEMA_VERSION, p as XenoArtifactLifecycleEvent, v as XenoArtifactReviewDecision, l as XenoArtifactAnchor, O as XenoEvidenceReference, n as XenoArtifactIdentity, z as XenoArtifactSensitivity, o as XenoArtifactKind } from "./diff-artifact-CmhmeSu5.js";
2
- export { S as ParseUnifiedDiffOptions, b as XENO_ARTIFACT_ACTOR_KINDS, d as XENO_ARTIFACT_SENSITIVITIES, e as XENO_ARTIFACT_STATES, f as XENO_BUILTIN_ARTIFACT_KINDS, g as XENO_EVIDENCE_EDGE_TYPES, h as XENO_EVIDENCE_GRAPH_SCHEMA_VERSION, i as XENO_EVIDENCE_NODE_TYPES, k as XenoArtifactActorKind, m as XenoArtifactContent, r as XenoArtifactProvenance, t as XenoArtifactRelationship, u as XenoArtifactRetention, B as XenoArtifactStorageReference, T as XenoDiffArtifactContext, a as XenoDiffDocument, D as XenoDiffFile, E as XenoDiffFileStatus, F as XenoDiffHunk, G as XenoDiffLine, H as XenoDiffLineKind, I as XenoDiffMode, U as XenoDiffParseError, K as XenoEvidenceEdgeType, N as XenoEvidenceNodeType, P as XenoJsonObject, Q as XenoJsonPrimitive, V as parseUnifiedDiff, W as unifiedDiffToXenoArtifact, Y as xenoArtifactToDiffDocument } from "./diff-artifact-CmhmeSu5.js";
1
+ import { A as XenoArtifactState, X as XenoArtifactEnvelope, w as XenoArtifactReviewEvent, y as XenoArtifactReviewSummary, R as XenoJsonValue, C as XenoContentHash, L as XenoEvidenceGraph, M as XenoEvidenceNode, J as XenoEvidenceEdge, s as XenoArtifactRecord, j as XenoArtifactActor, q as XenoArtifactListQuery, x as XenoArtifactReviewEventInput, c as XENO_ARTIFACT_SCHEMA_VERSION, p as XenoArtifactLifecycleEvent, v as XenoArtifactReviewDecision, l as XenoArtifactAnchor, O as XenoEvidenceReference, n as XenoArtifactIdentity, z as XenoArtifactSensitivity, o as XenoArtifactKind } from "./diff-artifact--7QTtOxh.js";
2
+ export { S as ParseUnifiedDiffOptions, b as XENO_ARTIFACT_ACTOR_KINDS, d as XENO_ARTIFACT_SENSITIVITIES, e as XENO_ARTIFACT_STATES, f as XENO_BUILTIN_ARTIFACT_KINDS, g as XENO_EVIDENCE_EDGE_TYPES, h as XENO_EVIDENCE_GRAPH_SCHEMA_VERSION, i as XENO_EVIDENCE_NODE_TYPES, k as XenoArtifactActorKind, m as XenoArtifactContent, r as XenoArtifactProvenance, t as XenoArtifactRelationship, u as XenoArtifactRetention, B as XenoArtifactStorageReference, T as XenoDiffArtifactContext, a as XenoDiffDocument, D as XenoDiffFile, E as XenoDiffFileStatus, F as XenoDiffHunk, G as XenoDiffLine, H as XenoDiffLineKind, I as XenoDiffMode, U as XenoDiffParseError, K as XenoEvidenceEdgeType, N as XenoEvidenceNodeType, P as XenoJsonObject, Q as XenoJsonPrimitive, V as parseUnifiedDiff, W as unifiedDiffToXenoArtifact, Y as xenoArtifactToDiffDocument } from "./diff-artifact--7QTtOxh.js";
3
3
  interface XenoArtifactValidationIssue {
4
4
  path: string;
5
5
  code: string;
@@ -602,4 +602,95 @@ declare function toolEvidenceToXenoArtifact(evidence: ToolEvidence, context: Xen
602
602
  declare function xenoArtifactToToolEvidence(artifact: XenoArtifactEnvelope): ToolEvidence;
603
603
  declare function turnDiffSummaryToXenoArtifact(summary: TurnDiffSummary, context: XenoLegacyArtifactContext): XenoArtifactEnvelope;
604
604
  declare function xenoArtifactToTurnDiffSummary(artifact: XenoArtifactEnvelope): TurnDiffSummary;
605
- export { type AddXenoArtifactCommentRequest, type DecideXenoArtifactRequest, FileXenoArtifactRepository, type FileXenoArtifactRepositoryOptions, InMemoryXenoArtifactRepository, type InMemoryXenoArtifactRepositoryOptions, type SetXenoArtifactCommentResolutionRequest, XENO_ARTIFACT_FILE_REPOSITORY_SCHEMA_VERSION, XENO_ARTIFACT_SCHEMA_VERSION, XENO_REVIEW_DIMENSIONS, XENO_REVIEW_EVIDENCE_KINDS, XENO_REVIEW_REPORT_SCHEMA_VERSION, XENO_SPEC_EXECUTION_SCHEMA_VERSION, XENO_SPEC_SCHEMA_VERSION, XenoArtifactActor, XenoArtifactAnchor, type XenoArtifactAppendReviewRequest, XenoArtifactEnvelope, type XenoArtifactFileRecoveryNotice, type XenoArtifactFileSnapshot, XenoArtifactIdentity, XenoArtifactKind, XenoArtifactLifecycleEvent, XenoArtifactListQuery, type XenoArtifactMutationOptions, type XenoArtifactPersistedRecord, XenoArtifactRecord, type XenoArtifactRepository, XenoArtifactRepositoryError, type XenoArtifactRepositoryErrorCode, type XenoArtifactRepositoryState, type XenoArtifactReviewAnchorInput, XenoArtifactReviewDecision, XenoArtifactReviewEvent, XenoArtifactReviewEventInput, XenoArtifactReviewService, type XenoArtifactReviewServiceOptions, XenoArtifactReviewSummary, type XenoArtifactRevisionOptions, XenoArtifactSensitivity, XenoArtifactState, XenoArtifactStateTransitionError, type XenoArtifactTransitionRequest, XenoArtifactValidationError, type XenoArtifactValidationIssue, XenoContentHash, XenoEvidenceEdge, XenoEvidenceGraph, XenoEvidenceGraphBuilder, type XenoEvidenceGraphBuilderOptions, XenoEvidenceGraphValidationError, XenoEvidenceNode, XenoEvidenceReference, type XenoGitHubReviewComment, XenoJsonValue, type XenoLegacyAgentArtifactContext, type XenoLegacyArtifactContext, XenoMultiAgentReviewCoordinator, type XenoMultiAgentReviewCoordinatorOptions, type XenoReviewAgentExecutor, type XenoReviewAgentResult, type XenoReviewArtifactContext, type XenoReviewCoordinatorContext, type XenoReviewDimension, type XenoReviewEvidence, type XenoReviewEvidenceKind, type XenoReviewFinding, type XenoReviewFindingProposal, type XenoReviewFindingState, type XenoReviewPack, type XenoReviewReport, type XenoReviewSeverity, type XenoReviewTarget, XenoReviewValidationError, type XenoReviewVerificationOutcome, type XenoReviewVerificationResult, type XenoReviewVerifierExecutor, type XenoSpecAcceptanceCriterion, type XenoSpecArtifactBundle, type XenoSpecArtifactContext, type XenoSpecDesign, type XenoSpecDesignDecision, type XenoSpecDocument, type XenoSpecDriftFinding, type XenoSpecDriftReport, type XenoSpecExecutionRecord, type XenoSpecExecutionState, XenoSpecLifecycleService, type XenoSpecLifecycleServiceOptions, type XenoSpecPriority, type XenoSpecRequirement, type XenoSpecRisk, type XenoSpecSourceBaseline, type XenoSpecTask, type XenoSpecTaskExecution, type XenoSpecTaskStatus, XenoSpecValidationError, assertValidXenoArtifact, assertValidXenoEvidenceGraph, assertValidXenoReviewPack, assertValidXenoReviewReport, assertValidXenoReviewTarget, assertValidXenoSpecDocument, assertValidXenoSpecExecution, assertXenoArtifactStateTransition, buildXenoArtifactReviewAnchor, canTransitionXenoArtifactState, canonicalizeArtifactJson, defaultXenoReviewPack, detectXenoSpecDrift, legacyAgentArtifactToXenoArtifact, normalizeRepositoryRelativePath, sha256ArtifactBytes, sha256ArtifactJson, summarizeXenoArtifactReview, toolEvidenceToXenoArtifact, turnDiffSummaryToXenoArtifact, validateXenoArtifact, validateXenoArtifactReviewEvent, validateXenoEvidenceGraph, validateXenoSpecDocument, xenoArtifactToLegacyAgentArtifact, xenoArtifactToReviewReport, xenoArtifactToSpecDocument, xenoArtifactToSpecExecution, xenoArtifactToToolEvidence, xenoArtifactToTurnDiffSummary, xenoReviewReportToArtifact, xenoReviewReportToGitHubComments, xenoSpecArtifactIds, xenoSpecExecutionToArtifact, xenoSpecToArtifactBundle };
605
+ declare const XENO_PAGE_ENTRY = "index.html";
606
+ declare const XENO_PAGE_MAX_BYTES: number;
607
+ declare const XENO_PAGE_MAX_FILES = 255;
608
+ type XenoPageHome = "local" | "cloud";
609
+ interface XenoPageFileInput {
610
+ path: string;
611
+ bytes: Uint8Array | string;
612
+ contentType?: string;
613
+ }
614
+ interface XenoPageFileRecord {
615
+ sha256: string;
616
+ sizeBytes: number;
617
+ contentType: string;
618
+ }
619
+ interface XenoPagePublication {
620
+ home: XenoPageHome;
621
+ url?: string;
622
+ publishedAt: string;
623
+ remoteId?: string;
624
+ }
625
+ interface XenoPublishPageInput {
626
+ artifactId?: string;
627
+ html: string;
628
+ files?: XenoPageFileInput[];
629
+ title?: string;
630
+ description?: string;
631
+ icon?: string;
632
+ producer: XenoArtifactActor;
633
+ identity?: XenoArtifactIdentity;
634
+ home?: XenoPageHome;
635
+ }
636
+ interface XenoPublishedPage {
637
+ artifactId: string;
638
+ revision: number;
639
+ title: string;
640
+ description?: string;
641
+ icon?: string;
642
+ hash: string;
643
+ sizeBytes: number;
644
+ files: Record<string, XenoPageFileRecord>;
645
+ directory: string;
646
+ entryPath: string;
647
+ publications: XenoPagePublication[];
648
+ createdAt: string;
649
+ updatedAt?: string;
650
+ unchanged?: boolean;
651
+ }
652
+ interface XenoPageStoreOptions {
653
+ repository: XenoArtifactRepository;
654
+ directory: string;
655
+ now?: () => string;
656
+ maxBytes?: number;
657
+ }
658
+ declare function pageContentType(path: string): string;
659
+ declare function extractPageTitle(html: string): string | undefined;
660
+ declare function normalizePagePath(path: string): {
661
+ path: string;
662
+ } | {
663
+ error: string;
664
+ };
665
+ declare class XenoPageStore {
666
+ readonly repository: XenoArtifactRepository;
667
+ readonly directory: string;
668
+ private readonly now;
669
+ private readonly maxBytes;
670
+ constructor(options: XenoPageStoreOptions);
671
+ revisionDirectory(artifactId: string, revision: number): string;
672
+ publish(input: XenoPublishPageInput): Promise<XenoPublishedPage>;
673
+ recordPublication(artifactId: string, publication: XenoPagePublication): Promise<XenoPublishedPage>;
674
+ private sidecarPath;
675
+ private writeSidecar;
676
+ private readSidecar;
677
+ get(artifactId: string, revision?: number): Promise<XenoPublishedPage | undefined>;
678
+ list(): Promise<XenoPublishedPage[]>;
679
+ resolveFile(artifactId: string, revision: number, relativePath: string): {
680
+ path: string;
681
+ contentType: string;
682
+ } | undefined;
683
+ readEntry(artifactId: string, revision: number): string | undefined;
684
+ readRevision(artifactId: string, revision: number): {
685
+ html: string;
686
+ files: XenoPageFileInput[];
687
+ };
688
+ addComment(artifactId: string, body: string, actor: XenoArtifactActor, anchor?: XenoArtifactAnchor): Promise<Extract<XenoArtifactReviewEvent, {
689
+ type: "comment-added";
690
+ }>>;
691
+ listComments(artifactId: string): Promise<Array<Extract<XenoArtifactReviewEvent, {
692
+ type: "comment-added";
693
+ }>>>;
694
+ private toPublished;
695
+ }
696
+ export { type AddXenoArtifactCommentRequest, type DecideXenoArtifactRequest, FileXenoArtifactRepository, type FileXenoArtifactRepositoryOptions, InMemoryXenoArtifactRepository, type InMemoryXenoArtifactRepositoryOptions, type SetXenoArtifactCommentResolutionRequest, XENO_ARTIFACT_FILE_REPOSITORY_SCHEMA_VERSION, XENO_ARTIFACT_SCHEMA_VERSION, XENO_PAGE_ENTRY, XENO_PAGE_MAX_BYTES, XENO_PAGE_MAX_FILES, XENO_REVIEW_DIMENSIONS, XENO_REVIEW_EVIDENCE_KINDS, XENO_REVIEW_REPORT_SCHEMA_VERSION, XENO_SPEC_EXECUTION_SCHEMA_VERSION, XENO_SPEC_SCHEMA_VERSION, XenoArtifactActor, XenoArtifactAnchor, type XenoArtifactAppendReviewRequest, XenoArtifactEnvelope, type XenoArtifactFileRecoveryNotice, type XenoArtifactFileSnapshot, XenoArtifactIdentity, XenoArtifactKind, XenoArtifactLifecycleEvent, XenoArtifactListQuery, type XenoArtifactMutationOptions, type XenoArtifactPersistedRecord, XenoArtifactRecord, type XenoArtifactRepository, XenoArtifactRepositoryError, type XenoArtifactRepositoryErrorCode, type XenoArtifactRepositoryState, type XenoArtifactReviewAnchorInput, XenoArtifactReviewDecision, XenoArtifactReviewEvent, XenoArtifactReviewEventInput, XenoArtifactReviewService, type XenoArtifactReviewServiceOptions, XenoArtifactReviewSummary, type XenoArtifactRevisionOptions, XenoArtifactSensitivity, XenoArtifactState, XenoArtifactStateTransitionError, type XenoArtifactTransitionRequest, XenoArtifactValidationError, type XenoArtifactValidationIssue, XenoContentHash, XenoEvidenceEdge, XenoEvidenceGraph, XenoEvidenceGraphBuilder, type XenoEvidenceGraphBuilderOptions, XenoEvidenceGraphValidationError, XenoEvidenceNode, XenoEvidenceReference, type XenoGitHubReviewComment, XenoJsonValue, type XenoLegacyAgentArtifactContext, type XenoLegacyArtifactContext, XenoMultiAgentReviewCoordinator, type XenoMultiAgentReviewCoordinatorOptions, type XenoPageFileInput, type XenoPageFileRecord, type XenoPageHome, type XenoPagePublication, XenoPageStore, type XenoPageStoreOptions, type XenoPublishPageInput, type XenoPublishedPage, type XenoReviewAgentExecutor, type XenoReviewAgentResult, type XenoReviewArtifactContext, type XenoReviewCoordinatorContext, type XenoReviewDimension, type XenoReviewEvidence, type XenoReviewEvidenceKind, type XenoReviewFinding, type XenoReviewFindingProposal, type XenoReviewFindingState, type XenoReviewPack, type XenoReviewReport, type XenoReviewSeverity, type XenoReviewTarget, XenoReviewValidationError, type XenoReviewVerificationOutcome, type XenoReviewVerificationResult, type XenoReviewVerifierExecutor, type XenoSpecAcceptanceCriterion, type XenoSpecArtifactBundle, type XenoSpecArtifactContext, type XenoSpecDesign, type XenoSpecDesignDecision, type XenoSpecDocument, type XenoSpecDriftFinding, type XenoSpecDriftReport, type XenoSpecExecutionRecord, type XenoSpecExecutionState, XenoSpecLifecycleService, type XenoSpecLifecycleServiceOptions, type XenoSpecPriority, type XenoSpecRequirement, type XenoSpecRisk, type XenoSpecSourceBaseline, type XenoSpecTask, type XenoSpecTaskExecution, type XenoSpecTaskStatus, XenoSpecValidationError, assertValidXenoArtifact, assertValidXenoEvidenceGraph, assertValidXenoReviewPack, assertValidXenoReviewReport, assertValidXenoReviewTarget, assertValidXenoSpecDocument, assertValidXenoSpecExecution, assertXenoArtifactStateTransition, buildXenoArtifactReviewAnchor, canTransitionXenoArtifactState, canonicalizeArtifactJson, defaultXenoReviewPack, detectXenoSpecDrift, extractPageTitle, legacyAgentArtifactToXenoArtifact, normalizePagePath, normalizeRepositoryRelativePath, pageContentType, sha256ArtifactBytes, sha256ArtifactJson, summarizeXenoArtifactReview, toolEvidenceToXenoArtifact, turnDiffSummaryToXenoArtifact, validateXenoArtifact, validateXenoArtifactReviewEvent, validateXenoEvidenceGraph, validateXenoSpecDocument, xenoArtifactToLegacyAgentArtifact, xenoArtifactToReviewReport, xenoArtifactToSpecDocument, xenoArtifactToSpecExecution, xenoArtifactToToolEvidence, xenoArtifactToTurnDiffSummary, xenoReviewReportToArtifact, xenoReviewReportToGitHubComments, xenoSpecArtifactIds, xenoSpecExecutionToArtifact, xenoSpecToArtifactBundle };