bkper 4.8.0 → 4.8.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"run-agent-mode.d.ts","sourceRoot":"","sources":["../../src/agent/run-agent-mode.ts"],"names":[],"mappings":"AASA,KAAK,wBAAwB,GAAG;IAC5B,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3B,CAAC;AAEF,MAAM,WAAW,qBAAqB;IAClC,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;IACrD,aAAa,EAAE,CAAC,OAAO,EAAE;QACrB,cAAc,EAAE,wBAAwB,CAAC;KAC5C,KAAK,OAAO,CAAC;QACV,OAAO,EAAE,OAAO,CAAC;QACjB,oBAAoB,CAAC,EAAE,MAAM,CAAC;KACjC,CAAC,CAAC;IACH,qBAAqB,EAAE,CACnB,OAAO,EAAE,OAAO,EAChB,oBAAoB,CAAC,EAAE,MAAM,KAC5B;QACD,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;KACxB,CAAC;CACL;AA4BD,wBAAsB,YAAY,CAC9B,YAAY,GAAE,qBAAmD,GAClE,OAAO,CAAC,IAAI,CAAC,CAQf"}
1
+ {"version":3,"file":"run-agent-mode.d.ts","sourceRoot":"","sources":["../../src/agent/run-agent-mode.ts"],"names":[],"mappings":"AASA,KAAK,wBAAwB,GAAG;IAC5B,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3B,CAAC;AAEF,MAAM,WAAW,qBAAqB;IAClC,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;IACrD,aAAa,EAAE,CAAC,OAAO,EAAE;QACrB,cAAc,EAAE,wBAAwB,CAAC;KAC5C,KAAK,OAAO,CAAC;QACV,OAAO,EAAE,OAAO,CAAC;QACjB,oBAAoB,CAAC,EAAE,MAAM,CAAC;KACjC,CAAC,CAAC;IACH,qBAAqB,EAAE,CACnB,OAAO,EAAE,OAAO,EAChB,oBAAoB,CAAC,EAAE,MAAM,KAC5B;QACD,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;KACxB,CAAC;CACL;AA4BD,wBAAsB,YAAY,CAC9B,YAAY,GAAE,qBAAmD,GAClE,OAAO,CAAC,IAAI,CAAC,CAUf"}
@@ -34,6 +34,9 @@ function createDefaultDependencies() {
34
34
  }
