agent-afk 5.223.0 → 5.223.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import type { SdkPluginConfig } from '../types/sdk-types.js';
2
- export type PluginApi = Pick<typeof import('../../skills/index.js'), 'registerSkill' | 'listSkills' | 'getSkill'> & Pick<typeof import('../../skills/_lib/prompt-loader.js'), 'loadSkillPrompts'> & Pick<typeof import('../../config/env.js'), 'env'> & Pick<typeof import('../subagent.js'), 'SubagentManager'> & Pick<typeof import('../subagent/result.js'), 'describeFailure'> & Pick<typeof import('../tools/skill-bridge.js'), 'discoverPluginSkillBodies'> & Pick<typeof import('../facets/index.js'), 'getOrDeriveFacet' | 'listSessionIds' | 'deriveSessionFacet' | 'loadStoredSession'> & Pick<typeof import('../../paths.js'), 'getAgentFrameworkDir' | 'getSkillsDir' | 'getSessionsDir'>;
2
+ export type PluginApi = Pick<typeof import('../../skills/skill-registry.js'), 'registerSkill' | 'listSkills' | 'getSkill'> & Pick<typeof import('../../skills/_lib/prompt-loader.js'), 'loadSkillPrompts'> & Pick<typeof import('../../config/env.js'), 'env'> & Pick<typeof import('../subagent.js'), 'SubagentManager'> & Pick<typeof import('../subagent/result.js'), 'describeFailure'> & Pick<typeof import('../tools/skill-bridge.js'), 'discoverPluginSkillBodies'> & Pick<typeof import('../facets/index.js'), 'getOrDeriveFacet' | 'listSessionIds' | 'deriveSessionFacet' | 'loadStoredSession'> & Pick<typeof import('../../paths.js'), 'getAgentFrameworkDir' | 'getSkillsDir' | 'getSessionsDir'>;
3
3
  export declare function _resetLoadedEntrypoints(): void;
4
4
  export type LoadEntrypointsOptions = {
5
5
  importer?: (specifier: string) => Promise<unknown>;
@@ -1,5 +1,5 @@
1
1
  import type { SlashContext } from '../types.js';
2
- import type { SkillMetadata } from '../../../skills/index.js';
2
+ import type { SkillMetadata } from '../../../skills/skill-registry.js';
3
3
  import type { ImageAttachment } from '../../input/attachments.js';
4
4
  export interface RunSkillDispatchTurnParams {
5
5
  skillName: string;
@@ -1,4 +1,4 @@
1
1
  import type { ContentBlockParam } from '@anthropic-ai/sdk/resources';
2
- import type { SkillMetadata } from '../../../skills/index.js';
2
+ import type { SkillMetadata } from '../../../skills/skill-registry.js';
3
3
  import type { ImageAttachment } from '../../input/attachments.js';
4
4
  export declare function buildSkillInvocationMessage(skill: SkillMetadata, args: string, manifestBlock?: string, attachments?: readonly ImageAttachment[], sessionId?: string): Promise<ContentBlockParam[]>;
@@ -1,4 +1,4 @@
1
- import { type SkillMetadata } from '../../skills/index.js';
1
+ import { type SkillMetadata } from '../../skills/skill-registry.js';
2
2
  import type { SlashCommand } from './types.js';
3
3
  export declare function makeImmediateHandler(skill: SkillMetadata): SlashCommand;
4
4
  export declare function registerBuiltinSkillCommands(): void;
@@ -1,4 +1,4 @@
1
- import { type SkillMetadata } from '../../../skills/index.js';
1
+ import { type SkillMetadata } from '../../../skills/skill-registry.js';
2
2
  import { type DiscoveredSkill } from './state.js';
3
3
  import type { SlashContext } from '../types.js';
4
4
  import type { SkillManifestEntry } from '../../../agent/tools/skill-bridge.js';