GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — sdk/scripts at main · agentuity/sdk

Expand file tree

/

scripts

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

scripts

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
lib
lib
 
 
README.md
README.md
 
 
build-sdk.sh
build-sdk.sh
 
 
canary.ts
canary.ts
 
 
check-legacy-cli.ts
check-legacy-cli.ts
 
 
generate-release-data.sh
generate-release-data.sh
 
 
generate-snapshot-schema.ts
generate-snapshot-schema.ts
 
 
install-sdk-tarballs.sh
install-sdk-tarballs.sh
 
 
link-local.sh
link-local.sh
 
 
pack-cli-for-install-test.sh
pack-cli-for-install-test.sh
 
 
pack-sdk.sh
pack-sdk.sh
 
 
prepare-sdk-for-testing.sh
prepare-sdk-for-testing.sh
 
 
publish.ts
publish.ts
 
 
test-bun-check.sh
test-bun-check.sh
 
 
test-coder.sh
test-coder.sh
 
 
test-dev.sh
test-dev.sh
 
 
test-framework-demos.sh
test-framework-demos.sh
 
 
test-install.sh
test-install.sh
 
 
test-package-install.sh
test-package-install.sh
 
 
test-queue.sh
test-queue.sh
 
 
test-sandbox-perf.sh
test-sandbox-perf.sh
 
 
tsconfig.json
tsconfig.json
 
 

README.md

Outline

SDK Testing Scripts

Production-like testing with packaged tarballs — these scripts ensure we test exactly what end users will install from npm, not workspace symlinks.

Test tree

All test apps live under tests/ at the repo root:

tests/
   frameworks/              # full framework demos (Playwright)
      tanstack-start/
      nextjs-app/
      svelte-web/
   services/                # per-service client smoke tests
      db/ email/ keyvalue/ vector/ queue/
      sandbox/ schedule/ task/ webhook/
   integration/             # app-level integration targets
      e2e-web/
      oauth/
      standalone-backend/

Quick Start

# Framework demos (tanstack / nextjs / svelte via agentuity dev + Playwright)
bun run test:frameworks

# Per-service client smoke (needs AGENTUITY_SDK_KEY)
bun run test:services

# Individual service
bun run test:services:keyvalue
bun run test:services:queue

# CLI command tests (sandbox, queue) — exercise the CLI against live cloud
bash scripts/test-sandbox.sh
bash scripts/test-queue.sh

# Dev smoke for framework apps (checks `agentuity dev` starts them)
bun run test:dev

Scripts

Core build/pack (for production-like testing)

  • build-sdk.sh — Build all SDK packages once. Idempotent.
  • pack-sdk.sh — Pack SDK packages as *.tgz tarballs in dist/packages/.
  • install-sdk-tarballs.sh <app-dir> — Install tarballs into a test app (replaces workspace:* symlinks with real npm-style installs).
  • prepare-sdk-for-testing.sh — Convenience: build + pack in one go.

All scripts are dynamic — they auto-discover packages in packages/, so adding a new package requires no script changes.

Framework + dev smoke

  • test-framework-demos.sh — Playwright e2e against tanstack / nextjs / svelte via agentuity dev. Supports --tanstack-only, --nextjs-only, --svelte-only, --skip-build.
  • test-dev.sh — Starts each framework app under agentuity dev and verifies it responds on port 3000. Exercises framework detection and AI-Gateway env injection.

Service CLI tests (CI)

  • test-queue.sh — Exercises agentuity cloud queue … against live cloud.
  • test-sandbox.sh — Exercises agentuity cloud sandbox … against live cloud.

Install verification

  • test-package-install.sh — Install all published packages into a scratch project and verify imports work.
  • test-install.sh / test-bun-check.sh — Used by the .github/workflows/test-install.yaml pipeline.

Utilities

  • canary.ts, publish.ts, generate-release-data.sh — release tooling.
  • check-legacy-cli.ts, link-local.sh, generate-snapshot-schema.ts — dev helpers.

CI Workflow

See .github/workflows/package-smoke-test.yaml. Jobs:

Job Script What it runs
smoke-test test-package-install.sh Package install sanity
postgres-ssl-test packages/postgres/test-postgres.sh Postgres resilience
installation-type-test packages/cli/scripts/test-installation-type.sh CLI install detection
testing-apps-test direct bun test Integration app + framework structure tests
sandbox-cli-test test-sandbox.sh CLI sandbox commands vs cloud
queue-cli-test test-queue.sh CLI queue commands vs cloud
service-client-test test:services:* Service client packages vs cloud
framework-demo-test test-framework-demos.sh Playwright e2e vs framework demos

Benefits of the tarball flow

✅ Production parity — test with real npm packages ✅ Catches packaging bugs — missing files, broken exports ✅ No workspace magic — no symlink resolution issues ✅ Reproducible — same scripts locally and in CI

Adding a New Package

All scripts auto-discover packages in packages/. No script changes needed.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.