@gobing-ai/knowledge-kit 0.1.4 → 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.
Files changed (75) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/dist/board/collect/index.css +447 -0
  3. package/dist/board/collect/index.js +2505 -453
  4. package/dist/board/daily-voice/index.css +447 -0
  5. package/dist/board/daily-voice/index.js +415 -8
  6. package/dist/board/itc/index.css +447 -0
  7. package/dist/board/itc/index.js +415 -8
  8. package/dist/index.js +494 -136
  9. package/package.json +6 -5
  10. package/plugins/generations/content-gen/dist/index.js +9 -9
  11. package/plugins/generations/core-facts-gen/dist/index.js +12 -12
  12. package/plugins/generations/daily-article-gen/dist/index.js +15 -13
  13. package/plugins/generations/daily-article-gen/src/index.ts +5 -3
  14. package/plugins/generations/dailynews-gen/dist/index.js +9 -9
  15. package/plugins/generations/episode-plan-gen/dist/index.js +12 -12
  16. package/plugins/generations/gemini-tts/dist/index.js +9 -9
  17. package/plugins/generations/image-gen/dist/index.js +28 -12
  18. package/plugins/generations/image-gen/src/compose/card.ts +19 -3
  19. package/plugins/generations/news-report-gen/dist/index.js +12 -12
  20. package/plugins/generations/voice-gen/dist/index.js +9 -9
  21. package/plugins/generations/voxcpm-tts/README.md +31 -0
  22. package/plugins/generations/voxcpm-tts/dist/index.js +9 -9
  23. package/plugins/generations/voxcpm-tts/scripts/probe-long-render.py +134 -0
  24. package/plugins/ingestions/aihot-ingest/dist/index.js +12 -12
  25. package/plugins/ingestions/horizon-ingest/dist/index.js +12 -12
  26. package/plugins/ingestions/karakeep-local/dist/index.js +13 -13
  27. package/plugins/ingestions/last30days-ingest/dist/index.js +12 -12
  28. package/plugins/ingestions/web-search/dist/index.js +10 -10
  29. package/plugins/kk/decisions/kk-podcast.yaml +44 -0
  30. package/plugins/kk/decisions/kk-safety.yaml +46 -0
  31. package/plugins/kk/plugin.json +1 -1
  32. package/plugins/kk/scripts/audio-quality.ts +635 -0
  33. package/plugins/kk/scripts/daily-stages.ts +163 -0
  34. package/plugins/kk/scripts/kk-workflow-stages.ts +34 -0
  35. package/plugins/kk/workflows/kk-daily-ai-voice2.yaml +25 -9
  36. package/plugins/kk/workflows/kk-daily-safety.yaml +37 -10
  37. package/plugins/kk/workflows/kk-solo-podcast.yaml +65 -1
  38. package/plugins/publishings/bilibili-pub/dist/index.js +22 -22
  39. package/plugins/publishings/bilibili-pub/dist/profile-check.js +22 -22
  40. package/plugins/publishings/cnblogs-pub/dist/index.js +22 -22
  41. package/plugins/publishings/cnblogs-pub/dist/profile-check.js +22 -22
  42. package/plugins/publishings/csdn-pub/dist/index.js +22 -22
  43. package/plugins/publishings/csdn-pub/dist/profile-check.js +22 -22
  44. package/plugins/publishings/emdash-pub/dist/index.js +9 -9
  45. package/plugins/publishings/infoq-pub/dist/index.js +22 -22
  46. package/plugins/publishings/infoq-pub/dist/profile-check.js +22 -22
  47. package/plugins/publishings/jike-pub/dist/index.js +22 -22
  48. package/plugins/publishings/jike-pub/dist/profile-check.js +22 -22
  49. package/plugins/publishings/juejin-pub/dist/index.js +22 -22
  50. package/plugins/publishings/juejin-pub/dist/profile-check.js +22 -22
  51. package/plugins/publishings/medium-pub/dist/index.js +9 -9
  52. package/plugins/publishings/podcast-pub/dist/index.js +9 -9
  53. package/plugins/publishings/qiita-pub/dist/index.js +9 -9
  54. package/plugins/publishings/shipinhao-pub/dist/index.js +22 -22
  55. package/plugins/publishings/shipinhao-pub/dist/profile-check.js +22 -22
  56. package/plugins/publishings/sspai-pub/dist/index.js +22 -22
  57. package/plugins/publishings/sspai-pub/dist/profile-check.js +22 -22
  58. package/plugins/publishings/substack-pub/dist/index.js +22 -22
  59. package/plugins/publishings/substack-pub/dist/profile-check.js +22 -22
  60. package/plugins/publishings/surfdash-pub/dist/index.js +39 -12
  61. package/plugins/publishings/surfdash-pub/src/index.ts +33 -6
  62. package/plugins/publishings/surfdash-pub/src/patch.ts +4 -0
  63. package/plugins/publishings/threads-pub/dist/index.js +9 -9
  64. package/plugins/publishings/wechatmp-pub/dist/index.js +22 -22
  65. package/plugins/publishings/wechatmp-pub/dist/profile-check.js +22 -22
  66. package/plugins/publishings/weibo-pub/dist/index.js +22 -22
  67. package/plugins/publishings/weibo-pub/dist/profile-check.js +22 -22
  68. package/plugins/publishings/x-pub/dist/index.js +22 -22
  69. package/plugins/publishings/x-pub/dist/profile-check.js +22 -22
  70. package/plugins/publishings/xhs-pub/dist/index.js +22 -22
  71. package/plugins/publishings/xhs-pub/dist/profile-check.js +22 -22
  72. package/plugins/publishings/xiaoyuzhou-pub/dist/index.js +22 -22
  73. package/plugins/publishings/xiaoyuzhou-pub/dist/profile-check.js +22 -22
  74. package/plugins/publishings/zenn-pub/dist/index.js +9 -9
  75. package/plugins/kk/workflows/feature-verification.yaml +0 -89
