# Tiaotiao Card Prototype

Files:

- `tiaotiao-index.html`
- `tiaotiao-styles.css`
- `tiaotiao-app.js`
- `tiaotiao-snapshot.js`

How to open:

1. Open `C:\Users\simon\Documents\New project\prototype\tiaotiao-index.html` directly in a browser.
2. Or run `npm start` from `C:\Users\simon\Documents\New project` to open the Electron shell directly into the Tiaotiao card entry.
3. If you still need the older KylinSec prototype, run `npm run start:legacy`.

Notes:

- The page first tries to read the refreshed `120-sample` scenario run from `runs/tiaotiao/tiaotiao-scenario-dubai-v4`.
- That run is backed by the `v7` archetype ranking baseline.
- Desktop packaging now uses the `tiaotiao-chongchong-${version}-${os}-${arch}.${ext}` artifact pattern.
- Windows build resources now use `build/icon.ico`; the shell icon source remains `build/icon.png`.
- If browser file restrictions block that fetch, it falls back to `tiaotiao-snapshot.js`.
- In Electron, `https://` listing links are opened outside the app, and local summary/json links are handed to the OS instead of spawning extra in-app windows.
- The UI is currently tuned around these scenarios:
  - `budget-stay-deira`
  - `remote-work-dubai-marina`
  - `family-downtown-dubai`
  - `beach-stay-jbr`
  - `resort-stay-palm-jumeirah`
