skillscript-runtime 0.17.2 → 0.17.4

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.
@@ -0,0 +1,89 @@
1
+ # Skillscript runtime — example .env file.
2
+ #
3
+ # Copy this to `.env` in the same directory ($SKILLSCRIPT_HOME) and edit
4
+ # the values you want set. The CLI auto-loads `.env` at startup and
5
+ # populates `process.env` for any key not already set in the shell.
6
+ #
7
+ # Precedence (most-specific wins):
8
+ # 1. CLI flag (e.g. `--port 8080`)
9
+ # 2. Shell env var (e.g. `export SKILLSCRIPT_PORT=8080`)
10
+ # 3. This `.env` (the values you set below)
11
+ # 4. `skillscript.config.json` field
12
+ # 5. Built-in default
13
+ #
14
+ # Lines starting with `#` are comments. Blank lines are ignored.
15
+ # Values can be quoted ("..." or '...') if they contain spaces.
16
+
17
+
18
+ # ─── Posture / security switches ───────────────────────────────────────
19
+
20
+ # Force every outside-MCP `skill_write` to land Draft regardless of what
21
+ # the body declares. Closes the agent-self-approval path — adopters
22
+ # wanting a human approval gate before any skill executes set this true.
23
+ # Default false (preserves v0.9.1 self-approval-via-body-declaration).
24
+ # SKILLSCRIPT_FORCE_ALWAYS_DRAFT=true
25
+
26
+ # Permit `shell(unsafe=true)` ops (full bash interpretation: pipes, $VAR,
27
+ # command substitution). Default false. Set true only after auditing
28
+ # every unsafe-shell op in your skill corpus — lint tier-2 warning fires
29
+ # on every appearance regardless.
30
+ # SKILLSCRIPT_ENABLE_UNSAFE_SHELL=true
31
+
32
+
33
+ # ─── Network / bind config ─────────────────────────────────────────────
34
+
35
+ # Dashboard / serve HTTP bind address. Default 127.0.0.1 (localhost-only).
36
+ # Container deployments set 0.0.0.0 so the host-side port-forward can
37
+ # reach the listener.
38
+ # SKILLSCRIPT_HOST=0.0.0.0
39
+
40
+ # Dashboard / serve HTTP port. Default 7878.
41
+ # SKILLSCRIPT_PORT=8080
42
+
43
+
44
+ # ─── Identity propagation (multi-agent hosts only) ─────────────────────
45
+
46
+ # Inbound HTTP header name carrying host-attested caller identity.
47
+ # When set, `DashboardServer` reads this header on every /rpc request
48
+ # and threads the value as `McpRequestCtx.callerIdentity`; the
49
+ # `skill_write` handler captures it as `SkillMeta.author`. Multi-agent
50
+ # MCP hosts (NanoClaw-style) configure this. Skip if single-user /
51
+ # single-tenant — author is captured from the runtime's own writer
52
+ # identity by default. See adopter playbook for the trust model.
53
+ # SKILLSCRIPT_MCP_CALLER_IDENTITY_HEADER=X-Agent-Id
54
+
55
+
56
+ # ─── LocalModel (Ollama) ───────────────────────────────────────────────
57
+
58
+ # Override the Ollama endpoint. Default http://localhost:11434.
59
+ # OLLAMA_BASE_URL=http://ollama.internal:11434
60
+
61
+
62
+ # ─── Substrate-specific tokens / endpoints ─────────────────────────────
63
+ #
64
+ # Any variable set here is also reachable via `${VAR}` substitution in
65
+ # `skillscript.config.json` and `connectors.json`. The canonical adopter
66
+ # pattern: secrets + endpoints in `.env` (gitignored), declarative shape
67
+ # in JSON configs (committed).
68
+ #
69
+ # Example wiring in connectors.json:
70
+ #
71
+ # {
72
+ # "amp": {
73
+ # "class": "HttpMcpConnector",
74
+ # "config": {
75
+ # "endpoint": "${AMP_ENDPOINT}",
76
+ # "headers": { "Authorization": "Bearer ${AMP_TOKEN}" }
77
+ # }
78
+ # }
79
+ # }
80
+ #
81
+ # AMP_ENDPOINT=https://amp.internal/rpc
82
+ # AMP_TOKEN=your-token-here
83
+
84
+
85
+ # ─── NOT settable via .env (chicken-and-egg) ───────────────────────────
86
+ #
87
+ # SKILLSCRIPT_HOME — read BEFORE this .env loads (we need HOME_DIR to
88
+ # find the .env). Set in your shell, Docker `-e`, or systemd Environment=
89
+ # directive instead.