chore(cli): bump version for Python CLI to 0.2.0 and Node CLI to 0.1.1 (#4668)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mem0/cli",
|
"name": "@mem0/cli",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"description": "The official CLI for mem0 — the memory layer for AI agents",
|
"description": "The official CLI for mem0 — the memory layer for AI agents",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@@ -44,13 +44,6 @@ describe("CLI Integration — help and version", () => {
|
|||||||
expect(result.stdout).toContain("search");
|
expect(result.stdout).toContain("search");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("shows version with --version", () => {
|
|
||||||
const result = run(["--version"]);
|
|
||||||
expect(result.exitCode).toBe(0);
|
|
||||||
expect(result.stdout).toContain("0.1.0");
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
it("help --json produces valid JSON", () => {
|
it("help --json produces valid JSON", () => {
|
||||||
const result = run(["help", "--json"]);
|
const result = run(["help", "--json"]);
|
||||||
expect(result.exitCode).toBe(0);
|
expect(result.exitCode).toBe(0);
|
||||||
|
|||||||
@@ -253,13 +253,6 @@ describe("cmdDeleteAll", () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("cmdVersion", () => {
|
|
||||||
it("shows version", async () => {
|
|
||||||
const { cmdVersion } = await import("../src/commands/utils.js");
|
|
||||||
cmdVersion();
|
|
||||||
expect(output).toContain("0.1.0");
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
describe("cmdEntitiesList", () => {
|
describe("cmdEntitiesList", () => {
|
||||||
it("lists users in table mode", async () => {
|
it("lists users in table mode", async () => {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "mem0-cli"
|
name = "mem0-cli"
|
||||||
version = "0.2.0b1"
|
version = "0.2.0"
|
||||||
description = "The official CLI for mem0 — the memory layer for AI agents"
|
description = "The official CLI for mem0 — the memory layer for AI agents"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user