@inferencesh/sdk 0.8.1 → 0.8.2
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/live/session.d.ts +1 -1
- package/dist/types.d.ts +11 -4
- package/dist/types.js +1 -1
- package/package.json +1 -1
package/dist/live/session.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export interface LiveHandlers {
|
|
|
37
37
|
onClear?: (field: string) => void;
|
|
38
38
|
/**
|
|
39
39
|
* The app refused a frame, or has something to report, and goes on:
|
|
40
|
-
* `{"$error": {field, message}}`. Apps on SDKs before 0.
|
|
40
|
+
* `{"$error": {field, message}}`. Apps on older SDKs (inferencesh before 0.10.1, @inferencesh/app before 0.1.16) send it
|
|
41
41
|
* as `{"error": ...}`, which counts too unless the output has an `error`
|
|
42
42
|
* field. Without this handler it stays in the patch.
|
|
43
43
|
*/
|
package/dist/types.d.ts
CHANGED
|
@@ -845,7 +845,7 @@ export declare const ScopeSecretsRead: Scope;
|
|
|
845
845
|
export declare const ScopeSecretsWrite: Scope;
|
|
846
846
|
/**
|
|
847
847
|
* Action-level scopes for credentials (connected accounts, vaults,
|
|
848
|
-
*
|
|
848
|
+
* auth schemes, MCP servers).
|
|
849
849
|
*/
|
|
850
850
|
export declare const ScopeCredentialsRead: Scope;
|
|
851
851
|
/**
|
|
@@ -1752,10 +1752,10 @@ export interface CredentialConfigDTO {
|
|
|
1752
1752
|
has_managed: boolean;
|
|
1753
1753
|
grant?: CredentialGrant;
|
|
1754
1754
|
/**
|
|
1755
|
-
*
|
|
1756
|
-
* itself (models.
|
|
1755
|
+
* AuthSchemeID is set when the provider is one the team defined
|
|
1756
|
+
* itself (models.AuthScheme), so the UI can offer edit and remove.
|
|
1757
1757
|
*/
|
|
1758
|
-
|
|
1758
|
+
auth_scheme_id?: string;
|
|
1759
1759
|
credential?: CredentialDTO;
|
|
1760
1760
|
}
|
|
1761
1761
|
/**
|
|
@@ -4902,6 +4902,13 @@ export interface DeltaEvent {
|
|
|
4902
4902
|
* Empty when the task has no execution edge (a plain app run).
|
|
4903
4903
|
*/
|
|
4904
4904
|
resource_id?: string;
|
|
4905
|
+
/**
|
|
4906
|
+
* End, when set, carries no delta: it is the id of the task or agent run
|
|
4907
|
+
* whose deltas on this key are complete. It follows the last of them on
|
|
4908
|
+
* the same key, so an in-process follower reads to it instead of guessing
|
|
4909
|
+
* when the stream is over. The stream layer never sends it to clients.
|
|
4910
|
+
*/
|
|
4911
|
+
end?: string;
|
|
4905
4912
|
}
|
|
4906
4913
|
/**
|
|
4907
4914
|
* LLMDeltaEvent is a typed alias for backward compatibility.
|
package/dist/types.js
CHANGED
|
@@ -199,7 +199,7 @@ export const ScopeSecretsRead = "secrets:read";
|
|
|
199
199
|
export const ScopeSecretsWrite = "secrets:write";
|
|
200
200
|
/**
|
|
201
201
|
* Action-level scopes for credentials (connected accounts, vaults,
|
|
202
|
-
*
|
|
202
|
+
* auth schemes, MCP servers).
|
|
203
203
|
*/
|
|
204
204
|
export const ScopeCredentialsRead = "credentials:read";
|
|
205
205
|
/**
|