Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

1.1 KB
Raw Blame
import type { ModuleManifest, TypeRef } from "@hypit/hypit/protocol";
import {
  narrativeSegmentRefSchema,
  narrativeSchema,
  narrativeMomentSchema,
  narrativeSelectionSchema,
} from "./schema.js";

export const narrativeModuleRef = { name: "@hypit/narrative", version: "1" } as const;
export const narrativeTypes = {
  narrative: { module: narrativeModuleRef, name: "Narrative" },
  segmentRef: { module: narrativeModuleRef, name: "NarrativeSegmentRef" },
  selection: { module: narrativeModuleRef, name: "NarrativeSelection" },
  moment: { module: narrativeModuleRef, name: "NarrativeMoment" },
} satisfies Record<string, TypeRef>;
export const narrativeManifest: ModuleManifest = {
  format: "hypit.module@1", name: narrativeModuleRef.name, version: narrativeModuleRef.version,
  dependencies: [],
  types: [
    { name: narrativeTypes.narrative.name },
    { name: narrativeTypes.segmentRef.name },
    { name: narrativeTypes.selection.name },
    { name: narrativeTypes.moment.name },
  ],
  capabilities: [], producers: [],
};
export const narrativeDependency = { module: narrativeModuleRef } as const;