finch-git-branch 0.3.3 → 0.3.5
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/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/scm-panel.js +4 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ The first version intentionally leaves out force-push, rebase, reset, cherry-pic
|
|
|
32
32
|
|
|
33
33
|
## Permissions
|
|
34
34
|
|
|
35
|
-
This tool needs shell permission
|
|
35
|
+
This tool needs shell permission to run local `git` commands and read-only filesystem permission to inspect repository metadata and changed files. No network access needed.
|
|
36
36
|
|
|
37
37
|
## Development
|
|
38
38
|
|
package/README.zh-CN.md
CHANGED
package/dist/scm-panel.js
CHANGED
|
@@ -154,7 +154,10 @@ export function activateScmPanel(ctx) {
|
|
|
154
154
|
let generation = 0;
|
|
155
155
|
let repos = [];
|
|
156
156
|
let unavailable = false;
|
|
157
|
-
|
|
157
|
+
// A panel can receive its initial bridge message before `visible` flips to
|
|
158
|
+
// true. Treat the live handle as available so that init is never dropped;
|
|
159
|
+
// visibility still triggers an explicit refresh below.
|
|
160
|
+
const active = () => !unavailable;
|
|
158
161
|
const post = async (message) => {
|
|
159
162
|
if (!active())
|
|
160
163
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "finch-git-branch",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "Git Source Control for Finch Composer toolbar.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Finch Team",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"skills": false
|
|
99
99
|
},
|
|
100
100
|
"permissions": {
|
|
101
|
-
"filesystem": "
|
|
101
|
+
"filesystem": "read",
|
|
102
102
|
"network": false,
|
|
103
103
|
"shell": true
|
|
104
104
|
}
|