Skip to content

Commit 68bef1d

Browse files
committed
feat: Sync scripts, packages, and repo config from develop @W-23705745@
1 parent 8a13a08 commit 68bef1d

5 files changed

Lines changed: 11 additions & 272 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"description": "Salesforce Headless 360 — Salesforce agent skills marketplace.",
55
"owner": {
6-
"name": "Skills Platform"
6+
"name": "Salesforce"
77
},
88
"plugins": [
99
{

plugins/builder/salesforce-development/scripts/salesforce-statusline.py

Lines changed: 0 additions & 164 deletions
This file was deleted.

plugins/builder/salesforce-development/scripts/test/test_capability_registry.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,10 @@ def test_internal_preview_axes_banner_and_nonexecuting_install_plan(self):
652652
public = {row["name"] for row in self.registry.load_public_manifest(MANIFEST_PATH)["skills"]}
653653
foundation = {entry.name for entry in (PLUGIN_ROOT / "skills").iterdir() if entry.is_dir()}
654654
authoring = {entry.name for entry in (REPO_ROOT / "skills").iterdir() if entry.is_dir()}
655-
candidate = sorted((authoring & held) - public - foundation)[0]
655+
candidates = sorted((authoring & held) - public - foundation)
656+
if not candidates:
657+
self.skipTest("no locally-present internal[] skill to test against")
658+
candidate = candidates[0]
656659
out, err = io.StringIO(), io.StringIO()
657660
with mock.patch.dict(os.environ, {"SF_SKILLS_INTERNAL_PREVIEW": "1"}, clear=False), redirect_stdout(out), redirect_stderr(err):
658661
code = self.catalog.run_discovery(

plugins/builder/salesforce-development/scripts/test/test_internal_preview_installer.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,19 @@ def setUpClass(cls):
3434
cls.authoring = installer.registry.skill_directories(REPO_ROOT / "skills")
3535
cls.foundation = installer.registry.skill_directories(PLUGIN_ROOT / "skills")
3636
cls.held = catalog.read_internal_holds(REPO_ROOT / "config.yml")
37-
cls.eligible = next(
37+
if cls.held - set(cls.authoring):
38+
raise unittest.SkipTest("internal[] hold list references skills absent from local checkout")
39+
eligible_iter = (
3840
name for name, path in cls.authoring.items()
3941
if name in cls.held and name not in cls.foundation and (
4042
name not in cls.public
4143
or installer.registry.canonical_tree_sha256(path, safety_root=REPO_ROOT)
4244
!= cls.public[name]["treeSha256"]
4345
)
4446
)
47+
cls.eligible = next(eligible_iter, None)
48+
if cls.eligible is None:
49+
raise unittest.SkipTest("no locally-present internal[] skill to test against")
4550
cls.unheld_candidate = next(
4651
name for name, path in cls.authoring.items()
4752
if name not in cls.held and name not in cls.foundation and (

plugins/builder/salesforce-development/scripts/test/test_statusline.py

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)