Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
merge(master): reconcile latest upstream changes
Maxc38dd9c8f4ba
diff --cc ui/src/components/workbench/ShowPageShareControl.test.tsxindex f97e81131,d307a63fa..2249aa99e--- a/ui/src/components/workbench/ShowPageShareControl.test.tsx+++ b/ui/src/components/workbench/ShowPageShareControl.test.tsx@@@ -360,44 -280,64 +364,110 @@@ describe('ShowPageShareControl payloadcan_manage: true,can_publish_public: true,});+ const pending = new Promise(() => undefined);+ permissionsApi.getPermissions.mockReturnValue(pending);+ permissionsApi.getResourceAccess.mockReturnValue(pending);+ api.getShowPageAccess.mockResolvedValue(organizationAccess);+ api.ensureShowPage.mockResolvedValue({+ session_id: 'ses-1',+ visibility: 'private',+ active_url: '/show/ses-1/',+ share_id: 'stable-link',+ url_available: true,+ offline: false,+ title: null,+ });+ api.getShowAccessSettings.mockResolvedValue({+ show_access: {+ page_id: 'ses-1',+ access_mode: 'private',+ share_id: 'stable-link',+ revision: 0,+ normalized_emails: [],+ },+ });++ render(+ <I18nextProvider i18n={i18n}>+ <ShowPageShareControl+ sessionId="ses-1"+ initialAccess={organizationAccess}+ canManageInstance+ />+ </I18nextProvider>,+ );+ fireEvent.click(screen.getByRole('button', { name: 'Share' }));++ expect(await screen.findByRole('button', { name: 'Access: Private' })).toBeTruthy();+ expect(screen.getByText('Workspace access')).toBeTruthy();- expect(screen.queryByText('Page online')).toBeNull();+ expect(screen.queryByRole('textbox', { name: 'Custom link' })).toBeNull();++ expect(screen.queryByText('Page online')).toBeNull();++ expect(api.setShowPageAvailability).not.toHaveBeenCalled();++ });++++ it('keeps explicit custom-link saving while online and Workspace controls stay out', async () => {++ api.getShowPageAccess.mockResolvedValue(showPageAccess({++ can_use: true,++ can_manage: true,++ can_publish_public: true,++ }));+ api.ensureShowPage.mockResolvedValue({+ session_id: 'ses-1',+ visibility: 'public',+ active_url: '/p/stable-link/',+ share_id: 'stable-link',+ url_available: true,+ offline: false,+ title: null,+ });+ api.getShowAccessSettings.mockResolvedValue({+ show_access: {+ page_id: 'ses-1',+ access_mode: 'public',+ share_id: 'stable-link',+ revision: 0,+ normalized_emails: [],+ },+ });+ api.applyShowAccess.mockResolvedValue({+ status: 'applied',+ show_access: {+ page_id: 'ses-1',+ access_mode: 'public',+ share_id: 'new-link',+ revision: 1,+ normalized_emails: [],+ },+ });++ render(+ <I18nextProvider i18n={i18n}>+ <ShowPageShareControl sessionId="ses-1" canManageInstance />+ </I18nextProvider>,+ );+ fireEvent.click(screen.getByRole('button', { name: 'Share' }));++ expect(await screen.findByRole('button', { name: 'Access: Fully public' })).toBeTruthy();+ const customLink = screen.getByRole('textbox', { name: 'Custom link' });+ expect((customLink as HTMLInputElement).value).toBe('stable-link');+ expect(screen.getByText('Custom link')).toBeTruthy();+ expect(screen.queryByRole('button', { name: 'Save' })).toBeNull();+ fireEvent.change(customLink, { target: { value: 'new-link' } });+ fireEvent.blur(customLink);++ expect(api.applyShowAccess).not.toHaveBeenCalled();+ fireEvent.click(screen.getByRole('button', { name: 'Save' }));++ await waitFor(() => {+ expect(api.applyShowAccess).toHaveBeenCalledWith('ses-1', {+ expected_revision: 0,+ target_access_mode: 'public',+ target_share_id: 'new-link',+ target_emails: [],+ });+ });+ expect(screen.queryByText('Workspace access')).toBeNull();- expect(screen.queryByText('Page online')).toBeNull();+ expect(screen.queryByRole('button', { name: 'Apply' })).toBeNull();expect(api.setShowPageAvailability).not.toHaveBeenCalled();});diff --cc ui/src/components/workbench/ShowPageShareControl.tsxindex 5896805e4,b8273d389..cc7326bac--- a/ui/src/components/workbench/ShowPageShareControl.tsx+++ b/ui/src/components/workbench/ShowPageShareControl.tsx@@@ -207,7 -206,7 +207,7 @@@ export const ShowPageShareControl: Reac</PopoverTrigger><PopoverContentalign="end"- className="max-h-[var(--radix-popover-content-available-height)] w-[min(27rem,calc(100vw-1rem))] space-y-3 overflow-y-auto"- className="w-[min(23rem,calc(100vw-1rem))] space-y-3"++ className="max-h-[var(--radix-popover-content-available-height)] w-[min(23rem,calc(100vw-1rem))] space-y-3 overflow-y-auto"data-window-owner-id={ownerWindowId}><div className="text-sm font-medium">{t('chat.showPage.shareTitle')}</div>@@@ -265,18 -292,6 +293,22 @@@sessionId={sessionId}onApplied={handleShowAccessApplied}ownerWindowId={ownerWindowId}- showCustomLink={false}++ showCustomLink={access.mode !== 'organization' && access.mode !== 'organization_pending'}+ />+ </div>+ ) : null}+- {access ? (++ {access && (++ access.mode === 'organization'++ || access.mode === 'organization_pending'++ || access.mode === 'configuration_unavailable'++ ) ? (+ <div className="border-t border-border pt-3">+ <ShowPageWorkspaceAccessControl+ access={access}+ active={open}+ canManageInstance={canManageInstance}+ sessionId={sessionId}/></div>) : null}