@jive-ai/cli 0.0.5 → 0.0.7
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 +6 -31
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1862,10 +1862,6 @@ async function doctorCommand() {
|
|
|
1862
1862
|
name: "Subagent Runner",
|
|
1863
1863
|
result: await checkSubagentRunner()
|
|
1864
1864
|
});
|
|
1865
|
-
results.push({
|
|
1866
|
-
name: "Telemetry Plugin",
|
|
1867
|
-
result: await checkPlugin()
|
|
1868
|
-
});
|
|
1869
1865
|
results.push({
|
|
1870
1866
|
name: "Plugin Config",
|
|
1871
1867
|
result: await checkPluginConfig()
|
|
@@ -1987,37 +1983,12 @@ async function checkSubagentRunner() {
|
|
|
1987
1983
|
};
|
|
1988
1984
|
}
|
|
1989
1985
|
}
|
|
1990
|
-
async function checkPlugin() {
|
|
1991
|
-
const pluginStatus = await getPluginStatus();
|
|
1992
|
-
if (!pluginStatus.installed) return {
|
|
1993
|
-
status: "warn",
|
|
1994
|
-
message: "Telemetry plugin not installed",
|
|
1995
|
-
details: "Subagent execution tracking will not work",
|
|
1996
|
-
fix: "Run \"jive init\" to install the plugin, or see SUBAGENT_VISIBILITY.md"
|
|
1997
|
-
};
|
|
1998
|
-
try {
|
|
1999
|
-
const pluginJsonPath = path.join(pluginStatus.pluginPath, ".claude-plugin", "plugin.json");
|
|
2000
|
-
await fs.access(pluginJsonPath);
|
|
2001
|
-
return {
|
|
2002
|
-
status: "pass",
|
|
2003
|
-
message: "Telemetry plugin installed",
|
|
2004
|
-
details: pluginStatus.pluginPath
|
|
2005
|
-
};
|
|
2006
|
-
} catch {
|
|
2007
|
-
return {
|
|
2008
|
-
status: "warn",
|
|
2009
|
-
message: "Plugin installation incomplete",
|
|
2010
|
-
details: "Plugin directory exists but files are missing",
|
|
2011
|
-
fix: "Run \"jive init\" to reinstall the plugin"
|
|
2012
|
-
};
|
|
2013
|
-
}
|
|
2014
|
-
}
|
|
2015
1986
|
async function checkPluginConfig() {
|
|
2016
1987
|
const pluginStatus = await getPluginStatus();
|
|
2017
1988
|
if (!pluginStatus.configured) return {
|
|
2018
1989
|
status: "warn",
|
|
2019
1990
|
message: "Plugin not configured",
|
|
2020
|
-
details: "Missing .jive/config.json
|
|
1991
|
+
details: "Missing .jive/config.json",
|
|
2021
1992
|
fix: "Run \"jive init\" to create plugin configuration"
|
|
2022
1993
|
};
|
|
2023
1994
|
try {
|
|
@@ -2093,10 +2064,14 @@ async function checkTeamMembership() {
|
|
|
2093
2064
|
}
|
|
2094
2065
|
}
|
|
2095
2066
|
|
|
2067
|
+
//#endregion
|
|
2068
|
+
//#region package.json
|
|
2069
|
+
var version = "0.0.7";
|
|
2070
|
+
|
|
2096
2071
|
//#endregion
|
|
2097
2072
|
//#region src/index.ts
|
|
2098
2073
|
const program = new Command();
|
|
2099
|
-
program.name("jive").description("CLI tool for managing MCP servers, tools, and subagents across teams").version(
|
|
2074
|
+
program.name("jive").description("CLI tool for managing MCP servers, tools, and subagents across teams").version(version);
|
|
2100
2075
|
program.command("login").description("Authenticate with the Jive platform").action(loginCommand);
|
|
2101
2076
|
program.command("signup").description("Create a new account").action(signupCommand);
|
|
2102
2077
|
program.command("logout").description("Clear authentication credentials").action(logoutCommand);
|