palbase 0.78.1 → 0.79.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/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/{5KGMQFET.js → 6ATOAAF5.js} +1 -1
- package/dist/chunks/{3XF644A5.js → 6OSSTYNI.js} +2 -2
- package/dist/chunks/{L63FWRZX.js → 7S3FQENY.js} +2 -2
- package/dist/chunks/{IO5HB5B6.js → 7Y5BCID4.js} +2 -2
- package/dist/chunks/{VNUCKM7H.js → H54MZKCJ.js} +1 -1
- package/dist/chunks/{QWKOKJKM.js → H6J3ET7R.js} +1 -1
- package/dist/chunks/{LONPNPNX.js → IXCF3WHZ.js} +2 -2
- package/dist/chunks/JU5VP7GA.js +13 -0
- package/dist/chunks/{6Y4ICGZ7.js → KXKIZ3ZM.js} +2 -2
- package/dist/chunks/{4XE4HLPK.js → KZ2PTXAO.js} +2 -2
- package/dist/chunks/L3CVM7BS.js +2 -0
- package/dist/chunks/{JY7YG3BO.js → M5R7OBNV.js} +2 -2
- package/dist/chunks/{LXS7JHPJ.js → M64773TP.js} +2 -2
- package/dist/chunks/{35KQJQ77.js → MLCAO5BP.js} +2 -2
- package/dist/chunks/{ZBTOHVML.js → NFCM74MS.js} +2 -2
- package/dist/chunks/{TFPVJ3C3.js → OYYGUGM3.js} +2 -2
- package/dist/chunks/{25KG2TVU.js → PPZGWRCM.js} +1 -1
- package/dist/chunks/{ROV6TJZK.js → Q5J5SAQN.js} +1 -1
- package/dist/chunks/{2T3EX52E.js → R3HD47TY.js} +1 -1
- package/dist/chunks/{WTFMJKDB.js → RH33COMI.js} +2 -2
- package/dist/chunks/{ZIHVYOXE.js → V3FMVRBO.js} +2 -2
- package/dist/chunks/{UUDOMSKW.js → XKVQ4IQL.js} +2 -2
- package/dist/chunks/{EUMY6SCM.js → Y4V3NO2R.js} +1 -1
- package/dist/chunks/{RB4JQXKZ.js → Z3MUYA3L.js} +2 -2
- package/dist/chunks/{FCCX2OTM.js → ZWTD6MI2.js} +2 -2
- package/dist/cli.js +4 -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/cloud/src/generated/project.d.ts +2 -2
- package/types/internal/src/chat.d.ts +17 -0
- package/types/internal/src/modules/ai.d.ts +48 -3
- package/types/internal/src/modules/commerce.d.ts +38 -12
- package/types/internal/src/modules/events.d.ts +2 -2
- package/types/internal/src/modules/iap.d.ts +112 -101
- package/types/internal/src/modules/payments.d.ts +828 -18
- package/types/web/src/chat.d.ts +4 -2
- package/dist/chunks/3TJFV35H.js +0 -2
- package/dist/chunks/426QPZNS.js +0 -13
package/types/web/src/chat.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { sessionSummary, type AgentEvent, type ChatEvent, type ContextCompactedEvent, type ContextOffloadedEvent, type GoalEvent, type SessionHandedOffEvent, type ToolEvent, type TurnEnd, type TurnEvent, type VoiceEvent } from '../../internal/src/chat.js';
|
|
1
|
+
import { sessionSummary, type AgentEvent, type ChatEvent, type ContextCompactedEvent, type ContextOffloadedEvent, type GoalEvent, type SessionHandedOffEvent, type ToolEvent, type StoppedBy, type TurnEnd, type TurnEvent, type VoiceEvent } from '../../internal/src/chat.js';
|
|
2
2
|
import type { ai as aiModule } from '../../internal/src/modules/index.js';
|
|
3
3
|
import { type Transport } from '../../internal/src/transport.js';
|
|
4
4
|
export { sessionSummary };
|
|
5
|
-
export type { AgentEvent, ChatEvent, ContextCompactedEvent, ContextOffloadedEvent, GoalEvent, HistoryEvent, HistoryItem, Publication, SessionHandedOffEvent, SessionMachineStatusEvent, SessionSummaryEvent, ThinkingEvent, ToolEvent, TranscriptEvent, TurnEnd, TurnEvent, VoiceEvent } from '../../internal/src/chat.js';
|
|
5
|
+
export type { AgentEvent, ChatEvent, ContextCompactedEvent, ContextOffloadedEvent, GoalEvent, HistoryEvent, HistoryItem, Publication, SessionHandedOffEvent, SessionMachineStatusEvent, SessionSummaryEvent, ThinkingEvent, StoppedBy, ToolEvent, TranscriptEvent, TurnEnd, TurnEvent, VoiceEvent } from '../../internal/src/chat.js';
|
|
6
6
|
/** A picture or a file a message carries: an image the model was shown, or a file put in the chat's workspace. */
|
|
7
7
|
export interface ChatAttachment {
|
|
8
8
|
kind: 'image' | 'file' | (string & {});
|
|
@@ -105,6 +105,8 @@ export interface ChatResponse {
|
|
|
105
105
|
end: TurnEnd | (string & {}) | null;
|
|
106
106
|
/** Why, when it did not complete and was not stopped: its code, its words, whether asking again may go otherwise. */
|
|
107
107
|
error: TurnEvent['error'];
|
|
108
|
+
/** Who stopped it, when it ended stopped: a member, the project's server, or Palbase with its reason (null otherwise, or a stop from before the platform kept who asked). */
|
|
109
|
+
stoppedBy: StoppedBy | null;
|
|
108
110
|
/** The whole answer so far. */
|
|
109
111
|
text: string;
|
|
110
112
|
parts: ChatPart[];
|