Skip to content
← Public packages

@kody/mailroom

Offline-first PWA for your Kody mailbox: sent and received threads, copy-prompt for agents, no send.

src/index.ts

25 lines · 722 B · TypeScript
/**
 * Official Mailroom: a read-only PWA for the package owner's Kody mailbox.
 *
 * @example
 * import describe from 'kody:@kody/mailroom'
 *
 * const info = await describe()
 */
export default async function describe() {
	return {
		name: '@kody/mailroom',
		app: 'Mailroom',
		sends: false,
		exports: {
			'.': 'Package overview',
			'./list': 'List received or sent threads',
			'./get': 'Read one stored message including bodies',
			'./search': 'Search then group into threads',
			'./thread': 'Load one thread with bodies',
			'./prompt': 'Copy-paste agent prompt for a thread or message',
			'./app': 'Hosted PWA fetch handler',
			'./record-version': 'Record the published commit for the About card',
		},
	}
}