Skip to content

Releases: zhenyu666-debug/xiaohongshu-Loop

v0.6.6 - <one-line summary>

Choose a tag to compare

@zhenyu666-debug zhenyu666-debug released this 10 Jul 09:25

#�#� �v�0�.�6�.�6� �-� �S�i�l�i�c�o�n�F�l�o�w� �+� �A�g�e�n�t� �R�e�w�r�i�t�e� �M�o�d�e�

�x�h�s�-�s�a�a�s�-�c�o�n�s�o�l�e� �v�0�.�6�.�6� �-� �S�i�l�i�c�o�n�F�l�o�w� �s�u�p�p�o�r�t�,� �a�g�e�n�t�-�m�o�d�e� �A�I� �r�o�u�t�i�n�g�,� �s�c�h�e�d�u�l�e�r� �f�i�x�

�#�#�#� �H�i�g�h�l�i�g�h�t�s�

�-� ��S�i�l�i�c�o�n�F�l�o�w� �s�u�p�p�o�r�t��:� ��O�P�E�N�A�I�_�B�A�S�E�_�U�R�L�� �e�n�v� �v�a�r� �i�s� �n�o�w� �r�e�a�d� �v�i�a�
� � ��A�I�S�e�t�t�i�n�g�s�.�v�a�l�i�d�a�t�i�o�n�_�a�l�i�a�s�� �a�n�d� �f�o�r�w�a�r�d�e�d� �t�o� ��C�h�a�t�O�p�e�n�A�I�� �/�
� � ��O�p�e�n�A�I�E�m�b�e�d�d�i�n�g�s��.� �S�e�t� �a�n�y� �O�p�e�n�A�I�-�c�o�m�p�a�t�i�b�l�e� �p�r�o�x�y� �(�S�i�l�i�c�o�n�F�l�o�w�,�
� � �G�r�o�q�,� �L�M� �S�t�u�d�i�o�,� �o�l�l�a�m�a�)� �w�i�t�h�o�u�t� �c�o�d�e� �c�h�a�n�g�e�s�.�
�-� ��T�a�s�k�.�a�i�_�m�o�d�e�� �f�i�e�l�d��:� �N�e�w� ��t�a�s�k�s�.�a�i�_�m�o�d�e�� �c�o�l�u�m�n� �(��r�e�w�r�i�t�e�� �|� ��a�g�e�n�t��)�.�
� � ��r�e�w�r�i�t�e�� �=� �s�i�n�g�l�e�-�p�r�o�m�p�t� ��f�a�c�t�o�r�y�.�m�a�y�b�e�_�r�e�w�r�i�t�e�(�)�� �(�f�a�s�t�,� �d�e�f�a�u�l�t�)�.�
� � ��a�g�e�n�t�� �=� ��C�o�o�r�d�i�n�a�t�o�r�A�g�e�n�t�.�c�o�o�r�d�i�n�a�t�e�_�t�a�s�k�(�)�� �f�a�n�-�o�u�t� �v�i�a� �C�o�n�t�e�n�t�A�g�e�n�t� �/�
� � �A�n�a�l�y�s�i�s�A�g�e�n�t� �(�m�u�l�t�i�-�s�t�e�p� �p�l�a�n�n�i�n�g�)�.�
�-� ��f�a�c�t�o�r�y�.�a�g�e�n�t�_�r�e�w�r�i�t�e�(�)��:� �N�e�w� �a�s�y�n�c� �f�a�c�t�o�r�y� �f�u�n�c�t�i�o�n� �t�h�a�t� �c�a�l�l�s�
� � ��C�o�o�r�d�i�n�a�t�o�r�A�g�e�n�t�� �f�o�r� �s�t�r�u�c�t�u�r�e�d� �m�u�l�t�i�-�a�g�e�n�t� �c�o�n�t�e�n�t� �g�e�n�e�r�a�t�i�o�n�.�
�-� ��S�c�h�e�d�u�l�e�r� �f�i�x��:� ��S�c�h�e�d�u�l�e�P�o�s�t�T�o�o�l�� �c�r�a�s�h�e�d� �a�t� �r�u�n�t�i�m�e� �b�e�c�a�u�s�e� �i�t�
� � �i�m�p�o�r�t�e�d� ��g�e�t�_�s�c�h�e�d�u�l�e�r�� �f�r�o�m� ��r�u�n�n�e�r�.�p�y�� �(�u�n�d�e�f�i�n�e�d�)�.� �A�d�d�e�d�
� � ��g�e�t�_�s�c�h�e�d�u�l�e�r�(�)�� �t�o� ��a�p�p�/�s�c�h�e�d�u�l�e�r�/�_�_�i�n�i�t�_�_�.�p�y�� �a�n�d� �f�i�x�e�d� �t�h�e� �i�m�p�o�r�t�.�
�-� ��t�e�s�t�_�r�e�a�l�_�l�l�m�.�p�y��:� �6� �n�e�w� �s�m�o�k�e� �t�e�s�t�s� �(�L�L�M� �a�i�n�v�o�k�e�,� �s�t�r�e�a�m�,�
� � �C�o�n�t�e�n�t�A�g�e�n�t�,� �C�o�o�r�d�i�n�a�t�o�r�,� �b�a�s�e�_�u�r�l�,� �a�g�e�n�t�_�r�e�w�r�i�t�e�)� �� �s�k�i�p�p�e�d� �a�u�t�o�m�a�t�i�c�a�l�l�y�
� � �w�h�e�n� ��O�P�E�N�A�I�_�A�P�I�_�K�E�Y�� �i�s� �a�b�s�e�n�t�;� �r�u�n� �l�o�c�a�l�l�y� �w�i�t�h� �S�i�l�i�c�o�n�F�l�o�w� �c�o�n�f�i�g�u�r�e�d�.�

