@tt-a1i/hive 0.6.0-alpha.7 → 1.0.0

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/CHANGELOG.md CHANGED
@@ -2,6 +2,43 @@
2
2
 
3
3
  All notable user-facing changes will be documented in this file.
4
4
 
5
+ ## 1.0.0 - 2026-05-17
6
+
7
+ Stable release.
8
+
9
+ - Hive is now published as the stable `1.0.0` release. The install path stays
10
+ the same: `npm install -g @tt-a1i/hive` or `npx @tt-a1i/hive`.
11
+ - Fixed PTY keyboard handling so Shift+Enter can reach terminal apps such as
12
+ Claude Code and Gemini instead of being swallowed as a plain submit.
13
+ - Worker cards now present live terminal state as `running` / `运行中` rather
14
+ than exposing the internal `working` vs `idle` dispatch-status distinction.
15
+ The protocol-level `idle / working / stopped` states remain unchanged.
16
+ - Worker detail modals reserve Escape for the embedded terminal, so agent
17
+ shortcuts that use Escape no longer close the modal accidentally.
18
+ - Codex session capture no longer decodes every historical
19
+ `~/.codex/sessions/**/rollout-*.jsonl` file during agent startup. It reads a
20
+ bounded first line only, which removes multi-second add-member stalls on
21
+ large Codex session stores.
22
+ - CLI agent logos are preloaded and decoded synchronously to reduce the blank
23
+ avatar flash immediately after a member is created.
24
+
25
+ ## 0.6.0-alpha.8 - 2026-05-16
26
+
27
+ License switch — no code changes from alpha.7.
28
+
29
+ - Starting from this version, Hive is licensed under the **Business Source
30
+ License 1.1** (BSL), not Apache-2.0. BSL allows personal use, internal
31
+ organizational deployment, embedding in non-competitive products, and
32
+ non-commercial forks. It only prohibits offering Hive as a hosted or
33
+ embedded multi-agent orchestration service to third parties on a paid
34
+ basis. On **2030-05-16** the license automatically converts to Apache-2.0.
35
+ - All versions at or before `0.6.0-alpha.7` remain permanently licensed
36
+ under Apache-2.0 — that grant is irrevocable and is not affected by this
37
+ switch.
38
+ - See [`LICENSE.BSL`](./LICENSE.BSL) for the full BSL text including the
39
+ Additional Use Grant, and [`LICENSE`](./LICENSE) for the historical
40
+ Apache-2.0 grant.
41
+
5
42
  ## 0.6.0-alpha.7 - 2026-05-16
6
43
 
7
44
  Worker identity, language, and workflow polish.
package/LICENSE CHANGED
@@ -1,3 +1,10 @@
1
+ This Apache License 2.0 applies only to versions of Hive at or before
2
+ 0.6.0-alpha.7. Starting from 0.6.0-alpha.8, Hive is licensed under the
3
+ Business Source License 1.1 (see LICENSE.BSL). The BSL automatically
4
+ converts to Apache-2.0 on 2030-05-16.
5
+
6
+ ---
7
+
1
8
  Apache License
2
9
  Version 2.0, January 2004
3
10
  https://www.apache.org/licenses/
@@ -199,4 +206,3 @@
199
206
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
207
  See the License for the specific language governing permissions and
201
208
  limitations under the License.
