chore(silo): add root package.xml and migrate setup to silo addon (#373) #374

Merged
forbes merged 1 commits from chore/silo-sdk-standardize into main 2026-03-03 14:25:49 +00:00
Owner

Summary

Resolves #373. Standardizes the silo mod to follow the same addon layout as sdk, gears, datums, and solver.

Changes

silo-mod repo (already pushed)

  • Added mods/silo/package.xml at mod root (standard depth-1 discovery)
  • Added mods/silo/Init.py — console bootstrap (sys.path setup for silo-client)
  • Added mods/silo/InitGui.py — consolidated GUI bootstrap with all Silo deferred setup

create repo (this PR)

  • Updated silo submodule pointer to include the new root-level files
  • Removed 5 Silo-specific functions from src/Mod/Create/InitGui.py:
    • _register_silo_document_observer() (600ms) → moved to silo InitGui.py
    • _register_silo_origin() (1500ms) → removed (duplicate, already in SiloWorkbench.Initialize())
    • _setup_silo_auth_panel() (2000ms) → moved to silo InitGui.py
    • _check_silo_first_start() (3000ms) → moved to silo InitGui.py
    • _setup_silo_activity_panel() (4000ms) → moved to silo InitGui.py
  • Updated CMake install targets to install package.xml, Init.py, InitGui.py at mod root

Create core InitGui.py now only handles _register_kc_format (500ms) and _check_for_updates (10000ms).

Timer schedule (consolidated in silo InitGui.py)

Delay Function
Immediate SiloWorkbench registration, start page override
500ms Handle kindred:// startup URLs
600ms Register silo document observer
2000ms Setup auth dock panel (via kindred_sdk.register_dock_panel)
2500ms Register silo overlay context
3000ms Check first-start settings
4000ms Setup activity dock panel (via kindred_sdk.register_dock_panel)

Testing

  • python3 tests/run_kindred_tests.py — 39/39 pass
## Summary Resolves #373. Standardizes the silo mod to follow the same addon layout as sdk, gears, datums, and solver. ## Changes ### silo-mod repo (already pushed) - Added `mods/silo/package.xml` at mod root (standard depth-1 discovery) - Added `mods/silo/Init.py` — console bootstrap (sys.path setup for silo-client) - Added `mods/silo/InitGui.py` — consolidated GUI bootstrap with all Silo deferred setup ### create repo (this PR) - **Updated silo submodule pointer** to include the new root-level files - **Removed 5 Silo-specific functions** from `src/Mod/Create/InitGui.py`: - `_register_silo_document_observer()` (600ms) → moved to silo InitGui.py - `_register_silo_origin()` (1500ms) → removed (duplicate, already in SiloWorkbench.Initialize()) - `_setup_silo_auth_panel()` (2000ms) → moved to silo InitGui.py - `_check_silo_first_start()` (3000ms) → moved to silo InitGui.py - `_setup_silo_activity_panel()` (4000ms) → moved to silo InitGui.py - **Updated CMake install targets** to install `package.xml`, `Init.py`, `InitGui.py` at mod root Create core `InitGui.py` now only handles `_register_kc_format` (500ms) and `_check_for_updates` (10000ms). ## Timer schedule (consolidated in silo InitGui.py) | Delay | Function | |-------|----------| | Immediate | SiloWorkbench registration, start page override | | 500ms | Handle kindred:// startup URLs | | 600ms | Register silo document observer | | 2000ms | Setup auth dock panel (via `kindred_sdk.register_dock_panel`) | | 2500ms | Register silo overlay context | | 3000ms | Check first-start settings | | 4000ms | Setup activity dock panel (via `kindred_sdk.register_dock_panel`) | ## Testing - `python3 tests/run_kindred_tests.py` — 39/39 pass
forbes added 1 commit 2026-03-03 14:25:08 +00:00
chore(silo): add root package.xml and migrate setup to silo addon (#373)
Some checks failed
Build and Test / build (pull_request) Has been cancelled
4d94857883
Update silo submodule to include root-level package.xml, Init.py, and
InitGui.py following the standard addon layout used by sdk, gears,
datums, and solver.

Move five Silo-specific deferred setup functions from
src/Mod/Create/InitGui.py into the silo addon's own InitGui.py:
- Document observer registration (600ms)
- Auth dock panel via kindred_sdk.register_dock_panel() (2000ms)
- First-start settings check (3000ms)
- Activity dock panel via kindred_sdk.register_dock_panel() (4000ms)
- Remove duplicate origin registration (was 1500ms, already done in
  SiloWorkbench.Initialize())

Update CMake install targets to include root-level silo files.

Create core InitGui.py now only handles kc_format (500ms) and
update_checker (10000ms).
forbes merged commit c60b4dbee1 into main 2026-03-03 14:25:49 +00:00
forbes deleted branch chore/silo-sdk-standardize 2026-03-03 14:25:50 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kindred/create#374