orbitmap 0.3.0 → 0.4.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/README.md +546 -212
- package/dist/adapters/cloud.d.ts +367 -0
- package/dist/adapters/cloud.js +582 -0
- package/dist/adapters/cloud.js.map +1 -0
- package/dist/adapters/factory.d.ts +15 -0
- package/dist/adapters/factory.js +31 -0
- package/dist/adapters/factory.js.map +1 -0
- package/dist/adapters/local/adapter.d.ts +351 -0
- package/dist/adapters/local/adapter.js +346 -0
- package/dist/adapters/local/adapter.js.map +1 -0
- package/dist/adapters/local/context.d.ts +112 -0
- package/dist/adapters/local/context.js +137 -0
- package/dist/adapters/local/context.js.map +1 -0
- package/dist/adapters/local/entities/documents.d.ts +85 -0
- package/dist/adapters/local/entities/documents.js +251 -0
- package/dist/adapters/local/entities/documents.js.map +1 -0
- package/dist/adapters/local/entities/planning.d.ts +108 -0
- package/dist/adapters/local/entities/planning.js +540 -0
- package/dist/adapters/local/entities/planning.js.map +1 -0
- package/dist/adapters/local/entities/tasks.d.ts +95 -0
- package/dist/adapters/local/entities/tasks.js +442 -0
- package/dist/adapters/local/entities/tasks.js.map +1 -0
- package/dist/adapters/local/entities/work-items.d.ts +110 -0
- package/dist/adapters/local/entities/work-items.js +623 -0
- package/dist/adapters/local/entities/work-items.js.map +1 -0
- package/dist/adapters/local/rules.d.ts +172 -0
- package/dist/adapters/local/rules.js +319 -0
- package/dist/adapters/local/rules.js.map +1 -0
- package/dist/adapters/local/shapes.d.ts +209 -0
- package/dist/adapters/local/shapes.js +558 -0
- package/dist/adapters/local/shapes.js.map +1 -0
- package/dist/adapters/local/store.d.ts +200 -0
- package/dist/adapters/local/store.js +665 -0
- package/dist/adapters/local/store.js.map +1 -0
- package/dist/adapters/local/types.d.ts +226 -0
- package/dist/adapters/local/types.js +41 -0
- package/dist/adapters/local/types.js.map +1 -0
- package/dist/adapters/types.d.ts +332 -0
- package/dist/adapters/types.js +2 -0
- package/dist/adapters/types.js.map +1 -0
- package/dist/agent-instructions.d.ts +25 -9
- package/dist/agent-instructions.js +285 -237
- package/dist/agent-instructions.js.map +1 -1
- package/dist/api-client.d.ts +8 -239
- package/dist/api-client.js +8 -403
- package/dist/api-client.js.map +1 -1
- package/dist/commands/agents.d.ts +1 -1
- package/dist/commands/agents.js +10 -10
- package/dist/commands/agents.js.map +1 -1
- package/dist/commands/areas.d.ts +3 -0
- package/dist/commands/areas.js +29 -0
- package/dist/commands/areas.js.map +1 -0
- package/dist/commands/assign.d.ts +3 -2
- package/dist/commands/assign.js +52 -15
- package/dist/commands/assign.js.map +1 -1
- package/dist/commands/context.d.ts +1 -1
- package/dist/commands/context.js +18 -12
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/create-area.d.ts +7 -0
- package/dist/commands/create-area.js +29 -0
- package/dist/commands/create-area.js.map +1 -0
- package/dist/commands/create.d.ts +3 -1
- package/dist/commands/create.js +5 -8
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/dep.d.ts +2 -2
- package/dist/commands/dep.js +3 -3
- package/dist/commands/dep.js.map +1 -1
- package/dist/commands/doc-import.d.ts +1 -1
- package/dist/commands/doc-import.js +2 -2
- package/dist/commands/doc-import.js.map +1 -1
- package/dist/commands/doc-patch.d.ts +1 -1
- package/dist/commands/doc-patch.js +2 -2
- package/dist/commands/doc-patch.js.map +1 -1
- package/dist/commands/doc-share.d.ts +6 -6
- package/dist/commands/doc-share.js +13 -13
- package/dist/commands/doc-share.js.map +1 -1
- package/dist/commands/doc-update.d.ts +1 -1
- package/dist/commands/doc-update.js +2 -2
- package/dist/commands/doc-update.js.map +1 -1
- package/dist/commands/doc.d.ts +1 -1
- package/dist/commands/doc.js +5 -4
- package/dist/commands/doc.js.map +1 -1
- package/dist/commands/docs-cache.d.ts +2 -2
- package/dist/commands/docs-cache.js +3 -3
- package/dist/commands/docs-cache.js.map +1 -1
- package/dist/commands/docs.d.ts +1 -1
- package/dist/commands/docs.js +2 -2
- package/dist/commands/docs.js.map +1 -1
- package/dist/commands/get.d.ts +1 -1
- package/dist/commands/get.js +43 -3
- package/dist/commands/get.js.map +1 -1
- package/dist/commands/ideas.d.ts +4 -4
- package/dist/commands/ideas.js +6 -11
- package/dist/commands/ideas.js.map +1 -1
- package/dist/commands/init.d.ts +45 -3
- package/dist/commands/init.js +452 -104
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/intent.d.ts +41 -0
- package/dist/commands/intent.js +237 -0
- package/dist/commands/intent.js.map +1 -0
- package/dist/commands/issues.d.ts +6 -5
- package/dist/commands/issues.js +8 -12
- package/dist/commands/issues.js.map +1 -1
- package/dist/commands/log.d.ts +1 -1
- package/dist/commands/log.js +2 -2
- package/dist/commands/log.js.map +1 -1
- package/dist/commands/mission.d.ts +42 -0
- package/dist/commands/mission.js +219 -0
- package/dist/commands/mission.js.map +1 -0
- package/dist/commands/orbit.d.ts +40 -3
- package/dist/commands/orbit.js +231 -58
- package/dist/commands/orbit.js.map +1 -1
- package/dist/commands/overview.d.ts +2 -2
- package/dist/commands/overview.js +25 -28
- package/dist/commands/overview.js.map +1 -1
- package/dist/commands/setup-agent.d.ts +27 -0
- package/dist/commands/setup-agent.js +85 -30
- package/dist/commands/setup-agent.js.map +1 -1
- package/dist/commands/setup-mcp.d.ts +1 -1
- package/dist/commands/setup-mcp.js +20 -49
- package/dist/commands/setup-mcp.js.map +1 -1
- package/dist/commands/start.d.ts +1 -1
- package/dist/commands/start.js +2 -2
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/status.d.ts +2 -1
- package/dist/commands/status.js +3 -3
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/subtask.d.ts +1 -1
- package/dist/commands/subtask.js +2 -2
- package/dist/commands/subtask.js.map +1 -1
- package/dist/commands/task-edit-content.d.ts +1 -1
- package/dist/commands/task-edit-content.js +2 -2
- package/dist/commands/task-edit-content.js.map +1 -1
- package/dist/commands/task.d.ts +10 -3
- package/dist/commands/task.js +19 -21
- package/dist/commands/task.js.map +1 -1
- package/dist/commands/tasks.d.ts +1 -1
- package/dist/commands/tasks.js +2 -2
- package/dist/commands/tasks.js.map +1 -1
- package/dist/commands/vibes.d.ts +4 -4
- package/dist/commands/vibes.js +5 -5
- package/dist/commands/vibes.js.map +1 -1
- package/dist/config.d.ts +69 -9
- package/dist/config.js +206 -23
- package/dist/config.js.map +1 -1
- package/dist/doc-cache.d.ts +23 -3
- package/dist/doc-cache.js +72 -12
- package/dist/doc-cache.js.map +1 -1
- package/dist/errors.d.ts +19 -2
- package/dist/errors.js +35 -0
- package/dist/errors.js.map +1 -1
- package/dist/id-resolve.d.ts +61 -0
- package/dist/id-resolve.js +87 -0
- package/dist/id-resolve.js.map +1 -0
- package/dist/index.js +477 -104
- package/dist/index.js.map +1 -1
- package/dist/mcp-config.d.ts +36 -0
- package/dist/mcp-config.js +51 -0
- package/dist/mcp-config.js.map +1 -0
- package/dist/oauth.d.ts +8 -0
- package/dist/oauth.js +54 -15
- package/dist/oauth.js.map +1 -1
- package/dist/output.js +7 -2
- package/dist/output.js.map +1 -1
- package/dist/paths.d.ts +97 -0
- package/dist/paths.js +178 -0
- package/dist/paths.js.map +1 -0
- package/dist/project-config.d.ts +75 -0
- package/dist/project-config.js +55 -0
- package/dist/project-config.js.map +1 -0
- package/dist/workspace-resolve.d.ts +158 -0
- package/dist/workspace-resolve.js +284 -0
- package/dist/workspace-resolve.js.map +1 -0
- package/package.json +53 -50
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-instructions.js","sourceRoot":"","sources":["../src/agent-instructions.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,EAAE;AACF,2DAA2D;AAC3D,oFAAoF;AACpF,oFAAoF;AACpF,oFAAoF;AACpF,+EAA+E;AAC/E,iFAAiF;AACjF,
|
|
1
|
+
{"version":3,"file":"agent-instructions.js","sourceRoot":"","sources":["../src/agent-instructions.ts"],"names":[],"mappings":"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"}
|
package/dist/api-client.d.ts
CHANGED
|
@@ -1,239 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
status?: string;
|
|
10
|
-
priority?: string;
|
|
11
|
-
projectId?: string;
|
|
12
|
-
orbit?: string;
|
|
13
|
-
}): Promise<unknown>;
|
|
14
|
-
getTask(taskId: string): Promise<unknown>;
|
|
15
|
-
getTaskByNumber(taskNumber: string): Promise<unknown>;
|
|
16
|
-
startTask(taskId?: string): Promise<unknown>;
|
|
17
|
-
updateTaskStatus(taskId: string, status?: string, deliveryStatus?: string | null): Promise<unknown>;
|
|
18
|
-
createSubtasks(parentId: string, subtasks: Array<{
|
|
19
|
-
title: string;
|
|
20
|
-
description?: string;
|
|
21
|
-
priority?: string;
|
|
22
|
-
estimated_effort?: string;
|
|
23
|
-
}>): Promise<unknown>;
|
|
24
|
-
createTask(data: {
|
|
25
|
-
title: string;
|
|
26
|
-
description?: string;
|
|
27
|
-
status?: string;
|
|
28
|
-
priority?: string;
|
|
29
|
-
agent_instructions?: string;
|
|
30
|
-
branch_name?: string;
|
|
31
|
-
estimated_effort?: string;
|
|
32
|
-
agent_id?: string;
|
|
33
|
-
project_id?: string;
|
|
34
|
-
source_issue_id?: string;
|
|
35
|
-
}): Promise<unknown>;
|
|
36
|
-
assignTask(taskId: string, assignment: {
|
|
37
|
-
agent_id: string;
|
|
38
|
-
} | {
|
|
39
|
-
user_id: number;
|
|
40
|
-
}): Promise<unknown>;
|
|
41
|
-
editTaskContent(taskId: string, data: {
|
|
42
|
-
title?: string;
|
|
43
|
-
description?: string;
|
|
44
|
-
agent_instructions?: string;
|
|
45
|
-
}): Promise<unknown>;
|
|
46
|
-
addTaskDependency(taskId: string, data: {
|
|
47
|
-
target_task_id: string;
|
|
48
|
-
type?: string;
|
|
49
|
-
note?: string;
|
|
50
|
-
}): Promise<unknown>;
|
|
51
|
-
removeTaskDependency(taskId: string, targetTaskId: string, type?: string): Promise<unknown>;
|
|
52
|
-
logWork(taskId: string, type: string, content: string, metadata?: Record<string, unknown>): Promise<unknown>;
|
|
53
|
-
getDocuments(options?: {
|
|
54
|
-
type?: string;
|
|
55
|
-
search?: string;
|
|
56
|
-
projectId?: string;
|
|
57
|
-
}): Promise<unknown>;
|
|
58
|
-
getDocument(idOrSlug: string, mode?: 'inline' | 'file', options?: {
|
|
59
|
-
full?: boolean;
|
|
60
|
-
section?: string;
|
|
61
|
-
}): Promise<unknown>;
|
|
62
|
-
importDocument(data: {
|
|
63
|
-
title: string;
|
|
64
|
-
type: string;
|
|
65
|
-
content: string;
|
|
66
|
-
source_path?: string;
|
|
67
|
-
context?: string;
|
|
68
|
-
workspace_id?: string;
|
|
69
|
-
}): Promise<unknown>;
|
|
70
|
-
updateDocument(idOrSlug: string, content: string, changelog?: string): Promise<unknown>;
|
|
71
|
-
patchDocument(idOrSlug: string, operations: Array<Record<string, unknown>>, baseVersion: number, changelog?: string): Promise<unknown>;
|
|
72
|
-
requestUploadUrl(data: {
|
|
73
|
-
title: string;
|
|
74
|
-
type: string;
|
|
75
|
-
filename?: string;
|
|
76
|
-
source_path?: string;
|
|
77
|
-
context?: string;
|
|
78
|
-
workspace_id?: string;
|
|
79
|
-
}): Promise<{
|
|
80
|
-
data: {
|
|
81
|
-
upload_id: string;
|
|
82
|
-
document_id: string;
|
|
83
|
-
presigned_url: string;
|
|
84
|
-
storage_path: string;
|
|
85
|
-
expires_at: string;
|
|
86
|
-
};
|
|
87
|
-
}>;
|
|
88
|
-
confirmUpload(uploadId: string): Promise<{
|
|
89
|
-
data: {
|
|
90
|
-
document_id: string;
|
|
91
|
-
slug: string;
|
|
92
|
-
imported: boolean;
|
|
93
|
-
};
|
|
94
|
-
}>;
|
|
95
|
-
requestUpdateUploadUrl(idOrSlug: string, changelog?: string): Promise<{
|
|
96
|
-
data: {
|
|
97
|
-
upload_id: string;
|
|
98
|
-
document_id: string;
|
|
99
|
-
version: number;
|
|
100
|
-
presigned_url: string;
|
|
101
|
-
storage_path: string;
|
|
102
|
-
expires_at: string;
|
|
103
|
-
};
|
|
104
|
-
}>;
|
|
105
|
-
confirmUpdateUpload(idOrSlug: string, uploadId: string): Promise<{
|
|
106
|
-
data: {
|
|
107
|
-
document_id: string;
|
|
108
|
-
version: number;
|
|
109
|
-
updated: boolean;
|
|
110
|
-
};
|
|
111
|
-
}>;
|
|
112
|
-
uploadToPresignedUrl(presignedUrl: string, filePath: string, onProgress?: (bytesUploaded: number, totalBytes: number) => void): Promise<void>;
|
|
113
|
-
/**
|
|
114
|
-
* Attempts presigned URL upload for a new document.
|
|
115
|
-
* Returns null if the endpoint is not available (404), signaling caller to fall back.
|
|
116
|
-
*/
|
|
117
|
-
presignedImport(filePath: string, data: {
|
|
118
|
-
title: string;
|
|
119
|
-
type: string;
|
|
120
|
-
source_path?: string;
|
|
121
|
-
context?: string;
|
|
122
|
-
workspace_id?: string;
|
|
123
|
-
}, onProgress?: (bytesUploaded: number, totalBytes: number) => void): Promise<{
|
|
124
|
-
data: {
|
|
125
|
-
document_id: string;
|
|
126
|
-
slug: string;
|
|
127
|
-
imported: boolean;
|
|
128
|
-
};
|
|
129
|
-
upload_method: string;
|
|
130
|
-
} | null>;
|
|
131
|
-
/**
|
|
132
|
-
* Attempts presigned URL upload for updating a document.
|
|
133
|
-
* Returns null if the endpoint is not available (404), signaling caller to fall back.
|
|
134
|
-
*/
|
|
135
|
-
presignedUpdate(idOrSlug: string, filePath: string, changelog?: string, onProgress?: (bytesUploaded: number, totalBytes: number) => void): Promise<{
|
|
136
|
-
data: {
|
|
137
|
-
document_id: string;
|
|
138
|
-
version: number;
|
|
139
|
-
updated: boolean;
|
|
140
|
-
};
|
|
141
|
-
upload_method: string;
|
|
142
|
-
} | null>;
|
|
143
|
-
shareDocument(documentId: string, projectId: string, agentIds?: string[]): Promise<unknown>;
|
|
144
|
-
unshareDocument(documentId: string, projectId: string): Promise<unknown>;
|
|
145
|
-
setDocumentVisibility(documentId: string, projectId: string, agentIds: string[]): Promise<unknown>;
|
|
146
|
-
getProjects(): Promise<unknown>;
|
|
147
|
-
getProjectMembers(projectId: string): Promise<unknown>;
|
|
148
|
-
getProjectOverview(projectId: string): Promise<unknown>;
|
|
149
|
-
createProject(data: {
|
|
150
|
-
name: string;
|
|
151
|
-
description?: string;
|
|
152
|
-
slug?: string;
|
|
153
|
-
}): Promise<unknown>;
|
|
154
|
-
registerIssue(data: {
|
|
155
|
-
title: string;
|
|
156
|
-
description: string;
|
|
157
|
-
severity?: string;
|
|
158
|
-
related_task_id?: string;
|
|
159
|
-
}): Promise<unknown>;
|
|
160
|
-
listIssues(options?: {
|
|
161
|
-
status?: string;
|
|
162
|
-
severity?: string;
|
|
163
|
-
limit?: string;
|
|
164
|
-
}): Promise<unknown>;
|
|
165
|
-
getIssue(idOrNumber: string): Promise<unknown>;
|
|
166
|
-
getIssueByNumber(issueNumber: string): Promise<unknown>;
|
|
167
|
-
resolveIssueByNumber(issueNumber: string, data: {
|
|
168
|
-
status: string;
|
|
169
|
-
resolution?: string;
|
|
170
|
-
resolved_by_task_id?: string;
|
|
171
|
-
}): Promise<unknown>;
|
|
172
|
-
resolveIssue(idOrNumber: string, data: {
|
|
173
|
-
status: string;
|
|
174
|
-
resolution?: string;
|
|
175
|
-
resolved_by_task_id?: string;
|
|
176
|
-
}): Promise<unknown>;
|
|
177
|
-
updateIssueStatus(idOrNumber: string, data: {
|
|
178
|
-
status: string;
|
|
179
|
-
resolution?: string;
|
|
180
|
-
resolved_task_id?: string;
|
|
181
|
-
}): Promise<unknown>;
|
|
182
|
-
updateIssueStatusByNumber(issueNumber: string, data: {
|
|
183
|
-
status: string;
|
|
184
|
-
resolution?: string;
|
|
185
|
-
resolved_task_id?: string;
|
|
186
|
-
}): Promise<unknown>;
|
|
187
|
-
logVibe(data: {
|
|
188
|
-
content: string;
|
|
189
|
-
type: string;
|
|
190
|
-
title?: string;
|
|
191
|
-
task_id?: string;
|
|
192
|
-
}): Promise<unknown>;
|
|
193
|
-
listVibes(options?: {
|
|
194
|
-
type?: string;
|
|
195
|
-
since?: string;
|
|
196
|
-
limit?: string;
|
|
197
|
-
}): Promise<unknown>;
|
|
198
|
-
getVibe(id: string): Promise<unknown>;
|
|
199
|
-
updateVibe(id: string, data: {
|
|
200
|
-
type?: string;
|
|
201
|
-
title?: string;
|
|
202
|
-
content?: string;
|
|
203
|
-
metadata?: Record<string, unknown>;
|
|
204
|
-
}): Promise<unknown>;
|
|
205
|
-
listIdeas(options?: {
|
|
206
|
-
status?: string;
|
|
207
|
-
priority?: string;
|
|
208
|
-
limit?: string;
|
|
209
|
-
}): Promise<unknown>;
|
|
210
|
-
getIdea(idOrNumber: string): Promise<unknown>;
|
|
211
|
-
getIdeaByNumber(ideaNumber: string): Promise<unknown>;
|
|
212
|
-
createIdea(data: {
|
|
213
|
-
content: string;
|
|
214
|
-
title?: string;
|
|
215
|
-
priority?: string;
|
|
216
|
-
metadata?: Record<string, unknown>;
|
|
217
|
-
}): Promise<unknown>;
|
|
218
|
-
updateIdeaStatus(idOrNumber: string, data: {
|
|
219
|
-
status: string;
|
|
220
|
-
}): Promise<unknown>;
|
|
221
|
-
updateIdeaStatusByNumber(ideaNumber: string, data: {
|
|
222
|
-
status: string;
|
|
223
|
-
}): Promise<unknown>;
|
|
224
|
-
getOrbitItems(orbitIdOrSlug: string, options?: {
|
|
225
|
-
type?: string;
|
|
226
|
-
}): Promise<unknown>;
|
|
227
|
-
orbitAttach(orbitIdOrSlug: string, data: {
|
|
228
|
-
item_type: string;
|
|
229
|
-
item_id: string;
|
|
230
|
-
note?: string;
|
|
231
|
-
}): Promise<unknown>;
|
|
232
|
-
orbitDetach(orbitIdOrSlug: string, data: {
|
|
233
|
-
item_type: string;
|
|
234
|
-
item_id: string;
|
|
235
|
-
}): Promise<unknown>;
|
|
236
|
-
getWorkPrompt(): Promise<unknown>;
|
|
237
|
-
getImportDocsPrompt(): Promise<unknown>;
|
|
238
|
-
}
|
|
239
|
-
export declare function createClient(explicitProjectId?: string): Promise<OrbitMapClient>;
|
|
1
|
+
/**
|
|
2
|
+
* Compatibility shim.
|
|
3
|
+
*
|
|
4
|
+
* The API client now lives in `src/adapters/cloud.ts` as `CloudAdapter`
|
|
5
|
+
* (re-exported here under its historical name `OrbitMapClient`). New code
|
|
6
|
+
* should import `createAdapter` from `./adapters/factory.js` instead.
|
|
7
|
+
*/
|
|
8
|
+
export * from './adapters/cloud.js';
|
package/dist/api-client.js
CHANGED
|
@@ -1,404 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
constructor(apiKey, projectId, apiUrl) {
|
|
10
|
-
this.apiKey = apiKey;
|
|
11
|
-
this.projectId = projectId;
|
|
12
|
-
this.baseUrl = (apiUrl ?? 'https://orbitmap.app/api/agent').replace(/\/$/, '');
|
|
13
|
-
}
|
|
14
|
-
async request(method, path, options) {
|
|
15
|
-
const url = new URL(`${this.baseUrl}${path}`);
|
|
16
|
-
if (options?.params) {
|
|
17
|
-
for (const [key, value] of Object.entries(options.params)) {
|
|
18
|
-
if (value !== undefined) {
|
|
19
|
-
url.searchParams.set(key, value);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
const headers = {
|
|
24
|
-
Authorization: `Bearer ${this.apiKey}`,
|
|
25
|
-
Accept: 'application/json',
|
|
26
|
-
};
|
|
27
|
-
if (this.projectId) {
|
|
28
|
-
headers['X-OrbitMap-Project'] = this.projectId;
|
|
29
|
-
}
|
|
30
|
-
if (options?.body !== undefined) {
|
|
31
|
-
headers['Content-Type'] = 'application/json';
|
|
32
|
-
}
|
|
33
|
-
const controller = new AbortController();
|
|
34
|
-
const timeout = setTimeout(() => controller.abort(), 30_000);
|
|
35
|
-
try {
|
|
36
|
-
const response = await fetch(url.toString(), {
|
|
37
|
-
method,
|
|
38
|
-
headers,
|
|
39
|
-
body: options?.body !== undefined ? JSON.stringify(options.body) : undefined,
|
|
40
|
-
signal: controller.signal,
|
|
41
|
-
});
|
|
42
|
-
// Handle 204 No Content — no body to parse
|
|
43
|
-
if (response.status === 204) {
|
|
44
|
-
return undefined;
|
|
45
|
-
}
|
|
46
|
-
const text = await response.text();
|
|
47
|
-
let json;
|
|
48
|
-
try {
|
|
49
|
-
json = JSON.parse(text);
|
|
50
|
-
}
|
|
51
|
-
catch {
|
|
52
|
-
if (!response.ok) {
|
|
53
|
-
throw new OrbitMapAPIError(`HTTP ${response.status}: ${text}`, 'HTTP_ERROR', response.status);
|
|
54
|
-
}
|
|
55
|
-
throw new OrbitMapAPIError('Invalid JSON response from API', 'PARSE_ERROR', response.status);
|
|
56
|
-
}
|
|
57
|
-
if (!response.ok) {
|
|
58
|
-
if (OrbitMapAPIError.isApiErrorBody(json)) {
|
|
59
|
-
throw OrbitMapAPIError.fromResponse(json);
|
|
60
|
-
}
|
|
61
|
-
throw new OrbitMapAPIError(`HTTP ${response.status}`, 'HTTP_ERROR', response.status);
|
|
62
|
-
}
|
|
63
|
-
return json;
|
|
64
|
-
}
|
|
65
|
-
catch (error) {
|
|
66
|
-
if (error instanceof OrbitMapAPIError)
|
|
67
|
-
throw error;
|
|
68
|
-
if (error instanceof DOMException && error.name === 'AbortError') {
|
|
69
|
-
throw new OrbitMapAPIError('Request timed out after 30s', 'TIMEOUT', 0);
|
|
70
|
-
}
|
|
71
|
-
throw error;
|
|
72
|
-
}
|
|
73
|
-
finally {
|
|
74
|
-
clearTimeout(timeout);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
// ── Context ──
|
|
78
|
-
async getContext(projectId) {
|
|
79
|
-
return this.request('GET', '/context', {
|
|
80
|
-
params: { project_id: projectId },
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
// ── Tasks ──
|
|
84
|
-
async getTasks(options) {
|
|
85
|
-
return this.request('GET', '/tasks', {
|
|
86
|
-
params: {
|
|
87
|
-
status: options?.status,
|
|
88
|
-
priority: options?.priority,
|
|
89
|
-
project_id: options?.projectId,
|
|
90
|
-
orbit_id: options?.orbit,
|
|
91
|
-
},
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
async getTask(taskId) {
|
|
95
|
-
return this.request('GET', `/tasks/${taskId}`);
|
|
96
|
-
}
|
|
97
|
-
async getTaskByNumber(taskNumber) {
|
|
98
|
-
return this.request('GET', `/tasks/by-number/${taskNumber}`);
|
|
99
|
-
}
|
|
100
|
-
async startTask(taskId) {
|
|
101
|
-
if (taskId) {
|
|
102
|
-
return this.request('POST', `/tasks/${taskId}/start`);
|
|
103
|
-
}
|
|
104
|
-
return this.request('POST', '/tasks/start');
|
|
105
|
-
}
|
|
106
|
-
async updateTaskStatus(taskId, status, deliveryStatus) {
|
|
107
|
-
const body = {};
|
|
108
|
-
if (status !== undefined)
|
|
109
|
-
body.status = status;
|
|
110
|
-
if (deliveryStatus !== undefined)
|
|
111
|
-
body.delivery_status = deliveryStatus;
|
|
112
|
-
return this.request('PATCH', `/tasks/${taskId}/status`, { body });
|
|
113
|
-
}
|
|
114
|
-
async createSubtasks(parentId, subtasks) {
|
|
115
|
-
return this.request('POST', `/tasks/${parentId}/subtasks`, {
|
|
116
|
-
body: { subtasks },
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
async createTask(data) {
|
|
120
|
-
return this.request('POST', '/tasks', { body: data });
|
|
121
|
-
}
|
|
122
|
-
async assignTask(taskId, assignment) {
|
|
123
|
-
return this.request('PATCH', `/tasks/${taskId}/assign`, {
|
|
124
|
-
body: assignment,
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
async editTaskContent(taskId, data) {
|
|
128
|
-
return this.request('PATCH', `/tasks/${taskId}/content`, {
|
|
129
|
-
body: data,
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
// ── Task Dependencies ──
|
|
133
|
-
async addTaskDependency(taskId, data) {
|
|
134
|
-
return this.request('POST', `/tasks/${taskId}/dependencies`, { body: data });
|
|
135
|
-
}
|
|
136
|
-
async removeTaskDependency(taskId, targetTaskId, type) {
|
|
137
|
-
return this.request('DELETE', `/tasks/${taskId}/dependencies/${targetTaskId}`, {
|
|
138
|
-
params: { type },
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
// ── Logs ──
|
|
142
|
-
async logWork(taskId, type, content, metadata) {
|
|
143
|
-
return this.request('POST', `/tasks/${taskId}/logs`, {
|
|
144
|
-
body: { type, content, metadata },
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
// ── Documents ──
|
|
148
|
-
async getDocuments(options) {
|
|
149
|
-
return this.request('GET', '/documents', {
|
|
150
|
-
params: {
|
|
151
|
-
type: options?.type,
|
|
152
|
-
search: options?.search,
|
|
153
|
-
project_id: options?.projectId,
|
|
154
|
-
},
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
async getDocument(idOrSlug, mode, options) {
|
|
158
|
-
return this.request('GET', `/documents/${idOrSlug}`, {
|
|
159
|
-
params: {
|
|
160
|
-
mode,
|
|
161
|
-
full: options?.full ? 'true' : undefined,
|
|
162
|
-
section: options?.section,
|
|
163
|
-
},
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
async importDocument(data) {
|
|
167
|
-
return this.request('POST', '/documents', { body: data });
|
|
168
|
-
}
|
|
169
|
-
async updateDocument(idOrSlug, content, changelog) {
|
|
170
|
-
return this.request('PUT', `/documents/${idOrSlug}`, {
|
|
171
|
-
body: { content, changelog },
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
async patchDocument(idOrSlug, operations, baseVersion, changelog) {
|
|
175
|
-
return this.request('PATCH', `/documents/${idOrSlug}`, {
|
|
176
|
-
body: { base_version: baseVersion, operations, changelog },
|
|
177
|
-
});
|
|
178
|
-
}
|
|
179
|
-
// ── Presigned URL upload ──
|
|
180
|
-
async requestUploadUrl(data) {
|
|
181
|
-
return this.request('POST', '/documents/upload-url', { body: data });
|
|
182
|
-
}
|
|
183
|
-
async confirmUpload(uploadId) {
|
|
184
|
-
return this.request('POST', '/documents/confirm-upload', {
|
|
185
|
-
body: { upload_id: uploadId },
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
async requestUpdateUploadUrl(idOrSlug, changelog) {
|
|
189
|
-
return this.request('POST', `/documents/${idOrSlug}/upload-url`, {
|
|
190
|
-
body: changelog ? { changelog } : {},
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
async confirmUpdateUpload(idOrSlug, uploadId) {
|
|
194
|
-
return this.request('POST', `/documents/${idOrSlug}/confirm-upload`, {
|
|
195
|
-
body: { upload_id: uploadId },
|
|
196
|
-
});
|
|
197
|
-
}
|
|
198
|
-
async uploadToPresignedUrl(presignedUrl, filePath, onProgress) {
|
|
199
|
-
const stat = statSync(filePath);
|
|
200
|
-
const totalBytes = stat.size;
|
|
201
|
-
const ext = extname(filePath).toLowerCase();
|
|
202
|
-
const contentType = ext === '.md' ? 'text/markdown' : 'application/octet-stream';
|
|
203
|
-
const stream = createReadStream(filePath);
|
|
204
|
-
// Collect chunks for progress tracking and body assembly
|
|
205
|
-
const chunks = [];
|
|
206
|
-
let bytesRead = 0;
|
|
207
|
-
for await (const chunk of stream) {
|
|
208
|
-
const buf = Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk);
|
|
209
|
-
chunks.push(buf);
|
|
210
|
-
bytesRead += buf.length;
|
|
211
|
-
onProgress?.(bytesRead, totalBytes);
|
|
212
|
-
}
|
|
213
|
-
const body = Buffer.concat(chunks);
|
|
214
|
-
const response = await fetch(presignedUrl, {
|
|
215
|
-
method: 'PUT',
|
|
216
|
-
headers: {
|
|
217
|
-
'Content-Type': contentType,
|
|
218
|
-
'Content-Length': String(totalBytes),
|
|
219
|
-
},
|
|
220
|
-
body,
|
|
221
|
-
});
|
|
222
|
-
if (!response.ok) {
|
|
223
|
-
const text = await response.text();
|
|
224
|
-
throw new OrbitMapAPIError(`R2 upload failed: HTTP ${response.status} — ${text.slice(0, 200)}`, 'UPLOAD_FAILED', response.status);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
/**
|
|
228
|
-
* Attempts presigned URL upload for a new document.
|
|
229
|
-
* Returns null if the endpoint is not available (404), signaling caller to fall back.
|
|
230
|
-
*/
|
|
231
|
-
async presignedImport(filePath, data, onProgress) {
|
|
232
|
-
let uploadResponse;
|
|
233
|
-
try {
|
|
234
|
-
uploadResponse = await this.requestUploadUrl({
|
|
235
|
-
title: data.title,
|
|
236
|
-
type: data.type,
|
|
237
|
-
filename: basename(filePath),
|
|
238
|
-
source_path: data.source_path,
|
|
239
|
-
context: data.context,
|
|
240
|
-
workspace_id: data.workspace_id,
|
|
241
|
-
});
|
|
242
|
-
}
|
|
243
|
-
catch (err) {
|
|
244
|
-
if (err instanceof OrbitMapAPIError && err.status === 404) {
|
|
245
|
-
return null; // endpoint not available — fallback
|
|
246
|
-
}
|
|
247
|
-
throw err;
|
|
248
|
-
}
|
|
249
|
-
await this.uploadToPresignedUrl(uploadResponse.data.presigned_url, filePath, onProgress);
|
|
250
|
-
const confirmed = await this.confirmUpload(uploadResponse.data.upload_id);
|
|
251
|
-
return { data: confirmed.data, upload_method: 'presigned' };
|
|
252
|
-
}
|
|
253
|
-
/**
|
|
254
|
-
* Attempts presigned URL upload for updating a document.
|
|
255
|
-
* Returns null if the endpoint is not available (404), signaling caller to fall back.
|
|
256
|
-
*/
|
|
257
|
-
async presignedUpdate(idOrSlug, filePath, changelog, onProgress) {
|
|
258
|
-
let uploadResponse;
|
|
259
|
-
try {
|
|
260
|
-
uploadResponse = await this.requestUpdateUploadUrl(idOrSlug, changelog);
|
|
261
|
-
}
|
|
262
|
-
catch (err) {
|
|
263
|
-
if (err instanceof OrbitMapAPIError && err.status === 404) {
|
|
264
|
-
return null; // endpoint not available — fallback
|
|
265
|
-
}
|
|
266
|
-
throw err;
|
|
267
|
-
}
|
|
268
|
-
await this.uploadToPresignedUrl(uploadResponse.data.presigned_url, filePath, onProgress);
|
|
269
|
-
const confirmed = await this.confirmUpdateUpload(idOrSlug, uploadResponse.data.upload_id);
|
|
270
|
-
return { data: confirmed.data, upload_method: 'presigned' };
|
|
271
|
-
}
|
|
272
|
-
// ── Document sharing ──
|
|
273
|
-
async shareDocument(documentId, projectId, agentIds) {
|
|
274
|
-
return this.request('POST', `/documents/${documentId}/share`, {
|
|
275
|
-
body: { project_id: projectId, agent_ids: agentIds },
|
|
276
|
-
});
|
|
277
|
-
}
|
|
278
|
-
async unshareDocument(documentId, projectId) {
|
|
279
|
-
return this.request('DELETE', `/documents/${documentId}/share/${projectId}`);
|
|
280
|
-
}
|
|
281
|
-
async setDocumentVisibility(documentId, projectId, agentIds) {
|
|
282
|
-
return this.request('PUT', `/documents/${documentId}/share/${projectId}/visibility`, { body: { agent_ids: agentIds } });
|
|
283
|
-
}
|
|
284
|
-
// ── Projects ──
|
|
285
|
-
async getProjects() {
|
|
286
|
-
return this.request('GET', '/projects');
|
|
287
|
-
}
|
|
288
|
-
async getProjectMembers(projectId) {
|
|
289
|
-
return this.request('GET', `/projects/${projectId}/members`);
|
|
290
|
-
}
|
|
291
|
-
async getProjectOverview(projectId) {
|
|
292
|
-
return this.request('GET', `/projects/${projectId}/overview`);
|
|
293
|
-
}
|
|
294
|
-
async createProject(data) {
|
|
295
|
-
return this.request('POST', '/projects', { body: data });
|
|
296
|
-
}
|
|
297
|
-
// ── Issues ──
|
|
298
|
-
async registerIssue(data) {
|
|
299
|
-
return this.request('POST', '/issues', { body: data });
|
|
300
|
-
}
|
|
301
|
-
async listIssues(options) {
|
|
302
|
-
return this.request('GET', '/issues', {
|
|
303
|
-
params: {
|
|
304
|
-
status: options?.status,
|
|
305
|
-
severity: options?.severity,
|
|
306
|
-
limit: options?.limit,
|
|
307
|
-
},
|
|
308
|
-
});
|
|
309
|
-
}
|
|
310
|
-
async getIssue(idOrNumber) {
|
|
311
|
-
return this.request('GET', `/issues/${idOrNumber}`);
|
|
312
|
-
}
|
|
313
|
-
async getIssueByNumber(issueNumber) {
|
|
314
|
-
return this.request('GET', `/issues/by-number/${issueNumber}`);
|
|
315
|
-
}
|
|
316
|
-
async resolveIssueByNumber(issueNumber, data) {
|
|
317
|
-
return this.request('PATCH', `/issues/by-number/${issueNumber}/resolve`, {
|
|
318
|
-
body: data,
|
|
319
|
-
});
|
|
320
|
-
}
|
|
321
|
-
async resolveIssue(idOrNumber, data) {
|
|
322
|
-
return this.request('PATCH', `/issues/${idOrNumber}/resolve`, {
|
|
323
|
-
body: data,
|
|
324
|
-
});
|
|
325
|
-
}
|
|
326
|
-
async updateIssueStatus(idOrNumber, data) {
|
|
327
|
-
return this.request('PATCH', `/issues/${idOrNumber}/status`, {
|
|
328
|
-
body: data,
|
|
329
|
-
});
|
|
330
|
-
}
|
|
331
|
-
async updateIssueStatusByNumber(issueNumber, data) {
|
|
332
|
-
return this.request('PATCH', `/issues/by-number/${issueNumber}/status`, {
|
|
333
|
-
body: data,
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
|
-
// ── Vibes ──
|
|
337
|
-
async logVibe(data) {
|
|
338
|
-
return this.request('POST', '/vibes', { body: data });
|
|
339
|
-
}
|
|
340
|
-
async listVibes(options) {
|
|
341
|
-
return this.request('GET', '/vibes', {
|
|
342
|
-
params: {
|
|
343
|
-
type: options?.type,
|
|
344
|
-
since: options?.since,
|
|
345
|
-
limit: options?.limit,
|
|
346
|
-
},
|
|
347
|
-
});
|
|
348
|
-
}
|
|
349
|
-
async getVibe(id) {
|
|
350
|
-
return this.request('GET', `/vibes/${id}`);
|
|
351
|
-
}
|
|
352
|
-
async updateVibe(id, data) {
|
|
353
|
-
return this.request('PATCH', `/vibes/${id}`, { body: data });
|
|
354
|
-
}
|
|
355
|
-
// ── Ideas ──
|
|
356
|
-
async listIdeas(options) {
|
|
357
|
-
return this.request('GET', '/ideas', {
|
|
358
|
-
params: { status: options?.status, priority: options?.priority, limit: options?.limit },
|
|
359
|
-
});
|
|
360
|
-
}
|
|
361
|
-
async getIdea(idOrNumber) {
|
|
362
|
-
return this.request('GET', `/ideas/${idOrNumber}`);
|
|
363
|
-
}
|
|
364
|
-
async getIdeaByNumber(ideaNumber) {
|
|
365
|
-
return this.request('GET', `/ideas/by-number/${ideaNumber}`);
|
|
366
|
-
}
|
|
367
|
-
async createIdea(data) {
|
|
368
|
-
return this.request('POST', '/ideas', { body: data });
|
|
369
|
-
}
|
|
370
|
-
async updateIdeaStatus(idOrNumber, data) {
|
|
371
|
-
return this.request('PATCH', `/ideas/${idOrNumber}/status`, { body: data });
|
|
372
|
-
}
|
|
373
|
-
async updateIdeaStatusByNumber(ideaNumber, data) {
|
|
374
|
-
return this.request('PATCH', `/ideas/by-number/${ideaNumber}/status`, { body: data });
|
|
375
|
-
}
|
|
376
|
-
// ── Orbits ──
|
|
377
|
-
async getOrbitItems(orbitIdOrSlug, options) {
|
|
378
|
-
return this.request('GET', `/orbits/${orbitIdOrSlug}/items`, {
|
|
379
|
-
params: { type: options?.type },
|
|
380
|
-
});
|
|
381
|
-
}
|
|
382
|
-
async orbitAttach(orbitIdOrSlug, data) {
|
|
383
|
-
return this.request('POST', `/orbits/${orbitIdOrSlug}/items`, {
|
|
384
|
-
body: { action: 'attach', ...data },
|
|
385
|
-
});
|
|
386
|
-
}
|
|
387
|
-
async orbitDetach(orbitIdOrSlug, data) {
|
|
388
|
-
return this.request('POST', `/orbits/${orbitIdOrSlug}/items`, {
|
|
389
|
-
body: { action: 'detach', ...data },
|
|
390
|
-
});
|
|
391
|
-
}
|
|
392
|
-
// ── Prompts ──
|
|
393
|
-
async getWorkPrompt() {
|
|
394
|
-
return this.request('GET', '/prompts/work-on-next-task');
|
|
395
|
-
}
|
|
396
|
-
async getImportDocsPrompt() {
|
|
397
|
-
return this.request('GET', '/prompts/import-docs');
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
export async function createClient(explicitProjectId) {
|
|
401
|
-
const auth = await resolveAuth();
|
|
402
|
-
return new OrbitMapClient(auth.apiKey, explicitProjectId ?? auth.projectId, auth.apiUrl);
|
|
403
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Compatibility shim.
|
|
3
|
+
*
|
|
4
|
+
* The API client now lives in `src/adapters/cloud.ts` as `CloudAdapter`
|
|
5
|
+
* (re-exported here under its historical name `OrbitMapClient`). New code
|
|
6
|
+
* should import `createAdapter` from `./adapters/factory.js` instead.
|
|
7
|
+
*/
|
|
8
|
+
export * from './adapters/cloud.js';
|
|
404
9
|
//# sourceMappingURL=api-client.js.map
|