@celestia-island/plana-types 0.1.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/Cargo.toml +38 -0
- package/bindings/FileAnchor.ts +3 -0
- package/bindings/engine.ts +277 -0
- package/bindings/enums.ts +31 -0
- package/bindings/httpTypes.ts +197 -0
- package/bindings/index.ts +47 -0
- package/bindings/mcp/aporia.ts +61 -0
- package/bindings/mcp/eleos.ts +18 -0
- package/bindings/mcp/epieikeia.ts +48 -0
- package/bindings/mcp/haplotes.ts +47 -0
- package/bindings/mcp/hubris.ts +41 -0
- package/bindings/mcp/index.ts +13 -0
- package/bindings/mcp/kalos.ts +47 -0
- package/bindings/mcp/neikos.ts +76 -0
- package/bindings/mcp/orexis.ts +64 -0
- package/bindings/mcp/philia.ts +57 -0
- package/bindings/mcp/polemos.ts +55 -0
- package/bindings/mcp/skemma.ts +58 -0
- package/bindings/mcp/skopeo.ts +56 -0
- package/bindings/mcp/webAutomation.ts +31 -0
- package/bindings/model.ts +240 -0
- package/bindings/package.json +16 -0
- package/bindings/region.ts +3 -0
- package/bindings/serde_json/JsonValue.ts +3 -0
- package/bindings/ws/agentLifecycle.ts +41 -0
- package/bindings/ws/auth.ts +15 -0
- package/bindings/ws/baseMessages.ts +7 -0
- package/bindings/ws/bridgeNetwork.ts +71 -0
- package/bindings/ws/core.ts +51 -0
- package/bindings/ws/fileBrowsing.ts +57 -0
- package/bindings/ws/handshake.ts +23 -0
- package/bindings/ws/industrial.ts +72 -0
- package/bindings/ws/knowledgeBase.ts +10 -0
- package/bindings/ws/layer2.ts +25 -0
- package/bindings/ws/llmProvider.ts +74 -0
- package/bindings/ws/logs.ts +11 -0
- package/bindings/ws/malkuth.ts +62 -0
- package/bindings/ws/noa.ts +17 -0
- package/bindings/ws/stateSync.ts +19 -0
- package/bindings/ws/systemUi.ts +5 -0
- package/bindings/ws/tasks.ts +6 -0
- package/bindings/ws/views.ts +163 -0
- package/bindings/ws/workspace.ts +11 -0
- package/bindings/ws/yolo.ts +32 -0
- package/examples/schema_dump.rs +51 -0
- package/package.json +6 -0
- package/pnpm-workspace.yaml +2 -0
- package/src/engine.rs +602 -0
- package/src/enums.rs +334 -0
- package/src/external_mcp.rs +132 -0
- package/src/http.rs +1077 -0
- package/src/identity.rs +160 -0
- package/src/lib.rs +1215 -0
- package/src/malkuth.rs +145 -0
- package/src/mcp/aporia.rs +272 -0
- package/src/mcp/eleos.rs +210 -0
- package/src/mcp/epieikeia.rs +194 -0
- package/src/mcp/haplotes.rs +310 -0
- package/src/mcp/hubris.rs +377 -0
- package/src/mcp/kalos.rs +251 -0
- package/src/mcp/mod.rs +23 -0
- package/src/mcp/neikos.rs +533 -0
- package/src/mcp/orexis.rs +493 -0
- package/src/mcp/philia.rs +267 -0
- package/src/mcp/polemos.rs +241 -0
- package/src/mcp/skemma.rs +442 -0
- package/src/mcp/skopeo.rs +282 -0
- package/src/mcp/web_automation.rs +122 -0
- package/src/model.rs +421 -0
- package/src/protocol/base_messages.rs +125 -0
- package/src/protocol/handshake.rs +364 -0
- package/src/protocol/jsonrpc.rs +888 -0
- package/src/protocol/mod.rs +10 -0
- package/src/rbac.rs +786 -0
- package/src/region.rs +362 -0
- package/src/tracing_helpers.rs +9 -0
- package/src/ws/agent/agent_lifecycle.rs +221 -0
- package/src/ws/agent/layer2.rs +126 -0
- package/src/ws/agent/mod.rs +9 -0
- package/src/ws/agent/state_sync.rs +111 -0
- package/src/ws/agent/tasks.rs +43 -0
- package/src/ws/agent/yolo.rs +161 -0
- package/src/ws/mod.rs +10 -0
- package/src/ws/services/auth.rs +99 -0
- package/src/ws/services/industrial.rs +647 -0
- package/src/ws/services/knowledge_base.rs +59 -0
- package/src/ws/services/llm_provider.rs +371 -0
- package/src/ws/services/mod.rs +7 -0
- package/src/ws/ui/bridge_network.rs +96 -0
- package/src/ws/ui/file_browsing.rs +88 -0
- package/src/ws/ui/logs.rs +55 -0
- package/src/ws/ui/mod.rs +11 -0
- package/src/ws/ui/noa.rs +105 -0
- package/src/ws/ui/system_ui.rs +27 -0
- package/src/ws/ui/views.rs +159 -0
- package/src/ws/ui/workspace.rs +73 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
import type { WebSearchEngine } from "../enums";
|
|
3
|
+
|
|
4
|
+
export type QueryRemoteRefsResult = { count: number, refs: Array<RemoteRefEntry>, };
|
|
5
|
+
|
|
6
|
+
export type RegisterRemoteRefsResult = { ref_id: string, url: string, registered: boolean, };
|
|
7
|
+
|
|
8
|
+
export type RemoteRefEntry = { ref_id: string, url: string, title: string, ref_type: string, registered_at: string, };
|
|
9
|
+
|
|
10
|
+
export type WebFetchParams = { url: string, };
|
|
11
|
+
|
|
12
|
+
export type WebFetchResult = { url: string, title: string, status_code: number, headers: string, content: string, content_preview: string, content_length: number, };
|
|
13
|
+
|
|
14
|
+
export type WebSearchItem = { url: string, title: string, };
|
|
15
|
+
|
|
16
|
+
export type WebSearchParams = { query: string, engine: string | null, limit: bigint | null, };
|
|
17
|
+
|
|
18
|
+
export type WebSearchResult = { query: string, engine: WebSearchEngine, count: number, results: Array<WebSearchItem>, };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
import type { ConsultationStatus } from "../enums";
|
|
3
|
+
|
|
4
|
+
export type ConsumeInjectedPromptsParams = { target_badge: string, };
|
|
5
|
+
|
|
6
|
+
export type ConsumeInjectedPromptsResult = { consumed: Array<InjectedPromptView>, count: number, };
|
|
7
|
+
|
|
8
|
+
export type DeliverMessageParams = { target_badge: string, message_type: string, content: string, suggested_skill: string | null, priority: string | null, source_badge: string | null, };
|
|
9
|
+
|
|
10
|
+
export type DeliverMessageResult = { todo_id: string, title: string, target_badge: string, status: string, };
|
|
11
|
+
|
|
12
|
+
export type FileObserverView = { agent_type: string, instance_badge: string | null, observation_type: string, registered_at: string, };
|
|
13
|
+
|
|
14
|
+
export type ForkContainerOnNextActionParams = { container_id: string, branch_prefix: string | null, reason: string | null, };
|
|
15
|
+
|
|
16
|
+
export type ForkContainerRegistrationResult = { status: string, message: string, container_id: string, reason: string, };
|
|
17
|
+
|
|
18
|
+
export type InjectUserPromptParams = { target_badge: string, message: string, source_badge: string | null, suggested_skill: string | null, };
|
|
19
|
+
|
|
20
|
+
export type InjectUserPromptResult = { target_badge: string, injected: boolean, prompt_count: number, };
|
|
21
|
+
|
|
22
|
+
export type InjectedPromptView = { source_badge: string, message: string, suggested_skill: string, injected_at: string, };
|
|
23
|
+
|
|
24
|
+
export type ListFileObserversParams = { file_path: string, };
|
|
25
|
+
|
|
26
|
+
export type ListFileObserversToolResult = { file_path: string, observers: Array<FileObserverView>, };
|
|
27
|
+
|
|
28
|
+
export type NotifyFileOperationParams = { file_path: string, agent_type: string, instance_badge: string | null, observation_type: string | null, };
|
|
29
|
+
|
|
30
|
+
export type NotifyFileOperationToolResult = { file_path: string, observers_count: number, };
|
|
31
|
+
|
|
32
|
+
export type TaskCancelResult = { task_id: string, status: ConsultationStatus, };
|
|
33
|
+
|
|
34
|
+
export type TaskEntry = { id: string, schedule: Record<string, unknown>, status: ConsultationStatus, created_at: string, };
|
|
35
|
+
|
|
36
|
+
export type TaskListResult = { count: number, tasks: Array<TaskEntry>, };
|
|
37
|
+
|
|
38
|
+
export type TaskScheduleResult = { task_id: string, schedule: Record<string, unknown>, status: ConsultationStatus, timer_info: string | null, };
|
|
39
|
+
|
|
40
|
+
export type TriggerAddResult = { trigger_id: string, trigger_type: string, event: Record<string, unknown>, };
|
|
41
|
+
|
|
42
|
+
export type TriggerEntry = { id: string, trigger_type: string, event: Record<string, unknown>, created_at: string, };
|
|
43
|
+
|
|
44
|
+
export type TriggerListResult = { count: number, triggers: Array<TriggerEntry>, };
|
|
45
|
+
|
|
46
|
+
export type TriggerRemoveResult = { trigger_id: string, };
|
|
47
|
+
|
|
48
|
+
export type UnregisterFileOperationResult = { status: string, };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
import type { ConversationMessageType, ConversationStatus, FileOperationType, ObservationType } from "../enums";
|
|
3
|
+
|
|
4
|
+
export type AgentConversation = { id: string, topic: string, status: ConversationStatus, initiator: AgentReference, participants: Array<AgentReference>, context: ConversationContext, messages: Array<ConversationMessage>, file_anchor?: FileAnchor | null, created_at: string, resolved_at?: string | null, human_consultation_id?: string | null, };
|
|
5
|
+
|
|
6
|
+
export type AgentReasoning = { what: string, why: string, how: string, };
|
|
7
|
+
|
|
8
|
+
export type AgentReference = { agent_type: string, instance_badge?: string | null, };
|
|
9
|
+
|
|
10
|
+
export type AskAgentResult = { conversation_id: string, status: ConversationStatus, created_at: string, };
|
|
11
|
+
|
|
12
|
+
export type ChatMessage = { role: string, content: string, };
|
|
13
|
+
|
|
14
|
+
export type ConflictInfo = { conflict_id: string, file_path: string, line_range?: FileLineRange | null, conflicting_agent: AgentReference, operation_type: FileOperationType, since: string, };
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Structured reason-evaluation triples for agent self-reflection.
|
|
18
|
+
* Semantically distinct from [`AgentReasoning`] — this is the context of
|
|
19
|
+
* the ongoing conversation, not the agent's own reasoning chain.
|
|
20
|
+
*/
|
|
21
|
+
export type ConversationContext = { what: string, why: string, how: string, };
|
|
22
|
+
|
|
23
|
+
export type ConversationMessage = { id: string, author: AgentReference, content: AgentReasoning, message_type: ConversationMessageType, created_at: string, };
|
|
24
|
+
|
|
25
|
+
export type EscalateConversationResult = { conversation_id: string, human_consultation_id: string, escalated_at: string, };
|
|
26
|
+
|
|
27
|
+
export type FileAnchor = { file_path: string, line_start?: number | null, line_end?: number | null, snapshot_hash?: string | null, };
|
|
28
|
+
|
|
29
|
+
export type FileLineRange = { start: number, end: number, };
|
|
30
|
+
|
|
31
|
+
export type GetConversationResult = { conversation: AgentConversation, };
|
|
32
|
+
|
|
33
|
+
export type ListConversationsResult = { count: number, conversations: Array<AgentConversation>, };
|
|
34
|
+
|
|
35
|
+
export type ListFileObserversResult = { file_path: string, observers: Array<ObserverInfo>, };
|
|
36
|
+
|
|
37
|
+
export type LlmProviderCallParams = { tier: string | null, messages: Array<ChatMessage>, temperature: number | null, max_tokens: bigint | null, };
|
|
38
|
+
|
|
39
|
+
export type LlmProviderCallResult = { model: string, tokens: string, response: string, };
|
|
40
|
+
|
|
41
|
+
export type NotifyFileOperationResult = { file_path: string, observers_count: number, conflicts: Array<ConflictInfo>, };
|
|
42
|
+
|
|
43
|
+
export type ObserverInfo = { agent: AgentReference, observation_type: ObservationType, since: string, };
|
|
44
|
+
|
|
45
|
+
export type ReplyAgentResult = { conversation_id: string, status: ConversationStatus, };
|
|
46
|
+
|
|
47
|
+
export type SubscribeTriggerParams = { topic_pattern: string, agent_id: string | null, };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
|
|
3
|
+
export type ClearTodoParams = { workspace_id: string | null, dry_run: boolean | null, status: string | null, };
|
|
4
|
+
|
|
5
|
+
export type CreateTodoParams = { title: string, workspace_id: string | null, user_id: string | null, parent_id: string | null, description: string | null, metadata: { [key in string]: string } | null, claimed_by: string | null, };
|
|
6
|
+
|
|
7
|
+
export type DeleteTodoParams = { todo_id: string, workspace_id: string | null, };
|
|
8
|
+
|
|
9
|
+
export type ListTodoParams = { workspace_id: string | null, parent_id: string | null, status: string | null, tree: boolean | null, view: string | null, };
|
|
10
|
+
|
|
11
|
+
export type MoveTodoParams = { todo_id: string, new_parent_id: string | null, sort_order: number | null, };
|
|
12
|
+
|
|
13
|
+
export type ReportHumanParams = { summary: string, body: string | null, text: string | null, mode: string | null, content: string | null, };
|
|
14
|
+
|
|
15
|
+
export type ReportParams = { text: string | null, summary: string | null, body: string | null, content: string | null, };
|
|
16
|
+
|
|
17
|
+
export type ReportResult = { summary: string, };
|
|
18
|
+
|
|
19
|
+
export type TodoClearDryRunResult = { dry_run: boolean, would_delete: number, items: Array<TodoClearItem>, };
|
|
20
|
+
|
|
21
|
+
export type TodoClearItem = { id: string, title: string, status: string, };
|
|
22
|
+
|
|
23
|
+
export type TodoClearResult = { deleted_count: bigint, success: boolean, };
|
|
24
|
+
|
|
25
|
+
export type TodoCreateResult = { id: string, title: string, status: string, parent_id: string | null, created_at: string, };
|
|
26
|
+
|
|
27
|
+
export type TodoDeleteResult = { deleted_id: string, success: boolean, };
|
|
28
|
+
|
|
29
|
+
export type TodoListItem = { id: string, title: string, status: string, parent_id: string | null, claimed_by: string, created_at: string, updated_at: string, description: string | null, tags: Array<string>, };
|
|
30
|
+
|
|
31
|
+
export type TodoListResult = { total: number, items: Array<TodoListItem>, };
|
|
32
|
+
|
|
33
|
+
export type TodoMoveResult = { id: string, parent_id: string | null, sort_order: number, updated_at: string, };
|
|
34
|
+
|
|
35
|
+
export type TodoTreeListResult = { total: number, tree: Array<TodoTreeNode>, };
|
|
36
|
+
|
|
37
|
+
export type TodoTreeNode = { id: string, title: string, status: string, children: Array<TodoTreeNode>, depth: number, description: string | null, priority: string | null, tags: Array<string>, };
|
|
38
|
+
|
|
39
|
+
export type TodoUpdateResult = { id: string, title: string, status: string, updated_at: string, };
|
|
40
|
+
|
|
41
|
+
export type UpdateTodoParams = { todo_id: string, title: string | null, description: string | null, status: string | null, claimed_by: string | null, parent_id: string | null, metadata: { [key in string]: string } | null, };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * as aporia from "./aporia";
|
|
2
|
+
export * as eleos from "./eleos";
|
|
3
|
+
export * as epieikeia from "./epieikeia";
|
|
4
|
+
export * as haplotes from "./haplotes";
|
|
5
|
+
export * as hubris from "./hubris";
|
|
6
|
+
export * as kalos from "./kalos";
|
|
7
|
+
export * as neikos from "./neikos";
|
|
8
|
+
export * as orexis from "./orexis";
|
|
9
|
+
export * as philia from "./philia";
|
|
10
|
+
export * as polemos from "./polemos";
|
|
11
|
+
export * as skemma from "./skemma";
|
|
12
|
+
export * as skopeo from "./skopeo";
|
|
13
|
+
export * as webAutomation from "./webAutomation";
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
import type { AnnotationType, FileOpStatus, FileType } from "../enums";
|
|
3
|
+
import type { AgentReference, ConflictInfo } from "./haplotes";
|
|
4
|
+
|
|
5
|
+
export type Annotation = { id: string, file_path: string, line_start: number | null, line_end: number | null, content: string, annotation_type: AnnotationType, author: AgentReference | null, created_at: string, resolved: boolean, resolved_at: string | null, };
|
|
6
|
+
|
|
7
|
+
export type FileCreateDirParams = { path: string, };
|
|
8
|
+
|
|
9
|
+
export type FileDeleteParams = { path: string, };
|
|
10
|
+
|
|
11
|
+
export type FileDeleteResult = { path: string, status: FileOpStatus, conflicts: Array<ConflictInfo>, };
|
|
12
|
+
|
|
13
|
+
export type FileEditParams = { path: string, old_content: string, new_content: string, };
|
|
14
|
+
|
|
15
|
+
export type FileEditResult = { path: string, status: FileOpStatus, occurrences: number, conflicts: Array<ConflictInfo>, };
|
|
16
|
+
|
|
17
|
+
export type FileEntry = { name: string, type: FileType, };
|
|
18
|
+
|
|
19
|
+
export type FileExistsParams = { path: string, };
|
|
20
|
+
|
|
21
|
+
export type FileExistsResult = { path: string, exists: boolean, };
|
|
22
|
+
|
|
23
|
+
export type FileGetInfoParams = { path: string, };
|
|
24
|
+
|
|
25
|
+
export type FileInfoResult = { path: string, type: FileType, size_bytes: bigint, modified_unix: bigint, };
|
|
26
|
+
|
|
27
|
+
export type FileListParams = { path: string, recursive: boolean | null, };
|
|
28
|
+
|
|
29
|
+
export type FileListResult = { path: string, total_count: number, items: Array<FileEntry>, };
|
|
30
|
+
|
|
31
|
+
export type FileReadParams = { path: string, };
|
|
32
|
+
|
|
33
|
+
export type FileReadResult = { path: string, size_bytes: number, content: string, conflicts: Array<ConflictInfo>, };
|
|
34
|
+
|
|
35
|
+
export type FileTreeEntry = { name: string, path: string, is_dir: boolean, children: Array<FileTreeEntry>, size: bigint | null, };
|
|
36
|
+
|
|
37
|
+
export type FileTreeListResult = { path: string, total_count: number, tree: Array<FileTreeEntry>, };
|
|
38
|
+
|
|
39
|
+
export type FileWriteParams = { path: string, content: string, };
|
|
40
|
+
|
|
41
|
+
export type FileWriteResult = { path: string, size_bytes: number, status: FileOpStatus, conflicts: Array<ConflictInfo>, };
|
|
42
|
+
|
|
43
|
+
export type ListAnnotationsResult = { file_path: string, annotations: Array<Annotation>, };
|
|
44
|
+
|
|
45
|
+
export type MkDirResult = { path: string, status: FileOpStatus, };
|
|
46
|
+
|
|
47
|
+
export type ResolveAnnotationResult = { annotation_id: string, resolved: boolean, };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
import type { ConsultationStatus, ContainerOpStatus } from "../enums";
|
|
3
|
+
|
|
4
|
+
export type CheckWaitParams = { handle: string, };
|
|
5
|
+
|
|
6
|
+
export type ContainerCreateResult = { image: string, container_id: string, name: string, network: string, status: ContainerOpStatus, volumes: Array<VolumeInfo>, seccomp_enabled: boolean, };
|
|
7
|
+
|
|
8
|
+
export type ContainerFilterCriteria = { label?: { [key in string]: string } | null, name?: string | null, status?: Array<string> | null, };
|
|
9
|
+
|
|
10
|
+
export type ContainerForkParams = { container_id: string, name: string | null, namespace_volume: string | null, };
|
|
11
|
+
|
|
12
|
+
export type ContainerForkResult = { parent_container_id: string, new_container_id: string, branch_level: number, image: string, fallback: boolean, status: ContainerOpStatus, };
|
|
13
|
+
|
|
14
|
+
export type ContainerInfoParams = { container_id: string, };
|
|
15
|
+
|
|
16
|
+
export type ContainerInfoResult = { container_id: string, name: string, image: string, status: string, running: boolean, exit_code: bigint | null, ip_address: string, started_at: string, ports: Array<string>, env: Array<string>, };
|
|
17
|
+
|
|
18
|
+
export type ContainerListItem = { name: string, image: string, status: string, id: string, };
|
|
19
|
+
|
|
20
|
+
export type ContainerListParams = { filter?: ContainerFilterCriteria | null, };
|
|
21
|
+
|
|
22
|
+
export type ContainerListResult = { total_count: number, containers: Array<ContainerListItem>, };
|
|
23
|
+
|
|
24
|
+
export type ContainerRemoveParams = { container_id: string, };
|
|
25
|
+
|
|
26
|
+
export type ContainerRemoveResult = { container_id: string, status: ContainerOpStatus, };
|
|
27
|
+
|
|
28
|
+
export type ContainerSnapshotParams = { container_id: string, };
|
|
29
|
+
|
|
30
|
+
export type ContainerSnapshotResult = { container_id: string, snapshot_id: string, image_id: string, image_name: string, };
|
|
31
|
+
|
|
32
|
+
export type ContainerStartParams = { container_id: string, };
|
|
33
|
+
|
|
34
|
+
export type ContainerStartResult = { container_id: string, status: ContainerOpStatus, };
|
|
35
|
+
|
|
36
|
+
export type ContainerStopParams = { container_id: string, };
|
|
37
|
+
|
|
38
|
+
export type ContainerStopResult = { container_id: string, status: ContainerOpStatus, };
|
|
39
|
+
|
|
40
|
+
export type ExecOnContainerParams = { command: string, container_id: string | null, target_badge: string | null, };
|
|
41
|
+
|
|
42
|
+
export type ExecResult = { container_id: string, command: string, exit_code: bigint | null, output: string, error: string, };
|
|
43
|
+
|
|
44
|
+
export type GitPushBranchParams = { container_id: string, commit_message: string | null, branch: string | null, };
|
|
45
|
+
|
|
46
|
+
export type GitPushResult = { container_id: string, branch: string, remote: string, commit_hash: string | null, pushed: boolean, output: string, };
|
|
47
|
+
|
|
48
|
+
export type NewContainerToolParams = { image: string, name: string | null, env: { [key in string]: string } | null, volumes: Array<NewContainerVolumeMount> | null, network: string | null, };
|
|
49
|
+
|
|
50
|
+
export type NewContainerVolumeMount = { source: string, target: string, read_only?: boolean | null, };
|
|
51
|
+
|
|
52
|
+
export type SidecarDeliverResult = { todo_id: string, title: string, target_badge: string, status: ConsultationStatus, metadata: { [key in string]: string }, };
|
|
53
|
+
|
|
54
|
+
export type SidecarKillParams = { name: string, };
|
|
55
|
+
|
|
56
|
+
export type SidecarSendParams = { name: string, method: string, params: Record<string, unknown> | null, timeout_secs: bigint | null, };
|
|
57
|
+
|
|
58
|
+
export type SidecarSendResult = { name: string, sent: boolean, };
|
|
59
|
+
|
|
60
|
+
export type SidecarSpawnParams = { name: string, cmd: Array<string> | null, language: string | null, framing: string | null, working_dir: string | null, env: { [key in string]: string } | null, idle_timeout_secs: bigint | null, ready_pattern: string | null, amphoreus_dir: string | null, agent_folder: string | null, };
|
|
61
|
+
|
|
62
|
+
export type ToolchainEnsureParams = { profile_id: string, amphoreus_dir: string | null, };
|
|
63
|
+
|
|
64
|
+
export type ToolchainEnsureResult = { profile_id: string, source_image: string, container_image: string, container_env: { [key in string]: string }, container_volumes: Array<ToolchainVolumeSpec>, };
|
|
65
|
+
|
|
66
|
+
export type ToolchainListParams = { amphoreus_dir: string | null, };
|
|
67
|
+
|
|
68
|
+
export type ToolchainListResult = { profiles: Array<ToolchainProfileInfo>, };
|
|
69
|
+
|
|
70
|
+
export type ToolchainProfileInfo = { id: string, display_name: string, source_image: string, image_pulled: boolean, volume_ready: boolean, available_tools: Array<string>, supported_languages: Array<string>, };
|
|
71
|
+
|
|
72
|
+
export type ToolchainVolumeSpec = { host_path: string, container_path: string, read_only: boolean, };
|
|
73
|
+
|
|
74
|
+
export type VolumeInfo = { host_path: string, container_path: string, read_only: boolean, };
|
|
75
|
+
|
|
76
|
+
export type WaitParams = { seconds: bigint | null, };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
import type { ConsultationStatus } from "../enums";
|
|
3
|
+
|
|
4
|
+
export type AgentIntegrityParams = { verbose: boolean | null, };
|
|
5
|
+
|
|
6
|
+
export type AskResult = { consultation_id: string, question: string, context: string, options: Array<string>, recommended: string, status: ConsultationStatus, };
|
|
7
|
+
|
|
8
|
+
export type AuditAlignmentParams = { target: string, device_data?: { [key in string]: string } | null, };
|
|
9
|
+
|
|
10
|
+
export type AuditAlignmentResult = { audit_id: string, target: string, total_rules: number, passed: number, failed: number, findings: Array<AuditFinding>, };
|
|
11
|
+
|
|
12
|
+
export type AuditFinding = { rule_id: string, severity: string, description: string, evidence: string, recommendation: string, };
|
|
13
|
+
|
|
14
|
+
export type AuditLegalityParams = { target: string, jurisdiction: string | null, device_data?: { [key in string]: string } | null, };
|
|
15
|
+
|
|
16
|
+
export type AuditLegalityResult = { audit_id: string, target: string, jurisdiction: string, total_requirements: number, compliant: number, non_compliant: number, findings: Array<AuditFinding>, };
|
|
17
|
+
|
|
18
|
+
export type BlockToolParams = { agent: string, tool: string, reason: string | null, };
|
|
19
|
+
|
|
20
|
+
export type CheckResultItem = { standard: string, status: string, message: string, details?: string | null, };
|
|
21
|
+
|
|
22
|
+
export type ComplianceReportParams = { standard_id: string, check_results: Array<CheckResultItem>, device_id: string | null, summary: string | null, mode: string | null, };
|
|
23
|
+
|
|
24
|
+
export type ComplianceReportToolResult = { report_id: string, standard_id: string, device_id: string | null, overall_status: string, summary: ComplianceSummary, details: Array<ReportDetail>, generated_at: string, };
|
|
25
|
+
|
|
26
|
+
export type ComplianceRule = { id: string, standard: string, clause: string, description: string, check_type: string, parameters: Record<string, unknown>, severity: string, };
|
|
27
|
+
|
|
28
|
+
export type ComplianceSummary = { total_rules: number, passed: number, failed: number, critical_failures: number, high_failures: number, medium_failures: number, };
|
|
29
|
+
|
|
30
|
+
export type InspectToolCallParams = { agent: string, tool: string, session_id: string | null, };
|
|
31
|
+
|
|
32
|
+
export type ManageSensitivityRulesParams = { action: string, rules: Array<SensitivityRule> | null, };
|
|
33
|
+
|
|
34
|
+
export type ReplyResult = { consultation_id: string, answer: string, selected_options: Array<string>, status: ConsultationStatus, };
|
|
35
|
+
|
|
36
|
+
export type ReportDetail = { rule_id: string, clause: string, description: string, status: string, severity: string, deviation: number | null, recommendation: string, };
|
|
37
|
+
|
|
38
|
+
export type ReportHumanParams = { summary: string, body: string | null, text: string | null, mode: string | null, };
|
|
39
|
+
|
|
40
|
+
export type ReportHumanResult = { report_id: string, report_type: string, content: Record<string, unknown>, consultation_id: string | null, status: ConsultationStatus, created_at: string, };
|
|
41
|
+
|
|
42
|
+
export type RuleCheckResult = { rule_id: string, clause: string, description: string, status: string, actual_value: Record<string, unknown> | null, expected: Record<string, unknown> | null, deviation: number | null, severity: string, };
|
|
43
|
+
|
|
44
|
+
export type SecurityAuditParams = { deep: boolean | null, };
|
|
45
|
+
|
|
46
|
+
export type SecurityStatusParams = Record<symbol, never>;
|
|
47
|
+
|
|
48
|
+
export type SecuritySuggestionsParams = Record<symbol, never>;
|
|
49
|
+
|
|
50
|
+
export type SensitivityRule = { tool: string, agent?: string | null, sensitivity: string, reason?: string | null, };
|
|
51
|
+
|
|
52
|
+
export type SetNetworkPolicyParams = { allow_hosts: Array<string> | null, allow_cidrs: Array<string> | null, block_private: boolean | null, block_metadata: boolean | null, };
|
|
53
|
+
|
|
54
|
+
export type SetRiskThresholdParams = { level: string, };
|
|
55
|
+
|
|
56
|
+
export type SetSecurityPolicyParams = { emergency_lockdown: boolean | null, audit_only: boolean | null, };
|
|
57
|
+
|
|
58
|
+
export type StandardCheckParams = { standard_id: string, device_data?: { [key in string]: string } | null, };
|
|
59
|
+
|
|
60
|
+
export type StandardCheckResult = { standard_id: string, total_rules: number, passed: number, failed: number, not_applicable: number, results: Array<RuleCheckResult>, overall_status: string, };
|
|
61
|
+
|
|
62
|
+
export type StandardRegisterResult = { standard_id: string, rules_registered: number, };
|
|
63
|
+
|
|
64
|
+
export type UnblockToolParams = { agent: string, tool: string, };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
|
|
3
|
+
export type AgentRegistryEntry = { agent_type: string, status: string, mcp_tool_count: number, skill_count: number, mcp_tools: Array<string>, skills: Array<string>, };
|
|
4
|
+
|
|
5
|
+
export type AgentRegistryGetResult = { agent_type: string, mcp_tools: Array<McpToolDetail>, skills: Array<SkillDetail>, };
|
|
6
|
+
|
|
7
|
+
export type AgentRegistryListResult = { agents: Array<AgentRegistryEntry>, };
|
|
8
|
+
|
|
9
|
+
export type ContextPrepareParams = { query: string, max_nodes: bigint | null, };
|
|
10
|
+
|
|
11
|
+
export type ContextPrepareResult = { episode_count: number, entity_count: number, relevant_nodes: number, summary: string, };
|
|
12
|
+
|
|
13
|
+
export type DataQualityCheckParams = { metric: string, expected_interval_ms: bigint | null, stale_threshold_ms: bigint | null, z_score_threshold: number | null, };
|
|
14
|
+
|
|
15
|
+
export type DataStoreLoadResult = { key: string, namespace: string, store_key: string, loaded_at: string, value: Record<string, unknown>, };
|
|
16
|
+
|
|
17
|
+
export type DataStoreSaveResult = { key: string, namespace: string, store_key: string, saved_at: string, value: Record<string, unknown>, };
|
|
18
|
+
|
|
19
|
+
export type GapInfo = { start_time: bigint, end_time: bigint, estimated_missing: number, };
|
|
20
|
+
|
|
21
|
+
export type McpToolDetail = { name: string, description: string, parameters: Record<string, unknown>, };
|
|
22
|
+
|
|
23
|
+
export type MemoryConsolidateParams = { episode_focus: string, node_ids: Array<string>, };
|
|
24
|
+
|
|
25
|
+
export type MemoryConsolidateResult = { episode_id: string, linked_count: number, };
|
|
26
|
+
|
|
27
|
+
export type MemoryNodeFull = { id: string, node_type: string, text: string, score: number, tags: Array<string>, created_at: string | null, source: string | null, metadata: Record<string, unknown> | null, };
|
|
28
|
+
|
|
29
|
+
export type MemoryQueryItem = { node_type: string, text: string, score: number, };
|
|
30
|
+
|
|
31
|
+
export type MemoryQueryParams = { query: string, limit: bigint | null, graph_depth: bigint | null, node_type_filter: string | null, subgraph: boolean | null, };
|
|
32
|
+
|
|
33
|
+
export type MemoryQueryResult = { query: string, total: number, results: Array<MemoryQueryItem>, };
|
|
34
|
+
|
|
35
|
+
export type MemoryStoreParams = { text: string, node_type: string, entity_type: string | null, source_episode_id: string | null, related_node_ids: Array<string> | null, properties: { [key in string]: string } | null, };
|
|
36
|
+
|
|
37
|
+
export type MemoryStoreResult = { node_id: string, node_type: string, text_preview: string, };
|
|
38
|
+
|
|
39
|
+
export type MemorySubgraphEdge = { source_id: string, target_id: string, edge_type: string, weight: number, metadata: Record<string, unknown> | null, };
|
|
40
|
+
|
|
41
|
+
export type MemorySubgraphResult = { query: string, total_nodes: number, total_edges: number, nodes: Array<MemoryNodeFull>, edges: Array<MemorySubgraphEdge>, };
|
|
42
|
+
|
|
43
|
+
export type QualityReport = { metric: string, total_points: number, completeness: number, expected_points: number, missing_points: number, duplicate_points: number, stale_points: number, outlier_count: number, outlier_ratio: number, gaps: Array<GapInfo>, score: number, };
|
|
44
|
+
|
|
45
|
+
export type QueryStats = { min: number, max: number, mean: number, std_dev: number, p50: number, p95: number, p99: number, };
|
|
46
|
+
|
|
47
|
+
export type SkillDetail = { name: string, description: string, related_tools: Array<string>, };
|
|
48
|
+
|
|
49
|
+
export type TimeseriesPointResult = { timestamp: bigint, value: number, tags: { [key in string]: string }, };
|
|
50
|
+
|
|
51
|
+
export type TimeseriesQueryParams = { metric: string, start_time: bigint | null, end_time: bigint | null, include_stats: boolean | null, limit: bigint | null, tags: { [key in string]: string } | null, };
|
|
52
|
+
|
|
53
|
+
export type TimeseriesQueryResult = { metric: string, points: Array<TimeseriesPointResult>, stats: QueryStats | null, count: number, };
|
|
54
|
+
|
|
55
|
+
export type ToolSchemaGetParams = { agent_type: string, tool_name: string, };
|
|
56
|
+
|
|
57
|
+
export type ToolSchemaGetResult = { agent_type: string, tool_name: string, declaration: string, };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
|
|
3
|
+
export type AdaptiveProbeResult = { register_range: string, function_codes_tested: Array<number>, readable_ranges: Array<DeviceRegisterRangeResult>, latency_avg_ms: bigint, latency_max_ms: bigint, };
|
|
4
|
+
|
|
5
|
+
export type DeviceCapability = { protocols: Array<string>, register_maps: Array<DeviceRegisterRangeResult>, estimated_device_type: string, function_codes_supported: Array<number>, max_latency_ms: bigint, };
|
|
6
|
+
|
|
7
|
+
export type DeviceRegisterRangeResult = { start: number, end: number, function_code: number, bytes_readable: number, success: boolean, };
|
|
8
|
+
|
|
9
|
+
export type DeviceSelfTestParams = { host: string, device_id: string | null, modbus_port: bigint | null, mqtt_port: bigint | null, http_port: bigint | null, skip_adaptive: boolean | null, register_ranges: Array<string> | null, };
|
|
10
|
+
|
|
11
|
+
export type DeviceSelfTestResponse = { device_id: string, host: string, overall_status: string, phase1_self_sensing: Phase1Result, phase2_adaptive: Phase2Result, capability_profile: DeviceCapability, registered_to_node_graph: boolean, timestamp: string, };
|
|
12
|
+
|
|
13
|
+
export type EmptyParams = Record<symbol, never>;
|
|
14
|
+
|
|
15
|
+
export type KneeJerkTest = { test_name: string, protocol: string, passed: boolean, latency_ms: bigint, detail: string, };
|
|
16
|
+
|
|
17
|
+
export type NodeConnectParams = { node_id: string, };
|
|
18
|
+
|
|
19
|
+
export type NodeConnectResult = { node_id: string, node_name: string, address: string, status: string, last_seen: string, };
|
|
20
|
+
|
|
21
|
+
export type NodeDiscoverParams = { auto_register: boolean | null, host: string | null, port: number | null, };
|
|
22
|
+
|
|
23
|
+
export type NodeDiscoverResult = { host: string, port: number, node_id: string | null, total_nodes: number, status: string, nodes: Array<NodeInfo>, };
|
|
24
|
+
|
|
25
|
+
export type NodeExecuteParams = { node_id: string, command: string, };
|
|
26
|
+
|
|
27
|
+
export type NodeExecuteResult = { node_id: string, node_name: string, host: string, command: string, exit_code: bigint | null, stdout: string, stderr: string, status: string, };
|
|
28
|
+
|
|
29
|
+
export type NodeFileDownloadParams = { node_id: string, remote_path: string, };
|
|
30
|
+
|
|
31
|
+
export type NodeFileListParams = { node_id: string, path: string | null, };
|
|
32
|
+
|
|
33
|
+
export type NodeFileUploadParams = { node_id: string, remote_path: string, data_base64: string, mode: string | null, };
|
|
34
|
+
|
|
35
|
+
export type NodeInfo = { id: string, name: string, address: string, status: string, };
|
|
36
|
+
|
|
37
|
+
export type NodeScreenOfferParams = { node_id: string, };
|
|
38
|
+
|
|
39
|
+
export type NodeTerminalCloseParams = { session_id: string, };
|
|
40
|
+
|
|
41
|
+
export type NodeTerminalOpenParams = { node_id: string, cols: bigint | null, rows: bigint | null, shell: string | null, session_id: string | null, };
|
|
42
|
+
|
|
43
|
+
export type NodeTerminalResizeParams = { session_id: string, cols: bigint, rows: bigint, };
|
|
44
|
+
|
|
45
|
+
export type NodeTerminalWriteParams = { session_id: string, data: string, };
|
|
46
|
+
|
|
47
|
+
export type Phase1Result = { tests_run: number, tests_passed: number, tests_failed: number, results: Array<KneeJerkTest>, };
|
|
48
|
+
|
|
49
|
+
export type Phase2Result = { register_ranges_scanned: number, function_codes_probed: Array<number>, readable_registers: number, probe_results: Array<AdaptiveProbeResult>, };
|
|
50
|
+
|
|
51
|
+
export type ProtocolProbeParams = { host: string, ports: Array<bigint> | null, protocols: Array<string> | null, };
|
|
52
|
+
|
|
53
|
+
export type ProtocolProbeResponse = { host: string, probes: Array<ProtocolProbeResult>, total_found: number, };
|
|
54
|
+
|
|
55
|
+
export type ProtocolProbeResult = { host: string, port: number, protocol: string, confidence: number, banner: string, details: { [key in string]: string }, };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
import type { ScriptLanguage } from "../enums";
|
|
3
|
+
|
|
4
|
+
export type ConnectRemoteResult = { id: string, host: string, port: number, protocol: string, connected: boolean, message: string, };
|
|
5
|
+
|
|
6
|
+
export type ConnectRemoteViaSshParams = { host: string, port: bigint | null, username: string | null, };
|
|
7
|
+
|
|
8
|
+
export type DisconnectRemoteParams = { remote_id: string, };
|
|
9
|
+
|
|
10
|
+
export type DisconnectRemoteResult = { disconnected: boolean, remote_id: string, };
|
|
11
|
+
|
|
12
|
+
export type ExecOnRemoteParams = { remote_id: string, command: string, };
|
|
13
|
+
|
|
14
|
+
export type ExecOnRemoteResult = { remote_id: string, command: string, exit_code: number, stdout: string, stderr: string, duration_ms: bigint, };
|
|
15
|
+
|
|
16
|
+
export type KeyboardOperateParams = { remote_id: string, action: string | null, keys: Array<string>, };
|
|
17
|
+
|
|
18
|
+
export type KeyboardOperateResult = { remote_id: string, action: string, keys: Array<string>, success: boolean, };
|
|
19
|
+
|
|
20
|
+
export type Layer2ScriptExecResult = { language: ScriptLanguage, agent: string, tool: string, execution_id: string, exit_code: number, duration_ms: bigint, output: string, };
|
|
21
|
+
|
|
22
|
+
export type ListRemotesResult = { remotes: Array<RemoteConnectionInfo>, total: number, };
|
|
23
|
+
|
|
24
|
+
export type ModbusReadParams = { endpoint: string, station: number | null, scan: Array<ModbusScanConfig> | null, register_type: string | null, start_address: bigint | null, count: bigint | null, };
|
|
25
|
+
|
|
26
|
+
export type ModbusReadResult = { station: number, transport: string, endpoint: string, results: Array<RegisterRangeResult>, total_registers: number, };
|
|
27
|
+
|
|
28
|
+
export type ModbusScanConfig = { address: number, count: number, function_code?: number | null, };
|
|
29
|
+
|
|
30
|
+
export type ModbusWriteConfig = { address: number, value: number, function_code?: number | null, };
|
|
31
|
+
|
|
32
|
+
export type ModbusWriteParams = { endpoint: string, station: number | null, writes: Array<ModbusWriteConfig> | null, register_type: string | null, start_address: bigint | null, values: Array<bigint>, };
|
|
33
|
+
|
|
34
|
+
export type ModbusWriteResult = { station: number, transport: string, endpoint: string, writes: Array<WriteRangeResult>, total_written: number, all_confirmed: boolean, };
|
|
35
|
+
|
|
36
|
+
export type MouseOperateParams = { remote_id: string, action: string | null, x: bigint | null, y: bigint | null, button: string | null, };
|
|
37
|
+
|
|
38
|
+
export type MouseOperateResult = { remote_id: string, action: string, x: number, y: number, button: string, success: boolean, };
|
|
39
|
+
|
|
40
|
+
export type RegisterRangeResult = { register_type: string, start_address: number, count: number, values: Array<number>, raw_bytes: Array<string>, };
|
|
41
|
+
|
|
42
|
+
export type RemoteConnectionInfo = { id: string, host: string, port: number, protocol: string, connected: boolean, connected_at: string | null, };
|
|
43
|
+
|
|
44
|
+
export type ScreenshotParams = { remote_id: string, width: bigint | null, height: bigint | null, };
|
|
45
|
+
|
|
46
|
+
export type ScreenshotResult = { remote_id: string, width: number, height: number, format: string, data_base64: string, };
|
|
47
|
+
|
|
48
|
+
export type ScriptExecParams = { code: string, language: string | null, timeout: bigint | null, };
|
|
49
|
+
|
|
50
|
+
export type ScriptExecResult = { language: ScriptLanguage, execution_id: string, exit_code: number, duration_ms: bigint, stdout: string, stderr: string, };
|
|
51
|
+
|
|
52
|
+
export type SignalNormalizeParams = { values: Array<number>, method: string | null, signed: boolean | null, };
|
|
53
|
+
|
|
54
|
+
export type SignalNormalizeResult = { method: string, input_count: number, output: Array<number>, stats: SignalStats, };
|
|
55
|
+
|
|
56
|
+
export type SignalStats = { min: number, max: number, mean: number, std_dev: number, };
|
|
57
|
+
|
|
58
|
+
export type WriteRangeResult = { register_type: string, start_address: number, count: number, confirmed: boolean, };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
import type { GoalStatus, GoalTaskStatus, TrackStatus } from "../enums";
|
|
3
|
+
|
|
4
|
+
export type AlignmentCheckParams = { goal_id: string, };
|
|
5
|
+
|
|
6
|
+
export type AlignmentCheckResult = { goal_id: string, alignment_status: string, score: number, recommendations: string, };
|
|
7
|
+
|
|
8
|
+
export type GoalCloseParams = { goal_id: string, outcome: string | null, };
|
|
9
|
+
|
|
10
|
+
export type GoalCloseResult = { goal_id: string, status: GoalStatus, };
|
|
11
|
+
|
|
12
|
+
export type GoalCreateParams = { title: string, description: string | null, priority: number | null, owner: string | null, parent_goal_id: string | null, workspace_ids: Array<string> | null, };
|
|
13
|
+
|
|
14
|
+
export type GoalCreateResult = { goal_id: string, title: string, status: GoalStatus, workspace_ids: Array<string>, };
|
|
15
|
+
|
|
16
|
+
export type GoalEntry = { id: string, title: string, description: string | null, status: GoalStatus, priority: number, owner: string, parent_goal_id: string | null, workspace_ids: Array<string>, alignment_score: number | null, created_at: string, updated_at: string, };
|
|
17
|
+
|
|
18
|
+
export type GoalListParams = { workspace_id: string | null, status: string | null, parent_goal_id: string | null, limit: number | null, };
|
|
19
|
+
|
|
20
|
+
export type GoalListResult = { count: number, goals: Array<GoalEntry>, };
|
|
21
|
+
|
|
22
|
+
export type GoalTaskCompleteParams = { task_id: string, result: Record<string, unknown> | null, };
|
|
23
|
+
|
|
24
|
+
export type GoalTaskCompleteResult = { task_id: string, status: GoalTaskStatus, };
|
|
25
|
+
|
|
26
|
+
export type GoalTaskCreateParams = { track_id: string, title: string, description: string | null, assignee: string | null, effort_estimate: string | null, due_at: string | null, workspace_ids: Array<string> | null, parent_task_id: string | null, };
|
|
27
|
+
|
|
28
|
+
export type GoalTaskCreateResult = { task_id: string, track_id: string, title: string, status: GoalTaskStatus, workspace_ids: Array<string>, };
|
|
29
|
+
|
|
30
|
+
export type GoalTaskEntry = { id: string, track_id: string, title: string, description: string | null, status: GoalTaskStatus, assignee: string | null, effort_estimate: string | null, due_at: string | null, workspace_ids: Array<string>, created_at: string, updated_at: string, };
|
|
31
|
+
|
|
32
|
+
export type GoalTaskListParams = { track_id: string | null, goal_id: string | null, workspace_id: string | null, status: string | null, assignee: string | null, limit: number | null, };
|
|
33
|
+
|
|
34
|
+
export type GoalTaskListResult = { count: number, tasks: Array<GoalTaskEntry>, };
|
|
35
|
+
|
|
36
|
+
export type GoalTaskUpdateParams = { task_id: string, title: string | null, description: string | null, status: string | null, assignee: string | null, result: Record<string, unknown> | null, };
|
|
37
|
+
|
|
38
|
+
export type GoalTaskUpdateResult = { task_id: string, title: string, status: GoalTaskStatus, };
|
|
39
|
+
|
|
40
|
+
export type GoalUpdateParams = { goal_id: string, title: string | null, description: string | null, priority: number | null, status: string | null, };
|
|
41
|
+
|
|
42
|
+
export type GoalUpdateResult = { goal_id: string, title: string, status: GoalStatus, };
|
|
43
|
+
|
|
44
|
+
export type TrackCloseParams = { track_id: string, outcome: string | null, };
|
|
45
|
+
|
|
46
|
+
export type TrackCloseResult = { track_id: string, status: TrackStatus, };
|
|
47
|
+
|
|
48
|
+
export type TrackCreateParams = { goal_id: string, title: string, description: string | null, target_value: number | null, current_value: number | null, unit: string | null, weight: number | null, due_at: string | null, workspace_ids: Array<string> | null, };
|
|
49
|
+
|
|
50
|
+
export type TrackCreateResult = { track_id: string, goal_id: string, title: string, status: TrackStatus, };
|
|
51
|
+
|
|
52
|
+
export type TrackEntry = { id: string, goal_id: string, title: string, description: string | null, status: TrackStatus, target_value: number | null, current_value: number, unit: string | null, weight: number, due_at: string | null, workspace_ids: Array<string>, created_at: string, updated_at: string, };
|
|
53
|
+
|
|
54
|
+
export type TrackUpdateParams = { track_id: string, title: string | null, target_value: number | null, current_value: number | null, status: string | null, weight: number | null, };
|
|
55
|
+
|
|
56
|
+
export type TrackUpdateResult = { track_id: string, title: string, status: TrackStatus, current_value: number, target_value: number | null, };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
|
|
3
|
+
export type BrowserCloseResult = { browser_id: string, status: string, };
|
|
4
|
+
|
|
5
|
+
export type BrowserConsoleLogEntry = { level: string, text: string, timestamp: string, };
|
|
6
|
+
|
|
7
|
+
export type BrowserConsoleLogsResult = { browser_id: string, entries: Array<BrowserConsoleLogEntry>, };
|
|
8
|
+
|
|
9
|
+
export type BrowserCreateResult = { browser_id: string, browser_type: string, headless: boolean, window_size: string, };
|
|
10
|
+
|
|
11
|
+
export type BrowserInstanceInfo = { browser_id: string, browser_type: string, headless: boolean, window_size: string, };
|
|
12
|
+
|
|
13
|
+
export type BrowserKeypressResult = { browser_id: string, key: string, };
|
|
14
|
+
|
|
15
|
+
export type BrowserListResult = { instances: Array<BrowserInstanceInfo>, };
|
|
16
|
+
|
|
17
|
+
export type BrowserMouseClickResult = { browser_id: string, selector: string, };
|
|
18
|
+
|
|
19
|
+
export type BrowserMouseMoveResult = { browser_id: string, x: number, y: number, };
|
|
20
|
+
|
|
21
|
+
export type BrowserNavigateResult = { browser_id: string, final_url: string, title: string, http_status: number, };
|
|
22
|
+
|
|
23
|
+
export type BrowserNetworkEntry = { method: string, url: string, status: string, content_type: string, };
|
|
24
|
+
|
|
25
|
+
export type BrowserNetworkLogsResult = { browser_id: string, entries: Array<BrowserNetworkEntry>, };
|
|
26
|
+
|
|
27
|
+
export type BrowserRecordResult = { browser_id: string, action: string, status: string, file_path: string | null, };
|
|
28
|
+
|
|
29
|
+
export type BrowserScreenshotResult = { browser_id: string, format: string, width: number, height: number, data_base64: string, };
|
|
30
|
+
|
|
31
|
+
export type BrowserScriptResult = { browser_id: string, result: Record<string, unknown>, return_type: string, };
|