@oddington/sdk 0.1.77 → 0.1.78
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.
|
@@ -102,7 +102,13 @@ export type ResponseCapabilities = SharedRoutineCapabilities<{
|
|
|
102
102
|
connections: readonly string[];
|
|
103
103
|
ai: true;
|
|
104
104
|
publish: readonly ('asks' | 'digests')[];
|
|
105
|
-
}
|
|
105
|
+
}> & {
|
|
106
|
+
readonly action: {
|
|
107
|
+
progress(value: {
|
|
108
|
+
label: string;
|
|
109
|
+
}): Promise<void>;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
106
112
|
export type ResponseAction<Input extends JsonValue = JsonValue> = Omit<Handler<Input>, 'run'> & {
|
|
107
113
|
run(context: HandlerRuntime<Input>, os: ResponseCapabilities): Promise<HandlerTransition>;
|
|
108
114
|
};
|
|
@@ -40,6 +40,7 @@ export type QuestionStatus = {
|
|
|
40
40
|
} | ActionStatus;
|
|
41
41
|
export interface ResponseConsequence {
|
|
42
42
|
phase: 'loading' | 'invoking' | 'committing' | null;
|
|
43
|
+
progressLabel?: string | null;
|
|
43
44
|
updatedAt: string;
|
|
44
45
|
evidence: Array<RepositoryReceipt | AirtableReceipt>;
|
|
45
46
|
}
|