@ifsoul/core 0.3.0 → 0.4.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.
Files changed (137) hide show
  1. package/README.md +28 -34
  2. package/dist/packages/memory/src/sql.js +54 -5
  3. package/dist/packages/protocol/src/generated/validators.cjs +1 -1
  4. package/dist/packages/protocol/src/index.d.ts +1 -6
  5. package/dist/packages/protocol/src/index.js +3 -16
  6. package/dist/packages/protocol/src/types.d.ts +1 -1
  7. package/dist/packages/runtime/src/index.js +1 -1
  8. package/package.json +2 -3
  9. package/packages/protocol/schemas/current/archive.schema.json +16 -16
  10. package/packages/protocol/schemas/current/character.schema.json +21 -21
  11. package/packages/protocol/schemas/current/common.schema.json +15 -15
  12. package/packages/protocol/schemas/current/context.schema.json +24 -24
  13. package/packages/protocol/schemas/current/conversation.schema.json +39 -39
  14. package/packages/protocol/schemas/current/environment.schema.json +18 -18
  15. package/packages/protocol/schemas/current/memory.schema.json +66 -66
  16. package/packages/protocol/schemas/current/model-provider.schema.json +40 -40
  17. package/packages/protocol/schemas/current/planning.schema.json +61 -61
  18. package/packages/protocol/schemas/current/provider-common.schema.json +6 -6
  19. package/release.json +7 -12
  20. package/specs/README.md +3 -86
  21. package/specs/current/README.md +3 -5
  22. package/specs/current/examples/archive-fork.json +12 -12
  23. package/specs/current/examples/archive-resume.json +12 -12
  24. package/specs/current/examples/character-instance.json +1 -1
  25. package/specs/current/examples/character-template.json +1 -1
  26. package/specs/current/examples/context-after-inspection.json +1 -1
  27. package/specs/current/examples/context-chat.json +1 -1
  28. package/specs/current/examples/context-daily.json +1 -1
  29. package/specs/current/examples/context-no-speech.json +1 -1
  30. package/specs/current/examples/conversation-delivery.json +1 -1
  31. package/specs/current/examples/conversation-live-request.json +1 -1
  32. package/specs/current/examples/conversation-live-response.json +1 -1
  33. package/specs/current/examples/conversation-no-speech-request.json +1 -1
  34. package/specs/current/examples/conversation-no-speech-response.json +1 -1
  35. package/specs/current/examples/conversation-requested-request.json +1 -1
  36. package/specs/current/examples/conversation-requested-response.json +1 -1
  37. package/specs/current/examples/environment-chat.json +1 -1
  38. package/specs/current/examples/environment-game.json +1 -1
  39. package/specs/current/examples/environment-no-speech.json +1 -1
  40. package/specs/current/examples/intent-checkpoint.json +1 -1
  41. package/specs/current/examples/memory-episode.json +1 -1
  42. package/specs/current/examples/memory-event-conversation.json +1 -1
  43. package/specs/current/examples/memory-event-observed.json +2 -2
  44. package/specs/current/examples/memory-event-plan-proposal.json +2 -2
  45. package/specs/current/examples/memory-event-proposed.json +2 -2
  46. package/specs/current/examples/memory-fact.json +1 -1
  47. package/specs/current/examples/memory-relationship.json +1 -1
  48. package/specs/current/examples/memory-working-context.json +1 -1
  49. package/specs/current/examples/plan-cancel-request.json +1 -1
  50. package/specs/current/examples/plan-cancel-result.json +1 -1
  51. package/specs/current/examples/plan-daily.json +1 -1
  52. package/specs/current/examples/plan-partial-decision.json +1 -1
  53. package/specs/current/examples/portable-memory.jsonl +9 -9
  54. package/specs/current/examples/task-outcome.json +1 -1
  55. package/specs/current/examples/task-progress.json +1 -1
  56. package/specs/current/model-provider/examples/capabilities.json +1 -1
  57. package/specs/current/model-provider/examples/error.json +1 -1
  58. package/specs/current/model-provider/examples/request.json +1 -1
  59. package/specs/current/model-provider/examples/response.json +1 -1
  60. package/docs/npm-publishing.md +0 -44
  61. package/packages/protocol/schemas/action-result.schema.json +0 -187
  62. package/packages/protocol/schemas/action.schema.json +0 -68
  63. package/packages/protocol/schemas/archive-manifest.schema.json +0 -126
  64. package/packages/protocol/schemas/capability.schema.json +0 -131
  65. package/packages/protocol/schemas/character-instance.schema.json +0 -73
  66. package/packages/protocol/schemas/character-template.schema.json +0 -67
  67. package/packages/protocol/schemas/common.schema.json +0 -154
  68. package/packages/protocol/schemas/derived-memory.schema.json +0 -145
  69. package/packages/protocol/schemas/memory-event.schema.json +0 -123
  70. package/packages/protocol/schemas/model-provider.schema.json +0 -326
  71. package/packages/protocol/schemas/perception.schema.json +0 -89
  72. package/packages/protocol/schemas/permission-policy.schema.json +0 -153
  73. package/packages/protocol/schemas/v0.2/archive.schema.json +0 -205
  74. package/packages/protocol/schemas/v0.2/character.schema.json +0 -344
  75. package/packages/protocol/schemas/v0.2/common.schema.json +0 -239
  76. package/packages/protocol/schemas/v0.2/context.schema.json +0 -230
  77. package/packages/protocol/schemas/v0.2/conversation.schema.json +0 -340
  78. package/packages/protocol/schemas/v0.2/environment.schema.json +0 -244
  79. package/packages/protocol/schemas/v0.2/memory.schema.json +0 -495
  80. package/packages/protocol/schemas/v0.2/planning.schema.json +0 -443
  81. package/packages/protocol/schemas/world-event.schema.json +0 -74
  82. package/specs/character/README.md +0 -84
  83. package/specs/character/examples/archive-manifest.json +0 -32
  84. package/specs/character/examples/character-instance.json +0 -20
  85. package/specs/character/examples/character-template.json +0 -19
  86. package/specs/memory/README.md +0 -80
  87. package/specs/memory/examples/derived-memory.json +0 -21
  88. package/specs/memory/examples/memory-event.json +0 -35
  89. package/specs/model-provider/README.md +0 -85
  90. package/specs/model-provider/examples/capabilities.json +0 -10
  91. package/specs/model-provider/examples/error.json +0 -18
  92. package/specs/model-provider/examples/request.json +0 -17
  93. package/specs/model-provider/examples/response.json +0 -19
  94. package/specs/v0.2/README.md +0 -421
  95. package/specs/v0.2/examples/archive-fork.json +0 -64
  96. package/specs/v0.2/examples/archive-resume.json +0 -63
  97. package/specs/v0.2/examples/character-instance.json +0 -57
  98. package/specs/v0.2/examples/character-template.json +0 -45
  99. package/specs/v0.2/examples/context-after-inspection.json +0 -44
  100. package/specs/v0.2/examples/context-chat.json +0 -27
  101. package/specs/v0.2/examples/context-daily.json +0 -69
  102. package/specs/v0.2/examples/context-no-speech.json +0 -27
  103. package/specs/v0.2/examples/conversation-delivery.json +0 -17
  104. package/specs/v0.2/examples/conversation-live-request.json +0 -31
  105. package/specs/v0.2/examples/conversation-live-response.json +0 -23
  106. package/specs/v0.2/examples/conversation-no-speech-request.json +0 -23
  107. package/specs/v0.2/examples/conversation-no-speech-response.json +0 -22
  108. package/specs/v0.2/examples/conversation-requested-request.json +0 -31
  109. package/specs/v0.2/examples/conversation-requested-response.json +0 -23
  110. package/specs/v0.2/examples/environment-chat.json +0 -43
  111. package/specs/v0.2/examples/environment-game.json +0 -80
  112. package/specs/v0.2/examples/environment-no-speech.json +0 -47
  113. package/specs/v0.2/examples/intent-checkpoint.json +0 -29
  114. package/specs/v0.2/examples/memory-episode.json +0 -28
  115. package/specs/v0.2/examples/memory-event-conversation.json +0 -32
  116. package/specs/v0.2/examples/memory-event-observed.json +0 -50
  117. package/specs/v0.2/examples/memory-event-plan-proposal.json +0 -82
  118. package/specs/v0.2/examples/memory-event-proposed.json +0 -53
  119. package/specs/v0.2/examples/memory-fact.json +0 -23
  120. package/specs/v0.2/examples/memory-relationship.json +0 -25
  121. package/specs/v0.2/examples/memory-working-context.json +0 -24
  122. package/specs/v0.2/examples/plan-cancel-request.json +0 -16
  123. package/specs/v0.2/examples/plan-cancel-result.json +0 -21
  124. package/specs/v0.2/examples/plan-daily.json +0 -57
  125. package/specs/v0.2/examples/plan-partial-decision.json +0 -28
  126. package/specs/v0.2/examples/portable-memory.jsonl +0 -9
  127. package/specs/v0.2/examples/task-outcome.json +0 -21
  128. package/specs/v0.2/examples/task-progress.json +0 -19
  129. package/specs/world-adapter/README.md +0 -114
  130. package/specs/world-adapter/examples/action-result-unknown.json +0 -23
  131. package/specs/world-adapter/examples/action-result.json +0 -45
  132. package/specs/world-adapter/examples/action.json +0 -17
  133. package/specs/world-adapter/examples/capability.json +0 -44
  134. package/specs/world-adapter/examples/perception.json +0 -30
  135. package/specs/world-adapter/examples/permission-decision.json +0 -14
  136. package/specs/world-adapter/examples/permission-policy.json +0 -17
  137. package/specs/world-adapter/examples/world-event.json +0 -25
