@mossbear/protocol 0.1.0-alpha.110 → 0.1.0-alpha.111

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/schemas.d.ts CHANGED
@@ -1328,14 +1328,15 @@ export declare const ArtifactCommentSchema: v.ObjectSchema<{
1328
1328
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1329
1329
  }, undefined>, undefined>;
1330
1330
  /**
1331
- * Whether the person handed a comment Mossbear drafted to their agent from
1332
- * the comments panel. Present on every Mossbear comment and absent on a
1333
- * person's or an agent's. It does not say whether the agent may act: read
1334
- * `findingState` for that, and fall back to `approved: false` meaning "not
1335
- * yet accepted" only when `findingState` is absent, from a server that
1336
- * predates it. Only a client that reports a version able to mark drafts is
1337
- * listed an unaccepted finding, so an older reader that strips this field
1338
- * never receives one it would misread.
1331
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
1332
+ * hands one over any more, so a current server sends `false` on every Mossbear
1333
+ * comment and omits it on a person's or an agent's; the field stays for
1334
+ * readers that predate `findingState`. It does not say whether the agent may
1335
+ * act: read `findingState` for that, and fall back to `approved: false`
1336
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
1337
+ * that predates it. Only a client that reports a version able to mark drafts
1338
+ * is listed a finding at all, so an older reader that strips this field never
1339
+ * receives one it would misread.
1339
1340
  */
1340
1341
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1341
1342
  /**
@@ -1473,14 +1474,15 @@ export declare const ContextItemCommentSchema: v.ObjectSchema<{
1473
1474
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1474
1475
  }, undefined>, undefined>;
1475
1476
  /**
1476
- * Whether the person handed a comment Mossbear drafted to their agent from
1477
- * the comments panel. Present on every Mossbear comment and absent on a
1478
- * person's or an agent's. It does not say whether the agent may act: read
1479
- * `findingState` for that, and fall back to `approved: false` meaning "not
1480
- * yet accepted" only when `findingState` is absent, from a server that
1481
- * predates it. Only a client that reports a version able to mark drafts is
1482
- * listed an unaccepted finding, so an older reader that strips this field
1483
- * never receives one it would misread.
1477
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
1478
+ * hands one over any more, so a current server sends `false` on every Mossbear
1479
+ * comment and omits it on a person's or an agent's; the field stays for
1480
+ * readers that predate `findingState`. It does not say whether the agent may
1481
+ * act: read `findingState` for that, and fall back to `approved: false`
1482
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
1483
+ * that predates it. Only a client that reports a version able to mark drafts
1484
+ * is listed a finding at all, so an older reader that strips this field never
1485
+ * receives one it would misread.
1484
1486
  */
1485
1487
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1486
1488
  /**
@@ -1783,14 +1785,15 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
1783
1785
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1784
1786
  }, undefined>, undefined>;
1785
1787
  /**
1786
- * Whether the person handed a comment Mossbear drafted to their agent from
1787
- * the comments panel. Present on every Mossbear comment and absent on a
1788
- * person's or an agent's. It does not say whether the agent may act: read
1789
- * `findingState` for that, and fall back to `approved: false` meaning "not
1790
- * yet accepted" only when `findingState` is absent, from a server that
1791
- * predates it. Only a client that reports a version able to mark drafts is
1792
- * listed an unaccepted finding, so an older reader that strips this field
1793
- * never receives one it would misread.
1788
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
1789
+ * hands one over any more, so a current server sends `false` on every Mossbear
1790
+ * comment and omits it on a person's or an agent's; the field stays for
1791
+ * readers that predate `findingState`. It does not say whether the agent may
1792
+ * act: read `findingState` for that, and fall back to `approved: false`
1793
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
1794
+ * that predates it. Only a client that reports a version able to mark drafts
1795
+ * is listed a finding at all, so an older reader that strips this field never
1796
+ * receives one it would misread.
1794
1797
  */
1795
1798
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1796
1799
  /**
@@ -2332,14 +2335,15 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
2332
2335
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2333
2336
  }, undefined>, undefined>;
2334
2337
  /**
2335
- * Whether the person handed a comment Mossbear drafted to their agent from
2336
- * the comments panel. Present on every Mossbear comment and absent on a
2337
- * person's or an agent's. It does not say whether the agent may act: read
2338
- * `findingState` for that, and fall back to `approved: false` meaning "not
2339
- * yet accepted" only when `findingState` is absent, from a server that
2340
- * predates it. Only a client that reports a version able to mark drafts is
2341
- * listed an unaccepted finding, so an older reader that strips this field
2342
- * never receives one it would misread.
2338
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
2339
+ * hands one over any more, so a current server sends `false` on every Mossbear
2340
+ * comment and omits it on a person's or an agent's; the field stays for
2341
+ * readers that predate `findingState`. It does not say whether the agent may
2342
+ * act: read `findingState` for that, and fall back to `approved: false`
2343
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
2344
+ * that predates it. Only a client that reports a version able to mark drafts
2345
+ * is listed a finding at all, so an older reader that strips this field never
2346
+ * receives one it would misread.
2343
2347
  */
