Commit Graph

6 Commits

Author SHA1 Message Date
a1518
8bc66a4ee9 refactor: remove Chinese, add build obfuscation, polish README
Some checks failed
Publish to npm / publish (push) Has been cancelled
- Remove all Chinese characters from src/, example/, ios/, patches/, tests/
- Add esbuild-based build obfuscation (minify + identifier mangle + no sourcemaps)
- Drop src/ from npm publish, only ship minified dist/
- Remove source maps and declaration maps from build output
- Add README icons and visual polish throughout
- Fix broken Table of Contents anchor links in README

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 19:07:32 -07:00
a1518
db572ee51d Merge branch 'main' into 0.2.0
Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	App.tsx
#	README.md
#	dist/components/MaskSegmentCanvas.d.ts.map
#	dist/components/MaskSegmentCanvas.js
#	dist/components/MaskSegmentCanvas.js.map
#	dist/components/MaskSegmentCanvas.types.d.ts
#	dist/components/MaskSegmentCanvas.types.d.ts.map
#	dist/index.d.ts
#	dist/index.d.ts.map
#	dist/index.js
#	dist/index.js.map
#	dist/utils/freqLayerPrep.d.ts
#	dist/utils/freqLayerPrep.d.ts.map
#	dist/utils/freqLayerPrep.js
#	dist/utils/freqLayerPrep.js.map
#	dist/utils/maskSegmentRuntime.d.ts.map
#	dist/utils/maskSegmentRuntime.js
#	dist/utils/maskSegmentRuntime.js.map
#	dist/utils/maskSegmentation.d.ts
#	dist/utils/maskSegmentation.d.ts.map
#	dist/utils/maskSegmentation.js
#	dist/utils/maskSegmentation.js.map
#	dist/utils/maskSemanticPalette.d.ts.map
#	dist/utils/maskSemanticPalette.js
#	dist/utils/maskSemanticPalette.js.map
#	dist/utils/paintShaderRuntime.js
#	dist/utils/paintShaderRuntime.js.map
#	dist/utils/resolveImageUrl.d.ts
#	dist/utils/resolveImageUrl.d.ts.map
#	dist/utils/resolveImageUrl.js
#	dist/utils/resolveImageUrl.js.map
#	index.js
#	package.json
#	src/components/MaskSegmentCanvas.tsx
#	src/components/MaskSegmentCanvas.types.ts
#	src/index.ts
#	src/utils/freqLayerPrep.ts
#	src/utils/maskSegmentRuntime.ts
#	src/utils/maskSegmentation.ts
#	src/utils/maskSemanticPalette.ts
#	src/utils/paintShaderRuntime.tsx
#	src/utils/resolveImageUrl.ts
2026-07-01 00:51:55 -07:00
a1518
eb246efa8a Add example app and fix Android asset loading on image switch.
Introduce the example integration demo, export resolveAssetPath, harden resolveImageUrl for Android bundled assets, and update gitignore to exclude example build outputs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 20:24:43 -07:00
a1518
acd6d3a73d feat: add MaskSegmentApp source code and config
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 00:27:28 -07:00
a1518
56738b1f06 feat: add MaskSegmentApp source code and config
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 00:23:52 -07:00
陈钰文
08280f38e3 Initial commit 2026-06-13 06:47:11 +08:00