@lineai/agent-platform-types
v0.1.3
Published
Shared TypeScript types and Zod schemas for the Line AI agent platform (plugins, task submissions, runtime definitions)
Maintainers
Readme
@lineai/agent-platform-types
Shared TypeScript types and Zod schemas for the Line AI agent platform.
This package is the single source of truth for:
- Plugin schemas — defaults, skills, subagents, MCP servers, hooks (the configuration customers author in the line-ai console).
- Task submission schemas — the slim shape clients send to the agent platform API.
- Resolved task definition schema — the rich shape the runtime validates after the orchestrator merges plugin defaults with the submission.
- Task/run records — the persisted shapes returned to clients.
- Fallback defaults —
FALLBACK_DEFAULTSis the one place to change platform-wide defaults (model, maxTurns, timeoutSeconds, etc.).
Consumers:
@lineai/line-ai— console UI and API client@lineai/agent-platform— orchestrator and runtimeservice-api— the public REST API gateway
Build
pnpm install
pnpm run build