2344
2348
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2345
2349
  /**
@@ -2899,14 +2903,15 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
2899
2903
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2900
2904
  }, undefined>, undefined>;
2901
2905
  /**
2902
- * Whether the person handed a comment Mossbear drafted to their agent from
2903
- * the comments panel. Present on every Mossbear comment and absent on a
2904
- * person's or an agent's. It does not say whether the agent may act: read
2905
- * `findingState` for that, and fall back to `approved: false` meaning "not
2906
- * yet accepted" only when `findingState` is absent, from a server that
2907
- * predates it. Only a client that reports a version able to mark drafts is
2908
- * listed an unaccepted finding, so an older reader that strips this field
2909
- * never receives one it would misread.
2906
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
2907
+ * hands one over any more, so a current server sends `false` on every Mossbear
2908
+ * comment and omits it on a person's or an agent's; the field stays for
2909
+ * readers that predate `findingState`. It does not say whether the agent may
2910
+ * act: read `findingState` for that, and fall back to `approved: false`
2911
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
2912
+ * that predates it. Only a client that reports a version able to mark drafts
2913
+ * is listed a finding at all, so an older reader that strips this field never
2914
+ * receives one it would misread.
2910
2915
  */
2911
2916
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2912
2917
  /**
@@ -3500,6 +3505,110 @@ export declare const AgentCommentRequestSchema: v.ObjectSchema<{
3500
3505
  readonly bundleIds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
3501
3506
  }, undefined>;
3502
3507
  export type AgentCommentRequest = v.InferOutput<typeof AgentCommentRequestSchema>;
3508
+ /** A batch may cover findings across several guides without one write per finding. */
3509
+ export declare const MAX_FINDING_DISMISSALS_PER_REQUEST = 100;
3510
+ export declare const FindingDismissalInputSchema: v.ObjectSchema<{
3511
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
3512
+ readonly reason: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 1000, undefined>, v.CheckAction<string, "Use one line for the reason.">]>;
3513
+ }, undefined>;
3514
+ export declare const FindingDismissalInputsSchema: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
3515
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
3516
+ readonly reason: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 1000, undefined>, v.CheckAction<string, "Use one line for the reason.">]>;
3517
+ }, undefined>, undefined>, v.MinLengthAction<{
3518
+ id: string;
3519
+ reason: string;
3520
+ }[], 1, undefined>, v.MaxLengthAction<{
3521
+ id: string;
3522
+ reason: string;
3523
+ }[], 100, undefined>, v.CheckAction<{
3524
+ id: string;
3525
+ reason: string;
3526
+ }[], "Name each finding only once.">]>;
3527
+ export declare const SuggestFindingDismissalsRequestSchema: v.ObjectSchema<{
3528
+ readonly suggestions: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
3529
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
3530
+ readonly reason: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 1000, undefined>, v.CheckAction<string, "Use one line for the reason.">]>;
3531
+ }, undefined>, undefined>, v.MinLengthAction<{
3532
+ id: string;
3533
+ reason: string;
3534
+ }[], 1, undefined>, v.MaxLengthAction<{
3535
+ id: string;
3536
+ reason: string;
3537
+ }[], 100, undefined>, v.CheckAction<{
3538
+ id: string;
3539
+ reason: string;
3540
+ }[], "Name each finding only once.">]>;
3541
+ readonly agent: v.ObjectSchema<{
3542
+ readonly sessionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
3543
+ readonly harness: v.PicklistSchema<["claude_code", "codex", "antigravity", "opencode"], undefined>;
3544
+ /** The agent's own statement of its model, when it knows it. */
3545
+ readonly model: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 100, undefined>]>, undefined>;
3546
+ readonly cliVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
3547
+ }, undefined>;
3548
+ }, undefined>;
3549
+ export type SuggestFindingDismissalsRequest = v.InferOutput<typeof SuggestFindingDismissalsRequestSchema>;
3550
+ /** Recommendations are separate from the finding's open/resolved state. */
3551
+ export declare const FindingDismissalSuggestionSchema: v.ObjectSchema<{
3552
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3553
+ readonly commentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3554
+ readonly reason: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3555
+ readonly agent: v.ObjectSchema<{
3556
+ readonly sessionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
3557
+ readonly harness: v.PicklistSchema<["claude_code", "codex", "antigravity", "opencode"], undefined>;
3558
+ /** The agent's own statement of its model, when it knows it. */
3559
+ readonly model: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 100, undefined>]>, undefined>;
3560
+ readonly cliVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
3561
+ }, undefined>;
3562
+ readonly guideVersion: v.NumberSchema<undefined>;
3563
+ readonly createdAt: v.StringSchema<undefined>;
3564
+ }, undefined>;
3565
+ export type FindingDismissalSuggestion = v.InferOutput<typeof FindingDismissalSuggestionSchema>;
3566
+ export declare const SuggestFindingDismissalsResponseSchema: v.ObjectSchema<{
3567
+ readonly results: v.ArraySchema<v.ObjectSchema<{
3568
+ readonly suggestion: v.ObjectSchema<{
3569
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3570
+ readonly commentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3571
+ readonly reason: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3572
+ readonly agent: v.ObjectSchema<{
3573
+ readonly sessionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
3574
+ readonly harness: v.PicklistSchema<["claude_code", "codex", "antigravity", "opencode"], undefined>;
3575
+ /** The agent's own statement of its model, when it knows it. */
3576
+ readonly model: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 100, undefined>]>, undefined>;
3577
+ readonly cliVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
3578
+ }, undefined>;
3579
+ readonly guideVersion: v.NumberSchema<undefined>;
3580
+ readonly createdAt: v.StringSchema<undefined>;
3581
+ }, undefined>;
3582
+ readonly created: v.BooleanSchema<undefined>;
3583
+ readonly valid: v.BooleanSchema<undefined>;
3584
+ }, undefined>, undefined>;
3585
+ }, undefined>;
3586
+ export type SuggestFindingDismissalsResponse = v.InferOutput<typeof SuggestFindingDismissalsResponseSchema>;
3587
+ export declare const FindingDismissalSuggestionsCursorSchema: v.ObjectSchema<{
3588
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
3589
+ readonly createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
3590
+ }, undefined>;
3591
+ export type FindingDismissalSuggestionsCursor = v.InferOutput<typeof FindingDismissalSuggestionsCursorSchema>;
3592
+ export declare const FindingDismissalSuggestionsResponseSchema: v.ObjectSchema<{
3593
+ readonly suggestions: v.ArraySchema<v.ObjectSchema<{
3594
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3595
+ readonly commentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3596
+ readonly reason: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3597
+ readonly agent: v.ObjectSchema<{
3598
+ readonly sessionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
3599
+ readonly harness: v.PicklistSchema<["claude_code", "codex", "antigravity", "opencode"], undefined>;
3600
+ /** The agent's own statement of its model, when it knows it. */
3601
+ readonly model: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 100, undefined>]>, undefined>;
3602
+ readonly cliVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
3603
+ }, undefined>;
3604
+ readonly guideVersion: v.NumberSchema<undefined>;
3605
+ readonly createdAt: v.StringSchema<undefined>;
3606
+ }, undefined>, undefined>;
3607
+ readonly nextCursor: v.NullableSchema<v.ObjectSchema<{
3608
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
3609
+ readonly createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
3610
+ }, undefined>, undefined>;
3611
+ }, undefined>;
3503
3612
  /**
3504
3613
  * The comment a create settled on. `created` is false when this agent session
3505
3614
  * already had a whole-subject comment on the subject: that comment comes back
@@ -3572,14 +3681,15 @@ export declare const ItemCommentWithSubjectSchema: v.ObjectSchema<{
3572
3681
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3573
3682
  }, undefined>, undefined>;
3574
3683
  /**
3575
- * Whether the person handed a comment Mossbear drafted to their agent from
3576
- * the comments panel. Present on every Mossbear comment and absent on a
3577
- * person's or an agent's. It does not say whether the agent may act: read
3578
- * `findingState` for that, and fall back to `approved: false` meaning "not
3579
- * yet accepted" only when `findingState` is absent, from a server that
3580
- * predates it. Only a client that reports a version able to mark drafts is
3581
- * listed an unaccepted finding, so an older reader that strips this field
3582
- * never receives one it would misread.
3684
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
3685
+ * hands one over any more, so a current server sends `false` on every Mossbear
3686
+ * comment and omits it on a person's or an agent's; the field stays for
3687
+ * readers that predate `findingState`. It does not say whether the agent may
3688
+ * act: read `findingState` for that, and fall back to `approved: false`
3689
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
3690
+ * that predates it. Only a client that reports a version able to mark drafts
3691
+ * is listed a finding at all, so an older reader that strips this field never
3692
+ * receives one it would misread.
3583
3693
  */