202
-
package/LICENSE.BSL ADDED
@@ -0,0 +1,101 @@
1
+ Business Source License 1.1
2
+
3
+ Licensor: Shaokun Tu (tt-a1i)
4
+ Licensed Work: Hive 0.6.0-alpha.8 and later
5
+ Change Date: 2030-05-16
6
+ Change License: Apache License, Version 2.0
7
+
8
+ Additional Use Grant:
9
+
10
+ You may make production use of the Licensed Work, provided Your use does not
11
+ include offering the Licensed Work to third parties on a hosted or embedded
12
+ basis in order to compete with Licensor's multi-CLI-agent orchestration
13
+ product.
14
+
15
+ For purposes of this license, a "competitive offering" is a Product that:
16
+ (a) is offered to third parties on a paid basis, including paid support
17
+ arrangements or any form of revenue-generating arrangement; and
18
+ (b) provides browser-accessible multi-CLI-agent collaboration
19
+ (orchestrator + worker agents running as PTY sessions communicating
20
+ via a team protocol), substantially overlapping with the core
21
+ capabilities of the Licensed Work.
22
+
23
+ Internal production use by Your organization, embedding the Licensed Work
24
+ into a non-competitive product, and non-commercial forks are not
25
+ "competitive offerings".
26
+
27
+ License text copyright (c) 2024 MariaDB plc, All Rights Reserved.
28
+ "Business Source License" is a trademark of MariaDB plc.
29
+
30
+ Terms
31
+
32
+ The Licensor hereby grants you the right to copy, modify, create derivative
33
+ works, redistribute, and make non-production use of the Licensed Work. The
34
+ Licensor may make an Additional Use Grant, above, permitting limited
35
+ production use.
36
+
37
+ Effective on the Change Date, or the fourth anniversary of the first publicly
38
+ available distribution of a specific version of the Licensed Work under this
39
+ License, whichever comes first, the Licensor hereby grants you rights under
40
+ the terms of the Change License, and the rights granted in the paragraph
41
+ above terminate.
42
+
43
+ If your use of the Licensed Work does not comply with the requirements
44
+ currently in effect as described in this License, you must purchase a
45
+ commercial license from the Licensor, its affiliated entities, or authorized
46
+ resellers, or you must refrain from using the Licensed Work.
47
+
48
+ All copies of the original and modified Licensed Work, and derivative works
49
+ of the Licensed Work, are subject to this License. This License applies
50
+ separately for each version of the Licensed Work and the Change Date may
51
+ vary for each version of the Licensed Work released by Licensor.
52
+
53
+ You must conspicuously display this License on each original or modified copy
54
+ of the Licensed Work. If you receive the Licensed Work in original or
55
+ modified form from a third party, the terms and conditions set forth in this
56
+ License apply to your use of that work.
57
+
58
+ Any use of the Licensed Work in violation of this License will automatically
59
+ terminate your rights under this License for the current and all other
60
+ versions of the Licensed Work.
61
+
62
+ This License does not grant you any right in any trademark or logo of
63
+ Licensor or its affiliates (provided that you may use a trademark or logo of
64
+ Licensor as expressly required by this License).
65
+
66
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
67
+ AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
68
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
69
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
70
+ TITLE.
71
+
72
+ MariaDB hereby grants you permission to use this License's text to license
73
+ your works, and to refer to it using the trademark "Business Source License",
74
+ as long as you comply with the Covenants of Licensor below.
75
+
76
+ Covenants of Licensor
77
+
78
+ In consideration of the right to use this License's text and the "Business
79
+ Source License" name and trademark, Licensor covenants to MariaDB, and to
80
+ all other recipients of the licensed work to be provided by Licensor:
81
+
82
+ To specify as the Change License the GPL Version 2.0 or any later version,
83
+ or a license that is compatible with GPL Version 2.0 or a later version,
84
+ where "compatible" means that software provided under the Change License can
85
+ be included in a program with software provided under GPL Version 2.0 or a
86
+ later version. Licensor may specify additional Change Licenses without
87
+ limitation.
88
+
89
+ To either: (a) specify an additional grant of rights to use that does not
90
+ impose any additional restriction on the right granted in this License, as
91
+ the Additional Use Grant; or (b) insert the text "None".
92
+
93
+ To specify a Change Date.
94
+
95
+ Not to modify this License in any other way.
96
+
97
+ Notice
98
+
99
+ The Business Source License (this document, or the "License") is not an Open
100
+ Source license. However, the Licensed Work will eventually be made available
101
+ under an Open Source License, as stated in this License.
package/README.en.md CHANGED
@@ -15,17 +15,17 @@ injects into each agent's shell, and shares a markdown task graph at
15
15
  [![ci](https://img.shields.io/github/actions/workflow/status/tt-a1i/hive/release.yml?branch=main&label=ci)](https://github.com/tt-a1i/hive/actions/workflows/release.yml)
16
16
  [![Website](https://img.shields.io/badge/website-hive--site.pages.dev-5a8a8a.svg)](https://hive-site.pages.dev)
17
17
  [![Node](https://img.shields.io/badge/node-%3E%3D22-3c873a.svg)](https://nodejs.org/)
18
- [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](./LICENSE)
18
+ [![License](https://img.shields.io/badge/license-BUSL--1.1-orange.svg)](./LICENSE.BSL)
19
19
  [![Platforms](https://img.shields.io/badge/platforms-macOS%20%C2%B7%20Linux%20%C2%B7%20Windows%20(best--effort)-lightgrey.svg)](#platform-support)
20
20
 
21
21
  🌐 **Website**: [hive-site.pages.dev/en/](https://hive-site.pages.dev/en/) · [中文](https://hive-site.pages.dev/)
22
22
 
23
23
  English · [简体中文](./README.md)
24
24
 
25
- > Public preview. Hive is local-first, runs on `127.0.0.1`, and is intended
26
- > for developers who already use CLI coding agents. The latest published
27
- > version is on [npm](https://www.npmjs.com/package/@tt-a1i/hive) and the
28
- > badge above resolves to it.
25
+ > Hive is local-first, runs on `127.0.0.1`, and is intended for developers who
26
+ > already use CLI coding agents. The latest stable release is on
27
+ > [npm](https://www.npmjs.com/package/@tt-a1i/hive) and the badge above resolves
28
+ > to it.
29
29
 
30
30
  ## Why Hive
31
31
 
@@ -264,9 +264,12 @@ verifies macOS, Ubuntu, and Windows, then publishes to npm with `NPM_TOKEN`.
264
264
 
265
265
  ## Status
266
266
 
267
- Hive is in alpha public preview. Expect UI and protocol details to keep moving
268
- while the core local orchestration model hardens.
267
+ Hive is published as a stable release. Current work focuses on polishing the
268
+ multi-CLI-agent workflow, Windows support, and clearer orchestration
269
+ observability.
269
270
 
270
271
  ## License
271
272
 
272
- Apache-2.0. See [LICENSE](LICENSE).
273
+ Hive is licensed under the Business Source License 1.1 (see [LICENSE.BSL](LICENSE.BSL)). BSL permits personal use, internal deployment, embedding in non-competitive products, and non-commercial forks; it **only prohibits** offering Hive as a hosted multi-agent orchestration service to third parties.
274
+
275
+ See the Additional Use Grant in [LICENSE.BSL](LICENSE.BSL) for the exact boundary.
package/README.md CHANGED
@@ -10,14 +10,14 @@
10
10
  [![ci](https://img.shields.io/github/actions/workflow/status/tt-a1i/hive/release.yml?branch=main&label=ci)](https://github.com/tt-a1i/hive/actions/workflows/release.yml)
11
11
  [![Website](https://img.shields.io/badge/website-hive--site.pages.dev-5a8a8a.svg)](https://hive-site.pages.dev)
12
12
  [![Node](https://img.shields.io/badge/node-%3E%3D22-3c873a.svg)](https://nodejs.org/)
13
- [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](./LICENSE)
13
+ [![License](https://img.shields.io/badge/license-BUSL--1.1-orange.svg)](./LICENSE.BSL)
14
14
  [![Platforms](https://img.shields.io/badge/platforms-macOS%20%C2%B7%20Linux%20%C2%B7%20Windows%20(best--effort)-lightgrey.svg)](#平台支持)
15
15
 
16
16
  🌐 **官网**:[hive-site.pages.dev](https://hive-site.pages.dev/)([English](https://hive-site.pages.dev/en/))
17
17
 
18
18
  [English](./README.en.md) · 简体中文
19
19
 
20
- > Public preview。Hive 是本机优先的工具,只监听 `127.0.0.1`,面向已经在用 CLI Coding Agent 的开发者。最新发布版本见 [npm](https://www.npmjs.com/package/@tt-a1i/hive),上面的 badge 会指向它。
20
+ > Hive 是本机优先的工具,只监听 `127.0.0.1`,面向已经在用 CLI Coding Agent 的开发者。最新稳定版本见 [npm](https://www.npmjs.com/package/@tt-a1i/hive),上面的 badge 会指向它。
21
21
 
22
22
  ## 为什么需要 Hive
23
23
 
@@ -211,8 +211,10 @@ pnpm release:dry
211
211
 
212
212
  ## 状态
213
213
 
214
- Hive 正处于 alpha public preview 阶段。在本机调度模型稳定下来之前,UI 和协议细节还会继续调整。
214
+ Hive 已发布稳定版。当前重点是继续打磨多 CLI Agent 协作体验、Windows 支持和更清晰的调度可观测性。
215
215
 
216
216
  ## License
217
217
 
218
- Apache-2.0。详见 [LICENSE](LICENSE)
218
+ Hive 使用 Business Source License 1.1([LICENSE.BSL](LICENSE.BSL))。BSL 允许个人使用、内部部署、嵌入其他产品、非商业 fork;**仅禁止**把 Hive 包装成多 agent 协作 SaaS 卖给第三方。
219
+
220
+ 详细边界见 [LICENSE.BSL](LICENSE.BSL) 的 Additional Use Grant。
@@ -1,4 +1,5 @@
1
1
  export declare const getCodexHome: (pattern?: string) => string;
2
+ export declare const readCodexSessionFirstLine: (filePath: string, maxBytes?: number) => string | null;
2
3
  export declare const hasCodexSession: (cwd: string, sessionId: string, pattern?: string) => boolean;
3
4
  export declare const snapshotCodexSessionIds: (cwd: string, codexHome?: string) => Set<string>;
4
5
  export declare const captureCodexSessionId: (cwd: string, knownSessionIds: Set<string>, onCapture: (sessionId: string) => void, timeoutMs?: number, intervalMs?: number, codexHome?: string) => Promise<void>;
@@ -1,8 +1,10 @@
1
- import { existsSync, readdirSync, readFileSync } from 'node:fs';
1
+ import { closeSync, existsSync, openSync, readdirSync, readSync } from 'node:fs';
2
2
  import { homedir } from 'node:os';
3
3
  import { join } from 'node:path';
4
4
  import { captureSessionIdWithCoordinator } from './claude-session-coordinator.js';
5
5
  const CODEX_SESSION_FILE = /^rollout-.*\.jsonl$/i;
6
+ const CODEX_HEADER_READ_CHUNK_BYTES = 4096;
7
+ const CODEX_HEADER_MAX_BYTES = 64 * 1024;
6
8
  const getDefaultCodexHome = () => process.env.CODEX_HOME ?? join(homedir(), '.codex');
7
9
  const expandHome = (path) => path === '~' || path.startsWith('~/') ? join(homedir(), path.slice(2)) : path;
8
10
  export const getCodexHome = (pattern) => {
@@ -30,8 +32,42 @@ const walkSessionFiles = (dir) => {
30
32
  return [];
31
33
  }
32
34
  };
35
+ export const readCodexSessionFirstLine = (filePath, maxBytes = CODEX_HEADER_MAX_BYTES) => {
36
+ const fd = openSync(filePath, 'r');
37
+ try {
38
+ const chunks = [];
39
+ let totalBytes = 0;
40
+ let position = 0;
41
+ let reachedLineEnd = false;
42
+ while (totalBytes < maxBytes) {
43
+ const bytesToRead = Math.min(CODEX_HEADER_READ_CHUNK_BYTES, maxBytes - totalBytes);
44
+ const buffer = Buffer.allocUnsafe(bytesToRead);
45
+ const bytesRead = readSync(fd, buffer, 0, bytesToRead, position);
46
+ if (bytesRead === 0) {
47
+ reachedLineEnd = true;
48
+ break;
49
+ }
50
+ const slice = buffer.subarray(0, bytesRead);
51
+ const newlineIndex = slice.indexOf(0x0a);
52
+ if (newlineIndex >= 0) {
53
+ chunks.push(slice.subarray(0, newlineIndex));
54
+ reachedLineEnd = true;
55
+ break;
56
+ }
57
+ chunks.push(slice);
58
+ totalBytes += bytesRead;
59
+ position += bytesRead;
60
+ }
61
+ if (!reachedLineEnd)
62
+ return null;
63
+ return Buffer.concat(chunks).toString('utf8').replace(/\r$/, '');
64
+ }
65
+ finally {
66
+ closeSync(fd);
67
+ }
68
+ };
33
69
  const parseCodexSession = (filePath) => {
34
- const firstLine = readFileSync(filePath, 'utf8').split(/\r?\n/, 1)[0] ?? '';
70
+ const firstLine = readCodexSessionFirstLine(filePath) ?? '';
35
71
  const parsed = JSON.parse(firstLine);
36
72
  if (!parsed || typeof parsed !== 'object' || !('payload' in parsed))
37
73
  return null;
@@ -1 +1 @@
1
- {"version":3,"file":"session-capture-codex.js","sourceRoot":"","sources":["../../../src/server/session-capture-codex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAEhC,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAA;AAEjF,MAAM,kBAAkB,GAAG,sBAAsB,CAAA;AAEjD,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,QAAQ,CAAC,CAAA;AAErF,MAAM,UAAU,GAAG,CAAC,IAAY,EAAE,EAAE,CAClC,IAAI,KAAK,GAAG,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;AAE/E,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,OAAgB,EAAE,EAAE;IAC/C,IAAI,CAAC,OAAO;QAAE,OAAO,mBAAmB,EAAE,CAAA;IAC1C,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,CAAA;IACjD,IAAI,WAAW,KAAK,CAAC,CAAC;QAAE,OAAO,mBAAmB,EAAE,CAAA;IACpD,MAAM,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,WAAW,CAAC,CAAA;IAC7C,IAAI,OAAO,KAAK,UAAU,IAAI,OAAO,KAAK,WAAW;QAAE,OAAO,mBAAmB,EAAE,CAAA;IACnF,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAChC,OAA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QACpC,UAAU;QACV,eAAe;QACf,cAAc,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,GAAG,EAAE,SAAS,CAAC;QACpD,SAAS;QACT,UAAU,EAAE,IAAI,CAAC,SAAS,EAAE,UAAU,EAAE,GAAG,CAAC;QAC5C,SAAS;KACV,CAAC,CAAA;AACJ,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,SAAS,GAAG,mBAAmB,EAAE,EAAE,EAAE,CAC3E,UAAU,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@tt-a1i/hive",
3
- "version": "0.6.0-alpha.7",
3
+ "version": "1.0.0",
4
4
  "description": "Browser-native hive-mind for CLI coding agents — Claude Code, Codex, Gemini, and OpenCode collaborate as real PTY processes via a team protocol.",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.30.3",
7
- "license": "Apache-2.0",
7
+ "license": "BUSL-1.1",
8
8
  "keywords": [
9
9
  "ai-agents",
10
10
  "cli",
@@ -30,6 +30,7 @@
30
30
  "assets/",
31
31
  "CHANGELOG.md",
32
32
  "LICENSE",
33
+ "LICENSE.BSL",
33
34
  "README.md",
34
35
  "README.en.md",
35
36
  "SECURITY.md",