@plurnk/plurnk-meta 1.19.2 → 1.20.0

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.
Files changed (2) hide show
  1. package/docs/worker.md +12 -12
  2. package/package.json +58 -59
package/docs/worker.md CHANGED
@@ -20,7 +20,8 @@ the same meaning when passed to another worker. All scratch belongs to the
20
20
  workspace; its namespace does not require a namesake worker. Generated
21
21
  references live under `worker:///_plurnk/`; reference
22
22
  refreshes may replace those generated documents. EDIT creates or changes an
23
- entry, never a worker. An unscoped EDIT creates the entry from its body.
23
+ entry, never a worker. An unscoped EDIT creates the entry from its body;
24
+ KILL with an entry path deletes that entry, not its worker.
24
25
 
25
26
  ````EDIT (worker://reviewer/scratch/greet.mjs) <!-- create the entry from the body -->
26
27
  export const greet = (name) => `hello ${name}`;
@@ -85,7 +86,10 @@ child conclusions retain their ordinary delivery and wake behavior.
85
86
 
86
87
  Open Messages names unanswered messages; an arrival receipt's `resource` links
87
88
  to the same source. SEND to that address answers that message. A targetless SEND
88
- answers your observed Open Messages; SEND to a worker control address gives it
89
+ answers your observed Open Messages, or your loop's original message when none
90
+ remain open. A concluding parameterless KILL uses the same reply routing for its
91
+ body; no preceding SEND is needed to answer those messages. An empty targetless
92
+ SEND delivers nothing. SEND to a worker control address gives it
89
93
  new work instead. Curation of a message's log occurrences never deletes the
90
94
  source or changes whether it was answered. Another worker may answer it;
91
95
  the assigned worker and original sender receive that reply without a new request.
@@ -144,20 +148,16 @@ Await capital-checker's answer.
144
148
  WAIT continues the same loop: with live work—a child or an open stream—the
145
149
  loop parks and wakes when that work settles, when a message arrives, or on an
146
150
  open stream's observation cadence; without live work it continues at once.
147
- Several WAITs in one turn are one park, and what a WAIT names is its label. To wake later with nothing in flight,
151
+ Several WAITs in one turn are one park, and what a WAIT names is its label.
152
+ Scope and metadata decorations are ignored. To wake later with nothing in flight,
148
153
  add a rule with the `schedule` family targeting yourself.
149
154
 
150
- WAIT on `schedule:///rules/<alias>` attaches its pending occurrence to this
151
- loop. The attachment remains held across wakes and later bare WAITs; delivery
152
- or withdrawal settles it. See `schedule.md` for the rule and attachment resources.
153
- WAIT on other targets behaves as bare WAIT unless their scheme supports awaiting
154
- an event. Scope and metadata decorations are ignored.
155
-
156
155
  A wake ends the suspension, not its held work. Submit WAIT to wait again. Waking
157
156
  retains the loop's messages, turn allowance, and remaining execution time;
158
- parked time does not consume execution time. Conclude by observing the work's
159
- results and answering every Open Message with SEND. A later observation turn
160
- can conclude without repeating a response already delivered.
157
+ parked time does not consume execution time. After observing the work's results,
158
+ conclude with a turn containing only parameterless KILL. Its body answers the Open
159
+ Messages, or may be empty when an already-delivered answer stands. Premature
160
+ completion delivers no final answer. It joins remaining live work without cancelling it.
161
161
 
162
162
  Each child task's conclusion wakes its waiting parent and arrives as an
163
163
  `_plurnk` READ of `ops://capital-checker/1`, carrying what the child said. This is the
package/package.json CHANGED
@@ -1,62 +1,61 @@
1
1
  {
2
- "name": "@plurnk/plurnk-meta",
3
- "version": "1.19.2",
4
- "description": "The plurnk metaproject layer, published: plugin-membership primitives (the ONE trust rule, scope-agnostic symlink-aware enumeration, deployment-root resolution), the project teaching corpus (personality, Recap, scheme docs), and the home for family tooling.",
5
- "keywords": [
6
- "plurnk",
7
- "agent-skills",
8
- "skill",
9
- "documentation"
10
- ],
11
- "license": "MIT",
12
- "type": "module",
13
- "engines": {
14
- "node": ">=26"
2
+ "name": "@plurnk/plurnk-meta",
3
+ "version": "1.20.0",
4
+ "description": "The plurnk metaproject layer, published: plugin-membership primitives (the ONE trust rule, scope-agnostic symlink-aware enumeration, deployment-root resolution), the project teaching corpus (personality, Recap, scheme docs), and the home for family tooling.",
5
+ "keywords": [
6
+ "plurnk",
7
+ "agent-skills",
8
+ "skill",
9
+ "documentation"
10
+ ],
11
+ "license": "MIT",
12
+ "type": "module",
13
+ "engines": {
14
+ "node": ">=26"
15
+ },
16
+ "files": [
17
+ ".env.defaults",
18
+ "dist/**/*",
19
+ "README.md",
20
+ "SPEC.md",
21
+ "DOGFOOD.md",
22
+ "CORPUS.md",
23
+ "POLICY.md",
24
+ "recap.md",
25
+ "docs/**/*",
26
+ "skills/**/*",
27
+ "DIVERGENCES.md"
28
+ ],
29
+ "exports": {
30
+ ".": {
31
+ "types": "./dist/index.d.ts",
32
+ "default": "./dist/index.js"
15
33
  },
16
- "files": [
17
- ".env.defaults",
18
- "dist/**/*",
19
- "README.md",
20
- "SPEC.md",
21
- "DOGFOOD.md",
22
- "CORPUS.md",
23
- "POLICY.md",
24
- "recap.md",
25
- "docs/**/*",
26
- "skills/**/*",
27
- "DIVERGENCES.md"
28
- ],
29
- "exports": {
30
- ".": {
31
- "plurnk-dev": "./src/index.ts",
32
- "types": "./dist/index.d.ts",
33
- "default": "./dist/index.js"
34
- },
35
- "./package.json": "./package.json",
36
- "./POLICY.md": "./POLICY.md",
37
- "./recap.md": "./recap.md",
38
- "./docs/*.md": "./docs/*.md"
39
- },
40
- "scripts": {
41
- "test:lint": "tsc --noEmit",
42
- "test:unit": "node --conditions=plurnk-dev --env-file=.env.defaults --test src/**/*.test.ts",
43
- "test": "npm run test:lint && npm run test:unit",
44
- "build:clean": "rm -rf dist",
45
- "build:dist": "tsc -p tsconfig.build.json",
46
- "build": "npm run build:clean && npm run build:dist",
47
- "prepack": "npm run build",
48
- "prepublishOnly": "npm audit --audit-level=moderate && npm test"
49
- },
50
- "publishConfig": {
51
- "access": "public"
52
- },
53
- "homepage": "https://github.com/plurnk/plurnk-service/tree/main/plurnk-meta#readme",
54
- "bugs": {
55
- "url": "https://repo.possumtech.com/plurnk/plurnk-service/issues"
56
- },
57
- "repository": {
58
- "type": "git",
59
- "url": "git+https://github.com/plurnk/plurnk-service.git",
60
- "directory": "plurnk-meta"
61
- }
34
+ "./package.json": "./package.json",
35
+ "./POLICY.md": "./POLICY.md",
36
+ "./recap.md": "./recap.md",
37
+ "./docs/*.md": "./docs/*.md"
38
+ },
39
+ "scripts": {
40
+ "test:lint": "tsc --noEmit",
41
+ "test:unit": "node --conditions=plurnk-dev --env-file=.env.defaults --test src/**/*.test.ts",
42
+ "test": "npm run test:lint && npm run test:unit",
43
+ "build:clean": "rm -rf dist",
44
+ "build:dist": "tsc -p tsconfig.build.json",
45
+ "build": "npm run build:clean && npm run build:dist",
46
+ "prepack": "npm run build",
47
+ "prepublishOnly": "npm audit --audit-level=moderate && npm test"
48
+ },
49
+ "publishConfig": {
50
+ "access": "public"
51
+ },
52
+ "homepage": "https://github.com/plurnk/plurnk-service/tree/main/plurnk-meta#readme",
53
+ "bugs": {
54
+ "url": "https://repo.possumtech.com/plurnk/plurnk-service/issues"
55
+ },
56
+ "repository": {
57
+ "type": "git",
58
+ "url": "git+https://github.com/plurnk/plurnk-service.git",
59
+ "directory": "plurnk-meta"
60
+ }
62
61
  }