Shioaji Pro
為 agent 交易鋪路:交易終端全程由 coding agent 打造,介面 100% 開源、桌面版內建 AI Agent 與全套專業下單面板 — 這個終端就是能力證明。
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗A Next.js calculator for estimating Queensland QBCC home warranty insurance premiums and QLeave levy amounts. It also captures calculator-intent leads and shows contextual next-step offers based on the user's project type and value band.
npm install
npm run dev
Open http://localhost:3000.
NEXT_PUBLIC_GTM_ID=GTM-XXXXXXX
NEXT_PUBLIC_POSTHOG_KEY=phc_your_project_key
NEXT_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com
RESEND_API_KEY=re_your_key_here
[email protected]
LEAD_EMAIL_FROM=QBCC Calculator <[email protected]>
[email protected]
DATABASE_URL=postgres://USER:PASSWORD@HOST/DB?sslmode=require
LEADS_WEBHOOK_URL=https://example.com/qbcc-leads
LEADS_WEBHOOK_SECRET=change-me
LEADS_STORAGE_MODE=local
LEADS_DATA_DIR=/tmp/qbcc-calculator-local-data
Production lead persistence requires DATABASE_URL (or POSTGRES_URL), Resend email delivery (RESEND_API_KEY + LEAD_NOTIFICATION_EMAIL), or LEADS_WEBHOOK_URL. Run npm run db:migrate after setting the database URL. Local JSON storage is useful for development, but it is disabled on Vercel even when LEADS_STORAGE_MODE=local because the Vercel filesystem is not durable. LEADS_DATA_DIR is honored only for non-Vercel local storage, allowing smoke tests to use isolated temporary storage without redirecting production persistence.
The calculator enriches each quote with:
pending_review state shared by the API receipt and lead records.Current contextual offers are intentionally native to the calculator:
npm run nuroc:preflight
npx tsc --noEmit
npm run build
npm run nuroc:lead-api-smoke
npm run lint
The lead API smoke boots the built app on loopback, removes Resend and webhook variables from the child process, uses an example.com address with temporary local storage, verifies invalid-request rejection and the opaque-reference/review-state round trip, then deletes the temporary data. For browser verification, start the app locally, calculate a new-build and renovation quote, confirm the contextual offer changes, and submit only a controlled test lead in development mode.
The app is deployed on Vercel:
main: productionstaging: staging or preview validationBefore calling a production deploy complete, verify the canonical production URL loads the expected calculator and that lead capture posts to the configured webhook.
lib/quote.ts is shared by the calculator, estimate URLs, lead API and WebMCP tools. It validates bounds, rounds the QLeave cost to cents before the $150,000 excluding-GST threshold, and attaches a rate version. Premium tables retain their existing interpolation behavior; confirm final amounts with QBCC.
Email receipts distinguish provider acceptance (sent) from a persisted request without confirmed customer email (saved). Webhook and email persistence run independently with bounded timeouts. Clients reuse an idempotency key for retries; upstream requests carry it through. The process-local receipt cache and abuse limiter are bounded, but are not a distributed database or durable retry queue. A durable receiver should deduplicate leadReference and own any delivery retry workflow. Resend acceptance does not prove inbox delivery.
For analytics, configure either NEXT_PUBLIC_GTM_ID or direct NEXT_PUBLIC_GA_MEASUREMENT_ID. GTM takes precedence. Configure GA4 Enhanced Measurement consistently to avoid a second history-based pageview. PostHog records one first result, distinct estimate revisions, explicit user actions and visible offer impressions; person profiles, autocapture and session replay are disabled. Dashboard/property access is needed to verify ingestion.
WebMCP uses document.modelContext with a compatibility fallback to navigator.modelContext. Supported browsers expose calculate_estimate and get_rate_methodology; unsupported browsers retain the ordinary form. Tools do not email, lodge, purchase insurance or capture contact details. Native registration and execution were validated in the Codex in-app browser.
Run npm test, npm run build, npm run nuroc:lead-api-smoke, and npm run verify:canonical. The production build enforces lint, regression tests and type checking. The GitHub workflow is configured for Node 22; it was manually disabled in repository settings at release time. Next.js 16 uses the webpack build path for compatibility with the existing project.