@xemahq/xema-shell-api-client 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 (60) hide show
  1. package/LICENSE +201 -0
  2. package/dist/custom-fetch.d.ts +52 -0
  3. package/dist/custom-fetch.js +152 -0
  4. package/dist/endpoints/health/health.d.ts +15 -0
  5. package/dist/endpoints/health/health.js +53 -0
  6. package/dist/endpoints/shell/shell.d.ts +20 -0
  7. package/dist/endpoints/shell/shell.js +38 -0
  8. package/dist/endpoints/xvfs/xvfs.d.ts +20 -0
  9. package/dist/endpoints/xvfs/xvfs.js +74 -0
  10. package/dist/index.d.ts +4 -0
  11. package/dist/index.js +26 -0
  12. package/dist/models/index.d.ts +23 -0
  13. package/dist/models/index.js +40 -0
  14. package/dist/models/shellParseResponseDto.d.ts +14 -0
  15. package/dist/models/shellParseResponseDto.js +2 -0
  16. package/dist/models/shellParseResponseDtoOptions.d.ts +10 -0
  17. package/dist/models/shellParseResponseDtoOptions.js +9 -0
  18. package/dist/models/shellRunDenialDto.d.ts +16 -0
  19. package/dist/models/shellRunDenialDto.js +2 -0
  20. package/dist/models/shellRunDenialDtoSuggestionsItem.d.ts +10 -0
  21. package/dist/models/shellRunDenialDtoSuggestionsItem.js +9 -0
  22. package/dist/models/shellRunDenialReasonDto.d.ts +11 -0
  23. package/dist/models/shellRunDenialReasonDto.js +9 -0
  24. package/dist/models/shellRunDiagnosticDto.d.ts +14 -0
  25. package/dist/models/shellRunDiagnosticDto.js +2 -0
  26. package/dist/models/shellRunDiagnosticDtoLevel.d.ts +13 -0
  27. package/dist/models/shellRunDiagnosticDtoLevel.js +15 -0
  28. package/dist/models/shellRunRequestDto.d.ts +19 -0
  29. package/dist/models/shellRunRequestDto.js +2 -0
  30. package/dist/models/shellRunRequestDtoOutputMode.d.ts +15 -0
  31. package/dist/models/shellRunRequestDtoOutputMode.js +14 -0
  32. package/dist/models/shellRunRequestDtoStdin.d.ts +13 -0
  33. package/dist/models/shellRunRequestDtoStdin.js +9 -0
  34. package/dist/models/shellRunResponseDto.d.ts +21 -0
  35. package/dist/models/shellRunResponseDto.js +2 -0
  36. package/dist/models/shellRunResponseDtoData.d.ts +13 -0
  37. package/dist/models/shellRunResponseDtoData.js +9 -0
  38. package/dist/models/shellRunResponseDtoStatus.d.ts +12 -0
  39. package/dist/models/shellRunResponseDtoStatus.js +14 -0
  40. package/dist/models/spaceKind.d.ts +20 -0
  41. package/dist/models/spaceKind.js +19 -0
  42. package/dist/models/spaceRefDto.d.ts +16 -0
  43. package/dist/models/spaceRefDto.js +2 -0
  44. package/dist/models/xemaObjectKind.d.ts +51 -0
  45. package/dist/models/xemaObjectKind.js +50 -0
  46. package/dist/models/xvfsControllerResolveParams.d.ts +13 -0
  47. package/dist/models/xvfsControllerResolveParams.js +9 -0
  48. package/dist/models/xvfsControllerWriteParams.d.ts +13 -0
  49. package/dist/models/xvfsControllerWriteParams.js +9 -0
  50. package/dist/models/xvfsResolvedDto.d.ts +19 -0
  51. package/dist/models/xvfsResolvedDto.js +2 -0
  52. package/dist/models/xvfsResolvedDtoPayload.d.ts +13 -0
  53. package/dist/models/xvfsResolvedDtoPayload.js +9 -0
  54. package/dist/models/xvfsWriteBodyDto.d.ts +12 -0
  55. package/dist/models/xvfsWriteBodyDto.js +2 -0
  56. package/dist/models/xvfsWriteBodyDtoPayload.d.ts +13 -0
  57. package/dist/models/xvfsWriteBodyDtoPayload.js +9 -0
  58. package/dist/models/xvfsWriteResultDto.d.ts +13 -0
  59. package/dist/models/xvfsWriteResultDto.js +9 -0
  60. package/package.json +27 -0
