@clawops/cli 1.7.8 → 1.7.9
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/{chunk-RAAONHW3.js → chunk-A4QR4TXW.js} +1 -1
- package/dist/{chunk-QQNKBTYZ.js → chunk-GZN7PKP4.js} +2 -2
- package/dist/cli.js +7 -7
- package/dist/{generate-ELD7QF5Z.js → generate-OAGYT3VH.js} +1 -1
- package/dist/{mcp-wire-ZMIVFAUC.js → mcp-wire-7E5JQY47.js} +2 -2
- package/dist/{package-QYZFN3FP.js → package-5AR4ZPK4.js} +1 -1
- package/dist/{server-FWTOSSZP.js → server-FIZCOLHL.js} +2 -2
- package/package.json +1 -1
|
@@ -45,7 +45,7 @@ async function generatePlan(intent, _opts) {
|
|
|
45
45
|
"plan/apply is not supported for the local provider. Use `clawops up` directly."
|
|
46
46
|
);
|
|
47
47
|
}
|
|
48
|
-
const { version } = await import("./package-
|
|
48
|
+
const { version } = await import("./package-5AR4ZPK4.js");
|
|
49
49
|
const config = getConfig();
|
|
50
50
|
const instanceType = intent.instanceType ?? "small";
|
|
51
51
|
const { guardOpenclawVersion, defaultOpenclawVersion } = await import("./version-guard-VUCNZXQS.js");
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-3QJBNAHW.js";
|
|
8
8
|
import {
|
|
9
9
|
generatePlan
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A4QR4TXW.js";
|
|
11
11
|
import {
|
|
12
12
|
validatePlan
|
|
13
13
|
} from "./chunk-6X45DDGH.js";
|
|
@@ -1325,7 +1325,7 @@ function bearerFrom(header) {
|
|
|
1325
1325
|
return match?.[1]?.trim();
|
|
1326
1326
|
}
|
|
1327
1327
|
async function serveMcp(opts) {
|
|
1328
|
-
const { version } = await import("./package-
|
|
1328
|
+
const { version } = await import("./package-5AR4ZPK4.js");
|
|
1329
1329
|
const makeServer = () => {
|
|
1330
1330
|
const server = new McpServer({ name: "clawops", version });
|
|
1331
1331
|
registerTools(server, opts);
|
package/dist/cli.js
CHANGED
|
@@ -501,7 +501,7 @@ var plan_default = defineCommand5({
|
|
|
501
501
|
},
|
|
502
502
|
async run({ args }) {
|
|
503
503
|
const { buildContext } = await import("./context-5LCUG2QR.js");
|
|
504
|
-
const { generatePlan } = await import("./generate-
|
|
504
|
+
const { generatePlan } = await import("./generate-OAGYT3VH.js");
|
|
505
505
|
const ctx = buildContext(args);
|
|
506
506
|
if (ctx.adapter.name === "local") {
|
|
507
507
|
throw new UsageError(
|
|
@@ -1903,7 +1903,7 @@ var serveCmd = defineCommand17({
|
|
|
1903
1903
|
inspector: { type: "boolean", description: "Enable MCP inspector" }
|
|
1904
1904
|
},
|
|
1905
1905
|
async run({ args }) {
|
|
1906
|
-
const { serveMcp } = await import("./server-
|
|
1906
|
+
const { serveMcp } = await import("./server-FIZCOLHL.js");
|
|
1907
1907
|
await serveMcp({
|
|
1908
1908
|
port: args.http ? Number(args.http) : void 0,
|
|
1909
1909
|
bind: args.bind,
|
|
@@ -1984,8 +1984,8 @@ var wireCmd = defineCommand17({
|
|
|
1984
1984
|
const { buildContext } = await import("./context-5LCUG2QR.js");
|
|
1985
1985
|
const { acquireSession, drainPool } = await import("./pool-QGFQRMGU.js");
|
|
1986
1986
|
const { extractBaseOutputs } = await import("./outputs-DJHBY7EE.js");
|
|
1987
|
-
const { wireGatewayMcp } = await import("./mcp-wire-
|
|
1988
|
-
const { MCP_HTTP_PORT } = await import("./server-
|
|
1987
|
+
const { wireGatewayMcp } = await import("./mcp-wire-7E5JQY47.js");
|
|
1988
|
+
const { MCP_HTTP_PORT } = await import("./server-FIZCOLHL.js");
|
|
1989
1989
|
const ac = new AbortController();
|
|
1990
1990
|
process19.on("SIGINT", () => {
|
|
1991
1991
|
ac.abort();
|
|
@@ -3025,7 +3025,7 @@ async function maybeWireGatewayMcp(opts) {
|
|
|
3025
3025
|
if (!wireGateway) return;
|
|
3026
3026
|
const { connect } = await import("./ssh-CNJNLM3E.js");
|
|
3027
3027
|
const { getConfigDir: getConfigDir2 } = await import("./store-SDUR52Z5.js");
|
|
3028
|
-
const { wireGatewayMcp } = await import("./mcp-wire-
|
|
3028
|
+
const { wireGatewayMcp } = await import("./mcp-wire-7E5JQY47.js");
|
|
3029
3029
|
const knownHostsPath = path3.join(getConfigDir2(), "known_hosts");
|
|
3030
3030
|
const spin = spinner("Wiring gateway MCP client...");
|
|
3031
3031
|
const session = await connect({
|
|
@@ -3550,7 +3550,7 @@ import { accessSync as accessSync2, constants as constants2 } from "fs";
|
|
|
3550
3550
|
import { execSync as execSync2 } from "child_process";
|
|
3551
3551
|
var ISSUES_URL = `${REPO_URL}/issues/new`;
|
|
3552
3552
|
var BODY_CAP = 2e3;
|
|
3553
|
-
var VERSION = true ? "1.7.
|
|
3553
|
+
var VERSION = true ? "1.7.9" : "dev";
|
|
3554
3554
|
async function collectContext() {
|
|
3555
3555
|
const nodeVersion = process22.version;
|
|
3556
3556
|
const os3 = `${process22.platform} ${process22.arch}`;
|
|
@@ -3790,7 +3790,7 @@ function handleError(err) {
|
|
|
3790
3790
|
}
|
|
3791
3791
|
|
|
3792
3792
|
// src/cli/index.ts
|
|
3793
|
-
var CLI_VERSION = true ? "1.7.
|
|
3793
|
+
var CLI_VERSION = true ? "1.7.9" : "dev";
|
|
3794
3794
|
var main = defineCommand23({
|
|
3795
3795
|
meta: {
|
|
3796
3796
|
name: "clawops",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
MCP_HTTP_PORT
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GZN7PKP4.js";
|
|
5
5
|
import "./chunk-35WVQY3X.js";
|
|
6
6
|
import "./chunk-6ZFIFDBJ.js";
|
|
7
7
|
import "./chunk-BOPSG2LI.js";
|
|
8
8
|
import "./chunk-3QJBNAHW.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-A4QR4TXW.js";
|
|
10
10
|
import "./chunk-6X45DDGH.js";
|
|
11
11
|
import "./chunk-FNS56UQY.js";
|
|
12
12
|
import "./chunk-DQDAWNGB.js";
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
bearerFrom,
|
|
6
6
|
isLoopbackBind,
|
|
7
7
|
serveMcp
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GZN7PKP4.js";
|
|
9
9
|
import "./chunk-35WVQY3X.js";
|
|
10
10
|
import "./chunk-6ZFIFDBJ.js";
|
|
11
11
|
import "./chunk-BOPSG2LI.js";
|
|
12
12
|
import "./chunk-3QJBNAHW.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-A4QR4TXW.js";
|
|
14
14
|
import "./chunk-6X45DDGH.js";
|
|
15
15
|
import "./chunk-FNS56UQY.js";
|
|
16
16
|
import "./chunk-DQDAWNGB.js";
|