{
    "tailapp": 2,
    "manifest": {
        "format": 2,
        "app_id": "linear",
        "name": "Linear",
        "version": 1,
        "schema": "tailapps/v0",
        "exported_at": 1795564600,
        "from": "gallery",
        "connections": [],
        "files": {
            "app.json": "75410445f93e6c664edb0a6f190361c297fea6160c39345d3f32a860f2732e17"
        },
        "signature": "eUAwNMJHxVtyQYXGGDs/XHWHzdVNOW7I0TywzPn0o7yTs6gyDL+l7K+M62AmtPW5y/t79OUnGoxcVK+BYbLxAQ==",
        "key_id": "gallery-1"
    },
    "app": {
        "schema": "tailapps/v0",
        "app": "linear",
        "name": "Linear",
        "description": "The Linear issues assigned to you. Sign in with Linear on the card, no API key. Works on your Mac and your iPhone; each one signs in on its own.",
        "icon": "checkmark.circle",
        "version": 1,
        "permissions": [
            "net:api.linear.app",
            "open:url"
        ],
        "oauth": {
            "linear": {
                "name": "Linear",
                "authorize": "https://linear.app/oauth/authorize",
                "token": "https://api.linear.app/oauth/token",
                "client_id": "59acb0ffa2aaf74205376710fcd077a9",
                "scope": "read",
                "hosts": [
                    "api.linear.app"
                ],
                "params": {
                    "prompt": "consent"
                }
            }
        },
        "state": {
            "issues": {
                "type": "list",
                "default": []
            }
        },
        "sources": {
            "issues": {
                "fetch": "https://api.linear.app/graphql",
                "method": "POST",
                "auth": "oauth:linear",
                "body": {
                    "query": "{ viewer { assignedIssues(first: 20, filter: { state: { type: { nin: [\"completed\", \"canceled\"] } } }, orderBy: updatedAt) { nodes { identifier title url state { name } } } } }"
                },
                "select": "data.viewer.assignedIssues.nodes",
                "every": 300
            }
        },
        "cards": [
            {
                "id": "main",
                "layout": {
                    "column": [
                        {
                            "list": "$issues",
                            "limit": 10,
                            "empty": "Nothing assigned to you",
                            "item": {
                                "cell": "$item.title",
                                "subtitle": "{$item.identifier} \u00b7 {$item.state.name}",
                                "accessory": "chevron",
                                "on": "open_issue",
                                "args": {
                                    "url": "$item.url"
                                }
                            }
                        },
                        {
                            "text": "Updated {$meta.issues.updated | ago}",
                            "size": "xs",
                            "emphasis": "subtle",
                            "when": "$meta.issues.updated"
                        }
                    ],
                    "gap": "s"
                }
            }
        ],
        "actions": {
            "open_issue": {
                "args": {
                    "url": "text"
                },
                "steps": [
                    {
                        "open": "$args.url"
                    }
                ]
            }
        },
        "views": {
            "menubar": {
                "icon": "checkmark.circle",
                "in_menu": "row",
                "label": "{$issues | count} issues",
                "card": "main"
            },
            "floating": {
                "card": "main",
                "width": "default"
            }
        }
    },
    "app_json": "{\n  \"schema\": \"tailapps/v0\",\n  \"app\": \"linear\",\n  \"name\": \"Linear\",\n  \"description\": \"The Linear issues assigned to you. Sign in with Linear on the card, no API key. Works on your Mac and your iPhone; each one signs in on its own.\",\n  \"icon\": \"checkmark.circle\",\n  \"version\": 1,\n  \"permissions\": [\"net:api.linear.app\", \"open:url\"],\n  \"oauth\": {\n    \"linear\": {\n      \"name\": \"Linear\",\n      \"authorize\": \"https://linear.app/oauth/authorize\",\n      \"token\": \"https://api.linear.app/oauth/token\",\n      \"client_id\": \"59acb0ffa2aaf74205376710fcd077a9\",\n      \"scope\": \"read\",\n      \"hosts\": [\"api.linear.app\"],\n      \"params\": { \"prompt\": \"consent\" }\n    }\n  },\n  \"state\": {\n    \"issues\": { \"type\": \"list\", \"default\": [] }\n  },\n  \"sources\": {\n    \"issues\": {\n      \"fetch\": \"https://api.linear.app/graphql\",\n      \"method\": \"POST\",\n      \"auth\": \"oauth:linear\",\n      \"body\": { \"query\": \"{ viewer { assignedIssues(first: 20, filter: { state: { type: { nin: [\\\"completed\\\", \\\"canceled\\\"] } } }, orderBy: updatedAt) { nodes { identifier title url state { name } } } } }\" },\n      \"select\": \"data.viewer.assignedIssues.nodes\",\n      \"every\": 300\n    }\n  },\n  \"cards\": [\n    {\n      \"id\": \"main\",\n      \"layout\": {\n        \"column\": [\n          { \"list\": \"$issues\", \"limit\": 10, \"empty\": \"Nothing assigned to you\",\n            \"item\": { \"cell\": \"$item.title\", \"subtitle\": \"{$item.identifier} \u00b7 {$item.state.name}\", \"accessory\": \"chevron\", \"on\": \"open_issue\", \"args\": { \"url\": \"$item.url\" } } },\n          { \"text\": \"Updated {$meta.issues.updated | ago}\", \"size\": \"xs\", \"emphasis\": \"subtle\", \"when\": \"$meta.issues.updated\" }\n        ],\n        \"gap\": \"s\"\n      }\n    }\n  ],\n  \"actions\": {\n    \"open_issue\": {\n      \"args\": { \"url\": \"text\" },\n      \"steps\": [{ \"open\": \"$args.url\" }]\n    }\n  },\n  \"views\": {\n    \"menubar\": { \"icon\": \"checkmark.circle\", \"in_menu\": \"row\", \"label\": \"{$issues | count} issues\", \"card\": \"main\" },\n    \"floating\": { \"card\": \"main\", \"width\": \"default\" }\n  }\n}\n",
    "files": []
}