Skip to content

feat(open-planner-studio): add Open Planner Studio, a construction scheduler (org.openaec.planner) - #1500

Merged
jing2uo merged 1 commit into
mainfrom
add/org.openaec.planner
Nov 22, 2026
Merged

jing2uo merged 1 commit into
mainfrom
add/org.openaec.planner

Conversation

@jing2uo

@jing2uo jing2uo commented Nov 22, 2026

Copy link
Copy Markdown
Collaborator

What

Open Planner Studio (OpenAEC Foundation, LGPL-3.0-or-later): construction scheduling with the Critical Path Method, a Gantt chart, resources and levelling, MS Project / Primavera P6 import and export, IFC 4.3 as the native format, PDF reports and a built-in MCP server. App id org.openaec.planner, upstream's Tauri identifier (src-tauri/tauri.conf.json), so a future upstream Flatpak would be the same application.

Packaging

  • Download: upstream's Open.Planner.Studio_<version>_amd64.deb from GitHub releases (v2026.47.0), x86_64 only (upstream ships no arm64 Linux build).
  • Runtime: org.gnome.Platform//51. Tauri 2; the binary links WebKitGTK 4.1, GTK 3, libsoup 3, all in the runtime. The .deb holds only usr/bin/open-planner-studio, icons and a desktop file.
  • apply_extra.sh keeps the usr/ tree and adds an org.openaec.planner symlink as entry point, so the window class matches StartupWMClass.
  • Wrapper: WEBKIT_DISABLE_DMABUF_RENDERER=1 (overridable); the window is opaque and the app sets no WEBKIT_ variable itself. Nothing else.
  • resolve-update.sh: non-draft, non-prerelease releases, asset ^Open\.Planner\.Studio_[0-9.]+_amd64\.deb$, highest version wins (the release also carries rpm, AppImage, snap, .mcpb, .sig and latest.json).
  • Desktop file: from the .deb, without MimeType/%F (upstream registers no file types, and 2026.47.0 does not open files given on the command line).

Sandbox

Granted (each with a source reference in the manifest):

  • ipc, wayland, fallback-x11, dri.
  • --share=network: the MCP server (AI tab, off by default) binds 127.0.0.1 (mcp_bridge.rs); a host AI client reaches it only through the shared network namespace. Also the feedback button, the extension catalog and the Tauri updater's check.
  • No --own-name: tauri-plugin-single-instance 2.4.3 owns org.openaec.planner.SingleInstance, which is under the app id, so Flatpak allows it without a grant (checked with --log-session-bus); a second launch focuses the running window.

Not granted:

  • No filesystem access: files go through the file chooser portal (tauri-plugin-dialog 2.7 → rfd's GtkFileChooserNative); persisted-scope keeps Recent working. Autosave/recovery live in the app data dir.
  • --socket=x11: tauri-plugin-clipboard-manager is only used to copy the feedback screenshot; documented as an override in the metainfo. Task copy/paste uses the web view's clipboard.
  • No CUPS: reports export to PDF, nothing calls the print dialog.

The in-app updater (no off switch) may report a newer upstream version before FlatPark picks it up; the metainfo says updates come through flatpak update.

Tested

Installed from a local repo (publish.sh --verify, then a --user install from it), on a private Xwayland display, v2026.47.0:

  • read-descriptor.mjs, audit-descriptor.mjs, check-apply-extra.sh (system-install unpack as root without capabilities), publish.sh --verify: pass. appstreamcli validate --pedantic: pass. desktop-file-validate: pass.
  • Starts and draws (welcome dialog, Gantt view); web process alive.
  • Settings survive a restart (theme Dark → Light).
  • Open/save: File › Open, Ctrl+S in place, Save As and Export › MS Project XML, answered by a test FileChooser portal on a private session bus returning a path under a test-only --filesystem grant. The example IFC opened (40 tasks, critical path), a renamed task was saved and is in the file; the copy and the XML export were written. After a restart, Recent lists all three and reopens one without the portal (persisted scope).
  • MCP: with AI mode on, the bridge listened on 127.0.0.1:3877 inside the sandbox and a host curl completed initialize, tools/list (42 tools) and a planner_list_tasks call.
  • Bus: org.openaec.planner.SingleInstance owned without an --own-name grant, no Filtering for it; a second launch exits at once and one owner stays.
  • Window class: org.openaec.planner (WM_CLASS instance), matches StartupWMClass.
  • Home folder: nothing new from the app (~/.var/app/... only).

Not tested:

  • The real file chooser dialog on a desktop (portal answered by a test stub here), and dragging files onto the window.
  • Wayland session rendering on a real desktop (tested under X11 on a private display only).
  • Feedback submission and the extension catalog (would post to / fetch from upstream services).
  • Claude Desktop's .mcpb bundle: it looks for runtime.json under ~/.local/share/org.openaec.planner/mcp/ and checks the PID, so it does not find the sandboxed app on its own; a client configured with the address and token from the AI tab's connection details works (tested with curl).

Screenshots

Upstream README images (docs/images/readme/*.png) at tag v2026.47.0: the desktop app's own UI.

Flathub

Not on Flathub (checked by name and id).

Prior requests

No Flatpak/Flathub issue on the upstream tracker; none found on Flathub.

Part of #1083

…heduler (org.openaec.planner)

OpenAEC's Gantt and critical-path planner for construction, from the
official amd64 .deb on GNOME 51. The app id is upstream's Tauri
identifier, so the single-instance bus name falls under it and needs no
grant. Network is granted because the built-in MCP server binds
127.0.0.1 and a host AI client can only reach it through the shared
network namespace; the feedback button and extension catalog use it too.
Clipboard-manager only copies the feedback screenshot, so X11 stays a
fallback with the override documented.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant