pi-roundtable 0.33.0 → 0.35.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/CHANGELOG.md +19 -0
- package/README.md +1 -1
- package/README.zh-TW.md +1 -1
- package/docs/plugins.md +2 -2
- package/package.json +1 -2
- package/src/cli/checks/configuration.ts +2 -2
- package/src/cli/checks/database.ts +2 -2
- package/src/cli/checks/identity.ts +1 -1
- package/src/cli/checks/model.ts +1 -1
- package/src/cli/cli.ts +2 -2
- package/src/cli/principal.ts +1 -1
- package/src/cli/project.ts +2 -2
- package/src/cli/runtime.ts +3 -3
- package/src/cli/start.ts +1 -1
- package/src/core/agents/agent-claim.ts +4 -4
- package/src/core/agents/agent-dashboard.ts +3 -3
- package/src/core/agents/agent-messages.ts +2 -2
- package/src/core/agents/agent-outbox.ts +1 -1
- package/src/core/agents/agent-ports.ts +1 -1
- package/src/core/agents/agent-prompt.ts +4 -4
- package/src/core/agents/agent-rules.ts +1 -1
- package/src/core/agents/agent-schema.ts +4 -1
- package/src/core/agents/agent-settings.ts +2 -2
- package/src/core/agents/agent-store.ts +9 -9
- package/src/core/agents/agent-team-fixture.ts +4 -3
- package/src/core/agents/agent-team.ts +12 -16
- package/src/core/agents/agent-tools.ts +15 -15
- package/src/core/agents/avatar-refresh.ts +1 -1
- package/src/core/agents/avatar-studio.ts +2 -2
- package/src/core/agents/group-round.ts +2 -2
- package/src/core/agents/group-turns.ts +1 -1
- package/src/core/agents/helper-create.ts +24 -40
- package/src/core/agents/helper-modes.ts +2 -2
- package/src/core/agents/helper-preset-ops.ts +207 -0
- package/src/core/agents/helper-preset-tools.ts +109 -0
- package/src/core/agents/helper-presets.ts +128 -0
- package/src/core/agents/helper-test-kit.ts +1 -1
- package/src/core/agents/helper-tools.ts +42 -22
- package/src/core/agents/helper-work.ts +1 -1
- package/src/core/agents/message-target.ts +1 -1
- package/src/core/agents/routes.ts +1 -1
- package/src/core/agents/team-approval.ts +2 -2
- package/src/core/agents/team-editing.ts +2 -2
- package/src/core/agents/team-keys.ts +1 -1
- package/src/core/agents/team-layout.ts +1 -1
- package/src/core/agents/team-options.ts +4 -4
- package/src/core/agents/team-selection.ts +1 -1
- package/src/core/agents/team-status.ts +1 -1
- package/src/core/agents/team-text.ts +3 -3
- package/src/core/agents/team-turn-types.ts +7 -7
- package/src/core/agents/team-turns.ts +3 -3
- package/src/core/attachments/attachment-fetcher.ts +1 -1
- package/src/core/attachments/attachment-port.ts +2 -2
- package/src/core/attachments/attachment-retention.ts +3 -3
- package/src/core/attachments/attachment-store.ts +2 -2
- package/src/core/attachments/model-images.ts +1 -1
- package/src/core/attachments/turn-attachments.ts +1 -1
- package/src/core/builtin/agent-server.ts +17 -10
- package/src/core/builtin/channel-context.ts +2 -2
- package/src/core/builtin/discord-admin.ts +2 -2
- package/src/core/builtin/discord.ts +4 -3
- package/src/core/{identity/identity-plugin.ts → builtin/identity.ts} +15 -12
- package/src/core/builtin/modules.ts +12 -12
- package/src/core/builtin/prompts.ts +3 -3
- package/src/core/builtin/seeds.ts +1 -1
- package/src/core/builtin/session-tool.ts +1 -1
- package/src/core/builtin/skills.ts +3 -3
- package/src/core/builtin/stores.ts +10 -5
- package/src/core/builtin/threads.ts +2 -2
- package/src/core/builtin/worker-sessions.ts +3 -3
- package/src/core/config/access.ts +3 -3
- package/src/core/config/adapters.ts +1 -1
- package/src/core/config/config-schema.ts +9 -3
- package/src/core/config/config.ts +9 -10
- package/src/core/config/ops.ts +1 -1
- package/src/core/config/peer-bots.ts +74 -0
- package/src/core/config/routing.ts +1 -1
- package/src/core/contract/attachments.ts +1 -1
- package/src/core/contract/channels.ts +3 -5
- package/src/core/contract/runtime.ts +6 -6
- package/src/core/contract/surface.ts +3 -3
- package/src/core/conversations/conversation-registry.ts +1 -1
- package/src/core/conversations/conversation-retention.ts +2 -2
- package/src/core/conversations/conversation-store.ts +1 -1
- package/src/core/conversations/conversations-plugin.ts +2 -2
- package/src/core/db/migrations.ts +2 -2
- package/src/core/discord/agent-commands.ts +2 -2
- package/src/core/discord/agent-discord.ts +1 -1
- package/src/core/discord/agent-panel.ts +1 -1
- package/src/core/discord/card-audience.ts +1 -1
- package/src/core/discord/card-copies.ts +1 -1
- package/src/core/discord/channel-context.ts +1 -1
- package/src/core/discord/channel-executor.ts +1 -1
- package/src/core/discord/channel-operations.ts +1 -1
- package/src/core/discord/command-collection.ts +1 -1
- package/src/core/discord/compose-commands.ts +1 -1
- package/src/core/discord/context-images.ts +1 -1
- package/src/core/discord/discord-owners.ts +2 -2
- package/src/core/discord/discord-surface.ts +2 -2
- package/src/core/discord/member-events.ts +2 -2
- package/src/core/discord/message-changes.ts +1 -1
- package/src/core/discord/owner-cards.ts +1 -1
- package/src/core/discord/owner-command.ts +1 -1
- package/src/core/discord/schedule-commands.ts +1 -1
- package/src/core/domain/conversation.ts +5 -3
- package/src/core/{models.ts → domain/models.ts} +1 -1
- package/src/core/domain/ports.ts +2 -2
- package/src/core/{sessions.ts → domain/sessions.ts} +6 -6
- package/src/core/{define-roundtable.ts → host/define-roundtable.ts} +29 -29
- package/src/core/{drain.ts → host/drain.ts} +2 -7
- package/src/core/{events.ts → host/events.ts} +2 -2
- package/src/core/{host-background.ts → host/host-background.ts} +3 -3
- package/src/core/{host-registration.ts → host/host-registration.ts} +30 -30
- package/src/core/{host.ts → host/host.ts} +19 -15
- package/src/core/http/listeners.ts +2 -2
- package/src/core/http/websocket.ts +1 -1
- package/src/core/identity/access-policy.ts +8 -8
- package/src/core/identity/actor-facts.ts +1 -1
- package/src/core/identity/caching-principal-store.ts +1 -1
- package/src/core/identity/config-owner.ts +1 -1
- package/src/core/identity/contact.ts +2 -2
- package/src/core/identity/identity-links.ts +2 -2
- package/src/core/identity/identity-port.ts +2 -2
- package/src/core/identity/identity-schema.ts +1 -1
- package/src/core/identity/identity-service.ts +3 -3
- package/src/core/identity/identity-view.ts +1 -1
- package/src/core/{identity.ts → identity/owner-identity.ts} +1 -1
- package/src/core/identity/person-profiles.ts +1 -1
- package/src/core/identity/plugin-identities.ts +2 -2
- package/src/core/identity/principal-reads.ts +1 -1
- package/src/core/identity/principal-store.ts +1 -1
- package/src/core/identity/principal-types.ts +1 -1
- package/src/core/identity/seen-throttle.ts +1 -1
- package/src/core/{speakers.ts → identity/speakers.ts} +3 -6
- package/src/core/images/codex-images-plugin.ts +3 -3
- package/src/core/interactions/prompts.ts +1 -1
- package/src/core/judging/confirmation-judge.ts +1 -1
- package/src/core/judging/effort-judge.ts +2 -2
- package/src/core/judging/model-judge.ts +1 -1
- package/src/core/modes/conversation-modes.ts +4 -4
- package/src/core/modes/mode-inheritance.ts +1 -1
- package/src/core/modes/modes-plugin.ts +2 -2
- package/src/core/modules/background/background-turns.ts +4 -4
- package/src/core/modules/delegation/delegate.ts +3 -3
- package/src/core/modules/delegation/delegator.ts +4 -4
- package/src/core/modules/delegation/web-research-worker.ts +2 -2
- package/src/core/modules/delegation/worker-session.ts +5 -2
- package/src/core/modules/discord-admin/discord-admin.ts +1 -1
- package/src/core/modules/host-shell/shell-policy.ts +1 -1
- package/src/core/modules/memory/owner-memory-store.ts +1 -1
- package/src/core/modules/memory/owner-memory.ts +6 -3
- package/src/core/modules/notify/notify.ts +4 -1
- package/src/core/modules/notify/session-notify.ts +3 -3
- package/src/core/modules/prompts/prompt-documents.ts +1 -1
- package/src/core/modules/schedules/precheck-tools.ts +4 -4
- package/src/core/modules/schedules/prechecks.ts +2 -2
- package/src/core/modules/schedules/recurrence.ts +6 -1
- package/src/core/modules/schedules/schedule-prechecks.ts +4 -4
- package/src/core/modules/schedules/schedule-store.ts +2 -2
- package/src/core/modules/schedules/schedule-tools.ts +4 -4
- package/src/core/modules/schedules/scheduled-turn-text.ts +1 -1
- package/src/core/modules/schedules/scheduler.ts +3 -3
- package/src/core/modules/schedules/schedules.ts +5 -5
- package/src/core/modules/skills/missing-warning.ts +1 -1
- package/src/core/modules/skills/package-skills.ts +1 -1
- package/src/core/modules/skills/skill-registry.ts +2 -2
- package/src/core/modules/skills/skill-rules.ts +1 -1
- package/src/core/modules/skills/skill-tools.ts +1 -1
- package/src/core/ops/error-reporter.ts +2 -2
- package/src/core/ops/ops-alerts.ts +1 -1
- package/src/core/{define.ts → plugin-api/define.ts} +18 -20
- package/src/core/{event-types.ts → plugin-api/event-types.ts} +1 -1
- package/src/core/{holds.ts → plugin-api/holds.ts} +3 -3
- package/src/core/{plugin-removed.ts → plugin-api/plugin-removed.ts} +2 -2
- package/src/core/{plugin.ts → plugin-api/plugin.ts} +26 -26
- package/src/core/{services.ts → plugin-api/services.ts} +28 -28
- package/src/core/{tool-turn.ts → plugin-api/tool-turn.ts} +12 -5
- package/src/core/presence/delivery-router.ts +1 -1
- package/src/core/presence/direct-channels.ts +1 -1
- package/src/core/registry/chat-commands.ts +1 -1
- package/src/core/registry/contributions.ts +11 -11
- package/src/core/registry/providers.ts +2 -2
- package/src/core/registry/services.ts +2 -2
- package/src/core/registry/surface-service.ts +1 -1
- package/src/core/routing/actor-of.ts +1 -1
- package/src/core/routing/channel-queue.ts +2 -2
- package/src/core/routing/channel-router.ts +3 -3
- package/src/core/routing/claim-events.ts +2 -2
- package/src/core/routing/conversation-turns.ts +10 -6
- package/src/core/routing/forward-join.ts +1 -1
- package/src/core/routing/message-observers.ts +1 -1
- package/src/core/routing/message-text.ts +1 -1
- package/src/core/routing/peer-bots.ts +6 -74
- package/src/core/routing/queued-messages.ts +2 -2
- package/src/core/routing/settle-turn.ts +1 -1
- package/src/core/routing/surface-port.ts +3 -3
- package/src/core/runtime/ask-questions.ts +1 -1
- package/src/core/runtime/bridge-guard.ts +5 -5
- package/src/core/runtime/chat-only.ts +1 -1
- package/src/core/runtime/conversation-sessions.ts +2 -2
- package/src/core/runtime/extensions/agent-prompt.ts +1 -1
- package/src/core/runtime/extensions/ask-user-text.ts +5 -1
- package/src/core/runtime/extensions/ask-user.ts +4 -1
- package/src/core/runtime/extensions/card-ask.ts +1 -1
- package/src/core/runtime/extensions/confirmation-fixture.ts +1 -1
- package/src/core/runtime/extensions/confirmation-gate-extension.ts +1 -1
- package/src/core/runtime/extensions/confirmation-gate.ts +5 -5
- package/src/core/runtime/extensions/gate-refusals.ts +5 -2
- package/src/core/runtime/extensions/held-calls.ts +2 -2
- package/src/core/runtime/extensions/hold-describer.ts +3 -3
- package/src/core/runtime/extensions/hold-lookups.ts +4 -4
- package/src/core/runtime/extensions/persona-prompt.ts +1 -1
- package/src/core/runtime/extensions/prompt-read.ts +1 -1
- package/src/core/runtime/extensions/yolo.ts +1 -1
- package/src/core/runtime/interim-text.ts +1 -1
- package/src/core/runtime/pi-agent-runtime.ts +4 -4
- package/src/core/runtime/running-turn.ts +1 -1
- package/src/core/runtime/runtime-plugin.ts +13 -8
- package/src/core/runtime/runtime-types.ts +14 -10
- package/src/core/runtime/session-conversation.ts +3 -3
- package/src/core/runtime/session-factory.ts +5 -5
- package/src/core/runtime/thinking-level.ts +2 -2
- package/src/core/{tool-tiers.ts → runtime/tool-tiers.ts} +5 -5
- package/src/core/runtime/turn-answer.ts +1 -1
- package/src/core/runtime/turn-budget.ts +1 -1
- package/src/core/runtime/turn-limits.ts +1 -1
- package/src/core/runtime/turn-tools.ts +2 -2
- package/src/core/runtime/worker-task.ts +1 -1
- package/src/core/shared/attach-file-tool.ts +1 -1
- package/src/core/shared/child-env.ts +3 -5
- package/src/core/shared/delegate-tool.ts +1 -1
- package/src/core/shared/generate-image-tool.ts +1 -1
- package/src/core/{modules/background → shared}/personal-target.ts +2 -2
- package/src/core/{reply-files.ts → shared/reply-files.ts} +1 -1
- package/src/core/testing/eager-catalog.ts +1 -1
- package/src/core/testing/locale.ts +1 -1
- package/src/core/testing/map-identity.ts +5 -1
- package/src/core/testing/module-sessions.ts +3 -3
- package/src/core/testing/modules.ts +17 -13
- package/src/core/testing/owner.ts +2 -2
- package/src/core/testing/recording-logger.ts +1 -1
- package/src/core/testing/run-tool.ts +2 -2
- package/src/core/testing/surface-contract-support.ts +1 -1
- package/src/core/testing/surface-contract.ts +2 -2
- package/src/core/testing/test-host.ts +12 -12
- package/src/core/testing/thread-host.ts +1 -1
- package/src/core/testing/tool-set.ts +3 -3
- package/src/core/threads/dispatch-threads.ts +1 -1
- package/src/core/tool-set.snapshot.json +12 -0
- package/src/index.ts +76 -72
- package/src/kit/domain.ts +9 -9
- package/src/kit/holds.ts +4 -1
- package/src/kit/jev-judge.ts +1 -1
- package/src/kit/jev.ts +1 -1
- package/src/kit/presentation.ts +1 -1
- package/src/kit/support.ts +3 -3
- package/src/testing.ts +21 -20
- /package/src/core/{errors.ts → kernel/errors.ts} +0 -0
- /package/src/core/{freeze.ts → kernel/freeze.ts} +0 -0
- /package/src/core/{log.ts → kernel/log.ts} +0 -0
- /package/src/core/{time.ts → kernel/time.ts} +0 -0
package/src/kit/domain.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
// Plugin helpers, versioned like the main entry; see the plugin guide.
|
|
2
2
|
|
|
3
3
|
export { AgentError } from "../core/domain/errors.ts";
|
|
4
|
-
export type {
|
|
5
|
-
ChoiceAnswer,
|
|
6
|
-
ChoiceQuestion,
|
|
7
|
-
ScoreQuestion,
|
|
8
|
-
YesNoQuestion,
|
|
9
|
-
} from "../core/domain/ports.ts";
|
|
10
|
-
export type { OwnerIdentity } from "../core/identity.ts";
|
|
11
|
-
export type { ModelRef } from "../core/models.ts";
|
|
4
|
+
export type { ModelRef } from "../core/domain/models.ts";
|
|
12
5
|
export {
|
|
13
6
|
AUTO_THINKING,
|
|
14
7
|
formatModelRef,
|
|
15
8
|
parseModelRef,
|
|
16
9
|
THINKING_LEVELS,
|
|
17
10
|
thinkingLabel,
|
|
18
|
-
} from "../core/models.ts";
|
|
11
|
+
} from "../core/domain/models.ts";
|
|
12
|
+
export type {
|
|
13
|
+
ChoiceAnswer,
|
|
14
|
+
ChoiceQuestion,
|
|
15
|
+
ScoreQuestion,
|
|
16
|
+
YesNoQuestion,
|
|
17
|
+
} from "../core/domain/ports.ts";
|
|
18
|
+
export type { OwnerIdentity } from "../core/identity/owner-identity.ts";
|
package/src/kit/holds.ts
CHANGED
|
@@ -2,4 +2,7 @@
|
|
|
2
2
|
// The chain a host links from every plugin's hold rules, to test a rule set as the host runs it,
|
|
3
3
|
// and how long a hold that looks things up may take.
|
|
4
4
|
|
|
5
|
-
export {
|
|
5
|
+
export {
|
|
6
|
+
HOLD_DESCRIBE_TIMEOUT_MS,
|
|
7
|
+
holdChain,
|
|
8
|
+
} from "../core/plugin-api/holds.ts";
|
package/src/kit/jev-judge.ts
CHANGED
|
@@ -8,7 +8,7 @@ import type {
|
|
|
8
8
|
ScoreQuestion,
|
|
9
9
|
YesNoQuestion,
|
|
10
10
|
} from "../core/contract/providers.ts";
|
|
11
|
-
import { JudgeError } from "../core/errors.ts";
|
|
11
|
+
import { JudgeError } from "../core/kernel/errors.ts";
|
|
12
12
|
|
|
13
13
|
/** The service's name for the yes-or-no question and for its answer's probability. */
|
|
14
14
|
const WIRE_YES_NO = "noul";
|
package/src/kit/jev.ts
CHANGED
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
toJevTranscript,
|
|
27
27
|
} from "pi-jev-compaction";
|
|
28
28
|
import type { ChannelKey } from "../core/domain/conversation.ts";
|
|
29
|
-
import type { Logger } from "../core/log.ts";
|
|
29
|
+
import type { Logger } from "../core/kernel/log.ts";
|
|
30
30
|
|
|
31
31
|
/** The engine Jev's compactions record in their details, as pi-jev-compaction's own extension does. */
|
|
32
32
|
export const JEV_COMPACTION_ENGINE = PACKAGE_NAME;
|
package/src/kit/presentation.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Plugin helpers, versioned like the main entry; see the plugin guide.
|
|
2
2
|
|
|
3
|
+
export { zonedStampIn as zonedStamp } from "../core/kernel/time.ts";
|
|
3
4
|
export { headline } from "../core/presentation/headline.ts";
|
|
4
5
|
export { quietLinks } from "../core/presentation/quiet-links.ts";
|
|
5
6
|
export { splitReply } from "../core/presentation/reply-splitter.ts";
|
|
6
7
|
export { thinkingLine } from "../core/presentation/thinking-line.ts";
|
|
7
|
-
export { zonedStampIn as zonedStamp } from "../core/time.ts";
|
package/src/kit/support.ts
CHANGED
|
@@ -12,15 +12,15 @@ export type {
|
|
|
12
12
|
} from "../core/agents/agent-ports.ts";
|
|
13
13
|
export type { Backlog, GroupMessage } from "../core/agents/agent-rules.ts";
|
|
14
14
|
export type { AgentOps } from "../core/agents/agent-tools.ts";
|
|
15
|
-
export type { Notifier, OwnerNotifier } from "../core/domain/ports.ts";
|
|
16
15
|
export type {
|
|
17
16
|
EffortPolicy,
|
|
18
17
|
EffortRequest,
|
|
19
18
|
EffortRule,
|
|
20
19
|
ThinkingPicker,
|
|
21
|
-
} from "../core/models.ts";
|
|
20
|
+
} from "../core/domain/models.ts";
|
|
21
|
+
export type { Notifier, OwnerNotifier } from "../core/domain/ports.ts";
|
|
22
|
+
export type { SpeakerFacts, SpeakerPolicy } from "../core/identity/speakers.ts";
|
|
22
23
|
export type { DelegationWorker } from "../core/modules/delegation/delegator.ts";
|
|
23
24
|
export type { AgentChannelLookup } from "../core/modules/schedules/schedules.ts";
|
|
24
25
|
export type { AssistantLike } from "../core/shared/session-messages.ts";
|
|
25
|
-
export type { SpeakerFacts, SpeakerPolicy } from "../core/speakers.ts";
|
|
26
26
|
export type { ThreadHost } from "../core/threads/dispatch-threads.ts";
|
package/src/testing.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { agentClaim } from "./core/agents/agent-claim.ts";
|
|
|
7
7
|
import { ownerAttachmentDir } from "./core/attachments/attachment-dir.ts";
|
|
8
8
|
import { attachmentPort } from "./core/attachments/attachment-port.ts";
|
|
9
9
|
import { DISCORD, type DiscordServices } from "./core/builtin/discord.ts";
|
|
10
|
+
import type { PeerBotsConfig } from "./core/config/peer-bots.ts";
|
|
10
11
|
import type {
|
|
11
12
|
ConversationPort,
|
|
12
13
|
InboundMessage,
|
|
@@ -36,16 +37,17 @@ import type {
|
|
|
36
37
|
PendingConfirmation,
|
|
37
38
|
ReplyFile,
|
|
38
39
|
} from "./core/domain/conversation.ts";
|
|
39
|
-
import {
|
|
40
|
-
import { EventBus } from "./core/events.ts";
|
|
41
|
-
import type { HoldCheck } from "./core/holds.ts";
|
|
40
|
+
import type { ChannelKey, SessionContext } from "./core/domain/sessions.ts";
|
|
41
|
+
import { EventBus } from "./core/host/events.ts";
|
|
42
42
|
import { type ListenerConfig, listenerAddress } from "./core/http/listeners.ts";
|
|
43
43
|
import { contactsOf } from "./core/identity/identity-view.ts";
|
|
44
|
-
import type { OwnerIdentity } from "./core/identity.ts";
|
|
44
|
+
import type { OwnerIdentity } from "./core/identity/owner-identity.ts";
|
|
45
|
+
import { type Speaker, THE_SPEAKER } from "./core/identity/speakers.ts";
|
|
45
46
|
import { ConfirmationJudge } from "./core/judging/confirmation-judge.ts";
|
|
46
|
-
import {
|
|
47
|
+
import { NotLinkedError, PluginError } from "./core/kernel/errors.ts";
|
|
48
|
+
import { silentLogger } from "./core/kernel/log.ts";
|
|
47
49
|
import { ConversationBackgroundTurns } from "./core/modules/background/background-turns.ts";
|
|
48
|
-
import {
|
|
50
|
+
import type { HoldCheck } from "./core/plugin-api/holds.ts";
|
|
49
51
|
import type {
|
|
50
52
|
Contribution,
|
|
51
53
|
HostEnv,
|
|
@@ -55,7 +57,15 @@ import type {
|
|
|
55
57
|
TurnEndEvent,
|
|
56
58
|
TurnEvent,
|
|
57
59
|
TurnProgressEvent,
|
|
58
|
-
} from "./core/plugin.ts";
|
|
60
|
+
} from "./core/plugin-api/plugin.ts";
|
|
61
|
+
import {
|
|
62
|
+
AGENTS,
|
|
63
|
+
type AgentServer,
|
|
64
|
+
BACKGROUND_TURNS,
|
|
65
|
+
CONVERSATIONS,
|
|
66
|
+
IDENTITY,
|
|
67
|
+
RUNTIME,
|
|
68
|
+
} from "./core/plugin-api/services.ts";
|
|
59
69
|
import {
|
|
60
70
|
collectContributions,
|
|
61
71
|
linkSessions,
|
|
@@ -69,29 +79,20 @@ import {
|
|
|
69
79
|
conversationTurns,
|
|
70
80
|
} from "./core/routing/conversation-turns.ts";
|
|
71
81
|
import { MessageObservers } from "./core/routing/message-observers.ts";
|
|
72
|
-
import { PeerBots
|
|
82
|
+
import { PeerBots } from "./core/routing/peer-bots.ts";
|
|
73
83
|
import { surfacePort } from "./core/routing/surface-port.ts";
|
|
74
|
-
import {
|
|
75
|
-
|
|
76
|
-
type AgentServer,
|
|
77
|
-
BACKGROUND_TURNS,
|
|
78
|
-
CONVERSATIONS,
|
|
79
|
-
IDENTITY,
|
|
80
|
-
RUNTIME,
|
|
81
|
-
} from "./core/services.ts";
|
|
82
|
-
import type { ChannelKey, SessionContext } from "./core/sessions.ts";
|
|
83
|
-
import { type Speaker, THE_SPEAKER } from "./core/speakers.ts";
|
|
84
|
+
import { type ToolTierTable, toolTiers } from "./core/runtime/tool-tiers.ts";
|
|
85
|
+
import { PERSONAL_TARGET } from "./core/shared/personal-target.ts";
|
|
84
86
|
import { fakeDiscordPoster } from "./core/testing/fake-poster.ts";
|
|
85
87
|
import { mapIdentity } from "./core/testing/map-identity.ts";
|
|
86
88
|
import {
|
|
87
89
|
callRegisteredTool,
|
|
88
90
|
registeredTools,
|
|
89
91
|
} from "./core/testing/run-tool.ts";
|
|
90
|
-
import { type ToolTierTable, toolTiers } from "./core/tool-tiers.ts";
|
|
91
92
|
|
|
92
93
|
// Fixtures for plugin tests.
|
|
93
94
|
|
|
94
|
-
export { silentLogger } from "./core/log.ts";
|
|
95
|
+
export { silentLogger } from "./core/kernel/log.ts";
|
|
95
96
|
export type { TestStore } from "./core/testing/database.ts";
|
|
96
97
|
export {
|
|
97
98
|
describeDb,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|