3301
ref.object.getMetadata(AH_META_WORKSPACELESS_DB_KEY),
3302
]);
3303
>
const workingDirectory = cwd ? URI.parse(cwd) : undefined;
copilotAgent.ts
3304
>
const project = uri && displayName ? { uri: URI.parse(uri), displayName } : undefined;
3305
>
return {
3306
>
model: this._parseModelSelection(model),
3307
>
agent: this._parseAgentSelection(agent),
3308
>
workingDirectory,
3309
>
customizationDirectory: customizationDirectory ? URI.parse(customizationDirectory) : undefined,
3310
>
project,
3311
>
resolved: resolved === 'true' || project !== undefined,
3312
>
workspaceless: workspaceless === 'true',
3313
>
};
3314
>
} finally {
3315
ref.dispose();
3316
}
3318
3319
/**