@celljs/ta-reflex 0.0.0-stage → 4.37.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 +28 -0
- package/README.md +27 -2
- package/extension/index.mjs +976 -0
- package/host/index.mjs +1942 -0
- package/package.json +72 -4
- package/web/index.js +2232 -0
package/package.json
CHANGED
|
@@ -1,6 +1,74 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-reflex",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "4.37.0",
|
|
4
|
+
"description": "A pi package for Ta: fast and slow for doing things for the user. A program works a target of the page (a game, a canvas, what an extension offers) frame by frame on its own clock, while the model steers it by intent and is woken only by what matters; batches of steps where no program runs",
|
|
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
|
+
"host",
|
|
20
|
+
"extension",
|
|
21
|
+
"!**/*.map"
|
|
22
|
+
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "bun scripts/program-worker.ts && tsc -b && bun build web-src/index.ts --format esm --target browser --outfile web/index.js && bun build web-src/host.ts --format esm --target node --outfile host/index.mjs && bun build web-src/extension.ts --format esm --target node --outfile extension/index.mjs",
|
|
25
|
+
"clean": "rm -rf lib web host extension *.tsbuildinfo",
|
|
26
|
+
"test": "bun test ./lib",
|
|
27
|
+
"watch": "tsc -b -w --preserveWatchOutput"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@celljs/ta-computer-use": "4.37.0",
|
|
31
|
+
"@celljs/ta-protocol": "4.37.0",
|
|
32
|
+
"@celljs/ta-web": "4.37.0"
|
|
33
|
+
},
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
37
|
+
"pi": {
|
|
38
|
+
"title": {
|
|
39
|
+
"en": "Live hands",
|
|
40
|
+
"zh-CN": "实时操作",
|
|
41
|
+
"zh-TW": "即時操作",
|
|
42
|
+
"ja-JP": "リアルタイム操作"
|
|
43
|
+
},
|
|
44
|
+
"summary": {
|
|
45
|
+
"en": "Ta works what moves faster than a person: a game, a canvas, a page that changes. A little program it writes or picks plays every frame, while Ta thinks on what to do next and is told only what matters. You see what it works, and stop it with one tap.",
|
|
46
|
+
"zh-CN": "让 Ta 操作变化很快的东西:游戏、画布、不停变化的页面。Ta 写或选一个小程序逐帧去做,反应比人快;它自己只想下一步要什么,只在要紧的时候被叫醒。正在操作什么你一直看得到,点一下就能停。",
|
|
47
|
+
"zh-TW": "讓 Ta 操作變化很快的東西:遊戲、畫布、不停變化的頁面。Ta 寫或選一個小程式逐幀去做,反應比人快;它自己只想下一步要什麼,只在要緊的時候被叫醒。正在操作什麼你一直看得到,點一下就能停。",
|
|
48
|
+
"ja-JP": "ゲームやキャンバス、刻々と変わるページなど、速く動くものを Ta が操作します。Ta が書いたり選んだりした小さなプログラムがフレームごとに人より速く反応し、Ta 自身は次に何をするかだけを考え、大事なときだけ呼ばれます。何を操作しているかは常に表示され、ワンタップで止められます。"
|
|
49
|
+
},
|
|
50
|
+
"icon": "Zap",
|
|
51
|
+
"web": [
|
|
52
|
+
"./web/index.js"
|
|
53
|
+
],
|
|
54
|
+
"host": "./host/index.mjs",
|
|
55
|
+
"extensions": [
|
|
56
|
+
"./extension/index.mjs"
|
|
57
|
+
],
|
|
58
|
+
"permissions": {
|
|
59
|
+
"host": {
|
|
60
|
+
"*": "extensions.use",
|
|
61
|
+
"apps": "desktop.view",
|
|
62
|
+
"appObserve": "desktop.view",
|
|
63
|
+
"appAct": "desktop.control",
|
|
64
|
+
"deciders": "models.owner",
|
|
65
|
+
"decide": "models.owner",
|
|
66
|
+
"decided": "models.owner",
|
|
67
|
+
"warm": "models.owner",
|
|
68
|
+
"remotes": "settings.manage",
|
|
69
|
+
"addRemote": "settings.manage",
|
|
70
|
+
"removeRemote": "settings.manage"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|