@botconnector/bccli 0.5.0-rc.4 → 0.5.1
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/LICENSE +21 -203
- package/README.en.md +253 -0
- package/README.md +250 -0
- package/dist/abort.d.ts +5 -0
- package/dist/acp-HWHF25KU.js +221 -0
- package/dist/acp.d.ts +44 -0
- package/dist/agent.d.ts +158 -0
- package/dist/agents.d.ts +4 -0
- package/dist/args-XA77XUMD.js +13 -0
- package/dist/args.d.ts +59 -0
- package/dist/budget.d.ts +26 -0
- package/dist/checkpoints.d.ts +35 -0
- package/dist/chunk-2IP5F3EK.js +56 -0
- package/dist/chunk-5CVHTYBQ.js +270 -0
- package/dist/chunk-6LO6YRDY.js +216 -0
- package/dist/chunk-6PJRWKVI.js +50 -0
- package/dist/chunk-6YRTPXGY.js +8 -0
- package/dist/chunk-7OTFZK4B.js +159 -0
- package/dist/chunk-7U7CMKKI.js +861 -0
- package/dist/chunk-A3NBWIEQ.js +2706 -0
- package/dist/chunk-FY543EQW.js +50 -0
- package/dist/chunk-IDZLHEVL.js +524 -0
- package/dist/chunk-IF5RNXBI.js +341 -0
- package/dist/chunk-M5T4AM4I.js +256 -0
- package/dist/chunk-NGFWBVHD.js +71 -0
- package/dist/chunk-OCEQ2TRJ.js +1075 -0
- package/dist/chunk-OK2USAXX.js +88 -0
- package/dist/chunk-PSO7R5AD.js +10 -0
- package/dist/chunk-RLSQAZBT.js +78 -0
- package/dist/chunk-VPFCIUC6.js +91 -0
- package/dist/chunk-YGBTNDPK.js +202 -0
- package/dist/chunk-YYTFJUO2.js +148 -0
- package/dist/chunk-ZXWRLN7E.js +378 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +251 -0
- package/dist/clipboardImage.d.ts +17 -0
- package/dist/commands.d.ts +16 -0
- package/dist/completion-IRVEVW6H.js +125 -0
- package/dist/completion.d.ts +14 -0
- package/dist/config-OVWCUVY7.js +25 -0
- package/dist/config-S3CZUIBB.js +34 -0
- package/dist/config.d.ts +99 -0
- package/dist/context.d.ts +13 -0
- package/dist/contextWindow.d.ts +3 -0
- package/dist/diff.d.ts +7 -0
- package/dist/exit.d.ts +9 -0
- package/dist/extensions.d.ts +34 -0
- package/dist/ghBotCli-FYKJDJOD.js +680 -0
- package/dist/ghBotCli.d.ts +9 -0
- package/dist/ghBotDispatch.d.ts +68 -0
- package/dist/ghBotRunner.d.ts +82 -0
- package/dist/ghBotServe.d.ts +21 -0
- package/dist/ghBotWebhook.d.ts +45 -0
- package/dist/hooks.d.ts +27 -0
- package/dist/i18n/id.d.ts +1 -0
- package/dist/i18n.d.ts +16 -0
- package/dist/integrationCli-GY73S2K7.js +876 -0
- package/dist/integrationCli.d.ts +9 -0
- package/dist/keybinds.d.ts +22 -0
- package/dist/login-KSN63EM4.js +18 -0
- package/dist/login.d.ts +21 -0
- package/dist/lsp.d.ts +73 -0
- package/dist/mcp/catalog.d.ts +14 -0
- package/dist/mcp/config.d.ts +36 -0
- package/dist/mcp/manager.d.ts +52 -0
- package/dist/mcp/oauth.d.ts +82 -0
- package/dist/mcpCli-VWSCCDWT.js +113 -0
- package/dist/mcpCli.d.ts +3 -0
- package/dist/mcpServer/serve.d.ts +8 -0
- package/dist/mcpServer/server.d.ts +19 -0
- package/dist/models.d.ts +13 -0
- package/dist/modelsCli-4Q6KFWV2.js +36 -0
- package/dist/modelsCli.d.ts +15 -0
- package/dist/npmRunner-LU43GM3W.js +46 -0
- package/dist/npmRunner.d.ts +21 -0
- package/dist/oauthLogin-JWXQZTMZ.js +210 -0
- package/dist/oauthLogin.d.ts +47 -0
- package/dist/onboarding.d.ts +6 -0
- package/dist/permissions.d.ts +30 -0
- package/dist/pluginSpec.d.ts +25 -0
- package/dist/plugins.d.ts +45 -0
- package/dist/pluginsCli-7XWDLJEL.js +288 -0
- package/dist/pluginsCli.d.ts +16 -0
- package/dist/prCli-FH7N26D4.js +94 -0
- package/dist/prCli.d.ts +46 -0
- package/dist/presets.d.ts +8 -0
- package/dist/print.d.ts +17 -0
- package/dist/provider.d.ts +145 -0
- package/dist/providerCli-YMG4G56R.js +15 -0
- package/dist/providerCli.d.ts +17 -0
- package/dist/providers.d.ts +6 -0
- package/dist/reasoning.d.ts +12 -0
- package/dist/repomap.d.ts +10 -0
- package/dist/sdk.d.ts +61 -0
- package/dist/sdk.js +6532 -0
- package/dist/serve-HSFF6MGB.js +178 -0
- package/dist/serve-R2IHP26A.js +532 -0
- package/dist/serve.d.ts +37 -0
- package/dist/serveHeartbeat.d.ts +14 -0
- package/dist/serveProtocol.d.ts +47 -0
- package/dist/session-YM36TGU7.js +12 -0
- package/dist/session.d.ts +33 -0
- package/dist/setup-3YB6EKYX.js +24 -0
- package/dist/setup.d.ts +79 -0
- package/dist/slash/copy.d.ts +1 -0
- package/dist/slash/diff.d.ts +1 -0
- package/dist/slash/doctor.d.ts +18 -0
- package/dist/slash/export.d.ts +2 -0
- package/dist/slash/info.d.ts +46 -0
- package/dist/slash/memory.d.ts +10 -0
- package/dist/statsCli-I4TSDU3X.js +353 -0
- package/dist/statsCli.d.ts +62 -0
- package/dist/textToolCalls.d.ts +6 -0
- package/dist/thinking.d.ts +17 -0
- package/dist/tokenBudget.d.ts +22 -0
- package/dist/tools/bash.d.ts +54 -0
- package/dist/tools/diagnostics.d.ts +13 -0
- package/dist/tools/edit.d.ts +12 -0
- package/dist/tools/fetch.d.ts +41 -0
- package/dist/tools/glob.d.ts +5 -0
- package/dist/tools/globSafety.d.ts +7 -0
- package/dist/tools/grep.d.ts +25 -0
- package/dist/tools/ignore.d.ts +2 -0
- package/dist/tools/index.d.ts +12 -0
- package/dist/tools/memory.d.ts +13 -0
- package/dist/tools/paths.d.ts +4 -0
- package/dist/tools/plan.d.ts +10 -0
- package/dist/tools/read.d.ts +16 -0
- package/dist/tools/repomap.d.ts +2 -0
- package/dist/tools/sandbox.d.ts +15 -0
- package/dist/tools/shell.d.ts +18 -0
- package/dist/tools/skill.d.ts +3 -0
- package/dist/tools/task.d.ts +28 -0
- package/dist/tools/todo.d.ts +13 -0
- package/dist/tools/types.d.ts +52 -0
- package/dist/tools/websearch.d.ts +9 -0
- package/dist/tools/write.d.ts +5 -0
- package/dist/transferCli-3B4LMOYI.js +73 -0
- package/dist/transferCli.d.ts +23 -0
- package/dist/ui/App.d.ts +7 -0
- package/dist/ui/DiffView.d.ts +3 -0
- package/dist/ui/EditableText.d.ts +7 -0
- package/dist/ui/LinePrompt.d.ts +6 -0
- package/dist/ui/ListPicker.d.ts +11 -0
- package/dist/ui/Markdown.d.ts +8 -0
- package/dist/ui/McpMenu.d.ts +11 -0
- package/dist/ui/ModelPicker.d.ts +6 -0
- package/dist/ui/PermissionPrompt.d.ts +5 -0
- package/dist/ui/PlanApproval.d.ts +5 -0
- package/dist/ui/PromptInput.d.ts +20 -0
- package/dist/ui/ProviderMenu.d.ts +10 -0
- package/dist/ui/Spinner.d.ts +4 -0
- package/dist/ui/StatusBar.d.ts +14 -0
- package/dist/ui/TodoList.d.ts +4 -0
- package/dist/ui/ToolBlock.d.ts +14 -0
- package/dist/ui/complete.d.ts +8 -0
- package/dist/ui/index.d.ts +7 -0
- package/dist/ui/lineEdit.d.ts +42 -0
- package/dist/ui/liveCap.d.ts +29 -0
- package/dist/ui/markdownLayout.d.ts +23 -0
- package/dist/ui/replay.d.ts +4 -0
- package/dist/ui/stdinFilter.d.ts +18 -0
- package/dist/ui/table.d.ts +20 -0
- package/dist/ui/theme.d.ts +5 -0
- package/dist/ui/thinkingMouse.d.ts +38 -0
- package/dist/ui/transcript.d.ts +55 -0
- package/dist/ui/tty.d.ts +11 -0
- package/dist/ui/vim.d.ts +26 -0
- package/dist/ui-TAZMRXRI.js +3044 -0
- package/dist/update-XC3B6SJC.js +145 -0
- package/dist/update.d.ts +30 -0
- package/dist/verify.d.ts +16 -0
- package/dist/version.d.ts +1 -0
- package/dist/webBudget.d.ts +25 -0
- package/dist/worktree.d.ts +12 -0
- package/package.json +59 -35
- package/THIRD_PARTY_NOTICES.md +0 -9
- package/branding.mjs +0 -347
- package/cli.mjs +0 -120
- package/core.mjs +0 -260
- package/credentials.mjs +0 -52
- package/gateway.mjs +0 -2
- package/model-command.mjs +0 -61
- package/provider-cli.mjs +0 -77
- package/providers.mjs +0 -166
- package/proxy.mjs +0 -242
- package/startup-menu.mjs +0 -120
package/LICENSE
CHANGED
|
@@ -1,203 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
-
|
|
24
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
-
exercising permissions granted by this License.
|
|
26
|
-
|
|
27
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
-
including but not limited to software source code, documentation
|
|
29
|
-
source, and configuration files.
|
|
30
|
-
|
|
31
|
-
"Object" form shall mean any form resulting from mechanical
|
|
32
|
-
transformation or translation of a Source form, including but
|
|
33
|
-
not limited to compiled object code, generated documentation,
|
|
34
|
-
and conversions to other media types.
|
|
35
|
-
|
|
36
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
-
Object form, made available under the License, as indicated by a
|
|
38
|
-
copyright notice that is included in or attached to the work
|
|
39
|
-
(an example is provided in the Appendix below).
|
|
40
|
-
|
|
41
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
-
form, that is based on (or derived from) the Work and for which the
|
|
43
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
-
of this License, Derivative Works shall not include works that remain
|
|
46
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
-
the Work and Derivative Works thereof.
|
|
48
|
-
|
|
49
|
-
"Contribution" shall mean any work of authorship, including
|
|
50
|
-
the original version of the Work and any modifications or additions
|
|
51
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
-
means any form of electronic, verbal, or written communication sent
|
|
56
|
-
to the Licensor or its representatives, including but not limited to
|
|
57
|
-
communication on electronic mailing lists, source code control systems,
|
|
58
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
-
excluding communication that is conspicuously marked or otherwise
|
|
61
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
-
|
|
63
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
-
subsequently incorporated within the Work.
|
|
66
|
-
|
|
67
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
-
Work and such Derivative Works in Source or Object form.
|
|
73
|
-
|
|
74
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
-
(except as stated in this section) patent license to make, have made,
|
|
78
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
-
where such license applies only to those patent claims licensable
|
|
80
|
-
by such Contributor that are necessarily infringed by their
|
|
81
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
-
institute patent litigation against any entity (including a
|
|
84
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
-
or contributory patent infringement, then any patent licenses
|
|
87
|
-
granted to You under this License for that Work shall terminate
|
|
88
|
-
as of the date such litigation is filed.
|
|
89
|
-
|
|
90
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
-
modifications, and in Source or Object form, provided that You
|
|
93
|
-
meet the following conditions:
|
|
94
|
-
|
|
95
|
-
(a) You must give any other recipients of the Work or
|
|
96
|
-
Derivative Works a copy of this License; and
|
|
97
|
-
|
|
98
|
-
(b) You must cause any modified files to carry prominent notices
|
|
99
|
-
stating that You changed the files; and
|
|
100
|
-
|
|
101
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
-
that You distribute, all copyright, patent, trademark, and
|
|
103
|
-
attribution notices from the Source form of the Work,
|
|
104
|
-
excluding those notices that do not pertain to any part of
|
|
105
|
-
the Derivative Works; and
|
|
106
|
-
|
|
107
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
-
distribution, then any Derivative Works that You distribute must
|
|
109
|
-
include a readable copy of the attribution notices contained
|
|
110
|
-
within such NOTICE file, excluding those notices that do not
|
|
111
|
-
pertain to any part of the Derivative Works, in at least one
|
|
112
|
-
of the following places: within a NOTICE text file distributed
|
|
113
|
-
as part of the Derivative Works; within the Source form or
|
|
114
|
-
documentation, if provided along with the Derivative Works; or,
|
|
115
|
-
within a display generated by the Derivative Works, if and
|
|
116
|
-
wherever such third-party notices normally appear. The contents
|
|
117
|
-
of the NOTICE file are for informational purposes only and
|
|
118
|
-
do not modify the License. You may add Your own attribution
|
|
119
|
-
notices within Derivative Works that You distribute, alongside
|
|
120
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
-
that such additional attribution notices cannot be construed
|
|
122
|
-
as modifying the License.
|
|
123
|
-
|
|
124
|
-
You may add Your own copyright statement to Your modifications and
|
|
125
|
-
may provide additional or different license terms and conditions
|
|
126
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
-
the conditions stated in this License.
|
|
130
|
-
|
|
131
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
-
this License, without any additional terms or conditions.
|
|
135
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
-
the terms of any separate license agreement you may have executed
|
|
137
|
-
with Licensor regarding such Contributions.
|
|
138
|
-
|
|
139
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
-
except as required for reasonable and customary use in describing the
|
|
142
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
-
|
|
144
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
-
implied, including, without limitation, any warranties or conditions
|
|
149
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
-
appropriateness of using or redistributing the Work and assume any
|
|
152
|
-
risks associated with Your exercise of permissions under this License.
|
|
153
|
-
|
|
154
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
-
unless required by applicable law (such as deliberate and grossly
|
|
157
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
-
liable to You for damages, including any direct, indirect, special,
|
|
159
|
-
incidental, or consequential damages of any character arising as a
|
|
160
|
-
result of this License or out of the use or inability to use the
|
|
161
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
-
other commercial damages or losses), even if such Contributor
|
|
164
|
-
has been advised of the possibility of such damages.
|
|
165
|
-
|
|
166
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
-
or other liability obligations and/or rights consistent with this
|
|
170
|
-
License. However, in accepting such obligations, You may act only
|
|
171
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
-
defend, and hold each Contributor harmless for any liability
|
|
174
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
-
of your accepting any such warranty or additional liability.
|
|
176
|
-
|
|
177
|
-
END OF TERMS AND CONDITIONS
|
|
178
|
-
|
|
179
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
-
|
|
181
|
-
To apply the Apache License to your work, attach the following
|
|
182
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
-
replaced with your own identifying information. (Don't include
|
|
184
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
-
comment syntax for the file format. We also recommend that a
|
|
186
|
-
file or class name and description of purpose be included on the
|
|
187
|
-
same "printed page" as the copyright notice for easier
|
|
188
|
-
identification within third-party archives.
|
|
189
|
-
|
|
190
|
-
Copyright 2025 Google LLC
|
|
191
|
-
Copyright 2025 Qwen
|
|
192
|
-
|
|
193
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
194
|
-
you may not use this file except in compliance with the License.
|
|
195
|
-
You may obtain a copy of the License at
|
|
196
|
-
|
|
197
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
198
|
-
|
|
199
|
-
Unless required by applicable law or agreed to in writing, software
|
|
200
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
201
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
202
|
-
See the License for the specific language governing permissions and
|
|
203
|
-
limitations under the License.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 BotConnector
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.en.md
ADDED
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
# BCCLI
|
|
2
|
+
|
|
3
|
+
[English](README.en.md) · **Bahasa Indonesia**
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@botconnector/bccli?activeTab=versions)
|
|
6
|
+
[](https://www.npmjs.com/package/@botconnector/bccli)
|
|
7
|
+
[](https://nodejs.org/)
|
|
8
|
+
[](LICENSE)
|
|
9
|
+
[](https://botconnector.id/id/download)
|
|
10
|
+
|
|
11
|
+
An AI coding agent from [BotConnector](https://botconnector.id/) that works in your terminal: it reads code,
|
|
12
|
+
edits files, and runs commands — with your permission.
|
|
13
|
+
|
|
14
|
+

|
|
15
|
+
|
|
16
|
+
*Real session recording: BCCLI creates `hello.js` and runs it with `node`.*
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
# one-line install (macOS / Linux / WSL2) — provisions a portable Node if needed, no sudo
|
|
20
|
+
curl -fsSL https://raw.githubusercontent.com/farijarifriyanto-debug/bccli/main/install.sh | bash
|
|
21
|
+
|
|
22
|
+
# Windows (PowerShell 5.1+) — needs Node.js 22+ already installed
|
|
23
|
+
irm https://raw.githubusercontent.com/farijarifriyanto-debug/bccli/main/install.ps1 | iex
|
|
24
|
+
|
|
25
|
+
# or manual, if you already have Node.js 22+
|
|
26
|
+
npm i -g @botconnector/bccli # latest stable, requires Node.js 22+
|
|
27
|
+
npm i -g @botconnector/bccli@next # …or the next prerelease
|
|
28
|
+
bccli login # store your BotConnector Cloud API key
|
|
29
|
+
cd your-project && bccli
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Usage
|
|
33
|
+
|
|
34
|
+
| Command | What it does |
|
|
35
|
+
|---|---|
|
|
36
|
+
| `bccli` | interactive mode |
|
|
37
|
+
| `bccli -p "task"` | one-shot task (scripts/CI) |
|
|
38
|
+
| `bccli -p "task" --output-format json` | final result as a single JSON object; `stream-json` = JSONL events per stage (tool_use/tool_result/message/result) for CI |
|
|
39
|
+
| `bccli -c` / `bccli -r` | continue last session / pick a session |
|
|
40
|
+
| `bccli -m provider/model` | choose a model |
|
|
41
|
+
| `bccli --reasoning <auto\|off\|low\|medium\|high\|max>` | set reasoning level for this invocation |
|
|
42
|
+
| `bccli models` | list models |
|
|
43
|
+
|
|
44
|
+
In-session commands (type `/` for suggestions, ↑↓ to select, Enter to run):
|
|
45
|
+
|
|
46
|
+
| Command | What it does |
|
|
47
|
+
|---|---|
|
|
48
|
+
| `/help` | list commands and shortcuts |
|
|
49
|
+
| `/model` | switch model |
|
|
50
|
+
| `/reasoning` | pick Auto / Off / Low / Medium / High / Max |
|
|
51
|
+
| `/provider` | add/select an AI provider |
|
|
52
|
+
| `/language` | change display language (`en` / `id`) |
|
|
53
|
+
| `/mcp` | install/manage MCP servers |
|
|
54
|
+
| `/new` | new session (old sessions are kept) |
|
|
55
|
+
| `/resume` | continue another session in this folder |
|
|
56
|
+
| `/session` | info about this session |
|
|
57
|
+
| `/status` | version, model, permission mode, MCP, context |
|
|
58
|
+
| `/permissions` | view/revoke permissions |
|
|
59
|
+
| `/pr` | review a pull request (`/pr <n\|url\|branch>`) |
|
|
60
|
+
| `/worktree` | list git worktrees; create one with `bccli -w <name>` |
|
|
61
|
+
| `/undo` | undo the last file-edit turn |
|
|
62
|
+
| `/redo` | re-apply the file edits that /undo just reverted |
|
|
63
|
+
| `/rewind` | step back turns: conversation + file edits (`/rewind 2`) |
|
|
64
|
+
| `/diff` | git diff of the project |
|
|
65
|
+
| `/copy` | copy the last answer |
|
|
66
|
+
| `/export` | save the conversation to markdown |
|
|
67
|
+
| `/memory` | project instructions (/memory <text>, /memory global <text>) |
|
|
68
|
+
| `/init` | create/update AGENTS.md for this project |
|
|
69
|
+
| `/agents` | list subagents |
|
|
70
|
+
| `/tasks` | list background tasks |
|
|
71
|
+
| `/skills` | list skills and custom commands |
|
|
72
|
+
| `/doctor` | check installation health |
|
|
73
|
+
| `/login` | store the active provider's API key |
|
|
74
|
+
| `/logout` | remove the active provider's API key |
|
|
75
|
+
| `/clear` | start a fresh conversation |
|
|
76
|
+
| `/compact` | compact the conversation |
|
|
77
|
+
| `/cost` | token usage for this session |
|
|
78
|
+
| `/exit` | quit |
|
|
79
|
+
|
|
80
|
+
`/undo` only reverts file edit/write tool changes (not bash commands), one turn at a time, up to 20 turns back.
|
|
81
|
+
Shift+Tab cycles permission modes: `default` → `acceptEdits` → `plan` → `allowAll`.
|
|
82
|
+
|
|
83
|
+
Reading a secret file (`.env`, `.ssh`, `.aws`, `id_rsa`, `*.pem`, `*.key`, `secret*`,
|
|
84
|
+
`credential*`) always asks for approval; `allowAll` is the only mode that does not, and the
|
|
85
|
+
approval cannot be granted "for this session".
|
|
86
|
+
|
|
87
|
+
`-p` mode never prompts: permission-requiring tools are refused unless you pass
|
|
88
|
+
`--allow-all` or `--allowed-tools bash,edit,fetch`.
|
|
89
|
+
|
|
90
|
+
## Language
|
|
91
|
+
|
|
92
|
+
BCCLI's UI (help, messages, permission prompts) is **English by default**. Indonesian stays available:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
bccli --lang id # one-off
|
|
96
|
+
BCCLI_LANG=id bccli # via environment
|
|
97
|
+
/language id # inside a session; stored in ~/.bccli/config.json ("language")
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Priority order: `--lang`, then `BCCLI_LANG`, then `language` in config, then English. The model answers in
|
|
101
|
+
the language you write; tool messages the model reads (tool output, errors) are always English so they
|
|
102
|
+
don't distort the reply language.
|
|
103
|
+
|
|
104
|
+
## Providers
|
|
105
|
+
|
|
106
|
+
`/provider` in a session (or `bccli provider add <id>`) adds a provider with just an API key:
|
|
107
|
+
|
|
108
|
+
| Id | Provider |
|
|
109
|
+
|---|---|
|
|
110
|
+
| `bc-cloud` | BotConnector Cloud (default) |
|
|
111
|
+
| `openrouter` | OpenRouter |
|
|
112
|
+
| `openai` | OpenAI |
|
|
113
|
+
| `gemini` | Google Gemini |
|
|
114
|
+
| `deepseek` | DeepSeek |
|
|
115
|
+
| `groq` | Groq |
|
|
116
|
+
| `ollama-cloud` | Ollama Cloud |
|
|
117
|
+
| `ollama` | local Ollama (no key) |
|
|
118
|
+
| `lmstudio` | local LM Studio (no key) |
|
|
119
|
+
|
|
120
|
+
Any other OpenAI-compatible provider: pick **Custom…** in `/provider`, or
|
|
121
|
+
`bccli provider add corp --url https://corp.example/v1 --name "Corp"`.
|
|
122
|
+
|
|
123
|
+
`/model` lists models from **every** provider that has a key, grouped by provider;
|
|
124
|
+
type to filter. Your choice is saved as the default.
|
|
125
|
+
|
|
126
|
+
Reasoning can be set via `bccli --reasoning <auto|off|low|medium|high|max>` or `/reasoning`.
|
|
127
|
+
**Auto** uses the model/provider default and BCCLI sends no reasoning override. BCCLI never
|
|
128
|
+
silently lowers or raises reasoning effort. Manual levels pass through when the provider/model
|
|
129
|
+
contract supports them; unsupported levels produce a clear error instead of a silent downgrade.
|
|
130
|
+
|
|
131
|
+
`.bccli/config.json` inside a project may only pick a `model` and add new keyless providers —
|
|
132
|
+
the `reasoning` preference is read only from the user config `~/.bccli/config.json`, never from a
|
|
133
|
+
cloned repo — permissions (`permissionMode`, `allow`) and existing providers are configured only
|
|
134
|
+
from `~/.bccli/config.json`, so a cloned repo cannot grant itself full permissions or steal API keys.
|
|
135
|
+
|
|
136
|
+
Every key of `~/.bccli/config.json` with its values and scope: [`docs/config.md`](docs/config.md).
|
|
137
|
+
|
|
138
|
+
## External agent integrations
|
|
139
|
+
|
|
140
|
+
BCCLI can set up BotConnector as a provider for other agents:
|
|
141
|
+
|
|
142
|
+
| Command | What it does |
|
|
143
|
+
|---|---|
|
|
144
|
+
| `bccli integrations` | show integration status |
|
|
145
|
+
| `bccli connect opencode` | connect OpenCode to BotConnector |
|
|
146
|
+
| `bccli connect aider` | connect Aider to BotConnector |
|
|
147
|
+
| `bccli connect cline` | connect Cline CLI to BotConnector |
|
|
148
|
+
| `bccli connect deepseek-harness` / `bccli connect dsh` | connect DeepSeek Harness to BotConnector |
|
|
149
|
+
| `bccli connect codex` | create Codex Responses API profile + BotConnector launcher |
|
|
150
|
+
| `bccli connect claude-code` | create a Claude Code launcher via Anthropic Messages compatibility |
|
|
151
|
+
| `bccli connect cursor` | guided Cursor setup + Base URL override warning |
|
|
152
|
+
| `bccli connect openai-cli` | create an OpenAI CLI launcher for BotConnector |
|
|
153
|
+
| `bccli connect openai-sdk` | create an env profile for the OpenAI Python/Node SDK |
|
|
154
|
+
| `bccli connect openai-compatible` | create a universal OpenAI-compatible env profile |
|
|
155
|
+
| `bccli disconnect <agent>` | restore the config from before the integration |
|
|
156
|
+
|
|
157
|
+
OpenCode uses the global config `~/.config/opencode/opencode.json`. BCCLI fetches the BotConnector
|
|
158
|
+
model catalog on connect, preserves other providers' config, and stores secrets in a separate file
|
|
159
|
+
under `~/.bccli/integrations/`.
|
|
160
|
+
Aider uses `~/.aider.conf.yml` pointing at a separate BCCLI env file; BCCLI refuses to overwrite
|
|
161
|
+
existing Aider OpenAI/env-file settings.
|
|
162
|
+
|
|
163
|
+
Cline uses an `openai-compatible` provider in `~/.cline/data/settings/providers.json`. If that slot
|
|
164
|
+
is taken by another endpoint, BCCLI refuses to overwrite it. Cline itself stores provider API keys
|
|
165
|
+
in that file.
|
|
166
|
+
|
|
167
|
+
DeepSeek Harness uses a custom `botconnector` provider in `$DSH_HOME/settings.yaml` with
|
|
168
|
+
`api: openai-completions` and `apiKeyEnv: BOTCONNECTOR_API_KEY`; the key goes in the BCCLI block of
|
|
169
|
+
`$DSH_HOME/.env`. Other DSH providers are kept. After connecting, run the web profile with
|
|
170
|
+
`dsh web` (same as `dsh --profile web`); bare `dsh` without a profile is rejected by DSH 0.1.x.
|
|
171
|
+
|
|
172
|
+
Codex uses a profile `$CODEX_HOME/botconnector.config.toml` with `wire_api = "responses"` and a BCCLI
|
|
173
|
+
launcher that reads the key from BCCLI storage at runtime. Claude Code gets an isolated launcher with
|
|
174
|
+
`ANTHROPIC_BASE_URL=https://api.botconnector.id` and the `/v1/messages` compatibility endpoint +
|
|
175
|
+
token counting. Codex and Claude Code primary login/config are not overwritten.
|
|
176
|
+
|
|
177
|
+
External agents call BotConnector directly, so model discovery does not use BCCLI-specific identity.
|
|
178
|
+
Access restricted to BCCLI/Web App (for example Luna launch access) is not automatically inherited.
|
|
179
|
+
Before changing external config, BCCLI makes a backup so `disconnect` can restore it.
|
|
180
|
+
|
|
181
|
+
## Internet
|
|
182
|
+
|
|
183
|
+
- `web_search`: web search with no permission prompt. Uses your BotConnector Cloud account when a key
|
|
184
|
+
is present, otherwise goes straight to Keenable (free, no key). Results are titles, URLs, and short
|
|
185
|
+
snippets, so they are token-efficient.
|
|
186
|
+
- `fetch`: open one URL from this machine (permission required per host).
|
|
187
|
+
|
|
188
|
+
## MCP
|
|
189
|
+
|
|
190
|
+
`/mcp` (or `bccli mcp add <name>`) installs servers from the catalog:
|
|
191
|
+
`playwright`, `context7`, `fetch`, `filesystem`, `git`, `github`. Other remote servers:
|
|
192
|
+
`bccli mcp add name --url https://…`. Stored in `~/.bccli/mcp.json` (`mcpServers` format, same as
|
|
193
|
+
Claude Code). All MCP tools always require permission.
|
|
194
|
+
|
|
195
|
+
A `.bccli/mcp.json` inside a repo is not executed until you approve it (asked once per folder).
|
|
196
|
+
|
|
197
|
+
`bccli mcp serve` runs a stdio MCP server with your BotConnector tools
|
|
198
|
+
(`bc_search`, `bc_fetch`, `bc_models`, `bc_chat`) for Claude Code, Cursor, opencode, and other MCP
|
|
199
|
+
hosts. Requires `bccli login` (or `BOTCONNECTOR_API_KEY`):
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
claude mcp add botconnector -- npx -y @botconnector/bccli mcp serve
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
## Subagents
|
|
206
|
+
|
|
207
|
+
The agent can delegate work via the `task` tool:
|
|
208
|
+
- `explore` — read & search only, can run in parallel;
|
|
209
|
+
- `general` — all tools (edits/commands still ask permission);
|
|
210
|
+
- custom — `.bccli/agents/name.md` or `.claude/agents/name.md`:
|
|
211
|
+
|
|
212
|
+
```markdown
|
|
213
|
+
---
|
|
214
|
+
name: reviewer
|
|
215
|
+
description: review code changes
|
|
216
|
+
tools: [read, grep, glob]
|
|
217
|
+
model: openrouter/qwen/qwen3-coder
|
|
218
|
+
---
|
|
219
|
+
You are a code reviewer. Report real bugs only.
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## Skills & custom commands
|
|
223
|
+
|
|
224
|
+
- Skills: folders containing `SKILL.md` in `~/.bccli/skills/`, `.bccli/skills/`, `~/.claude/skills/`,
|
|
225
|
+
`.claude/skills/` — used automatically when relevant, or via `/skill-name`.
|
|
226
|
+
- Commands: `commands/name.md` in the same folders → `/name arguments` (`$ARGUMENTS` is replaced).
|
|
227
|
+
|
|
228
|
+
## Todos & plan mode
|
|
229
|
+
|
|
230
|
+
Tasks with ≥ 3 steps show a checklist above the input box. In plan mode (Shift+Tab),
|
|
231
|
+
the agent only reads and then proposes a plan; `[a]` approves with automatic edits,
|
|
232
|
+
`[y]` approves asking at each step, `[n]` asks for revisions.
|
|
233
|
+
|
|
234
|
+
Project instructions are read from `AGENTS.md`, `CLAUDE.md`, and `BCCLI.md`.
|
|
235
|
+
|
|
236
|
+
## Development
|
|
237
|
+
|
|
238
|
+
```bash
|
|
239
|
+
npm install
|
|
240
|
+
npm test && npm run typecheck && npm run lint && npm run build
|
|
241
|
+
npm run coverage # coverage gate (also enforced on Linux CI)
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
CI (`ci.yml`) runs the same on Linux, macOS, and Windows, plus the coverage gate on Linux.
|
|
245
|
+
Releases: bump `version` in `package.json`, then push a `v<version>` tag — `release.yml`
|
|
246
|
+
runs tests, a smoke test against BotConnector Cloud, and `npm publish --provenance`.
|
|
247
|
+
|
|
248
|
+
## Learn more
|
|
249
|
+
|
|
250
|
+
- [Download & BCCLI guide](https://botconnector.id/id/download)
|
|
251
|
+
- [BotConnector Developer API](https://botconnector.id/id/developers/api) — OpenAI SDK-compatible endpoint
|
|
252
|
+
- [Switchboard](https://github.com/farijarifriyanto-debug/switchboard) — BotConnector's open source agent harness
|
|
253
|
+
- [Contributing](CONTRIBUTING.md)
|