Skip to content

API Reference parrot.knowledge.wiki.transport

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.knowledge.wiki.transport

View source

Transport-neutral wiki operation descriptors (FEAT-540 M5).

Alias BlastRadiusInput

Re-exported from parrot.knowledge.wiki.structural.operations.BlastRadiusInput.

Alias CodeOutlineInput

Re-exported from parrot.knowledge.wiki.structural.operations.CodeOutlineInput.

Alias DecisionGenerateInput

Re-exported from parrot.knowledge.wiki.decisions.operations.DecisionGenerateInput.

Alias DecisionWhyInput

Re-exported from parrot.knowledge.wiki.decisions.operations.DecisionWhyInput.

Alias DecisionsForSymbolInput

Re-exported from parrot.knowledge.wiki.decisions.operations.DecisionsForSymbolInput.

Alias GLOSSARY_OPERATIONS

Re-exported from parrot.knowledge.wiki.glossary.operations.GLOSSARY_OPERATIONS.

Alias IngestBatchInput

Re-exported from parrot.knowledge.wiki.operations.IngestBatchInput.

Alias LedgerClaimInput

Re-exported from parrot.knowledge.wiki.ledger.operations.LedgerClaimInput.

Alias LedgerCloseInput

Re-exported from parrot.knowledge.wiki.ledger.operations.LedgerCloseInput.

Alias LedgerContextInput

Re-exported from parrot.knowledge.wiki.ledger.operations.LedgerContextInput.

Alias LedgerListInput

Re-exported from parrot.knowledge.wiki.ledger.operations.LedgerListInput.

Alias LedgerOpenInput

Re-exported from parrot.knowledge.wiki.ledger.operations.LedgerOpenInput.

Alias LedgerReadyInput

Re-exported from parrot.knowledge.wiki.ledger.operations.LedgerReadyInput.

Alias LedgerShowInput

Re-exported from parrot.knowledge.wiki.ledger.operations.LedgerShowInput.

Class OperationDescriptor

One wiki tool, independent of transport.

Fields:

Field Type Default Description
name str
description str
input_model type[BaseModel]
schema_fingerprint str
mount str
invoke Callable[[BaseModel], Awaitable[OperationResult]]

Alias OperationResult

Re-exported from parrot.knowledge.wiki.operations.OperationResult.

Alias PROCEDURE_NEXT_DESCRIPTION

Re-exported from parrot.knowledge.wiki.procedure.operations.PROCEDURE_NEXT_DESCRIPTION.

Alias PageHashesInput

Re-exported from parrot.knowledge.wiki.operations.PageHashesInput.

Alias ProcedureNextInput

Re-exported from parrot.knowledge.wiki.procedure.operations.ProcedureNextInput.

Alias SchemaLookupInput

Re-exported from parrot.knowledge.wiki.schema.operations.SchemaLookupInput.

Alias SchemaNeighborsInput

Re-exported from parrot.knowledge.wiki.schema.operations.SchemaNeighborsInput.

Alias SchemaSearchInput

Re-exported from parrot.knowledge.wiki.schema.operations.SchemaSearchInput.

Alias SchemaSourcesInput

Re-exported from parrot.knowledge.wiki.schema.operations.SchemaSourcesInput.

Alias SpecConsequencesInput

Re-exported from parrot.knowledge.wiki.decisions.operations.SpecConsequencesInput.

Alias SymbolLookupInput

Re-exported from parrot.knowledge.wiki.structural.operations.SymbolLookupInput.

Alias SyncPagesInput

Re-exported from parrot.knowledge.wiki.operations.SyncPagesInput.

Alias USAGE_REPORT_DESCRIPTION

Re-exported from parrot.knowledge.wiki.usage_operations.USAGE_REPORT_DESCRIPTION.

Alias UsageReportInput

Re-exported from parrot.knowledge.wiki.usage_operations.UsageReportInput.

Alias VaultIngestInput

