Git Product home page Git Product logo

bst's People

Contributors

breathe avatar chris-ramon avatar dependabot[bot] avatar dmarvp avatar dustincoates avatar ecruzado avatar german1311 avatar gitter-badger avatar hyzhak avatar jkelvie avatar jnathanh avatar jperata avatar jricaldi avatar maxbespoken avatar michaelmyers avatar moisesnandres avatar opendog avatar tomv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bst's Issues

Socket race conditions

Opening this issue to capture where this occurs so we know where to tighten code:
BSTProxy #http() Starts and Stops Correctly With Options:
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.

Add any other observed cases as comments.

UPDATE - this first one should be taken care of.

Add test tool

Should allow the user to write a phrase and have it run against their skill

InteractionModel Validation - missing intent

From the Developer console:
Error: There was a problem with your request: The intent 'LatestAudio' was not found in the domain definition. Occurred in sample 'LatestAudio latest' on line 7.

This was for a case where an intent was in the sample utterances but not in the intent list.

Add proxy stop command

Convenience method to kill background running processes

Related - figure out why commander.js starts two processes for sub-commands

$bst --version Command

Add a command to get the current version

For npm, both

$ npm -v

and

$ npm --version

provide the current version.

Make reporting of issues with loading interaction model more apparent

Per conversation below. We should print out any errors on loading to the console.

Additionally, may be worth considering doing this synchronously - the async loading may not be a worthwhile efficiency.

io.marco.valente @iomarcovalente 13:02
@jkelvie just to let you know that I tried the new version and it gives me this error instead

  1. | Event Handlers Testing | Plays The First Podcast and Then Goes To Next:
    Error: Session must be started before calling spoken
    at Error (native)
    at Alexa.spoken (node_modules\bespoken-tools\lib\alexa\alexa.js:47:19)
    at BSTAlexa.spoken (node_modules\bespoken-tools\lib\client\bst-alexa.js:59:21)
    at Context. (test\indexSpec.js:23:11)
    at test\indexSpec.js:16:13
    at node_modules\bespoken-tools\lib\client\bst-alexa.js:34:17
    at done (node_modules\bespoken-tools\lib\alexa\interaction-model.js:27:21)
    at node_modules\bespoken-tools\lib\alexa\interaction-model.js:38:13
    at node_modules\bespoken-tools\lib\alexa\sample-utterances.js:21:17
    at ReadFileContext.callback (node_modules\bespoken-tools\lib\core\file-util.js:30:17)
    at FSReqWrap.readFileAfterOpen as oncomplete

jkelvie @jkelvie 13:04
Interesting, so the session is initialized inside the call to alexa.start()
I'm wondering if there is any error on it - if you make the callback like so:
alexa.start(function(error) {
console.log('Error: ' + error);
});
Does it print out anything?

io.marco.valente @iomarcovalente 13:08
let me try

io.marco.valente @iomarcovalente 13:13
it was my fault. I was addressing the folders incorrectly. Thank you a lot it works like a charm now!

jkelvie @jkelvie 13:14
Great!
And that may be something for us to address - I think I took out the default printing of error messages, but then that requires the implementer to go and actively print it out

$bst proxy urlgen Command Make alexa-url Argument Optional

For lambda based skills or new skills, a service endpoint may never exist or doesn't exist currently.

When generating the url using $bst proxy urlgen, there is nothing to pass for the second required argument alexa-url. Right now you just have to pass a dummy URL.

I recommend to either make it optional or remove it all together since the only thing that is actually required is the node-id.

Add prod environment for server

It's time.....current dev environment should be used for testing new versions.

Also, figure out approach to using NPM for distributing test versions

Add better error message if multiple versions of proxy running

This is what shows up now:

Error: listen EADDRINUSE :::10000
at Object.exports._errnoException (util.js:1007:11)
at exports._exceptionWithHostPort (util.js:1030:20)
at Server._listen2 (net.js:1253:14)
at listen (net.js:1289:10)
at Server.listen (net.js:1385:5)
at LambdaRunner.start (/usr/local/lib/node_modules/bespoken-tools/lib/client/lambda-runner.js:45:21)
at BSTProxy.start (/usr/local/lib/node_modules/bespoken-tools/lib/client/bst-proxy.js:52:31)
at Command. (/usr/local/lib/node_modules/bespoken-tools/bin/bst-proxy.js:45:11)
at Command.listener (/usr/local/lib/node_modules/bespoken-tools/node_modules/commander/index.js:301:8)
at emitTwo (events.js:106:13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.