@gitterm/sdk 0.10.0 → 0.11.0
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/client.d.ts +5 -1
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -70,9 +70,13 @@ export type GittermClient = {
|
|
|
70
70
|
listProviders(): Promise<ModelProviderInfo[]>;
|
|
71
71
|
};
|
|
72
72
|
bots: {
|
|
73
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* Claims (or renews) the right to run this saved bot; one process at a time. `updatedAt` is
|
|
75
|
+
* when its saved settings last changed (absent from older servers).
|
|
76
|
+
*/
|
|
74
77
|
acquireLease(leaseId: string): Promise<{
|
|
75
78
|
success: true;
|
|
79
|
+
updatedAt?: string;
|
|
76
80
|
}>;
|
|
77
81
|
releaseLease(leaseId: string): Promise<{
|
|
78
82
|
success: true;
|
package/dist/types.d.ts
CHANGED
|
@@ -774,5 +774,7 @@ export type SavedBot = {
|
|
|
774
774
|
instructions: string | null;
|
|
775
775
|
/** A command run in the checkout before the agent starts in a new sandbox. */
|
|
776
776
|
setup: string | null;
|
|
777
|
+
/** When the settings last changed (ISO 8601); absent from older servers. */
|
|
778
|
+
updatedAt?: string;
|
|
777
779
|
};
|
|
778
780
|
export {};
|