@piwitests/server 0.17.0 → 0.18.1
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{BcLXUmKT.js → 36cXPVrY.js} +1 -1
- package/.output/public/_nuxt/{CMB-NkFa.js → 87SGk1nu.js} +1 -1
- package/.output/public/_nuxt/{CWmQcueG.js → AjuKBlzz.js} +1 -1
- package/.output/public/_nuxt/{DAeYmPfX.js → B1CB30tg.js} +1 -1
- package/.output/public/_nuxt/{BU6xjw05.js → B6IHiVa1.js} +1 -1
- package/.output/public/_nuxt/{z7PmsnBG.js → B6rt3IcG.js} +1 -1
- package/.output/public/_nuxt/{BDcIWTTq.js → BAaSmp8J.js} +1 -1
- package/.output/public/_nuxt/{rw7Hdll3.js → BAkJhSAW.js} +1 -1
- package/.output/public/_nuxt/{L6HlmmEa.js → BCArQk0c.js} +1 -1
- package/.output/public/_nuxt/{D811X8KM.js → BEB2Mv6B.js} +1 -1
- package/.output/public/_nuxt/BFjmLXYo.js +8 -0
- package/.output/public/_nuxt/{CbuWynGG.js → BJltXwHg.js} +1 -1
- package/.output/public/_nuxt/{Dn6cGVYB.js → BKaU95es.js} +1 -1
- package/.output/public/_nuxt/{CHHqhAsw.js → BReNbog6.js} +1 -1
- package/.output/public/_nuxt/{yZ4LuI9d.js → BTYiG93l.js} +1 -1
- package/.output/public/_nuxt/{D7P0ML0H.js → BUMZHDRC.js} +1 -1
- package/.output/public/_nuxt/{US3YSX4T.js → BVDBIVAQ.js} +1 -1
- package/.output/public/_nuxt/{BgDEjrcz.js → B_aSGB8S.js} +1 -1
- package/.output/public/_nuxt/{Ce3tBrN7.js → BaDv5D7A.js} +1 -1
- package/.output/public/_nuxt/{BWFY2RuU.js → BdHdHyop.js} +1 -1
- package/.output/public/_nuxt/{jlBi8Byu.js → BfoG8R5a.js} +1 -1
- package/.output/public/_nuxt/{3QTvYrZp.js → Bi3i470l.js} +1 -1
- package/.output/public/_nuxt/Bi9DO8jm.js +1 -0
- package/.output/public/_nuxt/{PxPbRVF-.js → BiX7c2qU.js} +1 -1
- package/.output/public/_nuxt/{DwZiG9xH.js → BoC6qaRF.js} +4 -4
- package/.output/public/_nuxt/{C7nwFokE.js → BsDB_eCd.js} +1 -1
- package/.output/public/_nuxt/{cBj9fai9.js → BuuvTH9e.js} +1 -1
- package/.output/public/_nuxt/{DvC5Adg1.js → C11lmBd4.js} +1 -1
- package/.output/public/_nuxt/{Dx1oCMgy.js → C4AfzZER.js} +1 -1
- package/.output/public/_nuxt/{CYuWAvXE.js → C7ZVzS0K.js} +1 -1
- package/.output/public/_nuxt/{B6hPf4UR.js → C8cz5feG.js} +1 -1
- package/.output/public/_nuxt/{DjRhouSr.js → C9EpbPNU.js} +1 -1
- package/.output/public/_nuxt/{HCK35QD8.js → C9ahP7km.js} +1 -1
- package/.output/public/_nuxt/{8jZmK2De.js → CBEM3L1q.js} +1 -1
- package/.output/public/_nuxt/{sMFaPAAR.js → CCsl9MOZ.js} +1 -1
- package/.output/public/_nuxt/{DTH2lteW.js → CCw3Tx4S.js} +1 -1
- package/.output/public/_nuxt/{99tAfVF5.js → CGq9qR-0.js} +1 -1
- package/.output/public/_nuxt/{Dym66h3p.js → CLdGRzLL.js} +1 -1
- package/.output/public/_nuxt/{BRdhP5lm.js → CP0vUzbd.js} +1 -1
- package/.output/public/_nuxt/{D_TbJDHY.js → CPZ5wygb.js} +1 -1
- package/.output/public/_nuxt/{Bua_L6p4.js → CRcjGmf7.js} +1 -1
- package/.output/public/_nuxt/{DS9yGVFL.js → CRpbGS75.js} +1 -1
- package/.output/public/_nuxt/{DDPptydi.js → CTgM5Fke.js} +1 -1
- package/.output/public/_nuxt/{D_A6axXa.js → CU3W9YrI.js} +1 -1
- package/.output/public/_nuxt/{BwKwWgQe.js → CUDeMcEK.js} +1 -1
- package/.output/public/_nuxt/{DFM2jv9I.js → CYIR2GbL.js} +1 -1
- package/.output/public/_nuxt/{B1CUXGbl.js → Ccit_CX1.js} +1 -1
- package/.output/public/_nuxt/CiPH-swI.js +1 -0
- package/.output/public/_nuxt/{DRTxhZBV.js → ClIKZ4qY.js} +1 -1
- package/.output/public/_nuxt/{DvXvJzFP.js → ClVRQpP_.js} +1 -1
- package/.output/public/_nuxt/{CvtYJHkY.js → CmbjAoQu.js} +1 -1
- package/.output/public/_nuxt/Cx65B3c3.js +1 -0
- package/.output/public/_nuxt/{Cz2HhsB6.js → D1ttGJfs.js} +1 -1
- package/.output/public/_nuxt/{DtXREpk_.js → D3MWm6JP.js} +1 -1
- package/.output/public/_nuxt/{BrT_Sys2.js → D3SYPlEB.js} +28 -28
- package/.output/public/_nuxt/{Cf4h8qty.js → D4SFgXAf.js} +1 -1
- package/.output/public/_nuxt/{DCffDvxl.js → D51_cB9D.js} +1 -1
- package/.output/public/_nuxt/{QFMx1VKs.js → D8YZvjas.js} +1 -1
- package/.output/public/_nuxt/{BE8ykmwr.js → DB3ljns7.js} +1 -1
- package/.output/public/_nuxt/{CSAmL8XJ.js → DC51KKt4.js} +1 -1
- package/.output/public/_nuxt/{3QTorEhJ.js → DCMFuzDI.js} +1 -1
- package/.output/public/_nuxt/{CNULGfLp.js → DIA_NAIv.js} +1 -1
- package/.output/public/_nuxt/{COVRAesU.js → DM_YaJgJ.js} +1 -1
- package/.output/public/_nuxt/{DJHNEqb7.js → DOr_4nln.js} +2 -2
- package/.output/public/_nuxt/{BGZQONfm.js → DRE6Aqqp.js} +1 -1
- package/.output/public/_nuxt/{DPSOtRoz.js → DVgMaBxD.js} +1 -1
- package/.output/public/_nuxt/{Sgf5OLhm.js → DaewB_zT.js} +1 -1
- package/.output/public/_nuxt/{ClJkng9p.js → Db_-yjYg.js} +1 -1
- package/.output/public/_nuxt/{DxQq_L07.js → Dbg8z684.js} +1 -1
- package/.output/public/_nuxt/{qYFZH4Z8.js → DcfRfTaA.js} +1 -1
- package/.output/public/_nuxt/{csqspBeX.js → Dm1_3W9g.js} +1 -1
- package/.output/public/_nuxt/{Dz3Wbekz.js → DnThe2U0.js} +1 -1
- package/.output/public/_nuxt/{D0-HTQTD.js → Do6zIWQf.js} +1 -1
- package/.output/public/_nuxt/{CoKEjZX7.js → DoFSKAvY.js} +1 -1
- package/.output/public/_nuxt/{Bpha13F_.js → DoYgYLOd.js} +1 -1
- package/.output/public/_nuxt/{Dvc1aWpA.js → Doul3p1_.js} +1 -1
- package/.output/public/_nuxt/{Ba4_ydKG.js → DraETso1.js} +1 -1
- package/.output/public/_nuxt/{CxLN5Tmq.js → Dwp3GkV-.js} +1 -1
- package/.output/public/_nuxt/{-9tk1FrT.js → Dy4TloG3.js} +1 -1
- package/.output/public/_nuxt/{DT5rhzhJ.js → EltzgiyS.js} +1 -1
- package/.output/public/_nuxt/{D13ybpY3.js → HTQtMbWb.js} +1 -1
- package/.output/public/_nuxt/{Wfk1m0ni.js → KYucVFu7.js} +1 -1
- package/.output/public/_nuxt/TBDx0s9p.js +3 -0
- package/.output/public/_nuxt/{Bq0PQfQY.js → Tt5LX5Y-.js} +1 -1
- package/.output/public/_nuxt/{BxRsAYRS.js → Vnfkr1pJ.js} +1 -1
- package/.output/public/_nuxt/{Df3QtbpW.js → WAaPPk0g.js} +2 -2
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/2f517ae9-c342-457e-b4c5-6301728179f5.json +1 -0
- package/.output/public/_nuxt/{CHIbdzqp.js → empGC_x-.js} +1 -1
- package/.output/public/_nuxt/entry.ChQMshd4.css +1 -0
- package/.output/public/_nuxt/{BciovqwK.js → l0QnzFNM.js} +1 -1
- package/.output/public/_nuxt/{73aPL7Ir.js → lowCGL2S.js} +1 -1
- package/.output/public/_nuxt/{B6w76fJT.js → mlAADjK3.js} +1 -1
- package/.output/public/_nuxt/{Ds2Y3oms.js → n-QWmQgc.js} +1 -1
- package/.output/public/_nuxt/{DpJrGwCr.js → oFIS9u6t.js} +1 -1
- package/.output/public/_nuxt/{BEsJE07U.js → oWY3I9uX.js} +1 -1
- package/.output/public/_nuxt/{lCkcEykv.js → q0DPzLKN.js} +1 -1
- package/.output/public/_nuxt/{r9WApUfF.js → quV6tp4n.js} +1 -1
- package/.output/public/_nuxt/{8xyZSRSO.js → riEUDnED.js} +1 -1
- package/.output/public/_nuxt/{ByoIgYX_.js → rm7OkgDG.js} +1 -1
- package/.output/public/_nuxt/uaqMzXqE.js +5 -0
- package/.output/public/_nuxt/{vzXhOO8R.js → va1mwSm9.js} +1 -1
- package/.output/public/_nuxt/{BoRJdCd4.js → wGpfdK6o.js} +1 -1
- package/.output/public/_nuxt/{za5M7BGh.js → wQZj69OY.js} +1 -1
- package/.output/public/_nuxt/wgcgHmRR.js +1 -0
- package/.output/public/sw.js +1 -1
- package/.output/server/chunks/build/{about-TuEZ9n1Q.mjs → about-CoJjvUwM.mjs} +119 -11
- package/.output/server/chunks/build/about-CoJjvUwM.mjs.map +1 -0
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/{docs-EXhN3sqC.mjs → docs-BN_x1OW3.mjs} +50 -6
- package/.output/server/chunks/build/{docs-EXhN3sqC.mjs.map → docs-BN_x1OW3.mjs.map} +1 -1
- package/.output/server/chunks/build/{mcp-CQ-21rwc.mjs → mcp-_o6cMS6m.mjs} +307 -225
- package/.output/server/chunks/build/mcp-_o6cMS6m.mjs.map +1 -0
- package/.output/server/chunks/build/server.mjs +3 -3
- package/.output/server/chunks/build/useTauri-lRT8zkLv.mjs +7 -0
- package/.output/server/chunks/build/useTauri-lRT8zkLv.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +683 -690
- package/.output/server/package.json +1 -1
- package/package.json +1 -1
- package/.output/public/_nuxt/26ll_vBr.js +0 -1
- package/.output/public/_nuxt/B_QIrc7l.js +0 -1
- package/.output/public/_nuxt/CEuVRSr0.js +0 -3
- package/.output/public/_nuxt/Cl96oI21.js +0 -5
- package/.output/public/_nuxt/DATh_1DQ.js +0 -1
- package/.output/public/_nuxt/DUe6xuKQ.js +0 -1
- package/.output/public/_nuxt/DqsMiUoW.js +0 -2
- package/.output/public/_nuxt/Ds4Lb1vi.js +0 -7
- package/.output/public/_nuxt/builds/meta/05a2dd95-d1c1-4e3a-8625-ac6bfea83837.json +0 -1
- package/.output/public/_nuxt/entry.BaIGwMjT.css +0 -1
- package/.output/server/chunks/build/DesktopMcpCard-B4JuUTKj.mjs +0 -122
- package/.output/server/chunks/build/DesktopMcpCard-B4JuUTKj.mjs.map +0 -1
- package/.output/server/chunks/build/about-TuEZ9n1Q.mjs.map +0 -1
- package/.output/server/chunks/build/mcp-CQ-21rwc.mjs.map +0 -1
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { _ as __nuxt_component_11 } from './SectionCard-COd9TuDq.mjs';
|
|
2
|
-
import { m as _sfc_main$k } from './server.mjs';
|
|
3
|
-
import { _ as __nuxt_component_5$1 } from './CodeBlock-BGwNmJ8J.mjs';
|
|
4
|
-
import { defineComponent, computed, mergeProps, withCtx, unref, createVNode, toDisplayString, createTextVNode, useSSRContext } from 'vue';
|
|
5
|
-
import { ssrRenderComponent, ssrInterpolate } from 'vue/server-renderer';
|
|
6
|
-
import { u as useCopy } from './useCopy-BQQKcwlq.mjs';
|
|
7
|
-
|
|
8
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "DesktopMcpCard",
|
|
10
|
-
__ssrInlineRender: true,
|
|
11
|
-
props: {
|
|
12
|
-
url: {},
|
|
13
|
-
token: {}
|
|
14
|
-
},
|
|
15
|
-
setup(__props) {
|
|
16
|
-
const props = __props;
|
|
17
|
-
const { copy } = useCopy();
|
|
18
|
-
const mcpUrl = computed(() => `${props.url}/mcp`);
|
|
19
|
-
const claudeCodeSnippet = computed(
|
|
20
|
-
() => `claude mcp add --transport http piwi ${mcpUrl.value} \\
|
|
21
|
-
--header "Authorization: Bearer ${props.token}"`
|
|
22
|
-
);
|
|
23
|
-
return (_ctx, _push, _parent, _attrs) => {
|
|
24
|
-
const _component_SectionCard = __nuxt_component_11;
|
|
25
|
-
const _component_UButton = _sfc_main$k;
|
|
26
|
-
const _component_CodeBlock = __nuxt_component_5$1;
|
|
27
|
-
_push(ssrRenderComponent(_component_SectionCard, mergeProps({
|
|
28
|
-
icon: "i-lucide-plug",
|
|
29
|
-
title: "Connect an AI assistant (MCP)"
|
|
30
|
-
}, _attrs), {
|
|
31
|
-
subtitle: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
32
|
-
if (_push2) {
|
|
33
|
-
_push2(` This app exposes a local MCP endpoint. Point your client at the URL below and authenticate with the access token — it is the Bearer token, even though sign-in is off. `);
|
|
34
|
-
} else {
|
|
35
|
-
return [
|
|
36
|
-
createTextVNode(" This app exposes a local MCP endpoint. Point your client at the URL below and authenticate with the access token — it is the Bearer token, even though sign-in is off. ")
|
|
37
|
-
];
|
|
38
|
-
}
|
|
39
|
-
}),
|
|
40
|
-
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
41
|
-
if (_push2) {
|
|
42
|
-
_push2(`<div class="space-y-3 text-sm"${_scopeId}><div class="space-y-1"${_scopeId}><div class="text-muted"${_scopeId}>MCP URL</div><div class="flex items-start gap-2"${_scopeId}><code class="text-xs break-all flex-1"${_scopeId}>${ssrInterpolate(unref(mcpUrl))}</code>`);
|
|
43
|
-
_push2(ssrRenderComponent(_component_UButton, {
|
|
44
|
-
icon: "i-lucide-copy",
|
|
45
|
-
color: "neutral",
|
|
46
|
-
variant: "ghost",
|
|
47
|
-
size: "xs",
|
|
48
|
-
"aria-label": "Copy MCP URL",
|
|
49
|
-
onClick: ($event) => unref(copy)(unref(mcpUrl), { toast: true })
|
|
50
|
-
}, null, _parent2, _scopeId));
|
|
51
|
-
_push2(`</div></div><div class="space-y-1"${_scopeId}><div class="text-muted"${_scopeId}>Access token</div><div class="flex items-start gap-2"${_scopeId}><code class="text-xs break-all flex-1"${_scopeId}>${ssrInterpolate(__props.token)}</code>`);
|
|
52
|
-
_push2(ssrRenderComponent(_component_UButton, {
|
|
53
|
-
icon: "i-lucide-copy",
|
|
54
|
-
color: "neutral",
|
|
55
|
-
variant: "ghost",
|
|
56
|
-
size: "xs",
|
|
57
|
-
"aria-label": "Copy access token",
|
|
58
|
-
onClick: ($event) => unref(copy)(__props.token, { toast: true })
|
|
59
|
-
}, null, _parent2, _scopeId));
|
|
60
|
-
_push2(`</div></div><div class="space-y-1"${_scopeId}><div class="text-muted"${_scopeId}>Claude Code</div>`);
|
|
61
|
-
_push2(ssrRenderComponent(_component_CodeBlock, {
|
|
62
|
-
code: unref(claudeCodeSnippet),
|
|
63
|
-
lang: "sh"
|
|
64
|
-
}, null, _parent2, _scopeId));
|
|
65
|
-
_push2(`</div></div>`);
|
|
66
|
-
} else {
|
|
67
|
-
return [
|
|
68
|
-
createVNode("div", { class: "space-y-3 text-sm" }, [
|
|
69
|
-
createVNode("div", { class: "space-y-1" }, [
|
|
70
|
-
createVNode("div", { class: "text-muted" }, "MCP URL"),
|
|
71
|
-
createVNode("div", { class: "flex items-start gap-2" }, [
|
|
72
|
-
createVNode("code", { class: "text-xs break-all flex-1" }, toDisplayString(unref(mcpUrl)), 1),
|
|
73
|
-
createVNode(_component_UButton, {
|
|
74
|
-
icon: "i-lucide-copy",
|
|
75
|
-
color: "neutral",
|
|
76
|
-
variant: "ghost",
|
|
77
|
-
size: "xs",
|
|
78
|
-
"aria-label": "Copy MCP URL",
|
|
79
|
-
onClick: ($event) => unref(copy)(unref(mcpUrl), { toast: true })
|
|
80
|
-
}, null, 8, ["onClick"])
|
|
81
|
-
])
|
|
82
|
-
]),
|
|
83
|
-
createVNode("div", { class: "space-y-1" }, [
|
|
84
|
-
createVNode("div", { class: "text-muted" }, "Access token"),
|
|
85
|
-
createVNode("div", { class: "flex items-start gap-2" }, [
|
|
86
|
-
createVNode("code", { class: "text-xs break-all flex-1" }, toDisplayString(__props.token), 1),
|
|
87
|
-
createVNode(_component_UButton, {
|
|
88
|
-
icon: "i-lucide-copy",
|
|
89
|
-
color: "neutral",
|
|
90
|
-
variant: "ghost",
|
|
91
|
-
size: "xs",
|
|
92
|
-
"aria-label": "Copy access token",
|
|
93
|
-
onClick: ($event) => unref(copy)(__props.token, { toast: true })
|
|
94
|
-
}, null, 8, ["onClick"])
|
|
95
|
-
])
|
|
96
|
-
]),
|
|
97
|
-
createVNode("div", { class: "space-y-1" }, [
|
|
98
|
-
createVNode("div", { class: "text-muted" }, "Claude Code"),
|
|
99
|
-
createVNode(_component_CodeBlock, {
|
|
100
|
-
code: unref(claudeCodeSnippet),
|
|
101
|
-
lang: "sh"
|
|
102
|
-
}, null, 8, ["code"])
|
|
103
|
-
])
|
|
104
|
-
])
|
|
105
|
-
];
|
|
106
|
-
}
|
|
107
|
-
}),
|
|
108
|
-
_: 1
|
|
109
|
-
}, _parent));
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
const _sfc_setup = _sfc_main.setup;
|
|
114
|
-
_sfc_main.setup = (props, ctx) => {
|
|
115
|
-
const ssrContext = useSSRContext();
|
|
116
|
-
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/desktop/DesktopMcpCard.vue");
|
|
117
|
-
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
118
|
-
};
|
|
119
|
-
const __nuxt_component_5 = Object.assign(_sfc_main, { __name: "DesktopMcpCard" });
|
|
120
|
-
|
|
121
|
-
export { __nuxt_component_5 as _ };
|
|
122
|
-
//# sourceMappingURL=DesktopMcpCard-B4JuUTKj.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DesktopMcpCard-B4JuUTKj.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/DesktopMcpCard-B4JuUTKj.js"],"names":["_sfc_main$1"],"mappings":"","x_google_ignoreList":[0]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"about-TuEZ9n1Q.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/about-TuEZ9n1Q.js"],"names":["_sfc_main$3","__nuxt_component_5","_sfc_main$4","_sfc_main$5","__nuxt_component_5$1","_sfc_main$6"],"mappings":"","x_google_ignoreList":[0]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-CQ-21rwc.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/mcp-CQ-21rwc.js"],"names":["_sfc_main$6","_sfc_main$3","_sfc_main$4","_sfc_main$5"],"mappings":"","x_google_ignoreList":[0]}
|