@anthusai/papyrus 2.0.0-next.12 → 2.0.0-next.14

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 (49) hide show
  1. package/amplify/data/resource.js +6 -0
  2. package/amplify/data/resource.ts +7 -0
  3. package/amplify/data/schema.js +8 -0
  4. package/amplify/data/schema.ts +9 -0
  5. package/amplify/functions/content-actions/handler.py +15 -0
  6. package/amplify/functions/editorial-checks/requirements.txt +1 -1
  7. package/amplify/functions/editorial-checks/resource.js +3 -3
  8. package/amplify/functions/editorial-checks/resource.ts +3 -3
  9. package/amplify/functions/editorial-checks/schema.js +2 -2
  10. package/amplify/functions/editorial-checks/schema.ts +2 -2
  11. package/amplify/functions/monitoring-view/handler.py +11 -0
  12. package/amplify/functions/monitoring-view/resource.js +24 -0
  13. package/amplify/functions/monitoring-view/resource.ts +34 -0
  14. package/amplify/functions/monitoring-view/schema.js +16 -0
  15. package/amplify/functions/monitoring-view/schema.ts +18 -0
  16. package/amplify/functions/monitoring-view/wire.js +37 -0
  17. package/amplify/functions/monitoring-view/wire.ts +47 -0
  18. package/amplify/publication/redirect-and-index.js +80 -0
  19. package/amplify/publication/redirect-rules.js +56 -0
  20. package/amplify/publication/redirect-rules.ts +73 -0
  21. package/amplify/publication/s3-projection.js +5 -1
  22. package/amplify/publication/s3-projection.ts +7 -1
  23. package/amplify/site-backend.js +9 -0
  24. package/amplify/site-backend.ts +9 -0
  25. package/components/editorial-checks-admin-panel.tsx +5 -5
  26. package/components/monitoring-overview-view.tsx +240 -0
  27. package/components/monitoring-panel.tsx +40 -0
  28. package/components/newsroom-organizer.css +17 -0
  29. package/components/newsroom-references-view.tsx +14 -14
  30. package/components/publication-cyclotron-panel.tsx +10 -10
  31. package/components/reference-add-entry.tsx +75 -0
  32. package/components/reference-curation-controls.tsx +30 -21
  33. package/components/reference-cyclotron-priming.tsx +4 -4
  34. package/components/reference-cyclotron-suggestion.tsx +1 -1
  35. package/components/reference-priming.tsx +14 -10
  36. package/components/reference-section-suggestion.tsx +1 -1
  37. package/components/topic-steering-workspace.tsx +13 -2
  38. package/lib/category-repository.ts +11 -9
  39. package/lib/editorial-checks-demo.ts +1 -1
  40. package/lib/editorial-checks.ts +2 -2
  41. package/lib/editorial-preview.ts +5 -5
  42. package/lib/monitoring-client.ts +29 -0
  43. package/lib/monitoring-overview-fixture.ts +51 -0
  44. package/lib/monitoring-overview.ts +144 -0
  45. package/lib/relevance-status.ts +2 -2
  46. package/lib/site-brand-tenant.ts +11 -6
  47. package/lib/site-brand.ts +6 -3
  48. package/package.json +8 -2
  49. package/routes.manifest.json +1 -1
package/lib/site-brand.ts CHANGED
@@ -142,9 +142,12 @@ export type SiteBrand = {
142
142
  readerBasePath?: string;
143
143
  opsChrome: OpsChrome;
144
144
  corpusKey: string;
145
- steeringConfigPath: string;
146
- newsroomSectionsConfigPath: string;
147
- analysisProfilesPath: string;
145
+ /** Optional repo file for topic steering. Editorial and steering configuration is backend data; a data-driven site sets none and nothing is looked up. */
146
+ steeringConfigPath?: string;
147
+ /** Optional repo file for the local-preview demo sections only. Sections live in the backend. */
148
+ newsroomSectionsConfigPath?: string;
149
+ /** Optional repo file listing analysis profiles. */
150
+ analysisProfilesPath?: string;
148
151
  publicationName: string;
149
152
  components?: SiteBrandComponents;
150
153
  /**
package/package.json CHANGED
@@ -85,6 +85,8 @@
85
85
  "./components/item-stream-view": "./components/item-stream-view.tsx",
86
86
  "./components/markus-body-editor": "./components/markus-body-editor.tsx",
87
87
  "./components/markus-ir-preview": "./components/markus-ir-preview.tsx",
88
+ "./components/monitoring-overview-view": "./components/monitoring-overview-view.tsx",
89
+ "./components/monitoring-panel": "./components/monitoring-panel.tsx",
88
90
  "./components/news-desk-client-provider": "./components/news-desk-client-provider.tsx",
89
91
  "./components/news-desk-page": "./components/news-desk-page.tsx",
90
92
  "./components/news-desk-taxonomy-client": "./components/news-desk-taxonomy-client.ts",
@@ -118,6 +120,7 @@
118
120
  "./components/reader-auth-state": "./components/reader-auth-state.ts",
119
121
  "./components/reader-settings": "./components/reader-settings.ts",
120
122
  "./components/reader-theme-control": "./components/reader-theme-control.tsx",
123
+ "./components/reference-add-entry": "./components/reference-add-entry.tsx",
121
124
  "./components/reference-curation-controls": "./components/reference-curation-controls.tsx",
122
125
  "./components/reference-cyclotron-priming": "./components/reference-cyclotron-priming.tsx",
123
126
  "./components/reference-cyclotron-status": "./components/reference-cyclotron-status.tsx",
@@ -224,6 +227,9 @@
224
227
  "./lib/markus-projection": "./lib/markus-projection.ts",
225
228
  "./lib/markus-to-article": "./lib/markus-to-article.ts",
226
229
  "./lib/media-route-response": "./lib/media-route-response.ts",
230
+ "./lib/monitoring-client": "./lib/monitoring-client.ts",
231
+ "./lib/monitoring-overview-fixture": "./lib/monitoring-overview-fixture.ts",
232
+ "./lib/monitoring-overview": "./lib/monitoring-overview.ts",
227
233
  "./lib/news-desk-session": "./lib/news-desk-session.ts",
228
234
  "./lib/newspaper-layout": "./lib/newspaper-layout.ts",
229
235
  "./lib/newsroom-articles": "./lib/newsroom-articles.ts",
@@ -395,7 +401,7 @@
395
401
  "optional": true
396
402
  }
397
403
  },
398
- "version": "2.0.0-next.12",
404
+ "version": "2.0.0-next.14",
399
405
  "dependencies": {
400
406
  "@aws-amplify/adapter-nextjs": "^1.7.3",
401
407
  "@aws-crypto/sha256-js": "5.2.0",
@@ -435,7 +441,7 @@
435
441
  "class-variance-authority": "^0.7.1",
436
442
  "clsx": "^2.1.1",
437
443
  "cmdk": "^1.1.1",
438
- "cyclotron": "https://github.com/AnthusAI/Cyclotron/releases/download/ui-v0.2.2/cyclotron-0.2.2.tgz",
444
+ "cyclotron": "https://github.com/AnthusAI/Cyclotron/releases/download/ui-v0.2.3/cyclotron-0.2.3.tgz",
439
445
  "d3": "^7.9.0",
440
446
  "esbuild": "^0.28.2",
441
447
  "framer-motion": "^14.3.0",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.0-next.12",
2
+ "version": "2.0.0-next.14",
3
3
  "routes": [
4
4
  {
5
5
  "file": "app/%5F_preview/[[...path]]/route.ts",