@bridgebrew/point 0.0.0-stage → 0.0.1

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.
@@ -0,0 +1,31 @@
1
+ // Where Point's floating prompt opens: next to what was selected, on the side with room, as an OS popover does.
2
+
3
+ type Rect = { left: number; top: number; width: number; height: number };
4
+ export type Side = 'below' | 'above' | 'right' | 'left';
5
+
6
+ /** The top-left of a `width`×`height` box near `rect` (viewport px) within a `vw`×`vh` viewport, `gap` from it and
7
+ * `margin` from the edges: above if it fits, else below, right, left; none fits (a selection as large as the page),
8
+ * above as far as it goes. `side` says which, so a window growing taller grows away from the selection. */
9
+ export const near = (
10
+ rect: Rect,
11
+ width: number,
12
+ height: number,
13
+ vw: number,
14
+ vh: number,
15
+ gap = 8,
16
+ margin = 8,
17
+ ): { x: number; y: number; side: Side } => {
18
+ const clamp = (value: number, low: number, high: number) =>
19
+ Math.max(low, Math.min(value, Math.max(low, high)));
20
+ const x = clamp(rect.left, margin, vw - width - margin);
21
+ const y = clamp(rect.top, margin, vh - height - margin);
22
+ const below = rect.top + rect.height + gap;
23
+ const above = rect.top - gap - height;
24
+ const right = rect.left + rect.width + gap;
25
+ const left = rect.left - gap - width;
26
+ if (above >= margin) return { x, y: above, side: 'above' };
27
+ if (below + height <= vh - margin) return { x, y: below, side: 'below' };
28
+ if (right + width <= vw - margin) return { x: right, y, side: 'right' };
29
+ if (left >= margin) return { x: left, y, side: 'left' };
30
+ return { x, y: margin, side: 'above' };
31
+ };
@@ -0,0 +1,135 @@
1
+ // Where a session about a target lives (research-009): where the code that rendered it lives.
2
+ // - A plugin linked from a folder: the project of the workspace whose folder holds it (the deepest), its folder the
3
+ // agent's cwd; held by none, the workspace session, on `root`.
4
+ // - A system plugin (Bridge's `plugins/`), a `_host` plugin (the shell, `point` itself) or the kernel: Bridge itself,
5
+ // in workspace `admin`: the project there whose folder holds the repo, else its `root`.
6
+ // - No plugin (no target, or outside every slot entry): the workspace session, on `root`.
7
+ // - In a stage (research-083): the same place in its parent workspace, whose Sessions it borrows, on the branch the
8
+ // stage runs, the session bound to the stage (its data and tools).
9
+ // - Installed from npm or a tarball: none, its code is not editable here (out of scope).
10
+ // Point makes no project: projects are made by their bridge.yml (research-061).
11
+
12
+ import { readJson } from '@bridge/kernel/json';
13
+
14
+ /** `path`, when known: the folder of the plugin's code (sessions that changed files in it are about it too). */
15
+ export type Place =
16
+ | { slug: string; node: string; label: string; path?: string; branch?: string; stage?: string }
17
+ | { error: string };
18
+
19
+ type Fetch = (input: string, init?: RequestInit) => Promise<Response>;
20
+ type Source =
21
+ | { type: 'bridge' | 'linked'; path: string }
22
+ | { type: 'registry' | 'tarball'; spec: string };
23
+ /** A plugin as the workspace's list gives it: a key and a source carrying a path (`bridge`/`linked`) or a spec (`registry`/`tarball`). */
24
+ interface Listed {
25
+ key: string;
26
+ source: Source;
27
+ }
28
+ interface Project {
29
+ id: string;
30
+ title: string;
31
+ path: string;
32
+ }
33
+
34
+ /** The workspace holding Bridge's own project. */
35
+ const ADMIN = 'admin';
36
+
37
+ export async function placeOf(
38
+ plugin: string | undefined,
39
+ slug: string | undefined,
40
+ fetch: Fetch = globalThis.fetch,
41
+ ): Promise<Place> {
42
+ if (!slug) return { error: 'No workspace is open' };
43
+ const place = await placeIn(plugin, slug, fetch);
44
+ const parent = 'error' in place || place.slug !== slug ? undefined : await parentOf(slug, fetch);
45
+ return parent ? { ...place, slug: parent, stage: slug } : place;
46
+ }
47
+
48
+ /** The workspace stage `slug` is of (research-083); none for a workspace that is no stage. */
49
+ const parentOf = async (slug: string, fetch: Fetch) => {
50
+ const res = await fetch('/_bridge/workspaces', { cache: 'no-store' });
51
+ if (!res.ok) return undefined;
52
+ // The host's own answer: typed once where it is read.
53
+ const { workspaces = [] } = (await readJson(res)) as {
54
+ workspaces?: { slug: string; parent?: string }[];
55
+ };
56
+ return workspaces.find((each) => each.slug === slug)?.parent;
57
+ };
58
+
59
+ async function placeIn(plugin: string | undefined, slug: string, fetch: Fetch): Promise<Place> {
60
+ if (!plugin) return { slug, node: 'root', label: `Workspace ${slug}` };
61
+ // The host's own answer: typed once where it is read.
62
+ const listing = (await readJson(
63
+ await fetch(`/_bridge/workspaces/${encodeURIComponent(slug)}/plugins`, { cache: 'no-store' }),
64
+ )) as { plugins?: Listed[] };
65
+ const plugins = listing.plugins ?? [];
66
+ const found = plugins.find((each) => each.key === plugin);
67
+ if (found && (found.source.type === 'registry' || found.source.type === 'tarball'))
68
+ return {
69
+ error: `${plugin} is installed from ${found.source.spec}: its code cannot be edited here`,
70
+ };
71
+ if (found?.source.type === 'linked') {
72
+ const path = found.source.path;
73
+ // In its workspace's projects, else `admin`'s (Bridge UI's, research-083, which `admin` holds for every workspace).
74
+ const own = holding(await projectsOf(slug, fetch), path);
75
+ const admin = own || slug === ADMIN ? undefined : holding(await projectsOf(ADMIN, fetch), path);
76
+ const project = own ?? admin;
77
+ if (!project) return { slug, node: 'root', label: `Workspace ${slug}`, path };
78
+ const at = own ? slug : ADMIN;
79
+ const branch = await branchIn(at, project, path, fetch);
80
+ return {
81
+ slug: at,
82
+ node: project.id,
83
+ label: `Project ${project.title}${branch ? ` · ${branch}` : ''}`,
84
+ path,
85
+ ...(branch && { branch }),
86
+ };
87
+ }
88
+ // A system plugin, or one this workspace lacks (a `_host` plugin): Bridge's own code, in the repo above `plugins/`.
89
+ const system = plugins.find((each) => each.source.type === 'bridge')?.source;
90
+ if (system?.type !== 'bridge')
91
+ return { error: `${plugin} is part of Bridge, whose folder this workspace does not show` };
92
+ const repo = system.path.replace(/[/\\]plugins[/\\][^/\\]+[/\\]?$/, '');
93
+ // A `_host` plugin is not in the workspace's list: its folder is guessed, `plugins/<key>` as Bridge names them.
94
+ const path = found?.source.type === 'bridge' ? found.source.path : `${repo}/plugins/${plugin}`;
95
+ const project = holding(await projectsOf(ADMIN, fetch), repo);
96
+ return project
97
+ ? { slug: ADMIN, node: project.id, label: `Bridge (${ADMIN})`, path }
98
+ : { slug: ADMIN, node: 'root', label: `Bridge (${ADMIN})`, path };
99
+ }
100
+
101
+ /** The branch of `project` whose folder holds `path` (research-083), as the host lists its branches (git's names, never
102
+ * read from a folder's); none on its own folder (main), for a project that is not a git one, or for a non-owner. */
103
+ const branchIn = async (slug: string, project: Project, path: string, fetch: Fetch) => {
104
+ const res = await fetch(
105
+ `/_bridge/host/branches?workspace=${encodeURIComponent(slug)}&node=${encodeURIComponent(project.id)}`,
106
+ { cache: 'no-store' },
107
+ );
108
+ if (!res.ok) return undefined;
109
+ // The host's own answer: typed once where it is read.
110
+ const { branches = [] } = (await readJson(res)) as {
111
+ branches?: { name: string; folder: string; main: boolean }[];
112
+ };
113
+ const found = branches
114
+ .filter(({ folder }) => path === folder || path.startsWith(`${folder}/`))
115
+ .sort((a, b) => b.folder.length - a.folder.length)[0];
116
+ return found && !found.main ? found.name : undefined;
117
+ };
118
+
119
+ /** `slug`'s projects; none when it has no project plugin. */
120
+ const projectsOf = async (slug: string, fetch: Fetch): Promise<Project[]> => {
121
+ const listed = await fetch(`/${encodeURIComponent(slug)}/api/project/projects`);
122
+ if (!listed.ok) return [];
123
+ // The project plugin's own answer: typed once where it is read.
124
+ return (await readJson(listed)) as Project[];
125
+ };
126
+
127
+ /** The deepest of `projects` whose folder is `path` or holds it. */
128
+ const holding = (projects: Project[], path: string) =>
129
+ projects
130
+ .map((project) => ({ project, folder: project.path.replace(/[/\\]+$/, '') }))
131
+ .filter(
132
+ ({ folder }) =>
133
+ path === folder || path.startsWith(`${folder}/`) || path.startsWith(`${folder}\\`),
134
+ )
135
+ .sort((a, b) => b.folder.length - a.folder.length)[0]?.project;
@@ -0,0 +1,35 @@
1
+ // The sessions started from Point, kept in localStorage for the dock: read back only as far as they are still sound.
2
+ // The shared guard, from the kernel's public helper (`@bridge/ui`'s barrel fails the server's NodeNext type-check).
3
+ import { isRecord } from '@bridge/kernel/json';
4
+
5
+ export const SESSIONS_KEY = 'bridge.point.sessions';
6
+
7
+ /** A session started here, as the dock lists it. */
8
+ export interface Started {
9
+ slug: string;
10
+ node: string;
11
+ id: string;
12
+ title: string;
13
+ where: string;
14
+ at: string;
15
+ }
16
+
17
+ /** The sessions the dock lists, as an earlier run kept them: only entries still shaped like `Started` are kept. */
18
+ export const readStarted = (): Started[] => {
19
+ try {
20
+ const stored: unknown = JSON.parse(localStorage.getItem(SESSIONS_KEY) ?? '[]');
21
+ if (!Array.isArray(stored)) return [];
22
+ return stored.filter(
23
+ (each): each is Started =>
24
+ isRecord(each) &&
25
+ typeof each.slug === 'string' &&
26
+ typeof each.node === 'string' &&
27
+ typeof each.id === 'string' &&
28
+ typeof each.title === 'string' &&
29
+ typeof each.where === 'string' &&
30
+ typeof each.at === 'string',
31
+ );
32
+ } catch {
33
+ return [];
34
+ }
35
+ };
@@ -0,0 +1,256 @@
1
+ // What a selection is about, read from the page: the element picked under the pointer, and the target a session keeps
2
+ // (`sessions`' `target`), which tells the agent what was pointed at.
3
+
4
+ import { cutText } from '@bridge/kernel/text';
5
+
6
+ /** Page-relative (scroll included) box, in CSS pixels. */
7
+ interface Box {
8
+ x: number;
9
+ y: number;
10
+ width: number;
11
+ height: number;
12
+ }
13
+
14
+ /** A session's target: the fields the agent reads, one `key: value` line each. */
15
+ export interface Target {
16
+ kind: 'element' | 'zone';
17
+ plugin?: string;
18
+ customizationOwner?: string;
19
+ customizationSlot?: string;
20
+ customizationDocumentation?: string;
21
+ customizationScope?: string;
22
+ customizationBlocked?: string;
23
+ url: string;
24
+ workspace?: string;
25
+ node: string;
26
+ selector?: string;
27
+ text?: string;
28
+ html?: string;
29
+ box: Box;
30
+ }
31
+
32
+ const CONTROL =
33
+ 'button, a, input, textarea, select, label, [role=button], [role=menuitem], [role=tab], [role=option], [role=checkbox], [role=switch]';
34
+
35
+ /** Fine picks select the exact element; normal picks retain their enclosing control. */
36
+ export const pick = (element: Element, fine: boolean): Element => {
37
+ if (fine) return element;
38
+ const whole = element.closest('svg') ?? element;
39
+ return whole.closest(CONTROL) ?? whole;
40
+ };
41
+
42
+ /** Portals retain their trigger relationship even when mounted outside slot ancestry. */
43
+ const portalOrigin = (element: Element | null | undefined): Element | undefined => {
44
+ for (let at = element; at && at !== document.body; at = at.parentElement) {
45
+ for (const id of (at.getAttribute('aria-labelledby') ?? '').split(/\s+/).filter(Boolean)) {
46
+ const labelled = document.getElementById(id);
47
+ if (labelled && !at.contains(labelled)) return labelled;
48
+ }
49
+ if (at.id) {
50
+ const trigger = [...document.querySelectorAll('[aria-controls]')].find(
51
+ (candidate) =>
52
+ !at!.contains(candidate) &&
53
+ (candidate.getAttribute('aria-controls') ?? '').split(/\s+/).includes(at!.id),
54
+ );
55
+ if (trigger) return trigger;
56
+ }
57
+ }
58
+ return undefined;
59
+ };
60
+
61
+ /** Keep DOM metadata first; use the portal trigger only when it is absent. */
62
+ const customizationOrigin = (element: Element | null | undefined): Element | undefined => {
63
+ const seen = new Set<Element>();
64
+ let origin = element ?? undefined;
65
+ while (origin && !origin.closest('[data-bridge-customization-owner]') && !seen.has(origin)) {
66
+ seen.add(origin);
67
+ const trigger = portalOrigin(origin);
68
+ if (!trigger) break;
69
+ origin = trigger;
70
+ }
71
+ return origin;
72
+ };
73
+
74
+ /** The renderer of the picked DOM entry, or its originating portal trigger. */
75
+ export const pluginOf = (element: Element | null | undefined) =>
76
+ element?.closest('[data-bridge-plugin]')?.getAttribute('data-bridge-plugin') ??
77
+ customizationOrigin(element)
78
+ ?.closest('[data-bridge-plugin]')
79
+ ?.getAttribute('data-bridge-plugin') ??
80
+ undefined;
81
+
82
+ /** Read the nearest documented slot, only within an owner's opt-in screen. */
83
+ const customizationOf = (element: Element | null | undefined): Partial<Target> => {
84
+ const origin = customizationOrigin(element);
85
+ const ownerRegion = origin?.closest('[data-bridge-customization-owner]');
86
+ if (!ownerRegion) return {};
87
+ const region = origin?.closest('[data-bridge-customization-slot]');
88
+ const owner = ownerRegion.getAttribute('data-bridge-customization-owner') ?? undefined;
89
+ if (!region || !owner)
90
+ return {
91
+ customizationBlocked:
92
+ 'Outside documented customization regions. Select a documented slot to customize its presentation.',
93
+ };
94
+ if (
95
+ region
96
+ .closest('[data-bridge-customization-owner]')
97
+ ?.getAttribute('data-bridge-customization-owner') !== owner
98
+ ) {
99
+ return {
100
+ customizationBlocked:
101
+ 'The selected owner does not own this documented slot. Select a documented slot belonging to that owner.',
102
+ };
103
+ }
104
+ const documentation = region.getAttribute('data-bridge-customization-documentation');
105
+ const scope = region.getAttribute('data-bridge-customization-scope');
106
+ if (!documentation || !scope)
107
+ return { customizationBlocked: 'This region has no documented customization contract.' };
108
+ return {
109
+ customizationOwner: owner,
110
+ customizationSlot: region.getAttribute('data-bridge-customization-slot')!,
111
+ customizationDocumentation: documentation,
112
+ customizationScope: scope,
113
+ };
114
+ };
115
+
116
+ /** Customization slots and their controls cannot be destructively removed by Point. */
117
+ export const canDeleteTarget = (target: Target) =>
118
+ !target.customizationOwner && !target.customizationBlocked;
119
+
120
+ /** A CSS selector for `element`: from the nearest id, else up to six levels of tag, `data-slot` and position. */
121
+ export const selectorOf = (element: Element) => {
122
+ const parts: string[] = [];
123
+ for (
124
+ let at: Element | null = element;
125
+ at && at !== document.body && parts.length < 6;
126
+ at = at.parentElement
127
+ ) {
128
+ if (at.id) {
129
+ parts.unshift(`#${CSS.escape(at.id)}`);
130
+ break;
131
+ }
132
+ const slot = at.getAttribute('data-slot');
133
+ let part = at.tagName.toLowerCase() + (slot ? `[data-slot="${slot}"]` : '');
134
+ const tag = at.tagName;
135
+ const same = at.parentElement
136
+ ? [...at.parentElement.children].filter((each) => each.tagName === tag)
137
+ : [];
138
+ if (same.length > 1) part += `:nth-of-type(${same.indexOf(at) + 1})`;
139
+ parts.unshift(part);
140
+ }
141
+ return parts.join(' > ');
142
+ };
143
+
144
+ /** `text` on one line within `max` characters. */
145
+ const clip = (text: string, max: number) => {
146
+ const line = text.replace(/\s+/g, ' ').trim();
147
+ return line.length <= max ? line : `${cutText(line, max - 1)}…`;
148
+ };
149
+
150
+ /** `rect` (viewport) as a page box. */
151
+ const pageBox = (rect: { left: number; top: number; width: number; height: number }): Box => ({
152
+ x: Math.round(rect.left + scrollX),
153
+ y: Math.round(rect.top + scrollY),
154
+ width: Math.round(rect.width),
155
+ height: Math.round(rect.height),
156
+ });
157
+
158
+ /** Where the page is: its workspace and the node shown. */
159
+ export interface Here {
160
+ workspace?: string | undefined;
161
+ node: string;
162
+ }
163
+
164
+ /** The target of a picked element. ponytail: no secret redaction in `text` and `html` (MVP alpha). */
165
+ export const elementTarget = (element: Element, here: Here): Target => {
166
+ const plugin = pluginOf(element);
167
+ const text = clip((element as HTMLElement).innerText ?? element.textContent ?? '', 300);
168
+ return {
169
+ kind: 'element',
170
+ ...customizationOf(element),
171
+ ...(plugin && { plugin }),
172
+ url: location.href,
173
+ ...(here.workspace && { workspace: here.workspace }),
174
+ node: here.node,
175
+ selector: selectorOf(element),
176
+ ...(text && { text }),
177
+ html: clip(element.outerHTML, 600),
178
+ box: pageBox(element.getBoundingClientRect()),
179
+ };
180
+ };
181
+
182
+ /** The target of a zone drawn over `rect` (viewport): the plugin under its centre, and the text of what it covers. */
183
+ export const zoneTarget = (
184
+ rect: { left: number; top: number; width: number; height: number },
185
+ here: Here,
186
+ ): Target => {
187
+ const centre = document.elementFromPoint(rect.left + rect.width / 2, rect.top + rect.height / 2);
188
+ const plugin = pluginOf(centre);
189
+ const customization = customizationOf(centre);
190
+ const boundary = customizationOrigin(centre)
191
+ ?.closest('[data-bridge-customization-slot]')
192
+ ?.getBoundingClientRect();
193
+ if (
194
+ customization.customizationOwner &&
195
+ boundary &&
196
+ (rect.left < boundary.left ||
197
+ rect.top < boundary.top ||
198
+ rect.left + rect.width > boundary.right ||
199
+ rect.top + rect.height > boundary.bottom)
200
+ ) {
201
+ customization.customizationBlocked =
202
+ 'The zone extends outside the documented customization region. Select within one slot.';
203
+ }
204
+ if (!customization.customizationOwner && !customization.customizationBlocked) {
205
+ const overlaps = [...document.querySelectorAll('[data-bridge-customization-owner]')].some(
206
+ (region) => {
207
+ const bounds = region.getBoundingClientRect();
208
+ return (
209
+ rect.left < bounds.right &&
210
+ rect.left + rect.width > bounds.left &&
211
+ rect.top < bounds.bottom &&
212
+ rect.top + rect.height > bounds.top
213
+ );
214
+ },
215
+ );
216
+ if (overlaps)
217
+ customization.customizationBlocked =
218
+ 'The zone overlaps an opted-in customization region. Select within one documented slot.';
219
+ }
220
+ return {
221
+ kind: 'zone',
222
+ ...customization,
223
+ ...(plugin && { plugin }),
224
+ url: location.href,
225
+ ...(here.workspace && { workspace: here.workspace }),
226
+ node: here.node,
227
+ ...(centre && { selector: selectorOf(centre) }),
228
+ box: pageBox(rect),
229
+ };
230
+ };
231
+
232
+ /** A target's short name, for a selection's label and a window's title. */
233
+ export const labelOf = (target: Target, element?: Element | null) =>
234
+ target.kind === 'zone'
235
+ ? 'Zone'
236
+ : clip(
237
+ target.text ||
238
+ element?.getAttribute('aria-label') ||
239
+ `<${element?.tagName.toLowerCase() ?? 'element'}>`,
240
+ 40,
241
+ );
242
+
243
+ const tagOf = (html: unknown) =>
244
+ typeof html === 'string' ? /^<([\w-]+)/.exec(html)?.[1] : undefined;
245
+
246
+ /** `stored` (a session's target) is about the same thing as `target`: same kind, workspace and plugin, and the same
247
+ * selector, or the same text in the same tag (a generated id, such as React's, changes from one load to the next).
248
+ * ponytail: a heuristic; two rows with the same text and tag in one plugin match each other. */
249
+ export const sameTarget = (stored: Record<string, unknown>, target: Target) =>
250
+ stored.kind === target.kind &&
251
+ stored.workspace === target.workspace &&
252
+ stored.plugin === target.plugin &&
253
+ stored.customizationOwner === target.customizationOwner &&
254
+ stored.customizationSlot === target.customizationSlot &&
255
+ (stored.selector === target.selector ||
256
+ (!!target.text && stored.text === target.text && tagOf(stored.html) === tagOf(target.html)));
@@ -0,0 +1,15 @@
1
+ {
2
+ "//": "The page (its tests are typed with the tests project): its services through the Bridge checkout this repository links (../../bridge), the contracts of the plugins it uses from their folders here.",
3
+ "extends": "../.bridge/tsconfig.browser.json",
4
+ "include": [
5
+ ".",
6
+ "../../bridge/packages/browser-boot/src/workspace.d.ts",
7
+ "../../bridge/vendor/types/client-build-environment.d.ts",
8
+ "../../shell/browser/shell.d.ts",
9
+ "../../session-prompt/browser/session-prompt.d.ts"
10
+ ],
11
+ "exclude": [
12
+ "./**/*.test.ts",
13
+ "./**/*.test.tsx"
14
+ ]
15
+ }
package/package.json CHANGED
@@ -1,6 +1,56 @@
1
1
  {
2
2
  "name": "@bridgebrew/point",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.1",
4
+ "license": "MIT",
5
+ "description": "Point, then ask: hold Option+Shift to select anything on the page, then talk to the agent about it in a session where its code lives.",
6
+ "keywords": [
7
+ "bridge-plugin"
8
+ ],
9
+ "type": "module",
10
+ "files": [
11
+ "*.json",
12
+ "browser/",
13
+ "!**/*.test.ts",
14
+ "!**/*.test.tsx"
15
+ ],
16
+ "bridge": {
17
+ "kind": "extension",
18
+ "placement": "host",
19
+ "category": "standard",
20
+ "title": "Point",
21
+ "icon": "hand",
22
+ "domain": "agents",
23
+ "browser": "./browser/browser.tsx",
24
+ "settings": {
25
+ "type": "object",
26
+ "properties": {
27
+ "prompt": {
28
+ "type": "string",
29
+ "title": "Prompt",
30
+ "description": "The field you write to the agent in, in Point's windows.",
31
+ "x-bridge-details": "Full, Basic (a field and Send), or another one installed. Default: the first installed.",
32
+ "maxLength": 214,
33
+ "minLength": 1,
34
+ "x-bridge-options": "session-prompts",
35
+ "applies": "live"
36
+ }
37
+ }
38
+ },
39
+ "provenance": "official"
40
+ },
41
+ "peerDependencies": {
42
+ "@bridge/kernel": ">=0.0.1",
43
+ "@bridge/session-ui": ">=0.0.1",
44
+ "@bridge/ui": ">=0.0.1",
45
+ "cordis": "4.0.0-rc.11",
46
+ "react": "19.3.0"
47
+ },
48
+ "releaseStage": "dev",
49
+ "scripts": {
50
+ "test": "node ../bridge/node_modules/vitest/vitest.mjs run --config ../scripts/vitest.config.ts",
51
+ "typecheck": "bridge plugin check ."
52
+ },
53
+ "engines": {
54
+ "bridge": ">=0.0.1-nightly.20261117.1"
55
+ }
56
+ }
package/tsconfig.json ADDED
@@ -0,0 +1 @@
1
+ { "extends": "./.bridge/tsconfig.json" }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.