jazz-ai 0.10.0 → 0.10.2
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/README.md +1 -1
- package/dist/app-layer.d.ts +1 -1
- package/dist/app-layer.d.ts.map +1 -1
- package/dist/cli/catch-up-prompt.d.ts +1 -1
- package/dist/cli/catch-up-prompt.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/edit-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.map +1 -1
- package/dist/cli/failed-run-prompt.d.ts +3 -0
- package/dist/cli/failed-run-prompt.d.ts.map +1 -0
- package/dist/cli/presentation/activity-reducer.d.ts +2 -6
- package/dist/cli/presentation/activity-reducer.d.ts.map +1 -1
- package/dist/cli/presentation/format-utils.d.ts.map +1 -1
- package/dist/cli/presentation/ink-presentation-service.d.ts +25 -26
- package/dist/cli/presentation/ink-presentation-service.d.ts.map +1 -1
- package/dist/cli/presentation/markdown-split.d.ts +5 -0
- package/dist/cli/presentation/markdown-split.d.ts.map +1 -0
- package/dist/cli/ui/ActivityView.d.ts.map +1 -1
- package/dist/cli/ui/App.d.ts.map +1 -1
- package/dist/cli/ui/EphemeralPanel.d.ts +6 -0
- package/dist/cli/ui/EphemeralPanel.d.ts.map +1 -0
- package/dist/cli/ui/EphemeralPanelIsland.d.ts +6 -0
- package/dist/cli/ui/EphemeralPanelIsland.d.ts.map +1 -0
- package/dist/cli/ui/OutputEntryView.d.ts.map +1 -1
- package/dist/cli/ui/Prompt.d.ts.map +1 -1
- package/dist/cli/ui/QueueInput.d.ts +6 -0
- package/dist/cli/ui/QueueInput.d.ts.map +1 -0
- package/dist/cli/ui/activity-state.d.ts +7 -3
- package/dist/cli/ui/activity-state.d.ts.map +1 -1
- package/dist/cli/ui/adapters/terminal-output-adapter.d.ts +33 -8
- package/dist/cli/ui/adapters/terminal-output-adapter.d.ts.map +1 -1
- package/dist/cli/ui/store.d.ts +65 -2
- package/dist/cli/ui/store.d.ts.map +1 -1
- package/dist/core/agent/execution/agent-loop.d.ts.map +1 -1
- package/dist/core/agent/execution/streaming-executor.d.ts.map +1 -1
- package/dist/core/agent/tools/subagent-tools.d.ts.map +1 -1
- package/dist/core/agent/types.d.ts +2 -0
- package/dist/core/agent/types.d.ts.map +1 -1
- package/dist/core/constants/models.d.ts +1 -0
- package/dist/core/constants/models.d.ts.map +1 -1
- package/dist/core/interfaces/presentation.d.ts +7 -0
- package/dist/core/interfaces/presentation.d.ts.map +1 -1
- package/dist/core/interfaces/terminal.d.ts +1 -0
- package/dist/core/interfaces/terminal.d.ts.map +1 -1
- package/dist/core/types/chat.d.ts +1 -0
- package/dist/core/types/chat.d.ts.map +1 -1
- package/dist/core/types/config.d.ts +6 -0
- package/dist/core/types/config.d.ts.map +1 -1
- package/dist/core/types/llm.d.ts +2 -0
- package/dist/core/types/llm.d.ts.map +1 -1
- package/dist/core/utils/string.d.ts.map +1 -1
- package/dist/main.js +769 -738
- package/dist/services/chat-service.d.ts.map +1 -1
- package/dist/services/llm/ai-sdk-service.d.ts.map +1 -1
- package/dist/services/llm/model-fetcher.d.ts.map +1 -1
- package/dist/services/llm/models.d.ts +3 -0
- package/dist/services/llm/models.d.ts.map +1 -1
- package/dist/services/llm/reasoning/index.d.ts +4 -0
- package/dist/services/llm/reasoning/index.d.ts.map +1 -0
- package/dist/services/llm/reasoning/registry.d.ts +4 -0
- package/dist/services/llm/reasoning/registry.d.ts.map +1 -0
- package/dist/services/llm/reasoning/tag-pair-parser.d.ts +13 -0
- package/dist/services/llm/reasoning/tag-pair-parser.d.ts.map +1 -0
- package/dist/services/llm/reasoning/types.d.ts +23 -0
- package/dist/services/llm/reasoning/types.d.ts.map +1 -0
- package/dist/services/llm/stream-processor.d.ts +4 -0
- package/dist/services/llm/stream-processor.d.ts.map +1 -1
- package/dist/services/storage/file.d.ts.map +1 -1
- package/dist/services/terminal.d.ts +3 -0
- package/dist/services/terminal.d.ts.map +1 -1
- package/package.json +2 -9
- package/dist/cli/input/index.d.ts +0 -2
- package/dist/cli/input/index.d.ts.map +0 -1
- package/dist/cli/presentation/stream-text-order.d.ts +0 -11
- package/dist/cli/presentation/stream-text-order.d.ts.map +0 -1
- package/dist/cli/services/index.d.ts +0 -5
- package/dist/cli/services/index.d.ts.map +0 -1
- package/dist/cli/ui/Header.d.ts +0 -3
- package/dist/cli/ui/Header.d.ts.map +0 -1
- package/dist/cli/ui/ItemComponents.d.ts +0 -9
- package/dist/cli/ui/ItemComponents.d.ts.map +0 -1
- package/dist/cli/ui/Layout.d.ts +0 -10
- package/dist/cli/ui/Layout.d.ts.map +0 -1
- package/dist/cli/ui/contexts/TerminalContext.d.ts +0 -15
- package/dist/cli/ui/contexts/TerminalContext.d.ts.map +0 -1
- package/dist/cli/ui/hooks/use-terminal.d.ts +0 -2
- package/dist/cli/ui/hooks/use-terminal.d.ts.map +0 -1
- package/dist/core/agent/context/index.d.ts +0 -3
- package/dist/core/agent/context/index.d.ts.map +0 -1
- package/dist/core/agent/prompts/coder/system.d.ts +0 -2
- package/dist/core/agent/prompts/coder/system.d.ts.map +0 -1
- package/dist/core/agent/prompts/researcher/system.d.ts +0 -2
- package/dist/core/agent/prompts/researcher/system.d.ts.map +0 -1
- package/dist/core/agent/prompts/summarizer/system.d.ts +0 -2
- package/dist/core/agent/prompts/summarizer/system.d.ts.map +0 -1
- package/dist/core/utils/http-utils.d.ts +0 -2
- package/dist/core/utils/http-utils.d.ts.map +0 -1
- package/dist/core/utils/tool-result-summarizer.d.ts +0 -6
- package/dist/core/utils/tool-result-summarizer.d.ts.map +0 -1
- package/dist/core/workflows/index.d.ts +0 -5
- package/dist/core/workflows/index.d.ts.map +0 -1
- package/dist/services/chat/index.d.ts +0 -3
- package/dist/services/chat/index.d.ts.map +0 -1
- package/dist/services/storage/inMemory.d.ts +0 -14
- package/dist/services/storage/inMemory.d.ts.map +0 -1
- package/dist/services/storage/service.d.ts +0 -8
- package/dist/services/storage/service.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -98,7 +98,7 @@ Jazz understands your filesystem, your git history, your shell, HTTP APIs, the w
|
|
|
98
98
|
|
|
99
99
|
Jazz doesn't lock you in. Use whichever model fits the task or switch mid-conversation. Run locally with Ollama, go through OpenRouter for access to hundreds of models, or plug in your own endpoint.
|
|
100
100
|
|
|
101
|
-
OpenAI, Anthropic, Google, Mistral, xAI, DeepSeek, Groq, Cerebras, Fireworks, TogetherAI, Ollama, OpenRouter, and more.
|
|
101
|
+
OpenAI, Anthropic, Google, Mistral, xAI, DeepSeek, Groq, Cerebras, Fireworks, TogetherAI, Ollama, llama.cpp, OpenRouter, and more.
|
|
102
102
|
|
|
103
103
|
### MCP: Connect to Everything
|
|
104
104
|
|
package/dist/app-layer.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export interface AppLayerConfig {
|
|
|
20
20
|
debug?: boolean | undefined;
|
|
21
21
|
configPath?: string | undefined;
|
|
22
22
|
}
|
|
23
|
-
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/fs").FileSystemContextService | FileSystem.FileSystem | import("./core/interfaces/llm").LLMService | import("./core/interfaces/mcp-server").MCPServerManager | import("./core/interfaces/agent-config").AgentConfigService | import("./core/interfaces/presentation").PresentationService | import("./core/interfaces/tool-registry").ToolRegistry | import("./core/interfaces/telemetry").TelemetryService | import("./core/interfaces/persona-service").PersonaService | import("./core/interfaces/notification").NotificationService | import("./core/interfaces/agent-service").AgentService | import("./core/workflows").WorkflowService | import("./core/workflows").SchedulerService | import("./core/interfaces/storage").StorageService | 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>>;
|
|
23
|
+
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/fs").FileSystemContextService | FileSystem.FileSystem | import("./core/interfaces/llm").LLMService | import("./core/interfaces/mcp-server").MCPServerManager | import("./core/interfaces/agent-config").AgentConfigService | import("./core/interfaces/presentation").PresentationService | import("./core/interfaces/tool-registry").ToolRegistry | import("./core/interfaces/telemetry").TelemetryService | import("./core/interfaces/persona-service").PersonaService | import("./core/interfaces/notification").NotificationService | import("./core/interfaces/agent-service").AgentService | import("./core/workflows/workflow-service").WorkflowService | import("./core/workflows/scheduler-service").SchedulerService | import("./core/interfaces/storage").StorageService | 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>>;
|
|
24
24
|
export declare function runCliEffect<R, E extends JazzError | Error>(effect: Effect.Effect<void, E, R>, config?: AppLayerConfig, options?: {
|
|
25
25
|
readonly skipCatchUp?: boolean | undefined;
|
|
26
26
|
}): void;
|
package/dist/app-layer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-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M,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,CA8IN"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Effect } from "effect";
|
|
2
|
-
export declare function promptInteractiveCatchUp(): Effect.Effect<void, never, import("@/core/interfaces/logger").LoggerService | import("@/core/interfaces/terminal").TerminalService | import("../core/skills/skill-service").SkillService | import("../core/interfaces/fs").FileSystemContextService | import("@effect/platform/FileSystem").FileSystem | import("../core/interfaces/llm").LLMService | import("../core/interfaces/mcp-server").MCPServerManager | import("../core/interfaces/agent-config").AgentConfigService | import("../core/interfaces/tool-registry").ToolRegistry | import("../core/interfaces/agent-service").AgentService | import("../core/workflows").WorkflowService | import("../core/workflows").SchedulerService>;
|
|
2
|
+
export declare function promptInteractiveCatchUp(): Effect.Effect<void, never, import("@/core/interfaces/logger").LoggerService | import("@/core/interfaces/terminal").TerminalService | import("../core/skills/skill-service").SkillService | import("../core/interfaces/fs").FileSystemContextService | import("@effect/platform/FileSystem").FileSystem | import("../core/interfaces/llm").LLMService | import("../core/interfaces/mcp-server").MCPServerManager | import("../core/interfaces/agent-config").AgentConfigService | import("../core/interfaces/tool-registry").ToolRegistry | import("../core/interfaces/agent-service").AgentService | import("../core/workflows/workflow-service").WorkflowService | import("../core/workflows/scheduler-service").SchedulerService>;
|
|
3
3
|
//# sourceMappingURL=catch-up-prompt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catch-up-prompt.d.ts","sourceRoot":"","sources":["../../src/cli/catch-up-prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAqDhC,wBAAgB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"catch-up-prompt.d.ts","sourceRoot":"","sources":["../../src/cli/catch-up-prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAqDhC,wBAAgB,wBAAwB,wsBA8GvC"}
|
|
@@ -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/agent-service").AgentService | import("../../core/workflows").WorkflowService | 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/agent-service").AgentService | import("../../core/workflows/workflow-service").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;AAezD,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;AAezD,wBAAgB,sBAAsB,CACpC,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE;IACR,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,ijBAsEF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-agent.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/edit-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAiBhC,OAAO,EAAyB,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAChG,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACrF,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAqB,KAAK,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAC3F,OAAO,EAA2B,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC3F,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAErF,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,YAAY,EACZ,oBAAoB,EACpB,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAuB7B,wBAAgB,gBAAgB,CAC9B,eAAe,EAAE,MAAM,GACtB,MAAM,CAAC,MAAM,CACd,IAAI,EACF,YAAY,GACZ,oBAAoB,GACpB,uBAAuB,GACvB,uBAAuB,GACvB,eAAe,GACf,qBAAqB,EACrB,YAAY,GACZ,cAAc,GACd,UAAU,GACV,YAAY,GACZ,eAAe,GACf,kBAAkB,GAClB,gBAAgB,GAChB,aAAa,CAChB,
|
|
1
|
+
{"version":3,"file":"edit-agent.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/edit-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAiBhC,OAAO,EAAyB,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAChG,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACrF,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAqB,KAAK,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAC3F,OAAO,EAA2B,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC3F,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAErF,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,YAAY,EACZ,oBAAoB,EACpB,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAuB7B,wBAAgB,gBAAgB,CAC9B,eAAe,EAAE,MAAM,GACtB,MAAM,CAAC,MAAM,CACd,IAAI,EACF,YAAY,GACZ,oBAAoB,GACpB,uBAAuB,GACvB,uBAAuB,GACvB,eAAe,GACf,qBAAqB,EACrB,YAAY,GACZ,cAAc,GACd,UAAU,GACV,YAAY,GACZ,eAAe,GACf,kBAAkB,GAClB,gBAAgB,GAChB,aAAa,CAChB,CA0aA"}
|
|
@@ -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/persona-service").PersonaService | import("@/core/interfaces/agent-service").AgentService | import("../../core/workflows").WorkflowService | 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/persona-service").PersonaService | import("@/core/interfaces/agent-service").AgentService | import("../../core/workflows/workflow-service").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;AA6BhG,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;AA6BhG,wBAAgB,aAAa,+gBAmN5B"}
|
|
@@ -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;AAmChC,wBAAgB,oBAAoB,sQAoFnC;AAKD,wBAAgB,mBAAmB,CAAC,YAAY,EAAE,MAAM,kJAsDvD;AAWD,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE;IACR,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,
|
|
1
|
+
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAmChC,wBAAgB,oBAAoB,sQAoFnC;AAKD,wBAAgB,mBAAmB,CAAC,YAAY,EAAE,MAAM,kJAsDvD;AAWD,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE;IACR,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,2VA+LF;AAKD,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,MAAM,oRAiI3D;AAKD,wBAAgB,yBAAyB,CAAC,YAAY,EAAE,MAAM,oJA0B7D;AAKD,wBAAgB,sBAAsB,uVAiErC;AAKD,wBAAgB,6BAA6B,qJAoC5C;AAKD,wBAAgB,sBAAsB,CAAC,YAAY,CAAC,EAAE,MAAM,uIA4D3D"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Effect } from "effect";
|
|
2
|
+
export declare function promptFailedRunsWarning(): Effect.Effect<void, never, import("@/core/interfaces/terminal").TerminalService | import("@effect/platform/FileSystem").FileSystem | import("@/core/workflows/scheduler-service").SchedulerService>;
|
|
3
|
+
//# sourceMappingURL=failed-run-prompt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"failed-run-prompt.d.ts","sourceRoot":"","sources":["../../src/cli/failed-run-prompt.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAsBhC,wBAAgB,uBAAuB,wMAkEtC"}
|
|
@@ -6,11 +6,9 @@ interface TodoSnapshotItem {
|
|
|
6
6
|
content: string;
|
|
7
7
|
status: "pending" | "in_progress" | "completed" | "cancelled";
|
|
8
8
|
}
|
|
9
|
+
export declare const AWAITING_LABELS: readonly string[];
|
|
9
10
|
export interface ReducerAccumulator {
|
|
10
11
|
agentName: string;
|
|
11
|
-
liveText: string;
|
|
12
|
-
reasoningBuffer: string;
|
|
13
|
-
completedReasoning: string;
|
|
14
12
|
isThinking: boolean;
|
|
15
13
|
lastAgentHeaderWritten: boolean;
|
|
16
14
|
lastAppliedTextSequence: number;
|
|
@@ -23,14 +21,12 @@ export interface ReducerAccumulator {
|
|
|
23
21
|
currentModel: string | null;
|
|
24
22
|
cumulativeCostUSD: number;
|
|
25
23
|
lastPromptTokens: number;
|
|
26
|
-
_cachedReasoningInput: string;
|
|
27
|
-
_cachedReasoningOutput: string;
|
|
28
24
|
}
|
|
29
25
|
export declare function createAccumulator(agentName: string): ReducerAccumulator;
|
|
30
26
|
export interface ReducerResult {
|
|
31
27
|
activity: ActivityState | null;
|
|
32
28
|
outputs: OutputEntry[];
|
|
33
29
|
}
|
|
34
|
-
export declare function reduceEvent(acc: ReducerAccumulator, event: StreamEvent,
|
|
30
|
+
export declare function reduceEvent(acc: ReducerAccumulator, event: StreamEvent, inkRender: (node: unknown) => TerminalOutput): ReducerResult;
|
|
35
31
|
export {};
|
|
36
32
|
//# sourceMappingURL=activity-reducer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity-reducer.d.ts","sourceRoot":"","sources":["../../../src/cli/presentation/activity-reducer.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"activity-reducer.d.ts","sourceRoot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AAK,cAAc,GAC3C,aAAa,CAwPf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format-utils.d.ts","sourceRoot":"","sources":["../../../src/cli/presentation/format-utils.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAWhC,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,MAAM,EAChB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,OAAO,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,GAC/C,MAAM,CAKR;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAEzE;AAMD,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,gBAAgB,GAAE,OAAe,GAAG,MAAM,CAG3F;AAED,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAE1D;AAED,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAExE;AAED,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAElF;AAED,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAE9F;AAED,wBAAgB,wBAAwB,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAEzF;
|
|
1
|
+
{"version":3,"file":"format-utils.d.ts","sourceRoot":"","sources":["../../../src/cli/presentation/format-utils.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAWhC,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,MAAM,EAChB,IAA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AAgB,mBAAmB,CACjC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,GACd,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAE9B;AAED,wBAAgB,8BAA8B,CAC5C,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,GACd,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAE9B;AAED,wBAAgB,iCAAiC,CAC/C,OAAO,EAAE,MAAM,GAAG,IAAI,EACtB,UAAU,EAAE,MAAM,GACjB,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAE9B;AAED,wBAAgB,8BAA8B,CAC5C,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,MAAM,GACjB,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAE9B;AAED,wBAAgB,yBAAyB,CACvC,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,SAAS,MAAM,EAAE,EAC5B,sBAAsB,EAAE,SAAS,MAAM,EAAE,GACxC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAE9B"}
|
|
@@ -1,49 +1,50 @@
|
|
|
1
1
|
import { Effect, Layer } from "effect";
|
|
2
|
-
import type { PresentationService, StreamingRenderer } from "@/core/interfaces/presentation";
|
|
2
|
+
import type { PresentationService, StreamingRenderer, StreamTarget } from "@/core/interfaces/presentation";
|
|
3
3
|
import type { DisplayConfig } from "@/core/types/output";
|
|
4
4
|
import type { StreamEvent } from "@/core/types/streaming";
|
|
5
5
|
export declare class InkStreamingRenderer implements StreamingRenderer {
|
|
6
6
|
private readonly agentName;
|
|
7
7
|
private readonly showMetrics;
|
|
8
8
|
private readonly displayConfig;
|
|
9
|
+
private readonly streamTarget;
|
|
9
10
|
private readonly acc;
|
|
10
11
|
private lastUpdateTime;
|
|
11
12
|
private pendingActivity;
|
|
12
13
|
private updateTimeoutId;
|
|
13
14
|
private readonly updateThrottleMs;
|
|
14
|
-
private
|
|
15
|
-
private streamRaw;
|
|
16
|
-
private streamFormatted;
|
|
17
|
-
private lastPrintedLength;
|
|
15
|
+
private seenLength;
|
|
18
16
|
private hasStreamedText;
|
|
19
|
-
private
|
|
20
|
-
private
|
|
21
|
-
private
|
|
22
|
-
private reasoningHeaderPrinted;
|
|
17
|
+
private reasoningRegionId;
|
|
18
|
+
private reasoningFullText;
|
|
19
|
+
private reasoningStartedAt;
|
|
23
20
|
private toolTimeouts;
|
|
24
21
|
private static readonly TOOL_WARNING_MS;
|
|
25
|
-
|
|
22
|
+
private static readonly REASONING_PANEL_LINES;
|
|
23
|
+
private streamBuffer;
|
|
24
|
+
private streamFlushTimeoutId;
|
|
25
|
+
private readonly textBufferMs;
|
|
26
|
+
private static readonly DEFAULT_TEXT_BUFFER_MS;
|
|
27
|
+
private cumulativeResponseText;
|
|
28
|
+
private adaptiveDeferStartedAt;
|
|
29
|
+
private static readonly MAX_ADAPTIVE_WAIT_MS;
|
|
30
|
+
constructor(agentName: string, showMetrics: boolean, displayConfig: DisplayConfig, streamingConfig?: {
|
|
26
31
|
textBufferMs?: number;
|
|
27
|
-
}, throttleMs?: number);
|
|
32
|
+
}, throttleMs?: number, streamTarget?: StreamTarget);
|
|
33
|
+
private dispatchBufferedDelta;
|
|
34
|
+
private bufferStreamDelta;
|
|
35
|
+
private scheduleBufferFlush;
|
|
36
|
+
private shouldDeferForOpenStructure;
|
|
37
|
+
private flushStreamBuffer;
|
|
28
38
|
reset(): Effect.Effect<void, never>;
|
|
29
39
|
flush(): Effect.Effect<void, never>;
|
|
30
40
|
setInterruptHandler(handler: (() => void) | null): Effect.Effect<void, never>;
|
|
41
|
+
private static readonly SETTLE_BEFORE;
|
|
42
|
+
private static readonly COLLAPSE_REASONING_BEFORE;
|
|
43
|
+
private collapseReasoningRegion;
|
|
31
44
|
handleEvent(event: StreamEvent): Effect.Effect<void, never>;
|
|
32
45
|
private handleComplete;
|
|
46
|
+
private consumeTextDelta;
|
|
33
47
|
private printFinalResponse;
|
|
34
|
-
private resetStreamingState;
|
|
35
|
-
private resetReasoningState;
|
|
36
|
-
private getStreamingDelta;
|
|
37
|
-
private appendStreamingText;
|
|
38
|
-
private startReasoningStream;
|
|
39
|
-
private appendReasoningText;
|
|
40
|
-
private flushStreamingBuffer;
|
|
41
|
-
private flushReasoningBuffer;
|
|
42
|
-
private emitStreamText;
|
|
43
|
-
private emitReasoningText;
|
|
44
|
-
private getFormattedDelta;
|
|
45
|
-
private formatStreamingAccumulated;
|
|
46
|
-
private formatReasoningAccumulated;
|
|
47
48
|
private printMetrics;
|
|
48
49
|
private printCost;
|
|
49
50
|
private setupToolTimeout;
|
|
@@ -51,8 +52,6 @@ export declare class InkStreamingRenderer implements StreamingRenderer {
|
|
|
51
52
|
private clearAllToolTimeouts;
|
|
52
53
|
private storeExpandableDiff;
|
|
53
54
|
private throttledSetActivity;
|
|
54
|
-
private formatMarkdown;
|
|
55
|
-
private formatReasoningText;
|
|
56
55
|
private formatMarkdownContent;
|
|
57
56
|
}
|
|
58
57
|
export declare const InkPresentationServiceLayer: Layer.Layer<PresentationService, never, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ink-presentation-service.d.ts","sourceRoot":"","sources":["../../../src/cli/presentation/ink-presentation-service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAU,MAAM,QAAQ,CAAC;AAO/C,OAAO,KAAK,EAEV,mBAAmB,EACnB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"ink-presentation-service.d.ts","sourceRoot":"","sources":["../../../src/cli/presentation/ink-presentation-service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAU,MAAM,QAAQ,CAAC;AAO/C,OAAO,KAAK,EAEV,mBAAmB,EACnB,iBAAiB,EAEjB,YAAY,EAEb,MAAM,gCAAgC,CAAC;AAGxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB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,GAAE,YAAqC;IAYtE,OAAO,CAAC,qBAAqB;IAc7B,OAAO,CAAC,iBAAiB;IA2BzB,OAAO,CAAC,mBAAmB;IAoB3B,OAAO,CAAC,2BAA2B;IAmBnC,OAAO,CAAC,iBAAiB;IA6BzB,KAAK,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC;IA0BnC,KAAK,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC;IAkBnC,mBAAmB,CAAC,OAAO,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC;IAsB7E,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAOlC;IAQH,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,yBAAyB,CAM9C;IAGH,OAAO,CAAC,uBAAuB;IAoB/B,WAAW,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC;IAkJ3D,OAAO,CAAC,cAAc;IAgCtB,OAAO,CAAC,gBAAgB;IASxB,OAAO,CAAC,kBAAkB;IAiC1B,OAAO,CAAC,YAAY;IAuCpB,OAAO,CAAC,SAAS;IA0DjB,OAAO,CAAC,gBAAgB;IAaxB,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,oBAAoB;IAO5B,OAAO,CAAC,mBAAmB;IA6B3B,OAAO,CAAC,oBAAoB;IA8B5B,OAAO,CAAC,qBAAqB;CAS9B;AA8hBD,eAAO,MAAM,2BAA2B,gDAgBvC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const MAX_PENDING_TAIL = 8192;
|
|
2
|
+
export declare const SOFT_TAIL = 256;
|
|
3
|
+
export declare function findLastSafeSplitPoint(text: string): number;
|
|
4
|
+
export declare function isInsideOpenStructure(text: string): boolean;
|
|
5
|
+
//# sourceMappingURL=markdown-split.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markdown-split.d.ts","sourceRoot":"","sources":["../../../src/cli/presentation/markdown-split.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,gBAAgB,OAAO,CAAC;AAGrC,eAAO,MAAM,SAAS,MAAM,CAAC;AAW7B,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAsD3D;AAcD,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAa3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActivityView.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/ActivityView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"ActivityView.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/ActivityView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAuEtD,eAAO,MAAM,YAAY;cAGb,aAAa;EA0HvB,CAAC"}
|
package/dist/cli/ui/App.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/App.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/App.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmD,MAAM,OAAO,CAAC;AA6OxE,wBAAgB,GAAG,IAAI,KAAK,CAAC,YAAY,CA2KxC;AAED,eAAe,GAAG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EphemeralPanel.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/EphemeralPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAqB/C,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,eAAe,CAAA;CAAE,GAAG,KAAK,CAAC,YAAY,CAoC1F"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const MAX_VISIBLE_PANELS = 4;
|
|
3
|
+
declare function EphemeralPanelIslandComponent(): React.ReactElement | null;
|
|
4
|
+
export declare const EphemeralPanelIsland: React.MemoExoticComponent<typeof EphemeralPanelIslandComponent>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=EphemeralPanelIsland.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EphemeralPanelIsland.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/EphemeralPanelIsland.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAOpC,iBAAS,6BAA6B,IAAI,KAAK,CAAC,YAAY,GAAG,IAAI,CAuClE;AAED,eAAO,MAAM,oBAAoB,iEAA4C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OutputEntryView.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/OutputEntryView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,iBAAiB,EAAc,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"OutputEntryView.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/OutputEntryView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,iBAAiB,EAAc,MAAM,SAAS,CAAC;AA6C7D,eAAO,MAAM,eAAe;WAInB,iBAAiB;gBACZ,OAAO;EAwGnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Prompt.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/Prompt.tsx"],"names":[],"mappings":"AACA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAajF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AA6C3C,iBAAS,eAAe,CAAC,EACvB,MAAM,EACN,gBAAuB,GACxB,EAAE;IACD,MAAM,EAAE,WAAW,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC,GAAG,KAAK,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"Prompt.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/Prompt.tsx"],"names":[],"mappings":"AACA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAajF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AA6C3C,iBAAS,eAAe,CAAC,EACvB,MAAM,EACN,gBAAuB,GACxB,EAAE;IACD,MAAM,EAAE,WAAW,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC,GAAG,KAAK,CAAC,YAAY,CAgTrB;AAED,eAAO,MAAM,MAAM,mDAA8B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueueInput.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/QueueInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsB,MAAM,OAAO,CAAC;AA+B3C,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,gBAAgB,GACjB,EAAE;IACD,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC,GAAG,KAAK,CAAC,YAAY,CAoFrB"}
|
|
@@ -8,17 +8,21 @@ export interface TodoSnapshotItem {
|
|
|
8
8
|
content: string;
|
|
9
9
|
status: "pending" | "in_progress" | "completed" | "cancelled";
|
|
10
10
|
}
|
|
11
|
-
export type ActivityPhase = "idle" | "thinking" | "streaming" | "tool-execution" | "complete" | "error";
|
|
11
|
+
export type ActivityPhase = "idle" | "awaiting" | "thinking" | "streaming" | "tool-execution" | "complete" | "error";
|
|
12
12
|
export type ActivityState = {
|
|
13
13
|
phase: "idle";
|
|
14
|
+
} | {
|
|
15
|
+
phase: "awaiting";
|
|
16
|
+
agentName: string;
|
|
17
|
+
provider: string;
|
|
18
|
+
model: string;
|
|
19
|
+
label: string;
|
|
14
20
|
} | {
|
|
15
21
|
phase: "thinking";
|
|
16
22
|
agentName: string;
|
|
17
|
-
reasoning: string;
|
|
18
23
|
} | {
|
|
19
24
|
phase: "streaming";
|
|
20
25
|
agentName: string;
|
|
21
|
-
reasoning: string;
|
|
22
26
|
text: string;
|
|
23
27
|
} | {
|
|
24
28
|
phase: "tool-execution";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity-state.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/activity-state.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,SAAS,GAAG,aAAa,GAAG,WAAW,GAAG,WAAW,CAAC;CAC/D;AAED,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,UAAU,GACV,WAAW,GACX,gBAAgB,GAChB,UAAU,GACV,OAAO,CAAC;AAEZ,MAAM,MAAM,aAAa,GACrB;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GACjB;
|
|
1
|
+
{"version":3,"file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|
|
@@ -1,14 +1,39 @@
|
|
|
1
1
|
import type { OutputEntry, OutputEntryWithId } from "../types";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
|
|
2
|
+
export type { OutputEntry, OutputEntryWithId };
|
|
3
|
+
export type StreamKind = "response" | "reasoning";
|
|
4
|
+
export interface PendingStream {
|
|
5
|
+
readonly id: string;
|
|
6
|
+
readonly kind: StreamKind;
|
|
7
|
+
readonly rawTail: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ScrollbackState {
|
|
5
10
|
readonly staticEntries: OutputEntryWithId[];
|
|
6
|
-
readonly
|
|
11
|
+
readonly pending: PendingStream | null;
|
|
7
12
|
readonly staticGeneration: number;
|
|
8
13
|
}
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
14
|
+
export type ScrollbackAction = {
|
|
15
|
+
type: "appendStatic";
|
|
16
|
+
entries: readonly OutputEntryWithId[];
|
|
17
|
+
} | {
|
|
18
|
+
type: "appendStream";
|
|
19
|
+
kind: StreamKind;
|
|
20
|
+
delta: string;
|
|
21
|
+
nextId: string;
|
|
22
|
+
finalizeId?: string;
|
|
23
|
+
} | {
|
|
24
|
+
type: "finalizeStream";
|
|
25
|
+
finalizeId?: string;
|
|
26
|
+
} | {
|
|
27
|
+
type: "clear";
|
|
13
28
|
};
|
|
29
|
+
export declare function initialScrollbackState(): ScrollbackState;
|
|
30
|
+
export declare function reduceScrollback(state: ScrollbackState, action: ScrollbackAction): ScrollbackState;
|
|
31
|
+
export interface ScrollbackHandle {
|
|
32
|
+
state: ScrollbackState;
|
|
33
|
+
appendStatic: (entry: OutputEntry | readonly OutputEntry[]) => string;
|
|
34
|
+
appendStream: (kind: StreamKind, delta: string) => void;
|
|
35
|
+
finalizeStream: () => void;
|
|
36
|
+
clear: () => void;
|
|
37
|
+
}
|
|
38
|
+
export declare function useTerminalOutputAdapter(): ScrollbackHandle;
|
|
14
39
|
//# sourceMappingURL=terminal-output-adapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminal-output-adapter.d.ts","sourceRoot":"","sources":["../../../../src/cli/ui/adapters/terminal-output-adapter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"terminal-output-adapter.d.ts","sourceRoot":"","sources":["../../../../src/cli/ui/adapters/terminal-output-adapter.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE/D,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAC;AAE/C,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,WAAW,CAAC;AAElD,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,aAAa,EAAE,iBAAiB,EAAE,CAAC;IAC5C,QAAQ,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,CAAC;IAEvC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,MAAM,gBAAgB,GACxB;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,OAAO,EAAE,SAAS,iBAAiB,EAAE,CAAA;CAAE,GAC/D;IACE,IAAI,EAAE,cAAc,CAAC;IACrB,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IAEd,MAAM,EAAE,MAAM,CAAC;IAGf,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,GACD;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/C;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC;AAEtB,wBAAgB,sBAAsB,IAAI,eAAe,CAMxD;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,eAAe,EACtB,MAAM,EAAE,gBAAgB,GACvB,eAAe,CA+DjB;AAqCD,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,eAAe,CAAC;IAEvB,YAAY,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,WAAW,EAAE,KAAK,MAAM,CAAC;IAEtE,YAAY,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAExD,cAAc,EAAE,MAAM,IAAI,CAAC;IAE3B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,wBAAgB,wBAAwB,IAAI,gBAAgB,CAgE3D"}
|
package/dist/cli/ui/store.d.ts
CHANGED
|
@@ -1,11 +1,38 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
import { type ActivityState } from "./activity-state";
|
|
3
|
+
import type { StreamKind } from "./adapters/terminal-output-adapter";
|
|
3
4
|
import type { OutputEntry, PromptState } from "./types";
|
|
4
5
|
type PrintOutputHandler = (entry: OutputEntry | readonly OutputEntry[]) => string;
|
|
6
|
+
type StreamingHandler = {
|
|
7
|
+
appendStream: (kind: StreamKind, delta: string) => void;
|
|
8
|
+
finalizeStream: () => void;
|
|
9
|
+
};
|
|
5
10
|
interface ExpandableDiffPayload {
|
|
6
11
|
readonly fullDiff: string;
|
|
7
12
|
readonly timestamp: number;
|
|
8
13
|
}
|
|
14
|
+
export type EphemeralKind = "reasoning" | "subagent";
|
|
15
|
+
export type EphemeralRegionId = string;
|
|
16
|
+
export interface EphemeralRegion {
|
|
17
|
+
readonly id: EphemeralRegionId;
|
|
18
|
+
readonly kind: EphemeralKind;
|
|
19
|
+
readonly label: string;
|
|
20
|
+
readonly startedAt: number;
|
|
21
|
+
readonly tail: readonly string[];
|
|
22
|
+
readonly maxLines: number;
|
|
23
|
+
}
|
|
24
|
+
export interface ExpandableReasoning {
|
|
25
|
+
readonly fullText: string;
|
|
26
|
+
readonly label: string;
|
|
27
|
+
readonly durationMs: number;
|
|
28
|
+
readonly tokens?: number;
|
|
29
|
+
}
|
|
30
|
+
export interface CollapseEphemeralSummary {
|
|
31
|
+
readonly line?: string;
|
|
32
|
+
readonly fullText?: string;
|
|
33
|
+
readonly durationMs: number;
|
|
34
|
+
readonly tokens?: number;
|
|
35
|
+
}
|
|
9
36
|
export interface RunStats {
|
|
10
37
|
readonly model?: string;
|
|
11
38
|
readonly provider?: string;
|
|
@@ -16,6 +43,7 @@ export interface RunStats {
|
|
|
16
43
|
export declare class UIStore {
|
|
17
44
|
private printOutputHandler;
|
|
18
45
|
private clearOutputsHandler;
|
|
46
|
+
private streamingHandler;
|
|
19
47
|
private pendingOutputQueue;
|
|
20
48
|
private _pendingClear;
|
|
21
49
|
private pendingOutputIdCounter;
|
|
@@ -26,10 +54,20 @@ export declare class UIStore {
|
|
|
26
54
|
private activitySnapshot;
|
|
27
55
|
private workingDirectorySnapshot;
|
|
28
56
|
private runStatsSnapshot;
|
|
57
|
+
private ephemeralRegionsSnapshot;
|
|
58
|
+
private expandableReasoningSnapshot;
|
|
59
|
+
private messageQueueSnapshot;
|
|
60
|
+
private chatBusySnapshot;
|
|
61
|
+
private ephemeralRegions;
|
|
62
|
+
private ephemeralIdCounter;
|
|
29
63
|
private promptSetter;
|
|
30
64
|
private activitySetter;
|
|
31
65
|
private workingDirectorySetter;
|
|
32
66
|
private runStatsSetter;
|
|
67
|
+
private ephemeralRegionsSetter;
|
|
68
|
+
private expandableReasoningSetter;
|
|
69
|
+
private messageQueueSetter;
|
|
70
|
+
private chatBusySetter;
|
|
33
71
|
private flushOutputBatch;
|
|
34
72
|
private doFlushBatch;
|
|
35
73
|
flushOutputBatchNow(): void;
|
|
@@ -39,23 +77,48 @@ export declare class UIStore {
|
|
|
39
77
|
setWorkingDirectory: (workingDirectory: string | null) => void;
|
|
40
78
|
updateRunStats: (patch: Partial<RunStats>) => void;
|
|
41
79
|
setCustomView: (_view: React.ReactNode | null) => void;
|
|
42
|
-
|
|
80
|
+
private interruptHandlerStack;
|
|
81
|
+
private interruptHandlerSetter;
|
|
82
|
+
setInterruptHandler: (handler: (() => void) | null) => void;
|
|
83
|
+
appendToQueue: (text: string) => void;
|
|
84
|
+
peekQueue: () => string;
|
|
85
|
+
takeQueue: () => string;
|
|
86
|
+
clearQueue: () => void;
|
|
87
|
+
setChatBusy: (busy: boolean) => void;
|
|
43
88
|
setExpandableDiff: (fullDiff: string) => void;
|
|
44
89
|
getExpandableDiff: () => ExpandableDiffPayload | null;
|
|
45
90
|
clearExpandableDiff: () => void;
|
|
91
|
+
private publishEphemeralRegions;
|
|
92
|
+
private setExpandableReasoning;
|
|
93
|
+
openEphemeral: (kind: EphemeralKind, label: string, maxLines: number) => EphemeralRegionId;
|
|
94
|
+
appendEphemeral: (id: EphemeralRegionId, text: string) => void;
|
|
95
|
+
collapseEphemeral: (id: EphemeralRegionId, summary: CollapseEphemeralSummary) => void;
|
|
96
|
+
collapseAllEphemeral: () => void;
|
|
97
|
+
expandLastReasoning: () => void;
|
|
98
|
+
appendStream: (kind: StreamKind, delta: string) => void;
|
|
99
|
+
finalizeStream: () => void;
|
|
46
100
|
clearOutputs: () => void;
|
|
47
101
|
registerPrintOutput(handler: PrintOutputHandler): void;
|
|
102
|
+
registerStreamingHandler(handler: StreamingHandler | null): void;
|
|
48
103
|
registerClearOutputs(handler: () => void): void;
|
|
49
104
|
registerActivitySetter(setter: (activity: ActivityState) => void): void;
|
|
50
105
|
registerPromptSetter(setter: (prompt: PromptState | null) => void): void;
|
|
51
106
|
registerWorkingDirectorySetter(setter: (wd: string | null) => void): void;
|
|
52
107
|
registerRunStatsSetter(setter: (stats: RunStats) => void): void;
|
|
53
108
|
registerCustomView(setter: (view: React.ReactNode | null) => void): void;
|
|
54
|
-
|
|
109
|
+
registerMessageQueueSetter(setter: (queue: readonly string[]) => void): void;
|
|
110
|
+
registerChatBusySetter(setter: (busy: boolean) => void): void;
|
|
111
|
+
registerInterruptHandler(setter: ((handler: (() => void) | null) => void) | null): void;
|
|
112
|
+
registerEphemeralRegionsSetter(setter: (regions: readonly EphemeralRegion[]) => void): void;
|
|
113
|
+
registerExpandableReasoningSetter(setter: (value: ExpandableReasoning | null) => void): void;
|
|
55
114
|
getActivitySnapshot(): ActivityState;
|
|
56
115
|
getPromptSnapshot(): PromptState | null;
|
|
57
116
|
getWorkingDirectorySnapshot(): string | null;
|
|
58
117
|
getRunStatsSnapshot(): RunStats;
|
|
118
|
+
getEphemeralRegionsSnapshot(): readonly EphemeralRegion[];
|
|
119
|
+
getExpandableReasoningSnapshot(): ExpandableReasoning | null;
|
|
120
|
+
getMessageQueueSnapshot(): readonly string[];
|
|
121
|
+
getChatBusySnapshot(): boolean;
|
|
59
122
|
hasPendingClear(): boolean;
|
|
60
123
|
consumePendingClear(): void;
|
|
61
124
|
drainPendingOutputQueue(): OutputEntry[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGxD,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,WAAW,EAAE,KAAK,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGxD,KAAK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AE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AASnF,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,kBAAkB,EAC3B,UAAU,EAAE,eAAe,EAC3B,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,WAAW,EAAE,OAAO,EACpB,YAAY,EAAE,eAAe,GAC5B,MAAM,CAAC,MAAM,CACd,aAAa,EACb,iBAAiB,GAAG,KAAK,EACvB,UAAU,GACV,YAAY,GACZ,aAAa,GACb,kBAAkB,GAClB,mBAAmB,GACnB,gBAAgB,CACnB,
|
|
1
|
+
{"version":3,"file":"streaming-executor.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/execution/streaming-executor.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,MAAM,EAOP,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAoB,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEhF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAE1E,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACtF,OAAO,KAAK,EAAe,eAAe,EAAE,MAAM,cAAc,CAAC;AAEjE,OAAO,EAGL,iBAAiB,EAElB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AASnF,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,kBAAkB,EAC3B,UAAU,EAAE,eAAe,EAC3B,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,WAAW,EAAE,OAAO,EACpB,YAAY,EAAE,eAAe,GAC5B,MAAM,CAAC,MAAM,CACd,aAAa,EACb,iBAAiB,GAAG,KAAK,EACvB,UAAU,GACV,YAAY,GACZ,aAAa,GACb,kBAAkB,GAClB,mBAAmB,GACnB,gBAAgB,CACnB,CA8RA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subagent-tools.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/tools/subagent-tools.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"subagent-tools.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/tools/subagent-tools.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAiD9E,wBAAgB,mBAAmB,IAAI,IAAI,CAAC,gBAAgB,CAAC,EAAE,CAyP9D"}
|
|
@@ -11,6 +11,7 @@ export interface AgentRunnerOptions {
|
|
|
11
11
|
readonly conversationId?: string;
|
|
12
12
|
readonly sessionId: string;
|
|
13
13
|
readonly internal?: boolean;
|
|
14
|
+
readonly ephemeralRegionId?: string;
|
|
14
15
|
readonly maxIterations?: number;
|
|
15
16
|
readonly conversationHistory?: ChatMessage[];
|
|
16
17
|
readonly stream?: boolean;
|
|
@@ -22,6 +23,7 @@ export interface AgentRunnerOptions {
|
|
|
22
23
|
}
|
|
23
24
|
export interface AgentResponse {
|
|
24
25
|
readonly content: string;
|
|
26
|
+
readonly reasoning?: string;
|
|
25
27
|
readonly conversationId: string;
|
|
26
28
|
readonly toolCalls?: ToolCall[];
|
|
27
29
|
readonly toolResults?: Record<string, unknown>;
|