@bridgebrew/point 0.0.1 → 0.0.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.
@@ -26,7 +26,7 @@ import {
26
26
  import type { Context } from 'cordis';
27
27
  import { cutText } from '@bridge/kernel/text';
28
28
  import type {} from '@bridge/ui-renderer/client';
29
- import { SessionPrompt } from '@bridge/session-ui/prompt';
29
+ import { SessionPrompt } from '@bridgebrew/session-ui/prompt';
30
30
  import { near, type Side } from './near.ts';
31
31
  import { readStarted, SESSIONS_KEY, type Started } from './started.ts';
32
32
  import { placeOf, type Place } from './place.ts';
package/browser/place.ts CHANGED
@@ -98,11 +98,11 @@ async function placeIn(plugin: string | undefined, slug: string, fetch: Fetch):
98
98
  : { slug: ADMIN, node: 'root', label: `Bridge (${ADMIN})`, path };
99
99
  }
100
100
 
101
- /** The branch of `project` whose folder holds `path` (research-083), as the host lists its branches (git's names, never
101
+ /** The branch of `project` whose folder holds `path` (research-083), as its project plugin lists its branches (git's names, never
102
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
103
  const branchIn = async (slug: string, project: Project, path: string, fetch: Fetch) => {
104
104
  const res = await fetch(
105
- `/_bridge/host/branches?workspace=${encodeURIComponent(slug)}&node=${encodeURIComponent(project.id)}`,
105
+ `/${encodeURIComponent(slug)}/api/project/branches?node=${encodeURIComponent(project.id)}`,
106
106
  { cache: 'no-store' },
107
107
  );
108
108
  if (!res.ok) return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bridgebrew/point",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "license": "MIT",
5
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
6
  "keywords": [
@@ -40,17 +40,19 @@
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@bridge/kernel": ">=0.0.1",
43
- "@bridge/session-ui": ">=0.0.1",
44
43
  "@bridge/ui": ">=0.0.1",
45
44
  "cordis": "4.0.0-rc.11",
46
45
  "react": "19.3.0"
47
46
  },
47
+ "dependencies": {
48
+ "@bridgebrew/session-ui": "0.0.1"
49
+ },
48
50
  "releaseStage": "dev",
49
51
  "scripts": {
50
52
  "test": "node ../bridge/node_modules/vitest/vitest.mjs run --config ../scripts/vitest.config.ts",
51
53
  "typecheck": "bridge plugin check ."
52
54
  },
53
55
  "engines": {
54
- "bridge": ">=0.0.1-nightly.20261117.1"
56
+ "bridge": ">=0.0.1-nightly.20261119.2"
55
57
  }
56
58
  }