@tianshu-ai/tianshu 0.147.0 → 0.148.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.
Files changed (50) hide show
  1. package/package.json +1 -1
  2. package/packages/server/builtinConfig/plugins/board/manifest.json +1 -0
  3. package/packages/server/builtinConfig/plugins/cron/manifest.json +44 -10
  4. package/packages/server/builtinConfig/plugins/custom-ui/manifest.json +2 -1
  5. package/packages/server/builtinConfig/plugins/datasource/manifest.json +2 -1
  6. package/packages/server/builtinConfig/plugins/decision/manifest.json +9 -16
  7. package/packages/server/builtinConfig/plugins/doctor/manifest.json +17 -4
  8. package/packages/server/builtinConfig/plugins/files/manifest.json +1 -0
  9. package/packages/server/builtinConfig/plugins/messenger/manifest.json +1 -0
  10. package/packages/server/builtinConfig/plugins/microsandbox/manifest.json +1 -0
  11. package/packages/server/builtinConfig/plugins/openshell/manifest.json +1 -0
  12. package/packages/server/builtinConfig/plugins/projecthub/manifest.json +1 -0
  13. package/packages/server/builtinConfig/plugins/reverse-mcp/manifest.json +9 -4
  14. package/packages/server/builtinConfig/plugins/web-search/manifest.json +59 -12
  15. package/packages/server/builtinConfig/plugins/wechat/manifest.json +40 -9
  16. package/packages/server/builtinConfig/plugins/wiki/manifest.json +1 -0
  17. package/packages/server/builtinConfig/plugins/workboard/manifest.json +1 -0
  18. package/packages/server/builtinConfig/plugins/workforce-studio/manifest.json +2 -1
  19. package/packages/server/dist/chat/handler.d.ts.map +1 -1
  20. package/packages/server/dist/chat/handler.js +152 -38
  21. package/packages/server/dist/chat/handler.js.map +1 -1
  22. package/packages/server/dist/chat/ws-protocol.d.ts +2 -0
  23. package/packages/server/dist/chat/ws-protocol.d.ts.map +1 -1
  24. package/packages/server/dist/chat/ws-protocol.js +12 -0
  25. package/packages/server/dist/chat/ws-protocol.js.map +1 -1
  26. package/packages/web/dist/assets/{DataSourceConfigForm-BEAmx3cm.js → DataSourceConfigForm-CzWOgjkc.js} +1 -1
  27. package/packages/web/dist/assets/{bundle-web-C1geJOqw.js → bundle-web-ID0EcuYg.js} +1 -1
  28. package/packages/web/dist/assets/{index-ByJhTjmw.js → index-BI-s0VNo.js} +12 -12
  29. package/packages/web/dist/assets/{react-force-graph-2d-DGC4C5hd.js → react-force-graph-2d-oTrWiiIn.js} +1 -1
  30. package/packages/web/dist/index.html +1 -1
  31. package/plugins/board/manifest.json +1 -0
  32. package/plugins/cron/manifest.json +44 -10
  33. package/plugins/custom-ui/manifest.json +2 -1
  34. package/plugins/datasource/manifest.json +2 -1
  35. package/plugins/decision/dist/server.d.ts.map +1 -1
  36. package/plugins/decision/dist/server.js +8 -2
  37. package/plugins/decision/dist/server.js.map +2 -2
  38. package/plugins/decision/manifest.json +9 -16
  39. package/plugins/doctor/manifest.json +17 -4
  40. package/plugins/files/manifest.json +1 -0
  41. package/plugins/messenger/manifest.json +1 -0
  42. package/plugins/microsandbox/manifest.json +1 -0
  43. package/plugins/openshell/manifest.json +1 -0
  44. package/plugins/projecthub/manifest.json +1 -0
  45. package/plugins/reverse-mcp/manifest.json +9 -4
  46. package/plugins/web-search/manifest.json +59 -12
  47. package/plugins/wechat/manifest.json +40 -9
  48. package/plugins/wiki/manifest.json +1 -0
  49. package/plugins/workboard/manifest.json +1 -0
  50. package/plugins/workforce-studio/manifest.json +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tianshu-ai/tianshu",
3
- "version": "0.147.0",
3
+ "version": "0.148.0",
4
4
  "description": "An open AI agent platform with a sidecar browser. Built in public.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/tianshu-ai/tianshu",
@@ -3,6 +3,7 @@
3
3
  "version": "0.1.0",
4
4
  "displayName": "Boards",
5
5
  "description": "Render a user's HTML dashboards as interactive UI. Drop an index.html into board/<name>/ under your workspace and the agent can show it in chat via the `show_board` tool (as an MCP-UI resource) or you can browse boards in the side panel.",
6
+ "decisionInstruction": "交互式看板面板,渲染图表和数据可视化",
6
7
  "category": "automation",
7
8
  "author": "tianshu-ai",
8
9
  "license": "Apache-2.0",
@@ -3,13 +3,22 @@
3
3
  "version": "0.1.0",
4
4
  "displayName": "Scheduler",
5
5
  "description": "Scheduled and recurring jobs. Fire a message into a chat session or drop a task on the workboard at a future time (once) or on a cron schedule. Timezone-aware. The agent's `schedule` tool and a calendar panel both manage jobs.",
6
+ "decisionInstruction": "创建和管理定时任务、周期性自动化",
6
7
  "category": "automation",
7
8
  "author": "tianshu-ai",
8
9
  "license": "Apache-2.0",
9
- "permissions": ["tenant.db"],
10
- "requires": ["host.sessionInbox"],
11
- "client": { "entry": "@tianshu-builtin/plugin-cron/client" },
12
- "server": { "entry": "@tianshu-builtin/plugin-cron/server" },
10
+ "permissions": [
11
+ "tenant.db"
12
+ ],
13
+ "requires": [
14
+ "host.sessionInbox"
15
+ ],
16
+ "client": {
17
+ "entry": "@tianshu-builtin/plugin-cron/client"
18
+ },
19
+ "server": {
20
+ "entry": "@tianshu-builtin/plugin-cron/server"
21
+ },
13
22
  "contributes": {
14
23
  "topBarButtons": [
15
24
  {
@@ -28,16 +37,41 @@
28
37
  }
29
38
  ],
30
39
  "toolGroups": [
31
- { "id": "cron", "description": "Scheduled tasks — create/manage recurring and one-shot automations" }
40
+ {
41
+ "id": "cron",
42
+ "description": "Scheduled tasks — create/manage recurring and one-shot automations"
43
+ }
32
44
  ],
33
45
  "tools": [
34
- { "id": "schedule", "module": "ScheduleTool", "since": "0.1.0", "tier": "ondemand", "group": "cron" }
46
+ {
47
+ "id": "schedule",
48
+ "module": "ScheduleTool",
49
+ "since": "0.1.0",
50
+ "tier": "ondemand",
51
+ "group": "cron"
52
+ }
35
53
  ],
36
54
  "apiRoutes": [
37
- { "method": "GET", "path": "/schedules", "handler": "listSchedules" },
38
- { "method": "POST", "path": "/schedules", "handler": "createSchedule" },
39
- { "method": "PUT", "path": "/schedules/:id", "handler": "updateSchedule" },
40
- { "method": "DELETE", "path": "/schedules/:id", "handler": "deleteSchedule" }
55
+ {
56
+ "method": "GET",
57
+ "path": "/schedules",
58
+ "handler": "listSchedules"
59
+ },
60
+ {
61
+ "method": "POST",
62
+ "path": "/schedules",
63
+ "handler": "createSchedule"
64
+ },
65
+ {
66
+ "method": "PUT",
67
+ "path": "/schedules/:id",
68
+ "handler": "updateSchedule"
69
+ },
70
+ {
71
+ "method": "DELETE",
72
+ "path": "/schedules/:id",
73
+ "handler": "deleteSchedule"
74
+ }
41
75
  ]
42
76
  },
