@sjawhar/pi-envoy 0.0.0 → 8.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/README.md +160 -0
- package/dist/THIRD_PARTY_NOTICES +513 -0
- package/dist/envoy.js +37511 -0
- package/dist/skills/dispatch/SKILL.md +498 -0
- package/dist/skills/dispatch/references/api.md +40 -0
- package/dist/skills/dispatch/references/asks.md +116 -0
- package/dist/skills/dispatch/references/document-edits.md +202 -0
- package/dist/skills/dispatch/references/documents.md +230 -0
- package/dist/skills/dispatch/references/examples.md +132 -0
- package/dist/skills/dispatch/references/issues.md +213 -0
- package/dist/skills/dispatch/references/messages.md +74 -0
- package/dist/skills/dispatch/references/reading.md +64 -0
- package/dist/skills/dispatch-brainstorming/SKILL.md +113 -0
- package/dist/skills/dispatch-first/SKILL.md +58 -0
- package/dist/skills/envoy/SKILL.md +275 -0
- package/package.json +42 -1
package/README.md
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
# Pi Envoy Extension
|
|
2
|
+
|
|
3
|
+
`@sjawhar/pi-envoy` is the Oh My Pi extension for Envoy messaging and the native Dispatch tools,
|
|
4
|
+
the plugin every session loads. It shares the Envoy HTTP client, tool contract, envelope parsing,
|
|
5
|
+
and subject helpers with the other Legion adapters while keeping OMP's direct NATS subscriptions
|
|
6
|
+
and Pi steering delivery local (inbound messages steer an in-flight turn instead of queueing behind
|
|
7
|
+
it). The Legion lifecycle — the entry a Legion pane boots a root architect, a phase worker or the
|
|
8
|
+
controller with — is the separate plugin `@sjawhar/pi-legion` (`packages/pi-legion`), installed
|
|
9
|
+
beside this one in a Legion deployment; it reaches this plugin through the in-process interface
|
|
10
|
+
described in `packages/pi-shared/AGENTS.md`.
|
|
11
|
+
|
|
12
|
+
Normal topic subscriptions are direct NATS subscriptions owned by this extension. A role claim is
|
|
13
|
+
different: the listener arbitrates the core-NATS role lane for the current live holder, then sends
|
|
14
|
+
a receipt-backed request with the original role topic to the holder's direct agent subject.
|
|
15
|
+
`envoy_unsubscribe` manages only normal topic subscriptions; it does not relinquish a held role.
|
|
16
|
+
The agent pump replies after accepting the envelope; without a receipt within two seconds the
|
|
17
|
+
listener emits a `delivery_failed` exception. Role messages are live only; they are not retained
|
|
18
|
+
for a later claimant.
|
|
19
|
+
|
|
20
|
+
`envoy_list()` shows the union of the local subscriptions and the listener's persisted interest
|
|
21
|
+
registry. Each reported interest identifies whether it is `live`, `registry`, or `both`, so
|
|
22
|
+
temporary registration drift does not hide the extension's actual delivery state.
|
|
23
|
+
|
|
24
|
+
## Inbound delivery
|
|
25
|
+
|
|
26
|
+
Pi renders every Envoy envelope through the shared `@legion/envoy-client/delivery` renderer. The
|
|
27
|
+
result is one TOON block with recognized routing and delivery fields such as `to`, `from`, `at`,
|
|
28
|
+
`id`, and `summary`; a structured `payload` appears once as `message`. Invalid JSON is represented
|
|
29
|
+
as a safe `unrecognised` value rather than exposed as raw bytes.
|
|
30
|
+
|
|
31
|
+
`envoy_inbox` returns the 50 most recent delivered envelopes as metadata (`event_id`, `at`, `from`,
|
|
32
|
+
and `summary`) for recovery after an interrupt. `envoy_role_get` returns the current holder and
|
|
33
|
+
last-seen timestamp for a role. `envoy_subscribe` reports listener warnings in both its text and
|
|
34
|
+
details result, including subscriptions whose stream currently has no matching event.
|
|
35
|
+
|
|
36
|
+
## Session identity
|
|
37
|
+
|
|
38
|
+
Run `/whoami` to copy the active session ID to the clipboard. OMP copies through its host
|
|
39
|
+
clipboard API, which sends OSC 52
|
|
40
|
+
first for tmux and SSH sessions. The notification shows the session ID even if the copy fails.
|
|
41
|
+
|
|
42
|
+
For tmux to accept OSC 52 clipboard writes, enable clipboard support in the tmux server:
|
|
43
|
+
|
|
44
|
+
```tmux
|
|
45
|
+
set -g set-clipboard on
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Development install
|
|
49
|
+
|
|
50
|
+
This package declares one OMP extension entry in `package.json`, `extensions/envoy.ts`: Envoy
|
|
51
|
+
messaging, subscriptions, steering delivery, and the Dispatch tools. For local development, link
|
|
52
|
+
the entry into OMP:
|
|
53
|
+
|
|
54
|
+
```sh
|
|
55
|
+
ln -sfn "$PWD/packages/pi-envoy/extensions/envoy.ts" \
|
|
56
|
+
~/.omp/agent/extensions/envoy.ts
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
The repository root `package.json` likewise loads `extensions/envoy.ts` for dev sessions inside
|
|
60
|
+
this repo. The Legion entry (`packages/pi-legion/extensions/legion.ts`) is inert without
|
|
61
|
+
`LEGION_TREE`/`LEGION_ROLE`/`LEGION_CONTROLLER` in the environment and is not loaded there; the
|
|
62
|
+
Legion daemon spawns every root and phase-worker process, and `legion controller start` the
|
|
63
|
+
controller, with both installed packages already active (`packages/pi-legion/README.md`).
|
|
64
|
+
|
|
65
|
+
## Published package
|
|
66
|
+
|
|
67
|
+
Released installs come from npm as `@sjawhar/pi-envoy`:
|
|
68
|
+
|
|
69
|
+
```sh
|
|
70
|
+
omp plugin install @sjawhar/pi-envoy
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
A session that had the pre-split package installed (the one package that carried both entries
|
|
74
|
+
until 7.x) uninstalls it and installs this one once; the Unreleased entry of `CHANGELOG.md` gives
|
|
75
|
+
the two commands. A Legion deployment installs `@sjawhar/pi-legion` as well
|
|
76
|
+
(`packages/pi-legion/README.md`); the daemon's boot gate refuses a pane that still loads the
|
|
77
|
+
pre-split package beside the new ones.
|
|
78
|
+
|
|
79
|
+
The tarball is self-contained: it ships `dist/envoy.js` — bundling every dependency except the OMP
|
|
80
|
+
host packages (`@legion/pi-shared`, `@legion/contracts` and `@legion/envoy-client` are inlined) —
|
|
81
|
+
`dist/THIRD_PARTY_NOTICES`, and the four skills every session with Dispatch reads, `dispatch`,
|
|
82
|
+
`dispatch-first`, `dispatch-brainstorming` and `envoy`, staged from the repository's `skills/` at
|
|
83
|
+
`dist/skills`. The manifest declares `omp.skills: ["dist/skills"]` alongside `omp.extensions`:
|
|
84
|
+
OMP's own plugin discovery only reads `skill://`-resolvable skills from `<plugin root>/skills` or
|
|
85
|
+
from directories a manifest's `omp.skills` array names, and this package ships skills at
|
|
86
|
+
`dist/skills` (not the plugin root itself), so the field is required for every session to see them
|
|
87
|
+
at all. `extensions/envoy.ts` reads `dist/skills/dispatch-first/SKILL.md` at load (in a repository
|
|
88
|
+
checkout, the same file under `skills/`) for the `dispatch-first` context it injects, so a package
|
|
89
|
+
without it fails to load naming the file. The Legion skills and the task agents Legion's prompts
|
|
90
|
+
dispatch ship in `@sjawhar/pi-legion`; a link from one of its skills into `dispatch` is written
|
|
91
|
+
`skill://dispatch/...`, which resolves by name once both are installed.
|
|
92
|
+
|
|
93
|
+
`scripts/pi-plugin-prepack.sh` at the repository root is both plugins' `prepack` and the one place
|
|
94
|
+
that says which skills each ships: it builds this package's one entry, writes the notices and
|
|
95
|
+
stages this package's partition into `dist/skills`. The published manifest exposes `dist/envoy.js`
|
|
96
|
+
for `omp.extensions` (only `omp.skills` ships as committed, since `dist/skills` is its path in both
|
|
97
|
+
a repo checkout after the prepack and the published tarball), while the committed manifest keeps
|
|
98
|
+
the TypeScript entry for repo checkouts. `.github/workflows/release.yaml` (job `pi_envoy`)
|
|
99
|
+
performs that manifest rewrite around `bun pm pack` and restores the committed file before tagging.
|
|
100
|
+
Packing with the committed source manifest is refused by the prepack, because such a tarball would
|
|
101
|
+
point OMP at an extension file it does not contain.
|
|
102
|
+
|
|
103
|
+
## Native Dispatch tools
|
|
104
|
+
|
|
105
|
+
The extension registers twenty-one native Dispatch tools: `dispatch_issue`, `dispatch_issue_update`, `dispatch_claim`, `dispatch_ask`, `dispatch_edit_ask`,
|
|
106
|
+
`dispatch_resolve_ask`, `dispatch_resolve_comment`, `dispatch_follow`, `dispatch_comment`, `dispatch_suggest`,
|
|
107
|
+
`dispatch_message`, `dispatch_doc_edit`, `dispatch_doc_read`, `dispatch_request_approval`, `dispatch_artifact`,
|
|
108
|
+
`dispatch_read`, `dispatch_search`, `dispatch_issues`, `dispatch_architecture_sync`, `dispatch_open_asks`, and `dispatch_whoami`, when Dispatch configuration resolves both a base URL and bearer token.
|
|
109
|
+
|
|
110
|
+
Configure the shared `envoy.json` with:
|
|
111
|
+
|
|
112
|
+
```json
|
|
113
|
+
{
|
|
114
|
+
"dispatch": {
|
|
115
|
+
"enabled": true,
|
|
116
|
+
"serverUrl": "https://dispatch.example",
|
|
117
|
+
"token": "<agent-bearer-token>"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
The user file is `~/.config/opencode/envoy.json`; a
|
|
123
|
+
`<cwd>/.opencode/envoy.json` file shallow-merges over it. A repository
|
|
124
|
+
`dispatch.serverUrl` requires `dispatch.token` in that same repository file:
|
|
125
|
+
it never combines with a user-file or process-environment credential. To
|
|
126
|
+
override a repository endpoint for one process, set `DISPATCH_URL` together
|
|
127
|
+
with `DISPATCH_TOKEN` or `DISPATCH_TOKEN_FILE`. `DISPATCH_TOKEN_FILE` (a path
|
|
128
|
+
whose trimmed contents are the token — how the Legion daemon delivers it to a
|
|
129
|
+
pane) wins over every other token source and never falls back when unreadable.
|
|
130
|
+
Omitting `dispatch.serverUrl` while `dispatch.enabled` is true targets
|
|
131
|
+
`http://localhost:8766`, the Go server's listen address. Invalid configuration,
|
|
132
|
+
an invalid URL, or an empty token leaves the twenty-one tools unavailable and
|
|
133
|
+
reports the source of the error.
|
|
134
|
+
|
|
135
|
+
Owner-scoped calls use either an issue (a native `KEY` or external `owner/repo#n` reference) or
|
|
136
|
+
an unlinked project document (`project` plus its `artifact` slug). A Legion session may omit
|
|
137
|
+
`issue` when `LEGION_ISSUE` identifies its root issue and its working directory resolves to a
|
|
138
|
+
repository. `dispatch_doc_read` and `dispatch_read` also accept `dispatch://` references,
|
|
139
|
+
including `dispatch://PROJECT/artifact/<slug>`. `dispatch_search` needs only its query.
|
|
140
|
+
`dispatch_edit_ask`, `dispatch_resolve_ask`, and `dispatch_follow` instead identify an existing
|
|
141
|
+
ask with `ask`, and `dispatch_resolve_comment` a comment with `comment`. No result carries a subscription topic: opening an ask or replying to one with
|
|
142
|
+
`dispatch_comment({ reply_to_ask })` makes the session a follower of that ask (its answer and
|
|
143
|
+
replies reach the session directly, server-side), the result carries `details.follows.ask`, and
|
|
144
|
+
the extension's `tool_result` hook tells the model so once per ask. Whole-issue or
|
|
145
|
+
whole-document subscription is the model's own `envoy_subscribe` of the topic every write
|
|
146
|
+
result names (`notifications.dispatch.issue.<KEY>.>` or
|
|
147
|
+
`notifications.dispatch.document.<PROJECT>.<SLUG>.>`). `dispatch_doc_read` and
|
|
148
|
+
`dispatch_read` return owner details only.
|
|
149
|
+
|
|
150
|
+
The shared contract supplies the model-facing schemas and descriptions. The
|
|
151
|
+
`dispatch` skill describes when to use each operation for issues, asks, review
|
|
152
|
+
feedback, documents, artifacts, and status reads.
|
|
153
|
+
|
|
154
|
+
`dispatch_artifact` accepts exactly one upload source: a local `path`, or inline `content`.
|
|
155
|
+
For example, an architect can post a specification directly with
|
|
156
|
+
`{ issue, name: "spec.md", content: "# Design" }`.
|
|
157
|
+
|
|
158
|
+
Lifecycle and scope decisions between Legion roles go through `envoy_publish` to the owning
|
|
159
|
+
architect's role topic; Dispatch is for durable questions to the human and the shared
|
|
160
|
+
document, not for coordination between roles.
|
|
@@ -0,0 +1,513 @@
|
|
|
1
|
+
Third-party software inlined into the bundles in this directory, with each package's license.
|
|
2
|
+
================================================================================
|
|
3
|
+
|
|
4
|
+
@toon-format/toon@4.1.1
|
|
5
|
+
License: MIT
|
|
6
|
+
Source: git+https://github.com/toon-format/toon.git
|
|
7
|
+
|
|
8
|
+
--- LICENSE ---
|
|
9
|
+
|
|
10
|
+
MIT License
|
|
11
|
+
|
|
12
|
+
Copyright (c) 2025-PRESENT Johann Schopplich
|
|
13
|
+
|
|
14
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
15
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
16
|
+
in the Software without restriction, including without limitation the rights
|
|
17
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
18
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
19
|
+
furnished to do so, subject to the following conditions:
|
|
20
|
+
|
|
21
|
+
The above copyright notice and this permission notice shall be included in all
|
|
22
|
+
copies or substantial portions of the Software.
|
|
23
|
+
|
|
24
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
25
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
26
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
27
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
28
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
29
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
30
|
+
SOFTWARE.
|
|
31
|
+
|
|
32
|
+
================================================================================
|
|
33
|
+
|
|
34
|
+
nats@2.29.3
|
|
35
|
+
License: Apache-2.0
|
|
36
|
+
Source: git@github.com:nats-io/nats.node.git
|
|
37
|
+
|
|
38
|
+
--- LICENSE ---
|
|
39
|
+
|
|
40
|
+
Apache License
|
|
41
|
+
Version 2.0, January 2004
|
|
42
|
+
http://www.apache.org/licenses/
|
|
43
|
+
|
|
44
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
45
|
+
|
|
46
|
+
1. Definitions.
|
|
47
|
+
|
|
48
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
49
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
50
|
+
|
|
51
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
52
|
+
the copyright owner that is granting the License.
|
|
53
|
+
|
|
54
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
55
|
+
other entities that control, are controlled by, or are under common
|
|
56
|
+
control with that entity. For the purposes of this definition,
|
|
57
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
58
|
+
direction or management of such entity, whether by contract or
|
|
59
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
60
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
61
|
+
|
|
62
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
63
|
+
exercising permissions granted by this License.
|
|
64
|
+
|
|
65
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
66
|
+
including but not limited to software source code, documentation
|
|
67
|
+
source, and configuration files.
|
|
68
|
+
|
|
69
|
+
"Object" form shall mean any form resulting from mechanical
|
|
70
|
+
transformation or translation of a Source form, including but
|
|
71
|
+
not limited to compiled object code, generated documentation,
|
|
72
|
+
and conversions to other media types.
|
|
73
|
+
|
|
74
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
75
|
+
Object form, made available under the License, as indicated by a
|
|
76
|
+
copyright notice that is included in or attached to the work
|
|
77
|
+
(an example is provided in the Appendix below).
|
|
78
|
+
|
|
79
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
80
|
+
form, that is based on (or derived from) the Work and for which the
|
|
81
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
82
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
83
|
+
of this License, Derivative Works shall not include works that remain
|
|
84
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
85
|
+
the Work and Derivative Works thereof.
|
|
86
|
+
|
|
87
|
+
"Contribution" shall mean any work of authorship, including
|
|
88
|
+
the original version of the Work and any modifications or additions
|
|
89
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
90
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
91
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
92
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
93
|
+
means any form of electronic, verbal, or written communication sent
|
|
94
|
+
to the Licensor or its representatives, including but not limited to
|
|
95
|
+
communication on electronic mailing lists, source code control systems,
|
|
96
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
97
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
98
|
+
excluding communication that is conspicuously marked or otherwise
|
|
99
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
100
|
+
|
|
101
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
102
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
103
|
+
subsequently incorporated within the Work.
|
|
104
|
+
|
|
105
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
106
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
107
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
108
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
109
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
110
|
+
Work and such Derivative Works in Source or Object form.
|
|
111
|
+
|
|
112
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
113
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
114
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
115
|
+
(except as stated in this section) patent license to make, have made,
|
|
116
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
117
|
+
where such license applies only to those patent claims licensable
|
|
118
|
+
by such Contributor that are necessarily infringed by their
|
|
119
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
120
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
121
|
+
institute patent litigation against any entity (including a
|
|
122
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
123
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
124
|
+
or contributory patent infringement, then any patent licenses
|
|
125
|
+
granted to You under this License for that Work shall terminate
|
|
126
|
+
as of the date such litigation is filed.
|
|
127
|
+
|
|
128
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
129
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
130
|
+
modifications, and in Source or Object form, provided that You
|
|
131
|
+
meet the following conditions:
|
|
132
|
+
|
|
133
|
+
(a) You must give any other recipients of the Work or
|
|
134
|
+
Derivative Works a copy of this License; and
|
|
135
|
+
|
|
136
|
+
(b) You must cause any modified files to carry prominent notices
|
|
137
|
+
stating that You changed the files; and
|
|
138
|
+
|
|
139
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
140
|
+
that You distribute, all copyright, patent, trademark, and
|
|
141
|
+
attribution notices from the Source form of the Work,
|
|
142
|
+
excluding those notices that do not pertain to any part of
|
|
143
|
+
the Derivative Works; and
|
|
144
|
+
|
|
145
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
146
|
+
distribution, then any Derivative Works that You distribute must
|
|
147
|
+
include a readable copy of the attribution notices contained
|
|
148
|
+
within such NOTICE file, excluding those notices that do not
|
|
149
|
+
pertain to any part of the Derivative Works, in at least one
|
|
150
|
+
of the following places: within a NOTICE text file distributed
|
|
151
|
+
as part of the Derivative Works; within the Source form or
|
|
152
|
+
documentation, if provided along with the Derivative Works; or,
|
|
153
|
+
within a display generated by the Derivative Works, if and
|
|
154
|
+
wherever such third-party notices normally appear. The contents
|
|
155
|
+
of the NOTICE file are for informational purposes only and
|
|
156
|
+
do not modify the License. You may add Your own attribution
|
|
157
|
+
notices within Derivative Works that You distribute, alongside
|
|
158
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
159
|
+
that such additional attribution notices cannot be construed
|
|
160
|
+
as modifying the License.
|
|
161
|
+
|
|
162
|
+
You may add Your own copyright statement to Your modifications and
|
|
163
|
+
may provide additional or different license terms and conditions
|
|
164
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
165
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
166
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
167
|
+
the conditions stated in this License.
|
|
168
|
+
|
|
169
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
170
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
171
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
172
|
+
this License, without any additional terms or conditions.
|
|
173
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
174
|
+
the terms of any separate license agreement you may have executed
|
|
175
|
+
with Licensor regarding such Contributions.
|
|
176
|
+
|
|
177
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
178
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
179
|
+
except as required for reasonable and customary use in describing the
|
|
180
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
181
|
+
|
|
182
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
183
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
184
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
185
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
186
|
+
implied, including, without limitation, any warranties or conditions
|
|
187
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
188
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
189
|
+
appropriateness of using or redistributing the Work and assume any
|
|
190
|
+
risks associated with Your exercise of permissions under this License.
|
|
191
|
+
|
|
192
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
193
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
194
|
+
unless required by applicable law (such as deliberate and grossly
|
|
195
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
196
|
+
liable to You for damages, including any direct, indirect, special,
|
|
197
|
+
incidental, or consequential damages of any character arising as a
|
|
198
|
+
result of this License or out of the use or inability to use the
|
|
199
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
200
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
201
|
+
other commercial damages or losses), even if such Contributor
|
|
202
|
+
has been advised of the possibility of such damages.
|
|
203
|
+
|
|
204
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
205
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
206
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
207
|
+
or other liability obligations and/or rights consistent with this
|
|
208
|
+
License. However, in accepting such obligations, You may act only
|
|
209
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
210
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
211
|
+
defend, and hold each Contributor harmless for any liability
|
|
212
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
213
|
+
of your accepting any such warranty or additional liability.
|
|
214
|
+
|
|
215
|
+
END OF TERMS AND CONDITIONS
|
|
216
|
+
|
|
217
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
218
|
+
|
|
219
|
+
To apply the Apache License to your work, attach the following
|
|
220
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
221
|
+
replaced with your own identifying information. (Don't include
|
|
222
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
223
|
+
comment syntax for the file format. We also recommend that a
|
|
224
|
+
file or class name and description of purpose be included on the
|
|
225
|
+
same "printed page" as the copyright notice for easier
|
|
226
|
+
identification within third-party archives.
|
|
227
|
+
|
|
228
|
+
Copyright 2013-2018 The NATS Authors
|
|
229
|
+
|
|
230
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
231
|
+
you may not use this file except in compliance with the License.
|
|
232
|
+
You may obtain a copy of the License at
|
|
233
|
+
|
|
234
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
235
|
+
|
|
236
|
+
Unless required by applicable law or agreed to in writing, software
|
|
237
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
238
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
239
|
+
See the License for the specific language governing permissions and
|
|
240
|
+
limitations under the License.
|
|
241
|
+
|
|
242
|
+
================================================================================
|
|
243
|
+
|
|
244
|
+
nkeys.js@1.1.0
|
|
245
|
+
License: Apache-2.0
|
|
246
|
+
Source: https://github.com/nats-io/nkeys.js
|
|
247
|
+
|
|
248
|
+
--- LICENSE ---
|
|
249
|
+
|
|
250
|
+
Apache License
|
|
251
|
+
Version 2.0, January 2004
|
|
252
|
+
http://www.apache.org/licenses/
|
|
253
|
+
|
|
254
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
255
|
+
|
|
256
|
+
1. Definitions.
|
|
257
|
+
|
|
258
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
259
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
260
|
+
|
|
261
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
262
|
+
the copyright owner that is granting the License.
|
|
263
|
+
|
|
264
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
265
|
+
other entities that control, are controlled by, or are under common
|
|
266
|
+
control with that entity. For the purposes of this definition,
|
|
267
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
268
|
+
direction or management of such entity, whether by contract or
|
|
269
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
270
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
271
|
+
|
|
272
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
273
|
+
exercising permissions granted by this License.
|
|
274
|
+
|
|
275
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
276
|
+
including but not limited to software source code, documentation
|
|
277
|
+
source, and configuration files.
|
|
278
|
+
|
|
279
|
+
"Object" form shall mean any form resulting from mechanical
|
|
280
|
+
transformation or translation of a Source form, including but
|
|
281
|
+
not limited to compiled object code, generated documentation,
|
|
282
|
+
and conversions to other media types.
|
|
283
|
+
|
|
284
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
285
|
+
Object form, made available under the License, as indicated by a
|
|
286
|
+
copyright notice that is included in or attached to the work
|
|
287
|
+
(an example is provided in the Appendix below).
|
|
288
|
+
|
|
289
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
290
|
+
form, that is based on (or derived from) the Work and for which the
|
|
291
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
292
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
293
|
+
of this License, Derivative Works shall not include works that remain
|
|
294
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
295
|
+
the Work and Derivative Works thereof.
|
|
296
|
+
|
|
297
|
+
"Contribution" shall mean any work of authorship, including
|
|
298
|
+
the original version of the Work and any modifications or additions
|
|
299
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
300
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
301
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
302
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
303
|
+
means any form of electronic, verbal, or written communication sent
|
|
304
|
+
to the Licensor or its representatives, including but not limited to
|
|
305
|
+
communication on electronic mailing lists, source code control systems,
|
|
306
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
307
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
308
|
+
excluding communication that is conspicuously marked or otherwise
|
|
309
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
310
|
+
|
|
311
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
312
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
313
|
+
subsequently incorporated within the Work.
|
|
314
|
+
|
|
315
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
316
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
317
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
318
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
319
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
320
|
+
Work and such Derivative Works in Source or Object form.
|
|
321
|
+
|
|
322
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
323
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
324
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
325
|
+
(except as stated in this section) patent license to make, have made,
|
|
326
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
327
|
+
where such license applies only to those patent claims licensable
|
|
328
|
+
by such Contributor that are necessarily infringed by their
|
|
329
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
330
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
331
|
+
institute patent litigation against any entity (including a
|
|
332
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
333
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
334
|
+
or contributory patent infringement, then any patent licenses
|
|
335
|
+
granted to You under this License for that Work shall terminate
|
|
336
|
+
as of the date such litigation is filed.
|
|
337
|
+
|
|
338
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
339
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
340
|
+
modifications, and in Source or Object form, provided that You
|
|
341
|
+
meet the following conditions:
|
|
342
|
+
|
|
343
|
+
(a) You must give any other recipients of the Work or
|
|
344
|
+
Derivative Works a copy of this License; and
|
|
345
|
+
|
|
346
|
+
(b) You must cause any modified files to carry prominent notices
|
|
347
|
+
stating that You changed the files; and
|
|
348
|
+
|
|
349
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
350
|
+
that You distribute, all copyright, patent, trademark, and
|
|
351
|
+
attribution notices from the Source form of the Work,
|
|
352
|
+
excluding those notices that do not pertain to any part of
|
|
353
|
+
the Derivative Works; and
|
|
354
|
+
|
|
355
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
356
|
+
distribution, then any Derivative Works that You distribute must
|
|
357
|
+
include a readable copy of the attribution notices contained
|
|
358
|
+
within such NOTICE file, excluding those notices that do not
|
|
359
|
+
pertain to any part of the Derivative Works, in at least one
|
|
360
|
+
of the following places: within a NOTICE text file distributed
|
|
361
|
+
as part of the Derivative Works; within the Source form or
|
|
362
|
+
documentation, if provided along with the Derivative Works; or,
|
|
363
|
+
within a display generated by the Derivative Works, if and
|
|
364
|
+
wherever such third-party notices normally appear. The contents
|
|
365
|
+
of the NOTICE file are for informational purposes only and
|
|
366
|
+
do not modify the License. You may add Your own attribution
|
|
367
|
+
notices within Derivative Works that You distribute, alongside
|
|
368
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
369
|
+
that such additional attribution notices cannot be construed
|
|
370
|
+
as modifying the License.
|
|
371
|
+
|
|
372
|
+
You may add Your own copyright statement to Your modifications and
|
|
373
|
+
may provide additional or different license terms and conditions
|
|
374
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
375
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
376
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
377
|
+
the conditions stated in this License.
|
|
378
|
+
|
|
379
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
380
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
381
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
382
|
+
this License, without any additional terms or conditions.
|
|
383
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
384
|
+
the terms of any separate license agreement you may have executed
|
|
385
|
+
with Licensor regarding such Contributions.
|
|
386
|
+
|
|
387
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
388
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
389
|
+
except as required for reasonable and customary use in describing the
|
|
390
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
391
|
+
|
|
392
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
393
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
394
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
395
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
396
|
+
implied, including, without limitation, any warranties or conditions
|
|
397
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
398
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
399
|
+
appropriateness of using or redistributing the Work and assume any
|
|
400
|
+
risks associated with Your exercise of permissions under this License.
|
|
401
|
+
|
|
402
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
403
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
404
|
+
unless required by applicable law (such as deliberate and grossly
|
|
405
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
406
|
+
liable to You for damages, including any direct, indirect, special,
|
|
407
|
+
incidental, or consequential damages of any character arising as a
|
|
408
|
+
result of this License or out of the use or inability to use the
|
|
409
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
410
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
411
|
+
other commercial damages or losses), even if such Contributor
|
|
412
|
+
has been advised of the possibility of such damages.
|
|
413
|
+
|
|
414
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
415
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
416
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
417
|
+
or other liability obligations and/or rights consistent with this
|
|
418
|
+
License. However, in accepting such obligations, You may act only
|
|
419
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
420
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
421
|
+
defend, and hold each Contributor harmless for any liability
|
|
422
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
423
|
+
of your accepting any such warranty or additional liability.
|
|
424
|
+
|
|
425
|
+
END OF TERMS AND CONDITIONS
|
|
426
|
+
|
|
427
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
428
|
+
|
|
429
|
+
To apply the Apache License to your work, attach the following
|
|
430
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
431
|
+
replaced with your own identifying information. (Don't include
|
|
432
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
433
|
+
comment syntax for the file format. We also recommend that a
|
|
434
|
+
file or class name and description of purpose be included on the
|
|
435
|
+
same "printed page" as the copyright notice for easier
|
|
436
|
+
identification within third-party archives.
|
|
437
|
+
|
|
438
|
+
Copyright [yyyy] [name of copyright owner]
|
|
439
|
+
|
|
440
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
441
|
+
you may not use this file except in compliance with the License.
|
|
442
|
+
You may obtain a copy of the License at
|
|
443
|
+
|
|
444
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
445
|
+
|
|
446
|
+
Unless required by applicable law or agreed to in writing, software
|
|
447
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
448
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
449
|
+
See the License for the specific language governing permissions and
|
|
450
|
+
limitations under the License.
|
|
451
|
+
|
|
452
|
+
================================================================================
|
|
453
|
+
|
|
454
|
+
tweetnacl@1.0.3
|
|
455
|
+
License: Unlicense
|
|
456
|
+
Source: https://github.com/dchest/tweetnacl-js.git
|
|
457
|
+
|
|
458
|
+
--- LICENSE ---
|
|
459
|
+
|
|
460
|
+
This is free and unencumbered software released into the public domain.
|
|
461
|
+
|
|
462
|
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
463
|
+
distribute this software, either in source code form or as a compiled
|
|
464
|
+
binary, for any purpose, commercial or non-commercial, and by any
|
|
465
|
+
means.
|
|
466
|
+
|
|
467
|
+
In jurisdictions that recognize copyright laws, the author or authors
|
|
468
|
+
of this software dedicate any and all copyright interest in the
|
|
469
|
+
software to the public domain. We make this dedication for the benefit
|
|
470
|
+
of the public at large and to the detriment of our heirs and
|
|
471
|
+
successors. We intend this dedication to be an overt act of
|
|
472
|
+
relinquishment in perpetuity of all present and future rights to this
|
|
473
|
+
software under copyright law.
|
|
474
|
+
|
|
475
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
476
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
477
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
478
|
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
479
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
480
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
481
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
482
|
+
|
|
483
|
+
For more information, please refer to <http://unlicense.org>
|
|
484
|
+
|
|
485
|
+
================================================================================
|
|
486
|
+
|
|
487
|
+
zod@4.3.6
|
|
488
|
+
License: MIT
|
|
489
|
+
Source: git+https://github.com/colinhacks/zod.git
|
|
490
|
+
|
|
491
|
+
--- LICENSE ---
|
|
492
|
+
|
|
493
|
+
MIT License
|
|
494
|
+
|
|
495
|
+
Copyright (c) 2025 Colin McDonnell
|
|
496
|
+
|
|
497
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
498
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
499
|
+
in the Software without restriction, including without limitation the rights
|
|
500
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
501
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
502
|
+
furnished to do so, subject to the following conditions:
|
|
503
|
+
|
|
504
|
+
The above copyright notice and this permission notice shall be included in all
|
|
505
|
+
copies or substantial portions of the Software.
|
|
506
|
+
|
|
507
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
508
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
509
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
510
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
511
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
512
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
513
|
+
SOFTWARE.
|