waidrop-cli 1.0.0__tar.gz

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.
Files changed (55) hide show
  1. waidrop_cli-1.0.0/.github/dependabot.yml +14 -0
  2. waidrop_cli-1.0.0/.github/workflows/ci.yml +76 -0
  3. waidrop_cli-1.0.0/.github/workflows/release.yml +82 -0
  4. waidrop_cli-1.0.0/.github/workflows/testpypi.yml +29 -0
  5. waidrop_cli-1.0.0/.gitignore +43 -0
  6. waidrop_cli-1.0.0/.gitleaks.toml +12 -0
  7. waidrop_cli-1.0.0/.pre-commit-config.yaml +7 -0
  8. waidrop_cli-1.0.0/CHANGELOG.md +45 -0
  9. waidrop_cli-1.0.0/CONTRIBUTING.md +51 -0
  10. waidrop_cli-1.0.0/LICENSE +201 -0
  11. waidrop_cli-1.0.0/NOTICE +6 -0
  12. waidrop_cli-1.0.0/PKG-INFO +477 -0
  13. waidrop_cli-1.0.0/README.md +444 -0
  14. waidrop_cli-1.0.0/RELEASING.md +102 -0
  15. waidrop_cli-1.0.0/SECURITY.md +41 -0
  16. waidrop_cli-1.0.0/docs/mcp.md +333 -0
  17. waidrop_cli-1.0.0/pyproject.toml +79 -0
  18. waidrop_cli-1.0.0/src/waidrop_cli/__init__.py +3 -0
  19. waidrop_cli-1.0.0/src/waidrop_cli/__main__.py +4 -0
  20. waidrop_cli-1.0.0/src/waidrop_cli/archive.py +103 -0
  21. waidrop_cli-1.0.0/src/waidrop_cli/auth.py +321 -0
  22. waidrop_cli-1.0.0/src/waidrop_cli/auth_flow.py +182 -0
  23. waidrop_cli-1.0.0/src/waidrop_cli/chats.py +169 -0
  24. waidrop_cli-1.0.0/src/waidrop_cli/cli.py +733 -0
  25. waidrop_cli-1.0.0/src/waidrop_cli/config.py +359 -0
  26. waidrop_cli-1.0.0/src/waidrop_cli/context.py +352 -0
  27. waidrop_cli-1.0.0/src/waidrop_cli/crypto.py +126 -0
  28. waidrop_cli-1.0.0/src/waidrop_cli/dropbox.py +217 -0
  29. waidrop_cli-1.0.0/src/waidrop_cli/env_file.py +132 -0
  30. waidrop_cli-1.0.0/src/waidrop_cli/errors.py +21 -0
  31. waidrop_cli-1.0.0/src/waidrop_cli/fetch.py +214 -0
  32. waidrop_cli-1.0.0/src/waidrop_cli/mcp_cli.py +293 -0
  33. waidrop_cli-1.0.0/src/waidrop_cli/mcp_config.py +191 -0
  34. waidrop_cli-1.0.0/src/waidrop_cli/mcp_server.py +367 -0
  35. waidrop_cli-1.0.0/src/waidrop_cli/media.py +179 -0
  36. waidrop_cli-1.0.0/src/waidrop_cli/output.py +160 -0
  37. waidrop_cli-1.0.0/tests/conftest.py +477 -0
  38. waidrop_cli-1.0.0/tests/test_archive.py +103 -0
  39. waidrop_cli-1.0.0/tests/test_auth.py +531 -0
  40. waidrop_cli-1.0.0/tests/test_chats.py +119 -0
  41. waidrop_cli-1.0.0/tests/test_cli.py +594 -0
  42. waidrop_cli-1.0.0/tests/test_config.py +295 -0
  43. waidrop_cli-1.0.0/tests/test_config_command.py +306 -0
  44. waidrop_cli-1.0.0/tests/test_context.py +386 -0
  45. waidrop_cli-1.0.0/tests/test_crypto.py +80 -0
  46. waidrop_cli-1.0.0/tests/test_dropbox.py +76 -0
  47. waidrop_cli-1.0.0/tests/test_env_file.py +114 -0
  48. waidrop_cli-1.0.0/tests/test_fetch.py +162 -0
  49. waidrop_cli-1.0.0/tests/test_mcp_cli.py +277 -0
  50. waidrop_cli-1.0.0/tests/test_mcp_config.py +245 -0
  51. waidrop_cli-1.0.0/tests/test_mcp_entry.py +156 -0
  52. waidrop_cli-1.0.0/tests/test_mcp_server.py +230 -0
  53. waidrop_cli-1.0.0/tests/test_media.py +484 -0
  54. waidrop_cli-1.0.0/tests/test_output.py +84 -0
  55. waidrop_cli-1.0.0/uv.lock +1281 -0
