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
6 changes: 6 additions & 0 deletions changes/feat-signin-methods.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
### Added

- **WireCat Desktop signs beeline in in its own window.** The manifest now says how (cli-base's `signIn.methods`):
Desktop asks for the API token in a hidden field and passes it to `beeline <profile> session start --json` on
stdin, so no terminal is needed. It needs a Desktop that shows a token field for such a sign-in; an older Desktop
offers the window but cannot finish it, so sign in at a terminal there.
15 changes: 14 additions & 1 deletion contracts/wirecat.json
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,20 @@
],
"signIn": {
"gives": "Lets your agent read the recorded calls of your Beeline Cloud PBX, transcribed on this computer.",
"asks": "A Beeline Cloud PBX API token, from the Beeline cabinet: Услуги → Интеграция по API."
"asks": "A Beeline Cloud PBX API token, from the Beeline cabinet: Услуги → Интеграция по API.",
"methods": [
{
"id": "token",
"label": "API token",
"words": [
"{profile}",
"session",
"start",
"--json"
],
"stdin": true
}
]
},
"skill": {
"status": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"docs:spell": "cspell lint --config cspell.json --no-progress --no-summary README.md README.ru.md SECURITY.md CHANGELOG.md AGENTS.md CLAUDE.md 'docs/*.md' 'skills/**/*.md'"
},
"dependencies": {
"@wirecat/cli-base": "0.104.0",
"@wirecat/cli-base": "0.117.0",
"@wirecat/cli-core": "0.674.0",
"commander": "15.0.0",
"valibot": "1.5.0"
Expand Down
22 changes: 14 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/identity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const DESKTOP: ManifestIdentity & { hosts: readonly string[] } = {
signIn: {
gives: "Lets your agent read the recorded calls of your Beeline Cloud PBX, transcribed on this computer.",
asks: "A Beeline Cloud PBX API token, from the Beeline cabinet: Услуги → Интеграция по API.",
methods: [{ id: "token", label: "API token", words: ["{profile}", "session", "start", "--json"], stdin: true }],
},
hosts: ["cloudpbx.beeline.ru"],
}
Expand Down
Loading