@devries-cameron20 / composio-1 / commits / 8f55341c1
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

feat: add Decimal chat widget (#2323)

Co-authored-by: Sushmitha Mallesh <sushdec6@gmail.com>

Abhishek Patil committed Jan 5, 2026 at 15:12 UTC 8f55341c1d587c97145c50e32a2b5227389a5084
2 files changed +11 -176
fern/custom.js
+9 -176
@@ -1,176 +1,9 @@
1 -(function(d, script) {
2 - script = d.createElement('script');
3 - script.async = false;
4 - script.onload = function(){
5 - Plain.init({
6 - appId: "liveChatApp_01JP6DQTFKKCPPVVVCZG5F99RP",
7 - hideLauncher: false,
8 - requireAuthentication: true,
9 -
10 - // Updated links
11 - links: [
12 - {
13 - icon: "book",
14 - text: "View our docs",
15 - url: "https://docs.composio.dev/getting-started/welcome",
16 - },
17 - {
18 - icon: "discord",
19 - text: "Join our Discord",
20 - url: "https://dub.composio.dev/discord",
21 - },
22 - ],
23 - // Styling from your current configuration
24 - hideBranding: true,
25 - theme: "dark",
26 - style: {
27 - brandColor: "#076CDF",
28 - brandBackgroundColor: "#076CDF",
29 - launcherBackgroundColor: "#FFFFFF",
30 - launcherIconColor: "#076CDF",
31 - },
32 - position: {
33 - right: '20px',
34 - bottom: '20px',
35 - },
36 - // Simplified chat buttons with three main categories
37 - chatButtons: [
38 - // API / SDK Issues Button
39 - {
40 - icon: 'bug',
41 - text: 'API / SDK Issues',
42 - threadDetails: {
43 - priority: 'high',
44 - },
45 - form: {
46 - fields: [
47 - {
48 - type: 'dropdown',
49 - placeholder: 'Select Issue Type',
50 - options: [
51 - {
52 - icon: 'error',
53 - text: 'API Issue',
54 - threadDetails: {
55 - labelTypeIds: ['lt_01JPPWDM0DNWQ3TZ4P579BE0JZ'],
56 - }
57 - },
58 - {
59 - icon: 'bug',
60 - text: 'JavaScript SDK',
61 - threadDetails: {
62 - labelTypeIds: ['lt_01JPVXQF4HBBA7VNSCMJHTQSNE'],
63 - }
64 - },
65 - {
66 - icon: 'bug',
67 - text: 'Python SDK',
68 - threadDetails: {
69 - labelTypeIds: ['lt_01JPVXQANCFAYQ8R7BPSW7XP6Y'],
70 - }
71 - }
72 - ],
73 - }
74 - ],
75 - },
76 - },
77 -
78 - // Integration / Tool Issues Button
79 - {
80 - icon: 'integration',
81 - text: 'Integration / Tool Issues',
82 - threadDetails: {
83 - priority: 'high',
84 - },
85 - form: {
86 - fields: [
87 - {
88 - type: 'dropdown',
89 - placeholder: 'Select Issue Type',
90 - options: [
91 - {
92 - icon: 'integration',
93 - text: 'Tool Authentication Not Working',
94 - threadDetails: {
95 - labelTypeIds: ['lt_01JQ3ZVABTEA7ZW6BR4RPZ2VV6'],
96 - }
97 - },
98 - {
99 - icon: 'integration',
100 - text: 'Action Not Working',
101 - threadDetails: {
102 - labelTypeIds: ['lt_01JQ3ZT8G3QSNZ2T7MBFWB9WMK'],
103 - }
104 - },
105 - {
106 - icon: 'integration',
107 - text: 'Trigger Not Working',
108 - threadDetails: {
109 - labelTypeIds: ['lt_01JQ3ZTXTS2997K038M5EPQ0HC'],
110 - }
111 - },
112 - {
113 - icon: 'bulb',
114 - text: 'Request New Action/Trigger',
115 - threadDetails: {
116 - labelTypeIds: ['lt_01JQ3ZWVCJH4XHM895JCM1FJ4Q'],
117 - }
118 - }
119 - ],
120 - }
121 - ],
122 - },
123 - },
124 -
125 - // General Questions Button
126 - {
127 - icon: 'chat',
128 - text: 'General Questions',
129 - threadDetails: {
130 - priority: 'medium',
131 - },
132 - form: {
133 - fields: [
134 - {
135 - type: 'dropdown',
136 - placeholder: 'Select Topic',
137 - options: [
138 - {
139 - icon: 'book',
140 - text: 'Documentation Help',
141 - threadDetails: {
142 - labelTypeIds: ['lt_01JP6PBF53YD6EXC2TNEW0XES4'],
143 - }
144 - },
145 - {
146 - icon: 'send',
147 - text: 'Pricing Information',
148 - threadDetails: {
149 - labelTypeIds: ['lt_01JQ401BG3RPK4WT0187R44P6P'],
150 - }
151 - },
152 - {
153 - icon: 'support',
154 - text: 'Security Questions',
155 - threadDetails: {
156 - labelTypeIds: ['lt_01JQ401V3WA4M50JKNZJMK60MV'],
157 - }
158 - },
159 - {
160 - icon: 'chat',
161 - text: 'Other Question',
162 - threadDetails: {
163 - labelTypeIds: ['lt_01JP21C6MM2JCTX1C5RME57FAJ'], // MCP label for "Other"
164 - }
165 - }
166 - ],
167 - }
168 - ],
169 - }
170 - }
171 - ]
172 - });
173 - };
174 - script.src = 'https://chat.cdn-plain.com/index.js';
175 - d.getElementsByTagName('head')[0].appendChild(script);
176 -}(document));
\ No newline at end of file
1 +// Decimal chat widget
2 +(function() {
3 + var s = document.createElement('script');
4 + s.src = 'https://app.getdecimal.ai/widget/v1/widget.js';
5 + s.setAttribute('data-widget-id', 'wgt_Ze0kCx97w7YXIydXpEAbAVWfu7FO6HG1');
6 + s.setAttribute('data-public-config', 'eyJhbGciOiJIUzI1NiJ9.eyJ3aWQiOiJ3Z3RfWmUwa0N4OTd3N1lYSXlkWHBFQWJBVldmdTdGTzZIRzEiLCJkb21haW5zIjpbImNvbXBvc2lvLmRldiIsImNvbXBvc2lvLWRlY2ltYWwudmVyY2VsLmFwcCIsImxvY2FsaG9zdDozMDAwIiwiZG9jcy5jb21wb3Npby5kZXYiXSwiaWF0IjoxNzY3Mzc2ODkyfQ.Aflg_XVLCmd2tY9P9h4YWle2FKA_DRZFLBhp0yClJCE');
7 + s.async = true;
8 + document.head.appendChild(s);
9 +})();
\ No newline at end of file
fern/docs.yml
+2
@@ -59,6 +59,8 @@ ai-search:
59 settings:
60 hide-404-page: true
61 http-snippets: true
62 +js:
63 + - path: ./custom.js
64 colors:
65 accent-primary:
66 light: '#FF782F'