@vibesdotdev/vessel 0.0.0-stage → 1.0.0-rc.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/LICENSE +18 -0
- package/README.md +90 -2
- package/dist/apps/filesystem.vessel.plugin.d.ts +307 -0
- package/dist/apps/filesystem.vessel.plugin.d.ts.map +1 -0
- package/dist/apps/filesystem.vessel.plugin.js +134 -0
- package/dist/apps/filesystem.vessel.plugin.js.map +1 -0
- package/dist/apps/storage.vessel.plugin.d.ts +318 -0
- package/dist/apps/storage.vessel.plugin.d.ts.map +1 -0
- package/dist/apps/storage.vessel.plugin.js +132 -0
- package/dist/apps/storage.vessel.plugin.js.map +1 -0
- package/dist/apps/terminal.vessel.plugin.d.ts +306 -0
- package/dist/apps/terminal.vessel.plugin.d.ts.map +1 -0
- package/dist/apps/terminal.vessel.plugin.js +112 -0
- package/dist/apps/terminal.vessel.plugin.js.map +1 -0
- package/dist/boundary.d.ts +10 -0
- package/dist/boundary.d.ts.map +1 -0
- package/dist/boundary.js +43 -0
- package/dist/boundary.js.map +1 -0
- package/dist/client/helper.d.ts +4 -0
- package/dist/client/helper.d.ts.map +1 -0
- package/dist/client/helper.js +5 -0
- package/dist/client/helper.js.map +1 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +3 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/vessel-client.d.ts +39 -0
- package/dist/client/vessel-client.d.ts.map +1 -0
- package/dist/client/vessel-client.js +101 -0
- package/dist/client/vessel-client.js.map +1 -0
- package/dist/docs/vessel.docs.descriptor.d.ts +4 -0
- package/dist/docs/vessel.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/vessel.docs.descriptor.js +96 -0
- package/dist/docs/vessel.docs.descriptor.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/kinds.d.ts +24 -0
- package/dist/kinds.d.ts.map +1 -0
- package/dist/kinds.js +78 -0
- package/dist/kinds.js.map +1 -0
- package/dist/launch/cli/descriptor.d.ts +3 -0
- package/dist/launch/cli/descriptor.d.ts.map +1 -0
- package/dist/launch/cli/descriptor.js +24 -0
- package/dist/launch/cli/descriptor.js.map +1 -0
- package/dist/launch/cli/implementation.d.ts +7 -0
- package/dist/launch/cli/implementation.d.ts.map +1 -0
- package/dist/launch/cli/implementation.js +14 -0
- package/dist/launch/cli/implementation.js.map +1 -0
- package/dist/launch/cli/options.d.ts +10 -0
- package/dist/launch/cli/options.d.ts.map +1 -0
- package/dist/launch/cli/options.js +12 -0
- package/dist/launch/cli/options.js.map +1 -0
- package/dist/launch/cli/plugin.d.ts +4 -0
- package/dist/launch/cli/plugin.d.ts.map +1 -0
- package/dist/launch/cli/plugin.js +12 -0
- package/dist/launch/cli/plugin.js.map +1 -0
- package/dist/launch/cli/request.d.ts +23 -0
- package/dist/launch/cli/request.d.ts.map +1 -0
- package/dist/launch/cli/request.js +27 -0
- package/dist/launch/cli/request.js.map +1 -0
- package/dist/launch/ensure-host.d.ts +48 -0
- package/dist/launch/ensure-host.d.ts.map +1 -0
- package/dist/launch/ensure-host.js +54 -0
- package/dist/launch/ensure-host.js.map +1 -0
- package/dist/launch/index.d.ts +9 -0
- package/dist/launch/index.d.ts.map +1 -0
- package/dist/launch/index.js +52 -0
- package/dist/launch/index.js.map +1 -0
- package/dist/launch/plugin.d.ts +6 -0
- package/dist/launch/plugin.d.ts.map +1 -0
- package/dist/launch/plugin.js +20 -0
- package/dist/launch/plugin.js.map +1 -0
- package/dist/launch/schema.d.ts +66 -0
- package/dist/launch/schema.d.ts.map +1 -0
- package/dist/launch/schema.js +71 -0
- package/dist/launch/schema.js.map +1 -0
- package/dist/launch/workspaces.d.ts +134 -0
- package/dist/launch/workspaces.d.ts.map +1 -0
- package/dist/launch/workspaces.js +60 -0
- package/dist/launch/workspaces.js.map +1 -0
- package/dist/module-not-found.d.ts +3 -0
- package/dist/module-not-found.d.ts.map +1 -0
- package/dist/module-not-found.js +18 -0
- package/dist/module-not-found.js.map +1 -0
- package/dist/schemas/platform.config.descriptor.d.ts +34 -0
- package/dist/schemas/platform.config.descriptor.d.ts.map +1 -0
- package/dist/schemas/platform.config.descriptor.js +13 -0
- package/dist/schemas/platform.config.descriptor.js.map +1 -0
- package/dist/schemas.d.ts +2213 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +661 -0
- package/dist/schemas.js.map +1 -0
- package/dist/shell/app-surface.d.ts +55 -0
- package/dist/shell/app-surface.d.ts.map +1 -0
- package/dist/shell/app-surface.js +159 -0
- package/dist/shell/app-surface.js.map +1 -0
- package/dist/shell/dock.d.ts +30 -0
- package/dist/shell/dock.d.ts.map +1 -0
- package/dist/shell/dock.js +75 -0
- package/dist/shell/dock.js.map +1 -0
- package/dist/shell/index.d.ts +11 -0
- package/dist/shell/index.d.ts.map +1 -0
- package/dist/shell/index.js +10 -0
- package/dist/shell/index.js.map +1 -0
- package/dist/shell/launch-resolution.d.ts +49 -0
- package/dist/shell/launch-resolution.d.ts.map +1 -0
- package/dist/shell/launch-resolution.js +163 -0
- package/dist/shell/launch-resolution.js.map +1 -0
- package/dist/shell/layout-grid.d.ts +30 -0
- package/dist/shell/layout-grid.d.ts.map +1 -0
- package/dist/shell/layout-grid.js +56 -0
- package/dist/shell/layout-grid.js.map +1 -0
- package/dist/shell/owner-surface-lifecycle.d.ts +30 -0
- package/dist/shell/owner-surface-lifecycle.d.ts.map +1 -0
- package/dist/shell/owner-surface-lifecycle.js +54 -0
- package/dist/shell/owner-surface-lifecycle.js.map +1 -0
- package/dist/shell/ports.d.ts +107 -0
- package/dist/shell/ports.d.ts.map +1 -0
- package/dist/shell/ports.js +154 -0
- package/dist/shell/ports.js.map +1 -0
- package/dist/shell/types.d.ts +7 -0
- package/dist/shell/types.d.ts.map +1 -0
- package/dist/shell/types.js +2 -0
- package/dist/shell/types.js.map +1 -0
- package/dist/shell/window-manager.d.ts +82 -0
- package/dist/shell/window-manager.d.ts.map +1 -0
- package/dist/shell/window-manager.js +285 -0
- package/dist/shell/window-manager.js.map +1 -0
- package/dist/shell/workspace-memory.d.ts +42 -0
- package/dist/shell/workspace-memory.d.ts.map +1 -0
- package/dist/shell/workspace-memory.js +65 -0
- package/dist/shell/workspace-memory.js.map +1 -0
- package/dist/shell/workspace-state.d.ts +47 -0
- package/dist/shell/workspace-state.d.ts.map +1 -0
- package/dist/shell/workspace-state.js +137 -0
- package/dist/shell/workspace-state.js.map +1 -0
- package/dist/vessel.docs.plugin.d.ts +4 -0
- package/dist/vessel.docs.plugin.d.ts.map +1 -0
- package/dist/vessel.docs.plugin.js +11 -0
- package/dist/vessel.docs.plugin.js.map +1 -0
- package/dist/vessel.plugin.d.ts +3 -0
- package/dist/vessel.plugin.d.ts.map +1 -0
- package/dist/vessel.plugin.js +23 -0
- package/dist/vessel.plugin.js.map +1 -0
- package/dist/vessel.runtime-client.descriptor.d.ts +4 -0
- package/dist/vessel.runtime-client.descriptor.d.ts.map +1 -0
- package/dist/vessel.runtime-client.descriptor.js +13 -0
- package/dist/vessel.runtime-client.descriptor.js.map +1 -0
- package/dist/vessel.workspace-state.plugin.d.ts +4 -0
- package/dist/vessel.workspace-state.plugin.d.ts.map +1 -0
- package/dist/vessel.workspace-state.plugin.js +12 -0
- package/dist/vessel.workspace-state.plugin.js.map +1 -0
- package/dist/vessel.workspace.plugin.d.ts +3 -0
- package/dist/vessel.workspace.plugin.d.ts.map +1 -0
- package/dist/vessel.workspace.plugin.js +17 -0
- package/dist/vessel.workspace.plugin.js.map +1 -0
- package/dist/whiteboard/client.d.ts +35 -0
- package/dist/whiteboard/client.d.ts.map +1 -0
- package/dist/whiteboard/client.js +185 -0
- package/dist/whiteboard/client.js.map +1 -0
- package/dist/whiteboard/descriptor.d.ts +5 -0
- package/dist/whiteboard/descriptor.d.ts.map +1 -0
- package/dist/whiteboard/descriptor.js +14 -0
- package/dist/whiteboard/descriptor.js.map +1 -0
- package/dist/whiteboard/index.d.ts +7 -0
- package/dist/whiteboard/index.d.ts.map +1 -0
- package/dist/whiteboard/index.js +7 -0
- package/dist/whiteboard/index.js.map +1 -0
- package/dist/whiteboard/plugin.d.ts +3 -0
- package/dist/whiteboard/plugin.d.ts.map +1 -0
- package/dist/whiteboard/plugin.js +42 -0
- package/dist/whiteboard/plugin.js.map +1 -0
- package/dist/whiteboard/schemas.d.ts +479 -0
- package/dist/whiteboard/schemas.d.ts.map +1 -0
- package/dist/whiteboard/schemas.js +55 -0
- package/dist/whiteboard/schemas.js.map +1 -0
- package/dist/whiteboard/tools/apply.impl.d.ts +7 -0
- package/dist/whiteboard/tools/apply.impl.d.ts.map +1 -0
- package/dist/whiteboard/tools/apply.impl.js +12 -0
- package/dist/whiteboard/tools/apply.impl.js.map +1 -0
- package/dist/whiteboard/tools/descriptors.d.ts +489 -0
- package/dist/whiteboard/tools/descriptors.d.ts.map +1 -0
- package/dist/whiteboard/tools/descriptors.js +72 -0
- package/dist/whiteboard/tools/descriptors.js.map +1 -0
- package/dist/whiteboard/tools/get.impl.d.ts +7 -0
- package/dist/whiteboard/tools/get.impl.d.ts.map +1 -0
- package/dist/whiteboard/tools/get.impl.js +12 -0
- package/dist/whiteboard/tools/get.impl.js.map +1 -0
- package/dist/whiteboard/tools/open.impl.d.ts +7 -0
- package/dist/whiteboard/tools/open.impl.d.ts.map +1 -0
- package/dist/whiteboard/tools/open.impl.js +12 -0
- package/dist/whiteboard/tools/open.impl.js.map +1 -0
- package/dist/whiteboard/tools/signal.impl.d.ts +7 -0
- package/dist/whiteboard/tools/signal.impl.d.ts.map +1 -0
- package/dist/whiteboard/tools/signal.impl.js +11 -0
- package/dist/whiteboard/tools/signal.impl.js.map +1 -0
- package/dist/whiteboard/vessel-whiteboard.descriptors.d.ts +4 -0
- package/dist/whiteboard/vessel-whiteboard.descriptors.d.ts.map +1 -0
- package/dist/whiteboard/vessel-whiteboard.descriptors.js +61 -0
- package/dist/whiteboard/vessel-whiteboard.descriptors.js.map +1 -0
- package/dist/workspace/vessel-hub.descriptors.d.ts +543 -0
- package/dist/workspace/vessel-hub.descriptors.d.ts.map +1 -0
- package/dist/workspace/vessel-hub.descriptors.js +544 -0
- package/dist/workspace/vessel-hub.descriptors.js.map +1 -0
- package/dist/workspace/vessel-platform.descriptors.d.ts +809 -0
- package/dist/workspace/vessel-platform.descriptors.d.ts.map +1 -0
- package/dist/workspace/vessel-platform.descriptors.js +207 -0
- package/dist/workspace/vessel-platform.descriptors.js.map +1 -0
- package/dist/workspace/vessel-workspace.descriptors.d.ts +537 -0
- package/dist/workspace/vessel-workspace.descriptors.d.ts.map +1 -0
- package/dist/workspace/vessel-workspace.descriptors.js +115 -0
- package/dist/workspace/vessel-workspace.descriptors.js.map +1 -0
- package/dist/workspace-state/index.d.ts +3 -0
- package/dist/workspace-state/index.d.ts.map +1 -0
- package/dist/workspace-state/index.js +3 -0
- package/dist/workspace-state/index.js.map +1 -0
- package/dist/workspace-state/vessel.workspace-state.storage.descriptor.d.ts +51 -0
- package/dist/workspace-state/vessel.workspace-state.storage.descriptor.d.ts.map +1 -0
- package/dist/workspace-state/vessel.workspace-state.storage.descriptor.js +24 -0
- package/dist/workspace-state/vessel.workspace-state.storage.descriptor.js.map +1 -0
- package/package.json +207 -4
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
export declare const storageExplorerVesselStateSchema: z.ZodObject<{
|
|
3
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
4
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
5
|
+
browse: "browse";
|
|
6
|
+
connect: "connect";
|
|
7
|
+
}>>;
|
|
8
|
+
}, z.core.$strict>;
|
|
9
|
+
export declare const storageExplorerVesselAppDescriptor: {
|
|
10
|
+
identity: {
|
|
11
|
+
glyph: string;
|
|
12
|
+
accent: "teal" | "amber" | "azure" | "blue" | "cyan" | "lime" | "rose" | "violet" | "neutral";
|
|
13
|
+
artworkId?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
id: string;
|
|
16
|
+
kind: "vessel/app";
|
|
17
|
+
name: string;
|
|
18
|
+
description: string;
|
|
19
|
+
owner: {
|
|
20
|
+
packageName: string;
|
|
21
|
+
entrypoint?: string | undefined;
|
|
22
|
+
specPath?: string | undefined;
|
|
23
|
+
runtimeKind?: string | undefined;
|
|
24
|
+
runtimeId?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
category: "agent" | "runtime" | "service" | "tool" | "app" | "feature" | "settings" | "docs" | "audit";
|
|
27
|
+
launch: {
|
|
28
|
+
type: "svelte-component";
|
|
29
|
+
import: string;
|
|
30
|
+
exportName?: string | undefined;
|
|
31
|
+
} | {
|
|
32
|
+
type: "vessel-surface";
|
|
33
|
+
surfaceId: string;
|
|
34
|
+
initialState?: Record<string, string | number | boolean | null> | undefined;
|
|
35
|
+
} | {
|
|
36
|
+
type: "sveltekit-route";
|
|
37
|
+
href: string;
|
|
38
|
+
} | {
|
|
39
|
+
type: "runtime-client";
|
|
40
|
+
clientId: string;
|
|
41
|
+
view: "default" | "inspector";
|
|
42
|
+
} | {
|
|
43
|
+
type: "tui-app";
|
|
44
|
+
route: string;
|
|
45
|
+
} | {
|
|
46
|
+
type: "tool";
|
|
47
|
+
toolId: string;
|
|
48
|
+
} | {
|
|
49
|
+
type: "config-manifest";
|
|
50
|
+
manifestId: string;
|
|
51
|
+
} | {
|
|
52
|
+
type: "docs-topic";
|
|
53
|
+
topicId: string;
|
|
54
|
+
} | {
|
|
55
|
+
type: "runtime-descriptor";
|
|
56
|
+
kind: string;
|
|
57
|
+
id: string;
|
|
58
|
+
} | {
|
|
59
|
+
type: "platform-component";
|
|
60
|
+
componentId: string;
|
|
61
|
+
version: string;
|
|
62
|
+
props: Record<string, unknown>;
|
|
63
|
+
origin?: string | undefined;
|
|
64
|
+
} | {
|
|
65
|
+
type: "applet-artifact";
|
|
66
|
+
artifactId: string;
|
|
67
|
+
browserRuntime: boolean;
|
|
68
|
+
componentRef?: {
|
|
69
|
+
id: string;
|
|
70
|
+
version: string;
|
|
71
|
+
props: Record<string, unknown>;
|
|
72
|
+
origin?: string | undefined;
|
|
73
|
+
} | undefined;
|
|
74
|
+
} | {
|
|
75
|
+
type: "external-url";
|
|
76
|
+
href: string;
|
|
77
|
+
};
|
|
78
|
+
availability: {
|
|
79
|
+
status: "unknown" | "unavailable" | "available" | "degraded";
|
|
80
|
+
summary: string;
|
|
81
|
+
lastCheckedAt?: string | undefined;
|
|
82
|
+
};
|
|
83
|
+
defaultWindow: {
|
|
84
|
+
width: number;
|
|
85
|
+
height: number;
|
|
86
|
+
x: number;
|
|
87
|
+
y: number;
|
|
88
|
+
minWidth: number;
|
|
89
|
+
minHeight: number;
|
|
90
|
+
};
|
|
91
|
+
tags: string[];
|
|
92
|
+
workLocations: ("browser" | "cloud" | "computer" | "vessel")[];
|
|
93
|
+
readinessAreaIds: string[];
|
|
94
|
+
setupStepIds: string[];
|
|
95
|
+
hardware?: string[] | undefined;
|
|
96
|
+
enabled?: boolean | undefined;
|
|
97
|
+
priority?: number | undefined;
|
|
98
|
+
capabilityId?: string | undefined;
|
|
99
|
+
requiredContext?: string[] | undefined;
|
|
100
|
+
optionalContext?: string[] | undefined;
|
|
101
|
+
config?: unknown;
|
|
102
|
+
retention?: string | {
|
|
103
|
+
reason: string;
|
|
104
|
+
maxAgeDays?: number | undefined;
|
|
105
|
+
maxEntries?: number | undefined;
|
|
106
|
+
maxBytes?: number | undefined;
|
|
107
|
+
cascadeFrom?: string | undefined;
|
|
108
|
+
ageField?: string | undefined;
|
|
109
|
+
enforcedBy?: string | undefined;
|
|
110
|
+
} | undefined;
|
|
111
|
+
ports?: {
|
|
112
|
+
id: string;
|
|
113
|
+
label: string;
|
|
114
|
+
direction: "output" | "input";
|
|
115
|
+
schema: {
|
|
116
|
+
mediaType: string;
|
|
117
|
+
shape: "any" | "event" | "stream" | "json" | "text" | "binary";
|
|
118
|
+
schemaId?: string | undefined;
|
|
119
|
+
};
|
|
120
|
+
multiple: boolean;
|
|
121
|
+
required: boolean;
|
|
122
|
+
}[] | undefined;
|
|
123
|
+
};
|
|
124
|
+
export declare const storageExplorerVesselReadinessDescriptor: {
|
|
125
|
+
id: string;
|
|
126
|
+
kind: "vessel/readiness-area";
|
|
127
|
+
label: string;
|
|
128
|
+
userPromise: string;
|
|
129
|
+
status: "unknown" | "ready" | "needs-setup" | "planned" | "blocked";
|
|
130
|
+
summary: string;
|
|
131
|
+
owner: {
|
|
132
|
+
packageName: string;
|
|
133
|
+
entrypoint?: string | undefined;
|
|
134
|
+
specPath?: string | undefined;
|
|
135
|
+
runtimeKind?: string | undefined;
|
|
136
|
+
runtimeId?: string | undefined;
|
|
137
|
+
};
|
|
138
|
+
targetKinds: string[];
|
|
139
|
+
evidence: ({
|
|
140
|
+
type: "runtime-query";
|
|
141
|
+
kind: string;
|
|
142
|
+
resultSummary: string;
|
|
143
|
+
id?: string | undefined;
|
|
144
|
+
} | {
|
|
145
|
+
type: "command";
|
|
146
|
+
cwd: string;
|
|
147
|
+
command: string;
|
|
148
|
+
exitCode: number;
|
|
149
|
+
summary: string;
|
|
150
|
+
} | {
|
|
151
|
+
type: "http";
|
|
152
|
+
method: string;
|
|
153
|
+
url: string;
|
|
154
|
+
status: number;
|
|
155
|
+
summary: string;
|
|
156
|
+
} | {
|
|
157
|
+
type: "screenshot";
|
|
158
|
+
path: string;
|
|
159
|
+
summary: string;
|
|
160
|
+
viewport?: string | undefined;
|
|
161
|
+
} | {
|
|
162
|
+
type: "source";
|
|
163
|
+
path: string;
|
|
164
|
+
summary: string;
|
|
165
|
+
line?: number | undefined;
|
|
166
|
+
} | {
|
|
167
|
+
type: "spec";
|
|
168
|
+
path: string;
|
|
169
|
+
summary: string;
|
|
170
|
+
heading?: string | undefined;
|
|
171
|
+
})[];
|
|
172
|
+
linkedFindingIds: string[];
|
|
173
|
+
upstreamWorkItemIds: string[];
|
|
174
|
+
proofGate: string;
|
|
175
|
+
name?: string | undefined;
|
|
176
|
+
description?: string | undefined;
|
|
177
|
+
tags?: string[] | undefined;
|
|
178
|
+
hardware?: string[] | undefined;
|
|
179
|
+
enabled?: boolean | undefined;
|
|
180
|
+
priority?: number | undefined;
|
|
181
|
+
capabilityId?: string | undefined;
|
|
182
|
+
requiredContext?: string[] | undefined;
|
|
183
|
+
optionalContext?: string[] | undefined;
|
|
184
|
+
config?: unknown;
|
|
185
|
+
retention?: string | {
|
|
186
|
+
reason: string;
|
|
187
|
+
maxAgeDays?: number | undefined;
|
|
188
|
+
maxEntries?: number | undefined;
|
|
189
|
+
maxBytes?: number | undefined;
|
|
190
|
+
cascadeFrom?: string | undefined;
|
|
191
|
+
ageField?: string | undefined;
|
|
192
|
+
enforcedBy?: string | undefined;
|
|
193
|
+
} | undefined;
|
|
194
|
+
nextAction?: {
|
|
195
|
+
label: string;
|
|
196
|
+
href?: string | undefined;
|
|
197
|
+
command?: string | undefined;
|
|
198
|
+
} | undefined;
|
|
199
|
+
};
|
|
200
|
+
export declare const storageExplorerVesselSetupDescriptor: {
|
|
201
|
+
id: string;
|
|
202
|
+
kind: "vessel/setup-step";
|
|
203
|
+
areaId: string;
|
|
204
|
+
order: number;
|
|
205
|
+
label: string;
|
|
206
|
+
userAction: string;
|
|
207
|
+
userResult: string;
|
|
208
|
+
place: "browser" | "cloud" | "vibes" | "computer" | "vessel";
|
|
209
|
+
status: "unknown" | "ready" | "needs-setup" | "planned" | "blocked";
|
|
210
|
+
owner: {
|
|
211
|
+
packageName: string;
|
|
212
|
+
entrypoint?: string | undefined;
|
|
213
|
+
specPath?: string | undefined;
|
|
214
|
+
runtimeKind?: string | undefined;
|
|
215
|
+
runtimeId?: string | undefined;
|
|
216
|
+
};
|
|
217
|
+
evidence: ({
|
|
218
|
+
type: "runtime-query";
|
|
219
|
+
kind: string;
|
|
220
|
+
resultSummary: string;
|
|
221
|
+
id?: string | undefined;
|
|
222
|
+
} | {
|
|
223
|
+
type: "command";
|
|
224
|
+
cwd: string;
|
|
225
|
+
command: string;
|
|
226
|
+
exitCode: number;
|
|
227
|
+
summary: string;
|
|
228
|
+
} | {
|
|
229
|
+
type: "http";
|
|
230
|
+
method: string;
|
|
231
|
+
url: string;
|
|
232
|
+
status: number;
|
|
233
|
+
summary: string;
|
|
234
|
+
} | {
|
|
235
|
+
type: "screenshot";
|
|
236
|
+
path: string;
|
|
237
|
+
summary: string;
|
|
238
|
+
viewport?: string | undefined;
|
|
239
|
+
} | {
|
|
240
|
+
type: "source";
|
|
241
|
+
path: string;
|
|
242
|
+
summary: string;
|
|
243
|
+
line?: number | undefined;
|
|
244
|
+
} | {
|
|
245
|
+
type: "spec";
|
|
246
|
+
path: string;
|
|
247
|
+
summary: string;
|
|
248
|
+
heading?: string | undefined;
|
|
249
|
+
})[];
|
|
250
|
+
upstreamWorkItemIds: string[];
|
|
251
|
+
proofGate: string;
|
|
252
|
+
name?: string | undefined;
|
|
253
|
+
description?: string | undefined;
|
|
254
|
+
tags?: string[] | undefined;
|
|
255
|
+
hardware?: string[] | undefined;
|
|
256
|
+
enabled?: boolean | undefined;
|
|
257
|
+
priority?: number | undefined;
|
|
258
|
+
capabilityId?: string | undefined;
|
|
259
|
+
requiredContext?: string[] | undefined;
|
|
260
|
+
optionalContext?: string[] | undefined;
|
|
261
|
+
config?: unknown;
|
|
262
|
+
retention?: string | {
|
|
263
|
+
reason: string;
|
|
264
|
+
maxAgeDays?: number | undefined;
|
|
265
|
+
maxEntries?: number | undefined;
|
|
266
|
+
maxBytes?: number | undefined;
|
|
267
|
+
cascadeFrom?: string | undefined;
|
|
268
|
+
ageField?: string | undefined;
|
|
269
|
+
enforcedBy?: string | undefined;
|
|
270
|
+
} | undefined;
|
|
271
|
+
nextAction?: {
|
|
272
|
+
label: string;
|
|
273
|
+
href?: string | undefined;
|
|
274
|
+
command?: string | undefined;
|
|
275
|
+
} | undefined;
|
|
276
|
+
falsifier?: string | undefined;
|
|
277
|
+
};
|
|
278
|
+
export declare const storageExplorerVesselSurfaceDescriptor: {
|
|
279
|
+
kind: "vessel/surface";
|
|
280
|
+
id: string;
|
|
281
|
+
name: string;
|
|
282
|
+
description: string;
|
|
283
|
+
label: string;
|
|
284
|
+
surfaceKind: string;
|
|
285
|
+
owner: {
|
|
286
|
+
packageName: string;
|
|
287
|
+
};
|
|
288
|
+
contract: {
|
|
289
|
+
apiVersion: string;
|
|
290
|
+
stateSchemaId: string;
|
|
291
|
+
stateSchemaVersion: number;
|
|
292
|
+
stateSchema: z.ZodObject<{
|
|
293
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
294
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
295
|
+
browse: "browse";
|
|
296
|
+
connect: "connect";
|
|
297
|
+
}>>;
|
|
298
|
+
}, z.core.$strict>;
|
|
299
|
+
};
|
|
300
|
+
activation: string;
|
|
301
|
+
execution: string;
|
|
302
|
+
requiredCapabilities: {
|
|
303
|
+
id: string;
|
|
304
|
+
selectorId: string;
|
|
305
|
+
reason: string;
|
|
306
|
+
}[];
|
|
307
|
+
optionalCapabilities: {
|
|
308
|
+
id: string;
|
|
309
|
+
reason: string;
|
|
310
|
+
}[];
|
|
311
|
+
primaryAudience: string;
|
|
312
|
+
secondaryAudiences: string[];
|
|
313
|
+
technicalLanguagePolicy: string;
|
|
314
|
+
promotionGate: string;
|
|
315
|
+
};
|
|
316
|
+
export declare const storageSvelteVesselPlugin: import("@vibesdotdev/kernel").RuntimePlugin;
|
|
317
|
+
export default storageSvelteVesselPlugin;
|
|
318
|
+
//# sourceMappingURL=storage.vessel.plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage.vessel.plugin.d.ts","sourceRoot":"","sources":["../../src/apps/storage.vessel.plugin.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAc5B,eAAO,MAAM,gCAAgC;;;;;;kBAMnC,CAAC;AAEX,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsB7C,CAAC;AAEH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAanD,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe/C,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCjD,CAAC;AAEH,eAAO,MAAM,yBAAyB,6CAqBpC,CAAC;AAEH,eAAe,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Storage app on Vessel hosts (`hub.storage`).
|
|
3
|
+
*
|
|
4
|
+
* Vessel declares the app, its readiness area, setup step and surface; the
|
|
5
|
+
* surface component is Storage's own explorer (`@vibesdotdev/storage/svelte`),
|
|
6
|
+
* loaded in browsers only. This plugin lives with Vessel because Vessel
|
|
7
|
+
* depends on Storage, never the reverse. Its plugin id is unchanged, so
|
|
8
|
+
* compositions and readiness owners that name it keep resolving.
|
|
9
|
+
*/
|
|
10
|
+
import { createRuntimeAsset, createRuntimePlugin, loader } from '@vibesdotdev/kernel';
|
|
11
|
+
import * as z from 'zod/v4';
|
|
12
|
+
import { vesselAppDescriptorSchema, vesselReadinessAreaSchema, vesselSetupStepSchema } from "../schemas.js";
|
|
13
|
+
const storageVesselOwner = {
|
|
14
|
+
packageName: '@vibesdotdev/storage/svelte',
|
|
15
|
+
entrypoint: './StorageExplorer.svelte',
|
|
16
|
+
runtimeKind: 'storage/explorer',
|
|
17
|
+
runtimeId: 'storage.explorer'
|
|
18
|
+
};
|
|
19
|
+
export const storageExplorerVesselStateSchema = z
|
|
20
|
+
.object({
|
|
21
|
+
providerId: z.string().min(1).optional(),
|
|
22
|
+
/** Durable presentation state; never persist an imperative "open dialog" command. */
|
|
23
|
+
mode: z.enum(['browse', 'connect']).optional()
|
|
24
|
+
})
|
|
25
|
+
.strict();
|
|
26
|
+
export const storageExplorerVesselAppDescriptor = vesselAppDescriptorSchema.parse({
|
|
27
|
+
kind: 'vessel/app',
|
|
28
|
+
id: 'hub.storage',
|
|
29
|
+
name: 'Storage',
|
|
30
|
+
description: 'Browse Vibes Storage and drives from connected providers.',
|
|
31
|
+
owner: storageVesselOwner,
|
|
32
|
+
identity: { glyph: 'lucide:hard-drive', accent: 'amber' },
|
|
33
|
+
category: 'feature',
|
|
34
|
+
launch: {
|
|
35
|
+
type: 'vessel-surface',
|
|
36
|
+
surfaceId: 'storage.explorer',
|
|
37
|
+
initialState: {}
|
|
38
|
+
},
|
|
39
|
+
availability: {
|
|
40
|
+
status: 'unknown',
|
|
41
|
+
summary: 'Storage checks signed-in drives when opened.'
|
|
42
|
+
},
|
|
43
|
+
defaultWindow: { x: 140, y: 92, width: 1040, height: 680, minWidth: 720, minHeight: 480 },
|
|
44
|
+
tags: ['storage', 'drives', 'files', 'connect'],
|
|
45
|
+
workLocations: ['browser', 'cloud', 'vessel'],
|
|
46
|
+
readinessAreaIds: ['readiness.storage'],
|
|
47
|
+
setupStepIds: ['setup.storage.browser']
|
|
48
|
+
});
|
|
49
|
+
export const storageExplorerVesselReadinessDescriptor = vesselReadinessAreaSchema.parse({
|
|
50
|
+
kind: 'vessel/readiness-area',
|
|
51
|
+
id: 'readiness.storage',
|
|
52
|
+
label: 'Storage',
|
|
53
|
+
userPromise: 'Browse connected storage drives',
|
|
54
|
+
status: 'unknown',
|
|
55
|
+
summary: 'Storage readiness follows live signed-in drive enumeration.',
|
|
56
|
+
owner: storageVesselOwner,
|
|
57
|
+
targetKinds: ['storage/explorer'],
|
|
58
|
+
evidence: [],
|
|
59
|
+
linkedFindingIds: [],
|
|
60
|
+
upstreamWorkItemIds: [],
|
|
61
|
+
proofGate: 'A signed-in host enumerates real storage drives through storage/explorer.'
|
|
62
|
+
});
|
|
63
|
+
export const storageExplorerVesselSetupDescriptor = vesselSetupStepSchema.parse({
|
|
64
|
+
kind: 'vessel/setup-step',
|
|
65
|
+
id: 'setup.storage.browser',
|
|
66
|
+
areaId: 'readiness.storage',
|
|
67
|
+
order: 51,
|
|
68
|
+
label: 'Open Storage',
|
|
69
|
+
userAction: 'Open Storage to browse or connect a drive.',
|
|
70
|
+
userResult: 'Storage shows the drives available to the signed-in account.',
|
|
71
|
+
place: 'vessel',
|
|
72
|
+
status: 'unknown',
|
|
73
|
+
owner: storageVesselOwner,
|
|
74
|
+
evidence: [],
|
|
75
|
+
upstreamWorkItemIds: [],
|
|
76
|
+
proofGate: 'The Storage owner surface lists real account-scoped drives or an exact failure.',
|
|
77
|
+
falsifier: 'The surface launches without storage/explorer or invents connected drives.'
|
|
78
|
+
});
|
|
79
|
+
export const storageExplorerVesselSurfaceDescriptor = createRuntimeAsset({
|
|
80
|
+
kind: 'vessel/surface',
|
|
81
|
+
id: 'storage.explorer',
|
|
82
|
+
name: 'Storage explorer',
|
|
83
|
+
description: 'Browse account-scoped storage drives through the Platform runtime client.',
|
|
84
|
+
label: 'Storage explorer',
|
|
85
|
+
surfaceKind: 'component',
|
|
86
|
+
owner: { packageName: '@vibesdotdev/storage/svelte' },
|
|
87
|
+
contract: {
|
|
88
|
+
apiVersion: '1.0.0',
|
|
89
|
+
stateSchemaId: 'storage.explorer.state',
|
|
90
|
+
stateSchemaVersion: 1,
|
|
91
|
+
stateSchema: storageExplorerVesselStateSchema
|
|
92
|
+
},
|
|
93
|
+
activation: 'on-open',
|
|
94
|
+
execution: 'host-trusted',
|
|
95
|
+
requiredCapabilities: [
|
|
96
|
+
{
|
|
97
|
+
id: 'storage/explorer',
|
|
98
|
+
selectorId: 'storage.explorer',
|
|
99
|
+
reason: 'Enumerate and browse storage authorized for the signed-in principal without projecting backend configuration.'
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
optionalCapabilities: [
|
|
103
|
+
{
|
|
104
|
+
id: 'storage/provider-connect',
|
|
105
|
+
reason: 'Offer provider connection when the host supplies connectable scopes.'
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
primaryAudience: 'workspace-user',
|
|
109
|
+
secondaryAudiences: ['host-integrator'],
|
|
110
|
+
technicalLanguagePolicy: 'hide',
|
|
111
|
+
promotionGate: 'Real signed-in browser proof enumerates a Vibes Storage drive and connect actions.'
|
|
112
|
+
});
|
|
113
|
+
export const storageSvelteVesselPlugin = createRuntimePlugin({
|
|
114
|
+
id: '@vibesdotdev/storage/svelte/vessel',
|
|
115
|
+
name: 'Storage Svelte Vessel Surface',
|
|
116
|
+
description: 'Owner-declared account storage contribution for Vessel hosts.',
|
|
117
|
+
dependencies: ['vessel'],
|
|
118
|
+
descriptors: [
|
|
119
|
+
storageExplorerVesselAppDescriptor,
|
|
120
|
+
storageExplorerVesselSurfaceDescriptor,
|
|
121
|
+
storageExplorerVesselReadinessDescriptor,
|
|
122
|
+
storageExplorerVesselSetupDescriptor
|
|
123
|
+
],
|
|
124
|
+
loaders: [
|
|
125
|
+
loader(storageExplorerVesselSurfaceDescriptor.id, { kind: 'vessel/surface', scope: 'browser' }, async () => {
|
|
126
|
+
const module = await import('@vibesdotdev/storage/svelte/StorageExplorer.svelte');
|
|
127
|
+
return { impl: module.default };
|
|
128
|
+
})
|
|
129
|
+
]
|
|
130
|
+
});
|
|
131
|
+
export default storageSvelteVesselPlugin;
|
|
132
|
+
//# sourceMappingURL=storage.vessel.plugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage.vessel.plugin.js","sourceRoot":"","sources":["../../src/apps/storage.vessel.plugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,k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