feat: update external workdir generated contracts

This commit is contained in:
2026-09-29 05:57:58 +09:00
parent 00e0472807
commit 544204b24e
2 changed files with 29 additions and 15 deletions
+24 -12
View File
@@ -2015,24 +2015,26 @@
"display_name": {
"type": "string"
},
"permission": {
"$ref": "#/components/schemas/ExternalWorkdirPermission"
},
"provider_instance_id": {
"type": "string"
},
"read_only": {
"type": "boolean"
},
"ttl_seconds": {
"format": "uint64",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
"type": [
"integer",
"null"
]
}
},
"required": [
"provider_instance_id",
"display_name",
"ttl_seconds",
"read_only"
"permission"
],
"type": "object"
},
@@ -2043,7 +2045,11 @@
"type": "string"
},
"expires_at": {
"type": "string"
"description": "`None` means the grant has no automatic expiry. It remains bounded by\nexplicit revoke, provider disconnect, and provider shutdown cleanup.",
"type": [
"string",
"null"
]
},
"generation": {
"format": "uint64",
@@ -2054,8 +2060,8 @@
"grant_id": {
"type": "string"
},
"permissions": {
"type": "string"
"permission": {
"$ref": "#/components/schemas/ExternalWorkdirPermission"
},
"provider_instance_id": {
"type": "string"
@@ -2076,13 +2082,19 @@
"working_directory_id",
"provider_instance_id",
"display_name",
"permissions",
"expires_at",
"permission",
"generation",
"status"
],
"type": "object"
},
"ExternalWorkdirPermission": {
"enum": [
"read_only",
"read_write"
],
"type": "string"
},
"ExtractAudit": {
"properties": {
"entry_range": {
@@ -13982,7 +13994,7 @@
"info": {
"title": "Yoi Server API",
"version": "0.1.0",
"x-yoi-source-digest": "sha256:7b14311c0ae7d40c3e1b423890c890b1b73de321ed199c223b771711effcd280"
"x-yoi-source-digest": "sha256:845d8859bab4de95f0539969ae8c84bbf3fb4a0548638e4278d6c90f9bb6cb3a"
},
"openapi": "3.1.0",
"paths": {