OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Search form for context packs and snapshots.
Source Definition
import { ScalarTypeEnum, SchemaModel } from '@lssm-tech/lib.schema';
import { docRef } from '../../docs/registry';
import type { DocBlock } from '../../docs/types';
import { defineFormSpec } from '../../forms/forms';
import {
CONTEXT_DOMAIN,
CONTEXT_OWNERS,
CONTEXT_STABILITY,
CONTEXT_TAGS,
} from '../constants';
export const ContextPackSearchForm = defineFormSpec({
meta: {
key: 'context.pack.search.form',
title: 'Context Pack Search',
version: '1.0.0',
description: 'Search form for context packs and snapshots.',
domain: CONTEXT_DOMAIN,
owners: CONTEXT_OWNERS,
tags: [...CONTEXT_TAGS, 'search'],
stability: CONTEXT_STABILITY,
docId: [docRef(ContextPackSearchFormDocBlock.id)],
},
model: ContextPackSearchFormModel,
fields: [
{
kind: 'text',
name: 'query',
labelI18n: 'Search',
placeholderI18n: 'Search context packs',
},
{
kind: 'text',
name: 'tag',
labelI18n: 'Tag',
placeholderI18n: 'context, database, agent',
},
{
kind: 'text',
name: 'owner',
labelI18n: 'Owner',
placeholderI18n: 'platform.context',
},
{
kind: 'switch',
name: 'snapshotOnly',
labelI18n: 'Snapshots only',
},
],
actions: [
{
key: 'search',
labelI18n: 'Search',
op: { name: 'context.pack.search', version: '1.0.0' },
},
],
policy: {
flags: [],
pii: [],
},
});