fifony 0.1.27 → 0.1.28

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 (35) hide show
  1. package/README.md +51 -29
  2. package/app/dist/assets/{KeyboardShortcutsHelp-NmaeCZMn.js → KeyboardShortcutsHelp-BrI56bfa.js} +1 -1
  3. package/app/dist/assets/OnboardingWizard-7MvouAkN.js +1 -0
  4. package/app/dist/assets/{analytics.lazy-BpH26eA2.js → analytics.lazy-D99c8M-T.js} +1 -1
  5. package/app/dist/assets/{createLucideIcon-BWC-guQt.js → createLucideIcon-DgMTp0yx.js} +1 -1
  6. package/app/dist/assets/index-DHHTOl-9.js +45 -0
  7. package/app/dist/assets/{index-DntTEHv8.css → index-ZlyvZ7KI.css} +1 -1
  8. package/app/dist/assets/vendor-D-IqxHHu.js +9 -0
  9. package/app/dist/index.html +4 -4
  10. package/app/dist/service-worker.js +1 -1
  11. package/dist/agent/run-local.js +64 -144
  12. package/dist/agent-FPUYBJZD.js +74 -0
  13. package/dist/chunk-2G6SRDOC.js +847 -0
  14. package/dist/{chunk-G7W4NEOA.js → chunk-3FCJI2GK.js} +1232 -633
  15. package/dist/chunk-O5AEQXUV.js +311 -0
  16. package/dist/chunk-OONOOWNC.js +123 -0
  17. package/dist/chunk-VOQT7RVT.js +295 -0
  18. package/dist/{chunk-XN2QKKMY.js → chunk-XVF6GOVS.js} +456 -814
  19. package/dist/cli.js +6 -4
  20. package/dist/issue-runner-MRHO5ZAB.js +15 -0
  21. package/dist/{issue-state-machine-SKODQ6MG.js → issue-state-machine-V2KPUYPW.js} +5 -3
  22. package/dist/issues-3PUMY63N.js +40 -0
  23. package/dist/mcp/server.js +23 -121
  24. package/dist/queue-workers-EGHCDDLB.js +23 -0
  25. package/dist/scheduler-V4GMCBTE.js +21 -0
  26. package/dist/{store-366NGWR4.js → store-RVKQ6UEY.js} +7 -5
  27. package/dist/workspace-KEHFITYR.js +52 -0
  28. package/package.json +6 -6
  29. package/app/dist/assets/OnboardingWizard-CwW6b_X4.js +0 -1
  30. package/app/dist/assets/index-D6jtlB7h.js +0 -43
  31. package/app/dist/assets/vendor-BTlTWMUF.js +0 -9
  32. package/dist/chunk-AMOGDOM7.js +0 -796
  33. package/dist/chunk-MT3S55TM.js +0 -91
  34. package/dist/issue-runner-MTAIYNVN.js +0 -13
  35. package/dist/queue-workers-Q3IWRFLI.js +0 -20
