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

next
ts 167 lines 10.3 KB
Raw
1 import type { TelemetryFamily } from 'src/analytics/types';
2
3 /**
4 * The command path and lifecycle family telemetry recorded for every command path of the tree
5 * (developer mode and every experimental feature on) before the identity came from the parsed
6 * command tree: the argv extractor it replaced matched tokens against a hand-kept allowlist
7 * (`KNOWN_COMMAND_TOKENS` in `src/analytics/events.ts`) and stopped at the first unknown one.
8 * Frozen data for `command-identity.test.ts`; do not add new commands here.
9 */
10 export const RECORDED_BEFORE_IDENTITY: Readonly<
11 Record<string, { readonly path: string; readonly family: TelemetryFamily }>
12 > = {
13 composio: { path: 'composio', family: 'command' },
14 debug: { path: 'composio', family: 'command' },
15 'debug generate-graph': { path: 'composio', family: 'command' },
16 'debug api-info': { path: 'composio', family: 'command' },
17 'debug who-is-my-master': { path: 'composio', family: 'command' },
18 version: { path: 'version', family: 'command' },
19 upgrade: { path: 'upgrade', family: 'command' },
20 whoami: { path: 'whoami', family: 'command' },
21 login: { path: 'login', family: 'login' },
22 signup: { path: 'composio', family: 'command' },
23 setup: { path: 'setup', family: 'setup' },
24 'setup skill': { path: 'setup', family: 'setup' },
25 agent: { path: 'composio', family: 'command' },
26 'agent signup': { path: 'composio', family: 'command' },
27 'agent login': { path: 'composio', family: 'command' },
28 'agent whoami': { path: 'composio', family: 'command' },
29 'agent claim': { path: 'composio', family: 'command' },
30 'agent inbox': { path: 'composio', family: 'command' },
31 listen: { path: 'listen', family: 'command' },
32 logout: { path: 'logout', family: 'logout' },
33 run: { path: 'run', family: 'run' },
34 proxy: { path: 'proxy', family: 'proxy' },
35 artifacts: { path: 'artifacts', family: 'command' },
36 'artifacts cwd': { path: 'artifacts cwd', family: 'command' },
37 install: { path: 'install', family: 'install' },
38 tools: { path: 'tools', family: 'command' },
39 'tools list': { path: 'tools list', family: 'command' },
40 'tools info': { path: 'tools info', family: 'command' },
41 triggers: { path: 'triggers', family: 'command' },
42 'triggers list': { path: 'triggers list', family: 'command' },
43 'triggers info': { path: 'triggers info', family: 'command' },
44 search: { path: 'search', family: 'search' },
45 link: { path: 'link', family: 'link' },
46 execute: { path: 'execute', family: 'execute' },
47 connections: { path: 'composio', family: 'command' },
48 'connections list': { path: 'composio', family: 'command' },
49 'connections remove': { path: 'composio', family: 'command' },
50 generate: { path: 'generate', family: 'command' },
51 'generate py': { path: 'generate py', family: 'command' },
52 'generate ts': { path: 'generate ts', family: 'command' },
53 orgs: { path: 'orgs', family: 'command' },
54 'orgs list': { path: 'orgs list', family: 'command' },
55 'orgs switch': { path: 'orgs switch', family: 'command' },
56 config: { path: 'composio', family: 'command' },
57 'config experimental': { path: 'composio', family: 'command' },
58 dev: { path: 'dev', family: 'command' },
59 'dev init': { path: 'dev', family: 'command' },
60 'dev playground-execute': { path: 'dev playground-execute', family: 'command' },
61 'dev listen': { path: 'dev listen', family: 'command' },
62 'dev logs': { path: 'dev logs', family: 'command' },
63 'dev logs triggers': { path: 'dev logs triggers', family: 'command' },
64 'dev logs tools': { path: 'dev logs tools', family: 'command' },
65 'dev toolkits': { path: 'dev toolkits', family: 'command' },
66 'dev toolkits list': { path: 'dev toolkits list', family: 'command' },
67 'dev toolkits info': { path: 'dev toolkits info', family: 'command' },
68 'dev toolkits search': { path: 'dev toolkits search', family: 'command' },
69 'dev toolkits version': { path: 'dev toolkits version', family: 'command' },
70 'dev auth-configs': { path: 'dev auth-configs', family: 'command' },
71 'dev auth-configs list': { path: 'dev auth-configs list', family: 'command' },
72 'dev auth-configs info': { path: 'dev auth-configs info', family: 'command' },
73 'dev auth-configs create': { path: 'dev auth-configs create', family: 'command' },
74 'dev connected-accounts': { path: 'dev connected-accounts', family: 'command' },
75 'dev connected-accounts link': { path: 'dev connected-accounts link', family: 'command' },
76 'dev connected-accounts list': { path: 'dev connected-accounts list', family: 'command' },
77 'dev connected-accounts info': { path: 'dev connected-accounts info', family: 'command' },
78 'dev connected-accounts whoami': { path: 'dev connected-accounts whoami', family: 'command' },
79 'dev triggers': { path: 'dev triggers', family: 'command' },
80 'dev triggers listen': { path: 'dev triggers listen', family: 'command' },
81 'dev triggers list': { path: 'dev triggers list', family: 'command' },
82 'dev triggers info': { path: 'dev triggers info', family: 'command' },
83 'dev triggers status': { path: 'dev triggers status', family: 'command' },
84 'dev triggers create': { path: 'dev triggers create', family: 'command' },
85 'dev triggers enable': { path: 'dev triggers enable', family: 'command' },
86 'dev triggers disable': { path: 'dev triggers disable', family: 'command' },
87 'dev projects': { path: 'dev projects', family: 'command' },
88 'dev projects list': { path: 'dev projects list', family: 'command' },
89 'dev projects switch': { path: 'dev projects switch', family: 'command' },
90 help: { path: 'composio', family: 'command' },
91 'help debug': { path: 'composio', family: 'command' },
92 'help debug generate-graph': { path: 'composio', family: 'command' },
93 'help debug api-info': { path: 'composio', family: 'command' },
94 'help debug who-is-my-master': { path: 'composio', family: 'command' },
95 'help version': { path: 'composio', family: 'command' },
96 'help upgrade': { path: 'composio', family: 'command' },
97 'help whoami': { path: 'composio', family: 'command' },
98 'help login': { path: 'composio', family: 'command' },
99 'help signup': { path: 'composio', family: 'command' },
100 'help setup': { path: 'composio', family: 'command' },
101 'help setup skill': { path: 'composio', family: 'command' },
102 'help agent': { path: 'composio', family: 'command' },
103 'help agent signup': { path: 'composio', family: 'command' },
104 'help agent login': { path: 'composio', family: 'command' },
105 'help agent whoami': { path: 'composio', family: 'command' },
106 'help agent claim': { path: 'composio', family: 'command' },
107 'help agent inbox': { path: 'composio', family: 'command' },
108 'help listen': { path: 'composio', family: 'command' },
109 'help logout': { path: 'composio', family: 'command' },
110 'help run': { path: 'composio', family: 'command' },
111 'help proxy': { path: 'composio', family: 'command' },
112 'help artifacts': { path: 'composio', family: 'command' },
113 'help artifacts cwd': { path: 'composio', family: 'command' },
114 'help install': { path: 'composio', family: 'command' },
115 'help tools': { path: 'composio', family: 'command' },
116 'help tools list': { path: 'composio', family: 'command' },
117 'help tools info': { path: 'composio', family: 'command' },
118 'help triggers': { path: 'composio', family: 'command' },
119 'help triggers list': { path: 'composio', family: 'command' },
120 'help triggers info': { path: 'composio', family: 'command' },
121 'help search': { path: 'composio', family: 'command' },
122 'help link': { path: 'composio', family: 'command' },
123 'help execute': { path: 'composio', family: 'command' },
124 'help connections': { path: 'composio', family: 'command' },
125 'help connections list': { path: 'composio', family: 'command' },
126 'help connections remove': { path: 'composio', family: 'command' },
127 'help generate': { path: 'composio', family: 'command' },
128 'help generate py': { path: 'composio', family: 'command' },
129 'help generate ts': { path: 'composio', family: 'command' },
130 'help orgs': { path: 'composio', family: 'command' },
131 'help orgs list': { path: 'composio', family: 'command' },
132 'help orgs switch': { path: 'composio', family: 'command' },
133 'help config': { path: 'composio', family: 'command' },
134 'help config experimental': { path: 'composio', family: 'command' },
135 'help dev': { path: 'composio', family: 'command' },
136 'help dev init': { path: 'composio', family: 'command' },
137 'help dev playground-execute': { path: 'composio', family: 'command' },
138 'help dev listen': { path: 'composio', family: 'command' },
139 'help dev logs': { path: 'composio', family: 'command' },
140 'help dev logs triggers': { path: 'composio', family: 'command' },
141 'help dev logs tools': { path: 'composio', family: 'command' },
142 'help dev toolkits': { path: 'composio', family: 'command' },
143 'help dev toolkits list': { path: 'composio', family: 'command' },
144 'help dev toolkits info': { path: 'composio', family: 'command' },
145 'help dev toolkits search': { path: 'composio', family: 'command' },
146 'help dev toolkits version': { path: 'composio', family: 'command' },
147 'help dev auth-configs': { path: 'composio', family: 'command' },
148 'help dev auth-configs list': { path: 'composio', family: 'command' },
149 'help dev auth-configs info': { path: 'composio', family: 'command' },
150 'help dev auth-configs create': { path: 'composio', family: 'command' },
151 'help dev connected-accounts': { path: 'composio', family: 'command' },
152 'help dev connected-accounts link': { path: 'composio', family: 'command' },
153 'help dev connected-accounts list': { path: 'composio', family: 'command' },
154 'help dev connected-accounts info': { path: 'composio', family: 'command' },
155 'help dev connected-accounts whoami': { path: 'composio', family: 'command' },
156 'help dev triggers': { path: 'composio', family: 'command' },
157 'help dev triggers listen': { path: 'composio', family: 'command' },
158 'help dev triggers list': { path: 'composio', family: 'command' },
159 'help dev triggers info': { path: 'composio', family: 'command' },
160 'help dev triggers status': { path: 'composio', family: 'command' },
161 'help dev triggers create': { path: 'composio', family: 'command' },
162 'help dev triggers enable': { path: 'composio', family: 'command' },
163 'help dev triggers disable': { path: 'composio', family: 'command' },
164 'help dev projects': { path: 'composio', family: 'command' },
165 'help dev projects list': { path: 'composio', family: 'command' },
166 'help dev projects switch': { path: 'composio', family: 'command' },
167 };