motebit 1.9.0 → 1.10.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "motebit",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "type": "module",
5
5
  "description": "Reference runtime and operator console for sovereign AI agents — REPL, daemon, delegation, MCP server. Persistent Ed25519 identity, signed execution receipts, governance at the boundary.",
6
6
  "main": "./dist/index.js",
@@ -57,36 +57,37 @@
57
57
  "@x402/fetch": "^2.17.0",
58
58
  "@x402/hono": "^2.17.0",
59
59
  "better-sqlite3": "^12.11.1",
60
- "hono": "^4.12.28",
60
+ "hono": "^4.12.31",
61
61
  "sql.js": "^1.14.1",
62
- "stripe": "^17.0.0",
62
+ "stripe": "^22.0.0",
63
63
  "viem": "^2.54.6",
64
- "vscode-jsonrpc": "^8.2.1",
65
- "vscode-languageserver": "^9.0.1",
64
+ "vscode-jsonrpc": "^9.0.0",
65
+ "vscode-languageserver": "^10.0.0",
66
66
  "vscode-languageserver-textdocument": "^1.0.12",
67
67
  "ws": "^8.21.0",
68
68
  "yaml": "^2.9.0",
69
- "zod": "^3.25.0",
70
- "zod-to-json-schema": "^3.25.2",
71
- "@motebit/state-export-client": "0.5.20"
69
+ "zod": "^4.4.3",
70
+ "@motebit/state-export-client": "0.5.21"
72
71
  },
73
72
  "devDependencies": {
74
- "@types/node": "^22.20.0",
73
+ "@types/node": "^22.20.1",
75
74
  "tsup": "^8.0.0",
76
- "tsx": "^4.23.0",
75
+ "tsx": "^4.23.1",
77
76
  "typescript": "^5.6.0",
78
77
  "vitest": "^4.1.10",
79
78
  "@motebit/ai-core": "0.0.0-private",
80
79
  "@motebit/behavior-engine": "0.0.0-private",
81
- "@motebit/crypto": "3.18.0",
82
80
  "@motebit/core-identity": "0.0.0-private",
81
+ "@motebit/crypto": "3.19.0",
83
82
  "@motebit/encryption": "0.0.0-private",
84
- "@motebit/gradient": "0.0.0-private",
85
83
  "@motebit/event-log": "0.0.0-private",
84
+ "@motebit/gradient": "0.0.0-private",
86
85
  "@motebit/identity-file": "0.0.0-private",
87
86
  "@motebit/mcp-client": "0.0.0-private",
88
87
  "@motebit/mcp-server": "0.0.0-private",
89
88
  "@motebit/memory-graph": "0.0.0-private",
89
+ "@motebit/persistence": "0.0.0-private",
90
+ "@motebit/protocol": "3.15.0",
90
91
  "@motebit/planner": "0.0.0-private",
91
92
  "@motebit/policy": "0.0.0-private",
92
93
  "@motebit/privacy-layer": "0.0.0-private",
@@ -94,15 +95,14 @@
94
95
  "@motebit/relay-client": "0.0.0-private",
95
96
  "@motebit/runtime": "0.0.0-private",
96
97
  "@motebit/runtime-host": "0.0.0-private",
97
- "@motebit/sdk": "2.5.2",
98
+ "@motebit/sdk": "2.5.3",
98
99
  "@motebit/self-knowledge": "0.0.0-private",
100
+ "@motebit/skills": "0.0.0-private",
99
101
  "@motebit/state-vector": "0.0.0-private",
100
102
  "@motebit/sync-engine": "0.0.0-private",
101
- "@motebit/skills": "0.0.0-private",
102
103
  "@motebit/tools": "0.0.0-private",
103
- "@motebit/verify": "1.8.10",
104
+ "@motebit/verify": "1.8.11",
104
105
  "@motebit/voice": "0.0.0-private",
105
- "@motebit/persistence": "0.0.0-private",
106
106
  "@motebit/wallet-solana": "0.0.0-private",
107
107
  "@motebit/wire-schemas": "0.0.0-private"
108
108
  },
@@ -11,50 +11,52 @@
11
11
  "description": "Schema version. Currently `1`. Pinning lets future CLI versions print a targeted error on mismatch instead of silently misinterpreting the document."
12
12
  },
13
13
  "name": {
14
- "type": "string",
15
- "description": "Display name for this motebit. Surfaces in the REPL banner and delegation listings."
14
+ "description": "Display name for this motebit. Surfaces in the REPL banner and delegation listings.",
15
+ "type": "string"
16
16
  },
17
17
  "personality_notes": {
18
- "type": "string",
19
- "description": "Free-form personality guidance. Appended to the system prompt on every turn. Keep short — every token here costs on every call."
18
+ "description": "Free-form personality guidance. Appended to the system prompt on every turn. Keep short — every token here costs on every call.",
19
+ "type": "string"
20
20
  },
