refactor: apply repository naming contract
Apply the accepted pre-release package, service, type, directory, and role renames as one repository-wide change.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { Context } from '@deepseek-ai/cordis'
|
||||
import type {} from '@deepseek-ai/dsh-agent'
|
||||
import { CompactionId, compactCheckpointSource } from '@deepseek-ai/dsh-compact'
|
||||
import { CompactionId, compactCheckpointSource } from '@deepseek-ai/dsh-compaction'
|
||||
import { createUserMessage } from '@deepseek-ai/dsh-llm'
|
||||
import type {} from '@deepseek-ai/dsh-tools'
|
||||
|
||||
@@ -21,7 +21,7 @@ export function apply(ctx: Context): void {
|
||||
const baseline = agent.session.surface.nodes
|
||||
.map(seq => agent.session.events[seq])
|
||||
.find(event => event?.type === 'user/message'
|
||||
&& event.data.source.kind === 'workspace-instructions'
|
||||
&& event.data.source.kind === 'agent-instructions'
|
||||
&& event.data.source.baseline === true)
|
||||
if (baseline === undefined) throw new Error('workspace baseline missing before snapshot compaction')
|
||||
agent.session.append('user/message', createUserMessage({
|
||||
|
||||
Reference in New Issue
Block a user