@ai-matrx/desktop-protocol 0.21.91 → 0.21.92
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/CHANGELOG.md +5 -0
- package/dist/{chunk-server-7Q7L4DZ2.js → chunk-server-AANZ3QIC.js} +1356 -1309
- package/dist/chunk-server-AANZ3QIC.js.map +1 -0
- package/dist/{chunk-server-3GQSOBMI.js → chunk-server-FPYXJ5IT.js} +3 -3
- package/dist/{chunk-server-KY27EMK4.js → chunk-server-WSXKBBEB.js} +2 -2
- package/dist/chunk-server-WSXKBBEB.js.map +1 -0
- package/dist/{chunk-server-IN2FRJI2.js → chunk-server-YUJXCEFI.js} +2 -2
- package/dist/client.cjs +1369 -1320
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +3 -3
- package/dist/index.cjs +575 -528
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +144 -85
- package/dist/index.d.ts +144 -85
- package/dist/index.js +16 -4
- package/dist/index.js.map +1 -1
- package/dist/{models-x0kM5elk.d.cts → models-D7pVOe7f.d.cts} +243 -143
- package/dist/{models-x0kM5elk.d.ts → models-D7pVOe7f.d.ts} +243 -143
- package/generated/desktop-protocol.schema.json +153 -2
- package/package.json +2 -2
- package/dist/chunk-server-7Q7L4DZ2.js.map +0 -1
- package/dist/chunk-server-KY27EMK4.js.map +0 -1
- /package/dist/{chunk-server-3GQSOBMI.js.map → chunk-server-FPYXJ5IT.js.map} +0 -0
- /package/dist/{chunk-server-IN2FRJI2.js.map → chunk-server-YUJXCEFI.js.map} +0 -0
|
@@ -3,6 +3,139 @@
|
|
|
3
3
|
"$id": "https://aimatrx.com/schemas/desktop-protocol/1.0",
|
|
4
4
|
"title": "DesktopProtocol",
|
|
5
5
|
"$defs": {
|
|
6
|
+
"AgentServiceStateName": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"enum": [
|
|
9
|
+
"not_installed",
|
|
10
|
+
"installing",
|
|
11
|
+
"installed",
|
|
12
|
+
"listening",
|
|
13
|
+
"failed"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"AgentStatusParams": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"properties": {},
|
|
19
|
+
"additionalProperties": false
|
|
20
|
+
},
|
|
21
|
+
"AgentInstallParams": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"properties": {},
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
26
|
+
"AgentStartParams": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"model": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"minLength": 1,
|
|
32
|
+
"maxLength": 256
|
|
33
|
+
},
|
|
34
|
+
"listener_port": {
|
|
35
|
+
"type": "integer",
|
|
36
|
+
"minimum": 1,
|
|
37
|
+
"maximum": 65535
|
|
38
|
+
},
|
|
39
|
+
"key": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"minLength": 16,
|
|
42
|
+
"maxLength": 256
|
|
43
|
+
},
|
|
44
|
+
"allow_origins": {
|
|
45
|
+
"maxItems": 16,
|
|
46
|
+
"type": "array",
|
|
47
|
+
"items": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"minLength": 1,
|
|
50
|
+
"maxLength": 512
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": [
|
|
55
|
+
"model",
|
|
56
|
+
"listener_port",
|
|
57
|
+
"key",
|
|
58
|
+
"allow_origins"
|
|
59
|
+
],
|
|
60
|
+
"additionalProperties": false
|
|
61
|
+
},
|
|
62
|
+
"AgentServiceState": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"properties": {
|
|
65
|
+
"state": {
|
|
66
|
+
"$ref": "#/$defs/AgentServiceStateName"
|
|
67
|
+
},
|
|
68
|
+
"error": {
|
|
69
|
+
"anyOf": [
|
|
70
|
+
{
|
|
71
|
+
"type": "string",
|
|
72
|
+
"maxLength": 2000
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "null"
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"port": {
|
|
80
|
+
"anyOf": [
|
|
81
|
+
{
|
|
82
|
+
"type": "integer",
|
|
83
|
+
"minimum": 1,
|
|
84
|
+
"maximum": 65535
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"type": "null"
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"model": {
|
|
92
|
+
"anyOf": [
|
|
93
|
+
{
|
|
94
|
+
"type": "string",
|
|
95
|
+
"maxLength": 256
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "null"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"required": [
|
|
104
|
+
"state",
|
|
105
|
+
"error",
|
|
106
|
+
"port",
|
|
107
|
+
"model"
|
|
108
|
+
],
|
|
109
|
+
"additionalProperties": false
|
|
110
|
+
},
|
|
111
|
+
"AgentServiceProgress": {
|
|
112
|
+
"type": "object",
|
|
113
|
+
"properties": {
|
|
114
|
+
"phase": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"enum": [
|
|
117
|
+
"installing",
|
|
118
|
+
"compiling"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
"done": {
|
|
122
|
+
"type": "integer",
|
|
123
|
+
"minimum": 0,
|
|
124
|
+
"maximum": 9007199254740991
|
|
125
|
+
},
|
|
126
|
+
"total": {
|
|
127
|
+
"type": "integer",
|
|
128
|
+
"minimum": 0,
|
|
129
|
+
"maximum": 9007199254740991
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"required": [
|
|
133
|
+
"phase",
|
|
134
|
+
"done",
|
|
135
|
+
"total"
|
|
136
|
+
],
|
|
137
|
+
"additionalProperties": false
|
|
138
|
+
},
|
|
6
139
|
"AgentAssetTool": {
|
|
7
140
|
"type": "string",
|
|
8
141
|
"enum": [
|
|
@@ -10520,7 +10653,8 @@
|
|
|
10520
10653
|
"enum": [
|
|
10521
10654
|
"ml",
|
|
10522
10655
|
"coding",
|
|
10523
|
-
"tools"
|
|
10656
|
+
"tools",
|
|
10657
|
+
"agent"
|
|
10524
10658
|
]
|
|
10525
10659
|
},
|
|
10526
10660
|
"ContractHash": {
|
|
@@ -30620,6 +30754,23 @@
|
|
|
30620
30754
|
"result": "WebRuntimeState"
|
|
30621
30755
|
}
|
|
30622
30756
|
}
|
|
30757
|
+
},
|
|
30758
|
+
"agent": {
|
|
30759
|
+
"progress": "AgentServiceProgress",
|
|
30760
|
+
"ops": {
|
|
30761
|
+
"agent.status": {
|
|
30762
|
+
"params": "AgentStatusParams",
|
|
30763
|
+
"result": "AgentServiceState"
|
|
30764
|
+
},
|
|
30765
|
+
"agent.install": {
|
|
30766
|
+
"params": "AgentInstallParams",
|
|
30767
|
+
"result": "AgentServiceState"
|
|
30768
|
+
},
|
|
30769
|
+
"agent.start": {
|
|
30770
|
+
"params": "AgentStartParams",
|
|
30771
|
+
"result": "AgentServiceState"
|
|
30772
|
+
}
|
|
30773
|
+
}
|
|
30623
30774
|
}
|
|
30624
30775
|
},
|
|
30625
30776
|
"x-fields-since": {
|
|
@@ -30938,5 +31089,5 @@
|
|
|
30938
31089
|
"olderPeersGet": 0
|
|
30939
31090
|
}
|
|
30940
31091
|
},
|
|
30941
|
-
"x-protocol-version": "1.
|
|
31092
|
+
"x-protocol-version": "1.86"
|
|
30942
31093
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/desktop-protocol",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.92",
|
|
4
4
|
"description": "The one wire contract between Matrx 2 (the desktop app) and every client that drives it — phone, web app, extension, server: zod schemas for the envelope and every cap.op, the 16-byte binary frame codec, a reconnecting request/stream/credit/reattach client, React hooks, and a generated JSON Schema + Pydantic twin that CI keeps byte-identical.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"node": ">=20"
|
|
99
99
|
},
|
|
100
100
|
"sideEffects": false,
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "39a89b390f7eb407ec20c03ca545369a061cf240"
|
|
102
102
|
}
|