feat: extend Feishu service with Approval and Contact APIs - #488
Open
xiaoss wants to merge 1 commit into
Open
Conversation
Signed-off-by: xiaoss <songxiao.song@chaitin.net>
|
评审任务执行失败。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Feishu_GroupRobot.Feishu_GroupRobot/SendTextMessagecontract and extend the same Service with Feishu Approval and Contact APIsCompatibility and security
appId,appSecret, tenant tokens, and webhook tokens are never returned or loggedSource and license declaration
This is an original JavaScript implementation based only on Feishu's public Open Platform documentation:
It does not contain vendor code, private SDKs, reverse-engineered interfaces, captured traffic, customer data, or real credentials. It uses no third-party Feishu SDK and adds no dependency beyond the repository's existing
@chaitin-ai/octobus-sdkandundicidependencies. Users provide their own authorized application credentials and webhook, grant the required scopes/contact data range, and remain subject to Feishu rate limits and terms.Validation
npm test -- --service-dir feishu__group-robot— passed, including 30 Service testsnpm test -- --coverage --service-dir feishu__group-robot— passed; 99.93% lines, 92.75% branches, 98.83% functionsnpm run validate -- --service-dir feishu__group-robot— Service validation passednpm run pack:check— passedtask build— passedtask lint— passednode scripts/service-package-smoke.mjs --service-dir feishu__group-robot— import, Instance, capset, catalog, and Connect routing passedTwo unrelated upstream baseline issues were intentionally not included in this change:
task teston macOS reaches the existing/private/var/...versus/var/...path assertion inTestResolveImportSourceTransferModes; the Feishu Service tests and all other focused gates above pass