@dsh-agentic-roleplay/core 0.12.0 → 0.12.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.
Files changed (44) hide show
  1. package/cordis.patch.yml +108 -0
  2. package/lib/{access-DAw54-NI.js → access-Csp80TFX.js} +2 -2
  3. package/lib/{authoring-tools-4NgDhIJV.js → authoring-tools-BZr4bgBy.js} +25 -771
  4. package/lib/authoring.js +136 -12
  5. package/lib/{child-D3QUNb3m.js → child-DTdY14S9.js} +54 -6
  6. package/lib/client.js +16457 -1938
  7. package/lib/client.js.map +1 -1
  8. package/lib/compaction.js +3 -3
  9. package/lib/dev-context-Cgv_wZbG.js +50 -0
  10. package/lib/doctor.js +6 -3
  11. package/lib/{gallery-Ct6nm4UQ.js → gallery-BNg0rPTp.js} +3 -3
  12. package/lib/{generator-CI8fOnXy.js → generator-9-5at9cZ.js} +2 -2
  13. package/lib/helper.js +5 -9
  14. package/lib/{hooks-BNeoGMHZ.js → hooks-Dtq5KZQX.js} +47 -16
  15. package/lib/images.js +4 -4
  16. package/lib/index.js +152 -476
  17. package/lib/{jail-BIF79PJO.js → jail-DVbPSC0R.js} +2 -2
  18. package/lib/{library-BF9ZMSFz.js → library-DTxakw0z.js} +2 -2
  19. package/lib/{lorebook-author-tools-DBk-V0hp.js → lorebook-author-tools-BjcEUo22.js} +19 -6
  20. package/lib/lorebook-authoring.js +13 -5
  21. package/lib/{narration-xvErE2yp.js → narration--K2XVIHI.js} +2 -2
  22. package/lib/orchestration.js +33 -12
  23. package/lib/{pack-jail-C8EyX9Ix.js → pack-jail-Dt0VTsu0.js} +558 -23
  24. package/lib/{packs-S0SzrVv-.js → packs-DWfR2Ted.js} +2 -2
  25. package/lib/{presenter-agent-Bc478nTA.js → presenter-agent-vFOxIuWv.js} +9 -9
  26. package/lib/{preset-SJZyw0kt.js → preset-Dv5YF2qj.js} +4 -4
  27. package/lib/{preset-author-tools-CzogjK42.js → preset-author-tools-BUzO9mTW.js} +8 -7
  28. package/lib/preset-authoring.js +12 -6
  29. package/lib/{reflection-buQiSdvq.js → reflection-Dd3pEiZB.js} +14 -15
  30. package/lib/{presets-DQ5rioMh.js → serial-BUaJGwVy.js} +1241 -390
  31. package/lib/{turn-guard-BSAba8sp.js → turn-guard-87NE-Cnp.js} +3 -3
  32. package/locale/de.json +6 -0
  33. package/locale/en.json +6 -0
  34. package/locale/es.json +6 -0
  35. package/locale/fr.json +6 -0
  36. package/locale/ja.json +6 -0
  37. package/locale/pt.json +6 -0
  38. package/locale/ru.json +6 -0
  39. package/locale/zh.json +6 -0
  40. package/package.json +34 -34
  41. package/prompts/en/import/style.md +2 -1
  42. package/prompts/en/world/procedure.md +1 -1
  43. package/prompts/zh/import/style.md +2 -1
  44. package/prompts/zh/world/procedure.md +1 -1
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-D3QUNb3m.js";
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-DAw54-NI.js.map
186
+ //# sourceMappingURL=access-Csp80TFX.js.map