Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Third-party notices

Able includes software from the following projects. These notices apply to
the named third-party components and do not change Able's Apache-2.0 license.

## Lucide Icons

ISC License

Copyright (c) 2026 Lucide Icons and Contributors

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
USE OR PERFORMANCE OF THIS SOFTWARE.

The following icons used by Able are derived from the Feather project:
`arrow-up`, `chevron-down`, `chevron-right`, `headphones`, and `plus`.

The MIT License (MIT)

Copyright (c) 2013-present Cole Bemis

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
1 change: 1 addition & 0 deletions apps/desk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"agents": "0.20.1",
"ai": "7.0.64",
"hono": "^4.13.1",
"lucide": "^1.27.0",
"marked": "^18.0.7",
"postal-mime": "^2.7.5",
"remend": "^1.3.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/desk/public/voice-demo.css

Large diffs are not rendered by default.

207 changes: 105 additions & 102 deletions apps/desk/public/voice-demo.js

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions apps/desk/src/voice/demo-agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,16 @@ export class AbleDeskAgent extends VoiceAgent<Env> {
}
return
}
if (parsed.type === 'voice_feedback') {
const assistantTurn = Number(parsed.assistantTurn)
const rating = parsed.rating
if (connectionState(connection).sessionProofPassed !== true
|| !Number.isInteger(assistantTurn) || assistantTurn < 0 || assistantTurn >= 80
|| (rating !== 'helpful' && rating !== 'not_helpful')) return
console.log(JSON.stringify({ event: 'voice_feedback', assistantTurn, rating }))
connection.send(JSON.stringify({ type: 'voice_feedback_received', assistantTurn, rating }))
return
}
if (parsed.type !== 'clear_demo_session') return
await this.#patchSession({
pendingEscalation: null,
Expand Down
Loading
Loading