35
35
  export function runAgentMode() {
36
36
  return __awaiter(this, arguments, void 0, function* (dependencies = createDefaultDependencies()) {
37
+ var _a;
38
+ var _b;
39
+ (_a = (_b = process.env).PI_SKIP_VERSION_CHECK) !== null && _a !== void 0 ? _a : (_b.PI_SKIP_VERSION_CHECK = '1');
37
40
  const resourceLoader = dependencies.createResourceLoader();
38
41
  yield resourceLoader.reload();
39
42
  const { session, modelFallbackMessage } = yield dependencies.createSession({ resourceLoader });
@@ -1 +1 @@
1
- {"version":3,"file":"run-agent-mode.js","sourceRoot":"","sources":["../../src/agent/run-agent-mode.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACH,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,GAGlB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAsB/D,SAAS,yBAAyB;IAC9B,OAAO;QACH,oBAAoB,EAAE,GAAG,EAAE,CACvB,IAAI,qBAAqB,CAAC;YACtB,oBAAoB,EAAE,GAAG,EAAE,CAAC,yBAAyB;YACrD,0BAA0B,EAAE,GAAG,EAAE,CAAC,EAAE;YACpC,kBAAkB,EAAE;gBAChB,CAAC,EAAgB,EAAE,EAAE;oBACjB,EAAE,CAAC,EAAE,CAAC,eAAe,EAAE,CAAO,MAAM,EAAE,GAAG,EAAE,EAAE;wBACzC,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;oBAChD,CAAC,CAAA,CAAC,CAAC;gBACP,CAAC;aACJ;SACJ,CAAC;QACN,aAAa,EAAE,K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EAAE,CAAC,MAAM,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;oBAChD,CAAC,CAAA,CAAC,CAAC;gBACP,CAAC;aACJ;SACJ,CAAC;QACN,aAAa,EAAE,KAA2B,EAAE,0CAAtB,EAAE,cAAc,EAAE;YACpC,OAAA,kBAAkB,CAAC;gBACf,cAAc,EACV,cAA0E;aACjF,CAAC,CAAA;UAAA;QACN,qBAAqB,EAAE,CAAC,OAAO,EAAE,oBAAoB,EAAE,EAAE,CACrD,IAAI,eAAe,CAAC,OAA2D,EAAE;YAC7E,oBAAoB;SACvB,CAAC;KACT,CAAC;AACN,CAAC;AAED,MAAM,UAAgB,YAAY;yDAC9B,eAAsC,yBAAyB,EAAE;;;QAEjE,YAAA,OAAO,CAAC,GAAG,EAAC,qBAAqB,uCAArB,qBAAqB,GAAK,GAAG,EAAC;QAE1C,MAAM,cAAc,GAAG,YAAY,CAAC,oBAAoB,EAAE,CAAC;QAC3D,MAAM,cAAc,CAAC,MAAM,EAAE,CAAC;QAE9B,MAAM,EAAE,OAAO,EAAE,oBAAoB,EAAE,GAAG,MAAM,YAAY,CAAC,aAAa,CAAC,EAAE,cAAc,EAAE,CAAC,CAAC;QAC/F,MAAM,IAAI,GAAG,YAAY,CAAC,qBAAqB,CAAC,OAAO,EAAE,oBAAoB,CAAC,CAAC;QAE/E,MAAM,IAAI,CAAC,GAAG,EAAE,CAAC;IACrB,CAAC;CAAA"}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "bkper",
3
- "version": "4.8.0",
3
+ "version": "4.8.3",
4
4
  "description": "Command line client for Bkper",
5
5
  "bin": {
6
6
  "bkper": "./lib/cli.js"
7
7
  },
8
- "repository": "https://github.com/bkper/bkper-node.git",
8
+ "repository": "https://github.com/bkper/bkper-cli.git",
9
9
  "homepage": "https://bkper.com/docs",
10
10
  "author": "mael <mael@bkper.com>",
11
11
  "license": "Apache-2.0",
package/CHANGELOG.md DELETED
@@ -1,88 +0,0 @@
1
- # Changelog
2
-
3
- ## 2026
4
-
5
- ### **March 2026**
6
-
7
- - **Agent Experience**
8
- - Running `bkper` with no arguments now starts the embedded agent TUI (interactive terminals)
9
- - Added startup maintenance for agent mode with background checks
10
- - **Skills Distribution**
11
- - Skills sync moved to agent startup flow (decoupled from `app init`)
12
- - Added top-level `skills sync` command: `bkper skills sync`
13
- - Standardized skills location to `~/.agents/skills`
14
- - Skills sync state is now colocated at `~/.agents/skills/.bkper-skills.yaml`
15
- - **Pi Bridge**
16
- - Added `bkper agent -- <pi-args...>` passthrough command to run Pi CLI features with Bkper defaults
17
- - **App Development**
18
- - `app init` no longer performs global skills synchronization
19
- - **Documentation**
20
- - Updated README with Agent & Skills behavior, paths, and manual sync guidance
21
-
22
- ### **February 2026**
23
-
24
- - **CLI**
25
- - Added `--format` flag with `table`, `json`, and `csv` output modes — replaces the `--json` flag
26
- - CSV output follows RFC 4180 — raw values, all metadata, no truncation, ideal for spreadsheets and data pipelines
27
- - Batch operations via stdin — pipe JSON or CSV data into create commands for bulk processing
28
- - Table-formatted output is now the default for all commands
29
- - Added `-b, --book` option for scoping commands to a specific [Book](https://bkper.com/docs)
30
- - Added `-p, --properties` repeatable flag for setting custom properties as `key=value` pairs
31
- - [Transaction](https://bkper.com/docs) tables show formatted dates and values with IDs
32
- - [Group](https://bkper.com/docs) tables render as indented trees showing hierarchy
33
- - Single-item commands display as indented key-value pairs
34
- - Removed MCP server — now maintained as a separate project
35
- - **Data Management**
36
- - Added batch create for [Account](https://bkper.com/docs)s, [Group](https://bkper.com/docs)s, and [Transaction](https://bkper.com/docs)s — accepts JSON arrays or CSV via stdin
37
- - Added [Book](https://bkper.com/docs) create command
38
- - Added [Collection](https://bkper.com/docs) commands: create, list, get, update, delete, add-book, remove-book
39
- - Added [Transaction](https://bkper.com/docs) update command
40
- - Renamed `balance get` to `balance list` for consistency
41
- - **Authentication**
42
- - Switched to PKCE-based OAuth flow — no client secret required
43
- - Branded OAuth callback pages for a polished sign-in experience
44
- - **App Development**
45
- - Local development now uses Cloudflare Tunnel for event handling — no cloud deployment needed during development
46
- - Renamed `dev` environment to `preview` for clarity
47
- - Added `--no-open` flag to suppress automatic browser launch during dev
48
-
49
- ### **January 2026**
50
-
51
- - **App Platform**
52
- - Added [`app init`](https://bkper.com/docs) command to scaffold new apps from template
53
- - Added [`app deploy`](https://bkper.com/docs) and [`app undeploy`](https://bkper.com/docs) commands for managing deployments
54
- - Added [`app status`](https://bkper.com/docs) to view current deployment information
55
- - Added [`app dev`](https://bkper.com/docs) and [`app build`](https://bkper.com/docs) commands for local development and build workflows
56
- - Added [`app secrets`](https://bkper.com/docs) management — put, list, and delete secrets for your apps
57
- - Added [`app sync`](https://bkper.com/docs) command to push `bkper.yaml` configuration to the platform
58
- - Support for shared packages in monorepo setups with hot reload
59
- - Asset file uploads included in deployments
60
- - Migrated app configuration from `bkperapp.yaml` to `bkper.yaml`
61
-
62
- ## 2025
63
-
64
- ### **October 2025**
65
-
66
- - **MCP Server**
67
- - Added smart [Transaction](https://bkper.com/docs) merging — combine multiple transactions based on date and account matching
68
- - Simplified [Transaction](https://bkper.com/docs) creation — accounts are now optional for recording simple income and expenses
69
- - Improved transaction data responses for better AI assistant integration
70
-
71
- ### **September 2025**
72
-
73
- - **MCP Server**
74
- - Streamlined transaction data for cleaner AI assistant responses
75
- - Fixed credential storage to follow standard configuration directories
76
-
77
- ### **July 2025**
78
-
79
- - **MCP Server**
80
- - Added monthly and year-to-date [Balance](https://bkper.com/docs) analysis for AI assistants
81
- - Improved date filtering with `before:` operator
82
- - Added setup instructions for Claude Desktop and other AI tools
83
-
84
- ### **June 2025**
85
-
86
- - **CLI**
87
- - Introduced MCP server — connect AI assistants to your Bkper [Books](https://bkper.com/docs) with `bkper mcp start`
88
- - Added [Book](https://bkper.com/docs) name filtering to quickly find specific books