3584
3694
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3585
3695
  /**
@@ -3733,14 +3843,15 @@ export declare const ItemCommentsResponseSchema: v.ObjectSchema<{
3733
3843
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3734
3844
  }, undefined>, undefined>;
3735
3845
  /**
3736
- * Whether the person handed a comment Mossbear drafted to their agent from
3737
- * the comments panel. Present on every Mossbear comment and absent on a
3738
- * person's or an agent's. It does not say whether the agent may act: read
3739
- * `findingState` for that, and fall back to `approved: false` meaning "not
3740
- * yet accepted" only when `findingState` is absent, from a server that
3741
- * predates it. Only a client that reports a version able to mark drafts is
3742
- * listed an unaccepted finding, so an older reader that strips this field
3743
- * never receives one it would misread.
3846
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
3847
+ * hands one over any more, so a current server sends `false` on every Mossbear
3848
+ * comment and omits it on a person's or an agent's; the field stays for
3849
+ * readers that predate `findingState`. It does not say whether the agent may
3850
+ * act: read `findingState` for that, and fall back to `approved: false`
3851
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
3852
+ * that predates it. Only a client that reports a version able to mark drafts
3853
+ * is listed a finding at all, so an older reader that strips this field never
3854
+ * receives one it would misread.
3744
3855
  */
