@clawops/cli 1.1.0 → 1.2.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/README.md +3 -2
- package/dist/apply-KBF7OPWL.js +14 -0
- package/dist/{automation-JG2YBEL7.js → automation-RULUSJBW.js} +2 -2
- package/dist/{aws-A3323GNM.js → aws-KQBWY43W.js} +12 -10
- package/dist/{azure-LNWBK2ZI.js → azure-4EJFVJZL.js} +4 -3
- package/dist/{bootstrap-7ZS2GLFJ.js → bootstrap-UYCOEJQX.js} +48 -12
- package/dist/{chunk-LT24GUUO.js → chunk-3QJBNAHW.js} +1 -1
- package/dist/{chunk-BA6MDFZK.js → chunk-4U3LTLWZ.js} +2 -83
- package/dist/{chunk-PERSDQMT.js → chunk-ACYJBSLJ.js} +7 -7
- package/dist/chunk-BOPSG2LI.js +77 -0
- package/dist/{chunk-PRYLTCS4.js → chunk-BRPU7AQC.js} +1 -1
- package/dist/{chunk-ALSUDYA7.js → chunk-CX5SL5HP.js} +1 -1
- package/dist/{chunk-ZSE4QRKE.js → chunk-KGXPLI7W.js} +19 -1
- package/dist/chunk-LU63NZD3.js +116 -0
- package/dist/chunk-QJ6ERXHN.js +266 -0
- package/dist/{chunk-D4UAHAKI.js → chunk-QMXM2SMO.js} +10 -6
- package/dist/chunk-UDNZUSKA.js +97 -0
- package/dist/chunk-ZVOEQCNW.js +92 -0
- package/dist/cli.js +1256 -60
- package/dist/context-VUAYRAJY.js +10 -0
- package/dist/errors-OK47MQFD.js +21 -0
- package/dist/{gcp-OHWCTFLL.js → gcp-SKURG3L6.js} +4 -3
- package/dist/generate-WG5VONSE.js +14 -0
- package/dist/js-yaml-PTEEG4FO.js +2647 -0
- package/dist/{outputs-6DAVEEAZ.js → outputs-DJHBY7EE.js} +2 -2
- package/dist/{package-FA6UOG2I.js → package-3JZ767DN.js} +1 -1
- package/dist/{pool-FAVU7WCW.js → pool-FBFHATDG.js} +3 -2
- package/dist/remote-config-JQ77SRC2.js +21 -0
- package/dist/secrets-SVZWNAPK.js +7 -0
- package/dist/{server-V5ZFL76Y.js → server-QJRWK2RV.js} +64 -150
- package/dist/ssh-IQXNME3D.js +8 -0
- package/dist/{store-ARJ2EO6L.js → store-SDUR52Z5.js} +2 -2
- package/package.json +1 -1
- package/dist/apply-DPS23GLL.js +0 -12
- package/dist/chunk-UCIVU24B.js +0 -56
- package/dist/context-T52JWL3P.js +0 -10
- package/dist/generate-55MITRXU.js +0 -14
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
AuthError,
|
|
4
|
+
CancelledError,
|
|
5
|
+
ClawopsError,
|
|
6
|
+
NetworkError,
|
|
7
|
+
OperationalError,
|
|
8
|
+
ProviderError,
|
|
9
|
+
StateError,
|
|
10
|
+
UsageError
|
|
11
|
+
} from "./chunk-KGXPLI7W.js";
|
|
12
|
+
export {
|
|
13
|
+
AuthError,
|
|
14
|
+
CancelledError,
|
|
15
|
+
ClawopsError,
|
|
16
|
+
NetworkError,
|
|
17
|
+
OperationalError,
|
|
18
|
+
ProviderError,
|
|
19
|
+
StateError,
|
|
20
|
+
UsageError
|
|
21
|
+
};
|
|
@@ -14,7 +14,7 @@ var gcpProgram = async () => {
|
|
|
14
14
|
const cfg = new pulumi.Config();
|
|
15
15
|
const instanceType = cfg.get("instanceType") ?? "e2-standard-2";
|
|
16
16
|
const region = cfg.get("region") ?? "us-central1";
|
|
17
|
-
const openclawVersion = cfg.get("openclawVersion") ?? "
|
|
17
|
+
const openclawVersion = cfg.get("openclawVersion") ?? "latest";
|
|
18
18
|
const zone = cfg.get("zone") ?? `${region}-a`;
|
|
19
19
|
const network = new gcp.compute.Network("clawops-network", {
|
|
20
20
|
autoCreateSubnetworks: false,
|
|
@@ -112,7 +112,7 @@ docker pull ghcr.io/openclaw/openclaw:\${OPENCLAW_VERSION}
|
|
|
112
112
|
OPENCLAW_CONFIG=/home/clawops/openclaw.json
|
|
113
113
|
if [ ! -f "\${OPENCLAW_CONFIG}" ]; then
|
|
114
114
|
cat > "\${OPENCLAW_CONFIG}" <<'OPENCLAWJSON'
|
|
115
|
-
{"
|
|
115
|
+
{"meta":{"lastTouchedVersion":"2026.4"},"gateway":{"port":18789,"auth":{"mode":"token"}},"models":{},"channels":{}}
|
|
116
116
|
OPENCLAWJSON
|
|
117
117
|
chown clawops:clawops "\${OPENCLAW_CONFIG}"
|
|
118
118
|
fi
|
|
@@ -125,7 +125,8 @@ docker run -d \\
|
|
|
125
125
|
--restart unless-stopped \\
|
|
126
126
|
-p ${GATEWAY_PORT}:${GATEWAY_PORT} \\
|
|
127
127
|
-v "\${OPENCLAW_CONFIG}":/app/config.json:ro \\
|
|
128
|
-
ghcr.io/openclaw/openclaw:\${OPENCLAW_VERSION}
|
|
128
|
+
ghcr.io/openclaw/openclaw:\${OPENCLAW_VERSION} \\
|
|
129
|
+
node openclaw.mjs gateway run --allow-unconfigured
|
|
129
130
|
`;
|
|
130
131
|
}
|
|
131
132
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
generatePlan,
|
|
4
|
+
planId
|
|
5
|
+
} from "./chunk-QMXM2SMO.js";
|
|
6
|
+
import "./chunk-YTH4L2GN.js";
|
|
7
|
+
import "./chunk-ACYJBSLJ.js";
|
|
8
|
+
import "./chunk-BRPU7AQC.js";
|
|
9
|
+
import "./chunk-CX5SL5HP.js";
|
|
10
|
+
import "./chunk-KGXPLI7W.js";
|
|
11
|
+
export {
|
|
12
|
+
generatePlan,
|
|
13
|
+
planId
|
|
14
|
+
};
|