@bridgebrew/point 0.0.1 → 0.0.2
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/browser/place.ts +2 -2
- package/package.json +2 -2
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
|
|
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
|
-
|
|
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.
|
|
3
|
+
"version": "0.0.2",
|
|
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": [
|
|
@@ -51,6 +51,6 @@
|
|
|
51
51
|
"typecheck": "bridge plugin check ."
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
|
-
"bridge": ">=0.0.1-nightly.
|
|
54
|
+
"bridge": ">=0.0.1-nightly.20261118.2"
|
|
55
55
|
}
|
|
56
56
|
}
|