Arcane OS Docs Development only

Reference

Arcane.ollama.copy()

Raw application alias copy is denied; managed selection owns alias mutation.

  • Reference

This focused page is derived from the mechanically checked full member inventory.

Syntax

Arcane.ollama.copy(source, destination)

Parameters

source: OllamaModelName; destination: OllamaModelName

Return value

Promise<never>

Description

Raw application alias copy is denied; managed selection owns alias mutation.

Overview

Arcane.ollama.copy(source, destination) is intentionally denied to every application. Raw alias copying is reserved to Arcane's integrity-gated managed selection workflow.

Parameters

source and destination are required valid Ollama model names. Valid names do not make the operation admissible.

Return value

The application contract is Promise<never>: Core always rejects before a provider copy and produces no success result.

Availability

The method sits behind the desktop Core ai.models.manage boundary but remains denied under both verified and unverified application policy. Android and browser previews do not expose it.

Errors and recovery

Core returns UNVERIFIED_MODEL_MUTATION_FORBIDDEN with a resolution directing the caller to a managed model-selection workflow. Treat it as a policy result, not a transient provider failure.

Streaming, cancellation, and events

The method does not reach the provider, stream chunks, accept a signal, or emit operation events.

Example

try {
    await globalThis.Arcane.ollama.copy(
        'gemma3:latest',
        'my-copy:latest'
    );
    throw new Error('Raw Ollama copy unexpectedly succeeded.');
} catch (error) {
    if (error.code !== 'UNVERIFIED_MODEL_MUTATION_FORBIDDEN') {
        throw error;
    }
    console.info('Use the managed Arcane selection workflow.');
}

Reference group

AI and Ollama

Repository and reviewed source access