@@ -1,89 +0,0 @@
1
- # Feature-scoped verification pass (ADR-119, feature D62, task 0872; D63 task
2
- # 0915 remediation folds the evidence contract into a workflow-owned script).
3
- #
4
- # Owns a lifecycle boundary no per-task graph owns: the repo-wide checks whose
5
- # invariant spans the repository rather than a single task's diff. They run
6
- # once per feature, deliberately the slow pass; `feature-lifecycle`'s verifying
7
- # entry invokes this workflow (task 0880 caller wiring), and its verifying→done
8
- # guard refuses to complete the feature until this pass records PASS (ADR-119
9
- # consequence: a feature is not done until it passes).
10
- #
11
- # Run: spur workflow run feature-verification.yaml --vars '{"featureId":"D63"}'
12
- #
13
- # No project-side override is required (task 1185, A33). Since the pass moved into the
14
- # application (1176 / efd78f058) the bundled definition owns it end to end, so a
15
- # project-layer copy of this file (plus a rooted port under `.spur/scripts/`) is a
16
- # leftover — the port was written against an entry export contract that has since
17
- # changed. Remove the override so this definition applies, or migrate the port to the
18
- # current app-owned operation `runFeatureVerification` (the generated inline bundle's
19
- # export). If a stale consumer is still reached, feature-lifecycle's `verifying` entry
20
- # names it: the override path, the consumer script, the export it requires that the
21
- # shipped entry no longer provides, and the entry path. Reinstalling or upgrading the
22
- # plugin cannot supply a retired export — only the two remedies above can.
23
- #
24
- # Shape: verify -> done | failed. The onEnter step runs `spur feature verify`
25
- # (D63 task 0915; script-absorption PR-5 retired the feature-verification-steps
26
- # plugin script): it
27
- # resolves this very definition for the verifier identity (name, source path,
28
- # layer, definition digest), records the RUNNING receipt (run-scoped +
29
- # feature-latest copies), registers the run-scoped receipt as a run artifact,
30
- # runs the configured verification command via the safe launch splitter, and
31
- # completes the receipt PASS/FAIL with the after-pass proof-input digest. A
32
- # changed tree during the pass records FAIL.
33
- #
34
- # Reliability (aligned with task-pipeline / ADR-043): no agent.run nodes; the
35
- # verification command comes from `vars.verificationCmd` below and is never
36
- # interpolated through a shell. The always-exit-0 onEnter means missing,
37
- # corrupt or FAIL evidence routes to `failed` via the guard (fail-closed),
38
- # never a silent PASS; infrastructure errors exit nonzero and surface.
39
- "$schema": "@gobing-ai/spur/schemas/state-machine-workflow.schema.json"
40
- kind: state-machine
41
- name: feature-verification
42
- version: "1"
43
- description: "Feature-scoped verification pass (ADR-119): runs the repo-wide check set once per feature and records a bound PASS/FAIL evidence receipt. Invoked by feature-lifecycle's verifying entry."
44
- iterationBound: 2
45
- initialState: verify
46
- terminalStates:
47
- - done
48
- - failed
49
- failureStates:
50
- - failed
51
- vars:
52
- featureId: "X"
53
- spurBin: "spur"
54
- verificationCmd: "bun run spur-check"
55
- __runId: ""
56
-
57
- states:
58
- - id: verify
59
- description: >
60
- Run the repo-wide check set via `spur feature verify`, which
61
- records the bound evidence receipt (verifier identity, checked-input
62
- digest, run identity) and the coarse status file, always exit 0 so the
63
- transition guard routes missing/corrupt/FAIL to `failed`.
64
- onEnter:
65
- - kind: shell
66
- options:
67
- command: >-
68
- mkdir -p .spur/run; $spurBin feature verify "$featureId" --run-id "$__runId" --no-logo || printf 'FAIL feature-verification failed closed — spur feature verify exited nonzero\n' > ".spur/run/$__runId-feature-verification.status"; exit 0
69
-
70
- - id: done
71
- description: Terminal — repo-wide checks passed and the receipt is bound.
72
-
73
- - id: failed
74
- description: Terminal — repo-wide checks failed or the evidence is missing/corrupt.
75
-
76
- transitions:
77
- - from: verify
78
- to: done
79
- description: Repo-wide checks passed — `spur feature verify` completed the receipt with PASS.
80
- guard:
81
- kind: shell
82
- options:
83
- command: 'test "$(cat .spur/run/$__runId-feature-verification.status 2>/dev/null)" = PASS'
84
- - from: verify
85
- to: failed
86
- terminalReason: failed-check
87
- description: Repo-wide checks failed (or the evidence is missing/corrupt) — stop at failed.
88
- guard:
89
- kind: always