harn-hostlib 0.9.21

Opt-in code-intelligence and deterministic-tool host builtins for the Harn VM
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://harnlang.com/schemas/hostlib/fs/set_mode.request.json",
  "title": "fs.set_mode request",
  "type": "object",
  "properties": {
    "session_id": { "type": "string", "minLength": 1 },
    "mode": { "type": "string", "enum": ["immediate", "staged"] },
    "root": {
      "type": "string",
      "description": "Optional workspace root for .harn/state/staged storage. Defaults to the session root when an embedder provides one, otherwise the process cwd."
    }
  },
  "required": ["session_id", "mode"],
  "additionalProperties": false
}