MCPcopy Create free account
hub / github.com/diillson/chatcli / Create

Method Create

cli/plugins/builtin_context.go:49–49  ·  view source on GitHub ↗

Create builds (and persists) a named context from one or more sources (a corpus.jsonl from @docs-flatten, a local directory, or files) in the given mode (default "knowledge"). Returns an LLM-readable summary.

(name, mode string, paths []string, description string, force bool)

Source from the content-addressed store, hash-verified

47 // (a corpus.jsonl from @docs-flatten, a local directory, or files) in the
48 // given mode (default "knowledge"). Returns an LLM-readable summary.
49 Create(name, mode string, paths []string, description string, force bool) (string, error)
50 // Update re-ingests/modifies an existing context. Empty fields keep the
51 // current value (mode/description); empty paths keep the current sources.
52 Update(name string, paths []string, mode, description string, tags []string) (string, error)

Callers 15

downloadModelFunction · 0.65
DownloadArchiveFunction · 0.65
handleExportCommandMethod · 0.65
ExecuteWithStreamMethod · 0.65
createStressPodMethod · 0.65
checkApprovalMethod · 0.65
createAnomalyMethod · 0.65
ReconcileMethod · 0.65
saveSeasonalPatternsMethod · 0.65
ExecuteHelmRollbackMethod · 0.65
CreateApprovalRequestFunction · 0.65
RecordMethod · 0.65

Implementers 3

flattenFakeContextcli/agent_tool_flatten_test.go
contextPluginAdaptercli/context_adapter.go
fakeContextAdaptercli/plugins/builtin_context_test.go

Calls

no outgoing calls

Tested by

no test coverage detected