@akai-workflow-builder/cli-sdk 0.1.14 → 0.1.16

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/dist/errors.d.ts CHANGED
@@ -85,5 +85,47 @@ export declare class AkaiToolError extends AkaiError {
85
85
  static rateLimited(message: string, meta?: Record<string, unknown>): AkaiToolError;
86
86
  /** `unavailable` → host **503**: upstream down/timed-out/unreachable; retryable. */
87
87
  static unavailable(message: string, meta?: Record<string, unknown>): AkaiToolError;
88
+ /**
89
+ * Map an HTTP status to the right typed error — the canonical status→kind
90
+ * switch, so authors don't hand-roll (and subtly disagree on) it per
91
+ * integration. The upstream status is recorded in `meta.status`; a 5xx adds
92
+ * `meta.retryable: true` so the agent knows a retry may help. Use the named
93
+ * factories above when you already know the kind; use this when all you have
94
+ * is a response status.
95
+ *
96
+ * Mapping: 400 → `invalid_input` · 401 → `auth_expired` · 403 → `forbidden` ·
97
+ * 404 → `not_found` · 409 → `conflict` · 429 → `rate_limited` · ≥500 →
98
+ * `unavailable` (retryable) · any other 4xx → `invalid_input` · any other
99
+ * status (a non-ok 1xx/2xx/3xx — e.g. an unexpected redirect when
100
+ * `Response.ok` is false) → `unavailable` (retryable), since it signals
101
+ * upstream oddness, not bad caller input.
102
+ *
103
+ * @example
104
+ * if (!res.ok) {
105
+ * const body = await res.text().catch(() => '');
106
+ * throw AkaiToolError.fromHttpStatus(res.status, `GitHub ${res.status}: ${describeError(body)}`, { url });
107
+ * }
108
+ */
109
+ static fromHttpStatus(status: number, message: string, meta?: Record<string, unknown>): AkaiToolError;
88
110
  }
111
+ /**
112
+ * Pull a human-readable reason out of an upstream error response body, for use
113
+ * as the `message` of an {@link AkaiToolError}. Tries the common JSON shapes
114
+ * (`message`, `error`, `errors[0].message | detail`, `detail`), falls back to
115
+ * the raw text, and caps length so a giant body can't bloat the error.
116
+ *
117
+ * SECURITY: the returned string becomes an {@link AkaiToolError} `message`,
118
+ * which the host returns to the caller verbatim. An upstream error body is not
119
+ * guaranteed to be free of sensitive data (tokens, emails, internal request
120
+ * ids). This helper does NOT redact — only pass its result to a caller-facing
121
+ * error when you know the upstream's error bodies are safe to expose; otherwise
122
+ * log the raw body server-side and surface a fixed, vetted message instead.
123
+ *
124
+ * @param body raw response body text
125
+ * @param maxLength cap on the returned string (default 600)
126
+ *
127
+ * @example
128
+ * throw AkaiToolError.fromHttpStatus(res.status, describeError(await res.text()));
129
+ */
130
+ export declare function describeError(body: string, maxLength?: number): string;
89
131
  //# sourceMappingURL=errors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,qBAAa,SAAU,SAAQ,KAAK;IAClC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;gBAC5B,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAK5D;AAED,2EAA2E;AAC3E,qBAAa,aAAc,SAAQ,SAAS;CAAG;AAE/C,2EAA2E;AAC3E,qBAAa,mBAAoB,SAAQ,aAAa;CAAG;AAEzD,+EAA+E;AAC/E,qBAAa,cAAe,SAAQ,SAAS;CAAG;AAEhD,8CAA8C;AAC9C,qBAAa,eAAgB,SAAQ,SAAS;CAAG;AAEjD,sDAAsD;AACtD,qBAAa,eAAgB,SAAQ,SAAS;CAAG;AAEjD,+DAA+D;AAC/D,qBAAa,iBAAkB,SAAQ,SAAS;CAAG;AAGnD,8EAA8E;AAC9E,qBAAa,aAAc,SAAQ,SAAS;CAAG;AAE/C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,MAAM,aAAa,GACrB,WAAW,GACX,WAAW,GACX,cAAc,GACd,eAAe,GACf,UAAU,GACV,cAAc,GACd,aAAa,CAAC;AAElB;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,aAAc,S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MAAM,CAAC,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,aAAa;IAIhF,sFAAsF;IACtF,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,aAAa;IAIlF,2EAA2E;IAC3E,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,aAAa;IAI/E,kGAAkG;IAClG,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,aAAa;IAIlF,oFAAoF;IACpF,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,aAAa;IAIlF;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,CAAC,cAAc,CACnB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,IAAI,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GACjC,aAAa;CA4BjB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,SAAM,GAAG,MAAM,CAmBnE"}
package/dist/errors.js CHANGED
@@ -83,4 +83,93 @@ export class AkaiToolError extends AkaiError {
83
83
  static unavailable(message, meta) {
84
84
  return new AkaiToolError('unavailable', message, meta);
85
85
  }
86
+ /**
87
+ * Map an HTTP status to the right typed error — the canonical status→kind
88
+ * switch, so authors don't hand-roll (and subtly disagree on) it per
89
+ * integration. The upstream status is recorded in `meta.status`; a 5xx adds
90
+ * `meta.retryable: true` so the agent knows a retry may help. Use the named
91
+ * factories above when you already know the kind; use this when all you have
92
+ * is a response status.
93
+ *
94
+ * Mapping: 400 → `invalid_input` · 401 → `auth_expired` · 403 → `forbidden` ·
95
+ * 404 → `not_found` · 409 → `conflict` · 429 → `rate_limited` · ≥500 →
96
+ * `unavailable` (retryable) · any other 4xx → `invalid_input` · any other
97
+ * status (a non-ok 1xx/2xx/3xx — e.g. an unexpected redirect when
98
+ * `Response.ok` is false) → `unavailable` (retryable), since it signals
99
+ * upstream oddness, not bad caller input.
100
+ *
101
+ * @example
102
+ * if (!res.ok) {
103
+ * const body = await res.text().catch(() => '');
104
+ * throw AkaiToolError.fromHttpStatus(res.status, `GitHub ${res.status}: ${describeError(body)}`, { url });
105
+ * }
106
+ */
107
+ static fromHttpStatus(status, message, meta = {}) {
108
+ // This helper owns `retryable` — it is set only on the `unavailable` branch.
109
+ // Drop any caller-supplied value so a non-retryable kind (e.g. a 4xx) can't
110
+ // come out contradictorily marked retryable.
111
+ const m = { ...meta, status };
112
+ delete m.retryable;
113
+ switch (status) {
114
+ case 400:
115
+ return AkaiToolError.invalidInput(message, m);
116
+ case 401:
117
+ return AkaiToolError.authExpired(message, m);
118
+ case 403:
119
+ return AkaiToolError.forbidden(message, m);
120
+ case 404:
121
+ return AkaiToolError.notFound(message, m);
122
+ case 409:
123
+ return AkaiToolError.conflict(message, m);
124
+ case 429:
125
+ return AkaiToolError.rateLimited(message, m);
126
+ default:
127
+ // True 4xx → caller's request was wrong (invalid_input). Everything
128
+ // else (≥500, or a non-ok 1xx/2xx/3xx like an unexpected redirect) is
129
+ // upstream oddness, not bad input → unavailable + retryable.
130
+ return status >= 400 && status < 500
131
+ ? AkaiToolError.invalidInput(message, m)
132
+ : AkaiToolError.unavailable(message, { ...m, retryable: true });
133
+ }
134
+ }
135
+ }
136
+ /**
137
+ * Pull a human-readable reason out of an upstream error response body, for use
138
+ * as the `message` of an {@link AkaiToolError}. Tries the common JSON shapes
139
+ * (`message`, `error`, `errors[0].message | detail`, `detail`), falls back to
140
+ * the raw text, and caps length so a giant body can't bloat the error.
141
+ *
142
+ * SECURITY: the returned string becomes an {@link AkaiToolError} `message`,
143
+ * which the host returns to the caller verbatim. An upstream error body is not
144
+ * guaranteed to be free of sensitive data (tokens, emails, internal request
145
+ * ids). This helper does NOT redact — only pass its result to a caller-facing
146
+ * error when you know the upstream's error bodies are safe to expose; otherwise
147
+ * log the raw body server-side and surface a fixed, vetted message instead.
148
+ *
149
+ * @param body raw response body text
150
+ * @param maxLength cap on the returned string (default 600)
151
+ *
152
+ * @example
153
+ * throw AkaiToolError.fromHttpStatus(res.status, describeError(await res.text()));
154
+ */
155
+ export function describeError(body, maxLength = 600) {
156
+ const cap = (s) => (s.length > maxLength ? `${s.slice(0, maxLength)}…` : s);
157
+ const text = body.trim();
158
+ try {
159
+ const json = JSON.parse(text);
160
+ const errs = json.errors;
161
+ const first = Array.isArray(errs) ? errs[0] : undefined;
162
+ const reason = (typeof json.message === 'string' && json.message) ||
163
+ (typeof json.error === 'string' && json.error) ||
164
+ (first && typeof first.message === 'string' && first.message) ||
165
+ (first && typeof first.detail === 'string' && first.detail) ||
166
+ (typeof json.detail === 'string' && json.detail) ||
167
+ '';
168
+ if (reason)
169
+ return cap(reason);
170
+ }
171
+ catch {
172
+ // Non-JSON body (HTML error page, empty, plain text) — fall through to raw.
173
+ }
174
+ return cap(text) || 'no error detail in response body';
86
175
  }
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ export type { BuildCtxParams } from './ctx/build-ctx.js';
9
9
  export type { AnyToolDef, CLIDef, CLISpec, ConnectionAuthKind, ConnectionDef, ConnectionOAuthConfig, ConnectionSpec, DynamicEgress, InputOf, NetworkOptions, OAuthAdminField, OutputOf, PropertiesOf, PropertyDecl, RefreshStrategy, SecretDecl, SecretsOf, TokenEndpointAuthMethod, ToolCtx, ToolDef, ToolLogger, ToolOptions, ToolSpec, } from './types.js';