3745
3856
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3746
3857
  /**
@@ -4491,14 +4602,15 @@ export declare const ArtifactSchema: v.ObjectSchema<{
4491
4602
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
4492
4603
  }, undefined>, undefined>;
4493
4604
  /**
4494
- * Whether the person handed a comment Mossbear drafted to their agent from
4495
- * the comments panel. Present on every Mossbear comment and absent on a
4496
- * person's or an agent's. It does not say whether the agent may act: read
4497
- * `findingState` for that, and fall back to `approved: false` meaning "not
4498
- * yet accepted" only when `findingState` is absent, from a server that
4499
- * predates it. Only a client that reports a version able to mark drafts is
4500
- * listed an unaccepted finding, so an older reader that strips this field
4501
- * never receives one it would misread.
4605
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
4606
+ * hands one over any more, so a current server sends `false` on every Mossbear
4607
+ * comment and omits it on a person's or an agent's; the field stays for
4608
+ * readers that predate `findingState`. It does not say whether the agent may
4609
+ * act: read `findingState` for that, and fall back to `approved: false`
4610
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
4611
+ * that predates it. Only a client that reports a version able to mark drafts
4612
+ * is listed a finding at all, so an older reader that strips this field never
4613
+ * receives one it would misread.
4502
4614
  */
4503
4615
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4504
4616
  /**
@@ -4750,14 +4862,15 @@ export declare const ArtifactMetadataSchema: v.StrictObjectSchema<Omit<{
4750
4862
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
4751
4863
  }, undefined>, undefined>;
4752
4864
  /**
4753
- * Whether the person handed a comment Mossbear drafted to their agent from
4754
- * the comments panel. Present on every Mossbear comment and absent on a
4755
- * person's or an agent's. It does not say whether the agent may act: read
4756
- * `findingState` for that, and fall back to `approved: false` meaning "not
4757
- * yet accepted" only when `findingState` is absent, from a server that
4758
- * predates it. Only a client that reports a version able to mark drafts is
4759
- * listed an unaccepted finding, so an older reader that strips this field
4760
- * never receives one it would misread.
4865
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
4866
+ * hands one over any more, so a current server sends `false` on every Mossbear
4867
+ * comment and omits it on a person's or an agent's; the field stays for
4868
+ * readers that predate `findingState`. It does not say whether the agent may
4869
+ * act: read `findingState` for that, and fall back to `approved: false`
4870
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
4871
+ * that predates it. Only a client that reports a version able to mark drafts
4872
+ * is listed a finding at all, so an older reader that strips this field never
4873
+ * receives one it would misread.
4761
4874
  */
4762
4875
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4763
4876
  /**
@@ -5786,14 +5899,15 @@ export declare const ReadArtifactResponseSchema: v.ObjectSchema<{
5786
5899
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
5787
5900
  }, undefined>, undefined>;
5788
5901
  /**
5789
- * Whether the person handed a comment Mossbear drafted to their agent from
5790
- * the comments panel. Present on every Mossbear comment and absent on a
5791
- * person's or an agent's. It does not say whether the agent may act: read
5792
- * `findingState` for that, and fall back to `approved: false` meaning "not
5793
- * yet accepted" only when `findingState` is absent, from a server that
5794
- * predates it. Only a client that reports a version able to mark drafts is
5795
- * listed an unaccepted finding, so an older reader that strips this field
5796
- * never receives one it would misread.
5902
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
5903
+ * hands one over any more, so a current server sends `false` on every Mossbear
5904
+ * comment and omits it on a person's or an agent's; the field stays for
5905
+ * readers that predate `findingState`. It does not say whether the agent may
5906
+ * act: read `findingState` for that, and fall back to `approved: false`
5907
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
5908
+ * that predates it. Only a client that reports a version able to mark drafts
5909
+ * is listed a finding at all, so an older reader that strips this field never
5910
+ * receives one it would misread.
5797
5911
  */
5798
5912
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
5799
5913
  /**
@@ -6084,14 +6198,15 @@ export declare const CreateArtifactResponseSchema: v.ObjectSchema<{
6084
6198
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
6085
6199
  }, undefined>, undefined>;
6086
6200
  /**
6087
- * Whether the person handed a comment Mossbear drafted to their agent from
6088
- * the comments panel. Present on every Mossbear comment and absent on a
6089
- * person's or an agent's. It does not say whether the agent may act: read
6090
- * `findingState` for that, and fall back to `approved: false` meaning "not
6091
- * yet accepted" only when `findingState` is absent, from a server that
6092
- * predates it. Only a client that reports a version able to mark drafts is
6093
- * listed an unaccepted finding, so an older reader that strips this field
6094
- * never receives one it would misread.
6201
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
6202
+ * hands one over any more, so a current server sends `false` on every Mossbear
6203
+ * comment and omits it on a person's or an agent's; the field stays for
6204
+ * readers that predate `findingState`. It does not say whether the agent may
6205
+ * act: read `findingState` for that, and fall back to `approved: false`
6206
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
6207
+ * that predates it. Only a client that reports a version able to mark drafts
6208
+ * is listed a finding at all, so an older reader that strips this field never
6209
+ * receives one it would misread.
6095
6210
  */
6096
6211
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6097
6212
  /**
@@ -6344,14 +6459,15 @@ export declare const UpdateArtifactResponseSchema: v.ObjectSchema<{
6344
6459
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
6345
6460
  }, undefined>, undefined>;
6346
6461
  /**
6347
- * Whether the person handed a comment Mossbear drafted to their agent from
6348
- * the comments panel. Present on every Mossbear comment and absent on a
6349
- * person's or an agent's. It does not say whether the agent may act: read
6350
- * `findingState` for that, and fall back to `approved: false` meaning "not
6351
- * yet accepted" only when `findingState` is absent, from a server that
6352
- * predates it. Only a client that reports a version able to mark drafts is
6353
- * listed an unaccepted finding, so an older reader that strips this field
6354
- * never receives one it would misread.
6462
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
6463
+ * hands one over any more, so a current server sends `false` on every Mossbear
6464
+ * comment and omits it on a person's or an agent's; the field stays for
6465
+ * readers that predate `findingState`. It does not say whether the agent may
6466
+ * act: read `findingState` for that, and fall back to `approved: false`
6467
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
6468
+ * that predates it. Only a client that reports a version able to mark drafts
6469
+ * is listed a finding at all, so an older reader that strips this field never
6470
+ * receives one it would misread.
6355
6471
  */
6356
6472
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6357
6473
  /**
@@ -6670,14 +6786,15 @@ export declare const ListArtifactsResponseSchema: v.ObjectSchema<{
6670
6786
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
6671
6787
  }, undefined>, undefined>;
6672
6788
  /**
6673
- * Whether the person handed a comment Mossbear drafted to their agent from
6674
- * the comments panel. Present on every Mossbear comment and absent on a
6675
- * person's or an agent's. It does not say whether the agent may act: read
6676
- * `findingState` for that, and fall back to `approved: false` meaning "not
6677
- * yet accepted" only when `findingState` is absent, from a server that
6678
- * predates it. Only a client that reports a version able to mark drafts is
6679
- * listed an unaccepted finding, so an older reader that strips this field
6680
- * never receives one it would misread.
6789
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
6790
+ * hands one over any more, so a current server sends `false` on every Mossbear
6791
+ * comment and omits it on a person's or an agent's; the field stays for
6792
+ * readers that predate `findingState`. It does not say whether the agent may
6793
+ * act: read `findingState` for that, and fall back to `approved: false`
6794
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
6795
+ * that predates it. Only a client that reports a version able to mark drafts
6796
+ * is listed a finding at all, so an older reader that strips this field never
6797
+ * receives one it would misread.
6681
6798
  */
