ccgather 1.3.3 → 1.3.4
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.js +2 -21
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -624,7 +624,7 @@ async function submitToServer(data) {
|
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
626
|
async function submit(options) {
|
|
627
|
-
printCompactHeader("1.
|
|
627
|
+
printCompactHeader("1.3.4");
|
|
628
628
|
console.log(header("Submit Usage Data", "\u{1F4E4}"));
|
|
629
629
|
if (!isAuthenticated()) {
|
|
630
630
|
console.log(`
|
|
@@ -699,25 +699,6 @@ async function submit(options) {
|
|
|
699
699
|
console.log(`
|
|
700
700
|
${success(`Using ${dataSource}`)}`);
|
|
701
701
|
}
|
|
702
|
-
if (!usageData.ccplan) {
|
|
703
|
-
const inquirer4 = await import("inquirer");
|
|
704
|
-
const { selectedCCplan } = await inquirer4.default.prompt([
|
|
705
|
-
{
|
|
706
|
-
type: "list",
|
|
707
|
-
name: "selectedCCplan",
|
|
708
|
-
message: colors.muted("Select your Claude plan:"),
|
|
709
|
-
choices: [
|
|
710
|
-
{ name: "\u{1F680} Max", value: "max" },
|
|
711
|
-
{ name: "\u26A1 Pro", value: "pro" },
|
|
712
|
-
{ name: "\u26AA Free", value: "free" },
|
|
713
|
-
{ name: "\u{1F465} Team / Enterprise", value: "team" },
|
|
714
|
-
{ name: "\u23ED\uFE0F Skip", value: null }
|
|
715
|
-
],
|
|
716
|
-
default: "free"
|
|
717
|
-
}
|
|
718
|
-
]);
|
|
719
|
-
usageData.ccplan = selectedCCplan;
|
|
720
|
-
}
|
|
721
702
|
console.log();
|
|
722
703
|
const summaryLines = [
|
|
723
704
|
`${colors.muted("Total Cost")} ${colors.success(formatCost(usageData.totalCost))}`,
|
|
@@ -1876,7 +1857,7 @@ async function scan(options = {}) {
|
|
|
1876
1857
|
init_ui();
|
|
1877
1858
|
init_config();
|
|
1878
1859
|
init_api();
|
|
1879
|
-
var VERSION = "1.3.
|
|
1860
|
+
var VERSION = "1.3.4";
|
|
1880
1861
|
var pkg = { name: "ccgather", version: VERSION };
|
|
1881
1862
|
var notifier = (0, import_update_notifier.default)({ pkg, updateCheckInterval: 1e3 * 60 * 60 });
|
|
1882
1863
|
notifier.notify({
|