@ghostpaw/questlog 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +185 -426
- package/dist/index.js +185 -426
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3753,71 +3753,42 @@ var manageRepeatableTool = defineQuestlogTool({
|
|
|
3753
3753
|
now: "Evaluation or spawn timestamp for previewing or materializing due anchors."
|
|
3754
3754
|
},
|
|
3755
3755
|
outputDescription: "Returns the changed repeatable quest, due anchor preview items, or spawned quest details for the selected recurrence action. Empty previews and empty spawns return structured success or no-op results, and repeatable hiding is now intentionally routed through `retire_work`.",
|
|
3756
|
-
inputSchema:
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
objectSchema(
|
|
3768
|
-
{
|
|
3769
|
-
action: enumSchema("Action to perform.", ["create"]),
|
|
3770
|
-
repeatableQuest: objectSchema(
|
|
3771
|
-
{
|
|
3772
|
-
title: stringSchema("Title for the new repeatable quest."),
|
|
3773
|
-
objective: stringSchema("Objective for the new repeatable quest."),
|
|
3774
|
-
rrule: stringSchema("RRULE describing recurrence."),
|
|
3775
|
-
anchorAt: integerSchema("Recurrence anchor timestamp.")
|
|
3776
|
-
},
|
|
3777
|
-
["title", "objective", "rrule", "anchorAt"]
|
|
3778
|
-
)
|
|
3779
|
-
},
|
|
3780
|
-
["action", "repeatableQuest"]
|
|
3781
|
-
),
|
|
3782
|
-
objectSchema(
|
|
3783
|
-
{
|
|
3784
|
-
action: enumSchema("Action to perform.", ["preview_due"]),
|
|
3785
|
-
now: integerSchema("Evaluation timestamp for due anchors.")
|
|
3786
|
-
},
|
|
3787
|
-
["action"]
|
|
3788
|
-
),
|
|
3789
|
-
objectSchema(
|
|
3756
|
+
inputSchema: objectSchema(
|
|
3757
|
+
{
|
|
3758
|
+
action: enumSchema("Action to perform.", [
|
|
3759
|
+
"archive",
|
|
3760
|
+
"create",
|
|
3761
|
+
"preview_due",
|
|
3762
|
+
"spawn_due",
|
|
3763
|
+
"update"
|
|
3764
|
+
]),
|
|
3765
|
+
repeatableQuestId: integerSchema("Repeatable quest to archive or update."),
|
|
3766
|
+
repeatableQuest: objectSchema(
|
|
3790
3767
|
{
|
|
3791
|
-
|
|
3792
|
-
|
|
3768
|
+
title: stringSchema("Title for the new repeatable quest."),
|
|
3769
|
+
objective: stringSchema("Objective for the new repeatable quest."),
|
|
3770
|
+
rrule: stringSchema("RRULE describing recurrence."),
|
|
3771
|
+
anchorAt: integerSchema("Recurrence anchor timestamp.")
|
|
3793
3772
|
},
|
|
3794
|
-
["
|
|
3773
|
+
["title", "objective", "rrule", "anchorAt"]
|
|
3795
3774
|
),
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
archivedAt: integerSchema("Optional archive timestamp."),
|
|
3814
|
-
now: integerSchema("Optional update timestamp.")
|
|
3815
|
-
},
|
|
3816
|
-
["action", "repeatableQuestId"]
|
|
3817
|
-
)
|
|
3818
|
-
],
|
|
3819
|
-
description: "Manage repeatable quest definitions and due materialization."
|
|
3820
|
-
},
|
|
3775
|
+
title: stringSchema("Optional new title for the update action."),
|
|
3776
|
+
objective: stringSchema("Optional new objective for the update action."),
|
|
3777
|
+
questlineId: integerSchema("Optional new questline id."),
|
|
3778
|
+
rrule: stringSchema("Optional new RRULE."),
|
|
3779
|
+
anchorAt: integerSchema("Optional new recurrence anchor timestamp."),
|
|
3780
|
+
notBeforeOffsetSeconds: integerSchema("Optional new not-before offset in seconds."),
|
|
3781
|
+
dueOffsetSeconds: integerSchema("Optional new due offset in seconds."),
|
|
3782
|
+
scheduledStartOffsetSeconds: integerSchema("Optional new scheduled-start offset in seconds."),
|
|
3783
|
+
scheduledEndOffsetSeconds: integerSchema("Optional new scheduled-end offset in seconds."),
|
|
3784
|
+
allDay: booleanSchema("Whether future schedules are all-day."),
|
|
3785
|
+
estimateSeconds: integerSchema("Optional new effort estimate."),
|
|
3786
|
+
archivedAt: integerSchema("Optional archive timestamp."),
|
|
3787
|
+
now: integerSchema("Evaluation or update timestamp.")
|
|
3788
|
+
},
|
|
3789
|
+
["action"],
|
|
3790
|
+
"Manage repeatable quest definitions and due materialization."
|
|
3791
|
+
),
|
|
3821
3792
|
handler: manageRepeatableToolHandler
|
|
3822
3793
|
});
|
|
3823
3794
|
|
|
@@ -4021,60 +3992,29 @@ var organizeWorkTool = defineQuestlogTool({
|
|
|
4021
3992
|
now: "Optional timestamp for unlock changes."
|
|
4022
3993
|
},
|
|
4023
3994
|
outputDescription: "Returns the updated questline detail or target quest detail after grouping or dependency changes. Repeated equivalent changes return structured no-op results.",
|
|
4024
|
-
inputSchema:
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
),
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
fromQuestId: integerSchema("Prerequisite quest id."),
|
|
4048
|
-
now: integerSchema("Optional timestamp for the unlock change."),
|
|
4049
|
-
toQuestId: integerSchema("Quest whose blockers should change.")
|
|
4050
|
-
},
|
|
4051
|
-
["action", "fromQuestId", "toQuestId"]
|
|
4052
|
-
),
|
|
4053
|
-
objectSchema(
|
|
4054
|
-
{
|
|
4055
|
-
action: enumSchema("Action to perform.", ["replace_unlocks"]),
|
|
4056
|
-
fromQuestIds: arraySchema(integerSchema("Quest id."), "Full prerequisite quest id set."),
|
|
4057
|
-
now: integerSchema("Optional timestamp for the unlock change."),
|
|
4058
|
-
toQuestId: integerSchema("Quest whose blockers should change.")
|
|
4059
|
-
},
|
|
4060
|
-
["action", "fromQuestIds", "toQuestId"]
|
|
4061
|
-
),
|
|
4062
|
-
objectSchema(
|
|
4063
|
-
{
|
|
4064
|
-
action: enumSchema("Action to perform.", ["set_questline_fields"]),
|
|
4065
|
-
questlineId: integerSchema("Questline to update."),
|
|
4066
|
-
title: stringSchema("Optional new questline title."),
|
|
4067
|
-
description: stringSchema("Optional new questline description."),
|
|
4068
|
-
startsAt: integerSchema("Optional questline start timestamp."),
|
|
4069
|
-
dueAt: integerSchema("Optional questline due timestamp."),
|
|
4070
|
-
archivedAt: integerSchema("Optional archive timestamp."),
|
|
4071
|
-
now: integerSchema("Optional update timestamp.")
|
|
4072
|
-
},
|
|
4073
|
-
["action", "questlineId"]
|
|
4074
|
-
)
|
|
4075
|
-
],
|
|
4076
|
-
description: "Organize questline fields and unlock dependencies."
|
|
4077
|
-
},
|
|
3995
|
+
inputSchema: objectSchema(
|
|
3996
|
+
{
|
|
3997
|
+
action: enumSchema("Action to perform.", [
|
|
3998
|
+
"add_unlock",
|
|
3999
|
+
"archive_questline",
|
|
4000
|
+
"remove_unlock",
|
|
4001
|
+
"replace_unlocks",
|
|
4002
|
+
"set_questline_fields"
|
|
4003
|
+
]),
|
|
4004
|
+
questlineId: integerSchema("Questline to update or archive."),
|
|
4005
|
+
title: stringSchema("Optional new questline title."),
|
|
4006
|
+
description: stringSchema("Optional new questline description."),
|
|
4007
|
+
startsAt: integerSchema("Optional questline start timestamp."),
|
|
4008
|
+
dueAt: integerSchema("Optional questline due timestamp."),
|
|
4009
|
+
archivedAt: integerSchema("Optional archive timestamp."),
|
|
4010
|
+
toQuestId: integerSchema("Quest whose blockers should change."),
|
|
4011
|
+
fromQuestId: integerSchema("Prerequisite quest id."),
|
|
4012
|
+
fromQuestIds: arraySchema(integerSchema("Quest id."), "Full prerequisite quest id set."),
|
|
4013
|
+
now: integerSchema("Optional timestamp.")
|
|
4014
|
+
},
|
|
4015
|
+
["action"],
|
|
4016
|
+
"Organize questline fields and unlock dependencies."
|
|
4017
|
+
),
|
|
4078
4018
|
handler: organizeWorkToolHandler
|
|
4079
4019
|
});
|
|
4080
4020
|
|
|
@@ -4164,35 +4104,22 @@ var planQuestTool = defineQuestlogTool({
|
|
|
4164
4104
|
now: "Optional timestamp for updating the quest."
|
|
4165
4105
|
},
|
|
4166
4106
|
outputDescription: "Returns the updated quest detail after objective or planning changes. If the requested planning state is already present, the tool returns a structured no-op result.",
|
|
4167
|
-
inputSchema:
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
)
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
notBeforeAt: integerSchema("Optional earliest actionable timestamp."),
|
|
4184
|
-
dueAt: integerSchema("Optional latest acceptable completion timestamp."),
|
|
4185
|
-
scheduledStartAt: integerSchema("Optional planned schedule window start."),
|
|
4186
|
-
scheduledEndAt: integerSchema("Optional planned schedule window end."),
|
|
4187
|
-
allDay: booleanSchema("Whether the planned schedule window is all-day."),
|
|
4188
|
-
estimateSeconds: integerSchema("Optional active-effort estimate in seconds."),
|
|
4189
|
-
now: integerSchema("Optional update timestamp.")
|
|
4190
|
-
},
|
|
4191
|
-
["action", "questId"]
|
|
4192
|
-
)
|
|
4193
|
-
],
|
|
4194
|
-
description: "Refine a quest objective or planning state."
|
|
4195
|
-
},
|
|
4107
|
+
inputSchema: objectSchema(
|
|
4108
|
+
{
|
|
4109
|
+
action: enumSchema("Action to perform.", ["revise_objective", "set_time"]),
|
|
4110
|
+
questId: integerSchema("The quest to refine."),
|
|
4111
|
+
objective: stringSchema("The new quest objective text. Required for revise_objective."),
|
|
4112
|
+
notBeforeAt: integerSchema("Optional earliest actionable timestamp."),
|
|
4113
|
+
dueAt: integerSchema("Optional latest acceptable completion timestamp."),
|
|
4114
|
+
scheduledStartAt: integerSchema("Optional planned schedule window start."),
|
|
4115
|
+
scheduledEndAt: integerSchema("Optional planned schedule window end."),
|
|
4116
|
+
allDay: booleanSchema("Whether the planned schedule window is all-day."),
|
|
4117
|
+
estimateSeconds: integerSchema("Optional active-effort estimate in seconds."),
|
|
4118
|
+
now: integerSchema("Optional update timestamp.")
|
|
4119
|
+
},
|
|
4120
|
+
["action", "questId"],
|
|
4121
|
+
"Refine a quest objective or planning state."
|
|
4122
|
+
),
|
|
4196
4123
|
handler: planQuestToolHandler
|
|
4197
4124
|
});
|
|
4198
4125
|
|
|
@@ -4748,105 +4675,46 @@ var rewardWorkTool = defineQuestlogTool({
|
|
|
4748
4675
|
now: "Optional timestamp for removing a reward or replacing repeatable reward templates."
|
|
4749
4676
|
},
|
|
4750
4677
|
outputDescription: "Returns the updated or claimed reward when one concrete reward changes, or a structured success result for repeatable future template replacement. Already-claimed rewards return a structured no-op for claim and an error for invalid update or remove attempts.",
|
|
4751
|
-
inputSchema:
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
},
|
|
4762
|
-
["kind", "name"]
|
|
4763
|
-
),
|
|
4764
|
-
target: objectSchema(
|
|
4765
|
-
{
|
|
4766
|
-
id: integerSchema("Quest id."),
|
|
4767
|
-
kind: enumSchema("Target kind.", ["quest"])
|
|
4768
|
-
},
|
|
4769
|
-
["id", "kind"]
|
|
4770
|
-
)
|
|
4771
|
-
},
|
|
4772
|
-
["action", "reward", "target"]
|
|
4773
|
-
),
|
|
4774
|
-
objectSchema(
|
|
4678
|
+
inputSchema: objectSchema(
|
|
4679
|
+
{
|
|
4680
|
+
action: enumSchema("Action to perform.", [
|
|
4681
|
+
"add",
|
|
4682
|
+
"claim",
|
|
4683
|
+
"remove",
|
|
4684
|
+
"replace_repeatable_template",
|
|
4685
|
+
"update"
|
|
4686
|
+
]),
|
|
4687
|
+
target: objectSchema(
|
|
4775
4688
|
{
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
target: objectSchema(
|
|
4779
|
-
{
|
|
4780
|
-
id: integerSchema("Reward id."),
|
|
4781
|
-
kind: enumSchema("Target kind.", ["reward"])
|
|
4782
|
-
},
|
|
4783
|
-
["id", "kind"]
|
|
4784
|
-
)
|
|
4689
|
+
id: integerSchema("Target entity id."),
|
|
4690
|
+
kind: enumSchema("Target kind.", ["quest", "reward", "repeatable_quest"])
|
|
4785
4691
|
},
|
|
4786
|
-
["
|
|
4692
|
+
["id", "kind"]
|
|
4787
4693
|
),
|
|
4788
|
-
objectSchema(
|
|
4694
|
+
reward: objectSchema(
|
|
4789
4695
|
{
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
{
|
|
4794
|
-
id: integerSchema("Reward id."),
|
|
4795
|
-
kind: enumSchema("Target kind.", ["reward"])
|
|
4796
|
-
},
|
|
4797
|
-
["id", "kind"]
|
|
4798
|
-
)
|
|
4696
|
+
kind: stringSchema("Reward kind."),
|
|
4697
|
+
name: stringSchema("Reward name."),
|
|
4698
|
+
now: integerSchema("Optional update timestamp for the update action.")
|
|
4799
4699
|
},
|
|
4800
|
-
[
|
|
4700
|
+
[]
|
|
4801
4701
|
),
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
},
|
|
4812
|
-
["kind", "name"]
|
|
4813
|
-
),
|
|
4814
|
-
"Full future reward template set."
|
|
4815
|
-
),
|
|
4816
|
-
target: objectSchema(
|
|
4817
|
-
{
|
|
4818
|
-
id: integerSchema("Repeatable quest id."),
|
|
4819
|
-
kind: enumSchema("Target kind.", ["repeatable_quest"])
|
|
4820
|
-
},
|
|
4821
|
-
["id", "kind"]
|
|
4822
|
-
)
|
|
4823
|
-
},
|
|
4824
|
-
["action", "target", "rewards"]
|
|
4702
|
+
rewards: arraySchema(
|
|
4703
|
+
objectSchema(
|
|
4704
|
+
{
|
|
4705
|
+
kind: stringSchema("Reward kind."),
|
|
4706
|
+
name: stringSchema("Reward name.")
|
|
4707
|
+
},
|
|
4708
|
+
["kind", "name"]
|
|
4709
|
+
),
|
|
4710
|
+
"Full future reward template set. Required for replace_repeatable_template."
|
|
4825
4711
|
),
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
name: stringSchema("Optional reward name."),
|
|
4833
|
-
now: integerSchema("Optional update timestamp.")
|
|
4834
|
-
},
|
|
4835
|
-
[]
|
|
4836
|
-
),
|
|
4837
|
-
target: objectSchema(
|
|
4838
|
-
{
|
|
4839
|
-
id: integerSchema("Reward id."),
|
|
4840
|
-
kind: enumSchema("Target kind.", ["reward"])
|
|
4841
|
-
},
|
|
4842
|
-
["id", "kind"]
|
|
4843
|
-
)
|
|
4844
|
-
},
|
|
4845
|
-
["action", "target", "reward"]
|
|
4846
|
-
)
|
|
4847
|
-
],
|
|
4848
|
-
description: "Manage quest rewards and repeatable reward templates."
|
|
4849
|
-
},
|
|
4712
|
+
claimedAt: integerSchema("Optional claim timestamp."),
|
|
4713
|
+
now: integerSchema("Optional timestamp for removal or template replacement.")
|
|
4714
|
+
},
|
|
4715
|
+
["action", "target"],
|
|
4716
|
+
"Manage quest rewards and repeatable reward templates."
|
|
4717
|
+
),
|
|
4850
4718
|
handler: rewardWorkToolHandler
|
|
4851
4719
|
});
|
|
4852
4720
|
|
|
@@ -5002,66 +4870,39 @@ var runQuestTool = defineQuestlogTool({
|
|
|
5002
4870
|
followups: "Follow-up quest creation inputs used only for the abandon-and-spawn-followups action."
|
|
5003
4871
|
},
|
|
5004
4872
|
outputDescription: "Returns the updated quest detail after the selected lifecycle action, plus purpose-shaped primary, updated, and created refs when follow-up work is spawned. Safe repeated starts return structured no-op results.",
|
|
5005
|
-
inputSchema:
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
{
|
|
5019
|
-
action: enumSchema("Action to perform.", ["abandon_and_spawn_followups"]),
|
|
5020
|
-
followups: arraySchema(
|
|
5021
|
-
objectSchema(
|
|
5022
|
-
{
|
|
5023
|
-
title: stringSchema("Title for a follow-up quest."),
|
|
5024
|
-
objective: stringSchema("Objective for a follow-up quest.")
|
|
5025
|
-
},
|
|
5026
|
-
["title", "objective"]
|
|
5027
|
-
),
|
|
5028
|
-
"Follow-up quests to create atomically."
|
|
5029
|
-
),
|
|
5030
|
-
outcome: stringSchema("Terminal outcome text."),
|
|
5031
|
-
questId: integerSchema("Quest to abandon."),
|
|
5032
|
-
resolvedAt: integerSchema("Optional resolved timestamp.")
|
|
5033
|
-
},
|
|
5034
|
-
["action", "questId", "outcome", "followups"]
|
|
4873
|
+
inputSchema: objectSchema(
|
|
4874
|
+
{
|
|
4875
|
+
action: enumSchema("Action to perform.", [
|
|
4876
|
+
"start",
|
|
4877
|
+
"log_effort",
|
|
4878
|
+
"finish",
|
|
4879
|
+
"abandon",
|
|
4880
|
+
"abandon_and_spawn_followups"
|
|
4881
|
+
]),
|
|
4882
|
+
questId: integerSchema("Quest whose execution state should change."),
|
|
4883
|
+
startedAt: integerSchema("Optional start timestamp for the start action."),
|
|
4884
|
+
effortSeconds: integerSchema(
|
|
4885
|
+
"Positive active-effort increment in seconds. Required for log_effort."
|
|
5035
4886
|
),
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
outcome: stringSchema("Terminal outcome text."),
|
|
5040
|
-
questId: integerSchema("Quest to finish."),
|
|
5041
|
-
resolvedAt: integerSchema("Optional resolved timestamp.")
|
|
5042
|
-
},
|
|
5043
|
-
["action", "questId", "outcome"]
|
|
4887
|
+
now: integerSchema("Optional effort-log timestamp."),
|
|
4888
|
+
outcome: stringSchema(
|
|
4889
|
+
"Terminal outcome text. Required for finish, abandon, and abandon_and_spawn_followups."
|
|
5044
4890
|
),
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
{
|
|
5056
|
-
action: enumSchema("Action to perform.", ["start"]),
|
|
5057
|
-
questId: integerSchema("Quest to start."),
|
|
5058
|
-
startedAt: integerSchema("Optional start timestamp.")
|
|
5059
|
-
},
|
|
5060
|
-
["action", "questId"]
|
|
4891
|
+
resolvedAt: integerSchema("Optional resolved timestamp for finish or abandon actions."),
|
|
4892
|
+
followups: arraySchema(
|
|
4893
|
+
objectSchema(
|
|
4894
|
+
{
|
|
4895
|
+
title: stringSchema("Title for a follow-up quest."),
|
|
4896
|
+
objective: stringSchema("Objective for a follow-up quest.")
|
|
4897
|
+
},
|
|
4898
|
+
["title", "objective"]
|
|
4899
|
+
),
|
|
4900
|
+
"Follow-up quests to create atomically. Required for abandon_and_spawn_followups."
|
|
5061
4901
|
)
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
4902
|
+
},
|
|
4903
|
+
["action", "questId"],
|
|
4904
|
+
"Run quest lifecycle actions."
|
|
4905
|
+
),
|
|
5065
4906
|
handler: runQuestToolHandler
|
|
5066
4907
|
});
|
|
5067
4908
|
|
|
@@ -5413,94 +5254,50 @@ var shapeWorkTool = defineQuestlogTool({
|
|
|
5413
5254
|
now: "Optional timestamp for reopen or questline membership changes."
|
|
5414
5255
|
},
|
|
5415
5256
|
outputDescription: "Returns the changed or created rumor, quest, questline, or created quest set for the selected shape-work action, plus purpose-shaped primary and created or updated refs. Repeated safe actions return structured no-op results, and rumor settlement can ask for missing structure instead of failing.",
|
|
5416
|
-
inputSchema:
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
),
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
action: enumSchema("Action to perform.", ["create_quest"]),
|
|
5431
|
-
quest: objectSchema(
|
|
5432
|
-
{
|
|
5433
|
-
title: stringSchema("Title for the new quest."),
|
|
5434
|
-
objective: stringSchema("Objective for the new quest.")
|
|
5435
|
-
},
|
|
5436
|
-
["title", "objective"]
|
|
5437
|
-
)
|
|
5438
|
-
},
|
|
5439
|
-
["action", "quest"]
|
|
5440
|
-
),
|
|
5441
|
-
objectSchema(
|
|
5442
|
-
{
|
|
5443
|
-
action: enumSchema("Action to perform.", ["create_questline"]),
|
|
5444
|
-
questline: objectSchema(
|
|
5445
|
-
{
|
|
5446
|
-
title: stringSchema("Title for the new questline.")
|
|
5447
|
-
},
|
|
5448
|
-
["title"]
|
|
5449
|
-
)
|
|
5450
|
-
},
|
|
5451
|
-
["action", "questline"]
|
|
5452
|
-
),
|
|
5453
|
-
objectSchema(
|
|
5257
|
+
inputSchema: objectSchema(
|
|
5258
|
+
{
|
|
5259
|
+
action: enumSchema("Action to perform.", [
|
|
5260
|
+
"attach_quest_to_questline",
|
|
5261
|
+
"create_quest",
|
|
5262
|
+
"create_questline",
|
|
5263
|
+
"detach_quest_from_questline",
|
|
5264
|
+
"dismiss_rumor",
|
|
5265
|
+
"reopen_rumor",
|
|
5266
|
+
"settle_rumor"
|
|
5267
|
+
]),
|
|
5268
|
+
questId: integerSchema("Quest to attach or detach."),
|
|
5269
|
+
questlineId: integerSchema("Questline that should receive the quest."),
|
|
5270
|
+
quest: objectSchema(
|
|
5454
5271
|
{
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
questId: integerSchema("Quest to detach.")
|
|
5272
|
+
title: stringSchema("Title for the new quest."),
|
|
5273
|
+
objective: stringSchema("Objective for the new quest.")
|
|
5458
5274
|
},
|
|
5459
|
-
["
|
|
5275
|
+
["title", "objective"]
|
|
5460
5276
|
),
|
|
5461
|
-
objectSchema(
|
|
5277
|
+
questline: objectSchema(
|
|
5462
5278
|
{
|
|
5463
|
-
|
|
5464
|
-
dismissedAt: integerSchema("Optional dismissal timestamp."),
|
|
5465
|
-
rumorId: integerSchema("Rumor to dismiss.")
|
|
5279
|
+
title: stringSchema("Questline title.")
|
|
5466
5280
|
},
|
|
5467
|
-
[
|
|
5281
|
+
[]
|
|
5468
5282
|
),
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5283
|
+
rumorId: integerSchema("Rumor to settle, dismiss, or reopen."),
|
|
5284
|
+
dismissedAt: integerSchema("Optional dismissal timestamp."),
|
|
5285
|
+
settledAt: integerSchema("Optional settlement timestamp."),
|
|
5286
|
+
quests: arraySchema(
|
|
5287
|
+
objectSchema(
|
|
5288
|
+
{
|
|
5289
|
+
title: stringSchema("Title for a created quest."),
|
|
5290
|
+
objective: stringSchema("Objective for a created quest.")
|
|
5291
|
+
},
|
|
5292
|
+
["title", "objective"]
|
|
5293
|
+
),
|
|
5294
|
+
"Quests to create during rumor settlement."
|
|
5476
5295
|
),
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
questline: objectSchema(
|
|
5483
|
-
{
|
|
5484
|
-
title: stringSchema("Optional questline title to create during settlement.")
|
|
5485
|
-
},
|
|
5486
|
-
[]
|
|
5487
|
-
),
|
|
5488
|
-
quests: arraySchema(
|
|
5489
|
-
objectSchema(
|
|
5490
|
-
{
|
|
5491
|
-
title: stringSchema("Title for a created quest."),
|
|
5492
|
-
objective: stringSchema("Objective for a created quest.")
|
|
5493
|
-
},
|
|
5494
|
-
["title", "objective"]
|
|
5495
|
-
),
|
|
5496
|
-
"Optional quests to create during settlement."
|
|
5497
|
-
)
|
|
5498
|
-
},
|
|
5499
|
-
["action", "rumorId"]
|
|
5500
|
-
)
|
|
5501
|
-
],
|
|
5502
|
-
description: "Shape the work graph by settling rumors, creating work, or moving quests into questlines."
|
|
5503
|
-
},
|
|
5296
|
+
now: integerSchema("Optional timestamp for membership or reopen changes.")
|
|
5297
|
+
},
|
|
5298
|
+
["action"],
|
|
5299
|
+
"Shape the work graph by settling rumors, creating work, or moving quests into questlines."
|
|
5300
|
+
),
|
|
5504
5301
|
handler: shapeWorkToolHandler
|
|
5505
5302
|
});
|
|
5506
5303
|
|
|
@@ -5700,60 +5497,22 @@ var tagWorkTool = defineQuestlogTool({
|
|
|
5700
5497
|
now: "Optional timestamp for the tag mutation."
|
|
5701
5498
|
},
|
|
5702
5499
|
outputDescription: "Returns the normalized final tag set for the target after the selected tag action. Repeated equivalent changes return structured no-op results.",
|
|
5703
|
-
inputSchema:
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
objectSchema(
|
|
5707
|
-
{
|
|
5708
|
-
action: enumSchema("Action to perform.", ["add"]),
|
|
5709
|
-
now: integerSchema("Optional timestamp for the tag mutation."),
|
|
5710
|
-
tagNames: arraySchema(stringSchema("Tag name."), "Tags to add."),
|
|
5711
|
-
target: objectSchema(
|
|
5712
|
-
{
|
|
5713
|
-
id: integerSchema("Quest id."),
|
|
5714
|
-
kind: enumSchema("Target kind.", ["quest"])
|
|
5715
|
-
},
|
|
5716
|
-
["id", "kind"]
|
|
5717
|
-
)
|
|
5718
|
-
},
|
|
5719
|
-
["action", "target", "tagNames"]
|
|
5720
|
-
),
|
|
5721
|
-
objectSchema(
|
|
5500
|
+
inputSchema: objectSchema(
|
|
5501
|
+
{
|
|
5502
|
+
action: enumSchema("Action to perform.", ["add", "remove", "replace"]),
|
|
5503
|
+
target: objectSchema(
|
|
5722
5504
|
{
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
tagNames: arraySchema(stringSchema("Tag name."), "Tags to remove."),
|
|
5726
|
-
target: objectSchema(
|
|
5727
|
-
{
|
|
5728
|
-
id: integerSchema("Quest id."),
|
|
5729
|
-
kind: enumSchema("Target kind.", ["quest"])
|
|
5730
|
-
},
|
|
5731
|
-
["id", "kind"]
|
|
5732
|
-
)
|
|
5505
|
+
id: integerSchema("Target entity id."),
|
|
5506
|
+
kind: enumSchema("Target kind.", ["quest", "repeatable_quest"])
|
|
5733
5507
|
},
|
|
5734
|
-
["
|
|
5508
|
+
["id", "kind"]
|
|
5735
5509
|
),
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
"Tags to make the full replacement set."
|
|
5743
|
-
),
|
|
5744
|
-
target: objectSchema(
|
|
5745
|
-
{
|
|
5746
|
-
id: integerSchema("Target id."),
|
|
5747
|
-
kind: enumSchema("Target kind.", ["quest", "repeatable_quest"])
|
|
5748
|
-
},
|
|
5749
|
-
["id", "kind"]
|
|
5750
|
-
)
|
|
5751
|
-
},
|
|
5752
|
-
["action", "target", "tagNames"]
|
|
5753
|
-
)
|
|
5754
|
-
],
|
|
5755
|
-
description: "Mutate tags on quests or repeatable quests."
|
|
5756
|
-
},
|
|
5510
|
+
tagNames: arraySchema(stringSchema("Tag name."), "Tag names to add, remove, or replace."),
|
|
5511
|
+
now: integerSchema("Optional timestamp for the tag mutation.")
|
|
5512
|
+
},
|
|
5513
|
+
["action", "target", "tagNames"],
|
|
5514
|
+
"Mutate tags on quests or repeatable quests."
|
|
5515
|
+
),
|
|
5757
5516
|
handler: tagWorkToolHandler
|
|
5758
5517
|
});
|
|
5759
5518
|
|