@celljs/ta-manual 4.16.0 → 4.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/skills/ta-manual/SKILL.md +12 -10
- package/web/index.js +97 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-manual",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.17.0",
|
|
4
4
|
"description": "A pi package for Ta: the user manual, a page of short illustrated guides to what Ta does, and the ta-manual skill that answers how to use Ta from it",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"watch": "tsc -b -w --preserveWatchOutput"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@celljs/ta-protocol": "4.
|
|
30
|
-
"@celljs/ta-web": "4.
|
|
29
|
+
"@celljs/ta-protocol": "4.17.0",
|
|
30
|
+
"@celljs/ta-web": "4.17.0",
|
|
31
31
|
"@types/react": "^19.3.0"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
@@ -19,8 +19,8 @@ A folder and a request.
|
|
|
19
19
|
中文:**说要做什么** — 回车发送;Ta 工作时可以接着补充,按 Esc 或“停下”停止。长按回复选“引用”,只问其中一段。
|
|
20
20
|
3. **All in the +** — The + left of the box: pictures, @ files, / commands and skills, the model, and Keep: Ta remembers how it was done, makes it a card, or runs it on a schedule. A screenshot just taken shows once above it.
|
|
21
21
|
中文:**工具都在 + 里** — 输入框左侧的 +:图片、@ 文件、/ 命令与技能、模型,和“存下来”:记住做法、做成卡片或定时做。刚截的图会提示一次。
|
|
22
|
-
4. **Pinned, and what is new** — Swipe a conversation or an agent to the left (on a computer, right-click it or use its …) and Pin it to the top, as many as you like. One that finished while you were elsewhere has an amber dot until you open it. On a phone, tap the tab again to go to the next one with a dot, twice quickly for the top; drag the dot of the tab away to mark all as seen.
|
|
23
|
-
中文:**置顶与未读** —
|
|
22
|
+
4. **Pinned, and what is new** — Swipe a conversation or an agent to the left (on a computer, right-click it or use its …) and Pin it to the top, as many as you like. One that finished while you were elsewhere has an amber dot until you open it. On a phone, tap the tab again to go to the next one with a dot, twice quickly for the top; drag the dot of the tab away to mark all as seen, or its blue count to let all that wait for you go.
|
|
23
|
+
中文:**置顶与未读** — 左滑对话或智能体(电脑上右键)可置顶。没看过的有黄点;手机上再点标签跳到下一个,连点两下回顶部;拖走点或数字即清空。
|
|
24
24
|
|
|
25
25
|
## Models (模型)
|
|
26
26
|
|
|
@@ -30,6 +30,8 @@ An account or a key.
|
|
|
30
30
|
中文:**登录模型** — 头像菜单(手机上是“我”)里的“模型账号”:用账号或订阅登录,或填 API Key。
|
|
31
31
|
2. **Your own service** — Under API key, Add a custom model service: its address and key; get its models from the service, pick them, then choose one in the +.
|
|
32
32
|
中文:**自己的模型服务** — 在 API Key 下点“添加自定义模型服务”,填地址和 Key,从服务读取模型并点选,再到 + 里选用。
|
|
33
|
+
3. **Keep secrets** — A token or password you send goes into the vault first: Ta uses it in commands by name, never seeing it. Settings → Vault lists and removes them. (with the built-in package `@celljs/ta-secrets`, which the user may have turned off in Settings → Extensions)
|
|
34
|
+
中文:**保管密钥** — 你发出的 token、密码先收进保险箱:Ta 按名字在命令里用,看不到内容;设置 → 保险箱 可查看、删除。
|
|
33
35
|
|
|
34
36
|
## Your double (我的分身)
|
|
35
37
|
|
|
@@ -83,8 +85,8 @@ Files and a terminal. (with the built-in package `@celljs/ta-workspace`, which t
|
|
|
83
85
|
|
|
84
86
|
1. **Open it** — On a computer, Show the panel at the top right; on a phone, swipe left in a conversation.
|
|
85
87
|
中文:**打开工作台** — 电脑上点右上角的“显示面板”;手机上在对话里向左滑。
|
|
86
|
-
2. **Pick a tool** — Explorer, Search, Source control, Terminal and Browser, each
|
|
87
|
-
中文:**选一个工具** —
|
|
88
|
+
2. **Pick a tool** — Explorer, Search, Source control, Terminal and Browser, each a tab; in Ta Desktop the Browser picks an element for Ta.
|
|
89
|
+
中文:**选一个工具** — 资源管理器、搜索、源代码管理、终端和浏览器,各开成一个标签;桌面版浏览器能选取元素发给 Ta。
|
|
88
90
|
3. **See what changed** — Under a reply, “N files changed”: tap for the differences, or undo the changes of this reply. (with the built-in package `@celljs/ta-changes`, which the user may have turned off in Settings → Extensions)
|
|
89
91
|
中文:**改了什么一目了然** — 回复下方显示“N 个文件已更改”:点开看差异,也能“撤销本轮改动”。
|
|
90
92
|
|
|
@@ -116,10 +118,10 @@ Ta works on time. (with the built-in package `@celljs/ta-cron`, which the user m
|
|
|
116
118
|
|
|
117
119
|
1. **Say when and what** — Say “every morning at 9, sum up yesterday’s commits”, or use /loop and /remind.
|
|
118
120
|
中文:**说清时间和事情** — 说“每天早上 9 点汇总昨天的提交”,或者用 /loop、/remind。
|
|
119
|
-
2. **Manage them** —
|
|
120
|
-
中文:**在一页里管理** —
|
|
121
|
-
3. **Hear back** —
|
|
122
|
-
中文:**结束后通知你** —
|
|
121
|
+
2. **Manage them** — The Scheduled page sorts them by today, tomorrow and this week, failed ones in a tab of their own; run, pause, edit or Ask Ta to change.
|
|
122
|
+
中文:**在一页里管理** — “定时任务”页按今天、明天、本周排好,失败的单独一栏;可运行、暂停、编辑或“让 Ta 改”。
|
|
123
|
+
3. **Hear back** — A summary when a run ends, as Tell me says; all runs are in the Scheduled row of Chats.
|
|
124
|
+
中文:**结束后通知你** — 运行结束按“通知我”给你看总结;所有运行都在对话列表的“定时任务”里。
|
|
123
125
|
4. **Kept up to date** — Each week Ta looks back at what you asked: repeated work becomes a task, stale ones stop, and it notes how you work. (with the built-in package `@celljs/ta-initiative`, which the user may have turned off in Settings → Extensions)
|
|
124
126
|
中文:**自动整理** — Ta 每周回顾你交代的事:反复做的建成任务,过时的停用,并记下你的习惯,越用越懂你。
|
|
125
127
|
|
|
@@ -166,8 +168,8 @@ Hosts, agents, bots.
|
|
|
166
168
|
|
|
167
169
|
1. **Work on another machine** — When picking a folder, Add a host: the conversation works in a folder of that machine over ssh.
|
|
168
170
|
中文:**在别的机器上干活** — 选目录时点“添加主机”,对话就经 ssh 在那台机器的目录里工作。
|
|
169
|
-
2. **Other coding agents** — Claude Code, Codex and others are models: pick one under Model in the +. (with the built-in package `@celljs/ta-agents`, which the user may have turned off in Settings → Extensions)
|
|
170
|
-
中文:**其他编程 Agent** — Claude Code、Codex
|
|
171
|
+
2. **Other coding agents** — Claude Code, Codex and others are models: pick one under Model in the +. Not installed yet: install it in Settings → Coding agents. (with the built-in package `@celljs/ta-agents`, which the user may have turned off in Settings → Extensions)
|
|
172
|
+
中文:**其他编程 Agent** — Claude Code、Codex 等当作模型,在 + 菜单“模型”里选;没装的到 设置 → 编程 Agent 安装。
|
|
171
173
|
3. **Talk in WeChat** — Connect a WeChat or WeCom bot to your double or a conversation; pictures, voice and files go both ways. (with the built-in package `@celljs/ta-bots`, which the user may have turned off in Settings → Extensions)
|
|
172
174
|
中文:**在微信里说话** — 把微信或企业微信机器人连到分身或对话上,图片、语音、文件都能收发。
|
|
173
175
|
4. **Use the computer** — Ta uses the apps of this computer in the background, leaving you the mouse and keyboard. (with the built-in package `@celljs/ta-computer-use`, which the user may have turned off in Settings → Extensions)
|
package/web/index.js
CHANGED
|
@@ -2436,6 +2436,59 @@ function ModelsCustom() {
|
|
|
2436
2436
|
y: 70
|
|
2437
2437
|
}));
|
|
2438
2438
|
}
|
|
2439
|
+
function ModelsVault() {
|
|
2440
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("rect", {
|
|
2441
|
+
className: "ta-pic-pane",
|
|
2442
|
+
x: "14",
|
|
2443
|
+
y: "30",
|
|
2444
|
+
width: "74",
|
|
2445
|
+
height: "22",
|
|
2446
|
+
rx: "11"
|
|
2447
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
2448
|
+
className: "ta-pic-shackle",
|
|
2449
|
+
d: "M26 41h0M31 41h0M36 41h0M41 41h0M46 41h0M51 41h0"
|
|
2450
|
+
}), /* @__PURE__ */ React.createElement("rect", {
|
|
2451
|
+
className: "ta-pic-accent",
|
|
2452
|
+
x: "58",
|
|
2453
|
+
y: "36.5",
|
|
2454
|
+
width: "22",
|
|
2455
|
+
height: "9",
|
|
2456
|
+
rx: "3"
|
|
2457
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
2458
|
+
className: "ta-pic-path",
|
|
2459
|
+
d: "M92 41H110"
|
|
2460
|
+
}), /* @__PURE__ */ React.createElement("circle", {
|
|
2461
|
+
className: "ta-pic-mark ta-pic-go",
|
|
2462
|
+
cx: "101",
|
|
2463
|
+
cy: "41",
|
|
2464
|
+
r: "3"
|
|
2465
|
+
}), /* @__PURE__ */ React.createElement("rect", {
|
|
2466
|
+
className: "ta-pic-frame",
|
|
2467
|
+
x: "116",
|
|
2468
|
+
y: "34",
|
|
2469
|
+
width: "34",
|
|
2470
|
+
height: "30",
|
|
2471
|
+
rx: "5"
|
|
2472
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
2473
|
+
className: "ta-pic-shackle",
|
|
2474
|
+
d: "M125 34v-6a8 8 0 0 1 16 0v6"
|
|
2475
|
+
}), /* @__PURE__ */ React.createElement("circle", {
|
|
2476
|
+
className: "ta-pic-mark",
|
|
2477
|
+
cx: "133",
|
|
2478
|
+
cy: "47",
|
|
2479
|
+
r: "3"
|
|
2480
|
+
}), /* @__PURE__ */ React.createElement(Line, {
|
|
2481
|
+
x: 124,
|
|
2482
|
+
y: 56,
|
|
2483
|
+
w: 18,
|
|
2484
|
+
soft: true
|
|
2485
|
+
}), /* @__PURE__ */ React.createElement(Line, {
|
|
2486
|
+
x: 22,
|
|
2487
|
+
y: 62,
|
|
2488
|
+
w: 40,
|
|
2489
|
+
soft: true
|
|
2490
|
+
}));
|
|
2491
|
+
}
|
|
2439
2492
|
var PICTURES_C = {
|
|
2440
2493
|
"members-invite": MembersInvite,
|
|
2441
2494
|
"members-work": MembersWork,
|
|
@@ -2449,7 +2502,8 @@ var PICTURES_C = {
|
|
|
2449
2502
|
"sync-devices": SyncDevices,
|
|
2450
2503
|
"sync-move": SyncMove,
|
|
2451
2504
|
"models-sign-in": ModelsSignIn,
|
|
2452
|
-
"models-custom": ModelsCustom
|
|
2505
|
+
"models-custom": ModelsCustom,
|
|
2506
|
+
"models-vault": ModelsVault
|
|
2453
2507
|
};
|
|
2454
2508
|
|
|
2455
2509
|
// web-src/pictures.tsx
|
|
@@ -2459,7 +2513,7 @@ function StepPicture({ pi, name }) {
|
|
|
2459
2513
|
return /* @__PURE__ */ React.createElement(pi.ui.Picture, null, Shapes ? /* @__PURE__ */ React.createElement(Shapes, null) : null);
|
|
2460
2514
|
}
|
|
2461
2515
|
|
|
2462
|
-
// web-src/topics.ts
|
|
2516
|
+
// web-src/topics-model.ts
|
|
2463
2517
|
var CHANNELS = "@celljs/ta-channels";
|
|
2464
2518
|
var WORKSPACE = "@celljs/ta-workspace";
|
|
2465
2519
|
var CHANGES = "@celljs/ta-changes";
|
|
@@ -2476,7 +2530,10 @@ var ROOMS = "@celljs/ta-rooms";
|
|
|
2476
2530
|
var SYNC = "@celljs/ta-sync";
|
|
2477
2531
|
var TEAM = "@celljs/ta-team";
|
|
2478
2532
|
var NEARBY = "@celljs/ta-nearby";
|
|
2479
|
-
var
|
|
2533
|
+
var SECRETS = "@celljs/ta-secrets";
|
|
2534
|
+
|
|
2535
|
+
// web-src/topics-a.ts
|
|
2536
|
+
var TOPICS_A = [
|
|
2480
2537
|
{
|
|
2481
2538
|
key: "chat",
|
|
2482
2539
|
title: { en: "Start a conversation", zh: "开始对话", tw: "開始對話", ja: "会話を開始" },
|
|
@@ -2516,9 +2573,9 @@ var TOPICS = [
|
|
|
2516
2573
|
picture: "chat-pin",
|
|
2517
2574
|
title: { en: "Pinned, and what is new", zh: "置顶与未读", tw: "置頂與未讀", ja: "ピン留めと未読" },
|
|
2518
2575
|
text: {
|
|
2519
|
-
en: "Swipe a conversation or an agent to the left (on a computer, right-click it or use its …) and Pin it to the top, as many as you like. One that finished while you were elsewhere has an amber dot until you open it. On a phone, tap the tab again to go to the next one with a dot, twice quickly for the top; drag the dot of the tab away to mark all as seen.",
|
|
2520
|
-
zh: "
|
|
2521
|
-
tw: "
|
|
2576
|
+
en: "Swipe a conversation or an agent to the left (on a computer, right-click it or use its …) and Pin it to the top, as many as you like. One that finished while you were elsewhere has an amber dot until you open it. On a phone, tap the tab again to go to the next one with a dot, twice quickly for the top; drag the dot of the tab away to mark all as seen, or its blue count to let all that wait for you go.",
|
|
2577
|
+
zh: "左滑对话或智能体(电脑上右键)可置顶。没看过的有黄点;手机上再点标签跳到下一个,连点两下回顶部;拖走点或数字即清空。",
|
|
2578
|
+
tw: "左滑對話或智慧體(電腦上右鍵)可置頂。沒看過的有黃點;手機上再點標籤跳到下一個,連點兩下回頂部;拖走點或數字即清空。",
|
|
2522
2579
|
ja: "左スワイプでピン留め。未読は黄点。タブを再度タップで次へ、2回連続でトップへ、黄点をドラッグで全て既読"
|
|
2523
2580
|
}
|
|
2524
2581
|
}
|
|
@@ -2548,6 +2605,17 @@ var TOPICS = [
|
|
|
2548
2605
|
tw: "在 API Key 下點「新增自訂模型服務」,填位址和 Key,從服務讀取模型並點選,再到 + 裡選用。",
|
|
2549
2606
|
ja: "API キーの “カスタムモデルサービスを追加”:アドレスとキー、一覧から選び+で使用"
|
|
2550
2607
|
}
|
|
2608
|
+
},
|
|
2609
|
+
{
|
|
2610
|
+
picture: "models-vault",
|
|
2611
|
+
package: SECRETS,
|
|
2612
|
+
title: { en: "Keep secrets", zh: "保管密钥", tw: "保管金鑰", ja: "秘密を保管" },
|
|
2613
|
+
text: {
|
|
2614
|
+
en: "A token or password you send goes into the vault first: Ta uses it in commands by name, never seeing it. Settings → Vault lists and removes them.",
|
|
2615
|
+
zh: "你发出的 token、密码先收进保险箱:Ta 按名字在命令里用,看不到内容;设置 → 保险箱 可查看、删除。",
|
|
2616
|
+
tw: "你發出的 token、密碼先收進保險箱:Ta 按名字在命令裡用,看不到內容;設定 → 保險箱 可檢視、刪除。",
|
|
2617
|
+
ja: "送ったトークンやパスワードはまず金庫へ;Ta は名前でコマンドに使い中身は見ない。設定 → 金庫 で確認・削除"
|
|
2618
|
+
}
|
|
2551
2619
|
}
|
|
2552
2620
|
]
|
|
2553
2621
|
},
|
|
@@ -2735,10 +2803,10 @@ var TOPICS = [
|
|
|
2735
2803
|
picture: "wb-tools",
|
|
2736
2804
|
title: { en: "Pick a tool", zh: "选一个工具", tw: "選一個工具", ja: "ツール選択" },
|
|
2737
2805
|
text: {
|
|
2738
|
-
en: "Explorer, Search, Source control, Terminal and Browser, each
|
|
2739
|
-
zh: "
|
|
2740
|
-
tw: "
|
|
2741
|
-
ja: "
|
|
2806
|
+
en: "Explorer, Search, Source control, Terminal and Browser, each a tab; in Ta Desktop the Browser picks an element for Ta.",
|
|
2807
|
+
zh: "资源管理器、搜索、源代码管理、终端和浏览器,各开成一个标签;桌面版浏览器能选取元素发给 Ta。",
|
|
2808
|
+
tw: "資源管理器、搜尋、原始碼管理、終端機和瀏覽器,各開成一個標籤;桌面版瀏覽器能選取元素傳給 Ta。",
|
|
2809
|
+
ja: "エクスプローラー、検索、ソース管理、ターミナル、ブラウザ;デスクトップ版は要素を選んで Ta へ"
|
|
2742
2810
|
}
|
|
2743
2811
|
},
|
|
2744
2812
|
{
|
|
@@ -2753,7 +2821,12 @@ var TOPICS = [
|
|
|
2753
2821
|
}
|
|
2754
2822
|
}
|
|
2755
2823
|
]
|
|
2756
|
-
}
|
|
2824
|
+
}
|
|
2825
|
+
];
|
|
2826
|
+
|
|
2827
|
+
// web-src/topics.ts
|
|
2828
|
+
var TOPICS = [
|
|
2829
|
+
...TOPICS_A,
|
|
2757
2830
|
{
|
|
2758
2831
|
key: "extensions",
|
|
2759
2832
|
package: EXTENSIONS,
|
|
@@ -2851,20 +2924,20 @@ var TOPICS = [
|
|
|
2851
2924
|
picture: "cron-page",
|
|
2852
2925
|
title: { en: "Manage them", zh: "在一页里管理", tw: "在一頁裡管理", ja: "管理" },
|
|
2853
2926
|
text: {
|
|
2854
|
-
en: "
|
|
2855
|
-
zh: "
|
|
2856
|
-
tw: "
|
|
2857
|
-
ja: "
|
|
2927
|
+
en: "The Scheduled page sorts them by today, tomorrow and this week, failed ones in a tab of their own; run, pause, edit or Ask Ta to change.",
|
|
2928
|
+
zh: "“定时任务”页按今天、明天、本周排好,失败的单独一栏;可运行、暂停、编辑或“让 Ta 改”。",
|
|
2929
|
+
tw: "「定時任務」頁按今天、明天、本週排好,失敗的單獨一欄;可執行、暫停、編輯或「讓 Ta 改」。",
|
|
2930
|
+
ja: "今日・明日・今週ごとに並び、失敗は別タブ;実行/停止/編集"
|
|
2858
2931
|
}
|
|
2859
2932
|
},
|
|
2860
2933
|
{
|
|
2861
2934
|
picture: "cron-notify",
|
|
2862
2935
|
title: { en: "Hear back", zh: "结束后通知你", tw: "結束後通知你", ja: "完了後に通知" },
|
|
2863
2936
|
text: {
|
|
2864
|
-
en: "
|
|
2865
|
-
zh: "
|
|
2866
|
-
tw: "
|
|
2867
|
-
ja: "
|
|
2937
|
+
en: "A summary when a run ends, as Tell me says; all runs are in the Scheduled row of Chats.",
|
|
2938
|
+
zh: "运行结束按“通知我”给你看总结;所有运行都在对话列表的“定时任务”里。",
|
|
2939
|
+
tw: "執行結束按「通知我」給你看總結;所有執行都在對話列表的「定時任務」裡。",
|
|
2940
|
+
ja: "終了時に結果通知;全実行はチャット一覧の「スケジュール」に"
|
|
2868
2941
|
}
|
|
2869
2942
|
},
|
|
2870
2943
|
{
|
|
@@ -3037,10 +3110,10 @@ var TOPICS = [
|
|
|
3037
3110
|
package: AGENTS,
|
|
3038
3111
|
title: { en: "Other coding agents", zh: "其他编程 Agent", tw: "其他程式設計 Agent", ja: "他の coding agent" },
|
|
3039
3112
|
text: {
|
|
3040
|
-
en: "Claude Code, Codex and others are models: pick one under Model in the +.",
|
|
3041
|
-
zh: "Claude Code、Codex
|
|
3042
|
-
tw: "Claude Code、Codex 等都當作模型,在 +
|
|
3043
|
-
ja: "Claude Code / Codex 等はモデル;+メニューの “モデル”
|
|
3113
|
+
en: "Claude Code, Codex and others are models: pick one under Model in the +. Not installed yet: install it in Settings → Coding agents.",
|
|
3114
|
+
zh: "Claude Code、Codex 等当作模型,在 + 菜单“模型”里选;没装的到 设置 → 编程 Agent 安装。",
|
|
3115
|
+
tw: "Claude Code、Codex 等都當作模型,在 + 選單的「模型」裡選用。還沒裝的,在 設定 → 程式設計 Agent 裡一鍵安裝。",
|
|
3116
|
+
ja: "Claude Code / Codex 等はモデル;+メニューの “モデル” で選択。未インストールなら 設定 → コーディングエージェント で"
|
|
3044
3117
|
}
|
|
3045
3118
|
},
|
|
3046
3119
|
{
|
|
@@ -3190,7 +3263,7 @@ function TopicView({
|
|
|
3190
3263
|
// web-src/style.ts
|
|
3191
3264
|
var STYLE = `
|
|
3192
3265
|
.tmn-scroll { flex: 1; min-height: 0; height: 100%; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-gutter: stable; }
|
|
3193
|
-
.tmn { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width:
|
|
3266
|
+
.tmn { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: var(--ta-page-wide); margin: 0 auto; padding: 28px 24px 48px; box-sizing: border-box; }
|
|
3194
3267
|
.tmn-head { display: flex; flex-direction: column; gap: 4px; margin: 0 2px; }
|
|
3195
3268
|
.tmn-title { margin: 0; color: var(--ta-text); font-size: calc(20px * var(--ta-font-scale)); line-height: calc(28px * var(--ta-font-scale)); font-weight: 600; }
|
|
3196
3269
|
.tmn-intro { margin: 0; color: var(--ta-muted); font-size: calc(13.5px * var(--ta-font-scale)); line-height: calc(20px * var(--ta-font-scale)); }
|