Implement platform management features

This commit is contained in:
npc0-hue
2026-08-17 08:48:45 +08:00
parent 65353cf269
commit 302f1f64b7
38 changed files with 2185 additions and 110 deletions
+4
View File
@@ -415,6 +415,10 @@ type LogStream struct {
Source domain.LogStreamSource `json:"source" db:"source"`
// StreamKey is stable within the server instance.
StreamKey string `json:"streamKey" db:"stream_key"`
// LogSessionID groups plugin-declared supervised-process streams for one process generation.
LogSessionID string `json:"logSessionId,omitempty" db:"log_session_id"`
// SessionStartedAt is Run's persisted start timestamp for the supervised process generation.
SessionStartedAt time.Time `json:"sessionStartedAt,omitempty" db:"session_started_at"`
// LatestSeq is the latest accepted sequence number.
LatestSeq uint64 `json:"latestSeq" db:"latest_seq"`
// StorageBackend identifies the log body backend.