@sjawhar/claude-envoy 6.17.2 → 6.18.0
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/.claude-plugin/plugin.json +1 -1
- package/.omp-plugin/plugin.json +1 -1
- package/dist/codex-hook.js +43 -38
- package/dist/dispatch.js +43 -38
- package/dist/envoy-channel.js +137 -169
- package/dist/session-hook.js +43 -38
- package/package.json +2 -2
- package/scripts/build.ts +2 -2
- package/src/envoy-channel-server.ts +8 -21
- package/src/legion-phase-hook.ts +50 -82
- package/src/legion-tool.ts +7 -9
package/.omp-plugin/plugin.json
CHANGED
package/dist/codex-hook.js
CHANGED
|
@@ -13688,26 +13688,6 @@ var DISPATCH_KEY_PATTERN = /^([A-Z][A-Z0-9]*)-([0-9]+)$/;
|
|
|
13688
13688
|
function isLegionRole(role) {
|
|
13689
13689
|
return LEGION_ROLES.some((candidate) => candidate === role);
|
|
13690
13690
|
}
|
|
13691
|
-
function roleForPhase(phase) {
|
|
13692
|
-
switch (phase) {
|
|
13693
|
-
case "planning":
|
|
13694
|
-
return "planner";
|
|
13695
|
-
case "implementing":
|
|
13696
|
-
case "retro":
|
|
13697
|
-
return "implementer";
|
|
13698
|
-
case "testing":
|
|
13699
|
-
return "tester";
|
|
13700
|
-
case "reviewing":
|
|
13701
|
-
return "reviewer";
|
|
13702
|
-
case "admitted":
|
|
13703
|
-
case "accepting":
|
|
13704
|
-
return "architect";
|
|
13705
|
-
case "merging":
|
|
13706
|
-
return "merger";
|
|
13707
|
-
default:
|
|
13708
|
-
return;
|
|
13709
|
-
}
|
|
13710
|
-
}
|
|
13711
13691
|
function isLegionProjectToken(project) {
|
|
13712
13692
|
return PROJECT_TOKEN.test(project);
|
|
13713
13693
|
}
|
|
@@ -13724,6 +13704,9 @@ function roleToken(project, issue, role) {
|
|
|
13724
13704
|
const [, dispatchProject, number] = dispatchMatch;
|
|
13725
13705
|
return `legion-${project}-${dispatchProject?.toLowerCase()}-${number}-${role}`;
|
|
13726
13706
|
}
|
|
13707
|
+
function roleTopic(token) {
|
|
13708
|
+
return `${ROLE_TOPIC_PREFIX}${token}`;
|
|
13709
|
+
}
|
|
13727
13710
|
|
|
13728
13711
|
// ../contracts/src/dispatch-api-core.ts
|
|
13729
13712
|
var DisplayTreeSchema = looseObject({ type: string2() });
|
|
@@ -16887,21 +16870,21 @@ var DISPATCH_READING_SURFACES = [
|
|
|
16887
16870
|
surface: "approval-review-reason"
|
|
16888
16871
|
},
|
|
16889
16872
|
{
|
|
16890
|
-
files: ["packages/dispatch/web/src/features/
|
|
16873
|
+
files: ["packages/dispatch/web/src/features/ask-body/ask-text.tsx"],
|
|
16891
16874
|
reach: "/, an ask card's question",
|
|
16892
16875
|
record: true,
|
|
16893
16876
|
rendered: true,
|
|
16894
16877
|
surface: "ask-card-question"
|
|
16895
16878
|
},
|
|
16896
16879
|
{
|
|
16897
|
-
files: ["packages/dispatch/web/src/features/
|
|
16880
|
+
files: ["packages/dispatch/web/src/features/ask-body/ask-text.tsx"],
|
|
16898
16881
|
reach: "/, an ask card's edit history",
|
|
16899
16882
|
record: true,
|
|
16900
16883
|
rendered: true,
|
|
16901
16884
|
surface: "ask-edit-history"
|
|
16902
16885
|
},
|
|
16903
16886
|
{
|
|
16904
|
-
files: ["packages/dispatch/web/src/features/
|
|
16887
|
+
files: ["packages/dispatch/web/src/features/ask-body/ask-text.tsx"],
|
|
16905
16888
|
reach: "/, an ask card's earlier answers",
|
|
16906
16889
|
record: true,
|
|
16907
16890
|
rendered: true,
|
|
@@ -16909,7 +16892,7 @@ var DISPATCH_READING_SURFACES = [
|
|
|
16909
16892
|
},
|
|
16910
16893
|
{
|
|
16911
16894
|
files: [
|
|
16912
|
-
"packages/dispatch/web/src/features/
|
|
16895
|
+
"packages/dispatch/web/src/features/ask-body/ask-text.tsx",
|
|
16913
16896
|
"packages/dispatch/web/src/features/activity/EventBody.tsx"
|
|
16914
16897
|
],
|
|
16915
16898
|
reach: "/, an ask card's earlier answers, an option one chose; /issues/<ISSUE>/activity, a pinned changed answer's `was:` line",
|
|
@@ -16918,14 +16901,14 @@ var DISPATCH_READING_SURFACES = [
|
|
|
16918
16901
|
surface: "earlier-chosen-option"
|
|
16919
16902
|
},
|
|
16920
16903
|
{
|
|
16921
|
-
files: ["packages/dispatch/web/src/features/
|
|
16904
|
+
files: ["packages/dispatch/web/src/features/ask-body/ask-text.tsx"],
|
|
16922
16905
|
reach: "/, an answered ask's question and answer",
|
|
16923
16906
|
record: true,
|
|
16924
16907
|
rendered: true,
|
|
16925
16908
|
surface: "answered-ask"
|
|
16926
16909
|
},
|
|
16927
16910
|
{
|
|
16928
|
-
files: ["packages/dispatch/web/src/features/
|
|
16911
|
+
files: ["packages/dispatch/web/src/features/ask-body/ask-text.tsx"],
|
|
16929
16912
|
reach: "/, a resolved ask's question and resolution reason",
|
|
16930
16913
|
record: true,
|
|
16931
16914
|
rendered: true,
|
|
@@ -16933,7 +16916,7 @@ var DISPATCH_READING_SURFACES = [
|
|
|
16933
16916
|
},
|
|
16934
16917
|
{
|
|
16935
16918
|
files: [
|
|
16936
|
-
"packages/dispatch/web/src/features/
|
|
16919
|
+
"packages/dispatch/web/src/features/ask-body/ask-text.tsx",
|
|
16937
16920
|
"packages/dispatch/web/src/features/issue-page/NodeRow.tsx"
|
|
16938
16921
|
],
|
|
16939
16922
|
reach: "/, an ask option's label and description",
|
|
@@ -17070,6 +17053,22 @@ var DISPATCH_READING_SURFACES = [
|
|
|
17070
17053
|
rendered: false,
|
|
17071
17054
|
surface: "decision-change-quote"
|
|
17072
17055
|
},
|
|
17056
|
+
{
|
|
17057
|
+
cannotCarry: {
|
|
17058
|
+
forms: ["question-id"],
|
|
17059
|
+
why: "The card is handed the statement's block and none of its document, so no question map is read for the line and a `#id` in it is drawn as written."
|
|
17060
|
+
},
|
|
17061
|
+
files: ["packages/dispatch/web/src/features/decision-card/DecisionCard.tsx"],
|
|
17062
|
+
proof: {
|
|
17063
|
+
file: "packages/dispatch/web/src/features/decision-card/DecisionCard.test.tsx",
|
|
17064
|
+
test: "a statement's link reads its first line as plain words"
|
|
17065
|
+
},
|
|
17066
|
+
reach: "/issues/<ISSUE>/decisions, a decision's statement link; /issues/<ISSUE>/spec, a margin decision card's statement link",
|
|
17067
|
+
reason: `A statement a decision shaped is a link, worded with the first line of the block's text. ${PLAIN_WORDS_REASON} ${LOAD_STATE_REASON}`,
|
|
17068
|
+
record: true,
|
|
17069
|
+
rendered: false,
|
|
17070
|
+
surface: "decision-statement-line"
|
|
17071
|
+
},
|
|
17073
17072
|
{
|
|
17074
17073
|
files: ["packages/dispatch/web/src/features/issue/SpecRequirements.tsx"],
|
|
17075
17074
|
reach: "/issues/<ISSUE>/spec, a requirement's line under Requirements",
|
|
@@ -17099,7 +17098,7 @@ var DISPATCH_READING_SURFACES = [
|
|
|
17099
17098
|
"packages/dispatch/web/src/features/doc/ChangeView.tsx",
|
|
17100
17099
|
"packages/dispatch/web/src/features/artifacts/ArtifactDetails.tsx",
|
|
17101
17100
|
"packages/dispatch/web/src/features/doc/ProofDocument.tsx",
|
|
17102
|
-
"packages/dispatch/web/src/features/
|
|
17101
|
+
"packages/dispatch/web/src/features/ask-body/EarlierApproval.tsx"
|
|
17103
17102
|
],
|
|
17104
17103
|
reach: "/projects/<PROJECT>/documents/<SLUG>, Compare between two versions",
|
|
17105
17104
|
reason: "A diff shows the exact characters a change swaps, the removed beside the added, so it is drawn as the characters each version holds rather than rendered (R6): a rendered `**` or `[` would hide the change it is. Each version itself is drawn by the document's editor (`document-body`, `document-version-body`).",
|
|
@@ -17164,16 +17163,16 @@ var DISPATCH_READING_SURFACES = [
|
|
|
17164
17163
|
{
|
|
17165
17164
|
files: [
|
|
17166
17165
|
"packages/dispatch/web/src/features/margin/ThreadCard.tsx",
|
|
17167
|
-
"packages/dispatch/web/src/features/
|
|
17166
|
+
"packages/dispatch/web/src/features/ask-body/AskAnchorLink.tsx",
|
|
17168
17167
|
"packages/dispatch/web/src/features/inbox/ThreadBody.tsx",
|
|
17169
17168
|
"packages/dispatch/web/src/features/conversation/MentionComposer.tsx",
|
|
17170
17169
|
"packages/dispatch/web/src/features/conversation/KeptDraftOffers.tsx",
|
|
17171
17170
|
"packages/dispatch/web/src/features/margin/CommentsTab.tsx",
|
|
17172
|
-
"packages/dispatch/web/src/features/
|
|
17171
|
+
"packages/dispatch/web/src/features/decision-card/DecisionCard.tsx",
|
|
17173
17172
|
"packages/dispatch/web/src/features/activity/activity-model.ts"
|
|
17174
17173
|
],
|
|
17175
17174
|
reach: "/projects/<PROJECT>/documents/<SLUG>, the quote over a thread card's comment",
|
|
17176
|
-
reason: "An anchor's quote is the document's own words at the place a comment or an ask was left, not a text anyone wrote for this surface: the server matches and stores it as the document's flattened text, never its markdown (`pmdoc.FindQuote`), so a mention in the document is already the words it reads as there, and nothing in the quote is markdown to render. It is shown as the characters it is.
|
|
17175
|
+
reason: "An anchor's quote is the document's own words at the place a comment or an ask was left, not a text anyone wrote for this surface: the server matches and stores it as the document's flattened text, never its markdown (`pmdoc.FindQuote`), so a mention in the document is already the words it reads as there, and nothing in the quote is markdown to render. It is shown as the characters it is. A decision's quote is the words of its first block's reading, whichever reading it was read by, so it is those words here too.",
|
|
17177
17176
|
record: false,
|
|
17178
17177
|
rendered: false,
|
|
17179
17178
|
surface: "anchor-quote"
|
|
@@ -17460,7 +17459,7 @@ var DISPATCH_READING_SURFACES = [
|
|
|
17460
17459
|
"packages/dispatch/web/src/features/inbox/question-label.ts",
|
|
17461
17460
|
"packages/dispatch/web/src/features/inbox/useAskAnswerForm.ts",
|
|
17462
17461
|
"packages/dispatch/web/src/features/inbox/AskThread.tsx",
|
|
17463
|
-
"packages/dispatch/web/src/features/
|
|
17462
|
+
"packages/dispatch/web/src/features/ask-body/DeclineControl.tsx",
|
|
17464
17463
|
"packages/dispatch/web/src/features/issue/CreateIssueDialog.tsx"
|
|
17465
17464
|
],
|
|
17466
17465
|
proof: {
|
|
@@ -18891,7 +18890,10 @@ var WRITING_BOXES = [
|
|
|
18891
18890
|
box: "inbox-thread-reply",
|
|
18892
18891
|
covered: true,
|
|
18893
18892
|
delivers: true,
|
|
18894
|
-
files: [
|
|
18893
|
+
files: [
|
|
18894
|
+
"packages/dispatch/web/src/features/dashboard/ThreadItem.tsx",
|
|
18895
|
+
"packages/dispatch/web/src/features/inbox/ThreadBody.tsx"
|
|
18896
|
+
],
|
|
18895
18897
|
issueRows: true,
|
|
18896
18898
|
reach: "Reply",
|
|
18897
18899
|
write: "comment"
|
|
@@ -18900,7 +18902,10 @@ var WRITING_BOXES = [
|
|
|
18900
18902
|
box: "inbox-thread-reply",
|
|
18901
18903
|
covered: true,
|
|
18902
18904
|
delivers: false,
|
|
18903
|
-
files: [
|
|
18905
|
+
files: [
|
|
18906
|
+
"packages/dispatch/web/src/features/dashboard/ThreadItem.tsx",
|
|
18907
|
+
"packages/dispatch/web/src/features/inbox/ThreadBody.tsx"
|
|
18908
|
+
],
|
|
18904
18909
|
issueRows: true,
|
|
18905
18910
|
reach: "Reply",
|
|
18906
18911
|
write: "message-reply"
|
|
@@ -19032,7 +19037,7 @@ var WRITING_BOXES = [
|
|
|
19032
19037
|
box: "ask-answer",
|
|
19033
19038
|
covered: true,
|
|
19034
19039
|
delivers: false,
|
|
19035
|
-
files: ["packages/dispatch/web/src/features/
|
|
19040
|
+
files: ["packages/dispatch/web/src/features/ask-body/AskBody.tsx"],
|
|
19036
19041
|
issueRows: true,
|
|
19037
19042
|
reach: "[data-ask-answer]",
|
|
19038
19043
|
write: "ask-answer"
|
|
@@ -19041,7 +19046,7 @@ var WRITING_BOXES = [
|
|
|
19041
19046
|
box: "ask-answer",
|
|
19042
19047
|
covered: true,
|
|
19043
19048
|
delivers: true,
|
|
19044
|
-
files: ["packages/dispatch/web/src/features/
|
|
19049
|
+
files: ["packages/dispatch/web/src/features/ask-body/AskBody.tsx"],
|
|
19045
19050
|
issueRows: true,
|
|
19046
19051
|
reach: "[data-ask-answer]",
|
|
19047
19052
|
write: "ask-back"
|
|
@@ -19050,7 +19055,7 @@ var WRITING_BOXES = [
|
|
|
19050
19055
|
box: "ask-decline-note",
|
|
19051
19056
|
covered: true,
|
|
19052
19057
|
delivers: false,
|
|
19053
|
-
files: ["packages/dispatch/web/src/features/
|
|
19058
|
+
files: ["packages/dispatch/web/src/features/ask-body/DeclineControl.tsx"],
|
|
19054
19059
|
issueRows: true,
|
|
19055
19060
|
reach: "Note (optional)",
|
|
19056
19061
|
write: "ask-decline"
|
|
@@ -19069,7 +19074,7 @@ var WRITING_BOXES = [
|
|
|
19069
19074
|
covered: true,
|
|
19070
19075
|
delivers: true,
|
|
19071
19076
|
files: [
|
|
19072
|
-
"packages/dispatch/web/src/features/
|
|
19077
|
+
"packages/dispatch/web/src/features/decision-card/DecisionCard.tsx",
|
|
19073
19078
|
"packages/dispatch/web/src/features/issue-page/DecisionActions.tsx"
|
|
19074
19079
|
],
|
|
19075
19080
|
issueRows: true,
|
package/dist/dispatch.js
CHANGED
|
@@ -14288,26 +14288,6 @@ var DISPATCH_KEY_PATTERN = /^([A-Z][A-Z0-9]*)-([0-9]+)$/;
|
|
|
14288
14288
|
function isLegionRole(role) {
|
|
14289
14289
|
return LEGION_ROLES.some((candidate) => candidate === role);
|
|
14290
14290
|
}
|
|
14291
|
-
function roleForPhase(phase) {
|
|
14292
|
-
switch (phase) {
|
|
14293
|
-
case "planning":
|
|
14294
|
-
return "planner";
|
|
14295
|
-
case "implementing":
|
|
14296
|
-
case "retro":
|
|
14297
|
-
return "implementer";
|
|
14298
|
-
case "testing":
|
|
14299
|
-
return "tester";
|
|
14300
|
-
case "reviewing":
|
|
14301
|
-
return "reviewer";
|
|
14302
|
-
case "admitted":
|
|
14303
|
-
case "accepting":
|
|
14304
|
-
return "architect";
|
|
14305
|
-
case "merging":
|
|
14306
|
-
return "merger";
|
|
14307
|
-
default:
|
|
14308
|
-
return;
|
|
14309
|
-
}
|
|
14310
|
-
}
|
|
14311
14291
|
function isLegionProjectToken(project) {
|
|
14312
14292
|
return PROJECT_TOKEN.test(project);
|
|
14313
14293
|
}
|
|
@@ -14324,6 +14304,9 @@ function roleToken(project, issue, role) {
|
|
|
14324
14304
|
const [, dispatchProject, number] = dispatchMatch;
|
|
14325
14305
|
return `legion-${project}-${dispatchProject?.toLowerCase()}-${number}-${role}`;
|
|
14326
14306
|
}
|
|
14307
|
+
function roleTopic(token) {
|
|
14308
|
+
return `${ROLE_TOPIC_PREFIX}${token}`;
|
|
14309
|
+
}
|
|
14327
14310
|
|
|
14328
14311
|
// ../contracts/src/dispatch-api-core.ts
|
|
14329
14312
|
var DisplayTreeSchema = looseObject({ type: string2() });
|
|
@@ -17487,21 +17470,21 @@ var DISPATCH_READING_SURFACES = [
|
|
|
17487
17470
|
surface: "approval-review-reason"
|
|
17488
17471
|
},
|
|
17489
17472
|
{
|
|
17490
|
-
files: ["packages/dispatch/web/src/features/
|
|
17473
|
+
files: ["packages/dispatch/web/src/features/ask-body/ask-text.tsx"],
|
|
17491
17474
|
reach: "/, an ask card's question",
|
|
17492
17475
|
record: true,
|
|
17493
17476
|
rendered: true,
|
|
17494
17477
|
surface: "ask-card-question"
|
|
17495
17478
|
},
|
|
17496
17479
|
{
|
|
17497
|
-
files: ["packages/dispatch/web/src/features/
|
|
17480
|
+
files: ["packages/dispatch/web/src/features/ask-body/ask-text.tsx"],
|
|
17498
17481
|
reach: "/, an ask card's edit history",
|
|
17499
17482
|
record: true,
|
|
17500
17483
|
rendered: true,
|
|
17501
17484
|
surface: "ask-edit-history"
|
|
17502
17485
|
},
|
|
17503
17486
|
{
|
|
17504
|
-
files: ["packages/dispatch/web/src/features/
|
|
17487
|
+
files: ["packages/dispatch/web/src/features/ask-body/ask-text.tsx"],
|
|
17505
17488
|
reach: "/, an ask card's earlier answers",
|
|
17506
17489
|
record: true,
|
|
17507
17490
|
rendered: true,
|
|
@@ -17509,7 +17492,7 @@ var DISPATCH_READING_SURFACES = [
|
|
|
17509
17492
|
},
|
|
17510
17493
|
{
|
|
17511
17494
|
files: [
|
|
17512
|
-
"packages/dispatch/web/src/features/
|
|
17495
|
+
"packages/dispatch/web/src/features/ask-body/ask-text.tsx",
|
|
17513
17496
|
"packages/dispatch/web/src/features/activity/EventBody.tsx"
|
|
17514
17497
|
],
|
|
17515
17498
|
reach: "/, an ask card's earlier answers, an option one chose; /issues/<ISSUE>/activity, a pinned changed answer's `was:` line",
|
|
@@ -17518,14 +17501,14 @@ var DISPATCH_READING_SURFACES = [
|
|
|
17518
17501
|
surface: "earlier-chosen-option"
|
|
17519
17502
|
},
|
|
17520
17503
|
{
|
|
17521
|
-
files: ["packages/dispatch/web/src/features/
|
|
17504
|
+
files: ["packages/dispatch/web/src/features/ask-body/ask-text.tsx"],
|
|
17522
17505
|
reach: "/, an answered ask's question and answer",
|
|
17523
17506
|
record: true,
|
|
17524
17507
|
rendered: true,
|
|
17525
17508
|
surface: "answered-ask"
|
|
17526
17509
|
},
|
|
17527
17510
|
{
|
|
17528
|
-
files: ["packages/dispatch/web/src/features/
|
|
17511
|
+
files: ["packages/dispatch/web/src/features/ask-body/ask-text.tsx"],
|
|
17529
17512
|
reach: "/, a resolved ask's question and resolution reason",
|
|
17530
17513
|
record: true,
|
|
17531
17514
|
rendered: true,
|
|
@@ -17533,7 +17516,7 @@ var DISPATCH_READING_SURFACES = [
|
|
|
17533
17516
|
},
|
|
17534
17517
|
{
|
|
17535
17518
|
files: [
|
|
17536
|
-
"packages/dispatch/web/src/features/
|
|
17519
|
+
"packages/dispatch/web/src/features/ask-body/ask-text.tsx",
|
|
17537
17520
|
"packages/dispatch/web/src/features/issue-page/NodeRow.tsx"
|
|
17538
17521
|
],
|
|
17539
17522
|
reach: "/, an ask option's label and description",
|
|
@@ -17670,6 +17653,22 @@ var DISPATCH_READING_SURFACES = [
|
|
|
17670
17653
|
rendered: false,
|
|
17671
17654
|
surface: "decision-change-quote"
|
|
17672
17655
|
},
|
|
17656
|
+
{
|
|
17657
|
+
cannotCarry: {
|
|
17658
|
+
forms: ["question-id"],
|
|
17659
|
+
why: "The card is handed the statement's block and none of its document, so no question map is read for the line and a `#id` in it is drawn as written."
|
|
17660
|
+
},
|
|
17661
|
+
files: ["packages/dispatch/web/src/features/decision-card/DecisionCard.tsx"],
|
|
17662
|
+
proof: {
|
|
17663
|
+
file: "packages/dispatch/web/src/features/decision-card/DecisionCard.test.tsx",
|
|
17664
|
+
test: "a statement's link reads its first line as plain words"
|
|
17665
|
+
},
|
|
17666
|
+
reach: "/issues/<ISSUE>/decisions, a decision's statement link; /issues/<ISSUE>/spec, a margin decision card's statement link",
|
|
17667
|
+
reason: `A statement a decision shaped is a link, worded with the first line of the block's text. ${PLAIN_WORDS_REASON} ${LOAD_STATE_REASON}`,
|
|
17668
|
+
record: true,
|
|
17669
|
+
rendered: false,
|
|
17670
|
+
surface: "decision-statement-line"
|
|
17671
|
+
},
|
|
17673
17672
|
{
|
|
17674
17673
|
files: ["packages/dispatch/web/src/features/issue/SpecRequirements.tsx"],
|
|
17675
17674
|
reach: "/issues/<ISSUE>/spec, a requirement's line under Requirements",
|
|
@@ -17699,7 +17698,7 @@ var DISPATCH_READING_SURFACES = [
|
|
|
17699
17698
|
"packages/dispatch/web/src/features/doc/ChangeView.tsx",
|
|
17700
17699
|
"packages/dispatch/web/src/features/artifacts/ArtifactDetails.tsx",
|
|
17701
17700
|
"packages/dispatch/web/src/features/doc/ProofDocument.tsx",
|
|
17702
|
-
"packages/dispatch/web/src/features/
|
|
17701
|
+
"packages/dispatch/web/src/features/ask-body/EarlierApproval.tsx"
|
|
17703
17702
|
],
|
|
17704
17703
|
reach: "/projects/<PROJECT>/documents/<SLUG>, Compare between two versions",
|
|
17705
17704
|
reason: "A diff shows the exact characters a change swaps, the removed beside the added, so it is drawn as the characters each version holds rather than rendered (R6): a rendered `**` or `[` would hide the change it is. Each version itself is drawn by the document's editor (`document-body`, `document-version-body`).",
|
|
@@ -17764,16 +17763,16 @@ var DISPATCH_READING_SURFACES = [
|
|
|
17764
17763
|
{
|
|
17765
17764
|
files: [
|
|
17766
17765
|
"packages/dispatch/web/src/features/margin/ThreadCard.tsx",
|
|
17767
|
-
"packages/dispatch/web/src/features/
|
|
17766
|
+
"packages/dispatch/web/src/features/ask-body/AskAnchorLink.tsx",
|
|
17768
17767
|
"packages/dispatch/web/src/features/inbox/ThreadBody.tsx",
|
|
17769
17768
|
"packages/dispatch/web/src/features/conversation/MentionComposer.tsx",
|
|
17770
17769
|
"packages/dispatch/web/src/features/conversation/KeptDraftOffers.tsx",
|
|
17771
17770
|
"packages/dispatch/web/src/features/margin/CommentsTab.tsx",
|
|
17772
|
-
"packages/dispatch/web/src/features/
|
|
17771
|
+
"packages/dispatch/web/src/features/decision-card/DecisionCard.tsx",
|
|
17773
17772
|
"packages/dispatch/web/src/features/activity/activity-model.ts"
|
|
17774
17773
|
],
|
|
17775
17774
|
reach: "/projects/<PROJECT>/documents/<SLUG>, the quote over a thread card's comment",
|
|
17776
|
-
reason: "An anchor's quote is the document's own words at the place a comment or an ask was left, not a text anyone wrote for this surface: the server matches and stores it as the document's flattened text, never its markdown (`pmdoc.FindQuote`), so a mention in the document is already the words it reads as there, and nothing in the quote is markdown to render. It is shown as the characters it is.
|
|
17775
|
+
reason: "An anchor's quote is the document's own words at the place a comment or an ask was left, not a text anyone wrote for this surface: the server matches and stores it as the document's flattened text, never its markdown (`pmdoc.FindQuote`), so a mention in the document is already the words it reads as there, and nothing in the quote is markdown to render. It is shown as the characters it is. A decision's quote is the words of its first block's reading, whichever reading it was read by, so it is those words here too.",
|
|
17777
17776
|
record: false,
|
|
17778
17777
|
rendered: false,
|
|
17779
17778
|
surface: "anchor-quote"
|
|
@@ -18060,7 +18059,7 @@ var DISPATCH_READING_SURFACES = [
|
|
|
18060
18059
|
"packages/dispatch/web/src/features/inbox/question-label.ts",
|
|
18061
18060
|
"packages/dispatch/web/src/features/inbox/useAskAnswerForm.ts",
|
|
18062
18061
|
"packages/dispatch/web/src/features/inbox/AskThread.tsx",
|
|
18063
|
-
"packages/dispatch/web/src/features/
|
|
18062
|
+
"packages/dispatch/web/src/features/ask-body/DeclineControl.tsx",
|
|
18064
18063
|
"packages/dispatch/web/src/features/issue/CreateIssueDialog.tsx"
|
|
18065
18064
|
],
|
|
18066
18065
|
proof: {
|
|
@@ -19491,7 +19490,10 @@ var WRITING_BOXES = [
|
|
|
19491
19490
|
box: "inbox-thread-reply",
|
|
19492
19491
|
covered: true,
|
|
19493
19492
|
delivers: true,
|
|
19494
|
-
files: [
|
|
19493
|
+
files: [
|
|
19494
|
+
"packages/dispatch/web/src/features/dashboard/ThreadItem.tsx",
|
|
19495
|
+
"packages/dispatch/web/src/features/inbox/ThreadBody.tsx"
|
|
19496
|
+
],
|
|
19495
19497
|
issueRows: true,
|
|
19496
19498
|
reach: "Reply",
|
|
19497
19499
|
write: "comment"
|
|
@@ -19500,7 +19502,10 @@ var WRITING_BOXES = [
|
|
|
19500
19502
|
box: "inbox-thread-reply",
|
|
19501
19503
|
covered: true,
|
|
19502
19504
|
delivers: false,
|
|
19503
|
-
files: [
|
|
19505
|
+
files: [
|
|
19506
|
+
"packages/dispatch/web/src/features/dashboard/ThreadItem.tsx",
|
|
19507
|
+
"packages/dispatch/web/src/features/inbox/ThreadBody.tsx"
|
|
19508
|
+
],
|
|
19504
19509
|
issueRows: true,
|
|
19505
19510
|
reach: "Reply",
|
|
19506
19511
|
write: "message-reply"
|
|
@@ -19632,7 +19637,7 @@ var WRITING_BOXES = [
|
|
|
19632
19637
|
box: "ask-answer",
|
|
19633
19638
|
covered: true,
|
|
19634
19639
|
delivers: false,
|
|
19635
|
-
files: ["packages/dispatch/web/src/features/
|
|
19640
|
+
files: ["packages/dispatch/web/src/features/ask-body/AskBody.tsx"],
|
|
19636
19641
|
issueRows: true,
|
|
19637
19642
|
reach: "[data-ask-answer]",
|
|
19638
19643
|
write: "ask-answer"
|
|
@@ -19641,7 +19646,7 @@ var WRITING_BOXES = [
|
|
|
19641
19646
|
box: "ask-answer",
|
|
19642
19647
|
covered: true,
|
|
19643
19648
|
delivers: true,
|
|
19644
|
-
files: ["packages/dispatch/web/src/features/
|
|
19649
|
+
files: ["packages/dispatch/web/src/features/ask-body/AskBody.tsx"],
|
|
19645
19650
|
issueRows: true,
|
|
19646
19651
|
reach: "[data-ask-answer]",
|
|
19647
19652
|
write: "ask-back"
|
|
@@ -19650,7 +19655,7 @@ var WRITING_BOXES = [
|
|
|
19650
19655
|
box: "ask-decline-note",
|
|
19651
19656
|
covered: true,
|
|
19652
19657
|
delivers: false,
|
|
19653
|
-
files: ["packages/dispatch/web/src/features/
|
|
19658
|
+
files: ["packages/dispatch/web/src/features/ask-body/DeclineControl.tsx"],
|
|
19654
19659
|
issueRows: true,
|
|
19655
19660
|
reach: "Note (optional)",
|
|
19656
19661
|
write: "ask-decline"
|
|
@@ -19669,7 +19674,7 @@ var WRITING_BOXES = [
|
|
|
19669
19674
|
covered: true,
|
|
19670
19675
|
delivers: true,
|
|
19671
19676
|
files: [
|
|
19672
|
-
"packages/dispatch/web/src/features/
|
|
19677
|
+
"packages/dispatch/web/src/features/decision-card/DecisionCard.tsx",
|
|
19673
19678
|
"packages/dispatch/web/src/features/issue-page/DecisionActions.tsx"
|
|
19674
19679
|
],
|
|
19675
19680
|
issueRows: true,
|