@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
  };
@@ -250,6 +250,7 @@ export type RepositoryReceipt = {
250
250
  repository: string;
251
251
  commit: string;
252
252
  diff: string;
253
+ url?: string;
253
254
  };
254
255
  export type HandlerRuntime<Input extends JsonValue = JsonValue> = {
255
256
  data: {
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oddington/sdk",
3
- "version": "0.1.77",
3
+ "version": "0.1.78",
4
4
  "description": "OS routine and response-handler SDK",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",