@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/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` — every destructive tool asks via the approval UI.
124
- * - `acceptEdits` — edits/writes auto-approve; bash still asks.
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" | "acceptEdits" | "plan" | "bypassPermissions" | "dontAsk";
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.1",
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": "./dist/main.js"
10
+ "bubble": "dist/main.js"
8
11
  },
9
12
  "files": [
10
13
  "dist",