�#�#�#� �Q�u�i�c�k� �s�t�a�r�t� �(�M�S�I�)�

� �m�s�i�e�x�e�c� �/�i� �x�h�s�-�s�a�a�s�-�c�o�n�s�o�l�e�-�0�.�6�.�6�.�m�s�i� �/�q�n� �m�s�i�e�x�e�c� �/�i� �x�h�s�-�s�a�a�s�-�c�o�n�s�o�l�e�-�0�.�6�.�6�.�m�s�i� �/�q�n� �I�N�S�T�A�L�L�D�I�R�=�%�U�S�E�R�P�R�O�F�I�L�E�%�\�A�p�p�s�\�x�h�s�-�s�a�a�s�-�c�o�n�s�o�l�e� �m�s�i�e�x�e�c� �/�x� �{�C�B�4�9�E�D�5�C�-�3�0�E�2�-�4�F�9�8�-�9�9�D�C�-�6�3�A�1�5�8�1�6�D�C�5�E�}� �

�#�#�#� �S�i�l�i�c�o�n�F�l�o�w� �s�e�t�u�p� �(�.�e�n�v�)�

� �O�P�E�N�A�I�_�A�P�I�_�K�E�Y�=�<�y�o�u�r�-�k�e�y�>� �O�P�E�N�A�I�_�B�A�S�E�_�U�R�L�=�h�t�t�p�s�:�/�/�a�p�i�.�s�i�l�i�c�o�n�f�l�o�w�.�c�n�/�v�1� �O�P�E�N�A�I�_�M�O�D�E�L�=�Q�w�e�n�/�Q�w�e�n�2�.�5�-�7�2�B�-�I�n�s�t�r�u�c�t� �

�#�#�#� �F�u�l�l� �C�h�a�n�g�e�l�o�g�

�h�t�t�p�s�:�/�/�g�i�t�h�u�b�.�c�o�m�/�z�h�e�n�y�u�6�6�6�-�d�e�b�u�g�/�x�i�a�o�h�o�n�g�s�h�u�-�L�o�o�p�/�c�o�m�p�a�r�e�/�v�0�.�6�.�5�.�.�.�v�0�.�6�.�6�

v0.6.5 - AI Agent platform + Redis memory backend

Choose a tag to compare

@zhenyu666-debug zhenyu666-debug released this 10 Jul 00:47

v0.6.5 - AI Agent platform + Redis memory backend

xhs-saas-console v0.6.5 - AI Agent platform rewrite + Redis memory backend

