@dev.fast/whiteboard 0.5.2-preview.20261109.148 → 0.5.2-preview.20261109.149
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/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.5.2-preview.20261109.
|
|
1
|
+
{"version":"0.5.2-preview.20261109.149","commit":"4c0a0af9c57fe774cc885574b7e4236309456dc1","dirty":true,"builtAt":"2026-11-09T21:16:08.874Z"}
|
|
@@ -1318,7 +1318,8 @@ function openGatewayMemory(home, log = () => {}) {
|
|
|
1318
1318
|
const REMOTE_VERBS = /* @__PURE__ */ new Set([
|
|
1319
1319
|
"authoringCapabilities",
|
|
1320
1320
|
"openApiReview",
|
|
1321
|
-
"focusWindow"
|
|
1321
|
+
"focusWindow",
|
|
1322
|
+
"renderAnimation"
|
|
1322
1323
|
]);
|
|
1323
1324
|
function createGatewayPushes(input) {
|
|
1324
1325
|
const { hosts, relay } = input;
|
|
@@ -1328,7 +1329,7 @@ function createGatewayPushes(input) {
|
|
|
1328
1329
|
ok: false,
|
|
1329
1330
|
error: `${request.name} is not available from another machine.`
|
|
1330
1331
|
};
|
|
1331
|
-
if (request.name === "openApiReview") {
|
|
1332
|
+
if (request.name === "openApiReview" || request.name === "renderAnimation") {
|
|
1332
1333
|
const refused = await input.claim(remote, request.args.reviewId);
|
|
1333
1334
|
if (refused) return {
|
|
1334
1335
|
ok: false,
|
|
@@ -1682,6 +1683,63 @@ const REMOTE_ROUTES = [
|
|
|
1682
1683
|
method: "GET",
|
|
1683
1684
|
path: "stack"
|
|
1684
1685
|
},
|
|
1686
|
+
{
|
|
1687
|
+
method: "GET",
|
|
1688
|
+
path: "place"
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
method: "GET",
|
|
1692
|
+
path: "project"
|
|
1693
|
+
},
|
|
1694
|
+
{
|
|
1695
|
+
method: "GET",
|
|
1696
|
+
path: "inspect"
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
method: "GET",
|
|
1700
|
+
path: "history"
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
method: "GET",
|
|
1704
|
+
path: "lenses"
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
method: "GET",
|
|
1708
|
+
path: "activity"
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
method: "POST",
|
|
1712
|
+
path: "activity/:action{begin|update|end}"
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
method: "POST",
|
|
1716
|
+
path: "person-edit"
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
method: "POST",
|
|
1720
|
+
path: "focus"
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
method: "POST",
|
|
1724
|
+
path: "animation-run"
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
method: "GET",
|
|
1728
|
+
path: "render",
|
|
1729
|
+
slow: true
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
method: "GET",
|
|
1733
|
+
path: "links"
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
method: "GET",
|
|
1737
|
+
path: "links/peek"
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
method: "GET",
|
|
1741
|
+
path: "commit/:commit"
|
|
1742
|
+
},
|
|
1685
1743
|
{
|
|
1686
1744
|
method: "GET",
|
|
1687
1745
|
path: "tree"
|
|
@@ -1754,7 +1812,7 @@ const REMOTE_ROUTES = [
|
|
|
1754
1812
|
},
|
|
1755
1813
|
{
|
|
1756
1814
|
method: "POST",
|
|
1757
|
-
path: "ask/:thread/:action{prompt|permission|files|retry|cancel|close}"
|
|
1815
|
+
path: "ask/:thread/:action{prompt|permission|files|retry|cancel|close|viewed}"
|
|
1758
1816
|
},
|
|
1759
1817
|
{
|
|
1760
1818
|
method: "DELETE",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dev.fast/whiteboard",
|
|
3
|
-
"version": "0.5.2-preview.20261109.
|
|
3
|
+
"version": "0.5.2-preview.20261109.149",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"typescript": "6.0.3",
|
|
77
77
|
"vitest": "4.1.12",
|
|
78
78
|
"@dev.fast/json": "0.0.0",
|
|
79
|
-
"@dev.fast/review-share-protocol": "0.6.0",
|
|
80
79
|
"@dev.fast/trace-core": "0.0.0",
|
|
80
|
+
"@dev.fast/review-share-protocol": "0.6.0",
|
|
81
81
|
"@dev.fast/trace-protocol": "0.5.0",
|
|
82
82
|
"@dev.fast/review-protocol": "0.0.0",
|
|
83
83
|
"@dev.fast/whiteboard-document": "0.3.0"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"repo": "devdotfast/review",
|
|
91
91
|
"docs": "packages/review/instructions/authoring.md"
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "4c0a0af9c57fe774cc885574b7e4236309456dc1",
|
|
94
94
|
"scripts": {
|
|
95
95
|
"prebuild": "pnpm run build:workspace-deps",
|
|
96
96
|
"build": "node --max-old-space-size=8192 node_modules/tsdown/dist/run.mjs",
|
|
@@ -20,6 +20,7 @@ const REMOTE_VERBS = new Set<ReviewVerbRequest["name"]>([
|
|
|
20
20
|
"authoringCapabilities",
|
|
21
21
|
"openApiReview",
|
|
22
22
|
"focusWindow",
|
|
23
|
+
"renderAnimation",
|
|
23
24
|
]);
|
|
24
25
|
|
|
25
26
|
export function createGatewayPushes(input: {
|
|
@@ -41,7 +42,10 @@ export function createGatewayPushes(input: {
|
|
|
41
42
|
error: `${request.name} is not available from another machine.`,
|
|
42
43
|
};
|
|
43
44
|
|
|
44
|
-
if (
|
|
45
|
+
if (
|
|
46
|
+
request.name === "openApiReview" ||
|
|
47
|
+
request.name === "renderAnimation"
|
|
48
|
+
) {
|
|
45
49
|
const refused = await input.claim(remote, request.args.reviewId);
|
|
46
50
|
|
|
47
51
|
if (refused) return { ok: false, error: refused };
|
|
@@ -63,6 +63,20 @@ const REMOTE_ROUTES: readonly RemoteRoute[] = [
|
|
|
63
63
|
{ method: "GET", path: "diff" },
|
|
64
64
|
{ method: "GET", path: "structural-diff" },
|
|
65
65
|
{ method: "GET", path: "stack" },
|
|
66
|
+
{ method: "GET", path: "place" },
|
|
67
|
+
{ method: "GET", path: "project" },
|
|
68
|
+
{ method: "GET", path: "inspect" },
|
|
69
|
+
{ method: "GET", path: "history" },
|
|
70
|
+
{ method: "GET", path: "lenses" },
|
|
71
|
+
{ method: "GET", path: "activity" },
|
|
72
|
+
{ method: "POST", path: "activity/:action{begin|update|end}" },
|
|
73
|
+
{ method: "POST", path: "person-edit" },
|
|
74
|
+
{ method: "POST", path: "focus" },
|
|
75
|
+
{ method: "POST", path: "animation-run" },
|
|
76
|
+
{ method: "GET", path: "render", slow: true },
|
|
77
|
+
{ method: "GET", path: "links" },
|
|
78
|
+
{ method: "GET", path: "links/peek" },
|
|
79
|
+
{ method: "GET", path: "commit/:commit" },
|
|
66
80
|
{ method: "GET", path: "tree" },
|
|
67
81
|
{ method: "GET", path: "file" },
|
|
68
82
|
{ method: "GET", path: "resources/:name" },
|
|
@@ -85,7 +99,7 @@ const REMOTE_ROUTES: readonly RemoteRoute[] = [
|
|
|
85
99
|
},
|
|
86
100
|
{
|
|
87
101
|
method: "POST",
|
|
88
|
-
path: "ask/:thread/:action{prompt|permission|files|retry|cancel|close}",
|
|
102
|
+
path: "ask/:thread/:action{prompt|permission|files|retry|cancel|close|viewed}",
|
|
89
103
|
},
|
|
90
104
|
{ method: "DELETE", path: "ask/:thread" },
|
|
91
105
|
];
|