Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This file defines the architecture, coding conventions, and required workflows f
- Dart SDK: `>=3.11.0 <4.0.0`; Flutter: `>=3.3.0` (from `pubspec.yaml`).
- Runtime deps: `plugin_platform_interface`, `http`, `sqflite`, `path_provider`, `collection`. Keep the caret (`^`) constraint on pub dependencies; do not pin exact versions without reason.
- Dev deps: `flutter_test`, `flutter_lints` (v6). Analysis is governed by `analysis_options.yaml`.
- License: GPL-3.0. Do not relicense.
- License: MPL-2.0 (Mozilla Public License 2.0). Do not relicense without the maintainer's explicit decision.
- Platform pattern: define the abstract API in the platform interface, provide the `MethodChannel` default, register it in the barrel.
- How features work: network capture via `HttpOverrides` (covers `http` and Dio's `HttpClient`); logging via Zone plus `debugPrint` override; memory/FPS via VM Service plus `addTimingsCallback` (v1.2.1+ uses real frame timestamps and `rasterFinish - buildStart` duration to catch GPU jank).
- Native: Android `android/src/main/kotlin/.../ZeroInspectorKitPlugin.kt` (package `com.zerolabsco.zero_inspector_kit`); iOS `ios/Classes/ZeroInspectorKitPlugin.swift`. Keep native changes minimal and matching the method channel contract.
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.10.0

### Changed / 变更
- 许可证由 GPL-3.0 更换为 **MPL-2.0**:未修改使用(含闭源商业分发)无需公开源码;修改了插件源文件时,被修改的文件必须以 MPL-2.0 公开源码,宿主 App 仍无需开源。 / Relicensed from GPL-3.0 to **MPL-2.0**: using the plugin unmodified (including in closed-source commercial apps) requires no source disclosure; when plugin source files are modified, those modified files must be published in source form under MPL-2.0, while the host app itself still needs no disclosure.
- `LICENSE` 新增版权声明与附加声明:修改版 / 衍生版不提供任何担保、版权方不承担相应责任、修改版须明确标注已修改,且未经书面许可不得以 "Zero Labs Co."、"zero_inspector_kit"、项目 Logo / 吉祥物形象及作者名义为衍生品背书或暗示官方赞助。 / The `LICENSE` now carries a copyright notice plus additional statements: no warranty and no liability for modified or derivative versions, modified versions must be marked as such, and no use of "Zero Labs Co.", "zero_inspector_kit", the logo / mascot artwork, or the author's name to endorse derived products or imply sponsorship without prior written permission.

## 1.9.1

### Changed / 变更
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ The following is a set of guidelines for contributing to Zero Inspector Kit. The

## Code of Conduct

This project is licensed under GPL-3.0. By participating, you are expected to uphold a respectful and collaborative tone. Please be kind to maintainers and other contributors.
This project is licensed under MPL-2.0. By participating, you are expected to uphold a respectful and collaborative tone. Please be kind to maintainers and other contributors.

> 本项目采用 GPL-3.0 许可证。参与贡献请保持尊重、协作的态度,对维护者和其他贡献者友善。
> 本项目采用 MPL-2.0 许可证。参与贡献请保持尊重、协作的态度,对维护者和其他贡献者友善。

## Getting Started

Expand Down
1,085 changes: 412 additions & 673 deletions LICENSE

Large diffs are not rendered by default.

16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ An in-app developer console for Flutter: inspect HTTP, WebSocket & gRPC traffic,
[![pub version](https://img.shields.io/pub/v/zero_inspector_kit.svg)](https://pub.dev/packages/zero_inspector_kit)
[![pub points](https://img.shields.io/pub/points/zero_inspector_kit.svg)](https://pub.dev/packages/zero_inspector_kit/score)
[![CI](https://github.com/zero-labsco/zero_inspector_kit/actions/workflows/ci.yml/badge.svg)](https://github.com/zero-labsco/zero_inspector_kit/actions/workflows/ci.yml)
[![License: GPL-3.0](https://img.shields.io/badge/License-GPL--3.0-blue.svg)](https://github.com/zero-labsco/zero_inspector_kit/blob/main/LICENSE)
[![License: MPL-2.0](https://img.shields.io/badge/License-MPL--2.0-blue.svg)](https://github.com/zero-labsco/zero_inspector_kit/blob/main/LICENSE)
[![Platform](https://img.shields.io/badge/Platform-Android%20%7C%20iOS-green.svg)](https://pub.dev/packages/zero_inspector_kit)
[![Flutter](https://img.shields.io/badge/Flutter-✓-02569B?logo=flutter)](https://flutter.dev)
[![Dart](https://img.shields.io/badge/Dart-✓-0175C2?logo=dart)](https://dart.dev)
[![Style: effective dart](https://img.shields.io/badge/style-effective_dart-40c4ff.svg)](https://pub.dev/packages/effective_dart)

> **🔔 Upgrade recommended:** This release trims the published package — local build artifacts are no longer shipped, cutting the downloaded archive from ~23 MB to ~3 MB. No runtime changes. All users are encouraged to upgrade to the latest version (`^1.9.1`).
> **🔔 Upgrade recommended:** This release relicenses the plugin under **MPL-2.0** — using it unmodified (including in closed-source commercial apps) requires no source disclosure, while modified files must be published in source form. No code changes. All users are encouraged to upgrade to the latest version (`^1.10.0`).

🌐 **[Official Website](https://www.zerolabsco.com/)** &nbsp;·&nbsp; 📦 **[View on pub.dev](https://pub.dev/packages/zero_inspector_kit)** &nbsp;·&nbsp; 🔗 **[View on GitHub](https://github.com/zero-labsco/zero_inspector_kit)**

Expand Down Expand Up @@ -102,7 +102,7 @@ An in-app developer console for Flutter: inspect HTTP, WebSocket & gRPC traffic,

```yaml
dependencies:
zero_inspector_kit: ^1.9.1
zero_inspector_kit: ^1.10.0
```

### GitHub
Expand All @@ -112,7 +112,7 @@ dependencies:
zero_inspector_kit:
git:
url: https://github.com/zero-labsco/zero_inspector_kit.git
ref: release/v1.9.1 # replace 1.9.1 with the version you need
ref: release/v1.10.0 # replace 1.10.0 with the version you need
```

---
Expand Down Expand Up @@ -536,8 +536,12 @@ Contributions are welcome! Please read the [Contributing Guidelines](CONTRIBUTIN

## License

This project is licensed under the GNU General Public License v3.0 — see the [LICENSE](LICENSE) file for details.
Copyright (c) 2026 Zero Labs Co. (AmisKwok). This project is licensed under the **Mozilla Public License 2.0 (MPL-2.0)** — see the [LICENSE](LICENSE) file for details.

This plugin is licensed under GPL-3.0, which permits commercial use. Any derivative project that modifies this plugin and redistributes it must publish its complete source code under the same license.
- **Commercial use is allowed.** Use, modification and closed-source distribution are permitted.
- **Modified the plugin?** The files you modified must be published in source form under MPL-2.0. Your own app does **not** need to be open-sourced.
- **Used it unmodified?** No source disclosure is required.
- **No endorsement.** "Zero Labs Co.", "zero_inspector_kit", the logo / mascot artwork, and the author's name (AmisKwok) may not be used to endorse or promote derived products, or to imply sponsorship or affiliation, without prior written permission.
- **No warranty, no liability.** The copyright holder provides no warranty and accepts no liability for any modified or derivative version; modified versions must be clearly marked as modified.

This plugin is provided "as is", without warranty of any kind. The author assumes no responsibility or liability for the functionality, security, or any consequences arising from the use of modified versions or derivative projects.
16 changes: 10 additions & 6 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
[![pub version](https://img.shields.io/pub/v/zero_inspector_kit.svg)](https://pub.dev/packages/zero_inspector_kit)
[![pub points](https://img.shields.io/pub/points/zero_inspector_kit.svg)](https://pub.dev/packages/zero_inspector_kit/score)
[![CI](https://github.com/zero-labsco/zero_inspector_kit/actions/workflows/ci.yml/badge.svg)](https://github.com/zero-labsco/zero_inspector_kit/actions/workflows/ci.yml)
[![License: GPL-3.0](https://img.shields.io/badge/License-GPL--3.0-blue.svg)](https://github.com/zero-labsco/zero_inspector_kit/blob/main/LICENSE)
[![License: MPL-2.0](https://img.shields.io/badge/License-MPL--2.0-blue.svg)](https://github.com/zero-labsco/zero_inspector_kit/blob/main/LICENSE)
[![Platform](https://img.shields.io/badge/Platform-Android%20%7C%20iOS-green.svg)](https://pub.dev/packages/zero_inspector_kit)
[![Flutter](https://img.shields.io/badge/Flutter-✓-02569B?logo=flutter)](https://flutter.dev)
[![Dart](https://img.shields.io/badge/Dart-✓-0175C2?logo=dart)](https://dart.dev)
[![Style: effective dart](https://img.shields.io/badge/style-effective_dart-40c4ff.svg)](https://pub.dev/packages/effective_dart)

> **🔔 推荐升级:** 本次更新精简发布包——不再随包发布本地构建产物,下载体积由约 23 MB 降至约 3 MB,运行时行为无变化。建议所有用户升级到最新版本(`^1.9.1`)。
> **🔔 推荐升级:** 本版本将许可证更换为 **MPL-2.0**——未修改直接使用(含闭源商业 App)无需公开源码,修改过的文件则需以源码形式公开。代码无变更。建议所有用户升级到最新版本(`^1.10.0`)。

🌐 **[官方网站](https://www.zerolabsco.com/)** &nbsp;·&nbsp; 📦 **[在 pub.dev 查看](https://pub.dev/packages/zero_inspector_kit)** &nbsp;·&nbsp; 🔗 **[查看 GitHub 仓库](https://github.com/zero-labsco/zero_inspector_kit)**

Expand Down Expand Up @@ -101,7 +101,7 @@

```yaml
dependencies:
zero_inspector_kit: ^1.9.1
zero_inspector_kit: ^1.10.0
```

### GitHub
Expand All @@ -111,7 +111,7 @@ dependencies:
zero_inspector_kit:
git:
url: https://github.com/zero-labsco/zero_inspector_kit.git
ref: release/v1.9.1 # 将 1.9.1 替换为你需要的版本号
ref: release/v1.10.0 # 将 1.10.0 替换为你需要的版本号
```

---
Expand Down Expand Up @@ -536,8 +536,12 @@ runInspectorApp(VoidCallback appRunner)

## 许可证

本项目采用 GNU General Public License v3.0 许可证 - 详见 [LICENSE](LICENSE) 文件。
版权所有 (c) 2026 Zero Labs Co. (AmisKwok)。本项目采用 **Mozilla Public License 2.0(MPL-2.0)** 授权 — 详见 [LICENSE](LICENSE) 文件。

本插件采用 GPL-3.0 授权,允许商业使用;任何对本插件进行修改并再分发的衍生项目,必须以相同许可证公开其完整源代码。
- **允许商用**:可自由使用、修改与闭源分发。
- **修改了插件?** 被修改的文件必须以 MPL-2.0 公开源码;你自己的 App **无需**开源。
- **未修改直接使用?** 无需公开任何源码。
- **禁止背书**:未经书面许可,不得以 "Zero Labs Co."、"zero_inspector_kit"、项目 Logo / 吉祥物形象及作者名义(AmisKwok)为衍生品背书、宣传或暗示官方赞助 / 关联。
- **免责声明**:版权方不对任何修改版或衍生版提供担保,也不承担相应责任;修改版必须明确标注已被修改。

本插件按"原样"提供,不提供任何担保。作者不对修改版或衍生项目的功能、安全性及任何使用后果承担责任。
2 changes: 1 addition & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><link rel="preload" href="/zero_inspector_kit/_next/static/css/df9fc72061aac7da.css" as="style"/><link rel="stylesheet" href="/zero_inspector_kit/_next/static/css/df9fc72061aac7da.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/zero_inspector_kit/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/zero_inspector_kit/_next/static/chunks/webpack-ad90bb3f37d3ab33.js" defer=""></script><script src="/zero_inspector_kit/_next/static/chunks/framework-64ad27b21261a9ce.js" defer=""></script><script src="/zero_inspector_kit/_next/static/chunks/main-f5dfbda958d94c6d.js" defer=""></script><script src="/zero_inspector_kit/_next/static/chunks/pages/_app-ec27bf27c476d146.js" defer=""></script><script src="/zero_inspector_kit/_next/static/chunks/pages/_error-7a92967bea80186d.js" defer=""></script><script src="/zero_inspector_kit/_next/static/6toa_d2oX0aKi0eXeWxm5/_buildManifest.js" defer=""></script><script src="/zero_inspector_kit/_next/static/6toa_d2oX0aKi0eXeWxm5/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"6toa_d2oX0aKi0eXeWxm5","assetPrefix":"/zero_inspector_kit","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><link rel="preload" href="/zero_inspector_kit/_next/static/css/df9fc72061aac7da.css" as="style"/><link rel="stylesheet" href="/zero_inspector_kit/_next/static/css/df9fc72061aac7da.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/zero_inspector_kit/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/zero_inspector_kit/_next/static/chunks/webpack-ad90bb3f37d3ab33.js" defer=""></script><script src="/zero_inspector_kit/_next/static/chunks/framework-64ad27b21261a9ce.js" defer=""></script><script src="/zero_inspector_kit/_next/static/chunks/main-f5dfbda958d94c6d.js" defer=""></script><script src="/zero_inspector_kit/_next/static/chunks/pages/_app-dfead9b5b0a86c83.js" defer=""></script><script src="/zero_inspector_kit/_next/static/chunks/pages/_error-7a92967bea80186d.js" defer=""></script><script src="/zero_inspector_kit/_next/static/oOebmkbSWWItGfY6IYxtD/_buildManifest.js" defer=""></script><script src="/zero_inspector_kit/_next/static/oOebmkbSWWItGfY6IYxtD/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"oOebmkbSWWItGfY6IYxtD","assetPrefix":"/zero_inspector_kit","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
Loading
Loading