@anthusai/papyrus 5.43.0-next.2 → 5.43.0-next.21

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.
Files changed (85) hide show
  1. package/amplify/data/resource.js +6 -0
  2. package/amplify/data/resource.ts +7 -0
  3. package/amplify/data/schema.js +6 -0
  4. package/amplify/data/schema.ts +7 -0
  5. package/amplify/functions/category-action/handler.ts +2 -1
  6. package/amplify/functions/content-actions/handler.py +8 -0
  7. package/amplify/functions/model-attachment-upload/handler.ts +1 -0
  8. package/amplify/functions/monitoring-view/schema.js +16 -0
  9. package/amplify/functions/monitoring-view/schema.ts +16 -0
  10. package/amplify/functions/procedure-action/handler.ts +2 -10
  11. package/amplify/functions/proposal-actions/proposals.py +20 -3
  12. package/amplify/plugins/reader-steering/function/handler.py +1 -3
  13. package/amplify/plugins/reader-steering/function/moderation.py +19 -0
  14. package/bin/papyrus-app.mjs +12 -1
  15. package/bin/papyrus-infra.mjs +21 -1
  16. package/components/dev-sandbox-editor-sign-in.tsx +2 -2
  17. package/components/monitoring-overview-view.tsx +143 -21
  18. package/components/monitoring-panel.tsx +64 -4
  19. package/components/needs-me-bodies.tsx +290 -0
  20. package/components/needs-me-detail.tsx +23 -0
  21. package/components/needs-me-feed.tsx +561 -0
  22. package/components/needs-me-reference-detail.tsx +77 -0
  23. package/components/needs-me-shared.tsx +39 -0
  24. package/components/news-desk-client-provider.tsx +24 -3
  25. package/components/news-desk-page.tsx +2 -1
  26. package/components/news-desk-taxonomy-client.ts +2 -1
  27. package/components/newsroom-access-gate.tsx +7 -5
  28. package/components/newsroom-client-shell.tsx +2 -1
  29. package/components/newsroom-ops-overview.tsx +64 -55
  30. package/components/newsroom-ops-shell.tsx +4 -2
  31. package/components/newsroom-organizer.css +60 -2
  32. package/components/newsroom-references-view.tsx +301 -138
  33. package/components/notification-cards.tsx +369 -0
  34. package/components/notification-center.tsx +324 -213
  35. package/components/papyrus-console-shell.tsx +2 -1
  36. package/components/proposals-panel.tsx +21 -24
  37. package/components/proposals-view.tsx +4 -2
  38. package/components/reference-capture-client.ts +110 -0
  39. package/components/reference-capture-panel.tsx +180 -0
  40. package/components/reference-feed.tsx +503 -0
  41. package/components/reference-review-card.tsx +110 -141
  42. package/components/references-page-loading.tsx +61 -0
  43. package/components/references-prefetch.ts +52 -0
  44. package/components/review-rating-grid.tsx +180 -0
  45. package/components/topic-steering-workspace.tsx +44 -9
  46. package/components/use-media-query.ts +16 -0
  47. package/components/use-reference-preview-attachments.ts +101 -0
  48. package/components/use-reference-ratings.ts +134 -0
  49. package/infra/amplify-app-shell.js +18 -2
  50. package/infra/amplify-app-shell.ts +18 -2
  51. package/infra/chat-stack.js +222 -0
  52. package/infra/chat-stack.ts +250 -0
  53. package/infra/chat.test.js +142 -0
  54. package/infra/chat.test.ts +151 -0
  55. package/infra/index.js +1 -0
  56. package/infra/site-config.js +58 -1
  57. package/infra/site-config.ts +78 -1
  58. package/lib/category-repository.ts +6 -1
  59. package/lib/content-actions-client.ts +18 -0
  60. package/lib/local-preview-feed-fixture.ts +63 -0
  61. package/lib/local-preview-synthetic-rejects.ts +41 -0
  62. package/lib/monitoring-client.ts +29 -2
  63. package/lib/monitoring-overview.ts +52 -1
  64. package/lib/monitoring-paging.ts +58 -0
  65. package/lib/needs-me-items.ts +289 -0
  66. package/lib/needs-me-ranking.ts +315 -0
  67. package/lib/newsroom-chat-identity.ts +2 -1
  68. package/lib/newsroom-nav.ts +1 -1
  69. package/lib/newsroom-organizer-nav.ts +2 -1
  70. package/lib/notification-feed.ts +212 -0
  71. package/lib/proposals-client.ts +29 -0
  72. package/lib/reader-subject.ts +3 -2
  73. package/lib/reference-capture.ts +293 -0
  74. package/lib/reference-feed-cache.ts +170 -0
  75. package/lib/reference-feed-ranking.ts +235 -0
  76. package/lib/reference-preview.ts +112 -0
  77. package/lib/review-client.ts +55 -5
  78. package/lib/review-drafts.ts +252 -0
  79. package/lib/review-fixture.ts +56 -2
  80. package/lib/review-requests.ts +64 -24
  81. package/lib/site-brand.ts +2 -0
  82. package/lib/staff-groups.ts +23 -0
  83. package/lib/staging-gate.ts +2 -2
  84. package/package.json +29 -1
  85. package/routes.manifest.json +1 -1
