@mycadet/plugin-api 0.13.0-dev.202610200020.9f20440 → 0.13.0-dev.202610211119.c9ac8c3
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/index.d.ts +0 -52
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -673,17 +673,6 @@ declare interface AddMessageOptions {
|
|
|
673
673
|
* during that sleep.
|
|
674
674
|
*/
|
|
675
675
|
insertPrecondition?: () => boolean;
|
|
676
|
-
/**
|
|
677
|
-
* The row is the assistant's bookkeeping ABOUT this conversation rather than
|
|
678
|
-
* activity in it, so it must not bring the conversation back from Done (see
|
|
679
|
-
* {@link resurfaceArchivedConversation}). The producer declares this, because
|
|
680
|
-
* only the producer knows which of the two a row is.
|
|
681
|
-
*
|
|
682
|
-
* The retrospective skill card is the case: a pass runs once a conversation
|
|
683
|
-
* has gone idle, which is exactly when the user has just marked it done, so
|
|
684
|
-
* a card that resurfaced would bounce fresh done chats back into the sidebar.
|
|
685
|
-
*/
|
|
686
|
-
skipResurface?: boolean;
|
|
687
676
|
}
|
|
688
677
|
|
|
689
678
|
declare type AddMessageResult = Awaited<ReturnType<addMessage_2>>;
|
|
@@ -1731,10 +1720,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1731
1720
|
}, z.core.$strip>>;
|
|
1732
1721
|
}, z.core.$strip>>;
|
|
1733
1722
|
conversations: z.ZodDefault<z.ZodObject<{
|
|
1734
|
-
autoArchive: z.ZodDefault<z.ZodObject<{
|
|
1735
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1736
|
-
afterDays: z.ZodDefault<z.ZodLiteral<1 | 30 | 14 | 7>>;
|
|
1737
|
-
}, z.core.$strip>>;
|
|
1738
1723
|
skipAutoRetitling: z.ZodDefault<z.ZodBoolean>;
|
|
1739
1724
|
backgroundInjection: z.ZodDefault<z.ZodString>;
|
|
1740
1725
|
resumeProcessingOnStartup: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2842,10 +2827,6 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
2842
2827
|
filePath: z.ZodOptional<z.ZodString>;
|
|
2843
2828
|
}, z.core.$strip>>>;
|
|
2844
2829
|
attachmentWarnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2845
|
-
assistantTextVisibility: z.ZodOptional<z.ZodEnum<{
|
|
2846
|
-
private: "private";
|
|
2847
|
-
visible: "visible";
|
|
2848
|
-
}>>;
|
|
2849
2830
|
autoRoutedProfile: z.ZodOptional<z.ZodString>;
|
|
2850
2831
|
}, z.core.$strip>, z.ZodObject<{
|
|
2851
2832
|
type: z.ZodLiteral<"message_dequeued">;
|
|
@@ -4420,10 +4401,6 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4420
4401
|
filePath: z.ZodOptional<z.ZodString>;
|
|
4421
4402
|
}, z.core.$strip>>>;
|
|
4422
4403
|
attachmentWarnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4423
|
-
assistantTextVisibility: z.ZodOptional<z.ZodEnum<{
|
|
4424
|
-
private: "private";
|
|
4425
|
-
visible: "visible";
|
|
4426
|
-
}>>;
|
|
4427
4404
|
autoRoutedProfile: z.ZodOptional<z.ZodString>;
|
|
4428
4405
|
}, z.core.$strip>, z.ZodObject<{
|
|
4429
4406
|
type: z.ZodLiteral<"message_dequeued">;
|
|
@@ -16721,7 +16698,6 @@ declare const messageMetadataSchema: z.ZodObject<{
|
|
|
16721
16698
|
voiceSessionTurn: z.ZodOptional<z.ZodBoolean>;
|
|
16722
16699
|
computerUseScreenshotAttachmentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16723
16700
|
messageKind: z.ZodOptional<z.ZodString>;
|
|
16724
|
-
assistantTextVisibility: z.ZodOptional<z.ZodString>;
|
|
16725
16701
|
providerErrorCode: z.ZodOptional<z.ZodString>;
|
|
16726
16702
|
providerErrorCategory: z.ZodOptional<z.ZodString>;
|
|
16727
16703
|
backgroundToolCompletion: z.ZodOptional<z.ZodObject<{
|
|
@@ -19250,28 +19226,6 @@ declare interface PostModelCallInputContext {
|
|
|
19250
19226
|
messages: Message[];
|
|
19251
19227
|
/** Provider-reported stop reason for the turn; `null` when not reported. */
|
|
19252
19228
|
readonly stopReason: string | null;
|
|
19253
|
-
/**
|
|
19254
|
-
* True when this run's plain assistant text does not reach the user: the
|
|
19255
|
-
* turn routes its reply through the `send_user_message` tool instead, and
|
|
19256
|
-
* {@link content}'s text blocks are private working notes. A hook that
|
|
19257
|
-
* decides whether the user was answered must read this rather than assume
|
|
19258
|
-
* visible text was delivered. Absent or false on every ordinary run, so a
|
|
19259
|
-
* hook reads it as `=== true`.
|
|
19260
|
-
*/
|
|
19261
|
-
readonly assistantTextSuppressed?: boolean;
|
|
19262
|
-
/**
|
|
19263
|
-
* Whether the user has already been told the OUTCOME of this run's work,
|
|
19264
|
-
* decided by the host so a hook cannot reach a different answer than the
|
|
19265
|
-
* loop does.
|
|
19266
|
-
*
|
|
19267
|
-
* True when the last response that called any tool reported on the work
|
|
19268
|
-
* before it: every one of its tool calls delivered a message to the user. A
|
|
19269
|
-
* response that sends a message alongside other tool calls is a progress
|
|
19270
|
-
* update, and a call the executor rejects (blank or non-string message)
|
|
19271
|
-
* delivers nothing, so neither counts. Absent on a host that does not
|
|
19272
|
-
* compute it, so a hook reads it as `=== true`.
|
|
19273
|
-
*/
|
|
19274
|
-
readonly userToldOutcome?: boolean;
|
|
19275
19229
|
/**
|
|
19276
19230
|
* The provider rejection that ended the call, on a rejection outcome. Absent
|
|
19277
19231
|
* on a finalized reply. A hook that recovers from a specific rejection class
|
|
@@ -23474,12 +23428,6 @@ export declare interface ToolContext {
|
|
|
23474
23428
|
* @legacy
|
|
23475
23429
|
*/
|
|
23476
23430
|
diskPressureCleanupModeActive?: boolean;
|
|
23477
|
-
/**
|
|
23478
|
-
* Whether this turn routes its user-facing text through `send_user_message`.
|
|
23479
|
-
* Read by the cleanup-mode gate, which keeps that tool callable on a gated
|
|
23480
|
-
* turn: the wire offers it, so the executor must not refuse it.
|
|
23481
|
-
*/
|
|
23482
|
-
sendUserMessageActive?: boolean;
|
|
23483
23431
|
/**
|
|
23484
23432
|
* Prompt the user for a secret value via native SecureField UI.
|
|
23485
23433
|
* @legacy
|
package/package.json
CHANGED