Package 'wickracopilot'

Title: Deterministic Market-Context Copilot Core
Description: R bindings for wickra-copilot over its C ABI hub: build a Copilot from a spec JSON, drive it with command JSON and read back a ranked list of hard facts - the same protocol as the CLI and every other binding. Only the deterministic core is exposed; the LLM adapter is never reachable over the C ABI.
Authors: kingchenc [aut, cre]
Maintainer: kingchenc <support@wickra.org>
License: MIT + file LICENSE | Apache License 2.0
Version: 0.2.0
Built: 2026-10-07 09:02:34 UTC
Source: https://github.com/wickra-lib/wickra-copilot

Help Index


Apply a command JSON and return the resulting response JSON.

Description

Apply a command JSON and return the resulting response JSON.

Usage

wkcopilot_command(copilot, cmd_json)

Arguments

copilot

A copilot handle from [wkcopilot_new()].

cmd_json

A command JSON string.

Value

The response as a JSON string.


Build a copilot from a spec JSON string.

Description

Build a copilot from a spec JSON string.

Usage

wkcopilot_new(spec_json)

Arguments

spec_json

A JSON spec string.

Value

A 'wickra_copilot' handle (an external pointer).


The wickra-copilot library version.

Description

The wickra-copilot library version.

Usage

wkcopilot_version()

Value

A version string.