pi-roundtable 0.27.1 → 0.29.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 +39 -0
- package/README.md +2 -0
- package/README.zh-TW.md +2 -0
- package/docs/plugins.md +54 -22
- package/package.json +1 -1
- package/src/characters/compose.ts +11 -0
- package/src/characters/parts-face.ts +23 -2
- package/src/core/agents/agent-messages.ts +37 -92
- package/src/core/agents/agent-ports.ts +3 -0
- package/src/core/agents/agent-prompt.ts +2 -16
- package/src/core/agents/agent-rules.ts +27 -0
- package/src/core/agents/agent-team.ts +5 -0
- package/src/core/agents/agent-tools.ts +18 -10
- package/src/core/agents/helper-create.ts +3 -24
- package/src/core/agents/helper-modes.ts +64 -0
- package/src/core/agents/message-target.ts +20 -18
- package/src/core/agents/routes.ts +42 -24
- package/src/core/agents/team-editing.ts +5 -5
- package/src/core/agents/team-helpers.ts +76 -5
- package/src/core/agents/team-keys.ts +14 -0
- package/src/core/agents/team-turn-types.ts +7 -13
- package/src/core/agents/team-turns.ts +9 -6
- package/src/core/builtin/agent-server.ts +3 -4
- package/src/core/builtin/discord.ts +35 -8
- package/src/core/builtin/modules.ts +15 -15
- package/src/core/config/adapters.ts +2 -1
- package/src/core/config/limits.ts +35 -2
- package/src/core/config/routing.ts +5 -4
- package/src/core/discord/agent-discord.ts +12 -1
- package/src/core/discord/card-copies.ts +7 -2
- package/src/core/discord/direct-channel.ts +1 -0
- package/src/core/discord/discord-surface.ts +13 -30
- package/src/core/discord/intercom-cards.ts +121 -0
- package/src/core/discord/owner-card-asks.ts +9 -0
- package/src/core/discord/owner-card-types.ts +2 -0
- package/src/core/discord/owner-cards.ts +2 -1
- package/src/core/discord/stop-button.ts +35 -0
- package/src/core/domain/conversation.ts +18 -0
- package/src/core/domain/interim.ts +7 -0
- package/src/core/domain/turn-timeout.ts +5 -0
- package/src/core/i18n/conversation.ts +16 -4
- package/src/core/i18n/turn-timeout.ts +10 -2
- package/src/core/interactions/prompts.ts +5 -0
- package/src/core/modes/autonomy.ts +22 -1
- package/src/core/modes/conversation-modes.ts +135 -23
- package/src/core/modes/mode-inheritance.ts +78 -0
- package/src/core/modes/modes-plugin.ts +1 -1
- package/src/core/modules/notify/notify.ts +3 -2
- package/src/core/modules/notify/session-notify.ts +21 -4
- package/src/core/modules/skills/skill-contract.ts +13 -0
- package/src/core/modules/skills/skill-registry.ts +3 -1
- package/src/core/modules/skills/skill-store.ts +4 -3
- package/src/core/presence/delivery-router.ts +165 -0
- package/src/core/presence/direct-channels.ts +39 -68
- package/src/core/presentation/intercom.ts +44 -0
- package/src/core/runtime/ask-questions.ts +21 -4
- package/src/core/runtime/extensions/ask-user-text.ts +36 -3
- package/src/core/runtime/extensions/ask-user.ts +21 -1
- package/src/core/runtime/interim-text.ts +7 -4
- package/src/core/runtime/pi-agent-runtime.ts +2 -2
- package/src/core/runtime/prompt-slot.ts +11 -1
- package/src/core/runtime/session-factory.ts +11 -6
- package/src/core/runtime/turn-budget.ts +34 -3
- package/src/core/runtime/turn-limits.ts +13 -3
- package/src/index.ts +7 -1
package/src/index.ts
CHANGED
|
@@ -4,7 +4,11 @@ export {
|
|
|
4
4
|
AGENT_SERVER_PRIORITY,
|
|
5
5
|
OWNER_TARGET,
|
|
6
6
|
} from "./core/agents/agent-claim.ts";
|
|
7
|
-
export {
|
|
7
|
+
export {
|
|
8
|
+
characterOf,
|
|
9
|
+
helperSurface,
|
|
10
|
+
isHelper,
|
|
11
|
+
} from "./core/agents/agent-rules.ts";
|
|
8
12
|
export type {
|
|
9
13
|
Agent,
|
|
10
14
|
AgentGroup,
|
|
@@ -153,6 +157,7 @@ export type {
|
|
|
153
157
|
} from "./core/domain/client.ts";
|
|
154
158
|
export type {
|
|
155
159
|
HeldCall,
|
|
160
|
+
IntercomCard,
|
|
156
161
|
OutboundReply,
|
|
157
162
|
PendingConfirmation,
|
|
158
163
|
PostAuthor,
|
|
@@ -332,6 +337,7 @@ export type {
|
|
|
332
337
|
SkillVersion,
|
|
333
338
|
} from "./core/modules/skills/skill-rules.ts";
|
|
334
339
|
export { SkillConflictError } from "./core/modules/skills/skill-rules.ts";
|
|
340
|
+
export type { SkillGroup } from "./core/modules/skills/skill-store.ts";
|
|
335
341
|
export type {
|
|
336
342
|
ActionEvent,
|
|
337
343
|
AgentTools,
|