@pagelines/sdk 1.0.653 → 1.0.655
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/AgentWrap.vue_vue_type_script_setup_true_lang.js +1419 -1399
- package/dist/AgentWrap.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/agent/AgentController.d.ts +3 -1
- package/dist/agent/ui/ChatScroller.vue.d.ts +2 -2
- package/dist/agent/ui/ElAgentChat.vue.d.ts +1 -1
- package/dist/agent/work-journal.d.ts +7 -1
- package/package.json +1 -1
|
@@ -87,6 +87,7 @@ export declare class AgentChatController extends SettingsObject<AgentChatControl
|
|
|
87
87
|
private boundaryTimer?;
|
|
88
88
|
private readonly nowMs;
|
|
89
89
|
private readonly toolActivityTiming;
|
|
90
|
+
private readonly lastVisibleProgressAtMs;
|
|
90
91
|
private conversationId?;
|
|
91
92
|
textState: Ref<TextConnectionState>;
|
|
92
93
|
agentMode: Ref<AgentMode>;
|
|
@@ -147,7 +148,7 @@ export declare class AgentChatController extends SettingsObject<AgentChatControl
|
|
|
147
148
|
firstMessage: string;
|
|
148
149
|
};
|
|
149
150
|
private updateState;
|
|
150
|
-
private
|
|
151
|
+
private resetWorkJournalTiming;
|
|
151
152
|
private resetState;
|
|
152
153
|
/**
|
|
153
154
|
* Wake exactly once at the live journal's next slow/long boundary, recompute,
|
|
@@ -176,6 +177,7 @@ export declare class AgentChatController extends SettingsObject<AgentChatControl
|
|
|
176
177
|
workJournalFor(args: {
|
|
177
178
|
activities?: ChatToolActivityData[];
|
|
178
179
|
outcome: WorkJournalOutcome;
|
|
180
|
+
includeFailureNote?: boolean;
|
|
179
181
|
}): WorkJournalModel | undefined;
|
|
180
182
|
private setupModeWatcher;
|
|
181
183
|
private setupAvailabilityWatcher;
|
|
@@ -8,7 +8,7 @@ declare function __VLS_template(): {
|
|
|
8
8
|
viewport: HTMLDivElement;
|
|
9
9
|
content: HTMLDivElement;
|
|
10
10
|
};
|
|
11
|
-
rootEl:
|
|
11
|
+
rootEl: any;
|
|
12
12
|
};
|
|
13
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
14
|
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
@@ -16,7 +16,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
16
16
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
17
17
|
viewport: HTMLDivElement;
|
|
18
18
|
content: HTMLDivElement;
|
|
19
|
-
},
|
|
19
|
+
}, any>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
21
|
export default _default;
|
|
22
22
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -32,7 +32,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
32
32
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
33
33
|
$host: Element | null;
|
|
34
34
|
$emit: (event: string, ...args: any[]) => void;
|
|
35
|
-
$el:
|
|
35
|
+
$el: any;
|
|
36
36
|
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
37
37
|
pin: () => void;
|
|
38
38
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -12,6 +12,9 @@ import { ChatToolActivityData } from '@pagelines/core';
|
|
|
12
12
|
* only advances projection state (action → waiting label, then the leave
|
|
13
13
|
* hint); it never creates a milestone. Real completions create milestones;
|
|
14
14
|
* time may reveal the one transient wait tip after the slow boundary.
|
|
15
|
+
*
|
|
16
|
+
* `lastVisibleProgressAtMs` records the latest tool event or assistant delta the
|
|
17
|
+
* user could see. It resets the quiet boundary without hiding a later stall.
|
|
15
18
|
*/
|
|
16
19
|
export type WorkJournalOutcome = 'running' | 'completed' | 'failed' | 'stopped';
|
|
17
20
|
export type WorkJournalTone = 'done' | 'active' | 'failed' | 'stopped' | 'completed';
|
|
@@ -46,15 +49,18 @@ export declare function durableJournalOutcome(msg: {
|
|
|
46
49
|
*/
|
|
47
50
|
export declare const WORK_JOURNAL_COPY: {
|
|
48
51
|
readonly waiting: "Waiting for results";
|
|
52
|
+
readonly finishing: "Finishing up";
|
|
49
53
|
readonly completed: "Work complete";
|
|
50
54
|
readonly failed: "Couldn’t finish";
|
|
51
55
|
readonly stopped: "Stopped";
|
|
52
56
|
readonly notifyHint: "Taking longer than usual. You can leave and I’ll notify you when it’s ready.";
|
|
53
|
-
readonly leaveHint: "You can leave this chat while I work.";
|
|
57
|
+
readonly leaveHint: "Taking longer than usual. You can leave this chat while I work.";
|
|
54
58
|
};
|
|
55
59
|
export declare function buildWorkJournalModel(args: {
|
|
56
60
|
activities: ChatToolActivityData[];
|
|
57
61
|
outcome: WorkJournalOutcome;
|
|
58
62
|
nowMs: number;
|
|
59
63
|
canNotifyOnCompletion: boolean;
|
|
64
|
+
lastVisibleProgressAtMs?: number;
|
|
65
|
+
includeFailureNote?: boolean;
|
|
60
66
|
}): WorkJournalModel;
|