Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

2.3 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT\n                b.id,\n                b.kind,\n                b.owner_user_id,\n                b.team_id,\n                b.name,\n                b.handle,\n                b.description,\n                b.avatar_url,\n                b.created_by,\n                b.created_at,\n                b.updated_at,\n                b.deleted_at,\n                b.has_agent\n            FROM bots b\n            JOIN comms_channel_participants cp\n              ON cp.user_id = ('bot|' || b.id::text)\n            WHERE cp.channel_id = $1\n              AND cp.left_at IS NULL\n              AND b.deleted_at IS NULL\n            ORDER BY b.created_at ASC, b.id ASC\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "kind",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "owner_user_id",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "team_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 4,
        "name": "name",
        "type_info": "Text"
      },
      {
        "ordinal": 5,
        "name": "handle",
        "type_info": "Text"
      },
      {
        "ordinal": 6,
        "name": "description",
        "type_info": "Text"
      },
      {
        "ordinal": 7,
        "name": "avatar_url",
        "type_info": "Text"
      },
      {
        "ordinal": 8,
        "name": "created_by",
        "type_info": "Text"
      },
      {
        "ordinal": 9,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 10,
        "name": "updated_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 11,
        "name": "deleted_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 12,
        "name": "has_agent",
        "type_info": "Bool"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid"
      ]
    },
    "nullable": [
      false,
      false,
      true,
      true,
      false,
      false,
      true,
      true,
      true,
      false,
      false,
      true,
      false
    ]
  },
  "hash": "0a781080885d4b6d57dbbfcc296d56f5dcdc4603277f3c9f2fdf9b359f349a84"
}