Skip to content

feat: install external marketplace apps from approved commits - #43

Merged
ahmad-ajmal merged 1 commit into
mainfrom
feature/external-agent-apps
Nov 18, 2026
Merged

ahmad-ajmal merged 1 commit into
mainfrom
feature/external-agent-apps

Conversation

@ahmad-ajmal

Copy link
Copy Markdown
Collaborator

Marketplace apps can now stay in the catalogue while their source lives in an external GitHub repository. External entries install only the full commit SHA approved in catalogue.json; existing folder entries keep their current behavior.

  • Add a mutually exclusive source entry with GitHub URL, full 40-character commit SHA, and optional app path. Branches, tags, and shortened SHAs cannot select an external install; unavailable commits fail without falling back.
  • Download previews and app files from the approved revision and record repository, commit, and path alongside the approving catalogue's existing provenance. Reuse the existing extraction, compatibility, toolkit, gate, and trust behavior.
  • Resolve external publisher names from the GitHub owner's public profile when listing the catalogue. Use the owner username if the profile name is blank or unavailable, and CraftOS for folder entries. Search includes the resolved publisher; profile lookups are deduplicated per listing, bounded to two seconds, and never run during inspection or installation.

Validation:

  • pnpm --filter agent-app-framework build passed.
  • node framework/cli/test/package.test.mjs: 17 passed, including profile names, fallback behavior, timeouts, deduplication, and unchanged approved sources.
  • node framework/cli/test/install.test.mjs: 33 passed, including mixed catalogues, exact revision selection, branch movement, missing commits, subfolders, and existing folder installs.
  • Installed Development Studio through CraftBot from CraftOS-dev/living-ui-marketplace@staging using the local CLI and approved commit 1cee4fd91a7eae2661b659fca65bc10c125d43df; dependencies, gate, startup, and session attachment passed.
  • Verified the live profile resolves Development Studio to はる, other 37 catalogue apps to CraftOS, and publisher search works in CraftBot.

Companion CraftBot work is on feature/external-agent-apps.

Signed-off-by: ahmad-ajmal <ahmadajmal1514@gmail.com>
@ahmad-ajmal
ahmad-ajmal force-pushed the feature/external-agent-apps branch from 56cee85 to af7065e Compare November 18, 2026 14:01
@ahmad-ajmal
ahmad-ajmal merged commit ba5eb5e into main Nov 18, 2026
3 checks passed
@CraftOS-dev
CraftOS-dev deleted the feature/external-agent-apps branch December 2, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant