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.

context.pack.search.form

Search form for context packs and snapshots.

  • Type: form (form)
  • Version: 1.0.0
  • Tags: search
  • File: packages/libs/contracts-spec/src/context/forms/contextPackSearch.form.ts
  • ```typescript

    field.key.label
    context.pack.search.form
    field.version.label
    1.0.0
    field.type.label
    form (form)
    field.title.label
    context.pack.search.form
    field.description.label

    Search form for context packs and snapshots.

  • Type: form (form)
  • Version: 1.0.0
  • Tags: search
  • File: packages/libs/contracts-spec/src/context/forms/contextPackSearch.form.ts
  • ```typescript

    field.tags.label
    search
    field.owners.label
    field.stability.label

    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: [],
    	},
    });