cueclaw 0.1.0 → 0.1.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.
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-KRNAXOQ4.js";
11
11
  import {
12
12
  MessageRouter
13
- } from "./chunk-F3EQAFH4.js";
13
+ } from "./chunk-LSL3FRCU.js";
14
14
  import {
15
15
  askQuestionTool,
16
16
  buildPlannerSystemPrompt,
@@ -12,6 +12,7 @@ import {
12
12
  } from "./chunk-SEYPA5M2.js";
13
13
  import {
14
14
  getWorkflow,
15
+ insertWorkflow,
15
16
  listWorkflows,
16
17
  updateWorkflowPhase
17
18
  } from "./chunk-G43R5ASK.js";
@@ -201,6 +202,7 @@ ${steps}`);
201
202
  channel.setTyping?.(chatJid, true);
202
203
  try {
203
204
  const workflow = await generatePlan(text, this.config);
205
+ insertWorkflow(this.db, workflow);
204
206
  channel.setTyping?.(chatJid, false);
205
207
  this.pendingConfirmations.set(chatJid, {
206
208
  workflowId: workflow.id,
@@ -255,6 +257,7 @@ ${steps}`);
255
257
  channel.setTyping?.(chatJid, true);
256
258
  try {
257
259
  const modified = await modifyPlan(pending.workflow, text, this.config);
260
+ insertWorkflow(this.db, modified);
258
261
  channel.setTyping?.(chatJid, false);
259
262
  this.pendingConfirmations.set(chatJid, {
260
263
  workflowId: modified.id,
package/dist/cli.js CHANGED
@@ -335,7 +335,7 @@ program.command("delete").argument("<workflow-id>", "Workflow ID").description("
335
335
  var daemonCmd = program.command("daemon").description("Manage background daemon");
336
336
  daemonCmd.command("start").option("--detach", "Run in background").description("Start the daemon").action(async () => {
337
337
  try {
338
- const { startDaemon } = await import("./daemon-R3LU23PR.js");
338
+ const { startDaemon } = await import("./daemon-HPD3D7TJ.js");
339
339
  await startDaemon();
340
340
  } catch (err) {
341
341
  logger.error({ err }, "Daemon failed");
@@ -399,7 +399,7 @@ botCmd.command("start").description("Start all configured bot channels").action(
399
399
  try {
400
400
  const config = loadConfig();
401
401
  const db = initDb();
402
- const { MessageRouter } = await import("./router-KEZ3YQXC.js");
402
+ const { MessageRouter } = await import("./router-F5PJC74R.js");
403
403
  const router = new MessageRouter(db, config, process.cwd());
404
404
  if (config.whatsapp?.enabled) {
405
405
  const { WhatsAppChannel } = await import("./whatsapp-HFMOFSFI.js");
@@ -452,7 +452,7 @@ program.command("tui").description("Start interactive TUI").option("--skip-onboa
452
452
  enableTuiLogging();
453
453
  const React = await import("react");
454
454
  const { render } = await import("ink");
455
- const { App } = await import("./app-DIUXV4XR.js");
455
+ const { App } = await import("./app-ZJG6ANUK.js");
456
456
  render(React.createElement(App, { cwd: process.cwd(), skipOnboarding: opts.skipOnboarding }));
457
457
  } catch (err) {
458
458
  logger.error({ err }, "Failed to start TUI");
@@ -466,7 +466,7 @@ program.option("--skip-onboarding", "Skip first-run onboarding wizard").action(a
466
466
  enableTuiLogging();
467
467
  const React = await import("react");
468
468
  const { render } = await import("ink");
469
- const { App } = await import("./app-DIUXV4XR.js");
469
+ const { App } = await import("./app-ZJG6ANUK.js");
470
470
  render(React.createElement(App, { cwd: process.cwd(), skipOnboarding }));
471
471
  } catch (err) {
472
472
  logger.error({ err }, "Failed to start TUI");
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-W274JWEK.js";
4
4
  import {
5
5
  MessageRouter
6
- } from "./chunk-F3EQAFH4.js";
6
+ } from "./chunk-LSL3FRCU.js";
7
7
  import "./chunk-WE5J7GMR.js";
8
8
  import "./chunk-DVQFSFIZ.js";
9
9
  import "./chunk-ZCK3IFLC.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MessageRouter
3
- } from "./chunk-F3EQAFH4.js";
3
+ } from "./chunk-LSL3FRCU.js";
4
4
  import "./chunk-WE5J7GMR.js";
5
5
  import "./chunk-DVQFSFIZ.js";
6
6
  import "./chunk-ZCK3IFLC.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cueclaw",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Orchestrate agent workflows with natural language. Natural language in, executable DAG out.",
5
5
  "type": "module",
6
6
  "bin": {