bazaar-compute-node 0.1.16__tar.gz → 0.1.17__tar.gz
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.
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/PKG-INFO +1 -1
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/pyproject.toml +1 -1
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/pyproject.toml.orig +1 -1
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/bcc.py +4 -16
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/telegram/channel.py +27 -11
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/wecom/channel.py +1 -1
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/instruction.py +6 -6
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/LICENSE +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/README.md +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/__init__.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/__init__.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/agent.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/agent_management.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/application.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/attachments.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/command.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/config.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/registry.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/reminder_dispatch.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/system_service.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/transport.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/windows_pipe.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/wrapper.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/cli.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/__init__.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/codex/__init__.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/codex/approval.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/codex/client.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/codex/events.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/codex/plugin.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/codex/process.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/codex/protocol.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/codex/runtime.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/logging/__init__.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/logging/audit.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/logging/plugin.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/sqlite/__init__.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/sqlite/agent_migration.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/sqlite/codec.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/sqlite/database.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/sqlite/migrations.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/sqlite/plugin.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/sqlite/reminder_codec.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/sqlite/reminder_database.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/sqlite/reminder_migration.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/sqlite/reminder_repository.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/sqlite/repository.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/sqlite/scoped_repository.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/telegram/__init__.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/telegram/api.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/telegram/approval.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/telegram/attachments.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/telegram/identity.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/telegram/markdown.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/telegram/outbound.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/telegram/plugin.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/wecom/__init__.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/wecom/markdown.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/wecom/outbound.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/contrib/wecom/plugin.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/__init__.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/approval.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/audit.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/channel.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/client.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/command.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/concurrency.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/correlation.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/lifecycle.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/models/__init__.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/models/entities.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/models/reminder.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/models/reminder_owner.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/models/states.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/observability.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/orchestration/__init__.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/orchestration/command.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/orchestration/delivery.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/orchestration/error_feedback.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/orchestration/reminder.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/orchestration/reminder_command.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/orchestration/services.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/orchestration/session.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/orchestration/turn.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/outcomes.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/paths.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/reminder.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/reminder_schedule.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/runtime.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/storage.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/timerwheel.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/i18n/__init__.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/i18n/catalog.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/i18n/english.py +0 -0
- {bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/i18n/schinese.py +0 -0
|
@@ -483,24 +483,12 @@ def _message_header_fields(
|
|
|
483
483
|
sender_value = message.get("sender")
|
|
484
484
|
sender: str | None = None
|
|
485
485
|
if sender_value is not None:
|
|
486
|
-
if isinstance(sender_value,
|
|
487
|
-
sender = sender_value
|
|
488
|
-
elif not isinstance(sender_value, Mapping):
|
|
486
|
+
if not isinstance(sender_value, Mapping):
|
|
489
487
|
_invalid_response("command response contains an invalid message sender")
|
|
490
488
|
else:
|
|
491
489
|
sender_id = sender_value.get("id")
|
|
492
490
|
sender_name = sender_value.get("name")
|
|
493
|
-
|
|
494
|
-
not isinstance(sender_id, str) or not sender_id
|
|
495
|
-
):
|
|
496
|
-
_invalid_response("command response contains an invalid sender id")
|
|
497
|
-
if sender_name is not None and (
|
|
498
|
-
not isinstance(sender_name, str) or not sender_name
|
|
499
|
-
):
|
|
500
|
-
_invalid_response("command response contains an invalid sender name")
|
|
501
|
-
sender = sender_name or sender_id
|
|
502
|
-
if sender is None:
|
|
503
|
-
_invalid_response("command response contains an empty message sender")
|
|
491
|
+
sender = f"@{sender_id}({sender_name})" if sender_name else f"@{sender_id}"
|
|
504
492
|
return (
|
|
505
493
|
target,
|
|
506
494
|
message_id,
|
|
@@ -553,7 +541,7 @@ def _format_check_message(message: Mapping[str, object]) -> str:
|
|
|
553
541
|
line += f" reply_to={reply_to_message_id}"
|
|
554
542
|
line += "] "
|
|
555
543
|
if sender is not None:
|
|
556
|
-
line += f"
|
|
544
|
+
line += f"{sender} "
|
|
557
545
|
return line + body + _attachment_suffix(message)
|
|
558
546
|
|
|
559
547
|
|
|
@@ -583,7 +571,7 @@ def _format_read_message(
|
|
|
583
571
|
fields.append(f"replyTo={reply_to_message_id}")
|
|
584
572
|
line = f"[{index}/{count} {' '.join(fields)}] "
|
|
585
573
|
if sender is not None:
|
|
586
|
-
line += f"
|
|
574
|
+
line += f"{sender} "
|
|
587
575
|
return line + body + _attachment_suffix(message)
|
|
588
576
|
|
|
589
577
|
|
|
@@ -67,6 +67,7 @@ class TelegramChannel(IChannel):
|
|
|
67
67
|
self._api: TelegramBotApi | None = None
|
|
68
68
|
self._bot_id: int | None = None
|
|
69
69
|
self._bot_username: str | None = None
|
|
70
|
+
self._bot_first_name: str | None = None
|
|
70
71
|
self._state = "stopped"
|
|
71
72
|
self._poll_attempts = 0
|
|
72
73
|
self._last_poll_at_ms: int | None = None
|
|
@@ -102,6 +103,7 @@ class TelegramChannel(IChannel):
|
|
|
102
103
|
"started_at_s": self._started_at_s,
|
|
103
104
|
"bot_id": self._bot_id,
|
|
104
105
|
"bot_username": self._bot_username,
|
|
106
|
+
"bot_first_name": self._bot_first_name,
|
|
105
107
|
"poll_timeout_seconds": 50,
|
|
106
108
|
"poll_attempts": self._poll_attempts,
|
|
107
109
|
"last_poll_at_ms": self._last_poll_at_ms,
|
|
@@ -127,9 +129,15 @@ class TelegramChannel(IChannel):
|
|
|
127
129
|
def get_identity(self) -> ChannelIdentity | None:
|
|
128
130
|
bot_id = self._bot_id
|
|
129
131
|
bot_username = self._bot_username
|
|
130
|
-
|
|
132
|
+
bot_first_name = self._bot_first_name
|
|
133
|
+
if bot_id is None or bot_first_name is None:
|
|
131
134
|
return None
|
|
132
|
-
return ChannelIdentity(
|
|
135
|
+
return ChannelIdentity(
|
|
136
|
+
id=str(bot_id),
|
|
137
|
+
name=(
|
|
138
|
+
f"{bot_username}({bot_first_name})" if bot_username else bot_first_name
|
|
139
|
+
),
|
|
140
|
+
)
|
|
133
141
|
|
|
134
142
|
async def start(self, *, timeout: float) -> None:
|
|
135
143
|
if self._runner is not None:
|
|
@@ -156,16 +164,22 @@ class TelegramChannel(IChannel):
|
|
|
156
164
|
bot_id = bot.get("id")
|
|
157
165
|
is_bot = bot.get("is_bot")
|
|
158
166
|
username = bot.get("username")
|
|
167
|
+
first_name = bot.get("first_name")
|
|
159
168
|
if (
|
|
160
169
|
not isinstance(bot_id, int)
|
|
161
170
|
or isinstance(bot_id, bool)
|
|
162
171
|
or is_bot is not True
|
|
163
|
-
or
|
|
164
|
-
|
|
172
|
+
or (
|
|
173
|
+
username is not None
|
|
174
|
+
and (not isinstance(username, str) or not username)
|
|
175
|
+
)
|
|
176
|
+
or not isinstance(first_name, str)
|
|
177
|
+
or not first_name
|
|
165
178
|
):
|
|
166
179
|
raise ValueError("Telegram getMe returned an invalid bot identity")
|
|
167
180
|
self._bot_id = bot_id
|
|
168
|
-
self._bot_username = username
|
|
181
|
+
self._bot_username = username if isinstance(username, str) else None
|
|
182
|
+
self._bot_first_name = first_name
|
|
169
183
|
self._typing_runner = asyncio.create_task(
|
|
170
184
|
self._run_typing_dispatcher(),
|
|
171
185
|
name="bcn-telegram-typing",
|
|
@@ -195,6 +209,7 @@ class TelegramChannel(IChannel):
|
|
|
195
209
|
self._session = None
|
|
196
210
|
self._bot_id = None
|
|
197
211
|
self._bot_username = None
|
|
212
|
+
self._bot_first_name = None
|
|
198
213
|
self._typing_leases.clear()
|
|
199
214
|
await session.close()
|
|
200
215
|
self._state = "stopped"
|
|
@@ -227,6 +242,7 @@ class TelegramChannel(IChannel):
|
|
|
227
242
|
self._session = None
|
|
228
243
|
self._bot_id = None
|
|
229
244
|
self._bot_username = None
|
|
245
|
+
self._bot_first_name = None
|
|
230
246
|
if session is not None and not session.closed:
|
|
231
247
|
await session.close()
|
|
232
248
|
self._ready.clear()
|
|
@@ -462,8 +478,8 @@ class TelegramChannel(IChannel):
|
|
|
462
478
|
update_id: int,
|
|
463
479
|
) -> None:
|
|
464
480
|
bot_id = self._bot_id
|
|
465
|
-
bot_username = self._bot_username
|
|
466
|
-
if bot_id is None
|
|
481
|
+
bot_username = self._bot_username or ""
|
|
482
|
+
if bot_id is None:
|
|
467
483
|
raise RuntimeError("Telegram bot identity is not initialized")
|
|
468
484
|
|
|
469
485
|
provider_sender = message.get("from")
|
|
@@ -631,8 +647,8 @@ class TelegramChannel(IChannel):
|
|
|
631
647
|
if topic_id is None or topic_id != identity.topic_id:
|
|
632
648
|
return None
|
|
633
649
|
bot_id = self._bot_id
|
|
634
|
-
bot_username = self._bot_username
|
|
635
|
-
if bot_id is None
|
|
650
|
+
bot_username = self._bot_username or ""
|
|
651
|
+
if bot_id is None:
|
|
636
652
|
raise RuntimeError("Telegram bot identity is not initialized")
|
|
637
653
|
content = await self._content(
|
|
638
654
|
reply,
|
|
@@ -826,11 +842,11 @@ class TelegramChannel(IChannel):
|
|
|
826
842
|
if entity_text is None:
|
|
827
843
|
continue
|
|
828
844
|
if entity_type == "mention":
|
|
829
|
-
if entity_text.casefold() == f"@{username}":
|
|
845
|
+
if username and entity_text.casefold() == f"@{username}":
|
|
830
846
|
return True
|
|
831
847
|
continue
|
|
832
848
|
_, separator, target = entity_text.rpartition("@")
|
|
833
|
-
if separator and target.casefold() == username:
|
|
849
|
+
if separator and username and target.casefold() == username:
|
|
834
850
|
return True
|
|
835
851
|
return False
|
|
836
852
|
|
|
@@ -71,10 +71,10 @@ Do not obstruct a human-directed use of a credential: use or send it on the requ
|
|
|
71
71
|
Messages you receive have a single RFC 5424-style structured data header followed by the sender and content:
|
|
72
72
|
|
|
73
73
|
```
|
|
74
|
-
[target=<thread-target> msg=00000000 time=2026-03-15T01:00:00 type=human] @
|
|
75
|
-
[target=<thread-target> msg=11111111 time=2026-03-15T01:00:01 type=agent] @Alice
|
|
76
|
-
[target=dm:@
|
|
77
|
-
[target=<thread-target> msg=33333333 time=2026-03-15T01:00:03 type=human] @
|
|
74
|
+
[target=<thread-target> msg=00000000 time=2026-03-15T01:00:00 type=human] @yuchanns(Hanchin Hsieh) hello everyone
|
|
75
|
+
[target=<thread-target> msg=11111111 time=2026-03-15T01:00:01 type=agent] @Alice(Aeris) hi there
|
|
76
|
+
[target=dm:@yuchanss msg=22222222 time=2026-03-15T01:00:02 type=human] @yuchanns(Hanchin Hsieh) hey, can you help?
|
|
77
|
+
[target=<thread-target> msg=33333333 time=2026-03-15T01:00:03 type=human] @yuchanns(Hanchin Hsieh) thread reply
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
Prompt examples use obvious placeholder IDs such as `00000000`, `11111111`, and `22222222`. They show the shape of a real message ID but are not actual messages. Do not cite them as evidence; use only IDs from messages you actually received or read.
|
|
@@ -257,9 +257,9 @@ class DeveloperInstructionContext:
|
|
|
257
257
|
def render(self) -> str:
|
|
258
258
|
rendered = DEVELOPER_INSTRUCTIONS
|
|
259
259
|
identity_statement = (
|
|
260
|
-
f
|
|
260
|
+
f"You're {self.bot_name}, A.K.A {self.agent_name}"
|
|
261
261
|
if self.bot_name is not None
|
|
262
|
-
else f
|
|
262
|
+
else f"You're {self.agent_name}"
|
|
263
263
|
)
|
|
264
264
|
for placeholder, value in (
|
|
265
265
|
("{{identity_statement}}", identity_statement),
|
|
File without changes
|
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/__init__.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/__init__.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/agent.py
RENAMED
|
File without changes
|
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/application.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/attachments.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/command.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/config.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/registry.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/transport.py
RENAMED
|
File without changes
|
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/app/wrapper.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/__init__.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/approval.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/audit.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/channel.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/client.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/command.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/lifecycle.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/outcomes.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/paths.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/reminder.py
RENAMED
|
File without changes
|
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/runtime.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/storage.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/core/timerwheel.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/i18n/__init__.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/i18n/catalog.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/i18n/english.py
RENAMED
|
File without changes
|
{bazaar_compute_node-0.1.16 → bazaar_compute_node-0.1.17}/src/bazaar_compute_node/i18n/schinese.py
RENAMED
|
File without changes
|