pico-engine 1.9.1 → 1.9.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.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Node version](https://img.shields.io/node/v/pico-engine.svg)](https://nodejs.org/en/download/)
4
4
 
5
- An implementation of the [pico-engine](http://www.windley.com/archives/2016/03/rebuilding_krl.shtml) hosted on node.js
5
+ The Node.js runtime for **picos** (persistent compute objects): actors with their own identity, state, and channels that communicate by events and queries. Pico behavior is written in **KRL**, which the engine compiles to JavaScript. Documentation: https://docs.picolabs.io/
6
6
 
7
7
  ## Quick start
8
8
 
@@ -11,9 +11,9 @@ npm install -g pico-engine
11
11
  pico-engine
12
12
  ```
13
13
 
14
- Open `http://localhost:3000` — a root pico and UI channel are created on first run. Operator settings (port, data dir, policy ceiling) live in **`~/.config/pico-engine/config.json`**; copy [`config.example.json`](config.example.json). See [`docs/pico-engine.md`](../../docs/pico-engine.md) (published at https://docs.picolabs.io/).
14
+ Open `http://localhost:3000` — a root pico and UI channel are created on first run. Operator settings (port, data dir, policy ceiling) live in **`~/.config/pico-engine/config.json`**; copy [`config.example.json`](https://github.com/Picolab/pico-engine/blob/master/packages/pico-engine/config.example.json). See the [engine guide](https://docs.picolabs.io/#/pico-engine).
15
15
 
16
- **Agents (local dev):** [`CLAUDE.md`](../../CLAUDE.md) at repo root + `pico-engine mcp --stdio` (stdio MCP to the same engine). Machine-readable docs: [`docs/llms.txt`](../../docs/llms.txt).
16
+ **AI coding assistants:** `pico-engine mcp --stdio` runs an MCP server against the same engine (status, picos, channels, events, queries, KRL validation). Machine-readable docs: [`llms.txt`](https://docs.picolabs.io/llms.txt) and [`llms-full.txt`](https://docs.picolabs.io/llms-full.txt). Repo conventions for agents: [`CLAUDE.md`](https://github.com/Picolab/pico-engine/blob/master/CLAUDE.md).
17
17
 
18
18
  ## Getting Started
19
19
 
@@ -390,7 +390,7 @@ Every pico has a portable **did:webvh** identity. **DID-based relationships** (L
390
390
 
391
391
  **Deprecated:** `io.picolabs.did-o` and `dido:prepareQuery` — use **`wrangler:picoQuery`** and **`event:send({ did: … })`**.
392
392
 
393
- Full guide: [docs/guides/layer2-subscriptions.md](../../docs/guides/layer2-subscriptions.md) · Release notes: [docs/release/1.6.md](../../docs/release/1.6.md) · [CHANGELOG.md](../../CHANGELOG.md) (1.6.4 mesh-oauth-exempt + KRL directory UI; 1.6.3 fixes)
393
+ Full guide: [Layer 2 relationships](https://docs.picolabs.io/#/guides/layer2-subscriptions) · Release notes: [1.6](https://docs.picolabs.io/#/release/1.6) · [CHANGELOG.md](https://github.com/Picolab/pico-engine/blob/master/CHANGELOG.md) (1.6.4 mesh-oauth-exempt + KRL directory UI; 1.6.3 fixes)
394
394
 
395
395
  **Dependency:** pico-engine 1.6 requires **pico-framework `^0.8.1`** (npm). When developing engine + framework together, use `npm run link-framework` from the repo root.
396
396
 
@@ -416,7 +416,7 @@ PICO_ENGINE_HOME=/tmp/pico-engine-a PORT=3001 npm start
416
416
  PICO_ENGINE_HOME=/tmp/pico-engine-b PORT=3002 npm start
417
417
  ```
418
418
 
419
- Open http://localhost:3001 and http://localhost:3002 — register on both, then form a Layer 2 relationship A→B. See [docs/guides/layer2-subscriptions.md](../../docs/guides/layer2-subscriptions.md). Test/demo homes live under **`/tmp`** (not `~/.pico-engine`).
419
+ Open http://localhost:3001 and http://localhost:3002 — register on both, then form a Layer 2 relationship A→B. See [Layer 2 relationships](https://docs.picolabs.io/#/guides/layer2-subscriptions). Test/demo homes live under **`/tmp`** (not `~/.pico-engine`).
420
420
 
421
421
  ## Contributing
422
422
 
@@ -8,7 +8,7 @@ exports.isXmluiSpaClientRoute = isXmluiSpaClientRoute;
8
8
  exports.viewQueryNameForComponent = viewQueryNameForComponent;
9
9
  exports.contentTypeForUiPath = contentTypeForUiPath;
10
10
  /** Pinned XMLUI standalone runtime shipped under `public/xmlui/`. */
11
- exports.XMLUI_RUNTIME_VERSION = "0.12.7";
11
+ exports.XMLUI_RUNTIME_VERSION = "0.14.28";
12
12
  exports.XMLUI_RUNTIME_PUBLIC_PATH = `/xmlui/${exports.XMLUI_RUNTIME_VERSION}.js`;
13
13
  /** XMLUI standalone always requests Main.xmlui.xs (and per-component .xmlui.xs). */
14
14
  exports.XMLUI_EMPTY_CODE_BEHIND = "var __pico_xmlui_codebehind = 0;\n";
@@ -11,7 +11,7 @@ ruleset io.picolabs.xmlui {
11
11
  }
12
12
 
13
13
  global {
14
- xmluiRuntimeVersion = "0.12.7"
14
+ xmluiRuntimeVersion = "0.14.28"
15
15
  xmluiFileRid = "io.picolabs.xmlui"
16
16
 
17
17
  xmluiRuntimePath = function() {
@@ -262,10 +262,12 @@ ruleset io.picolabs.xmlui {
262
262
  "<NavPanel>" + navLinksForApp(app_rid, multiView) + "</NavPanel>"
263
263
  }
264
264
 
265
- // XMLUI defaults: layout condensed-sticky, scrollWholePage true. That combo
266
- // mis-measures header height in WebKit (Safari) and can hide page content.
265
+ // XMLUI's default layout, condensed-sticky, mis-measures header height in
266
+ // WebKit (Safari) and can hide page content. Do not add
267
+ // scrollWholePage="false": in XMLUI 0.14 it makes each Table header as tall
268
+ // as the table, which hides every row.
267
269
  shellAppAttrs = function() {
268
- " layout=\"vertical-sticky\" scrollWholePage=\"false\""
270
+ " layout=\"vertical-sticky\""
269
271
  }
270
272
 
271
273
  mainXmlui = function(app_rid) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pico-engine",
3
- "version": "1.9.1",
4
- "description": "An implementation of the pico-engine targeting node.js",
3
+ "version": "1.9.3",
4
+ "description": "Node.js runtime for picos: persistent actors with their own identity, state, and channels that communicate by events and queries. Behavior is written in KRL. Includes an MCP server so AI coding assistants can inspect and drive a running engine.",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/Picolab/pico-engine.git"
@@ -11,12 +11,22 @@
11
11
  "bugs": {
12
12
  "url": "https://github.com/Picolab/pico-engine/issues"
13
13
  },
14
- "homepage": "https://github.com/Picolab/pico-engine#readme",
14
+ "homepage": "https://docs.picolabs.io/",
15
15
  "keywords": [
16
+ "pico",
17
+ "picos",
16
18
  "pico-engine",
17
19
  "krl",
18
- "KRE",
19
- "IoT"
20
+ "actor",
21
+ "actor-model",
22
+ "persistent-compute-objects",
23
+ "event-driven",
24
+ "rules-engine",
25
+ "iot",
26
+ "decentralized-identity",
27
+ "did",
28
+ "mcp",
29
+ "model-context-protocol"
20
30
  ],
21
31
  "files": [
22
32
  "bin",
@@ -114,8 +124,7 @@
114
124
  "onchange": "^7.1.0",
115
125
  "scriptsp": "^1.1.1",
116
126
  "ts-node": "^10.4.0",
117
- "typescript": "^5.2.2",
118
- "xmlui": "^0.12.7"
127
+ "typescript": "^5.2.2"
119
128
  },
120
129
  "ava": {
121
130
  "extensions": [
@@ -131,5 +140,5 @@
131
140
  "!test/helpers/**/*"
132
141
  ]
133
142
  },
134
- "gitHead": "489ab2581faccdea74105a34d7049e32dcf8628a"
143
+ "gitHead": "e7b5699ce223e802b8d2b68f78f3a87bd369b273"
135
144
  }