Files
chandra/components/logout/gen/moon.pkg
T
nandiandClaude Sonnet 5.5 0ba975da67
CI / test (push) Failing after 28s
Logout button for the session, and a dev install that symlinks into the checkout
- New 'session' capability (wit/capabilities.wit) and 'logout' panel module: a button whose popup
  asks 'Log out | Cancel' (Enter confirms, Escape cancels). Confirming makes the compositor exit,
  which ends the login session; works in the wasm host and the native build. In the default panel.
- session/install.py --link (just install-session-dev): symlink the host, component, modules,
  fonts and config into this checkout, so after one root install a rebuild is just
  'just compositor-wasm host-wasm modules' for the next login. Plain installs still copy.
- Tests: host runtime test for the module, native end-to-end test (click, cancel, confirm).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 02:44:44 -08:00

27 lines
881 B
Plaintext

import {
"moonplasma/desktop/components/logout/gen/interface/moonplasma/desktop/plasmoid" @plasmoid,
}
warnings = "-44"
pkgtype(kind: "foreign_library")
options(
link: {
"wasm": {
"export-memory-name": "memory",
"heap-start-address": 16,
"exports": [
"mbt_ffi_cabi_realloc:cabi_realloc",
"wasmExportInfo:moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportInfoPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#info",
"wasmExportOnEvent:moonplasma:desktop/plasmoid@0.1.0#on-event",
"wasmExportPopup:moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportPopupPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#popup",
"wasmExportRender:moonplasma:desktop/plasmoid@0.1.0#render",
"wasmExportRenderPostReturn:cabi_post_moonplasma:desktop/plasmoid@0.1.0#render"
],
},
},
)