kimi-code/packages/agent-core-v2/scripts/dep-graph/plugin
haozhe.yang 6e8beccba1 feat(dep-graph): quieter refresh, persistent viewport, public surface, search highlight
- plugin: fingerprint the analyzer output (services/edges/unknownTokens,
  excluding generatedAt) and only invalidate the virtual module on real
  content diffs, so ordinary edits no longer trigger a browser reload.
- web viewer: persist the ReactFlow viewport (x/y/zoom) to sessionStorage
  and restore on mount, so reloads no longer snap back to fitView.
- analyzer: expose each service's public interface surface via a new
  optional ServiceNode.publicMembers (methods + property signatures,
  _serviceBrand filtered out), and register PRODUCTION_OVERRIDES so
  bootstrap-seeded bindings resolve to their real backends.
- web viewer: seed node inPorts from publicMembers so uncalled methods
  still render; dim the handle and label of ports with no incoming edge
  so the connected-vs-declared distinction reads at a glance.
- web viewer: extend search to also match publicMembers, and turn search
  into a highlight/dim treatment (matches + neighbors stay bright, the
  rest dim) instead of filtering — matched nodes get a cyan outline
  distinct from the yellow selection outline.
2026-07-01 20:00:24 +08:00
..
virtual-dep-graph.ts feat(dep-graph): quieter refresh, persistent viewport, public surface, search highlight 2026-07-01 20:00:24 +08:00