Files
Waleed 2e40feb0fe refactor(workflow-code): final-state audit cleanup (#10318)
Final-state audit of workflows/workspace as code: super-linear regexes and lookups on user input made linear (each with a failing-before test), staged blob uploads run 4 at a time, duplicated helpers consolidated onto shared ones, dead exports removed, hand-written refusal/strict-code/subflow-default data derived from their sources, and docs/guides/SYNTAX.md/exit-code tables brought back in line with the code under new drift tests.
2026-11-22 13:14:54 -08:00

86 lines
2.2 KiB
JSON

{
"name": "sim",
"version": "2.3.0",
"description": "Sim CLI - talk to the Sim API from your terminal",
"type": "module",
"imports": {
"#sim-cli/*": "./src/*.ts"
},
"bin": {
"sim": "dist/index.js"
},
"scripts": {
"prebuild": "bun run clean",
"build": "bun build src/index.ts src/runtime.ts --target=node --format=esm --packages=bundle --reject-unresolved --env='SIM_CLI_TELEMETRY_*' --outdir=dist && tsc -p tsconfig.types.json",
"clean": "bun -e \"import { rmSync } from 'node:fs'; rmSync('dist', { recursive: true, force: true })\"",
"type-check": "tsc --noEmit",
"lint": "biome check --write --unsafe .",
"lint:check": "biome check .",
"format": "biome format --write .",
"format:check": "biome format .",
"test": "vitest run",
"prepublishOnly": "bun run build"
},
"files": [
"dist",
"THIRD_PARTY_LICENSES"
],
"keywords": [
"sim",
"ai",
"agents",
"cli",
"workflow"
],
"author": "Sim",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/simstudioai/sim.git",
"directory": "packages/sim-cli"
},
"homepage": "https://github.com/simstudioai/sim/tree/main/packages/sim-cli#readme",
"bugs": {
"url": "https://github.com/simstudioai/sim/issues"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=20"
},
"dependencies": {
"chalk": "5.6.2",
"commander": "^11.1.0",
"csv-parse": "7.0.3",
"diff": "9.0.0",
"js-yaml": "4.3.2",
"minisearch": "7.2.0",
"proper-lockfile": "4.1.2"
},
"devDependencies": {
"@sim/testing": "workspace:*",
"@sim/tsconfig": "workspace:*",
"@sim/utils": "workspace:*",
"@sim/workflow-code": "workspace:*",
"@sim/workflow-sdk": "workspace:*",
"@sim/workflow-types": "workspace:*",
"@sim/workspace-code": "workspace:*",
"@types/js-yaml": "4.0.9",
"@types/node": "24.19.2",
"@types/proper-lockfile": "4.1.4",
"typescript": "^7.0.2",
"vitest": "^5.1.0"
},
"exports": {
"./embed": {
"types": "./src/embed.ts",
"default": "./src/embed.ts"
},
"./runtime": {
"types": "./dist/runtime.d.ts",
"default": "./dist/runtime.js"
}
}
}