@plurnk/plurnk-contracts 3.3.0 → 4.0.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.
- package/.env.defaults +17 -0
- package/README.md +3 -1
- package/SPEC.md +71 -51
- package/dist/conformance/agui-v1.json +308 -183
- package/dist/schema/A2aAgentDefinition.json +42 -10
- package/dist/schema/AguiDiscovery.json +1 -1
- package/dist/schema/ProposalProjection.json +90 -14
- package/dist/src/Application.d.ts +253 -0
- package/dist/src/Application.d.ts.map +1 -0
- package/dist/src/Application.js +2 -0
- package/dist/src/Application.js.map +1 -0
- package/dist/src/ApplicationPort.d.ts +67 -147
- package/dist/src/ApplicationPort.d.ts.map +1 -1
- package/dist/src/Functionality.d.ts +2 -1
- package/dist/src/Functionality.d.ts.map +1 -1
- package/dist/src/HttpOrigin.d.ts +16 -0
- package/dist/src/HttpOrigin.d.ts.map +1 -0
- package/dist/src/HttpOrigin.js +15 -0
- package/dist/src/HttpOrigin.js.map +1 -0
- package/dist/src/Validator.d.ts +0 -1
- package/dist/src/Validator.d.ts.map +1 -1
- package/dist/src/Validator.js +0 -14
- package/dist/src/Validator.js.map +1 -1
- package/dist/src/index.d.ts +3 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/types.d.ts +11 -7
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.generated.d.ts +46 -21
- package/dist/src/types.generated.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/package.json +7 -3
- package/plurnk.md +17 -23
- package/dist/schema/ClientStatement.json +0 -104
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://schemas.plurnk.xyz/v0/ClientStatement.json",
|
|
4
|
-
"title": "ClientStatement",
|
|
5
|
-
"description": "The client-tier AST returned by PlurnkParser.parseClient: the closed protocol PlurnkStatement union plus the read-shaped LOOK utility statement.",
|
|
6
|
-
"oneOf": [
|
|
7
|
-
{
|
|
8
|
-
"$ref": "https://schemas.plurnk.xyz/v0/PlurnkStatement.json"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"$ref": "#/$defs/LookStatement"
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"$defs": {
|
|
15
|
-
"AsideOrNull": {
|
|
16
|
-
"type": [
|
|
17
|
-
"string",
|
|
18
|
-
"null"
|
|
19
|
-
]
|
|
20
|
-
},
|
|
21
|
-
"SchemeMetadataOrNull": {
|
|
22
|
-
"oneOf": [
|
|
23
|
-
{
|
|
24
|
-
"type": "array",
|
|
25
|
-
"items": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"type": "null"
|
|
31
|
-
}
|
|
32
|
-
]
|
|
33
|
-
},
|
|
34
|
-
"PathOrNull": {
|
|
35
|
-
"oneOf": [
|
|
36
|
-
{
|
|
37
|
-
"$ref": "https://schemas.plurnk.xyz/v0/ParsedPath.json"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"type": "null"
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
"TextLineMarkerOrNull": {
|
|
45
|
-
"oneOf": [
|
|
46
|
-
{
|
|
47
|
-
"$ref": "https://schemas.plurnk.xyz/v0/TextLineMarker.json"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"type": "null"
|
|
51
|
-
}
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
"MatcherBodyOrNull": {
|
|
55
|
-
"oneOf": [
|
|
56
|
-
{
|
|
57
|
-
"$ref": "https://schemas.plurnk.xyz/v0/MatcherBody.json"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"type": "null"
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
"PositionRef": {
|
|
65
|
-
"$ref": "https://schemas.plurnk.xyz/v0/Position.json"
|
|
66
|
-
},
|
|
67
|
-
"LookStatement": {
|
|
68
|
-
"type": "object",
|
|
69
|
-
"required": [
|
|
70
|
-
"op",
|
|
71
|
-
"aside",
|
|
72
|
-
"metadata",
|
|
73
|
-
"target",
|
|
74
|
-
"lineMarker",
|
|
75
|
-
"body",
|
|
76
|
-
"position"
|
|
77
|
-
],
|
|
78
|
-
"additionalProperties": false,
|
|
79
|
-
"properties": {
|
|
80
|
-
"op": {
|
|
81
|
-
"const": "LOOK"
|
|
82
|
-
},
|
|
83
|
-
"aside": {
|
|
84
|
-
"$ref": "#/$defs/AsideOrNull"
|
|
85
|
-
},
|
|
86
|
-
"metadata": {
|
|
87
|
-
"$ref": "#/$defs/SchemeMetadataOrNull"
|
|
88
|
-
},
|
|
89
|
-
"target": {
|
|
90
|
-
"$ref": "#/$defs/PathOrNull"
|
|
91
|
-
},
|
|
92
|
-
"lineMarker": {
|
|
93
|
-
"$ref": "#/$defs/TextLineMarkerOrNull"
|
|
94
|
-
},
|
|
95
|
-
"body": {
|
|
96
|
-
"$ref": "#/$defs/MatcherBodyOrNull"
|
|
97
|
-
},
|
|
98
|
-
"position": {
|
|
99
|
-
"$ref": "#/$defs/PositionRef"
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|