- get-token.ps1: MSAL.PS-based token acquisition (browser popup once, then cached refresh token) - download/upload/unlock.ps1: auto-call get-token.ps1 when no -Token/-env provided - import-helpers.ps1: reusable functions (Upsert-Context, Add-Topic, Add-HistoryEntry) with correct schema - import-jf-sysadmins.ps1: idempotent import script using helpers Fixes: - Token file no longer stored in work/ (deleted on download) - Upsert-Context resurrects soft-deleted contexts (500 was caused by uploading topics for deleted context) - History uses topicId + YYYY-MM-DD date (not contextId + timestamp) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| download.ps1 | ||
| get-token.ps1 | ||
| import-helpers.ps1 | ||
| import-jf-sysadmins.ps1 | ||
| show-bundle.ps1 | ||
| unlock.ps1 | ||
| upload.ps1 | ||