Highlights

  • AI Agent platform is now real (not a stub): LangChain-backed loaders
    (PDF, DOCX, GBK-fallback text), LLMClient wrapping OpenAI / Anthropic /
    Ollama with mock fallback, ChromaDB-persistent RAG with cross-encoder
    rerank, async SQLite memory (short / long / semantic / episodic) with
    MemoryManager consolidation, LangGraph-style state machines for
    ContentAgent / AnalysisAgent / CoordinatorAgent, MCP stdio transport,
    and a FastAPI surface (/api/ai/...) covering chat, streaming RAG, ingest,
    memory CRUD, tool call, agent list.
  • Tool registry now rate-limits every call with a token bucket
    (default 60/min per tool, 10 burst). Disabled tools return
    ToolResult(success=False, error=..., metadata={reason, retry_after,
    limit_per_minute}) so callers can back off instead of getting bare False.
    (commit: M7)
  • RedisMemoryDB is a drop-in replacement for the SQLite MemoryDB.
    Same 10-method surface (upsert_item / query_items / delete_item /
    upsert_fact / query_facts / upsert_episode / query_episodes / stats /
    clear / init); the four memory layers + MemoryManager work unchanged.
    get_memory_db(backend=...) factory reads settings.memory_backend.
    17 fakeredis-backed tests. (commit: 55b9568)
  • Rebuilt onedir PyInstaller dist with the new console code path
    (PyInstaller 6.21 on Python 3.11). MSI is 159 MB; msiexec /a
    verified to install xhs-saas-console.exe and the application icon.

Quick start (MSI)

msiexec /i xhs-saas-console-0.6.5.msi /qn msiexec /i xhs-saas-console-0.6.5.msi /qn INSTALLDIR=%USERPROFILE%\Apps\xhs-saas-console msiexec /x {CB49ED5C-30E2-4F98-99DC-63A15816DC5E}

Known issues / warnings (carryover)

  • candle CNDL1098 warning on -out. is cosmetic and pre-existing
    (carried since v0.6.0). WiX still produces a valid MSI.
  • pyinstaller deprecation warning when run as admin: harmless.
    PyInstaller 7.0 will block; 6.21 still works.
  • LongTermMemory SQLite path runs at ~140 qps; swap to
    RedisMemoryDB for shared cross-process state.

Full Changelog

v0.6.4...v0.6.5

v0.6.3 — Bug Fix Release

Choose a tag to compare

@zhenyu666-debug zhenyu666-debug released this 06 Jul 06:22

#�#� �v�0�.�6�.�3� �� �B�u�g� �F�i�x� �R�e�l�e�a�s�e�

�F�i�x�:�� ��N�a�m�e�E�r�r�o�r�:� �n�a�m�e� �'�c�f�g�_�e�n�a�b�l�e�d�'� �i�s� �n�o�t� �d�e�f�i�n�e�d�� �i�n� ��c�o�n�s�o�l�e�_�g�u�i�.�p�y�� �s�u�p�e�r�v�i�s�o�r� �l�o�o�p� �(�i�n�t�r�o�d�u�c�e�d� �i�n� �v�0�.�6�.�2�)�.�

�C�h�a�n�g�e�d� ��c�f�g�_�e�n�a�b�l�e�d�(�s�v�c�)�� �t�o� ��s�v�c�.�g�e�t�(�"�e�n�a�b�l�e�d�"�,� �T�r�u�e�)�� �� �c�o�n�s�i�s�t�e�n�t� �w�i�t�h� �t�h�e� �s�a�m�e� �p�a�t�t�e�r�n� �u�s�e�d� �i�n� ��_�s�u�p�e�r�v�i�s�e�� �l�i�n�e� �5�8�5�.�

�M�S�I�:�� ��x�h�s�-�s�a�a�s�-�c�o�n�s�o�l�e�-�0�.�6�.�3�.�m�s�i�� �(�1�5�9� �M�B�)�

v0.6.1 - Custom install folder + branded icon + multi-tenant auth (159 MB MSI)

Choose a tag to compare

@zhenyu666-debug zhenyu666-debug released this 05 Jul 23:36

v0.6.1 - Custom install folder + branded desktop shortcut

xhs-saas-console v0.6.1 - Custom install folder + branded desktop shortcut

Highlights

  • Custom install location: the MSI now shows the standard Destination Folder dialog so users can change the install path.
  • Branded desktop shortcut: the desktop xhs-saas-console.lnk and Start Menu entry share a multi-resolution .ico. The exe also carries the icon via PyInstaller --icon.
  • InstallDir is reported back to ARPINSTALLLOCATION.

Quick start (MSI)

msiexec /i xhs-saas-console-0.6.1.msi /qn
msiexec /i xhs-saas-console-0.6.1.msi /qn INSTALLDIR="%USERPROFILE%\Apps\xhs-saas-console"
msiexec /x {CB49ED5C-30E2-4F98-99DC-63A15816DC5E}

