aido-onyx/smb-connector/app
Naeem Dosh 8c6c6c4016 SMB connector: per-source index document + filename citation labels
Two client-requested changes:

1. Table of contents per source. On each sync the connector writes one
   index document listing every file on the share, grouped by folder, so
   the assistant is aware of the full document set even when a search
   returns only some files. It re-upserts only when the file set changes,
   is excluded from the orphan-delete reconcile (shares the source prefix
   but is not a file), and is removed if SMB_WRITE_INDEX is turned off.

2. Shorter citation labels. semantic_identifier is now the file name, not
   the full path, so the chat/search citation shows "Angebot.pdf" instead
   of a long truncated Z:\... path. The full network path stays in `link`
   and metadata; the UI overlay copies it to the clipboard on click, in
   both the chat view and the licensed Search view. A DOC_FORMAT_VERSION
   bump re-upserts already-synced files once so existing docs get the new
   label without waiting for a content change.

Verified with a mock-client simulation: 17 checks covering filename
labels, full-path copy, index create/update/delete, reconcile whitelist,
add/remove sync, and the one-time format-version re-upsert.
2026-09-23 18:51:34 +05:00
..
__init__.py SMB connector Phase 1: sync + self-provisioning + multi-source (E2E-verified) 2026-09-01 23:18:33 +05:00
config.py SMB connector: per-source index document + filename citation labels 2026-09-23 18:51:34 +05:00
extract.py SMB connector Phase 1: sync + self-provisioning + multi-source (E2E-verified) 2026-09-01 23:18:33 +05:00
main.py SMB connector: fix stuck 'Initial Indexing', configurable name prefix + timeout 2026-09-10 23:14:28 +05:00
onyx_client.py SMB connector: fix stuck 'Initial Indexing', configurable name prefix + timeout 2026-09-10 23:14:28 +05:00
state.py SMB connector: per-source index document + filename citation labels 2026-09-23 18:51:34 +05:00
sync.py SMB connector: per-source index document + filename citation labels 2026-09-23 18:51:34 +05:00