@mossbear/protocol 0.1.0-alpha.89 → 0.1.0-alpha.91

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
@@ -60,6 +60,13 @@ export declare const GuideFileFormatSchema: v.PicklistSchema<["agents-md", "agen
60
60
  export { MAX_RAW_GUIDE_CONTENT_BYTES };
61
61
  /** Max member files a single skill-md payload may carry. */
62
62
  export declare const MAX_SKILL_MEMBER_FILES = 64;
63
+ export declare const PATH_ISSUE_MESSAGES: {
64
+ readonly backslash: "path must use forward slashes";
65
+ readonly absolute: "path must be relative";
66
+ readonly control: "path must not contain control characters";
67
+ readonly segments: "path must not contain empty, \".\" or \"..\" segments";
68
+ readonly skillMd: "path must not shadow the skill’s own SKILL.md";
69
+ };
63
70
  export declare const SafeRelativePosixPathSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 512, undefined>, v.CheckAction<string, "path must use forward slashes">, v.CheckAction<string, "path must be relative">, v.CheckAction<string, "path must not contain control characters">, v.CheckAction<string, "path must not contain empty, \".\" or \"..\" segments">]>;
64
71
  export declare const SkillMemberPathSchema: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 512, undefined>, v.CheckAction<string, "path must use forward slashes">, v.CheckAction<string, "path must be relative">, v.CheckAction<string, "path must not contain control characters">, v.CheckAction<string, "path must not contain empty, \".\" or \"..\" segments">]>, v.CheckAction<string, "path must not shadow the skill’s own SKILL.md">]>;
65
72
  export declare const RawSkillMemberFileSchema: v.ObjectSchema<{
@@ -839,6 +846,7 @@ export declare const SubscribeBundleResponseSchema: v.ObjectSchema<{
839
846
  export declare const CreateBundleRequestSchema: v.ObjectSchema<{
840
847
  readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "slug must be lowercase alphanumeric with hyphens, at most 64 characters">]>;
841
848
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, number, undefined>, v.CheckAction<string, "Remove the invisible characters from this name — copying text from another app often brings them along.">, v.RegexAction<string, "Remove the invisible characters from this name — copying text from another app often brings them along.">]>;
849
+ readonly workspaceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
842
850
  }, undefined>;
