orbitmap 0.4.2 → 0.4.3
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 +60 -13
- package/dist/adapters/cloud.d.ts +53 -21
- package/dist/adapters/cloud.js +95 -29
- package/dist/adapters/cloud.js.map +1 -1
- package/dist/adapters/factory.d.ts +3 -0
- package/dist/adapters/factory.js +8 -1
- package/dist/adapters/factory.js.map +1 -1
- package/dist/adapters/local/adapter.d.ts +0 -20
- package/dist/adapters/local/adapter.js +0 -18
- package/dist/adapters/local/adapter.js.map +1 -1
- package/dist/adapters/local/context.d.ts +1 -1
- package/dist/adapters/local/context.js +10 -2
- package/dist/adapters/local/context.js.map +1 -1
- package/dist/adapters/local/entities/tasks.d.ts +9 -1
- package/dist/adapters/local/entities/tasks.js +47 -5
- package/dist/adapters/local/entities/tasks.js.map +1 -1
- package/dist/adapters/local/entities/work-items.d.ts +14 -30
- package/dist/adapters/local/entities/work-items.js +63 -47
- package/dist/adapters/local/entities/work-items.js.map +1 -1
- package/dist/adapters/local/rules.d.ts +4 -4
- package/dist/adapters/local/rules.js +4 -19
- package/dist/adapters/local/rules.js.map +1 -1
- package/dist/adapters/local/shapes.d.ts +27 -7
- package/dist/adapters/local/shapes.js +41 -5
- package/dist/adapters/local/shapes.js.map +1 -1
- package/dist/adapters/local/store.d.ts +55 -6
- package/dist/adapters/local/store.js +122 -8
- package/dist/adapters/local/store.js.map +1 -1
- package/dist/adapters/local/types.d.ts +9 -2
- package/dist/adapters/local/types.js +9 -2
- package/dist/adapters/local/types.js.map +1 -1
- package/dist/adapters/types.d.ts +7 -20
- package/dist/agent-instructions.d.ts +21 -8
- package/dist/agent-instructions.js +91 -35
- package/dist/agent-instructions.js.map +1 -1
- package/dist/area-directories.d.ts +75 -0
- package/dist/area-directories.js +162 -0
- package/dist/area-directories.js.map +1 -0
- package/dist/area-grouping.d.ts +55 -0
- package/dist/area-grouping.js +72 -0
- package/dist/area-grouping.js.map +1 -0
- package/dist/commands/areas.js +30 -2
- package/dist/commands/areas.js.map +1 -1
- package/dist/commands/assign.d.ts +1 -0
- package/dist/commands/assign.js +2 -0
- package/dist/commands/assign.js.map +1 -1
- package/dist/commands/context.d.ts +95 -0
- package/dist/commands/context.js +104 -2
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/create.d.ts +1 -0
- package/dist/commands/create.js +19 -14
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/dep.js +5 -8
- package/dist/commands/dep.js.map +1 -1
- package/dist/commands/doc-import.d.ts +1 -0
- package/dist/commands/doc-import.js +8 -26
- package/dist/commands/doc-import.js.map +1 -1
- package/dist/commands/doc-patch.js +16 -52
- package/dist/commands/doc-patch.js.map +1 -1
- package/dist/commands/doc-share.js +4 -0
- package/dist/commands/doc-share.js.map +1 -1
- package/dist/commands/doc-update.js +4 -8
- package/dist/commands/doc-update.js.map +1 -1
- package/dist/commands/doc.js +7 -12
- package/dist/commands/doc.js.map +1 -1
- package/dist/commands/docs-cache.js +23 -10
- package/dist/commands/docs-cache.js.map +1 -1
- package/dist/commands/docs.js +29 -10
- package/dist/commands/docs.js.map +1 -1
- package/dist/commands/get.js +4 -10
- package/dist/commands/get.js.map +1 -1
- package/dist/commands/ideas.d.ts +3 -1
- package/dist/commands/ideas.js +26 -49
- package/dist/commands/ideas.js.map +1 -1
- package/dist/commands/init.d.ts +24 -1
- package/dist/commands/init.js +0 -0
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/intent.js +10 -14
- package/dist/commands/intent.js.map +1 -1
- package/dist/commands/issues.d.ts +3 -1
- package/dist/commands/issues.js +47 -72
- package/dist/commands/issues.js.map +1 -1
- package/dist/commands/log.d.ts +1 -0
- package/dist/commands/log.js +18 -17
- package/dist/commands/log.js.map +1 -1
- package/dist/commands/mission.js +3 -12
- package/dist/commands/mission.js.map +1 -1
- package/dist/commands/orbit.d.ts +7 -1
- package/dist/commands/orbit.js +13 -24
- package/dist/commands/orbit.js.map +1 -1
- package/dist/commands/setup-agent.d.ts +97 -4
- package/dist/commands/setup-agent.js +265 -38
- package/dist/commands/setup-agent.js.map +1 -1
- package/dist/commands/setup-mcp.d.ts +2 -0
- package/dist/commands/setup-mcp.js +17 -40
- package/dist/commands/setup-mcp.js.map +1 -1
- package/dist/commands/start.d.ts +43 -0
- package/dist/commands/start.js +158 -3
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/status.d.ts +1 -0
- package/dist/commands/status.js +5 -15
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/subtask.d.ts +1 -0
- package/dist/commands/subtask.js +9 -2
- package/dist/commands/subtask.js.map +1 -1
- package/dist/commands/task-edit-content.js +4 -8
- package/dist/commands/task-edit-content.js.map +1 -1
- package/dist/commands/task.d.ts +7 -0
- package/dist/commands/task.js +5 -2
- package/dist/commands/task.js.map +1 -1
- package/dist/commands/tasks.d.ts +35 -0
- package/dist/commands/tasks.js +45 -9
- package/dist/commands/tasks.js.map +1 -1
- package/dist/commands/vibes.d.ts +3 -1
- package/dist/commands/vibes.js +41 -31
- package/dist/commands/vibes.js.map +1 -1
- package/dist/config.d.ts +11 -0
- package/dist/config.js +14 -1
- package/dist/config.js.map +1 -1
- package/dist/doc-cache.d.ts +74 -5
- package/dist/doc-cache.js +106 -22
- package/dist/doc-cache.js.map +1 -1
- package/dist/enums.d.ts +26 -0
- package/dist/enums.js +53 -0
- package/dist/enums.js.map +1 -0
- package/dist/errors.d.ts +67 -0
- package/dist/errors.js +82 -0
- package/dist/errors.js.map +1 -1
- package/dist/index.js +134 -56
- package/dist/index.js.map +1 -1
- package/dist/mcp-config.d.ts +42 -1
- package/dist/mcp-config.js +82 -2
- package/dist/mcp-config.js.map +1 -1
- package/dist/oauth.js +10 -10
- package/dist/output.d.ts +12 -0
- package/dist/output.js +39 -1
- package/dist/output.js.map +1 -1
- package/dist/paths.d.ts +40 -0
- package/dist/paths.js +174 -9
- package/dist/paths.js.map +1 -1
- package/dist/project-config.d.ts +42 -1
- package/dist/project-config.js +51 -0
- package/dist/project-config.js.map +1 -1
- package/dist/workspace-resolve.d.ts +179 -9
- package/dist/workspace-resolve.js +288 -20
- package/dist/workspace-resolve.js.map +1 -1
- package/dist/write-target.d.ts +56 -0
- package/dist/write-target.js +170 -0
- package/dist/write-target.js.map +1 -0
- package/package.json +1 -1
- package/dist/commands/create-project.d.ts +0 -6
- package/dist/commands/create-project.js +0 -28
- package/dist/commands/create-project.js.map +0 -1
- package/dist/commands/projects.d.ts +0 -3
- package/dist/commands/projects.js +0 -28
- package/dist/commands/projects.js.map +0 -1
package/dist/doc-cache.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-cache.js","sourceRoot":"","sources":["../src/doc-cache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnG,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"doc-cache.js","sourceRoot":"","sources":["../src/doc-cache.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnG,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEnD,OAAO,EACL,QAAQ,EACR,kBAAkB,EAClB,YAAY,EACZ,sBAAsB,GACvB,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,SAAS,EACT,uBAAuB,GAGxB,MAAM,wBAAwB,CAAC;AA+BhC,MAAM,UAAU,GAAG,CAAC,CAAC;AAqBrB;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,UAA0B,EAAE;IAChE,MAAM,OAAO,GAAG,MAAM,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AY,IAAI,OAAO;YAAE,SAAS;QAE5C,2CAA2C;QAC3C,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;QAC7C,IAAI,CAAC;YACH,IAAI,UAAU,CAAC,QAAQ,CAAC;gBAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;QACjD,CAAC;QAAC,MAAM,CAAC;YACP,8BAA8B;QAChC,CAAC;QACD,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;QACtB,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrB,CAAC;IAED,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvB,aAAa,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;IACjC,CAAC;IAED,OAAO,EAAE,OAAO,EAAE,CAAC;AACrB,CAAC"}
|
package/dist/enums.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared closed vocabularies — ONE definition per enum for the whole CLI.
|
|
3
|
+
*
|
|
4
|
+
* These used to be copied per command file, which is how `doc-import --type` ended up
|
|
5
|
+
* validating its value while `docs --type` silently accepted anything: one enum, two
|
|
6
|
+
* behaviours. Commands import from here; the local adapter's rule layer
|
|
7
|
+
* (`adapters/local/rules.ts`) re-exports these same arrays so local mode and the commands
|
|
8
|
+
* can never drift apart. The API remains the authority — this is a client-side courtesy
|
|
9
|
+
* check that fails fast with the same envelope the server would return.
|
|
10
|
+
*/
|
|
11
|
+
/** `documents.type` (§4.11). */
|
|
12
|
+
export declare const DOCUMENT_TYPES: readonly ["spec", "architecture", "api", "guide", "decision", "changelog", "other"];
|
|
13
|
+
/** `issues.status` (§4.6). */
|
|
14
|
+
export declare const ISSUE_STATUSES: readonly ["open", "backlog", "investigating", "resolved", "wont_fix", "duplicate"];
|
|
15
|
+
/**
|
|
16
|
+
* The server's issue-status transition graph (`Issue::STATUS_TRANSITIONS`).
|
|
17
|
+
*
|
|
18
|
+
* The CLI does **not** enforce it — it cannot know the issue's current status without an
|
|
19
|
+
* extra round trip, and re-implementing server rules in cloud mode is forbidden. It is here
|
|
20
|
+
* so a rejected `issue status` can show the caller the real graph instead of a flat list of
|
|
21
|
+
* status names that implies every one of them is reachable. The server stays the authority
|
|
22
|
+
* and answers `INVALID_TRANSITION` for a move that is not allowed.
|
|
23
|
+
*/
|
|
24
|
+
export declare const ISSUE_STATUS_TRANSITIONS: Readonly<Record<string, readonly string[]>>;
|
|
25
|
+
/** The transition graph rendered for a human, one line per source status. */
|
|
26
|
+
export declare function formatIssueTransitions(): string;
|
package/dist/enums.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared closed vocabularies — ONE definition per enum for the whole CLI.
|
|
3
|
+
*
|
|
4
|
+
* These used to be copied per command file, which is how `doc-import --type` ended up
|
|
5
|
+
* validating its value while `docs --type` silently accepted anything: one enum, two
|
|
6
|
+
* behaviours. Commands import from here; the local adapter's rule layer
|
|
7
|
+
* (`adapters/local/rules.ts`) re-exports these same arrays so local mode and the commands
|
|
8
|
+
* can never drift apart. The API remains the authority — this is a client-side courtesy
|
|
9
|
+
* check that fails fast with the same envelope the server would return.
|
|
10
|
+
*/
|
|
11
|
+
/** `documents.type` (§4.11). */
|
|
12
|
+
export const DOCUMENT_TYPES = [
|
|
13
|
+
'spec',
|
|
14
|
+
'architecture',
|
|
15
|
+
'api',
|
|
16
|
+
'guide',
|
|
17
|
+
'decision',
|
|
18
|
+
'changelog',
|
|
19
|
+
'other',
|
|
20
|
+
];
|
|
21
|
+
/** `issues.status` (§4.6). */
|
|
22
|
+
export const ISSUE_STATUSES = [
|
|
23
|
+
'open',
|
|
24
|
+
'backlog',
|
|
25
|
+
'investigating',
|
|
26
|
+
'resolved',
|
|
27
|
+
'wont_fix',
|
|
28
|
+
'duplicate',
|
|
29
|
+
];
|
|
30
|
+
/**
|
|
31
|
+
* The server's issue-status transition graph (`Issue::STATUS_TRANSITIONS`).
|
|
32
|
+
*
|
|
33
|
+
* The CLI does **not** enforce it — it cannot know the issue's current status without an
|
|
34
|
+
* extra round trip, and re-implementing server rules in cloud mode is forbidden. It is here
|
|
35
|
+
* so a rejected `issue status` can show the caller the real graph instead of a flat list of
|
|
36
|
+
* status names that implies every one of them is reachable. The server stays the authority
|
|
37
|
+
* and answers `INVALID_TRANSITION` for a move that is not allowed.
|
|
38
|
+
*/
|
|
39
|
+
export const ISSUE_STATUS_TRANSITIONS = Object.freeze({
|
|
40
|
+
open: ['investigating', 'backlog', 'resolved', 'wont_fix', 'duplicate'],
|
|
41
|
+
investigating: ['resolved', 'wont_fix', 'duplicate', 'open', 'backlog'],
|
|
42
|
+
backlog: ['open', 'investigating', 'wont_fix', 'duplicate'],
|
|
43
|
+
resolved: ['open'],
|
|
44
|
+
wont_fix: ['open'],
|
|
45
|
+
duplicate: ['open'],
|
|
46
|
+
});
|
|
47
|
+
/** The transition graph rendered for a human, one line per source status. */
|
|
48
|
+
export function formatIssueTransitions() {
|
|
49
|
+
return Object.entries(ISSUE_STATUS_TRANSITIONS)
|
|
50
|
+
.map(([from, to]) => ` ${from} → ${to.join(', ')}`)
|
|
51
|
+
.join('\n');
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../src/enums.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,gCAAgC;AAChC,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,MAAM;IACN,cAAc;IACd,KAAK;IACL,OAAO;IACP,UAAU;IACV,WAAW;IACX,OAAO;CACC,CAAC;AAEX,8BAA8B;AAC9B,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,MAAM;IACN,SAAS;IACT,eAAe;IACf,UAAU;IACV,UAAU;IACV,WAAW;CACH,CAAC;AAEX;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,wBAAwB,GACnC,MAAM,CAAC,MAAM,CAAC;IACZ,IAAI,EAAE,CAAC,eAAe,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,CAAC;IACvE,aAAa,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,CAAC;IACvE,OAAO,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,WAAW,CAAC;IAC3D,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,SAAS,EAAE,CAAC,MAAM,CAAC;CACpB,CAAC,CAAC;AAEL,6EAA6E;AAC7E,MAAM,UAAU,sBAAsB;IACpC,OAAO,MAAM,CAAC,OAAO,CAAC,wBAAwB,CAAC;SAC5C,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,IAAI,MAAM,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;SACnD,IAAI,CAAC,IAAI,CAAC,CAAC;AAChB,CAAC"}
|
package/dist/errors.d.ts
CHANGED
|
@@ -17,16 +17,83 @@ export interface FlatApiErrorBody {
|
|
|
17
17
|
}
|
|
18
18
|
/** No local workspace directory could be resolved (see workspace-resolve.ts). */
|
|
19
19
|
export declare const WORKSPACE_NOT_FOUND = "WORKSPACE_NOT_FOUND";
|
|
20
|
+
/**
|
|
21
|
+
* Code every *client-side* argument rejection carries — the same code and status the API
|
|
22
|
+
* uses for a validation failure, so a `--json` consumer can branch on `error.code` without
|
|
23
|
+
* caring whether the CLI or the server rejected the call.
|
|
24
|
+
*/
|
|
25
|
+
export declare const VALIDATION_ERROR = "VALIDATION_ERROR";
|
|
26
|
+
/** HTTP status the API uses for validation failures. */
|
|
27
|
+
export declare const VALIDATION_STATUS = 422;
|
|
20
28
|
/** The command needs an area but none could be resolved (same code the API uses). */
|
|
21
29
|
export declare const AREA_CONTEXT_REQUIRED = "AREA_CONTEXT_REQUIRED";
|
|
30
|
+
/**
|
|
31
|
+
* The API could not resolve a workspace: no `X-Orbitmap-Workspace`, no area to derive one
|
|
32
|
+
* from, and no unique workspace to auto-detect. Raised server-side only.
|
|
33
|
+
*/
|
|
34
|
+
export declare const WORKSPACE_CONTEXT_REQUIRED = "WORKSPACE_CONTEXT_REQUIRED";
|
|
35
|
+
/**
|
|
36
|
+
* `X-Orbitmap-Workspace` and `X-Orbitmap-Area` named different workspaces (422). Raised
|
|
37
|
+
* server-side only.
|
|
38
|
+
*/
|
|
39
|
+
export declare const AREA_WORKSPACE_MISMATCH = "AREA_WORKSPACE_MISMATCH";
|
|
40
|
+
/** The caller's agent has no access to the area (same code the API uses). */
|
|
41
|
+
export declare const NO_AREA_ACCESS = "NO_AREA_ACCESS";
|
|
42
|
+
/** The caller's role in the area is too low for the operation (same code the API uses). */
|
|
43
|
+
export declare const INSUFFICIENT_AREA_ROLE = "INSUFFICIENT_AREA_ROLE";
|
|
44
|
+
/** The agent's owner is not a member of the area (403). Raised server-side only. */
|
|
45
|
+
export declare const OWNER_NO_AREA_ACCESS = "OWNER_NO_AREA_ACCESS";
|
|
46
|
+
/** A referenced agent is not assigned to the area (422). Raised server-side only. */
|
|
47
|
+
export declare const AGENT_NOT_IN_AREA = "AGENT_NOT_IN_AREA";
|
|
48
|
+
/** A referenced user is not a member of the area (422). Raised server-side only. */
|
|
49
|
+
export declare const USER_NOT_IN_AREA = "USER_NOT_IN_AREA";
|
|
50
|
+
/**
|
|
51
|
+
* Legacy → canonical error-code aliases, in ONE place.
|
|
52
|
+
*
|
|
53
|
+
* The API is renaming its `PROJECT_*` codes to `AREA_*`. Both spellings mean exactly the
|
|
54
|
+
* same thing, and a client that understands only one of them breaks the moment the server
|
|
55
|
+
* flips: an old CLI would stop recognising the new codes, a new CLI would stop recognising
|
|
56
|
+
* the ones still in flight. Every site that *dispatches* on an error code must therefore
|
|
57
|
+
* compare against {@link OrbitMapAPIError.canonicalCode} (or use {@link isErrorCode}), never
|
|
58
|
+
* against the raw wire code.
|
|
59
|
+
*
|
|
60
|
+
* This map is read-only in one direction on purpose — `AREA_*` is canonical; the `PROJECT_*`
|
|
61
|
+
* spellings are accepted, never produced. The wire code itself is preserved verbatim on the
|
|
62
|
+
* error (and in `--json` output), so user-facing messages and exit codes do not change for
|
|
63
|
+
* either spelling.
|
|
64
|
+
*/
|
|
65
|
+
export declare const ERROR_CODE_ALIASES: Readonly<Record<string, string>>;
|
|
66
|
+
/**
|
|
67
|
+
* The canonical spelling of an error code: legacy `PROJECT_*` codes map to their `AREA_*`
|
|
68
|
+
* equivalent, everything else is returned unchanged.
|
|
69
|
+
*/
|
|
70
|
+
export declare function normalizeErrorCode(code: string): string;
|
|
71
|
+
/**
|
|
72
|
+
* `true` when `code` is the given canonical code or any of its accepted aliases. Use this
|
|
73
|
+
* instead of `error.code === SOME_CODE` at dispatch sites.
|
|
74
|
+
*/
|
|
75
|
+
export declare function isErrorCode(code: string, canonical: string): boolean;
|
|
22
76
|
export declare class OrbitMapAPIError extends Error {
|
|
77
|
+
/** The code exactly as it arrived on the wire — what gets printed and JSON-serialised. */
|
|
23
78
|
readonly code: string;
|
|
79
|
+
/**
|
|
80
|
+
* {@link code} normalised through {@link ERROR_CODE_ALIASES}. Compare against this (never
|
|
81
|
+
* against {@link code}) when branching on an error code, so the CLI keeps working across
|
|
82
|
+
* the API's `PROJECT_*` → `AREA_*` rename.
|
|
83
|
+
*/
|
|
84
|
+
readonly canonicalCode: string;
|
|
24
85
|
readonly status: number;
|
|
25
86
|
readonly details?: Record<string, unknown>;
|
|
26
87
|
constructor(message: string, code: string, status: number, details?: Record<string, unknown>);
|
|
27
88
|
static fromResponse(body: ApiErrorBody): OrbitMapAPIError;
|
|
28
89
|
static fromFlatResponse(body: FlatApiErrorBody, httpStatus: number): OrbitMapAPIError;
|
|
29
90
|
static workspaceNotFound(message?: string): OrbitMapAPIError;
|
|
91
|
+
/**
|
|
92
|
+
* A client-side argument rejection (bad enum value, missing required input, unparsable
|
|
93
|
+
* JSON, …), shaped exactly like a server validation error so `--json` consumers see one
|
|
94
|
+
* envelope with `code`/`status`/`details` no matter who rejected the call.
|
|
95
|
+
*/
|
|
96
|
+
static validation(message: string, details?: Record<string, unknown>): OrbitMapAPIError;
|
|
30
97
|
static areaContextRequired(message?: string, details?: Record<string, unknown>): OrbitMapAPIError;
|
|
31
98
|
static isApiErrorBody(body: unknown): body is ApiErrorBody;
|
|
32
99
|
static isFlatApiErrorBody(body: unknown): body is FlatApiErrorBody;
|
package/dist/errors.js
CHANGED
|
@@ -1,19 +1,93 @@
|
|
|
1
1
|
/** No local workspace directory could be resolved (see workspace-resolve.ts). */
|
|
2
2
|
export const WORKSPACE_NOT_FOUND = 'WORKSPACE_NOT_FOUND';
|
|
3
|
+
/**
|
|
4
|
+
* Code every *client-side* argument rejection carries — the same code and status the API
|
|
5
|
+
* uses for a validation failure, so a `--json` consumer can branch on `error.code` without
|
|
6
|
+
* caring whether the CLI or the server rejected the call.
|
|
7
|
+
*/
|
|
8
|
+
export const VALIDATION_ERROR = 'VALIDATION_ERROR';
|
|
9
|
+
/** HTTP status the API uses for validation failures. */
|
|
10
|
+
export const VALIDATION_STATUS = 422;
|
|
3
11
|
/** The command needs an area but none could be resolved (same code the API uses). */
|
|
4
12
|
export const AREA_CONTEXT_REQUIRED = 'AREA_CONTEXT_REQUIRED';
|
|
13
|
+
/**
|
|
14
|
+
* The API could not resolve a workspace: no `X-Orbitmap-Workspace`, no area to derive one
|
|
15
|
+
* from, and no unique workspace to auto-detect. Raised server-side only.
|
|
16
|
+
*/
|
|
17
|
+
export const WORKSPACE_CONTEXT_REQUIRED = 'WORKSPACE_CONTEXT_REQUIRED';
|
|
18
|
+
/**
|
|
19
|
+
* `X-Orbitmap-Workspace` and `X-Orbitmap-Area` named different workspaces (422). Raised
|
|
20
|
+
* server-side only.
|
|
21
|
+
*/
|
|
22
|
+
export const AREA_WORKSPACE_MISMATCH = 'AREA_WORKSPACE_MISMATCH';
|
|
23
|
+
/** The caller's agent has no access to the area (same code the API uses). */
|
|
24
|
+
export const NO_AREA_ACCESS = 'NO_AREA_ACCESS';
|
|
25
|
+
/** The caller's role in the area is too low for the operation (same code the API uses). */
|
|
26
|
+
export const INSUFFICIENT_AREA_ROLE = 'INSUFFICIENT_AREA_ROLE';
|
|
27
|
+
/** The agent's owner is not a member of the area (403). Raised server-side only. */
|
|
28
|
+
export const OWNER_NO_AREA_ACCESS = 'OWNER_NO_AREA_ACCESS';
|
|
29
|
+
/** A referenced agent is not assigned to the area (422). Raised server-side only. */
|
|
30
|
+
export const AGENT_NOT_IN_AREA = 'AGENT_NOT_IN_AREA';
|
|
31
|
+
/** A referenced user is not a member of the area (422). Raised server-side only. */
|
|
32
|
+
export const USER_NOT_IN_AREA = 'USER_NOT_IN_AREA';
|
|
33
|
+
/**
|
|
34
|
+
* Legacy → canonical error-code aliases, in ONE place.
|
|
35
|
+
*
|
|
36
|
+
* The API is renaming its `PROJECT_*` codes to `AREA_*`. Both spellings mean exactly the
|
|
37
|
+
* same thing, and a client that understands only one of them breaks the moment the server
|
|
38
|
+
* flips: an old CLI would stop recognising the new codes, a new CLI would stop recognising
|
|
39
|
+
* the ones still in flight. Every site that *dispatches* on an error code must therefore
|
|
40
|
+
* compare against {@link OrbitMapAPIError.canonicalCode} (or use {@link isErrorCode}), never
|
|
41
|
+
* against the raw wire code.
|
|
42
|
+
*
|
|
43
|
+
* This map is read-only in one direction on purpose — `AREA_*` is canonical; the `PROJECT_*`
|
|
44
|
+
* spellings are accepted, never produced. The wire code itself is preserved verbatim on the
|
|
45
|
+
* error (and in `--json` output), so user-facing messages and exit codes do not change for
|
|
46
|
+
* either spelling.
|
|
47
|
+
*/
|
|
48
|
+
export const ERROR_CODE_ALIASES = Object.freeze({
|
|
49
|
+
PROJECT_CONTEXT_REQUIRED: AREA_CONTEXT_REQUIRED,
|
|
50
|
+
NO_PROJECT_ACCESS: NO_AREA_ACCESS,
|
|
51
|
+
INSUFFICIENT_PROJECT_ROLE: INSUFFICIENT_AREA_ROLE,
|
|
52
|
+
PROJECT_WORKSPACE_MISMATCH: AREA_WORKSPACE_MISMATCH,
|
|
53
|
+
OWNER_NO_PROJECT_ACCESS: OWNER_NO_AREA_ACCESS,
|
|
54
|
+
AGENT_NOT_IN_PROJECT: AGENT_NOT_IN_AREA,
|
|
55
|
+
USER_NOT_IN_PROJECT: USER_NOT_IN_AREA,
|
|
56
|
+
});
|
|
57
|
+
/**
|
|
58
|
+
* The canonical spelling of an error code: legacy `PROJECT_*` codes map to their `AREA_*`
|
|
59
|
+
* equivalent, everything else is returned unchanged.
|
|
60
|
+
*/
|
|
61
|
+
export function normalizeErrorCode(code) {
|
|
62
|
+
return ERROR_CODE_ALIASES[code] ?? code;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* `true` when `code` is the given canonical code or any of its accepted aliases. Use this
|
|
66
|
+
* instead of `error.code === SOME_CODE` at dispatch sites.
|
|
67
|
+
*/
|
|
68
|
+
export function isErrorCode(code, canonical) {
|
|
69
|
+
return normalizeErrorCode(code) === normalizeErrorCode(canonical);
|
|
70
|
+
}
|
|
5
71
|
const FLAT_ERROR_CODES = {
|
|
6
72
|
402: 'PAYMENT_REQUIRED',
|
|
7
73
|
429: 'RATE_LIMITED',
|
|
8
74
|
};
|
|
9
75
|
export class OrbitMapAPIError extends Error {
|
|
76
|
+
/** The code exactly as it arrived on the wire — what gets printed and JSON-serialised. */
|
|
10
77
|
code;
|
|
78
|
+
/**
|
|
79
|
+
* {@link code} normalised through {@link ERROR_CODE_ALIASES}. Compare against this (never
|
|
80
|
+
* against {@link code}) when branching on an error code, so the CLI keeps working across
|
|
81
|
+
* the API's `PROJECT_*` → `AREA_*` rename.
|
|
82
|
+
*/
|
|
83
|
+
canonicalCode;
|
|
11
84
|
status;
|
|
12
85
|
details;
|
|
13
86
|
constructor(message, code, status, details) {
|
|
14
87
|
super(message);
|
|
15
88
|
this.name = 'OrbitMapAPIError';
|
|
16
89
|
this.code = code;
|
|
90
|
+
this.canonicalCode = normalizeErrorCode(code);
|
|
17
91
|
this.status = status;
|
|
18
92
|
this.details = details;
|
|
19
93
|
}
|
|
@@ -36,6 +110,14 @@ export class OrbitMapAPIError extends Error {
|
|
|
36
110
|
'No OrbitMap workspace found. Run `orbitmap init` to create one, or point at an ' +
|
|
37
111
|
'existing workspace with --workspace <path> or ORBITMAP_WORKSPACE.', WORKSPACE_NOT_FOUND, 404);
|
|
38
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* A client-side argument rejection (bad enum value, missing required input, unparsable
|
|
115
|
+
* JSON, …), shaped exactly like a server validation error so `--json` consumers see one
|
|
116
|
+
* envelope with `code`/`status`/`details` no matter who rejected the call.
|
|
117
|
+
*/
|
|
118
|
+
static validation(message, details) {
|
|
119
|
+
return new OrbitMapAPIError(message, VALIDATION_ERROR, VALIDATION_STATUS, details);
|
|
120
|
+
}
|
|
39
121
|
static areaContextRequired(message, details) {
|
|
40
122
|
return new OrbitMapAPIError(message ||
|
|
41
123
|
'Area context is required. Pass --area <slug>, set ORBITMAP_AREA, or set a default ' +
|
package/dist/errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAmBA,iFAAiF;AACjF,MAAM,CAAC,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AAEzD,qFAAqF;AACrF,MAAM,CAAC,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;AAE7D,MAAM,gBAAgB,GAA2B;IAC/C,GAAG,EAAE,kBAAkB;IACvB,GAAG,EAAE,cAAc;CACpB,CAAC;AAEF,MAAM,OAAO,gBAAiB,SAAQ,KAAK;
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAmBA,iFAAiF;AACjF,MAAM,CAAC,MAAM,mBAAmB,GAAG,qB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