@bubblebrain-ai/bubble 0.0.1 → 0.0.3
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/agent.d.ts +8 -1
- package/dist/agent.js +45 -6
- package/dist/approval/controller.d.ts +3 -3
- package/dist/approval/controller.js +5 -5
- package/dist/cli.d.ts +0 -2
- package/dist/cli.js +2 -3
- package/dist/main.d.ts +1 -1
- package/dist/main.js +2 -4
- package/dist/permission/mode.d.ts +3 -7
- package/dist/permission/mode.js +7 -11
- package/dist/permissions/settings.js +3 -4
- package/dist/prompt/reminders.d.ts +1 -0
- package/dist/prompt/reminders.js +10 -16
- package/dist/provider-openai-codex.js +2 -0
- package/dist/provider.js +6 -2
- package/dist/slash-commands/commands.js +2 -23
- package/dist/slash-commands/types.d.ts +1 -1
- package/dist/tools/bash.js +30 -3
- package/dist/tui/clipboard.d.ts +1 -0
- package/dist/tui/clipboard.js +53 -0
- package/dist/tui/global-key-router.d.ts +3 -0
- package/dist/tui/global-key-router.js +87 -0
- package/dist/tui/prompt-keybindings.d.ts +1 -0
- package/dist/tui/prompt-keybindings.js +7 -0
- package/dist/tui/run.d.ts +1 -2
- package/dist/tui/run.js +796 -203
- package/dist/types.d.ts +5 -5
- package/package.json +5 -2
package/dist/types.d.ts
CHANGED
|
@@ -120,16 +120,14 @@ export interface ToolRegistryEntry extends ToolDefinition {
|
|
|
120
120
|
* Runtime permission policy for tool execution. Mirrors Claude Code's
|
|
121
121
|
* `EXTERNAL_PERMISSION_MODES`:
|
|
122
122
|
*
|
|
123
|
-
* - `default` —
|
|
124
|
-
*
|
|
123
|
+
* - `default` — normal Build mode: edits/writes auto-approve; bash
|
|
124
|
+
* and other destructive tools ask unless allowed by rules.
|
|
125
125
|
* - `plan` — read-only tools only; the model must propose via
|
|
126
126
|
* exit_plan_mode and get user approval before executing.
|
|
127
127
|
* - `bypassPermissions` — everything auto-approves. Must be explicitly enabled
|
|
128
128
|
* via --dangerously-skip-permissions at startup.
|
|
129
|
-
* - `dontAsk` — same as bypass but silent (no prompts, no extra
|
|
130
|
-
* narration). Not in the Shift+Tab cycle.
|
|
131
129
|
*/
|
|
132
|
-
export type PermissionMode = "default" | "
|
|
130
|
+
export type PermissionMode = "default" | "plan" | "bypassPermissions";
|
|
133
131
|
export type PlanDecision = {
|
|
134
132
|
action: "approve";
|
|
135
133
|
plan: string;
|
|
@@ -176,11 +174,13 @@ export interface Provider {
|
|
|
176
174
|
tools?: ToolDefinition[];
|
|
177
175
|
temperature?: number;
|
|
178
176
|
thinkingLevel?: ThinkingLevel;
|
|
177
|
+
abortSignal?: AbortSignal;
|
|
179
178
|
}): AsyncIterable<StreamChunk>;
|
|
180
179
|
complete(messages: Message[], options?: {
|
|
181
180
|
model?: string;
|
|
182
181
|
temperature?: number;
|
|
183
182
|
thinkingLevel?: ThinkingLevel;
|
|
183
|
+
abortSignal?: AbortSignal;
|
|
184
184
|
}): Promise<string>;
|
|
185
185
|
}
|
|
186
186
|
export type AgentEvent = {
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bubblebrain-ai/bubble",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "A terminal coding agent",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=20.0.0"
|
|
8
|
+
},
|
|
6
9
|
"bin": {
|
|
7
|
-
"bubble": "
|
|
10
|
+
"bubble": "dist/main.js"
|
|
8
11
|
},
|
|
9
12
|
"files": [
|
|
10
13
|
"dist",
|