@jingyi0605/codingns 0.3.5 → 0.4.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/README.md +16 -0
- package/bin/codingns.mjs +1369 -10
- package/dist/public/assets/{TerminalPage-CgrfstRm.js → TerminalPage-6jHZV9Mh.js} +17 -17
- package/dist/public/assets/index-CSVhg7I8.js +123 -0
- package/dist/public/assets/index-Ce1VX19m.css +1 -0
- package/dist/public/index.html +2 -2
- package/dist/server/config/opencode-base-url-resolver.d.ts +7 -0
- package/dist/server/config/opencode-base-url-resolver.js +48 -11
- package/dist/server/config/opencode-base-url-resolver.js.map +1 -1
- package/dist/server/config/opencode-system-probe-helper-client.d.ts +4 -0
- package/dist/server/config/opencode-system-probe-helper-client.js +29 -0
- package/dist/server/config/opencode-system-probe-helper-client.js.map +1 -1
- package/dist/server/config/opencode-system-probe-helper-process.d.ts +12 -0
- package/dist/server/config/opencode-system-probe-helper-process.js +34 -7
- package/dist/server/config/opencode-system-probe-helper-process.js.map +1 -1
- package/dist/server/modules/assistant-capability/assistant-capability-controller.d.ts +317 -0
- package/dist/server/modules/assistant-capability/assistant-capability-controller.js +549 -1
- package/dist/server/modules/assistant-capability/assistant-capability-controller.js.map +1 -1
- package/dist/server/modules/assistant-capability/assistant-capability-service.d.ts +330 -2
- package/dist/server/modules/assistant-capability/assistant-capability-service.js +958 -3
- package/dist/server/modules/assistant-capability/assistant-capability-service.js.map +1 -1
- package/dist/server/modules/butler/assistant-automation-service.d.ts +110 -0
- package/dist/server/modules/butler/assistant-automation-service.js +786 -0
- package/dist/server/modules/butler/assistant-automation-service.js.map +1 -0
- package/dist/server/modules/butler/assistant-automation-trigger.d.ts +94 -0
- package/dist/server/modules/butler/assistant-automation-trigger.js +400 -0
- package/dist/server/modules/butler/assistant-automation-trigger.js.map +1 -0
- package/dist/server/modules/butler/assistant-sandbox-service.d.ts +55 -0
- package/dist/server/modules/butler/assistant-sandbox-service.js +266 -0
- package/dist/server/modules/butler/assistant-sandbox-service.js.map +1 -0
- package/dist/server/modules/butler/butler-action-context-service.d.ts +4 -1
- package/dist/server/modules/butler/butler-action-context-service.js +8 -2
- package/dist/server/modules/butler/butler-action-context-service.js.map +1 -1
- package/dist/server/modules/butler/butler-control-session-service.d.ts +8 -1
- package/dist/server/modules/butler/butler-control-session-service.js +154 -40
- package/dist/server/modules/butler/butler-control-session-service.js.map +1 -1
- package/dist/server/modules/butler/butler-control-timer-scheduler.d.ts +32 -0
- package/dist/server/modules/butler/butler-control-timer-scheduler.js +93 -0
- package/dist/server/modules/butler/butler-control-timer-scheduler.js.map +1 -0
- package/dist/server/modules/butler/butler-control-timer-service.d.ts +42 -0
- package/dist/server/modules/butler/butler-control-timer-service.js +132 -0
- package/dist/server/modules/butler/butler-control-timer-service.js.map +1 -0
- package/dist/server/modules/butler/butler-controller.d.ts +42 -2
- package/dist/server/modules/butler/butler-controller.js +79 -12
- package/dist/server/modules/butler/butler-controller.js.map +1 -1
- package/dist/server/modules/butler/butler-follow-up-service.d.ts +9 -1
- package/dist/server/modules/butler/butler-follow-up-service.js +273 -181
- package/dist/server/modules/butler/butler-follow-up-service.js.map +1 -1
- package/dist/server/modules/butler/butler-inbox-analysis-service.d.ts +4 -1
- package/dist/server/modules/butler/butler-inbox-analysis-service.js +18 -4
- package/dist/server/modules/butler/butler-inbox-analysis-service.js.map +1 -1
- package/dist/server/modules/butler/butler-inbox-instruction-adapter.js +7 -6
- package/dist/server/modules/butler/butler-inbox-instruction-adapter.js.map +1 -1
- package/dist/server/modules/butler/butler-profile-service.js +2 -5
- package/dist/server/modules/butler/butler-profile-service.js.map +1 -1
- package/dist/server/modules/butler/butler-project-service.d.ts +3 -1
- package/dist/server/modules/butler/butler-project-service.js +7 -1
- package/dist/server/modules/butler/butler-project-service.js.map +1 -1
- package/dist/server/modules/butler/butler-session-service.d.ts +3 -1
- package/dist/server/modules/butler/butler-session-service.js +12 -1
- package/dist/server/modules/butler/butler-session-service.js.map +1 -1
- package/dist/server/modules/butler/butler-session-summary-service.js +2 -1
- package/dist/server/modules/butler/butler-session-summary-service.js.map +1 -1
- package/dist/server/modules/butler/butler-workspace-context.d.ts +3 -0
- package/dist/server/modules/butler/butler-workspace-context.js +182 -51
- package/dist/server/modules/butler/butler-workspace-context.js.map +1 -1
- package/dist/server/modules/butler/patrol-execution-service.js +2 -1
- package/dist/server/modules/butler/patrol-execution-service.js.map +1 -1
- package/dist/server/modules/butler/provider-adapter-registry.d.ts +3 -0
- package/dist/server/modules/butler/provider-adapter-registry.js +18 -1
- package/dist/server/modules/butler/provider-adapter-registry.js.map +1 -1
- package/dist/server/modules/butler/verification-run-service.d.ts +9 -2
- package/dist/server/modules/butler/verification-run-service.js +188 -34
- package/dist/server/modules/butler/verification-run-service.js.map +1 -1
- package/dist/server/modules/debug-target/debug-target-controller.d.ts +13 -0
- package/dist/server/modules/debug-target/debug-target-controller.js +77 -2
- package/dist/server/modules/debug-target/debug-target-controller.js.map +1 -1
- package/dist/server/modules/debug-target/debug-target-service.d.ts +17 -3
- package/dist/server/modules/debug-target/debug-target-service.js +696 -98
- package/dist/server/modules/debug-target/debug-target-service.js.map +1 -1
- package/dist/server/modules/git/git-command-helper-client.d.ts +3 -0
- package/dist/server/modules/git/git-command-helper-client.js +71 -29
- package/dist/server/modules/git/git-command-helper-client.js.map +1 -1
- package/dist/server/modules/git/git-command-helper-process.js +62 -9
- package/dist/server/modules/git/git-command-helper-process.js.map +1 -1
- package/dist/server/modules/git/git-command-runner.d.ts +1 -0
- package/dist/server/modules/git/git-command-runner.js +44 -1
- package/dist/server/modules/git/git-command-runner.js.map +1 -1
- package/dist/server/modules/git/git-controller.js +8 -7
- package/dist/server/modules/git/git-controller.js.map +1 -1
- package/dist/server/modules/git/git-read-service.d.ts +7 -7
- package/dist/server/modules/git/git-read-service.js +41 -24
- package/dist/server/modules/git/git-read-service.js.map +1 -1
- package/dist/server/modules/model-switch/cc-switch-adapter.js +6 -2
- package/dist/server/modules/model-switch/cc-switch-adapter.js.map +1 -1
- package/dist/server/modules/preferences/profile-service.d.ts +3 -1
- package/dist/server/modules/preferences/profile-service.js +74 -3
- package/dist/server/modules/preferences/profile-service.js.map +1 -1
- package/dist/server/modules/provider/codex-model-options.js +2 -3
- package/dist/server/modules/provider/codex-model-options.js.map +1 -1
- package/dist/server/modules/provider/opencode-model-options.js +2 -3
- package/dist/server/modules/provider/opencode-model-options.js.map +1 -1
- package/dist/server/modules/provider/provider-discovery-helper-client.d.ts +14 -7
- package/dist/server/modules/provider/provider-discovery-helper-client.js +208 -46
- package/dist/server/modules/provider/provider-discovery-helper-client.js.map +1 -1
- package/dist/server/modules/provider/provider-discovery-helper-process.js +96 -47
- package/dist/server/modules/provider/provider-discovery-helper-process.js.map +1 -1
- package/dist/server/modules/provider/provider-discovery-runtime.d.ts +4 -0
- package/dist/server/modules/provider/provider-discovery-runtime.js +145 -0
- package/dist/server/modules/provider/provider-discovery-runtime.js.map +1 -0
- package/dist/server/modules/sessions/claude-runtime-helper-client.js +23 -1
- package/dist/server/modules/sessions/claude-runtime-helper-client.js.map +1 -1
- package/dist/server/modules/sessions/session-history-service.d.ts +12 -3
- package/dist/server/modules/sessions/session-history-service.js +465 -67
- package/dist/server/modules/sessions/session-history-service.js.map +1 -1
- package/dist/server/modules/sessions/session-live-runtime-service.d.ts +8 -0
- package/dist/server/modules/sessions/session-live-runtime-service.js +164 -34
- package/dist/server/modules/sessions/session-live-runtime-service.js.map +1 -1
- package/dist/server/modules/sessions/session-message-origin-utils.d.ts +12 -0
- package/dist/server/modules/sessions/session-message-origin-utils.js +45 -0
- package/dist/server/modules/sessions/session-message-origin-utils.js.map +1 -0
- package/dist/server/modules/sessions/session-permission-request-service.js +167 -0
- package/dist/server/modules/sessions/session-permission-request-service.js.map +1 -1
- package/dist/server/modules/skills/builtin-skill-service.d.ts +12 -0
- package/dist/server/modules/skills/builtin-skill-service.js +49 -0
- package/dist/server/modules/skills/builtin-skill-service.js.map +1 -0
- package/dist/server/modules/skills/builtin-skills/codingns-assistant/SKILL.md +82 -0
- package/dist/server/modules/skills/builtin-skills/codingns-assistant/agents/openai.yaml +4 -0
- package/dist/server/modules/skills/builtin-skills/codingns-assistant/references/cli-workflow.md +136 -0
- package/dist/server/modules/skills/skill-manager-service.d.ts +7 -0
- package/dist/server/modules/skills/skill-manager-service.js +98 -0
- package/dist/server/modules/skills/skill-manager-service.js.map +1 -1
- package/dist/server/modules/tailscale/tailscale-helper-client.d.ts +1 -0
- package/dist/server/modules/tailscale/tailscale-helper-client.js +12 -0
- package/dist/server/modules/tailscale/tailscale-helper-client.js.map +1 -1
- package/dist/server/modules/tasks/task-helper-client.d.ts +10 -2
- package/dist/server/modules/tasks/task-helper-client.js +152 -27
- package/dist/server/modules/tasks/task-helper-client.js.map +1 -1
- package/dist/server/modules/tasks/task-helper-process-handlers.d.ts +10 -3
- package/dist/server/modules/tasks/task-helper-process-handlers.js +7 -5
- package/dist/server/modules/tasks/task-helper-process-handlers.js.map +1 -1
- package/dist/server/modules/tasks/task-helper-process.js +104 -3
- package/dist/server/modules/tasks/task-helper-process.js.map +1 -1
- package/dist/server/modules/tasks/task-lane-executors.js +2 -2
- package/dist/server/modules/tasks/task-lane-executors.js.map +1 -1
- package/dist/server/modules/tasks/task-types.d.ts +4 -0
- package/dist/server/modules/tasks/task-types.js +5 -1
- package/dist/server/modules/tasks/task-types.js.map +1 -1
- package/dist/server/modules/terminal/command-template-service.d.ts +11 -2
- package/dist/server/modules/terminal/command-template-service.js +91 -9
- package/dist/server/modules/terminal/command-template-service.js.map +1 -1
- package/dist/server/modules/terminal/runtime/terminal-log-writer-client.js +1 -1
- package/dist/server/modules/terminal/runtime/terminal-log-writer-client.js.map +1 -1
- package/dist/server/modules/terminal/runtime/terminal-log-writer-process.js +160 -11
- package/dist/server/modules/terminal/runtime/terminal-log-writer-process.js.map +1 -1
- package/dist/server/modules/terminal/template-port-runtime.d.ts +1 -1
- package/dist/server/modules/terminal/template-port-runtime.js +87 -37
- package/dist/server/modules/terminal/template-port-runtime.js.map +1 -1
- package/dist/server/modules/terminal/terminal-controller.d.ts +3 -0
- package/dist/server/modules/terminal/terminal-controller.js +41 -0
- package/dist/server/modules/terminal/terminal-controller.js.map +1 -1
- package/dist/server/modules/terminal/terminal-service.d.ts +4 -0
- package/dist/server/modules/terminal/terminal-service.js +35 -1
- package/dist/server/modules/terminal/terminal-service.js.map +1 -1
- package/dist/server/modules/workbench/workbench-service.d.ts +3 -0
- package/dist/server/modules/workbench/workbench-service.js +7 -6
- package/dist/server/modules/workbench/workbench-service.js.map +1 -1
- package/dist/server/modules/workbench/workspace-file-watcher.d.ts +14 -6
- package/dist/server/modules/workbench/workspace-file-watcher.js +267 -57
- package/dist/server/modules/workbench/workspace-file-watcher.js.map +1 -1
- package/dist/server/modules/workbench/workspace-panel-snapshot-service.d.ts +3 -0
- package/dist/server/modules/workbench/workspace-panel-snapshot-service.js +149 -41
- package/dist/server/modules/workbench/workspace-panel-snapshot-service.js.map +1 -1
- package/dist/server/modules/workspace/workspace-code-composition.d.ts +1 -0
- package/dist/server/modules/workspace/workspace-code-composition.js +183 -1
- package/dist/server/modules/workspace/workspace-code-composition.js.map +1 -1
- package/dist/server/modules/workspace/workspace-service.js +54 -17
- package/dist/server/modules/workspace/workspace-service.js.map +1 -1
- package/dist/server/modules/worktree/worktree-cleanup-service.d.ts +1 -1
- package/dist/server/modules/worktree/worktree-cleanup-service.js +22 -17
- package/dist/server/modules/worktree/worktree-cleanup-service.js.map +1 -1
- package/dist/server/modules/worktree/worktree-controller.js +6 -5
- package/dist/server/modules/worktree/worktree-controller.js.map +1 -1
- package/dist/server/modules/worktree/worktree-manager.d.ts +10 -2
- package/dist/server/modules/worktree/worktree-manager.js +35 -20
- package/dist/server/modules/worktree/worktree-manager.js.map +1 -1
- package/dist/server/modules/worktree/worktree-merge-service.d.ts +2 -2
- package/dist/server/modules/worktree/worktree-merge-service.js +34 -27
- package/dist/server/modules/worktree/worktree-merge-service.js.map +1 -1
- package/dist/server/modules/worktree/worktree-sync-service.d.ts +1 -1
- package/dist/server/modules/worktree/worktree-sync-service.js +5 -3
- package/dist/server/modules/worktree/worktree-sync-service.js.map +1 -1
- package/dist/server/routes/assistant.js +43 -0
- package/dist/server/routes/assistant.js.map +1 -1
- package/dist/server/routes/butler.js +5 -0
- package/dist/server/routes/butler.js.map +1 -1
- package/dist/server/server/create-server.d.ts +8 -0
- package/dist/server/server/create-server.js +51 -13
- package/dist/server/server/create-server.js.map +1 -1
- package/dist/server/shared/http/request-abort.d.ts +2 -0
- package/dist/server/shared/http/request-abort.js +38 -0
- package/dist/server/shared/http/request-abort.js.map +1 -0
- package/dist/server/storage/repositories/assistant-automation-run-repository.d.ts +12 -0
- package/dist/server/storage/repositories/assistant-automation-run-repository.js +139 -0
- package/dist/server/storage/repositories/assistant-automation-run-repository.js.map +1 -0
- package/dist/server/storage/repositories/assistant-automation-task-repository.d.ts +15 -0
- package/dist/server/storage/repositories/assistant-automation-task-repository.js +173 -0
- package/dist/server/storage/repositories/assistant-automation-task-repository.js.map +1 -0
- package/dist/server/storage/repositories/assistant-sandbox-workspace-repository.d.ts +17 -0
- package/dist/server/storage/repositories/assistant-sandbox-workspace-repository.js +164 -0
- package/dist/server/storage/repositories/assistant-sandbox-workspace-repository.js.map +1 -0
- package/dist/server/storage/repositories/butler-control-session-repository.js +27 -3
- package/dist/server/storage/repositories/butler-control-session-repository.js.map +1 -1
- package/dist/server/storage/repositories/butler-control-timer-repository.d.ts +15 -0
- package/dist/server/storage/repositories/butler-control-timer-repository.js +157 -0
- package/dist/server/storage/repositories/butler-control-timer-repository.js.map +1 -0
- package/dist/server/storage/repositories/user-preference-profile-repository.js +6 -3
- package/dist/server/storage/repositories/user-preference-profile-repository.js.map +1 -1
- package/dist/server/storage/sqlite/client.js +239 -2
- package/dist/server/storage/sqlite/client.js.map +1 -1
- package/dist/server/storage/sqlite/schema.sql +107 -1
- package/dist/server/types/domain.d.ts +89 -2
- package/dist/server/ws/workbench-ws-hub.d.ts +14 -7
- package/dist/server/ws/workbench-ws-hub.js +316 -158
- package/dist/server/ws/workbench-ws-hub.js.map +1 -1
- package/node_modules/@codingns/session-sync-core/dist/providers/claude-code.d.ts +4 -1
- package/node_modules/@codingns/session-sync-core/dist/providers/claude-code.js +111 -3
- package/node_modules/@codingns/session-sync-core/dist/providers/claude-code.js.map +1 -1
- package/node_modules/@codingns/session-sync-core/dist/providers/codex.d.ts +6 -1
- package/node_modules/@codingns/session-sync-core/dist/providers/codex.js +306 -31
- package/node_modules/@codingns/session-sync-core/dist/providers/codex.js.map +1 -1
- package/node_modules/@codingns/session-sync-core/dist/providers/gemini.d.ts +5 -1
- package/node_modules/@codingns/session-sync-core/dist/providers/gemini.js +187 -26
- package/node_modules/@codingns/session-sync-core/dist/providers/gemini.js.map +1 -1
- package/node_modules/@codingns/session-sync-core/dist/providers/kimi.d.ts +4 -1
- package/node_modules/@codingns/session-sync-core/dist/providers/kimi.js +98 -1
- package/node_modules/@codingns/session-sync-core/dist/providers/kimi.js.map +1 -1
- package/node_modules/@codingns/session-sync-core/dist/providers/opencode.d.ts +2 -0
- package/node_modules/@codingns/session-sync-core/dist/providers/opencode.js +71 -8
- package/node_modules/@codingns/session-sync-core/dist/providers/opencode.js.map +1 -1
- package/node_modules/@codingns/session-sync-core/dist/providers/utils.d.ts +1 -0
- package/node_modules/@codingns/session-sync-core/dist/providers/utils.js +4 -1
- package/node_modules/@codingns/session-sync-core/dist/providers/utils.js.map +1 -1
- package/node_modules/@codingns/session-sync-core/dist/runtime/claude-runtime.js +44 -0
- package/node_modules/@codingns/session-sync-core/dist/runtime/claude-runtime.js.map +1 -1
- package/node_modules/@codingns/session-sync-core/dist/runtime/codex-runtime.js +9 -3
- package/node_modules/@codingns/session-sync-core/dist/runtime/codex-runtime.js.map +1 -1
- package/node_modules/@codingns/session-sync-core/dist/runtime/types.d.ts +1 -0
- package/node_modules/@codingns/session-sync-core/dist/services.js +17 -8
- package/node_modules/@codingns/session-sync-core/dist/services.js.map +1 -1
- package/node_modules/@codingns/session-sync-core/dist/types.d.ts +4 -0
- package/package.json +1 -1
- package/scripts/postinstall.mjs +33 -0
- package/dist/public/assets/index-Cek6u0b9.css +0 -1
- package/dist/public/assets/index-THHY79si.js +0 -122
|
@@ -11,14 +11,41 @@ interface AssistantProjectParams {
|
|
|
11
11
|
interface AssistantSessionParams {
|
|
12
12
|
sessionId: string;
|
|
13
13
|
}
|
|
14
|
+
interface AssistantSandboxParams {
|
|
15
|
+
sandboxId: string;
|
|
16
|
+
}
|
|
14
17
|
interface AssistantTerminalParams {
|
|
15
18
|
terminalId: string;
|
|
16
19
|
}
|
|
20
|
+
interface AssistantTimerParams {
|
|
21
|
+
timerId: string;
|
|
22
|
+
}
|
|
23
|
+
interface AssistantAutomationParams {
|
|
24
|
+
automationId: string;
|
|
25
|
+
}
|
|
17
26
|
interface AssistantMessagesQuery {
|
|
18
27
|
cursor?: string;
|
|
19
28
|
limit?: string;
|
|
20
29
|
direction?: string;
|
|
21
30
|
}
|
|
31
|
+
interface AssistantTimerListQuery {
|
|
32
|
+
status?: "active" | "completed" | "cancelled" | "failed";
|
|
33
|
+
controlSessionId?: string;
|
|
34
|
+
limit?: string;
|
|
35
|
+
}
|
|
36
|
+
interface AssistantAutomationListQuery {
|
|
37
|
+
status?: "active" | "completed" | "cancelled" | "failed";
|
|
38
|
+
controlSessionId?: string;
|
|
39
|
+
limit?: string;
|
|
40
|
+
}
|
|
41
|
+
interface AssistantAutomationRecentRunsQuery {
|
|
42
|
+
controlSessionId?: string;
|
|
43
|
+
limit?: string;
|
|
44
|
+
}
|
|
45
|
+
interface AssistantSandboxListQuery {
|
|
46
|
+
status?: "active" | "archived" | "expired" | "deleted";
|
|
47
|
+
controlSessionId?: string;
|
|
48
|
+
}
|
|
22
49
|
interface AssistantTerminalListQuery {
|
|
23
50
|
workspaceId?: string;
|
|
24
51
|
projectId?: string;
|
|
@@ -27,6 +54,21 @@ interface AssistantTerminalHistoryQuery {
|
|
|
27
54
|
beforeSeq?: string;
|
|
28
55
|
limit?: string;
|
|
29
56
|
}
|
|
57
|
+
interface AssistantDebugTargetParams {
|
|
58
|
+
targetId: string;
|
|
59
|
+
}
|
|
60
|
+
interface AssistantDebugRuntimeParams {
|
|
61
|
+
runtimeId: string;
|
|
62
|
+
}
|
|
63
|
+
interface AssistantDebugRuntimeHistoryQuery {
|
|
64
|
+
limit?: string;
|
|
65
|
+
}
|
|
66
|
+
interface AssistantWorkspaceBrowseQuery {
|
|
67
|
+
path?: string;
|
|
68
|
+
}
|
|
69
|
+
interface AssistantWorktreeTreeQuery {
|
|
70
|
+
rootWorkspaceId?: string;
|
|
71
|
+
}
|
|
30
72
|
interface AssistantSendMessageBody {
|
|
31
73
|
content?: string;
|
|
32
74
|
clientRequestId?: string | null;
|
|
@@ -34,6 +76,18 @@ interface AssistantSendMessageBody {
|
|
|
34
76
|
reasoningLevel?: string | null;
|
|
35
77
|
permissionMode?: string | null;
|
|
36
78
|
}
|
|
79
|
+
interface AssistantStartProjectSessionBody {
|
|
80
|
+
content?: string;
|
|
81
|
+
providerId?: "codex" | "claude-code" | null;
|
|
82
|
+
model?: string | null;
|
|
83
|
+
reasoningLevel?: string | null;
|
|
84
|
+
permissionMode?: string | null;
|
|
85
|
+
}
|
|
86
|
+
interface AssistantStartSessionBody extends AssistantStartProjectSessionBody {
|
|
87
|
+
projectId?: string | null;
|
|
88
|
+
workspaceId?: string | null;
|
|
89
|
+
sandboxId?: string | null;
|
|
90
|
+
}
|
|
37
91
|
interface AssistantForkBody {
|
|
38
92
|
sourceType?: "session" | "message";
|
|
39
93
|
sourceMessageId?: string | null;
|
|
@@ -43,6 +97,136 @@ interface AssistantForkBody {
|
|
|
43
97
|
interface AssistantTerminalInputBody {
|
|
44
98
|
content?: string;
|
|
45
99
|
}
|
|
100
|
+
interface AssistantCreateTimerBody {
|
|
101
|
+
controlSessionId?: string | null;
|
|
102
|
+
projectId?: string | null;
|
|
103
|
+
targetSessionId?: string | null;
|
|
104
|
+
title?: string | null;
|
|
105
|
+
content?: string;
|
|
106
|
+
dueAt?: string | null;
|
|
107
|
+
afterSeconds?: number | string | null;
|
|
108
|
+
}
|
|
109
|
+
interface AssistantCreateAutomationBody {
|
|
110
|
+
controlSessionId?: string | null;
|
|
111
|
+
projectId?: string | null;
|
|
112
|
+
targetSessionId?: string | null;
|
|
113
|
+
title?: string | null;
|
|
114
|
+
content?: string;
|
|
115
|
+
triggerType?: "once" | "interval" | "cron" | "condition" | null;
|
|
116
|
+
dueAt?: string | null;
|
|
117
|
+
afterSeconds?: number | string | null;
|
|
118
|
+
everySeconds?: number | string | null;
|
|
119
|
+
everyMinutes?: number | string | null;
|
|
120
|
+
everyHours?: number | string | null;
|
|
121
|
+
stopAt?: string | null;
|
|
122
|
+
cronMinute?: number | string | null;
|
|
123
|
+
cronHour?: number | string | null;
|
|
124
|
+
cronDaysOfWeek?: Array<number | string> | string | null;
|
|
125
|
+
conditionKind?: "git.remote_tag_changed" | "session.runtime_idle" | null;
|
|
126
|
+
repositoryUrl?: string | null;
|
|
127
|
+
pollIntervalSeconds?: number | string | null;
|
|
128
|
+
expiresAt?: string | null;
|
|
129
|
+
maxChecks?: number | string | null;
|
|
130
|
+
conditionSessionId?: string | null;
|
|
131
|
+
includeTriggerContext?: boolean | null;
|
|
132
|
+
}
|
|
133
|
+
interface AssistantUpdateAutomationBody {
|
|
134
|
+
title?: string | null;
|
|
135
|
+
content?: string | null;
|
|
136
|
+
includeTriggerContext?: boolean | null;
|
|
137
|
+
dueAt?: string | null;
|
|
138
|
+
everySeconds?: number | string | null;
|
|
139
|
+
everyMinutes?: number | string | null;
|
|
140
|
+
everyHours?: number | string | null;
|
|
141
|
+
stopAt?: string | null;
|
|
142
|
+
cronMinute?: number | string | null;
|
|
143
|
+
cronHour?: number | string | null;
|
|
144
|
+
cronDaysOfWeek?: Array<number | string> | string | null;
|
|
145
|
+
pollIntervalSeconds?: number | string | null;
|
|
146
|
+
expiresAt?: string | null;
|
|
147
|
+
maxChecks?: number | string | null;
|
|
148
|
+
}
|
|
149
|
+
interface AssistantCreateSandboxBody {
|
|
150
|
+
title?: string | null;
|
|
151
|
+
description?: string | null;
|
|
152
|
+
purpose?: string | null;
|
|
153
|
+
expiresAt?: string | null;
|
|
154
|
+
sourceKind?: "blank" | "clone" | null;
|
|
155
|
+
repositoryUrl?: string | null;
|
|
156
|
+
directoryName?: string | null;
|
|
157
|
+
auth?: {
|
|
158
|
+
mode?: "none";
|
|
159
|
+
} | {
|
|
160
|
+
mode: "basic";
|
|
161
|
+
username?: string;
|
|
162
|
+
password?: string;
|
|
163
|
+
} | {
|
|
164
|
+
mode: "token";
|
|
165
|
+
username?: string;
|
|
166
|
+
token?: string;
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
interface AssistantPromoteSandboxBody {
|
|
170
|
+
mode?: "pin" | "project";
|
|
171
|
+
projectName?: string | null;
|
|
172
|
+
defaultProvider?: "codex" | "claude-code" | null;
|
|
173
|
+
}
|
|
174
|
+
interface AssistantCreateWorkspaceDirectoryBody {
|
|
175
|
+
parentPath?: string;
|
|
176
|
+
directoryName?: string;
|
|
177
|
+
}
|
|
178
|
+
interface AssistantImportWorkspaceBody {
|
|
179
|
+
path?: string;
|
|
180
|
+
name?: string | null;
|
|
181
|
+
}
|
|
182
|
+
interface AssistantCloneWorkspaceBody {
|
|
183
|
+
repositoryUrl?: string;
|
|
184
|
+
parentPath?: string;
|
|
185
|
+
directoryName?: string | null;
|
|
186
|
+
name?: string | null;
|
|
187
|
+
auth?: {
|
|
188
|
+
mode?: "none";
|
|
189
|
+
} | {
|
|
190
|
+
mode: "basic";
|
|
191
|
+
username?: string;
|
|
192
|
+
password?: string;
|
|
193
|
+
} | {
|
|
194
|
+
mode: "token";
|
|
195
|
+
username?: string;
|
|
196
|
+
token?: string;
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
interface AssistantReorderWorkspacesBody {
|
|
200
|
+
workspaceIds?: string[];
|
|
201
|
+
}
|
|
202
|
+
interface AssistantWorkspaceParams {
|
|
203
|
+
workspaceId: string;
|
|
204
|
+
}
|
|
205
|
+
interface AssistantWorkspaceNavigationStateBody {
|
|
206
|
+
collapsed?: unknown;
|
|
207
|
+
backgroundColor?: unknown;
|
|
208
|
+
}
|
|
209
|
+
interface AssistantCreateWorktreeBody {
|
|
210
|
+
sourceWorkspaceId?: string;
|
|
211
|
+
branchName?: string;
|
|
212
|
+
displayName?: string | null;
|
|
213
|
+
baseRef?: string | null;
|
|
214
|
+
}
|
|
215
|
+
interface AssistantWorktreeCleanupBody {
|
|
216
|
+
deleteBranch?: boolean;
|
|
217
|
+
}
|
|
218
|
+
interface AssistantAnalyzeDebugTargetBody {
|
|
219
|
+
workspaceId?: string;
|
|
220
|
+
rootPath?: string;
|
|
221
|
+
commandHints?: unknown;
|
|
222
|
+
}
|
|
223
|
+
interface AssistantDebugTargetLaunchPlanBody {
|
|
224
|
+
portRequests?: unknown;
|
|
225
|
+
}
|
|
226
|
+
interface AssistantRunDebugTargetBody extends AssistantDebugTargetLaunchPlanBody {
|
|
227
|
+
shell?: string;
|
|
228
|
+
runtimeType?: string | null;
|
|
229
|
+
}
|
|
46
230
|
export declare class AssistantCapabilityController {
|
|
47
231
|
private readonly assistantCapabilityService;
|
|
48
232
|
constructor(assistantCapabilityService: AssistantCapabilityService);
|
|
@@ -56,6 +240,13 @@ export declare class AssistantCapabilityController {
|
|
|
56
240
|
readonly listProjectSessions: (request: FastifyRequest<{
|
|
57
241
|
Params: AssistantProjectParams;
|
|
58
242
|
}>, reply: FastifyReply) => Promise<void>;
|
|
243
|
+
readonly startProjectSession: (request: FastifyRequest<{
|
|
244
|
+
Params: AssistantProjectParams;
|
|
245
|
+
Body: AssistantStartProjectSessionBody;
|
|
246
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
247
|
+
readonly startSession: (request: FastifyRequest<{
|
|
248
|
+
Body: AssistantStartSessionBody;
|
|
249
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
59
250
|
readonly getSession: (request: FastifyRequest<{
|
|
60
251
|
Params: AssistantSessionParams;
|
|
61
252
|
}>, reply: FastifyReply) => Promise<void>;
|
|
@@ -74,6 +265,59 @@ export declare class AssistantCapabilityController {
|
|
|
74
265
|
Params: AssistantSessionParams;
|
|
75
266
|
Body: AssistantForkBody;
|
|
76
267
|
}>, reply: FastifyReply) => Promise<void>;
|
|
268
|
+
readonly listTimers: (request: FastifyRequest<{
|
|
269
|
+
Querystring: AssistantTimerListQuery;
|
|
270
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
271
|
+
readonly getTimer: (request: FastifyRequest<{
|
|
272
|
+
Params: AssistantTimerParams;
|
|
273
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
274
|
+
readonly createTimer: (request: FastifyRequest<{
|
|
275
|
+
Body: AssistantCreateTimerBody;
|
|
276
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
277
|
+
readonly cancelTimer: (request: FastifyRequest<{
|
|
278
|
+
Params: AssistantTimerParams;
|
|
279
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
280
|
+
readonly listAutomations: (request: FastifyRequest<{
|
|
281
|
+
Querystring: AssistantAutomationListQuery;
|
|
282
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
283
|
+
readonly getAutomation: (request: FastifyRequest<{
|
|
284
|
+
Params: AssistantAutomationParams;
|
|
285
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
286
|
+
readonly createAutomation: (request: FastifyRequest<{
|
|
287
|
+
Body: AssistantCreateAutomationBody;
|
|
288
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
289
|
+
readonly updateAutomation: (request: FastifyRequest<{
|
|
290
|
+
Params: AssistantAutomationParams;
|
|
291
|
+
Body: AssistantUpdateAutomationBody;
|
|
292
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
293
|
+
readonly cancelAutomation: (request: FastifyRequest<{
|
|
294
|
+
Params: AssistantAutomationParams;
|
|
295
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
296
|
+
readonly skipAutomationWait: (request: FastifyRequest<{
|
|
297
|
+
Params: AssistantAutomationParams;
|
|
298
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
299
|
+
readonly listAutomationRuns: (request: FastifyRequest<{
|
|
300
|
+
Params: AssistantAutomationParams;
|
|
301
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
302
|
+
readonly listRecentAutomationRuns: (request: FastifyRequest<{
|
|
303
|
+
Querystring: AssistantAutomationRecentRunsQuery;
|
|
304
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
305
|
+
readonly listSandboxes: (request: FastifyRequest<{
|
|
306
|
+
Querystring: AssistantSandboxListQuery;
|
|
307
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
308
|
+
readonly createSandbox: (request: FastifyRequest<{
|
|
309
|
+
Body: AssistantCreateSandboxBody;
|
|
310
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
311
|
+
readonly promoteSandbox: (request: FastifyRequest<{
|
|
312
|
+
Params: AssistantSandboxParams;
|
|
313
|
+
Body: AssistantPromoteSandboxBody;
|
|
314
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
315
|
+
readonly expireSandbox: (request: FastifyRequest<{
|
|
316
|
+
Params: AssistantSandboxParams;
|
|
317
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
318
|
+
readonly removeSandbox: (request: FastifyRequest<{
|
|
319
|
+
Params: AssistantSandboxParams;
|
|
320
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
77
321
|
readonly listTerminals: (request: FastifyRequest<{
|
|
78
322
|
Querystring: AssistantTerminalListQuery;
|
|
79
323
|
}>, reply: FastifyReply) => Promise<void>;
|
|
@@ -85,5 +329,78 @@ export declare class AssistantCapabilityController {
|
|
|
85
329
|
Params: AssistantTerminalParams;
|
|
86
330
|
Body: AssistantTerminalInputBody;
|
|
87
331
|
}>, reply: FastifyReply) => Promise<void>;
|
|
332
|
+
readonly closeTerminal: (request: FastifyRequest<{
|
|
333
|
+
Params: AssistantTerminalParams;
|
|
334
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
335
|
+
readonly listWorkspaces: (_request: FastifyRequest, reply: FastifyReply) => Promise<void>;
|
|
336
|
+
readonly browseWorkspaces: (request: FastifyRequest<{
|
|
337
|
+
Querystring: AssistantWorkspaceBrowseQuery;
|
|
338
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
339
|
+
readonly createWorkspaceDirectory: (request: FastifyRequest<{
|
|
340
|
+
Body: AssistantCreateWorkspaceDirectoryBody;
|
|
341
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
342
|
+
readonly importWorkspace: (request: FastifyRequest<{
|
|
343
|
+
Body: AssistantImportWorkspaceBody;
|
|
344
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
345
|
+
readonly cloneWorkspace: (request: FastifyRequest<{
|
|
346
|
+
Body: AssistantCloneWorkspaceBody;
|
|
347
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
348
|
+
readonly reorderWorkspaces: (request: FastifyRequest<{
|
|
349
|
+
Body: AssistantReorderWorkspacesBody;
|
|
350
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
351
|
+
readonly getWorkspaceManagementSummary: (request: FastifyRequest<{
|
|
352
|
+
Params: AssistantWorkspaceParams;
|
|
353
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
354
|
+
readonly updateWorkspaceNavigationState: (request: FastifyRequest<{
|
|
355
|
+
Params: AssistantWorkspaceParams;
|
|
356
|
+
Body: AssistantWorkspaceNavigationStateBody;
|
|
357
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
358
|
+
readonly removeWorkspace: (request: FastifyRequest<{
|
|
359
|
+
Params: AssistantWorkspaceParams;
|
|
360
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
361
|
+
readonly getWorktreeTree: (request: FastifyRequest<{
|
|
362
|
+
Querystring: AssistantWorktreeTreeQuery;
|
|
363
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
364
|
+
readonly createWorktree: (request: FastifyRequest<{
|
|
365
|
+
Body: AssistantCreateWorktreeBody;
|
|
366
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
367
|
+
readonly getWorktreeMergePreview: (request: FastifyRequest<{
|
|
368
|
+
Params: AssistantWorkspaceParams;
|
|
369
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
370
|
+
readonly mergeWorktreeIntoParent: (request: FastifyRequest<{
|
|
371
|
+
Params: AssistantWorkspaceParams;
|
|
372
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
373
|
+
readonly cleanupWorktree: (request: FastifyRequest<{
|
|
374
|
+
Params: AssistantWorkspaceParams;
|
|
375
|
+
Body: AssistantWorktreeCleanupBody;
|
|
376
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
377
|
+
readonly getDebugCompatibilityMatrix: (_request: FastifyRequest, reply: FastifyReply) => Promise<void>;
|
|
378
|
+
readonly analyzeDebugTarget: (request: FastifyRequest<{
|
|
379
|
+
Body: AssistantAnalyzeDebugTargetBody;
|
|
380
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
381
|
+
readonly getDebugFrameworkAnalysis: (request: FastifyRequest<{
|
|
382
|
+
Params: AssistantDebugTargetParams;
|
|
383
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
384
|
+
readonly refreshDebugFrameworkAnalysis: (request: FastifyRequest<{
|
|
385
|
+
Params: AssistantDebugTargetParams;
|
|
386
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
387
|
+
readonly createDebugLaunchPlan: (request: FastifyRequest<{
|
|
388
|
+
Params: AssistantDebugTargetParams;
|
|
389
|
+
Body: AssistantDebugTargetLaunchPlanBody;
|
|
390
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
391
|
+
readonly runDebugTarget: (request: FastifyRequest<{
|
|
392
|
+
Params: AssistantDebugTargetParams;
|
|
393
|
+
Body: AssistantRunDebugTargetBody;
|
|
394
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
395
|
+
readonly getLatestDebugRuntime: (request: FastifyRequest<{
|
|
396
|
+
Params: AssistantDebugTargetParams;
|
|
397
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
398
|
+
readonly listDebugRuntimes: (request: FastifyRequest<{
|
|
399
|
+
Params: AssistantDebugTargetParams;
|
|
400
|
+
Querystring: AssistantDebugRuntimeHistoryQuery;
|
|
401
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
402
|
+
readonly getDebugRuntime: (request: FastifyRequest<{
|
|
403
|
+
Params: AssistantDebugRuntimeParams;
|
|
404
|
+
}>, reply: FastifyReply) => Promise<void>;
|
|
88
405
|
}
|
|
89
406
|
export {};
|