Re-exported from parrot.knowledge.wiki.operations.VaultIngestInput.

Alias WikiLintInput

Re-exported from parrot.knowledge.wiki.operations.WikiLintInput.

Alias WikiNoteInput

Re-exported from parrot.knowledge.wiki.operations.WikiNoteInput.

Class WikiOperationContext

Everything the operations need, with no framework objects involved.

Parameter Type Default Description
store Any
read_store Any
root Path
config Any
ledger_service Any | None None
schema_service Any | None None
glossary_service Any | None None
structural_service_factory Callable[[str | None], Any] | None None
decision_service_factory Callable[[str | None], Any] | None None
include_bulk_tools bool False
vault_dir Path | None None
read_repair bool True

Fields:

Field Type Default Description
store Any Local (non-federated) retrieval-plane store; target of bulk and vault writes.
read_store Any Store the read operations query (federated when namespaces are mounted).
root Path Wiki project root.
config Any Effective WikiProjectConfig.
ledger_service Any | None None Ledger service, or None when no ledger is mounted.
schema_service Any | None None Schema-plane service, or None when no plane is mounted.
glossary_service Any | None None Glossary-plane service, or None when no plane is mounted.
structural_service_factory Callable[[str | None], Any] | None None Namespace-aware StructuralService resolver.
decision_service_factory Callable[[str | None], Any] | None None Namespace-aware DecisionService resolver.
include_bulk_tools bool False Whether the server-only bulk/sync operations are mounted.
vault_dir Path | None None Resolved Obsidian vault directory, or None.
read_repair bool True Whether structural operations may repair from local source files.

Attributes:

Attribute Type Description
storage_dir Path Return the local plane's storage directory.

Alias WikiPageInput

Re-exported from parrot.knowledge.wiki.operations.WikiPageInput.

Alias WikiQueryInput

Re-exported from parrot.knowledge.wiki.operations.WikiQueryInput.

Alias WikiRelatedInput

Re-exported from parrot.knowledge.wiki.operations.WikiRelatedInput.

Alias WikiRememberInput

Re-exported from parrot.knowledge.wiki.operations.WikiRememberInput.

Alias WikiStandupInput

Re-exported from parrot.knowledge.wiki.operations.WikiStandupInput.

Alias WikiStatusInput

Re-exported from parrot.knowledge.wiki.operations.WikiStatusInput.

Function build_operation_descriptors

Build descriptors for every operation a configuration mounts.

The descriptors come from the operations registry and the stores in the context; no framework tool object is involved.

build_operation_descriptors(context: WikiOperationContext | Any) -> list[OperationDescriptor]

Parameter Type Default Description
context WikiOperationContext | Any A :class:WikiOperationContext, or any object exposing one as .context (a WikiToolBundle).

Returns: list[OperationDescriptor] — Ordered, transport-neutral descriptors for each mounted wiki operation.

Raises:

  • ValueError — If a mounted operation name is duplicated or unsupported.

Function mounted_operation_names

Return the operation names a configuration mounts, in registry order.

mounted_operation_names(ctx: WikiOperationContext) -> list[str]

Parameter Type Default Description
ctx WikiOperationContext Transport-neutral operation context carrying every configuration gate.

Returns: list[str] — Names of the operations this configuration exposes.

Alias op_blast_radius

Re-exported from parrot.knowledge.wiki.structural.operations.op_blast_radius.

Alias op_code_outline

Re-exported from parrot.knowledge.wiki.structural.operations.op_code_outline.

Alias op_decision_generate

Re-exported from parrot.knowledge.wiki.decisions.operations.op_decision_generate.

Alias op_decision_why

Re-exported from parrot.knowledge.wiki.decisions.operations.op_decision_why.

Alias op_decisions_for_symbol

Re-exported from parrot.knowledge.wiki.decisions.operations.op_decisions_for_symbol.

Alias op_glossary_add

Re-exported from parrot.knowledge.wiki.glossary.operations.op_glossary_add.

