@sususgh/gamer-dsh-plugin 0.0.0-stage → 1.0.1

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/dsh/index.js ADDED
@@ -0,0 +1,79 @@
1
+ /**
2
+ * Gamer DSH Plugin — native DeepSeek Harness entry point.
3
+ *
4
+ * This first installable integration deliberately reports the current runtime
5
+ * honestly: the repository currently contains a desktop UI prototype, not a
6
+ * connected game-control engine. No game input is sent and no device is
7
+ * paired by this plugin yet.
8
+ */
9
+
10
+ export const name = 'gamer-dsh-plugin';
11
+ export const inject = ['tools'];
12
+
13
+ const STATUS_SCHEMA = {
14
+ type: 'object',
15
+ properties: {},
16
+ additionalProperties: false,
17
+ };
18
+
19
+ export function apply(ctx) {
20
+ if (typeof ctx?.tools?.register !== 'function') {
21
+ console.error('[gamer-dsh-plugin] DSH tools service is unavailable; status tool was not registered.');
22
+ return;
23
+ }
24
+
25
+ ctx.tools.register({
26
+ name: 'gamer_project_status',
27
+ description:
28
+ 'Return the verified implementation and runtime status of Gamer-DSH-Plugin. The v1.0.1 release includes a bilingual DSH plugin configuration page, but it does not yet include a connected game-control runtime, desktop pairing server or Android companion bridge.',
29
+ parameters: STATUS_SCHEMA,
30
+ output: {
31
+ schema: {
32
+ type: 'object',
33
+ properties: {
34
+ project: { type: 'string' },
35
+ version: { type: 'string' },
36
+ integration: { type: 'string' },
37
+ pluginLoaded: { type: 'boolean' },
38
+ desktopUi: { type: 'string' },
39
+ androidCompanion: { type: 'string' },
40
+ visionRuntime: { type: 'string' },
41
+ gameControlRuntime: { type: 'string' },
42
+ qrPairing: { type: 'string' },
43
+ canControlGames: { type: 'boolean' },
44
+ nextStep: { type: 'string' },
45
+ repository: { type: 'string' },
46
+ release: { type: 'string' },
47
+ },
48
+ required: [
49
+ 'project', 'version', 'integration', 'pluginLoaded', 'desktopUi',
50
+ 'androidCompanion', 'visionRuntime', 'gameControlRuntime', 'qrPairing',
51
+ 'canControlGames', 'nextStep', 'repository', 'release',
52
+ ],
53
+ additionalProperties: false,
54
+ },
55
+ render: (_args, value) => [{
56
+ type: 'text',
57
+ text: JSON.stringify(value, null, 2),
58
+ }],
59
+ presentationMeta: () => ({}),
60
+ },
61
+ async execute() {
62
+ return {
63
+ project: 'Gamer-DSH-Plugin',
64
+ version: '1.0.1',
65
+ integration: 'native DSH bundle',
66
+ pluginLoaded: true,
67
+ desktopUi: 'plugin configuration page available; game-control dashboard prototype',
68
+ androidCompanion: 'not connected',
69
+ visionRuntime: 'not implemented',
70
+ gameControlRuntime: 'not implemented',
71
+ qrPairing: 'not implemented',
72
+ canControlGames: false,
73
+ nextStep: 'Complete and validate the desktop engine and Android companion before enabling game-control tools.',
74
+ repository: 'https://github.com/sususgh/Gamer-DSH-Plugin',
75
+ release: 'https://github.com/sususgh/Gamer-DSH-Plugin/releases/tag/v1.0.1'
76
+ };
77
+ }
78
+ });
79
+ }
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Gamer AI Agent",
4
+ "description": "PC game control center and Android companion. View runtime status, language options and device-pairing progress."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Gamer 游戏智能体",
4
+ "description": "PC 游戏控制中心与 Android 手机伴侣。查看运行状态、语言选项和设备配对开发进度。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,63 @@
1
1
  {
2
2
  "name": "@sususgh/gamer-dsh-plugin",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.0.1",
4
+ "description": "Native DeepSeek Harness plugin with desktop QR pairing runtime and UI for the Gamer AI game-agent project",
5
+ "type": "module",
6
+ "license": "Apache-2.0",
7
+ "author": "sususgh",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/sususgh/Gamer-DSH-Plugin.git"
11
+ },
12
+ "homepage": "https://github.com/sususgh/Gamer-DSH-Plugin",
13
+ "bugs": {
14
+ "url": "https://github.com/sususgh/Gamer-DSH-Plugin/issues"
15
+ },
16
+ "keywords": [
17
+ "dsh-plugin",
18
+ "deepseek-harness",
19
+ "gamer",
20
+ "game-agent",
21
+ "android-companion"
22
+ ],
23
+ "files": [
24
+ "dsh",
25
+ "desktop-runtime",
26
+ "desktop-ui",
27
+ "cordis.patch.yml",
28
+ "README.md",
29
+ "LICENSE",
30
+ "docs/DSH-INSTALL.zh-CN.md",
31
+ "docs/runtime-protocol-v1.md",
32
+ "locale"
33
+ ],
34
+ "exports": {
35
+ ".": "./dsh/index.js",
36
+ "./dsh": "./dsh/index.js",
37
+ "./client": "./dsh/client.js",
38
+ "./package.json": "./package.json",
39
+ "./locale/*": "./locale/*.json"
40
+ },
41
+ "dsh": {
42
+ "bundle": {
43
+ "patch": "./cordis.patch.yml"
44
+ },
45
+ "client": {
46
+ "inject": [
47
+ "slots"
48
+ ],
49
+ "platform": "web",
50
+ "immediately": true
51
+ }
52
+ },
53
+ "scripts": {
54
+ "test": "node --test",
55
+ "check": "node --check dsh/index.js && node --check dsh/client.js && node --check desktop-runtime/pairing.js && node --check desktop-runtime/server.js && node --check desktop-ui/app.js"
56
+ },
57
+ "publishConfig": {
58
+ "access": "public"
59
+ },
60
+ "engines": {
61
+ "node": ">=22.13"
62
+ }
6
63
  }