The Coline App SDK: apps, tools, file types and surfaces that run inside Coline workspaces, and public websites with Coline Sites. TypeScript, with an in-memory test workspace. MIT.
| 6 |
| 7 | export * from "./manifest"; |
| 8 | export * from "./define"; |
| 9 | export * from "./capabilities"; |
| 10 | export { |
| 11 | createHttpCapabilities, |
| 12 | ColineCapabilityCallError, |
| 13 | } from "./capabilities/http-client"; |
| 14 | export type { CapabilityEndpoint } from "./capabilities/http-client"; |
| 15 | export { createColineAppHandler } from "./server/app-server"; |
| 16 | export { |
| 17 | RENDER_SURFACE_KIND, |
| 18 | RENDER_SURFACES, |
| 19 | renderSurfacePayloadSchema, |
| 20 | renderSurfaceResponseSchema, |
| 21 | renderSurfaceSchema, |
| 22 | } from "./server/render-surface"; |
| 23 | export type { |
| 24 | RenderSurface, |
| 25 | RenderSurfacePayload, |
| 26 | RenderSurfaceResponse, |
| 27 | } from "./server/render-surface"; |
| 28 | export { |
| 29 | TRIGGER_SCHEDULE_KIND, |
| 30 | triggerSchedulePayloadSchema, |
| 31 | triggerScheduleResponseSchema, |
| 32 | } from "./server/trigger-schedule"; |
| 33 | export type { |
| 34 | TriggerSchedulePayload, |
| 35 | TriggerScheduleResponse, |
| 36 | } from "./server/trigger-schedule"; |
| 37 | export { |
| 38 | TOOL_INVOKE_KIND, |
| 39 | capabilityCallRequestSchema, |
| 40 | capabilityCallResponseSchema, |
| 41 | toolInvokeCapabilitiesSchema, |
| 42 | toolInvokePayloadSchema, |
| 43 | toolInvokeResponseSchema, |
| 44 | toolInvokeResultSchema, |
| 45 | } from "./server/tool-invoke"; |
| 46 | export type { |
| 47 | CapabilityCallRequest, |
| 48 | CapabilityCallResponse, |
| 49 | ToolInvokeCapabilities, |
| 50 | ToolInvokePayload, |
| 51 | ToolInvokeResponse, |
| 52 | ToolInvokeResult, |
| 53 | } from "./server/tool-invoke"; |
| 54 | export { |
| 55 | COLINE_PROTOCOL_HEADER, |
| 56 | COLINE_PROTOCOL_VERSION, |
| 57 | ColineProtocolError, |
| 58 | buildProtocolSigningPayload, |
| 59 | buildSignedProtocolRequest, |
| 60 | colineProtocolActorSchema, |
| 61 | colineProtocolEnvelopeSchema, |
| 62 | parseSignedProtocolRequest, |
| 63 | } from "./server/protocol"; |
| 64 | export type { |
| 65 | ColineProtocolActor, |
| 66 | ColineProtocolEnvelope, |
| 67 | ColineProtocolErrorCode, |
| 68 | ParsedProtocolRequest, |
| 69 | SignedProtocolRequest, |
| 70 | } from "./server/protocol"; |
| 71 | export { |
| 72 | COLINE_DELIVERY_HEADER, |
| 73 | COLINE_SIGNATURE_HEADER, |
| 74 | COLINE_TIMESTAMP_HEADER, |
| 75 | hmacSha256Hex, |
| 76 | timingSafeEqualHex, |
| 77 | } from "./server/signing"; |
| 78 | export { actions, colineUiActionSchema, colineUiNodeSchema, ui } from "./tree/tree"; |
| 79 | export type { ColineUiAction, ColineUiNode } from "./tree/tree"; |
| 80 | export { |
| 81 | CHAT_CARD_ALLOWED_NODE_TYPES, |
| 82 | CHAT_CARD_MAX_DEPTH, |
| 83 | CHAT_CARD_MAX_NODES, |
| 84 | CHAT_CARD_MAX_TABLE_ROWS, |
| 85 | chatCardTreeSchema, |
| 86 | validateChatCardTree, |
| 87 | } from "./tree/chat-card"; |
| 88 | export type { ChatCardTree, ChatCardValidation } from "./tree/chat-card"; |
| 89 |