byterover-cli 0.3.1 → 0.3.2

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.
@@ -142,7 +142,8 @@ Bad:
142
142
  });
143
143
  this.log('\nQuery Results:');
144
144
  this.log(response);
145
- await trackingService.track('ace:query');
145
+ // Track query
146
+ await trackingService.track('mem:query');
146
147
  }
147
148
  finally {
148
149
  // console.log('Logic for agent stopping and resource cleanup may go here!')
@@ -47,7 +47,7 @@ export default class Status extends Command {
47
47
  };
48
48
  }
49
49
  async run() {
50
- const { contextTreeService, contextTreeSnapshotService, projectConfigStore, tokenStore } = this.createServices();
50
+ const { contextTreeService, contextTreeSnapshotService, projectConfigStore, tokenStore, trackingService } = this.createServices();
51
51
  this.log(`CLI Version: ${this.config.version}`);
52
52
  try {
53
53
  const token = await tokenStore.load();
@@ -116,6 +116,8 @@ export default class Status extends Command {
116
116
  for (const change of allChanges) {
117
117
  this.log(`\t${change.color(`${change.status.padEnd(10)} ${formatPath(change.path)}`)}`);
118
118
  }
119
+ // Track status
120
+ await trackingService.track('mem:status');
119
121
  }
120
122
  catch (error) {
121
123
  this.log('Context Tree: Unable to check status');
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Array of all supported Events.
3
3
  */
4
- export declare const EVENT_VALUES: readonly ["auth:signed_in", "auth:signed_out", "space:init", "space:changed", "rule:generate", "ace:update_bullet", "ace:remove_bullet", "ace:view_status", "ace:query", "mem:curate", "mem:pull", "mem:push", "mem:retrieve"];
4
+ export declare const EVENT_VALUES: readonly ["auth:signed_in", "auth:signed_out", "space:init", "space:changed", "rule:generate", "mem:status", "mem:curate", "mem:pull", "mem:push", "mem:query"];
5
5
  export type EventName = (typeof EVENT_VALUES)[number];
6
6
  export interface PropertyDict {
7
7
  [key: string]: any;
@@ -7,12 +7,9 @@ export const EVENT_VALUES = [
7
7
  'space:init',
8
8
  'space:changed',
9
9
  'rule:generate',
10
- 'ace:update_bullet',
11
- 'ace:remove_bullet',
12
- 'ace:view_status',
13
- 'ace:query',
10
+ 'mem:status',
14
11
  'mem:curate',
15
12
  'mem:pull',
16
13
  'mem:push',
17
- 'mem:retrieve',
14
+ 'mem:query',
18
15
  ];
@@ -759,5 +759,5 @@
759
759
  ]
760
760
  }
761
761
  },
762
- "version": "0.3.1"
762
+ "version": "0.3.2"
763
763
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "byterover-cli",
3
3
  "description": "ByteRover's CLI",
4
- "version": "0.3.1",
4
+ "version": "0.3.2",
5
5
  "author": "ByteRover",
6
6
  "bin": {
7
7
  "brv": "./bin/run.js"