@celljs/ta-boundaries 0.0.0-stage → 4.31.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/README.en.md +22 -0
- package/README.md +16 -2
- package/host/index.mjs +741 -0
- package/package.json +62 -4
- package/web/index.js +733 -0
package/README.en.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# @celljs/ta-boundaries
|
|
2
|
+
|
|
3
|
+
English | [简体中文](./README.md)
|
|
4
|
+
|
|
5
|
+
Directory marks for Ta: mark a directory as **work** or **private**, and the conversations in it (and in the directories
|
|
6
|
+
inside it) show a small label after their name. Design: `docs/design/ta-boundaries.md`.
|
|
7
|
+
|
|
8
|
+
- From the menu of a conversation, Mark the directory…: general, work or private, with a name to show (Client A); a tap
|
|
9
|
+
on the label on top of a conversation opens it too.
|
|
10
|
+
- Or tell Ta, "this project is Client A's, for work": it marks it with the action `boundaries.mark` and says so in a
|
|
11
|
+
notice you can undo.
|
|
12
|
+
- Settings → Privacy & security → Directory marks lists them, to remove one or clear them all. Marks follow you to your
|
|
13
|
+
other computers.
|
|
14
|
+
- A cloud Ta of a company takes unmarked directories for work; a general mark on a directory undoes it there.
|
|
15
|
+
- It is the one package of Ta that answers which boundary a directory is in (`TaExtensionHost.boundaries`). Turned
|
|
16
|
+
off, every directory is general, and Ta is as it was without it.
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
ta call @celljs/ta-boundaries of /path/to/dir
|
|
20
|
+
ta call @celljs/ta-boundaries mark /path/to/dir work 'Client A'
|
|
21
|
+
ta call @celljs/ta-boundaries unmark /path/to/dir
|
|
22
|
+
```
|
package/README.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @celljs/ta-boundaries
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[English](./README.en.md) | 简体中文
|
|
4
|
+
|
|
5
|
+
Ta 的"目录标记":把目录标成**公司**的或**私密**的,这个目录(和它下面的子目录)里的对话,名字后面会显示一个小标签。设计见 `docs/design/ta-boundaries.md`。
|
|
6
|
+
|
|
7
|
+
- 在对话的菜单里选"目录标记…":通用 / 公司 / 私密,可以起显示名(客户 A);点对话顶上的标签也能打开。
|
|
8
|
+
- 也可以直接跟 Ta 说"这个项目是客户 A 的,算公司的":Ta 用动作 `boundaries.mark` 标好,回一条通知,可以撤销。
|
|
9
|
+
- 设置 → 隐私与安全 → 目录标记:列出所有标记,可以移除或清除全部。标记跟着你的几台电脑同步。
|
|
10
|
+
- 公司网关领到的云端 Ta:没标记的目录都算公司的;在某个目录上标"通用",这个目录就不算。
|
|
11
|
+
- 它是 Ta 里唯一回答"某个目录在哪个边界"的包(`TaExtensionHost.boundaries`)。关掉它,所有目录都算通用,Ta 和没有它时一样。
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
ta call @celljs/ta-boundaries of /path/to/dir
|
|
15
|
+
ta call @celljs/ta-boundaries mark /path/to/dir work '客户 A'
|
|
16
|
+
ta call @celljs/ta-boundaries unmark /path/to/dir
|
|
17
|
+
```
|