@ycodium-ai/plugin-api 0.2.4477 → 0.2.4486

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/README.md CHANGED
@@ -515,7 +515,9 @@ republish.
515
515
 
516
516
  <!-- plugin-api-versions:start (generated by scripts/gen-plugin-api-version.ts from packages/plugin-api/version-history.json; edit that file) -->
517
517
 
518
- The current API is **118**. This Ycodium loads only plugins declaring 118.
518
+ The current API is **119**. This Ycodium loads plugins declaring 118 through 119.
519
+
520
+ API 119 adds optional archive, message-time and pagination filters to `ctx.threads.search`, with match message identifiers, thread and project names, archive status and a filtersApplied receipt
519
521
 
520
522
  API 118 adds optional `bridge.openProjectSettings({ environmentId, projectId, section })` on web and desktop, and removes the host `ProjectToolkitSwitch` control and its props; project tool switches are managed in project settings
521
523
 
@@ -3584,6 +3584,10 @@ export type ThreadsHistoryOutput = {
3584
3584
  export type ThreadsSearchInput = {
3585
3585
  readonly "query": string;
3586
3586
  readonly "limit"?: number;
3587
+ readonly "includeArchived"?: boolean;
3588
+ readonly "createdAfter"?: string;
3589
+ readonly "createdBefore"?: string;
3590
+ readonly "cursor"?: number;
3587
3591
  readonly "projectId"?: string;
3588
3592
  };
3589
3593
  export type ThreadsSearchOutput = {
@@ -3593,7 +3597,13 @@ export type ThreadsSearchOutput = {
3593
3597
  readonly "source": "user" | "assistant";
3594
3598
  readonly "snippet": string;
3595
3599
  readonly "messageCreatedAt": string | null;
3600
+ readonly "messageId"?: string;
3601
+ readonly "threadTitle"?: string;
3602
+ readonly "projectName"?: string;
3603
+ readonly "archivedAt"?: string | null;
3596
3604
  }>;
3605
+ readonly "filtersApplied"?: boolean;
3606
+ readonly "nextCursor"?: number | null;
3597
3607
  };
3598
3608
  export type ThreadsResumeCommandGetInput = {
3599
3609
  readonly "threadId": string;