dsh-redline 0.0.0-stage → 1.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/LICENSE +21 -0
- package/README.md +124 -3
- package/README.pt-BR.md +50 -0
- package/README.zh-CN.md +46 -0
- package/THIRD-PARTY-NOTICES.md +244 -0
- package/cordis.patch.yml +3 -0
- package/lib/client.js +772 -0
- package/lib/index.js +1092 -0
- package/lib/overlay.js +2813 -0
- package/locale/en.json +144 -0
- package/locale/pt-BR.json +144 -0
- package/locale/zh-CN.json +144 -0
- package/package.json +57 -6
- package/tencil-overlay.css +955 -0
- package/vendor/html2canvas.min.js +20 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 klaus-2
|
|
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,124 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# dsh-redline
|
|
2
|
+
|
|
3
|
+
English · [Português (Brasil)](README.pt-BR.md) · [简体中文](README.zh-CN.md)
|
|
4
|
+
|
|
5
|
+
**Point at any element on the page. Your agent fixes the code.**
|
|
6
|
+
|
|
7
|
+
`dsh-redline` is a [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) plugin that puts visual review inside the harness browser: select an element, leave a comment, adjust styles live, and confirm — the annotations travel to your agent as structured context attached to your next message, with a cropped screenshot of exactly the region you marked.
|
|
8
|
+
|
|
9
|
+
`dsh plugin --profile web add dsh-redline`
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Why this exists
|
|
14
|
+
|
|
15
|
+
Describing a UI problem in words loses the pointer. "The button in the middle section looks off" makes your agent guess. Redline keeps the feedback attached to the element: selector, role, text, your comment, a cropped screenshot, and every style tweak you tried — delivered in one structured block the agent can act on.
|
|
16
|
+
|
|
17
|
+
## Product tour
|
|
18
|
+
|
|
19
|
+

