@standards/cli 1.0.0-alpha.398 → 1.0.0-alpha.400

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.
Files changed (2) hide show
  1. package/dist/bin.mjs +1 -8
  2. package/package.json +4 -4
package/dist/bin.mjs CHANGED
@@ -1787,19 +1787,12 @@ function registerMeetingsCommand(program) {
1787
1787
  //#endregion
1788
1788
  //#region src/commands/memory.ts
1789
1789
  function registerMemoryCommand(program) {
1790
- const memory = program.command("memory").description("Maintain agent memory");
1791
- memory.command("backfill").description("Rebuild agent memory from the tenant's last 30 days of sessions and meetings").option("--yes", "backfill without confirmation").action(async (opts, cmd) => {
1790
+ program.command("memory").description("Maintain agent memory").command("backfill").description("Rebuild agent memory from the tenant's last 30 days of sessions and meetings").option("--yes", "backfill without confirmation").action(async (opts, cmd) => {
1792
1791
  if (!opts.yes) throw new ValidationError("A memory backfill spends model calls on the last 30 days of evidence. Re-run with \"--yes\" to confirm.", []);
1793
1792
  const tenant = requireTenant(cmd, "A memory backfill names its tenant explicitly. Pass \"--tenant <id>\" with the tenant you are authenticated in.");
1794
1793
  await getAppClientFromCommand(cmd).memoryAdmin.backfill({ tenantId: tenant });
1795
1794
  process.stdout.write(`${styleText("green", "✓")} Memory backfill queued for tenant ${tenant}. It runs in the background — follow the server logs for progress.\n`);
1796
1795
  });
1797
- memory.command("activity").description("Compute the tenant's weekly activity digest now (observed practices)").option("--yes", "run without confirmation").action(async (opts, cmd) => {
1798
- if (!opts.yes) throw new ValidationError("The activity digest reads the last 30 days of the workspace's activity and spends one model call per active person. Re-run with \"--yes\" to confirm.", []);
1799
- const tenant = requireTenant(cmd, "The activity digest names its tenant explicitly. Pass \"--tenant <id>\" with the tenant you are authenticated in.");
1800
- await getAppClientFromCommand(cmd).memoryAdmin.activity({ tenantId: tenant });
1801
- process.stdout.write(`${styleText("green", "✓")} Activity digest queued for tenant ${tenant}. The digest runs in the background.\n`);
1802
- });
1803
1796
  }
1804
1797
  //#endregion
1805
1798
  //#region src/drift/reconciliation-prompt.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@standards/cli",
3
- "version": "1.0.0-alpha.398",
3
+ "version": "1.0.0-alpha.400",
4
4
  "description": "CLI tool to interact with Standards API",
5
5
  "type": "module",
6
6
  "bin": {
@@ -28,9 +28,9 @@
28
28
  "jiti": "2.7.0",
29
29
  "typescript": "^5.6.3",
30
30
  "ws": "8.21.1",
31
- "@standards/client": "1.0.0-alpha.398",
32
- "@standards/constants": "1.0.0-alpha.398",
33
- "@standards/schema": "1.0.0-alpha.398"
31
+ "@standards/client": "1.0.0-alpha.400",
32
+ "@standards/constants": "1.0.0-alpha.400",
33
+ "@standards/schema": "1.0.0-alpha.400"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^25.6.0",