Skip to content

About

Readable scripting, semantic code checks, a Go System One client, and Studio.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

System One Playground

Build readable scripts, semantic code checks and developer tools with the TypeSafe System One API. Use SysOneScript from your terminal or Studio, call the API directly from Go, or try semlint on your code.

Start offline. Add Jev judgments when you need them. Repository name: system-one-playground. MIT licensed · SOS 0.5 preview.

Ready to install and use

You do not need to clone this repository or install Go to use the released CLI or VS Code extension.

Install the standalone CLI

Install the latest standalone CLI on macOS or Linux:

curl -fsSL https://github.com/DonaldMurillo/system-one-playground/releases/download/vscode-v0.5.1/install.sh | sh

On Windows PowerShell:

irm https://github.com/DonaldMurillo/system-one-playground/releases/download/vscode-v0.5.1/install.ps1 | iex

Both installers detect the platform, verify the release checksum, and install sos plus sysone. The Unix installer defaults to ~/.local/bin and tells you if it is not on PATH. The Windows installer uses %LOCALAPPDATA%\Programs\SysOneScript\bin and adds that directory to the user PATH. Set SYSONESCRIPT_VERSION to pin a release or SYSONESCRIPT_INSTALL_DIR to choose another destination.

Check for or install later CLI releases explicitly:

sysone update --check
sysone update

The CLI does not update silently. VS Code also compares its bundled runtime with sysone on PATH and offers the same update command when they differ.

Install the VS Code extension

Install SysOneScript from the Visual Studio Marketplace, or search for SysOneScript in VS Code's Extensions view. The extension ships with the matching runtime, language server, runner, builder, formatter, and debugger for the user's platform. Go and a separate CLI installation are not required.

The standalone CLI remains optional for people who also want sysone and sos in an external terminal. See the editor services guide for all extension features and settings.

Run your first script

printf 'make message "Hello from System One Playground"\nshow message\n' > hello.sos
sysone run hello.sos

You should see Hello from System One Playground. No API key or Node.js required.

Turn the same script into a standalone executable:

sysone build hello.sos --output bin/hello
./bin/hello

Recipients need neither Go nor SysOneScript. Keep sysone and sos together when using the language tools; sysone delegates language commands to sos.

Add live judgments

Set TYPESAFE_API_KEY in your environment or use Set Jev token in the VS Code project panel. Canonical scripts run offline; only model-backed Jev operations require the token and can make paid provider requests.

The client guide explains credentials, models, typed answers, and usage. For scripts, see Jev judgments and interpretation and project environment settings. Parallel workers share request/time limits; those limits are not an account-wide monetary cap.

Documentation

Read the searchable documentation.

Develop this repository locally

Everything below is for contributors and source builds, not ordinary CLI or VS Code users.

Explore the repository examples

I want to… Start here
Browse every runnable sample SysOneScript examples
Build a CLI in readable sentences Repository assistant walkthrough
Connect SOS to a shell-free external tool External command module
Build a persistent typed plugin External stdio module
Ship a checksummed standalone app Bundled external module
Stress-test Jev with eight semantic decisions semantic-gauntlet/main.sos
Inspect code without API calls go run ./cmd/semlint -sites-only cmd/semlint/fixtures
Run the linter written in SOS sysone run examples/sos/semlint/scan.sos -- sites --root cmd/semlint/fixtures
Try the Go API demonstration go run ./cmd/playground 01 (can make paid requests)
Let an agent use the workspace CLI and MCP interface
Explore tool-call policy Gate and repository tools

The sites commands only inspect source and show planned checks. Both the Go and SOS semlint implementations are available; SOS semlint demonstrates bounded parallel judgments and failure handling.

Build the CLI from source

You need Go 1.25+:

git clone https://github.com/DonaldMurillo/system-one-playground.git
cd system-one-playground
mkdir -p bin
go build -o bin/sos ./cmd/sos
go build -o bin/sysone ./cmd/sysone
export PATH="$PWD/bin:$PATH"

Run Studio from the repository

Studio gives you a project file tree, editor hints, vocabulary search, environment settings, and separate interpretation and runtime traces. Its frontend requires Node.js 18+ and pnpm:

pnpm --dir studio install --frozen-lockfile
pnpm --dir studio build
go build -o bin/sos-studio ./cmd/sos-studio
sysone --project examples/sos/repo-assistant open studio

Keep sos-studio alongside the other two executables. For the optional native desktop app, see the Studio guide.

Build the VS Code extension from the repository

To build the current checkout, smoke-test its VSIX, and update the local sos, sysone, and VS Code extension installations together:

./scripts/sync-local-dev.sh

Reload any VS Code windows that were already open after the command completes. For the individual build steps, use:

go generate ./internal/sosbuild
mkdir -p vscode/bin
go build -o vscode/bin/sos ./cmd/sos
pnpm --dir vscode check
pnpm --dir vscode test
pnpm --dir vscode package
code --install-extension "vscode/sysonescript-vscode-$(node -p 'require("./vscode/package.json").version').vsix"

Development checkouts can set sysonescript.server.command to an absolute path such as /path/to/system-one-playground/bin/sos; the sysone entry point is also supported.

Run the repository checks

go test ./...
go vet ./...
pnpm --dir studio test
pnpm --dir studio run lint
(cd desktop && go test ./... && go vet ./...)

Run the documentation site locally

The docs site requires Go 1.27+:

cd docs-site
python3 scripts/sync_content.py
go run .

Open http://localhost:3070. The site is built with fastr-docs.

SOS is a preview: local packages and native builds work; remote package resolution and a plain JavaScript emitter are not implemented. Browser/WASI capabilities depend on the imported libraries; live Jev host adapters are not available. See the language guide for limits.

The Go module is github.com/DonaldMurillo/system-one-playground. Install the client in your own module with go get github.com/DonaldMurillo/system-one-playground/typesafe. See public release readiness.

MIT. Third-party dependencies retain their own licenses. This project uses the TypeSafe System One API; it is not the provider's official SDK or documentation.

Jev and agents

Add Jev to your application · For agents

About

Readable scripting, semantic code checks, a Go System One client, and Studio.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages