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