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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ _TODO_

### 使用者影响

升级到 Calcit **0.41.1** 后,请重新安装依赖、生成 JS 并刷新页面。原存档可以继续打开,
升级到 Calcit **0.42.1** 后,请重新安装依赖、生成 JS 并刷新页面。原存档可以继续打开,
Run、文本输入、复制、错误 HUD 和开发模式的 Reel 面板沿用原有行为。

Reel 使用 `State<Op, Store>`,按钮和文本框通过 Respo 的类型化事件派发具名 `Op`。应用派发使用 `Op | reel.typed/Control`,旧面板事件只在渲染入口解码。按钮路径使用 `CoordKey` union,局部状态使用 `Map Tag Bool`。
复制边界以 `CopyScalar` 表示 String、Number、Bool、Tag、Symbol,空值仍复制为空字符串,
复合数据仍会报错。新输出操作只接收 `String`,包括 Run 的格式化结果和输出文本框输入。`Store.data` 保留对任意旧存档数据的支持,恢复成功后才启用自动保存。

配对正式 `@calcit/procs` **0.41.1**、Respo **0.19.5**、Reel **0.11.0**、UI **0.15.2**、
配对正式 `@calcit/procs` **0.42.1**、Respo **0.19.5**、Reel **0.11.0**、UI **0.15.2**、
JS-FFI **0.2.13**,传递依赖 Router **0.12.2**。

### 开发

使用 Node 24、Yarn 4.18.0、Caps 0.1.1 和配对 Calcit 0.41.1:
使用 Node 24、Yarn 4.18.0、Caps 0.1.1 和配对 Calcit 0.42.1:

```sh
caps --strict --ci
Expand Down
12 changes: 6 additions & 6 deletions calcit.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
, .unwrap-or |false
true false
:examples $ []
:schema $ quote $ Fn (-> Bool) (:features :js-ffi)
:schema $ quote $ Fn (-> Bool) (:features :io :js-ffi)
'dev? $ %{} 'CodeEntry (:doc |)
:code $ quote $ def dev?
= |dev $
Expand Down Expand Up @@ -195,7 +195,7 @@
reel.typed/record-op updater @*reel action (generate-id!) (js-ffi.shared/now-ms)
, &unit
:examples $ []
:schema $ quote $ Fn schema/ResolvedOp (-> Unit) (:features :js-ffi)
:schema $ quote $ Fn schema/ResolvedOp (-> Unit) (:features :io :js-ffi :state)
'main! $ %{} 'CodeEntry (:doc |)
:code $ quote $ defn main! ()
println "|Running mode:" $ if config/dev? |dev |release
Expand All @@ -216,7 +216,7 @@
, 60000
println "|App started."
:examples $ []
:schema $ quote $ Fn (-> Unit) (:features :js-ffi)
:schema $ quote $ Fn (-> Unit) (:features :io :js-ffi :state)
'mount-target $ %{} 'CodeEntry (:doc |)
:code $ quote $ defn mount-target ()
respo-browser/narrow-element $
Expand All @@ -230,7 +230,7 @@
.unwrap-or (get config/site :storage-key) |data-former
format-cirru-edn $ :store @*reel
:examples $ []
:schema $ quote $ Fn (-> Unit) (:features :js-ffi)
:schema $ quote $ Fn (-> Unit) (:features :js-ffi :state)
'reload! $ %{} 'CodeEntry (:doc |)
:code $ quote $ defn reload! ()
if (nil? build-errors)
Expand All @@ -241,7 +241,7 @@
hud! |error build-errors
, &unit
:examples $ []
:schema $ quote $ Fn (-> Unit) (:features :js-ffi)
:schema $ quote $ Fn (-> Unit) (:features :io :js-ffi :state)
'render-app! $ %{} 'CodeEntry (:doc |)
:code $ quote $ defn render-app! ()
render-with! (mount-target)
Expand All @@ -252,7 +252,7 @@
hint-fn $ Fn schema/Op $ -> Unit
dispatch! op
:examples $ []
:schema $ quote $ Fn (-> Unit) (:features :js-ffi)
:schema $ quote $ Fn (-> Unit) (:features :io :js-ffi :state)
:ns $ %{} 'NsEntry (:doc |)
:code $ quote $ ns app.main
:require
Expand Down
2 changes: 1 addition & 1 deletion deps.cirru
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

{} (:calcit-version |0.41.1)
{} (:calcit-version |0.42.1)
:version |0.1.2
:dependencies $ {} (|Respo/reel.calcit |0.11.0)
|Respo/respo-ui.calcit |0.15.2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"vite": "8.3.3"
},
"dependencies": {
"@calcit/procs": "0.41.1",
"@calcit/procs": "0.42.1",
"copy-text-to-clipboard": "^3.1.0",
"feather-icons": "^4.29.0",
"shortid": "^2.2.16"
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.