@@ -0,0 +1,23 @@
1
+ export * from './shellParseResponseDto';
2
+ export * from './shellParseResponseDtoOptions';
3
+ export * from './shellRunDenialDto';
4
+ export * from './shellRunDenialDtoSuggestionsItem';
5
+ export * from './shellRunDenialReasonDto';
6
+ export * from './shellRunDiagnosticDto';
7
+ export * from './shellRunDiagnosticDtoLevel';
8
+ export * from './shellRunRequestDto';
9
+ export * from './shellRunRequestDtoOutputMode';
10
+ export * from './shellRunRequestDtoStdin';
11
+ export * from './shellRunResponseDto';
12
+ export * from './shellRunResponseDtoData';
13
+ export * from './shellRunResponseDtoStatus';
14
+ export * from './spaceKind';
15
+ export * from './spaceRefDto';
16
+ export * from './xemaObjectKind';
17
+ export * from './xvfsControllerResolveParams';
18
+ export * from './xvfsControllerWriteParams';
19
+ export * from './xvfsResolvedDto';
20
+ export * from './xvfsResolvedDtoPayload';
21
+ export * from './xvfsWriteBodyDto';
22
+ export * from './xvfsWriteBodyDtoPayload';
23
+ export * from './xvfsWriteResultDto';
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ // Auto-generated by tooling/codegen/regenerate-models-barrel.js — do not edit manually.
18
+ __exportStar(require("./shellParseResponseDto"), exports);
19
+ __exportStar(require("./shellParseResponseDtoOptions"), exports);
20
+ __exportStar(require("./shellRunDenialDto"), exports);
21
+ __exportStar(require("./shellRunDenialDtoSuggestionsItem"), exports);
22
+ __exportStar(require("./shellRunDenialReasonDto"), exports);
23
+ __exportStar(require("./shellRunDiagnosticDto"), exports);
24
+ __exportStar(require("./shellRunDiagnosticDtoLevel"), exports);
25
+ __exportStar(require("./shellRunRequestDto"), exports);
26
+ __exportStar(require("./shellRunRequestDtoOutputMode"), exports);
27
+ __exportStar(require("./shellRunRequestDtoStdin"), exports);
28
+ __exportStar(require("./shellRunResponseDto"), exports);
29
+ __exportStar(require("./shellRunResponseDtoData"), exports);
30
+ __exportStar(require("./shellRunResponseDtoStatus"), exports);
31
+ __exportStar(require("./spaceKind"), exports);
32
+ __exportStar(require("./spaceRefDto"), exports);
33
+ __exportStar(require("./xemaObjectKind"), exports);
34
+ __exportStar(require("./xvfsControllerResolveParams"), exports);
35
+ __exportStar(require("./xvfsControllerWriteParams"), exports);
36
+ __exportStar(require("./xvfsResolvedDto"), exports);
37
+ __exportStar(require("./xvfsResolvedDtoPayload"), exports);
38
+ __exportStar(require("./xvfsWriteBodyDto"), exports);
39
+ __exportStar(require("./xvfsWriteBodyDtoPayload"), exports);
40
+ __exportStar(require("./xvfsWriteResultDto"), exports);
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { ShellParseResponseDtoOptions } from './shellParseResponseDtoOptions';
9
+ export interface ShellParseResponseDto {
10
+ name: string;
11
+ positional: string[];
12
+ options: ShellParseResponseDtoOptions;
13
+ raw: string[];
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type ShellParseResponseDtoOptions = {
9
+ [key: string]: unknown;
10
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Xema Shell API
6
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { ShellRunDenialDtoSuggestionsItem } from './shellRunDenialDtoSuggestionsItem';
9
+ import type { ShellRunDenialReasonDto } from './shellRunDenialReasonDto';
10
+ export interface ShellRunDenialDto {
11
+ code: string;
12
+ capability: string;
13
+ environment: string;
14
+ reasons: ShellRunDenialReasonDto[];
15
+ suggestions: ShellRunDenialDtoSuggestionsItem[];
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type ShellRunDenialDtoSuggestionsItem = {
9
+ [key: string]: unknown;
10
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Xema Shell API
6
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export interface ShellRunDenialReasonDto {
9
+ code: string;
10
+ detail: string;
11
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Xema Shell API
6
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { ShellRunDiagnosticDtoLevel } from './shellRunDiagnosticDtoLevel';
9
+ export interface ShellRunDiagnosticDto {
10
+ level: ShellRunDiagnosticDtoLevel;
11
+ /** Structured diagnostic code (closed per handler). */
12
+ code: string;
13
+ message: string;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type ShellRunDiagnosticDtoLevel = typeof ShellRunDiagnosticDtoLevel[keyof typeof ShellRunDiagnosticDtoLevel];
9
+ export declare const ShellRunDiagnosticDtoLevel: {
10
+ readonly info: "info";
11
+ readonly warn: "warn";
12
+ readonly error: "error";
13
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Xema Shell API
6
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ShellRunDiagnosticDtoLevel = void 0;
11
+ exports.ShellRunDiagnosticDtoLevel = {
12
+ info: 'info',
13
+ warn: 'warn',
14
+ error: 'error',
15
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { ShellRunRequestDtoOutputMode } from './shellRunRequestDtoOutputMode';
9
+ import type { ShellRunRequestDtoStdin } from './shellRunRequestDtoStdin';
10
+ export interface ShellRunRequestDto {
11
+ /** Structured argv array. Never a raw string — no shell eval anywhere in the platform. */
12
+ argv: string[];
13
+ /** Closed-set output mode. Agent invocations through the `xema-shell:run@1` capability force `json`. */
14
+ outputMode: ShellRunRequestDtoOutputMode;
15
+ /** XVFS path the command runs against — passed through to handlers that take a cwd. */
16
+ cwd?: string;
17
+ /** Optional structured stdin for commands that take it. */
18
+ stdin?: ShellRunRequestDtoStdin;
19
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * Closed-set output mode. Agent invocations through the `xema-shell:run@1` capability force `json`.
10
+ */
11
+ export type ShellRunRequestDtoOutputMode = typeof ShellRunRequestDtoOutputMode[keyof typeof ShellRunRequestDtoOutputMode];
12
+ export declare const ShellRunRequestDtoOutputMode: {
13
+ readonly json: "json";
14
+ readonly human: "human";
15
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Xema Shell API
6
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ShellRunRequestDtoOutputMode = void 0;
11
+ exports.ShellRunRequestDtoOutputMode = {
12
+ json: 'json',
13
+ human: 'human',
14
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * Optional structured stdin for commands that take it.
10
+ */
11
+ export type ShellRunRequestDtoStdin = {
12
+ [key: string]: unknown;
13
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Xema Shell API
6
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { ShellRunDenialDto } from './shellRunDenialDto';
9
+ import type { ShellRunDiagnosticDto } from './shellRunDiagnosticDto';
10
+ import type { ShellRunResponseDtoData } from './shellRunResponseDtoData';
11
+ import type { ShellRunResponseDtoStatus } from './shellRunResponseDtoStatus';
12
+ export interface ShellRunResponseDto {
13
+ status: ShellRunResponseDtoStatus;
14
+ auditId: string;
15
+ /** Process-style exit code (0 = success). */
16
+ exitCode: number;
17
+ /** Structured handler output (shape varies per command). */
18
+ data?: ShellRunResponseDtoData;
19
+ diagnostics?: ShellRunDiagnosticDto[];
20
+ denial?: ShellRunDenialDto;
21
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * Structured handler output (shape varies per command).
10
+ */
11
+ export type ShellRunResponseDtoData = {
12
+ [key: string]: unknown;
13
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Xema Shell API
6
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type ShellRunResponseDtoStatus = typeof ShellRunResponseDtoStatus[keyof typeof ShellRunResponseDtoStatus];
9
+ export declare const ShellRunResponseDtoStatus: {
10
+ readonly allowed: "allowed";
11
+ readonly denied: "denied";
12
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Xema Shell API
6
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ShellRunResponseDtoStatus = void 0;
11
+ exports.ShellRunResponseDtoStatus = {
12
+ allowed: 'allowed',
13
+ denied: 'denied',
14
+ };
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * Ownership tier (system | biome | org | project | user).
10
+ */
11
+ export type SpaceKind = typeof SpaceKind[keyof typeof SpaceKind];
12
+ export declare const SpaceKind: {
13
+ readonly system: "system";
14
+ readonly org: "org";
15
+ readonly project: "project";
16
+ readonly app: "app";
17
+ readonly session: "session";
18
+ readonly biome: "biome";
19
+ readonly user: "user";
20
+ };
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Xema Shell API
6
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.SpaceKind = void 0;
11
+ exports.SpaceKind = {
12
+ system: 'system',
13
+ org: 'org',
14
+ project: 'project',
15
+ app: 'app',
16
+ session: 'session',
17
+ biome: 'biome',
18
+ user: 'user',
19
+ };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { SpaceKind } from './spaceKind';
9
+ export interface SpaceRefDto {
10
+ /** Ownership tier (system | biome | org | project | user). */
11
+ tier: SpaceKind;
12
+ orgId?: string;
13
+ projectId?: string;
14
+ biomeId?: string;
15
+ userId?: string;
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * Closed-set object kind.
10
+ */
11
+ export type XemaObjectKind = typeof XemaObjectKind[keyof typeof XemaObjectKind];
12
+ export declare const XemaObjectKind: {
13
+ readonly biome: "biome";
14
+ readonly app: "app";
15
+ readonly 'app-client': "app-client";
16
+ readonly 'audience-policy': "audience-policy";
17
+ readonly 'external-subject': "external-subject";
18
+ readonly 'delegated-session': "delegated-session";
19
+ readonly agent: "agent";
20
+ readonly 'agent-composition': "agent-composition";
21
+ readonly skill: "skill";
22
+ readonly tool: "tool";
23
+ readonly model: "model";
24
+ readonly 'model-resolution-rule': "model-resolution-rule";
25
+ readonly workflow: "workflow";
26
+ readonly 'workflow-run': "workflow-run";
27
+ readonly 'gate-action': "gate-action";
28
+ readonly connector: "connector";
29
+ readonly 'connector-binding': "connector-binding";
30
+ readonly 'mount-source': "mount-source";
31
+ readonly 'artifact-type': "artifact-type";
32
+ readonly artifact: "artifact";
33
+ readonly 'knowledge-space': "knowledge-space";
34
+ readonly 'knowledge-page': "knowledge-page";
35
+ readonly 'document-template': "document-template";
36
+ readonly 'document-theme': "document-theme";
37
+ readonly 'chart-runtime': "chart-runtime";
38
+ readonly 'presentation-runtime': "presentation-runtime";
39
+ readonly 'widget-kind': "widget-kind";
40
+ readonly capability: "capability";
41
+ readonly 'execution-environment': "execution-environment";
42
+ readonly 'capability-grant': "capability-grant";
43
+ readonly 'approval-rule': "approval-rule";
44
+ readonly memory: "memory";
45
+ readonly 'memory-relation': "memory-relation";
46
+ readonly session: "session";
47
+ readonly 'event-stream': "event-stream";
48
+ readonly 'event-subscription': "event-subscription";
49
+ readonly 'contribution-entry': "contribution-entry";
50
+ readonly concept: "concept";
51
+ };
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Xema Shell API
6
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.XemaObjectKind = void 0;
11
+ exports.XemaObjectKind = {
12
+ biome: 'biome',
13
+ app: 'app',
14
+ 'app-client': 'app-client',
15
+ 'audience-policy': 'audience-policy',
16
+ 'external-subject': 'external-subject',
17
+ 'delegated-session': 'delegated-session',
18
+ agent: 'agent',
19
+ 'agent-composition': 'agent-composition',
20
+ skill: 'skill',
21
+ tool: 'tool',
22
+ model: 'model',
23
+ 'model-resolution-rule': 'model-resolution-rule',
24
+ workflow: 'workflow',
25
+ 'workflow-run': 'workflow-run',
26
+ 'gate-action': 'gate-action',
27
+ connector: 'connector',
28
+ 'connector-binding': 'connector-binding',
29
+ 'mount-source': 'mount-source',
30
+ 'artifact-type': 'artifact-type',
31
+ artifact: 'artifact',
32
+ 'knowledge-space': 'knowledge-space',
33
+ 'knowledge-page': 'knowledge-page',
34
+ 'document-template': 'document-template',
35
+ 'document-theme': 'document-theme',
36
+ 'chart-runtime': 'chart-runtime',
37
+ 'presentation-runtime': 'presentation-runtime',
38
+ 'widget-kind': 'widget-kind',
39
+ capability: 'capability',
40
+ 'execution-environment': 'execution-environment',
41
+ 'capability-grant': 'capability-grant',
42
+ 'approval-rule': 'approval-rule',
43
+ memory: 'memory',
44
+ 'memory-relation': 'memory-relation',
45
+ session: 'session',
46
+ 'event-stream': 'event-stream',
47
+ 'event-subscription': 'event-subscription',
48
+ 'contribution-entry': 'contribution-entry',
49
+ concept: 'concept',
50
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type XvfsControllerResolveParams = {
9
+ /**
10
+ * XVFS path to resolve.
11
+ */
12
+ path: string;
13
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Xema Shell API
6
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type XvfsControllerWriteParams = {
9
+ /**
10
+ * XVFS path to write to (e.g. /orgs/acme/projects/support/agent/code-reviewer).
11
+ */
12
+ path: string;
13
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Xema Shell API
6
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { SpaceRefDto } from './spaceRefDto';
9
+ import type { XemaObjectKind } from './xemaObjectKind';
10
+ import type { XvfsResolvedDtoPayload } from './xvfsResolvedDtoPayload';
11
+ export interface XvfsResolvedDto {
12
+ /** Closed-set object kind. */
13
+ kind: XemaObjectKind;
14
+ /** Canonical `xema://...` ref this path resolved to. */
15
+ ref: string;
16
+ scope: SpaceRefDto;
17
+ /** Kind-specific payload. Schema is supplied by the owning domain contract package. */
18
+ payload: XvfsResolvedDtoPayload;
19
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Xema Shell API
5
+ * Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * Kind-specific payload. Schema is supplied by the owning domain contract package.
10
+ */
11
+ export type XvfsResolvedDtoPayload = {
12
+ [key: string]: unknown;
13
+ };