@dsh-agentic-roleplay/core 0.3.5 → 0.3.6
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/lib/authoring.js +5 -5
- package/lib/client.js +1735 -459
- package/lib/client.js.map +1 -1
- package/lib/{deliver-Cl6bjp7g.js → deliver-BBgciEEK.js} +2 -2
- package/lib/doctor.js +3 -3
- package/lib/{hooks-DdO_tNhu.js → hooks-DkwFGtNH.js} +3 -3
- package/lib/index.js +394 -28
- package/lib/{load-Clkl0T7C.js → load-CVwJjIJ5.js} +7 -7
- package/lib/lorebook-author-tools-Bj31z1cu.js +619 -0
- package/lib/lorebook-authoring.js +67 -0
- package/lib/orchestration.js +6 -6
- package/lib/{pack-jail-ClMpVc__.js → pack-jail-2XztyYAX.js} +6 -5
- package/lib/{packs-BC2A3geF.js → packs-xHRCcGdb.js} +2 -2
- package/lib/preset-D0FMSeZ9.js +59 -0
- package/lib/{preset-author-tools-Dibp-LY9.js → preset-author-tools-BxycmoAr.js} +22 -16
- package/lib/preset-authoring.js +3 -3
- package/lib/{presets-DNjNxQL5.js → presets-gkBWAiVb.js} +44 -5
- package/lib/{reflection-Bju_LPFn.js → reflection-q0UpwXlx.js} +5 -5
- package/lib/{preset-ClQm7KPQ.js → tools-Dy1fgP6B.js} +424 -247
- package/package.json +3 -2
- package/prompts/en/import/lorebook.md +7 -0
- package/prompts/en/lorebook/persona.md +1 -0
- package/prompts/en/lorebook/procedure.md +1 -0
- package/prompts/en/lorebook/welcome.md +1 -0
- package/prompts/en/preset/persona.md +1 -1
- package/prompts/en/preset/procedure.md +1 -1
- package/prompts/zh/import/lorebook.md +7 -0
- package/prompts/zh/lorebook/persona.md +1 -0
- package/prompts/zh/lorebook/procedure.md +1 -0
- package/prompts/zh/lorebook/welcome.md +1 -0
- package/prompts/zh/preset/persona.md +1 -1
- package/prompts/zh/preset/procedure.md +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as promptFor } from "./access-EbNdZFbk.js";
|
|
2
2
|
import "./settings-CA6icLL_.js";
|
|
3
|
-
import { T as SessionNotFoundError, r as parsePlotsFile } from "./load-
|
|
3
|
+
import { T as SessionNotFoundError, r as parsePlotsFile } from "./load-CVwJjIJ5.js";
|
|
4
4
|
import { n as encodeOutput, r as encodePreview } from "./narration-DK2kiIjE.js";
|
|
5
5
|
import { a as runChild, c as addTokens, i as childTrace, n as childSampling, s as NO_TOKENS, t as childModel, u as estimateAnswer } from "./child-CFjnaTZt.js";
|
|
6
6
|
import { a as wrongLanguage } from "./language-BgyxtB2h.js";
|
|
@@ -1964,4 +1964,4 @@ function deliverNow(session, notes, clock) {
|
|
|
1964
1964
|
//#endregion
|
|
1965
1965
|
export { observeAsPlayer as A, RESULTS as B, parseOoc as C, notesOfSession as D, clearNotes as E, describeWhen as F, languageOf as H, endRound as I, readTime as L, ClockError as M, beginTurn as N, putNote as O, describeTime as P, skipTime as R, MAX_OOC_ANSWER as S, addToNote as T, translator as U, answerLimits as V, pacingAdvice as _, forgetRunDetails as a, populatePlots as b, readRunDetail as c, externalTools as d, externalWithheld as f, describePacingAdvice as g, PLOTS_METADATA_KEY as h, readUsage as i, observeSurroundings as j, readNotes as k, recordActivity as l, createTools$1 as m, readWithdrawn as n, keepRunDetail as o, PREVIEW_TOOL as p, addUsage as r, readActivity as s, deliverNow as t, externalGiven as u, plotAuthorNeeded as v, toolEnabled as w, AUTHORING_NEEDS as x, plotProgressOf as y, zoneOf as z };
|
|
1966
1966
|
|
|
1967
|
-
//# sourceMappingURL=deliver-
|
|
1967
|
+
//# sourceMappingURL=deliver-BBgciEEK.js.map
|
package/lib/doctor.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as chatSessionId } from "./access-EbNdZFbk.js";
|
|
2
|
-
import "./load-
|
|
3
|
-
import { d as externalTools } from "./deliver-
|
|
2
|
+
import "./load-CVwJjIJ5.js";
|
|
3
|
+
import { d as externalTools } from "./deliver-BBgciEEK.js";
|
|
4
4
|
import { a as liveSettings } from "./narration-DK2kiIjE.js";
|
|
5
5
|
import { n as doctorSessionOf } from "./doctor-chat-ByDfCMeo.js";
|
|
6
|
-
import { t as externalToolLimit } from "./hooks-
|
|
6
|
+
import { t as externalToolLimit } from "./hooks-DkwFGtNH.js";
|
|
7
7
|
import { join } from "node:path";
|
|
8
8
|
import { existsSync } from "node:fs";
|
|
9
9
|
import { SessionId } from "@deepseek-ai/dsh-session";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as roleplaySessionOf } from "./access-EbNdZFbk.js";
|
|
2
2
|
import { a as WORLD_RULES_KEY, o as rulesOf } from "./settings-CA6icLL_.js";
|
|
3
|
-
import { y as shippedText } from "./load-
|
|
4
|
-
import { A as observeAsPlayer, C as parseOoc, E as clearNotes, F as describeWhen, H as languageOf, I as endRound, L as readTime, N as beginTurn, O as putNote, R as skipTime, T as addToNote, U as translator, _ as pacingAdvice, a as forgetRunDetails, f as externalWithheld, g as describePacingAdvice, j as observeSurroundings, k as readNotes, l as recordActivity, o as keepRunDetail, r as addUsage, t as deliverNow, v as plotAuthorNeeded, w as toolEnabled, z as zoneOf } from "./deliver-
|
|
3
|
+
import { y as shippedText } from "./load-CVwJjIJ5.js";
|
|
4
|
+
import { A as observeAsPlayer, C as parseOoc, E as clearNotes, F as describeWhen, H as languageOf, I as endRound, L as readTime, N as beginTurn, O as putNote, R as skipTime, T as addToNote, U as translator, _ as pacingAdvice, a as forgetRunDetails, f as externalWithheld, g as describePacingAdvice, j as observeSurroundings, k as readNotes, l as recordActivity, o as keepRunDetail, r as addUsage, t as deliverNow, v as plotAuthorNeeded, w as toolEnabled, z as zoneOf } from "./deliver-BBgciEEK.js";
|
|
5
5
|
import { a as liveSettings } from "./narration-DK2kiIjE.js";
|
|
6
6
|
import { o as tokensOf } from "./child-CFjnaTZt.js";
|
|
7
7
|
import { createUserMessage } from "@deepseek-ai/dsh-llm";
|
|
@@ -1057,4 +1057,4 @@ function installHooks(ctx, deps) {
|
|
|
1057
1057
|
//#endregion
|
|
1058
1058
|
export { writeVerdicts as a, readVerdicts as i, installHooks as n, storesOf as r, externalToolLimit as t };
|
|
1059
1059
|
|
|
1060
|
-
//# sourceMappingURL=hooks-
|
|
1060
|
+
//# sourceMappingURL=hooks-DkwFGtNH.js.map
|