Skip to content

Commit bd1b768

Browse files
feat(app-shell): Connect an AI Assistant opens with what a connected assistant can do, in plain words (#31052)
<!-- claude-projects-attribution: {"github_login":"os-tesla"} --> _Requested by **Tesla** · [project thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6Jao4R5vgzn4JR1Ewtt4rWD5cr)_ Part of #30898 Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:「连接 AI 助手」页最上方新增一张卡片,用两句白话说明连接后 AI 助手能做什么(以你的身份查找、新建、修改、删除你有权操作的记录,并运行系统操作),再给三条可一键复制的示例请求,并提示先试第一条来确认连接成功。地址卡片和 Claude Code 步骤不再出现 MCP、OAuth 等协议词,只有客户端自己的菜单或表单里用到的地方保留。各客户端里「改用 API 密钥」的提示现在指向「高级:脚本与 CI」区域。 - 为什么改:这个页面的读者不懂 MCP;连接前要先知道助手能为自己做什么,连接后要知道先问什么来确认连上了。 - 风险与回滚:只改页面文案和一张展示卡片,不改服务端行为和连接步骤本身。回滚即 revert 本 PR。 - 先看:`ConnectAgentWidget.tsx` 顶部新卡片,`ui/packages/i18n/src/locales/zh-Hans.ts` 和 `en.ts` 的 `connectAgent.capabilities`,测试文件末尾新增的 describe。 - 两分钟验证:本地部署打开 设置 → 连接 AI 助手,第一张卡片是「连接后,AI 助手能做什么」,下面是三条示例请求和复制按钮;往下的地址卡片标题是「本系统的连接地址」,不再提 OAuth 2.1。 - 需要你做的:无,席位落地。 - **席位意见**:ui 席 2 对照 head `bcbc29ec` 的 diff 复核:15 个文件、+342 / −102,无受治理路径。「连接 AI 助手」页顶部新增一张卡:用两句白话说明连接后助手能查找、新建、修改、删除你有权操作的记录并运行操作,始终以你的身份;附三条可复制的示例请求和「先试第一条」的提示(页面尚不能判断是否已连接,所以对所有人显示)。地址卡、Claude Code 步骤和关闭状态不再出现 MCP / OAuth,协议词只留在客户端自己的菜单和表单里;API 密钥提示指向「高级:脚本与 CI」。十个语言包同步,繁体由简体生成。阿语一条旧文案断言改为 toContain,因标题已改写。遗留:Expected 2(已连接的助手与最近调用,等 #30894)和页头副标题。CI 全绿,Clause-② no,不欠契约复审。同意落地。 ## What changes - `ConnectAgentWidget.tsx`: a new first card, "What your AI assistant can do here". It holds two plain sentences (look up, create, change and delete the records you may, run actions, always as you), three example requests each with a copy button, and a line saying to try the first one, because an answer listing your objects shows the connection works. The address card follows, then the client picker, as before. - Copy without protocol words (Expected 3): the address card title and body, the Claude Code step, and the turned-off empty state now say "connection address", "sign in in the browser" and "AI assistant connections". MCP, OAuth and Streamable HTTP remain only where a client's own menu or form uses them: Codex's "MCP servers" menu, WorkBuddy's "Configure MCP" button, QwenWork's Streamable HTTP transport choice, the Transport field values, and the operator setting `OS_MCP_SERVER_ENABLED` named in the turned-off state. - The four hints that fall back to an API key (Codex, WorkBuddy, Doubao Work, QwenWork) said "create a key below". The key form now sits in the collapsed Advanced section, so they name it: "(create one under Advanced: scripts and CI below)". - i18n: seven new keys under `connectAgent.capabilities` and the reworded strings, in all ten packs; `zh-Hant.ts` regenerated with `gen:zh-hant`. - Root changeset `.changeset/30898-connect-agent-what-it-can-do.md` (`@object-ui/app-shell`, `@object-ui/i18n`: patch). ## Tests `ConnectAgentWidget.keyName-13355.test.tsx` gets a new describe: - §1: the capabilities card comes before the address, with body, three example requests each beside a copy button, and the try-first line. - §2: every pack carries the seven capability strings, and none is an English copy. - §3: no `connectAgent.*` string in any pack contains MCP, OAuth or Streamable HTTP, outside the four client-form keys. - §4: each fallback hint contains that pack's `advanced.title`. Ablation: putting `en.ts` back to its state before this change fails §2, §3 and §4 (§3 lists `en disabled.title`, `url.title`, `url.body` and `claudeCode.body`). Two existing i18n pins moved with the copy: - `residue-namespaces-3546.test.tsx` pinned the old Arabic turned-off title verbatim. It now checks that the title keeps the pack's deployment word, `في هذا النشر`, which is what that case claims. - The German hints name Advanced without „…“ quotes, so `de-quote-pairing-3876`'s pinned pair count stays 107. ## Leftovers - Expected 2, the "connected: which assistant, last call" line, reads the same per-person records as #30894, which is blocked. This PR ships only the nothing-connected-yet part: the try-first line, shown to everyone and never derived from a click. - Expected 3, outside this PR's surface: the page header subtitle is page metadata in `packages/mcp/src/connect-ui.ts` ("Give any MCP-capable AI client governed access … row-level security."). Its translations live in `packages/platform-objects/src/apps/translations` (`pages.connect_agent.subtitle`, source-hashed). It still uses protocol words and goes with Expected 2. ## Verification Head `bcbc29ec`. The branch was restarted on `main` `115a43ad`, after PR #30973 merged as `d9d3eb70`, and the change was cherry-picked cleanly. A full `pnpm build` on that base ran 119/119. <details><summary>Live check on a local deployment (showcase with the fresh flag, console Vite dev, admin and member)</summary> - Before (`main` with #30897): the page opens with "This system's MCP endpoint" and a paragraph on OAuth 2.1 and row-level security, and no sentence says what an assistant can do. As admin and as member alike, the widget plus header carried 7 protocol-word hits on the Claude tab and 8 on Codex. - After: the first card is "What your AI assistant can do here", with the two sentences, then "List the objects I can see." / "Count how many records each of those objects has." / "What actions can I run here, and what does each one do?" with copy buttons, then the try-first line. Below it comes "This system's connection address". - Protocol-word hits after: 2 on Claude, Cursor and Doubao Work, both from the page header subtitle (a leftover, see above). Codex has 4: the header plus its "MCP servers" menu and Streamable HTTP field. WorkBuddy has 3 (its "Configure MCP" button) and QwenWork 3 (its transport choice). Admin and member read the same. </details> <details><summary>Local tests and gates</summary> - `pnpm --dir ui exec vitest run packages/app-shell/src/console/connect/ packages/i18n/ packages/app-shell/src/__tests__/product-neutral-renderer.ratchet.test.ts` → 100 files, 1693 passed, 13 skipped (widget file 16/16) - app-shell `tsc --noEmit` and `tsc -p tsconfig.test.json` → exit 0. eslint on `packages/app-shell/src/console/connect/` → 0 errors (3 pre-existing `no-explicit-any` warnings). - `pnpm --filter @object-ui/i18n gen:zh-hant` → zh-Hant.ts current. `pnpm check:test-source-alias` → OK. - `dispatch-gates --commands` derived 38 commands on bcbc29e, and all 38 exit 0. That includes `node scripts/check-sdui-manifest.mjs` and `pnpm --dir ui exec vitest run scripts/` (170 files passed). `--ran` with exit codes: 38 run, 0 NOT-MEASURED (derived zero), 0 UNRUN. </details> <!-- signed: domain:ui#2 · os-tesla · session_01L9qibw7DekEe3wx5f3zphf --> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 42eb126 commit bd1b768

15 files changed

Lines changed: 342 additions & 102 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
'@object-ui/i18n': patch
4+
---
5+
6+
feat(app-shell): Connect an AI Assistant opens with what a connected assistant can do, in plain words
7+
8+
Clause-②: no
9+
Metadata-protocol: none
10+
11+
The page now opens with two plain sentences: once connected, your AI assistant can look up, create, change and delete the records you are allowed to, and run this system's actions, always as you. Three example requests follow, each with a copy button, plus a line on which one to try first to see that the connection works. The page cannot yet tell whether you have connected, so that line is shown to everyone. The address card and the Claude Code step no longer speak of MCP or OAuth. Protocol words stay only where a client's own menu or form uses them. The steps that fall back to an API key now point to the "Advanced: scripts and CI" section where the key is created. Seven new strings and the reworded ones ship in every console language pack, with Traditional Chinese generated from Simplified.

‎ui/packages/app-shell/src/console/connect/ConnectAgentWidget.keyName-13355.test.tsx‎

Lines changed: 84 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222
* endpoint and SKILL.md on top, a picker that shows one client's steps and
2323
* remembers the choice on this browser, and the key form collapsed. The
2424
* reachability block holds that claude.ai (web) and Doubao Work's cloud tasks
25-
* are marked not available on an address that is not public HTTPS.
25+
* are marked not available on an address that is not public HTTPS. The
26+
* capabilities block holds the page's opening: what a connected assistant can
27+
* do and example requests above everything else, and no protocol word in any
28+
* pack except where a client's own form or menu names it.
2629
*
2730
* `fetch` is stubbed by path; `t` echoes the KEY (with the `name` or
2831
* `address` option appended when one is passed), as the sibling suites do,
@@ -47,6 +50,7 @@ vi.mock('@object-ui/i18n', async (importOriginal) => ({
4750

4851
import { ConnectAgent } from './ConnectAgentWidget';
4952
import { isPublicHttpsAddress } from './deploymentReach';
53+
import { builtInLocales } from '@object-ui/i18n/locales';
5054

5155
const MINTED_KEY = 'osk_test_0123456789';
5256

@@ -358,3 +362,82 @@ describe('Connect an Agent marks the cloud-connected ways in as not available on
358362
expect(notes()).toEqual([]);
359363
});
360364
});
365+
366+
describe('Connect an Agent says what a connected assistant can do, in plain words, before any setup', () => {
367+
/**
368+
* The `connectAgent.*` strings that may name a protocol: a client's own menu
369+
* or form spells it there (Codex's "MCP servers", WorkBuddy's "Configure
370+
* MCP", QwenWork's Streamable HTTP transport choice), or the operator's
371+
* setting is quoted by name (`OS_MCP_SERVER_ENABLED`).
372+
*/
373+
const CLIENT_FORM_KEYS = new Set(['codex.body', 'workbuddy.body', 'qwenwork.hint', 'disabled.body']);
374+
const PROTOCOL_WORDS = /\bMCP\b|OAuth|Streamable HTTP/;
375+
376+
function flatten(node: unknown, prefix = ''): Array<[string, string]> {
377+
if (typeof node === 'string') return [[prefix, node]];
378+
if (!node || typeof node !== 'object') return [];
379+
return Object.entries(node as Record<string, unknown>).flatMap(([k, v]) =>
380+
flatten(v, prefix ? `${prefix}.${k}` : k),
381+
);
382+
}
383+
384+
it('§1 opens with what the assistant can do, then example requests to copy, above the address', async () => {
385+
await renderPage();
386+
const capabilities = screen.getByText('«connectAgent.capabilities.title»');
387+
const endpoint = screen.getByText('«connectAgent.url.title»');
388+
expect(capabilities.compareDocumentPosition(endpoint) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy();
389+
expect(screen.getByText('«connectAgent.capabilities.body»')).toBeInTheDocument();
390+
const examples = ['example1', 'example2', 'example3'].map((n) =>
391+
screen.getByText(`«connectAgent.capabilities.${n}»`),
392+
);
393+
for (const example of examples) {
394+
// Each request sits beside its own copy button.
395+
expect(example.closest('li')?.querySelector('button')).not.toBeNull();
396+
expect(example.compareDocumentPosition(endpoint) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy();
397+
}
398+
// What to try first is said to everyone: the page cannot tell whether you have connected.
399+
expect(screen.getByText('«connectAgent.capabilities.tryFirst»')).toBeInTheDocument();
400+
});
401+
402+
it('§2 every pack says it in its own words: the capability strings are present and not English copies', () => {
403+
const en = flatten((builtInLocales.en as Record<string, unknown>).connectAgent);
404+
const caps = en.filter(([key]) => key.startsWith('capabilities.'));
405+
expect(caps.map(([key]) => key)).toEqual([
406+
'capabilities.title',
407+
'capabilities.body',
408+
'capabilities.examplesTitle',
409+
'capabilities.example1',
410+
'capabilities.example2',
411+
'capabilities.example3',
412+
'capabilities.tryFirst',
413+
]);
414+
for (const [lang, pack] of Object.entries(builtInLocales)) {
415+
const strings = new Map(flatten((pack as Record<string, unknown>).connectAgent));
416+
for (const [key, english] of caps) {
417+
const text = strings.get(key);
418+
expect(text, `${lang} ${key}`).toBeTruthy();
419+
if (lang !== 'en') expect(text, `${lang} ${key}`).not.toBe(english);
420+
}
421+
}
422+
});
423+
424+
it('§3 no protocol word appears in any pack except where a client form names it', () => {
425+
const offenders: string[] = [];
426+
for (const [lang, pack] of Object.entries(builtInLocales)) {
427+
for (const [key, text] of flatten((pack as Record<string, unknown>).connectAgent)) {
428+
if (!CLIENT_FORM_KEYS.has(key) && PROTOCOL_WORDS.test(text)) offenders.push(`${lang} ${key}`);
429+
}
430+
}
431+
expect(offenders).toEqual([]);
432+
});
433+
434+
it('§4 the hints that fall back to an API key point to the Advanced section, in every pack', () => {
435+
for (const [lang, pack] of Object.entries(builtInLocales)) {
436+
const strings = new Map(flatten((pack as Record<string, unknown>).connectAgent));
437+
const advanced = String(strings.get('advanced.title'));
438+
for (const key of ['codex.hint', 'workbuddy.hint', 'doubao.hint', 'qwenwork.hint']) {
439+
expect(strings.get(key), `${lang} ${key}`).toContain(advanced);
440+
}
441+
}
442+
});
443+
});

‎ui/packages/app-shell/src/console/connect/ConnectAgentWidget.tsx‎

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@
99
* the deployment's default-on MCP surface into a three-minute connect flow
1010
* for people who don't know what MCP is:
1111
*
12+
* 0. on top, in plain words, what a connected assistant can do (look up,
13+
* create, change and delete the records you may, run actions — always
14+
* as you), a few example requests to paste into the client, and which
15+
* one to try first to see the connection work. The page cannot tell
16+
* whether you have connected (#30894 owns that read), so the hint is
17+
* shown to everyone and never derived from a click. Protocol words
18+
* (MCP, OAuth, Streamable HTTP) appear only where a client's own form
19+
* or menu asks for them,
1220
* 1. the environment's MCP URL (from `/discovery` → `routes.mcp`) + copy,
1321
* 2. the portable SKILL.md download (`GET /api/v1/mcp/skill`), beside the
1422
* URL, for everyone,
@@ -75,6 +83,7 @@ import {
7583
ExternalLink,
7684
KeyRound,
7785
AlertCircle,
86+
Sparkles,
7887
} from 'lucide-react';
7988
import { TokenStorage } from '@object-ui/auth';
8089
import { useObjectTranslation } from '@object-ui/i18n';
@@ -186,6 +195,13 @@ function Unavailable({ title, reason, remedy }: { title: string; reason: string;
186195
);
187196
}
188197

198+
/** The example requests the capabilities card offers, in the order shown; the first is the one to try first. */
199+
const EXAMPLE_REQUEST_KEYS = [
200+
'connectAgent.capabilities.example1',
201+
'connectAgent.capabilities.example2',
202+
'connectAgent.capabilities.example3',
203+
] as const;
204+
189205
/** The `mcpServers` JSON shape most clients import, with the client's own transport spelling. */
190206
function mcpServersJson(type: string | null, url: string): string {
191207
const server = type ? { type, url } : { url };
@@ -307,7 +323,37 @@ export function ConnectAgent() {
307323

308324
return (
309325
<div className="space-y-4">
310-
{/* ── MCP URL + skill download ─────────────────────────────────── */}
326+
{/* ── What a connected assistant can do, and what to ask it first ── */}
327+
<Card>
328+
<CardHeader className="pb-2">
329+
<CardTitle className="flex items-center gap-2 text-base">
330+
<Sparkles className="h-4 w-4" />
331+
{t('connectAgent.capabilities.title')}
332+
</CardTitle>
333+
</CardHeader>
334+
<CardContent className="space-y-3 text-sm">
335+
<p className="text-muted-foreground">{t('connectAgent.capabilities.body')}</p>
336+
<div className="space-y-1.5">
337+
<h4 className="text-xs font-medium text-muted-foreground">
338+
{t('connectAgent.capabilities.examplesTitle')}
339+
</h4>
340+
<ul className="space-y-1.5">
341+
{EXAMPLE_REQUEST_KEYS.map((key) => {
342+
const request = t(key);
343+
return (
344+
<li key={key} className="flex items-center gap-2">
345+
<span className="min-w-0 flex-1 rounded-md bg-muted px-3 py-1.5">{request}</span>
346+
<CopyButton text={request} />
347+
</li>
348+
);
349+
})}
350+
</ul>
351+
</div>
352+
<p className="text-xs text-muted-foreground">{t('connectAgent.capabilities.tryFirst')}</p>
353+
</CardContent>
354+
</Card>
355+
356+
{/* ── Connection address + skill download ──────────────────────── */}
311357
<Card>
312358
<CardHeader className="pb-2">
313359
<CardTitle className="flex items-center gap-2 text-base">

‎ui/packages/i18n/src/__tests__/residue-namespaces-3546.test.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,8 @@ describe('objectui#3546 slice seven — the ratchet residue', () => {
698698
expect(at(builtInLocales.en, 'auth.login.devAdminHint.title')).toBe('Local development instance');
699699
expect(at(builtInLocales.ru, 'approvalsInbox.recallUnavailable')).toBe('Отзыв недоступен в этой среде.');
700700
expect(at(builtInLocales.ru, 'workspace.multiOrgDisabled')).toContain('в этой среде');
701-
expect(at(builtInLocales.ar, 'connectAgent.disabled.title')).toBe('MCP معطّل في هذا النشر');
701+
// The Connect an AI Assistant page rewrote this title in plain words; it keeps the word.
702+
expect(at(builtInLocales.ar, 'connectAgent.disabled.title')).toContain('في هذا النشر');
702703
expect(at(builtInLocales.ar, 'workspace.multiOrgDisabled')).toContain('في هذا النشر');
703704
// …and the "X ist disabled" sentence shape comes from the pack's own
704705
// `gantt.readOnlyHint`, not from a fresh construction.

‎ui/packages/i18n/src/locales/ar.ts‎

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4089,13 +4089,22 @@ const ar = {
40894089
requiredFields: "الحقول المطلوبة: {{fields}}",
40904090
},
40914091
connectAgent: {
4092+
capabilities: {
4093+
title: 'ما يمكن لمساعد الذكاء الاصطناعي فعله هنا',
4094+
body: 'بعد الاتصال، يستطيع مساعد الذكاء الاصطناعي البحث عن السجلات المسموح لك بها وإنشاءها وتعديلها وحذفها، وتشغيل إجراءات هذا النظام. وهو يعمل دائمًا بهويتك: لا يرى ولا يفعل إلا ما تسمح به صلاحياتك.',
4095+
examplesTitle: 'طلبات يمكنك تجربتها في مساعدك',
4096+
example1: 'اعرض الكائنات التي يمكنني رؤيتها.',
4097+
example2: 'احسب عدد السجلات في كل كائن منها.',
4098+
example3: 'ما الإجراءات التي يمكنني تشغيلها هنا، وماذا يفعل كل منها؟',
4099+
tryFirst: 'ابدأ بالطلب الأول: إذا أجاب مساعدك بالكائنات التي تعمل عليها، فالاتصال يعمل.',
4100+
},
40924101
disabled: {
4093-
title: 'MCP معطّل في هذا النشر',
4094-
body: 'واجهة MCP متوقفة (OS_MCP_SERVER_ENABLED=false). اطلب من المشغّل إعادة تفعيلها.',
4102+
title: 'الاتصال بمساعدي الذكاء الاصطناعي متوقف في هذا النشر',
4103+
body: 'الاتصال بمساعدي الذكاء الاصطناعي متوقف في هذا النشر (OS_MCP_SERVER_ENABLED=false)، لذا لا يوجد ما يمكن الاتصال به. اطلب من المشغّل إعادة تشغيله.',
40954104
},
40964105
url: {
4097-
title: 'نقطة نهاية MCP لهذا النظام',
4098-
body: 'أي عميل ذكاء اصطناعي يدعم MCP يتصل عبر هذا العنوان. الهوية ذاتية الخدمة: النشر هو خادم تفويض OAuth 2.1 الخاص به — تسجّل الدخول بهويتك، وكل استدعاء يخضع لصلاحياتك وأمان مستوى الصفوف.',
4106+
title: 'عنوان الاتصال بهذا النظام',
4107+
body: 'يتصل مساعد الذكاء الاصطناعي الخاص بك عبر هذا العنوان. تسجّل الدخول بهويتك في المتصفح، لذا يجري كل ما يفعله ضمن صلاحياتك أنت.',
40994108
downloadSkill: 'تنزيل SKILL.md',
41004109
skillHint: 'مهارة الوكيل المحمولة: تعلّم أي وكيل داعم للمهارات كيفية العمل مع هذا النظام.',
41014110
},
@@ -4104,7 +4113,7 @@ const ar = {
41044113
reachability: 'يتصل claude.ai (الويب) من خوادم Anthropic — يجب أن يكون النشر متاحًا عبر HTTPS عام. عملاء سطح المكتب والمحليون يصلون أيضًا إلى نشر الشبكات الداخلية.',
41054114
},
41064115
claudeCode: {
4107-
body: 'أمر واحد — يفتح تسجيل دخول OAuth تلقائيًا عند أول استخدام:',
4116+
body: 'أمر واحد — يفتح تسجيل الدخول في المتصفح تلقائيًا عند أول استخدام:',
41084117
plugin: 'أو ثبّت الإضافة الرسمية (تضيف مهارة ObjectStack وأمر /objectstack:connect الموجَّه):',
41094118
},
41104119
cursor: {
@@ -4118,21 +4127,21 @@ const ar = {
41184127
},
41194128
codex: {
41204129
body: 'في تطبيق Codex: الإعدادات ← خوادم MCP ← إضافة خادم، ثم املأ:',
4121-
hint: 'احفظ وأعد التشغيل عند المطالبة، ثم انقر على Authenticate بجوار objectstack وسجّل الدخول عبر المتصفح. اكتب /mcp في مربع الكتابة للتحقق من الاتصال. إذا لم يدعم إصدارك تسجيل الدخول عبر المتصفح، فأضف الترويسة Authorization: Bearer <مفتاح API> (أنشئ مفتاحًا أدناه).',
4130+
hint: 'احفظ وأعد التشغيل عند المطالبة، ثم انقر على Authenticate بجوار objectstack وسجّل الدخول عبر المتصفح. اكتب /mcp في مربع الكتابة للتحقق من الاتصال. إذا لم يدعم إصدارك تسجيل الدخول عبر المتصفح، فأضف الترويسة Authorization: Bearer <مفتاح API> (أنشئ مفتاحًا ضمن «متقدم: البرامج النصية وCI» أدناه).',
41224131
},
41234132
workbuddy: {
41244133
body: 'الموصلات ← موصل مخصص ← إعداد MCP، ثم ادمج هذا الإدخال في mcpServers (يُحفظ في ~/.workbuddy/mcp.json):',
4125-
hint: 'احفظ ثم انقر على «ثقة» في الموصل objectstack — لا يعمل قبل منحه الثقة. إذا لم يظهر تسجيل الدخول في إصدارك، أضف ترويسة الطلب Authorization: Bearer <مفتاح API> (أنشئ مفتاحًا أدناه).',
4134+
hint: 'احفظ ثم انقر على «ثقة» في الموصل objectstack — لا يعمل قبل منحه الثقة. إذا لم يظهر تسجيل الدخول في إصدارك، أضف ترويسة الطلب Authorization: Bearer <مفتاح API> (أنشئ مفتاحًا ضمن «متقدم: البرامج النصية وCI» أدناه).',
41264135
},
41274136
doubao: {
41284137
title: 'Doubao Work',
41294138
body: 'المهارات · الموصلات ← جديد ← موصل مخصص جديد، ثم املأ:',
4130-
hint: 'سجّل الدخول عبر المتصفح عند المطالبة. إذا لم يظهر تسجيل الدخول، أضف الترويسة المخصصة Authorization: Bearer <مفتاح API> (أنشئ مفتاحًا أدناه). المهام التي تعمل في السحابة تتطلب نشرًا يمكن الوصول إليه عبر HTTPS عام.',
4139+
hint: 'سجّل الدخول عبر المتصفح عند المطالبة. إذا لم يظهر تسجيل الدخول، أضف الترويسة المخصصة Authorization: Bearer <مفتاح API> (أنشئ مفتاحًا ضمن «متقدم: البرامج النصية وCI» أدناه). المهام التي تعمل في السحابة تتطلب نشرًا يمكن الوصول إليه عبر HTTPS عام.',
41314140
},
41324141
qwenwork: {
41334142
title: 'QwenWork',
41344143
body: 'الإضافات ← الموصلات ← + إضافة ← لصق إعداد JSON:',
4135-
hint: 'أو أضفه يدويًا كـ Streamable HTTP بهذا العنوان. إذا لم يدعم إصدارك تسجيل الدخول عبر المتصفح، أضف ترويسة الطلب Authorization: Bearer <مفتاح API> (أنشئ مفتاحًا أدناه).',
4144+
hint: 'أو أضفه يدويًا كـ Streamable HTTP بهذا العنوان. إذا لم يدعم إصدارك تسجيل الدخول عبر المتصفح، أضف ترويسة الطلب Authorization: Bearer <مفتاح API> (أنشئ مفتاحًا ضمن «متقدم: البرامج النصية وCI» أدناه).',
41364145
},
41374146
client: {
41384147
title: 'أي مساعد ذكاء اصطناعي تستخدم؟',

0 commit comments

Comments
 (0)