843
851
  export declare const CreateBundleResponseSchema: v.ObjectSchema<{
844
852
  readonly bundle: v.ObjectSchema<{
@@ -1095,13 +1103,6 @@ export declare const ArtifactCommentSchema: v.ObjectSchema<{
1095
1103
  }, undefined>, undefined>;
1096
1104
  /** The comment's text, already wrapped in the response's untrusted markers. */
1097
1105
  readonly body: v.StringSchema<undefined>;
1098
- /**
1099
- * A suggested edit: the replacement for the passage at `passage.lines`,
1100
- * already wrapped in the response's untrusted markers like `body`. An
1101
- * insertion is the passage plus its new lines and an empty replacement is a
1102
- * deletion, so every edit is one replace. Absent on an ordinary comment.
1103
- */
1104
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1105
1106
  /**
1106
1107
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
1107
1108
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -1181,13 +1182,6 @@ export declare const ContextItemCommentSchema: v.ObjectSchema<{
1181
1182
  }, undefined>, undefined>;
1182
1183
  /** The comment's text, already wrapped in the response's untrusted markers. */
1183
1184
  readonly body: v.StringSchema<undefined>;
1184
- /**
1185
- * A suggested edit: the replacement for the passage at `passage.lines`,
1186
- * already wrapped in the response's untrusted markers like `body`. An
1187
- * insertion is the passage plus its new lines and an empty replacement is a
1188
- * deletion, so every edit is one replace. Absent on an ordinary comment.
1189
- */
1190
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1191
1185
  /**
1192
1186
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
1193
1187
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -1404,13 +1398,6 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
1404
1398
  }, undefined>, undefined>;
1405
1399
  /** The comment's text, already wrapped in the response's untrusted markers. */
1406
1400
  readonly body: v.StringSchema<undefined>;
1407
- /**
1408
- * A suggested edit: the replacement for the passage at `passage.lines`,
1409
- * already wrapped in the response's untrusted markers like `body`. An
1410
- * insertion is the passage plus its new lines and an empty replacement is a
1411
- * deletion, so every edit is one replace. Absent on an ordinary comment.
1412
- */
1413
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1414
1401
  /**
1415
1402
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
1416
1403
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -1485,7 +1472,6 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
1485
1472
  } | null;
1486
1473
  } | undefined;
1487
1474
  body: string;
1488
- suggestion?: string | undefined;
1489
1475
  finding?: {
1490
1476
  tier: "observed" | "usage" | "practice";
1491
1477
  tierLine: string;
@@ -1600,7 +1586,6 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
1600
1586
  } | null;
1601
1587
  } | undefined;
1602
1588
  body: string;
1603
- suggestion?: string | undefined;
1604
1589
  finding?: {
1605
1590
  tier: "observed" | "usage" | "practice";
1606
1591
  tierLine: string;
@@ -1654,7 +1639,6 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
1654
1639
  } | null;
1655
1640
  } | undefined;
1656
1641
  body: string;
1657
- suggestion?: string | undefined;
1658
1642
  finding?: {
1659
1643
  tier: "observed" | "usage" | "practice";
1660
1644
  tierLine: string;
@@ -1780,13 +1764,6 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
1780
1764
  }, undefined>, undefined>;
1781
1765
  /** The comment's text, already wrapped in the response's untrusted markers. */
1782
1766
  readonly body: v.StringSchema<undefined>;
1783
- /**
1784
- * A suggested edit: the replacement for the passage at `passage.lines`,
1785
- * already wrapped in the response's untrusted markers like `body`. An
1786
- * insertion is the passage plus its new lines and an empty replacement is a
1787
- * deletion, so every edit is one replace. Absent on an ordinary comment.
1788
- */
1789
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1790
1767
  /**
1791
1768
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
1792
1769
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -1861,7 +1838,6 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
1861
1838
  } | null;
1862
1839
  } | undefined;
1863
1840
  body: string;
1864
- suggestion?: string | undefined;
1865
1841
  finding?: {
1866
1842
  tier: "observed" | "usage" | "practice";
1867
1843
  tierLine: string;
@@ -1976,7 +1952,6 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
1976
1952
  } | null;
1977
1953
  } | undefined;
1978
1954
  body: string;
1979
- suggestion?: string | undefined;
1980
1955
  finding?: {
1981
1956
  tier: "observed" | "usage" | "practice";
1982
1957
  tierLine: string;
@@ -2030,7 +2005,6 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
2030
2005
  } | null;
2031
2006
  } | undefined;
2032
2007
  body: string;
2033
- suggestion?: string | undefined;
2034
2008
  finding?: {
2035
2009
  tier: "observed" | "usage" | "practice";
2036
2010
  tierLine: string;
@@ -2172,13 +2146,6 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
2172
2146
  }, undefined>, undefined>;
2173
2147
  /** The comment's text, already wrapped in the response's untrusted markers. */
2174
2148
  readonly body: v.StringSchema<undefined>;
2175
- /**
2176
- * A suggested edit: the replacement for the passage at `passage.lines`,
2177
- * already wrapped in the response's untrusted markers like `body`. An
2178
- * insertion is the passage plus its new lines and an empty replacement is a
2179
- * deletion, so every edit is one replace. Absent on an ordinary comment.
2180
- */
2181
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2182
2149
  /**
2183
2150
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
2184
2151
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -2253,7 +2220,6 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
2253
2220
  } | null;
2254
2221
  } | undefined;
2255
2222
  body: string;
2256
- suggestion?: string | undefined;
2257
2223
  finding?: {
2258
2224
  tier: "observed" | "usage" | "practice";
2259
2225
  tierLine: string;
@@ -2368,7 +2334,6 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
2368
2334
  } | null;
2369
2335
  } | undefined;
2370
2336
  body: string;
2371
- suggestion?: string | undefined;
2372
2337
  finding?: {
2373
2338
  tier: "observed" | "usage" | "practice";
2374
2339
  tierLine: string;
@@ -2422,7 +2387,6 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
2422
2387
  } | null;
2423
2388
  } | undefined;
2424
2389
  body: string;
2425
- suggestion?: string | undefined;
2426
2390
  finding?: {
2427
2391
  tier: "observed" | "usage" | "practice";
2428
2392
  tierLine: string;
@@ -2637,13 +2601,6 @@ export declare const ItemCommentWithSubjectSchema: v.ObjectSchema<{
2637
2601
  }, undefined>, undefined>;
2638
2602
  /** The comment's text, already wrapped in the response's untrusted markers. */
2639
2603
  readonly body: v.StringSchema<undefined>;
2640
- /**
2641
- * A suggested edit: the replacement for the passage at `passage.lines`,
2642
- * already wrapped in the response's untrusted markers like `body`. An
2643
- * insertion is the passage plus its new lines and an empty replacement is a
2644
- * deletion, so every edit is one replace. Absent on an ordinary comment.
2645
- */
2646
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2647
2604
  /**
2648
2605
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
2649
2606
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -2739,13 +2696,6 @@ export declare const ItemCommentsResponseSchema: v.ObjectSchema<{
2739
2696
  }, undefined>, undefined>;
2740
2697
  /** The comment's text, already wrapped in the response's untrusted markers. */
2741
2698
  readonly body: v.StringSchema<undefined>;
2742
- /**
2743
- * A suggested edit: the replacement for the passage at `passage.lines`,
2744
- * already wrapped in the response's untrusted markers like `body`. An
2745
- * insertion is the passage plus its new lines and an empty replacement is a
2746
- * deletion, so every edit is one replace. Absent on an ordinary comment.
2747
- */
2748
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2749
2699
  /**
2750
2700
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
2751
2701
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -3337,13 +3287,6 @@ export declare const ArtifactSchema: v.ObjectSchema<{
3337
3287
  }, undefined>, undefined>;
3338
3288
  /** The comment's text, already wrapped in the response's untrusted markers. */
3339
3289
  readonly body: v.StringSchema<undefined>;
3340
- /**
3341
- * A suggested edit: the replacement for the passage at `passage.lines`,
3342
- * already wrapped in the response's untrusted markers like `body`. An
3343
- * insertion is the passage plus its new lines and an empty replacement is a
3344
- * deletion, so every edit is one replace. Absent on an ordinary comment.
3345
- */
3346
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3347
3290
  /**
3348
3291
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
3349
3292
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -3418,7 +3361,6 @@ export declare const ArtifactSchema: v.ObjectSchema<{
3418
3361
  } | null;
3419
3362
  } | undefined;
3420
3363
  body: string;
3421
- suggestion?: string | undefined;
3422
3364
  finding?: {
3423
3365
  tier: "observed" | "usage" | "practice";
3424
3366
  tierLine: string;
@@ -3724,13 +3666,6 @@ export declare const ReadArtifactResponseSchema: v.ObjectSchema<{
3724
3666
  }, undefined>, undefined>;
3725
3667
  /** The comment's text, already wrapped in the response's untrusted markers. */
3726
3668
  readonly body: v.StringSchema<undefined>;
3727
- /**
3728
- * A suggested edit: the replacement for the passage at `passage.lines`,
3729
- * already wrapped in the response's untrusted markers like `body`. An
3730
- * insertion is the passage plus its new lines and an empty replacement is a
3731
- * deletion, so every edit is one replace. Absent on an ordinary comment.
3732
- */
3733
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3734
3669
  /**
3735
3670
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
3736
3671
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -3805,7 +3740,6 @@ export declare const ReadArtifactResponseSchema: v.ObjectSchema<{
3805
3740
  } | null;
3806
3741
  } | undefined;
3807
3742
  body: string;
3808
- suggestion?: string | undefined;
3809
3743
  finding?: {
3810
3744
  tier: "observed" | "usage" | "practice";
3811
3745
  tierLine: string;
@@ -3895,13 +3829,6 @@ export declare const CreateArtifactResponseSchema: v.ObjectSchema<{
3895
3829
  }, undefined>, undefined>;
3896
3830
  /** The comment's text, already wrapped in the response's untrusted markers. */
3897
3831
  readonly body: v.StringSchema<undefined>;
3898
- /**
3899
- * A suggested edit: the replacement for the passage at `passage.lines`,
3900
- * already wrapped in the response's untrusted markers like `body`. An
3901
- * insertion is the passage plus its new lines and an empty replacement is a
3902
- * deletion, so every edit is one replace. Absent on an ordinary comment.
3903
- */
3904
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3905
3832
  /**
3906
3833
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
3907
3834
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -3976,7 +3903,6 @@ export declare const CreateArtifactResponseSchema: v.ObjectSchema<{
3976
3903
  } | null;
3977
3904
  } | undefined;
3978
3905
  body: string;
3979
- suggestion?: string | undefined;
3980
3906
  finding?: {
3981
3907
  tier: "observed" | "usage" | "practice";
3982
3908
  tierLine: string;
@@ -4053,13 +3979,6 @@ export declare const UpdateArtifactResponseSchema: v.ObjectSchema<{
4053
3979
  }, undefined>, undefined>;
4054
3980
  /** The comment's text, already wrapped in the response's untrusted markers. */
4055
3981
  readonly body: v.StringSchema<undefined>;
4056
- /**
4057
- * A suggested edit: the replacement for the passage at `passage.lines`,
4058
- * already wrapped in the response's untrusted markers like `body`. An
4059
- * insertion is the passage plus its new lines and an empty replacement is a
4060
- * deletion, so every edit is one replace. Absent on an ordinary comment.
4061
- */
4062
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4063
3982
  /**
4064
3983
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
4065
3984
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -4134,7 +4053,6 @@ export declare const UpdateArtifactResponseSchema: v.ObjectSchema<{
4134
4053
  } | null;
4135
4054
  } | undefined;
4136
4055
  body: string;
4137
- suggestion?: string | undefined;
4138
4056
  finding?: {
4139
4057
  tier: "observed" | "usage" | "practice";
4140
4058
  tierLine: string;
@@ -4212,13 +4130,6 @@ export declare const RemoveArtifactResponseSchema: v.ObjectSchema<{
4212
4130
  }, undefined>, undefined>;
4213
4131
  /** The comment's text, already wrapped in the response's untrusted markers. */
4214
4132
  readonly body: v.StringSchema<undefined>;
4215
- /**
4216
- * A suggested edit: the replacement for the passage at `passage.lines`,
4217
- * already wrapped in the response's untrusted markers like `body`. An
4218
- * insertion is the passage plus its new lines and an empty replacement is a
4219
- * deletion, so every edit is one replace. Absent on an ordinary comment.
4220
- */
4221
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4222
4133
  /**
4223
4134
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
4224
4135
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -4293,7 +4204,6 @@ export declare const RemoveArtifactResponseSchema: v.ObjectSchema<{
4293
4204
  } | null;
4294
4205
  } | undefined;
4295
4206
  body: string;
4296
- suggestion?: string | undefined;
4297
4207
  finding?: {
4298
4208
  tier: "observed" | "usage" | "practice";
4299
4209
  tierLine: string;
@@ -4502,6 +4412,15 @@ export declare const ActionSkillLoadSchema: v.ObjectSchema<{
4502
4412
  * enumerates that list.
4503
4413
  */
4504
4414
  export declare const SKILL_LOAD_ACTION_TYPE = "skill_load";
4415
+ /**
4416
+ * The `actions.action_type` of a skill's member file a shell command read, in a
4417
+ * harness that reads through the shell. The command is already an action of
4418
+ * its own and is what gets graded; this row only records which file it opened,
4419
+ * so navigation can be told. Like a skill load it is context, not work: kept
4420
+ * out of `KNOWN_ACTION_TYPES` and excluded from grading, so one `cat` is never
4421
+ * two gradeable actions.
4422
+ */
4423
+ export declare const SKILL_MEMBER_READ_ACTION_TYPE = "skill_member_read";
4505
4424
  /**
4506
4425
  * A machine-shaped label for *why* a tool call failed — `ENOENT`, `TimeoutError`,
4507
4426
  * `permission_denied`.
@@ -4633,6 +4552,7 @@ export declare const DashboardSkillUsageSchema: v.ObjectSchema<{
4633
4552
  readonly cacheWriteTokens: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
4634
4553
  }, undefined>, undefined>;
4635
4554
  }, undefined>;
4555
+ export declare const MAX_ACTION_FILE_PATH_LENGTH = 1024;
4636
4556
  export declare const DashboardSyncActionSchema: v.ObjectSchema<{
4637
4557
  readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "id must not contain whitespace or control characters">]>, undefined>;
4638
4558
  readonly sessionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -5269,6 +5189,13 @@ export declare const ActionEntrySchema: v.ObjectSchema<{
5269
5189
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
5270
5190
  readonly path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
5271
5191
  }, undefined>, undefined>, undefined>;
5192
+ /**
5193
+ * Files inside a skill's directory (not its `SKILL.md`) a shell call read, as
5194
+ * paths relative to the working directory, in a harness that reads through
5195
+ * the shell. Each becomes its own `file_read` action beside the call, the
5196
+ * action a read tool would have produced.
5197
+ */
5198
+ readonly memberReads: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
5272
5199
  /**
5273
5200
  * Where this session's transcript lives on *this machine*, as the agent
5274
5201
  * itself reported it.
@@ -5966,13 +5893,6 @@ export declare const ArtifactFeedbackResponseSchema: v.ObjectSchema<{
5966
5893
  }, undefined>, undefined>;
5967
5894
  /** The comment's text, already wrapped in the response's untrusted markers. */
5968
5895
  readonly body: v.StringSchema<undefined>;
5969
- /**
5970
- * A suggested edit: the replacement for the passage at `passage.lines`,
5971
- * already wrapped in the response's untrusted markers like `body`. An
5972
- * insertion is the passage plus its new lines and an empty replacement is a
5973
- * deletion, so every edit is one replace. Absent on an ordinary comment.
5974
- */
5975
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5976
5896
  /**
5977
5897
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
5978
5898
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -6931,8 +6851,10 @@ export declare const SearchArtifactCommentHitSchema: v.ObjectSchema<{
6931
6851
  /** Whether the item has been edited since the comment was written. */
6932
6852
  readonly itemChangedSince: v.BooleanSchema<undefined>;
6933
6853
  /**
6934
- * Whether the match is in the comment's text or in the replacement it
6935
- * suggests (Mossbear's drafted edits).
6854
+ * Where the match is. A current server always says `body`; `suggestion` is
6855
+ * what an older one said for a match in a comment's suggested edit, accepted
6856
+ * so a CLI talking to one mid-rollout still parses the report. Nothing reads
6857
+ * the difference.
6936
6858
  */
6937
6859
  readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
6938
6860
  /**
@@ -6982,8 +6904,10 @@ export declare const SearchCommentHitSchema: v.VariantSchema<"subjectKind", [v.O
6982
6904
  /** Whether the item has been edited since the comment was written. */
6983
6905
  readonly itemChangedSince: v.BooleanSchema<undefined>;
6984
6906
  /**
6985
- * Whether the match is in the comment's text or in the replacement it
6986
- * suggests (Mossbear's drafted edits).
6907
+ * Where the match is. A current server always says `body`; `suggestion` is
6908
+ * what an older one said for a match in a comment's suggested edit, accepted
6909
+ * so a CLI talking to one mid-rollout still parses the report. Nothing reads
6910
+ * the difference.
6987
6911
  */
6988
6912
  readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
6989
6913
  /**
@@ -7198,8 +7122,10 @@ export declare const SearchCommentsReportSchema: v.VariantSchema<"status", [v.Ob
7198
7122
  /** Whether the item has been edited since the comment was written. */
7199
7123
  readonly itemChangedSince: v.BooleanSchema<undefined>;
7200
7124
  /**
7201
- * Whether the match is in the comment's text or in the replacement it
7202
- * suggests (Mossbear's drafted edits).
7125
+ * Where the match is. A current server always says `body`; `suggestion` is
7126
+ * what an older one said for a match in a comment's suggested edit, accepted
7127
+ * so a CLI talking to one mid-rollout still parses the report. Nothing reads
7128
+ * the difference.
7203
7129
  */
7204
7130
  readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
7205
7131
  /**
@@ -7440,8 +7366,10 @@ export declare const SearchResponseSchema: v.ObjectSchema<{
7440
7366
  /** Whether the item has been edited since the comment was written. */
7441
7367
  readonly itemChangedSince: v.BooleanSchema<undefined>;
7442
7368
  /**
7443
- * Whether the match is in the comment's text or in the replacement it
7444
- * suggests (Mossbear's drafted edits).
7369
+ * Where the match is. A current server always says `body`; `suggestion` is
7370
+ * what an older one said for a match in a comment's suggested edit, accepted
7371
+ * so a CLI talking to one mid-rollout still parses the report. Nothing reads
7372
+ * the difference.
7445
7373
  */
7446
7374
  readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
7447
7375
  /**
@@ -7556,26 +7484,6 @@ export declare const SearchResponseSchema: v.ObjectSchema<{
7556
7484
  }, undefined>;
7557
7485
  }, undefined>;
7558
7486
  export type SearchResponse = v.InferOutput<typeof SearchResponseSchema>;
7559
- export declare function parseAgentConfig(data: unknown): {
7560
- id: string;
7561
- name: string;
7562
- description: string;
7563
- capabilities: string[];
7564
- meta?: {
7565
- [x: string]: unknown;
7566
- } | undefined;
7567
- };
7568
- export declare function parseGuideSnapshot(data: unknown): {
7569
- id: string;
7570
- title: string;
7571
- content: string;
7572
- enabled: boolean;
7573
- updatedAt: string;
7574
- origin?: string | null | undefined;
7575
- contentHash?: string | null | undefined;
7576
- root?: "project" | "global" | null | undefined;
7577
- path?: string | null | undefined;
7578
- };
7579
7487
  export declare function parseGuideBundleResponse(data: unknown): {
7580
7488
  guides: {
7581
7489
  id: string;
@@ -7617,22 +7525,6 @@ export declare function parseRawGuideFileDeletion(data: unknown): {
7617
7525
  path: string;
7618
7526
  format: "agents-md" | "agents-dir" | "claude-md" | "claude-rules" | "cursorrules" | "cursor-rules" | "skill-md";
7619
7527
  };
7620
- export declare function parseRuleDeletionsRequest(data: unknown): {
7621
- deletions: unknown[];
7622
- };
7623
- export declare function parseRulesImportRequest(data: unknown): {
7624
- rules: unknown[];
7625
- repoId?: string | undefined;
7626
- projectId?: string | undefined;
7627
- workspaceId?: string | undefined;
7628
- };
7629
- export declare function parseBundle(data: unknown): {
7630
- id: string;
7631
- slug: string;
7632
- name: string;
7633
- createdAt: string;
7634
- home?: string | undefined;
7635
- };
7636
7528
  export declare function parseBundleListResponse(data: unknown): {
7637
7529
  bundles: {
7638
7530
  id: string;
@@ -7664,6 +7556,7 @@ export declare function parseRevokeScopedTokenRequest(data: unknown): {
7664
7556
  export declare function parseCreateBundleRequest(data: unknown): {
7665
7557
  slug: string;
7666
7558
  name: string;
7559
+ workspaceId?: string | undefined;
7667
7560
  };
7668
7561
  export declare function parseCreateBundleResponse(data: unknown): {
7669
7562
  bundle: {
@@ -7763,7 +7656,6 @@ export declare function parseContextItemsResponse(data: unknown): {
7763
7656
  } | null;
7764
7657
  } | undefined;
7765
7658
  body: string;
7766
- suggestion?: string | undefined;
7767
7659
  finding?: {
7768
7660
  tier: "observed" | "usage" | "practice";
7769
7661
  tierLine: string;
@@ -7826,7 +7718,6 @@ export declare function parseBundleArtifactsResponse(data: unknown): {
7826
7718
  } | null;
7827
7719
  } | undefined;
7828
7720
  body: string;
7829
- suggestion?: string | undefined;
7830
7721
  finding?: {
7831
7722
  tier: "observed" | "usage" | "practice";
7832
7723
  tierLine: string;
@@ -7993,23 +7884,6 @@ export declare function parseDashboardSyncRequest(data: unknown): {
7993
7884
  } | undefined;
7994
7885
  origin?: "session-start" | undefined;
7995
7886
  };
7996
- export declare function parseProposalCitation(data: unknown): {
7997
- agentSessionId: string;
7998
- timestamp?: string | undefined;
7999
- summary: string;
8000
- };
8001
- export declare function parseExtractedSkillSuggestion(data: unknown): {
8002
- id: string;
8003
- signal: string;
8004
- confidence: number;
8005
- occurrences: number;
8006
- citations: {
8007
- agentSessionId: string;
8008
- timestamp?: string | undefined;
8009
- summary: string;
8010
- }[];
8011
- source: "claude_code" | "codex" | "opencode" | "cursor" | "copilot" | "other";
8012
- };
8013
7887
  export declare function parseExtractedFeedbackBatch(data: unknown): {
8014
7888
  skillSuggestions: {
8015
7889
  id: string;
@@ -8039,6 +7913,7 @@ export declare function parseActionEntry(data: unknown): {
8039
7913
  name: string;
8040
7914
  path?: string | undefined;
8041
7915
  }[] | undefined;
7916
+ memberReads?: string[] | undefined;
8042
7917
  transcriptPath?: string | undefined;
8043
7918
  repoId?: string | undefined;
8044
7919
  projectId?: string | undefined;
@@ -8186,7 +8061,6 @@ export declare function parseItemCommentsResponse(data: unknown): {
8186
8061
  } | null;
8187
8062
  } | undefined;
8188
8063
  body: string;
8189
- suggestion?: string | undefined;
8190
8064
  finding?: {
8191
8065
  tier: "observed" | "usage" | "practice";
8192
8066
  tierLine: string;
@@ -8408,7 +8282,7 @@ export declare function parseSearchResponse(data: unknown): {
8408
8282
  workspaceId: string;
8409
8283
  workspaceName: string;
8410
8284
  itemChangedSince: boolean;
8411
- matchedIn: "suggestion" | "body";
8285
+ matchedIn: "body" | "suggestion";
8412
8286
  approved?: boolean | undefined;
8413
8287
  commentId: string;
8414
8288
  threadId: string;