summarylogtreecommitdiffstats
path: root/opencode-openai-codex-auth.install
blob: 41aeb5172a09707a7da095277af41fb011099965 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
post_install() {
  echo "=========================================================================="
  echo "  Opencode OpenAI Codex Auth Plugin Installed"
  echo "=========================================================================="
  echo ""
  echo "To enable this plugin, add it to your opencode configuration file"
  echo "(e.g., ~/.config/opencode/opencode.json):"
  echo ""
  echo "  {"
  echo "    \"plugin\": [\"file:///usr/lib/opencode/plugins/opencode-openai-codex-auth\"]"
  echo "  }"
  echo ""
  echo "IMPORTANT: This plugin requires a FULL configuration to work correctly"
  echo "with GPT-5 models. A reference configuration is available at:"
  echo ""
  echo "  /usr/lib/opencode/plugins/opencode-openai-codex-auth/config/full-opencode.json"
  echo ""
  echo "After configuration, run 'opencode auth login' to authenticate."
  echo "=========================================================================="
}

post_upgrade() {
  post_install
}