@hasna/computer 0.1.9 → 0.1.10
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/index.js +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/server/index.js +2 -2
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -18456,7 +18456,7 @@ registerAppDriver(ghosttyDriver);
|
|
|
18456
18456
|
|
|
18457
18457
|
// src/cli/index.ts
|
|
18458
18458
|
var program2 = new Command;
|
|
18459
|
-
program2.name("computer").description("Open-source computer use for AI agents \u2014 control your Mac with AI").version("0.1.
|
|
18459
|
+
program2.name("computer").description("Open-source computer use for AI agents \u2014 control your Mac with AI").version("0.1.10");
|
|
18460
18460
|
program2.command("run").description("Run a computer use task").argument("<task>", "Natural language description of the task").option("-p, --provider <provider>", "AI provider (anthropic|openai)", "anthropic").option("-m, --model <model>", "Model to use").option("-s, --max-steps <n>", "Maximum number of steps", "50").option("--save-screenshots", "Save screenshots to disk", false).option("--screenshots-dir <dir>", "Directory to save screenshots").option("--system-prompt <prompt>", "Custom system prompt").option("--max-width <px>", "Max screenshot width for AI model (default: 1280)", "1280").option("--dry-run", "Plan actions without executing them", false).option("--no-preview", "Disable inline screenshot preview in terminal").option("--tag <tags...>", "Tag this session (can specify multiple)").option("--display <n>", "Display number to capture (1=main, 2=secondary)").action(async (task, opts) => {
|
|
18461
18461
|
const cfg = loadConfig();
|
|
18462
18462
|
const provider = opts.provider ?? cfg.provider;
|
package/dist/mcp/index.js
CHANGED
|
@@ -19588,7 +19588,7 @@ function storageResult(value) {
|
|
|
19588
19588
|
function buildServer() {
|
|
19589
19589
|
const server = new McpServer({
|
|
19590
19590
|
name: "computer",
|
|
19591
|
-
version: "0.1.
|
|
19591
|
+
version: "0.1.10"
|
|
19592
19592
|
});
|
|
19593
19593
|
server.tool("computer_run_task", "Run a computer use task \u2014 the AI sees your screen and controls mouse/keyboard to complete it", {
|
|
19594
19594
|
task: exports_external.string().describe("Natural language description of what to do"),
|
package/dist/server/index.js
CHANGED
|
@@ -35498,7 +35498,7 @@ function storageResult(value) {
|
|
|
35498
35498
|
function buildServer() {
|
|
35499
35499
|
const server = new McpServer({
|
|
35500
35500
|
name: "computer",
|
|
35501
|
-
version: "0.1.
|
|
35501
|
+
version: "0.1.10"
|
|
35502
35502
|
});
|
|
35503
35503
|
server.tool("computer_run_task", "Run a computer use task \u2014 the AI sees your screen and controls mouse/keyboard to complete it", {
|
|
35504
35504
|
task: exports_external.string().describe("Natural language description of what to do"),
|
|
@@ -35877,7 +35877,7 @@ var server = Bun.serve({
|
|
|
35877
35877
|
return Response.json(getStats(), { headers: corsHeaders });
|
|
35878
35878
|
}
|
|
35879
35879
|
if (method === "GET" && (path === "/health" || path === "/")) {
|
|
35880
|
-
return Response.json({ status: "ok", name: "computer", version: "0.1.
|
|
35880
|
+
return Response.json({ status: "ok", name: "computer", version: "0.1.10", port: PORT }, { headers: corsHeaders });
|
|
35881
35881
|
}
|
|
35882
35882
|
if (DASHBOARD_DIR && method === "GET" && (path.startsWith("/dashboard") || path === "/")) {
|
|
35883
35883
|
if (path === "/" || path === "/dashboard" || path === "/dashboard/") {
|
package/package.json
CHANGED