docs: restore one-time authorization guidance in lark-apps skill - #1794
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdded a new documentation section to skills/lark-apps/SKILL.md describing a one-time authorization step for the apps domain, using the lark-cli auth login --domain apps command, with guidance on avoiding missing_scope errors and a reference to shared error handling docs. ChangesDocumentation update
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1794 +/- ##
==========================================
- Coverage 74.40% 74.39% -0.02%
==========================================
Files 860 860
Lines 89215 89481 +266
==========================================
+ Hits 66384 66571 +187
- Misses 17701 17750 +49
- Partials 5130 5160 +30 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@c43c7d6445cc69875d9c7170a5b9cf78bc445a89🧩 Skill updatenpx skills add larksuite/cli#docs/lark-apps-restore-auth-skill -y -g |
Summary
PR #1175 rewrote
skills/lark-apps/SKILL.mdand dropped the identity/one-time-authorization guidance. Without it, agents run apps shortcuts before authorizing, hit the openapi backend unauthorized, and get server errors. This restores a concise version of that guidance so agents authorize theappsdomain once up front.Changes
## 身份与一次性授权section toskills/lark-apps/SKILL.md, placed after the intro paragraph and before## 意图路由lark-cli auth login --domain appsand explains the unauthorized-to-openapi failure it preventsmissing_scopehandling references../lark-shared/SKILL.mdinstead of duplicating it, matching the current file's delegation modelTest Plan
make unit-testpassed (via validate)./lark-cli auth login --help— confirmed--domainflag exists and listsapps;git diffconfirms single-file +10/-0Related Issues
N/A
Summary by CodeRabbit
missing_scopeerrors.