What's inside

  • assets/ico/xhs-saas-console.ico - multi-size Windows .ico, regenerated by python scripts/build_icon.py.
  • scripts/build_launcher.py - invokes PyInstaller with --icon when the .ico is present.
  • installer/wix/product.wxs - switched from WixUI_Minimal to WixUI_InstallDir, exposed WIXUI_INSTALLDIR=INSTALLDIR, added AppIcon.

Upgrading from v0.6.0

Run the MSI - auto-detect via UpgradeCode.

Known issues

MSI ships the onedir launcher (159 MB total, ~149 MB _internal/ payload). For users who want direct-run without the installer, use the onedir xhs-saas-console/ folder from dist/ (10 MB launcher + _internal/ payload); we recommend the MSI because it upgrades in place via UpgradeCode.

Full Changelog: v0.6.0...v0.6.1

v0.6.0 - MSI installer + docs + .github templates

Choose a tag to compare

@zhenyu666-debug zhenyu666-debug released this 05 Jul 05:35

xhs-saas-console v0.6.0

Unified desktop console for xiaohongshu-Loop, packaged as a per-user Windows MSI.

Highlights

  • MSI installer - drop into Add/Remove Programs, Start Menu + Desktop shortcut, no admin elevation required (PerUser scope).
  • Run as installer - one double-click launches the full GUI (xhs-saas-console.exe, ~195 MB) which boots the three services (xhs-saas :8080, pbp-api :8090, lakehouse-api :8091).
  • One-file exe + MSI - same source, two delivery formats. The exe is for users who just want to run; the MSI is for managed deployment.

Quick start (MSI)

# install (silent, no prompts)
msiexec /i xhs-saas-console-0.6.0.msi /qn

# uninstall
msiexec /x {CB49ED5C-30E2-4F98-99DC-63A15816DC5E}

# Or: Settings -> Apps -> xiaohongshu-Loop Console -> Uninstall

Full release notes

See CHANGELOG.md.

Checksums

File SHA256 (truncated)
xhs-saas-console-0.6.0.msi see asset below

Upgrading from v0.5.x

Run the MSI. The installer auto-detects the previous version via UpgradeCode and offers upgrade (no uninstall needed).

Known issues

  • MSI ships the entire dist + _internal/ (~343 MB). Use the .exe release if you want a smaller download.

Full Changelog: v0.5.3...v0.6.0

xhs-saas-console v0.5.3 (frontend path fix + httpx proxy bypass)

Choose a tag to compare

@zhenyu666-debug zhenyu666-debug released this 05 Jul 00:27

Fixes from PR #4 (af6f299):

  • Drop redundant /api prefix in 8 frontend pages (lib/api.ts already baseURL=/api)
  • Drop trailing slash in /accounts/ and /scheduler/tasks/ (was 307 redirects)
  • httpx.AsyncClient(trust_env=False) in v1_gateway.py for both proxy() and health_all()
    (Windows system HTTP_PROXY was turning localhost requests into 502s)

Verified locally with 3 backends up:

  • xhs-saas :8080 (FastAPI + gateway)
  • pbp-api :8090 (donor-screener-pbp)
  • lakehouse-api :8091 (data-lakehouse)
  • vite dev :5173 (HMR console)

/api/v1/health/all -> status=ok, all three services up.

xhs-saas-console v0.5.2 (CI green)

Choose a tag to compare

@zhenyu666-debug zhenyu666-debug released this 04 Jul 23:04

Console frontend build, post-CI-fix release.

Build artifacts (identical to v0.5.1 since no source change since then):

  • 7 files, 235.9 KB zipped
  • Max chunk: 383 kB (vendor-charts, gzip 105 kB)
  • App code: 48 kB (gzip 13 kB)

What changed since v0.5.1:

  • PR #2 merged: xhs-saas-ci now passes (F401 ignore in pyproject.toml)
  • HEAD: db370a4 (Merge PR #2 ci/ignore-ruff-f401)

This release is mainly a marker that the CI is green and the build is reproducible.
For the actual chunk-split artifacts, v0.5.1-console is identical.

PRs merged into main:

  • 6c4a235 test(console): drop unused act import (TS6133 fix)
  • f36551b build(console): split vendor chunks via manualChunks (PR #1)
  • 7bd216c ci(ruff): ignore F401 unused-imports (PR #2)