-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat: 接入 Shipyard Neo 自迭代 Skill 闭环与管理能力 #5028
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
w31r4
wants to merge
6
commits into
AstrBotDevs:master
Choose a base branch
from
w31r4:feat/neo-skill-self-iteration
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,311
−128
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
d16398a
feat(computer): add shipyard_neo booter runtime and sandbox config
w31r4 73251db
feat(skills): add neo lifecycle tools and stable sync manager
w31r4 a8cc995
feat(dashboard): add neo skills APIs and management UI
w31r4 d4dcc64
chore: apply pre-commit formatting fixes for neo integration
w31r4 afe292d
fix: address neo skill review findings
w31r4 40c7cf3
feat(skills): merge sandbox built-ins with uploaded skill sync
w31r4 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (bug_risk): 基类中的
browser属性抛出NotImplementedError,与调用方使用getattr(..., "browser", None)的能力探测方式相冲突。因为像
_get_browser_component这样的调用方会通过getattr(booter, "browser", None)来做能力检测,这个属性会直接抛异常而不是返回None,导致if browser is None分支永远不会执行。虽然外层的try/except会吞掉这个异常,但这会让能力检测变得脆弱,也隐藏了更清晰的错误信息。建议要么在基类实现中返回None,并在具体 booter 中重写,要么在探测browser支持时,让调用方显式处理NotImplementedError。Original comment in English
issue (bug_risk): The base
browserproperty raisingNotImplementedErrorconflicts withgetattr(..., "browser", None)checks in callers.Because callers like
_get_browser_componentusegetattr(booter, "browser", None)for capability detection, this property will raise instead of returningNone, so theif browser is Nonepath never executes. While the outertry/exceptmasks the exception, it makes feature detection brittle and hides the clearer error message. Consider either returningNonein the base implementation and overriding it in concrete booters, or updating callers to explicitly handleNotImplementedErrorwhen probing forbrowsersupport.