Add Epiphany pressure reflection

This commit is contained in:
Meta Vens 2026-04-26 04:24:55 +01:00
commit e1298e58a9
42 changed files with 986 additions and 90 deletions

View file

@ -4736,6 +4736,13 @@
"last": {
"$ref": "#/definitions/TokenUsageBreakdown"
},
"modelAutoCompactTokenLimit": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"modelContextWindow": {
"format": "int64",
"type": [

View file

@ -15032,6 +15032,101 @@
],
"type": "string"
},
"ThreadEpiphanyPressure": {
"properties": {
"basis": {
"$ref": "#/definitions/v2/ThreadEpiphanyPressureBasis"
},
"level": {
"$ref": "#/definitions/v2/ThreadEpiphanyPressureLevel"
},
"modelAutoCompactTokenLimit": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"modelContextWindow": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"note": {
"type": "string"
},
"ratioPerMille": {
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"remainingTokens": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"shouldPrepareCompaction": {
"type": "boolean"
},
"status": {
"$ref": "#/definitions/v2/ThreadEpiphanyPressureStatus"
},
"usedTokens": {
"format": "int64",
"type": [
"integer",
"null"
]
}
},
"required": [
"basis",
"level",
"note",
"shouldPrepareCompaction",
"status"
],
"type": "object"
},
"ThreadEpiphanyPressureBasis": {
"enum": [
"unknown",
"autoCompactLimit",
"modelContextWindow"
],
"type": "string"
},
"ThreadEpiphanyPressureLevel": {
"enum": [
"unknown",
"low",
"elevated",
"high",
"critical"
],
"type": "string"
},
"ThreadEpiphanyPressureSource": {
"enum": [
"stored",
"live"
],
"type": "string"
},
"ThreadEpiphanyPressureStatus": {
"enum": [
"unknown",
"ready"
],
"type": "string"
},
"ThreadEpiphanyRetrieveIndexSummary": {
"properties": {
"dirtyPaths": {
@ -15283,6 +15378,7 @@
"distill",
"context",
"jobs",
"pressure",
"propose",
"promote",
"update"
@ -17813,6 +17909,13 @@
"last": {
"$ref": "#/definitions/v2/TokenUsageBreakdown"
},
"modelAutoCompactTokenLimit": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"modelContextWindow": {
"format": "int64",
"type": [

View file

@ -12919,6 +12919,101 @@
],
"type": "string"
},
"ThreadEpiphanyPressure": {
"properties": {
"basis": {
"$ref": "#/definitions/ThreadEpiphanyPressureBasis"
},
"level": {
"$ref": "#/definitions/ThreadEpiphanyPressureLevel"
},
"modelAutoCompactTokenLimit": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"modelContextWindow": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"note": {
"type": "string"
},
"ratioPerMille": {
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"remainingTokens": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"shouldPrepareCompaction": {
"type": "boolean"
},
"status": {
"$ref": "#/definitions/ThreadEpiphanyPressureStatus"
},
"usedTokens": {
"format": "int64",
"type": [
"integer",
"null"
]
}
},
"required": [
"basis",
"level",
"note",
"shouldPrepareCompaction",
"status"
],
"type": "object"
},
"ThreadEpiphanyPressureBasis": {
"enum": [
"unknown",
"autoCompactLimit",
"modelContextWindow"
],
"type": "string"
},
"ThreadEpiphanyPressureLevel": {
"enum": [
"unknown",
"low",
"elevated",
"high",
"critical"
],
"type": "string"
},
"ThreadEpiphanyPressureSource": {
"enum": [
"stored",
"live"
],
"type": "string"
},
"ThreadEpiphanyPressureStatus": {
"enum": [
"unknown",
"ready"
],
"type": "string"
},
"ThreadEpiphanyRetrieveIndexSummary": {
"properties": {
"dirtyPaths": {
@ -13170,6 +13265,7 @@
"distill",
"context",
"jobs",
"pressure",
"propose",
"promote",
"update"
@ -15700,6 +15796,13 @@
"last": {
"$ref": "#/definitions/TokenUsageBreakdown"
},
"modelAutoCompactTokenLimit": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"modelContextWindow": {
"format": "int64",
"type": [

View file

@ -6,6 +6,13 @@
"last": {
"$ref": "#/definitions/TokenUsageBreakdown"
},
"modelAutoCompactTokenLimit": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"modelContextWindow": {
"format": "int64",
"type": [