@get-bb/plugin-sdk 0.4.27 → 0.4.29

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.
@@ -2871,6 +2871,7 @@ declare const threadEventSchema: z.ZodPipe<z.ZodUnknown, z.ZodUnion<readonly [z.
2871
2871
  turnId: z.ZodOptional<z.ZodString>;
2872
2872
  type: z.ZodLiteral<"system/manager/user_message">;
2873
2873
  }, z.core.$strip>, z.ZodObject<{
2874
+ cause: z.ZodOptional<z.ZodLiteral<"host-connection-lost">>;
2874
2875
  reason: z.ZodEnum<{
2875
2876
  "host-daemon-restarted": "host-daemon-restarted";
2876
2877
  "manual-stop": "manual-stop";
@@ -83,6 +83,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
83
83
  "pane.maximize.toggle": "pane.maximize.toggle";
84
84
  "panel.close": "panel.close";
85
85
  "panel.newTab": "panel.newTab";
86
+ "panel.reopenClosedTab": "panel.reopenClosedTab";
86
87
  "panel.toggle": "panel.toggle";
87
88
  "question.select.1": "question.select.1";
88
89
  "question.select.2": "question.select.2";
@@ -2606,6 +2607,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2606
2607
  turnId: z$1.ZodOptional<z$1.ZodString>;
2607
2608
  type: z$1.ZodLiteral<"system/manager/user_message">;
2608
2609
  }, z$1.core.$strip>, z$1.ZodObject<{
2610
+ cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
2609
2611
  reason: z$1.ZodEnum<{
2610
2612
  "host-daemon-restarted": "host-daemon-restarted";
2611
2613
  "manual-stop": "manual-stop";
@@ -3534,6 +3536,10 @@ declare const projectBranchesQuerySchema: z$1.ZodObject<{
3534
3536
  hostId: z$1.ZodString;
3535
3537
  limit: z$1.ZodOptional<z$1.ZodString>;
3536
3538
  query: z$1.ZodOptional<z$1.ZodString>;
3539
+ refresh: z$1.ZodOptional<z$1.ZodEnum<{
3540
+ background: "background";
3541
+ blocking: "blocking";
3542
+ }>>;
3537
3543
  selectedBranch: z$1.ZodOptional<z$1.ZodString>;
3538
3544
  }, z$1.core.$strip>;
3539
3545
  type ProjectBranchesQuery = z$1.infer<typeof projectBranchesQuerySchema>;
@@ -6374,15 +6380,14 @@ declare const hostDaemonCommandRegistry: {
6374
6380
  treeHash: z$1.ZodNullable<z$1.ZodString>;
6375
6381
  }, z$1.core.$strict>>;
6376
6382
  }, z$1.core.$strict>, "onlineRpc", true>;
6377
- "host.list_branches": HostDaemonCommandDescriptor<"host.list_branches", z$1.ZodObject<{
6378
- limit: z$1.ZodNumber;
6383
+ "host.inspect_git_source": HostDaemonCommandDescriptor<"host.inspect_git_source", z$1.ZodObject<{
6379
6384
  path: z$1.ZodString;
6380
- query: z$1.ZodOptional<z$1.ZodString>;
6381
- selectedBranch: z$1.ZodOptional<z$1.ZodString>;
6382
- type: z$1.ZodLiteral<"host.list_branches">;
6383
- }, z$1.core.$strip>, z$1.ZodObject<{
6384
- branches: z$1.ZodArray<z$1.ZodString>;
6385
- branchesTruncated: z$1.ZodBoolean;
6385
+ remoteRefresh: z$1.ZodEnum<{
6386
+ background: "background";
6387
+ blocking: "blocking";
6388
+ }>;
6389
+ type: z$1.ZodLiteral<"host.inspect_git_source">;
6390
+ }, z$1.core.$strict>, z$1.ZodObject<{
6386
6391
  checkout: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6387
6392
  branchName: z$1.ZodString;
6388
6393
  headSha: z$1.ZodNullable<z$1.ZodString>;
@@ -6426,16 +6431,6 @@ declare const hostDaemonCommandRegistry: {
6426
6431
  reason: z$1.ZodString;
6427
6432
  }, z$1.core.$strip>], "kind">;
6428
6433
  originDefaultBranch: z$1.ZodNullable<z$1.ZodString>;
6429
- remoteBranches: z$1.ZodArray<z$1.ZodString>;
6430
- remoteBranchesTruncated: z$1.ZodBoolean;
6431
- selectedBranch: z$1.ZodNullable<z$1.ZodObject<{
6432
- kind: z$1.ZodEnum<{
6433
- local: "local";
6434
- missing: "missing";
6435
- remote: "remote";
6436
- }>;
6437
- name: z$1.ZodString;
6438
- }, z$1.core.$strip>>;
6439
6434
  }, z$1.core.$strip>, "onlineRpc", true>;
6440
6435
  "host.list_branch_options": HostDaemonCommandDescriptor<"host.list_branch_options", z$1.ZodObject<{
6441
6436
  limit: z$1.ZodNumber;
@@ -8204,6 +8199,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
8204
8199
  "pane.maximize.toggle": "pane.maximize.toggle";
8205
8200
  "panel.close": "panel.close";
8206
8201
  "panel.newTab": "panel.newTab";
8202
+ "panel.reopenClosedTab": "panel.reopenClosedTab";
8207
8203
  "panel.toggle": "panel.toggle";
8208
8204
  "question.select.1": "question.select.1";
8209
8205
  "question.select.2": "question.select.2";
@@ -8325,6 +8321,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
8325
8321
  "pane.maximize.toggle": "pane.maximize.toggle";
8326
8322
  "panel.close": "panel.close";
8327
8323
  "panel.newTab": "panel.newTab";
8324
+ "panel.reopenClosedTab": "panel.reopenClosedTab";
8328
8325
  "panel.toggle": "panel.toggle";
8329
8326
  "question.select.1": "question.select.1";
8330
8327
  "question.select.2": "question.select.2";
@@ -8397,6 +8394,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
8397
8394
  "pane.maximize.toggle": "pane.maximize.toggle";
8398
8395
  "panel.close": "panel.close";
8399
8396
  "panel.newTab": "panel.newTab";
8397
+ "panel.reopenClosedTab": "panel.reopenClosedTab";
8400
8398
  "panel.toggle": "panel.toggle";
8401
8399
  "question.select.1": "question.select.1";
8402
8400
  "question.select.2": "question.select.2";
@@ -1270,7 +1270,8 @@ var systemThreadInterruptedReasonSchema = z10.enum(
1270
1270
  systemThreadInterruptedReasonValues
1271
1271
  );
1272
1272
  var systemThreadInterruptedEventDataSchema = z10.object({
1273
- reason: systemThreadInterruptedReasonSchema
1273
+ reason: systemThreadInterruptedReasonSchema,
1274
+ cause: z10.literal("host-connection-lost").optional()
1274
1275
  });
1275
1276
  var provisioningTranscriptEntrySchema = z10.object({
1276
1277
  type: z10.enum(["step", "output"]),
@@ -902,7 +902,8 @@ var systemThreadInterruptedReasonSchema = z8.enum(
902
902
  systemThreadInterruptedReasonValues
903
903
  );
904
904
  var systemThreadInterruptedEventDataSchema = z8.object({
905
- reason: systemThreadInterruptedReasonSchema
905
+ reason: systemThreadInterruptedReasonSchema,
906
+ cause: z8.literal("host-connection-lost").optional()
906
907
  });
907
908
  var provisioningTranscriptEntrySchema = z8.object({
908
909
  type: z8.enum(["step", "output"]),
@@ -2575,7 +2575,8 @@ var systemThreadInterruptedReasonSchema = z14.enum(
2575
2575
  systemThreadInterruptedReasonValues
2576
2576
  );
2577
2577
  var systemThreadInterruptedEventDataSchema = z14.object({
2578
- reason: systemThreadInterruptedReasonSchema
2578
+ reason: systemThreadInterruptedReasonSchema,
2579
+ cause: z14.literal("host-connection-lost").optional()
2579
2580
  });
2580
2581
  var provisioningTranscriptEntrySchema = z14.object({
2581
2582
  type: z14.enum(["step", "output"]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@get-bb/plugin-sdk",
3
- "version": "0.4.27",
3
+ "version": "0.4.29",
4
4
  "homepage": "https://github.com/get-bb/bb#readme",
5
5
  "bugs": {
6
6
  "url": "https://github.com/get-bb/bb/issues"