flow-hybrid-search
Installation
SKILL.md
Flow Hybrid Search
Run Workflow
- The wrapper uses the repository-pinned published CLI. Use
TIANGONG_LCA_CLI_DIRor--cli-dironly for an exact local dev/CI override. - Official Production needs no environment setup: the CLI owns its public profile. Only Dev/self-hosted/custom clients need the complete matching configuration in
references/env.md. - Run
tiangong-lca auth status --json. If it returnslogin-required, stop and ask the human user to runtiangong-lca auth loginin a trusted terminal. - Execute
node scripts/run-flow-hybrid-search.mjswith standardtiangong-lca search flowflags. - The wrapper delegates to
tiangong-lca search flow; the CLI resolves and refreshes its private OAuth session. - Confirm response shape, then debug with focused references.
Never ask an AI user for a username, password, authorization code, access token, refresh token, or the deprecated encoded API key. Headless runs require an explicit destination/publishable key and may use only an orchestrator-injected short-lived TIANGONG_LCA_ACCESS_TOKEN; do not pass it through argv, prompts, logs, or artifacts.
Commands
pnpm dlx --package=@tiangong-lca/cli@0.1.8 tiangong-lca auth status --json
# Only the human user completes browser login when login-required is reported
pnpm dlx --package=@tiangong-lca/cli@0.1.8 tiangong-lca auth login