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 | TOOL_INVOKE_KIND, |
| 30 | capabilityCallRequestSchema, |
| 31 | capabilityCallResponseSchema, |
| 32 | toolInvokeCapabilitiesSchema, |
| 33 | toolInvokePayloadSchema, |
| 34 | toolInvokeResponseSchema, |
| 35 | toolInvokeResultSchema, |
| 36 | } from "./server/tool-invoke"; |
| 37 | export type { |
| 38 | CapabilityCallRequest, |
| 39 | CapabilityCallResponse, |
| 40 | ToolInvokeCapabilities, |
| 41 | ToolInvokePayload, |
| 42 | ToolInvokeResponse, |
| 43 | ToolInvokeResult, |
| 44 | } from "./server/tool-invoke"; |
| 45 | export { |
| 46 | COLINE_PROTOCOL_HEADER, |
| 47 | COLINE_PROTOCOL_VERSION, |
| 48 | ColineProtocolError, |
| 49 | buildProtocolSigningPayload, |
| 50 | buildSignedProtocolRequest, |
| 51 | colineProtocolActorSchema, |
| 52 | colineProtocolEnvelopeSchema, |
| 53 | parseSignedProtocolRequest, |
| 54 | } from "./server/protocol"; |
| 55 | export type { |
| 56 | ColineProtocolActor, |
| 57 | ColineProtocolEnvelope, |
| 58 | ColineProtocolErrorCode, |
| 59 | ParsedProtocolRequest, |
| 60 | SignedProtocolRequest, |
| 61 | } from "./server/protocol"; |
| 62 | export { |
| 63 | COLINE_DELIVERY_HEADER, |
| 64 | COLINE_SIGNATURE_HEADER, |
| 65 | COLINE_TIMESTAMP_HEADER, |
| 66 | hmacSha256Hex, |
| 67 | timingSafeEqualHex, |
| 68 | } from "./server/signing"; |
| 69 | export { actions, colineUiActionSchema, colineUiNodeSchema, ui } from "./tree/tree"; |
| 70 | export type { ColineUiAction, ColineUiNode } from "./tree/tree"; |
| 71 | export { |
| 72 | CHAT_CARD_ALLOWED_NODE_TYPES, |
| 73 | CHAT_CARD_MAX_DEPTH, |
| 74 | CHAT_CARD_MAX_NODES, |
| 75 | CHAT_CARD_MAX_TABLE_ROWS, |
| 76 | chatCardTreeSchema, |
| 77 | validateChatCardTree, |
| 78 | } from "./tree/chat-card"; |
| 79 | export type { ChatCardTree, ChatCardValidation } from "./tree/chat-card"; |
| 80 |