a1518
2dd744de0f
ci: add npm publish workflow triggered on push to main
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 01:04:20 -07:00
a1518
1b3a6d5a4a
docs: align Markdown table columns in README
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 00:53:21 -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
84b45ef24d
refactor: simplify MaskSegmentCanvas core logic and reduce bundle size
...
Streamline the main canvas component, type definitions, and paint
shader runtime. Removes unused code paths and redundant logic across
src/ and example/, resulting in a net reduction of ~460 lines.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 23:56:13 -07:00
a1518
bf6b6cf502
fix: fallback to default semantic colors when config is incomplete
...
Prevent runtime crashes when custom semanticColors omit baseboard, cabinet, or wall entries.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 23:03:29 -07:00
a1518
70499176d6
Add splitWalls to subdivide wall regions by texture boundaries.
...
Enables optional wall-1/wall-2… sub-regions with independent paint and undo, plus example toggle and unit tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 22:41:17 -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