@inetafrica/open-claudia 1.0.7 → 1.0.8

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.
Files changed (2) hide show
  1. package/bot.js +7 -1
  2. package/package.json +1 -1
package/bot.js CHANGED
@@ -347,7 +347,7 @@ function findProject(query) {
347
347
 
348
348
  function projectKeyboard() {
349
349
  const projects = listProjects();
350
- const rows = [];
350
+ const rows = [[{ text: "\u{1F4C1} Workspace (root)", callback_data: "s:__workspace__" }]];
351
351
  for (let i = 0; i < projects.length; i += 2) {
352
352
  const row = [{ text: projects[i], callback_data: `s:${projects[i]}` }];
353
353
  if (projects[i + 1]) row.push({ text: projects[i + 1], callback_data: `s:${projects[i + 1]}` });
@@ -574,6 +574,12 @@ function initCrons() {
574
574
  // ── Session ─────────────────────────────────────────────────────────
575
575
 
576
576
  function startSession(name) {
577
+ if (name === "__workspace__") {
578
+ currentSession = { name: "Workspace", dir: WORKSPACE };
579
+ lastSessionId = null; messageQueue = []; resetSettings();
580
+ send(`Session: Workspace (root)\n\nSend text, voice, or images.`);
581
+ return;
582
+ }
577
583
  const result = findProject(name);
578
584
  if (!result) return send(`No match for "${name}".`, { keyboard: projectKeyboard() });
579
585
  if (Array.isArray(result)) return send("Multiple matches:", { keyboard: { inline_keyboard: result.map((p) => [{ text: p, callback_data: `s:${p}` }]) } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inetafrica/open-claudia",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Your always-on AI coding assistant — Claude Code via Telegram",
5
5
  "main": "bot.js",
6
6
  "bin": {