saeeol 1.1.1 → 1.2.0
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/package.json +1 -1
- package/script/build.ts +1 -1
- package/src/addons/addon-analytics.ts +1 -1
- package/src/cli/cmd/tui/routes/session/suggest.tsx +1 -1
- package/src/cli/logo.ts +1 -1
- package/src/cli/ui.ts +1 -1
- package/src/config/config-loader.ts +1 -1
- package/src/config/config-schema.ts +1 -1
- package/src/config/config.ts +1 -1
- package/src/config/markdown.ts +1 -1
- package/src/index.ts +2 -2
- package/src/lsp/lsp.ts +1 -1
- package/src/lsp/server-web.ts +1 -1
- package/src/mcp/oauth-callback.ts +1 -1
- package/src/{saeeol → overlay}/encoding.ts +1 -1
- package/src/{saeeol → overlay}/text-stream.ts +1 -1
- package/src/{saeeol → overlay}/tool/encoded-io.ts +1 -1
- package/src/patch/patch-apply.ts +1 -1
- package/src/patch/patch-parse.ts +1 -1
- package/src/session/system.ts +4 -4
- package/src/skill/index.ts +1 -1
- package/src/suggestion/index.ts +1 -1
- package/src/tool/apply_patch.ts +2 -2
- package/src/tool/edit.ts +2 -2
- package/src/tool/read.ts +2 -2
- package/src/tool/recall.ts +1 -1
- package/src/tool/registry.ts +2 -2
- package/src/tool/suggest.ts +1 -1
- package/src/tool/task.ts +3 -3
- package/src/tool/todo.ts +1 -1
- package/src/tool/write.ts +2 -2
- package/test/lsp/index.test.ts +1 -1
- package/test/saeeol/agent-manager-tool.test.ts +1 -1
- package/test/saeeol/ask-agent-permissions.test.ts +1 -1
- package/test/saeeol/bash-hierarchy.test.ts +1 -1
- package/test/saeeol/builtin-skills.test.ts +1 -1
- package/test/saeeol/cli/dev-setup.test.ts +1 -1
- package/test/saeeol/cli/roll-call.test.ts +1 -1
- package/test/saeeol/cli-run-auto-helper.test.ts +1 -1
- package/test/saeeol/codex-auth-refresh.test.ts +1 -1
- package/test/saeeol/commit-message/generate.test.ts +1 -1
- package/test/saeeol/commit-message/git-context.test.ts +1 -1
- package/test/saeeol/commit-message-windows.test.ts +1 -1
- package/test/saeeol/compaction-payload-recovery.test.ts +1 -1
- package/test/saeeol/config/config.test.ts +1 -1
- package/test/saeeol/config-injector.test.ts +1 -1
- package/test/saeeol/config-validation.test.ts +1 -1
- package/test/saeeol/cost-propagation.test.ts +1 -1
- package/test/saeeol/custom-provider-delete.test.ts +1 -1
- package/test/saeeol/diff-full.test.ts +1 -1
- package/test/saeeol/encoding.test.ts +1 -1
- package/test/saeeol/enhance-prompt.test.ts +1 -1
- package/test/saeeol/ensure-plan-dir.test.ts +1 -1
- package/test/saeeol/errors.test.ts +1 -1
- package/test/saeeol/help.test.ts +3 -3
- package/test/saeeol/ignore-migrator.test.ts +1 -1
- package/test/saeeol/indexing-auth.test.ts +1 -1
- package/test/saeeol/indexing-feature.test.ts +1 -1
- package/test/saeeol/indexing-label.test.ts +1 -1
- package/test/saeeol/indexing-startup.test.ts +1 -1
- package/test/saeeol/indexing-worktree.test.ts +1 -1
- package/test/saeeol/lancedb-runtime.test.ts +9 -9
- package/test/saeeol/logo.test.ts +1 -1
- package/test/saeeol/lsp-typescript-lightweight.test.ts +2 -2
- package/test/saeeol/mcp-migrator.test.ts +1 -1
- package/test/saeeol/model-info-panel-utils.test.ts +1 -1
- package/test/saeeol/modes-migrator.test.ts +1 -1
- package/test/saeeol/paths.test.ts +1 -1
- package/test/saeeol/permission/config-paths.test.ts +2 -2
- package/test/saeeol/permission/external-directory-allow.test.ts +1 -1
- package/test/saeeol/plan-exit-detection.test.ts +1 -1
- package/test/saeeol/plan-followup.test.ts +2 -2
- package/test/saeeol/project-id.test.ts +1 -1
- package/test/saeeol/question-dismiss-all.test.ts +1 -1
- package/test/saeeol/rules-migrator.test.ts +1 -1
- package/test/saeeol/semantic-search.test.ts +2 -2
- package/test/saeeol/session/platform-attribution.test.ts +1 -1
- package/test/saeeol/session-compaction-cap.test.ts +2 -2
- package/test/saeeol/session-compaction-chunks.test.ts +1 -1
- package/test/saeeol/session-compaction-safety.test.ts +1 -1
- package/test/saeeol/session-import-service.test.ts +1 -1
- package/test/saeeol/session-processor-empty-tool-calls.test.ts +1 -1
- package/test/saeeol/session-processor-review-telemetry.test.ts +1 -1
- package/test/saeeol/session-prompt-queue.test.ts +1 -1
- package/test/saeeol/sessions/remote-sender.test.ts +1 -1
- package/test/saeeol/snapshot-track-timeout.test.ts +1 -1
- package/test/saeeol/suggestion/auto-dismiss.test.ts +2 -2
- package/test/saeeol/suggestion/suggestion.test.ts +1 -1
- package/test/saeeol/suggestion/tool.test.ts +2 -2
- package/test/saeeol/system-prompt.test.ts +1 -1
- package/test/saeeol/todo-view.test.ts +1 -1
- package/test/saeeol/tool-registry-indexing.test.ts +3 -3
- package/test/saeeol/tui-diff.test.ts +1 -1
- package/test/saeeol/tui-sync.test.ts +1 -1
- package/test/saeeol/util/url.test.ts +1 -1
- package/test/saeeol/workflows-migrator.test.ts +1 -1
- package/test/saeeol/worktree-diff-summary.test.ts +1 -1
- package/tsconfig.json +1 -1
- /package/src/{saeeol → overlay}/agent/agent-remove.ts +0 -0
- /package/src/{saeeol → overlay}/agent/index.ts +0 -0
- /package/src/{saeeol → overlay}/agent/patch-agents.ts +0 -0
- /package/src/{saeeol → overlay}/agent/permissions.ts +0 -0
- /package/src/{saeeol → overlay}/agent-manager/event.ts +0 -0
- /package/src/{saeeol → overlay}/bash-hierarchy.ts +0 -0
- /package/src/{saeeol → overlay}/bell.ts +0 -0
- /package/src/{saeeol → overlay}/bootstrap.ts +0 -0
- /package/src/{saeeol → overlay}/claw/autocomplete-popup.tsx +0 -0
- /package/src/{saeeol → overlay}/claw/autocomplete-ref.ts +0 -0
- /package/src/{saeeol → overlay}/claw/autocomplete-types.ts +0 -0
- /package/src/{saeeol → overlay}/claw/autocomplete.tsx +0 -0
- /package/src/{saeeol → overlay}/claw/chat-client.ts +0 -0
- /package/src/{saeeol → overlay}/claw/chat.tsx +0 -0
- /package/src/{saeeol → overlay}/claw/client-events.ts +0 -0
- /package/src/{saeeol → overlay}/claw/client-helpers.ts +0 -0
- /package/src/{saeeol → overlay}/claw/client.ts +0 -0
- /package/src/{saeeol → overlay}/claw/dialog-conversation-list.tsx +0 -0
- /package/src/{saeeol → overlay}/claw/event-service-client-core.ts +0 -0
- /package/src/{saeeol → overlay}/claw/event-service-client-impl.ts +0 -0
- /package/src/{saeeol → overlay}/claw/event-service-client.ts +0 -0
- /package/src/{saeeol → overlay}/claw/hooks.ts +0 -0
- /package/src/{saeeol → overlay}/claw/sidebar.tsx +0 -0
- /package/src/{saeeol → overlay}/claw/types.ts +0 -0
- /package/src/{saeeol → overlay}/claw/view.tsx +0 -0
- /package/src/{saeeol → overlay}/cli/cmd/roll-call-call.ts +0 -0
- /package/src/{saeeol → overlay}/cli/cmd/roll-call-format.ts +0 -0
- /package/src/{saeeol → overlay}/cli/cmd/roll-call.ts +0 -0
- /package/src/{saeeol → overlay}/cli/cmd/tui/app.tsx +0 -0
- /package/src/{saeeol → overlay}/cli/cmd/tui/component/dialog-provider.tsx +0 -0
- /package/src/{saeeol → overlay}/cli/cmd/tui/feedback.ts +0 -0
- /package/src/{saeeol → overlay}/cli/cmd/tui/util/terminal.ts +0 -0
- /package/src/{saeeol → overlay}/cli/dev-setup-utils.ts +0 -0
- /package/src/{saeeol → overlay}/cli/dev-setup.ts +0 -0
- /package/src/{saeeol → overlay}/cli/heap-snapshot.ts +0 -0
- /package/src/{saeeol → overlay}/cli/logo.ts +0 -0
- /package/src/{saeeol → overlay}/cli/run-auto.ts +0 -0
- /package/src/{saeeol → overlay}/cli/saeeol-logo.ts +0 -0
- /package/src/{saeeol → overlay}/cloud-session.ts +0 -0
- /package/src/{saeeol → overlay}/commands-index.ts +0 -0
- /package/src/{saeeol → overlay}/commands.ts +0 -0
- /package/src/{saeeol → overlay}/commands.tsx +0 -0
- /package/src/{saeeol → overlay}/commit-message/generate.ts +0 -0
- /package/src/{saeeol → overlay}/commit-message/git-context.ts +0 -0
- /package/src/{saeeol → overlay}/commit-message/index.ts +0 -0
- /package/src/{saeeol → overlay}/commit-message/types.ts +0 -0
- /package/src/{saeeol → overlay}/components/dialog-auto-method.tsx +0 -0
- /package/src/{saeeol → overlay}/components/dialog-claw-setup.tsx +0 -0
- /package/src/{saeeol → overlay}/components/dialog-claw-upgrade.tsx +0 -0
- /package/src/{saeeol → overlay}/components/dialog-indexing-helpers.ts +0 -0
- /package/src/{saeeol → overlay}/components/dialog-indexing.tsx +0 -0
- /package/src/{saeeol → overlay}/components/dialog-notifications.tsx +0 -0
- /package/src/{saeeol → overlay}/components/dialog-organization.tsx +0 -0
- /package/src/{saeeol → overlay}/components/dialog-profile.tsx +0 -0
- /package/src/{saeeol → overlay}/components/dialog-provider-settings.tsx +0 -0
- /package/src/{saeeol → overlay}/components/dialog-team-select.tsx +0 -0
- /package/src/{saeeol → overlay}/components/dialog-tuning.tsx +0 -0
- /package/src/{saeeol → overlay}/components/dialog-vector-store.tsx +0 -0
- /package/src/{saeeol → overlay}/components/error-display.tsx +0 -0
- /package/src/{saeeol → overlay}/components/model-info-panel-utils.ts +0 -0
- /package/src/{saeeol → overlay}/components/model-info-panel.tsx +0 -0
- /package/src/{saeeol → overlay}/components/news.tsx +0 -0
- /package/src/{saeeol → overlay}/components/notification-banner.tsx +0 -0
- /package/src/{saeeol → overlay}/components/session-indexing.tsx +0 -0
- /package/src/{saeeol → overlay}/components/tips.tsx +0 -0
- /package/src/{saeeol → overlay}/config/config-core.ts +0 -0
- /package/src/{saeeol → overlay}/config/config-helpers.ts +0 -0
- /package/src/{saeeol → overlay}/config/config-legacy.ts +0 -0
- /package/src/{saeeol → overlay}/config/config.ts +0 -0
- /package/src/{saeeol → overlay}/config/default-plugins.ts +0 -0
- /package/src/{saeeol → overlay}/config/markdown.ts +0 -0
- /package/src/{saeeol → overlay}/config-injector.ts +0 -0
- /package/src/{saeeol → overlay}/config-validation.ts +0 -0
- /package/src/{saeeol → overlay}/const.ts +0 -0
- /package/src/{saeeol → overlay}/cost-tracker/format.ts +0 -0
- /package/src/{saeeol → overlay}/cost-tracker/index.ts +0 -0
- /package/src/{saeeol → overlay}/cost-tracker/state.ts +0 -0
- /package/src/{saeeol → overlay}/cost-tracker/types.ts +0 -0
- /package/src/{saeeol → overlay}/docs/migration.md +0 -0
- /package/src/{saeeol → overlay}/docs/rules-migration.md +0 -0
- /package/src/{saeeol → overlay}/editor-context.ts +0 -0
- /package/src/{saeeol → overlay}/enhance-prompt.ts +0 -0
- /package/src/{saeeol → overlay}/errors.ts +0 -0
- /package/src/{saeeol → overlay}/generate-cli-docs.ts +0 -0
- /package/src/{saeeol → overlay}/help-command.ts +0 -0
- /package/src/{saeeol → overlay}/help.ts +0 -0
- /package/src/{saeeol → overlay}/i18n/index.ts +0 -0
- /package/src/{saeeol → overlay}/ignore-migrator.ts +0 -0
- /package/src/{saeeol → overlay}/index.ts +0 -0
- /package/src/{saeeol → overlay}/indexing-auth.ts +0 -0
- /package/src/{saeeol → overlay}/indexing-feature.ts +0 -0
- /package/src/{saeeol → overlay}/indexing-helpers.ts +0 -0
- /package/src/{saeeol → overlay}/indexing-label.ts +0 -0
- /package/src/{saeeol → overlay}/indexing-state.ts +0 -0
- /package/src/{saeeol → overlay}/indexing-types.ts +0 -0
- /package/src/{saeeol → overlay}/indexing.ts +0 -0
- /package/src/{saeeol → overlay}/lancedb.ts +0 -0
- /package/src/{saeeol → overlay}/mcp-migrator.ts +0 -0
- /package/src/{saeeol → overlay}/mcp-oauth-callback.ts +0 -0
- /package/src/{saeeol → overlay}/memory/age.ts +0 -0
- /package/src/{saeeol → overlay}/memory/index.ts +0 -0
- /package/src/{saeeol → overlay}/memory/paths.ts +0 -0
- /package/src/{saeeol → overlay}/memory/scan.ts +0 -0
- /package/src/{saeeol → overlay}/memory/types.ts +0 -0
- /package/src/{saeeol → overlay}/model-match.ts +0 -0
- /package/src/{saeeol → overlay}/modes-migrator.ts +0 -0
- /package/src/{saeeol → overlay}/paths.ts +0 -0
- /package/src/{saeeol → overlay}/permission/config-paths.ts +0 -0
- /package/src/{saeeol → overlay}/permission/drain.ts +0 -0
- /package/src/{saeeol → overlay}/permission/external-directory.ts +0 -0
- /package/src/{saeeol → overlay}/permission/read.ts +0 -0
- /package/src/{saeeol → overlay}/permission/routes.ts +0 -0
- /package/src/{saeeol → overlay}/permission/rule.ts +0 -0
- /package/src/{saeeol → overlay}/plan-followup-handover.ts +0 -0
- /package/src/{saeeol → overlay}/plan-followup-runtime.ts +0 -0
- /package/src/{saeeol → overlay}/plan-followup-session.ts +0 -0
- /package/src/{saeeol → overlay}/plan-followup.ts +0 -0
- /package/src/{saeeol → overlay}/plugins/home-footer.tsx +0 -0
- /package/src/{saeeol → overlay}/plugins/home-news.tsx +0 -0
- /package/src/{saeeol → overlay}/plugins/home-onboarding.tsx +0 -0
- /package/src/{saeeol → overlay}/plugins/sidebar-footer.tsx +0 -0
- /package/src/{saeeol → overlay}/plugins/sidebar-pr.tsx +0 -0
- /package/src/{saeeol → overlay}/plugins/sidebar-usage.tsx +0 -0
- /package/src/{saeeol → overlay}/project-id.ts +0 -0
- /package/src/{saeeol → overlay}/provider/codex-refresh.ts +0 -0
- /package/src/{saeeol → overlay}/provider/provider.ts +0 -0
- /package/src/{saeeol → overlay}/provider-options.ts +0 -0
- /package/src/{saeeol → overlay}/question/index.ts +0 -0
- /package/src/{saeeol → overlay}/remote-tui.tsx +0 -0
- /package/src/{saeeol → overlay}/review/command.ts +0 -0
- /package/src/{saeeol → overlay}/review/diff.ts +0 -0
- /package/src/{saeeol → overlay}/review/prompt.ts +0 -0
- /package/src/{saeeol → overlay}/review/review.ts +0 -0
- /package/src/{saeeol → overlay}/review/types.ts +0 -0
- /package/src/{saeeol → overlay}/review/worktree-diff.ts +0 -0
- /package/src/{saeeol → overlay}/rules-migrator.ts +0 -0
- /package/src/{saeeol → overlay}/server/instance.ts +0 -0
- /package/src/{saeeol → overlay}/server/router.ts +0 -0
- /package/src/{saeeol → overlay}/server/routes/commit-message.ts +0 -0
- /package/src/{saeeol → overlay}/server/routes/indexing.ts +0 -0
- /package/src/{saeeol → overlay}/server/server.ts +0 -0
- /package/src/{saeeol → overlay}/session/compaction-chunks-core.ts +0 -0
- /package/src/{saeeol → overlay}/session/compaction-chunks-utils.ts +0 -0
- /package/src/{saeeol → overlay}/session/compaction-chunks.ts +0 -0
- /package/src/{saeeol → overlay}/session/compaction-payload-recovery.ts +0 -0
- /package/src/{saeeol → overlay}/session/cost-propagation.ts +0 -0
- /package/src/{saeeol → overlay}/session/digest-storage.ts +0 -0
- /package/src/{saeeol → overlay}/session/fork.ts +0 -0
- /package/src/{saeeol → overlay}/session/index.ts +0 -0
- /package/src/{saeeol → overlay}/session/instruction.ts +0 -0
- /package/src/{saeeol → overlay}/session/kg-compaction.ts +0 -0
- /package/src/{saeeol → overlay}/session/llm.ts +0 -0
- /package/src/{saeeol → overlay}/session/overflow.ts +0 -0
- /package/src/{saeeol → overlay}/session/platform.ts +0 -0
- /package/src/{saeeol → overlay}/session/processor.ts +0 -0
- /package/src/{saeeol → overlay}/session/prompt-context.ts +0 -0
- /package/src/{saeeol → overlay}/session/prompt-plan.ts +0 -0
- /package/src/{saeeol → overlay}/session/prompt-queue.ts +0 -0
- /package/src/{saeeol → overlay}/session/prompt.ts +0 -0
- /package/src/{saeeol → overlay}/session/queries.ts +0 -0
- /package/src/{saeeol → overlay}/session/tui-sync.ts +0 -0
- /package/src/{saeeol → overlay}/session-import/routes.ts +0 -0
- /package/src/{saeeol → overlay}/session-import/service.ts +0 -0
- /package/src/{saeeol → overlay}/session-import/types.ts +0 -0
- /package/src/{saeeol → overlay}/skills/builtin.ts +0 -0
- /package/src/{saeeol → overlay}/skills/config.md +0 -0
- /package/src/{saeeol → overlay}/snapshot/diff-full.ts +0 -0
- /package/src/{saeeol → overlay}/snapshot/index.ts +0 -0
- /package/src/{saeeol → overlay}/snapshot/track-hooks.ts +0 -0
- /package/src/{saeeol → overlay}/snapshot/track-types.ts +0 -0
- /package/src/{saeeol → overlay}/snapshot/track.ts +0 -0
- /package/src/{saeeol → overlay}/soul.txt +0 -0
- /package/src/{saeeol → overlay}/suggestion/index.ts +0 -0
- /package/src/{saeeol → overlay}/suggestion/routes.ts +0 -0
- /package/src/{saeeol → overlay}/suggestion/tool.ts +0 -0
- /package/src/{saeeol → overlay}/suggestion/tool.txt +0 -0
- /package/src/{saeeol → overlay}/suggestion/tui/bar.tsx +0 -0
- /package/src/{saeeol → overlay}/suggestion/tui/prompt.tsx +0 -0
- /package/src/{saeeol → overlay}/suggestion/tui/render.tsx +0 -0
- /package/src/{saeeol → overlay}/suggestion/tui/sync.ts +0 -0
- /package/src/{saeeol → overlay}/system-prompt.ts +0 -0
- /package/src/{saeeol → overlay}/todo-view.ts +0 -0
- /package/src/{saeeol → overlay}/tool/agent-manager.ts +0 -0
- /package/src/{saeeol → overlay}/tool/agent-manager.txt +0 -0
- /package/src/{saeeol → overlay}/tool/bash-security-patterns.ts +0 -0
- /package/src/{saeeol → overlay}/tool/bash-security.ts +0 -0
- /package/src/{saeeol → overlay}/tool/question.ts +0 -0
- /package/src/{saeeol → overlay}/tool/registry.ts +0 -0
- /package/src/{saeeol → overlay}/tool/semantic-search.ts +0 -0
- /package/src/{saeeol → overlay}/tool/semantic-search.txt +0 -0
- /package/src/{saeeol → overlay}/tool/task.ts +0 -0
- /package/src/{saeeol → overlay}/ts-check.ts +0 -0
- /package/src/{saeeol → overlay}/ts-client.ts +0 -0
- /package/src/{saeeol → overlay}/tui/diff.ts +0 -0
- /package/src/{saeeol → overlay}/util/url.ts +0 -0
- /package/src/{saeeol → overlay}/worker/index.ts +0 -0
- /package/src/{saeeol → overlay}/worker/pool.ts +0 -0
- /package/src/{saeeol → overlay}/worker/store.ts +0 -0
- /package/src/{saeeol → overlay}/worker/types.ts +0 -0
- /package/src/{saeeol → overlay}/workflows-migrator.ts +0 -0
- /package/src/{saeeol → overlay}/worktree-cleanup.ts +0 -0
- /package/src/{saeeol → overlay}/worktree-family.ts +0 -0
package/package.json
CHANGED
package/script/build.ts
CHANGED
|
@@ -18,7 +18,7 @@ await import("./generate.ts")
|
|
|
18
18
|
|
|
19
19
|
import { Script } from "@saeeol/script"
|
|
20
20
|
import pkg from "../package.json"
|
|
21
|
-
import { LanceDBRuntime } from "../src/
|
|
21
|
+
import { LanceDBRuntime } from "../src/overlay/lancedb"
|
|
22
22
|
|
|
23
23
|
// Load migrations from migration directories
|
|
24
24
|
const migrationDirs = (
|
|
@@ -9,6 +9,6 @@ export const analytics: Addon = {
|
|
|
9
9
|
commands: [
|
|
10
10
|
() => import("../cli/cmd/stats").then((m) => ({ StatsCommand: m.StatsCommand })),
|
|
11
11
|
() => import("../cli/cmd/pr").then((m) => ({ PrCommand: m.PrCommand })),
|
|
12
|
-
() => import("../
|
|
12
|
+
() => import("../overlay/cli/cmd/roll-call").then((m) => ({ RollCallCommand: m.RollCallCommand })),
|
|
13
13
|
],
|
|
14
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { SuggestPrompt } from "../../../../../
|
|
1
|
+
export { SuggestPrompt } from "../../../../../overlay/suggestion/tui/prompt"
|
package/src/cli/logo.ts
CHANGED
package/src/cli/ui.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import z from "zod"
|
|
2
2
|
import { EOL } from "os"
|
|
3
3
|
import { NamedError } from "@saeeol/core/util/error"
|
|
4
|
-
import { art, loadCustomArt } from "../
|
|
4
|
+
import { art, loadCustomArt } from "../overlay/cli/saeeol-logo"
|
|
5
5
|
|
|
6
6
|
export const CancelledError = NamedError.create("UICancelledError", z.void())
|
|
7
7
|
|
|
@@ -17,7 +17,7 @@ import { ConfigPlugin } from "./plugin"
|
|
|
17
17
|
import { ConfigParse } from "./parse"
|
|
18
18
|
import { ConfigPaths } from "./paths"
|
|
19
19
|
import { ConfigVariable } from "./variable"
|
|
20
|
-
import { SaeeolConfig } from "../
|
|
20
|
+
import { SaeeolConfig } from "../overlay/config/config"
|
|
21
21
|
|
|
22
22
|
const log = Log.create({ service: "config" })
|
|
23
23
|
const { caught: caughtWarning } = SaeeolConfig
|
|
@@ -14,7 +14,7 @@ import { ConfigPlugin } from "./plugin"
|
|
|
14
14
|
import { ConfigProvider } from "./provider"
|
|
15
15
|
import { ConfigServer } from "./server"
|
|
16
16
|
import { ConfigSkills } from "./skills"
|
|
17
|
-
import { SaeeolConfig } from "../
|
|
17
|
+
import { SaeeolConfig } from "../overlay/config/config"
|
|
18
18
|
import { IndexingConfig as SaeeolIndexingConfig } from "@saeeol/indexing/config"
|
|
19
19
|
|
|
20
20
|
export const Warning = z.object({
|
package/src/config/config.ts
CHANGED
|
@@ -21,7 +21,7 @@ import { InstanceState } from "@/effect/instance-state"
|
|
|
21
21
|
import { Context, Duration, Effect, Exit, Fiber, Layer, Option, Schema } from "effect"
|
|
22
22
|
import { EffectFlock } from "@saeeol/core/util/effect-flock"
|
|
23
23
|
import { Npm } from "@saeeol/core/npm"
|
|
24
|
-
import { SaeeolConfig } from "../
|
|
24
|
+
import { SaeeolConfig } from "../overlay/config/config"
|
|
25
25
|
import { SaeeolDefaultPlugins } from "@/saeeol/config/default-plugins"
|
|
26
26
|
import { makeRuntime } from "@/effect/run-service"
|
|
27
27
|
import { ConfigAgent } from "./agent"
|
package/src/config/markdown.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { NamedError } from "@saeeol/core/util/error"
|
|
|
2
2
|
import matter from "gray-matter"
|
|
3
3
|
import { z } from "zod"
|
|
4
4
|
import { Filesystem } from "@/util/filesystem"
|
|
5
|
-
import { SaeeolMarkdown } from "../
|
|
5
|
+
import { SaeeolMarkdown } from "../overlay/config/markdown"
|
|
6
6
|
|
|
7
7
|
export const FILE_REGEX = /(?<![\w`])@(\.?[^\s`,.]*(?:\.[^\s`,.]+)*)/g
|
|
8
8
|
export const SHELL_REGEX = /!`([^`]+)`/g
|
package/src/index.ts
CHANGED
|
@@ -15,7 +15,7 @@ import type { Tier } from "./addons/types"
|
|
|
15
15
|
import { commandsForTier, manifest } from "./addons/registry"
|
|
16
16
|
|
|
17
17
|
// ── DEV 전용 (항상 포함) ────────────────────────────────────────────
|
|
18
|
-
import { DevSetupCommand, DevAliasCommand } from "./
|
|
18
|
+
import { DevSetupCommand, DevAliasCommand } from "./overlay/cli/dev-setup"
|
|
19
19
|
|
|
20
20
|
// ── 공통 ────────────────────────────────────────────────────────────
|
|
21
21
|
import * as Log from "@saeeol/core/util/log"
|
|
@@ -33,7 +33,7 @@ import { Config } from "./config/config"
|
|
|
33
33
|
import { Auth } from "./auth"
|
|
34
34
|
import path from "path"
|
|
35
35
|
import { Global } from "@saeeol/core/global"
|
|
36
|
-
import { createHelpCommand } from "./
|
|
36
|
+
import { createHelpCommand } from "./overlay/help-command"
|
|
37
37
|
import { JsonMigration } from "@/storage/json-migration"
|
|
38
38
|
import { Database } from "@/storage/db"
|
|
39
39
|
import { errorMessage } from "./util/error"
|
package/src/lsp/lsp.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { spawn as lspspawn } from "./launch"
|
|
|
13
13
|
import { Effect, Layer, Context, Schema } from "effect"
|
|
14
14
|
import { InstanceState } from "@/effect/instance-state"
|
|
15
15
|
import { containsPath } from "@/project/instance-context"
|
|
16
|
-
import { TsClient } from "../
|
|
16
|
+
import { TsClient } from "../overlay/ts-client"
|
|
17
17
|
import { NonNegativeInt, withStatics } from "@/util/schema"
|
|
18
18
|
import { zod, ZodOverride } from "@/util/effect-zod"
|
|
19
19
|
|
package/src/lsp/server-web.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Filesystem } from "@/util/filesystem"
|
|
|
3
3
|
import { Flag } from "@saeeol/core/flag/flag"
|
|
4
4
|
import { Npm } from "@saeeol/core/npm"
|
|
5
5
|
import { Module } from "@saeeol/core/util/module"
|
|
6
|
-
import { TsCheck } from "../
|
|
6
|
+
import { TsCheck } from "../overlay/ts-check"
|
|
7
7
|
import { which } from "../util/which"
|
|
8
8
|
import { spawn } from "./launch"
|
|
9
9
|
import { log, NearestRoot, type Info } from "./server-shared"
|
|
@@ -2,7 +2,7 @@ import { createConnection } from "net"
|
|
|
2
2
|
import { createServer } from "http"
|
|
3
3
|
import * as Log from "@saeeol/core/util/log"
|
|
4
4
|
import { OAUTH_CALLBACK_PORT, OAUTH_CALLBACK_PATH, parseRedirectUri } from "./oauth-provider"
|
|
5
|
-
import * as SaeeolOAuthCallback from "../
|
|
5
|
+
import * as SaeeolOAuthCallback from "../overlay/mcp-oauth-callback"
|
|
6
6
|
|
|
7
7
|
const log = Log.create({ service: "mcp.oauth-callback" })
|
|
8
8
|
|
|
@@ -26,7 +26,7 @@ import iconv from "iconv-lite"
|
|
|
26
26
|
* so UTF BOMs are handled explicitly in {@link encode} to round-trip cleanly.
|
|
27
27
|
*
|
|
28
28
|
* Consumers should import this module as a namespace:
|
|
29
|
-
* import * as Encoding from "../
|
|
29
|
+
* import * as Encoding from "../overlay/encoding"
|
|
30
30
|
*/
|
|
31
31
|
|
|
32
32
|
export const DEFAULT = "utf-8"
|
|
@@ -7,7 +7,7 @@ import * as Encoding from "./encoding"
|
|
|
7
7
|
* Optimistically stream as UTF-8; fall back to a buffered iconv decode only
|
|
8
8
|
* when the bytes turn out not to be valid UTF-8.
|
|
9
9
|
*
|
|
10
|
-
* import * as TextStream from "../
|
|
10
|
+
* import * as TextStream from "../overlay/text-stream"
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/** Distinct class so {@link withFallback} can tell us apart from real I/O failures. */
|
|
@@ -8,7 +8,7 @@ import * as Encoding from "../encoding"
|
|
|
8
8
|
* as typed errors that can be recovered with `.pipe(Effect.catch(...))`.
|
|
9
9
|
*
|
|
10
10
|
* Consumers should import this module as a namespace:
|
|
11
|
-
* import * as EncodedIO from "../
|
|
11
|
+
* import * as EncodedIO from "../overlay/tool/encoded-io"
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
const wrap = (cause: unknown) => (cause instanceof Error ? cause : new Error(String(cause)))
|
package/src/patch/patch-apply.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { parsePatch, maybeParseApplyPatch } from "./patch-parse"
|
|
|
5
5
|
import * as path from "path"
|
|
6
6
|
import * as fs from "fs/promises"
|
|
7
7
|
import * as Log from "@saeeol/core/util/log"
|
|
8
|
-
import * as Encoding from "../
|
|
8
|
+
import * as Encoding from "../overlay/encoding"
|
|
9
9
|
import * as Bom from "../util/bom"
|
|
10
10
|
|
|
11
11
|
const log = Log.create({ service: "patch" })
|
package/src/patch/patch-parse.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { ApplyPatchArgs, ApplyPatchAction, ApplyPatchFileChange, AffectedPa
|
|
|
5
5
|
import * as path from "path"
|
|
6
6
|
import * as fs from "fs/promises"
|
|
7
7
|
import * as Log from "@saeeol/core/util/log"
|
|
8
|
-
import * as Encoding from "../
|
|
8
|
+
import * as Encoding from "../overlay/encoding"
|
|
9
9
|
import * as Bom from "../util/bom"
|
|
10
10
|
|
|
11
11
|
const log = Log.create({ service: "patch" })
|
package/src/session/system.ts
CHANGED
|
@@ -17,10 +17,10 @@ import type { Provider } from "@/provider/provider"
|
|
|
17
17
|
import type { Agent } from "@/agent/agent"
|
|
18
18
|
import { Permission } from "@/permission"
|
|
19
19
|
import { Skill } from "@/skill"
|
|
20
|
-
import SOUL from "../
|
|
21
|
-
import type { EditorContext } from "../
|
|
22
|
-
import { SaeeolSystemPrompt } from "../
|
|
23
|
-
import { isLing } from "../
|
|
20
|
+
import SOUL from "../overlay/soul.txt"
|
|
21
|
+
import type { EditorContext } from "../overlay/editor-context"
|
|
22
|
+
import { SaeeolSystemPrompt } from "../overlay/system-prompt"
|
|
23
|
+
import { isLing } from "../overlay/model-match"
|
|
24
24
|
export function instructions() {
|
|
25
25
|
return PROMPT_CODEX.trim()
|
|
26
26
|
}
|
package/src/skill/index.ts
CHANGED
|
@@ -19,7 +19,7 @@ import { Glob } from "@saeeol/core/util/glob"
|
|
|
19
19
|
import * as Log from "@saeeol/core/util/log"
|
|
20
20
|
import { Discovery } from "./discovery"
|
|
21
21
|
import { rm } from "fs/promises"
|
|
22
|
-
import { BUILTIN_SKILLS } from "../
|
|
22
|
+
import { BUILTIN_SKILLS } from "../overlay/skills/builtin"
|
|
23
23
|
|
|
24
24
|
const log = Log.create({ service: "skill" })
|
|
25
25
|
const CLAUDE_EXTERNAL_DIR = ".claude"
|
package/src/suggestion/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Suggestion } from "../
|
|
1
|
+
export { Suggestion } from "../overlay/suggestion/index"
|
package/src/tool/apply_patch.ts
CHANGED
|
@@ -13,8 +13,8 @@ import { AppFileSystem } from "@saeeol/core/filesystem"
|
|
|
13
13
|
import DESCRIPTION from "./apply_patch.txt"
|
|
14
14
|
import { File } from "../file"
|
|
15
15
|
import { filterDiagnostics } from "./diagnostics"
|
|
16
|
-
import { ConfigValidation } from "../
|
|
17
|
-
import * as EncodedIO from "../
|
|
16
|
+
import { ConfigValidation } from "../overlay/config-validation"
|
|
17
|
+
import * as EncodedIO from "../overlay/tool/encoded-io"
|
|
18
18
|
import { Format } from "../format"
|
|
19
19
|
import * as Bom from "@/util/bom"
|
|
20
20
|
|
package/src/tool/edit.ts
CHANGED
|
@@ -19,8 +19,8 @@ import { assertExternalDirectoryEffect } from "./external-directory"
|
|
|
19
19
|
import { AppFileSystem } from "@saeeol/core/filesystem"
|
|
20
20
|
import * as Bom from "@/util/bom"
|
|
21
21
|
import { filterDiagnostics } from "./diagnostics"
|
|
22
|
-
import { ConfigValidation } from "../
|
|
23
|
-
import * as EncodedIO from "../
|
|
22
|
+
import { ConfigValidation } from "../overlay/config-validation"
|
|
23
|
+
import * as EncodedIO from "../overlay/tool/encoded-io"
|
|
24
24
|
import { buildFileDiff, normalizeLineEndings, detectLineEnding, convertToLineEnding, trimDiff } from "./edit-utils"
|
|
25
25
|
import {
|
|
26
26
|
SimpleReplacer,
|
package/src/tool/read.ts
CHANGED
|
@@ -12,8 +12,8 @@ import { InstanceState } from "@/effect/instance-state"
|
|
|
12
12
|
import { assertExternalDirectoryEffect } from "./external-directory"
|
|
13
13
|
import { Instruction } from "../session/instruction"
|
|
14
14
|
import { isPdfAttachment, sniffAttachmentMime } from "@/util/media"
|
|
15
|
-
import * as Encoding from "../
|
|
16
|
-
import * as TextStream from "../
|
|
15
|
+
import * as Encoding from "../overlay/encoding"
|
|
16
|
+
import * as TextStream from "../overlay/text-stream"
|
|
17
17
|
|
|
18
18
|
const DEFAULT_READ_LIMIT = 2000
|
|
19
19
|
const MAX_LINE_LENGTH = 2000
|
package/src/tool/recall.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as Tool from "./tool"
|
|
|
3
3
|
import { Instance } from "../project/instance"
|
|
4
4
|
import { Locale } from "../util/locale"
|
|
5
5
|
import { Filesystem } from "../util/filesystem"
|
|
6
|
-
import { WorktreeFamily } from "../
|
|
6
|
+
import { WorktreeFamily } from "../overlay/worktree-family"
|
|
7
7
|
import DESCRIPTION from "./recall.txt"
|
|
8
8
|
|
|
9
9
|
const Parameters = Schema.Struct({
|
package/src/tool/registry.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PlanExitTool } from "./plan"
|
|
2
2
|
import { Session } from "@/session/session"
|
|
3
3
|
import { QuestionTool } from "./question"
|
|
4
|
-
import { SuggestTool } from "../
|
|
4
|
+
import { SuggestTool } from "../overlay/suggestion/tool"
|
|
5
5
|
import { BashTool } from "./bash"
|
|
6
6
|
import { EditTool } from "./edit"
|
|
7
7
|
import { GlobTool } from "./glob"
|
|
@@ -24,7 +24,7 @@ import { Plugin } from "../plugin"
|
|
|
24
24
|
import { Provider } from "@/provider/provider"
|
|
25
25
|
import { ProviderID, type ModelID } from "../provider/schema"
|
|
26
26
|
import { WebSearchTool } from "./websearch"
|
|
27
|
-
import { SaeeolToolRegistry } from "../
|
|
27
|
+
import { SaeeolToolRegistry } from "../overlay/tool/registry"
|
|
28
28
|
import { makeRuntime } from "@/effect/run-service"
|
|
29
29
|
import { Flag } from "@saeeol/core/flag/flag"
|
|
30
30
|
import * as Log from "@saeeol/core/util/log"
|
package/src/tool/suggest.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { SuggestTool } from "../
|
|
1
|
+
export { SuggestTool } from "../overlay/suggestion/tool"
|
package/src/tool/task.ts
CHANGED
|
@@ -6,9 +6,9 @@ import { MessageV2 } from "../session/message-v2"
|
|
|
6
6
|
import { Agent } from "../agent/agent"
|
|
7
7
|
import type { SessionPrompt } from "../session/prompt"
|
|
8
8
|
import { Config } from "@/config/config"
|
|
9
|
-
import { SaeeolTask } from "../
|
|
10
|
-
import { SaeeolCostPropagation } from "../
|
|
11
|
-
import { SaeeolSessionProcessor } from "../
|
|
9
|
+
import { SaeeolTask } from "../overlay/tool/task"
|
|
10
|
+
import { SaeeolCostPropagation } from "../overlay/session/cost-propagation"
|
|
11
|
+
import { SaeeolSessionProcessor } from "../overlay/session/processor"
|
|
12
12
|
import { Effect, Schema } from "effect"
|
|
13
13
|
|
|
14
14
|
export interface TaskPromptOps {
|
package/src/tool/todo.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Effect, Schema } from "effect"
|
|
|
2
2
|
import * as Tool from "./tool"
|
|
3
3
|
import DESCRIPTION_WRITE from "./todowrite.txt"
|
|
4
4
|
import { Todo } from "../session/todo"
|
|
5
|
-
import { TodoView } from "../
|
|
5
|
+
import { TodoView } from "../overlay/todo-view"
|
|
6
6
|
|
|
7
7
|
// Todo.Info is still a zod schema (session/todo.ts). Inline the field shape
|
|
8
8
|
// here rather than referencing its `.shape` — the LLM-visible JSON Schema is
|
package/src/tool/write.ts
CHANGED
|
@@ -14,8 +14,8 @@ import { InstanceState } from "@/effect/instance-state"
|
|
|
14
14
|
import { trimDiff, buildFileDiff } from "./edit"
|
|
15
15
|
import { assertExternalDirectoryEffect } from "./external-directory"
|
|
16
16
|
import { filterDiagnostics } from "./diagnostics"
|
|
17
|
-
import { ConfigValidation } from "../
|
|
18
|
-
import * as EncodedIO from "../
|
|
17
|
+
import { ConfigValidation } from "../overlay/config-validation"
|
|
18
|
+
import * as EncodedIO from "../overlay/tool/encoded-io"
|
|
19
19
|
import * as Bom from "@/util/bom"
|
|
20
20
|
|
|
21
21
|
const MAX_PROJECT_DIAGNOSTICS_FILES = 5
|
package/test/lsp/index.test.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { provideTmpdirInstance, tmpdir } from "../fixture/fixture"
|
|
|
10
10
|
import { testEffect } from "../lib/effect"
|
|
11
11
|
import { Instance, type InstanceContext } from "../../src/project/instance"
|
|
12
12
|
import { Flag } from "@saeeol/core/flag/flag"
|
|
13
|
-
import { TsCheck } from "../../src/
|
|
13
|
+
import { TsCheck } from "../../src/overlay/ts-check"
|
|
14
14
|
const fakeCtx = {} as InstanceContext
|
|
15
15
|
|
|
16
16
|
const it = testEffect(Layer.mergeAll(LSP.defaultLayer, CrossSpawnSpawner.defaultLayer))
|
|
@@ -3,7 +3,7 @@ import { Effect, Layer, ManagedRuntime } from "effect"
|
|
|
3
3
|
import { MessageID, SessionID } from "../../src/session/schema"
|
|
4
4
|
import { provideTmpdirInstance } from "../fixture/fixture"
|
|
5
5
|
import { CrossSpawnSpawner } from "@saeeol/core/cross-spawn-spawner"
|
|
6
|
-
import { AgentManagerTool } from "../../src/
|
|
6
|
+
import { AgentManagerTool } from "../../src/overlay/tool/agent-manager"
|
|
7
7
|
import { Bus } from "../../src/bus"
|
|
8
8
|
import { Tool } from "../../src/tool/tool"
|
|
9
9
|
import { Truncate } from "../../src/tool/truncate"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { test, expect, describe } from "bun:test"
|
|
2
2
|
import { Permission } from "../../src/permission"
|
|
3
|
-
import { readOnlyBash } from "../../src/
|
|
3
|
+
import { readOnlyBash } from "../../src/overlay/agent"
|
|
4
4
|
|
|
5
5
|
/** Build the Ask agent ruleset without MCP servers */
|
|
6
6
|
function askRuleset() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { test, expect, describe } from "bun:test"
|
|
2
|
-
import { BashHierarchy } from "../../src/
|
|
2
|
+
import { BashHierarchy } from "../../src/overlay/bash-hierarchy"
|
|
3
3
|
|
|
4
4
|
function collect(command: string[], text: string): string[] {
|
|
5
5
|
const set = new Set<string>()
|
|
@@ -2,7 +2,7 @@ import { afterEach, test, expect } from "bun:test"
|
|
|
2
2
|
import path from "path"
|
|
3
3
|
import { Skill } from "../../src/skill"
|
|
4
4
|
import { Instance } from "../../src/project/instance"
|
|
5
|
-
import { BUILTIN_SKILLS } from "../../src/
|
|
5
|
+
import { BUILTIN_SKILLS } from "../../src/overlay/skills/builtin"
|
|
6
6
|
import { disposeAllInstances, tmpdir } from "../fixture/fixture"
|
|
7
7
|
|
|
8
8
|
afterEach(async () => {
|
|
@@ -2,7 +2,7 @@ import { describe, test, expect } from "bun:test"
|
|
|
2
2
|
import path from "path"
|
|
3
3
|
import fs from "fs/promises"
|
|
4
4
|
import { tmpdir } from "../../fixture/fixture"
|
|
5
|
-
import { detectRepo, findRepoFrom } from "../../../src/
|
|
5
|
+
import { detectRepo, findRepoFrom } from "../../../src/overlay/cli/dev-setup"
|
|
6
6
|
|
|
7
7
|
// Simulate a repo root by writing the sentinel file detectRepo looks for.
|
|
8
8
|
async function makeSynthRepo(dir: string) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { test, expect, describe } from "bun:test"
|
|
2
2
|
import { Provider } from "../../../src/provider/provider"
|
|
3
|
-
import { formatTable, formatMarkdown, handle, isTextModel } from "../../../src/
|
|
3
|
+
import { formatTable, formatMarkdown, handle, isTextModel } from "../../../src/overlay/cli/cmd/roll-call"
|
|
4
4
|
|
|
5
5
|
const base = {
|
|
6
6
|
input: { text: false, audio: false, image: false, video: false, pdf: false },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { describe, expect, test } from "bun:test"
|
|
2
|
-
import { SaeeolRunAuto } from "../../src/
|
|
2
|
+
import { SaeeolRunAuto } from "../../src/overlay/cli/run-auto"
|
|
3
3
|
|
|
4
4
|
describe("SaeeolRunAuto", () => {
|
|
5
5
|
test("tracks task child sessions without allowing unrelated sessions", () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { describe, expect, test } from "bun:test"
|
|
2
|
-
import { CodexAuthExpiredError, refreshCodexAuth } from "../../src/
|
|
2
|
+
import { CodexAuthExpiredError, refreshCodexAuth } from "../../src/overlay/provider/codex-refresh"
|
|
3
3
|
import type { PluginInput } from "@saeeol/plugin"
|
|
4
4
|
import { MessageV2 } from "../../src/session/message-v2"
|
|
5
5
|
import { ProviderID } from "../../src/provider/schema"
|
|
@@ -78,7 +78,7 @@ mock.module("@saeeol/core/util/log", () => ({
|
|
|
78
78
|
}),
|
|
79
79
|
}))
|
|
80
80
|
|
|
81
|
-
import { generateCommitMessage } from "../../../src/
|
|
81
|
+
import { generateCommitMessage } from "../../../src/overlay/commit-message/generate"
|
|
82
82
|
|
|
83
83
|
describe("commit-message.generate", () => {
|
|
84
84
|
beforeEach(() => {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
mapStatus,
|
|
12
12
|
isUntracked,
|
|
13
13
|
MAX_DIFF_LENGTH,
|
|
14
|
-
} from "../../../src/
|
|
14
|
+
} from "../../../src/overlay/commit-message/git-context"
|
|
15
15
|
|
|
16
16
|
// ── Helper: stage files in a temp git repo ──────────────────────────
|
|
17
17
|
async function stage(dir: string, files: Record<string, string>) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { describe, expect, spyOn, test } from "bun:test"
|
|
2
|
-
import { getGitContext } from "../../src/
|
|
2
|
+
import { getGitContext } from "../../src/overlay/commit-message/git-context"
|
|
3
3
|
|
|
4
4
|
describe("commit-message git context", () => {
|
|
5
5
|
test("hides Windows console windows for git subprocesses", async () => {
|
|
@@ -5,7 +5,7 @@ import * as Stream from "effect/Stream"
|
|
|
5
5
|
import { Agent } from "../../src/agent/agent"
|
|
6
6
|
import { Bus } from "../../src/bus"
|
|
7
7
|
import { Config } from "../../src/config/config"
|
|
8
|
-
import { SaeeolCompactionPayloadRecovery } from "../../src/
|
|
8
|
+
import { SaeeolCompactionPayloadRecovery } from "../../src/overlay/session/compaction-payload-recovery"
|
|
9
9
|
import { Permission } from "../../src/permission"
|
|
10
10
|
import { Plugin } from "../../src/plugin"
|
|
11
11
|
import { Instance } from "../../src/project/instance"
|
|
@@ -12,7 +12,7 @@ import { Auth } from "../../../src/auth"
|
|
|
12
12
|
import { Config } from "../../../src/config/config"
|
|
13
13
|
import { ConfigMarkdown } from "../../../src/config/markdown"
|
|
14
14
|
import { Env } from "../../../src/env"
|
|
15
|
-
import { SaeeolIndexing } from "../../../src/
|
|
15
|
+
import { SaeeolIndexing } from "../../../src/overlay/indexing"
|
|
16
16
|
import { Instance } from "../../../src/project/instance"
|
|
17
17
|
import { Filesystem } from "../../../src/util/filesystem"
|
|
18
18
|
import { disposeAllInstances, tmpdir } from "../../fixture/fixture"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { test, expect, describe } from "bun:test"
|
|
2
|
-
import { SaeeolConfigInjector } from "../../src/
|
|
2
|
+
import { SaeeolConfigInjector } from "../../src/overlay/config-injector"
|
|
3
3
|
import { tmpdir } from "../fixture/fixture"
|
|
4
4
|
import path from "path"
|
|
5
5
|
import fs from "fs/promises"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { afterEach, describe, expect, test } from "bun:test"
|
|
2
2
|
import path from "path"
|
|
3
|
-
import { ConfigValidation } from "../../src/
|
|
3
|
+
import { ConfigValidation } from "../../src/overlay/config-validation"
|
|
4
4
|
import { Instance } from "../../src/project/instance"
|
|
5
5
|
import { Config } from "../../src/config/config"
|
|
6
6
|
import { Filesystem } from "../../src/util/filesystem"
|
|
@@ -6,7 +6,7 @@ import { afterEach, describe, expect } from "bun:test"
|
|
|
6
6
|
import { Effect, Layer } from "effect"
|
|
7
7
|
import { Bus } from "../../src/bus"
|
|
8
8
|
import * as CrossSpawnSpawner from "@saeeol/core/cross-spawn-spawner"
|
|
9
|
-
import { SaeeolCostPropagation } from "../../src/
|
|
9
|
+
import { SaeeolCostPropagation } from "../../src/overlay/session/cost-propagation"
|
|
10
10
|
import { Instance } from "../../src/project/instance"
|
|
11
11
|
import { ProviderID, ModelID } from "../../src/provider/schema"
|
|
12
12
|
import { Session } from "../../src/session/session"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
import { describe, expect, it } from "bun:test"
|
|
11
11
|
import * as Config from "../../src/config/config"
|
|
12
|
-
import { SaeeolConfig } from "../../src/
|
|
12
|
+
import { SaeeolConfig } from "../../src/overlay/config/config"
|
|
13
13
|
|
|
14
14
|
describe("Config.Info — null sentinels for custom provider deletes", () => {
|
|
15
15
|
it("accepts a null model value inside a provider", () => {
|
|
@@ -6,7 +6,7 @@ import { describe, expect } from "bun:test"
|
|
|
6
6
|
import { Effect, Layer } from "effect"
|
|
7
7
|
import path from "path"
|
|
8
8
|
import * as CrossSpawnSpawner from "@saeeol/core/cross-spawn-spawner"
|
|
9
|
-
import { DiffFull } from "../../src/
|
|
9
|
+
import { DiffFull } from "../../src/overlay/snapshot/diff-full"
|
|
10
10
|
import { Filesystem } from "../../src/util/filesystem"
|
|
11
11
|
import * as Log from "@saeeol/core/util/log"
|
|
12
12
|
import { tmpdirScoped } from "../fixture/fixture"
|
|
@@ -10,7 +10,7 @@ import fs from "fs/promises"
|
|
|
10
10
|
import os from "os"
|
|
11
11
|
import path from "path"
|
|
12
12
|
import iconv from "iconv-lite"
|
|
13
|
-
import * as Encoding from "../../src/
|
|
13
|
+
import * as Encoding from "../../src/overlay/encoding"
|
|
14
14
|
|
|
15
15
|
const BOM = {
|
|
16
16
|
utf8: Buffer.from([0xef, 0xbb, 0xbf]),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { describe, expect, test } from "bun:test"
|
|
2
2
|
import fs from "fs/promises"
|
|
3
3
|
import path from "path"
|
|
4
|
-
import { SaeeolSessionPrompt } from "../../src/
|
|
4
|
+
import { SaeeolSessionPrompt } from "../../src/overlay/session/prompt"
|
|
5
5
|
import { tmpdir } from "../fixture/fixture"
|
|
6
6
|
|
|
7
7
|
describe("SaeeolSessionPrompt.ensurePlanDir", () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { describe, it, expect } from "bun:test"
|
|
2
2
|
import { MessageV2 } from "../../src/session/message-v2"
|
|
3
|
-
import { SAEEOL_ERROR_CODES, isSaeeolError, parseSaeeolErrorCode } from "../../src/
|
|
3
|
+
import { SAEEOL_ERROR_CODES, isSaeeolError, parseSaeeolErrorCode } from "../../src/overlay/errors"
|
|
4
4
|
import { SessionRetry } from "../../src/session/retry"
|
|
5
5
|
import { NamedError } from "@saeeol/core/util/error"
|
|
6
6
|
|
package/test/saeeol/help.test.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { describe, test, expect } from "bun:test"
|
|
2
2
|
import path from "path"
|
|
3
|
-
import { generateHelp, generateCommandTable } from "../../src/
|
|
3
|
+
import { generateHelp, generateCommandTable } from "../../src/overlay/help"
|
|
4
4
|
import { AcpCommand } from "../../src/cli/cmd/acp"
|
|
5
5
|
import { McpCommand } from "../../src/cli/cmd/mcp"
|
|
6
6
|
import { RunCommand } from "../../src/cli/cmd/run"
|
|
@@ -22,7 +22,7 @@ import { RemoteCommand } from "../../src/cli/cmd/remote"
|
|
|
22
22
|
import { ConfigCommand as ConfigCLICommand } from "../../src/cli/cmd/config"
|
|
23
23
|
import { PluginCommand } from "../../src/cli/cmd/plug"
|
|
24
24
|
import { DbCommand } from "../../src/cli/cmd/db"
|
|
25
|
-
import { HelpCommand } from "../../src/
|
|
25
|
+
import { HelpCommand } from "../../src/overlay/help-command"
|
|
26
26
|
|
|
27
27
|
// Stand-in for TuiThreadCommand — the real one imports @opentui/solid which
|
|
28
28
|
// doesn't resolve in the test environment. Only command/describe matter here.
|
|
@@ -174,7 +174,7 @@ describe("generateCommandTable", () => {
|
|
|
174
174
|
describe("commands.ts stays in sync with index.ts", () => {
|
|
175
175
|
test("every .command() in index.ts has an entry in the commands array", async () => {
|
|
176
176
|
const index = await Bun.file(path.resolve(import.meta.dir, "../../src/index.ts")).text()
|
|
177
|
-
const barrel = await Bun.file(path.resolve(import.meta.dir, "../../src/
|
|
177
|
+
const barrel = await Bun.file(path.resolve(import.meta.dir, "../../src/overlay/commands.ts")).text()
|
|
178
178
|
|
|
179
179
|
// Match uncommented .command(XxxCommand) calls in index.ts
|
|
180
180
|
const registered = [...index.matchAll(/^\s*\.command\((\w+)\)/gm)].map((m) => m[1]!)
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
hasSaeeolIndexingAuth,
|
|
4
4
|
resolveSaeeolIndexingAuth,
|
|
5
5
|
shouldDefaultIndexingToSaeeol,
|
|
6
|
-
} from "../../src/
|
|
6
|
+
} from "../../src/overlay/indexing-auth"
|
|
7
7
|
|
|
8
8
|
describe("Saeeol indexing auth resolution", () => {
|
|
9
9
|
test("detects auth from explicit indexing Saeeol config", () => {
|