@nylorun/runtime 0.28.0-beta → 0.29.0-beta
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/CHANGELOG.md +27 -1
- package/README.md +1 -1
- package/dist/api/components.d.ts +33 -0
- package/dist/api/http/define.d.ts +4 -0
- package/dist/api/http/define.js +20 -9
- package/dist/api/http/routes/agent-manifests.d.ts +1 -1
- package/dist/api/http/routes/agent-manifests.js +1 -1
- package/dist/api/http/routes/agents.js +6 -6
- package/dist/api/http/routes/reads.js +29 -4
- package/dist/api/http/routes/tenant.js +5 -2
- package/dist/api/http/routes/triggers.js +15 -12
- package/dist/api/openapi.js +3 -3
- package/dist/gates/http-tool.js +1 -1
- package/dist/gates/meter.js +16 -0
- package/dist/gates/tenant-vaults.d.ts +1 -1
- package/dist/host/config-for.d.ts +2 -0
- package/dist/host/config-for.js +1 -0
- package/dist/host/main.js +1 -0
- package/dist/management-openapi.json +134 -76
- package/dist/mcp/connect.d.ts +2 -2
- package/dist/mcp/connect.js +3 -3
- package/dist/model/pi-model.js +7 -0
- package/dist/openapi.json +253 -214
- package/dist/store/postgres/drizzle/0037_model_usage_cost_split.sql +4 -0
- package/dist/store/postgres/drizzle/meta/_journal.json +7 -0
- package/dist/store/postgres/reads.js +31 -1
- package/dist/store/postgres/schema.d.ts +76 -3
- package/dist/store/postgres/schema.js +11 -2
- package/dist/tenant/types.d.ts +5 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
package/dist/openapi.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"openapi": "3.2.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Nylorun Runtime API",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.29.0-beta",
|
|
6
6
|
"x-nylorun-protocol": {
|
|
7
7
|
"min": 16,
|
|
8
|
-
"max":
|
|
8
|
+
"max": 18,
|
|
9
9
|
"features": [
|
|
10
10
|
"studio-principal",
|
|
11
11
|
"artifacts",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"harness-boundary",
|
|
17
17
|
"agents",
|
|
18
18
|
"session-queue",
|
|
19
|
+
"usage-by-kind",
|
|
19
20
|
"tenant-fixture-model",
|
|
20
21
|
"transcript-events",
|
|
21
22
|
"subject-headers",
|
|
@@ -22298,7 +22299,7 @@
|
|
|
22298
22299
|
}
|
|
22299
22300
|
},
|
|
22300
22301
|
"additionalProperties": false,
|
|
22301
|
-
"description": "The Agent's memory: Markdown files under /memories it keeps across sessions
|
|
22302
|
+
"description": "The Agent's memory: Markdown files under /memories it keeps across sessions"
|
|
22302
22303
|
},
|
|
22303
22304
|
"functions": {
|
|
22304
22305
|
"description": "Reserved: Functions are not available yet"
|
|
@@ -22644,11 +22645,11 @@
|
|
|
22644
22645
|
"additionalProperties": {
|
|
22645
22646
|
"$ref": "#/components/schemas/Trigger"
|
|
22646
22647
|
},
|
|
22647
|
-
"description": "What starts the Agent's turns with no client connected, by trigger id
|
|
22648
|
+
"description": "What starts the Agent's turns with no client connected, by trigger id"
|
|
22648
22649
|
},
|
|
22649
22650
|
"selfWake": {
|
|
22650
22651
|
"type": "boolean",
|
|
22651
|
-
"description": "Offer the agent schedule_wake: it books its session's next turn itself
|
|
22652
|
+
"description": "Offer the agent schedule_wake: it books its session's next turn itself"
|
|
22652
22653
|
}
|
|
22653
22654
|
},
|
|
22654
22655
|
"required": [
|
|
@@ -24187,6 +24188,46 @@
|
|
|
24187
24188
|
"unknownQualityCalls": {
|
|
24188
24189
|
"type": "integer",
|
|
24189
24190
|
"minimum": 0
|
|
24191
|
+
},
|
|
24192
|
+
"costSplit": {
|
|
24193
|
+
"type": "object",
|
|
24194
|
+
"properties": {
|
|
24195
|
+
"input": {
|
|
24196
|
+
"type": "number",
|
|
24197
|
+
"minimum": 0
|
|
24198
|
+
},
|
|
24199
|
+
"cacheRead": {
|
|
24200
|
+
"type": "number",
|
|
24201
|
+
"minimum": 0
|
|
24202
|
+
},
|
|
24203
|
+
"cacheWrite": {
|
|
24204
|
+
"type": "number",
|
|
24205
|
+
"minimum": 0
|
|
24206
|
+
},
|
|
24207
|
+
"output": {
|
|
24208
|
+
"type": "number",
|
|
24209
|
+
"minimum": 0
|
|
24210
|
+
}
|
|
24211
|
+
},
|
|
24212
|
+
"required": [
|
|
24213
|
+
"input",
|
|
24214
|
+
"cacheRead",
|
|
24215
|
+
"cacheWrite",
|
|
24216
|
+
"output"
|
|
24217
|
+
],
|
|
24218
|
+
"additionalProperties": false
|
|
24219
|
+
},
|
|
24220
|
+
"splitCalls": {
|
|
24221
|
+
"type": "integer",
|
|
24222
|
+
"minimum": 0
|
|
24223
|
+
},
|
|
24224
|
+
"modelTimeMs": {
|
|
24225
|
+
"type": "integer",
|
|
24226
|
+
"minimum": 0
|
|
24227
|
+
},
|
|
24228
|
+
"timedCalls": {
|
|
24229
|
+
"type": "integer",
|
|
24230
|
+
"minimum": 0
|
|
24190
24231
|
}
|
|
24191
24232
|
},
|
|
24192
24233
|
"required": [
|
|
@@ -24204,7 +24245,11 @@
|
|
|
24204
24245
|
"duplicates",
|
|
24205
24246
|
"unpricedCalls",
|
|
24206
24247
|
"unreportedCalls",
|
|
24207
|
-
"unknownQualityCalls"
|
|
24248
|
+
"unknownQualityCalls",
|
|
24249
|
+
"costSplit",
|
|
24250
|
+
"splitCalls",
|
|
24251
|
+
"modelTimeMs",
|
|
24252
|
+
"timedCalls"
|
|
24208
24253
|
],
|
|
24209
24254
|
"additionalProperties": false
|
|
24210
24255
|
},
|
|
@@ -24267,6 +24312,18 @@
|
|
|
24267
24312
|
"at": {
|
|
24268
24313
|
"type": "string"
|
|
24269
24314
|
},
|
|
24315
|
+
"startedAt": {
|
|
24316
|
+
"type": [
|
|
24317
|
+
"string",
|
|
24318
|
+
"null"
|
|
24319
|
+
]
|
|
24320
|
+
},
|
|
24321
|
+
"endedAt": {
|
|
24322
|
+
"type": [
|
|
24323
|
+
"string",
|
|
24324
|
+
"null"
|
|
24325
|
+
]
|
|
24326
|
+
},
|
|
24270
24327
|
"outcome": {
|
|
24271
24328
|
"type": "string",
|
|
24272
24329
|
"enum": [
|
|
@@ -24322,6 +24379,37 @@
|
|
|
24322
24379
|
"boolean",
|
|
24323
24380
|
"null"
|
|
24324
24381
|
]
|
|
24382
|
+
},
|
|
24383
|
+
"costSplit": {
|
|
24384
|
+
"type": [
|
|
24385
|
+
"object",
|
|
24386
|
+
"null"
|
|
24387
|
+
],
|
|
24388
|
+
"properties": {
|
|
24389
|
+
"input": {
|
|
24390
|
+
"type": "number",
|
|
24391
|
+
"minimum": 0
|
|
24392
|
+
},
|
|
24393
|
+
"cacheRead": {
|
|
24394
|
+
"type": "number",
|
|
24395
|
+
"minimum": 0
|
|
24396
|
+
},
|
|
24397
|
+
"cacheWrite": {
|
|
24398
|
+
"type": "number",
|
|
24399
|
+
"minimum": 0
|
|
24400
|
+
},
|
|
24401
|
+
"output": {
|
|
24402
|
+
"type": "number",
|
|
24403
|
+
"minimum": 0
|
|
24404
|
+
}
|
|
24405
|
+
},
|
|
24406
|
+
"required": [
|
|
24407
|
+
"input",
|
|
24408
|
+
"cacheRead",
|
|
24409
|
+
"cacheWrite",
|
|
24410
|
+
"output"
|
|
24411
|
+
],
|
|
24412
|
+
"additionalProperties": false
|
|
24325
24413
|
}
|
|
24326
24414
|
},
|
|
24327
24415
|
"required": [
|
|
@@ -24334,7 +24422,8 @@
|
|
|
24334
24422
|
"costUsd",
|
|
24335
24423
|
"duplicate",
|
|
24336
24424
|
"tokensReported",
|
|
24337
|
-
"costKnown"
|
|
24425
|
+
"costKnown",
|
|
24426
|
+
"costSplit"
|
|
24338
24427
|
],
|
|
24339
24428
|
"additionalProperties": false
|
|
24340
24429
|
}
|
|
@@ -24348,6 +24437,8 @@
|
|
|
24348
24437
|
"provider",
|
|
24349
24438
|
"model",
|
|
24350
24439
|
"at",
|
|
24440
|
+
"startedAt",
|
|
24441
|
+
"endedAt",
|
|
24351
24442
|
"outcome",
|
|
24352
24443
|
"usage"
|
|
24353
24444
|
],
|
|
@@ -24683,7 +24774,7 @@
|
|
|
24683
24774
|
"Agent manifests"
|
|
24684
24775
|
],
|
|
24685
24776
|
"summary": "Save an agent manifest",
|
|
24686
|
-
"description": "Saves the manifest as its next version, or answers the latest unchanged when nothing differs. Every Agent that tracks the manifest moves to the new version
|
|
24777
|
+
"description": "Saves the manifest as its next version, or answers the latest unchanged when nothing differs. Every Agent that tracks the manifest moves to the new version: at once, at its pod's next start for a runtime change a pod applies only when it starts, or once a required secret the version adds is set; a pinned one stays, and so does one whose kind, harness or storage the version changes (`agents_behind`). The Runtime checks the harness and runtime sections against each other: a custom harness needs a pod with an image, every credential the harness names is a declared slot of the right type, and the runtime's kind gives the loop the sandbox it needs; every gap is named in one `422 manifest_inconsistent` (`details.gaps`). `If-Match: <version>` refuses the save with `412 manifest_changed` when the latest version is no longer the one you read (`0` for a manifest that does not exist yet). With `?dryRun=true` the answer is the plan: the changes by section, every reason a save would be refused (`errors`, the gaps first), warnings, the Agents it would move (`moves`) and how many stay on older versions (`behind`); nothing is saved. Clients compose the authoring files and drop their `$schema` before they send one document.",
|
|
24687
24778
|
"security": [
|
|
24688
24779
|
{
|
|
24689
24780
|
"applicationKey": []
|
|
@@ -24724,10 +24815,10 @@
|
|
|
24724
24815
|
{
|
|
24725
24816
|
"schema": {
|
|
24726
24817
|
"type": "string",
|
|
24727
|
-
"description": "The protocol version, `
|
|
24818
|
+
"description": "The protocol version, `18`"
|
|
24728
24819
|
},
|
|
24729
24820
|
"required": true,
|
|
24730
|
-
"description": "The protocol version, `
|
|
24821
|
+
"description": "The protocol version, `18`",
|
|
24731
24822
|
"name": "Nylorun-Protocol",
|
|
24732
24823
|
"in": "header"
|
|
24733
24824
|
},
|
|
@@ -24878,10 +24969,10 @@
|
|
|
24878
24969
|
{
|
|
24879
24970
|
"schema": {
|
|
24880
24971
|
"type": "string",
|
|
24881
|
-
"description": "The protocol version, `
|
|
24972
|
+
"description": "The protocol version, `18`"
|
|
24882
24973
|
},
|
|
24883
24974
|
"required": true,
|
|
24884
|
-
"description": "The protocol version, `
|
|
24975
|
+
"description": "The protocol version, `18`",
|
|
24885
24976
|
"name": "Nylorun-Protocol",
|
|
24886
24977
|
"in": "header"
|
|
24887
24978
|
},
|
|
@@ -25011,10 +25102,10 @@
|
|
|
25011
25102
|
{
|
|
25012
25103
|
"schema": {
|
|
25013
25104
|
"type": "string",
|
|
25014
|
-
"description": "The protocol version, `
|
|
25105
|
+
"description": "The protocol version, `18`"
|
|
25015
25106
|
},
|
|
25016
25107
|
"required": true,
|
|
25017
|
-
"description": "The protocol version, `
|
|
25108
|
+
"description": "The protocol version, `18`",
|
|
25018
25109
|
"name": "Nylorun-Protocol",
|
|
25019
25110
|
"in": "header"
|
|
25020
25111
|
},
|
|
@@ -25141,10 +25232,10 @@
|
|
|
25141
25232
|
{
|
|
25142
25233
|
"schema": {
|
|
25143
25234
|
"type": "string",
|
|
25144
|
-
"description": "The protocol version, `
|
|
25235
|
+
"description": "The protocol version, `18`"
|
|
25145
25236
|
},
|
|
25146
25237
|
"required": true,
|
|
25147
|
-
"description": "The protocol version, `
|
|
25238
|
+
"description": "The protocol version, `18`",
|
|
25148
25239
|
"name": "Nylorun-Protocol",
|
|
25149
25240
|
"in": "header"
|
|
25150
25241
|
},
|
|
@@ -25278,10 +25369,10 @@
|
|
|
25278
25369
|
{
|
|
25279
25370
|
"schema": {
|
|
25280
25371
|
"type": "string",
|
|
25281
|
-
"description": "The protocol version, `
|
|
25372
|
+
"description": "The protocol version, `18`"
|
|
25282
25373
|
},
|
|
25283
25374
|
"required": true,
|
|
25284
|
-
"description": "The protocol version, `
|
|
25375
|
+
"description": "The protocol version, `18`",
|
|
25285
25376
|
"name": "Nylorun-Protocol",
|
|
25286
25377
|
"in": "header"
|
|
25287
25378
|
},
|
|
@@ -25424,10 +25515,10 @@
|
|
|
25424
25515
|
{
|
|
25425
25516
|
"schema": {
|
|
25426
25517
|
"type": "string",
|
|
25427
|
-
"description": "The protocol version, `
|
|
25518
|
+
"description": "The protocol version, `18`"
|
|
25428
25519
|
},
|
|
25429
25520
|
"required": true,
|
|
25430
|
-
"description": "The protocol version, `
|
|
25521
|
+
"description": "The protocol version, `18`",
|
|
25431
25522
|
"name": "Nylorun-Protocol",
|
|
25432
25523
|
"in": "header"
|
|
25433
25524
|
},
|
|
@@ -25556,10 +25647,10 @@
|
|
|
25556
25647
|
{
|
|
25557
25648
|
"schema": {
|
|
25558
25649
|
"type": "string",
|
|
25559
|
-
"description": "The protocol version, `
|
|
25650
|
+
"description": "The protocol version, `18`"
|
|
25560
25651
|
},
|
|
25561
25652
|
"required": true,
|
|
25562
|
-
"description": "The protocol version, `
|
|
25653
|
+
"description": "The protocol version, `18`",
|
|
25563
25654
|
"name": "Nylorun-Protocol",
|
|
25564
25655
|
"in": "header"
|
|
25565
25656
|
}
|
|
@@ -25691,10 +25782,10 @@
|
|
|
25691
25782
|
{
|
|
25692
25783
|
"schema": {
|
|
25693
25784
|
"type": "string",
|
|
25694
|
-
"description": "The protocol version, `
|
|
25785
|
+
"description": "The protocol version, `18`"
|
|
25695
25786
|
},
|
|
25696
25787
|
"required": true,
|
|
25697
|
-
"description": "The protocol version, `
|
|
25788
|
+
"description": "The protocol version, `18`",
|
|
25698
25789
|
"name": "Nylorun-Protocol",
|
|
25699
25790
|
"in": "header"
|
|
25700
25791
|
}
|
|
@@ -25772,7 +25863,7 @@
|
|
|
25772
25863
|
"Agents"
|
|
25773
25864
|
],
|
|
25774
25865
|
"summary": "Create, find or move an Agent",
|
|
25775
|
-
"description": "Creates the Agent, its vault and its compute from a saved agent manifest, within the Tenant's limits, or answers the one with this id, so get-or-create is one call. `manifest: \"name\"` records that it tracks the manifest (its latest version, and each version saved later) and `\"name@n\"` that it is pinned; the version it runs is `resolvedVersion`. On an existing one, labels replace, `owner` sets or (with `null`) clears the owner guard, and `manifest` moves it
|
|
25866
|
+
"description": "Creates the Agent, its vault and its compute from a saved agent manifest, within the Tenant's limits, or answers the one with this id, so get-or-create is one call. `manifest: \"name\"` records that it tracks the manifest (its latest version, and each version saved later) and `\"name@n\"` that it is pinned; the version it runs is `resolvedVersion`. On an existing one, labels replace, `owner` sets or (with `null`) clears the owner guard, and `manifest` moves it with its id, disk, vault and sessions: a harness-only change applies at once (each session's next turn runs it), a runtime change of a pod at its next start (`targetVersion`, `waitingFor: start`), and a version that adds a required secret once a value is set (`waitingFor: secrets`). Its manifest's name, kind, harness and storage are fixed (`409 agent_fixed_field`): fork it to change them. `?dryRun=true` answers the move's plan and changes nothing. Creating an Agent opens no session. Kind `pod` needs sandbox pods (`nylorun local sandbox enable`) and is created at once.",
|
|
25776
25867
|
"security": [
|
|
25777
25868
|
{
|
|
25778
25869
|
"applicationKey": []
|
|
@@ -25817,10 +25908,10 @@
|
|
|
25817
25908
|
{
|
|
25818
25909
|
"schema": {
|
|
25819
25910
|
"type": "string",
|
|
25820
|
-
"description": "The protocol version, `
|
|
25911
|
+
"description": "The protocol version, `18`"
|
|
25821
25912
|
},
|
|
25822
25913
|
"required": true,
|
|
25823
|
-
"description": "The protocol version, `
|
|
25914
|
+
"description": "The protocol version, `18`",
|
|
25824
25915
|
"name": "Nylorun-Protocol",
|
|
25825
25916
|
"in": "header"
|
|
25826
25917
|
},
|
|
@@ -25969,10 +26060,10 @@
|
|
|
25969
26060
|
{
|
|
25970
26061
|
"schema": {
|
|
25971
26062
|
"type": "string",
|
|
25972
|
-
"description": "The protocol version, `
|
|
26063
|
+
"description": "The protocol version, `18`"
|
|
25973
26064
|
},
|
|
25974
26065
|
"required": true,
|
|
25975
|
-
"description": "The protocol version, `
|
|
26066
|
+
"description": "The protocol version, `18`",
|
|
25976
26067
|
"name": "Nylorun-Protocol",
|
|
25977
26068
|
"in": "header"
|
|
25978
26069
|
},
|
|
@@ -26106,10 +26197,10 @@
|
|
|
26106
26197
|
{
|
|
26107
26198
|
"schema": {
|
|
26108
26199
|
"type": "string",
|
|
26109
|
-
"description": "The protocol version, `
|
|
26200
|
+
"description": "The protocol version, `18`"
|
|
26110
26201
|
},
|
|
26111
26202
|
"required": true,
|
|
26112
|
-
"description": "The protocol version, `
|
|
26203
|
+
"description": "The protocol version, `18`",
|
|
26113
26204
|
"name": "Nylorun-Protocol",
|
|
26114
26205
|
"in": "header"
|
|
26115
26206
|
},
|
|
@@ -26217,7 +26308,7 @@
|
|
|
26217
26308
|
"Agents"
|
|
26218
26309
|
],
|
|
26219
26310
|
"summary": "List Agents",
|
|
26220
|
-
"description": "Every Agent with all the labels asked for, in `state`, made from `manifest` and `outdated` (moving to another version
|
|
26311
|
+
"description": "Every Agent with all the labels asked for, in `state`, made from `manifest` and `outdated` (moving to another version) when given, by id. A token caller sees only the Agents its grants reach, and a caller acting for a person only that person's sessions on each. `limit` opts into pages.",
|
|
26221
26312
|
"security": [
|
|
26222
26313
|
{
|
|
26223
26314
|
"applicationKey": []
|
|
@@ -26313,10 +26404,10 @@
|
|
|
26313
26404
|
{
|
|
26314
26405
|
"schema": {
|
|
26315
26406
|
"type": "string",
|
|
26316
|
-
"description": "The protocol version, `
|
|
26407
|
+
"description": "The protocol version, `18`"
|
|
26317
26408
|
},
|
|
26318
26409
|
"required": true,
|
|
26319
|
-
"description": "The protocol version, `
|
|
26410
|
+
"description": "The protocol version, `18`",
|
|
26320
26411
|
"name": "Nylorun-Protocol",
|
|
26321
26412
|
"in": "header"
|
|
26322
26413
|
},
|
|
@@ -26428,7 +26519,7 @@
|
|
|
26428
26519
|
"Agents"
|
|
26429
26520
|
],
|
|
26430
26521
|
"summary": "Read an Agent's events",
|
|
26431
|
-
"description": "`agent.created`, `.attached`, `.detached`, `.deleted`, a pod's `.running`, `.suspended`, `.relaunched`, `.lost`, `.reset` and `.failed`, `.forked`, a move's `.outdated`, `.version_changed` and `.start_failed
|
|
26522
|
+
"description": "`agent.created`, `.attached`, `.detached`, `.deleted`, a pod's `.running`, `.suspended`, `.relaunched`, `.lost`, `.reset` and `.failed`, `.forked`, a move's `.outdated`, `.version_changed` and `.start_failed`, and `agent.egress` for every connection its sandbox opens through egress-gate, naming the turns that were running, in order, numbered from 0, at most the Tenant's Runtime limit `environmentEventItems` (default 1000) per call: `from` reads on.",
|
|
26432
26523
|
"security": [
|
|
26433
26524
|
{
|
|
26434
26525
|
"applicationKey": []
|
|
@@ -26501,10 +26592,10 @@
|
|
|
26501
26592
|
{
|
|
26502
26593
|
"schema": {
|
|
26503
26594
|
"type": "string",
|
|
26504
|
-
"description": "The protocol version, `
|
|
26595
|
+
"description": "The protocol version, `18`"
|
|
26505
26596
|
},
|
|
26506
26597
|
"required": true,
|
|
26507
|
-
"description": "The protocol version, `
|
|
26598
|
+
"description": "The protocol version, `18`",
|
|
26508
26599
|
"name": "Nylorun-Protocol",
|
|
26509
26600
|
"in": "header"
|
|
26510
26601
|
},
|
|
@@ -26640,10 +26731,10 @@
|
|
|
26640
26731
|
{
|
|
26641
26732
|
"schema": {
|
|
26642
26733
|
"type": "string",
|
|
26643
|
-
"description": "The protocol version, `
|
|
26734
|
+
"description": "The protocol version, `18`"
|
|
26644
26735
|
},
|
|
26645
26736
|
"required": true,
|
|
26646
|
-
"description": "The protocol version, `
|
|
26737
|
+
"description": "The protocol version, `18`",
|
|
26647
26738
|
"name": "Nylorun-Protocol",
|
|
26648
26739
|
"in": "header"
|
|
26649
26740
|
},
|
|
@@ -26775,10 +26866,10 @@
|
|
|
26775
26866
|
{
|
|
26776
26867
|
"schema": {
|
|
26777
26868
|
"type": "string",
|
|
26778
|
-
"description": "The protocol version, `
|
|
26869
|
+
"description": "The protocol version, `18`"
|
|
26779
26870
|
},
|
|
26780
26871
|
"required": true,
|
|
26781
|
-
"description": "The protocol version, `
|
|
26872
|
+
"description": "The protocol version, `18`",
|
|
26782
26873
|
"name": "Nylorun-Protocol",
|
|
26783
26874
|
"in": "header"
|
|
26784
26875
|
},
|
|
@@ -26879,7 +26970,7 @@
|
|
|
26879
26970
|
"Agents"
|
|
26880
26971
|
],
|
|
26881
26972
|
"summary": "Restart an Agent on its pending version",
|
|
26882
|
-
"description": "Applies a version the Agent waits to apply
|
|
26973
|
+
"description": "Applies a version the Agent waits to apply: a running pod stops, so the next turn starts it on the version, on the same volume; a stopped or failed one is asked to run at once. `retry: true` first moves it to the version that failed to start (`failedVersion`) again. Kinds `virtual` and `none` apply a version at once, so there is nothing to wait for. Refused during a turn (`agent_busy`). The body is optional.",
|
|
26883
26974
|
"security": [
|
|
26884
26975
|
{
|
|
26885
26976
|
"applicationKey": []
|
|
@@ -26910,10 +27001,10 @@
|
|
|
26910
27001
|
{
|
|
26911
27002
|
"schema": {
|
|
26912
27003
|
"type": "string",
|
|
26913
|
-
"description": "The protocol version, `
|
|
27004
|
+
"description": "The protocol version, `18`"
|
|
26914
27005
|
},
|
|
26915
27006
|
"required": true,
|
|
26916
|
-
"description": "The protocol version, `
|
|
27007
|
+
"description": "The protocol version, `18`",
|
|
26917
27008
|
"name": "Nylorun-Protocol",
|
|
26918
27009
|
"in": "header"
|
|
26919
27010
|
},
|
|
@@ -27064,10 +27155,10 @@
|
|
|
27064
27155
|
{
|
|
27065
27156
|
"schema": {
|
|
27066
27157
|
"type": "string",
|
|
27067
|
-
"description": "The protocol version, `
|
|
27158
|
+
"description": "The protocol version, `18`"
|
|
27068
27159
|
},
|
|
27069
27160
|
"required": true,
|
|
27070
|
-
"description": "The protocol version, `
|
|
27161
|
+
"description": "The protocol version, `18`",
|
|
27071
27162
|
"name": "Nylorun-Protocol",
|
|
27072
27163
|
"in": "header"
|
|
27073
27164
|
},
|
|
@@ -27215,10 +27306,10 @@
|
|
|
27215
27306
|
{
|
|
27216
27307
|
"schema": {
|
|
27217
27308
|
"type": "string",
|
|
27218
|
-
"description": "The protocol version, `
|
|
27309
|
+
"description": "The protocol version, `18`"
|
|
27219
27310
|
},
|
|
27220
27311
|
"required": true,
|
|
27221
|
-
"description": "The protocol version, `
|
|
27312
|
+
"description": "The protocol version, `18`",
|
|
27222
27313
|
"name": "Nylorun-Protocol",
|
|
27223
27314
|
"in": "header"
|
|
27224
27315
|
},
|
|
@@ -27321,7 +27412,7 @@
|
|
|
27321
27412
|
"Agents"
|
|
27322
27413
|
],
|
|
27323
27414
|
"summary": "Write an Agent's secret",
|
|
27324
|
-
"description": "Creates or replaces one credential of the Agent's vault: an `environment_secret` (the variable `name` reads the sentinel `nylorun_managed` in the sandbox, and egress-gate sets the value as a header on requests to `allowedHosts`), an `environment_variable` (a plain variable), or a `bearer` token or `headers` map for the MCP servers and HTTP tools at `url`. The same name and type re-seals the value and binding; another type replaces it. A rotated value is used from the next request. A second credential for a host or a URL is `409 credential_conflict`. When the Agent's manifest declares secret slots (
|
|
27415
|
+
"description": "Creates or replaces one credential of the Agent's vault: an `environment_secret` (the variable `name` reads the sentinel `nylorun_managed` in the sandbox, and egress-gate sets the value as a header on requests to `allowedHosts`), an `environment_variable` (a plain variable), or a `bearer` token or `headers` map for the MCP servers and HTTP tools at `url`. The same name and type re-seals the value and binding; another type replaces it. A rotated value is used from the next request. A second credential for a host or a URL is `409 credential_conflict`. When the Agent's manifest declares secret slots (while it moves to another version, that version's), send only the value (`{ value }`, or `{ headers }` for a `headers` slot): the type and binding come from the slot, and a name it does not declare is `409 secret_not_in_manifest`.",
|
|
27325
27416
|
"security": [
|
|
27326
27417
|
{
|
|
27327
27418
|
"applicationKey": []
|
|
@@ -27362,10 +27453,10 @@
|
|
|
27362
27453
|
{
|
|
27363
27454
|
"schema": {
|
|
27364
27455
|
"type": "string",
|
|
27365
|
-
"description": "The protocol version, `
|
|
27456
|
+
"description": "The protocol version, `18`"
|
|
27366
27457
|
},
|
|
27367
27458
|
"required": true,
|
|
27368
|
-
"description": "The protocol version, `
|
|
27459
|
+
"description": "The protocol version, `18`",
|
|
27369
27460
|
"name": "Nylorun-Protocol",
|
|
27370
27461
|
"in": "header"
|
|
27371
27462
|
},
|
|
@@ -27693,10 +27784,10 @@
|
|
|
27693
27784
|
{
|
|
27694
27785
|
"schema": {
|
|
27695
27786
|
"type": "string",
|
|
27696
|
-
"description": "The protocol version, `
|
|
27787
|
+
"description": "The protocol version, `18`"
|
|
27697
27788
|
},
|
|
27698
27789
|
"required": true,
|
|
27699
|
-
"description": "The protocol version, `
|
|
27790
|
+
"description": "The protocol version, `18`",
|
|
27700
27791
|
"name": "Nylorun-Protocol",
|
|
27701
27792
|
"in": "header"
|
|
27702
27793
|
},
|
|
@@ -27832,10 +27923,10 @@
|
|
|
27832
27923
|
{
|
|
27833
27924
|
"schema": {
|
|
27834
27925
|
"type": "string",
|
|
27835
|
-
"description": "The protocol version, `
|
|
27926
|
+
"description": "The protocol version, `18`"
|
|
27836
27927
|
},
|
|
27837
27928
|
"required": true,
|
|
27838
|
-
"description": "The protocol version, `
|
|
27929
|
+
"description": "The protocol version, `18`",
|
|
27839
27930
|
"name": "Nylorun-Protocol",
|
|
27840
27931
|
"in": "header"
|
|
27841
27932
|
},
|
|
@@ -27970,10 +28061,10 @@
|
|
|
27970
28061
|
{
|
|
27971
28062
|
"schema": {
|
|
27972
28063
|
"type": "string",
|
|
27973
|
-
"description": "The protocol version, `
|
|
28064
|
+
"description": "The protocol version, `18`"
|
|
27974
28065
|
},
|
|
27975
28066
|
"required": true,
|
|
27976
|
-
"description": "The protocol version, `
|
|
28067
|
+
"description": "The protocol version, `18`",
|
|
27977
28068
|
"name": "Nylorun-Protocol",
|
|
27978
28069
|
"in": "header"
|
|
27979
28070
|
},
|
|
@@ -28084,7 +28175,7 @@
|
|
|
28084
28175
|
"Agents"
|
|
28085
28176
|
],
|
|
28086
28177
|
"summary": "Fork an Agent",
|
|
28087
|
-
"description": "Copies the Agent into a new one
|
|
28178
|
+
"description": "Copies the Agent into a new one, which is how an Agent changes what is fixed for its life: a new Agent `id`, made from `manifest` (default the source's manifest name, tracking, at its latest version), its disk started from a version of this one's (`disk`: `latest`, the default, takes a snapshot first; a version number; or `empty`) and its secrets copied inside the Runtime (`secrets`: `copy`, the default, copies those the new manifest declares; `none`). On a fork onto other setup the new manifest's setup runs on the copied disk before its first turn. This Agent keeps what it runs, its disk and its sessions. `dryRun` answers the plan and makes nothing. To move an Agent to another version of the same manifest, with the same kind, harness and storage, `PUT` it instead.",
|
|
28088
28179
|
"security": [
|
|
28089
28180
|
{
|
|
28090
28181
|
"applicationKey": []
|
|
@@ -28115,10 +28206,10 @@
|
|
|
28115
28206
|
{
|
|
28116
28207
|
"schema": {
|
|
28117
28208
|
"type": "string",
|
|
28118
|
-
"description": "The protocol version, `
|
|
28209
|
+
"description": "The protocol version, `18`"
|
|
28119
28210
|
},
|
|
28120
28211
|
"required": true,
|
|
28121
|
-
"description": "The protocol version, `
|
|
28212
|
+
"description": "The protocol version, `18`",
|
|
28122
28213
|
"name": "Nylorun-Protocol",
|
|
28123
28214
|
"in": "header"
|
|
28124
28215
|
},
|
|
@@ -28265,10 +28356,10 @@
|
|
|
28265
28356
|
{
|
|
28266
28357
|
"schema": {
|
|
28267
28358
|
"type": "string",
|
|
28268
|
-
"description": "The protocol version, `
|
|
28359
|
+
"description": "The protocol version, `18`"
|
|
28269
28360
|
},
|
|
28270
28361
|
"required": true,
|
|
28271
|
-
"description": "The protocol version, `
|
|
28362
|
+
"description": "The protocol version, `18`",
|
|
28272
28363
|
"name": "Nylorun-Protocol",
|
|
28273
28364
|
"in": "header"
|
|
28274
28365
|
},
|
|
@@ -28412,10 +28503,10 @@
|
|
|
28412
28503
|
{
|
|
28413
28504
|
"schema": {
|
|
28414
28505
|
"type": "string",
|
|
28415
|
-
"description": "The protocol version, `
|
|
28506
|
+
"description": "The protocol version, `18`"
|
|
28416
28507
|
},
|
|
28417
28508
|
"required": true,
|
|
28418
|
-
"description": "The protocol version, `
|
|
28509
|
+
"description": "The protocol version, `18`",
|
|
28419
28510
|
"name": "Nylorun-Protocol",
|
|
28420
28511
|
"in": "header"
|
|
28421
28512
|
},
|
|
@@ -28572,10 +28663,10 @@
|
|
|
28572
28663
|
{
|
|
28573
28664
|
"schema": {
|
|
28574
28665
|
"type": "string",
|
|
28575
|
-
"description": "The protocol version, `
|
|
28666
|
+
"description": "The protocol version, `18`"
|
|
28576
28667
|
},
|
|
28577
28668
|
"required": true,
|
|
28578
|
-
"description": "The protocol version, `
|
|
28669
|
+
"description": "The protocol version, `18`",
|
|
28579
28670
|
"name": "Nylorun-Protocol",
|
|
28580
28671
|
"in": "header"
|
|
28581
28672
|
},
|
|
@@ -28721,10 +28812,10 @@
|
|
|
28721
28812
|
{
|
|
28722
28813
|
"schema": {
|
|
28723
28814
|
"type": "string",
|
|
28724
|
-
"description": "The protocol version, `
|
|
28815
|
+
"description": "The protocol version, `18`"
|
|
28725
28816
|
},
|
|
28726
28817
|
"required": true,
|
|
28727
|
-
"description": "The protocol version, `
|
|
28818
|
+
"description": "The protocol version, `18`",
|
|
28728
28819
|
"name": "Nylorun-Protocol",
|
|
28729
28820
|
"in": "header"
|
|
28730
28821
|
},
|
|
@@ -28873,10 +28964,10 @@
|
|
|
28873
28964
|
{
|
|
28874
28965
|
"schema": {
|
|
28875
28966
|
"type": "string",
|
|
28876
|
-
"description": "The protocol version, `
|
|
28967
|
+
"description": "The protocol version, `18`"
|
|
28877
28968
|
},
|
|
28878
28969
|
"required": true,
|
|
28879
|
-
"description": "The protocol version, `
|
|
28970
|
+
"description": "The protocol version, `18`",
|
|
28880
28971
|
"name": "Nylorun-Protocol",
|
|
28881
28972
|
"in": "header"
|
|
28882
28973
|
},
|
|
@@ -29025,10 +29116,10 @@
|
|
|
29025
29116
|
{
|
|
29026
29117
|
"schema": {
|
|
29027
29118
|
"type": "string",
|
|
29028
|
-
"description": "The protocol version, `
|
|
29119
|
+
"description": "The protocol version, `18`"
|
|
29029
29120
|
},
|
|
29030
29121
|
"required": true,
|
|
29031
|
-
"description": "The protocol version, `
|
|
29122
|
+
"description": "The protocol version, `18`",
|
|
29032
29123
|
"name": "Nylorun-Protocol",
|
|
29033
29124
|
"in": "header"
|
|
29034
29125
|
},
|
|
@@ -29205,10 +29296,10 @@
|
|
|
29205
29296
|
{
|
|
29206
29297
|
"schema": {
|
|
29207
29298
|
"type": "string",
|
|
29208
|
-
"description": "The protocol version, `
|
|
29299
|
+
"description": "The protocol version, `18`"
|
|
29209
29300
|
},
|
|
29210
29301
|
"required": true,
|
|
29211
|
-
"description": "The protocol version, `
|
|
29302
|
+
"description": "The protocol version, `18`",
|
|
29212
29303
|
"name": "Nylorun-Protocol",
|
|
29213
29304
|
"in": "header"
|
|
29214
29305
|
},
|
|
@@ -29354,10 +29445,10 @@
|
|
|
29354
29445
|
{
|
|
29355
29446
|
"schema": {
|
|
29356
29447
|
"type": "string",
|
|
29357
|
-
"description": "The protocol version, `
|
|
29448
|
+
"description": "The protocol version, `18`"
|
|
29358
29449
|
},
|
|
29359
29450
|
"required": true,
|
|
29360
|
-
"description": "The protocol version, `
|
|
29451
|
+
"description": "The protocol version, `18`",
|
|
29361
29452
|
"name": "Nylorun-Protocol",
|
|
29362
29453
|
"in": "header"
|
|
29363
29454
|
},
|
|
@@ -29455,21 +29546,9 @@
|
|
|
29455
29546
|
"Triggers"
|
|
29456
29547
|
],
|
|
29457
29548
|
"summary": "Deliver to a webhook trigger",
|
|
29458
|
-
"description": "A sender's delivery, signed with Standard Webhooks (`webhook-id`, `webhook-timestamp` within 5 minutes by default, `webhook-signature`): no credential and no `Nylorun-Protocol`. The body, any media type, at most the Runtime limit `webhookBodyBytes`, is read as bytes and verified before anything else. It runs the trigger once per `webhook-id`: a retry answers the first run. The body reaches the model as data under the trigger's prompt. Other senders (GitHub, Stripe, Slack) are relayed by an app.",
|
|
29459
|
-
"security": [
|
|
29460
|
-
|
|
29461
|
-
"applicationKey": []
|
|
29462
|
-
},
|
|
29463
|
-
{
|
|
29464
|
-
"issuerToken": []
|
|
29465
|
-
},
|
|
29466
|
-
{}
|
|
29467
|
-
],
|
|
29468
|
-
"x-nylorun-credentials": [
|
|
29469
|
-
"application",
|
|
29470
|
-
"subject",
|
|
29471
|
-
"token"
|
|
29472
|
-
],
|
|
29549
|
+
"description": "A sender's delivery, signed with Standard Webhooks (`webhook-id`, `webhook-timestamp` within 5 minutes by default, `webhook-signature`): no credential (an `Authorization` header is ignored) and no `Nylorun-Protocol`. The body, any media type, at most the Runtime limit `webhookBodyBytes`, is read as bytes and verified before anything else. It runs the trigger once per `webhook-id`: a retry answers the first run. The body reaches the model as data under the trigger's prompt. Other senders (GitHub, Stripe, Slack) are relayed by an app.",
|
|
29550
|
+
"security": [],
|
|
29551
|
+
"x-nylorun-credentials": [],
|
|
29473
29552
|
"x-nylorun-scopes": "any",
|
|
29474
29553
|
"parameters": [
|
|
29475
29554
|
{
|
|
@@ -29482,42 +29561,12 @@
|
|
|
29482
29561
|
"name": "endpointId",
|
|
29483
29562
|
"in": "path"
|
|
29484
29563
|
},
|
|
29485
|
-
{
|
|
29486
|
-
"schema": {
|
|
29487
|
-
"type": "string",
|
|
29488
|
-
"description": "The protocol version, `17`"
|
|
29489
|
-
},
|
|
29490
|
-
"required": false,
|
|
29491
|
-
"description": "The protocol version, `17`",
|
|
29492
|
-
"name": "Nylorun-Protocol",
|
|
29493
|
-
"in": "header"
|
|
29494
|
-
},
|
|
29495
|
-
{
|
|
29496
|
-
"schema": {
|
|
29497
|
-
"type": "string",
|
|
29498
|
-
"description": "The person an application key acts for"
|
|
29499
|
-
},
|
|
29500
|
-
"required": false,
|
|
29501
|
-
"description": "The person an application key acts for",
|
|
29502
|
-
"name": "Nylorun-Subject",
|
|
29503
|
-
"in": "header"
|
|
29504
|
-
},
|
|
29505
|
-
{
|
|
29506
|
-
"schema": {
|
|
29507
|
-
"type": "string",
|
|
29508
|
-
"description": "The subject's space-separated scopes; required with a subject"
|
|
29509
|
-
},
|
|
29510
|
-
"required": false,
|
|
29511
|
-
"description": "The subject's space-separated scopes; required with a subject",
|
|
29512
|
-
"name": "Nylorun-Scopes",
|
|
29513
|
-
"in": "header"
|
|
29514
|
-
},
|
|
29515
29564
|
{
|
|
29516
29565
|
"schema": {
|
|
29517
29566
|
"type": "string",
|
|
29518
29567
|
"description": "The delivery's id; a retry sends the same"
|
|
29519
29568
|
},
|
|
29520
|
-
"required":
|
|
29569
|
+
"required": true,
|
|
29521
29570
|
"description": "The delivery's id; a retry sends the same",
|
|
29522
29571
|
"name": "webhook-id",
|
|
29523
29572
|
"in": "header"
|
|
@@ -29527,7 +29576,7 @@
|
|
|
29527
29576
|
"type": "string",
|
|
29528
29577
|
"description": "Seconds since the epoch"
|
|
29529
29578
|
},
|
|
29530
|
-
"required":
|
|
29579
|
+
"required": true,
|
|
29531
29580
|
"description": "Seconds since the epoch",
|
|
29532
29581
|
"name": "webhook-timestamp",
|
|
29533
29582
|
"in": "header"
|
|
@@ -29537,7 +29586,7 @@
|
|
|
29537
29586
|
"type": "string",
|
|
29538
29587
|
"description": "`v1,<base64>`, space-separated"
|
|
29539
29588
|
},
|
|
29540
|
-
"required":
|
|
29589
|
+
"required": true,
|
|
29541
29590
|
"description": "`v1,<base64>`, space-separated",
|
|
29542
29591
|
"name": "webhook-signature",
|
|
29543
29592
|
"in": "header"
|
|
@@ -29577,17 +29626,7 @@
|
|
|
29577
29626
|
}
|
|
29578
29627
|
},
|
|
29579
29628
|
"401": {
|
|
29580
|
-
"description": "
|
|
29581
|
-
},
|
|
29582
|
-
"403": {
|
|
29583
|
-
"description": "Not allowed for this credential or subject scope (`scope_required`; a token also gets `WWW-Authenticate: Bearer error=\"insufficient_scope\"` and the scope), a key of the other API (`key_role_mismatch`), or an application key from a browser (`origin_rejected`)",
|
|
29584
|
-
"content": {
|
|
29585
|
-
"application/json": {
|
|
29586
|
-
"schema": {
|
|
29587
|
-
"$ref": "#/components/schemas/Rejected"
|
|
29588
|
-
}
|
|
29589
|
-
}
|
|
29590
|
-
}
|
|
29629
|
+
"description": "Unsigned, not signed with the endpoint's secret, or a timestamp out of tolerance"
|
|
29591
29630
|
},
|
|
29592
29631
|
"404": {
|
|
29593
29632
|
"description": "No endpoint has this id"
|
|
@@ -29689,10 +29728,10 @@
|
|
|
29689
29728
|
{
|
|
29690
29729
|
"schema": {
|
|
29691
29730
|
"type": "string",
|
|
29692
|
-
"description": "The protocol version, `
|
|
29731
|
+
"description": "The protocol version, `18`"
|
|
29693
29732
|
},
|
|
29694
29733
|
"required": true,
|
|
29695
|
-
"description": "The protocol version, `
|
|
29734
|
+
"description": "The protocol version, `18`",
|
|
29696
29735
|
"name": "Nylorun-Protocol",
|
|
29697
29736
|
"in": "header"
|
|
29698
29737
|
},
|
|
@@ -29840,10 +29879,10 @@
|
|
|
29840
29879
|
{
|
|
29841
29880
|
"schema": {
|
|
29842
29881
|
"type": "string",
|
|
29843
|
-
"description": "The protocol version, `
|
|
29882
|
+
"description": "The protocol version, `18`"
|
|
29844
29883
|
},
|
|
29845
29884
|
"required": true,
|
|
29846
|
-
"description": "The protocol version, `
|
|
29885
|
+
"description": "The protocol version, `18`",
|
|
29847
29886
|
"name": "Nylorun-Protocol",
|
|
29848
29887
|
"in": "header"
|
|
29849
29888
|
},
|
|
@@ -29980,10 +30019,10 @@
|
|
|
29980
30019
|
{
|
|
29981
30020
|
"schema": {
|
|
29982
30021
|
"type": "string",
|
|
29983
|
-
"description": "The protocol version, `
|
|
30022
|
+
"description": "The protocol version, `18`"
|
|
29984
30023
|
},
|
|
29985
30024
|
"required": true,
|
|
29986
|
-
"description": "The protocol version, `
|
|
30025
|
+
"description": "The protocol version, `18`",
|
|
29987
30026
|
"name": "Nylorun-Protocol",
|
|
29988
30027
|
"in": "header"
|
|
29989
30028
|
},
|
|
@@ -30143,10 +30182,10 @@
|
|
|
30143
30182
|
{
|
|
30144
30183
|
"schema": {
|
|
30145
30184
|
"type": "string",
|
|
30146
|
-
"description": "The protocol version, `
|
|
30185
|
+
"description": "The protocol version, `18`"
|
|
30147
30186
|
},
|
|
30148
30187
|
"required": true,
|
|
30149
|
-
"description": "The protocol version, `
|
|
30188
|
+
"description": "The protocol version, `18`",
|
|
30150
30189
|
"name": "Nylorun-Protocol",
|
|
30151
30190
|
"in": "header"
|
|
30152
30191
|
},
|
|
@@ -30320,10 +30359,10 @@
|
|
|
30320
30359
|
{
|
|
30321
30360
|
"schema": {
|
|
30322
30361
|
"type": "string",
|
|
30323
|
-
"description": "The protocol version, `
|
|
30362
|
+
"description": "The protocol version, `18`"
|
|
30324
30363
|
},
|
|
30325
30364
|
"required": true,
|
|
30326
|
-
"description": "The protocol version, `
|
|
30365
|
+
"description": "The protocol version, `18`",
|
|
30327
30366
|
"name": "Nylorun-Protocol",
|
|
30328
30367
|
"in": "header"
|
|
30329
30368
|
},
|
|
@@ -30471,10 +30510,10 @@
|
|
|
30471
30510
|
{
|
|
30472
30511
|
"schema": {
|
|
30473
30512
|
"type": "string",
|
|
30474
|
-
"description": "The protocol version, `
|
|
30513
|
+
"description": "The protocol version, `18`"
|
|
30475
30514
|
},
|
|
30476
30515
|
"required": true,
|
|
30477
|
-
"description": "The protocol version, `
|
|
30516
|
+
"description": "The protocol version, `18`",
|
|
30478
30517
|
"name": "Nylorun-Protocol",
|
|
30479
30518
|
"in": "header"
|
|
30480
30519
|
},
|
|
@@ -30601,10 +30640,10 @@
|
|
|
30601
30640
|
{
|
|
30602
30641
|
"schema": {
|
|
30603
30642
|
"type": "string",
|
|
30604
|
-
"description": "The protocol version, `
|
|
30643
|
+
"description": "The protocol version, `18`"
|
|
30605
30644
|
},
|
|
30606
30645
|
"required": true,
|
|
30607
|
-
"description": "The protocol version, `
|
|
30646
|
+
"description": "The protocol version, `18`",
|
|
30608
30647
|
"name": "Nylorun-Protocol",
|
|
30609
30648
|
"in": "header"
|
|
30610
30649
|
},
|
|
@@ -30748,10 +30787,10 @@
|
|
|
30748
30787
|
{
|
|
30749
30788
|
"schema": {
|
|
30750
30789
|
"type": "string",
|
|
30751
|
-
"description": "The protocol version, `
|
|
30790
|
+
"description": "The protocol version, `18`"
|
|
30752
30791
|
},
|
|
30753
30792
|
"required": true,
|
|
30754
|
-
"description": "The protocol version, `
|
|
30793
|
+
"description": "The protocol version, `18`",
|
|
30755
30794
|
"name": "Nylorun-Protocol",
|
|
30756
30795
|
"in": "header"
|
|
30757
30796
|
},
|
|
@@ -30939,10 +30978,10 @@
|
|
|
30939
30978
|
{
|
|
30940
30979
|
"schema": {
|
|
30941
30980
|
"type": "string",
|
|
30942
|
-
"description": "The protocol version, `
|
|
30981
|
+
"description": "The protocol version, `18`"
|
|
30943
30982
|
},
|
|
30944
30983
|
"required": true,
|
|
30945
|
-
"description": "The protocol version, `
|
|
30984
|
+
"description": "The protocol version, `18`",
|
|
30946
30985
|
"name": "Nylorun-Protocol",
|
|
30947
30986
|
"in": "header"
|
|
30948
30987
|
},
|
|
@@ -31083,10 +31122,10 @@
|
|
|
31083
31122
|
{
|
|
31084
31123
|
"schema": {
|
|
31085
31124
|
"type": "string",
|
|
31086
|
-
"description": "The protocol version, `
|
|
31125
|
+
"description": "The protocol version, `18`"
|
|
31087
31126
|
},
|
|
31088
31127
|
"required": true,
|
|
31089
|
-
"description": "The protocol version, `
|
|
31128
|
+
"description": "The protocol version, `18`",
|
|
31090
31129
|
"name": "Nylorun-Protocol",
|
|
31091
31130
|
"in": "header"
|
|
31092
31131
|
},
|
|
@@ -31273,10 +31312,10 @@
|
|
|
31273
31312
|
{
|
|
31274
31313
|
"schema": {
|
|
31275
31314
|
"type": "string",
|
|
31276
|
-
"description": "The protocol version, `
|
|
31315
|
+
"description": "The protocol version, `18`"
|
|
31277
31316
|
},
|
|
31278
31317
|
"required": true,
|
|
31279
|
-
"description": "The protocol version, `
|
|
31318
|
+
"description": "The protocol version, `18`",
|
|
31280
31319
|
"name": "Nylorun-Protocol",
|
|
31281
31320
|
"in": "header"
|
|
31282
31321
|
},
|
|
@@ -31546,10 +31585,10 @@
|
|
|
31546
31585
|
{
|
|
31547
31586
|
"schema": {
|
|
31548
31587
|
"type": "string",
|
|
31549
|
-
"description": "The protocol version, `
|
|
31588
|
+
"description": "The protocol version, `18`"
|
|
31550
31589
|
},
|
|
31551
31590
|
"required": true,
|
|
31552
|
-
"description": "The protocol version, `
|
|
31591
|
+
"description": "The protocol version, `18`",
|
|
31553
31592
|
"name": "Nylorun-Protocol",
|
|
31554
31593
|
"in": "header"
|
|
31555
31594
|
},
|
|
@@ -31686,10 +31725,10 @@
|
|
|
31686
31725
|
{
|
|
31687
31726
|
"schema": {
|
|
31688
31727
|
"type": "string",
|
|
31689
|
-
"description": "The protocol version, `
|
|
31728
|
+
"description": "The protocol version, `18`"
|
|
31690
31729
|
},
|
|
31691
31730
|
"required": true,
|
|
31692
|
-
"description": "The protocol version, `
|
|
31731
|
+
"description": "The protocol version, `18`",
|
|
31693
31732
|
"name": "Nylorun-Protocol",
|
|
31694
31733
|
"in": "header"
|
|
31695
31734
|
},
|
|
@@ -31823,10 +31862,10 @@
|
|
|
31823
31862
|
{
|
|
31824
31863
|
"schema": {
|
|
31825
31864
|
"type": "string",
|
|
31826
|
-
"description": "The protocol version, `
|
|
31865
|
+
"description": "The protocol version, `18`"
|
|
31827
31866
|
},
|
|
31828
31867
|
"required": true,
|
|
31829
|
-
"description": "The protocol version, `
|
|
31868
|
+
"description": "The protocol version, `18`",
|
|
31830
31869
|
"name": "Nylorun-Protocol",
|
|
31831
31870
|
"in": "header"
|
|
31832
31871
|
}
|
|
@@ -31959,10 +31998,10 @@
|
|
|
31959
31998
|
{
|
|
31960
31999
|
"schema": {
|
|
31961
32000
|
"type": "string",
|
|
31962
|
-
"description": "The protocol version, `
|
|
32001
|
+
"description": "The protocol version, `18`"
|
|
31963
32002
|
},
|
|
31964
32003
|
"required": true,
|
|
31965
|
-
"description": "The protocol version, `
|
|
32004
|
+
"description": "The protocol version, `18`",
|
|
31966
32005
|
"name": "Nylorun-Protocol",
|
|
31967
32006
|
"in": "header"
|
|
31968
32007
|
}
|
|
@@ -32095,10 +32134,10 @@
|
|
|
32095
32134
|
{
|
|
32096
32135
|
"schema": {
|
|
32097
32136
|
"type": "string",
|
|
32098
|
-
"description": "The protocol version, `
|
|
32137
|
+
"description": "The protocol version, `18`"
|
|
32099
32138
|
},
|
|
32100
32139
|
"required": true,
|
|
32101
|
-
"description": "The protocol version, `
|
|
32140
|
+
"description": "The protocol version, `18`",
|
|
32102
32141
|
"name": "Nylorun-Protocol",
|
|
32103
32142
|
"in": "header"
|
|
32104
32143
|
}
|
|
@@ -32213,10 +32252,10 @@
|
|
|
32213
32252
|
{
|
|
32214
32253
|
"schema": {
|
|
32215
32254
|
"type": "string",
|
|
32216
|
-
"description": "The protocol version, `
|
|
32255
|
+
"description": "The protocol version, `18`"
|
|
32217
32256
|
},
|
|
32218
32257
|
"required": true,
|
|
32219
|
-
"description": "The protocol version, `
|
|
32258
|
+
"description": "The protocol version, `18`",
|
|
32220
32259
|
"name": "Nylorun-Protocol",
|
|
32221
32260
|
"in": "header"
|
|
32222
32261
|
}
|
|
@@ -32339,10 +32378,10 @@
|
|
|
32339
32378
|
{
|
|
32340
32379
|
"schema": {
|
|
32341
32380
|
"type": "string",
|
|
32342
|
-
"description": "The protocol version, `
|
|
32381
|
+
"description": "The protocol version, `18`"
|
|
32343
32382
|
},
|
|
32344
32383
|
"required": true,
|
|
32345
|
-
"description": "The protocol version, `
|
|
32384
|
+
"description": "The protocol version, `18`",
|
|
32346
32385
|
"name": "Nylorun-Protocol",
|
|
32347
32386
|
"in": "header"
|
|
32348
32387
|
}
|
|
@@ -32471,10 +32510,10 @@
|
|
|
32471
32510
|
{
|
|
32472
32511
|
"schema": {
|
|
32473
32512
|
"type": "string",
|
|
32474
|
-
"description": "The protocol version, `
|
|
32513
|
+
"description": "The protocol version, `18`"
|
|
32475
32514
|
},
|
|
32476
32515
|
"required": true,
|
|
32477
|
-
"description": "The protocol version, `
|
|
32516
|
+
"description": "The protocol version, `18`",
|
|
32478
32517
|
"name": "Nylorun-Protocol",
|
|
32479
32518
|
"in": "header"
|
|
32480
32519
|
},
|
|
@@ -32663,10 +32702,10 @@
|
|
|
32663
32702
|
{
|
|
32664
32703
|
"schema": {
|
|
32665
32704
|
"type": "string",
|
|
32666
|
-
"description": "The protocol version, `
|
|
32705
|
+
"description": "The protocol version, `18`"
|
|
32667
32706
|
},
|
|
32668
32707
|
"required": true,
|
|
32669
|
-
"description": "The protocol version, `
|
|
32708
|
+
"description": "The protocol version, `18`",
|
|
32670
32709
|
"name": "Nylorun-Protocol",
|
|
32671
32710
|
"in": "header"
|
|
32672
32711
|
},
|
|
@@ -32809,10 +32848,10 @@
|
|
|
32809
32848
|
{
|
|
32810
32849
|
"schema": {
|
|
32811
32850
|
"type": "string",
|
|
32812
|
-
"description": "The protocol version, `
|
|
32851
|
+
"description": "The protocol version, `18`"
|
|
32813
32852
|
},
|
|
32814
32853
|
"required": true,
|
|
32815
|
-
"description": "The protocol version, `
|
|
32854
|
+
"description": "The protocol version, `18`",
|
|
32816
32855
|
"name": "Nylorun-Protocol",
|
|
32817
32856
|
"in": "header"
|
|
32818
32857
|
},
|
|
@@ -32955,10 +32994,10 @@
|
|
|
32955
32994
|
{
|
|
32956
32995
|
"schema": {
|
|
32957
32996
|
"type": "string",
|
|
32958
|
-
"description": "The protocol version, `
|
|
32997
|
+
"description": "The protocol version, `18`"
|
|
32959
32998
|
},
|
|
32960
32999
|
"required": true,
|
|
32961
|
-
"description": "The protocol version, `
|
|
33000
|
+
"description": "The protocol version, `18`",
|
|
32962
33001
|
"name": "Nylorun-Protocol",
|
|
32963
33002
|
"in": "header"
|
|
32964
33003
|
},
|
|
@@ -33089,10 +33128,10 @@
|
|
|
33089
33128
|
{
|
|
33090
33129
|
"schema": {
|
|
33091
33130
|
"type": "string",
|
|
33092
|
-
"description": "The protocol version, `
|
|
33131
|
+
"description": "The protocol version, `18`"
|
|
33093
33132
|
},
|
|
33094
33133
|
"required": true,
|
|
33095
|
-
"description": "The protocol version, `
|
|
33134
|
+
"description": "The protocol version, `18`",
|
|
33096
33135
|
"name": "Nylorun-Protocol",
|
|
33097
33136
|
"in": "header"
|
|
33098
33137
|
},
|
|
@@ -33239,10 +33278,10 @@
|
|
|
33239
33278
|
{
|
|
33240
33279
|
"schema": {
|
|
33241
33280
|
"type": "string",
|
|
33242
|
-
"description": "The protocol version, `
|
|
33281
|
+
"description": "The protocol version, `18`"
|
|
33243
33282
|
},
|
|
33244
33283
|
"required": true,
|
|
33245
|
-
"description": "The protocol version, `
|
|
33284
|
+
"description": "The protocol version, `18`",
|
|
33246
33285
|
"name": "Nylorun-Protocol",
|
|
33247
33286
|
"in": "header"
|
|
33248
33287
|
},
|
|
@@ -33438,10 +33477,10 @@
|
|
|
33438
33477
|
{
|
|
33439
33478
|
"schema": {
|
|
33440
33479
|
"type": "string",
|
|
33441
|
-
"description": "The protocol version, `
|
|
33480
|
+
"description": "The protocol version, `18`"
|
|
33442
33481
|
},
|
|
33443
33482
|
"required": true,
|
|
33444
|
-
"description": "The protocol version, `
|
|
33483
|
+
"description": "The protocol version, `18`",
|
|
33445
33484
|
"name": "Nylorun-Protocol",
|
|
33446
33485
|
"in": "header"
|
|
33447
33486
|
},
|
|
@@ -33641,10 +33680,10 @@
|
|
|
33641
33680
|
{
|
|
33642
33681
|
"schema": {
|
|
33643
33682
|
"type": "string",
|
|
33644
|
-
"description": "The protocol version, `
|
|
33683
|
+
"description": "The protocol version, `18`"
|
|
33645
33684
|
},
|
|
33646
33685
|
"required": true,
|
|
33647
|
-
"description": "The protocol version, `
|
|
33686
|
+
"description": "The protocol version, `18`",
|
|
33648
33687
|
"name": "Nylorun-Protocol",
|
|
33649
33688
|
"in": "header"
|
|
33650
33689
|
},
|
|
@@ -33785,10 +33824,10 @@
|
|
|
33785
33824
|
{
|
|
33786
33825
|
"schema": {
|
|
33787
33826
|
"type": "string",
|
|
33788
|
-
"description": "The protocol version, `
|
|
33827
|
+
"description": "The protocol version, `18`"
|
|
33789
33828
|
},
|
|
33790
33829
|
"required": true,
|
|
33791
|
-
"description": "The protocol version, `
|
|
33830
|
+
"description": "The protocol version, `18`",
|
|
33792
33831
|
"name": "Nylorun-Protocol",
|
|
33793
33832
|
"in": "header"
|
|
33794
33833
|
},
|
|
@@ -33920,10 +33959,10 @@
|
|
|
33920
33959
|
{
|
|
33921
33960
|
"schema": {
|
|
33922
33961
|
"type": "string",
|
|
33923
|
-
"description": "The protocol version, `
|
|
33962
|
+
"description": "The protocol version, `18`"
|
|
33924
33963
|
},
|
|
33925
33964
|
"required": true,
|
|
33926
|
-
"description": "The protocol version, `
|
|
33965
|
+
"description": "The protocol version, `18`",
|
|
33927
33966
|
"name": "Nylorun-Protocol",
|
|
33928
33967
|
"in": "header"
|
|
33929
33968
|
},
|
|
@@ -34060,10 +34099,10 @@
|
|
|
34060
34099
|
{
|
|
34061
34100
|
"schema": {
|
|
34062
34101
|
"type": "string",
|
|
34063
|
-
"description": "The protocol version, `
|
|
34102
|
+
"description": "The protocol version, `18`"
|
|
34064
34103
|
},
|
|
34065
34104
|
"required": true,
|
|
34066
|
-
"description": "The protocol version, `
|
|
34105
|
+
"description": "The protocol version, `18`",
|
|
34067
34106
|
"name": "Nylorun-Protocol",
|
|
34068
34107
|
"in": "header"
|
|
34069
34108
|
},
|
|
@@ -34222,10 +34261,10 @@
|
|
|
34222
34261
|
{
|
|
34223
34262
|
"schema": {
|
|
34224
34263
|
"type": "string",
|
|
34225
|
-
"description": "The protocol version, `
|
|
34264
|
+
"description": "The protocol version, `18`"
|
|
34226
34265
|
},
|
|
34227
34266
|
"required": true,
|
|
34228
|
-
"description": "The protocol version, `
|
|
34267
|
+
"description": "The protocol version, `18`",
|
|
34229
34268
|
"name": "Nylorun-Protocol",
|
|
34230
34269
|
"in": "header"
|
|
34231
34270
|
},
|
|
@@ -34436,10 +34475,10 @@
|
|
|
34436
34475
|
{
|
|
34437
34476
|
"schema": {
|
|
34438
34477
|
"type": "string",
|
|
34439
|
-
"description": "The protocol version, `
|
|
34478
|
+
"description": "The protocol version, `18`"
|
|
34440
34479
|
},
|
|
34441
34480
|
"required": true,
|
|
34442
|
-
"description": "The protocol version, `
|
|
34481
|
+
"description": "The protocol version, `18`",
|
|
34443
34482
|
"name": "Nylorun-Protocol",
|
|
34444
34483
|
"in": "header"
|
|
34445
34484
|
},
|
|
@@ -34593,10 +34632,10 @@
|
|
|
34593
34632
|
{
|
|
34594
34633
|
"schema": {
|
|
34595
34634
|
"type": "string",
|
|
34596
|
-
"description": "The protocol version, `
|
|
34635
|
+
"description": "The protocol version, `18`"
|
|
34597
34636
|
},
|
|
34598
34637
|
"required": true,
|
|
34599
|
-
"description": "The protocol version, `
|
|
34638
|
+
"description": "The protocol version, `18`",
|
|
34600
34639
|
"name": "Nylorun-Protocol",
|
|
34601
34640
|
"in": "header"
|
|
34602
34641
|
},
|
|
@@ -34817,10 +34856,10 @@
|
|
|
34817
34856
|
{
|
|
34818
34857
|
"schema": {
|
|
34819
34858
|
"type": "string",
|
|
34820
|
-
"description": "The protocol version, `
|
|
34859
|
+
"description": "The protocol version, `18`"
|
|
34821
34860
|
},
|
|
34822
34861
|
"required": true,
|
|
34823
|
-
"description": "The protocol version, `
|
|
34862
|
+
"description": "The protocol version, `18`",
|
|
34824
34863
|
"name": "Nylorun-Protocol",
|
|
34825
34864
|
"in": "header"
|
|
34826
34865
|
},
|
|
@@ -34964,10 +35003,10 @@
|
|
|
34964
35003
|
{
|
|
34965
35004
|
"schema": {
|
|
34966
35005
|
"type": "string",
|
|
34967
|
-
"description": "The protocol version, `
|
|
35006
|
+
"description": "The protocol version, `18`"
|
|
34968
35007
|
},
|
|
34969
35008
|
"required": true,
|
|
34970
|
-
"description": "The protocol version, `
|
|
35009
|
+
"description": "The protocol version, `18`",
|
|
34971
35010
|
"name": "Nylorun-Protocol",
|
|
34972
35011
|
"in": "header"
|
|
34973
35012
|
},
|
|
@@ -35102,10 +35141,10 @@
|
|
|
35102
35141
|
{
|
|
35103
35142
|
"schema": {
|
|
35104
35143
|
"type": "string",
|
|
35105
|
-
"description": "The protocol version, `
|
|
35144
|
+
"description": "The protocol version, `18`"
|
|
35106
35145
|
},
|
|
35107
35146
|
"required": true,
|
|
35108
|
-
"description": "The protocol version, `
|
|
35147
|
+
"description": "The protocol version, `18`",
|
|
35109
35148
|
"name": "Nylorun-Protocol",
|
|
35110
35149
|
"in": "header"
|
|
35111
35150
|
},
|
|
@@ -35248,10 +35287,10 @@
|
|
|
35248
35287
|
{
|
|
35249
35288
|
"schema": {
|
|
35250
35289
|
"type": "string",
|
|
35251
|
-
"description": "The protocol version, `
|
|
35290
|
+
"description": "The protocol version, `18`"
|
|
35252
35291
|
},
|
|
35253
35292
|
"required": false,
|
|
35254
|
-
"description": "The protocol version, `
|
|
35293
|
+
"description": "The protocol version, `18`",
|
|
35255
35294
|
"name": "Nylorun-Protocol",
|
|
35256
35295
|
"in": "header"
|
|
35257
35296
|
},
|
|
@@ -35491,10 +35530,10 @@
|
|
|
35491
35530
|
{
|
|
35492
35531
|
"schema": {
|
|
35493
35532
|
"type": "string",
|
|
35494
|
-
"description": "The protocol version, `
|
|
35533
|
+
"description": "The protocol version, `18`"
|
|
35495
35534
|
},
|
|
35496
35535
|
"required": true,
|
|
35497
|
-
"description": "The protocol version, `
|
|
35536
|
+
"description": "The protocol version, `18`",
|
|
35498
35537
|
"name": "Nylorun-Protocol",
|
|
35499
35538
|
"in": "header"
|
|
35500
35539
|
},
|
|
@@ -35647,10 +35686,10 @@
|
|
|
35647
35686
|
{
|
|
35648
35687
|
"schema": {
|
|
35649
35688
|
"type": "string",
|
|
35650
|
-
"description": "The protocol version, `
|
|
35689
|
+
"description": "The protocol version, `18`"
|
|
35651
35690
|
},
|
|
35652
35691
|
"required": true,
|
|
35653
|
-
"description": "The protocol version, `
|
|
35692
|
+
"description": "The protocol version, `18`",
|
|
35654
35693
|
"name": "Nylorun-Protocol",
|
|
35655
35694
|
"in": "header"
|
|
35656
35695
|
},
|
|
@@ -35768,7 +35807,7 @@
|
|
|
35768
35807
|
"tags": [
|
|
35769
35808
|
{
|
|
35770
35809
|
"name": "Agent manifests",
|
|
35771
|
-
"description": "Named, versioned agent manifests (protocol 16): one document with what runs inside an agent's loop (`harness`) and what the Runtime provides around it (`runtime`), checked against each other when it is saved. Save one with a plan first (`?dryRun=true`) and `If-Match`; an Agent
|
|
35810
|
+
"description": "Named, versioned agent manifests (protocol 16): one document with what runs inside an agent's loop (`harness`) and what the Runtime provides around it (`runtime`), checked against each other when it is saved. Save one with a plan first (`?dryRun=true`) and `If-Match`; an Agent runs one version at a time, and a save moves every Agent that tracks the manifest to the new version, while a pinned one stays. `client.agentManifests` in `@nylorun/agents`, and `nylorun apply`."
|
|
35772
35811
|
},
|
|
35773
35812
|
{
|
|
35774
35813
|
"name": "Definition files",
|
|
@@ -35780,11 +35819,11 @@
|
|
|
35780
35819
|
},
|
|
35781
35820
|
{
|
|
35782
35821
|
"name": "Triggers",
|
|
35783
|
-
"description": "What starts an Agent's turns with no client connected
|
|
35822
|
+
"description": "What starts an Agent's turns with no client connected: the schedules, one-shot times and webhook endpoints its manifest's `runtime.triggers` declare. Each trigger's status is the Agent's: pause and resume it, run it now, make a webhook trigger's signing secret, and read its runs (`started`, `queued`, `skipped` or `failed`, with a reason). In `@nylorun/agents` and `nylorun agents triggers`."
|
|
35784
35823
|
},
|
|
35785
35824
|
{
|
|
35786
35825
|
"name": "Memory",
|
|
35787
|
-
"description": "An Agent's memories
|
|
35826
|
+
"description": "An Agent's memories: Markdown files under `/memories` it keeps across sessions, wakes and upgrades, shaped like Anthropic's memory stores. List and read them, write one whole (with a `content_sha256` precondition), delete one or a folder, and read the version every change leaves, with who made it. In `@nylorun/agents` and `nylorun agents memories`."
|
|
35788
35827
|
},
|
|
35789
35828
|
{
|
|
35790
35829
|
"name": "Sessions API",
|