10
10
  export { createSafePath } from './ctx/safe-path.js';
11
11
  export type { SafePath } from './ctx/safe-path.js';
12
- export { AkaiConnectionError, AkaiEgressError, AkaiError, AkaiInputError, AkaiPathError, AkaiPropertyError, AkaiSecretError, AkaiSpecError, AkaiToolError, } from './errors.js';
12
+ export { AkaiConnectionError, AkaiEgressError, AkaiError, AkaiInputError, AkaiPathError, AkaiPropertyError, AkaiSecretError, AkaiSpecError, AkaiToolError, describeError, } from './errors.js';
13
13
  export type { ToolErrorKind } from './errors.js';
14
14
  export { ConnectionManifestSchema, ManifestJSONSchema, SCHEMA_VERSION, toSchema, validateManifest, } from './manifest/index.js';
15
15
  export type { ConnectionManifest, DynamicEgressManifest, HttpToolManifest, ManifestProperty, ManifestSecret, NativeToolManifest, SchemaVersion, ToolManifest, } from './manifest/index.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACjH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAC7E,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,YAAY,EACV,UAAU,EACV,MAAM,EACN,OAAO,EACP,kBAAkB,EAClB,aAAa,EACb,qBAAqB,EACrB,cAAc,EACd,aAAa,EACb,OAAO,EACP,cAAc,EACd,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ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AAM,oBAAoB,CAAC;AACzD,YAAY,EACV,UAAU,EACV,MAAM,EACN,OAAO,EACP,kBAAkB,EAClB,aAAa,EACb,qBAAqB,EACrB,cAAc,EACd,aAAa,EACb,OAAO,EACP,cAAc,EACd,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,UAAU,EACV,SAAS,EACT,uBAAuB,EACvB,OAAO,EACP,OAAO,EACP,UAAU,EACV,WAAW,EACX,QAAQ,GACT,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,YAAY,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,SAAS,EACT,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,aAAa,EACb,aAAa,GACd,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAClB,cAAc,EACd,QAAQ,EACR,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,kBAAkB,EAClB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,YAAY,GACb,MAAM,qBAAqB,CAAC"}
package/dist/index.js CHANGED
@@ -5,5 +5,5 @@ export { defineConnection, isAkaiConnection } from './define-connection.js';
5
5
  export { buildScopedSecrets, buildScopedProperties } from './ctx/secrets.js';
6
6
  export { buildCtx } from './ctx/build-ctx.js';
7
7
  export { createSafePath } from './ctx/safe-path.js';
8
- export { AkaiConnectionError, AkaiEgressError, AkaiError, AkaiInputError, AkaiPathError, AkaiPropertyError, AkaiSecretError, AkaiSpecError, AkaiToolError, } from './errors.js';
8
+ export { AkaiConnectionError, AkaiEgressError, AkaiError, AkaiInputError, AkaiPathError, AkaiPropertyError, AkaiSecretError, AkaiSpecError, AkaiToolError, describeError, } from './errors.js';
9
9
  export { ConnectionManifestSchema, ManifestJSONSchema, SCHEMA_VERSION, toSchema, validateManifest, } from './manifest/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akai-workflow-builder/cli-sdk",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "description": "Authoring SDK for atomic, agent-executable CLIs and tools.",
5
5
  "keywords": [
6
6
  "akai",