@kmlckj/aios-agent-server-sdk 0.0.0-stage → 0.0.1
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/EVENTS.md +88 -0
- package/README.md +628 -2
- package/capabilities.json +2398 -0
- package/dist/cli/daemon/preferences.d.ts +67 -0
- package/dist/cli/daemon/protocol.d.ts +26 -0
- package/dist/cli/daemon/resource-limits.d.ts +39 -0
- package/dist/core/auth/platform-client.d.ts +59 -0
- package/dist/core/host/runtime-dependencies.d.ts +26 -0
- package/dist/core/skills/skill-bindings.d.ts +19 -0
- package/dist/core/skills/skill-versions.d.ts +31 -0
- package/dist/electron/main/bundled-runtime-tools.d.ts +24 -0
- package/dist/events.js +1 -0
- package/dist/index.js +55 -0
- package/dist/sdk/src/auth.d.ts +43 -0
- package/dist/sdk/src/authorization-events.d.ts +16 -0
- package/dist/sdk/src/authorization.d.ts +10 -0
- package/dist/sdk/src/communication.d.ts +9 -0
- package/dist/sdk/src/diagnostics.d.ts +24 -0
- package/dist/sdk/src/errors.d.ts +4 -0
- package/dist/sdk/src/events.d.ts +4 -0
- package/dist/sdk/src/file-api.d.ts +29 -0
- package/dist/sdk/src/file-storage.d.ts +34 -0
- package/dist/sdk/src/index.d.ts +257 -0
- package/dist/sdk/src/local-connection.d.ts +9 -0
- package/dist/sdk/src/managed-host.d.ts +32 -0
- package/dist/sdk/src/native-status.d.ts +59 -0
- package/dist/sdk/src/platform.d.ts +35 -0
- package/dist/sdk/src/runtime-control.d.ts +111 -0
- package/dist/sdk/src/runtime-integrity.d.ts +10 -0
- package/dist/sdk/src/tool-reference.d.ts +11 -0
- package/dist/sdk/src/tool-result.d.ts +36 -0
- package/dist/sdk/src/tool-server.d.ts +14 -0
- package/dist/sdk/src/transport.d.ts +25 -0
- package/dist/sdk/src/types.d.ts +492 -0
- package/dist/shared/account-context-api.d.ts +47 -0
- package/dist/shared/action-center-api.d.ts +50 -0
- package/dist/shared/agent-capabilities.d.ts +42 -0
- package/dist/shared/agent-hooks.d.ts +10 -0
- package/dist/shared/agent-team.d.ts +17 -0
- package/dist/shared/artifact-evidence.d.ts +18 -0
- package/dist/shared/automation-api.d.ts +112 -0
- package/dist/shared/client-downloads-api.d.ts +20 -0
- package/dist/shared/cloud-assistant-api.d.ts +1020 -0
- package/dist/shared/cloud-task-event-api.d.ts +22 -0
- package/dist/shared/collaboration-api.d.ts +16 -0
- package/dist/shared/collaboration-automation-api.d.ts +55 -0
- package/dist/shared/collaboration-deep-link.d.ts +18 -0
- package/dist/shared/collaboration-event-api.d.ts +19 -0
- package/dist/shared/collaboration-plan-api.d.ts +159 -0
- package/dist/shared/collaboration-project-api.d.ts +206 -0
- package/dist/shared/collaboration-resource-api.d.ts +41 -0
- package/dist/shared/collaboration-task-api.d.ts +372 -0
- package/dist/shared/computer-use-api.d.ts +80 -0
- package/dist/shared/computer-use-handshake.d.ts +19 -0
- package/dist/shared/computer-use-protocol.d.ts +488 -0
- package/dist/shared/context-usage.d.ts +15 -0
- package/dist/shared/desktop-api.d.ts +449 -0
- package/dist/shared/desktop-diagnostics-api.d.ts +56 -0
- package/dist/shared/desktop-language.d.ts +3 -0
- package/dist/shared/desktop-mcp-service-api.d.ts +157 -0
- package/dist/shared/document-session-api.d.ts +91 -0
- package/dist/shared/enterprise-knowledge-api.d.ts +103 -0
- package/dist/shared/enterprise-project-api.d.ts +26 -0
- package/dist/shared/execution-activity.d.ts +3 -0
- package/dist/shared/execution-context.d.ts +37 -0
- package/dist/shared/execution-identity.d.ts +7 -0
- package/dist/shared/execution-profile.d.ts +6 -0
- package/dist/shared/execution-target.d.ts +71 -0
- package/dist/shared/expert-team-api.d.ts +54 -0
- package/dist/shared/feedback-api.d.ts +20 -0
- package/dist/shared/git-api.d.ts +227 -0
- package/dist/shared/git-http-api.d.ts +12 -0
- package/dist/shared/hosted-git-api.d.ts +132 -0
- package/dist/shared/js-agent-hooks.d.ts +23 -0
- package/dist/shared/local-custom-model-api.d.ts +55 -0
- package/dist/shared/local-environment-api.d.ts +110 -0
- package/dist/shared/local-mcp-server-api.d.ts +91 -0
- package/dist/shared/local-memory.d.ts +165 -0
- package/dist/shared/local-plugin-api.d.ts +26 -0
- package/dist/shared/local-runtime-api.d.ts +32 -0
- package/dist/shared/local-skill-api.d.ts +42 -0
- package/dist/shared/local-task-api.d.ts +658 -0
- package/dist/shared/local-task-command-client.d.ts +55 -0
- package/dist/shared/local-task-command.d.ts +91 -0
- package/dist/shared/local-task-event-projection.d.ts +29 -0
- package/dist/shared/local-task-projection.d.ts +29 -0
- package/dist/shared/local-workspace.d.ts +9 -0
- package/dist/shared/managed-authorization.d.ts +70 -0
- package/dist/shared/memory-customization.d.ts +32 -0
- package/dist/shared/model-routing.d.ts +31 -0
- package/dist/shared/model-selection.d.ts +11 -0
- package/dist/shared/my-expert-api.d.ts +119 -0
- package/dist/shared/navigation-api.d.ts +20 -0
- package/dist/shared/office-window-api.d.ts +81 -0
- package/dist/shared/platform-branding-api.d.ts +66 -0
- package/dist/shared/plugin-market-api.d.ts +120 -0
- package/dist/shared/profession-market-api.d.ts +96 -0
- package/dist/shared/project-local-skill-api.d.ts +8 -0
- package/dist/shared/remote-connection-api.d.ts +97 -0
- package/dist/shared/remote-connection.d.ts +62 -0
- package/dist/shared/remote-installation-api.d.ts +50 -0
- package/dist/shared/remote-tasks-api.d.ts +118 -0
- package/dist/shared/runtime-tuning.d.ts +44 -0
- package/dist/shared/scene-case-api.d.ts +42 -0
- package/dist/shared/security-center-api.d.ts +74 -0
- package/dist/shared/sensitive-protection-api.d.ts +71 -0
- package/dist/shared/session-policy.d.ts +26 -0
- package/dist/shared/shortcut-api.d.ts +7 -0
- package/dist/shared/skill-activation-api.d.ts +8 -0
- package/dist/shared/skill-asset-api.d.ts +12 -0
- package/dist/shared/skill-market-api.d.ts +119 -0
- package/dist/shared/skill-upload.d.ts +16 -0
- package/dist/shared/speech-recognition-api.d.ts +12 -0
- package/dist/shared/storage-integrity.d.ts +15 -0
- package/dist/shared/target-bridge-protocol.d.ts +67 -0
- package/dist/shared/target-environments.d.ts +15 -0
- package/dist/shared/target-resources.d.ts +105 -0
- package/dist/shared/task-initialization-api.d.ts +44 -0
- package/dist/shared/task-menu-api.d.ts +27 -0
- package/dist/shared/task-operation.d.ts +19 -0
- package/dist/shared/task-path-policy.d.ts +14 -0
- package/dist/shared/task-resource-manifest.d.ts +33 -0
- package/dist/shared/task-storage-recovery.d.ts +33 -0
- package/dist/shared/task-terminal-api.d.ts +48 -0
- package/dist/shared/team-control.d.ts +60 -0
- package/dist/shared/tool-activity.d.ts +18 -0
- package/dist/shared/update-api.d.ts +65 -0
- package/dist/shared/usage-statistics-api.d.ts +18 -0
- package/dist/shared/worktree-api.d.ts +188 -0
- package/examples/business-assistant.mjs +19 -0
- package/examples/common.mjs +51 -0
- package/examples/platform-assistant.mjs +9 -0
- package/examples/standalone-assistant.mjs +16 -0
- package/package.json +20 -4
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import type { LocalTaskPermissionMode, LocalTaskPluginReference, LocalTaskSkillReference } from './local-task-api.js';
|
|
2
|
+
import type { ModelReasoningEffort } from './model-selection.js';
|
|
3
|
+
export type AutomationStatus = 'active' | 'paused';
|
|
4
|
+
export type AutomationRunKind = 'scheduled' | 'missed' | 'manual_test';
|
|
5
|
+
export type AutomationRunStatus = 'queued' | 'waiting_login' | 'running' | 'completed' | 'failed' | 'interrupted' | 'skipped';
|
|
6
|
+
export type AutomationRunFilter = 'all' | 'completed' | 'failed' | 'running' | 'archived';
|
|
7
|
+
export type AutomationRemoveMode = 'reject_if_running' | 'keep_running' | 'stop_running';
|
|
8
|
+
export type AutomationSchedule = {
|
|
9
|
+
type: 'recurring';
|
|
10
|
+
frequency: 'daily' | 'weekdays' | 'weekly' | 'monthly';
|
|
11
|
+
time: string;
|
|
12
|
+
daysOfWeek?: number[];
|
|
13
|
+
dayOfMonth?: number;
|
|
14
|
+
} | {
|
|
15
|
+
type: 'interval';
|
|
16
|
+
intervalMinutes: number;
|
|
17
|
+
anchorAt: string;
|
|
18
|
+
daysOfWeek?: number[];
|
|
19
|
+
} | {
|
|
20
|
+
type: 'once';
|
|
21
|
+
runAt: string;
|
|
22
|
+
};
|
|
23
|
+
export interface DesktopAutomation {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
prompt: string;
|
|
27
|
+
workspacePaths: string[];
|
|
28
|
+
model?: string;
|
|
29
|
+
thinkingEnabled: boolean;
|
|
30
|
+
reasoningEffort: ModelReasoningEffort | undefined;
|
|
31
|
+
skills: LocalTaskSkillReference[];
|
|
32
|
+
plugins: LocalTaskPluginReference[];
|
|
33
|
+
permissionMode: LocalTaskPermissionMode;
|
|
34
|
+
schedule: AutomationSchedule;
|
|
35
|
+
timezone: string;
|
|
36
|
+
validFrom?: string;
|
|
37
|
+
validUntil?: string;
|
|
38
|
+
status: AutomationStatus;
|
|
39
|
+
nextRunAt?: string;
|
|
40
|
+
lastRunAt?: string;
|
|
41
|
+
createdAt: string;
|
|
42
|
+
updatedAt: string;
|
|
43
|
+
}
|
|
44
|
+
export interface AutomationRunTarget {
|
|
45
|
+
workspacePath?: string;
|
|
46
|
+
taskId?: string;
|
|
47
|
+
runId?: string;
|
|
48
|
+
status: 'queued' | 'running' | 'completed' | 'failed' | 'interrupted' | 'skipped';
|
|
49
|
+
error?: string;
|
|
50
|
+
}
|
|
51
|
+
export interface AutomationExecutionSnapshot {
|
|
52
|
+
prompt: string;
|
|
53
|
+
model?: string;
|
|
54
|
+
thinkingEnabled: boolean;
|
|
55
|
+
reasoningEffort: ModelReasoningEffort | undefined;
|
|
56
|
+
skills: LocalTaskSkillReference[];
|
|
57
|
+
plugins: LocalTaskPluginReference[];
|
|
58
|
+
permissionMode: LocalTaskPermissionMode;
|
|
59
|
+
}
|
|
60
|
+
export interface AutomationRun {
|
|
61
|
+
id: string;
|
|
62
|
+
automationId: string;
|
|
63
|
+
automationName: string;
|
|
64
|
+
scheduleSlotId: string;
|
|
65
|
+
scheduledAt: string;
|
|
66
|
+
runKind: AutomationRunKind;
|
|
67
|
+
status: AutomationRunStatus;
|
|
68
|
+
configuration?: AutomationExecutionSnapshot;
|
|
69
|
+
taskIds: string[];
|
|
70
|
+
targets: AutomationRunTarget[];
|
|
71
|
+
error?: string;
|
|
72
|
+
archivedAt?: string;
|
|
73
|
+
createdAt: string;
|
|
74
|
+
startedAt?: string;
|
|
75
|
+
completedAt?: string;
|
|
76
|
+
updatedAt: string;
|
|
77
|
+
}
|
|
78
|
+
export interface SaveAutomationRequest {
|
|
79
|
+
id?: string;
|
|
80
|
+
name: string;
|
|
81
|
+
prompt: string;
|
|
82
|
+
workspacePaths: string[];
|
|
83
|
+
model?: string;
|
|
84
|
+
thinkingEnabled?: boolean;
|
|
85
|
+
reasoningEffort?: ModelReasoningEffort;
|
|
86
|
+
skills: LocalTaskSkillReference[];
|
|
87
|
+
plugins: LocalTaskPluginReference[];
|
|
88
|
+
permissionMode: LocalTaskPermissionMode;
|
|
89
|
+
schedule: AutomationSchedule;
|
|
90
|
+
timezone: string;
|
|
91
|
+
validFrom?: string;
|
|
92
|
+
validUntil?: string;
|
|
93
|
+
status?: AutomationStatus;
|
|
94
|
+
}
|
|
95
|
+
export interface ListAutomationRunsQuery {
|
|
96
|
+
automationId?: string;
|
|
97
|
+
filter?: AutomationRunFilter;
|
|
98
|
+
keyword?: string;
|
|
99
|
+
limit?: number;
|
|
100
|
+
}
|
|
101
|
+
export interface AutomationApi {
|
|
102
|
+
list: () => Promise<DesktopAutomation[]>;
|
|
103
|
+
get: (automationId: string) => Promise<DesktopAutomation>;
|
|
104
|
+
save: (request: SaveAutomationRequest) => Promise<DesktopAutomation>;
|
|
105
|
+
setPaused: (automationId: string, paused: boolean) => Promise<DesktopAutomation>;
|
|
106
|
+
remove: (automationId: string, mode?: AutomationRemoveMode) => Promise<void>;
|
|
107
|
+
runNow: (automationId: string) => Promise<AutomationRun>;
|
|
108
|
+
listRuns: (query?: ListAutomationRunsQuery) => Promise<AutomationRun[]>;
|
|
109
|
+
archiveRun: (runId: string, archived: boolean) => Promise<AutomationRun>;
|
|
110
|
+
removeRun: (runId: string) => Promise<void>;
|
|
111
|
+
onChanged: (listener: () => void) => () => void;
|
|
112
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const CLIENT_DOWNLOAD_PLATFORMS: readonly ["IOS", "ANDROID", "WINDOWS", "MACOS_INTEL", "MACOS_APPLE_SILICON"];
|
|
2
|
+
export type ClientDownloadPlatform = (typeof CLIENT_DOWNLOAD_PLATFORMS)[number];
|
|
3
|
+
export interface CurrentClientRelease {
|
|
4
|
+
id: string;
|
|
5
|
+
platform: ClientDownloadPlatform;
|
|
6
|
+
version: string;
|
|
7
|
+
downloadUrl: string;
|
|
8
|
+
minimumOsVersion?: string | null;
|
|
9
|
+
fileSizeBytes?: number | null;
|
|
10
|
+
publishedAt?: string | null;
|
|
11
|
+
activatedAt?: string | null;
|
|
12
|
+
}
|
|
13
|
+
export interface ClientDownloadCatalog {
|
|
14
|
+
releases: CurrentClientRelease[];
|
|
15
|
+
mobileDownloadUrl: string;
|
|
16
|
+
recommendedDesktopPlatform: Extract<ClientDownloadPlatform, 'WINDOWS' | 'MACOS_INTEL' | 'MACOS_APPLE_SILICON'> | null;
|
|
17
|
+
}
|
|
18
|
+
export interface ClientDownloadsApi {
|
|
19
|
+
getCatalog: () => Promise<ClientDownloadCatalog>;
|
|
20
|
+
}
|