6682
6799
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6683
6800
  /**
@@ -6940,14 +7057,15 @@ export declare const ListArtifactMetadataResponseSchema: v.ObjectSchema<{
6940
7057
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
6941
7058
  }, undefined>, undefined>;
6942
7059
  /**
6943
- * Whether the person handed a comment Mossbear drafted to their agent from
6944
- * the comments panel. Present on every Mossbear comment and absent on a
6945
- * person's or an agent's. It does not say whether the agent may act: read
6946
- * `findingState` for that, and fall back to `approved: false` meaning "not
6947
- * yet accepted" only when `findingState` is absent, from a server that
6948
- * predates it. Only a client that reports a version able to mark drafts is
6949
- * listed an unaccepted finding, so an older reader that strips this field
6950
- * never receives one it would misread.
7060
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
7061
+ * hands one over any more, so a current server sends `false` on every Mossbear
7062
+ * comment and omits it on a person's or an agent's; the field stays for
7063
+ * readers that predate `findingState`. It does not say whether the agent may
7064
+ * act: read `findingState` for that, and fall back to `approved: false`
7065
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
7066
+ * that predates it. Only a client that reports a version able to mark drafts
7067
+ * is listed a finding at all, so an older reader that strips this field never
7068
+ * receives one it would misread.
6951
7069
  */
6952
7070
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6953
7071
  /**
@@ -7372,14 +7490,15 @@ export declare const MarkDoneResponseSchema: v.ObjectSchema<{
7372
7490
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
7373
7491
  }, undefined>, undefined>;
7374
7492
  /**
7375
- * Whether the person handed a comment Mossbear drafted to their agent from
7376
- * the comments panel. Present on every Mossbear comment and absent on a
7377
- * person's or an agent's. It does not say whether the agent may act: read
7378
- * `findingState` for that, and fall back to `approved: false` meaning "not
7379
- * yet accepted" only when `findingState` is absent, from a server that
7380
- * predates it. Only a client that reports a version able to mark drafts is
7381
- * listed an unaccepted finding, so an older reader that strips this field
7382
- * never receives one it would misread.
7493
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
7494
+ * hands one over any more, so a current server sends `false` on every Mossbear
7495
+ * comment and omits it on a person's or an agent's; the field stays for
7496
+ * readers that predate `findingState`. It does not say whether the agent may
7497
+ * act: read `findingState` for that, and fall back to `approved: false`
7498
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
7499
+ * that predates it. Only a client that reports a version able to mark drafts
7500
+ * is listed a finding at all, so an older reader that strips this field never
7501
+ * receives one it would misread.
7383
7502
  */
7384
7503
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
7385
7504
  /**
@@ -7634,14 +7753,15 @@ export declare const DeleteArtifactResponseSchema: v.ObjectSchema<{
7634
7753
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
7635
7754
  }, undefined>, undefined>;
7636
7755
  /**
7637
- * Whether the person handed a comment Mossbear drafted to their agent from
7638
- * the comments panel. Present on every Mossbear comment and absent on a
7639
- * person's or an agent's. It does not say whether the agent may act: read
7640
- * `findingState` for that, and fall back to `approved: false` meaning "not
7641
- * yet accepted" only when `findingState` is absent, from a server that
7642
- * predates it. Only a client that reports a version able to mark drafts is
7643
- * listed an unaccepted finding, so an older reader that strips this field
7644
- * never receives one it would misread.
7756
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
7757
+ * hands one over any more, so a current server sends `false` on every Mossbear
7758
+ * comment and omits it on a person's or an agent's; the field stays for
7759
+ * readers that predate `findingState`. It does not say whether the agent may
7760
+ * act: read `findingState` for that, and fall back to `approved: false`
7761
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
7762
+ * that predates it. Only a client that reports a version able to mark drafts
7763
+ * is listed a finding at all, so an older reader that strips this field never
7764
+ * receives one it would misread.
7645
7765
  */
