@prettier-ai/dsh-client-ui-permission-presets 0.1.2-alpha.2 → 0.1.2-alpha.3
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.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/lib/client.js +2 -2
- package/package.json +15 -15
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/client/ui-permission-presets/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: a88c241b8d93228b19d40569f67b4311a550a7c7
|
|
6
|
+
README.zh.md: a20d237f2a67f6f0aa085c3e0784a1e0f25c0c1c
|
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ Mount this plugin alongside the settings and commands packages; the permission r
|
|
|
29
29
|
|
|
30
30
|
### The picker
|
|
31
31
|
|
|
32
|
-
A pick submits the `/permission <preset>` command line. The argued path (`/permission <preset>` typed directly) still switches directly; the decoration replaces only the bare invocation. The built-in labels are `Read Only`, `Workspace Write`, and `Full access` in English and `仅可查看`,
|
|
32
|
+
A pick submits the `/permission <preset>` command line. The argued path (`/permission <preset>` typed directly) still switches directly; the decoration replaces only the bare invocation. The built-in labels are `Read Only`, `Workspace Write`, and `Full access` in English and `仅可查看`, `工作区内修改`, and `完全权限` in Chinese; `custom` is display state, never a target.
|
|
33
33
|
|
|
34
34
|
### The Settings row
|
|
35
35
|
|
package/README.zh.md
CHANGED
|
@@ -29,7 +29,7 @@ kind: "package-reference"
|
|
|
29
29
|
|
|
30
30
|
### 选择器
|
|
31
31
|
|
|
32
|
-
选中即提交 `/permission <preset>` 命令行。带参路径(直接键入 `/permission <preset>`)仍直接切换;装饰只替换裸调用。内置标签在英文界面中是 `Read Only`、`Workspace Write` 和 `Full access
|
|
32
|
+
选中即提交 `/permission <preset>` 命令行。带参路径(直接键入 `/permission <preset>`)仍直接切换;装饰只替换裸调用。内置标签在英文界面中是 `Read Only`、`Workspace Write` 和 `Full access`,在中文界面中是「仅可查看」「工作区内修改」和「完全权限」;`custom` 只是显示状态,绝非目标。
|
|
33
33
|
|
|
34
34
|
### 设置行
|
|
35
35
|
|
package/lib/client.js
CHANGED
|
@@ -17,7 +17,7 @@ window.__ModuleLoader__.load({
|
|
|
17
17
|
"loading": "加载中",
|
|
18
18
|
"unavailable": "不可用",
|
|
19
19
|
"preset.readOnly": "仅可查看",
|
|
20
|
-
"preset.workspaceWrite": "
|
|
20
|
+
"preset.workspaceWrite": "工作区内修改",
|
|
21
21
|
"preset.fullAccess": "完全权限",
|
|
22
22
|
"confirm.title": "确认启用完全权限?",
|
|
23
23
|
"confirm.description": "启用完全权限后,新会话将减少确认步骤,并且可以直接执行更多操作,包括敏感操作、文件修改或外部命令。仅建议在你信任后续任务时使用。",
|
|
@@ -43,7 +43,7 @@ window.__ModuleLoader__.load({
|
|
|
43
43
|
/** Simplified Chinese dictionary for the current-session popup gate. */
|
|
44
44
|
const accessZh = {
|
|
45
45
|
"preset.readOnly": "仅可查看",
|
|
46
|
-
"preset.workspaceWrite": "
|
|
46
|
+
"preset.workspaceWrite": "工作区内修改",
|
|
47
47
|
"preset.fullAccess": "完全权限",
|
|
48
48
|
"confirm.title": "确认启用完全权限?",
|
|
49
49
|
"confirm.description": "启用完全权限后,智能体将减少确认步骤,并且可以直接执行更多操作,包括敏感操作、文件修改或外部命令。仅建议在你信任当前任务时使用。",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prettier-ai/dsh-client-ui-permission-presets",
|
|
3
3
|
"description": "Permission surfaces: a new-session default in General settings and a current-session /permission popup over the permissions projection",
|
|
4
|
-
"version": "0.1.2-alpha.
|
|
4
|
+
"version": "0.1.2-alpha.3",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -48,21 +48,21 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/react": "~18.3.1",
|
|
50
50
|
"react": "^18.2.0",
|
|
51
|
-
"@prettier-ai/dsh-api-
|
|
51
|
+
"@prettier-ai/dsh-api-remotes": "^0.1.2-alpha.3",
|
|
52
52
|
"@prettier-ai/cordis": "^4.0.2",
|
|
53
|
-
"@prettier-ai/dsh-
|
|
54
|
-
"@prettier-ai/dsh-
|
|
55
|
-
"@prettier-ai/dsh-client-store": "^0.1.2-alpha.
|
|
56
|
-
"@prettier-ai/dsh-client-test-runtime": "^0.1.2-alpha.
|
|
57
|
-
"@prettier-ai/dsh-client-ui-
|
|
58
|
-
"@prettier-ai/dsh-client-ui-
|
|
59
|
-
"@prettier-ai/dsh-client-ui-input-trigger": "^0.1.2-alpha.
|
|
60
|
-
"@prettier-ai/dsh-client-ui-slots": "^0.1.2-alpha.
|
|
61
|
-
"@prettier-ai/dsh-
|
|
62
|
-
"@prettier-ai/dsh-
|
|
63
|
-
"@prettier-ai/dsh-
|
|
64
|
-
"@prettier-ai/dsh-
|
|
65
|
-
"@prettier-ai/dsh-client-ui-
|
|
53
|
+
"@prettier-ai/dsh-api-session-controller": "^0.1.2-alpha.3",
|
|
54
|
+
"@prettier-ai/dsh-client-locale": "^0.1.2-alpha.3",
|
|
55
|
+
"@prettier-ai/dsh-client-store": "^0.1.2-alpha.3",
|
|
56
|
+
"@prettier-ai/dsh-client-test-runtime": "^0.1.2-alpha.3",
|
|
57
|
+
"@prettier-ai/dsh-client-ui-commands": "^0.1.2-alpha.3",
|
|
58
|
+
"@prettier-ai/dsh-client-ui-primitives": "^0.1.2-alpha.3",
|
|
59
|
+
"@prettier-ai/dsh-client-ui-input-trigger": "^0.1.2-alpha.3",
|
|
60
|
+
"@prettier-ai/dsh-client-ui-slots": "^0.1.2-alpha.3",
|
|
61
|
+
"@prettier-ai/dsh-client-ui-settings": "^0.1.2-alpha.3",
|
|
62
|
+
"@prettier-ai/dsh-invariants": "^0.1.2-alpha.3",
|
|
63
|
+
"@prettier-ai/dsh-permission-presets": "^0.1.2-alpha.3",
|
|
64
|
+
"@prettier-ai/dsh-client-ui-renderer": "^0.1.2-alpha.3",
|
|
65
|
+
"@prettier-ai/dsh-client-ui-session": "^0.1.2-alpha.3"
|
|
66
66
|
},
|
|
67
67
|
"files": [
|
|
68
68
|
"lib/index.js",
|