@birdybeep/cli 0.8.2 → 0.8.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/index.d.cts CHANGED
@@ -1,3 +1,8 @@
1
+ interface BirdAnimation {
2
+ wait(): () => void;
3
+ celebrate(): Promise<void>;
4
+ }
5
+
1
6
  /** Shared exit-code convention so callers (humans + agents) can branch on the result. */
2
7
  declare const EXIT: {
3
8
  readonly OK: 0;
@@ -6,6 +11,7 @@ declare const EXIT: {
6
11
  };
7
12
  /** A minimal output sink (process.stdout/stderr in prod; capturing buffers in tests). */
8
13
  interface Writer {
14
+ readonly isTTY?: boolean;
9
15
  write(s: string): void;
10
16
  }
11
17
  interface GlobalFlags {
@@ -19,6 +25,7 @@ interface GlobalFlags {
19
25
  /** Json-aware output. `line`/`result` are mutually exclusive by mode so stdout stays clean. */
20
26
  interface Io {
21
27
  readonly json: boolean;
28
+ bird?: BirdAnimation;
22
29
  /** Human line → stdout (suppressed in `--json` mode). */
23
30
  line(text: string): void;
24
31
  /** Always → stderr (errors/warnings show in both modes). */
@@ -28,7 +35,7 @@ interface Io {
28
35
  /** Emit the right one for the mode: human text, or the structured value as JSON. */
29
36
  emit(human: string, json: unknown): void;
30
37
  }
31
- declare function createIo(json: boolean, stdout: Writer, stderr: Writer): Io;
38
+ declare function createIo(json: boolean, stdout: Writer, stderr: Writer, animate?: boolean): Io;
32
39
  interface CommandContext {
33
40
  /** Positional args after the resolved command path. */
34
41
  args: string[];
package/dist/index.d.ts CHANGED
@@ -1,3 +1,8 @@
1
+ interface BirdAnimation {
2
+ wait(): () => void;
3
+ celebrate(): Promise<void>;
4
+ }
5
+
1
6
  /** Shared exit-code convention so callers (humans + agents) can branch on the result. */
2
7
  declare const EXIT: {
3
8
  readonly OK: 0;
@@ -6,6 +11,7 @@ declare const EXIT: {
6
11
  };
7
12
  /** A minimal output sink (process.stdout/stderr in prod; capturing buffers in tests). */
8
13
  interface Writer {
14
+ readonly isTTY?: boolean;
9
15
  write(s: string): void;
10
16
  }
11
17
  interface GlobalFlags {
@@ -19,6 +25,7 @@ interface GlobalFlags {
19
25
  /** Json-aware output. `line`/`result` are mutually exclusive by mode so stdout stays clean. */
20
26
  interface Io {
21
27
  readonly json: boolean;
28
+ bird?: BirdAnimation;
22
29
  /** Human line → stdout (suppressed in `--json` mode). */
23
30
  line(text: string): void;
24
31
  /** Always → stderr (errors/warnings show in both modes). */
@@ -28,7 +35,7 @@ interface Io {
28
35
  /** Emit the right one for the mode: human text, or the structured value as JSON. */
29
36
  emit(human: string, json: unknown): void;
30
37
  }
31
- declare function createIo(json: boolean, stdout: Writer, stderr: Writer): Io;
38
+ declare function createIo(json: boolean, stdout: Writer, stderr: Writer, animate?: boolean): Io;
32
39
  interface CommandContext {
33
40
  /** Positional args after the resolved command path. */
34
41
  args: string[];
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  parseGlobalFlags,
9
9
  requireValue,
10
10
  runCli
11
- } from "./chunk-CZ4G735V.js";
11
+ } from "./chunk-NSHPZ3RX.js";
12
12
  export {
13
13
  CLI_VERSION,
14
14
  EXIT,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@birdybeep/cli",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "CLI for connecting a machine to BirdyBeep and installing coding-agent hooks.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -32,12 +32,12 @@
32
32
  ],
33
33
  "dependencies": {
34
34
  "uqr": "0.1.2",
35
- "@birdybeep/agent-core": "0.8.2",
36
- "@birdybeep/claude-code": "0.8.2",
37
- "@birdybeep/codex": "0.8.2",
38
- "@birdybeep/copilot": "0.8.2",
39
- "@birdybeep/cursor": "0.8.2",
40
- "@birdybeep/opencode": "0.8.2"
35
+ "@birdybeep/agent-core": "0.8.3",
36
+ "@birdybeep/claude-code": "0.8.3",
37
+ "@birdybeep/cursor": "0.8.3",
38
+ "@birdybeep/codex": "0.8.3",
39
+ "@birdybeep/copilot": "0.8.3",
40
+ "@birdybeep/opencode": "0.8.3"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@birdybeep/test-harness": "0.0.0"