@chatpanel/bridge 0.10.12 → 0.10.13

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 CHANGED
@@ -1,110 +1,168 @@
1
- # Functional Source License, Version 1.1, MIT Future License
1
+ # PolyForm Shield License 1.0.0
2
2
 
3
- ## Abbreviation
3
+ <https://polyformproject.org/licenses/shield/1.0.0>
4
4
 
5
- FSL-1.1-MIT
5
+ Required Notice: Copyright © 2026 ChatPanel (https://chatpanel.net)
6
6
 
7
- ## Notice
7
+ Licensor Line of Business: ChatPanel — an AI browser side-panel, its local
8
+ bridge, and related developer tools and services (https://chatpanel.net)
8
9
 
9
- Copyright 2026 ChatPanel
10
+ ## Acceptance
10
11
 
11
- ## Terms and Conditions
12
+ In order to get any license under these terms, you must agree
13
+ to them as both strict obligations and conditions to all
14
+ your licenses.
12
15
 
13
- ### Licensor ("We")
16
+ ## Copyright License
14
17
 
15
- The party offering the Software under these Terms and Conditions.
18
+ The licensor grants you a copyright license for the
19
+ software to do everything you might do with the software
20
+ that would otherwise infringe the licensor's copyright
21
+ in it for any permitted purpose. However, you may
22
+ only distribute the software according to [Distribution
23
+ License](#distribution-license) and make changes or new works
24
+ based on the software according to [Changes and New Works
25
+ License](#changes-and-new-works-license).
16
26
 
17
- ### The Software
27
+ ## Distribution License
18
28
 
19
- The "Software" is each version of the software that we make available under
20
- these Terms and Conditions, as indicated by our inclusion of these Terms and
21
- Conditions with the Software.
29
+ The licensor grants you an additional copyright license to
30
+ distribute copies of the software. Your license to distribute
31
+ covers distributing the software with changes and new works
32
+ permitted by [Changes and New Works License](#changes-and-new-works-license).
22
33
 
23
- ### License Grant
34
+ ## Notices
24
35
 
25
- Subject to your compliance with this License Grant and the Patents,
26
- Redistribution and Trademark clauses below, we hereby grant you the right to
27
- use, copy, modify, create derivative works, publicly perform, publicly display
28
- and redistribute the Software for any Permitted Purpose identified below.
36
+ You must ensure that anyone who gets a copy of any part of
37
+ the software from you also gets a copy of these terms or the
38
+ URL for them above, as well as copies of any plain-text lines
39
+ beginning with `Required Notice:` that the licensor provided
40
+ with the software. For example:
29
41
 
30
- ### Permitted Purpose
42
+ > Required Notice: Copyright © 2026 ChatPanel (https://chatpanel.net)
31
43
 
32
- A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
33
- means making the Software available to others in a commercial product or
34
- service that:
44
+ ## Changes and New Works License
35
45
 
36
- 1. substitutes for the Software;
46
+ The licensor grants you an additional copyright license to
47
+ make changes and new works based on the software for any
48
+ permitted purpose.
37
49
 
38
- 2. substitutes for any other product or service we offer using the Software
39
- that exists as of the date we make the Software available; or
50
+ ## Patent License
40
51
 
41
- 3. offers the same or substantially similar functionality as the Software.
52
+ The licensor grants you a patent license for the software that
53
+ covers patent claims the licensor can license, or becomes able
54
+ to license, that you would infringe by using the software.
42
55
 
43
- Permitted Purposes specifically include using the Software:
56
+ ## Noncompete
44
57
 
45
- 1. for your internal use and access;
58
+ Any purpose is a permitted purpose, except for providing any
59
+ product that competes with the software or any product the
60
+ licensor or any of its affiliates provides using the software.
46
61
 
47
- 2. for non-commercial education;
62
+ ## Competition
48
63
 
49
- 3. for non-commercial research; and
64
+ Goods and services compete even when they provide functionality
65
+ through different kinds of interfaces or for different technical
66
+ platforms. Applications can compete with services, libraries
67
+ with plugins, frameworks with development tools, and so on,
68
+ even if they're written in different programming languages
69
+ or for different computer architectures. Goods and services
70
+ compete even when provided free of charge. If you market a
71
+ product as a practical substitute for the software or another
72
+ product, it definitely competes.
50
73
 
51
- 4. in connection with professional services that you provide to a licensee
52
- using the Software in accordance with these Terms and Conditions.
74
+ ## New Products
53
75
 
54
- ### Patents
76
+ If you are using the software to provide a product that does
77
+ not compete, but the licensor or any of its affiliates brings
78
+ your product into competition by providing a new version of
79
+ the software or another product using the software, you may
80
+ continue using versions of the software available under these
81
+ terms beforehand to provide your competing product, but not
82
+ any later versions.
55
83
 
56
- To the extent your use for a Permitted Purpose would necessarily infringe our
57
- patents, the license grant above includes a license under our patents. If you
58
- make a claim against any party that the Software infringes or contributes to
59
- the infringement of any patent, then your patent license to the Software ends
60
- immediately.
84
+ ## Discontinued Products
61
85
 
62
- ### Redistribution
86
+ You may begin using the software to compete with a product
87
+ or service that the licensor or any of its affiliates has
88
+ stopped providing, unless the licensor includes a plain-text
89
+ line beginning with `Licensor Line of Business:` with the
90
+ software that mentions that line of business. For example:
63
91
 
64
- The Terms and Conditions apply to all copies, modifications and derivatives of
65
- the Software.
92
+ > Licensor Line of Business: ChatPanel an AI browser side-panel, its local
93
+ > bridge, and related developer tools and services (https://chatpanel.net)
66
94
 
67
- If you redistribute any copies, modifications or derivatives of the Software,
68
- you must include a copy of or a link to these Terms and Conditions and not
69
- remove any copyright notices provided in or with the Software.
95
+ ## Sales of Business
70
96
 
71
- ### Disclaimer
97
+ If the licensor or any of its affiliates sells a line of
98
+ business developing the software or using the software
99
+ to provide a product, the buyer can also enforce
100
+ Noncompete for that product.
72
101
 
73
- THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
74
- IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
75
- PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
102
+ ## Fair Use
76
103
 
77
- IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
78
- SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
79
- EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
104
+ You may have "fair use" rights for the software under the
105
+ law. These terms do not limit them.
80
106
 
81
- ### Trademarks
107
+ ## No Other Rights
82
108
 
83
- Except for displaying the License Details and identifying us as the origin of
84
- the Software, you have no right under these Terms and Conditions to use our
85
- trademarks, trade names, service marks or product names.
109
+ These terms do not allow you to sublicense or transfer any of
110
+ your licenses to anyone else, or prevent the licensor from
111
+ granting licenses to anyone else. These terms do not imply
112
+ any other licenses.
86
113
 
87
- ## Grant of Future License
114
+ ## Patent Defense
88
115
 
89
- We hereby irrevocably grant you an additional license to use the Software under
90
- the MIT license that is effective on the second anniversary of the date we make
91
- the Software available. On or after that date, you may use the Software under
92
- the MIT license, in which case the following will apply:
116
+ If you make any written claim that the software infringes or
117
+ contributes to infringement of any patent, your patent license
118
+ for the software granted under these terms ends immediately. If
119
+ your company makes such a claim, your patent license ends
120
+ immediately for work on behalf of your company.
93
121
 
94
- Permission is hereby granted, free of charge, to any person obtaining a copy of
95
- this software and associated documentation files (the "Software"), to deal in
96
- the Software without restriction, including without limitation the rights to
97
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
98
- of the Software, and to permit persons to whom the Software is furnished to do
99
- so, subject to the following conditions:
122
+ ## Violations
100
123
 
101
- The above copyright notice and this permission notice shall be included in all
102
- copies or substantial portions of the Software.
124
+ The first time you are notified in writing that you have
125
+ violated any of these terms, or done anything with the software
126
+ not covered by your licenses, your licenses can nonetheless
127
+ continue if you come into full compliance with these terms,
128
+ and take practical steps to correct past violations, within
129
+ 32 days of receiving notice. Otherwise, all your licenses
130
+ end immediately.
103
131
 
104
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
105
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
106
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
107
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
108
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
109
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
110
- SOFTWARE.
132
+ ## No Liability
133
+
134
+ ***As far as the law allows, the software comes as is, without
135
+ any warranty or condition, and the licensor will not be liable
136
+ to you for any damages arising out of these terms or the use
137
+ or nature of the software, under any kind of legal claim.***
138
+
139
+ ## Definitions
140
+
141
+ The **licensor** is the individual or entity offering these
142
+ terms, and the **software** is the software the licensor makes
143
+ available under these terms.
144
+
145
+ A **product** can be a good or service, or a combination
146
+ of them.
147
+
148
+ **You** refers to the individual or entity agreeing to these
149
+ terms.
150
+
151
+ **Your company** is any legal entity, sole proprietorship,
152
+ or other kind of organization that you work for, plus all
153
+ its affiliates.
154
+
155
+ **Affiliates** means the other organizations that an
156
+ organization has control over, is under the control of, or is
157
+ under common control with.
158
+
159
+ **Control** means ownership of substantially all the assets of
160
+ an entity, or the power to direct its management and policies
161
+ by vote, contract, or otherwise. Control can be direct or
162
+ indirect.
163
+
164
+ **Your licenses** are all the licenses granted to you for the
165
+ software under these terms.
166
+
167
+ **Use** means anything you do with the software requiring one
168
+ of your licenses.
package/README.md CHANGED
@@ -124,3 +124,19 @@ macOS (launchd) example — save to `~/Library/LaunchAgents/app.chatpanel.bridge
124
124
  ```
125
125
 
126
126
  Then `launchctl load ~/Library/LaunchAgents/app.chatpanel.bridge.plist`.
127
+
128
+ ## License
129
+
130
+ **Source-available**, under the [**PolyForm Shield License 1.0.0**](LICENSE).
131
+ Read, audit, run, and modify it for your own use — you just may not use it to
132
+ provide a product or service that **competes** with ChatPanel. The
133
+ [extension](https://github.com/chatpanel/chatpanel-extension) is under the same
134
+ license. This is *not* an OSI "open source" license; the source is published for
135
+ transparency and trust (this bridge runs on your machine with file access, so it
136
+ should be auditable), not for re-packaging or resale.
137
+
138
+ ## Trademarks & brand
139
+
140
+ The name **“ChatPanel”**, the logo, and brand assets are **trademarks of ChatPanel,
141
+ not licensed** under the terms above — the Shield license covers the code only.
142
+ Don't redistribute a fork (e.g. to npm) under the ChatPanel name or marks.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chatpanel/bridge",
3
- "version": "0.10.12",
3
+ "version": "0.10.13",
4
4
  "type": "module",
5
5
  "description": "Local bridge that exposes the AI coding agents installed on your machine — Claude Code (CLI), Codex (CLI), and Gemini CLI — to the ChatPanel Chrome extension over a localhost SSE endpoint. Bring your own agent.",
6
6
  "keywords": [
package/src/server.js CHANGED
@@ -36,7 +36,7 @@ import { callLocalMcp } from './mcp-local.js';
36
36
  // Hardcoded (not read from package.json) so it survives Bun's single-file
37
37
  // --compile, where package.json isn't on a readable FS. CI fails the publish if
38
38
  // this drifts from package.json, so the two can't silently diverge.
39
- const VERSION = '0.10.12';
39
+ const VERSION = '0.10.13';
40
40
  const HOST = process.env.CHATPANEL_BRIDGE_HOST || '127.0.0.1';
41
41
  const PORT = Number(process.env.CHATPANEL_BRIDGE_PORT) || 4319;
42
42