@kortix/sdk 0.13.40 → 0.13.42
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 +40 -7
- package/dist/browser/session-sync/server-transcript-mirror.d.ts +7 -4
- package/dist/browser/session-sync/server-transcript-mirror.d.ts.map +1 -1
- package/dist/browser/session-sync/server-transcript-mirror.js +18 -4
- package/dist/browser/session-sync/server-transcript-mirror.js.map +1 -1
- package/dist/browser/stores/sandbox-connection-store.d.ts +1 -10
- package/dist/browser/stores/sandbox-connection-store.d.ts.map +1 -1
- package/dist/browser/stores/sandbox-connection-store.js +11 -1
- package/dist/browser/stores/sandbox-connection-store.js.map +1 -1
- package/dist/browser/stores/sync-store/reconcile-parts.d.ts +14 -0
- package/dist/browser/stores/sync-store/reconcile-parts.d.ts.map +1 -0
- package/dist/browser/stores/sync-store/reconcile-parts.js +55 -0
- package/dist/browser/stores/sync-store/reconcile-parts.js.map +1 -0
- package/dist/browser/stores/sync-store.d.ts.map +1 -1
- package/dist/browser/stores/sync-store.js +11 -92
- package/dist/browser/stores/sync-store.js.map +1 -1
- package/dist/core/agents/composer-agents.d.ts +73 -0
- package/dist/core/agents/composer-agents.d.ts.map +1 -0
- package/dist/core/agents/composer-agents.js +100 -0
- package/dist/core/agents/composer-agents.js.map +1 -0
- package/dist/core/cache/persisted-query-cache.d.ts.map +1 -1
- package/dist/core/cache/persisted-query-cache.js +9 -0
- package/dist/core/cache/persisted-query-cache.js.map +1 -1
- package/dist/core/client/kortix.d.ts +44 -3
- package/dist/core/client/kortix.d.ts.map +1 -1
- package/dist/core/client/kortix.js +22 -1
- package/dist/core/client/kortix.js.map +1 -1
- package/dist/core/models/bedrock-invokable.d.ts +58 -0
- package/dist/core/models/bedrock-invokable.d.ts.map +1 -0
- package/dist/core/models/bedrock-invokable.js +83 -0
- package/dist/core/models/bedrock-invokable.js.map +1 -0
- package/dist/core/models/composer-model.d.ts +51 -0
- package/dist/core/models/composer-model.d.ts.map +1 -0
- package/dist/core/models/composer-model.js +88 -0
- package/dist/core/models/composer-model.js.map +1 -0
- package/dist/core/models/model-flatten.d.ts +90 -0
- package/dist/core/models/model-flatten.d.ts.map +1 -0
- package/dist/core/models/model-flatten.js +88 -0
- package/dist/core/models/model-flatten.js.map +1 -0
- package/dist/core/models/model-key.d.ts +18 -0
- package/dist/core/models/model-key.d.ts.map +1 -0
- package/dist/core/models/model-key.js +16 -0
- package/dist/core/models/model-key.js.map +1 -0
- package/dist/core/models/model-lookup.d.ts +3 -0
- package/dist/core/models/model-lookup.d.ts.map +1 -0
- package/dist/core/models/model-lookup.js +4 -0
- package/dist/core/models/model-lookup.js.map +1 -0
- package/dist/core/models/model-visibility.d.ts +85 -0
- package/dist/core/models/model-visibility.d.ts.map +1 -0
- package/dist/core/models/model-visibility.js +215 -0
- package/dist/core/models/model-visibility.js.map +1 -0
- package/dist/core/models/provider-selection.d.ts +142 -0
- package/dist/core/models/provider-selection.d.ts.map +1 -0
- package/dist/core/models/provider-selection.js +472 -0
- package/dist/core/models/provider-selection.js.map +1 -0
- package/dist/core/rest/platform-client/host-boundary.d.ts +4 -0
- package/dist/core/rest/platform-client/host-boundary.d.ts.map +1 -1
- package/dist/core/rest/platform-client/host-boundary.js.map +1 -1
- package/dist/core/rest/projects-client/access.d.ts +6 -1
- package/dist/core/rest/projects-client/access.d.ts.map +1 -1
- package/dist/core/rest/projects-client/access.js +3 -1
- package/dist/core/rest/projects-client/access.js.map +1 -1
- package/dist/core/rest/projects-client/account-secret-resources.d.ts +7 -0
- package/dist/core/rest/projects-client/account-secret-resources.d.ts.map +1 -1
- package/dist/core/rest/projects-client/account-secret-resources.js.map +1 -1
- package/dist/core/rest/projects-client/agent-config.d.ts +4 -0
- package/dist/core/rest/projects-client/agent-config.d.ts.map +1 -1
- package/dist/core/rest/projects-client/agent-config.js.map +1 -1
- package/dist/core/rest/projects-client/connectors.d.ts +58 -2
- package/dist/core/rest/projects-client/connectors.d.ts.map +1 -1
- package/dist/core/rest/projects-client/connectors.js +27 -3
- package/dist/core/rest/projects-client/connectors.js.map +1 -1
- package/dist/core/rest/projects-client/github.d.ts +25 -0
- package/dist/core/rest/projects-client/github.d.ts.map +1 -1
- package/dist/core/rest/projects-client/github.js +19 -0
- package/dist/core/rest/projects-client/github.js.map +1 -1
- package/dist/core/rest/projects-client/index.d.ts +2 -0
- package/dist/core/rest/projects-client/index.d.ts.map +1 -1
- package/dist/core/rest/projects-client/index.js +2 -0
- package/dist/core/rest/projects-client/index.js.map +1 -1
- package/dist/core/rest/projects-client/project-agents.d.ts +29 -0
- package/dist/core/rest/projects-client/project-agents.d.ts.map +1 -0
- package/dist/core/rest/projects-client/project-agents.js +41 -0
- package/dist/core/rest/projects-client/project-agents.js.map +1 -0
- package/dist/core/rest/projects-client/projects.d.ts +24 -4
- package/dist/core/rest/projects-client/projects.d.ts.map +1 -1
- package/dist/core/rest/projects-client/projects.js +8 -3
- package/dist/core/rest/projects-client/projects.js.map +1 -1
- package/dist/core/rest/projects-client/review-items.d.ts +3 -0
- package/dist/core/rest/projects-client/review-items.d.ts.map +1 -1
- package/dist/core/rest/projects-client/review-items.js +1 -0
- package/dist/core/rest/projects-client/review-items.js.map +1 -1
- package/dist/core/rest/projects-client/session-reminders.d.ts +63 -0
- package/dist/core/rest/projects-client/session-reminders.d.ts.map +1 -0
- package/dist/core/rest/projects-client/session-reminders.js +29 -0
- package/dist/core/rest/projects-client/session-reminders.js.map +1 -0
- package/dist/core/rest/projects-client/sessions.d.ts +35 -0
- package/dist/core/rest/projects-client/sessions.d.ts.map +1 -1
- package/dist/core/rest/projects-client/sessions.js +14 -1
- package/dist/core/rest/projects-client/sessions.js.map +1 -1
- package/dist/core/rest/projects-client/setup-links.d.ts +2 -0
- package/dist/core/rest/projects-client/setup-links.d.ts.map +1 -1
- package/dist/core/rest/projects-client/setup-links.js.map +1 -1
- package/dist/core/rest/projects-client/tokens.d.ts +30 -0
- package/dist/core/rest/projects-client/tokens.d.ts.map +1 -1
- package/dist/core/rest/projects-client/tokens.js +11 -0
- package/dist/core/rest/projects-client/tokens.js.map +1 -1
- package/dist/core/runtime/kortix-master.d.ts +74 -5
- package/dist/core/runtime/kortix-master.d.ts.map +1 -1
- package/dist/core/runtime/kortix-master.js +78 -5
- package/dist/core/runtime/kortix-master.js.map +1 -1
- package/dist/core/session/connection.d.ts +22 -0
- package/dist/core/session/connection.d.ts.map +1 -1
- package/dist/core/session/connection.js +28 -0
- package/dist/core/session/connection.js.map +1 -1
- package/dist/core/session/status-vocabulary.d.ts +1 -1
- package/dist/core/session/status-vocabulary.js +1 -1
- package/dist/core/session/status-vocabulary.js.map +1 -1
- package/dist/core/session-sync/saved-copy-store.d.ts +5 -1
- package/dist/core/session-sync/saved-copy-store.d.ts.map +1 -1
- package/dist/core/session-sync/saved-copy-store.js +50 -2
- package/dist/core/session-sync/saved-copy-store.js.map +1 -1
- package/dist/core/session-sync/saved-transcript.d.ts +46 -2
- package/dist/core/session-sync/saved-transcript.d.ts.map +1 -1
- package/dist/core/session-sync/saved-transcript.js +40 -0
- package/dist/core/session-sync/saved-transcript.js.map +1 -1
- package/dist/core/session-sync/session-sync-controller.d.ts +2 -0
- package/dist/core/session-sync/session-sync-controller.d.ts.map +1 -1
- package/dist/core/session-sync/session-sync-controller.js +19 -2
- package/dist/core/session-sync/session-sync-controller.js.map +1 -1
- package/dist/core/stream/fetch-sse.d.ts +4 -0
- package/dist/core/stream/fetch-sse.d.ts.map +1 -1
- package/dist/core/stream/fetch-sse.js +4 -0
- package/dist/core/stream/fetch-sse.js.map +1 -1
- package/dist/core/stream/keepalive.d.ts +1 -1
- package/dist/core/stream/keepalive.js +1 -1
- package/dist/core/turns/errors.d.ts +6 -0
- package/dist/core/turns/errors.d.ts.map +1 -1
- package/dist/core/turns/errors.js +7 -1
- package/dist/core/turns/errors.js.map +1 -1
- package/dist/core/turns/parts.d.ts.map +1 -1
- package/dist/core/turns/parts.js +22 -129
- package/dist/core/turns/parts.js.map +1 -1
- package/dist/core/turns/tools/memory-helpers.d.ts +5 -0
- package/dist/core/turns/tools/memory-helpers.d.ts.map +1 -1
- package/dist/core/turns/tools/memory-helpers.js +9 -1
- package/dist/core/turns/tools/memory-helpers.js.map +1 -1
- package/dist/core/turns/tools/skill-helpers.d.ts +1 -1
- package/dist/core/turns/tools/skill-helpers.d.ts.map +1 -1
- package/dist/core/turns/tools/skill-helpers.js +7 -6
- package/dist/core/turns/tools/skill-helpers.js.map +1 -1
- package/dist/core/turns/tools/web-helpers.d.ts.map +1 -1
- package/dist/core/turns/tools/web-helpers.js +79 -139
- package/dist/core/turns/tools/web-helpers.js.map +1 -1
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -1
- package/dist/kortix.esm.min.js +37 -37
- package/dist/kortix.global.js +37 -37
- package/dist/react/bedrock-invokable.d.ts +1 -57
- package/dist/react/bedrock-invokable.d.ts.map +1 -1
- package/dist/react/bedrock-invokable.js +2 -82
- package/dist/react/bedrock-invokable.js.map +1 -1
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +1 -0
- package/dist/react/index.js.map +1 -1
- package/dist/react/model-flatten.d.ts +1 -89
- package/dist/react/model-flatten.d.ts.map +1 -1
- package/dist/react/model-flatten.js +2 -85
- package/dist/react/model-flatten.js.map +1 -1
- package/dist/react/model-lookup.d.ts +1 -2
- package/dist/react/model-lookup.d.ts.map +1 -1
- package/dist/react/model-lookup.js +2 -3
- package/dist/react/model-lookup.js.map +1 -1
- package/dist/react/provider-selection.d.ts +1 -107
- package/dist/react/provider-selection.d.ts.map +1 -1
- package/dist/react/provider-selection.js +2 -437
- package/dist/react/provider-selection.js.map +1 -1
- package/dist/react/query-keys.d.ts +19 -1
- package/dist/react/query-keys.d.ts.map +1 -1
- package/dist/react/query-keys.js +25 -54
- package/dist/react/query-keys.js.map +1 -1
- package/dist/react/runtime-actions.d.ts +7 -0
- package/dist/react/runtime-actions.d.ts.map +1 -1
- package/dist/react/runtime-actions.js +7 -0
- package/dist/react/runtime-actions.js.map +1 -1
- package/dist/react/session-cache-write.d.ts +1 -1
- package/dist/react/session-cache-write.d.ts.map +1 -1
- package/dist/react/session-cache-write.js +38 -4
- package/dist/react/session-cache-write.js.map +1 -1
- package/dist/react/sign-in-with-kortix.d.ts +1 -1
- package/dist/react/use-feature-flag.d.ts +3 -3
- package/dist/react/use-feature-flag.d.ts.map +1 -1
- package/dist/react/use-feature-flag.js +8 -4
- package/dist/react/use-feature-flag.js.map +1 -1
- package/dist/react/use-kortix-master.d.ts +81 -3
- package/dist/react/use-kortix-master.d.ts.map +1 -1
- package/dist/react/use-kortix-master.js +84 -3
- package/dist/react/use-kortix-master.js.map +1 -1
- package/dist/react/use-model-defaults.d.ts +2 -1
- package/dist/react/use-model-defaults.d.ts.map +1 -1
- package/dist/react/use-model-defaults.js +3 -7
- package/dist/react/use-model-defaults.js.map +1 -1
- package/dist/react/use-model-store.d.ts +3 -44
- package/dist/react/use-model-store.d.ts.map +1 -1
- package/dist/react/use-model-store.js +16 -182
- package/dist/react/use-model-store.js.map +1 -1
- package/dist/react/use-opencode-events/helpers.d.ts.map +1 -1
- package/dist/react/use-opencode-events/helpers.js +5 -0
- package/dist/react/use-opencode-events/helpers.js.map +1 -1
- package/dist/react/use-opencode-local.d.ts.map +1 -1
- package/dist/react/use-opencode-local.js +41 -110
- package/dist/react/use-opencode-local.js.map +1 -1
- package/dist/react/use-opencode-mcp.d.ts +6 -0
- package/dist/react/use-opencode-mcp.d.ts.map +1 -1
- package/dist/react/use-opencode-mcp.js +6 -0
- package/dist/react/use-opencode-mcp.js.map +1 -1
- package/dist/react/use-opencode-sessions/agents.d.ts +2 -7
- package/dist/react/use-opencode-sessions/agents.d.ts.map +1 -1
- package/dist/react/use-opencode-sessions/agents.js +4 -28
- package/dist/react/use-opencode-sessions/agents.js.map +1 -1
- package/dist/react/use-opencode-sessions/mcp.d.ts +1 -0
- package/dist/react/use-opencode-sessions/mcp.d.ts.map +1 -1
- package/dist/react/use-opencode-sessions/mcp.js +1 -0
- package/dist/react/use-opencode-sessions/mcp.js.map +1 -1
- package/dist/react/use-opencode-sessions/parts.d.ts +4 -0
- package/dist/react/use-opencode-sessions/parts.d.ts.map +1 -1
- package/dist/react/use-opencode-sessions/parts.js +4 -0
- package/dist/react/use-opencode-sessions/parts.js.map +1 -1
- package/dist/react/use-opencode-sessions/projects.d.ts +1 -0
- package/dist/react/use-opencode-sessions/projects.d.ts.map +1 -1
- package/dist/react/use-opencode-sessions/projects.js +1 -0
- package/dist/react/use-opencode-sessions/projects.js.map +1 -1
- package/dist/react/use-opencode-sessions/providers.d.ts +1 -1
- package/dist/react/use-opencode-sessions/providers.d.ts.map +1 -1
- package/dist/react/use-opencode-sessions/providers.js +4 -4
- package/dist/react/use-opencode-sessions/providers.js.map +1 -1
- package/dist/react/use-opencode-sessions/sessions.d.ts +1 -0
- package/dist/react/use-opencode-sessions/sessions.d.ts.map +1 -1
- package/dist/react/use-opencode-sessions/sessions.js +1 -0
- package/dist/react/use-opencode-sessions/sessions.js.map +1 -1
- package/dist/react/use-opencode-sessions/sharing.d.ts +2 -0
- package/dist/react/use-opencode-sessions/sharing.d.ts.map +1 -1
- package/dist/react/use-opencode-sessions/sharing.js +2 -0
- package/dist/react/use-opencode-sessions/sharing.js.map +1 -1
- package/dist/react/use-opencode-sessions/tools.d.ts +2 -0
- package/dist/react/use-opencode-sessions/tools.d.ts.map +1 -1
- package/dist/react/use-opencode-sessions/tools.js +2 -0
- package/dist/react/use-opencode-sessions/tools.js.map +1 -1
- package/dist/react/use-project-sessions.d.ts +221 -1
- package/dist/react/use-project-sessions.d.ts.map +1 -1
- package/dist/react/use-project-sessions.js +27 -1
- package/dist/react/use-project-sessions.js.map +1 -1
- package/dist/react/use-reminders.d.ts +465 -0
- package/dist/react/use-reminders.d.ts.map +1 -0
- package/dist/react/use-reminders.js +50 -0
- package/dist/react/use-reminders.js.map +1 -0
- package/dist/react/use-runtime-reconnect.d.ts +41 -8
- package/dist/react/use-runtime-reconnect.d.ts.map +1 -1
- package/dist/react/use-runtime-reconnect.js +93 -27
- package/dist/react/use-runtime-reconnect.js.map +1 -1
- package/dist/react/use-session-sync.d.ts +7 -0
- package/dist/react/use-session-sync.d.ts.map +1 -1
- package/dist/react/use-session-sync.js +25 -12
- package/dist/react/use-session-sync.js.map +1 -1
- package/dist/react/use-session-transcript-history.d.ts +2 -0
- package/dist/react/use-session-transcript-history.d.ts.map +1 -1
- package/dist/react/use-session-transcript-history.js +3 -0
- package/dist/react/use-session-transcript-history.js.map +1 -1
- package/dist/react/use-session.d.ts +25 -15
- package/dist/react/use-session.d.ts.map +1 -1
- package/dist/react/use-session.js +136 -21
- package/dist/react/use-session.js.map +1 -1
- package/dist/react/use-tunnel.d.ts +59 -7
- package/dist/react/use-tunnel.d.ts.map +1 -1
- package/dist/react/use-tunnel.js +82 -123
- package/dist/react/use-tunnel.js.map +1 -1
- package/dist/react/use-visible-agents.d.ts +5 -5
- package/dist/react/use-visible-agents.d.ts.map +1 -1
- package/dist/react/use-visible-agents.js +10 -28
- package/dist/react/use-visible-agents.js.map +1 -1
- package/package.json +2 -2
- package/dist/core/session-sync/durable-log.d.ts +0 -96
- package/dist/core/session-sync/durable-log.d.ts.map +0 -1
- package/dist/core/session-sync/durable-log.js +0 -94
- package/dist/core/session-sync/durable-log.js.map +0 -1
|
@@ -23,19 +23,27 @@ export declare const credentialKeys: {
|
|
|
23
23
|
list: (pid?: string) => readonly ["kortix", "credentials", string];
|
|
24
24
|
events: (pid: string, name: string) => readonly ["kortix", "credentials", string, string, "events"];
|
|
25
25
|
};
|
|
26
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
26
27
|
export declare function useCredentials(projectId?: string): import("@tanstack/react-query").UseQueryResult<CredentialItem[], Error>;
|
|
28
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
27
29
|
export declare function useCredentialEvents(projectId?: string, name?: string): import("@tanstack/react-query").UseQueryResult<CredentialEvent[], Error>;
|
|
30
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
28
31
|
export declare function useUpsertCredential(): import("@tanstack/react-query").UseMutationResult<CredentialItem, Error, {
|
|
29
32
|
projectId: string;
|
|
30
33
|
name: string;
|
|
31
34
|
value: string;
|
|
32
35
|
description?: string | null;
|
|
33
36
|
}, unknown>;
|
|
34
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Reveal returns the decrypted value. Each call is audit-logged as a read.
|
|
39
|
+
*
|
|
40
|
+
* @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major.
|
|
41
|
+
*/
|
|
35
42
|
export declare function useRevealCredential(): import("@tanstack/react-query").UseMutationResult<CredentialWithValue, Error, {
|
|
36
43
|
projectId: string;
|
|
37
44
|
name: string;
|
|
38
45
|
}, unknown>;
|
|
46
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
39
47
|
export declare function useDeleteCredential(): import("@tanstack/react-query").UseMutationResult<{
|
|
40
48
|
ok: boolean;
|
|
41
49
|
}, Error, {
|
|
@@ -49,19 +57,26 @@ export declare const kortixKeys: {
|
|
|
49
57
|
export interface KortixProjectQueryOptions {
|
|
50
58
|
enabled?: boolean;
|
|
51
59
|
}
|
|
60
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
52
61
|
export declare function useKortixProjects(identity: KortixMasterIdentity, _args?: undefined, options?: KortixProjectQueryOptions): import("@tanstack/react-query").UseQueryResult<import("../index.js").KortixMasterProject[], Error>;
|
|
62
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
53
63
|
export declare function useKortixProject(identity: KortixMasterIdentity, id: string): import("@tanstack/react-query").UseQueryResult<import("../index.js").KortixMasterProject, Error>;
|
|
64
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
54
65
|
export declare function useKortixProjectForSession(identity: KortixMasterIdentity, sessionId: string, options?: KortixProjectQueryOptions): import("@tanstack/react-query").UseQueryResult<import("../index.js").KortixMasterProject | null, Error>;
|
|
55
66
|
/**
|
|
56
67
|
* Fetch sessions linked to a specific project.
|
|
57
68
|
* Returns OpenCode session objects enriched with title, time, etc.
|
|
69
|
+
*
|
|
70
|
+
* @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major.
|
|
58
71
|
*/
|
|
59
72
|
export declare function useKortixProjectSessions(identity: KortixMasterIdentity, projectId: string, options?: KortixProjectQueryOptions): import("@tanstack/react-query").UseQueryResult<unknown[], Error>;
|
|
73
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
60
74
|
export declare function useDeleteProject(): import("@tanstack/react-query").UseMutationResult<{
|
|
61
75
|
deleted: boolean;
|
|
62
76
|
name: string;
|
|
63
77
|
path: string;
|
|
64
78
|
}, Error, string, unknown>;
|
|
79
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
65
80
|
export declare function usePatchProject(): import("@tanstack/react-query").UseMutationResult<import("../index.js").KortixMasterProject, Error, {
|
|
66
81
|
id: string;
|
|
67
82
|
name?: string;
|
|
@@ -75,12 +90,20 @@ interface KortixTaskQueryOptions {
|
|
|
75
90
|
/** Pure — the daemon's `status` isn't schema-validated, so this normalizes
|
|
76
91
|
* raw rows (defaulting an unrecognized status to `'todo'`) before trusting
|
|
77
92
|
* `KortixTask['status']`. `raw` is genuinely unvalidated wire data — duck-type
|
|
78
|
-
* via `unknown` rather than assume the shape. Exported for direct unit testing.
|
|
93
|
+
* via `unknown` rather than assume the shape. Exported for direct unit testing.
|
|
94
|
+
*
|
|
95
|
+
* @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major.
|
|
96
|
+
*/
|
|
79
97
|
export declare function normalizeTask(raw: unknown): KortixTask;
|
|
98
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
80
99
|
export declare function useKortixTasks(projectId?: string, status?: string, options?: KortixTaskQueryOptions): import("@tanstack/react-query").UseQueryResult<KortixTask[], Error>;
|
|
100
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
81
101
|
export declare function useKortixTask(id: string, options?: KortixTaskQueryOptions): import("@tanstack/react-query").UseQueryResult<KortixTask, Error>;
|
|
102
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
82
103
|
export declare function useKortixTaskEvents(id: string, options?: KortixTaskQueryOptions): import("@tanstack/react-query").UseQueryResult<KortixTaskEvent[], Error>;
|
|
104
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
83
105
|
export declare function useKortixTaskStatus(id: string, options?: KortixTaskQueryOptions): import("@tanstack/react-query").UseQueryResult<KortixTaskLiveStatus, Error>;
|
|
106
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
84
107
|
export declare function useCreateKortixTask(): import("@tanstack/react-query").UseMutationResult<KortixTask, Error, {
|
|
85
108
|
project_id: string;
|
|
86
109
|
title: string;
|
|
@@ -88,13 +111,17 @@ export declare function useCreateKortixTask(): import("@tanstack/react-query").U
|
|
|
88
111
|
verification_condition?: string;
|
|
89
112
|
status?: KortixTaskStatus;
|
|
90
113
|
}, unknown>;
|
|
114
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
91
115
|
export declare function useUpdateKortixTask(): import("@tanstack/react-query").UseMutationResult<KortixTask, Error, {
|
|
92
116
|
id: string;
|
|
93
117
|
} & Partial<KortixTask>, unknown>;
|
|
118
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
94
119
|
export declare function useStartKortixTask(): import("@tanstack/react-query").UseMutationResult<KortixTask, Error, {
|
|
95
120
|
id: string;
|
|
96
121
|
}, unknown>;
|
|
122
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
97
123
|
export declare function useApproveKortixTask(): import("@tanstack/react-query").UseMutationResult<KortixTask, Error, string, unknown>;
|
|
124
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
98
125
|
export declare function useDeleteKortixTask(): import("@tanstack/react-query").UseMutationResult<{
|
|
99
126
|
deleted: boolean;
|
|
100
127
|
}, Error, string, unknown>;
|
|
@@ -107,18 +134,22 @@ export declare const ticketKeys: {
|
|
|
107
134
|
templates: (pid: string) => readonly ["kortix", "templates", string];
|
|
108
135
|
agents: (pid: string) => readonly ["kortix", "agents", string];
|
|
109
136
|
};
|
|
137
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
110
138
|
export declare function useTickets(projectId?: string, opts?: {
|
|
111
139
|
enabled?: boolean;
|
|
112
140
|
pollingEnabled?: boolean;
|
|
113
141
|
}): import("@tanstack/react-query").UseQueryResult<Ticket[], Error>;
|
|
142
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
114
143
|
export declare function useTicket(id?: string, opts?: {
|
|
115
144
|
enabled?: boolean;
|
|
116
145
|
pollingEnabled?: boolean;
|
|
117
146
|
}): import("@tanstack/react-query").UseQueryResult<Ticket, Error>;
|
|
147
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
118
148
|
export declare function useTicketEvents(id?: string, opts?: {
|
|
119
149
|
enabled?: boolean;
|
|
120
150
|
pollingEnabled?: boolean;
|
|
121
151
|
}): import("@tanstack/react-query").UseQueryResult<TicketEvent[], Error>;
|
|
152
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
122
153
|
export declare function useCreateTicket(identity: KortixMasterIdentity): import("@tanstack/react-query").UseMutationResult<{
|
|
123
154
|
ticket: Ticket;
|
|
124
155
|
triggered: import("../index.js").TriggeredAgent[];
|
|
@@ -136,6 +167,7 @@ export declare function useCreateTicket(identity: KortixMasterIdentity): import(
|
|
|
136
167
|
milestone_id?: string | null;
|
|
137
168
|
parent_id?: string | null;
|
|
138
169
|
}, unknown>;
|
|
170
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
139
171
|
export declare function useUpdateTicket(identity: KortixMasterIdentity): import("@tanstack/react-query").UseMutationResult<Ticket, Error, {
|
|
140
172
|
id: string;
|
|
141
173
|
title?: string;
|
|
@@ -144,6 +176,7 @@ export declare function useUpdateTicket(identity: KortixMasterIdentity): import(
|
|
|
144
176
|
custom_fields?: Record<string, unknown>;
|
|
145
177
|
milestone_id?: string | null;
|
|
146
178
|
}, unknown>;
|
|
179
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
147
180
|
export declare function useUpdateTicketStatus(identity: KortixMasterIdentity): import("@tanstack/react-query").UseMutationResult<{
|
|
148
181
|
ticket: Ticket;
|
|
149
182
|
triggered: import("../index.js").TriggeredAgent[];
|
|
@@ -151,6 +184,7 @@ export declare function useUpdateTicketStatus(identity: KortixMasterIdentity): i
|
|
|
151
184
|
id: string;
|
|
152
185
|
status: string;
|
|
153
186
|
}, unknown>;
|
|
187
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
154
188
|
export declare function useAssignTicket(identity: KortixMasterIdentity): import("@tanstack/react-query").UseMutationResult<{
|
|
155
189
|
added: boolean;
|
|
156
190
|
ticket: Ticket;
|
|
@@ -159,6 +193,7 @@ export declare function useAssignTicket(identity: KortixMasterIdentity): import(
|
|
|
159
193
|
assignee_type: AssigneeType;
|
|
160
194
|
assignee_id: string;
|
|
161
195
|
}, unknown>;
|
|
196
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
162
197
|
export declare function useUnassignTicket(identity: KortixMasterIdentity): import("@tanstack/react-query").UseMutationResult<{
|
|
163
198
|
removed: boolean;
|
|
164
199
|
ticket: Ticket;
|
|
@@ -167,6 +202,7 @@ export declare function useUnassignTicket(identity: KortixMasterIdentity): impor
|
|
|
167
202
|
assignee_type: AssigneeType;
|
|
168
203
|
assignee_id: string;
|
|
169
204
|
}, unknown>;
|
|
205
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
170
206
|
export declare function useCommentTicket(identity: KortixMasterIdentity): import("@tanstack/react-query").UseMutationResult<{
|
|
171
207
|
event: TicketEvent;
|
|
172
208
|
mentions: string[];
|
|
@@ -177,10 +213,13 @@ export declare function useCommentTicket(identity: KortixMasterIdentity): import
|
|
|
177
213
|
id: string;
|
|
178
214
|
body: string;
|
|
179
215
|
}, unknown>;
|
|
216
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
180
217
|
export declare function useDeleteTicket(): import("@tanstack/react-query").UseMutationResult<{
|
|
181
218
|
deleted: true;
|
|
182
219
|
}, Error, string, unknown>;
|
|
220
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
183
221
|
export declare function useColumns(projectId?: string): import("@tanstack/react-query").UseQueryResult<TicketColumn[], Error>;
|
|
222
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
184
223
|
export declare function useReplaceColumns(): import("@tanstack/react-query").UseMutationResult<TicketColumn[], Error, {
|
|
185
224
|
projectId: string;
|
|
186
225
|
columns: Array<{
|
|
@@ -193,7 +232,9 @@ export declare function useReplaceColumns(): import("@tanstack/react-query").Use
|
|
|
193
232
|
icon?: string | null;
|
|
194
233
|
}>;
|
|
195
234
|
}, unknown>;
|
|
235
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
196
236
|
export declare function useFields(projectId?: string): import("@tanstack/react-query").UseQueryResult<ProjectField[], Error>;
|
|
237
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
197
238
|
export declare function useReplaceFields(): import("@tanstack/react-query").UseMutationResult<ProjectField[], Error, {
|
|
198
239
|
projectId: string;
|
|
199
240
|
fields: Array<{
|
|
@@ -203,7 +244,9 @@ export declare function useReplaceFields(): import("@tanstack/react-query").UseM
|
|
|
203
244
|
options?: string[] | null;
|
|
204
245
|
}>;
|
|
205
246
|
}, unknown>;
|
|
247
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
206
248
|
export declare function useTemplates(projectId?: string): import("@tanstack/react-query").UseQueryResult<TicketTemplate[], Error>;
|
|
249
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
207
250
|
export declare function useReplaceTemplates(): import("@tanstack/react-query").UseMutationResult<TicketTemplate[], Error, {
|
|
208
251
|
projectId: string;
|
|
209
252
|
templates: Array<{
|
|
@@ -215,6 +258,8 @@ export declare function useReplaceTemplates(): import("@tanstack/react-query").U
|
|
|
215
258
|
* Ensure (create-if-missing) a project-level session bound to the Project
|
|
216
259
|
* Manager agent. Idempotent on the backend — first call creates + binds,
|
|
217
260
|
* subsequent calls return the existing session id so the thread continues.
|
|
261
|
+
*
|
|
262
|
+
* @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major.
|
|
218
263
|
*/
|
|
219
264
|
export declare function useEnsurePmSession(): import("@tanstack/react-query").UseMutationResult<{
|
|
220
265
|
session_id: string;
|
|
@@ -222,7 +267,9 @@ export declare function useEnsurePmSession(): import("@tanstack/react-query").Us
|
|
|
222
267
|
}, Error, {
|
|
223
268
|
projectId: string;
|
|
224
269
|
}, unknown>;
|
|
270
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
225
271
|
export declare function useProjectAgents(projectId?: string): import("@tanstack/react-query").UseQueryResult<ProjectAgent[], Error>;
|
|
272
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
226
273
|
export declare function useCreateProjectAgent(): import("@tanstack/react-query").UseMutationResult<ProjectAgent, Error, {
|
|
227
274
|
projectId: string;
|
|
228
275
|
slug: string;
|
|
@@ -235,6 +282,7 @@ export declare function useCreateProjectAgent(): import("@tanstack/react-query")
|
|
|
235
282
|
color_hue?: number | null;
|
|
236
283
|
icon?: string | null;
|
|
237
284
|
}, unknown>;
|
|
285
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
238
286
|
export declare function useUpdateProjectAgent(): import("@tanstack/react-query").UseMutationResult<ProjectAgent, Error, {
|
|
239
287
|
projectId: string;
|
|
240
288
|
slug: string;
|
|
@@ -247,18 +295,21 @@ export declare function useUpdateProjectAgent(): import("@tanstack/react-query")
|
|
|
247
295
|
color_hue?: number | null;
|
|
248
296
|
icon?: string | null;
|
|
249
297
|
}, unknown>;
|
|
298
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
250
299
|
export declare function useDeleteProjectAgent(): import("@tanstack/react-query").UseMutationResult<{
|
|
251
300
|
deleted: true;
|
|
252
301
|
}, Error, {
|
|
253
302
|
projectId: string;
|
|
254
303
|
slug: string;
|
|
255
304
|
}, unknown>;
|
|
305
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
256
306
|
export declare function useAgentPersona(projectId?: string, slug?: string, opts?: {
|
|
257
307
|
enabled?: boolean;
|
|
258
308
|
}): import("@tanstack/react-query").UseQueryResult<{
|
|
259
309
|
agent: ProjectAgent;
|
|
260
310
|
body_md: string;
|
|
261
311
|
}, Error>;
|
|
312
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
262
313
|
export declare function useProjectActivity(projectId?: string, opts?: {
|
|
263
314
|
enabled?: boolean;
|
|
264
315
|
pollingEnabled?: boolean;
|
|
@@ -288,6 +339,8 @@ export interface ProjectNotification {
|
|
|
288
339
|
*
|
|
289
340
|
* Pure — takes `handle` as an explicit parameter rather than reading it from
|
|
290
341
|
* an auth hook. Exported for direct unit testing.
|
|
342
|
+
*
|
|
343
|
+
* @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major.
|
|
291
344
|
*/
|
|
292
345
|
export declare function computeUnread(events: TicketEvent[] | undefined, handle: string, sinceIso: string | null): UnreadComputation;
|
|
293
346
|
/**
|
|
@@ -297,20 +350,29 @@ export declare function computeUnread(events: TicketEvent[] | undefined, handle:
|
|
|
297
350
|
* titles, relative times, and the comment body that caused a mention.
|
|
298
351
|
*
|
|
299
352
|
* Pure — same `handle`-as-parameter shape as {@link computeUnread}.
|
|
353
|
+
*
|
|
354
|
+
* @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major.
|
|
300
355
|
*/
|
|
301
356
|
export declare function computeNotifications(events: TicketEvent[] | undefined, handle: string, sinceIso: string | null): ProjectNotification[];
|
|
302
357
|
export declare const LAST_SEEN_EVENT = "kortix:last-seen-changed";
|
|
358
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
303
359
|
export declare function readLastSeen(projectId: string, handle: string): string | null;
|
|
360
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
304
361
|
export declare function writeLastSeen(projectId: string, handle: string, iso: string): void;
|
|
362
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
305
363
|
export declare function safeParseJsonArray(s: string | null | undefined): string[];
|
|
364
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
306
365
|
export declare function parseCustomFields(json: string | null | undefined): Record<string, unknown>;
|
|
307
366
|
export declare const milestoneKeys: {
|
|
308
367
|
list: (pid?: string, status?: "open" | "closed" | "all") => readonly ["kortix", "milestones", string, "open" | "closed" | "all"];
|
|
309
368
|
detail: (pid: string, ref: string) => readonly ["kortix", "milestone", string, string];
|
|
310
369
|
events: (pid: string, ref: string) => readonly ["kortix", "milestone", string, string, "events"];
|
|
311
370
|
};
|
|
371
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
312
372
|
export declare function useMilestones(projectId?: string, statusFilter?: 'open' | 'closed' | 'all'): import("@tanstack/react-query").UseQueryResult<Milestone[], Error>;
|
|
373
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
313
374
|
export declare function useMilestone(projectId?: string, ref?: string): import("@tanstack/react-query").UseQueryResult<MilestoneDetail, Error>;
|
|
375
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
314
376
|
export declare function useMilestoneEvents(projectId?: string, ref?: string): import("@tanstack/react-query").UseQueryResult<MilestoneEvent[], Error>;
|
|
315
377
|
export interface CreateMilestoneInput {
|
|
316
378
|
projectId: string;
|
|
@@ -321,30 +383,39 @@ export interface CreateMilestoneInput {
|
|
|
321
383
|
color_hue?: number | null;
|
|
322
384
|
icon?: string | null;
|
|
323
385
|
}
|
|
386
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
324
387
|
export declare function useCreateMilestone(): import("@tanstack/react-query").UseMutationResult<Milestone, Error, CreateMilestoneInput, unknown>;
|
|
325
388
|
export interface UpdateMilestoneInput {
|
|
326
389
|
projectId: string;
|
|
327
390
|
ref: string;
|
|
328
391
|
patch: Partial<Pick<Milestone, 'title' | 'description_md' | 'acceptance_md' | 'due_at' | 'color_hue' | 'icon'>>;
|
|
329
392
|
}
|
|
393
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
330
394
|
export declare function useUpdateMilestone(): import("@tanstack/react-query").UseMutationResult<Milestone, Error, UpdateMilestoneInput, unknown>;
|
|
395
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
331
396
|
export declare function useCloseMilestone(): import("@tanstack/react-query").UseMutationResult<Milestone, Error, {
|
|
332
397
|
projectId: string;
|
|
333
398
|
ref: string;
|
|
334
399
|
summary_md?: string;
|
|
335
400
|
cancelled?: boolean;
|
|
336
401
|
}, unknown>;
|
|
402
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
337
403
|
export declare function useReopenMilestone(): import("@tanstack/react-query").UseMutationResult<Milestone, Error, {
|
|
338
404
|
projectId: string;
|
|
339
405
|
ref: string;
|
|
340
406
|
}, unknown>;
|
|
407
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
341
408
|
export declare function useDeleteMilestone(): import("@tanstack/react-query").UseMutationResult<{
|
|
342
409
|
ok: boolean;
|
|
343
410
|
}, Error, {
|
|
344
411
|
projectId: string;
|
|
345
412
|
ref: string;
|
|
346
413
|
}, unknown>;
|
|
347
|
-
/**
|
|
414
|
+
/**
|
|
415
|
+
* Link or unlink a ticket's milestone. Goes through PATCH /kortix/tickets/:id.
|
|
416
|
+
*
|
|
417
|
+
* @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major.
|
|
418
|
+
*/
|
|
348
419
|
export declare function useSetTicketMilestone(): import("@tanstack/react-query").UseMutationResult<unknown, Error, {
|
|
349
420
|
projectId: string;
|
|
350
421
|
ticketId: string;
|
|
@@ -356,28 +427,35 @@ export declare const serviceKeys: {
|
|
|
356
427
|
logs: (serverUrl: string, serviceId: string) => readonly ["sandbox-services", string, "logs", string];
|
|
357
428
|
templates: (serverUrl: string) => readonly ["sandbox-services", string, "templates"];
|
|
358
429
|
};
|
|
430
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
359
431
|
export declare function useSandboxServices(identity: KortixMasterIdentity, options?: {
|
|
360
432
|
enabled?: boolean;
|
|
361
433
|
includeAll?: boolean;
|
|
362
434
|
}): import("@tanstack/react-query").UseQueryResult<SandboxService[], Error>;
|
|
435
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
363
436
|
export declare function useSandboxServiceTemplates(identity: KortixMasterIdentity, options?: {
|
|
364
437
|
enabled?: boolean;
|
|
365
438
|
}): import("@tanstack/react-query").UseQueryResult<SandboxServiceTemplate[], Error>;
|
|
439
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
366
440
|
export declare function useSandboxServiceLogs(identity: KortixMasterIdentity, serviceId: string | null, options?: {
|
|
367
441
|
enabled?: boolean;
|
|
368
442
|
}): import("@tanstack/react-query").UseQueryResult<string[], Error>;
|
|
443
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
369
444
|
export declare function useSandboxServiceAction(): import("@tanstack/react-query").UseMutationResult<unknown, Error, {
|
|
370
445
|
serviceId: string;
|
|
371
446
|
action: ServiceAction;
|
|
372
447
|
}, unknown>;
|
|
448
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
373
449
|
export declare function useSandboxServiceReconcile(): import("@tanstack/react-query").UseMutationResult<unknown, Error, {
|
|
374
450
|
reload?: boolean;
|
|
375
451
|
}, unknown>;
|
|
452
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
376
453
|
export declare function useRegisterSandboxService(): import("@tanstack/react-query").UseMutationResult<{
|
|
377
454
|
success: boolean;
|
|
378
455
|
output?: string;
|
|
379
456
|
service?: SandboxService;
|
|
380
457
|
}, Error, RegisterSandboxServicePayload, unknown>;
|
|
458
|
+
/** @deprecated Part of the kortix-master client. The sandbox daemon serves none of its routes: every call answers 404. Removed in the next major. */
|
|
381
459
|
export declare function useSandboxRuntimeReload(): import("@tanstack/react-query").UseMutationResult<import("../index.js").SystemReloadResult, Error, {
|
|
382
460
|
mode: SystemReloadMode;
|
|
383
461
|
}, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-kortix-master.d.ts","sourceRoot":"","sources":["../../src/react/use-kortix-master.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-kortix-master.d.ts","sourceRoot":"","sources":["../../src/react/use-kortix-master.ts"],"names":[],"mappings":"AA2GA,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,YAAY,EACZ,SAAS,EACT,aAAa,EACb,SAAS,EACT,cAAc,EACd,MAAM,EACN,WA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