@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.
@@ -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.85"
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.91",
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": "dfe3caf7f2bab79b7c858593e0b5389a6f6a3451"
101
+ "gitHead": "39a89b390f7eb407ec20c03ca545369a061cf240"
102
102
  }