@plurnk/plurnk-contracts 1.16.4 → 1.17.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/README.md +13 -29
- package/SPEC.md +605 -518
- package/dist/conformance/agui-v1.json +3 -3
- package/dist/schema/CapabilityProjection.json +2 -4
- package/dist/schema/ClientStatement.json +5 -52
- package/dist/schema/FunctionalityDefinitionState.json +2 -2
- package/dist/schema/LineMarker.json +1 -1
- package/dist/schema/LoopPolicy.json +2 -3
- package/dist/schema/MatcherBody.json +6 -6
- package/dist/schema/McpServerDefinition.json +17 -0
- package/dist/schema/ModelCatalogPage.json +10 -1
- package/dist/schema/ModelRoute.json +9 -0
- package/dist/schema/Notice.json +1 -1
- package/dist/schema/ParsedPath.json +3 -2
- package/dist/schema/Plan.json +9 -5
- package/dist/schema/PlurnkStatement.json +86 -134
- package/dist/schema/ProposalProjection.json +2 -1
- package/dist/schema/ResourceSelection.json +51 -27
- package/dist/schema/SkillDefinition.json +3 -3
- package/dist/src/AcpPlanValue.d.ts +0 -1
- package/dist/src/AcpPlanValue.d.ts.map +1 -1
- package/dist/src/AcpPlanValue.js +14 -13
- package/dist/src/AcpPlanValue.js.map +1 -1
- package/dist/src/ApplicationPort.d.ts +16 -14
- package/dist/src/ApplicationPort.d.ts.map +1 -1
- package/dist/src/AstBuilder.d.ts +3 -2
- package/dist/src/AstBuilder.d.ts.map +1 -1
- package/dist/src/AstBuilder.js +340 -187
- package/dist/src/AstBuilder.js.map +1 -1
- package/dist/src/JsonDocument.d.ts +2 -0
- package/dist/src/JsonDocument.d.ts.map +1 -0
- package/dist/src/JsonDocument.js +14 -0
- package/dist/src/JsonDocument.js.map +1 -0
- package/dist/src/LoopLifecycle.d.ts +3 -0
- package/dist/src/LoopLifecycle.d.ts.map +1 -0
- package/dist/src/LoopLifecycle.js +14 -0
- package/dist/src/LoopLifecycle.js.map +1 -0
- package/dist/src/PlanValue.d.ts +1 -1
- package/dist/src/PlanValue.d.ts.map +1 -1
- package/dist/src/PlanValue.js +10 -6
- package/dist/src/PlanValue.js.map +1 -1
- package/dist/src/PlurnkErrorStrategy.d.ts.map +1 -1
- package/dist/src/PlurnkErrorStrategy.js +58 -139
- package/dist/src/PlurnkErrorStrategy.js.map +1 -1
- package/dist/src/PlurnkParseError.d.ts +3 -1
- package/dist/src/PlurnkParseError.d.ts.map +1 -1
- package/dist/src/PlurnkParseError.js +4 -1
- package/dist/src/PlurnkParseError.js.map +1 -1
- package/dist/src/PlurnkParser.d.ts +9 -5
- package/dist/src/PlurnkParser.d.ts.map +1 -1
- package/dist/src/PlurnkParser.js +175 -180
- package/dist/src/PlurnkParser.js.map +1 -1
- package/dist/src/RecordingListener.d.ts +1 -1
- package/dist/src/RecordingListener.d.ts.map +1 -1
- package/dist/src/RecordingListener.js +24 -6
- package/dist/src/RecordingListener.js.map +1 -1
- package/dist/src/TurnDisposition.d.ts +11 -0
- package/dist/src/TurnDisposition.d.ts.map +1 -0
- package/dist/src/TurnDisposition.js +32 -0
- package/dist/src/TurnDisposition.js.map +1 -0
- package/dist/src/Validator.js +1 -1
- package/dist/src/Validator.js.map +1 -1
- package/dist/src/generated/plurnkLexer.d.ts +95 -106
- package/dist/src/generated/plurnkLexer.d.ts.map +1 -1
- package/dist/src/generated/plurnkLexer.js +674 -828
- package/dist/src/generated/plurnkLexer.js.map +1 -1
- package/dist/src/generated/plurnkParser.d.ts +111 -152
- package/dist/src/generated/plurnkParser.d.ts.map +1 -1
- package/dist/src/generated/plurnkParser.js +756 -1082
- package/dist/src/generated/plurnkParser.js.map +1 -1
- package/dist/src/generated/plurnkParserVisitor.d.ts +15 -36
- package/dist/src/generated/plurnkParserVisitor.d.ts.map +1 -1
- package/dist/src/generated/plurnkParserVisitor.js +12 -30
- package/dist/src/generated/plurnkParserVisitor.js.map +1 -1
- package/dist/src/index.d.ts +5 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +4 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/types.d.ts +3 -7
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.generated.d.ts +147 -80
- package/dist/src/types.generated.d.ts.map +1 -1
- package/dist/src/types.js +3 -3
- package/dist/src/types.js.map +1 -1
- package/package.json +4 -8
- package/plurnk.md +103 -119
- package/dist/plurnk.gemma.gbnf +0 -141
- package/dist/plurnk.qwen.gbnf +0 -130
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
"id": 1,
|
|
92
92
|
"worker_id": 7,
|
|
93
93
|
"origin": "model",
|
|
94
|
-
"op": "
|
|
94
|
+
"op": "TASK",
|
|
95
95
|
"coordinate": "1.1.1",
|
|
96
|
-
"tx": { "body": "Work." }
|
|
96
|
+
"tx": { "body": { "entries": [{ "content": "Work.", "priority": "medium", "status": "in_progress" }] } }
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
{
|
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
{
|
|
560
560
|
"type": "CUSTOM",
|
|
561
561
|
"name": "plurnk.row",
|
|
562
|
-
"value": { "id": 1, "worker_id": 7, "origin": "model", "op": "
|
|
562
|
+
"value": { "id": 1, "worker_id": 7, "origin": "model", "op": "TASK", "tx": { "body": { "entries": [] } } }
|
|
563
563
|
}
|
|
564
564
|
],
|
|
565
565
|
"expect": {
|
|
@@ -2,15 +2,13 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schemas.plurnk.xyz/v0/CapabilityProjection.json",
|
|
4
4
|
"title": "CapabilityProjection",
|
|
5
|
-
"description": "The
|
|
5
|
+
"description": "The service and workspace capability policies and their normalized effective intersection.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"additionalProperties": false,
|
|
8
8
|
"properties": {
|
|
9
9
|
"service": { "$ref": "https://schemas.plurnk.xyz/v0/CapabilityPolicy.json" },
|
|
10
10
|
"workspace": { "$ref": "https://schemas.plurnk.xyz/v0/CapabilityPolicy.json" },
|
|
11
|
-
"workerBound": { "$ref": "https://schemas.plurnk.xyz/v0/CapabilityPolicy.json" },
|
|
12
|
-
"worker": { "$ref": "https://schemas.plurnk.xyz/v0/CapabilityPolicy.json" },
|
|
13
11
|
"effective": { "$ref": "https://schemas.plurnk.xyz/v0/CapabilityPolicy.json" }
|
|
14
12
|
},
|
|
15
|
-
"required": ["service", "workspace", "
|
|
13
|
+
"required": ["service", "workspace", "effective"]
|
|
16
14
|
}
|
|
@@ -2,20 +2,17 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schemas.plurnk.xyz/v0/ClientStatement.json",
|
|
4
4
|
"title": "ClientStatement",
|
|
5
|
-
"description": "The client-tier AST returned by PlurnkParser.parseClient: the closed protocol PlurnkStatement union plus read-shaped LOOK
|
|
5
|
+
"description": "The client-tier AST returned by PlurnkParser.parseClient: the closed protocol PlurnkStatement union plus the read-shaped LOOK utility statement.",
|
|
6
6
|
"oneOf": [
|
|
7
7
|
{
|
|
8
8
|
"$ref": "https://schemas.plurnk.xyz/v0/PlurnkStatement.json"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
11
|
"$ref": "#/$defs/LookStatement"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"$ref": "#/$defs/BuffStatement"
|
|
15
12
|
}
|
|
16
13
|
],
|
|
17
14
|
"$defs": {
|
|
18
|
-
"
|
|
15
|
+
"AsideOrNull": {
|
|
19
16
|
"type": [
|
|
20
17
|
"string",
|
|
21
18
|
"null"
|
|
@@ -81,8 +78,7 @@
|
|
|
81
78
|
"type": "object",
|
|
82
79
|
"required": [
|
|
83
80
|
"op",
|
|
84
|
-
"
|
|
85
|
-
"annotation",
|
|
81
|
+
"aside",
|
|
86
82
|
"metadata",
|
|
87
83
|
"target",
|
|
88
84
|
"lineMarker",
|
|
@@ -94,11 +90,8 @@
|
|
|
94
90
|
"op": {
|
|
95
91
|
"const": "LOOK"
|
|
96
92
|
},
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
},
|
|
100
|
-
"annotation": {
|
|
101
|
-
"$ref": "#/$defs/AnnotationOrNull"
|
|
93
|
+
"aside": {
|
|
94
|
+
"$ref": "#/$defs/AsideOrNull"
|
|
102
95
|
},
|
|
103
96
|
"metadata": {
|
|
104
97
|
"$ref": "#/$defs/SchemeMetadataOrNull"
|
|
@@ -116,46 +109,6 @@
|
|
|
116
109
|
"$ref": "#/$defs/PositionRef"
|
|
117
110
|
}
|
|
118
111
|
}
|
|
119
|
-
},
|
|
120
|
-
"BuffStatement": {
|
|
121
|
-
"type": "object",
|
|
122
|
-
"required": [
|
|
123
|
-
"op",
|
|
124
|
-
"delimiter",
|
|
125
|
-
"annotation",
|
|
126
|
-
"metadata",
|
|
127
|
-
"target",
|
|
128
|
-
"lineMarker",
|
|
129
|
-
"body",
|
|
130
|
-
"position"
|
|
131
|
-
],
|
|
132
|
-
"additionalProperties": false,
|
|
133
|
-
"properties": {
|
|
134
|
-
"op": {
|
|
135
|
-
"const": "BUFF"
|
|
136
|
-
},
|
|
137
|
-
"delimiter": {
|
|
138
|
-
"type": "string"
|
|
139
|
-
},
|
|
140
|
-
"annotation": {
|
|
141
|
-
"$ref": "#/$defs/AnnotationOrNull"
|
|
142
|
-
},
|
|
143
|
-
"metadata": {
|
|
144
|
-
"$ref": "#/$defs/SchemeMetadataOrNull"
|
|
145
|
-
},
|
|
146
|
-
"target": {
|
|
147
|
-
"$ref": "#/$defs/PathOrNull"
|
|
148
|
-
},
|
|
149
|
-
"lineMarker": {
|
|
150
|
-
"$ref": "#/$defs/LineMarkerOrNull"
|
|
151
|
-
},
|
|
152
|
-
"body": {
|
|
153
|
-
"$ref": "#/$defs/MatcherBodyOrNull"
|
|
154
|
-
},
|
|
155
|
-
"position": {
|
|
156
|
-
"$ref": "#/$defs/PositionRef"
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
112
|
}
|
|
160
113
|
}
|
|
161
114
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schemas.plurnk.xyz/v0/FunctionalityDefinitionState.json",
|
|
4
4
|
"title": "FunctionalityDefinitionState",
|
|
5
|
-
"description": "One
|
|
5
|
+
"description": "One workspace definition: its origin, desired enabledness, and current preparation outcome. Credentials never appear.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"additionalProperties": false,
|
|
8
8
|
"required": ["alias", "origin", "state"],
|
|
9
9
|
"properties": {
|
|
10
10
|
"alias": { "type": "string", "minLength": 1 },
|
|
11
|
-
"origin": { "enum": ["service", "
|
|
11
|
+
"origin": { "enum": ["service", "workspace"] },
|
|
12
12
|
"state": {
|
|
13
13
|
"description": "disabled: available, model-invisible. active: enabled and prepared. unavailable: enabled but preparation has an exact Problem. authorization-required: enabled and awaiting a protocol continuation.",
|
|
14
14
|
"enum": ["disabled", "active", "unavailable", "authorization-required"]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schemas.plurnk.xyz/v0/LineMarker.json",
|
|
4
4
|
"title": "LineMarker",
|
|
5
|
-
"description": "The ordered numeric components parsed from a `<scope>` slot. AstBuilder converts each lexical number to a JavaScript number; the operation owner assigns arity and meaning, including text coordinates, result positions, timing, mutation anchors
|
|
5
|
+
"description": "The ordered numeric components parsed from a `<scope>` slot. AstBuilder converts each lexical number to a JavaScript number; the operation owner assigns arity and meaning, including text coordinates, result positions, timing, and mutation anchors.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": ["marks"],
|
|
8
8
|
"additionalProperties": false,
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schemas.plurnk.xyz/v0/LoopPolicy.json",
|
|
4
4
|
"title": "LoopPolicy",
|
|
5
|
-
"description": "The
|
|
5
|
+
"description": "The immutable proposal disposition for one loop. Workspace capability admission precedes proposals.",
|
|
6
6
|
"type": "object",
|
|
7
|
-
"required": ["
|
|
7
|
+
"required": ["proposals"],
|
|
8
8
|
"additionalProperties": false,
|
|
9
9
|
"properties": {
|
|
10
|
-
"capabilities": { "$ref": "https://schemas.plurnk.xyz/v0/CapabilityPolicy.json" },
|
|
11
10
|
"proposals": { "enum": ["review", "accept", "reject"] }
|
|
12
11
|
}
|
|
13
12
|
}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schemas.plurnk.xyz/v0/MatcherBody.json",
|
|
4
4
|
"title": "MatcherBody",
|
|
5
|
-
"description": "Parsed single-line body of a matcher-bearing statement, discriminated on `dialect`. The dialect is determined by the body's leading characters (`//` xpath, `/` regex, `$` jsonpath, `~`
|
|
5
|
+
"description": "Parsed single-line body of a matcher-bearing statement, discriminated on `dialect`. The dialect is determined by the body's leading characters (`//` xpath, `/` regex, `$` jsonpath, `~` full-text, `&` graph, else glob). The regex variant carries pattern and flags split out of the `/pattern/flags` literal; every variant remains JSON-serializable.",
|
|
6
6
|
"oneOf": [
|
|
7
7
|
{ "$ref": "#/$defs/XPathBody" },
|
|
8
8
|
{ "$ref": "#/$defs/RegexBody" },
|
|
9
9
|
{ "$ref": "#/$defs/JsonPathBody" },
|
|
10
|
-
{ "$ref": "#/$defs/
|
|
10
|
+
{ "$ref": "#/$defs/FtsBody" },
|
|
11
11
|
{ "$ref": "#/$defs/GraphBody" },
|
|
12
12
|
{ "$ref": "#/$defs/GlobBody" }
|
|
13
13
|
],
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
"raw": { "type": "string", "minLength": 1, "pattern": "^[^\\r\\n]*$" }
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
-
"
|
|
51
|
-
"title": "
|
|
52
|
-
"description": "
|
|
50
|
+
"FtsBody": {
|
|
51
|
+
"title": "FtsBody",
|
|
52
|
+
"description": "Native SQLite FTS5 query after the `~` prefix. SQLite owns query validation, tokenization, matching and ranking; the statement's scope selects ordinary result positions.",
|
|
53
53
|
"type": "object",
|
|
54
54
|
"required": ["dialect", "raw"],
|
|
55
55
|
"additionalProperties": false,
|
|
56
56
|
"properties": {
|
|
57
|
-
"dialect": { "const": "
|
|
57
|
+
"dialect": { "const": "fts" },
|
|
58
58
|
"raw": { "type": "string", "minLength": 1, "pattern": "^[^\\r\\n]*$" }
|
|
59
59
|
}
|
|
60
60
|
},
|
|
@@ -7,41 +7,51 @@
|
|
|
7
7
|
"required": ["name", "transport"],
|
|
8
8
|
"properties": {
|
|
9
9
|
"name": {
|
|
10
|
+
"description": "Server alias used as its EXEC selector and resource scheme.",
|
|
10
11
|
"type": "string",
|
|
11
12
|
"pattern": "^[a-z][a-z0-9-]*$"
|
|
12
13
|
},
|
|
13
14
|
"transport": {
|
|
15
|
+
"description": "stdio launches a local command; http connects to a remote MCP endpoint.",
|
|
14
16
|
"enum": ["stdio", "http"]
|
|
15
17
|
},
|
|
16
18
|
"command": {
|
|
19
|
+
"description": "Executable to launch for stdio; arguments belong in args.",
|
|
17
20
|
"type": "string",
|
|
18
21
|
"minLength": 1
|
|
19
22
|
},
|
|
20
23
|
"args": {
|
|
24
|
+
"description": "Arguments passed to the stdio executable in order.",
|
|
21
25
|
"type": "array",
|
|
22
26
|
"items": { "type": "string" }
|
|
23
27
|
},
|
|
24
28
|
"cwd": {
|
|
29
|
+
"description": "Working directory for the stdio process.",
|
|
25
30
|
"type": "string",
|
|
26
31
|
"minLength": 1
|
|
27
32
|
},
|
|
28
33
|
"env": {
|
|
34
|
+
"description": "Environment overrides for the stdio process; values may reference ${ENV_NAME}.",
|
|
29
35
|
"type": "object",
|
|
30
36
|
"additionalProperties": { "type": "string" }
|
|
31
37
|
},
|
|
32
38
|
"url": {
|
|
39
|
+
"description": "HTTP MCP endpoint URL.",
|
|
33
40
|
"type": "string",
|
|
34
41
|
"format": "uri",
|
|
35
42
|
"pattern": "^https?://"
|
|
36
43
|
},
|
|
37
44
|
"headers": {
|
|
45
|
+
"description": "HTTP request headers; values may reference ${ENV_NAME}. Authorization cannot also be configured here when authorization is set.",
|
|
38
46
|
"type": "object",
|
|
39
47
|
"additionalProperties": { "type": "string" }
|
|
40
48
|
},
|
|
41
49
|
"authorization": {
|
|
50
|
+
"description": "HTTP authentication. Secret fields reference the operator environment rather than embedding credentials.",
|
|
42
51
|
"oneOf": [
|
|
43
52
|
{
|
|
44
53
|
"type": "object",
|
|
54
|
+
"description": "Use a bearer token from the operator environment.",
|
|
45
55
|
"additionalProperties": false,
|
|
46
56
|
"required": ["type", "token"],
|
|
47
57
|
"properties": {
|
|
@@ -51,6 +61,7 @@
|
|
|
51
61
|
},
|
|
52
62
|
{
|
|
53
63
|
"type": "object",
|
|
64
|
+
"description": "Interactive OAuth using an HTTPS Client ID Metadata Document.",
|
|
54
65
|
"additionalProperties": false,
|
|
55
66
|
"required": ["type", "redirectUrl", "clientMetadataUrl"],
|
|
56
67
|
"properties": {
|
|
@@ -66,6 +77,7 @@
|
|
|
66
77
|
},
|
|
67
78
|
{
|
|
68
79
|
"type": "object",
|
|
80
|
+
"description": "Interactive OAuth using a pre-registered client ID and secret.",
|
|
69
81
|
"additionalProperties": false,
|
|
70
82
|
"required": ["type", "redirectUrl", "clientId", "clientSecret"],
|
|
71
83
|
"properties": {
|
|
@@ -78,6 +90,7 @@
|
|
|
78
90
|
},
|
|
79
91
|
{
|
|
80
92
|
"type": "object",
|
|
93
|
+
"description": "Interactive OAuth using dynamic client registration.",
|
|
81
94
|
"additionalProperties": false,
|
|
82
95
|
"required": ["type", "redirectUrl"],
|
|
83
96
|
"properties": {
|
|
@@ -88,6 +101,7 @@
|
|
|
88
101
|
},
|
|
89
102
|
{
|
|
90
103
|
"type": "object",
|
|
104
|
+
"description": "Noninteractive OAuth client-credentials grant; issuer optionally binds the credentials to an authorization server.",
|
|
91
105
|
"additionalProperties": false,
|
|
92
106
|
"required": ["type", "clientId", "clientSecret"],
|
|
93
107
|
"properties": {
|
|
@@ -101,11 +115,13 @@
|
|
|
101
115
|
]
|
|
102
116
|
},
|
|
103
117
|
"tools": {
|
|
118
|
+
"description": "Exact enabled tool names; omitted enables all tools, an empty array enables none.",
|
|
104
119
|
"type": "array",
|
|
105
120
|
"uniqueItems": true,
|
|
106
121
|
"items": { "type": "string", "minLength": 1 }
|
|
107
122
|
},
|
|
108
123
|
"read": {
|
|
124
|
+
"description": "Exact tool names the operator designates as read effects rather than host effects requiring proposal review.",
|
|
109
125
|
"type": "array",
|
|
110
126
|
"uniqueItems": true,
|
|
111
127
|
"items": { "type": "string", "minLength": 1 }
|
|
@@ -113,6 +129,7 @@
|
|
|
113
129
|
},
|
|
114
130
|
"$defs": {
|
|
115
131
|
"environmentReference": {
|
|
132
|
+
"description": "An operator environment variable reference such as ${GITEA_TOKEN}, never a literal secret.",
|
|
116
133
|
"type": "string",
|
|
117
134
|
"pattern": "^\\$\\{[A-Za-z_][A-Za-z0-9_]*\\}$"
|
|
118
135
|
}
|
|
@@ -100,11 +100,20 @@
|
|
|
100
100
|
"capabilities": {
|
|
101
101
|
"title": "ModelCatalogCapabilities",
|
|
102
102
|
"type": "object",
|
|
103
|
-
"required": ["attachment", "reasoning", "toolCall", "inputModalities", "outputModalities"],
|
|
103
|
+
"required": ["attachment", "reasoning", "reasoningPolicies", "toolCall", "inputModalities", "outputModalities"],
|
|
104
104
|
"additionalProperties": false,
|
|
105
105
|
"properties": {
|
|
106
106
|
"attachment": { "type": "boolean" },
|
|
107
107
|
"reasoning": { "type": "boolean" },
|
|
108
|
+
"reasoningPolicies": {
|
|
109
|
+
"description": "Portable reasoning policies admitted for this exact route by the installed provider adapter and provider-wide operator declarations; not a worker's combined model/spawn policy intersection.",
|
|
110
|
+
"type": "array",
|
|
111
|
+
"minItems": 1,
|
|
112
|
+
"uniqueItems": true,
|
|
113
|
+
"items": {
|
|
114
|
+
"$ref": "https://schemas.plurnk.xyz/v0/ReasoningPolicy.json"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
108
117
|
"toolCall": { "type": "boolean" },
|
|
109
118
|
"structuredOutput": { "type": "boolean" },
|
|
110
119
|
"temperature": { "type": "boolean" },
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
"description": "A client-visible resolved provider/model identity. Alias is present only when a declared alias supplied the route; provider configuration remains private to the daemon. reasoningPolicy is the worker's durable effort selection — absent when the model has no reasoning dimension.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": ["provider", "model"],
|
|
8
|
+
"dependentRequired": {
|
|
9
|
+
"reasoningPolicy": ["reasoningSource"],
|
|
10
|
+
"reasoningSource": ["reasoningPolicy"]
|
|
11
|
+
},
|
|
8
12
|
"additionalProperties": false,
|
|
9
13
|
"properties": {
|
|
10
14
|
"alias": {
|
|
@@ -21,6 +25,11 @@
|
|
|
21
25
|
},
|
|
22
26
|
"reasoningPolicy": {
|
|
23
27
|
"$ref": "https://schemas.plurnk.xyz/v0/ReasoningPolicy.json"
|
|
28
|
+
},
|
|
29
|
+
"reasoningSource": {
|
|
30
|
+
"description": "Whether reasoningPolicy was chosen through worker.reasoning.set (explicit) or seeded from the alias configuration (default). Present exactly when reasoningPolicy is.",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": ["default", "explicit"]
|
|
24
33
|
}
|
|
25
34
|
}
|
|
26
35
|
}
|
package/dist/schema/Notice.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"kind": {
|
|
16
16
|
"type": "string",
|
|
17
17
|
"minLength": 1,
|
|
18
|
-
"description": "Open discriminator within a source. Examples include `grammar_unenforced`, `
|
|
18
|
+
"description": "Open discriminator within a source. Examples include `grammar_unenforced`, `search_progress`, and `turn_awaiting_model`."
|
|
19
19
|
},
|
|
20
20
|
"level": {
|
|
21
21
|
"enum": ["error", "warn", "info"],
|
|
@@ -10,13 +10,14 @@
|
|
|
10
10
|
"$defs": {
|
|
11
11
|
"LocalPath": {
|
|
12
12
|
"title": "LocalPath",
|
|
13
|
-
"description": "A bare local path with no `scheme://` prefix.
|
|
13
|
+
"description": "A bare local path with no `scheme://` prefix. `raw` is the path as authored, minus any `#channel`, which is `fragment` exactly as on a URL; resolution is the runtime's job.",
|
|
14
14
|
"type": "object",
|
|
15
15
|
"required": ["kind", "raw"],
|
|
16
16
|
"additionalProperties": false,
|
|
17
17
|
"properties": {
|
|
18
18
|
"kind": { "const": "local" },
|
|
19
|
-
"raw": { "type": "string" }
|
|
19
|
+
"raw": { "type": "string" },
|
|
20
|
+
"fragment": { "type": ["string", "null"] }
|
|
20
21
|
}
|
|
21
22
|
},
|
|
22
23
|
"UrlPath": {
|
package/dist/schema/Plan.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schemas.plurnk.xyz/v0/Plan.json",
|
|
4
|
-
"$comment": "Plurnk's model-native Plan is a bare array of {content, status}
|
|
4
|
+
"$comment": "Plurnk's model-native Plan is a bare array of {content, status} task entries. ACP projection (separately owned by AcpPlan.json) supplies the required priority at the edge.",
|
|
5
5
|
"title": "Plan",
|
|
6
|
-
"description": "Plurnk's
|
|
6
|
+
"description": "Plurnk's model-native task inventory.",
|
|
7
7
|
"type": "array",
|
|
8
8
|
"items": {
|
|
9
9
|
"$ref": "#/$defs/PlanEntry"
|
|
10
10
|
},
|
|
11
11
|
"$defs": {
|
|
12
12
|
"PlanEntry": {
|
|
13
|
-
"description": "One
|
|
13
|
+
"description": "One task or goal in the model's plan.",
|
|
14
14
|
"type": "object",
|
|
15
15
|
"properties": {
|
|
16
16
|
"content": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"additionalProperties": false
|
|
38
38
|
},
|
|
39
39
|
"PlanEntryStatus": {
|
|
40
|
-
"description": "ACP
|
|
40
|
+
"description": "Model-native task states; ACP projection is separately owned.",
|
|
41
41
|
"oneOf": [
|
|
42
42
|
{
|
|
43
43
|
"type": "string",
|
|
@@ -47,13 +47,17 @@
|
|
|
47
47
|
"type": "string",
|
|
48
48
|
"const": "in_progress"
|
|
49
49
|
},
|
|
50
|
+
{
|
|
51
|
+
"type": "string",
|
|
52
|
+
"const": "waiting"
|
|
53
|
+
},
|
|
50
54
|
{
|
|
51
55
|
"type": "string",
|
|
52
56
|
"const": "completed"
|
|
53
57
|
},
|
|
54
58
|
{
|
|
55
59
|
"type": "string",
|
|
56
|
-
"const": "
|
|
60
|
+
"const": "failed"
|
|
57
61
|
}
|
|
58
62
|
]
|
|
59
63
|
}
|