@andpipes/cli 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -26,6 +26,10 @@ andpipe oauth metadata validate --file <path> | --issuer <https-url>
26
26
  OIDC metadata を bounded 検査
27
27
  andpipe oauth scopes sync --project <UUID> [--apply --yes]
28
28
  andpipe oauth test-login --project <UUID> live login を開始しない readiness preflight
29
+ andpipe oauth connect status --project <UUID> --connector <UUID>
30
+ upstream OAuth 接続状態と次の操作
31
+ andpipe oauth connect open --project <UUID> --connector <UUID> [--no-browser]
32
+ Web Admin の接続ウィザードを開く
29
33
  andpipe review-package generate --project <UUID> --package-version <version> --yes
30
34
  andpipe review-package download --project <UUID> --id <UUID> [--format json|markdown]
31
35
  andpipe config-mcp install --connection <web-admin-connection.json>
@@ -41,6 +45,7 @@ andpipe logs tail --project <UUID> [--limit 20]
41
45
 
42
46
  - **No Token Passthrough**: Admin CLI / Config MCPのresource-bound tokenだけを用途別に保管し、接続先SaaS tokenは扱わない。
43
47
  - **secret masking**: `doctor` / `logs` / `oauth` などの出力は token / secret / 鍵をマスクする。raw 値は表示しない。
48
+ - upstream OAuth の client secret は Web Admin の one-time 入力だけで登録する。CLI の引数、標準入力、設定ファイルでは受け付けない。
44
49
  - **default deny**: `domain add` 等の write 操作は `--yes` の明示確認が必要。
45
50
  - 認証情報はローカルの secure-file(directory 0700、`~/.config/andpipe/credentials.json` 0600、最大1 MiB)に保管する。CLIはcurrent user所有の通常fileだけをbounded readし、symlink / FIFO / device / 不正mode / 壊れたJSONを空扱いせず拒否する。書込みは同一directoryの予測不能なexclusive 0600 tempを`fsync`してからatomic renameする。既存権限を直す場合は`chmod 700 ~/.config/andpipe && chmod 600 ~/.config/andpipe/credentials.json`で確認する。Admin token と Config MCP access JWT はdiscriminated record / 別profile mapで分離する。
46
51
  - Config MCP の single-use code / PKCE verifier は memory にだけ保持し、URL、出力、connection config、secure-file へ保存しない。`client_id` は引数または Web Admin の非秘密 connection config から取得する。