@@ -1,91 +0,0 @@
1
- import {
2
- logger
3
- } from "./chunk-DVU3CXWA.js";
4
-
5
- // src/persistence/plugins/queue-workers.ts
6
- var runtimeState = null;
7
- var active = false;
8
- async function initQueueWorkers(state) {
9
- runtimeState = state;
10
- active = true;
11
- logger.info("[QueueWorkers] Workers ready (direct dispatch)");
12
- }
13
- async function stopQueueWorkers() {
14
- active = false;
15
- runtimeState = null;
16
- logger.info("[QueueWorkers] Workers stopped");
17
- }
18
- function areQueueWorkersActive() {
19
- return active;
20
- }
21
- function getCurrentIssue(id) {
22
- return runtimeState?.issues.find((i) => i.id === id);
23
- }
24
- async function enqueueForPlanning(issue) {
25
- if (!active || !runtimeState) return;
26
- const current = getCurrentIssue(issue.id);
27
- if (!current || current.state !== "Planning") {
28
- logger.debug({ issueId: issue.id, state: current?.state }, "[QueueWorkers:plan] Skipping \u2014 not in Planning state");
29
- return;
30
- }
31
- if (current.planningStatus === "planning") {
32
- logger.debug({ issueId: issue.id }, "[QueueWorkers:plan] Already planning, skipping");
33
- return;
34
- }
35
- logger.info({ issueId: issue.id, identifier: current.identifier }, "[QueueWorkers:plan] Dispatching planning job");
36
- try {
37
- const { runPlanningJob } = await import("./issue-runner-MTAIYNVN.js");
38
- await runPlanningJob(runtimeState, current);
39
- } catch (error) {
40
- logger.error({ err: error, issueId: issue.id }, "[QueueWorkers:plan] Planning job failed");
41
- }
42
- }
43
- async function enqueueForExecution(issue) {
44
- if (!active || !runtimeState) return;
45
- const running = /* @__PURE__ */ new Set();
46
- const { runIssueOnce } = await import("./issue-runner-MTAIYNVN.js");
47
- while (active && runtimeState) {
48
- const current = getCurrentIssue(issue.id);
49
- if (!current || current.state !== "Queued" && current.state !== "Running") {
50
- logger.debug({ issueId: issue.id, state: current?.state }, "[QueueWorkers:execute] Issue no longer in Queued/Running \u2014 stopping dispatch loop");
51
- break;
52
- }
53
- logger.info({ issueId: issue.id, identifier: current.identifier, state: current.state }, "[QueueWorkers:execute] Dispatching execution job");
54
- try {
55
- await runIssueOnce(runtimeState, current, running);
56
- } catch (error) {
57
- logger.error({ err: error, issueId: issue.id }, "[QueueWorkers:execute] Execution job failed");
58
- break;
59
- }
60
- }
61
- }
62
- async function enqueueForReview(issue) {
63
- if (!active || !runtimeState) return;
64
- const current = getCurrentIssue(issue.id);
65
- if (!current || current.state !== "Reviewing") {
66
- logger.debug({ issueId: issue.id, state: current?.state }, "[QueueWorkers:review] Skipping \u2014 not in Reviewing state");
67
- return;
68
- }
69
- logger.info({ issueId: issue.id, identifier: current.identifier }, "[QueueWorkers:review] Dispatching review job");
70
- const running = /* @__PURE__ */ new Set();
71
- try {
72
- const { runIssueOnce } = await import("./issue-runner-MTAIYNVN.js");
73
- await runIssueOnce(runtimeState, current, running);
74
- } catch (error) {
75
- logger.error({ err: error, issueId: issue.id }, "[QueueWorkers:review] Review job failed");
76
- }
77
- }
78
- async function getQueueStats() {
79
- return { plan: null, execute: null, review: null };
80
- }
81
-
82
- export {
83
- initQueueWorkers,
84
- stopQueueWorkers,
85
- areQueueWorkersActive,
86
- enqueueForPlanning,
87
- enqueueForExecution,
88
- enqueueForReview,
89
- getQueueStats
90
- };
91
- //# sourceMappingURL=chunk-MT3S55TM.js.map
@@ -1,13 +0,0 @@
1
- import {
2
- runIssueOnce,
3
- runPlanningJob
4
- } from "./chunk-G7W4NEOA.js";
5
- import "./chunk-MT3S55TM.js";
6
- import "./chunk-XN2QKKMY.js";
7
- import "./chunk-AMOGDOM7.js";
8
- import "./chunk-DVU3CXWA.js";
9
- export {
10
- runIssueOnce,
11
- runPlanningJob
12
- };
13
- //# sourceMappingURL=issue-runner-MTAIYNVN.js.map
@@ -1,20 +0,0 @@
1
- import {
2
- areQueueWorkersActive,
3
- enqueueForExecution,
4
- enqueueForPlanning,
5
- enqueueForReview,
6
- getQueueStats,
7
- initQueueWorkers,
8
- stopQueueWorkers
9
- } from "./chunk-MT3S55TM.js";
10
- import "./chunk-DVU3CXWA.js";
11
- export {
12
- areQueueWorkersActive,
13
- enqueueForExecution,
14
- enqueueForPlanning,
15
- enqueueForReview,
16
- getQueueStats,
17
- initQueueWorkers,
18
- stopQueueWorkers
19
- };
20
- //# sourceMappingURL=queue-workers-Q3IWRFLI.js.map