import { createCommand } from "../../../types.js";
import { deleteSubcommand } from "./delete.js";
import { deleteNamespaceSubcommand } from "./delete-namespace.js";
import { getSubcommand } from "./get.js";
import { listNamespacesSubcommand } from "./list-namespaces.js";
import { searchSubcommand } from "./search.js";
import { statsSubcommand } from "./stats.js";
import { upsertSubcommand } from "./upsert.js";
import { getCommand } from "../../../command-prefix.js";
export const vectorCommand = createCommand({
    name: 'vector',
    aliases: ['vec', 'vectors'],
    description: 'Manage vector storage for your projects',
    tags: ['requires-auth', 'slow'],
    examples: [
        {
            command: getCommand('cloud vector search products "query text"'),
            description: 'Search vector storage',
        },
        {
            command: getCommand('cloud vec upsert products doc1 --document "text"'),
            description: 'Upsert a vector',
        },
        { command: getCommand('cloud vec get products doc1'), description: 'Get vector by key' },
        { command: getCommand('cloud vec stats'), description: 'Show namespace statistics' },
    ],
    subcommands: [
        upsertSubcommand,
        searchSubcommand,
        getSubcommand,
        deleteSubcommand,
        statsSubcommand,
        listNamespacesSubcommand,
        deleteNamespaceSubcommand,
    ],
    requires: { auth: true },
});
export default vectorCommand;
//# sourceMappingURL=index.js.map