@popmelt.com/core 0.24.1 → 0.25.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.
Files changed (36) hide show
  1. package/README.md +34 -2
  2. package/claude-plugin/.claude-plugin/plugin.json +1 -1
  3. package/codex-plugin/.codex-plugin/plugin.json +1 -1
  4. package/dist/ParticipantRuntime-WZLITXXM.mjs +139 -0
  5. package/dist/PopmeltTasteConnectedPane-77Z23N6Y.mjs +81 -0
  6. package/dist/PreviewRuntime-ATSECGMB.mjs +2 -0
  7. package/dist/bridge-entry.mjs +84 -71
  8. package/dist/browser-runtime-PC2NODES.mjs +2 -0
  9. package/dist/browser.mjs +1 -1
  10. package/dist/chunk-FRHGK5ZV.mjs +2 -0
  11. package/dist/chunk-NXMPY7RX.mjs +2 -0
  12. package/dist/chunk-RLCNRGNJ.mjs +77 -0
  13. package/dist/{chunk-4WAFUF5Y.mjs → chunk-VUJWDJ6C.mjs} +1 -1
  14. package/dist/chunk-XIWFG3E4.mjs +345 -0
  15. package/dist/chunk-YHITBHLH.mjs +370 -0
  16. package/dist/{chunk-3MO7Z4DV.mjs → chunk-YMJHG3Q6.mjs} +1 -1
  17. package/dist/chunk-ZJPPZLXU.mjs +2 -0
  18. package/dist/cli.mjs +109 -96
  19. package/dist/index.mjs +1 -1
  20. package/dist/plugin-astro.mjs +1 -1
  21. package/dist/plugin-next.d.mts +6 -2
  22. package/dist/plugin-next.mjs +1 -1
  23. package/dist/plugin-nuxt.mjs +1 -1
  24. package/dist/plugin-vite.mjs +1 -1
  25. package/dist/server-6X5YVYKP.mjs +241 -0
  26. package/dist/server.d.mts +7 -0
  27. package/dist/server.mjs +87 -74
  28. package/package.json +26 -25
  29. package/dist/ParticipantRuntime-SS2IDRLA.mjs +0 -139
  30. package/dist/PreviewRuntime-NGTLOEX3.mjs +0 -2
  31. package/dist/browser-runtime-HYKTQV6Q.mjs +0 -2
  32. package/dist/chunk-3XSTOVWX.mjs +0 -2
  33. package/dist/chunk-7W3RBRFM.mjs +0 -301
  34. package/dist/chunk-B5KUI32Q.mjs +0 -413
  35. package/dist/chunk-ENERPQJN.mjs +0 -2
  36. package/dist/server-OPX7SKA7.mjs +0 -228
package/dist/server.d.mts CHANGED
@@ -68,6 +68,9 @@ type ParticipantAgentView = {
68
68
  };
69
69
  type ParticipantAgentAdapter = (credential: ParticipantCredential) => Promise<ParticipantAgentView>;
70
70
 
71
+ /** Public endpoints only. Signing keys and credentials never belong here. */
72
+ type CloudTasteEnvironment = 'production' | 'staging';
73
+
71
74
  type ImprintExplanationKind = 'intention' | 'principle' | 'pattern';
72
75
  type ImprintExplanationState = 'emerging' | 'testing' | 'grounded' | 'challenged' | 'retired';
73
76
  type ImprintScopeKind = 'project' | 'route' | 'component' | 'selector' | 'file';
@@ -268,6 +271,10 @@ type PopmeltOptions = {
268
271
  /** Optional Chromium DevTools endpoint, e.g. http://127.0.0.1:9222. */
269
272
  nativeCaptureUrl?: string;
270
273
  restartMode?: 'embedded' | 'detached';
274
+ /** Requires a proven local host or participant host. Defaults to production; false disables cloud access. */
275
+ cloudTaste?: false | {
276
+ environment: CloudTasteEnvironment;
277
+ };
271
278
  /** Internal opt-in. Collaboration authority is independent of app revisions. */
272
279
  participantSessions?: {
273
280
  /** Optional context metadata. Never used as a save, Send, or approval gate. */