@lumi.ai/runner 0.7.0 → 0.9.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/dist/cli.js +18 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -89,7 +89,8 @@ var DEFAULT_AGENT_TOOLS = {
|
|
|
89
89
|
github: { enabled: false, repos: [] },
|
|
90
90
|
bash: false,
|
|
91
91
|
webSearch: false,
|
|
92
|
-
extraMcps: []
|
|
92
|
+
extraMcps: [],
|
|
93
|
+
browser: false
|
|
93
94
|
};
|
|
94
95
|
function agentEngine(agent) {
|
|
95
96
|
return agent.engine ?? DEFAULT_ENGINE_ID;
|
|
@@ -112,10 +113,19 @@ function effectiveAgentTools(agent) {
|
|
|
112
113
|
// Workspace MCP does — through the engine's `--mcp-config` — so an engine that cannot speak
|
|
113
114
|
// MCP must resolve to none of them rather than be handed a config it will ignore.
|
|
114
115
|
extraMcps: capabilities.mcp ? [...tools.extraMcps] : [],
|
|
116
|
+
// Intersected with `capabilities.mcp` for `extraMcps`' reason, not a new capability flag: the
|
|
117
|
+
// browser tools are served by Crew's own Workspace MCP, so an engine that cannot speak MCP
|
|
118
|
+
// cannot reach them however the captain has configured the agent.
|
|
119
|
+
browser: tools.browser && capabilities.mcp,
|
|
115
120
|
github: { ...github, repos: [...github.repos], enabled: github.enabled && capabilities.bash }
|
|
116
121
|
};
|
|
117
122
|
}
|
|
118
123
|
|
|
124
|
+
// ../shared/dist/browser.js
|
|
125
|
+
var DEFAULT_BROWSER_CONSENT_MS = 60 * 60 * 1e3;
|
|
126
|
+
var LONG_BROWSER_CONSENT_MS = 24 * 60 * 60 * 1e3;
|
|
127
|
+
var MAX_BROWSER_SCREENSHOT_BYTES = 2 * 1024 * 1024;
|
|
128
|
+
|
|
119
129
|
// ../shared/dist/chat.js
|
|
120
130
|
var MAX_CHAT_MESSAGE_CHARS = 8e3;
|
|
121
131
|
var MAX_CHAT_MESSAGES_IN_PROMPT = 40;
|
|
@@ -169,6 +179,12 @@ var COLLECTIONS = {
|
|
|
169
179
|
jobs: "jobs",
|
|
170
180
|
/** `ships/{shipId}/runners/{runnerId}` — ship-scoped live daemon mirror (Daemons page). */
|
|
171
181
|
runners: "runners",
|
|
182
|
+
/**
|
|
183
|
+
* `ships/{shipId}/browsers/{browserId}` — Chrome profiles people lent this Ship (PRD §15.44;
|
|
184
|
+
* see browser.ts). The doc id is a per-profile UUID the extension mints, NOT a uid: one person
|
|
185
|
+
* may lend two profiles, and the same profile may serve several Ships.
|
|
186
|
+
*/
|
|
187
|
+
browsers: "browsers",
|
|
172
188
|
/** `ships/{shipId}/notifications/{id}` — per-member in-app notifications. */
|
|
173
189
|
notifications: "notifications",
|
|
174
190
|
/** `ships/{shipId}/usage_daily/{yyyy-mm-dd}` — token-tracking aggregates. */
|
|
@@ -801,7 +817,7 @@ function mcpUrl(config2) {
|
|
|
801
817
|
}
|
|
802
818
|
|
|
803
819
|
// src/version.ts
|
|
804
|
-
var RUNNER_VERSION = true ? "0.
|
|
820
|
+
var RUNNER_VERSION = true ? "0.9.0" : "0.0.0-dev";
|
|
805
821
|
|
|
806
822
|
// src/auth.ts
|
|
807
823
|
import { signInWithCustomToken } from "firebase/auth";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumi.ai/runner",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Lumi Crew runner daemon — claims jobs from your Ships and executes them as headless Claude sessions on your own machine.",
|
|
6
6
|
"//name": "The ONLY package in this monorepo published to the public registry, so it is the one that does not follow the internal @lumi/crew-* convention: `@lumi` is not a scope we own, `@lumi.ai` is (the npm org). The workspace DIRECTORY stays packages/crew/runner — renaming the package is not renaming the folder.",
|