@camunda/copilot-chat 0.8.1-alpha.5 → 0.8.1-alpha.7
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/README.md +26 -8
- package/dist/{highlighted-body-OFNGDK62-PP6OFj0v.js → highlighted-body-OFNGDK62-D11lpZ-A.js} +1 -1
- package/dist/{index-CNP5V04Z.js → index-BdxrWv_q.js} +5927 -5781
- package/dist/index.d.ts +6 -1
- package/dist/index.js +1 -1
- package/dist/mermaid-GHXKKRXX-B_oHlc1J.js +4 -0
- package/package.json +1 -1
- package/dist/mermaid-GHXKKRXX-Ca3y5wFn.js +0 -4
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare interface ApplyDraftInput {
|
|
|
15
15
|
readonly conversationId: string;
|
|
16
16
|
readonly draftId: string;
|
|
17
17
|
readonly reviewedGeneration: number;
|
|
18
|
-
readonly confirmedLive
|
|
18
|
+
readonly confirmedLive?: ReadonlyArray<{
|
|
19
19
|
readonly artifactKey: string;
|
|
20
20
|
readonly liveFingerprint: string;
|
|
21
21
|
}>;
|
|
@@ -223,6 +223,7 @@ export declare interface CopilotClient {
|
|
|
223
223
|
readonly submissionId: string;
|
|
224
224
|
}): Promise<PostMessageResult>;
|
|
225
225
|
undoApply(conversationId: string, applyId: string): Promise<void>;
|
|
226
|
+
getRestoreEligibility?(conversationId: string, applyIds: readonly string[]): Promise<Record<string, boolean>>;
|
|
226
227
|
}
|
|
227
228
|
|
|
228
229
|
export declare const CopilotConversationPanel: ({ client, conversationId, onConversationStarted, onSelectConversation, projectName, projectNameUnavailable, readOnlyReason, onOpenProject, onClose, openDraftReview, renderElementReference, artifacts, suggestions, selectionContext, }: CopilotConversationPanelProps) => JSX.Element;
|
|
@@ -494,6 +495,7 @@ declare type RevisionedConversationEvent = {
|
|
|
494
495
|
} | {
|
|
495
496
|
readonly type: 'apply_undone';
|
|
496
497
|
readonly applyId: string;
|
|
498
|
+
readonly recoveryApplyId?: string;
|
|
497
499
|
readonly artifacts: ReadonlyArray<ArtifactRef>;
|
|
498
500
|
} | {
|
|
499
501
|
readonly type: 'text';
|
|
@@ -545,6 +547,7 @@ export declare type TranscriptEvent = {
|
|
|
545
547
|
readonly applyId: string;
|
|
546
548
|
readonly generation: number;
|
|
547
549
|
readonly artifacts: ReadonlyArray<ArtifactRef>;
|
|
550
|
+
readonly undoable?: boolean;
|
|
548
551
|
} | {
|
|
549
552
|
readonly type: 'draft_discarded';
|
|
550
553
|
readonly draftId: string;
|
|
@@ -560,6 +563,7 @@ export declare type TranscriptEvent = {
|
|
|
560
563
|
} | {
|
|
561
564
|
readonly type: 'apply_undone';
|
|
562
565
|
readonly applyId: string;
|
|
566
|
+
readonly recoveryApplyId?: string;
|
|
563
567
|
readonly artifacts: ReadonlyArray<ArtifactRef>;
|
|
564
568
|
} | {
|
|
565
569
|
readonly type: 'continued_from';
|
|
@@ -585,6 +589,7 @@ export declare const useCopilotConversation: ({ client, conversationId, }: UseCo
|
|
|
585
589
|
readonly undoable: boolean;
|
|
586
590
|
readonly artifacts: ReadonlyArray<ArtifactRef>;
|
|
587
591
|
} | null | undefined;
|
|
592
|
+
restoreEligibility: ReadonlyMap<string, boolean> | undefined;
|
|
588
593
|
context: readonly ContextRef[];
|
|
589
594
|
pendingQuestion: ConversationQuestion | undefined;
|
|
590
595
|
answerQuestion: (input: AnswerQuestionInput) => Promise<void>;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as o, a as s, b as t, c as i, d as n, e as r, f as c, g as l, o as p, h as C, t as d, u as S, i as m, j as u } from "./index-
|
|
1
|
+
import { C as o, a as s, b as t, c as i, d as n, e as r, f as c, g as l, o as p, h as C, t as d, u as S, i as m, j as u } from "./index-BdxrWv_q.js";
|
|
2
2
|
export {
|
|
3
3
|
o as CONVERSATION_NAME_MAX_LENGTH,
|
|
4
4
|
s as CopilotBadge,
|
package/package.json
CHANGED