mindwire 0.1.53 → 0.1.55
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/{chunk-O5DWL7MH.js → chunk-5AEQY4BT.js} +44 -6
- package/dist/chunk-5AEQY4BT.js.map +1 -0
- package/dist/{chunk-MZ4OTZFH.js → chunk-OOUU5LO7.js} +3 -3
- package/dist/{chunk-MZ4OTZFH.js.map → chunk-OOUU5LO7.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/client.d.ts +8 -0
- package/dist/{connection-change-EGOCFEPP.js → connection-change-Q46D6YJL.js} +3 -3
- package/dist/{connection-change-EGOCFEPP.js.map → connection-change-Q46D6YJL.js.map} +1 -1
- package/dist/{controller-WUR6XGOM.js → controller-UCMTGF5U.js} +4 -4
- package/dist/{controller-WUR6XGOM.js.map → controller-UCMTGF5U.js.map} +1 -1
- package/dist/{controller-handoff-SJ3A4NEC.js → controller-handoff-IPCAOMMB.js} +3 -3
- package/dist/{controller-handoff-SJ3A4NEC.js.map → controller-handoff-IPCAOMMB.js.map} +1 -1
- package/dist/handoffs.d.ts +91 -0
- package/dist/index.cjs +40 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +40 -2
- package/dist/index.js.map +1 -1
- package/dist/schedules.d.ts +25 -0
- package/dist/types.d.ts +5 -0
- package/dist/workspace.d.ts +1 -0
- package/package.json +1 -1
- package/dist/chunk-O5DWL7MH.js.map +0 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Mindwire } from "./client.js";
|
|
2
|
+
import type { AppSchedule, AppScheduleSpec } from "./apps.js";
|
|
3
|
+
/** Work to repeat in an existing conversation, using its native context and permissions. */
|
|
4
|
+
export type ChatScheduleSpec = Omit<AppScheduleSpec, "command" | "title" | "body"> & {
|
|
5
|
+
prompt: string;
|
|
6
|
+
};
|
|
7
|
+
export type ChatSchedule = Omit<AppSchedule, "appId" | "command" | "title" | "body"> & {
|
|
8
|
+
chatId: string;
|
|
9
|
+
prompt: string;
|
|
10
|
+
/** Present while the scheduled turn is attached. */
|
|
11
|
+
runId?: string;
|
|
12
|
+
lastRunId?: string;
|
|
13
|
+
};
|
|
14
|
+
/** Requires chatSchedulesVersion >= 1. Uses the same job engine as Apps. */
|
|
15
|
+
export declare class ChatSchedulesApi {
|
|
16
|
+
private readonly mw;
|
|
17
|
+
constructor(mw: Mindwire);
|
|
18
|
+
list(chatId: string): Promise<ChatSchedule[]>;
|
|
19
|
+
save(chatId: string, schedule: ChatScheduleSpec): Promise<ChatSchedule>;
|
|
20
|
+
/** Stops future occurrences; an accepted turn continues through the ordinary run API. */
|
|
21
|
+
delete(chatId: string, scheduleId: string): Promise<{
|
|
22
|
+
removed: boolean;
|
|
23
|
+
}>;
|
|
24
|
+
private path;
|
|
25
|
+
}
|
package/dist/types.d.ts
CHANGED
|
@@ -734,6 +734,8 @@ export interface ToolPart {
|
|
|
734
734
|
input?: unknown;
|
|
735
735
|
output?: string;
|
|
736
736
|
isError?: boolean;
|
|
737
|
+
/** Explicit native outcome; missing or in-progress is unknown. */
|
|
738
|
+
status?: string;
|
|
737
739
|
/** Deep-normalized view of the tool call; rides alongside the raw name/input/output. */
|
|
738
740
|
action?: ToolAction;
|
|
739
741
|
}
|
|
@@ -1121,6 +1123,7 @@ export interface Health {
|
|
|
1121
1123
|
workspaceMetadataVersion?: number;
|
|
1122
1124
|
botsVersion?: number;
|
|
1123
1125
|
appsVersion?: number;
|
|
1126
|
+
chatSchedulesVersion?: number;
|
|
1124
1127
|
integrationsVersion?: number;
|
|
1125
1128
|
/** Native installed-harness discovery and atomic workspace.ensureAgent(). */
|
|
1126
1129
|
agentDiscoveryVersion?: number;
|
|
@@ -1156,6 +1159,8 @@ export interface Health {
|
|
|
1156
1159
|
/** Live attachment to a native CLI owner without a competing harness process. */
|
|
1157
1160
|
nativeSessionVersion?: number;
|
|
1158
1161
|
chatForkVersion?: number;
|
|
1162
|
+
/** 2 adds portable context, review digests and explicit omissions. */
|
|
1163
|
+
crossAgentHandoffVersion?: number;
|
|
1159
1164
|
/** Image-only input and image attachments retained in message history. */
|
|
1160
1165
|
imageAttachmentsVersion?: number;
|
|
1161
1166
|
attachmentUploadVersion?: number;
|
package/dist/workspace.d.ts
CHANGED
|
@@ -187,6 +187,7 @@ export interface ProjectIcon {
|
|
|
187
187
|
}
|
|
188
188
|
/** Chat membership; transcript content continues to come from /chats/:id/messages. */
|
|
189
189
|
export interface WorkspaceChat extends WorkspaceRecord {
|
|
190
|
+
handoffFrom?: import("./handoffs.js").HandoffOrigin;
|
|
190
191
|
botId?: string;
|
|
191
192
|
/** Logical conversation identity; the local id remains unique per workspace. */
|
|
192
193
|
syncId?: string;
|