@mossbear/protocol 0.1.0-alpha.110 → 0.1.0-alpha.112
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/agentGuidancePaths.d.ts +2 -2
- package/dist/agentGuidancePaths.js +2 -2
- package/dist/aliasPaths.d.ts +1 -1
- package/dist/aliasPaths.js +1 -1
- package/dist/frameDocument.d.ts +6 -0
- package/dist/frameDocument.d.ts.map +1 -1
- package/dist/frameDocument.js +10 -8
- package/dist/frameDocument.js.map +1 -1
- package/dist/frameScheme.d.ts +27 -0
- package/dist/frameScheme.d.ts.map +1 -0
- package/dist/frameScheme.js +149 -0
- package/dist/frameScheme.js.map +1 -0
- package/dist/frameScheme.test.d.ts +2 -0
- package/dist/frameScheme.test.d.ts.map +1 -0
- package/dist/frameScheme.test.js +125 -0
- package/dist/frameScheme.test.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/pairing.d.ts +14 -1
- package/dist/pairing.d.ts.map +1 -1
- package/dist/pairing.js +12 -0
- package/dist/pairing.js.map +1 -1
- package/dist/schemas.d.ts +361 -193
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +93 -29
- package/dist/schemas.js.map +1 -1
- package/package.json +1 -1
package/dist/schemas.d.ts
CHANGED
|
@@ -768,16 +768,32 @@ export declare const ResolvedSubscriptionSchema: v.ObjectSchema<{
|
|
|
768
768
|
*/
|
|
769
769
|
readonly home: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
770
770
|
/**
|
|
771
|
-
*
|
|
772
|
-
*
|
|
771
|
+
* Ids this account has switched off for the asking machine, on a bundle that
|
|
772
|
+
* reaches it through the account subscription alone. An item whose own id or
|
|
773
|
+
* `guideId` is listed is not delivered.
|
|
773
774
|
*
|
|
774
|
-
*
|
|
775
|
-
*
|
|
776
|
-
*
|
|
777
|
-
*
|
|
778
|
-
*
|
|
775
|
+
* The server computes it per machine: artifacts switched off everywhere or
|
|
776
|
+
* on this machine that this bundle can deliver, plus every member when the
|
|
777
|
+
* bundle itself is switched off. Account-scoped and nowhere else: a repo
|
|
778
|
+
* subscription is a committed file shared by everyone who clones it, so a
|
|
779
|
+
* mute there would be one member deciding for the team. A muted guide leaves
|
|
780
|
+
* the desired delivery list, and the global namespace prunes it once no repo
|
|
781
|
+
* still refers to it — repo by repo, as each syncs, because the referrer
|
|
782
|
+
* record is machine-local repo ids.
|
|
779
783
|
*/
|
|
780
784
|
readonly muted: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
785
|
+
/**
|
|
786
|
+
* The same set as `muted`, sent instead of it when the calling repo's
|
|
787
|
+
* committed config also subscribes this bundle. It applies to the account
|
|
788
|
+
* target only: the repo's own subscription still delivers into the checkout,
|
|
789
|
+
* because an off removes only what reaches the machine through the account.
|
|
790
|
+
*
|
|
791
|
+
* A separate key rather than `muted`, because a CLI that predates it applies
|
|
792
|
+
* `muted` before either target is planned and would drop the repo delivery
|
|
793
|
+
* too. That CLI ignores this key and delivers to both targets, which fails
|
|
794
|
+
* toward the agent having the content.
|
|
795
|
+
*/
|
|
796
|
+
readonly accountMuted: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
781
797
|
}, undefined>;
|
|
782
798
|
/**
|
|
783
799
|
* The ids a repo's committed config names. Sent rather than looked up, because
|
|
@@ -803,6 +819,12 @@ export declare const ResolveSubscriptionsRequestSchema: v.ObjectSchema<{
|
|
|
803
819
|
* ids is answered as before.
|
|
804
820
|
*/
|
|
805
821
|
readonly repoBundleAddresses: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 104, undefined>, v.CheckAction<string, "address must be <publisher handle>/<bundle slug>">]>, undefined>, v.MaxLengthAction<string[], 64, undefined>]>, undefined>;
|
|
822
|
+
/**
|
|
823
|
+
* The calling machine's stable id (`MachineIdSchema`). Optional, so an older
|
|
824
|
+
* CLI is answered as before; the server records it for the calling key only
|
|
825
|
+
* when that key has none yet.
|
|
826
|
+
*/
|
|
827
|
+
readonly machineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "not a machine id">]>, undefined>;
|
|
806
828
|
}, undefined>;
|
|
807
829
|
export declare const ResolveSubscriptionsResponseSchema: v.ObjectSchema<{
|
|
808
830
|
/** The effective delivery set, de-duplicated by bundle id. */
|
|
@@ -848,16 +870,32 @@ export declare const ResolveSubscriptionsResponseSchema: v.ObjectSchema<{
|
|
|
848
870
|
*/
|
|
849
871
|
readonly home: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
850
872
|
/**
|
|
851
|
-
*
|
|
852
|
-
*
|
|
873
|
+
* Ids this account has switched off for the asking machine, on a bundle that
|
|
874
|
+
* reaches it through the account subscription alone. An item whose own id or
|
|
875
|
+
* `guideId` is listed is not delivered.
|
|
853
876
|
*
|
|
854
|
-
*
|
|
855
|
-
*
|
|
856
|
-
*
|
|
857
|
-
*
|
|
858
|
-
*
|
|
877
|
+
* The server computes it per machine: artifacts switched off everywhere or
|
|
878
|
+
* on this machine that this bundle can deliver, plus every member when the
|
|
879
|
+
* bundle itself is switched off. Account-scoped and nowhere else: a repo
|
|
880
|
+
* subscription is a committed file shared by everyone who clones it, so a
|
|
881
|
+
* mute there would be one member deciding for the team. A muted guide leaves
|
|
882
|
+
* the desired delivery list, and the global namespace prunes it once no repo
|
|
883
|
+
* still refers to it — repo by repo, as each syncs, because the referrer
|
|
884
|
+
* record is machine-local repo ids.
|
|
859
885
|
*/
|
|
860
886
|
readonly muted: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
887
|
+
/**
|
|
888
|
+
* The same set as `muted`, sent instead of it when the calling repo's
|
|
889
|
+
* committed config also subscribes this bundle. It applies to the account
|
|
890
|
+
* target only: the repo's own subscription still delivers into the checkout,
|
|
891
|
+
* because an off removes only what reaches the machine through the account.
|
|
892
|
+
*
|
|
893
|
+
* A separate key rather than `muted`, because a CLI that predates it applies
|
|
894
|
+
* `muted` before either target is planned and would drop the repo delivery
|
|
895
|
+
* too. That CLI ignores this key and delivers to both targets, which fails
|
|
896
|
+
* toward the agent having the content.
|
|
897
|
+
*/
|
|
898
|
+
readonly accountMuted: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
861
899
|
}, undefined>, undefined>;
|
|
862
900
|
/**
|
|
863
901
|
* Committed ids the caller cannot see. **Reported, never dropped** — the line
|
|
@@ -938,9 +976,14 @@ export declare const SubscribeBundleRequestSchema: v.ObjectSchema<{
|
|
|
938
976
|
*/
|
|
939
977
|
readonly deliver: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["repo", "global"], undefined>, undefined>, undefined>;
|
|
940
978
|
/**
|
|
941
|
-
* The
|
|
942
|
-
*
|
|
943
|
-
* the stored set alone.
|
|
979
|
+
* The ids to have switched off on every machine, as far as this bundle can
|
|
980
|
+
* deliver them — the whole set, replacing what is stored. `[]` switches them
|
|
981
|
+
* all back on, and omitting the field leaves the stored set alone.
|
|
982
|
+
*
|
|
983
|
+
* An id switched off here is off for the account, through every bundle that
|
|
984
|
+
* carries it. Switching one back on (an id this bundle delivers that is off
|
|
985
|
+
* now and absent here) needs a dashboard session: a CLI key is refused with
|
|
986
|
+
* 403, because an agent may narrow what it receives but never widen it.
|
|
944
987
|
*
|
|
945
988
|
* The same three states as `deliver` above, reached the same way: an explicit
|
|
946
989
|
* empty clears, and silence never means a write. So changing a delivery target
|
|
@@ -1328,14 +1371,15 @@ export declare const ArtifactCommentSchema: v.ObjectSchema<{
|
|
|
1328
1371
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1329
1372
|
}, undefined>, undefined>;
|
|
1330
1373
|
/**
|
|
1331
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
1332
|
-
*
|
|
1333
|
-
* person's or an agent's
|
|
1334
|
-
* `findingState
|
|
1335
|
-
*
|
|
1336
|
-
*
|
|
1337
|
-
*
|
|
1338
|
-
*
|
|
1374
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
1375
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
1376
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
1377
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
1378
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
1379
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
1380
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
1381
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
1382
|
+
* receives one it would misread.
|
|
1339
1383
|
*/
|
|
1340
1384
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1341
1385
|
/**
|
|
@@ -1473,14 +1517,15 @@ export declare const ContextItemCommentSchema: v.ObjectSchema<{
|
|
|
1473
1517
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1474
1518
|
}, undefined>, undefined>;
|
|
1475
1519
|
/**
|
|
1476
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
1477
|
-
*
|
|
1478
|
-
* person's or an agent's
|
|
1479
|
-
* `findingState
|
|
1480
|
-
*
|
|
1481
|
-
*
|
|
1482
|
-
*
|
|
1483
|
-
*
|
|
1520
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
1521
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
1522
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
1523
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
1524
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
1525
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
1526
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
1527
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
1528
|
+
* receives one it would misread.
|
|
1484
1529
|
*/
|
|
1485
1530
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1486
1531
|
/**
|
|
@@ -1783,14 +1828,15 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
|
|
|
1783
1828
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1784
1829
|
}, undefined>, undefined>;
|
|
1785
1830
|
/**
|
|
1786
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
1787
|
-
*
|
|
1788
|
-
* person's or an agent's
|
|
1789
|
-
* `findingState
|
|
1790
|
-
*
|
|
1791
|
-
*
|
|
1792
|
-
*
|
|
1793
|
-
*
|
|
1831
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
1832
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
1833
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
1834
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
1835
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
1836
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
1837
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
1838
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
1839
|
+
* receives one it would misread.
|
|
1794
1840
|
*/
|
|
1795
1841
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1796
1842
|
/**
|
|
@@ -2332,14 +2378,15 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
|
|
|
2332
2378
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2333
2379
|
}, undefined>, undefined>;
|
|
2334
2380
|
/**
|
|
2335
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
2336
|
-
*
|
|
2337
|
-
* person's or an agent's
|
|
2338
|
-
* `findingState
|
|
2339
|
-
*
|
|
2340
|
-
*
|
|
2341
|
-
*
|
|
2342
|
-
*
|
|
2381
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
2382
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
2383
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
2384
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
2385
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
2386
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
2387
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
2388
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
2389
|
+
* receives one it would misread.
|
|
2343
2390
|
*/
|
|
2344
2391
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2345
2392
|
/**
|
|
@@ -2899,14 +2946,15 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
2899
2946
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2900
2947
|
}, undefined>, undefined>;
|
|
2901
2948
|
/**
|
|
2902
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
2903
|
-
*
|
|
2904
|
-
* person's or an agent's
|
|
2905
|
-
* `findingState
|
|
2906
|
-
*
|
|
2907
|
-
*
|
|
2908
|
-
*
|
|
2909
|
-
*
|
|
2949
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
2950
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
2951
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
2952
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
2953
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
2954
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
2955
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
2956
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
2957
|
+
* receives one it would misread.
|
|
2910
2958
|
*/
|
|
2911
2959
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2912
2960
|
/**
|
|
@@ -3500,6 +3548,110 @@ export declare const AgentCommentRequestSchema: v.ObjectSchema<{
|
|
|
3500
3548
|
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
3549
|
}, undefined>;
|
|
3502
3550
|
export type AgentCommentRequest = v.InferOutput<typeof AgentCommentRequestSchema>;
|
|
3551
|
+
/** A batch may cover findings across several guides without one write per finding. */
|
|
3552
|
+
export declare const MAX_FINDING_DISMISSALS_PER_REQUEST = 100;
|
|
3553
|
+
export declare const FindingDismissalInputSchema: v.ObjectSchema<{
|
|
3554
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
|
|
3555
|
+
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.">]>;
|
|
3556
|
+
}, undefined>;
|
|
3557
|
+
export declare const FindingDismissalInputsSchema: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
3558
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
|
|
3559
|
+
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.">]>;
|
|
3560
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
3561
|
+
id: string;
|
|
3562
|
+
reason: string;
|
|
3563
|
+
}[], 1, undefined>, v.MaxLengthAction<{
|
|
3564
|
+
id: string;
|
|
3565
|
+
reason: string;
|
|
3566
|
+
}[], 100, undefined>, v.CheckAction<{
|
|
3567
|
+
id: string;
|
|
3568
|
+
reason: string;
|
|
3569
|
+
}[], "Name each finding only once.">]>;
|
|
3570
|
+
export declare const SuggestFindingDismissalsRequestSchema: v.ObjectSchema<{
|
|
3571
|
+
readonly suggestions: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
3572
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
|
|
3573
|
+
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.">]>;
|
|
3574
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
3575
|
+
id: string;
|
|
3576
|
+
reason: string;
|
|
3577
|
+
}[], 1, undefined>, v.MaxLengthAction<{
|
|
3578
|
+
id: string;
|
|
3579
|
+
reason: string;
|
|
3580
|
+
}[], 100, undefined>, v.CheckAction<{
|
|
3581
|
+
id: string;
|
|
3582
|
+
reason: string;
|
|
3583
|
+
}[], "Name each finding only once.">]>;
|
|
3584
|
+
readonly agent: v.ObjectSchema<{
|
|
3585
|
+
readonly sessionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
|
|
3586
|
+
readonly harness: v.PicklistSchema<["claude_code", "codex", "antigravity", "opencode"], undefined>;
|
|
3587
|
+
/** The agent's own statement of its model, when it knows it. */
|
|
3588
|
+
readonly model: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 100, undefined>]>, undefined>;
|
|
3589
|
+
readonly cliVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
|
|
3590
|
+
}, undefined>;
|
|
3591
|
+
}, undefined>;
|
|
3592
|
+
export type SuggestFindingDismissalsRequest = v.InferOutput<typeof SuggestFindingDismissalsRequestSchema>;
|
|
3593
|
+
/** Recommendations are separate from the finding's open/resolved state. */
|
|
3594
|
+
export declare const FindingDismissalSuggestionSchema: v.ObjectSchema<{
|
|
3595
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3596
|
+
readonly commentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3597
|
+
readonly reason: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3598
|
+
readonly agent: v.ObjectSchema<{
|
|
3599
|
+
readonly sessionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
|
|
3600
|
+
readonly harness: v.PicklistSchema<["claude_code", "codex", "antigravity", "opencode"], undefined>;
|
|
3601
|
+
/** The agent's own statement of its model, when it knows it. */
|
|
3602
|
+
readonly model: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 100, undefined>]>, undefined>;
|
|
3603
|
+
readonly cliVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
|
|
3604
|
+
}, undefined>;
|
|
3605
|
+
readonly guideVersion: v.NumberSchema<undefined>;
|
|
3606
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
3607
|
+
}, undefined>;
|
|
3608
|
+
export type FindingDismissalSuggestion = v.InferOutput<typeof FindingDismissalSuggestionSchema>;
|
|
3609
|
+
export declare const SuggestFindingDismissalsResponseSchema: v.ObjectSchema<{
|
|
3610
|
+
readonly results: v.ArraySchema<v.ObjectSchema<{
|
|
3611
|
+
readonly suggestion: v.ObjectSchema<{
|
|
3612
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3613
|
+
readonly commentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3614
|
+
readonly reason: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3615
|
+
readonly agent: v.ObjectSchema<{
|
|
3616
|
+
readonly sessionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
|
|
3617
|
+
readonly harness: v.PicklistSchema<["claude_code", "codex", "antigravity", "opencode"], undefined>;
|
|
3618
|
+
/** The agent's own statement of its model, when it knows it. */
|
|
3619
|
+
readonly model: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 100, undefined>]>, undefined>;
|
|
3620
|
+
readonly cliVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
|
|
3621
|
+
}, undefined>;
|
|
3622
|
+
readonly guideVersion: v.NumberSchema<undefined>;
|
|
3623
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
3624
|
+
}, undefined>;
|
|
3625
|
+
readonly created: v.BooleanSchema<undefined>;
|
|
3626
|
+
readonly valid: v.BooleanSchema<undefined>;
|
|
3627
|
+
}, undefined>, undefined>;
|
|
3628
|
+
}, undefined>;
|
|
3629
|
+
export type SuggestFindingDismissalsResponse = v.InferOutput<typeof SuggestFindingDismissalsResponseSchema>;
|
|
3630
|
+
export declare const FindingDismissalSuggestionsCursorSchema: v.ObjectSchema<{
|
|
3631
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
|
|
3632
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
3633
|
+
}, undefined>;
|
|
3634
|
+
export type FindingDismissalSuggestionsCursor = v.InferOutput<typeof FindingDismissalSuggestionsCursorSchema>;
|
|
3635
|
+
export declare const FindingDismissalSuggestionsResponseSchema: v.ObjectSchema<{
|
|
3636
|
+
readonly suggestions: v.ArraySchema<v.ObjectSchema<{
|
|
3637
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3638
|
+
readonly commentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3639
|
+
readonly reason: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3640
|
+
readonly agent: v.ObjectSchema<{
|
|
3641
|
+
readonly sessionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
|
|
3642
|
+
readonly harness: v.PicklistSchema<["claude_code", "codex", "antigravity", "opencode"], undefined>;
|
|
3643
|
+
/** The agent's own statement of its model, when it knows it. */
|
|
3644
|
+
readonly model: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 100, undefined>]>, undefined>;
|
|
3645
|
+
readonly cliVersion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
|
|
3646
|
+
}, undefined>;
|
|
3647
|
+
readonly guideVersion: v.NumberSchema<undefined>;
|
|
3648
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
3649
|
+
}, undefined>, undefined>;
|
|
3650
|
+
readonly nextCursor: v.NullableSchema<v.ObjectSchema<{
|
|
3651
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 128, undefined>]>;
|
|
3652
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
3653
|
+
}, undefined>, undefined>;
|
|
3654
|
+
}, undefined>;
|
|
3503
3655
|
/**
|
|
3504
3656
|
* The comment a create settled on. `created` is false when this agent session
|
|
3505
3657
|
* already had a whole-subject comment on the subject: that comment comes back
|
|
@@ -3572,14 +3724,15 @@ export declare const ItemCommentWithSubjectSchema: v.ObjectSchema<{
|
|
|
3572
3724
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3573
3725
|
}, undefined>, undefined>;
|
|
3574
3726
|
/**
|
|
3575
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
3576
|
-
*
|
|
3577
|
-
* person's or an agent's
|
|
3578
|
-
* `findingState
|
|
3579
|
-
*
|
|
3580
|
-
*
|
|
3581
|
-
*
|
|
3582
|
-
*
|
|
3727
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
3728
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
3729
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
3730
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
3731
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
3732
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
3733
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
3734
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
3735
|
+
* receives one it would misread.
|
|
3583
3736
|
*/
|
|
3584
3737
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3585
3738
|
/**
|
|
@@ -3733,14 +3886,15 @@ export declare const ItemCommentsResponseSchema: v.ObjectSchema<{
|
|
|
3733
3886
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3734
3887
|
}, undefined>, undefined>;
|
|
3735
3888
|
/**
|
|
3736
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
3737
|
-
*
|
|
3738
|
-
* person's or an agent's
|
|
3739
|
-
* `findingState
|
|
3740
|
-
*
|
|
3741
|
-
*
|
|
3742
|
-
*
|
|
3743
|
-
*
|
|
3889
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
3890
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
3891
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
3892
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
3893
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
3894
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
3895
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
3896
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
3897
|
+
* receives one it would misread.
|
|
3744
3898
|
*/
|
|
3745
3899
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3746
3900
|
/**
|
|
@@ -4491,14 +4645,15 @@ export declare const ArtifactSchema: v.ObjectSchema<{
|
|
|
4491
4645
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4492
4646
|
}, undefined>, undefined>;
|
|
4493
4647
|
/**
|
|
4494
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
4495
|
-
*
|
|
4496
|
-
* person's or an agent's
|
|
4497
|
-
* `findingState
|
|
4498
|
-
*
|
|
4499
|
-
*
|
|
4500
|
-
*
|
|
4501
|
-
*
|
|
4648
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
4649
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
4650
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
4651
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
4652
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
4653
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
4654
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
4655
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
4656
|
+
* receives one it would misread.
|
|
4502
4657
|
*/
|
|
4503
4658
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4504
4659
|
/**
|
|
@@ -4750,14 +4905,15 @@ export declare const ArtifactMetadataSchema: v.StrictObjectSchema<Omit<{
|
|
|
4750
4905
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4751
4906
|
}, undefined>, undefined>;
|
|
4752
4907
|
/**
|
|
4753
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
4754
|
-
*
|
|
4755
|
-
* person's or an agent's
|
|
4756
|
-
* `findingState
|
|
4757
|
-
*
|
|
4758
|
-
*
|
|
4759
|
-
*
|
|
4760
|
-
*
|
|
4908
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
4909
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
4910
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
4911
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
4912
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
4913
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
4914
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
4915
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
4916
|
+
* receives one it would misread.
|
|
4761
4917
|
*/
|
|
4762
4918
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4763
4919
|
/**
|
|
@@ -5786,14 +5942,15 @@ export declare const ReadArtifactResponseSchema: v.ObjectSchema<{
|
|
|
5786
5942
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5787
5943
|
}, undefined>, undefined>;
|
|
5788
5944
|
/**
|
|
5789
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
5790
|
-
*
|
|
5791
|
-
* person's or an agent's
|
|
5792
|
-
* `findingState
|
|
5793
|
-
*
|
|
5794
|
-
*
|
|
5795
|
-
*
|
|
5796
|
-
*
|
|
5945
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
5946
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
5947
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
5948
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
5949
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
5950
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
5951
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
5952
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
5953
|
+
* receives one it would misread.
|
|
5797
5954
|
*/
|
|
5798
5955
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
5799
5956
|
/**
|
|
@@ -6084,14 +6241,15 @@ export declare const CreateArtifactResponseSchema: v.ObjectSchema<{
|
|
|
6084
6241
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6085
6242
|
}, undefined>, undefined>;
|
|
6086
6243
|
/**
|
|
6087
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
6088
|
-
*
|
|
6089
|
-
* person's or an agent's
|
|
6090
|
-
* `findingState
|
|
6091
|
-
*
|
|
6092
|
-
*
|
|
6093
|
-
*
|
|
6094
|
-
*
|
|
6244
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
6245
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
6246
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
6247
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
6248
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
6249
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
6250
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
6251
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
6252
|
+
* receives one it would misread.
|
|
6095
6253
|
*/
|
|
6096
6254
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
6097
6255
|
/**
|
|
@@ -6344,14 +6502,15 @@ export declare const UpdateArtifactResponseSchema: v.ObjectSchema<{
|
|
|
6344
6502
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6345
6503
|
}, undefined>, undefined>;
|
|
6346
6504
|
/**
|
|
6347
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
6348
|
-
*
|
|
6349
|
-
* person's or an agent's
|
|
6350
|
-
* `findingState
|
|
6351
|
-
*
|
|
6352
|
-
*
|
|
6353
|
-
*
|
|
6354
|
-
*
|
|
6505
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
6506
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
6507
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
6508
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
6509
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
6510
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
6511
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
6512
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
6513
|
+
* receives one it would misread.
|
|
6355
6514
|
*/
|
|
6356
6515
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
6357
6516
|
/**
|
|
@@ -6670,14 +6829,15 @@ export declare const ListArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
6670
6829
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6671
6830
|
}, undefined>, undefined>;
|
|
6672
6831
|
/**
|
|
6673
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
6674
|
-
*
|
|
6675
|
-
* person's or an agent's
|
|
6676
|
-
* `findingState
|
|
6677
|
-
*
|
|
6678
|
-
*
|
|
6679
|
-
*
|
|
6680
|
-
*
|
|
6832
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
6833
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
6834
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
6835
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
6836
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
6837
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
6838
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
6839
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
6840
|
+
* receives one it would misread.
|
|
6681
6841
|
*/
|
|
6682
6842
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
6683
6843
|
/**
|
|
@@ -6940,14 +7100,15 @@ export declare const ListArtifactMetadataResponseSchema: v.ObjectSchema<{
|
|
|
6940
7100
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6941
7101
|
}, undefined>, undefined>;
|
|
6942
7102
|
/**
|
|
6943
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
6944
|
-
*
|
|
6945
|
-
* person's or an agent's
|
|
6946
|
-
* `findingState
|
|
6947
|
-
*
|
|
6948
|
-
*
|
|
6949
|
-
*
|
|
6950
|
-
*
|
|
7103
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
7104
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
7105
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
7106
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
7107
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
7108
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
7109
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
7110
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
7111
|
+
* receives one it would misread.
|
|
6951
7112
|
*/
|
|
6952
7113
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
6953
7114
|
/**
|
|
@@ -7372,14 +7533,15 @@ export declare const MarkDoneResponseSchema: v.ObjectSchema<{
|
|
|
7372
7533
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7373
7534
|
}, undefined>, undefined>;
|
|
7374
7535
|
/**
|
|
7375
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
7376
|
-
*
|
|
7377
|
-
* person's or an agent's
|
|
7378
|
-
* `findingState
|
|
7379
|
-
*
|
|
7380
|
-
*
|
|
7381
|
-
*
|
|
7382
|
-
*
|
|
7536
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
7537
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
7538
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
7539
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
7540
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
7541
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
7542
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
7543
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
7544
|
+
* receives one it would misread.
|
|
7383
7545
|
*/
|
|
7384
7546
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7385
7547
|
/**
|
|
@@ -7634,14 +7796,15 @@ export declare const DeleteArtifactResponseSchema: v.ObjectSchema<{
|
|
|
7634
7796
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7635
7797
|
}, undefined>, undefined>;
|
|
7636
7798
|
/**
|
|
7637
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
7638
|
-
*
|
|
7639
|
-
* person's or an agent's
|
|
7640
|
-
* `findingState
|
|
7641
|
-
*
|
|
7642
|
-
*
|
|
7643
|
-
*
|
|
7644
|
-
*
|
|
7799
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
7800
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
7801
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
7802
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
7803
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
7804
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
7805
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
7806
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
7807
|
+
* receives one it would misread.
|
|
7645
7808
|
*/
|
|
7646
7809
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7647
7810
|
/**
|
|
@@ -7895,14 +8058,15 @@ export declare const WithdrawArtifactResponseSchema: v.ObjectSchema<{
|
|
|
7895
8058
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7896
8059
|
}, undefined>, undefined>;
|
|
7897
8060
|
/**
|
|
7898
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
7899
|
-
*
|
|
7900
|
-
* person's or an agent's
|
|
7901
|
-
* `findingState
|
|
7902
|
-
*
|
|
7903
|
-
*
|
|
7904
|
-
*
|
|
7905
|
-
*
|
|
8061
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
8062
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
8063
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
8064
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
8065
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
8066
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
8067
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
8068
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
8069
|
+
* receives one it would misread.
|
|
7906
8070
|
*/
|
|
7907
8071
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7908
8072
|
/**
|
|
@@ -8618,7 +8782,7 @@ export declare const MAX_RULE_MANIFEST_FILES = 500;
|
|
|
8618
8782
|
* A rule file observed on disk in the repo `mossbear report` ran from.
|
|
8619
8783
|
*
|
|
8620
8784
|
* `path` is relative to that repo root, in exactly the form `payloadPath`
|
|
8621
|
-
* takes at import time (`packages/cli/src/
|
|
8785
|
+
* takes at import time (`packages/cli/src/guides/discover.ts`), so
|
|
8622
8786
|
* `file:{format}:{path}` reconstructs the `origin` the dashboard stored for
|
|
8623
8787
|
* the guide this file produced. That reconstruction is the whole join; nothing
|
|
8624
8788
|
* else about the file is needed and nothing else is sent.
|
|
@@ -8644,7 +8808,7 @@ export declare const RuleManifestFileSchema: v.ObjectSchema<{
|
|
|
8644
8808
|
* same account distinguishable, which is the half of review finding 5 that
|
|
8645
8809
|
* repo-root-relative origins cannot express: two repos each holding
|
|
8646
8810
|
* `.claude/skills/review` produce byte-identical origins by construction. See
|
|
8647
|
-
* `repoIdFromRoot` (`packages/cli/src/
|
|
8811
|
+
* `repoIdFromRoot` (`packages/cli/src/guides/manifest.ts`) for how it is
|
|
8648
8812
|
* derived and why that derivation is privacy-safe.
|
|
8649
8813
|
*/
|
|
8650
8814
|
export declare const RuleFileManifestSchema: v.ObjectSchema<{
|
|
@@ -9338,7 +9502,7 @@ export declare const GuideHistoryIdentifierSchema: v.SchemaWithPipe<readonly [v.
|
|
|
9338
9502
|
*
|
|
9339
9503
|
* `root` is optional and is the disambiguator, not decoration: `.claude/skills`
|
|
9340
9504
|
* is scanned under **both** discovery roots
|
|
9341
|
-
* (`packages/cli/src/
|
|
9505
|
+
* (`packages/cli/src/guides/discover.ts`), so a project skill and its
|
|
9342
9506
|
* `~/.claude/skills` twin declare the same path string. When the identifier
|
|
9343
9507
|
* reaches guides under more than one root and no root was given, the server
|
|
9344
9508
|
* refuses and names both rather than picking one — answering a question about
|
|
@@ -9638,13 +9802,13 @@ export declare const GuideHistoryGuideSchema: v.ObjectSchema<{
|
|
|
9638
9802
|
readonly root: v.NullableSchema<v.PicklistSchema<["project", "global"], undefined>, undefined>;
|
|
9639
9803
|
}, undefined>;
|
|
9640
9804
|
/**
|
|
9641
|
-
* The newest stored failure-pattern analysis of the guide
|
|
9642
|
-
*
|
|
9805
|
+
* The caller's newest stored failure-pattern analysis of the guide
|
|
9806
|
+
* (`drafted-guide-suggestions` slice 7), served through artifact feedback.
|
|
9643
9807
|
*
|
|
9644
9808
|
* **The caller's own analysis only.** An analysis reads the caller's verdicts,
|
|
9645
9809
|
* so a workspace-mate's is never returned, the same rule the verdicts follow.
|
|
9646
9810
|
*
|
|
9647
|
-
* **Staleness is derived on read
|
|
9811
|
+
* **Staleness is derived on read**: the
|
|
9648
9812
|
* guide's wording changed since (`revision_changed`), or failures of the same
|
|
9649
9813
|
* wording arrived that it has not read (`new_failures`, with how many). A stale
|
|
9650
9814
|
* analysis is still what it found; it is reported, never withheld.
|
|
@@ -9936,14 +10100,15 @@ export declare const ArtifactFeedbackResponseSchema: v.ObjectSchema<{
|
|
|
9936
10100
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9937
10101
|
}, undefined>, undefined>;
|
|
9938
10102
|
/**
|
|
9939
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
9940
|
-
*
|
|
9941
|
-
* person's or an agent's
|
|
9942
|
-
* `findingState
|
|
9943
|
-
*
|
|
9944
|
-
*
|
|
9945
|
-
*
|
|
9946
|
-
*
|
|
10103
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
10104
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
10105
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
10106
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
10107
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
10108
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
10109
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
10110
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
10111
|
+
* receives one it would misread.
|
|
9947
10112
|
*/
|
|
9948
10113
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
9949
10114
|
/**
|
|
@@ -10311,14 +10476,15 @@ export declare const ArtifactFeedbackBatchResponseSchema: v.ObjectSchema<{
|
|
|
10311
10476
|
readonly prediction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
10312
10477
|
}, undefined>, undefined>;
|
|
10313
10478
|
/**
|
|
10314
|
-
* Whether the person handed a comment Mossbear drafted to their agent
|
|
10315
|
-
*
|
|
10316
|
-
* person's or an agent's
|
|
10317
|
-
* `findingState
|
|
10318
|
-
*
|
|
10319
|
-
*
|
|
10320
|
-
*
|
|
10321
|
-
*
|
|
10479
|
+
* Whether the person handed a comment Mossbear drafted to their agent. Nothing
|
|
10480
|
+
* hands one over any more, so a current server sends `false` on every Mossbear
|
|
10481
|
+
* comment and omits it on a person's or an agent's; the field stays for
|
|
10482
|
+
* readers that predate `findingState`. It does not say whether the agent may
|
|
10483
|
+
* act: read `findingState` for that, and fall back to `approved: false`
|
|
10484
|
+
* meaning "not yet accepted" only when `findingState` is absent, from a server
|
|
10485
|
+
* that predates it. Only a client that reports a version able to mark drafts
|
|
10486
|
+
* is listed a finding at all, so an older reader that strips this field never
|
|
10487
|
+
* receives one it would misread.
|
|
10322
10488
|
*/
|
|
10323
10489
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
10324
10490
|
/**
|
|
@@ -11368,10 +11534,10 @@ export declare const SearchArtifactCommentHitSchema: v.ObjectSchema<{
|
|
|
11368
11534
|
*/
|
|
11369
11535
|
readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
|
|
11370
11536
|
/**
|
|
11371
|
-
* Whether a Mossbear finding's owner handed it to their agents
|
|
11372
|
-
*
|
|
11373
|
-
*
|
|
11374
|
-
* comment and on a reply.
|
|
11537
|
+
* Whether a Mossbear finding's owner handed it to their agents. Nothing hands
|
|
11538
|
+
* one over any more, so a current server sends `false`. It does not say
|
|
11539
|
+
* whether an agent may act on it: every open finding is ready unless
|
|
11540
|
+
* dismissed. Absent on a person's or an agent's comment and on a reply.
|
|
11375
11541
|
*/
|
|
11376
11542
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11377
11543
|
readonly commentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -11423,10 +11589,10 @@ export declare const SearchCommentHitSchema: v.VariantSchema<"subjectKind", [v.O
|
|
|
11423
11589
|
*/
|
|
11424
11590
|
readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
|
|
11425
11591
|
/**
|
|
11426
|
-
* Whether a Mossbear finding's owner handed it to their agents
|
|
11427
|
-
*
|
|
11428
|
-
*
|
|
11429
|
-
* comment and on a reply.
|
|
11592
|
+
* Whether a Mossbear finding's owner handed it to their agents. Nothing hands
|
|
11593
|
+
* one over any more, so a current server sends `false`. It does not say
|
|
11594
|
+
* whether an agent may act on it: every open finding is ready unless
|
|
11595
|
+
* dismissed. Absent on a person's or an agent's comment and on a reply.
|
|
11430
11596
|
*/
|
|
11431
11597
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11432
11598
|
readonly commentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -11643,10 +11809,10 @@ export declare const SearchCommentsReportSchema: v.VariantSchema<"status", [v.Ob
|
|
|
11643
11809
|
*/
|
|
11644
11810
|
readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
|
|
11645
11811
|
/**
|
|
11646
|
-
* Whether a Mossbear finding's owner handed it to their agents
|
|
11647
|
-
*
|
|
11648
|
-
*
|
|
11649
|
-
* comment and on a reply.
|
|
11812
|
+
* Whether a Mossbear finding's owner handed it to their agents. Nothing hands
|
|
11813
|
+
* one over any more, so a current server sends `false`. It does not say
|
|
11814
|
+
* whether an agent may act on it: every open finding is ready unless
|
|
11815
|
+
* dismissed. Absent on a person's or an agent's comment and on a reply.
|
|
11650
11816
|
*/
|
|
11651
11817
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11652
11818
|
readonly commentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -11889,10 +12055,10 @@ export declare const SearchResponseSchema: v.ObjectSchema<{
|
|
|
11889
12055
|
*/
|
|
11890
12056
|
readonly matchedIn: v.PicklistSchema<["body", "suggestion"], undefined>;
|
|
11891
12057
|
/**
|
|
11892
|
-
* Whether a Mossbear finding's owner handed it to their agents
|
|
11893
|
-
*
|
|
11894
|
-
*
|
|
11895
|
-
* comment and on a reply.
|
|
12058
|
+
* Whether a Mossbear finding's owner handed it to their agents. Nothing hands
|
|
12059
|
+
* one over any more, so a current server sends `false`. It does not say
|
|
12060
|
+
* whether an agent may act on it: every open finding is ready unless
|
|
12061
|
+
* dismissed. Absent on a person's or an agent's comment and on a reply.
|
|
11896
12062
|
*/
|
|
11897
12063
|
readonly approved: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11898
12064
|
readonly commentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -12126,6 +12292,7 @@ export declare function parseSubscribeBundleResponse(data: unknown): {
|
|
|
12126
12292
|
export declare function parseResolveSubscriptionsRequest(data: unknown): {
|
|
12127
12293
|
repoBundleIds: string[];
|
|
12128
12294
|
repoBundleAddresses?: string[] | undefined;
|
|
12295
|
+
machineId?: string | undefined;
|
|
12129
12296
|
};
|
|
12130
12297
|
export declare function parseResolveSubscriptionsResponse(data: unknown): {
|
|
12131
12298
|
bundles: {
|
|
@@ -12142,6 +12309,7 @@ export declare function parseResolveSubscriptionsResponse(data: unknown): {
|
|
|
12142
12309
|
deliver?: "global" | "repo" | undefined;
|
|
12143
12310
|
home?: string | undefined;
|
|
12144
12311
|
muted?: string[] | undefined;
|
|
12312
|
+
accountMuted?: string[] | undefined;
|
|
12145
12313
|
}[];
|
|
12146
12314
|
unresolved: {
|
|
12147
12315
|
id: string;
|
|
@@ -12787,7 +12955,7 @@ export declare function parseSessionGradeResponse(data: unknown): {
|
|
|
12787
12955
|
endedAt: string | null;
|
|
12788
12956
|
status: "open" | "closed";
|
|
12789
12957
|
};
|
|
12790
|
-
state: "pending" | "
|
|
12958
|
+
state: "pending" | "expired" | "graded" | "nothing_to_grade" | "grading_off";
|
|
12791
12959
|
gradeFailedAttempts?: number | undefined;
|
|
12792
12960
|
grade: {
|
|
12793
12961
|
summary: string | null;
|
|
@@ -12816,7 +12984,7 @@ export declare function parseSessionDigestResponse(data: unknown): {
|
|
|
12816
12984
|
endedAt: string | null;
|
|
12817
12985
|
status: "open" | "closed";
|
|
12818
12986
|
};
|
|
12819
|
-
state: "pending" | "
|
|
12987
|
+
state: "pending" | "expired" | "graded" | "nothing_to_grade" | "grading_off";
|
|
12820
12988
|
gradeFailedAttempts?: number | undefined;
|
|
12821
12989
|
grade: {
|
|
12822
12990
|
summary: string | null;
|