@dual-os/github-api 0.0.0-stage → 6.0.5
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 +28 -0
- package/README.md +34 -2
- package/Runner.js +5537 -0
- package/Runner.js.map +59 -0
- package/bundle-inventory.json +1 -0
- package/dist/_virtual/_rolldown/runtime.js +10 -0
- package/dist/_virtual/_rolldown/runtime.js.map +9 -0
- package/dist/auth.d.ts +49 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +21 -0
- package/dist/auth.js.map +9 -0
- package/dist/channel/github-app-client.d.ts +67 -0
- package/dist/channel/github-app-client.d.ts.map +1 -0
- package/dist/channel/github-app-client.js +18 -0
- package/dist/channel/github-app-client.js.map +9 -0
- package/dist/channel/github-app-definition.d.ts +190 -0
- package/dist/channel/github-app-definition.d.ts.map +1 -0
- package/dist/channel/github-app-definition.js +32 -0
- package/dist/channel/github-app-definition.js.map +9 -0
- package/dist/channel/github-app.d.ts +126 -0
- package/dist/channel/github-app.d.ts.map +1 -0
- package/dist/channel/github-app.js +17 -0
- package/dist/channel/github-app.js.map +9 -0
- package/dist/channel/internal/webhook.d.ts +38 -0
- package/dist/channel/internal/webhook.d.ts.map +1 -0
- package/dist/channel/internal/webhook.js +22 -0
- package/dist/channel/internal/webhook.js.map +9 -0
- package/dist/generated/http.d.ts +81 -0
- package/dist/generated/http.d.ts.map +1 -0
- package/dist/generated/http.js +66 -0
- package/dist/generated/http.js.map +9 -0
- package/dist/generated/operations.d.ts +20998 -0
- package/dist/generated/operations.d.ts.map +1 -0
- package/dist/generated/operations.js +4934 -0
- package/dist/generated/operations.js.map +9 -0
- package/dist/generated/plugin.d.ts +6318 -0
- package/dist/generated/plugin.d.ts.map +1 -0
- package/dist/generated/plugin.js +20 -0
- package/dist/generated/plugin.js.map +9 -0
- package/dist/plugin.d.ts +10 -0
- package/dist/plugin.d.ts.map +1 -0
- package/dist/plugin.js +33 -0
- package/dist/plugin.js.map +10 -0
- package/dist/triggers.d.ts +151 -0
- package/dist/triggers.d.ts.map +1 -0
- package/dist/triggers.js +19 -0
- package/dist/triggers.js.map +9 -0
- package/dual-plugin.json +1 -0
- package/licenses/@dual-os_sdk@0.9.0/LICENSE +4 -0
- package/licenses/@effect_platform-node-shared@4.1.2/LICENSE +21 -0
- package/licenses/@effect_platform-node@4.1.2/LICENSE +21 -0
- package/licenses/effect@4.1.2/LICENSE +21 -0
- package/package.json +1 -6
- package/plugin-1b35jx9g.js +64 -0
- package/plugin-1b35jx9g.js.map +10 -0
- package/plugin-2jdfj02n.js +18 -0
- package/plugin-2jdfj02n.js.map +10 -0
- package/plugin-2qqpmr67.js +108 -0
- package/plugin-2qqpmr67.js.map +10 -0
- package/plugin-3ryytw13.js +1257 -0
- package/plugin-3ryytw13.js.map +17 -0
- package/plugin-5rkcrntd.js +160 -0
- package/plugin-5rkcrntd.js.map +10 -0
- package/plugin-7hfrx1dg.js +167 -0
- package/plugin-7hfrx1dg.js.map +10 -0
- package/plugin-e0mt19z7.js +377 -0
- package/plugin-e0mt19z7.js.map +10 -0
- package/plugin-gtd7vh23.js +25272 -0
- package/plugin-gtd7vh23.js.map +10 -0
- package/plugin-p1y3h7d7.js +10516 -0
- package/plugin-p1y3h7d7.js.map +10 -0
- package/plugin-p6f7n836.js +631 -0
- package/plugin-p6f7n836.js.map +12 -0
- package/plugin-r0m0v72b.js +156 -0
- package/plugin-r0m0v72b.js.map +10 -0
- package/plugin-w0va8331.js +19347 -0
- package/plugin-w0va8331.js.map +158 -0
- package/plugin.json +49 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
All rights reserved.
|
|
2
|
+
|
|
3
|
+
This package is proprietary and is not licensed for public use or redistribution.
|
|
4
|
+
Use and distribution require permission from the rights holder under a separate agreement.
|
|
5
|
+
|
|
6
|
+
Portions adapted from HumanLayer effect-channels:
|
|
7
|
+
|
|
8
|
+
MIT License
|
|
9
|
+
|
|
10
|
+
Copyright (c) 2026 HumanLayer
|
|
11
|
+
|
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
in the Software without restriction, including without limitation the rights
|
|
15
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
furnished to do so, subject to the following conditions:
|
|
18
|
+
|
|
19
|
+
The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
copies or substantial portions of the Software.
|
|
21
|
+
|
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,35 @@
|
|
|
1
|
-
#
|
|
1
|
+
# github-api: API and Agent Channel
|
|
2
2
|
|
|
3
|
-
This
|
|
3
|
+
This plugin includes the existing API Actions and Workflow Triggers plus the github-api/agent-issues Agent Channel.
|
|
4
|
+
Existing action/trigger IDs, schemas and API authentication methods are unchanged. The additional
|
|
5
|
+
Channel authentication is listed at plugin level; per-action authentication subsets are intentionally
|
|
6
|
+
deferred. Use existing API Connections for Actions/Triggers and the Channel credentials below for
|
|
7
|
+
agent conversations. No migration of unused standalone Channel installations is provided.
|
|
8
|
+
|
|
9
|
+
## GitHub App Channel
|
|
10
|
+
|
|
11
|
+
The `github-api/agent-issues` Agent Channel serves a customer's own
|
|
12
|
+
GitHub App. It treats each issue or pull request as one conversation. Deployment settings
|
|
13
|
+
choose where (`repositories` of the installation), who (`access`, `allowedSenderKeys`, plus the
|
|
14
|
+
`mentionPermission` role floor) and when (`respondTo`: `mentions` or `all_messages`) a message
|
|
15
|
+
starts a turn. Input identity comes
|
|
16
|
+
from the signed creation payload; changing an unsigned delivery header cannot create another input.
|
|
17
|
+
|
|
18
|
+
Use the definition-only plugin from `@dual-os/github-api/definition`, or the executable
|
|
19
|
+
plugin from `@dual-os/github-api` or `@dual-os/github-api/executable`. Credentials come from the Connection:
|
|
20
|
+
App ID, PEM private key and webhook secret. Existing API
|
|
21
|
+
Connections and published actions keep their existing contracts.
|
|
22
|
+
Activation sets the App's webhook URL, secret and JSON content type with the App JWT; the
|
|
23
|
+
customer still sets the App's permissions and events, which activation checks.
|
|
24
|
+
|
|
25
|
+
The provider supports comments, comment updates and deletion, portable reactions,
|
|
26
|
+
a plan comment and bounded conversation reads. Explicit reactions to review comments
|
|
27
|
+
use the pull-request review-comment API; answers use the issue-comment API.
|
|
28
|
+
Automatic activity is unavailable. It does not ingest attachments, review summaries or edited messages.
|
|
29
|
+
References to previous bot comments are checked against the App's bot author and
|
|
30
|
+
the issue before a comment update, deletion, reaction or plan replacement.
|
|
31
|
+
|
|
32
|
+
Portions are adapted from [HumanLayer effect-channels](https://github.com/humanlayer/effect-channels),
|
|
33
|
+
copyright 2026 HumanLayer, MIT. The license notice is included in `LICENSE`.
|
|
34
|
+
The initial Dual adaptation was recovered from the earlier Claude implementation
|
|
35
|
+
and completed for the current SDK and consuming server test seam with GPT-6.1 Sol.
|