@10p.io/github 0.0.0-stage → 20.60.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/README.md +15 -2
- package/github.bundle.js +16571 -0
- package/github.main.mjs +83 -0
- package/package.json +21 -4
package/README.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @10p.io/github
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
planx server の optional plugin child `github`。
|
|
4
|
+
|
|
5
|
+
- domain の `agent` plugin に写っている claude の作業 repo (`owner/name`) を読み、GitHub から PR / issue / CI を取って domain の `github` plugin (DomainObject) に置く
|
|
6
|
+
- `github` plugin は `GET /federation` で `Agent.pull_request` を足す。domain gateway の `{ agent { agents { branch pull_request { number title } } } }` で、claude と PR が 1 query で引ける
|
|
7
|
+
|
|
8
|
+
## 使い方
|
|
9
|
+
|
|
10
|
+
planx と同じ場所に install すると、次の `planx server start` から child として起動する。
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
npm install -g @10p.io/github
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
GitHub の token は `GH_TOKEN` → `GITHUB_TOKEN` → `gh auth token` の順に探す。どれも無い時は child は起動したまま何もしない。
|