Skip to content

feat(marketplace): hooks for the 23 marketplace methods of hub.code - #50

Merged
Domantas merged 2 commits into
mainfrom
audit/marketplace
Oct 12, 2026
Merged

Domantas merged 2 commits into
mainfrom
audit/marketplace

Conversation

@Domantas

@Domantas Domantas commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Marketplace campaign, item 6 (SDKs).

  • src/hooks/hub/marketplace.ts: hooks for all 23 marketplace methods of @norbix.ai/ts (dependency bumped to ^4.21.0) (catalog, connections, secrets, token mappings, test, vendor catalog, functions, invoke). Tags of type CodeMarketplace; reveal-secrets is a mutation so clear secrets never sit in the cache.
  • tests/marketplace.test.ts: every hook reaches its SDK method, kind and tags, and — through the real SDK with a fake fetch — verb, path, query / body (52 tests). README section.
  • useGetMarketplaceFunctionRunsQuery — GET /code/marketplace/functions/runs (triggerId | taskId, limit), provides CodeMarketplace/RUNS; needs @norbix.ai/ts 4.21.0 (released).

Tests: npm run typecheck clean, npm run lint clean, vitest 16 files / 351 tests passed.

Expected release: v1.12.0 (feat → minor; last tag v1.11.0).

Task file: typegen worktree /Users/djovaisas/Projects/norbix/worktrees/typegen/audit-marketplace/docs/tasks/marketplace-sdks.md (branch audit/marketplace). Gateway: campaign audit/marketplace 4ea6b84e2 (docs/architecture/Code.Marketplace.md §14, §16), types regenerated from its Community Hub in a private stack.

🤖 Generated with Claude Code

src/hooks/hub/marketplace.ts wraps the marketplace methods of the published
@norbix.ai/ts 4.20.0 1:1: listings, listing, listing function tokens, connections
CRUD, enable / disable, secrets replace / reveal, token mappings, test, catalog,
functions CRUD, enable / disable, function tokens and invoke. Tags are of type
CodeMarketplace (LISTINGS, INTEGRATIONS, <integrationViewId>, CATALOG:<id>,
FUNCTIONS:<id>, <functionViewId>); reveal is a mutation so clear secrets are never
cached. tests/marketplace.test.ts drives every hook through the real SDK with a
fake fetch (verb, path, query / body) and checks kinds and tags. README section.

The runs hook (GET /code/marketplace/functions/runs) follows once @norbix.ai/ts
ships getMarketplaceFunctionRuns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

🚀 Release preview

Next version on merge to main: none

semantic-release dry-run output
[10:13:23 PM] [semantic-release] › ℹ  Running semantic-release version 25.0.9
[10:13:23 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/npm"
[10:13:23 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/github"
[10:13:23 PM] [semantic-release] › ✔  Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer"
[10:13:23 PM] [semantic-release] › ✔  Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator"
[10:13:23 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/npm"
[10:13:23 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/npm"
[10:13:23 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/github"
[10:13:23 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/npm"
[10:13:23 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/github"
[10:13:23 PM] [semantic-release] › ✔  Loaded plugin "success" from "@semantic-release/github"
[10:13:23 PM] [semantic-release] › ✔  Loaded plugin "fail" from "@semantic-release/github"
[10:13:25 PM] [semantic-release] › ℹ  This test run was triggered on the branch refs/pull/50/merge, while semantic-release is configured to only publish from main, therefore a new version won’t be published.

If next_version is none, your commits don't trigger a release. Use feat: for minor (breaking changes too, until launch), fix: / perf: for patch.

…^4.21.0

The last runs of a marketplace function behind a trigger or a scheduler task
(GET /{version}/code/marketplace/functions/runs, triggerId | taskId, limit), now that
@norbix.ai/ts 4.21.0 ships getMarketplaceFunctionRuns. Provides CodeMarketplace/RUNS.
tests/marketplace.test.ts: a CASES row (verb, path, query through the real SDK) and the tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Domantas Domantas changed the title feat(marketplace): hooks for the 22 marketplace methods of hub.code feat(marketplace): hooks for the 23 marketplace methods of hub.code Oct 12, 2026
@Domantas
Domantas merged commit c232172 into main Oct 12, 2026
9 checks passed
@Domantas
Domantas deleted the audit/marketplace branch October 12, 2026 22:15
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant