@mossbear/protocol 0.1.0-alpha.90 → 0.1.0-alpha.92

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
@@ -846,6 +846,7 @@ export declare const SubscribeBundleResponseSchema: v.ObjectSchema<{
846
846
  export declare const CreateBundleRequestSchema: v.ObjectSchema<{
847
847
  readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "slug must be lowercase alphanumeric with hyphens, at most 64 characters">]>;
848
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>;
849
850
  }, undefined>;
850
851
  export declare const CreateBundleResponseSchema: v.ObjectSchema<{
851
852
  readonly bundle: v.ObjectSchema<{
@@ -954,24 +955,43 @@ export declare const AttachBundleMemberResponseSchema: v.ObjectSchema<{
954
955
  export declare const DetachBundleMemberResponseSchema: v.ObjectSchema<{
955
956
  readonly detached: v.BooleanSchema<undefined>;
956
957
  }, undefined>;
958
+ /**
959
+ * The most field keys a bundle's shared column list may hold, and the longest
960
+ * one. A key is a frontmatter key as written, so the bound is on what a
961
+ * dashboard could ever show as a column rather than on any real key's length;
962
+ * both are generous enough that a refusal means a client bug.
963
+ */
964
+ export declare const BUNDLE_COLUMNS_MAX_COUNT = 100;
965
+ export declare const BUNDLE_COLUMN_KEY_MAX_LENGTH = 200;
966
+ /**
967
+ * A bundle's shared column list: field keys in display order, no key twice.
968
+ * An array that repeats a key is refused rather than deduplicated, since the
969
+ * order is the content and a client that sent one has lost track of its own
970
+ * list.
971
+ */
972
+ export declare const BundleColumnsSchema: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>, v.CheckAction<string[], "columns must not repeat a key">]>;
957
973
  /**
958
974
  * What `PATCH /api/v1/context/bundles/:id` may change: the display name, the
959
- * home repo, or both. The slug stays immutable — repos address a bundle by id
960
- * and name it by slug, so a slug change would rename a folder in every
961
- * subscriber's checkout (`context-bundle-authoring-plan.md` → D14).
975
+ * home repo, the shared column list, or any of them. The slug stays immutable
976
+ * — repos address a bundle by id and name it by slug, so a slug change would
977
+ * rename a folder in every subscriber's checkout.
962
978
  *
963
- * Both fields optional, with a check that at least one is present: a body that
979
+ * Every field optional, with a check that at least one is present: a body that
964
980
  * changes nothing is a request the caller did not mean to send, and answering it
965
981
  * 200 would hide a client bug. `home: null` clears the claim, which is how a
966
982
  * repo hands a bundle back — distinct from omitting the field, which leaves it.
983
+ * `columns: null` is the same for the column list: it returns the bundle to
984
+ * "not chosen", where every shared field shows.
967
985
  */
968
986
  export declare const UpdateBundleRequestSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
969
987
  readonly name: v.OptionalSchema<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.">]>, undefined>;
970
988
  readonly home: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
989
+ readonly columns: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>, v.CheckAction<string[], "columns must not repeat a key">]>, undefined>, undefined>;
971
990
  }, undefined>, v.CheckAction<{
972
991
  name?: string | undefined;
973
992
  home?: string | null | undefined;
974
- }, "name or home is required">]>;
993
+ columns?: string[] | null | undefined;
994
+ }, "name, home or columns is required">]>;
975
995
  export declare const UpdateBundleResponseSchema: v.ObjectSchema<{
976
996
  readonly bundle: v.ObjectSchema<{
977
997
  readonly id: v.StringSchema<undefined>;
@@ -1102,13 +1122,6 @@ export declare const ArtifactCommentSchema: v.ObjectSchema<{
1102
1122
  }, undefined>, undefined>;
1103
1123
  /** The comment's text, already wrapped in the response's untrusted markers. */
1104
1124
  readonly body: v.StringSchema<undefined>;
1105
- /**
1106
- * A suggested edit: the replacement for the passage at `passage.lines`,
1107
- * already wrapped in the response's untrusted markers like `body`. An
1108
- * insertion is the passage plus its new lines and an empty replacement is a
1109
- * deletion, so every edit is one replace. Absent on an ordinary comment.
1110
- */
1111
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1112
1125
  /**
1113
1126
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
1114
1127
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -1188,13 +1201,6 @@ export declare const ContextItemCommentSchema: v.ObjectSchema<{
1188
1201
  }, undefined>, undefined>;
1189
1202
  /** The comment's text, already wrapped in the response's untrusted markers. */
1190
1203
  readonly body: v.StringSchema<undefined>;
1191
- /**
1192
- * A suggested edit: the replacement for the passage at `passage.lines`,
1193
- * already wrapped in the response's untrusted markers like `body`. An
1194
- * insertion is the passage plus its new lines and an empty replacement is a
1195
- * deletion, so every edit is one replace. Absent on an ordinary comment.
1196
- */
1197
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1198
1204
  /**
1199
1205
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
1200
1206
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -1411,13 +1417,6 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
1411
1417
  }, undefined>, undefined>;
1412
1418
  /** The comment's text, already wrapped in the response's untrusted markers. */
1413
1419
  readonly body: v.StringSchema<undefined>;
1414
- /**
1415
- * A suggested edit: the replacement for the passage at `passage.lines`,
1416
- * already wrapped in the response's untrusted markers like `body`. An
1417
- * insertion is the passage plus its new lines and an empty replacement is a
1418
- * deletion, so every edit is one replace. Absent on an ordinary comment.
1419
- */
1420
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1421
1420
  /**
1422
1421
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
1423
1422
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -1492,7 +1491,6 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
1492
1491
  } | null;
1493
1492
  } | undefined;
1494
1493
  body: string;
1495
- suggestion?: string | undefined;
1496
1494
  finding?: {
1497
1495
  tier: "observed" | "usage" | "practice";
1498
1496
  tierLine: string;
@@ -1607,7 +1605,6 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
1607
1605
  } | null;
1608
1606
  } | undefined;
1609
1607
  body: string;
1610
- suggestion?: string | undefined;
1611
1608
  finding?: {
1612
1609
  tier: "observed" | "usage" | "practice";
1613
1610
  tierLine: string;
@@ -1661,7 +1658,6 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
1661
1658
  } | null;
1662
1659
  } | undefined;
1663
1660
  body: string;
1664
- suggestion?: string | undefined;
1665
1661
  finding?: {
1666
1662
  tier: "observed" | "usage" | "practice";
1667
1663
  tierLine: string;
@@ -1787,13 +1783,6 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
1787
1783
  }, undefined>, undefined>;
1788
1784
  /** The comment's text, already wrapped in the response's untrusted markers. */
1789
1785
  readonly body: v.StringSchema<undefined>;
1790
- /**
1791
- * A suggested edit: the replacement for the passage at `passage.lines`,
1792
- * already wrapped in the response's untrusted markers like `body`. An
1793
- * insertion is the passage plus its new lines and an empty replacement is a
1794
- * deletion, so every edit is one replace. Absent on an ordinary comment.
1795
- */
1796
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1797
1786
  /**
1798
1787
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
1799
1788
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -1868,7 +1857,6 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
1868
1857
  } | null;
1869
1858
  } | undefined;
1870
1859
  body: string;
1871
- suggestion?: string | undefined;
1872
1860
  finding?: {
1873
1861
  tier: "observed" | "usage" | "practice";
1874
1862
  tierLine: string;
@@ -1983,7 +1971,6 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
1983
1971
  } | null;
1984
1972
  } | undefined;
1985
1973
  body: string;
1986
- suggestion?: string | undefined;
1987
1974
  finding?: {
1988
1975
  tier: "observed" | "usage" | "practice";
1989
1976
  tierLine: string;
@@ -2037,7 +2024,6 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
2037
2024
  } | null;
2038
2025
  } | undefined;
2039
2026
  body: string;
2040
- suggestion?: string | undefined;
2041
2027
  finding?: {
2042
2028
  tier: "observed" | "usage" | "practice";
2043
2029
  tierLine: string;
@@ -2179,13 +2165,6 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
2179
2165
  }, undefined>, undefined>;
2180
2166
  /** The comment's text, already wrapped in the response's untrusted markers. */
2181
2167
  readonly body: v.StringSchema<undefined>;
2182
- /**
2183
- * A suggested edit: the replacement for the passage at `passage.lines`,
2184
- * already wrapped in the response's untrusted markers like `body`. An
2185
- * insertion is the passage plus its new lines and an empty replacement is a
2186
- * deletion, so every edit is one replace. Absent on an ordinary comment.
2187
- */
2188
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2189
2168
  /**
2190
2169
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
2191
2170
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -2260,7 +2239,6 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
2260
2239
  } | null;
2261
2240
  } | undefined;
2262
2241
  body: string;
2263
- suggestion?: string | undefined;
2264
2242
  finding?: {
2265
2243
  tier: "observed" | "usage" | "practice";
2266
2244
  tierLine: string;
@@ -2375,7 +2353,6 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
2375
2353
  } | null;
2376
2354
  } | undefined;
2377
2355
  body: string;
2378
- suggestion?: string | undefined;
2379
2356
  finding?: {
2380
2357
  tier: "observed" | "usage" | "practice";
2381
2358
  tierLine: string;
@@ -2429,7 +2406,6 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
2429
2406
  } | null;
2430
2407
  } | undefined;
2431
2408
  body: string;
2432
- suggestion?: string | undefined;
2433
2409
  finding?: {
2434
2410
  tier: "observed" | "usage" | "practice";
2435
2411
  tierLine: string;
@@ -2644,13 +2620,6 @@ export declare const ItemCommentWithSubjectSchema: v.ObjectSchema<{
2644
2620
  }, undefined>, undefined>;
2645
2621
  /** The comment's text, already wrapped in the response's untrusted markers. */
2646
2622
  readonly body: v.StringSchema<undefined>;
2647
- /**
2648
- * A suggested edit: the replacement for the passage at `passage.lines`,
2649
- * already wrapped in the response's untrusted markers like `body`. An
2650
- * insertion is the passage plus its new lines and an empty replacement is a
2651
- * deletion, so every edit is one replace. Absent on an ordinary comment.
2652
- */
2653
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2654
2623
  /**
2655
2624
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
2656
2625
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -2746,13 +2715,6 @@ export declare const ItemCommentsResponseSchema: v.ObjectSchema<{
2746
2715
  }, undefined>, undefined>;
2747
2716
  /** The comment's text, already wrapped in the response's untrusted markers. */
2748
2717
  readonly body: v.StringSchema<undefined>;
2749
- /**
2750
- * A suggested edit: the replacement for the passage at `passage.lines`,
2751
- * already wrapped in the response's untrusted markers like `body`. An
2752
- * insertion is the passage plus its new lines and an empty replacement is a
2753
- * deletion, so every edit is one replace. Absent on an ordinary comment.
2754
- */
2755
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2756
2718
  /**
2757
2719
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
2758
2720
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -3136,8 +3098,15 @@ export declare const ArtifactFormatSchema: v.PicklistSchema<["markdown", "html",
3136
3098
  * a create stores text `content`, and a binary artifact reads back with
3137
3099
  * `content: null`, so it could not round-trip. Creation is always
3138
3100
  * `role: 'content'`; guidance and criteria arrive through import.
3101
+ *
3102
+ * `html` is the one addition outside the table: an HTML page the dashboard
3103
+ * renders live in a sandboxed frame. It is deliberately not a row there,
3104
+ * because a row would give it an item type of its own, and a client that
3105
+ * predates that type would reject every listing carrying one. An `html`
3106
+ * artifact serializes as an ordinary `content` item and reports its format on
3107
+ * `ArtifactSchema.format`.
3139
3108
  */
3140
- export declare const CreatableArtifactFormatSchema: v.PicklistSchema<("markdown" | "binary")[], undefined>;
3109
+ export declare const CreatableArtifactFormatSchema: v.PicklistSchema<[...("markdown" | "binary")[], "html"], undefined>;
3141
3110
  /** Largest version an artifact can carry: the version column is a 32-bit integer. */
3142
3111
  export declare const MAX_ARTIFACT_VERSION = 2147483647;
3143
3112
  /**
@@ -3344,13 +3313,6 @@ export declare const ArtifactSchema: v.ObjectSchema<{
3344
3313
  }, undefined>, undefined>;
3345
3314
  /** The comment's text, already wrapped in the response's untrusted markers. */
3346
3315
  readonly body: v.StringSchema<undefined>;
3347
- /**
3348
- * A suggested edit: the replacement for the passage at `passage.lines`,
3349
- * already wrapped in the response's untrusted markers like `body`. An
3350
- * insertion is the passage plus its new lines and an empty replacement is a
3351
- * deletion, so every edit is one replace. Absent on an ordinary comment.
3352
- */
3353
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3354
3316
  /**
3355
3317
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
3356
3318
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -3425,7 +3387,6 @@ export declare const ArtifactSchema: v.ObjectSchema<{
3425
3387
  } | null;
3426
3388
  } | undefined;
3427
3389
  body: string;
3428
- suggestion?: string | undefined;
3429
3390
  finding?: {
3430
3391
  tier: "observed" | "usage" | "practice";
3431
3392
  tierLine: string;
@@ -3453,7 +3414,7 @@ export declare const CreateArtifactRequestSchema: v.StrictObjectSchema<{
3453
3414
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
3454
3415
  readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "content must be at most 262144 bytes">]>;
3455
3416
  /** Defaults to markdown. Creation is always `role: 'content'`. */
3456
- readonly format: v.OptionalSchema<v.PicklistSchema<("markdown" | "binary")[], undefined>, undefined>;
3417
+ readonly format: v.OptionalSchema<v.PicklistSchema<[...("markdown" | "binary")[], "html"], undefined>, undefined>;
3457
3418
  /** Destination bundle slug. */
3458
3419
  readonly bundle: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "slug must be lowercase alphanumeric with hyphens, at most 64 characters">]>, undefined>;
3459
3420
  readonly origin: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -3731,13 +3692,6 @@ export declare const ReadArtifactResponseSchema: v.ObjectSchema<{
3731
3692
  }, undefined>, undefined>;
3732
3693
  /** The comment's text, already wrapped in the response's untrusted markers. */
3733
3694
  readonly body: v.StringSchema<undefined>;
3734
- /**
3735
- * A suggested edit: the replacement for the passage at `passage.lines`,
3736
- * already wrapped in the response's untrusted markers like `body`. An
3737
- * insertion is the passage plus its new lines and an empty replacement is a
3738
- * deletion, so every edit is one replace. Absent on an ordinary comment.
3739
- */
3740
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3741
3695
  /**
3742
3696
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
3743
3697
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -3812,7 +3766,6 @@ export declare const ReadArtifactResponseSchema: v.ObjectSchema<{
3812
3766
  } | null;
3813
3767
  } | undefined;
3814
3768
  body: string;
3815
- suggestion?: string | undefined;
3816
3769
  finding?: {
3817
3770
  tier: "observed" | "usage" | "practice";
3818
3771
  tierLine: string;
@@ -3902,13 +3855,6 @@ export declare const CreateArtifactResponseSchema: v.ObjectSchema<{
3902
3855
  }, undefined>, undefined>;
3903
3856
  /** The comment's text, already wrapped in the response's untrusted markers. */
3904
3857
  readonly body: v.StringSchema<undefined>;
3905
- /**
3906
- * A suggested edit: the replacement for the passage at `passage.lines`,
3907
- * already wrapped in the response's untrusted markers like `body`. An
3908
- * insertion is the passage plus its new lines and an empty replacement is a
3909
- * deletion, so every edit is one replace. Absent on an ordinary comment.
3910
- */
3911
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3912
3858
  /**
3913
3859
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
3914
3860
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -3983,7 +3929,6 @@ export declare const CreateArtifactResponseSchema: v.ObjectSchema<{
3983
3929
  } | null;
3984
3930
  } | undefined;
3985
3931
  body: string;
3986
- suggestion?: string | undefined;
3987
3932
  finding?: {
3988
3933
  tier: "observed" | "usage" | "practice";
3989
3934
  tierLine: string;
@@ -4060,13 +4005,6 @@ export declare const UpdateArtifactResponseSchema: v.ObjectSchema<{
4060
4005
  }, undefined>, undefined>;
4061
4006
  /** The comment's text, already wrapped in the response's untrusted markers. */
4062
4007
  readonly body: v.StringSchema<undefined>;
4063
- /**
4064
- * A suggested edit: the replacement for the passage at `passage.lines`,
4065
- * already wrapped in the response's untrusted markers like `body`. An
4066
- * insertion is the passage plus its new lines and an empty replacement is a
4067
- * deletion, so every edit is one replace. Absent on an ordinary comment.
4068
- */
4069
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4070
4008
  /**
4071
4009
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
4072
4010
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -4141,7 +4079,6 @@ export declare const UpdateArtifactResponseSchema: v.ObjectSchema<{
4141
4079
  } | null;
4142
4080
  } | undefined;
4143
4081
  body: string;
4144
- suggestion?: string | undefined;
4145
4082
  finding?: {
4146
4083
  tier: "observed" | "usage" | "practice";
4147
4084
  tierLine: string;
@@ -4219,13 +4156,6 @@ export declare const RemoveArtifactResponseSchema: v.ObjectSchema<{
4219
4156
  }, undefined>, undefined>;
4220
4157
  /** The comment's text, already wrapped in the response's untrusted markers. */
4221
4158
  readonly body: v.StringSchema<undefined>;
4222
- /**
4223
- * A suggested edit: the replacement for the passage at `passage.lines`,
4224
- * already wrapped in the response's untrusted markers like `body`. An
4225
- * insertion is the passage plus its new lines and an empty replacement is a
4226
- * deletion, so every edit is one replace. Absent on an ordinary comment.
4227
- */
4228
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4229
4159
  /**
4230
4160
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
4231
4161
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -4300,7 +4230,6 @@ export declare const RemoveArtifactResponseSchema: v.ObjectSchema<{
4300
4230
  } | null;
4301
4231
  } | undefined;
4302
4232
  body: string;
4303
- suggestion?: string | undefined;
4304
4233
  finding?: {
4305
4234
  tier: "observed" | "usage" | "practice";
4306
4235
  tierLine: string;
@@ -4509,6 +4438,15 @@ export declare const ActionSkillLoadSchema: v.ObjectSchema<{
4509
4438
  * enumerates that list.
4510
4439
  */
4511
4440
  export declare const SKILL_LOAD_ACTION_TYPE = "skill_load";
4441
+ /**
4442
+ * The `actions.action_type` of a skill's member file a shell command read, in a
4443
+ * harness that reads through the shell. The command is already an action of
4444
+ * its own and is what gets graded; this row only records which file it opened,
4445
+ * so navigation can be told. Like a skill load it is context, not work: kept
4446
+ * out of `KNOWN_ACTION_TYPES` and excluded from grading, so one `cat` is never
4447
+ * two gradeable actions.
4448
+ */
4449
+ export declare const SKILL_MEMBER_READ_ACTION_TYPE = "skill_member_read";
4512
4450
  /**
4513
4451
  * A machine-shaped label for *why* a tool call failed — `ENOENT`, `TimeoutError`,
4514
4452
  * `permission_denied`.
@@ -4640,6 +4578,7 @@ export declare const DashboardSkillUsageSchema: v.ObjectSchema<{
4640
4578
  readonly cacheWriteTokens: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
4641
4579
  }, undefined>, undefined>;
4642
4580
  }, undefined>;
4581
+ export declare const MAX_ACTION_FILE_PATH_LENGTH = 1024;
4643
4582
  export declare const DashboardSyncActionSchema: v.ObjectSchema<{
4644
4583
  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>;
4645
4584
  readonly sessionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -5276,6 +5215,13 @@ export declare const ActionEntrySchema: v.ObjectSchema<{
5276
5215
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
5277
5216
  readonly path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
5278
5217
  }, undefined>, undefined>, undefined>;
5218
+ /**
5219
+ * Files inside a skill's directory (not its `SKILL.md`) a shell call read, as
5220
+ * paths relative to the working directory, in a harness that reads through
5221
+ * the shell. Each becomes its own `file_read` action beside the call, the
5222
+ * action a read tool would have produced.
5223
+ */
5224
+ readonly memberReads: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
5279
5225
  /**
5280
5226
  * Where this session's transcript lives on *this machine*, as the agent
5281
5227
  * itself reported it.
@@ -5973,13 +5919,6 @@ export declare const ArtifactFeedbackResponseSchema: v.ObjectSchema<{
5973
5919
  }, undefined>, undefined>;
5974
5920
  /** The comment's text, already wrapped in the response's untrusted markers. */
5975
5921
  readonly body: v.StringSchema<undefined>;
5976
- /**
5977
- * A suggested edit: the replacement for the passage at `passage.lines`,
5978
- * already wrapped in the response's untrusted markers like `body`. An
5979
- * insertion is the passage plus its new lines and an empty replacement is a
5980
- * deletion, so every edit is one replace. Absent on an ordinary comment.
5981
- */
5982
- readonly suggestion: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5983
5922
  /**
5984
5923
  * What a comment Mossbear wrote is: a finding about the item, never an edit.
5985
5924
  * Present only on a Mossbear comment. The comment's `body` begins with the
@@ -6938,8 +6877,10 @@ export declare const SearchArtifactCommentHitSchema: v.ObjectSchema<{
6938
6877
  /** Whether the item has been edited since the comment was written. */
6939
6878
  readonly itemChangedSince: v.BooleanSchema<undefined>;
6940
6879
  /**
6941
- * Whether the match is in the comment's text or in the replacement it
6942
- * suggests (Mossbear's drafted edits).
6880
+ * Where the match is. A current server always says `body`; `suggestion` is
6881
+ * what an older one said for a match in a comment's suggested edit, accepted
6882
+ * so a CLI talking to one mid-rollout still parses the report. Nothing reads
6883
+ * the difference.
6943
6884
  */
6944
6885
  readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
6945
6886
  /**
@@ -6989,8 +6930,10 @@ export declare const SearchCommentHitSchema: v.VariantSchema<"subjectKind", [v.O
6989
6930
  /** Whether the item has been edited since the comment was written. */
6990
6931
  readonly itemChangedSince: v.BooleanSchema<undefined>;
6991
6932
  /**
6992
- * Whether the match is in the comment's text or in the replacement it
6993
- * suggests (Mossbear's drafted edits).
6933
+ * Where the match is. A current server always says `body`; `suggestion` is
6934
+ * what an older one said for a match in a comment's suggested edit, accepted
6935
+ * so a CLI talking to one mid-rollout still parses the report. Nothing reads
6936
+ * the difference.
6994
6937
  */
6995
6938
  readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
6996
6939
  /**
@@ -7205,8 +7148,10 @@ export declare const SearchCommentsReportSchema: v.VariantSchema<"status", [v.Ob
7205
7148
  /** Whether the item has been edited since the comment was written. */
7206
7149
  readonly itemChangedSince: v.BooleanSchema<undefined>;
7207
7150
  /**
7208
- * Whether the match is in the comment's text or in the replacement it
7209
- * suggests (Mossbear's drafted edits).
7151
+ * Where the match is. A current server always says `body`; `suggestion` is
7152
+ * what an older one said for a match in a comment's suggested edit, accepted
7153
+ * so a CLI talking to one mid-rollout still parses the report. Nothing reads
7154
+ * the difference.
7210
7155
  */
7211
7156
  readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
7212
7157
  /**
@@ -7447,8 +7392,10 @@ export declare const SearchResponseSchema: v.ObjectSchema<{
7447
7392
  /** Whether the item has been edited since the comment was written. */
7448
7393
  readonly itemChangedSince: v.BooleanSchema<undefined>;
7449
7394
  /**
7450
- * Whether the match is in the comment's text or in the replacement it
7451
- * suggests (Mossbear's drafted edits).
7395
+ * Where the match is. A current server always says `body`; `suggestion` is
7396
+ * what an older one said for a match in a comment's suggested edit, accepted
7397
+ * so a CLI talking to one mid-rollout still parses the report. Nothing reads
7398
+ * the difference.
7452
7399
  */
7453
7400
  readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
7454
7401
  /**
@@ -7563,26 +7510,6 @@ export declare const SearchResponseSchema: v.ObjectSchema<{
7563
7510
  }, undefined>;
7564
7511
  }, undefined>;
7565
7512
  export type SearchResponse = v.InferOutput<typeof SearchResponseSchema>;
7566
- export declare function parseAgentConfig(data: unknown): {
7567
- id: string;
7568
- name: string;
7569
- description: string;
7570
- capabilities: string[];
7571
- meta?: {
7572
- [x: string]: unknown;
7573
- } | undefined;
7574
- };
7575
- export declare function parseGuideSnapshot(data: unknown): {
7576
- id: string;
7577
- title: string;
7578
- content: string;
7579
- enabled: boolean;
7580
- updatedAt: string;
7581
- origin?: string | null | undefined;
7582
- contentHash?: string | null | undefined;
7583
- root?: "project" | "global" | null | undefined;
7584
- path?: string | null | undefined;
7585
- };
7586
7513
  export declare function parseGuideBundleResponse(data: unknown): {
7587
7514
  guides: {
7588
7515
  id: string;
@@ -7624,22 +7551,6 @@ export declare function parseRawGuideFileDeletion(data: unknown): {
7624
7551
  path: string;
7625
7552
  format: "agents-md" | "agents-dir" | "claude-md" | "claude-rules" | "cursorrules" | "cursor-rules" | "skill-md";
7626
7553
  };
7627
- export declare function parseRuleDeletionsRequest(data: unknown): {
7628
- deletions: unknown[];
7629
- };
7630
- export declare function parseRulesImportRequest(data: unknown): {
7631
- rules: unknown[];
7632
- repoId?: string | undefined;
7633
- projectId?: string | undefined;
7634
- workspaceId?: string | undefined;
7635
- };
7636
- export declare function parseBundle(data: unknown): {
7637
- id: string;
7638
- slug: string;
7639
- name: string;
7640
- createdAt: string;
7641
- home?: string | undefined;
7642
- };
7643
7554
  export declare function parseBundleListResponse(data: unknown): {
7644
7555
  bundles: {
7645
7556
  id: string;
@@ -7671,6 +7582,7 @@ export declare function parseRevokeScopedTokenRequest(data: unknown): {
7671
7582
  export declare function parseCreateBundleRequest(data: unknown): {
7672
7583
  slug: string;
7673
7584
  name: string;
7585
+ workspaceId?: string | undefined;
7674
7586
  };
7675
7587
  export declare function parseCreateBundleResponse(data: unknown): {
7676
7588
  bundle: {
@@ -7725,6 +7637,7 @@ export declare function parseResolveSubscriptionsResponse(data: unknown): {
7725
7637
  export declare function parseUpdateBundleRequest(data: unknown): {
7726
7638
  name?: string | undefined;
7727
7639
  home?: string | null | undefined;
7640
+ columns?: string[] | null | undefined;
7728
7641
  };
7729
7642
  export declare function parseUpdateBundleResponse(data: unknown): {
7730
7643
  bundle: {
@@ -7770,7 +7683,6 @@ export declare function parseContextItemsResponse(data: unknown): {
7770
7683
  } | null;
7771
7684
  } | undefined;
7772
7685
  body: string;
7773
- suggestion?: string | undefined;
7774
7686
  finding?: {
7775
7687
  tier: "observed" | "usage" | "practice";
7776
7688
  tierLine: string;
@@ -7833,7 +7745,6 @@ export declare function parseBundleArtifactsResponse(data: unknown): {
7833
7745
  } | null;
7834
7746
  } | undefined;
7835
7747
  body: string;
7836
- suggestion?: string | undefined;
7837
7748
  finding?: {
7838
7749
  tier: "observed" | "usage" | "practice";
7839
7750
  tierLine: string;
@@ -8000,23 +7911,6 @@ export declare function parseDashboardSyncRequest(data: unknown): {
8000
7911
  } | undefined;
8001
7912
  origin?: "session-start" | undefined;
8002
7913
  };
8003
- export declare function parseProposalCitation(data: unknown): {
8004
- agentSessionId: string;
8005
- timestamp?: string | undefined;
8006
- summary: string;
8007
- };
8008
- export declare function parseExtractedSkillSuggestion(data: unknown): {
8009
- id: string;
8010
- signal: string;
8011
- confidence: number;
8012
- occurrences: number;
8013
- citations: {
8014
- agentSessionId: string;
8015
- timestamp?: string | undefined;
8016
- summary: string;
8017
- }[];
8018
- source: "claude_code" | "codex" | "opencode" | "cursor" | "copilot" | "other";
8019
- };
8020
7914
  export declare function parseExtractedFeedbackBatch(data: unknown): {
8021
7915
  skillSuggestions: {
8022
7916
  id: string;
@@ -8046,6 +7940,7 @@ export declare function parseActionEntry(data: unknown): {
8046
7940
  name: string;
8047
7941
  path?: string | undefined;
8048
7942
  }[] | undefined;
7943
+ memberReads?: string[] | undefined;
8049
7944
  transcriptPath?: string | undefined;
8050
7945
  repoId?: string | undefined;
8051
7946
  projectId?: string | undefined;
@@ -8193,7 +8088,6 @@ export declare function parseItemCommentsResponse(data: unknown): {
8193
8088
  } | null;
8194
8089
  } | undefined;
8195
8090
  body: string;
8196
- suggestion?: string | undefined;
8197
8091
  finding?: {
8198
8092
  tier: "observed" | "usage" | "practice";
8199
8093
  tierLine: string;
@@ -8415,7 +8309,7 @@ export declare function parseSearchResponse(data: unknown): {
8415
8309
  workspaceId: string;
8416
8310
  workspaceName: string;
8417
8311
  itemChangedSince: boolean;
8418
- matchedIn: "suggestion" | "body";
8312
+ matchedIn: "body" | "suggestion";
8419
8313
  approved?: boolean | undefined;
8420
8314
  commentId: string;
8421
8315
  threadId: string;