@go-labs-sg/bb 3.18.1 → 3.20.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 +4 -0
- package/dist/index.js +14 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# bb
|
|
2
2
|
|
|
3
|
+
S3 download URLs use the owning app's `/api/attachments/...` route. Media fields
|
|
4
|
+
may be app-relative; download URLs remain absolute and time-limited. Upload URLs
|
|
5
|
+
remain direct presigned S3 PUT targets. Existing commands and payload schemas are unchanged.
|
|
6
|
+
|
|
3
7
|
Command-line interface for **Budget Builder**. Call budgets, bills, claims, approvals, suppliers, dashboard, and more from your terminal or from AI agents and automation. The CLI is the maintained integration surface; the former MCP server is deprecated. Responses are JSON on stdout.
|
|
4
8
|
|
|
5
9
|
## First step: update before use
|
package/dist/index.js
CHANGED
|
@@ -6838,7 +6838,7 @@ var normalizeApiBaseUrl = (value) => {
|
|
|
6838
6838
|
return url.toString().replace(/\/$/, "");
|
|
6839
6839
|
};
|
|
6840
6840
|
|
|
6841
|
-
// ../../../node_modules/.bun/@trpc+server@11.28.
|
|
6841
|
+
// ../../../node_modules/.bun/@trpc+server@11.28.3+431a08decb845963/node_modules/@trpc/server/dist/observable-CodTG6Sf.mjs
|
|
6842
6842
|
function observable(subscribe) {
|
|
6843
6843
|
const self = {
|
|
6844
6844
|
subscribe(observer) {
|
|
@@ -7054,7 +7054,7 @@ function observableToAsyncIterable(observable, signal) {
|
|
|
7054
7054
|
return iterator;
|
|
7055
7055
|
}
|
|
7056
7056
|
|
|
7057
|
-
// ../../../node_modules/.bun/@trpc+server@11.28.
|
|
7057
|
+
// ../../../node_modules/.bun/@trpc+server@11.28.3+431a08decb845963/node_modules/@trpc/server/dist/observable-BjUZYMQq.mjs
|
|
7058
7058
|
function share(_opts) {
|
|
7059
7059
|
return (source) => {
|
|
7060
7060
|
let refCount = 0;
|
|
@@ -7199,7 +7199,7 @@ function behaviorSubject(initialValue) {
|
|
|
7199
7199
|
return obs;
|
|
7200
7200
|
}
|
|
7201
7201
|
|
|
7202
|
-
// ../../../node_modules/.bun/@trpc+client@11.28.
|
|
7202
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.3+82479501839ae062/node_modules/@trpc/client/dist/splitLink-PFsRy7Mf.mjs
|
|
7203
7203
|
function createChain(opts) {
|
|
7204
7204
|
return observable((observer) => {
|
|
7205
7205
|
function execute(index = 0, op = opts.op) {
|
|
@@ -7217,7 +7217,7 @@ function createChain(opts) {
|
|
|
7217
7217
|
});
|
|
7218
7218
|
}
|
|
7219
7219
|
|
|
7220
|
-
// ../../../node_modules/.bun/@trpc+client@11.28.
|
|
7220
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.3+82479501839ae062/node_modules/@trpc/client/dist/objectSpread2-pyA4QVO4.mjs
|
|
7221
7221
|
function _typeof(o) {
|
|
7222
7222
|
"@babel/helpers - typeof";
|
|
7223
7223
|
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
@@ -7272,7 +7272,7 @@ function _objectSpread2(e) {
|
|
|
7272
7272
|
return e;
|
|
7273
7273
|
}
|
|
7274
7274
|
|
|
7275
|
-
// ../../../node_modules/.bun/@trpc+server@11.28.
|
|
7275
|
+
// ../../../node_modules/.bun/@trpc+server@11.28.3+431a08decb845963/node_modules/@trpc/server/dist/codes-BCsCCyMj.mjs
|
|
7276
7276
|
function isObject2(value) {
|
|
7277
7277
|
return !!value && !Array.isArray(value) && typeof value === "object";
|
|
7278
7278
|
}
|
|
@@ -7309,7 +7309,7 @@ var retryableRpcCodes = [
|
|
|
7309
7309
|
TRPC_ERROR_CODES_BY_KEY.INTERNAL_SERVER_ERROR
|
|
7310
7310
|
];
|
|
7311
7311
|
|
|
7312
|
-
// ../../../node_modules/.bun/@trpc+server@11.28.
|
|
7312
|
+
// ../../../node_modules/.bun/@trpc+server@11.28.3+431a08decb845963/node_modules/@trpc/server/dist/getErrorShape-CVrl8_-w.mjs
|
|
7313
7313
|
var noop = () => {};
|
|
7314
7314
|
var freezeIfAvailable = (obj) => {
|
|
7315
7315
|
if (Object.freeze)
|
|
@@ -7412,7 +7412,7 @@ function _objectSpread22(e) {
|
|
|
7412
7412
|
return e;
|
|
7413
7413
|
}
|
|
7414
7414
|
|
|
7415
|
-
// ../../../node_modules/.bun/@trpc+server@11.28.
|
|
7415
|
+
// ../../../node_modules/.bun/@trpc+server@11.28.3+431a08decb845963/node_modules/@trpc/server/dist/asyncGeneratorDelegate-BRQGtkYG.mjs
|
|
7416
7416
|
function transformResultInner(response, transformer) {
|
|
7417
7417
|
if ("error" in response) {
|
|
7418
7418
|
const error = transformer.deserialize(response.error);
|
|
@@ -7508,7 +7508,7 @@ AsyncGenerator.prototype[typeof Symbol == "function" && Symbol.asyncIterator ||
|
|
|
7508
7508
|
};
|
|
7509
7509
|
var trackedSymbol = Symbol();
|
|
7510
7510
|
|
|
7511
|
-
// ../../../node_modules/.bun/@trpc+client@11.28.
|
|
7511
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.3+82479501839ae062/node_modules/@trpc/client/dist/TRPCClientError-DE6-fd1n.mjs
|
|
7512
7512
|
function isTRPCClientError(cause) {
|
|
7513
7513
|
return cause instanceof TRPCClientError;
|
|
7514
7514
|
}
|
|
@@ -7554,7 +7554,7 @@ var TRPCClientError = class TRPCClientError extends Error {
|
|
|
7554
7554
|
}
|
|
7555
7555
|
};
|
|
7556
7556
|
|
|
7557
|
-
// ../../../node_modules/.bun/@trpc+client@11.28.
|
|
7557
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.3+82479501839ae062/node_modules/@trpc/client/dist/unstable-internals.mjs
|
|
7558
7558
|
function getTransformer(transformer) {
|
|
7559
7559
|
const _transformer = transformer;
|
|
7560
7560
|
if (!_transformer)
|
|
@@ -7576,7 +7576,7 @@ function getTransformer(transformer) {
|
|
|
7576
7576
|
};
|
|
7577
7577
|
}
|
|
7578
7578
|
|
|
7579
|
-
// ../../../node_modules/.bun/@trpc+client@11.28.
|
|
7579
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.3+82479501839ae062/node_modules/@trpc/client/dist/httpUtils-CtMuyl9j.mjs
|
|
7580
7580
|
var isFunction2 = (fn) => typeof fn === "function";
|
|
7581
7581
|
function getFetch(customFetchImpl) {
|
|
7582
7582
|
if (customFetchImpl)
|
|
@@ -7729,7 +7729,7 @@ async function httpRequest(opts) {
|
|
|
7729
7729
|
};
|
|
7730
7730
|
}
|
|
7731
7731
|
|
|
7732
|
-
// ../../../node_modules/.bun/@trpc+client@11.28.
|
|
7732
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.3+82479501839ae062/node_modules/@trpc/client/dist/httpBatchLink-BkVNtNND.mjs
|
|
7733
7733
|
var throwFatalError = () => {
|
|
7734
7734
|
throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new");
|
|
7735
7735
|
};
|
|
@@ -7924,7 +7924,7 @@ function httpBatchLink(opts) {
|
|
|
7924
7924
|
};
|
|
7925
7925
|
}
|
|
7926
7926
|
|
|
7927
|
-
// ../../../node_modules/.bun/@trpc+client@11.28.
|
|
7927
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.3+82479501839ae062/node_modules/@trpc/client/dist/links/loggerLink.mjs
|
|
7928
7928
|
function isFormData(value) {
|
|
7929
7929
|
if (typeof FormData === "undefined")
|
|
7930
7930
|
return false;
|
|
@@ -8036,7 +8036,7 @@ function loggerLink(opts = {}) {
|
|
|
8036
8036
|
};
|
|
8037
8037
|
}
|
|
8038
8038
|
|
|
8039
|
-
// ../../../node_modules/.bun/@trpc+client@11.28.
|
|
8039
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.3+82479501839ae062/node_modules/@trpc/client/dist/wsLink-BiIe_j6D.mjs
|
|
8040
8040
|
var resultOf = (value, ...args) => {
|
|
8041
8041
|
return typeof value === "function" ? value(...args) : value;
|
|
8042
8042
|
};
|
|
@@ -8189,7 +8189,7 @@ var WsConnection = class WsConnection {
|
|
|
8189
8189
|
};
|
|
8190
8190
|
_defineProperty(WsConnection, "connectCount", 0);
|
|
8191
8191
|
|
|
8192
|
-
// ../../../node_modules/.bun/@trpc+client@11.28.
|
|
8192
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.3+82479501839ae062/node_modules/@trpc/client/dist/index.mjs
|
|
8193
8193
|
var observerKeys = [
|
|
8194
8194
|
"onStarted",
|
|
8195
8195
|
"onData",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@go-labs-sg/bb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.20.0",
|
|
4
4
|
"description": "Budget Builder CLI for AI agents — manage budgets, bills, claims, quotations, and customer invoices with explicit workflow previews for sensitive changes.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|