@@ -0,0 +1,14 @@
1
+ version: 2
2
+
3
+ updates:
4
+ - package-ecosystem: "github-actions"
5
+ directory: "/"
6
+ schedule:
7
+ interval: "weekly"
8
+ open-pull-requests-limit: 5
9
+
10
+ - package-ecosystem: "uv"
11
+ directory: "/"
12
+ schedule:
13
+ interval: "weekly"
14
+ open-pull-requests-limit: 5
@@ -0,0 +1,76 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ concurrency:
12
+ group: ci-${{ github.ref }}
13
+ cancel-in-progress: true
14
+
15
+ jobs:
16
+ test:
17
+ name: Test ${{ matrix.python }} on ${{ matrix.os }}
18
+ runs-on: ${{ matrix.os }}
19
+ timeout-minutes: 15
20
+ strategy:
21
+ fail-fast: false
22
+ matrix:
23
+ include:
24
+ - os: ubuntu-latest
25
+ python: "3.10"
26
+ - os: ubuntu-latest
27
+ python: "3.11"
28
+ - os: ubuntu-latest
29
+ python: "3.12"
30
+ - os: ubuntu-latest
31
+ python: "3.13"
32
+ - os: ubuntu-latest
33
+ python: "3.14"
34
+ - os: ubuntu-latest
35
+ python: "3.15"
36
+ - os: macos-latest
37
+ python: "3.13"
38
+ - os: windows-latest
39
+ python: "3.13"
40
+ steps:
41
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
42
+ - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
43
+ with:
44
+ enable-cache: true
45
+ - run: uv python install ${{ matrix.python }}
46
+ - run: uv sync --locked --extra mcp --python ${{ matrix.python }}
47
+ - run: uv run pytest -q
48
+ - run: uv run ruff check .
49
+ - run: uv run ruff format --check .
50
+ - run: uv build
51
+ - run: uvx twine check dist/*
52
+
53
+ base-install:
54
+ name: Base install without MCP extra
55
+ runs-on: ubuntu-latest
56
+ timeout-minutes: 10
57
+ steps:
58
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
59
+ - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
60
+ - run: uv sync --locked
61
+ - run: uv run pytest -q
62
+ - run: uv run python -m waidrop_cli --version
63
+ - run: uv run python -m waidrop_cli.mcp_server --version
64
+ - run: uv run python -m waidrop_cli.mcp_server --print-setup
65
+
66
+ secrets:
67
+ name: Secret scan
68
+ runs-on: ubuntu-latest
69
+ timeout-minutes: 10
70
+ steps:
71
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
72
+ with:
73
+ fetch-depth: 0
74
+ - uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7 # v2
75
+ env:
76
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,82 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ permissions:
9
+ contents: write
10
+ id-token: write
11
+
12
+ jobs:
13
+ build:
14
+ name: Build and verify
15
+ runs-on: ubuntu-latest
16
+ timeout-minutes: 15
17
+ steps:
18
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19
+ - name: Verify tag matches package version
20
+ run: |
21
+ python3 - <<'PY'
22
+ import os
23
+ import tomllib
24
+
25
+ version = tomllib.load(open("pyproject.toml", "rb"))["project"]["version"]
26
+ tag = os.environ["GITHUB_REF_NAME"]
27
+ if tag != f"v{version}":
28
+ raise SystemExit(f"tag {tag} does not match pyproject version {version}")
29
+ PY
30
+ - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
31
+ with:
32
+ enable-cache: true
33
+ - run: uv sync --locked --extra mcp
34
+ - run: uv run ruff check .
35
+ - run: uv run ruff format --check .
36
+ - run: uv run pytest -q
37
+ - run: uv build
38
+ - run: uvx twine check dist/*
39
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
40
+ with:
41
+ name: dist
42
+ path: dist/
43
+
44
+ publish:
45
+ name: Publish to PyPI
46
+ needs: build
47
+ runs-on: ubuntu-latest
48
+ timeout-minutes: 10
49
+ environment: release
50
+ permissions:
51
+ actions: read
52
+ id-token: write
53
+ steps:
54
+ - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
55
+ with:
56
+ name: dist
57
+ path: dist/
58
+ - uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1
59
+ with:
60
+ packages-dir: dist/
61
+ attestations: true
62
+
63
+ github-release:
64
+ name: Create GitHub release
65
+ needs: [build, publish]
66
+ runs-on: ubuntu-latest
67
+ timeout-minutes: 10
68
+ permissions:
69
+ actions: read
70
+ contents: write
71
+ steps:
72
+ - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
73
+ with:
74
+ name: dist
75
+ path: dist/
76
+ - run: |
77
+ gh release create "${GITHUB_REF_NAME}" dist/* \
78
+ --generate-notes \
79
+ --repo "${GITHUB_REPOSITORY}" \
80
+ --verify-tag
81
+ env:
82
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,29 @@
1
+ name: TestPyPI
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ permissions:
7
+ contents: read
8
+ id-token: write
9
+
10
+ jobs:
11
+ publish:
12
+ name: Publish to TestPyPI
13
+ runs-on: ubuntu-latest
14
+ timeout-minutes: 15
15
+ environment: testpypi
16
+ steps:
17
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18
+ - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
19
+ with:
20
+ enable-cache: true
21
+ - run: uv sync --locked --extra mcp
22
+ - run: uv run pytest -q
23
+ - run: uv build
24
+ - run: uvx twine check dist/*
25
+ - uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1
26
+ with:
27
+ repository-url: https://test.pypi.org/legacy/
28
+ packages-dir: dist/
29
+ attestations: false
@@ -0,0 +1,43 @@
1
+ # Python bytecode and caches
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # Virtual environments
7
+ .venv/
8
+ venv/
9
+ env/
10
+
11
+ # Test, lint and type-check caches
12
+ .pytest_cache/
13
+ .ruff_cache/
14
+ .mypy_cache/
15
+ .coverage
16
+ .coverage.*
17
+ htmlcov/
18
+
19
+ # Build artifacts
20
+ build/
21
+ dist/
22
+ *.egg-info/
23
+ .eggs/
24
+
25
+ # Local configuration and secrets
26
+ .env
27
+ .env.*
28
+ !.env.example
29
+ credentials.json
30
+ *.key
31
+ *.pem
32
+ *.token
33
+
34
+ # Exported media is plaintext and should stay local
35
+ waidrop-media/
36
+ media/
37
+ *.part
38
+
39
+ # OS and editor files
40
+ .DS_Store
41
+ .idea/
42
+ .vscode/
43
+ *.log
@@ -0,0 +1,12 @@
1
+ [extend]
2
+ useDefault = true
3
+
4
+ [allowlist]
5
+ description = "Public Dropbox client id and synthetic test fixtures"
6
+ regexes = [
7
+ '''ydtsl7okrf4xuee''',
8
+ ]
9
+ paths = [
10
+ '''tests/.*''',
11
+ '''uv\.lock''',
12
+ ]
@@ -0,0 +1,7 @@
1
+ repos:
2
+ - repo: https://github.com/astral-sh/ruff-pre-commit
3
+ rev: v0.17.3
4
+ hooks:
5
+ - id: ruff
6
+ args: [--fix]
7
+ - id: ruff-format
@@ -0,0 +1,45 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project follows [Semantic Versioning](https://semver.org/).
7
+
8
+ ## [1.0.0] - 2026-11-07
9
+
10
+ ### Added
11
+
12
+ - Initial release of `waidrop-cli`, the companion CLI for WAiDrop archives.
13
+ - Dropbox OAuth 2.0 authorization using PKCE with offline refresh tokens.
14
+ - `auth`, `auth --status`, `auth --status --json` and `auth --revoke` commands.
15
+ - `config` command that stores the archive key and account alias in a private
16
+ env file (`0600`; parent `0700`) and keeps unrelated entries.
17
+ - `chats`, `query` and `context` commands with name, number, chat-hash and JID
18
+ selectors.
19
+ - Date-, hour-, minute- and second-precision windows, plus rolling `--last`
20
+ windows.
21
+ - NDJSON, text and CSV output.
22
+ - Full-resolution image, sticker and GIF export with an NDJSON manifest.
23
+ - Per-chat context chunks with optional context-before and character splitting.
24
+ - Optional `mcp` extra and `waidrop-mcp` stdio server with read-only
25
+ `list_chats` and `get_context` tools.
26
+ - Automatic loading of the private CLI environment file for `chats`, `query`
27
+ and `context`.
28
+ - Private permissions for credentials, output files and exported media.
29
+ - Terminal control-character escaping and CSV formula-injection protection.
30
+ - Apache-2.0 license and `NOTICE`.
31
+
32
+ ### Changed
33
+
34
+ - Package, module, command, environment variables and configuration paths use
35
+ the `waidrop` name: `waidrop-cli`, `waidrop_cli`, `waidrop`, `WAIDROP_*`,
36
+ `~/.config/waidrop` and `%APPDATA%\waidrop`.
37
+ - Archive format 4 uses layout `waidrop`, media layout `waidrop-media-v1` and
38
+ HKDF salt `waidrop-v1`.
39
+ - Credentials default to `~/.config/waidrop/credentials.json`.
40
+
41
+ ### Removed
42
+
43
+ - Plaintext archive support. Archives must use the encrypted format.
44
+ - Backwards compatibility with earlier packages, archives,
45
+ credentials and environment variables.
@@ -0,0 +1,51 @@
1
+ # Contributing
2
+
3
+ ## Development setup
4
+
5
+ ```sh
6
+ git clone https://github.com/thabiger/waidrop-cli.git
7
+ cd waidrop-cli
8
+ uv sync --extra mcp
9
+ uv run pytest -q
10
+ ```
11
+
12
+ The test suite uses a local fake Dropbox server and encrypted fixtures. It does
13
+ not need a Dropbox account, network access, or real chat data.
14
+
15
+ ## Before opening a pull request
16
+
17
+ ```sh
18
+ uv run pytest -q
19
+ uv run ruff check .
20
+ uv run ruff format --check .
21
+ uv build
22
+ uvx twine check dist/*
23
+ ```
24
+
25
+ Keep changes focused, add tests for behavior changes, and update the README or
26
+ CHANGELOG when user-facing behavior changes.
27
+
28
+ ## Test data
29
+
30
+ Never commit real chat content, contact names, phone numbers, archive keys,
31
+ Dropbox tokens, or exported media. Use synthetic fixtures and reserved example
32
+ values such as `+1 555 0100`.
33
+
34
+ ## Security
35
+
36
+ Do not report security vulnerabilities in a public issue. See
37
+ [SECURITY.md](SECURITY.md).
38
+
39
+ ## Commit style
40
+
41
+ Use short imperative commit subjects, for example:
42
+
43
+ ```text
44
+ Add CSV formula-injection protection
45
+ Fix credential permissions
46
+ ```
47
+
48
+ ## License
49
+
50
+ By contributing, you agree that your contribution is licensed under the
51
+ Apache-2.0 license. See [LICENSE](LICENSE).
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Tomasz Habiger
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,6 @@
1
+ WAiDrop CLI
2
+ Copyright 2026 Tomasz Habiger
3
+
4
+ This product includes software developed by the WAiDrop CLI contributors.
5
+
6
+ Licensed under the Apache License, Version 2.0. See LICENSE for the full text.