@koda-sl/baker-cli 0.417.0-dev.933ebc23d → 0.417.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/README.md +18 -3
- package/dist/{chunk-FQ7WNNOG.js → chunk-3BDBEN4C.js} +5 -5
- package/dist/chunk-3BDBEN4C.js.map +1 -0
- package/dist/{chunk-VF77MVEM.js → chunk-BWG6FK2K.js} +2 -2
- package/dist/{chunk-4RN4CBIQ.js → chunk-DUKZOH6P.js} +2 -2
- package/dist/{chunk-TTBMFAGF.js → chunk-F4R4AEI4.js} +3 -3
- package/dist/{chunk-HFH5HQTP.js → chunk-KQBSLWB2.js} +42 -3
- package/dist/chunk-KQBSLWB2.js.map +1 -0
- package/dist/cli.js +2040 -915
- package/dist/cli.js.map +1 -1
- package/dist/{client-OA2QMHOI.js → client-JRQD7KHG.js} +3 -3
- package/dist/engine/index.js +2 -2
- package/dist/{output-NMXF2VIL.js → output-FJND5UZ3.js} +4 -4
- package/dist/{shared-PD226SU6.js → shared-WUMBSQPX.js} +5 -5
- package/package.json +1 -1
- package/dist/chunk-FQ7WNNOG.js.map +0 -1
- package/dist/chunk-HFH5HQTP.js.map +0 -1
- /package/dist/{chunk-VF77MVEM.js.map → chunk-BWG6FK2K.js.map} +0 -0
- /package/dist/{chunk-4RN4CBIQ.js.map → chunk-DUKZOH6P.js.map} +0 -0
- /package/dist/{chunk-TTBMFAGF.js.map → chunk-F4R4AEI4.js.map} +0 -0
- /package/dist/{client-OA2QMHOI.js.map → client-JRQD7KHG.js.map} +0 -0
- /package/dist/{output-NMXF2VIL.js.map → output-FJND5UZ3.js.map} +0 -0
- /package/dist/{shared-PD226SU6.js.map → shared-WUMBSQPX.js.map} +0 -0
package/README.md
CHANGED
|
@@ -3730,13 +3730,12 @@ Permissions enforced server-side:
|
|
|
3730
3730
|
|
|
3731
3731
|
---
|
|
3732
3732
|
|
|
3733
|
-
### `baker mcp connected |
|
|
3733
|
+
### `baker mcp connected | list | add | remove`
|
|
3734
3734
|
|
|
3735
3735
|
See everything a chat can reach — managed integrations, custom servers, and connected platforms — and manage **custom MCP servers** by pointing the agent at any remote HTTPS MCP endpoint. Registered tools appear as `mcp__<name>__*` on the next chat message.
|
|
3736
3736
|
|
|
3737
3737
|
```bash
|
|
3738
3738
|
baker mcp connected
|
|
3739
|
-
baker mcp catalog --search notion
|
|
3740
3739
|
baker mcp list
|
|
3741
3740
|
baker mcp add --name weather --url https://mcp.example.com/mcp
|
|
3742
3741
|
baker mcp add --name acme --url https://acme.dev/mcp --header "Authorization: Bearer sk-…"
|
|
@@ -3745,7 +3744,6 @@ baker mcp remove --name weather
|
|
|
3745
3744
|
```
|
|
3746
3745
|
|
|
3747
3746
|
- `connected` returns three lists. `managed` and `custom` are MCP tools the agent calls directly; `platforms` are the accounts the company signed in to (HubSpot, Google Ads, GA4, Search Console, Tag Manager, LinkedIn Ads), each with its login and the resources it may read. A platform has **no** `mcp__*` tools — it is read through its own command family — so it is listed here to keep the agent from concluding a working connection is missing.
|
|
3748
|
-
- `catalog --search <name> [--limit 1-20]` searches the managed apps a user can connect when a vendor has no MCP server of its own. Each app reports its slug (`app`), how the user connects it (`sign-in`, `key` or `none`) and whether this chat already reaches it (`connected`).
|
|
3749
3747
|
- `--url` must be the **full MCP endpoint** (commonly ending in `/mcp`), HTTPS and public; loopback / private / cloud-metadata hosts are rejected. A bare domain frequently accepts the OAuth sign-in and then serves no tools, so every address is handshake-checked after it changes: `connected` and `list` report `usable: false` plus a `problem` (and a `suggestedAddress` when the server advertises a better endpoint) for a server that isn't serving tools, or `lastCheck: failed` when the last check only hit an outage — that one may work anyway, and a later turn re-checks it automatically. Repointing a server at a different host clears its saved sign-in: a token belongs to the host that issued it, so the server has to be connected again.
|
|
3750
3748
|
- Scope is two independent choices — audience (just you / everyone) × level (this company / whole org):
|
|
3751
3749
|
- `--scope company` (default) — everyone in this company.
|
|
@@ -3792,6 +3790,23 @@ baker history list --category ads --full # ad writes with raw metadata
|
|
|
3792
3790
|
|
|
3793
3791
|
---
|
|
3794
3792
|
|
|
3793
|
+
### `baker credentials list | put | delete`
|
|
3794
|
+
|
|
3795
|
+
Credentials are a company's stored API keys, tokens and passwords. The CLI never returns a value: each credential has a placeholder, `{{credential:NAME}}`, that a request inside a Baker Session can carry in any header, URL or body. The Session's HTTPS proxy fills in the value only for the hosts the credential is bound to, and puts the placeholder back in responses.
|
|
3796
|
+
|
|
3797
|
+
```bash
|
|
3798
|
+
baker credentials list # name, placeholder, allowedHosts, label
|
|
3799
|
+
baker credentials list --full # + source, lastUsedAt
|
|
3800
|
+
printf %s "$KEY" | baker credentials put stripe-key --host api.stripe.com --label "Stripe key"
|
|
3801
|
+
baker credentials delete stripe-key
|
|
3802
|
+
```
|
|
3803
|
+
|
|
3804
|
+
- `put` reads the value from **stdin only** — a `--value` flag or a positional value is refused, because argv is visible to other processes. One trailing newline is trimmed; empty stdin is refused. `--host` is repeatable (or comma-separated) and accepts `*.example.com` wildcards.
|
|
3805
|
+
- `put` and `delete` act only on credentials the agent created. Credentials a person added are managed in the dashboard (Settings → Credentials).
|
|
3806
|
+
- The company must have credentials switched on; otherwise every command answers `FORBIDDEN`.
|
|
3807
|
+
|
|
3808
|
+
---
|
|
3809
|
+
|
|
3795
3810
|
### `baker hubspot forms list | view | submissions` · `baker hubspot workflows list | view` · `baker hubspot pipelines list` · `baker hubspot contacts summary | lookup | properties | fields` · `baker hubspot deals properties | fields` · `baker hubspot meetings list | view`
|
|
3796
3811
|
|
|
3797
3812
|
Read-only view of the company's **connected HubSpot account** — the forms and meeting links (calendars) that live there, the leads those forms received, and the workflows, deal pipelines, and contact records a lead runs through afterwards. Fetched from HubSpot live on every call; nothing is cached and nothing is ever written back.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
debugLogHttp,
|
|
3
3
|
readBodyForLog
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KQBSLWB2.js";
|
|
5
5
|
import {
|
|
6
6
|
API_KEY_FORMAT_MESSAGE,
|
|
7
7
|
DIRECT_ROUTE,
|
|
@@ -21,9 +21,9 @@ import {
|
|
|
21
21
|
shouldEscalate
|
|
22
22
|
} from "./chunk-D76DSHL2.js";
|
|
23
23
|
|
|
24
|
-
//
|
|
24
|
+
// ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js
|
|
25
25
|
var require_safe_stable_stringify = __commonJS({
|
|
26
|
-
"
|
|
26
|
+
"../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js"(exports, module) {
|
|
27
27
|
"use strict";
|
|
28
28
|
var { hasOwnProperty } = Object.prototype;
|
|
29
29
|
var stringify = configure2();
|
|
@@ -1145,7 +1145,7 @@ function resolveAdaptFormats(params) {
|
|
|
1145
1145
|
return params.formats ?? [];
|
|
1146
1146
|
}
|
|
1147
1147
|
|
|
1148
|
-
//
|
|
1148
|
+
// ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/esm/wrapper.js
|
|
1149
1149
|
var import__ = __toESM(require_safe_stable_stringify(), 1);
|
|
1150
1150
|
var configure = import__.default.configure;
|
|
1151
1151
|
var wrapper_default = import__.default;
|
|
@@ -11634,4 +11634,4 @@ export {
|
|
|
11634
11634
|
defaultRegistry,
|
|
11635
11635
|
createEngineFromEnv
|
|
11636
11636
|
};
|
|
11637
|
-
//# sourceMappingURL=chunk-
|
|
11637
|
+
//# sourceMappingURL=chunk-3BDBEN4C.js.map
|