Download packages/agent-core-v2/src/debug/debugGraph.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 782 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/debug/debugGraph.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/agent-core-v2/src/debug/debugGraph.ts
-
curl -L -o debugGraph.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/debug/debugGraph.ts
782 Bytes
| import type { UnitState } from '#/_base/di/cascadeEngine'; | |
| import type { DependencyEdgeKind } from '#/_base/di/dependencyGraph'; | |
| import { createDecorator } from '#/_base/di/instantiation'; | |
| export interface DebugGraphNode { | |
| readonly id: string; | |
| readonly token: string; | |
| readonly scopePath: string; | |
| readonly uid?: number; | |
| readonly state?: UnitState; | |
| } | |
| export interface DebugGraphEdge { | |
| readonly from: string; | |
| readonly to: string; | |
| readonly kind: DependencyEdgeKind; | |
| } | |
| export interface DebugGraph { | |
| readonly nodes: DebugGraphNode[]; | |
| readonly edges: DebugGraphEdge[]; | |
| } | |
| export interface IDebugGraphService { | |
| readonly _serviceBrand: undefined; | |
| graph(): DebugGraph; | |
| } | |
| export const IDebugGraphService = createDecorator<IDebugGraphService>('debugGraphService'); | |