bkper 5.7.3 → 5.8.1
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/README.md +25 -0
- package/lib/agent/bundle/agent-entry.js +110 -103
- package/lib/agent/context-resources.d.ts +44 -0
- package/lib/agent/context-resources.d.ts.map +1 -0
- package/lib/agent/context-resources.js +110 -0
- package/lib/agent/context-resources.js.map +1 -0
- package/lib/agent/interactive/run-agent-mode.d.ts +2 -0
- package/lib/agent/interactive/run-agent-mode.d.ts.map +1 -1
- package/lib/agent/interactive/run-agent-mode.js +22 -3
- package/lib/agent/interactive/run-agent-mode.js.map +1 -1
- package/lib/agent/startup-maintenance.d.ts +13 -2
- package/lib/agent/startup-maintenance.d.ts.map +1 -1
- package/lib/agent/startup-maintenance.js +35 -8
- package/lib/agent/startup-maintenance.js.map +1 -1
- package/lib/cli.js +3 -0
- package/lib/cli.js.map +1 -1
- package/lib/commands/agent-command.d.ts +9 -1
- package/lib/commands/agent-command.d.ts.map +1 -1
- package/lib/commands/agent-command.js +45 -4
- package/lib/commands/agent-command.js.map +1 -1
- package/lib/commands/apps/dev.d.ts.map +1 -1
- package/lib/commands/apps/dev.js +5 -4
- package/lib/commands/apps/dev.js.map +1 -1
- package/lib/commands/apps/git/credentials.d.ts +1 -0
- package/lib/commands/apps/git/credentials.d.ts.map +1 -1
- package/lib/commands/apps/git/credentials.js +1 -1
- package/lib/commands/apps/git/credentials.js.map +1 -1
- package/lib/commands/context/book-context.d.ts +20 -0
- package/lib/commands/context/book-context.d.ts.map +1 -0
- package/lib/commands/context/book-context.js +40 -0
- package/lib/commands/context/book-context.js.map +1 -0
- package/lib/commands/context/domain-context.d.ts +21 -0
- package/lib/commands/context/domain-context.d.ts.map +1 -0
- package/lib/commands/context/domain-context.js +39 -0
- package/lib/commands/context/domain-context.js.map +1 -0
- package/lib/commands/context/git-credential.d.ts +17 -0
- package/lib/commands/context/git-credential.d.ts.map +1 -0
- package/lib/commands/context/git-credential.js +121 -0
- package/lib/commands/context/git-credential.js.map +1 -0
- package/lib/commands/context/platform-context.d.ts +42 -0
- package/lib/commands/context/platform-context.d.ts.map +1 -0
- package/lib/commands/context/platform-context.js +84 -0
- package/lib/commands/context/platform-context.js.map +1 -0
- package/lib/commands/context/register.d.ts +4 -0
- package/lib/commands/context/register.d.ts.map +1 -0
- package/lib/commands/context/register.js +79 -0
- package/lib/commands/context/register.js.map +1 -0
- package/lib/commands/context/user-context.d.ts +36 -0
- package/lib/commands/context/user-context.d.ts.map +1 -0
- package/lib/commands/context/user-context.js +125 -0
- package/lib/commands/context/user-context.js.map +1 -0
- package/lib/dev/auth-middleware.d.ts +11 -1
- package/lib/dev/auth-middleware.d.ts.map +1 -1
- package/lib/dev/auth-middleware.js +16 -1
- package/lib/dev/auth-middleware.js.map +1 -1
- package/lib/dev/local-outbound.d.ts +7 -0
- package/lib/dev/local-outbound.d.ts.map +1 -1
- package/lib/dev/local-outbound.js +26 -12
- package/lib/dev/local-outbound.js.map +1 -1
- package/lib/dev/managed-sandbox.d.ts +11 -0
- package/lib/dev/managed-sandbox.d.ts.map +1 -0
- package/lib/dev/managed-sandbox.js +13 -0
- package/lib/dev/managed-sandbox.js.map +1 -0
- package/lib/dev/tunnel.d.ts +5 -0
- package/lib/dev/tunnel.d.ts.map +1 -1
- package/lib/dev/tunnel.js +15 -0
- package/lib/dev/tunnel.js.map +1 -1
- package/lib/docs/api/ai-gateway.md +1 -0
- package/lib/docs/api/managed-agent.md +107 -3
- package/lib/docs/apps/ai.md +2 -1
- package/lib/docs/apps/development.md +27 -0
- package/lib/docs/cli/app-management.md +3 -1
- package/lib/docs/core/core-concepts.md +1 -1
- package/lib/docs/sdk/bkper-api-types.md +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -215,6 +215,31 @@ Run `/reload` in an open session after adding or removing a server, and use `/mc
|
|
|
215
215
|
|
|
216
216
|
MCP tools run with your permissions. Add only servers you trust.
|
|
217
217
|
|
|
218
|
+
### Your agent context
|
|
219
|
+
|
|
220
|
+
Your procedures and skills (an `AGENTS.md` and `.agents/skills/<name>/SKILL.md`) can be shared by all your agents: the Bkper CLI Agent, Bkper Agent on the web, and any agent that reads those standards. They live in a Git clone at `~/.bkper/user`, which the agent loads at every start and `/reload`, and updates in the background.
|
|
221
|
+
|
|
222
|
+
```bash
|
|
223
|
+
bkper context pull # clone or update ~/.bkper/user now
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
To publish a change, commit and `git push` from that folder; it reaches all your agents. Unpushed changes are never overwritten. Never put Book data in it.
|
|
227
|
+
|
|
228
|
+
### Your company's agent context
|
|
229
|
+
|
|
230
|
+
If your Bkper account belongs to a company domain, the company can share procedures and skills with everyone in it: report layout, naming conventions, approval habits. `bkper context pull` also keeps them in `~/.bkper/domain`, and the agent loads them before yours: your `AGENTS.md` comes after the company's, and your skills win over the company's of the same name. Everyone in the domain reads it; only the domain's admin publishes, with a commit and `git push` from that folder. Accounts without a company domain have none.
|
|
231
|
+
|
|
232
|
+
### A Book's agent context
|
|
233
|
+
|
|
234
|
+
A Book can have its own procedures and skills, shared by everyone who can view it: the meaning of its accounts, its month-end close, its import quirks. Start the agent on a Book to load them beside yours:
|
|
235
|
+
|
|
236
|
+
```bash
|
|
237
|
+
bkper agent -b <bookId> # loads it; pulled in the background, newer pushes load at /reload
|
|
238
|
+
bkper context pull -b <bookId> # pull yours (and your company's) and the Book's now, into ~/.bkper/books/<bookId>
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
The Book's `AGENTS.md` comes after yours, and its skills win over yours of the same name. Editors of the Book publish with a commit and `git push` from its folder, which reaches everyone who can view it. Unpushed changes are never overwritten. Never put Book data in it.
|
|
242
|
+
|
|
218
243
|
---
|
|
219
244
|
|
|
220
245
|
## Data Management
|