@stndrds/constants 1.0.0-alpha.277 → 1.0.0-alpha.278
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +43 -1
- package/dist/index.d.ts +43 -1
- package/dist/index.js +80 -0
- package/dist/index.mjs +76 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -20,6 +20,23 @@ declare const AI_CHAT_MAX_FILE_SIZE: number;
|
|
|
20
20
|
/** Maximum number of file attachments per message */
|
|
21
21
|
declare const AI_CHAT_MAX_FILES = 5;
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Maximal built-in agent tool catalogue shared by runtime ownership tests and
|
|
25
|
+
* the UI rendering coverage guard. Optional tools still belong here: the map
|
|
26
|
+
* describes every native tool a fully wired runtime can expose.
|
|
27
|
+
*/
|
|
28
|
+
declare const BUILT_IN_AGENT_TOOL_GROUPS: {
|
|
29
|
+
readonly bulk: readonly ["bulk_create_records", "bulk_delete_records", "bulk_search", "bulk_update_records"];
|
|
30
|
+
readonly calendar: readonly ["get_calendar_event", "get_meeting_transcript", "search_calendar_events"];
|
|
31
|
+
readonly core: readonly ["archive_document", "ask_questions", "attach_file", "call_reflex", "create_folder", "create_record", "delete_record", "exec_command", "get_record", "get_schema", "get_skill", "global_search", "initialize_record_drive_structure", "list_record_drive", "list_workspace_users", "load_toolset", "read_document", "remove_file", "request_work_mode", "sandbox_get_file", "sandbox_upload_file", "sandbox_validate_payload", "search_records", "update_document", "update_record", "write_todos"];
|
|
32
|
+
readonly email: readonly ["download_email_attachments", "get_email", "get_email_thread", "search_emails"];
|
|
33
|
+
readonly memory: readonly ["get_memory", "save_memory", "search_memories"];
|
|
34
|
+
readonly orchestration: readonly ["message_agent", "spawn_agent"];
|
|
35
|
+
readonly schema: readonly ["add_planned_attributes", "add_planned_object", "add_sample_records", "discard_plan_draft", "get_default_view", "get_schema_history", "propose_schema_plan", "request_design_review", "search_icons", "set_planned_removals", "set_planned_view"];
|
|
36
|
+
readonly web: readonly ["read_webpage", "web_search"];
|
|
37
|
+
};
|
|
38
|
+
declare const BUILT_IN_AGENT_TOOL_NAMES: ("bulk_create_records" | "bulk_delete_records" | "bulk_search" | "bulk_update_records" | "get_calendar_event" | "get_meeting_transcript" | "search_calendar_events" | "archive_document" | "ask_questions" | "attach_file" | "call_reflex" | "create_folder" | "create_record" | "delete_record" | "exec_command" | "get_record" | "get_schema" | "get_skill" | "global_search" | "initialize_record_drive_structure" | "list_record_drive" | "list_workspace_users" | "load_toolset" | "read_document" | "remove_file" | "request_work_mode" | "sandbox_get_file" | "sandbox_upload_file" | "sandbox_validate_payload" | "search_records" | "update_document" | "update_record" | "write_todos" | "download_email_attachments" | "get_email" | "get_email_thread" | "search_emails" | "get_memory" | "save_memory" | "search_memories" | "message_agent" | "spawn_agent" | "add_planned_attributes" | "add_planned_object" | "add_sample_records" | "discard_plan_draft" | "get_default_view" | "get_schema_history" | "propose_schema_plan" | "request_design_review" | "search_icons" | "set_planned_removals" | "set_planned_view" | "read_webpage" | "web_search")[];
|
|
39
|
+
|
|
23
40
|
declare const ICONS: readonly ["a-arrow-down", "a-arrow-up", "academic-hat", "accessibility", "activity-square", "activity", "add-queue", "aeroplane", "air-conditioner", "airplay", "airpods", "alarm-check", "alarm-minus", "alarm-plus", "alarm-smoke", "alarm-snooze", "alarm-x", "alarm", "album", "align-bottom", "align-horizontal", "align-left", "align-right", "align-top", "align-vertical", "alt", "ambulance", "ampersand-square", "ampersand", "ampersands", "anchor", "angry-circle", "angry-ghost", "angry-square", "annoyed-circle", "annoyed-ghost", "annoyed-square", "aperture", "api", "ar", "archive", "arrow-diagonal-one", "arrow-diagonal-two", "arrow-down-circle", "arrow-down-left-circle", "arrow-down-left-square", "arrow-down-left-waves", "arrow-down-left", "arrow-down-right-circle", "arrow-down-right-square", "arrow-down-right-waves", "arrow-down-right", "arrow-down-square", "arrow-down-waves", "arrow-down", "arrow-left-circle", "arrow-left-right", "arrow-left-square", "arrow-left-waves", "arrow-left", "arrow-long-down-left", "arrow-long-down-right", "arrow-long-down", "arrow-long-left", "arrow-long-right", "arrow-long-up-left", "arrow-long-up-right", "arrow-long-up", "arrow-right-circle", "arrow-right-square", "arrow-right-waves", "arrow-right", "arrow-up-circle", "arrow-up-down", "arrow-up-left-circle", "arrow-up-left-square", "arrow-up-left-waves", "arrow-up-left", "arrow-up-right-circle", "arrow-up-right-square", "arrow-up-right-waves", "arrow-up-right", "arrow-up-square", "arrow-up-waves", "arrow-up", "asterisk-circle", "asterisk-diamond", "asterisk-hexagon", "asterisk-octagon", "asterisk-square", "asterisk-waves", "at", "atom", "baby", "backpack", "badge", "baggage-claim", "ban", "bank", "baseball", "bath", "battery-charging-four", "battery-charging-one", "battery-charging-three", "battery-charging-two", "battery-charging", "battery-check", "battery-empty", "battery-full", "battery-minus", "battery-plus", "battery-x", "bell-check", "bell-home", "bell-minus", "bell-on", "bell-plus", "bell-slash", "bell-snooze", "bell-user", "bell-x", "bell", "binoculars", "bitcoin-circle", "bitcoin-diamond", "bitcoin-hexagon", "bitcoin-octagon", "bitcoin-square", "bitcoin-waves", "bitcoin", "bluetooth", "boat", "book-check", "book-dot", "book-home", "book-image", "book-minus", "book-open", "book-plus", "book-slash", "book-snooze", "book-user", "book-x", "book", "bookmark-check", "bookmark-dot", "bookmark-home", "bookmark-minus", "bookmark-plus", "bookmark-slash", "bookmark-snooze", "bookmark-user", "bookmark-x", "bookmark", "bounding-box", "bowl", "box", "brand-chrome", "brand-codepen", "brand-codesandbox", "brand-dribbble", "brand-facebook", "brand-figma", "brand-framer", "brand-github", "brand-gitlab", "brand-google", "brand-instagram", "brand-linkedin", "brand-pinterest", "brand-pocket", "brand-slack", "brand-spotify", "brand-telegram", "brand-threads", "brand-trello", "brand-twitch", "brand-twitter", "brand-x", "brand-youtube", "briefcase-conveyor-belt", "briefcase", "brightness-high", "brightness-low", "bubbles", "building-one", "building", "cable-car", "cake", "calendar-check", "calendar-down", "calendar-minus", "calendar-plus", "calendar-slash", "calendar-up", "calendar-x", "calendar", "camera-slash", "camera", "campfire", "cannabis", "caravan", "cart-check", "cart-minus", "cart-plus", "cart-x", "cart", "cast-screen", "center-focus", "chart-area", "chart-bar-big", "chart-bar-decreasing", "chart-bar-increasing", "chart-bar-one", "chart-bar-stacked", "chart-bar", "chart-bubble", "chart-candlestick", "chart-column-big", "chart-column-decreasing", "chart-column-increasing", "chart-column-stacked", "chart-column", "chart-gantt", "chart-graph", "chart-line", "chart-network", "chart-no-axes-column-decreasing", "chart-no-axes-column-increasing", "chart-no-axes-column", "chart-no-axes-combined", "chart-no-axes-gantt", "chart-pie-one", "chart-pie-two", "chart-pie", "chart-scatter", "chart-spline", "chat-check", "chat-dots", "chat-messages", "chat-minus", "chat-plus", "chat-x", "chat", "check-circle-one", "check-circle", "check-diamond", "check-hexagon", "check-octagon", "check-square-one", "check-square", "check-waves", "check", "chevron-double-down-left", "chevron-double-down-right", "chevron-double-down", "chevron-double-left", "chevron-double-right", "chevron-double-up-left", "chevron-double-up-right", "chevron-double-up", "chevron-down-circle", "chevron-down-left-circle", "chevron-down-left-square", "chevron-down-left-waves", "chevron-down-left", "chevron-down-right-circle", "chevron-down-right-square", "chevron-down-right-waves", "chevron-down-right", "chevron-down-square", "chevron-down-waves", "chevron-down", "chevron-left-circle", "chevron-left-square", "chevron-left-waves", "chevron-left", "chevron-right-circle", "chevron-right-square", "chevron-right-waves", "chevron-right", "chevron-up-circle", "chevron-up-down", "chevron-up-left-circle", "chevron-up-left-square", "chevron-up-left-waves", "chevron-up-left", "chevron-up-right-circle", "chevron-up-right-square", "chevron-up-right-waves", "chevron-up-right", "chevron-up-square", "chevron-up-waves", "chevron-up", "chip", "cigarette-off", "cigarette", "circle-dashed", "circle-half-circle", "circle-half", "circle-notch", "circle", "click", "clipboard", "clock-circle", "clock-diamond", "clock-eight", "clock-eleven", "clock-five", "clock-four", "clock-hand", "clock-hexagon", "clock-nine", "clock-octagon", "clock-one", "clock-seven", "clock-six", "clock-square", "clock-ten", "clock-three", "clock-twelve", "clock-two", "clock-waves", "cloud-download", "cloud-drizzle", "cloud-fog", "cloud-hail", "cloud-lightning", "cloud-moon-rain", "cloud-moon", "cloud-off", "cloud-rain-wind", "cloud-rain", "cloud-snow", "cloud-sun-rain", "cloud-sun", "cloud-upload", "cloud", "cloudy", "cocktail", "code-circle", "code-diamond", "code-hexagon", "code-octagon", "code-square", "code-waves", "code", "coffee", "cog-four", "cog-one", "cog-three", "cog-two", "cog", "columns", "command", "compass", "components", "confetti", "config-vertical", "config", "contactless-circle", "contactless", "controller", "cookie", "copy", "copyleft", "copyright-slash", "copyright", "corner-down-left", "corner-down-right", "corner-left-down", "corner-left-up", "corner-right-down", "corner-right-up", "corner-up-left", "corner-up-right", "credit-card-check", "credit-card-minus", "credit-card-plus", "credit-card-x", "credit-card", "croissant", "crop", "crosshair", "cupcake", "danger-circle", "danger-diamond", "danger-hexagon", "danger-octagon", "danger-square", "danger-triangle", "danger-waves", "danger", "database", "daze-circle", "daze-ghost", "daze-square", "delete", "desktop", "diamond", "dice-five", "dice-four", "dice-one", "dice-six", "dice-three", "dice-two", "dislike", "divide", "dollar-circle", "dollar-diamond", "dollar-hexagon", "dollar-octagon", "dollar-square", "dollar-waves", "dollar", "door-closed-locked", "door-closed", "door-open", "dots-circle", "dots-diamond", "dots-hexagon", "dots-octagon", "dots-square", "dots-vertical-circle", "dots-vertical-diamond", "dots-vertical-hexagon", "dots-vertical-octagon", "dots-vertical-square", "dots-vertical-waves", "dots-vertical", "dots-waves", "dots", "download", "drop", "droplet-off", "droplet", "droplets", "ear-slash", "ear", "earth", "eclipse", "edit-one", "edit", "egg", "eight-circle", "eight-diamond", "eight-hexagon", "eight-octagon", "eight-square", "eight-waves", "eight", "elevator", "envelope-open", "envelope", "euro-circle", "euro-diamond", "euro-hexagon", "euro-octagon", "euro-square", "euro-waves", "euro", "exclude", "external-link", "eye-slash", "eye", "face-id", "fat-arrow-down-left", "fat-arrow-down-right", "fat-arrow-down", "fat-arrow-left", "fat-arrow-right", "fat-arrow-up-left", "fat-arrow-up-right", "fat-arrow-up", "fat-corner-down-left", "fat-corner-down-right", "fat-corner-left-down", "fat-corner-left-up", "fat-corner-right-down", "fat-corner-right-up", "fat-corner-up-left", "fat-corner-up-right", "female", "file-check", "file-minus", "file-plus", "file-text", "file-x", "file", "film", "filter-one", "filter", "fine-tune", "fire", "five-circle", "five-diamond", "five-hexagon", "five-octagon", "five-square", "five-waves", "five", "flag-one", "flag", "flame-kindling", "flame", "flask", "flower-2", "flower", "folder-check", "folder-heart", "folder-kanban", "folder-minus", "folder-one", "folder-plus", "folder-slash", "folder-two", "folder-x", "folder", "forward-circle", "forward-diamond", "forward-hexagon", "forward-octagon", "forward-square", "forward-waves", "forward", "four-circle", "four-diamond", "four-hexagon", "four-octagon", "four-square", "four-waves", "four", "frame", "funny-circle", "funny-ghost", "funny-square", "gift", "git-branch", "git-circle", "git-commit", "git-diamond", "git-diff", "git-hexagon", "git-merge", "git-octagon", "git-pull-request", "git-square", "git-waves", "glasses", "globe", "grid-one", "grid", "hand", "hard-drive", "hash-circle", "hash-diamond", "hash-hexagon", "hash-octagon", "hash-square", "hash-waves", "hash", "haze", "heading-five", "heading-four", "heading-one", "heading-six", "heading-three", "heading-two", "heading", "headphones", "heart-broken", "heart-check", "heart-circle", "heart-diamond", "heart-dot", "heart-hexagon", "heart-home", "heart-minus", "heart-octagon", "heart-plus", "heart-slash", "heart-snooze", "heart-square", "heart-user", "heart-waves", "heart-x", "heart", "hexagon", "home-check", "home-minus", "home-plus", "home-smile", "home-x", "home", "image-circle", "image-rectangle", "image", "inbox-archive", "inbox-check", "inbox-down", "inbox-minus", "inbox-plus", "inbox-up", "inbox-x", "inbox", "incognito", "indifferent-circle", "indifferent-ghost", "indifferent-square", "infinity", "info-circle", "info-diamond", "info-hexagon", "info-octagon", "info-square", "info-triangle", "info-waves", "info", "intersect", "kanban", "key", "keyboard-brightness-high", "keyboard-brightness-low", "keyboard", "label", "lamp", "layers-one", "layers-three", "layers-two", "layout", "leaf", "leaves", "letter-a-circle", "letter-a-diamond", "letter-a-hexagon", "letter-a-octagon", "letter-a-square", "letter-a-waves", "letter-a", "letter-b-circle", "letter-b-diamond", "letter-b-hexagon", "letter-b-octagon", "letter-b-square", "letter-b-waves", "letter-b", "letter-c-circle", "letter-c-diamond", "letter-c-hexagon", "letter-c-octagon", "letter-c-square", "letter-c-waves", "letter-c", "letter-d-circle", "letter-d-diamond", "letter-d-hexagon", "letter-d-octagon", "letter-d-square", "letter-d-waves", "letter-d", "letter-e-circle", "letter-e-diamond", "letter-e-hexagon", "letter-e-octagon", "letter-e-square", "letter-e-waves", "letter-e", "letter-f-circle", "letter-f-diamond", "letter-f-hexagon", "letter-f-octagon", "letter-f-square", "letter-f-waves", "letter-f", "letter-g-circle", "letter-g-diamond", "letter-g-hexagon", "letter-g-octagon", "letter-g-square", "letter-g-waves", "letter-g", "letter-h-circle", "letter-h-diamond", "letter-h-hexagon", "letter-h-octagon", "letter-h-square", "letter-h-waves", "letter-h", "letter-i-circle", "letter-i-diamond", "letter-i-hexagon", "letter-i-octagon", "letter-i-square", "letter-i-waves", "letter-i", "letter-j-circle", "letter-j-diamond", "letter-j-hexagon", "letter-j-octagon", "letter-j-square", "letter-j-waves", "letter-j", "letter-k-circle", "letter-k-diamond", "letter-k-hexagon", "letter-k-octagon", "letter-k-square", "letter-k-waves", "letter-k", "letter-l-circle", "letter-l-diamond", "letter-l-hexagon", "letter-l-octagon", "letter-l-square", "letter-l-waves", "letter-l", "letter-m-circle", "letter-m-diamond", "letter-m-hexagon", "letter-m-octagon", "letter-m-square", "letter-m-waves", "letter-m", "letter-n-circle", "letter-n-diamond", "letter-n-hexagon", "letter-n-octagon", "letter-n-square", "letter-n-waves", "letter-n", "letter-o-circle", "letter-o-diamond", "letter-o-hexagon", "letter-o-octagon", "letter-o-square", "letter-o-waves", "letter-o", "letter-p-circle", "letter-p-diamond", "letter-p-hexagon", "letter-p-octagon", "letter-p-square", "letter-p-waves", "letter-p", "letter-q-circle", "letter-q-diamond", "letter-q-hexagon", "letter-q-octagon", "letter-q-square", "letter-q-waves", "letter-q", "letter-r-circle", "letter-r-diamond", "letter-r-hexagon", "letter-r-octagon", "letter-r-square", "letter-r-waves", "letter-r", "letter-s-circle", "letter-s-diamond", "letter-s-hexagon", "letter-s-octagon", "letter-s-square", "letter-s-waves", "letter-s", "letter-t-circle", "letter-t-diamond", "letter-t-hexagon", "letter-t-octagon", "letter-t-square", "letter-t-waves", "letter-t", "letter-u-circle", "letter-u-diamond", "letter-u-hexagon", "letter-u-octagon", "letter-u-square", "letter-u-waves", "letter-u", "letter-v-circle", "letter-v-diamond", "letter-v-hexagon", "letter-v-octagon", "letter-v-square", "letter-v-waves", "letter-v", "letter-w-circle", "letter-w-diamond", "letter-w-hexagon", "letter-w-octagon", "letter-w-square", "letter-w-waves", "letter-w", "letter-x-circle", "letter-x-diamond", "letter-x-hexagon", "letter-x-octagon", "letter-x-square", "letter-x-waves", "letter-x", "letter-y-circle", "letter-y-diamond", "letter-y-hexagon", "letter-y-octagon", "letter-y-square", "letter-y-waves", "letter-y", "letter-z-circle", "letter-z-diamond", "letter-z-hexagon", "letter-z-octagon", "letter-z-square", "letter-z-waves", "letter-z", "lightning-off", "lightning", "like", "line-chart-circle", "line-chart-diamond", "line-chart-hexagon", "line-chart-octagon", "line-chart-square", "line-chart-waves", "link-one", "link-two", "link", "list-check", "list-number", "list", "location-check", "location-home", "location-minus", "location-plus", "location-selected", "location-slash", "location-snooze", "location-user", "location-x", "location", "lock-circle", "lock-diamond", "lock-hexagon", "lock-keyhole", "lock-octagon", "lock-open-keyhole", "lock-open-password", "lock-open", "lock-password", "lock-square", "lock-waves", "lock", "login", "logout", "magnet", "male", "map", "mask", "math-square", "math", "maximize-one", "maximize", "menu", "message-check", "message-dots", "message-minus", "message-plus", "message-reply", "message-x", "message", "microphone-slash", "microphone", "minimize-one", "minimize", "minus-circle", "minus-diamond", "minus-hexagon", "minus-octagon", "minus-square", "minus-waves", "minus", "mobile-signal-five", "mobile-signal-four", "mobile-signal-one", "mobile-signal-three", "mobile-signal-two", "mobile", "moon-star", "moon", "mountain-snow", "mountain", "mouse-pointer", "move-diagonal-one", "move-diagonal", "move-horizontal", "move-vertical", "move", "music-circle", "music-diamond", "music-hexagon", "music-octagon", "music-square", "music-waves", "music", "myna", "navigation-one", "navigation", "nine-circle", "nine-diamond", "nine-hexagon", "nine-octagon", "nine-square", "nine-waves", "nine", "notification", "octagon", "one-circle", "one-diamond", "one-hexagon", "one-octagon", "one-square", "one-waves", "one", "option", "package", "paint", "panel-bottom-close", "panel-bottom-inactive", "panel-bottom-open", "panel-bottom", "panel-left-close", "panel-left-inactive", "panel-left-open", "panel-left", "panel-right-close", "panel-right-inactive", "panel-right-open", "panel-right", "panel-top-close", "panel-top-inactive", "panel-top-open", "panel-top", "paperclip", "parking", "password", "path", "pause-circle", "pause-diamond", "pause-hexagon", "pause-octagon", "pause-square", "pause-waves", "pause", "pen", "pencil", "percentage-circle", "percentage-diamond", "percentage-hexagon", "percentage-octagon", "percentage-square", "percentage-waves", "percentage", "pin", "pizza", "planet", "play-circle", "play-diamond", "play-hexagon", "play-octagon", "play-square", "play-waves", "play", "plus-circle", "plus-diamond", "plus-hexagon", "plus-octagon", "plus-square", "plus-waves", "plus", "pokeball", "power", "presentation", "printer", "puzzle", "question-circle", "question-diamond", "question-hexagon", "question-octagon", "question-square", "question-waves", "question", "radio", "rainbow", "reception-bell", "record", "rectangle-vertical", "rectangle", "redo", "refresh-alt", "refresh", "repeat", "rewind-circle", "rewind-diamond", "rewind-hexagon", "rewind-octagon", "rewind-square", "rewind-waves", "rewind", "rhombus", "ribbon", "rocket", "room-service", "rows", "rss", "ruler", "rupee-circle", "rupee-diamond", "rupee-hexagon", "rupee-octagon", "rupee-square", "rupee-waves", "rupee", "sad-circle", "sad-ghost", "sad-square", "save", "scan", "scissors", "sea-waves", "search-check", "search-circle", "search-diamond", "search-dot", "search-hexagon", "search-home", "search-minus", "search-octagon", "search-plus", "search-slash", "search-snooze", "search-square", "search-user", "search-waves", "search-x", "search", "select-multiple", "send", "servers", "seven-circle", "seven-diamond", "seven-hexagon", "seven-octagon", "seven-square", "seven-waves", "seven", "share", "shell", "shield-check", "shield-crossed", "shield-minus", "shield-one", "shield-plus", "shield-slash", "shield-two", "shield-x", "shield", "shooting-star", "shopping-bag", "shovel", "shrub", "shuffle-alt", "shuffle", "sidebar-alt", "sidebar", "signal-circle", "signal-diamond", "signal-hexagon", "signal-octagon", "signal-square", "signal-waves", "signal", "six-circle", "six-diamond", "six-hexagon", "six-octagon", "six-square", "six-waves", "six", "skip-back", "skip-forward", "slash-circle", "slash-diamond", "slash-hexagon", "slash-octagon", "slash-square", "slash-waves", "smile-circle", "smile-ghost", "smile-square", "snow", "snowflake", "sofa", "sort", "sparkles", "speaker", "spinner-one", "spinner", "sprout", "square-chart-gantt", "square-dashed-kanban", "square-dashed", "square-half", "square-kanban", "square", "star", "stop-circle", "stop-diamond", "stop-hexagon", "stop-octagon", "stop-square", "stop-waves", "stop", "store", "subtract", "sun-dim", "sun-medium", "sun-snow", "sun", "sunrise", "sunset", "support", "swatches", "table", "tablet", "tag-plus", "tag", "tally-five", "tally-four", "tally-one", "tally-three", "tally-two", "target", "telephone-call", "telephone-forward", "telephone-in", "telephone-missed", "telephone-out", "telephone-slash", "telephone", "tent-tree", "tent", "terminal", "text-align-center", "text-align-left", "text-align-right", "text-justify", "thermometer-snowflake", "thermometer-sun", "thermometer", "three-circle", "three-diamond", "three-hexagon", "three-octagon", "three-square", "three-waves", "three", "ticket-slash", "ticket", "toggle-left", "toggle-right", "tool", "tornado", "train", "trash-one", "trash-two", "trash", "tree-deciduous", "tree-palm", "tree-pine", "tree", "trees", "trending-down", "trending-up-down", "trending-up", "triangle", "truck", "tv", "two-circle", "two-diamond", "two-hexagon", "two-octagon", "two-square", "two-waves", "two", "type-bold", "type-italic", "type-text", "type-underline", "umbrella-off", "umbrella", "undo", "union", "unlink", "upload", "user-check", "user-circle", "user-diamond", "user-hexagon", "user-minus", "user-octagon", "user-plus", "user-settings", "user-square", "user-waves", "user-x", "user", "users-group", "users", "video-slash", "video", "volume-check", "volume-high", "volume-low", "volume-minus", "volume-none", "volume-plus", "volume-slash", "volume-x", "watch", "waves", "webcam", "wheel", "wheelchair", "wifi-check", "wifi-low", "wifi-medium", "wifi-minus", "wifi-plus", "wifi-slash", "wifi-x", "wifi", "wind-arrow-down", "wind", "winds", "wine", "wink-circle", "wink-ghost", "wink-square", "wrench", "x-circle", "x-diamond", "x-hexagon", "x-octagon", "x-square", "x-triangle", "x-waves", "x", "yen-circle", "yen-diamond", "yen-hexagon", "yen-octagon", "yen-square", "yen-waves", "yen", "zap-off", "zap", "zero-circle", "zero-diamond", "zero-hexagon", "zero-octagon", "zero-square", "zero-waves", "zero"];
|
|
24
41
|
type IconName = (typeof ICONS)[number];
|
|
25
42
|
|
|
@@ -34,6 +51,31 @@ declare const DEFAULT_ATTRIBUTE_ICONS: Record<string, IconName>;
|
|
|
34
51
|
*/
|
|
35
52
|
declare function getDefaultAttributeIcon(type: string): IconName;
|
|
36
53
|
|
|
54
|
+
/**
|
|
55
|
+
* Default icons for each detail-view tab type.
|
|
56
|
+
*
|
|
57
|
+
* Mirrors `DEFAULT_ATTRIBUTE_ICONS` deliberately, down to being keyed by plain
|
|
58
|
+
* string: `constants` does not depend on `schema`, so `TabType` cannot be named
|
|
59
|
+
* here. The contract is the same one attributes already have — a tab always has
|
|
60
|
+
* a glyph, whether or not anyone chose it.
|
|
61
|
+
*
|
|
62
|
+
* Each type gets its own mark. A shared placeholder would fill the bar without
|
|
63
|
+
* telling the reader anything, which is not what the empty half was missing.
|
|
64
|
+
*
|
|
65
|
+
* List-view pills are NOT routed through this map. They fall back by *layout*
|
|
66
|
+
* (`table` / `kanban`), which is a different vocabulary that happens to share
|
|
67
|
+
* one word with this one; folding both into a single string-keyed record would
|
|
68
|
+
* make `"table"` mean two things and quietly answer for either.
|
|
69
|
+
*/
|
|
70
|
+
declare const DEFAULT_TAB_ICONS: Record<string, IconName>;
|
|
71
|
+
/**
|
|
72
|
+
* Get the default icon for a tab type.
|
|
73
|
+
*
|
|
74
|
+
* @param type - The tab type
|
|
75
|
+
* @returns The icon name, or "circle" as fallback
|
|
76
|
+
*/
|
|
77
|
+
declare function getDefaultTabIcon(type: string): IconName;
|
|
78
|
+
|
|
37
79
|
/**
|
|
38
80
|
* Merge class names with Tailwind CSS classes.
|
|
39
81
|
* Uses clsx for conditional classes and tailwind-merge to handle conflicts.
|
|
@@ -1765,4 +1807,4 @@ type FormatPreset = {
|
|
|
1765
1807
|
};
|
|
1766
1808
|
declare const TEXT_FORMAT_PRESETS: readonly FormatPreset[];
|
|
1767
1809
|
|
|
1768
|
-
export { AI_CHAT_ACCEPTED_TYPES, AI_CHAT_MAX_FILES, AI_CHAT_MAX_FILE_SIZE, AI_CHAT_SUPPORTED_DOCUMENTS, AI_CHAT_SUPPORTED_IMAGES, AI_CHAT_SUPPORTED_MIME_TYPES, ALL_MIME_TYPES, ARCHIVES, ARCHIVE_MIME_TYPES, ARCHIVE_MIME_TYPES_ARRAY, AUDIO, AUDIO_MIME_TYPES, AUDIO_MIME_TYPES_ARRAY, type ArchiveMimeType, type AudioMimeType, BYTES, CODE, CODE_MIME_TYPES, CODE_MIME_TYPES_ARRAY, COLORS, COLOR_GROUPS, COUNTRIES, CURRENCIES, type CodeMimeType, type Color, type ColorBackground, type ColorBorder, type ColorGroup, type ColorGroupColors, type ColorIcon, type ColorId, type ColorText, type Country, type CountryIso2, type CountryIso3, type CountryName, type CountryNumericCode, type CountryPhoneCode, type Currency, type CurrencyCode, type CurrencyName, type CurrencySymbol, DEFAULT_ATTRIBUTE_ICONS, DEFAULT_TENANT_ID, DOCUMENTS, DOCUMENT_MIME_TYPES, DOCUMENT_MIME_TYPES_ARRAY, type DocumentMimeType, FILE_SIZE, FONTS, FONT_MIME_TYPES, FONT_MIME_TYPES_ARRAY, type FontMimeType, type FormatPreset, type FormatPresetGroup, GIGABYTES, ICONS, IMAGES, IMAGE_MIME_TYPES, IMAGE_MIME_TYPES_ARRAY, type IconName, type ImageMimeType, KILOBYTES, MEDIA, MEGABYTES, MEMORY_DESCRIPTION_MAX_LENGTH, MEMORY_NAME_MAX_LENGTH, type MimeType, OFFICE_DOCUMENTS, RECOMMENDED_MAX_SIZES, SKILL_DESCRIPTION_MAX_LENGTH, SKILL_NAME_MAX_LENGTH, STATUS_COLORS, type StatusColorGroup, TEXT_FORMAT_PRESETS, VIDEO, VIDEO_MIME_TYPES, VIDEO_MIME_TYPES_ARRAY, type VideoMimeType, WEB_IMAGES, bytesToGb, bytesToMb, cn, gbToBytes, getAllColors, getAllCountries, getAllCurrencies, getColor, getColorIds, getColorsByGroup, getCountryByIso2, getCountryByIso3, getCountryDisplayName, getCountryDisplayNameByIso3, getCurrency, getCurrencySymbol, getDefaultAttributeIcon, getPhoneMaxDigits, getPhoneTrunkPrefix, getSortedCountries, isArchiveMimeType, isAudioMimeType, isCodeMimeType, isDocumentMimeType, isImageMimeType, isValidColorId, isValidCurrencyCode, isValidIso2, isValidIso3, isVideoMimeType, isWithinSizeLimit, mbToBytes, stripTrunkPrefix };
|
|
1810
|
+
export { AI_CHAT_ACCEPTED_TYPES, AI_CHAT_MAX_FILES, AI_CHAT_MAX_FILE_SIZE, AI_CHAT_SUPPORTED_DOCUMENTS, AI_CHAT_SUPPORTED_IMAGES, AI_CHAT_SUPPORTED_MIME_TYPES, ALL_MIME_TYPES, ARCHIVES, ARCHIVE_MIME_TYPES, ARCHIVE_MIME_TYPES_ARRAY, AUDIO, AUDIO_MIME_TYPES, AUDIO_MIME_TYPES_ARRAY, type ArchiveMimeType, type AudioMimeType, BUILT_IN_AGENT_TOOL_GROUPS, BUILT_IN_AGENT_TOOL_NAMES, BYTES, CODE, CODE_MIME_TYPES, CODE_MIME_TYPES_ARRAY, COLORS, COLOR_GROUPS, COUNTRIES, CURRENCIES, type CodeMimeType, type Color, type ColorBackground, type ColorBorder, type ColorGroup, type ColorGroupColors, type ColorIcon, type ColorId, type ColorText, type Country, type CountryIso2, type CountryIso3, type CountryName, type CountryNumericCode, type CountryPhoneCode, type Currency, type CurrencyCode, type CurrencyName, type CurrencySymbol, DEFAULT_ATTRIBUTE_ICONS, DEFAULT_TAB_ICONS, DEFAULT_TENANT_ID, DOCUMENTS, DOCUMENT_MIME_TYPES, DOCUMENT_MIME_TYPES_ARRAY, type DocumentMimeType, FILE_SIZE, FONTS, FONT_MIME_TYPES, FONT_MIME_TYPES_ARRAY, type FontMimeType, type FormatPreset, type FormatPresetGroup, GIGABYTES, ICONS, IMAGES, IMAGE_MIME_TYPES, IMAGE_MIME_TYPES_ARRAY, type IconName, type ImageMimeType, KILOBYTES, MEDIA, MEGABYTES, MEMORY_DESCRIPTION_MAX_LENGTH, MEMORY_NAME_MAX_LENGTH, type MimeType, OFFICE_DOCUMENTS, RECOMMENDED_MAX_SIZES, SKILL_DESCRIPTION_MAX_LENGTH, SKILL_NAME_MAX_LENGTH, STATUS_COLORS, type StatusColorGroup, TEXT_FORMAT_PRESETS, VIDEO, VIDEO_MIME_TYPES, VIDEO_MIME_TYPES_ARRAY, type VideoMimeType, WEB_IMAGES, bytesToGb, bytesToMb, cn, gbToBytes, getAllColors, getAllCountries, getAllCurrencies, getColor, getColorIds, getColorsByGroup, getCountryByIso2, getCountryByIso3, getCountryDisplayName, getCountryDisplayNameByIso3, getCurrency, getCurrencySymbol, getDefaultAttributeIcon, getDefaultTabIcon, getPhoneMaxDigits, getPhoneTrunkPrefix, getSortedCountries, isArchiveMimeType, isAudioMimeType, isCodeMimeType, isDocumentMimeType, isImageMimeType, isValidColorId, isValidCurrencyCode, isValidIso2, isValidIso3, isVideoMimeType, isWithinSizeLimit, mbToBytes, stripTrunkPrefix };
|
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,23 @@ declare const AI_CHAT_MAX_FILE_SIZE: number;
|
|
|
20
20
|
/** Maximum number of file attachments per message */
|
|
21
21
|
declare const AI_CHAT_MAX_FILES = 5;
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Maximal built-in agent tool catalogue shared by runtime ownership tests and
|
|
25
|
+
* the UI rendering coverage guard. Optional tools still belong here: the map
|
|
26
|
+
* describes every native tool a fully wired runtime can expose.
|
|
27
|
+
*/
|
|
28
|
+
declare const BUILT_IN_AGENT_TOOL_GROUPS: {
|
|
29
|
+
readonly bulk: readonly ["bulk_create_records", "bulk_delete_records", "bulk_search", "bulk_update_records"];
|
|
30
|
+
readonly calendar: readonly ["get_calendar_event", "get_meeting_transcript", "search_calendar_events"];
|
|
31
|
+
readonly core: readonly ["archive_document", "ask_questions", "attach_file", "call_reflex", "create_folder", "create_record", "delete_record", "exec_command", "get_record", "get_schema", "get_skill", "global_search", "initialize_record_drive_structure", "list_record_drive", "list_workspace_users", "load_toolset", "read_document", "remove_file", "request_work_mode", "sandbox_get_file", "sandbox_upload_file", "sandbox_validate_payload", "search_records", "update_document", "update_record", "write_todos"];
|
|
32
|
+
readonly email: readonly ["download_email_attachments", "get_email", "get_email_thread", "search_emails"];
|
|
33
|
+
readonly memory: readonly ["get_memory", "save_memory", "search_memories"];
|
|
34
|
+
readonly orchestration: readonly ["message_agent", "spawn_agent"];
|
|
35
|
+
readonly schema: readonly ["add_planned_attributes", "add_planned_object", "add_sample_records", "discard_plan_draft", "get_default_view", "get_schema_history", "propose_schema_plan", "request_design_review", "search_icons", "set_planned_removals", "set_planned_view"];
|
|
36
|
+
readonly web: readonly ["read_webpage", "web_search"];
|
|
37
|
+
};
|
|
38
|
+
declare const BUILT_IN_AGENT_TOOL_NAMES: ("bulk_create_records" | "bulk_delete_records" | "bulk_search" | "bulk_update_records" | "get_calendar_event" | "get_meeting_transcript" | "search_calendar_events" | "archive_document" | "ask_questions" | "attach_file" | "call_reflex" | "create_folder" | "create_record" | "delete_record" | "exec_command" | "get_record" | "get_schema" | "get_skill" | "global_search" | "initialize_record_drive_structure" | "list_record_drive" | "list_workspace_users" | "load_toolset" | "read_document" | "remove_file" | "request_work_mode" | "sandbox_get_file" | "sandbox_upload_file" | "sandbox_validate_payload" | "search_records" | "update_document" | "update_record" | "write_todos" | "download_email_attachments" | "get_email" | "get_email_thread" | "search_emails" | "get_memory" | "save_memory" | "search_memories" | "message_agent" | "spawn_agent" | "add_planned_attributes" | "add_planned_object" | "add_sample_records" | "discard_plan_draft" | "get_default_view" | "get_schema_history" | "propose_schema_plan" | "request_design_review" | "search_icons" | "set_planned_removals" | "set_planned_view" | "read_webpage" | "web_search")[];
|
|
39
|
+
|
|
23
40
|
declare const ICONS: readonly ["a-arrow-down", "a-arrow-up", "academic-hat", "accessibility", "activity-square", "activity", "add-queue", "aeroplane", "air-conditioner", "airplay", "airpods", "alarm-check", "alarm-minus", "alarm-plus", "alarm-smoke", "alarm-snooze", "alarm-x", "alarm", "album", "align-bottom", "align-horizontal", "align-left", "align-right", "align-top", "align-vertical", "alt", "ambulance", "ampersand-square", "ampersand", "ampersands", "anchor", "angry-circle", "angry-ghost", "angry-square", "annoyed-circle", "annoyed-ghost", "annoyed-square", "aperture", "api", "ar", "archive", "arrow-diagonal-one", "arrow-diagonal-two", "arrow-down-circle", "arrow-down-left-circle", "arrow-down-left-square", "arrow-down-left-waves", "arrow-down-left", "arrow-down-right-circle", "arrow-down-right-square", "arrow-down-right-waves", "arrow-down-right", "arrow-down-square", "arrow-down-waves", "arrow-down", "arrow-left-circle", "arrow-left-right", "arrow-left-square", "arrow-left-waves", "arrow-left", "arrow-long-down-left", "arrow-long-down-right", "arrow-long-down", "arrow-long-left", "arrow-long-right", "arrow-long-up-left", "arrow-long-up-right", "arrow-long-up", "arrow-right-circle", "arrow-right-square", "arrow-right-waves", "arrow-right", "arrow-up-circle", "arrow-up-down", "arrow-up-left-circle", "arrow-up-left-square", "arrow-up-left-waves", "arrow-up-left", "arrow-up-right-circle", "arrow-up-right-square", "arrow-up-right-waves", "arrow-up-right", "arrow-up-square", "arrow-up-waves", "arrow-up", "asterisk-circle", "asterisk-diamond", "asterisk-hexagon", "asterisk-octagon", "asterisk-square", "asterisk-waves", "at", "atom", "baby", "backpack", "badge", "baggage-claim", "ban", "bank", "baseball", "bath", "battery-charging-four", "battery-charging-one", "battery-charging-three", "battery-charging-two", "battery-charging", "battery-check", "battery-empty", "battery-full", "battery-minus", "battery-plus", "battery-x", "bell-check", "bell-home", "bell-minus", "bell-on", "bell-plus", "bell-slash", "bell-snooze", "bell-user", "bell-x", "bell", "binoculars", "bitcoin-circle", "bitcoin-diamond", "bitcoin-hexagon", "bitcoin-octagon", "bitcoin-square", "bitcoin-waves", "bitcoin", "bluetooth", "boat", "book-check", "book-dot", "book-home", "book-image", "book-minus", "book-open", "book-plus", "book-slash", "book-snooze", "book-user", "book-x", "book", "bookmark-check", "bookmark-dot", "bookmark-home", "bookmark-minus", "bookmark-plus", "bookmark-slash", "bookmark-snooze", "bookmark-user", "bookmark-x", "bookmark", "bounding-box", "bowl", "box", "brand-chrome", "brand-codepen", "brand-codesandbox", "brand-dribbble", "brand-facebook", "brand-figma", "brand-framer", "brand-github", "brand-gitlab", "brand-google", "brand-instagram", "brand-linkedin", "brand-pinterest", "brand-pocket", "brand-slack", "brand-spotify", "brand-telegram", "brand-threads", "brand-trello", "brand-twitch", "brand-twitter", "brand-x", "brand-youtube", "briefcase-conveyor-belt", "briefcase", "brightness-high", "brightness-low", "bubbles", "building-one", "building", "cable-car", "cake", "calendar-check", "calendar-down", "calendar-minus", "calendar-plus", "calendar-slash", "calendar-up", "calendar-x", "calendar", "camera-slash", "camera", "campfire", "cannabis", "caravan", "cart-check", "cart-minus", "cart-plus", "cart-x", "cart", "cast-screen", "center-focus", "chart-area", "chart-bar-big", "chart-bar-decreasing", "chart-bar-increasing", "chart-bar-one", "chart-bar-stacked", "chart-bar", "chart-bubble", "chart-candlestick", "chart-column-big", "chart-column-decreasing", "chart-column-increasing", "chart-column-stacked", "chart-column", "chart-gantt", "chart-graph", "chart-line", "chart-network", "chart-no-axes-column-decreasing", "chart-no-axes-column-increasing", "chart-no-axes-column", "chart-no-axes-combined", "chart-no-axes-gantt", "chart-pie-one", "chart-pie-two", "chart-pie", "chart-scatter", "chart-spline", "chat-check", "chat-dots", "chat-messages", "chat-minus", "chat-plus", "chat-x", "chat", "check-circle-one", "check-circle", "check-diamond", "check-hexagon", "check-octagon", "check-square-one", "check-square", "check-waves", "check", "chevron-double-down-left", "chevron-double-down-right", "chevron-double-down", "chevron-double-left", "chevron-double-right", "chevron-double-up-left", "chevron-double-up-right", "chevron-double-up", "chevron-down-circle", "chevron-down-left-circle", "chevron-down-left-square", "chevron-down-left-waves", "chevron-down-left", "chevron-down-right-circle", "chevron-down-right-square", "chevron-down-right-waves", "chevron-down-right", "chevron-down-square", "chevron-down-waves", "chevron-down", "chevron-left-circle", "chevron-left-square", "chevron-left-waves", "chevron-left", "chevron-right-circle", "chevron-right-square", "chevron-right-waves", "chevron-right", "chevron-up-circle", "chevron-up-down", "chevron-up-left-circle", "chevron-up-left-square", "chevron-up-left-waves", "chevron-up-left", "chevron-up-right-circle", "chevron-up-right-square", "chevron-up-right-waves", "chevron-up-right", "chevron-up-square", "chevron-up-waves", "chevron-up", "chip", "cigarette-off", "cigarette", "circle-dashed", "circle-half-circle", "circle-half", "circle-notch", "circle", "click", "clipboard", "clock-circle", "clock-diamond", "clock-eight", "clock-eleven", "clock-five", "clock-four", "clock-hand", "clock-hexagon", "clock-nine", "clock-octagon", "clock-one", "clock-seven", "clock-six", "clock-square", "clock-ten", "clock-three", "clock-twelve", "clock-two", "clock-waves", "cloud-download", "cloud-drizzle", "cloud-fog", "cloud-hail", "cloud-lightning", "cloud-moon-rain", "cloud-moon", "cloud-off", "cloud-rain-wind", "cloud-rain", "cloud-snow", "cloud-sun-rain", "cloud-sun", "cloud-upload", "cloud", "cloudy", "cocktail", "code-circle", "code-diamond", "code-hexagon", "code-octagon", "code-square", "code-waves", "code", "coffee", "cog-four", "cog-one", "cog-three", "cog-two", "cog", "columns", "command", "compass", "components", "confetti", "config-vertical", "config", "contactless-circle", "contactless", "controller", "cookie", "copy", "copyleft", "copyright-slash", "copyright", "corner-down-left", "corner-down-right", "corner-left-down", "corner-left-up", "corner-right-down", "corner-right-up", "corner-up-left", "corner-up-right", "credit-card-check", "credit-card-minus", "credit-card-plus", "credit-card-x", "credit-card", "croissant", "crop", "crosshair", "cupcake", "danger-circle", "danger-diamond", "danger-hexagon", "danger-octagon", "danger-square", "danger-triangle", "danger-waves", "danger", "database", "daze-circle", "daze-ghost", "daze-square", "delete", "desktop", "diamond", "dice-five", "dice-four", "dice-one", "dice-six", "dice-three", "dice-two", "dislike", "divide", "dollar-circle", "dollar-diamond", "dollar-hexagon", "dollar-octagon", "dollar-square", "dollar-waves", "dollar", "door-closed-locked", "door-closed", "door-open", "dots-circle", "dots-diamond", "dots-hexagon", "dots-octagon", "dots-square", "dots-vertical-circle", "dots-vertical-diamond", "dots-vertical-hexagon", "dots-vertical-octagon", "dots-vertical-square", "dots-vertical-waves", "dots-vertical", "dots-waves", "dots", "download", "drop", "droplet-off", "droplet", "droplets", "ear-slash", "ear", "earth", "eclipse", "edit-one", "edit", "egg", "eight-circle", "eight-diamond", "eight-hexagon", "eight-octagon", "eight-square", "eight-waves", "eight", "elevator", "envelope-open", "envelope", "euro-circle", "euro-diamond", "euro-hexagon", "euro-octagon", "euro-square", "euro-waves", "euro", "exclude", "external-link", "eye-slash", "eye", "face-id", "fat-arrow-down-left", "fat-arrow-down-right", "fat-arrow-down", "fat-arrow-left", "fat-arrow-right", "fat-arrow-up-left", "fat-arrow-up-right", "fat-arrow-up", "fat-corner-down-left", "fat-corner-down-right", "fat-corner-left-down", "fat-corner-left-up", "fat-corner-right-down", "fat-corner-right-up", "fat-corner-up-left", "fat-corner-up-right", "female", "file-check", "file-minus", "file-plus", "file-text", "file-x", "file", "film", "filter-one", "filter", "fine-tune", "fire", "five-circle", "five-diamond", "five-hexagon", "five-octagon", "five-square", "five-waves", "five", "flag-one", "flag", "flame-kindling", "flame", "flask", "flower-2", "flower", "folder-check", "folder-heart", "folder-kanban", "folder-minus", "folder-one", "folder-plus", "folder-slash", "folder-two", "folder-x", "folder", "forward-circle", "forward-diamond", "forward-hexagon", "forward-octagon", "forward-square", "forward-waves", "forward", "four-circle", "four-diamond", "four-hexagon", "four-octagon", "four-square", "four-waves", "four", "frame", "funny-circle", "funny-ghost", "funny-square", "gift", "git-branch", "git-circle", "git-commit", "git-diamond", "git-diff", "git-hexagon", "git-merge", "git-octagon", "git-pull-request", "git-square", "git-waves", "glasses", "globe", "grid-one", "grid", "hand", "hard-drive", "hash-circle", "hash-diamond", "hash-hexagon", "hash-octagon", "hash-square", "hash-waves", "hash", "haze", "heading-five", "heading-four", "heading-one", "heading-six", "heading-three", "heading-two", "heading", "headphones", "heart-broken", "heart-check", "heart-circle", "heart-diamond", "heart-dot", "heart-hexagon", "heart-home", "heart-minus", "heart-octagon", "heart-plus", "heart-slash", "heart-snooze", "heart-square", "heart-user", "heart-waves", "heart-x", "heart", "hexagon", "home-check", "home-minus", "home-plus", "home-smile", "home-x", "home", "image-circle", "image-rectangle", "image", "inbox-archive", "inbox-check", "inbox-down", "inbox-minus", "inbox-plus", "inbox-up", "inbox-x", "inbox", "incognito", "indifferent-circle", "indifferent-ghost", "indifferent-square", "infinity", "info-circle", "info-diamond", "info-hexagon", "info-octagon", "info-square", "info-triangle", "info-waves", "info", "intersect", "kanban", "key", "keyboard-brightness-high", "keyboard-brightness-low", "keyboard", "label", "lamp", "layers-one", "layers-three", "layers-two", "layout", "leaf", "leaves", "letter-a-circle", "letter-a-diamond", "letter-a-hexagon", "letter-a-octagon", "letter-a-square", "letter-a-waves", "letter-a", "letter-b-circle", "letter-b-diamond", "letter-b-hexagon", "letter-b-octagon", "letter-b-square", "letter-b-waves", "letter-b", "letter-c-circle", "letter-c-diamond", "letter-c-hexagon", "letter-c-octagon", "letter-c-square", "letter-c-waves", "letter-c", "letter-d-circle", "letter-d-diamond", "letter-d-hexagon", "letter-d-octagon", "letter-d-square", "letter-d-waves", "letter-d", "letter-e-circle", "letter-e-diamond", "letter-e-hexagon", "letter-e-octagon", "letter-e-square", "letter-e-waves", "letter-e", "letter-f-circle", "letter-f-diamond", "letter-f-hexagon", "letter-f-octagon", "letter-f-square", "letter-f-waves", "letter-f", "letter-g-circle", "letter-g-diamond", "letter-g-hexagon", "letter-g-octagon", "letter-g-square", "letter-g-waves", "letter-g", "letter-h-circle", "letter-h-diamond", "letter-h-hexagon", "letter-h-octagon", "letter-h-square", "letter-h-waves", "letter-h", "letter-i-circle", "letter-i-diamond", "letter-i-hexagon", "letter-i-octagon", "letter-i-square", "letter-i-waves", "letter-i", "letter-j-circle", "letter-j-diamond", "letter-j-hexagon", "letter-j-octagon", "letter-j-square", "letter-j-waves", "letter-j", "letter-k-circle", "letter-k-diamond", "letter-k-hexagon", "letter-k-octagon", "letter-k-square", "letter-k-waves", "letter-k", "letter-l-circle", "letter-l-diamond", "letter-l-hexagon", "letter-l-octagon", "letter-l-square", "letter-l-waves", "letter-l", "letter-m-circle", "letter-m-diamond", "letter-m-hexagon", "letter-m-octagon", "letter-m-square", "letter-m-waves", "letter-m", "letter-n-circle", "letter-n-diamond", "letter-n-hexagon", "letter-n-octagon", "letter-n-square", "letter-n-waves", "letter-n", "letter-o-circle", "letter-o-diamond", "letter-o-hexagon", "letter-o-octagon", "letter-o-square", "letter-o-waves", "letter-o", "letter-p-circle", "letter-p-diamond", "letter-p-hexagon", "letter-p-octagon", "letter-p-square", "letter-p-waves", "letter-p", "letter-q-circle", "letter-q-diamond", "letter-q-hexagon", "letter-q-octagon", "letter-q-square", "letter-q-waves", "letter-q", "letter-r-circle", "letter-r-diamond", "letter-r-hexagon", "letter-r-octagon", "letter-r-square", "letter-r-waves", "letter-r", "letter-s-circle", "letter-s-diamond", "letter-s-hexagon", "letter-s-octagon", "letter-s-square", "letter-s-waves", "letter-s", "letter-t-circle", "letter-t-diamond", "letter-t-hexagon", "letter-t-octagon", "letter-t-square", "letter-t-waves", "letter-t", "letter-u-circle", "letter-u-diamond", "letter-u-hexagon", "letter-u-octagon", "letter-u-square", "letter-u-waves", "letter-u", "letter-v-circle", "letter-v-diamond", "letter-v-hexagon", "letter-v-octagon", "letter-v-square", "letter-v-waves", "letter-v", "letter-w-circle", "letter-w-diamond", "letter-w-hexagon", "letter-w-octagon", "letter-w-square", "letter-w-waves", "letter-w", "letter-x-circle", "letter-x-diamond", "letter-x-hexagon", "letter-x-octagon", "letter-x-square", "letter-x-waves", "letter-x", "letter-y-circle", "letter-y-diamond", "letter-y-hexagon", "letter-y-octagon", "letter-y-square", "letter-y-waves", "letter-y", "letter-z-circle", "letter-z-diamond", "letter-z-hexagon", "letter-z-octagon", "letter-z-square", "letter-z-waves", "letter-z", "lightning-off", "lightning", "like", "line-chart-circle", "line-chart-diamond", "line-chart-hexagon", "line-chart-octagon", "line-chart-square", "line-chart-waves", "link-one", "link-two", "link", "list-check", "list-number", "list", "location-check", "location-home", "location-minus", "location-plus", "location-selected", "location-slash", "location-snooze", "location-user", "location-x", "location", "lock-circle", "lock-diamond", "lock-hexagon", "lock-keyhole", "lock-octagon", "lock-open-keyhole", "lock-open-password", "lock-open", "lock-password", "lock-square", "lock-waves", "lock", "login", "logout", "magnet", "male", "map", "mask", "math-square", "math", "maximize-one", "maximize", "menu", "message-check", "message-dots", "message-minus", "message-plus", "message-reply", "message-x", "message", "microphone-slash", "microphone", "minimize-one", "minimize", "minus-circle", "minus-diamond", "minus-hexagon", "minus-octagon", "minus-square", "minus-waves", "minus", "mobile-signal-five", "mobile-signal-four", "mobile-signal-one", "mobile-signal-three", "mobile-signal-two", "mobile", "moon-star", "moon", "mountain-snow", "mountain", "mouse-pointer", "move-diagonal-one", "move-diagonal", "move-horizontal", "move-vertical", "move", "music-circle", "music-diamond", "music-hexagon", "music-octagon", "music-square", "music-waves", "music", "myna", "navigation-one", "navigation", "nine-circle", "nine-diamond", "nine-hexagon", "nine-octagon", "nine-square", "nine-waves", "nine", "notification", "octagon", "one-circle", "one-diamond", "one-hexagon", "one-octagon", "one-square", "one-waves", "one", "option", "package", "paint", "panel-bottom-close", "panel-bottom-inactive", "panel-bottom-open", "panel-bottom", "panel-left-close", "panel-left-inactive", "panel-left-open", "panel-left", "panel-right-close", "panel-right-inactive", "panel-right-open", "panel-right", "panel-top-close", "panel-top-inactive", "panel-top-open", "panel-top", "paperclip", "parking", "password", "path", "pause-circle", "pause-diamond", "pause-hexagon", "pause-octagon", "pause-square", "pause-waves", "pause", "pen", "pencil", "percentage-circle", "percentage-diamond", "percentage-hexagon", "percentage-octagon", "percentage-square", "percentage-waves", "percentage", "pin", "pizza", "planet", "play-circle", "play-diamond", "play-hexagon", "play-octagon", "play-square", "play-waves", "play", "plus-circle", "plus-diamond", "plus-hexagon", "plus-octagon", "plus-square", "plus-waves", "plus", "pokeball", "power", "presentation", "printer", "puzzle", "question-circle", "question-diamond", "question-hexagon", "question-octagon", "question-square", "question-waves", "question", "radio", "rainbow", "reception-bell", "record", "rectangle-vertical", "rectangle", "redo", "refresh-alt", "refresh", "repeat", "rewind-circle", "rewind-diamond", "rewind-hexagon", "rewind-octagon", "rewind-square", "rewind-waves", "rewind", "rhombus", "ribbon", "rocket", "room-service", "rows", "rss", "ruler", "rupee-circle", "rupee-diamond", "rupee-hexagon", "rupee-octagon", "rupee-square", "rupee-waves", "rupee", "sad-circle", "sad-ghost", "sad-square", "save", "scan", "scissors", "sea-waves", "search-check", "search-circle", "search-diamond", "search-dot", "search-hexagon", "search-home", "search-minus", "search-octagon", "search-plus", "search-slash", "search-snooze", "search-square", "search-user", "search-waves", "search-x", "search", "select-multiple", "send", "servers", "seven-circle", "seven-diamond", "seven-hexagon", "seven-octagon", "seven-square", "seven-waves", "seven", "share", "shell", "shield-check", "shield-crossed", "shield-minus", "shield-one", "shield-plus", "shield-slash", "shield-two", "shield-x", "shield", "shooting-star", "shopping-bag", "shovel", "shrub", "shuffle-alt", "shuffle", "sidebar-alt", "sidebar", "signal-circle", "signal-diamond", "signal-hexagon", "signal-octagon", "signal-square", "signal-waves", "signal", "six-circle", "six-diamond", "six-hexagon", "six-octagon", "six-square", "six-waves", "six", "skip-back", "skip-forward", "slash-circle", "slash-diamond", "slash-hexagon", "slash-octagon", "slash-square", "slash-waves", "smile-circle", "smile-ghost", "smile-square", "snow", "snowflake", "sofa", "sort", "sparkles", "speaker", "spinner-one", "spinner", "sprout", "square-chart-gantt", "square-dashed-kanban", "square-dashed", "square-half", "square-kanban", "square", "star", "stop-circle", "stop-diamond", "stop-hexagon", "stop-octagon", "stop-square", "stop-waves", "stop", "store", "subtract", "sun-dim", "sun-medium", "sun-snow", "sun", "sunrise", "sunset", "support", "swatches", "table", "tablet", "tag-plus", "tag", "tally-five", "tally-four", "tally-one", "tally-three", "tally-two", "target", "telephone-call", "telephone-forward", "telephone-in", "telephone-missed", "telephone-out", "telephone-slash", "telephone", "tent-tree", "tent", "terminal", "text-align-center", "text-align-left", "text-align-right", "text-justify", "thermometer-snowflake", "thermometer-sun", "thermometer", "three-circle", "three-diamond", "three-hexagon", "three-octagon", "three-square", "three-waves", "three", "ticket-slash", "ticket", "toggle-left", "toggle-right", "tool", "tornado", "train", "trash-one", "trash-two", "trash", "tree-deciduous", "tree-palm", "tree-pine", "tree", "trees", "trending-down", "trending-up-down", "trending-up", "triangle", "truck", "tv", "two-circle", "two-diamond", "two-hexagon", "two-octagon", "two-square", "two-waves", "two", "type-bold", "type-italic", "type-text", "type-underline", "umbrella-off", "umbrella", "undo", "union", "unlink", "upload", "user-check", "user-circle", "user-diamond", "user-hexagon", "user-minus", "user-octagon", "user-plus", "user-settings", "user-square", "user-waves", "user-x", "user", "users-group", "users", "video-slash", "video", "volume-check", "volume-high", "volume-low", "volume-minus", "volume-none", "volume-plus", "volume-slash", "volume-x", "watch", "waves", "webcam", "wheel", "wheelchair", "wifi-check", "wifi-low", "wifi-medium", "wifi-minus", "wifi-plus", "wifi-slash", "wifi-x", "wifi", "wind-arrow-down", "wind", "winds", "wine", "wink-circle", "wink-ghost", "wink-square", "wrench", "x-circle", "x-diamond", "x-hexagon", "x-octagon", "x-square", "x-triangle", "x-waves", "x", "yen-circle", "yen-diamond", "yen-hexagon", "yen-octagon", "yen-square", "yen-waves", "yen", "zap-off", "zap", "zero-circle", "zero-diamond", "zero-hexagon", "zero-octagon", "zero-square", "zero-waves", "zero"];
|
|
24
41
|
type IconName = (typeof ICONS)[number];
|
|
25
42
|
|
|
@@ -34,6 +51,31 @@ declare const DEFAULT_ATTRIBUTE_ICONS: Record<string, IconName>;
|
|
|
34
51
|
*/
|
|
35
52
|
declare function getDefaultAttributeIcon(type: string): IconName;
|
|
36
53
|
|
|
54
|
+
/**
|
|
55
|
+
* Default icons for each detail-view tab type.
|
|
56
|
+
*
|
|
57
|
+
* Mirrors `DEFAULT_ATTRIBUTE_ICONS` deliberately, down to being keyed by plain
|
|
58
|
+
* string: `constants` does not depend on `schema`, so `TabType` cannot be named
|
|
59
|
+
* here. The contract is the same one attributes already have — a tab always has
|
|
60
|
+
* a glyph, whether or not anyone chose it.
|
|
61
|
+
*
|
|
62
|
+
* Each type gets its own mark. A shared placeholder would fill the bar without
|
|
63
|
+
* telling the reader anything, which is not what the empty half was missing.
|
|
64
|
+
*
|
|
65
|
+
* List-view pills are NOT routed through this map. They fall back by *layout*
|
|
66
|
+
* (`table` / `kanban`), which is a different vocabulary that happens to share
|
|
67
|
+
* one word with this one; folding both into a single string-keyed record would
|
|
68
|
+
* make `"table"` mean two things and quietly answer for either.
|
|
69
|
+
*/
|
|
70
|
+
declare const DEFAULT_TAB_ICONS: Record<string, IconName>;
|
|
71
|
+
/**
|
|
72
|
+
* Get the default icon for a tab type.
|
|
73
|
+
*
|
|
74
|
+
* @param type - The tab type
|
|
75
|
+
* @returns The icon name, or "circle" as fallback
|
|
76
|
+
*/
|
|
77
|
+
declare function getDefaultTabIcon(type: string): IconName;
|
|
78
|
+
|
|
37
79
|
/**
|
|
38
80
|
* Merge class names with Tailwind CSS classes.
|
|
39
81
|
* Uses clsx for conditional classes and tailwind-merge to handle conflicts.
|
|
@@ -1765,4 +1807,4 @@ type FormatPreset = {
|
|
|
1765
1807
|
};
|
|
1766
1808
|
declare const TEXT_FORMAT_PRESETS: readonly FormatPreset[];
|
|
1767
1809
|
|
|
1768
|
-
export { AI_CHAT_ACCEPTED_TYPES, AI_CHAT_MAX_FILES, AI_CHAT_MAX_FILE_SIZE, AI_CHAT_SUPPORTED_DOCUMENTS, AI_CHAT_SUPPORTED_IMAGES, AI_CHAT_SUPPORTED_MIME_TYPES, ALL_MIME_TYPES, ARCHIVES, ARCHIVE_MIME_TYPES, ARCHIVE_MIME_TYPES_ARRAY, AUDIO, AUDIO_MIME_TYPES, AUDIO_MIME_TYPES_ARRAY, type ArchiveMimeType, type AudioMimeType, BYTES, CODE, CODE_MIME_TYPES, CODE_MIME_TYPES_ARRAY, COLORS, COLOR_GROUPS, COUNTRIES, CURRENCIES, type CodeMimeType, type Color, type ColorBackground, type ColorBorder, type ColorGroup, type ColorGroupColors, type ColorIcon, type ColorId, type ColorText, type Country, type CountryIso2, type CountryIso3, type CountryName, type CountryNumericCode, type CountryPhoneCode, type Currency, type CurrencyCode, type CurrencyName, type CurrencySymbol, DEFAULT_ATTRIBUTE_ICONS, DEFAULT_TENANT_ID, DOCUMENTS, DOCUMENT_MIME_TYPES, DOCUMENT_MIME_TYPES_ARRAY, type DocumentMimeType, FILE_SIZE, FONTS, FONT_MIME_TYPES, FONT_MIME_TYPES_ARRAY, type FontMimeType, type FormatPreset, type FormatPresetGroup, GIGABYTES, ICONS, IMAGES, IMAGE_MIME_TYPES, IMAGE_MIME_TYPES_ARRAY, type IconName, type ImageMimeType, KILOBYTES, MEDIA, MEGABYTES, MEMORY_DESCRIPTION_MAX_LENGTH, MEMORY_NAME_MAX_LENGTH, type MimeType, OFFICE_DOCUMENTS, RECOMMENDED_MAX_SIZES, SKILL_DESCRIPTION_MAX_LENGTH, SKILL_NAME_MAX_LENGTH, STATUS_COLORS, type StatusColorGroup, TEXT_FORMAT_PRESETS, VIDEO, VIDEO_MIME_TYPES, VIDEO_MIME_TYPES_ARRAY, type VideoMimeType, WEB_IMAGES, bytesToGb, bytesToMb, cn, gbToBytes, getAllColors, getAllCountries, getAllCurrencies, getColor, getColorIds, getColorsByGroup, getCountryByIso2, getCountryByIso3, getCountryDisplayName, getCountryDisplayNameByIso3, getCurrency, getCurrencySymbol, getDefaultAttributeIcon, getPhoneMaxDigits, getPhoneTrunkPrefix, getSortedCountries, isArchiveMimeType, isAudioMimeType, isCodeMimeType, isDocumentMimeType, isImageMimeType, isValidColorId, isValidCurrencyCode, isValidIso2, isValidIso3, isVideoMimeType, isWithinSizeLimit, mbToBytes, stripTrunkPrefix };
|
|
1810
|
+
export { AI_CHAT_ACCEPTED_TYPES, AI_CHAT_MAX_FILES, AI_CHAT_MAX_FILE_SIZE, AI_CHAT_SUPPORTED_DOCUMENTS, AI_CHAT_SUPPORTED_IMAGES, AI_CHAT_SUPPORTED_MIME_TYPES, ALL_MIME_TYPES, ARCHIVES, ARCHIVE_MIME_TYPES, ARCHIVE_MIME_TYPES_ARRAY, AUDIO, AUDIO_MIME_TYPES, AUDIO_MIME_TYPES_ARRAY, type ArchiveMimeType, type AudioMimeType, BUILT_IN_AGENT_TOOL_GROUPS, BUILT_IN_AGENT_TOOL_NAMES, BYTES, CODE, CODE_MIME_TYPES, CODE_MIME_TYPES_ARRAY, COLORS, COLOR_GROUPS, COUNTRIES, CURRENCIES, type CodeMimeType, type Color, type ColorBackground, type ColorBorder, type ColorGroup, type ColorGroupColors, type ColorIcon, type ColorId, type ColorText, type Country, type CountryIso2, type CountryIso3, type CountryName, type CountryNumericCode, type CountryPhoneCode, type Currency, type CurrencyCode, type CurrencyName, type CurrencySymbol, DEFAULT_ATTRIBUTE_ICONS, DEFAULT_TAB_ICONS, DEFAULT_TENANT_ID, DOCUMENTS, DOCUMENT_MIME_TYPES, DOCUMENT_MIME_TYPES_ARRAY, type DocumentMimeType, FILE_SIZE, FONTS, FONT_MIME_TYPES, FONT_MIME_TYPES_ARRAY, type FontMimeType, type FormatPreset, type FormatPresetGroup, GIGABYTES, ICONS, IMAGES, IMAGE_MIME_TYPES, IMAGE_MIME_TYPES_ARRAY, type IconName, type ImageMimeType, KILOBYTES, MEDIA, MEGABYTES, MEMORY_DESCRIPTION_MAX_LENGTH, MEMORY_NAME_MAX_LENGTH, type MimeType, OFFICE_DOCUMENTS, RECOMMENDED_MAX_SIZES, SKILL_DESCRIPTION_MAX_LENGTH, SKILL_NAME_MAX_LENGTH, STATUS_COLORS, type StatusColorGroup, TEXT_FORMAT_PRESETS, VIDEO, VIDEO_MIME_TYPES, VIDEO_MIME_TYPES_ARRAY, type VideoMimeType, WEB_IMAGES, bytesToGb, bytesToMb, cn, gbToBytes, getAllColors, getAllCountries, getAllCurrencies, getColor, getColorIds, getColorsByGroup, getCountryByIso2, getCountryByIso3, getCountryDisplayName, getCountryDisplayNameByIso3, getCurrency, getCurrencySymbol, getDefaultAttributeIcon, getDefaultTabIcon, getPhoneMaxDigits, getPhoneTrunkPrefix, getSortedCountries, isArchiveMimeType, isAudioMimeType, isCodeMimeType, isDocumentMimeType, isImageMimeType, isValidColorId, isValidCurrencyCode, isValidIso2, isValidIso3, isVideoMimeType, isWithinSizeLimit, mbToBytes, stripTrunkPrefix };
|
package/dist/index.js
CHANGED
|
@@ -33,6 +33,8 @@ __export(index_exports, {
|
|
|
33
33
|
AUDIO: () => AUDIO,
|
|
34
34
|
AUDIO_MIME_TYPES: () => AUDIO_MIME_TYPES,
|
|
35
35
|
AUDIO_MIME_TYPES_ARRAY: () => AUDIO_MIME_TYPES_ARRAY,
|
|
36
|
+
BUILT_IN_AGENT_TOOL_GROUPS: () => BUILT_IN_AGENT_TOOL_GROUPS,
|
|
37
|
+
BUILT_IN_AGENT_TOOL_NAMES: () => BUILT_IN_AGENT_TOOL_NAMES,
|
|
36
38
|
BYTES: () => BYTES,
|
|
37
39
|
CODE: () => CODE,
|
|
38
40
|
CODE_MIME_TYPES: () => CODE_MIME_TYPES,
|
|
@@ -42,6 +44,7 @@ __export(index_exports, {
|
|
|
42
44
|
COUNTRIES: () => COUNTRIES,
|
|
43
45
|
CURRENCIES: () => CURRENCIES,
|
|
44
46
|
DEFAULT_ATTRIBUTE_ICONS: () => DEFAULT_ATTRIBUTE_ICONS,
|
|
47
|
+
DEFAULT_TAB_ICONS: () => DEFAULT_TAB_ICONS,
|
|
45
48
|
DEFAULT_TENANT_ID: () => DEFAULT_TENANT_ID,
|
|
46
49
|
DOCUMENTS: () => DOCUMENTS,
|
|
47
50
|
DOCUMENT_MIME_TYPES: () => DOCUMENT_MIME_TYPES,
|
|
@@ -87,6 +90,7 @@ __export(index_exports, {
|
|
|
87
90
|
getCurrency: () => getCurrency,
|
|
88
91
|
getCurrencySymbol: () => getCurrencySymbol,
|
|
89
92
|
getDefaultAttributeIcon: () => getDefaultAttributeIcon,
|
|
93
|
+
getDefaultTabIcon: () => getDefaultTabIcon,
|
|
90
94
|
getPhoneMaxDigits: () => getPhoneMaxDigits,
|
|
91
95
|
getPhoneTrunkPrefix: () => getPhoneTrunkPrefix,
|
|
92
96
|
getSortedCountries: () => getSortedCountries,
|
|
@@ -266,6 +270,58 @@ var AI_CHAT_ACCEPTED_TYPES = AI_CHAT_SUPPORTED_MIME_TYPES.join(",");
|
|
|
266
270
|
var AI_CHAT_MAX_FILE_SIZE = 50 * 1024 * 1024;
|
|
267
271
|
var AI_CHAT_MAX_FILES = 5;
|
|
268
272
|
|
|
273
|
+
// src/agentTools.ts
|
|
274
|
+
var BUILT_IN_AGENT_TOOL_GROUPS = {
|
|
275
|
+
bulk: ["bulk_create_records", "bulk_delete_records", "bulk_search", "bulk_update_records"],
|
|
276
|
+
calendar: ["get_calendar_event", "get_meeting_transcript", "search_calendar_events"],
|
|
277
|
+
core: [
|
|
278
|
+
"archive_document",
|
|
279
|
+
"ask_questions",
|
|
280
|
+
"attach_file",
|
|
281
|
+
"call_reflex",
|
|
282
|
+
"create_folder",
|
|
283
|
+
"create_record",
|
|
284
|
+
"delete_record",
|
|
285
|
+
"exec_command",
|
|
286
|
+
"get_record",
|
|
287
|
+
"get_schema",
|
|
288
|
+
"get_skill",
|
|
289
|
+
"global_search",
|
|
290
|
+
"initialize_record_drive_structure",
|
|
291
|
+
"list_record_drive",
|
|
292
|
+
"list_workspace_users",
|
|
293
|
+
"load_toolset",
|
|
294
|
+
"read_document",
|
|
295
|
+
"remove_file",
|
|
296
|
+
"request_work_mode",
|
|
297
|
+
"sandbox_get_file",
|
|
298
|
+
"sandbox_upload_file",
|
|
299
|
+
"sandbox_validate_payload",
|
|
300
|
+
"search_records",
|
|
301
|
+
"update_document",
|
|
302
|
+
"update_record",
|
|
303
|
+
"write_todos"
|
|
304
|
+
],
|
|
305
|
+
email: ["download_email_attachments", "get_email", "get_email_thread", "search_emails"],
|
|
306
|
+
memory: ["get_memory", "save_memory", "search_memories"],
|
|
307
|
+
orchestration: ["message_agent", "spawn_agent"],
|
|
308
|
+
schema: [
|
|
309
|
+
"add_planned_attributes",
|
|
310
|
+
"add_planned_object",
|
|
311
|
+
"add_sample_records",
|
|
312
|
+
"discard_plan_draft",
|
|
313
|
+
"get_default_view",
|
|
314
|
+
"get_schema_history",
|
|
315
|
+
"propose_schema_plan",
|
|
316
|
+
"request_design_review",
|
|
317
|
+
"search_icons",
|
|
318
|
+
"set_planned_removals",
|
|
319
|
+
"set_planned_view"
|
|
320
|
+
],
|
|
321
|
+
web: ["read_webpage", "web_search"]
|
|
322
|
+
};
|
|
323
|
+
var BUILT_IN_AGENT_TOOL_NAMES = Object.values(BUILT_IN_AGENT_TOOL_GROUPS).flat();
|
|
324
|
+
|
|
269
325
|
// src/attribute-icons.ts
|
|
270
326
|
var DEFAULT_ATTRIBUTE_ICONS = {
|
|
271
327
|
text: "text-align-left",
|
|
@@ -291,6 +347,26 @@ function getDefaultAttributeIcon(type) {
|
|
|
291
347
|
return DEFAULT_ATTRIBUTE_ICONS[type] ?? "circle";
|
|
292
348
|
}
|
|
293
349
|
|
|
350
|
+
// src/tab-icons.ts
|
|
351
|
+
var DEFAULT_TAB_ICONS = {
|
|
352
|
+
/** Arranged groups of fields. */
|
|
353
|
+
form: "layout",
|
|
354
|
+
/** Related records, in rows. */
|
|
355
|
+
table: "table",
|
|
356
|
+
/** A caller-supplied component slotted into the record. */
|
|
357
|
+
custom: "puzzle",
|
|
358
|
+
activity: "activity",
|
|
359
|
+
richtext: "file-text",
|
|
360
|
+
documents: "folder",
|
|
361
|
+
/** Form submissions gathered on this record. */
|
|
362
|
+
forms: "clipboard",
|
|
363
|
+
emails: "envelope",
|
|
364
|
+
meetings: "calendar"
|
|
365
|
+
};
|
|
366
|
+
function getDefaultTabIcon(type) {
|
|
367
|
+
return DEFAULT_TAB_ICONS[type] ?? "circle";
|
|
368
|
+
}
|
|
369
|
+
|
|
294
370
|
// src/cn.ts
|
|
295
371
|
var import_clsx = require("clsx");
|
|
296
372
|
var import_tailwind_merge = require("tailwind-merge");
|
|
@@ -2820,6 +2896,8 @@ var TEXT_FORMAT_PRESETS = [
|
|
|
2820
2896
|
AUDIO,
|
|
2821
2897
|
AUDIO_MIME_TYPES,
|
|
2822
2898
|
AUDIO_MIME_TYPES_ARRAY,
|
|
2899
|
+
BUILT_IN_AGENT_TOOL_GROUPS,
|
|
2900
|
+
BUILT_IN_AGENT_TOOL_NAMES,
|
|
2823
2901
|
BYTES,
|
|
2824
2902
|
CODE,
|
|
2825
2903
|
CODE_MIME_TYPES,
|
|
@@ -2829,6 +2907,7 @@ var TEXT_FORMAT_PRESETS = [
|
|
|
2829
2907
|
COUNTRIES,
|
|
2830
2908
|
CURRENCIES,
|
|
2831
2909
|
DEFAULT_ATTRIBUTE_ICONS,
|
|
2910
|
+
DEFAULT_TAB_ICONS,
|
|
2832
2911
|
DEFAULT_TENANT_ID,
|
|
2833
2912
|
DOCUMENTS,
|
|
2834
2913
|
DOCUMENT_MIME_TYPES,
|
|
@@ -2874,6 +2953,7 @@ var TEXT_FORMAT_PRESETS = [
|
|
|
2874
2953
|
getCurrency,
|
|
2875
2954
|
getCurrencySymbol,
|
|
2876
2955
|
getDefaultAttributeIcon,
|
|
2956
|
+
getDefaultTabIcon,
|
|
2877
2957
|
getPhoneMaxDigits,
|
|
2878
2958
|
getPhoneTrunkPrefix,
|
|
2879
2959
|
getSortedCountries,
|
package/dist/index.mjs
CHANGED
|
@@ -158,6 +158,58 @@ var AI_CHAT_ACCEPTED_TYPES = AI_CHAT_SUPPORTED_MIME_TYPES.join(",");
|
|
|
158
158
|
var AI_CHAT_MAX_FILE_SIZE = 50 * 1024 * 1024;
|
|
159
159
|
var AI_CHAT_MAX_FILES = 5;
|
|
160
160
|
|
|
161
|
+
// src/agentTools.ts
|
|
162
|
+
var BUILT_IN_AGENT_TOOL_GROUPS = {
|
|
163
|
+
bulk: ["bulk_create_records", "bulk_delete_records", "bulk_search", "bulk_update_records"],
|
|
164
|
+
calendar: ["get_calendar_event", "get_meeting_transcript", "search_calendar_events"],
|
|
165
|
+
core: [
|
|
166
|
+
"archive_document",
|
|
167
|
+
"ask_questions",
|
|
168
|
+
"attach_file",
|
|
169
|
+
"call_reflex",
|
|
170
|
+
"create_folder",
|
|
171
|
+
"create_record",
|
|
172
|
+
"delete_record",
|
|
173
|
+
"exec_command",
|
|
174
|
+
"get_record",
|
|
175
|
+
"get_schema",
|
|
176
|
+
"get_skill",
|
|
177
|
+
"global_search",
|
|
178
|
+
"initialize_record_drive_structure",
|
|
179
|
+
"list_record_drive",
|
|
180
|
+
"list_workspace_users",
|
|
181
|
+
"load_toolset",
|
|
182
|
+
"read_document",
|
|
183
|
+
"remove_file",
|
|
184
|
+
"request_work_mode",
|
|
185
|
+
"sandbox_get_file",
|
|
186
|
+
"sandbox_upload_file",
|
|
187
|
+
"sandbox_validate_payload",
|
|
188
|
+
"search_records",
|
|
189
|
+
"update_document",
|
|
190
|
+
"update_record",
|
|
191
|
+
"write_todos"
|
|
192
|
+
],
|
|
193
|
+
email: ["download_email_attachments", "get_email", "get_email_thread", "search_emails"],
|
|
194
|
+
memory: ["get_memory", "save_memory", "search_memories"],
|
|
195
|
+
orchestration: ["message_agent", "spawn_agent"],
|
|
196
|
+
schema: [
|
|
197
|
+
"add_planned_attributes",
|
|
198
|
+
"add_planned_object",
|
|
199
|
+
"add_sample_records",
|
|
200
|
+
"discard_plan_draft",
|
|
201
|
+
"get_default_view",
|
|
202
|
+
"get_schema_history",
|
|
203
|
+
"propose_schema_plan",
|
|
204
|
+
"request_design_review",
|
|
205
|
+
"search_icons",
|
|
206
|
+
"set_planned_removals",
|
|
207
|
+
"set_planned_view"
|
|
208
|
+
],
|
|
209
|
+
web: ["read_webpage", "web_search"]
|
|
210
|
+
};
|
|
211
|
+
var BUILT_IN_AGENT_TOOL_NAMES = Object.values(BUILT_IN_AGENT_TOOL_GROUPS).flat();
|
|
212
|
+
|
|
161
213
|
// src/attribute-icons.ts
|
|
162
214
|
var DEFAULT_ATTRIBUTE_ICONS = {
|
|
163
215
|
text: "text-align-left",
|
|
@@ -183,6 +235,26 @@ function getDefaultAttributeIcon(type) {
|
|
|
183
235
|
return DEFAULT_ATTRIBUTE_ICONS[type] ?? "circle";
|
|
184
236
|
}
|
|
185
237
|
|
|
238
|
+
// src/tab-icons.ts
|
|
239
|
+
var DEFAULT_TAB_ICONS = {
|
|
240
|
+
/** Arranged groups of fields. */
|
|
241
|
+
form: "layout",
|
|
242
|
+
/** Related records, in rows. */
|
|
243
|
+
table: "table",
|
|
244
|
+
/** A caller-supplied component slotted into the record. */
|
|
245
|
+
custom: "puzzle",
|
|
246
|
+
activity: "activity",
|
|
247
|
+
richtext: "file-text",
|
|
248
|
+
documents: "folder",
|
|
249
|
+
/** Form submissions gathered on this record. */
|
|
250
|
+
forms: "clipboard",
|
|
251
|
+
emails: "envelope",
|
|
252
|
+
meetings: "calendar"
|
|
253
|
+
};
|
|
254
|
+
function getDefaultTabIcon(type) {
|
|
255
|
+
return DEFAULT_TAB_ICONS[type] ?? "circle";
|
|
256
|
+
}
|
|
257
|
+
|
|
186
258
|
// src/cn.ts
|
|
187
259
|
import { clsx } from "clsx";
|
|
188
260
|
import { extendTailwindMerge } from "tailwind-merge";
|
|
@@ -2711,6 +2783,8 @@ export {
|
|
|
2711
2783
|
AUDIO,
|
|
2712
2784
|
AUDIO_MIME_TYPES,
|
|
2713
2785
|
AUDIO_MIME_TYPES_ARRAY,
|
|
2786
|
+
BUILT_IN_AGENT_TOOL_GROUPS,
|
|
2787
|
+
BUILT_IN_AGENT_TOOL_NAMES,
|
|
2714
2788
|
BYTES,
|
|
2715
2789
|
CODE,
|
|
2716
2790
|
CODE_MIME_TYPES,
|
|
@@ -2720,6 +2794,7 @@ export {
|
|
|
2720
2794
|
COUNTRIES,
|
|
2721
2795
|
CURRENCIES,
|
|
2722
2796
|
DEFAULT_ATTRIBUTE_ICONS,
|
|
2797
|
+
DEFAULT_TAB_ICONS,
|
|
2723
2798
|
DEFAULT_TENANT_ID,
|
|
2724
2799
|
DOCUMENTS,
|
|
2725
2800
|
DOCUMENT_MIME_TYPES,
|
|
@@ -2765,6 +2840,7 @@ export {
|
|
|
2765
2840
|
getCurrency,
|
|
2766
2841
|
getCurrencySymbol,
|
|
2767
2842
|
getDefaultAttributeIcon,
|
|
2843
|
+
getDefaultTabIcon,
|
|
2768
2844
|
getPhoneMaxDigits,
|
|
2769
2845
|
getPhoneTrunkPrefix,
|
|
2770
2846
|
getSortedCountries,
|