@tikomni/skills 0.1.5 → 0.1.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tikomni/skills",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "TikOmni skill installer CLI for structured social media crawling in Codex, Claude Code, and OpenClaw",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/mark-ly-wang/TikOmni-Skills#readme",
@@ -38,6 +38,7 @@
38
38
 
39
39
  - `author` 是展示名,不是对象。
40
40
  - Markdown 卡片的事实字段进入 frontmatter,不再输出 `## Facts` 章节。
41
+ - 作品库目录只写 Markdown 卡片,不再额外写同目录 `.json` sidecar。
41
42
  - `primary_text` 为当前任务最适合阅读和索引的主文本。
42
43
  - `play_count` 允许为 `null`;缺失时卡片展示为空,只有平台明确返回 `0` 时才保留 `0`。
43
44
  - 视频优先顺序:
@@ -389,7 +389,6 @@ def write_work_fact_card(
389
389
  fallback_identifier=fallback_identifier,
390
390
  )
391
391
 
392
- Path(paths["json_path"]).write_text(json.dumps(card, ensure_ascii=False, indent=2), encoding="utf-8")
393
392
  Path(paths["markdown_path"]).write_text(
394
393
  "\n".join(_markdown_lines(card)).strip() + "\n",
395
394
  encoding="utf-8",
@@ -400,7 +399,7 @@ def write_work_fact_card(
400
399
  "ok": True,
401
400
  "count": 1,
402
401
  "path": paths["markdown_path"],
403
- "json_path": paths["json_path"],
402
+ "json_path": None,
404
403
  "markdown_path": paths["markdown_path"],
405
404
  "route": paths["route"],
406
405
  "identifier": paths["identifier"],