7646
7766
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
7647
7767
  /**
@@ -7895,14 +8015,15 @@ export declare const WithdrawArtifactResponseSchema: v.ObjectSchema<{
7895
8015
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
7896
8016
  }, undefined>, undefined>;
7897
8017
  /**
7898
- * Whether the person handed a comment Mossbear drafted to their agent from
7899
- * the comments panel. Present on every Mossbear comment and absent on a
7900
- * person's or an agent's. It does not say whether the agent may act: read
7901
- * `findingState` for that, and fall back to `approved: false` meaning "not
7902
- * yet accepted" only when `findingState` is absent, from a server that
7903
- * predates it. Only a client that reports a version able to mark drafts is
7904
- * listed an unaccepted finding, so an older reader that strips this field
7905
- * never receives one it would misread.
8018
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
8019
+ * hands one over any more, so a current server sends `false` on every Mossbear
8020
+ * comment and omits it on a person's or an agent's; the field stays for
8021
+ * readers that predate `findingState`. It does not say whether the agent may
8022
+ * act: read `findingState` for that, and fall back to `approved: false`
8023
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
8024
+ * that predates it. Only a client that reports a version able to mark drafts
8025
+ * is listed a finding at all, so an older reader that strips this field never
8026
+ * receives one it would misread.
7906
8027
  */
7907
8028
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
7908
8029
  /**
@@ -8618,7 +8739,7 @@ export declare const MAX_RULE_MANIFEST_FILES = 500;
8618
8739
  * A rule file observed on disk in the repo `mossbear report` ran from.
8619
8740
  *
8620
8741
  * `path` is relative to that repo root, in exactly the form `payloadPath`
8621
- * takes at import time (`packages/cli/src/rules/discover.ts`), so
8742
+ * takes at import time (`packages/cli/src/guides/discover.ts`), so
8622
8743
  * `file:{format}:{path}` reconstructs the `origin` the dashboard stored for
8623
8744
  * the guide this file produced. That reconstruction is the whole join; nothing
8624
8745
  * else about the file is needed and nothing else is sent.
@@ -8644,7 +8765,7 @@ export declare const RuleManifestFileSchema: v.ObjectSchema<{
8644
8765
  * same account distinguishable, which is the half of review finding 5 that
8645
8766
  * repo-root-relative origins cannot express: two repos each holding
8646
8767
  * `.claude/skills/review` produce byte-identical origins by construction. See
8647
- * `repoIdFromRoot` (`packages/cli/src/rules/manifest.ts`) for how it is
8768
+ * `repoIdFromRoot` (`packages/cli/src/guides/manifest.ts`) for how it is
8648
8769
  * derived and why that derivation is privacy-safe.
8649
8770
  */
