@xpert-ai/chatkit-types 0.14.2 → 0.16.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +26 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -11,6 +11,18 @@ declare type ActionConfig = {
11
11
  payload?: Record<string, unknown>;
12
12
  };
13
13
 
14
+ export declare interface AgentPluginCommand extends AgentPluginCommandPresentation {
15
+ /** Arguments interpreted by the skill, not separately executable commands. */
16
+ subcommands?: Record<string, AgentPluginCommandPresentation>;
17
+ }
18
+
19
+ /** Presentation only. Executable instructions stay in the referenced SKILL.md. */
20
+ export declare interface AgentPluginCommandPresentation {
21
+ label?: LocalizedText;
22
+ description?: LocalizedText;
23
+ argsHint?: string;
24
+ }
25
+
14
26
  export declare interface AgentPluginDiagnostic {
15
27
  component: string;
16
28
  code: string;
@@ -2525,6 +2537,13 @@ export declare interface RuntimeResourceCatalogItem extends RuntimeResourceRefer
2525
2537
  }>;
2526
2538
  }
2527
2539
 
2540
+ export declare interface RuntimeResourceCommand {
2541
+ skill: RuntimeResourceSkillReference;
2542
+ packageName: string;
2543
+ description: string;
2544
+ command: AgentPluginCommand;
2545
+ }
2546
+
2528
2547
  export declare type RuntimeResourceKind = 'agent_plugin' | 'middleware' | 'external_xpert';
2529
2548
 
2530
2549
  export declare interface RuntimeResourceReference {
@@ -2532,6 +2551,11 @@ export declare interface RuntimeResourceReference {
2532
2551
  version: string;
2533
2552
  }
2534
2553
 
2554
+ /** A skill in an exact selected plugin version; never a workspace skill authorization. */
2555
+ export declare interface RuntimeResourceSkillReference extends RuntimeResourceReference {
2556
+ skillKey: string;
2557
+ }
2558
+
2535
2559
  export declare interface RuntimeResourcesSelection {
2536
2560
  revision: number;
2537
2561
  resources: RuntimeResourceReference[];
@@ -2690,6 +2714,8 @@ export declare type TChatRequestHuman = {
2690
2714
  referenceComposition?: ChatKitReferenceCompositionMode;
2691
2715
  planMode?: boolean;
2692
2716
  runtimeResources?: RuntimeResourcesSelection;
2717
+ /** Explicit skills within selected, version-pinned plugins. */
2718
+ resourceSkills?: RuntimeResourceSkillReference[];
2693
2719
  runtimeCapabilities?: RuntimeCapabilitiesSelection;
2694
2720
  commandSource?: ChatKitCommandSource;
2695
2721
  [key: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpert-ai/chatkit-types",
3
- "version": "0.14.2",
3
+ "version": "0.16.0",
4
4
  "description": "Type definitions for the ChatKit.",
5
5
  "sideEffects": false,
6
6
  "type": "module",