-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 3.68 KB
/
Copy pathpackage.json
File metadata and controls
112 lines (112 loc) · 3.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "jupyter-cell-notifier",
"displayName": "Jupyter Cell Notifier",
"description": "Get notifications when Jupyter notebook cells finish running",
"publisher": "KaimingCui",
"version": "0.4.1",
"license": "MIT",
"icon": "assets/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/ckm3/jupyter-cell-notifier"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onNotebook:jupyter-notebook"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Jupyter Cell Notifier",
"properties": {
"jupyter-cell-notifier.systemNotifications": {
"order": 1,
"type": "boolean",
"default": true,
"description": "Also show a native system notification (macOS Notification Center, Linux notify-send, Windows balloon tip) when a cell finishes."
},
"jupyter-cell-notifier.autoNotifyThreshold": {
"order": 2,
"type": "number",
"default": 180,
"minimum": 0,
"description": "Automatically enable notifications for cells running longer than this many seconds. Set to 0 to disable auto-notify."
},
"jupyter-cell-notifier.slack.enable": {
"order": 3,
"type": "boolean",
"default": false,
"description": "Send a Slack message (via Incoming Webhook) when a watched cell finishes. Use the command: 'Set Slack Webhook URL' to securely store it."
},
"jupyter-cell-notifier.teams.enable": {
"order": 4,
"type": "boolean",
"default": false,
"description": "Send a Microsoft Teams message (via Incoming Webhook) when a watched cell finishes. Use the command: 'Set Teams Webhook URL' to securely store it."
},
"jupyter-cell-notifier.telegram.enable": {
"order": 5,
"type": "boolean",
"default": false,
"description": "Send a Telegram message when a watched cell finishes. Use the command: 'Set Telegram Bot Token & Chat ID' to securely store credentials."
},
"jupyter-cell-notifier.includeOutputInMessages": {
"order": 6,
"type": "boolean",
"default": true,
"description": "Include (truncated) cell output in Slack / Teams / Telegram messages."
},
"jupyter-cell-notifier.outputCharLimit": {
"order": 7,
"type": "number",
"default": 1000,
"minimum": 100,
"description": "Maximum characters of cell output to include in external messages."
}
}
},
"commands": [
{
"command": "jupyter-cell-notifier.toggleNotification",
"title": "Toggle Cell Notification",
"icon": "$(bell)"
},
{
"command": "jupyter-cell-notifier.setSlackWebhook",
"title": "Jupyter Cell Notifier: Set Slack Webhook URL"
},
{
"command": "jupyter-cell-notifier.setTeamsWebhook",
"title": "Jupyter Cell Notifier: Set Teams Webhook URL"
},
{
"command": "jupyter-cell-notifier.setTelegramCredentials",
"title": "Jupyter Cell Notifier: Set Telegram Bot Token & Chat ID"
}
],
"menus": {
"notebook/cell/title": [
{
"command": "jupyter-cell-notifier.toggleNotification",
"when": "notebookType == jupyter-notebook",
"group": "inline"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/vscode": "^1.74.0",
"@types/node": "16.x",
"typescript": "^4.9.3"
}
}