9b395f5cc3
E2E Headed Chrome / e2e-headed (macos-15) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (ubuntu-latest) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (windows-latest) (push) Has been cancelled
CI / build (macos-latest) (push) Has been cancelled
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
CI / unit-test (push) Has been cancelled
CI / bun-test (push) Has been cancelled
CI / adapter-test (push) Has been cancelled
CI / smoke-test (macos-latest) (push) Has been cancelled
CI / smoke-test (ubuntu-latest) (push) Has been cancelled
Security Audit / audit (push) Has been cancelled
Build Chrome Extension / build (push) Has been cancelled
Trigger Website Rebuild (Docs Updated) / dispatch (push) Has been cancelled
34 lines
1.4 KiB
JavaScript
34 lines
1.4 KiB
JavaScript
import { cli, Strategy } from '@jackwener/opencli/registry';
|
|
import { CommandExecutionError } from '@jackwener/opencli/errors';
|
|
import { conversationTargetArgs } from './_actions.js';
|
|
|
|
// Known followup: a first attempt at rename triggered a destructive side
|
|
// effect that removed the conversation from the sidebar (the convo titled
|
|
// "1" disappeared after attempting `rename b79d8b28-... "..."` with the
|
|
// Promise eval being collected mid-way). The 3-dot menu's Rename option
|
|
// may interact with Antigravity's React state in a way that an
|
|
// incomplete eval treats as "discard" — needs more investigation before
|
|
// it's safe to ship.
|
|
//
|
|
// For now this command refuses to run; pin/delete/mark-read are wired up.
|
|
cli({
|
|
site: 'antigravity',
|
|
name: 'rename',
|
|
access: 'write',
|
|
description: 'Rename an Antigravity conversation by ID (NOT YET IMPLEMENTED — see source comment).',
|
|
domain: '127.0.0.1',
|
|
strategy: Strategy.UI,
|
|
browser: true,
|
|
args: [
|
|
...conversationTargetArgs,
|
|
{ name: 'title', positional: true, type: 'string', required: true, help: 'New title' },
|
|
],
|
|
columns: ['status'],
|
|
func: async () => {
|
|
throw new CommandExecutionError(
|
|
'antigravity rename is not yet implemented — first attempt caused the conversation to be removed from the sidebar instead of renamed. Use the Antigravity UI to rename until this is fixed.',
|
|
'',
|
|
);
|
|
},
|
|
});
|