Skip to content

nebo.plugins.run: a page runs one of the owner's plugins directly - #13

Merged
localrivet merged 1 commit into
mainfrom
app-plugins-run
Oct 23, 2026
Merged

localrivet merged 1 commit into
mainfrom
app-plugins-run

Conversation

@localrivet

Copy link
Copy Markdown
Contributor

On #11. The SDK half of NeboLoop/nebo#1020.

  • nebo.plugins.run(slug, command, args?, {timeout?, onProgress?}) posts to the app's own route (/api/v1/apps/<id>/plugins/<slug>/run, the app id encoded), with the page's base, so it carries the page's pass. onProgress runs it as a job and follows its event stream to the result.
  • A refused call throws with Nebo's reason (403 not granted or not allowed by the owner, 404 not installed, 429 four runs going). timeout is at most 600 s.
  • README: the grant (plugin:<slug>[:<command>]), owner consent for marketplace apps, limits. dist rebuilt; nebo's app/static/sdk/nebo.global.js is this build.
  • test/plugins.test.mjs: run, refusal, progress.

🤖 Generated with Claude Code

https://claude.ai/code/session_015dw5RFwzdZPHuB2VsN3Mcx

@localrivet
localrivet changed the base branch from app-files-read to main October 23, 2026 14:47
The manifest grants plugin:<slug>[:<command>]; an app from the
marketplace needs the owner's OK. A timeout is at most 600 seconds and an
app has at most 4 runs going; it runs as its own employee and never signs
in or out of an account.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015dw5RFwzdZPHuB2VsN3Mcx
@localrivet
localrivet merged commit 400f695 into main Oct 23, 2026
1 check passed
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