@kangyishuai/dsh-casefile 0.8.0 → 0.8.1

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.
@@ -17,8 +17,8 @@ const OPERATION_KINDS = [
17
17
  ["parse", "structure"],
18
18
  ["string", "string"],
19
19
  ["js", "behavior"],
20
- ["network", "network"],
21
- ["capture", "network"],
20
+ ["network", "har"],
21
+ ["capture", "har"],
22
22
  ["screenshot", "screen"],
23
23
  ["plist", "structure"],
24
24
  ["signature", "structure"],
@@ -18,13 +18,19 @@
18
18
  /** 摄入契约版本;形状变化时递增。 */
19
19
  export const INGEST_VERSION = 1;
20
20
 
21
+ // 必须与 core/model.js 的 evidence kind 枚举**完全一致**,否则摄入会被模型层拒绝。
22
+ // (这个不一致是真机跑出来的:Craft 的 capture.network 被映射成 network → invalid-input)
21
23
  const EVIDENCE_KINDS = [
22
- "structure",
23
- "behavior",
24
+ "pseudocode",
25
+ "assembly",
24
26
  "string",
27
+ "xref",
28
+ "callgraph",
29
+ "har",
30
+ "process",
25
31
  "screen",
26
- "network",
27
- "artifact",
32
+ "structure",
33
+ "behavior",
28
34
  "other",
29
35
  ];
30
36
  const CLAIM_KINDS = ["structure", "behavior", "string", "other"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kangyishuai/dsh-casefile",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Evidence-first reverse-engineering workbench on top of REA: observations become citable evidence, a handoff spec pack, and recomputable acceptance checks. No bridge, no engine.",
5
5
  "keywords": [
6
6
  "dsh",