agent-afk 5.20.8 → 5.21.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.
- package/dist/agent/session/model-slots.d.ts +7 -0
- package/dist/agent/tools/skill-bridge.d.ts +2 -2
- package/dist/cli.mjs +422 -422
- package/dist/config/mutate.d.ts +2 -1
- package/dist/config/settable-keys.d.ts +3 -2
- package/dist/index.mjs +150 -150
- package/dist/paths.d.ts +1 -1
- package/dist/telegram.mjs +193 -193
- package/package.json +1 -1
|
@@ -22,3 +22,10 @@ export declare function resolveBinding(input: string | undefined, bindings?: Mod
|
|
|
22
22
|
export declare function resolveModelInput(input: string | undefined, bindings?: ModelSlots): string | undefined;
|
|
23
23
|
export declare function unconfiguredSlotError(input: string | undefined, bindings?: ModelSlots): string | undefined;
|
|
24
24
|
export declare function parseModelsConfig(raw: unknown): Partial<Record<SlotName, ModelSlotBinding>>;
|
|
25
|
+
export declare function coerceSlotBindingInput(raw: unknown): {
|
|
26
|
+
ok: true;
|
|
27
|
+
value: ModelSlotBinding;
|
|
28
|
+
} | {
|
|
29
|
+
ok: false;
|
|
30
|
+
error: string;
|
|
31
|
+
};
|
|
@@ -19,6 +19,6 @@ export interface PluginSkillBody {
|
|
|
19
19
|
context?: string;
|
|
20
20
|
readOnly?: boolean;
|
|
21
21
|
}
|
|
22
|
-
export declare function discoverPluginSkillBodies(pluginConfigs?: SdkPluginConfig[]): Map<string, PluginSkillBody>;
|
|
23
|
-
export declare function scanAllPluginRoots(): SdkPluginConfig[];
|
|
22
|
+
export declare function discoverPluginSkillBodies(pluginConfigs?: SdkPluginConfig[], opts?: CollectSkillEntriesOptions): Map<string, PluginSkillBody>;
|
|
23
|
+
export declare function scanAllPluginRoots(opts?: CollectSkillEntriesOptions): SdkPluginConfig[];
|
|
24
24
|
export declare function ensurePluginEntrypointsLoaded(): Promise<void>;
|