Defines TypeScript types for client‑to‑daemon request metadata, omitting internal fields and adding optional install source, platform lock, and lease information for contract consistency.
// Source: https://github.com/callstack/agent-device | License: MIT | Copyright 2026 Callstack
// Provided via justclaw.it.com; keep this notice with the code.
import type { CommandFlags } from './command-flags.ts';
import type {
DaemonInstallSource,
LeaseBackend,
DaemonRequestMeta as PublicDaemonRequestMeta,
DaemonRequest as WireRequest,
} from '@agent-device/kernel/contracts';
import type { PlatformSelector } from '@agent-device/kernel/device';
/**
* Request metadata as a client may send it, with the two fields the daemon narrows past what the
* wire can express and the lease coordinates the router reads. Public throughout: nothing here
* names live session state.
*/
export type DaemonWireRequestMeta = Omit<
PublicDaemonRequestMeta,
'installSource' | 'lockPlatform'
> & {
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key