@plotday/twister 0.44.0 → 0.45.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/connector.d.ts +7 -7
- package/dist/connector.d.ts.map +1 -1
- package/dist/connector.js +5 -6
- package/dist/connector.js.map +1 -1
- package/dist/docs/assets/hierarchy.js +1 -1
- package/dist/docs/assets/navigation.js +1 -1
- package/dist/docs/assets/search.js +1 -1
- package/dist/docs/classes/index.Connector.html +47 -44
- package/dist/docs/classes/index.Imap.html +1 -1
- package/dist/docs/classes/index.Options.html +1 -1
- package/dist/docs/classes/index.Smtp.html +1 -1
- package/dist/docs/classes/tool.ITool.html +1 -1
- package/dist/docs/classes/tool.Tool.html +23 -25
- package/dist/docs/classes/tools_ai.AI.html +1 -1
- package/dist/docs/classes/tools_callbacks.Callbacks.html +1 -1
- package/dist/docs/classes/tools_integrations.Integrations.html +11 -10
- package/dist/docs/classes/tools_network.Network.html +29 -4
- package/dist/docs/classes/tools_plot.Plot.html +41 -28
- package/dist/docs/classes/tools_store.Store.html +1 -1
- package/dist/docs/classes/tools_tasks.Tasks.html +1 -1
- package/dist/docs/classes/tools_twists.Twists.html +1 -1
- package/dist/docs/classes/twist.Twist.html +42 -35
- package/dist/docs/documents/Built-in_Tools.html +5 -3
- package/dist/docs/enums/plot.ActorType.html +4 -4
- package/dist/docs/enums/tools_integrations.AuthProvider.html +12 -12
- package/dist/docs/enums/tools_plot.LinkAccess.html +2 -2
- package/dist/docs/enums/tools_plot.PriorityAccess.html +5 -5
- package/dist/docs/enums/tools_plot.ThreadAccess.html +1 -1
- package/dist/docs/hierarchy.html +1 -1
- package/dist/docs/media/AGENTS.md +1 -1
- package/dist/docs/modules/index.html +1 -1
- package/dist/docs/modules/plot.html +1 -1
- package/dist/docs/modules/tools_integrations.html +1 -1
- package/dist/docs/types/plot.Actor.html +5 -5
- package/dist/docs/types/plot.Contact.html +9 -0
- package/dist/docs/types/plot.ContentType.html +1 -1
- package/dist/docs/types/plot.Link.html +15 -15
- package/dist/docs/types/plot.LinkUpdate.html +2 -2
- package/dist/docs/types/plot.NewActor.html +1 -1
- package/dist/docs/types/plot.NewContact.html +1 -1
- package/dist/docs/types/plot.NewLink.html +9 -8
- package/dist/docs/types/plot.NewLinkWithNotes.html +1 -1
- package/dist/docs/types/plot.NewNote.html +9 -3
- package/dist/docs/types/plot.NewThread.html +7 -5
- package/dist/docs/types/plot.NewThreadWithNotes.html +1 -1
- package/dist/docs/types/plot.Note.html +5 -2
- package/dist/docs/types/plot.NoteUpdate.html +4 -3
- package/dist/docs/types/plot.PlanOperation.html +1 -1
- package/dist/docs/types/plot.Thread.html +1 -1
- package/dist/docs/types/plot.ThreadAccessLevel.html +7 -0
- package/dist/docs/types/plot.ThreadCommon.html +5 -9
- package/dist/docs/types/plot.ThreadFilter.html +2 -2
- package/dist/docs/types/plot.ThreadUpdate.html +1 -1
- package/dist/docs/types/plot.ThreadWithNotes.html +1 -1
- package/dist/docs/types/tools_integrations.ArchiveLinkFilter.html +5 -5
- package/dist/docs/types/tools_integrations.AuthToken.html +4 -4
- package/dist/docs/types/tools_integrations.Authorization.html +4 -4
- package/dist/docs/types/tools_integrations.Channel.html +3 -5
- package/dist/docs/types/tools_integrations.LinkTypeConfig.html +14 -9
- package/dist/docs/types/tools_integrations.SyncContext.html +10 -0
- package/dist/docs/types/tools_plot.SearchOptions.html +4 -2
- package/dist/llm-docs/connector.d.ts +1 -1
- package/dist/llm-docs/connector.d.ts.map +1 -1
- package/dist/llm-docs/connector.js +1 -1
- package/dist/llm-docs/connector.js.map +1 -1
- package/dist/llm-docs/plot.d.ts +1 -1
- package/dist/llm-docs/plot.d.ts.map +1 -1
- package/dist/llm-docs/plot.js +1 -1
- package/dist/llm-docs/plot.js.map +1 -1
- package/dist/llm-docs/tool.d.ts +1 -1
- package/dist/llm-docs/tool.d.ts.map +1 -1
- package/dist/llm-docs/tool.js +1 -1
- package/dist/llm-docs/tool.js.map +1 -1
- package/dist/llm-docs/tools/integrations.d.ts +1 -1
- package/dist/llm-docs/tools/integrations.d.ts.map +1 -1
- package/dist/llm-docs/tools/integrations.js +1 -1
- package/dist/llm-docs/tools/integrations.js.map +1 -1
- package/dist/llm-docs/tools/network.d.ts +1 -1
- package/dist/llm-docs/tools/network.d.ts.map +1 -1
- package/dist/llm-docs/tools/network.js +1 -1
- package/dist/llm-docs/tools/network.js.map +1 -1
- package/dist/llm-docs/tools/plot.d.ts +1 -1
- package/dist/llm-docs/tools/plot.d.ts.map +1 -1
- package/dist/llm-docs/tools/plot.js +1 -1
- package/dist/llm-docs/tools/plot.js.map +1 -1
- package/dist/llm-docs/twist.d.ts +1 -1
- package/dist/llm-docs/twist.d.ts.map +1 -1
- package/dist/llm-docs/twist.js +1 -1
- package/dist/llm-docs/twist.js.map +1 -1
- package/dist/plot.d.ts +72 -61
- package/dist/plot.d.ts.map +1 -1
- package/dist/plot.js.map +1 -1
- package/dist/tool.d.ts +3 -5
- package/dist/tool.d.ts.map +1 -1
- package/dist/tool.js +2 -4
- package/dist/tool.js.map +1 -1
- package/dist/tools/integrations.d.ts +28 -4
- package/dist/tools/integrations.d.ts.map +1 -1
- package/dist/tools/integrations.js.map +1 -1
- package/dist/tools/network.d.ts +30 -0
- package/dist/tools/network.d.ts.map +1 -1
- package/dist/tools/network.js.map +1 -1
- package/dist/tools/plot.d.ts +41 -15
- package/dist/tools/plot.d.ts.map +1 -1
- package/dist/tools/plot.js +9 -9
- package/dist/tools/plot.js.map +1 -1
- package/dist/twist.d.ts +21 -13
- package/dist/twist.d.ts.map +1 -1
- package/dist/twist.js +20 -12
- package/dist/twist.js.map +1 -1
- package/package.json +1 -1
- package/dist/docs/types/plot.PickPriorityConfig.html +0 -20
package/dist/llm-docs/twist.js
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* This file is auto-generated during build. Do not edit manually.
|
|
5
5
|
* Generated from: prebuild.ts
|
|
6
6
|
*/
|
|
7
|
-
export default "import { type Action, type Actor, type ActorId, type Link, type Note, type Priority, type Thread, Uuid } from \"./plot\";\nimport type { Tag } from \"./tag\";\nimport { type ITool } from \"./tool\";\nimport type { Callback } from \"./tools/callbacks\";\nimport type { Serializable } from \"./utils/serializable\";\nimport type { InferTools, ToolBuilder, ToolShed } from \"./utils/types\";\n\n/**\n * Base class for all twists.\n *\n * Twists are activated in a Plot priority and have access to that priority and all\n * its descendants.\n *\n * Override build() to declare tool dependencies and lifecycle methods to handle events.\n *\n * @example\n * ```typescript\n * class FlatteringTwist extends Twist<FlatteringTwist> {\n * build(build: ToolBuilder) {\n * return {\n * plot: build(Plot),\n * };\n * }\n *\n * async activate(priority: Pick<Priority, \"id\">) {\n * // Initialize twist for the given priority\n * await this.tools.plot.createThread({\n * title: \"Hello, good looking!\",\n * });\n * }\n * }\n * ```\n */\nexport abstract class Twist<TSelf> {\n constructor(protected id: Uuid, private toolShed: ToolShed) {}\n\n /**\n * Gets the initialized tools for this twist.\n * @throws Error if called before initialization is complete\n */\n protected get tools(): InferTools<TSelf> {\n return this.toolShed.getTools<InferTools<TSelf>>();\n }\n\n /**\n * Declares tool dependencies for this twist.\n * Return an object mapping tool names to build() promises.\n *\n * @param build - The build function to use for declaring dependencies\n * @returns Object mapping tool names to tool promises\n *\n * @example\n * ```typescript\n * build(build: ToolBuilder) {\n * return {\n * plot: build(Plot),\n * calendar: build(GoogleCalendar, { apiKey: \"...\" }),\n * };\n * }\n * ```\n */\n abstract build(build: ToolBuilder): Record<string, Promise<ITool>>;\n\n /**\n * Creates a persistent callback to a method on this twist.\n *\n * ExtraArgs are strongly typed to match the method's signature. They must be serializable.\n *\n * @param fn - The method to callback\n * @param extraArgs - Additional arguments to pass (type-checked, must be serializable)\n * @returns Promise resolving to a persistent callback token\n *\n * @example\n * ```typescript\n * const callback = await this.callback(this.onWebhook, \"calendar\", 123);\n * ```\n */\n protected callback<\n TArgs extends Serializable[],\n Fn extends (...args: TArgs) => any\n >(fn: Fn, ...extraArgs: TArgs): Promise<Callback>;\n // Overload when caller provides the first argument\n protected callback<\n TArgs extends Serializable[],\n Fn extends (arg1: any, ...extraArgs: TArgs) => any\n >(fn: Fn, ...extraArgs: TArgs): Promise<Callback>;\n protected async callback<\n TArgs extends Serializable[],\n Fn extends (...args: any[]) => any\n >(fn: Fn, ...extraArgs: TArgs): Promise<Callback> {\n return this.tools.callbacks.create(fn, ...extraArgs);\n }\n\n /**\n * Like callback(), but for an Action, which receives the action as the first argument.\n *\n * @param fn - The method to callback\n * @param extraArgs - Additional arguments to pass after the action\n * @returns Promise resolving to a persistent callback token\n *\n * @example\n * ```typescript\n * const callback = await this.actionCallback(this.doSomething, 123);\n * const action: Action = {\n * type: ActionType.callback,\n * title: \"Do Something\",\n * callback,\n * };\n * ```\n */\n protected async actionCallback<\n TArgs extends Serializable[],\n Fn extends (action: Action, ...extraArgs: TArgs) => any\n >(fn: Fn, ...extraArgs: TArgs): Promise<Callback> {\n return this.tools.callbacks.create(fn, ...extraArgs);\n }\n\n /**\n * Deletes a specific callback by its token.\n *\n * @param token - The callback token to delete\n * @returns Promise that resolves when the callback is deleted\n */\n protected async deleteCallback(token: Callback): Promise<void> {\n return this.tools.callbacks.delete(token);\n }\n\n /**\n * Deletes all callbacks for this twist.\n *\n * @returns Promise that resolves when all callbacks are deleted\n */\n protected async deleteAllCallbacks(): Promise<void> {\n return this.tools.callbacks.deleteAll();\n }\n\n /**\n * Executes a callback by its token inline in the current execution.\n *\n * **Use `this.runTask()` instead for batch continuations and long-running work.**\n * `this.run()` executes inline, sharing the current request count (~1000 limit)\n * and blocking the HTTP response. This causes timeouts when used in lifecycle\n * methods like `onChannelEnabled` or `syncBatch` continuations.\n *\n * `this.run()` is appropriate when you need the callback's **return value** —\n * e.g., running a parent callback token that returns data. For fire-and-forget\n * work, always prefer `this.runTask()`.\n *\n * @param token - The callback token to execute\n * @param args - Optional arguments to pass to the callback\n * @returns Promise resolving to the callback result\n */\n protected async run(token: Callback, ...args: []): Promise<any> {\n return this.tools.callbacks.run(token, ...args);\n }\n\n /**\n * Retrieves a value from persistent storage by key.\n *\n * Values are automatically deserialized using SuperJSON, which\n * properly restores Date objects, Maps, Sets, and other complex types.\n *\n * @template T - The expected type of the stored value (must be Serializable)\n * @param key - The storage key to retrieve\n * @returns Promise resolving to the stored value or null\n */\n protected async get<T extends import(\"./index\").Serializable>(\n key: string\n ): Promise<T | null> {\n return this.tools.store.get(key);\n }\n\n /**\n * Stores a value in persistent storage.\n *\n * The value will be serialized using SuperJSON and stored persistently.\n * SuperJSON automatically handles Date objects, Maps, Sets, undefined values,\n * and other complex types that standard JSON doesn't support.\n *\n * **Important**: Functions and Symbols cannot be stored.\n * **For function references**: Use callbacks instead of storing functions directly.\n *\n * @example\n * ```typescript\n * // ✅ Date objects are preserved\n * await this.set(\"sync_state\", {\n * lastSync: new Date(),\n * minDate: new Date(2024, 0, 1)\n * });\n *\n * // ✅ undefined is now supported\n * await this.set(\"data\", { name: \"test\", optional: undefined });\n *\n * // ❌ WRONG: Cannot store functions directly\n * await this.set(\"handler\", this.myHandler);\n *\n * // ✅ CORRECT: Create a callback token first\n * const token = await this.callback(this.myHandler, \"arg1\", \"arg2\");\n * await this.set(\"handler_token\", token);\n *\n * // Later, execute the callback\n * const token = await this.get<string>(\"handler_token\");\n * await this.run(token, args);\n * ```\n *\n * @template T - The type of value being stored (must be Serializable)\n * @param key - The storage key to use\n * @param value - The value to store (must be SuperJSON-serializable)\n * @returns Promise that resolves when the value is stored\n */\n protected async set<T extends import(\"./index\").Serializable>(\n key: string,\n value: T\n ): Promise<void> {\n return this.tools.store.set(key, value);\n }\n\n /**\n * Removes a specific key from persistent storage.\n *\n * @param key - The storage key to remove\n * @returns Promise that resolves when the key is removed\n */\n protected async clear(key: string): Promise<void> {\n return this.tools.store.clear(key);\n }\n\n /**\n * Removes all keys from this twist's storage.\n *\n * @returns Promise that resolves when all keys are removed\n */\n protected async clearAll(): Promise<void> {\n return this.tools.store.clearAll();\n }\n\n /**\n * Queues a callback to execute in a separate worker context.\n *\n * @param callback - The callback token created with `this.callback()`\n * @param options - Optional configuration for the execution\n * @param options.runAt - If provided, schedules execution at this time; otherwise runs immediately\n * @returns Promise resolving to a cancellation token (only for scheduled executions)\n */\n protected async runTask(\n callback: Callback,\n options?: { runAt?: Date }\n ): Promise<string | void> {\n return this.tools.tasks.runTask(callback, options);\n }\n\n /**\n * Cancels a previously scheduled execution.\n *\n * @param token - The cancellation token returned by runTask() with runAt option\n * @returns Promise that resolves when the cancellation is processed\n */\n protected async cancelTask(token: string): Promise<void> {\n return this.tools.tasks.cancelTask(token);\n }\n\n /**\n * Cancels all scheduled executions for this twist.\n *\n * @returns Promise that resolves when all cancellations are processed\n */\n protected async cancelAllTasks(): Promise<void> {\n return this.tools.tasks.cancelAllTasks();\n }\n\n /**\n * Called when the twist is activated for a specific priority.\n *\n * This method should contain initialization logic such as setting up\n * initial threads, configuring webhooks, or establishing external connections.\n *\n * @param priority - The priority context containing the priority ID\n * @param context - Optional context containing the actor who triggered activation\n * @returns Promise that resolves when activation is complete\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n activate(priority: Pick<Priority, \"id\">, context?: { actor: Actor }): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Called when a new version of the twist is deployed to an existing priority.\n *\n * This method should contain migration logic for updating old data structures\n * or setting up new resources that weren't needed by the previous version.\n * It is called with the new version for each active priorityTwist.\n *\n * @returns Promise that resolves when upgrade is complete\n */\n upgrade(): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Called when the twist's options configuration changes.\n *\n * Override to react to option changes, e.g. archiving items when a sync\n * type is toggled off, or starting sync when a type is toggled on.\n *\n * @param oldOptions - The previously resolved options\n * @param newOptions - The newly resolved options\n * @returns Promise that resolves when the change is handled\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n onOptionsChanged(\n oldOptions: Record<string, any>,\n newOptions: Record<string, any>\n ): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Called when the twist is removed from a priority.\n *\n * This method should contain cleanup logic such as removing webhooks,\n * cleaning up external resources, or performing final data operations.\n *\n * @returns Promise that resolves when deactivation is complete\n */\n deactivate(): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Called when a thread created by this twist is updated.\n * Override to implement two-way sync with an external system.\n *\n * @param thread - The updated thread\n * @param changes - Tag additions and removals on the thread\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n onThreadUpdated(\n thread: Thread,\n changes: {\n tagsAdded: Record<Tag, ActorId[]>;\n tagsRemoved: Record<Tag, ActorId[]>;\n }\n ): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Called when a note is created on a thread created by this twist.\n * Override to implement two-way sync (e.g. syncing notes as comments).\n *\n * Notes created by the twist itself are filtered out to prevent loops.\n *\n * Returning a string sets the note's `key` for future upsert matching,\n * linking the Plot note to its external counterpart so that subsequent\n * syncs (reactions, edits) update the existing note instead of creating duplicates.\n *\n * @param note - The newly created note\n * @returns Optional note key for external deduplication\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n onNoteCreated(note: Note, ...args: any[]): Promise<string | void> {\n return Promise.resolve();\n }\n\n /**\n * Called when a link is created in a connected source channel.\n * Requires `link: true` in Plot options.\n *\n * @param link - The newly created link\n * @param notes - Notes on the link's thread\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n onLinkCreated(link: Link, notes: Note[]): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Called when a link in a connected source channel is updated.\n * Requires `link: true` in Plot options.\n *\n * @param link - The updated link\n * @param notes - Notes on the link's thread (optional)\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n onLinkUpdated(link: Link, notes?: Note[]): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Called when a note is created on a thread with a link from a connected channel.\n * Requires `link: true` in Plot options.\n *\n * @param note - The newly created note\n * @param link - The link associated with the thread\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n onLinkNoteCreated(note: Note, link: Link): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Waits for tool initialization to complete.\n * Called automatically by the entrypoint before lifecycle methods.\n * @internal\n */\n async waitForReady(): Promise<void> {\n await this.toolShed.waitForReady();\n }\n}\n";
|
|
7
|
+
export default "import { type Action, type Actor, type ActorId, type Link, type Note, type Thread, Uuid } from \"./plot\";\nimport type { Tag } from \"./tag\";\nimport { type ITool } from \"./tool\";\nimport type { Callback } from \"./tools/callbacks\";\nimport type { Serializable } from \"./utils/serializable\";\nimport type { InferTools, ToolBuilder, ToolShed } from \"./utils/types\";\n\n/**\n * Base class for all twists.\n *\n * A twist is installed at the workspace level and is owned by a single user\n * (see `this.userId`). It has no inherent priority scope: threads, notes, and\n * links it creates are filed against the owner's priorities, with automatic\n * priority matching when no explicit target is provided.\n *\n * Override `build()` to declare tool dependencies and lifecycle methods to\n * handle events.\n *\n * @example\n * ```typescript\n * class FlatteringTwist extends Twist<FlatteringTwist> {\n * build(build: ToolBuilder) {\n * return {\n * plot: build(Plot),\n * };\n * }\n *\n * async activate() {\n * await this.tools.plot.createThread({\n * title: \"Hello, good looking!\",\n * });\n * }\n * }\n * ```\n */\nexport abstract class Twist<TSelf> {\n /**\n * The user ID (`twist_instance.owner_id`) that installed this twist.\n * Populated by the runtime before any lifecycle method runs.\n */\n protected userId!: Uuid;\n\n constructor(protected id: Uuid, private toolShed: ToolShed) {}\n\n /**\n * Gets the initialized tools for this twist.\n * @throws Error if called before initialization is complete\n */\n protected get tools(): InferTools<TSelf> {\n return this.toolShed.getTools<InferTools<TSelf>>();\n }\n\n /**\n * Declares tool dependencies for this twist.\n * Return an object mapping tool names to build() promises.\n *\n * @param build - The build function to use for declaring dependencies\n * @returns Object mapping tool names to tool promises\n *\n * @example\n * ```typescript\n * build(build: ToolBuilder) {\n * return {\n * plot: build(Plot),\n * calendar: build(GoogleCalendar, { apiKey: \"...\" }),\n * };\n * }\n * ```\n */\n abstract build(build: ToolBuilder): Record<string, Promise<ITool>>;\n\n /**\n * Creates a persistent callback to a method on this twist.\n *\n * ExtraArgs are strongly typed to match the method's signature. They must be serializable.\n *\n * @param fn - The method to callback\n * @param extraArgs - Additional arguments to pass (type-checked, must be serializable)\n * @returns Promise resolving to a persistent callback token\n *\n * @example\n * ```typescript\n * const callback = await this.callback(this.onWebhook, \"calendar\", 123);\n * ```\n */\n protected callback<\n TArgs extends Serializable[],\n Fn extends (...args: TArgs) => any\n >(fn: Fn, ...extraArgs: TArgs): Promise<Callback>;\n // Overload when caller provides the first argument\n protected callback<\n TArgs extends Serializable[],\n Fn extends (arg1: any, ...extraArgs: TArgs) => any\n >(fn: Fn, ...extraArgs: TArgs): Promise<Callback>;\n protected async callback<\n TArgs extends Serializable[],\n Fn extends (...args: any[]) => any\n >(fn: Fn, ...extraArgs: TArgs): Promise<Callback> {\n return this.tools.callbacks.create(fn, ...extraArgs);\n }\n\n /**\n * Like callback(), but for an Action, which receives the action as the first argument.\n *\n * @param fn - The method to callback\n * @param extraArgs - Additional arguments to pass after the action\n * @returns Promise resolving to a persistent callback token\n *\n * @example\n * ```typescript\n * const callback = await this.actionCallback(this.doSomething, 123);\n * const action: Action = {\n * type: ActionType.callback,\n * title: \"Do Something\",\n * callback,\n * };\n * ```\n */\n protected async actionCallback<\n TArgs extends Serializable[],\n Fn extends (action: Action, ...extraArgs: TArgs) => any\n >(fn: Fn, ...extraArgs: TArgs): Promise<Callback> {\n return this.tools.callbacks.create(fn, ...extraArgs);\n }\n\n /**\n * Deletes a specific callback by its token.\n *\n * @param token - The callback token to delete\n * @returns Promise that resolves when the callback is deleted\n */\n protected async deleteCallback(token: Callback): Promise<void> {\n return this.tools.callbacks.delete(token);\n }\n\n /**\n * Deletes all callbacks for this twist.\n *\n * @returns Promise that resolves when all callbacks are deleted\n */\n protected async deleteAllCallbacks(): Promise<void> {\n return this.tools.callbacks.deleteAll();\n }\n\n /**\n * Executes a callback by its token inline in the current execution.\n *\n * **Use `this.runTask()` instead for batch continuations and long-running work.**\n * `this.run()` executes inline, sharing the current request count (~1000 limit)\n * and blocking the HTTP response. This causes timeouts when used in lifecycle\n * methods like `onChannelEnabled` or `syncBatch` continuations.\n *\n * `this.run()` is appropriate when you need the callback's **return value** —\n * e.g., running a parent callback token that returns data. For fire-and-forget\n * work, always prefer `this.runTask()`.\n *\n * @param token - The callback token to execute\n * @param args - Optional arguments to pass to the callback\n * @returns Promise resolving to the callback result\n */\n protected async run(token: Callback, ...args: []): Promise<any> {\n return this.tools.callbacks.run(token, ...args);\n }\n\n /**\n * Retrieves a value from persistent storage by key.\n *\n * Values are automatically deserialized using SuperJSON, which\n * properly restores Date objects, Maps, Sets, and other complex types.\n *\n * @template T - The expected type of the stored value (must be Serializable)\n * @param key - The storage key to retrieve\n * @returns Promise resolving to the stored value or null\n */\n protected async get<T extends import(\"./index\").Serializable>(\n key: string\n ): Promise<T | null> {\n return this.tools.store.get(key);\n }\n\n /**\n * Stores a value in persistent storage.\n *\n * The value will be serialized using SuperJSON and stored persistently.\n * SuperJSON automatically handles Date objects, Maps, Sets, undefined values,\n * and other complex types that standard JSON doesn't support.\n *\n * **Important**: Functions and Symbols cannot be stored.\n * **For function references**: Use callbacks instead of storing functions directly.\n *\n * @example\n * ```typescript\n * // ✅ Date objects are preserved\n * await this.set(\"sync_state\", {\n * lastSync: new Date(),\n * minDate: new Date(2024, 0, 1)\n * });\n *\n * // ✅ undefined is now supported\n * await this.set(\"data\", { name: \"test\", optional: undefined });\n *\n * // ❌ WRONG: Cannot store functions directly\n * await this.set(\"handler\", this.myHandler);\n *\n * // ✅ CORRECT: Create a callback token first\n * const token = await this.callback(this.myHandler, \"arg1\", \"arg2\");\n * await this.set(\"handler_token\", token);\n *\n * // Later, execute the callback\n * const token = await this.get<string>(\"handler_token\");\n * await this.run(token, args);\n * ```\n *\n * @template T - The type of value being stored (must be Serializable)\n * @param key - The storage key to use\n * @param value - The value to store (must be SuperJSON-serializable)\n * @returns Promise that resolves when the value is stored\n */\n protected async set<T extends import(\"./index\").Serializable>(\n key: string,\n value: T\n ): Promise<void> {\n return this.tools.store.set(key, value);\n }\n\n /**\n * Removes a specific key from persistent storage.\n *\n * @param key - The storage key to remove\n * @returns Promise that resolves when the key is removed\n */\n protected async clear(key: string): Promise<void> {\n return this.tools.store.clear(key);\n }\n\n /**\n * Removes all keys from this twist's storage.\n *\n * @returns Promise that resolves when all keys are removed\n */\n protected async clearAll(): Promise<void> {\n return this.tools.store.clearAll();\n }\n\n /**\n * Queues a callback to execute in a separate worker context.\n *\n * @param callback - The callback token created with `this.callback()`\n * @param options - Optional configuration for the execution\n * @param options.runAt - If provided, schedules execution at this time; otherwise runs immediately\n * @returns Promise resolving to a cancellation token (only for scheduled executions)\n */\n protected async runTask(\n callback: Callback,\n options?: { runAt?: Date }\n ): Promise<string | void> {\n return this.tools.tasks.runTask(callback, options);\n }\n\n /**\n * Cancels a previously scheduled execution.\n *\n * @param token - The cancellation token returned by runTask() with runAt option\n * @returns Promise that resolves when the cancellation is processed\n */\n protected async cancelTask(token: string): Promise<void> {\n return this.tools.tasks.cancelTask(token);\n }\n\n /**\n * Cancels all scheduled executions for this twist.\n *\n * @returns Promise that resolves when all cancellations are processed\n */\n protected async cancelAllTasks(): Promise<void> {\n return this.tools.tasks.cancelAllTasks();\n }\n\n /**\n * Called when the twist is installed by a user.\n *\n * This method should contain initialization logic such as seeding\n * initial threads, configuring webhooks, or establishing external\n * connections. When it runs, `this.userId` is already populated with\n * the installing user's ID.\n *\n * @param context - Optional context containing the actor who triggered activation\n * @returns Promise that resolves when activation is complete\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n activate(context?: { actor: Actor }): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Called when a new version of the twist is deployed.\n *\n * This method should contain migration logic for updating old data structures\n * or setting up new resources that weren't needed by the previous version.\n * It is called once per active twist_instance with the new version.\n *\n * @returns Promise that resolves when upgrade is complete\n */\n upgrade(): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Called when the twist's options configuration changes.\n *\n * Override to react to option changes, e.g. archiving items when a sync\n * type is toggled off, or starting sync when a type is toggled on.\n *\n * @param oldOptions - The previously resolved options\n * @param newOptions - The newly resolved options\n * @returns Promise that resolves when the change is handled\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n onOptionsChanged(\n oldOptions: Record<string, any>,\n newOptions: Record<string, any>\n ): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Called when the twist is removed from a priority.\n *\n * This method should contain cleanup logic such as removing webhooks,\n * cleaning up external resources, or performing final data operations.\n *\n * @returns Promise that resolves when deactivation is complete\n */\n deactivate(): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Called when a thread created by this twist is updated.\n * Override to implement two-way sync with an external system.\n *\n * @param thread - The updated thread\n * @param changes - Tag additions and removals on the thread\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n onThreadUpdated(\n thread: Thread,\n changes: {\n tagsAdded: Record<Tag, ActorId[]>;\n tagsRemoved: Record<Tag, ActorId[]>;\n }\n ): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Called when a note is created on a thread created by this twist.\n * Override to implement two-way sync (e.g. syncing notes as comments).\n *\n * Notes created by the twist itself are filtered out to prevent loops.\n *\n * Returning a string sets the note's `key` for future upsert matching,\n * linking the Plot note to its external counterpart so that subsequent\n * syncs (reactions, edits) update the existing note instead of creating duplicates.\n *\n * @param note - The newly created note\n * @returns Optional note key for external deduplication\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n onNoteCreated(note: Note, ...args: any[]): Promise<string | void> {\n return Promise.resolve();\n }\n\n /**\n * Called when a link is created in a connected source channel.\n * Requires `link: true` in Plot options.\n *\n * @param link - The newly created link\n * @param notes - Notes on the link's thread\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n onLinkCreated(link: Link, notes: Note[]): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Called when a link in a connected source channel is updated.\n * Requires `link: true` in Plot options.\n *\n * @param link - The updated link\n * @param notes - Notes on the link's thread (optional)\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n onLinkUpdated(link: Link, notes?: Note[]): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Called when a note is created on a thread with a link from a connected channel.\n * Requires `link: true` in Plot options.\n *\n * @param note - The newly created note\n * @param link - The link associated with the thread\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n onLinkNoteCreated(note: Note, link: Link): Promise<void> {\n return Promise.resolve();\n }\n\n /**\n * Waits for tool initialization to complete.\n * Called automatically by the entrypoint before lifecycle methods.\n * @internal\n */\n async waitForReady(): Promise<void> {\n await this.toolShed.waitForReady();\n }\n}\n";
|
|
8
8
|
//# sourceMappingURL=twist.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"twist.js","sourceRoot":"","sources":["../../src/llm-docs/twist.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAe,
|
|
1
|
+
{"version":3,"file":"twist.js","sourceRoot":"","sources":["../../src/llm-docs/twist.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAe,6/bAA6/b,CAAC"}
|
package/dist/plot.d.ts
CHANGED
|
@@ -361,6 +361,13 @@ export type Tags = {
|
|
|
361
361
|
export type NewTags = {
|
|
362
362
|
[K in Tag]?: NewActor[];
|
|
363
363
|
};
|
|
364
|
+
/**
|
|
365
|
+
* Thread access level determining visibility.
|
|
366
|
+
* - "public": Visible to all users with priority access
|
|
367
|
+
* - "members": Visible to priority members (default for shared priorities)
|
|
368
|
+
* - "private": Visible only to creator and contacts listed in accessContacts
|
|
369
|
+
*/
|
|
370
|
+
export type ThreadAccessLevel = "public" | "members" | "private";
|
|
364
371
|
/**
|
|
365
372
|
* Common fields shared by both Thread and Note entities.
|
|
366
373
|
*/
|
|
@@ -375,14 +382,10 @@ export type ThreadCommon = {
|
|
|
375
382
|
* to the current time, which is almost never correct for synced data.
|
|
376
383
|
*/
|
|
377
384
|
created: Date;
|
|
378
|
-
/** Whether this thread is private (only visible to creator) */
|
|
379
|
-
private: boolean;
|
|
380
385
|
/** Whether this thread has been archived */
|
|
381
386
|
archived: boolean;
|
|
382
387
|
/** Tags attached to this thread. Maps tag ID to array of actor IDs who added that tag. */
|
|
383
388
|
tags: Tags;
|
|
384
|
-
/** Array of actor IDs (users, contacts, or twists) mentioned in this thread via @-mentions */
|
|
385
|
-
mentions: ActorId[];
|
|
386
389
|
};
|
|
387
390
|
/**
|
|
388
391
|
* Fields on a Thread entity.
|
|
@@ -395,6 +398,10 @@ type ThreadFields = ThreadCommon & {
|
|
|
395
398
|
priority: Priority;
|
|
396
399
|
/** The thread's sub-type/category. Determines the displayed icon. */
|
|
397
400
|
type: ThreadType | null;
|
|
401
|
+
/** Thread access level: "public", "members", or "private" */
|
|
402
|
+
access: ThreadAccessLevel;
|
|
403
|
+
/** Contacts who can see a private thread (empty array for creator-only). Only meaningful when access is "private". */
|
|
404
|
+
accessContacts: Contact[];
|
|
398
405
|
/** The schedule associated with this thread, if any */
|
|
399
406
|
schedule?: Schedule;
|
|
400
407
|
/** Source-specific metadata from the thread's link, populated on callbacks */
|
|
@@ -407,38 +414,6 @@ export type ThreadWithNotes = Thread & {
|
|
|
407
414
|
export type NewThreadWithNotes = NewThread & {
|
|
408
415
|
notes: Omit<NewNote, "thread">[];
|
|
409
416
|
};
|
|
410
|
-
/**
|
|
411
|
-
* Configuration for automatic priority selection based on thread similarity.
|
|
412
|
-
*
|
|
413
|
-
* Maps thread fields to scoring weights or required exact matches:
|
|
414
|
-
* - Number value: Maximum score for similarity matching on this field
|
|
415
|
-
* - `true` value: Required exact match - threads must match exactly or be excluded
|
|
416
|
-
*
|
|
417
|
-
* Scoring rules:
|
|
418
|
-
* - content: Uses vector similarity on thread embedding (cosine similarity)
|
|
419
|
-
* - mentions: Percentage of existing thread's mentions that appear in new thread
|
|
420
|
-
* - meta.field: Exact match on top-level meta fields (e.g., "meta.sourceId")
|
|
421
|
-
*
|
|
422
|
-
* When content is `true`, applies a strong similarity threshold to ensure only close matches.
|
|
423
|
-
* Default (when neither priority nor pickPriority specified): `{content: true}`
|
|
424
|
-
*
|
|
425
|
-
* @example
|
|
426
|
-
* ```typescript
|
|
427
|
-
* // Require exact content match with strong similarity
|
|
428
|
-
* pickPriority: { content: true }
|
|
429
|
-
*
|
|
430
|
-
* // Score based on content (max 100 points) and mentions
|
|
431
|
-
* pickPriority: { content: 100, mentions: true }
|
|
432
|
-
*
|
|
433
|
-
* // Match on meta and score content
|
|
434
|
-
* pickPriority: { "meta.projectId": true, content: 50 }
|
|
435
|
-
* ```
|
|
436
|
-
*/
|
|
437
|
-
export type PickPriorityConfig = {
|
|
438
|
-
content?: number | true;
|
|
439
|
-
mentions?: number | true;
|
|
440
|
-
[key: `meta.${string}`]: number | true;
|
|
441
|
-
};
|
|
442
417
|
/**
|
|
443
418
|
* Type for creating new threads.
|
|
444
419
|
*
|
|
@@ -451,16 +426,13 @@ export type PickPriorityConfig = {
|
|
|
451
426
|
* };
|
|
452
427
|
* ```
|
|
453
428
|
*/
|
|
454
|
-
export type NewThread = Partial<Omit<ThreadFields, "priority" | "tags" | "
|
|
429
|
+
export type NewThread = Partial<Omit<ThreadFields, "priority" | "tags" | "id" | "accessContacts">> & ({
|
|
455
430
|
/** Unique identifier for the thread, generated by Uuid.Generate(). */
|
|
456
431
|
id: Uuid;
|
|
457
|
-
} | {}) &
|
|
458
|
-
/** Explicit priority
|
|
459
|
-
priority
|
|
460
|
-
}
|
|
461
|
-
/** Configuration for automatic priority selection based on similarity */
|
|
462
|
-
pickPriority?: PickPriorityConfig;
|
|
463
|
-
}) & {
|
|
432
|
+
} | {}) & {
|
|
433
|
+
/** Explicit priority - disables automatic priority matching. When omitted, the server classifies the thread using the user's priority rules. */
|
|
434
|
+
priority?: Pick<Priority, "id">;
|
|
435
|
+
} & {
|
|
464
436
|
/**
|
|
465
437
|
* All tags to set on the new thread.
|
|
466
438
|
*/
|
|
@@ -470,6 +442,12 @@ export type NewThread = Partial<Omit<ThreadFields, "priority" | "tags" | "mentio
|
|
|
470
442
|
* If omitted, defaults to "notes" (private) or "discussion" (shared).
|
|
471
443
|
*/
|
|
472
444
|
type?: ThreadType;
|
|
445
|
+
/**
|
|
446
|
+
* Contacts who can see a private thread.
|
|
447
|
+
* Pass email-based NewContact objects; they are resolved to contact IDs by the API.
|
|
448
|
+
* If omitted for a private thread, defaults to the connection owner.
|
|
449
|
+
*/
|
|
450
|
+
accessContacts?: NewContact[];
|
|
473
451
|
/**
|
|
474
452
|
* Whether the thread should be marked as unread for users.
|
|
475
453
|
* - undefined/omitted (default): Thread is unread for users, except auto-marked
|
|
@@ -508,7 +486,10 @@ export type ThreadFilter = {
|
|
|
508
486
|
* Fields supported by bulk updates via `match`. Only simple scalar fields
|
|
509
487
|
* that can be applied uniformly across many threads are included.
|
|
510
488
|
*/
|
|
511
|
-
type ThreadBulkUpdateFields = Partial<Pick<ThreadFields, "title" | "
|
|
489
|
+
type ThreadBulkUpdateFields = Partial<Pick<ThreadFields, "title" | "access" | "archived">> & {
|
|
490
|
+
/** Contacts who can see a private thread. Pass NewContact objects (email-based); resolved by the API. */
|
|
491
|
+
accessContacts?: NewContact[];
|
|
492
|
+
};
|
|
512
493
|
/**
|
|
513
494
|
* Fields supported by single-thread updates via `id` or `source`.
|
|
514
495
|
* Includes all bulk fields plus tags and preview.
|
|
@@ -542,7 +523,7 @@ type ThreadSingleUpdateFields = ThreadBulkUpdateFields & {
|
|
|
542
523
|
preview?: string | null;
|
|
543
524
|
/**
|
|
544
525
|
* Move the thread to a different priority. Requires ThreadAccess.Full.
|
|
545
|
-
* The target priority must be
|
|
526
|
+
* The target priority must be owned by the twist's user.
|
|
546
527
|
*/
|
|
547
528
|
priority?: Pick<Priority, "id">;
|
|
548
529
|
};
|
|
@@ -592,6 +573,13 @@ export type Note = ThreadCommon & {
|
|
|
592
573
|
reNote: {
|
|
593
574
|
id: Uuid;
|
|
594
575
|
} | null;
|
|
576
|
+
/**
|
|
577
|
+
* Contacts who can see this note, or null if the note inherits thread visibility.
|
|
578
|
+
* When set (even to []), the note is private to the listed contacts plus the creator.
|
|
579
|
+
*/
|
|
580
|
+
accessContacts: ActorId[] | null;
|
|
581
|
+
/** Priority twist IDs (twists/connectors) mentioned for dispatch routing. Does not include user contacts. */
|
|
582
|
+
mentions: ActorId[];
|
|
595
583
|
};
|
|
596
584
|
/**
|
|
597
585
|
* Type for creating new notes.
|
|
@@ -602,7 +590,7 @@ export type Note = ThreadCommon & {
|
|
|
602
590
|
* - key: Provide an external identifier for upsert within the thread
|
|
603
591
|
* - neither: A new note with auto-generated UUID will be created
|
|
604
592
|
*/
|
|
605
|
-
export type NewNote = Partial<Omit<Note, "author" | "thread" | "tags" | "mentions" | "id" | "key" | "reNote">> & ({
|
|
593
|
+
export type NewNote = Partial<Omit<Note, "author" | "thread" | "tags" | "mentions" | "accessContacts" | "id" | "key" | "reNote">> & ({
|
|
606
594
|
id: Uuid;
|
|
607
595
|
} | {
|
|
608
596
|
key: string;
|
|
@@ -628,7 +616,16 @@ export type NewNote = Partial<Omit<Note, "author" | "thread" | "tags" | "mention
|
|
|
628
616
|
*/
|
|
629
617
|
tags?: NewTags;
|
|
630
618
|
/**
|
|
631
|
-
*
|
|
619
|
+
* Contacts who can see this note, or null/undefined to inherit thread visibility.
|
|
620
|
+
* Accepts resolved ActorId UUIDs or email-based NewContact objects (resolved server-side).
|
|
621
|
+
* Include all participants who should see the note (sender + recipients).
|
|
622
|
+
* The note author is NOT implicitly included — add them explicitly.
|
|
623
|
+
* When set (even to []), the note is private to the listed contacts plus the creator.
|
|
624
|
+
*/
|
|
625
|
+
accessContacts?: (ActorId | NewContact)[] | null;
|
|
626
|
+
/**
|
|
627
|
+
* Twist/connector IDs to mention for dispatch routing.
|
|
628
|
+
* Does not include user contacts — use accessContacts for visibility.
|
|
632
629
|
*/
|
|
633
630
|
mentions?: NewActor[];
|
|
634
631
|
/**
|
|
@@ -671,7 +668,7 @@ export type NoteUpdate = ({
|
|
|
671
668
|
key?: string;
|
|
672
669
|
} | {
|
|
673
670
|
key: string;
|
|
674
|
-
}) & Partial<Pick<Note, "
|
|
671
|
+
}) & Partial<Pick<Note, "accessContacts" | "archived" | "content" | "actions" | "reNote">> & {
|
|
675
672
|
/**
|
|
676
673
|
* Format of the note content. Determines how the note is processed:
|
|
677
674
|
* - 'text': Plain text that will be converted to markdown (auto-links URLs, preserves line breaks)
|
|
@@ -691,7 +688,8 @@ export type NoteUpdate = ({
|
|
|
691
688
|
*/
|
|
692
689
|
twistTags?: Partial<Record<Tag, boolean>>;
|
|
693
690
|
/**
|
|
694
|
-
*
|
|
691
|
+
* Twist/connector IDs to mention for dispatch routing.
|
|
692
|
+
* Does not include user contacts — use accessContacts for visibility.
|
|
695
693
|
*/
|
|
696
694
|
mentions?: NewActor[];
|
|
697
695
|
};
|
|
@@ -731,6 +729,18 @@ export type Actor = {
|
|
|
731
729
|
*/
|
|
732
730
|
name?: string | null;
|
|
733
731
|
};
|
|
732
|
+
/**
|
|
733
|
+
* A resolved contact with identity info. Used for access control lists
|
|
734
|
+
* where only human contacts (not twists) are relevant.
|
|
735
|
+
*/
|
|
736
|
+
export type Contact = {
|
|
737
|
+
/** Unique identifier for the contact */
|
|
738
|
+
id: ActorId;
|
|
739
|
+
/** Email address, or null if not set */
|
|
740
|
+
email: string | null;
|
|
741
|
+
/** Display name, or null if not set */
|
|
742
|
+
name: string | null;
|
|
743
|
+
};
|
|
734
744
|
/**
|
|
735
745
|
* An existing or new contact.
|
|
736
746
|
*/
|
|
@@ -872,11 +882,16 @@ export type NewLink = ({
|
|
|
872
882
|
/** The person assigned to the item. */
|
|
873
883
|
assignee?: NewActor | null;
|
|
874
884
|
/**
|
|
875
|
-
*
|
|
876
|
-
* When
|
|
877
|
-
* and any users mentioned in the thread's notes.
|
|
885
|
+
* Thread access level: "public", "members" (default), or "private".
|
|
886
|
+
* When "private", thread visibility is limited to the creator and contacts in accessContacts.
|
|
878
887
|
*/
|
|
879
|
-
|
|
888
|
+
access?: ThreadAccessLevel;
|
|
889
|
+
/**
|
|
890
|
+
* Contacts who can see a private thread.
|
|
891
|
+
* Pass email-based NewContact objects; they are resolved to contact IDs by the API.
|
|
892
|
+
* If omitted for a private thread, defaults to the connection owner.
|
|
893
|
+
*/
|
|
894
|
+
accessContacts?: NewContact[];
|
|
880
895
|
/**
|
|
881
896
|
* Whether the thread should be marked as unread for users.
|
|
882
897
|
* - undefined/omitted (default): Thread is unread for users, except auto-marked
|
|
@@ -891,14 +906,10 @@ export type NewLink = ({
|
|
|
891
906
|
* - undefined (default): Preserve current archive state
|
|
892
907
|
*/
|
|
893
908
|
archived?: boolean;
|
|
894
|
-
/**
|
|
895
|
-
* Configuration for automatic priority selection based on similarity.
|
|
896
|
-
* Only used when the link creates a new thread.
|
|
897
|
-
*/
|
|
898
|
-
pickPriority?: PickPriorityConfig;
|
|
899
909
|
/**
|
|
900
910
|
* Explicit priority (disables automatic priority matching).
|
|
901
|
-
* Only used when the link creates a new thread.
|
|
911
|
+
* Only used when the link creates a new thread. When omitted, the
|
|
912
|
+
* server classifies the thread using the user's priority rules.
|
|
902
913
|
*/
|
|
903
914
|
priority?: Pick<Priority, "id">;
|
|
904
915
|
};
|
|
@@ -931,7 +942,7 @@ export type NewLinkWithNotes = NewLink & {
|
|
|
931
942
|
export type LinkUpdate = {
|
|
932
943
|
id: Uuid;
|
|
933
944
|
} & {
|
|
934
|
-
/** Move the link to a different thread
|
|
945
|
+
/** Move the link to a different thread owned by the twist's user. */
|
|
935
946
|
threadId?: Uuid;
|
|
936
947
|
};
|
|
937
948
|
/**
|
package/dist/plot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plot.d.ts","sourceRoot":"","sources":["../src/plot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,qBAAqB,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC/E,OAAO,EAAE,KAAK,GAAG,EAAE,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,QAiBrB;AAuED;;;;;GAKG;AACH,MAAM,CAAN,IAAY,UAeX;AAfD,WAAY,UAAU;IACpB,8CAA8C;IAC9C,mCAAqB,CAAA;IACrB,mDAAmD;IACnD,2BAAa,CAAA;IACb,+DAA+D;IAC/D,mCAAqB,CAAA;IACrB,+DAA+D;IAC/D,2CAA6B,CAAA;IAC7B,yCAAyC;IACzC,2BAAa,CAAA;IACb,+DAA+D;IAC/D,+BAAiB,CAAA;IACjB,sDAAsD;IACtD,2BAAa,CAAA;AACf,CAAC,EAfW,UAAU,KAAV,UAAU,QAerB;AAED;;;;;GAKG;AACH,MAAM,CAAN,IAAY,oBAWX;AAXD,WAAY,oBAAoB;IAC9B,kBAAkB;IAClB,iDAAyB,CAAA;IACzB,WAAW;IACX,qCAAa,CAAA;IACb,sBAAsB;IACtB,yDAAiC,CAAA;IACjC,kBAAkB;IAClB,uCAAe,CAAA;IACf,6CAA6C;IAC7C,uCAAe,CAAA;AACjB,CAAC,EAXW,oBAAoB,KAApB,oBAAoB,QAW/B;AAgmBD;;;;;GAKG;AACH,MAAM,CAAN,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,qCAAqC;IACrC,yCAAI,CAAA;IACJ,2CAA2C;IAC3C,+CAAO,CAAA;IACP,0CAA0C;IAC1C,2CAAK,CAAA;AACP,CAAC,EAPW,SAAS,KAAT,SAAS,QAOpB"}
|
package/dist/tool.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Actor
|
|
1
|
+
import { type Actor } from "./plot";
|
|
2
2
|
import type { Callback } from "./tools/callbacks";
|
|
3
3
|
import type { InferOptions, InferTools, Serializable, ToolBuilder, ToolShed } from "./utils/types";
|
|
4
4
|
export type { ToolBuilder };
|
|
@@ -232,11 +232,10 @@ export declare abstract class Tool<TSelf> implements ITool {
|
|
|
232
232
|
* being called first, bubbling up to the top-level tools before the twist's
|
|
233
233
|
* activate method is called.
|
|
234
234
|
*
|
|
235
|
-
* @param priority - The priority context containing the priority ID
|
|
236
235
|
* @param context - Optional context containing the actor who triggered activation
|
|
237
236
|
* @returns Promise that resolves when pre-activation is complete
|
|
238
237
|
*/
|
|
239
|
-
preActivate(
|
|
238
|
+
preActivate(context?: {
|
|
240
239
|
actor: Actor;
|
|
241
240
|
}): Promise<void>;
|
|
242
241
|
/**
|
|
@@ -245,11 +244,10 @@ export declare abstract class Tool<TSelf> implements ITool {
|
|
|
245
244
|
* This method is called in reverse order, with top-level tools being called
|
|
246
245
|
* first, then cascading down to the deepest dependencies.
|
|
247
246
|
*
|
|
248
|
-
* @param priority - The priority context containing the priority ID
|
|
249
247
|
* @param context - Optional context containing the actor who triggered activation
|
|
250
248
|
* @returns Promise that resolves when post-activation is complete
|
|
251
249
|
*/
|
|
252
|
-
postActivate(
|
|
250
|
+
postActivate(context?: {
|
|
253
251
|
actor: Actor;
|
|
254
252
|
}): Promise<void>;
|
|
255
253
|
/**
|
package/dist/tool.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../src/tool.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,KAAK,
|
|
1
|
+
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../src/tool.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,KAAK,EACX,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EACV,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,QAAQ,EACT,MAAM,eAAe,CAAC;AAEvB,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B;;;GAGG;AACH,8BAAsB,KAAK;CAAG;AAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,8BAAsB,IAAI,CAAC,KAAK,CAAE,YAAW,KAAK;IAE9C,SAAS,CAAC,EAAE,EAAE,MAAM;IACpB,SAAS,CAAC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,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIjD;;;;OAIG;cACa,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAIzC;;;;;;;;;;;;;;;;;;;;;OAqBG;cACa,OAAO,CACrB,QAAQ,EAAE,QAAQ,EAClB,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,IAAI,CAAA;KAAE,GACzB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAIzB;;;;;OAKG;cACa,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxD;;;;OAIG;cACa,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAI/C;;;;;;;;;OASG;IAEH,WAAW,CAAC,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,KAAK,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAItD;;;;;;;;OAQG;IAEH,YAAY,CAAC,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,KAAK,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAIvD;;;;;;;;OAQG;IACH,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B;;;;;;;OAOG;IACH,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAI5B;;;;;;;;OAQG;IACH,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC;IAI9B;;;;;;;OAOG;IACH,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAI/B;;;;OAIG;IACG,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;CAGpC"}
|
package/dist/tool.js
CHANGED
|
@@ -259,12 +259,11 @@ export class Tool {
|
|
|
259
259
|
* being called first, bubbling up to the top-level tools before the twist's
|
|
260
260
|
* activate method is called.
|
|
261
261
|
*
|
|
262
|
-
* @param priority - The priority context containing the priority ID
|
|
263
262
|
* @param context - Optional context containing the actor who triggered activation
|
|
264
263
|
* @returns Promise that resolves when pre-activation is complete
|
|
265
264
|
*/
|
|
266
265
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
267
|
-
preActivate(
|
|
266
|
+
preActivate(context) {
|
|
268
267
|
return Promise.resolve();
|
|
269
268
|
}
|
|
270
269
|
/**
|
|
@@ -273,12 +272,11 @@ export class Tool {
|
|
|
273
272
|
* This method is called in reverse order, with top-level tools being called
|
|
274
273
|
* first, then cascading down to the deepest dependencies.
|
|
275
274
|
*
|
|
276
|
-
* @param priority - The priority context containing the priority ID
|
|
277
275
|
* @param context - Optional context containing the actor who triggered activation
|
|
278
276
|
* @returns Promise that resolves when post-activation is complete
|
|
279
277
|
*/
|
|
280
278
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
281
|
-
postActivate(
|
|
279
|
+
postActivate(context) {
|
|
282
280
|
return Promise.resolve();
|
|
283
281
|
}
|
|
284
282
|
/**
|
package/dist/tool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool.js","sourceRoot":"","sources":["../src/tool.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tool.js","sourceRoot":"","sources":["../src/tool.ts"],"names":[],"mappings":"AAcA;;;GAGG;AACH,MAAM,OAAgB,KAAK;CAAG;AAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,OAAgB,IAAI;IAEZ;IACA;IACF;IAHV,YACY,EAAU,EACV,OAA4B,EAC9B,QAAkB;QAFhB,OAAE,GAAF,EAAE,CAAQ;QACV,YAAO,GAAP,OAAO,CAAqB;QAC9B,aAAQ,GAAR,QAAQ,CAAU;IACzB,CAAC;IAEJ;;;OAGG;IACH,IAAc,KAAK;QACjB,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAqB,CAAC;IACrD,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,6DAA6D;IAC7D,KAAK,CAAC,KAAkB;QACtB,OAAO,EAAE,CAAC;IACZ,CAAC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AM,IAAI,CAAC,QAAQ,CAAC,YAAY,EAAE,CAAC;IACrC,CAAC;CACF"}
|
|
@@ -13,8 +13,6 @@ export type Channel = {
|
|
|
13
13
|
title: string;
|
|
14
14
|
/** Optional nested channel resources (e.g., subfolders) */
|
|
15
15
|
children?: Channel[];
|
|
16
|
-
/** Priority ID this channel is routed to (set when channel is enabled) */
|
|
17
|
-
priorityId?: string;
|
|
18
16
|
/** Per-channel link type configs. Overrides twist-level linkTypes when present. */
|
|
19
17
|
linkTypes?: LinkTypeConfig[];
|
|
20
18
|
};
|
|
@@ -43,12 +41,37 @@ export type LinkTypeConfig = {
|
|
|
43
41
|
tag?: Tag;
|
|
44
42
|
/** Whether this status represents completion (done, closed, merged, cancelled, etc.) */
|
|
45
43
|
done?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Whether this status represents the connector's "to-do" / active state.
|
|
46
|
+
* When a user adds a thread to Plot's agenda, done-status links flip to
|
|
47
|
+
* the status marked `todo: true` (e.g., Gmail's "starred", Linear's
|
|
48
|
+
* "todo") so the link widget and thread tags reflect the active state.
|
|
49
|
+
* At most one status per type should set this.
|
|
50
|
+
*/
|
|
51
|
+
todo?: boolean;
|
|
46
52
|
}>;
|
|
47
53
|
/** Whether this link type supports displaying and changing the assignee */
|
|
48
54
|
supportsAssignee?: boolean;
|
|
49
55
|
/** Default thread creation mode for this link type: 'all' | 'actionable' | 'manual' */
|
|
50
56
|
defaultCreateThreads?: string;
|
|
51
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
* Context passed to onChannelEnabled with plan-based sync hints.
|
|
60
|
+
* Connectors can use these hints to limit initial sync scope.
|
|
61
|
+
*/
|
|
62
|
+
export type SyncContext = {
|
|
63
|
+
/**
|
|
64
|
+
* Earliest date to include in initial sync, based on the user's plan.
|
|
65
|
+
*
|
|
66
|
+
* Non-calendar connectors should use this as their date filter (timeMin,
|
|
67
|
+
* created.gte, etc.) during initial sync. Calendar connectors should
|
|
68
|
+
* ignore this for API queries (to avoid missing recurring events) — the
|
|
69
|
+
* API layer filters non-recurring items automatically.
|
|
70
|
+
*
|
|
71
|
+
* Undefined when no limit applies.
|
|
72
|
+
*/
|
|
73
|
+
syncHistoryMin?: Date;
|
|
74
|
+
};
|
|
52
75
|
/**
|
|
53
76
|
* Built-in tool for managing OAuth authentication and channel resources.
|
|
54
77
|
*
|
|
@@ -139,9 +162,10 @@ export declare abstract class Integrations extends ITool {
|
|
|
139
162
|
* This method is available only to Connectors (not regular Twists).
|
|
140
163
|
*
|
|
141
164
|
* @param link - The link with notes to save
|
|
142
|
-
* @returns Promise resolving to the saved thread's UUID
|
|
165
|
+
* @returns Promise resolving to the saved thread's UUID, or null if the
|
|
166
|
+
* link was filtered out (e.g. older than the plan's sync history limit)
|
|
143
167
|
*/
|
|
144
|
-
abstract saveLink(link: NewLinkWithNotes): Promise<Uuid>;
|
|
168
|
+
abstract saveLink(link: NewLinkWithNotes): Promise<Uuid | null>;
|
|
145
169
|
/**
|
|
146
170
|
* Saves contacts to the connector's priority.
|
|
147
171
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../src/tools/integrations.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,EACL,YAAY,EACb,MAAM,IAAI,CAAC;AACZ,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAC7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C;;;GAGG;AACH,MAAM,MAAM,OAAO,GAAG;IACpB,iEAAiE;IACjE,EAAE,EAAE,MAAM,CAAC;IACX,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IAC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;;;GAKG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,oCAAoC;IACpC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.js","sourceRoot":"","sources":["../../src/tools/integrations.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,GAEN,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"integrations.js","sourceRoot":"","sources":["../../src/tools/integrations.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,GAEN,MAAM,IAAI,CAAC;AA8EZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAM,OAAgB,YAAa,SAAQ,KAAK;IAC9C;;;;;OAKG;IACH,MAAM,CAAC,WAAW,CAAC,GAAG,WAAuB;QAC3C,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IACjD,CAAC;CAqGF;AAiBD;;;;;GAKG;AACH,MAAM,CAAN,IAAY,YAuBX;AAvBD,WAAY,YAAY;IACtB,0DAA0D;IAC1D,iCAAiB,CAAA;IACjB,0DAA0D;IAC1D,uCAAuB,CAAA;IACvB,kDAAkD;IAClD,iCAAiB,CAAA;IACjB,gDAAgD;IAChD,+BAAe,CAAA;IACf,uDAAuD;IACvD,uCAAuB,CAAA;IACvB,kDAAkD;IAClD,iCAAiB,CAAA;IACjB,gCAAgC;IAChC,iCAAiB,CAAA;IACjB,sEAAsE;IACtE,iCAAiB,CAAA;IACjB,gDAAgD;IAChD,+BAAe,CAAA;IACf,6CAA6C;IAC7C,mCAAmB,CAAA;IACnB,yDAAyD;IACzD,mCAAmB,CAAA;AACrB,CAAC,EAvBW,YAAY,KAAZ,YAAY,QAuBvB"}
|
package/dist/tools/network.d.ts
CHANGED
|
@@ -175,6 +175,36 @@ export declare abstract class Network extends ITool {
|
|
|
175
175
|
authorization?: Authorization;
|
|
176
176
|
/** When true, creates a Google Pub/Sub topic instead of a webhook URL. */
|
|
177
177
|
pubsub?: boolean;
|
|
178
|
+
/**
|
|
179
|
+
* Controls whether the returned webhook URL runs callbacks synchronously
|
|
180
|
+
* or asynchronously.
|
|
181
|
+
*
|
|
182
|
+
* **Async (default, `async: true`)** — Plot enqueues each incoming
|
|
183
|
+
* request and immediately returns `200 { queued: true }`. A background
|
|
184
|
+
* queue consumer runs the callback with bounded concurrency. The
|
|
185
|
+
* sender never sees the callback's return value or any error thrown
|
|
186
|
+
* by it, and delivery is at-least-once (the callback must be
|
|
187
|
+
* idempotent). This is the right default for the vast majority of
|
|
188
|
+
* webhooks — service event notifications, bulk-import fan-out, etc. —
|
|
189
|
+
* because it removes ingress-path database pressure and prevents
|
|
190
|
+
* sender-side retry storms when callbacks are slow.
|
|
191
|
+
*
|
|
192
|
+
* **Sync (`async: false`)** — Plot runs the callback inline and
|
|
193
|
+
* responds with the callback's return value. Required when:
|
|
194
|
+
* - The sender reads the response body (e.g. Microsoft Graph
|
|
195
|
+
* subscription validation, which POSTs with a `validationToken` and
|
|
196
|
+
* expects the token echoed as `text/plain`).
|
|
197
|
+
* - The sender uses the HTTP status code to decide whether to retry
|
|
198
|
+
* (e.g. to surface 4xx for permanent failures).
|
|
199
|
+
* - The handler must observe throws before the sender times out.
|
|
200
|
+
*
|
|
201
|
+
* When `async: false`, a callback returning a `string` is sent back
|
|
202
|
+
* with `Content-Type: text/plain`; any other value is serialized as
|
|
203
|
+
* JSON. `undefined` / `void` yields a plain `200 OK` body.
|
|
204
|
+
*
|
|
205
|
+
* Defaults to `true`.
|
|
206
|
+
*/
|
|
207
|
+
async?: boolean;
|
|
178
208
|
}, callback: TCallback, ...extraArgs: TArgs): Promise<string>;
|
|
179
209
|
/**
|
|
180
210
|
* Deletes an existing webhook endpoint.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../../src/tools/network.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,IAAI,CAAC;AAC3B,OAAO,EAAE,KAAK,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEvE;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,mDAAmD;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,oCAAoC;IACpC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,mDAAmD;IACnD,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,kDAAkD;IAClD,IAAI,EAAE,SAAS,CAAC;IAChB,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmFG;AACH,8BAAsB,OAAQ,SAAQ,KAAK;IACzC,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE;QACvB;;;WAGG;QACH,IAAI,EAAE,MAAM,EAAE,CAAC;KAChB,CAAC;IAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+CG;IACH,QAAQ,CAAC,aAAa,CACpB,KAAK,SAAS,YAAY,EAAE,EAC5B,SAAS,SAAS,CAAC,OAAO,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,KAAK,KAAK,GAAG,EAElE,OAAO,EAAE;QACP,QAAQ,CAAC,EAAE,YAAY,CAAC;QACxB,aAA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