@comfyorg/comfyui-desktop-bridge-types 0.6.1 → 0.7.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.
@@ -130,6 +130,10 @@ export interface ComfyDesktop2AuthBridge {
130
130
  * is scoped to; null when signed out, disabled, or the scope is missing,
131
131
  * malformed or different. The refresh token never leaves Desktop. */
132
132
  getWorkspaceToken(workspaceId: string): Promise<string | null>
133
+ /** The partner-node token for prompts in `workspaceId`, under the same rules
134
+ * as `getWorkspaceToken`. Desktop mints and renews it; null means use the
135
+ * workspace token. Absent on Desktop builds before it. */
136
+ getPartnerNodeToken?(workspaceId: string): Promise<string | null>
133
137
  /** Runs Desktop's browser sign-in and resolves with the resulting state. */
134
138
  requestSignIn(): Promise<ComfyDesktop2AuthState>
135
139
  /** Signs Desktop out of its account (every view follows) and resolves with
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-desktop-bridge-types",
3
- "version": "0.6.1",
3
+ "version": "0.7.0",
4
4
  "description": "TypeScript definitions for the Comfy Desktop hosted frontend bridge",
5
5
  "type": "module",
6
6
  "main": "./index.js",