orbitmap 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.
Files changed (114) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +200 -0
  3. package/dist/api-client.d.ts +234 -0
  4. package/dist/api-client.js +401 -0
  5. package/dist/api-client.js.map +1 -0
  6. package/dist/commands/agents.d.ts +3 -0
  7. package/dist/commands/agents.js +44 -0
  8. package/dist/commands/agents.js.map +1 -0
  9. package/dist/commands/assign.d.ts +5 -0
  10. package/dist/commands/assign.js +44 -0
  11. package/dist/commands/assign.js.map +1 -0
  12. package/dist/commands/context.d.ts +4 -0
  13. package/dist/commands/context.js +37 -0
  14. package/dist/commands/context.js.map +1 -0
  15. package/dist/commands/create.d.ts +12 -0
  16. package/dist/commands/create.js +54 -0
  17. package/dist/commands/create.js.map +1 -0
  18. package/dist/commands/dep.d.ts +11 -0
  19. package/dist/commands/dep.js +56 -0
  20. package/dist/commands/dep.js.map +1 -0
  21. package/dist/commands/doc-import.d.ts +9 -0
  22. package/dist/commands/doc-import.js +97 -0
  23. package/dist/commands/doc-import.js.map +1 -0
  24. package/dist/commands/doc-patch.d.ts +16 -0
  25. package/dist/commands/doc-patch.js +142 -0
  26. package/dist/commands/doc-patch.js.map +1 -0
  27. package/dist/commands/doc-share.d.ts +14 -0
  28. package/dist/commands/doc-share.js +60 -0
  29. package/dist/commands/doc-share.js.map +1 -0
  30. package/dist/commands/doc-update.d.ts +6 -0
  31. package/dist/commands/doc-update.js +64 -0
  32. package/dist/commands/doc-update.js.map +1 -0
  33. package/dist/commands/doc.d.ts +6 -0
  34. package/dist/commands/doc.js +108 -0
  35. package/dist/commands/doc.js.map +1 -0
  36. package/dist/commands/docs-cache.d.ts +11 -0
  37. package/dist/commands/docs-cache.js +119 -0
  38. package/dist/commands/docs-cache.js.map +1 -0
  39. package/dist/commands/docs.d.ts +6 -0
  40. package/dist/commands/docs.js +35 -0
  41. package/dist/commands/docs.js.map +1 -0
  42. package/dist/commands/get.d.ts +8 -0
  43. package/dist/commands/get.js +102 -0
  44. package/dist/commands/get.js.map +1 -0
  45. package/dist/commands/ideas.d.ts +23 -0
  46. package/dist/commands/ideas.js +155 -0
  47. package/dist/commands/ideas.js.map +1 -0
  48. package/dist/commands/init.d.ts +7 -0
  49. package/dist/commands/init.js +175 -0
  50. package/dist/commands/init.js.map +1 -0
  51. package/dist/commands/issues.d.ts +32 -0
  52. package/dist/commands/issues.js +206 -0
  53. package/dist/commands/issues.js.map +1 -0
  54. package/dist/commands/log.d.ts +6 -0
  55. package/dist/commands/log.js +47 -0
  56. package/dist/commands/log.js.map +1 -0
  57. package/dist/commands/login.d.ts +3 -0
  58. package/dist/commands/login.js +48 -0
  59. package/dist/commands/login.js.map +1 -0
  60. package/dist/commands/logout.d.ts +1 -0
  61. package/dist/commands/logout.js +13 -0
  62. package/dist/commands/logout.js.map +1 -0
  63. package/dist/commands/orbit.d.ts +18 -0
  64. package/dist/commands/orbit.js +159 -0
  65. package/dist/commands/orbit.js.map +1 -0
  66. package/dist/commands/overview.d.ts +4 -0
  67. package/dist/commands/overview.js +56 -0
  68. package/dist/commands/overview.js.map +1 -0
  69. package/dist/commands/projects.d.ts +3 -0
  70. package/dist/commands/projects.js +28 -0
  71. package/dist/commands/projects.js.map +1 -0
  72. package/dist/commands/setup-agent.d.ts +3 -0
  73. package/dist/commands/setup-agent.js +178 -0
  74. package/dist/commands/setup-agent.js.map +1 -0
  75. package/dist/commands/start.d.ts +4 -0
  76. package/dist/commands/start.js +38 -0
  77. package/dist/commands/start.js.map +1 -0
  78. package/dist/commands/status.d.ts +5 -0
  79. package/dist/commands/status.js +54 -0
  80. package/dist/commands/status.js.map +1 -0
  81. package/dist/commands/subtask.d.ts +7 -0
  82. package/dist/commands/subtask.js +26 -0
  83. package/dist/commands/subtask.js.map +1 -0
  84. package/dist/commands/task-edit-content.d.ts +7 -0
  85. package/dist/commands/task-edit-content.js +45 -0
  86. package/dist/commands/task-edit-content.js.map +1 -0
  87. package/dist/commands/task.d.ts +66 -0
  88. package/dist/commands/task.js +92 -0
  89. package/dist/commands/task.js.map +1 -0
  90. package/dist/commands/tasks.d.ts +7 -0
  91. package/dist/commands/tasks.js +35 -0
  92. package/dist/commands/tasks.js.map +1 -0
  93. package/dist/commands/vibes.d.ts +27 -0
  94. package/dist/commands/vibes.js +142 -0
  95. package/dist/commands/vibes.js.map +1 -0
  96. package/dist/config.d.ts +14 -0
  97. package/dist/config.js +34 -0
  98. package/dist/config.js.map +1 -0
  99. package/dist/doc-cache.d.ts +24 -0
  100. package/dist/doc-cache.js +116 -0
  101. package/dist/doc-cache.js.map +1 -0
  102. package/dist/errors.d.ts +16 -0
  103. package/dist/errors.js +26 -0
  104. package/dist/errors.js.map +1 -0
  105. package/dist/index.d.ts +2 -0
  106. package/dist/index.js +705 -0
  107. package/dist/index.js.map +1 -0
  108. package/dist/oauth.d.ts +42 -0
  109. package/dist/oauth.js +207 -0
  110. package/dist/oauth.js.map +1 -0
  111. package/dist/output.d.ts +4 -0
  112. package/dist/output.js +66 -0
  113. package/dist/output.js.map +1 -0
  114. package/package.json +50 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 BTA Systems
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,200 @@
1
+ # OrbitMap CLI
2
+
3
+ > Project management for AI coding agents — without MCP.
4
+
5
+ ## What is this?
6
+
7
+ OrbitMap CLI gives AI agents (Gemini CLI, GPT Codex, Claude Code without MCP, etc.) access to [OrbitMap](https://orbitmap.app) project management through simple shell commands. It's the non-MCP alternative to [orbitmap-mcp](https://github.com/BTA-Systems/orbitmap-mcp).
8
+
9
+ **Use cases:**
10
+ - AI agents that can run shell commands but don't support MCP (Gemini CLI, GPT Codex CLI)
11
+ - Environments where MCP configuration is impractical
12
+ - Quick task management from your terminal
13
+
14
+ ## Quick Start
15
+
16
+ ```bash
17
+ # 1. Run the setup wizard
18
+ npx orbitmap init
19
+
20
+ # 2. Enter your credentials:
21
+ # - API Key (from OrbitMap dashboard)
22
+ # - Project ID (optional — auto-detected if you have one project)
23
+
24
+ # 3. Start working
25
+ npx orbitmap start
26
+ ```
27
+
28
+ ## Commands
29
+
30
+ ### Task Management
31
+
32
+ | Command | Description |
33
+ |---------|-------------|
34
+ | `orbitmap tasks` | List your assigned tasks |
35
+ | `orbitmap task <id>` | Show full task details (UUID or 6-char task number) |
36
+ | `orbitmap start [id]` | Start working on a task (auto-picks next TODO if no ID) |
37
+ | `orbitmap status <task-id> <status>` | Update task status |
38
+ | `orbitmap create <title>` | Create a new task (`--from-issue` to link an issue) |
39
+ | `orbitmap subtask <parent-id> <title>` | Create a subtask |
40
+ | `orbitmap assign <task-id> <agent-id>` | Assign an agent to a task |
41
+ | `orbitmap get <prefixed-id>` | Show any object by prefixed ID (TS-xxx, IS-xxx, ID-xxx, VB-xxx) |
42
+ | `orbitmap dep add <id> <target-id>` | Add a dependency between tasks |
43
+ | `orbitmap dep remove <id> <target-id>` | Remove a dependency |
44
+ | `orbitmap task-edit-content <id>` | Edit task title, description, or agent instructions |
45
+
46
+ **Valid statuses:** `backlog`, `todo`, `in_progress`, `in_review`, `review_changes`, `done`, `blocked`
47
+
48
+ ### Work Logging
49
+
50
+ | Command | Description |
51
+ |---------|-------------|
52
+ | `orbitmap log <task-id> <message>` | Log work on a task |
53
+
54
+ **Options:**
55
+ - `--type <type>` — Log type: `note` (default), `code_change`, `decision`, `blocker`
56
+ - `--meta <json>` — JSON metadata, e.g. `'{"files":["src/app.ts"]}'`
57
+
58
+ **Examples:**
59
+ ```bash
60
+ orbitmap log abc123 "Implemented user auth endpoint" --type code_change
61
+ orbitmap log abc123 "Using JWT over sessions for stateless auth" --type decision
62
+ orbitmap log abc123 "Blocked on missing API credentials" --type blocker
63
+ ```
64
+
65
+ ### Documents
66
+
67
+ | Command | Description |
68
+ |---------|-------------|
69
+ | `orbitmap docs` | List project documents |
70
+ | `orbitmap doc <id-or-slug>` | Show full document content |
71
+ | `orbitmap doc-import <title>` | Import a markdown file (`--context` to set when-to-use hint) |
72
+ | `orbitmap doc-update <id-or-slug>` | Update a document from a file |
73
+ | `orbitmap doc-patch <id-or-slug>` | Patch a document with operations (replace_section, append, etc.) |
74
+ | `orbitmap doc-share <doc-id> <project-id>` | Share a document with another project |
75
+ | `orbitmap doc-unshare <doc-id> <project-id>` | Remove document sharing |
76
+ | `orbitmap docs pull [slug]` | Download document(s) to local cache |
77
+ | `orbitmap docs list-cache` | Show locally cached documents |
78
+ | `orbitmap docs clean` | Remove stale cached documents |
79
+
80
+ **Examples:**
81
+ ```bash
82
+ # List all API docs
83
+ orbitmap docs --type api
84
+
85
+ # Search documents by title
86
+ orbitmap docs --search "auth"
87
+
88
+ # View a document
89
+ orbitmap doc api-specification
90
+
91
+ # Import a new document
92
+ orbitmap doc-import "API Spec" --type api --file ./docs/api-spec.md
93
+
94
+ # Update existing document
95
+ orbitmap doc-update api-specification --file ./docs/api-spec.md --changelog "Added auth section"
96
+
97
+ # Share with another project
98
+ orbitmap doc-share <doc-uuid> <project-uuid> --agents agent1-uuid,agent2-uuid
99
+ ```
100
+
101
+ ### Project & Agent Info
102
+
103
+ | Command | Description |
104
+ |---------|-------------|
105
+ | `orbitmap context` | Show agent identity and current project |
106
+ | `orbitmap projects` | List all your projects |
107
+ | `orbitmap members <project-id>` | List agents and users in a project (accepts slug) |
108
+ | `orbitmap overview [project-id]` | Project overview with task statistics (uses default project) |
109
+
110
+ ### Issues, Ideas & Vibes
111
+
112
+ | Command | Description |
113
+ |---------|-------------|
114
+ | `orbitmap issues` | List open issues |
115
+ | `orbitmap issue show <id>` | Show issue details (UUID or number) |
116
+ | `orbitmap issue register` | Register a new issue |
117
+ | `orbitmap issue resolve <id>` | Resolve an issue |
118
+ | `orbitmap ideas` | List ideas |
119
+ | `orbitmap idea add` | Add a new idea |
120
+ | `orbitmap idea show <id>` | Show idea details (UUID or number) |
121
+ | `orbitmap idea status <id>` | Update idea status |
122
+ | `orbitmap vibes` | List vibes |
123
+ | `orbitmap vibe log` | Log a new vibe |
124
+ | `orbitmap vibe show <id>` | Show vibe details |
125
+ | `orbitmap vibe update <id>` | Update a vibe |
126
+
127
+ ### Orbits
128
+
129
+ | Command | Description |
130
+ |---------|-------------|
131
+ | `orbitmap orbit items <id-or-slug>` | List items in an orbit |
132
+ | `orbitmap orbit attach <id-or-slug>` | Attach an object to an orbit |
133
+ | `orbitmap orbit detach <id-or-slug>` | Detach an object from an orbit |
134
+
135
+ ### Delivery Status
136
+
137
+ Track code delivery lifecycle on tasks:
138
+
139
+ ```bash
140
+ orbitmap status abc123 done --delivery on_branch
141
+ orbitmap status abc123 done --delivery merged
142
+ orbitmap status abc123 done --delivery released
143
+ ```
144
+
145
+ ### Global Options
146
+
147
+ | Option | Description |
148
+ |--------|-------------|
149
+ | `--json` | Output raw JSON (for scripting/piping) |
150
+ | `--project <id>` | Override project context (UUID or slug) |
151
+
152
+ ## Configuration
153
+
154
+ ### Setup
155
+
156
+ Run `npx orbitmap init` for interactive setup. Credentials are stored in `~/.orbitmap/config.json`.
157
+
158
+ ### Config file
159
+
160
+ ```json
161
+ {
162
+ "api_url": "https://orbitmap.app/api/agent",
163
+ "api_key": "orbitmap_...",
164
+ "project_id": "my-project-slug"
165
+ }
166
+ ```
167
+
168
+ ### Environment Variables
169
+
170
+ Environment variables take precedence over the config file:
171
+
172
+ | Variable | Description |
173
+ |----------|-------------|
174
+ | `ORBITMAP_API_KEY` | Agent API key |
175
+ | `ORBITMAP_API_URL` | API base URL (default: `https://orbitmap.app/api/agent`) |
176
+ | `ORBITMAP_PROJECT_ID` | Project UUID or slug |
177
+
178
+ ### Resolution Priority
179
+
180
+ 1. Environment variables
181
+ 2. Config file (`~/.orbitmap/config.json`)
182
+ 3. Defaults
183
+
184
+ ## Authentication
185
+
186
+ OrbitMap CLI uses a single **Agent API Key** for authentication (`Authorization: Bearer` header). Each agent has its own key — get it from the OrbitMap dashboard.
187
+
188
+ Optionally, set a default **Project ID** if your agent is assigned to multiple projects.
189
+
190
+ ## For AI Agents
191
+
192
+ See [Agent Instructions](docs/agent-instructions.md) for copy-paste ready instructions to add OrbitMap integration to Gemini CLI, GPT Codex, or any AI agent with shell access.
193
+
194
+ ## Requirements
195
+
196
+ - Node.js 18+
197
+
198
+ ## License
199
+
200
+ MIT
@@ -0,0 +1,234 @@
1
+ export declare class OrbitMapClient {
2
+ private readonly apiKey;
3
+ private readonly baseUrl;
4
+ private readonly projectId?;
5
+ constructor(apiKey: string, projectId?: string, apiUrl?: string);
6
+ private request;
7
+ getContext(projectId?: string): Promise<unknown>;
8
+ getTasks(options?: {
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
+ registerIssue(data: {
150
+ title: string;
151
+ description: string;
152
+ severity?: string;
153
+ related_task_id?: string;
154
+ }): Promise<unknown>;
155
+ listIssues(options?: {
156
+ status?: string;
157
+ severity?: string;
158
+ limit?: string;
159
+ }): Promise<unknown>;
160
+ getIssue(idOrNumber: string): Promise<unknown>;
161
+ getIssueByNumber(issueNumber: string): Promise<unknown>;
162
+ resolveIssueByNumber(issueNumber: string, data: {
163
+ status: string;
164
+ resolution?: string;
165
+ resolved_by_task_id?: string;
166
+ }): Promise<unknown>;
167
+ resolveIssue(idOrNumber: string, data: {
168
+ status: string;
169
+ resolution?: string;
170
+ resolved_by_task_id?: string;
171
+ }): Promise<unknown>;
172
+ updateIssueStatus(idOrNumber: string, data: {
173
+ status: string;
174
+ resolution?: string;
175
+ resolved_task_id?: string;
176
+ }): Promise<unknown>;
177
+ updateIssueStatusByNumber(issueNumber: string, data: {
178
+ status: string;
179
+ resolution?: string;
180
+ resolved_task_id?: string;
181
+ }): Promise<unknown>;
182
+ logVibe(data: {
183
+ content: string;
184
+ type: string;
185
+ title?: string;
186
+ task_id?: string;
187
+ }): Promise<unknown>;
188
+ listVibes(options?: {
189
+ type?: string;
190
+ since?: string;
191
+ limit?: string;
192
+ }): Promise<unknown>;
193
+ getVibe(id: string): Promise<unknown>;
194
+ updateVibe(id: string, data: {
195
+ type?: string;
196
+ title?: string;
197
+ content?: string;
198
+ metadata?: Record<string, unknown>;
199
+ }): Promise<unknown>;
200
+ listIdeas(options?: {
201
+ status?: string;
202
+ priority?: string;
203
+ limit?: string;
204
+ }): Promise<unknown>;
205
+ getIdea(idOrNumber: string): Promise<unknown>;
206
+ getIdeaByNumber(ideaNumber: string): Promise<unknown>;
207
+ createIdea(data: {
208
+ content: string;
209
+ title?: string;
210
+ priority?: string;
211
+ metadata?: Record<string, unknown>;
212
+ }): Promise<unknown>;
213
+ updateIdeaStatus(idOrNumber: string, data: {
214
+ status: string;
215
+ }): Promise<unknown>;
216
+ updateIdeaStatusByNumber(ideaNumber: string, data: {
217
+ status: string;
218
+ }): Promise<unknown>;
219
+ getOrbitItems(orbitIdOrSlug: string, options?: {
220
+ type?: string;
221
+ }): Promise<unknown>;
222
+ orbitAttach(orbitIdOrSlug: string, data: {
223
+ item_type: string;
224
+ item_id: string;
225
+ note?: string;
226
+ }): Promise<unknown>;
227
+ orbitDetach(orbitIdOrSlug: string, data: {
228
+ item_type: string;
229
+ item_id: string;
230
+ }): Promise<unknown>;
231
+ getWorkPrompt(): Promise<unknown>;
232
+ getImportDocsPrompt(): Promise<unknown>;
233
+ }
234
+ export declare function createClient(explicitProjectId?: string): Promise<OrbitMapClient>;