From ea8192b8347e240a1f9cece547f49c245556908c Mon Sep 17 00:00:00 2001 From: tiye Date: Thu, 12 Nov 2026 04:05:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=20Termina=20=E5=88=B0=20Calc?= =?UTF-8?q?it=200.41.1=20=E5=B9=B6=E6=98=8E=E7=A1=AE=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- calcit.cirru | 13 +++---------- deps.cirru | 2 +- package.json | 2 +- yarn.lock | 10 +++++----- 5 files changed, 11 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index fdd3d16..e424ecf 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ TODO: new npm package. ### 迁移状态 -升级后请使用正式 Calcit / `@calcit/procs` 0.41.0 重新生成客户端与服务端 JS。依赖图配对 Respo 0.19.5、Cumulo Reel 0.3.2 和 Fuzzy Filter 0.0.19。命令的输入、执行协议和存档格式保持。 +升级后请使用正式 Calcit / `@calcit/procs` 0.41.1 重新生成客户端与服务端 JS。依赖图配对 Respo 0.19.5、Cumulo Reel 0.3.2 和 Fuzzy Filter 0.0.19。命令的输入、执行协议和存档格式保持。 命令解析使用具名的 `ParsedCommand`,命令编辑器和按钮回调传递应用的 `Op`。插件仍通过现有开放入口接收操作。 diff --git a/calcit.cirru b/calcit.cirru index 5245371..cefdd19 100644 --- a/calcit.cirru +++ b/calcit.cirru @@ -2451,16 +2451,9 @@ assert= true $ .some? $ get (:processes decoded) 42 'decode-log-event $ %{} 'CodeEntry (:doc |) :code $ quote $ defn decode-log-event (raw) - let - items $ decode-map-as raw $ List Dynamic - assert "|Log event requires PID and text" $ = (count items) 2 - LogEvent :pid - decode-map-as - .unwrap $ get items 0 - , 'Number - , :data $ decode-map-as - .unwrap $ get items 1 - , 'String + let[] (pid text) + decode-map-as raw $ Tuple Number String + LogEvent :pid pid :data text :examples $ [] :schema $ quote $ Fn Dynamic (-> LogEvent) 'encode-database $ %{} 'CodeEntry (:doc |) diff --git a/deps.cirru b/deps.cirru index 570fb3b..ff0eeaa 100644 --- a/deps.cirru +++ b/deps.cirru @@ -1,5 +1,5 @@ -{} (:calcit-version |0.41.0) +{} (:calcit-version |0.41.1) :version |0.1.22 :dependencies $ {} (|Cumulo/cumulo-reel.calcit |0.3.2) |Cumulo/cumulo-util.calcit |0.0.40 diff --git a/package.json b/package.json index a1c63a5..1d19b1b 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "author": "jiyinyiyong", "license": "MIT", "dependencies": { - "@calcit/procs": "0.41.0", + "@calcit/procs": "0.41.1", "chalk": "^5.3.0", "dayjs": "^1.11.11", "latest-version": "^9.0.0", diff --git a/yarn.lock b/yarn.lock index 697038b..e49b1af 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,15 +12,15 @@ __metadata: languageName: node linkType: hard -"@calcit/procs@npm:0.41.0": - version: 0.41.0 - resolution: "@calcit/procs@npm:0.41.0" +"@calcit/procs@npm:0.41.1": + version: 0.41.1 + resolution: "@calcit/procs@npm:0.41.1" dependencies: "@calcit/finger-vec": "npm:0.1.1" "@calcit/ternary-tree": "npm:0.0.26" "@cirru/parser.ts": "npm:0.0.10" "@cirru/writer.ts": "npm:^0.1.9" - checksum: 10c0/5de94b39e435363d0f80611b63914c9abd6b0afac3c77adf9b9846ac439fce319ac0780697364cabf67b2997d39495a1e72086e1496ac560c51bb57462f37628 + checksum: 10c0/f14d3d61fdfc3fef4b7b215cc4c2be3923950b42ea19333d94e3fc689631545b2e6f56a8da31246971c7beaf1283d6f55a3af469a20bd9cb80be9352996d413f languageName: node linkType: hard @@ -928,7 +928,7 @@ __metadata: version: 0.0.0-use.local resolution: "termina@workspace:." dependencies: - "@calcit/procs": "npm:0.41.0" + "@calcit/procs": "npm:0.41.1" bottom-tip: "npm:^0.1.5" chalk: "npm:^5.3.0" dayjs: "npm:^1.11.11"