8650
8771
  export declare const RuleFileManifestSchema: v.ObjectSchema<{
@@ -9338,7 +9459,7 @@ export declare const GuideHistoryIdentifierSchema: v.SchemaWithPipe<readonly [v.
9338
9459
  *
9339
9460
  * `root` is optional and is the disambiguator, not decoration: `.claude/skills`
9340
9461
  * is scanned under **both** discovery roots
9341
- * (`packages/cli/src/rules/discover.ts:101,105`), so a project skill and its
9462
+ * (`packages/cli/src/guides/discover.ts`), so a project skill and its
9342
9463
  * `~/.claude/skills` twin declare the same path string. When the identifier
9343
9464
  * reaches guides under more than one root and no root was given, the server
9344
9465
  * refuses and names both rather than picking one — answering a question about
@@ -9936,14 +10057,15 @@ export declare const ArtifactFeedbackResponseSchema: v.ObjectSchema<{
9936
10057
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
9937
10058
  }, undefined>, undefined>;
9938
10059
  /**
9939
- * Whether the person handed a comment Mossbear drafted to their agent from
9940
- * the comments panel. Present on every Mossbear comment and absent on a
9941
- * person's or an agent's. It does not say whether the agent may act: read
9942
- * `findingState` for that, and fall back to `approved: false` meaning "not
9943
- * yet accepted" only when `findingState` is absent, from a server that
9944
- * predates it. Only a client that reports a version able to mark drafts is
9945
- * listed an unaccepted finding, so an older reader that strips this field
9946
- * never receives one it would misread.
10060
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
10061
+ * hands one over any more, so a current server sends `false` on every Mossbear
10062
+ * comment and omits it on a person's or an agent's; the field stays for
10063
+ * readers that predate `findingState`. It does not say whether the agent may
10064
+ * act: read `findingState` for that, and fall back to `approved: false`
10065
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
10066
+ * that predates it. Only a client that reports a version able to mark drafts
10067
+ * is listed a finding at all, so an older reader that strips this field never
10068
+ * receives one it would misread.
9947
10069
  */
9948
10070
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
9949
10071
  /**
@@ -10311,14 +10433,15 @@ export declare const ArtifactFeedbackBatchResponseSchema: v.ObjectSchema<{
10311
10433
  readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
10312
10434
  }, undefined>, undefined>;
10313
10435
  /**
10314
- * Whether the person handed a comment Mossbear drafted to their agent from
10315
- * the comments panel. Present on every Mossbear comment and absent on a
10316
- * person's or an agent's. It does not say whether the agent may act: read
10317
- * `findingState` for that, and fall back to `approved: false` meaning "not
10318
- * yet accepted" only when `findingState` is absent, from a server that
10319
- * predates it. Only a client that reports a version able to mark drafts is
10320
- * listed an unaccepted finding, so an older reader that strips this field
10321
- * never receives one it would misread.
10436
+ * Whether the person handed a comment Mossbear drafted to their agent. Nothing
10437
+ * hands one over any more, so a current server sends `false` on every Mossbear
10438
+ * comment and omits it on a person's or an agent's; the field stays for
10439
+ * readers that predate `findingState`. It does not say whether the agent may
10440
+ * act: read `findingState` for that, and fall back to `approved: false`
10441
+ * meaning "not yet accepted" only when `findingState` is absent, from a server
10442
+ * that predates it. Only a client that reports a version able to mark drafts
10443
+ * is listed a finding at all, so an older reader that strips this field never
10444
+ * receives one it would misread.
10322
10445
  */
10323
10446
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
10324
10447
  /**
@@ -11368,10 +11491,10 @@ export declare const SearchArtifactCommentHitSchema: v.ObjectSchema<{
11368
11491
  */
11369
11492
  readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
11370
11493
  /**
11371
- * Whether a Mossbear finding's owner handed it to their agents from the
11372
- * comments panel. It does not say whether an agent may act on it: every open
11373
- * finding is ready unless dismissed. Absent on a person's or an agent's
11374
- * comment and on a reply.
11494
+ * Whether a Mossbear finding's owner handed it to their agents. Nothing hands
11495
+ * one over any more, so a current server sends `false`. It does not say
11496
+ * whether an agent may act on it: every open finding is ready unless
11497
+ * dismissed. Absent on a person's or an agent's comment and on a reply.
11375
11498
  */
11376
11499
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
11377
11500
  readonly commentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
@@ -11423,10 +11546,10 @@ export declare const SearchCommentHitSchema: v.VariantSchema<"subjectKind", [v.O
11423
11546
  */
11424
11547
  readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
11425
11548
  /**
11426
- * Whether a Mossbear finding's owner handed it to their agents from the
11427
- * comments panel. It does not say whether an agent may act on it: every open
11428
- * finding is ready unless dismissed. Absent on a person's or an agent's
11429
- * comment and on a reply.
11549
+ * Whether a Mossbear finding's owner handed it to their agents. Nothing hands
11550
+ * one over any more, so a current server sends `false`. It does not say
11551
+ * whether an agent may act on it: every open finding is ready unless
11552
+ * dismissed. Absent on a person's or an agent's comment and on a reply.
11430
11553
  */
11431
11554
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
11432
11555
  readonly commentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
@@ -11643,10 +11766,10 @@ export declare const SearchCommentsReportSchema: v.VariantSchema<"status", [v.Ob
11643
11766
  */
11644
11767
  readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
11645
11768
  /**
11646
- * Whether a Mossbear finding's owner handed it to their agents from the
11647
- * comments panel. It does not say whether an agent may act on it: every open
11648
- * finding is ready unless dismissed. Absent on a person's or an agent's
11649
- * comment and on a reply.
11769
+ * Whether a Mossbear finding's owner handed it to their agents. Nothing hands
11770
+ * one over any more, so a current server sends `false`. It does not say
11771
+ * whether an agent may act on it: every open finding is ready unless
11772
+ * dismissed. Absent on a person's or an agent's comment and on a reply.
11650
11773
  */
11651
11774
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
11652
11775
  readonly commentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
@@ -11889,10 +12012,10 @@ export declare const SearchResponseSchema: v.ObjectSchema<{
11889
12012
  */
11890
12013
  readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
11891
12014
  /**
11892
- * Whether a Mossbear finding's owner handed it to their agents from the
11893
- * comments panel. It does not say whether an agent may act on it: every open
11894
- * finding is ready unless dismissed. Absent on a person's or an agent's
11895
- * comment and on a reply.
12015
+ * Whether a Mossbear finding's owner handed it to their agents. Nothing hands
12016
+ * one over any more, so a current server sends `false`. It does not say
12017
+ * whether an agent may act on it: every open finding is ready unless
12018
+ * dismissed. Absent on a person's or an agent's comment and on a reply.
11896
12019
  */
11897
12020
  readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
11898
12021
  readonly commentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;