@jive-ai/cli 0.0.40 → 0.0.42
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/index.mjs +10 -14
- package/package.json +3 -6
package/dist/index.mjs
CHANGED
|
@@ -156,15 +156,6 @@ async function isProjectInitialized() {
|
|
|
156
156
|
return await getProjectConfig() !== null;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
//#endregion
|
|
160
|
-
//#region src/runner/task/debugLog.ts
|
|
161
|
-
function debugLog(message) {
|
|
162
|
-
console.log(JSON.stringify({
|
|
163
|
-
type: "debug_log",
|
|
164
|
-
message
|
|
165
|
-
}).replace(/\n/g, "\\n"));
|
|
166
|
-
}
|
|
167
|
-
|
|
168
159
|
//#endregion
|
|
169
160
|
//#region src/constants.ts
|
|
170
161
|
const API_URL = process.env.JIVE_API_URL || "https://getjive.app";
|
|
@@ -182,10 +173,6 @@ function isDevMode() {
|
|
|
182
173
|
];
|
|
183
174
|
return process.env.NODE_ENV === "development" || localCheck.some((check) => API_URL.includes(check)) || localCheck.some((check) => WS_URL.includes(check));
|
|
184
175
|
}
|
|
185
|
-
debugLog(`[Constants] isDevMode: ${isDevMode()}`);
|
|
186
|
-
debugLog(`[Constants] NODE_ENV: ${process.env.NODE_ENV}`);
|
|
187
|
-
debugLog(`[Constants] API_URL: ${API_URL}`);
|
|
188
|
-
debugLog(`[Constants] WS_URL: ${WS_URL}`);
|
|
189
176
|
|
|
190
177
|
//#endregion
|
|
191
178
|
//#region src/commands/auth.ts
|
|
@@ -3457,7 +3444,7 @@ async function createGraphQLClient() {
|
|
|
3457
3444
|
|
|
3458
3445
|
//#endregion
|
|
3459
3446
|
//#region package.json
|
|
3460
|
-
var version = "0.0.
|
|
3447
|
+
var version = "0.0.42";
|
|
3461
3448
|
|
|
3462
3449
|
//#endregion
|
|
3463
3450
|
//#region src/runner/index.ts
|
|
@@ -3849,6 +3836,15 @@ var TaskRunner = class {
|
|
|
3849
3836
|
}
|
|
3850
3837
|
};
|
|
3851
3838
|
|
|
3839
|
+
//#endregion
|
|
3840
|
+
//#region src/runner/task/debugLog.ts
|
|
3841
|
+
function debugLog(message) {
|
|
3842
|
+
console.log(JSON.stringify({
|
|
3843
|
+
type: "debug_log",
|
|
3844
|
+
message
|
|
3845
|
+
}).replace(/\n/g, "\\n"));
|
|
3846
|
+
}
|
|
3847
|
+
|
|
3852
3848
|
//#endregion
|
|
3853
3849
|
//#region src/runner/query.ts
|
|
3854
3850
|
async function queryClaude(prompt, mcpServer, opts) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": false,
|
|
3
3
|
"name": "@jive-ai/cli",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.42",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -15,11 +15,8 @@
|
|
|
15
15
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
16
16
|
"typecheck": "tsc --noEmit",
|
|
17
17
|
"build": "tsdown && npm pack && npm install -g jive-ai-cli-*.tgz",
|
|
18
|
-
"docker:build": "
|
|
19
|
-
"docker:
|
|
20
|
-
"docker:build:public": "touch jive-ai-cli-0.0.0.tgz && docker buildx build --platform linux/amd64 -t jiveai/task:latest -t jiveai/task:$npm_package_version . && rm -f jive-ai-cli-*.tgz",
|
|
21
|
-
"docker:push": "docker buildx build --platform linux/amd64 --push -t jiveai/task:latest -t jiveai/task:$npm_package_version .",
|
|
22
|
-
"docker:publish": "touch jive-ai-cli-0.0.0.tgz && docker buildx build --platform linux/amd64 --push -t jiveai/task:latest -t jiveai/task:$npm_package_version . && rm -f jive-ai-cli-*.tgz",
|
|
18
|
+
"docker:build": "bun run build && .docker/build.sh",
|
|
19
|
+
"docker:push": ".docker/build.sh --push",
|
|
23
20
|
"prepublishOnly": "npm run typecheck && npm run build"
|
|
24
21
|
},
|
|
25
22
|
"author": "",
|