hermesdesk-agent 0.0.0-stage → 0.1.0-alpha.10
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 +21 -0
- package/README.md +193 -3
- package/THIRD_PARTY_NOTICES.md +26 -0
- package/bin/hermesdesk.js +487 -0
- package/npm-shrinkwrap.json +1574 -0
- package/package.json +49 -6
- package/src/agent.js +342 -0
- package/src/browser-login.js +251 -0
- package/src/commands.js +293 -0
- package/src/config.js +131 -0
- package/src/connection.js +45 -0
- package/src/credentials.js +133 -0
- package/src/generation.js +48 -0
- package/src/headless-rpc.js +202 -0
- package/src/headless.js +233 -0
- package/src/permissions.js +113 -0
- package/src/policy.js +157 -0
- package/src/search.js +107 -0
- package/src/transport.js +296 -0
- package/src/ui/activity.js +153 -0
- package/src/ui/approval.js +222 -0
- package/src/ui/chrome.js +194 -0
- package/src/ui/extension.js +213 -0
- package/src/ui/format.js +180 -0
- package/src/ui/interactive.js +14 -0
- package/src/ui/interrupt.js +12 -0
- package/src/ui/layout.js +73 -0
- package/src/ui/menu.js +56 -0
- package/src/ui/pi.js +5 -0
- package/src/ui/status.js +75 -0
- package/src/ui/themes/hermesdesk-dark.json +81 -0
- package/src/ui/themes/hermesdesk-light.json +81 -0
- package/src/ui/tools.js +159 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Nash Kocur
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,193 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# HermesDesk Agent
|
|
2
|
+
|
|
3
|
+
[](https://github.com/NKocur/hermesdesk-agent/actions/workflows/ci.yml)
|
|
4
|
+
|
|
5
|
+
**Windows alpha: 0.1.0-alpha.10.** Community client built on Pi; not affiliated with or endorsed by Earendil Works or Nous Research.
|
|
6
|
+
|
|
7
|
+
A running HermesDesk inference gateway is required. This client does not include a hosted model service, server access, or API keys.
|
|
8
|
+
|
|
9
|
+
An initial Windows-first coding CLI built on the pinned Pi 1.5.0 SDK. The model runs on your HermesDesk/Strata server; coding tools run on the computer where you start this client.
|
|
10
|
+
|
|
11
|
+
## Install on a Windows computer
|
|
12
|
+
|
|
13
|
+
Install Node.js 22.19 or newer (Node 24 recommended), then install the alpha from npm:
|
|
14
|
+
|
|
15
|
+
```powershell
|
|
16
|
+
npm.cmd install -g --ignore-scripts hermesdesk-agent@alpha
|
|
17
|
+
hermesdesk.cmd connect
|
|
18
|
+
hermesdesk.cmd doctor
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Alternatively, download and extract a Windows alpha bundle from [Releases](https://github.com/NKocur/hermesdesk-agent/releases) and run `Install Agent.cmd`. A tarball can also be installed directly with `npm.cmd install -g --ignore-scripts ./hermesdesk-agent-0.1.0-alpha.10.tgz`.
|
|
22
|
+
|
|
23
|
+
There is no default server address. `connect` asks for your HTTPS model endpoint ending in `/v1`. When the server supports browser sign-in, it opens your browser: sign in to HermesDesk and approve the computer. The CLI receives a short-lived, single-use authorization code on a loopback listener and redeems it with PKCE over HTTPS, then discovers the model and saves the credentials encrypted. You do not copy passwords, API keys, or connection codes. The browser and CLI must be on the same computer. Use `--no-browser` to open the printed browser link yourself. On legacy servers without browser sign-in, the API-key setup remains available; `--manual` explicitly selects it. No server credentials are included in this package.
|
|
24
|
+
|
|
25
|
+
For optional manual connection-code setup, select **HermesDesk Agent** in the server's **Connect coding tools** settings and create a connection. Run `hermesdesk.cmd connect --code`, then paste its private connection code at the hidden prompt. The code contains both model and Cloudflare Access credentials: treat it like a password. It is never passed as a command-line argument or saved in plain text. The server's normal key expiry and revocation still apply. The package also provides `hermesdesk-agent` as an alias for `hermesdesk`.
|
|
26
|
+
|
|
27
|
+
Manual Access setup is available with `hermesdesk connect --url https://your-worker.example/v1 --cloudflare-access`; all credentials are prompted privately. For session-only authentication, set `HERMESDESK_API_KEY`, `HERMESDESK_ACCESS_CLIENT_ID` and `HERMESDESK_ACCESS_CLIENT_SECRET`. Non-interactive setup on Windows can use `HERMESDESK_CONNECTION_CODE` with `connect --code`. The agent clears these variables before launching coding tools. Saved Access credentials are bound to the endpoint and removed by logout along with the model key.
|
|
28
|
+
|
|
29
|
+
On Windows, saved keys are encrypted using DPAPI for the signed-in Windows user and bound to the configured endpoint. Configuration and sessions are stored under `%LOCALAPPDATA%\HermesDeskAgent`. The key is not written to Pi's auth JSON or passed on a command line. `HERMESDESK_API_KEY` supports session-only authentication; the client removes it from its environment before coding tools run. `hermesdesk logout` deletes the saved credential, but does not revoke it on the server.
|
|
30
|
+
|
|
31
|
+
## Work on a project
|
|
32
|
+
|
|
33
|
+
```powershell
|
|
34
|
+
cd C:\Projects\MyProject
|
|
35
|
+
hermesdesk.cmd chat
|
|
36
|
+
hermesdesk.cmd chat --continue
|
|
37
|
+
hermesdesk.cmd sessions
|
|
38
|
+
hermesdesk.cmd chat --session SESSION_ID
|
|
39
|
+
hermesdesk.cmd chat --read-only
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The interactive terminal uses Pi's UI, streaming, diffs, tool displays, session history and compaction, with a HermesDesk presentation layer (`src/ui/`). A compact header shows the connected model and server, the safety mode and key commands; a two-line footer shows the workspace and git branch, model, thinking effort, output limit, approval mode, token totals, the last reply's speed and a context-fill bar. Tool calls appear as one line with a status mark (`●` running, `✓` done, `✗` failed or declined) and their output sits behind a quiet gutter; `ctrl+o` expands long output. Edits, writes and commands open an approval panel with a diff, file preview or highlighted command: `y` allows once, `n` or Escape denies.
|
|
43
|
+
|
|
44
|
+
Because the model runs on your own hardware, the working line says what it is waiting for: `Waiting for model · 24s · processing the prompt` before the first token (a wait of a minute or more adds that the model may still be loading), then `Thinking`, `Writing` or `Preparing edit` with an estimated tokens-per-second rate, and a note when output stalls. `/status` checks that the server answers and the model is listed (without loading it), and reports context fill, the last reply's speed and time to first token, and the session average. When a reply stops at the output limit, a notice says whether thinking used the whole allowance and which setting to change. The terminal title shows `●` while the agent works; set `HERMESDESK_BELL=on` to also ring the terminal bell when a run of 30 seconds or more finishes.
|
|
45
|
+
|
|
46
|
+
If the model issues the same tool call three times in a row, the third and later calls are refused without an approval prompt and the model is told to take a different step. The count resets with each message you send.
|
|
47
|
+
|
|
48
|
+
Colors follow the terminal background automatically, using the HermesDesk light or dark palette. Body text keeps the terminal's own foreground color, and fonts and sizes always come from the terminal. Set `HERMESDESK_THEME` to `light` or `dark` to force a palette (for terminals that do not report their background), or `terminal` to use Pi's palette derived from your terminal colors.
|
|
49
|
+
|
|
50
|
+
Escape interrupts work. `/quit` exits; `/new` starts a new conversation and `/resume` opens Pi's session selector. The first interactive startup may download Pi's `fd` helper to this client's own Pi cache. Windows Terminal is recommended. Pi's inherited help and exit hints may still mention `pi`; resume this client with `hermesdesk chat --continue` or `--session ID`.
|
|
51
|
+
|
|
52
|
+
File tools are restricted to the chosen project and reject outside links and protected paths such as `.env`, `.git`, credential files and agent configurations. Each edit and shell command asks for approval. Shell commands execute as your user and are **not OS-sandboxed**; after approval they can access anything your account can access. Direct `!` shell shortcuts are disabled so commands use the managed approval path. Project JavaScript extensions, MCP servers and packages are not automatically loaded.
|
|
53
|
+
|
|
54
|
+
The root project's `AGENTS.md` is included as instructions when it is an ordinary allowed file under 64 KiB. Existing global Pi/Claude settings are not imported. This first version does not synchronize HermesDesk chats, workspace memory or Hermes's skill-learning loop.
|
|
55
|
+
|
|
56
|
+
## Headless jobs and automation
|
|
57
|
+
|
|
58
|
+
No terminal window is required. Sign in once with `hermesdesk connect` under the account that runs the job, or provide the existing session-only authentication environment variables. Authentication setup is never prompted during a job. Models still run on your configured HermesDesk/Strata server; tools work on the computer running the CLI.
|
|
59
|
+
|
|
60
|
+
```powershell
|
|
61
|
+
hermesdesk.cmd run "Explain this repository" --read-only
|
|
62
|
+
hermesdesk.cmd run "Review the code" --output-format json --timeout 300
|
|
63
|
+
hermesdesk.cmd run --prompt-file request.txt --output-format json
|
|
64
|
+
Get-Content -Raw request.txt | hermesdesk.cmd run --stdin --json
|
|
65
|
+
hermesdesk.cmd run "Continue the review" --continue --output-format json
|
|
66
|
+
hermesdesk.cmd sessions --output-format json
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Request sources are positional text, `--prompt-file PATH`, or piped UTF-8 text using `--stdin` / `run -`. Choose one source. Requests are limited to 1 MiB. Prompt file paths resolve from the launching directory; `--cwd PATH` selects the agent's workspace. Headless prompts are task text: slash commands are not dispatched, and bang commands are rejected.
|
|
70
|
+
|
|
71
|
+
`--output-format text` streams reply text to stdout and tool notices to stderr. `--output-format json` writes one final JSON object. `--output-format jsonl` streams `start`, `text`, `tool`, `tool_result`, `error` and `done` records; `--json` remains an alias for JSONL. There are no TUI escape sequences or progress spinners. The final result includes `ok`, `status`, `exitCode`, `session`, final/partial `text`, `stopReason`, per-job token `usage` and `durationMs`. Policy refusals appear in `blocked`. Model reasoning is not included in the output stream. Save results using normal shell redirection.
|
|
72
|
+
|
|
73
|
+
Jobs save their conversations automatically. Use `--continue` for the newest conversation in the selected workspace, or `--session ID` for a specific conversation. History stays on the client computer. Profiles and generation overrides work as in interactive chat; `--max-requests N` bounds model requests for that job. `--timeout SECONDS` applies to an entire job after runtime startup, including tools; without it, the provider's own timeout still applies. Ctrl+C/SIGINT cancels work; SIGTERM cancels and exits. Cancellation does not undo completed actions.
|
|
74
|
+
|
|
75
|
+
File changes are denied unless launched with `--approve-writes`. Shell commands are denied unless launched with `--approve-commands`; this explicitly authorizes model-generated commands with the launching account's permissions, including access outside the workspace. Shell execution has no OS sandbox. `--read-only` takes precedence over both options; protected file-tool paths remain blocked even when writes are pre-approved. Any policy refusal makes the final job status `blocked`, even if the model subsequently writes a response. Ordinary tool failures can be recovered from by the model.
|
|
76
|
+
|
|
77
|
+
| Exit code | Meaning |
|
|
78
|
+
|---|---|
|
|
79
|
+
| 0 | Completed |
|
|
80
|
+
| 1 | Model, connection or runtime failure |
|
|
81
|
+
| 2 | Invalid request/options or oversized protocol input |
|
|
82
|
+
| 3 | One or more actions blocked by policy |
|
|
83
|
+
| 4 | Reply stopped at the output limit |
|
|
84
|
+
| 124 | Job time limit reached |
|
|
85
|
+
| 130 | Cancelled / SIGINT |
|
|
86
|
+
| 143 | SIGTERM |
|
|
87
|
+
|
|
88
|
+
## Persistent headless protocol
|
|
89
|
+
|
|
90
|
+
Applications can spawn this command with stdin, stdout and stderr pipes:
|
|
91
|
+
|
|
92
|
+
```powershell
|
|
93
|
+
hermesdesk.cmd headless --cwd C:\Projects\MyProject --read-only
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
This is HermesDesk's version 1 JSONL protocol, separate from Pi's native RPC protocol. It opens no HTTP/TCP listener. A process uses one workspace and one conversation, with one active job at a time. Launch options set its permissions; protocol messages cannot grant more access. Use the existing authenticated model endpoint when the model server is on another computer.
|
|
97
|
+
|
|
98
|
+
The first stdout record has `type: "ready"`, protocol/version, workspace, session, permissions and supported commands. Send one JSON object per line:
|
|
99
|
+
|
|
100
|
+
```jsonl
|
|
101
|
+
{"id":"review-1","type":"prompt","message":"Review this project","timeout":300}
|
|
102
|
+
{"id":"state-1","type":"get_state"}
|
|
103
|
+
{"id":"cancel-1","type":"abort"}
|
|
104
|
+
{"id":"exit-1","type":"shutdown"}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Each command receives a `response` with its optional correlation `id`, `command` and `success`; failures include `error`. A prompt's acknowledgement means accepted. Its streamed events and final `done` retain the prompt ID. `done.ok` and `done.status` report the outcome. Concurrent prompts are rejected; send another after `done`, or abort the active prompt and wait for its `done` first. `get_state` reports the session and whether a job is active. `abort` cancels work and leaves the process available. `shutdown` cancels active work, flushes results and exits; closing stdin instead lets the current job finish and then exits. A job's failure is reported in `done`; the persistent process stays available until shutdown. Malformed command lines receive an error response. Lines larger than 1 MiB close the process with exit 2. A disconnected output pipe cancels active work.
|
|
108
|
+
|
|
109
|
+
Use `--continue` or `--session ID` when starting the process to restore an earlier conversation. For scheduled jobs under another Windows account, sign in under that account or provide session-only credentials; the saved DPAPI credentials belong to the account that created them.
|
|
110
|
+
|
|
111
|
+
## In-chat controls
|
|
112
|
+
|
|
113
|
+
`/permissions` opens an approval-mode menu and takes effect immediately without restarting:
|
|
114
|
+
|
|
115
|
+
```text
|
|
116
|
+
/permissions ask
|
|
117
|
+
/permissions edits
|
|
118
|
+
/permissions read-only
|
|
119
|
+
/permissions show
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
`ask` requests approval for edits and shell commands. `edits` auto-approves workspace file edits while shell commands still ask. `read-only` enables reading and searching and blocks file changes/commands; switch back with `/permissions ask` or `edits`. The header, footer and `/status` follow the current mode. Changes are local to the running CLI process, consume no model calls and add no messages to model history. They are blocked during an active run; finish it or press Ctrl+C first. Menu cancellation leaves the mode unchanged. Launching with `--read-only` locks that restriction until you restart without the flag. Headless permissions stay fixed by launch options, and protected file paths remain blocked.
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
Use these inside interactive chat. Commands run locally, consume no model tokens, and change the next request without restarting the conversation:
|
|
126
|
+
|
|
127
|
+
```text
|
|
128
|
+
/limits
|
|
129
|
+
/profile extended
|
|
130
|
+
/tokens 65536
|
|
131
|
+
/think xhigh
|
|
132
|
+
/thinking-budget 8192
|
|
133
|
+
/thinking-budget auto
|
|
134
|
+
/limits show
|
|
135
|
+
/limits save
|
|
136
|
+
/status
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
`/limits` opens a settings menu for the same controls, showing each current value; `/profile` and `/think` without a value open menus that mark the active choice. Profiles are `fast` (32K, thinking off), `balanced` (64K, xhigh), and `extended` (131K, xhigh). Output counts include thinking and answer. The model can stop before the allowance is used, and Strata can reduce the thinking cap to preserve answer room. Individual controls keep your other sampler settings; profiles apply the recommended sampler values.
|
|
140
|
+
|
|
141
|
+
Changes last for the current CLI session. `/limits save` keeps generation defaults for future launches; `/limits reset` restores saved defaults. Escape cancels a menu without applying changes. Changes are blocked while the agent is working. Pi's existing `/thinking off|low|medium|high` and keyboard thinking controls now also reach Strata (`high` maps to `xhigh`). Credentials, file permissions and command approvals are unaffected.
|
|
142
|
+
|
|
143
|
+
## Settings
|
|
144
|
+
|
|
145
|
+
```powershell
|
|
146
|
+
hermesdesk.cmd config
|
|
147
|
+
hermesdesk.cmd config preset extended
|
|
148
|
+
hermesdesk.cmd config set thinking true
|
|
149
|
+
hermesdesk.cmd config set reasoningEffort xhigh
|
|
150
|
+
hermesdesk.cmd config set thinkingBudget 16384
|
|
151
|
+
hermesdesk.cmd config set context 262144
|
|
152
|
+
hermesdesk.cmd config set maxTokens 131072
|
|
153
|
+
hermesdesk.cmd config set temperature 0.7
|
|
154
|
+
hermesdesk.cmd config set topP 0.95
|
|
155
|
+
hermesdesk.cmd config set topK 20
|
|
156
|
+
hermesdesk.cmd config set maxRequests 64
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
Profiles: `fast` uses 32K with thinking off; `balanced` uses 64K with xhigh thinking; `extended` uses 131K with xhigh thinking. Thinking profiles use Qwen's recommended sampling (temperature 1, top-p .95, top-k 20). `thinkingBudget 0` is automatic. A positive budget is a ceiling, must be below `maxTokens`, and Strata may reduce it to preserve answer space. `maxTokens` includes **thinking plus the final answer**; the model can stop earlier.
|
|
160
|
+
|
|
161
|
+
For a single launch, without changing saved settings:
|
|
162
|
+
|
|
163
|
+
```powershell
|
|
164
|
+
hermesdesk.cmd chat --profile extended
|
|
165
|
+
hermesdesk.cmd run "Review this repository" --read-only --max-tokens 65536 --thinking on --reasoning-effort medium --thinking-budget 8192
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
Fresh installations default to a 131K total cap with thinking off. Existing saved values are retained: use `config preset extended` to switch to the tested thinking profile. The server must support these limits; older gateways capped output at 8K. Pi's compaction reserves space for the configured output budget.
|
|
169
|
+
|
|
170
|
+
Changes apply to the next launch. Context is client metadata, not a request to allocate more server context: keep it at or below the server's configured capacity. The updated gateway allows up to 131072 combined output tokens. Input, thinking and answer share the server context; the full 262K-thinking plus 131K-answer allowance in Qwen documentation assumes an extended 1M context. The default request budget is 64 per message and can be set from 1 to 512. Pi's in-chat settings are session-only in this version. Change the server using `hermesdesk connect --url https://your-server/v1`. HTTP is accepted only on loopback addresses.
|
|
171
|
+
|
|
172
|
+
Windows uses its built-in `curl.exe` for model HTTP requests because the retained Cloudflare bot filter challenged Node fetch and a native Node follow-up request during testing. TLS verification stays enabled, redirects are not followed, credentials are sent through stdin rather than command-line arguments, and disconnects cancel the request. `doctor` checks the connection without loading the model. A browser challenge from zone-wide Bot Fight Mode cannot be solved by an API client; the server owner must configure API-compatible protection. Transport compatibility alone does not guarantee that every computer will be accepted. Cold Strata startup can still take minutes; the client cannot remove server warm-up costs. A Cloudflare 403 is a connection failure, not a model error.
|
|
173
|
+
|
|
174
|
+
Press **Ctrl+C** during a run to cancel generation or a running tool and return to the prompt. Pending file/command approvals are dismissed without granting permission. Cancellation does not undo completed actions. Escape also interrupts from the chat editor. When idle, Ctrl+C clears the input; pressing it twice quickly exits. Ctrl+D exits with an empty input.
|
|
175
|
+
|
|
176
|
+
## Optional private Worker gateway
|
|
177
|
+
|
|
178
|
+
The generic Worker source and deployment notes are in [worker/](worker/README.md). It requires Cloudflare Access authentication for its configured application and proxies only model discovery and chat completions to a single private VPC Service. It exposes no desktop tools, file APIs, application sessions, or arbitrary destinations. Website Bot Fight Mode can remain enabled when the agent uses a separate `workers.dev` endpoint. Workers VPC is beta; check Cloudflare's current availability, pricing and limits before adopting it.
|
|
179
|
+
|
|
180
|
+
## Develop
|
|
181
|
+
|
|
182
|
+
```powershell
|
|
183
|
+
npm.cmd ci --ignore-scripts
|
|
184
|
+
npm.cmd test
|
|
185
|
+
node bin/hermesdesk.js --help
|
|
186
|
+
npm.cmd pack --ignore-scripts
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
The client is a standalone project. Use the GitHub alpha release assets for the Windows installer or tarball. The `.tgz` contains no local credentials, test transcripts or model files. Pi's MIT license is retained in `THIRD_PARTY_NOTICES.md`; dependency licenses remain in the installed packages.
|
|
190
|
+
|
|
191
|
+
## License and contributing
|
|
192
|
+
|
|
193
|
+
MIT. Pi is also MIT-licensed; see [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md). See [CONTRIBUTING.md](CONTRIBUTING.md) for development and [SECURITY.md](SECURITY.md) for reporting security issues.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
This client uses Pi 1.5.0 by Mario Zechner / Earendil Works, from https://github.com/earendil-works/pi, under the MIT license.
|
|
4
|
+
|
|
5
|
+
MIT License
|
|
6
|
+
|
|
7
|
+
Copyright (c) 2025 Mario Zechner
|
|
8
|
+
|
|
9
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
11
|
+
in the Software without restriction, including without limitation the rights
|
|
12
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
14
|
+
furnished to do so, subject to the following conditions:
|
|
15
|
+
|
|
16
|
+
The above copyright notice and this permission notice shall be included in all
|
|
17
|
+
copies or substantial portions of the Software.
|
|
18
|
+
|
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
25
|
+
SOFTWARE.
|
|
26
|
+
Other dependency licenses are supplied with their npm packages.
|