planbee 0.1.2 → 0.1.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/README.md +47 -1
- package/THIRD-PARTY-NOTICES.txt +29 -26
- package/bin/planbee.js +213 -182
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -31,9 +31,34 @@ npm install -g planbee@latest
|
|
|
31
31
|
planbee auth login --email you@example.com
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
+
In a terminal you are prompted for the password (input is hidden). For scripts
|
|
35
|
+
and CI, pass it via stdin or the environment instead of the command line:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
printf '%s' "$PW" | planbee auth login --email you@example.com --password-stdin
|
|
39
|
+
PLANBEE_PASSWORD=… planbee auth login --email you@example.com
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Without a terminal and without one of these sources, the command fails with a
|
|
43
|
+
clear error instead of waiting for input. `--password <pass>` still works but is
|
|
44
|
+
**deprecated**: it exposes the password in the process list and the shell
|
|
45
|
+
history, and prints a warning.
|
|
46
|
+
|
|
34
47
|
This creates a long-lived CLI token (PAT) and stores it in
|
|
35
48
|
`~/.planbee/cli-auth.json` with `0600` permissions. Alternatively, an existing
|
|
36
|
-
token can be stored with `planbee auth login --token
|
|
49
|
+
token can be stored with `planbee auth login --token-stdin` (reads the token from
|
|
50
|
+
stdin) or via `PLANBEE_TOKEN=pbat_… planbee auth login`. `--token <token>` is
|
|
51
|
+
deprecated for the same reason as `--password`.
|
|
52
|
+
|
|
53
|
+
`planbee auth logout` always deletes the local file. It revokes the token on
|
|
54
|
+
the server (best effort, with a hard timeout) only if `planbee auth login
|
|
55
|
+
--email …` created it. A token you stored yourself (`--token-stdin`,
|
|
56
|
+
`PLANBEE_TOKEN`, `--token`) may also be in use on other machines or in CI, so it
|
|
57
|
+
is only removed locally; add `--revoke` to revoke it on the server as well
|
|
58
|
+
(`planbee auth logout --revoke`). Auth files written by older versions carry no
|
|
59
|
+
such marker and are treated the same way, with a note on stderr. If the server
|
|
60
|
+
cannot be reached, a warning is printed; revoke the token in the PlanBee app in
|
|
61
|
+
that case.
|
|
37
62
|
|
|
38
63
|
Against your own server:
|
|
39
64
|
|
|
@@ -72,6 +97,27 @@ planbee hooks install --project /path/to/project
|
|
|
72
97
|
planbee hooks status
|
|
73
98
|
```
|
|
74
99
|
|
|
100
|
+
Running `planbee hooks install` again on an already set-up project refreshes the
|
|
101
|
+
generated `planbee-register` / `planbee-remote` command and skill files and
|
|
102
|
+
removes the outdated `planb-register` skill (only if it is a PlanBee register
|
|
103
|
+
skill and its folder contains nothing but `SKILL.md`).
|
|
104
|
+
|
|
105
|
+
Generated files carry a `# planbee-generated …` comment line. Files with that
|
|
106
|
+
line, and unchanged files from earlier PlanBee versions, are replaced. A file
|
|
107
|
+
you changed by hand (without that line) is left alone with a warning on stderr;
|
|
108
|
+
delete the marker line to keep your own version, or run
|
|
109
|
+
`planbee hooks install --force` to replace it.
|
|
110
|
+
|
|
111
|
+
## Local session diagnostics
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
planbee peers [--json] [--verbose]
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Lists the local Claude Code sessions (`~/.claude/sessions/*.json`) and whether
|
|
118
|
+
PlanBee's cross-session wake-up can reach each one, with a concrete reason when
|
|
119
|
+
it cannot. Purely local and read-only: nothing is sent to the server.
|
|
120
|
+
|
|
75
121
|
## Author and support
|
|
76
122
|
|
|
77
123
|
[planbee.cloud](https://planbee.cloud) — infin8 world llc,
|
package/THIRD-PARTY-NOTICES.txt
CHANGED
|
@@ -4,7 +4,7 @@ Dieses Paket wird als einzelnes Bundle (bin/planbee.js) ausgeliefert und
|
|
|
4
4
|
enthaelt Code der unten aufgefuehrten Open-Source-Pakete. Deren Lizenztexte
|
|
5
5
|
sind hier vollstaendig wiedergegeben, wie es MIT und ISC verlangen.
|
|
6
6
|
|
|
7
|
-
Anzahl Pakete:
|
|
7
|
+
Anzahl Pakete: 45
|
|
8
8
|
|
|
9
9
|
==============================================================================
|
|
10
10
|
agent-base@6.0.2 (MIT)
|
|
@@ -543,6 +543,20 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
543
543
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
544
544
|
SOFTWARE.
|
|
545
545
|
|
|
546
|
+
==============================================================================
|
|
547
|
+
has-flag@4.0.0 (MIT)
|
|
548
|
+
==============================================================================
|
|
549
|
+
|
|
550
|
+
MIT License
|
|
551
|
+
|
|
552
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
553
|
+
|
|
554
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
555
|
+
|
|
556
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
557
|
+
|
|
558
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
559
|
+
|
|
546
560
|
==============================================================================
|
|
547
561
|
has-symbols@1.1.0 (MIT)
|
|
548
562
|
==============================================================================
|
|
@@ -775,31 +789,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
775
789
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
776
790
|
SOFTWARE.
|
|
777
791
|
|
|
778
|
-
==============================================================================
|
|
779
|
-
proxy-from-env@2.1.0 (MIT)
|
|
780
|
-
==============================================================================
|
|
781
|
-
|
|
782
|
-
The MIT License
|
|
783
|
-
|
|
784
|
-
Copyright (C) 2016-2018 Rob Wu <rob@robwu.nl>
|
|
785
|
-
|
|
786
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
787
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
788
|
-
the Software without restriction, including without limitation the rights to
|
|
789
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
790
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
|
791
|
-
so, subject to the following conditions:
|
|
792
|
-
|
|
793
|
-
The above copyright notice and this permission notice shall be included in all
|
|
794
|
-
copies or substantial portions of the Software.
|
|
795
|
-
|
|
796
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
797
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
798
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
799
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
800
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
801
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
802
|
-
|
|
803
792
|
==============================================================================
|
|
804
793
|
require-directory@2.1.1 (MIT)
|
|
805
794
|
==============================================================================
|
|
@@ -855,6 +844,20 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
855
844
|
|
|
856
845
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
857
846
|
|
|
847
|
+
==============================================================================
|
|
848
|
+
supports-color@7.2.0 (MIT)
|
|
849
|
+
==============================================================================
|
|
850
|
+
|
|
851
|
+
MIT License
|
|
852
|
+
|
|
853
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
854
|
+
|
|
855
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
856
|
+
|
|
857
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
858
|
+
|
|
859
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
860
|
+
|
|
858
861
|
==============================================================================
|
|
859
862
|
wrap-ansi@7.0.0 (MIT)
|
|
860
863
|
==============================================================================
|