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.
@@ -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;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mindwire",
3
- "version": "0.1.53",
3
+ "version": "0.1.55",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "bin": {