npm.io
0.1.0 • Published 5d ago

@agentproto/collection

Licence
Apache-2.0
Version
0.1.0
Deps
3
Size
43 kB
Vulns
0
Weekly
0
Stars
4

@agentproto/collection

AIP-18 COLLECTION.md reference implementation. A composable primitive pack that lets any AIP define domain-extensible item types as on-disk schema files (COLLECTION.md) instantiated by markdown records (ITEM.md), so future workspace AIPs (work, knowledge, companies) compose on a shared type system instead of inventing their own.

Status: 0.1.0-alpha. Generated by scripts/scaffold-aip.mjsbuild() and validate() bodies are TODOs.

Spec: https://agentproto.sh/docs/aip-18

Usage

import { defineCollection } from "@agentproto/collection"

const x = defineCollection({
  id: "my-collection",
  description: "Short purpose.",
  // ...
})

License

MIT — see LICENSE.

Keywords