@zergai/ztc 0.26.6-dev.202611240947 → 0.27.0-beta.1
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/README.md +629 -167
- package/RUST_THIRD_PARTY_LICENSES.txt +5 -5
- package/bin/zmux-darwin-arm64 +0 -0
- package/bin/zmux-linux-x64 +0 -0
- package/bin/ztc-audio-darwin-arm64 +0 -0
- package/bin/ztc-capture-darwin-arm64 +0 -0
- package/bin/ztc-computer-darwin-arm64 +0 -0
- package/bin/ztc-llm-darwin-arm64 +0 -0
- package/bin/ztc-tts-darwin-arm64 +0 -0
- package/bin/ztc-tui-darwin-arm64 +0 -0
- package/bin/ztc-tui-linux-x64 +0 -0
- package/bin/zterm-darwin-arm64 +2 -2
- package/dist/App.js +6 -1
- package/dist/agent/agent.d.ts +21 -15
- package/dist/agent/agent.js +389 -163
- package/dist/agent/backends/codex_app_server.d.ts +7 -1
- package/dist/agent/backends/codex_app_server.js +11 -1
- package/dist/agent/backends/gemini.js +22 -8
- package/dist/agent/commands/batch.js +8 -0
- package/dist/agent/commands/config.js +10 -0
- package/dist/agent/commands/environment.js +5 -5
- package/dist/agent/commands/goal.d.ts +1 -0
- package/dist/agent/commands/goal.js +2 -1
- package/dist/agent/commands/index.js +2 -1
- package/dist/agent/commands/manifest.js +4 -0
- package/dist/agent/commands/optimize.js +5 -2
- package/dist/agent/commands/pane_cli.d.ts +29 -0
- package/dist/agent/commands/pane_cli.js +303 -0
- package/dist/agent/commands/settings.js +13 -3
- package/dist/agent/commands/shannon.js +8 -0
- package/dist/agent/commands/update.js +15 -3
- package/dist/agent/commands/zerg.js +31 -1
- package/dist/agent/commands/ztc_pane.js +3 -1
- package/dist/agent/factory.d.ts +4 -0
- package/dist/agent/factory.js +11 -1
- package/dist/agent/loop_policy.d.ts +42 -5
- package/dist/agent/loop_policy.js +206 -3
- package/dist/agent/runtime/command_jobs.d.ts +5 -0
- package/dist/agent/runtime/command_jobs.js +241 -31
- package/dist/agent/runtime/command_wait.d.ts +2 -0
- package/dist/agent/runtime/command_wait.js +1 -0
- package/dist/agent/runtime/done_report.d.ts +18 -0
- package/dist/agent/runtime/done_report.js +130 -0
- package/dist/agent/runtime/execution_context.js +4 -1
- package/dist/agent/runtime/failure_cause.d.ts +2 -0
- package/dist/agent/runtime/failure_cause.js +35 -0
- package/dist/agent/runtime/policy.d.ts +14 -2
- package/dist/agent/runtime/policy.js +104 -12
- package/dist/agent/runtime/quiet_job.d.ts +18 -0
- package/dist/agent/runtime/quiet_job.js +48 -0
- package/dist/agent/runtime/recovery.d.ts +1 -5
- package/dist/agent/runtime/recovery.js +2 -44
- package/dist/agent/runtime/tool_runtime.d.ts +1 -0
- package/dist/agent/runtime/tool_runtime.js +2 -0
- package/dist/agent/subagent.js +6 -1
- package/dist/agent/tools/deferred.js +1 -0
- package/dist/agent/tools/index.d.ts +2 -0
- package/dist/agent/tools/index.js +1 -0
- package/dist/agent/tools/outcome.d.ts +15 -0
- package/dist/agent/tools/outcome.js +107 -0
- package/dist/agent/tools/pane.d.ts +2 -1
- package/dist/agent/tools/pane.js +21 -3
- package/dist/agent/tools/registry.js +2 -0
- package/dist/agent/tools/shell.d.ts +1 -0
- package/dist/agent/tools/shell.js +128 -17
- package/dist/agent/tools/sim_domain_tools.js +4 -2
- package/dist/agent/tools/supervision.js +4 -2
- package/dist/agent/tools/types.d.ts +3 -0
- package/dist/app/command_context.js +5 -9
- package/dist/app/conversation_compaction.d.ts +4 -2
- package/dist/app/conversation_compaction.js +16 -5
- package/dist/app/headless_shell_mode.d.ts +14 -0
- package/dist/app/headless_shell_mode.js +7 -0
- package/dist/app/hosted_resident.d.ts +356 -0
- package/dist/app/hosted_resident.js +677 -0
- package/dist/app/restart.js +11 -2
- package/dist/app/session_manager.d.ts +5 -0
- package/dist/app/session_manager.js +21 -6
- package/dist/app/session_messages.js +6 -6
- package/dist/app/workspace_layout_controller.js +7 -0
- package/dist/batch/worktree.d.ts +10 -0
- package/dist/batch/worktree.js +15 -0
- package/dist/bench/registry.js +4 -2
- package/dist/cli_args.js +1 -1
- package/dist/cli_main.js +80 -10
- package/dist/cli_ratatui.d.ts +75 -0
- package/dist/cli_ratatui.js +485 -84
- package/dist/components/InputArea.js +4 -4
- package/dist/config/execution.d.ts +10 -0
- package/dist/config/execution.js +10 -0
- package/dist/config/hosted_runtime.d.ts +4 -1
- package/dist/config/hosted_runtime.js +4 -1
- package/dist/config/permission_pin.d.ts +34 -2
- package/dist/config/permission_pin.js +52 -2
- package/dist/config/person_command_policy.d.ts +38 -0
- package/dist/config/person_command_policy.js +11 -0
- package/dist/config/profiles.d.ts +21 -0
- package/dist/config/profiles.js +56 -2
- package/dist/config/types.d.ts +4 -1
- package/dist/config.js +34 -19
- package/dist/desktop/daily/codex_exec_adapter.js +7 -2
- package/dist/desktop/daily/desktop_wiring.d.ts +7 -1
- package/dist/desktop/daily/desktop_wiring.js +11 -3
- package/dist/desktop/daily/recipes.js +20 -4
- package/dist/desktop/health.d.ts +24 -0
- package/dist/desktop/health.js +151 -0
- package/dist/desktop/native_dialogs.d.ts +37 -0
- package/dist/desktop/native_dialogs.js +105 -0
- package/dist/diagnostics/session_export.d.ts +1 -0
- package/dist/diagnostics/session_export.js +28 -0
- package/dist/embedded/registry.js +4 -2
- package/dist/emulation/tool_adapters.js +9 -4
- package/dist/emulation/ztc_addendum.js +3 -0
- package/dist/headless.d.ts +11 -4
- package/dist/headless.js +99 -34
- package/dist/headless_approval.d.ts +6 -0
- package/dist/headless_cli.js +1 -1
- package/dist/hooks/runner.js +7 -6
- package/dist/library.d.ts +4 -0
- package/dist/library.js +3 -0
- package/dist/mcp/client.js +3 -3
- package/dist/modes/registry.js +13 -4
- package/dist/onboarding/setup_environment.js +13 -1
- package/dist/optimize/adapters/kernelbench.js +88 -10
- package/dist/optimize/adapters/types.d.ts +5 -0
- package/dist/optimize/executor.js +21 -0
- package/dist/panes/cli_install.d.ts +54 -0
- package/dist/panes/cli_install.js +157 -0
- package/dist/panes/model_catalog.js +3 -0
- package/dist/panes/new_pane_choices.d.ts +6 -2
- package/dist/panes/new_pane_choices.js +24 -12
- package/dist/panes/pane_cli_launch.d.ts +50 -0
- package/dist/panes/pane_cli_launch.js +124 -0
- package/dist/panes/pane_clis.d.ts +171 -0
- package/dist/panes/pane_clis.js +325 -0
- package/dist/panes/person_only_panes.d.ts +45 -0
- package/dist/panes/person_only_panes.js +117 -0
- package/dist/plugin/simulation_living.js +0 -2
- package/dist/plugin/simulation_living_engine.d.ts +1 -0
- package/dist/plugin/simulation_living_engine.js +1 -0
- package/dist/plugin/simulation_living_labels.d.ts +3 -0
- package/dist/plugin/simulation_living_labels.js +2 -0
- package/dist/router_auth.js +12 -1
- package/dist/session.js +26 -1
- package/dist/simulation/art/gemini_image.js +11 -5
- package/dist/simulation/domains/loader.js +25 -3
- package/dist/simulation/living/cold.d.ts +23 -0
- package/dist/simulation/living/cold.js +41 -0
- package/dist/simulation/living/context.d.ts +591 -1283
- package/dist/simulation/living/context.js +378 -244
- package/dist/simulation/living/contradictions.d.ts +14 -0
- package/dist/simulation/living/contradictions.js +282 -0
- package/dist/simulation/living/core/ids.d.ts +53 -0
- package/dist/simulation/living/core/ids.js +39 -0
- package/dist/simulation/living/core/kind.d.ts +20 -0
- package/dist/simulation/living/core/kind.js +15 -0
- package/dist/simulation/living/core/laws.d.ts +179 -0
- package/dist/simulation/living/core/laws.js +184 -0
- package/dist/simulation/living/core/ops.d.ts +257 -0
- package/dist/simulation/living/core/ops.js +34 -0
- package/dist/simulation/living/definer.d.ts +17 -1
- package/dist/simulation/living/definer.js +130 -51
- package/dist/simulation/living/definition.d.ts +174 -65
- package/dist/simulation/living/definition.js +287 -180
- package/dist/simulation/living/director.d.ts +80 -0
- package/dist/simulation/living/director.js +363 -0
- package/dist/simulation/living/frame.d.ts +108 -21
- package/dist/simulation/living/frame.js +111 -66
- package/dist/simulation/living/identifiers.d.ts +0 -1
- package/dist/simulation/living/identifiers.js +0 -3
- package/dist/simulation/living/index.d.ts +18 -9
- package/dist/simulation/living/index.js +18 -9
- package/dist/simulation/living/inference.d.ts +92 -50
- package/dist/simulation/living/inference.js +319 -175
- package/dist/simulation/living/knowledge.d.ts +28 -0
- package/dist/simulation/living/knowledge.js +73 -0
- package/dist/simulation/living/library.json +1177 -0
- package/dist/simulation/living/mechanics.d.ts +31 -34
- package/dist/simulation/living/mechanics.js +222 -138
- package/dist/simulation/living/model-input.d.ts +6 -3
- package/dist/simulation/living/model-input.js +18 -26
- package/dist/simulation/living/open-world.d.ts +74 -94
- package/dist/simulation/living/open-world.js +151 -30
- package/dist/simulation/living/phrases.d.ts +3 -0
- package/dist/simulation/living/phrases.js +37 -0
- package/dist/simulation/living/phrases.json +560 -0
- package/dist/simulation/living/projection.d.ts +316 -2
- package/dist/simulation/living/projection.js +50 -2
- package/dist/simulation/living/prompts/example-spec.json +11 -0
- package/dist/simulation/living/prompts/role-text.json +14 -0
- package/dist/simulation/living/prompts.d.ts +5 -0
- package/dist/simulation/living/prompts.js +275 -0
- package/dist/simulation/living/recall.d.ts +2 -2
- package/dist/simulation/living/reduce.d.ts +51 -14
- package/dist/simulation/living/reduce.js +941 -579
- package/dist/simulation/living/replay.d.ts +5 -4
- package/dist/simulation/living/replay.js +10 -9
- package/dist/simulation/living/runtime.d.ts +135 -25
- package/dist/simulation/living/runtime.js +1641 -583
- package/dist/simulation/living/scale.d.ts +96 -0
- package/dist/simulation/living/scale.js +124 -0
- package/dist/simulation/living/script.d.ts +5 -0
- package/dist/simulation/living/script.js +115 -0
- package/dist/simulation/living/shared-kinds.d.ts +4 -11
- package/dist/simulation/living/shared-kinds.js +11 -81
- package/dist/simulation/living/space.d.ts +14 -0
- package/dist/simulation/living/space.js +132 -0
- package/dist/simulation/living/state.d.ts +100 -0
- package/dist/simulation/living/state.js +393 -0
- package/dist/simulation/living/types.d.ts +829 -512
- package/dist/simulation/living/types.js +162 -187
- package/dist/simulation/living/world-rules.d.ts +100 -0
- package/dist/simulation/living/world-rules.js +267 -0
- package/dist/simulation/plugins/loader.js +11 -0
- package/dist/skills/loader.js +4 -0
- package/dist/tools.d.ts +1 -0
- package/dist/tools.js +1 -0
- package/dist/ui/ratatui/headless_pane_manager.d.ts +4 -1
- package/dist/ui/ratatui/headless_pane_manager.js +13 -9
- package/dist/ui/ratatui/pane_relay.js +29 -0
- package/dist/ui/ratatui/pane_type.d.ts +10 -0
- package/dist/ui/ratatui/pane_type.js +11 -0
- package/dist/ui/ratatui/process.d.ts +30 -0
- package/dist/ui/ratatui/process.js +133 -19
- package/dist/ui/ratatui/protocol.d.ts +124 -2
- package/dist/ui/ratatui/protocol.js +35 -0
- package/dist/ui/ratatui/relay_policy.js +3 -0
- package/dist/ui/ratatui/ztc_launch_trust.d.ts +2 -1
- package/dist/ui/ratatui/ztc_launch_trust.js +8 -1
- package/dist/ui/terminal_image.d.ts +12 -0
- package/dist/ui/terminal_image.js +21 -1
- package/dist/utils/codex_project_trust.d.ts +19 -0
- package/dist/utils/codex_project_trust.js +37 -0
- package/dist/utils/compaction.js +103 -20
- package/dist/utils/git_program_files.d.ts +19 -12
- package/dist/utils/git_program_files.js +411 -83
- package/dist/utils/host_shell.d.ts +10 -1
- package/dist/utils/host_shell.js +14 -1
- package/dist/utils/mid_turn_compaction.d.ts +2 -0
- package/dist/utils/mid_turn_compaction.js +2 -0
- package/dist/utils/models.js +6 -1
- package/dist/utils/sandbox.d.ts +109 -8
- package/dist/utils/sandbox.js +981 -187
- package/dist/utils/shell.d.ts +2 -0
- package/dist/utils/shell.js +10 -4
- package/dist/utils/subprocess_env.d.ts +47 -11
- package/dist/utils/subprocess_env.js +107 -15
- package/dist/utils/system_ps.d.ts +8 -0
- package/dist/utils/system_ps.js +39 -7
- package/dist/utils/unattended_compaction.d.ts +9 -0
- package/dist/utils/unattended_compaction.js +13 -0
- package/dist/utils/ztc_own_state.d.ts +8 -5
- package/dist/utils/ztc_own_state.js +17 -11
- package/dist/web/mirror_client.js +1 -0
- package/dist/web/mirror_stream.d.ts +50 -6
- package/dist/web/mirror_stream.js +160 -15
- package/dist/workflows/registry.js +3 -1
- package/dist/workspace/controller.js +12 -0
- package/dist/workspace_collision.d.ts +3 -0
- package/dist/workspace_collision.js +14 -1
- package/dist/workspace_session_context.js +2 -1
- package/dist/zlm-embed.mjs +3823 -1970
- package/node_modules/@zerg/model-contracts/README.md +16 -4
- package/node_modules/@zerg/model-contracts/index.js +6 -1
- package/npm-shrinkwrap.json +1 -1
- package/package.json +42 -24
- package/packages/model-contracts/README.md +16 -4
- package/packages/model-contracts/index.js +6 -1
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { clockLabel, type LivingPerson, type
|
|
2
|
-
export declare const PRESSING_MINUTES = 240;
|
|
1
|
+
import { clockLabel, type LivingPerson, type LivingStateRaw } from './types.js';
|
|
3
2
|
export declare const PRESSING_IMPORTANCE = 6;
|
|
4
3
|
export declare const MIND_SLICE = 8;
|
|
5
4
|
export declare const SCENE_SLICE = 32;
|
|
6
5
|
export { clockLabel };
|
|
7
|
-
export declare function personLabel(state:
|
|
8
|
-
export declare function describeScene(state:
|
|
6
|
+
export declare function personLabel(state: LivingStateRaw, personId: string): string;
|
|
7
|
+
export declare function describeScene(state: LivingStateRaw, placeId: string, viewerId: string | null, kept?: ReadonlySet<string>): {
|
|
9
8
|
id: string;
|
|
10
9
|
name: string;
|
|
11
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
12
10
|
summary: string;
|
|
13
11
|
conditions: string[];
|
|
14
12
|
people: {
|
|
@@ -18,6 +16,11 @@ export declare function describeScene(state: LivingState, placeId: string, viewe
|
|
|
18
16
|
doing: string | null;
|
|
19
17
|
held: null;
|
|
20
18
|
incapacitated: boolean;
|
|
19
|
+
numbers: {
|
|
20
|
+
slot: string;
|
|
21
|
+
unit: string;
|
|
22
|
+
amount: number;
|
|
23
|
+
}[];
|
|
21
24
|
arrived?: string | undefined;
|
|
22
25
|
id: string;
|
|
23
26
|
name: string;
|
|
@@ -42,14 +45,29 @@ export declare function describeScene(state: LivingState, placeId: string, viewe
|
|
|
42
45
|
when: string;
|
|
43
46
|
what: string;
|
|
44
47
|
} | undefined;
|
|
48
|
+
numbers?: {
|
|
49
|
+
slot: string;
|
|
50
|
+
unit: string;
|
|
51
|
+
amount: number;
|
|
52
|
+
}[] | undefined;
|
|
45
53
|
properties: {
|
|
46
|
-
[k: string]: string | number | boolean |
|
|
54
|
+
[k: string]: string | number | boolean | {
|
|
55
|
+
option: string;
|
|
56
|
+
personId: string;
|
|
57
|
+
at: number;
|
|
58
|
+
seq: number;
|
|
59
|
+
}[] | undefined;
|
|
47
60
|
};
|
|
48
61
|
relations: {
|
|
49
62
|
[k: string]: string;
|
|
50
63
|
};
|
|
51
|
-
|
|
64
|
+
marks?: {
|
|
65
|
+
kind: string;
|
|
66
|
+
by: string;
|
|
67
|
+
at: string;
|
|
68
|
+
}[] | undefined;
|
|
52
69
|
condition?: string | undefined;
|
|
70
|
+
holder?: string | undefined;
|
|
53
71
|
holderId?: string | null | undefined;
|
|
54
72
|
id: string;
|
|
55
73
|
kindId: string;
|
|
@@ -61,17 +79,17 @@ export declare function describeScene(state: LivingState, placeId: string, viewe
|
|
|
61
79
|
name: string;
|
|
62
80
|
}[];
|
|
63
81
|
};
|
|
64
|
-
export declare function recentEventsAt(state:
|
|
82
|
+
export declare function recentEventsAt(state: LivingStateRaw, placeId: string, limit: number, viewerId: string | null, exceptSeq?: number | null): {
|
|
65
83
|
at: string;
|
|
66
84
|
summary: string;
|
|
67
85
|
}[];
|
|
68
|
-
export declare function recentImportant(state:
|
|
86
|
+
export declare function recentImportant(state: LivingStateRaw, limit: number, shownHere?: ReadonlySet<number>): {
|
|
69
87
|
at: string;
|
|
70
88
|
place: string | null;
|
|
71
89
|
summary: string;
|
|
72
90
|
witnesses: string[];
|
|
73
91
|
}[];
|
|
74
|
-
export declare function openConversationAt(state:
|
|
92
|
+
export declare function openConversationAt(state: LivingStateRaw, placeId: string, participantId: string): {
|
|
75
93
|
id: string;
|
|
76
94
|
placeId: string;
|
|
77
95
|
participantIds: string[];
|
|
@@ -85,22 +103,22 @@ export declare function openConversationAt(state: LivingState, placeId: string,
|
|
|
85
103
|
toIds: string[];
|
|
86
104
|
}[];
|
|
87
105
|
} | null;
|
|
88
|
-
export declare function joinedPlaceSeq(state:
|
|
106
|
+
export declare function joinedPlaceSeq(state: LivingStateRaw, personId: string, placeId: string): number;
|
|
89
107
|
export declare const RECENT_LINES_MINUTES = 180;
|
|
90
|
-
export declare function recentLinesBy(state:
|
|
108
|
+
export declare function recentLinesBy(state: LivingStateRaw, personId: string, limit: number): {
|
|
91
109
|
seq: number;
|
|
92
110
|
at: number;
|
|
93
111
|
speakerId: string;
|
|
94
112
|
text: string;
|
|
95
113
|
toIds: string[];
|
|
96
114
|
}[];
|
|
97
|
-
export declare function conversationLines(state:
|
|
115
|
+
export declare function conversationLines(state: LivingStateRaw, placeId: string, participantId: string, limit: number): {
|
|
98
116
|
speaker: string;
|
|
99
117
|
speakerId: string;
|
|
100
118
|
to: string[];
|
|
101
119
|
text: string;
|
|
102
120
|
}[];
|
|
103
|
-
export declare function worldDirectory(state:
|
|
121
|
+
export declare function worldDirectory(state: LivingStateRaw, placeId: string): {
|
|
104
122
|
factsAsOf?: string | undefined;
|
|
105
123
|
elsewhere: {
|
|
106
124
|
id: string;
|
|
@@ -109,8 +127,7 @@ export declare function worldDirectory(state: LivingState, placeId: string): {
|
|
|
109
127
|
objects: {
|
|
110
128
|
id: string;
|
|
111
129
|
name: string;
|
|
112
|
-
|
|
113
|
-
holderId: string | null;
|
|
130
|
+
containerId: string | null;
|
|
114
131
|
ownerId: string | null;
|
|
115
132
|
condition: string;
|
|
116
133
|
singlePersonMovable: boolean;
|
|
@@ -126,7 +143,7 @@ export declare function worldDirectory(state: LivingState, placeId: string): {
|
|
|
126
143
|
summary: string;
|
|
127
144
|
}[];
|
|
128
145
|
facts: string[];
|
|
129
|
-
|
|
146
|
+
offstage?: {
|
|
130
147
|
id: string;
|
|
131
148
|
name: string;
|
|
132
149
|
where: string;
|
|
@@ -134,1010 +151,35 @@ export declare function worldDirectory(state: LivingState, placeId: string): {
|
|
|
134
151
|
places: {
|
|
135
152
|
id: string;
|
|
136
153
|
name: string;
|
|
137
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
138
154
|
connections: string[];
|
|
139
155
|
conditions: string[];
|
|
140
|
-
}[];
|
|
141
|
-
people: {
|
|
142
|
-
id: string;
|
|
143
|
-
name: string;
|
|
144
|
-
role: string;
|
|
145
|
-
pronouns: string;
|
|
146
|
-
placeId: string;
|
|
147
|
-
isPlayer: boolean;
|
|
148
|
-
incapacitated: boolean;
|
|
149
|
-
}[];
|
|
150
|
-
};
|
|
151
|
-
export declare function gameMasterAttemptInput(state: LivingState, actorId: string, attempt: string, previousErrors?: readonly string[], _fitted?: boolean, finishing?: {
|
|
152
|
-
begunAt: string;
|
|
153
|
-
changed: readonly string[];
|
|
154
|
-
}, focusIds?: readonly string[]): {
|
|
155
|
-
previousErrors?: string[] | undefined;
|
|
156
|
-
requests: {
|
|
157
|
-
id: string;
|
|
158
|
-
toId: string;
|
|
159
|
-
topic: string;
|
|
160
|
-
status: "refused" | "done" | "open" | "answered";
|
|
161
|
-
}[];
|
|
162
|
-
recentHere: {
|
|
163
|
-
at: string;
|
|
164
|
-
summary: string;
|
|
165
|
-
}[];
|
|
166
|
-
recentSerious: {
|
|
167
|
-
at: string;
|
|
168
|
-
place: string | null;
|
|
169
|
-
summary: string;
|
|
170
|
-
witnesses: string[];
|
|
171
|
-
}[];
|
|
172
|
-
world: {
|
|
173
|
-
factsAsOf?: string | undefined;
|
|
174
|
-
elsewhere: {
|
|
175
|
-
id: string;
|
|
176
|
-
name: string;
|
|
177
|
-
}[];
|
|
178
|
-
objects: {
|
|
179
|
-
id: string;
|
|
180
|
-
name: string;
|
|
181
|
-
placeId: string | null;
|
|
182
|
-
holderId: string | null;
|
|
183
|
-
ownerId: string | null;
|
|
184
|
-
condition: string;
|
|
185
|
-
singlePersonMovable: boolean;
|
|
186
|
-
}[];
|
|
187
|
-
tensions: {
|
|
188
|
-
participants: {
|
|
189
|
-
id: string;
|
|
190
|
-
name: string;
|
|
191
|
-
}[];
|
|
192
|
-
openedBy?: string | undefined;
|
|
193
|
-
id: string;
|
|
194
|
-
title: string;
|
|
195
|
-
summary: string;
|
|
196
|
-
}[];
|
|
197
|
-
facts: string[];
|
|
198
|
-
away?: {
|
|
199
|
-
id: string;
|
|
200
|
-
name: string;
|
|
201
|
-
where: string;
|
|
202
|
-
}[] | undefined;
|
|
203
|
-
places: {
|
|
204
|
-
id: string;
|
|
205
|
-
name: string;
|
|
206
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
207
|
-
connections: string[];
|
|
208
|
-
conditions: string[];
|
|
209
|
-
}[];
|
|
210
|
-
people: {
|
|
211
|
-
id: string;
|
|
212
|
-
name: string;
|
|
213
|
-
role: string;
|
|
214
|
-
pronouns: string;
|
|
215
|
-
placeId: string;
|
|
216
|
-
isPlayer: boolean;
|
|
217
|
-
incapacitated: boolean;
|
|
218
|
-
}[];
|
|
219
|
-
};
|
|
220
|
-
possiblePerceiverIds: string[];
|
|
221
|
-
presentCharacterIds: string[];
|
|
222
|
-
textWrites?: "add";
|
|
223
|
-
kinds: {
|
|
224
|
-
id: string;
|
|
225
|
-
name: string;
|
|
226
|
-
meaning: string;
|
|
227
|
-
properties: {
|
|
228
|
-
id: string;
|
|
229
|
-
type: "number" | "id" | "text" | "flag" | "level" | "time";
|
|
230
|
-
requiredOnCreate?: boolean | undefined;
|
|
231
|
-
}[];
|
|
232
|
-
relations: {
|
|
233
|
-
id: string;
|
|
234
|
-
targetKindId: string;
|
|
235
|
-
}[];
|
|
236
|
-
mechanics: ({
|
|
237
|
-
kind: "spread";
|
|
238
|
-
propertyId: string;
|
|
239
|
-
relationId: string;
|
|
240
|
-
} | {
|
|
241
|
-
kind: "signal";
|
|
242
|
-
propertyId: string;
|
|
243
|
-
relationId: string;
|
|
244
|
-
channel: string;
|
|
245
|
-
} | {
|
|
246
|
-
kind: "change";
|
|
247
|
-
propertyId: string;
|
|
248
|
-
deltaPerMinute: number;
|
|
249
|
-
onEvent?: {
|
|
250
|
-
kind: "move";
|
|
251
|
-
subjectPropertyId: string;
|
|
252
|
-
value: string | number | boolean;
|
|
253
|
-
} | undefined;
|
|
254
|
-
} | {
|
|
255
|
-
kind: "trigger";
|
|
256
|
-
propertyId: string;
|
|
257
|
-
threshold: number;
|
|
258
|
-
direction: "at-least" | "at-most";
|
|
259
|
-
intent: string;
|
|
260
|
-
delayMinutes: number;
|
|
261
|
-
minImportance?: number | undefined;
|
|
262
|
-
} | {
|
|
263
|
-
kind: "gate";
|
|
264
|
-
propertyId: string;
|
|
265
|
-
subjectPropertyId: string;
|
|
266
|
-
blockedActionKinds: string[];
|
|
267
|
-
atLeast?: "none" | "low" | "medium" | "high" | undefined;
|
|
268
|
-
} | {
|
|
269
|
-
kind: "norm";
|
|
270
|
-
actionKind: string;
|
|
271
|
-
roleId: string | null;
|
|
272
|
-
forbidden: boolean;
|
|
273
|
-
} | {
|
|
274
|
-
kind: "authority";
|
|
275
|
-
roleId: string;
|
|
276
|
-
relationId: string | null;
|
|
277
|
-
propertyId: string | null;
|
|
278
|
-
})[];
|
|
279
|
-
}[];
|
|
280
|
-
promises?: undefined;
|
|
281
|
-
deadlines?: {
|
|
282
|
-
what: string;
|
|
283
|
-
due: string;
|
|
284
|
-
minutesLeft?: number;
|
|
285
|
-
minutesPast?: number;
|
|
286
|
-
outcome?: string;
|
|
287
|
-
averted?: boolean;
|
|
288
|
-
}[];
|
|
289
|
-
money?: undefined;
|
|
290
|
-
scene: {
|
|
291
|
-
id: string;
|
|
292
|
-
name: string;
|
|
293
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
294
|
-
summary: string;
|
|
295
|
-
conditions: string[];
|
|
296
|
-
people: {
|
|
297
|
-
holding: string[];
|
|
298
|
-
mood: null;
|
|
299
|
-
condition: string | null;
|
|
300
|
-
doing: string | null;
|
|
301
|
-
held: null;
|
|
302
|
-
incapacitated: boolean;
|
|
303
|
-
arrived?: string | undefined;
|
|
304
|
-
id: string;
|
|
305
|
-
name: string;
|
|
306
|
-
role: string;
|
|
307
|
-
pronouns: string;
|
|
308
|
-
summary: string;
|
|
309
|
-
}[];
|
|
310
|
-
objects: {
|
|
311
|
-
refereeOnly?: {
|
|
312
|
-
when: string;
|
|
313
|
-
what: string;
|
|
314
|
-
} | undefined;
|
|
315
|
-
id: string;
|
|
316
|
-
name: string;
|
|
317
|
-
summary: string;
|
|
318
|
-
condition: string;
|
|
319
|
-
singlePersonMovable: boolean;
|
|
320
|
-
ownerName: string | null;
|
|
321
|
-
}[];
|
|
322
|
-
entities: {
|
|
323
|
-
refereeOnly?: {
|
|
324
|
-
when: string;
|
|
325
|
-
what: string;
|
|
326
|
-
} | undefined;
|
|
327
|
-
properties: {
|
|
328
|
-
[k: string]: string | number | boolean | undefined;
|
|
329
|
-
};
|
|
330
|
-
relations: {
|
|
331
|
-
[k: string]: string;
|
|
332
|
-
};
|
|
333
|
-
members?: string[] | undefined;
|
|
334
|
-
condition?: string | undefined;
|
|
335
|
-
holderId?: string | null | undefined;
|
|
336
|
-
id: string;
|
|
337
|
-
kindId: string;
|
|
338
|
-
kindName: string;
|
|
339
|
-
name: string;
|
|
340
|
-
}[];
|
|
341
|
-
exits: {
|
|
342
|
-
id: string;
|
|
343
|
-
name: string;
|
|
344
|
-
}[];
|
|
345
|
-
};
|
|
346
|
-
finishing?: {
|
|
347
|
-
begunAt: string;
|
|
348
|
-
changed: readonly string[];
|
|
349
|
-
note: string;
|
|
350
|
-
} | undefined;
|
|
351
|
-
phase: string;
|
|
352
|
-
clock: string;
|
|
353
|
-
clockMinutes: number;
|
|
354
|
-
setting: {
|
|
355
|
-
messages?: string;
|
|
356
|
-
world: string;
|
|
357
|
-
opening: {
|
|
358
|
-
asOf?: string | undefined;
|
|
359
|
-
title: string;
|
|
360
|
-
situation: string;
|
|
361
|
-
stakes: string;
|
|
362
|
-
};
|
|
363
|
-
};
|
|
364
|
-
actor: {
|
|
365
|
-
votes?: {
|
|
366
|
-
id: string;
|
|
367
|
-
question: string;
|
|
368
|
-
needed: number | null;
|
|
369
|
-
closes: string | null;
|
|
370
|
-
count: string | null;
|
|
371
|
-
}[];
|
|
372
|
-
id: string;
|
|
373
|
-
name: string;
|
|
374
|
-
role: string;
|
|
375
|
-
pronouns: string;
|
|
376
|
-
isPlayer: boolean;
|
|
377
|
-
money: number | null;
|
|
378
|
-
mood: string;
|
|
379
|
-
incapacitated: boolean;
|
|
380
|
-
holding: {
|
|
381
|
-
id: string;
|
|
382
|
-
name: string;
|
|
383
|
-
}[];
|
|
384
|
-
};
|
|
385
|
-
narrationVoice: string;
|
|
386
|
-
attempt: string;
|
|
387
|
-
actorSaid: {
|
|
388
|
-
at: string;
|
|
389
|
-
text: string;
|
|
390
|
-
}[];
|
|
391
|
-
} | {
|
|
392
|
-
previousErrors?: string[] | undefined;
|
|
393
|
-
requests: {
|
|
394
|
-
id: string;
|
|
395
|
-
toId: string;
|
|
396
|
-
topic: string;
|
|
397
|
-
status: "refused" | "done" | "open" | "answered";
|
|
398
|
-
}[];
|
|
399
|
-
recentHere: {
|
|
400
|
-
at: string;
|
|
401
|
-
summary: string;
|
|
402
|
-
}[];
|
|
403
|
-
recentSerious: {
|
|
404
|
-
at: string;
|
|
405
|
-
place: string | null;
|
|
406
|
-
summary: string;
|
|
407
|
-
witnesses: string[];
|
|
408
|
-
}[];
|
|
409
|
-
world: {
|
|
410
|
-
factsAsOf?: string | undefined;
|
|
411
|
-
elsewhere: {
|
|
412
|
-
id: string;
|
|
413
|
-
name: string;
|
|
414
|
-
}[];
|
|
415
|
-
objects: {
|
|
416
|
-
id: string;
|
|
417
|
-
name: string;
|
|
418
|
-
placeId: string | null;
|
|
419
|
-
holderId: string | null;
|
|
420
|
-
ownerId: string | null;
|
|
421
|
-
condition: string;
|
|
422
|
-
singlePersonMovable: boolean;
|
|
423
|
-
}[];
|
|
424
|
-
tensions: {
|
|
425
|
-
participants: {
|
|
426
|
-
id: string;
|
|
427
|
-
name: string;
|
|
428
|
-
}[];
|
|
429
|
-
openedBy?: string | undefined;
|
|
430
|
-
id: string;
|
|
431
|
-
title: string;
|
|
432
|
-
summary: string;
|
|
433
|
-
}[];
|
|
434
|
-
facts: string[];
|
|
435
|
-
away?: {
|
|
436
|
-
id: string;
|
|
437
|
-
name: string;
|
|
438
|
-
where: string;
|
|
439
|
-
}[] | undefined;
|
|
440
|
-
places: {
|
|
441
|
-
id: string;
|
|
442
|
-
name: string;
|
|
443
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
444
|
-
connections: string[];
|
|
445
|
-
conditions: string[];
|
|
446
|
-
}[];
|
|
447
|
-
people: {
|
|
448
|
-
id: string;
|
|
449
|
-
name: string;
|
|
450
|
-
role: string;
|
|
451
|
-
pronouns: string;
|
|
452
|
-
placeId: string;
|
|
453
|
-
isPlayer: boolean;
|
|
454
|
-
incapacitated: boolean;
|
|
455
|
-
}[];
|
|
456
|
-
};
|
|
457
|
-
possiblePerceiverIds: string[];
|
|
458
|
-
presentCharacterIds: string[];
|
|
459
|
-
textWrites?: "add";
|
|
460
|
-
kinds: {
|
|
461
|
-
id: string;
|
|
462
|
-
name: string;
|
|
463
|
-
meaning: string;
|
|
464
|
-
properties: {
|
|
465
|
-
id: string;
|
|
466
|
-
type: "number" | "id" | "text" | "flag" | "level" | "time";
|
|
467
|
-
requiredOnCreate?: boolean | undefined;
|
|
468
|
-
}[];
|
|
469
|
-
relations: {
|
|
470
|
-
id: string;
|
|
471
|
-
targetKindId: string;
|
|
472
|
-
}[];
|
|
473
|
-
mechanics: ({
|
|
474
|
-
kind: "spread";
|
|
475
|
-
propertyId: string;
|
|
476
|
-
relationId: string;
|
|
477
|
-
} | {
|
|
478
|
-
kind: "signal";
|
|
479
|
-
propertyId: string;
|
|
480
|
-
relationId: string;
|
|
481
|
-
channel: string;
|
|
482
|
-
} | {
|
|
483
|
-
kind: "change";
|
|
484
|
-
propertyId: string;
|
|
485
|
-
deltaPerMinute: number;
|
|
486
|
-
onEvent?: {
|
|
487
|
-
kind: "move";
|
|
488
|
-
subjectPropertyId: string;
|
|
489
|
-
value: string | number | boolean;
|
|
490
|
-
} | undefined;
|
|
491
|
-
} | {
|
|
492
|
-
kind: "trigger";
|
|
493
|
-
propertyId: string;
|
|
494
|
-
threshold: number;
|
|
495
|
-
direction: "at-least" | "at-most";
|
|
496
|
-
intent: string;
|
|
497
|
-
delayMinutes: number;
|
|
498
|
-
minImportance?: number | undefined;
|
|
499
|
-
} | {
|
|
500
|
-
kind: "gate";
|
|
501
|
-
propertyId: string;
|
|
502
|
-
subjectPropertyId: string;
|
|
503
|
-
blockedActionKinds: string[];
|
|
504
|
-
atLeast?: "none" | "low" | "medium" | "high" | undefined;
|
|
505
|
-
} | {
|
|
506
|
-
kind: "norm";
|
|
507
|
-
actionKind: string;
|
|
508
|
-
roleId: string | null;
|
|
509
|
-
forbidden: boolean;
|
|
510
|
-
} | {
|
|
511
|
-
kind: "authority";
|
|
512
|
-
roleId: string;
|
|
513
|
-
relationId: string | null;
|
|
514
|
-
propertyId: string | null;
|
|
515
|
-
})[];
|
|
516
|
-
}[];
|
|
517
|
-
promises: {
|
|
518
|
-
due?: string | undefined;
|
|
519
|
-
by: string;
|
|
520
|
-
to: string;
|
|
521
|
-
text: string;
|
|
522
|
-
}[];
|
|
523
|
-
deadlines?: {
|
|
524
|
-
what: string;
|
|
525
|
-
due: string;
|
|
526
|
-
minutesLeft?: number;
|
|
527
|
-
minutesPast?: number;
|
|
528
|
-
outcome?: string;
|
|
529
|
-
averted?: boolean;
|
|
530
|
-
}[];
|
|
531
|
-
money?: undefined;
|
|
532
|
-
scene: {
|
|
533
|
-
id: string;
|
|
534
|
-
name: string;
|
|
535
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
536
|
-
summary: string;
|
|
537
|
-
conditions: string[];
|
|
538
|
-
people: {
|
|
539
|
-
holding: string[];
|
|
540
|
-
mood: null;
|
|
541
|
-
condition: string | null;
|
|
542
|
-
doing: string | null;
|
|
543
|
-
held: null;
|
|
544
|
-
incapacitated: boolean;
|
|
545
|
-
arrived?: string | undefined;
|
|
546
|
-
id: string;
|
|
547
|
-
name: string;
|
|
548
|
-
role: string;
|
|
549
|
-
pronouns: string;
|
|
550
|
-
summary: string;
|
|
551
|
-
}[];
|
|
552
|
-
objects: {
|
|
553
|
-
refereeOnly?: {
|
|
554
|
-
when: string;
|
|
555
|
-
what: string;
|
|
556
|
-
} | undefined;
|
|
557
|
-
id: string;
|
|
558
|
-
name: string;
|
|
559
|
-
summary: string;
|
|
560
|
-
condition: string;
|
|
561
|
-
singlePersonMovable: boolean;
|
|
562
|
-
ownerName: string | null;
|
|
563
|
-
}[];
|
|
564
|
-
entities: {
|
|
565
|
-
refereeOnly?: {
|
|
566
|
-
when: string;
|
|
567
|
-
what: string;
|
|
568
|
-
} | undefined;
|
|
569
|
-
properties: {
|
|
570
|
-
[k: string]: string | number | boolean | undefined;
|
|
571
|
-
};
|
|
572
|
-
relations: {
|
|
573
|
-
[k: string]: string;
|
|
574
|
-
};
|
|
575
|
-
members?: string[] | undefined;
|
|
576
|
-
condition?: string | undefined;
|
|
577
|
-
holderId?: string | null | undefined;
|
|
578
|
-
id: string;
|
|
579
|
-
kindId: string;
|
|
580
|
-
kindName: string;
|
|
581
|
-
name: string;
|
|
582
|
-
}[];
|
|
583
|
-
exits: {
|
|
584
|
-
id: string;
|
|
585
|
-
name: string;
|
|
586
|
-
}[];
|
|
587
|
-
};
|
|
588
|
-
finishing?: {
|
|
589
|
-
begunAt: string;
|
|
590
|
-
changed: readonly string[];
|
|
591
|
-
note: string;
|
|
592
|
-
} | undefined;
|
|
593
|
-
phase: string;
|
|
594
|
-
clock: string;
|
|
595
|
-
clockMinutes: number;
|
|
596
|
-
setting: {
|
|
597
|
-
messages?: string;
|
|
598
|
-
world: string;
|
|
599
|
-
opening: {
|
|
600
|
-
asOf?: string | undefined;
|
|
601
|
-
title: string;
|
|
602
|
-
situation: string;
|
|
603
|
-
stakes: string;
|
|
604
|
-
};
|
|
605
|
-
};
|
|
606
|
-
actor: {
|
|
607
|
-
votes?: {
|
|
608
|
-
id: string;
|
|
609
|
-
question: string;
|
|
610
|
-
needed: number | null;
|
|
611
|
-
closes: string | null;
|
|
612
|
-
count: string | null;
|
|
613
|
-
}[];
|
|
614
|
-
id: string;
|
|
615
|
-
name: string;
|
|
616
|
-
role: string;
|
|
617
|
-
pronouns: string;
|
|
618
|
-
isPlayer: boolean;
|
|
619
|
-
money: number | null;
|
|
620
|
-
mood: string;
|
|
621
|
-
incapacitated: boolean;
|
|
622
|
-
holding: {
|
|
623
|
-
id: string;
|
|
624
|
-
name: string;
|
|
625
|
-
}[];
|
|
626
|
-
};
|
|
627
|
-
narrationVoice: string;
|
|
628
|
-
attempt: string;
|
|
629
|
-
actorSaid: {
|
|
630
|
-
at: string;
|
|
631
|
-
text: string;
|
|
632
|
-
}[];
|
|
633
|
-
} | {
|
|
634
|
-
previousErrors?: string[] | undefined;
|
|
635
|
-
requests: {
|
|
636
|
-
id: string;
|
|
637
|
-
toId: string;
|
|
638
|
-
topic: string;
|
|
639
|
-
status: "refused" | "done" | "open" | "answered";
|
|
640
|
-
}[];
|
|
641
|
-
recentHere: {
|
|
642
|
-
at: string;
|
|
643
|
-
summary: string;
|
|
644
|
-
}[];
|
|
645
|
-
recentSerious: {
|
|
646
|
-
at: string;
|
|
647
|
-
place: string | null;
|
|
648
|
-
summary: string;
|
|
649
|
-
witnesses: string[];
|
|
650
|
-
}[];
|
|
651
|
-
world: {
|
|
652
|
-
factsAsOf?: string | undefined;
|
|
653
|
-
elsewhere: {
|
|
654
|
-
id: string;
|
|
655
|
-
name: string;
|
|
656
|
-
}[];
|
|
657
|
-
objects: {
|
|
658
|
-
id: string;
|
|
659
|
-
name: string;
|
|
660
|
-
placeId: string | null;
|
|
661
|
-
holderId: string | null;
|
|
662
|
-
ownerId: string | null;
|
|
663
|
-
condition: string;
|
|
664
|
-
singlePersonMovable: boolean;
|
|
665
|
-
}[];
|
|
666
|
-
tensions: {
|
|
667
|
-
participants: {
|
|
668
|
-
id: string;
|
|
669
|
-
name: string;
|
|
670
|
-
}[];
|
|
671
|
-
openedBy?: string | undefined;
|
|
672
|
-
id: string;
|
|
673
|
-
title: string;
|
|
674
|
-
summary: string;
|
|
675
|
-
}[];
|
|
676
|
-
facts: string[];
|
|
677
|
-
away?: {
|
|
678
|
-
id: string;
|
|
679
|
-
name: string;
|
|
680
|
-
where: string;
|
|
681
|
-
}[] | undefined;
|
|
682
|
-
places: {
|
|
683
|
-
id: string;
|
|
684
|
-
name: string;
|
|
685
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
686
|
-
connections: string[];
|
|
687
|
-
conditions: string[];
|
|
688
|
-
}[];
|
|
689
|
-
people: {
|
|
690
|
-
id: string;
|
|
691
|
-
name: string;
|
|
692
|
-
role: string;
|
|
693
|
-
pronouns: string;
|
|
694
|
-
placeId: string;
|
|
695
|
-
isPlayer: boolean;
|
|
696
|
-
incapacitated: boolean;
|
|
697
|
-
}[];
|
|
698
|
-
};
|
|
699
|
-
possiblePerceiverIds: string[];
|
|
700
|
-
presentCharacterIds: string[];
|
|
701
|
-
textWrites?: "add";
|
|
702
|
-
kinds: {
|
|
703
|
-
id: string;
|
|
704
|
-
name: string;
|
|
705
|
-
meaning: string;
|
|
706
|
-
properties: {
|
|
707
|
-
id: string;
|
|
708
|
-
type: "number" | "id" | "text" | "flag" | "level" | "time";
|
|
709
|
-
requiredOnCreate?: boolean | undefined;
|
|
710
|
-
}[];
|
|
711
|
-
relations: {
|
|
712
|
-
id: string;
|
|
713
|
-
targetKindId: string;
|
|
714
|
-
}[];
|
|
715
|
-
mechanics: ({
|
|
716
|
-
kind: "spread";
|
|
717
|
-
propertyId: string;
|
|
718
|
-
relationId: string;
|
|
719
|
-
} | {
|
|
720
|
-
kind: "signal";
|
|
721
|
-
propertyId: string;
|
|
722
|
-
relationId: string;
|
|
723
|
-
channel: string;
|
|
724
|
-
} | {
|
|
725
|
-
kind: "change";
|
|
726
|
-
propertyId: string;
|
|
727
|
-
deltaPerMinute: number;
|
|
728
|
-
onEvent?: {
|
|
729
|
-
kind: "move";
|
|
730
|
-
subjectPropertyId: string;
|
|
731
|
-
value: string | number | boolean;
|
|
732
|
-
} | undefined;
|
|
733
|
-
} | {
|
|
734
|
-
kind: "trigger";
|
|
735
|
-
propertyId: string;
|
|
736
|
-
threshold: number;
|
|
737
|
-
direction: "at-least" | "at-most";
|
|
738
|
-
intent: string;
|
|
739
|
-
delayMinutes: number;
|
|
740
|
-
minImportance?: number | undefined;
|
|
741
|
-
} | {
|
|
742
|
-
kind: "gate";
|
|
743
|
-
propertyId: string;
|
|
744
|
-
subjectPropertyId: string;
|
|
745
|
-
blockedActionKinds: string[];
|
|
746
|
-
atLeast?: "none" | "low" | "medium" | "high" | undefined;
|
|
747
|
-
} | {
|
|
748
|
-
kind: "norm";
|
|
749
|
-
actionKind: string;
|
|
750
|
-
roleId: string | null;
|
|
751
|
-
forbidden: boolean;
|
|
752
|
-
} | {
|
|
753
|
-
kind: "authority";
|
|
754
|
-
roleId: string;
|
|
755
|
-
relationId: string | null;
|
|
756
|
-
propertyId: string | null;
|
|
757
|
-
})[];
|
|
758
|
-
}[];
|
|
759
|
-
promises?: undefined;
|
|
760
|
-
deadlines?: {
|
|
761
|
-
what: string;
|
|
762
|
-
due: string;
|
|
763
|
-
minutesLeft?: number;
|
|
764
|
-
minutesPast?: number;
|
|
765
|
-
outcome?: string;
|
|
766
|
-
averted?: boolean;
|
|
767
|
-
}[];
|
|
768
|
-
money: {
|
|
769
|
-
unit: string;
|
|
770
|
-
balances: {
|
|
771
|
-
id: string;
|
|
772
|
-
name: string;
|
|
773
|
-
balance: number;
|
|
774
|
-
}[];
|
|
775
|
-
};
|
|
776
|
-
scene: {
|
|
777
|
-
id: string;
|
|
778
|
-
name: string;
|
|
779
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
780
|
-
summary: string;
|
|
781
|
-
conditions: string[];
|
|
782
|
-
people: {
|
|
783
|
-
holding: string[];
|
|
784
|
-
mood: null;
|
|
785
|
-
condition: string | null;
|
|
786
|
-
doing: string | null;
|
|
787
|
-
held: null;
|
|
788
|
-
incapacitated: boolean;
|
|
789
|
-
arrived?: string | undefined;
|
|
790
|
-
id: string;
|
|
791
|
-
name: string;
|
|
792
|
-
role: string;
|
|
793
|
-
pronouns: string;
|
|
794
|
-
summary: string;
|
|
795
|
-
}[];
|
|
796
|
-
objects: {
|
|
797
|
-
refereeOnly?: {
|
|
798
|
-
when: string;
|
|
799
|
-
what: string;
|
|
800
|
-
} | undefined;
|
|
801
|
-
id: string;
|
|
802
|
-
name: string;
|
|
803
|
-
summary: string;
|
|
804
|
-
condition: string;
|
|
805
|
-
singlePersonMovable: boolean;
|
|
806
|
-
ownerName: string | null;
|
|
807
|
-
}[];
|
|
808
|
-
entities: {
|
|
809
|
-
refereeOnly?: {
|
|
810
|
-
when: string;
|
|
811
|
-
what: string;
|
|
812
|
-
} | undefined;
|
|
813
|
-
properties: {
|
|
814
|
-
[k: string]: string | number | boolean | undefined;
|
|
815
|
-
};
|
|
816
|
-
relations: {
|
|
817
|
-
[k: string]: string;
|
|
818
|
-
};
|
|
819
|
-
members?: string[] | undefined;
|
|
820
|
-
condition?: string | undefined;
|
|
821
|
-
holderId?: string | null | undefined;
|
|
822
|
-
id: string;
|
|
823
|
-
kindId: string;
|
|
824
|
-
kindName: string;
|
|
825
|
-
name: string;
|
|
826
|
-
}[];
|
|
827
|
-
exits: {
|
|
828
|
-
id: string;
|
|
829
|
-
name: string;
|
|
830
|
-
}[];
|
|
831
|
-
};
|
|
832
|
-
finishing?: {
|
|
833
|
-
begunAt: string;
|
|
834
|
-
changed: readonly string[];
|
|
835
|
-
note: string;
|
|
836
|
-
} | undefined;
|
|
837
|
-
phase: string;
|
|
838
|
-
clock: string;
|
|
839
|
-
clockMinutes: number;
|
|
840
|
-
setting: {
|
|
841
|
-
messages?: string;
|
|
842
|
-
world: string;
|
|
843
|
-
opening: {
|
|
844
|
-
asOf?: string | undefined;
|
|
845
|
-
title: string;
|
|
846
|
-
situation: string;
|
|
847
|
-
stakes: string;
|
|
848
|
-
};
|
|
849
|
-
};
|
|
850
|
-
actor: {
|
|
851
|
-
votes?: {
|
|
852
|
-
id: string;
|
|
853
|
-
question: string;
|
|
854
|
-
needed: number | null;
|
|
855
|
-
closes: string | null;
|
|
856
|
-
count: string | null;
|
|
857
|
-
}[];
|
|
858
|
-
id: string;
|
|
859
|
-
name: string;
|
|
860
|
-
role: string;
|
|
861
|
-
pronouns: string;
|
|
862
|
-
isPlayer: boolean;
|
|
863
|
-
money: number | null;
|
|
864
|
-
mood: string;
|
|
865
|
-
incapacitated: boolean;
|
|
866
|
-
holding: {
|
|
867
|
-
id: string;
|
|
868
|
-
name: string;
|
|
869
|
-
}[];
|
|
870
|
-
};
|
|
871
|
-
narrationVoice: string;
|
|
872
|
-
attempt: string;
|
|
873
|
-
actorSaid: {
|
|
874
|
-
at: string;
|
|
875
|
-
text: string;
|
|
876
|
-
}[];
|
|
877
|
-
} | {
|
|
878
|
-
previousErrors?: string[] | undefined;
|
|
879
|
-
requests: {
|
|
880
|
-
id: string;
|
|
881
|
-
toId: string;
|
|
882
|
-
topic: string;
|
|
883
|
-
status: "refused" | "done" | "open" | "answered";
|
|
884
|
-
}[];
|
|
885
|
-
recentHere: {
|
|
886
|
-
at: string;
|
|
887
|
-
summary: string;
|
|
888
|
-
}[];
|
|
889
|
-
recentSerious: {
|
|
890
|
-
at: string;
|
|
891
|
-
place: string | null;
|
|
892
|
-
summary: string;
|
|
893
|
-
witnesses: string[];
|
|
894
|
-
}[];
|
|
895
|
-
world: {
|
|
896
|
-
factsAsOf?: string | undefined;
|
|
897
|
-
elsewhere: {
|
|
898
|
-
id: string;
|
|
899
|
-
name: string;
|
|
900
|
-
}[];
|
|
901
|
-
objects: {
|
|
902
|
-
id: string;
|
|
903
|
-
name: string;
|
|
904
|
-
placeId: string | null;
|
|
905
|
-
holderId: string | null;
|
|
906
|
-
ownerId: string | null;
|
|
907
|
-
condition: string;
|
|
908
|
-
singlePersonMovable: boolean;
|
|
909
|
-
}[];
|
|
910
|
-
tensions: {
|
|
911
|
-
participants: {
|
|
912
|
-
id: string;
|
|
913
|
-
name: string;
|
|
914
|
-
}[];
|
|
915
|
-
openedBy?: string | undefined;
|
|
916
|
-
id: string;
|
|
917
|
-
title: string;
|
|
918
|
-
summary: string;
|
|
919
|
-
}[];
|
|
920
|
-
facts: string[];
|
|
921
|
-
away?: {
|
|
922
|
-
id: string;
|
|
923
|
-
name: string;
|
|
924
|
-
where: string;
|
|
925
|
-
}[] | undefined;
|
|
926
|
-
places: {
|
|
927
|
-
id: string;
|
|
928
|
-
name: string;
|
|
929
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
930
|
-
connections: string[];
|
|
931
|
-
conditions: string[];
|
|
932
|
-
}[];
|
|
933
|
-
people: {
|
|
934
|
-
id: string;
|
|
935
|
-
name: string;
|
|
936
|
-
role: string;
|
|
937
|
-
pronouns: string;
|
|
938
|
-
placeId: string;
|
|
939
|
-
isPlayer: boolean;
|
|
940
|
-
incapacitated: boolean;
|
|
941
|
-
}[];
|
|
942
|
-
};
|
|
943
|
-
possiblePerceiverIds: string[];
|
|
944
|
-
presentCharacterIds: string[];
|
|
945
|
-
textWrites?: "add";
|
|
946
|
-
kinds: {
|
|
947
|
-
id: string;
|
|
948
|
-
name: string;
|
|
949
|
-
meaning: string;
|
|
950
|
-
properties: {
|
|
951
|
-
id: string;
|
|
952
|
-
type: "number" | "id" | "text" | "flag" | "level" | "time";
|
|
953
|
-
requiredOnCreate?: boolean | undefined;
|
|
954
|
-
}[];
|
|
955
|
-
relations: {
|
|
956
|
-
id: string;
|
|
957
|
-
targetKindId: string;
|
|
958
|
-
}[];
|
|
959
|
-
mechanics: ({
|
|
960
|
-
kind: "spread";
|
|
961
|
-
propertyId: string;
|
|
962
|
-
relationId: string;
|
|
963
|
-
} | {
|
|
964
|
-
kind: "signal";
|
|
965
|
-
propertyId: string;
|
|
966
|
-
relationId: string;
|
|
967
|
-
channel: string;
|
|
968
|
-
} | {
|
|
969
|
-
kind: "change";
|
|
970
|
-
propertyId: string;
|
|
971
|
-
deltaPerMinute: number;
|
|
972
|
-
onEvent?: {
|
|
973
|
-
kind: "move";
|
|
974
|
-
subjectPropertyId: string;
|
|
975
|
-
value: string | number | boolean;
|
|
976
|
-
} | undefined;
|
|
977
|
-
} | {
|
|
978
|
-
kind: "trigger";
|
|
979
|
-
propertyId: string;
|
|
980
|
-
threshold: number;
|
|
981
|
-
direction: "at-least" | "at-most";
|
|
982
|
-
intent: string;
|
|
983
|
-
delayMinutes: number;
|
|
984
|
-
minImportance?: number | undefined;
|
|
985
|
-
} | {
|
|
986
|
-
kind: "gate";
|
|
987
|
-
propertyId: string;
|
|
988
|
-
subjectPropertyId: string;
|
|
989
|
-
blockedActionKinds: string[];
|
|
990
|
-
atLeast?: "none" | "low" | "medium" | "high" | undefined;
|
|
991
|
-
} | {
|
|
992
|
-
kind: "norm";
|
|
993
|
-
actionKind: string;
|
|
994
|
-
roleId: string | null;
|
|
995
|
-
forbidden: boolean;
|
|
996
|
-
} | {
|
|
997
|
-
kind: "authority";
|
|
998
|
-
roleId: string;
|
|
999
|
-
relationId: string | null;
|
|
1000
|
-
propertyId: string | null;
|
|
1001
|
-
})[];
|
|
1002
|
-
}[];
|
|
1003
|
-
promises: {
|
|
1004
|
-
due?: string | undefined;
|
|
1005
|
-
by: string;
|
|
1006
|
-
to: string;
|
|
1007
|
-
text: string;
|
|
1008
|
-
}[];
|
|
1009
|
-
deadlines?: {
|
|
1010
|
-
what: string;
|
|
1011
|
-
due: string;
|
|
1012
|
-
minutesLeft?: number;
|
|
1013
|
-
minutesPast?: number;
|
|
1014
|
-
outcome?: string;
|
|
1015
|
-
averted?: boolean;
|
|
1016
|
-
}[];
|
|
1017
|
-
money: {
|
|
1018
|
-
unit: string;
|
|
1019
|
-
balances: {
|
|
1020
|
-
id: string;
|
|
1021
|
-
name: string;
|
|
1022
|
-
balance: number;
|
|
1023
|
-
}[];
|
|
1024
|
-
};
|
|
1025
|
-
scene: {
|
|
1026
|
-
id: string;
|
|
1027
|
-
name: string;
|
|
1028
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
1029
|
-
summary: string;
|
|
1030
|
-
conditions: string[];
|
|
1031
|
-
people: {
|
|
1032
|
-
holding: string[];
|
|
1033
|
-
mood: null;
|
|
1034
|
-
condition: string | null;
|
|
1035
|
-
doing: string | null;
|
|
1036
|
-
held: null;
|
|
1037
|
-
incapacitated: boolean;
|
|
1038
|
-
arrived?: string | undefined;
|
|
1039
|
-
id: string;
|
|
1040
|
-
name: string;
|
|
1041
|
-
role: string;
|
|
1042
|
-
pronouns: string;
|
|
1043
|
-
summary: string;
|
|
1044
|
-
}[];
|
|
1045
|
-
objects: {
|
|
1046
|
-
refereeOnly?: {
|
|
1047
|
-
when: string;
|
|
1048
|
-
what: string;
|
|
1049
|
-
} | undefined;
|
|
1050
|
-
id: string;
|
|
1051
|
-
name: string;
|
|
1052
|
-
summary: string;
|
|
1053
|
-
condition: string;
|
|
1054
|
-
singlePersonMovable: boolean;
|
|
1055
|
-
ownerName: string | null;
|
|
1056
|
-
}[];
|
|
1057
|
-
entities: {
|
|
1058
|
-
refereeOnly?: {
|
|
1059
|
-
when: string;
|
|
1060
|
-
what: string;
|
|
1061
|
-
} | undefined;
|
|
1062
|
-
properties: {
|
|
1063
|
-
[k: string]: string | number | boolean | undefined;
|
|
1064
|
-
};
|
|
1065
|
-
relations: {
|
|
1066
|
-
[k: string]: string;
|
|
1067
|
-
};
|
|
1068
|
-
members?: string[] | undefined;
|
|
1069
|
-
condition?: string | undefined;
|
|
1070
|
-
holderId?: string | null | undefined;
|
|
1071
|
-
id: string;
|
|
1072
|
-
kindId: string;
|
|
1073
|
-
kindName: string;
|
|
1074
|
-
name: string;
|
|
1075
|
-
}[];
|
|
1076
|
-
exits: {
|
|
1077
|
-
id: string;
|
|
1078
|
-
name: string;
|
|
1079
|
-
}[];
|
|
1080
|
-
};
|
|
1081
|
-
finishing?: {
|
|
1082
|
-
begunAt: string;
|
|
1083
|
-
changed: readonly string[];
|
|
1084
|
-
note: string;
|
|
1085
|
-
} | undefined;
|
|
1086
|
-
phase: string;
|
|
1087
|
-
clock: string;
|
|
1088
|
-
clockMinutes: number;
|
|
1089
|
-
setting: {
|
|
1090
|
-
messages?: string;
|
|
1091
|
-
world: string;
|
|
1092
|
-
opening: {
|
|
1093
|
-
asOf?: string | undefined;
|
|
1094
|
-
title: string;
|
|
1095
|
-
situation: string;
|
|
1096
|
-
stakes: string;
|
|
1097
|
-
};
|
|
1098
|
-
};
|
|
1099
|
-
actor: {
|
|
1100
|
-
votes?: {
|
|
1101
|
-
id: string;
|
|
1102
|
-
question: string;
|
|
1103
|
-
needed: number | null;
|
|
1104
|
-
closes: string | null;
|
|
1105
|
-
count: string | null;
|
|
1106
|
-
}[];
|
|
156
|
+
}[];
|
|
157
|
+
people: {
|
|
1107
158
|
id: string;
|
|
1108
159
|
name: string;
|
|
1109
160
|
role: string;
|
|
1110
161
|
pronouns: string;
|
|
162
|
+
placeId: string;
|
|
1111
163
|
isPlayer: boolean;
|
|
1112
|
-
money: number | null;
|
|
1113
|
-
mood: string;
|
|
1114
164
|
incapacitated: boolean;
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
165
|
+
numbers: {
|
|
166
|
+
slot: string;
|
|
167
|
+
unit: string;
|
|
168
|
+
amount: number;
|
|
1118
169
|
}[];
|
|
1119
|
-
};
|
|
1120
|
-
narrationVoice: string;
|
|
1121
|
-
attempt: string;
|
|
1122
|
-
actorSaid: {
|
|
1123
|
-
at: string;
|
|
1124
|
-
text: string;
|
|
1125
170
|
}[];
|
|
1126
171
|
};
|
|
1127
|
-
export declare function
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
}[]
|
|
1131
|
-
export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
1132
|
-
intent: string;
|
|
1133
|
-
placeId: string;
|
|
1134
|
-
sourceSeq: number;
|
|
1135
|
-
everyMinutes?: number;
|
|
1136
|
-
targetId?: string | null;
|
|
1137
|
-
id?: string;
|
|
1138
|
-
alreadyTrue?: readonly string[];
|
|
1139
|
-
}, previousErrors?: readonly string[], _fitted?: boolean, focusIds?: readonly string[]): {
|
|
172
|
+
export declare function gameMasterAttemptInput(state: LivingStateRaw, actorId: string, attempt: string, previousErrors?: readonly string[], _fitted?: boolean, finishing?: {
|
|
173
|
+
begunAt: string;
|
|
174
|
+
changed: readonly string[];
|
|
175
|
+
}, focusIds?: readonly string[]): {
|
|
1140
176
|
previousErrors?: string[] | undefined;
|
|
177
|
+
requests: {
|
|
178
|
+
id: string;
|
|
179
|
+
toId: string;
|
|
180
|
+
topic: string;
|
|
181
|
+
status: "refused" | "done" | "open" | "accepted" | "answered";
|
|
182
|
+
}[];
|
|
1141
183
|
recentHere: {
|
|
1142
184
|
at: string;
|
|
1143
185
|
summary: string;
|
|
@@ -1157,8 +199,7 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1157
199
|
objects: {
|
|
1158
200
|
id: string;
|
|
1159
201
|
name: string;
|
|
1160
|
-
|
|
1161
|
-
holderId: string | null;
|
|
202
|
+
containerId: string | null;
|
|
1162
203
|
ownerId: string | null;
|
|
1163
204
|
condition: string;
|
|
1164
205
|
singlePersonMovable: boolean;
|
|
@@ -1174,7 +215,7 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1174
215
|
summary: string;
|
|
1175
216
|
}[];
|
|
1176
217
|
facts: string[];
|
|
1177
|
-
|
|
218
|
+
offstage?: {
|
|
1178
219
|
id: string;
|
|
1179
220
|
name: string;
|
|
1180
221
|
where: string;
|
|
@@ -1182,7 +223,6 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1182
223
|
places: {
|
|
1183
224
|
id: string;
|
|
1184
225
|
name: string;
|
|
1185
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
1186
226
|
connections: string[];
|
|
1187
227
|
conditions: string[];
|
|
1188
228
|
}[];
|
|
@@ -1194,19 +234,42 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1194
234
|
placeId: string;
|
|
1195
235
|
isPlayer: boolean;
|
|
1196
236
|
incapacitated: boolean;
|
|
237
|
+
numbers: {
|
|
238
|
+
slot: string;
|
|
239
|
+
unit: string;
|
|
240
|
+
amount: number;
|
|
241
|
+
}[];
|
|
1197
242
|
}[];
|
|
1198
243
|
};
|
|
1199
244
|
possiblePerceiverIds: string[];
|
|
1200
245
|
presentCharacterIds: string[];
|
|
1201
246
|
textWrites?: "add";
|
|
247
|
+
channels: {
|
|
248
|
+
id: string;
|
|
249
|
+
notice: string;
|
|
250
|
+
reach: number;
|
|
251
|
+
namesKind?: boolean | undefined;
|
|
252
|
+
heard?: boolean | undefined;
|
|
253
|
+
}[];
|
|
254
|
+
ruleActionKinds: string[];
|
|
255
|
+
noted?: {
|
|
256
|
+
facet: string;
|
|
257
|
+
count: number;
|
|
258
|
+
kindId: string | null;
|
|
259
|
+
kind: string | null;
|
|
260
|
+
}[] | undefined;
|
|
1202
261
|
kinds: {
|
|
1203
262
|
id: string;
|
|
1204
263
|
name: string;
|
|
1205
264
|
meaning: string;
|
|
1206
265
|
properties: {
|
|
1207
266
|
id: string;
|
|
1208
|
-
type: "number" | "id" | "text" | "flag" | "level" | "time";
|
|
267
|
+
type: "number" | "id" | "text" | "flag" | "level" | "time" | "series";
|
|
268
|
+
options?: string[] | undefined;
|
|
269
|
+
perActor?: boolean | undefined;
|
|
270
|
+
sealedBy?: string | undefined;
|
|
1209
271
|
requiredOnCreate?: boolean | undefined;
|
|
272
|
+
target?: "tension" | undefined;
|
|
1210
273
|
}[];
|
|
1211
274
|
relations: {
|
|
1212
275
|
id: string;
|
|
@@ -1228,33 +291,16 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1228
291
|
onEvent?: {
|
|
1229
292
|
kind: "move";
|
|
1230
293
|
subjectPropertyId: string;
|
|
1231
|
-
value: string | number | boolean
|
|
294
|
+
value: string | number | boolean | {
|
|
295
|
+
option: string;
|
|
296
|
+
personId: string;
|
|
297
|
+
at: number;
|
|
298
|
+
seq: number;
|
|
299
|
+
}[];
|
|
1232
300
|
} | undefined;
|
|
1233
|
-
} | {
|
|
1234
|
-
kind: "trigger";
|
|
1235
|
-
propertyId: string;
|
|
1236
|
-
threshold: number;
|
|
1237
|
-
direction: "at-least" | "at-most";
|
|
1238
|
-
intent: string;
|
|
1239
|
-
delayMinutes: number;
|
|
1240
|
-
minImportance?: number | undefined;
|
|
1241
|
-
} | {
|
|
1242
|
-
kind: "gate";
|
|
1243
|
-
propertyId: string;
|
|
1244
|
-
subjectPropertyId: string;
|
|
1245
|
-
blockedActionKinds: string[];
|
|
1246
|
-
atLeast?: "none" | "low" | "medium" | "high" | undefined;
|
|
1247
|
-
} | {
|
|
1248
|
-
kind: "norm";
|
|
1249
|
-
actionKind: string;
|
|
1250
|
-
roleId: string | null;
|
|
1251
|
-
forbidden: boolean;
|
|
1252
|
-
} | {
|
|
1253
|
-
kind: "authority";
|
|
1254
|
-
roleId: string;
|
|
1255
|
-
relationId: string | null;
|
|
1256
|
-
propertyId: string | null;
|
|
1257
301
|
})[];
|
|
302
|
+
library?: boolean | undefined;
|
|
303
|
+
neverHeld?: boolean | undefined;
|
|
1258
304
|
}[];
|
|
1259
305
|
promises?: undefined;
|
|
1260
306
|
deadlines?: {
|
|
@@ -1265,16 +311,9 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1265
311
|
outcome?: string;
|
|
1266
312
|
averted?: boolean;
|
|
1267
313
|
}[];
|
|
1268
|
-
money?: undefined;
|
|
1269
|
-
cause: {
|
|
1270
|
-
at: string;
|
|
1271
|
-
summary: string;
|
|
1272
|
-
} | null;
|
|
1273
|
-
narrationVoice: string;
|
|
1274
314
|
scene: {
|
|
1275
315
|
id: string;
|
|
1276
316
|
name: string;
|
|
1277
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
1278
317
|
summary: string;
|
|
1279
318
|
conditions: string[];
|
|
1280
319
|
people: {
|
|
@@ -1284,6 +323,11 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1284
323
|
doing: string | null;
|
|
1285
324
|
held: null;
|
|
1286
325
|
incapacitated: boolean;
|
|
326
|
+
numbers: {
|
|
327
|
+
slot: string;
|
|
328
|
+
unit: string;
|
|
329
|
+
amount: number;
|
|
330
|
+
}[];
|
|
1287
331
|
arrived?: string | undefined;
|
|
1288
332
|
id: string;
|
|
1289
333
|
name: string;
|
|
@@ -1308,14 +352,29 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1308
352
|
when: string;
|
|
1309
353
|
what: string;
|
|
1310
354
|
} | undefined;
|
|
355
|
+
numbers?: {
|
|
356
|
+
slot: string;
|
|
357
|
+
unit: string;
|
|
358
|
+
amount: number;
|
|
359
|
+
}[] | undefined;
|
|
1311
360
|
properties: {
|
|
1312
|
-
[k: string]: string | number | boolean |
|
|
361
|
+
[k: string]: string | number | boolean | {
|
|
362
|
+
option: string;
|
|
363
|
+
personId: string;
|
|
364
|
+
at: number;
|
|
365
|
+
seq: number;
|
|
366
|
+
}[] | undefined;
|
|
1313
367
|
};
|
|
1314
368
|
relations: {
|
|
1315
369
|
[k: string]: string;
|
|
1316
370
|
};
|
|
1317
|
-
|
|
371
|
+
marks?: {
|
|
372
|
+
kind: string;
|
|
373
|
+
by: string;
|
|
374
|
+
at: string;
|
|
375
|
+
}[] | undefined;
|
|
1318
376
|
condition?: string | undefined;
|
|
377
|
+
holder?: string | undefined;
|
|
1319
378
|
holderId?: string | null | undefined;
|
|
1320
379
|
id: string;
|
|
1321
380
|
kindId: string;
|
|
@@ -1327,21 +386,11 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1327
386
|
name: string;
|
|
1328
387
|
}[];
|
|
1329
388
|
};
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
what: string;
|
|
1335
|
-
}[];
|
|
1336
|
-
} | undefined;
|
|
1337
|
-
about?: {
|
|
1338
|
-
id: string;
|
|
1339
|
-
name: string;
|
|
1340
|
-
kind: string;
|
|
1341
|
-
since?: string;
|
|
389
|
+
finishing?: {
|
|
390
|
+
begunAt: string;
|
|
391
|
+
changed: readonly string[];
|
|
392
|
+
note: string;
|
|
1342
393
|
} | undefined;
|
|
1343
|
-
happeningNote: string;
|
|
1344
|
-
nowTrue?: string[] | undefined;
|
|
1345
394
|
phase: string;
|
|
1346
395
|
clock: string;
|
|
1347
396
|
clockMinutes: number;
|
|
@@ -1355,9 +404,41 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1355
404
|
stakes: string;
|
|
1356
405
|
};
|
|
1357
406
|
};
|
|
1358
|
-
|
|
407
|
+
actor: {
|
|
408
|
+
choices?: {
|
|
409
|
+
id: string;
|
|
410
|
+
name: string;
|
|
411
|
+
slotId: string;
|
|
412
|
+
options: string[];
|
|
413
|
+
due: string | null;
|
|
414
|
+
until: string | null;
|
|
415
|
+
}[];
|
|
416
|
+
id: string;
|
|
417
|
+
name: string;
|
|
418
|
+
role: string;
|
|
419
|
+
pronouns: string;
|
|
420
|
+
isPlayer: boolean;
|
|
421
|
+
mood: string;
|
|
422
|
+
incapacitated: boolean;
|
|
423
|
+
holding: {
|
|
424
|
+
id: string;
|
|
425
|
+
name: string;
|
|
426
|
+
}[];
|
|
427
|
+
};
|
|
428
|
+
narrationVoice: string;
|
|
429
|
+
attempt: string;
|
|
430
|
+
actorSaid: {
|
|
431
|
+
at: string;
|
|
432
|
+
text: string;
|
|
433
|
+
}[];
|
|
1359
434
|
} | {
|
|
1360
435
|
previousErrors?: string[] | undefined;
|
|
436
|
+
requests: {
|
|
437
|
+
id: string;
|
|
438
|
+
toId: string;
|
|
439
|
+
topic: string;
|
|
440
|
+
status: "refused" | "done" | "open" | "accepted" | "answered";
|
|
441
|
+
}[];
|
|
1361
442
|
recentHere: {
|
|
1362
443
|
at: string;
|
|
1363
444
|
summary: string;
|
|
@@ -1377,8 +458,7 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1377
458
|
objects: {
|
|
1378
459
|
id: string;
|
|
1379
460
|
name: string;
|
|
1380
|
-
|
|
1381
|
-
holderId: string | null;
|
|
461
|
+
containerId: string | null;
|
|
1382
462
|
ownerId: string | null;
|
|
1383
463
|
condition: string;
|
|
1384
464
|
singlePersonMovable: boolean;
|
|
@@ -1394,7 +474,7 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1394
474
|
summary: string;
|
|
1395
475
|
}[];
|
|
1396
476
|
facts: string[];
|
|
1397
|
-
|
|
477
|
+
offstage?: {
|
|
1398
478
|
id: string;
|
|
1399
479
|
name: string;
|
|
1400
480
|
where: string;
|
|
@@ -1402,7 +482,6 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1402
482
|
places: {
|
|
1403
483
|
id: string;
|
|
1404
484
|
name: string;
|
|
1405
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
1406
485
|
connections: string[];
|
|
1407
486
|
conditions: string[];
|
|
1408
487
|
}[];
|
|
@@ -1414,19 +493,42 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1414
493
|
placeId: string;
|
|
1415
494
|
isPlayer: boolean;
|
|
1416
495
|
incapacitated: boolean;
|
|
496
|
+
numbers: {
|
|
497
|
+
slot: string;
|
|
498
|
+
unit: string;
|
|
499
|
+
amount: number;
|
|
500
|
+
}[];
|
|
1417
501
|
}[];
|
|
1418
502
|
};
|
|
1419
503
|
possiblePerceiverIds: string[];
|
|
1420
504
|
presentCharacterIds: string[];
|
|
1421
505
|
textWrites?: "add";
|
|
506
|
+
channels: {
|
|
507
|
+
id: string;
|
|
508
|
+
notice: string;
|
|
509
|
+
reach: number;
|
|
510
|
+
namesKind?: boolean | undefined;
|
|
511
|
+
heard?: boolean | undefined;
|
|
512
|
+
}[];
|
|
513
|
+
ruleActionKinds: string[];
|
|
514
|
+
noted?: {
|
|
515
|
+
facet: string;
|
|
516
|
+
count: number;
|
|
517
|
+
kindId: string | null;
|
|
518
|
+
kind: string | null;
|
|
519
|
+
}[] | undefined;
|
|
1422
520
|
kinds: {
|
|
1423
521
|
id: string;
|
|
1424
522
|
name: string;
|
|
1425
523
|
meaning: string;
|
|
1426
524
|
properties: {
|
|
1427
525
|
id: string;
|
|
1428
|
-
type: "number" | "id" | "text" | "flag" | "level" | "time";
|
|
526
|
+
type: "number" | "id" | "text" | "flag" | "level" | "time" | "series";
|
|
527
|
+
options?: string[] | undefined;
|
|
528
|
+
perActor?: boolean | undefined;
|
|
529
|
+
sealedBy?: string | undefined;
|
|
1429
530
|
requiredOnCreate?: boolean | undefined;
|
|
531
|
+
target?: "tension" | undefined;
|
|
1430
532
|
}[];
|
|
1431
533
|
relations: {
|
|
1432
534
|
id: string;
|
|
@@ -1448,33 +550,16 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1448
550
|
onEvent?: {
|
|
1449
551
|
kind: "move";
|
|
1450
552
|
subjectPropertyId: string;
|
|
1451
|
-
value: string | number | boolean
|
|
553
|
+
value: string | number | boolean | {
|
|
554
|
+
option: string;
|
|
555
|
+
personId: string;
|
|
556
|
+
at: number;
|
|
557
|
+
seq: number;
|
|
558
|
+
}[];
|
|
1452
559
|
} | undefined;
|
|
1453
|
-
} | {
|
|
1454
|
-
kind: "trigger";
|
|
1455
|
-
propertyId: string;
|
|
1456
|
-
threshold: number;
|
|
1457
|
-
direction: "at-least" | "at-most";
|
|
1458
|
-
intent: string;
|
|
1459
|
-
delayMinutes: number;
|
|
1460
|
-
minImportance?: number | undefined;
|
|
1461
|
-
} | {
|
|
1462
|
-
kind: "gate";
|
|
1463
|
-
propertyId: string;
|
|
1464
|
-
subjectPropertyId: string;
|
|
1465
|
-
blockedActionKinds: string[];
|
|
1466
|
-
atLeast?: "none" | "low" | "medium" | "high" | undefined;
|
|
1467
|
-
} | {
|
|
1468
|
-
kind: "norm";
|
|
1469
|
-
actionKind: string;
|
|
1470
|
-
roleId: string | null;
|
|
1471
|
-
forbidden: boolean;
|
|
1472
|
-
} | {
|
|
1473
|
-
kind: "authority";
|
|
1474
|
-
roleId: string;
|
|
1475
|
-
relationId: string | null;
|
|
1476
|
-
propertyId: string | null;
|
|
1477
560
|
})[];
|
|
561
|
+
library?: boolean | undefined;
|
|
562
|
+
neverHeld?: boolean | undefined;
|
|
1478
563
|
}[];
|
|
1479
564
|
promises: {
|
|
1480
565
|
due?: string | undefined;
|
|
@@ -1490,16 +575,9 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1490
575
|
outcome?: string;
|
|
1491
576
|
averted?: boolean;
|
|
1492
577
|
}[];
|
|
1493
|
-
money?: undefined;
|
|
1494
|
-
cause: {
|
|
1495
|
-
at: string;
|
|
1496
|
-
summary: string;
|
|
1497
|
-
} | null;
|
|
1498
|
-
narrationVoice: string;
|
|
1499
578
|
scene: {
|
|
1500
579
|
id: string;
|
|
1501
580
|
name: string;
|
|
1502
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
1503
581
|
summary: string;
|
|
1504
582
|
conditions: string[];
|
|
1505
583
|
people: {
|
|
@@ -1509,6 +587,11 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1509
587
|
doing: string | null;
|
|
1510
588
|
held: null;
|
|
1511
589
|
incapacitated: boolean;
|
|
590
|
+
numbers: {
|
|
591
|
+
slot: string;
|
|
592
|
+
unit: string;
|
|
593
|
+
amount: number;
|
|
594
|
+
}[];
|
|
1512
595
|
arrived?: string | undefined;
|
|
1513
596
|
id: string;
|
|
1514
597
|
name: string;
|
|
@@ -1533,14 +616,29 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1533
616
|
when: string;
|
|
1534
617
|
what: string;
|
|
1535
618
|
} | undefined;
|
|
619
|
+
numbers?: {
|
|
620
|
+
slot: string;
|
|
621
|
+
unit: string;
|
|
622
|
+
amount: number;
|
|
623
|
+
}[] | undefined;
|
|
1536
624
|
properties: {
|
|
1537
|
-
[k: string]: string | number | boolean |
|
|
625
|
+
[k: string]: string | number | boolean | {
|
|
626
|
+
option: string;
|
|
627
|
+
personId: string;
|
|
628
|
+
at: number;
|
|
629
|
+
seq: number;
|
|
630
|
+
}[] | undefined;
|
|
1538
631
|
};
|
|
1539
632
|
relations: {
|
|
1540
633
|
[k: string]: string;
|
|
1541
634
|
};
|
|
1542
|
-
|
|
635
|
+
marks?: {
|
|
636
|
+
kind: string;
|
|
637
|
+
by: string;
|
|
638
|
+
at: string;
|
|
639
|
+
}[] | undefined;
|
|
1543
640
|
condition?: string | undefined;
|
|
641
|
+
holder?: string | undefined;
|
|
1544
642
|
holderId?: string | null | undefined;
|
|
1545
643
|
id: string;
|
|
1546
644
|
kindId: string;
|
|
@@ -1552,21 +650,11 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1552
650
|
name: string;
|
|
1553
651
|
}[];
|
|
1554
652
|
};
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
what: string;
|
|
1560
|
-
}[];
|
|
1561
|
-
} | undefined;
|
|
1562
|
-
about?: {
|
|
1563
|
-
id: string;
|
|
1564
|
-
name: string;
|
|
1565
|
-
kind: string;
|
|
1566
|
-
since?: string;
|
|
653
|
+
finishing?: {
|
|
654
|
+
begunAt: string;
|
|
655
|
+
changed: readonly string[];
|
|
656
|
+
note: string;
|
|
1567
657
|
} | undefined;
|
|
1568
|
-
happeningNote: string;
|
|
1569
|
-
nowTrue?: string[] | undefined;
|
|
1570
658
|
phase: string;
|
|
1571
659
|
clock: string;
|
|
1572
660
|
clockMinutes: number;
|
|
@@ -1580,8 +668,57 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1580
668
|
stakes: string;
|
|
1581
669
|
};
|
|
1582
670
|
};
|
|
1583
|
-
|
|
1584
|
-
|
|
671
|
+
actor: {
|
|
672
|
+
choices?: {
|
|
673
|
+
id: string;
|
|
674
|
+
name: string;
|
|
675
|
+
slotId: string;
|
|
676
|
+
options: string[];
|
|
677
|
+
due: string | null;
|
|
678
|
+
until: string | null;
|
|
679
|
+
}[];
|
|
680
|
+
id: string;
|
|
681
|
+
name: string;
|
|
682
|
+
role: string;
|
|
683
|
+
pronouns: string;
|
|
684
|
+
isPlayer: boolean;
|
|
685
|
+
mood: string;
|
|
686
|
+
incapacitated: boolean;
|
|
687
|
+
holding: {
|
|
688
|
+
id: string;
|
|
689
|
+
name: string;
|
|
690
|
+
}[];
|
|
691
|
+
};
|
|
692
|
+
narrationVoice: string;
|
|
693
|
+
attempt: string;
|
|
694
|
+
actorSaid: {
|
|
695
|
+
at: string;
|
|
696
|
+
text: string;
|
|
697
|
+
}[];
|
|
698
|
+
};
|
|
699
|
+
type NumberState = Parameters<typeof describeScene>[0];
|
|
700
|
+
export declare function heldNumbers(state: NumberState, holderId: string): {
|
|
701
|
+
slot: string;
|
|
702
|
+
unit: string;
|
|
703
|
+
amount: number;
|
|
704
|
+
}[];
|
|
705
|
+
export declare function earlierTimes(state: LivingStateRaw, sourceSeq: number): {
|
|
706
|
+
at: string;
|
|
707
|
+
what: string;
|
|
708
|
+
}[];
|
|
709
|
+
export declare function gameMasterWorldInput(state: LivingStateRaw, happening: {
|
|
710
|
+
intent: string;
|
|
711
|
+
placeId: string;
|
|
712
|
+
sourceSeq: number;
|
|
713
|
+
everyMinutes?: number;
|
|
714
|
+
targetId?: string | null;
|
|
715
|
+
id?: string;
|
|
716
|
+
alreadyTrue?: readonly string[];
|
|
717
|
+
chain?: {
|
|
718
|
+
id: string;
|
|
719
|
+
link: number;
|
|
720
|
+
};
|
|
721
|
+
}, previousErrors?: readonly string[], _fitted?: boolean, focusIds?: readonly string[]): {
|
|
1585
722
|
previousErrors?: string[] | undefined;
|
|
1586
723
|
recentHere: {
|
|
1587
724
|
at: string;
|
|
@@ -1602,8 +739,7 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1602
739
|
objects: {
|
|
1603
740
|
id: string;
|
|
1604
741
|
name: string;
|
|
1605
|
-
|
|
1606
|
-
holderId: string | null;
|
|
742
|
+
containerId: string | null;
|
|
1607
743
|
ownerId: string | null;
|
|
1608
744
|
condition: string;
|
|
1609
745
|
singlePersonMovable: boolean;
|
|
@@ -1619,7 +755,7 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1619
755
|
summary: string;
|
|
1620
756
|
}[];
|
|
1621
757
|
facts: string[];
|
|
1622
|
-
|
|
758
|
+
offstage?: {
|
|
1623
759
|
id: string;
|
|
1624
760
|
name: string;
|
|
1625
761
|
where: string;
|
|
@@ -1627,7 +763,6 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1627
763
|
places: {
|
|
1628
764
|
id: string;
|
|
1629
765
|
name: string;
|
|
1630
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
1631
766
|
connections: string[];
|
|
1632
767
|
conditions: string[];
|
|
1633
768
|
}[];
|
|
@@ -1639,19 +774,41 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1639
774
|
placeId: string;
|
|
1640
775
|
isPlayer: boolean;
|
|
1641
776
|
incapacitated: boolean;
|
|
777
|
+
numbers: {
|
|
778
|
+
slot: string;
|
|
779
|
+
unit: string;
|
|
780
|
+
amount: number;
|
|
781
|
+
}[];
|
|
1642
782
|
}[];
|
|
1643
783
|
};
|
|
1644
784
|
possiblePerceiverIds: string[];
|
|
1645
785
|
presentCharacterIds: string[];
|
|
1646
786
|
textWrites?: "add";
|
|
787
|
+
channels: {
|
|
788
|
+
id: string;
|
|
789
|
+
notice: string;
|
|
790
|
+
reach: number;
|
|
791
|
+
namesKind?: boolean | undefined;
|
|
792
|
+
heard?: boolean | undefined;
|
|
793
|
+
}[];
|
|
794
|
+
noted?: {
|
|
795
|
+
facet: string;
|
|
796
|
+
count: number;
|
|
797
|
+
kindId: string | null;
|
|
798
|
+
kind: string | null;
|
|
799
|
+
}[] | undefined;
|
|
1647
800
|
kinds: {
|
|
1648
801
|
id: string;
|
|
1649
802
|
name: string;
|
|
1650
803
|
meaning: string;
|
|
1651
804
|
properties: {
|
|
1652
805
|
id: string;
|
|
1653
|
-
type: "number" | "id" | "text" | "flag" | "level" | "time";
|
|
806
|
+
type: "number" | "id" | "text" | "flag" | "level" | "time" | "series";
|
|
807
|
+
options?: string[] | undefined;
|
|
808
|
+
perActor?: boolean | undefined;
|
|
809
|
+
sealedBy?: string | undefined;
|
|
1654
810
|
requiredOnCreate?: boolean | undefined;
|
|
811
|
+
target?: "tension" | undefined;
|
|
1655
812
|
}[];
|
|
1656
813
|
relations: {
|
|
1657
814
|
id: string;
|
|
@@ -1673,33 +830,16 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1673
830
|
onEvent?: {
|
|
1674
831
|
kind: "move";
|
|
1675
832
|
subjectPropertyId: string;
|
|
1676
|
-
value: string | number | boolean
|
|
833
|
+
value: string | number | boolean | {
|
|
834
|
+
option: string;
|
|
835
|
+
personId: string;
|
|
836
|
+
at: number;
|
|
837
|
+
seq: number;
|
|
838
|
+
}[];
|
|
1677
839
|
} | undefined;
|
|
1678
|
-
} | {
|
|
1679
|
-
kind: "trigger";
|
|
1680
|
-
propertyId: string;
|
|
1681
|
-
threshold: number;
|
|
1682
|
-
direction: "at-least" | "at-most";
|
|
1683
|
-
intent: string;
|
|
1684
|
-
delayMinutes: number;
|
|
1685
|
-
minImportance?: number | undefined;
|
|
1686
|
-
} | {
|
|
1687
|
-
kind: "gate";
|
|
1688
|
-
propertyId: string;
|
|
1689
|
-
subjectPropertyId: string;
|
|
1690
|
-
blockedActionKinds: string[];
|
|
1691
|
-
atLeast?: "none" | "low" | "medium" | "high" | undefined;
|
|
1692
|
-
} | {
|
|
1693
|
-
kind: "norm";
|
|
1694
|
-
actionKind: string;
|
|
1695
|
-
roleId: string | null;
|
|
1696
|
-
forbidden: boolean;
|
|
1697
|
-
} | {
|
|
1698
|
-
kind: "authority";
|
|
1699
|
-
roleId: string;
|
|
1700
|
-
relationId: string | null;
|
|
1701
|
-
propertyId: string | null;
|
|
1702
840
|
})[];
|
|
841
|
+
library?: boolean | undefined;
|
|
842
|
+
neverHeld?: boolean | undefined;
|
|
1703
843
|
}[];
|
|
1704
844
|
promises?: undefined;
|
|
1705
845
|
deadlines?: {
|
|
@@ -1710,14 +850,6 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1710
850
|
outcome?: string;
|
|
1711
851
|
averted?: boolean;
|
|
1712
852
|
}[];
|
|
1713
|
-
money: {
|
|
1714
|
-
unit: string;
|
|
1715
|
-
balances: {
|
|
1716
|
-
id: string;
|
|
1717
|
-
name: string;
|
|
1718
|
-
balance: number;
|
|
1719
|
-
}[];
|
|
1720
|
-
};
|
|
1721
853
|
cause: {
|
|
1722
854
|
at: string;
|
|
1723
855
|
summary: string;
|
|
@@ -1726,7 +858,6 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1726
858
|
scene: {
|
|
1727
859
|
id: string;
|
|
1728
860
|
name: string;
|
|
1729
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
1730
861
|
summary: string;
|
|
1731
862
|
conditions: string[];
|
|
1732
863
|
people: {
|
|
@@ -1736,6 +867,11 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1736
867
|
doing: string | null;
|
|
1737
868
|
held: null;
|
|
1738
869
|
incapacitated: boolean;
|
|
870
|
+
numbers: {
|
|
871
|
+
slot: string;
|
|
872
|
+
unit: string;
|
|
873
|
+
amount: number;
|
|
874
|
+
}[];
|
|
1739
875
|
arrived?: string | undefined;
|
|
1740
876
|
id: string;
|
|
1741
877
|
name: string;
|
|
@@ -1760,14 +896,29 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1760
896
|
when: string;
|
|
1761
897
|
what: string;
|
|
1762
898
|
} | undefined;
|
|
899
|
+
numbers?: {
|
|
900
|
+
slot: string;
|
|
901
|
+
unit: string;
|
|
902
|
+
amount: number;
|
|
903
|
+
}[] | undefined;
|
|
1763
904
|
properties: {
|
|
1764
|
-
[k: string]: string | number | boolean |
|
|
905
|
+
[k: string]: string | number | boolean | {
|
|
906
|
+
option: string;
|
|
907
|
+
personId: string;
|
|
908
|
+
at: number;
|
|
909
|
+
seq: number;
|
|
910
|
+
}[] | undefined;
|
|
1765
911
|
};
|
|
1766
912
|
relations: {
|
|
1767
913
|
[k: string]: string;
|
|
1768
914
|
};
|
|
1769
|
-
|
|
915
|
+
marks?: {
|
|
916
|
+
kind: string;
|
|
917
|
+
by: string;
|
|
918
|
+
at: string;
|
|
919
|
+
}[] | undefined;
|
|
1770
920
|
condition?: string | undefined;
|
|
921
|
+
holder?: string | undefined;
|
|
1771
922
|
holderId?: string | null | undefined;
|
|
1772
923
|
id: string;
|
|
1773
924
|
kindId: string;
|
|
@@ -1779,6 +930,15 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1779
930
|
name: string;
|
|
1780
931
|
}[];
|
|
1781
932
|
};
|
|
933
|
+
chain?: {
|
|
934
|
+
id: string;
|
|
935
|
+
link: number;
|
|
936
|
+
limit: number;
|
|
937
|
+
earlier: {
|
|
938
|
+
at: string;
|
|
939
|
+
what: string;
|
|
940
|
+
}[];
|
|
941
|
+
} | undefined;
|
|
1782
942
|
recurring?: {
|
|
1783
943
|
everyMinutes: number;
|
|
1784
944
|
earlier: {
|
|
@@ -1829,8 +989,7 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1829
989
|
objects: {
|
|
1830
990
|
id: string;
|
|
1831
991
|
name: string;
|
|
1832
|
-
|
|
1833
|
-
holderId: string | null;
|
|
992
|
+
containerId: string | null;
|
|
1834
993
|
ownerId: string | null;
|
|
1835
994
|
condition: string;
|
|
1836
995
|
singlePersonMovable: boolean;
|
|
@@ -1846,7 +1005,7 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1846
1005
|
summary: string;
|
|
1847
1006
|
}[];
|
|
1848
1007
|
facts: string[];
|
|
1849
|
-
|
|
1008
|
+
offstage?: {
|
|
1850
1009
|
id: string;
|
|
1851
1010
|
name: string;
|
|
1852
1011
|
where: string;
|
|
@@ -1854,7 +1013,6 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1854
1013
|
places: {
|
|
1855
1014
|
id: string;
|
|
1856
1015
|
name: string;
|
|
1857
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
1858
1016
|
connections: string[];
|
|
1859
1017
|
conditions: string[];
|
|
1860
1018
|
}[];
|
|
@@ -1866,19 +1024,41 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1866
1024
|
placeId: string;
|
|
1867
1025
|
isPlayer: boolean;
|
|
1868
1026
|
incapacitated: boolean;
|
|
1027
|
+
numbers: {
|
|
1028
|
+
slot: string;
|
|
1029
|
+
unit: string;
|
|
1030
|
+
amount: number;
|
|
1031
|
+
}[];
|
|
1869
1032
|
}[];
|
|
1870
1033
|
};
|
|
1871
1034
|
possiblePerceiverIds: string[];
|
|
1872
1035
|
presentCharacterIds: string[];
|
|
1873
1036
|
textWrites?: "add";
|
|
1037
|
+
channels: {
|
|
1038
|
+
id: string;
|
|
1039
|
+
notice: string;
|
|
1040
|
+
reach: number;
|
|
1041
|
+
namesKind?: boolean | undefined;
|
|
1042
|
+
heard?: boolean | undefined;
|
|
1043
|
+
}[];
|
|
1044
|
+
noted?: {
|
|
1045
|
+
facet: string;
|
|
1046
|
+
count: number;
|
|
1047
|
+
kindId: string | null;
|
|
1048
|
+
kind: string | null;
|
|
1049
|
+
}[] | undefined;
|
|
1874
1050
|
kinds: {
|
|
1875
1051
|
id: string;
|
|
1876
1052
|
name: string;
|
|
1877
1053
|
meaning: string;
|
|
1878
1054
|
properties: {
|
|
1879
1055
|
id: string;
|
|
1880
|
-
type: "number" | "id" | "text" | "flag" | "level" | "time";
|
|
1056
|
+
type: "number" | "id" | "text" | "flag" | "level" | "time" | "series";
|
|
1057
|
+
options?: string[] | undefined;
|
|
1058
|
+
perActor?: boolean | undefined;
|
|
1059
|
+
sealedBy?: string | undefined;
|
|
1881
1060
|
requiredOnCreate?: boolean | undefined;
|
|
1061
|
+
target?: "tension" | undefined;
|
|
1882
1062
|
}[];
|
|
1883
1063
|
relations: {
|
|
1884
1064
|
id: string;
|
|
@@ -1900,33 +1080,16 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1900
1080
|
onEvent?: {
|
|
1901
1081
|
kind: "move";
|
|
1902
1082
|
subjectPropertyId: string;
|
|
1903
|
-
value: string | number | boolean
|
|
1083
|
+
value: string | number | boolean | {
|
|
1084
|
+
option: string;
|
|
1085
|
+
personId: string;
|
|
1086
|
+
at: number;
|
|
1087
|
+
seq: number;
|
|
1088
|
+
}[];
|
|
1904
1089
|
} | undefined;
|
|
1905
|
-
} | {
|
|
1906
|
-
kind: "trigger";
|
|
1907
|
-
propertyId: string;
|
|
1908
|
-
threshold: number;
|
|
1909
|
-
direction: "at-least" | "at-most";
|
|
1910
|
-
intent: string;
|
|
1911
|
-
delayMinutes: number;
|
|
1912
|
-
minImportance?: number | undefined;
|
|
1913
|
-
} | {
|
|
1914
|
-
kind: "gate";
|
|
1915
|
-
propertyId: string;
|
|
1916
|
-
subjectPropertyId: string;
|
|
1917
|
-
blockedActionKinds: string[];
|
|
1918
|
-
atLeast?: "none" | "low" | "medium" | "high" | undefined;
|
|
1919
|
-
} | {
|
|
1920
|
-
kind: "norm";
|
|
1921
|
-
actionKind: string;
|
|
1922
|
-
roleId: string | null;
|
|
1923
|
-
forbidden: boolean;
|
|
1924
|
-
} | {
|
|
1925
|
-
kind: "authority";
|
|
1926
|
-
roleId: string;
|
|
1927
|
-
relationId: string | null;
|
|
1928
|
-
propertyId: string | null;
|
|
1929
1090
|
})[];
|
|
1091
|
+
library?: boolean | undefined;
|
|
1092
|
+
neverHeld?: boolean | undefined;
|
|
1930
1093
|
}[];
|
|
1931
1094
|
promises: {
|
|
1932
1095
|
due?: string | undefined;
|
|
@@ -1942,14 +1105,6 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1942
1105
|
outcome?: string;
|
|
1943
1106
|
averted?: boolean;
|
|
1944
1107
|
}[];
|
|
1945
|
-
money: {
|
|
1946
|
-
unit: string;
|
|
1947
|
-
balances: {
|
|
1948
|
-
id: string;
|
|
1949
|
-
name: string;
|
|
1950
|
-
balance: number;
|
|
1951
|
-
}[];
|
|
1952
|
-
};
|
|
1953
1108
|
cause: {
|
|
1954
1109
|
at: string;
|
|
1955
1110
|
summary: string;
|
|
@@ -1958,7 +1113,6 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1958
1113
|
scene: {
|
|
1959
1114
|
id: string;
|
|
1960
1115
|
name: string;
|
|
1961
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
1962
1116
|
summary: string;
|
|
1963
1117
|
conditions: string[];
|
|
1964
1118
|
people: {
|
|
@@ -1968,6 +1122,11 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1968
1122
|
doing: string | null;
|
|
1969
1123
|
held: null;
|
|
1970
1124
|
incapacitated: boolean;
|
|
1125
|
+
numbers: {
|
|
1126
|
+
slot: string;
|
|
1127
|
+
unit: string;
|
|
1128
|
+
amount: number;
|
|
1129
|
+
}[];
|
|
1971
1130
|
arrived?: string | undefined;
|
|
1972
1131
|
id: string;
|
|
1973
1132
|
name: string;
|
|
@@ -1992,14 +1151,29 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
1992
1151
|
when: string;
|
|
1993
1152
|
what: string;
|
|
1994
1153
|
} | undefined;
|
|
1154
|
+
numbers?: {
|
|
1155
|
+
slot: string;
|
|
1156
|
+
unit: string;
|
|
1157
|
+
amount: number;
|
|
1158
|
+
}[] | undefined;
|
|
1995
1159
|
properties: {
|
|
1996
|
-
[k: string]: string | number | boolean |
|
|
1160
|
+
[k: string]: string | number | boolean | {
|
|
1161
|
+
option: string;
|
|
1162
|
+
personId: string;
|
|
1163
|
+
at: number;
|
|
1164
|
+
seq: number;
|
|
1165
|
+
}[] | undefined;
|
|
1997
1166
|
};
|
|
1998
1167
|
relations: {
|
|
1999
1168
|
[k: string]: string;
|
|
2000
1169
|
};
|
|
2001
|
-
|
|
1170
|
+
marks?: {
|
|
1171
|
+
kind: string;
|
|
1172
|
+
by: string;
|
|
1173
|
+
at: string;
|
|
1174
|
+
}[] | undefined;
|
|
2002
1175
|
condition?: string | undefined;
|
|
1176
|
+
holder?: string | undefined;
|
|
2003
1177
|
holderId?: string | null | undefined;
|
|
2004
1178
|
id: string;
|
|
2005
1179
|
kindId: string;
|
|
@@ -2011,6 +1185,15 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
2011
1185
|
name: string;
|
|
2012
1186
|
}[];
|
|
2013
1187
|
};
|
|
1188
|
+
chain?: {
|
|
1189
|
+
id: string;
|
|
1190
|
+
link: number;
|
|
1191
|
+
limit: number;
|
|
1192
|
+
earlier: {
|
|
1193
|
+
at: string;
|
|
1194
|
+
what: string;
|
|
1195
|
+
}[];
|
|
1196
|
+
} | undefined;
|
|
2014
1197
|
recurring?: {
|
|
2015
1198
|
everyMinutes: number;
|
|
2016
1199
|
earlier: {
|
|
@@ -2041,20 +1224,29 @@ export declare function gameMasterWorldInput(state: LivingState, happening: {
|
|
|
2041
1224
|
};
|
|
2042
1225
|
happening: string;
|
|
2043
1226
|
};
|
|
2044
|
-
export declare function pressingMatters(state:
|
|
1227
|
+
export declare function pressingMatters(state: LivingStateRaw, person: LivingPerson, limit: number): {
|
|
2045
1228
|
when: string;
|
|
2046
1229
|
minutesAgo: number;
|
|
2047
1230
|
text: string;
|
|
2048
1231
|
}[];
|
|
2049
|
-
export declare function
|
|
2050
|
-
export declare function
|
|
2051
|
-
export declare function
|
|
2052
|
-
export declare function
|
|
1232
|
+
export declare function memoryIsPressing(state: LivingStateRaw, person: LivingPerson): (memory: LivingPerson['memories'][number]) => boolean;
|
|
1233
|
+
export declare function myMovements(state: LivingStateRaw, person: LivingPerson, limit: number): string[];
|
|
1234
|
+
export declare function speechSetting(state: LivingStateRaw): LivingStateRaw['opening'];
|
|
1235
|
+
export declare function fitSpeechInput<T extends Record<string, unknown>>(state: LivingStateRaw, input: T, close: ReadonlySet<string>, held: ReadonlySet<string>): T;
|
|
1236
|
+
export declare function memoryBoundToOpenBusiness(state: LivingStateRaw, person: LivingPerson): (memory: LivingPerson['memories'][number]) => boolean;
|
|
1237
|
+
export declare function characterMind(state: LivingStateRaw, person: LivingPerson, focusIds: readonly string[], shownElsewhere?: {
|
|
2053
1238
|
line?: {
|
|
2054
1239
|
speakerId: string | null;
|
|
2055
1240
|
text: string;
|
|
2056
1241
|
};
|
|
2057
1242
|
}): {
|
|
1243
|
+
myRecentLines: string[];
|
|
1244
|
+
clock: string;
|
|
1245
|
+
askedAgain?: {
|
|
1246
|
+
repeats: number;
|
|
1247
|
+
since: string;
|
|
1248
|
+
answered: string;
|
|
1249
|
+
};
|
|
2058
1250
|
requests: {
|
|
2059
1251
|
waitingMinutes?: number | undefined;
|
|
2060
1252
|
answer?: string | undefined;
|
|
@@ -2062,7 +1254,7 @@ export declare function characterMind(state: LivingState, person: LivingPerson,
|
|
|
2062
1254
|
fromId: string;
|
|
2063
1255
|
toId: string;
|
|
2064
1256
|
topic: string;
|
|
2065
|
-
status: "refused" | "done" | "open" | "answered";
|
|
1257
|
+
status: "refused" | "done" | "open" | "accepted" | "answered";
|
|
2066
1258
|
}[];
|
|
2067
1259
|
stances: {
|
|
2068
1260
|
actorId: string;
|
|
@@ -2078,7 +1270,6 @@ export declare function characterMind(state: LivingState, person: LivingPerson,
|
|
|
2078
1270
|
scene: {
|
|
2079
1271
|
id: string;
|
|
2080
1272
|
name: string;
|
|
2081
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
2082
1273
|
summary: string;
|
|
2083
1274
|
conditions: string[];
|
|
2084
1275
|
people: {
|
|
@@ -2088,6 +1279,11 @@ export declare function characterMind(state: LivingState, person: LivingPerson,
|
|
|
2088
1279
|
doing: string | null;
|
|
2089
1280
|
held: null;
|
|
2090
1281
|
incapacitated: boolean;
|
|
1282
|
+
numbers: {
|
|
1283
|
+
slot: string;
|
|
1284
|
+
unit: string;
|
|
1285
|
+
amount: number;
|
|
1286
|
+
}[];
|
|
2091
1287
|
arrived?: string | undefined;
|
|
2092
1288
|
id: string;
|
|
2093
1289
|
name: string;
|
|
@@ -2112,14 +1308,29 @@ export declare function characterMind(state: LivingState, person: LivingPerson,
|
|
|
2112
1308
|
when: string;
|
|
2113
1309
|
what: string;
|
|
2114
1310
|
} | undefined;
|
|
1311
|
+
numbers?: {
|
|
1312
|
+
slot: string;
|
|
1313
|
+
unit: string;
|
|
1314
|
+
amount: number;
|
|
1315
|
+
}[] | undefined;
|
|
2115
1316
|
properties: {
|
|
2116
|
-
[k: string]: string | number | boolean |
|
|
1317
|
+
[k: string]: string | number | boolean | {
|
|
1318
|
+
option: string;
|
|
1319
|
+
personId: string;
|
|
1320
|
+
at: number;
|
|
1321
|
+
seq: number;
|
|
1322
|
+
}[] | undefined;
|
|
2117
1323
|
};
|
|
2118
1324
|
relations: {
|
|
2119
1325
|
[k: string]: string;
|
|
2120
1326
|
};
|
|
2121
|
-
|
|
1327
|
+
marks?: {
|
|
1328
|
+
kind: string;
|
|
1329
|
+
by: string;
|
|
1330
|
+
at: string;
|
|
1331
|
+
}[] | undefined;
|
|
2122
1332
|
condition?: string | undefined;
|
|
1333
|
+
holder?: string | undefined;
|
|
2123
1334
|
holderId?: string | null | undefined;
|
|
2124
1335
|
id: string;
|
|
2125
1336
|
kindId: string;
|
|
@@ -2137,8 +1348,6 @@ export declare function characterMind(state: LivingState, person: LivingPerson,
|
|
|
2137
1348
|
to: string[];
|
|
2138
1349
|
text: string;
|
|
2139
1350
|
}[];
|
|
2140
|
-
myRecentLines: string[];
|
|
2141
|
-
clock: string;
|
|
2142
1351
|
awakeSince?: string;
|
|
2143
1352
|
papersInMind?: {
|
|
2144
1353
|
id: string;
|
|
@@ -2168,11 +1377,12 @@ export declare function characterMind(state: LivingState, person: LivingPerson,
|
|
|
2168
1377
|
values: string[];
|
|
2169
1378
|
redLines: string[];
|
|
2170
1379
|
privateConcerns: string[];
|
|
1380
|
+
wants?: string[] | undefined;
|
|
1381
|
+
fears?: string[] | undefined;
|
|
2171
1382
|
};
|
|
2172
1383
|
mood: string;
|
|
2173
1384
|
condition: string | null;
|
|
2174
1385
|
held: string | null;
|
|
2175
|
-
money: number | null;
|
|
2176
1386
|
blocked: string[];
|
|
2177
1387
|
};
|
|
2178
1388
|
goals: {
|
|
@@ -2265,12 +1475,16 @@ export type ReactionTrigger = {
|
|
|
2265
1475
|
noticedFrom?: string | null;
|
|
2266
1476
|
thingIds?: readonly string[];
|
|
2267
1477
|
};
|
|
2268
|
-
|
|
1478
|
+
declare function knownPeople(state: LivingStateRaw, person: LivingPerson): Set<string>;
|
|
1479
|
+
export declare function modelContextPeople(state: LivingStateRaw, actorId: string | null, phase: string, input: Readonly<Record<string, unknown>>, requested: readonly string[]): {
|
|
2269
1480
|
focusIds: string[];
|
|
2270
1481
|
unavailable: string[];
|
|
2271
1482
|
};
|
|
2272
|
-
export declare function
|
|
2273
|
-
|
|
1483
|
+
export declare function perceivedPlaces(state: Parameters<typeof knownPeople>[0], person: LivingPerson): Set<string>;
|
|
1484
|
+
export declare function reachFor(state: Parameters<typeof perceivedPlaces>[0], fromPlaceId: string, person: LivingPerson): string[];
|
|
1485
|
+
export declare function knownPlaces(state: Parameters<typeof knownPeople>[0], person: LivingPerson): Set<string>;
|
|
1486
|
+
export declare function knowsPlace(state: Parameters<typeof knownPeople>[0], person: LivingPerson, placeId: string): boolean;
|
|
1487
|
+
export declare function characterReactionInput(state: LivingStateRaw, person: LivingPerson, trigger: ReactionTrigger, _fitted?: boolean, previousErrors?: readonly unknown[], focusIds?: readonly string[]): {
|
|
2274
1488
|
playerName: string | null;
|
|
2275
1489
|
playerPronouns: string | null;
|
|
2276
1490
|
playerHere: boolean;
|
|
@@ -2286,14 +1500,17 @@ export declare function characterReactionInput(state: LivingState, person: Livin
|
|
|
2286
1500
|
pronouns: string;
|
|
2287
1501
|
role: string | null;
|
|
2288
1502
|
here: boolean;
|
|
1503
|
+
reach: string[];
|
|
2289
1504
|
}[];
|
|
2290
1505
|
};
|
|
2291
|
-
|
|
1506
|
+
playerId?: string | undefined;
|
|
1507
|
+
choices?: {
|
|
2292
1508
|
id: string;
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
1509
|
+
name: string;
|
|
1510
|
+
slotId: string;
|
|
1511
|
+
options: string[];
|
|
1512
|
+
due: string | null;
|
|
1513
|
+
until: string | null;
|
|
2297
1514
|
}[];
|
|
2298
1515
|
happened: {
|
|
2299
1516
|
kind: string;
|
|
@@ -2312,6 +1529,13 @@ export declare function characterReactionInput(state: LivingState, person: Livin
|
|
|
2312
1529
|
pressure: string | null;
|
|
2313
1530
|
from?: undefined;
|
|
2314
1531
|
};
|
|
1532
|
+
myRecentLines: string[];
|
|
1533
|
+
clock: string;
|
|
1534
|
+
askedAgain?: {
|
|
1535
|
+
repeats: number;
|
|
1536
|
+
since: string;
|
|
1537
|
+
answered: string;
|
|
1538
|
+
};
|
|
2315
1539
|
requests: {
|
|
2316
1540
|
waitingMinutes?: number | undefined;
|
|
2317
1541
|
answer?: string | undefined;
|
|
@@ -2319,7 +1543,7 @@ export declare function characterReactionInput(state: LivingState, person: Livin
|
|
|
2319
1543
|
fromId: string;
|
|
2320
1544
|
toId: string;
|
|
2321
1545
|
topic: string;
|
|
2322
|
-
status: "refused" | "done" | "open" | "answered";
|
|
1546
|
+
status: "refused" | "done" | "open" | "accepted" | "answered";
|
|
2323
1547
|
}[];
|
|
2324
1548
|
stances: {
|
|
2325
1549
|
actorId: string;
|
|
@@ -2335,7 +1559,6 @@ export declare function characterReactionInput(state: LivingState, person: Livin
|
|
|
2335
1559
|
scene: {
|
|
2336
1560
|
id: string;
|
|
2337
1561
|
name: string;
|
|
2338
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
2339
1562
|
summary: string;
|
|
2340
1563
|
conditions: string[];
|
|
2341
1564
|
people: {
|
|
@@ -2345,6 +1568,11 @@ export declare function characterReactionInput(state: LivingState, person: Livin
|
|
|
2345
1568
|
doing: string | null;
|
|
2346
1569
|
held: null;
|
|
2347
1570
|
incapacitated: boolean;
|
|
1571
|
+
numbers: {
|
|
1572
|
+
slot: string;
|
|
1573
|
+
unit: string;
|
|
1574
|
+
amount: number;
|
|
1575
|
+
}[];
|
|
2348
1576
|
arrived?: string | undefined;
|
|
2349
1577
|
id: string;
|
|
2350
1578
|
name: string;
|
|
@@ -2369,14 +1597,29 @@ export declare function characterReactionInput(state: LivingState, person: Livin
|
|
|
2369
1597
|
when: string;
|
|
2370
1598
|
what: string;
|
|
2371
1599
|
} | undefined;
|
|
1600
|
+
numbers?: {
|
|
1601
|
+
slot: string;
|
|
1602
|
+
unit: string;
|
|
1603
|
+
amount: number;
|
|
1604
|
+
}[] | undefined;
|
|
2372
1605
|
properties: {
|
|
2373
|
-
[k: string]: string | number | boolean |
|
|
1606
|
+
[k: string]: string | number | boolean | {
|
|
1607
|
+
option: string;
|
|
1608
|
+
personId: string;
|
|
1609
|
+
at: number;
|
|
1610
|
+
seq: number;
|
|
1611
|
+
}[] | undefined;
|
|
2374
1612
|
};
|
|
2375
1613
|
relations: {
|
|
2376
1614
|
[k: string]: string;
|
|
2377
1615
|
};
|
|
2378
|
-
|
|
1616
|
+
marks?: {
|
|
1617
|
+
kind: string;
|
|
1618
|
+
by: string;
|
|
1619
|
+
at: string;
|
|
1620
|
+
}[] | undefined;
|
|
2379
1621
|
condition?: string | undefined;
|
|
1622
|
+
holder?: string | undefined;
|
|
2380
1623
|
holderId?: string | null | undefined;
|
|
2381
1624
|
id: string;
|
|
2382
1625
|
kindId: string;
|
|
@@ -2394,8 +1637,6 @@ export declare function characterReactionInput(state: LivingState, person: Livin
|
|
|
2394
1637
|
to: string[];
|
|
2395
1638
|
text: string;
|
|
2396
1639
|
}[];
|
|
2397
|
-
myRecentLines: string[];
|
|
2398
|
-
clock: string;
|
|
2399
1640
|
awakeSince?: string;
|
|
2400
1641
|
papersInMind?: {
|
|
2401
1642
|
id: string;
|
|
@@ -2425,11 +1666,12 @@ export declare function characterReactionInput(state: LivingState, person: Livin
|
|
|
2425
1666
|
values: string[];
|
|
2426
1667
|
redLines: string[];
|
|
2427
1668
|
privateConcerns: string[];
|
|
1669
|
+
wants?: string[] | undefined;
|
|
1670
|
+
fears?: string[] | undefined;
|
|
2428
1671
|
};
|
|
2429
1672
|
mood: string;
|
|
2430
1673
|
condition: string | null;
|
|
2431
1674
|
held: string | null;
|
|
2432
|
-
money: number | null;
|
|
2433
1675
|
blocked: string[];
|
|
2434
1676
|
};
|
|
2435
1677
|
goals: {
|
|
@@ -2515,39 +1757,45 @@ export declare function characterReactionInput(state: LivingState, person: Livin
|
|
|
2515
1757
|
previousErrors?: unknown[] | undefined;
|
|
2516
1758
|
phase: string;
|
|
2517
1759
|
};
|
|
2518
|
-
export declare function
|
|
2519
|
-
export declare function
|
|
1760
|
+
export declare function replyPressureMatches(shown: string | null, reading: string | null): boolean;
|
|
1761
|
+
export declare function avertedAhead(state: LivingStateRaw, item: LivingStateRaw['schedule'][number]): boolean;
|
|
1762
|
+
export declare function awakeSince(state: LivingStateRaw, person: LivingPerson): {
|
|
2520
1763
|
awakeSince?: string;
|
|
2521
1764
|
};
|
|
2522
|
-
export declare function ownPapers(state:
|
|
1765
|
+
export declare function ownPapers(state: LivingStateRaw, personId: string): {
|
|
2523
1766
|
myPapers?: {
|
|
2524
1767
|
id: string;
|
|
2525
1768
|
name: string;
|
|
2526
1769
|
words: string;
|
|
2527
1770
|
}[];
|
|
2528
1771
|
};
|
|
2529
|
-
export declare function papersInMind(state:
|
|
1772
|
+
export declare function papersInMind(state: LivingStateRaw, person: LivingPerson, focusIds: readonly string[]): {
|
|
2530
1773
|
papersInMind?: {
|
|
2531
1774
|
id: string;
|
|
2532
1775
|
name: string;
|
|
2533
1776
|
words: string;
|
|
2534
1777
|
}[];
|
|
2535
1778
|
};
|
|
2536
|
-
export declare function
|
|
2537
|
-
|
|
1779
|
+
export declare function openChoices(state: LivingStateRaw, personId: string, concerned?: ReadonlySet<string>, cap?: number): {
|
|
1780
|
+
choices?: {
|
|
2538
1781
|
id: string;
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
1782
|
+
name: string;
|
|
1783
|
+
slotId: string;
|
|
1784
|
+
options: string[];
|
|
1785
|
+
due: string | null;
|
|
1786
|
+
until: string | null;
|
|
2543
1787
|
}[];
|
|
2544
1788
|
};
|
|
2545
|
-
export declare function characterPlanInput(state:
|
|
1789
|
+
export declare function characterPlanInput(state: LivingStateRaw, person: LivingPerson, plan: string | {
|
|
2546
1790
|
intent: string;
|
|
2547
1791
|
overdueMinutes?: number;
|
|
2548
1792
|
placeId?: string | null;
|
|
2549
1793
|
targetId?: string | null;
|
|
2550
|
-
} | null, voteTurn?: boolean, focusIds?: readonly string[]
|
|
1794
|
+
} | null, voteTurn?: boolean, focusIds?: readonly string[], decision?: {
|
|
1795
|
+
kind: 'promise' | 'ask';
|
|
1796
|
+
id: string;
|
|
1797
|
+
}): {
|
|
1798
|
+
playerId?: string | undefined;
|
|
2551
1799
|
directory: {
|
|
2552
1800
|
places: {
|
|
2553
1801
|
id: string;
|
|
@@ -2562,20 +1810,31 @@ export declare function characterPlanInput(state: LivingState, person: LivingPer
|
|
|
2562
1810
|
lastKnownPlaceId: string | null;
|
|
2563
1811
|
}[];
|
|
2564
1812
|
};
|
|
2565
|
-
|
|
2566
|
-
votes?: {
|
|
1813
|
+
choices?: {
|
|
2567
1814
|
id: string;
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
1815
|
+
name: string;
|
|
1816
|
+
slotId: string;
|
|
1817
|
+
options: string[];
|
|
1818
|
+
due: string | null;
|
|
1819
|
+
until: string | null;
|
|
2572
1820
|
}[];
|
|
1821
|
+
decision?: {
|
|
1822
|
+
kind: "promise" | "ask";
|
|
1823
|
+
id: string;
|
|
1824
|
+
} | undefined;
|
|
2573
1825
|
duePlan: {
|
|
2574
1826
|
intent: string;
|
|
2575
1827
|
overdueMinutes?: number;
|
|
2576
1828
|
placeId?: string | null;
|
|
2577
1829
|
targetId?: string | null;
|
|
2578
1830
|
} | null;
|
|
1831
|
+
myRecentLines: string[];
|
|
1832
|
+
clock: string;
|
|
1833
|
+
askedAgain?: {
|
|
1834
|
+
repeats: number;
|
|
1835
|
+
since: string;
|
|
1836
|
+
answered: string;
|
|
1837
|
+
};
|
|
2579
1838
|
requests: {
|
|
2580
1839
|
waitingMinutes?: number | undefined;
|
|
2581
1840
|
answer?: string | undefined;
|
|
@@ -2583,7 +1842,7 @@ export declare function characterPlanInput(state: LivingState, person: LivingPer
|
|
|
2583
1842
|
fromId: string;
|
|
2584
1843
|
toId: string;
|
|
2585
1844
|
topic: string;
|
|
2586
|
-
status: "refused" | "done" | "open" | "answered";
|
|
1845
|
+
status: "refused" | "done" | "open" | "accepted" | "answered";
|
|
2587
1846
|
}[];
|
|
2588
1847
|
stances: {
|
|
2589
1848
|
actorId: string;
|
|
@@ -2599,7 +1858,6 @@ export declare function characterPlanInput(state: LivingState, person: LivingPer
|
|
|
2599
1858
|
scene: {
|
|
2600
1859
|
id: string;
|
|
2601
1860
|
name: string;
|
|
2602
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
2603
1861
|
summary: string;
|
|
2604
1862
|
conditions: string[];
|
|
2605
1863
|
people: {
|
|
@@ -2609,6 +1867,11 @@ export declare function characterPlanInput(state: LivingState, person: LivingPer
|
|
|
2609
1867
|
doing: string | null;
|
|
2610
1868
|
held: null;
|
|
2611
1869
|
incapacitated: boolean;
|
|
1870
|
+
numbers: {
|
|
1871
|
+
slot: string;
|
|
1872
|
+
unit: string;
|
|
1873
|
+
amount: number;
|
|
1874
|
+
}[];
|
|
2612
1875
|
arrived?: string | undefined;
|
|
2613
1876
|
id: string;
|
|
2614
1877
|
name: string;
|
|
@@ -2633,14 +1896,29 @@ export declare function characterPlanInput(state: LivingState, person: LivingPer
|
|
|
2633
1896
|
when: string;
|
|
2634
1897
|
what: string;
|
|
2635
1898
|
} | undefined;
|
|
1899
|
+
numbers?: {
|
|
1900
|
+
slot: string;
|
|
1901
|
+
unit: string;
|
|
1902
|
+
amount: number;
|
|
1903
|
+
}[] | undefined;
|
|
2636
1904
|
properties: {
|
|
2637
|
-
[k: string]: string | number | boolean |
|
|
1905
|
+
[k: string]: string | number | boolean | {
|
|
1906
|
+
option: string;
|
|
1907
|
+
personId: string;
|
|
1908
|
+
at: number;
|
|
1909
|
+
seq: number;
|
|
1910
|
+
}[] | undefined;
|
|
2638
1911
|
};
|
|
2639
1912
|
relations: {
|
|
2640
1913
|
[k: string]: string;
|
|
2641
1914
|
};
|
|
2642
|
-
|
|
1915
|
+
marks?: {
|
|
1916
|
+
kind: string;
|
|
1917
|
+
by: string;
|
|
1918
|
+
at: string;
|
|
1919
|
+
}[] | undefined;
|
|
2643
1920
|
condition?: string | undefined;
|
|
1921
|
+
holder?: string | undefined;
|
|
2644
1922
|
holderId?: string | null | undefined;
|
|
2645
1923
|
id: string;
|
|
2646
1924
|
kindId: string;
|
|
@@ -2658,8 +1936,6 @@ export declare function characterPlanInput(state: LivingState, person: LivingPer
|
|
|
2658
1936
|
to: string[];
|
|
2659
1937
|
text: string;
|
|
2660
1938
|
}[];
|
|
2661
|
-
myRecentLines: string[];
|
|
2662
|
-
clock: string;
|
|
2663
1939
|
awakeSince?: string;
|
|
2664
1940
|
papersInMind?: {
|
|
2665
1941
|
id: string;
|
|
@@ -2689,11 +1965,12 @@ export declare function characterPlanInput(state: LivingState, person: LivingPer
|
|
|
2689
1965
|
values: string[];
|
|
2690
1966
|
redLines: string[];
|
|
2691
1967
|
privateConcerns: string[];
|
|
1968
|
+
wants?: string[] | undefined;
|
|
1969
|
+
fears?: string[] | undefined;
|
|
2692
1970
|
};
|
|
2693
1971
|
mood: string;
|
|
2694
1972
|
condition: string | null;
|
|
2695
1973
|
held: string | null;
|
|
2696
|
-
money: number | null;
|
|
2697
1974
|
blocked: string[];
|
|
2698
1975
|
};
|
|
2699
1976
|
goals: {
|
|
@@ -2778,15 +2055,13 @@ export declare function characterPlanInput(state: LivingState, person: LivingPer
|
|
|
2778
2055
|
setting: string;
|
|
2779
2056
|
phase: string;
|
|
2780
2057
|
};
|
|
2781
|
-
export declare function characterMessageReplyInput(state:
|
|
2058
|
+
export declare function characterMessageReplyInput(state: LivingStateRaw, person: LivingPerson, message: {
|
|
2782
2059
|
fromId: string;
|
|
2783
2060
|
text: string;
|
|
2784
|
-
}, focusIds?: readonly string[]
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
text: string;
|
|
2789
|
-
};
|
|
2061
|
+
}, focusIds?: readonly string[], decision?: {
|
|
2062
|
+
kind: 'promise' | 'ask';
|
|
2063
|
+
id: string;
|
|
2064
|
+
}): {
|
|
2790
2065
|
directory: {
|
|
2791
2066
|
people?: {
|
|
2792
2067
|
id: string;
|
|
@@ -2797,6 +2072,22 @@ export declare function characterMessageReplyInput(state: LivingState, person: L
|
|
|
2797
2072
|
name: string;
|
|
2798
2073
|
}[];
|
|
2799
2074
|
};
|
|
2075
|
+
decision?: {
|
|
2076
|
+
kind: "promise" | "ask";
|
|
2077
|
+
id: string;
|
|
2078
|
+
} | undefined;
|
|
2079
|
+
message: {
|
|
2080
|
+
fromId: string;
|
|
2081
|
+
from: string;
|
|
2082
|
+
text: string;
|
|
2083
|
+
};
|
|
2084
|
+
myRecentLines: string[];
|
|
2085
|
+
clock: string;
|
|
2086
|
+
askedAgain?: {
|
|
2087
|
+
repeats: number;
|
|
2088
|
+
since: string;
|
|
2089
|
+
answered: string;
|
|
2090
|
+
};
|
|
2800
2091
|
requests: {
|
|
2801
2092
|
waitingMinutes?: number | undefined;
|
|
2802
2093
|
answer?: string | undefined;
|
|
@@ -2804,7 +2095,7 @@ export declare function characterMessageReplyInput(state: LivingState, person: L
|
|
|
2804
2095
|
fromId: string;
|
|
2805
2096
|
toId: string;
|
|
2806
2097
|
topic: string;
|
|
2807
|
-
status: "refused" | "done" | "open" | "answered";
|
|
2098
|
+
status: "refused" | "done" | "open" | "accepted" | "answered";
|
|
2808
2099
|
}[];
|
|
2809
2100
|
stances: {
|
|
2810
2101
|
actorId: string;
|
|
@@ -2820,7 +2111,6 @@ export declare function characterMessageReplyInput(state: LivingState, person: L
|
|
|
2820
2111
|
scene: {
|
|
2821
2112
|
id: string;
|
|
2822
2113
|
name: string;
|
|
2823
|
-
kind: "private" | "transit" | "room" | "outdoors";
|
|
2824
2114
|
summary: string;
|
|
2825
2115
|
conditions: string[];
|
|
2826
2116
|
people: {
|
|
@@ -2830,6 +2120,11 @@ export declare function characterMessageReplyInput(state: LivingState, person: L
|
|
|
2830
2120
|
doing: string | null;
|
|
2831
2121
|
held: null;
|
|
2832
2122
|
incapacitated: boolean;
|
|
2123
|
+
numbers: {
|
|
2124
|
+
slot: string;
|
|
2125
|
+
unit: string;
|
|
2126
|
+
amount: number;
|
|
2127
|
+
}[];
|
|
2833
2128
|
arrived?: string | undefined;
|
|
2834
2129
|
id: string;
|
|
2835
2130
|
name: string;
|
|
@@ -2854,14 +2149,29 @@ export declare function characterMessageReplyInput(state: LivingState, person: L
|
|
|
2854
2149
|
when: string;
|
|
2855
2150
|
what: string;
|
|
2856
2151
|
} | undefined;
|
|
2152
|
+
numbers?: {
|
|
2153
|
+
slot: string;
|
|
2154
|
+
unit: string;
|
|
2155
|
+
amount: number;
|
|
2156
|
+
}[] | undefined;
|
|
2857
2157
|
properties: {
|
|
2858
|
-
[k: string]: string | number | boolean |
|
|
2158
|
+
[k: string]: string | number | boolean | {
|
|
2159
|
+
option: string;
|
|
2160
|
+
personId: string;
|
|
2161
|
+
at: number;
|
|
2162
|
+
seq: number;
|
|
2163
|
+
}[] | undefined;
|
|
2859
2164
|
};
|
|
2860
2165
|
relations: {
|
|
2861
2166
|
[k: string]: string;
|
|
2862
2167
|
};
|
|
2863
|
-
|
|
2168
|
+
marks?: {
|
|
2169
|
+
kind: string;
|
|
2170
|
+
by: string;
|
|
2171
|
+
at: string;
|
|
2172
|
+
}[] | undefined;
|
|
2864
2173
|
condition?: string | undefined;
|
|
2174
|
+
holder?: string | undefined;
|
|
2865
2175
|
holderId?: string | null | undefined;
|
|
2866
2176
|
id: string;
|
|
2867
2177
|
kindId: string;
|
|
@@ -2879,8 +2189,6 @@ export declare function characterMessageReplyInput(state: LivingState, person: L
|
|
|
2879
2189
|
to: string[];
|
|
2880
2190
|
text: string;
|
|
2881
2191
|
}[];
|
|
2882
|
-
myRecentLines: string[];
|
|
2883
|
-
clock: string;
|
|
2884
2192
|
awakeSince?: string;
|
|
2885
2193
|
papersInMind?: {
|
|
2886
2194
|
id: string;
|
|
@@ -2910,11 +2218,12 @@ export declare function characterMessageReplyInput(state: LivingState, person: L
|
|
|
2910
2218
|
values: string[];
|
|
2911
2219
|
redLines: string[];
|
|
2912
2220
|
privateConcerns: string[];
|
|
2221
|
+
wants?: string[] | undefined;
|
|
2222
|
+
fears?: string[] | undefined;
|
|
2913
2223
|
};
|
|
2914
2224
|
mood: string;
|
|
2915
2225
|
condition: string | null;
|
|
2916
2226
|
held: string | null;
|
|
2917
|
-
money: number | null;
|
|
2918
2227
|
blocked: string[];
|
|
2919
2228
|
};
|
|
2920
2229
|
goals: {
|
|
@@ -2999,7 +2308,7 @@ export declare function characterMessageReplyInput(state: LivingState, person: L
|
|
|
2999
2308
|
setting: string;
|
|
3000
2309
|
phase: string;
|
|
3001
2310
|
};
|
|
3002
|
-
export declare function epilogueInput(state:
|
|
2311
|
+
export declare function epilogueInput(state: LivingStateRaw): {
|
|
3003
2312
|
relationships: never[];
|
|
3004
2313
|
whereabouts: {
|
|
3005
2314
|
name: string;
|
|
@@ -3032,14 +2341,18 @@ export declare function epilogueInput(state: LivingState): {
|
|
|
3032
2341
|
witnesses: string[];
|
|
3033
2342
|
}[];
|
|
3034
2343
|
clock: string;
|
|
3035
|
-
|
|
2344
|
+
choices?: undefined;
|
|
3036
2345
|
phase: string;
|
|
3037
2346
|
player: {
|
|
3038
2347
|
name: string;
|
|
3039
2348
|
role: string;
|
|
3040
2349
|
pronouns: string;
|
|
3041
2350
|
place: string | null;
|
|
3042
|
-
|
|
2351
|
+
numbers: {
|
|
2352
|
+
slot: string;
|
|
2353
|
+
unit: string;
|
|
2354
|
+
amount: number;
|
|
2355
|
+
}[];
|
|
3043
2356
|
incapacitated: boolean;
|
|
3044
2357
|
forcedEnding: string | null;
|
|
3045
2358
|
};
|
|
@@ -3088,14 +2401,12 @@ export declare function epilogueInput(state: LivingState): {
|
|
|
3088
2401
|
witnesses: string[];
|
|
3089
2402
|
}[];
|
|
3090
2403
|
clock: string;
|
|
3091
|
-
|
|
2404
|
+
choices: {
|
|
3092
2405
|
name: string;
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
count: string | null;
|
|
3096
|
-
ballots: {
|
|
2406
|
+
options: string[];
|
|
2407
|
+
chosen: {
|
|
3097
2408
|
name: string;
|
|
3098
|
-
choice:
|
|
2409
|
+
choice: string;
|
|
3099
2410
|
}[];
|
|
3100
2411
|
}[];
|
|
3101
2412
|
phase: string;
|
|
@@ -3104,7 +2415,11 @@ export declare function epilogueInput(state: LivingState): {
|
|
|
3104
2415
|
role: string;
|
|
3105
2416
|
pronouns: string;
|
|
3106
2417
|
place: string | null;
|
|
3107
|
-
|
|
2418
|
+
numbers: {
|
|
2419
|
+
slot: string;
|
|
2420
|
+
unit: string;
|
|
2421
|
+
amount: number;
|
|
2422
|
+
}[];
|
|
3108
2423
|
incapacitated: boolean;
|
|
3109
2424
|
forcedEnding: string | null;
|
|
3110
2425
|
};
|
|
@@ -3121,10 +2436,3 @@ export declare function epilogueInput(state: LivingState): {
|
|
|
3121
2436
|
latest?: string | null | undefined;
|
|
3122
2437
|
}[];
|
|
3123
2438
|
};
|
|
3124
|
-
export declare const WORLD_PRINCIPLES = "People know only what they perceive, read or are told. They have their own aims, duties, feelings, and judgment. The setting decides what is physically and socially possible. An act can fail yet still cause a real result. A lasting result needs a typed change in state. Speech is a statement until evidence supports its claim. Describe only what a person in the scene can sense. Keep private thoughts and unseen causes in the objective record. Use ids for known people, things, places, kinds, problems. Let serious events affect later choices.";
|
|
3125
|
-
export declare const GAME_MASTER_SYSTEM: string;
|
|
3126
|
-
export declare const SPEECH_IMPACT_SYSTEM: string;
|
|
3127
|
-
export declare const CHARACTER_REACTION_SYSTEM: string;
|
|
3128
|
-
export declare const CHARACTER_PLAN_SYSTEM: string;
|
|
3129
|
-
export declare const CHARACTER_MESSAGE_SYSTEM: string;
|
|
3130
|
-
export declare const NARRATOR_EPILOGUE_SYSTEM: string;
|