skillscript-runtime 0.16.0 → 0.16.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.
@@ -1,17 +1,16 @@
1
- // Onboarding scaffold: OpenAI-API-backed LocalModel. v0.7.3.
1
+ // Onboarding scaffold: OpenAI-API-backed LocalModel.
2
2
  //
3
3
  // HTTP client to OpenAI's Chat Completions endpoint. Implements the
4
- // `LocalModel.run(prompt, opts)` typed contract so the v0.7.2 bridge
5
- // (`LocalModelMcpConnector`) surfaces it as canonical `$ llm prompt=...`
6
- // for skills.
4
+ // `LocalModel.run(prompt, opts)` typed contract so the
5
+ // `LocalModelMcpConnector` bridge surfaces it as canonical
6
+ // `$ llm prompt=... [maxTokens=N] [model="..."] -> R` for skills.
7
7
  //
8
8
  // **Prompt-vs-messaging caveat.** `LocalModel.run()` takes a single
9
9
  // `prompt` string; Chat Completions expects a list of messages with roles.
10
10
  // This adapter wraps the prompt as a single `user` message. Skills that
11
- // need multi-turn or system-prompt isolation should treat this as a
12
- // limitation of the v0.7.x contract and pair the LLM dispatch with `$set`
13
- // + accumulation in the skill body for now. v0.8.x is a likely venue
14
- // for a richer message-shaped LocalModel contract.
11
+ // need multi-turn or system-prompt isolation should pair the LLM dispatch
12
+ // with `$set` + accumulation in the skill body the LocalModel contract
13
+ // is intentionally narrow (prompt-in, text-out).
15
14
 
16
15
  import type {
17
16
  LocalModel,
@@ -1,12 +1,12 @@
1
- // Onboarding scaffold: tmux-shell AgentConnector. v0.7.3.
1
+ // Onboarding scaffold: tmux-shell AgentConnector.
2
2
  //
3
3
  // Delivers skill output to a named tmux session via `tmux send-keys`.
4
4
  // Matches what nanoclaw-style agent harnesses do internally — adopters
5
- // with agents running in tmux sessions can wire `# Output: prompt-context:
6
- // <agent>` end-to-end against this impl.
5
+ // with agents running in tmux sessions can wire `# Output: agent: <agent>`
6
+ // end-to-end against this impl.
7
7
  //
8
8
  // **Scope.** Implements `deliver()` + `list_agents()` + `wake()` +
9
- // `manifest()` per the v0.7.x AgentConnector contract. `wake()` is a no-op
9
+ // `manifest()` per the AgentConnector contract. `wake()` is a no-op
10
10
  // here (tmux panes are always live; wake is for harnesses with sleep modes).
11
11
 
12
12
  import { spawn } from "node:child_process";
@@ -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-02T15:06:16.833Z",
5
+ "compiled_at": "2026-06-02T16:19:52.549Z",
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.16.0",
3
+ "version": "0.16.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>",