skillscript-runtime 0.18.9 → 0.19.1
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.
- package/README.md +1 -1
- package/dist/bootstrap.d.ts.map +1 -1
- package/dist/bootstrap.js +43 -34
- package/dist/bootstrap.js.map +1 -1
- package/dist/cli.js +13 -0
- package/dist/cli.js.map +1 -1
- package/dist/connectors/agent.d.ts +6 -2
- package/dist/connectors/agent.d.ts.map +1 -1
- package/dist/connectors/types.d.ts +2 -8
- package/dist/connectors/types.d.ts.map +1 -1
- package/dist/connectors/types.js.map +1 -1
- package/dist/dashboard/server.d.ts +49 -0
- package/dist/dashboard/server.d.ts.map +1 -1
- package/dist/dashboard/server.js +129 -3
- package/dist/dashboard/server.js.map +1 -1
- package/dist/errors.d.ts +25 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +42 -0
- package/dist/errors.js.map +1 -1
- package/dist/mcp-server.d.ts +14 -0
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +83 -6
- package/dist/mcp-server.js.map +1 -1
- package/dist/parser.d.ts +1 -1
- package/dist/parser.d.ts.map +1 -1
- package/dist/parser.js +4 -4
- package/dist/parser.js.map +1 -1
- package/dist/runtime-env-resolver.d.ts +76 -0
- package/dist/runtime-env-resolver.d.ts.map +1 -0
- package/dist/runtime-env-resolver.js +145 -0
- package/dist/runtime-env-resolver.js.map +1 -0
- package/dist/runtime.d.ts +10 -0
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +1 -1
- package/dist/runtime.js.map +1 -1
- package/dist/scheduler.d.ts +84 -11
- package/dist/scheduler.d.ts.map +1 -1
- package/dist/scheduler.js +155 -33
- package/dist/scheduler.js.map +1 -1
- package/dist/skill-catalog.js +7 -11
- package/dist/skill-catalog.js.map +1 -1
- package/dist/trace.d.ts +9 -1
- package/dist/trace.d.ts.map +1 -1
- package/dist/trace.js +10 -2
- package/dist/trace.js.map +1 -1
- package/docs/adopter-playbook.md +135 -0
- package/docs/configuration.md +2 -0
- package/examples/skillscripts/hello-world.skill.provenance.json +1 -1
- package/package.json +1 -1
- package/scaffold/.env.example +22 -1
package/docs/configuration.md
CHANGED
|
@@ -57,6 +57,8 @@ The CLI auto-loads `$SKILLSCRIPT_HOME/.env` at startup and populates `process.en
|
|
|
57
57
|
| `SKILLSCRIPT_POLL_INTERVAL_SECONDS=30` | Scheduler tick / poll interval (seconds) | env > config > default `30` |
|
|
58
58
|
| `SKILLSCRIPT_ABSOLUTE_TIMEOUT_MS=300000` | Runtime fallback timeout (ms) when no per-op / skill / connector default applies | env > config > default `300000` (5 min) |
|
|
59
59
|
| `SKILLSCRIPT_MAX_RECURSION_DEPTH=10` | Composition recursion depth ceiling for `$ execute_skill` chains | env > config > default `10` |
|
|
60
|
+
| `SKILLSCRIPT_EVENT_INGRESS_ENABLED=true` | Mount `POST /event` for v0.19.0 event-triggered skills. Default `false` — route returns 404 when not enabled. Shares `SKILLSCRIPT_PORT` with dashboard/RPC (one HTTP server). | env > default `false` |
|
|
61
|
+
| `SKILLSCRIPT_EVENT_INGRESS_AUTH_TOKEN=<token>` | Bearer-token auth for `POST /event`. When set, every event POST requires `Authorization: Bearer <token>`; 401 otherwise. Default unset = open-internally (still gated by bind address). | env > default unset |
|
|
60
62
|
| `OLLAMA_BASE_URL=http://...` | Ollama endpoint for LocalModel (default `http://localhost:11434`) | env > built-in default |
|
|
61
63
|
|
|
62
64
|
`SKILLSCRIPT_HOME` is the chicken-and-egg case — the path to `.env` requires it, so `.env` can't set it. Use shell, Docker `-e`, or systemd `Environment=` instead.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skillscript-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.1",
|
|
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>",
|
package/scaffold/.env.example
CHANGED
|
@@ -64,10 +64,31 @@
|
|
|
64
64
|
# reach the listener.
|
|
65
65
|
# SKILLSCRIPT_HOST=0.0.0.0
|
|
66
66
|
|
|
67
|
-
# Dashboard / serve HTTP port. Default 7878.
|
|
67
|
+
# Dashboard / serve HTTP port. Default 7878. Used for the SPA, JSON-RPC
|
|
68
|
+
# at /rpc, AND the v0.19.0 event-trigger ingress at /event (they share
|
|
69
|
+
# one HTTP server — no separate event port).
|
|
68
70
|
# SKILLSCRIPT_PORT=8080
|
|
69
71
|
|
|
70
72
|
|
|
73
|
+
# ─── Event-trigger HTTP ingress (v0.19.0) ──────────────────────────────
|
|
74
|
+
|
|
75
|
+
# Enable POST /event for external HTTP-triggered skills. Default false —
|
|
76
|
+
# the route returns 404 when not enabled. Once enabled, external services
|
|
77
|
+
# POST {event_name, params} and the runtime fires the registered skill
|
|
78
|
+
# asynchronously, returning 200 + {run_id, durability: "in-process"}.
|
|
79
|
+
# The route mounts on SKILLSCRIPT_PORT (above); no separate port.
|
|
80
|
+
# Localhost-only by default — set SKILLSCRIPT_HOST=0.0.0.0 to expose
|
|
81
|
+
# beyond loopback. "Enforce the DMZ assumption by the bind, not by hope."
|
|
82
|
+
# SKILLSCRIPT_EVENT_INGRESS_ENABLED=true
|
|
83
|
+
|
|
84
|
+
# Optional bearer-token auth for POST /event. When set, every event
|
|
85
|
+
# POST must carry `Authorization: Bearer <token>` matching this value;
|
|
86
|
+
# 401 otherwise. Default unset = open-internally (still gated by the
|
|
87
|
+
# bind address). Cheap to wire early — turning it on later is just an
|
|
88
|
+
# env edit + restart, no refactor.
|
|
89
|
+
# SKILLSCRIPT_EVENT_INGRESS_AUTH_TOKEN=your-secret-token-here
|
|
90
|
+
|
|
91
|
+
|
|
71
92
|
# ─── Runtime tuning ────────────────────────────────────────────────────
|
|
72
93
|
|
|
73
94
|
# Scheduler tick / poll interval in seconds. Default 30. Lower (e.g. 5)
|