21
21
  "temperature": {
22
+ "description": "Sampling temperature for the default provider [0, 2]. Unset = model default. Only applied when explicitly set.",
22
23
  "type": "number",
23
24
  "minimum": 0,
24
- "maximum": 2,
25
- "description": "Sampling temperature for the default provider [0, 2]. Unset = model default. Only applied when explicitly set."
25
+ "maximum": 2
26
26
  },
27
27
  "max_tokens": {
28
+ "description": "Default max output tokens per response. Overridden by `--max-tokens` at the CLI.",
28
29
  "type": "integer",
29
30
  "exclusiveMinimum": 0,
30
- "description": "Default max output tokens per response. Overridden by `--max-tokens` at the CLI."
31
+ "maximum": 9007199254740991
31
32
  },
32
33
  "provider": {
33
34
  "type": "object",
34
35
  "properties": {
35
36
  "mode": {
37
+ "description": "Provider mode. `byok` = bring-your-own API key (env var). `paid` = motebit cloud. `sovereign` = local on-device model (no external calls).",
36
38
  "type": "string",
37
- "enum": ["byok", "paid", "sovereign"],
38
- "description": "Provider mode. `byok` = bring-your-own API key (env var). `paid` = motebit cloud. `sovereign` = local on-device model (no external calls)."
39
+ "enum": ["byok", "paid", "sovereign"]
39
40
  },
40
41
  "wireProtocol": {
42
+ "description": "Wire protocol the endpoint speaks. `anthropic` for Claude, `openai` for OpenAI-compatible endpoints (OpenAI, Ollama, LM Studio, vLLM).",
41
43
  "type": "string",
42
- "enum": ["anthropic", "openai"],
43
- "description": "Wire protocol the endpoint speaks. `anthropic` for Claude, `openai` for OpenAI-compatible endpoints (OpenAI, Ollama, LM Studio, vLLM)."
44
+ "enum": ["anthropic", "openai"]
44
45
  },
45
46
  "model": {
46
- "type": "string",
47
- "description": "Model identifier, e.g. `claude-sonnet-4-6`, `gpt-5.4-mini`, `llama3.2`."
47
+ "description": "Model identifier, e.g. `claude-sonnet-4-6`, `gpt-5.4-mini`, `llama3.2`.",
48
+ "type": "string"
48
49
  },
49
50
  "baseUrl": {
51
+ "description": "Override the API base URL. Used for local inference servers (`http://localhost:11434/v1` for Ollama) or routing through a proxy.",
50
52
  "type": "string",
51
- "format": "uri",
52
- "description": "Override the API base URL. Used for local inference servers (`http://localhost:11434/v1` for Ollama) or routing through a proxy."
53
+ "format": "uri"
53
54
  },
54
55
  "maxTokens": {
56
+ "description": "Upper bound on response length (model output tokens).",
55
57
  "type": "integer",
56
58
  "exclusiveMinimum": 0,
57
- "description": "Upper bound on response length (model output tokens)."
59
+ "maximum": 9007199254740991
58
60
  }
59
61
  },
60
62
  "additionalProperties": false,
@@ -81,11 +83,13 @@
81
83
  "maxCallsPerTurn": {
82
84
  "type": "integer",
83
85
  "exclusiveMinimum": 0,
86
+ "maximum": 9007199254740991,
84
87
  "description": "Per-turn tool-call ceiling. Bounds runaway loops and protects the policy gate from exhaustion attacks."
85
88
  },
86
89
  "maxMemoriesPerTurn": {
87
90
  "type": "integer",
88
91
  "exclusiveMinimum": 0,
92
+ "maximum": 9007199254740991,
89
93
  "description": "Per-turn memory-formation ceiling. Prevents a single turn from flooding the memory graph."
90
94
  }
91
95
  },
@@ -100,6 +104,7 @@
100
104
  "description": "Governance at the boundary — surface-tension constraints that apply to every turn."
101
105
  },
102
106
  "mcp_servers": {
107
+ "description": "MCP tool servers to connect on start. Each entry declares transport, endpoint, and (optionally) trust status.",
103
108
  "type": "array",
104
109
  "items": {
105
110
  "type": "object",
@@ -115,49 +120,52 @@
115
120
  "description": "Transport. `stdio` spawns a child process; `http` connects to a URL."
116
121
  },
117
122
  "command": {
118
- "type": "string",
119
- "description": "Executable to spawn when `transport: stdio`. E.g. `npx`, `node`, `python`."
123
+ "description": "Executable to spawn when `transport: stdio`. E.g. `npx`, `node`, `python`.",
124
+ "type": "string"
120
125
  },
121
126
  "args": {
127
+ "description": "Argument vector passed to `command` when `transport: stdio`.",
122
128
  "type": "array",
123
129
  "items": {
124
130
  "type": "string"
125
- },
126
- "description": "Argument vector passed to `command` when `transport: stdio`."
131
+ }
127
132
  },
