@dsh-agentic-roleplay/core 0.12.1 → 0.12.3
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/cordis.patch.yml +108 -0
- package/lib/{access-DifaiHrI.js → access-Csp80TFX.js} +2 -2
- package/lib/{authoring-tools-VOaXzr_R.js → authoring-tools-hacA5fG-.js} +1910 -1853
- package/lib/authoring.js +42 -34
- package/lib/{child-DzZ-aI6k.js → child-DTdY14S9.js} +45 -6
- package/lib/client.js +830 -571
- package/lib/client.js.map +1 -1
- package/lib/compaction.js +3 -3
- package/lib/{dev-context-Bdm-eVer.js → dev-context-Cgv_wZbG.js} +12 -2
- package/lib/doctor.js +5 -4
- package/lib/{gallery-Ctz-UoFk.js → gallery-BNg0rPTp.js} +3 -3
- package/lib/{generator-Cv6WWmZT.js → generator-9-5at9cZ.js} +2 -2
- package/lib/helper.js +4 -10
- package/lib/{hooks-BdR3mBeM.js → hooks-DlrFO4aQ.js} +216 -45
- package/lib/images.js +4 -4
- package/lib/index.js +67 -45
- package/lib/{jail-Cp4zEfip.js → jail-DVbPSC0R.js} +2 -2
- package/lib/{library-BU2A_Dx8.js → library-DTxakw0z.js} +2 -2
- package/lib/{lorebook-author-tools-DUKcQu8P.js → lorebook-author-tools-dupq-kb_.js} +6 -6
- package/lib/lorebook-authoring.js +7 -6
- package/lib/{narration-CDsJ5wxH.js → narration--K2XVIHI.js} +2 -2
- package/lib/orchestration.js +12 -12
- package/lib/{pack-jail-CzHQu0n3.js → pack-jail-Bq0fzKi4.js} +43 -16
- package/lib/{packs-BZ-45J4-.js → packs-D-7EU3yU.js} +2 -2
- package/lib/{presenter-agent-C2ZkoxZu.js → presenter-agent-vFOxIuWv.js} +6 -6
- package/lib/{preset-BPnRPW-1.js → preset-RHcOG55T.js} +4 -4
- package/lib/{preset-author-tools-DBqPwn-o.js → preset-author-tools-Dwxnpv6V.js} +6 -6
- package/lib/preset-authoring.js +7 -6
- package/lib/{reflection-Cuy0YLv0.js → reflection-DibpEUQK.js} +7 -7
- package/lib/{serial-BZNeK57v.js → serial-CDGoXYh-.js} +1317 -1276
- package/lib/{turn-guard-xaFxYc1T.js → turn-guard-DDxikrq7.js} +3 -3
- package/package.json +4 -3
package/cordis.patch.yml
CHANGED
|
@@ -1,3 +1,111 @@
|
|
|
1
|
+
# A complete roleplay installation. The core and all packages ship identical layers.
|
|
1
2
|
- insert:
|
|
3
|
+
- id: roleplay-state
|
|
4
|
+
name: '@dsh-agentic-roleplay/state'
|
|
2
5
|
- id: roleplay
|
|
3
6
|
name: '@dsh-agentic-roleplay/core'
|
|
7
|
+
# Roleplay chats receive their tools and instructions from orchestration.
|
|
8
|
+
- id: preset-roleplay
|
|
9
|
+
name: '@deepseek-ai/dsh-agent-preset'
|
|
10
|
+
config:
|
|
11
|
+
id: roleplay
|
|
12
|
+
name: Role Play
|
|
13
|
+
description: Play interactive stories with character agents, persistent world state, memory, and roleplay tools.
|
|
14
|
+
plugins:
|
|
15
|
+
- id: persona
|
|
16
|
+
name: '@deepseek-ai/dsh-persona'
|
|
17
|
+
config:
|
|
18
|
+
prefix: ''
|
|
19
|
+
suffix: ''
|
|
20
|
+
- id: orchestration
|
|
21
|
+
name: '@dsh-agentic-roleplay/core/orchestration'
|
|
22
|
+
# Folds the oldest turns of a long conversation into summaries written
|
|
23
|
+
# from the story's recorded events, at the limit set per chat.
|
|
24
|
+
- id: compaction
|
|
25
|
+
name: cordis:group
|
|
26
|
+
group: true
|
|
27
|
+
isolate:
|
|
28
|
+
compaction: true
|
|
29
|
+
config:
|
|
30
|
+
- id: roleplay-compaction
|
|
31
|
+
name: '@dsh-agentic-roleplay/core/compaction'
|
|
32
|
+
# Helpers receive role-specific tools when they start.
|
|
33
|
+
- id: preset-roleplay-helper
|
|
34
|
+
name: '@deepseek-ai/dsh-agent-preset'
|
|
35
|
+
config:
|
|
36
|
+
id: roleplay-helper
|
|
37
|
+
name: Role Play Helper
|
|
38
|
+
description: Internal preset used by roleplay characters and supporting agents during a story.
|
|
39
|
+
plugins:
|
|
40
|
+
- id: persona
|
|
41
|
+
name: '@deepseek-ai/dsh-persona'
|
|
42
|
+
config:
|
|
43
|
+
prefix: ''
|
|
44
|
+
suffix: ''
|
|
45
|
+
- id: helper
|
|
46
|
+
name: '@dsh-agentic-roleplay/core/helper'
|
|
47
|
+
# File tools are jailed to interface packs and writes require approval.
|
|
48
|
+
- id: preset-world-authoring
|
|
49
|
+
name: '@deepseek-ai/dsh-agent-preset'
|
|
50
|
+
config:
|
|
51
|
+
id: world-authoring
|
|
52
|
+
name: World Authoring
|
|
53
|
+
description: Create and refine roleplay worlds, characters, rules, and interface packs with guided authoring tools.
|
|
54
|
+
plugins:
|
|
55
|
+
- id: persona
|
|
56
|
+
name: '@deepseek-ai/dsh-persona'
|
|
57
|
+
config:
|
|
58
|
+
prefix: ''
|
|
59
|
+
suffix: ''
|
|
60
|
+
- id: tool-fs
|
|
61
|
+
name: '@deepseek-ai/dsh-tool-fs'
|
|
62
|
+
config:
|
|
63
|
+
applyPatch: false
|
|
64
|
+
- id: authoring
|
|
65
|
+
name: '@dsh-agentic-roleplay/core/authoring'
|
|
66
|
+
- id: preset-preset-authoring
|
|
67
|
+
name: '@deepseek-ai/dsh-agent-preset'
|
|
68
|
+
config:
|
|
69
|
+
id: preset-authoring
|
|
70
|
+
name: Preset Authoring
|
|
71
|
+
description: Edit the reusable prose instructions that shape how a roleplay world is narrated and played.
|
|
72
|
+
plugins:
|
|
73
|
+
- id: persona
|
|
74
|
+
name: '@deepseek-ai/dsh-persona'
|
|
75
|
+
config:
|
|
76
|
+
prefix: ''
|
|
77
|
+
suffix: ''
|
|
78
|
+
- id: preset-authoring
|
|
79
|
+
name: '@dsh-agentic-roleplay/core/preset-authoring'
|
|
80
|
+
- id: preset-lorebook-authoring
|
|
81
|
+
name: '@deepseek-ai/dsh-agent-preset'
|
|
82
|
+
config:
|
|
83
|
+
id: lorebook-authoring
|
|
84
|
+
name: Lorebook Authoring
|
|
85
|
+
description: Build and revise reusable lorebook entries for characters, places, history, and other world knowledge.
|
|
86
|
+
plugins:
|
|
87
|
+
- id: persona
|
|
88
|
+
name: '@deepseek-ai/dsh-persona'
|
|
89
|
+
config:
|
|
90
|
+
prefix: ''
|
|
91
|
+
suffix: ''
|
|
92
|
+
- id: lorebook-authoring
|
|
93
|
+
name: '@dsh-agentic-roleplay/core/lorebook-authoring'
|
|
94
|
+
- id: preset-session-doctor
|
|
95
|
+
name: '@deepseek-ai/dsh-agent-preset'
|
|
96
|
+
config:
|
|
97
|
+
id: session-doctor
|
|
98
|
+
name: Session Doctor
|
|
99
|
+
description: Inspect a roleplay session for record problems and propose player-approved repairs.
|
|
100
|
+
plugins:
|
|
101
|
+
- id: persona
|
|
102
|
+
name: '@deepseek-ai/dsh-persona'
|
|
103
|
+
config:
|
|
104
|
+
prefix: ''
|
|
105
|
+
suffix: ''
|
|
106
|
+
- id: doctor
|
|
107
|
+
name: '@dsh-agentic-roleplay/core/doctor'
|
|
108
|
+
# Allows one character round and its supporting helpers to run concurrently.
|
|
109
|
+
- id: subagent
|
|
110
|
+
config:
|
|
111
|
+
maxActiveSubagents: 32
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as roleplaySessionOf } from "./child-
|
|
1
|
+
import { j as roleplaySessionOf } from "./child-DTdY14S9.js";
|
|
2
2
|
import { basename, dirname, join } from "node:path";
|
|
3
3
|
import { chmodSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
@@ -183,4 +183,4 @@ function promptFor(agent, id, language, variables) {
|
|
|
183
183
|
}
|
|
184
184
|
export { VARIABLE_KINDS as a, atomicWriteSync as i, atomicWrite as n, VARIABLE_SUBJECTS as o, atomicWriteJson as r, VARIABLE_VISIBILITIES as s, promptFor as t };
|
|
185
185
|
|
|
186
|
-
//# sourceMappingURL=access-
|
|
186
|
+
//# sourceMappingURL=access-Csp80TFX.js.map
|