@andespindola/crow-skills 0.18.1 → 0.18.2

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.
@@ -1,3 +1,3 @@
1
1
  """Portable, local-first installer for the crow-skills catalogue."""
2
2
 
3
- __version__ = "0.18.1"
3
+ __version__ = "0.18.2"
@@ -687,9 +687,18 @@ def broadcast_command(args, home):
687
687
  return None
688
688
  if action == "inbox":
689
689
  owner = broadcast_owner(args, home, cwd)
690
- items = broadcast.inbox(home, owner["key"], owner.get("host"),
691
- include_delivered=getattr(args, "include_delivered", False))
692
- lines = broadcast.message_lines(items) if items else ["(nada para esta sessão)"]
690
+ want_all = getattr(args, "include_delivered", False)
691
+ items = broadcast.inbox(home, owner["key"], owner.get("host"), include_delivered=want_all)
692
+ if items:
693
+ lines = broadcast.message_lines(items)
694
+ elif want_all:
695
+ lines = ["(nada endereçado a esta sessão)"]
696
+ else:
697
+ # MEDIDO COM UM AGENTE DE VERDADE: a primeira sessão a usar o canal viu a mensagem no
698
+ # bloco do prompt, rodou `inbox`, não a encontrou e relatou um defeito que não existia —
699
+ # o inbox mostra o PENDENTE. Dizer quantas já saíram, e por onde revê-las, evita o relato.
700
+ done = len(broadcast.inbox(home, owner["key"], owner.get("host"), include_delivered=True))
701
+ lines = ["(nada pendente" + ("; " + str(done) + " já entregue(s) neste prompt ou antes — reveja com --delivered" if done else "") + ")"]
693
702
  return {"schema": broadcast.MESSAGES_SCHEMA, "messages": items, "text": "\n".join(lines)}
694
703
  owner = broadcast_owner(args, home, cwd)
695
704
  if action == "say":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andespindola/crow-skills",
3
- "version": "0.18.1",
3
+ "version": "0.18.2",
4
4
  "description": "Versioned, complementary agent skills with a protected multi-agent installer",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
package/release.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "crow_skills/__init__.py": {
19
19
  "executable": false,
20
20
  "kind": "file",
21
- "sha256": "276f6657a7db39aa883a1fe4860a90548117c2dd35d8f0b60d5b00a53a01c43e"
21
+ "sha256": "985f4a517618b99f51bf9a9d98121075293b712b2a0a91b5666375d5853546ea"
22
22
  },
23
23
  "crow_skills/__main__.py": {
24
24
  "executable": false,
@@ -43,7 +43,7 @@
43
43
  "crow_skills/cli.py": {
44
44
  "executable": false,
45
45
  "kind": "file",
46
- "sha256": "11a6f5893f7165fba151e3875d4c4efb86232c5ec4b36885b828cd170d296baf"
46
+ "sha256": "d7dd7a9b5fdcbe5677b6c9bfe07ea33c6d717eec103cab3d60f0745f15a23a16"
47
47
  },
48
48
  "crow_skills/events.py": {
49
49
  "executable": false,
@@ -128,7 +128,7 @@
128
128
  "package.json": {
129
129
  "executable": false,
130
130
  "kind": "file",
131
- "sha256": "1f313e174bb6912b7bbb280fc574d1f497c4e60dc71e4893babbf422994c3c69"
131
+ "sha256": "07b5468a007188905565bf5636d3d37919b93aae840b54a879a90625ba668d2a"
132
132
  },
133
133
  "skills/crow-accessibility/SKILL.md": {
134
134
  "executable": false,
@@ -721,7 +721,7 @@
721
721
  "sha256": "e37132ef8b060548191fbf14a5a18a9dd3acd84ea9a35e802174455b9e374d3d"
722
722
  }
723
723
  },
724
- "revision": "d1ccdbcc0721a888135c5266aabdff4b2abf2bfb",
724
+ "revision": "92f37cb4b5af7c738adbe218b3911a41f5cab202",
725
725
  "schema_version": 1,
726
- "version": "0.18.1"
726
+ "version": "0.18.2"
727
727
  }