skillscript-runtime 0.19.1 → 0.19.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -435,14 +435,14 @@ function collectSecuritySignals(source) {
435
435
  const shellMatch = /shell\s*\(\s*command\s*=\s*"([^"]+)"/.exec(line);
436
436
  if (shellMatch !== null) {
437
437
  shellOps++;
438
- const cmd = shellMatch[1]!.trim();
438
+ const cmd = shellMatch[1].trim();
439
439
  const isUnsafe = /unsafe\s*=\s*true/.test(line);
440
440
  if (isUnsafe) {
441
441
  unsafeShell++;
442
442
  shellBinaries.add("bash");
443
443
  } else if (cmd.length > 0 && !cmd.startsWith("${") && !cmd.startsWith("$(")) {
444
444
  const binary = /^([^\s]+)/.exec(cmd);
445
- if (binary !== null) shellBinaries.add(binary[1]!);
445
+ if (binary !== null) shellBinaries.add(binary[1]);
446
446
  }
447
447
  }
448
448
  if (/approved\s*=\s*"/.test(line)) approvedOps++;
@@ -2,7 +2,7 @@
2
2
  "provenance_version": "1.0",
3
3
  "language_version": "1.0",
4
4
  "compiler_version": "0.1.0-dev",
5
- "compiled_at": "2026-06-07T23:02:51.300Z",
5
+ "compiled_at": "2026-06-07T23:31:30.832Z",
6
6
  "source_skill": {
7
7
  "name": "hello-world"
8
8
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillscript-runtime",
3
- "version": "0.19.1",
3
+ "version": "0.19.3",
4
4
  "description": "Runtime, compiler, lint, CLI, and dashboard for Skillscript — a small declarative language for authoring agent workflows.",
5
5
  "license": "MIT",
6
6
  "author": "Scott Shwarts <scotts@pobox.com>",
@@ -103,6 +103,7 @@
103
103
  },
104
104
  "devDependencies": {
105
105
  "@types/node": "^22.10.0",
106
+ "happy-dom": "^20.10.2",
106
107
  "tsx": "^4.19.0",
107
108
  "typescript": "^5.7.0",
108
109
  "vitest": "^2.1.0"