@skyf0xx/hedgehog-core-deepseek-harness 0.2.21 → 0.2.22

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": "@skyf0xx/hedgehog-core-deepseek-harness",
3
- "version": "0.2.21",
3
+ "version": "0.2.22",
4
4
  "description": "Hedgehog's deepseek-harness core: a pinned DSH/Cordis plugin workspace, a tool-plugin generator, and the skills that drive building DeepSeek Harness plugins with Hedgehog's build discipline.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -13,7 +13,7 @@ wrapper (`package.json`'s `dsh.bundle`, `cordis.patch.yml`) that every
13
13
  shape shares regardless of which one it implements — that's the
14
14
  tool-plugin generator's concern, not this skill's.
15
15
 
16
- **Verified against DSH tag `dsh-v0.1.6-alpha.1`.** Shapes 1-4 and the
16
+ **Verified against DSH tag `dsh-v0.1.6-alpha.2`.** Shapes 1-4 and the
17
17
  "Every plugin body" structural forms were checked against
18
18
  `docs/user/develop/framework/events.md` and `service.md`. The Agent/Inbox
19
19
  section and Shapes 5-9 were checked against `docs/subsystems/core.md`,
@@ -22,7 +22,7 @@ section and Shapes 5-9 were checked against `docs/subsystems/core.md`,
22
22
  `docs/subsystems/webhook.md`, `docs/subsystems/session-query.md`. Shape 10
23
23
  was checked against `docs/subsystems/slots.md` and
24
24
  `docs/subsystems/sidebar-right.md`. All of the above plus the
25
- `dsh-v0.1.6-alpha.1` release notes were read at that tag, the same tag
25
+ `dsh-v0.1.6-alpha.2` release notes were read at that tag, the same tag
26
26
  `workspace/package.json` pins `@deepseek-ai/dsh` and `@deepseek-ai/dsh-tools`
27
27
  to. This is the one owning statement of which DSH revision this skill's
28
28
  catalog was checked against — every confirmed-event, confirmed-signature,
@@ -32,16 +32,23 @@ against the new tag's own docs before the pin line above is updated to
32
32
  match; don't bump the pin in `workspace/package.json` without also
33
33
  re-verifying this file.
34
34
 
35
- Re-check at `dsh-v0.1.6-alpha.1` found every catalogued Shape 1-10 signature,
36
- event name, and slot key unchanged from `dsh-v0.1.5-rc.2`. The only catalog
37
- update from this pass is Shape 9's `ctx.sessionQuery` method list, which
38
- gained several new confirmed methods (see below). This release's other
39
- plugin-adjacent-sounding items — the `agent/session-start` → `agent/created`
40
- lifecycle rename, and Team mode's `spawn_teammate`/disabled
41
- `subagent`/`subagent_fork` — do not appear anywhere in the doc set this
42
- skill draws from (they're internal wiring and experimental Team-mode
43
- surface, not a `ctx.*` call a plugin author makes) and are out of scope for
44
- this catalog, per "Out of scope, and why" above.
35
+ Re-check at `dsh-v0.1.6-alpha.2` found every catalogued Shape 1-9 signature
36
+ and event name unchanged from `dsh-v0.1.6-alpha.1`. Shape 10's "every
37
+ scope" standard props changed: `useSessionPendingInteraction` was replaced
38
+ by `useSessionStatus` and `useSessionRetainInfo` (`slots.md`'s
39
+ scope-props table), and the `session`/`session-maybe` scope descriptions
40
+ were reworded to "inherits/requires a resolved surrounding Provider
41
+ binding" — both updated above. This release's other plugin-adjacent-
42
+ sounding items — `core.md`'s `inbox` projection now registering from the
43
+ `AgentLoop` service rather than per-`ReactLoopInbox` construction (an
44
+ internal-wiring rename, not a change to any confirmed `agent.inbox`
45
+ member), `subagent.md`'s new internal `resolveMaxDepth` helper and
46
+ `subagent/delivery-unavailable` error code (neither is a `ctx.subagents.*`
47
+ method Shape 6 catalogs), and `sidebar-right.md`'s new `browser` tab type
48
+ and Document Preview `renderer`-loading mode (shipped first-party
49
+ features, not a change to the registration APIs Shape 10 documents) — do
50
+ not change any claim this catalog makes and are out of scope for this
51
+ pass, per "Out of scope, and why" above.
45
52
 
