@celljs/ta-earth 0.0.0-stage → 4.30.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 ADDED
@@ -0,0 +1,3 @@
1
+ # Cell - Ta Earth (Block Earth)
2
+
3
+ A Ta extension of its own (not built in): an open world of blocks whose ground is the real earth. Search a place or use where you are: its plot (about half a kilometre across) is your island, its streets, buildings (as tall as they are, windows lit at night), water, parks and woods made blocks on your own device from OpenStreetMap (OpenFreeMap). Walk on as far as you like, the world made as you go; break and place blocks, what you change on your island kept on your own Ta, off it not kept. Your double and agents stand by the building nearest you, what each is doing over its head; press E (Talk on a phone) to open its conversation. Day and night follow the clock. Six islands are kept by default (3, 6, 12 or 24 in the settings), the oldest moving to Removed lately for 30 days. Play with others: "Play here with others" on an island makes it a world (friends, a company, a study group; as many as you like). Its people panel has the link and QR code to invite, who asks to come in and how many blocks each built; the owner lets one only look round, takes back all one built, takes one out, and sets the rules (members build, browser visitors build, browser visitors come in unasked). What each builds and where each is show for all at once. The link opened in a browser plays there, without Ta. A world is for those invited, for friends too, public to ask, or public to look round: public ones stand on a world map drawn as pixels, where they roughly are (within ten kilometres), and an island says how many are near. A study group studies together at a time each day. The owner keeps one out; anyone reports a world (a picture of the screen with it), and the operator of the relay takes it off the map or stops its owner making worlds public (`docs/design/ta-earth.md`). The blocks are `ta-voxel`, the map `ta-geo`.
package/README.md CHANGED
@@ -1,3 +1,18 @@
1
- # Temporary Holding Version
1
+ # Cell - Ta Earth(方块地球)
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Ta 的独立扩展(不内置,想玩时装上):地面就是真实地球的方块开放世界。
4
+
5
+ - **打开一个地方**:搜地名或地址,或用"我的位置";那一块地(约半公里见方)就是你的岛。街道、建筑(按真实高度,一层两格,侧面有窗,夜里亮灯)、河湖、公园和树林变成方块。地图数据来自 OpenStreetMap(经 OpenFreeMap),每台设备自己算出方块,不经过任何服务器。
6
+ - **无限地走下去**:走到哪里生成到哪里,远处的放掉;可以一直走出自己的岛。
7
+ - **挖和盖**:左键挖、右键放(手机上是固定位置的"挖""放"按钮),底部一排 16 种方块。岛上的改动只记和地图的差异,存在你自己的 Ta 上;岛外的改动离开后不保存,左上角会写"岛外 · 改动不保存"。
8
+ - **你的 Ta 在岛上**:分身和智能体站在离你最近的楼旁,头顶写着在干什么(💻 在干活、⏳ 等你决定、☕ 空闲);对着他按 E(手机上点"对话")打开他的对话。只有你自己能看到。
9
+ - **白天黑夜**:按当地时间变化;夜里窗户和灯亮起。
10
+ - **操作**:电脑 WASD 走、空格跳(连按两下飞)、Shift 跑(飞行时下降)、1–9 或滚轮选方块;手机左半屏摇杆、右半屏看。右上角小地图标出你的岛。
11
+ - **保存与回收**:默认保留 6 座岛(设置里可改 3/6/12/24),超出时最久没打开的移到"最近移除",30 天内可恢复;设置里能看到占用并一键清除。
12
+ - **和别人一起玩**:在岛上点"邀请别人来这里玩"就建成一个世界(朋友、公司、学习小组),可以建很多个。成员面板里有邀请链接和二维码、谁在申请、每人盖了多少块;主人能让某人只能参观、一键撤销他盖的、移出,并设规则(成员能不能盖、网页访客能不能盖、网页访客要不要同意)。大家各自的改动实时同步,彼此看得到对方在哪。
13
+ - **浏览器直接进**:邀请链接在浏览器里打开就能玩,不用装 Ta;有 Ta 的人粘贴链接加入。
14
+
15
+ - **公开与世界地图**:世界可以只给邀请的人、给好友看到、公开申请、公开直接参观。公开的世界按大致位置(约 10 公里)出现在像素风的世界地图上,点小旗就能进去;在岛上时会提示附近有几个公开世界。学习小组每天有自习时段。
16
+ - **安全**:主人能拉黑(移出且不再放进来);任何人能举报一个世界(可附截图),中继运营方可以下架世界、封禁主人的公开权限。
17
+
18
+ 设计见 `docs/design/ta-earth.md`。方块引擎在 `ta-voxel`,真实地图在 `ta-geo`,都可以被别的扩展用。
package/package.json CHANGED
@@ -1,6 +1,63 @@
1
1
  {
2
2
  "name": "@celljs/ta-earth",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "4.30.0",
4
+ "description": "A pi package for Ta: Block Earth, an open world of blocks whose ground is the real earth; a place searched or where you are becomes blocks to walk, mine and build, your island kept, your Ta at work there",
5
+ "keywords": [
6
+ "pi-package"
7
+ ],
8
+ "homepage": "https://github.com/cellbang/ta",
9
+ "bugs": {
10
+ "url": "https://github.com/cellbang/ta/issues"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/cellbang/cell.git"
15
+ },
16
+ "license": "MIT",
17
+ "files": [
18
+ "web",
19
+ "play",
20
+ "!**/*.map"
21
+ ],
22
+ "scripts": {
23
+ "build": "tsc -b && bun build web-src/index.tsx --format esm --target browser --outfile web/index.js && bun scripts/build-play.ts",
24
+ "clean": "rm -rf lib web play *.tsbuildinfo",
25
+ "test": "bun test ./lib",
26
+ "watch": "tsc -b -w --preserveWatchOutput"
27
+ },
28
+ "devDependencies": {
29
+ "@celljs/ta-geo": "4.30.0",
30
+ "@celljs/ta-protocol": "4.30.0",
31
+ "@celljs/ta-relay": "4.30.0",
32
+ "@celljs/ta-voxel": "4.30.0",
33
+ "@celljs/ta-web": "4.30.0",
34
+ "@types/react": "^19.3.0",
35
+ "@types/three": "^0.187.0",
36
+ "react": "^19.3.1",
37
+ "react-dom": "^19.3.1",
38
+ "three": "^0.187.0"
39
+ },
40
+ "publishConfig": {
41
+ "access": "public"
42
+ },
43
+ "pi": {
44
+ "title": {
45
+ "en": "Block Earth",
46
+ "zh-CN": "方块地球",
47
+ "zh-TW": "方塊地球",
48
+ "ja-JP": "ブロックアース"
49
+ },
50
+ "summary": {
51
+ "en": "The real earth as blocks: search a place or use where you are, then walk, mine and build there; your island is kept, and your Ta is at work on it.",
52
+ "zh-CN": "真实的地球变成方块:搜一个地方或用你的位置,在那里走、挖、盖;你的岛会保存,你的 Ta 也在岛上干活。",
53
+ "zh-TW": "真實的地球變成方塊:搜一個地方或用你的位置,在那裡走、挖、蓋;你的島會保存,你的 Ta 也在島上幹活。",
54
+ "ja-JP": "本物の地球がブロックに:場所を検索するか現在地を使い、そこを歩き、掘り、建てます。あなたの島は保存され、あなたの Ta も島で働いています。"
55
+ },
56
+ "icon": "Globe",
57
+ "webActivation": "open",
58
+ "group": "play",
59
+ "web": [
60
+ "./web/index.js"
61
+ ]
62
+ }
63
+ }