jazz-ai 0.8.0 → 0.8.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.
- package/dist/app-layer.d.ts +1 -1
- package/dist/app-layer.d.ts.map +1 -1
- package/dist/cli/commands/chat-agent.d.ts +1 -1
- package/dist/cli/commands/chat-agent.d.ts.map +1 -1
- package/dist/cli/commands/wizard.d.ts +1 -1
- package/dist/cli/commands/wizard.d.ts.map +1 -1
- package/dist/cli/commands/workflow.d.ts +1 -1
- package/dist/cli/commands/workflow.d.ts.map +1 -1
- package/dist/core/interfaces/chat-service.d.ts +2 -1
- package/dist/core/interfaces/chat-service.d.ts.map +1 -1
- package/dist/core/utils/cron-utils.d.ts +1 -0
- package/dist/core/utils/cron-utils.d.ts.map +1 -1
- package/dist/core/workflows/workflow-utils.d.ts +10 -0
- package/dist/core/workflows/workflow-utils.d.ts.map +1 -0
- package/dist/main.js +372 -372
- package/dist/services/chat/commands/constants.d.ts.map +1 -1
- package/dist/services/chat/commands/handler.d.ts +2 -1
- package/dist/services/chat/commands/handler.d.ts.map +1 -1
- package/dist/services/chat/commands/parser.d.ts.map +1 -1
- package/dist/services/chat/commands/types.d.ts +1 -1
- package/dist/services/chat/commands/types.d.ts.map +1 -1
- package/dist/services/chat-service.d.ts +2 -1
- package/dist/services/chat-service.d.ts.map +1 -1
- package/package.json +3 -1
- package/skills/create-system-routine/SKILL.md +13 -7
- package/skills/create-workflow/SKILL.md +27 -6
- package/skills/obsidian/SKILL.md +19 -8
- package/skills/skill-creator/SKILL.md +13 -6
- package/workflows/email-cleanup/WORKFLOW.md +47 -0
- package/workflows/market-analysis/WORKFLOW.md +258 -0
- package/workflows/tech-digest/WORKFLOW.md +129 -0
- package/workflows/weather-briefing/WORKFLOW.md +55 -0
package/dist/app-layer.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export interface AppLayerConfig {
|
|
|
6
6
|
debug?: boolean | undefined;
|
|
7
7
|
configPath?: string | undefined;
|
|
8
8
|
}
|
|
9
|
-
export declare function createAppLayer(config?: AppLayerConfig): Layer.Layer<import("./core/interfaces/logger").LoggerService | import("./core/interfaces/terminal").TerminalService | import("./core/skills/skill-service").SkillService | import("./core/interfaces/calendar").CalendarService | import("./core/interfaces/fs").FileSystemContextService | FileSystem.FileSystem | import("./core/interfaces/gmail").GmailService | import("./core/interfaces/mcp-server").MCPServerManager | import("./core/interfaces/agent-config").AgentConfigService | import("./core/interfaces/tool-registry").ToolRegistry | import("./core/interfaces/presentation").PresentationService | import("./core/interfaces/notification").NotificationService | import("./core/interfaces/llm").LLMService | import("./core/interfaces/agent-service").AgentService | import("./core/
|
|
9
|
+
export declare function createAppLayer(config?: AppLayerConfig): Layer.Layer<import("./core/interfaces/logger").LoggerService | import("./core/interfaces/terminal").TerminalService | import("./core/skills/skill-service").SkillService | import("./core/interfaces/calendar").CalendarService | import("./core/interfaces/fs").FileSystemContextService | FileSystem.FileSystem | import("./core/interfaces/gmail").GmailService | import("./core/interfaces/mcp-server").MCPServerManager | import("./core/interfaces/agent-config").AgentConfigService | import("./core/interfaces/tool-registry").ToolRegistry | import("./core/interfaces/presentation").PresentationService | import("./core/interfaces/notification").NotificationService | import("./core/interfaces/llm").LLMService | import("./core/interfaces/agent-service").AgentService | import("./core/workflows").WorkflowService | import("./core/interfaces/storage").StorageService | import("./core/workflows").SchedulerService | import("./core/interfaces/chat-service").ChatService, Error | import("./core/types").ConfigurationError | import("./core/types").ConfigurationNotFoundError | import("./core/types").LLMConfigurationError, FileSystem.FileSystem | import("effect/Context").Tag<import("./core/interfaces/tool-registry").ToolRegistry, import("./core/interfaces/tool-registry").ToolRegistry> | import("effect/Context").Tag<import("./core/interfaces/agent-config").AgentConfigService, import("./core/interfaces/agent-config").AgentConfigService> | import("effect/Context").Tag<import("./core/interfaces/agent-service").AgentService, import("./core/interfaces/agent-service").AgentService>>;
|
|
10
10
|
export declare function runCliEffect<R, E extends JazzError | Error>(effect: Effect.Effect<void, E, R>, config?: AppLayerConfig, options?: {
|
|
11
11
|
readonly skipCatchUp?: boolean | undefined;
|
|
12
12
|
}): void;
|
package/dist/app-layer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-layer.d.ts","sourceRoot":"","sources":["../src/app-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,
|
|
1
|
+
{"version":3,"file":"app-layer.d.ts","sourceRoot":"","sources":["../src/app-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAmB,MAAM,EAAe,KAAK,EAAU,MAAM,QAAQ,CAAC;AAY7E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAsBrD,MAAM,WAAW,cAAc;IAI7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAK9B,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAK5B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC;AAmBD,wBAAgB,cAAc,CAAC,MAAM,GAAE,cAAmB,uiDA+FzD;AAWD,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,GAAG,KAAK,EACzD,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC,EACjC,MAAM,GAAE,cAAmB,EAC3B,OAAO,GAAE;IAOP,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACvC,GACL,IAAI,CAgGN"}
|
|
@@ -2,5 +2,5 @@ import { Effect } from "effect";
|
|
|
2
2
|
import { AgentNotFoundError } from "@/core/types/errors";
|
|
3
3
|
export declare function chatWithAIAgentCommand(agentIdentifier: string, options?: {
|
|
4
4
|
stream?: boolean;
|
|
5
|
-
}): Effect.Effect<undefined, AgentNotFoundError | import("@/core/types/errors").StorageError, import("../../core/interfaces/tool-registry").ToolRequirements | import("../../core/interfaces/tool-registry").ToolRegistry | import("effect/Context").Tag<import("../../core/interfaces/agent-config").AgentConfigService, import("../../core/interfaces/agent-config").AgentConfigService> | import("../../core/interfaces/presentation").PresentationService | import("../../core/interfaces/llm").LLMService | import("../../core/interfaces/agent-service").AgentService | import("@/core/interfaces/chat-service").ChatService>;
|
|
5
|
+
}): Effect.Effect<undefined, AgentNotFoundError | import("@/core/types/errors").StorageError, import("../../core/interfaces/tool-registry").ToolRequirements | import("../../core/interfaces/tool-registry").ToolRegistry | import("effect/Context").Tag<import("../../core/interfaces/agent-config").AgentConfigService, import("../../core/interfaces/agent-config").AgentConfigService> | import("../../core/interfaces/presentation").PresentationService | import("../../core/interfaces/llm").LLMService | import("../../core/interfaces/agent-service").AgentService | import("../../core/workflows").WorkflowService | import("@/core/interfaces/chat-service").ChatService>;
|
|
6
6
|
//# sourceMappingURL=chat-agent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-agent.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/chat-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAKhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAczD,wBAAgB,sBAAsB,CACpC,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE;IACR,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,
|
|
1
|
+
{"version":3,"file":"chat-agent.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/chat-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAKhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAczD,wBAAgB,sBAAsB,CACpC,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE;IACR,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,opBAmDF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Effect } from "effect";
|
|
2
2
|
import { type AgentConfigService } from "@/core/interfaces/agent-config";
|
|
3
|
-
export declare function wizardCommand(): Effect.Effect<void, Error, import("../../core/interfaces/tool-registry").ToolRequirements | import("../../core/interfaces/tool-registry").ToolRegistry | import("effect/Context").Tag<AgentConfigService, AgentConfigService> | import("../../core/interfaces/presentation").PresentationService | import("../../core/interfaces/llm").LLMService | import("@/core/interfaces/agent-service").AgentService | import("../../core/interfaces/cli-options").CLIOptions | import("@/core/interfaces/chat-service").ChatService>;
|
|
3
|
+
export declare function wizardCommand(): Effect.Effect<void, Error, import("../../core/interfaces/tool-registry").ToolRequirements | import("../../core/interfaces/tool-registry").ToolRegistry | import("effect/Context").Tag<AgentConfigService, AgentConfigService> | import("../../core/interfaces/presentation").PresentationService | import("../../core/interfaces/llm").LLMService | import("@/core/interfaces/agent-service").AgentService | import("../../core/workflows").WorkflowService | import("../../core/interfaces/cli-options").CLIOptions | import("@/core/interfaces/chat-service").ChatService>;
|
|
4
4
|
//# sourceMappingURL=wizard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wizard.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/wizard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAyB,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AA4BhG,wBAAgB,aAAa,
|
|
1
|
+
{"version":3,"file":"wizard.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/wizard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAyB,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AA4BhG,wBAAgB,aAAa,ijBAsM5B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Effect } from "effect";
|
|
2
|
-
export declare function listWorkflowsCommand(): Effect.Effect<void, Error, import("@/core/interfaces/terminal").TerminalService | import("@/core/workflows/workflow-service").WorkflowService>;
|
|
2
|
+
export declare function listWorkflowsCommand(): Effect.Effect<void, Error, import("@/core/interfaces/terminal").TerminalService | import("@/core/workflows/workflow-service").WorkflowService | import("@/core/workflows/scheduler-service").SchedulerService>;
|
|
3
3
|
export declare function showWorkflowCommand(workflowName: string): Effect.Effect<void, Error, import("@/core/interfaces/terminal").TerminalService | import("@/core/workflows/workflow-service").WorkflowService>;
|
|
4
4
|
export declare function runWorkflowCommand(workflowName: string, options?: {
|
|
5
5
|
autoApprove?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAoChC,wBAAgB,oBAAoB,mNAiEnC;AAKD,wBAAgB,mBAAmB,CAAC,YAAY,EAAE,MAAM,kJAsDvD;AAQD,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE;IACR,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,+YAoIF;AAKD,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,MAAM,oRAoH3D;AAKD,wBAAgB,yBAAyB,CAAC,YAAY,EAAE,MAAM,oJA0B7D;AAKD,wBAAgB,sBAAsB,2cAiErC;AAKD,wBAAgB,6BAA6B,qJAoC5C;AAKD,wBAAgB,sBAAsB,CAAC,YAAY,CAAC,EAAE,MAAM,oFA6C3D"}
|
|
@@ -2,6 +2,7 @@ import type { FileSystem } from "@effect/platform";
|
|
|
2
2
|
import { Context, Effect } from "effect";
|
|
3
3
|
import type { SkillService } from "@/core/skills/skill-service";
|
|
4
4
|
import type { Agent } from "@/core/types/index";
|
|
5
|
+
import type { WorkflowService } from "@/core/workflows/workflow-service";
|
|
5
6
|
import { AgentConfigServiceTag } from "./agent-config";
|
|
6
7
|
import type { AgentService } from "./agent-service";
|
|
7
8
|
import type { FileSystemContextService } from "./fs";
|
|
@@ -13,7 +14,7 @@ import type { ToolRegistry, ToolRequirements } from "./tool-registry";
|
|
|
13
14
|
export interface ChatService {
|
|
14
15
|
readonly startChatSession: (agent: Agent, options?: {
|
|
15
16
|
stream?: boolean;
|
|
16
|
-
}) => Effect.Effect<void, never, TerminalService | LoggerService | FileSystemContextService | FileSystem.FileSystem | typeof AgentConfigServiceTag | ToolRegistry | AgentService | LLMService | PresentationService | ToolRequirements | SkillService>;
|
|
17
|
+
}) => Effect.Effect<void, never, TerminalService | LoggerService | FileSystemContextService | FileSystem.FileSystem | typeof AgentConfigServiceTag | ToolRegistry | AgentService | LLMService | PresentationService | ToolRequirements | SkillService | WorkflowService>;
|
|
17
18
|
}
|
|
18
19
|
export declare const ChatServiceTag: Context.Tag<ChatService, ChatService>;
|
|
19
20
|
//# sourceMappingURL=chat-service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-service.d.ts","sourceRoot":"","sources":["../../../src/core/interfaces/chat-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,KAAK,EAAE,YAA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,KAAK,EAAE,wBAAwB,EAAE,MAAM,MAAM,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAQtE,MAAM,WAAW,WAAW;IAW1B,QAAQ,CAAC,gBAAgB,EAAE,CACzB,KAAK,EAAE,KAAK,EACZ,OAAO,CAAC,EAAE;QACR,MAAM,CAAC,EAAE,OAAO,CAAC;KAClB,KACE,MAAM,CAAC,MAAM,CAChB,IAAI,EACJ,KAAK,EACH,eAAe,GACf,aAAa,GACb,wBAAwB,GACxB,UAAU,CAAC,UAAU,GACrB,OAAO,qBAAqB,GAC5B,YAAY,GACZ,YAAY,GACZ,UAAU,GACV,mBAAmB,GACnB,gBAAgB,GAChB,YAAY,GACZ,eAAe,CAClB,CAAC;CACH;AAED,eAAO,MAAM,cAAc,uCAAiD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cron-utils.d.ts","sourceRoot":"","sources":["../../../src/core/utils/cron-utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cron-utils.d.ts","sourceRoot":"","sources":["../../../src/core/utils/cron-utils.ts"],"names":[],"mappings":"AAQA,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAOhE;AAMD,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAa3D;AAKD,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAchE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WorkflowMetadata } from "./workflow-service";
|
|
2
|
+
export declare function groupWorkflows(workflows: readonly WorkflowMetadata[]): {
|
|
3
|
+
local: WorkflowMetadata[];
|
|
4
|
+
global: WorkflowMetadata[];
|
|
5
|
+
builtin: WorkflowMetadata[];
|
|
6
|
+
};
|
|
7
|
+
export declare function formatWorkflow(w: WorkflowMetadata, options?: {
|
|
8
|
+
statusBadge?: string;
|
|
9
|
+
}): string;
|
|
10
|
+
//# sourceMappingURL=workflow-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-utils.d.ts","sourceRoot":"","sources":["../../../src/core/workflows/workflow-utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAK3D,wBAAgB,cAAc,CAAC,SAAS,EAAE,SAAS,gBAAgB,EAAE;;;;EAsBpE;AAKD,wBAAgB,cAAc,CAC5B,CAAC,EAAE,gBAAgB,EACnB,OAAO,CAAC,EAAE;IACR,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GACA,MAAM,CAUR"}
|