ovos-skill-hangup 1.0.0__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.
@@ -0,0 +1,25 @@
1
+ name: Release Build
2
+
3
+ on:
4
+ release:
5
+ types: [created]
6
+ workflow_call:
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - name: Set up Python
15
+ uses: actions/setup-python@v5
16
+ with:
17
+ python-version: "3.11"
18
+ - name: Install build tools
19
+ run: python -m pip install build wheel
20
+ - name: Build package
21
+ run: python -m build
22
+ - name: Publish to PyPI
23
+ uses: pypa/gh-action-pypi-publish@release/v1
24
+ with:
25
+ password: ${{ secrets.PYPI_TOKEN }}
@@ -0,0 +1,25 @@
1
+ name: release-please
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ permissions:
9
+ contents: write
10
+ pull-requests: write
11
+
12
+ jobs:
13
+ release-please:
14
+ runs-on: ubuntu-latest
15
+ outputs:
16
+ release_created: ${{ steps.release.outputs.release_created }}
17
+ steps:
18
+ - uses: googleapis/release-please-action@v4
19
+ id: release
20
+
21
+ publish:
22
+ needs: release-please
23
+ if: needs.release-please.outputs.release_created == 'true'
24
+ uses: ./.github/workflows/release-build.yml
25
+ secrets: inherit
@@ -0,0 +1,44 @@
1
+ name: Run Unit Tests
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches: [main]
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ unit-tests:
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ python-version: ["3.11", "3.12", "3.13", "3.14"]
15
+ # Both supported ovos-workshop APIs: 0.x is what Neon Hub runs (add_event has no
16
+ # intent_name there); current OVOS runs 9.x.
17
+ ovos-workshop: ["<1.0.0", ">=8"]
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v7
21
+
22
+ - name: Install uv
23
+ uses: astral-sh/setup-uv@v7
24
+ with:
25
+ enable-cache: true
26
+
27
+ # A venv, not --system: the runner's Python is externally managed (PEP 668) and refuses installs.
28
+ # Package and workshop pin install together so the resolver satisfies both.
29
+ - name: Install dependencies
30
+ run: |
31
+ uv venv --python ${{ matrix.python-version }}
32
+ uv pip install -e ".[test,dev]" "ovos-workshop${{ matrix.ovos-workshop }}"
33
+
34
+ - name: Show resolved ovos-workshop
35
+ run: .venv/bin/python -c "import importlib.metadata as m; print('ovos-workshop', m.version('ovos-workshop'))"
36
+
37
+ - name: Run tests
38
+ run: .venv/bin/pytest
39
+
40
+ - name: Ruff
41
+ run: .venv/bin/ruff check .
42
+
43
+ - name: Pylint
44
+ run: .venv/bin/pylint ovos_skill_hangup
@@ -0,0 +1,15 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *.egg-info/
4
+ build/
5
+ dist/
6
+ .venv/
7
+ venv/
8
+ .pytest_cache/
9
+ .ruff_cache/
10
+ .mypy_cache/
11
+ .coverage
12
+ htmlcov/
13
+ .DS_Store
14
+ .idea/
15
+ .vscode/
@@ -0,0 +1 @@
1
+ {".":"1.0.0"}
@@ -0,0 +1,25 @@
1
+ # Changelog
2
+
3
+ ## 1.0.0 (2026-10-15)
4
+
5
+
6
+ ### Features
7
+
8
+ * initial Hangup skill ([aee5cbf](https://github.com/OscillateLabsLLC/hangup/commit/aee5cbfb8375369451fdcdfb36e4c09ed38e3fa3))
9
+ * initial Hangup skill ([05df9ec](https://github.com/OscillateLabsLLC/hangup/commit/05df9ec89b59da7172f09c24e5fe93b807e7bf92))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * CI installs into a uv venv; decline log via self.file_system ([b015d12](https://github.com/OscillateLabsLLC/hangup/commit/b015d1291a9b1f780505a84fca52dfa286b12f30))
15
+
16
+
17
+ ### Documentation
18
+
19
+ * plainer README ([fbb6188](https://github.com/OscillateLabsLLC/hangup/commit/fbb6188974474a90732fab477ca26d1797f01af4))
20
+ * plainer README ([c1f8896](https://github.com/OscillateLabsLLC/hangup/commit/c1f8896022f9dcfa3aee50171b383ea791ef6cdf))
21
+
22
+
23
+ ### Miscellaneous Chores
24
+
25
+ * release 1.0.0 ([5f6d0aa](https://github.com/OscillateLabsLLC/hangup/commit/5f6d0aae5d7f5f497730ef1d5a858f60b9f1366c))
@@ -0,0 +1,190 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to the Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by the Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding any notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ Copyright 2025 Oscillate Labs LLC
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
@@ -0,0 +1,69 @@
1
+ Metadata-Version: 2.5
2
+ Name: ovos-skill-hangup
3
+ Version: 1.0.0
4
+ Summary: An OVOS skill that silently absorbs utterances Switchboard declines, logging each decline and speaking nothing
5
+ Project-URL: Homepage, https://github.com/OscillateLabsLLC/hangup
6
+ Project-URL: Repository, https://github.com/OscillateLabsLLC/hangup
7
+ Author-email: Oscillate Labs <mike@oscillatelabs.net>
8
+ License-Expression: Apache-2.0
9
+ License-File: LICENSE
10
+ Keywords: intent,neon,ovos,pipeline,skill,switchboard,voice
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
18
+ Requires-Python: >=3.11
19
+ Requires-Dist: ovos-bus-client>=0.1.6
20
+ Requires-Dist: ovos-utils>=0.8.1
21
+ Requires-Dist: ovos-workshop!=1.*,!=2.*,!=3.*,!=4.*,!=5.*,!=6.*,!=7.*,>=0.1.7
22
+ Provides-Extra: dev
23
+ Requires-Dist: pylint>=3.0.0; extra == 'dev'
24
+ Requires-Dist: ruff; extra == 'dev'
25
+ Provides-Extra: test
26
+ Requires-Dist: ovos-plugin-manager; extra == 'test'
27
+ Requires-Dist: pytest; extra == 'test'
28
+ Requires-Dist: pytest-cov; extra == 'test'
29
+ Description-Content-Type: text/markdown
30
+
31
+ # Hangup
32
+
33
+ [![Status: Active](https://img.shields.io/badge/status-active-brightgreen)](https://github.com/OscillateLabsLLC/.github/blob/main/SUPPORT_STATUS.md)
34
+
35
+ An OVOS skill that says nothing. [Switchboard](https://github.com/OscillateLabsLLC/switchboard) sends it the speech
36
+ that wasn't meant for the assistant.
37
+
38
+ A voice assistant hears a lot that isn't for it: people talking in the room, the TV, its own voice. In stock OVOS,
39
+ anything no skill claims falls through to fallback skills, and those *answer*: "I don't understand", or an LLM's
40
+ reply to a sentence nobody asked. That's the false trigger households find most annoying.
41
+
42
+ When Switchboard decides speech wasn't for the assistant, it sends it to Hangup instead. Hangup:
43
+
44
+ - **says nothing**,
45
+ - adds a line to `declines.jsonl` in its data folder (what was heard, why it was declined, and by which step),
46
+ - announces `hangup.declined` on the bus, for anything that wants to watch.
47
+
48
+ Hangup registers no intents, so nothing can reach it by accident; only Switchboard sends to it. Switchboard needs
49
+ Hangup installed.
50
+
51
+ ## Install
52
+
53
+ ```sh
54
+ pip install ovos-skill-hangup
55
+ ```
56
+
57
+ Python 3.11-3.14. Works with ovos-workshop 0.x (Neon) and current OVOS.
58
+
59
+ ## Settings
60
+
61
+ | key | default | meaning |
62
+ |---|---|---|
63
+ | `log_declines` | `true` | write each declined utterance to the log |
64
+ | `log_file` | `declines.jsonl` | the log's file name, in the skill's data folder |
65
+ | `max_log_bytes` | 5000000 | above this size the log moves to `<log_file>.1` (one backup is kept) |
66
+
67
+ ## License
68
+
69
+ Apache-2.0
@@ -0,0 +1,39 @@
1
+ # Hangup
2
+
3
+ [![Status: Active](https://img.shields.io/badge/status-active-brightgreen)](https://github.com/OscillateLabsLLC/.github/blob/main/SUPPORT_STATUS.md)
4
+
5
+ An OVOS skill that says nothing. [Switchboard](https://github.com/OscillateLabsLLC/switchboard) sends it the speech
6
+ that wasn't meant for the assistant.
7
+
8
+ A voice assistant hears a lot that isn't for it: people talking in the room, the TV, its own voice. In stock OVOS,
9
+ anything no skill claims falls through to fallback skills, and those *answer*: "I don't understand", or an LLM's
10
+ reply to a sentence nobody asked. That's the false trigger households find most annoying.
11
+
12
+ When Switchboard decides speech wasn't for the assistant, it sends it to Hangup instead. Hangup:
13
+
14
+ - **says nothing**,
15
+ - adds a line to `declines.jsonl` in its data folder (what was heard, why it was declined, and by which step),
16
+ - announces `hangup.declined` on the bus, for anything that wants to watch.
17
+
18
+ Hangup registers no intents, so nothing can reach it by accident; only Switchboard sends to it. Switchboard needs
19
+ Hangup installed.
20
+
21
+ ## Install
22
+
23
+ ```sh
24
+ pip install ovos-skill-hangup
25
+ ```
26
+
27
+ Python 3.11-3.14. Works with ovos-workshop 0.x (Neon) and current OVOS.
28
+
29
+ ## Settings
30
+
31
+ | key | default | meaning |
32
+ |---|---|---|
33
+ | `log_declines` | `true` | write each declined utterance to the log |
34
+ | `log_file` | `declines.jsonl` | the log's file name, in the skill's data folder |
35
+ | `max_log_bytes` | 5000000 | above this size the log moves to `<log_file>.1` (one backup is kept) |
36
+
37
+ ## License
38
+
39
+ Apache-2.0
@@ -0,0 +1,67 @@
1
+ """Hangup: silently absorb utterances that Switchboard declines.
2
+
3
+ When Switchboard decides speech wasn't meant for the assistant (overheard conversation, TV, the assistant hearing
4
+ itself) it dispatches the utterance here instead of letting it fall through to fallback skills, which would SPEAK.
5
+ Hangup speaks nothing: it records the decline and announces it on the bus as ``hangup.declined``.
6
+
7
+ Hangup registers no intents, so no matcher can route to it by accident; the only way in is a dispatch to
8
+ ``<skill_id>:decline``. The handler is registered through ``add_event`` so ovos-core's dispatcher receives the usual
9
+ completion signal and the round ends cleanly.
10
+ """
11
+
12
+ import inspect
13
+ import json
14
+ import os
15
+ import time
16
+
17
+ from ovos_bus_client.message import Message
18
+ from ovos_workshop.skills.ovos import OVOSSkill
19
+
20
+
21
+ class HangupSkill(OVOSSkill):
22
+ """Receives Switchboard's declines: records each one and stays silent."""
23
+ # Interface contract with Switchboard, not user settings: changing either on one side alone breaks routing.
24
+ DECLINE_INTENT = "decline"
25
+ DECLINED_EVENT = "hangup.declined"
26
+ DESCRIBED_KEYS = frozenset({"utterance", "utterances", "lang", "reason", "stage"})
27
+
28
+ def initialize(self):
29
+ # ovos-workshop >= 8 reports intent_name in the done-signal; Neon Hub's 0.1.7 has no such parameter.
30
+ extra = {"intent_name": self.DECLINE_INTENT} \
31
+ if "intent_name" in inspect.signature(self.add_event).parameters else {}
32
+ self.add_event(f"{self.skill_id}:{self.DECLINE_INTENT}", self.handle_decline,
33
+ handler_info="mycroft.skill.handler", activation=False, speak_errors=False, **extra)
34
+
35
+ def record_decline(self, record: dict):
36
+ """Append one JSON line to the decline log in the skill's data directory (self.file_system).
37
+ Past max_log_bytes the file moves to <name>.1, replacing the previous backup."""
38
+ name = self.settings.get("log_file", "declines.jsonl")
39
+ path = os.path.join(self.file_system.path, name)
40
+ max_bytes = int(self.settings.get("max_log_bytes", 5_000_000))
41
+ if self.file_system.exists(name) and os.path.getsize(path) > max_bytes:
42
+ os.replace(path, f"{path}.1")
43
+ with self.file_system.open(name, "a") as f:
44
+ f.write(json.dumps(record, default=str) + "\n")
45
+
46
+ def describe(self, message: Message) -> dict:
47
+ """What was declined and why, from Switchboard's dispatch."""
48
+ data = message.data
49
+ utterances = data.get("utterances") or ([data["utterance"]] if data.get("utterance") else [])
50
+ session = message.context.get("session") if isinstance(message.context.get("session"), dict) else {}
51
+ return {
52
+ "ts": round(time.time(), 3),
53
+ "utterance": utterances[0] if utterances else None,
54
+ "lang": data.get("lang"),
55
+ "reason": data.get("reason"), # e.g. "ignore", "decline_class", "gate"
56
+ "stage": data.get("stage"),
57
+ "detail": {k: v for k, v in data.items() if k not in self.DESCRIBED_KEYS},
58
+ "session_id": session.get("session_id"),
59
+ }
60
+
61
+ def handle_decline(self, message: Message):
62
+ """Never speaks. Records the decline and tells the bus."""
63
+ record = self.describe(message)
64
+ if self.settings.get("log_declines", True):
65
+ self.record_decline(record)
66
+ self.log.info("declined to participate: %r (%s, %s)", record["utterance"], record["reason"], record["stage"])
67
+ self.bus.emit(message.forward(self.DECLINED_EVENT, record))
@@ -0,0 +1,16 @@
1
+ skillMetadata:
2
+ sections:
3
+ - name: Decline log
4
+ fields:
5
+ - name: log_declines
6
+ type: checkbox
7
+ label: Record each declined utterance to a file
8
+ value: true
9
+ - name: log_file
10
+ type: text
11
+ label: Log file name (in the skill's data directory)
12
+ value: "declines.jsonl"
13
+ - name: max_log_bytes
14
+ type: number
15
+ label: Move the log to <name>.1 past this size (bytes)
16
+ value: 5000000
@@ -0,0 +1,3 @@
1
+ # START_VERSION_BLOCK
2
+ __version__ = "1.0.0" # x-release-please-version
3
+ # END_VERSION_BLOCK
@@ -0,0 +1,82 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "ovos-skill-hangup"
7
+ dynamic = ["version"]
8
+ description = "An OVOS skill that silently absorbs utterances Switchboard declines, logging each decline and speaking nothing"
9
+ readme = "README.md"
10
+ license = "Apache-2.0"
11
+ authors = [
12
+ { name = "Oscillate Labs", email = "mike@oscillatelabs.net" }
13
+ ]
14
+ keywords = ["ovos", "neon", "skill", "voice", "intent", "pipeline", "switchboard"]
15
+ classifiers = [
16
+ "Intended Audience :: Developers",
17
+ "Programming Language :: Python :: 3",
18
+ "Programming Language :: Python :: 3.11",
19
+ "Programming Language :: Python :: 3.12",
20
+ "Programming Language :: Python :: 3.13",
21
+ "Programming Language :: Python :: 3.14",
22
+ "Topic :: Multimedia :: Sound/Audio :: Speech",
23
+ ]
24
+ requires-python = ">=3.11"
25
+ # Both ovos-workshop APIs: 0.x (Neon Hub pins and runs 0.1.7) and current OVOS (9.x).
26
+ dependencies = [
27
+ "ovos-bus-client>=0.1.6",
28
+ "ovos-workshop>=0.1.7,!=1.*,!=2.*,!=3.*,!=4.*,!=5.*,!=6.*,!=7.*",
29
+ "ovos-utils>=0.8.1",
30
+ ]
31
+
32
+ [project.optional-dependencies]
33
+ test = [
34
+ "ovos-plugin-manager",
35
+ "pytest",
36
+ "pytest-cov",
37
+ ]
38
+ dev = [
39
+ "pylint>=3.0.0",
40
+ "ruff",
41
+ ]
42
+
43
+ [project.urls]
44
+ Homepage = "https://github.com/OscillateLabsLLC/hangup"
45
+ Repository = "https://github.com/OscillateLabsLLC/hangup"
46
+
47
+ [project.entry-points."ovos.plugin.skill"]
48
+ "ovos-skill-hangup.oscillatelabsllc" = "ovos_skill_hangup:HangupSkill"
49
+
50
+ [tool.hatch.version]
51
+ source = "code"
52
+ path = "ovos_skill_hangup/version.py"
53
+
54
+ [tool.hatch.build.targets.wheel]
55
+ packages = ["ovos_skill_hangup"]
56
+
57
+ [tool.ruff]
58
+ line-length = 119
59
+ target-version = "py311"
60
+
61
+ [tool.ruff.lint]
62
+ select = [
63
+ "E", # pycodestyle
64
+ "F", # pyflakes
65
+ "I", # isort
66
+ ]
67
+
68
+ [tool.ruff.lint.isort]
69
+ lines-after-imports = 2
70
+ combine-as-imports = true
71
+
72
+ [tool.pylint.format]
73
+ max-line-length = 119
74
+
75
+ [tool.pylint.messages_control]
76
+ disable = [
77
+ "W0702", # bare-except
78
+ "W0718", # broad-exception-caught
79
+ "C0114", # missing-module-docstring
80
+ "W0201", # attribute-defined-outside-init
81
+ "C0415", # import-outside-toplevel
82
+ ]
@@ -0,0 +1,13 @@
1
+ {
2
+ "packages": {
3
+ ".": {
4
+ "release-type": "python",
5
+ "extra-files": [
6
+ {
7
+ "type": "generic",
8
+ "path": "ovos_skill_hangup/version.py"
9
+ }
10
+ ]
11
+ }
12
+ }
13
+ }
File without changes