@camunda/copilot-chat 0.5.12-alpha.8 → 0.5.12-alpha.9

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/index.d.ts CHANGED
@@ -141,6 +141,22 @@ export declare interface camundaDocsSearchToolResult {
141
141
  readonly sources: readonly KapaAiSearchResult[];
142
142
  }
143
143
 
144
+ export declare const CAPABILITY: {
145
+ readonly BPMN_EDITING: "BPMN_EDITING";
146
+ readonly FORM_EDITING: "FORM_EDITING";
147
+ readonly DMN_EDITING: "DMN_EDITING";
148
+ readonly FEEL_EDITING: "FEEL_EDITING";
149
+ readonly BPMN_VIEWING: "BPMN_VIEWING";
150
+ readonly FORM_VIEWING: "FORM_VIEWING";
151
+ readonly DMN_VIEWING: "DMN_VIEWING";
152
+ readonly FILE_OPERATIONS: "FILE_OPERATIONS";
153
+ readonly FILE_CREATION: "FILE_CREATION";
154
+ readonly VALIDATION: "VALIDATION";
155
+ readonly INTEGRATION: "INTEGRATION";
156
+ };
157
+
158
+ export declare type Capability = (typeof CAPABILITY)[keyof typeof CAPABILITY];
159
+
144
160
  declare interface ChatActions {
145
161
  readonly addUserMessage: (content: string) => string;
146
162
  readonly addAssistantMessage: (id: string) => void;
@@ -487,6 +503,18 @@ export declare interface ImportResult {
487
503
  readonly error?: unknown;
488
504
  }
489
505
 
506
+ export declare const isApplyElementTemplateCompleted: (event: AgentEvent) => boolean;
507
+
508
+ export declare const isCurrentFileModified: (event: AgentEvent) => boolean;
509
+
510
+ export declare const isLayoutBpmnXmlCompleted: (event: AgentEvent) => boolean;
511
+
512
+ export declare const isToolAllowedWithCapabilities: (tool: {
513
+ readonly requiredCapabilities?: ReadonlyArray<string>;
514
+ }, capabilities: ReadonlyArray<string>) => boolean;
515
+
516
+ export declare const isWriteArtifactCompleted: (event: AgentEvent) => boolean;
517
+
490
518
  declare interface KapaAiSearchResult {
491
519
  readonly content: string;
492
520
  readonly source_url: string;