@heossihq/beecode 0.1.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/LICENSE +112 -0
- package/README.md +50 -0
- package/dist/cli.js +1646 -0
- package/package.json +56 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
Bee Code — command-line interface
|
|
2
|
+
Copyright (c) 2026 HEOSSI (Pte.) Ltd. All rights reserved.
|
|
3
|
+
|
|
4
|
+
HEOSSI (Pte.) Ltd. is a company registered in Singapore, UEN 202532790K.
|
|
5
|
+
https://www.heossi.com
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
1. PROPRIETARY SOFTWARE
|
|
9
|
+
|
|
10
|
+
This software is proprietary software. It is not open source and is not
|
|
11
|
+
covered by the Apache License, Version 2.0, under which certain other parts of
|
|
12
|
+
the Bee project are released. Nothing in this file grants any right under that
|
|
13
|
+
licence or any other.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
2. LICENCE GRANTED
|
|
17
|
+
|
|
18
|
+
Subject to your compliance with this file and with the Bee Terms of Service,
|
|
19
|
+
HEOSSI (Pte.) Ltd. grants you a personal, non-exclusive, non-transferable,
|
|
20
|
+
non-sublicensable, revocable licence to install and use this software, in the
|
|
21
|
+
form in which it is distributed, for the purpose of connecting to and using the
|
|
22
|
+
Bee service.
|
|
23
|
+
|
|
24
|
+
This licence is granted for use of the software as distributed. It is not a
|
|
25
|
+
sale, and no ownership passes to you.
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
3. RESTRICTIONS
|
|
29
|
+
|
|
30
|
+
Except to the extent that the restriction is prohibited by applicable law, or
|
|
31
|
+
expressly permitted in writing by HEOSSI (Pte.) Ltd., you may not:
|
|
32
|
+
|
|
33
|
+
(a) copy, redistribute, sublicense, sell, rent, lease or lend the software,
|
|
34
|
+
or make it available to any third party;
|
|
35
|
+
(b) modify the software or create derivative works from it;
|
|
36
|
+
(c) reverse engineer, decompile or disassemble the software, or otherwise
|
|
37
|
+
attempt to derive its source code;
|
|
38
|
+
(d) remove, obscure or alter any proprietary notice, attribution or licence
|
|
39
|
+
text contained in or accompanying the software;
|
|
40
|
+
(e) use the software to build, train or improve a competing product or
|
|
41
|
+
service.
|
|
42
|
+
|
|
43
|
+
Where applicable law grants you a right that section 3(c) would otherwise
|
|
44
|
+
restrict — such as the right to obtain interoperability information — that
|
|
45
|
+
right is not limited by this file.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
4. THE BEE SERVICE
|
|
49
|
+
|
|
50
|
+
The software is a client. It operates by connecting to the Bee service, which
|
|
51
|
+
is provided separately and governed by its own terms. Your use of the service
|
|
52
|
+
through this software is subject to:
|
|
53
|
+
|
|
54
|
+
Terms of Service https://bee.heossi.com/legal/terms
|
|
55
|
+
Privacy Policy https://bee.heossi.com/legal/privacy
|
|
56
|
+
Acceptable Use https://bee.heossi.com/legal/acceptable-use
|
|
57
|
+
|
|
58
|
+
No licence to the Bee service, to any Bee model, or to any model weights is
|
|
59
|
+
granted by this file.
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
5. TRADE MARKS
|
|
63
|
+
|
|
64
|
+
"Bee", "Bee Code", "HEOSSI" and the Bee marks and logos are trade marks of
|
|
65
|
+
HEOSSI (Pte.) Ltd. All rights in them are reserved. This licence grants no
|
|
66
|
+
right to use them, other than as they appear unaltered in the software as
|
|
67
|
+
distributed.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
6. NO WARRANTY
|
|
71
|
+
|
|
72
|
+
THE EXTENSION IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
73
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
74
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
75
|
+
|
|
76
|
+
The software edits files and executes commands in your workspace at your
|
|
77
|
+
direction and with your approval. You are responsible for the changes you
|
|
78
|
+
approve, and for maintaining your own backups and version control.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
7. LIMITATION OF LIABILITY
|
|
82
|
+
|
|
83
|
+
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL HEOSSI
|
|
84
|
+
(Pte.) Ltd. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
85
|
+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
86
|
+
WITH THE EXTENSION OR THE USE OR OTHER DEALINGS IN THE EXTENSION.
|
|
87
|
+
|
|
88
|
+
Nothing in this file excludes or limits liability that cannot lawfully be
|
|
89
|
+
excluded or limited.
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
8. TERMINATION
|
|
93
|
+
|
|
94
|
+
This licence terminates automatically if you breach it. On termination you must
|
|
95
|
+
stop using the software and remove it.
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
9. GOVERNING LAW
|
|
99
|
+
|
|
100
|
+
This licence is governed by the laws of Singapore.
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
================================================================================
|
|
104
|
+
THIRD-PARTY COMPONENTS
|
|
105
|
+
================================================================================
|
|
106
|
+
|
|
107
|
+
This software includes the following third-party components, each licensed by
|
|
108
|
+
its own terms. Those terms govern those components, not this file.
|
|
109
|
+
|
|
110
|
+
The published bundle (dist/cli.js) is compiled from this project's own source
|
|
111
|
+
and carries no third-party runtime dependencies.
|
|
112
|
+
--------------------------------------------------------------------------------
|
package/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Bee Code CLI
|
|
2
|
+
|
|
3
|
+
An agentic coding assistant for your terminal, from [HEOSSI](https://www.heossi.com).
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npm install -g @heossi/beecode
|
|
7
|
+
beecode login
|
|
8
|
+
beecode "add a guard to handleAuth that rejects an empty token"
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Bee Code speaks Bee's **agent plane** (`bee.code.v1`) against
|
|
12
|
+
`https://api.bee.heossi.com/bee/code/v1/turns`. The transcript, the approval gate
|
|
13
|
+
and the loop live on your machine: the server answers one turn at a time and
|
|
14
|
+
holds nothing between them.
|
|
15
|
+
|
|
16
|
+
Every connection uses post-quantum key exchange — `X25519MLKEM768`, whose
|
|
17
|
+
ML-KEM-768 half is NIST FIPS 203. On every plan, including free. Check it
|
|
18
|
+
yourself:
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
openssl s_client -connect api.bee.heossi.com:443 -tls1_3 </dev/null 2>/dev/null | grep group
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Signing in
|
|
25
|
+
|
|
26
|
+
`beecode login` opens your browser and signs you in against your Bee
|
|
27
|
+
subscription. The credential is stored in your system keychain on macOS, or
|
|
28
|
+
`~/.bee/code/auth.json` (mode 0600) elsewhere.
|
|
29
|
+
|
|
30
|
+
The same session is picked up automatically by the Bee Code extension for VS
|
|
31
|
+
Code, so signing in once covers both.
|
|
32
|
+
|
|
33
|
+
## Commands
|
|
34
|
+
|
|
35
|
+
| | |
|
|
36
|
+
|---|---|
|
|
37
|
+
| `beecode login` | sign in through the browser |
|
|
38
|
+
| `beecode "<prompt>"` | run one task in the current directory |
|
|
39
|
+
| `beecode --root PATH` | work in a different directory |
|
|
40
|
+
| `beecode --mode MODE` | `manual`, `plan`, `edit` or `auto` |
|
|
41
|
+
|
|
42
|
+
## Environment
|
|
43
|
+
|
|
44
|
+
| | |
|
|
45
|
+
|---|---|
|
|
46
|
+
| `BEE_CODE_API_URL` | override the agent-plane endpoint |
|
|
47
|
+
| `BEE_CODE_AUTH_FILE` | override the credential path |
|
|
48
|
+
|
|
49
|
+
Part of **Bee by HEOSSI** — The Progressive Quantum-Native Intelligence Engine.
|
|
50
|
+
[bee.heossi.com](https://bee.heossi.com)
|