@c3-oss/prosa 0.6.1 → 0.8.0

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/package.json CHANGED
@@ -1,106 +1,77 @@
1
1
  {
2
2
  "name": "@c3-oss/prosa",
3
- "version": "0.6.1",
4
- "description": "Compile, search, and export local agent session histories (Cursor, Codex, Claude Code, Gemini CLI) into a single canonical store.",
3
+ "version": "0.8.0",
4
+ "description": "Compile, search, and export local agent session histories (Cursor, Codex, Claude Code, Gemini CLI, Hermes) into a single canonical store.",
5
5
  "author": "Caian Ertl <hi@caian.org>",
6
6
  "license": "MIT",
7
+ "type": "module",
7
8
  "homepage": "https://github.com/c3-oss/prosa#readme",
8
9
  "bugs": {
9
10
  "url": "https://github.com/c3-oss/prosa/issues"
10
11
  },
11
12
  "repository": {
12
13
  "type": "git",
13
- "url": "git+https://github.com/c3-oss/prosa.git"
14
+ "url": "git+https://github.com/c3-oss/prosa.git",
15
+ "directory": "apps/cli"
14
16
  },
15
- "type": "module",
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "main": "./dist/index.js",
21
+ "types": "./dist/index.d.ts",
16
22
  "exports": {
17
23
  ".": {
18
24
  "import": "./dist/index.js",
19
25
  "types": "./dist/index.d.ts"
20
26
  }
21
27
  },
22
- "main": "./dist/index.js",
23
- "types": "./dist/index.d.ts",
24
28
  "bin": {
25
29
  "prosa": "./dist/bin/prosa.js"
26
30
  },
27
- "files": [
28
- "dist"
29
- ],
31
+ "typedocOptions": {
32
+ "entryPoints": [
33
+ "src/index.ts"
34
+ ],
35
+ "tsconfig": "tsconfig.json"
36
+ },
30
37
  "publishConfig": {
31
38
  "access": "public",
32
39
  "registry": "https://registry.npmjs.org/"
33
40
  },
34
- "engines": {
35
- "node": ">=22.15.1 <27"
36
- },
37
41
  "dependencies": {
38
- "@duckdb/node-api": "1.5.2-r.1",
39
- "@modelcontextprotocol/sdk": "^1.29.0",
40
- "@noble/hashes": "^1.7.0",
41
- "@oxdev03/node-tantivy-binding": "0.2.0",
42
- "better-sqlite3": "^12.10.0",
42
+ "@inkjs/ui": "^2.0.0",
43
43
  "commander": "^12.1.0",
44
- "filtrex": "^3.1.0",
45
44
  "ink": "^7.0.1",
46
45
  "pino": "^10.3.1",
47
46
  "pino-pretty": "^13.1.3",
48
47
  "react": "^19.2.5",
49
- "zod": "^3.23.8",
50
- "zstd-napi": "^0.0.10"
48
+ "@c3-oss/prosa-core": "^0.8.0",
49
+ "@c3-oss/prosa-sync": "^0.0.0"
51
50
  },
52
51
  "devDependencies": {
53
- "@biomejs/biome": "^1.9.4",
54
52
  "@c3-oss/config-biome": "^0.3.1",
55
53
  "@c3-oss/config-tsup": "^0.2.0",
56
54
  "@c3-oss/config-typescript": "^0.1.0",
57
55
  "@c3-oss/config-vitest": "^0.3.0",
58
- "@changesets/cli": "^2.29.7",
59
- "@commitlint/cli": "^20.5.3",
60
- "@commitlint/config-conventional": "^20.5.3",
61
- "@commitlint/cz-commitlint": "^20.5.3",
62
- "@swc-node/register": "^1.10.10",
63
- "@swc/core": "^1.13.5",
56
+ "@aws-sdk/client-s3": "^3.700.0",
57
+ "@electric-sql/pglite": "^0.4.5",
58
+ "postgres": "^3.4.9",
64
59
  "@types/better-sqlite3": "^7.6.12",
65
- "@types/node": "^22.10.0",
66
60
  "@types/react": "^19.2.14",
67
- "@vitest/coverage-v8": "2.1.9",
68
- "commitizen": "^4.3.1",
69
- "husky": "^9.1.7",
70
- "inquirer": "^9.3.8",
71
- "lint-staged": "^17.0.2",
72
- "tsup": "^8.5.0",
73
- "typescript": "^5.7.0",
74
- "vitest": "^2.1.0"
75
- },
76
- "optionalDependencies": {
77
- "@oxdev03/node-tantivy-binding-darwin-arm64": "0.2.0",
78
- "@oxdev03/node-tantivy-binding-darwin-x64": "0.2.0",
79
- "@oxdev03/node-tantivy-binding-linux-x64-gnu": "0.2.0",
80
- "@oxdev03/node-tantivy-binding-win32-x64-msvc": "0.2.0"
81
- },
82
- "config": {
83
- "commitizen": {
84
- "path": "@commitlint/cz-commitlint"
85
- }
86
- },
87
- "lint-staged": {
88
- "*.{ts,tsx,js,jsx,json,jsonc}": "biome check --write"
61
+ "better-sqlite3": "^12.10.0",
62
+ "@c3-oss/prosa-db": "^0.0.0",
63
+ "@c3-oss/prosa-api": "^0.0.0",
64
+ "@c3-oss/prosa-storage": "^0.0.0"
89
65
  },
90
66
  "scripts": {
91
- "dev": "node --import @swc-node/register/esm-register src/bin/prosa.ts",
67
+ "dev": "node --conditions=prosa-dev --import @swc-node/register/esm-register src/bin/prosa.ts",
92
68
  "build": "tsup",
93
- "lint": "biome check .",
94
- "lint:fix": "biome check --fix .",
95
- "format": "biome format --write .",
69
+ "typecheck": "tsc --noEmit",
96
70
  "test": "vitest run",
97
71
  "test:watch": "vitest",
98
72
  "test:coverage": "vitest run --coverage",
99
- "typecheck": "tsc --noEmit",
100
- "clean": "rm -rf coverage dist .turbo",
101
- "changeset": "changeset",
102
- "version-packages": "changeset version",
103
- "release": "pnpm build && changeset publish",
104
- "commit": "cz"
73
+ "lint": "biome check .",
74
+ "lint:fix": "biome check --fix .",
75
+ "clean": "rm -rf dist coverage .turbo"
105
76
  }
106
77
  }