aps-agent/server/app/capabilities.ts

14 lines
582 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 能力清单(A1 阶段)。
*
* 现在没有接入任何 Provider,因此返回空清单——这是正确行为,不是未实现:
* ADR-0009 要求未接入业务系统时平台能正常启动,并把「未接入」作为明确状态。
* A2.1 / A2.3 引入 Provider SDK 与内存假 Provider 后,这里改为从能力目录按身份过滤。
*/
import type { CapabilitySummary } from '@aps/contracts';
import type { Subject } from './subject.js';
export function capabilitiesFor(_subject: Subject, _sessionId?: string): CapabilitySummary[] {
return [];
}