@botconnector/bccli 0.4.16 → 0.5.0-rc.4
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 +203 -21
- package/THIRD_PARTY_NOTICES.md +9 -0
- package/branding.mjs +347 -0
- package/cli.mjs +120 -0
- package/core.mjs +260 -0
- package/credentials.mjs +52 -0
- package/gateway.mjs +2 -0
- package/model-command.mjs +61 -0
- package/package.json +35 -59
- package/provider-cli.mjs +77 -0
- package/providers.mjs +166 -0
- package/proxy.mjs +242 -0
- package/startup-menu.mjs +120 -0
- package/README.en.md +0 -253
- package/README.md +0 -250
- package/dist/abort.d.ts +0 -5
- package/dist/acp-JZW3XHE5.js +0 -221
- package/dist/acp.d.ts +0 -44
- package/dist/agent.d.ts +0 -147
- package/dist/agents.d.ts +0 -4
- package/dist/args-XVO7TB4C.js +0 -13
- package/dist/args.d.ts +0 -59
- package/dist/budget.d.ts +0 -26
- package/dist/checkpoints.d.ts +0 -35
- package/dist/chunk-3CYQYHPK.js +0 -202
- package/dist/chunk-6JK4IBGK.js +0 -1075
- package/dist/chunk-6SDRWEPN.js +0 -50
- package/dist/chunk-7GM6NN5E.js +0 -341
- package/dist/chunk-7XD47KN5.js +0 -71
- package/dist/chunk-INMSTUB2.js +0 -56
- package/dist/chunk-ISOKH5WB.js +0 -256
- package/dist/chunk-JUC3ZOCV.js +0 -50
- package/dist/chunk-KDVL2NP6.js +0 -861
- package/dist/chunk-KEKDRROL.js +0 -216
- package/dist/chunk-KJIXA6MP.js +0 -159
- package/dist/chunk-OK2USAXX.js +0 -88
- package/dist/chunk-PSO7R5AD.js +0 -10
- package/dist/chunk-Q42ZGVAQ.js +0 -91
- package/dist/chunk-R754XIBJ.js +0 -523
- package/dist/chunk-S3QEZDKB.js +0 -270
- package/dist/chunk-SWNRA3EW.js +0 -78
- package/dist/chunk-TLCL6DC7.js +0 -378
- package/dist/chunk-V5D6PJQN.js +0 -8
- package/dist/chunk-YYTFJUO2.js +0 -148
- package/dist/chunk-ZJRZTMJF.js +0 -2669
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +0 -233
- package/dist/clipboardImage.d.ts +0 -17
- package/dist/commands.d.ts +0 -16
- package/dist/completion-Q7VHOPPV.js +0 -125
- package/dist/completion.d.ts +0 -14
- package/dist/config-T7MKGJVG.js +0 -34
- package/dist/config-YYEAEN2C.js +0 -25
- package/dist/config.d.ts +0 -99
- package/dist/context.d.ts +0 -13
- package/dist/contextWindow.d.ts +0 -3
- package/dist/diff.d.ts +0 -7
- package/dist/exit.d.ts +0 -9
- package/dist/extensions.d.ts +0 -34
- package/dist/ghBotCli-7VUGI63S.js +0 -680
- package/dist/ghBotCli.d.ts +0 -9
- package/dist/ghBotDispatch.d.ts +0 -68
- package/dist/ghBotRunner.d.ts +0 -82
- package/dist/ghBotServe.d.ts +0 -21
- package/dist/ghBotWebhook.d.ts +0 -45
- package/dist/hooks.d.ts +0 -27
- package/dist/i18n/id.d.ts +0 -1
- package/dist/i18n.d.ts +0 -16
- package/dist/integrationCli-FBRSTF5F.js +0 -876
- package/dist/integrationCli.d.ts +0 -9
- package/dist/keybinds.d.ts +0 -22
- package/dist/login-BSMUGW7L.js +0 -18
- package/dist/login.d.ts +0 -21
- package/dist/lsp.d.ts +0 -73
- package/dist/mcp/catalog.d.ts +0 -14
- package/dist/mcp/config.d.ts +0 -36
- package/dist/mcp/manager.d.ts +0 -52
- package/dist/mcp/oauth.d.ts +0 -82
- package/dist/mcpCli-ZT7CRYMP.js +0 -113
- package/dist/mcpCli.d.ts +0 -3
- package/dist/mcpServer/serve.d.ts +0 -8
- package/dist/mcpServer/server.d.ts +0 -19
- package/dist/models.d.ts +0 -13
- package/dist/modelsCli-2ZRW4CC4.js +0 -36
- package/dist/modelsCli.d.ts +0 -15
- package/dist/npmRunner-LU43GM3W.js +0 -46
- package/dist/npmRunner.d.ts +0 -21
- package/dist/oauthLogin-THSM6FE7.js +0 -210
- package/dist/oauthLogin.d.ts +0 -47
- package/dist/permissions.d.ts +0 -30
- package/dist/pluginSpec.d.ts +0 -25
- package/dist/plugins.d.ts +0 -45
- package/dist/pluginsCli-EKQI4CJW.js +0 -288
- package/dist/pluginsCli.d.ts +0 -16
- package/dist/prCli-FMQTOBIV.js +0 -94
- package/dist/prCli.d.ts +0 -46
- package/dist/presets.d.ts +0 -8
- package/dist/print.d.ts +0 -17
- package/dist/provider.d.ts +0 -145
- package/dist/providerCli-3TFEKV4C.js +0 -15
- package/dist/providerCli.d.ts +0 -17
- package/dist/providers.d.ts +0 -6
- package/dist/reasoning.d.ts +0 -12
- package/dist/repomap.d.ts +0 -10
- package/dist/sdk.d.ts +0 -61
- package/dist/sdk.js +0 -6494
- package/dist/serve-3BODPEPR.js +0 -532
- package/dist/serve-V6YVZTNR.js +0 -178
- package/dist/serve.d.ts +0 -37
- package/dist/serveHeartbeat.d.ts +0 -14
- package/dist/serveProtocol.d.ts +0 -47
- package/dist/session-LX4UNPCD.js +0 -12
- package/dist/session.d.ts +0 -33
- package/dist/setup-MFG3BWEU.js +0 -24
- package/dist/setup.d.ts +0 -79
- package/dist/slash/copy.d.ts +0 -1
- package/dist/slash/diff.d.ts +0 -1
- package/dist/slash/doctor.d.ts +0 -18
- package/dist/slash/export.d.ts +0 -2
- package/dist/slash/info.d.ts +0 -46
- package/dist/slash/memory.d.ts +0 -10
- package/dist/statsCli-7MIQHLVW.js +0 -353
- package/dist/statsCli.d.ts +0 -62
- package/dist/textToolCalls.d.ts +0 -6
- package/dist/thinking.d.ts +0 -17
- package/dist/tokenBudget.d.ts +0 -22
- package/dist/tools/bash.d.ts +0 -54
- package/dist/tools/diagnostics.d.ts +0 -13
- package/dist/tools/edit.d.ts +0 -12
- package/dist/tools/fetch.d.ts +0 -41
- package/dist/tools/glob.d.ts +0 -5
- package/dist/tools/globSafety.d.ts +0 -7
- package/dist/tools/grep.d.ts +0 -25
- package/dist/tools/ignore.d.ts +0 -2
- package/dist/tools/index.d.ts +0 -12
- package/dist/tools/memory.d.ts +0 -13
- package/dist/tools/paths.d.ts +0 -4
- package/dist/tools/plan.d.ts +0 -10
- package/dist/tools/read.d.ts +0 -16
- package/dist/tools/repomap.d.ts +0 -2
- package/dist/tools/sandbox.d.ts +0 -15
- package/dist/tools/shell.d.ts +0 -18
- package/dist/tools/skill.d.ts +0 -3
- package/dist/tools/task.d.ts +0 -28
- package/dist/tools/todo.d.ts +0 -13
- package/dist/tools/types.d.ts +0 -52
- package/dist/tools/websearch.d.ts +0 -9
- package/dist/tools/write.d.ts +0 -5
- package/dist/transferCli-SRSYQLSJ.js +0 -73
- package/dist/transferCli.d.ts +0 -23
- package/dist/ui/App.d.ts +0 -7
- package/dist/ui/DiffView.d.ts +0 -3
- package/dist/ui/EditableText.d.ts +0 -7
- package/dist/ui/LinePrompt.d.ts +0 -6
- package/dist/ui/ListPicker.d.ts +0 -11
- package/dist/ui/Markdown.d.ts +0 -8
- package/dist/ui/McpMenu.d.ts +0 -11
- package/dist/ui/ModelPicker.d.ts +0 -6
- package/dist/ui/PermissionPrompt.d.ts +0 -5
- package/dist/ui/PlanApproval.d.ts +0 -5
- package/dist/ui/PromptInput.d.ts +0 -20
- package/dist/ui/ProviderMenu.d.ts +0 -10
- package/dist/ui/Spinner.d.ts +0 -4
- package/dist/ui/StatusBar.d.ts +0 -9
- package/dist/ui/TodoList.d.ts +0 -4
- package/dist/ui/ToolBlock.d.ts +0 -14
- package/dist/ui/complete.d.ts +0 -8
- package/dist/ui/index.d.ts +0 -7
- package/dist/ui/lineEdit.d.ts +0 -42
- package/dist/ui/liveCap.d.ts +0 -9
- package/dist/ui/replay.d.ts +0 -4
- package/dist/ui/stdinFilter.d.ts +0 -18
- package/dist/ui/table.d.ts +0 -20
- package/dist/ui/theme.d.ts +0 -5
- package/dist/ui/thinkingMouse.d.ts +0 -38
- package/dist/ui/transcript.d.ts +0 -55
- package/dist/ui/tty.d.ts +0 -11
- package/dist/ui/vim.d.ts +0 -26
- package/dist/ui-LZ4JGF2V.js +0 -2913
- package/dist/update-P7MU4ZM7.js +0 -145
- package/dist/update.d.ts +0 -30
- package/dist/verify.d.ts +0 -16
- package/dist/version.d.ts +0 -1
- package/dist/webBudget.d.ts +0 -25
- package/dist/worktree.d.ts +0 -12
package/dist/ui/transcript.d.ts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { AgentEvent } from '../agent';
|
|
2
|
-
export interface SubLine {
|
|
3
|
-
id: string;
|
|
4
|
-
tool: string;
|
|
5
|
-
target: string;
|
|
6
|
-
done: boolean;
|
|
7
|
-
isError?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export type Entry = {
|
|
10
|
-
id: number;
|
|
11
|
-
} & ({
|
|
12
|
-
kind: 'header';
|
|
13
|
-
} | {
|
|
14
|
-
kind: 'user';
|
|
15
|
-
text: string;
|
|
16
|
-
}
|
|
17
|
-
/** cont: continuation of the entry above (no bullet); flushed: chars of this completion already moved to scrollback. */
|
|
18
|
-
| {
|
|
19
|
-
kind: 'assistant';
|
|
20
|
-
text: string;
|
|
21
|
-
cont?: boolean;
|
|
22
|
-
flushed?: number;
|
|
23
|
-
}
|
|
24
|
-
/** open: fixed state for a reprint; otherwise follows the ctrl+t toggle. */
|
|
25
|
-
| {
|
|
26
|
-
kind: 'thinking';
|
|
27
|
-
text: string;
|
|
28
|
-
open?: boolean;
|
|
29
|
-
} | {
|
|
30
|
-
kind: 'tool';
|
|
31
|
-
callId: string;
|
|
32
|
-
tool: string;
|
|
33
|
-
target: string;
|
|
34
|
-
output?: string;
|
|
35
|
-
display?: string;
|
|
36
|
-
isError?: boolean;
|
|
37
|
-
done: boolean;
|
|
38
|
-
sub?: SubLine[];
|
|
39
|
-
} | {
|
|
40
|
-
kind: 'notice';
|
|
41
|
-
text: string;
|
|
42
|
-
tone: 'info' | 'warn' | 'error';
|
|
43
|
-
});
|
|
44
|
-
/** done = printed once to scrollback (Ink <Static>); live = still changing, redrawn every frame. */
|
|
45
|
-
export interface Transcript {
|
|
46
|
-
done: Entry[];
|
|
47
|
-
live: Entry[];
|
|
48
|
-
}
|
|
49
|
-
type EntryInput = Entry extends infer E ? (E extends {
|
|
50
|
-
id: number;
|
|
51
|
-
} ? Omit<E, 'id'> : never) : never;
|
|
52
|
-
export declare const entry: (e: EntryInput) => Entry;
|
|
53
|
-
export declare function endTurn(t: Transcript): Transcript;
|
|
54
|
-
export declare function applyEvent(t: Transcript, event: AgentEvent): Transcript;
|
|
55
|
-
export {};
|
package/dist/ui/tty.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/** True when the stream reports itself as a TTY (fake test streams may still report `true`). */
|
|
2
|
-
export declare function isTtyStream(stream: unknown): boolean;
|
|
3
|
-
/** True only for a real terminal: a TTY that also exposes a file descriptor. */
|
|
4
|
-
export declare function isRealTty(stream: unknown): boolean;
|
|
5
|
-
/**
|
|
6
|
-
* Terminal width at render time. Reading it instead of listening to `resize` keeps the app to the single resize
|
|
7
|
-
* listener Ink already owns (it re-renders the tree on resize), instead of one listener per rendered message.
|
|
8
|
-
*/
|
|
9
|
-
export declare function streamColumns(stream: unknown): number;
|
|
10
|
-
/** Terminal height at render time; same reasoning as `streamColumns`. */
|
|
11
|
-
export declare function streamRows(stream: unknown): number;
|
package/dist/ui/vim.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { type LineState } from './lineEdit';
|
|
2
|
-
export type VimMode = 'normal' | 'insert';
|
|
3
|
-
/** The subset of ink's key flags applyVim looks at (EditKey is too narrow for Esc/Enter/arrows). */
|
|
4
|
-
export interface VimKey {
|
|
5
|
-
escape?: boolean;
|
|
6
|
-
upArrow?: boolean;
|
|
7
|
-
downArrow?: boolean;
|
|
8
|
-
leftArrow?: boolean;
|
|
9
|
-
rightArrow?: boolean;
|
|
10
|
-
ctrl?: boolean;
|
|
11
|
-
meta?: boolean;
|
|
12
|
-
tab?: boolean;
|
|
13
|
-
return?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface VimResult {
|
|
16
|
-
state: LineState;
|
|
17
|
-
mode: VimMode;
|
|
18
|
-
/** Set by "d" or "c" so the next key picks the text object (dd, dw, cc, cw). */
|
|
19
|
-
pending?: string;
|
|
20
|
-
handled: boolean;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Vim key handling for the prompt. Returns handled=false for keys the host input loop
|
|
24
|
-
* should process itself (insert-mode typing, arrows, ctrl/meta combos, Enter).
|
|
25
|
-
*/
|
|
26
|
-
export declare function applyVim(s: LineState, mode: VimMode, input: string, key: VimKey, pending?: string): VimResult;
|