@bridgebrew/sessions 0.0.33 → 0.0.34
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/branch-actions.tsx +2 -2
- package/browser/children.tsx +1 -1
- package/browser/conversation.tsx +2 -2
- package/browser/gallery.tsx +1 -1
- package/browser/index.tsx +4 -4
- package/browser/media-origins.tsx +1 -1
- package/browser/mobile.tsx +2 -2
- package/browser/subagents.tsx +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// A session's branch from its page (research-083): its Git button (`@
|
|
1
|
+
// A session's branch from its page (research-083): its Git button (`@bridgebrew/session-ui/git-actions`) acts on its branch's
|
|
2
2
|
// folder, and archiving the branch's last session offers to delete that folder (never one with work not committed or not pushed; the git branch
|
|
3
3
|
// stays). Both go through the project plugin's Branches routes (`/<slug>/api/project/branches/…`, bridgebrew/bridge#557),
|
|
4
4
|
// as the Branches screen does: the same checks, the owner's page.
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
useBranch,
|
|
22
22
|
type BranchesAnswer,
|
|
23
23
|
type BranchesRoute,
|
|
24
|
-
} from '@
|
|
24
|
+
} from '@bridgebrew/session-ui/git-actions';
|
|
25
25
|
|
|
26
26
|
/** The project plugin's Branches route of project `node` in workspace `slug`, or one of its actions. */
|
|
27
27
|
export const branchesRoute: BranchesRoute = (slug, node, action) =>
|
package/browser/children.tsx
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
cn,
|
|
30
30
|
formatDate,
|
|
31
31
|
} from '@bridge/ui';
|
|
32
|
-
import { oneLine } from '@
|
|
32
|
+
import { oneLine } from '@bridgebrew/session-ui/one-line';
|
|
33
33
|
import { Elapsed, Spinner, duration } from './elapsed.tsx';
|
|
34
34
|
import type { ChildState } from '../listing.ts';
|
|
35
35
|
|
package/browser/conversation.tsx
CHANGED
|
@@ -43,8 +43,8 @@ import {
|
|
|
43
43
|
outputMedia,
|
|
44
44
|
viewedImage,
|
|
45
45
|
type Attached,
|
|
46
|
-
} from '@
|
|
47
|
-
import { oneLine } from '@
|
|
46
|
+
} from '@bridgebrew/session-ui/media';
|
|
47
|
+
import { oneLine } from '@bridgebrew/session-ui/one-line';
|
|
48
48
|
import { cutText } from '../text.ts';
|
|
49
49
|
import type { PluginComponent } from '../views/library.ts';
|
|
50
50
|
import type { ViewComponentRenderer, ViewTools } from './views/view.tsx';
|
package/browser/gallery.tsx
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
TooltipTrigger,
|
|
16
16
|
formatDate,
|
|
17
17
|
} from '@bridge/ui';
|
|
18
|
-
import { blobUrl, ImageViewer, type Pinned, type Viewed } from '@
|
|
18
|
+
import { blobUrl, ImageViewer, type Pinned, type Viewed } from '@bridgebrew/session-ui/media';
|
|
19
19
|
|
|
20
20
|
/** Where the gallery looks: a node and everything below it, or one session of it. */
|
|
21
21
|
export interface Scope {
|
package/browser/index.tsx
CHANGED
|
@@ -109,9 +109,9 @@ import type { Context } from 'cordis';
|
|
|
109
109
|
import type {} from '@bridge/ui-renderer/client';
|
|
110
110
|
import type { ViewComponentRenderer } from './views/view.tsx';
|
|
111
111
|
import { SessionDetails } from './changes.tsx';
|
|
112
|
-
import { SessionPrompt } from '@
|
|
113
|
-
import { shownModel, type HarnessModels, type PickerModel } from '@
|
|
114
|
-
import { ProviderMark, providerOf } from '@
|
|
112
|
+
import { SessionPrompt } from '@bridgebrew/session-ui/prompt';
|
|
113
|
+
import { shownModel, type HarnessModels, type PickerModel } from '@bridgebrew/session-ui/model-picker';
|
|
114
|
+
import { ProviderMark, providerOf } from '@bridgebrew/session-ui/providers';
|
|
115
115
|
import {
|
|
116
116
|
Conversation,
|
|
117
117
|
DecisionDock,
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
type Stored,
|
|
127
127
|
} from './conversation.tsx';
|
|
128
128
|
import { Questions, type Question } from './questions.tsx';
|
|
129
|
-
import { GalleryPins, type Attached, type Pinned, type Viewed } from '@
|
|
129
|
+
import { GalleryPins, type Attached, type Pinned, type Viewed } from '@bridgebrew/session-ui/media';
|
|
130
130
|
import { GalleryDialog, type Scope } from './gallery.tsx';
|
|
131
131
|
import { BranchActions, CleanupDialog, cleanupOf, type Cleanup } from './branch-actions.tsx';
|
|
132
132
|
import { PullRequestPill, type SessionPullRequest } from './pull-request.tsx';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// The external origins the host declared for the page (`GET /_bridge/host/origins`): one fetch per page, then the same
|
|
2
2
|
// sets for every conversation. Any failure gives none, so a remote image or video stays a link.
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import { mediaOrigins } from '@
|
|
4
|
+
import { mediaOrigins } from '@bridgebrew/session-ui/media';
|
|
5
5
|
import { readJson } from '@bridge/ui';
|
|
6
6
|
|
|
7
7
|
type Origins = ReturnType<typeof mediaOrigins>;
|
package/browser/mobile.tsx
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { Badge, Button, EmptyState, Icon, cn, readJson } from '@bridge/ui';
|
|
9
9
|
import type { Context } from 'cordis';
|
|
10
|
-
import { SessionPrompt } from '@
|
|
11
|
-
import type { Attached } from '@
|
|
10
|
+
import { SessionPrompt } from '@bridgebrew/session-ui/prompt';
|
|
11
|
+
import type { Attached } from '@bridgebrew/session-ui/media';
|
|
12
12
|
import {
|
|
13
13
|
Conversation,
|
|
14
14
|
DecisionDock,
|
package/browser/subagents.tsx
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
// `<session>~<sub-agent>` (`subagentItem`, `itemParts`), a history entry as any link.
|
|
12
12
|
import * as React from 'react';
|
|
13
13
|
import { Button, Card, Icon, ScreenLink, type FollowTarget, cn, formatDate } from '@bridge/ui';
|
|
14
|
-
import { oneLine } from '@
|
|
14
|
+
import { oneLine } from '@bridgebrew/session-ui/one-line';
|
|
15
15
|
import { Elapsed, duration } from './elapsed.tsx';
|
|
16
16
|
import { LineageContext, StatusMark } from './children.tsx';
|
|
17
17
|
import type { ChildState } from '../listing.ts';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bridgebrew/sessions",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Conversations with agents, in the workspace or in a project, through the Profile.",
|
|
6
6
|
"keywords": [
|
|
@@ -1015,19 +1015,19 @@
|
|
|
1015
1015
|
"typecheck": "bridge plugin check ."
|
|
1016
1016
|
},
|
|
1017
1017
|
"dependencies": {
|
|
1018
|
+
"@bridgebrew/session-ui": "0.0.1",
|
|
1018
1019
|
"@openuidev/lang-core": "1.0.1",
|
|
1019
1020
|
"react-markdown": "10.1.0",
|
|
1020
1021
|
"remark-gfm": "4.0.1",
|
|
1021
1022
|
"zod": "4.6.5"
|
|
1022
1023
|
},
|
|
1023
1024
|
"peerDependencies": {
|
|
1024
|
-
"@bridge/session-ui": ">=0.0.1",
|
|
1025
1025
|
"@bridge/ui": ">=0.0.1",
|
|
1026
1026
|
"cordis": "4.0.0-rc.11",
|
|
1027
1027
|
"react": "19.3.0"
|
|
1028
1028
|
},
|
|
1029
1029
|
"releaseStage": "dev",
|
|
1030
1030
|
"engines": {
|
|
1031
|
-
"bridge": ">=0.0.1-nightly.20261119.
|
|
1031
|
+
"bridge": ">=0.0.1-nightly.20261119.2"
|
|
1032
1032
|
}
|
|
1033
1033
|
}
|