Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #258 from Microsoft/tomlm/conversationUpdate
Browse files Browse the repository at this point in the history
Add conversation update support and a bunch of fixes
  • Loading branch information
Tom Laird-McConnell authored Jul 6, 2018
2 parents cf533d1 + aa43569 commit 3c4b880
Show file tree
Hide file tree
Showing 9 changed files with 1,406 additions and 230 deletions.
18 changes: 17 additions & 1 deletion Chatdown/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,28 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Mocha Tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"cwd": "${workspaceFolder}/test",
"args": [
"-u",
"tdd",
"--timeout",
"999999",
"--colors",
"chatdown.lib.test.suite.js"
],
"internalConsoleOptions": "openOnSessionStart"
},
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}\\bin\\chatdown",
"args": ["examples/cardexamples.chat"]
"args": ["c:\\scratch\\test.chat"]
}
]
}
19 changes: 19 additions & 0 deletions Chatdown/Examples/ConversationUpdate.chat
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
users=Tom,Bob,Sam,Susan
bot=YoBot

Tom: hi!
bot: Hi Tom!
Tom: Do you know sam and susan?
[ConversationUpdate=
Added=Sam,Susan]
bot->Sam: Hi Sam!
bot->Susan: Hi Susan!
Sam: Hi!
Susan: goodbye
[ConversationUpdate=
Removed=Susan]
bot->Susan: Goodbye Susan!
Sam:[Typing][Delay=5000]Goodbye!
[ConversationUpdate=
Removed=Sam]
bot->Sam: Goodbye Sam!
11 changes: 0 additions & 11 deletions Chatdown/Examples/QnA.chat

This file was deleted.

Loading

0 comments on commit 3c4b880

Please sign in to comment.