43
77
  "configSchema": {
@@ -3,6 +3,7 @@
3
3
  "version": "0.1.0",
4
4
  "displayName": "Custom UI Shell",
5
5
  "description": "Enables tenant-level UI customisation. When enabled, the agent can help users design and build a completely custom frontend that replaces the default chat UI, while talking to the same backend APIs.",
6
+ "decisionInstruction": "加载自定义界面组件",
6
7
  "category": "ui",
7
8
  "author": "tianshu-ai",
8
9
  "license": "Apache-2.0",
@@ -90,4 +91,4 @@
90
91
  "server": {
91
92
  "entry": "@tianshu-builtin/plugin-custom-ui/server"
92
93
  }
93
- }
94
+ }
@@ -3,6 +3,7 @@
3
3
  "version": "0.1.0",
4
4
  "displayName": "Data Sources",
5
5
  "description": "Connect agents to databases: Neo4j, MySQL, and more. Query, write, and inspect schema across multiple data sources.",
6
+ "decisionInstruction": "连接数据库执行SQL/Cypher查询,查看表结构",
6
7
  "category": "knowledge",
7
8
  "author": "tianshu-ai",
8
9
  "license": "Apache-2.0",
@@ -193,4 +194,4 @@
193
194
  "fields": [],
194
195
  "customUI": "datasource-connections"
195
196
  }
196
- }
197
+ }
@@ -3,6 +3,7 @@
3
3
  "version": "0.1.0",
4
4
  "displayName": "Decision Model",
5
5
  "description": "Route user messages to the right worker using a decision model (Clef, Jev, or any SystemOne-compatible endpoint). Supports local sidecar, Cloudflare Workers AI, and custom endpoints.",
6
+ "decisionInstruction": "调用决策模型做快速分类、路由、结构化判断",
6
7
  "configSchema": {
7
8
  "fields": [
8
9
  {
@@ -35,22 +36,14 @@
35
36
  {
36
37
  "key": "model",
37
38
  "label": "Model",
38
- "kind": "select",
39
- "description": "Which model to use",
40
- "options": [
41
- {
42
- "value": "clef-flash",
43
- "label": "Clef-flash (9B, fast)"
44
- },
45
- {
46
- "value": "clef",
47
- "label": "Clef (27B, accurate)"
48
- },
49
- {
50
- "value": "custom",
51
- "label": "Custom model ID"
52
- }
53
- ]
39
+ "kind": "string",
40
+ "description": "Model ID. Built-in: clef-flash, clef. SiliconFlow: Kev-4b. Or any SystemOne-compatible model ID."
41
+ },
42
+ {
43
+ "key": "apiKey",
44
+ "label": "API Key",
45
+ "kind": "string",
46
+ "description": "API key for custom endpoints (e.g. SiliconFlow). Sent as Bearer token. Leave empty for local sidecar."
54
47
  },
55
48
  {
56
49
  "key": "confidenceThreshold",
@@ -3,12 +3,17 @@
3
3
  "version": "0.1.0",
4
4
  "displayName": "System Doctor",
5
5
  "description": "System diagnostics panel for maintenance mode. Runs health checks on runtime, config, providers, network, and services.",
6
+ "decisionInstruction": "诊断系统配置和健康状态",
6
7
  "category": "runtime",
7
8
  "author": "tianshu-ai",
8
9
  "license": "Apache-2.0",
9
10
  "maintenanceOnly": true,
10
- "client": { "entry": "@tianshu-builtin/plugin-doctor/client" },
11
- "server": { "entry": "@tianshu-builtin/plugin-doctor/server" },
11
+ "client": {
12
+ "entry": "@tianshu-builtin/plugin-doctor/client"
13
+ },
14
+ "server": {
15
+ "entry": "@tianshu-builtin/plugin-doctor/server"
16
+ },
12
17
  "contributes": {
13
18
  "topBarButtons": [
14
19
  {
@@ -27,8 +32,16 @@
27
32
  }
28
33
  ],
29
34
  "apiRoutes": [
30
- { "method": "GET", "path": "/check", "handler": "getCheck" },
31
- { "method": "GET", "path": "/status", "handler": "getStatus" }
35
+ {
36
+ "method": "GET",
37
+ "path": "/check",
38
+ "handler": "getCheck"
39
+ },
40
+ {
41
+ "method": "GET",
42
+ "path": "/status",
43
+ "handler": "getStatus"
44
+ }
32
45
  ]
33
46
  }
34
47
  }
@@ -3,6 +3,7 @@
3
3
  "version": "0.1.0",
4
4
  "displayName": "Workspace Files",
5
5
  "description": "Browse, read, and upload files in the tenant workspace.",
6
+ "decisionInstruction": "读写工作区文件",
6
7
  "category": "knowledge",
7
8
  "author": "tianshu-ai",
8
9
  "license": "Apache-2.0",
@@ -3,6 +3,7 @@
3
3
  "version": "0.1.0",
4
4
  "displayName": "Messenger",
5
5
  "description": "Send messages to external contacts via WeChat or WebSocket connections. The agent gets a send_message tool to push messages to configured contacts.",
6
+ "decisionInstruction": "通过微信等渠道发消息给外部联系人",
6
7
  "category": "communication",
7
8
  "author": "tianshu-ai",
8
9
  "license": "MIT",
@@ -3,6 +3,7 @@
3
3
  "version": "0.1.0",
4
4
  "displayName": "MicroSandbox",
5
5
  "description": "Per-tenant shell sandbox running on microsandbox (Apple Virtualization.framework / KVM). Provides sandbox.shell + an opt-in browser.cdp sidecar (Stealth Chromium via CloakBrowser + Playwright MCP + noVNC; lit up by a follow-up PR).",
6
+ "decisionInstruction": "在隔离沙箱中执行代码和浏览器自动化",
6
7
  "category": "runtime",
7
8
  "exclusiveGroup": "shell",
8
9
  "platforms": [
@@ -3,6 +3,7 @@
3
3
  "displayName": "OpenShell (Docker)",
4
4
  "version": "0.1.0",
5
5
  "description": "Run shell commands in OpenShell-managed Docker sandboxes (NVIDIA OpenShell). Alternative to microsandbox: avoids macOS Hypervisor.framework (no idle-CPU burn on Apple Silicon Tahoe), includes network/inference policy support. MVP provides sandbox.shell only; browser sidecar and per-task pool are tracked for follow-ups.",
6
+ "decisionInstruction": "在连接的桌面或服务器上执行命令行",
6
7
  "category": "runtime",
7
8
  "exclusiveGroup": "shell",
8
9
  "platforms": [
@@ -3,6 +3,7 @@
3
3
  "version": "0.1.0",
4
4
  "displayName": "ProjectHub",
5
5
  "description": "Cross-system project management hub — integrate with Redmine, Jira, and other issue trackers to list, create, update, and assign tasks.",
6
+ "decisionInstruction": "管理Redmine/Jira项目,列出创建更新Issue",
6
7
  "category": "productivity",
7
8
  "author": "tianshu-ai",
8
9
  "license": "Apache-2.0",
@@ -2,7 +2,8 @@
2
2
  "id": "reverse-mcp",
3
3
  "version": "0.1.0",
4
4
  "displayName": "Local Bridge",
5
- "description": "Connect software on your own machine (browser, files, shell) into tianshu. A lightweight local client dials in over the chat WebSocket and registers itself as an MCP server, so the server-side agent can call your local tools. Scoped to your own sessions \u2014 not shared across users.",
5
+ "description": "Connect software on your own machine (browser, files, shell) into tianshu. A lightweight local client dials in over the chat WebSocket and registers itself as an MCP server, so the server-side agent can call your local tools. Scoped to your own sessions — not shared across users.",
6
+ "decisionInstruction": "访问连接桌面上的本地工具和文件",
6
7
  "category": "runtime",
7
8
  "exclusiveGroup": "shell",
8
9
  "author": "tianshu-ai",
@@ -99,12 +100,16 @@
99
100
  "toolDisplay": [
100
101
  {
101
102
  "tool": "bridge_*_exec",
102
- "input": { "format": "terminal" },
103
- "output": { "format": "terminal" }
103
+ "input": {
104
+ "format": "terminal"
105
+ },
106
+ "output": {
107
+ "format": "terminal"
108
+ }
104
109
  }
105
110
  ]
106
111
  },
107
112
  "provides": [
108
113
  "sandbox.shell"
109
114
  ]
110
- }
115
+ }
@@ -3,26 +3,59 @@
3
3
  "version": "0.3.0",
4
4
  "displayName": "Web Search",
5
5
  "description": "Key-free web search + single-page fetch for agents. Search runs against a hosted endpoint (Exa or Parallel) with no API key. web_fetch reads a page to markdown, also no config.",
6
+ "decisionInstruction": "搜索互联网获取实时信息,抓取网页内容",
6
7
  "category": "knowledge",
7
8
  "author": "tianshu-ai",
8
9
  "license": "Apache-2.0",
9
- "permissions": ["network.external"],
10
- "server": { "entry": "@tianshu-builtin/plugin-web-search/server" },
10
+ "permissions": [
11
+ "network.external"
12
+ ],
13
+ "server": {
14
+ "entry": "@tianshu-builtin/plugin-web-search/server"
15
+ },
11
16
  "contributes": {
12
17
  "tools": [
13
- { "id": "web_search", "module": "WebSearchTool", "since": "0.1.0" },
14
- { "id": "web_fetch", "module": "WebFetchTool", "since": "0.2.0" }
18
+ {
19
+ "id": "web_search",
20
+ "module": "WebSearchTool",
21
+ "since": "0.1.0"
22
+ },
23
+ {
24
+ "id": "web_fetch",
25
+ "module": "WebFetchTool",
26
+ "since": "0.2.0"
27
+ }
15
28
  ],
16
29
  "toolDisplay": [
17
30
  {
18
31
  "tool": "web_search",
19
- "input": { "format": "key-value", "pick": ["query"], "labels": { "query": "Query" } },
20
- "output": { "format": "markdown" }
32
+ "input": {
33
+ "format": "key-value",
34
+ "pick": [
35
+ "query"
36
+ ],
37
+ "labels": {
38
+ "query": "Query"
39
+ }
40
+ },
41
+ "output": {
42
+ "format": "markdown"
43
+ }
21
44
  },
22
45
  {
23
46
  "tool": "web_fetch",
24
- "input": { "format": "key-value", "pick": ["url"], "labels": { "url": "URL" } },
25
- "output": { "format": "markdown" }
47
+ "input": {
48
+ "format": "key-value",
49
+ "pick": [
50
+ "url"
51
+ ],
52
+ "labels": {
53
+ "url": "URL"
54
+ }
55
+ },
56
+ "output": {
57
+ "format": "markdown"
58
+ }
26
59
  }
27
60
  ],
28
61
  "skills": [
@@ -32,8 +65,16 @@
32
65
  }
33
66
  ],
34
67
  "apiRoutes": [
35
- { "method": "GET", "path": "/health", "handler": "getHealth" },
36
- { "method": "POST", "path": "/health/reset", "handler": "resetHealth" }
68
+ {
69
+ "method": "GET",
70
+ "path": "/health",
71
+ "handler": "getHealth"
72
+ },
73
+ {
74
+ "method": "POST",
75
+ "path": "/health/reset",
76
+ "handler": "resetHealth"
77
+ }
37
78
  ]
38
79
  },
39
80
  "configSchema": {
@@ -44,8 +85,14 @@
44
85
  "kind": "select",
45
86
  "default": "exa",
46
87
  "options": [
47
- { "label": "Exa", "value": "exa" },
48
- { "label": "Parallel", "value": "parallel" }
88
+ {
89
+ "label": "Exa",
90
+ "value": "exa"
91
+ },
92
+ {
93
+ "label": "Parallel",
94
+ "value": "parallel"
95
+ }
49
96
  ],
50
97
  "description": "Which hosted endpoint web_search queries. Both are key-free (anonymous free tier). Exa returns highlighted excerpts; Parallel returns ranked results. web_fetch is unaffected."
51
98
  },
@@ -3,12 +3,19 @@
3
3
  "version": "0.1.0",
4
4
  "displayName": "WeChat (微信)",
5
5
  "description": "WeChat channel backed by Tencent's iLink bot API. Scan a QR code with the WeChat app to authorise; inbound DMs from authorised users route to the agent through the channel system.",
6
+ "decisionInstruction": "接收和发送微信消息",
6
7
  "category": "channels",
7
8
  "author": "tianshu-ai",
8
9
  "license": "MIT",
9
- "permissions": ["network.external"],
10
- "server": { "entry": "@tianshu-builtin/plugin-wechat/server" },
11
- "client": { "entry": "@tianshu-builtin/plugin-wechat/client" },
10
+ "permissions": [
11
+ "network.external"
12
+ ],
13
+ "server": {
14
+ "entry": "@tianshu-builtin/plugin-wechat/server"
15
+ },
16
+ "client": {
17
+ "entry": "@tianshu-builtin/plugin-wechat/client"
18
+ },
12
19
  "contributes": {
13
20
  "channels": [
14
21
  {
@@ -44,12 +51,36 @@
44
51
  }
45
52
  ],
46
53
  "apiRoutes": [
47
- { "method": "POST", "path": "/login/start", "handler": "loginStart" },
48
- { "method": "POST", "path": "/login/poll", "handler": "loginPoll" },
49
- { "method": "GET", "path": "/bindings", "handler": "listBindings" },
50
- { "method": "DELETE", "path": "/bindings/:id", "handler": "deleteBinding" },
51
- { "method": "GET", "path": "/stats", "handler": "getStats" },
52
- { "method": "GET", "path": "/sessions", "handler": "listSessions" }
54
+ {
55
+ "method": "POST",
56
+ "path": "/login/start",
57
+ "handler": "loginStart"
58
+ },
59
+ {
60
+ "method": "POST",
61
+ "path": "/login/poll",
62
+ "handler": "loginPoll"
63
+ },
64
+ {
65
+ "method": "GET",
66
+ "path": "/bindings",
67
+ "handler": "listBindings"
68
+ },
69
+ {
70
+ "method": "DELETE",
71
+ "path": "/bindings/:id",
72
+ "handler": "deleteBinding"
73
+ },
74
+ {
75
+ "method": "GET",
76
+ "path": "/stats",
77
+ "handler": "getStats"
78
+ },
79
+ {
80
+ "method": "GET",
81
+ "path": "/sessions",
82
+ "handler": "listSessions"
83
+ }
53
84
  ]
54
85
  }
55
86
  }
@@ -3,6 +3,7 @@
3
3
  "version": "0.1.0",
4
4
  "displayName": "Wiki",
5
5
  "description": "LLM Wiki — distils the rolling conversation into an Obsidian-style knowledge vault. Each compacted segment is filed automatically as a source; the agent synthesises entities / concepts / topics on top. Browse + search in the side panel.",
6
+ "decisionInstruction": "搜索和编辑知识库页面,查阅历史记录",
6
7
  "category": "knowledge",
7
8
  "author": "tianshu-ai",
8
9
  "license": "Apache-2.0",
@@ -3,6 +3,7 @@
3
3
  "version": "0.1.0",
4
4
  "displayName": "Workboard",
5
5
  "description": "Kanban task board with a worker pool. The orchestrator drops tasks onto the board; workers pick them up, run them, and report back. v0.2 ships an echo worker so the full ready→in-progress→done loop is visible end-to-end; real worker runtimes (qianliyan / luban / xihe / nvwa) land in follow-up PRs as separate plugins.",
6
+ "decisionInstruction": "创建任务派发给worker,管理任务状态",
6
7
  "category": "agents",
7
8
  "author": "tianshu-ai",
8
9
  "license": "Apache-2.0",
@@ -2,7 +2,8 @@
2
2
  "id": "workforce-studio",
3
3
  "version": "0.1.0",
4
4
  "displayName": "Workforce Studio",
5
- "description": "Inspect + export the tenant's main agent and every worker agent \u2014 system prompts, available tools, skills \u2014 into a single downloadable bundle. Phase 1 is read-only: editing + import land in later phases.",
5
+ "description": "Inspect + export the tenant's main agent and every worker agent — system prompts, available tools, skills — into a single downloadable bundle. Phase 1 is read-only: editing + import land in later phases.",
6
+ "decisionInstruction": "配置和管理Worker团队",
6
7
  "category": "agents",
7
8
  "author": "tianshu-ai",
8
9
  "license": "MIT",
@@ -1 +1 @@
1
- {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../src/chat/handler.ts"],"names":[],"mappings":"AA2DA,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EAGrB,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC9B,MAAM,uBAAuB,CAAC;AAI/B,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,KAAK,mB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