Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 56 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ members = [
"crates/temps-vm-agent",
# Library crates
"crates/temps-core",
"crates/temps-cloud-protocol",
"crates/temps-cloud-client",
"crates/temps-cloud",
"crates/temps-ai",
"crates/temps-ai-chat",
"crates/temps-entities",
Expand Down
6 changes: 1 addition & 5 deletions apps/temps-cli/openapi-ts.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,5 @@ export default defineConfig({
output: {
path: 'src/api',
},
client: '@hey-api/client-fetch',
plugins: [
'@hey-api/sdk',
'@hey-api/typescript',
],
plugins: ['@hey-api/sdk', '@hey-api/typescript'],
})
210 changes: 210 additions & 0 deletions apps/temps-cli/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2428,6 +2428,17 @@
"type": "boolean",
"description": "Set to `true` by `temps setup` (all modes) once initial configuration\nhas been applied. The web onboarding wizard reads this from the server\nand skips itself when true, preventing the \"Configure Base Domain\" wall\nfrom appearing on installs that were already configured via the CLI.",
"default": false
},
"cloud": {
"oneOf": [
{
"$ref": "#/components/schemas/CloudSettings",
"description": "Managed control-plane connection. Credentials are deliberately not\nstored here; they live in the owner-only cloud-link state file."
}
],
"default": {
"backend_url": "https://app.temps.sh"
}
}
}
},
Expand Down Expand Up @@ -42661,6 +42672,95 @@
}
}
}
},
"CloudCapability": {
"type": "object",
"required": [
"configured",
"setup_path"
],
"properties": {
"configured": {
"type": "boolean"
},
"reason": {
"type": [
"string",
"null"
]
},
"setup_path": {
"type": "string"
}
}
},
"CloudSettings": {
"type": "object",
"description": "Non-secret managed control-plane settings stored with application settings.",
"properties": {
"backend_url": {
"type": "string",
"description": "HTTPS origin used for enrollment and telemetry mirroring.",
"default": "https://app.temps.sh"
}
}
},
"CloudStatus": {
"type": "object",
"required": [
"status",
"status_message",
"health",
"health_message",
"spooled_spans",
"backend_url"
],
"properties": {
"account_email": {
"type": [
"string",
"null"
]
},
"backend_url": {
"type": "string"
},
"health": {
"type": "string"
},
"health_message": {
"type": "string"
},
"instance_id": {
"type": [
"string",
"null"
]
},
"spooled_spans": {
"type": "integer",
"minimum": 0
},
"status": {
"type": "string"
},
"status_message": {
"type": "string"
}
}
},
"EnrollCloudRequest": {
"type": "object",
"required": [
"enrollment_code"
],
"properties": {
"enrollment_code": {
"type": "string",
"example": "ABCD-EFGH",
"minLength": 1
}
}
}
},
"securitySchemes": {
Expand Down Expand Up @@ -91413,6 +91513,116 @@
}
]
}
},
"/cloud": {
"delete": {
"tags": [
"Cloud"
],
"operationId": "disconnect_cloud",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CloudStatus"
}
}
}
}
},
"security": [
{
"bearer_auth": []
}
]
}
},
"/cloud/capability": {
"get": {
"tags": [
"Cloud"
],
"operationId": "get_cloud_capability",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CloudCapability"
}
}
}
}
},
"security": [
{
"bearer_auth": []
}
]
}
},
"/cloud/enroll": {
"post": {
"tags": [
"Cloud"
],
"operationId": "enroll_cloud",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/EnrollCloudRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CloudStatus"
}
}
}
}
},
"security": [
{
"bearer_auth": []
}
]
}
},
"/cloud/status": {
"get": {
"tags": [
"Cloud"
],
"operationId": "get_cloud_status",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CloudStatus"
}
}
}
}
},
"security": [
{
"bearer_auth": []
}
]
}
}
},
"servers": [
Expand Down
Loading
Loading