@sharpee/character 3.1.0 → 3.5.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/apply.d.ts +4 -4
- package/apply.d.ts.map +1 -1
- package/character-builder.d.ts +8 -8
- package/character-builder.d.ts.map +1 -1
- package/character-builder.js +10 -10
- package/character-builder.js.map +1 -1
- package/conversation/acl.d.ts +1 -1
- package/conversation/acl.d.ts.map +1 -1
- package/conversation/builder.d.ts +4 -4
- package/conversation/builder.d.ts.map +1 -1
- package/conversation/builder.js +2 -2
- package/conversation/builder.js.map +1 -1
- package/conversation/constraint-evaluator.d.ts +1 -1
- package/conversation/constraint-evaluator.d.ts.map +1 -1
- package/conversation/constraint-evaluator.js +3 -3
- package/conversation/constraint-evaluator.js.map +1 -1
- package/conversation/dialogue-extension.d.ts +4 -4
- package/conversation/dialogue-extension.d.ts.map +1 -1
- package/conversation/dialogue-extension.js +10 -10
- package/conversation/dialogue-extension.js.map +1 -1
- package/conversation/dialogue-types.d.ts +1 -1
- package/conversation/dialogue-types.d.ts.map +1 -1
- package/conversation/index.d.ts +9 -9
- package/conversation/index.d.ts.map +1 -1
- package/conversation/index.js +24 -24
- package/conversation/index.js.map +1 -1
- package/goals/builder.d.ts +1 -1
- package/goals/builder.d.ts.map +1 -1
- package/goals/goal-activation.d.ts +1 -1
- package/goals/goal-activation.d.ts.map +1 -1
- package/goals/goal-activation.js +2 -2
- package/goals/goal-activation.js.map +1 -1
- package/goals/index.d.ts +5 -5
- package/goals/index.d.ts.map +1 -1
- package/goals/index.js +11 -11
- package/goals/index.js.map +1 -1
- package/goals/pathfinding.d.ts +1 -1
- package/goals/pathfinding.d.ts.map +1 -1
- package/goals/step-evaluator.d.ts +2 -2
- package/goals/step-evaluator.d.ts.map +1 -1
- package/goals/step-evaluator.js +2 -2
- package/goals/step-evaluator.js.map +1 -1
- package/index.d.ts +9 -9
- package/index.d.ts.map +1 -1
- package/index.js +58 -58
- package/index.js.map +1 -1
- package/influence/builder.d.ts +1 -1
- package/influence/builder.d.ts.map +1 -1
- package/influence/index.d.ts +6 -6
- package/influence/index.d.ts.map +1 -1
- package/influence/index.js +12 -12
- package/influence/index.js.map +1 -1
- package/influence/influence-duration.d.ts +1 -1
- package/influence/influence-duration.d.ts.map +1 -1
- package/influence/influence-evaluator.d.ts +1 -1
- package/influence/influence-evaluator.d.ts.map +1 -1
- package/influence/pc-influence.d.ts +2 -2
- package/influence/pc-influence.d.ts.map +1 -1
- package/package.json +4 -4
- package/propagation/builder.d.ts +1 -1
- package/propagation/builder.d.ts.map +1 -1
- package/propagation/fact-transfer.d.ts +1 -1
- package/propagation/fact-transfer.d.ts.map +1 -1
- package/propagation/index.d.ts +6 -6
- package/propagation/index.d.ts.map +1 -1
- package/propagation/index.js +16 -16
- package/propagation/index.js.map +1 -1
- package/propagation/propagation-evaluator.d.ts +1 -1
- package/propagation/propagation-evaluator.d.ts.map +1 -1
- package/propagation/visibility.d.ts +1 -1
- package/propagation/visibility.d.ts.map +1 -1
- package/tick-phases.d.ts +3 -3
- package/tick-phases.d.ts.map +1 -1
- package/tick-phases.js +14 -14
- package/tick-phases.js.map +1 -1
package/conversation/index.js
CHANGED
|
@@ -10,28 +10,28 @@
|
|
|
10
10
|
*/
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ConversationMessages = exports.CharacterModelDialogue = exports.ResponseChainBuilder = exports.ConversationBuilder = exports.createConversationData = exports.applyCognitiveColoring = exports.selectMoodVariant = exports.buildResponseIntent = exports.ConversationLifecycle = exports.BETWEEN_TURN_DEFAULTS = exports.DEFAULT_DECAY_THRESHOLDS = exports.ConstraintEvaluator = exports.evaluateConstraints = exports.TopicRegistry = exports.createEvidenceRecord = exports.createConversationRecord = void 0;
|
|
13
|
-
var
|
|
14
|
-
Object.defineProperty(exports, "createConversationRecord", { enumerable: true, get: function () { return
|
|
15
|
-
Object.defineProperty(exports, "createEvidenceRecord", { enumerable: true, get: function () { return
|
|
16
|
-
var
|
|
17
|
-
Object.defineProperty(exports, "TopicRegistry", { enumerable: true, get: function () { return
|
|
18
|
-
var
|
|
19
|
-
Object.defineProperty(exports, "evaluateConstraints", { enumerable: true, get: function () { return
|
|
20
|
-
Object.defineProperty(exports, "ConstraintEvaluator", { enumerable: true, get: function () { return
|
|
21
|
-
var
|
|
22
|
-
Object.defineProperty(exports, "DEFAULT_DECAY_THRESHOLDS", { enumerable: true, get: function () { return
|
|
23
|
-
Object.defineProperty(exports, "BETWEEN_TURN_DEFAULTS", { enumerable: true, get: function () { return
|
|
24
|
-
Object.defineProperty(exports, "ConversationLifecycle", { enumerable: true, get: function () { return
|
|
25
|
-
var
|
|
26
|
-
Object.defineProperty(exports, "buildResponseIntent", { enumerable: true, get: function () { return
|
|
27
|
-
Object.defineProperty(exports, "selectMoodVariant", { enumerable: true, get: function () { return
|
|
28
|
-
Object.defineProperty(exports, "applyCognitiveColoring", { enumerable: true, get: function () { return
|
|
29
|
-
var
|
|
30
|
-
Object.defineProperty(exports, "createConversationData", { enumerable: true, get: function () { return
|
|
31
|
-
Object.defineProperty(exports, "ConversationBuilder", { enumerable: true, get: function () { return
|
|
32
|
-
Object.defineProperty(exports, "ResponseChainBuilder", { enumerable: true, get: function () { return
|
|
33
|
-
var
|
|
34
|
-
Object.defineProperty(exports, "CharacterModelDialogue", { enumerable: true, get: function () { return
|
|
35
|
-
var
|
|
36
|
-
Object.defineProperty(exports, "ConversationMessages", { enumerable: true, get: function () { return
|
|
13
|
+
var response_types_js_1 = require("./response-types.js");
|
|
14
|
+
Object.defineProperty(exports, "createConversationRecord", { enumerable: true, get: function () { return response_types_js_1.createConversationRecord; } });
|
|
15
|
+
Object.defineProperty(exports, "createEvidenceRecord", { enumerable: true, get: function () { return response_types_js_1.createEvidenceRecord; } });
|
|
16
|
+
var topic_registry_js_1 = require("./topic-registry.js");
|
|
17
|
+
Object.defineProperty(exports, "TopicRegistry", { enumerable: true, get: function () { return topic_registry_js_1.TopicRegistry; } });
|
|
18
|
+
var constraint_evaluator_js_1 = require("./constraint-evaluator.js");
|
|
19
|
+
Object.defineProperty(exports, "evaluateConstraints", { enumerable: true, get: function () { return constraint_evaluator_js_1.evaluateConstraints; } });
|
|
20
|
+
Object.defineProperty(exports, "ConstraintEvaluator", { enumerable: true, get: function () { return constraint_evaluator_js_1.ConstraintEvaluator; } });
|
|
21
|
+
var lifecycle_js_1 = require("./lifecycle.js");
|
|
22
|
+
Object.defineProperty(exports, "DEFAULT_DECAY_THRESHOLDS", { enumerable: true, get: function () { return lifecycle_js_1.DEFAULT_DECAY_THRESHOLDS; } });
|
|
23
|
+
Object.defineProperty(exports, "BETWEEN_TURN_DEFAULTS", { enumerable: true, get: function () { return lifecycle_js_1.BETWEEN_TURN_DEFAULTS; } });
|
|
24
|
+
Object.defineProperty(exports, "ConversationLifecycle", { enumerable: true, get: function () { return lifecycle_js_1.ConversationLifecycle; } });
|
|
25
|
+
var acl_js_1 = require("./acl.js");
|
|
26
|
+
Object.defineProperty(exports, "buildResponseIntent", { enumerable: true, get: function () { return acl_js_1.buildResponseIntent; } });
|
|
27
|
+
Object.defineProperty(exports, "selectMoodVariant", { enumerable: true, get: function () { return acl_js_1.selectMoodVariant; } });
|
|
28
|
+
Object.defineProperty(exports, "applyCognitiveColoring", { enumerable: true, get: function () { return acl_js_1.applyCognitiveColoring; } });
|
|
29
|
+
var builder_js_1 = require("./builder.js");
|
|
30
|
+
Object.defineProperty(exports, "createConversationData", { enumerable: true, get: function () { return builder_js_1.createConversationData; } });
|
|
31
|
+
Object.defineProperty(exports, "ConversationBuilder", { enumerable: true, get: function () { return builder_js_1.ConversationBuilder; } });
|
|
32
|
+
Object.defineProperty(exports, "ResponseChainBuilder", { enumerable: true, get: function () { return builder_js_1.ResponseChainBuilder; } });
|
|
33
|
+
var dialogue_extension_js_1 = require("./dialogue-extension.js");
|
|
34
|
+
Object.defineProperty(exports, "CharacterModelDialogue", { enumerable: true, get: function () { return dialogue_extension_js_1.CharacterModelDialogue; } });
|
|
35
|
+
var conversation_messages_js_1 = require("./conversation-messages.js");
|
|
36
|
+
Object.defineProperty(exports, "ConversationMessages", { enumerable: true, get: function () { return conversation_messages_js_1.ConversationMessages; } });
|
|
37
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/conversation/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAEH,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/conversation/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAEH,yDAU6B;AAF3B,6HAAA,wBAAwB,OAAA;AACxB,yHAAA,oBAAoB,OAAA;AAGtB,yDAI6B;AAD3B,kHAAA,aAAa,OAAA;AAGf,qEAKmC;AAFjC,8HAAA,mBAAmB,OAAA;AACnB,8HAAA,mBAAmB,OAAA;AAGrB,+CAWwB;AAHtB,wHAAA,wBAAwB,OAAA;AACxB,qHAAA,qBAAqB,OAAA;AACrB,qHAAA,qBAAqB,OAAA;AAGvB,mCAIkB;AAHhB,6GAAA,mBAAmB,OAAA;AACnB,2GAAA,iBAAiB,OAAA;AACjB,gHAAA,sBAAsB,OAAA;AAQxB,2CAYsB;AAHpB,oHAAA,sBAAsB,OAAA;AACtB,iHAAA,mBAAmB,OAAA;AACnB,kHAAA,oBAAoB,OAAA;AAGtB,iEAEiC;AAD/B,+HAAA,sBAAsB,OAAA;AAGxB,uEAGoC;AAFlC,gIAAA,oBAAoB,OAAA"}
|
package/goals/builder.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Public interface: GoalBuilder.
|
|
10
10
|
* Owner context: @sharpee/character / goals
|
|
11
11
|
*/
|
|
12
|
-
import { GoalPriority, PursuitMode, GoalStep, GoalDef } from './goal-types';
|
|
12
|
+
import { GoalPriority, PursuitMode, GoalStep, GoalDef } from './goal-types.js';
|
|
13
13
|
/**
|
|
14
14
|
* Fluent builder for a single goal definition.
|
|
15
15
|
*
|
package/goals/builder.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/builder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,OAAO,EACR,MAAM,
|
|
1
|
+
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/builder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,OAAO,EACR,MAAM,iBAAiB,CAAC;AAEzB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qBAAa,WAAW,CAAC,OAAO,SAAS;IAAE,OAAO,IAAI,OAAO,CAAA;CAAE;IAC7D,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAS;IAC7B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;IAClC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAyB;IACnD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAgB;IAC/C,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAgB;IAC/C,OAAO,CAAC,SAAS,CAA0B;IAC3C,OAAO,CAAC,KAAK,CAA6B;IAC1C,OAAO,CAAC,MAAM,CAAkB;IAChC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAgB;IAC1C,OAAO,CAAC,aAAa,CAAC,CAAS;IAC/B,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,cAAc,CAAS;IAE/B;;;;;;OAMG;gBACS,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI;IAMzE;;;;;OAKG;IACH,aAAa,CAAC,GAAG,UAAU,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC,OAAO,CAAC;IAK5D;;;;;OAKG;IACH,QAAQ,CAAC,QAAQ,EAAE,YAAY,GAAG,WAAW,CAAC,OAAO,CAAC;IAKtD;;;;;OAKG;IACH,IAAI,CAAC,IAAI,EAAE,WAAW,GAAG,WAAW,CAAC,OAAO,CAAC;IAK7C;;;;;OAKG;IACH,OAAO,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,WAAW,CAAC,OAAO,CAAC;IAKhD;;;;;OAKG;IACH,QAAQ,CAAC,GAAG,UAAU,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC,OAAO,CAAC;IAKvD;;;;;OAKG;IACH,GAAG,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC;IAK5C;;;;;OAKG;IACH,aAAa,CAAC,GAAG,UAAU,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC,OAAO,CAAC;IAK5D;;;;;OAKG;IACH,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC;IAKpD;;;;;OAKG;IACH,aAAa,CAAC,MAAM,EAAE,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC;IAKpD;;;;OAIG;IACH,IAAI,IAAI,OAAO;IAKf;;;;;OAKG;IACH,OAAO,IAAI,UAAU,CAAC,OAAO,SAAS;QAAE,OAAO,IAAI,MAAM,CAAC,CAAA;KAAE,GAAG,MAAM,CAAC,GAAG,KAAK,CAAC;IAK/E,sDAAsD;IACtD,SAAS,IAAI,OAAO;CAiBrB"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Owner context: @sharpee/character / goals
|
|
10
10
|
*/
|
|
11
11
|
import { CharacterModelTrait } from '@sharpee/world-model';
|
|
12
|
-
import { GoalDef, ActiveGoal } from './goal-types';
|
|
12
|
+
import { GoalDef, ActiveGoal } from './goal-types.js';
|
|
13
13
|
/**
|
|
14
14
|
* Manages goal activation, deactivation, interruption, and the
|
|
15
15
|
* active goal queue for a single NPC.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal-activation.d.ts","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/goal-activation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EACL,OAAO,EACP,UAAU,EAEX,MAAM,
|
|
1
|
+
{"version":3,"file":"goal-activation.d.ts","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/goal-activation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EACL,OAAO,EACP,UAAU,EAEX,MAAM,iBAAiB,CAAC;AAMzB;;;GAGG;AACH,qBAAa,WAAW;IACtB,kDAAkD;IAClD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAiB;IAEtC,kEAAkE;IAClE,OAAO,CAAC,WAAW,CAAoB;IAMvC;;;;OAIG;IACH,YAAY,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIhC;;;;OAIG;IACH,aAAa,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;IAQpC;;;;;;OAMG;IACH,QAAQ,CAAC,KAAK,EAAE,mBAAmB,GAAG,UAAU,EAAE;IAgClD;;;;OAIG;IACH,UAAU,IAAI,UAAU,GAAG,SAAS;IAIpC;;;;;OAKG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;IAIjC;;;;OAIG;IACH,cAAc,IAAI,SAAS,UAAU,EAAE;IAIvC;;;;OAIG;IACH,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAkBjC;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAQ9B,4CAA4C;IAC5C,MAAM,IAAI,eAAe,EAAE;IAU3B,kDAAkD;IAClD,YAAY,CAAC,MAAM,EAAE,eAAe,EAAE,GAAG,IAAI;IAoB7C;;;;;;;;;OASG;IACH,OAAO,CAAC,qBAAqB;IA8B7B,OAAO,CAAC,QAAQ;IAUhB,OAAO,CAAC,UAAU;CAGnB;AAMD,oCAAoC;AACpC,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;CACnB"}
|
package/goals/goal-activation.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.GoalManager = void 0;
|
|
14
|
-
const
|
|
14
|
+
const goal_types_js_1 = require("./goal-types.js");
|
|
15
15
|
// ---------------------------------------------------------------------------
|
|
16
16
|
// Goal manager
|
|
17
17
|
// ---------------------------------------------------------------------------
|
|
@@ -70,7 +70,7 @@ class GoalManager {
|
|
|
70
70
|
if (a.interrupted !== b.interrupted) {
|
|
71
71
|
return a.interrupted ? 1 : -1;
|
|
72
72
|
}
|
|
73
|
-
return
|
|
73
|
+
return goal_types_js_1.GOAL_PRIORITY_VALUES[b.def.priority] - goal_types_js_1.GOAL_PRIORITY_VALUES[a.def.priority];
|
|
74
74
|
});
|
|
75
75
|
return this.activeGoals;
|
|
76
76
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal-activation.js","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/goal-activation.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAGH,
|
|
1
|
+
{"version":3,"file":"goal-activation.js","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/goal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C,CAAC,GAAG,CAAC,EAAE,KAAK,MAAM,CAAC,CAAC;IACvE,CAAC;CACF;AA7ND,kCA6NC"}
|
package/goals/index.d.ts
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* Public interface: All re-exported types, classes, and functions.
|
|
8
8
|
* Owner context: @sharpee/character / goals
|
|
9
9
|
*/
|
|
10
|
-
export { type GoalPriority, type PursuitMode, type GoalStep, type SeekStep, type AcquireStep, type WaitForStep, type MoveToStep, type ActStep, type SayStep, type GiveStep, type DropStep, type GoalDef, type ActiveGoal, type MovementProfile, type StepResult, GOAL_PRIORITY_VALUES, } from './goal-types';
|
|
11
|
-
export { type ActiveGoalState, GoalManager, } from './goal-activation';
|
|
12
|
-
export { type GoalStepContext, evaluateGoalStep, } from './step-evaluator';
|
|
13
|
-
export { type RoomConnection, type RoomGraph, SimpleRoomGraph, findNextRoom, } from './pathfinding';
|
|
14
|
-
export { GoalBuilder } from './builder';
|
|
10
|
+
export { type GoalPriority, type PursuitMode, type GoalStep, type SeekStep, type AcquireStep, type WaitForStep, type MoveToStep, type ActStep, type SayStep, type GiveStep, type DropStep, type GoalDef, type ActiveGoal, type MovementProfile, type StepResult, GOAL_PRIORITY_VALUES, } from './goal-types.js';
|
|
11
|
+
export { type ActiveGoalState, GoalManager, } from './goal-activation.js';
|
|
12
|
+
export { type GoalStepContext, evaluateGoalStep, } from './step-evaluator.js';
|
|
13
|
+
export { type RoomConnection, type RoomGraph, SimpleRoomGraph, findNextRoom, } from './pathfinding.js';
|
|
14
|
+
export { GoalBuilder } from './builder.js';
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
package/goals/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,oBAAoB,GACrB,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,oBAAoB,GACrB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,KAAK,eAAe,EACpB,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,KAAK,eAAe,EACpB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,eAAe,EACf,YAAY,GACb,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC"}
|
package/goals/index.js
CHANGED
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
*/
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.GoalBuilder = exports.findNextRoom = exports.SimpleRoomGraph = exports.evaluateGoalStep = exports.GoalManager = exports.GOAL_PRIORITY_VALUES = void 0;
|
|
13
|
-
var
|
|
14
|
-
Object.defineProperty(exports, "GOAL_PRIORITY_VALUES", { enumerable: true, get: function () { return
|
|
15
|
-
var
|
|
16
|
-
Object.defineProperty(exports, "GoalManager", { enumerable: true, get: function () { return
|
|
17
|
-
var
|
|
18
|
-
Object.defineProperty(exports, "evaluateGoalStep", { enumerable: true, get: function () { return
|
|
19
|
-
var
|
|
20
|
-
Object.defineProperty(exports, "SimpleRoomGraph", { enumerable: true, get: function () { return
|
|
21
|
-
Object.defineProperty(exports, "findNextRoom", { enumerable: true, get: function () { return
|
|
22
|
-
var
|
|
23
|
-
Object.defineProperty(exports, "GoalBuilder", { enumerable: true, get: function () { return
|
|
13
|
+
var goal_types_js_1 = require("./goal-types.js");
|
|
14
|
+
Object.defineProperty(exports, "GOAL_PRIORITY_VALUES", { enumerable: true, get: function () { return goal_types_js_1.GOAL_PRIORITY_VALUES; } });
|
|
15
|
+
var goal_activation_js_1 = require("./goal-activation.js");
|
|
16
|
+
Object.defineProperty(exports, "GoalManager", { enumerable: true, get: function () { return goal_activation_js_1.GoalManager; } });
|
|
17
|
+
var step_evaluator_js_1 = require("./step-evaluator.js");
|
|
18
|
+
Object.defineProperty(exports, "evaluateGoalStep", { enumerable: true, get: function () { return step_evaluator_js_1.evaluateGoalStep; } });
|
|
19
|
+
var pathfinding_js_1 = require("./pathfinding.js");
|
|
20
|
+
Object.defineProperty(exports, "SimpleRoomGraph", { enumerable: true, get: function () { return pathfinding_js_1.SimpleRoomGraph; } });
|
|
21
|
+
Object.defineProperty(exports, "findNextRoom", { enumerable: true, get: function () { return pathfinding_js_1.findNextRoom; } });
|
|
22
|
+
var builder_js_1 = require("./builder.js");
|
|
23
|
+
Object.defineProperty(exports, "GoalBuilder", { enumerable: true, get: function () { return builder_js_1.GoalBuilder; } });
|
|
24
24
|
//# sourceMappingURL=index.js.map
|
package/goals/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAEH,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAEH,iDAiByB;AADvB,qHAAA,oBAAoB,OAAA;AAGtB,2DAG8B;AAD5B,iHAAA,WAAW,OAAA;AAGb,yDAG6B;AAD3B,qHAAA,gBAAgB,OAAA;AAGlB,mDAK0B;AAFxB,iHAAA,eAAe,OAAA;AACf,8GAAA,YAAY,OAAA;AAGd,2CAA2C;AAAlC,yGAAA,WAAW,OAAA"}
|
package/goals/pathfinding.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Public interface: findNextRoom, RoomGraph, RoomConnection.
|
|
9
9
|
* Owner context: @sharpee/character / goals
|
|
10
10
|
*/
|
|
11
|
-
import { MovementProfile } from './goal-types';
|
|
11
|
+
import { MovementProfile } from './goal-types.js';
|
|
12
12
|
/** A connection between two rooms. */
|
|
13
13
|
export interface RoomConnection {
|
|
14
14
|
/** Source room ID. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pathfinding.d.ts","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/pathfinding.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"pathfinding.d.ts","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/pathfinding.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAMlD,sCAAsC;AACtC,MAAM,WAAW,cAAc;IAC7B,sBAAsB;IACtB,IAAI,EAAE,MAAM,CAAC;IAEb,2BAA2B;IAC3B,EAAE,EAAE,MAAM,CAAC;IAEX,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,MAAM,WAAW,SAAS;IACxB,uCAAuC;IACvC,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc,EAAE,CAAC;CAClD;AAED;;;GAGG;AACH,qBAAa,eAAgB,YAAW,SAAS;IAC/C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA4C;IAExE;;;;;;OAMG;IACH,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IAKjE;;;;;;OAMG;IACH,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IAM/D,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc,EAAE;CAGjD;AAMD;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAC1B,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,eAAe,GACxB,MAAM,GAAG,IAAI,CAoCf"}
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* Owner context: @sharpee/character / goals
|
|
9
9
|
*/
|
|
10
10
|
import { CharacterModelTrait } from '@sharpee/world-model';
|
|
11
|
-
import { ActiveGoal, StepResult, MovementProfile } from './goal-types';
|
|
12
|
-
import { RoomGraph } from './pathfinding';
|
|
11
|
+
import { ActiveGoal, StepResult, MovementProfile } from './goal-types.js';
|
|
12
|
+
import { RoomGraph } from './pathfinding.js';
|
|
13
13
|
/** Context needed to evaluate a goal step. */
|
|
14
14
|
export interface GoalStepContext {
|
|
15
15
|
/** The NPC's entity ID. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step-evaluator.d.ts","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/step-evaluator.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAEL,UAAU,EACV,UAAU,EACV,eAAe,EAChB,MAAM,
|
|
1
|
+
{"version":3,"file":"step-evaluator.d.ts","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/step-evaluator.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAEL,UAAU,EACV,UAAU,EACV,eAAe,EAChB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAgB,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAM3D,8CAA8C;AAC9C,MAAM,WAAW,eAAe;IAC9B,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IAEd,iCAAiC;IACjC,WAAW,EAAE,MAAM,CAAC;IAEpB,qCAAqC;IACrC,KAAK,EAAE,mBAAmB,CAAC;IAE3B,kCAAkC;IAClC,QAAQ,EAAE,eAAe,CAAC;IAE1B,iCAAiC;IACjC,SAAS,EAAE,SAAS,CAAC;IAErB,yDAAyD;IACzD,aAAa,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC;IAExD;;;OAGG;IACH,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;CAC1D;AAMD;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,UAAU,EAChB,GAAG,EAAE,eAAe,GACnB,UAAU,CAmBZ"}
|
package/goals/step-evaluator.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.evaluateGoalStep = evaluateGoalStep;
|
|
13
|
-
const
|
|
13
|
+
const pathfinding_js_1 = require("./pathfinding.js");
|
|
14
14
|
// ---------------------------------------------------------------------------
|
|
15
15
|
// Step evaluation
|
|
16
16
|
// ---------------------------------------------------------------------------
|
|
@@ -86,7 +86,7 @@ function evaluateSeek(target, from, witnessed, ctx) {
|
|
|
86
86
|
return { status: 'completed' };
|
|
87
87
|
}
|
|
88
88
|
// Find next room toward target
|
|
89
|
-
const nextRoom = (0,
|
|
89
|
+
const nextRoom = (0, pathfinding_js_1.findNextRoom)(ctx.currentRoom, targetRoom, ctx.roomGraph, ctx.movement);
|
|
90
90
|
if (nextRoom === null) {
|
|
91
91
|
return { status: 'blocked', reason: `Cannot reach ${targetRoom}` };
|
|
92
92
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step-evaluator.js","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/step-evaluator.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;AAiEH,4CAsBC;AA9ED
|
|
1
|
+
{"version":3,"file":"step-evaluator.js","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/goals/step-evaluator.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;AAiEH,4CAsBC;AA9ED,qDAA2D;AAuC3D,8EAA8E;AAC9E,kBAAkB;AAClB,8EAA8E;AAE9E;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAC9B,IAAgB,EAChB,GAAoB;IAEpB,2DAA2D;IAC3D,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,eAAe,EAAE,CAAC;QACtC,OAAO,qBAAqB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1C,CAAC;IAED,mEAAmE;IACnE,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,UAAU,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;QAClD,OAAO,qBAAqB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1C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GAAG,CAAC,QAAQ,EAAE,CAAC;QACvB,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;IAC/B,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;IAEzE,IAAI,MAAM,EAAE,CAAC;QACX,OAAO;YACL,MAAM,EAAE,WAAW;YACnB,SAAS,EAAE,GAAG,CAAC,aAAa;gBAC1B,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY;gBACvB,CAAC,CAAC,SAAS;SACd,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;AAC/B,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
* COGNITIVE_PRESETS, VocabularyExtension, applyCharacter.
|
|
10
10
|
* Owner context: @sharpee/character package
|
|
11
11
|
*/
|
|
12
|
-
export { CharacterBuilder, TriggerBuilder, type CompiledCharacter, type CompiledTrigger, type TriggerMutation, } from './character-builder';
|
|
13
|
-
export { COGNITIVE_PRESETS, isCognitivePreset, type CognitivePresetName, } from './cognitive-presets';
|
|
14
|
-
export { VocabularyExtension, type CustomMoodDef, type CustomPersonalityDef, } from './vocabulary-extension';
|
|
15
|
-
export { applyCharacter, type AppliedCharacter } from './apply';
|
|
16
|
-
export { type ResponseAction, type ResponseCandidate, type ResponseIntent, type ConversationRecord, type ConversationEntry, type EvidenceRecord, type EvidenceEntry, type TopicDef, type TopicResolution, type Contradiction, type ConstraintEvaluatorState, evaluateConstraints, ConstraintEvaluator, createConversationRecord, createEvidenceRecord, type ConversationIntent, type ConversationStrength, type RedirectResult, type ConversationContext, type ContinuationEntry, type InitiativeTrigger, type ConversationLifecycleState, DEFAULT_DECAY_THRESHOLDS, BETWEEN_TURN_DEFAULTS, ConversationLifecycle, buildResponseIntent, selectMoodVariant, applyCognitiveColoring, TopicRegistry, type DialogueExtension, type DialogueResult, type ConversationData, type AuthoredResponse, type OffscreenScene, type WitnessedScene, createConversationData, ConversationBuilder, ResponseChainBuilder, CharacterModelDialogue, ConversationMessages, type ConversationMessageId, } from './conversation';
|
|
17
|
-
export { type PropagationTendency, type PropagationAudience, type PropagationPace, type PropagationColoring, type ReceivesAs, type SpreadsVersion, type PropagationProfile, type PropagationTransfer, type RoomOccupant, type PropagationContext, type TransferResult, AlreadyToldRecord, evaluatePropagation, transferFact, applyTransfers, type PlayerPresence, type PropagationVisibilityResult, PROPAGATION_WITNESSED_DEFAULTS, getVisibilityResult, getVisibilityResults, resolvePlayerPresence, type PropagationOptions, buildPropagationProfile, PropagationMessages, type PropagationMessageId, } from './propagation';
|
|
18
|
-
export { type GoalPriority, type PursuitMode, type GoalStep, type GoalDef, type ActiveGoal, type MovementProfile, type StepResult, type ActiveGoalState, type GoalStepContext, type RoomConnection, type RoomGraph, GOAL_PRIORITY_VALUES, GoalManager, evaluateGoalStep, SimpleRoomGraph, findNextRoom, GoalBuilder, } from './goals';
|
|
19
|
-
export { type InfluenceMode, type InfluenceRange, type InfluenceDuration, type InfluenceEffect, type InfluenceSchedule, type InfluenceDef, type ResistanceDef, type ActiveInfluenceEffect, type InfluenceResult, type InfluenceRoomEntity, checkResistance, evaluatePassiveInfluences, evaluateActiveInfluence, InfluenceTracker, type PcInfluenceResult, evaluatePcInfluence, InfluenceBuilder, InfluenceMessages, type InfluenceMessageId, } from './influence';
|
|
20
|
-
export { type CharacterPhaseConfig, CharacterPhaseRegistry, createPropagationPhase, createGoalPhase, createInfluencePhase, } from './tick-phases';
|
|
12
|
+
export { CharacterBuilder, TriggerBuilder, type CompiledCharacter, type CompiledTrigger, type TriggerMutation, } from './character-builder.js';
|
|
13
|
+
export { COGNITIVE_PRESETS, isCognitivePreset, type CognitivePresetName, } from './cognitive-presets.js';
|
|
14
|
+
export { VocabularyExtension, type CustomMoodDef, type CustomPersonalityDef, } from './vocabulary-extension.js';
|
|
15
|
+
export { applyCharacter, type AppliedCharacter } from './apply.js';
|
|
16
|
+
export { type ResponseAction, type ResponseCandidate, type ResponseIntent, type ConversationRecord, type ConversationEntry, type EvidenceRecord, type EvidenceEntry, type TopicDef, type TopicResolution, type Contradiction, type ConstraintEvaluatorState, evaluateConstraints, ConstraintEvaluator, createConversationRecord, createEvidenceRecord, type ConversationIntent, type ConversationStrength, type RedirectResult, type ConversationContext, type ContinuationEntry, type InitiativeTrigger, type ConversationLifecycleState, DEFAULT_DECAY_THRESHOLDS, BETWEEN_TURN_DEFAULTS, ConversationLifecycle, buildResponseIntent, selectMoodVariant, applyCognitiveColoring, TopicRegistry, type DialogueExtension, type DialogueResult, type ConversationData, type AuthoredResponse, type OffscreenScene, type WitnessedScene, createConversationData, ConversationBuilder, ResponseChainBuilder, CharacterModelDialogue, ConversationMessages, type ConversationMessageId, } from './conversation/index.js';
|
|
17
|
+
export { type PropagationTendency, type PropagationAudience, type PropagationPace, type PropagationColoring, type ReceivesAs, type SpreadsVersion, type PropagationProfile, type PropagationTransfer, type RoomOccupant, type PropagationContext, type TransferResult, AlreadyToldRecord, evaluatePropagation, transferFact, applyTransfers, type PlayerPresence, type PropagationVisibilityResult, PROPAGATION_WITNESSED_DEFAULTS, getVisibilityResult, getVisibilityResults, resolvePlayerPresence, type PropagationOptions, buildPropagationProfile, PropagationMessages, type PropagationMessageId, } from './propagation/index.js';
|
|
18
|
+
export { type GoalPriority, type PursuitMode, type GoalStep, type GoalDef, type ActiveGoal, type MovementProfile, type StepResult, type ActiveGoalState, type GoalStepContext, type RoomConnection, type RoomGraph, GOAL_PRIORITY_VALUES, GoalManager, evaluateGoalStep, SimpleRoomGraph, findNextRoom, GoalBuilder, } from './goals/index.js';
|
|
19
|
+
export { type InfluenceMode, type InfluenceRange, type InfluenceDuration, type InfluenceEffect, type InfluenceSchedule, type InfluenceDef, type ResistanceDef, type ActiveInfluenceEffect, type InfluenceResult, type InfluenceRoomEntity, checkResistance, evaluatePassiveInfluences, evaluateActiveInfluence, InfluenceTracker, type PcInfluenceResult, evaluatePcInfluence, InfluenceBuilder, InfluenceMessages, type InfluenceMessageId, } from './influence/index.js';
|
|
20
|
+
export { type CharacterPhaseConfig, CharacterPhaseRegistry, createPropagationPhase, createGoalPhase, createInfluencePhase, } from './tick-phases.js';
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../repos/sharpee_v2/packages/character/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,eAAe,GACrB,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../repos/sharpee_v2/packages/character/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,eAAe,GACrB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,KAAK,mBAAmB,GACzB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,mBAAmB,EACnB,KAAK,aAAa,EAClB,KAAK,oBAAoB,GAC1B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,cAAc,EAAE,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAGnE,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,aAAa,EAElB,KAAK,QAAQ,EACb,KAAK,eAAe,EAEpB,KAAK,aAAa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,KAAK,SAAS,EACd,oBAAoB,EACpB,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,WAAW,GACZ,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,eAAe,EACf,yBAAyB,EACzB,uBAAuB,EACvB,gBAAgB,EAChB,KAAK,iBAAiB,EACtB,mBAAmB,EACnB,gBAAgB,EAEhB,iBAAiB,EACjB,KAAK,kBAAkB,GACxB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACL,KAAK,oBAAoB,EACzB,sBAAsB,EACtB,sBAAsB,EACtB,eAAe,EACf,oBAAoB,GACrB,MAAM,kBAAkB,CAAC"}
|
package/index.js
CHANGED
|
@@ -12,74 +12,74 @@
|
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.createInfluencePhase = exports.createGoalPhase = exports.createPropagationPhase = exports.CharacterPhaseRegistry = exports.InfluenceMessages = exports.InfluenceBuilder = exports.evaluatePcInfluence = exports.InfluenceTracker = exports.evaluateActiveInfluence = exports.evaluatePassiveInfluences = exports.checkResistance = exports.GoalBuilder = exports.findNextRoom = exports.SimpleRoomGraph = exports.evaluateGoalStep = exports.GoalManager = exports.GOAL_PRIORITY_VALUES = exports.PropagationMessages = exports.buildPropagationProfile = exports.resolvePlayerPresence = exports.getVisibilityResults = exports.getVisibilityResult = exports.PROPAGATION_WITNESSED_DEFAULTS = exports.applyTransfers = exports.transferFact = exports.evaluatePropagation = exports.AlreadyToldRecord = exports.ConversationMessages = exports.CharacterModelDialogue = exports.ResponseChainBuilder = exports.ConversationBuilder = exports.createConversationData = exports.TopicRegistry = exports.applyCognitiveColoring = exports.selectMoodVariant = exports.buildResponseIntent = exports.ConversationLifecycle = exports.BETWEEN_TURN_DEFAULTS = exports.DEFAULT_DECAY_THRESHOLDS = exports.createEvidenceRecord = exports.createConversationRecord = exports.ConstraintEvaluator = exports.evaluateConstraints = exports.applyCharacter = exports.VocabularyExtension = exports.isCognitivePreset = exports.COGNITIVE_PRESETS = exports.TriggerBuilder = exports.CharacterBuilder = void 0;
|
|
15
|
-
var
|
|
16
|
-
Object.defineProperty(exports, "CharacterBuilder", { enumerable: true, get: function () { return
|
|
17
|
-
Object.defineProperty(exports, "TriggerBuilder", { enumerable: true, get: function () { return
|
|
18
|
-
var
|
|
19
|
-
Object.defineProperty(exports, "COGNITIVE_PRESETS", { enumerable: true, get: function () { return
|
|
20
|
-
Object.defineProperty(exports, "isCognitivePreset", { enumerable: true, get: function () { return
|
|
21
|
-
var
|
|
22
|
-
Object.defineProperty(exports, "VocabularyExtension", { enumerable: true, get: function () { return
|
|
23
|
-
var
|
|
24
|
-
Object.defineProperty(exports, "applyCharacter", { enumerable: true, get: function () { return
|
|
15
|
+
var character_builder_js_1 = require("./character-builder.js");
|
|
16
|
+
Object.defineProperty(exports, "CharacterBuilder", { enumerable: true, get: function () { return character_builder_js_1.CharacterBuilder; } });
|
|
17
|
+
Object.defineProperty(exports, "TriggerBuilder", { enumerable: true, get: function () { return character_builder_js_1.TriggerBuilder; } });
|
|
18
|
+
var cognitive_presets_js_1 = require("./cognitive-presets.js");
|
|
19
|
+
Object.defineProperty(exports, "COGNITIVE_PRESETS", { enumerable: true, get: function () { return cognitive_presets_js_1.COGNITIVE_PRESETS; } });
|
|
20
|
+
Object.defineProperty(exports, "isCognitivePreset", { enumerable: true, get: function () { return cognitive_presets_js_1.isCognitivePreset; } });
|
|
21
|
+
var vocabulary_extension_js_1 = require("./vocabulary-extension.js");
|
|
22
|
+
Object.defineProperty(exports, "VocabularyExtension", { enumerable: true, get: function () { return vocabulary_extension_js_1.VocabularyExtension; } });
|
|
23
|
+
var apply_js_1 = require("./apply.js");
|
|
24
|
+
Object.defineProperty(exports, "applyCharacter", { enumerable: true, get: function () { return apply_js_1.applyCharacter; } });
|
|
25
25
|
// Conversation system (ADR-142)
|
|
26
|
-
var
|
|
27
|
-
Object.defineProperty(exports, "evaluateConstraints", { enumerable: true, get: function () { return
|
|
28
|
-
Object.defineProperty(exports, "ConstraintEvaluator", { enumerable: true, get: function () { return
|
|
26
|
+
var index_js_1 = require("./conversation/index.js");
|
|
27
|
+
Object.defineProperty(exports, "evaluateConstraints", { enumerable: true, get: function () { return index_js_1.evaluateConstraints; } });
|
|
28
|
+
Object.defineProperty(exports, "ConstraintEvaluator", { enumerable: true, get: function () { return index_js_1.ConstraintEvaluator; } });
|
|
29
29
|
// Factories
|
|
30
|
-
Object.defineProperty(exports, "createConversationRecord", { enumerable: true, get: function () { return
|
|
31
|
-
Object.defineProperty(exports, "createEvidenceRecord", { enumerable: true, get: function () { return
|
|
32
|
-
Object.defineProperty(exports, "DEFAULT_DECAY_THRESHOLDS", { enumerable: true, get: function () { return
|
|
33
|
-
Object.defineProperty(exports, "BETWEEN_TURN_DEFAULTS", { enumerable: true, get: function () { return
|
|
34
|
-
Object.defineProperty(exports, "ConversationLifecycle", { enumerable: true, get: function () { return
|
|
30
|
+
Object.defineProperty(exports, "createConversationRecord", { enumerable: true, get: function () { return index_js_1.createConversationRecord; } });
|
|
31
|
+
Object.defineProperty(exports, "createEvidenceRecord", { enumerable: true, get: function () { return index_js_1.createEvidenceRecord; } });
|
|
32
|
+
Object.defineProperty(exports, "DEFAULT_DECAY_THRESHOLDS", { enumerable: true, get: function () { return index_js_1.DEFAULT_DECAY_THRESHOLDS; } });
|
|
33
|
+
Object.defineProperty(exports, "BETWEEN_TURN_DEFAULTS", { enumerable: true, get: function () { return index_js_1.BETWEEN_TURN_DEFAULTS; } });
|
|
34
|
+
Object.defineProperty(exports, "ConversationLifecycle", { enumerable: true, get: function () { return index_js_1.ConversationLifecycle; } });
|
|
35
35
|
// ACL
|
|
36
|
-
Object.defineProperty(exports, "buildResponseIntent", { enumerable: true, get: function () { return
|
|
37
|
-
Object.defineProperty(exports, "selectMoodVariant", { enumerable: true, get: function () { return
|
|
38
|
-
Object.defineProperty(exports, "applyCognitiveColoring", { enumerable: true, get: function () { return
|
|
36
|
+
Object.defineProperty(exports, "buildResponseIntent", { enumerable: true, get: function () { return index_js_1.buildResponseIntent; } });
|
|
37
|
+
Object.defineProperty(exports, "selectMoodVariant", { enumerable: true, get: function () { return index_js_1.selectMoodVariant; } });
|
|
38
|
+
Object.defineProperty(exports, "applyCognitiveColoring", { enumerable: true, get: function () { return index_js_1.applyCognitiveColoring; } });
|
|
39
39
|
// Topic registry
|
|
40
|
-
Object.defineProperty(exports, "TopicRegistry", { enumerable: true, get: function () { return
|
|
41
|
-
Object.defineProperty(exports, "createConversationData", { enumerable: true, get: function () { return
|
|
42
|
-
Object.defineProperty(exports, "ConversationBuilder", { enumerable: true, get: function () { return
|
|
43
|
-
Object.defineProperty(exports, "ResponseChainBuilder", { enumerable: true, get: function () { return
|
|
40
|
+
Object.defineProperty(exports, "TopicRegistry", { enumerable: true, get: function () { return index_js_1.TopicRegistry; } });
|
|
41
|
+
Object.defineProperty(exports, "createConversationData", { enumerable: true, get: function () { return index_js_1.createConversationData; } });
|
|
42
|
+
Object.defineProperty(exports, "ConversationBuilder", { enumerable: true, get: function () { return index_js_1.ConversationBuilder; } });
|
|
43
|
+
Object.defineProperty(exports, "ResponseChainBuilder", { enumerable: true, get: function () { return index_js_1.ResponseChainBuilder; } });
|
|
44
44
|
// DialogueExtension implementation
|
|
45
|
-
Object.defineProperty(exports, "CharacterModelDialogue", { enumerable: true, get: function () { return
|
|
45
|
+
Object.defineProperty(exports, "CharacterModelDialogue", { enumerable: true, get: function () { return index_js_1.CharacterModelDialogue; } });
|
|
46
46
|
// Conversation message IDs
|
|
47
|
-
Object.defineProperty(exports, "ConversationMessages", { enumerable: true, get: function () { return
|
|
47
|
+
Object.defineProperty(exports, "ConversationMessages", { enumerable: true, get: function () { return index_js_1.ConversationMessages; } });
|
|
48
48
|
// Information propagation (ADR-144)
|
|
49
|
-
var
|
|
50
|
-
Object.defineProperty(exports, "AlreadyToldRecord", { enumerable: true, get: function () { return
|
|
51
|
-
Object.defineProperty(exports, "evaluatePropagation", { enumerable: true, get: function () { return
|
|
52
|
-
Object.defineProperty(exports, "transferFact", { enumerable: true, get: function () { return
|
|
53
|
-
Object.defineProperty(exports, "applyTransfers", { enumerable: true, get: function () { return
|
|
54
|
-
Object.defineProperty(exports, "PROPAGATION_WITNESSED_DEFAULTS", { enumerable: true, get: function () { return
|
|
55
|
-
Object.defineProperty(exports, "getVisibilityResult", { enumerable: true, get: function () { return
|
|
56
|
-
Object.defineProperty(exports, "getVisibilityResults", { enumerable: true, get: function () { return
|
|
57
|
-
Object.defineProperty(exports, "resolvePlayerPresence", { enumerable: true, get: function () { return
|
|
58
|
-
Object.defineProperty(exports, "buildPropagationProfile", { enumerable: true, get: function () { return
|
|
49
|
+
var index_js_2 = require("./propagation/index.js");
|
|
50
|
+
Object.defineProperty(exports, "AlreadyToldRecord", { enumerable: true, get: function () { return index_js_2.AlreadyToldRecord; } });
|
|
51
|
+
Object.defineProperty(exports, "evaluatePropagation", { enumerable: true, get: function () { return index_js_2.evaluatePropagation; } });
|
|
52
|
+
Object.defineProperty(exports, "transferFact", { enumerable: true, get: function () { return index_js_2.transferFact; } });
|
|
53
|
+
Object.defineProperty(exports, "applyTransfers", { enumerable: true, get: function () { return index_js_2.applyTransfers; } });
|
|
54
|
+
Object.defineProperty(exports, "PROPAGATION_WITNESSED_DEFAULTS", { enumerable: true, get: function () { return index_js_2.PROPAGATION_WITNESSED_DEFAULTS; } });
|
|
55
|
+
Object.defineProperty(exports, "getVisibilityResult", { enumerable: true, get: function () { return index_js_2.getVisibilityResult; } });
|
|
56
|
+
Object.defineProperty(exports, "getVisibilityResults", { enumerable: true, get: function () { return index_js_2.getVisibilityResults; } });
|
|
57
|
+
Object.defineProperty(exports, "resolvePlayerPresence", { enumerable: true, get: function () { return index_js_2.resolvePlayerPresence; } });
|
|
58
|
+
Object.defineProperty(exports, "buildPropagationProfile", { enumerable: true, get: function () { return index_js_2.buildPropagationProfile; } });
|
|
59
59
|
// Propagation message IDs
|
|
60
|
-
Object.defineProperty(exports, "PropagationMessages", { enumerable: true, get: function () { return
|
|
60
|
+
Object.defineProperty(exports, "PropagationMessages", { enumerable: true, get: function () { return index_js_2.PropagationMessages; } });
|
|
61
61
|
// NPC goal pursuit (ADR-145)
|
|
62
|
-
var
|
|
63
|
-
Object.defineProperty(exports, "GOAL_PRIORITY_VALUES", { enumerable: true, get: function () { return
|
|
64
|
-
Object.defineProperty(exports, "GoalManager", { enumerable: true, get: function () { return
|
|
65
|
-
Object.defineProperty(exports, "evaluateGoalStep", { enumerable: true, get: function () { return
|
|
66
|
-
Object.defineProperty(exports, "SimpleRoomGraph", { enumerable: true, get: function () { return
|
|
67
|
-
Object.defineProperty(exports, "findNextRoom", { enumerable: true, get: function () { return
|
|
68
|
-
Object.defineProperty(exports, "GoalBuilder", { enumerable: true, get: function () { return
|
|
62
|
+
var index_js_3 = require("./goals/index.js");
|
|
63
|
+
Object.defineProperty(exports, "GOAL_PRIORITY_VALUES", { enumerable: true, get: function () { return index_js_3.GOAL_PRIORITY_VALUES; } });
|
|
64
|
+
Object.defineProperty(exports, "GoalManager", { enumerable: true, get: function () { return index_js_3.GoalManager; } });
|
|
65
|
+
Object.defineProperty(exports, "evaluateGoalStep", { enumerable: true, get: function () { return index_js_3.evaluateGoalStep; } });
|
|
66
|
+
Object.defineProperty(exports, "SimpleRoomGraph", { enumerable: true, get: function () { return index_js_3.SimpleRoomGraph; } });
|
|
67
|
+
Object.defineProperty(exports, "findNextRoom", { enumerable: true, get: function () { return index_js_3.findNextRoom; } });
|
|
68
|
+
Object.defineProperty(exports, "GoalBuilder", { enumerable: true, get: function () { return index_js_3.GoalBuilder; } });
|
|
69
69
|
// NPC influence (ADR-146)
|
|
70
|
-
var
|
|
71
|
-
Object.defineProperty(exports, "checkResistance", { enumerable: true, get: function () { return
|
|
72
|
-
Object.defineProperty(exports, "evaluatePassiveInfluences", { enumerable: true, get: function () { return
|
|
73
|
-
Object.defineProperty(exports, "evaluateActiveInfluence", { enumerable: true, get: function () { return
|
|
74
|
-
Object.defineProperty(exports, "InfluenceTracker", { enumerable: true, get: function () { return
|
|
75
|
-
Object.defineProperty(exports, "evaluatePcInfluence", { enumerable: true, get: function () { return
|
|
76
|
-
Object.defineProperty(exports, "InfluenceBuilder", { enumerable: true, get: function () { return
|
|
70
|
+
var index_js_4 = require("./influence/index.js");
|
|
71
|
+
Object.defineProperty(exports, "checkResistance", { enumerable: true, get: function () { return index_js_4.checkResistance; } });
|
|
72
|
+
Object.defineProperty(exports, "evaluatePassiveInfluences", { enumerable: true, get: function () { return index_js_4.evaluatePassiveInfluences; } });
|
|
73
|
+
Object.defineProperty(exports, "evaluateActiveInfluence", { enumerable: true, get: function () { return index_js_4.evaluateActiveInfluence; } });
|
|
74
|
+
Object.defineProperty(exports, "InfluenceTracker", { enumerable: true, get: function () { return index_js_4.InfluenceTracker; } });
|
|
75
|
+
Object.defineProperty(exports, "evaluatePcInfluence", { enumerable: true, get: function () { return index_js_4.evaluatePcInfluence; } });
|
|
76
|
+
Object.defineProperty(exports, "InfluenceBuilder", { enumerable: true, get: function () { return index_js_4.InfluenceBuilder; } });
|
|
77
77
|
// Influence message IDs
|
|
78
|
-
Object.defineProperty(exports, "InfluenceMessages", { enumerable: true, get: function () { return
|
|
78
|
+
Object.defineProperty(exports, "InfluenceMessages", { enumerable: true, get: function () { return index_js_4.InfluenceMessages; } });
|
|
79
79
|
// NPC tick phase handlers (ADR-142/144/145/146)
|
|
80
|
-
var
|
|
81
|
-
Object.defineProperty(exports, "CharacterPhaseRegistry", { enumerable: true, get: function () { return
|
|
82
|
-
Object.defineProperty(exports, "createPropagationPhase", { enumerable: true, get: function () { return
|
|
83
|
-
Object.defineProperty(exports, "createGoalPhase", { enumerable: true, get: function () { return
|
|
84
|
-
Object.defineProperty(exports, "createInfluencePhase", { enumerable: true, get: function () { return
|
|
80
|
+
var tick_phases_js_1 = require("./tick-phases.js");
|
|
81
|
+
Object.defineProperty(exports, "CharacterPhaseRegistry", { enumerable: true, get: function () { return tick_phases_js_1.CharacterPhaseRegistry; } });
|
|
82
|
+
Object.defineProperty(exports, "createPropagationPhase", { enumerable: true, get: function () { return tick_phases_js_1.createPropagationPhase; } });
|
|
83
|
+
Object.defineProperty(exports, "createGoalPhase", { enumerable: true, get: function () { return tick_phases_js_1.createGoalPhase; } });
|
|
84
|
+
Object.defineProperty(exports, "createInfluencePhase", { enumerable: true, get: function () { return tick_phases_js_1.createInfluencePhase; } });
|
|
85
85
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../repos/sharpee_v2/packages/character/src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../repos/sharpee_v2/packages/character/src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,+DAMgC;AAL9B,wHAAA,gBAAgB,OAAA;AAChB,sHAAA,cAAc,OAAA;AAMhB,+DAIgC;AAH9B,yHAAA,iBAAiB,OAAA;AACjB,yHAAA,iBAAiB,OAAA;AAInB,qEAImC;AAHjC,8HAAA,mBAAmB,OAAA;AAKrB,uCAAmE;AAA1D,0GAAA,cAAc,OAAA;AAEvB,gCAAgC;AAChC,oDAqDiC;AAtC/B,+GAAA,mBAAmB,OAAA;AACnB,+GAAA,mBAAmB,OAAA;AACnB,YAAY;AACZ,oHAAA,wBAAwB,OAAA;AACxB,gHAAA,oBAAoB,OAAA;AASpB,oHAAA,wBAAwB,OAAA;AACxB,iHAAA,qBAAqB,OAAA;AACrB,iHAAA,qBAAqB,OA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 @@
|
|
|
8
8
|
* Public interface: InfluenceBuilder.
|
|
9
9
|
* Owner context: @sharpee/character / influence
|
|
10
10
|
*/
|
|
11
|
-
import { InfluenceMode, InfluenceRange, InfluenceDuration, InfluenceEffect, InfluenceSchedule, InfluenceDef } from './influence-types';
|
|
11
|
+
import { InfluenceMode, InfluenceRange, InfluenceDuration, InfluenceEffect, InfluenceSchedule, InfluenceDef } from './influence-types.js';
|
|
12
12
|
/**
|
|
13
13
|
* Fluent builder for a single influence definition.
|
|
14
14
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/influence/builder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EACL,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,YAAY,EACb,MAAM,
|
|
1
|
+
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/influence/builder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EACL,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,YAAY,EACb,MAAM,sBAAsB,CAAC;AAE9B;;;;;;;;;;;;;;GAcG;AACH,qBAAa,gBAAgB,CAAC,OAAO,SAAS;IAAE,OAAO,IAAI,OAAO,CAAA;CAAE;IAClE,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAS;IAC/B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;IAClC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA8B;IACxD,OAAO,CAAC,KAAK,CAA4B;IACzC,OAAO,CAAC,MAAM,CAA+B;IAC7C,OAAO,CAAC,OAAO,CAAuB;IACtC,OAAO,CAAC,SAAS,CAAsC;IACvD,OAAO,CAAC,UAAU,CAAC,CAAS;IAC5B,OAAO,CAAC,SAAS,CAAC,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,SAAS;QAAE,OAAO,IAAI,MAAM,CAAC,CAAA;KAAE,GAAG,MAAM,CAAC,GAAG,KAAK,CAAC;IAK/E,2DAA2D;IAC3D,SAAS,IAAI,YAAY;CAkB1B"}
|
package/influence/index.d.ts
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
* Public interface: All re-exported types, classes, and functions.
|
|
8
8
|
* Owner context: @sharpee/character / influence
|
|
9
9
|
*/
|
|
10
|
-
export { type InfluenceMode, type InfluenceRange, type InfluenceDuration, type InfluenceEffect, type InfluenceSchedule, type InfluenceDef, type ResistanceDef, type ActiveInfluenceEffect, type InfluenceResult, } from './influence-types';
|
|
11
|
-
export { type InfluenceRoomEntity, checkResistance, evaluatePassiveInfluences, evaluateActiveInfluence, } from './influence-evaluator';
|
|
12
|
-
export { InfluenceTracker } from './influence-duration';
|
|
13
|
-
export { type PcInfluenceResult, evaluatePcInfluence, } from './pc-influence';
|
|
14
|
-
export { InfluenceBuilder } from './builder';
|
|
15
|
-
export { InfluenceMessages, type InfluenceMessageId, } from './influence-messages';
|
|
10
|
+
export { type InfluenceMode, type InfluenceRange, type InfluenceDuration, type InfluenceEffect, type InfluenceSchedule, type InfluenceDef, type ResistanceDef, type ActiveInfluenceEffect, type InfluenceResult, } from './influence-types.js';
|
|
11
|
+
export { type InfluenceRoomEntity, checkResistance, evaluatePassiveInfluences, evaluateActiveInfluence, } from './influence-evaluator.js';
|
|
12
|
+
export { InfluenceTracker } from './influence-duration.js';
|
|
13
|
+
export { type PcInfluenceResult, evaluatePcInfluence, } from './pc-influence.js';
|
|
14
|
+
export { InfluenceBuilder } from './builder.js';
|
|
15
|
+
export { InfluenceMessages, type InfluenceMessageId, } from './influence-messages.js';
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
package/influence/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/influence/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,GACrB,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../repos/sharpee_v2/packages/character/src/influence/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,GACrB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,KAAK,mBAAmB,EACxB,eAAe,EACf,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,EACL,KAAK,iBAAiB,EACtB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EACL,iBAAiB,EACjB,KAAK,kBAAkB,GACxB,MAAM,yBAAyB,CAAC"}
|