@ghostpaw/questlog 0.1.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/README.md +7 -0
- package/dist/index.cjs +185 -419
- package/dist/index.d.cts +15 -3
- package/dist/index.d.ts +15 -3
- package/dist/index.js +185 -419
- package/package.json +7 -1
package/dist/index.cjs
CHANGED
|
@@ -3753,70 +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
|
-
objectSchema(
|
|
3767
|
-
{
|
|
3768
|
-
action: enumSchema("Action to perform.", ["create"]),
|
|
3769
|
-
repeatableQuest: objectSchema(
|
|
3770
|
-
{
|
|
3771
|
-
title: stringSchema("Title for the new repeatable quest."),
|
|
3772
|
-
objective: stringSchema("Objective for the new repeatable quest."),
|
|
3773
|
-
rrule: stringSchema("RRULE describing recurrence."),
|
|
3774
|
-
anchorAt: integerSchema("Recurrence anchor timestamp.")
|
|
3775
|
-
},
|
|
3776
|
-
["title", "objective", "rrule", "anchorAt"]
|
|
3777
|
-
)
|
|
3778
|
-
},
|
|
3779
|
-
["action", "repeatableQuest"]
|
|
3780
|
-
),
|
|
3781
|
-
objectSchema(
|
|
3782
|
-
{
|
|
3783
|
-
action: enumSchema("Action to perform.", ["preview_due"]),
|
|
3784
|
-
now: integerSchema("Evaluation timestamp for due anchors.")
|
|
3785
|
-
},
|
|
3786
|
-
["action"]
|
|
3787
|
-
),
|
|
3788
|
-
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(
|
|
3789
3767
|
{
|
|
3790
|
-
|
|
3791
|
-
|
|
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.")
|
|
3792
3772
|
},
|
|
3793
|
-
["
|
|
3773
|
+
["title", "objective", "rrule", "anchorAt"]
|
|
3794
3774
|
),
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
archivedAt: integerSchema("Optional archive timestamp."),
|
|
3813
|
-
now: integerSchema("Optional update timestamp.")
|
|
3814
|
-
},
|
|
3815
|
-
["action", "repeatableQuestId"]
|
|
3816
|
-
)
|
|
3817
|
-
],
|
|
3818
|
-
description: "Manage repeatable quest definitions and due materialization."
|
|
3819
|
-
},
|
|
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
|
+
),
|
|
3820
3792
|
handler: manageRepeatableToolHandler
|
|
3821
3793
|
});
|
|
3822
3794
|
|
|
@@ -4020,59 +3992,29 @@ var organizeWorkTool = defineQuestlogTool({
|
|
|
4020
3992
|
now: "Optional timestamp for unlock changes."
|
|
4021
3993
|
},
|
|
4022
3994
|
outputDescription: "Returns the updated questline detail or target quest detail after grouping or dependency changes. Repeated equivalent changes return structured no-op results.",
|
|
4023
|
-
inputSchema:
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
),
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
)
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
now: integerSchema("Optional timestamp for the unlock change."),
|
|
4047
|
-
toQuestId: integerSchema("Quest whose blockers should change.")
|
|
4048
|
-
},
|
|
4049
|
-
["action", "fromQuestId", "toQuestId"]
|
|
4050
|
-
),
|
|
4051
|
-
objectSchema(
|
|
4052
|
-
{
|
|
4053
|
-
action: enumSchema("Action to perform.", ["replace_unlocks"]),
|
|
4054
|
-
fromQuestIds: arraySchema(integerSchema("Quest id."), "Full prerequisite quest id set."),
|
|
4055
|
-
now: integerSchema("Optional timestamp for the unlock change."),
|
|
4056
|
-
toQuestId: integerSchema("Quest whose blockers should change.")
|
|
4057
|
-
},
|
|
4058
|
-
["action", "fromQuestIds", "toQuestId"]
|
|
4059
|
-
),
|
|
4060
|
-
objectSchema(
|
|
4061
|
-
{
|
|
4062
|
-
action: enumSchema("Action to perform.", ["set_questline_fields"]),
|
|
4063
|
-
questlineId: integerSchema("Questline to update."),
|
|
4064
|
-
title: stringSchema("Optional new questline title."),
|
|
4065
|
-
description: stringSchema("Optional new questline description."),
|
|
4066
|
-
startsAt: integerSchema("Optional questline start timestamp."),
|
|
4067
|
-
dueAt: integerSchema("Optional questline due timestamp."),
|
|
4068
|
-
archivedAt: integerSchema("Optional archive timestamp."),
|
|
4069
|
-
now: integerSchema("Optional update timestamp.")
|
|
4070
|
-
},
|
|
4071
|
-
["action", "questlineId"]
|
|
4072
|
-
)
|
|
4073
|
-
],
|
|
4074
|
-
description: "Organize questline fields and unlock dependencies."
|
|
4075
|
-
},
|
|
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
|
+
),
|
|
4076
4018
|
handler: organizeWorkToolHandler
|
|
4077
4019
|
});
|
|
4078
4020
|
|
|
@@ -4162,34 +4104,22 @@ var planQuestTool = defineQuestlogTool({
|
|
|
4162
4104
|
now: "Optional timestamp for updating the quest."
|
|
4163
4105
|
},
|
|
4164
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.",
|
|
4165
|
-
inputSchema:
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
),
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
dueAt: integerSchema("Optional latest acceptable completion timestamp."),
|
|
4182
|
-
scheduledStartAt: integerSchema("Optional planned schedule window start."),
|
|
4183
|
-
scheduledEndAt: integerSchema("Optional planned schedule window end."),
|
|
4184
|
-
allDay: booleanSchema("Whether the planned schedule window is all-day."),
|
|
4185
|
-
estimateSeconds: integerSchema("Optional active-effort estimate in seconds."),
|
|
4186
|
-
now: integerSchema("Optional update timestamp.")
|
|
4187
|
-
},
|
|
4188
|
-
["action", "questId"]
|
|
4189
|
-
)
|
|
4190
|
-
],
|
|
4191
|
-
description: "Refine a quest objective or planning state."
|
|
4192
|
-
},
|
|
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
|
+
),
|
|
4193
4123
|
handler: planQuestToolHandler
|
|
4194
4124
|
});
|
|
4195
4125
|
|
|
@@ -4745,104 +4675,46 @@ var rewardWorkTool = defineQuestlogTool({
|
|
|
4745
4675
|
now: "Optional timestamp for removing a reward or replacing repeatable reward templates."
|
|
4746
4676
|
},
|
|
4747
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.",
|
|
4748
|
-
inputSchema:
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
["kind", "name"]
|
|
4759
|
-
),
|
|
4760
|
-
target: objectSchema(
|
|
4761
|
-
{
|
|
4762
|
-
id: integerSchema("Quest id."),
|
|
4763
|
-
kind: enumSchema("Target kind.", ["quest"])
|
|
4764
|
-
},
|
|
4765
|
-
["id", "kind"]
|
|
4766
|
-
)
|
|
4767
|
-
},
|
|
4768
|
-
["action", "reward", "target"]
|
|
4769
|
-
),
|
|
4770
|
-
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(
|
|
4771
4688
|
{
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
target: objectSchema(
|
|
4775
|
-
{
|
|
4776
|
-
id: integerSchema("Reward id."),
|
|
4777
|
-
kind: enumSchema("Target kind.", ["reward"])
|
|
4778
|
-
},
|
|
4779
|
-
["id", "kind"]
|
|
4780
|
-
)
|
|
4689
|
+
id: integerSchema("Target entity id."),
|
|
4690
|
+
kind: enumSchema("Target kind.", ["quest", "reward", "repeatable_quest"])
|
|
4781
4691
|
},
|
|
4782
|
-
["
|
|
4692
|
+
["id", "kind"]
|
|
4783
4693
|
),
|
|
4784
|
-
objectSchema(
|
|
4694
|
+
reward: objectSchema(
|
|
4785
4695
|
{
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
{
|
|
4790
|
-
id: integerSchema("Reward id."),
|
|
4791
|
-
kind: enumSchema("Target kind.", ["reward"])
|
|
4792
|
-
},
|
|
4793
|
-
["id", "kind"]
|
|
4794
|
-
)
|
|
4696
|
+
kind: stringSchema("Reward kind."),
|
|
4697
|
+
name: stringSchema("Reward name."),
|
|
4698
|
+
now: integerSchema("Optional update timestamp for the update action.")
|
|
4795
4699
|
},
|
|
4796
|
-
[
|
|
4700
|
+
[]
|
|
4797
4701
|
),
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
},
|
|
4808
|
-
["kind", "name"]
|
|
4809
|
-
),
|
|
4810
|
-
"Full future reward template set."
|
|
4811
|
-
),
|
|
4812
|
-
target: objectSchema(
|
|
4813
|
-
{
|
|
4814
|
-
id: integerSchema("Repeatable quest id."),
|
|
4815
|
-
kind: enumSchema("Target kind.", ["repeatable_quest"])
|
|
4816
|
-
},
|
|
4817
|
-
["id", "kind"]
|
|
4818
|
-
)
|
|
4819
|
-
},
|
|
4820
|
-
["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."
|
|
4821
4711
|
),
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
name: stringSchema("Optional reward name."),
|
|
4829
|
-
now: integerSchema("Optional update timestamp.")
|
|
4830
|
-
},
|
|
4831
|
-
[]
|
|
4832
|
-
),
|
|
4833
|
-
target: objectSchema(
|
|
4834
|
-
{
|
|
4835
|
-
id: integerSchema("Reward id."),
|
|
4836
|
-
kind: enumSchema("Target kind.", ["reward"])
|
|
4837
|
-
},
|
|
4838
|
-
["id", "kind"]
|
|
4839
|
-
)
|
|
4840
|
-
},
|
|
4841
|
-
["action", "target", "reward"]
|
|
4842
|
-
)
|
|
4843
|
-
],
|
|
4844
|
-
description: "Manage quest rewards and repeatable reward templates."
|
|
4845
|
-
},
|
|
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
|
+
),
|
|
4846
4718
|
handler: rewardWorkToolHandler
|
|
4847
4719
|
});
|
|
4848
4720
|
|
|
@@ -4998,65 +4870,39 @@ var runQuestTool = defineQuestlogTool({
|
|
|
4998
4870
|
followups: "Follow-up quest creation inputs used only for the abandon-and-spawn-followups action."
|
|
4999
4871
|
},
|
|
5000
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.",
|
|
5001
|
-
inputSchema:
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
),
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
action: enumSchema("Action to perform.", ["abandon_and_spawn_followups"]),
|
|
5015
|
-
followups: arraySchema(
|
|
5016
|
-
objectSchema(
|
|
5017
|
-
{
|
|
5018
|
-
title: stringSchema("Title for a follow-up quest."),
|
|
5019
|
-
objective: stringSchema("Objective for a follow-up quest.")
|
|
5020
|
-
},
|
|
5021
|
-
["title", "objective"]
|
|
5022
|
-
),
|
|
5023
|
-
"Follow-up quests to create atomically."
|
|
5024
|
-
),
|
|
5025
|
-
outcome: stringSchema("Terminal outcome text."),
|
|
5026
|
-
questId: integerSchema("Quest to abandon."),
|
|
5027
|
-
resolvedAt: integerSchema("Optional resolved timestamp.")
|
|
5028
|
-
},
|
|
5029
|
-
["action", "questId", "outcome", "followups"]
|
|
5030
|
-
),
|
|
5031
|
-
objectSchema(
|
|
5032
|
-
{
|
|
5033
|
-
action: enumSchema("Action to perform.", ["finish"]),
|
|
5034
|
-
outcome: stringSchema("Terminal outcome text."),
|
|
5035
|
-
questId: integerSchema("Quest to finish."),
|
|
5036
|
-
resolvedAt: integerSchema("Optional resolved timestamp.")
|
|
5037
|
-
},
|
|
5038
|
-
["action", "questId", "outcome"]
|
|
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."
|
|
5039
4886
|
),
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
effortSeconds: integerSchema("Positive active-effort increment in seconds."),
|
|
5044
|
-
now: integerSchema("Optional effort-log timestamp."),
|
|
5045
|
-
questId: integerSchema("Quest to update.")
|
|
5046
|
-
},
|
|
5047
|
-
["action", "questId", "effortSeconds"]
|
|
4887
|
+
now: integerSchema("Optional effort-log timestamp."),
|
|
4888
|
+
outcome: stringSchema(
|
|
4889
|
+
"Terminal outcome text. Required for finish, abandon, and abandon_and_spawn_followups."
|
|
5048
4890
|
),
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
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."
|
|
5056
4901
|
)
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
4902
|
+
},
|
|
4903
|
+
["action", "questId"],
|
|
4904
|
+
"Run quest lifecycle actions."
|
|
4905
|
+
),
|
|
5060
4906
|
handler: runQuestToolHandler
|
|
5061
4907
|
});
|
|
5062
4908
|
|
|
@@ -5408,93 +5254,50 @@ var shapeWorkTool = defineQuestlogTool({
|
|
|
5408
5254
|
now: "Optional timestamp for reopen or questline membership changes."
|
|
5409
5255
|
},
|
|
5410
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.",
|
|
5411
|
-
inputSchema:
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
),
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
quest: objectSchema(
|
|
5426
|
-
{
|
|
5427
|
-
title: stringSchema("Title for the new quest."),
|
|
5428
|
-
objective: stringSchema("Objective for the new quest.")
|
|
5429
|
-
},
|
|
5430
|
-
["title", "objective"]
|
|
5431
|
-
)
|
|
5432
|
-
},
|
|
5433
|
-
["action", "quest"]
|
|
5434
|
-
),
|
|
5435
|
-
objectSchema(
|
|
5436
|
-
{
|
|
5437
|
-
action: enumSchema("Action to perform.", ["create_questline"]),
|
|
5438
|
-
questline: objectSchema(
|
|
5439
|
-
{
|
|
5440
|
-
title: stringSchema("Title for the new questline.")
|
|
5441
|
-
},
|
|
5442
|
-
["title"]
|
|
5443
|
-
)
|
|
5444
|
-
},
|
|
5445
|
-
["action", "questline"]
|
|
5446
|
-
),
|
|
5447
|
-
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(
|
|
5448
5271
|
{
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
questId: integerSchema("Quest to detach.")
|
|
5272
|
+
title: stringSchema("Title for the new quest."),
|
|
5273
|
+
objective: stringSchema("Objective for the new quest.")
|
|
5452
5274
|
},
|
|
5453
|
-
["
|
|
5275
|
+
["title", "objective"]
|
|
5454
5276
|
),
|
|
5455
|
-
objectSchema(
|
|
5277
|
+
questline: objectSchema(
|
|
5456
5278
|
{
|
|
5457
|
-
|
|
5458
|
-
dismissedAt: integerSchema("Optional dismissal timestamp."),
|
|
5459
|
-
rumorId: integerSchema("Rumor to dismiss.")
|
|
5279
|
+
title: stringSchema("Questline title.")
|
|
5460
5280
|
},
|
|
5461
|
-
[
|
|
5281
|
+
[]
|
|
5462
5282
|
),
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
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."
|
|
5470
5295
|
),
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
questline: objectSchema(
|
|
5477
|
-
{
|
|
5478
|
-
title: stringSchema("Optional questline title to create during settlement.")
|
|
5479
|
-
},
|
|
5480
|
-
[]
|
|
5481
|
-
),
|
|
5482
|
-
quests: arraySchema(
|
|
5483
|
-
objectSchema(
|
|
5484
|
-
{
|
|
5485
|
-
title: stringSchema("Title for a created quest."),
|
|
5486
|
-
objective: stringSchema("Objective for a created quest.")
|
|
5487
|
-
},
|
|
5488
|
-
["title", "objective"]
|
|
5489
|
-
),
|
|
5490
|
-
"Optional quests to create during settlement."
|
|
5491
|
-
)
|
|
5492
|
-
},
|
|
5493
|
-
["action", "rumorId"]
|
|
5494
|
-
)
|
|
5495
|
-
],
|
|
5496
|
-
description: "Shape the work graph by settling rumors, creating work, or moving quests into questlines."
|
|
5497
|
-
},
|
|
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
|
+
),
|
|
5498
5301
|
handler: shapeWorkToolHandler
|
|
5499
5302
|
});
|
|
5500
5303
|
|
|
@@ -5694,59 +5497,22 @@ var tagWorkTool = defineQuestlogTool({
|
|
|
5694
5497
|
now: "Optional timestamp for the tag mutation."
|
|
5695
5498
|
},
|
|
5696
5499
|
outputDescription: "Returns the normalized final tag set for the target after the selected tag action. Repeated equivalent changes return structured no-op results.",
|
|
5697
|
-
inputSchema:
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
action: enumSchema("Action to perform.", ["add"]),
|
|
5702
|
-
now: integerSchema("Optional timestamp for the tag mutation."),
|
|
5703
|
-
tagNames: arraySchema(stringSchema("Tag name."), "Tags to add."),
|
|
5704
|
-
target: objectSchema(
|
|
5705
|
-
{
|
|
5706
|
-
id: integerSchema("Quest id."),
|
|
5707
|
-
kind: enumSchema("Target kind.", ["quest"])
|
|
5708
|
-
},
|
|
5709
|
-
["id", "kind"]
|
|
5710
|
-
)
|
|
5711
|
-
},
|
|
5712
|
-
["action", "target", "tagNames"]
|
|
5713
|
-
),
|
|
5714
|
-
objectSchema(
|
|
5500
|
+
inputSchema: objectSchema(
|
|
5501
|
+
{
|
|
5502
|
+
action: enumSchema("Action to perform.", ["add", "remove", "replace"]),
|
|
5503
|
+
target: objectSchema(
|
|
5715
5504
|
{
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
tagNames: arraySchema(stringSchema("Tag name."), "Tags to remove."),
|
|
5719
|
-
target: objectSchema(
|
|
5720
|
-
{
|
|
5721
|
-
id: integerSchema("Quest id."),
|
|
5722
|
-
kind: enumSchema("Target kind.", ["quest"])
|
|
5723
|
-
},
|
|
5724
|
-
["id", "kind"]
|
|
5725
|
-
)
|
|
5505
|
+
id: integerSchema("Target entity id."),
|
|
5506
|
+
kind: enumSchema("Target kind.", ["quest", "repeatable_quest"])
|
|
5726
5507
|
},
|
|
5727
|
-
["
|
|
5508
|
+
["id", "kind"]
|
|
5728
5509
|
),
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
"Tags to make the full replacement set."
|
|
5736
|
-
),
|
|
5737
|
-
target: objectSchema(
|
|
5738
|
-
{
|
|
5739
|
-
id: integerSchema("Target id."),
|
|
5740
|
-
kind: enumSchema("Target kind.", ["quest", "repeatable_quest"])
|
|
5741
|
-
},
|
|
5742
|
-
["id", "kind"]
|
|
5743
|
-
)
|
|
5744
|
-
},
|
|
5745
|
-
["action", "target", "tagNames"]
|
|
5746
|
-
)
|
|
5747
|
-
],
|
|
5748
|
-
description: "Mutate tags on quests or repeatable quests."
|
|
5749
|
-
},
|
|
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
|
+
),
|
|
5750
5516
|
handler: tagWorkToolHandler
|
|
5751
5517
|
});
|
|
5752
5518
|
|