128
133
  "url": {
134
+ "description": "Endpoint URL when `transport: http`. Must be a full URL including scheme.",
129
135
  "type": "string",
130
- "format": "uri",
131
- "description": "Endpoint URL when `transport: http`. Must be a full URL including scheme."
136
+ "format": "uri"
132
137
  },
133
138
  "env": {
139
+ "description": "Environment variables set for the child process (stdio transport).",
134
140
  "type": "object",
135
- "additionalProperties": {
141
+ "propertyNames": {
136
142
  "type": "string"
137
143
  },
138
- "description": "Environment variables set for the child process (stdio transport)."
144
+ "additionalProperties": {
145
+ "type": "string"
146
+ }
139
147
  },
140
148
  "trusted": {
141
- "type": "boolean",
142
- "description": "Auto-approve tool calls from this server. Equivalent to promoting the server into `mcp_trusted_servers`. Off by default."
149
+ "description": "Auto-approve tool calls from this server. Equivalent to promoting the server into `mcp_trusted_servers`. Off by default.",
150
+ "type": "boolean"
143
151
  },
144
152
  "motebit": {
145
- "type": "boolean",
146
- "description": "This server is another motebit instance — enables motebit-to-motebit transport with caller identity injected into every call."
153
+ "description": "This server is another motebit instance — enables motebit-to-motebit transport with caller identity injected into every call.",
154
+ "type": "boolean"
147
155
  },
148
156
  "motebitType": {
157
+ "description": "Semantic role of the peer motebit. `personal` = another device of yours. `service` = paid worker. `collaborative` = peer agent.",
149
158
  "type": "string",
150
- "enum": ["personal", "service", "collaborative"],
151
- "description": "Semantic role of the peer motebit. `personal` = another device of yours. `service` = paid worker. `collaborative` = peer agent."
159
+ "enum": ["personal", "service", "collaborative"]
152
160
  }
153
161
  },
154
162
  "required": ["name", "transport"],
155
163
  "additionalProperties": false,
156
164
  "description": "MCP server — a tool source. stdio transports spawn a subprocess; http transports dial a remote endpoint."
157
- },
158
- "description": "MCP tool servers to connect on start. Each entry declares transport, endpoint, and (optionally) trust status."
165
+ }
159
166
  },
160
167
  "routines": {
168
+ "description": "Scheduled routines. Each compiles to exactly one Goal row; `id` is the upsert key. Re-running `motebit up` on unchanged yaml is a true no-op.",
161
169
  "type": "array",
162
170
  "items": {
163
171
  "type": "object",
@@ -175,39 +183,37 @@
175
183
  "description": "Natural-language prompt the agent runs on each tick. Content changes update the same goal row (preserving `created_at`)."
176
184
  },
177
185
  "every": {
186
+ "description": "Run cadence. Interval string (`<n>m`, `<n>h`, `<n>d`). E.g. `1h` = hourly.",
178
187
  "type": "string",
179
- "minLength": 1,
180
- "description": "Run cadence. Interval string (`<n>m`, `<n>h`, `<n>d`). E.g. `1h` = hourly."
188
+ "minLength": 1
181
189
  },
182
190
  "mode": {
183
- "type": "string",
184
- "enum": ["recurring", "once"],
185
191
  "default": "recurring",
186
- "description": "`recurring` runs every `every` tick forever. `once` runs a single time then marks the goal completed."
192
+ "description": "`recurring` runs every `every` tick forever. `once` runs a single time then marks the goal completed.",
193
+ "type": "string",
194
+ "enum": ["recurring", "once"]
187
195
  },
188
196
  "wall_clock": {
197
+ "description": "Hard wall-clock timeout per run. Kills the turn if it exceeds this. Default: 10m.",
189
198
  "type": "string",
190
- "minLength": 1,
191
- "description": "Hard wall-clock timeout per run. Kills the turn if it exceeds this. Default: 10m."
199
+ "minLength": 1
192
200
  },
193
201
  "project": {
202
+ "description": "Project identifier — groups goals that share context (shared memory scope).",
194
203
  "type": "string",
195
- "minLength": 1,
196
- "description": "Project identifier — groups goals that share context (shared memory scope)."
204
+ "minLength": 1
197
205
  },
198
206
  "enabled": {
199
- "type": "boolean",
200
207
  "default": true,
201
- "description": "Set false to pause the routine without deleting it. Preserves state and history; resumable with no data loss."
208
+ "description": "Set false to pause the routine without deleting it. Preserves state and history; resumable with no data loss.",
209
+ "type": "boolean"
202
210
  }
203
211
  },
204
212
  "required": ["id", "prompt", "every"],
205
213
  "additionalProperties": false,
206
214
  "description": "A scheduled routine — compiles to exactly one Goal row. Changing fields other than `id` updates the same row in place."
207
- },
208
- "description": "Scheduled routines. Each compiles to exactly one Goal row; `id` is the upsert key. Re-running `motebit up` on unchanged yaml is a true no-op."
215
+ }
209
216
  }
210
217
  },
211
- "required": ["version"],
212
- "additionalProperties": false
218
+ "required": ["version"]
213
219
  }