feat: BOM auto-extraction from Assembly links + manifest field population #282
Reference in New Issue
Block a user
Delete Branch "feat/bom-sync-and-manifest"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements #276 (Phase 1) and #277.
BOM auto-extraction (#276)
New
bom_sync.pymodule inmods/silo/freecad/that:Assembly::AssemblyObject.Groupfor cross-documentApp::LinkobjectsElementCount(link arrays) and individual linksSiloItemIdUUIDs to part numbers viaget_item_by_uuid()Hooked into
Silo_SaveandSilo_Commitvia_push_bom_after_upload()following the same non-blocking pattern as DAG sync.SSE
bom.mergedsignal added toSiloEventListenerwith Activity pane handler.merge_bom_json()added to SiloClient (forward-looking for Phase 2 server endpoint).Manifest field population (#277)
silo_instance: populated from Silo API URL (stripped to base) on every .kc savepart_uuid: synced fromSiloItemIdon the tracked object (replaces random UUID)revision_hash: written post-upload with the revision number from server responseNew
update_manifest_fields()public API inkc_format.pyfor post-save manifest updates.Documentation fixes
Submodule branches
mods/silo->feat/bom-sync-and-manifestmods/silo/silo-client->feat/bom-sync-and-manifest