PDC — Continuity Point

v1.1.0
io.github.paulopdc/pdc-protocol Checked 2 days ago Published 3 days ago

Continue AI conversations on any device and any AI, with server-verified footers.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

abrir_sessao

Call when a chat opens. With a CV and a PA, returns the last PDC to resume. Without a CV, lists recent conversations. Also returns the protocol instructions.

ParameterTypeDescription
codigostring
pastring

iniciar_conversa

Create a new CV (permanent 8-digit code). The same key and the same title return the same CV.

ParameterTypeDescription
chave_requisicao *string
titulo *string

registrar_fala

BEFORE EVERY FINAL REPLY: records the user message, the visible reply and the continuity (objetivo, resumo, proximo_passo, decisoes, pendencias, referencias). The origin must name the AI and the PA, e.g. "Assistant X · PA NB1". End the reply only with the returned footer, and only if salvo=true.

ParameterTypeDescription
chave_requisicao *string
codigo *string
continuidade *object
mensagem_usuario *string
origem *string
ponto_base *integer
resposta_ia *string

retomar_conversa

Load the last PDC (or an older point) of a CV. The returned ponto_base is required for the next write.

ParameterTypeDescription
codigo *string
ponto

ler_historico_conversa

Read full turns of a CV, paginated. Use only when the summary is not enough.

ParameterTypeDescription
codigo *string
aposinteger
ate
limiteinteger

listar_conversas

List CVs by title or code, newest first.

ParameterTypeDescription
antes_de
buscastring
limiteinteger

conferir_rodape

Check whether a footer was really recorded by the server and whether it is the CV's latest state. When the user only asks for verification, reply just OK or NO, without recording a turn.

ParameterTypeDescription
codigo *string
ponto *integer
conferenciastring