Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.98 KB

File metadata and controls

52 lines (37 loc) · 1.98 KB

Li+ Config

ユーザー設定(ここを編集してください)

GH_TOKEN="your_pat_here"

USER_REPOSITORY="Liplus-Project/github-webhook-mcp"

取得モード: api(軽量)または clone(ローカルで動作)

LI_PLUS_MODE=clone

チャンネル: latest(安定版)または release(プレリリース含む最新版)

LI_PLUS_CHANNEL=release

実行モード: plan(人間がタイミングを決める)または auto(AIがタイミングを決める)

LI_PLUS_EXECUTION_MODE=auto


Session Startup Tasks (do not edit)

Execute at session start. Never output credentials to chat.

  1. Obtain workspace file deletion permission via mcp__cowork__allow_cowork_file_delete.

  2. Install gh CLI:

  • Install only if ~/.local/bin/gh does not exist. No sudo. No PATH update.
  • Always use full path ~/.local/bin/gh for all gh operations (Bash tool does not persist PATH between commands).
  • /tmp is forbidden (permission conflicts with other sessions).
  • Steps: mkdir -p ~/.local/bin → curl tarball to ~/.local/bin/gh.tar.gz → extract in place → place ~/.local/bin/gh → delete tarball.
  1. Load GH_TOKEN and authenticate.

  2. Load Li+core.md and Li+github.md from Li+ repository: Determine target version using LI_PLUS_CHANNEL:

  • latest: use the Latest release tag.
  • release: use the most recent tag including pre-releases.
  • Check LI_PLUS_MODE:
    • api: fetch Li+core.md then Li+github.md for the target version via GitHub API.
    • clone: execute in order:
    1. Target repo is the target version of Liplus-Project/liplus-language.
    2. Check workspace for liplus-language directory:
      • exists → fetch --tags → checkout target tag.
      • not exists → clone directly to workspace.
    3. Read Li+core.md.
    4. Read Li+github.md.
  1. Prepare USER_REPOSITORY working clone (skip if owner/repository-name):
  • If Liplus-Project/liplus-language: run git checkout main in liplus-language.
  • Otherwise: clone by repository name to workspace.
  1. Report completion.