chore(integration): snapshot local main worktree
This commit is contained in:
@@ -118,6 +118,14 @@ export class PiInteractionStore {
|
||||
const value = stored.labels.get(response.optionId);
|
||||
if (value === undefined) throw new Error('Pi interaction option is invalid');
|
||||
command = { type: 'extension_ui_response', id: stored.interaction.id, value };
|
||||
} else if (stored.interaction.kind === 'select'
|
||||
&& 'value' in response
|
||||
&& response.value.trim()) {
|
||||
command = {
|
||||
type: 'extension_ui_response',
|
||||
id: stored.interaction.id,
|
||||
value: response.value.trim(),
|
||||
};
|
||||
} else if (stored.interaction.kind === 'confirm' && 'confirmed' in response) {
|
||||
command = { type: 'extension_ui_response', id: stored.interaction.id, confirmed: response.confirmed };
|
||||
} else if ((stored.interaction.kind === 'input' || stored.interaction.kind === 'editor')
|
||||
|
||||
Reference in New Issue
Block a user