Skip to content

Make direct template clones self-contained - #104

Open
shrey150 wants to merge 2 commits into
devfrom
agent/stabilize-template-entrypoints
Open

Make direct template clones self-contained#104
shrey150 wants to merge 2 commits into
devfrom
agent/stabilize-template-entrypoints

Conversation

@shrey150

@shrey150 shrey150 commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add package manifests to the remaining 9 TypeScript entrypoints that previously relied on a scaffolder overlay; the other two are isolated in Fix missing Browserbase SDK dependencies in generated templates #103
  • add missing .env.example files to every TypeScript entrypoint so the website's copied cp .env.example .env instruction is valid
  • add a pyproject.toml to the Python Selenium quickstart and switch its instructions to uv sync / uv run
  • move only the two cleanup-sensitive templates under test to Stagehand 4.0.2; no template source code or browser primitive changed

Verification

  • with Fix missing Browserbase SDK dependencies in generated templates #103's two focused manifests included, all TypeScript entrypoints have a parseable manifest, a start script, an env example, and declarations for every non-built-in import
  • clean dependency installation succeeded for all 11 manifest additions across Fix missing Browserbase SDK dependencies in generated templates #103 and this PR, plus basic-caching
  • all 12 affected TypeScript entrypoints typechecked with their own installed dependencies
  • Python Selenium: uv sync, imports, bytecode compilation, and a live Browserbase/SFMOMA run passed
  • basic-caching on Stagehand 4.0.2: 3/3 live passes, including cache HIT and clean shutdown
  • company-value-prop-generator on Stagehand 4.0.2: 3/3 live passes, including two semantic extract() calls and clean shutdown
  • repository diff contains no TypeScript or Python source changes, so act / extract / observe primitives and shipped behavior are unchanged
  • changed-template CI selector smoke: 2/2 harness bookkeeping checks passed; dependency-only files are intentionally outside its runtime selector

Merge relationship

#103 and this PR modify disjoint files and can merge in either order.


Note

Low Risk
Config and docs only: new manifests, env examples, and a patch-level Stagehand bump with no source or auth logic changes.

Overview
Makes remaining TypeScript and Python templates cloneable without a scaffolder overlay: each entrypoint now has its own env example and installable manifest.

Adds package.json (Stagehand 4.0.2, dotenv, tsx, and zod where needed) to nine TypeScript templates that previously had none, plus .env.example files across all TypeScript entrypoints so cp .env.example .env works. Bumps basic-caching to Stagehand 4.0.2. Adds pyproject.toml to the Selenium Python quickstart and switches its README from uvx --with … to uv sync / uv run.

No application source or browser primitives change.

Reviewed by Cursor Bugbot for commit cb197b8. Bugbot is set up for automated code reviews on this repo. Configure here.

@socket-security

socket-security Bot commented Aug 21, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedpypi/​selenium@​4.47.095100100100100
Addednpm/​@​browserbasehq/​stagehand@​4.0.2100100100100100

View full report

@shrey150
shrey150 force-pushed the agent/stabilize-template-entrypoints branch from 465f6bc to 021e2b1 Compare August 21, 2026 23:12

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 021e2b1. Configure here.

Comment thread typescript/website-link-tester/.env.example Outdated
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