@xmcore/qore 0.0.1 → 0.0.3
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/README.md +53 -5
- package/docs/logo.svg +40 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,9 +1,57 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<img src="https://unpkg.com/@xmcore/qore@latest/docs/logo.svg" alt="Qore" width="96" height="96" />
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
# Qore · @xmcore/qore
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
**AI 原生全端细粒度响应式引擎 · 零虚拟 DOM · Rust 极速编译 · 跨端统一底座**
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
[](https://www.npmjs.com/package/@xmcore/qore)
|
|
10
|
+
[](https://www.npmjs.com/package/@xmcore/qore)
|
|
11
|
+
[](./LICENSE)
|
|
12
|
+
[](https://www.typescriptlang.org/)
|
|
13
|
+
|
|
14
|
+
[官方主页](https://xmcore.top) · [路线规划](https://github.com/bbgouzi123/xm-core/blob/master/docs/plans/qore-framework-roadmap.md) · [配套组件库 @xmcore/ui](https://www.npmjs.com/package/@xmcore/ui) · [问题反馈](https://github.com/bbgouzi123/xm-core/issues)
|
|
15
|
+
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## 核心价值与特性
|
|
21
|
+
|
|
22
|
+
| | |
|
|
23
|
+
| :--- | :--- |
|
|
24
|
+
| **细粒度响应式内核** | 基于 Push-Pull 混合拓扑调度,无虚拟 DOM、无整树 Diff,状态变更直达最小粒子节点。 |
|
|
25
|
+
| **AI 原生确定性语法** | 专为 AI 编程时代打造:唯一正交写法 + 编译期静态防呆,消除解构失活与隐式陷阱。 |
|
|
26
|
+
| **Rust 极速编译链** | 摆脱沉重的 Babel AST 体系,依托 Rust 编译器实现毫秒级模板抽离与静态安全校验。 |
|
|
27
|
+
| **内核级保活调度** | 原生内置 `<KeepAlive>` 与 `FROZEN` 后台冻结状态,页面切换零销毁、零内存泄漏。 |
|
|
28
|
+
| **全端通用渲染器** | 响应式内核与渲染后端彻底解耦(Universal Renderer),一套逻辑平滑延伸多端硬件。 |
|
|
29
|
+
| **AI 因果自省诊断** | 开发与测试态内置结构化因果追踪协议,助力 AI Agent 自动定位问题并生成精确修复。 |
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 全端覆盖矩阵
|
|
34
|
+
|
|
35
|
+
| 层级 | 渲染后端 | 覆盖终端 |
|
|
36
|
+
| :--- | :--- | :--- |
|
|
37
|
+
| **L1 · 标准 WebView** | `@xmcore/qore-dom` | 网页端、Windows / macOS / Linux(Tauri 桌面)、Android / iOS、车机与中控平板 |
|
|
38
|
+
| **L2 · 异构原生与自绘** | `@xmcore/qore-canvas` / `arkui` / `mini` | 智能手表圆屏、120fps 车机仪表盘、鸿蒙原生应用、微信小程序 |
|
|
39
|
+
| **L3 · 超低功耗嵌入式** | Rust AOT 静态编译(规划中) | 极小内存 MCU 智能家居开关屏、手环 RTOS(LVGL / Slint) |
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## 安装与配套生态
|
|
44
|
+
|
|
45
|
+
> 当前 `0.0.3` 为 `@xmcore` 生态主包定位与架构占位版本,核心引擎正在按路线图分阶段交付。
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
pnpm add @xmcore/qore @xmcore/ui
|
|
49
|
+
# 或
|
|
50
|
+
npm install @xmcore/qore @xmcore/ui
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## 开源协议
|
|
56
|
+
|
|
57
|
+
[MIT](./LICENSE) © xmcore
|
package/docs/logo.svg
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="qoreMainGrad" x1="15%" y1="10%" x2="85%" y2="90%">
|
|
4
|
+
<stop offset="0%" stop-color="#818CF8" />
|
|
5
|
+
<stop offset="50%" stop-color="#4F46E5" />
|
|
6
|
+
<stop offset="100%" stop-color="#312E81" />
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<linearGradient id="qoreCoreGrad" x1="20%" y1="15%" x2="80%" y2="85%">
|
|
9
|
+
<stop offset="0%" stop-color="#A5B4FC" />
|
|
10
|
+
<stop offset="100%" stop-color="#4338CA" />
|
|
11
|
+
</linearGradient>
|
|
12
|
+
</defs>
|
|
13
|
+
|
|
14
|
+
<!-- Qore 主体几何 Q 形实体徽章(无外圈、纯形状剪影、单色相高光到深暗过渡) -->
|
|
15
|
+
<path
|
|
16
|
+
fill="url(#qoreMainGrad)"
|
|
17
|
+
fill-rule="evenodd"
|
|
18
|
+
d="M 512 92
|
|
19
|
+
C 744 92, 912 260, 912 492
|
|
20
|
+
C 912 595, 878 686, 820 755
|
|
21
|
+
L 918 853
|
|
22
|
+
C 942 877, 942 916, 918 940
|
|
23
|
+
C 894 964, 855 964, 831 940
|
|
24
|
+
L 728 837
|
|
25
|
+
C 665 872, 591 892, 512 892
|
|
26
|
+
C 280 892, 112 724, 112 492
|
|
27
|
+
C 112 260, 280 92, 512 92 Z
|
|
28
|
+
M 512 262
|
|
29
|
+
C 378 262, 282 358, 282 492
|
|
30
|
+
C 282 626, 378 722, 512 722
|
|
31
|
+
C 646 722, 742 626, 742 492
|
|
32
|
+
C 742 358, 646 262, 512 262 Z"
|
|
33
|
+
/>
|
|
34
|
+
|
|
35
|
+
<!-- 中心量子核菱形晶体(代表细粒度信号核心) -->
|
|
36
|
+
<path
|
|
37
|
+
fill="url(#qoreCoreGrad)"
|
|
38
|
+
d="M 512 346 L 658 492 L 512 638 L 366 492 Z"
|
|
39
|
+
/>
|
|
40
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmcore/qore",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Qore
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"description": "Qore · AI 原生全端细粒度响应式引擎|零虚拟 DOM · Rust 极速编译 · 内核级保活与跨端自绘(Web / 桌面 / 移动 / 鸿蒙 / 车机 / 智能终端)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"types": "./index.d.ts",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"files": [
|
|
16
16
|
"index.js",
|
|
17
17
|
"index.d.ts",
|
|
18
|
+
"docs/**/*",
|
|
18
19
|
"README.md",
|
|
19
20
|
"LICENSE"
|
|
20
21
|
],
|