palbase 0.78.0 → 0.78.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/dist/ai/index.js +2 -2
- package/dist/ai-sdk/index.js +2 -2
- package/dist/backend/engine.js +2 -2
- package/dist/backend/env.js +1 -1
- package/dist/backend/index.js +3 -3
- package/dist/backend/stack.js +1 -1
- package/dist/backend/test.js +2 -2
- package/dist/chunks/{VP3HFVV4.js → 25KG2TVU.js} +1 -1
- package/dist/chunks/{HVRVTNMI.js → 2T3EX52E.js} +1 -1
- package/dist/chunks/{XVJ3CMFN.js → 35KQJQ77.js} +2 -2
- package/dist/chunks/{RP2TPMXT.js → 3TJFV35H.js} +2 -2
- package/dist/chunks/{JSRN4NOZ.js → 3XF644A5.js} +2 -2
- package/dist/chunks/{3I5XH3A3.js → 426QPZNS.js} +2 -2
- package/dist/chunks/{MA74JJUB.js → 4XE4HLPK.js} +2 -2
- package/dist/chunks/{QL2UAO36.js → 5KGMQFET.js} +1 -1
- package/dist/chunks/{5OBOVEK6.js → 6Y4ICGZ7.js} +2 -2
- package/dist/chunks/{QOETZ4FB.js → EUMY6SCM.js} +1 -1
- package/dist/chunks/{Q3GH7I66.js → FCCX2OTM.js} +2 -2
- package/dist/chunks/{MFWAOKLM.js → IO5HB5B6.js} +2 -2
- package/dist/chunks/{EFELMJMQ.js → JY7YG3BO.js} +2 -2
- package/dist/chunks/{NG4OMSEK.js → L63FWRZX.js} +2 -2
- package/dist/chunks/{3X3ZT72M.js → LONPNPNX.js} +2 -2
- package/dist/chunks/{NQUAVRMC.js → LXS7JHPJ.js} +2 -2
- package/dist/chunks/{HHKRAOVG.js → QWKOKJKM.js} +1 -1
- package/dist/chunks/{FOZVJW7G.js → RB4JQXKZ.js} +2 -2
- package/dist/chunks/{AKJC5WTU.js → ROV6TJZK.js} +1 -1
- package/dist/chunks/{S7C7NHZI.js → TFPVJ3C3.js} +2 -2
- package/dist/chunks/{5H3UYFOC.js → UUDOMSKW.js} +2 -2
- package/dist/chunks/{SHYJVOD2.js → VNUCKM7H.js} +1 -1
- package/dist/chunks/{AMKY4SZU.js → WTFMJKDB.js} +2 -2
- package/dist/chunks/{YQQKZUVS.js → ZBTOHVML.js} +2 -2
- package/dist/chunks/{B64J3E3T.js → ZIHVYOXE.js} +2 -2
- package/dist/cli.js +5 -3
- package/dist/cloud/index.js +2 -2
- package/dist/refuse/ai-sdk.js +1 -1
- package/dist/refuse/ai.js +1 -1
- package/dist/refuse/backend.js +1 -1
- package/dist/refuse/cloud.js +1 -1
- package/dist/refuse/server.js +1 -1
- package/dist/server/index.js +2 -2
- package/dist/server/testing.js +2 -2
- package/dist/web/index.js +2 -2
- package/dist/web/message.js +2 -2
- package/dist/web/palbe.js +2 -2
- package/dist/web/payments-ui.js +2 -2
- package/dist/web/paywall.js +2 -2
- package/dist/web/push-sw.js +1 -1
- package/dist/web/ssr.js +2 -2
- package/dist/web/vite.js +2 -2
- package/package.json +2 -2
- package/types/backend/src/gateways.d.ts +2 -1
- package/types/cloud/src/generated/project.d.ts +1 -1
- package/types/internal/src/modules/ai.d.ts +5 -5
- package/types/internal/src/modules/payments.d.ts +366 -24
|
@@ -1265,7 +1265,7 @@ export type Goal = {
|
|
|
1265
1265
|
usage: GoalUsage;
|
|
1266
1266
|
};
|
|
1267
1267
|
/**
|
|
1268
|
-
* What a goal may cost at most, all its turns and their subagents together; null: no limit.
|
|
1268
|
+
* What a goal may cost at most, all its turns and their subagents together, their model calls and their web searches; null: no limit.
|
|
1269
1269
|
*/
|
|
1270
1270
|
export type GoalBudget = ({
|
|
1271
1271
|
/**
|
|
@@ -3021,7 +3021,7 @@ export type TurnArtifacts = {
|
|
|
3021
3021
|
artifacts: TurnArtifact[];
|
|
3022
3022
|
};
|
|
3023
3023
|
/**
|
|
3024
|
-
* What the turn a message starts may cost at most, its subagents' spend counted (the server's alone): past it the engine stops the turn. A message delivered into a turn already running takes that turn's.
|
|
3024
|
+
* What the turn a message starts may cost at most, its subagents' spend counted, their model calls and their web searches (the server's alone): past it the engine stops the turn. A message delivered into a turn already running takes that turn's.
|
|
3025
3025
|
*/
|
|
3026
3026
|
export type TurnBudget = {
|
|
3027
3027
|
/**
|
|
@@ -5629,13 +5629,13 @@ export declare function client(t: Transport): {
|
|
|
5629
5629
|
/**
|
|
5630
5630
|
* What the project's use of models cost
|
|
5631
5631
|
*
|
|
5632
|
-
* Every use, newest first: a response's tokens, an embeddings call, a picture job — with its cost at the provider's list price and whose connection paid. A use under the project's own key is billed by the provider, not by Palbase.
|
|
5632
|
+
* Every use, newest first: a response's tokens, the web searches its turn ran, a chat's voice, an embeddings call, a picture job, a video, speech to text and back, a machine's minutes — with its cost at the provider's list price and whose connection paid. A use under the project's own key is billed by the provider, not by Palbase.
|
|
5633
5633
|
*/
|
|
5634
5634
|
listUsage(input?: {
|
|
5635
5635
|
query?: {
|
|
5636
5636
|
limit?: number; /** The next_cursor of the previous page. */
|
|
5637
|
-
cursor?: string; /** Only uses of this kind
|
|
5638
|
-
kind?: "text" | "embedding" | "image" | "video" | "stt" | "tts" | "voice" | "web_search" | "machine"; /** Labels each use listed carries, as a JSON object ({"product":"p1"}): a product's spend, a task's. */
|
|
5637
|
+
cursor?: string; /** Only uses of this kind. */
|
|
5638
|
+
kind?: "text" | "embedding" | "image" | "video" | "stt" | "tts" | "voice" | "web_search" | "machine"; /** Labels each use listed carries, as a JSON object ({"product":"p1"}): a product's spend, a task's. A turn's use carries its labels and, for a chat's turn, its chat's labels and the chat, frozen as the turn ends; so do the web searches the turn ran. A chat's voice carries its chat's labels and the chat, frozen as it starts. A machine's minutes are its workspace's, which serves many turns, and carry none. */
|
|
5639
5639
|
metadata?: string;
|
|
5640
5640
|
}; /** Stops the call: the request in flight, a wait before a retry, a proof-of-work being solved. */
|
|
5641
5641
|
signal?: AbortSignal;
|