Alias op_glossary_define

Re-exported from parrot.knowledge.wiki.glossary.operations.op_glossary_define.

Alias op_glossary_gaps

Re-exported from parrot.knowledge.wiki.glossary.operations.op_glossary_gaps.

Alias op_glossary_list

Re-exported from parrot.knowledge.wiki.glossary.operations.op_glossary_list.

Alias op_glossary_resolve

Re-exported from parrot.knowledge.wiki.glossary.operations.op_glossary_resolve.

Alias op_ingest_batch

Re-exported from parrot.knowledge.wiki.operations.op_ingest_batch.

Alias op_ledger_claim

Re-exported from parrot.knowledge.wiki.ledger.operations.op_ledger_claim.

Alias op_ledger_close

Re-exported from parrot.knowledge.wiki.ledger.operations.op_ledger_close.

Alias op_ledger_context

Re-exported from parrot.knowledge.wiki.ledger.operations.op_ledger_context.

Alias op_ledger_list

Re-exported from parrot.knowledge.wiki.ledger.operations.op_ledger_list.

Alias op_ledger_open

Re-exported from parrot.knowledge.wiki.ledger.operations.op_ledger_open.

Alias op_ledger_ready

Re-exported from parrot.knowledge.wiki.ledger.operations.op_ledger_ready.

Alias op_ledger_show

Re-exported from parrot.knowledge.wiki.ledger.operations.op_ledger_show.

Alias op_lint

Re-exported from parrot.knowledge.wiki.operations.op_lint.

Alias op_note

Re-exported from parrot.knowledge.wiki.operations.op_note.

Alias op_page

Re-exported from parrot.knowledge.wiki.operations.op_page.

Alias op_page_hashes

Re-exported from parrot.knowledge.wiki.operations.op_page_hashes.

Alias op_procedure_next

Re-exported from parrot.knowledge.wiki.procedure.operations.op_procedure_next.

Alias op_query

Re-exported from parrot.knowledge.wiki.operations.op_query.

Alias op_related

Re-exported from parrot.knowledge.wiki.operations.op_related.

Alias op_remember

Re-exported from parrot.knowledge.wiki.operations.op_remember.

Alias op_schema_lookup

Re-exported from parrot.knowledge.wiki.schema.operations.op_schema_lookup.

Alias op_schema_neighbors

Re-exported from parrot.knowledge.wiki.schema.operations.op_schema_neighbors.

Alias op_schema_search

Re-exported from parrot.knowledge.wiki.schema.operations.op_schema_search.

Alias op_schema_sources

Re-exported from parrot.knowledge.wiki.schema.operations.op_schema_sources.

Alias op_spec_consequences

Re-exported from parrot.knowledge.wiki.decisions.operations.op_spec_consequences.

Alias op_standup

Re-exported from parrot.knowledge.wiki.operations.op_standup.

Alias op_status

Re-exported from parrot.knowledge.wiki.operations.op_status.

Alias op_symbol_lookup

Re-exported from parrot.knowledge.wiki.structural.operations.op_symbol_lookup.

Alias op_sync_pull

Re-exported from parrot.knowledge.wiki.operations.op_sync_pull.

Alias op_sync_push

Re-exported from parrot.knowledge.wiki.operations.op_sync_push.

Alias op_usage_report

Re-exported from parrot.knowledge.wiki.usage_operations.op_usage_report.

Alias op_vault_ingest

Re-exported from parrot.knowledge.wiki.operations.op_vault_ingest.

Alias procedure_plane_available

Re-exported from parrot.knowledge.wiki.procedure.operations.procedure_plane_available.

Function schema_fingerprint

Return the SHA-256 digest of a canonical Pydantic JSON schema.

schema_fingerprint(model: type[BaseModel]) -> str

Parameter Type Default Description
model type[BaseModel] Pydantic input model used by an operation.

Returns: str — Stable hexadecimal digest of the model JSON schema.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally