fix: rebase

This commit is contained in:
imccyu
2026-08-13 01:59:32 +08:00
parent 25efb8ff6f
commit 39f55a049f
26 changed files with 3031 additions and 1723 deletions

View File

@@ -37,7 +37,7 @@
"@deepseek-ai/dsh-cordis-client-runner",
"@deepseek-ai/dsh-api-remotes",
"@deepseek-ai/dsh-client-locale",
"@deepseek-ai/dsh-client-ui-slash",
"@deepseek-ai/dsh-client-ui-input-trigger",
"@deepseek-ai/dsh-client-ui-tool",
"@deepseek-ai/dsh-client-ui-sidebar"
],
@@ -57,7 +57,7 @@
"@deepseek-ai/dsh-client-runtime": "workspace:^",
"@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
"@deepseek-ai/dsh-client-ui-sidebar": "workspace:^",
"@deepseek-ai/dsh-client-ui-slash": "workspace:^",
"@deepseek-ai/dsh-client-ui-input-trigger": "workspace:^",
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
"@deepseek-ai/dsh-client-ui-tool": "workspace:^",
"@deepseek-ai/dsh-invariants": "workspace:^",
@@ -72,7 +72,7 @@
"@deepseek-ai/dsh-client-runtime": "workspace:^",
"@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
"@deepseek-ai/dsh-client-ui-sidebar": "workspace:^",
"@deepseek-ai/dsh-client-ui-slash": "workspace:^",
"@deepseek-ai/dsh-client-ui-input-trigger": "workspace:^",
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
"@deepseek-ai/dsh-client-ui-tool": "workspace:^",
"@deepseek-ai/dsh-invariants": "workspace:^",

View File

@@ -5,7 +5,7 @@ import type {} from '@deepseek-ai/dsh-client-ui-tool/client'
import type {} from '@deepseek-ai/dsh-client-locale/client'
import type {} from '@deepseek-ai/dsh-client-ui-sidebar/client'
import type {} from '@deepseek-ai/dsh-api-remotes/client'
import type { SlashServiceContract, SlashSource } from '@deepseek-ai/dsh-client-ui-slash/client'
import type { InputTriggerService, InputTriggerSource } from '@deepseek-ai/dsh-client-ui-input-trigger/client'
import type {} from './events.ts'
import { CordisDefineRow } from './CordisDefineRow.tsx'
import { CordisRunRow } from './CordisRunRow.tsx'
@@ -133,7 +133,7 @@ export function apply(ctx: ClientContext): void {
const rowsOf = (sessionId: SessionId, query: string) => inventory.getSnapshot().rows
.filter(row => row.agentId === sessionId && String(row.pluginId).includes(query))
const source: SlashSource = {
const source: InputTriggerSource = {
trigger: '@',
name: 'cordis',
order: 1,
@@ -153,7 +153,7 @@ export function apply(ctx: ClientContext): void {
subscribeLexicon(_session, listener) { return inventory.subscribe(listener) },
onPick({ candidate }) { return { text: `@${candidate.name} ` } },
}
const slash = ctx.get('slash') as SlashServiceContract
const slash = ctx.get('slash') as InputTriggerService
ctx.effect(() => slash.registerSource(source), 'ui-cordis: @pluginId source')
inventory.refresh()

View File

@@ -27,7 +27,7 @@
"path": "../../client/ui-sidebar"
},
{
"path": "../../client/ui-slash"
"path": "../../client/ui-input-trigger"
},
{
"path": "../../client/ui-primitives"
@@ -39,7 +39,7 @@
"path": "../../client/ui-tool"
},
{
"path": "../../support/invariants"
"path": "../../runtime-diagnostics/invariants"
}
]
}