MCPcopy Create free account
hub / github.com/cortexkit/magic-context / commit

Method commit

packages/plugin/src/shared/transcript.ts:248–248  ·  view source on GitHub ↗

* Commit accumulated mutations to the underlying source array. * * For OpenCode: no-op — parts are mutated directly in `Part.text`/ * `Part.state.output` and OpenCode reads them back from the same * array, so changes are already visible. * * For Pi: rebuilds a new `Agen

()

Source from the content-addressed store, hash-verified

246 * finishes. Adapters that don't need it implement it as a no-op.
247 */
248 commit(): void;
249}
250
251/**

Callers 15

update_memory_statusFunction · 0.80
update_memory_contentFunction · 0.80
update_memory_categoryFunction · 0.80
delete_memoryFunction · 0.80
bulk_delete_memoryFunction · 0.80
update_session_factFunction · 0.80
delete_session_factFunction · 0.80
dismiss_user_memoryFunction · 0.80
delete_user_memoryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected