@qablehq/atto 0.0.22 → 0.0.24
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/bin/atto.js
CHANGED
|
@@ -1,8 +1,50 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// Opens the built Atto desktop window. Installed as the `atto` command.
|
|
3
|
-
|
|
3
|
+
// If a silent update was queued on the previous quit, apply it before launch.
|
|
4
|
+
const { spawn, spawnSync } = require("node:child_process");
|
|
5
|
+
const fs = require("node:fs");
|
|
6
|
+
const os = require("node:os");
|
|
4
7
|
const path = require("node:path");
|
|
5
8
|
|
|
9
|
+
const PENDING_FILE = path.join(os.homedir(), ".atto", "pending-npm-update.json");
|
|
10
|
+
|
|
11
|
+
function applyPendingSilentUpdate() {
|
|
12
|
+
let pending;
|
|
13
|
+
try {
|
|
14
|
+
pending = JSON.parse(fs.readFileSync(PENDING_FILE, "utf8"));
|
|
15
|
+
} catch {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
if (!pending?.name || !pending?.version) {
|
|
19
|
+
try {
|
|
20
|
+
fs.unlinkSync(PENDING_FILE);
|
|
21
|
+
} catch {
|
|
22
|
+
/* ignore */
|
|
23
|
+
}
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const npm = process.platform === "win32" ? "npm.cmd" : "npm";
|
|
28
|
+
const args = ["install", "-g", `${pending.name}@${pending.version}`, "--silent", "--no-fund", "--no-audit"];
|
|
29
|
+
if (pending.prefix) args.push("--prefix", pending.prefix);
|
|
30
|
+
|
|
31
|
+
// Best-effort: if install fails (locked files / offline), keep the pending file for next open.
|
|
32
|
+
const result = spawnSync(npm, args, {
|
|
33
|
+
stdio: "ignore",
|
|
34
|
+
windowsHide: true,
|
|
35
|
+
timeout: 120_000,
|
|
36
|
+
});
|
|
37
|
+
if (result.status === 0) {
|
|
38
|
+
try {
|
|
39
|
+
fs.unlinkSync(PENDING_FILE);
|
|
40
|
+
} catch {
|
|
41
|
+
/* ignore */
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
applyPendingSilentUpdate();
|
|
47
|
+
|
|
6
48
|
let electronPath;
|
|
7
49
|
try {
|
|
8
50
|
electronPath = require("electron");
|
package/out/main/index.js
CHANGED
|
@@ -10,6 +10,7 @@ const node_child_process = require("node:child_process");
|
|
|
10
10
|
const playwright = require("playwright");
|
|
11
11
|
const ts = require("typescript");
|
|
12
12
|
const node_module = require("node:module");
|
|
13
|
+
const node_os = require("node:os");
|
|
13
14
|
const electronUpdater = require("electron-updater");
|
|
14
15
|
const IPC_CHANNELS = {
|
|
15
16
|
submitGoal: "taa:sessions:submitGoal",
|
|
@@ -12560,16 +12561,25 @@ function detectNpmPrefix() {
|
|
|
12560
12561
|
}
|
|
12561
12562
|
return beforeModules;
|
|
12562
12563
|
}
|
|
12564
|
+
function pendingUpdatePath() {
|
|
12565
|
+
return node_path.join(node_os.homedir(), ".atto", "pending-npm-update.json");
|
|
12566
|
+
}
|
|
12567
|
+
function writePendingUpdate(name, version, prefix) {
|
|
12568
|
+
const dir = node_path.join(node_os.homedir(), ".atto");
|
|
12569
|
+
node_fs.mkdirSync(dir, { recursive: true });
|
|
12570
|
+
node_fs.writeFileSync(
|
|
12571
|
+
pendingUpdatePath(),
|
|
12572
|
+
JSON.stringify({ name, version, prefix: prefix ?? null, queuedAt: (/* @__PURE__ */ new Date()).toISOString() }),
|
|
12573
|
+
"utf8"
|
|
12574
|
+
);
|
|
12575
|
+
}
|
|
12563
12576
|
function setupNpmUpdater() {
|
|
12564
12577
|
const name = readPackageName();
|
|
12565
12578
|
let pending = null;
|
|
12566
12579
|
const prefix = detectNpmPrefix();
|
|
12567
|
-
|
|
12568
|
-
if (!pending) return;
|
|
12569
|
-
const version = pending;
|
|
12570
|
-
pending = null;
|
|
12580
|
+
const installQuietly = (version) => {
|
|
12571
12581
|
const npm = process.platform === "win32" ? "npm.cmd" : "npm";
|
|
12572
|
-
const args = ["install", "-g", `${name}@${version}
|
|
12582
|
+
const args = ["install", "-g", `${name}@${version}`, "--silent", "--no-fund", "--no-audit"];
|
|
12573
12583
|
if (prefix) args.push("--prefix", prefix);
|
|
12574
12584
|
console.log(
|
|
12575
12585
|
`[npm-updater] installing ${name}@${version}${prefix ? ` --prefix ${prefix}` : ""} after quit`
|
|
@@ -12580,6 +12590,13 @@ function setupNpmUpdater() {
|
|
|
12580
12590
|
windowsHide: true
|
|
12581
12591
|
});
|
|
12582
12592
|
child.unref();
|
|
12593
|
+
};
|
|
12594
|
+
electron.app.on("before-quit", () => {
|
|
12595
|
+
if (!pending) return;
|
|
12596
|
+
const version = pending;
|
|
12597
|
+
pending = null;
|
|
12598
|
+
writePendingUpdate(name, version, prefix);
|
|
12599
|
+
installQuietly(version);
|
|
12583
12600
|
});
|
|
12584
12601
|
const current = electron.app.getVersion();
|
|
12585
12602
|
void (async () => {
|
|
@@ -12591,7 +12608,8 @@ function setupNpmUpdater() {
|
|
|
12591
12608
|
const body = await response.json();
|
|
12592
12609
|
if (!body.version || !isNewerVersion(body.version, current)) return;
|
|
12593
12610
|
pending = body.version;
|
|
12594
|
-
|
|
12611
|
+
writePendingUpdate(name, body.version, prefix);
|
|
12612
|
+
console.log(`[npm-updater] ${body.version} queued for silent install on quit / next launch`);
|
|
12595
12613
|
} catch (error) {
|
|
12596
12614
|
console.error("[npm-updater] check failed", error);
|
|
12597
12615
|
} finally {
|
|
@@ -17037,10 +17037,24 @@ const useAppStore = create$1()(
|
|
|
17037
17037
|
view: "projects",
|
|
17038
17038
|
setView: (view) => set({ view }),
|
|
17039
17039
|
activeProjectId: null,
|
|
17040
|
-
|
|
17041
|
-
|
|
17040
|
+
pinProjectsList: true,
|
|
17041
|
+
setActiveProject: (id, options2) => set((state) => {
|
|
17042
|
+
if (!id) {
|
|
17043
|
+
return {
|
|
17044
|
+
activeProjectId: null,
|
|
17045
|
+
pinProjectsList: true,
|
|
17046
|
+
view: "projects",
|
|
17047
|
+
activeSessionId: null
|
|
17048
|
+
};
|
|
17049
|
+
}
|
|
17050
|
+
if (state.pinProjectsList && !options2?.force) return state;
|
|
17042
17051
|
const ready = isProjectReady(state.projectsById[id]);
|
|
17043
|
-
return {
|
|
17052
|
+
return {
|
|
17053
|
+
activeProjectId: id,
|
|
17054
|
+
pinProjectsList: false,
|
|
17055
|
+
view: ready ? "session" : "project-settings",
|
|
17056
|
+
activeSessionId: null
|
|
17057
|
+
};
|
|
17044
17058
|
}),
|
|
17045
17059
|
createProject: (input) => {
|
|
17046
17060
|
const id = `proj-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 7)}`;
|
|
@@ -17255,7 +17269,11 @@ function Sidebar() {
|
|
|
17255
17269
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
17256
17270
|
"button",
|
|
17257
17271
|
{
|
|
17258
|
-
|
|
17272
|
+
type: "button",
|
|
17273
|
+
onClick: () => {
|
|
17274
|
+
setActiveProject(null);
|
|
17275
|
+
setView("projects");
|
|
17276
|
+
},
|
|
17259
17277
|
className: "flex w-fit items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground",
|
|
17260
17278
|
children: [
|
|
17261
17279
|
/* @__PURE__ */ jsxRuntimeExports.jsx(ArrowLeft, { className: "size-3.5" }),
|
|
@@ -33137,8 +33155,8 @@ function TesboPanel() {
|
|
|
33137
33155
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("section", { className: "mb-6 rounded-lg border border-border bg-card p-4", children: [
|
|
33138
33156
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start justify-between gap-3", children: [
|
|
33139
33157
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
33140
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-sm font-semibold", children: "Tesbo
|
|
33141
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm text-muted-foreground", children: "Paste the access code from
|
|
33158
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-sm font-semibold", children: status?.connected ? "Tesbo connection" : "Connect with access code" }),
|
|
33159
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm text-muted-foreground", children: status?.connected ? "This PC is linked. Choose a project below to start testing." : "Paste the access code from Agents → Atto on the website. This is the first step — no local project needed." }),
|
|
33142
33160
|
status?.connected && status.user?.name && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "mt-1 text-sm text-foreground", children: status.user.name })
|
|
33143
33161
|
] }),
|
|
33144
33162
|
status?.connected && /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { size: "sm", variant: "outline", onClick: () => void disconnect(), disabled: busy, children: "Disconnect" })
|
|
@@ -33146,7 +33164,7 @@ function TesboPanel() {
|
|
|
33146
33164
|
!status?.connected ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
33147
33165
|
"form",
|
|
33148
33166
|
{
|
|
33149
|
-
className: "mt-4 grid gap-3",
|
|
33167
|
+
className: "mt-4 grid max-w-lg gap-3",
|
|
33150
33168
|
onSubmit: (event) => {
|
|
33151
33169
|
event.preventDefault();
|
|
33152
33170
|
void connect();
|
|
@@ -33159,13 +33177,15 @@ function TesboPanel() {
|
|
|
33159
33177
|
{
|
|
33160
33178
|
value: code,
|
|
33161
33179
|
onChange: (event) => setCode(event.target.value),
|
|
33162
|
-
className: "h-
|
|
33180
|
+
className: "h-10 rounded-md border border-border bg-background px-3 text-sm text-foreground",
|
|
33181
|
+
placeholder: "atto_…",
|
|
33163
33182
|
autoComplete: "off",
|
|
33164
|
-
spellCheck: false
|
|
33183
|
+
spellCheck: false,
|
|
33184
|
+
autoFocus: true
|
|
33165
33185
|
}
|
|
33166
33186
|
)
|
|
33167
33187
|
] }),
|
|
33168
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, {
|
|
33188
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { type: "submit", disabled: busy || !code.trim(), children: busy ? "Connecting…" : "Connect" }) })
|
|
33169
33189
|
]
|
|
33170
33190
|
}
|
|
33171
33191
|
) : /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mt-4 grid gap-3", children: [
|
|
@@ -33193,8 +33213,8 @@ function TesboPanel() {
|
|
|
33193
33213
|
formError && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "mt-3 text-sm text-destructive", children: formError })
|
|
33194
33214
|
] });
|
|
33195
33215
|
}
|
|
33196
|
-
function tesboProjectId$1(
|
|
33197
|
-
return `tesbo-${
|
|
33216
|
+
function tesboProjectId$1(remoteProjectId) {
|
|
33217
|
+
return `tesbo-${remoteProjectId}`;
|
|
33198
33218
|
}
|
|
33199
33219
|
function ProjectList() {
|
|
33200
33220
|
const projectsById = useAppStore((s2) => s2.projectsById);
|
|
@@ -33209,13 +33229,14 @@ function ProjectList() {
|
|
|
33209
33229
|
const [tesboConnected, setTesboConnected] = reactExports.useState(false);
|
|
33210
33230
|
const projects = projectOrder.map((id) => projectsById[id]);
|
|
33211
33231
|
const openProjectSettings = (id) => {
|
|
33212
|
-
setActiveProject(id);
|
|
33232
|
+
setActiveProject(id, { force: true });
|
|
33213
33233
|
setView("project-settings");
|
|
33214
33234
|
};
|
|
33235
|
+
const openProject = (id) => setActiveProject(id, { force: true });
|
|
33215
33236
|
reactExports.useEffect(() => {
|
|
33216
33237
|
let cancelled = false;
|
|
33217
|
-
const
|
|
33218
|
-
const id = tesboProjectId$1(remote);
|
|
33238
|
+
const syncRemote = (remote) => {
|
|
33239
|
+
const id = tesboProjectId$1(remote.projectId);
|
|
33219
33240
|
ensureProject(id, {
|
|
33220
33241
|
name: remote.projectName || remote.userName || "Tesbo project",
|
|
33221
33242
|
targetUrl: remote.targetUrl || void 0,
|
|
@@ -33233,7 +33254,6 @@ function ProjectList() {
|
|
|
33233
33254
|
source: "manual"
|
|
33234
33255
|
}))
|
|
33235
33256
|
);
|
|
33236
|
-
setActiveProject(id);
|
|
33237
33257
|
};
|
|
33238
33258
|
const refresh = async () => {
|
|
33239
33259
|
try {
|
|
@@ -33241,9 +33261,14 @@ function ProjectList() {
|
|
|
33241
33261
|
if (cancelled) return;
|
|
33242
33262
|
setTesboConnected(Boolean(status.connected));
|
|
33243
33263
|
if (!status.connected) return;
|
|
33264
|
+
for (const project of status.projects) {
|
|
33265
|
+
ensureProject(tesboProjectId$1(project.id), {
|
|
33266
|
+
name: project.name || project.userName || "Tesbo project"
|
|
33267
|
+
});
|
|
33268
|
+
}
|
|
33244
33269
|
const remote = await window.taa.tesbo.remoteConfig();
|
|
33245
33270
|
if (cancelled || !remote?.projectId) return;
|
|
33246
|
-
|
|
33271
|
+
syncRemote(remote);
|
|
33247
33272
|
} catch {
|
|
33248
33273
|
}
|
|
33249
33274
|
};
|
|
@@ -33253,38 +33278,37 @@ function ProjectList() {
|
|
|
33253
33278
|
cancelled = true;
|
|
33254
33279
|
window.clearInterval(timer);
|
|
33255
33280
|
};
|
|
33256
|
-
}, [ensureProject, setFolderPath, setBrowserMode, setMemories
|
|
33281
|
+
}, [ensureProject, setFolderPath, setBrowserMode, setMemories]);
|
|
33257
33282
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex h-full w-full flex-1 flex-col overflow-hidden bg-background", children: [
|
|
33258
33283
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("header", { className: "flex items-center justify-between border-b border-border px-6 py-4", children: [
|
|
33259
33284
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
33260
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h1", { className: "text-lg font-semibold", children: "Projects" }),
|
|
33261
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm text-muted-foreground", children: tesboConnected ? "
|
|
33285
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h1", { className: "text-lg font-semibold", children: tesboConnected ? "Projects" : "Connect Atto" }),
|
|
33286
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm text-muted-foreground", children: tesboConnected ? "Pick a Tesbo project below. Folder and browser mode come from Agents → Atto on the website." : "Paste your access code to link this PC. You do not need a local project first." })
|
|
33262
33287
|
] }),
|
|
33263
|
-
|
|
33288
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Button, { size: "sm", variant: "outline", className: "gap-2", onClick: () => setDialogOpen(true), children: [
|
|
33264
33289
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Plus, { className: "size-4" }),
|
|
33265
|
-
"New project"
|
|
33290
|
+
"New local project"
|
|
33266
33291
|
] })
|
|
33267
33292
|
] }),
|
|
33268
33293
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 overflow-y-auto px-6 py-5", children: [
|
|
33269
33294
|
/* @__PURE__ */ jsxRuntimeExports.jsx(TesboPanel, {}),
|
|
33270
|
-
projects.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "
|
|
33295
|
+
!tesboConnected && projects.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mt-2 rounded-lg border border-dashed border-border px-4 py-8 text-center", children: [
|
|
33296
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm font-medium", children: "Connect to see your projects" }),
|
|
33297
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "mt-1 text-sm text-muted-foreground", children: "After you connect, Tesbo projects (including ones shared with you) show up here." })
|
|
33298
|
+
] }) : tesboConnected && projects.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col items-center justify-center gap-3 py-16 text-center", children: [
|
|
33271
33299
|
/* @__PURE__ */ jsxRuntimeExports.jsx(FolderKanban, { className: "size-8 text-muted-foreground" }),
|
|
33272
33300
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
33273
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm font-medium", children:
|
|
33274
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm text-muted-foreground", children:
|
|
33275
|
-
] }),
|
|
33276
|
-
!tesboConnected && /* @__PURE__ */ jsxRuntimeExports.jsxs(Button, { size: "sm", className: "gap-2", onClick: () => setDialogOpen(true), children: [
|
|
33277
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Plus, { className: "size-4" }),
|
|
33278
|
-
"New project"
|
|
33301
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm font-medium", children: "Waiting for website settings" }),
|
|
33302
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm text-muted-foreground", children: "On the website open Agents → Atto, set the project folder path, then keep Atto connected." })
|
|
33279
33303
|
] })
|
|
33280
33304
|
] }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3", children: projects.map((project) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
33281
33305
|
"div",
|
|
33282
33306
|
{
|
|
33283
33307
|
role: "button",
|
|
33284
33308
|
tabIndex: 0,
|
|
33285
|
-
onClick: () =>
|
|
33309
|
+
onClick: () => openProject(project.id),
|
|
33286
33310
|
onKeyDown: (e) => {
|
|
33287
|
-
if (e.key === "Enter")
|
|
33311
|
+
if (e.key === "Enter") openProject(project.id);
|
|
33288
33312
|
},
|
|
33289
33313
|
className: "group flex cursor-pointer flex-col gap-2 rounded-lg border border-border bg-card p-4 text-left transition-colors hover:border-primary/40 hover:bg-accent/40",
|
|
33290
33314
|
children: [
|
|
@@ -33318,7 +33342,14 @@ function ProjectList() {
|
|
|
33318
33342
|
project.id
|
|
33319
33343
|
)) })
|
|
33320
33344
|
] }),
|
|
33321
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
33345
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
33346
|
+
CreateProjectDialog,
|
|
33347
|
+
{
|
|
33348
|
+
open: dialogOpen,
|
|
33349
|
+
onOpenChange: setDialogOpen,
|
|
33350
|
+
onCreated: (id) => setActiveProject(id, { force: true })
|
|
33351
|
+
}
|
|
33352
|
+
)
|
|
33322
33353
|
] });
|
|
33323
33354
|
}
|
|
33324
33355
|
const AI_PROVIDERS = [
|
|
@@ -34561,7 +34592,7 @@ async function bootstrapEngineConnection() {
|
|
|
34561
34592
|
for (const sessionId of unlinked) linkSessionToProject2(activeProjectId, sessionId);
|
|
34562
34593
|
}
|
|
34563
34594
|
if (activeProjectId && useAppStore.getState().projectsById[activeProjectId]) {
|
|
34564
|
-
setActiveProject(activeProjectId);
|
|
34595
|
+
setActiveProject(activeProjectId, { force: true });
|
|
34565
34596
|
const project = useAppStore.getState().projectsById[activeProjectId];
|
|
34566
34597
|
const sessionsById = useAppStore.getState().sessionsById;
|
|
34567
34598
|
const mostRecent = project.sessionIds.map((id) => sessionsById[id]).filter(Boolean).map(toSessionListItem).sort((a, b2) => new Date(b2.updatedAt).getTime() - new Date(a.updatedAt).getTime())[0];
|
|
@@ -34799,11 +34830,12 @@ function ProjectSettings() {
|
|
|
34799
34830
|
function AppShell() {
|
|
34800
34831
|
const view = useAppStore((s2) => s2.view);
|
|
34801
34832
|
const activeProjectId = useAppStore((s2) => s2.activeProjectId);
|
|
34833
|
+
const pinProjectsList = useAppStore((s2) => s2.pinProjectsList);
|
|
34802
34834
|
const activeSessionId = useAppStore((s2) => s2.activeSessionId);
|
|
34803
34835
|
const session = useAppStore((s2) => activeSessionId ? s2.sessionsById[activeSessionId] ?? null : null);
|
|
34804
34836
|
const toggleCanvas = useAppStore((s2) => s2.toggleCanvas);
|
|
34805
34837
|
const isCanvasOpen = session ? session.isCanvasOpen : true;
|
|
34806
|
-
if (!activeProjectId || view === "projects") {
|
|
34838
|
+
if (pinProjectsList || !activeProjectId || view === "projects") {
|
|
34807
34839
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex h-screen w-screen flex-col overflow-hidden bg-background text-foreground", children: [
|
|
34808
34840
|
/* @__PURE__ */ jsxRuntimeExports.jsx(TitleBar, {}),
|
|
34809
34841
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex min-h-0 flex-1 overflow-hidden", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ProjectList, {}) })
|
|
@@ -34860,7 +34892,7 @@ async function startRemoteSession(job) {
|
|
|
34860
34892
|
targetUrl: job.targetUrl
|
|
34861
34893
|
});
|
|
34862
34894
|
}
|
|
34863
|
-
setActiveProject(id);
|
|
34895
|
+
setActiveProject(id, { force: true });
|
|
34864
34896
|
setView("session");
|
|
34865
34897
|
const bindings = await window.taa.ai.listBindings().catch(() => ({}));
|
|
34866
34898
|
if (bindings[id]) setProjectAiBinding2(id, bindings[id]);
|
package/out/renderer/index.html
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
/>
|
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
10
10
|
<title>Tesbo Automate</title>
|
|
11
|
-
<script type="module" crossorigin src="./assets/index-
|
|
12
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
11
|
+
<script type="module" crossorigin src="./assets/index-BUFu08qG.js"></script>
|
|
12
|
+
<link rel="stylesheet" crossorigin href="./assets/index-Cq11Gc4F.css">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
15
15
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qablehq/atto",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Atto
|
|
3
|
+
"version": "0.0.24",
|
|
4
|
+
"description": "Atto — AI-assisted desktop test automation",
|
|
5
5
|
"homepage": "https://github.com/QAbleHQ/Atto",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "QAble",
|