@get-bb/plugin-sdk 0.4.27 → 0.4.28

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";
@@ -2606,6 +2606,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2606
2606
  turnId: z$1.ZodOptional<z$1.ZodString>;
2607
2607
  type: z$1.ZodLiteral<"system/manager/user_message">;
2608
2608
  }, z$1.core.$strip>, z$1.ZodObject<{
2609
+ cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
2609
2610
  reason: z$1.ZodEnum<{
2610
2611
  "host-daemon-restarted": "host-daemon-restarted";
2611
2612
  "manual-stop": "manual-stop";
@@ -3534,6 +3535,10 @@ declare const projectBranchesQuerySchema: z$1.ZodObject<{
3534
3535
  hostId: z$1.ZodString;
3535
3536
  limit: z$1.ZodOptional<z$1.ZodString>;
3536
3537
  query: z$1.ZodOptional<z$1.ZodString>;
3538
+ refresh: z$1.ZodOptional<z$1.ZodEnum<{
3539
+ background: "background";
3540
+ blocking: "blocking";
3541
+ }>>;
3537
3542
  selectedBranch: z$1.ZodOptional<z$1.ZodString>;
3538
3543
  }, z$1.core.$strip>;
3539
3544
  type ProjectBranchesQuery = z$1.infer<typeof projectBranchesQuerySchema>;
@@ -6374,15 +6379,14 @@ declare const hostDaemonCommandRegistry: {
6374
6379
  treeHash: z$1.ZodNullable<z$1.ZodString>;
6375
6380
  }, z$1.core.$strict>>;
6376
6381
  }, z$1.core.$strict>, "onlineRpc", true>;
6377
- "host.list_branches": HostDaemonCommandDescriptor<"host.list_branches", z$1.ZodObject<{
6378
- limit: z$1.ZodNumber;
6382
+ "host.inspect_git_source": HostDaemonCommandDescriptor<"host.inspect_git_source", z$1.ZodObject<{
6379
6383
  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;
6384
+ remoteRefresh: z$1.ZodEnum<{
6385
+ background: "background";
6386
+ blocking: "blocking";
6387
+ }>;
6388
+ type: z$1.ZodLiteral<"host.inspect_git_source">;
6389
+ }, z$1.core.$strict>, z$1.ZodObject<{
6386
6390
  checkout: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6387
6391
  branchName: z$1.ZodString;
6388
6392
  headSha: z$1.ZodNullable<z$1.ZodString>;
@@ -6426,16 +6430,6 @@ declare const hostDaemonCommandRegistry: {
6426
6430
  reason: z$1.ZodString;
6427
6431
  }, z$1.core.$strip>], "kind">;
6428
6432
  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
6433
  }, z$1.core.$strip>, "onlineRpc", true>;
6440
6434
  "host.list_branch_options": HostDaemonCommandDescriptor<"host.list_branch_options", z$1.ZodObject<{
6441
6435
  limit: z$1.ZodNumber;
@@ -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.28",
4
4
  "homepage": "https://github.com/get-bb/bb#readme",
5
5
  "bugs": {
6
6
  "url": "https://github.com/get-bb/bb/issues"