@gasboost/console 0.1.0

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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Gasboost
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # @gasboost/console
2
+
3
+ Gasboost project lifecycle UI.
4
+
5
+ ```bash
6
+ gasboost console open
7
+ ```
8
+
9
+ The UI is prebuilt and bundled with this package. Projects do not need a Vite configuration for the Console.
@@ -0,0 +1,3 @@
1
+ export { createProjectInspectOperation, type ProjectState, } from "./projectInspectOperation.js";
2
+ export { startGasboostConsole } from "./startGasboostConsole.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,KAAK,YAAY,GAClB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ export { createProjectInspectOperation, } from "./projectInspectOperation.js";
2
+ export { startGasboostConsole } from "./startGasboostConsole.js";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,GAE9B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { OperationDefinition } from "@gasboost/console-runtime";
2
+ export type ProjectState = {
3
+ readonly name: string;
4
+ readonly root: string;
5
+ readonly capabilities: {
6
+ readonly appsScript: boolean;
7
+ readonly firebaseRealtimeDatabase: boolean;
8
+ };
9
+ };
10
+ export declare function createProjectInspectOperation(projectRoot: string): OperationDefinition<Record<string, never>, ProjectState>;
11
+ //# sourceMappingURL=projectInspectOperation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectInspectOperation.d.ts","sourceRoot":"","sources":["../src/projectInspectOperation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAIrE,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,YAAY,EAAE;QACrB,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;QAC7B,QAAQ,CAAC,wBAAwB,EAAE,OAAO,CAAC;KAC5C,CAAC;CACH,CAAC;AAEF,wBAAgB,6BAA6B,CAC3C,WAAW,EAAE,MAAM,GAClB,mBAAmB,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,YAAY,CAAC,CAqB1D"}
@@ -0,0 +1,24 @@
1
+ import { loadGasboostConfig } from "@gasboost/config";
2
+ import { basename } from "node:path";
3
+ import { z } from "zod";
4
+ export function createProjectInspectOperation(projectRoot) {
5
+ return {
6
+ id: "project.inspect",
7
+ input: z.object({}).strict(),
8
+ async handler(_input, context) {
9
+ context.progress({ message: "Loading project definition", percentage: 25 });
10
+ const config = await loadGasboostConfig({ projectRoot });
11
+ context.log("gasboost.config.ts loaded");
12
+ context.progress({ message: "Project ready", percentage: 100 });
13
+ return {
14
+ name: basename(projectRoot),
15
+ root: projectRoot,
16
+ capabilities: {
17
+ appsScript: config.appsScript !== undefined,
18
+ firebaseRealtimeDatabase: config.firebase?.realtimeDatabase !== undefined,
19
+ },
20
+ };
21
+ },
22
+ };
23
+ }
24
+ //# sourceMappingURL=projectInspectOperation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectInspectOperation.js","sourceRoot":"","sources":["../src/projectInspectOperation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,MAAM,UAAU,6BAA6B,CAC3C,WAAmB;IAEnB,OAAO;QACL,EAAE,EAAE,iBAAiB;QACrB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE;QAC5B,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO;YAC3B,OAAO,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CAAC;YAC5E,MAAM,MAAM,GAAG,MAAM,kBAAkB,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC;YACzD,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAC;YACzC,OAAO,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC;YAEhE,OAAO;gBACL,IAAI,EAAE,QAAQ,CAAC,WAAW,CAAC;gBAC3B,IAAI,EAAE,WAAW;gBACjB,YAAY,EAAE;oBACZ,UAAU,EAAE,MAAM,CAAC,UAAU,KAAK,SAAS;oBAC3C,wBAAwB,EACtB,MAAM,CAAC,QAAQ,EAAE,gBAAgB,KAAK,SAAS;iBAClD;aACF,CAAC;QACJ,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { type ConsoleRuntime } from "@gasboost/console-runtime";
2
+ export declare function startGasboostConsole({ projectRoot, openBrowser, }: {
3
+ readonly projectRoot: string;
4
+ readonly openBrowser?: boolean;
5
+ }): Promise<ConsoleRuntime>;
6
+ //# sourceMappingURL=startGasboostConsole.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startGasboostConsole.d.ts","sourceRoot":"","sources":["../src/startGasboostConsole.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AAInC,wBAAsB,oBAAoB,CAAC,EACzC,WAAW,EACX,WAAkB,GACnB,EAAE;IACD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;CAChC,GAAG,OAAO,CAAC,cAAc,CAAC,CAM1B"}
@@ -0,0 +1,11 @@
1
+ import { startConsoleRuntime, } from "@gasboost/console-runtime";
2
+ import { fileURLToPath } from "node:url";
3
+ import { createProjectInspectOperation } from "./projectInspectOperation.js";
4
+ export async function startGasboostConsole({ projectRoot, openBrowser = true, }) {
5
+ return startConsoleRuntime({
6
+ uiDirectory: fileURLToPath(new URL("./ui", import.meta.url)),
7
+ operations: [createProjectInspectOperation(projectRoot)],
8
+ openBrowser,
9
+ });
10
+ }
11
+ //# sourceMappingURL=startGasboostConsole.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startGasboostConsole.js","sourceRoot":"","sources":["../src/startGasboostConsole.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,GAEpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAE7E,MAAM,CAAC,KAAK,UAAU,oBAAoB,CAAC,EACzC,WAAW,EACX,WAAW,GAAG,IAAI,GAInB;IACC,OAAO,mBAAmB,CAAC;QACzB,WAAW,EAAE,aAAa,CAAC,IAAI,GAAG,CAAC,MAAM,EAAE,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QAC5D,UAAU,EAAE,CAAC,6BAA6B,CAAC,WAAW,CAAC,CAAC;QACxD,WAAW;KACZ,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1 @@
1
+ :root{color:#17211b;font-synthesis:none;background:#f4f6f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button{font:inherit}.topbar{color:#fff;background:#15271e;border-bottom:1px solid #294235;align-items:center;gap:12px;height:64px;padding:0 24px;display:flex}.brand-mark{color:#15271e;background:#e8ff6a;border-radius:6px;place-items:center;width:34px;height:34px;font-weight:800;display:grid}.product-name{font-size:14px;font-weight:700}.project-path{text-overflow:ellipsis;white-space:nowrap;color:#aabbb1;max-width:min(60vw,680px);font:12px ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden}.icon-button{color:#fff;cursor:pointer;background:0 0;border:1px solid #496052;border-radius:6px;place-items:center;width:36px;height:36px;margin-left:auto;display:grid}.icon-button:hover{background:#294235}.icon-button:disabled{opacity:.5;cursor:wait}.icon-button svg{width:17px;height:17px}.status-band{background:#fff;border-bottom:1px solid #dce2de;justify-content:space-between;align-items:center;gap:24px;min-height:112px;padding:24px clamp(24px,5vw,72px);display:flex}.eyebrow{color:#668071;font-size:11px;font-weight:800}h1,h2,h3,p{letter-spacing:0;margin:0}h1{margin-top:5px;font-size:28px;line-height:1.2}.runtime-status{color:#526158;align-items:center;font-size:13px;font-weight:650;display:flex}.runtime-status span{background:#e0a526;border-radius:50%;width:8px;height:8px}.runtime-status.ready span{background:#28a264}.runtime-status.error span{background:#d54c4c}.workspace{grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 176px);display:grid}.sidebar{background:#e9eeea;border-right:1px solid #d5ddd7;padding:18px 12px}.nav-item{color:#46554c;text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:10px;width:100%;height:40px;padding:0 12px;display:flex}.nav-item svg{width:17px;height:17px}.nav-item.active{color:#17211b;background:#fff;font-weight:700;box-shadow:0 1px 2px #11231914}.nav-item:disabled{opacity:.55}.content{width:min(960px,100%);padding:32px clamp(24px,5vw,64px) 56px}.section-heading{justify-content:space-between;align-items:end;margin-bottom:18px;display:flex}h2{margin-top:4px;font-size:20px;line-height:1.3}.capability-list{background:#fff;border:1px solid #d8dfda;border-radius:7px;overflow:hidden}.capability-row{border-bottom:1px solid #e4e9e5;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:15px;min-height:82px;padding:16px 18px;display:grid}.capability-row:last-child{border-bottom:0}.capability-icon{border-radius:6px;place-items:center;width:40px;height:40px;display:grid}.capability-icon svg{width:19px;height:19px}.capability-icon.apps{color:#2659a8;background:#e7f0ff}.capability-icon.firebase{color:#9a5c00;background:#fff1d6}h3{font-size:14px}.capability-row p{color:#6c7971;margin-top:4px;font-size:12px}.badge{color:#66736b;text-align:center;background:#f6f8f6;border:1px solid #d7ded9;border-radius:4px;min-width:94px;padding:5px 8px;font-size:11px;font-weight:700}.badge.configured{color:#137145;background:#e9f8f0;border-color:#a9dbc1}.badge.inactive{color:#68736c}.activity{margin-top:30px}.activity-heading{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.text-button{color:#446052;cursor:pointer;background:0 0;border:0;font-size:12px;font-weight:700}.log{color:#dce8e0;background:#18241d;border-radius:6px;height:180px;padding:8px 0;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.log-row{grid-template-columns:84px 1fr;gap:10px;padding:4px 14px;display:grid}.log-row time{color:#789083}.log-row.progress span{color:#e8ff6a}.log-row.error span{color:#ff9b9b}@media (width<=700px){.topbar{padding:0 16px}.status-band{min-height:104px;padding:20px}h1{font-size:23px}.workspace{grid-template-columns:1fr}.sidebar{border-bottom:1px solid #d5ddd7;border-right:0;padding:8px;display:flex;overflow-x:auto}.nav-item{width:auto;min-width:max-content}.content{padding:24px 16px 40px}.capability-row{grid-template-columns:40px minmax(0,1fr)}.badge{grid-column:2;justify-self:start}}
@@ -0,0 +1,6 @@
1
+ (function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},t=([e,n,r])=>{let i=document.createElementNS(`http://www.w3.org/2000/svg`,e);return Object.keys(n).forEach(e=>{i.setAttribute(e,String(n[e]))}),r?.length&&r.forEach(e=>{let n=t(e);i.appendChild(n)}),i},n=(n,r={})=>t([`svg`,{...e,...r},n]),r=e=>Array.from(e.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}),i=e=>typeof e==`string`?e:!e||!e.class?``:e.class&&typeof e.class==`string`?e.class.split(` `):e.class&&Array.isArray(e.class)?e.class:``,a=e=>e.flatMap(i).map(e=>e.trim()).filter(Boolean).filter((e,t,n)=>n.indexOf(e)===t).join(` `),o=e=>e.replace(/(\w)(\w*)(_|-|\s*)/g,(e,t,n)=>t.toUpperCase()+n.toLowerCase()),s=(t,{nameAttr:i,icons:s,attrs:c})=>{let l=t.getAttribute(i);if(l==null)return;let u=s[o(l)];if(!u)return console.warn(`${t.outerHTML} icon name was not found in the provided icons object.`);let d=r(t),f={...e,"data-lucide":l,...c,...d},p=a([`lucide`,`lucide-${l}`,d,c]);p&&Object.assign(f,{class:p});let m=n(u,f);return t.parentNode?.replaceChild(m,t)},c=[[`path`,{d:`m18 16 4-4-4-4`}],[`path`,{d:`m6 8-4 4 4 4`}],[`path`,{d:`m14.5 4-5 16`}]],l=[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`}]],u=[[`path`,{d:`M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4`}],[`path`,{d:`M14 2v4a2 2 0 0 0 2 2h4`}],[`path`,{d:`m5 12-3 3 3 3`}],[`path`,{d:`m9 18 3-3-3-3`}]],d=[[`rect`,{width:`7`,height:`9`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`5`,x:`14`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`9`,x:`14`,y:`12`,rx:`1`}],[`rect`,{width:`7`,height:`5`,x:`3`,y:`16`,rx:`1`}]],f=[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`}],[`path`,{d:`M21 3v5h-5`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`}],[`path`,{d:`M8 16H3v5`}]],p=[[`path`,{d:`M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z`}],[`path`,{d:`m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z`}],[`path`,{d:`M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0`}],[`path`,{d:`M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5`}]],m=({icons:e={},nameAttr:t=`data-lucide`,attrs:n={},root:r=document}={})=>{if(!Object.values(e).length)throw Error(`Please provide an icons object.
2
+ If you want to use all the icons you can import it like:
3
+ \`import { createIcons, icons } from 'lucide';
4
+ lucide.createIcons({icons});\``);if(r===void 0)throw Error("`createIcons()` only works in a browser environment.");let i=r.querySelectorAll(`[${t}]`);if(Array.from(i).forEach(r=>s(r,{nameAttr:t,icons:e,attrs:n})),t===`data-lucide`){let t=r.querySelectorAll(`[icon-name]`);t.length>0&&(console.warn(`[Lucide] Some icons were found with the now deprecated icon-name attribute. These will still be replaced for backwards compatibility, but will no longer be supported in v1.0 and you should switch to data-lucide`),Array.from(t).forEach(t=>s(t,{nameAttr:`icon-name`,icons:e,attrs:n})))}},h=D();m({icons:{Code2:c,Database:l,FileCode2:u,LayoutDashboard:d,RefreshCw:f,Rocket:p}});var g=E(`refresh`),_=E(`clear-log`),v=E(`log`);g.addEventListener(`click`,()=>void y()),_.addEventListener(`click`,()=>{v.replaceChildren()}),y();async function y(){g.disabled=!0,w(`running`,`Inspecting`),T(`Inspecting project definition`,`info`);try{await b(`project.inspect`,{},{log:e=>T(e,`info`),progress:(e,t)=>T(t===void 0?e:`${e} (${t}%)`,`progress`),result:S}),w(`ready`,`Ready`)}catch(e){w(`error`,`Error`),T(e instanceof Error?e.message:`Operation failed`,`error`)}finally{g.disabled=!1}}async function b(e,t,n){let r=await fetch(`/api/operations/${encodeURIComponent(e)}`,{method:`POST`,headers:{"Content-Type":`application/json`,"X-Gasboost-Session":h},body:JSON.stringify(t)});if(!r.ok||r.body===null){let e=await r.json().catch(()=>null);throw Error(e?.error??`Operation failed with status ${r.status}`)}let i=r.body.pipeThrough(new TextDecoderStream).getReader(),a=``;for(;;){let{done:e,value:t}=await i.read();a+=t??``;let r=a.split(`
5
+
6
+ `);a=r.pop()??``;for(let e of r)x(e,n);if(e)break}}function x(e,t){let n=/^event: (.+)$/m.exec(e)?.[1],r=/^data: (.+)$/m.exec(e)?.[1];if(n===void 0||r===void 0)return;let i=JSON.parse(r);if(n===`log`&&typeof i.message==`string`)t.log(i.message);else if(n===`progress`&&typeof i.message==`string`)t.progress(i.message,typeof i.percentage==`number`?i.percentage:void 0);else if(n===`result`)t.result(i);else if(n===`error`)throw Error(typeof i.message==`string`?i.message:`Operation failed`)}function S(e){E(`project-title`).textContent=e.name,E(`project-path`).textContent=e.root,C(`apps-script-status`,e.capabilities.appsScript),C(`firebase-status`,e.capabilities.firebaseRealtimeDatabase)}function C(e,t){let n=E(e);n.textContent=t?`Configured`:`Not configured`,n.className=`badge ${t?`configured`:`inactive`}`}function w(e,t){let n=E(`runtime-status`);n.className=`runtime-status ${e}`,n.innerHTML=``;let r=document.createElement(`span`);n.append(r,document.createTextNode(` ${t}`))}function T(e,t){let n=document.createElement(`div`);n.className=`log-row ${t}`;let r=document.createElement(`time`);r.textContent=new Date().toLocaleTimeString();let i=document.createElement(`span`);i.textContent=e,n.append(r,i),v.append(n),v.scrollTop=v.scrollHeight}function E(e){let t=document.getElementById(e);if(t===null)throw Error(`Missing UI element: ${e}`);return t}function D(){let e=document.querySelector(`meta[name="gasboost-session"]`)?.content;if(e===void 0||e.length===0)throw Error(`Console session was not initialized`);return e}
@@ -0,0 +1,70 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <meta name="gasboost-session" content="__GASBOOST_SESSION_TOKEN__" />
7
+ <title>Gasboost Console</title>
8
+ <script type="module" crossorigin src="/assets/index-OcWauX8w.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/index-BSvEhLfS.css">
10
+ </head>
11
+ <body>
12
+ <header class="topbar">
13
+ <div class="brand-mark">G</div>
14
+ <div>
15
+ <div class="product-name">Gasboost Console</div>
16
+ <div class="project-path" id="project-path">Loading project...</div>
17
+ </div>
18
+ <button class="icon-button" id="refresh" type="button" title="Refresh project state" aria-label="Refresh project state">
19
+ <i data-lucide="refresh-cw"></i>
20
+ </button>
21
+ </header>
22
+
23
+ <main>
24
+ <section class="status-band" aria-labelledby="project-title">
25
+ <div>
26
+ <div class="eyebrow">PROJECT</div>
27
+ <h1 id="project-title">Loading...</h1>
28
+ </div>
29
+ <div class="runtime-status" id="runtime-status"><span></span> Connecting</div>
30
+ </section>
31
+
32
+ <section class="workspace" aria-label="Project lifecycle">
33
+ <nav class="sidebar" aria-label="Console sections">
34
+ <button class="nav-item active" type="button"><i data-lucide="layout-dashboard"></i>Overview</button>
35
+ <button class="nav-item" type="button" disabled><i data-lucide="code-2"></i>Development</button>
36
+ <button class="nav-item" type="button" disabled><i data-lucide="file-code-2"></i>Apps Script</button>
37
+ <button class="nav-item" type="button" disabled><i data-lucide="rocket"></i>Deployment</button>
38
+ <button class="nav-item" type="button" disabled><i data-lucide="database"></i>Firebase</button>
39
+ </nav>
40
+
41
+ <div class="content">
42
+ <div class="section-heading">
43
+ <div>
44
+ <div class="eyebrow">OVERVIEW</div>
45
+ <h2>Project capabilities</h2>
46
+ </div>
47
+ </div>
48
+
49
+ <div class="capability-list">
50
+ <article class="capability-row">
51
+ <div class="capability-icon apps"><i data-lucide="file-code-2"></i></div>
52
+ <div><h3>Apps Script</h3><p>Web application lifecycle</p></div>
53
+ <div class="badge" id="apps-script-status">Checking</div>
54
+ </article>
55
+ <article class="capability-row">
56
+ <div class="capability-icon firebase"><i data-lucide="database"></i></div>
57
+ <div><h3>Firebase Realtime Database</h3><p>Rules generation and deployment</p></div>
58
+ <div class="badge" id="firebase-status">Checking</div>
59
+ </article>
60
+ </div>
61
+
62
+ <section class="activity" aria-labelledby="activity-title">
63
+ <div class="activity-heading"><h2 id="activity-title">Activity</h2><button id="clear-log" class="text-button" type="button">Clear</button></div>
64
+ <div class="log" id="log" role="log" aria-live="polite"></div>
65
+ </section>
66
+ </div>
67
+ </section>
68
+ </main>
69
+ </body>
70
+ </html>
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "@gasboost/console",
3
+ "version": "0.1.0",
4
+ "description": "Gasboost project lifecycle console",
5
+ "type": "module",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./dist/index.d.ts",
9
+ "import": "./dist/index.js"
10
+ }
11
+ },
12
+ "files": [
13
+ "dist",
14
+ "README.md"
15
+ ],
16
+ "engines": {
17
+ "node": ">=24"
18
+ },
19
+ "dependencies": {
20
+ "lucide": "^0.544.0",
21
+ "zod": "^4.1.12",
22
+ "@gasboost/config": "0.1.0",
23
+ "@gasboost/console-runtime": "0.1.0"
24
+ },
25
+ "devDependencies": {
26
+ "@types/node": "^24.13.4",
27
+ "typescript": "^7.0.2",
28
+ "vite": "^8.0.0",
29
+ "vitest": "^5.0.0"
30
+ },
31
+ "keywords": [
32
+ "gasboost",
33
+ "developer-console",
34
+ "google-apps-script",
35
+ "firebase"
36
+ ],
37
+ "license": "MIT",
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "https://github.com/gasboost/dev.git",
41
+ "directory": "packages/console"
42
+ },
43
+ "homepage": "https://github.com/gasboost/dev",
44
+ "scripts": {
45
+ "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.ui.json --noEmit",
46
+ "test": "vitest run",
47
+ "test:e2e": "pnpm build && vitest run --config vitest.e2e.config.ts",
48
+ "build": "rm -rf dist && tsc -p tsconfig.build.json && vite build",
49
+ "pack:check": "pnpm pack"
50
+ }
51
+ }