@@ -1,44 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "context-report",
4
- "reportId": "briefing-after-inspection",
5
- "contextRevision": "context-102",
6
- "environmentRevision": "garden-profile-1",
7
- "correlationId": "daily-cycle-1",
8
- "binding": {
9
- "environmentId": "garden",
10
- "sessionId": "garden-session-1",
11
- "characterId": "character-mira",
12
- "embodimentId": "gardener-1"
13
- },
14
- "recordedAt": "2026-01-01T08:01:01Z",
15
- "period": {
16
- "basis": "world-ticks",
17
- "timelineId": "garden-day-1",
18
- "fromTick": 100,
19
- "toTick": 110
20
- },
21
- "observedState": {
22
- "summary": "The host reports inspection completed and no water available.",
23
- "properties": [
24
- {
25
- "subjectId": "gardener-1",
26
- "propertyId": "available-water-ml",
27
- "value": 0
28
- }
29
- ]
30
- },
31
- "priorNeeds": [],
32
- "priorPlans": [
33
- {
34
- "planId": "plan-day-1",
35
- "taskStates": [
36
- {
37
- "taskId": "task-inspect",
38
- "status": "succeeded"
39
- }
40
- ]
41
- }
42
- ],
43
- "changes": []
44
- }
@@ -1,27 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "context-report",
4
- "reportId": "context-chat",
5
- "contextRevision": "chat-context-1",
6
- "environmentRevision": "chat-profile-1",
7
- "correlationId": "context-chat-cycle",
8
- "binding": {
9
- "environmentId": "quiet-chat",
10
- "sessionId": "chat-session-1",
11
- "characterId": "character-mira",
12
- "embodimentId": "chat-terminal-1"
13
- },
14
- "recordedAt": "2026-01-01T08:00:00Z",
15
- "period": {
16
- "basis": "utc",
17
- "startAt": "2026-01-01T07:59:00Z",
18
- "endAt": "2026-01-01T08:00:00Z"
19
- },
20
- "observedState": {
21
- "summary": "Only the context explicitly supplied by the synthetic host is available.",
22
- "properties": []
23
- },
24
- "priorNeeds": [],
25
- "priorPlans": [],
26
- "changes": []
27
- }
@@ -1,69 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "context-report",
4
- "reportId": "briefing-day-1",
5
- "contextRevision": "context-100",
6
- "environmentRevision": "garden-profile-1",
7
- "correlationId": "daily-cycle-1",
8
- "binding": {
9
- "environmentId": "garden",
10
- "sessionId": "garden-session-1",
11
- "characterId": "character-mira",
12
- "embodimentId": "gardener-1"
13
- },
14
- "recordedAt": "2026-01-01T08:00:00Z",
15
- "period": {
16
- "basis": "world-ticks",
17
- "timelineId": "garden-day-1",
18
- "fromTick": 0,
19
- "toTick": 100
20
- },
21
- "observedState": {
22
- "summary": "The host reports a reachable herb area and one dry plot.",
23
- "properties": [
24
- {
25
- "subjectId": "plot-1",
26
- "propertyId": "soil",
27
- "value": "dry"
28
- },
29
- {
30
- "subjectId": "gardener-1",
31
- "propertyId": "available-water-ml",
32
- "value": 0
33
- }
34
- ]
35
- },
36
- "priorNeeds": [
37
- {
38
- "needId": "care-garden",
39
- "description": "The herb plot may need care.",
40
- "priority": "normal",
41
- "status": "current"
42
- }
43
- ],
44
- "priorPlans": [],
45
- "changes": [
46
- {
47
- "changeId": "dry-weather",
48
- "kind": "event",
49
- "recordedAt": "2026-01-01T08:00:00Z",
50
- "summary": "The host observed dry weather.",
51
- "worldTime": {
52
- "timelineId": "garden-day-1",
53
- "tick": 99
54
- }
55
- }
56
- ],
57
- "planningRequest": {
58
- "requestId": "daily-request-1",
59
- "cadence": "daily",
60
- "horizon": {
61
- "basis": "world-ticks",
62
- "timelineId": "garden-day-1",
63
- "fromTick": 100,
64
- "toTick": 600
65
- },
66
- "maxTasks": 4,
67
- "allowedIntentIds": ["inspect-area", "tend-plot"]
68
- }
69
- }
@@ -1,27 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "context-report",
4
- "reportId": "context-no-speech",
5
- "contextRevision": "horse-context-1",
6
- "environmentRevision": "horse-profile-1",
7
- "correlationId": "context-no-speech-cycle",
8
- "binding": {
9
- "environmentId": "garden",
10
- "sessionId": "garden-session-2",
11
- "characterId": "character-mira",
12
- "embodimentId": "horse-1"
13
- },
14
- "recordedAt": "2026-01-01T08:00:00Z",
15
- "period": {
16
- "basis": "utc",
17
- "startAt": "2026-01-01T07:59:00Z",
18
- "endAt": "2026-01-01T08:00:00Z"
19
- },
20
- "observedState": {
21
- "summary": "Only the context explicitly supplied by the synthetic host is available.",
22
- "properties": []
23
- },
24
- "priorNeeds": [],
25
- "priorPlans": [],
26
- "changes": []
27
- }
@@ -1,17 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "conversation-delivery",
4
- "binding": {
5
- "environmentId": "garden",
6
- "sessionId": "garden-session-1",
7
- "characterId": "character-mira",
8
- "embodimentId": "gardener-1"
9
- },
10
- "requestId": "utterance-request-1",
11
- "responseId": "utterance-response-1",
12
- "correlationId": "utterance-cycle-1",
13
- "channelId": "garden-nearby",
14
- "deliveryId": "delivery-1",
15
- "recordedAt": "2026-01-01T08:02:02Z",
16
- "status": "delivered"
17
- }
@@ -1,31 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "conversation-request",
4
- "binding": {
5
- "environmentId": "quiet-chat",
6
- "sessionId": "chat-session-1",
7
- "characterId": "character-mira",
8
- "embodimentId": "chat-terminal-1"
9
- },
10
- "requestId": "chat-request-1",
11
- "correlationId": "chat-cycle-1",
12
- "channelId": "quiet-room",
13
- "speakerParticipantId": "participant-mira",
14
- "recipientParticipantIds": ["participant-visitor"],
15
- "environmentRevision": "chat-profile-1",
16
- "contextRevision": "chat-context-1",
17
- "mode": "live-channel",
18
- "trigger": "incoming-message",
19
- "requestedModality": "text",
20
- "receivedAt": "2026-01-01T08:00:00Z",
21
- "deadlineAt": "2026-01-01T08:00:05Z",
22
- "messages": [
23
- {
24
- "messageId": "chat-message-1",
25
- "participantId": "participant-visitor",
26
- "recordedAt": "2026-01-01T08:00:00Z",
27
- "modality": "text",
28
- "content": "Would you like to talk about herbs?"
29
- }
30
- ]
31
- }
@@ -1,23 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "conversation-response",
4
- "binding": {
5
- "environmentId": "quiet-chat",
6
- "sessionId": "chat-session-1",
7
- "characterId": "character-mira",
8
- "embodimentId": "chat-terminal-1"
9
- },
10
- "requestId": "chat-request-1",
11
- "correlationId": "chat-cycle-1",
12
- "channelId": "quiet-room",
13
- "speakerParticipantId": "participant-mira",
14
- "recipientParticipantIds": ["participant-visitor"],
15
- "responseId": "chat-response-1",
16
- "createdAt": "2026-01-01T08:00:01Z",
17
- "expiresAt": "2026-01-01T08:00:05Z",
18
- "output": {
19
- "type": "utterance",
20
- "modality": "text",
21
- "content": "Yes. I would like to learn more about caring for them."
22
- }
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "conversation-request",
4
- "binding": {
5
- "environmentId": "garden",
6
- "sessionId": "garden-session-2",
7
- "characterId": "character-mira",
8
- "embodimentId": "horse-1"
9
- },
10
- "requestId": "horse-request-1",
11
- "correlationId": "horse-cycle-1",
12
- "channelId": "garden-nearby",
13
- "speakerParticipantId": "participant-mira",
14
- "recipientParticipantIds": ["participant-visitor"],
15
- "environmentRevision": "horse-profile-1",
16
- "contextRevision": "horse-context-1",
17
- "mode": "host-requested",
18
- "trigger": "host-request",
19
- "requestedModality": "speech",
20
- "receivedAt": "2026-01-01T08:00:00Z",
21
- "deadlineAt": "2026-01-01T08:00:05Z",
22
- "messages": []
23
- }
@@ -1,22 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "conversation-response",
4
- "binding": {
5
- "environmentId": "garden",
6
- "sessionId": "garden-session-2",
7
- "characterId": "character-mira",
8
- "embodimentId": "horse-1"
9
- },
10
- "requestId": "horse-request-1",
11
- "correlationId": "horse-cycle-1",
12
- "channelId": "garden-nearby",
13
- "speakerParticipantId": "participant-mira",
14
- "recipientParticipantIds": ["participant-visitor"],
15
- "responseId": "horse-response-1",
16
- "createdAt": "2026-01-01T08:00:01Z",
17
- "expiresAt": "2026-01-01T08:00:05Z",
18
- "output": {
19
- "type": "no-output",
20
- "reason": "unsupported-modality"
21
- }
22
- }
@@ -1,31 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "conversation-request",
4
- "binding": {
5
- "environmentId": "garden",
6
- "sessionId": "garden-session-1",
7
- "characterId": "character-mira",
8
- "embodimentId": "gardener-1"
9
- },
10
- "requestId": "utterance-request-1",
11
- "correlationId": "utterance-cycle-1",
12
- "channelId": "garden-nearby",
13
- "speakerParticipantId": "participant-mira",
14
- "recipientParticipantIds": ["participant-visitor"],
15
- "environmentRevision": "garden-profile-1",
16
- "contextRevision": "context-102",
17
- "mode": "host-requested",
18
- "trigger": "host-request",
19
- "requestedModality": "speech",
20
- "receivedAt": "2026-01-01T08:02:00Z",
21
- "deadlineAt": "2026-01-01T08:02:05Z",
22
- "messages": [
23
- {
24
- "messageId": "visitor-hello",
25
- "participantId": "participant-visitor",
26
- "recordedAt": "2026-01-01T08:02:00Z",
27
- "modality": "speech",
28
- "content": "How is the garden today?"
29
- }
30
- ]
31
- }
@@ -1,23 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "conversation-response",
4
- "binding": {
5
- "environmentId": "garden",
6
- "sessionId": "garden-session-1",
7
- "characterId": "character-mira",
8
- "embodimentId": "gardener-1"
9
- },
10
- "requestId": "utterance-request-1",
11
- "correlationId": "utterance-cycle-1",
12
- "channelId": "garden-nearby",
13
- "speakerParticipantId": "participant-mira",
14
- "recipientParticipantIds": ["participant-visitor"],
15
- "responseId": "utterance-response-1",
16
- "createdAt": "2026-01-01T08:02:01Z",
17
- "expiresAt": "2026-01-01T08:02:05Z",
18
- "output": {
19
- "type": "utterance",
20
- "modality": "speech",
21
- "content": "I inspected the herb beds. One plot is dry, but there is no water available."
22
- }
23
- }
@@ -1,43 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "environment-profile",
4
- "binding": {
5
- "environmentId": "quiet-chat",
6
- "sessionId": "chat-session-1",
7
- "characterId": "character-mira",
8
- "embodimentId": "chat-terminal-1"
9
- },
10
- "hostId": "synthetic-chat-host",
11
- "revision": "chat-profile-1",
12
- "medium": "chat",
13
- "embodiment": {
14
- "form": "computer",
15
- "description": "A text terminal in an original synthetic chat room.",
16
- "modalities": ["text", "status"]
17
- },
18
- "participantLinks": [
19
- {
20
- "claimId": "mira-chat-link",
21
- "participantId": "participant-mira",
22
- "environmentSubjectId": "chat-terminal-1",
23
- "issuerId": "synthetic-chat-host"
24
- },
25
- {
26
- "claimId": "visitor-chat-link",
27
- "participantId": "participant-visitor",
28
- "environmentSubjectId": "chat-visitor-1",
29
- "issuerId": "synthetic-chat-host"
30
- }
31
- ],
32
- "planning": {
33
- "cadence": "host-requested",
34
- "maxTasks": 2
35
- },
36
- "communication": {
37
- "mode": "live-channel",
38
- "availability": "persistent",
39
- "allowUnrequestedMessages": false,
40
- "channelIds": ["quiet-room"]
41
- },
42
- "hostIntents": []
43
- }
@@ -1,80 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "environment-profile",
4
- "binding": {
5
- "environmentId": "garden",
6
- "sessionId": "garden-session-1",
7
- "characterId": "character-mira",
8
- "embodimentId": "gardener-1"
9
- },
10
- "hostId": "synthetic-garden-host",
11
- "revision": "garden-profile-1",
12
- "medium": "game",
13
- "embodiment": {
14
- "form": "human",
15
- "description": "A gardener represented by an existing host NPC.",
16
- "modalities": ["speech", "gesture", "status"]
17
- },
18
- "participantLinks": [
19
- {
20
- "claimId": "mira-link-1",
21
- "participantId": "participant-mira",
22
- "environmentSubjectId": "gardener-1",
23
- "issuerId": "synthetic-garden-host"
24
- },
25
- {
26
- "claimId": "visitor-link-1",
27
- "participantId": "participant-visitor",
28
- "environmentSubjectId": "visitor-session-1",
29
- "issuerId": "synthetic-garden-host"
30
- }
31
- ],
32
- "planning": {
33
- "cadence": "daily",
34
- "maxTasks": 4
35
- },
36
- "communication": {
37
- "mode": "host-requested",
38
- "availability": "persistent",
39
- "allowUnrequestedMessages": false,
40
- "channelIds": ["garden-nearby"]
41
- },
42
- "hostIntents": [
43
- {
44
- "intentId": "inspect-area",
45
- "description": "Ask the existing host NPC system to inspect a reachable area.",
46
- "parameters": [
47
- {
48
- "name": "area",
49
- "type": "entity-ref",
50
- "required": true
51
- }
52
- ],
53
- "cancellable": true
54
- },
55
- {
56
- "intentId": "tend-plot",
57
- "description": "Ask the existing host gardening facility to tend a plot.",
58
- "parameters": [
59
- {
60
- "name": "plot",
61
- "type": "entity-ref",
62
- "required": true
63
- },
64
- {
65
- "name": "amount",
66
- "type": "quantity",
67
- "required": true,
68
- "unit": "ml",
69
- "minimum": 1,
70
- "maximum": 100
71
- }
72
- ],
73
- "cancellable": true
74
- }
75
- ],
76
- "worldTime": {
77
- "timelineId": "garden-day-1",
78
- "tick": 100
79
- }
80
- }
@@ -1,47 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "environment-profile",
4
- "binding": {
5
- "environmentId": "garden",
6
- "sessionId": "garden-session-2",
7
- "characterId": "character-mira",
8
- "embodimentId": "horse-1"
9
- },
10
- "hostId": "synthetic-garden-host",
11
- "revision": "horse-profile-1",
12
- "medium": "game",
13
- "embodiment": {
14
- "form": "horse",
15
- "description": "A horse controlled by the host animal state machine; language output is unavailable.",
16
- "modalities": ["vocalization", "gesture", "status"]
17
- },
18
- "participantLinks": [
19
- {
20
- "claimId": "mira-horse-link",
21
- "participantId": "participant-mira",
22
- "environmentSubjectId": "horse-1",
23
- "issuerId": "synthetic-garden-host"
24
- },
25
- {
26
- "claimId": "visitor-horse-session-link",
27
- "participantId": "participant-visitor",
28
- "environmentSubjectId": "visitor-session-2",
29
- "issuerId": "synthetic-garden-host"
30
- }
31
- ],
32
- "planning": {
33
- "cadence": "daily",
34
- "maxTasks": 4
35
- },
36
- "communication": {
37
- "mode": "host-requested",
38
- "availability": "persistent",
39
- "allowUnrequestedMessages": false,
40
- "channelIds": ["garden-nearby"]
41
- },
42
- "hostIntents": [],
43
- "worldTime": {
44
- "timelineId": "garden-day-1",
45
- "tick": 100
46
- }
47
- }
@@ -1,29 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "intent-checkpoint",
4
- "memoryId": "checkpoint-initial",
5
- "characterId": "character-mira",
6
- "recordedAt": "2026-01-01T08:00:00Z",
7
- "scope": {
8
- "audience": "private",
9
- "participantIds": ["participant-mira"],
10
- "export": "allowed"
11
- },
12
- "provenance": {
13
- "sources": [
14
- {
15
- "sourceType": "authored",
16
- "sourceId": "template-mira-v2"
17
- }
18
- ]
19
- },
20
- "intents": [
21
- {
22
- "portableIntentId": "learn-herb-care",
23
- "description": "Learn to care for herbs when an environment supports it.",
24
- "desiredOutcome": "Understand appropriate care through permitted experiences.",
25
- "status": "pending",
26
- "sourceMemoryIds": []
27
- }
28
- ]
29
- }
@@ -1,28 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "memory-episode",
4
- "memoryId": "episode-garden",
5
- "characterId": "character-mira",
6
- "recordedAt": "2026-01-01T08:03:00Z",
7
- "scope": {
8
- "audience": "private",
9
- "participantIds": ["participant-mira"],
10
- "export": "allowed"
11
- },
12
- "provenance": {
13
- "sources": [
14
- {
15
- "sourceType": "memory",
16
- "sourceId": "event-inspection"
17
- }
18
- ]
19
- },
20
- "summary": "Mira received the host report of an inspection.",
21
- "sourceMemoryIds": ["event-inspection"],
22
- "period": {
23
- "basis": "world-ticks",
24
- "timelineId": "garden-day-1",
25
- "fromTick": 100,
26
- "toTick": 110
27
- }
28
- }
@@ -1,32 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "memory-event",
4
- "memoryId": "event-visitor-question",
5
- "characterId": "character-mira",
6
- "recordedAt": "2026-01-01T08:03:00Z",
7
- "scope": {
8
- "audience": "private",
9
- "participantIds": ["participant-mira"],
10
- "export": "allowed"
11
- },
12
- "provenance": {
13
- "sources": [
14
- {
15
- "sourceType": "conversation",
16
- "sourceId": "visitor-hello"
17
- }
18
- ]
19
- },
20
- "eventType": "received-conversation",
21
- "summary": "A synthetic visitor asked Mira how the garden was doing.",
22
- "participantIds": ["participant-mira", "participant-visitor"],
23
- "environmentId": "garden",
24
- "sessionId": "garden-session-1",
25
- "recordedPayload": {
26
- "messageId": "visitor-hello",
27
- "participantId": "participant-visitor",
28
- "recordedAt": "2026-01-01T08:02:00Z",
29
- "modality": "speech",
30
- "content": "How is the garden today?"
31
- }
32
- }
@@ -1,50 +0,0 @@
1
- {
2
- "schemaVersion": "draft-0.2.0",
3
- "kind": "memory-event",
4
- "memoryId": "event-inspection",
5
- "characterId": "character-mira",
6
- "recordedAt": "2026-01-01T08:03:00Z",
7
- "scope": {
8
- "audience": "private",
9
- "participantIds": ["participant-mira"],
10
- "export": "allowed"
11
- },
12
- "provenance": {
13
- "sources": [
14
- {
15
- "sourceType": "host-report",
16
- "sourceId": "outcome-inspect-1"
17
- }
18
- ]
19
- },
20
- "eventType": "host-reported-outcome",
21
- "summary": "The host reported completed inspection. This does not claim the rejected watering task happened.",
22
- "participantIds": ["participant-mira"],
23
- "environmentId": "garden",
24
- "sessionId": "garden-session-1",
25
- "worldTime": {
26
- "timelineId": "garden-day-1",
27
- "tick": 110
28
- },
29
- "recordedPayload": {
30
- "schemaVersion": "draft-0.2.0",
31
- "kind": "task-report",
32
- "binding": {
33
- "environmentId": "garden",
34
- "sessionId": "garden-session-1",
35
- "characterId": "character-mira",
36
- "embodimentId": "gardener-1"
37
- },
38
- "correlationId": "daily-cycle-1",
39
- "planId": "plan-day-1",
40
- "reportId": "outcome-inspect-1",
41
- "taskId": "task-inspect",
42
- "contextRevision": "context-102",
43
- "recordedAt": "2026-01-01T08:01:00Z",
44
- "status": "succeeded",
45
- "summary": "The host reports inspection completed.",
46
- "observedEffects": [
47
- "Two herb beds were inspected by the existing host facility."
48
- ]
49
- }
50
- }