blink 1.1.34 → 1.1.35
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/dist/browser/control/index.d.cts +16 -16
- package/dist/browser/control/index.d.ts +16 -16
- package/dist/cli/chat-BfOX7Zpn.js +1 -0
- package/dist/cli/{chat-manager-bMAuoSb5.js → chat-manager-cUXPlLU4.js} +6 -6
- package/dist/cli/connect-3pBvxI6u.js +1 -0
- package/dist/cli/connect-XRcF_tn8.js +1 -0
- package/dist/cli/{create-github-app-Dld06QIC.js → create-github-app-CaCP607a.js} +1 -1
- package/dist/cli/{dev-9EzQCNmd.js → dev-DOvBAIjm.js} +143 -136
- package/dist/cli/index.js +4 -4
- package/dist/cli/{init-CByRT25U.js → init-LtTUYXzn.js} +1 -1
- package/dist/cli/{run-Lp28Ogb_.js → run-BHKBjgkK.js} +1 -1
- package/dist/cli/setup-github-app-DBiuq7cy.js +9 -0
- package/dist/cli/{token-util-DIx5k-1f.js → token-util-3NkPUSqu.js} +1 -1
- package/dist/cli/{token-util-h1hcKvQX.js → token-util-BgEcL2NM.js} +1 -1
- package/dist/cli/{token-ClGOahUF.js → token-v4NJW7VU.js} +1 -1
- package/dist/node/agent/index.node.cjs +1 -1
- package/dist/node/agent/index.node.js +1 -1
- package/dist/node/{index.node-Btg8Ii_o.cjs → index.node-CFR7FTuY.cjs} +4 -4
- package/dist/node/{index.node-xL4mvvNL.js → index.node-CITcyk6b.js} +4 -4
- package/dist/node/react/index.node.cjs +7 -7
- package/dist/node/react/index.node.js +7 -7
- package/dist/node/{token-CI2_C_5D.js → token-B2MtKe6w.js} +1 -1
- package/dist/node/{token-D4jFpAk0.cjs → token-BQ-EqDMB.cjs} +1 -1
- package/dist/node/{token-util-BxSJFXkT.cjs → token-util--zh4M6Ze.cjs} +1 -1
- package/dist/node/{token-util-idU3T5iM.js → token-util-CtaB7NzM.js} +1 -1
- package/dist/node/token-util-P8_cV3Yu.cjs +1 -0
- package/dist/node/{token-util-ChGcRyiF.js → token-util-RdQsj3MK.js} +1 -1
- package/package.json +10 -8
- package/dist/cli/chat-mj0wnV3_.js +0 -1
- package/dist/cli/connect-BnhWpzRI.js +0 -1
- package/dist/cli/connect-Cd-0O7Uu.js +0 -1
- package/dist/cli/setup-github-app-D-K7e6al.js +0 -9
- package/dist/node/token-util-BENsR1Bn.cjs +0 -1
|
@@ -65,11 +65,9 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
65
65
|
key: string;
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
-
output:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
outputFormat: "json";
|
|
72
|
-
status: 400;
|
|
68
|
+
output: null;
|
|
69
|
+
outputFormat: "body";
|
|
70
|
+
status: 204;
|
|
73
71
|
} | {
|
|
74
72
|
input: {
|
|
75
73
|
json: {
|
|
@@ -80,9 +78,11 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
80
78
|
key: string;
|
|
81
79
|
};
|
|
82
80
|
};
|
|
83
|
-
output:
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
output: {
|
|
82
|
+
error: string;
|
|
83
|
+
};
|
|
84
|
+
outputFormat: "json";
|
|
85
|
+
status: 400;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
88
|
} & {
|
|
@@ -348,11 +348,9 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
348
348
|
id: string;
|
|
349
349
|
};
|
|
350
350
|
};
|
|
351
|
-
output:
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
outputFormat: "json";
|
|
355
|
-
status: 400;
|
|
351
|
+
output: null;
|
|
352
|
+
outputFormat: "body";
|
|
353
|
+
status: 204;
|
|
356
354
|
} | {
|
|
357
355
|
input: {
|
|
358
356
|
json: {
|
|
@@ -365,9 +363,11 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
365
363
|
id: string;
|
|
366
364
|
};
|
|
367
365
|
};
|
|
368
|
-
output:
|
|
369
|
-
|
|
370
|
-
|
|
366
|
+
output: {
|
|
367
|
+
error: string;
|
|
368
|
+
};
|
|
369
|
+
outputFormat: "json";
|
|
370
|
+
status: 400;
|
|
371
371
|
};
|
|
372
372
|
};
|
|
373
373
|
} & {
|
|
@@ -65,11 +65,9 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
65
65
|
key: string;
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
-
output:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
outputFormat: "json";
|
|
72
|
-
status: 400;
|
|
68
|
+
output: null;
|
|
69
|
+
outputFormat: "body";
|
|
70
|
+
status: 204;
|
|
73
71
|
} | {
|
|
74
72
|
input: {
|
|
75
73
|
json: {
|
|
@@ -80,9 +78,11 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
80
78
|
key: string;
|
|
81
79
|
};
|
|
82
80
|
};
|
|
83
|
-
output:
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
output: {
|
|
82
|
+
error: string;
|
|
83
|
+
};
|
|
84
|
+
outputFormat: "json";
|
|
85
|
+
status: 400;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
88
|
} & {
|
|
@@ -348,11 +348,9 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
348
348
|
id: string;
|
|
349
349
|
};
|
|
350
350
|
};
|
|
351
|
-
output:
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
outputFormat: "json";
|
|
355
|
-
status: 400;
|
|
351
|
+
output: null;
|
|
352
|
+
outputFormat: "body";
|
|
353
|
+
status: 204;
|
|
356
354
|
} | {
|
|
357
355
|
input: {
|
|
358
356
|
json: {
|
|
@@ -365,9 +363,11 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
365
363
|
id: string;
|
|
366
364
|
};
|
|
367
365
|
};
|
|
368
|
-
output:
|
|
369
|
-
|
|
370
|
-
|
|
366
|
+
output: {
|
|
367
|
+
error: string;
|
|
368
|
+
};
|
|
369
|
+
outputFormat: "json";
|
|
370
|
+
status: 400;
|
|
371
371
|
};
|
|
372
372
|
};
|
|
373
373
|
} & {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{import_websocket as e}from"./wrapper-DRdRnzOz.js";import{openUrl as t}from"./util-CUfifM0g.js";import{WorkspaceConnect as n}from"./connect-3pBvxI6u.js";async function r(){let r=crypto.randomUUID(),i=new e.default(`wss://blink.so/legacy-auth?id=${r}`);await new Promise((e,t)=>{i.onopen=()=>{e()},i.onerror=e=>{t(e)}});let a=new Promise((e,t)=>{i.onmessage=t=>{e(t.data.toString())}}),o=`https://blink.coder.com/legacy-auth?id=${r}&type=workspace`;console.log(`Opening the following URL in your browser: ${o}`),await t(o);let s=await a,c=new n({url:`wss://blink.so/api/connect`,token:s});c.onConnect(()=>{console.log(`Connected to Blink`)}),c.onDisconnect(()=>{console.log(`Disconnected from Blink`)})}export{r as default};
|