Skip to content

docs: hook suppressOutput TUI behavior + marketplace ref/sha pinning#1201

Merged
factory-davidgu merged 4 commits into
mainfrom
dgu/hooks-plugins-updates
Jun 9, 2026
Merged

docs: hook suppressOutput TUI behavior + marketplace ref/sha pinning#1201
factory-davidgu merged 4 commits into
mainfrom
dgu/hooks-plugins-updates

Conversation

@factory-davidgu

Copy link
Copy Markdown
Contributor

Summary

Updates the public docs for two recently-shipped CLI features:

Hooks: suppressOutput honored in the TUI

Hook scripts can return {"suppressOutput": true} to hide their hook block from the chat view when the hook exits 0. The block stays visible in the detailed transcript (Ctrl+O), and failing hooks (non-zero exit) are always rendered. This locks in the policy that a hook cannot silence its own failure.

  • docs/reference/hooks-reference.mdx — clarified suppressOutput description in the JSON output reference and example.

Plugin marketplaces: pin via ref and sha

extraKnownMarketplaces source objects (github, url, git-subdir) now accept optional ref (branch or tag) and sha (full 40-char commit SHA) fields. Pinning via sha makes droid plugin marketplace update a no-op.

  • docs/cli/configuration/plugins.mdx — replaced the "Version pinning is not supported" note with a new "Pinning a marketplace to a ref or commit" subsection (schema table, JSON examples, CLI flags).
  • docs/enterprise/hierarchical-settings-and-org-control.mdx — added ref and sha to the extraKnownMarketplaces source schema for github and url shapes.
  • docs/enterprise/enterprise-plugin-registry.mdx — replaced the branch-only version-management example with a ref / sha JSON example and updated the per-plugin version note.
  • docs/guides/building/building-plugins.mdx — updated the version-tracking note to point at the new pinning workflow.

…ha pinning

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@factory-droid

factory-droid Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Droid finished @factory-davidgu's task —— View job


Security Review

The docs update is mostly clear and consistent. A couple of small wording tweaks (especially around url sources vs ref/sha pinning) would reduce the chance of misconfiguration and reader confusion.

@mintlify

mintlify Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
factory 🟢 Ready View Preview Jun 8, 2026, 5:40 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Comment thread docs/enterprise/hierarchical-settings-and-org-control.mdx Outdated
Comment thread docs/enterprise/enterprise-plugin-registry.mdx
Comment thread docs/cli/configuration/plugins.mdx Outdated
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
factory-davidgu and others added 2 commits June 8, 2026 13:02
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>

@factory-ain3sh factory-ain3sh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of the "full 40 char sha" feels a tad excessive but content is clear

@factory-davidgu factory-davidgu merged commit 38175db into main Jun 9, 2026
4 checks passed
@factory-davidgu factory-davidgu deleted the dgu/hooks-plugins-updates branch June 9, 2026 00:53
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.

2 participants