package/package.json CHANGED
@@ -91,6 +91,11 @@
91
91
  "./components/moderation-panel": "./components/moderation-panel.tsx",
92
92
  "./components/monitoring-overview-view": "./components/monitoring-overview-view.tsx",
93
93
  "./components/monitoring-panel": "./components/monitoring-panel.tsx",
94
+ "./components/needs-me-bodies": "./components/needs-me-bodies.tsx",
95
+ "./components/needs-me-detail": "./components/needs-me-detail.tsx",
96
+ "./components/needs-me-feed": "./components/needs-me-feed.tsx",
97
+ "./components/needs-me-reference-detail": "./components/needs-me-reference-detail.tsx",
98
+ "./components/needs-me-shared": "./components/needs-me-shared.tsx",
94
99
  "./components/news-desk-client-provider": "./components/news-desk-client-provider.tsx",
95
100
  "./components/news-desk-page": "./components/news-desk-page.tsx",
96
101
  "./components/news-desk-taxonomy-client": "./components/news-desk-taxonomy-client.ts",
@@ -117,6 +122,7 @@
117
122
  "./components/newsroom-theme-fonts/refined-newsprint": "./components/newsroom-theme-fonts/refined-newsprint.tsx",
118
123
  "./components/newsroom-theme": "./components/newsroom-theme.tsx",
119
124
  "./components/newsroom-topics-view": "./components/newsroom-topics-view.tsx",
125
+ "./components/notification-cards": "./components/notification-cards.tsx",
120
126
  "./components/notification-center": "./components/notification-center.tsx",
121
127
  "./components/papyrus-console-conversation": "./components/papyrus-console-conversation.tsx",
122
128
  "./components/papyrus-console-frame": "./components/papyrus-console-frame.tsx",
@@ -136,16 +142,22 @@
136
142
  "./components/reader-settings": "./components/reader-settings.ts",
137
143
  "./components/reader-theme-control": "./components/reader-theme-control.tsx",
138
144
  "./components/reference-add-entry": "./components/reference-add-entry.tsx",
145
+ "./components/reference-capture-client": "./components/reference-capture-client.ts",
146
+ "./components/reference-capture-panel": "./components/reference-capture-panel.tsx",
139
147
  "./components/reference-curation-controls": "./components/reference-curation-controls.tsx",
140
148
  "./components/reference-cyclotron-priming": "./components/reference-cyclotron-priming.tsx",
141
149
  "./components/reference-cyclotron-status": "./components/reference-cyclotron-status.tsx",
142
150
  "./components/reference-cyclotron-suggestion": "./components/reference-cyclotron-suggestion.tsx",
151
+ "./components/reference-feed": "./components/reference-feed.tsx",
143
152
  "./components/reference-live-agreement": "./components/reference-live-agreement.tsx",
144
153
  "./components/reference-priming": "./components/reference-priming.tsx",
145
154
  "./components/reference-relevance-review": "./components/reference-relevance-review.tsx",
146
155
  "./components/reference-review-card": "./components/reference-review-card.tsx",
147
156
  "./components/reference-section-suggestion": "./components/reference-section-suggestion.tsx",
148
157
  "./components/reference-source-preview": "./components/reference-source-preview.tsx",
158
+ "./components/references-page-loading": "./components/references-page-loading.tsx",
159
+ "./components/references-prefetch": "./components/references-prefetch.ts",
160
+ "./components/review-rating-grid": "./components/review-rating-grid.tsx",
149
161
  "./components/settings-page": "./components/settings-page.tsx",
150
162
  "./components/signup-entries-panel": "./components/signup-entries-panel.tsx",
151
163
  "./components/staging-banner": "./components/staging-banner.tsx",
@@ -174,8 +186,11 @@
174
186
  "./components/use-brand-fonts-ready": "./components/use-brand-fonts-ready.ts",
175
187
  "./components/use-console-visibility": "./components/use-console-visibility.ts",
176
188
  "./components/use-editorial-checks": "./components/use-editorial-checks.ts",
189
+ "./components/use-media-query": "./components/use-media-query.ts",
177
190
  "./components/use-near-viewport": "./components/use-near-viewport.ts",
178
191
  "./components/use-paged-content-item-versions": "./components/use-paged-content-item-versions.ts",
192
+ "./components/use-reference-preview-attachments": "./components/use-reference-preview-attachments.ts",
193
+ "./components/use-reference-ratings": "./components/use-reference-ratings.ts",
179
194
  "./components/use-resolved-papyrus-theme": "./components/use-resolved-papyrus-theme.ts",
180
195
  "./components/use-rhythm-overlay": "./components/use-rhythm-overlay.ts",
181
196
  "./components/wiki-concepts-view": "./components/wiki-concepts-view.tsx",
@@ -240,8 +255,10 @@
240
255
  "./lib/layout-scenarios": "./lib/layout-scenarios.ts",
241
256
  "./lib/layout-types": "./lib/layout-types.ts",
242
257
  "./lib/layout-warnings": "./lib/layout-warnings.ts",
258
+ "./lib/local-preview-feed-fixture": "./lib/local-preview-feed-fixture.ts",
243
259
  "./lib/local-preview-section-fixtures": "./lib/local-preview-section-fixtures.ts",
244
260
  "./lib/local-preview-seed": "./lib/local-preview-seed.ts",
261
+ "./lib/local-preview-synthetic-rejects": "./lib/local-preview-synthetic-rejects.ts",
245
262
  "./lib/local-preview-tenant": "./lib/local-preview-tenant.ts",
246
263
  "./lib/local-preview": "./lib/local-preview.ts",
247
264
  "./lib/markus-body": "./lib/markus-body.ts",
@@ -252,6 +269,9 @@
252
269
  "./lib/monitoring-client": "./lib/monitoring-client.ts",
253
270
  "./lib/monitoring-overview-fixture": "./lib/monitoring-overview-fixture.ts",
254
271
  "./lib/monitoring-overview": "./lib/monitoring-overview.ts",
272
+ "./lib/monitoring-paging": "./lib/monitoring-paging.ts",
273
+ "./lib/needs-me-items": "./lib/needs-me-items.ts",
274
+ "./lib/needs-me-ranking": "./lib/needs-me-ranking.ts",
255
275
  "./lib/news-desk-session": "./lib/news-desk-session.ts",
256
276
  "./lib/newsletter-api": "./lib/newsletter-api.ts",
257
277
  "./lib/newsletter-client": "./lib/newsletter-client.ts",
@@ -281,6 +301,7 @@
281
301
  "./lib/newsroom-section-routing": "./lib/newsroom-section-routing.ts",
282
302
  "./lib/newsroom-sections": "./lib/newsroom-sections.ts",
283
303
  "./lib/newsroom-topics": "./lib/newsroom-topics.ts",
304
+ "./lib/notification-feed": "./lib/notification-feed.ts",
284
305
  "./lib/oauth-redirect-priority": "./lib/oauth-redirect-priority.ts",
285
306
  "./lib/papyrus-chat-admission": "./lib/papyrus-chat-admission.ts",
286
307
  "./lib/papyrus-hosted-chat": "./lib/papyrus-hosted-chat.ts",
@@ -293,6 +314,7 @@
293
314
  "./lib/pretext-layout": "./lib/pretext-layout.ts",
294
315
  "./lib/priming-proof-report": "./lib/priming-proof-report.ts",
295
316
  "./lib/proposals-admin": "./lib/proposals-admin.ts",
317
+ "./lib/proposals-client": "./lib/proposals-client.ts",
296
318
  "./lib/prospectus-account-client": "./lib/prospectus-account-client.ts",
297
319
  "./lib/prospectus-publication-access": "./lib/prospectus-publication-access.ts",
298
320
  "./lib/prospectus-session": "./lib/prospectus-session.ts",
@@ -312,8 +334,12 @@
312
334
  "./lib/reader-static-params": "./lib/reader-static-params.ts",
313
335
  "./lib/reader-storage-url": "./lib/reader-storage-url.ts",
314
336
  "./lib/reader-subject": "./lib/reader-subject.ts",
337
+ "./lib/reference-capture": "./lib/reference-capture.ts",
315
338
  "./lib/reference-display": "./lib/reference-display.ts",
339
+ "./lib/reference-feed-cache": "./lib/reference-feed-cache.ts",
340
+ "./lib/reference-feed-ranking": "./lib/reference-feed-ranking.ts",
316
341
  "./lib/reference-policy": "./lib/reference-policy.ts",
342
+ "./lib/reference-preview": "./lib/reference-preview.ts",
317
343
  "./lib/reference-review-details": "./lib/reference-review-details.ts",
318
344
  "./lib/reference-review-request": "./lib/reference-review-request.ts",
319
345
  "./lib/reference-source-preview": "./lib/reference-source-preview.ts",
@@ -325,6 +351,7 @@
325
351
  "./lib/revalidate-prewarm": "./lib/revalidate-prewarm.ts",
326
352
  "./lib/revalidate-secret": "./lib/revalidate-secret.ts",
327
353
  "./lib/review-client": "./lib/review-client.ts",
354
+ "./lib/review-drafts": "./lib/review-drafts.ts",
328
355
  "./lib/review-fixture": "./lib/review-fixture.ts",
329
356
  "./lib/review-requests": "./lib/review-requests.ts",
330
357
  "./lib/robots-policy": "./lib/robots-policy.ts",
@@ -341,6 +368,7 @@
341
368
  "./lib/site-renderer": "./lib/site-renderer.ts",
342
369
  "./lib/site-section-suggestions": "./lib/site-section-suggestions.ts",
343
370
  "./lib/site-stack": "./lib/site-stack.ts",
371
+ "./lib/staff-groups": "./lib/staff-groups.ts",
344
372
  "./lib/staging-gate": "./lib/staging-gate.ts",
345
373
  "./lib/staging-gated-path": "./lib/staging-gated-path.ts",
346
374
  "./lib/staging-preview-object": "./lib/staging-preview-object.ts",
@@ -467,7 +495,7 @@
467
495
  "optional": true
468
496
  }
469
497
  },
470
- "version": "5.43.0-next.2",
498
+ "version": "5.43.0-next.21",
471
499
  "dependencies": {
472
500
  "@aws-amplify/adapter-nextjs": "^1.7.3",
473
501
  "@aws-crypto/sha256-js": "5.2.0",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.43.0-next.2",
2
+ "version": "5.43.0-next.21",
3
3
  "routes": [
4
4
  {
5
5
  "file": "app/%5F_preview/[[...path]]/route.ts",