brainstorming 0.1.0 → 0.1.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/dist/index.js +6 -4
- package/package.json +22 -7
package/dist/index.js
CHANGED
|
@@ -753,6 +753,7 @@ import { execFileSync } from "child_process";
|
|
|
753
753
|
// ../../packages/adapters/src/antigravity.ts
|
|
754
754
|
import { spawn as nodeSpawn } from "child_process";
|
|
755
755
|
import readline from "readline";
|
|
756
|
+
import { Readable } from "stream";
|
|
756
757
|
var AntigravityAdapter = class {
|
|
757
758
|
constructor(name = "antigravity", opts = {}) {
|
|
758
759
|
this.name = name;
|
|
@@ -780,13 +781,14 @@ var AntigravityAdapter = class {
|
|
|
780
781
|
#defaultSpawn = (args2, opts) => {
|
|
781
782
|
const child = nodeSpawn(this.#bin, args2, {
|
|
782
783
|
cwd: opts.cwd,
|
|
783
|
-
stdio: ["ignore", "pipe", "
|
|
784
|
+
stdio: ["ignore", "pipe", "ignore"],
|
|
784
785
|
env: process.env
|
|
785
786
|
});
|
|
786
|
-
if (!child.stdout
|
|
787
|
+
if (!child.stdout) throw new Error("agy: stdout pipe unavailable");
|
|
787
788
|
return {
|
|
788
789
|
stdout: child.stdout,
|
|
789
|
-
stderr: child.stderr
|
|
790
|
+
stderr: child.stderr ?? new Readable({ read() {
|
|
791
|
+
} }),
|
|
790
792
|
on: (event, listener) => child.on(event, listener),
|
|
791
793
|
kill: (signal) => void child.kill(signal)
|
|
792
794
|
};
|
|
@@ -1083,7 +1085,7 @@ var CodexAdapter = class {
|
|
|
1083
1085
|
return this.#threadId;
|
|
1084
1086
|
}
|
|
1085
1087
|
#defaultConnect = ({ cwd }) => {
|
|
1086
|
-
const child = spawn(this.#bin, ["app-server"], { cwd, stdio: ["pipe", "pipe", "
|
|
1088
|
+
const child = spawn(this.#bin, ["app-server"], { cwd, stdio: ["pipe", "pipe", "ignore"], env: process.env });
|
|
1087
1089
|
const rl = readline2.createInterface({ input: child.stdout });
|
|
1088
1090
|
return {
|
|
1089
1091
|
send: (message) => child.stdin.write(JSON.stringify(message) + "\n"),
|
package/package.json
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brainstorming",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "A terminal group chat where Claude Code, Codex, Antigravity and Ollama collaborate in one shared conversation over your codebase.",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"bin": {
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"bin": {
|
|
7
|
+
"brainstorming": "./dist/index.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"README.md",
|
|
12
|
+
"LICENSE"
|
|
13
|
+
],
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=20"
|
|
16
|
+
},
|
|
9
17
|
"scripts": {
|
|
10
18
|
"demo": "tsx src/index.ts --demo",
|
|
11
19
|
"start": "tsx src/index.ts",
|
|
@@ -41,8 +49,15 @@
|
|
|
41
49
|
],
|
|
42
50
|
"author": "aliildan",
|
|
43
51
|
"license": "MIT",
|
|
44
|
-
"repository": {
|
|
52
|
+
"repository": {
|
|
53
|
+
"type": "git",
|
|
54
|
+
"url": "git+https://github.com/aliildan/brainstorming.git"
|
|
55
|
+
},
|
|
45
56
|
"homepage": "https://github.com/aliildan/brainstorming#readme",
|
|
46
|
-
"bugs": {
|
|
47
|
-
|
|
57
|
+
"bugs": {
|
|
58
|
+
"url": "https://github.com/aliildan/brainstorming/issues"
|
|
59
|
+
},
|
|
60
|
+
"publishConfig": {
|
|
61
|
+
"access": "public"
|
|
62
|
+
}
|
|
48
63
|
}
|