Skip to content

Commit f0a9f44

Browse files
committed
feat(working-copy): add working-copy protocol launcher support
1 parent 6c1f7bf commit f0a9f44

38 files changed

+3856
-0
lines changed

.changeset/honest-kiwis-wear.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'protocol-launcher': minor
3+
---
4+
5+
feat(working-copy): add working-copy protocol launcher support

apps/docs/.vitepress/config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export default defineConfig({
112112
'en/apps/wemeet.md': 'apps/wemeet.md',
113113
'en/apps/whereto.md': 'apps/whereto.md',
114114
'en/apps/windsurf.md': 'apps/windsurf.md',
115+
'en/apps/working-copy.md': 'apps/working-copy.md',
115116
'en/apps/xcode.md': 'apps/xcode.md',
116117
'en/apps/zed.md': 'apps/zed.md',
117118
},
@@ -251,6 +252,7 @@ export default defineConfig({
251252
{ text: 'WeMeet', link: '/apps/wemeet' },
252253
{ text: 'Where To?', link: '/apps/whereto' },
253254
{ text: 'Windsurf', link: '/apps/windsurf' },
255+
{ text: 'Working Copy', link: '/apps/working-copy' },
254256
{ text: 'Xcode', link: '/apps/xcode' },
255257
{ text: 'Zed', link: '/apps/zed' },
256258
],
@@ -395,6 +397,7 @@ export default defineConfig({
395397
{ text: 'WeMeet', link: '/apps/wemeet' },
396398
{ text: 'Where To?', link: '/apps/whereto' },
397399
{ text: 'Windsurf', link: '/apps/windsurf' },
400+
{ text: 'Working Copy', link: '/apps/working-copy' },
398401
{ text: 'Xcode', link: '/apps/xcode' },
399402
{ text: 'Zed', link: '/apps/zed' },
400403
],
@@ -476,6 +479,7 @@ export default defineConfig({
476479
{ text: 'WeMeet', link: '/zh/apps/wemeet' },
477480
{ text: 'Where To?', link: '/zh/apps/whereto' },
478481
{ text: 'Windsurf', link: '/zh/apps/windsurf' },
482+
{ text: 'Working Copy', link: '/zh/apps/working-copy' },
479483
{ text: 'Xcode', link: '/zh/apps/xcode' },
480484
{ text: 'Zed', link: '/zh/apps/zed' },
481485
],
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
export const openParams = {}
2+
3+
export const cloneParams = {
4+
remote: 'https://github.com/zhensherlock/watermark-js-plus.git',
5+
}
6+
7+
export const showParams = {
8+
remote: 'https://github.com/zhensherlock/watermark-js-plus.git',
9+
}
10+
11+
export const openScreenParams = {
12+
repo: 'my project',
13+
path: 'README.md',
14+
mode: 'content',
15+
}
16+
17+
export const checkoutParams = {
18+
key: '123ABC',
19+
repo: 'my repo',
20+
branch: 'develop',
21+
}
22+
23+
export const commitParams = {
24+
key: '123ABC',
25+
repo: 'my repo',
26+
path: '',
27+
limit: 999,
28+
message: 'fix',
29+
}
30+
31+
export const pushParams = {
32+
key: '123ABC',
33+
repo: 'my repo',
34+
}
35+
36+
export const pullParams = {
37+
key: '123ABC',
38+
repo: 'my repo',
39+
}
40+
41+
export const fetchParams = {
42+
key: '123ABC',
43+
repo: 'my repo',
44+
}
45+
46+
export const statusParams = {
47+
key: '123ABC',
48+
repo: 'my repo',
49+
unchanged: true,
50+
}
51+
52+
export const logParams = {
53+
key: '123ABC',
54+
repo: 'my repo',
55+
}
56+
57+
export const branchesParams = {
58+
key: '123ABC',
59+
repo: 'my repo',
60+
}
61+
62+
export const mergeParams = {
63+
key: '123ABC',
64+
repo: 'my repo',
65+
branch: 'develop',
66+
}
67+
68+
export const deleteBranchParams = {
69+
key: '123ABC',
70+
repo: 'my repo',
71+
branch: 'develop',
72+
}
73+
74+
export const initParams = {
75+
key: '123ABC',
76+
name: 'new repository',
77+
}
78+
79+
export const reposParams = {
80+
key: '123ABC',
81+
}
82+
83+
export const moveParams = {
84+
key: '123ABC',
85+
repo: 'my repo',
86+
source: 'from.txt',
87+
destination: 'to.txt',
88+
}
89+
90+
export const readParams = {
91+
key: '123ABC',
92+
xSuccess: 'app://x-callback-url/read?text=',
93+
repo: 'my repo',
94+
path: 'README.md',
95+
}
96+
97+
export const writeParams = {
98+
key: '123ABC',
99+
repo: 'my repo',
100+
path: 'README.md',
101+
text: 'hello there',
102+
}
103+
104+
export const zipParams = {
105+
key: '123ABC',
106+
xSuccess: 'my-app://x-callback-url/read?path=/',
107+
repo: 'my repo',
108+
}
109+
110+
export const importLogParams = {
111+
lines: 'first line\nsecond line',
112+
}
113+
114+
export const sshCommandParams = {
115+
key: '123ABC',
116+
server: 'remote.server.net',
117+
cmd: 'run tests',
118+
}
119+
120+
export const webdavParams = {
121+
key: '123ABC',
122+
cmd: 'start',
123+
}
124+
125+
export const chainParams = {
126+
key: '123ABC',
127+
repo: 'my repo',
128+
commands: [{ command: 'commit', params: { message: 'fix' } }, { command: 'push' }],
129+
}

0 commit comments

Comments
 (0)