@plurnk/plurnk-contracts 1.18.0 → 1.19.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.
- package/.env.defaults +11 -0
- package/README.md +2 -2
- package/SPEC.md +325 -265
- package/dist/conformance/agui-v1.json +3 -3
- package/dist/schema/ClientStatement.json +0 -10
- package/dist/schema/LoopPolicy.json +32 -3
- package/dist/schema/LoopPolicyRequest.json +16 -0
- package/dist/schema/McpConfigurationOverlay.json +1 -14
- package/dist/schema/PlurnkStatement.json +20 -31
- package/dist/schema/ProposalProjection.json +2 -2
- package/dist/schema/SkillDefinition.json +3 -3
- package/dist/schema/TextLineMarker.json +1 -1
- package/dist/src/ApplicationPort.d.ts +37 -10
- package/dist/src/ApplicationPort.d.ts.map +1 -1
- package/dist/src/LoopLifecycle.d.ts +5 -0
- package/dist/src/LoopLifecycle.d.ts.map +1 -1
- package/dist/src/LoopLifecycle.js +15 -0
- package/dist/src/LoopLifecycle.js.map +1 -1
- package/dist/src/MessageResource.d.ts +30 -0
- package/dist/src/MessageResource.d.ts.map +1 -0
- package/dist/src/MessageResource.js +2 -0
- package/dist/src/MessageResource.js.map +1 -0
- package/dist/src/PlurnkParseError.d.ts +1 -3
- package/dist/src/PlurnkParseError.d.ts.map +1 -1
- package/dist/src/PlurnkParseError.js +1 -4
- package/dist/src/PlurnkParseError.js.map +1 -1
- package/dist/src/Problems.d.ts +1 -0
- package/dist/src/Problems.d.ts.map +1 -1
- package/dist/src/Problems.js +19 -1
- package/dist/src/Problems.js.map +1 -1
- package/dist/src/TurnDisposition.d.ts +2 -3
- package/dist/src/TurnDisposition.d.ts.map +1 -1
- package/dist/src/TurnDisposition.js +4 -20
- package/dist/src/TurnDisposition.js.map +1 -1
- package/dist/src/Validator.d.ts +3 -3
- package/dist/src/Validator.d.ts.map +1 -1
- package/dist/src/Validator.js +14 -15
- package/dist/src/Validator.js.map +1 -1
- package/dist/src/index.d.ts +3 -4
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +4 -4
- package/dist/src/index.js.map +1 -1
- package/dist/src/types.d.ts +5 -5
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.generated.d.ts +32 -67
- package/dist/src/types.generated.d.ts.map +1 -1
- package/dist/src/types.js +12 -10
- package/dist/src/types.js.map +1 -1
- package/package.json +4 -3
- package/plurnk.md +39 -66
- package/dist/schema/AcpPlan.json +0 -63
- package/dist/schema/Plan.json +0 -65
- package/dist/src/AcpPlanValue.d.ts +0 -6
- package/dist/src/AcpPlanValue.d.ts.map +0 -1
- package/dist/src/AcpPlanValue.js +0 -36
- package/dist/src/AcpPlanValue.js.map +0 -1
- package/dist/src/PlanValue.d.ts +0 -9
- package/dist/src/PlanValue.d.ts.map +0 -1
- package/dist/src/PlanValue.js +0 -63
- package/dist/src/PlanValue.js.map +0 -1
package/.env.defaults
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# @plurnk/plurnk-contracts — the keys the daemon and every client share. One owner, read by all:
|
|
2
|
+
# the daemon folds this file into its floor with every other installed package's, and a client
|
|
3
|
+
# folds it beneath its own, so neither holds the other's default.
|
|
4
|
+
|
|
5
|
+
# Where the daemon listens, and so where a local client dials: one line moves both.
|
|
6
|
+
PLURNK_HOST=127.0.0.1
|
|
7
|
+
# The daemon's TCP port, shared by all client interfaces.
|
|
8
|
+
PLURNK_PORT=1066
|
|
9
|
+
# The whole URL a client dials instead: a remote portal, or a daemon bound to an address no
|
|
10
|
+
# client can dial (0.0.0.0). Unset = http://$PLURNK_HOST:$PLURNK_PORT.
|
|
11
|
+
# PLURNK_AGUI_URL=
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
The single authority for PLURNK's model-facing language contract, its AST,
|
|
4
4
|
generated model rail, shared schemas and types, runtime-neutral Problems,
|
|
5
5
|
operation results, Notices, and text coordinates. See SPEC
|
|
6
|
-
{§
|
|
6
|
+
{§root-value-api}.
|
|
7
7
|
|
|
8
8
|
## Install
|
|
9
9
|
|
|
@@ -19,7 +19,7 @@ Requires Node.js 26 or newer.
|
|
|
19
19
|
|---------------------------------|------------------------------------------------------|
|
|
20
20
|
| Concise model language teaching | [`plurnk.md`](plurnk.md) |
|
|
21
21
|
| Stable behavioral contract | [`SPEC.md`](SPEC.md) |
|
|
22
|
-
| Accepted language syntax | `SPEC.md` ({§
|
|
22
|
+
| Accepted language syntax | `SPEC.md` ({§canonical-statement}); implemented by `@plurnk/plurnk-parser` |
|
|
23
23
|
| Shared wire shapes | `schema/*.json` |
|
|
24
24
|
| JavaScript and TypeScript API | `@plurnk/plurnk-contracts` |
|
|
25
25
|
| Published JSON Schemas | `@plurnk/plurnk-contracts/schema/*.json` |
|