Skip to content

Add createExternalResource agent tool - #427

Draft
ndisidore wants to merge 4 commits into
mainfrom
nathan/create-external-resource
Draft

Add createExternalResource agent tool#427
ndisidore wants to merge 4 commits into
mainfrom
nathan/create-external-resource

Conversation

@ndisidore

@ndisidore ndisidore commented Sep 2, 2026

Copy link
Copy Markdown
Member

Adds the createExternalResource tool as discussed with respect to Google Drive: rather than granting whole-Drive access so the agent can make one document, the agent creates a new resource of a creatable type through an already-connected account.

This adds the other half of requestConnection: the agent mints a brand-new resource of a type the vendor marks creatable, through an account the user already connected. The binding is live immediately (simliar to what createGadget does), the turn continues, and the gatekeeper simulates the resource until the user approves the creation, which queues first and applies first, so dependent edits are safe to stack behind it.

Auto approval is not supported yet.

First consumer is Google Doc creation, stacked as #428

@github-actions github-actions Bot added workshop/frontend Changes to the Workshop frontend kernel Changes to the Workshop kernel workshop/shared Changes to shared Workshop APIs labels Sep 2, 2026
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Preview: pr427-nathan-create-f79af453

https://pr427-nathan-create-f79af453-router.cloudflare-os-previews.workers.dev

Dashboard · deleted when this PR closes

@ask-bonk

This comment was marked as outdated.

@ask-bonk

This comment was marked as outdated.

Base automatically changed from kenton/worktrees to main September 3, 2026 19:22
@ndisidore
ndisidore force-pushed the nathan/create-external-resource branch from a37f164 to ccb9d9a Compare September 4, 2026 15:04
@ask-bonk

This comment was marked as outdated.

@ask-bonk

This comment was marked as off-topic.

@ask-bonk

This comment was marked as outdated.

@ask-bonk

This comment was marked as outdated.

…diate abort kills the minting turn before the tool call is logged, and the resumed replay re-mints into the same abort for as long as the collaborator reconnects. Quarantine the id at the mint instead and restart once the log backs the creation.
…eeps the gatekeeper); refuse to queue actions against a removed gatekeeper; block dormant ambient vendors at the creation mint.
@ndisidore
ndisidore force-pushed the nathan/create-external-resource branch from a5eceb8 to 8604cbd Compare September 4, 2026 23:39
@ask-bonk

This comment was marked as outdated.

@ask-bonk

This comment was marked as outdated.

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

Labels

kernel Changes to the Workshop kernel workshop/frontend Changes to the Workshop frontend workshop/shared Changes to shared Workshop APIs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant