@celljs/ta-town 4.24.0 → 4.25.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 +8 -8
- package/README.md +8 -8
- package/package.json +8 -8
package/README.en.md
CHANGED
|
@@ -6,7 +6,7 @@ A Ta extension of its own (not built in; install it when you want it): a pixel t
|
|
|
6
6
|
|
|
7
7
|
- **The double's office** (at the top): a checkered floor, shelves, a board of notes, a coffee machine and a water cooler, three screens. The double sits at its desk while it answers you, its screens lit; it stands in its office while something waits for you; late at night it naps by the sofa.
|
|
8
8
|
- **Meeting rooms of the channels** (beside the office): one for each of your own channels of `@celljs/ta-channels`, a whiteboard, a long table, a water cooler. Members answering in a channel sit at its table, and bob a little as they type.
|
|
9
|
-
- **Lounges of the
|
|
9
|
+
- **Lounges of the group chats** (in the rows of the meeting rooms, blue roofs): one for each group chat you share with other Ta (the built-in Group chats, `pi.rooms`), a wooden floor, a rug, a low table with chairs round it, a sofa, a TV and a coffee machine; the 6 group chats joined last. The others online in a group chat sit at its table (one in several group chats sits only in the one it spoke in last), 🌐 and their name over them, what they just said in a bubble; your agents and the double go and sit there while they answer in the room. An amber dot by its sign tells of what you have not read, as the Group chats page does.
|
|
10
10
|
- **The park** (in the middle): a plaza with a fountain, benches, lamps and flowers, a pond with ducks at the bottom left, a café with parasols at the bottom right. Free members stroll here and greet each other as they meet; a cat wanders about, butterflies by day, a flock of birds now and then, fireflies at night.
|
|
11
11
|
- **The members' homes** (below the park): one each, the bed in the colour of its face, a desk, a TV, a floor lamp, windows in the back wall. A member working in its own conversation sits at its desk; one with something new for you stays home.
|
|
12
12
|
- **The task workshop** (at the bottom of the town): a workbench for each task of the double (every one that goes on or needs you, the latest ended up to 12), tools on the wall. The agents Ta made for a task sit at its bench; the free double goes round the running benches.
|
|
@@ -35,7 +35,7 @@ Tap a resident (the double or a member): under its card is the very message box
|
|
|
35
35
|
- The card keeps a short thread: what you said on the right, its answers on the left (in Markdown, as a conversation shows them), in full once written. Said by voice, an answer is read aloud in the voice of the settings; the wave button in the box stops reading, the speaker by an answer reads it again.
|
|
36
36
|
- It stops and faces you as you talk (👂), and shows 💭 as it answers; the double's message goes to its own conversation (the `send` of its view), a member's to its own session.
|
|
37
37
|
- Tap a meeting room and the same box speaks in that channel (`@` lists its members); its members answer there.
|
|
38
|
-
- Tap a lounge or someone in it and the card shows the last lines of the
|
|
38
|
+
- Tap a lounge or someone in it and the card shows the last lines of the group chat over the same box: say something in the group chat, `@` someone's double to ask it; Open group chat opens its chat on the Group chats page, and a group chat of the town's own has Play together, into the world in 3D with the others.
|
|
39
39
|
- Open conversation at the top right of the card opens the whole conversation; tapping a resident twice does too.
|
|
40
40
|
|
|
41
41
|
## Possess: walk the town in 3D
|
|
@@ -63,13 +63,13 @@ The gamepad button at the top right (or Possess on a resident's card) makes the
|
|
|
63
63
|
|
|
64
64
|
## Together: walk and build with friends
|
|
65
65
|
|
|
66
|
-
The Together button at the top of the 3D world (it needs the built-in
|
|
66
|
+
The Together button at the top of the 3D world (it needs the built-in Group chats extension, @celljs/ta-rooms):
|
|
67
67
|
|
|
68
|
-
- **New
|
|
69
|
-
- **Asking and letting in**: who asks to join shows at the top of the owner's panel (friends marked), let in or refused there; the members show who is online, the owner takes one out or closes the
|
|
70
|
-
- **Join with a link**: paste the link a friend sent to ask to join; a
|
|
71
|
-
- **Enter**: the town
|
|
72
|
-
- **Play alone**: back to your own town. Who comes and goes is said over the world. A
|
|
68
|
+
- **New group chat**: the panel opens over the world (from the bottom on a phone); give the group chat a name and make it: the layout of your town (the kinds of its places only, not the names of agents or tasks) becomes its map, and in it the panel shows its QR code and until when its link works, to copy, share or renew.
|
|
69
|
+
- **Asking and letting in**: who asks to join shows at the top of the owner's panel (friends marked), let in or refused there; the members show who is online, the owner takes one out or closes the group chat, a member leaves it.
|
|
70
|
+
- **Join with a link**: paste the link a friend sent to ask to join; a group chat waiting for its owner is under Your group chats, to cancel.
|
|
71
|
+
- **Enter**: the town group chats you are in. Inside, each one is its dinosaur on the owner's map, where they are said five times a second; the blocks built or broken are the group chat's shared state by chunks of 16×16, read again and set again on their version when two change one at once. Blocks of a group chat do not go into your own town.
|
|
72
|
+
- **Play alone**: back to your own town. Who comes and goes is said over the world. A group chat you were just let into opens as the town does.
|
|
73
73
|
|
|
74
74
|
## Using it
|
|
75
75
|
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **分身的办公室**(最上方):棋盘地砖、书架、便签板、咖啡机和饮水机、三块屏幕。分身回答你时坐在桌前、屏幕亮起;有事等你看时站在办公室里;深夜在沙发边打盹。
|
|
8
8
|
- **频道的会议室**(办公室两侧):`@celljs/ta-channels` 里你自己的频道,各一间,白板、长桌、饮水机。在频道里回答的成员坐到桌旁,敲键盘时会轻轻上下动。
|
|
9
|
-
-
|
|
9
|
+
- **群聊的会客厅**(和会议室排在一起,蓝色屋顶):你和别人的 Ta 共用的每个群聊(内置的「群聊」扩展,`pi.rooms`)一间,木地板、地毯、矮桌和一圈椅子、沙发、电视和咖啡机,最多显示最近加入的 6 个群聊。群聊里在线的其他人坐在桌旁(同一个人在几个群聊里时,只坐在最近说过话的那间),头顶是 🌐 和名字,刚说的话冒气泡;你的智能体或分身在群聊里回答时也会走过去坐下。有没读的话时招牌旁有黄点,和群聊列表一致。
|
|
10
10
|
- **公园**(中间):喷泉广场、长椅、路灯、花丛,左下是有小鸭子的池塘,右下是带遮阳伞的咖啡亭。闲着的成员在这里散步,两人碰面会打个招呼;一只小猫到处溜达,白天有蝴蝶,偶尔有鸟群飞过,夜里有萤火虫。
|
|
11
11
|
- **成员的家**(公园下方):每人一间,床的颜色是它头像的颜色,还有书桌、电视、落地灯,后墙有窗。在自己对话里干活的坐在桌前;有新消息等你看的待在家里。
|
|
12
12
|
- **任务工坊**(小镇最下方):分身的每个任务一张工作台(进行中和需要你看的全部列出,已结束的补到 12 张),墙上挂着工具。Ta 为任务临时建的成员坐在它的工作台旁;分身空闲时挨个巡视进行中的工作台。
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
- 卡片里是一小段对话:你说的在右、它的回答在左(Markdown 显示,和对话里一样),回答写完后取全文。用语音说的,回答会用设置里的声音读出来;输入框右侧的声波按钮停止朗读,每条回答旁的喇叭再听一遍。
|
|
36
36
|
- 说话时它会停下来面对你(👂),回答时是 💭;分身的消息发到它自己的对话(视图的 `send`),成员的消息发到它自己的会话。
|
|
37
37
|
- 点会议室,同一个输入框是在这个频道里发言(`@` 列出它的成员),成员会在频道里接着回答。
|
|
38
|
-
-
|
|
38
|
+
- 点会客厅或里面的人,卡片里是群聊的最近几句和同一个输入框:直接在群聊里说话,`@某人的分身` 就是问 TA 的分身;“打开群聊”打开它的聊天,小镇自己的联机群聊还有“一起玩”,直接一起进 3D 世界。
|
|
39
39
|
- 卡片右上的“打开对话”进入完整对话;连点两下居民也直接打开。
|
|
40
40
|
|
|
41
41
|
## 附身:走进 3D 小镇
|
|
@@ -63,13 +63,13 @@
|
|
|
63
63
|
|
|
64
64
|
## 联机:和朋友一起逛、一起搭
|
|
65
65
|
|
|
66
|
-
3D 世界顶栏的"联机"
|
|
66
|
+
3D 世界顶栏的"联机"按钮(需要内置的群聊扩展 @celljs/ta-rooms):
|
|
67
67
|
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
68
|
+
- **新建群聊**:面板以浮层打开(手机上从底部弹出),可以改群聊名再创建,把你小镇的布局(只有地点的种类,不含智能体、任务的名字)作为群聊的地图;进入后面板里直接显示邀请二维码、有效期,可以复制、分享或换新链接。
|
|
69
|
+
- **申请与同意**:别人申请加入时,群主在面板顶部看到申请(好友会标出来),直接点同意或拒绝;成员列表里能看到谁在线,群主可以移出成员、关闭群聊,成员可以退出群聊。
|
|
70
|
+
- **用链接加入**:把好友发来的邀请链接粘贴进去申请,等待群主同意的群聊显示在“我的群聊”里,可以取消。
|
|
71
|
+
- **进入**:列出你所在的小镇群聊,进入后大家都以自己的恐龙出现在群主的地图上,位置每秒同步 5 次;搭建和拆除的方块按 16×16 的区块存在群聊的共享状态里,两人同时改同一区块时按版本号重读再写。群聊里的方块不写进你自己的小镇存档。
|
|
72
|
+
- **自己玩**:回到自己的小镇。别人加入或离开时世界上方有提示。刚被同意加入的群聊,打开小镇时自动进入。
|
|
73
73
|
|
|
74
74
|
## 操作
|
|
75
75
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-town",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.25.0",
|
|
4
4
|
"description": "A pi package for Ta: a pixel town after Stanford's Smallville, where the double, the agents of ta-channels and the tasks live and go about what they are doing",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"watch": "tsc -b -w --preserveWatchOutput"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@celljs/ta-protocol": "4.
|
|
29
|
-
"@celljs/ta-relay": "4.
|
|
30
|
-
"@celljs/ta-web": "4.
|
|
28
|
+
"@celljs/ta-protocol": "4.25.0",
|
|
29
|
+
"@celljs/ta-relay": "4.25.0",
|
|
30
|
+
"@celljs/ta-web": "4.25.0",
|
|
31
31
|
"@types/react": "^19.3.0",
|
|
32
32
|
"phaser": "^4.2.1"
|
|
33
33
|
},
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"ja-JP": "タウン"
|
|
43
43
|
},
|
|
44
44
|
"summary": {
|
|
45
|
-
"en": "Your double, agents, tasks and
|
|
46
|
-
"zh-CN": "
|
|
47
|
-
"zh-TW": "
|
|
48
|
-
"ja-JP": "スタンフォードの Smallville
|
|
45
|
+
"en": "Your double, agents, tasks and group chats as residents of a pixel town, after Stanford's Smallville.",
|
|
46
|
+
"zh-CN": "参照斯坦福小镇,把分身、智能体、任务和群聊画成像素小镇里的居民。",
|
|
47
|
+
"zh-TW": "參照斯坦福小鎮,把分身、智慧體、任務和群聊畫成畫素小鎮裡的居民。",
|
|
48
|
+
"ja-JP": "スタンフォードの Smallville にならい、分身、エージェント、タスク、グループチャットをピクセルタウンの住人として描きます。"
|
|
49
49
|
},
|
|
50
50
|
"icon": "House",
|
|
51
51
|
"webActivation": "open",
|