@calcit/procs 0.13.11 → 0.13.12
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/.yarn/install-state.gz +0 -0
- package/202608121618-type-guidance.md +6 -0
- package/202608121730-struct-option-constructor.md +6 -0
- package/202608121900-release-0.13.12.md +5 -0
- package/editing-history/202608120129-type-symbol-query-errors.md +16 -0
- package/lib/package.json +1 -1
- package/package.json +1 -1
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# 类型强化与 Dynamic 审计记录
|
|
2
|
+
|
|
3
|
+
- 为 `cr` 增加运行/编译阶段的 Dynamic 用量统计,按占比输出 stderr notice/warning,不影响 stdout 的机器可解析性。
|
|
4
|
+
- 新增 `option:or-else` 与 `result:or-else`,并注册到 Option/Result 方法表,支持惰性 fallback 级联。
|
|
5
|
+
- 在 `CalcitAgent.md` 与 `docs/type-guidance.md` 中整理 Dynamic、Option/Result、get-in/update-in 和 Enum 头部构造的推荐实践。
|
|
6
|
+
- 保留 `%::` 作为显式 prototype/动态边界;已知 Enum 优先使用 `Enum :tag ...`,交给类型分析降为命名构造。
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Query type errors use canonical Symbols
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
- Updated `cr query type` guidance and related CLI help to use canonical quoted type symbols such as `'String`, `'Number`, and `'List` instead of legacy tag examples.
|
|
6
|
+
- Allowed `cr query type` to parse canonical quoted builtin symbols while preserving compatibility with legacy lowercase/tag spellings.
|
|
7
|
+
- Added regression coverage for canonical symbols, compound types, the migrated error message, and excess symbol prefixes.
|
|
8
|
+
|
|
9
|
+
## Validation
|
|
10
|
+
|
|
11
|
+
- `cargo fmt`
|
|
12
|
+
- `cargo clippy --bin cr -- -D warnings`
|
|
13
|
+
- `cargo test`
|
|
14
|
+
- `yarn compile`
|
|
15
|
+
- `yarn check-all`
|
|
16
|
+
- `yarn check-agent-interface`
|
package/lib/package.json
CHANGED