acrylblends 1.0.10 → 1.1.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 (39) hide show
  1. package/dist/index.d.ts +15 -1
  2. package/dist/index.js +13 -7
  3. package/dist/index.js.map +1 -1
  4. package/docs/framework/api/summary.md +1 -1
  5. package/docs/framework/guides/production.md +20 -0
  6. package/docs/framework/workshop/README.md +177 -274
  7. package/docs/framework/workshop/facilitator.md +107 -84
  8. package/lib/{audit-Dw-siYTp.d.ts → audit-BFpULBCj.d.ts} +15 -3
  9. package/lib/cordis/door.d.ts +3 -1
  10. package/lib/cordis/door.js +11 -1
  11. package/lib/cordis/state.d.ts +3 -2
  12. package/lib/cordis/state.js +370 -6
  13. package/lib/door/host.d.ts +1 -1
  14. package/lib/door/host.js +1 -1
  15. package/lib/door/page.d.ts +10 -0
  16. package/lib/door/page.js +29 -7
  17. package/lib/{snapshot-text-BfEbEOjA.js → snapshot-text-BwM6T2nG.js} +36 -4
  18. package/package.json +1 -1
  19. package/plugins/acryl-door/src/host/channel.ts +42 -4
  20. package/plugins/acryl-door/src/host/door.ts +5 -0
  21. package/plugins/acryl-door/src/host/page-routes.ts +1 -1
  22. package/plugins/acryl-door/src/host/page-socket.ts +1 -1
  23. package/plugins/acryl-door/src/page/channel.ts +8 -0
  24. package/plugins/acryl-door/src/page/driver/driver.ts +17 -3
  25. package/plugins/acryl-door/src/page/index.ts +6 -1
  26. package/plugins/acryl-door/src/page/indicator.ts +14 -6
  27. package/plugins/acryl-state/plugin.json +4 -3
  28. package/plugins/acryl-state/src/client-source.ts +244 -0
  29. package/plugins/acryl-state/src/service.ts +33 -6
  30. package/plugins/acryl-state/src/socket.ts +96 -0
  31. package/plugins/agent-panel/client/main.ts +105 -55
  32. package/plugins/agent-panel/index.ts +42 -5
  33. package/plugins/instance/index.ts +6 -3
  34. package/templates/agent/AGENTS.md +3 -1
  35. package/templates/agent/src/routes.ts +38 -5
  36. package/templates/agent/test/app.test.ts +38 -2
  37. package/templates/chat/src/main.ts +1 -6
  38. package/templates/nodejs/src/main.ts +1 -6
  39. package/templates/notes/src/main.ts +1 -6
@@ -5,12 +5,7 @@ import { createApp } from './app.ts'
5
5
  // The composition root: the one place that reads the environment and chooses where the app lives.
6
6
  const chosen = selectInstance({
7
7
  projectRoot: fileURLToPath(new URL('..', import.meta.url)),
8
- // PORT and HOST are the names hosting platforms set; ACRYLBLENDS_PORT and ACRYLBLENDS_HOST win when both are given.
9
- env: {
10
- ...(process.env.PORT ? { ACRYLBLENDS_PORT: process.env.PORT } : {}),
11
- ...(process.env.HOST ? { ACRYLBLENDS_HOST: process.env.HOST } : {}),
12
- ...process.env,
13
- },
8
+ env: process.env,
14
9
  })
15
10
  const app = await createApp(chosen, {
16
11
  ...(process.env.NOTES_DB ? { database: process.env.NOTES_DB } : {}),