|
|
20
|
+
|
|
21
|
+
1. Press **C** (comment) or **V** (adjust) in any page opened in the harness browser.
|
|
22
|
+
2. Click an element. A popover opens anchored to it.
|
|
23
|
+
3. Write the comment, or open the inspector and adjust text, colors, typography, size, spacing, borders and effects — every change previews live on the page.
|
|
24
|
+
4. Confirm. The card above the composer collects your pins. Send, and the annotations reach the agent as a snapshot alongside your message — rendered natively in the chat.
|
|
25
|
+
|
|
26
|
+
## What the agent receives
|
|
27
|
+
|
|
28
|
+
For each pin, one block in a single snapshot:
|
|
29
|
+
|
|
30
|
+
- `Target` — tag, role, accessible label
|
|
31
|
+
- `Target selector` — a CSS path back to the element
|
|
32
|
+
- `Target text` / `Component` — content and framework hints
|
|
33
|
+
- `Screenshot (cropped around the target)` — a JPEG of the marked region with surrounding context
|
|
34
|
+
- `Comment` — what you asked for
|
|
35
|
+
- `Requested visual changes` — every live adjustment as `prop: before -> after`
|
|
36
|
+
- `Requested text change` — when you edited the element's text
|
|
37
|
+
|
|
38
|
+
## Features
|
|
39
|
+
|
|
40
|
+
- Element picking with hover highlight on any page the harness browser renders
|
|
41
|
+
- Per-pin comments, editable in place, with resolve/reopen/delete
|
|
42
|
+
- Live style inspector with rollback: drag-to-scrub numbers, color pickers, presets, linked box-model and radius edits, shadow and transform composers, per-row reset
|
|
43
|
+
- Cropped screenshots per pin (not the whole viewport)
|
|
44
|
+
- Annotations attach to the next message of the session you are viewing, rendered as a native chat card
|
|
45
|
+
- Reconciliation: removing a pin from the card removes it from the page overlay too
|
|
46
|
+
- English, Português (Brasil) and 简体中文 in the overlay UI, chosen from the browser locale
|
|
47
|
+
|
|
48
|
+
## Install
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
dsh plugin --profile web add dsh-redline
|
|
52
|
+
dsh web
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
For a private or unreleased build, install from a git URL or a local path:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
dsh plugin --profile web add git+https://github.com/klaus-2/dsh-redline.git
|
|
59
|
+
dsh plugin --profile web add ./dsh-redline
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Use
|
|
63
|
+
|
|
64
|
+
| Key | Action |
|
|
65
|
+
| --- | --- |
|
|
66
|
+
| `C` | Comment mode — pick an element, write what should change |
|
|
67
|
+
| `V` | Adjust mode — pick an element, open the live style inspector |
|
|
68
|
+
| `Esc` | Cancel the current mode, popover or preview |
|
|
69
|
+
| `Enter` | Save the annotation from the popover |
|
|
70
|
+
|
|
71
|
+
Pins collect in the card above the composer. **Send** dispatches them with your next message; the ✕ discards them, and the page overlay updates itself.
|
|
72
|
+
|
|
73
|
+
## Security notes
|
|
74
|
+
|
|
75
|
+
The loopback server binds to 127.0.0.1 only and validates the Host header, so remote origins cannot reach it. Pages running in the harness browser can submit annotations by design — that is the plugin working as intended, so treat comments arriving through Redline like any other user-authored input. The status endpoint exposes recent activity summaries (no secrets; no cookies are forwarded through the proxy).
|
|
76
|
+
|
|
77
|
+
## Configure
|
|
78
|
+
|
|
79
|
+
Nothing to configure by default. The plugin starts a loopback server (`127.0.0.1:47477`, falling back to the next 20 ports) that serves the overlay, the screenshot attachments and the annotation intake.
|
|
80
|
+
|
|
81
|
+
## How it works
|
|
82
|
+
|
|
83
|
+
The client face injects the overlay into every page the harness browser renders. Annotations POST to the loopback server, which stores a pending snapshot keyed by the session you are viewing. When you send a message, the host attaches the snapshot to the agent's turn as a producer-owned context message with section metadata, and the chat renders it as a collapsible card.
|
|
84
|
+
|
|
85
|
+
## Develop
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
npm install
|
|
89
|
+
npm run build
|
|
90
|
+
npm test
|
|
91
|
+
npm run strip-comments
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
`overlay.template.js` + `tencil-overlay.css` are the sources; `lib/overlay.js` is generated — never edit it directly. `tools/smoke.mjs` runs 33 checks (proxy, rewrite, intake, screenshots, context format, overlay integrity) against an isolated port.
|
|
95
|
+
|
|
96
|
+
## Scope
|
|
97
|
+
|
|
98
|
+
One harness instance, pages rendered by its built-in browser, viewport-based crops. Remote browsers and full-page capture are out of scope for now.
|
|
99
|
+
|
|
100
|
+
## Credits
|
|
101
|
+
|
|
102
|
+
### Contains code from
|
|
103
|
+
|
|
104
|
+
- **[tencil](https://tencil.dev/)** — the overlay design system in
|
|
105
|
+
`tencil-overlay.css` is derived from tencil's overlay sources
|
|
106
|
+
(Copyright 2026 Pixel Perfect Agency, licensed under Apache-2.0 and
|
|
107
|
+
modified: accent palette, comment removal, inspector additions).
|
|
108
|
+
Full notice: [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md).
|
|
109
|
+
|
|
110
|
+
- **[html2canvas](https://html2canvas.hertzen.com/)** — `vendor/html2canvas.min.js`
|
|
111
|
+
bundles version 1.4.1 (Copyright 2022 Niklas von Hertzen, MIT) to render
|
|
112
|
+
screenshot crops without any install-time dependency.
|
|
113
|
+
Full notice: [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md).
|
|
114
|
+
|
|
115
|
+
### Inspired by
|
|
116
|
+
|
|
117
|
+
- **[dsh-web-review](https://github.com/CanglongCl/dsh-web-review)** —
|
|
118
|
+
the delivery loop (annotations attaching to the agent's next message).
|
|
119
|
+
- **[dsh-annotate](https://github.com/BrambleXu/dsh-annotate)** —
|
|
120
|
+
the structured browser-facts shape and the update-check pattern.
|
|
121
|
+
|
|
122
|
+
## License
|
|
123
|
+
|
|
124
|
+
[MIT](LICENSE)
|
package/README.pt-BR.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# dsh-redline
|
|
2
|
+
|
|
3
|
+
[English](README.md) · Português (Brasil) · [简体中文](README.zh-CN.md)
|
|
4
|
+
|
|
5
|
+
**Aponte para qualquer elemento da página. Seu agente corrige o código.**
|
|
6
|
+
|
|
7
|
+
`dsh-redline` é um plugin do [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) que traz a revisão visual para dentro do navegador do harness: selecione um elemento, escreva um comentário, ajuste estilos ao vivo e confirme — as anotações chegam ao agente como contexto estruturado anexado à sua próxima mensagem, com um recorte de screenshot exatamente da região marcada.
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
dsh plugin --profile web add dsh-redline
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Por que existe
|
|
14
|
+
|
|
15
|
+
Descrever um problema de UI em palavras perde o ponteiro. "O botão do meio parece errado" faz o agente adivinhar. O Redline mantém o feedback ligado ao elemento: seletor, role, texto, seu comentário, um recorte de screenshot e cada ajuste de estilo que você tentou — tudo em um bloco estruturado.
|
|
16
|
+
|
|
17
|
+
## Como usar
|
|
18
|
+
|
|
19
|
+
1. Em qualquer página aberta no navegador do harness, pressione **C** (comentário) ou **V** (ajuste).
|
|
20
|
+
2. Clique em um elemento; o popover abre ancorado nele.
|
|
21
|
+
3. Escreva o comentário ou abra o inspetor e ajuste texto, cores, tipografia, tamanho, espaçamento, bordas e efeitos — cada mudança faz preview ao vivo.
|
|
22
|
+
4. Confirme. O card acima do composer coleta seus pins. Envie e as anotações chegam ao agente como snapshot junto da sua mensagem — renderizadas nativamente no chat.
|
|
23
|
+
|
|
24
|
+
## Funcionalidades
|
|
25
|
+
|
|
26
|
+
- Picking de elementos com highlight de hover em qualquer página
|
|
27
|
+
- Comentários por pin, editáveis no lugar, com resolver/reabrir/excluir
|
|
28
|
+
- Inspetor de estilos ao vivo com rollback: números por arraste, color picker, predefinições, box model e raio com link, sombra e transformação, reset por linha
|
|
29
|
+
- Screenshots recortadas por pin (não a viewport inteira)
|
|
30
|
+
- Anotações anexam à próxima mensagem da sessão visualizada, renderizadas como card nativo
|
|
31
|
+
- Reconciliação: remover um pin no card remove também na página
|
|
32
|
+
- Interface em English / Português (Brasil) / 简体中文, escolhida pelo idioma do navegador
|
|
33
|
+
|
|
34
|
+
## Desenvolvimento
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm install
|
|
38
|
+
npm run build
|
|
39
|
+
npm test
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
`overlay.template.js` + `tencil-overlay.css` são os fontes; `lib/overlay.js` é gerado — nunca edite direto.
|
|
43
|
+
|
|
44
|
+
## Créditos
|
|
45
|
+
|
|
46
|
+
O design do overlay contém código derivado do sistema de overlay do [tencil](https://tencil.dev/) (Apache-2.0 — veja [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md)). Inspirado por [dsh-web-review](https://github.com/CanglongCl/dsh-web-review) e [dsh-annotate](https://github.com/BrambleXu/dsh-annotate).
|
|
47
|
+
|
|
48
|
+
## Licença
|
|
49
|
+
|
|
50
|
+
[MIT](LICENSE)
|
package/README.zh-CN.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# dsh-redline
|
|
2
|
+
|
|
3
|
+
[English](README.md) · [Português (Brasil)](README.pt-BR.md) · 简体中文
|
|
4
|
+
|
|
5
|
+
**指向页面上的任意元素,你的智能体直接改代码。**
|
|
6
|
+
|
|
7
|
+
`dsh-redline` 是 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 的插件,把可视化评审放进内置浏览器:选中元素、写批注、实时调整样式并确认——批注会作为结构化上下文附加到你的下一条消息,并附带精确裁剪的截图。
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
dsh plugin --profile web add dsh-redline
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## 为什么做这个
|
|
14
|
+
|
|
15
|
+
用文字描述 UI 问题会丢失指针。"中间那个按钮看起来不对" 只能让智能体去猜。Redline 把反馈绑定到元素本身:选择器、角色、文本、你的评论、裁剪截图,以及你尝试过的每一项样式调整,一次性以结构化块发送。
|
|
16
|
+
|
|
17
|
+
## 使用方式
|
|
18
|
+
|
|
19
|
+
1. 在内置浏览器打开的任意页面按 **C**(评论)或 **V**(调整)。
|
|
20
|
+
2. 点击元素,弹出的面板会锚定在元素上。
|
|
21
|
+
3. 写评论,或打开检查器实时调整文本、颜色、排版、尺寸、间距、边框和效果——每次修改都会即时预览。
|
|
22
|
+
4. 确认后,composer 上方的卡片收集所有标注;发送时,标注作为快照随消息一起送达智能体,并在聊天中原生渲染。
|
|
23
|
+
|
|
24
|
+
## 功能
|
|
25
|
+
|
|
26
|
+
- 任意页面上的元素拾取与悬停高亮
|
|
27
|
+
- 每个标注可就地编辑评论,支持解决/重新打开/删除
|
|
28
|
+
- 带回滚的实时样式检查器:拖拽数值、取色器、预设、联动盒模型与圆角、阴影与变换,逐行重置
|
|
29
|
+
- 每个标注独立裁剪截图(不是整个视口)
|
|
30
|
+
- 标注附加到当前查看会话的下一条消息,在聊天中原生渲染为卡片
|
|
31
|
+
- 卡片与页面浮层之间的双向同步
|
|
32
|
+
- 界面支持 English / Português (Brasil) / 简体中文,按浏览器语言自动选择
|
|
33
|
+
|
|
34
|
+
## 开发
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm install
|
|
38
|
+
npm run build
|
|
39
|
+
npm test
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
`overlay.template.js` + `tencil-overlay.css` 是源文件;`lib/overlay.js` 由构建生成,请勿直接修改。
|
|
43
|
+
|
|
44
|
+
## 许可
|
|
45
|
+
|
|
46
|
+
[MIT](LICENSE)
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
This repository contains code derived from third-party open-source projects.
|
|
4
|
+
The licenses below apply to the files indicated.
|
|
5
|
+
|
|
6
|
+
## tencil overlay design system
|
|
7
|
+
|
|
8
|
+
- **Source**: https://github.com/tencildev/tencil (packages/overlay design system)
|
|
9
|
+
- **Copyright**: 2026 Pixel Perfect Agency
|
|
10
|
+
- **License**: Apache License 2.0
|
|
11
|
+
- **Files**: `tencil-overlay.css` (design tokens, component styles, pin state
|
|
12
|
+
animations), parts of `overlay.template.js` (component structure)
|
|
13
|
+
- **Modified**: accent palette recolored to the redline brand, comments
|
|
14
|
+
removed, inspector styles and additions contributed by this project
|
|
15
|
+
|
|
16
|
+
The Apache License 2.0 text is reproduced below as required by the license.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
Apache License
|
|
21
|
+
Version 2.0, January 2004
|
|
22
|
+
http://www.apache.org/licenses/
|
|
23
|
+
|
|
24
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
25
|
+
|
|
26
|
+
1. Definitions.
|
|
27
|
+
|
|
28
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
29
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
30
|
+
|
|
31
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
32
|
+
the copyright owner that is granting the License.
|
|
33
|
+
|
|
34
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
35
|
+
other entities that control, are controlled by, or are under common
|
|
36
|
+
control with that entity. For the purposes of this definition,
|
|
37
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
38
|
+
direction or management of such entity, whether by contract or
|
|
39
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
40
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
41
|
+
|
|
42
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
43
|
+
exercising permissions granted by this License.
|
|
44
|
+
|
|
45
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
46
|
+
including but not limited to software source code, documentation
|
|
47
|
+
source, and configuration files.
|
|
48
|
+
|
|
49
|
+
"Object" form shall mean any form resulting from mechanical
|
|
50
|
+
transformation or translation of a Source form, including but
|
|
51
|
+
not limited to compiled object code, generated documentation,
|
|
52
|
+
and conversions to other media types.
|
|
53
|
+
|
|
54
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
55
|
+
Object form, made available under the License, as indicated by a
|
|
56
|
+
copyright notice that is included in or attached to the work
|
|
57
|
+
(an example is provided in the Appendix below).
|
|
58
|
+
|
|
59
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
60
|
+
form, that is based on (or derived from) the Work and for which the
|
|
61
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
62
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
63
|
+
of this License, Derivative Works shall not include works that remain
|
|
64
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
65
|
+
the Work and Derivative Works thereof.
|
|
66
|
+
|
|
67
|
+
"Contribution" shall mean any work of authorship, including
|
|
68
|
+
the original version of the Work and any modifications or additions
|
|
69
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
70
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
71
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
72
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
73
|
+
means any form of electronic, verbal, or written communication sent
|
|
74
|
+
to the Licensor or its representatives, including but not limited to
|
|
75
|
+
communication on electronic mailing lists, source code control systems,
|
|
76
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
77
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
78
|
+
excluding communication that is conspicuously marked or otherwise
|
|
79
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
80
|
+
|
|
81
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
82
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
83
|
+
subsequently incorporated within the Work.
|
|
84
|
+
|
|
85
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
86
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
87
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
88
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
89
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
90
|
+
Work and such Derivative Works in Source or Object form.
|
|
91
|
+
|
|
92
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
93
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
94
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
95
|
+
(except as stated in this section) patent license to make, have made,
|
|
96
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
97
|
+
where such license applies only to those patent claims licensable
|
|
98
|
+
by such Contributor that are necessarily infringed by their
|
|
99
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
100
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
101
|
+
institute patent litigation against any entity (including a
|
|
102
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
103
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
104
|
+
or contributory patent infringement, then any patent licenses
|
|
105
|
+
granted to You under this License for that Work shall terminate
|
|
106
|
+
as of the date such litigation is filed.
|
|
107
|
+
|
|
108
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
109
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
110
|
+
modifications, and in Source or Object form, provided that You
|
|
111
|
+
meet the following conditions:
|
|
112
|
+
|
|
113
|
+
(a) You must give any other recipients of the Work or
|
|
114
|
+
Derivative Works a copy of this License; and
|
|
115
|
+
|
|
116
|
+
(b) You must cause any modified files to carry prominent notices
|
|
117
|
+
stating that You changed them; and
|
|
118
|
+
|
|
119
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
120
|
+
that You distribute, all copyright, patent, trademark, and
|
|
121
|
+
attribution notices from the Source form of the Work,
|
|
122
|
+
excluding those notices that do not pertain to any part of
|
|
123
|
+
the Derivative Works; and
|
|
124
|
+
|
|
125
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
126
|
+
distribution, then any Derivative Works that You distribute must
|
|
127
|
+
include a readable copy of the attribution notices contained
|
|
128
|
+
within such NOTICE file, excluding those notices that do not
|
|
129
|
+
pertain to any part of the Derivative Works, in at least one
|
|
130
|
+
of the following places: within a NOTICE text file distributed
|
|
131
|
+
as part of the Derivative Works; within the Source form or
|
|
132
|
+
documentation, if provided along with the Derivative Works; or,
|
|
133
|
+
within a display generated by the Derivative Works, if and
|
|
134
|
+
wherever such third-party notices normally appear. The contents
|
|
135
|
+
of the NOTICE file are for informational purposes only and
|
|
136
|
+
do not modify the License. You may add Your own attribution
|
|
137
|
+
notices within Derivative Works that You distribute, alongside
|
|
138
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
139
|
+
that such additional attribution notices cannot be construed
|
|
140
|
+
as modifying the License.
|
|
141
|
+
|
|
142
|
+
You may add Your own copyright statement to Your modifications and
|
|
143
|
+
may provide additional or different license terms and conditions
|
|
144
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
145
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
146
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
147
|
+
the conditions stated in this License.
|
|
148
|
+
|
|
149
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
150
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
151
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
152
|
+
this License, without any additional terms or conditions.
|
|
153
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
154
|
+
the terms of any separate license agreement you may have executed
|
|
155
|
+
with Licensor regarding such Contributions.
|
|
156
|
+
|
|
157
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
158
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
159
|
+
except as required for reasonable and customary use in describing the
|
|
160
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
161
|
+
|
|
162
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
163
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
164
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
165
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
166
|
+
implied, including, without limitation, any warranties or conditions
|
|
167
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
168
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
169
|
+
appropriateness of using or redistributing the Work and assume any
|
|
170
|
+
risks associated with Your exercise of permissions under this License.
|
|
171
|
+
|
|
172
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
173
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
174
|
+
unless required by applicable law (such as deliberate and grossly
|
|
175
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
176
|
+
liable to You for damages, including any direct, indirect, special,
|
|
177
|
+
incidental, or consequential damages of any character arising as a
|
|
178
|
+
result of this License or out of the use or inability to use the
|
|
179
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
180
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
181
|
+
other commercial damages or losses), even if such Contributor
|
|
182
|
+
has been advised of the possibility of such damages.
|
|
183
|
+
|
|
184
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
185
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
186
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
187
|
+
or other liability obligations and/or rights consistent with this
|
|
188
|
+
License. However, in accepting such obligations, You may act only
|
|
189
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
190
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
191
|
+
defend, and hold each Contributor harmless for any liability
|
|
192
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
193
|
+
of your accepting any such warranty or additional liability.
|
|
194
|
+
|
|
195
|
+
END OF TERMS AND CONDITIONS
|
|
196
|
+
|
|
197
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
198
|
+
|
|
199
|
+
To apply the Apache License to your work, attach the following
|
|
200
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
201
|
+
replaced with your own identifying information. (Don't include
|
|
202
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
203
|
+
comment syntax for the file format. We also recommend that a
|
|
204
|
+
file or class name and description of purpose be included on the
|
|
205
|
+
same "printed page" as the copyright notice for easier
|
|
206
|
+
identification within third-party archives.
|
|
207
|
+
|
|
208
|
+
Copyright [yyyy] [name of copyright owner]
|
|
209
|
+
|
|
210
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
211
|
+
you may not use this file except in compliance with the License.
|
|
212
|
+
You may obtain a copy of the License at
|
|
213
|
+
|
|
214
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
215
|
+
|
|
216
|
+
Unless required by applicable law or agreed to in writing, software
|
|
217
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
218
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
219
|
+
See the License for the specific language governing permissions and
|
|
220
|
+
limitations under the License.
|
|
221
|
+
|
|
222
|
+
--------------------------------------------------------------------------------
|
|
223
|
+
html2canvas 1.4.1 — vendor/html2canvas.min.js
|
|
224
|
+
--------------------------------------------------------------------------------
|
|
225
|
+
Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
226
|
+
|
|
227
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
228
|
+
a copy of this software and associated documentation files (the
|
|
229
|
+
"Software"), to deal in the Software without restriction, including
|
|
230
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
231
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
232
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
233
|
+
the following conditions:
|
|
234
|
+
|
|
235
|
+
The above copyright notice and this permission notice shall be
|
|
236
|
+
included in all copies or substantial portions of the Software.
|
|
237
|
+
|
|
238
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
239
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
240
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
241
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
242
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
243
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
244
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/cordis.patch.yml
ADDED