46
53
  ## Out of scope, and why
47
54
 
@@ -72,6 +79,18 @@ excluded at this tag:
72
79
  catalog/app feature (durable records, active views, read-only Web
73
80
  catalog) with no plugin-facing registration point found. If a future
74
81
  tag adds one, re-check this file before assuming it's still out.
82
+ - **`dsh-v0.1.6-alpha.2`'s Plugin Manager page and runtime dependency
83
+ resolution/unloading** ("插件依赖解析模式调整为运行时解析" and Creator
84
+ mode's move from Cordis dynamic definition/execution tools to
85
+ Plugin Manager-installed persistent plugins) — this is the Web app's
86
+ end-user plugin install/enable/disable surface and Creator mode's own
87
+ scratch-authoring workflow, the same bundle/profile-composition
88
+ category as the `sdk-minimal` item above, not a `ctx.*` service or
89
+ plugin-authoring DSL change. No doc in this skill's citation list
90
+ (`events.md`, `service.md`, the Shape 5-9 subsystem docs, `slots.md`,
91
+ `sidebar-right.md`) documents a Cordis surface for it. A plugin's own
92
+ `apply(ctx)` body, `cordis.patch.yml` entry, and Shape 1-10 DSL are
93
+ unaffected by how the Web app or Creator mode installs it at runtime.
75
94
 
76
95
  ## v0.1 generator coverage: tool shape only
77
96
 
@@ -716,10 +735,11 @@ ordered by `order` then registration order), `keyed` (the owner dispatches
716
735
  an `entryKey`; the matching cell renders), `chain` (each entry supplies
717
736
  `select(owner)`; the first non-null result in priority order renders).
718
737
  **Scope** (also fixed per slot): `root` (one instance), `session-maybe`
719
- (renderable without a Session; Session values optional), `session`
720
- (requires a resolved Session binding). `priority` is a shadowing rank for
721
- `single`/`list`/`keyed` and an election order for `chain` — lower values
722
- run or render first.
738
+ (inherits the surrounding Provider binding but stays renderable without
739
+ one; Session values optional), `session` (requires a resolved surrounding
740
+ Provider binding, receiving definite Session values). `priority` is a
741
+ shadowing rank for `single`/`list`/`keyed` and an election order for
742
+ `chain` — lower values run or render first.
723
743
 
724
744
  A registered component receives: owner values and standard scope values
725
745
  (`PropsRuntime<K>`), authorized child renderers for any slot it declares
@@ -731,9 +751,10 @@ from a declared `locale` namespace, and — for a `chain` slot — the elected
731
751
  model objects stay in the `apply` closure and are projected into
732
752
  callbacks or observable sources passed through `inject`. Framework-wide
733
753
  standard props available by scope include `useSessions`,
734
- `useWorkspaces`, `usePanelInfo` (every scope), and — for `session`/
735
- `session-maybe` — `sessionId`, `useSession`, `useProjection`,
736
- `useConversation`, `useInput`, `inputActions`.
754
+ `useSessionStatus`, `useSessionRetainInfo`, `useWorkspaces`, `usePanelInfo`
755
+ (every scope), and — for `session`/`session-maybe` — `sessionId`,
756
+ `useSession`, `useProjection`, `useConversation`, `useInput`,
757
+ `inputActions`.
737
758
 
738
759
  **The shipped hierarchy** (per `slots.md`'s "Current hierarchy") is the
739
760
  authoritative list of registrable slot keys — a plugin registers only
@@ -10,9 +10,9 @@
10
10
  "generate:tool": "node tools/generators/cli.mjs tool"
11
11
  },
12
12
  "dependencies": {
13
- "@deepseek-ai/dsh": "0.1.6-alpha.1",
13
+ "@deepseek-ai/dsh": "0.1.6-alpha.2",
14
14
  "@deepseek-ai/cordis": "4.0.2",
15
- "@deepseek-ai/dsh-tools": "0.1.6-alpha.1"
15
+ "@deepseek-ai/dsh-tools": "0.1.6-alpha.2"
16
16
  },
17
17
  "pnpm": {
18
18
  "overrides": {