Chatd still carries an unreachable interruption flush path, unused state and options, an uncalled workspace MCP cache invalidation callback, and a stream-buffer-drop counter that production never increments. Remove these paths and their dedicated assertions, and update the generated metrics inventory and documentation. Consolidate duplicate publication and rollback tests and move fixture writers and test-only inspection helpers into test files. Retain the interruption persistence, state-machine matrix, legacy message format, and provider compatibility coverage.
24 lines
499 B
Go
24 lines
499 B
Go
package chatdebug
|
|
|
|
// AllRunKinds contains every RunKind value for SDK parity checks.
|
|
var AllRunKinds = []RunKind{
|
|
KindChatTurn,
|
|
KindTitleGeneration,
|
|
KindQuickgen,
|
|
KindCompaction,
|
|
}
|
|
|
|
// AllStatuses contains every Status value for SDK parity checks.
|
|
var AllStatuses = []Status{
|
|
StatusInProgress,
|
|
StatusCompleted,
|
|
StatusError,
|
|
StatusInterrupted,
|
|
}
|
|
|
|
// AllOperations contains every Operation value for SDK parity checks.
|
|
var AllOperations = []Operation{
|
|
OperationStream,
|
|
OperationGenerate,
|
|
}
|